id
stringlengths
33
33
doc_url
stringlengths
33
33
title
stringlengths
13
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
6
16.6k
category_primary
stringclasses
60 values
category_all
stringlengths
5
132
abstract
stringlengths
123
1.99k
embeddings
listlengths
768
768
http://arxiv.org/abs/2405.13967v3
http://arxiv.org/pdf/2405.13967v3
DeTox: Toxic Subspace Projection for Model Editing
2024-05-22T20:08:48
2024-05-28T19:55:16
Rheeya Uppaal, Apratim Dey, Yiting He, Yiqiao Zhong, Junjie Hu
cs.CL
cs.CL
Recent alignment algorithms such as direct preference optimization (DPO) have been developed to improve the safety of large language models (LLMs) by training these models to match human behaviors exemplified by preference data. However, these methods are both computationally intensive and lacking in controllability and transparency, making them prone to jailbreaking and inhibiting their widespread use. Furthermore, these tuning-based methods require large-scale preference data for training and are susceptible to noisy preference data. In this paper, we introduce a tuning-free alignment alternative (DeTox) and demonstrate its effectiveness under the use case of toxicity reduction. Grounded on theory from factor analysis, DeTox is a sample-efficient model editing approach that identifies a toxic subspace in the model parameter space and reduces model toxicity by projecting away the detected subspace. The toxic sub-space is identified by extracting preference data embeddings from the language model, and removing non-toxic information from these embeddings. We show that DeTox is more sample-efficient than DPO, further showcasing greater robustness to noisy data. Finally, we establish both theoretical and empirical connections between DeTox and DPO, showing that DeTox can be interpreted as a denoised version of a single DPO step.
[ -0.03269441798329353, -0.35314860939979553, 0.7397088408470154, -0.2752157747745514, -0.18377946317195892, 0.0957784578204155, -0.18686240911483765, -0.14035139977931976, 0.013973241671919823, 0.6820938587188721, -0.6058366298675537, -0.7746412754058838, -0.22050710022449493, -0.04474468529224396, -0.22609595954418182, 0.8703778386116028, 0.22649066150188446, 0.0064500365406274796, -0.22498351335525513, 0.07446310669183731, -0.5538463592529297, -0.2929735481739044, -0.6382278800010681, -0.11964385211467743, 0.7224794030189514, 0.5221889615058899, 0.9972495436668396, 0.901049792766571, 0.4496290981769562, 0.2909514605998993, -0.3764718174934387, 0.2643759548664093, -0.824335515499115, 0.1840163916349411, -0.4443872272968292, -0.44987910985946655, -0.5066149830818176, 0.1905577927827835, 0.3114387094974518, 0.4032304286956787, -0.11293099075555801, -0.05493031442165375, -0.2577698826789856, 0.8790571093559265, -0.799644947052002, -0.1591300517320633, -0.9955068826675415, 0.15760628879070282, -0.038471758365631104, -0.12033619731664658, -0.6611927151679993, -0.32879316806793213, -0.2402515858411789, -0.7784972786903381, -0.08892584592103958, -0.07265505939722061, 0.9032939076423645, 0.8043496012687683, -0.4532385766506195, 0.15109452605247498, -0.7940645217895508, 0.9703665375709534, -0.7889562845230103, 0.5303351879119873, 0.29776865243911743, -0.03142214193940163, -0.27794045209884644, -0.2959938943386078, -0.22899465262889862, -0.14107052981853485, 0.0987112745642662, 0.13457682728767395, -0.15216344594955444, 0.5245652794837952, 0.20056815445423126, 0.2174154669046402, -0.3794654905796051, 0.34634554386138916, -0.2780284881591797, -0.222969189286232, 0.7242566347122192, 0.1703699231147766, 0.5383449792861938, -0.24265141785144806, -0.4156893789768219, 0.11805383116006851, -0.8801376223564148, -0.35575172305107117, 0.5697755217552185, 0.45689693093299866, 0.027436111122369766, 0.3314231038093567, 0.021006550639867783, 0.4602716267108917, 0.20973660051822662, -0.02526067942380905, 0.3745135962963104, -0.060107871890068054, -0.2720502018928528, -0.08192171901464462, 0.762813150882721, 0.7281748056411743, 0.1693885773420334, -0.1725884974002838, 0.24124974012374878, 0.060307279229164124, 0.6839889287948608, -0.8426707983016968, -0.4215698838233948, 0.49315527081489563, -0.5953451991081238, -0.8441633582115173, -0.4734569787979126, -1.108388066291809, -0.5409123301506042, -0.3899573087692261, 0.11293341964483261, -0.6024921536445618, -0.2436155527830124, 0.2683626711368561, -0.08682017773389816, -0.12787160277366638, 0.30053767561912537, -0.8332772850990295, 0.0929761454463005, 0.6782540678977966, 0.867975652217865, -0.12811651825904846, 0.32920241355895996, -0.651877760887146, 0.11455396562814713, -0.56181800365448, 0.49338433146476746, -0.9330365061759949, -0.5597533583641052, -0.17796590924263, -0.2932673692703247, 0.08583452552556992, -0.7590509057044983, 0.7861430048942566, -0.47420448064804077, -0.00552690215408802, -0.45706143975257874, -0.5019029974937439, -0.1349576711654663, -0.12213781476020813, -0.5665967464447021, 0.94179767370224, -0.03288702666759491, -0.8080209493637085, 0.4333969056606293, -0.6108106374740601, 0.13595420122146606, -0.2133103609085083, 0.14669018983840942, -0.44491076469421387, 0.30465757846832275, 0.09995356947183609, -0.04104084521532059, 0.23306435346603394, 0.31976667046546936, -0.6573246717453003, -0.3440033197402954, 0.02966310828924179, -0.22289292514324188, 0.7887113690376282, 0.5866178870201111, 0.02058030664920807, 0.56080162525177, -0.8561276793479919, -0.048828598111867905, -0.16697190701961517, -0.19718614220619202, -0.8610076904296875, 0.4131127595901489, -0.11741764098405838, 0.47707313299179077, -0.06104230880737305, -0.7346472144126892, 0.39706724882125854, -0.3718678653240204, 0.25685811042785645, 1.0823692083358765, 0.1170090064406395, 0.4683960974216461, -0.3002859354019165, 0.5491250157356262, 0.17424781620502472, 0.3424232602119446, 0.4589326083660126, -0.2514977753162384, -0.7122265100479126, -0.6027323603630066, 0.18693187832832336, 0.6412756443023682, -0.7212800979614258, 0.45047083497047424, -0.37108469009399414, -0.5347799062728882, -0.547980546951294, 0.34867656230926514, 0.4523416757583618, 0.7109987139701843, 0.47191712260246277, -0.14131644368171692, -0.5772440433502197, -1.1297080516815186, -0.2665155827999115, -0.139694482088089, -0.003913271706551313, 0.3859425485134125, 0.2556890845298767, -0.24811774492263794, 0.693585216999054, -0.749208390712738, -0.15894047915935516, 0.028154384344816208, -0.3410988748073578, 0.02397749572992325, 0.5365434288978577, 0.7098063826560974, -0.3195611536502838, -0.5432995557785034, -0.13475024700164795, -0.4843003451824188, -0.5337777137756348, -0.1103992834687233, -0.7393954992294312, -0.3015609383583069, 0.504574179649353, -0.28702232241630554, 0.2958625555038452, 0.42803671956062317, -0.15458817780017853, 0.5309457182884216, -0.04386050999164581, -0.01731305755674839, -0.8412548303604126, 0.2325815111398697, -0.13430927693843842, -0.18969722092151642, -1.202912449836731, 0.1949196755886078, 0.1949596107006073, -0.2783728241920471, -0.6922604441642761, 0.4404934346675873, -0.26713162660598755, 0.5044371485710144, -0.179942786693573, 0.09244565665721893, 0.05772174894809723, 0.40441253781318665, 0.29900065064430237, 0.6404728889465332, 0.3120494782924652, -0.39521336555480957, -0.2738952934741974, 0.6310606598854065, -0.15173551440238953, 0.32118117809295654, -0.30628082156181335, 0.4072708785533905, -0.32522323727607727, -0.028925485908985138, -0.900562584400177, 0.09107151627540588, 0.41681939363479614, 0.08933635801076889, 0.3638785481452942, -0.10106249153614044, -0.23883885145187378, -0.07952241599559784, -0.5858681797981262, 0.4363667368888855, 0.5154813528060913, -0.546220064163208, 0.030679894611239433, 0.37997591495513916, 0.017000120133161545, -0.6929222345352173, -0.4720102846622467, -0.011036223731935024, -0.6243405938148499, -0.20194771885871887, 0.39022350311279297, -0.1959381103515625, -0.401012122631073, -0.168186753988266, -0.1566988080739975, -0.12523236870765686, 0.2532479465007782, 0.1800227165222168, 0.3907759487628937, 0.35579535365104675, 0.27413055300712585, 0.47662410140037537, -0.2610096037387848, -0.05431003496050835, 0.280551940202713, 0.2828702926635742, 0.3425712585449219, -0.06501585245132446, -0.5088948011398315, 0.5526182651519775, 0.7173852920532227, -0.1666284203529358, 0.4891246259212494, 0.06457100063562393, -0.143315851688385, -0.31389090418815613, -0.2304360419511795, 0.021512819454073906, -0.5828366279602051, 0.36611998081207275, -0.04248121380805969, -0.5662279725074768, 0.46551674604415894, -0.18651050329208374, 0.1756671816110611, 0.12991759181022644, 0.36985108256340027, 0.24425019323825836, 1.122970461845398, 0.47714754939079285, -0.09665874391794205, 0.8332534432411194, 0.060742687433958054, 0.3411957323551178, -1.042398452758789, 0.14501610398292542, -0.39982491731643677, -0.6000226140022278, -0.44565966725349426, -0.5601174235343933, 0.5408140420913696, -0.17632846534252167, -0.5451337695121765, 0.10608997195959091, -0.7094143629074097, 0.5807831883430481, 0.525336742401123, 0.4091891348361969, 0.4921375811100006, 0.01823444850742817, -0.20738950371742249, -0.5048904418945312, -0.38688573241233826, -0.32645383477211, 1.047521948814392, 0.4177165627479553, 0.8071608543395996, 0.05701172351837158, 0.8563310503959656, -0.10896068811416626, 0.4125979542732239, -0.9298267364501953, 0.5021381378173828, -0.5314241647720337, -0.8622458577156067, 0.024748746305704117, -0.42989760637283325, -0.5362458825111389, 0.41793563961982727, -0.1630905270576477, -0.9003517031669617, 0.6376730799674988, 0.16349366307258606, -0.37697526812553406, 0.648909866809845, -0.656635582447052, 0.6930792927742004, -0.2474658489227295, -0.6170073747634888, -0.2782955765724182, -0.5046136975288391, 0.5292733907699585, -0.0859532579779625, 0.31450527906417847, -0.2728790044784546, -0.05649811401963234, 0.4293201267719269, -0.5749523043632507, 0.7686175107955933, -0.28309139609336853, -0.3360849618911743, 0.06546329706907272, 0.5104694366455078, 0.31858721375465393, -0.0514163114130497, -0.5247824192047119, 0.24201074242591858, 0.10913781821727753, 0.08025947958230972, -0.524761974811554, 0.6639386415481567, -0.72712242603302, -0.570302426815033, -0.20578116178512573, -0.9460166692733765, -0.4773763120174408, 0.3109571933746338, 0.09484551101922989, 0.09373164921998978, 0.014292970299720764, -0.1487337350845337, 0.5065732002258301, -0.8870426416397095, 0.08282950520515442, 0.3600016236305237, -0.46707913279533386, -0.36061370372772217, 0.9414465427398682, -0.13053812086582184, 0.5745741128921509, 0.39259073138237, 0.41309061646461487, -0.141475647687912, -0.5700578093528748, -0.1386645883321762, 0.3118141293525696, -0.5093579292297363, -0.2944519817829132, -0.459081768989563, -0.14178451895713806, -0.07763048261404037, -0.2175491750240326, -0.6665616035461426, -0.29025033116340637, -0.4254727065563202, -0.3928161859512329, 0.40421852469444275, 0.37590906023979187, -0.4218602478504181, 0.13484139740467072, -0.7470170855522156, 0.2311982661485672, -0.06841506063938141, 0.6137849688529968, -0.22769756615161896, -0.30056557059288025, -0.06542558968067169, 0.11690763384103775, -0.4502074420452118, -1.1217399835586548, 0.7856239676475525, 0.2380586713552475, 0.4143344461917877, 0.8280066847801208, 0.3157564401626587, 0.9001861214637756, -0.6469621062278748, 0.6475509405136108, -0.027232078835368156, -1.1052590608596802, 0.6563724875450134, -0.6772736310958862, 0.017306005582213402, 0.9540499448776245, 0.25495514273643494, -0.6713133454322815, -0.5517177581787109, -0.24444580078125, -0.8413394093513489, 0.4967007040977478, -0.07980649173259735, 0.2340380996465683, -0.20185448229312897, 0.6261212825775146, 0.3299027979373932, 0.34597140550613403, -0.5023245215415955, -0.227479487657547, -0.02490386553108692, -0.30542150139808655, 0.21398112177848816, -0.49744293093681335, -0.288326233625412, -0.5404278039932251, 0.7563584446907043, 0.16271567344665527, 0.16859184205532074, 0.07906635105609894, 0.07485169172286987, -0.30172961950302124, 0.4246653616428375, 0.3414693772792816, 0.17242954671382904, -0.6969513893127441, 0.02568969875574112, -0.0444006621837616, -0.3443998396396637, 0.33782249689102173, -0.47286972403526306, -0.4150000214576721, -0.11792882531881332, -0.049659986048936844, 0.7092259526252747, 0.28890082240104675, -0.7689508199691772, 0.2774830162525177, 0.07543325424194336, -0.37859466671943665, 0.2221301794052124, 0.23083071410655975, -0.13820648193359375, -0.21418626606464386, -0.3547830283641815, 0.0869777500629425, 0.3973798453807831, -0.2782462239265442, 0.17885692417621613, 0.59835284948349, -0.6950891613960266, -0.1693371832370758, 1.0852965116500854, 0.39653143286705017, 0.07731812447309494, 0.8017433881759644, 0.039073631167411804, -0.21525385975837708, 0.17546841502189636, 0.34424152970314026, 1.070251703262329, -0.3827165961265564, 0.4182946979999542, 0.5156409740447998, 0.1591319739818573, 0.36794376373291016, 0.2517218589782715, 0.23028841614723206, -0.9437085390090942, -0.44534289836883545, -0.4869479537010193, -0.3162895739078522, 0.5162335634231567, -0.845997154712677, 0.15159590542316437, -0.6946849822998047, -0.15000440180301666, -0.18976327776908875, -0.3162553310394287, -0.22329190373420715, -0.05004645138978958, 0.16246728599071503, 0.8785432577133179, -1.080852746963501, 0.7171271443367004, 0.4257550835609436, -0.10967731475830078, -0.5918193459510803, -0.085969477891922, 0.5270484685897827, -0.46619415283203125, 0.5545547008514404, 0.12190541625022888, -0.00324234995059669, -0.1493765115737915, -0.5501798987388611, -1.0775119066238403, 0.5791764259338379, 0.784008264541626, -0.6691519021987915, -0.153823122382164, -0.19919732213020325, 0.6818684339523315, 0.06153010204434395, 0.0997278168797493, 0.5728397369384766, 0.47346994280815125, -0.007233062293380499, -0.7077659368515015, 0.3259972035884857, -0.3886915445327759, 0.16123360395431519, 0.19703423976898193, -0.8074637055397034, 0.5049268007278442, -0.2204027622938156, -0.3775879442691803, 0.03529442846775055, 0.21218781173229218, -0.06494200974702835, -0.2572316825389862, 0.8047256469726562, 0.7198956608772278, 0.7148483395576477, 0.15104171633720398, 0.7620123028755188, -0.5124702453613281, 0.3737655282020569, 1.1394168138504028, -0.5573515892028809, 0.7537087202072144, 0.6363875865936279, -0.13123270869255066, 0.6988701224327087, 0.6155216693878174, 0.1542334258556366, 0.9715732932090759, 0.2659584581851959, -0.261247456073761, -0.4664701521396637, -0.20364446938037872, -0.27291253209114075, 0.4838939905166626, 0.3171706199645996, -0.48504865169525146, -0.32139769196510315, -0.2532954514026642, 0.3493323028087616, 0.07650474458932877, -0.18394169211387634, 0.687791645526886, 0.003408429678529501, -0.5034385323524475, 0.4660479724407196, -0.33874285221099854, 0.450297474861145, -0.4124218225479126, -0.03679521754384041, -0.13975673913955688, 0.33719155192375183, -0.33079302310943604, -0.39122456312179565, 0.6541444063186646, -0.1373841017484665, 0.013061883859336376, -0.3995650112628937, 0.6864639520645142, -0.5022896528244019, -0.47270962595939636, 0.47151103615760803, 0.32785627245903015, -0.028768543154001236, 0.10261616110801697, -0.6637884974479675, 0.02389421872794628, 0.16931375861167908, -0.1886052042245865, 0.4128250777721405, -0.16249899566173553, 0.10597652941942215, 0.710960328578949, 0.7056078314781189, 0.302713543176651, -0.24950408935546875, -0.023852625861763954, 0.9189990758895874, -0.4158003330230713, -0.2962518632411957, -0.774846613407135, 0.7361068725585938, -0.0380094051361084, -0.10306388884782791, 0.5901150703430176, 0.5378016829490662, 0.555103063583374, -0.18835529685020447, 0.8157164454460144, 0.20301005244255066, 0.47327572107315063, -0.5397889614105225, 0.7654610872268677, -0.6869760751724243, 0.2592449486255646, -0.5982195734977722, -0.5304262638092041, -0.5515964031219482, 0.670271635055542, -0.5014781355857849, -0.12210241705179214, 0.655484139919281, 1.1386713981628418, 0.01978498324751854, -0.287539541721344, 0.35115811228752136, 0.4180779457092285, 0.5635562539100647, 0.5961344838142395, 0.5973430871963501, -0.03706523776054382, 0.2252001315355301, -0.5940424799919128, -0.3317859172821045, -0.03752545267343521, -1.046679973602295, -0.7285639643669128, -0.3427893817424774, -0.3974623680114746, -0.2763478457927704, -0.12338804453611374, 0.8086010813713074, 0.6158580780029297, -0.7933025360107422, 0.06464755535125732, -0.016180619597434998, 0.33016353845596313, -0.5435037016868591, -0.2600655257701874, 0.23246030509471893, -0.19091373682022095, -0.9887838363647461, 0.6157211661338806, 0.37822067737579346, -0.3552650213241577, 0.0479581318795681, 0.34517574310302734, -0.21372005343437195, 0.2695937156677246, 0.45474356412887573, 0.12467607855796814, -0.5438443422317505, -0.8809122443199158, -0.1433291882276535, 0.20069430768489838, 0.31734344363212585, 0.6048294305801392, -0.3405348062515259, 0.9237170815467834, 0.6236057281494141, 0.19560541212558746, 0.13161976635456085, 0.4271283745765686, 0.6943554282188416, -0.7306604981422424, 0.2921636700630188, 0.047434963285923004, 0.24555262923240662, 0.12220104783773422, -0.6954650282859802, 0.5097305178642273, -0.012393949553370476, -0.5937034487724304, -0.9332449436187744, 0.4150715470314026, -1.172069787979126, -0.3301407992839813, 1.4730867147445679, 0.08508726209402084, -0.10327117145061493, -0.11056960374116898, -0.5082444548606873, 0.21921871602535248, -0.5612089037895203, 0.9675628542900085, 0.4370480477809906, -0.30646660923957825, 0.030855190008878708, -0.671430230140686, 0.6814211010932922, 0.3575035035610199, -0.8000613451004028, 0.38334307074546814, 0.8529503345489502, 0.6271069645881653, 0.07076417654752731, 0.5728675723075867, -0.3105531930923462, -0.1417768895626068, -0.09210057556629181, 0.17564520239830017, -0.27518540620803833, -0.19904136657714844, -0.44002580642700195, -0.16644173860549927, -0.00887676514685154, -0.24409224092960358 ]
http://arxiv.org/abs/2405.13966v1
http://arxiv.org/pdf/2405.13966v1
On the Brittle Foundations of ReAct Prompting for Agentic Large Language Models
2024-05-22T20:05:49
2024-05-22T20:05:49
Mudit Verma, Siddhant Bhambri, Subbarao Kambhampati
cs.AI
cs.AI, cs.CL
The reasoning abilities of Large Language Models (LLMs) remain a topic of debate. Some methods such as ReAct-based prompting, have gained popularity for claiming to enhance sequential decision-making abilities of agentic LLMs. However, it is unclear what is the source of improvement in LLM reasoning with ReAct based prompting. In this paper we examine these claims of ReAct based prompting in improving agentic LLMs for sequential decision-making. By introducing systematic variations to the input prompt we perform a sensitivity analysis along the claims of ReAct and find that the performance is minimally influenced by the "interleaving reasoning trace with action execution" or the content of the generated reasoning traces in ReAct, contrary to original claims and common usage. Instead, the performance of LLMs is driven by the similarity between input example tasks and queries, implicitly forcing the prompt designer to provide instance-specific examples which significantly increases the cognitive burden on the human. Our investigation shows that the perceived reasoning abilities of LLMs stem from the exemplar-query similarity and approximate retrieval rather than any inherent reasoning abilities.
[ -0.2560441493988037, -0.855549693107605, 1.0576540231704712, 0.027193928137421608, -0.02110178768634796, 0.2045874148607254, -0.33080601692199707, -0.22154107689857483, -0.05059081315994263, 0.10814309120178223, -0.6656841039657593, -0.23384584486484528, -0.1904624104499817, 0.4996592104434967, -0.03315718099474907, 0.5152302384376526, 0.04005866125226021, -0.18174314498901367, -0.46395882964134216, -0.08562564849853516, -0.6126399636268616, -0.31245866417884827, -0.7866266369819641, -0.5254983901977539, 0.7096171975135803, 0.4629232585430145, 0.7172678709030151, 0.23686756193637848, 0.07046657055616379, 0.3875923156738281, -0.22697874903678894, 0.050705257803201675, -0.38287538290023804, 0.527335524559021, -0.51479572057724, -0.7929970622062683, -0.14623335003852844, -0.20904900133609772, 0.6878370046615601, 0.4158012270927429, 0.07427649199962616, 0.047013189643621445, 0.011942326091229916, 0.5278644561767578, -0.6045989990234375, 0.15214914083480835, -0.6541802287101746, -0.18847963213920593, 0.10255387425422668, -0.3475074768066406, -0.9700517654418945, -0.08882974088191986, -0.010831775143742561, -0.36896049976348877, 0.15304023027420044, 0.18313951790332794, 0.3229275345802307, 0.504549503326416, -0.46129757165908813, -0.2521899342536926, -0.5198014378547668, 0.5343713164329529, -0.6713538765907288, 0.07023083418607712, 0.3171588182449341, 0.21049268543720245, -0.3030703365802765, -0.582854688167572, -0.6467583775520325, -0.49131351709365845, -0.09703561663627625, -0.01350884698331356, -0.03750301152467728, 0.19355516135692596, 0.7448134422302246, -0.08647129684686661, -0.5545694828033447, 0.32375219464302063, 0.1830587536096573, -0.2753625512123108, 0.4418228566646576, 0.3915237486362457, 0.16249297559261322, -0.10805632174015045, -0.29658082127571106, -0.34073078632354736, -0.8475619554519653, 0.42229658365249634, 0.20532342791557312, 0.5831984281539917, -0.195070281624794, 0.4854253828525543, -0.44337937235832214, 0.7754110097885132, 0.09916019439697266, 0.04237596318125725, 0.08653545379638672, -0.15614917874336243, 0.058669984340667725, -0.10816137492656708, 0.5703670978546143, 0.3785359263420105, 0.6065658926963806, 0.28136521577835083, -0.1842118352651596, 0.2215537577867508, 0.17948271334171295, -0.6958571076393127, 0.040846019983291626, 0.2923116087913513, -0.3217621445655823, -0.03886973485350609, -0.14714345335960388, -0.4336150288581848, -0.6583501100540161, -0.33162224292755127, 0.3187732398509979, -0.17842797935009003, -0.13848499953746796, -0.18965865671634674, -0.2307875007390976, 0.22958840429782867, 0.5011352896690369, -0.7380847334861755, 0.24636250734329224, 0.7428475618362427, 0.6001192331314087, -0.3046635389328003, -0.24554170668125153, -0.6114218235015869, -0.2973496913909912, -0.4514070153236389, 1.0910718441009521, -0.6719164252281189, -0.39674538373947144, 0.023470886051654816, 0.004154144320636988, -0.08601684868335724, -0.719596266746521, 0.25876614451408386, -0.590034008026123, -0.31059983372688293, -0.7173904180526733, -0.26204270124435425, -0.13991954922676086, 0.22179707884788513, -0.6539422273635864, 0.9572629332542419, 0.08782579749822617, -0.43517938256263733, 0.386258065700531, -0.28872647881507874, -0.5808192491531372, 0.18026703596115112, -0.403997004032135, 0.028479771688580513, 0.20802120864391327, 0.15318335592746735, 0.3001505732536316, -0.44262731075286865, 0.18424208462238312, -0.3690798878669739, -0.31045910716056824, 0.6028006672859192, -0.4080643951892853, 0.5970889925956726, 0.12306676059961319, -0.31080079078674316, 0.4732455611228943, -0.5657824277877808, 0.11394501477479935, 0.037173982709646225, -0.25469833612442017, -0.37659046053886414, 0.12133274227380753, -0.6035990715026855, 0.3298596441745758, 0.04925994202494621, -0.14304296672344208, 0.1306854784488678, -0.3339386582374573, 0.3509415090084076, 1.100054383277893, 0.22715631127357483, 0.5096609592437744, -0.4850253462791443, 0.707015335559845, -0.24984228610992432, 0.1226830780506134, -0.3204195499420166, -0.5327489376068115, -0.4564773738384247, -0.21003317832946777, -0.028414074331521988, 0.3682359457015991, -0.9118027687072754, -0.1847631186246872, -0.1891423612833023, -0.11919378489255905, -0.1380545198917389, -0.014989271759986877, 0.48491495847702026, 0.7696748971939087, 0.05482559651136398, 0.015421782620251179, -0.2120925933122635, -0.747727632522583, -0.3979242444038391, -0.4256136417388916, 0.34313032031059265, 0.3978147506713867, 0.42572689056396484, 0.2449198067188263, 1.0718493461608887, -0.2489456832408905, 0.5131316781044006, -0.1284012496471405, -0.10116662830114365, 0.19974704086780548, 0.021376607939600945, 0.3728703558444977, -0.6836190223693848, -0.7969589233398438, -0.16561011970043182, -0.49434274435043335, -0.36826011538505554, -0.009321271441876888, -0.05101305991411209, 0.43409299850463867, 0.7641421556472778, -0.9001270532608032, 0.3640510141849518, 0.13668444752693176, -0.5460586547851562, 0.7828356623649597, -0.10590303689241409, 0.147622749209404, -0.7211292386054993, -0.07733858376741409, -0.2184278815984726, -0.179209902882576, -0.38064560294151306, 0.22283942997455597, 0.04241805523633957, -0.08915950357913971, -0.5367909073829651, 0.9765884280204773, -0.4719219505786896, -0.11556503176689148, -0.425111323595047, 0.14322373270988464, -0.11225096881389618, 0.4256380796432495, -0.045418042689561844, 0.9965086579322815, 0.4153279960155487, -0.7514280080795288, 0.2595367431640625, 0.037642206996679306, -0.09895092248916626, 0.7333341240882874, -0.6893199682235718, 0.10538879036903381, -0.12735505402088165, 0.3239876329898834, -1.302740454673767, -0.11324691027402878, 0.19244368374347687, -0.3190760910511017, 0.216430202126503, 0.07030004262924194, -0.44373592734336853, -0.6212417483329773, -0.29765501618385315, 0.33837080001831055, 0.7174341082572937, -0.5751960873603821, 0.732305109500885, -0.2863038182258606, -0.5379564166069031, -0.6704877018928528, -0.30511072278022766, -0.15972939133644104, -0.12142881751060486, -0.5329031348228455, -0.026614751666784286, -0.5123043656349182, -0.7785040736198425, 0.035756926983594894, -0.24087214469909668, 0.28130823373794556, 0.055972617119550705, 0.3663041889667511, 0.23353278636932373, -0.21395689249038696, 0.48767900466918945, 0.03768382593989372, -0.1314612329006195, 0.24325528740882874, 0.06157713010907173, 0.4626721739768982, 0.0011295925360172987, -0.4575888514518738, -0.43992123007774353, 0.1903611272573471, 0.6327168941497803, -0.10932260751724243, 0.540136992931366, -0.19944486021995544, 0.13986459374427795, -0.6899099349975586, -0.5342780947685242, -0.6517061591148376, -0.5116750001907349, -0.04687277972698212, -0.7949521541595459, -0.9448317885398865, 0.7655688524246216, -0.3931259214878082, -0.21901951730251312, 0.5233128666877747, 0.6050507426261902, 0.022893236950039864, 1.0556669235229492, -0.06561870872974396, 0.13311496376991272, 0.43080881237983704, 0.18142157793045044, -0.2996354401111603, -0.6887691020965576, -0.1652473509311676, -0.6668241620063782, -0.2508760690689087, -0.2627078592777252, -0.5598045587539673, 0.009061993099749088, -0.42728540301322937, -0.43846115469932556, -0.21110567450523376, -0.43255895376205444, 0.4050244390964508, 0.3111210763454437, 0.06454309076070786, 0.28400394320487976, 0.0439775213599205, -0.3781956732273102, 0.2347283959388733, -0.8136730194091797, -0.17922136187553406, 0.8399612307548523, 0.014395520091056824, 0.9823585152626038, 0.058444369584321976, 0.24372850358486176, 0.4183533489704132, 0.1320337951183319, -0.9369493126869202, 0.7855445742607117, 0.3128523826599121, -0.5022162199020386, -0.30081215500831604, -0.439541757106781, -1.0748399496078491, 0.40332454442977905, -0.10333161801099777, -0.5861412286758423, 0.19250325858592987, 0.11904696375131607, -0.3880389332771301, -0.19289809465408325, -0.7142801284790039, 0.5006300806999207, -0.07319134473800659, -0.47786420583724976, -0.4176095128059387, -0.6371985673904419, 0.009070808067917824, 0.1905953288078308, 0.26378265023231506, -0.10527720302343369, -0.15231136977672577, 0.27019158005714417, -0.7216254472732544, 1.009975552558899, -0.14751850068569183, -0.27974873781204224, 0.7105483412742615, 0.3070647716522217, 1.0762178897857666, -0.2331499308347702, -0.3468118906021118, -0.4335933029651642, -0.5200024843215942, -0.15359076857566833, -0.9034038186073303, 0.7237257957458496, -0.3536812663078308, -1.0096665620803833, -0.1843297779560089, -0.61844402551651, -0.30637484788894653, 0.06437252461910248, 0.18858745694160461, 0.6312590837478638, 0.020601024851202965, 0.05586545541882515, 0.7217051386833191, -0.0732574313879013, 0.6343272924423218, 0.7627415657043457, -0.08440688252449036, -0.1410604566335678, 0.5598618388175964, 0.10110510885715485, 0.4636874794960022, 0.31108176708221436, 0.3772609531879425, -0.5747231245040894, -0.2837761342525482, -0.23943087458610535, 0.44988521933555603, -1.0024980306625366, -0.10564462840557098, -0.26852530241012573, 0.14928247034549713, -0.26857730746269226, -0.3199126720428467, -0.1552092730998993, -0.2806456983089447, -0.18411284685134888, -0.3083846867084503, 0.5917966365814209, 0.8010369539260864, 0.19966693222522736, 0.09829036891460419, -0.3407052755355835, 0.29660630226135254, 0.5232020616531372, 0.2704201340675354, 0.3894084095954895, -0.5604060888290405, 0.053887225687503815, -0.3556447923183441, 0.1913115233182907, -0.7678723335266113, -0.10528112202882767, -0.05266478657722473, 0.7078561186790466, 0.20389549434185028, 0.3989608883857727, 0.34538090229034424, -0.45083579421043396, 0.7388955950737, -0.07760943472385406, -0.64995938539505, 0.6319656372070312, -0.40606018900871277, 0.6390790939331055, 0.4306638538837433, 0.10206020623445511, -0.09162787348031998, -0.3785053491592407, -0.49010908603668213, -0.5685921907424927, 0.8321877717971802, -0.2039114534854889, 0.15321364998817444, -0.20959413051605225, 0.42157596349716187, 0.1160079687833786, 0.03666701912879944, -0.4742189049720764, -0.23305675387382507, 0.3603123128414154, -0.08336682617664337, 0.05650774762034416, -0.3042882978916168, -0.13471028208732605, -0.19583161175251007, 0.5431675910949707, -0.4096742272377014, -0.08976179361343384, 0.3019416034221649, -0.1849610060453415, -0.10053091496229172, 0.3012308180332184, 0.7264887094497681, 0.5892820358276367, 0.28654420375823975, 0.3552519381046295, 0.3289974331855774, -0.11684150248765945, 0.4360577166080475, -0.11551190167665482, -0.18041960895061493, -0.2524375319480896, 0.3064798414707184, 0.8878557682037354, 0.050326116383075714, -0.8438026309013367, 0.3884769678115845, 0.07181643694639206, -0.06026739254593849, -0.11839572340250015, 0.27404478192329407, -0.05837038904428482, 0.5102513432502747, 0.4072960615158081, -0.0021885805763304234, 0.08278026431798935, -0.5196281671524048, -0.009852787479758263, 0.4487479329109192, -0.33695676922798157, -0.1981569081544876, 0.5231544375419617, 0.21601518988609314, -0.4918959438800812, 0.6869699358940125, -0.2749657928943634, -0.3221490681171417, 0.7511056661605835, 0.6966790556907654, 0.6110749840736389, -0.45690470933914185, 0.2818535566329956, 0.3753422796726227, 0.22174286842346191, -0.21217887103557587, 0.4989948570728302, -0.2710185945034027, -0.5185375213623047, -0.7195855975151062, -0.17063702642917633, -0.28943827748298645, -0.22091971337795258, -0.3555217683315277, 0.12994873523712158, -0.544917643070221, -0.4357028901576996, -0.41906556487083435, -0.29648005962371826, -0.3915921151638031, 0.17263883352279663, 0.05618314817547798, 0.986814558506012, -0.6646572947502136, 0.31985488533973694, 0.7222330570220947, -0.22105689346790314, -1.1243878602981567, -0.11156343668699265, 0.1647457778453827, -0.7602954506874084, 0.62992924451828, -0.06581946462392807, -0.33178141713142395, -0.001158231752924621, -0.5700725317001343, -0.7766157984733582, 0.7629056572914124, 0.6479686498641968, -0.4469602108001709, 0.12012708187103271, -0.12833094596862793, 0.47372040152549744, -0.2668240964412689, 0.39694392681121826, 0.36281687021255493, 0.4748885929584503, 0.24145260453224182, -0.7702672481536865, 0.6968457698822021, -0.31091663241386414, 0.010908241383731365, 0.10393987596035004, -0.7584847211837769, 0.9990236759185791, -0.5889441967010498, -0.25742441415786743, 0.0329081267118454, 0.26046016812324524, 0.47040948271751404, 0.36619195342063904, 0.4175369143486023, 0.4668859839439392, 0.8897850513458252, 0.0706057995557785, 1.4080313444137573, 0.026180565357208252, -0.06015712395310402, 1.3319478034973145, -0.462980717420578, 0.8922946453094482, 0.2697124481201172, -0.17881269752979279, 1.1153767108917236, 0.49714896082878113, 0.23756839334964752, 0.2828604280948639, 0.14059819281101227, -0.3636476993560791, -0.2900776267051697, -0.2220887988805771, -0.30935052037239075, 0.19895276427268982, 0.4748527407646179, -0.4309367835521698, -0.06942238658666611, 0.047035250812768936, -0.15473057329654694, 0.10655135661363602, -0.4352359175682068, 0.8550204634666443, 0.2548390328884125, -1.1193232536315918, 0.6975652575492859, -0.5320866703987122, 0.20437195897102356, -0.5052697062492371, -0.05730118229985237, -0.019642788916826248, -0.17630775272846222, -0.1334391087293625, -0.8206680417060852, -0.1679190993309021, -0.2795444428920746, -0.4499567151069641, -0.09906383603811264, 0.9917500615119934, 0.0694001168012619, 0.24255819618701935, 0.3626749515533447, 0.5529173016548157, 0.12200148403644562, -0.2836155593395233, -0.6024717092514038, 0.22899512946605682, -0.22715246677398682, -0.5294725298881531, 0.13698559999465942, 0.5239310264587402, -0.41903743147850037, 0.8118025064468384, 0.54678875207901, -0.06490444391965866, -0.13086268305778503, 0.4365592300891876, 0.7392334938049316, -0.6227992177009583, -0.5783282518386841, -1.0618187189102173, 0.6408776640892029, -0.02453969605267048, 0.07732736319303513, 0.7306116819381714, 0.20315349102020264, 0.298454225063324, -0.1529218554496765, 0.7982096076011658, 0.09406263381242752, 0.3385631740093231, -0.5088249444961548, 0.4089844524860382, -0.4150370955467224, 0.14423106610774994, -0.025316722691059113, -0.9324427843093872, 0.04441988468170166, 0.20045897364616394, -0.46698302030563354, 0.30545035004615784, 0.92865389585495, 0.8996472954750061, 0.45859482884407043, -0.2302207350730896, 0.36244675517082214, 0.5193104147911072, 0.02707773633301258, 0.3407096266746521, 1.229414939880371, 0.33680930733680725, 0.2933339476585388, 0.35614633560180664, -0.17052851617336273, -0.505480945110321, -0.6599659323692322, -0.897911548614502, -0.5334381461143494, -0.20651419460773468, -0.3934761583805084, -0.1139293685555458, 0.8156644105911255, 0.4704693555831909, -0.5101087689399719, 0.042535506188869476, -0.3444244861602783, 0.44979214668273926, -0.19519667327404022, -0.2513848543167114, 0.2402154952287674, -0.47063419222831726, -0.5506640076637268, 0.5675281882286072, 0.16698653995990753, 0.04838934540748596, 0.025021232664585114, -0.19047755002975464, -0.035758186131715775, 0.3504018187522888, 0.8589144349098206, 0.6102113723754883, -0.9227875471115112, -0.3733578622341156, 0.05631779506802559, -0.1520690768957138, 0.028476035222411156, 0.7803933620452881, -1.1248654127120972, 0.7064886093139648, 0.7512812614440918, 0.37860843539237976, 0.24334365129470825, 0.21226505935192108, 0.46890968084335327, -0.6139490604400635, 0.17714795470237732, 0.09829267114400864, 0.1971401870250702, 0.27117854356765747, -0.3839952051639557, 0.4451962411403656, 0.2828584313392639, -0.5230461359024048, -0.6785959005355835, 0.411655992269516, -0.9174327850341797, -0.5863001346588135, 1.4019020795822144, 0.1335177719593048, -0.3067483603954315, -0.12566611170768738, -0.4772433340549469, 0.07780861854553223, -0.6811896562576294, 0.32562142610549927, 0.7403033375740051, -0.46820271015167236, -0.17895977199077606, -0.26738083362579346, 0.42851731181144714, 0.4707257151603699, -0.6283522248268127, 0.26626041531562805, 0.6903636455535889, 0.23653891682624817, 0.07796202600002289, 0.9189521670341492, 0.053071942180395126, 0.3959923982620239, 0.32633283734321594, -0.10825755447149277, 0.05348832905292511, -0.4044836461544037, -0.549310028553009, 0.30512508749961853, 0.6470752358436584, 0.443226158618927 ]
http://arxiv.org/abs/2405.13954v1
http://arxiv.org/pdf/2405.13954v1
What is Your Data Worth to GPT? LLM-Scale Data Valuation with Influence Functions
2024-05-22T19:39:05
2024-05-22T19:39:05
Sang Keun Choe, Hwijeen Ahn, Juhan Bae, Kewen Zhao, Minsoo Kang, Youngseog Chung, Adithya Pratapa, Willie Neiswanger, Emma Strubell, Teruko Mitamura, Jeff Schneider, Eduard Hovy, Roger Grosse, Eric Xing
cs.LG
cs.LG, cs.AI, cs.CL
Large language models (LLMs) are trained on a vast amount of human-written data, but data providers often remain uncredited. In response to this issue, data valuation (or data attribution), which quantifies the contribution or value of each data to the model output, has been discussed as a potential solution. Nevertheless, applying existing data valuation methods to recent LLMs and their vast training datasets has been largely limited by prohibitive compute and memory costs. In this work, we focus on influence functions, a popular gradient-based data valuation method, and significantly improve its scalability with an efficient gradient projection strategy called LoGra that leverages the gradient structure in backpropagation. We then provide a theoretical motivation of gradient projection approaches to influence functions to promote trust in the data valuation process. Lastly, we lower the barrier to implementing data valuation systems by introducing LogIX, a software package that can transform existing training code into data valuation code with minimal effort. In our data valuation experiments, LoGra achieves competitive accuracy against more expensive baselines while showing up to 6,500x improvement in throughput and 5x reduction in GPU memory usage when applied to Llama3-8B-Instruct and the 1B-token dataset.
[ -0.1583784967660904, -0.3884076476097107, 0.562140703201294, 0.2475103884935379, -0.29787611961364746, -0.06945480406284332, -0.038646306842565536, -0.46047577261924744, 0.28186923265457153, 0.2702144682407379, 0.12201006710529327, -0.4212881028652191, -0.7976875901222229, -0.5094294548034668, -0.436509907245636, 1.103126049041748, 0.12345840781927109, 0.30684876441955566, -0.12914374470710754, -0.15878750383853912, -0.12699301540851593, -0.8817791938781738, -0.8573392033576965, -0.35893478989601135, 0.7627691030502319, 0.3070979714393616, 0.6779015064239502, 0.5857510566711426, 0.31873977184295654, 0.11755330860614777, -0.05950017645955086, -0.22402194142341614, -0.8512914180755615, -0.21237359941005707, -0.1096547394990921, -0.682179868221283, -0.544365406036377, 0.05875255912542343, 0.7536830902099609, 0.5774239897727966, -0.2966878414154053, 0.4314020276069641, -0.09453925490379333, 0.9540806412696838, -0.6106353402137756, 0.5493898987770081, -0.7774438261985779, -0.06298784911632538, -0.3759542405605316, -0.16579581797122955, -0.38229846954345703, -0.7542505264282227, -0.1267717480659485, -0.34795358777046204, -0.11114875227212906, 0.035169050097465515, 0.7514716982841492, 0.24857990443706512, -0.31856605410575867, -0.05809514969587326, -0.6878071427345276, 0.8163286447525024, -0.46163782477378845, 0.34820252656936646, 0.47386130690574646, 0.2073620855808258, 0.0789714902639389, -0.7990657091140747, -0.2555239200592041, -0.02121145650744438, -0.08459945768117905, -0.1948014795780182, -0.21125254034996033, -0.02464660443365574, 0.30700749158859253, 0.6096529960632324, -0.17348238825798035, 0.16321763396263123, -0.2811185419559479, -0.27031898498535156, 0.7563363909721375, 0.2124834805727005, -0.01792706549167633, 0.2484120875597, -0.15496842563152313, -0.4150722026824951, -1.2001311779022217, 0.05746087431907654, 0.4601133465766907, 0.2990241050720215, 0.23326896131038666, 0.41570043563842773, 0.050878703594207764, 0.6632978320121765, 0.11063097417354584, -0.12857139110565186, 0.23042625188827515, -0.2814287841320038, -0.4049713611602783, 0.12487969547510147, 0.5335898995399475, 0.4483431279659271, 0.37296777963638306, -0.19402673840522766, -0.16155841946601868, 0.12279009819030762, 0.09720718115568161, -1.188821792602539, -0.29846999049186707, -0.04230787977576256, -0.4358086884021759, -0.4407624304294586, -0.0758511871099472, -0.852484941482544, -0.45942527055740356, -0.20169924199581146, 0.6064189076423645, -0.10501011461019516, -0.21418879926204681, 0.2511976361274719, -0.06467776000499725, 0.304597407579422, 0.7535070776939392, -1.163902759552002, 0.4661996364593506, 0.5612444877624512, 0.8563446998596191, -0.08571584522724152, 0.0684337243437767, -0.7270871996879578, 0.030426926910877228, -0.5940122604370117, 0.5861626863479614, -0.7167916893959045, -0.7935166358947754, -0.13740192353725433, -0.17139828205108643, -0.1454169899225235, -0.5823651552200317, 0.5158489346504211, -0.6228001713752747, -0.06334474682807922, -0.38076266646385193, -0.601341962814331, -0.19636335968971252, -0.22531616687774658, -0.9039967656135559, 1.0045740604400635, 0.3171275854110718, -0.654926598072052, 0.768345057964325, -0.5618625283241272, -0.5103190541267395, 0.17080269753932953, -0.2473352998495102, -0.36953115463256836, -0.05056124925613403, 0.34082475304603577, 0.6422597169876099, -0.31354227662086487, 0.2596052289009094, -0.0909641832113266, -0.26292893290519714, 0.20481355488300323, -0.49313685297966003, 0.32010820508003235, 0.05999709665775299, -0.28082704544067383, -0.05344964191317558, -0.7379459738731384, 0.0916825607419014, -0.2732335925102234, -0.37755629420280457, -0.4951728582382202, -0.04682619124650955, -0.08092856407165527, -0.07195588946342468, 0.07454932481050491, -0.46331819891929626, 0.42743057012557983, -0.04271264374256134, 0.208286315202713, 0.9184542894363403, 0.14710716903209686, 0.5567459464073181, -0.18173421919345856, 0.6262626051902771, -0.23474033176898956, 0.05054035037755966, 0.012210831977427006, -0.7063427567481995, -0.2789459526538849, -0.45186614990234375, 0.40692979097366333, 0.23343968391418457, -0.32345181703567505, -0.2341022491455078, -0.35794389247894287, -0.39862602949142456, -0.5584798455238342, 0.2586851119995117, 0.0942070484161377, 0.6541911959648132, 0.3743175268173218, -0.13465403020381927, -0.23549826443195343, -1.1203904151916504, -0.23844748735427856, -0.32816919684410095, -0.20053716003894806, 0.4214284121990204, 0.2935396134853363, -0.03982869163155556, 0.6634701490402222, -0.6621530055999756, -0.2871069610118866, 0.036169152706861496, 0.0483747236430645, 0.43685391545295715, 0.36850839853286743, 0.6406465768814087, -0.7028349041938782, -0.6064153909683228, 0.1162533387541771, -0.4633541703224182, 0.013820570893585682, 0.006302558816969395, -0.09963904321193695, 0.016423705965280533, 0.17817102372646332, -0.5831488370895386, 0.47304993867874146, 0.6350369453430176, -0.2692595422267914, 0.3726595938205719, -0.145049586892128, 0.42823174595832825, -0.5712307691574097, 0.31321075558662415, 0.1805899292230606, -0.32560524344444275, -0.43646863102912903, -0.29605063796043396, 0.12113042175769806, 0.0898430123925209, -0.12937556207180023, 0.48073047399520874, -0.1165461465716362, 0.08231253921985626, 0.04482296481728554, -0.12094505876302719, -0.10455133020877838, 0.3391459286212921, -0.12443119287490845, 0.9844387769699097, 0.6276688575744629, -0.6604663729667664, 0.3831081986427307, 0.11218586564064026, -0.6972547769546509, 0.7050614356994629, -0.6158298850059509, 0.33465343713760376, 0.10925547778606415, 0.3474114239215851, -0.9251703023910522, 0.03537097945809364, 0.23752222955226898, -0.28077906370162964, 0.3800692558288574, -0.6110065579414368, -0.5569506883621216, 0.041857581585645676, -0.36389267444610596, 0.22748437523841858, 0.5884204506874084, -0.9204855561256409, 0.40441733598709106, 0.5457795262336731, -0.2585286796092987, -0.8086137771606445, -0.8411740064620972, 0.14082999527454376, -0.6266381740570068, -0.5815431475639343, 0.3024057447910309, 0.032260339707136154, -0.536491870880127, 0.037119362503290176, 0.05602141469717026, -0.08345251530408859, -0.17204096913337708, 0.35533612966537476, 0.3354611098766327, -0.04673561453819275, 0.3818182647228241, 0.1670835167169571, -0.13073326647281647, 0.23888656497001648, -0.5494850277900696, 0.294893354177475, -0.23410005867481232, -0.1921921819448471, -0.047046300023794174, -0.06622917205095291, 0.5059988498687744, 0.06828905642032623, 0.7790316939353943, 0.46928173303604126, -0.11515874415636063, -0.31504786014556885, -0.4047653377056122, -0.0320570133626461, -0.45604076981544495, 0.34763848781585693, -0.3237214982509613, -0.8416387438774109, 0.5323945879936218, 0.005675224121659994, 0.03794838488101959, 0.5643107891082764, 0.7808332443237305, 0.3470190167427063, 0.8914100527763367, 0.5562348961830139, -0.764414370059967, 0.5227959156036377, -0.20566090941429138, 0.11828980594873428, -0.6592468023300171, -0.3674020767211914, -0.33764129877090454, -0.34619835019111633, -0.3218494951725006, -0.604732871055603, 0.28603577613830566, 0.015506786294281483, -0.14762923121452332, 0.015205476433038712, -0.3611088991165161, 0.2566428780555725, 0.45725756883621216, 0.21328037977218628, 0.6221047639846802, 0.1768934279680252, 0.47940394282341003, -0.03340764716267586, -0.6820021867752075, -0.3592063784599304, 1.6944475173950195, 0.5539715886116028, 1.4060548543930054, -0.039604879915714264, 0.36135101318359375, 0.6063683032989502, 0.802364706993103, -1.0566505193710327, 0.40754395723342896, -0.008480848744511604, -0.35696327686309814, -0.5539568662643433, -0.5768373012542725, -0.9456289410591125, 0.14063580334186554, 0.13530895113945007, -0.9653376936912537, 0.3254176080226898, 0.4253385066986084, -0.0371723435819149, 0.547523021697998, -0.6737267971038818, 0.4903464913368225, -0.15485882759094238, -0.6765664219856262, -0.6145728826522827, -0.20470932126045227, 0.31081047654151917, -0.3667197823524475, 0.10444294661283493, 0.09729606658220291, -0.03385869786143303, 0.9731884002685547, -0.5500917434692383, 0.6693494319915771, -0.4561130702495575, -0.5229701399803162, 0.2607201337814331, 0.1110444888472557, 0.6771941781044006, 0.44509264826774597, -0.3270827531814575, 0.09607863426208496, -0.1118403896689415, -0.22760681807994843, -0.8366920948028564, 0.881676197052002, -0.37292027473449707, -0.7085485458374023, -0.028764106333255768, -0.39879921078681946, -0.1871362179517746, -0.11323186755180359, 0.14085319638252258, 0.5777009725570679, -0.3008611500263214, 0.22239045798778534, 0.5941624045372009, 0.16898706555366516, 0.3328907787799835, 0.06281114369630814, -0.4420245885848999, -0.38879382610321045, 1.0888899564743042, 0.15536752343177795, 0.45478129386901855, 0.42536449432373047, 0.2813665270805359, -0.49699071049690247, -0.4164680242538452, -0.7685006260871887, 0.07667147368192673, -0.7607266902923584, -0.22432683408260345, -0.34671148657798767, 0.14378881454467773, 0.07105390727519989, -0.17569933831691742, -0.49395498633384705, -0.7324613928794861, -0.016722220927476883, -0.4691697955131531, 0.8614925146102905, 0.8312087059020996, -0.23306727409362793, 0.19590778648853302, -0.39667096734046936, -0.23385009169578552, 0.37245094776153564, 0.5566776990890503, -0.01335753221064806, -0.5106813907623291, -0.6923788189888, -0.05787484720349312, 0.12919721007347107, -0.4429735243320465, 0.5353617668151855, 0.10945848375558853, 0.7060132026672363, 0.4115917682647705, -0.24332007765769958, 0.5726186037063599, -0.29615870118141174, 0.6765897870063782, -0.001443964894860983, -1.0705853700637817, 0.2266935557126999, -0.059317369014024734, -0.19774062931537628, 0.4950562119483948, 0.4749164283275604, -0.3203117251396179, -0.05807121843099594, -0.7295411229133606, -0.6601143479347229, 0.27520042657852173, 0.1189788356423378, 0.16582848131656647, 0.5177000761032104, 0.5563772916793823, 0.11247795820236206, 0.5119221806526184, -0.5740412473678589, -0.3336896300315857, -0.2456882894039154, -0.05841568112373352, -0.410374253988266, 0.0018501350423321128, -0.3402407467365265, -0.36603108048439026, 0.4441443383693695, -0.22747373580932617, 0.22451530396938324, 0.0328727588057518, 0.052440520375967026, -0.053984642028808594, 0.20390889048576355, 0.16669777035713196, 0.7583849430084229, -0.2573224902153015, 0.06724409013986588, 0.30723610520362854, -0.6984171867370605, 0.17061060667037964, 0.04404963180422783, -0.08335381001234055, -0.12170854955911636, 0.12913529574871063, 0.8165884017944336, 0.03741373494267464, -0.2605615556240082, 0.45261988043785095, 0.09981042146682739, -0.21203617751598358, 0.24564994871616364, -0.06574301421642303, -0.03165692090988159, 0.07476119697093964, 0.4431188404560089, -0.24562321603298187, 0.20251594483852386, -0.3830748498439789, 0.320747047662735, 0.5075883865356445, -0.29795920848846436, -0.37494221329689026, 0.7087566256523132, 0.014369943179190159, 0.0887703225016594, 0.6255106329917908, 0.22506031394004822, -0.4509526789188385, 0.5202749967575073, 0.3650890290737152, 0.6633149981498718, -0.2582702040672302, 0.2686298191547394, 0.21271447837352753, 0.1592843234539032, -0.26579251885414124, 0.05881261080503464, -0.04211706668138504, -0.7602946162223816, -0.44806185364723206, -0.4389476478099823, -0.6361560225486755, 0.16671951115131378, -0.6897993683815002, 0.26372188329696655, -0.6508704423904419, -0.17713473737239838, -0.11892600357532501, -0.05173281207680702, -0.6018738746643066, 0.4161887764930725, -0.04141887649893761, 0.7503697276115417, -0.7700653076171875, 1.0355780124664307, 0.39044955372810364, -0.2523926794528961, -0.9830461740493774, -0.021863412111997604, -0.2736094892024994, -1.1188888549804688, 1.0465713739395142, -0.191046804189682, -0.3608997166156769, 0.1957218199968338, -0.8012689352035522, -0.7450011372566223, 1.0282340049743652, 0.509284496307373, -0.45695167779922485, 0.20645152032375336, -0.1447950303554535, 0.5212984681129456, -0.4162113070487976, 0.13273242115974426, 0.5416496396064758, 0.547681987285614, 0.1719045490026474, -0.6638487577438354, 0.06715763360261917, -0.06871874630451202, -0.18496254086494446, 0.45420417189598083, -0.7147160172462463, 0.5955812931060791, -0.3464375138282776, -0.03814516216516495, -0.3210505247116089, 0.2902275621891022, 0.061301976442337036, 0.1715988963842392, 0.4900364577770233, 0.5033354163169861, 1.0025925636291504, 0.09305880963802338, 1.3104628324508667, -0.4063480794429779, 0.4371935725212097, 0.7991762161254883, 0.03357724845409393, 0.8218632340431213, 0.5510854721069336, -0.6298841238021851, 0.5967792272567749, 0.63701331615448, -0.21266566216945648, 0.48388102650642395, 0.4711760878562927, -0.3127689063549042, 0.023662062361836433, 0.007749865762889385, -0.44673678278923035, -0.06837493926286697, 0.596676230430603, -0.5521855354309082, 0.1100236251950264, -0.3807021677494049, 0.34747180342674255, -0.1694931834936142, -0.589228093624115, 0.3199775516986847, 0.3321296274662018, -0.2969568371772766, 0.4373704791069031, -0.2882566452026367, 0.28018373250961304, -0.9152451753616333, -0.09796585887670517, -0.3732438087463379, 0.2578197121620178, -0.5330277681350708, -0.8063711524009705, 0.05686748027801514, -0.2229570895433426, 0.08059792965650558, -0.28182587027549744, 0.6821177005767822, -0.3336593806743622, -0.5281030535697937, 0.3579943776130676, 0.37158021330833435, 0.10992991179227829, -0.31291064620018005, -0.16764818131923676, 0.022225121036171913, -0.07277470827102661, -0.35980403423309326, 0.5570045709609985, 0.20677880942821503, 0.03088884800672531, 0.8582353591918945, 0.5903050899505615, 0.4258313477039337, -0.1417718529701233, 0.24865230917930603, 1.0522691011428833, -0.6092714071273804, -0.2839992344379425, -0.9587717652320862, 0.3812386691570282, 0.00919011328369379, -0.22708192467689514, 0.9201295375823975, 0.7968328595161438, 0.583906888961792, 0.10763273388147354, 1.0200438499450684, 0.19884859025478363, 0.1757277101278305, -0.6740428805351257, 0.5777729153633118, -0.39493435621261597, 0.47214475274086, -0.6250188946723938, -0.8997577428817749, -0.4107946455478668, 0.5873201489448547, -0.5660215616226196, -0.06504607945680618, 0.45207491517066956, 0.7868155837059021, 0.28190135955810547, 0.00998727511614561, 0.38182684779167175, 0.11131766438484192, 0.41220608353614807, 0.6251201629638672, 0.7925744652748108, -0.29583436250686646, 0.45328599214553833, -0.0792856514453888, -0.5836514234542847, 0.056225042790174484, -0.8578528165817261, -0.8381261825561523, -0.3832954466342926, -0.39600127935409546, -0.5865687131881714, 0.10245265811681747, 0.6087648868560791, 0.8063089847564697, -0.6694886684417725, -0.39264896512031555, -0.0019253587815910578, 0.18267270922660828, -0.1103518009185791, -0.2224985510110855, 0.6688810586929321, -0.11957165598869324, -0.8050864934921265, 0.3235913813114166, 0.35468900203704834, -0.0028550580609589815, -0.3961082100868225, -0.1366584599018097, 0.1672179251909256, -0.10293064266443253, 0.6647222638130188, 0.30482208728790283, -0.13879995048046112, -0.36845263838768005, -0.18590345978736877, -0.0020829595159739256, 0.3926546275615692, 1.0659024715423584, -0.8390465378761292, 0.3316776752471924, 0.21889294683933258, 0.7738134860992432, 1.1257740259170532, 0.36299848556518555, 0.8957833051681519, -0.19854077696800232, -0.007958277128636837, -0.008692195639014244, 0.1385926753282547, 0.294357031583786, -0.8657546639442444, 0.7249734997749329, 0.3312465250492096, -0.763232409954071, -0.6363035440444946, 0.05793566629290581, -0.8210806250572205, 0.20353533327579498, 1.2405993938446045, -0.1910112053155899, 0.019136913120746613, 0.13163453340530396, -0.22390347719192505, -0.45242515206336975, -0.833208441734314, 0.6981856822967529, 0.6322329640388489, -0.4265393316745758, -0.19440431892871857, -0.4894343912601471, 0.8680217862129211, 0.4023849070072174, -0.6844962239265442, 0.12278454750776291, 0.38062983751296997, 0.1744333952665329, -0.1777019500732422, 0.6557758450508118, -0.36278703808784485, -0.31564003229141235, 0.1661691516637802, -0.276181161403656, 0.13067501783370972, -0.188089981675148, -0.4935496747493744, 0.13218048214912415, 0.31443873047828674, -0.22811268270015717 ]
http://arxiv.org/abs/2405.13929v2
http://arxiv.org/pdf/2405.13929v2
Vikhr: The Family of Open-Source Instruction-Tuned Large Language Models for Russian
2024-05-22T18:58:58
2024-06-19T17:32:23
Aleksandr Nikolich, Konstantin Korolev, Artem Shelmanov, Igor Kiselev
cs.CL
cs.CL, cs.AI
There has been a surge in the development of various Large Language Models (LLMs). However, text generation for languages other than English often faces significant challenges, including poor generation quality and the reduced computational performance due to the disproportionate representation of tokens in model's vocabulary. In this work, we address these issues and introduce Vikhr, a new state-of-the-art open-source instruction-tuned LLM designed specifically for the Russian language. Unlike previous efforts for Russian that utilize computationally inexpensive LoRA adapters on top of English-oriented models, Vikhr features an adapted tokenizer vocabulary and undergoes the continued pre-training and instruction tuning of all weights. This approach not only enhances the model's performance but also significantly improves its computational and contextual efficiency. The remarkable performance of Vikhr across various Russian-language benchmarks can also be attributed to our efforts in expanding instruction datasets and corpora for continued pre-training. Vikhr not only sets the new state of the art among open-source LLMs for Russian, but even outperforms some proprietary closed-source models on certain benchmarks. The model weights, instruction sets, and code are publicly available
[ 0.16038459539413452, -0.568041980266571, 0.2047608494758606, 0.2010830193758011, -0.5558810830116272, 0.2526317238807678, -0.5763420462608337, 0.012048352509737015, -0.15651372075080872, 0.5234748125076294, -0.13644184172153473, -0.6746007204055786, -0.4733542203903198, -0.16164129972457886, -0.24556586146354675, 1.1062633991241455, -0.11012295633554459, 0.49643710255622864, -0.25890839099884033, -0.03997782990336418, -0.5024318099021912, -0.5363911986351013, -0.18963466584682465, -0.366211473941803, 0.5544513463973999, 0.6307097673416138, 0.4757782816886902, 0.808643102645874, 0.6433579921722412, 0.37303784489631653, -0.04747450351715088, -0.13013046979904175, -0.49709969758987427, 0.3382956385612488, -0.03570997714996338, -0.5909014344215393, -0.3844853341579437, -0.7006596922874451, 0.9707371592521667, 0.12422411143779755, -0.39098814129829407, 0.3188222348690033, -0.1005815714597702, 0.7754467129707336, -0.7538356184959412, -0.05878043174743652, -0.7549796104431152, -0.10230626910924911, -0.31998327374458313, -0.08242443203926086, -0.4130871891975403, -0.5332432985305786, 0.01701267436146736, -0.5299500226974487, 0.197312131524086, -0.2070714384317398, 0.6470123529434204, 0.10607970505952835, -0.08930325508117676, -0.18596795201301575, -0.8119810223579407, 0.8681368827819824, -0.6203924417495728, 0.5294471383094788, 0.03955227509140968, 0.5096268653869629, -0.005264729261398315, -0.8678891658782959, -0.4805909991264343, -0.010542266070842743, 0.1860058456659317, -0.1756221354007721, -0.20909014344215393, -0.08172737061977386, -0.09084635972976685, 0.5246129631996155, -0.46896517276763916, -0.021795198321342468, -0.7076045870780945, -0.23660781979560852, 0.24818788468837738, 0.262457013130188, 0.25046324729919434, 0.0996708869934082, -0.01296819094568491, 0.017956241965293884, -0.8165615797042847, -0.05305388942360878, 0.4502030313014984, 0.3662511110305786, -0.22725965082645416, 0.8278546929359436, -0.43338942527770996, 0.8856807351112366, 0.018058080226182938, -0.043343327939510345, 0.15647925436496735, -0.2779567837715149, -0.1505473107099533, 0.16507981717586517, 0.593569278717041, 0.05826006457209587, 0.2978830635547638, -0.014208218082785606, -0.20934872329235077, 0.13815519213676453, 0.25851067900657654, -1.0541704893112183, -0.39343780279159546, -0.1591339111328125, -0.2393590211868286, -0.46736958622932434, -0.21869641542434692, -0.8038730621337891, -0.1851576715707779, -0.3521762788295746, 0.579295814037323, -0.4075675904750824, -0.1636132448911667, 0.15012860298156738, 0.25576773285865784, 0.5819656848907471, 0.19331373274326324, -1.0236684083938599, 0.33467262983322144, 0.8284435272216797, 0.8897874355316162, -0.08935707062482834, -0.14969244599342346, -0.9742721319198608, -0.1430450677871704, -0.47904810309410095, 0.6114065051078796, -0.9880353212356567, -0.3656989336013794, 0.28267115354537964, -0.032882656902074814, 0.41482749581336975, -0.32967251539230347, 0.30723148584365845, -0.560312032699585, 0.11406437307596207, -0.172264963388443, -0.23791006207466125, 0.23288443684577942, 0.07766129821538925, -0.37370312213897705, 0.9873319268226624, 0.24537262320518494, -0.6463159918785095, 0.40908291935920715, -0.4575013220310211, -0.6047606468200684, 0.4032391905784607, -0.06994761526584625, -0.5554462671279907, 0.440424382686615, 0.05951881408691406, 0.3567596971988678, -0.4015902578830719, 0.011767723597586155, 0.18460364639759064, -0.24579468369483948, 0.22405292093753815, -0.08021898567676544, 0.1306939721107483, 0.2540656626224518, -0.06841915100812912, 0.46669530868530273, -0.850793719291687, 0.28823989629745483, -0.03944643586874008, -0.7090423703193665, -0.3473320007324219, 0.04203746095299721, 0.19738614559173584, -0.08617851138114929, 0.40124720335006714, -0.592857837677002, 0.14477752149105072, -0.6577137112617493, 0.5737527012825012, 0.7411383390426636, -0.2947044372558594, 0.5110757946968079, -0.14707651734352112, 0.6423550248146057, 0.009907875210046768, 0.10234479606151581, -0.5278770327568054, -0.16708792746067047, -1.1960461139678955, -0.3880258798599243, 0.512324333190918, 0.3352256715297699, -0.6325743198394775, 0.16175559163093567, -0.5684031844139099, -0.552456259727478, -0.8433496952056885, 0.17786464095115662, 0.6589917540550232, 0.23904384672641754, 0.19231079518795013, 0.01266997680068016, -0.499024897813797, -0.7764692306518555, -0.300857275724411, 0.19779248535633087, 0.3030555248260498, 0.029381023719906807, 0.5090702176094055, 0.054069116711616516, 0.8411757349967957, -0.364175945520401, -0.0024667386896908283, -0.3595350682735443, -0.055972497910261154, 0.09064839780330658, 0.5543942451477051, 0.12430249899625778, -0.6570971012115479, -0.906585156917572, 0.5595000386238098, -0.16835322976112366, 0.07839029282331467, 0.39481937885284424, -0.15264689922332764, 0.6265485286712646, 0.3793731927871704, -0.4827578067779541, 0.16709277033805847, 0.6039159297943115, -0.24856308102607727, 0.5157368779182434, -0.39906373620033264, 0.0795978456735611, -1.4833369255065918, 0.13467471301555634, -0.2933690845966339, -0.24102619290351868, -0.6420214176177979, 0.10647600144147873, 0.10219628363847733, -0.23239688575267792, -0.60732102394104, 0.6064198017120361, -0.5020599961280823, 0.04024440050125122, -0.24111437797546387, -0.08169939368963242, -0.31008806824684143, 0.09468672424554825, -0.1190144270658493, 1.0152455568313599, 0.6786838173866272, -0.51540207862854, 0.3228246569633484, 0.2179754227399826, -0.8181548118591309, 0.4147360622882843, -0.810434103012085, 0.21382011473178864, -0.2466745674610138, -0.19047267735004425, -0.7030606865882874, -0.4807458817958832, 0.18110398948192596, -0.5908880233764648, 0.541394054889679, -0.31443318724632263, -0.29411983489990234, -0.05768963322043419, -0.06878446042537689, 0.3084346354007721, 0.9796180725097656, -0.6505138278007507, 0.6949635148048401, 0.19949209690093994, -0.3315655589103699, -0.8838790655136108, -0.549450695514679, -0.10471893101930618, -0.06811824440956116, -0.5149281024932861, 0.08190659433603287, -0.2362622171640396, -0.31844812631607056, 0.05670859292149544, -0.16923487186431885, -0.20269857347011566, -0.24041320383548737, 0.043615344911813736, 0.2314959615468979, -0.6068583130836487, 0.18301226198673248, 0.18731053173542023, -0.11330542713403702, -0.20627810060977936, -0.4705793559551239, 0.7439985871315002, -0.2999497056007385, -0.165657177567482, -0.18575812876224518, 0.09272750467061996, 0.7068594694137573, -0.6462996602058411, 0.8398563861846924, 0.5352528095245361, -0.24186469614505768, -0.5014108419418335, -0.5312387347221375, 0.18065738677978516, -0.5391696691513062, 0.6356011033058167, -0.3340608477592468, -1.244728684425354, 0.15476423501968384, -0.047493450343608856, 0.18418137729167938, 0.1401338130235672, 0.8129737973213196, 0.3065863847732544, 0.8890823125839233, 0.7947512865066528, -0.20221461355686188, 0.4806337356567383, 0.10826309025287628, 0.13677145540714264, -0.6079012155532837, -0.23275448381900787, -0.6856798529624939, -0.0964270755648613, -0.48439672589302063, -0.5357397198677063, 0.2577287256717682, -0.012743390165269375, -0.2071905881166458, 0.03696303442120552, -0.5735758543014526, 0.9243063926696777, 0.3151692748069763, -0.21048188209533691, 0.1339126080274582, 0.27394282817840576, -0.16082915663719177, -0.201528400182724, -0.6875415444374084, -0.5004656314849854, 1.197425127029419, -0.03715530410408974, 0.927514374256134, 0.11515776067972183, 0.5451885461807251, 0.15226642787456512, 0.36386024951934814, -0.7777446508407593, 0.4383382201194763, -0.3507806360721588, -0.507358968257904, -0.17457427084445953, -0.37054452300071716, -0.8606731295585632, 0.1881898194551468, -0.3483183681964874, -0.70169597864151, -0.42942479252815247, 0.4960404932498932, -0.1237928494811058, 0.12247715890407562, -0.46799007058143616, 0.7964561581611633, -0.18979617953300476, -0.6910022497177124, -0.41255977749824524, -0.33887261152267456, 0.44500988721847534, -0.31557968258857727, 0.09424883127212524, 0.08584820479154587, -0.10371709614992142, 0.4078865051269531, -0.5415257811546326, 0.5907098650932312, -0.1214507445693016, -0.1511276513338089, 0.1426199972629547, -0.1022128015756607, 0.6277527809143066, -0.060457561165094376, -0.011083902791142464, -0.0006832957733422518, -0.1524934619665146, -0.2534288167953491, -0.4889513850212097, 1.0123850107192993, -0.8596404194831848, -0.5692825317382812, -0.26932844519615173, -0.357808381319046, 0.11039038002490997, 0.3960147798061371, 0.34901729226112366, 0.700249195098877, -0.46280425786972046, 0.7421653866767883, 0.6776482462882996, -0.518877387046814, 0.09945930540561676, 0.6611118912696838, -0.46803948283195496, -0.7838236689567566, 1.2329362630844116, -0.04341494292020798, 0.34682026505470276, 0.7399981021881104, 0.41759368777275085, 0.010437152348458767, -0.5897973775863647, -0.4120892882347107, 0.23168310523033142, -0.6740090847015381, -0.19348469376564026, -0.5375006198883057, -0.27512845396995544, -0.2573070824146271, -0.36722978949546814, -0.45830658078193665, -0.2335769683122635, -0.24506115913391113, 0.17014867067337036, 0.477604478597641, 0.7866318821907043, 0.03695257753133774, 0.6883565783500671, -0.7958924174308777, 0.20739103853702545, 0.30629947781562805, 0.6183736324310303, -0.2545877993106842, -0.4937100112438202, -0.646997332572937, -0.02012462355196476, -0.2208753377199173, -0.3137361705303192, 0.38425520062446594, 0.3041430711746216, 0.3077022433280945, 0.08018830418586731, -0.13966180384159088, 0.32091355323791504, -0.9513266086578369, 0.7769452333450317, 0.20380829274654388, -1.0333797931671143, 0.3458033800125122, -0.5516291856765747, 0.6231262683868408, 0.29648861289024353, 0.038369640707969666, -0.5298455357551575, -0.0010089082643389702, 0.032836880534887314, -0.724758505821228, 0.873437762260437, 0.1438385546207428, 0.45737895369529724, 0.08635618537664413, 0.34673547744750977, 0.2278590053319931, 0.24422381818294525, -0.5583361387252808, -0.12176447361707687, -0.4055977463722229, -0.537189781665802, -0.2868490517139435, -0.3671227991580963, 0.32910606265068054, -0.24048738181591034, 0.8674318790435791, -0.058619171380996704, 0.07963297516107559, -0.08530870825052261, -0.23394711315631866, -0.34296712279319763, 0.585780680179596, 0.8504816889762878, 0.6138759255409241, 0.24881409108638763, -0.12763023376464844, 0.3320876657962799, -0.7669222950935364, 0.17680804431438446, -0.09893737733364105, -0.16277985274791718, -0.034688904881477356, 0.012482007034122944, 0.9476596713066101, 0.3519064784049988, -0.7771384119987488, 0.5629218816757202, -0.18863588571548462, -0.2679714858531952, -0.47788724303245544, 0.2717154920101166, 0.20024508237838745, 0.2928187847137451, 0.06916318833827972, -0.1533058136701584, -0.28669968247413635, -0.19370660185813904, 0.04616612568497658, 0.506953239440918, -0.4212190806865692, -0.5892717838287354, 0.5705366730690002, 0.38929954171180725, -0.8761318922042847, 0.4732517898082733, 0.21267953515052795, -0.5497932434082031, 0.23128917813301086, 0.6780722141265869, 0.8742625713348389, -0.4860646724700928, 0.1985408067703247, 0.43008092045783997, 0.48335203528404236, -0.11703077703714371, 0.6485869884490967, -0.09081969410181046, -0.4273219108581543, -0.5540291666984558, -1.0360736846923828, -0.26296451687812805, 0.4933793842792511, -0.5450237393379211, 0.5996754169464111, -0.5122851729393005, -0.029201975092291832, -0.2315834015607834, -0.2961251437664032, -0.563979983329773, 0.018042344599962234, -0.061580728739500046, 0.8112457394599915, -0.3878680169582367, 0.9354546070098877, 0.7508916854858398, 0.10680606216192245, -0.31563788652420044, -0.10476385802030563, -0.24698176980018616, -0.6389557719230652, 0.7116461992263794, 0.06404116749763489, -0.3200991153717041, 0.40691348910331726, -0.609704852104187, -1.0189096927642822, 0.82588791847229, 0.4814135432243347, -0.8437901139259338, 0.11639107018709183, 0.2569679915904999, 0.5182828903198242, -0.2250674068927765, -0.24192161858081818, 0.28138288855552673, 0.3515113592147827, -0.0052132755517959595, -0.575080156326294, -0.31590497493743896, -0.42125698924064636, 0.02809569612145424, 0.7566763758659363, -0.833504319190979, 0.8131682276725769, -0.20141465961933136, -0.15025345981121063, 0.544282078742981, 0.7635236382484436, 0.03329084813594818, -0.19170188903808594, 0.1536884754896164, 0.32989394664764404, 0.4446321725845337, 0.043593183159828186, 0.7655822038650513, -0.5625088810920715, -0.10773113369941711, 1.0878651142120361, -0.21769407391548157, 1.0470848083496094, 0.4216476380825043, 0.10012445598840714, 0.4894239604473114, -0.015892967581748962, -0.009913566522300243, 0.51938396692276, 0.5452185869216919, -0.5202149748802185, -0.3381759524345398, 0.00958834495395422, -0.38776880502700806, 0.5799646973609924, 0.32227036356925964, -0.28007015585899353, -0.006138595286756754, -0.10570350289344788, -0.048724811524152756, 0.1896745264530182, -0.34110018610954285, 0.7613759636878967, -0.1259535253047943, -0.6547186970710754, 0.5425127148628235, 0.11727041006088257, 0.6571463346481323, -0.9614611268043518, -0.10685275495052338, -0.02843424677848816, 0.5462926030158997, 0.06796589493751526, -0.2681068480014801, 0.0284630935639143, 0.41218337416648865, -0.15067021548748016, 0.007702370174229145, 0.8928980231285095, -0.6265955567359924, -0.77618008852005, -0.1370241492986679, 0.27902817726135254, -0.015335433185100555, 0.36331337690353394, -0.13855275511741638, 0.279477596282959, -0.07803045958280563, -0.2582131028175354, 0.39684078097343445, 0.47944653034210205, 0.11544576287269592, 0.5216799974441528, 0.7064142823219299, 0.2751219570636749, 0.2540685832500458, -0.24336625635623932, 0.8848641514778137, -0.548278272151947, -0.45072123408317566, -0.834918200969696, 0.7677807211875916, 0.12427053600549698, -0.5845802426338196, 0.6668739914894104, 0.6959249377250671, 0.8576939702033997, -0.3322446346282959, 1.0731258392333984, 0.2333226203918457, 0.4934372007846832, -0.6426547169685364, 1.0710973739624023, -0.6315301656723022, -0.11064951121807098, -0.06847667694091797, -1.0050413608551025, -0.19536960124969482, 0.5695859789848328, -0.04925726726651192, -0.06888933479785919, 0.46325165033340454, 0.820717990398407, -0.16899363696575165, -0.3102055788040161, 0.4526321291923523, 0.34986358880996704, 0.13390770554542542, 0.23953956365585327, 0.9687108397483826, -0.16320836544036865, 0.7379612326622009, 0.025848131626844406, -0.01340177096426487, -0.1602151244878769, -0.876067578792572, -1.1398802995681763, -0.6933249831199646, -0.15958009660243988, 0.013226947747170925, 0.35559046268463135, 0.9622321724891663, 0.6742871999740601, -0.6493908762931824, -0.27345389127731323, -0.20124654471874237, -0.12691619992256165, 0.3003310263156891, -0.12647712230682373, -0.024936538189649582, -0.5530621409416199, -0.629618227481842, 0.48855775594711304, 0.21768523752689362, -0.09002320468425751, -0.34148842096328735, -0.3692489564418793, 0.11162400990724564, 0.23976607620716095, 0.5734050273895264, 0.17308665812015533, -0.689144492149353, -0.16365446150302887, 0.2367256134748459, -0.026242194697260857, 0.1641673892736435, 0.8970806002616882, -0.6572701930999756, 0.6760755181312561, 0.5827039480209351, 0.738645076751709, 0.5467470288276672, -0.2547522187232971, 0.8173825740814209, -0.7006281018257141, -0.03249441087245941, 0.007485722191631794, 0.19543719291687012, 0.5856384038925171, -0.08462559431791306, 0.10126226395368576, -0.09297671914100647, -0.6071141958236694, -0.9778082966804504, 0.14853230118751526, -0.5813478231430054, -0.08625876903533936, 1.1817179918289185, 0.14380718767642975, -0.4547826945781708, 0.14174294471740723, -0.36431869864463806, 0.4070430099964142, -0.4061831831932068, 0.6726779341697693, 0.7882700562477112, 0.6341224908828735, -0.22319552302360535, -0.3884587287902832, 0.46953877806663513, 0.2316497564315796, -0.7322461605072021, 0.3280787765979767, 0.5880395174026489, 0.3776731491088867, -0.11796308308839798, 0.4311651289463043, -0.005111756734549999, 0.40507379174232483, -0.07922583818435669, 0.28887397050857544, -0.2219753861427307, -0.545728325843811, -0.5649034380912781, -0.0848909541964531, 0.30795830488204956, -0.1566968709230423 ]
http://arxiv.org/abs/2405.13923v2
http://arxiv.org/pdf/2405.13923v2
Why Not Transform Chat Large Language Models to Non-English?
2024-05-22T18:53:25
2024-05-31T07:22:45
Xiang Geng, Ming Zhu, Jiahuan Li, Zhejian Lai, Wei Zou, Shuaijie She, Jiaxin Guo, Xiaofeng Zhao, Yinglu Li, Yuang Li, Chang Su, Yanqing Zhao, Xinglin Lyu, Min Zhang, Jiajun Chen, Hao Yang, Shujian Huang
cs.CL
cs.CL
The scarcity of non-English data limits the development of non-English large language models (LLMs). Transforming English-centric LLMs to non-English has been identified as an effective and resource-efficient method. Previous works start from base LLMs and perform knowledge distillation (KD) with data generated by stronger LLMs, e.g. GPT-4. Compared to base LLMs, chat LLMs are further optimized for advanced abilities, e.g. multi-turn conversation and human preference alignment, and thus more powerful in both helpfulness and safety. However, transforming a chat LLM involves two critical issues: (1) How can we effectively transfer advanced abilities without their supervised data? (2) How can we prevent the original knowledge from catastrophic forgetting during transformation? We target these issues by introducing a simple framework called TransLLM. For the first issue, TransLLM divides the transfer problem into some common sub-tasks with the translation chain-of-thought, which uses the translation as the bridge between English and non-English step-by-step. We further enhance the performance of sub-tasks with publicly available data. For the second issue, we propose a method comprising two synergistic components: low-rank adaptation for training to maintain the original LLM parameters, and recovery KD, which utilizes data generated by the chat LLM itself to recover the original knowledge from the frozen parameters. In the experiments, we transform the LLaMA-2-chat-7B to the Thai language. Our method, using only single-turn data, outperforms strong baselines and ChatGPT on multi-turn benchmark MT-bench. Furthermore, our method, without safety data, rejects more harmful queries of safety benchmark AdvBench than both ChatGPT and GPT-4.
[ -0.21697990596294403, -0.5687472820281982, 0.4768144190311432, 0.12109141796827316, -0.3718531131744385, 0.350796103477478, -0.5958117842674255, -0.6280934810638428, 0.20620819926261902, 0.6445661187171936, -0.4209448993206024, -0.46231698989868164, -0.7295697927474976, 0.014701470732688904, -0.48026055097579956, 1.0563491582870483, -0.15973050892353058, 0.002836091909557581, -0.09763839840888977, -0.25766512751579285, -0.5254178047180176, -0.5689225792884827, -0.8922101855278015, -0.3230588734149933, 0.43972790241241455, 0.702721893787384, 0.5401040315628052, 0.22897900640964508, 0.4661441147327423, 0.21022607386112213, 0.05497482046484947, 0.38197898864746094, -0.9388479590415955, 0.013186318799853325, -0.19373579323291779, -0.7311712503433228, -0.5250120759010315, -0.01923273131251335, 0.4937242865562439, 0.8007694482803345, 0.07642839103937149, 0.02024107612669468, 0.24286434054374695, 0.8982965350151062, -0.4051860570907593, 0.41650399565696716, -0.7679627537727356, -0.0024520321749150753, -0.1653016060590744, -0.1799471378326416, -0.5796610116958618, -0.17192593216896057, 0.09348803758621216, -0.45981019735336304, -0.007872593589127064, 0.17997606098651886, 0.6152233481407166, 0.15359780192375183, -0.5749085545539856, -0.10194355994462967, -1.2627352476119995, 0.8908230066299438, -0.5164245963096619, 0.582065224647522, 0.5237409472465515, 0.4035780131816864, -0.2652829587459564, -0.4497099816799164, -0.3251775801181793, -0.11111246794462204, 0.049291495233774185, 0.24359500408172607, -0.2233230620622635, -0.06730824708938599, -0.014422304928302765, 0.23334309458732605, -0.46802711486816406, 0.427255243062973, -0.6883115768432617, -0.2716498374938965, 0.8482256531715393, -0.053355131298303604, 0.20863328874111176, 0.19399842619895935, -0.24909023940563202, -0.20705123245716095, -0.9283809661865234, -0.0778038278222084, 0.09500192105770111, 0.44489678740501404, -0.14390958845615387, 0.44413328170776367, -0.13058307766914368, 0.17953898012638092, 0.1243503987789154, -0.5308882594108582, 0.1977374404668808, -0.3259744644165039, 0.08954167366027832, 0.06456686556339264, 0.8099578022956848, 0.3819774389266968, 0.332027792930603, -0.36875104904174805, 0.07273251563310623, -0.16855911910533905, 0.02228124439716339, -0.6599372029304504, -0.12197168171405792, 0.09687741100788116, -0.1922593116760254, 0.04502687230706215, -0.3236544132232666, -0.7033652663230896, -0.22708235681056976, -0.1677168309688568, 0.2989575266838074, -0.4901137053966522, -0.4290967881679535, 0.13064457476139069, 0.2883462905883789, 0.3013831675052643, 0.49494725465774536, -0.795438826084137, 0.19801659882068634, 0.48405805230140686, 0.7360782623291016, -0.4873356223106384, -0.19791772961616516, -0.16033151745796204, 0.3801707923412323, -0.562431812286377, 0.5414848327636719, -0.25643694400787354, -0.527855634689331, -0.08346344530582428, 0.3131028711795807, -0.1553797870874405, -0.47157683968544006, 0.3798061013221741, -0.40277954936027527, 0.49749279022216797, -0.1936390995979309, -0.29810839891433716, -0.1922159343957901, 0.23927338421344757, -0.5718802213668823, 0.824564516544342, -0.15429013967514038, -0.5988029837608337, 0.17791955173015594, -0.6917278170585632, -0.6835293173789978, -0.1350676566362381, 0.16313624382019043, -0.27687084674835205, 0.0988268181681633, 0.3809555768966675, 0.28628990054130554, -0.34726715087890625, 0.19604240357875824, -0.33125439286231995, -0.1638876497745514, 0.21864008903503418, -0.6629384756088257, 0.4978596270084381, 0.10544848442077637, -0.032214242964982986, -0.22372816503047943, -0.41868212819099426, -0.05746186524629593, 0.03637200966477394, -0.4552035927772522, -0.31570538878440857, -0.013338452205061913, -0.11276190727949142, 0.20406129956245422, 0.3064667284488678, -0.4163508415222168, 0.11710064113140106, -0.4880898892879486, 0.5193021297454834, 0.5801902413368225, -0.08184074610471725, 0.8887786865234375, -0.37646573781967163, 0.5015036463737488, 0.24004624783992767, 0.15823979675769806, 0.15767401456832886, -0.4325900077819824, -0.937488853931427, -0.12715187668800354, 0.264761745929718, 0.6706426739692688, -1.0773786306381226, 0.18189586699008942, -0.5290406346321106, -0.5914958119392395, -0.542814314365387, 0.20373037457466125, 0.09102727472782135, 0.38720446825027466, 0.5758695006370544, -0.1261131465435028, -0.5731270909309387, -0.9017093777656555, -0.1360589563846588, -0.5480282306671143, 0.016846001148223877, 0.11791310459375381, 0.14676950871944427, -0.17852140963077545, 0.6229274272918701, -0.21622058749198914, -0.30543267726898193, -0.6344661116600037, -0.11494970321655273, 0.04382424056529999, 0.5517629981040955, 0.500801682472229, -0.7326834201812744, -0.6421680450439453, 0.2234371155500412, -0.6555274128913879, -0.06956267356872559, -0.2985193133354187, -0.3725956678390503, 0.3464929759502411, 0.513282299041748, -0.7325180768966675, 0.3698224425315857, 0.5728425979614258, 0.12676019966602325, 0.14209559559822083, -0.1378624439239502, 0.19864244759082794, -1.4317482709884644, -0.04214433580636978, -0.27680933475494385, -0.3683898150920868, -0.7076762914657593, -0.14876286685466766, 0.034215327352285385, -0.23185858130455017, -0.5036833882331848, 0.6934786438941956, -0.6302782297134399, 0.05765197053551674, -0.31070590019226074, 0.010622473433613777, -0.07331004738807678, 0.5739906430244446, 0.09895570576190948, 0.5505208969116211, 0.4505491554737091, -0.5805240273475647, 0.2888111472129822, 0.34613674879074097, -0.011450103484094143, 0.6171702146530151, -0.26526501774787903, 0.38408222794532776, -0.26646801829338074, 0.1819298416376114, -0.8853485584259033, 0.09085713326931, 0.29429617524147034, -0.3594740629196167, 0.6285092234611511, -0.36401405930519104, -0.3169633448123932, -0.1849384605884552, -0.14736798405647278, 0.18892301619052887, 0.8875989317893982, -0.3537095785140991, 0.5252607464790344, 0.3476601243019104, -0.2889570891857147, -0.4824897348880768, -0.8335843086242676, 0.4168170988559723, -0.47774362564086914, -0.4667566120624542, 0.2369203269481659, -0.023438410833477974, -0.07705939561128616, 0.04545268788933754, -0.28021275997161865, -0.11254113167524338, 0.1003970056772232, 0.06989991664886475, 0.2605954110622406, -0.11643895506858826, 0.15669584274291992, 0.20306611061096191, -0.20492836833000183, -0.1094074696302414, -0.44876089692115784, 0.337997704744339, 0.19142113626003265, -0.3626623749732971, -0.2805106043815613, 0.42180585861206055, 0.8565925359725952, -0.0581262931227684, 0.8675829768180847, 0.45328468084335327, -0.27454352378845215, -0.2536548376083374, -0.6175613403320312, -0.1857438087463379, -0.4003225862979889, 0.6371022462844849, -0.2013745754957199, -0.8848587274551392, 0.41974782943725586, -0.2273629903793335, 0.32512107491493225, 0.18520425260066986, 0.5136871337890625, -0.21865716576576233, 0.8651751279830933, 0.840465784072876, -0.20502939820289612, 0.41429537534713745, -0.057929009199142456, 0.4918074905872345, -0.5554216504096985, -0.12897531688213348, -0.30727076530456543, -0.5350519418716431, -0.6029483079910278, -0.4340073764324188, 0.5576233863830566, 0.06550618261098862, 0.08792071044445038, 0.4043787121772766, -0.07130332291126251, 0.28845587372779846, 0.11845165491104126, 0.1586177796125412, 0.4854292571544647, 0.19962789118289948, 0.31742364168167114, -0.30856603384017944, -0.752504289150238, -0.46216481924057007, 1.2760851383209229, 0.3771432936191559, 0.9484798908233643, 0.11417156457901001, 0.7578742504119873, -0.060251783579587936, 0.4074535071849823, -0.8816908001899719, 0.6924880743026733, -0.2533023953437805, -0.4960762560367584, -0.3359368145465851, -0.4647926986217499, -1.0787389278411865, 0.28909605741500854, -0.1826222985982895, -0.48818159103393555, -0.08180700242519379, -0.050056010484695435, 0.14874157309532166, 0.4192425012588501, -0.9462262988090515, 0.5047559142112732, -0.4304250478744507, -0.3281782567501068, -0.2777436375617981, -0.355407178401947, 0.43828877806663513, -0.5149801969528198, 0.4814245104789734, -0.226104736328125, -0.030604412779211998, 0.8327951431274414, -0.35305875539779663, 0.9727731943130493, -0.11955475807189941, -0.23189501464366913, 0.14975720643997192, 0.2547071874141693, 0.5316875576972961, 0.043006233870983124, 0.05279988422989845, 0.3250771164894104, -0.023767881095409393, -0.40137219429016113, -0.7237464189529419, 0.5730287432670593, -0.8634586930274963, -1.0174660682678223, -0.038027938455343246, -0.712003767490387, -0.5592819452285767, 0.0475287139415741, 0.11586493998765945, -0.02982817031443119, -0.06241339445114136, 0.3371399939060211, 0.48850905895233154, -0.10427716374397278, 0.33669841289520264, 0.7499934434890747, -0.224514901638031, -0.09130696952342987, 0.7607020139694214, 0.34453195333480835, 0.48949819803237915, 0.4894021153450012, 0.07977349311113358, -0.3947998583316803, -0.791107177734375, -0.3053660988807678, 0.32446807622909546, -0.703258216381073, -0.15665476024150848, -0.5823032855987549, -0.3131706714630127, -0.4344526529312134, 0.004819388501346111, -0.7072628140449524, -0.44417911767959595, -0.3999756872653961, -0.22660213708877563, 0.40676501393318176, 0.45901066064834595, -0.23427146673202515, -0.033212676644325256, -0.8330685496330261, 0.1431128829717636, 0.21788781881332397, -0.005522679537534714, -0.04314252734184265, -0.8071930408477783, -0.33303430676460266, 0.27319690585136414, -0.2013193964958191, -0.771858274936676, 0.5036067366600037, 0.33943748474121094, 0.5798307061195374, 0.028407489880919456, 0.3040662407875061, 0.8217336535453796, -0.5366666913032532, 0.5608168244361877, 0.13857296109199524, -0.6702671647071838, 0.44976621866226196, 0.08608540892601013, 0.11147958785295486, 0.52886962890625, 0.685815155506134, -0.7584670782089233, -0.49719804525375366, -0.3858083486557007, -0.8762465715408325, 0.6798142194747925, 0.20662108063697815, 0.302249938249588, 0.2537863850593567, 0.2024904042482376, 0.3834073543548584, 0.03295077756047249, -0.7021045684814453, -0.05767938494682312, -0.09821394830942154, -0.12966737151145935, -0.1604134738445282, -0.0912526398897171, -0.004046004265546799, -0.22997620701789856, 0.6908223628997803, -0.12532515823841095, 0.08560792356729507, 0.06943900883197784, -0.3297426998615265, -0.022029640153050423, 0.5059771537780762, 0.1755349040031433, 0.6102732419967651, 0.18125341832637787, 0.2781245708465576, 0.5002156496047974, -0.4524015486240387, 0.3392172157764435, -0.17390596866607666, -0.037304867058992386, -0.1778452843427658, 0.4869634807109833, 0.6520022749900818, 0.32952946424484253, -0.3638905882835388, 0.3036282956600189, 0.003012110246345401, -0.19923290610313416, -0.09349803626537323, 0.05104053393006325, 0.3568284511566162, 0.21410784125328064, 0.33434605598449707, -0.10083582997322083, -0.316141277551651, -0.6364383697509766, -0.06606069207191467, 0.23836272954940796, -0.19206301867961884, -0.5951482057571411, 0.5713363289833069, 0.33707481622695923, -0.11561954021453857, 0.474141389131546, -0.10288668423891068, -0.32791760563850403, 0.21470297873020172, 0.6428809762001038, 0.744922399520874, -0.3219201862812042, 0.22424283623695374, 0.28098931908607483, 0.49752500653266907, -0.3023720681667328, 0.1688530594110489, 0.08789241313934326, -0.8281146883964539, -0.6167584657669067, -0.36527007818222046, -0.4142666459083557, 0.2227676957845688, -0.5168575644493103, 0.36479857563972473, -0.34141919016838074, 0.023487376049160957, -0.25514593720436096, -0.22310316562652588, -0.7023168206214905, -0.26014232635498047, 0.16223110258579254, 0.708748459815979, -1.002608299255371, 0.8935895562171936, 0.640987753868103, -0.1916302591562271, -0.700043797492981, -0.12472066283226013, -0.2559022903442383, -1.0141998529434204, 0.5301638245582581, -0.25904980301856995, 0.13429103791713715, -0.0005663978517986834, -0.6858878135681152, -0.924674391746521, 1.057420253753662, 0.6869935989379883, -0.7828058004379272, -0.116950124502182, 0.48256856203079224, 0.5800644755363464, -0.13442659378051758, 0.04122992604970932, 0.5204778909683228, 0.42575645446777344, 0.3567257523536682, -1.4722942113876343, -0.06071778014302254, 0.029883811250329018, 0.04924779385328293, 0.15348733961582184, -0.7069076299667358, 0.5667505264282227, -0.13515658676624298, -0.4777373969554901, -0.22084949910640717, 0.4912232458591461, -0.10760064423084259, 0.06919842958450317, 0.2672189474105835, 0.3689410090446472, 0.7245835065841675, -0.06563073396682739, 0.6608541011810303, -0.1976645439863205, 0.17619651556015015, 0.8446130752563477, -0.6390752792358398, 0.8154033422470093, 0.6938430070877075, -0.29611313343048096, 0.26033687591552734, 0.3994702994823456, 0.4530607759952545, 0.5620242953300476, -0.15597335994243622, -0.0697888731956482, -0.34323427081108093, 0.06237664073705673, -0.3320797383785248, 0.694756805896759, 0.45684513449668884, 0.013893543742597103, -0.4550987780094147, 0.23617331683635712, 0.2911824584007263, -0.016758855432271957, -0.24021390080451965, 1.038397192955017, 0.27020689845085144, -0.5049254298210144, 0.7652272582054138, 0.021564096212387085, 0.6590413451194763, -0.6342674493789673, 0.11433175206184387, -0.4598599374294281, 0.13945361971855164, -0.2334250956773758, -0.66405189037323, 0.5121445059776306, -0.008961633779108524, -0.04877439886331558, -0.47700682282447815, 0.7555916905403137, -0.7856929898262024, -0.5574302673339844, 0.2342059165239334, 0.977021336555481, 0.37166786193847656, 0.17448076605796814, -0.5844279527664185, -0.06884665787220001, 0.11290620267391205, -0.10155311971902847, 0.577928364276886, 0.6421447396278381, -0.3451024293899536, 0.7285799980163574, 0.7376427054405212, 0.2428906112909317, -0.12656648457050323, -0.2903597950935364, 0.7775286436080933, -0.5582598447799683, -0.5035906434059143, -0.8062257766723633, 0.30865100026130676, 0.19807250797748566, 0.05901401489973068, 0.7347666025161743, 0.43777427077293396, 0.8201289176940918, 0.014581291005015373, 0.968371570110321, 0.14260004460811615, 0.4004754424095154, -0.6991420984268188, 0.8198556900024414, -0.4046144187450409, 0.32461172342300415, 0.028346020728349686, -0.9202746748924255, -0.023523565381765366, 0.25981563329696655, -0.47957172989845276, -0.11722814291715622, 0.8398483395576477, 0.6409332156181335, -0.051895711570978165, -0.04809698089957237, 0.5793513059616089, 0.25982022285461426, 0.5860168933868408, 1.0808578729629517, 0.881168782711029, -0.4136585295200348, 0.9326145648956299, -0.12198816239833832, -0.14577892422676086, -0.03745051845908165, -0.8423992395401001, -1.015707015991211, -0.5527558326721191, -0.527995765209198, -0.29845571517944336, -0.05684800446033478, 0.8002963662147522, 0.8254063129425049, -0.7569326758384705, -0.28322654962539673, 0.20701301097869873, 0.1780344396829605, -0.027293238788843155, -0.16080772876739502, 0.19233612716197968, -0.24465496838092804, -0.8220517039299011, 0.6554132699966431, 0.331150084733963, 0.2894718647003174, -0.3962293565273285, -0.07158411294221878, 0.0682067796587944, -0.18626248836517334, 0.6687995195388794, 0.4175747036933899, -0.4586476683616638, -0.4166840612888336, -0.053221698850393295, 0.03562455251812935, 0.09384670108556747, 0.5847516655921936, -0.679169774055481, 0.18389473855495453, 0.30139461159706116, 0.8576933741569519, 0.7201566100120544, -0.42593851685523987, 0.7076175808906555, -0.7868438363075256, 0.39425840973854065, 0.2424589842557907, 0.3006410598754883, 0.506420910358429, -0.3726819157600403, 0.5011793971061707, 0.2530279755592346, -0.3096088767051697, -0.8299477696418762, 0.17699478566646576, -0.7860572934150696, -0.1814146488904953, 1.3874502182006836, -0.04485274478793144, -0.3236366808414459, -0.3667917847633362, -0.21480035781860352, 0.19817326962947845, -0.21298210322856903, 0.703198254108429, 0.784049391746521, -0.1300971359014511, -0.3400646150112152, -0.4693223237991333, 0.45313358306884766, 0.2975512146949768, -0.8936097025871277, 0.24294887483119965, 0.1122581735253334, 0.5027685761451721, -0.01033758744597435, 0.7057953476905823, -0.3620406687259674, 0.02034386806190014, -0.34891700744628906, 0.015534507110714912, -0.034939900040626526, -0.1926484853029251, -0.20766586065292358, -0.00516202487051487, 0.16759586334228516, -0.22845032811164856 ]
http://arxiv.org/abs/2405.13911v1
http://arxiv.org/pdf/2405.13911v1
TOPA: Extend Large Language Models for Video Understanding via Text-Only Pre-Alignment
2024-05-22T18:35:10
2024-05-22T18:35:10
Wei Li, Hehe Fan, Yongkang Wong, Mohan Kankanhalli, Yi Yang
cs.CV
cs.CV, cs.AI, cs.CL
Recent advancements in image understanding have benefited from the extensive use of web image-text pairs. However, video understanding remains a challenge despite the availability of substantial web video-text data. This difficulty primarily arises from the inherent complexity of videos and the inefficient language supervision in recent web-collected video-text datasets. In this paper, we introduce Text-Only Pre-Alignment (TOPA), a novel approach to extend large language models (LLMs) for video understanding, without the need for pre-training on real video data. Specifically, we first employ an advanced LLM to automatically generate Textual Videos comprising continuous textual frames, along with corresponding annotations to simulate real video-text data. Then, these annotated textual videos are used to pre-align a language-only LLM with the video modality. To bridge the gap between textual and real videos, we employ the CLIP model as the feature extractor to align image and text modalities. During text-only pre-alignment, the continuous textual frames, encoded as a sequence of CLIP text features, are analogous to continuous CLIP image features, thus aligning the LLM with real video representation. Extensive experiments, including zero-shot evaluation and finetuning on various video understanding tasks, demonstrate that TOPA is an effective and efficient framework for aligning video content with LLMs. In particular, without training on any video data, the TOPA-Llama2-13B model achieves a Top-1 accuracy of 51.0% on the challenging long-form video understanding benchmark, Egoschema. This performance surpasses previous video-text pre-training approaches and proves competitive with recent GPT-3.5-based video agents.
[ -0.38330820202827454, -0.7730264067649841, 0.6250313520431519, 0.05582123622298241, -0.6402191519737244, -0.08857601135969162, -0.5043888688087463, -0.1980411857366562, 0.3169879615306854, 0.657371997833252, -0.7741948366165161, -0.5833325386047363, -0.9717124104499817, -0.12630455195903778, -0.5164791941642761, 0.9643265604972839, -0.17072419822216034, -0.0948902815580368, -0.1438325196504593, -0.07769230008125305, -0.40077099204063416, -0.24813774228096008, -0.13689319789409637, -0.062320105731487274, 0.25348737835884094, 0.28761738538742065, 0.9083268046379089, 0.8999708294868469, 0.6631971597671509, 0.37076064944267273, 0.09817008674144745, 0.2466316968202591, -0.601759135723114, -0.19964107871055603, -0.1965370625257492, -0.2603541910648346, -0.6058403253555298, -0.1682509034872055, 0.5856479406356812, 0.2450871765613556, 0.034523021429777145, 0.2685895562171936, -0.22440314292907715, 0.40215593576431274, -0.7127118110656738, -0.22952865064144135, -0.7327784299850464, 0.029835540801286697, -0.1315157562494278, -0.33518216013908386, -0.20711107552051544, -0.09408140182495117, 0.3164978325366974, -1.074369192123413, 0.01977536268532276, -0.3279297947883606, 1.3509149551391602, 0.7295200228691101, -0.2783224582672119, 0.00001626699486223515, -0.6137805581092834, 0.7721584439277649, -0.3861760199069977, 0.6302706599235535, 0.5759026408195496, 0.4168969690799713, 0.22945040464401245, -0.40682464838027954, -0.8631815910339355, 0.1730407327413559, 0.12708021700382233, 0.13046026229858398, -0.22203581035137177, 0.0839971974492073, 0.06395960599184036, 0.3617740273475647, -0.8251095414161682, 0.40151268243789673, 0.019895102828741074, -0.033663030713796616, 0.2704884111881256, -0.17749518156051636, 0.587118923664093, -0.05625063180923462, -0.5895746946334839, -0.20539496839046478, -0.6588618159294128, -0.23804433643817902, -0.023456532508134842, -0.06939581036567688, -0.3105998635292053, 0.6232962012290955, 0.2537151575088501, 0.5444433689117432, 0.11449047178030014, -0.34639424085617065, 0.11990310996770859, -0.3949061334133148, -0.8286548256874084, -0.07252804934978485, 0.8009143471717834, 0.441615492105484, 0.6383461356163025, -0.10746517777442932, 0.15035246312618256, 0.1983998864889145, 0.22173930704593658, -0.8968892097473145, 0.0016747392946854234, -0.000739404815249145, -0.3714040517807007, -0.19030533730983734, -0.003642816562205553, -0.5708639621734619, -0.1911604404449463, -0.41079410910606384, 0.8488034009933472, -0.18172885477542877, -0.2847861647605896, 0.051927972584962845, 0.3126204311847687, 0.6149235367774963, 0.38136303424835205, -0.894246518611908, 0.2774181067943573, 0.4757881462574005, 0.8117008805274963, -0.06233413144946098, -0.5847585797309875, -0.656120240688324, 0.48561379313468933, -0.5056405067443848, 0.7637929916381836, -0.36402300000190735, 0.2925267815589905, 0.13592348992824554, 0.13688750565052032, 0.2628294825553894, -0.34166067838668823, 0.21234185993671417, -0.5266069769859314, 0.3170528709888458, 0.08740810304880142, -0.4170858561992645, -0.2118242383003235, 0.3618661165237427, -0.5970091223716736, 0.8133798241615295, -0.27493003010749817, -0.48094281554222107, 0.3879140615463257, -0.33501532673835754, -0.15051445364952087, -0.3365718424320221, -0.29118046164512634, -0.4009574353694916, -0.11704877763986588, 0.7210082411766052, 0.23562796413898468, -0.25951871275901794, 0.6366005539894104, -0.15993942320346832, -0.18045559525489807, 0.16440244019031525, -0.5322877764701843, 0.1458277702331543, -0.07768305391073227, -0.1822693943977356, 0.28219491243362427, -0.5383642911911011, -0.2347647249698639, -0.01780996471643448, 0.4247760772705078, -0.14444687962532043, -0.08441781252622604, 0.027412181720137596, 0.36935311555862427, 0.3792473375797272, -0.41325661540031433, 0.21759262681007385, -0.1611754298210144, 0.020229291170835495, 0.9017700552940369, -0.33184072375297546, 0.5965585708618164, -0.04005850479006767, 0.6417730450630188, -0.17528897523880005, 0.13765519857406616, -0.5225588083267212, -0.046252500265836716, -0.5382528305053711, -0.5107977986335754, 0.07303987443447113, 0.7338182926177979, -0.6217713952064514, 0.4144169092178345, -0.5664654970169067, -0.2917874753475189, -0.4427967071533203, 0.5845237374305725, 0.6283488273620605, 0.4040699899196625, 0.5166276097297668, -0.40708431601524353, -0.7621113657951355, -0.7506637573242188, 0.05842699855566025, -0.08728764951229095, -0.18033108115196228, 0.07644305378198624, 0.1755986511707306, -0.13728442788124084, 0.8391656875610352, -0.6612290143966675, -0.7140462398529053, -0.25124847888946533, -0.022376693785190582, 0.1295621693134308, 0.2988027036190033, 0.5229803323745728, -0.7593141794204712, -0.30826807022094727, 0.12169810384511948, -0.9846808314323425, -0.1695111095905304, -0.16596893966197968, -0.40828993916511536, -0.2287549376487732, 0.43253618478775024, -0.7303504347801208, 0.38442733883857727, 0.7011168599128723, -0.24014687538146973, 0.16993007063865662, -0.18565672636032104, 0.22356216609477997, -1.1152294874191284, -0.12405998259782791, 0.16891802847385406, -0.44122347235679626, -0.6897484064102173, -0.107352115213871, -0.1585565060377121, -0.15792663395404816, -0.5027353167533875, 0.5072289109230042, -0.32946959137916565, -0.38176313042640686, -0.39883556962013245, 0.4352325201034546, 0.015877757221460342, 0.5073283314704895, 0.603271484375, 0.8031351566314697, 0.6887864470481873, -0.48936226963996887, 0.01470479927957058, 0.681437075138092, -0.42088764905929565, 0.3884561061859131, -0.3800797164440155, -0.001258612028323114, -0.2526172399520874, 0.19785192608833313, -0.8231819868087769, -0.39015302062034607, -0.10820082575082779, -0.5156863331794739, 0.283168226480484, -0.2310151904821396, -0.10626798123121262, 0.1419530212879181, -0.27992862462997437, 0.5993402600288391, 0.40697064995765686, -0.5878363251686096, 0.6513295769691467, 0.48886603116989136, -0.31569403409957886, -1.0052224397659302, -0.677421510219574, 0.1934448629617691, -0.21046645939350128, -0.7431796193122864, 0.6040454506874084, 0.053362805396318436, 0.053369928151369095, -0.129033163189888, -0.22000889480113983, -0.5934997797012329, -0.16272518038749695, -0.01272721029818058, 0.3798731565475464, -0.37843582034111023, 0.03529483824968338, -0.008806781843304634, 0.017162488773465157, -0.4018421173095703, -0.25948482751846313, 0.36487454175949097, 0.252543568611145, -0.0061124032363295555, -0.8319322466850281, 0.3602457344532013, 0.5497763156890869, -0.3278979957103729, 0.4829716086387634, 0.5553730726242065, -0.5968217253684998, 0.22951512038707733, -0.6149565577507019, 0.024999501183629036, -0.43407106399536133, 0.580431342124939, -0.26957622170448303, -0.7703651189804077, 0.34189528226852417, 0.1860535740852356, -0.03621155023574829, 0.06763193011283875, 0.5126305222511292, -0.3091197609901428, 0.7308329939842224, 1.0493261814117432, 0.05788696929812431, 0.9314727783203125, -0.17704257369041443, 0.10892550647258759, -0.3711263835430145, -0.08982402831315994, -0.13116386532783508, -0.04435281455516815, -0.2740320563316345, -0.5122855305671692, 0.14278429746627808, 0.27022022008895874, -0.3421168625354767, 0.4908914268016815, -0.05742315202951431, 0.905245840549469, -0.1331169307231903, 0.2013416737318039, 0.25139448046684265, 0.17545022070407867, 0.4402559697628021, -0.2334691882133484, -0.3180745840072632, -0.5763065814971924, 0.8898323774337769, 0.4975247383117676, 0.864829421043396, 0.3528406620025635, 0.4705463945865631, 0.186018705368042, 0.2027474194765091, -0.8123612999916077, 0.5139017105102539, -0.518319308757782, -0.19832146167755127, -0.32206791639328003, -0.10762854665517807, -0.7247368097305298, 0.22271941602230072, -0.3317943811416626, -0.7157526016235352, -0.24674655497074127, 0.35529473423957825, -0.2571639120578766, 0.32769104838371277, -0.4882679283618927, 1.0719753503799438, -0.46348899602890015, -0.49485063552856445, 0.007256340701133013, -0.5308364629745483, 0.4221492111682892, -0.12295027077198029, 0.49383115768432617, 0.12037282437086105, -0.21378804743289948, 0.613361120223999, -0.5988083481788635, 0.6231206655502319, -0.10570309311151505, -0.35704073309898376, 0.2906712591648102, 0.031763963401317596, 0.3525007665157318, -0.29336485266685486, 0.5505371689796448, -0.0722881555557251, -0.16132870316505432, -0.3218824565410614, -0.823883056640625, 0.3208092749118805, -0.8393334150314331, -0.5519722700119019, -0.1096392497420311, -0.3051983714103699, -0.10248668491840363, 0.22303704917430878, 0.12493900209665298, 0.342923104763031, -0.2074427306652069, 0.03961869329214096, 0.7933342456817627, -0.246160626411438, 0.39930301904678345, 0.3277539908885956, -0.5009949207305908, -0.7667315006256104, 0.9621081948280334, -0.13142922520637512, 0.29550665616989136, 0.7562471628189087, -0.00439645629376173, -0.47141262888908386, -0.5927035808563232, -0.7280740737915039, 0.21009214222431183, -0.6087372303009033, -0.28047075867652893, -0.5041825175285339, 0.045347243547439575, -0.45189422369003296, -0.24611766636371613, -0.47271257638931274, -0.24226947128772736, -0.2978104054927826, -0.5577386617660522, 0.23852483928203583, 0.5239199995994568, -0.0081112589687109, 0.7981089949607849, -0.9709230661392212, 0.7006621956825256, 0.4216514825820923, 0.2962251901626587, -0.18028515577316284, -0.7637775540351868, -0.2278391420841217, -0.4039668142795563, -0.40024128556251526, -0.972355306148529, 0.4671819508075714, 0.45922964811325073, 0.1940031796693802, 0.7003646492958069, -0.6144852042198181, 1.1811816692352295, -0.570072591304779, 0.8412760496139526, 0.4019489586353302, -1.1993591785430908, 0.5054358839988708, -0.43842965364456177, 0.17860817909240723, 0.5134208798408508, 0.521416962146759, -0.2898181080818176, -0.011717479676008224, -0.11794793605804443, -0.6059595346450806, 0.5372189283370972, 0.43398287892341614, 0.1228780522942543, 0.12346935272216797, 0.18826620280742645, 0.19711410999298096, -0.0996321514248848, -0.9812113046646118, 0.1325143426656723, -0.49480652809143066, -0.566517174243927, -0.1430864930152893, 0.009839356876909733, 0.040570467710494995, -0.028663625940680504, 0.5834870934486389, -0.2903903126716614, 0.10539834201335907, 0.27450239658355713, -0.8527677655220032, -0.13234582543373108, 0.20639252662658691, 0.6063678860664368, 0.7818382978439331, -0.13794530928134918, -0.006006256211549044, 0.12049882113933563, -0.6009671092033386, 0.459296852350235, -0.07180846482515335, -0.04395622760057449, -0.23446956276893616, 0.5737724900245667, 0.8472252488136292, 0.39045748114585876, -0.7955804467201233, 0.8420941233634949, 0.10777189582586288, -0.13107264041900635, -0.3111151158809662, -0.39567115902900696, -0.35765907168388367, 0.1080145612359047, 0.4515068233013153, -0.4413430094718933, -0.25976336002349854, -0.5238662958145142, 0.5174327492713928, 0.47657498717308044, -0.33941349387168884, -0.42041194438934326, 0.41502392292022705, 0.07456260174512863, -0.19084617495536804, 0.1951911449432373, 0.07478050142526627, -0.5600847005844116, 0.6336566209793091, 0.5962966680526733, 0.7836164236068726, -0.1366230696439743, 0.3858237564563751, 0.25023895502090454, 0.2979613244533539, -0.13729725778102875, 0.3177429437637329, -0.13503816723823547, -0.8053869009017944, -1.1258437633514404, -0.5567306280136108, -0.42801108956336975, 0.3156043589115143, -0.5777269005775452, 0.4115092158317566, -0.3245190978050232, -0.02221720479428768, -0.12019436061382294, -0.32335400581359863, -0.6160995960235596, 0.4722804129123688, 0.4214501976966858, 0.7585073709487915, -0.9698922038078308, 0.9299823641777039, 0.4860392212867737, -0.38030514121055603, -0.6209897994995117, -0.061138611286878586, -0.10056231170892715, -0.6712503433227539, 0.4396902918815613, 0.379995197057724, -0.22577770054340363, -0.11690381169319153, -0.628515899181366, -0.9607070088386536, 1.0540319681167603, 0.5325997471809387, -0.49528563022613525, -0.3498953878879547, 0.09230221807956696, 0.4678914546966553, -0.4768487513065338, 0.5628196001052856, 0.3509182631969452, 0.25442618131637573, 0.15272481739521027, -1.024869680404663, -0.14176888763904572, -0.1048213541507721, -0.29970917105674744, 0.34353330731391907, -0.5143896341323853, 0.4856471121311188, -0.09376568347215652, -0.24915090203285217, 0.20314405858516693, 0.9926735162734985, -0.051776666194200516, 0.2597658932209015, 0.5115236043930054, 0.8094953894615173, 0.5374953150749207, 0.21890269219875336, 0.6858187913894653, 0.08695273846387863, 0.2383856624364853, 1.3637396097183228, -0.10712898522615433, 0.8049702048301697, 0.4912528097629547, -0.10693886131048203, 0.6403955221176147, 0.5793207883834839, 0.16703200340270996, 0.5546692609786987, -0.1313905119895935, 0.02089865691959858, -0.6948859691619873, -0.147452250123024, -0.12134028226137161, 0.9058333039283752, 0.14969342947006226, -0.34800922870635986, -0.235193133354187, 0.10609724372625351, -0.09399542957544327, 0.3569537103176117, -0.6528616547584534, 1.0519740581512451, -0.11273264139890671, -0.6746470928192139, 0.5206982493400574, -0.3430611491203308, 0.7566695809364319, -0.8009039759635925, 0.03592713177204132, -0.04873078316450119, -0.03164852038025856, -0.2688694894313812, -0.7558777332305908, 0.26709243655204773, 0.7190729379653931, -0.22881217300891876, -0.0871330201625824, 0.4913088083267212, -0.6558434367179871, -0.2537020146846771, 0.3282700479030609, 0.4168429374694824, 0.26544189453125, 0.012949654832482338, -0.2805774509906769, 0.13354700803756714, -0.1085868775844574, -0.022633228451013565, 0.47845062613487244, 0.28674936294555664, -0.22411812841892242, 0.40625837445259094, 0.5326615571975708, -0.1269073486328125, 0.04338999465107918, 0.11352626979351044, 0.6880998611450195, -0.8264461159706116, -0.3494354784488678, -0.9819127917289734, 0.31415632367134094, 0.09640705585479736, -0.20194126665592194, 0.08644357323646545, 0.3656257092952728, 0.9258877635002136, -0.003328916849568486, 0.5448642373085022, 0.23191212117671967, -0.09138096868991852, -0.9771696329116821, 0.45481157302856445, -0.5075954794883728, -0.19507412612438202, -0.5541120171546936, -1.0540035963058472, -0.364982932806015, 0.5413539409637451, -0.21775810420513153, -0.37720465660095215, 0.6163949370384216, 0.6933133006095886, -0.29301178455352783, -0.15292519330978394, 0.40256500244140625, 0.31353649497032166, 0.3312644064426422, 0.6934365034103394, 0.6303774118423462, -0.5039765238761902, 0.9689276814460754, -0.09433892369270325, -0.41840553283691406, 0.34264078736305237, -1.1729729175567627, -0.9533965587615967, -0.2759262025356293, -0.11530135571956635, 0.040457699447870255, -0.05691800266504288, 1.0428801774978638, 0.8113057017326355, -0.5132153034210205, -0.1598801165819168, 0.03079492226243019, 0.005074044689536095, -0.0330415703356266, -0.14983157813549042, 0.49923574924468994, 0.026107674464583397, -0.7470375299453735, 0.5753194689750671, 0.2755601704120636, 0.23027487099170685, -0.16334134340286255, -0.13799023628234863, -0.31128543615341187, 0.2477874904870987, 0.619616687297821, 0.4145110547542572, -0.7530479431152344, -0.4074268639087677, 0.1065606027841568, 0.13307024538516998, 0.4257316589355469, 0.8267975449562073, -0.7087408900260925, 0.3107038736343384, 0.4170544445514679, 1.0114468336105347, 0.8172768354415894, 0.2896646559238434, 0.625934362411499, -0.6181172132492065, 0.2548654079437256, -0.20859462022781372, 0.3043992817401886, 0.4828561544418335, -0.30204474925994873, 0.2584824562072754, -0.08270180225372314, -0.3312019407749176, -0.7475496530532837, 0.45116645097732544, -1.218885898590088, -0.06767787039279938, 0.7887185215950012, -0.36114221811294556, -0.20599673688411713, 0.36885976791381836, -0.198903426527977, 0.5721063613891602, -0.12675635516643524, 0.5435289740562439, 0.7020943760871887, 0.12547852098941803, -0.5845215320587158, -0.3220946490764618, 0.3486991226673126, 0.6819241046905518, -0.9739216566085815, 0.07005340605974197, 0.4107293486595154, 0.16573087871074677, -0.0805889368057251, 0.5538985133171082, -0.006621236447244883, 0.45727020502090454, -0.5264061689376831, -0.05239664763212204, -0.1164800226688385, -0.6857026815414429, -0.37728413939476013, 0.05594911798834801, -0.2688162922859192, -0.34300512075424194 ]
http://arxiv.org/abs/2405.13907v2
http://arxiv.org/pdf/2405.13907v2
Just rephrase it! Uncertainty estimation in closed-source language models via multiple rephrased queries
2024-05-22T18:28:26
2024-06-16T13:49:53
Adam Yang, Chen Chen, Konstantinos Pitas
cs.CL
cs.CL, cs.AI
State-of-the-art large language models are sometimes distributed as open-source software but are also increasingly provided as a closed-source service. These closed-source large-language models typically see the widest usage by the public, however, they often do not provide an estimate of their uncertainty when responding to queries. As even the best models are prone to ``hallucinating" false information with high confidence, a lack of a reliable estimate of uncertainty limits the applicability of these models in critical settings. We explore estimating the uncertainty of closed-source LLMs via multiple rephrasings of an original base query. Specifically, we ask the model, multiple rephrased questions, and use the similarity of the answers as an estimate of uncertainty. We diverge from previous work in i) providing rules for rephrasing that are simple to memorize and use in practice ii) proposing a theoretical framework for why multiple rephrased queries obtain calibrated uncertainty estimates. Our method demonstrates significant improvements in the calibration of uncertainty estimates compared to the baseline and provides intuition as to how query strategies should be designed for optimal test calibration.
[ -0.16164053976535797, -0.8108800053596497, 0.9226093888282776, -0.04924651235342026, -0.2277957648038864, -0.07875819504261017, -0.4707794189453125, -0.3830799162387848, 0.04912000149488449, 0.7636417150497437, -0.6455017328262329, -0.5567947626113892, -0.47772619128227234, -0.010770872235298157, -0.13723145425319672, 0.34130236506462097, -0.07841642200946808, 0.23003056645393372, -0.13414420187473297, -0.2598961293697357, -0.1030387133359909, -0.6676068902015686, -0.18105541169643402, -0.12956759333610535, 0.7049987316131592, 0.3431660234928131, 0.8336086869239807, 0.3606625497341156, 0.5200619101524353, 0.15181824564933777, -0.11855040490627289, 0.06207159161567688, -0.46410316228866577, 0.49073511362075806, -0.07971416413784027, -0.6909177899360657, 0.09922603517770767, -0.022432034835219383, 0.858360767364502, 1.1123325824737549, -0.37946417927742004, 0.21882875263690948, -0.19231249392032623, 0.7178731560707092, -1.1562614440917969, -0.10630254447460175, -0.8066373467445374, -0.004458981100469828, -0.06648442894220352, 0.053953804075717926, -0.5775725841522217, -0.6524778604507446, 0.10468373447656631, -0.5884903073310852, -0.07430227100849152, 0.07082122564315796, 0.6023536324501038, 0.3415736258029938, -0.04715387523174286, -0.16428297758102417, -0.8127855658531189, 1.0201318264007568, -0.8157444000244141, 0.5657799243927002, 0.4126881957054138, 0.47745704650878906, -0.179125115275383, -0.767650842666626, -0.3991360068321228, -0.5028935074806213, 0.15601687133312225, -0.05373938009142876, -0.07737163454294205, -0.08734162896871567, 0.29269173741340637, 0.3786505162715912, -0.27283671498298645, -0.07031620293855667, -0.38811859488487244, -0.3442683815956116, 0.5461889505386353, -0.11534620821475983, -0.11228454113006592, 0.14480625092983246, -0.33302462100982666, 0.07655873149633408, -0.8916894793510437, -0.23867610096931458, 0.3354596495628357, 0.30315300822257996, 0.3987136781215668, 0.7030956745147705, -0.24703210592269897, 0.7760211229324341, -0.07780065387487411, -0.07780955731868744, 0.25873520970344543, -0.38745740056037903, -0.35241469740867615, -0.35271725058555603, 0.7443093061447144, 0.3356107771396637, 0.16947811841964722, -0.1597593128681183, -0.22922682762145996, -0.4236989915370941, 0.3078957498073578, -0.4313639998435974, -0.060702741146087646, 0.1766698956489563, 0.06358414143323898, -0.16394484043121338, -0.012032177299261093, -0.7173534035682678, -0.4395096004009247, -0.17514659464359283, 0.36445122957229614, -0.14535969495773315, -0.2914147973060608, 0.05066319927573204, -0.09437166899442673, 0.0037308484315872192, 0.3955584764480591, -0.2757033705711365, 0.15665870904922485, 0.5761042833328247, 0.5884816646575928, 0.0886610746383667, -0.3371362090110779, -0.3450400233268738, 0.03905213251709938, -0.5538888573646545, 0.6257739067077637, -0.5587295293807983, -0.4292390048503876, -0.020102957263588905, -0.07157765328884125, 0.07108429074287415, -0.4482264220714569, 0.5401529669761658, -0.7010596394538879, 0.3240671753883362, -0.38809528946876526, -0.54183030128479, -0.03177672252058983, 0.2375800758600235, -0.7838529944419861, 1.0325239896774292, 0.1388978660106659, -0.8798827528953552, 0.11332208663225174, 0.10301630198955536, -0.031288422644138336, -0.26927563548088074, -0.14240090548992157, -0.3326929211616516, 0.3261672556400299, 0.10954514145851135, -0.0446368046104908, -0.4330919086933136, 0.13467618823051453, -0.5546929836273193, -0.30315613746643066, 0.4632754623889923, -0.6729773283004761, 0.6088932156562805, 0.3407781422138214, 0.11814761906862259, 0.03482016548514366, -0.43460315465927124, 0.43807706236839294, -0.197932630777359, -0.3209732472896576, -0.254699170589447, -0.18483392894268036, -0.2633484899997711, -0.22792671620845795, 0.41430091857910156, -0.4633968770503998, 0.011682904325425625, -0.5318288207054138, 0.21695320308208466, 0.6600897312164307, 0.16518747806549072, 0.48737454414367676, -0.44422227144241333, 0.5917632579803467, -0.30846452713012695, 0.24042899906635284, 0.042370300740003586, -0.4651245176792145, -0.2539712190628052, -0.19590704143047333, 0.41882988810539246, 0.4646138548851013, -0.38543179631233215, 0.09163684397935867, -0.2107437402009964, -0.7162991762161255, -0.69704669713974, 0.04863804206252098, 0.3871789872646332, 0.5368126630783081, 0.3417917788028717, -0.006001145113259554, -0.5830788016319275, -0.9041367769241333, -0.611525297164917, -0.2107318490743637, -0.010253735817968845, 0.26069375872612, 0.3530246913433075, 0.014715027064085007, 0.63198322057724, -0.645971417427063, 0.3132474422454834, 0.0483868271112442, 0.21853964030742645, 0.10121746361255646, 0.3366253077983856, 0.2927077114582062, -0.785691499710083, -0.3756932318210602, -0.1864607334136963, -0.4342716932296753, -0.11427934467792511, 0.23297053575515747, -0.2037670910358429, 0.29113316535949707, 0.5233252048492432, -0.574459433555603, 0.34411749243736267, 0.5629570484161377, 0.38938719034194946, 0.9134353995323181, -0.2269447296857834, 0.19763590395450592, -1.1227161884307861, 0.09256041049957275, -0.24605031311511993, -0.19829943776130676, -0.48128947615623474, 0.6736589670181274, 0.09699073433876038, 0.12822382152080536, -0.3752267360687256, 0.4636389911174774, -0.5906785130500793, -0.12790104746818542, -0.34977275133132935, 0.4406571686267853, 0.1354161947965622, 0.0906413123011589, -0.0945764034986496, 0.8308841586112976, 0.6818064451217651, -0.3821834325790405, 0.46520644426345825, -0.2938482165336609, -0.46697404980659485, 0.4295538365840912, -0.5031083226203918, 0.0975819081068039, -0.039192572236061096, 0.20109573006629944, -1.0380244255065918, -0.2521858513355255, 0.39602991938591003, -0.554222047328949, 0.15627102553844452, -0.26117122173309326, -0.3133322596549988, -0.2867446839809418, -0.31528735160827637, 0.41016885638237, 0.38983646035194397, -0.30658087134361267, 0.4985882341861725, 0.3556436002254486, -0.07517112046480179, -1.0449930429458618, -0.9417297840118408, 0.07534973323345184, -0.05430013686418533, -0.5592809319496155, 0.15157900750637054, -0.26302680373191833, -0.4449929893016815, 0.04418230429291725, -0.6029251217842102, -0.562890887260437, 0.19445167481899261, 0.2691718637943268, 0.04356883466243744, -0.42264524102211, 0.40343034267425537, -0.1401069462299347, 0.16739176213741302, 0.05529171973466873, -0.1947750449180603, 0.45989635586738586, -0.12475807964801788, -0.8985567092895508, -0.354791522026062, 0.47712159156799316, 0.6207846403121948, -0.19310753047466278, 0.7228748202323914, 0.1570395529270172, -0.5863929986953735, 0.012724397704005241, -0.8482984304428101, -0.061729174107313156, -0.4005230665206909, 0.06277282536029816, -0.5885683298110962, -0.8114904165267944, 0.6777207851409912, 0.03045745939016342, 0.03887968510389328, 0.37046879529953003, 0.5308777689933777, -0.19188553094863892, 0.5823917388916016, 0.5009586811065674, 0.1305583268404007, 0.31973132491111755, 0.27157819271087646, 0.14530286192893982, -0.6127371191978455, -0.05138356611132622, -0.7851196527481079, 0.07383470982313156, -0.5761391520500183, -0.6149123907089233, 0.11403784155845642, 0.12961745262145996, -0.2201976776123047, 0.08839749544858932, -0.18666748702526093, 0.47007185220718384, 0.6600471138954163, 0.2508254647254944, 0.4782344102859497, 0.12825515866279602, -0.11628730595111847, -0.028546256944537163, -0.36186927556991577, -0.47974348068237305, 1.122697353363037, 0.1609218418598175, 1.0021071434020996, 0.25805366039276123, 0.7913627624511719, -0.05527287721633911, 0.5343221426010132, -0.8002699613571167, 0.1602296531200409, 0.3173554837703705, -0.7738473415374756, -0.3887949287891388, -0.7671589851379395, -0.7041112184524536, 0.36811283230781555, 0.049886416643857956, -0.7023634314537048, 0.10318585485219955, 0.0525328665971756, -0.45543619990348816, 0.24869710206985474, -0.695188045501709, 0.5873824954032898, 0.021965524181723595, -0.08398838341236115, 0.02336045727133751, -0.5187644362449646, 0.37007197737693787, -0.3341447114944458, 0.35298699140548706, -0.020817600190639496, -0.16522668302059174, 0.32393568754196167, -0.44131985306739807, 0.6367149949073792, 0.09250153601169586, -0.1070704534649849, 0.43062588572502136, 0.24181851744651794, 0.48945352435112, 0.13006579875946045, -0.6737462282180786, 0.11747553199529648, 0.2846812605857849, -0.41683080792427063, -0.7795184254646301, 0.6913143992424011, -0.4845505952835083, -0.9900628328323364, -0.41395628452301025, -0.5652191638946533, -0.21154692769050598, 0.4054732024669647, 0.41032448410987854, 0.08993341028690338, -0.1686783730983734, 0.2769945561885834, 0.5027378797531128, -0.06566362828016281, 0.03531932458281517, 0.5399575233459473, -0.11805780977010727, -0.4435712993144989, 0.27676647901535034, 0.34169718623161316, 0.7263278961181641, 0.3176032602787018, 0.21473746001720428, -0.29316359758377075, -0.47194021940231323, -0.31750622391700745, 0.385738730430603, -0.7850373387336731, 0.011335683986544609, -0.3348454236984253, -0.19543376564979553, -0.6056729555130005, 0.022293556481599808, -0.4853149652481079, -0.5086460709571838, -0.24311266839504242, -0.24042478203773499, 0.27666524052619934, 0.6365589499473572, -0.10731067508459091, 0.24844855070114136, -0.5682055354118347, 0.16331838071346283, 0.0771167129278183, 0.4969027638435364, -0.34474286437034607, -0.8538543581962585, -0.07860872894525528, 0.5839507579803467, 0.03071977198123932, -1.2247227430343628, 0.2365570068359375, 0.06637255847454071, 0.7768194079399109, -0.014780747704207897, 0.41188880801200867, 0.6762309074401855, -0.4271275997161865, 0.767754316329956, 0.08478105813264847, -0.6916801929473877, 0.28590860962867737, 0.1103261262178421, 0.1848839819431305, 0.8703444600105286, 0.4429962635040283, -0.43846091628074646, -0.49301451444625854, -0.4557745158672333, -0.7438945174217224, 0.36828675866127014, 0.0071172211319208145, 0.21609976887702942, 0.1600050926208496, 0.44688257575035095, -0.0414687879383564, 0.38069167733192444, -0.5721339583396912, -0.3386540114879608, 0.03495432436466217, -0.19084614515304565, 0.054273948073387146, -0.42714810371398926, -0.42608386278152466, 0.028314800933003426, 0.4636762738227844, 0.08547414094209671, 0.1325923055410385, 0.18858809769153595, -0.20376381278038025, -0.30555081367492676, 0.3705157935619354, 0.6811411380767822, 1.0010920763015747, -0.4336804449558258, 0.28717073798179626, 0.2444581538438797, -0.462639182806015, 0.00003147467941744253, 0.014097989536821842, -0.2400941401720047, 0.1656288504600525, 0.20101751387119293, 0.37959912419319153, 0.34634652733802795, -0.7652814984321594, 0.44748830795288086, 0.02674083784222603, -0.1341148018836975, -0.6389155387878418, -0.18314824998378754, 0.21483096480369568, 0.19776475429534912, 0.28214922547340393, 0.10734602063894272, -0.1778344213962555, -0.5268169641494751, 0.42595693469047546, 0.365296334028244, -0.40976881980895996, 0.08556436002254486, 0.3391493856906891, -0.23151038587093353, -0.32813578844070435, 0.4706854522228241, 0.0009699370129965246, -0.3862011432647705, 0.4590870141983032, 0.3123893737792969, 0.8050367832183838, -0.2932524085044861, 0.032706066966056824, 0.3692739009857178, 0.6909582614898682, -0.5264001488685608, 0.4936060309410095, 0.2132187783718109, -0.7883661389350891, -0.49871376156806946, -0.456802636384964, -0.7997072339057922, 0.03901544585824013, -0.8612707853317261, 0.021649720147252083, -0.4892882704734802, -0.23631109297275543, -0.2032254934310913, -0.07731057703495026, -0.3600893020629883, 0.12112827599048615, -0.0010990091832354665, 1.0960203409194946, -0.632686197757721, 0.6177762746810913, 0.4568488299846649, -0.6301243901252747, -0.9720464944839478, 0.2913574278354645, -0.07437499612569809, -0.7147549986839294, 0.1624828279018402, 0.05516522377729416, -0.30840378999710083, -0.1439664512872696, -0.6398428678512573, -1.0512442588806152, 0.8407851457595825, 0.6442679762840271, -0.42885762453079224, 0.0740036889910698, 0.06552882492542267, 0.5906993746757507, -0.2583613097667694, 0.3333299160003662, 0.493808776140213, 0.6682040691375732, 0.2614264488220215, -0.8776983618736267, 0.04764867201447487, 0.08789073675870895, -0.29682838916778564, 0.06100626662373543, -0.19898734986782074, 0.9761840105056763, -0.3900766968727112, -0.3962773084640503, 0.2587037682533264, 0.5336844325065613, 0.2883279323577881, 0.4157571792602539, 0.2857173979282379, 0.5962625741958618, 1.154340386390686, -0.08549221605062485, 1.1265579462051392, -0.3744509518146515, 0.49692586064338684, 1.5255976915359497, -0.26208585500717163, 1.1019859313964844, 0.5142731666564941, -0.2120194435119629, 0.25675642490386963, 0.8280898928642273, 0.11465974897146225, 0.33655354380607605, 0.3711031377315521, -0.2568649351596832, -0.31980687379837036, 0.04288701340556145, -0.6056006550788879, -0.00655628927052021, 0.39726945757865906, -0.5061843991279602, -0.3598524034023285, -0.2589114308357239, 0.055485524237155914, 0.2612558603286743, -0.046985793858766556, 0.4290895164012909, 0.27112048864364624, -0.7639228701591492, 0.7330484390258789, 0.04518059641122818, 0.2253158837556839, -0.34519773721694946, 0.23595447838306427, -0.3240547776222229, -0.16756074130535126, -0.07438495755195618, -0.9821946620941162, 0.3703114092350006, -0.04905466362833977, -0.09267208725214005, -0.0036811030004173517, 0.27382099628448486, -0.48135697841644287, -0.7324077486991882, 0.1031484380364418, 0.6895918250083923, 0.35215359926223755, -0.6238089203834534, -0.7605792880058289, 0.09716861695051193, 0.00985730905085802, -0.37920063734054565, -0.019188884645700455, 0.48512041568756104, 0.23084771633148193, 0.9728556871414185, 0.39198896288871765, 0.1857578307390213, 0.38174930214881897, 0.1263616383075714, 0.723571240901947, -0.5639815330505371, 0.06629341095685959, -0.6836933493614197, 0.25599637627601624, 0.052263468503952026, -0.2429177165031433, 0.7614732384681702, 0.40558215975761414, 0.831474781036377, -0.0015603636857122183, 0.831026554107666, 0.21945205330848694, 0.6029810309410095, -0.4624054729938507, 0.5059245228767395, -0.6746971607208252, 0.49471917748451233, -0.029578721150755882, -0.8389401435852051, -0.420636922121048, 0.4582103192806244, -0.47066769003868103, 0.08752677589654922, 0.6317621469497681, 1.1762237548828125, 0.0948450043797493, -0.014795362018048763, 0.4469146132469177, 0.3676098883152008, 0.0024302515666931868, 0.36875247955322266, 0.7472984790802002, -0.33199363946914673, 0.51185542345047, -0.5487922430038452, -0.09815728664398193, -0.2758692502975464, -0.8795101642608643, -0.33353549242019653, -0.47556471824645996, -0.17138603329658508, -0.41323116421699524, 0.08371948450803757, 0.7946010828018188, 0.4078647792339325, -0.7672975063323975, -0.1131606251001358, 0.14203070104122162, 0.5902431607246399, -0.2926541268825531, -0.179331436753273, 0.1943962723016739, -0.2507064640522003, -0.6888530254364014, 0.4194752275943756, -0.08364617079496384, -0.18757390975952148, -0.3787866532802582, 0.28398072719573975, -0.29673662781715393, 0.3095483183860779, 0.19144324958324432, 0.35015299916267395, -0.9173697829246521, -0.5547266602516174, 0.19979387521743774, -0.5111997127532959, 0.027750123292207718, 0.3968733549118042, -0.34296903014183044, 0.6408522129058838, 0.5681178569793701, 0.6876735687255859, 0.23044662177562714, 0.2923884987831116, 0.7027955055236816, -0.8537718653678894, -0.13021807372570038, 0.35820382833480835, 0.15992987155914307, 0.39049723744392395, -0.32315754890441895, 0.4104679822921753, 0.2139868438243866, -0.4834243953227997, -1.1132136583328247, 0.6391745209693909, -0.8815342783927917, -0.42754456400871277, 1.117495059967041, -0.3826726973056793, -0.24635083973407745, -0.08667715638875961, -0.027298541739583015, 0.11880190670490265, -0.24920861423015594, 0.5234231352806091, 0.9450122714042664, 0.12107038497924805, -0.30494028329849243, -0.7205792665481567, 0.14863266050815582, 0.2893652617931366, -0.40716126561164856, 0.3296947777271271, 0.5767340660095215, 0.5553622841835022, 0.24780769646167755, 0.518515408039093, -0.05091021955013275, 0.2149815559387207, 0.048065654933452606, 0.008252698928117752, 0.1422007977962494, -0.11925946921110153, -0.21944424510002136, 0.3284699618816376, 0.3306483328342438, 0.006868942640721798 ]
http://arxiv.org/abs/2405.13873v1
http://arxiv.org/pdf/2405.13873v1
FiDeLiS: Faithful Reasoning in Large Language Model for Knowledge Graph Question Answering
2024-05-22T17:56:53
2024-05-22T17:56:53
Yuan Sui, Yufei He, Nian Liu, Xiaoxin He, Kun Wang, Bryan Hooi
cs.AI
cs.AI, cs.CL
While large language models (LLMs) have achieved significant success in various applications, they often struggle with hallucinations, especially in scenarios that require deep and responsible reasoning. These issues could be partially mitigate by integrating external knowledge graphs (KG) in LLM reasoning. However, the method of their incorporation is still largely unexplored. In this paper, we propose a retrieval-exploration interactive method, FiDelis to handle intermediate steps of reasoning grounded by KGs. Specifically, we propose Path-RAG module for recalling useful intermediate knowledge from KG for LLM reasoning. We incorporate the logic and common-sense reasoning of LLMs and topological connectivity of KGs into the knowledge retrieval process, which provides more accurate recalling performance. Furthermore, we propose to leverage deductive reasoning capabilities of LLMs as a better criterion to automatically guide the reasoning process in a stepwise and generalizable manner. Deductive verification serve as precise indicators for when to cease further reasoning, thus avoiding misleading the chains of reasoning and unnecessary computation. Extensive experiments show that our method, as a training-free method with lower computational cost and better generality outperforms the existing strong baselines in three benchmarks.
[ -0.20209752023220062, -0.8859444260597229, 1.1666206121444702, -0.17981934547424316, -0.19942115247249603, 0.046672720462083817, -0.14318309724330902, -0.25814056396484375, 0.20868831872940063, 0.654586136341095, -0.608774721622467, -0.6266776919364929, -0.4018615186214447, -0.027311179786920547, -0.26950040459632874, 0.33045831322669983, -0.23932208120822906, -0.030513916164636612, -0.5203614234924316, -0.19760560989379883, -0.4207874834537506, -0.3435855507850647, -0.6863874793052673, -0.4181794822216034, 0.5370994210243225, 0.37214502692222595, 0.6475638151168823, 0.21866922080516815, 0.31803402304649353, 0.346357524394989, -0.30853697657585144, 0.6959371566772461, -0.5906907320022583, 0.538388729095459, -0.5582035779953003, -0.5912668704986572, -0.23704825341701508, -0.31288421154022217, 0.7532067894935608, 0.6665474772453308, 0.08737622946500778, 0.00533038005232811, -0.09111713618040085, 0.7373896241188049, -0.42267030477523804, 0.2836991846561432, -0.7444833517074585, -0.07189851254224777, -0.008395107463002205, -0.2718842625617981, -0.7971128225326538, -0.6972494721412659, -0.1050000935792923, -0.6466537117958069, -0.31406405568122864, -0.03540804609656334, 0.511001706123352, 0.3681429326534271, -0.5662834048271179, -0.3434526026248932, -0.8318035006523132, 0.5918569564819336, -0.5398662686347961, 0.6483756899833679, 0.56023108959198, 0.6963504552841187, -0.4160732328891754, -1.0304105281829834, -0.5713475942611694, -0.26804032921791077, -0.28662729263305664, -0.15885484218597412, 0.0913112685084343, 0.08912432938814163, 0.4388439953327179, 0.039687857031822205, -0.4180104434490204, -0.3983403444290161, -0.38057783246040344, -0.2868782877922058, 0.4148767590522766, 0.336997926235199, -0.026974042877554893, -0.023552097380161285, -0.12191536277532578, -0.03255709633231163, -1.1574957370758057, 0.1158691868185997, 0.11524615436792374, 0.04812963306903839, 0.30871251225471497, 0.5665543079376221, -0.4307979941368103, 0.794550895690918, -0.14029376208782196, -0.18637698888778687, 0.16367125511169434, -0.08622612804174423, -0.08942366391420364, -0.24719266593456268, 0.509036660194397, -0.02936389669775963, 0.41873544454574585, -0.4578196108341217, 0.05107474699616432, -0.24947550892829895, 0.27791306376457214, -0.6922723054885864, -0.2586265206336975, 0.15300552546977997, -0.21640567481517792, 0.047934237867593765, -0.054961785674095154, -0.5189882516860962, -0.35309144854545593, -0.39673325419425964, 0.5129112601280212, -0.8719728589057922, 0.02051747590303421, 0.029084380716085434, 0.005369794089347124, 0.3961680829524994, 0.5842916369438171, -0.47479426860809326, 0.21598711609840393, 0.7966992855072021, 0.5053341388702393, 0.11724469065666199, -0.05357516184449196, -0.856066107749939, 0.5282196402549744, -0.4356154203414917, 0.6864779591560364, -0.7788510918617249, -0.40969324111938477, -0.06591393798589706, 0.1291648894548416, -0.1776340752840042, -0.32068824768066406, 0.7734599113464355, -0.9707228541374207, -0.0803690105676651, -0.7989322543144226, -0.6430827975273132, -0.6241042017936707, 0.6200791001319885, -0.4267007112503052, 0.9627153873443604, 0.059526171535253525, -0.9149445295333862, -0.08268416672945023, -0.22627288103103638, -0.2571844458580017, 0.020690681412816048, -0.3454281985759735, 0.09368562698364258, -0.17148856818675995, 0.30446159839630127, 0.24258895218372345, -0.333729088306427, 0.4023462235927582, -0.4264124929904938, -0.6023115515708923, 0.3385227620601654, -0.3061176538467407, 0.8555561304092407, 0.17474044859409332, -0.2180851697921753, 0.029314864426851273, -0.5266938805580139, 0.18051627278327942, 0.03993069380521774, -0.15877224504947662, -0.6032352447509766, 0.22447927296161652, -0.871709942817688, 0.1397181749343872, 0.2446182370185852, -0.29640287160873413, 0.5225940346717834, -0.5027133822441101, 0.06713160872459412, 0.8938999176025391, 0.2604593336582184, 0.3021220564842224, -0.24736133217811584, 0.38425588607788086, -0.027946677058935165, 0.24326388537883759, -0.12855520844459534, -0.6024315357208252, -1.0371074676513672, -0.10246573388576508, 0.06609953939914703, 0.4201085865497589, -1.1779249906539917, 0.07644352316856384, -0.2916979491710663, -0.4446532130241394, -0.4041367173194885, 0.08063016086816788, 0.299383282661438, 0.6371136903762817, 0.5082774758338928, 0.28199198842048645, -0.1454302966594696, -0.6369337439537048, -0.15375684201717377, -0.47644466161727905, 0.04950079321861267, 0.6067423820495605, 0.5367870926856995, -0.44154199957847595, 0.9537087678909302, -0.7013727426528931, -0.041464801877737045, -0.10664135217666626, -0.05106613412499428, 0.42071104049682617, 0.09713923186063766, 0.3199036121368408, -0.8256885409355164, -0.49747055768966675, -0.05124398693442345, -0.7226090431213379, -0.12392562627792358, 0.061513397842645645, -0.37370094656944275, 0.08101671934127808, 0.5642042756080627, -0.7188828587532043, 0.22418011724948883, 0.18940462172031403, -0.4633198380470276, 0.45803865790367126, -0.253282368183136, 0.3308233916759491, -0.8361358046531677, 0.2730220556259155, -0.5878522992134094, -0.25174903869628906, -0.37389203906059265, 0.2888146638870239, 0.07851157337427139, 0.2456745058298111, -0.19722750782966614, 0.6788551807403564, -0.2101220041513443, -0.08916997164487839, -0.08226515352725983, 0.292373925447464, 0.3395133316516876, 0.46397534012794495, -0.09051071852445602, 0.6450293064117432, 0.5371640920639038, -0.5338664650917053, 0.5989086031913757, 0.237227201461792, -0.029995327815413475, 0.3841482400894165, -0.4034128487110138, 0.4407138228416443, -0.3529518246650696, 0.2905395030975342, -1.1804076433181763, 0.0012173376744613051, 0.45475393533706665, -0.3939526081085205, 0.3778914511203766, -0.3161185085773468, -0.5551778078079224, -0.5103892087936401, -0.2156582623720169, 0.26821479201316833, 0.5705539584159851, -0.719664990901947, 0.8674728274345398, 0.24173131585121155, -0.028642086312174797, -0.5157262086868286, -0.18395471572875977, -0.10805601626634598, -0.30355677008628845, -0.7856336832046509, 0.21019448339939117, -0.22905737161636353, -0.48788708448410034, -0.015779294073581696, -0.04045933112502098, -0.07404105365276337, 0.09083617478609085, 0.0643957108259201, 0.1448071449995041, -0.04453122988343239, 0.3237276077270508, 0.21196462213993073, -0.13939706981182098, 0.28928765654563904, -0.49208498001098633, 0.38988783955574036, -0.25463369488716125, -0.71322101354599, -0.004060104954987764, 0.169603630900383, 0.5448800921440125, -0.19775477051734924, 0.5826175808906555, 0.4577781558036804, -0.47452443838119507, -0.1580941081047058, -0.701839804649353, -0.11746564507484436, -0.5253186225891113, -0.0811309963464737, -0.5657224059104919, -0.8009192943572998, 0.6264466643333435, -0.28854653239250183, -0.13781504333019257, 0.5224947929382324, 0.39766812324523926, -0.056532394140958786, 0.8771498799324036, 0.23425240814685822, 0.19049283862113953, -0.24319380521774292, -0.4355815052986145, 0.15676721930503845, -0.8869221210479736, -0.7771362066268921, -0.6470151543617249, -0.07935285568237305, -0.1830865740776062, -0.910516619682312, 0.5372058749198914, 0.3014557957649231, -0.1239166259765625, 0.11606741696596146, -0.2635442316532135, 0.559733510017395, 0.35496392846107483, 0.1008460745215416, 0.5671769380569458, -0.28186410665512085, -0.6017627120018005, -0.08694278448820114, -0.5418404340744019, -0.33883777260780334, 0.8067488670349121, 0.1615419089794159, 0.9634563326835632, 0.269148051738739, 0.733196496963501, -0.05924126133322716, 0.34699180722236633, -0.7290881276130676, 0.7420276403427124, -0.0021998686715960503, -0.40719783306121826, -0.37613922357559204, -0.7227598428726196, -0.5182003974914551, 0.33520159125328064, 0.07077322900295258, -0.993608832359314, 0.08681332319974899, 0.03787818178534508, -0.34126490354537964, 0.3790844976902008, -0.27213162183761597, 0.5679502487182617, -0.17849312722682953, -0.5128253102302551, -0.30918458104133606, -0.6560140252113342, 0.5558457374572754, -0.06159441918134689, 0.2252865731716156, 0.12614820897579193, 0.18182125687599182, 0.5725541710853577, -0.2499508410692215, 0.7420335412025452, -0.3640879988670349, -0.026075441390275955, 0.6777091026306152, 0.4850430190563202, 0.9179383516311646, 0.21130315959453583, -0.14541469514369965, -0.16430602967739105, 0.10191111266613007, 0.108470618724823, -0.8374215960502625, 0.8548778295516968, -0.4496742784976959, -0.8642006516456604, -0.31984609365463257, -0.45755645632743835, -0.5716395378112793, 0.17599385976791382, -0.14753316342830658, 0.33357590436935425, -0.09671655297279358, 0.24408963322639465, 1.0723974704742432, -0.38474392890930176, -0.007148544304072857, 0.5995898246765137, -0.5248332023620605, -0.4188138544559479, 0.7561402320861816, 0.17264118790626526, 0.004953365307301283, 0.5646884441375732, 0.4343244731426239, -0.4379429221153259, -0.4564393162727356, -0.41018998622894287, 0.3348127603530884, -0.9876216650009155, -0.372393935918808, -0.9530044794082642, -0.3902311623096466, -0.3616831600666046, -0.1273399144411087, -0.29582422971725464, -0.5340554714202881, -0.056042369455099106, -0.052526190876960754, 0.47569540143013, 0.6668328046798706, 0.07010192424058914, -0.05358074605464935, -0.9249425530433655, 0.49259066581726074, 0.5455650091171265, 0.22612915933132172, 0.1141609326004982, -0.5860968232154846, -0.15717972815036774, 0.12881624698638916, -0.2950265109539032, -0.9943398237228394, 0.21630506217479706, -0.07831301540136337, 0.8989542722702026, 0.5725836157798767, 0.13849692046642303, 0.6763332486152649, -0.4505453407764435, 0.5238568186759949, -0.23425538837909698, -0.7539371848106384, 0.5065267086029053, -0.42830443382263184, 0.18765243887901306, 0.6683023571968079, 0.6827197670936584, -0.4251198470592499, -0.38492295145988464, -0.45463117957115173, -0.6820463538169861, 0.4985247254371643, 0.18990646302700043, -0.17898589372634888, -0.2572353780269623, 0.5434529185295105, 0.0122075779363513, -0.15222203731536865, -0.4779771566390991, 0.023883156478405, 0.20354191958904266, -0.08577771484851837, 0.2664538025856018, -0.33944255113601685, -0.22576817870140076, -0.6441377401351929, 0.9134424328804016, -0.33278515934944153, 0.15001541376113892, 0.28753718733787537, -0.04033324122428894, -0.10974222421646118, -0.0025678477250039577, 0.19822193682193756, 0.7814682722091675, -0.20066536962985992, 0.29081520438194275, 0.4806972146034241, -0.19741089642047882, 0.10253333300352097, 0.055188924074172974, -0.2173592746257782, -0.018769998103380203, 0.2607380747795105, 0.3868473470211029, 0.1899450570344925, -0.6565837264060974, 0.5634693503379822, -0.007158793043345213, 0.08545740693807602, -0.5203197598457336, 0.17324534058570862, 0.476412296295166, 0.6502541303634644, 0.2673400044441223, -0.3215957581996918, 0.21079158782958984, -0.4371466338634491, 0.1585978865623474, 0.5261675715446472, -0.4851037561893463, -0.11309781670570374, 0.5367405414581299, -0.024390606209635735, -0.15666182339191437, 0.882891058921814, -0.3197302520275116, -0.7448462247848511, 0.4555422067642212, 0.44324198365211487, 0.7945990562438965, -0.2511810064315796, 0.32204383611679077, 0.40199896693229675, 0.3711033761501312, 0.005958463530987501, 0.3741609454154968, -0.02137054316699505, -0.5662265419960022, -0.6112962961196899, -0.7264163494110107, -0.4365413188934326, -0.11054288595914841, -0.16915395855903625, 0.3150283992290497, -0.1330445408821106, 0.11394099146127701, -0.4335159659385681, 0.01713276095688343, -0.44159993529319763, 0.014091667719185352, 0.14205510914325714, 1.1809842586517334, -0.6129223704338074, 1.1893123388290405, 0.34663692116737366, -0.22674748301506042, -0.8331624269485474, -0.03786412999033928, -0.09746652096509933, -0.6209715008735657, 0.7902604341506958, 0.14545896649360657, -0.3395707607269287, -0.1972428858280182, -0.31974565982818604, -0.913369357585907, 1.3334219455718994, 0.39117303490638733, -0.30660849809646606, -0.19961270689964294, 0.08373900502920151, 0.4791787266731262, -0.2166605293750763, 0.1929304003715515, 0.48908329010009766, 0.668907642364502, 0.7621787190437317, -0.43964284658432007, 0.2920635938644409, 0.05153152719140053, -0.36901047825813293, 0.2847770154476166, -0.6158154606819153, 0.7735418081283569, -0.3223229646682739, -0.023875292390584946, 0.21214060485363007, 0.5825550556182861, 0.36860981583595276, 0.28501439094543457, 0.3973768651485443, 0.6461971402168274, 1.0418305397033691, -0.033917855471372604, 0.9120157361030579, -0.21821321547031403, 0.21039946377277374, 1.0734363794326782, -0.3017933964729309, 0.6158535480499268, 0.5175732374191284, -0.16898690164089203, 0.6093578934669495, 0.3119998574256897, 0.3524373769760132, 0.5871790051460266, 0.2389189749956131, -0.2860679030418396, -0.5208703279495239, 0.0327727273106575, -0.4152853786945343, 0.310464084148407, 0.5583421587944031, -0.4254288673400879, -0.2343353033065796, -0.2677097022533417, 0.013481473550200462, -0.11751434206962585, -0.1686914563179016, 0.630071222782135, 0.19342640042304993, -0.9647467732429504, 0.47875523567199707, 0.04180506616830826, -0.1357116997241974, -0.8662042021751404, -0.45444998145103455, -0.44013580679893494, 0.1116771474480629, 0.05078650638461113, -0.7661508321762085, 0.639653742313385, -0.23882147669792175, 0.26635873317718506, -0.13114087283611298, 1.0533987283706665, -0.3926393389701843, -0.41172391176223755, 0.4909636080265045, 0.48673826456069946, 0.17052561044692993, -0.08953949809074402, -0.3787534534931183, -0.0810202956199646, 0.0029420440550893545, -0.4003103971481323, 0.05981600284576416, 0.7317719459533691, -0.18292495608329773, 0.8109135627746582, 0.5336475372314453, -0.150991752743721, -0.10168319195508957, 0.06733539700508118, 1.3239941596984863, -0.6592974662780762, -0.3741806149482727, -0.8539955019950867, 0.3312023878097534, -0.15745909512043, 0.2391783595085144, 0.666945219039917, 0.5263441205024719, 0.4726329743862152, 0.08611094206571579, 0.45729634165763855, 0.029133955016732216, 0.3387204110622406, -0.8866814374923706, 0.6868969202041626, -0.2929997444152832, 0.4062759280204773, -0.24518297612667084, -0.9625144004821777, -0.13301940262317657, 0.7259081602096558, -0.4347054362297058, -0.07999840378761292, 0.86509108543396, 0.7208778858184814, -0.16565978527069092, 0.09844371676445007, 0.3405139148235321, 0.571246325969696, 0.3778574764728546, 0.7844444513320923, 1.0183979272842407, -0.13775861263275146, 0.6102389693260193, -0.1053771823644638, -0.18051590025424957, -0.046709369868040085, -0.8025023937225342, -0.8394327759742737, -0.5438627004623413, -0.034517183899879456, -0.5785128474235535, 0.18502897024154663, 0.5943504571914673, 0.24656832218170166, -0.46567800641059875, 0.10391181707382202, 0.07765884697437286, 0.5560669302940369, 0.009199986234307289, -0.1968887746334076, 0.4475564956665039, -0.3829347491264343, -0.3741057217121124, 0.6717990636825562, 0.30489641427993774, -0.20811817049980164, -0.5402873158454895, -0.3767410218715668, -0.3348073363304138, 0.30412107706069946, 0.4907636344432831, 0.05882200971245766, -0.5932144522666931, -0.6684642434120178, 0.24298100173473358, 0.05801378935575485, -0.12580132484436035, 0.9056061506271362, -1.1198387145996094, 0.5188843011856079, 0.8274264335632324, 0.6381255984306335, 0.9262862205505371, -0.19780303537845612, 0.41277292370796204, -0.4160374402999878, -0.0529366098344326, 0.3185729384422302, 0.5451333522796631, 0.27494457364082336, -0.3506883978843689, 0.6775441765785217, 0.30844518542289734, -0.4647272229194641, -0.5712623596191406, 0.43561238050460815, -0.8130269050598145, -0.4303402900695801, 1.3115311861038208, -0.4832487106323242, -0.2339024841785431, -0.2276359349489212, -0.2871549725532532, 0.18610338866710663, 0.1809001863002777, 0.7663722038269043, 0.7302126288414001, -0.1313873529434204, 0.2292761653661728, -0.44380277395248413, 0.3813976049423218, 0.07151997834444046, -0.74676114320755, 0.1279934197664261, 0.6689232587814331, 0.21194033324718475, 0.12492130696773529, 0.9316355586051941, -0.3043827414512634, 0.00414721155539155, -0.12285616248846054, -0.5244653820991516, -0.22360961139202118, -0.7677218914031982, 0.08845016360282898, 0.1643158197402954, 0.2026216834783554, 0.3582431674003601 ]
http://arxiv.org/abs/2405.13872v2
http://arxiv.org/pdf/2405.13872v2
Image-of-Thought Prompting for Visual Reasoning Refinement in Multimodal Large Language Models
2024-05-22T17:56:51
2024-05-29T02:24:36
Qiji Zhou, Ruochen Zhou, Zike Hu, Panzhong Lu, Siyang Gao, Yue Zhang
cs.AI
cs.AI, cs.CL, cs.CV
Recent advancements in Chain-of-Thought (CoT) and related rationale-based works have significantly improved the performance of Large Language Models (LLMs) in complex reasoning tasks. With the evolution of Multimodal Large Language Models (MLLMs), enhancing their capability to tackle complex multimodal reasoning problems is a crucial frontier. However, incorporating multimodal rationales in CoT has yet to be thoroughly investigated. We propose the Image-of-Thought (IoT) prompting method, which helps MLLMs to extract visual rationales step-by-step. Specifically, IoT prompting can automatically design critical visual information extraction operations based on the input images and questions. Each step of visual information refinement identifies specific visual rationales that support answers to complex visual reasoning questions. Beyond the textual CoT, IoT simultaneously utilizes visual and textual rationales to help MLLMs understand complex multimodal information. IoT prompting has improved zero-shot visual reasoning performance across various visual understanding tasks in different MLLMs. Moreover, the step-by-step visual feature explanations generated by IoT prompting elucidate the visual reasoning process, aiding in analyzing the cognitive processes of large multimodal models
[ -0.747246503829956, -1.1914607286453247, 0.9252688884735107, 0.08656378835439682, -0.6010123491287231, -0.2601301074028015, -0.3306506872177124, -0.30653679370880127, -0.10928987711668015, 0.46442121267318726, -0.9144635200500488, -0.21011096239089966, -0.2932698428630829, 0.18330691754817963, -0.058146629482507706, 0.40967339277267456, -0.23615995049476624, 0.11344779282808304, -0.3011406660079956, 0.011598160490393639, -0.8521241545677185, 0.018576281145215034, -0.6599359512329102, 0.024391543120145798, 0.8374338746070862, 0.4652690887451172, 0.4171048104763031, 0.30324721336364746, 0.5855384469032288, 0.28223755955696106, 0.31253111362457275, 0.5594746470451355, -0.23073938488960266, 0.3579750657081604, -0.28355929255485535, -0.47732439637184143, -0.30664950609207153, -0.13491907715797424, 0.3924703896045685, 0.29201483726501465, 0.25677207112312317, 0.3643326461315155, -0.24496027827262878, 0.7260799407958984, -0.8596816062927246, 0.2408837378025055, -0.7223243713378906, -0.11286424100399017, 0.3351874053478241, -0.7896735668182373, -0.7247449159622192, -0.006147129461169243, 0.2527829110622406, -0.6427954435348511, -0.000898542464710772, 0.17449894547462463, 0.7201172113418579, 0.4363785684108734, -0.31549516320228577, -0.08311497420072556, -0.6378574967384338, 0.7916454076766968, -0.2803749442100525, 0.49331769347190857, 0.3149860203266144, 0.31074029207229614, -0.10127536207437515, -0.5314974188804626, -0.9428256154060364, -0.30917590856552124, 0.06704133003950119, 0.2925691604614258, -0.34752851724624634, -0.07770851999521255, 0.6777169704437256, -0.16356989741325378, -0.47269266843795776, -0.31728312373161316, -0.30598750710487366, 0.1294604241847992, 0.33548957109451294, -0.10160582512617111, 0.21209074556827545, -0.0906754583120346, -0.7722265124320984, -0.1795244812965393, -0.6824309229850769, 0.058163996785879135, -0.267166405916214, -0.06427258253097534, 0.08590305596590042, 0.5253864526748657, -0.25687268376350403, 0.693128228187561, 0.11784449964761734, -0.16522717475891113, 0.12529292702674866, -0.3689843416213989, -0.24255473911762238, -0.07594864070415497, 0.651507556438446, 0.7465549111366272, 0.3505033552646637, 0.3825555741786957, -0.17769192159175873, 0.049759842455387115, 0.2509336769580841, -0.6628322601318359, -0.08014146983623505, 0.3144412934780121, -0.5445170402526855, -0.043529000133275986, -0.10985135287046432, -0.760761559009552, -0.3886566758155823, -0.6033456921577454, 0.5291274189949036, -0.5802289843559265, -0.3702813684940338, 0.05185379460453987, -0.3825693726539612, 0.2989657521247864, 1.0616352558135986, -0.5721441507339478, -0.49813219904899597, 0.17351065576076508, 0.49251610040664673, 0.23603373765945435, -0.29324355721473694, -0.37673988938331604, 0.2443855106830597, -0.28476887941360474, 1.2609443664550781, -0.5740655660629272, -0.17178964614868164, -0.20165538787841797, -0.14750924706459045, -0.06677775084972382, -0.28206658363342285, 0.3387630581855774, -0.5814051032066345, 0.13610728085041046, -0.5168460607528687, -0.24424628913402557, -0.4671502411365509, 0.9629907608032227, -0.652873158454895, 0.6466166377067566, -0.33039432764053345, -0.6790511608123779, 0.5002685189247131, -0.9744628667831421, -0.06803405284881592, 0.2542840838432312, -0.42362838983535767, -0.16430972516536713, -0.056129537522792816, 0.9389544725418091, 0.532300591468811, -0.4430869221687317, 0.007576662115752697, -0.6276501417160034, -0.1589195430278778, 0.5062798857688904, -0.88426673412323, 0.5680490136146545, 0.47254908084869385, -0.5029594898223877, 0.3195423483848572, -0.42513805627822876, 0.35593435168266296, 0.22458629310131073, 0.09459434449672699, -0.11479693651199341, -0.13514477014541626, -0.19370007514953613, 0.30670979619026184, 0.21244359016418457, -0.4251157343387604, 0.35584890842437744, 0.4297657012939453, 0.4504801034927368, 0.8702924847602844, 0.08833445608615875, 0.09387575089931488, -0.13634583353996277, 0.5666581392288208, 0.2444911152124405, 0.49835291504859924, -0.8272504806518555, -0.6453955769538879, -0.7886806726455688, -0.7352672815322876, 0.03106963075697422, 0.6216010451316833, -1.3004828691482544, 0.001032317173667252, -0.15562286972999573, -0.19053925573825836, -0.5280542373657227, -0.1125400960445404, 0.25354382395744324, 0.5734677314758301, 0.43657809495925903, 0.15323752164840698, -0.2881169617176056, -0.8709290623664856, -0.012022553943097591, -0.13201342523097992, 0.2489769458770752, 0.34612128138542175, 0.564898669719696, -0.28458738327026367, 0.8880770802497864, -0.521471381187439, 0.06275232881307602, -0.17555809020996094, 0.32490700483322144, -0.19238680601119995, 0.3606433868408203, 0.2915148437023163, -1.0305196046829224, -0.19278943538665771, 0.1867295503616333, -0.7809224128723145, 0.03275921195745468, -0.4060652256011963, -0.28916630148887634, 0.1300732046365738, 0.6718990802764893, -0.8107278943061829, 0.7882688641548157, 0.11523350328207016, -0.22559870779514313, 0.7635518908500671, -0.2275162637233734, 0.6617228984832764, -0.8865348696708679, 0.1341720074415207, -0.1356879025697708, -0.13848790526390076, -0.22170361876487732, 0.1015448346734047, 0.14234144985675812, -0.023983873426914215, -0.3889232873916626, 0.6430739164352417, -0.5654640793800354, 0.2791750729084015, -0.18517200648784637, 0.34352460503578186, 0.2500327229499817, 0.5094423294067383, 0.18386141955852509, 0.6319805383682251, 0.8176327347755432, -0.38388851284980774, 0.6264305114746094, -0.014605581760406494, -0.2827441692352295, 0.8133854269981384, -0.30291759967803955, 0.14795251190662384, -0.5223684906959534, 0.39833950996398926, -1.2053916454315186, -0.2248392105102539, 0.10636202245950699, -0.2419314682483673, -0.04731792211532593, -0.23912571370601654, -0.6453617215156555, -0.5416316986083984, -0.3050857484340668, 0.7135837078094482, 0.2817460894584656, -0.7898922562599182, 0.7421034574508667, -0.10577470809221268, -0.11036437749862671, -0.5849010944366455, -0.4711167812347412, 0.04857384040951729, -0.19367407262325287, -0.7865538001060486, -0.10479269921779633, -0.14898811280727386, -0.26660025119781494, 0.026635030284523964, 0.2540072202682495, 0.009005939587950706, -0.2022770792245865, 0.09512878209352493, 0.7905223369598389, -0.30432581901550293, 0.3071024715900421, -0.09396911412477493, -0.08171522617340088, 0.07002914696931839, -0.4025348722934723, 0.3916511535644531, -0.44492095708847046, -0.6008689403533936, -0.7009884119033813, 0.40697821974754333, 0.8625575304031372, -0.5165928602218628, 0.2385968416929245, 0.8153879642486572, -0.2870213985443115, -0.10483750700950623, -0.9630688428878784, -0.44505417346954346, -0.43123990297317505, 0.15793031454086304, -0.5085834264755249, -0.718597948551178, 0.28151804208755493, -0.31531015038490295, -0.07484583556652069, 0.10490138828754425, 0.7085847854614258, -0.5986279845237732, 1.426753044128418, 0.18136727809906006, 0.5420100092887878, 0.7193268537521362, -0.4139794409275055, 0.330890953540802, -0.897323489189148, -0.3228747546672821, 0.01706012338399887, -0.36798620223999023, -0.2206617146730423, -0.6104757785797119, 0.5570438504219055, 0.17680741846561432, 0.09372802823781967, -0.11270341277122498, -0.37300658226013184, 0.7990595102310181, 0.4448779225349426, 0.42264747619628906, 0.1968139410018921, 0.2981218993663788, -0.23198862373828888, 0.3027368485927582, -0.6450254321098328, -0.44499310851097107, 0.6920737028121948, 0.04471045359969139, 0.9453813433647156, -0.025584738701581955, 0.3365912139415741, -0.10720542073249817, 0.35041743516921997, -0.8652961850166321, 0.6768181324005127, 0.2633484899997711, -0.5312012434005737, -0.12783052027225494, -0.26846417784690857, -1.033553957939148, 0.35198748111724854, -0.3953556418418884, -0.7568984031677246, 0.3208983838558197, 0.5376066565513611, -0.5301671624183655, 0.21129901707172394, -0.9910475015640259, 0.7178829312324524, -0.3399464190006256, -0.4357448220252991, -0.580460786819458, -0.45878687500953674, 0.37611594796180725, 0.30333212018013, 0.20658183097839355, 0.05959869548678398, 0.1469159722328186, 0.23255851864814758, -0.32885727286338806, 0.7440058588981628, -0.0695393905043602, -0.007131961174309254, 0.5227806568145752, 0.06840287148952484, 0.4241941273212433, 0.0024238249752670527, 0.20525099337100983, -0.2243093103170395, -0.10056968033313751, -0.37915274500846863, -0.9246694445610046, 0.6461465954780579, -0.23281142115592957, -0.7597094774246216, -0.030800115317106247, -0.6614794135093689, -0.2673296630382538, 0.3256220519542694, 0.32311150431632996, 0.6601664423942566, 0.428806334733963, 0.3033931851387024, 0.7778254151344299, 0.016913214698433876, 0.4068995416164398, 0.03594932332634926, -0.4318995773792267, -0.5925619602203369, 0.7377487421035767, -0.11007580161094666, 0.42523396015167236, 0.34562233090400696, 0.23865996301174164, -0.5450380444526672, -0.3351992070674896, -0.7067221999168396, 0.08975298702716827, -0.9937198758125305, -0.15832209587097168, -0.5104610919952393, 0.24017433822155, -0.01369031798094511, -0.28405919671058655, -0.06949427723884583, -0.20984457433223724, -0.07249299436807632, 0.13293348252773285, 0.6599344611167908, 0.4529078006744385, 0.38607344031333923, -0.1534799486398697, -0.8168087601661682, 0.4377741813659668, 0.6113847494125366, 0.3326084017753601, 0.3407781720161438, -0.17606747150421143, 0.03505713865160942, 0.24618321657180786, -0.3615766167640686, -0.6534571647644043, -0.1377202421426773, -0.3016255795955658, 0.3780553638935089, 0.5250505805015564, -0.028837837278842926, 1.1802974939346313, -0.32382330298423767, 0.7367691993713379, 0.5550015568733215, -0.6273874044418335, 0.7716940641403198, -0.42100390791893005, 0.6897380352020264, 0.3929409086704254, 0.181453675031662, -0.2181377410888672, -0.14767515659332275, -0.5001670718193054, -0.7289685010910034, 0.40981632471084595, 0.08978714793920517, -0.1669682115316391, -0.16286630928516388, 0.04109283164143562, -0.042207829654216766, 0.03289486840367317, -0.7295931577682495, 0.20771975815296173, -0.260597288608551, -0.027136271819472313, 0.5284493565559387, -0.030935995280742645, -0.1255309134721756, -0.3141937553882599, 0.5105452537536621, -0.4047935903072357, 0.4005364179611206, 0.6552786827087402, -0.2241787314414978, -0.13421322405338287, 0.3917505443096161, 0.8856322765350342, 0.7858783602714539, 0.04365451633930206, 0.2464243322610855, 0.13830068707466125, -0.21728205680847168, -0.06986940652132034, -0.3259527385234833, -0.021601269021630287, -0.22975672781467438, 0.43432578444480896, 1.0867396593093872, -0.18942761421203613, -0.9358202815055847, 0.5332551002502441, -0.3082294762134552, -0.19943958520889282, -0.12960030138492584, -0.08964766561985016, -0.040475212037563324, 0.4882245659828186, 0.30716636776924133, 0.38445889949798584, -0.018519042059779167, -0.6616116762161255, -0.024082420393824577, 0.5481616854667664, -0.24838125705718994, 0.07105759531259537, 0.28610825538635254, 0.12091729044914246, 0.04297121241688728, 0.7672514915466309, -0.011535869911313057, -0.503851056098938, 0.48775872588157654, 0.5258281826972961, 0.8723349571228027, 0.20562946796417236, 0.1352604627609253, 0.3832256495952606, 0.3219829499721527, 0.05489884689450264, 0.7202228307723999, -0.29450148344039917, -0.6334772109985352, -0.7513635158538818, -0.10707078874111176, -0.20163992047309875, 0.14438463747501373, -0.3773241639137268, 0.4283124804496765, -0.6418330073356628, -0.3596775233745575, 0.0395817831158638, -0.7931119203567505, -0.7201892733573914, 0.3542444407939911, 0.5025492906570435, 0.7613494992256165, -0.21560551226139069, 0.5923209190368652, 0.6289652585983276, -0.41004812717437744, -0.9667144417762756, 0.04557771608233452, -0.03321041911840439, -0.812389075756073, 0.9050068259239197, 0.30959293246269226, -0.67740398645401, -0.016049185767769814, -0.7415557503700256, -0.5821899175643921, 1.0983083248138428, 0.4509609341621399, -0.5473519563674927, 0.34072408080101013, -0.2198987752199173, 0.3263782262802124, -0.553930938243866, 0.5623499155044556, -0.03992128372192383, 0.7233573794364929, 0.41371840238571167, -0.7342011332511902, 0.17111200094223022, -0.44300612807273865, -0.034449126571416855, 0.25637656450271606, -0.47691720724105835, 0.716015636920929, -0.7117478847503662, -0.0941467136144638, -0.13108447194099426, 0.2354535013437271, 0.3506059944629669, 0.16353735327720642, 0.8607599139213562, 0.4292182922363281, 0.7252810001373291, 0.004585429560393095, 1.0695034265518188, -0.005053473636507988, 0.11090145260095596, 0.9119810461997986, -0.2794671356678009, 1.1250152587890625, 0.7826988697052002, 0.2373443841934204, 0.6814396977424622, 0.3909773826599121, -0.030731769278645515, 0.3500378131866455, -0.359144926071167, -0.43222561478614807, -0.5462016463279724, -0.14004430174827576, -0.30111435055732727, 0.4886232316493988, 0.5104975700378418, -0.2942448854446411, -0.20330965518951416, 0.2299433946609497, -0.3297204375267029, -0.333444744348526, -0.474283903837204, 0.8507581353187561, -0.11382158100605011, -1.0923806428909302, 0.9649654626846313, -0.4970567226409912, 0.2499009072780609, -0.421882301568985, -0.319487988948822, 0.2405151128768921, 0.21131522953510284, -0.20651046931743622, -1.02535879611969, -0.1772916615009308, 0.043914929032325745, -0.31527236104011536, -0.39364632964134216, 0.5856172442436218, -0.584342360496521, -0.4820762872695923, 0.07687000930309296, 0.30618470907211304, -0.039052173495292664, -0.30259454250335693, -0.8701593279838562, 0.10735749453306198, 0.11768875271081924, -0.22451142966747284, -0.0710754245519638, 0.6949027180671692, -0.4331265687942505, 1.0063844919204712, 1.0544744729995728, -0.3475044071674347, 0.0010116742923855782, 0.28638726472854614, 0.8495465517044067, -0.6284009218215942, -0.3988170921802521, -1.0569499731063843, 0.793336033821106, -0.22375965118408203, -0.19624577462673187, 0.43373802304267883, 0.038459740579128265, 0.7156125903129578, -0.49170321226119995, 0.7216119170188904, -0.05353361368179321, -0.05933121591806412, -0.8138442039489746, 0.4169105887413025, -0.7840473651885986, 0.17898404598236084, -0.24502332508563995, -0.768444836139679, -0.2745569348335266, 0.760487973690033, -0.4547218978404999, -0.02468070201575756, 1.086507797241211, 0.866424560546875, -0.00281354459002614, 0.35587286949157715, 0.2798802852630615, 0.1341715157032013, 0.288562148809433, 0.2413875311613083, 1.1248698234558105, 0.0033404568675905466, 0.4290182292461395, -0.14511583745479584, -0.4249522387981415, -0.24959583580493927, -1.1686877012252808, -0.8206796050071716, -0.578295886516571, -0.3525558114051819, -0.130956768989563, -0.3072303831577301, 1.2447636127471924, 0.7404190897941589, -0.5221863985061646, 0.020287957042455673, -0.03914535045623779, -0.0007628711173310876, -0.3127819299697876, -0.26405876874923706, 0.20792704820632935, -0.2559443712234497, -0.3534252643585205, 0.21697953343391418, 0.6875295639038086, 0.039973072707653046, -0.24958232045173645, 0.11257913708686829, -0.5660247206687927, 0.11845076829195023, 1.0261170864105225, -0.07651345431804657, -1.1580374240875244, -0.2186601459980011, 0.011508995667099953, 0.10908681154251099, 0.13238760828971863, 0.8918168544769287, -0.7544106245040894, 0.9867019653320312, 0.5549250841140747, 0.26526278257369995, 0.4529411494731903, -0.10834458470344543, 0.488744854927063, -0.42638930678367615, 0.28836771845817566, 0.19716425240039825, 0.6531897187232971, 0.19727428257465363, -0.4140048623085022, 0.11709669232368469, 0.16034556925296783, -0.27627795934677124, -0.6763995885848999, 0.5183525085449219, -1.288392424583435, -0.3591509759426117, 0.9329929351806641, -0.14968055486679077, -0.5549520254135132, 0.0106092793866992, -0.9274146556854248, -0.1770620048046112, -0.41767728328704834, 0.7645903825759888, 0.829692006111145, -0.27711576223373413, -0.8357107043266296, -0.3139195144176483, 0.13782493770122528, 0.5482202172279358, -1.021965503692627, 0.2472936511039734, 0.5479288101196289, -0.12979447841644287, 0.3433586061000824, 0.39218926429748535, -0.13858945667743683, 0.8282998204231262, -0.03223631903529167, 0.034222815185785294, -0.10368557274341583, -0.3977928161621094, 0.16017957031726837, -0.03496498242020607, 0.00034428894286975265, -0.09085874259471893 ]
http://arxiv.org/abs/2405.13868v1
http://arxiv.org/pdf/2405.13868v1
Automatically Identifying Local and Global Circuits with Linear Computation Graphs
2024-05-22T17:50:04
2024-05-22T17:50:04
Xuyang Ge, Fukang Zhu, Wentao Shu, Junxuan Wang, Zhengfu He, Xipeng Qiu
cs.LG
cs.LG, cs.CL
Circuit analysis of any certain model behavior is a central task in mechanistic interpretability. We introduce our circuit discovery pipeline with sparse autoencoders (SAEs) and a variant called skip SAEs. With these two modules inserted into the model, the model's computation graph with respect to OV and MLP circuits becomes strictly linear. Our methods do not require linear approximation to compute the causal effect of each node. This fine-grained graph enables identifying both end-to-end and local circuits accounting for either logits or intermediate features. We can scalably apply this pipeline with a technique called Hierarchical Attribution. We analyze three kind of circuits in GPT2-Small, namely bracket, induction and Indirect Object Identification circuits. Our results reveal new findings underlying existing discoveries.
[ -0.307185560464859, -0.673380434513092, 0.8217675685882568, -0.1844022423028946, 0.1422269493341446, 0.005393921863287687, 0.2870270311832428, -0.4519856572151184, 0.3055889904499054, 0.13338226079940796, -0.7508809566497803, 0.012114041484892368, -0.638972818851471, -0.24223117530345917, -0.6707103848457336, 0.7119887471199036, -0.3094673156738281, -0.1981775313615799, 0.04238205775618553, -0.06354618817567825, -0.37033963203430176, -0.48187345266342163, -0.5864192247390747, -0.4586009085178375, 0.7106341123580933, -0.09278035908937454, 0.5915679335594177, 0.8798737525939941, 0.20983624458312988, 0.30949485301971436, -0.03845444694161415, -0.08427340537309647, -0.1574638932943344, -0.2054823786020279, -0.36476781964302063, -0.1752976030111313, -0.35474997758865356, -0.19664600491523743, 0.4387807548046112, 0.8459619879722595, 0.27900588512420654, 0.3635578155517578, 0.10539933294057846, 0.4826849400997162, -0.7703381776809692, 0.3171881437301636, -0.6540635228157043, 0.1632900834083557, -0.1892029494047165, -0.4142700731754303, -0.4475044310092926, -0.08756065368652344, -0.1881527155637741, -0.39868050813674927, 0.5945277810096741, -0.004002948757261038, 0.8505546450614929, 0.2764874994754791, -0.6049720048904419, -0.6406137347221375, -0.9060852527618408, 0.5470247864723206, -0.16736388206481934, 0.3515528738498688, 0.10449212044477463, 0.4076269567012787, -0.12139400839805603, -1.0561273097991943, -0.09307745844125748, -0.06568145006895065, -0.564360499382019, -0.23673292994499207, -0.3742035925388336, 0.2347245216369629, 0.3082459568977356, 0.44275838136672974, -0.5888871550559998, 0.05844395235180855, -0.5370050072669983, -0.6082422137260437, 0.3156305253505707, 0.3535306751728058, 0.2973032295703888, -0.4354911744594574, -0.11890121549367905, 0.46055302023887634, -0.7233055233955383, -0.04030754417181015, 0.3478650450706482, 0.21145831048488617, 0.09791523963212967, 0.4468529224395752, 0.015848364681005478, 0.5611543655395508, 0.002220994560047984, 0.3456651270389557, 0.014321092516183853, -0.6643555760383606, -0.4285709261894226, -0.06052127480506897, 0.7733823657035828, -0.21493887901306152, 0.22973328828811646, -0.1717996746301651, -0.1356574147939682, -0.11820506304502487, 0.1608487069606781, -0.716167688369751, -0.6279473304748535, -0.07505018264055252, -0.8063594102859497, -0.26577168703079224, -0.04208036884665489, -0.5556259751319885, -0.3646106719970703, -0.34808993339538574, 0.5195280909538269, 0.07975241541862488, -0.06384872645139694, -0.1768137812614441, -0.15125662088394165, 0.09962408244609833, -0.005092805717140436, -1.2550318241119385, 0.7670121192932129, 0.34259840846061707, 1.1387704610824585, 0.08351830393075943, -0.1505674421787262, -0.7109623551368713, 0.12116638571023941, -0.2644929885864258, 0.629601776599884, -0.3811919689178467, -0.06590069085359573, -0.24564579129219055, 0.3823324143886566, -0.11542031168937683, -0.47819840908050537, 0.34081587195396423, -0.5269655585289001, -0.17554208636283875, -0.4856073558330536, -0.19493478536605835, 0.08778795599937439, -0.45375996828079224, -0.6510969996452332, 1.0066778659820557, 0.2445879578590393, -0.7308011054992676, 0.2389144003391266, -0.7021302580833435, -0.5113809108734131, -0.4991878569126129, -0.37904092669487, -0.2717081308364868, 0.20103807747364044, 0.3362124562263489, 0.3657476007938385, -0.24647371470928192, 0.10057947784662247, -0.37215137481689453, -0.43375343084335327, -0.1650633066892624, -0.6257003545761108, 0.8772274255752563, 0.38416576385498047, -0.2941755950450897, 0.34563547372817993, -0.8386054039001465, -0.1109829843044281, 0.09635502099990845, 0.4141829311847687, -0.2323823869228363, 0.32559487223625183, -0.15175369381904602, 0.4007117748260498, 0.030735336244106293, -0.36577048897743225, 0.2154897153377533, -0.20139886438846588, 1.0158839225769043, 0.9005596041679382, 0.3111419379711151, 0.5970324277877808, 0.20884761214256287, 0.2139986753463745, -0.15401974320411682, 0.38187217712402344, -0.3027159571647644, -0.5887172222137451, -0.7874917387962341, -0.2358866184949875, 0.24112296104431152, 0.5567663908004761, -0.33931484818458557, 0.5965988636016846, 0.10245928168296814, -0.1135624498128891, -0.10182001441717148, 0.018867511302232742, 0.13772223889827728, 0.3462793231010437, 0.42881229519844055, -0.32639870047569275, -0.5218038558959961, -1.018198013305664, -0.15850485861301422, -0.07243765890598297, -0.5888319611549377, 0.3125436007976532, 0.577576220035553, -0.26008957624435425, 0.9526174664497375, -0.5997274518013, -0.20843900740146637, 0.10810449719429016, 0.38140609860420227, 0.2254510372877121, 0.5922867059707642, 0.5028447508811951, -0.2054383009672165, -0.08569616824388504, 0.01756528578698635, -0.9218012690544128, -0.1625068187713623, -0.27971351146698, -0.0659947618842125, -0.35088154673576355, 0.7897555828094482, -0.39966878294944763, 0.6720268130302429, -0.09408022463321686, -0.11925662308931351, 0.31997793912887573, -0.19865186512470245, 0.0625474825501442, -0.4128847122192383, -0.04011155664920807, -0.009295282885432243, -0.15188804268836975, -0.4631434679031372, -0.15248924493789673, 0.07594577223062515, 0.014471504837274551, 0.00004708973574452102, 0.5399320125579834, -0.5740032196044922, -0.72934490442276, 0.022649232298135757, -0.12485732138156891, -0.06368623673915863, 0.6147481799125671, -0.20399968326091766, 0.7136061191558838, 0.648095428943634, -0.4350040555000305, 0.31738778948783875, -0.20963618159294128, -0.17407825589179993, 0.04302585870027542, -0.7759897112846375, 0.19547957181930542, -0.24218574166297913, 0.10342461615800858, -1.0727958679199219, -0.38925546407699585, 0.4531046748161316, -0.28104209899902344, 0.2858995497226715, -0.6073815822601318, -0.6307719349861145, -0.5522133708000183, -0.16871492564678192, 0.5631005764007568, 0.48655086755752563, -0.7322985529899597, 0.6780412793159485, 0.1369495838880539, -0.1987728327512741, -0.22172872722148895, -0.5483872294425964, -0.30524519085884094, 0.062469251453876495, -0.610379695892334, -0.13401517271995544, 0.16968636214733124, -0.1915818154811859, -0.05885390564799309, -0.21906355023384094, -0.4879525303840637, 0.0503135621547699, 0.36808499693870544, 0.2815607786178589, -0.2912527918815613, 0.12202680855989456, 0.25188085436820984, -0.40831777453422546, 0.36828505992889404, -0.5759643316268921, 0.43294334411621094, -0.4351378381252289, -0.6760870218276978, -0.6407299041748047, 0.2972003221511841, 0.4877413809299469, -0.1096247062087059, 0.11999843269586563, 0.5534979104995728, -0.6735526323318481, 0.06106511130928993, -0.08927888423204422, -0.1751621812582016, -0.5619633793830872, 0.32393425703048706, -0.3972252309322357, -0.5841144919395447, 0.7838171720504761, -0.11330538243055344, -0.3726962208747864, 0.8363770842552185, 0.5889313817024231, 0.1616509109735489, 1.1827521324157715, 0.43861156702041626, -0.3227737843990326, 0.31651532649993896, -0.3855913579463959, 0.5761553645133972, -0.5875310897827148, -0.1905374974012375, -0.40569019317626953, -0.3447895646095276, -0.4232383370399475, -0.42116355895996094, 0.4733135998249054, 0.2215200811624527, -0.5223121643066406, 0.1442330926656723, -0.6660046577453613, 0.7386295199394226, 0.26362329721450806, -0.11524604260921478, 0.24734047055244446, 0.2563544809818268, -0.2843695282936096, -0.11903539299964905, -0.8061628341674805, -0.1890874207019806, 0.8683916330337524, 0.485795795917511, 0.6792994737625122, -0.31266117095947266, 0.48080432415008545, 0.4999551475048065, 0.2501367926597595, -0.7299951314926147, 0.20468291640281677, 0.07553129643201828, -0.5819458365440369, -0.10565066337585449, -0.36846357583999634, -0.842625081539154, -0.0203867070376873, 0.12965871393680573, -1.2452938556671143, 0.5527688264846802, 0.3111630082130432, -0.48479440808296204, 0.47917479276657104, -0.8882352709770203, 1.0116164684295654, -0.08148737996816635, -0.4283973276615143, -0.041065894067287445, -0.6208087801933289, 0.5435687303543091, 0.21307556331157684, 0.297048419713974, 0.3210005462169647, 0.38434112071990967, 0.3784194588661194, -0.6673405170440674, 0.7600651383399963, -0.22533144056797028, 0.12982387840747833, 0.6392099857330322, 0.22838914394378662, 0.7005676031112671, 0.1170915737748146, 0.22136232256889343, 0.11601877957582474, -0.15051613748073578, -0.49803343415260315, -0.7840087413787842, 0.9891039729118347, -0.6085875034332275, -0.014597896486520767, -0.41743218898773193, -0.4262593388557434, 0.050288476049900055, 0.19726130366325378, 0.5014172196388245, 0.7652788758277893, 0.1933608502149582, -0.33512160181999207, 0.5662065744400024, 0.08488820493221283, 0.33023861050605774, -0.12708695232868195, -0.18260136246681213, -0.12076209485530853, 1.1568964719772339, 0.2119000405073166, 0.22651365399360657, -0.060568347573280334, -0.026074327528476715, -0.2184949666261673, -0.4643867313861847, -0.5949760675430298, 0.1138283759355545, -0.9348589777946472, 0.027303973212838173, -0.4416629672050476, -0.512384295463562, 0.013935700990259647, -0.4481675624847412, -0.5063366293907166, -0.6264188885688782, -0.4243257939815521, -0.09752068668603897, 0.037851542234420776, 1.1288141012191772, -0.23945249617099762, 0.20188072323799133, -0.49785152077674866, 0.5000176429748535, 0.5250425934791565, 0.4382838308811188, 0.3126259744167328, -0.31903141736984253, -0.14678210020065308, -0.2538135051727295, -0.3621693551540375, -0.6387715339660645, -0.004328562878072262, -0.07097035646438599, 0.4632946252822876, 0.5739078521728516, -0.2986350953578949, 0.916716456413269, -0.501684308052063, 0.6094301342964172, 0.24463723599910736, -1.210216760635376, 0.6445870399475098, -0.259198397397995, -0.24857494235038757, 0.16199630498886108, 0.3298272490501404, -0.07163058966398239, -0.09145087003707886, -0.7318621873855591, -0.9542126059532166, 0.384111225605011, 0.5645586848258972, -0.24552695453166962, -0.024245280772447586, 0.7204669117927551, -0.1053914874792099, -0.0701616033911705, -0.7606179714202881, -0.47455450892448425, -0.15409670770168304, -0.12239336967468262, 0.3414001166820526, -0.13753511011600494, -0.020107327029109, -0.38307908177375793, 0.26231008768081665, -0.06993120908737183, 0.6875479221343994, 0.32056915760040283, -0.06472744047641754, -0.33148935437202454, 0.03799831494688988, 0.06373881548643112, 0.6028964519500732, -0.36986541748046875, 0.40648165345191956, 0.10800078511238098, -0.11803952604532242, 0.16476598381996155, 0.07450106739997864, -0.3223370611667633, 0.1210135668516159, 0.6841222047805786, 0.666195273399353, 0.09580858051776886, -0.23071609437465668, 0.46210992336273193, 0.06281574070453644, -0.20278775691986084, -0.3189307749271393, 0.20851340889930725, -0.27824005484580994, 0.33184975385665894, 0.24102407693862915, 0.48705431818962097, 0.7180102467536926, -0.6093229055404663, 0.4120437204837799, 0.5479214191436768, -0.6356510519981384, -0.44863221049308777, 0.9037014245986938, -0.09258604049682617, -0.0665067806839943, 0.5476007461547852, -0.44647419452667236, -0.2375248223543167, 0.8095906972885132, 0.2608383595943451, 0.9641396403312683, 0.01842891052365303, -0.04610452800989151, 0.6016851663589478, 0.6301602125167847, 0.1609870046377182, -0.22353734076023102, -0.20443835854530334, -0.28540095686912537, -0.6034520864486694, -0.44207167625427246, 0.013872889801859856, 0.19850771129131317, -1.0080442428588867, 0.3417004346847534, -0.7042478919029236, 0.3206288516521454, 0.5285359025001526, -0.19413067400455475, -0.4608827233314514, 0.09089863300323486, 0.21374723315238953, 0.626434326171875, -1.270890474319458, 1.014998435974121, 0.03448932245373726, -0.28356486558914185, -0.5926233530044556, -0.11293531209230423, 0.2743851840496063, -0.7026485204696655, 0.7882406711578369, 0.04824153333902359, -0.3954523801803589, -0.015685830265283585, -0.49832481145858765, -0.9643453359603882, 1.2174489498138428, 0.08899267017841339, -0.32859593629837036, -0.06548788398504257, -0.2826769948005676, 0.3743029534816742, -0.41714900732040405, 0.6428019404411316, 0.8749001622200012, 0.27311164140701294, 0.37669408321380615, -0.8667038679122925, 0.08605960756540298, -0.2925635278224945, -0.0026760597247630358, 0.5659140944480896, -0.19754381477832794, 1.0119454860687256, -0.27472686767578125, -0.15292279422283173, 0.21454307436943054, 0.5422844886779785, -0.037759583443403244, 0.5931328535079956, 0.4809552729129791, -0.10179901123046875, 0.9373771548271179, -0.051578644663095474, 0.9594415426254272, -0.09531763941049576, 0.7131250500679016, 1.1452478170394897, -0.17275281250476837, 0.361664354801178, 0.33457526564598083, -0.416293203830719, 0.5697271227836609, 0.638885498046875, -0.1588946431875229, 0.5745531320571899, 0.47233104705810547, -0.0017053523333743215, -0.1504964977502823, 0.26713690161705017, -0.2639990448951721, -0.009307339787483215, 0.5629256367683411, -0.7065122127532959, -0.37402525544166565, -0.24700307846069336, -0.12155121564865112, -0.4238220751285553, -0.5591119527816772, 0.274839848279953, -0.19421274960041046, -0.17178742587566376, 0.7499988675117493, 0.009415718726813793, 0.12390317767858505, -0.6730899810791016, -0.14934243261814117, 0.009155666455626488, 0.1949327439069748, -0.39879506826400757, -0.47061726450920105, 0.7606900334358215, -0.2816893756389618, -0.44449523091316223, -0.07997211068868637, 1.1064584255218506, 0.03631740063428879, -0.5604068040847778, 0.4684283435344696, 0.3382461965084076, 0.11904870718717575, -0.1042722687125206, -0.3185901641845703, -0.16615861654281616, 0.031224101781845093, -0.16715358197689056, 0.3461773991584778, 0.5040524005889893, -0.35436514019966125, 0.6120474338531494, 0.5078088045120239, -0.14883774518966675, 0.2757095992565155, 0.06454426050186157, 1.0820069313049316, -0.7637485861778259, -0.18311811983585358, -0.7690570950508118, 0.3749603033065796, -0.1228276938199997, -0.08484355360269547, 0.5628324747085571, 0.6564299464225769, 0.5215811729431152, 0.00842272024601698, 0.9214983582496643, -0.20868493616580963, 0.19658827781677246, -0.6632548570632935, 0.16457895934581757, -0.4282575249671936, 0.5723564028739929, -0.236220583319664, -0.6174216866493225, -0.27351099252700806, 0.7940776348114014, -0.2591599225997925, -0.11275213211774826, 0.9245991706848145, 0.8394891023635864, -0.6580444574356079, 0.09843362122774124, -0.04648212343454361, 0.5769566893577576, 0.24650800228118896, 0.6567528247833252, 0.7189934253692627, -0.6340612173080444, 0.4818418323993683, -0.16474491357803345, -0.4161175489425659, 0.0271416325122118, -0.8223865628242493, -0.8536599278450012, -0.39167240262031555, -0.21095703542232513, -0.3509315252304077, -0.1474473774433136, 0.6851392984390259, 0.7265596389770508, -0.9827584624290466, -0.21617072820663452, -0.6828613877296448, 0.3509379029273987, -0.2335454672574997, -0.18025074899196625, 0.6272868514060974, -0.5100727677345276, -0.28108346462249756, 0.36520323157310486, 0.6449989080429077, -0.15965141355991364, -0.3349679410457611, -0.12678492069244385, -0.01650172658264637, 0.022991903126239777, 0.6403107643127441, 0.46141159534454346, -0.6924517154693604, -0.4016989469528198, -0.11278821527957916, 0.26603999733924866, 0.07923855632543564, 1.3167060613632202, -0.8002036809921265, 0.47100698947906494, 0.30756059288978577, 0.12424653023481369, 0.7363453507423401, -0.24777700006961823, 0.43225163221359253, -0.7591966986656189, 0.45504772663116455, -0.11058156937360764, 0.5829641819000244, -0.0693662092089653, -0.43647903203964233, 0.6117110848426819, 0.7026952505111694, -0.7822741270065308, -0.6545619964599609, 0.4664536714553833, -0.8256207704544067, -0.17957359552383423, 0.8616325855255127, -0.10480672121047974, -0.06179894506931305, -0.5492127537727356, -0.0024560538586229086, 0.008451757952570915, 0.051600247621536255, 0.4828828275203705, 0.5722081065177917, -0.6062537431716919, -0.04397798702120781, -0.958971381187439, 0.4129124879837036, -0.05596611648797989, -0.5714802145957947, 0.17643620073795319, 0.5804904103279114, 0.30452239513397217, 0.3772710859775543, 0.7913429141044617, -0.003347752382978797, 0.18152467906475067, 0.1745792180299759, -0.23535063862800598, 0.04789184778928757, -0.6159650087356567, -0.2757779657840729, 0.06887336820363998, -0.046078868210315704, -0.11767695844173431 ]
http://arxiv.org/abs/2405.13845v2
http://arxiv.org/pdf/2405.13845v2
Semantic Density: Uncertainty Quantification in Semantic Space for Large Language Models
2024-05-22T17:13:49
2024-05-25T07:20:46
Xin Qiu, Risto Miikkulainen
cs.CL
cs.CL, cs.AI
With the widespread application of Large Language Models (LLMs) to various domains, concerns regarding the trustworthiness of LLMs in safety-critical scenarios have been raised, due to their unpredictable tendency to hallucinate and generate misinformation. Existing LLMs do not have an inherent functionality to provide the users with an uncertainty metric for each response it generates, making it difficult to evaluate trustworthiness. Although a number of works aim to develop uncertainty quantification methods for LLMs, they have fundamental limitations, such as being restricted to classification tasks, requiring additional training and data, considering only lexical instead of semantic information, and being prompt-wise but not response-wise. A new framework is proposed in this paper to address these issues. Semantic density extracts uncertainty information for each response from a probability distribution perspective in semantic space. It has no restriction on task types and is "off-the-shelf" for new models and tasks. Experiments on seven state-of-the-art LLMs, including the latest Llama 3 and Mixtral-8x22B models, on four free-form question-answering benchmarks demonstrate the superior performance and robustness of semantic density compared to prior approaches.
[ -0.35363495349884033, -0.9779435396194458, 0.9339549541473389, 0.2934039235115051, -0.2250649333000183, -0.20416393876075745, -0.17049342393875122, -0.5347228646278381, 0.23964062333106995, 0.5582032799720764, -0.34552302956581116, -0.6288048028945923, -0.9692681431770325, -0.050050847232341766, -0.7277804017066956, 0.46316227316856384, -0.11206670850515366, -0.08357717096805573, -0.42535117268562317, -0.0947226881980896, -0.13216941058635712, -0.5856186151504517, -0.3694083094596863, 0.08905032277107239, 0.46967363357543945, 0.18406732380390167, 0.9895897507667542, 0.35386985540390015, 0.6110305786132812, 0.22919055819511414, -0.11792010813951492, -0.10506391525268555, -0.1569131314754486, 0.20810721814632416, 0.05525655299425125, -0.25747159123420715, -0.3944633901119232, -0.2982517182826996, 0.7868301272392273, 0.9255558252334595, -0.22508971393108368, -0.19426359236240387, -0.16490402817726135, 0.24640463292598724, -0.8557319045066833, 0.12905967235565186, -0.7613032460212708, 0.02392706461250782, 0.03868810087442398, -0.04068632051348686, -0.17670507729053497, -0.2640497386455536, 0.39839792251586914, -0.7502649426460266, -0.041840191930532455, 0.19273491203784943, 0.5826975703239441, 0.471365749835968, -0.4376986026763916, -0.3237974941730499, -0.7355364561080933, 0.7383275628089905, -0.6156326532363892, 0.6687034964561462, 0.570936918258667, 0.16113582253456116, -0.2832399606704712, -0.37633180618286133, -0.7111071348190308, -0.23531846702098846, 0.3380691111087799, -0.06241782382130623, 0.08082549273967743, 0.05638110637664795, -0.15503311157226562, 0.13969482481479645, -0.5166518688201904, 0.320500910282135, 0.13613371551036835, -0.3942956328392029, 0.5484620928764343, 0.14546464383602142, 0.1694069653749466, -0.19617460668087006, -0.4525439739227295, -0.37480276823043823, -0.5448412895202637, -0.266833633184433, 0.3356805741786957, -0.022527558729052544, -0.07178447395563126, 0.8985399007797241, -0.46654149889945984, 0.6090415716171265, -0.4371812045574188, -0.2771858870983124, 0.12904559075832367, -0.19732262194156647, -0.13732588291168213, -0.05617094039916992, 0.762872040271759, 0.3093099594116211, 0.15318724513053894, -0.20869942009449005, -0.187285378575325, 0.0496748611330986, 0.08466287702322006, -0.5840898752212524, 0.11353711038827896, 0.6150582432746887, -0.03208225592970848, -0.36059683561325073, -0.0395345538854599, -0.6300366520881653, -0.5718598961830139, 0.049334391951560974, 0.5714576840400696, -0.6480733156204224, -0.5175010561943054, 0.5335026383399963, -0.017581839114427567, 0.205452099442482, 0.38212257623672485, -0.7378798723220825, 0.28694164752960205, 0.5617262721061707, 0.5358440279960632, -0.49689972400665283, -0.24427929520606995, -0.14531949162483215, 0.3272910416126251, -0.4091699719429016, 0.7460288405418396, -0.46108829975128174, -0.41078317165374756, 0.08073337376117706, -0.221402108669281, 0.17169825732707977, -0.4636431932449341, 0.4309239089488983, -0.5874505639076233, -0.24413496255874634, 0.006423211190849543, -0.755428671836853, 0.08369556814432144, 0.2707354426383972, -0.6517032384872437, 1.0523416996002197, 0.3657417893409729, -0.6740136742591858, 0.568247377872467, -0.15880833566188812, -0.195939838886261, 0.20692236721515656, -0.12271635234355927, -0.1779124140739441, 0.14183056354522705, -0.10838978737592697, 0.6386556029319763, -0.199777290225029, 0.35031017661094666, -0.6953758001327515, -0.0705738514661789, 0.5950011014938354, -0.4068167805671692, 0.369793176651001, 0.3701271116733551, 0.037724077701568604, 0.018644150346517563, -0.9855814576148987, 0.20371593534946442, -0.004656802397221327, -0.1433255523443222, -0.5060696005821228, 0.11609264463186264, -0.0714186280965805, 0.2260751873254776, 0.5202058553695679, -0.599956214427948, -0.5116921663284302, -0.524116039276123, 0.1683090329170227, 0.5270055532455444, 0.05011077970266342, 0.5898787975311279, -0.1567121148109436, 0.26049160957336426, 0.34624701738357544, 0.22512401640415192, 0.6396765112876892, -0.5456351637840271, -0.5303601026535034, -0.15601883828639984, -0.006410859525203705, 0.668545663356781, -0.526275098323822, 0.8534170985221863, -0.3595563471317291, -0.43979859352111816, -0.2090914100408554, 0.18668949604034424, 0.03310982882976532, 0.3198094069957733, 0.1553853303194046, -0.09702743589878082, -0.32378628849983215, -0.6210429072380066, 0.1413031369447708, -0.35558265447616577, -0.08702018111944199, 0.13513325154781342, 0.4635237455368042, -0.3086746335029602, 1.0428886413574219, -0.5242173075675964, -0.02972300723195076, -0.2274274230003357, -0.24573765695095062, -0.3445585072040558, 0.2908685505390167, 0.16521169245243073, -0.8945603966712952, -0.02082415483891964, -0.10867899656295776, -0.71756911277771, 0.12969602644443512, 0.31235551834106445, -0.10848625004291534, 0.3492543697357178, 0.3016870617866516, -1.089858055114746, 0.3613356053829193, 0.6862004399299622, -0.16713090240955353, 0.35356664657592773, -0.29407766461372375, -0.16461102664470673, -1.1669986248016357, -0.21925140917301178, -0.04901353269815445, 0.07029334455728531, -0.4529648721218109, 0.08580341935157776, 0.04240378364920616, 0.002829010831192136, -0.6121188402175903, 0.72939133644104, -0.008331998251378536, -0.306838721036911, -0.11120976507663727, 0.5167648196220398, 0.0010752654634416103, -0.05790315568447113, 0.26425662636756897, 0.4409731924533844, 0.5841148495674133, -0.7189652323722839, 0.3908653259277344, 0.2701358199119568, -0.5919910073280334, 0.4452909231185913, -0.5908550024032593, -0.3715944290161133, -0.09646333009004593, 0.16220948100090027, -0.9225472211837769, -0.6042892336845398, 0.07947906106710434, -0.4338652491569519, 0.010470923036336899, 0.2304385006427765, -0.7396599650382996, -0.15547606348991394, -0.13003259897232056, 0.39452025294303894, 0.5093493461608887, -0.00006752680928912014, 0.41681233048439026, 0.4946330487728119, -0.03601738065481186, -0.5658940076828003, -0.6712594628334045, -0.12194018810987473, -0.390636682510376, -0.9011948704719543, 0.03028411976993084, -0.1849355697631836, -0.6472885012626648, 0.06638200581073761, -0.34363994002342224, -0.3837296962738037, 0.5608994960784912, 0.1723705530166626, 0.13668915629386902, 0.06351680308580399, 0.34852758049964905, 0.11702985316514969, -0.13639579713344574, 0.14906568825244904, -0.35439184308052063, 0.47719377279281616, 0.06288814544677734, -0.48441967368125916, -0.12024326622486115, 0.41064453125, 0.3286116421222687, 0.02708829753100872, 0.879223108291626, 0.6085920929908752, -0.5856558680534363, -0.36076635122299194, -0.5488782525062561, -0.1805994063615799, -0.44794610142707825, 0.5355849862098694, -0.28735390305519104, -1.273358941078186, 0.5656970739364624, 0.12478909641504288, -0.3096259534358978, 0.533082127571106, 0.6396700143814087, -0.16183680295944214, 0.7141513228416443, 0.5874223113059998, 0.16808222234249115, 0.08999016880989075, 0.21812704205513, 0.36300936341285706, -0.4129704236984253, -0.23081918060779572, -0.6070168614387512, 0.22422191500663757, -0.48823246359825134, -0.5599428415298462, 0.48719659447669983, 0.08716671168804169, -0.06996092945337296, 0.0963187888264656, -0.25061047077178955, 0.1850273758172989, 0.10606471449136734, -0.04034225270152092, 0.2906654477119446, 0.0644628256559372, 0.10008890926837921, 0.1676311194896698, -0.40078413486480713, -0.5051442384719849, 0.8969558477401733, 0.3816143870353699, 0.9473649859428406, 0.259380966424942, 0.6295108199119568, -0.01015293225646019, -0.18962764739990234, -0.7644003033638, 0.6930118799209595, 0.027934052050113678, -0.5790818929672241, -0.783414900302887, -0.6203903555870056, -0.8748131990432739, 0.23187457025051117, -0.3288348913192749, -0.8164896965026855, -0.01466040313243866, -0.1480809450149536, -0.4506949484348297, 0.16569893062114716, -0.7062535881996155, 0.5590618252754211, -0.09366942197084427, 0.09954433143138885, -0.08575079590082169, -0.7505128979682922, 0.26316508650779724, -0.39756274223327637, 0.20978643000125885, -0.5246522426605225, -0.40190649032592773, 0.5344072580337524, -0.4061830937862396, 0.8535051941871643, -0.05405660346150398, -0.5572783946990967, 0.4740335941314697, 0.2756718695163727, 0.650650143623352, 0.24105775356292725, -0.0261096078902483, 0.07861553132534027, 0.3935861587524414, -0.2474476546049118, -0.6138857007026672, 0.840418815612793, -0.8824545741081238, -0.4808410108089447, -0.24132095277309418, -0.9368216395378113, -0.7269064784049988, 0.1531764417886734, 0.3400811553001404, 0.26972493529319763, -0.04520292207598686, 0.15639643371105194, 1.0940816402435303, -0.45798686146736145, 0.22349883615970612, 0.27457576990127563, 0.09374911338090897, -0.18380625545978546, 0.7268341779708862, 0.21064651012420654, 0.42010021209716797, 0.6749289631843567, 0.20937791466712952, -0.5756326913833618, -0.7917400598526001, 0.03194328024983406, -0.04597504064440727, -0.9326562285423279, 0.0003368763136677444, -0.8662180304527283, -0.358257532119751, -0.5291102528572083, -0.1672053039073944, -0.3510988652706146, -0.7744476795196533, -0.19196142256259918, -0.29847535490989685, 0.6153329014778137, 0.5969083309173584, 0.18650515377521515, 0.3308376371860504, -0.6335058212280273, 0.08292447030544281, 0.20164556801319122, 0.6294710636138916, -0.2856563329696655, -0.2633965015411377, -0.07416858524084091, 0.046394433826208115, 0.1498440057039261, -0.6652365326881409, 0.38063669204711914, -0.07738695293664932, 0.5344271659851074, 0.12339392304420471, 0.3692079782485962, 0.37816107273101807, -0.08397848159074783, 0.7906712293624878, 0.08671369403600693, -0.7897019982337952, 0.3612614572048187, -0.3096565902233124, -0.05577066168189049, 0.4503958523273468, 0.4159420430660248, -0.20038212835788727, -0.6324860453605652, -0.6321684718132019, -0.8635789752006531, 0.21966436505317688, 0.1794365793466568, 0.23259608447551727, -0.2874494194984436, 0.4022793769836426, 0.10676579922437668, 0.23346726596355438, -0.4595993459224701, 0.04277690500020981, -0.11153499037027359, -0.5103167295455933, -0.16443198919296265, -0.4922129809856415, -0.05888719484210014, 0.11955380439758301, 0.317342072725296, -0.10072781145572662, 0.33376479148864746, 0.1907288134098053, -0.27682870626449585, -0.0004267112526576966, 0.4162899851799011, 0.62612384557724, 0.5540727972984314, -0.2633287012577057, 0.45378556847572327, 0.4995090365409851, -0.5622869729995728, 0.25487464666366577, -0.13089317083358765, 0.008924519643187523, -0.21993917226791382, 0.20459555089473724, 0.47437670826911926, 0.3034535348415375, -0.8199304342269897, 0.646429181098938, 0.10581456124782562, -0.3916608989238739, -0.7272231578826904, 0.20634610950946808, 0.08143453299999237, 0.12117677181959152, 0.051600269973278046, -0.20296511054039001, 0.14051182568073273, -0.07964996993541718, 0.23228879272937775, 0.5125343799591064, -0.297387957572937, 0.023153604939579964, 0.41549259424209595, -0.08579365164041519, 0.12311840057373047, 0.329150527715683, -0.1083298847079277, 0.03710678219795227, 0.5443882942199707, 0.42441466450691223, 0.7719064950942993, 0.035160936415195465, 0.19437000155448914, -0.00458189332857728, 0.2707277834415436, -0.22899778187274933, 0.4303160309791565, 0.15165092051029205, -1.1150321960449219, -0.52712082862854, -0.8312587141990662, -0.5687008500099182, -0.07647169381380081, -0.5487591028213501, 0.00370107707567513, -0.6295034289360046, -0.2727408707141876, -0.41735902428627014, -0.047634147107601166, -0.3250206708908081, 0.2829992473125458, 0.11119586229324341, 1.0969996452331543, -0.500373899936676, 0.8683398962020874, 0.39585795998573303, -0.10437649488449097, -0.6804212927818298, -0.14277486503124237, -0.15076623857021332, -0.801226019859314, 0.4954422414302826, -0.19542790949344635, -0.21199458837509155, -0.005864501465111971, -0.5526033043861389, -1.1217237710952759, 1.15449857711792, 0.31251516938209534, -0.2545739710330963, -0.02069181203842163, 0.5291121602058411, 0.42358338832855225, -0.2790012061595917, -0.14101317524909973, 0.4612725079059601, 0.3781031668186188, 0.20456784963607788, -0.6171877384185791, 0.07700004428625107, 0.19658392667770386, 0.2624971866607666, 0.1261029690504074, -0.5202692747116089, 0.6866810321807861, -0.02029806561768055, -0.07022133469581604, 0.29445967078208923, 0.6828957200050354, 0.4210662841796875, -0.013440733775496483, 0.473897784948349, 0.761949896812439, 0.8204902410507202, -0.2331106811761856, 1.3432464599609375, -0.3374366760253906, 0.2610359191894531, 0.7478370070457458, -0.6395136117935181, 1.1083179712295532, 0.5979266166687012, 0.013827658258378506, 0.2499881386756897, 0.5413544178009033, 0.33645185828208923, 0.43466469645500183, 0.3129185140132904, -0.45929765701293945, -0.48450154066085815, -0.14162099361419678, -0.17157481610774994, 0.25463640689849854, 0.724320113658905, 0.09203213453292847, -0.17971999943256378, -0.09236849099397659, -0.020684463903307915, -0.22777411341667175, 0.06505794823169708, 0.6385579109191895, 0.19500073790550232, -0.3651805520057678, 0.4484250545501709, 0.024904511868953705, 0.4711630642414093, -0.8772110939025879, 0.2988988161087036, -0.060959089547395706, 0.09213536977767944, -0.09513848274946213, -1.1009658575057983, 0.40454134345054626, -0.3567351996898651, 0.021442070603370667, -0.0058316937647759914, 0.6882360577583313, -0.2684228718280792, -0.40483400225639343, 0.43218716979026794, 0.5935174226760864, 0.1354513168334961, -0.08017782121896744, -0.3320009708404541, 0.3398110568523407, -0.6015602946281433, -0.25415483117103577, 0.5892875790596008, 0.7731098532676697, -0.23099306225776672, 1.0260045528411865, 0.35795512795448303, 0.10746559500694275, 0.3090040981769562, -0.008216621354222298, 0.5333893299102783, -0.40044155716896057, -0.37113770842552185, -0.5514297485351562, 0.24877452850341797, 0.05919788032770157, -0.4103219509124756, 0.784376859664917, 0.0392136350274086, 0.7945709228515625, 0.039173442870378494, 0.7845047116279602, -0.14026571810245514, 0.252091646194458, -0.6635217666625977, 0.6095353960990906, -0.4452642500400543, 0.2650591731071472, -0.30321210622787476, -0.9197680354118347, -0.6238547563552856, 0.6745761036872864, -0.18659590184688568, 0.07918235659599304, 0.86493319272995, 0.876921534538269, 0.23755145072937012, -0.058939378708601, 0.7049395442008972, 0.055415332317352295, 0.04367438703775406, 0.5960438847541809, 1.0126495361328125, -0.1464049071073532, 0.6249135732650757, -0.34897443652153015, -0.027188215404748917, -0.06715956330299377, -0.8022069931030273, -0.6441228985786438, -0.7469264268875122, -0.26937827467918396, -0.45019373297691345, -0.2453267127275467, 0.8055453896522522, 0.7575660943984985, -0.6065381169319153, -0.14604391157627106, -0.09399030357599258, 0.18039073050022125, 0.12997159361839294, -0.1934821754693985, 0.30597808957099915, -0.3881233036518097, -0.39581364393234253, 0.22195729613304138, 0.22510260343551636, 0.49003931879997253, -0.45539528131484985, -0.22956418991088867, 0.25997376441955566, 0.22696609795093536, 0.6898435950279236, -0.1494792252779007, -0.8808137774467468, -0.6994113922119141, 0.03635326027870178, -0.3536701798439026, -0.4089500308036804, 0.3417963981628418, -0.33281639218330383, -0.0002780369541142136, 0.4319196343421936, 0.8147031664848328, 0.209441676735878, -0.3345626890659332, 0.3366377055644989, -0.6989896297454834, 0.2549474835395813, 0.18999244272708893, 0.4567228853702545, 0.23988257348537445, -0.501261293888092, 0.25739407539367676, 0.1799672693014145, -0.3524788022041321, -0.6088051795959473, 0.3619138300418854, -1.273512601852417, -0.22081026434898376, 1.5790621042251587, 0.10574541240930557, -0.3828378915786743, -0.30914318561553955, 0.1930091232061386, -0.11457355320453644, -0.26814010739326477, 0.6328448057174683, 1.0346968173980713, 0.1682274490594864, -0.16411997377872467, -0.6399587988853455, 0.5182227492332458, 0.3946438729763031, -0.8480225801467896, 0.06177305057644844, 0.5718868374824524, 0.4647789001464844, 0.06357396394014359, 0.5058404803276062, -0.30278751254081726, 0.04763108491897583, 0.05131557583808899, 0.031998779624700546, 0.2612461447715759, -0.35213133692741394, -0.17352566123008728, 0.37462496757507324, 0.42381203174591064, 0.27077826857566833 ]
http://arxiv.org/abs/2405.13828v1
http://arxiv.org/pdf/2405.13828v1
Babysit A Language Model From Scratch: Interactive Language Learning by Trials and Demonstrations
2024-05-22T16:57:02
2024-05-22T16:57:02
Ziqiao Ma, Zekun Wang, Joyce Chai
cs.CL
cs.CL, cs.AI
Humans are efficient language learners and inherently social creatures. Our language development is largely shaped by our social interactions, for example, the demonstration and feedback from caregivers. Contrary to human language learning, recent advancements in large language models have primarily adopted a non-interactive training paradigm, and refined pre-trained models through feedback afterward. In this work, we aim to examine how corrective feedback from interactions influences neural language acquisition from the ground up through systematically controlled experiments, assessing whether it contributes to learning efficiency in language models. We introduce a trial-and-demonstration (TnD) learning framework that incorporates three components: student trials, teacher demonstrations, and a reward conditioned on language competence at various developmental stages. Our experiments reveal that the TnD approach accelerates word acquisition for student models of equal and smaller numbers of parameters, and we highlight the significance of both trials and demonstrations. We further show that the teacher's choices of words influence students' word-specific learning efficiency, and a practice-makes-perfect effect is evident by a strong correlation between the frequency of words in trials and their respective learning curves. Our findings suggest that interactive language learning, with teacher demonstrations and student trials, can facilitate efficient word learning in language models.
[ 0.04644022509455681, -1.0002906322479248, 0.48897990584373474, 0.2516436278820038, -0.1716623604297638, 0.1707502156496048, -0.42878612875938416, -0.17350155115127563, 0.01978554204106331, -0.01972436159849167, -0.12057007849216461, -0.10002128034830093, -0.6037298440933228, -0.12529724836349487, -0.3003884255886078, 0.8140046000480652, 0.1165560930967331, 0.29581278562545776, -0.11860980838537216, 0.00991924200206995, -0.18886923789978027, -0.38394132256507874, -1.0852240324020386, -0.6010916233062744, 0.840843915939331, 0.6301947236061096, 0.5158230066299438, 0.834788978099823, 0.14097118377685547, 0.44339072704315186, 0.03166438639163971, -0.024278514087200165, -0.4191341996192932, 0.17451193928718567, -0.13016334176063538, -0.7257792353630066, -0.10906346887350082, 0.2394571602344513, 0.4067498445510864, 1.113332986831665, -0.5778618454933167, -0.16019323468208313, 0.2662297487258911, 0.5377029180526733, -0.4319861829280853, 0.3107733130455017, -0.349228173494339, -0.010791079141199589, 0.09805712103843689, -0.09876357018947601, -0.5625180006027222, -0.7147513628005981, 0.04816853627562523, -0.6973491311073303, 0.1486409604549408, -0.2627872824668884, 0.6051380634307861, -0.1675236076116562, -0.35034042596817017, -0.5385986566543579, -0.7800114154815674, 0.7215347290039062, -0.674315869808197, 0.5192514061927795, 0.44395750761032104, 0.05684444308280945, -0.37360242009162903, -0.8791046142578125, -0.7089486122131348, -0.7054495215415955, -0.03596886619925499, 0.006875013001263142, 0.18421196937561035, 0.1796308010816574, 0.4227908253669739, 0.07033877074718475, -0.1341155767440796, 0.18555395305156708, -0.460370272397995, 0.012094959616661072, 0.4004506468772888, -0.06331747770309448, 0.6545467972755432, -0.1328004002571106, -0.004492643754929304, -0.39792680740356445, -0.7284740209579468, 0.35622164607048035, 0.4823254942893982, 0.6654196977615356, -0.17540167272090912, 0.6082994341850281, -0.1413927972316742, 0.5756136775016785, 0.02201748639345169, -0.01928805187344551, 0.09724603593349457, -0.18223746120929718, 0.11924365162849426, -0.19374175369739532, 0.5622913241386414, 0.03264370560646057, 0.46506422758102417, -0.5222288966178894, -0.39700257778167725, 0.2997860014438629, 0.49282947182655334, -0.707103431224823, -0.22973012924194336, -0.09703662246465683, -0.3078588545322418, -0.5850912928581238, -0.0450885146856308, -0.6496661305427551, -0.3294491767883301, -0.42554616928100586, 0.9455877542495728, -0.526838481426239, -0.4258471429347992, 0.18905657529830933, -0.33314934372901917, 0.23642218112945557, 0.318744957447052, -0.9898000955581665, 0.5603760480880737, 0.6123340129852295, 0.5375016331672668, -0.16610394418239594, -0.4596109688282013, -0.7156472206115723, -0.3213612139225006, -0.6928876638412476, 0.5084971189498901, -0.3718947172164917, -0.37419623136520386, 0.18995891511440277, -0.0904097706079483, -0.2794811725616455, -0.5734456181526184, -0.12209828943014145, -0.7074708342552185, 0.3761850893497467, -0.3641747534275055, -0.587971031665802, -0.18469339609146118, -0.017056843265891075, -0.4514221251010895, 0.7228569388389587, 0.19733916223049164, -0.5236427187919617, 0.5993116497993469, -0.7352367639541626, -0.739230215549469, 0.2249123901128769, -0.12761352956295013, -0.13365538418293, 0.4612049460411072, -0.35782158374786377, 0.2911788523197174, 0.32018840312957764, 0.22606943547725677, -0.1413261890411377, -0.357020765542984, 0.3065641522407532, -0.08493827283382416, 0.6343028545379639, 0.03398248925805092, -0.8871206641197205, 0.05180314555764198, -0.77247154712677, 0.017033573240041733, 0.310001015663147, -0.6208335757255554, -0.45045945048332214, 0.0671088695526123, -0.1319267749786377, 0.10100970417261124, -0.1723409742116928, -0.5319985747337341, 0.24943788349628448, -0.31354695558547974, 0.23069947957992554, 0.5315175652503967, 0.16294462978839874, 0.4443691372871399, -0.3656282126903534, 0.5826194286346436, -0.16711893677711487, 0.04964344948530197, -0.25724658370018005, -0.15391942858695984, -1.0951462984085083, 0.1114831194281578, 0.5202341675758362, 0.11413808912038803, -1.0021637678146362, -0.12605427205562592, 0.07464258372783661, -0.24369904398918152, -0.45602601766586304, 0.28286734223365784, 0.5565961003303528, 0.27444007992744446, 0.08332447707653046, -0.7458714842796326, -0.16014112532138824, -0.6127018928527832, -0.06972534954547882, -0.31063684821128845, 0.03530401736497879, 0.15948733687400818, 0.19896136224269867, 0.2777988016605377, 0.5726341605186462, -0.1669463962316513, -0.010811368934810162, -0.6043866872787476, 0.48439472913742065, -0.19496072828769684, 0.533538281917572, 0.48062852025032043, -0.5098431706428528, -0.237747922539711, -0.22001752257347107, -0.41777503490448, -0.07404767721891403, -0.1246497705578804, 0.020652860403060913, 0.13665293157100677, 0.6305004358291626, -0.446100115776062, 0.39530566334724426, 0.32253605127334595, -0.3641889989376068, 0.3890198767185211, -0.6506871581077576, 0.02892344258725643, -0.8019689917564392, -0.1659233272075653, -0.22990632057189941, -0.2821522057056427, -0.9258484244346619, 0.2391275316476822, 0.1565510630607605, 0.29033929109573364, -0.4687051773071289, 0.2992161810398102, -0.43211057782173157, -0.0008638934814371169, -0.5970308184623718, 0.2188386619091034, -0.25954946875572205, 0.600278913974762, 0.21784207224845886, 0.7694229483604431, 0.23175734281539917, -0.737677276134491, -0.01719263568520546, -0.19835016131401062, -0.3021412491798401, 0.16363763809204102, -0.8320462107658386, 0.38025566935539246, -0.005951595026999712, -0.33835193514823914, -1.062234878540039, -0.17832866311073303, 0.04132858291268349, -0.40651553869247437, 0.5455060601234436, 0.3396177589893341, -0.5485367178916931, -0.005619914270937443, -0.03732351213693619, -0.04275486618280411, 0.6610500812530518, -0.5517343878746033, 0.3566731810569763, 0.29359954595565796, -0.13500292599201202, -0.038699883967638016, -0.41090792417526245, -0.08299699425697327, 0.18343932926654816, -0.033033549785614014, -0.03923237323760986, -0.08996139466762543, -0.37572336196899414, -0.11998619139194489, 0.15878278017044067, 0.047157030552625656, 0.3319881856441498, 0.31751778721809387, -0.05605274811387062, -0.08980342000722885, 0.3526863157749176, -0.09201439470052719, 0.11712303757667542, 0.18702514469623566, -0.002754900138825178, 0.773573100566864, -0.05829498916864395, -0.4124029874801636, -0.20056800544261932, 0.014836074784398079, 0.4743174612522125, -0.010519594885408878, 0.6652134656906128, 0.15133410692214966, -0.3790481388568878, -0.3972071707248688, -0.3622800409793854, -0.5393425226211548, -0.5057248473167419, 0.28669968247413635, -0.20161931216716766, -0.6609302163124084, 0.15459559857845306, -0.10565435886383057, 0.2099532186985016, -0.07215343415737152, 0.2971968650817871, -0.06651400029659271, 0.9904406070709229, 0.9895111918449402, 0.43935197591781616, 0.7239220142364502, -0.3318651616573334, 0.07059609889984131, -0.6670636534690857, -0.27551841735839844, -0.4014863967895508, -0.19535747170448303, -0.38565775752067566, -0.41129767894744873, -0.07544749975204468, 0.30250442028045654, -0.0931750237941742, 0.30031561851501465, 0.029333410784602165, 0.3494056761264801, 0.656397819519043, 0.4164925515651703, 0.2454255074262619, -0.10456681996583939, -0.5976428389549255, -0.18327264487743378, -0.8633800745010376, -0.4519825279712677, 0.9684717059135437, 0.08485567569732666, 0.5132989883422852, 0.032309651374816895, 0.8611343502998352, 0.09306114166975021, 0.8086951375007629, -0.7814585566520691, 0.5505266785621643, 0.05248913913965225, -0.358418345451355, -0.17245039343833923, -0.2527486979961395, -0.9559718370437622, 0.1784864217042923, -0.16046977043151855, -0.6195344924926758, 0.23870794475078583, 0.1282305270433426, -0.3669111430644989, 0.061122018843889236, -0.9321696162223816, 0.6861335039138794, -0.4089753329753876, -0.7759202718734741, -0.4920750856399536, -0.44029945135116577, 0.19914139807224274, -0.12435644119977951, 0.3361533284187317, 0.3839716911315918, 0.06815017759799957, 0.6767139434814453, -0.45186564326286316, 0.9659337997436523, -0.4087834060192108, 0.024255089461803436, 0.2026054561138153, 0.4138156473636627, 0.2688251733779907, -0.2588194012641907, -0.02908208966255188, -0.4521936774253845, -0.44618290662765503, -0.3873227536678314, -0.7373752593994141, 0.45269590616226196, -0.6768291592597961, -0.5400843024253845, -0.3135623335838318, -0.398825466632843, -0.18599720299243927, 0.11407399922609329, -0.16480159759521484, 0.4470350444316864, -0.20064516365528107, 0.354245126247406, 0.554574191570282, -0.29471591114997864, 0.6575356721878052, 0.8161736726760864, -0.6256923079490662, -0.17919094860553741, 0.8641805052757263, 0.19131460785865784, 0.8647987842559814, -0.0774688646197319, 0.3720531761646271, -0.15121489763259888, -0.5875365138053894, -0.23241613805294037, 0.2503150999546051, -0.6902980208396912, 0.31790784001350403, -0.6426849365234375, -0.13064424693584442, -0.16750451922416687, -0.11863179504871368, -0.43007880449295044, -0.4087488055229187, -0.09934351593255997, -0.39041876792907715, 0.07283014804124832, 1.1584547758102417, -0.413711816072464, 0.6063238382339478, -0.3566034436225891, 0.31335294246673584, 0.7276537418365479, 0.22125259041786194, 0.36301910877227783, -0.48407188057899475, -0.01737220399081707, 0.23506753146648407, -0.31209805607795715, -0.8410081267356873, 0.23028786480426788, 0.24851593375205994, 0.5685786008834839, 0.5193912982940674, -0.2161821871995926, 0.4604071378707886, -0.456850528717041, 0.8209229707717896, 0.088139608502388, -0.8296222686767578, 0.3573625385761261, -0.25978055596351624, 0.2275932878255844, 0.46880391240119934, 0.31203633546829224, -0.5933017730712891, -0.5022575855255127, -0.8817093372344971, -0.7692813873291016, 0.7886479496955872, -0.08453941345214844, 0.48277339339256287, -0.07729025930166245, 0.5281111598014832, 0.11404168605804443, 0.4465849995613098, -0.7102147936820984, -0.03559607267379761, -0.05344663932919502, 0.052958305925130844, -0.04600987955927849, -0.19132345914840698, -0.032398637384176254, -0.24786946177482605, 0.6740680932998657, -0.1868329644203186, -0.08083648234605789, 0.053534962236881256, -0.2524918019771576, -0.20045676827430725, 0.21968206763267517, 0.45698776841163635, 0.6853278279304504, 0.08162932842969894, 0.11510338634252548, 0.0994584932923317, -0.479528546333313, 0.181764155626297, -0.1162848174571991, -0.26543617248535156, -0.05893632024526596, 0.5320402979850769, 0.8235447406768799, 0.5892693400382996, -0.4722270965576172, 0.6417720913887024, -0.3750011622905731, -0.22641465067863464, -0.009986573830246925, 0.406588077545166, 0.42077064514160156, 0.16493605077266693, 0.17225661873817444, -0.11725716292858124, -0.031587399542331696, -0.7079629302024841, 0.47889038920402527, 0.28909334540367126, -0.5159854888916016, -0.5526542067527771, 0.5742078423500061, -0.0162094384431839, -0.7816343307495117, 0.7434196472167969, -0.367077112197876, -0.694250762462616, 0.8395463228225708, 0.6709735989570618, 0.7175835371017456, -0.46531492471694946, 0.598357081413269, 0.2507246434688568, 0.27216675877571106, -0.21462146937847137, 0.4913315773010254, -0.37692880630493164, -0.8600137233734131, -0.4109552502632141, -0.6556285619735718, -0.5979477763175964, 0.2318316102027893, -0.7664564251899719, 0.1460743397474289, -0.4967350363731384, 0.018205026164650917, 0.22720593214035034, 0.19870296120643616, -0.6815900802612305, 0.2442924678325653, 0.14705587923526764, 0.8087202310562134, -0.967743992805481, 0.9312410354614258, 0.6761313080787659, -0.48523613810539246, -1.3224616050720215, -0.07165570557117462, -0.2735719680786133, -0.7076009511947632, 0.9046992659568787, 0.20963643491268158, -0.06805086135864258, 0.28667303919792175, -0.6566596627235413, -0.5908065438270569, 0.4824296236038208, 0.08729231357574463, -0.4334047734737396, 0.10160622745752335, 0.021530374884605408, 0.7522850036621094, -0.4018474221229553, 0.4998816251754761, 0.4293808937072754, 0.21787045896053314, 0.09676424413919449, -0.47959670424461365, -0.09831396490335464, -0.24389085173606873, 0.11966244131326675, -0.0813760757446289, -0.45214560627937317, 0.4417060613632202, -0.6996055245399475, -0.20547567307949066, 0.0999903455376625, 0.7168281674385071, 0.2943212687969208, 0.1323471963405609, 0.8618832230567932, 0.346722811460495, 0.34647080302238464, -0.14828282594680786, 1.074963927268982, -0.2354901134967804, 0.0538792759180069, 0.9070400595664978, -0.27160510420799255, 0.9318053126335144, 0.7222896218299866, -0.1512916088104248, 0.5452184081077576, 0.468750536441803, 0.4768828749656677, 0.6102939248085022, 0.5892994403839111, -0.1335422396659851, -0.30721789598464966, -0.20627248287200928, 0.03882131725549698, 0.3211916387081146, 0.28905701637268066, -0.2452380508184433, -0.23195025324821472, 0.2936832904815674, 0.13145078718662262, 0.31876635551452637, 0.05902048200368881, 0.8494600653648376, 0.1848718374967575, -0.8156577348709106, 0.2086830586194992, -0.1802794337272644, 0.45807474851608276, -0.7549281120300293, -0.335931658744812, -0.3428071439266205, 0.18894408643245697, 0.11416424065828323, -0.18997569382190704, 0.035602398216724396, -0.09346657991409302, 0.11169017851352692, -0.3101256191730499, 0.39407089352607727, -0.8068329691886902, -0.22420020401477814, 0.4392523169517517, 0.6261343359947205, 0.0847044438123703, 0.33382728695869446, -0.35217106342315674, -0.02949466183781624, -0.21758511662483215, -0.6981273293495178, 0.5059765577316284, 0.28238433599472046, 0.08710974454879761, 0.4289684593677521, 0.8964896202087402, 0.484257310628891, 0.3667111396789551, 0.26137062907218933, 0.8360764384269714, -0.3610614538192749, -0.29601672291755676, -0.5698810815811157, 0.41685229539871216, -0.024252841249108315, -0.1635621190071106, 0.6339092254638672, 0.3169226050376892, 0.9158777594566345, -0.10069390386343002, 0.7159874439239502, -0.25764545798301697, 0.5364266037940979, -0.290580689907074, 0.7207218408584595, -0.6260921955108643, -0.03355734050273895, -0.0388130359351635, -0.5674236416816711, -0.14336587488651276, 0.7618139982223511, -0.2567143440246582, 0.2168755829334259, 0.7759172916412354, 0.7920730113983154, -0.006046658381819725, 0.098699189722538, 0.310962975025177, 0.16187146306037903, 0.3814026713371277, 0.20844486355781555, 0.8960442543029785, -0.2717505395412445, 0.173089399933815, -0.7820062637329102, -0.3874526917934418, -0.04345107823610306, -0.8826659917831421, -0.7012652158737183, -0.44187188148498535, -0.392745703458786, -0.4478215277194977, 0.44052091240882874, 1.211834192276001, 0.6472405791282654, -0.7809407711029053, -0.5189471244812012, -0.4799879789352417, 0.08326084166765213, -0.3607206642627716, -0.27271562814712524, 0.35948821902275085, -0.9388495683670044, -0.939070463180542, 0.4865723252296448, 0.00013618306547868997, 0.05297920107841492, -0.17108415067195892, -0.043154120445251465, -0.2647547721862793, 0.1840209662914276, 0.4399266242980957, 0.3323635458946228, -0.29381391406059265, -0.3110279142856598, 0.17531323432922363, -0.393348753452301, -0.10515470802783966, 0.9431573152542114, -0.7498595118522644, 0.6300297975540161, 0.4990001320838928, 0.5932976007461548, 0.26762446761131287, -0.1770154982805252, 0.9137849807739258, -0.48946428298950195, 0.24472565948963165, -0.07073377072811127, 0.13148638606071472, 0.4762163460254669, -0.1406928300857544, 0.2573558986186981, 0.35603731870651245, -0.38543298840522766, -0.7471556067466736, 0.07758905738592148, -0.297834575176239, -0.06156552955508232, 1.2007334232330322, -0.21387502551078796, -0.38983264565467834, -0.02688250131905079, -0.17649653553962708, 0.6123225688934326, -0.2100561261177063, 1.0965863466262817, 0.7461066842079163, 0.06169125437736511, -0.15540280938148499, -0.7269983291625977, 0.6513681411743164, 0.5871111154556274, -0.6083195805549622, -0.08007263392210007, 0.26463937759399414, 0.41392648220062256, 0.21582381427288055, 0.5991061329841614, -0.08840855956077576, 0.3099345266819, -0.01938198134303093, 0.39995476603507996, -0.03501563519239426, -0.4775512218475342, -0.6390429735183716, 0.08464079350233078, 0.39276885986328125, -0.29513320326805115 ]
http://arxiv.org/abs/2405.13820v1
http://arxiv.org/pdf/2405.13820v1
Towards Comprehensive and Efficient Post Safety Alignment of Large Language Models via Safety Patching
2024-05-22T16:51:07
2024-05-22T16:51:07
Weixiang Zhao, Yulin Hu, Zhuojun Li, Yang Deng, Yanyan Zhao, Bing Qin, Tat-Seng Chua
cs.CL
cs.CL
Safety alignment of large language models (LLMs) has been gaining increasing attention. However, current safety-aligned LLMs suffer from the fragile and imbalanced safety mechanisms, which can still be induced to generate unsafe responses, exhibit over-safety by rejecting safe user inputs, and fail to preserve general utility after safety alignment. To this end, we propose a novel post safety alignment (PSA) method to address these inherent and emerging safety challenges, including safety enhancement, over-safety mitigation, and utility preservation. In specific, we introduce \textsc{SafePatching}, a novel framework for comprehensive and efficient PSA, where two distinct safety patches are developed on the harmful data to enhance safety and mitigate over-safety concerns, and then seamlessly integrated into the target LLM backbone without compromising its utility. Extensive experiments show that \textsc{SafePatching} achieves a more comprehensive and efficient PSA than baseline methods. It even enhances the utility of the backbone, further optimizing the balance between being helpful and harmless in current aligned LLMs. Also, \textsc{SafePatching} demonstrates its superiority in continual PSA scenarios.
[ 0.01093791238963604, -0.5025824308395386, 0.4198867380619049, 0.2261115312576294, -0.4904504716396332, 0.4322341978549957, 0.12686990201473236, -0.5808629989624023, 0.2804821729660034, 0.6737911701202393, -0.432552695274353, -0.5292148590087891, -0.42739009857177734, -0.40593960881233215, -0.2149409055709839, 0.8145796060562134, -0.19498199224472046, -0.26547256112098694, 0.09799337387084961, -0.07346592098474503, -0.4950300455093384, -0.575035572052002, -0.7195173501968384, -0.15564119815826416, 0.4583435356616974, 0.22972379624843597, 0.6327236890792847, 0.6822502017021179, 0.6743667125701904, 0.36773863434791565, -0.07538027316331863, 0.37531235814094543, -0.4429914057254791, 0.12021399289369583, -0.41586604714393616, -0.1963379979133606, -0.9808412790298462, -0.26763832569122314, 0.6041467189788818, 0.48411163687705994, -0.24672995507717133, -0.046328019350767136, 0.487677663564682, 0.6654839515686035, -1.1327537298202515, -0.03954966738820076, -0.7363824844360352, -0.07094351202249527, -0.2729681730270386, -0.4473213851451874, -0.4784248471260071, -0.7959003448486328, -0.09457749873399734, -0.46393460035324097, -0.4709632098674774, -0.055978287011384964, 0.7445337772369385, 0.09380080550909042, -0.47014716267585754, 0.22920368611812592, -0.5180262327194214, 0.8044131994247437, -0.7056837677955627, 0.05126732587814331, 0.18992723524570465, 0.36700674891471863, -0.39477017521858215, -0.2718207538127899, -0.41840654611587524, 0.22184817492961884, 0.0032149283215403557, -0.2420656532049179, -0.022064685821533203, 0.07341574877500534, 0.08947301656007767, 0.17159876227378845, -0.5744287967681885, 0.3380163609981537, 0.041751258075237274, -0.32953941822052, 0.6334297060966492, 0.16844481229782104, 0.5084311962127686, 0.10837201029062271, -0.7071455121040344, -0.11132960021495819, -1.2814826965332031, 0.022906862199306488, 0.4273591935634613, 0.4666421711444855, -0.1399979144334793, 0.46762213110923767, -0.3849398195743561, 0.6665195226669312, -0.06529516726732254, -0.26758942008018494, 0.5726449489593506, -0.47630298137664795, -0.1560499221086502, 0.1410139799118042, 0.9923805594444275, 0.6568032503128052, 0.2971692979335785, -0.2423936277627945, -0.21935993432998657, 0.18789829313755035, 0.388991117477417, -0.4874456226825714, -0.16916759312152863, 0.12584756314754486, -0.06326214969158173, -0.847648561000824, -0.031465496867895126, -0.9224855899810791, -0.5807528495788574, -0.285122811794281, 0.35913175344467163, -0.18054154515266418, -0.31727874279022217, 0.4494267404079437, 0.6169418096542358, 0.3266337215900421, 0.1542394608259201, -0.9816606044769287, 0.06754515320062637, 1.025974154472351, 0.8530462980270386, 0.010469948872923851, -0.2389463633298874, -0.7765701413154602, 0.6064369082450867, -0.4749957323074341, 0.9188337922096252, -0.27897095680236816, 0.07994656264781952, 0.3478527069091797, 0.30704185366630554, -0.026887834072113037, -0.041419584304094315, 0.5481938719749451, -0.5549255013465881, -0.08672762662172318, -0.4562561511993408, -0.12484612315893173, 0.18145719170570374, 0.3209295868873596, -0.40058478713035583, 0.7973920106887817, -0.26658007502555847, -0.9346425533294678, 0.3386213183403015, -0.15183408558368683, -0.6578673124313354, -0.33705437183380127, 0.119026318192482, -0.6427634358406067, -0.215390145778656, 0.2718883156776428, 0.351809561252594, -0.00901925191283226, 0.2769506275653839, -0.6306514739990234, -0.3372705280780792, 0.24743764102458954, -0.20824147760868073, 0.7759328484535217, 0.08090223371982574, -0.3381986916065216, 0.3524268865585327, -0.5650736093521118, -0.002542775357142091, 0.016781624406576157, -0.3324039876461029, -0.5376538634300232, 0.11128160357475281, 0.026443399488925934, 0.5806867480278015, 0.4896197021007538, -0.6009566783905029, 0.25574514269828796, -0.5314271450042725, 0.1690157800912857, 1.1792937517166138, -0.27393707633018494, 0.6005412936210632, -0.5080167055130005, 0.3550962209701538, -0.3615507185459137, 0.4925164580345154, -0.1410224735736847, -0.09257551282644272, -0.44358521699905396, -0.352103590965271, 0.13514968752861023, 0.903826117515564, -0.5476272106170654, 1.0915942192077637, -0.26078492403030396, -0.4536316990852356, -0.2526663541793823, 0.0853118821978569, 0.7339380979537964, 0.4457134008407593, 0.2543219327926636, -0.500323474407196, -0.5942800641059875, -0.8424525856971741, -0.26327458024024963, -0.12259507924318314, -0.1334155648946762, -0.16392385959625244, -0.21656087040901184, -0.16932088136672974, 0.7202115058898926, -0.49706020951271057, -0.20770785212516785, -0.1366988867521286, -0.11346212029457092, -0.06931596249341965, 0.8558552861213684, 0.6457446813583374, -0.2370743453502655, -0.3928787410259247, 0.10435447841882706, -0.7120557427406311, -0.3503051698207855, -0.10634390264749527, -0.5169914364814758, 0.5309501886367798, 0.5831823945045471, -0.6730563044548035, 0.06327717751264572, 0.7102055549621582, -0.3813609778881073, 0.3015177547931671, -0.04695368930697441, 0.4102541208267212, -1.3961567878723145, 0.17308567464351654, -0.18483662605285645, -0.3216235041618347, -0.6836263537406921, 0.1500341147184372, 0.25766074657440186, 0.024834265932440758, -0.6784724593162537, 0.20600350201129913, -0.45084965229034424, 0.019553963094949722, -0.3985564410686493, 0.10933312028646469, -0.16914886236190796, 0.24318502843379974, -0.16759590804576874, 0.4007057547569275, 0.6851798892021179, -0.15458635985851288, 0.08746200799942017, 0.2024552971124649, -0.26853010058403015, 0.4684222638607025, -0.49893856048583984, 0.4742676019668579, -0.07442138344049454, 0.4378913342952728, -0.9765190482139587, -0.1256990283727646, 0.41533219814300537, 0.1855989396572113, 0.5431920289993286, -0.31280267238616943, -0.6790308952331543, 0.003945242613554001, -0.6899351477622986, 0.44164612889289856, 0.470625638961792, -0.42658090591430664, 0.5493495464324951, 0.7844252586364746, -0.503929615020752, -0.8834083676338196, -0.4421977400779724, 0.10908185690641403, -0.37093526124954224, -0.6764061450958252, 0.21054591238498688, -0.014952625147998333, -0.015350323170423508, -0.4610128700733185, -0.293978750705719, 0.16670572757720947, 0.260098397731781, 0.09916718304157257, 0.5396347045898438, -0.07527804374694824, -0.23136506974697113, 0.31135907769203186, -0.686698317527771, -0.16397030651569366, -0.001792333205230534, 0.627517580986023, -0.06613718718290329, -0.4761793315410614, -0.5350766777992249, 0.4594549834728241, 0.6863521337509155, -0.32017630338668823, 0.678139328956604, -0.015972403809428215, -0.5157133936882019, 0.21856103837490082, -0.6912909746170044, -0.3340579867362976, -0.5337908267974854, 0.15721997618675232, -0.03392526134848595, -0.8741099834442139, 0.3002893030643463, -0.05911581218242645, 0.5269521474838257, -0.00019355416588950902, -0.02301989682018757, -0.1699250489473343, 0.9957696795463562, 0.7211822271347046, -0.25139835476875305, 0.39190515875816345, 0.5143601894378662, 0.6440879106521606, -0.4158244729042053, -0.14094549417495728, -0.6713045239448547, -0.26617372035980225, -0.4796513319015503, -0.456124484539032, 0.14134575426578522, 0.4093952775001526, -0.38333702087402344, 0.6396694183349609, -0.376186728477478, 0.8219423890113831, 0.15710189938545227, 0.14882521331310272, 0.2567305862903595, 0.08243352174758911, 0.244350865483284, -0.030557988211512566, -0.3037283718585968, -0.5949369668960571, 0.9114115238189697, 0.4578486680984497, 0.8660268783569336, 0.2448267936706543, 0.6487590074539185, -0.3196766972541809, 0.23924057185649872, -0.31362852454185486, 0.804218053817749, -0.4368833601474762, -0.1678789108991623, -0.24932438135147095, -0.28194519877433777, -0.6331150531768799, 0.2904905676841736, -0.6018909811973572, -0.9489297866821289, 0.0737311914563179, 0.571732759475708, -0.4028066098690033, 0.5223678350448608, -0.5656230449676514, 0.8909283876419067, -0.3131588399410248, -0.453798770904541, -0.22253085672855377, -0.9408969879150391, 0.5552524328231812, -0.34253764152526855, 0.2568456828594208, -0.12783785164356232, 0.07446134835481644, 0.5157544016838074, -0.3273952901363373, 0.9838345050811768, -0.01484659407287836, -0.37861594557762146, -0.2114732563495636, 0.07605159282684326, 1.0398521423339844, -0.3304313123226166, 0.061120204627513885, 0.05693190172314644, -0.03155301883816719, -0.6252632141113281, -0.42505979537963867, 0.8585519194602966, -0.21881012618541718, -0.44671186804771423, -0.664146900177002, -0.7144729495048523, -0.6037900447845459, 0.39102086424827576, -0.17985017597675323, 0.22341947257518768, 0.01916215382516384, 0.0871402770280838, 0.7947437167167664, -0.46012917160987854, 0.5248987078666687, 0.7362207174301147, -0.097621388733387, -0.346655011177063, 0.811343252658844, 0.03297930955886841, 0.3271859884262085, 0.5209218859672546, 0.008230946026742458, -0.4007611572742462, -0.825462818145752, -0.2520633935928345, 0.2328953891992569, -0.5513003468513489, -0.3058732748031616, -0.7723305821418762, -0.10165947675704956, -0.4890616238117218, -0.6182363033294678, -0.46451056003570557, -0.33976203203201294, 0.10833350569009781, -0.46957749128341675, 0.24020618200302124, 0.470700740814209, -0.21572384238243103, 0.16105996072292328, -0.9277887940406799, 0.2042088657617569, 0.23237186670303345, 0.5519106984138489, -0.2993910312652588, -0.04235803708434105, 0.06982852518558502, -0.2789780795574188, -0.25839763879776, -0.697062611579895, 0.07495563477277756, -0.2897815704345703, 0.43044739961624146, 0.43542999029159546, 0.3453899025917053, 0.6076623797416687, -0.7545758485794067, 0.6262430548667908, 0.5750956535339355, -0.8726810812950134, 0.5571563243865967, -0.5382207632064819, 0.08869016170501709, 0.7514414191246033, 0.0678766742348671, -0.39194339513778687, -0.47963762283325195, -0.14001864194869995, -1.423780083656311, 0.5679193735122681, -0.04813333973288536, 0.2318771481513977, -0.13585442304611206, 0.0260289516299963, 0.03420273959636688, 0.1259864717721939, -0.6480951309204102, 0.03648390248417854, 0.06991312652826309, -0.12300239503383636, -0.048153333365917206, -0.5802094340324402, -0.40124133229255676, 0.20545917749404907, 0.9877068400382996, -0.2198701649904251, -0.2289186269044876, -0.4273802638053894, 0.033809397369623184, -0.2813870906829834, 0.545365035533905, 0.7339254021644592, 0.6941186785697937, -0.10679931193590164, 0.3835497200489044, 0.20561760663986206, -0.16529324650764465, 0.3121304214000702, 0.1382601261138916, -0.13687735795974731, -0.48275026679039, 0.36842507123947144, 0.4298609793186188, 0.49990180134773254, -0.5674483776092529, 0.509194016456604, 0.17078500986099243, 0.18626582622528076, 0.13667038083076477, -0.01970674656331539, 0.10432886332273483, 0.0723627358675003, 0.02894674614071846, 0.26875293254852295, -0.16755984723567963, -0.4296262860298157, 0.45276114344596863, 0.5106926560401917, -0.3222944438457489, -0.12244610488414764, 0.3778168559074402, 0.29943498969078064, -0.2553179860115051, 0.04626953974366188, 0.2734662592411041, -0.34975457191467285, 0.3066677451133728, 0.4592951238155365, 0.9762710332870483, -0.7186251878738403, 0.07900345325469971, 0.25938332080841064, 0.6354712843894958, -0.33277300000190735, 0.3294360637664795, 0.24997065961360931, -0.4574055075645447, -0.6176686882972717, -0.6402633190155029, -0.19484928250312805, 0.023183897137641907, -0.4034947156906128, 0.2291906625032425, -0.4645575284957886, 0.21727877855300903, -0.46259260177612305, -0.4836680591106415, -0.08845088630914688, -0.0039263758808374405, -0.10515279322862625, 0.8847746253013611, -1.2220137119293213, 0.8370304107666016, 0.472758024930954, -0.0013520907377824187, -0.8977866172790527, 0.33957207202911377, 0.19562660157680511, -0.5061286687850952, -0.11326336115598679, 0.22926011681556702, -0.25852492451667786, -0.4730047285556793, -0.033390577882528305, -0.9411792755126953, 0.844764232635498, 0.913866400718689, -1.1021076440811157, -0.013762147165834904, 0.29003459215164185, 0.40790387988090515, 0.027138376608490944, -0.23820506036281586, 0.5438713431358337, 0.33487850427627563, 0.07166854292154312, -1.0480979681015015, 0.6025893688201904, -0.3159405291080475, -0.018162289634346962, 0.432219922542572, -0.5990684032440186, 0.3288135230541229, 0.08929099887609482, -0.06571436673402786, 0.2580106854438782, 0.3872245252132416, 0.6994121670722961, 0.33486407995224, 0.8749619126319885, 0.6918280720710754, 0.6093527674674988, -0.19882218539714813, 0.8856983184814453, -0.1654338240623474, 0.23293361067771912, 1.1446160078048706, -0.4604152739048004, 0.8709743022918701, 0.7259503602981567, -0.056167688220739365, 0.1327616423368454, 0.5796517133712769, 0.6027801036834717, 0.9794328808784485, 0.23394589126110077, -0.4184316098690033, -0.4480879306793213, 0.014052928425371647, -0.6146436929702759, 0.13035167753696442, -0.14090245962142944, -0.2273673266172409, -0.20578962564468384, -0.18744488060474396, 0.23095349967479706, 0.000982134835794568, -0.16389918327331543, 0.9296703338623047, 0.07055151462554932, -0.7300443053245544, 0.40743836760520935, -0.271360844373703, 0.6773478388786316, -0.7186957597732544, 0.08084239810705185, -0.15437616407871246, 0.2293132245540619, -0.28151440620422363, -0.8729844093322754, 0.6882488131523132, -0.0911841094493866, -0.044037461280822754, -0.39036470651626587, 0.6375612020492554, -0.5527592897415161, -0.226289764046669, 0.4402160346508026, -0.26472052931785583, -0.18269778788089752, 0.16500288248062134, -0.43170157074928284, 0.3379470407962799, -0.29172274470329285, -0.09302496910095215, 0.7433918714523315, 0.21272118389606476, -0.22456495463848114, 0.42048200964927673, 0.6793359518051147, -0.09934847801923752, -0.03189225122332573, 0.03544970229268074, 0.9224953055381775, -0.3757477402687073, -0.9236363768577576, -0.6873345375061035, 0.8921859264373779, -0.23634536564350128, 0.07943835854530334, 0.4949033856391907, 0.3429729640483856, 0.43511706590652466, -0.08886419981718063, 0.7725868225097656, 0.11658956110477448, 0.26927873492240906, -0.8142297863960266, 0.9239258766174316, -0.3682060241699219, 0.5220881104469299, -0.8933311104774475, -0.867241382598877, -0.686560869216919, 0.4639928340911865, -0.2711540758609772, -0.24475730955600739, 0.6330040693283081, 1.1413278579711914, -0.1938527375459671, -0.11221960186958313, 0.27070122957229614, 0.12522773444652557, 0.5060195326805115, 0.7097334265708923, 0.6446516513824463, -0.3162345886230469, 0.5198051929473877, -0.3681141436100006, -0.6075937747955322, -0.03896067291498184, -1.3705693483352661, -0.7490527033805847, -0.36825063824653625, -0.4546926021575928, -0.5734145641326904, 0.4458567202091217, 0.8271260261535645, 0.7783516049385071, -1.1490670442581177, 0.2058502435684204, -0.20744840800762177, 0.003566007362678647, -0.3137500584125519, -0.17719528079032898, 0.5056501626968384, -0.18834801018238068, -0.5578076839447021, 0.7779470682144165, 0.6286619305610657, 0.11128512769937515, -0.048258617520332336, 0.02826555073261261, -0.018807996064424515, 0.1721215397119522, 0.5392965078353882, 0.48589587211608887, -0.6053832173347473, -0.7465276718139648, -0.30806592106819153, -0.2353629171848297, -0.27307218313217163, 0.7989454865455627, -0.25136974453926086, 0.23950381577014923, 0.8168925642967224, 0.9578577876091003, -0.013782828114926815, -0.10966958850622177, 0.9523250460624695, -0.8098720908164978, 0.2766570746898651, -0.07671231031417847, 0.6470214128494263, 0.49006617069244385, -0.4470301866531372, 0.3294091820716858, -0.035153355449438095, -0.431937038898468, -1.0839051008224487, 0.5166332721710205, -1.406926155090332, -0.06721549481153488, 1.0980095863342285, -0.342366099357605, 0.09658505767583847, -0.3173013925552368, -0.3448012173175812, 0.22042879462242126, -0.2936200797557831, 1.185281753540039, 0.34823769330978394, 0.34111472964286804, -0.23520292341709137, -0.004778948612511158, 0.4759168326854706, 0.6529890298843384, -1.198537826538086, 0.3278349041938782, 0.3847663998603821, 0.41212236881256104, 0.1441996991634369, 0.7268410921096802, -0.46247750520706177, 0.41382837295532227, -0.6016719937324524, -0.1520693302154541, 0.11247696727514267, -0.4056459069252014, -0.4983668923377991, 0.5249334573745728, -0.13012024760246277, -0.4146381616592407 ]
http://arxiv.org/abs/2405.13816v2
http://arxiv.org/pdf/2405.13816v2
Getting More from Less: Large Language Models are Good Spontaneous Multilingual Learners
2024-05-22T16:46:19
2024-06-18T16:30:01
Shimao Zhang, Changjiang Gao, Wenhao Zhu, Jiajun Chen, Xin Huang, Xue Han, Junlan Feng, Chao Deng, Shujian Huang
cs.CL
cs.CL
Recently, Large Language Models (LLMs) have shown impressive language capabilities. While most of the existing LLMs have very unbalanced performance across different languages, multilingual alignment based on translation parallel data is an effective method to enhance the LLMs' multilingual capabilities. In this work, we discover and comprehensively investigate the spontaneous multilingual alignment improvement of LLMs. We find that LLMs instruction-tuned on the question translation data (i.e. without annotated answers) are able to encourage the alignment between English and a wide range of languages, even including those unseen during instruction-tuning. Additionally, we utilize different settings and mechanistic interpretability methods to analyze the LLM's performance in the multilingual scenario comprehensively. Our work suggests that LLMs have enormous potential for improving multilingual alignment efficiently with great language and task generalization.
[ -0.18949876725673676, -0.7682939171791077, 0.582879364490509, 0.1372671276330948, -0.07584185898303986, 0.3068808317184448, -0.7108001112937927, -0.4851636290550232, 0.253793865442276, 0.12723128497600555, -0.7467315196990967, -0.3795422911643982, -0.5757948160171509, 0.17804689705371857, -0.2912895381450653, 0.8759905099868774, 0.01074307132512331, 0.4493672251701355, -0.2846166789531708, -0.28989121317863464, -0.5481047034263611, -0.2393786609172821, -0.28362327814102173, -0.3145255148410797, 0.7331648468971252, 0.4857828617095947, 0.6304316520690918, 0.8942602276802063, 0.4476117789745331, 0.3495808243751526, 0.0026805726811289787, 0.3608230650424957, -0.6229050755500793, -0.031848836690187454, -0.04040757566690445, -0.683238685131073, -0.6237789392471313, -0.179094135761261, 1.015173316001892, 0.7937341928482056, -0.3385949730873108, 0.060207005590200424, 0.26395606994628906, 0.6848809123039246, -0.41325119137763977, 0.06778670847415924, -0.6115652322769165, -0.07055611908435822, -0.5005651712417603, 0.025969011709094048, -0.5393656492233276, -0.2651849687099457, -0.07319332659244537, -0.8543902039527893, 0.013828063383698463, 0.12620700895786285, 0.7590727806091309, 0.17507676780223846, -0.6836822032928467, -0.09119567275047302, -0.7381777167320251, 1.0020723342895508, -0.6781888604164124, 0.7307757139205933, -0.04834611341357231, 0.20268090069293976, -0.050862930715084076, -0.19270190596580505, -0.697907030582428, 0.051468126475811005, -0.00611776253208518, 0.11846669018268585, 0.2838088572025299, -0.05380231514573097, 0.18668299913406372, 0.35021430253982544, -0.8344173431396484, 0.45401015877723694, -0.059429410845041275, -0.21721850335597992, 0.5527046322822571, 0.3285615146160126, 0.40726590156555176, 0.28222543001174927, -0.23847709596157074, -0.02579406276345253, -0.8565545082092285, 0.011756662279367447, 0.46237507462501526, 0.41625145077705383, -0.46813297271728516, 0.6971836686134338, 0.04571999981999397, 1.0770207643508911, -0.19514711201190948, -0.45611533522605896, 0.1169181540608406, -0.6479904651641846, 0.04485613480210304, -0.003814208321273327, 0.5145431160926819, 0.3235430121421814, 0.3118482530117035, -0.1398976594209671, 0.03945785015821457, -0.10554731637239456, -0.18984822928905487, -0.6629617810249329, 0.12411118298768997, 0.05881921574473381, -0.21075379848480225, 0.16217033565044403, -0.04018646478652954, -0.5465496182441711, -0.29631298780441284, -0.8013126850128174, 0.043647438287734985, -0.3289816677570343, -0.25083136558532715, 0.08919253945350647, 0.2085321545600891, 0.3682277202606201, 0.5428558588027954, -0.9799306392669678, 0.016143376007676125, 0.8736507296562195, 0.7595573663711548, -0.31702837347984314, -0.6289526224136353, -0.5769028663635254, 0.33648720383644104, -0.5895949602127075, 0.5217462778091431, -0.6174952983856201, 0.19706137478351593, 0.08746170252561569, 0.27030467987060547, -0.39234060049057007, -0.3010818660259247, 0.12276012450456619, -0.7083823084831238, 0.1855170726776123, -0.5947149395942688, -0.739408552646637, -0.156061589717865, 0.3568311929702759, -0.5977665185928345, 0.6542490720748901, -0.342641144990921, -0.46844616532325745, 0.3895524740219116, -0.36098575592041016, -0.4986605942249298, -0.044727519154548645, -0.08258331567049026, -0.022396866232156754, 0.17469462752342224, 0.2209199219942093, 0.24853850901126862, -0.37114983797073364, 0.3700830042362213, -0.35798656940460205, -0.3436516225337982, 0.347349613904953, -0.6228291392326355, 0.6553353071212769, 0.12170249223709106, -0.06560122221708298, 0.09799209982156754, -0.5530678033828735, -0.1479196846485138, -0.0332556776702404, -0.45411381125450134, -0.17154616117477417, -0.03331919014453888, -0.13822627067565918, 0.3022250831127167, 0.5213184356689453, -0.5427821278572083, 0.4385182857513428, -0.4450555443763733, 0.09881964325904846, 0.7358626127243042, -0.4081411361694336, 0.6584911346435547, -0.26550257205963135, 0.5502471923828125, -0.050759099423885345, 0.021519120782613754, -0.22817499935626984, -0.525788426399231, -0.7473565340042114, -0.37453940510749817, 0.46905040740966797, 0.6856790781021118, -0.6785100102424622, 0.07622954994440079, -0.5462759733200073, -0.14316211640834808, -0.7564082145690918, 0.7561489343643188, 0.4442230463027954, 0.5100806951522827, 0.2910916805267334, 0.011499716900289059, -0.3775410056114197, -0.7997013330459595, -0.20558565855026245, 0.38357824087142944, 0.21196319162845612, 0.05959723889827728, -0.005008703097701073, -0.14768363535404205, 0.4285808205604553, -0.4509188234806061, -0.21243099868297577, -0.4383644759654999, -0.042272716760635376, 0.3634709119796753, 0.484584242105484, 0.33387863636016846, -0.5366491675376892, -0.7989225387573242, 0.40409305691719055, -0.8160474896430969, 0.18839502334594727, -0.06438615918159485, -0.301948219537735, 0.4620581567287445, 0.4993763566017151, -0.6302695274353027, -0.13445787131786346, 0.6929497718811035, 0.07805376499891281, 0.24713872373104095, -0.37977901101112366, 0.1481570452451706, -1.0546883344650269, -0.0916212722659111, -0.054336562752723694, -0.2315790355205536, -0.6417607069015503, 0.16328935325145721, 0.4600631892681122, 0.031128602102398872, -0.4613214433193207, 0.5800226926803589, -0.7873581051826477, 0.02561318129301071, -0.2863394320011139, 0.30642396211624146, -0.11977515369653702, 0.3768695890903473, 0.043646227568387985, 0.607822060585022, 0.6932151317596436, -0.3610842227935791, 0.34074345231056213, 0.12474970519542694, -0.4549243450164795, 0.42272084951400757, -0.25025784969329834, 0.1788487285375595, -0.33857932686805725, 0.12614749372005463, -1.0035854578018188, -0.6059351563453674, -0.22226165235042572, -0.16582895815372467, 0.7633011937141418, -0.12502747774124146, -0.5525454878807068, -0.15551476180553436, -0.25235676765441895, 0.4537495970726013, 0.2929525673389435, -0.6483876705169678, 0.39103153347969055, 0.20450474321842194, -0.27488380670547485, -0.7771872878074646, -0.6521170139312744, 0.04007302224636078, -0.1071687787771225, -0.5960111618041992, 0.03800546005368233, -0.11233178526163101, -0.22153468430042267, -0.2654675841331482, -0.029680751264095306, 0.034283146262168884, 0.040969543159008026, -0.15874454379081726, 0.5118190050125122, -0.5271551012992859, 0.31343185901641846, 0.2647804021835327, -0.0435824990272522, -0.31198689341545105, -0.2512889504432678, 0.6894614696502686, 0.08700532466173172, -0.4875732958316803, -0.5425562262535095, 0.3029906451702118, 0.5999254584312439, -0.2631720304489136, 1.0085958242416382, 0.5185547471046448, -0.23812852799892426, -0.015086700208485126, -0.726813554763794, -0.1165165901184082, -0.4615769684314728, 0.39396166801452637, -0.28844356536865234, -1.0535520315170288, 0.41361770033836365, 0.03611176460981369, 0.14118483662605286, 0.2544766962528229, 0.5723414421081543, -0.09910822659730911, 1.3332430124282837, 0.7581707835197449, -0.2932102084159851, 0.2782590091228485, 0.1679157316684723, 0.16010089218616486, -0.7092750668525696, -0.29126429557800293, -0.3215726912021637, -0.5833938717842102, -0.6603537797927856, -0.5178861021995544, 0.2811000645160675, 0.2550271153450012, 0.013923858292400837, 0.21432210505008698, -0.2024388313293457, 0.73401939868927, 0.2970302700996399, -0.039137013256549835, 0.33442196249961853, 0.03276016190648079, -0.19476135075092316, -0.4221426844596863, -0.7131648063659668, -0.36494389176368713, 1.0829811096191406, 0.13440829515457153, 0.766711950302124, 0.4560422897338867, 0.46389180421829224, -0.35030120611190796, 0.43780532479286194, -0.5749897956848145, 0.2931027412414551, -0.30556148290634155, -0.645916223526001, -0.3998008668422699, -0.44902434945106506, -0.8645925521850586, 0.3676019310951233, -0.32817429304122925, -0.7529082298278809, -0.07363588362932205, 0.2749841511249542, -0.253907710313797, 0.07761257886886597, -0.6959001421928406, 0.9040213823318481, -0.6051645278930664, -0.60976642370224, -0.2751545310020447, -0.5897632241249084, 0.6506674289703369, -0.41992875933647156, 0.4866957664489746, -0.07690702378749847, -0.2526680529117584, 0.4146130681037903, -0.31279629468917847, 0.8063554167747498, -0.10834791511297226, -0.47513827681541443, -0.0824006199836731, -0.12502790987491608, 0.6969467997550964, 0.08218489587306976, -0.05454709753394127, 0.09056724607944489, -0.1987118422985077, -0.566420316696167, -0.714927613735199, 1.112757921218872, -0.6958305239677429, -0.6571014523506165, -0.11604846268892288, -0.9940174221992493, -0.2763955593109131, 0.2560286223888397, 0.16370011866092682, 0.28465279936790466, -0.05836879462003708, 0.1518479436635971, 0.6596695184707642, -0.23663948476314545, 0.6373717188835144, 0.8050004243850708, -0.46145954728126526, -0.2967333197593689, 1.1659331321716309, 0.3378349244594574, 0.33659040927886963, 0.7974587082862854, 0.15833723545074463, -0.5781598091125488, -0.4264252185821533, -0.7308926582336426, 0.47415152192115784, -0.4884563684463501, -0.0384100116789341, -0.6775851845741272, 0.2779161036014557, -0.6129721999168396, -0.16050100326538086, -0.3832680583000183, -0.47584041953086853, -0.08541648089885712, -0.11223285645246506, 0.1568368524312973, 0.608001708984375, -0.04847606271505356, 0.34982502460479736, -0.9531099796295166, 0.09881541132926941, 0.31328263878822327, 0.052875369787216187, 0.10293172299861908, -0.5701287984848022, -0.3648243546485901, 0.17547820508480072, -0.22349543869495392, -0.6358954310417175, 0.36912715435028076, 0.3465559780597687, 0.523989200592041, 0.6033645272254944, -0.2878563404083252, 1.056552767753601, -0.6932507157325745, 0.5309162139892578, 0.2844403386116028, -0.9326441287994385, 0.13158002495765686, -0.41136837005615234, 0.5269308090209961, 0.43080440163612366, 0.46318912506103516, -0.5026249289512634, -0.4052920341491699, -0.06931205093860626, -0.7562750577926636, 0.7591205835342407, -0.2080901861190796, 0.23630140721797943, 0.15266020596027374, 0.2089919149875641, 0.12729276716709137, 0.31632569432258606, -0.7647138237953186, -0.28779080510139465, 0.20631073415279388, -0.3628270626068115, -0.5687739849090576, -0.1565844863653183, -0.21550564467906952, -0.39321771264076233, 0.6351211071014404, -0.2410774976015091, -0.011358505114912987, -0.37142297625541687, -0.45403164625167847, -0.2616628408432007, 0.304768443107605, 1.019067406654358, 0.7000911235809326, 0.18128973245620728, 0.16939310729503632, 0.40919214487075806, -0.12478560954332352, 0.38536563515663147, 0.07424680888652802, -0.018389737233519554, -0.20408566296100616, 0.584243893623352, 0.7356577515602112, 0.3507266044616699, -0.7211923599243164, 0.47866135835647583, 0.028041278943419456, 0.07789436727762222, -0.06481719762086868, -0.00856110267341137, 0.5728640556335449, 0.21295084059238434, 0.16600646078586578, -0.15827345848083496, -0.29660552740097046, -0.3617205023765564, 0.09912501275539398, 0.637346625328064, -0.23080620169639587, -0.4577423632144928, 0.7084450721740723, 0.030659427866339684, -0.12387865036725998, 0.6189002990722656, -0.22827297449111938, -0.2750440537929535, 0.3962651789188385, 0.7517369389533997, 0.3466878831386566, -0.4399849474430084, 0.03713187575340271, 0.3829520046710968, 0.5485032200813293, -0.2488313615322113, 0.28946352005004883, -0.10530973225831985, -0.8966649174690247, -1.076554775238037, -0.6312355995178223, -0.2518395483493805, 0.07101666182279587, -0.6875403523445129, 0.3531862199306488, -0.12470503896474838, 0.33811625838279724, -0.07489857077598572, -0.11132564395666122, -0.5629239678382874, -0.06096263229846954, 0.12016335874795914, 0.6786944270133972, -0.9472125768661499, 1.2019659280776978, 0.7777049541473389, -0.01012368779629469, -1.0161359310150146, -0.12140215933322906, 0.3064359724521637, -0.9383751153945923, 0.6220313310623169, 0.3353029191493988, 0.09785643219947815, 0.06095711514353752, -0.4353543221950531, -1.1089519262313843, 0.8664039373397827, 0.8860747814178467, -1.2073153257369995, 0.11770755797624588, 0.42464718222618103, 0.5455021262168884, -0.13359583914279938, 0.11347443610429764, 0.2799847424030304, 0.5769699215888977, 0.005013617221266031, -0.722465991973877, -0.1299239993095398, -0.12441786378622055, -0.20107606053352356, 0.532734215259552, -0.7014627456665039, 0.793061375617981, -0.18186192214488983, -0.06278739124536514, 0.10001778602600098, 0.5979990363121033, 0.1307782232761383, 0.2477431297302246, 0.13724012672901154, 0.7503190636634827, 0.9324953556060791, -0.07335840165615082, 1.1071799993515015, -0.49992579221725464, 0.25843504071235657, 1.3477658033370972, -0.7327102422714233, 0.7648450136184692, 0.4996061623096466, -0.025896873325109482, 0.17112304270267487, 0.47138094902038574, 0.1459612399339676, 0.2813147008419037, -0.050179917365312576, -0.27459049224853516, -0.610439121723175, -0.14043836295604706, -0.3147752583026886, 0.3586483597755432, 0.18967993557453156, -0.07880596071481705, -0.1831226795911789, 0.19709113240242004, 0.08933591842651367, 0.070967897772789, -0.11456483602523804, 0.6739801168441772, 0.04604733735322952, -0.7374163866043091, 0.6717122793197632, -0.08235006034374237, 0.7401238679885864, -0.4751758575439453, 0.026676397770643234, -0.40077725052833557, 0.2284981906414032, -0.28787416219711304, -0.3106701970100403, 0.19432280957698822, 0.07494223117828369, -0.3044065535068512, -0.25599634647369385, 0.2721317410469055, -0.8636220693588257, -0.7113043069839478, 0.3789883255958557, 0.7195666432380676, 0.10327967256307602, 0.2828124165534973, -0.4793434739112854, 0.11869454383850098, 0.07264689356088638, -0.06281320005655289, 0.7416330575942993, 0.4967534840106964, -0.055567674338817596, 0.5432313680648804, 0.7205712199211121, 0.2446991354227066, 0.2799176871776581, 0.059687189757823944, 0.5359837412834167, -0.5799081921577454, -0.14264273643493652, -0.9927855134010315, 0.481158971786499, -0.006615319289267063, -0.13959909975528717, 1.0387417078018188, 0.7846723198890686, 1.0200468301773071, -0.06389115750789642, 0.39388564229011536, 0.24610435962677002, 0.5280205011367798, -0.7260476350784302, 0.5725773572921753, -0.7912952303886414, 0.31789112091064453, -0.16281352937221527, -1.063563585281372, -0.36980512738227844, 0.26661089062690735, -0.17665618658065796, -0.3114491403102875, 0.6876823902130127, 0.9494091868400574, -0.16904914379119873, -0.12746095657348633, 0.5591933131217957, 0.13533765077590942, 0.06037715822458267, 0.4775845408439636, 0.9623860120773315, -0.16964441537857056, 0.40394023060798645, -0.14517676830291748, -0.21223478019237518, 0.13965864479541779, -0.8225971460342407, -0.7585998177528381, -0.2866048812866211, -0.2638097107410431, 0.0028000895399600267, -0.07749377936124802, 0.9670850038528442, 0.5378769040107727, -0.8839923739433289, -0.534487247467041, -0.17218941450119019, 0.3453807234764099, -0.26036080718040466, -0.1709377020597458, 0.09007886797189713, -0.604591429233551, -1.0589829683303833, 0.7504523992538452, 0.31839683651924133, 0.03720580413937569, 0.06084198132157326, -0.2836162745952606, -0.5108499526977539, -0.07107064872980118, 0.5543568134307861, 0.275911420583725, -0.6730806231498718, -0.003782478626817465, 0.2956416606903076, -0.19506585597991943, -0.004219650756567717, 0.7712635397911072, -0.09333339333534241, 0.5065916180610657, 0.42910686135292053, 0.804749071598053, 0.35379818081855774, 0.020051615312695503, 0.7073672413825989, -0.8012168407440186, 0.3630845844745636, -0.16765795648097992, 0.47602322697639465, 0.34134015440940857, -0.2997535467147827, 0.1857428252696991, 0.15659688413143158, -0.49717622995376587, -0.8869122862815857, 0.02204829268157482, -0.7379254102706909, -0.2137349545955658, 1.0642962455749512, -0.16801832616329193, -0.03590898588299751, 0.12456361204385757, 0.04349762201309204, 0.4378739297389984, -0.24118949472904205, 0.5372876524925232, 0.8928062319755554, -0.10753871500492096, -0.21944813430309296, -0.5665860772132874, 0.25164371728897095, 0.7592361569404602, -0.7786818742752075, 0.0385148748755455, 0.6162375807762146, 0.18729446828365326, 0.16120685636997223, 0.3053266108036041, -0.11824566125869751, 0.10372129082679749, -0.44896313548088074, 0.015088186599314213, 0.1978965401649475, -0.479009747505188, -0.7049019932746887, 0.07528071850538254, 0.33855873346328735, -0.05113451927900314 ]
http://arxiv.org/abs/2405.13803v2
http://arxiv.org/pdf/2405.13803v2
Sunnie: An Anthropomorphic LLM-Based Conversational Agent for Mental Well-Being Activity Recommendation
2024-05-22T16:30:24
2024-06-14T03:54:31
Siyi Wu, Feixue Han, Bingsheng Yao, Tianyi Xie, Xuan Zhao, Dakuo Wang
cs.HC
cs.HC, cs.CL
A longstanding challenge in mental well-being support is the reluctance of people to adopt psychologically beneficial activities, often due to lack of motivation, low perceived trustworthiness, and limited personalization of recommendations. Chatbots have shown promise in promoting positive mental health practices, yet their rigid interaction flows and less human-like conversational experiences present significant limitations. In this work, we explore whether the anthropomorphic design (both LLM's persona design and conversational experience design) can enhance users' perception of the system and their willingness to adopt mental well-being activity recommendations. To this end, we introduce Sunnie, an anthropomorphic LLM-based conversational agent designed to offer personalized well-being support through multi-turn conversation and recommend practical actions grounded in positive psychology and social psychology. An empirical user study comparing the user experience with Sunnie and with a traditional survey-based activity recommendation system suggests that the anthropomorphic characteristics of Sunnie significantly enhance users' perception of the system and the overall usability; nevertheless, users' willingness to adopt activity recommendations did not change significantly.
[ -0.5738238096237183, -0.8546077609062195, 0.6960325837135315, 0.41425228118896484, -0.48420366644859314, 0.07415734231472015, -0.08220461010932922, -0.5826115608215332, 1.0085139274597168, 0.28886210918426514, -1.0421103239059448, -0.5514273643493652, -0.3919885754585266, -0.002961245132610202, 0.14143995940685272, 0.9299520254135132, 0.3820796608924866, -0.2419453263282776, -0.07656236737966537, -0.15573175251483917, -0.6661397218704224, -0.24734288454055786, -0.6853569746017456, -0.58775794506073, 0.5461772680282593, 0.3307308554649353, 1.2523950338363647, -0.21033963561058044, 0.21588021516799927, 0.2724827527999878, 0.3074226677417755, 0.3536713719367981, -0.5161969661712646, 0.40969374775886536, -0.1946174055337906, -0.3377176821231842, -0.6985095143318176, -0.11483079940080643, -0.08795831352472305, 0.23697753250598907, -0.6355234384536743, 0.2817126214504242, 0.02528339996933937, 0.5930891036987305, -0.5443852543830872, 0.08558901399374008, -0.1847369372844696, -0.01513210404664278, -0.00950427446514368, -0.00004047524998895824, -0.09860317409038544, -0.2880423963069916, -0.07317441701889038, -0.6695567965507507, -0.38143643736839294, 0.1492733210325241, 0.3810635507106781, 0.30741292238235474, -0.3596011996269226, -0.18918108940124512, -0.9538840651512146, 0.6285539865493774, -0.779344916343689, 0.3360714912414551, 0.7996128797531128, 0.2675035893917084, -0.3725018799304962, 0.07759734243154526, -0.5351561903953552, -0.23283584415912628, -0.1373739093542099, 0.12129867076873779, -0.3062998354434967, 0.12709160149097443, 0.14305588603019714, 0.3840079605579376, -0.49516385793685913, -0.3406530022621155, 0.09322551637887955, -0.17771565914154053, 0.769940972328186, 0.130036860704422, 0.72151118516922, -0.20238421857357025, -0.2804550230503082, 0.23348869383335114, -0.5009019374847412, 0.4346926510334015, 0.09412943571805954, -0.14915432035923004, -0.2922125458717346, 0.8083548545837402, -0.21699412167072296, 0.1962781548500061, -0.013161253184080124, -0.41071557998657227, -0.027088282629847527, 0.08555179089307785, -0.2901023030281067, 0.016961753368377686, 0.5818721652030945, 0.6600514054298401, 0.14112965762615204, -0.27308547496795654, -0.0989096388220787, 0.07524105906486511, 0.5493661761283875, -0.9502951502799988, -0.3373725712299347, 0.23155882954597473, -0.5075643658638, 0.0268927663564682, 0.3075663447380066, -0.37829819321632385, -0.8883467316627502, -0.27151790261268616, 0.2965151369571686, -0.7741155028343201, -0.3777848482131958, 0.20907281339168549, -0.08454479277133942, -0.03143886849284172, 0.44606563448905945, -0.6784847378730774, 0.41846951842308044, 0.4628680944442749, 0.9338576793670654, -0.2095886468887329, 0.1327812224626541, -0.18279717862606049, 0.22841832041740417, -0.28381115198135376, 0.902258038520813, -0.7456894516944885, -0.8572515249252319, -0.04747352376580238, 0.15537330508232117, 0.08528807759284973, -0.4306918978691101, 0.5341936349868774, -0.3915490210056305, 0.2310733050107956, -0.30103597044944763, -0.37788504362106323, -0.34623071551322937, 0.3920252025127411, -0.4227462708950043, 0.7397900819778442, 0.2556315064430237, -0.5756320953369141, 0.25584813952445984, -0.8690980672836304, -0.7339397072792053, 0.24473752081394196, -0.1665586680173874, -0.29452618956565857, 0.30278223752975464, 0.1711021512746811, 0.3761892020702362, -0.18712081015110016, -0.09465791285037994, -0.6857900619506836, -0.6402598023414612, 0.7747271060943604, -0.3137355446815491, 0.8019019961357117, 0.06116929650306702, -0.4728589355945587, 0.41670581698417664, -0.3694206178188324, -0.0021006918977946043, -0.013942033052444458, 0.02864452451467514, -0.39664483070373535, 0.3916464149951935, -0.05104641616344452, 0.3442542552947998, 0.32175174355506897, -0.6347683072090149, 0.007626637816429138, -0.44730478525161743, 0.1750049740076065, 0.8750289678573608, 0.4311152398586273, 0.2803865671157837, -0.8711350560188293, 0.6346411108970642, -0.32024404406547546, 0.44583505392074585, 0.07307150214910507, -0.6042611002922058, -0.3636334538459778, -0.9672589302062988, -0.4747651219367981, 0.6826627254486084, -0.5184270739555359, 0.5666146278381348, 0.12054529041051865, -0.4238438308238983, -0.383340060710907, 0.321157306432724, -0.07144035398960114, -0.0625433400273323, 0.15628203749656677, -0.45449554920196533, -0.4132275879383087, -0.9021815061569214, -0.0223014447838068, -0.49320611357688904, -0.15839695930480957, 0.7544156908988953, 0.004756559152156115, -0.6700276732444763, 0.7407180666923523, -0.4833139181137085, -0.31870943307876587, 0.043600864708423615, -0.271541565656662, 0.3030334413051605, -0.0713510513305664, 0.3213047683238983, -0.5660885572433472, -0.5020679235458374, -0.09529802203178406, -0.674707293510437, -0.040486786514520645, -0.17110852897167206, -0.49288010597229004, -0.19223488867282867, -0.1474081426858902, -1.0707257986068726, 0.5349576473236084, 0.2736228108406067, -0.5348609089851379, 0.5122045278549194, -0.055988166481256485, 0.4023648798465729, -1.2010811567306519, 0.03614821657538414, 0.028000757098197937, -0.3697473108768463, -0.47372597455978394, -0.31564196944236755, -0.3524894416332245, -0.2745361328125, -0.2782455384731293, 0.7046048641204834, -0.021470623090863228, 0.1964501589536667, -0.703004002571106, -0.18049338459968567, -0.16063237190246582, 0.4938233196735382, -0.14418873190879822, 1.07825767993927, 0.772254467010498, -0.49574029445648193, 0.41098639369010925, 0.5007337927818298, -0.11690998822450638, 0.9703444242477417, -0.7114083766937256, 0.2707570195198059, -0.030968796461820602, 0.428065687417984, -1.0583181381225586, -0.25974738597869873, 0.5695980191230774, -0.23430758714675903, -0.16813045740127563, 0.4589616060256958, -0.34507033228874207, -0.20909598469734192, -0.7680907845497131, 0.38933953642845154, 0.6023650765419006, -0.20690743625164032, 0.5062921643257141, 0.5350953936576843, -0.4525288939476013, -0.058965299278497696, -0.004649498965591192, 0.2747777998447418, -0.5433531999588013, -0.4888792037963867, 0.5687059760093689, -0.19948454201221466, -0.3479408919811249, -0.14933419227600098, -0.15633101761341095, 0.44239896535873413, 0.08629608154296875, 0.9880806803703308, 0.5376641750335693, 0.024883773177862167, 0.35339584946632385, -0.06549885123968124, -0.09475728869438171, 0.3331349194049835, 0.11046569794416428, 0.570775032043457, -0.3075507879257202, -0.6405616998672485, -0.9248388409614563, 0.5518659949302673, 0.6292166113853455, -0.03136850893497467, 0.6602646112442017, 0.4836209714412689, -0.6123587489128113, 0.19217202067375183, -0.6951044797897339, -0.5138307809829712, -0.5217195749282837, 0.08087696880102158, -0.2102869600057602, -0.6322098970413208, 0.30601227283477783, -0.2559398114681244, 0.11934419721364975, -0.1074071153998375, 0.783881664276123, -0.5475740432739258, 1.3122005462646484, 0.6747903227806091, -0.3672737777233124, 0.7294974327087402, 0.15168431401252747, 0.40431612730026245, -0.7750586867332458, -0.15029765665531158, 0.012088666670024395, -0.48818233609199524, -0.5373227596282959, -0.30121666193008423, 0.3182825446128845, -0.16365720331668854, -0.5590139031410217, 0.06896268576383591, -0.4807142913341522, -0.11002553254365921, 0.3369453549385071, 0.6930587887763977, 0.20006851851940155, 0.045493122190237045, 0.09088058024644852, -0.245543971657753, -0.3517806828022003, -0.8676314949989319, 0.40078213810920715, 0.16890603303909302, 0.916015625, 0.46905896067619324, 0.6883389949798584, 0.8829846382141113, 0.7784212827682495, -0.709030270576477, 0.6232607960700989, 0.17445728182792664, -0.7909878492355347, -0.42723554372787476, 0.040705908089876175, -0.9247435927391052, -0.0477224625647068, -0.6340831518173218, -1.225311517715454, 0.206782266497612, -0.10654934495687485, -0.2830145061016083, 0.045603957027196884, -0.32679373025894165, 0.4104369580745697, -0.3270305395126343, -0.4061937928199768, -0.819549024105072, -0.37489601969718933, 0.20819853246212006, 0.2516171336174011, 0.3977193236351013, -0.7809977531433105, -0.0043417224660515785, 0.5059522390365601, -0.2235841602087021, 1.0345191955566406, -0.17395128309726715, -0.0005441980320028961, 0.2908974289894104, 0.42824023962020874, 0.507234513759613, 0.512711763381958, -0.41143831610679626, -0.2912643551826477, 0.09492771327495575, -0.5744912624359131, -0.8954459428787231, 0.5080586075782776, -0.9546846747398376, -1.0744259357452393, -0.2769606113433838, -0.34047871828079224, -0.4152127802371979, 0.16019609570503235, -0.12621697783470154, -0.07541438937187195, -0.683181881904602, 0.06859371066093445, 0.2748388946056366, -0.1612572968006134, 0.02523738145828247, 0.36914780735969543, -0.5766922831535339, -0.6959560513496399, 0.8762145042419434, -0.5120616555213928, -0.20697543025016785, 0.08874376118183136, -0.013520104810595512, -0.4539271891117096, 0.045152708888053894, -0.3596947491168976, 0.5023269057273865, -0.34062430262565613, -0.23374906182289124, -0.24658514559268951, -0.1351272016763687, -0.040803711861371994, -0.26174601912498474, -0.06945523619651794, -0.3080895245075226, -0.2797900140285492, -0.21088601648807526, 0.4395601451396942, 0.6543892025947571, 0.07070403546094894, 0.43753063678741455, -0.3300841152667999, 0.4520247280597687, 0.37955498695373535, 0.2555347979068756, -0.08041903376579285, -0.2109248787164688, -0.2092030942440033, 0.24708864092826843, -0.6952559947967529, -1.118521809577942, 0.16766467690467834, 0.3808629810810089, 0.6502273082733154, 0.8302607536315918, 0.42634040117263794, 0.6022221446037292, -0.33943837881088257, 0.50850510597229, 0.5303400158882141, -0.5062732696533203, 0.4763509929180145, -0.2391347438097, 0.03167146444320679, 0.5518471598625183, 0.2903134822845459, -0.7817002534866333, -0.3682604730129242, -0.5103961825370789, -0.4967697262763977, 0.4852999746799469, 0.3889586925506592, 0.6652805209159851, -0.08742594718933105, 0.4610083997249603, 0.3568880259990692, 0.412349134683609, -0.6372051239013672, -0.3753727674484253, -0.5199587941169739, 0.05860079824924469, -0.12439004331827164, -0.227251797914505, -0.3843224048614502, -0.06306380033493042, 0.9539381861686707, -0.14706185460090637, 0.5518490672111511, 0.10963762551546097, 0.193806990981102, -0.10988593846559525, 0.5264094471931458, 0.28303325176239014, 0.33671313524246216, -0.303343266248703, 0.2801680862903595, 0.39647918939590454, -0.19051222503185272, 0.4146445691585541, 0.06972412019968033, 0.054580431431531906, -0.3342364430427551, -0.00539567694067955, 0.5923161506652832, 0.15325231850147247, -0.6055219769477844, 0.2898614704608917, -0.05870720371603966, 0.10658647119998932, -0.10405071824789047, 0.6559171080589294, 0.5135471224784851, 0.4962092339992523, 0.36762797832489014, -0.059629958122968674, 0.5873148441314697, -0.713505208492279, 0.07172880321741104, 0.8970780968666077, -0.6663309335708618, -0.40470725297927856, 0.4116470217704773, 0.23647558689117432, -1.1661821603775024, 0.5605507493019104, -0.18868963420391083, -0.22982989251613617, 0.11065910756587982, 0.7503021955490112, 0.8086254000663757, -0.19780929386615753, 0.7407525181770325, 0.07129766792058945, 0.07658372819423676, 0.398494154214859, 0.37059012055397034, -0.5179123282432556, -0.5655509233474731, -0.08538422733545303, -0.40320101380348206, -0.6329811811447144, -0.18990124762058258, -0.4489932656288147, 0.1130203977227211, -0.46289703249931335, -0.8806889653205872, -0.2748759388923645, 0.1258975714445114, -0.4773944616317749, 0.06697599589824677, 0.24002501368522644, 0.5568673014640808, -0.5308525562286377, 0.5487357974052429, 1.1592204570770264, -0.0033228392712771893, -0.4215840995311737, 0.15746429562568665, -0.006605869624763727, -0.8365082740783691, -0.2579836845397949, 0.29206323623657227, -0.5704730153083801, -0.2571652829647064, -0.12342800945043564, -0.5837054252624512, 1.276603102684021, 0.5587852001190186, -0.035750020295381546, 0.3135339021682739, 0.1855291873216629, 0.5855821967124939, -0.3197869658470154, 0.2681187689304352, 0.04113508388400078, 0.5092437863349915, 0.11778552085161209, -0.5241879820823669, 0.3467249274253845, -0.6218414306640625, 0.1452162116765976, 0.003668540855869651, -0.9137680530548096, 0.013258843682706356, -0.3195193409919739, -0.44778233766555786, 0.16028504073619843, 0.6378270983695984, 0.7262811660766602, 0.4875667989253998, 0.597449541091919, 0.016334038227796555, 1.0196830034255981, 0.47817254066467285, 0.7847650051116943, -0.4544529616832733, 0.06275138258934021, 0.6018730998039246, -0.5679947137832642, 0.7119503617286682, 0.4941147565841675, -0.46385785937309265, 1.0000767707824707, 0.789842963218689, 0.42405301332473755, 0.5172355771064758, 0.02571868896484375, -0.8111671209335327, -0.5729215741157532, -0.33080393075942993, -0.1524609625339508, 0.18525804579257965, 0.4504397213459015, 0.017630310729146004, -0.1886950135231018, 0.2120395451784134, -0.2646523118019104, 0.04702691361308098, 0.15078014135360718, 0.6771337389945984, 0.3909483253955841, -0.6106842756271362, 0.24018670618534088, 0.08224526047706604, 0.47760578989982605, -0.4002733826637268, -0.11798413842916489, -0.034757211804389954, 0.05277528986334801, -0.3209052085876465, -0.528989315032959, 0.20028135180473328, -0.3195529878139496, -0.18059739470481873, -0.10508494079113007, 1.2032132148742676, 0.234913632273674, -0.6417375802993774, 0.15945257246494293, 0.9427244663238525, 0.17034898698329926, -0.2678477168083191, -0.9328863620758057, -0.12362691015005112, -0.19175636768341064, -0.21590624749660492, 0.30867889523506165, 0.27555710077285767, -0.2642275094985962, 0.944078266620636, 0.8601629137992859, -0.10991350561380386, -0.5285964012145996, -0.22047561407089233, 0.8128882646560669, -0.7557298541069031, -0.3473188281059265, -1.049134373664856, 0.2936308979988098, -0.05645914748311043, -0.16456396877765656, 0.7214450836181641, 0.5321499109268188, -0.11527866870164871, 0.042249251157045364, 0.6147393584251404, -0.20495866239070892, 0.19689862430095673, -0.031124519184231758, 0.6705387830734253, -0.5634631514549255, 0.4266781806945801, -0.06936802715063095, -1.0401811599731445, 0.023067764937877655, 1.1034541130065918, -0.3156543970108032, 0.16991986334323883, 0.33328157663345337, 0.9283120036125183, -0.08451177924871445, 0.383597195148468, 0.35334473848342896, -0.1321493238210678, 0.506589949131012, 0.5610831379890442, 1.055840015411377, 0.2919430732727051, -0.014989533461630344, -0.21720464527606964, -0.40733200311660767, -0.4397990107536316, -0.5585428476333618, -1.0940505266189575, -0.4683379828929901, -0.1882874071598053, -0.2971824109554291, 0.4064909815788269, 1.3705589771270752, 0.9988171458244324, -0.6147582530975342, -0.3906612992286682, 0.038993950933218, 0.31192928552627563, -0.2451452910900116, -0.2077542543411255, 0.21600118279457092, -0.04240540415048599, -0.19414842128753662, 0.2590196430683136, 0.7046833038330078, -0.05225246399641037, -0.35907334089279175, -0.43452689051628113, -0.004111188929527998, 0.45896169543266296, 0.6671461462974548, 0.3682292103767395, -0.7758702039718628, -0.17758923768997192, 0.41382041573524475, -0.33344462513923645, 0.2964233458042145, 0.6955814957618713, -0.8204013109207153, 0.19855940341949463, -0.25134581327438354, 0.2670849561691284, 0.5960991978645325, 0.2639407515525818, 0.5701526999473572, -0.196419358253479, 0.0715513601899147, 0.22326721251010895, 0.12283535301685333, 0.10809043049812317, -0.6727713346481323, 0.3518274128437042, -0.09972629696130753, -0.5687605738639832, -0.40733104944229126, 0.3114342987537384, -1.0425176620483398, -0.1762848049402237, 1.1508815288543701, -0.16860966384410858, -0.2873341739177704, -0.2490977644920349, -1.1425467729568481, 0.06300640851259232, -0.7263176441192627, 1.3347711563110352, 0.9639477729797363, -0.9108535051345825, -0.07841780036687851, -0.38587281107902527, 0.2753503620624542, 0.547206699848175, -0.9243425726890564, -0.160395547747612, 0.4555436372756958, 0.2129388302564621, 0.030487308278679848, 0.8467758893966675, 0.40255841612815857, 0.536232054233551, -0.4743276834487915, -0.10677038133144379, -0.04526109620928764, 0.19664473831653595, 0.34474945068359375, -0.13831216096878052, 0.539723813533783, -0.05543661117553711 ]
http://arxiv.org/abs/2405.13798v1
http://arxiv.org/pdf/2405.13798v1
Slaves to the Law of Large Numbers: An Asymptotic Equipartition Property for Perplexity in Generative Language Models
2024-05-22T16:23:40
2024-05-22T16:23:40
Raghu Mudumbai, Tyler Bell
cs.CL
cs.CL, cs.AI, cs.IT, math.IT
We propose a new asymptotic equipartition property for the perplexity of a large piece of text generated by a language model and present theoretical arguments for this property. Perplexity, defined as a inverse likelihood function, is widely used as a performance metric for training language models. Our main result states that the logarithmic perplexity of any large text produced by a language model must asymptotically converge to the average entropy of its token distributions. This means that language models are constrained to only produce outputs from a ``typical set", which we show, is a vanishingly small subset of all possible grammatically correct outputs. We present preliminary experimental results from an open-source language model to support our theoretical claims. This work has possible practical applications for understanding and improving ``AI detection" tools and theoretical implications for the uniqueness, predictability and creative potential of generative models.
[ -0.33898088335990906, -0.5757399797439575, 0.5173656344413757, 0.2968751788139343, -0.5263383388519287, -0.24993032217025757, -0.24967913329601288, -0.20201629400253296, 0.23379431664943695, 0.5356477499008179, -0.31902167201042175, -0.24715586006641388, -0.6779500842094421, 0.07665149122476578, -1.109567403793335, 0.9546117782592773, 0.24067386984825134, -0.16470839083194733, -0.4243951439857483, -0.263277143239975, 0.1576898992061615, -0.9687663316726685, -0.26444321870803833, 0.05527791008353233, 0.35704365372657776, 0.2968079149723053, 0.8836113214492798, 0.6643471717834473, 0.4764762222766876, 0.44089606404304504, 0.10538560897111893, -0.3865799009799957, -0.6027196645736694, 0.45339635014533997, -0.145318865776062, -0.6978572607040405, -0.23618100583553314, -0.04555865004658699, 0.8902276158332825, 0.8766562342643738, -0.06523002684116364, -0.10074340552091599, -0.10739360749721527, 0.6818022727966309, -0.47796642780303955, -0.32892918586730957, -0.6825374364852905, 0.14278855919837952, -0.456015020608902, -0.06023510918021202, -0.26943373680114746, -0.21351374685764313, -0.034726832062006, -0.5373925566673279, 0.4042642116546631, 0.1791384071111679, 0.6560007929801941, 0.2710792124271393, -0.33458736538887024, -0.4667659401893616, -0.7378514409065247, 0.670386552810669, -0.8757101893424988, 0.183787003159523, 0.26393356919288635, 0.22175702452659607, 0.039843250066041946, -0.8035413026809692, -0.983384370803833, -0.5735587477684021, 0.26043233275413513, -0.05443718284368515, -0.2073461413383484, -0.0062003368511796, 0.6186363697052002, 0.47058767080307007, -0.6362125873565674, 0.3728243112564087, -0.10830401629209518, 0.19959613680839539, 0.8028791546821594, 0.40127378702163696, 0.371103435754776, 0.26504623889923096, 0.011803287081420422, -0.14217349886894226, -0.6514660716056824, -0.06966421753168106, 1.0324926376342773, 0.12212089449167252, -0.2096114307641983, 0.6911177039146423, -0.1537313610315323, 0.5157371163368225, -0.265687495470047, 0.190207839012146, 0.12002512067556381, -0.13058553636074066, -0.06391990184783936, -0.01249196007847786, 0.9066562056541443, -0.18433700501918793, 0.22722019255161285, -0.2629610300064087, -0.3911951780319214, -0.3159210681915283, 0.059334784746170044, -0.7733996510505676, -0.3693877160549164, 0.12676292657852173, -0.15371491014957428, -0.34009572863578796, 0.4007323682308197, -0.40438106656074524, -0.6822542548179626, 0.0022050468251109123, 0.19801482558250427, -0.13055409491062164, -0.33251914381980896, 0.14066295325756073, -0.1777413934469223, 0.10985767841339111, 0.22310177981853485, -0.924238920211792, 0.3238767981529236, 0.7902204394340515, 0.5491250157356262, 0.054208554327487946, -0.5748330950737, -0.5211308598518372, 0.022578971460461617, -0.34766948223114014, 0.5196400880813599, -0.5841630101203918, -0.09146329760551453, 0.05346375331282616, -0.08491601794958115, 0.19095104932785034, -0.6037051677703857, 0.23239289224147797, -0.6930877566337585, -0.2745620906352997, 0.09496831893920898, -0.5585867762565613, 0.1249919906258583, -0.10130221396684647, -0.809141993522644, 0.19369255006313324, -0.1822916865348816, -0.5909866690635681, 0.27461281418800354, -0.5984558463096619, -0.6819412112236023, 0.08326072990894318, -0.285946249961853, -0.6533562541007996, 0.39852309226989746, -0.403171181678772, 0.18286393582820892, -0.6224009394645691, 0.3369003236293793, -0.7005597352981567, -0.21447508037090302, 0.6682692170143127, -0.6999050974845886, 1.0591473579406738, 0.3220430612564087, -0.2951653301715851, 0.20127013325691223, -0.6103488206863403, -0.24770653247833252, 0.28964653611183167, -0.48624187707901, -0.24349606037139893, 0.04579528048634529, -0.04018270969390869, -0.15448413789272308, 0.10183985531330109, -0.3770948648452759, 0.22144372761249542, -0.3534276485443115, 0.296407014131546, 0.7387916445732117, -0.40790221095085144, 0.4420781135559082, -0.040039148181676865, 0.5682788491249084, 0.34884005784988403, -0.12294387072324753, -0.06199666112661362, -0.5109120011329651, -0.839162290096283, -0.2503993809223175, 0.5789562463760376, 0.4508126676082611, -0.5708626508712769, 0.717366099357605, -0.30861160159111023, -0.1811465471982956, -0.2276884764432907, 0.13017311692237854, 0.3168416917324066, -0.0760192945599556, -0.14576846361160278, -0.4274892210960388, -0.5921899676322937, -0.7731548547744751, -0.5743796825408936, -0.15415915846824646, -0.33518698811531067, 0.08702479302883148, 0.6263519525527954, 0.12782959640026093, 0.696015477180481, -0.3626507520675659, -0.01772363856434822, -0.10126493871212006, 0.23238041996955872, 0.23565781116485596, 0.6406588554382324, 0.41114452481269836, -0.9289355874061584, -0.2771642804145813, 0.14149340987205505, -1.1112256050109863, -0.03809764236211777, 0.038710277527570724, 0.11478455364704132, 0.19795750081539154, 0.7926564812660217, -0.5446916222572327, 0.645514965057373, 0.1485392451286316, -0.6163193583488464, 0.5955138802528381, -0.2520737946033478, -0.18763738870620728, -1.0016076564788818, 0.18012802302837372, -0.17142586410045624, -0.3553363084793091, -0.6243482828140259, 0.46611255407333374, -0.24305669963359833, -0.34437766671180725, -0.06474509090185165, 0.2929095923900604, -0.26682931184768677, -0.24772672355175018, -0.24813313782215118, -0.06963387876749039, -0.482173353433609, 0.05631651356816292, -0.12957234680652618, 0.4970463216304779, 0.5106583833694458, -0.48655349016189575, 0.8160262703895569, 0.12813186645507812, -0.14471721649169922, 0.40854302048683167, -0.5569900274276733, 0.1981118619441986, -0.2713176906108856, 0.021858224645256996, -0.9485623836517334, -0.4023159146308899, -0.14938212931156158, -0.5805438160896301, 0.12336724251508713, 0.07214101403951645, -0.6085954308509827, -0.4258969724178314, -0.22590811550617218, 0.7536511421203613, 0.585545003414154, -0.3052169680595398, 0.4252825379371643, 0.2140377312898636, -0.029320061206817627, -0.7119365930557251, -0.6564096212387085, 0.15188385546207428, -0.26900652050971985, -0.6117786169052124, -0.12407443672418594, -0.017100848257541656, -0.5812257528305054, 0.086286760866642, 0.2892395853996277, -0.08488243073225021, 0.20177270472049713, 0.3082142770290375, -0.08616993576288223, -0.4872870147228241, 0.31029221415519714, -0.005522840656340122, 0.12741221487522125, 0.1333375722169876, -0.40500375628471375, 0.730997622013092, -0.08126870542764664, -0.6496384739875793, -0.18140223622322083, 0.45435959100723267, 0.7680639624595642, -0.0184505395591259, 0.7445935606956482, 0.268453985452652, -0.3346320688724518, -0.09668639302253723, -0.4786907732486725, -0.14138495922088623, -0.47826555371284485, 0.7685385942459106, -0.5849480032920837, -0.6824391484260559, 0.8147756457328796, 0.22985580563545227, -0.10993704199790955, 0.5949302315711975, 0.6482040286064148, 0.10734140127897263, 0.7755746245384216, 0.6315485835075378, -0.2980719208717346, 0.3036033511161804, -0.29173544049263, 0.4944409132003784, -0.4422744810581207, -0.025753308087587357, -0.6904977560043335, -0.3181826174259186, -0.5743706822395325, -0.21770885586738586, 0.15596938133239746, 0.31296345591545105, -0.6031460762023926, 0.0845198780298233, 0.05870664864778519, 0.6215789914131165, 0.7637135982513428, -0.06299673020839691, 0.4581998586654663, 0.11624342203140259, -0.12436097115278244, 0.1651916652917862, -0.5866814255714417, -0.3441801369190216, 1.1642147302627563, 0.11671970039606094, 0.7127436399459839, 0.4399956464767456, 0.7683932781219482, 0.21519896388053894, 0.25443610548973083, -0.7588510513305664, 0.5129024386405945, -0.3635598123073578, -0.7320089936256409, -0.893448531627655, -0.5289870500564575, -1.1020092964172363, -0.004013493191450834, -0.12728679180145264, -0.7026681900024414, 0.1064516082406044, 0.04658851400017738, -0.28835204243659973, 0.565293550491333, -0.4506653845310211, 0.7879936099052429, 0.030091624706983566, -0.49213603138923645, -0.28402960300445557, -0.5354189276695251, 0.34313225746154785, -0.19130107760429382, -0.1467735767364502, 0.0985528975725174, -0.1798451989889145, 0.6835054159164429, -0.8283493518829346, 0.7034640312194824, -0.032571423798799515, -0.1239905133843422, 0.4039856791496277, 0.02749631740152836, 0.6149795651435852, 0.04101695492863655, -0.04855121672153473, -0.20700855553150177, -0.41118019819259644, -0.7383806109428406, -0.5993014574050903, 0.7263815999031067, -0.765091061592102, -1.00235116481781, -0.24367442727088928, -0.7836624383926392, 0.04565587639808655, 0.17046590149402618, 0.6380007863044739, 0.4318552315235138, 0.1047925353050232, 0.4068751931190491, 0.6757765412330627, -0.3935398459434509, 0.6047273278236389, 0.42936527729034424, -0.1243952065706253, -0.19292086362838745, 1.2550427913665771, 0.34277379512786865, 0.17567476630210876, 0.06294597685337067, -0.0015532077522948384, -0.224861279129982, -0.6654045581817627, -0.4431089162826538, 0.1535523235797882, -0.7132425308227539, -0.002381029771640897, -0.5103480815887451, -0.4098799228668213, -0.5086950659751892, -0.17537161707878113, -0.1457565426826477, -0.6233639121055603, -0.36426544189453125, 0.11746323108673096, 0.173385888338089, 0.8755047917366028, -0.005881595425307751, 0.00639957282692194, -0.5144252777099609, 0.22904665768146515, 0.7117791771888733, 0.39873600006103516, 0.2864638566970825, -0.9895380735397339, -0.1386989951133728, -0.21487528085708618, -0.48148366808891296, -0.7538045048713684, 0.19771912693977356, 0.14696843922138214, 0.3728733956813812, 0.7191261649131775, 0.3282565772533417, 0.3804616332054138, -0.30205535888671875, 0.4747946858406067, 0.5755211710929871, -0.973328173160553, 0.11672031134366989, -0.507493793964386, 0.1975831538438797, 0.1666220873594284, 0.34271958470344543, -0.228199765086174, -0.8198122382164001, -0.8388717770576477, -0.8932437896728516, 0.40583938360214233, 0.34739920496940613, 0.5205057263374329, 0.25313955545425415, 0.13728907704353333, 0.023440128192305565, 0.5075716972351074, -0.9223290681838989, -0.22265440225601196, -0.2004656344652176, -0.2649805545806885, -0.07377777248620987, -0.24242039024829865, -0.12142105400562286, -0.2435358762741089, 0.3788643479347229, 0.07497373223304749, 0.4137401580810547, -0.013481611385941505, -0.21089565753936768, -0.12006969004869461, 0.10502491891384125, 0.794988214969635, 0.749802827835083, 0.22840705513954163, 0.29076072573661804, 0.13032163679599762, -0.512944757938385, 0.3628677725791931, 0.219244122505188, -0.09719979017972946, -0.2558775544166565, 0.48586827516555786, 0.7457333207130432, -0.35812845826148987, -0.6776074767112732, 0.7471068501472473, 0.28401899337768555, -0.2663610577583313, -0.7217869162559509, -0.020889099687337875, 0.1556086540222168, 0.448309987783432, 0.6029091477394104, -0.011107542552053928, 0.3567001223564148, -0.6967578530311584, 0.18620732426643372, 0.5357926487922668, -0.18209725618362427, -0.41989973187446594, 0.8501933217048645, 0.1907694935798645, -0.4450015127658844, 0.9051545858383179, -0.6320647597312927, -0.5635539293289185, 0.9828808903694153, 0.7353410124778748, 0.8446391820907593, -0.11648502200841904, -0.1929815411567688, 0.15807496011257172, 0.28831401467323303, -0.033044833689928055, 0.04782242700457573, 0.1197284534573555, -0.7678548097610474, -0.2414308786392212, -0.6408599019050598, -0.018198583275079727, 0.1185552179813385, -0.42552369832992554, 0.24268874526023865, -0.5689168572425842, 0.000044417709432309493, 0.24544739723205566, -0.4675765037536621, -0.31392449140548706, -0.09697111696004868, 0.3096385598182678, 0.5340593457221985, -0.9020756483078003, 0.8494443893432617, 0.6902304887771606, -0.54518061876297, -0.6081510782241821, 0.3013469874858856, -0.18793171644210815, -0.5742418766021729, 0.6740960478782654, 0.046949222683906555, 0.0724993646144867, 0.16622798144817352, -0.8109307289123535, -0.3812409043312073, 0.7124638557434082, 0.7923036217689514, -0.5011889338493347, 0.0024686474353075027, 0.408657044172287, 0.5033842325210571, -0.3719635009765625, -0.01649879477918148, 0.6033308506011963, 0.25962144136428833, 0.13968265056610107, -0.8445195555686951, 0.24241001904010773, -0.43767690658569336, 0.05334215983748436, 0.31116583943367004, -0.37661245465278625, 0.9030281901359558, -0.43521010875701904, -0.07662643492221832, 0.43419700860977173, 0.7362803220748901, 0.21824967861175537, 0.3848308324813843, 0.3818921744823456, 0.9446180462837219, 0.6071380376815796, -0.07867979258298874, 1.2444970607757568, -0.0043580783531069756, 0.40671440958976746, 0.8017463684082031, -0.1453341841697693, 0.7449846863746643, 0.4615407884120941, -0.5811412930488586, 0.37557387351989746, 0.034490689635276794, 0.07225373387336731, 0.10654690861701965, 0.8819773197174072, -0.5050961375236511, -0.2182007133960724, -0.03143223002552986, -0.2476891577243805, 0.1782236248254776, 0.1514141708612442, -0.5545372366905212, 0.10038752853870392, 0.09028778970241547, 0.018784886226058006, 0.272970050573349, -0.3981775641441345, 0.7972152829170227, 0.18311670422554016, -0.48593801259994507, 0.7900778651237488, -0.22234311699867249, 0.5204395055770874, -0.16502980887889862, 0.09887799620628357, -0.29432570934295654, 0.1928255409002304, -0.2695333957672119, -0.6459251046180725, 0.20356254279613495, -0.05991639941930771, -0.18677949905395508, 0.3665553033351898, 0.35988837480545044, -0.45444998145103455, -0.5818043351173401, -0.03214224427938461, 0.19601255655288696, 0.38445141911506653, -0.23927247524261475, -0.20380054414272308, -0.15744276344776154, -0.044267114251852036, -0.30448025465011597, 0.33630919456481934, 0.7715108394622803, 0.02765573002398014, 0.6719990372657776, 0.342360258102417, 0.052675727754831314, 0.43406641483306885, -0.018592718988656998, 0.9170506000518799, -0.5079220533370972, -0.5849946737289429, -1.0380852222442627, 0.4218968451023102, -0.32557305693626404, -0.37241819500923157, 0.5646477937698364, 0.6376379728317261, 0.7589662671089172, -0.3155364394187927, 0.905765175819397, -0.13118234276771545, 0.09594979137182236, -0.29362550377845764, 0.7546250224113464, -0.4886971414089203, 0.30276861786842346, -0.2066563069820404, -0.8990874290466309, -0.3509105443954468, 0.41019198298454285, -0.5542019605636597, -0.05843855068087578, 0.787156343460083, 0.7567985653877258, -0.12447327375411987, -0.020612560212612152, 0.7964786291122437, 0.28575387597084045, 0.03511352464556694, 0.44513893127441406, 0.9209455251693726, -0.2979690730571747, 0.5961389541625977, -0.0027550035156309605, -0.07546684145927429, -0.25456205010414124, -0.516949474811554, -0.8214024901390076, -0.8789252638816833, -0.1306222826242447, -0.5669240951538086, -0.014655910432338715, 0.8404636979103088, 0.34326475858688354, -0.9780101180076599, -0.6340492367744446, -0.500834584236145, 0.14081938564777374, -0.08813709020614624, -0.13831783831119537, 0.23020364344120026, -0.3606613576412201, -0.7094725966453552, -0.33623868227005005, 0.14583760499954224, 0.3956848084926605, -0.31905946135520935, -0.25489872694015503, 0.016942620277404785, 0.18158724904060364, 0.48301756381988525, 0.40860727429389954, -0.6021077632904053, 0.20477695763111115, -0.47523748874664307, -0.11918956786394119, -0.1902787834405899, 1.1517547369003296, -0.35482463240623474, 0.47183874249458313, 0.5809239149093628, 0.7337791323661804, 0.37279683351516724, -0.07385274767875671, 0.7224632501602173, -0.7001261115074158, 0.6494218707084656, 0.4586055874824524, 0.26151129603385925, 0.1017656922340393, -0.2998858690261841, 0.3128635585308075, 0.4323902428150177, -0.33965712785720825, -1.0883773565292358, 0.5298062562942505, -0.4147295355796814, -0.28892576694488525, 1.0028659105300903, -0.5376620888710022, -0.2193431705236435, -0.21430493891239166, 0.24714013934135437, 0.28993186354637146, -0.3664129972457886, 0.8325436115264893, 0.5762542486190796, 0.18473362922668457, 0.04438525065779686, -0.40826427936553955, 0.41161808371543884, 0.6000456213951111, -0.7386178374290466, 0.21410492062568665, 0.18997590243816376, -0.024284519255161285, 0.4197704792022705, 0.33934786915779114, -0.14671574532985687, 0.4920524060726166, 0.22853760421276093, 0.010563752613961697, 0.05467638373374939, -0.196846604347229, -0.6466993093490601, 0.35872575640678406, 0.584015429019928, 0.12318441271781921 ]
http://arxiv.org/abs/2405.13792v1
http://arxiv.org/pdf/2405.13792v1
xRAG: Extreme Context Compression for Retrieval-augmented Generation with One Token
2024-05-22T16:15:17
2024-05-22T16:15:17
Xin Cheng, Xun Wang, Xingxing Zhang, Tao Ge, Si-Qing Chen, Furu Wei, Huishuai Zhang, Dongyan Zhao
cs.CL
cs.CL, cs.AI, cs.IR
This paper introduces xRAG, an innovative context compression method tailored for retrieval-augmented generation. xRAG reinterprets document embeddings in dense retrieval--traditionally used solely for retrieval--as features from the retrieval modality. By employing a modality fusion methodology, xRAG seamlessly integrates these embeddings into the language model representation space, effectively eliminating the need for their textual counterparts and achieving an extreme compression rate. In xRAG, the only trainable component is the modality bridge, while both the retriever and the language model remain frozen. This design choice allows for the reuse of offline-constructed document embeddings and preserves the plug-and-play nature of retrieval augmentation. Experimental results demonstrate that xRAG achieves an average improvement of over 10% across six knowledge-intensive tasks, adaptable to various language model backbones, ranging from a dense 7B model to an 8x7B Mixture of Experts configuration. xRAG not only significantly outperforms previous context compression methods but also matches the performance of uncompressed models on several datasets, while reducing overall FLOPs by a factor of 3.53. Our work pioneers new directions in retrieval-augmented generation from the perspective of multimodality fusion, and we hope it lays the foundation for future efficient and scalable retrieval-augmented systems
[ -0.572936475276947, -0.5790383219718933, 0.13860401511192322, 0.012093440629541874, -0.4080030620098114, 0.12257768958806992, -0.3497123420238495, -0.3838180601596832, 0.6122718453407288, 0.38384053111076355, -0.35750073194503784, -0.2794661223888397, -0.353838711977005, -0.17284834384918213, -0.7282021641731262, 0.8675282001495361, 0.14345280826091766, -0.16146370768547058, 0.09778010100126266, -0.27022433280944824, -0.5757843852043152, -0.6622003316879272, -0.4096168577671051, -0.07617288082838058, 0.3389686644077301, 0.15541966259479523, 0.667839765548706, 0.7905718088150024, 0.18943679332733154, 0.2697536051273346, -0.05092044919729233, 0.05834447592496872, -0.6199263334274292, 0.6096090078353882, -0.17121900618076324, -0.29873332381248474, -0.3808871805667877, -0.23822592198848724, 1.0104615688323975, 0.4690738618373871, -0.36252620816230774, 0.09441670030355453, -0.047728102654218674, 0.37236344814300537, -0.9546877145767212, -0.014863919466733932, -0.805208146572113, 0.22425247728824615, -0.5162996649742126, -0.5672886371612549, -0.35320326685905457, 0.18853811919689178, -0.4064849615097046, -0.7340899705886841, 0.18409794569015503, 0.637003481388092, 0.5030479431152344, 0.3967694938182831, -0.3861064016819, 0.015523565001785755, -0.4076671302318573, 0.5501939654350281, -0.18171215057373047, 0.7116827964782715, 0.17647069692611694, 0.4579657316207886, 0.05809486284852028, -0.9843708276748657, -0.9482223391532898, 0.1463996022939682, 0.08436133712530136, -0.05160168185830116, -0.2937670946121216, 0.09877338260412216, 0.14671330153942108, 0.5349782109260559, -0.5645101070404053, 0.01106981560587883, -0.30547311902046204, 0.05000091344118118, 0.4660017192363739, 0.1711752712726593, 0.2425835281610489, -0.5264800786972046, -0.6619817614555359, -0.4672439396381378, -0.9119316935539246, -0.15985703468322754, 0.227085679769516, 0.4028991460800171, 0.20445416867733002, 0.41003137826919556, -0.25711995363235474, 0.6964280605316162, -0.02318025566637516, 0.052658043801784515, 0.29128298163414, -0.5500353574752808, -0.20339307188987732, 0.383929580450058, 0.5912585854530334, 0.15977732837200165, -0.7474893927574158, -0.18579351902008057, -0.46143776178359985, 0.002699716482311487, 0.3872392475605011, -0.6222279667854309, 0.0401574932038784, 0.16242212057113647, -0.41381412744522095, -0.54927659034729, 0.13194327056407928, -0.8035029768943787, -0.33455929160118103, -0.03871623054146767, 0.5859994292259216, -0.24984204769134521, -0.1819496601819992, 0.26640474796295166, -0.4575541019439697, 0.1726406216621399, -0.0006246339762583375, -0.8360691070556641, 0.20851682126522064, 0.7670218348503113, 0.6780140399932861, 0.003085250733420253, -0.32057973742485046, -0.9514881372451782, 0.390298992395401, -0.13067303597927094, 0.971580982208252, -0.8605406880378723, -0.5288589000701904, 0.09844475239515305, -0.2228117138147354, 0.19974231719970703, -0.49353307485580444, 1.2720062732696533, -0.6245725154876709, 0.267937034368515, -0.28720173239707947, -0.5069323182106018, -0.19122008979320526, 0.20808309316635132, -0.7647600769996643, 1.2876060009002686, 0.4532814919948578, -0.7269437909126282, 0.5826002359390259, -0.6244838237762451, -0.13815593719482422, 0.44774237275123596, -0.45659756660461426, 0.03326989337801933, 0.2754441201686859, -0.0035690502263605595, 0.39267417788505554, -0.5023406744003296, 0.07120580226182938, -0.11944961547851562, -0.5196868777275085, -0.05221099033951759, -0.3765043020248413, 0.5694618225097656, 0.07507774978876114, -0.2647114098072052, 0.04037611559033394, -0.575891375541687, 0.2949371039867401, -0.04280780628323555, -0.6203129291534424, -0.4900725483894348, -0.3015894591808319, 0.523783266544342, 0.5007323026657104, 0.06752251833677292, -0.7432689070701599, 0.5784302949905396, -0.24807557463645935, 0.3660832941532135, 0.602755606174469, -0.29369494318962097, 0.5587753653526306, -0.4459640085697174, 0.6144812703132629, -0.3859657347202301, -0.00046871957601979375, -0.5702660083770752, -0.12522318959236145, -0.4254164695739746, -0.3423769772052765, 0.39956900477409363, 0.27624404430389404, -0.8216385841369629, 0.649527370929718, -0.7879441380500793, -0.2978738844394684, -0.6478592157363892, 0.05641022324562073, 0.5935409665107727, 0.6775457262992859, 0.4878518283367157, -0.3224114775657654, -0.840246319770813, -0.5993764996528625, -0.06296655535697937, -0.16190338134765625, 0.08326098322868347, 0.3340631127357483, 0.35207539796829224, -0.19117853045463562, 0.8885461688041687, -0.5054132342338562, -0.4809069037437439, -0.39699387550354004, 0.15171919763088226, -0.0644136443734169, 0.6941312551498413, 0.5292705297470093, -1.142187237739563, -0.395631343126297, -0.02487562783062458, -0.532403290271759, -0.24486465752124786, 0.10415223985910416, -0.13448022305965424, 0.24253173172473907, 0.2903732359409332, -0.7339803576469421, 0.23158708214759827, 0.6581137180328369, -0.35854119062423706, 0.6134047508239746, -0.23837833106517792, 0.21430903673171997, -0.9992985129356384, 0.4513145387172699, -0.4469701647758484, -0.4082254469394684, -0.629705548286438, 0.6786147952079773, 0.28220799565315247, -0.27845531702041626, -0.5069133639335632, 1.0841102600097656, -0.34038475155830383, 0.01553503330796957, -0.362510621547699, 0.2997494339942932, 0.21928353607654572, 0.42650339007377625, -0.09127656370401382, 0.8450767397880554, 0.3434775173664093, -0.27504774928092957, 0.3129346966743469, 0.5399447083473206, -0.38746461272239685, 0.7002087235450745, -0.7056146860122681, 0.1099916324019432, -0.33332279324531555, 0.827945351600647, -0.653986930847168, -0.3566340506076813, 0.07716455310583115, -0.31525883078575134, 0.6401751041412354, -0.0979161411523819, -0.5585552453994751, -0.0735902339220047, -0.5654837489128113, 0.5534456968307495, 0.5785062909126282, -0.7249619960784912, 0.5993196964263916, 0.49554380774497986, -0.17354275286197662, -0.8393990397453308, -0.6948894262313843, 0.4800603985786438, -0.13855817914009094, -0.6286490559577942, 1.1214016675949097, -0.15603862702846527, 0.014457793906331062, -0.0280817449092865, -0.11617299914360046, -0.05862630531191826, -0.15818920731544495, 0.18034060299396515, 0.15366774797439575, 0.20027020573616028, 0.1953088939189911, 0.6515793204307556, -0.3417155146598816, -0.37230992317199707, -0.45854416489601135, 0.7414724230766296, 0.40883105993270874, -0.28514420986175537, -0.02257234789431095, 0.8640955686569214, 0.451749324798584, -0.2380695790052414, 0.6160709857940674, 0.7428123950958252, -0.3707117438316345, -0.1403665542602539, -0.6047614216804504, -0.10014902800321579, -0.4829670488834381, 0.3480277955532074, -0.5139061808586121, -1.0544317960739136, 0.28375184535980225, 0.1362057328224182, 0.12608709931373596, 0.053998105227947235, 0.4307551085948944, 0.2825033366680145, 1.2237248420715332, 0.7225235104560852, -0.1038595587015152, 0.5765666365623474, -0.3522703945636749, 0.12416084110736847, -1.2214841842651367, -0.293307900428772, -0.6504666209220886, -0.41363897919654846, -0.20842579007148743, -0.6738110184669495, 0.684746265411377, 0.2541247308254242, -0.02677144855260849, 0.35650691390037537, -0.61812824010849, 0.3961198627948761, 0.46530836820602417, 0.032862454652786255, 0.3180522322654724, 0.03788119927048683, -0.10358304530382156, 0.07181236147880554, -1.0351510047912598, -0.2003045529127121, 0.9661187529563904, -0.1353258341550827, 0.5401175022125244, 0.2675398588180542, 0.6970951557159424, 0.433052122592926, 0.07473145425319672, -0.7651482224464417, 0.4629492163658142, 0.029458140954375267, -0.8458893299102783, -0.0787648931145668, -0.43397146463394165, -1.0648231506347656, 0.4126434624195099, -0.39659547805786133, -0.6293907165527344, 0.29179060459136963, 0.028801122680306435, -0.42237868905067444, 0.2285541594028473, -0.21505612134933472, 0.5788637399673462, 0.12442412227392197, -0.45609521865844727, -0.3518681824207306, -0.765441358089447, 0.37965935468673706, -0.2815442681312561, 0.11774296313524246, 0.20747606456279755, -0.4198901355266571, 0.639005184173584, -0.4302414059638977, 0.4276112914085388, -0.13507775962352753, -0.008159898221492767, 0.013259928673505783, 0.009969670325517654, 0.5468725562095642, 0.13265763223171234, -0.28608453273773193, -0.18554240465164185, 0.02459639683365822, -0.5601012706756592, -0.9840995073318481, 0.8205393552780151, -0.3658967614173889, -0.5872763395309448, -0.03443213924765587, -0.6834673881530762, 0.07484982162714005, 0.34145259857177734, 0.34278449416160583, 1.0267425775527954, -0.09902752935886383, 0.37673288583755493, 0.6493541598320007, -0.030169863253831863, 0.43008166551589966, 0.2576412260532379, -0.3256782591342926, -0.5526052713394165, 0.9748802185058594, 0.30431321263313293, -0.1712886542081833, 0.6967190504074097, 0.05021992325782776, -0.5604767799377441, -0.29529809951782227, -0.7592808604240417, -0.034412529319524765, -0.801604151725769, -0.5314428210258484, -0.9440950155258179, 0.2874515950679779, -0.4895261824131012, -0.4805184304714203, -0.3278124928474426, -0.903826892375946, 0.14344383776187897, 0.014985110610723495, 0.045462921261787415, 0.4800891578197479, -0.21275201439857483, 0.19488652050495148, -1.1119613647460938, 0.1298249214887619, 0.11855056881904602, 0.03755424916744232, 0.07092540711164474, -0.63088458776474, -0.27949026226997375, -0.14088048040866852, -0.2710701823234558, -0.8834708333015442, 0.46108001470565796, 0.5009814500808716, 0.6389883756637573, 0.4710828363895416, 0.43972134590148926, 0.7028499245643616, -0.37061119079589844, 0.8663643598556519, -0.030292361974716187, -0.96973717212677, 0.27831587195396423, -0.2734573185443878, 0.09437719732522964, 0.5664047002792358, 0.45288988947868347, -0.6445553302764893, 0.07779540866613388, -0.6635428071022034, -0.9699153900146484, 0.32225799560546875, 0.01068467553704977, 0.6170943975448608, -0.10776688158512115, 0.45270341634750366, 0.3088090419769287, 0.43164414167404175, -0.3011193871498108, -0.17693643271923065, -0.11742353439331055, -0.06856968998908997, 0.2486654818058014, -0.3010461628437042, -0.3267986476421356, -0.22129762172698975, 0.56900954246521, -0.3156227469444275, 0.44727787375450134, 0.16440823674201965, -0.14482299983501434, 0.017047632485628128, 0.3529730439186096, 0.49076613783836365, 0.24242915213108063, 0.035599298775196075, 0.2783953547477722, 0.16930001974105835, -0.2870011627674103, 0.3054622709751129, 0.27578431367874146, -0.022046981379389763, 0.09285551309585571, 0.18691103160381317, 0.7368156909942627, 0.5340570211410522, -0.8545693159103394, 0.6422384977340698, -0.1832931488752365, 0.15197527408599854, -0.17048197984695435, 0.08920546621084213, -0.5941422581672668, 0.1618233025074005, 0.6707392930984497, 0.0427759513258934, 0.31851306557655334, -0.5744960904121399, 0.18678715825080872, 0.49408379197120667, -0.38808324933052063, -0.4060884416103363, 0.8226056098937988, 0.17294128239154816, -0.0711916983127594, 0.46448495984077454, -0.40740281343460083, -0.6685764789581299, -0.23913727700710297, 0.6339080333709717, 0.734802782535553, -0.059977270662784576, -0.04965231195092201, 0.23314625024795532, -0.1424275040626526, -0.1314825415611267, 0.3632444739341736, -0.7145168781280518, -0.6261618733406067, -0.4948148727416992, -0.6154915690422058, -0.3033791482448578, -0.46736258268356323, -0.7303332686424255, 0.41745465993881226, -0.056117888540029526, -0.12109297513961792, -0.47319281101226807, 0.017572686076164246, -0.3593904376029968, -0.003992547746747732, -0.12305520474910736, 1.315035104751587, -0.5482854247093201, 0.8505713939666748, 0.8232821822166443, -0.47829121351242065, -0.6245993375778198, -0.3141029477119446, 0.06946670264005661, -0.5601418018341064, 0.5597172975540161, 0.04883166030049324, -0.03155602142214775, 0.25431981682777405, -0.3478279113769531, -0.8388605713844299, 1.146042823791504, 0.34814953804016113, -0.15582230687141418, -0.31250280141830444, -0.3613017201423645, 0.1776537448167801, -0.2757680118083954, 0.3236972391605377, 0.39184239506721497, 0.5426918864250183, -0.041832372546195984, -0.8286932110786438, 0.3653619587421417, -0.6619770526885986, 0.028063848614692688, 0.44804954528808594, -0.601394534111023, 0.702165961265564, 0.22482125461101532, -0.4069300889968872, 0.27151066064834595, 0.4936835765838623, 0.40445539355278015, -0.04767988994717598, 0.38948526978492737, 0.8711084723472595, 0.8527666926383972, 0.15475167334079742, 1.3308889865875244, -0.8168582320213318, 0.2789173126220703, 0.933725893497467, -0.28476405143737793, 1.0749441385269165, 0.5774309635162354, 0.240518718957901, 0.4531301259994507, 0.03615564852952957, 0.35432931780815125, 0.36690792441368103, -0.1324213445186615, -0.7488371133804321, -0.13197223842144012, -0.6303632259368896, -0.6325259208679199, 0.6262220740318298, 0.29540470242500305, -0.3657970428466797, -0.1389807015657425, 0.25502777099609375, 0.34149274230003357, -0.15391036868095398, -0.0482628270983696, 0.3835999369621277, -0.29512980580329895, -0.5632776618003845, 0.8632659912109375, 0.14661702513694763, 0.9249933958053589, -0.5470249652862549, -0.03943236917257309, -0.16338971257209778, -0.1606859415769577, -0.3712233304977417, -0.6945765614509583, 0.31050702929496765, -0.20930854976177216, -0.2667677402496338, -0.5410175323486328, 0.9448153972625732, -0.3857493996620178, -0.10310663282871246, 0.09647782891988754, 0.5752712488174438, 0.060574084520339966, -0.2973189949989319, -0.46152475476264954, 0.6125067472457886, -0.24583883583545685, -0.2943930923938751, 0.599407970905304, 0.2581886053085327, 0.07844549417495728, 0.6268346309661865, 0.6446314454078674, 0.10521797835826874, 0.14130999147891998, -0.2395377904176712, 1.4323678016662598, -0.5097135901451111, -0.4150809347629547, -0.29899799823760986, 0.5052618980407715, -0.08252324908971786, -0.42457810044288635, 0.5954374074935913, 0.5258676409721375, 0.917869508266449, 0.32697126269340515, 0.8450895547866821, -0.45047590136528015, 0.23706531524658203, -0.44968435168266296, 0.8117370009422302, -0.7842968702316284, 0.17204967141151428, -0.26281821727752686, -0.9464226365089417, -0.4387323260307312, 0.38379546999931335, 0.2477046102285385, 0.025794198736548424, 0.6473427414894104, 1.024267554283142, -0.25693538784980774, -0.035197045654058456, 0.4905577301979065, -0.10608256608247757, 0.29943376779556274, 0.3070819079875946, 0.6590798497200012, -0.6939724087715149, 0.686968207359314, -0.27159690856933594, -0.24180854856967926, -0.2732030153274536, -0.7545308470726013, -0.26512837409973145, -0.8436635136604309, -0.11673229187726974, -0.18237365782260895, 0.0011230155359953642, 1.213027834892273, 0.9685744643211365, -0.09264039993286133, 0.04560469835996628, 0.12567363679409027, -0.11761723458766937, -0.13442383706569672, -0.2237914800643921, 0.16127927601337433, -0.4236195385456085, -0.8857524394989014, 0.7821445465087891, 0.4562561511993408, -0.24693305790424347, -0.5988704562187195, -0.047946441918611526, 0.0828382596373558, -0.12385280430316925, 0.699133038520813, 0.2689519226551056, -0.3861251771450043, -0.1545243114233017, 0.02289487048983574, 0.06924134492874146, 0.09781650453805923, 1.1611571311950684, -1.2812094688415527, 0.5300540924072266, 1.0188302993774414, 0.7212221622467041, 0.25728535652160645, 0.04405758157372475, 0.6071025729179382, -0.9764285683631897, 0.2619744837284088, 0.16975511610507965, 0.5868579745292664, 0.23551136255264282, -0.2668851315975189, 0.4086999297142029, 0.13006268441677094, -0.6196500062942505, -1.1953529119491577, 0.2500886619091034, -0.8978534936904907, -0.11099402606487274, 0.9274711608886719, -0.2061549425125122, -0.20165511965751648, -0.24011972546577454, -0.4915904998779297, 0.1102873757481575, -0.5935749411582947, 0.7716749310493469, 0.13043197989463806, -0.0651165321469307, -0.2853105664253235, -0.3888913691043854, 0.2613922655582428, 0.6093807220458984, -0.5533485412597656, 0.08110443502664566, 0.4268414378166199, -0.3381437063217163, 0.33072733879089355, 0.5361679792404175, -0.2329038828611374, 0.46407899260520935, 0.27681681513786316, 0.14238885045051575, -0.2444867491722107, -0.28278249502182007, -0.571161150932312, 0.6437140703201294, -0.13168475031852722, 0.3091566562652588 ]
http://arxiv.org/abs/2405.13769v1
http://arxiv.org/pdf/2405.13769v1
Do Language Models Enjoy Their Own Stories? Prompting Large Language Models for Automatic Story Evaluation
2024-05-22T15:56:52
2024-05-22T15:56:52
Cyril Chhun, Fabian M. Suchanek, Chloé Clavel
cs.CL
cs.CL
Storytelling is an integral part of human experience and plays a crucial role in social interactions. Thus, Automatic Story Evaluation (ASE) and Generation (ASG) could benefit society in multiple ways, but they are challenging tasks which require high-level human abilities such as creativity, reasoning and deep understanding. Meanwhile, Large Language Models (LLM) now achieve state-of-the-art performance on many NLP tasks. In this paper, we study whether LLMs can be used as substitutes for human annotators for ASE. We perform an extensive analysis of the correlations between LLM ratings, other automatic measures, and human annotations, and we explore the influence of prompting on the results and the explainability of LLM behaviour. Most notably, we find that LLMs outperform current automatic measures for system-level evaluation but still struggle at providing satisfactory explanations for their answers.
[ -0.5964921712875366, -0.5348330736160278, 0.8094337582588196, 0.4578154385089874, -0.21295391023159027, -0.07111202925443649, -0.503783106803894, -0.8092045783996582, 0.17519955337047577, 0.4733019173145294, -0.6145540475845337, -0.22779478132724762, -0.4469095468521118, 0.4950253367424011, -0.44585347175598145, 0.8246734142303467, -0.13634657859802246, -0.10000862181186676, -0.49087387323379517, 0.02040381357073784, -0.6980095505714417, -0.6006215214729309, -0.7386529445648193, -0.5894571542739868, 0.7466913461685181, 0.18424396216869354, 0.8137275576591492, 0.718880295753479, 0.12891143560409546, 0.3657459020614624, -0.000546781113371253, 0.07759194076061249, -0.04996614530682564, 0.29869988560676575, -0.014936077408492565, -0.3793136179447174, -0.23226477205753326, 0.2234119176864624, 0.5888133645057678, 0.8896194696426392, 0.2023741602897644, 0.32833346724510193, 0.38877198100090027, 0.7087209820747375, -0.3113001585006714, 0.2890155613422394, -0.16658855974674225, 0.12412868440151215, 0.11329774558544159, -0.20599490404129028, -0.4752567708492279, -0.3298261761665344, 0.3255794942378998, -0.44895294308662415, 0.15518313646316528, 0.18196673691272736, 0.5523099303245544, 0.2313481718301773, -0.4346846640110016, -0.6910160779953003, -0.7260732054710388, 0.6281039118766785, -0.6062095165252686, 0.005131195764988661, 0.4266820549964905, 0.13110120594501495, -0.041479941457509995, -0.2991653382778168, -0.650749683380127, -0.7577797174453735, -0.28703486919403076, -0.0763472244143486, -0.3683528006076813, -0.048211660236120224, 0.40726566314697266, 0.3459179699420929, -0.4214985966682434, 0.6769180297851562, -0.1508050411939621, -0.05195830389857292, 0.9604865312576294, 0.33206886053085327, 0.4530269205570221, -0.5071659088134766, -0.399672269821167, -0.059527527540922165, -0.7307640314102173, 0.24711474776268005, 0.6020303964614868, 0.02809312753379345, 0.030109234154224396, 0.5472643971443176, -0.15332980453968048, 0.5467194318771362, -0.08430426567792892, 0.3885902166366577, 0.11220306158065796, -0.10518735647201538, -0.10195695608854294, 0.11443741619586945, 1.0527228116989136, 0.5833922028541565, 0.7018542289733887, -0.04871426150202751, -0.42185527086257935, 0.09253814816474915, 0.1799665093421936, -0.42828258872032166, -0.1111653745174408, 0.04878629371523857, -0.47434771060943604, -0.48320090770721436, -0.2269527018070221, -0.6567249298095703, -0.7380276322364807, -0.30125892162323, 0.625927746295929, -0.16827400028705597, -0.17614494264125824, 0.1532467156648636, -0.2939894497394562, 0.10233072936534882, 0.5658926367759705, -1.1502646207809448, 0.2150459885597229, 0.5718324780464172, 0.6861268877983093, -0.3188297748565674, -0.5311167240142822, -0.5416879653930664, -0.1658484786748886, -0.5506239533424377, 0.9301797747612, -0.5001665353775024, -0.5737192034721375, 0.11099918186664581, -0.06847739964723587, -0.013944732025265694, -0.5973770022392273, 0.40682604908943176, -0.34633639454841614, 0.2721621096134186, -0.499337375164032, -0.5007592439651489, -0.27643683552742004, 0.16568252444267273, -0.590004026889801, 0.7684184908866882, -0.2808348834514618, -0.5394512414932251, 0.35096219182014465, -0.9636344909667969, -0.3796999454498291, 0.1303785741329193, -0.0064189862459897995, 0.04774622991681099, 0.4469105005264282, 0.6414342522621155, 0.5293218493461609, -0.5454996228218079, 0.39056769013404846, -0.16986405849456787, -0.46868136525154114, 0.6519613862037659, -0.7618383765220642, 0.745150089263916, 0.14445358514785767, -0.2306898534297943, 0.2409585416316986, -0.5346512794494629, -0.1997261792421341, 0.28620192408561707, -0.2628234922885895, -0.2606360912322998, 0.023094063624739647, -0.10892428457736969, 0.23758798837661743, 0.20052389800548553, -0.3506845235824585, 0.23707717657089233, -0.38526564836502075, 0.4624616205692291, 0.8926844596862793, 0.1791084259748459, 0.29784584045410156, -0.5742963552474976, 0.8470970392227173, -0.3264232873916626, -0.06250221282243729, -0.6320322155952454, -0.6292413473129272, -0.7386015057563782, -0.025526661425828934, 0.2625245749950409, 0.19315403699874878, -0.463561087846756, 0.25320279598236084, -0.06945120543241501, -0.42013251781463623, -0.5493387579917908, 0.23637212812900543, 0.12625594437122345, 0.24214939773082733, 0.1745893806219101, -0.30426454544067383, -0.4397510588169098, -0.7184019684791565, -0.48319926857948303, -0.43942809104919434, -0.3246110677719116, 0.3374273180961609, 0.46228790283203125, -0.056351423263549805, 1.0590537786483765, -0.11423488706350327, -0.006957007572054863, -0.4806504547595978, 0.28504008054733276, 0.039063356816768646, 0.30390864610671997, 0.35671260952949524, -0.49440470337867737, -0.40112537145614624, -0.2864614725112915, -0.9224178791046143, -0.6701714992523193, -0.35047417879104614, 0.40262994170188904, 0.3870215117931366, 0.40933170914649963, -0.5462521910667419, 0.35234060883522034, 0.5016255974769592, -0.3538130819797516, 0.9830475449562073, -0.4606746733188629, 0.21449165046215057, -0.49473869800567627, -0.012596373446285725, 0.05744864046573639, -0.3008698523044586, -0.5420348644256592, -0.16849958896636963, -0.19527600705623627, -0.15994009375572205, -0.18475866317749023, 0.91316819190979, -0.6491143107414246, -0.3900653123855591, -0.3121500313282013, 0.41265377402305603, 0.06682706624269485, 0.0967550277709961, 0.23272356390953064, 0.523674488067627, 0.7009170055389404, -0.6364286541938782, 0.37384510040283203, 0.27026745676994324, -0.44552308320999146, 0.18276618421077728, -0.6971880197525024, 0.1965314745903015, -0.18501389026641846, 0.21471114456653595, -0.901458203792572, -0.3376842439174652, -0.006029618438333273, -0.49031057953834534, -0.019567275419831276, 0.03445018082857132, -0.8622506856918335, -0.6391173005104065, -0.2920151352882385, -0.30689263343811035, 0.6087969541549683, -0.9014400243759155, 0.3544784486293793, 0.13853029906749725, -0.2821333408355713, -0.20299525558948517, -0.5646150708198547, 0.5077521204948425, -0.4417690932750702, -0.6678747534751892, -0.09850138425827026, -0.2048378586769104, -0.37404412031173706, -0.09708012640476227, 0.1697891354560852, 0.23540781438350677, 0.2531454265117645, 0.5332616567611694, 0.3499023914337158, -0.3839508295059204, 0.28051644563674927, -0.21632587909698486, -0.2752475440502167, 0.37366044521331787, 0.019821593537926674, 0.6161353588104248, -0.15472355484962463, -0.48404231667518616, -0.7038425207138062, 0.37972232699394226, 0.2402104139328003, -0.3558850586414337, 0.5705122947692871, 0.4376909136772156, -0.11321347206830978, -0.02286776714026928, -0.8229228258132935, -0.3192504048347473, -0.5155736207962036, 0.1250208616256714, -0.2339182049036026, -1.0987530946731567, 0.4925674796104431, 0.14196012914180756, 0.02403181605041027, 0.6289801597595215, 0.618435800075531, -0.29469093680381775, 1.1716787815093994, 0.50546795129776, -0.04481475055217743, 0.37798306345939636, 0.17577922344207764, 0.12642203271389008, -0.6147376894950867, 0.112086221575737, -0.4480191171169281, -0.3690568804740906, -0.5182026624679565, -0.0492873378098011, 0.26188457012176514, 0.1392020732164383, 0.049721211194992065, -0.04464028775691986, -0.3235386312007904, 0.5483824014663696, 0.32934340834617615, -0.4173954427242279, 0.635732114315033, -0.14188478887081146, 0.2951127588748932, 0.11761024594306946, -0.6600664258003235, -0.8835318088531494, 0.8446540236473083, 0.5802671909332275, 0.7679263353347778, -0.2621338963508606, 0.8945383429527283, 0.212596133351326, 0.445626437664032, -0.7575137615203857, 0.7040615677833557, -0.03380153700709343, -0.4614466726779938, -0.4234628677368164, -0.2753981351852417, -1.0112298727035522, 0.07884896546602249, -0.3266203999519348, -1.0928455591201782, 0.05437624081969261, 0.2957358658313751, -0.7138682007789612, -0.03949471935629845, -0.79082190990448, 0.8421536087989807, -0.17689171433448792, 0.11638489365577698, -0.2891215682029724, -0.3791370093822479, 0.31635308265686035, -0.05902465432882309, 0.27952539920806885, -0.06479087471961975, 0.1251136064529419, 0.8778350353240967, -0.14230461418628693, 0.9096866846084595, -0.17220406234264374, -0.02517811581492424, 0.455692857503891, 0.2845056653022766, 0.40686115622520447, 0.0648709088563919, -0.20502544939517975, 0.004195587243884802, -0.1756294220685959, 0.15268105268478394, -0.7412514686584473, 0.8146185874938965, -0.5030086040496826, -1.1125603914260864, -0.3262753188610077, -0.6563631296157837, -0.23235519230365753, -0.11221129447221756, -0.006289917044341564, 0.3229660093784332, 0.07548489421606064, 0.3587368428707123, 0.29105302691459656, -0.429910272359848, 0.8457424640655518, 0.5127571225166321, -0.500499427318573, 0.05358843505382538, 0.5856236815452576, 0.1313343495130539, 0.33501991629600525, -0.17136207222938538, 0.6026552319526672, -0.34357497096061707, -0.41330039501190186, -0.7123653888702393, 0.23498690128326416, -0.6340808272361755, 0.09369072318077087, -0.9408107995986938, -0.06769859045743942, -0.1657821238040924, -0.31889674067497253, -0.12768326699733734, -0.30898621678352356, -0.2198299765586853, -0.289406955242157, 0.38142603635787964, 1.1208258867263794, -0.1934039294719696, 0.20782096683979034, -0.8423683643341064, 0.10694129765033722, 0.5340111255645752, 0.16649873554706573, 0.3584097623825073, -0.43934112787246704, -0.12137143313884735, -0.17239327728748322, -0.07831325381994247, -0.9251618981361389, 0.33661243319511414, 0.01941845566034317, 0.4099584221839905, 0.1810058206319809, -0.04207916557788849, 0.47692689299583435, -0.5604104399681091, 0.9197008609771729, -0.029063018038868904, -0.8714122176170349, 0.3158659040927887, -0.2548231780529022, 0.36458733677864075, 0.17699234187602997, 0.3713478446006775, -0.8042172193527222, -0.40405574440956116, -0.47843918204307556, -0.6548930406570435, 0.7432022094726562, 0.02936573512852192, 0.48346808552742004, -0.04463502764701843, 0.3937779664993286, 0.19882112741470337, 0.22623243927955627, -0.9527708292007446, -0.10148725658655167, 0.09787669777870178, 0.029540659859776497, -0.21421852707862854, -0.4402117133140564, 0.22347742319107056, 0.1810545176267624, 0.46384483575820923, -0.013960425741970539, 0.16153353452682495, 0.17751774191856384, -0.061335593461990356, -0.4340798556804657, 0.32983046770095825, 0.1582815945148468, 0.5856687426567078, 0.192220076918602, 0.11104989796876907, 0.3124842047691345, 0.11271259188652039, 0.07075095921754837, 0.07428396493196487, -0.027261419221758842, -0.052013058215379715, 0.48243531584739685, 0.8852143883705139, 0.15107494592666626, -0.8355976939201355, 0.6063078045845032, -0.03163657337427139, -0.0074707744643092155, -0.39779284596443176, 0.2719813585281372, 0.3609672784805298, 0.2919991612434387, 0.4796021282672882, -0.19246000051498413, 0.08503207564353943, -0.8059989213943481, 0.016569331288337708, 0.38999098539352417, -0.3631528913974762, -0.27547940611839294, 0.6269349455833435, 0.017093205824494362, -0.6016435623168945, 0.33594802021980286, -0.25655654072761536, -0.38927721977233887, 0.6176850199699402, 0.6389066576957703, 0.8700011968612671, -0.27078333497047424, 0.4167764186859131, 0.18682657182216644, 0.45443493127822876, -0.24143697321414948, -0.0716954916715622, -0.06227809563279152, -0.7138156294822693, -0.7421991229057312, -0.8228235840797424, -0.37125203013420105, 0.1569371074438095, -0.5576376914978027, 0.38298675417900085, -0.25550350546836853, 0.20027919113636017, 0.24307800829410553, -0.19264060258865356, -0.754177451133728, 0.2519926130771637, 0.5042205452919006, 0.7868496775627136, -0.9147458076477051, 0.697441577911377, 0.5057064294815063, -0.4010588526725769, -0.865403950214386, 0.08689099550247192, -0.014687852934002876, -0.6232185363769531, 0.6895051002502441, 0.4496152400970459, 0.039908185601234436, -0.08819058537483215, -0.3094102740287781, -0.5378445982933044, 0.6602031588554382, 0.3576323390007019, -0.5533639192581177, -0.31167319416999817, 0.023119816556572914, 0.9219813346862793, -0.6570867300033569, 0.2883950173854828, 0.4065103232860565, 0.6491072177886963, -0.08710744231939316, -1.0757532119750977, 0.03431878983974457, -0.010447361506521702, 0.07494089007377625, -0.1923535019159317, -0.40708523988723755, 0.4482836425304413, -0.408868670463562, -0.052849650382995605, 0.09358160197734833, 0.6140182614326477, 0.28401440382003784, 0.42868316173553467, 0.8808627128601074, -0.15969091653823853, 0.4540856182575226, 0.12105012685060501, 1.2867636680603027, -0.050017815083265305, 0.10836618393659592, 1.0632176399230957, -0.2916490435600281, 0.8535096049308777, 0.27641695737838745, -0.034479882568120956, 0.4523892104625702, 0.6571740508079529, -0.04806787893176079, -0.14898084104061127, 0.2403487265110016, -0.11009351909160614, -0.47058337926864624, 0.030066819861531258, 0.0005617660353891551, 0.6088272333145142, 0.2602158784866333, -0.5105419754981995, -0.13582585752010345, 0.24585123360157013, -0.09895993024110794, 0.19566276669502258, -0.3987479507923126, 0.818754255771637, 0.25915053486824036, -0.8436778783798218, 0.34944048523902893, -0.15875059366226196, 0.478583425283432, -0.5217483043670654, 0.18516910076141357, -0.021438341587781906, -0.42025479674339294, -0.12642721831798553, -0.9859211444854736, 0.3891458213329315, 0.2581453025341034, 0.019014129415154457, -0.4878633916378021, 0.6504129767417908, -0.3052954375743866, -0.308412104845047, 0.32709500193595886, 0.6119471192359924, 0.2837328612804413, -0.27125948667526245, -0.397064208984375, -0.041599445044994354, 0.05220295116305351, -0.6109136939048767, 0.32829272747039795, 0.4736253321170807, -0.18861185014247894, 0.8932161927223206, 0.6369740962982178, -0.08102531731128693, -0.12275144457817078, 0.16047430038452148, 0.6496890187263489, -0.8156889081001282, -0.49032649397850037, -1.1658849716186523, 0.5245495438575745, 0.01599184051156044, -0.14459647238254547, 0.8875534534454346, 0.287210077047348, 0.43921706080436707, -0.1712484359741211, 0.7748641967773438, 0.12970145046710968, 0.3853323757648468, -0.48849251866340637, 0.8090026378631592, -0.504073441028595, 0.3012073040008545, -0.24201753735542297, -1.063807725906372, -0.2821166515350342, 0.47675570845603943, -0.4904826879501343, 0.1408090740442276, 0.6052483916282654, 0.5298424363136292, 0.3844267725944519, 0.33913636207580566, 0.48548346757888794, 0.28885161876678467, 0.40923449397087097, 0.16153587400913239, 1.2563836574554443, 0.2316557765007019, 0.3848605751991272, 0.0573427677154541, -0.1626390963792801, -0.2234763354063034, -1.0058221817016602, -1.0423011779785156, -0.6508078575134277, -0.42857322096824646, -0.020550673827528954, -0.05493920296430588, 1.1853467226028442, 0.2515163719654083, -0.5820038318634033, -0.2748331129550934, 0.15062309801578522, 0.08511704206466675, -0.03600963577628136, -0.17384202778339386, 0.160457044839859, -0.4969298839569092, -0.7382867336273193, 0.6196603178977966, 0.41183558106422424, 0.012101505883038044, -0.6582524180412292, 0.06835845857858658, 0.16589368879795074, 0.12174566090106964, 0.4622341990470886, 0.10813865065574646, -0.8707068562507629, -0.6241815090179443, -0.1658858358860016, 0.13213378190994263, 0.10275430977344513, 0.7965580821037292, -0.8907287120819092, 0.4847181737422943, 0.2213420420885086, 0.44211745262145996, 0.38754573464393616, -0.16936174035072327, 0.7442839741706848, -0.5093757510185242, -0.12406719475984573, 0.15992888808250427, 0.42480847239494324, 0.5115322470664978, -0.3767074942588806, 0.38341885805130005, -0.0905848890542984, -0.7655596733093262, -0.9633188843727112, 0.10494613647460938, -0.5003040432929993, 0.15226876735687256, 1.2764947414398193, -0.19715575873851776, -0.3006732165813446, 0.006534008774906397, -0.4006662666797638, -0.00021485686011146754, -0.3371065557003021, 0.8729965090751648, 0.988290548324585, -0.20596225559711456, -0.4460529088973999, -0.9082759022712708, 0.53965163230896, 0.39867621660232544, -0.7070796489715576, 0.38154929876327515, 0.4541252553462982, 0.1562875509262085, 0.2214481234550476, 0.6228442192077637, 0.05119890347123146, 0.24451227486133575, -0.2775163948535919, 0.05470505729317665, -0.17774464190006256, -0.1732841432094574, -0.6386618614196777, 0.07510368525981903, 0.46595460176467896, 0.25834915041923523 ]
http://arxiv.org/abs/2405.14899v1
http://arxiv.org/pdf/2405.14899v1
DETAIL: Task DEmonsTration Attribution for Interpretable In-context Learning
2024-05-22T15:52:52
2024-05-22T15:52:52
Zijian Zhou, Xiaoqiang Lin, Xinyi Xu, Alok Prakash, Daniela Rus, Bryan Kian Hsiang Low
cs.CL
cs.CL, cs.AI, cs.LG
In-context learning (ICL) allows transformer-based language models that are pre-trained on general text to quickly learn a specific task with a few "task demonstrations" without updating their parameters, significantly boosting their flexibility and generality. ICL possesses many distinct characteristics from conventional machine learning, thereby requiring new approaches to interpret this learning paradigm. Taking the viewpoint of recent works showing that transformers learn in context by formulating an internal optimizer, we propose an influence function-based attribution technique, DETAIL, that addresses the specific characteristics of ICL. We empirically verify the effectiveness of our approach for demonstration attribution while being computationally efficient. Leveraging the results, we then show how DETAIL can help improve model performance in real-world scenarios through demonstration reordering and curation. Finally, we experimentally prove the wide applicability of DETAIL by showing our attribution scores obtained on white-box models are transferable to black-box models in improving model performance.
[ -0.07916085422039032, -0.4916357696056366, 0.5449137687683105, 0.30801674723625183, -0.3405524790287018, -0.22868502140045166, -0.16948969662189484, -0.32441213726997375, -0.2451336532831192, 0.4633638262748718, -0.5927728414535522, -0.3030814230442047, -0.5789445042610168, -0.18084484338760376, -0.7255165576934814, 1.0273535251617432, -0.25036853551864624, -0.26304545998573303, -0.6828181743621826, 0.11003518104553223, -0.20023414492607117, -0.4292075037956238, -0.6649998426437378, -0.6958313584327698, 0.28085216879844666, 0.84119713306427, 0.2890215218067169, 0.532848060131073, 0.2862718105316162, 0.24943561851978302, 0.22711333632469177, 0.1617777794599533, -0.45071107149124146, -0.05350080132484436, -0.286441445350647, -0.734131395816803, 0.022786496207118034, -0.01950697787106037, 0.6357928514480591, 0.6960541605949402, 0.030163459479808807, 0.31394636631011963, 0.4724428355693817, 0.11188235878944397, -0.7864448428153992, 0.43205150961875916, -0.7089800238609314, -0.08343886584043503, 0.08515036106109619, -0.21485504508018494, -0.9303769469261169, -0.16863738000392914, 0.1429736614227295, -0.48098376393318176, 0.31666186451911926, -0.13963603973388672, 0.6783608198165894, 0.5491378307342529, -0.5730165839195251, -0.2590794563293457, -0.9125027060508728, 1.1352603435516357, -0.5834826231002808, 0.34999650716781616, 0.3498212993144989, 0.3351653814315796, 0.04750498756766319, -1.1038618087768555, -0.3586808145046234, -0.3312910497188568, -0.6451523303985596, -0.010061425156891346, -0.127229705452919, -0.28937163949012756, 0.3021080195903778, 0.00915503315627575, 0.09200578927993774, -0.043400730937719345, -0.20583204925060272, 0.027158105745911598, 0.4520114064216614, 0.07198464125394821, -0.021918678656220436, -0.0327172689139843, -0.4815399944782257, -0.3377472758293152, -0.9203678965568542, 0.5749184489250183, 0.00492429081350565, 0.22113275527954102, -0.32957378029823303, 0.17788736522197723, -0.11176812648773193, 0.5995431542396545, 0.3647150993347168, -0.015793953090906143, 0.1087934598326683, -0.12165180593729019, -0.3379242420196533, 0.0654243752360344, 0.4918808043003082, 0.06974666565656662, -0.12797275185585022, -0.33674684166908264, -0.25702938437461853, -0.1789228469133377, 0.6244670748710632, -1.1056255102157593, -0.16281510889530182, -0.16033686697483063, -0.5623994469642639, -0.508556604385376, 0.3390618860721588, -0.45273357629776, -0.10686356574296951, -0.4985862970352173, 0.6601409912109375, -0.23197706043720245, -0.14232535660266876, -0.21976763010025024, 0.032898351550102234, 0.2549923062324524, 0.3248578906059265, -0.694389820098877, 0.43586722016334534, 0.6279386878013611, 0.7000430822372437, -0.4026097059249878, -0.2642967998981476, -0.5954812169075012, 0.3170863389968872, -0.1993778944015503, 0.6658334732055664, -0.6036330461502075, -0.2869170010089874, -0.04432248696684837, 0.10036617517471313, -0.05773288011550903, -0.6623392701148987, 0.582939863204956, -0.34560683369636536, 0.09099361300468445, -0.15681393444538116, -0.5010048747062683, -0.2460673451423645, -0.009481984190642834, -0.5313719511032104, 0.8316235542297363, 0.25633567571640015, -0.5821728110313416, 0.7772505283355713, -1.1045116186141968, -0.7182705402374268, 0.0462857149541378, -0.304859459400177, -0.5161976218223572, 0.2279663383960724, 0.16405075788497925, 0.7901287078857422, -0.07352611422538757, 0.40338054299354553, -0.013011842034757137, -0.4732513427734375, 0.44613927602767944, -0.6260563135147095, 0.6718472242355347, 0.08515118807554245, -0.7649484872817993, 0.4343876838684082, -0.6319614052772522, -0.05197690799832344, -0.11427603662014008, -0.15228137373924255, -0.34671348333358765, 0.2761997878551483, 0.05141107738018036, 0.17710283398628235, -0.06684347242116928, -0.40528830885887146, -0.027378614991903305, -0.44230490922927856, 0.31934261322021484, 0.4201264977455139, 0.0055716149508953094, 0.46737560629844666, -0.005406652577221394, 0.6312634348869324, -0.015236507169902325, 0.2252163141965866, -0.23702307045459747, -0.12122322618961334, -0.6192253828048706, -0.21748511493206024, 0.017758311703801155, 0.28584498167037964, -0.716525673866272, 0.17601871490478516, -0.19015510380268097, -0.504741907119751, -0.3646944463253021, 0.053588949143886566, 0.7032089829444885, 1.014493703842163, 0.44109317660331726, -0.10958639532327652, -0.2789466977119446, -1.1981502771377563, -0.3268290162086487, 0.017558271065354347, -0.1601172685623169, 0.3601664900779724, 0.5235870480537415, -0.04369961470365524, 0.9100552797317505, -0.5382418632507324, -0.08345518261194229, -0.35921409726142883, 0.30154621601104736, 0.1361607015132904, 0.5572426319122314, 0.4561941623687744, -1.1658973693847656, -0.8014260530471802, 0.01687643863260746, -0.7128447890281677, -0.1054583340883255, -0.04636630788445473, -0.03314909711480141, -0.19731010496616364, 1.0238587856292725, -0.20803415775299072, 0.6257532835006714, 0.372214138507843, -0.4015466570854187, 0.510299801826477, -0.20641611516475677, 0.2453705221414566, -0.8852072954177856, -0.008753168396651745, 0.050427407026290894, -0.27972930669784546, -0.7961119413375854, 0.11444103717803955, 0.5571168661117554, 0.023167157545685768, -0.7181935906410217, 0.6416571140289307, -0.12464795261621475, 0.23846766352653503, -0.3352413475513458, -0.18315066397190094, 0.010476677678525448, 0.46731191873550415, 0.07523706555366516, 0.818654477596283, 0.5963757038116455, -0.7570129036903381, -0.038616079837083817, 0.1304711401462555, -0.6605044007301331, 0.5163586139678955, -0.5773404240608215, 0.01688258722424507, 0.007422535214573145, 0.2976531684398651, -1.0923494100570679, -0.437624990940094, 0.23003563284873962, -0.06048230454325676, 0.4407651424407959, -0.14842212200164795, -0.37729811668395996, -0.017041489481925964, -0.0025027585215866566, 0.44469016790390015, 0.43971875309944153, -0.8737556338310242, 0.633880615234375, -0.01908136159181595, 0.22905956208705902, -0.5237147212028503, -0.7402233481407166, -0.25530996918678284, -0.6855630278587341, -0.31432726979255676, 0.9157583713531494, 0.1715504378080368, -0.4392654001712799, -0.12305294722318649, 0.05637834593653679, -0.19266869127750397, 0.2943423092365265, 0.47336897253990173, -0.05750006064772606, -0.080475814640522, 0.3300790786743164, 0.15824224054813385, -0.021282751113176346, 0.31914451718330383, 0.09821511805057526, 0.23184551298618317, -0.05016322433948517, -0.6290061473846436, -0.597532331943512, 0.35699018836021423, 0.34123462438583374, -0.09921212494373322, 0.6386327743530273, 0.4297367036342621, -0.30262935161590576, -0.5040082931518555, -0.20823177695274353, -0.6573856472969055, -0.5335313677787781, 0.6187542080879211, -0.3921540081501007, -0.41693612933158875, 0.4110584557056427, -0.285836398601532, 0.0358821339905262, 0.44154131412506104, 0.31734293699264526, 0.05343768745660782, 0.9815890789031982, 1.0029206275939941, -0.02409716695547104, 0.906550943851471, -0.23758704960346222, 0.02564079873263836, -0.7054778933525085, -0.3617166578769684, -0.391976535320282, -0.3560560345649719, -0.04998059198260307, -0.33561378717422485, 0.32844340801239014, 0.1888468712568283, -0.22652100026607513, 0.38224220275878906, -0.383548378944397, 0.5792093873023987, 0.5195099115371704, 0.4667496979236603, 0.17449860274791718, -0.021009130403399467, 0.2696634531021118, -0.12982240319252014, -0.4861520230770111, -0.48103752732276917, 1.0316169261932373, 0.11482281982898712, 0.7297617793083191, 0.030722778290510178, 0.4775739908218384, 0.3920971155166626, 0.7994195818901062, -0.6671024560928345, 0.25248318910598755, -0.18002234399318695, -0.2985035181045532, -0.39275845885276794, -0.09265656024217606, -0.7330731153488159, 0.174335777759552, 0.07888298481702805, -0.8856999278068542, 0.0609789714217186, 0.5057414174079895, -0.03179720789194107, 0.10032960027456284, -0.9483972787857056, 1.057628870010376, -0.17877750098705292, -0.44220367074012756, -0.38316628336906433, -0.4337228238582611, 0.25477135181427, -0.18846522271633148, 0.149960458278656, 0.43614068627357483, -0.09898512065410614, 0.699130654335022, -0.3017118573188782, 1.2860374450683594, -0.4649026691913605, -0.2113233506679535, 0.26676157116889954, -0.010916455648839474, 0.8618285059928894, -0.0345226414501667, -0.23729299008846283, -0.32322582602500916, -0.5386479496955872, -0.11114797741174698, -0.9990423321723938, 0.5656564235687256, -0.4685382544994354, -0.5011628270149231, 0.4260992407798767, -0.5449406504631042, -0.2375258356332779, -0.007316038943827152, 0.5340425372123718, 0.7571912407875061, -0.0436050184071064, 0.5469481348991394, 0.5248501300811768, 0.04668664559721947, 0.5285668969154358, 0.4155905544757843, -0.01292957179248333, 0.204647958278656, 0.8766030073165894, -0.29165780544281006, 0.5722782611846924, 0.6341988444328308, 0.37873587012290955, -0.2949770987033844, -0.49220800399780273, -0.3275960385799408, -0.11986323446035385, -1.133613109588623, -0.11211580038070679, -0.5684396624565125, 0.09835118800401688, -0.10632569342851639, -0.6134371757507324, -0.3188973069190979, -0.10179595649242401, -0.3736810088157654, -0.05580442398786545, 0.16396689414978027, 0.8763754367828369, 0.4554812014102936, 0.8199779391288757, -0.1183571070432663, -0.049401767551898956, 0.2654963433742523, 0.23733431100845337, 0.18073171377182007, -0.8499660491943359, -0.576810896396637, -0.10404934734106064, -0.6388601064682007, -0.7140139937400818, 0.2544454336166382, 0.3144958019256592, 0.855867326259613, 0.5564988255500793, 0.09029091894626617, 0.8141341805458069, -0.21283505856990814, 0.6611724495887756, 0.05591518431901932, -1.323755145072937, 0.6417627334594727, 0.08154825866222382, 0.30535009503364563, 0.4508988857269287, 0.576380729675293, -0.28285282850265503, -0.5764304995536804, -0.9040196537971497, -0.8694880604743958, 0.935082733631134, 0.0651032030582428, 0.1702243685722351, 0.31842899322509766, 0.5185762643814087, 0.26269370317459106, 0.24663318693637848, -0.8779234886169434, -0.3236074447631836, -0.3329237997531891, -0.3247821629047394, -0.3319067060947418, -0.028769945725798607, 0.009792258962988853, -0.4341292679309845, 0.6439683437347412, -0.46740904450416565, 0.2379416525363922, 0.06492073088884354, -0.46559056639671326, 0.006340453866869211, 0.16676029562950134, 0.7124928832054138, 0.9865296483039856, -0.005128444172441959, 0.2630041539669037, 0.4473976492881775, -0.1405511498451233, 0.026919662952423096, -0.06195838376879692, -0.24142862856388092, -0.1240062341094017, 0.7827475070953369, 0.8963639736175537, 0.6856344938278198, -0.5174885988235474, 0.7984079718589783, 0.12780112028121948, -0.20249035954475403, -0.20797394216060638, 0.22677332162857056, -0.02927343174815178, 0.45982861518859863, 0.47328710556030273, 0.04946838319301605, 0.4288218915462494, -0.48704206943511963, 0.5794655084609985, 0.42371323704719543, -1.071265697479248, -0.39612555503845215, 0.6929957866668701, -0.0612836591899395, -0.338149756193161, 0.2830985486507416, -0.10279620438814163, -0.5993806719779968, 0.8580264449119568, 0.929348349571228, 0.8078622817993164, -0.2900072932243347, 0.19528266787528992, 0.23788753151893616, -0.14332890510559082, -0.09362971037626266, -0.13807612657546997, -0.2940240204334259, -0.5788813233375549, -0.6199909448623657, -0.1661248505115509, -0.448917955160141, 0.0730920135974884, -0.7671847939491272, 0.43614935874938965, -0.12137570977210999, 0.27312442660331726, 0.09998633712530136, -0.3354182839393616, -0.713006317615509, 0.2971811294555664, -0.05936264991760254, 0.6202214956283569, -1.0846617221832275, 1.0140550136566162, 0.7319395542144775, -0.17779240012168884, -0.8699014186859131, 0.2608996629714966, -0.3159225285053253, -0.6467970013618469, 1.140705943107605, 0.40219420194625854, -0.2994040846824646, -0.05363009497523308, -0.9048910140991211, -0.7632818222045898, 1.1112302541732788, 0.561684250831604, -0.14163826406002045, 0.22257471084594727, -0.13313768804073334, 0.33021974563598633, -0.9580392241477966, 0.4933384656906128, 0.23115114867687225, 0.36106255650520325, -0.05892062559723854, -0.6821166276931763, 0.3168858587741852, 0.034832388162612915, -0.3129828870296478, 0.16967272758483887, -0.41005122661590576, 0.7027032971382141, -0.17576755583286285, -0.1661146730184555, -0.4989745616912842, 0.8602389693260193, -0.024239610880613327, 0.2755114734172821, 0.8605714440345764, -0.15621699392795563, 0.5870876312255859, 0.1023288369178772, 1.235456109046936, -0.022008655592799187, 0.23748351633548737, 1.2822579145431519, 0.1962582916021347, 0.8524360656738281, 0.7190942764282227, -0.15306755900382996, 0.7766386270523071, 0.253907173871994, 0.07289565354585648, 0.9012728333473206, 0.21379949152469635, -0.29841941595077515, -0.2524731755256653, -0.14924973249435425, 0.13107448816299438, 0.46274635195732117, 0.4014900028705597, -0.7484090328216553, -0.16284213960170746, 0.2967160940170288, 0.02824459597468376, 0.16291962563991547, -0.2785761058330536, 0.6532705426216125, 0.009928157553076744, -0.7287919521331787, 0.37689730525016785, -0.14963094890117645, 0.7302505970001221, -0.660510778427124, -0.33019396662712097, 0.13302794098854065, 0.5201612114906311, -0.3028847873210907, -0.5832571983337402, 0.5336207151412964, -0.31151074171066284, -0.3999898135662079, -0.546799898147583, 0.7246120572090149, -0.4179202914237976, -0.5099944472312927, 0.29854339361190796, 0.1202964037656784, 0.16441650688648224, -0.4213789105415344, -0.4039733409881592, -0.30756375193595886, 0.2975742220878601, -0.2642263174057007, 0.24857664108276367, 0.40722930431365967, -0.44430866837501526, 0.8191362023353577, 0.2325068563222885, -0.33845239877700806, -0.19761578738689423, -0.07768438011407852, 0.7990165948867798, -0.4660384953022003, -0.3419780433177948, -1.0191251039505005, 0.7759571075439453, -0.2127234786748886, -0.3226822316646576, 0.6675062775611877, 0.4813258647918701, 1.0336869955062866, -0.2979479730129242, 0.8204096555709839, -0.07706532627344131, 0.40628138184547424, -0.4001949429512024, 0.5602672696113586, -0.8426696062088013, 0.06442081928253174, -0.3113275170326233, -0.593852162361145, -0.2921786308288574, 0.47048354148864746, -0.334281861782074, -0.171650692820549, 0.7173492312431335, 0.6236233711242676, -0.5685322880744934, -0.017798935994505882, 0.3712664842605591, -0.05418369546532631, 0.5684104561805725, 0.2910584807395935, 0.6934913992881775, -0.2993854582309723, 0.6237732768058777, -0.6553149819374084, -0.39254704117774963, -0.3042562007904053, -1.1616969108581543, -0.8103004693984985, -0.755730390548706, -0.439120888710022, 0.13813582062721252, -0.31964150071144104, 0.7881841659545898, 1.017925500869751, -0.757091760635376, -0.3382681906223297, -0.0663534477353096, 0.06959572434425354, -0.7584397196769714, -0.2788935899734497, 0.6407807469367981, -0.5640912055969238, -0.7588902711868286, 0.5107941627502441, -0.19252075254917145, -0.08866771310567856, -0.15137238800525665, -0.05421154201030731, 0.1819761097431183, -0.30976518988609314, 0.8783604502677917, 0.00020188120834063739, -0.8523958921432495, -0.3672664165496826, -0.32712313532829285, 0.13122086226940155, 0.0910426527261734, 1.1963082551956177, -0.7967391610145569, 0.18390265107154846, 0.11268264800310135, 0.46818631887435913, 0.7581539750099182, 0.13842561841011047, 0.7795460820198059, -1.0276157855987549, 0.2595829665660858, 0.022050917148590088, 0.2620893716812134, 0.2843370735645294, -0.6107379198074341, 0.30343082547187805, -0.14583192765712738, -0.4691688120365143, -0.5977638363838196, 0.3912176489830017, -0.6704201102256775, -0.32051193714141846, 1.0019123554229736, -0.37907353043556213, -0.10712426900863647, -0.196969673037529, -0.026143738999962807, 0.28941506147384644, -0.48017388582229614, 0.6822396516799927, 0.40575575828552246, -0.30669504404067993, -0.13559667766094208, -0.6407704949378967, 0.814720869064331, 0.48773103952407837, -0.8675671815872192, 0.3369120657444, 0.010037769563496113, 0.15209725499153137, 0.1499650776386261, 0.2203805148601532, 0.08365882188081741, -0.0806320309638977, -0.16569820046424866, 0.046561095863580704, -0.12131296843290329, -0.4223003089427948, -0.22207824885845184, 0.2755875289440155, 0.1339445561170578, -0.1147933378815651 ]
http://arxiv.org/abs/2405.13754v1
http://arxiv.org/pdf/2405.13754v1
Grounding Toxicity in Real-World Events across Languages
2024-05-22T15:38:53
2024-05-22T15:38:53
Wondimagegnhue Tsegaye Tufa, Ilia Markov, Piek Vossen
cs.CL
cs.CL
Social media conversations frequently suffer from toxicity, creating significant issues for users, moderators, and entire communities. Events in the real world, like elections or conflicts, can initiate and escalate toxic behavior online. Our study investigates how real-world events influence the origin and spread of toxicity in online discussions across various languages and regions. We gathered Reddit data comprising 4.5 million comments from 31 thousand posts in six different languages (Dutch, English, German, Arabic, Turkish and Spanish). We target fifteen major social and political world events that occurred between 2020 and 2023. We observe significant variations in toxicity, negative sentiment, and emotion expressions across different events and language communities, showing that toxicity is a complex phenomenon in which many different factors interact and still need to be investigated. We will release the data for further research along with our code.
[ -0.4083445966243744, -1.120374321937561, 0.631725013256073, 0.6685454249382019, -0.36234337091445923, -0.04514047130942345, -0.021025165915489197, -0.9732900857925415, 0.4005969166755676, 0.27923277020454407, -0.5451046228408813, -0.41293981671333313, -0.6951600909233093, 0.003361825365573168, -0.12765055894851685, 1.1024610996246338, 0.12989430129528046, 0.05455220863223076, -0.01945251226425171, -0.48064276576042175, -0.2610948383808136, -0.9111511707305908, -0.6979411244392395, -0.35997459292411804, 1.2044239044189453, 0.46710506081581116, 0.5769003629684448, 0.25466352701187134, 0.6744978427886963, 0.22803382575511932, -0.3289574980735779, -0.11849601566791534, -0.6993734240531921, 0.3329489529132843, -0.589466392993927, -0.5316805839538574, -0.12891270220279694, 0.02860538475215435, 0.09588281065225601, 0.21763230860233307, -0.043190211057662964, 0.19334900379180908, -0.19820243120193481, 0.6490394473075867, -0.7768227458000183, 0.14796163141727448, -0.4501047730445862, 0.26191115379333496, -0.05809252709150314, -0.28954482078552246, -0.17391487956047058, -0.6025401949882507, 0.0716947689652443, -0.5155510902404785, -0.193840891122818, -0.4679465591907501, 1.0144538879394531, -0.151079460978508, -0.8525024056434631, -0.5203016996383667, -0.7432291507720947, 0.7355350852012634, -0.44040578603744507, 0.17987363040447235, 0.31345120072364807, 0.22850236296653748, -0.15284813940525055, -0.5704408288002014, -0.5435147285461426, -0.01206381805241108, -0.0038370811380445957, 0.14632028341293335, -0.09218785911798477, -0.12596797943115234, 0.211306631565094, -0.1528516709804535, -0.28316226601600647, -0.21648792922496796, -0.3863344192504883, -0.0000349214460584335, 0.640137255191803, 0.17943377792835236, 0.9061762094497681, -0.21592247486114502, -0.05939114838838577, 0.05939728766679764, -1.0077542066574097, -0.2624524235725403, 0.5719867944717407, 0.08307284861803055, -0.40527108311653137, 0.3574744462966919, -0.05380783975124359, 0.3001876175403595, -0.2140001356601715, 0.20531003177165985, -0.12055491656064987, -0.4137122929096222, 0.08936584740877151, 0.027897320687770844, 0.7472272515296936, 1.036108136177063, 0.4480906128883362, 0.10292898118495941, 0.3462038040161133, 0.49651843309402466, 0.23534388840198517, -1.0147165060043335, -0.0650368183851242, 0.2485625296831131, -0.35767361521720886, -0.6870677471160889, 0.10741112381219864, -1.005277395248413, -0.8259766697883606, -0.01827266253530979, 0.2583923637866974, 0.2575804889202118, -0.4532957375049591, -0.06938838958740234, -0.30756959319114685, 0.16225139796733856, 0.3651981055736542, -0.2923513650894165, 0.049118734896183014, 0.5578708052635193, 0.7896102070808411, 0.07242603600025177, -0.06823155283927917, -0.47383734583854675, -0.07269667834043503, -0.3761809170246124, 0.926865816116333, -0.6359010934829712, -0.13645276427268982, 0.278156578540802, 0.08004092425107956, 0.32712674140930176, -0.6105949282646179, 0.7410922050476074, -0.7445852160453796, 0.2510908246040344, -0.6084608435630798, 0.008373776450753212, -0.029477298259735107, 0.3705025911331177, -0.4281648099422455, 0.8127583861351013, -0.500972330570221, -0.9589734077453613, 0.4587790071964264, -0.536323606967926, -0.6049174070358276, -0.11366728693246841, 0.06104377657175064, -0.3022160530090332, 0.07634184509515762, -0.19792380928993225, 0.32905998826026917, -0.10987140238285065, 0.2481895238161087, -0.40780916810035706, -0.4145157039165497, 0.2334262579679489, 0.035065293312072754, 0.8137118220329285, 0.31323543190956116, -0.5138910412788391, 0.23055683076381683, -0.6446121335029602, -0.3720202147960663, 0.1982874572277069, -0.24511954188346863, -0.6129206418991089, 0.511449933052063, 0.2898974120616913, 0.9025954604148865, -0.15771573781967163, -0.7417185306549072, -0.1237933412194252, -0.2755054533481598, 0.6791155338287354, 0.37270283699035645, 0.8725312352180481, 0.28174686431884766, -0.5300419926643372, 0.383853018283844, 0.3645314574241638, 0.2824820578098297, 0.11100492626428604, -0.7576215863227844, -0.553384006023407, 0.5913886427879333, -0.271735817193985, 0.7327005863189697, -0.40444114804267883, 0.1349770426750183, -0.16691051423549652, -0.7145055532455444, -0.03150773420929909, -0.4055159389972687, 0.2484419047832489, 0.17685766518115997, 0.1025957241654396, 0.10030882805585861, -0.7669026255607605, -0.6246002316474915, -0.4991709887981415, -0.4276004135608673, 0.23586519062519073, 0.4325447976589203, 0.30594420433044434, -0.40535464882850647, 0.7226206064224243, -0.46864745020866394, -0.38970237970352173, -0.024285750463604927, 0.4437626004219055, -0.21697069704532623, 0.14566680788993835, 0.6147040128707886, -0.9345974922180176, -0.9302664995193481, 0.1897890269756317, -0.8401147127151489, -0.4049799144268036, -0.2434099167585373, -0.34302809834480286, 0.11934308707714081, 0.7067627906799316, -0.20192213356494904, 0.14232531189918518, 0.7621901631355286, -0.4470559060573578, 0.32782283425331116, 0.11654330790042877, 0.5893276929855347, -1.0712229013442993, -0.18316422402858734, 0.10216578096151352, -0.02531270869076252, -0.7488582730293274, 0.05097809433937073, 0.08748050779104233, 0.017401929944753647, -1.0140496492385864, 0.57234126329422, -0.0680481493473053, 0.42027148604393005, -0.05506584793329239, 0.3798830211162567, 0.003838789416477084, -0.05691960081458092, 0.18550044298171997, 0.49572452902793884, 0.3762384355068207, -0.5949659943580627, 0.1780657321214676, 0.05642775818705559, -0.39345839619636536, 0.5178408622741699, -0.44202855229377747, -0.1672794222831726, -0.3721095025539398, 0.39546212553977966, -0.8672059178352356, -0.3290421664714813, 0.23641832172870636, -0.49576571583747864, -0.4729510247707367, -0.31869110465049744, -0.45572373270988464, -0.1116107925772667, -0.2284117341041565, 0.14185985922813416, 0.26764124631881714, -0.14575038850307465, 0.45462706685066223, 0.867847740650177, -0.20623043179512024, -0.44758695363998413, -0.8687633275985718, 0.35652390122413635, -0.5106023550033569, -0.6482462882995605, -0.0566994808614254, -0.10893995314836502, -0.8366156816482544, 0.023824265226721764, 0.015488930977880955, -0.18266689777374268, 0.09731373190879822, 0.44656869769096375, -0.4289645850658417, 0.12371136248111725, 0.08177126199007034, 0.06553691625595093, 0.1344442516565323, 0.5123440027236938, 0.2653428912162781, 0.548160195350647, -0.015097544528543949, -0.09719565510749817, -0.375034362077713, 0.5362545251846313, 0.9859285354614258, -0.002659701043739915, 1.0917317867279053, 0.27453455328941345, -0.47338318824768066, -0.1357123702764511, -0.3798476457595825, -0.24122865498065948, -0.47073835134506226, 0.4187910854816437, 0.0068693566136062145, -0.6913322806358337, 1.1094592809677124, -0.006496640387922525, 0.10135358572006226, 0.26289358735084534, 0.7276737689971924, -0.22006843984127045, 1.271016001701355, 0.26831746101379395, 0.05493014678359032, 0.6884690523147583, 0.17632944881916046, 0.29526740312576294, -0.23713700473308563, -0.24300669133663177, -0.42972293496131897, -0.24670960009098053, -0.6724266409873962, -0.3684512674808502, 0.2890070676803589, -0.24697153270244598, -0.24102619290351868, 0.09968268126249313, -0.22853100299835205, 0.8005108833312988, 0.06267961859703064, -0.04003245010972023, 0.28372058272361755, -0.013162576593458652, -0.034964654594659805, -0.519889771938324, -0.5971032977104187, -0.5115612745285034, 0.5010111927986145, 0.2299233078956604, 0.6428952813148499, 0.29784199595451355, 0.5105904936790466, 0.46568989753723145, 0.7550950646400452, -0.4189179837703705, 0.3306489586830139, 0.1777603179216385, -0.9641334414482117, 0.01509211864322424, -0.2422824651002884, -0.8945367932319641, 0.4184275269508362, -0.2703852951526642, -0.31818345189094543, 0.3085043728351593, 0.054161880165338516, -0.02923467382788658, 0.21015435457229614, -0.730408787727356, 0.7046090364456177, -0.10358461737632751, -0.5169772505760193, -0.3807070851325989, -0.8371635675430298, 0.33735916018486023, -0.020524373278021812, 0.9010920524597168, -0.2617054283618927, 0.1346302032470703, 0.6998847723007202, -0.09540227055549622, 1.1111035346984863, -0.09857847541570663, -0.39030468463897705, 0.518684446811676, 0.10612969100475311, 0.6416754722595215, 0.2700532078742981, -0.042891841381788254, 0.17912742495536804, 0.01031423732638359, -0.41550174355506897, -0.13046690821647644, 1.0358608961105347, -0.9903720617294312, -0.20845367014408112, -0.47107911109924316, -0.09144340455532074, -0.10605451464653015, -0.053702469915151596, 0.46018674969673157, 0.05508505553007126, -0.4042716324329376, 0.03767441585659981, 0.4932137429714203, -0.43069034814834595, 0.2319840043783188, 0.630162239074707, -0.19153405725955963, -0.24974022805690765, 1.1390372514724731, 0.3495689332485199, 0.34971755743026733, 0.08539783209562302, 0.47626176476478577, 0.09641829878091812, -0.08586374670267105, -0.31128886342048645, 0.30751070380210876, -0.9089600443840027, -0.2980727255344391, -0.8557004928588867, 0.03758310154080391, -0.1329425424337387, -0.46982917189598083, -0.3535744845867157, -0.19139140844345093, -0.2749539315700531, -0.4542871117591858, 0.21719901263713837, 0.8847611546516418, -0.22900579869747162, 0.29957515001296997, -1.1527639627456665, 0.08945053070783615, 0.2700517475605011, 0.5828384757041931, -0.10258045047521591, -0.22605416178703308, -0.10531382262706757, 0.12627670168876648, -0.18802563846111298, -1.4752626419067383, 0.27128589153289795, 0.16596542298793793, 0.27417054772377014, 0.5987933874130249, 0.31329891085624695, 0.8559899926185608, -0.4274592101573944, 0.9357119798660278, -0.2154877483844757, -0.6018415689468384, 0.6801907420158386, -0.8940122127532959, 0.04554634913802147, 0.49998971819877625, 0.6445242762565613, -1.2809977531433105, -0.862687349319458, -0.6722328066825867, -0.9272351861000061, 0.7179369330406189, 0.048264890909194946, 0.6776689291000366, -0.5156100988388062, 0.2776329815387726, -0.21152417361736298, -0.1502230167388916, -1.1449313163757324, -0.5373157262802124, 0.10050106793642044, 0.25583213567733765, 0.31774017214775085, -0.6812954545021057, -0.40522289276123047, -0.12554123997688293, 0.6703330278396606, 0.35416164994239807, -0.15158675611019135, 0.024012329056859016, -0.22823618352413177, -0.8186519742012024, 0.2691226005554199, 0.7452965974807739, 0.6185739040374756, -0.15898112952709198, 0.3257150948047638, 0.11358044296503067, -0.5078413486480713, 0.3283845782279968, -0.4056996703147888, -0.15028543770313263, -0.23815736174583435, 0.3635615110397339, 0.3755396604537964, 0.48435044288635254, -0.9353156685829163, 0.4868321716785431, -0.24453787505626678, -0.29045370221138, -0.20032744109630585, -0.16166093945503235, 0.4864744246006012, 0.14172764122486115, 0.2966780960559845, -0.18409331142902374, 0.004487146157771349, -0.9636160731315613, 0.45706939697265625, 0.0395236574113369, -0.5629869699478149, -0.5174173712730408, 0.5987212061882019, 0.6116122007369995, -0.02614639326930046, 0.26160648465156555, -0.25953564047813416, -0.6021877527236938, 0.6788546442985535, 0.6339331269264221, 0.3630406856536865, -0.14889010787010193, 0.39037033915519714, 0.675003707408905, 0.3286246955394745, 0.2052815854549408, 0.43070995807647705, 0.40933844447135925, -0.7742872834205627, -0.4211733341217041, -0.6261075139045715, -0.4023703634738922, 0.3227488696575165, -0.4887657165527344, 0.25819677114486694, -0.4267957806587219, -0.29176008701324463, -0.24115216732025146, 0.05022890865802765, -0.1973409503698349, 0.06846924871206284, 0.3172090947628021, 0.6149868965148926, -1.756433367729187, 0.3381720781326294, 1.0643917322158813, -0.35234975814819336, -0.09405096620321274, 0.05622628331184387, 0.26057055592536926, -0.2494519203901291, 0.7708055973052979, 0.16021403670310974, -0.006883630529046059, -0.09494782239198685, -0.502024233341217, -0.8555945158004761, 0.39267706871032715, 0.08648476749658585, -0.3593733608722687, 0.23325155675411224, 0.16088268160820007, 0.9244199395179749, -0.013719223439693451, -0.01911880262196064, 0.3122096657752991, 0.6384586095809937, 0.02881128154695034, -0.6347164511680603, -0.06579860299825668, -0.3483232259750366, -0.2330210953950882, 0.24973632395267487, -0.844463050365448, 0.5425788760185242, 0.050212010741233826, -0.6468752026557922, -0.6636044979095459, 0.39887332916259766, 0.17153476178646088, 0.29453492164611816, 0.294342964887619, 0.3194299638271332, 0.3205972909927368, -0.1491590142250061, 0.8710394501686096, -0.3783309757709503, 0.2392900288105011, 0.7575882077217102, -0.39589136838912964, 0.7708766460418701, 0.380747526884079, -0.13762645423412323, 0.8479259014129639, 0.6963732242584229, 0.4642162621021271, 0.32701805233955383, 0.22060658037662506, -0.4670839011669159, -0.3479818105697632, -0.37227487564086914, -0.22144430875778198, 0.10314855724573135, 0.6263891458511353, -0.16057418286800385, -0.6301860809326172, 0.34564587473869324, 0.3018345236778259, 0.2135992795228958, -0.09237942099571228, 0.8469355702400208, 0.0053560310043394566, -0.7145927548408508, 0.19291181862354279, 0.1181565597653389, 0.6604974865913391, -0.3983868956565857, -0.17115838825702667, -0.3018031418323517, 0.06700418144464493, -0.32698550820350647, -0.902554452419281, 0.763961136341095, 0.002451266860589385, 0.08422168344259262, -0.2400778830051422, 0.7725226283073425, -0.23118199408054352, -0.22200211882591248, 0.7670493721961975, 0.6703307032585144, 0.13483723998069763, -0.46769949793815613, -0.6128552556037903, 0.42746421694755554, -0.22129106521606445, -0.41056668758392334, 0.7825904488563538, 0.5828244686126709, -0.5247673392295837, 0.6271153092384338, 0.7398449182510376, 0.1394917070865631, 0.3936173617839813, 0.1464126855134964, 0.7806437015533447, -0.5648093819618225, -0.437989741563797, -0.8252649903297424, 0.5474001169204712, -0.047658227384090424, -0.1259017437696457, 0.7100819945335388, 0.40332430601119995, 0.6072880029678345, 0.06892924010753632, 0.8131040930747986, -0.45873814821243286, 0.23477725684642792, 0.06576374173164368, 1.0217394828796387, -0.5126698017120361, -0.10170286893844604, -0.24066774547100067, -0.6342427730560303, -0.661958634853363, 0.6942901611328125, -0.22015097737312317, -0.30003178119659424, 0.4487288296222687, 0.539985716342926, 0.32878661155700684, -0.25997063517570496, 0.26103243231773376, 0.372753769159317, 0.6226863265037537, 0.17266720533370972, 1.1729941368103027, -0.2545236051082611, 0.6534237861633301, -0.47217506170272827, -0.11236585676670074, -0.5084131956100464, -1.0171395540237427, -0.7337383031845093, -0.6180136203765869, -0.46898362040519714, -0.6063142418861389, 0.21417897939682007, 0.7594835162162781, 0.27941471338272095, -0.9249064922332764, -0.040620677173137665, -0.3070410490036011, 0.5342055559158325, -0.010652639903128147, -0.38684937357902527, 0.10098248720169067, -0.3873325288295746, -0.7847755551338196, -0.1311475932598114, 0.22352126240730286, -0.1029679924249649, 0.08569507300853729, 0.18592461943626404, -0.4192691445350647, 0.32755884528160095, 1.1151045560836792, 0.3664414882659912, -0.4285513460636139, -0.5649626851081848, -0.033224042505025864, -0.3556438088417053, -0.021834008395671844, 0.7554627060890198, -0.5298434495925903, 0.3204050660133362, 0.9831153154373169, -0.0047555952332913876, 0.061068058013916016, 0.13280627131462097, 0.5868539214134216, -0.7187735438346863, 0.2521284520626068, 0.31077176332473755, -0.03644060343503952, 0.23182787001132965, -0.452938973903656, 0.37232065200805664, 0.4270132780075073, -0.6947693824768066, -0.9789202213287354, 0.2611112594604492, -0.6517357230186462, -0.3318363428115845, 1.3579360246658325, 0.1907173991203308, 0.09355594217777252, -0.3800962567329407, -0.18119284510612488, 0.19209933280944824, -0.30825650691986084, 1.1423217058181763, 1.0782690048217773, -0.3370656371116638, -0.015293608419597149, -0.8776218891143799, 0.6563621759414673, 0.12674807012081146, -1.0504668951034546, 0.39295780658721924, 0.6677857041358948, 0.3699171543121338, 0.19606833159923553, 0.638248085975647, -0.23191426694393158, 0.43509769439697266, -0.14255593717098236, -0.03227571025490761, 0.6191143989562988, -0.41884568333625793, -0.1131020188331604, 0.3393678665161133, -0.08249133825302124, 0.4229412376880646 ]
http://arxiv.org/abs/2405.13684v1
http://arxiv.org/pdf/2405.13684v1
CrossCheckGPT: Universal Hallucination Ranking for Multimodal Foundation Models
2024-05-22T14:25:41
2024-05-22T14:25:41
Guangzhi Sun, Potsawee Manakul, Adian Liusie, Kunat Pipatanakul, Chao Zhang, Phil Woodland, Mark Gales
cs.CL
cs.CL
Multimodal foundation models are prone to hallucination, generating outputs that either contradict the input or are not grounded by factual information. Given the diversity in architectures, training data and instruction tuning techniques, there can be large variations in systems' susceptibility to hallucinations. To assess system hallucination robustness, hallucination ranking approaches have been developed for specific tasks such as image captioning, question answering, summarization, or biography generation. However, these approaches typically compare model outputs to gold-standard references or labels, limiting hallucination benchmarking for new domains. This work proposes "CrossCheckGPT", a reference-free universal hallucination ranking for multimodal foundation models. The core idea of CrossCheckGPT is that the same hallucinated content is unlikely to be generated by different independent systems, hence cross-system consistency can provide meaningful and accurate hallucination assessment scores. CrossCheckGPT can be applied to any model or task, provided that the information consistency between outputs can be measured through an appropriate distance metric. Focusing on multimodal large language models that generate text, we explore two information consistency measures: CrossCheck-explicit and CrossCheck-implicit. We showcase the applicability of our method for hallucination ranking across various modalities, namely the text, image, and audio-visual domains. Further, we propose the first audio-visual hallucination benchmark, "AVHalluBench", and illustrate the effectiveness of CrossCheckGPT, achieving correlations of 98% and 89% with human judgements on MHaluBench and AVHalluBench, respectively.
[ -0.7294626832008362, -0.7164683938026428, 0.4817224144935608, 0.37331321835517883, -0.19288992881774902, -0.17261643707752228, -0.1554407924413681, -0.6573473811149597, 0.39081165194511414, 0.39757969975471497, -0.4662492275238037, -0.6006104946136475, -0.7103504538536072, -0.07211284339427948, -0.5866938829421997, 0.934687077999115, -0.033622585237026215, -0.009693430736660957, -0.4439952075481415, -0.20919960737228394, -0.5257275700569153, -0.5004059672355652, -0.1489117592573166, -0.35621407628059387, 0.45663973689079285, 0.06861025840044022, 0.9516635537147522, 0.2800096869468689, 0.4892638027667999, 0.2642824053764343, 0.41725796461105347, 0.10255712270736694, -0.45478466153144836, 0.2549104690551758, -0.3745201826095581, 0.1394992172718048, -0.2676587700843811, -0.03654990345239639, 0.3637382984161377, 0.6097220182418823, 0.09989506006240845, -0.06988176703453064, 0.07726065814495087, 0.4349063038825989, -0.8375413417816162, 0.12027046084403992, -0.61746746301651, 0.11828727275133133, 0.18376566469669342, -0.5637958645820618, -0.4227283298969269, -0.4839702546596527, 0.12532512843608856, -0.15841510891914368, 0.41133618354797363, -0.0031784982420504093, 0.7190449833869934, 0.4511394202709198, -0.33598592877388, -0.34682580828666687, -0.5839656591415405, 0.5441979765892029, -0.26846474409103394, 0.9523388147354126, 0.5878891944885254, 0.3223935663700104, 0.13463439047336578, -0.5488718152046204, -0.48025447130203247, -0.5329050421714783, -0.1880115568637848, 0.005325762089341879, -0.16844037175178528, -0.028381234034895897, 0.1778300255537033, 0.3366793394088745, -0.889039933681488, -0.3399255573749542, -0.08768963813781738, -0.5278878211975098, 0.3826785087585449, -0.053985845297575, 0.31421613693237305, -0.1453104168176651, -0.5017865896224976, -0.38418495655059814, -0.5201743245124817, -0.17212699353694916, 0.1954997032880783, 0.1400652378797531, 0.1894138753414154, 0.766200602054596, -0.46129342913627625, 0.49418362975120544, 0.14014331996440887, -0.03827380761504173, 0.24875129759311676, -0.552501380443573, -0.28122276067733765, 0.24994562566280365, 0.7153627276420593, 0.41200754046440125, 0.11140832304954529, -0.6661245226860046, -0.16665183007717133, 0.3613857626914978, 0.41727975010871887, -0.8294957280158997, -0.5100316405296326, 0.11835218220949173, -0.3934391438961029, -0.22354097664356232, 0.296653687953949, -0.9185227155685425, -0.41530871391296387, -0.20479312539100647, 0.79095858335495, -0.4495532810688019, -0.22017601132392883, 0.04096663370728493, 0.13247346878051758, 0.009623744525015354, 0.15871074795722961, -0.9495232701301575, 0.2556394338607788, 0.3060314655303955, 0.8337972164154053, -0.4534766674041748, -0.5941368937492371, -0.580629289150238, 0.12899863719940186, -0.19418340921401978, 0.897476315498352, -0.5705829858779907, -0.20490476489067078, -0.12167123705148697, 0.2676698565483093, -0.049199312925338745, -0.5194954872131348, 0.39491432905197144, -0.09402556717395782, -0.07320009171962738, -0.33326905965805054, -0.3003509044647217, -0.34854042530059814, 0.27729085087776184, -0.794185996055603, 1.0504024028778076, 0.04567199945449829, -0.8343305587768555, 0.5400720834732056, -0.15591047704219818, -0.337335467338562, -0.1555117815732956, -0.3328315019607544, -0.3116256892681122, -0.07940525561571121, 0.2050064206123352, 0.5802592635154724, -0.2619611620903015, 0.36306872963905334, -0.3407514691352844, -0.5346733331680298, -0.03972756117582321, -0.46347707509994507, 0.5011134743690491, -0.25016775727272034, -0.9643914699554443, 0.16154347360134125, -0.7679669857025146, 0.2263893187046051, -0.17223858833312988, -0.17892318964004517, -0.45553267002105713, -0.25174739956855774, 0.4044605493545532, 0.3869781792163849, -0.13768510520458221, -0.35892367362976074, 0.09585051238536835, 0.2670874297618866, 0.10166747123003006, 0.6186581254005432, -0.08532693237066269, -0.02818857692182064, -0.4461250305175781, 0.26344797015190125, -0.21491600573062897, -0.08070120960474014, -0.06499715149402618, -0.5132374167442322, -0.8095634579658508, -0.2769638001918793, 0.266908198595047, 0.5761277675628662, -0.6019494533538818, 0.6127198338508606, -0.3869361877441406, -0.5695987343788147, -0.40421971678733826, -0.03678425773978233, 0.5083150863647461, 0.14943568408489227, 0.5439462065696716, -0.5447902083396912, -0.4640596807003021, -0.906145453453064, -0.09301915019750595, -0.11490839719772339, 0.04463248699903488, 0.2726745307445526, 0.6977925300598145, -0.626805305480957, 0.456725150346756, -0.12636205554008484, -0.3076448142528534, 0.23421691358089447, 0.38431316614151, -0.44070303440093994, 0.4931657314300537, 0.2803676724433899, -0.7981140613555908, -0.2139127105474472, -0.00617476599290967, -0.825444221496582, -0.06490205228328705, -0.14565345644950867, -0.12639972567558289, 0.3053697347640991, 0.398011714220047, -0.7084011435508728, 0.6189066767692566, 0.7687503695487976, -0.5651891827583313, 0.6491694450378418, -0.030724331736564636, 0.6315258741378784, -0.6934547424316406, 0.23513178527355194, -0.23005051910877228, -0.329353928565979, -0.30421850085258484, -0.04518214240670204, -0.07185032218694687, 0.008718971163034439, -0.08374281972646713, 0.48619669675827026, -0.3109840750694275, -0.3262036144733429, 0.0029927431605756283, 0.1475721150636673, -0.1848154515028, 0.603679358959198, 0.28873512148857117, 0.6261544227600098, 0.41524311900138855, -0.4457210600376129, 0.5096927881240845, 0.2261027991771698, -0.4684380292892456, 0.6579092741012573, -0.4787798523902893, 0.18603354692459106, 0.21865211427211761, 0.16853752732276917, -1.233016014099121, -0.14815281331539154, 0.09160563349723816, -0.5137866735458374, 0.051924336701631546, 0.3485962152481079, -0.4665587842464447, 0.2664159834384918, -0.21206878125667572, 0.5693601965904236, 0.07854457199573517, -0.6149847507476807, 0.5221253037452698, 0.20915375649929047, -0.09901699423789978, -0.6644490957260132, -0.5440738201141357, 0.07105493545532227, 0.22463886439800262, -0.8807516694068909, 0.41287145018577576, -0.31046441197395325, 0.018351495265960693, 0.04577689617872238, -0.3495492935180664, 0.08328413218259811, -0.3847121298313141, 0.5326299667358398, -0.06506452709436417, -0.1435098499059677, 0.21943530440330505, -0.0016763668972998857, -0.09135285764932632, -0.048130933195352554, -0.0994337648153305, 0.6915364861488342, -0.2697145342826843, -0.6716061234474182, -0.19091664254665375, 0.5520504713058472, 0.6569042801856995, -0.03863814100623131, 0.4661697447299957, 0.8896922469139099, -0.48856988549232483, -0.07262400537729263, -0.7771506309509277, -0.43077877163887024, -0.33812129497528076, 0.3547942340373993, -0.5735646486282349, -0.8052247166633606, 0.4535078704357147, 0.15306133031845093, -0.16595172882080078, 0.3229418098926544, 0.7644177079200745, 0.4687442481517792, 1.0862464904785156, 0.6873629689216614, 0.09554723650217056, 0.051139481365680695, 0.04121239110827446, 0.248016357421875, -0.36208778619766235, -0.5041304230690002, -0.5004872679710388, -0.13778847455978394, -0.6497302651405334, -0.31527504324913025, 0.015722626820206642, -0.031024467200040817, 0.0028020774479955435, 0.29408949613571167, -0.5767369866371155, 0.4329463839530945, 0.5305342078208923, 0.12781749665737152, 0.5333709716796875, 0.26812416315078735, -0.4634176194667816, -0.05338408425450325, -0.3780789375305176, -0.31002622842788696, 0.8217498660087585, 0.03079083003103733, 0.9332273006439209, 0.10681179910898209, 0.6278848052024841, 0.4954286813735962, 0.1937495470046997, -0.4785081744194031, 0.47706499695777893, 0.1171044334769249, -0.577633798122406, -0.5721576809883118, -0.3664795160293579, -0.6709148287773132, 0.49682384729385376, -0.4349420368671417, -0.7847815752029419, 0.3425033390522003, -0.10474862903356552, -0.09054642170667648, 0.19933553040027618, -0.3909810781478882, 0.9445041418075562, -0.041739530861377716, -0.5195313096046448, -0.09052383899688721, -0.5823280811309814, 0.4912886917591095, 0.001904073404148221, -0.10925047844648361, 0.029697438701987267, 0.20592977106571198, 0.5038593411445618, -0.004872716031968594, 0.7547248601913452, 0.19811514019966125, -0.1414920836687088, -0.11489841341972351, 0.42101913690567017, 0.39750486612319946, 0.16150683164596558, 0.237034872174263, 0.4149390459060669, 0.16980578005313873, -0.2571123242378235, -0.5616427659988403, 1.0388120412826538, -0.6063013076782227, -0.34989428520202637, -0.49091091752052307, -0.7168067097663879, -0.35377779603004456, 0.2929137647151947, 0.5522060394287109, 0.2808309495449066, -0.3610324561595917, 0.47778573632240295, 0.8512871265411377, -0.08703255653381348, 0.14049363136291504, 0.17130370438098907, -0.2813204824924469, -0.507075846195221, 1.057971477508545, -0.01791265979409218, 0.32153886556625366, 0.49143823981285095, -0.11061558127403259, -0.45197340846061707, -0.1933632791042328, -0.3807770013809204, 0.1280468851327896, -1.0815272331237793, 0.010766972787678242, -0.9179689288139343, -0.3161849081516266, -0.6486790776252747, -0.2118920087814331, -0.3349458873271942, -0.4723100960254669, 0.33572763204574585, -0.15636081993579865, -0.027925025671720505, 0.5572308897972107, -0.18983347713947296, -0.3320770561695099, -0.427007257938385, 0.6161731481552124, 0.5340972542762756, 0.5959517955780029, -0.018294936046004295, -0.06883621960878372, 0.014151296578347683, -0.17330172657966614, -0.3709024488925934, -0.7731698155403137, 0.08847643435001373, -0.030591042712330818, 0.763641357421875, 0.3595260679721832, -0.06252121180295944, 0.6486445665359497, -0.21561619639396667, 0.6184512972831726, 0.2524462044239044, -1.0489805936813354, 0.2835181951522827, -0.12131107598543167, 0.2568107843399048, 0.6096511483192444, 0.5143905878067017, -0.5980256795883179, -0.5074501037597656, -0.43864476680755615, -0.6289659738540649, 0.32685285806655884, 0.4745207130908966, -0.2671175003051758, 0.13618099689483643, -0.15475621819496155, 0.5449789762496948, 0.17472904920578003, -1.017383337020874, -0.06355999410152435, -0.6629728078842163, -0.08975256234407425, -0.2777467370033264, -0.1740514189004898, -0.224403977394104, -0.3337317705154419, 0.6978574395179749, -0.10016103833913803, 0.37210148572921753, 0.31441381573677063, -0.3863433301448822, -0.1848931461572647, 0.13560298085212708, 0.8784562349319458, 0.8326014280319214, -0.3424306809902191, 0.46910831332206726, -0.13354480266571045, -0.64017254114151, 0.242389976978302, 0.11954566836357117, -0.22955331206321716, 0.3140343725681305, 0.43306171894073486, 0.8258931040763855, 0.39577561616897583, -0.6779849529266357, 0.5523630976676941, -0.141065314412117, -0.31698551774024963, -0.02597994916141033, -0.03976389020681381, -0.06664001941680908, 0.25582513213157654, 0.07842589914798737, 0.04852794110774994, 0.2659439742565155, -0.6008079648017883, 0.5225923657417297, 0.5342223048210144, -0.7496910095214844, -0.13669179379940033, 0.6809751391410828, 0.030349016189575195, -0.09731738269329071, 0.572278618812561, 0.07996109127998352, -0.2808730900287628, 0.31829702854156494, 0.5519152879714966, 1.185944676399231, -0.4649655222892761, 0.3747345209121704, 0.24700069427490234, 0.7693477272987366, -0.23128163814544678, 0.33062300086021423, -0.32344311475753784, -0.532527506351471, -0.08449393510818481, -0.6734476089477539, -0.3920164406299591, 0.26801976561546326, -0.48653489351272583, 0.2548270523548126, -0.28944000601768494, -0.06355904042720795, 0.10789807885885239, -0.21409133076667786, -0.5679252743721008, 0.40750983357429504, -0.020506931468844414, 0.5025015473365784, -0.9342418313026428, 0.7305782437324524, 0.4700378179550171, -0.5431995987892151, -0.30041277408599854, 0.21876001358032227, -0.09274446964263916, -0.5368515849113464, 0.4953756630420685, 0.4296514391899109, -0.47138696908950806, -0.2255377620458603, -0.2992747128009796, -0.7421178817749023, 1.1453782320022583, 0.3852587938308716, -0.2919621765613556, -0.03816963732242584, 0.27600353956222534, 0.34207162261009216, -0.4899820387363434, 0.2999233603477478, 0.43784964084625244, 0.6426689624786377, 0.1565130054950714, -0.9399968385696411, 0.5654853582382202, -0.40204912424087524, -0.03787977993488312, 0.21197393536567688, -0.4957065284252167, 0.7888574004173279, -0.2811637818813324, -0.10842011868953705, 0.12053760886192322, 0.34055033326148987, 0.3341023325920105, 0.35621747374534607, 0.543138861656189, 0.6736189126968384, 0.5063151717185974, -0.1792295277118683, 0.8639741539955139, -0.19652242958545685, 0.29813751578330994, 0.953773558139801, -0.1545356959104538, 0.6501114368438721, 0.644392728805542, 0.17137770354747772, 0.3843626081943512, 0.5682352185249329, -0.2041478008031845, 0.7628979086875916, 0.040583256632089615, 0.0144124124199152, -0.5205952525138855, 0.06619410216808319, -0.736341118812561, 0.4321441948413849, -0.08685220777988434, -0.41244402527809143, -0.23781457543373108, 0.04523536190390587, -0.33355143666267395, -0.29507943987846375, 0.11982980370521545, 0.5819926261901855, -0.06169343367218971, -0.7433604598045349, 0.9100033044815063, -0.18083128333091736, 0.37234923243522644, -0.44609829783439636, -0.34869149327278137, -0.2688126266002655, 0.1222134605050087, -0.263144850730896, -0.40018337965011597, 0.15899096429347992, -0.33414986729621887, -0.42173683643341064, 0.10968978703022003, 0.5858058929443359, -0.6490729451179504, -0.48112955689430237, 0.594866931438446, 0.36019203066825867, 0.3325013816356659, -0.3217098116874695, -0.3901025950908661, 0.23011048138141632, -0.05608740076422691, -0.22775958478450775, 0.358380526304245, 0.4015621244907379, -0.2935115098953247, 0.6929455995559692, 0.5913164019584656, -0.13142365217208862, 0.2103278934955597, 0.0760262981057167, 0.7189595103263855, -0.8004492521286011, -0.4935449957847595, -0.6998636722564697, 0.25134024024009705, 0.03842870891094208, -0.4172506630420685, 0.7834547162055969, 0.5487672686576843, 1.0541391372680664, -0.017834631726145744, 0.8394497632980347, -0.034600015729665756, 0.15898244082927704, -0.6275461912155151, 0.8302076458930969, -0.7549048662185669, -0.054774172604084015, -0.6995639801025391, -1.3875315189361572, -0.31164881587028503, 0.6293081045150757, 0.11030789464712143, 0.17936518788337708, 1.07978093624115, 0.9307984709739685, -0.36298084259033203, 0.21344077587127686, 0.6524602174758911, 0.02019147016108036, 0.028458122164011, 0.6201203465461731, 0.7221125364303589, -0.43204545974731445, 0.7536503076553345, -0.4460211396217346, -0.33106768131256104, -0.392992228269577, -0.7855453491210938, -1.1247464418411255, -0.814448356628418, -0.1893198937177658, -0.5228719115257263, 0.1992359459400177, 0.48742252588272095, 0.8673465251922607, -1.0145387649536133, -0.12109298259019852, 0.1672675460577011, 0.007833476178348064, -0.5312241315841675, -0.22054630517959595, 0.5945202112197876, -0.0478656068444252, -0.47256404161453247, 0.19360847771167755, 0.423188716173172, -0.031139058992266655, -0.6425402164459229, -0.213317409157753, -0.16934894025325775, 0.08541273325681686, 0.6375698447227478, 0.0028307088650763035, -1.0785623788833618, -0.42223674058914185, 0.14166204631328583, -0.26238328218460083, 0.018202999606728554, 0.9586126208305359, -0.6326347589492798, 0.6187343001365662, 0.719856321811676, 0.7478120923042297, 0.5725730061531067, -0.10684694349765778, 0.2558079659938812, -0.48829564452171326, 0.05900750681757927, 0.13479629158973694, 0.24753569066524506, 0.42070817947387695, -0.38202160596847534, 0.6003214716911316, 0.2839675545692444, -0.5865371227264404, -0.8798302412033081, 0.08774229884147644, -1.0761982202529907, -0.24074512720108032, 1.0586010217666626, 0.11845115572214127, 0.1441071331501007, -0.20674878358840942, -0.20223945379257202, 0.09681923687458038, -0.2885003089904785, 1.3286956548690796, 1.022926688194275, -0.15981902182102203, -0.3199649453163147, -0.5832713842391968, 0.5334652066230774, 0.45239290595054626, -0.9075761437416077, 0.10008610039949417, 0.5528237819671631, 0.20287908613681793, 0.5147562026977539, 0.5583227276802063, -0.2178996503353119, 0.48441535234451294, 0.2332422137260437, 0.31150758266448975, 0.047178760170936584, -0.7106941938400269, -0.02027291990816593, 0.42247700691223145, -0.4864843487739563, 0.029437297955155373 ]
http://arxiv.org/abs/2405.13640v1
http://arxiv.org/pdf/2405.13640v1
Knowledge Graph Reasoning with Self-supervised Reinforcement Learning
2024-05-22T13:39:33
2024-05-22T13:39:33
Ying Ma, Owen Burns, Mingqiu Wang, Gang Li, Nan Du, Laurent El Shafey, Liqiang Wang, Izhak Shafran, Hagen Soltau
cs.CL
cs.CL, cs.AI, cs.LG
Reinforcement learning (RL) is an effective method of finding reasoning pathways in incomplete knowledge graphs (KGs). To overcome the challenges of a large action space, a self-supervised pre-training method is proposed to warm up the policy network before the RL training stage. To alleviate the distributional mismatch issue in general self-supervised RL (SSRL), in our supervised learning (SL) stage, the agent selects actions based on the policy network and learns from generated labels; this self-generation of labels is the intuition behind the name self-supervised. With this training framework, the information density of our SL objective is increased and the agent is prevented from getting stuck with the early rewarded paths. Our self-supervised RL (SSRL) method improves the performance of RL by pairing it with the wide coverage achieved by SL during pretraining, since the breadth of the SL objective makes it infeasible to train an agent with that alone. We show that our SSRL model meets or exceeds current state-of-the-art results on all Hits@k and mean reciprocal rank (MRR) metrics on four large benchmark KG datasets. This SSRL method can be used as a plug-in for any RL architecture for a KGR task. We adopt two RL architectures, i.e., MINERVA and MultiHopKG as our baseline RL models and experimentally show that our SSRL model consistently outperforms both baselines on all of these four KG reasoning tasks. Full code for the paper available at https://github.com/owenonline/Knowledge-Graph-Reasoning-with-Self-supervised-Reinforcement-Learning.
[ -0.3929738998413086, -0.4901410639286041, 0.4532366394996643, 0.16086667776107788, 0.06462430953979492, -0.003285801038146019, 0.15188837051391602, -0.10324399918317795, 0.1727694272994995, 0.6891887187957764, -0.8050081133842468, -0.5979851484298706, -0.42006000876426697, 0.03431805595755577, 0.03650014474987984, 1.0250160694122314, -0.23290510475635529, -0.18986231088638306, -0.30800455808639526, -0.24151276051998138, -0.25619351863861084, -0.38249894976615906, -0.6569995284080505, -0.6890337467193604, 0.7407000064849854, 0.13316091895103455, 0.5807666778564453, 0.637995183467865, 0.1063072606921196, 0.35470035672187805, 0.23795118927955627, 0.4833426773548126, -0.4673119783401489, 0.30653658509254456, -0.23801381886005402, -0.007027846295386553, -0.25528445839881897, 0.1252792328596115, 0.4086565375328064, 0.1877257376909256, -0.23211871087551117, 0.05308295786380768, 0.014653286896646023, 0.9358529448509216, -0.7939044833183289, 0.43603280186653137, -0.09937243163585663, 0.43276527523994446, 0.1422480046749115, -0.10999320447444916, -0.6224799752235413, -0.27596983313560486, -0.07014802098274231, -0.8634095191955566, -0.006334294099360704, 0.15455211699008942, 0.6405021548271179, 0.5856195092201233, -0.5710936188697815, -0.1495901197195053, -0.6119915843009949, 0.48475533723831177, -0.4354206919670105, 0.6186679601669312, 0.3410743772983551, 0.6423798203468323, -0.1887374073266983, -0.8617022037506104, -0.30563074350357056, -0.3313409090042114, -0.39363840222358704, 0.4075929522514343, 0.11620829999446869, 0.06897445023059845, 0.3776094317436218, -0.2916679084300995, -0.6756117939949036, 0.01152533758431673, -0.22956661880016327, -0.40262579917907715, 0.7222446799278259, 0.22650429606437683, -0.07272962480783463, -0.24122393131256104, -0.5640674233436584, -0.2779899537563324, -0.5549623370170593, 0.06982242316007614, 0.35976892709732056, 0.4302390515804291, 0.16700266301631927, 0.29053065180778503, -0.5655105710029602, 0.8100884556770325, -0.03730640187859535, -0.1266455352306366, 0.2854680120944977, -0.24159710109233856, -0.20612478256225586, 0.046444542706012726, 0.9585009813308716, 0.04079271852970123, 0.3583007752895355, -0.1515079140663147, -0.17405147850513458, -0.22676780819892883, 0.37290090322494507, -0.6563574075698853, -0.5015295743942261, 0.0806274339556694, -0.30155259370803833, -0.2426157295703888, -0.26161012053489685, -0.29931876063346863, -0.1702832132577896, -0.40658825635910034, 0.553092360496521, -0.5409833192825317, -0.45954445004463196, -0.11703596264123917, -0.07625827938318253, 0.06374634802341461, 0.3827052712440491, -0.6008050441741943, 0.1512841433286667, 0.31606337428092957, 0.469062477350235, -0.16799141466617584, -0.6012863516807556, -0.280804842710495, 0.3661910593509674, -0.5911993384361267, 0.787347137928009, -0.021637678146362305, -0.12767772376537323, -0.17110474407672882, -0.26121845841407776, -0.37963834404945374, -0.3992670178413391, 0.033782705664634705, -0.8978057503700256, 0.10269729793071747, -0.32042697072029114, -0.666767418384552, 0.016972120851278305, 0.5460221171379089, -0.3901878893375397, 0.9328898191452026, 0.12458280473947525, -0.711468517780304, 0.49561360478401184, -0.7669016122817993, -0.5357630252838135, 0.0553697794675827, -0.1560904085636139, -0.5786131024360657, -0.6853761076927185, 0.34828704595565796, 0.5347029566764832, 0.2674732506275177, 0.20919650793075562, -0.6302192807197571, -0.12519516050815582, 0.1088181808590889, -0.06845196336507797, 0.5945785045623779, 0.6143953800201416, -0.06325195729732513, 0.273063063621521, -0.44823983311653137, 0.5021702647209167, 0.213011234998703, -0.12169822305440903, -0.16009990870952606, -0.09983742982149124, -0.622893214225769, 0.4315436780452728, 0.2332870215177536, -0.14033693075180054, 0.08787401765584946, -0.12486094981431961, 0.2118135392665863, 0.8368000388145447, 0.06159532070159912, 0.3390496075153351, 0.062056511640548706, 0.5248745083808899, 0.10297955572605133, 0.48330727219581604, 0.12096195667982101, -0.09105522930622101, -0.5586938261985779, -0.24090364575386047, 0.4065548777580261, 0.36821579933166504, -0.934486448764801, 0.38559865951538086, 0.07399708777666092, -0.39191991090774536, -0.3632316291332245, 0.02935938350856304, 0.6988222599029541, 0.7154167294502258, 0.5922612547874451, 0.11333563923835754, -0.17537818849086761, -0.7851696610450745, -0.25512558221817017, -0.0591234490275383, 0.38078048825263977, 0.5521203279495239, 0.4377404451370239, -0.12227171659469604, 1.3055599927902222, -0.6297374367713928, -0.5273325443267822, -0.41620978713035583, 0.23875397443771362, 0.0022337837144732475, 0.425832062959671, 0.4125455617904663, -0.6468656659126282, -0.6616843342781067, -0.09278083592653275, -1.261175513267517, 0.13931262493133545, 0.18468768894672394, -0.1805504411458969, 0.20435450971126556, 0.7037925124168396, -0.5414601564407349, 0.5811806321144104, 0.2400042712688446, -0.38932543992996216, 0.6317331194877625, -0.5833820104598999, 0.22478531301021576, -0.6274961829185486, -0.19495737552642822, 0.04267016053199768, -0.3581250011920929, -0.5584261417388916, 0.01696835458278656, 0.14265087246894836, -0.09297031164169312, -0.3686470687389374, 0.5086862444877625, -0.2878022789955139, -0.40843674540519714, -0.25343745946884155, 0.143825963139534, 0.11361683160066605, 0.6372738480567932, 0.1038600504398346, 0.8583238124847412, 0.4906023442745209, -0.8009822964668274, 0.5429888963699341, 0.2720390856266022, -0.05153890699148178, 0.3083995282649994, -0.4979971945285797, -0.07473766058683395, -0.23362934589385986, 0.5545006990432739, -0.8322158455848694, 0.02952803671360016, 0.5497161746025085, -0.33145004510879517, 0.3407899737358093, -0.2935274541378021, -0.2994735538959503, -0.6029409766197205, 0.2918010652065277, 0.3906351327896118, 0.3747742176055908, -0.6097770929336548, 0.7853583693504333, 0.13932590186595917, 0.45334818959236145, -0.7506866455078125, -0.27414095401763916, -0.29655686020851135, -0.214721217751503, -0.4804062843322754, 0.0015221532667055726, -0.024265309795737267, 0.09497696906328201, 0.23592165112495422, -0.15136492252349854, -0.07036589831113815, 0.1226406842470169, 0.13714393973350525, 0.032917458564043045, -0.06578413397073746, 0.43033382296562195, -0.11097846925258636, -0.4993946850299835, 0.12740880250930786, -0.6189730167388916, 0.3574824631214142, -0.11012643575668335, -0.5381420850753784, -0.3684958517551422, -0.1516045182943344, 0.08526434004306793, -0.15959331393241882, 0.6907589435577393, 0.5137834548950195, 0.2034558653831482, -0.3665618896484375, -0.3990781307220459, -0.1636430025100708, -0.47770699858665466, 0.1633351445198059, -0.6284970045089722, -0.7586985230445862, 0.3062688112258911, -0.24042247235774994, -0.30520710349082947, 0.3989405930042267, 0.16615819931030273, -0.26832157373428345, 1.0142232179641724, 0.23017805814743042, 0.00136815186124295, 0.26539772748947144, -0.39688989520072937, 0.21897956728935242, -0.6818169355392456, -0.27830684185028076, -0.18602555990219116, 0.017605679109692574, -0.46293824911117554, -0.19222469627857208, 0.46544358134269714, 0.02433200366795063, -0.5706052780151367, 0.271057665348053, -0.6008555293083191, 0.4810512661933899, 0.590487539768219, 0.23413559794425964, 0.044118624180555344, -0.2359205037355423, -0.39834389090538025, 0.14055298268795013, -1.020845651626587, 0.017778918147087097, 1.0255866050720215, 0.24763169884681702, 0.8371577262878418, -0.12065467238426208, 1.0674008131027222, 0.7562711238861084, 0.265550434589386, -0.254232794046402, 0.6083277463912964, 0.14520007371902466, -0.5109298229217529, -0.7396663427352905, -0.7173924446105957, -0.9796736240386963, 0.5302764773368835, -0.05184183642268181, -0.35622310638427734, -0.1764644980430603, 0.4563038647174835, -0.26826101541519165, 0.10820727050304413, -0.6905256509780884, 1.2679529190063477, -0.3627387285232544, -0.21006697416305542, -0.3158623278141022, -0.8031304478645325, 0.3289089500904083, 0.2520166039466858, 0.25322556495666504, -0.10729558020830154, 0.5037654638290405, 0.6970415115356445, -0.5156331062316895, 0.6448054909706116, -0.560360848903656, 0.13419248163700104, 0.4385308027267456, 0.06987442821264267, 0.6868693828582764, -0.18529756367206573, 0.2142106592655182, -0.14447474479675293, -0.09263496845960617, -0.4789268672466278, -1.030225157737732, 0.5351566076278687, -1.0691860914230347, -0.577518105506897, -0.4880557358264923, -0.5228431820869446, -0.3086700141429901, 0.2567809522151947, -0.031546857208013535, 0.35059472918510437, 0.15456992387771606, -0.1838611215353012, 0.838965117931366, 0.019582977518439293, 0.12642282247543335, 0.6521783471107483, -0.5291755795478821, -0.44533756375312805, 0.9486304521560669, 0.18570126593112946, 0.39576494693756104, 0.19127900898456573, 0.22151365876197815, -0.6890944838523865, -0.37602075934410095, -0.31719619035720825, 0.155893936753273, -0.9642515182495117, -0.26342812180519104, -0.8284780383110046, -0.6095213294029236, -0.8063076138496399, 0.10447198152542114, -0.4468836486339569, -0.23151510953903198, -0.10194334387779236, -0.11553648114204407, 0.2760237455368042, 0.8424289226531982, -0.42081546783447266, 0.2174740731716156, -0.3225869834423065, 0.4494687616825104, 0.6052577495574951, 0.22181378304958344, 0.03721988946199417, -0.43235769867897034, -0.19455498456954956, -0.11734478175640106, -0.04903021454811096, -0.6344322562217712, 0.1831890493631363, -0.22634229063987732, 0.8363350629806519, 0.39733806252479553, 0.34347841143608093, 0.6595842242240906, -0.2722856402397156, 0.30526334047317505, 0.2388075590133667, -0.4446035921573639, 0.7570512294769287, -0.26506534218788147, 0.07093668729066849, 0.39694297313690186, 0.4877393841743469, -0.1885460913181305, -0.29119542241096497, -0.8664882183074951, -0.5690693259239197, 0.7461514472961426, 0.11378473043441772, -0.49101775884628296, -0.0015864359447732568, 0.36687931418418884, -0.25567886233329773, 0.15550032258033752, -0.9151186943054199, -0.41721469163894653, -0.6456248760223389, -0.14049863815307617, -0.10080435872077942, -0.11528884619474411, -0.24049311876296997, -0.1529744565486908, 0.9288240075111389, -0.42352551221847534, 0.08638644218444824, 0.2749062776565552, -0.08858585357666016, 0.06750913709402084, 0.10145086795091629, 0.3497942090034485, 0.5512152910232544, -0.110275499522686, 0.06301536411046982, 0.2660260796546936, 0.10017900913953781, 0.2949533462524414, 0.10638612508773804, -0.1334008425474167, -0.5671480298042297, 0.2994953691959381, 0.7774874567985535, 0.19179098308086395, -0.3039979338645935, 0.5284505486488342, 0.02066706120967865, -0.3421056270599365, -0.32337403297424316, 0.26441752910614014, -0.024841805920004845, 0.6221160888671875, 0.137568861246109, -0.02024308405816555, -0.05133310332894325, -0.18504895269870758, 0.4102623760700226, 0.5797046422958374, -0.5709133148193359, 0.2340831607580185, 0.33394497632980347, -0.13625676929950714, -0.07592052221298218, 0.7994785308837891, -0.5938507914543152, -0.6974324584007263, 0.6336246728897095, 0.6973552703857422, 0.4835517704486847, -0.1335603892803192, 0.6702319383621216, 0.3238345980644226, 0.17307081818580627, -0.050864867866039276, -0.0982479378581047, -0.35362863540649414, -0.9518505334854126, -0.5294591784477234, -0.49575209617614746, -0.29514217376708984, -0.19815924763679504, -0.6040003299713135, -0.12249995768070221, -0.43753698468208313, 0.047032397240400314, -0.41594231128692627, -0.026943910866975784, -0.5930195450782776, 0.4134593605995178, -0.07495768368244171, 0.8882481455802917, -1.0224367380142212, 0.9396119713783264, 0.3723788559436798, -0.4628008306026459, -1.2661105394363403, -0.25672388076782227, -0.34184032678604126, -1.0181864500045776, 1.1607853174209595, -0.028964562341570854, -0.2537432610988617, 0.16704198718070984, -0.3841210603713989, -1.0480849742889404, 1.3592790365219116, -0.04310811311006546, -0.18117034435272217, 0.12505246698856354, 0.14044047892093658, 0.44829660654067993, -0.4594692587852478, 0.2936476767063141, 0.4221852123737335, 0.5513903498649597, 0.5705187320709229, -0.4962153732776642, 0.062148742377758026, 0.1950187236070633, -0.24498023092746735, 0.1926954984664917, -0.7909020185470581, 0.6900004744529724, -0.2133515328168869, 0.16094064712524414, -0.31557950377464294, 1.014289140701294, 0.6786686182022095, 0.4458092153072357, 0.6252810955047607, 0.9099510312080383, 0.6832672953605652, -0.002275763312354684, 0.988947868347168, -0.25806212425231934, 0.5628880262374878, 0.9946709871292114, -0.4667452275753021, 0.24603573977947235, 0.0016773847164586186, -0.2967027425765991, 0.5937126278877258, 0.4985778033733368, 0.05529288575053215, 0.8179177045822144, 0.1482456922531128, 0.03182927146553993, -0.9075121283531189, 0.03202863410115242, -0.4457448720932007, 0.13151469826698303, 0.18603459000587463, -0.04594319686293602, -0.6257679462432861, 0.15354475378990173, -0.19675588607788086, 0.08831609040498734, -0.3702751696109772, 0.8376850485801697, -0.033876895904541016, -0.8266075253486633, 0.23429279029369354, -0.4207218587398529, -0.004888795781880617, -0.9224705696105957, 0.0051619745790958405, -0.13835161924362183, 0.23882798850536346, -0.09062261879444122, -0.8931208848953247, 0.08369796723127365, -0.5726689696311951, 0.00814872793853283, -0.401001900434494, 1.1169332265853882, -0.19510062038898468, -0.1649715155363083, 0.5629820227622986, 0.6048130989074707, 0.17768576741218567, 0.18077154457569122, -1.0142438411712646, -0.33797210454940796, -0.0703878402709961, -0.3322790861129761, 0.6721243262290955, 0.6914359927177429, 0.04851645603775978, 1.2143833637237549, 0.6049873232841492, -0.09168235957622528, 0.09496117383241653, 0.15660658478736877, 0.9226704835891724, -0.6285655498504639, -0.7694993019104004, -0.5638304352760315, 0.19098761677742004, -0.21041329205036163, 0.009459637105464935, 0.684783935546875, 0.43762826919555664, 0.49232298135757446, 0.04161322861909866, 0.760956883430481, -0.03396029397845268, 0.5115320086479187, -0.6706178188323975, 0.6033204197883606, -0.3778446614742279, -0.12167911976575851, -0.03381725400686264, -0.42567503452301025, -0.0480412058532238, 0.8027405142784119, -0.6018329858779907, 0.3477330803871155, 0.6694432497024536, 0.6925113201141357, -0.010511411353945732, -0.11020057648420334, 0.45370668172836304, 0.13109663128852844, 0.26854413747787476, 0.3527732193470001, 0.9896275401115417, -0.15849649906158447, 0.6904184818267822, -0.17361852526664734, -0.05352575331926346, 0.003552028676494956, -0.9005386829376221, -0.9851451516151428, -0.30490729212760925, -0.41219639778137207, -0.6560786962509155, 0.45531967282295227, 0.6982771158218384, 0.8233628273010254, -0.6072466373443604, 0.03524812310934067, -0.23018789291381836, 0.5209988355636597, -0.41890963912010193, -0.2745257318019867, 0.41938865184783936, -0.8358160853385925, 0.14605028927326202, 0.5123755931854248, 0.16936957836151123, -0.05281853303313255, -0.5258637070655823, -0.6005545854568481, -0.2519416809082031, -0.33690088987350464, 0.3440086543560028, 0.48788338899612427, -0.5533679723739624, -0.2823558449745178, -0.3697877824306488, -0.1298948973417282, -0.08811783790588379, 0.6952211260795593, -1.1202664375305176, 0.22807073593139648, 0.14587371051311493, 0.41010090708732605, 0.9429621696472168, 0.1223524659872055, 0.2582038640975952, -0.773413360118866, -0.15118251740932465, 0.02356569655239582, 0.20442456007003784, 0.0747564509510994, -0.29606008529663086, 0.5736836194992065, 0.35848936438560486, -0.9083065986633301, -0.42229944467544556, 0.5517841577529907, -0.6201028227806091, -0.46460720896720886, 0.9892923831939697, -0.4173368513584137, -0.3208478093147278, -0.12110176682472229, 0.13856475055217743, 0.3125270903110504, -0.31695234775543213, 0.7715311646461487, 0.3604612350463867, -0.5457686185836792, -0.25263097882270813, -0.23767341673374176, 0.7107067108154297, 0.18821164965629578, -0.8002229332923889, 0.054749976843595505, 0.3884087800979614, 0.43125784397125244, 0.12331550568342209, 0.995324432849884, 0.2883877158164978, 0.11047355085611343, -0.09237316995859146, -0.03532880172133446, -0.547353982925415, -0.7083187699317932, 0.13911178708076477, 0.29754874110221863, 0.017105069011449814, -0.05228255316615105 ]
http://arxiv.org/abs/2405.13622v1
http://arxiv.org/pdf/2405.13622v1
Automated Evaluation of Retrieval-Augmented Language Models with Task-Specific Exam Generation
2024-05-22T13:14:11
2024-05-22T13:14:11
Gauthier Guinet, Behrooz Omidvar-Tehrani, Anoop Deoras, Laurent Callot
cs.CL
cs.CL, cs.IR
We propose a new method to measure the task-specific accuracy of Retrieval-Augmented Large Language Models (RAG). Evaluation is performed by scoring the RAG on an automatically-generated synthetic exam composed of multiple choice questions based on the corpus of documents associated with the task. Our method is an automated, cost-efficient, interpretable, and robust strategy to select the optimal components for a RAG system. We leverage Item Response Theory (IRT) to estimate the quality of an exam and its informativeness on task-specific accuracy. IRT also provides a natural way to iteratively improve the exam by eliminating the exam questions that are not sufficiently informative about a model's ability. We demonstrate our approach on four new open-ended Question-Answering tasks based on Arxiv abstracts, StackExchange questions, AWS DevOps troubleshooting guides, and SEC filings. In addition, our experiments reveal more general insights into factors impacting RAG performance like size, retrieval mechanism, prompting and fine-tuning. Most notably, our findings show that choosing the right retrieval algorithms often leads to bigger performance gains than simply using a larger language model.
[ -0.45515409111976624, -0.9414415955543518, 0.31562525033950806, -0.04580283910036087, -0.1214265376329422, -0.0038453801535069942, -0.2638087868690491, -0.4636922776699066, 0.22151316702365875, 0.5560131072998047, -0.3012031316757202, -0.10449229180812836, -0.3117406964302063, 0.3633778989315033, -0.5474737882614136, 1.1075148582458496, -0.051468461751937866, -0.05508005619049072, -0.2776312530040741, -0.12227633595466614, -0.5328899025917053, -0.22344326972961426, -0.7116941213607788, -0.12776555120944977, 0.53932785987854, 0.20966556668281555, 0.4802481532096863, 0.6365189552307129, 1.012499451637268, 0.23612020909786224, -0.07514239102602005, 0.1347358524799347, -0.27891770005226135, 0.23036302626132965, -0.4406576156616211, -0.257118821144104, -0.44752049446105957, 0.08936163783073425, 0.46589481830596924, 0.5335045456886292, -0.35952404141426086, 0.6917443871498108, 0.13317176699638367, 0.5843874216079712, -0.8059222102165222, -0.22177650034427643, -0.6895146369934082, -0.0770515650510788, -0.09060239046812057, -0.4645526707172394, -0.7167794704437256, -0.1773499995470047, 0.14955013990402222, -0.4570484161376953, 0.20661388337612152, 0.22624754905700684, 0.8853623867034912, 0.2899709939956665, -0.33091214299201965, -0.4823720157146454, -0.7849921584129333, 0.7979139685630798, -0.4238812029361725, 0.4567561149597168, 0.4802533984184265, 0.3314555585384369, 0.04022219777107239, -0.6640234589576721, -0.38288798928260803, -0.5526047945022583, -0.189630925655365, 0.38588473200798035, 0.09979379922151566, 0.1319912075996399, 0.12170092761516571, 0.5031006932258606, -0.7441176772117615, -0.2023373246192932, -0.26365020871162415, 0.09568893909454346, 0.5780572891235352, 0.25992774963378906, 0.23449598252773285, -0.3470199406147003, -0.25083357095718384, -0.3821878433227539, -0.29763609170913696, -0.017272567376494408, 0.24683138728141785, 0.2526780962944031, 0.4318165183067322, 0.6139855980873108, -0.05859845504164696, 0.8994261622428894, 0.12276997417211533, 0.057970140129327774, 0.04880218952894211, -0.45558473467826843, -0.2214295119047165, -0.5715603828430176, 0.485663503408432, 0.18879379332065582, -0.1496444046497345, -0.3156329393386841, -0.5161210894584656, -0.11155308783054352, 0.8385756611824036, -0.6837548613548279, 0.004324913490563631, 0.4465402662754059, -0.47171327471733093, -0.3378685712814331, -0.08623144030570984, -0.7493774890899658, -0.4069617688655853, -0.3680109679698944, 0.8022753000259399, -0.15462994575500488, -0.21545104682445526, -0.13053205609321594, -0.12441045790910721, 0.3001041114330292, 0.2926165759563446, -0.3304973244667053, 0.6087273359298706, 0.6712972521781921, 0.47876057028770447, -0.43697142601013184, -0.16277214884757996, -0.8522947430610657, -0.20819224417209625, -0.5920471549034119, 1.0055888891220093, -0.5202284455299377, -0.29580456018447876, -0.28281378746032715, -0.21509285271167755, -0.1656801551580429, -0.6088694334030151, 0.5054634213447571, -0.9356027841567993, 0.4012356102466583, -0.1354023516178131, -0.528003990650177, -0.21232391893863678, 0.5961480736732483, -0.6287516951560974, 1.0743184089660645, 0.28244248032569885, -0.6477603912353516, 0.09931334108114243, -0.8806872367858887, -0.2598518431186676, 0.06339340656995773, 0.08883552998304367, -0.15310336649417877, 0.12359152734279633, -0.09753487259149551, 0.2360788732767105, -0.7383167147636414, 0.041789233684539795, 0.09292418509721756, -0.3847362995147705, 0.26549506187438965, -0.18282940983772278, 0.6904588937759399, 0.30628320574760437, -0.254477858543396, 0.030461756512522697, -0.5604622960090637, 0.47117453813552856, 0.06578751653432846, -0.37376222014427185, -0.459139883518219, -0.04499680548906326, -0.03145609796047211, -0.15466299653053284, 0.362434446811676, -0.45257440209388733, 0.04940389096736908, -0.385561466217041, -0.2994239926338196, 0.7584651708602905, 0.11814103275537491, 0.34364160895347595, -0.3482315242290497, 0.8546770215034485, -0.45218726992607117, 0.3556526303291321, -0.06919748336076736, -0.2492446005344391, -0.6827104091644287, -0.14386336505413055, 0.6928942799568176, 0.7761495113372803, -0.5736439824104309, 0.18518786132335663, -0.06943295896053314, -0.6693320870399475, -0.6096289157867432, -0.10723576694726944, 0.7578863501548767, 0.6701803207397461, 0.2632494270801544, -0.6198046207427979, -0.49651601910591125, -0.7374292016029358, -0.32567185163497925, -0.3644114136695862, -0.05248374491930008, 0.6228092908859253, 0.6032169461250305, -0.1735941767692566, 0.7557217478752136, -0.6014942526817322, -0.1336260735988617, 0.007187799084931612, 0.39761433005332947, 0.14805001020431519, 0.260297030210495, 0.3470657467842102, -0.8457509279251099, -0.46262553334236145, 0.1395418643951416, -0.36978811025619507, -0.24807314574718475, 0.09063605219125748, -0.10316728055477142, 0.5198409557342529, 0.1870734989643097, -0.28609585762023926, 0.2808420658111572, 0.4592832028865814, -0.3419669568538666, 0.8475214838981628, -0.33720317482948303, 0.569236159324646, -0.9245986342430115, 0.47268328070640564, -0.12379743158817291, -0.05643297731876373, -0.5228284001350403, 0.6454957723617554, 0.17735466361045837, -0.048190075904130936, -0.06745559722185135, 0.9118326306343079, -0.43603092432022095, -0.4571758508682251, -0.404803603887558, 0.24224543571472168, 0.1534155309200287, 0.3895304799079895, -0.18151600658893585, 0.937839686870575, 0.014995218254625797, -0.6941558122634888, 0.06122196093201637, 0.23507839441299438, -0.34211432933807373, 0.663504958152771, -0.616676390171051, 0.5127407312393188, -0.08749141544103622, 0.021644342690706253, -1.1514592170715332, -0.08413351327180862, -0.1656690537929535, -0.6495528817176819, 0.27751073241233826, -0.07388395816087723, -0.42047572135925293, -0.3225206434726715, -0.16646671295166016, 0.24459831416606903, 0.6297137141227722, -0.2649085819721222, 0.6862817406654358, 0.42947787046432495, -0.2112269550561905, -0.8472164273262024, -0.2057935893535614, -0.12584809958934784, -0.08393267542123795, -0.449047714471817, 0.23215897381305695, -0.3242957592010498, -0.4981502294540405, 0.03042629174888134, -0.23868034780025482, -0.3340270519256592, 0.30547258257865906, -0.10549084097146988, 0.30725255608558655, -0.0640493854880333, 0.19836193323135376, -0.2470521330833435, -0.011991715990006924, -0.016142211854457855, -0.030597835779190063, 0.44880521297454834, -0.1983615905046463, -0.33767586946487427, -0.024191243574023247, 0.3468407094478607, 0.331373006105423, -0.7248649001121521, 0.3106418251991272, 0.4488869905471802, -0.25395894050598145, -0.17831173539161682, -0.7274216413497925, -0.43198755383491516, -0.4418831169605255, 0.41721415519714355, -0.45013877749443054, -0.4686185419559479, 0.6752403378486633, 0.2521021068096161, 0.326095849275589, 0.5197546482086182, 0.3836473226547241, -0.13344642519950867, 1.1293809413909912, 0.501706600189209, 0.23575818538665771, 0.3680253028869629, -0.27211859822273254, 0.09105007350444794, -1.0130890607833862, 0.11871244758367538, -0.9142140746116638, -0.11578579246997833, -0.46301332116127014, -0.5000158548355103, 0.5355292558670044, -0.0757516473531723, -0.329959511756897, 0.3755953907966614, -0.7462456822395325, 0.4759405255317688, 0.4645218551158905, 0.0015195925952866673, 0.3270581066608429, -0.23740538954734802, -0.02037365920841694, 0.18904997408390045, -0.42189452052116394, -0.48812711238861084, 1.247687816619873, 0.094745934009552, 0.5317304134368896, -0.07080712169408798, 0.6244200468063354, 0.4500148892402649, 0.5772446393966675, -0.7637279033660889, 0.5457127690315247, -0.18562211096286774, -0.728641927242279, -0.4967647194862366, -0.5239046216011047, -0.995729386806488, 0.2758379876613617, -0.02211342751979828, -0.6223922371864319, -0.16339492797851562, 0.06341353803873062, -0.3191635012626648, -0.05922769755125046, -0.6959822773933411, 0.6720103621482849, -0.18097691237926483, -0.2288956642150879, -0.262361079454422, -0.4287244975566864, 0.18054528534412384, -0.2839322090148926, 0.27698034048080444, 0.2021973580121994, -0.24380438029766083, 1.0585243701934814, -0.07311782985925674, 0.38498231768608093, -0.1263427585363388, 0.034011173993349075, 0.47137296199798584, 0.5113216638565063, 0.6278989315032959, -0.28051578998565674, -0.47909384965896606, -0.28388091921806335, 0.22385382652282715, -0.16225144267082214, -0.8477689623832703, 0.3795188069343567, -0.4621608853340149, -0.6635249853134155, -0.39380040764808655, -0.6630041003227234, -0.1946604996919632, 0.29806801676750183, -0.0055900332517921925, 0.6153032779693604, -0.162515789270401, 0.04207586497068405, 0.5357183218002319, -0.23610273003578186, 0.1108190044760704, 0.9283568859100342, -0.19901853799819946, -0.4841139316558838, 0.8341890573501587, 0.2114536613225937, 0.34184589982032776, 0.40787017345428467, 0.32658931612968445, -0.25209498405456543, -0.562650740146637, -0.40861937403678894, 0.22245948016643524, -0.6247472167015076, -0.31594184041023254, -0.5608301758766174, 0.009374148212373257, -0.2457307130098343, 0.032156724482774734, -0.4283842444419861, -0.36449968814849854, -0.07282225042581558, 0.12606002390384674, 0.3311561942100525, 0.7582849860191345, 0.09527533501386642, 0.029423749074339867, -0.7689180970191956, 0.3263344466686249, 0.22723618149757385, 0.4538601040840149, -0.040502820163965225, -0.8878552913665771, -0.23859542608261108, -0.038341179490089417, -0.35031071305274963, -0.8955258727073669, 0.24348513782024384, 0.04967864230275154, 0.41600358486175537, 0.0066437022760510445, 0.2146649956703186, 0.6819683909416199, -0.5367306470870972, 0.6894774436950684, -0.2559988498687744, -0.8101511001586914, 0.4642547070980072, -0.39951691031455994, 0.04297792166471481, 0.557293176651001, 0.1919700652360916, -0.42810627818107605, -0.40609484910964966, -0.6628225445747375, -0.824393093585968, 0.639043927192688, 0.1132257953286171, 0.011830659583210945, -0.11133977025747299, 0.3872840404510498, 0.02006080187857151, 0.1469133496284485, -0.31397852301597595, -0.1812787801027298, 0.40438559651374817, -0.16063560545444489, 0.1209440603852272, -0.20619617402553558, -0.1854919195175171, 0.022898729890584946, 0.8243772387504578, -0.1958160251379013, 0.5167365074157715, 0.27121102809906006, -0.054154884070158005, -0.22456271946430206, 0.27342215180397034, 0.40645718574523926, 0.836962103843689, -0.45215970277786255, -0.17383742332458496, 0.24193595349788666, -0.5366681218147278, 0.10168877989053726, 0.12270817160606384, -0.11480405181646347, -0.07933181524276733, 0.03990109637379646, 0.2952463626861572, -0.20519667863845825, -0.9497288465499878, 0.4257972538471222, -0.09686197340488434, 0.016813989728689194, -0.39767986536026, -0.022447699680924416, -0.30457794666290283, 0.18805375695228577, 0.5644177794456482, -0.11232341825962067, 0.5002505779266357, -0.4274686574935913, 0.43112581968307495, 0.5151743292808533, -0.3022841811180115, -0.10987085103988647, 0.43240582942962646, 0.13979217410087585, -0.5738890171051025, 0.5047325491905212, -0.414141446352005, -0.4349983334541321, 0.8281720280647278, 0.4243820309638977, 0.9508004188537598, -0.488096684217453, 0.28818246722221375, 0.4720593988895416, 0.3934321105480194, -0.08720797300338745, 0.5171326994895935, 0.1290375292301178, -0.47145190834999084, -0.6770443916320801, -0.6675994992256165, -0.798804521560669, 0.17226280272006989, -0.7928787469863892, 0.12022411823272705, -0.18026694655418396, -0.10126328468322754, -0.14869719743728638, 0.27077680826187134, -0.522902250289917, 0.5550706386566162, -0.40218138694763184, 0.8755372166633606, -0.39852169156074524, 0.28997841477394104, 0.8868880271911621, -0.4268653094768524, -0.8333601951599121, 0.028794024139642715, -0.4300524890422821, -0.5677086114883423, 0.6045234799385071, -0.0704432874917984, -0.023832518607378006, -0.010830399580299854, -0.05992056429386139, -1.1094259023666382, 0.8724826574325562, 0.11566338688135147, -0.09534528851509094, -0.06857310980558395, -0.18602555990219116, 0.6845902800559998, -0.19069243967533112, 0.8052607178688049, 0.47814643383026123, 0.37736737728118896, -0.31829971075057983, -1.2899787425994873, -0.07260377705097198, -0.4263700246810913, 0.07039158791303635, 0.5023103356361389, -0.3210214376449585, 0.7637537121772766, -0.17848853766918182, -0.08818859606981277, 0.18367651104927063, 0.4205288887023926, 0.22004905343055725, 0.3137141168117523, 0.74638432264328, 0.47199997305870056, 0.7634704113006592, 0.07892036437988281, 1.368559718132019, -0.3996789753437042, 0.4366702437400818, 1.1176286935806274, -0.3360941410064697, 1.0760867595672607, 0.39689239859580994, -0.10371743142604828, 0.289413183927536, 0.4821148216724396, 0.0952986478805542, 0.32387059926986694, 0.3446069657802582, 0.05103810131549835, -0.03009902313351631, -0.23919016122817993, -0.09998616576194763, 0.6074710488319397, 0.22647397220134735, -0.37563198804855347, -0.17200714349746704, 0.18710649013519287, -0.32030370831489563, 0.13613244891166687, -0.2105465829372406, 0.849656879901886, -0.3110153377056122, -1.0582702159881592, 0.6802146434783936, 0.01027450431138277, 0.30914121866226196, -0.4322871267795563, -0.050758957862854004, -0.2200920432806015, 0.16936518251895905, -0.01239333301782608, -0.7041802406311035, 0.5384118556976318, 0.24606536328792572, -0.12002988159656525, -0.2515234649181366, 0.705804705619812, -0.20237058401107788, -0.3306775391101837, 0.1847456693649292, 0.5479860305786133, 0.2744482159614563, -0.14255064725875854, -0.6915595531463623, -0.08026173710823059, -0.12162365019321442, -0.7045255899429321, 0.2851761281490326, 0.1649971902370453, -0.04040875285863876, 0.6355581879615784, 0.4253477454185486, -0.03344738855957985, -0.23735137283802032, -0.15494707226753235, 0.5130576491355896, -0.4571768343448639, -0.425639808177948, -0.30410486459732056, 0.5987517833709717, 0.03217936307191849, -0.16076314449310303, 0.5705322027206421, 0.5889420509338379, 0.847407877445221, -0.06673178821802139, 0.6902872323989868, -0.22121566534042358, 1.0945478677749634, -0.21961849927902222, 0.5968112945556641, -0.868965744972229, 0.191857248544693, -0.4227176904678345, -0.8756127953529358, 0.03531643748283386, 0.46443989872932434, -0.29895973205566406, 0.1264297217130661, 0.9024084806442261, 0.9446929693222046, 0.09635171294212341, -0.1493832916021347, 0.2583383619785309, 0.050995200872421265, 0.1064642071723938, 0.08661268651485443, 0.6888436675071716, -0.7320968508720398, 0.7363651394844055, -0.3333483934402466, -0.31351444125175476, -0.1774684488773346, -0.7433645129203796, -0.4256046414375305, -0.9321397542953491, -0.41963568329811096, -0.5029628872871399, 0.16147466003894806, 0.7046570181846619, 0.30549362301826477, -0.5562244057655334, -0.4660375416278839, 0.06663607805967331, 0.04010920971632004, -0.440524697303772, -0.29521894454956055, 0.5147928595542908, -0.5639523267745972, -0.7563002109527588, 0.2334778904914856, 0.037889569997787476, -0.2528285086154938, -0.13981612026691437, 0.1851322501897812, -0.1376112997531891, 0.3763537108898163, 0.6841613054275513, 0.14218401908874512, -0.5382493734359741, -0.2801916003227234, 0.5696473717689514, -0.15549489855766296, -0.10772551596164703, 0.6024855375289917, -0.6746168732643127, 0.5563037991523743, 0.7888974547386169, 0.8979294896125793, 0.2056848406791687, 0.1383124440908432, 0.5205166935920715, -0.5967685580253601, -0.326799601316452, 0.6021387577056885, 0.09577788412570953, 0.12425211817026138, -0.372350811958313, 0.9276025891304016, -0.2143079936504364, -0.857015073299408, -1.1915199756622314, 0.10536910593509674, -0.8311766386032104, -0.21322298049926758, 1.204719066619873, -0.09018468111753464, -0.34017491340637207, 0.058095041662454605, -0.2766984701156616, 0.1741539090871811, -0.09502311795949936, 0.9752011299133301, 0.4634058177471161, -0.04181664064526558, 0.002995894057676196, -0.7506327033042908, 0.5112224817276001, 0.671100914478302, -0.9839209318161011, 0.1150374561548233, 0.4234362840652466, 0.24191415309906006, 0.4925829768180847, 0.6352648138999939, -0.1515922099351883, 0.6179704070091248, -0.2602945864200592, 0.2698241174221039, 0.15777386724948883, -0.2700216472148895, -0.22342662513256073, 0.18691609799861908, 0.12815015017986298, -0.21229040622711182 ]
http://arxiv.org/abs/2405.13602v1
http://arxiv.org/pdf/2405.13602v1
COTET: Cross-view Optimal Transport for Knowledge Graph Entity Typing
2024-05-22T12:53:12
2024-05-22T12:53:12
Zhiwei Hu, Víctor Gutiérrez-Basulto, Zhiliang Xiang, Ru Li, Jeff Z. Pan
cs.AI
cs.AI, cs.CL, cs.LG
Knowledge graph entity typing (KGET) aims to infer missing entity type instances in knowledge graphs. Previous research has predominantly centered around leveraging contextual information associated with entities, which provides valuable clues for inference. However, they have long ignored the dual nature of information inherent in entities, encompassing both high-level coarse-grained cluster knowledge and fine-grained type knowledge. This paper introduces Cross-view Optimal Transport for knowledge graph Entity Typing (COTET), a method that effectively incorporates the information on how types are clustered into the representation of entities and types. COTET comprises three modules: i) Multi-view Generation and Encoder, which captures structured knowledge at different levels of granularity through entity-type, entity-cluster, and type-cluster-type perspectives; ii) Cross-view Optimal Transport, transporting view-specific embeddings to a unified space by minimizing the Wasserstein distance from a distributional alignment perspective; iii) Pooling-based Entity Typing Prediction, employing a mixture pooling mechanism to aggregate prediction scores from diverse neighbors of an entity. Additionally, we introduce a distribution-based loss function to mitigate the occurrence of false negatives during training. Extensive experiments demonstrate the effectiveness of COTET when compared to existing baselines.
[ -0.7333433628082275, -0.40851739048957825, 0.5454078912734985, 0.1084555834531784, -0.24452157318592072, 0.1512455940246582, 0.16180895268917084, -0.2945561408996582, 0.5362226366996765, 0.542435884475708, -0.2972678244113922, -0.4625725746154785, -0.3996906876564026, -0.33104392886161804, -0.5090774893760681, 0.8151805400848389, -0.18520553410053253, -0.3315201699733734, -0.5032578706741333, 0.0052598086185753345, -0.11080215871334076, -0.33235451579093933, -0.5021237730979919, -0.2528263032436371, 0.5630205273628235, 0.28442248702049255, 0.4439662992954254, 0.5578103065490723, 0.10145614296197891, 0.18103818595409393, 0.28054410219192505, 0.16459986567497253, -0.5173516273498535, -0.09667401760816574, -0.2972286343574524, -0.31742143630981445, -0.21854829788208008, -0.27824869751930237, 0.4632643461227417, 0.7902225852012634, -0.049077581614255905, 0.09309624135494232, 0.17956677079200745, 0.6979494690895081, -0.8468882441520691, 0.309030681848526, -0.5441944599151611, 0.2736920118331909, -0.43899619579315186, -0.23884479701519012, -0.3578663766384125, -0.3162839710712433, 0.45162689685821533, -0.7708051800727844, 0.21795570850372314, 0.48066189885139465, 0.6494024395942688, 0.2257842868566513, -1.037608027458191, 0.1250450611114502, -0.34231632947921753, 0.40053340792655945, -0.023623621091246605, 0.675905704498291, 0.26576584577560425, 0.3716065287590027, 0.13555899262428284, -0.6292745471000671, -0.2909697890281677, -0.041452981531620026, -0.276029497385025, 0.3374457061290741, 0.09313205629587173, 0.31359151005744934, -0.17987987399101257, 0.12814661860466003, -0.5560003519058228, 0.05262570455670357, -0.03665081784129143, -0.5262570977210999, 0.48850762844085693, -0.1944216936826706, 0.2158685028553009, -0.31388241052627563, -0.4750292897224426, 0.07030398398637772, -0.8201661705970764, -0.1142897754907608, 0.2775355875492096, 0.06858651340007782, 0.03813735023140907, 0.641579806804657, -0.23722173273563385, 0.8231539130210876, 0.1358390599489212, -0.015751082450151443, 0.07674974948167801, -0.2868976294994354, -0.16697920858860016, 0.24831967055797577, 0.5156084895133972, 0.4652571976184845, -0.11093547940254211, -0.5776839256286621, -0.011029265820980072, -0.1239175945520401, 0.28163275122642517, -0.7302191257476807, -0.3429497182369232, 0.0399712398648262, -0.37657430768013, -0.34667590260505676, -0.3369775712490082, -1.1459758281707764, -0.5765752196311951, -0.1433684080839157, 0.3029932975769043, -0.5774339437484741, -0.3567948639392853, -0.42172181606292725, -0.31579187512397766, -0.22514072060585022, 0.4387798011302948, -0.8237442970275879, 0.25673919916152954, 0.29233747720718384, 0.6726677417755127, -0.3889494240283966, -0.08136914670467377, -0.4463372528553009, 0.5976081490516663, 0.04948773980140686, 1.045061469078064, -0.4928421378135681, -0.3894115090370178, 0.05684077739715576, -0.3826572000980377, -0.5719216465950012, -0.2526576519012451, 0.37748390436172485, -0.6275570392608643, -0.27613502740859985, -0.5382553339004517, -0.943900465965271, -0.3491113483905792, 0.49036943912506104, -0.6612215638160706, 0.8958120346069336, 0.6207379698753357, -1.1246877908706665, 0.484023779630661, -0.7058553695678711, -0.5106903910636902, 0.04303571209311485, -0.29713377356529236, -0.22020350396633148, -0.17056795954704285, 0.19622153043746948, 0.24443140625953674, -0.13374818861484528, 0.040891021490097046, -0.5203110575675964, 0.21402449905872345, -0.04409105330705643, 0.0028918248135596514, 0.299570769071579, 0.0192389115691185, -0.15760010480880737, -0.24261896312236786, -0.9149318337440491, 0.0655563622713089, -0.1807514727115631, -0.14869742095470428, -0.7364172339439392, -0.03173433616757393, -0.10891234874725342, 0.24115678668022156, -0.01312121283262968, -0.6173830628395081, 0.13787351548671722, -0.06095099821686745, 0.24936196208000183, 0.7477743625640869, 0.3092299699783325, 0.7917116284370422, 0.038196198642253876, 0.41064709424972534, 0.3920936584472656, 0.08068236708641052, 0.6104559898376465, -0.3739778697490692, -0.577888548374176, -0.04458354040980339, 0.30797886848449707, 0.5997213125228882, -1.4011573791503906, 0.27450746297836304, -0.4344065189361572, -0.49636486172676086, -0.2546719014644623, -0.136290043592453, 0.2759822905063629, 0.9744836688041687, 0.558068037033081, -0.13592398166656494, -0.21901549398899078, -1.0378847122192383, -0.2053014039993286, 0.0196467824280262, 0.41218122839927673, 0.523448646068573, 0.4993515908718109, -0.09954451024532318, 0.9566761255264282, -0.7185604572296143, -0.06424155831336975, -0.38489511609077454, -0.080714151263237, -0.43619173765182495, 0.4213164150714874, 0.7926046252250671, -1.1739273071289062, -0.6271162629127502, 0.2332809716463089, -0.4584115445613861, 0.23900626599788666, 0.07073535025119781, -0.4846585988998413, -0.05681968852877617, 0.1704387217760086, -0.5192164778709412, 0.5066151022911072, 0.5288137793540955, -0.2547425925731659, 0.3958735764026642, 0.18068340420722961, 0.1944529116153717, -1.023252010345459, -0.10826517641544342, 0.01915842853486538, -0.4303058981895447, -0.4290487468242645, -0.2191675305366516, 0.17943526804447174, -0.09651319682598114, -0.2617350220680237, 0.6026782989501953, -0.3187842071056366, -0.3331013321876526, 0.1112503930926323, 0.46238771080970764, -0.03612342104315758, 0.5285568237304688, 0.18347781896591187, 0.6527721881866455, 0.5292684435844421, -0.7342501282691956, 0.2846749722957611, 0.2116844803094864, -0.16376455128192902, 1.1692728996276855, -0.04924764111638069, 0.13194695115089417, -0.14889158308506012, 0.289887398481369, -0.760188102722168, -0.03983565419912338, -0.012753398157656193, -0.20173659920692444, 0.5386026501655579, -0.5552124977111816, -0.1004614606499672, -0.4843681752681732, -0.022818513214588165, 0.5193862318992615, 0.24589529633522034, -0.3971557915210724, 0.8437756299972534, 0.5168910622596741, 0.21387824416160583, -0.5477067828178406, -0.6431354284286499, -0.2149791717529297, -0.07056010514497757, -0.8119326233863831, 0.48552802205085754, 0.2774585783481598, 0.2022348791360855, 0.42384859919548035, -0.3561212420463562, -0.259055495262146, -0.04049631580710411, 0.08806104958057404, 0.05616312846541405, -0.19037678837776184, 0.1224297285079956, 0.5796170234680176, -0.15194901823997498, -0.193230539560318, -0.9150214195251465, 0.4928949475288391, 0.18166425824165344, -0.5141950845718384, 0.014078736305236816, 0.24617351591587067, 0.1658068597316742, -0.15208525955677032, 0.8733044862747192, 0.6193310022354126, -0.2743046283721924, -0.15186606347560883, -0.4442158043384552, 0.11176355183124542, -0.3968493640422821, 0.5982217192649841, -0.4972182810306549, -0.7668564915657043, 0.4625602662563324, -0.2677753269672394, -0.11002325266599655, 0.45215311646461487, 0.03753608837723732, -0.016079116612672806, 0.47952476143836975, 0.5646255016326904, -0.19742830097675323, 0.34254175424575806, -0.49619561433792114, 0.41601619124412537, -1.0494132041931152, -0.17708471417427063, -0.4025236964225769, -0.3519571125507355, -0.6099398732185364, -0.23561424016952515, 0.6850264668464661, -0.0634583830833435, -0.27471625804901123, 0.37360242009162903, -0.35959258675575256, 0.3641780912876129, 0.6652157306671143, 0.2601013779640198, 0.2110309600830078, -0.003600581781938672, -0.6386975049972534, 0.0759894847869873, -0.853325366973877, 0.2018328458070755, 0.9824368357658386, -0.12057105451822281, 0.5047135353088379, -0.033567287027835846, 1.1111059188842773, 0.26050132513046265, 0.5441938638687134, -0.5140660405158997, 0.4925250709056854, -0.28053799271583557, -0.48487672209739685, -0.41133689880371094, -0.6662836670875549, -0.5662878155708313, 0.42807528376579285, -0.005903572775423527, -0.8748159408569336, 0.3501860201358795, 0.5138192772865295, -0.14673002064228058, 0.7445521354675293, -0.6870987415313721, 1.0289100408554077, 0.06155211105942726, -0.1363767385482788, -0.12127073854207993, -0.8065569996833801, 0.4379376173019409, -0.09391985833644867, 0.18592393398284912, 0.269043505191803, 0.04064924642443657, 0.5687273144721985, -0.4487053453922272, 0.587527871131897, -0.4366934895515442, 0.22476109862327576, 0.34328532218933105, 0.3907591998577118, 0.7118180990219116, 0.03312615305185318, 0.07339568436145782, -0.24315527081489563, -0.09677846729755402, -0.4291248917579651, -0.7005271911621094, 0.6484346389770508, -0.8581861257553101, -0.163206085562706, 0.04155365750193596, -0.46647462248802185, -0.45811304450035095, 0.2746686339378357, 0.7398526072502136, 0.6302421689033508, -0.11262135207653046, -0.05627744272351265, 0.8677694797515869, -0.15549199283123016, 0.2197580635547638, 0.12471930682659149, -0.14935414493083954, -0.4950088858604431, 1.1638609170913696, 0.4407019317150116, 0.6355422139167786, 1.0799106359481812, -0.028948908671736717, -0.6225829720497131, -0.5647500157356262, -0.7653450965881348, 0.0390230230987072, -0.8971170783042908, -0.298431396484375, -0.8797763586044312, -0.39855143427848816, -0.5033310651779175, -0.31068864464759827, -0.6265133023262024, -0.5746210217475891, -0.04619010537862778, -0.3848459720611572, 0.14604878425598145, 0.18127122521400452, -0.03758472949266434, 0.21952460706233978, -0.7517196536064148, 0.06505552679300308, 0.5770894289016724, 0.25190046429634094, 0.17751823365688324, -0.13855530321598053, -0.22044846415519714, 0.019145069643855095, -0.32947078347206116, -0.7957658171653748, 0.18517577648162842, 0.0006512156687676907, 0.6279700398445129, 0.24970251321792603, 0.22832898795604706, 0.6866727471351624, -0.24149763584136963, 0.6046265363693237, 0.2193833589553833, -0.6293248534202576, 0.42359113693237305, -0.2323686182498932, -0.31955307722091675, 0.6644631028175354, 0.4887317419052124, -0.7389334440231323, -0.24187929928302765, -0.6650242209434509, -0.7241050004959106, 0.314553827047348, 0.3585174083709717, -0.49950090050697327, 0.0354134775698185, 0.2554756999015808, 0.06125279515981674, 0.38730835914611816, -0.7310768961906433, -0.4570433795452118, -0.5365723371505737, -0.25305861234664917, 0.15503107011318207, 0.06456867605447769, -0.03061234951019287, -0.06280964612960815, 0.8104026317596436, -0.2068510800600052, 0.4601180851459503, 0.4237930476665497, -0.43562832474708557, 0.11165211349725723, 0.047955222427845, 0.39539915323257446, 0.48732537031173706, -0.046799592673778534, 0.41771379113197327, 0.02803456038236618, -0.58647620677948, 0.14321686327457428, 0.3699013292789459, -0.5374606847763062, -0.16202537715435028, 0.1280495673418045, 0.8963896632194519, 0.1690981537103653, 0.040204912424087524, 0.5194084048271179, 0.3311501741409302, -0.009131073951721191, -0.2158556580543518, -0.10906998068094254, 0.11701252311468124, 0.12472743541002274, -0.062494657933712006, 0.33574602007865906, 0.39868709444999695, -0.01670861430466175, 0.04188758134841919, 0.24669760465621948, -0.540055513381958, -0.2209589183330536, 0.5907785892486572, 0.47283393144607544, 0.14209137856960297, 0.6353964805603027, -0.5783225893974304, -0.5344619154930115, 0.6050677299499512, 0.3080657720565796, 0.9449483752250671, -0.11355981975793839, 0.5500927567481995, 0.1942073255777359, 0.24877353012561798, 0.05506855621933937, -0.14540131390094757, -0.04744977131485939, -1.017808437347412, -0.1748807281255722, -0.5415595173835754, -0.16017872095108032, -0.36313602328300476, -0.4675295054912567, 0.02220373973250389, 0.04337422549724579, -0.11287493258714676, -0.11117484420537949, -0.05699840560555458, -0.9401060938835144, -0.04669000953435898, 0.019053254276514053, 1.136930227279663, -0.8616424798965454, 0.8104172348976135, 0.6420793533325195, -0.5209959745407104, -0.8301247358322144, -0.27170872688293457, 0.09346385300159454, -1.0296436548233032, 0.3039745092391968, -0.10742173343896866, 0.13602761924266815, 0.33943676948547363, -0.27485477924346924, -1.0736256837844849, 1.2118183374404907, 0.09446724504232407, -0.4243677854537964, -0.24579231441020966, 0.2745632231235504, 0.00827841181308031, -0.33114880323410034, 0.12295276671648026, 0.4745897948741913, 0.6553304195404053, 0.20524626970291138, -0.8172891139984131, 0.07985641807317734, 0.20770494639873505, 0.19834987819194794, 0.6177752614021301, -0.8674727082252502, 0.45450180768966675, 0.05547688528895378, 0.14674989879131317, -0.26348376274108887, 0.608505368232727, -0.008229751139879227, 0.31657910346984863, 0.7542847394943237, 0.9012320041656494, 0.8465639352798462, 0.09334976226091385, 1.1497342586517334, -0.16120582818984985, 0.445504754781723, 0.9298509359359741, -0.41203469038009644, 0.243723064661026, 0.4382658898830414, -0.10939385741949081, 0.5072924494743347, 0.7425769567489624, 0.2968202829360962, 0.893955647945404, 0.15317893028259277, -0.282758891582489, -0.24938492476940155, -0.023237820714712143, -0.49140429496765137, 0.01348057296127081, 0.30761733651161194, -0.2699960768222809, -0.3815351724624634, 0.10630883276462555, 0.10294374078512192, -0.3129795491695404, -0.4250609576702118, 0.5783994793891907, 0.09727150201797485, -0.6831142902374268, 0.056718047708272934, -0.2933422029018402, 0.16815850138664246, -0.41820329427719116, 0.18182553350925446, -0.39506471157073975, -0.0862293615937233, -0.2110237032175064, -0.7969959378242493, 0.04019242152571678, -0.7106139659881592, -0.09842005372047424, -0.05866697058081627, 0.9624050259590149, -0.5243479013442993, -0.324069619178772, 0.28698304295539856, 0.5265807509422302, -0.020500080659985542, -0.3397273123264313, -0.4689541459083557, -0.6108126044273376, 0.08094632625579834, -0.35137322545051575, 0.5988903641700745, 0.8313377499580383, -0.1769402176141739, 0.729832649230957, 0.2997092604637146, 0.04254748299717903, 0.30623945593833923, 0.09938772767782211, 0.9929541945457458, -0.3676038384437561, -0.7415239214897156, -0.46185529232025146, 0.4242672622203827, -0.48824745416641235, -0.21078960597515106, 0.4000126123428345, 0.7624520659446716, 0.545901894569397, -0.10364299267530441, 1.0107365846633911, -0.288922518491745, 0.4125089943408966, -0.5648084878921509, 0.5063743591308594, -0.3233222961425781, -0.14672532677650452, -0.41200166940689087, -1.0254058837890625, -0.0009109271923080087, 0.27147117257118225, -0.4532405138015747, 0.025729278102517128, 0.9870092868804932, 0.521462619304657, -0.3812330663204193, 0.047416917979717255, 0.1334419697523117, 0.07821162045001984, 0.35260269045829773, 0.6558862924575806, 0.45763933658599854, -0.17834345996379852, 0.5080838203430176, -0.5278290510177612, -0.18671771883964539, -0.28714612126350403, -0.7377938032150269, -0.796729564666748, -0.5176994800567627, -0.46030038595199585, -0.392325758934021, -0.057300589978694916, 0.6695514917373657, 0.8688731789588928, -0.3680744171142578, 0.08244436234235764, -0.11023767292499542, 0.4378759562969208, -0.16020937263965607, -0.23987962305545807, 0.6421197056770325, -0.12835900485515594, -0.057416148483753204, -0.06404944509267807, 0.4115990996360779, 0.17659088969230652, -0.10068560391664505, 0.12938350439071655, -0.1067342534661293, -0.31767216324806213, 0.6936114430427551, 0.09907305985689163, -0.14924830198287964, -0.6226058602333069, -0.023844681680202484, 0.07476438581943512, -0.01800900138914585, 0.7568304538726807, -0.5446911454200745, 0.2100593000650406, 0.45920243859291077, 0.8936991095542908, 0.9358798861503601, 0.009139316156506538, 0.3680591881275177, -0.8285847902297974, 0.11676490306854248, 0.27694109082221985, 0.49406898021698, 0.06503933668136597, -0.5794779062271118, 0.6157813668251038, 0.7563086152076721, -0.45066338777542114, -0.3795287013053894, 0.3720170557498932, -1.1992067098617554, 0.10770361125469208, 1.0425385236740112, -0.10400506854057312, -0.43817710876464844, -0.2844651937484741, -0.024970078840851784, 0.09146136045455933, -0.4496420919895172, 0.47377508878707886, 0.5500310063362122, -0.41819581389427185, -0.23913931846618652, -0.3662222623825073, 0.480457603931427, -0.12474209815263748, -1.0530338287353516, -0.2853160798549652, 0.334644615650177, 0.4730139672756195, 0.1715683490037918, 0.8381786346435547, 0.09957269579172134, -0.08540402352809906, 0.1379416584968567, 0.05462172254920006, 0.04976942762732506, -0.2653336226940155, 0.6844376921653748, 0.2124290019273758, -0.33851850032806396, -0.27256345748901367 ]
http://arxiv.org/abs/2405.13578v1
http://arxiv.org/pdf/2405.13578v1
ConTrans: Weak-to-Strong Alignment Engineering via Concept Transplantation
2024-05-22T12:15:52
2024-05-22T12:15:52
Weilong Dong, Xinwei Wu, Renren Jin, Shaoyang Xu, Deyi Xiong
cs.CL
cs.CL
Ensuring large language models (LLM) behave consistently with human goals, values, and intentions is crucial for their safety but yet computationally expensive. To reduce the computational cost of alignment training of LLMs, especially for those with a huge number of parameters, and to reutilize learned value alignment, we propose ConTrans, a novel framework that enables weak-to-strong alignment transfer via concept transplantation. From the perspective of representation engineering, ConTrans refines concept vectors in value alignment from a source LLM (usually a weak yet aligned LLM). The refined concept vectors are then reformulated to adapt to the target LLM (usually a strong yet unaligned base LLM) via affine transformation. In the third step, ConTrans transplants the reformulated concept vectors into the residual stream of the target LLM. Experiments demonstrate the successful transplantation of a wide range of aligned concepts from 7B models to 13B and 70B models across multiple LLMs and LLM families. Remarkably, ConTrans even surpasses instruction-tuned models in terms of truthfulness. Experiment results validate the effectiveness of both inter-LLM-family and intra-LLM-family concept transplantation. Our work successfully demonstrates an alternative way to achieve weak-to-strong alignment generalization and control.
[ -0.13748441636562347, -0.24563422799110413, 0.4114854335784912, -0.20476239919662476, -0.39415261149406433, 0.16057612001895905, -0.18171414732933044, -0.1774742156267166, 0.3651144802570343, 0.584444522857666, -0.8047256469726562, -0.21163056790828705, -0.4883434772491455, -0.05188005417585373, -0.5177503824234009, 1.1650722026824951, -0.2716882526874542, 0.050561267882585526, -0.004632547963410616, -0.0888051837682724, -0.35386529564857483, -0.16538141667842865, -0.13161620497703552, -0.3077477812767029, 0.47460415959358215, 0.3933769166469574, 0.8504126667976379, 0.9644462466239929, 0.5475916266441345, 0.2991134524345398, -0.0956624448299408, 0.12225789576768875, -0.7315309047698975, -0.04084651917219162, -0.6638586521148682, -0.38680383563041687, -0.5868369340896606, 0.011274022981524467, 0.4228145182132721, 1.0512276887893677, 0.07199135422706604, 0.03364763781428337, 0.2461140751838684, 0.5045972466468811, -0.7170384526252747, -0.21531367301940918, -0.8605770468711853, -0.3146124482154846, -0.08820777386426926, 0.12148528546094894, -0.19634446501731873, -0.37316930294036865, 0.20603837072849274, -0.8636009693145752, 0.3037606179714203, -0.0299262385815382, 1.1724625825881958, 0.43051430583000183, -0.43233785033226013, -0.16916893422603607, -0.8118995428085327, 0.8584547638893127, -0.6145893931388855, 0.4629017412662506, -0.10553210228681564, 0.12992843985557556, -0.3510746657848358, -0.5592619776725769, -0.6611225008964539, 0.07741041481494904, -0.04447223246097565, 0.16284948587417603, -0.07266271859407425, 0.09250196069478989, 0.00019230521866120398, 0.2801663875579834, -0.5408714413642883, 0.14169879257678986, -0.524545431137085, -0.24203547835350037, 0.7630495429039001, -0.0011349491542205215, 0.2167375683784485, -0.07796528935432434, -0.8076725602149963, -0.22193804383277893, -0.9839135408401489, -0.3845895826816559, 0.35337743163108826, 0.5805137157440186, -0.0804280936717987, 0.7231894731521606, 0.005828387103974819, 0.6664475798606873, 0.23182091116905212, 0.02634473517537117, 0.24305671453475952, -0.6699707508087158, -0.15921969711780548, 0.25097134709358215, 0.7405880689620972, 0.11117591708898544, 0.18966823816299438, -0.25274986028671265, -0.14432533085346222, 0.21711848676204681, 0.6096267700195312, -0.7941067218780518, -0.01747044548392296, -0.13015475869178772, -0.32812419533729553, -0.37639808654785156, 0.17757661640644073, -0.7357646822929382, -0.305988609790802, -0.5961617231369019, 0.45961710810661316, -0.4567042887210846, -0.20622530579566956, 0.3010850250720978, -0.011522420682013035, 0.3716312050819397, 0.2845241129398346, -1.0616791248321533, 0.3070743978023529, 0.8987977504730225, 0.705729603767395, -0.3543398380279541, -0.19297099113464355, -0.1295975297689438, 0.40325066447257996, -0.6121874451637268, 0.5842722058296204, -0.28519129753112793, -0.3218088746070862, -0.3274184465408325, -0.0273198913782835, 0.026571277529001236, -0.3771435618400574, 0.6179572343826294, -0.38395991921424866, 0.016924133524298668, -0.35097023844718933, -0.5998660326004028, -0.05094197764992714, 0.023472687229514122, -0.5325953364372253, 0.3694007396697998, 0.23311415314674377, -0.5556517839431763, 0.04848594591021538, -0.36462998390197754, -0.4215547442436218, -0.062906414270401, -0.2205895185470581, -0.5536879897117615, 0.3275814652442932, -0.10258617252111435, 0.39662113785743713, -0.4915124475955963, 0.23031510412693024, -0.6074766516685486, -0.4093639850616455, 0.20588482916355133, -0.3113499581813812, 0.6873239278793335, 0.22495828568935394, -0.21572765707969666, 0.20651941001415253, -0.630061149597168, -0.136825829744339, -0.05763469636440277, 0.20575933158397675, -0.629566490650177, -0.2684938907623291, -0.3535342514514923, 0.3516172170639038, 0.2552351951599121, -0.6186986565589905, 0.48744893074035645, -0.7098569869995117, 0.3329254388809204, 0.7850098609924316, -0.3026055097579956, 0.762475311756134, -0.3733355402946472, 0.31258276104927063, -0.039378196001052856, -0.04772253334522247, 0.2789209485054016, -0.2022233009338379, -0.6882120370864868, -0.3986586928367615, 0.2792015075683594, 0.5115483403205872, -0.839311420917511, 0.670691967010498, -0.6650283932685852, -0.2054702341556549, -0.7765392661094666, 0.46704161167144775, 0.27598556876182556, 0.7413381934165955, 0.557313084602356, -0.31832993030548096, -0.7157620191574097, -1.06791353225708, -0.062401507049798965, -0.5146825909614563, -0.09984231740236282, -0.10338466614484787, 0.4442332088947296, -0.23427075147628784, 0.8526304364204407, -0.5114776492118835, -0.4245222508907318, -0.16157333552837372, 0.17952778935432434, 0.05301443114876747, 0.6126266121864319, 0.3520912230014801, -0.8284915089607239, -0.08987293392419815, 0.0760030448436737, -0.5676508545875549, -0.15978573262691498, -0.44524094462394714, -0.14580674469470978, -0.1568758338689804, 0.5941860675811768, -0.5757044553756714, 0.4363856911659241, 0.5421086549758911, -0.2659100890159607, 0.3696717619895935, 0.09422273188829422, -0.12845368683338165, -1.4352262020111084, 0.22420531511306763, -0.23797860741615295, -0.24981315433979034, -0.4568786025047302, -0.13214010000228882, 0.16061638295650482, 0.007463980931788683, -0.6290533542633057, 0.6224297285079956, -0.4363342523574829, 0.03246759623289108, -0.4095480144023895, 0.1533517986536026, 0.08695770800113678, 0.3589670956134796, -0.05038943514227867, 0.7143886089324951, 0.42023900151252747, -0.4652489423751831, 0.6137513518333435, 0.6204575300216675, 0.009385698474943638, 1.0980730056762695, -0.5367066264152527, 0.11333798617124557, -0.14655360579490662, 0.2910522520542145, -0.8110440969467163, 0.07635466009378433, 0.457645982503891, -0.2074131965637207, 0.4338788092136383, -0.28320279717445374, 0.09128100425004959, -0.2585376501083374, -0.2166709005832672, 0.3054664731025696, 0.5310730338096619, -0.47189590334892273, 0.7657592296600342, 0.08166222274303436, -0.23266848921775818, -0.6338944435119629, -0.7893227338790894, 0.13895508646965027, -0.2955021262168884, -0.4498973488807678, 0.6376270651817322, 0.06786003708839417, -0.05226004123687744, 0.4741075038909912, -0.2959722876548767, 0.1890455186367035, 0.039334096014499664, 0.10416465252637863, 0.45197802782058716, -0.3449191451072693, 0.15588797628879547, 0.24054540693759918, -0.28755882382392883, -0.24634215235710144, -0.7739445567131042, 0.0039183697663247585, 0.014941953122615814, -0.5854390859603882, -0.27067527174949646, 0.22318758070468903, 0.6132421493530273, -0.10225125402212143, 0.7717785239219666, 0.3488081097602844, -0.46179112792015076, -0.3767051696777344, -0.20430631935596466, -0.23547686636447906, -0.46671536564826965, 0.6125584244728088, -0.5066797733306885, -0.6754970550537109, 0.15734055638313293, -0.6096133589744568, 0.14021295309066772, 0.5019004344940186, 0.32094770669937134, -0.3271273374557495, 0.7532193064689636, 0.7790483236312866, 0.00902080349624157, 0.3050035536289215, -0.1788383424282074, 0.12500832974910736, -0.9927980899810791, -0.052092038094997406, -0.3801109492778778, -0.6791349649429321, -0.46359771490097046, -0.37445005774497986, 0.022485213354229927, 0.30548781156539917, -0.21932044625282288, 0.7652848958969116, -0.3773440718650818, 0.31505003571510315, 0.07207097113132477, 0.011422007344663143, 0.13763131201267242, -0.2640564739704132, -0.19171003997325897, -0.0882745012640953, -0.5387941598892212, -0.5932503938674927, 1.1766873598098755, 0.1728798896074295, 1.1582558155059814, 0.2150271236896515, 0.8616275787353516, -0.20449279248714447, 0.7960910201072693, -0.9364748001098633, 0.5307185053825378, -0.8055921196937561, -0.3976868987083435, -0.3216719925403595, -0.6812957525253296, -0.9338089823722839, 0.17838890850543976, -0.32764700055122375, -0.6485058665275574, 0.47342437505722046, 0.20750947296619415, -0.40148770809173584, 0.4711080491542816, -0.5380861163139343, 0.8440722227096558, -0.6342027187347412, -0.4267825186252594, -0.19812549650669098, -0.8555809259414673, 0.4583932161331177, -0.38702407479286194, -0.03389115631580353, 0.020460056141018867, -0.08833648264408112, 0.4590122401714325, -0.4644237756729126, 0.835565984249115, 0.1426042765378952, -0.35662955045700073, 0.026324793696403503, 0.20788702368736267, 0.5990443229675293, -0.29348742961883545, -0.12368486076593399, 0.037187084555625916, -0.12492897361516953, -0.284906268119812, -1.1007930040359497, 0.790833055973053, -0.8340260982513428, -0.7615841627120972, -0.15619821846485138, -0.6730747222900391, -0.2746891677379608, 0.280349463224411, -0.044629890471696854, -0.022007176652550697, -0.4756767749786377, 0.3147198557853699, 0.7342227697372437, 0.05713620036840439, -0.0576527863740921, 0.2829323410987854, 0.011451663449406624, -0.4514952003955841, 1.1271088123321533, -0.07978853583335876, 0.6433115005493164, 0.5422949194908142, 0.3203883171081543, -0.4359646737575531, -0.48135560750961304, -0.6054264307022095, 0.24720750749111176, -0.5197802186012268, -0.43641915917396545, -0.28286683559417725, -0.39430469274520874, -0.3461824655532837, -0.29719728231430054, -0.9326310753822327, -0.5817950963973999, -0.5182717442512512, -0.15883731842041016, 0.042570747435092926, 0.6667991876602173, -0.17742064595222473, 0.3508085012435913, -0.5426012873649597, 0.686979353427887, 0.48018211126327515, 0.4650852382183075, -0.4211033582687378, -0.753226637840271, 0.07857071608304977, 0.43880927562713623, -0.4963077902793884, -0.8422492742538452, 0.15604804456233978, 0.14052066206932068, 0.42469504475593567, 0.27609023451805115, 0.02035066857933998, 0.9369062781333923, -0.38362956047058105, 0.3254479169845581, 0.44746479392051697, -1.2846158742904663, 0.26849064230918884, 0.10261069983243942, -0.046034958213567734, 0.6682807207107544, 0.24582847952842712, -0.5777029991149902, -0.06873326748609543, -0.6423161029815674, -0.6912721395492554, 0.5640566945075989, 0.27795588970184326, 0.1895282119512558, 0.4834367334842682, 0.641523003578186, 0.21169628202915192, 0.0552973598241806, -0.3548569083213806, -0.15601502358913422, -0.6501289010047913, -0.9327914714813232, -0.03957461938261986, 0.20650459825992584, -0.20900017023086548, -0.051540352404117584, 0.961587131023407, -0.4806824326515198, -0.04497063159942627, 0.19982017576694489, -0.07148046791553497, -0.12508052587509155, 0.28320059180259705, 0.6929721236228943, 0.2748435139656067, 0.05458850413560867, 0.5575803518295288, 0.24986650049686432, -0.2368956059217453, 0.5915217995643616, 0.29018262028694153, -0.2978987693786621, -0.41286587715148926, 0.18869954347610474, 0.9731306433677673, 0.23231416940689087, -0.17851221561431885, 0.6561777591705322, -0.012524696998298168, -0.14393572509288788, 0.2020033746957779, 0.08943171054124832, 0.342042475938797, 0.07507259398698807, 0.010673423297703266, 0.3872435688972473, -0.2801457345485687, -0.4861672818660736, 0.53110671043396, 0.624602198600769, -0.6300890445709229, -0.6338416934013367, 0.6759243607521057, 0.2993934154510498, -0.1832258105278015, 0.5176620483398438, -0.032677650451660156, -0.5120732188224792, 0.3063048720359802, 0.7213037610054016, 1.0204486846923828, -0.40507009625434875, 0.21883642673492432, 0.15934635698795319, 0.3520706593990326, -0.33935776352882385, 0.1178189367055893, 0.3066108524799347, -1.034171462059021, -0.4363095164299011, -0.4684721529483795, -0.25523388385772705, 0.12575268745422363, -0.35563111305236816, 0.602002739906311, -0.33606284856796265, -0.05900474637746811, -0.08888392150402069, -0.26722463965415955, -0.5096322894096375, 0.1306631863117218, 0.3007889986038208, 0.5772444009780884, -1.0371922254562378, 0.8595404028892517, 0.762663722038269, -0.5014249682426453, -0.9292880892753601, -0.0013742244336754084, 0.22155870497226715, -0.6095638275146484, 0.6549057960510254, -0.2899540662765503, -0.37565648555755615, -0.020246829837560654, -0.7189303636550903, -1.0725688934326172, 1.0119379758834839, 0.8862203359603882, -0.8694834113121033, -0.12348435074090958, 0.38152867555618286, 0.5818410515785217, -0.31964513659477234, -0.16325697302818298, 0.14827941358089447, 0.3278001546859741, 0.5287538766860962, -0.8751810789108276, 0.35429051518440247, 0.004785255528986454, -0.03215073049068451, 0.22636976838111877, -0.6058632731437683, 0.5230114459991455, -0.21110709011554718, -0.34728357195854187, 0.33568817377090454, 0.8948096036911011, 0.24602191150188446, -0.1638522446155548, 0.5328070521354675, 0.6075975894927979, 0.6860209703445435, -0.013267663307487965, 0.6441413164138794, -0.1380978375673294, 0.16535139083862305, 1.0520031452178955, -0.593597948551178, 0.5763701796531677, 0.8296096324920654, 0.16120027005672455, 0.5283634662628174, 0.0764562338590622, 0.07523175328969955, 0.4269777238368988, 0.6350785493850708, 0.13030847907066345, -0.3288966417312622, -0.2537272870540619, -0.08689527213573456, 0.48243340849876404, 0.35293179750442505, -0.15068702399730682, -0.15334837138652802, -0.10620306432247162, -0.21328070759773254, 0.19041523337364197, 0.021518448367714882, 0.7723283171653748, 0.4674689769744873, -0.5575356483459473, 0.7006420493125916, -0.05018521472811699, 0.6462886333465576, -0.8162720203399658, -0.021663883700966835, -0.060075793415308, 0.45701247453689575, -0.11878364533185959, -0.7712566256523132, 0.7077950239181519, -0.3563019931316376, 0.015992438420653343, -0.6448655128479004, 0.8711634874343872, -0.7293838858604431, -0.480532705783844, 0.22520171105861664, 0.43229594826698303, -0.15028847754001617, 0.3203553855419159, -0.7520251870155334, 0.03304893150925636, -0.08316855877637863, 0.1234133318066597, 0.09246639907360077, 0.5332580804824829, -0.41702526807785034, 0.6290327310562134, 0.6471085548400879, 0.5654080510139465, -0.2518106698989868, 0.025083234533667564, 0.9109305143356323, -0.5506312251091003, -0.30154797434806824, -0.8300429582595825, 0.3318813145160675, 0.1699989289045334, -0.3060467541217804, 0.38696712255477905, 0.44139453768730164, 0.884835958480835, 0.1673993468284607, 0.6698651909828186, 0.17991842329502106, 0.2743110656738281, -0.4190899431705475, 0.7655235528945923, -0.5862056612968445, 0.17279836535453796, -0.5033238530158997, -0.7462750673294067, -0.3152140974998474, 0.47011569142341614, -0.24548682570457458, -0.24287231266498566, 0.46948567032814026, 0.8020138144493103, -0.47575557231903076, 0.08250346034765244, 0.23851792514324188, 0.16950447857379913, 0.39390626549720764, 0.7402055263519287, 1.0441557168960571, -0.4734167754650116, 0.6144471168518066, -0.12905541062355042, -0.2040669471025467, 0.1801685392856598, -0.8081357479095459, -0.6502031683921814, -0.548478901386261, -0.5296453237533569, -0.25103023648262024, 0.22891351580619812, 1.0059865713119507, 0.8994460105895996, -0.9306625723838806, -0.23264576494693756, -0.25199228525161743, 0.3365868926048279, -0.4309312105178833, -0.10782543569803238, 0.48637136816978455, -0.045059025287628174, -0.49106934666633606, 0.48992520570755005, 0.21588601171970367, 0.3918486535549164, -0.17166434228420258, -0.24568675458431244, -0.1680278778076172, 0.1623307466506958, 0.07629162073135376, 0.3663618862628937, -0.6446601152420044, -0.5094305276870728, 0.037507038563489914, -0.4024962782859802, -0.04056527838110924, 0.8791191577911377, -0.7282422780990601, 0.2818284332752228, 0.5364252924919128, 1.1377742290496826, 0.3244309723377228, 0.332937628030777, 0.8889790177345276, -0.8216912150382996, -0.019475417211651802, 0.38158801198005676, 0.242798313498497, 0.5380755662918091, -0.31306058168411255, 0.18332849442958832, 0.569293737411499, -0.00835159607231617, -0.7366599440574646, 0.6165440678596497, -0.8866734504699707, -0.44323471188545227, 1.1103678941726685, -0.0192026998847723, -0.22974446415901184, -0.17390066385269165, -0.12501518428325653, 0.6863470673561096, 0.01862880028784275, 0.690344512462616, 0.34805646538734436, 0.06478758156299591, -0.03955009579658508, 0.02319776453077793, 0.43504488468170166, 0.8629418015480042, -0.892641544342041, 0.20477394759655, 0.19522087275981903, 0.38979458808898926, 0.27353987097740173, 0.002506003249436617, -0.23060500621795654, -0.1215905249118805, -0.3918253779411316, 0.2801310420036316, -0.08713947236537933, -0.2562344968318939, -0.28833702206611633, -0.09598707407712936, -0.2891440987586975, -0.20785118639469147 ]
http://arxiv.org/abs/2405.13576v1
http://arxiv.org/pdf/2405.13576v1
FlashRAG: A Modular Toolkit for Efficient Retrieval-Augmented Generation Research
2024-05-22T12:12:40
2024-05-22T12:12:40
Jiajie Jin, Yutao Zhu, Xinyu Yang, Chenghao Zhang, Zhicheng Dou
cs.CL
cs.CL, cs.IR
With the advent of Large Language Models (LLMs), the potential of Retrieval Augmented Generation (RAG) techniques have garnered considerable research attention. Numerous novel algorithms and models have been introduced to enhance various aspects of RAG systems. However, the absence of a standardized framework for implementation, coupled with the inherently intricate RAG process, makes it challenging and time-consuming for researchers to compare and evaluate these approaches in a consistent environment. Existing RAG toolkits like LangChain and LlamaIndex, while available, are often heavy and unwieldy, failing to meet the personalized needs of researchers. In response to this challenge, we propose FlashRAG, an efficient and modular open-source toolkit designed to assist researchers in reproducing existing RAG methods and in developing their own RAG algorithms within a unified framework. Our toolkit implements 12 advanced RAG methods and has gathered and organized 32 benchmark datasets. Our toolkit has various features, including customizable modular framework, rich collection of pre-implemented RAG works, comprehensive datasets, efficient auxiliary pre-processing scripts, and extensive and standard evaluation metrics. Our toolkit and resources are available at https://github.com/RUC-NLPIR/FlashRAG.
[ -0.47405070066452026, -0.5612980723381042, 0.27616187930107117, 0.43938377499580383, -0.26390817761421204, 0.49472495913505554, -0.24300165474414825, -0.056573882699012756, 0.487626850605011, 0.2821328341960907, -0.2320924997329712, -0.27762508392333984, -0.2739517092704773, 0.15523087978363037, -0.8337307572364807, 1.0336005687713623, 0.11611820012331009, -0.027295254170894623, 0.051070600748062134, -0.2938251793384552, -0.3504265248775482, -0.007092318031936884, -0.5045619010925293, -0.2740037143230438, 0.8474106192588806, 0.41401538252830505, 0.42511674761772156, 0.4647662341594696, 0.48602625727653503, 0.30347907543182373, -0.32267674803733826, 0.17397281527519226, -0.6743316054344177, 0.5822391510009766, -0.34003520011901855, -0.06782367080450058, -0.595361053943634, -0.39783307909965515, 0.7265810966491699, 0.34414801001548767, -0.4168417453765869, 0.7609347105026245, -0.09230618923902512, 0.5381351709365845, -1.053622841835022, -0.4309155344963074, -0.7308696508407593, 0.07786285132169724, -0.7711573243141174, -0.6232028007507324, -0.45368343591690063, -0.39974746108055115, -0.2367982566356659, -0.4855958819389343, 0.48218294978141785, 0.21753111481666565, 0.21237821877002716, 0.1194671019911766, -0.27310097217559814, -0.2508339583873749, -0.7076248526573181, 0.7535602450370789, -0.5904600024223328, 0.21015259623527527, 0.13142737746238708, 0.5746325254440308, -0.2869585454463959, -1.0226460695266724, -0.6221601366996765, 0.10428860783576965, 0.021458765491843224, 0.10353484004735947, -0.09648282080888748, -0.3173264265060425, 0.17300236225128174, 0.6043336391448975, -0.7018735408782959, 0.1631709784269333, -0.2827661335468292, 0.08738292753696442, 0.5066795349121094, 0.38085564970970154, 0.2776476740837097, -0.45857861638069153, -0.3097829520702362, -0.16720643639564514, -0.8532658219337463, -0.45163968205451965, 0.48529040813446045, 0.30740952491760254, 0.32406142354011536, 0.6982998251914978, -0.16017669439315796, 0.5383909940719604, 0.08894772827625275, -0.2045878767967224, 0.36891940236091614, -0.3147386908531189, 0.012199540622532368, -0.09586089104413986, 0.7147529125213623, -0.03342932090163231, -0.35710078477859497, -0.1988619565963745, -0.7021170258522034, -0.4357735216617584, 0.43373388051986694, -0.7581042051315308, -0.050138942897319794, 0.23221340775489807, -0.34490492939949036, -0.5065433382987976, -0.07906817644834518, -1.1265021562576294, -0.6034035682678223, 0.04442758858203888, 0.5493019819259644, -0.2317807972431183, -0.5296225547790527, -0.2664954960346222, -0.44625988602638245, 0.18764880299568176, 0.20170053839683533, -0.7105911374092102, 0.27602440118789673, 0.9871984124183655, 1.0075258016586304, -0.3606830835342407, -0.19677957892417908, -0.7408328652381897, 0.23136776685714722, -0.22445794939994812, 1.0185908079147339, -0.6377878785133362, -0.5878141522407532, 0.09524219483137131, -0.26131436228752136, 0.07903607934713364, -0.7423185110092163, 0.5417067408561707, -0.754150927066803, 0.059742674231529236, -0.00561627559363842, -0.41196662187576294, 0.014295699074864388, -0.05150360241532326, -0.8027559518814087, 1.3089038133621216, 0.18594390153884888, -0.9233222603797913, 0.2344503551721573, -0.44693809747695923, -0.4714983105659485, 0.5496911406517029, -0.06725051999092102, -0.3387822210788727, 0.3960212767124176, 0.11890039592981339, 0.37082791328430176, -0.5778259634971619, 0.44310519099235535, -0.16230109333992004, -0.5502213835716248, 0.14756827056407928, -0.23883682489395142, 0.6518830060958862, 0.37761029601097107, -0.4294170141220093, 0.2935231029987335, -0.7084145545959473, 0.13495129346847534, 0.00011497385276015848, -0.5907765030860901, -0.38522523641586304, 0.059968914836645126, 0.3918030261993408, -0.29205918312072754, 0.28401732444763184, -0.3094463646411896, 0.16585642099380493, -0.13884875178337097, -0.0038161331322044134, 0.851158618927002, -0.2580708861351013, 0.500342607498169, -0.30094245076179504, 0.7442687749862671, -0.2702682316303253, -0.12280122190713882, -0.44503703713417053, -0.17008253931999207, -0.8013595938682556, -0.30299243330955505, 0.46551939845085144, 0.38515278697013855, -0.9009630680084229, 0.3008478879928589, -0.41072916984558105, -0.5603154897689819, -0.6927196979522705, 0.26024723052978516, 0.5663388967514038, 0.4736277163028717, 0.41164395213127136, -0.29557156562805176, -0.7036731243133545, -0.7569723725318909, -0.24421007931232452, 0.13863684237003326, -0.10374666005373001, 0.18086275458335876, 0.4526706337928772, -0.145778089761734, 0.894109845161438, -0.34400543570518494, -0.0876038447022438, -0.4679742157459259, 0.43391796946525574, 0.20310458540916443, 0.3327784240245819, 0.38019222021102905, -0.7831994891166687, -0.42302998900413513, 0.13094422221183777, -0.4488932192325592, -0.4866095185279846, 0.27925118803977966, -0.028274139389395714, 0.20757603645324707, 0.2543710768222809, -0.3906782269477844, 0.34558388590812683, 0.510077714920044, -0.13222290575504303, 0.8471159934997559, 0.015319706872105598, 0.18403755128383636, -1.1414871215820312, 0.7178240418434143, -0.3513156771659851, -0.3912707567214966, -0.7480560541152954, 0.323310524225235, 0.09119375795125961, -0.022521253675222397, -0.358228862285614, 1.1050434112548828, -0.35109347105026245, -0.38561415672302246, -0.49066072702407837, 0.19515761733055115, -0.24656139314174652, 0.007007449399679899, -0.25489628314971924, 1.2327488660812378, 0.07038941234350204, -0.44774937629699707, 0.07691735774278641, 0.04883458837866783, -0.5048418641090393, 0.6003391742706299, -0.7108603119850159, 0.1626812368631363, -0.1384340226650238, 0.3837367594242096, -0.5598303079605103, -0.4690700173377991, 0.022604472935199738, -0.17620766162872314, 0.39795660972595215, -0.1514996737241745, -0.7263374328613281, -0.31394824385643005, -0.5817937254905701, 0.5729501247406006, 0.7027015686035156, -0.8509732484817505, 0.5537763237953186, 0.6383412480354309, -0.336104154586792, -1.096648097038269, -0.1960267722606659, 0.05696602538228035, -0.3487054407596588, -0.32918083667755127, 0.3232903480529785, -0.08372775465250015, -0.3016502559185028, -0.02146032266318798, -0.16129714250564575, -0.05411497876048088, -0.15612125396728516, 0.03133516386151314, 0.007216477766633034, -0.19012154638767242, 0.13495846092700958, 0.11807262152433395, -0.24518324434757233, -0.47471892833709717, 0.1011301651597023, 0.6275129318237305, 0.02157837152481079, -0.16530439257621765, 0.2313961386680603, 0.23048719763755798, 0.21463005244731903, -0.23378883302211761, 0.3338189125061035, 0.9217250347137451, 0.09035224467515945, -0.7731823921203613, -0.9250926971435547, 0.11633455753326416, -0.565242350101471, 0.26722121238708496, -0.17998458445072174, -1.0037671327590942, 0.3944131135940552, -0.2136039137840271, 0.2944287061691284, 0.23069843649864197, 0.8030357956886292, 0.018171461299061775, 0.7590548396110535, 0.4872457981109619, 0.020646249875426292, 0.41928336024284363, -0.07367435842752457, -0.02706236019730568, -1.2620028257369995, -0.036943137645721436, -0.5624105334281921, -0.5762335062026978, -0.18927855789661407, -0.7859444618225098, 0.45527568459510803, 0.1827058643102646, -0.25197020173072815, 0.2511764168739319, -0.5072837471961975, 0.5941278338432312, 0.37535667419433594, -0.2761663496494293, 0.4144876301288605, -0.04692091420292854, -0.02048128843307495, 0.25884005427360535, -0.7977559566497803, -0.41493695974349976, 1.0443882942199707, -0.10608302801847458, 0.8383785486221313, 0.19370006024837494, 0.8114049434661865, 0.3026549816131592, 0.6121354699134827, -0.5027322769165039, 0.893720805644989, -0.2126152217388153, -0.8156576752662659, -0.08518189191818237, -0.5585594773292542, -1.2587149143218994, 0.45947957038879395, -0.030855242162942886, -0.5275425314903259, 0.16115987300872803, 0.24024416506290436, -0.03907255828380585, 0.39818036556243896, -0.346240371465683, 0.48392823338508606, 0.0017006747657433152, -0.42991530895233154, -0.3827066421508789, -0.3287794589996338, 0.6899083256721497, -0.28560981154441833, 0.3084877133369446, -0.2168068140745163, -0.25044509768486023, 0.7275707125663757, -0.49795156717300415, 0.5122144222259521, -0.1455942839384079, 0.08153214305639267, 0.23939457535743713, 0.20765987038612366, 0.33896899223327637, 0.02405467815697193, -0.30450814962387085, -0.2868986129760742, -0.1627601683139801, -0.2270151823759079, -0.5495709180831909, 0.8666166663169861, -0.24260343611240387, -0.478993684053421, -0.31602898240089417, -0.5345691442489624, 0.12373656034469604, 0.38244685530662537, 0.07924281805753708, 0.5941738486289978, -0.29965704679489136, 0.1957606077194214, 0.6450272798538208, -0.43766528367996216, 0.5861417651176453, 0.5499410629272461, -0.7583794593811035, -0.5200823545455933, 1.1144016981124878, -0.0062866429798305035, -0.08690597116947174, 0.35350459814071655, 0.2589127719402313, 0.0072012655436992645, -0.5740109086036682, -0.5057864189147949, 0.10673275589942932, -0.6753172278404236, -0.6577169895172119, -0.5250150561332703, 0.023642154410481453, -0.20285391807556152, -0.22061213850975037, -0.3457305133342743, -0.720244288444519, -0.06206820160150528, 0.12249010801315308, 0.5973893404006958, 0.7957398295402527, -0.20808567106723785, 0.2983592450618744, -0.6626539826393127, 0.49021682143211365, 0.2140418142080307, 0.3294000029563904, 0.39415252208709717, -0.4162507653236389, -0.23356711864471436, -0.4448293447494507, -0.2745080888271332, -0.6335433721542358, 0.4902280271053314, 0.16428570449352264, 0.519660234451294, 0.037504278123378754, -0.006746747996658087, 0.9922419190406799, -0.8139411211013794, 0.5617927312850952, -0.09387737512588501, -0.7458915114402771, 0.48328080773353577, -0.40941065549850464, 0.4000946283340454, 0.7874773144721985, 0.2738790512084961, -0.34524962306022644, -0.3778253197669983, -0.5149484276771545, -1.2377071380615234, 0.43459469079971313, 0.028977902606129646, 0.04010859131813049, -0.10315635800361633, 0.2019122838973999, 0.2885683476924896, 0.34078601002693176, -0.3123667538166046, -0.10071837157011032, 0.07696861028671265, -0.15527349710464478, 0.05495469272136688, -0.285898894071579, -0.23276211321353912, -0.04166574403643608, 0.628281831741333, -0.08196192979812622, -0.0027116781566292048, -0.05133529379963875, -0.33155903220176697, -0.13734625279903412, 0.5017857551574707, 0.41774964332580566, 0.6847116947174072, -0.13340523838996887, 0.26762914657592773, 0.2987156808376312, -0.6797415018081665, 0.20414765179157257, 0.09472650289535522, -0.5331002473831177, 0.20094792544841766, 0.27328580617904663, 0.36174866557121277, 0.7219530940055847, -0.8777472376823425, 0.4297042489051819, -0.05025070160627365, 0.13988104462623596, -0.45259130001068115, 0.1467186063528061, 0.031454578042030334, 0.2777553200721741, 0.6457284092903137, -0.11483646184206009, 0.3691064119338989, -0.30549657344818115, 0.2756596803665161, 0.4451983571052551, 0.16193586587905884, -0.42315295338630676, 0.48964017629623413, 0.12600357830524445, -0.5822898149490356, 0.3801666498184204, -0.34505465626716614, -0.2637845575809479, 0.1451227366924286, 0.5144098997116089, 1.0896605253219604, -0.28858673572540283, 0.26057931780815125, 0.42675384879112244, 0.02701582759618759, -0.40424826741218567, 0.23027074337005615, -0.15432265400886536, -0.21101537346839905, -0.5887108445167542, -1.1132030487060547, -0.39190083742141724, -0.1089881956577301, -0.6039724946022034, 0.2915997803211212, -0.33876872062683105, -0.1970931589603424, -0.20711322128772736, -0.1732390969991684, -0.5771116018295288, -0.3400977849960327, -0.22643053531646729, 1.1207634210586548, -0.19639918208122253, 0.7278006076812744, 0.5818615555763245, -0.1740826666355133, -0.5920878052711487, -0.1632603406906128, 0.21715818345546722, -0.6474156379699707, 0.7307179570198059, 0.012939081527292728, -0.26439985632896423, -0.014665300026535988, -0.26872286200523376, -0.8868995308876038, 1.3472763299942017, -0.007343207485973835, -0.43327218294143677, 0.08774036169052124, -0.3247813880443573, 0.5382410883903503, -0.24299809336662292, 0.4225914776325226, 0.5185467600822449, 0.5426366329193115, 0.19419972598552704, -1.0631262063980103, -0.02314920350909233, -0.3722773492336273, 0.14371120929718018, 0.4699505567550659, -0.5927951335906982, 0.7132193446159363, 0.07210060954093933, -0.35106340050697327, 0.3905160129070282, 0.4930034577846527, 0.5837659239768982, 0.3704635500907898, 0.321061909198761, 0.7407021522521973, 0.6336919069290161, 0.09335500001907349, 1.0541796684265137, -0.1351049393415451, 0.2174472212791443, 1.2328667640686035, -0.44311854243278503, 1.2386704683303833, 0.3366563022136688, -0.037138551473617554, 0.4937005341053009, -0.016963470727205276, 0.016789065673947334, 0.39491182565689087, 0.21138422191143036, -0.6132683157920837, 0.11823651194572449, 0.026160793378949165, -0.2305750697851181, 0.1397130787372589, 0.30274561047554016, -0.10975384712219238, -0.40472710132598877, -0.0457339771091938, -0.014342842623591423, -0.10462485253810883, -0.31976228952407837, 0.7299810647964478, -0.04275617003440857, -0.5880489945411682, 0.44660887122154236, -0.10855414718389511, 1.0700104236602783, -0.6465103626251221, 0.11462155729532242, -0.44633087515830994, 0.07493134588003159, -0.38020074367523193, -0.6961244940757751, 0.36849772930145264, 0.37220439314842224, -0.015488783828914165, -0.31104952096939087, 0.9726176261901855, -0.18887299299240112, -0.4498791992664337, 0.05826373025774956, 0.6285194754600525, 0.2243562936782837, 0.5883638262748718, -0.5492491722106934, 0.4498210549354553, -0.3264436721801758, -0.554500937461853, 0.5867481231689453, 0.3148443400859833, 0.16516627371311188, 0.7458394169807434, 0.5448683500289917, 0.23836907744407654, 0.20853596925735474, 0.07911434769630432, 0.967742383480072, -0.7233279347419739, 0.013857903890311718, -0.5013302564620972, 0.6419292092323303, -0.18629975616931915, -0.37937337160110474, 0.965137243270874, 0.8026764988899231, 0.6430402398109436, -0.0008828815189190209, 0.5844627022743225, -0.4028467833995819, 0.9404599070549011, -0.32239124178886414, 0.7552930116653442, -0.6438050270080566, 0.44401854276657104, -0.3381540775299072, -1.0904018878936768, -0.3453066349029541, 0.4695848226547241, 0.09879179298877716, 0.0750642716884613, 0.4092409610748291, 0.9712047576904297, -0.23547346889972687, -0.10502362996339798, -0.0031830717343837023, 0.09284181147813797, 0.33758416771888733, -0.09074806421995163, 0.8245165944099426, -0.07073694467544556, 0.5358613729476929, -0.14980952441692352, -0.17550313472747803, -0.3854532539844513, -0.904930055141449, -0.7075845003128052, -0.5839449167251587, -0.007495161145925522, -0.10760751366615295, 0.18759997189044952, 0.7229633927345276, 0.5596754550933838, -0.4493781328201294, -0.532191812992096, 0.1991318166255951, 0.22226987779140472, 0.05481784790754318, -0.2820252776145935, 0.17075908184051514, -0.5716992616653442, -0.6632780432701111, 0.7573571801185608, 0.3952859938144684, -0.301297128200531, -0.5116905570030212, 0.06199519708752632, -0.13811147212982178, -0.10947127640247345, 0.7311632633209229, 0.541333019733429, -0.47211596369743347, -0.039746735244989395, -0.122391477227211, 0.05638952553272247, -0.08063027262687683, 1.2200779914855957, -1.100486159324646, 0.41217660903930664, 0.7554989457130432, 0.6991543769836426, 0.6074711680412292, 0.022644683718681335, 0.5810527801513672, -0.9495900273323059, 0.12495795637369156, 0.4445740282535553, 0.18287800252437592, 0.3540993332862854, 0.08973057568073273, 0.8239485621452332, -0.2234390825033188, -0.8565361499786377, -1.3076955080032349, 0.051682740449905396, -0.8459973931312561, -0.3373069763183594, 1.0574294328689575, 0.09990487992763519, -0.229329451918602, -0.1050986647605896, -0.07525962591171265, -0.0336771234869957, -0.39960384368896484, 0.6529937982559204, 0.19915124773979187, -0.0498589351773262, -0.17989200353622437, -0.6850569844245911, 0.48095253109931946, 0.2864089012145996, -0.712253987789154, 0.14779436588287354, 0.5245087742805481, 0.2716136872768402, 0.3073490560054779, 0.7931065559387207, -0.15546095371246338, 0.3925687372684479, -0.03275790810585022, 0.08264356851577759, 0.013951991684734821, -0.261159211397171, -0.35925930738449097, 0.3912763297557831, -0.0722617357969284, 0.5955315232276917 ]
http://arxiv.org/abs/2405.13568v1
http://arxiv.org/pdf/2405.13568v1
CPE-Identifier: Automated CPE identification and CVE summaries annotation with Deep Learning and NLP
2024-05-22T12:05:17
2024-05-22T12:05:17
Wanyu Hu, Vrizlynn L. L. Thing
cs.CR
cs.CR, cs.AI, cs.CL, cs.LG
With the drastic increase in the number of new vulnerabilities in the National Vulnerability Database (NVD) every year, the workload for NVD analysts to associate the Common Platform Enumeration (CPE) with the Common Vulnerabilities and Exposures (CVE) summaries becomes increasingly laborious and slow. The delay causes organisations, which depend on NVD for vulnerability management and security measurement, to be more vulnerable to zero-day attacks. Thus, it is essential to come out with a technique and tool to extract the CPEs in the CVE summaries accurately and quickly. In this work, we propose the CPE-Identifier system, an automated CPE annotating and extracting system, from the CVE summaries. The system can be used as a tool to identify CPE entities from new CVE text inputs. Moreover, we also automate the data generating and labeling processes using deep learning models. Due to the complexity of the CVE texts, new technical terminologies appear frequently. To identify novel words in future CVE texts, we apply Natural Language Processing (NLP) Named Entity Recognition (NER), to identify new technical jargons in the text. Our proposed model achieves an F1 score of 95.48%, an accuracy score of 99.13%, a precision of 94.83%, and a recall of 96.14%. We show that it outperforms prior works on automated CVE-CPE labeling by more than 9% on all metrics.
[ -0.5731377601623535, -0.5604985356330872, 0.24201545119285583, 0.2727581262588501, -0.45659366250038147, 0.4228368401527405, -0.02962419018149376, -0.5348220467567444, 0.28097906708717346, 0.6069839596748352, -0.284182071685791, -0.7211545705795288, -0.5806738138198853, 0.2413886934518814, -0.5537599325180054, 0.8948308229446411, 0.10843607783317566, -0.4461020231246948, -0.06475237011909485, 0.0941869392991066, -0.624106764793396, -0.75440514087677, -0.5859665274620056, 0.0008754867012612522, 0.31270164251327515, 0.16470390558242798, 0.08570592850446701, 0.5062752962112427, 0.7782708406448364, 0.2478334903717041, 0.10251310467720032, 0.04458951577544212, 0.0017867410788312554, -0.3205362558364868, -0.03658382222056389, -0.1129644364118576, -0.5632699728012085, -0.23948924243450165, 0.2331968992948532, 0.35116568207740784, 0.24306295812129974, 0.2288292646408081, 0.16546355187892914, 0.5543614625930786, -0.7570672035217285, 0.3208508789539337, -0.69923996925354, 0.11873264610767365, -0.057347189635038376, -0.31538382172584534, -0.43578261137008667, -0.28440019488334656, 0.4366918206214905, -0.6768277287483215, 0.17236581444740295, -0.3915676772594452, 0.816776692867279, 0.12394511699676514, -0.20216242969036102, -0.22062459588050842, -0.44360846281051636, 0.7382788062095642, -0.5394346117973328, 0.11197596788406372, -0.13587579131126404, 0.39495691657066345, 0.10192661732435226, -0.3798189163208008, -0.4212891161441803, -0.3009152114391327, 0.06867022067308426, -0.12102688103914261, 0.17394323647022247, -0.1298554539680481, 0.03131917119026184, 0.2550045847892761, -0.5077376961708069, 0.46669575572013855, -0.42584341764450073, -0.3799949288368225, 0.7373097538948059, 0.06546911597251892, 0.17917737364768982, -0.23812581598758698, -0.6262561082839966, 0.0979524627327919, -0.41346776485443115, -0.09191206097602844, 0.2979303002357483, 0.36144912242889404, -0.27111154794692993, 0.3115352690219879, -0.2577875852584839, 0.5676161050796509, 0.17472003400325775, -0.28018930554389954, 0.618736982345581, -0.3067682683467865, -0.5912532806396484, 0.25112131237983704, 0.8455401062965393, 0.6124704480171204, 0.1531965285539627, -0.14112615585327148, -0.10875551402568817, -0.09524170309305191, 0.2187923938035965, -0.6250172853469849, -0.572333037853241, 0.19161660969257355, -0.32613492012023926, -0.6359704732894897, 0.4325525462627411, -0.8426668047904968, -0.4150480031967163, -0.4184587001800537, 0.08397487550973892, -0.47873958945274353, -0.22295871376991272, -0.02313961088657379, -0.5282829999923706, 0.6689321994781494, 0.5455865859985352, -0.4917532503604889, 0.37501367926597595, 0.8542786240577698, 0.72054123878479, -0.5225948691368103, 0.1545814573764801, -0.49091944098472595, 0.0201055146753788, -0.18224814534187317, 0.7277576923370361, -0.4774465560913086, -0.37981247901916504, -0.14693689346313477, 0.3387913703918457, 0.041676077991724014, -0.5271487236022949, 0.41849589347839355, -0.3927394449710846, 0.18945197761058807, -0.1836586594581604, -0.5697933435440063, -0.1737692803144455, 0.508152186870575, -0.6452803611755371, 0.8371730446815491, -0.08050680160522461, -0.796042799949646, 0.4505160450935364, -0.5698394775390625, -0.07386354357004166, 0.5634710788726807, -0.17515437304973602, -0.4179140627384186, -0.07643019407987595, 0.46629437804222107, 0.4709923267364502, -0.49961012601852417, 0.24082745611667633, -0.14763325452804565, -0.17009282112121582, 0.23747830092906952, -0.3045562207698822, 0.8092385530471802, -0.1413075178861618, -0.09933958202600479, -0.1861899197101593, -0.8673693537712097, -0.09289190918207169, 0.07494474947452545, -0.21762725710868835, -0.2991688549518585, -0.148646742105484, 0.10251861810684204, 0.03414769098162651, 0.5315952897071838, -0.7077939510345459, 0.3036653995513916, -0.6885734796524048, 0.2950722575187683, 0.6012158393859863, 0.6189584732055664, 0.449127733707428, 0.020406274124979973, 0.4382071793079376, 0.009362641721963882, 0.3906092941761017, -0.24609534442424774, -0.46294456720352173, -0.37373048067092896, -0.49075940251350403, 0.5333296060562134, 1.0933457612991333, -0.6122499108314514, 0.7442758679389954, -0.19492922723293304, -0.6807174682617188, 0.022483989596366882, 0.03443184494972229, 0.38391512632369995, 0.6694343686103821, 0.42182308435440063, -0.7386411428451538, -0.5783534646034241, -1.044211506843567, -0.14467324316501617, -0.11462042480707169, -0.36769041419029236, 0.22044675052165985, 0.49526217579841614, -0.2348203957080841, 0.8455270528793335, -0.5130072236061096, -0.1600484549999237, -0.023759907111525536, 0.24195072054862976, 0.17875038087368011, 0.5261109471321106, 0.6373343467712402, -0.8973708152770996, -0.3323802649974823, 0.0788981094956398, -0.7288365960121155, -0.13733181357383728, -0.34220069646835327, 0.18553271889686584, 0.07652359455823898, 0.5708712935447693, 0.07833408564329147, 0.22560632228851318, -0.09497835487127304, 0.15156640112400055, 0.5077434778213501, -0.0980326235294342, 0.09841228276491165, -0.883277952671051, 0.031923118978738785, 0.32576605677604675, 0.08908575773239136, -0.412746399641037, 0.06044260039925575, 0.25921088457107544, -0.15749651193618774, -0.7888765931129456, 0.3378196060657501, -0.3503824770450592, 0.3280743658542633, -0.08551627397537231, 0.4524401128292084, 0.1561298370361328, 0.3907136023044586, 0.06493058055639267, 0.32009708881378174, 0.7156859636306763, -0.8799659609794617, 0.4167848825454712, 0.17262421548366547, -0.11789055168628693, 0.5898498296737671, -0.6125496029853821, 0.04745248705148697, -0.18063892424106598, 0.08453011512756348, -0.4701835513114929, -0.1934022158384323, 0.3327440619468689, -0.3934842348098755, 0.3286568224430084, -0.28688564896583557, -0.2783651351928711, -0.3829404413700104, -0.41797032952308655, 0.3746896982192993, 0.23363065719604492, -0.49134373664855957, 0.5406652688980103, 0.7622084617614746, -0.16122637689113617, -0.7281471490859985, -0.6494141221046448, 0.4111662805080414, -0.2327568680047989, -0.2053966373205185, 0.47937020659446716, -0.1122516617178917, -0.15958891808986664, -0.26686516404151917, -0.00424104044213891, -0.5023077726364136, 0.34303218126296997, 0.3705930709838867, 0.6125956773757935, -0.17814955115318298, 0.3140449523925781, -0.05089518800377846, -0.4867704510688782, 0.12631067633628845, -0.4116091728210449, 0.27002090215682983, -0.13851968944072723, -0.09876330196857452, -0.6823488473892212, 0.39370524883270264, 0.4043149948120117, -0.5610453486442566, 0.47057193517684937, 0.38945528864860535, -0.6641812324523926, -0.012148278765380383, -0.5193741321563721, 0.18404290080070496, -0.42645934224128723, 0.31375008821487427, -0.28401660919189453, -0.5699930191040039, 0.35695329308509827, -0.17255938053131104, 0.07068819552659988, 0.9623977541923523, 0.32918304204940796, 0.26132506132125854, 0.39372020959854126, 0.9287278652191162, -0.34816786646842957, 0.35532036423683167, -0.27877694368362427, 0.3477376103401184, -0.8406596779823303, -0.4704318940639496, -0.4478682279586792, 0.009687546640634537, -0.6718326807022095, -0.3092106878757477, 0.16506977379322052, -0.008758269250392914, -0.09514407813549042, 0.806664228439331, -1.149887204170227, 0.5982422232627869, 0.17133477330207825, -0.16569259762763977, 0.011287858709692955, -0.3985384702682495, -0.016667434945702553, 0.10631245374679565, -0.061848510056734085, -0.7662941217422485, 1.0697386264801025, 0.2892359495162964, 0.3569835424423218, -0.032134391367435455, 0.986656129360199, 0.3866540193557739, 0.34537172317504883, -0.365147203207016, 0.6824638247489929, -0.11312463134527206, -0.2104044109582901, 0.03850913420319557, -0.11864587664604187, -0.6198445558547974, -0.38742661476135254, -0.4242868423461914, -0.9729934334754944, 0.6597115397453308, -0.07959835976362228, -0.5255361199378967, 0.055928394198417664, -0.5891316533088684, 0.8267463445663452, -0.268632173538208, 0.13748133182525635, 0.09017600119113922, -0.5323604941368103, 0.3464786410331726, -0.33970072865486145, 0.044856272637844086, -0.28348344564437866, -0.20955626666545868, 0.5951852798461914, -0.2882364094257355, 0.8198300004005432, -0.1814679056406021, -0.08722233772277832, 0.36723142862319946, -0.11388634145259857, 0.44192633032798767, 0.5174703001976013, -0.09849650412797928, 0.4109765887260437, -0.11373113095760345, -0.1980181783437729, -0.30442771315574646, 0.8348457217216492, -0.5198494791984558, -0.17423859238624573, -0.5137692093849182, 0.050157953053712845, 0.358143150806427, 0.2137288898229599, 0.39535826444625854, 0.519939124584198, -0.5633676648139954, 0.0016271810745820403, 0.7546241283416748, -0.6513718962669373, 0.6457259058952332, 0.5387736558914185, 0.23638756573200226, -0.5552705526351929, 1.1216883659362793, 0.16126419603824615, 0.06882821023464203, 0.952006995677948, -0.15269699692726135, 0.036565620452165604, -0.5655734539031982, -0.3648742735385895, -0.09102272987365723, -0.5685304403305054, -0.430400013923645, -0.8650431036949158, -0.42240121960639954, -0.3310723602771759, -0.646055281162262, -0.18030069768428802, -0.4736041724681854, -0.42713797092437744, -0.23279477655887604, 0.29777127504348755, 0.46720460057258606, 0.2608673870563507, 0.01838083565235138, -0.7101874351501465, 0.4304960072040558, 0.30351895093917847, 0.2156759649515152, -0.35460367798805237, -0.10641954094171524, -0.019939176738262177, -0.29810261726379395, -0.24116399884223938, -1.08919358253479, 0.6424015760421753, 0.14013102650642395, 0.5074391961097717, 0.10875680297613144, 0.09660492837429047, 0.22273403406143188, -0.16900286078453064, 0.9360654354095459, 0.24673576653003693, -0.9979058504104614, 0.7760103344917297, -0.10183471441268921, 0.24115398526191711, 0.7586813569068909, 0.19032198190689087, -0.3290739059448242, -0.4810572564601898, -0.7848337888717651, -1.2512069940567017, 0.03930024057626724, -0.08987110108137131, -0.22214052081108093, -0.4205178916454315, 0.5573209524154663, 0.21894609928131104, 0.275500625371933, -0.7037658095359802, -0.06505512446165085, -0.047260481864213943, -0.13717833161354065, 0.18194900453090668, -0.1303424835205078, 0.1607300490140915, 0.08579121530056, 0.8452222347259521, -0.2774507999420166, 0.2566594183444977, 0.40732377767562866, -0.21672573685646057, 0.3318744897842407, 0.2320510596036911, 0.3137092888355255, 0.3010254204273224, -0.2312842607498169, -0.09905499219894409, 0.4405911862850189, -0.3682813048362732, -0.1301291286945343, 0.10079000145196915, -0.10201219469308853, 0.09820098429918289, 0.32849928736686707, 0.18332824110984802, -0.03639308363199234, -0.7828848958015442, 0.9005260467529297, -0.23378363251686096, -0.1842978298664093, -1.0680471658706665, 0.19574126601219177, -0.34125348925590515, 0.04891815781593323, 0.33808550238609314, 0.251255065202713, 0.3082181513309479, -0.18396075069904327, 0.42626309394836426, 0.38800135254859924, -0.6365934610366821, -0.009807270020246506, 0.5474663972854614, 0.40013429522514343, -0.5414179563522339, 0.47565406560897827, -0.4455930292606354, -0.26512911915779114, 1.1362966299057007, 0.014689777046442032, 1.2777323722839355, -0.024904925376176834, 0.0836920514702797, 0.5143485069274902, 0.6746976375579834, 0.14867402613162994, 0.2309497594833374, 0.06960665434598923, -0.336181104183197, -0.535869836807251, -0.627607524394989, -0.26108109951019287, 0.09901556372642517, -0.6693522930145264, 0.6614459753036499, -0.726807713508606, 0.1612207591533661, 0.3587054908275604, -0.040110137313604355, -0.9212449193000793, 0.24781830608844757, 0.4073992371559143, 1.155932068824768, -1.0459980964660645, 0.6182896494865417, 0.1276271492242813, -0.4565768539905548, -0.4141078293323517, -0.11939191073179245, 0.14878222346305847, -0.3562208414077759, 0.5604668259620667, 0.43890881538391113, 0.2957894802093506, -0.34506985545158386, -0.3587205111980438, -0.63084876537323, 1.0829883813858032, 0.23611228168010712, -0.785977840423584, 0.36592718958854675, -0.04298877343535423, 0.4341375529766083, -0.6581656336784363, 0.205758199095726, 0.43203920125961304, 0.5598656535148621, -0.46657246351242065, -0.9802534580230713, 0.025467203930020332, -0.45865705609321594, -0.1923942118883133, 0.5276336073875427, -0.35298284888267517, 0.5934085249900818, -0.09248903393745422, -0.21216481924057007, -0.11459413915872574, 0.5286923050880432, -0.17271345853805542, 0.3358449339866638, 0.4808061122894287, 0.5215601325035095, 0.82716965675354, -0.09756406396627426, 0.8826923370361328, -0.22524802386760712, 0.12714657187461853, 1.2147384881973267, -0.11955022066831589, 0.7572517991065979, 0.12817297875881195, 0.30279749631881714, 0.7395451068878174, 0.38828399777412415, -0.5414178967475891, 0.3776688873767853, 0.17358562350273132, -0.3963095247745514, -0.013926563784480095, 0.05067356675863266, -0.2303975373506546, 0.2804517149925232, 0.4752143919467926, -0.6429357528686523, -0.11592025309801102, 0.21123522520065308, -0.2811177670955658, 0.026732653379440308, -0.25633057951927185, 1.0953189134597778, -0.0862404927611351, -0.3204823136329651, 0.3191942572593689, 0.15638764202594757, 0.5104991793632507, -0.3510567545890808, -0.07627309113740921, 0.4577063322067261, 0.10652761161327362, -0.20715875923633575, -0.45985284447669983, 0.36131206154823303, -0.05175783485174179, -0.17302651703357697, -0.07798982411623001, 0.6199761033058167, -0.13182318210601807, -0.681908905506134, 0.28187432885169983, 0.18529239296913147, 0.0012349315220490098, -0.22804906964302063, -0.69237220287323, -0.11340504884719849, -0.10112059861421585, 0.15465033054351807, 0.2355215847492218, 0.5343871116638184, -0.03848907724022865, 0.49137136340141296, 0.5548748970031738, -0.17216871678829193, -0.08806271851062775, 0.021682031452655792, 0.8784663677215576, -0.7699951529502869, -0.5559830069541931, -0.9376904964447021, 0.5495263934135437, -0.6323593854904175, -0.6038306951522827, 0.6562726497650146, 0.7936257719993591, 0.6303775906562805, 0.06382488459348679, 0.9189674854278564, 0.04787219315767288, 0.39093509316444397, -0.04968192055821419, 0.1487616002559662, -0.05816839635372162, 0.6341147422790527, -0.4009203016757965, -0.6110051274299622, -0.4545682370662689, 0.17605793476104736, -0.2082103043794632, -0.566027820110321, 0.5839709043502808, 0.7585706114768982, 0.19614540040493011, -0.05823506414890289, -0.14838407933712006, 0.10220501571893692, 0.492100328207016, 0.6896538138389587, 0.09254248440265656, -0.5868226885795593, 0.33503809571266174, -0.3775888979434967, -0.32432326674461365, -0.34190261363983154, -1.3286265134811401, -0.699857234954834, -0.47847220301628113, -0.9944803714752197, -0.045854777097702026, 0.0030288915149867535, 0.7938502430915833, 0.3843708634376526, -0.8903451561927795, 0.3000847399234772, -0.3462252616882324, 0.06561736017465591, -0.42221200466156006, -0.3128167390823364, 0.3589610159397125, -0.09578476846218109, -0.4057650566101074, 0.516597330570221, 0.8790177702903748, -0.017123814672231674, -0.29597997665405273, 0.2207484245300293, 0.022458482533693314, 0.1447654813528061, 0.42407721281051636, 0.5053282976150513, -0.5236261487007141, -0.42769527435302734, -0.07039976865053177, -0.003365122014656663, -0.07266060262918472, 0.6794803738594055, -1.1490195989608765, 0.4584498405456543, 0.5099776983261108, 0.6687728762626648, 0.1438724845647812, -0.3277570903301239, 0.5822127461433411, -0.8736816644668579, 0.10510498285293579, 0.4283182919025421, 0.3072457015514374, 0.31723982095718384, -0.6287165880203247, 0.37812095880508423, 0.22783531248569489, -0.43740034103393555, -0.7299789190292358, 0.08244498074054718, -1.2581417560577393, -0.2792537212371826, 0.6192235946655273, 0.03361724317073822, -0.5026074647903442, -0.515184223651886, -0.13529716432094574, 0.08874765783548355, -0.2939155101776123, 0.6968497037887573, 0.16879631578922272, 0.18564791977405548, -0.13364902138710022, -0.4988006055355072, 0.2346954196691513, -0.2806771993637085, -0.7259071469306946, 0.07692427188158035, 0.20254187285900116, 0.1422988474369049, 0.5131381750106812, 0.598125696182251, -0.31478869915008545, 0.2945691645145416, -0.21121308207511902, 0.4878087639808655, 0.036828089505434036, -0.34966176748275757, -0.3043099641799927, 0.663008987903595, -0.22034162282943726, -0.24472878873348236 ]
http://arxiv.org/abs/2405.13548v2
http://arxiv.org/pdf/2405.13548v2
ECLIPSE: Semantic Entropy-LCS for Cross-Lingual Industrial Log Parsing
2024-05-22T11:33:29
2024-05-24T05:39:24
Wei Zhang, Xianfu Cheng, Yi Zhang, Jian Yang, Hongcheng Guo, Zhoujun Li, Xiaolin Yin, Xiangyuan Guan, Xu Shi, Liangfan Zheng, Bo Zhang
cs.SE
cs.SE, cs.CL
Log parsing, a vital task for interpreting the vast and complex data produced within software architectures faces significant challenges in the transition from academic benchmarks to the industrial domain. Existing log parsers, while highly effective on standardized public datasets, struggle to maintain performance and efficiency when confronted with the sheer scale and diversity of real-world industrial logs. These challenges are two-fold: 1) massive log templates: The performance and efficiency of most existing parsers will be significantly reduced when logs of growing quantities and different lengths; 2) Complex and changeable semantics: Traditional template-matching algorithms cannot accurately match the log templates of complicated industrial logs because they cannot utilize cross-language logs with similar semantics. To address these issues, we propose ECLIPSE, Enhanced Cross-Lingual Industrial log Parsing with Semantic Entropy-LCS, since cross-language logs can robustly parse industrial logs. On the one hand, it integrates two efficient data-driven template-matching algorithms and Faiss indexing. On the other hand, driven by the powerful semantic understanding ability of the Large Language Model (LLM), the semantics of log keywords were accurately extracted, and the retrieval space was effectively reduced. Notably, we launch a Chinese and English cross-platform industrial log parsing benchmark ECLIPSE- BENCH to evaluate the performance of mainstream parsers in industrial scenarios. Our experimental results across public benchmarks and ECLIPSE- BENCH underscore the superior performance and robustness of our proposed ECLIPSE. Notably, ECLIPSE both delivers state-of-the-art performance when compared to strong baselines and preserves a significant edge in processing efficiency.
[ 0.02106398530304432, -0.14716657996177673, 0.5777538418769836, 0.638789176940918, -0.44743311405181885, -0.01688573881983757, -0.16816772520542145, -0.9874523282051086, 0.11960535496473312, 0.4046594202518463, -0.2973611354827881, -0.9656221270561218, -0.3468386232852936, 0.15868495404720306, -0.3506719172000885, 0.8563854694366455, -0.10802213102579117, 0.1389453411102295, -0.03807670995593071, -0.24755869805812836, -0.24503247439861298, -0.23290392756462097, -0.7191930413246155, 0.10095904022455215, 0.5830287337303162, 0.13702841103076935, 0.38456717133522034, 0.8496890664100647, 0.35235437750816345, 0.2850041091442108, -0.05568959191441536, -0.11567721515893936, -0.05100925266742706, 0.3014236390590668, -0.35532352328300476, -0.5954906940460205, -0.6167308688163757, -0.5269055962562561, 0.44404223561286926, 0.6027678847312927, -0.02247634157538414, 0.27330127358436584, 0.04013253003358841, 0.515605628490448, -0.8834360837936401, 0.22091716527938843, -0.9443570971488953, 0.16264966130256653, -0.4443737864494324, -0.34385955333709717, -0.4575718343257904, 0.09684417396783829, -0.09450036287307739, -0.8386409282684326, 0.23895028233528137, 0.33908364176750183, 0.9468026161193848, 0.27197059988975525, -0.33051827549934387, -0.0005873761838302016, -0.5102574229240417, 0.9361332654953003, -0.7045381665229797, 0.8243025541305542, 0.1098376139998436, 0.21527622640132904, 0.09069696068763733, -1.112216591835022, -0.19302529096603394, 0.12446790188550949, -0.06444712728261948, 0.3013695776462555, 0.2141357660293579, 0.1490701287984848, -0.08244138211011887, 0.43368518352508545, -0.7802693247795105, 0.5635102987289429, -0.27556657791137695, -0.10683493316173553, 0.5467405319213867, 0.6257582902908325, 0.3813433349132538, -0.08167890459299088, -0.4188443720340729, -0.3309440314769745, -0.4763498306274414, -0.0730690136551857, 0.09231850504875183, 0.18055905401706696, 0.16151757538318634, 0.29976046085357666, -0.33467233180999756, 0.5643665194511414, -0.4424647390842438, -0.2491154670715332, 0.21094809472560883, -0.2047584354877472, -0.5369092226028442, 0.4110826253890991, 0.5362854599952698, 0.5291378498077393, -0.5351115465164185, -0.31421390175819397, -0.22204384207725525, 0.13271111249923706, -0.04627261683344841, -0.5931618809700012, -0.3093254566192627, 0.47938254475593567, -0.45860642194747925, -0.19985541701316833, 0.07514113187789917, -0.862633228302002, -0.35492995381355286, -0.21345166862010956, -0.07005375623703003, -0.22758710384368896, -0.37520578503608704, 0.525646448135376, -0.6637008190155029, 0.3655296564102173, 0.5696809887886047, -0.8627413511276245, 0.06465934962034225, 1.2986630201339722, 0.8264776468276978, 0.08932629227638245, -0.20842550694942474, -0.42599940299987793, 0.7993381023406982, -0.3952479362487793, 0.3922087252140045, -0.5588979125022888, 0.07696639001369476, -0.3247706890106201, -0.006739296019077301, 0.06083042547106743, -0.7126753926277161, 0.5701826810836792, -0.573326826095581, 0.14571315050125122, -0.09602136164903641, -0.4636666476726532, -0.1908295750617981, 0.20946882665157318, -0.5591765642166138, 1.1678568124771118, 0.007598318159580231, -0.9595142602920532, 0.8675981760025024, -0.32578033208847046, -0.15972626209259033, 0.1537441611289978, -0.21427330374717712, -0.16475248336791992, 0.03429379686713219, 0.021208690479397774, 0.35022491216659546, -0.7152726650238037, 0.29318350553512573, -0.5091500282287598, 0.1258004754781723, -0.4746323525905609, -0.5359804034233093, 0.9645865559577942, 0.42921483516693115, -0.441595196723938, -0.09678218513727188, -0.9446520209312439, 0.02707945741713047, -0.0725654736161232, -0.15273302793502808, -0.9742829203605652, -0.04143284261226654, 0.2420809268951416, 0.2558163106441498, 0.5546947717666626, -0.7786133885383606, -0.004049080424010754, -0.4437735974788666, -0.11943602561950684, 0.7750672101974487, -0.40515562891960144, -0.04847310110926628, 0.05177721753716469, 0.23280631005764008, 0.1892288625240326, 0.14187940955162048, -0.10225022584199905, -0.2791628837585449, -0.7634845972061157, -0.5836951732635498, 0.11837434768676758, 0.9423434138298035, -0.5945314168930054, 0.7224717736244202, -0.31811803579330444, -0.7774755954742432, -0.5940260291099548, 0.4733869135379791, 0.44257912039756775, 0.2848662734031677, 0.28171613812446594, -0.6147517561912537, -0.834874153137207, -0.8138802647590637, -0.653187096118927, -0.4500589072704315, -0.6926060914993286, 0.14181920886039734, -0.012946481816470623, -0.18922999501228333, 0.822550892829895, -0.5603593587875366, -0.18176478147506714, -0.050373997539281845, 0.3114432394504547, 0.19490616023540497, 0.4716803729534149, 0.4345133900642395, -0.7248042225837708, -0.7462749481201172, 0.7419140338897705, -0.972070038318634, -0.3198701739311218, -0.21192508935928345, -0.21340437233448029, 0.26416903734207153, 0.824664294719696, -0.5471349954605103, 0.3136155903339386, 0.6092393398284912, -0.6039397120475769, 0.4368232190608978, 0.1066230982542038, -0.2535046935081482, -1.131299376487732, 0.3401144742965698, -0.05717261880636215, -0.25731518864631653, -0.17469367384910583, 0.1110701784491539, -0.0507546029984951, 0.1421528458595276, -0.7467197775840759, 0.4362863600254059, -0.250589519739151, -0.3539842367172241, 0.14797060191631317, -0.022298116236925125, 0.6288031935691833, 0.37309613823890686, 0.15831507742404938, 0.5756487250328064, 0.7330052256584167, -0.6785681843757629, 0.6889585852622986, -0.21150541305541992, -0.38249415159225464, 0.45041555166244507, -0.45726796984672546, -0.32861006259918213, -0.12618079781532288, 0.3814131021499634, -0.73589688539505, 0.07421388477087021, 0.06612000614404678, -0.048159774392843246, 0.20513322949409485, 0.09950600564479828, -0.6119440197944641, 0.00011746815289370716, -0.47287729382514954, 0.47433069348335266, 0.169857919216156, -0.6919044852256775, 0.808050274848938, 0.02554231323301792, -0.1852693110704422, -0.5703691244125366, -0.6642037630081177, 0.3041979670524597, -0.5697484612464905, -0.8564276099205017, 0.4075140953063965, 0.3040500283241272, -0.4551347494125366, 0.24279196560382843, -0.4766594469547272, -0.14072540402412415, 0.15460531413555145, -0.33567944169044495, 0.17051386833190918, -0.7084949016571045, -0.13027578592300415, -0.008071281015872955, -0.29779553413391113, 0.09345705062150955, -0.6323959827423096, 0.3522355556488037, -0.08546669781208038, -0.30201202630996704, -0.6320942640304565, 0.10053509473800659, 0.8252992630004883, -0.10210287570953369, 0.9418730735778809, 0.624674916267395, -0.1616646945476532, -0.02516271360218525, -0.449413001537323, 0.1126832440495491, -0.5332118272781372, 0.47146689891815186, -0.37994882464408875, -0.5233199000358582, 0.5532646179199219, -0.4138556718826294, 0.5819239616394043, 0.5673007369041443, 0.2702047824859619, 0.1079505905508995, 1.075089454650879, 0.45810824632644653, -0.24722930788993835, 0.26755431294441223, 0.11945891380310059, 0.35263025760650635, -0.8558149933815002, -0.2213483601808548, -0.797234058380127, -0.034297920763492584, -0.4649446904659271, -0.23390521109104156, 0.33764174580574036, 0.04545513540506363, -0.19346921145915985, 0.43913987278938293, -0.2960934340953827, 0.436311811208725, 0.26256513595581055, -0.2892444431781769, 0.44305163621902466, -0.3118647038936615, -0.2550080716609955, -0.02926359698176384, -0.753724217414856, -0.41868168115615845, 0.5698922872543335, 0.399164080619812, 0.8148466944694519, 0.049042027443647385, 0.4862288236618042, -0.06645191460847855, 0.05185567960143089, -0.3960275650024414, 0.4849679172039032, -0.45631173253059387, -0.5435473918914795, -0.46487683057785034, -0.29557114839553833, -1.0772416591644287, 0.6265674829483032, 0.3328782618045807, -0.9345027208328247, 0.24662497639656067, 0.003321042750030756, 0.048480626195669174, 0.803931474685669, -0.8184079527854919, 1.1633268594741821, -0.5042207837104797, -0.46033117175102234, -0.1916772425174713, -0.6344602108001709, 0.46367040276527405, -0.18841980397701263, 0.24694809317588806, -0.11962492018938065, -0.20029859244823456, 0.6715286374092102, -0.591754674911499, 0.9078851342201233, -0.1279192864894867, -0.49609386920928955, 0.03392611816525459, 0.07415850460529327, 0.5394200086593628, 0.20956924557685852, -0.17623664438724518, 0.38936084508895874, 0.19429613649845123, -0.42031028866767883, -0.7179235219955444, 0.5185419321060181, -0.4432638883590698, -0.779827356338501, -0.34065765142440796, -0.14024822413921356, -0.0014917564112693071, 0.18096914887428284, 0.3610149323940277, 0.12075749039649963, -0.06979075819253922, 0.4857182204723358, 0.4384746849536896, -0.5022224187850952, 0.0958964079618454, 0.5037674903869629, -0.24201932549476624, -0.1777307391166687, 1.0812791585922241, -0.10002420842647552, 0.06997669488191605, 0.6585205793380737, -0.057500239461660385, -0.017568716779351234, -0.09856240451335907, -0.5791791081428528, -0.0873592346906662, -0.7345490455627441, -0.433059960603714, -0.7150256633758545, -0.1228846088051796, -0.2594793736934662, -0.48248884081840515, -0.6814132928848267, -0.5312530994415283, -0.18280011415481567, -0.13416552543640137, 0.4042469561100006, 0.3233824372291565, 0.007606294006109238, -0.2362930029630661, -1.0926192998886108, 0.22878746688365936, 0.26119107007980347, 0.7391059398651123, 0.2170880138874054, 0.1201903223991394, -0.4964559078216553, -0.18719424307346344, -0.13872306048870087, -0.3476060926914215, 0.3345772325992584, 0.002499337773770094, 0.3052784204483032, 0.6372767090797424, 0.2645488679409027, 0.885747492313385, -0.4336189031600952, 0.9023882150650024, 0.19536906480789185, -1.0284786224365234, 0.39448282122612, -0.08965270221233368, 0.06446647644042969, 0.4651738703250885, 0.07870916277170181, -0.7996149659156799, -1.0312994718551636, -0.6501067876815796, -1.6040654182434082, 0.8264870047569275, 0.1305023431777954, -0.17706264555454254, 0.3010111451148987, -0.21534954011440277, 0.3852318823337555, -0.17644263803958893, -0.4563685953617096, -0.047854743897914886, -0.21620602905750275, -0.25709840655326843, 0.19912846386432648, 0.11334235966205597, 0.06322062760591507, -0.3466445505619049, 0.8392051458358765, 0.18039700388908386, -0.24229060113430023, 0.08943787217140198, 0.09526865184307098, -0.13964316248893738, 0.11031500995159149, 0.11576300114393234, 0.42073991894721985, -0.2862759828567505, 0.27925899624824524, 0.47929608821868896, -0.4369370937347412, -0.08365830779075623, -0.2759796380996704, 0.04771441966295242, 0.26530054211616516, 0.3814438283443451, 0.9684013724327087, 0.006957485806196928, -0.9135358333587646, 0.058996669948101044, -0.16730724275112152, 0.06045738607645035, -0.4136705994606018, 0.26571205258369446, 0.06871257722377777, 0.22801466286182404, 0.3391979932785034, -0.2116222232580185, 0.4381754398345947, -0.2637022137641907, 0.0844661146402359, 0.23370333015918732, 0.1435934454202652, -0.2584908604621887, 0.86646568775177, 0.32915711402893066, 0.06479943543672562, 0.32528582215309143, 0.1461745798587799, -0.3779526948928833, 0.8769704103469849, 0.47209271788597107, 1.1508300304412842, -0.0056381989270448685, -0.14022894203662872, 0.12189097702503204, 0.41121917963027954, -0.013042344711720943, 0.0077229770831763744, -0.1488541066646576, -0.4247274696826935, -0.4181789755821228, -0.7363336086273193, -0.49823033809661865, 0.10258527845144272, -0.6648107767105103, 0.5842286348342896, -0.40881019830703735, 0.37058350443840027, -0.08329205960035324, -0.26856938004493713, -0.5914602875709534, 0.39998573064804077, 0.00025307247415184975, 1.1541451215744019, -0.9229124188423157, 0.6771894097328186, 0.6399872899055481, -0.15180246531963348, -0.6620672345161438, 0.1049279123544693, -0.09451893717050552, -0.48158708214759827, 0.7090280652046204, 0.1625303477048874, 0.0004759120929520577, -0.2714633643627167, -0.14060115814208984, -0.9503461718559265, 1.2520853281021118, 0.3433486223220825, -0.5602006912231445, 0.035273920744657516, 0.26503443717956543, 0.6027822494506836, 0.014588612131774426, -0.03426538035273552, 0.6125469207763672, 0.5784549117088318, -0.12476304918527603, -1.1089385747909546, 0.08740425854921341, -0.272034615278244, 0.1841847449541092, 0.43434596061706543, -0.8758420944213867, 0.6476531028747559, 0.7661963701248169, -0.25977393984794617, -0.1916581690311432, 0.8037717342376709, 0.3471684753894806, 0.8814278841018677, 0.5810815691947937, 0.946898341178894, 0.780487060546875, 0.3198948800563812, 0.8636602163314819, -0.6955894827842712, 0.15296214818954468, 0.7407506704330444, -0.7555734515190125, 0.7878896594047546, 0.44469839334487915, -0.04913793131709099, 0.771516740322113, 0.4904235005378723, 0.4050826132297516, 0.35421037673950195, -0.14470434188842773, -0.5619794726371765, -0.1642989069223404, -0.1798013597726822, -0.44076573848724365, 0.32540199160575867, 0.634640097618103, -0.24377280473709106, -0.5176016092300415, -0.18356436491012573, 0.04248950630426407, -0.3109542429447174, -0.06962817907333374, 0.9028469324111938, 0.1486329734325409, -0.42024365067481995, 0.5831230282783508, 0.4943639636039734, 0.6070473194122314, -0.6941745281219482, 0.1390354484319687, -0.07753509283065796, 0.10300735384225845, -0.36322447657585144, -0.6572710871696472, 0.6788467168807983, 0.2023010402917862, 0.11561678349971771, -0.3311229944229126, 0.5286533236503601, -0.18909099698066711, -0.32992392778396606, 0.5907379388809204, -0.02784949727356434, 0.1696317344903946, 0.3779047429561615, -0.4428965449333191, 0.15635403990745544, -0.08184576034545898, -0.2096068263053894, 0.4051400423049927, 1.2440177202224731, -0.20937451720237732, 0.34973108768463135, 0.6367767453193665, -0.023091420531272888, 0.08213196694850922, -0.24639469385147095, 0.9733284115791321, -0.80052649974823, -0.6625850796699524, -0.6893978714942932, 0.6721871495246887, -0.156659796833992, -0.3394245207309723, 0.8348330855369568, 1.0458158254623413, 1.2072404623031616, 0.011998468078672886, 0.7706639766693115, -0.052321113646030426, 0.12991715967655182, -0.9698179364204407, 0.21521584689617157, -0.8869256377220154, 0.6142613291740417, -0.4812653064727783, -1.074023962020874, -0.533348798751831, 0.2645851969718933, 0.07814980298280716, -0.3657732605934143, 0.795270562171936, 0.7236674427986145, -0.3272184729576111, -0.08747085928916931, 0.3246656060218811, 0.1689923256635666, 0.40155959129333496, 0.5607154965400696, 0.35437026619911194, -0.17368966341018677, 0.478490948677063, -0.11849620193243027, -0.006527888588607311, -0.4105609655380249, -0.9321010112762451, -0.30513468384742737, -0.5069273114204407, -0.177983358502388, -0.2983495593070984, -0.13287480175495148, 0.843078076839447, 0.2979939579963684, -0.77481609582901, -0.3935767412185669, -0.36125555634498596, 0.11904735863208771, -0.3252273201942444, -0.2975173592567444, 0.39771488308906555, -0.5869670510292053, -0.6481541991233826, 0.350765198469162, 0.7426176071166992, -0.37645918130874634, -0.21762046217918396, -0.23833666741847992, 0.09650964289903641, 0.10314581543207169, 0.6151660084724426, 0.3588850796222687, -0.6812636256217957, -0.21539105474948883, -0.21183857321739197, -0.2982213497161865, 0.006799426861107349, 0.7548010945320129, -0.617802619934082, 0.2820006310939789, 0.8749837875366211, 0.9033330678939819, 0.3955107033252716, -0.22300080955028534, 0.6511185765266418, -1.0052218437194824, 0.6016511917114258, 0.2580798268318176, 0.4080343544483185, 0.24951551854610443, -0.6031904220581055, 0.5283434391021729, 0.36211106181144714, -0.1875600963830948, -0.9015787243843079, 0.17914001643657684, -0.6776829361915588, -0.5701049566268921, 0.9076125025749207, -0.12725819647312164, -0.4729911684989929, -0.5187946557998657, -0.2505832314491272, 0.21323908865451813, -0.16957218945026398, 0.7936508655548096, 0.7643570303916931, 0.01028483547270298, 0.1015554666519165, -0.08740290999412537, 0.37524867057800293, 0.9595116972923279, -0.6947843432426453, 0.46675562858581543, 0.3662935197353363, -0.04682695493102074, 0.22740361094474792, 0.44585689902305603, -0.08848170936107635, 0.3234352469444275, 0.22145962715148926, 0.07989389449357986, 0.45334377884864807, -0.5044965147972107, -0.1326024979352951, -0.07549704611301422, 0.27566540241241455, -0.12916862964630127 ]
http://arxiv.org/abs/2405.13546v2
http://arxiv.org/pdf/2405.13546v2
Knowledge-Driven Cross-Document Relation Extraction
2024-05-22T11:30:59
2024-06-18T08:20:19
Monika Jain, Raghava Mutharaju, Kuldeep Singh, Ramakanth Kavuluru
cs.CL
cs.CL, cs.IR
Relation extraction (RE) is a well-known NLP application often treated as a sentence- or document-level task. However, a handful of recent efforts explore it across documents or in the cross-document setting (CrossDocRE). This is distinct from the single document case because different documents often focus on disparate themes, while text within a document tends to have a single goal. Linking findings from disparate documents to identify new relationships is at the core of the popular literature-based knowledge discovery paradigm in biomedicine and other domains. Current CrossDocRE efforts do not consider domain knowledge, which are often assumed to be known to the reader when documents are authored. Here, we propose a novel approach, KXDocRE, that embed domain knowledge of entities with input text for cross-document RE. Our proposed framework has three main benefits over baselines: 1) it incorporates domain knowledge of entities along with documents' text; 2) it offers interpretability by producing explanatory text for predicted relations between entities 3) it improves performance over the prior methods.
[ -0.27161386609077454, -0.3341098129749298, 1.0310447216033936, -0.013602079823613167, -0.1261102259159088, 0.23674973845481873, 0.013556735590100288, -0.8172414302825928, 0.36453989148139954, 0.48159027099609375, -0.5538859963417053, -0.650968611240387, -0.7419193983078003, 0.07908398658037186, -0.38534727692604065, 1.1348545551300049, -0.17422957718372345, -0.11954078823328018, -0.7874807119369507, -0.19783788919448853, -0.06371934711933136, -0.15984104573726654, -0.5344207882881165, -0.6595795154571533, 0.7585338950157166, 0.2749081254005432, 0.5541636943817139, 0.6500964760780334, 0.3176532983779907, 0.091971255838871, 0.1891891360282898, 0.15866893529891968, -0.14975422620773315, 0.45028379559516907, -0.7853665947914124, -0.5490925908088684, -0.2942136228084564, 0.04346589371562004, 0.253287136554718, 0.92890465259552, 0.21376857161521912, -0.08262042701244354, 0.010409770533442497, 0.38562047481536865, -0.7421553134918213, 0.337876558303833, -0.6162370443344116, 0.10119542479515076, -0.13407091796398163, -0.2299254834651947, -0.16300253570079803, -0.02459513023495674, 0.4206870496273041, -0.9697214365005493, 0.4940825402736664, -0.02314305678009987, 1.0069608688354492, 0.046521592885255814, -0.44079306721687317, -0.7604644894599915, -0.5754431486129761, 0.6326687932014465, -0.3324226140975952, 0.8858744502067566, 0.3341746926307678, 0.09888201206922531, 0.005648527294397354, -1.0925971269607544, -0.5022899508476257, 0.06610502302646637, -0.3988259732723236, 0.26194465160369873, -0.04652005061507225, -0.46256256103515625, 0.1366048902273178, 0.4949961304664612, -0.24439001083374023, -0.20067723095417023, -0.19145497679710388, -0.05739399045705795, 0.4788983166217804, 0.12186311930418015, 0.46686384081840515, -0.2147558629512787, -0.2860991656780243, 0.040099818259477615, -0.679572343826294, -0.03958026319742203, -0.19431595504283905, 0.13751937448978424, 0.05033031478524208, 0.44457608461380005, -0.031120900064706802, 0.16595175862312317, 0.2173549085855484, -0.1679294854402542, 0.2589777708053589, -0.5275877714157104, -0.0636637732386589, -0.022171031683683395, 0.8878753185272217, 0.2510851323604584, 0.10461951792240143, -0.6369229555130005, 0.12245851010084152, -0.11786532402038574, 0.3251349925994873, -0.5946372747421265, -0.2093091607093811, 0.25387972593307495, -0.6296798586845398, -0.3397201895713806, -0.19826793670654297, -0.9402135610580444, -0.3671857714653015, -0.29742589592933655, -0.05038951709866524, -0.7334298491477966, -0.2432214915752411, -0.3915298283100128, -0.46843618154525757, 0.2481796145439148, 0.37496960163116455, -0.9004954099655151, 0.42245230078697205, 0.7724014520645142, 0.7215598821640015, -0.26871660351753235, -0.27758294343948364, -0.6224345564842224, 0.5590959787368774, 0.04646625369787216, 0.7185344099998474, -0.7564674615859985, -0.7646564841270447, 0.05726722627878189, 0.1722000390291214, 0.056500304490327835, -0.25872185826301575, 0.7502421140670776, -0.5443652868270874, 0.3294629156589508, -0.28155454993247986, -0.5813080072402954, 0.1584736853837967, 0.1333499252796173, -0.7566565871238708, 0.9263967275619507, 0.4479960501194, -0.870924174785614, 0.621863603591919, -0.23614467680454254, -0.6086056232452393, -0.024145759642124176, -0.5982473492622375, -0.4793106019496918, -0.01888541877269745, 0.5690381526947021, 0.5001750588417053, -0.62830650806427, 0.09156908094882965, -0.42835718393325806, 0.2620161175727844, -0.08835802227258682, 0.43153539299964905, 0.8594939112663269, 0.14392052590847015, -0.07365123927593231, -0.34189173579216003, -0.9060078859329224, -0.06426558643579483, 0.05071854591369629, -0.2184733748435974, -1.1592167615890503, -0.21076582372188568, -0.07308201491832733, 0.4934873878955841, 0.02524973452091217, -0.9078763723373413, 0.17295268177986145, -0.4015648663043976, 0.2185484766960144, 0.09150380641222, 0.3264535367488861, 0.798143744468689, -0.15696439146995544, 0.5988974571228027, -0.01264598872512579, -0.08996567130088806, -0.3214736580848694, -0.492472380399704, -0.2855243980884552, -0.15215617418289185, 0.45633867383003235, 0.3804519474506378, -1.0666632652282715, 0.13752979040145874, -0.32017698884010315, -0.6091684103012085, -0.3785492479801178, 0.2514025866985321, 0.48142310976982117, 0.9909986853599548, 0.5275465250015259, -0.0729951560497284, -0.4311743378639221, -0.8065338134765625, -0.38810011744499207, -0.004133771639317274, -0.15697607398033142, 0.4925795793533325, 0.5456801056861877, -0.29002219438552856, 1.0524861812591553, -0.8460683226585388, -0.5525527596473694, -0.19592179358005524, 0.2333909422159195, 0.03403036668896675, 0.35611236095428467, 0.5865574479103088, -0.9230895638465881, -0.8615276217460632, 0.43901538848876953, -0.9857607483863831, -0.3418537676334381, -0.13270412385463715, -0.2662324607372284, -0.1920616179704666, 0.7593767642974854, -0.6224587559700012, 0.3704175353050232, 0.1937830150127411, -0.042688481509685516, 0.27783137559890747, -0.06401853263378143, -0.05315294489264488, -1.3380101919174194, 0.25989919900894165, 0.13666433095932007, -0.31136661767959595, -0.38554027676582336, -0.05445872247219086, 0.5093856453895569, -0.2346731722354889, -0.22337345778942108, 0.6126810312271118, -0.7466687560081482, -0.04155436158180237, -0.011262400075793266, 0.4467798173427582, 0.3800094723701477, 0.37185633182525635, 0.5572823882102966, 0.2474481165409088, 0.46211355924606323, -0.36164307594299316, 0.10087477415800095, 0.6866238713264465, 0.0955323725938797, 0.9094308614730835, -0.5613624453544617, -0.09178980439901352, 0.08925468474626541, 0.22407343983650208, -0.5522988438606262, 0.2087930142879486, 0.4073409140110016, -0.8058404326438904, 0.3806575834751129, -0.1736580729484558, -0.09871116280555725, 0.10084876418113708, -0.3162098526954651, 0.35117751359939575, 0.047926850616931915, -0.5606504082679749, 0.9553179144859314, 0.5202635526657104, -0.4233720302581787, -0.6529117822647095, -0.4481286406517029, 0.06762394309043884, 0.10064160078763962, -0.6182253360748291, 0.9088816046714783, 0.5298337936401367, -0.10237222909927368, 0.5020325779914856, -0.21743687987327576, -0.37011775374412537, -0.21528130769729614, 0.5519155859947205, 0.054997850209474564, -0.08646927773952484, 0.3350507616996765, 0.39182066917419434, -0.2029954195022583, 0.3206626772880554, -0.23268792033195496, 0.18080495297908783, 0.6456234455108643, -0.052145522087812424, -0.1071714460849762, 1.0247235298156738, 0.7058296203613281, -0.4316611588001251, 0.47867581248283386, 0.5696666836738586, -0.6114843487739563, -0.31725043058395386, -0.12224531918764114, 0.09755688160657883, -0.2884783148765564, 0.2849975824356079, -0.677977442741394, -0.5719443559646606, 0.5489158034324646, -0.39003902673721313, 0.11070431023836136, 0.6695272326469421, 0.37571898102760315, -0.15836095809936523, 0.4370631277561188, 0.9588400721549988, -0.09958028793334961, 0.26921120285987854, -0.21154215931892395, 0.20544883608818054, -1.1893748044967651, -0.5892838835716248, -0.7951244115829468, 0.04798717424273491, -0.3075682520866394, -0.37009888887405396, 0.12440969794988632, -0.07668313384056091, 0.32331934571266174, 0.5901756882667542, -0.07017647475004196, -0.013691544532775879, 0.47398585081100464, 0.05931507796049118, 0.5465574860572815, -0.1284521073102951, -0.42517444491386414, -0.14970232546329498, -0.7388638257980347, -0.14882344007492065, 1.3290345668792725, 0.21938695013523102, 0.7965888381004333, -0.20591433346271515, 1.171188473701477, 0.18968133628368378, 0.5895318388938904, -0.7568074464797974, 0.0068732211366295815, -0.06094428896903992, -0.40230804681777954, -0.18941214680671692, -0.38301241397857666, -1.3739843368530273, 0.03896211087703705, -0.46867889165878296, -0.6452338695526123, 0.7004314064979553, -0.16510425508022308, -0.3278322219848633, -0.0039291116409003735, -0.4206666946411133, 0.6276198029518127, -0.08268160372972488, -0.6142637133598328, 0.08568520098924637, -0.6951688528060913, 0.2689412236213684, -0.27886781096458435, 0.05373195931315422, 0.3259080946445465, -0.2797089219093323, 0.6199278235435486, -0.591478705406189, 0.4445386826992035, 0.12867853045463562, -0.3075230121612549, 0.005135690327733755, -0.03294133394956589, 0.43694251775741577, 0.4685928523540497, 0.061854518949985504, 0.11127717792987823, 0.21251215040683746, -0.08978702872991562, -0.9364822506904602, 0.9263509511947632, -0.538727879524231, -0.37371641397476196, -0.46039965748786926, -0.6823232173919678, -0.5974159240722656, 0.42820367217063904, 0.04116812348365784, 0.32493647933006287, -0.2395419180393219, 0.262381374835968, 0.6113812923431396, -0.2689296007156372, 0.17265458405017853, 0.637078583240509, -0.18720290064811707, -0.5610846281051636, 0.6111409664154053, -0.0023955528158694506, 0.2061571627855301, 0.8012314438819885, -0.029146993532776833, -0.46109992265701294, -0.12195264548063278, -0.2120969146490097, 0.35147058963775635, -0.6493423581123352, -0.20479343831539154, -1.1522585153579712, -0.04497329890727997, -0.7967113852500916, -0.19638270139694214, -0.29081282019615173, -0.3365951478481293, -0.11590313166379929, 0.10434161126613617, -0.07237640023231506, 0.31734010577201843, -0.0634971559047699, -0.00939006544649601, -1.1733648777008057, 0.5542367100715637, 0.13249868154525757, 0.13503804802894592, -0.0961776003241539, 0.05404975637793541, -0.39500343799591064, -0.21213340759277344, -0.1235051080584526, -1.0876861810684204, 0.3743613362312317, 0.16186518967151642, 0.8506481647491455, 0.16170711815357208, -0.04226790368556976, 0.3936505615711212, -0.4028199315071106, 0.37357795238494873, 0.12255828082561493, -0.7919083833694458, 0.7826915979385376, -0.27955925464630127, 0.17309421300888062, 0.6428242921829224, 0.8904454708099365, -0.6252906918525696, -0.35309073328971863, -1.0435397624969482, -0.7701915502548218, 0.5593110918998718, 0.45196959376335144, -0.2079361230134964, 0.05353258550167084, 0.4542264938354492, 0.29630181193351746, 0.16879062354564667, -0.39966073632240295, -0.16694413125514984, 0.06552532315254211, -0.2188754677772522, 0.12937110662460327, -0.018814612179994583, -0.1450372040271759, -0.032266050577163696, 0.6655731201171875, -0.07484019547700882, 0.12780237197875977, 0.6693565249443054, -0.36429035663604736, -0.02717866562306881, -0.08342427015304565, 0.2200538069009781, 0.7642922401428223, -0.23396949470043182, 0.1861506551504135, -0.26747310161590576, -0.5915883779525757, -0.1222837045788765, 0.2787976861000061, -0.18238720297813416, 0.3657168447971344, 0.6731578707695007, 0.04266276955604553, 0.1720903217792511, -0.3497190773487091, 0.4701688289642334, -0.19279198348522186, -0.41975080966949463, 0.013867322355508804, -0.12838557362556458, 0.276233971118927, 0.337655246257782, 0.2169332504272461, -0.05283494293689728, 0.1348569691181183, -0.7507418990135193, 0.6391968131065369, 0.3435017168521881, -0.4953781068325043, -0.022973384708166122, 0.7565467357635498, 0.4687376022338867, -0.219184011220932, 0.35543760657310486, 0.06990686804056168, -0.44472500681877136, 0.5281327962875366, 0.4411380887031555, 0.7537662982940674, -0.056356996297836304, 0.2124241143465042, 0.3747578561306, 0.03933223336935043, 0.2705878019332886, -0.023282866925001144, -0.47214797139167786, -0.8065142631530762, -0.2465367466211319, -0.4349709153175354, -0.38730430603027344, 0.05702389031648636, -0.8295289874076843, 0.37422502040863037, -0.29040974378585815, 0.08893505483865738, 0.47580230236053467, 0.20473237335681915, -0.6211279630661011, 0.4917216897010803, -0.1372084766626358, 1.0024586915969849, -0.9417831897735596, 1.2037572860717773, 0.6163799166679382, -0.7933369874954224, -0.5776329636573792, 0.1436539739370346, -0.2247733473777771, -0.7447899580001831, 0.842132031917572, -0.395785927772522, 0.07942666858434677, -0.1333158165216446, -0.06085832789540291, -0.8096523284912109, 1.3323334455490112, 0.13834795355796814, -0.5297400951385498, -0.18528959155082703, 0.18220990896224976, 0.5367885231971741, -0.7132000923156738, 0.017954882234334946, 0.44025030732154846, 0.15970364212989807, 0.00468870997428894, -0.6672120690345764, 0.40752556920051575, -0.5275645852088928, -0.21742676198482513, 0.506144106388092, -0.23402659595012665, 0.7178523540496826, 0.06022326648235321, -0.13284191489219666, -0.122318796813488, 0.6964631080627441, 0.03582591190934181, 0.7523669600486755, 0.4666472375392914, 0.8022271394729614, 0.7156652212142944, 0.1045096144080162, 1.146907091140747, -0.3220948576927185, 0.24036426842212677, 1.6565160751342773, -0.507344663143158, 0.4900699555873871, 0.8584176301956177, -0.1136731505393982, 0.5923787355422974, 0.44023779034614563, 0.012235053814947605, 0.6595577597618103, -0.17448660731315613, -0.10452063381671906, -0.2207578718662262, -0.17308387160301208, -0.5682026147842407, 0.2716602385044098, 0.4238155484199524, -1.2188727855682373, -0.47425997257232666, -0.22245079278945923, 0.1847115457057953, 0.07160456478595734, -0.1358613818883896, 0.7042421698570251, 0.3079277575016022, -0.7696725726127625, 0.048146799206733704, -0.1395891159772873, 0.16685906052589417, -0.5437301397323608, -0.373998761177063, -0.18407711386680603, 0.1041913777589798, -0.3197377622127533, -0.866973340511322, 0.4834691882133484, -0.26575419306755066, -0.675741970539093, -0.13027459383010864, 1.127158284187317, -0.5224058032035828, -0.3445839583873749, 0.4654439091682434, 1.0607191324234009, -0.1295395791530609, -0.2657889723777771, -0.5966600775718689, -0.3097513020038605, 0.017927022650837898, 0.09620364010334015, 0.40331390500068665, 0.8484013676643372, -0.32605862617492676, 0.5092982053756714, 0.8210152387619019, 0.11559491604566574, -0.3655841648578644, -0.03538069874048233, 1.1053236722946167, -0.5205278992652893, -0.43724969029426575, -0.6076249480247498, 0.2865205407142639, -0.5854587554931641, -0.4100020229816437, 0.6880818605422974, 0.6043592095375061, 0.696929395198822, -0.056020963937044144, 1.1399487257003784, -0.3837950527667999, 0.6287459135055542, -0.275526225566864, 0.6713671088218689, -0.6234733462333679, 0.13193534314632416, -0.5667520761489868, -0.7369294166564941, -0.2253846973180771, 0.2688465416431427, -0.31599804759025574, -0.2859037518501282, 1.1449778079986572, 0.5591214299201965, -0.16309191286563873, -0.0032331240363419056, 0.18019220232963562, -0.17018401622772217, 0.3903675675392151, 0.8343201279640198, 0.5849052667617798, -0.515808641910553, 0.7368055582046509, -0.49395352602005005, -0.20479626953601837, 0.2525325417518616, -0.8651874661445618, -0.8579099774360657, -0.7036994695663452, -0.47217848896980286, -0.26049137115478516, 0.03658498823642731, 0.46066397428512573, 0.5399991869926453, -0.384890615940094, 0.2616669237613678, -0.034962691366672516, 0.3531433045864105, -0.24671393632888794, -0.21886830031871796, 0.4478173553943634, -0.2783282995223999, -0.7678489089012146, 0.12642715871334076, 0.32187044620513916, -0.40597182512283325, -0.1009921208024025, -0.034906499087810516, -0.5772980451583862, -0.2038872092962265, 0.49825501441955566, 0.3599007725715637, -0.20523469150066376, 0.007144317962229252, -0.004465254954993725, -0.18453927338123322, 0.06651964783668518, 1.1340181827545166, -1.0035486221313477, 0.2737109363079071, 0.5868770480155945, 0.9188967943191528, 0.6457933187484741, -0.08744160830974579, 1.0148547887802124, -0.7950491905212402, -0.2952492833137512, 0.20752805471420288, 0.4441853165626526, 0.1950167566537857, -0.675826907157898, 0.8088052868843079, 0.49844011664390564, -0.34486353397369385, -0.41228070855140686, 0.17623642086982727, -0.9916831851005554, -0.338679701089859, 0.9661622643470764, -0.5957304239273071, -0.34705498814582825, -0.41493329405784607, -0.2527385354042053, 0.32121679186820984, -0.4636869728565216, 0.6909902095794678, 0.46252015233039856, -0.2961137592792511, -0.32109156250953674, -0.29436036944389343, 0.501763641834259, 0.2685500979423523, -1.0496797561645508, -0.1444852501153946, 0.2308807671070099, 0.3653533160686493, 0.6812711358070374, 0.5225328803062439, -0.3893994092941284, 0.31514808535575867, 0.15749195218086243, 0.04778522625565529, -0.052792809903621674, -0.15246546268463135, 0.3479280173778534, 0.40943339467048645, -0.48009148240089417, -0.061938341706991196 ]
http://arxiv.org/abs/2405.13541v1
http://arxiv.org/pdf/2405.13541v1
Annotation-Efficient Preference Optimization for Language Model Alignment
2024-05-22T11:23:03
2024-05-22T11:23:03
Yuu Jinnai, Ukyo Honda
cs.CL
cs.CL, cs.AI, cs.LG
Preference optimization is a standard approach to fine-tuning large language models to align with human preferences. The quality, diversity, and quantity of the preference dataset are critical to the effectiveness of preference optimization. However, obtaining a large amount of high-quality and diverse preference annotations is difficult in many applications. This raises the question of how to use the limited annotation budget to create an effective preference dataset. To this end, we propose Annotation-Efficient Preference Optimization (AEPO). Instead of exhaustively annotating preference over all available response texts, AEPO selects a subset of responses that maximizes quality and diversity from the available responses, and then annotates preference over the selected ones. In this way, AEPO focuses the annotation budget on labeling preference over a smaller subset of responses with diversity and of high quality. We evaluate the performance of Direct Preference Optimization (DPO) using AEPO and show that it outperforms models trained using a standard DPO with the same annotation budget. Our code is available at https://github.com/CyberAgentAILab/annotation-efficient-po
[ -0.7270790934562683, -0.38072770833969116, 0.27595531940460205, 0.17287179827690125, -0.3818376958370209, -0.07863346487283707, -0.40212392807006836, -0.6029214859008789, 0.2381940633058548, 0.5259538888931274, -0.3414905369281769, -0.2963178753852844, -0.43627652525901794, 0.29745590686798096, 0.06581877171993256, 0.8532740473747253, 0.004288428463041782, -0.20225252211093903, -0.4319995939731598, -0.21132226288318634, -0.2762046158313751, -0.5176072120666504, -0.7156358361244202, -0.3449064791202545, 0.30453231930732727, 0.5925683975219727, 0.7032696604728699, 1.1370322704315186, 0.6351807117462158, 0.2555522322654724, -0.11409462243318558, 0.460945188999176, -0.37981119751930237, 0.13644304871559143, 0.02898379974067211, -0.1153489425778389, -0.4888845980167389, -0.1493719220161438, 0.47179922461509705, 0.6634791493415833, 0.15101468563079834, 0.22646084427833557, 0.11017506569623947, 0.7114784717559814, -0.8467283844947815, 0.053740765899419785, -0.6856125593185425, -0.10497237741947174, -0.12708352506160736, -0.15664921700954437, -0.3013763725757599, -0.5702580809593201, 0.4066934883594513, -0.9931967854499817, -0.25025618076324463, 0.38950419425964355, 0.9228739738464355, 0.40019625425338745, -0.20109470188617706, -0.19773772358894348, -0.7208271622657776, 0.9447996616363525, -0.4044662117958069, 0.3808199167251587, 0.6648499965667725, 0.005934009328484535, 0.06497060507535934, -0.24052032828330994, -0.5117114782333374, -0.136675164103508, 0.002958616940304637, 0.07247628271579742, -0.021139424294233322, 0.28736263513565063, 0.12529033422470093, 0.37538793683052063, -0.3839249908924103, 0.3826821744441986, 0.05298245698213577, -0.320110946893692, 0.7471300363540649, -0.060492776334285736, 0.16833679378032684, 0.025713909417390823, -0.3920486271381378, -0.03638027608394623, -0.2760617434978485, 0.08612596988677979, 0.6436349153518677, 0.4780164361000061, 0.24708618223667145, 0.5033083558082581, -0.4791117012500763, 0.8995991945266724, 0.16299477219581604, -0.25303950905799866, 0.5062766075134277, -0.19848407804965973, -0.07181063294410706, 0.19924266636371613, 0.7059743404388428, 0.5088934302330017, 0.4680991470813751, -0.08442690968513489, -0.2755521535873413, 0.10672406852245331, 0.22988800704479218, -0.7482845783233643, -0.09364686906337738, 0.30246731638908386, -0.28830331563949585, -0.5090157389640808, -0.33119240403175354, -0.9465766549110413, -0.23563839495182037, -0.49813634157180786, 0.24411927163600922, -0.2153281271457672, -0.21425558626651764, 0.23799870908260345, -0.019068222492933273, -0.09286434948444366, 0.4257164001464844, -1.3494518995285034, 0.28056883811950684, 0.6644606590270996, 0.7799864411354065, -0.18882162868976593, -0.12982980906963348, -0.5026829838752747, 0.037588443607091904, -0.12744836509227753, 0.909776508808136, -0.8132926821708679, -0.44284868240356445, 0.05645539239048958, -0.5295459628105164, 0.08721457421779633, -0.5270996689796448, 0.9260784387588501, -0.4174343943595886, 0.07903969287872314, -0.4000779390335083, -0.6671755313873291, -0.02456755004823208, 0.17648543417453766, -0.6445574760437012, 1.0581308603286743, 0.02599669247865677, -0.8700553178787231, 0.5337255001068115, -0.7734413743019104, -0.2766663134098053, 0.0662010982632637, -0.07994627207517624, -0.44964516162872314, -0.05142517387866974, 0.3284059166908264, 0.21188998222351074, -0.25932154059410095, 0.1706218719482422, -0.6237427592277527, -0.2475505769252777, 0.1628996580839157, 0.048899002373218536, 0.580281674861908, 0.3858300745487213, -0.23157000541687012, 0.2818883955478668, -0.8115062117576599, -0.14650709927082062, 0.18940448760986328, -0.3590005934238434, -0.7535386085510254, 0.04865351691842079, 0.04432089999318123, 0.01066521555185318, 0.4397546648979187, -0.6545049548149109, 0.5004404187202454, -0.5680062174797058, 0.2750830352306366, 1.0050615072250366, -0.2827957570552826, 0.7722575664520264, -0.08448678255081177, 0.38829153776168823, -0.34620973467826843, 0.39346805214881897, 0.15043509006500244, -0.47961199283599854, -0.6574752330780029, -0.521831750869751, 0.3993523418903351, 0.4619724750518799, -0.29859331250190735, 0.7421708106994629, -0.18488135933876038, -0.24922603368759155, -0.7367912530899048, 0.11203289777040482, 0.3015623688697815, 0.7982651591300964, 0.34469369053840637, -0.21929679811000824, -0.47352197766304016, -1.3196425437927246, -0.1849054992198944, -0.24190708994865417, 0.24643607437610626, 0.40455004572868347, 0.24043408036231995, -0.028021860867738724, 1.1762033700942993, -0.7743092775344849, -0.11479219794273376, -0.09449198096990585, -0.12478801608085632, -0.11896487325429916, 0.40026023983955383, 0.7096490859985352, -0.8176317811012268, -0.40976759791374207, 0.06821884214878082, -0.08085814118385315, -0.5312744975090027, 0.10492594540119171, -0.4687333106994629, 0.1400594264268875, -0.1614917367696762, -0.2527775168418884, 0.007831454277038574, 0.6326398253440857, -0.06901010125875473, 0.30448606610298157, 0.06281581521034241, 0.1926845759153366, -1.122942328453064, 0.28448644280433655, 0.023505685850977898, -0.23576857149600983, -0.5711055397987366, -0.2787645757198334, 0.06278154253959656, -0.10109817981719971, -0.2114035040140152, 0.7285217642784119, -0.2485698163509369, 0.08074650168418884, -0.38319841027259827, 0.16120865941047668, 0.182077556848526, 0.5101043581962585, 0.2622874081134796, 0.7153010368347168, 0.3928435742855072, -0.44022831320762634, 0.13587625324726105, 0.37306442856788635, 0.013012001290917397, 0.23218747973442078, -0.4912804663181305, 0.36344537138938904, -0.17548388242721558, -0.04460630938410759, -1.0128464698791504, -0.291334867477417, 0.41943883895874023, -0.14954009652137756, 0.3936872184276581, -0.30966320633888245, -0.3298434317111969, -0.08839218318462372, -0.4628373384475708, 0.4107840955257416, 0.35418978333473206, -0.7399137020111084, 0.33492010831832886, 0.7085631489753723, -0.15956303477287292, -0.8849393725395203, -0.3346870243549347, -0.37704694271087646, -0.3788950443267822, -0.2916429936885834, 0.491609662771225, -0.11353719234466553, -0.21359772980213165, -0.13506007194519043, -0.13330873847007751, -0.07479304820299149, 0.23065035045146942, 0.1052517369389534, 0.29772043228149414, 0.16566155850887299, 0.19035562872886658, 0.13865192234516144, -0.3093508780002594, -0.2674129903316498, -0.351011723279953, 0.7249941229820251, -0.12679210305213928, -0.20668324828147888, -0.289741575717926, 0.45222437381744385, 0.3553096354007721, -0.5546815395355225, 0.4098106324672699, 0.30604273080825806, -0.40420255064964294, -0.07971969991922379, -0.6144976615905762, -0.007963473908603191, -0.4653277099132538, 0.38719800114631653, -0.38539057970046997, -0.9345315098762512, 0.4141542315483093, -0.011123034171760082, 0.38858214020729065, 0.49669596552848816, 0.25011661648750305, 0.14797762036323547, 1.1808103322982788, 0.3906295597553253, -0.3271600306034088, 0.7867028713226318, 0.09918145835399628, -0.01423659361898899, -0.752875804901123, 0.00922095961868763, -0.8506620526313782, -0.35167181491851807, -0.5820062160491943, -0.0009600680787116289, 0.025560980662703514, 0.2648579776287079, -0.3357315957546234, 0.19730326533317566, -0.9358400702476501, 0.41399455070495605, 0.7961961030960083, -0.03884139284491539, 0.2928276062011719, 0.16694758832454681, 0.08900457620620728, -0.19603131711483002, -0.48350289463996887, -0.7495704889297485, 1.1972235441207886, 0.40720757842063904, 0.450639009475708, -0.12904345989227295, 1.041912317276001, -0.08480467647314072, 0.19691358506679535, -0.7802311182022095, 0.48012059926986694, -0.24734903872013092, -0.4659935534000397, -0.32542431354522705, -0.48199087381362915, -0.7382181882858276, 0.19678930938243866, -0.3727858364582062, -0.966046154499054, 0.3662450909614563, 0.576423168182373, -0.40936028957366943, 0.10418760776519775, -0.7856467962265015, 0.9666731357574463, -0.43127304315567017, -0.32414010167121887, -0.028634127229452133, -0.42921045422554016, 0.039159853011369705, -0.1658259630203247, -0.017724154517054558, -0.44495418667793274, -0.2219894677400589, 0.7705263495445251, -0.14437654614448547, 0.5720305442810059, -0.18179315328598022, 0.1387874186038971, 0.1141292005777359, -0.15747186541557312, 0.3928430676460266, 0.08931026607751846, -0.2805522084236145, 0.16287192702293396, -0.20021550357341766, -0.2506544291973114, -0.38353002071380615, 0.6529263854026794, -0.8808627724647522, -0.47856733202934265, -0.3777990937232971, -0.2870972454547882, -0.285134494304657, 0.33216577768325806, 0.23030032217502594, 0.35790225863456726, 0.03487857058644295, -0.051327213644981384, 0.5294080376625061, -0.2527352273464203, 0.33786824345588684, 0.10692311823368073, -0.3435485064983368, -0.7997855544090271, 0.75006502866745, 0.15247730910778046, 0.31230825185775757, 0.541867196559906, 0.5209225416183472, -0.47783535718917847, -0.6610919237136841, -0.5182130336761475, 0.047482412308454514, -0.5762656927108765, -0.2286500334739685, -0.6246864795684814, 0.2614353597164154, -0.3759160339832306, -0.23386737704277039, -0.68199622631073, -0.7191521525382996, -0.15643757581710815, -0.04279877245426178, 0.5030565857887268, 0.16670548915863037, 0.02738483063876629, 0.0791514664888382, -0.47147881984710693, 0.1770191639661789, 0.35155239701271057, 0.46062934398651123, -0.3018295168876648, -0.3624025881290436, -0.1517179012298584, 0.01875552348792553, -0.3446597754955292, -0.8779389262199402, 0.15560835599899292, 0.25196853280067444, 0.6079221963882446, 0.4289205074310303, 0.3801337778568268, 0.6528096795082092, -0.21562711894512177, 0.5091068148612976, 0.02847370319068432, -0.9769627451896667, 0.870824933052063, -0.29893729090690613, 0.29081809520721436, 1.0415513515472412, 0.42530685663223267, -0.2522943615913391, -0.1410500556230545, -0.4306768476963043, -1.157653570175171, 0.6445976495742798, 0.18190892040729523, 0.06101871654391289, -0.09180331975221634, 0.5706982612609863, 0.2766973376274109, 0.23765511810779572, -0.6109284162521362, -0.4203413724899292, -0.15976577997207642, -0.21785549819469452, 0.08346500247716904, -0.4009043872356415, -0.23032519221305847, -0.15583014488220215, 0.7845430970191956, -0.3045216202735901, 0.13856466114521027, 0.2399987429380417, 0.14642713963985443, -0.20402668416500092, 0.2600058615207672, 0.6911268830299377, 0.5104014873504639, -0.4438391327857971, -0.07261265814304352, 0.08291944861412048, -0.4262079894542694, -0.04914671555161476, 0.3204871416091919, -0.40367424488067627, -0.07721038907766342, 0.05945642292499542, 1.0004733800888062, -0.10233351588249207, -0.5403681397438049, 0.34990590810775757, -0.09189654141664505, -0.054474689066410065, -0.10863296687602997, 0.06247257813811302, 0.020263800397515297, -0.024947229772806168, 0.15724141895771027, 0.03752024099230766, 0.41614046692848206, -0.23312965035438538, -0.08490023016929626, 0.4219246804714203, -0.13071970641613007, -0.035549648106098175, 0.7134605050086975, 0.515097975730896, -0.3439792990684509, 0.5407997369766235, -0.06480386853218079, -0.5302833318710327, 0.4436185359954834, 0.4759112298488617, 1.0655776262283325, -0.15759406983852386, 0.018144147470593452, 0.5161002278327942, 0.16979168355464935, -0.07959384471178055, 0.09066855907440186, -0.17912070453166962, -0.9520776867866516, -0.3336455821990967, -0.8209424614906311, -0.6760041117668152, -0.00276573677547276, -0.7869496941566467, 0.3859420716762543, -0.524755597114563, -0.4301413893699646, 0.1564669907093048, 0.08699285238981247, -0.6781235337257385, 0.27571117877960205, 0.2781212627887726, 0.634916365146637, -0.7831425666809082, 0.7134078741073608, 1.0088063478469849, -0.4014906883239746, -0.6548420190811157, -0.0916750505566597, -0.13725446164608002, -0.8080683946609497, 0.5858286023139954, 0.3099144399166107, -0.1010979413986206, 0.05003361403942108, -0.057376474142074585, -0.8766829371452332, 0.7066083550453186, 0.683044970035553, -0.822812557220459, 0.3371967077255249, 0.16640618443489075, 0.4228738844394684, -0.5124370455741882, 0.3051166236400604, 0.4389428496360779, 0.4731520116329193, -0.19913114607334137, -1.1172140836715698, -0.06981401145458221, -0.29246920347213745, 0.039097126573324203, 0.43894654512405396, -0.7977828979492188, 0.24616912007331848, 0.09432365745306015, -0.008010541088879108, -0.30509114265441895, 0.4632556736469269, 0.2462819367647171, 0.22124122083187103, 0.8019106388092041, 0.6315319538116455, 0.7389361262321472, -0.17310501635074615, 0.9826375246047974, -0.4130288362503052, 0.4779115617275238, 1.0264301300048828, -0.28902363777160645, 0.9032514691352844, 0.700273871421814, -0.0959857925772667, -0.09927302598953247, 0.8531964421272278, 0.21154090762138367, 0.5987409353256226, 0.10188848525285721, -0.19835293292999268, -0.35274603962898254, -0.40666258335113525, -0.34014588594436646, 0.5824888348579407, -0.105328269302845, -0.30589574575424194, 0.2421044558286667, -0.23743289709091187, -0.005993051454424858, 0.14752960205078125, -0.1869416981935501, 0.972804844379425, -0.22502043843269348, -0.7633534669876099, 0.5497374534606934, -0.2432003915309906, 0.6002106070518494, -0.5149373412132263, 0.15429559350013733, -0.2483127862215042, 0.06474398076534271, -0.17400239408016205, -0.6413153409957886, 0.25261810421943665, -0.09631980210542679, -0.21190808713436127, -0.30096134543418884, 0.7175677418708801, -0.5080594420433044, -0.256539523601532, 0.25373193621635437, -0.05398589372634888, -0.14643330872058868, -0.05731676518917084, -0.6770154237747192, 0.2370571494102478, 0.11849501729011536, -0.5434681177139282, 0.3568909466266632, 0.028103390708565712, 0.03254153952002525, 0.5369489789009094, 0.5551775097846985, 0.2034931480884552, -0.3046795725822449, 0.12000047415494919, 0.745853066444397, -0.24213258922100067, -0.6209584474563599, -0.986707866191864, 0.5174618363380432, -0.5305011868476868, -0.7691479325294495, 0.46025046706199646, 0.7644109725952148, 1.040666937828064, 0.010691673494875431, 0.8777886033058167, 0.23959292471408844, 0.40807637572288513, -0.4125868082046509, 0.3645605742931366, -0.5892592072486877, 0.17069239914417267, -0.48474225401878357, -1.2840189933776855, -0.4659000039100647, 0.8798853754997253, -0.5322232246398926, 0.026431897655129433, 0.32923421263694763, 0.6261624693870544, 0.04716496169567108, 0.11825501918792725, 0.0770350992679596, -0.4141363501548767, 0.22219108045101166, 0.3961009681224823, 0.6577919721603394, -0.0463467575609684, 0.38381657004356384, -0.7257324457168579, -0.43000343441963196, -0.25495007634162903, -1.0438306331634521, -0.6726287007331848, -0.5296162366867065, -0.5843563675880432, -0.14521828293800354, 0.11101063340902328, 1.5338789224624634, 0.8350768089294434, -0.7323484420776367, -0.06605513393878937, 0.046522509306669235, -0.13242129981517792, -0.11453467607498169, -0.18766643106937408, 0.40988829731941223, -0.30024755001068115, -1.0262154340744019, 0.0010921377688646317, 0.4467916190624237, 0.07787635177373886, 0.016345040872693062, -0.08862205594778061, -0.06655808538198471, -0.0452737957239151, 0.3782491087913513, 0.31674325466156006, -0.6779772043228149, -0.584984302520752, -0.06060359627008438, -0.04233971983194351, 0.2367236316204071, 0.633671760559082, -0.13814714550971985, 0.8600313067436218, 0.6323750019073486, 0.9965960383415222, 0.3673678934574127, 0.15443426370620728, 0.6649029850959778, -0.638778567314148, 0.17458325624465942, 0.36422184109687805, 0.41335824131965637, 0.4041755497455597, -0.4454193711280823, 0.45098844170570374, 0.0763004869222641, -0.7407102584838867, -0.9004537463188171, 0.33377206325531006, -1.1713237762451172, -0.03219838812947273, 1.2860326766967773, -0.00594949908554554, -0.07420963793992996, 0.09387922286987305, -0.6245042085647583, 0.16931770741939545, -0.7678541541099548, 0.9355713725090027, 0.6556711196899414, -0.3521491587162018, -0.04908529296517372, -0.30636513233184814, 0.7021813988685608, 0.60918790102005, -0.7852927446365356, 0.18124854564666748, 0.4800667464733124, 0.11794012039899826, 0.25569120049476624, 0.7886852025985718, 0.14554646611213684, -0.012902628630399704, -0.13705335557460785, 0.3564499318599701, -0.22419431805610657, -0.09720715880393982, -0.2610394060611725, 0.14149925112724304, 0.5002349019050598, -0.5982826948165894 ]
http://arxiv.org/abs/2405.13536v1
http://arxiv.org/pdf/2405.13536v1
Attention Mechanisms Don't Learn Additive Models: Rethinking Feature Importance for Transformers
2024-05-22T11:14:00
2024-05-22T11:14:00
Tobias Leemann, Alina Fastowski, Felix Pfeiffer, Gjergji Kasneci
cs.LG
cs.LG, cs.AI, cs.CL
We address the critical challenge of applying feature attribution methods to the transformer architecture, which dominates current applications in natural language processing and beyond. Traditional attribution methods to explainable AI (XAI) explicitly or implicitly rely on linear or additive surrogate models to quantify the impact of input features on a model's output. In this work, we formally prove an alarming incompatibility: transformers are structurally incapable to align with popular surrogate models for feature attribution, undermining the grounding of these conventional explanation methodologies. To address this discrepancy, we introduce the Softmax-Linked Additive Log-Odds Model (SLALOM), a novel surrogate model specifically designed to align with the transformer framework. Unlike existing methods, SLALOM demonstrates the capacity to deliver a range of faithful and insightful explanations across both synthetic and real-world datasets. Showing that diverse explanations computed from SLALOM outperform common surrogate explanations on different tasks, we highlight the need for task-specific feature attributions rather than a one-size-fits-all approach.
[ -0.4087511897087097, -0.46717560291290283, 0.5059806108474731, -0.0026870369911193848, -0.019784102216362953, -0.14207051694393158, -0.02365788444876671, -0.4078041911125183, -0.07501039654016495, 0.19609281420707703, -0.868692934513092, -0.08150579780340195, -0.6730866432189941, -0.09627282619476318, -0.5515082478523254, 1.461984395980835, 0.008325603790581226, -0.4481242001056671, -0.3885667026042938, -0.3830765187740326, -0.13572368025779724, -0.36285164952278137, -0.717576265335083, -0.406821072101593, 0.644331693649292, 0.34883150458335876, 1.1677913665771484, 0.7780024409294128, 0.6694155335426331, 0.34936824440956116, -0.025437673553824425, -0.031929511576890945, -0.44482123851776123, -0.2287767380475998, -0.05866026505827904, -0.815727174282074, -0.6364554166793823, 0.10386970639228821, 0.5225781202316284, 0.677513599395752, 0.11086401343345642, 0.35809704661369324, 0.10501226037740707, 0.3753126561641693, -0.8262338638305664, 0.2134699672460556, -0.8071507215499878, -0.10169439017772675, -0.12870271503925323, 0.0024617649614810944, -0.2994531989097595, -0.29621005058288574, 0.14112943410873413, -0.6136159300804138, 1.0262442827224731, -0.16937676072120667, 0.8106550574302673, 0.7866092324256897, -0.16478264331817627, -0.28951171040534973, -0.8857247233390808, 0.812680721282959, -0.3260331153869629, 0.23925882577896118, 0.19111455976963043, 0.18210120499134064, 0.2706287205219269, -0.5515235066413879, -0.5378321409225464, -0.09611450135707855, -0.31301116943359375, 0.13817492127418518, -0.14583906531333923, 0.0536193884909153, 0.11880390346050262, 0.3305378258228302, -0.4107241928577423, 0.23978258669376373, -0.4468204379081726, -0.17091567814350128, 0.72737056016922, 0.4128400385379791, 0.01390347070991993, 0.024083491414785385, -0.4755678176879883, -0.05040388181805611, -0.6087138056755066, 0.34471774101257324, 0.261785626411438, 0.3782199025154114, -0.295073926448822, 0.38509616255760193, 0.23959510028362274, 0.5020714998245239, 0.372871994972229, 0.23528364300727844, 0.11459682136774063, -0.15323850512504578, -0.02944522351026535, 0.43599674105644226, 0.7163176536560059, 0.04924126714468002, 0.2886895537376404, -0.35892534255981445, -0.015984442085027695, 0.41395601630210876, 0.5830129981040955, -0.23432008922100067, 0.01462629996240139, 0.3140518069267273, -0.2088727205991745, -0.4371820092201233, -0.042518626898527145, -0.7898522019386292, -0.2943090796470642, 0.044784996658563614, 0.4098150432109833, 0.12239335477352142, -0.26950013637542725, 0.07515120506286621, -0.08010032027959824, 0.37792065739631653, 0.09741151332855225, -1.0688679218292236, 0.3407491147518158, 0.934140682220459, 0.7133727669715881, -0.3599514663219452, -0.46167439222335815, -0.3363969326019287, 0.25806596875190735, -0.23230375349521637, 0.8661292791366577, -0.7235777378082275, -0.0626663938164711, 0.008158978074789047, 0.009583667851984501, -0.29895657300949097, -0.44968196749687195, 0.732094407081604, -0.313869833946228, 0.18006226420402527, 0.13092775642871857, -0.2579682171344757, -0.21902978420257568, -0.17780250310897827, -0.8365822434425354, 0.8794209361076355, 0.2398030310869217, -0.6391090750694275, 0.6079163551330566, -0.8732593655586243, -0.6429072022438049, -0.06209549680352211, -0.019723184406757355, -0.6786044836044312, 0.5818617343902588, 0.2027323842048645, 0.2651623487472534, -0.23426972329616547, 0.6193162798881531, -0.4526004195213318, -0.47041839361190796, 0.3739374279975891, -0.9466506242752075, 0.7376963496208191, -0.284453421831131, -0.6024090051651001, 0.2541067600250244, -0.660460889339447, -0.35284483432769775, 0.06852198392152786, 0.014234324917197227, -0.008681008592247963, 0.015778828412294388, -0.16218557953834534, 0.18078427016735077, 0.0072364057414233685, -0.4304748475551605, -0.09609264880418777, -0.31907394528388977, 0.49201706051826477, 0.7200770378112793, -0.46316811442375183, 0.545479953289032, -0.11361084133386612, 0.6146968007087708, 0.11382484436035156, 0.3147273063659668, -0.2672956883907318, -0.520358681678772, -0.8251428008079529, -0.29850101470947266, 0.08348552882671356, 0.5128442049026489, -0.35199692845344543, 0.012857728637754917, -0.6799802184104919, -0.4764314293861389, -0.9158126711845398, 0.013150528073310852, 0.4499622583389282, 0.4868757724761963, 0.30818799138069153, -0.2305484265089035, -0.3470539450645447, -1.120801329612732, -0.5448761582374573, -0.4352981150150299, -0.1377081423997879, 0.265035480260849, 0.2510157823562622, 0.015765715390443802, 0.9176657795906067, -0.47600874304771423, -0.33748987317085266, -0.4556919038295746, 0.20069167017936707, 0.2026139795780182, 0.3577064573764801, 0.3575208783149719, -0.9315980672836304, -0.20881138741970062, -0.08031515777111053, -0.714634895324707, 0.049515657126903534, -0.3002479076385498, 0.34550684690475464, -0.10299449414014816, 0.42036911845207214, -1.1320403814315796, 0.551487386226654, 0.3946757912635803, -0.22211796045303345, 0.24095991253852844, 0.02277350053191185, -0.0022582344245165586, -0.4712989926338196, -0.07271634042263031, 0.29224875569343567, -0.1915043443441391, -0.8469547033309937, 0.03134234994649887, -0.05998627468943596, -0.2863309383392334, -0.4485885202884674, 0.6603249907493591, -0.19172093272209167, 0.004940618760883808, -0.3494211733341217, 0.2611038386821747, 0.09842751920223236, 0.8452197909355164, -0.05500923469662666, 0.6119310259819031, 0.6850026845932007, -0.712282121181488, 0.19983042776584625, 0.3254648447036743, 0.01803659275174141, 0.449920654296875, -0.7861117720603943, -0.21418391168117523, -0.2728405296802521, 0.23083937168121338, -1.291025996208191, -0.3370298445224762, 0.2433142066001892, -0.7753749489784241, 0.5120722055435181, -0.14526641368865967, -0.08332455903291702, -0.38418808579444885, -0.4029053747653961, 0.6904807686805725, 0.5861425995826721, -0.44501993060112, 0.8669671416282654, 0.28876689076423645, -0.11065921187400818, -0.5131469368934631, -0.7211900353431702, -0.042354732751846313, -0.817427933216095, -0.6022962927818298, 0.4362834095954895, 0.4081871807575226, -0.09741801023483276, 0.18376584351062775, -0.21422792971134186, -0.13714952766895294, 0.1932964026927948, 0.28550398349761963, 0.2763296365737915, -0.5581943988800049, 0.10281894356012344, -0.22492265701293945, -0.8092834949493408, 0.16592207551002502, 0.11114487797021866, -0.08277957886457443, 0.05722765251994133, -0.5611894726753235, -0.541094183921814, 0.19162333011627197, 0.913252592086792, 0.006480642128735781, 0.8640227317810059, 0.8604329228401184, -0.17412494122982025, 0.17041034996509552, -0.571456253528595, -0.3095844089984894, -0.5025308132171631, 0.5659357309341431, -0.2803490459918976, -0.8487513661384583, 0.666738748550415, 0.14903081953525543, 0.22023777663707733, 0.8442770838737488, 0.39856043457984924, 0.08240269124507904, 1.4366284608840942, 0.9241796731948853, -0.18579691648483276, 0.26914167404174805, -0.007969968020915985, 0.49074608087539673, -0.9679937362670898, -0.06448554992675781, -0.6089513897895813, -0.39971497654914856, -0.8150920271873474, -0.1641819179058075, 0.20318050682544708, -0.42122045159339905, -0.25949206948280334, 0.4540312588214874, -0.4142693877220154, 0.1903264820575714, 0.5094186067581177, 0.06232871860265732, 0.2630847096443176, -0.07434206455945969, 0.7068687677383423, -0.2758497893810272, -1.099488615989685, -0.20506207644939423, 0.9209959506988525, 0.4794194996356964, 0.8910371661186218, -0.11501110345125198, 0.16150198876857758, 0.3501864969730377, 0.5988227128982544, -0.7366318702697754, 0.31735703349113464, -0.32509109377861023, -0.8976683616638184, -0.43429815769195557, -0.2646769881248474, -0.8800071477890015, 0.1910838931798935, 0.012960722669959068, -0.8894252777099609, 0.36537694931030273, 0.46779516339302063, -0.5826377272605896, 0.2256947159767151, -0.9373195171356201, 1.0031404495239258, -0.09757757186889648, -0.6298473477363586, -0.17827194929122925, -0.441080778837204, 0.6002482771873474, -0.16113661229610443, 0.31560441851615906, -0.009766163304448128, -0.1635638177394867, 0.5443229079246521, -0.08190830051898956, 1.2071478366851807, -0.02693772502243519, -0.14101336896419525, 0.38916173577308655, -0.14833948016166687, 0.6091707944869995, -0.0007473764708265662, -0.06274276226758957, 0.1844787448644638, -0.8350766897201538, -0.37146899104118347, -1.0174992084503174, 0.5758958458900452, -0.646317720413208, -1.0237797498703003, -0.04126531630754471, -0.5486121773719788, -0.08586926013231277, -0.3485037088394165, 0.4655143618583679, 0.6081427931785583, 0.20432890951633453, 0.21754829585552216, 0.5581696033477783, 0.13203933835029602, 0.39385008811950684, 0.23767626285552979, 0.4270317554473877, -0.07340315729379654, 1.3131630420684814, -0.08253248035907745, 0.40196487307548523, 0.11065903306007385, -0.0476081445813179, -0.2627898156642914, -0.4071851968765259, -0.39513683319091797, 0.2692275643348694, -0.7118660807609558, -0.12382698804140091, -0.7074004411697388, -0.3395906686782837, -0.12186171859502792, -0.54881352186203, -0.5894105434417725, -0.516579270362854, -0.23726165294647217, -0.22684432566165924, 0.30813363194465637, 0.6801326274871826, 0.1435428261756897, 0.5266299247741699, -0.7641533017158508, 0.5480915904045105, 0.3524899482727051, 0.4777969717979431, 0.21773529052734375, -0.8808872103691101, -0.49388134479522705, -0.030450861901044846, -0.4186882972717285, -0.6489312052726746, 0.013924849219620228, 0.40222716331481934, 0.8019466996192932, 0.3955458700656891, -0.08095238357782364, 0.8553004264831543, -0.324648916721344, 0.7775951623916626, 0.04811945557594299, -1.0274957418441772, 0.3821241557598114, -0.03252937272191048, 0.33039402961730957, 0.387318879365921, 0.5006386041641235, -0.09236133098602295, -0.8018410205841064, -1.140200138092041, -0.9521389007568359, 1.0463621616363525, 0.4364992380142212, 0.46662843227386475, 0.21280664205551147, 0.3498454689979553, 0.19637462496757507, 0.15236778557300568, -0.8899497985839844, -0.34396761655807495, -0.18812669813632965, -0.4246680736541748, -0.32394057512283325, -0.18416815996170044, 0.059835802763700485, -0.16041439771652222, 0.6685750484466553, -0.19758173823356628, 0.21914465725421906, 0.20529891550540924, -0.2067941278219223, -0.30348342657089233, -0.056887101382017136, 0.5446762442588806, 0.5246827602386475, 0.234659805893898, 0.14462320506572723, 0.3135673701763153, -0.38765251636505127, 0.1735251545906067, 0.14458680152893066, -0.15455453097820282, 0.19716759026050568, 0.819212794303894, 1.1046684980392456, 0.5698287487030029, -0.2937108278274536, 0.388212114572525, 0.09088384360074997, -0.1154523491859436, 0.12909872829914093, 0.4483802318572998, -0.05271607264876366, 0.20256870985031128, 0.5263226628303528, 0.1983630210161209, 0.19986867904663086, -0.390846848487854, 0.19598335027694702, 0.6203938126564026, -1.1274492740631104, -0.6122677326202393, 0.9214381575584412, 0.17048056423664093, -0.4523782432079315, 0.4433954656124115, 0.2607343792915344, -0.6631731390953064, 0.8737494349479675, 0.2394615113735199, 1.2325775623321533, -0.43227139115333557, 0.28031912446022034, 0.28797686100006104, 0.47283434867858887, 0.06771029531955719, -0.4935726225376129, -0.0053674024529755116, -0.5898287892341614, -0.5084326267242432, -0.24229930341243744, -0.19462276995182037, 0.21747182309627533, -0.46128106117248535, 0.3198508620262146, 0.0004992338945157826, -0.2542257606983185, 0.3089248239994049, -0.5900179147720337, -0.7514052391052246, 0.23336772620677948, 0.07059809565544128, 0.4783717691898346, -1.2712266445159912, 0.04761938750743866, 0.4008297622203827, -0.24046647548675537, -0.5268752574920654, 0.1764237880706787, -0.06460534781217575, -1.0055841207504272, 0.3569067716598511, 0.27949148416519165, -0.07854744046926498, 0.06313078850507736, -0.6207476854324341, -0.8847476243972778, 0.6608202457427979, 0.43794316053390503, 0.05051588639616966, -0.003679137909784913, 0.36266782879829407, 0.5292107462882996, -0.4731985330581665, 0.44335344433784485, 0.5744526386260986, 0.5299650430679321, 0.12442515790462494, -0.8201285600662231, 0.07789121568202972, -0.08984096348285675, -0.25272613763809204, 0.2573499083518982, -0.6584908962249756, 0.5184862017631531, -0.46076729893684387, -0.09100469946861267, -0.44571495056152344, 0.6934757232666016, -0.0007613960769958794, 0.36597713828086853, 0.4180039167404175, 0.45601698756217957, 0.14195489883422852, -0.06171166151762009, 1.156334400177002, -0.01666424050927162, 0.4249081015586853, 1.052011251449585, -0.09718650579452515, 0.37080857157707214, 0.40752795338630676, -0.38001975417137146, 0.4279640018939972, 0.5061321258544922, -0.004139409866183996, 0.4057596027851105, -0.046286456286907196, -0.1916240155696869, -0.38586580753326416, -0.1448393166065216, -0.05420520529150963, 0.5471632480621338, 0.47073423862457275, -0.44836464524269104, -0.47316551208496094, -0.06713750213384628, -0.2069355696439743, -0.2440621703863144, -0.2564428448677063, 0.9371768832206726, 0.018156208097934723, -0.8967487215995789, 0.6026908159255981, -0.3887485861778259, 0.48056721687316895, -0.6426308155059814, 0.04907454922795296, -0.2948298752307892, 0.48981204628944397, -0.34588223695755005, -0.7983319163322449, 0.5872188210487366, 0.08370611071586609, -0.27707552909851074, -0.04509277269244194, 0.6380881667137146, -0.25925126671791077, -0.7671633958816528, -0.01984642818570137, 0.2934255003929138, 0.08369652926921844, -0.07518315315246582, -0.7398526072502136, 0.0013683406868949533, -0.029734784737229347, -0.45924314856529236, 0.2023899406194687, 0.6189824342727661, -0.3228730857372284, 1.0380197763442993, 0.3300356864929199, -0.3615124821662903, -0.017520811408758163, -0.11020554602146149, 0.8577696084976196, -0.46472489833831787, -0.22028006613254547, -1.2050485610961914, 1.1401972770690918, 0.19607952237129211, -0.3231041133403778, 0.5228303074836731, 0.4504711627960205, 0.48930132389068604, -0.08023039996623993, 0.7584354877471924, 0.29396089911460876, 0.05996571481227875, -0.2275696098804474, 0.3313080370426178, -0.6090482473373413, 0.1337529867887497, -0.1877565234899521, -1.1111184358596802, -0.2906005382537842, 0.19030559062957764, -0.1564236432313919, 0.26591894030570984, 0.5893877744674683, 0.6463990211486816, -0.5577948093414307, -0.002635024022310972, 0.20456700026988983, 0.23250414431095123, 0.2429695874452591, 0.5649521350860596, 0.5585645437240601, -0.5304139256477356, 0.9516931772232056, 0.102836973965168, -0.3911063075065613, -0.326576292514801, -0.8137279152870178, -0.7477230429649353, -0.5671189427375793, -0.6592786312103271, -0.06947442144155502, 0.015485160052776337, 0.2720567286014557, 0.7044346928596497, -0.7607402801513672, 0.10908086597919464, -0.25343626737594604, 0.45579278469085693, -0.2896682620048523, -0.28567227721214294, 0.4322470724582672, -0.5192192792892456, -0.5431548953056335, -0.034701377153396606, 0.30820998549461365, -0.04823620617389679, -0.48824790120124817, 0.2366522252559662, 0.13501247763633728, 0.13801631331443787, 0.2689516544342041, 0.29420801997184753, -0.8635210990905762, -0.39345982670783997, 0.05506471171975136, 0.07278504967689514, 0.27141422033309937, 1.0459568500518799, -1.005261778831482, 0.10735747963190079, 0.28743475675582886, 0.6625462770462036, 0.357243150472641, 0.07476411759853363, 0.7883676290512085, -0.5158222913742065, 0.27030837535858154, -0.04708795249462128, -0.003923673648387194, 0.4838206171989441, -0.673643171787262, 0.42086830735206604, 0.19836947321891785, -0.29890480637550354, -0.777374804019928, 0.3002018630504608, -0.5818427801132202, 0.1215628981590271, 0.7656012177467346, -0.2334088236093521, -0.4452570676803589, -0.43310415744781494, 0.1603192389011383, 0.26274099946022034, -0.12976109981536865, 1.0586142539978027, 0.6935598850250244, -0.17438842356204987, -0.308269739151001, -0.47869381308555603, 0.7681532502174377, 0.5554782152175903, -0.5253961086273193, 0.5290324687957764, 0.10231204330921173, -0.13244964182376862, 0.48850321769714355, 0.26245734095573425, 0.05888523533940315, 0.4436696171760559, 0.21133628487586975, -0.31124669313430786, 0.049707747995853424, -0.5327717065811157, -0.46800461411476135, 0.2127768099308014, -0.18320053815841675, -0.1434631049633026 ]
http://arxiv.org/abs/2405.13529v1
http://arxiv.org/pdf/2405.13529v1
The correlation between nativelike selection and prototypicality: a multilingual onomasiological case study using semantic embedding
2024-05-22T10:55:26
2024-05-22T10:55:26
Huasheng Zhang
cs.CL
cs.CL
In native speakers' lexical choices, a concept can be more readily expressed by one expression over another grammatical one, a phenomenon known as nativelike selection (NLS). In previous research, arbitrary chunks such as collocations have been considered crucial for this phenomenon. However, this study examines the possibility of analyzing the semantic motivation and deducibility behind some NLSs by exploring the correlation between NLS and prototypicality, specifically the onomasiological hypothesis of Grondelaers and Geeraerts (2003, Towards a pragmatic model of cognitive onomasiology. In Hubert Cuyckens, Ren\'e Dirven & John R. Taylor (eds.), Cognitive approaches to lexical semantics, 67-92. Berlin: De Gruyter Mouton). They hypothesized that "[a] referent is more readily named by a lexical item if it is a salient member of the category denoted by that item". To provide a preliminary investigation of this important but rarely explored phenomenon, a series of innovative methods and procedures, including the use of semantic embedding and interlingual comparisons, is designed. Specifically, potential NLSs are efficiently discovered through an automatic exploratory analysis using topic modeling techniques, and then confirmed by manual inspection through frame semantics. Finally, to account for the NLS in question, cluster analysis and behavioral profile analysis are conducted to uncover a language-specific prototype for the Chinese verb shang 'harm', providing supporting evidence for the correlation between NLS and prototypicality.
[ -0.5672763586044312, -1.064536213874817, 0.508730947971344, 0.14469707012176514, -0.288634330034256, -0.0935254916548729, -0.2592732310295105, -0.6632477045059204, 0.8860138058662415, 0.20776180922985077, -0.17679400742053986, -0.4082430303096771, -0.3468632400035858, 0.2535054385662079, -0.3206508457660675, 0.8444979190826416, 0.1793227642774582, -0.3222457766532898, -0.13814185559749603, -0.2709982991218567, -0.4976039230823517, -0.5517462491989136, -0.5864177346229553, -0.05744292959570885, 0.45646464824676514, 0.17721982300281525, 0.9182164072990417, 0.6815261244773865, 0.37659937143325806, 0.2569747567176819, -0.27053302526474, -0.074140265583992, -0.0826791524887085, 0.15899533033370972, 0.04406328871846199, -0.6658958196640015, -0.17478202283382416, 0.166616752743721, 0.45438525080680847, 0.87880539894104, 0.07643178105354309, -0.012926310300827026, -0.00009186651732306927, 0.22625039517879486, -0.6592695116996765, -0.04170547053217888, -0.7932529449462891, 0.3845325708389282, -0.5449895858764648, -0.1894916445016861, -0.17629140615463257, -0.48247089982032776, 0.4623292088508606, -0.6582221388816833, 0.3197275400161743, -0.03857703134417534, 0.8742180466651917, -0.10374881327152252, -0.33160507678985596, -0.3711259365081787, -0.47307083010673523, 0.8656477928161621, -0.5657638311386108, 0.39788538217544556, 0.47634080052375793, 0.025093724951148033, 0.14585094153881073, -0.48705634474754333, -0.3688647449016571, -0.6218016743659973, -0.2812032997608185, 0.10756362229585648, -0.19456709921360016, 0.1363283097743988, 0.16489176452159882, 0.5643075108528137, -0.7270919680595398, 0.3189064860343933, -0.2829446792602539, -0.4286614656448364, 0.5208253264427185, -0.06525653600692749, 0.5525334477424622, -0.34260475635528564, -0.42308974266052246, 0.22481821477413177, -0.7065045833587646, -0.0017717131413519382, 0.2721773684024811, 0.48350146412849426, -0.06983780860900879, 0.5238813161849976, -0.3014705777168274, 0.9841226935386658, -0.40024545788764954, -0.40711063146591187, 0.4321402609348297, -0.38028672337532043, 0.22379811108112335, 0.23218446969985962, 0.5889168381690979, 0.3763851225376129, 0.283777117729187, -0.33557602763175964, 0.057106416672468185, 0.3693118393421173, 0.021782269701361656, -0.28847160935401917, -0.09055372327566147, 0.14155681431293488, -0.47904399037361145, -0.23168200254440308, 0.36218735575675964, -0.5710219740867615, 0.06811153143644333, -0.13972383737564087, 0.2395004779100418, -0.3974788188934326, -0.43311387300491333, 0.15661875903606415, -0.22965370118618011, 0.13440410792827606, -0.1894555538892746, -1.121067762374878, 0.11419015377759933, 0.6814360022544861, 0.9864140748977661, -0.4642033278942108, -0.4149428606033325, -0.1424281895160675, 0.16771182417869568, -0.4450325667858124, 0.9370625615119934, -0.6117983460426331, -0.5424221754074097, 0.20007260143756866, -0.30989158153533936, -0.07220405340194702, -0.6403419375419617, 0.3886527717113495, -0.31143075227737427, 0.009039418771862984, -0.22982755303382874, -0.27737000584602356, -0.3050196170806885, 0.37225106358528137, -0.6159392595291138, 0.9783570766448975, -0.16432850062847137, -0.5096187591552734, 0.7449144124984741, -0.33363017439842224, -0.4218333065509796, -0.008471546694636345, -0.3439827561378479, -0.1624280959367752, 0.17932209372520447, -0.243430957198143, 0.44445669651031494, -0.19777028262615204, 0.22695805132389069, -0.25346943736076355, -0.09253890067338943, 0.16559627652168274, -0.08316943049430847, 0.6010679006576538, 0.3004920482635498, -0.09684639424085617, -0.09916310012340546, -0.5181130766868591, -0.10381165891885757, 0.25796201825141907, -0.08950616419315338, -0.9696880578994751, -0.08501032739877701, -0.33452320098876953, 0.12565213441848755, 0.23280900716781616, -0.7165186405181885, 0.09949276596307755, -0.39888522028923035, 0.23936839401721954, 0.16005119681358337, 0.16135349869728088, 0.2958804965019226, -0.45373767614364624, 0.3542982041835785, -0.2466951161623001, 0.3264012634754181, -0.29423555731773376, -0.7581858038902283, -0.6163859963417053, -0.10093439370393753, 0.15960539877414703, 0.345862478017807, -0.4726920425891876, 0.2695145905017853, -0.03479873761534691, -0.42771726846694946, -0.5944119095802307, 0.14010415971279144, 0.4321299195289612, 0.22696100175380707, 0.24848508834838867, -0.5506641268730164, -0.40927577018737793, -1.125688076019287, -0.1364353448152542, -0.3497537076473236, 0.11212046444416046, 0.20229403674602509, 0.0735451802611351, 0.10242444276809692, 1.1967862844467163, -0.5778200626373291, -0.4673510491847992, -0.09424973279237747, 0.06301459670066833, 0.20123235881328583, 0.3396615982055664, 0.9864900708198547, -0.8833022117614746, -0.30997148156166077, 0.12695644795894623, -0.6512037515640259, -0.2465275675058365, -0.163261279463768, -0.12190678715705872, -0.05633093789219856, 0.8225452899932861, -0.34787753224372864, 0.5355973243713379, 0.35327598452568054, -0.25747790932655334, 0.7676845192909241, -0.19224348664283752, -0.3789917528629303, -0.9712743759155273, -0.020054595544934273, 0.028356771916151047, 0.4126157760620117, -0.6224400997161865, 0.3928252160549164, -0.2611647844314575, 0.17564690113067627, -0.3110705316066742, 0.33014532923698425, -0.3869284689426422, -0.1279635727405548, -0.09150904417037964, 0.4377844035625458, -0.021403538063168526, 0.2265687733888626, 0.43707165122032166, 0.33892297744750977, 0.43406882882118225, -0.8945598602294922, 0.2693367302417755, 0.2766195833683014, -0.26832449436187744, 0.41061148047447205, -0.7037181258201599, -0.20463518798351288, -0.009089155122637749, -0.1765633076429367, -0.97609543800354, 0.0804576575756073, -0.2516171932220459, -0.33639663457870483, -0.21933035552501678, -0.11298827826976776, -0.6251786947250366, -0.08375459909439087, -0.2544805705547333, 0.39782091975212097, 0.25691086053848267, -0.3466035723686218, 0.12005241215229034, 0.4283923804759979, -0.20101594924926758, -0.02883857674896717, -0.7422794699668884, 0.02363646775484085, -0.43344351649284363, -0.3222791254520416, 0.5680675506591797, 0.12443991005420685, -0.5821384787559509, -0.06341232359409332, 0.08597217500209808, 0.18523816764354706, 0.2979414761066437, -0.17555595934391022, 0.41324037313461304, -0.3549315929412842, 0.34076136350631714, 0.07055214047431946, -0.2521909177303314, 0.08538920432329178, -0.12788386642932892, 0.5108988881111145, 0.015992077067494392, -0.37321823835372925, -0.009179330430924892, 0.4971082806587219, 0.33408665657043457, -0.4484518766403198, 0.46521955728530884, 0.5582894682884216, -0.18184974789619446, 0.06161456182599068, -0.6481168270111084, -0.19642402231693268, -0.37310531735420227, 0.37484049797058105, -0.3763085603713989, -0.6777859926223755, 0.5802805423736572, 0.08784196525812149, 0.16554796695709229, 0.3071230947971344, 0.24324680864810944, 0.33282631635665894, 0.6266846656799316, 0.4326591193675995, 0.10668966919183731, 0.4928051233291626, -0.23391449451446533, 0.07375410944223404, -0.9347347617149353, -0.4232455790042877, -0.467793732881546, -0.11393198370933533, -0.9140375256538391, -0.29647505283355713, 0.5575503706932068, -0.18916018307209015, -0.005290864501148462, 0.2269269973039627, -0.2730633616447449, 0.3071449398994446, 0.4154680669307709, -0.2337903380393982, 0.37976354360580444, -0.0769713968038559, -0.6429082751274109, -0.09364840388298035, -0.6412190794944763, -0.5243093967437744, 0.766954779624939, 0.15845510363578796, 0.4029847979545593, 0.5806155204772949, 0.7952433824539185, -0.0853073000907898, -0.03554467484354973, -0.9582394957542419, 0.6411067247390747, -0.23928628861904144, -0.5483087301254272, -0.06601501256227493, 0.041331589221954346, -1.3822535276412964, 0.47560304403305054, -0.5505949258804321, -1.1842156648635864, 0.27209293842315674, -0.045384205877780914, -0.5818498134613037, 0.22027252614498138, -0.5156844854354858, 0.8425202369689941, -0.12048844993114471, -0.1932009607553482, -0.02407396212220192, -0.521760106086731, 0.32849615812301636, -0.08589521795511246, 0.29880133271217346, -0.173921599984169, -0.24671337008476257, 0.7087728381156921, -0.2036845088005066, 0.8426982164382935, 0.19270934164524078, -0.3164423704147339, 0.3483176529407501, 0.49316757917404175, -0.11724454164505005, 0.058565184473991394, -0.20079772174358368, 0.07537861168384552, 0.0888492688536644, -0.2711400091648102, -0.6272275447845459, 0.6699728965759277, -0.5159977674484253, -0.7959802746772766, -0.24879303574562073, -0.3511120080947876, -0.36644795536994934, 0.11776139587163925, 0.37933972477912903, 0.49151989817619324, -0.47138532996177673, 0.055885184556245804, 0.5351242423057556, -0.15306775271892548, 0.6535597443580627, 0.44444072246551514, -0.6806180477142334, 0.08553607761859894, 1.1175864934921265, 0.21200565993785858, 0.6295470595359802, 0.419312447309494, 0.5523759722709656, -0.14813284575939178, -0.5335963368415833, -0.02936527691781521, 0.2710641622543335, -0.45961061120033264, 0.1593722254037857, -0.5007362961769104, -0.05546075478196144, -0.22875776886940002, -0.35410189628601074, -0.3625946640968323, -0.349147766828537, -0.06541528552770615, -0.1501966416835785, 0.27628663182258606, 0.7033613324165344, -0.15385667979717255, 0.17208541929721832, -0.6324607729911804, 0.1986105740070343, 0.4774572551250458, 0.08971669524908066, 0.32471176981925964, -0.3915490210056305, 0.04954904690384865, -0.18684297800064087, -0.18608474731445312, -0.8859944939613342, 0.3335588276386261, 0.2830723524093628, 0.9233273863792419, 0.9918856620788574, 0.041398003697395325, 0.5686900615692139, -0.12113817036151886, 0.8055594563484192, -0.011631505563855171, -0.5925114750862122, 0.7379807829856873, -0.33581507205963135, 0.20553545653820038, 0.4866237938404083, 0.49131688475608826, -0.8030524253845215, -0.6391022801399231, -0.713631272315979, -0.8676266670227051, 0.2614838480949402, 0.03853156790137291, 0.35723021626472473, -0.5514952540397644, 0.12347854673862457, 0.5554560422897339, -0.1283446103334427, -0.6024990081787109, -0.3537207543849945, 0.0450313501060009, 0.4323497712612152, -0.20299558341503143, -0.18853536248207092, 0.1425541788339615, -0.06081049516797066, 0.4333856403827667, -0.097955122590065, 0.2726987302303314, 0.32878386974334717, -0.09067032486200333, 0.43243828415870667, 0.18204043805599213, 0.4467221796512604, 0.28829410672187805, -0.1317700743675232, 0.32092520594596863, 0.06568410247564316, -0.6062991619110107, -0.15661633014678955, -0.06460859626531601, -0.4829122722148895, 0.5738153457641602, 0.5445551872253418, 0.5802368521690369, 0.45157232880592346, -0.3756004273891449, 0.277635782957077, 0.3918628990650177, 0.1901199072599411, -0.3280148208141327, -0.14900141954421997, -0.15858151018619537, -0.25212472677230835, 0.4187527298927307, -0.13263210654258728, 0.3345051109790802, -0.9141455292701721, 0.022590981796383858, 0.5988080501556396, -0.32885876297950745, -0.45490485429763794, 0.35626164078712463, 0.07759153097867966, -0.15802150964736938, 0.5197243690490723, -0.5473574995994568, -0.4232535660266876, 0.649147629737854, 0.6862530708312988, 0.7128165364265442, -0.27084335684776306, 0.45296478271484375, 0.632463812828064, 0.19925731420516968, 0.0717499852180481, 0.11080394685268402, -0.07742935419082642, -1.0374282598495483, -0.2712675631046295, -0.6359111666679382, -0.0744195356965065, -0.15149129927158356, -0.9678335785865784, 0.23905357718467712, -0.3235431909561157, -0.3139316439628601, 0.10372557491064072, -0.4270896911621094, -0.3631945550441742, 0.0008900974062271416, 0.362503319978714, 0.7847633957862854, -1.0853246450424194, 0.5961206555366516, 0.8372324109077454, -0.394893079996109, -0.6013732552528381, 0.25362807512283325, 0.2470061182975769, -0.8231757283210754, 0.7546601295471191, -0.008932680822908878, 0.25252193212509155, -0.1282448023557663, 0.11338844150304794, -1.0908477306365967, 0.7869971394538879, 0.13658533990383148, -0.05503621697425842, -0.006009913049638271, 0.18203996121883392, 0.5069817900657654, -0.37543627619743347, 0.30875566601753235, 0.7580544352531433, 0.2585545778274536, 0.14537368714809418, -1.228865385055542, 0.011416013352572918, -0.16476677358150482, 0.32136714458465576, 0.29625391960144043, -0.6662524938583374, 0.8935050368309021, -0.5383703112602234, -0.14036118984222412, 0.2197110652923584, 0.5075623989105225, 0.37132978439331055, 0.18791086971759796, 0.3265511393547058, 0.41655850410461426, 0.5006593465805054, -0.08980464190244675, 1.0468045473098755, -0.15869109332561493, 0.09575141966342926, 0.6714414954185486, 0.04208002984523773, 0.9156348705291748, 0.766399085521698, -0.39586594700813293, 0.6426577568054199, 0.6955426335334778, 0.11903516948223114, 0.6047827005386353, 0.20605595409870148, -0.3845316469669342, -0.12267029285430908, -0.6828153729438782, -0.34373536705970764, 1.0585089921951294, 0.5349138379096985, -0.2894991934299469, -0.24594971537590027, -0.013966944068670273, 0.05157158151268959, 0.06652285903692245, -0.29843276739120483, 0.875895619392395, 0.06700826436281204, -0.732694149017334, 0.32291877269744873, -0.14650249481201172, 0.8645232915878296, -0.8803163766860962, -0.010821915231645107, -0.1508096307516098, -0.4183488190174103, -0.3381582498550415, -0.6511749029159546, 0.5187169313430786, -0.43914198875427246, 0.29109087586402893, 0.10683511197566986, 0.47962433099746704, -0.271848201751709, -0.2170025110244751, 0.26564881205558777, 0.859089195728302, 0.35189276933670044, 0.22333428263664246, -0.2960526943206787, 0.0436495803296566, -0.09696213155984879, 0.07479207217693329, 0.4137619137763977, 0.30412158370018005, -0.3748111426830292, 0.4035325348377228, 0.6718936562538147, 0.45885729789733887, 0.006411045324057341, 0.11209665238857269, 0.43969616293907166, -0.5600037574768066, -0.7648652195930481, -0.9071705341339111, 0.24331682920455933, 0.04762386530637741, -0.5933006405830383, 0.8121787905693054, 0.5730919241905212, 0.9724640250205994, -0.07705187052488327, 0.6500053405761719, -0.21580855548381805, 0.18933604657649994, -0.6575681567192078, 0.4335852861404419, -0.3701256513595581, 0.19950465857982635, -0.44933021068573, -1.0224956274032593, -0.4291270077228546, 0.7740985155105591, -0.43977218866348267, -0.0850766971707344, 0.8262901902198792, 0.6341649293899536, 0.03165104240179062, 0.09395703673362732, 0.452753484249115, 0.0002749089617282152, -0.2443273961544037, 0.32249003648757935, 0.8081006407737732, 0.0212850458920002, 0.22833247482776642, -0.5275330543518066, -0.2813446521759033, -0.15286844968795776, -0.8286651968955994, -0.6299148201942444, -0.8815025091171265, -0.5362228155136108, 0.03413015604019165, -0.16139912605285645, 1.0100799798965454, 0.3847261071205139, -0.6710855960845947, -0.26135966181755066, 0.15144042670726776, 0.13325443863868713, -0.3423742651939392, -0.24112845957279205, 0.33725568652153015, -0.4863164722919464, -0.6690760254859924, 0.1944049596786499, 0.162735253572464, 0.25234276056289673, -0.30739083886146545, 0.3208886384963989, -0.27538663148880005, -0.2126588225364685, 0.7942977547645569, 0.44626477360725403, -1.0474978685379028, -0.2402927726507187, -0.09736978262662888, 0.1255682110786438, -0.026816699653863907, 0.8747958540916443, -0.7865302562713623, 0.6706012487411499, 0.09299055486917496, 0.18865752220153809, -0.07052084058523178, -0.33607324957847595, 0.524729311466217, -0.8740003705024719, 0.47858351469039917, 0.22136394679546356, 0.536772608757019, 0.15485118329524994, -0.21442049741744995, 0.4184085726737976, 0.33853551745414734, -0.03167303651571274, -0.5627495050430298, 0.502831757068634, -0.9243902564048767, -0.32468998432159424, 1.4356638193130493, -0.10817071795463562, 0.03890233859419823, -0.4486331641674042, -0.36354607343673706, 0.08466148376464844, -0.1163380965590477, 0.9370697736740112, 0.5806068181991577, -0.22506222128868103, 0.19981975853443146, -0.7008196115493774, 0.4027341604232788, 0.5936504602432251, -0.4429287016391754, -0.2574527859687805, 0.12125389277935028, 0.13612525165081024, 0.7844219207763672, 0.16061735153198242, -0.1887086182832718, 0.38363659381866455, 0.0940280556678772, -0.052551254630088806, 0.05451546609401703, 0.20851261913776398, -0.1337691694498062, 0.08093654364347458, 0.36284416913986206, -0.3397456705570221 ]
http://arxiv.org/abs/2405.13522v2
http://arxiv.org/pdf/2405.13522v2
Beyond Trend and Periodicity: Guiding Time Series Forecasting with Textual Cues
2024-05-22T10:45:50
2024-05-24T15:10:27
Zhijian Xu, Yuxuan Bian, Jianyuan Zhong, Xiangyu Wen, Qiang Xu
cs.LG
cs.LG, cs.AI, cs.CL
This work introduces a novel Text-Guided Time Series Forecasting (TGTSF) task. By integrating textual cues, such as channel descriptions and dynamic news, TGTSF addresses the critical limitations of traditional methods that rely purely on historical data. To support this task, we propose TGForecaster, a robust baseline model that fuses textual cues and time series data using cross-attention mechanisms. We then present four meticulously curated benchmark datasets to validate the proposed framework, ranging from simple periodic data to complex, event-driven fluctuations. Our comprehensive evaluations demonstrate that TGForecaster consistently achieves state-of-the-art performance, highlighting the transformative potential of incorporating textual information into time series forecasting. This work not only pioneers a novel forecasting task but also establishes a new benchmark for future research, driving advancements in multimodal data integration for time series models.
[ -0.09378918260335922, -0.42831650376319885, 0.5167950987815857, 0.23473046720027924, -0.5083065629005432, 0.331869900226593, -0.03029242344200611, -0.3542599380016327, 0.3419644236564636, 0.36327484250068665, -1.047315239906311, -0.588467001914978, -0.5788657665252686, -0.16856996715068817, -0.7372438311576843, 1.227649450302124, 0.0633791834115982, -0.1547202616930008, -0.05197081342339516, 0.16667261719703674, -0.5725761651992798, -0.10625796020030975, -0.2217402458190918, -0.3313595950603485, 0.5559169054031372, 0.20904472470283508, 0.6814256906509399, 0.9288819432258606, 0.1940845102071762, 0.15421965718269348, 0.24829643964767456, 0.5642960071563721, -0.5125822424888611, 0.16090676188468933, -0.07531161606311798, -0.14650855958461761, -0.3618406057357788, 0.0615825355052948, 0.5151413083076477, 0.547034740447998, -0.139169380068779, 0.36440324783325195, -0.01722930371761322, 0.08697070926427841, -0.1429966688156128, 0.26155877113342285, -0.35860103368759155, 0.2959946095943451, -0.5475902557373047, -0.734423816204071, -0.46789947152137756, -0.3915576636791229, 0.37101152539253235, -0.7688022255897522, 0.3298811912536621, 0.28412413597106934, 0.8010523319244385, 0.6867753863334656, -0.5894010663032532, 0.13607291877269745, -0.8420288562774658, 1.2017244100570679, -0.39829379320144653, 0.5077774524688721, 0.3331229090690613, 0.2460215985774994, 0.23778486251831055, -0.7941026091575623, 0.1558639109134674, 0.12057146430015564, -0.07350137084722519, 0.038396697491407394, -0.11457488685846329, -0.4358268082141876, 0.11482813209295273, 0.24685363471508026, -0.4823787808418274, -0.2991744577884674, 0.0062833200208842754, 0.2425725758075714, 0.43110916018486023, 0.3483934998512268, 0.02498790994286537, -0.15797166526317596, -0.6621446013450623, 0.10703917592763901, -0.016667796298861504, -0.16967764496803284, -0.08337201923131943, 0.2907218635082245, -0.43755918741226196, 0.3182263970375061, 0.33513203263282776, 0.36851248145103455, 0.15637433528900146, -0.05444824695587158, 0.02921583689749241, -0.3506501019001007, -0.2540064752101898, 0.17118552327156067, 0.5217921733856201, 0.7540404796600342, 0.3454926013946533, -0.5286964178085327, 0.11094547808170319, -0.04288394749164581, 0.43395188450813293, -0.6965959668159485, -0.2941681444644928, 0.23454982042312622, -0.4231607913970947, -0.7365626692771912, -0.0476304367184639, -1.506502389907837, -0.5117743611335754, -0.48084720969200134, 0.0513090044260025, -0.3875451385974884, -0.198868528008461, -0.3179521858692169, -0.42745524644851685, -0.17512689530849457, 0.34561070799827576, -1.1279405355453491, 0.31454703211784363, 0.746798574924469, 0.9208645820617676, -0.28711917996406555, -0.10693978518247604, -0.7419267892837524, 0.4380428194999695, -0.30988529324531555, 0.879463255405426, -0.6584867238998413, -0.6846581101417542, -0.05053452402353287, -0.1787259578704834, 0.08436127752065659, 0.043020427227020264, 0.37219688296318054, -0.4476998448371887, 0.22872783243656158, -0.1130390539765358, -0.39356034994125366, -0.11497776955366135, 0.20592842996120453, -0.760198175907135, 1.4363853931427002, 0.06180906668305397, -0.7794217467308044, 0.7815861701965332, -0.39488065242767334, -0.28622356057167053, -0.06009601429104805, -0.05721008777618408, -0.26543742418289185, -0.11425565183162689, 0.6656889319419861, 0.37060248851776123, -0.4403364658355713, 0.8781517148017883, -0.6686393618583679, -0.05077693611383438, 0.08688767999410629, -0.9388009905815125, 0.3104754686355591, -0.03886265680193901, -0.48318707942962646, 0.17312228679656982, -0.6971031427383423, 0.02232735976576805, -0.11378871649503708, 0.3691987097263336, -0.34086722135543823, 0.3057194948196411, 0.5926331877708435, -0.12062358856201172, 0.05708637461066246, -0.24425359070301056, 0.3452744781970978, 0.008149576373398304, 0.5999118685722351, 0.8227066993713379, 0.13819247484207153, 0.4415864944458008, -0.6086368560791016, 0.5060405731201172, -0.41159185767173767, 0.25947296619415283, -0.5640454292297363, -0.18347083032131195, -0.2201564460992813, -0.14177069067955017, 0.19571685791015625, 0.6654543876647949, -0.6888028979301453, -0.06321363151073456, -0.5524007678031921, -0.7320703864097595, 0.09145919978618622, 0.004744629375636578, 0.008467148058116436, 0.48042914271354675, 0.5455306768417358, 0.2583256661891937, -0.6173809170722961, -0.21429049968719482, -0.4582405984401703, -0.06207236275076866, -0.02665223926305771, 0.1313195377588272, -0.026107171550393105, -0.08920292556285858, 0.8499963879585266, -0.6832323670387268, -0.062048595398664474, -0.09674191474914551, 0.6319329142570496, 0.3365073502063751, 0.05522238463163376, 0.7289301156997681, -0.8556118011474609, -0.1309499591588974, 0.013396496884524822, -0.7943328022956848, -0.2377990186214447, -0.24162954092025757, 0.015895888209342957, -0.12678706645965576, 0.6623287200927734, -0.15024513006210327, 0.4272034168243408, 0.7478550672531128, -0.7408836483955383, 0.3613044321537018, 0.12885558605194092, 0.10654886811971664, -1.1776856184005737, 0.009141488000750542, 0.3112736940383911, -0.33350059390068054, -0.6258568167686462, -0.6873114705085754, -0.07813271135091782, -0.21217486262321472, -0.01768883317708969, 1.0246549844741821, -0.1523476243019104, 0.17344225943088531, 0.02536141499876976, -0.18549472093582153, 0.03989199548959732, 0.41855958104133606, 0.02387971244752407, 0.5892584323883057, -0.03421884775161743, -0.3785393536090851, 0.4244453012943268, 0.42955678701400757, -0.2822369635105133, 0.4783889949321747, -0.5699471831321716, -0.24418768286705017, -0.07694616168737411, -0.014045906253159046, -0.9564352631568909, -0.2984394431114197, 0.002823521615937352, -0.16396120190620422, 0.5385858416557312, 0.02934420481324196, -0.09888412058353424, -0.11246952414512634, -0.4618781805038452, 0.5910651683807373, 0.23310904204845428, -0.59898841381073, 0.9731261134147644, 0.015680627897381783, -0.2927223742008209, -0.5672042965888977, -0.8623970150947571, 0.15162260830402374, -0.43821069598197937, -0.39672112464904785, 0.7498437762260437, 0.03720737621188164, -0.2363949716091156, -0.10668585449457169, -0.4129764437675476, 0.030630139634013176, 0.00210956996306777, 0.240815669298172, 0.5796629190444946, 0.0051384372636675835, 0.25715547800064087, -0.06369425356388092, -0.16340063512325287, 0.006041862070560455, -0.6944912672042847, 0.3632155656814575, 0.3965914249420166, -0.07923053205013275, -0.4533312916755676, 0.3797047734260559, 0.5263031125068665, -0.2097383588552475, 0.2639043629169464, 0.7388909459114075, -0.24076081812381744, -0.25848886370658875, -0.5362289547920227, -0.13945196568965912, -0.46114352345466614, 0.15164612233638763, 0.12321333587169647, -0.6433410048484802, 0.10751032829284668, 0.11161515861749649, 0.3390885293483734, 0.3292582929134369, 0.24551810324192047, -0.06917434930801392, 0.8350948095321655, 0.5457548499107361, 0.09621220082044601, 1.072486400604248, -0.02793259732425213, -0.11784759163856506, -0.3787005841732025, -0.42228788137435913, -0.4078899025917053, -0.23546913266181946, -0.5226651430130005, -0.3563814163208008, 0.3146520256996155, -0.4241996705532074, -0.44001781940460205, 0.09978679567575455, -0.27947166562080383, -0.013360070995986462, 0.5684436559677124, 0.18897683918476105, 0.3321797847747803, 0.06010740250349045, 0.15630541741847992, -0.4728708267211914, -0.5174808502197266, -0.46353858709335327, 1.285345435142517, 0.3543088436126709, 0.9981208443641663, -0.21543601155281067, 0.21665029227733612, 0.9166353344917297, 0.5945114493370056, -0.6694576740264893, 0.1766849309206009, -0.5014113187789917, -0.43769997358322144, -0.2842678725719452, -0.24941793084144592, -0.4960620105266571, -0.013585950247943401, -0.1979222446680069, -0.6105442047119141, 0.3893827199935913, 0.16826783120632172, -0.28663039207458496, 0.3177403509616852, -0.43251484632492065, 0.967369556427002, -0.36978277564048767, -0.5775660872459412, 0.11304153501987457, -0.33043646812438965, 0.042058490216732025, -0.1107901781797409, 0.3690301775932312, -0.3815363049507141, -0.5416595935821533, 0.5926214456558228, -0.28055137395858765, 0.9058745503425598, -0.02860335260629654, -0.15675373375415802, -0.3956923186779022, -0.18221521377563477, 0.47389379143714905, 0.23813112080097198, -0.2892078757286072, 0.13708922266960144, 0.19560755789279938, -0.43753620982170105, -0.3031988739967346, 0.4745742976665497, -0.6005024313926697, -0.36026373505592346, -0.6060884594917297, -0.6182243824005127, -0.6840768456459045, 0.24102048575878143, 0.17775335907936096, 1.1083791255950928, -0.5920516848564148, 0.07698018848896027, 0.6456576585769653, 0.41888460516929626, 0.8296619057655334, 0.1294597089290619, -0.22955980896949768, -0.8520744442939758, 0.7966828942298889, -0.06751170754432678, 0.12033915519714355, 0.9621381759643555, 0.10914833843708038, -0.3751118779182434, -0.3482312858104706, -0.5974744558334351, 0.07346881926059723, -0.2985515892505646, -0.045980166643857956, -0.4550038278102875, 0.19736029207706451, -0.12638334929943085, -0.19836191833019257, -0.1462351232767105, -0.14516699314117432, -0.6525245904922485, -0.12353957444429398, 0.3920154869556427, 0.6654587388038635, 0.47767895460128784, 0.38643091917037964, -1.0776591300964355, 0.2883254587650299, 0.40216150879859924, 0.46205615997314453, 0.09947977215051651, -0.10902121663093567, -0.35812264680862427, -0.14874516427516937, -0.5002703070640564, -0.8341169357299805, 0.7059173583984375, 0.12131740897893906, 0.3851962387561798, 0.6597897410392761, 0.05664993077516556, 0.7503552436828613, -0.7005501389503479, 0.9752877354621887, 0.09633967280387878, -1.0420796871185303, 0.3328556716442108, -0.9667186737060547, 0.4952745735645294, 0.1821632832288742, 0.2536923587322235, -0.7550249099731445, -0.1892048716545105, -0.38767698407173157, -0.5343237519264221, 0.9548780918121338, 0.11703530699014664, -0.09009940922260284, 0.11018609255552292, -0.08281315863132477, 0.37418144941329956, 0.6067341566085815, -0.34275439381599426, -0.1361505091190338, -0.7520995736122131, -0.5244201421737671, -0.5299447774887085, -0.2591533958911896, -0.17359210550785065, 0.08570580184459686, 0.38745468854904175, -0.2768222689628601, 0.2909982204437256, 0.15238218009471893, 0.2283032089471817, -0.2936263382434845, 0.1928107887506485, 0.5318899154663086, 0.6930075287818909, -0.36600038409233093, -0.2720627784729004, 0.014817402698099613, -0.5541165471076965, -0.035625651478767395, 0.7015838623046875, -0.23315288126468658, 0.27879610657691956, 0.7204077839851379, 0.890837550163269, 0.7715405225753784, -0.37180280685424805, -0.036584921181201935, 0.013142512179911137, -0.13635456562042236, -0.38640084862709045, -0.2736242711544037, -0.19976010918617249, 0.4577524960041046, 0.9178400039672852, 0.2410680502653122, 0.11440089344978333, -0.42164525389671326, -0.006272897124290466, 0.11874551326036453, -0.6047948598861694, -0.33908480405807495, 1.2735075950622559, 0.4375051259994507, 0.1707339882850647, 0.18483613431453705, 0.429964542388916, -0.28932297229766846, 0.6611743569374084, 0.08983913064002991, 1.0083751678466797, -0.35921546816825867, 0.29323676228523254, -0.08869078010320663, 0.25601378083229065, -0.23190172016620636, 0.3320885896682739, -0.21024656295776367, -0.11842893809080124, -0.506589412689209, -0.518974244594574, -0.4096928536891937, -0.12074233591556549, -0.725167989730835, 0.5071587562561035, -0.44903138279914856, -0.5265586972236633, 0.36552000045776367, 0.010538012720644474, -0.33349722623825073, 0.45911407470703125, 0.21011854708194733, 1.1974751949310303, -0.7389748692512512, 0.6838687062263489, 0.5064382553100586, 0.09405036270618439, -0.5367853045463562, 0.43873685598373413, 0.32555994391441345, -0.5532568097114563, 0.1676715612411499, 0.20790190994739532, 0.11579511314630508, 0.05329446494579315, -0.3587195575237274, -1.012715458869934, 1.3191735744476318, 0.27141842246055603, -0.2963116765022278, -0.5852370262145996, -0.11798710376024246, 0.3298855423927307, -0.4416808784008026, 0.228138729929924, 0.30723652243614197, 0.7974382638931274, 0.3095974028110504, -0.7249581217765808, -0.1484927386045456, -0.4316995143890381, 0.10099030286073685, 0.8481508493423462, -0.7691935896873474, 0.6810528635978699, 0.13408415019512177, -0.08790338784456253, 0.28051087260246277, 0.7671630382537842, -0.28482508659362793, 1.019399642944336, 0.35130560398101807, 0.20644459128379822, 0.6777988076210022, -0.5027763247489929, 0.9988148808479309, -0.046133872121572495, 0.1865454912185669, 1.0451552867889404, -0.04601147025823593, 0.41139689087867737, 0.49143823981285095, -0.101779043674469, 0.6876058578491211, 0.7174083590507507, -0.4752449095249176, 0.7812103629112244, -0.6916069388389587, -0.0002228670782642439, -0.5353646278381348, -0.6035529971122742, -0.44823402166366577, 0.2420225441455841, 0.5381960272789001, -0.43022677302360535, -0.3250879645347595, 0.08490937203168869, 0.06841828674077988, 0.16183146834373474, -0.6069103479385376, 0.5610042214393616, 0.10398294776678085, -0.6902216672897339, 0.0965106263756752, -0.34744104743003845, 0.6603880524635315, -0.8255555033683777, -0.071193628013134, -0.06127246841788292, 0.20671871304512024, -0.1912541389465332, -0.5863476395606995, 0.40336790680885315, -0.04707195237278938, -0.4227263927459717, -0.750828206539154, 0.2646102011203766, -0.4907592236995697, -0.43338409066200256, 0.25980570912361145, 0.23369228839874268, -0.6352344155311584, 0.19707565009593964, -0.11120207607746124, 0.10203874856233597, 0.07177839428186417, -0.1617402881383896, -0.21510253846645355, 0.5342069268226624, -0.2572353780269623, 0.6172052025794983, 0.4353751838207245, -0.24705193936824799, -0.09185454994440079, -0.10272223502397537, 0.6575048565864563, -1.0774236917495728, -0.7595113515853882, -0.7435788512229919, 0.4946284294128418, -0.16157470643520355, -0.2966163754463196, 0.7909495234489441, 0.3166441023349762, 0.31141653656959534, -0.1006612777709961, 0.7688705325126648, 0.37059342861175537, 0.6996423602104187, -0.47075048089027405, 0.23146112263202667, -0.8495040535926819, 0.2169932872056961, -0.313042014837265, -0.752896249294281, -0.16647781431674957, -0.5082029104232788, -0.471994012594223, 0.22877544164657593, 0.7751790285110474, -0.043770864605903625, -0.20333078503608704, 0.7067599892616272, 0.08122224360704422, 0.0561550073325634, 0.17421755194664001, 0.26443344354629517, 0.5007362961769104, -0.09448602050542831, 0.9572862386703491, -0.15261870622634888, -0.1909707486629486, -0.4756752848625183, -1.2675268650054932, -1.2590656280517578, -0.38450509309768677, 0.019489577040076256, -0.06694047898054123, 0.20026449859142303, 1.089690089225769, 0.6999458074569702, -0.8515561819076538, -0.2077295333147049, 0.0783667042851448, -0.1251116842031479, -0.5190606117248535, -0.22324350476264954, 0.3785306215286255, -0.11366714537143707, -0.9431180953979492, 0.27661722898483276, 0.25011950731277466, 0.24463406205177307, -0.14575140178203583, 0.3350536525249481, 0.1382707804441452, 0.10046930611133575, 0.3693324029445648, 0.0637005940079689, -0.4182031452655792, 0.058123983442783356, 0.2561776041984558, 0.004965680185705423, -0.2383449822664261, 0.9108347296714783, -0.6919921040534973, 0.3271409571170807, 0.2961323857307434, 0.45261040329933167, 0.8615000247955322, 0.14978283643722534, 0.9439816474914551, -0.8356466889381409, 0.0916866660118103, 0.20530349016189575, 0.10135425627231598, 0.2946493625640869, -0.4796369969844818, 0.49304068088531494, 0.3743734359741211, -0.30798444151878357, -0.7543739676475525, -0.09291904419660568, -1.03665030002594, 0.030670765787363052, 0.7965483665466309, 0.24958772957324982, -0.12162218987941742, -0.3132117688655853, 0.009247412905097008, 0.23188045620918274, -0.7431493997573853, 0.6643505096435547, 0.8826274871826172, 0.2143881916999817, -0.36179468035697937, -0.7347428202629089, 0.538508951663971, 0.17228016257286072, -0.7511703372001648, 0.14903612434864044, 0.43858802318573, -0.022716663777828217, -0.1356266736984253, -0.006432658527046442, 0.08959335833787918, 0.3497174084186554, 0.015125631354749203, -0.5603818893432617, -0.4918419122695923, -0.4995526969432831, 0.034392423927783966, 0.27698978781700134, -0.4697566330432892, 0.01630745269358158 ]
http://arxiv.org/abs/2405.13517v1
http://arxiv.org/pdf/2405.13517v1
WaterPool: A Watermark Mitigating Trade-offs among Imperceptibility, Efficacy and Robustness
2024-05-22T10:22:20
2024-05-22T10:22:20
Baizhou Huang, Xiaojun Wan
cs.CR
cs.CR, cs.CL
With the increasing use of large language models (LLMs) in daily life, concerns have emerged regarding their potential misuse and societal impact. Watermarking is proposed to trace the usage of specific models by injecting patterns into their generated texts. An ideal watermark should produce outputs that are nearly indistinguishable from those of the original LLM (imperceptibility), while ensuring a high detection rate (efficacy), even when the text is partially altered (robustness). Despite many methods having been proposed, none have simultaneously achieved all three properties, revealing an inherent trade-off. This paper utilizes a key-centered scheme to unify existing watermarking techniques by decomposing a watermark into two distinct modules: a key module and a mark module. Through this decomposition, we demonstrate for the first time that the key module significantly contributes to the trade-off issues observed in prior methods. Specifically, this reflects the conflict between the scale of the key sampling space during generation and the complexity of key restoration during detection. To this end, we introduce \textbf{WaterPool}, a simple yet effective key module that preserves a complete key sampling space required by imperceptibility while utilizing semantics-based search to improve the key restoration process. WaterPool can integrate with most watermarks, acting as a plug-in. Our experiments with three well-known watermarking techniques show that WaterPool significantly enhances their performance, achieving near-optimal imperceptibility and markedly improving efficacy and robustness (+12.73\% for KGW, +20.27\% for EXP, +7.27\% for ITS).
[ -0.3213465213775635, -0.5320033431053162, 0.5239825248718262, -0.31733593344688416, -0.7372862696647644, 0.16198323667049408, 0.014324110932648182, -0.3995077311992645, -0.046156737953424454, 0.5403907299041748, -0.4068959057331085, -0.26368895173072815, -0.6000341176986694, -0.21131101250648499, -0.5233493447303772, 0.5643196105957031, 0.008541123010218143, -0.25660768151283264, 0.00011990521306870505, -0.3761705160140991, -0.24827633798122406, -0.4052690267562866, -0.7957010865211487, -0.5186987519264221, 0.3811904788017273, 0.016567662358283997, 0.8411151170730591, 0.9945594668388367, 0.42282021045684814, 0.16562584042549133, -0.3880496025085449, 0.04944547638297081, -0.3473425805568695, 0.27634453773498535, -0.36600568890571594, -0.3002898395061493, -0.09035145491361618, 0.06430051475763321, 0.5952638387680054, 0.34955278038978577, 0.33655866980552673, 0.14431536197662354, 0.25401735305786133, 1.0136069059371948, -1.2507132291793823, 0.38432765007019043, -0.8101858496665955, 0.2224930226802826, -0.3394489586353302, -0.41187959909439087, -0.3231659233570099, 0.0316377729177475, -0.05268106237053871, -0.39228227734565735, -0.03716004267334938, -0.05681219324469566, 0.8535095453262329, 0.21423743665218353, -0.13996955752372742, -0.006171674933284521, -0.7472562193870544, 0.7820033431053162, -1.0094212293624878, 0.09508521854877472, 0.36468517780303955, 0.18032723665237427, -0.21197016537189484, -0.724907398223877, -0.6785401105880737, 0.2030225545167923, 0.18140918016433716, 0.2983277142047882, -0.261021226644516, 0.027930306270718575, 0.1873498111963272, 0.41951751708984375, -0.3255700469017029, -0.16814996302127838, 0.1346256285905838, -0.36693817377090454, 0.5883675813674927, 0.1064668595790863, 0.46949389576911926, 0.2170458436012268, -0.07143080979585648, -0.1680077165365219, -1.025054931640625, 0.3121342957019806, 0.42081117630004883, 0.5806493163108826, 0.2632661461830139, 0.3396475613117218, -0.12442129850387573, 0.7967232465744019, -0.3936918079853058, -0.4312921166419983, -0.15548795461654663, -0.059993814677000046, -0.0770033523440361, 0.04631173238158226, 0.4906563460826874, 0.2677537202835083, 0.28889191150665283, -0.11903517693281174, -0.3098428249359131, 0.060008157044649124, 0.0474308617413044, -0.7042832374572754, -0.18062129616737366, 0.12447446584701538, -0.5826167464256287, -0.3967372477054596, 0.12407759577035904, -0.36646246910095215, -0.46928930282592773, -0.20249579846858978, 0.9220954775810242, -0.19914695620536804, -0.3606722354888916, 0.10858536511659622, -0.3950919508934021, 0.2182517796754837, 0.18598614633083344, -0.47940847277641296, 0.2682754099369049, 0.715519905090332, 0.9686760902404785, -0.3346513509750366, 0.14404414594173431, -0.38062068819999695, 0.7126753330230713, -0.1865793615579605, 0.7937013506889343, -0.803950309753418, -0.2740963101387024, 0.19371972978115082, -0.06579224020242691, -0.04866362735629082, -0.564932107925415, 0.3115943968296051, -0.7487287521362305, 0.2257475107908249, -0.02313176542520523, -1.0143918991088867, -0.23521873354911804, 0.09178011119365692, -1.0876216888427734, 0.6537841558456421, 0.1447191834449768, -0.946906328201294, 0.1942988783121109, -0.5395381450653076, -0.4273800849914551, 0.2818780541419983, 0.2862240672111511, -0.7929584383964539, -0.04529156535863876, -0.2383667230606079, 0.29879388213157654, -0.021304218098521233, -0.19886188209056854, -0.4996417462825775, -0.6157045364379883, 0.5235537886619568, -0.38952434062957764, 0.6427639722824097, 0.06354507058858871, -0.553779125213623, -0.29117459058761597, -0.7467745542526245, 0.26925888657569885, 0.13896967470645905, -0.5378826260566711, -0.6017038226127625, 0.10167323052883148, 0.027421141043305397, 0.12468995898962021, 0.2279944270849228, -0.4313105046749115, -0.2466483861207962, -0.18793316185474396, 0.8194655776023865, 0.8396840691566467, 0.2660502791404724, 0.4206901788711548, -0.5272022485733032, 0.5557023882865906, -0.14271260797977448, 0.38969194889068604, -0.20742815732955933, -0.6041089296340942, -0.5822902917861938, -0.8831875920295715, 0.32451143860816956, 0.3708968758583069, -0.6644046306610107, 0.35940229892730713, -0.12470253556966782, -0.43149274587631226, -0.2914115786552429, 0.24890927970409393, 0.4292606711387634, 0.483860582113266, 0.39057737588882446, -0.4245380759239197, -0.035855814814567566, -0.9233342409133911, -0.7106871604919434, -0.2598315477371216, 0.17208050191402435, 0.24343495070934296, 0.27911141514778137, 0.1053534671664238, 1.127176284790039, -0.4377010464668274, -0.43476301431655884, -0.35701632499694824, -0.4326021075248718, 0.26784610748291016, 0.4140779972076416, 0.2579183876514435, -0.9695271253585815, -0.5846282839775085, -0.34664714336395264, -0.12408111989498138, -0.2591310739517212, 0.05599159002304077, -0.1562078297138214, 0.3469325602054596, 0.4116241931915283, -0.6960158944129944, 0.7051091194152832, 0.5735964775085449, -0.31246551871299744, 0.261372447013855, -0.1826062798500061, -0.04810936003923416, -0.8175478577613831, 0.24103406071662903, -0.4419320523738861, -0.2407381683588028, -0.6347911953926086, 0.26467981934547424, 0.3773873746395111, -0.020657537505030632, -0.27431443333625793, 0.6643211841583252, -0.2976307272911072, 0.26664412021636963, -0.583012044429779, -0.08709880709648132, 0.23677809536457062, 0.2729370594024658, -0.0466180145740509, 0.5787798762321472, 0.30525264143943787, -0.45460808277130127, 0.021694127470254898, -0.09847280383110046, -0.13900025188922882, 0.4036390483379364, -0.5822833776473999, 0.12900134921073914, -0.20425866544246674, -0.0034342599101364613, -1.4003140926361084, 0.2276517152786255, 0.18729117512702942, -0.12757767736911774, 0.5564573407173157, -0.3680613338947296, -0.5468485951423645, -0.04205453395843506, -0.673687219619751, 0.2836936414241791, 0.5838056802749634, -0.3624263405799866, 0.5358754992485046, 0.40005922317504883, -0.17721101641654968, -0.4804926812648773, -0.6382336020469666, 0.09875111281871796, -0.38185688853263855, -0.3684687316417694, 0.5149070024490356, -0.009953165426850319, -0.08623059093952179, 0.19477355480194092, -0.2972269058227539, -0.3249453902244568, 0.28283464908599854, 0.34455591440200806, 0.3096061646938324, 0.14558394253253937, -0.009197685867547989, 0.13348393142223358, -0.5530027747154236, -0.23399432003498077, -0.28052183985710144, 0.41822370886802673, 0.4194713830947876, -0.5138741135597229, -0.40177422761917114, 0.224285289645195, 0.8237212300300598, -0.2183620184659958, 0.7550669312477112, 0.04652642831206322, -0.5423793196678162, -0.22910378873348236, -0.43822309374809265, -0.1262986660003662, -0.5084230303764343, -0.032531727105379105, -0.07499119639396667, -1.0213747024536133, 0.6418280601501465, -0.005412362050265074, 0.10886374115943909, 0.24717411398887634, 0.37520262598991394, -0.0012756759533658624, 0.6498789191246033, 0.3846176266670227, -0.4019061028957367, 0.7718316912651062, -0.2341897040605545, 0.7405471205711365, -0.7965981960296631, 0.08330340683460236, -0.4309483766555786, -0.26207172870635986, -0.36436033248901367, -0.08116073161363602, 0.25192806124687195, 0.04241307079792023, -0.0736997127532959, 0.6060960292816162, -0.4785814583301544, 0.536836564540863, 0.48901689052581787, 0.18977560102939606, 0.5153709650039673, 0.11536899209022522, -0.17770841717720032, -0.2727104723453522, -0.6868097186088562, -0.6369982957839966, 1.1271735429763794, -0.015537651255726814, 0.42098385095596313, 0.10638908296823502, 0.6603555679321289, 0.4715817868709564, 0.3811763525009155, -0.5149667859077454, 0.45649254322052, 0.07576934248209, -0.9006692171096802, -0.47606703639030457, -0.3268939256668091, -1.0631742477416992, 0.5249485969543457, -0.2161433845758438, -0.5636069774627686, -0.20989550650119781, 0.152883380651474, -0.28034481406211853, 0.4869154989719391, -0.5467159152030945, 0.6781694889068604, 0.2612457573413849, -0.8415032625198364, -0.25693321228027344, -0.38716983795166016, 0.08660918474197388, -0.371815025806427, 0.6497634649276733, -0.28206393122673035, -0.22924338281154633, 0.45011577010154724, -0.6096423864364624, 0.3965877592563629, -0.45133528113365173, -0.18872080743312836, 0.20139797031879425, 0.28160732984542847, 0.5451919436454773, -0.10392406582832336, 0.09781899303197861, -0.2321680635213852, -0.014416526071727276, -0.4009288549423218, -0.4804578721523285, 0.5630147457122803, -0.5003112554550171, -0.4838380515575409, -0.23430350422859192, -0.46597787737846375, -0.23444634675979614, 0.3906099200248718, 0.12657763063907623, 0.4583747386932373, 0.17800989747047424, -0.06383148580789566, 0.7899889945983887, -0.4035317897796631, 1.012447714805603, 0.6125518679618835, 0.20637167990207672, -0.49541956186294556, 0.9161295890808105, 0.4016569256782532, 0.3772051930427551, 0.5687081217765808, 0.23002749681472778, -0.3636893630027771, -0.6808786988258362, 0.009071447886526585, 0.17697349190711975, -0.7128447890281677, -0.47585487365722656, -0.4090326726436615, -0.33835339546203613, -0.08441102504730225, -0.2190014123916626, -0.3809429407119751, -0.6818962097167969, -0.07859836518764496, 0.013851052150130272, 0.31225472688674927, 0.3056274950504303, -0.23326922953128815, 0.18873967230319977, -0.7539985179901123, 0.20132224261760712, 0.6547743082046509, 0.43382659554481506, 0.17360064387321472, -0.7282834649085999, -0.08567599952220917, -0.056481800973415375, -0.2913917899131775, -0.6479727625846863, 0.3555929958820343, 0.4813368618488312, 0.6676549315452576, 0.599669873714447, 0.20934802293777466, 0.4952305555343628, -0.44520410895347595, 0.5578824281692505, 0.12176429480314255, -1.2102972269058228, 0.4401928186416626, -0.039351947605609894, 0.3017246425151825, 0.4842030704021454, 0.01987520605325699, -0.44631800055503845, -0.7094602584838867, -0.7295131087303162, -1.3456106185913086, 0.24928362667560577, 0.5198819637298584, 0.28446027636528015, 0.36337268352508545, 0.43085286021232605, -0.011656586080789566, 0.17173036932945251, -0.6612955331802368, -0.20217090845108032, -0.031557630747556686, -0.2010553777217865, 0.1364458203315735, -0.39705783128738403, 0.012081781402230263, -0.20635922253131866, 0.9226194024085999, 0.02434770204126835, 0.14426420629024506, 0.08372978866100311, -0.26093918085098267, 0.07058676332235336, 0.18468846380710602, 0.36219292879104614, 0.4760044515132904, -0.041291214525699615, 0.5135922431945801, -0.2625812888145447, -0.6096288561820984, 0.4386623799800873, -0.12612344324588776, -0.5106828808784485, 0.1030600443482399, 0.904536783695221, 0.26912379264831543, 0.1870850920677185, -0.6244708895683289, 0.5983728170394897, 0.025578806176781654, 0.1310591995716095, -0.0754743292927742, 0.3641562759876251, 0.35055121779441833, 0.11889493465423584, 0.5943829417228699, -0.20817722380161285, 0.17935234308242798, -0.3284860849380493, 0.15324461460113525, 0.7177848219871521, -0.3102889657020569, -0.13622333109378815, 0.5529226660728455, -0.1501884013414383, -0.25249069929122925, 0.1881020963191986, 0.13086608052253723, -0.611842691898346, 0.4329192638397217, 0.415910005569458, 0.9335371851921082, -0.13924811780452728, -0.027946358546614647, 0.2516809105873108, 0.27711284160614014, -0.040534816682338715, 0.3049238622188568, -0.2500057518482208, -0.9748396873474121, -0.24065403640270233, -0.3668983280658722, -0.48947855830192566, 0.16018222272396088, -0.6809571385383606, -0.15287795662879944, -0.5251030325889587, -0.34172773361206055, 0.011370777152478695, 0.09370506554841995, -0.3325885534286499, -0.05891672149300575, 0.12295340746641159, 0.9249686598777771, -0.8351040482521057, 0.7200441956520081, 0.5597383379936218, -0.04623161628842354, -0.6312494277954102, -0.053680676966905594, -0.048816222697496414, -0.9107763171195984, 0.13675713539123535, 0.3311110734939575, -0.06651183217763901, 0.044092219322919846, -0.7379277944564819, -0.9393248558044434, 1.1457825899124146, 0.556003212928772, -0.42690226435661316, 0.7112553119659424, 0.44343456625938416, 0.3816072940826416, -0.15137511491775513, -0.2161274403333664, 0.5215446352958679, 0.6335116028785706, -0.2141834944486618, -0.6541479825973511, 0.45251643657684326, -0.3867875337600708, 0.3754200339317322, 0.07842671126127243, -0.5941717028617859, 0.4100022315979004, 0.20768648386001587, -0.32943540811538696, 0.20054449141025543, -0.060326509177684784, 0.43665677309036255, 0.021819470450282097, 0.6053777933120728, 0.6516302227973938, 0.5387676358222961, -0.14608833193778992, 0.9756487607955933, -0.6127959489822388, 0.4551510512828827, 0.7275565266609192, -0.45859816670417786, 0.8211236000061035, 0.9514272212982178, -0.333076149225235, 0.2899687588214874, 0.34071630239486694, 0.23945628106594086, 1.056537389755249, 0.40074676275253296, -0.6244052648544312, -0.46821433305740356, -0.19863097369670868, -0.26023486256599426, 0.07271674275398254, 0.15438257157802582, -0.4009847640991211, -0.23751676082611084, -0.30015403032302856, 0.1923820674419403, -0.08602806180715561, -0.24615398049354553, 0.6703686714172363, 0.1972275823354721, -0.2892967462539673, 0.09417670965194702, -0.06587826460599899, 0.5523679852485657, -0.6464974284172058, -0.05874035879969597, -0.4169224202632904, 0.5612202286720276, -0.13350464403629303, -0.6121705174446106, 0.07115035504102707, -0.2943434715270996, -0.09502092003822327, -0.3886990249156952, 1.1443880796432495, -0.5164180994033813, -0.0830732211470604, 0.38828936219215393, 0.2237367331981659, -0.11720829457044601, -0.3941505253314972, -0.6260533332824707, 0.288215309381485, -0.1387893110513687, -0.4101560413837433, 0.34427890181541443, 0.2601027488708496, 0.22226743400096893, 0.8375027775764465, 0.7173821330070496, 0.1964140385389328, -0.04744500294327736, -0.01637452282011509, 0.7975419163703918, -0.41596874594688416, -0.381689190864563, -1.156384825706482, 0.502467155456543, -0.1847982108592987, 0.04957040771842003, 0.7695636749267578, 0.5910854935646057, 0.6134020686149597, -0.15775494277477264, 1.1083132028579712, 0.2276546210050583, 0.2558211088180542, -0.40357285737991333, 0.9819045662879944, -0.4319934844970703, 0.03286716341972351, -0.6849732398986816, -1.0832425355911255, -0.6288884878158569, 0.7269510626792908, 0.17112374305725098, -0.19465599954128265, 0.5296304821968079, 0.8817973136901855, 0.09608134627342224, -0.0705796629190445, 0.4408203959465027, -0.301877498626709, 0.5038848519325256, 0.6737244725227356, 0.89076828956604, -0.4563046097755432, 0.45632845163345337, -0.1974366009235382, -0.3598049581050873, -0.13726641237735748, -1.0341843366622925, -0.7310118079185486, -0.514535129070282, -0.7496660947799683, -0.38173848390579224, 0.11239936202764511, 0.45882874727249146, 0.622969925403595, -0.920579731464386, 0.06466937065124512, -0.08929849416017532, 0.3147255480289459, -0.29314807057380676, -0.2358202487230301, 0.46356984972953796, -0.0577545166015625, -0.22444619238376617, -0.04820093885064125, 0.7552157640457153, 0.505685567855835, -0.15501625835895538, -0.1279475837945938, 0.13783259689807892, 0.3890884518623352, 0.39836055040359497, 0.20643626153469086, -0.20484058558940887, -0.4495006203651428, -0.20103111863136292, -0.11933901160955429, -0.2096664011478424, 0.9136296510696411, -0.4828616976737976, 0.4177201986312866, 0.5325416326522827, 0.5917957425117493, 0.5705357193946838, -0.5252530574798584, 0.29959985613822937, -0.40047693252563477, 0.26517564058303833, 0.00006865681643830612, 0.6069127321243286, 0.48558810353279114, -0.12691998481750488, 0.5781204104423523, 0.6288741230964661, -0.05753247067332268, -0.8975635170936584, 0.14877259731292725, -0.7139625549316406, -0.4932863116264343, 1.1192944049835205, -0.5981982350349426, -0.14794334769248962, -0.2851714491844177, -0.06089406460523605, 0.2131137102842331, -0.06711816787719727, 1.064409852027893, 1.0362831354141235, 0.1682693511247635, -0.07054135948419571, -0.20857444405555725, 0.45479097962379456, 0.3310231864452362, -0.5080614686012268, 0.04240220785140991, 0.11008106917142868, 0.5504661202430725, 0.029868770390748978, 0.5419095158576965, -0.4055667221546173, 0.06012139096856117, -0.2656633257865906, -0.00932239554822445, -0.15802384912967682, 0.1110389307141304, -0.26188501715660095, 0.4191816449165344, 0.10865689814090729, -0.19515271484851837 ]
http://arxiv.org/abs/2405.13516v2
http://arxiv.org/pdf/2405.13516v2
LIRE: listwise reward enhancement for preference alignment
2024-05-22T10:21:50
2024-06-04T08:21:05
Mingye Zhu, Yi Liu, Lei Zhang, Junbo Guo, Zhendong Mao
cs.CL
cs.CL, cs.LG
Recently, tremendous strides have been made to align the generation of Large Language Models (LLMs) with human values to mitigate toxic or unhelpful content. Leveraging Reinforcement Learning from Human Feedback (RLHF) proves effective and is widely adopted by researchers. However, implementing RLHF is complex, and its sensitivity to hyperparameters renders achieving stable performance and scalability challenging. Furthermore, prevailing approaches to preference alignment primarily concentrate on pairwise comparisons, with limited exploration into multi-response scenarios, thereby overlooking the potential richness within the candidate pool. For the above reasons, we propose a new approach: Listwise Reward Enhancement for Preference Alignment (LIRE), a gradient-based reward optimization approach that incorporates the offline rewards of multiple responses into a streamlined listwise framework, thus eliminating the need for online sampling during training. LIRE is straightforward to implement, requiring minimal parameter tuning, and seamlessly aligns with the pairwise paradigm while naturally extending to multi-response scenarios. Moreover, we introduce a self-enhancement algorithm aimed at iteratively refining the reward during training. Our experiments demonstrate that LIRE consistently outperforms existing methods across several benchmarks on dialogue and summarization tasks, with good transferability to out-of-distribution data, assessed using proxy reward models and human annotators.
[ -0.40639519691467285, -0.15257877111434937, 0.14039558172225952, 0.0578150674700737, 0.050189342349767685, 0.16823911666870117, -0.46404093503952026, -0.383566677570343, 0.5356807112693787, 0.6053292751312256, -0.6815134286880493, 0.07686591148376465, -0.48675891757011414, -0.2268572300672531, -0.02000449411571026, 1.378176212310791, 0.1513376384973526, -0.1522592157125473, -0.10873237252235413, -0.5472118854522705, -0.3229420483112335, -0.5026772022247314, -0.6051430702209473, -0.4990346133708954, 0.9303068518638611, 0.6627350449562073, 0.396189421415329, 0.5333986282348633, 0.43729716539382935, 0.18713822960853577, 0.21517068147659302, 0.5477108955383301, -0.7125667333602905, 0.24318072199821472, -0.20287303626537323, -0.022900234907865524, -0.5703835487365723, -0.09738732874393463, 0.4833148419857025, 0.2988375127315521, -0.4067206084728241, 0.14824558794498444, 0.36162683367729187, 1.1542527675628662, -0.9204679727554321, -0.049269478768110275, -0.403053343296051, -0.2950320839881897, 0.11396347731351852, -0.36621662974357605, -0.28522780537605286, -0.45888230204582214, 0.20808570086956024, -0.5329220294952393, -0.3080158233642578, 0.08763555437326431, 0.8652735352516174, 0.4490286111831665, -0.15587571263313293, -0.01527037750929594, -0.5211881995201111, 0.8263651132583618, -0.6604142785072327, 0.37662002444267273, 0.2917361855506897, 0.14253853261470795, -0.007214507553726435, -0.2765055000782013, -0.22060756385326385, -0.023219969123601913, 0.01190178282558918, 0.29398980736732483, 0.19004206359386444, 0.1454165279865265, 0.05598300322890282, 0.4053915739059448, -0.5872783064842224, 0.2904321253299713, 0.11171071976423264, -0.2198501080274582, 0.6885225176811218, -0.035547465085983276, -0.04429017752408981, 0.04241614416241646, -0.449471652507782, -0.5534090995788574, -0.4021678566932678, 0.6305464506149292, 0.45552858710289, 0.47429904341697693, -0.07585535943508148, 0.389363557100296, -0.1966789960861206, 0.8417133688926697, 0.2695772349834442, -0.29339611530303955, 0.21145495772361755, -0.270073801279068, 0.018837042152881622, 0.24953916668891907, 0.8028420209884644, 0.7575234770774841, 0.09041285514831543, 0.010807614773511887, -0.366956889629364, -0.01031997986137867, 0.026952730491757393, -0.8076149821281433, -0.12723295390605927, 0.3411089777946472, -0.4136255383491516, -0.5107084512710571, -0.010542637668550014, -0.8211955428123474, -0.8449764251708984, -0.15536659955978394, 0.2947377860546112, 0.015729451552033424, -0.27643129229545593, 0.19791142642498016, -0.08180178701877594, 0.03190607950091362, 0.252714067697525, -1.4024041891098022, 0.278606653213501, 0.59853196144104, 0.5236896872520447, -0.4669259786605835, -0.282717227935791, -1.0922887325286865, 0.13712136447429657, 0.06175801530480385, 0.9347013235092163, -0.424092561006546, -0.21503984928131104, -0.0322866216301918, -0.24412596225738525, -0.01279982179403305, -0.4784826934337616, 0.6538917422294617, -0.29485493898391724, 0.40621140599250793, -0.25976327061653137, -0.5928637385368347, 0.06663452088832855, 0.350262850522995, -0.7744154930114746, 1.235211730003357, 0.34275421500205994, -0.9385095238685608, 0.4612925350666046, -0.6732836961746216, -0.15189971029758453, -0.12833856046199799, -0.31746605038642883, -0.4434605538845062, -0.2878934442996979, 0.3870173990726471, 0.17903867363929749, -0.23703046143054962, 0.2642621099948883, -0.2830929756164551, -0.41086065769195557, 0.3713953197002411, -0.14317266643047333, 0.18763276934623718, 0.010063487105071545, -0.5448283553123474, 0.7822575569152832, -0.5169041156768799, 0.09351293742656708, -0.07844594866037369, -0.3423590064048767, -0.37850967049598694, 0.009777725674211979, 0.006970101501792669, 0.3495086431503296, 0.2819436490535736, -0.431614488363266, 0.4256013333797455, -0.7712180614471436, 0.19480659067630768, 0.9866539239883423, -0.04906710609793663, 0.8545825481414795, -0.7076606750488281, 0.39998680353164673, -0.3098520338535309, 0.3061598241329193, 0.1708206981420517, -0.23005910217761993, -0.6627353429794312, -0.445311039686203, 0.30794140696525574, 0.5418672561645508, -0.30915677547454834, 0.7184240221977234, -0.39923903346061707, -0.2269579917192459, -0.7254028916358948, 0.35949915647506714, 0.29395443201065063, 0.5654605031013489, 0.4457581341266632, -0.3055013120174408, -0.5989758968353271, -0.9369162917137146, -0.286659300327301, -0.27213627099990845, 0.18582125008106232, 0.49719002842903137, -0.0033155293203890324, -0.1285504698753357, 0.9154981374740601, -0.3565041124820709, -0.3687300980091095, -0.49612781405448914, 0.07711043953895569, 0.3382742404937744, 0.35163414478302, 0.16007813811302185, -0.4851427674293518, -0.3434588611125946, -0.06831824034452438, -0.27341219782829285, -0.10019924491643906, -0.1968814879655838, -0.205276757478714, 0.2399384081363678, 0.07644081860780716, 0.04740505293011665, 0.22634924948215485, 0.6259555220603943, -0.08186845481395721, 0.19077882170677185, -0.22023850679397583, 0.276606023311615, -0.8723816275596619, 0.0870823934674263, -0.08935879915952682, -0.41376248002052307, -0.32666072249412537, -0.3583254814147949, 0.12969306111335754, 0.28731805086135864, -0.27042829990386963, 0.8823195695877075, -0.12404440343379974, -0.0826454758644104, -0.47753599286079407, 0.1515960693359375, 0.026042390614748, 0.6580771803855896, 0.31775474548339844, 0.668110191822052, 0.04087744280695915, -0.5781344175338745, 0.27291935682296753, 0.24904954433441162, -0.25173768401145935, 0.46620652079582214, -0.3290651738643646, 0.11473321169614792, -0.07267219573259354, 0.3748829960823059, -0.8102928400039673, -0.09549824148416519, 0.4395696222782135, -0.2523399591445923, 0.06300618499517441, -0.0811772271990776, 0.007027928251773119, 0.014342251233756542, -0.7974845767021179, 0.37689104676246643, 0.4415852129459381, -0.8236531615257263, 0.486665815114975, 0.4077340364456177, -0.09236255288124084, -1.101506233215332, -0.26227909326553345, -0.2531561851501465, -0.47511905431747437, -0.2948635220527649, 0.3838445544242859, -0.41506311297416687, -0.2132776826620102, -0.44258081912994385, -0.1398879438638687, 0.3729749619960785, 0.10193207114934921, 0.1716042309999466, 0.4462532699108124, 0.17429031431674957, 0.08672402054071426, -0.15766052901744843, -0.22190363705158234, -0.3072505593299866, -0.42002934217453003, 0.5479203462600708, -0.18423403799533844, -0.03344263136386871, -0.20185524225234985, 0.1493898332118988, 0.14404594898223877, -0.4039822518825531, 0.4251433312892914, 0.5429134964942932, -0.019993195310235023, -0.25936833024024963, -0.6998041868209839, -0.5382570624351501, -0.46441274881362915, 0.170603409409523, -0.05142270028591156, -1.0308111906051636, 0.20119254291057587, 0.029981622472405434, 0.2305532693862915, 0.014146794565021992, 0.47576892375946045, -0.15050312876701355, 1.0318673849105835, 0.5153752565383911, -0.45379117131233215, 0.8186086416244507, -0.14606843888759613, 0.1416119635105133, -0.8230008482933044, -0.09111760556697845, -0.3328435719013214, -0.5264884829521179, -0.566660463809967, -0.08814388513565063, 0.29243728518486023, 0.16147583723068237, -0.4292100667953491, 0.12651453912258148, -0.673944890499115, 0.352043479681015, 0.4568190276622772, 0.2387361079454422, 0.23791761696338654, 0.10359802842140198, 0.042883746325969696, -0.21185649931430817, -0.7819690704345703, -0.22562003135681152, 0.9366511106491089, 0.24140900373458862, 0.9323272705078125, 0.10895156860351562, 0.9770155549049377, 0.3317561745643616, 0.3600720167160034, -0.8439458012580872, 0.27034780383110046, -0.0011307403910905123, -0.16794538497924805, -0.6016737222671509, -0.35728833079338074, -0.8907368779182434, 0.10969968885183334, -0.3708331286907196, -1.011946201324463, 0.3730231523513794, 0.3567064106464386, -0.6274315118789673, 0.17504671216011047, -0.24307622015476227, 0.814659059047699, -0.6999057531356812, -0.8643355965614319, -0.12891729176044464, -0.7439970374107361, 0.21676190197467804, 0.13467736542224884, 0.4450477957725525, -0.15880846977233887, -0.022867120802402496, 0.8229541778564453, -0.27540329098701477, 0.5846020579338074, -0.04846636950969696, -0.2573837637901306, -0.2381218671798706, 0.07149667292833328, 0.6752552390098572, 0.19061335921287537, -0.10876189917325974, -0.37582993507385254, 0.022914426401257515, -0.34837108850479126, -0.8459405899047852, 0.7831238508224487, -0.7698165774345398, -0.44826292991638184, -0.4982477128505707, -0.6942716836929321, -0.4056549072265625, 0.05337103456258774, 0.1950269192457199, 0.36523690819740295, -0.04736043140292168, -0.24284915626049042, 0.7204453349113464, -0.12768006324768066, 0.5223230719566345, 0.34282591938972473, -0.5348817110061646, -0.7183263301849365, 1.2260533571243286, -0.3680140972137451, 0.36169713735580444, 0.6192110776901245, 0.4672147333621979, -0.6760345101356506, -0.16324123740196228, -0.4873480498790741, 0.2805885076522827, -0.6332066059112549, -0.014034410007297993, -0.3928930461406708, -0.005818777717649937, -0.27120909094810486, -0.27906516194343567, -0.3923870921134949, -0.5758039951324463, 0.004524736199527979, 0.018224461004137993, 0.31388261914253235, 0.5360347032546997, -0.2596244215965271, 0.16197603940963745, -0.7708800435066223, 0.07820959389209747, 0.38060662150382996, 0.34548214077949524, -0.09378008544445038, -0.6287274360656738, -0.2918202579021454, -0.039682433009147644, -0.05738458409905434, -0.5760940909385681, 0.39592233300209045, 0.09638497233390808, 0.5317407250404358, 0.49397552013397217, 0.19704927504062653, 0.6741780042648315, -0.07126807421445847, 0.5088815689086914, 0.4435724914073944, -0.6450720429420471, 0.5309392213821411, -0.24157387018203735, 0.007067225407809019, 0.9263054132461548, 0.2039870321750641, -0.6083289384841919, 0.007829364389181137, -0.5604203343391418, -0.9056068658828735, 0.6053354144096375, -0.1963660717010498, -0.2687085270881653, 0.2733743190765381, 0.20798134803771973, 0.23601919412612915, 0.13372841477394104, -0.8374428749084473, -0.28454867005348206, -0.40491166710853577, -0.25685915350914, -0.3202432096004486, -0.12002190202474594, -0.3885461091995239, -0.19122178852558136, 0.7896881103515625, -0.38593336939811707, 0.021535199135541916, 0.2005978524684906, -0.12178760766983032, -0.08460955321788788, 0.5689990520477295, 0.6664706468582153, 0.3902696669101715, -0.5732463598251343, 0.055553603917360306, -0.03520350903272629, 0.13670757412910461, 0.3164106011390686, 0.041372150182724, 0.03915340080857277, -0.4640338122844696, 0.021901125088334084, 1.0053850412368774, 0.3242524266242981, -0.8119629621505737, 0.72418612241745, -0.2954670190811157, -0.10298305749893188, -0.1456916332244873, 0.20381206274032593, -0.05058901757001877, 0.20168130099773407, 0.04446176812052727, -0.038532763719558716, 0.21044610440731049, -0.3270229697227478, 0.1790062040090561, 0.4176598787307739, -0.7089240550994873, 0.1209600493311882, 0.4474036693572998, 0.20252573490142822, -0.300674706697464, 0.3617016077041626, -0.16227328777313232, -0.4371439218521118, 0.16866885125637054, 0.34985649585723877, 0.6456258893013, -0.11893978714942932, 0.32277223467826843, 0.5642978549003601, 0.03549351915717125, -0.2858870327472687, 0.2927997410297394, -0.2664673626422882, -0.9809393286705017, -0.32353389263153076, -0.37685510516166687, -0.48404446244239807, 0.10599663108587265, -0.728263258934021, 0.23424898087978363, -0.3610595166683197, -0.07054132223129272, -0.14761219918727875, -0.190752774477005, -0.20199595391750336, -0.035874225199222565, 0.20066146552562714, 0.5073190331459045, -0.5735999941825867, 0.8308365345001221, 0.588741660118103, -0.648068904876709, -0.942214846611023, -0.08285573124885559, -0.013672824017703533, -0.7882543802261353, 0.6497801542282104, 0.13674668967723846, -0.43840065598487854, 0.15183930099010468, -0.06358794122934341, -0.6818752288818359, 0.9021385312080383, 0.23375655710697174, -0.7310904264450073, -0.03750809654593468, 0.011293799616396427, 0.20120330154895782, -0.40683555603027344, 0.6957141757011414, 0.6111581921577454, 0.5747765898704529, -0.12989498674869537, -0.9565368294715881, -0.06842923164367676, -0.17777234315872192, -0.17626971006393433, 0.30202627182006836, -0.7579817175865173, 0.25496402382850647, -0.10035177320241928, 0.17652355134487152, 0.018097667023539543, 0.42209964990615845, 0.4778822362422943, -0.06036235764622688, 0.8271912336349487, 0.39743301272392273, 0.8986203670501709, 0.11587703227996826, 0.9708707332611084, -0.43341881036758423, 0.19381208717823029, 1.3610492944717407, -0.530782163143158, 0.8347295522689819, 0.5954247117042542, 0.0644819512963295, 0.5876357555389404, 0.8610185384750366, 0.2592101991176605, 0.704975962638855, 0.18836751580238342, -0.2846604585647583, -0.46562817692756653, -0.5653250217437744, -0.24204568564891815, 0.2962765693664551, 0.11149749904870987, -0.06533317267894745, 0.002584171947091818, -0.07533172518014908, -0.22956402599811554, 0.24949753284454346, -0.32250094413757324, 0.9738799333572388, -0.10163753479719162, -1.039366364479065, 0.7615196704864502, -0.15728750824928284, 0.9671491980552673, -0.6425326466560364, -0.04036987945437431, -0.3273431360721588, 0.3608245253562927, -0.5137718915939331, -0.5732431411743164, -0.2805042266845703, -0.3779238760471344, -0.18120765686035156, -0.427949994802475, 0.7386751174926758, -0.6244863867759705, -0.016246087849140167, 0.6023768186569214, 0.5324317216873169, -0.16740551590919495, 0.05888984724879265, -0.8332861065864563, 0.013027172535657883, 0.2084183394908905, -0.09049618244171143, 0.6179535984992981, -0.3826825022697449, -0.2168773114681244, 0.6595190763473511, 0.5889164209365845, 0.22465021908283234, -0.3581859767436981, 0.5615975856781006, 0.7489696741104126, -0.5008975863456726, -0.760242760181427, -0.7757440209388733, 0.554060161113739, -0.2737232446670532, -0.2046552151441574, 0.4287846088409424, 0.7432388067245483, 0.6993545889854431, 0.21509407460689545, 0.8443728089332581, 0.29936811327934265, 0.6836156845092773, -0.40168964862823486, 0.3530511260032654, -0.5771465301513672, 0.4233378469944, -0.35454753041267395, -0.9094088077545166, -0.12427633255720139, 0.6446377635002136, -0.2300012856721878, -0.0529150664806366, 0.7255192995071411, 0.9531715512275696, 0.08328243345022202, -0.16359028220176697, 0.16684649884700775, -0.38994258642196655, 0.21030555665493011, 0.6872943043708801, 1.1415433883666992, -0.040255796164274216, 0.44144299626350403, -0.2940099537372589, -0.4127168655395508, -0.21466666460037231, -0.9579188227653503, -0.7292511463165283, -0.5257968306541443, -0.19366367161273956, -0.6378661394119263, 0.2531616985797882, 1.4303568601608276, 0.681260347366333, -0.8705929517745972, -0.7427563071250916, 0.1861160695552826, 0.1622513085603714, -0.48944568634033203, -0.16709637641906738, 0.3328763544559479, -0.280396044254303, -0.4740718901157379, 0.5848410725593567, 0.4979487657546997, -0.19080331921577454, -0.15359166264533997, -0.6559087634086609, -0.31046542525291443, -0.05664386227726936, 0.24586142599582672, 0.5105963945388794, -0.6478221416473389, -0.3715539276599884, 0.15261998772621155, -0.1803915798664093, 0.4130196273326874, 0.9987098574638367, -0.7755681872367859, 0.4373423159122467, 0.5229043960571289, 0.9856175184249878, 0.5900173187255859, 0.21129511296749115, 0.6303313970565796, -0.5479547381401062, 0.03409751132130623, 0.17482644319534302, 0.4100175201892853, 0.3292384743690491, -0.4426717460155487, 0.5207793712615967, -0.010847633704543114, -0.7615253329277039, -0.7039353251457214, 0.3409098982810974, -1.1819895505905151, -0.0883760079741478, 1.0929259061813354, 0.16414839029312134, 0.0191902257502079, -0.03273800015449524, -0.41148877143859863, 0.17927126586437225, -0.7983536124229431, 0.7602141499519348, 0.4662632346153259, -0.5958876609802246, -0.36884865164756775, -0.19912855327129364, 0.8134045600891113, 0.8907113671302795, -0.8309517502784729, 0.2187568098306656, 0.4732806384563446, 0.15832841396331787, -0.24828645586967468, 0.8584777116775513, 0.11513561010360718, 0.2949230968952179, -0.828959047794342, 0.4268025755882263, 0.0408303327858448, -0.10221937298774719, -0.5996024012565613, -0.08308310061693192, 0.6078779101371765, 0.0486520417034626 ]
http://arxiv.org/abs/2405.13514v1
http://arxiv.org/pdf/2405.13514v1
Joint Optimization of Streaming and Non-Streaming Automatic Speech Recognition with Multi-Decoder and Knowledge Distillation
2024-05-22T10:17:30
2024-05-22T10:17:30
Muhammad Shakeel, Yui Sudo, Yifan Peng, Shinji Watanabe
eess.AS
eess.AS, cs.CL, cs.SD
End-to-end (E2E) automatic speech recognition (ASR) can operate in two modes: streaming and non-streaming, each with its pros and cons. Streaming ASR processes the speech frames in real-time as it is being received, while non-streaming ASR waits for the entire speech utterance; thus, professionals may have to operate in either mode to satisfy their application. In this work, we present joint optimization of streaming and non-streaming ASR based on multi-decoder and knowledge distillation. Primarily, we study 1) the encoder integration of these ASR modules, followed by 2) separate decoders to make the switching mode flexible, and enhancing performance by 3) incorporating similarity-preserving knowledge distillation between the two modular encoders and decoders. Evaluation results show 2.6%-5.3% relative character error rate reductions (CERR) on CSJ for streaming ASR, and 8.3%-9.7% relative CERRs for non-streaming ASR within a single model compared to multiple standalone modules.
[ -0.5494672060012817, -0.4387560188770294, 0.2368830442428589, -0.215284526348114, -0.5750560760498047, 0.2097446322441101, -0.47073400020599365, -0.48268669843673706, 0.16791459918022156, 0.1926404982805252, -0.3672015070915222, 0.07574345916509628, -0.8781436085700989, 0.3234362304210663, -0.4277895390987396, 0.6284792423248291, -0.21362920105457306, 0.151723250746727, -0.35348910093307495, -0.35181403160095215, -0.3075285255908966, -0.445934534072876, -0.8977283239364624, -0.44547298550605774, 0.12483952194452286, 0.07389561831951141, 0.1121620312333107, 0.6896968483924866, 0.22027111053466797, 0.3748176395893097, -0.10339087247848511, 0.4121549427509308, -0.3073031008243561, 0.40964412689208984, 0.12020725756883621, -0.3049886226654053, -0.15419168770313263, -0.42209434509277344, 0.5654144287109375, 0.20704101026058197, -0.18996267020702362, 0.3204203248023987, 0.28231745958328247, 0.898292064666748, -0.9332142472267151, 0.4280748963356018, -0.4541711211204529, -0.025995410978794098, -0.16797198355197906, -0.3123573958873749, -0.17067784070968628, -0.19793975353240967, 0.2479463815689087, -0.5197259187698364, 0.0258178673684597, -0.21100880205631256, 0.6093702912330627, 0.7713745832443237, -0.27364322543144226, -0.2864980101585388, -0.9942227602005005, 0.6754603385925293, -0.589872419834137, 0.7147558331489563, 0.372991144657135, 0.6537366509437561, 0.270638644695282, -0.5295032262802124, -0.7695866823196411, 0.18062299489974976, 0.08891119807958603, 0.41174018383026123, -0.4579072594642639, 0.13921913504600525, 0.21931728720664978, 0.17888791859149933, -0.5698556900024414, -0.07924000173807144, -0.384509801864624, -0.3684861361980438, 0.683369517326355, -0.18551306426525116, -0.06356050074100494, 0.3849920332431793, -0.1964401751756668, -0.14787860214710236, -0.21549853682518005, 0.25218579173088074, 0.3011109232902527, 0.1903361827135086, 0.027071265503764153, 0.3318873345851898, -0.2965123951435089, 0.6878066062927246, 0.21083390712738037, -0.49058789014816284, 0.4226572811603546, -0.20813797414302826, -0.08758814632892609, 0.3713124096393585, 0.6337246298789978, 0.21882866322994232, 0.15471649169921875, -0.22379741072654724, -0.42153313755989075, 0.2953663170337677, 0.05377282574772835, -0.4811546504497528, -0.2329345941543579, 0.3213414251804352, -0.483851820230484, 0.13610029220581055, -0.07241548597812653, -0.6148307919502258, 0.055992357432842255, -0.800913393497467, 0.8323456048965454, -0.37833917140960693, -0.42963922023773193, 0.028926007449626923, -0.48359617590904236, 0.12772607803344727, 0.2995665669441223, -0.8490995764732361, 0.6375772356987, 0.32958388328552246, 0.8889109492301941, 0.029185527935624123, 0.07513035833835602, -0.744813859462738, 0.4735194444656372, 0.2120385766029358, 0.7773324251174927, -0.34958335757255554, -0.3548387885093689, -0.3795180320739746, -0.3216639757156372, -0.41782423853874207, -0.5707219839096069, 0.45030930638313293, -0.6017512083053589, -0.23824991285800934, -0.12475590407848358, -0.76214998960495, -0.5469111800193787, -0.09683720767498016, -0.7871904969215393, 0.6716846823692322, -0.40263620018959045, -0.5740764737129211, 0.37358763813972473, -0.7949141263961792, -0.5634667873382568, -0.0051710293628275394, -0.08325153589248657, -0.5216007232666016, 0.046269096434116364, 0.2543332874774933, 0.06614851951599121, -0.3292546272277832, 0.09080375730991364, 0.10398557782173157, -0.1879059374332428, 0.042499881237745285, -0.6821150183677673, 0.39748358726501465, 0.4373592436313629, -0.5151703357696533, 0.024196820333600044, -0.7198843955993652, 0.031525030732154846, -0.2318768948316574, -0.6526547074317932, -0.12228208780288696, 0.555923342704773, 0.23309721052646637, 0.17816221714019775, 0.3085722327232361, -0.6234455704689026, -0.3337772786617279, -0.10195570439100266, 0.7342844009399414, 0.31078702211380005, -0.07823630422353745, 0.26650726795196533, -0.37302106618881226, 0.18378576636314392, 0.2278880476951599, 0.25315937399864197, 0.23712120950222015, -0.46340498328208923, -0.8769680261611938, -0.32828783988952637, 0.26035499572753906, 0.7452985048294067, -0.8641048073768616, 0.603880763053894, -0.08633589744567871, -0.3047926127910614, -0.7983100414276123, 0.05393948778510094, 0.624137282371521, 0.44131794571876526, 0.7351740598678589, -0.08047699183225632, -0.5630009770393372, -0.7365683913230896, -0.3089483678340912, -0.11691654473543167, 0.05214100703597069, 0.005468193907290697, 0.1382567137479782, 0.03771375119686127, 0.9679783582687378, -0.2981190085411072, -0.43209272623062134, -0.4014728367328644, 0.06536416709423065, 0.13648740947246552, 0.23245178163051605, 0.31443163752555847, -0.880388617515564, -0.7787201404571533, 0.05956102907657623, -0.47442352771759033, -0.022029822692275047, 0.08481979370117188, 0.32421523332595825, 0.5570110082626343, 0.41795873641967773, -0.12136708945035934, 0.47939079999923706, 0.5809881687164307, 0.22249844670295715, 0.2218039482831955, -0.3121219277381897, 0.0965350940823555, -0.895448625087738, -0.026960890740156174, -0.07095497101545334, -0.1884690821170807, -0.8463830947875977, -0.2821151614189148, 0.08291330188512802, 0.05693589150905609, -0.27984580397605896, 0.06705650687217712, -0.7940149307250977, 0.07118367403745651, -0.3605334758758545, -0.00824733916670084, 0.014682505279779434, 0.4484616219997406, 0.278412789106369, 0.740961492061615, 0.9338293075561523, -0.6519944071769714, 0.5355616807937622, 0.11150524765253067, -0.1499989777803421, 0.12890969216823578, -0.4705325961112976, 0.29858270287513733, -0.3462238013744354, 0.1157969981431961, -0.8566152453422546, 0.13405299186706543, -0.10885406285524368, -0.4639056622982025, 0.7456840872764587, -0.36575737595558167, -0.4021538496017456, -0.19195330142974854, -0.24050618708133698, 0.28304457664489746, 0.7213500738143921, -0.5001588463783264, 0.596351146697998, 0.628645122051239, 0.14961697161197662, -0.33992451429367065, -0.6370460987091064, -0.08198405802249908, -0.3229665458202362, -0.5523707270622253, 0.316096693277359, 0.12447217106819153, -0.025366777554154396, -0.04937676712870598, -0.3287605047225952, -0.10366746038198471, -0.41452524065971375, -0.04881645366549492, 0.016978468745946884, -0.1280214637517929, -0.24466173350811005, 0.4536645710468292, -0.42663171887397766, -0.22572417557239532, -0.5350661873817444, 0.31436407566070557, 0.17477527260780334, -0.4288232624530792, -0.8460817337036133, 0.6090187430381775, 0.4009857177734375, -0.27463430166244507, 0.6500965356826782, 0.699242353439331, -0.36567017436027527, -0.1103300005197525, -0.8765972852706909, -0.19472311437129974, -0.5311632752418518, 0.11854933202266693, -0.4675208330154419, -0.8350719213485718, 0.447169691324234, -0.002535319421440363, -0.022504564374685287, 0.3102762699127197, 0.39852291345596313, -0.06047684699296951, 0.7197758555412292, 0.23656035959720612, -0.11810522526502609, 0.4571879506111145, -0.3018246293067932, 0.3406963050365448, -0.9456855058670044, -0.3665807545185089, -0.29933634400367737, -0.5163235664367676, -0.40396353602409363, -0.491142600774765, 0.8234154582023621, 0.1756904274225235, 0.2540299594402313, 0.4628748893737793, -0.5620959401130676, 0.49933403730392456, 0.6447730660438538, 0.0012009600177407265, 0.3569696545600891, 0.09952425211668015, 0.035691820085048676, 0.0006473501562140882, -0.6700154542922974, -0.334225058555603, 1.1305190324783325, 0.08748047053813934, 0.6051462292671204, 0.2021401971578598, 0.7900441884994507, 0.06679941713809967, -0.7333502173423767, -0.8068686127662659, 0.3809182345867157, -0.5463104248046875, -0.34682130813598633, -0.5330221056938171, -0.40491577982902527, -0.5188112258911133, 0.2564815282821655, -0.03446962684392929, -0.442772775888443, 0.3178710639476776, 0.4198545515537262, -0.30758383870124817, 0.3559947907924652, -0.8348533511161804, 0.2974674105644226, -0.077670156955719, -0.1369224637746811, -0.37064042687416077, -1.0352391004562378, -0.15103784203529358, -0.09175483882427216, 0.05533406510949135, 0.07701238989830017, 0.046004168689250946, 0.6120817065238953, -0.30600449442863464, 0.368353009223938, -0.5567236542701721, 0.3814507722854614, 0.5597279071807861, -0.33487170934677124, 0.40776950120925903, -0.0681019201874733, -0.11472297459840775, 0.32508111000061035, 0.32368993759155273, 0.02767968736588955, -0.5324227213859558, 0.2843584418296814, -1.0479000806808472, -0.30731356143951416, -0.3200007379055023, -0.05618830397725105, -0.18735799193382263, -0.020778758451342583, 0.46335119009017944, 0.7479794025421143, 0.058530036360025406, 0.10894785821437836, 0.8379480242729187, 0.03920505568385124, 0.8791204690933228, 0.4068189859390259, 0.3339473307132721, -0.46869397163391113, 1.0874286890029907, 0.3933981955051422, 0.5729334950447083, 0.7794501185417175, 0.10472936183214188, -0.8485405445098877, -0.9193271398544312, -0.6287067532539368, -0.08232548087835312, -0.4706752300262451, -0.28833627700805664, -0.8481288552284241, -0.5889101624488831, -0.5771540403366089, 0.12490048259496689, -0.4108096659183502, -0.46579334139823914, -0.5736100077629089, 0.2535814046859741, 0.6205447316169739, 0.32560765743255615, -0.3902927041053772, 0.05988040566444397, -0.8715642690658569, 0.5130046606063843, 0.4228276312351227, 0.12469596415758133, -0.0006583734066225588, -0.5873112082481384, -0.27305975556373596, 0.128617063164711, -0.21831990778446198, -0.7340847253799438, 0.4242713749408722, 0.9248604774475098, 0.7087888121604919, 0.6629483103752136, 0.3299955129623413, 0.8536635041236877, -0.65497225522995, 0.2588207423686981, 0.25634777545928955, -0.8813133239746094, 0.4899427890777588, -0.040380317717790604, 0.2438630759716034, 0.8333372473716736, 0.15906347334384918, -0.4120403826236725, -0.22998479008674622, 0.15389437973499298, -0.9195995330810547, 0.8839583396911621, 0.3491435647010803, -0.2469702512025833, 0.3387337625026703, 0.10116880387067795, 0.15289470553398132, 0.1847550868988037, -0.18253761529922485, -0.34671247005462646, -0.4989783465862274, -0.0239858441054821, -0.008011945523321629, -0.04135794937610626, -0.08145071566104889, -0.5823833346366882, 0.6444926857948303, -0.021174494177103043, 0.45689353346824646, 0.09475629776716232, -0.24803344905376434, -0.11824105679988861, 0.2099858671426773, 0.4303010106086731, 0.2319013476371765, -0.1434776782989502, -0.03678513690829277, 0.2682477831840515, -0.5893595814704895, 0.15456674993038177, 0.10592427104711533, -0.014032192528247833, 0.13524992763996124, 0.12156259268522263, 1.2237120866775513, -0.09900931268930435, -0.44226881861686707, 0.3520299196243286, 0.011445204727351665, -0.37084922194480896, -0.5874349474906921, 0.25248104333877563, 0.24159614741802216, 0.4271060526371002, 0.40639805793762207, 0.342712938785553, 0.5882161855697632, -0.25872620940208435, 0.0779782235622406, 0.2502898871898651, 0.05574074387550354, -0.3378547132015228, 0.6930330991744995, 0.3342829644680023, -0.21066914498806, 0.49633586406707764, -0.37892040610313416, -0.49887320399284363, 0.4368972182273865, 0.5533732771873474, 1.1318707466125488, -0.3653937876224518, -0.13022559881210327, 0.4677482843399048, -0.12348926812410355, -0.054723210632801056, 0.3884890675544739, -0.47161781787872314, -0.6894153952598572, -0.2532183825969696, -0.9647594094276428, -0.320026695728302, -0.2482503056526184, -0.9462207555770874, 0.6135610938072205, -0.06730920821428299, -0.16433818638324738, 0.03323085233569145, -0.0845516175031662, -0.3341091275215149, 0.049705397337675095, 0.30411168932914734, 0.5059990882873535, -0.5565115809440613, 1.239398717880249, 0.5158885717391968, -0.13400958478450775, -0.7753133773803711, 0.03167502209544182, 0.4341907799243927, -0.5209361910820007, 0.20640352368354797, 0.09863021969795227, -0.569438099861145, 0.2075861692428589, 0.25497472286224365, -0.9715756773948669, 1.3801687955856323, 0.16029465198516846, -1.092810869216919, -0.04597080871462822, 0.10301269590854645, 0.4574032723903656, -0.06221882626414299, 0.23414459824562073, 0.5878812074661255, 0.5174105167388916, 0.5950683951377869, -1.4504116773605347, -0.3561825156211853, -0.3728358745574951, 0.08501803129911423, 0.4912242889404297, -0.783205509185791, 0.5863749384880066, -0.009280409663915634, -0.3451633155345917, -0.5095760226249695, 0.3668527901172638, 0.12907522916793823, 0.43028655648231506, 0.6380650401115417, 0.5213436484336853, 0.1816328912973404, -0.020495278760790825, 0.3303939402103424, -0.2262018918991089, 0.17467093467712402, 0.845085620880127, -0.27038443088531494, 1.057893991470337, 0.6102709770202637, -0.38918712735176086, 0.09076693654060364, 0.32755380868911743, 0.0688006579875946, 1.0963308811187744, -0.02223491482436657, -0.6877956986427307, -0.0636310875415802, 0.3118669092655182, -0.41224533319473267, 0.6045582294464111, 0.4120766222476959, -0.013110199943184853, -0.19320112466812134, 0.08843106776475906, -0.07593268156051636, -0.10549280792474747, -0.2092374563217163, 1.3921390771865845, 0.08665912598371506, -0.473746657371521, 0.6265958547592163, -0.0031986767426133156, 0.9225477576255798, -0.6606531739234924, 0.2099049836397171, 0.08939137309789658, 0.1651534140110016, -0.31811487674713135, -0.26547643542289734, 0.9067351222038269, 0.047499243170022964, -0.3658979535102844, -0.2269175797700882, 0.6599214673042297, -0.6058903932571411, -0.23338273167610168, 0.6185936331748962, 0.3201776444911957, 0.25783175230026245, -0.1594030112028122, -0.45428889989852905, 0.13282041251659393, -0.02341599203646183, -0.0002468563034199178, 0.4749017655849457, 0.17808221280574799, 0.16626183688640594, 0.41499069333076477, 0.7471638917922974, 0.23241637647151947, 0.41127777099609375, 0.2626660168170929, 1.0095051527023315, -0.12287408113479614, -0.6330392360687256, -0.9354318976402283, 0.34517374634742737, 0.09217748790979385, 0.021140502765774727, 0.311251163482666, 0.7311160564422607, 0.7417675852775574, 0.009343968704342842, 0.8277860879898071, -0.25955453515052795, 0.5583757758140564, -0.6170793771743774, 1.0075726509094238, -0.5248042941093445, 0.024414993822574615, -0.2407020479440689, -0.8861787915229797, -0.10023541748523712, 0.6718860268592834, 0.010979559272527695, -0.05229866877198219, 0.5670673847198486, 0.5877886414527893, -0.06852591037750244, 0.29102998971939087, 0.4489739239215851, -0.27496394515037537, 0.15419721603393555, 0.7922242283821106, 0.5384585857391357, -0.4646294414997101, 0.5380329489707947, -0.15848897397518158, -0.34842362999916077, -0.08504702895879745, -0.5631064176559448, -0.7215619683265686, -0.9483281970024109, -0.5234553813934326, 0.2452230304479599, 0.3151409924030304, 0.97463059425354, 0.6206272840499878, -0.9292004704475403, -0.47684603929519653, 0.10464752465486526, -0.40062564611434937, -0.40609195828437805, -0.14068613946437836, 0.17290686070919037, -0.2536371648311615, -0.738849937915802, 0.6247602105140686, 0.5641083121299744, -0.06356047838926315, 0.04553678631782532, -0.26811179518699646, -0.27988332509994507, 0.12089858949184418, 0.5923303961753845, 0.1602180004119873, -0.6521080136299133, -0.15626387298107147, -0.22330418229103088, 0.4763367176055908, 0.08016569167375565, 0.6391839385032654, -0.6902543306350708, 0.7859103679656982, 0.7193215489387512, 0.5009677410125732, 0.9376190304756165, 0.01742083765566349, 0.4077341854572296, -0.5370510816574097, 0.04981967434287071, 0.35312220454216003, 0.2275831252336502, 0.1684534102678299, -0.1753884255886078, 0.053767234086990356, 0.24542789161205292, -0.7326202988624573, -0.5629193782806396, 0.16042497754096985, -1.0471315383911133, 0.04300187900662422, 1.0144286155700684, -0.2067296802997589, 0.1846524327993393, -0.6098044514656067, 0.10622963309288025, 0.7764866948127747, -0.7250787019729614, 0.5680861473083496, 0.5399190187454224, -0.7767834663391113, -0.3061946630477905, -0.5782803297042847, 0.5967154502868652, 0.050425343215465546, -0.5891159772872925, -0.21173767745494843, 0.4167766869068146, 0.4155861735343933, 0.0054006860591471195, 0.5374938249588013, -0.1203538104891777, 0.019305642694234848, 0.06846518069505692, -0.13787229359149933, -0.47936245799064636, -0.4496821165084839, -0.39912739396095276, -0.13213112950325012, -0.20018257200717926, -0.6763386726379395 ]
http://arxiv.org/abs/2405.13511v2
http://arxiv.org/pdf/2405.13511v2
Latent Space Alignment for Semantic Channel Equalization
2024-05-22T10:12:32
2024-06-04T10:13:13
Tomás Hüttebräucker, Mohamed Sana, Emilio Calvanese Strinati
cs.LG
cs.LG, cs.CL, cs.IT, math.IT
We relax the constraint of a shared language between agents in a semantic and goal-oriented communication system to explore the effect of language mismatch in distributed task solving. We propose a mathematical framework, which provides a modelling and a measure of the semantic distortion introduced in the communication when agents use distinct languages. We then propose a new approach to semantic channel equalization with proven effectiveness through numerical evaluations.
[ -0.3927016258239746, -0.7872247099876404, 0.5234417915344238, 0.5946269035339355, 0.01971389912068844, 0.10577170550823212, -0.011984552256762981, -0.36537957191467285, 0.5119699239730835, 0.4836404025554657, -0.89700847864151, -0.23854020237922668, -0.9296156764030457, -0.27696022391319275, 0.02397235855460167, 0.6495644450187683, -0.2972150444984436, 0.34776046872138977, -0.24670006334781647, -0.3420364260673523, -1.0375709533691406, -0.16795653104782104, -0.2012844979763031, -0.39920443296432495, 0.18595294654369354, 0.363025426864624, 1.2463115453720093, 0.23816993832588196, 0.9191668033599854, 0.4101569354534149, 0.04235555976629257, 0.12019399553537369, -0.6524032950401306, 0.11227022111415863, -0.3903038799762726, -0.18326008319854736, -0.6483871936798096, -0.12714090943336487, 0.8699728846549988, 1.2124053239822388, -0.11685507744550705, -0.3023604452610016, -0.1857416182756424, 0.5278674364089966, -0.6206737756729126, -0.19107386469841003, -0.5723438858985901, -0.04509526118636131, 0.19786804914474487, -0.3665025234222412, 0.10968354344367981, -0.09721526503562927, 0.4311913251876831, -1.2077974081039429, 0.10501928627490997, -0.2631394565105438, 1.011412501335144, 0.872122049331665, -0.2086496502161026, -0.3201066255569458, -1.0072486400604248, 0.9164779782295227, -0.6179899573326111, 0.6213856935501099, 0.07769647240638733, 0.2503576874732971, -0.4636598825454712, -0.2867988049983978, -0.7529457807540894, 0.21098293364048004, -0.09796921163797379, 0.29754218459129333, -0.1776595413684845, 0.1727825403213501, 0.00428781658411026, -0.02509433589875698, -0.6736834645271301, -0.11752358078956604, -0.3492269515991211, -0.28962942957878113, 0.5811517238616943, 0.06781046092510223, 0.5743170380592346, 0.13600851595401764, -0.4608910381793976, 0.05592804774641991, -0.4999943971633911, -0.3720618784427643, 0.5004248023033142, 0.34772515296936035, 0.0411682166159153, 0.6537854075431824, -0.13376721739768982, 0.7604348063468933, 0.049560949206352234, 0.11944030225276947, 0.28843042254447937, -0.3286016285419464, -0.19167141616344452, 0.2576914429664612, 0.41186264157295227, 0.5734328627586365, -0.10564647614955902, -0.3193104565143585, -0.13247932493686676, 0.6289651393890381, 0.3712989091873169, -0.3580908179283142, 0.3865843415260315, 0.11050603538751602, -0.21709777414798737, 0.17501066625118256, 0.07971195876598358, -0.0843413770198822, 0.06822519749403, -0.5555257797241211, 0.5640692710876465, -0.24142807722091675, -0.26517942547798157, 0.49722012877464294, -0.2960762679576874, 0.2400650680065155, 0.41534334421157837, -0.8109390735626221, 0.7158316969871521, 0.8675312995910645, 0.48059597611427307, -0.16861630976200104, -0.5266109704971313, -0.07140947878360748, 0.29105013608932495, -0.3667927384376526, 0.5555744767189026, -0.41153889894485474, -0.21350108087062836, -0.33948421478271484, 0.13100630044937134, -0.1653064638376236, -0.3208211064338684, 0.36308372020721436, -0.9119951128959656, 0.3018082082271576, -0.06867324560880661, -0.7648396492004395, 0.15924566984176636, 0.03813115134835243, -0.5338104963302612, 0.5612877011299133, 0.32050177454948425, -0.4619608521461487, 0.33267542719841003, -0.4412922263145447, 0.18583716452121735, 0.06849893927574158, -0.29111552238464355, -0.39884617924690247, 0.06363441050052643, -0.06918727606534958, 0.03579743951559067, 0.06261888891458511, 0.6598221659660339, -0.2291397750377655, -0.32977792620658875, 0.41849684715270996, -0.2721913456916809, 0.5248298645019531, 0.436855286359787, -0.36275339126586914, 0.2537349760532379, -0.46313995122909546, 0.29529526829719543, -0.16080041229724884, -0.01349873561412096, -0.49934282898902893, 0.15333989262580872, -0.013575405813753605, 0.3747445046901703, 0.5125930905342102, -0.8121466040611267, 0.1984466314315796, -0.8681479096412659, 0.080248162150383, 0.5090173482894897, -0.22565430402755737, 0.7874694466590881, -0.05310062691569328, 0.27735787630081177, -0.013501693494617939, 0.06819339841604233, 0.6536280512809753, -0.3031541109085083, -0.6503205895423889, 0.1515883058309555, 0.04986012727022171, 0.5591959953308105, -0.41245949268341064, 0.4474555253982544, -0.6215400099754333, -0.09303797036409378, -0.645957350730896, 0.1138141006231308, 0.44800764322280884, -0.010016988962888718, 0.046862270683050156, -0.5492801666259766, -0.47749873995780945, -1.0045255422592163, 0.10183478891849518, 0.029261406511068344, 0.08658614009618759, 0.2964681386947632, 0.13244746625423431, -0.43776586651802063, 0.9613620042800903, -0.4912137985229492, -0.361288458108902, 0.04893088713288307, -0.053331270813941956, 0.07039881497621536, 0.7460072040557861, 0.44013914465904236, -0.9504998922348022, -0.3123146593570709, -0.0027489138301461935, -0.7353058457374573, -0.36349838972091675, -0.06877423077821732, -0.547471284866333, 0.054961394518613815, 0.4419814646244049, -0.5482401847839355, 0.6043570637702942, 0.766983687877655, -0.8803215622901917, -0.03641700744628906, -0.25605618953704834, 0.44038793444633484, -0.8952397704124451, -0.2982063293457031, -0.3423003554344177, -0.20428156852722168, -0.7413707375526428, -0.07216078042984009, -0.17181377112865448, -0.31154903769493103, -0.28338244557380676, 0.3192923069000244, -0.4427438974380493, -0.35971295833587646, -0.5889195203781128, 0.6575415730476379, -0.08844757080078125, 0.40322184562683105, 0.1944284588098526, 0.42186740040779114, 0.3400495946407318, -0.3645331859588623, 0.3103368282318115, 0.527828574180603, 0.31073617935180664, 0.7389811277389526, -0.8824338912963867, -0.1270695924758911, -0.18832992017269135, 0.16947126388549805, -1.0359617471694946, -0.02440713532269001, 0.24455004930496216, -0.9266900420188904, 0.0818965807557106, 0.180110365152359, 0.11662343144416809, -0.01898529939353466, 0.33595460653305054, 0.783015251159668, 0.10210701823234558, -0.2514420747756958, 0.1859579235315323, 0.464001327753067, 0.08900034427642822, -0.9630842804908752, -0.514499306678772, -0.0608261376619339, -0.025283608585596085, -1.3062174320220947, 0.7973417639732361, -0.18987886607646942, -0.4091087281703949, 0.3724835515022278, -0.3982745110988617, -0.21261776983737946, 0.12704001367092133, 0.3316916823387146, 0.3267582356929779, -0.5313064455986023, 0.025234952569007874, 0.07163017243146896, -0.25239038467407227, -0.209796741604805, -0.8181306719779968, 0.44601717591285706, -0.24467547237873077, -0.8411460518836975, -0.32478731870651245, 0.7250896096229553, 0.22548334300518036, 0.18186569213867188, 0.9801051616668701, 0.3503871560096741, -0.5321282744407654, 0.11305259168148041, -0.44172051548957825, 0.026689400896430016, -0.48906803131103516, 0.40289679169654846, -0.457698792219162, -1.169779896736145, 0.7019611597061157, 0.15369416773319244, -0.23056814074516296, 0.48320090770721436, 0.3885997235774994, 0.1413261741399765, 1.0830018520355225, 1.089678406715393, 0.2812764346599579, 0.43245211243629456, -0.07288365811109543, 0.5473389029502869, -0.5164191722869873, -0.15278461575508118, -0.48698166012763977, -0.28240877389907837, -0.6293205618858337, -0.5903704166412354, -0.05930323153734207, 0.6521831154823303, -0.0873248279094696, 0.47032350301742554, -0.6749759316444397, 0.47851696610450745, 0.1932591199874878, -0.15513746440410614, 0.0747213140130043, -0.015447955578565598, 0.09114417433738708, -0.5137998461723328, -0.6967639923095703, -0.5998955368995667, 0.6134363412857056, 0.34435635805130005, 0.7804210782051086, 0.5404645204544067, 0.5453550219535828, 0.2375645935535431, -0.0616285502910614, -0.7003212571144104, 0.3163784146308899, 0.08644158393144608, -0.5583219528198242, -0.7794472575187683, -0.2974199056625366, -1.2099006175994873, 0.25633206963539124, 0.05600369721651077, -0.8910311460494995, 0.3916926085948944, -0.060525503009557724, 0.17320111393928528, -0.1525784730911255, -0.6804730296134949, 1.1254172325134277, -0.25923165678977966, -0.315125048160553, -0.38479435443878174, -0.8335005640983582, -0.16217024624347687, 0.12009575963020325, 0.06807979196310043, -0.2866012752056122, -0.212163507938385, 0.8146827816963196, -0.9753203392028809, 0.6305867433547974, -0.3234906494617462, -0.22375084459781647, 0.24102221429347992, -0.15865403413772583, 0.38632842898368835, -0.07327686995267868, 0.3184836506843567, 0.07319971919059753, -0.0421871617436409, -0.940287172794342, -0.9275178909301758, 0.8095501065254211, -1.290807843208313, -0.676049530506134, -0.16744495928287506, -0.7572696208953857, -0.3050808310508728, 0.2446659654378891, 0.08219389617443085, 0.23390862345695496, -0.40757301449775696, -0.2748344838619232, 0.6155818700790405, -0.07867544144392014, 0.2098415344953537, 0.7872574925422668, 0.16392596065998077, -0.2156689465045929, 0.9737092852592468, -0.00843823328614235, 0.7321013808250427, 0.5066028237342834, -0.26045745611190796, -0.11061497777700424, -0.46269434690475464, -0.2786124050617218, 0.2530654966831207, -0.9998303651809692, 0.059482019394636154, -0.6975239515304565, -0.33571961522102356, -0.6955212354660034, -0.5903106331825256, -0.5729068517684937, -0.7283724546432495, -0.08677472919225693, 0.2824307978153229, -0.1356339007616043, 0.7460560202598572, -0.15426473319530487, 0.876153826713562, -0.6617682576179504, 0.15530745685100555, -0.03759055584669113, 0.5739272236824036, -0.5118828415870667, -0.33351102471351624, -0.19475750625133514, 0.21751727163791656, -0.2636773884296417, -0.9843946099281311, 0.3948010504245758, -0.11950410902500153, 1.0658416748046875, 0.024104667827486992, -0.36103540658950806, 0.7647774815559387, -0.31136205792427063, 0.5322844386100769, 0.40805724263191223, -1.3117586374282837, 0.5454273819923401, -0.3531337082386017, 0.12234718352556229, 0.19841524958610535, 0.13491983711719513, -0.8927300572395325, -0.6248809099197388, -0.9116190671920776, -0.8043754696846008, 0.7874788641929626, 0.6977572441101074, -0.05484466627240181, 0.17355279624462128, 0.2090347409248352, -0.07829183340072632, 0.05699034407734871, -0.5770546197891235, -0.3451758921146393, -0.3538694679737091, -0.33548054099082947, -0.27533888816833496, -0.223062202334404, -0.10842547565698624, 0.04668114334344864, 0.7020850777626038, -0.0551636777818203, 0.6485314965248108, 0.4087047874927521, -0.3547193109989166, -0.37929192185401917, 0.4149376451969147, 0.9285542964935303, 0.9148334264755249, -0.08608771115541458, 0.030261801555752754, 0.029282011091709137, -0.3985634744167328, 0.4285542964935303, 0.2309022843837738, 0.08796415477991104, 0.14412878453731537, 0.2480623573064804, 0.9999299645423889, 0.18344353139400482, -0.41609975695610046, 0.7582923769950867, -0.16440331935882568, -0.2329058200120926, -0.16853764653205872, -0.1884627640247345, 0.16459748148918152, 0.2988659739494324, 0.02954947203397751, 0.3774404525756836, 0.043962955474853516, -0.0761650875210762, 0.3661891520023346, 0.7844498157501221, -0.6945056915283203, -0.12358039617538452, 0.5059136748313904, 0.2674406170845032, -0.36860138177871704, 0.4015766680240631, -0.2168159931898117, -0.7120578289031982, 0.85160231590271, 0.7190911173820496, 0.5923041701316833, -0.2647481858730316, 0.20930172502994537, -0.03524376451969147, 0.40999704599380493, 0.19977261126041412, 0.17743460834026337, -0.038084063678979874, -1.2517451047897339, -0.6538252830505371, -0.6003766059875488, -0.12808170914649963, -0.27984383702278137, -0.43035566806793213, 0.26357078552246094, -0.017324013635516167, -0.03433430939912796, 0.34196680784225464, 0.10855930298566818, -0.4571100175380707, 0.147134929895401, 0.252899169921875, 0.4394020140171051, -1.0578997135162354, 0.6325624585151672, 0.7640052437782288, -0.11148667335510254, -1.028699278831482, -0.1910339742898941, -0.07233645021915436, -0.8212332129478455, 0.9800340533256531, -0.3028162717819214, -0.4494343101978302, -0.1993134617805481, -0.374582976102829, -1.3902956247329712, 0.8226861357688904, 0.26086437702178955, -0.45405134558677673, 0.2766866981983185, 0.4950965940952301, 0.7788497805595398, -0.6583457589149475, 0.16476663947105408, 0.3319796621799469, 0.2907894253730774, 0.43236181139945984, -1.2270781993865967, 0.034079961478710175, -0.4473753571510315, 0.11851293593645096, 0.6696890592575073, -0.45072051882743835, 0.6479997038841248, 0.14159062504768372, -0.2372785061597824, -0.006300611887127161, 0.8438758254051208, 0.08026531338691711, 0.3167937397956848, 0.39747175574302673, 0.5222832560539246, 0.5038891434669495, -0.2039789855480194, 0.5178915858268738, -0.021944349631667137, 0.5043606162071228, 1.0313032865524292, -0.13251063227653503, 0.23165082931518555, 0.7678833603858948, -0.06207651272416115, 0.17210085690021515, 0.4250859320163727, 0.40529417991638184, 0.49777233600616455, 0.41539910435676575, -0.09551870077848434, -0.12022548913955688, -0.30502554774284363, -0.3430226147174835, 0.30067136883735657, 0.6590725779533386, 0.08287524431943893, -0.23214906454086304, 0.08526405692100525, -0.4272061586380005, 0.2980906367301941, -0.175730898976326, 0.8026310801506042, -0.2627040445804596, -0.7362828254699707, 0.6381627321243286, 0.08362190425395966, 0.6236624717712402, -0.4031645357608795, 0.0807877629995346, 0.08620313555002213, 0.40525567531585693, -0.42263317108154297, -0.6699615120887756, 0.8612110614776611, -0.4482627809047699, -0.22958174347877502, -0.32030054926872253, 0.9717660546302795, -0.6639373898506165, -0.19969390332698822, 0.6006935834884644, 0.6513296961784363, 0.18311664462089539, 0.4055573046207428, -0.6937038898468018, 0.3468368351459503, -0.1647855043411255, 0.02880651131272316, -0.04679848626255989, 0.49627307057380676, -0.35234153270721436, 0.382839173078537, 0.16979576647281647, 0.2197805792093277, 0.4107223451137543, 0.22294683754444122, 0.7671840190887451, -0.4829312860965729, -0.5753104090690613, -0.4307437539100647, 0.2585795819759369, -0.23270688951015472, -0.13880962133407593, 0.703188419342041, 0.3473397195339203, 1.1912297010421753, 0.19014780223369598, 0.5204731822013855, -0.2340758889913559, 0.18300212919712067, -0.30523303151130676, 0.24121639132499695, -0.654555082321167, 0.44593027234077454, -0.6540628671646118, -0.9904031157493591, -0.3045960068702698, 0.560824990272522, -0.4027942717075348, -0.16839152574539185, 0.7820812463760376, 0.970298171043396, -0.2640151083469391, -0.0032788554672151804, 0.4631975293159485, -0.24659456312656403, 0.21757671236991882, 0.7656652331352234, 1.2016279697418213, -0.6148096919059753, 0.37705478072166443, -0.17051716148853302, -0.23487462103366852, -0.010982593521475792, -0.4882766008377075, -0.4888562262058258, -0.7318527102470398, -0.5052680373191833, -0.5495661497116089, 0.2679782509803772, 0.6328578591346741, 0.7459505796432495, -0.6580319404602051, -0.32300591468811035, -0.4029388427734375, 0.39669665694236755, -0.040494270622730255, -0.23381976783275604, 0.0927293598651886, -0.3195769190788269, -0.654176652431488, -0.007958848029375076, 0.45541831851005554, 0.3416212201118469, -0.1766955554485321, -0.5706812143325806, -0.08649026602506638, 0.15516749024391174, 0.15174829959869385, 0.06276915222406387, -0.9165202379226685, -0.4078098237514496, 0.13857585191726685, -0.5387403964996338, 0.05093199759721756, 1.0620737075805664, -0.4046189486980438, 0.32398679852485657, 0.6363715529441833, 0.6382458209991455, 0.28001201152801514, -0.07254062592983246, 0.8496005535125732, -0.7757801413536072, 0.6081539392471313, 0.1551358848810196, 0.04216815531253815, 0.31091800332069397, -0.6188374757766724, 0.25602754950523376, 0.2901877164840698, -0.6398535370826721, -0.34409505128860474, 0.2932462692260742, -1.213989496231079, -0.5817248225212097, 0.7939490675926208, -0.09355813264846802, -0.2931501865386963, -0.0978618636727333, -0.0779343768954277, 0.5056626200675964, -0.2882600426673889, 0.3480748236179352, 0.8944306373596191, -0.017572466284036636, 0.41149234771728516, -0.40353643894195557, 0.42191120982170105, 0.9743981957435608, -0.6681962609291077, -0.302188903093338, 0.7673407793045044, 0.18970473110675812, 0.4045705795288086, 0.916519820690155, -0.05148743465542793, 0.24269449710845947, 0.17819714546203613, -0.01803399622440338, 0.5543641448020935, -0.3413780927658081, -0.26070791482925415, -0.29258447885513306, 0.1599801927804947, -0.19438526034355164 ]
http://arxiv.org/abs/2405.13448v1
http://arxiv.org/pdf/2405.13448v1
Distilling Instruction-following Abilities of Large Language Models with Task-aware Curriculum Planning
2024-05-22T08:38:26
2024-05-22T08:38:26
Yuanhao Yue, Chengyu Wang, Jun Huang, Peng Wang
cs.CL
cs.CL
The process of instruction tuning aligns pre-trained large language models (LLMs) with open-domain instructions and human-preferred responses. While several studies have explored autonomous approaches to distilling and annotating instructions from more powerful proprietary LLMs, such as ChatGPT, they often neglect the impact of task distributions and the varying difficulty of instructions of the training sets. This oversight can lead to imbalanced knowledge capabilities and poor generalization powers of small student LLMs. To address this challenge, we introduce Task-Aware Curriculum Planning for Instruction Refinement (TAPIR), a multi-round distillation framework with balanced task distributions and dynamic difficulty adjustment. This approach utilizes an oracle LLM to select instructions that are difficult for a student LLM to follow and distill instructions with balanced task distributions. By incorporating curriculum planning, our approach systematically escalates the difficulty levels, progressively enhancing the student LLM's capabilities. We rigorously evaluate TAPIR using two widely recognized benchmarks, including AlpacaEval 2.0 and MT-Bench. The empirical results demonstrate that the student LLMs, trained with our method and less training data, outperform larger instruction-tuned models and strong distillation baselines. The improvement is particularly notable in complex tasks, such as logical reasoning and code generation.
[ -0.3887661397457123, -0.6956838965415955, 0.3164568543434143, 0.07843165099620819, -0.057759176939725876, 0.30273565649986267, -0.5112622976303101, -0.043029386550188065, -0.17779609560966492, 0.7139626741409302, -0.7297812700271606, -0.41439908742904663, -0.7623395323753357, -0.05110519751906395, -0.0980626791715622, 0.9643020629882812, -0.17209705710411072, -0.0028392658568918705, -0.03802942857146263, 0.20087872445583344, -0.9531427621841431, -0.21544240415096283, -0.34080949425697327, -0.5484413504600525, 0.2704767882823944, 0.8147051334381104, 0.10119330883026123, 0.6737526059150696, 0.5108098983764648, 0.262641042470932, 0.03492223471403122, 0.5129193663597107, -0.4909578263759613, 0.14857758581638336, -0.1474485993385315, -0.4011222720146179, -0.49479806423187256, -0.09492690116167068, 0.27792882919311523, 0.7367167472839355, -0.24928756058216095, 0.3902946412563324, 0.5374382138252258, 0.884154736995697, -0.810381293296814, 0.4587983787059784, -0.7571408748626709, -0.22393880784511566, -0.1994468867778778, -0.1351478099822998, -0.5916053056716919, -0.3715795576572418, 0.3100084662437439, -0.49006056785583496, 0.524235725402832, 0.0358673520386219, 0.40649688243865967, 0.6586564183235168, -0.09216777980327606, -0.4735645055770874, -0.7018061876296997, 0.9687464237213135, -0.4913868010044098, 0.14403724670410156, 0.5307618379592896, 0.2863020896911621, -0.33626729249954224, -0.5841572284698486, -0.2888565957546234, -0.019927939400076866, 0.04571054130792618, 0.06706368923187256, 0.019121268764138222, 0.2478349208831787, 0.4036315679550171, 0.4064983129501343, -0.26562368869781494, 0.07317739725112915, -0.6766362190246582, -0.07645408064126968, 0.20059457421302795, 0.1883450597524643, -0.08449887484312057, 0.20734333992004395, -0.29534390568733215, -0.1707271933555603, -0.7966283559799194, 0.10211656987667084, 0.3081497848033905, 0.5590845346450806, 0.29672253131866455, 0.5755618810653687, -0.28149285912513733, 0.8145738244056702, 0.415381520986557, -0.3223860263824463, 0.024468177929520607, -0.20904789865016937, -0.2231181114912033, 0.12351257354021072, 0.31892138719558716, -0.03225376829504967, 0.20874762535095215, 0.18583343923091888, -0.15484507381916046, -0.16678264737129211, 0.5224888324737549, -0.9606818556785583, -0.5716083645820618, -0.02289586327970028, -0.09788302332162857, 0.10026964545249939, -0.17386968433856964, -0.5492209196090698, -0.27831655740737915, -0.7011905908584595, 0.31225070357322693, -0.5966365337371826, 0.09785571694374084, 0.22783058881759644, 0.12209605425596237, -0.02330145053565502, 0.5942646265029907, -1.1802791357040405, 0.2375580221414566, 0.7221206426620483, 0.4621245265007019, -0.1889825165271759, -0.25900381803512573, -0.4711940884590149, 0.2737120985984802, -0.005455805920064449, 0.706587553024292, -0.6285518407821655, -0.3254449665546417, -0.1331244558095932, -0.10064613074064255, -0.07443512976169586, -0.7646971940994263, 0.4872875213623047, -0.3289365768432617, -0.16865718364715576, -0.4423043131828308, -0.49706634879112244, -0.23449204862117767, 0.18539243936538696, -0.5460821390151978, 1.0471949577331543, -0.004932250361889601, -0.5302891135215759, 0.5200781226158142, -0.5379683971405029, -0.5093159079551697, -0.1033882275223732, 0.024600287899374962, -0.3082008361816406, 0.0029175833333283663, 0.38121461868286133, 0.48249804973602295, -0.33397001028060913, 0.3281537592411041, 0.021916253492236137, -0.4572577178478241, -0.3888988494873047, -0.1871597021818161, 0.5232465267181396, 0.1939450055360794, -0.5173822641372681, 0.17579783499240875, -0.6554696559906006, 0.16641588509082794, -0.23087765276432037, -0.49161040782928467, -0.3474847376346588, 0.08949573338031769, -0.40284809470176697, -0.04990978166460991, 0.141225665807724, -0.25824326276779175, 0.5260696411132812, -0.08404985815286636, 0.3826107084751129, 0.7800429463386536, -0.11796841770410538, 0.45920106768608093, -0.18373391032218933, 0.327390193939209, -0.17341142892837524, -0.051754701882600784, -0.5464447736740112, -0.38179606199264526, -0.9778458476066589, -0.5096912384033203, -0.12992887198925018, 0.6124632358551025, -0.6089357733726501, 0.27963754534721375, 0.11135251820087433, -0.5314768552780151, -0.5999439358711243, 0.438346803188324, 0.5590062737464905, 0.5563178062438965, 0.7161733508110046, -0.28978464007377625, -0.41002094745635986, -0.6962816119194031, 0.08096883445978165, 0.007729998789727688, 0.16022075712680817, -0.01730842888355255, 0.3008806109428406, 0.13463371992111206, 0.6545310616493225, -0.8171684741973877, -0.5295180082321167, -0.34828487038612366, 0.5027782320976257, 0.14835436642169952, 0.4330889880657196, -0.002011584583669901, -0.4632536768913269, -0.7053542733192444, -0.16521261632442474, -0.253106951713562, -0.36017295718193054, -0.09935351461172104, -0.16788150370121002, -0.07039061188697815, 0.4423784017562866, -0.11964552104473114, 0.3034588694572449, 0.15475238859653473, 0.01698286272585392, 0.5723942518234253, -0.4404541552066803, 0.12282715737819672, -0.8694728016853333, -0.24063818156719208, -0.01343473233282566, 0.1372014433145523, -0.5140877962112427, 0.00638398015871644, 0.30199578404426575, 0.07802516222000122, -0.32461848855018616, 0.29221856594085693, -0.8449232578277588, 0.27301833033561707, -0.5730606913566589, -0.15391163527965546, 0.08336728811264038, 0.5656840801239014, 0.16787849366664886, 0.9628506898880005, 0.3360220193862915, -0.4742051959037781, 0.2524259090423584, 0.22137820720672607, -0.43271830677986145, 0.5400708317756653, -0.5324819684028625, -0.07288461923599243, 0.10237657278776169, 0.25576213002204895, -0.8842350840568542, -0.051113154739141464, -0.03370963782072067, 0.19740059971809387, 0.7481182217597961, -0.1879156082868576, -0.15429796278476715, -0.403488427400589, -0.14001280069351196, 0.2617867588996887, 0.4357863664627075, -0.49963414669036865, 0.5056496858596802, 0.13060767948627472, -0.20263917744159698, -0.9300338625907898, -0.6329662799835205, -0.2383650690317154, -0.06279832869768143, -0.21972523629665375, 0.40075257420539856, -0.10884511470794678, -0.10989030450582504, -0.2119215577840805, -0.38905224204063416, -0.34305480122566223, -0.11057129502296448, 0.45323535799980164, 0.36710643768310547, -0.09367510676383972, -0.030701184645295143, 0.2720048129558563, -0.08832450956106186, -0.1175374910235405, -0.31414103507995605, 0.532275378704071, 0.01917840912938118, -0.7425437569618225, -0.4446752667427063, 0.007005772553384304, 0.39980998635292053, -0.4019125699996948, 0.36464759707450867, 0.45426371693611145, -0.03957259654998779, -0.4729996621608734, -0.8704123497009277, -0.3158717751502991, -0.4679185152053833, 0.3805941939353943, -0.30259808897972107, -1.0313447713851929, 0.23716291785240173, -0.20680087804794312, 0.3831510841846466, -0.03229781240224838, 0.6383317112922668, 0.04086357355117798, 0.49643033742904663, 0.8076400756835938, 0.012123347260057926, 0.45672306418418884, -0.37357163429260254, 0.25224897265434265, -0.8554408550262451, -0.25211620330810547, -0.4952070415019989, -0.43505167961120605, -0.3327198624610901, -0.8076608777046204, 0.09470739960670471, 0.05696123093366623, -0.31796082854270935, 0.4753722548484802, -0.7457720041275024, 0.7326074838638306, 0.9343148469924927, 0.023924745619297028, 0.31263282895088196, -0.057613082230091095, -0.07131227105855942, -0.06707032769918442, -0.5589131712913513, -0.5649703145027161, 1.1886404752731323, 0.0016002885531634092, 0.9286420941352844, -0.33031660318374634, 0.9241448044776917, 0.07793612778186798, 0.3979359269142151, -0.5982576608657837, 0.6007838249206543, -0.3123268783092499, -0.6622959971427917, -0.2781689465045929, -0.0768134668469429, -0.5626229047775269, 0.08347738534212112, -0.21565958857536316, -0.6939519643783569, -0.0011867289431393147, 0.35803452134132385, -0.3430904448032379, 0.36461514234542847, -0.9885880947113037, 0.6802578568458557, -0.07694412767887115, -0.4639852046966553, -0.2849297821521759, -0.40444284677505493, 0.3627146780490875, -0.324747234582901, 0.04561956599354744, -0.3975411057472229, 0.07692133635282516, 0.3146904408931732, -0.36535945534706116, 1.0105890035629272, -0.22764265537261963, 0.048511892557144165, 0.6627562046051025, 0.09293121099472046, 0.4272367060184479, -0.3063018023967743, -0.05004352703690529, -0.13454027473926544, -0.26704686880111694, -0.3714955151081085, -0.42001089453697205, 0.7646737098693848, -0.5728178024291992, -1.0169132947921753, -0.09049602597951889, -0.9035826921463013, -0.18308451771736145, 0.19838114082813263, 0.11390332132577896, 0.15024904906749725, -0.1698402762413025, -0.05613741651177406, 0.8817248940467834, -0.012233511544764042, 0.4530698359012604, 0.4792269766330719, 0.19637025892734528, -0.07727037370204926, 1.0094321966171265, 0.3052155375480652, 0.45970237255096436, 0.4525962769985199, -0.07473775744438171, -0.04478258639574051, -0.8021130561828613, -0.473868727684021, -0.07895836234092712, -0.6066132187843323, -0.18361009657382965, -0.30991825461387634, -0.0929754376411438, -0.18711267411708832, -0.4506896734237671, -0.49203434586524963, -0.3448595702648163, -0.29053324460983276, -0.0014831533189862967, 0.13127441704273224, 0.6129298806190491, 0.14571096003055573, 0.38906750082969666, -0.6692572236061096, 0.1751246452331543, 0.3922748565673828, 0.182956263422966, 0.017567453905940056, -0.6890062093734741, -0.16615334153175354, 0.10754705965518951, -0.6309845447540283, -0.560021162033081, 0.2298775613307953, 0.30600398778915405, 0.384631484746933, 0.2936325669288635, 0.28563451766967773, 0.9868131279945374, -0.8237560391426086, 0.5152720808982849, 0.1674463003873825, -0.8303022980690002, 0.6446855664253235, 0.0024829076137393713, 0.403189480304718, 0.7651949524879456, 0.29673391580581665, -0.03348647430539131, -0.6695579290390015, -0.13408365845680237, -0.8581971526145935, 0.8961082100868225, -0.1357119232416153, 0.23769357800483704, 0.00973071251064539, 0.26581254601478577, 0.4398360252380371, 0.18970352411270142, -0.34926438331604004, -0.153410866856575, -0.12377902120351791, -0.1779356300830841, 0.1426578313112259, -0.24955406785011292, -0.08496599644422531, -0.278110533952713, 0.7461968064308167, -0.07867390662431717, -0.1849868893623352, -0.2430766522884369, -0.0329834520816803, 0.03505786508321762, 0.46684783697128296, 0.5246319770812988, 0.8207080364227295, -0.23111003637313843, 0.08932586759328842, 0.32054704427719116, -0.8055639266967773, 0.3344883918762207, 0.2290453314781189, -0.027342382818460464, -0.48366591334342957, 0.31717535853385925, 0.5986461043357849, 0.27691972255706787, -0.6784683465957642, 0.16684341430664062, 0.044407617300748825, -0.2136937975883484, 0.05035550892353058, 0.5162648558616638, 0.09735654294490814, 0.5119389295578003, 0.49044743180274963, -0.07401899993419647, 0.033195577561855316, -0.19318436086177826, 0.11827323585748672, 0.22030165791511536, -0.26672860980033875, -0.15991808474063873, 0.46159234642982483, 0.2752884030342102, -0.024351730942726135, 0.5551723837852478, -0.11809312552213669, -0.1589970737695694, 0.5783255696296692, 0.6368427276611328, 0.7552600502967834, -0.41143858432769775, 0.1506197601556778, 0.4863485097885132, 0.3989100456237793, -0.31816455721855164, 0.13193091750144958, -0.20238731801509857, -0.4523765742778778, -0.6909578442573547, -0.5634753108024597, -0.5493986010551453, -0.050544578582048416, -0.76337069272995, 0.3730955719947815, -0.48912960290908813, 0.05497341603040695, 0.06724640727043152, 0.002150979358702898, -0.45104295015335083, 0.12063927203416824, -0.04833412170410156, 0.7599545121192932, -0.671697735786438, 0.9693062901496887, 0.8192608952522278, -0.3149179518222809, -1.0230334997177124, -0.04667673259973526, 0.1479637175798416, -0.9384742379188538, 0.8848562240600586, 0.12200821936130524, -0.030569102615118027, -0.055294472724199295, -0.15177012979984283, -0.5267505049705505, 1.1922435760498047, 0.3376602232456207, -0.8898170590400696, -0.14297805726528168, 0.17611975967884064, 0.3549906611442566, -0.2566765248775482, 0.2117607295513153, 0.5694653391838074, 0.24781450629234314, 0.5306746959686279, -0.912014365196228, -0.12056580185890198, 0.05948813632130623, -0.1679205745458603, 0.5666670203208923, -0.5188719630241394, 0.7501644492149353, -0.4924990236759186, -0.029933718964457512, -0.277351975440979, 0.6605885028839111, 0.12007322907447815, 0.3683689832687378, 0.23440510034561157, 0.7563079595565796, 0.7592223882675171, -0.32698628306388855, 0.40112242102622986, -0.3143021762371063, -0.004414093215018511, 1.5517079830169678, -0.25002697110176086, 0.7637691497802734, 0.652286946773529, -0.2781117558479309, 0.28100302815437317, 0.5439298748970032, -0.013835708610713482, 0.6020941734313965, 0.2910253405570984, -0.28895488381385803, -0.15962471067905426, 0.05531096085906029, -0.3317904472351074, 0.49474966526031494, 0.31855911016464233, -0.14156576991081238, -0.3386549949645996, 0.09754287451505661, -0.006523035001009703, 0.2085634469985962, -0.3939720690250397, 0.568862795829773, -0.1854407638311386, -0.7771278619766235, 0.712864339351654, -0.13604672253131866, 0.5521525144577026, -0.5030522346496582, -0.21981510519981384, -0.060851819813251495, 0.28716790676116943, -0.07198641449213028, -0.7178546190261841, 0.2588191628456116, 0.20396549999713898, -0.3591848611831665, -0.47013425827026367, 0.6630364656448364, -0.6355524063110352, -0.33293417096138, 0.04848804324865341, 0.6120667457580566, -0.11445105820894241, 0.03349651023745537, -0.4140172004699707, 0.08376309275627136, 0.29903644323349, -0.22502508759498596, 0.4617907702922821, 0.5293894410133362, -0.11598948389291763, 0.7247712016105652, 0.48388439416885376, 0.06072838231921196, 0.13686831295490265, -0.12341929972171783, 1.0466852188110352, -0.2211451381444931, 0.02814527228474617, -0.7552940249443054, 0.5860898494720459, 0.15922120213508606, -0.30968543887138367, 0.39276087284088135, 0.456543505191803, 1.0853298902511597, -0.1466471403837204, 0.5607092380523682, -0.009427168406546116, 0.4878159761428833, -0.30738529562950134, 0.4041796624660492, -0.21097634732723236, 0.5836040377616882, -0.13140077888965607, -1.2165639400482178, -0.06301584094762802, 0.46517178416252136, -0.6023330688476562, -0.11150489747524261, 0.4907732307910919, 0.7251583337783813, -0.18279293179512024, 0.0528532899916172, 0.1082114651799202, -0.16877813637256622, 0.2505033314228058, 0.5459222197532654, 0.6149203181266785, 0.18670353293418884, 0.5534501075744629, -0.4764133393764496, -0.42059388756752014, -0.15219727158546448, -0.9724727272987366, -1.0631098747253418, -0.5422263741493225, -0.2983672618865967, 0.2237204611301422, 0.17877599596977234, 0.9872113466262817, 0.6896646618843079, -0.7381014823913574, -0.45048221945762634, -0.06289967149496078, 0.019927090033888817, -0.23432132601737976, -0.1366577446460724, 0.35636427998542786, -0.7031765580177307, -0.8673595190048218, 0.3453172445297241, 0.2950616180896759, -0.17675626277923584, -0.07926090061664581, 0.03834182024002075, -0.15054211020469666, 0.0008936753147281706, 0.43366050720214844, 0.23755326867103577, -0.8623192310333252, -0.18014878034591675, 0.0838719829916954, -0.1940905600786209, -0.07547219097614288, 0.9911487698554993, -0.4540351331233978, 0.8698254227638245, 0.1641252189874649, 0.7103971242904663, 0.6385787129402161, -0.09400130063295364, 0.3097515106201172, -0.7967526912689209, 0.2858221232891083, 0.2697259485721588, 0.18741266429424286, 0.028800638392567635, -0.10877028107643127, 0.4072304368019104, -0.1900155246257782, -0.6175154447555542, -0.5473181009292603, 0.006270536221563816, -0.8942703008651733, -0.18833477795124054, 0.7836112380027771, -0.5106592178344727, 0.1633445918560028, -0.06417190283536911, -0.5082708597183228, 0.29326486587524414, -0.3356143832206726, 0.9966251254081726, 0.9396209120750427, -0.2875416874885559, -0.06977434456348419, -0.6909279227256775, 0.39535677433013916, 0.3433707356452942, -0.7108792662620544, 0.42365676164627075, 0.6990249156951904, 0.046810831874608994, 0.095154769718647, 0.5317241549491882, 0.12949800491333008, 0.0832446813583374, -0.26303812861442566, 0.19510914385318756, -0.5476085543632507, -0.545229971408844, 0.38599562644958496, 0.16403456032276154, 0.2653106153011322, -0.23296961188316345 ]
http://arxiv.org/abs/2405.13432v1
http://arxiv.org/pdf/2405.13432v1
Disperse-Then-Merge: Pushing the Limits of Instruction Tuning via Alignment Tax Reduction
2024-05-22T08:18:19
2024-05-22T08:18:19
Tingchen Fu, Deng Cai, Lemao Liu, Shuming Shi, Rui Yan
cs.CL
cs.CL, cs.AI
Supervised fine-tuning (SFT) on instruction-following corpus is a crucial approach toward the alignment of large language models (LLMs). However, the performance of LLMs on standard knowledge and reasoning benchmarks tends to suffer from deterioration at the latter stage of the SFT process, echoing the phenomenon of alignment tax. Through our pilot study, we put a hypothesis that the data biases are probably one cause behind the phenomenon. To address the issue, we introduce a simple disperse-then-merge framework. To be concrete, we disperse the instruction-following data into portions and train multiple sub-models using different data portions. Then we merge multiple models into a single one via model merging techniques. Despite its simplicity, our framework outperforms various sophisticated methods such as data curation and training regularization on a series of standard knowledge and reasoning benchmarks.
[ -0.6614972949028015, -0.6413159966468811, 0.3115602433681488, -0.14786456525325775, -0.1412632316350937, 0.10682502388954163, -0.49859341979026794, -0.21619649231433868, -0.11657734960317612, 0.8027822375297546, -0.6599307656288147, -0.38039955496788025, -0.7205860018730164, -0.3234027028083801, -0.7641635537147522, 1.1220941543579102, 0.022072985768318176, 0.19336046278476715, -0.23124556243419647, -0.10613562911748886, -0.4636993408203125, -0.1357133537530899, -0.7665777206420898, 0.05458113178610802, 0.2647435963153839, 0.6690950989723206, 0.6981294751167297, 1.0722147226333618, 0.4875839650630951, 0.2653466463088989, -0.01875777542591095, 0.47663870453834534, -0.6429257988929749, 0.05345907807350159, -0.11532673984766006, -0.5757423043251038, -0.0880558118224144, -0.1337665468454361, 0.8603315353393555, 1.0586098432540894, -0.24874509871006012, -0.05123399570584297, 0.44741055369377136, 0.7130773663520813, -0.841519296169281, -0.09262362122535706, -0.3865372836589813, -0.18426914513111115, -0.307640939950943, -0.005037861410528421, -0.6221391558647156, -0.5064302086830139, -0.005378387868404388, -0.5064916014671326, 0.34786975383758545, -0.046337079256772995, 0.6008493304252625, 0.7401628494262695, -0.37801000475883484, -0.08287650346755981, -0.7241413593292236, 0.9333291053771973, -0.576712429523468, 0.5835766792297363, 0.1306653618812561, 0.09650260210037231, -0.2060939520597458, -0.47798952460289, -0.313610315322876, 0.04149386286735535, -0.03051416389644146, -0.044472068548202515, -0.24475263059139252, 0.08216316998004913, 0.16804879903793335, 0.1825634390115738, -0.5555858612060547, 0.20493024587631226, -0.6374737620353699, 0.010388553142547607, 0.630462110042572, 0.14080698788166046, 0.0472082681953907, 0.2167799323797226, -0.5146582722663879, -0.24981558322906494, -0.7367709279060364, -0.20479442179203033, 0.34012046456336975, 0.3689994812011719, 0.18253810703754425, 0.6319354176521301, -0.07980570942163467, 0.9593498706817627, 0.3509753942489624, -0.0414741151034832, -0.1901833564043045, -0.41199326515197754, -0.31660234928131104, 0.207976832985878, 0.6366099715232849, 0.4034397304058075, 0.21461878716945648, 0.023893631994724274, -0.16630220413208008, 0.017130091786384583, 0.3546323776245117, -0.7322537302970886, -0.39445769786834717, -0.005766341928392649, -0.29493623971939087, -0.20003123581409454, -0.11856553703546524, -0.40725216269493103, -0.2986278235912323, -0.7570273280143738, 0.01955331861972809, -0.6212572455406189, -0.16747941076755524, 0.02541547454893589, -0.11680835485458374, 0.147987499833107, 0.35472044348716736, -1.1413971185684204, 0.42474469542503357, 1.0696555376052856, 0.5753270983695984, -0.35720717906951904, -0.31172770261764526, -0.5467373728752136, 0.22122593224048615, -0.4665435552597046, 0.9010946750640869, -0.47770392894744873, -0.39431676268577576, -0.14702902734279633, -0.1739305853843689, -0.22531940042972565, -0.7540044784545898, 0.38995739817619324, -0.5661909580230713, 0.2393004298210144, -0.4009741544723511, -1.0529366731643677, 0.023486264050006866, 0.11629559844732285, -0.5261239409446716, 1.1107412576675415, 0.5111291408538818, -0.6478676199913025, 0.6358340382575989, -0.27493196725845337, -0.46960964798927307, 0.14229516685009003, -0.20408357679843903, -0.1960611194372177, 0.06401602178812027, 0.09425108879804611, 0.4023379385471344, -0.28341811895370483, 0.30363693833351135, -0.278474360704422, -0.5428264737129211, -0.38223108649253845, -0.393880158662796, 0.8478655219078064, 0.4068869650363922, -0.27861589193344116, 0.02772049605846405, -0.681364119052887, 0.01892162300646305, -0.4041386842727661, -0.4072422683238983, -0.5679020881652832, -0.0014795660972595215, -0.06380922347307205, -0.16188053786754608, 0.23499228060245514, -0.19779665768146515, 0.6964457631111145, -0.2603755295276642, 0.26705846190452576, 0.8523244261741638, -0.19915060698986053, 1.0385551452636719, -0.31942468881607056, 0.6311617493629456, 0.06922490894794464, 0.15552090108394623, 0.0518471784889698, -0.40548670291900635, -0.7793759703636169, -0.25557202100753784, 0.35402658581733704, 0.6194445490837097, -0.5705651640892029, 0.2800607979297638, -0.37292346358299255, -0.5494647026062012, -0.6777689456939697, 0.3616553843021393, 0.29811131954193115, 0.5996063947677612, 0.45307132601737976, -0.09006311744451523, -0.5547470450401306, -0.8743991255760193, -0.19973449409008026, 0.10789180546998978, 0.021206418052315712, -0.04711176082491875, 0.11751415580511093, -0.25024744868278503, 0.9464659094810486, -0.6121172308921814, -0.31318631768226624, -0.013349574990570545, 0.1899842470884323, -0.059066370129585266, 0.8502574563026428, 0.4367235600948334, -0.7270714640617371, -0.48398151993751526, 0.21403288841247559, -0.3087109327316284, -0.288727730512619, -0.1086634024977684, -0.32387804985046387, 0.4161421060562134, 0.7418868541717529, -0.503291666507721, 0.34177669882774353, 0.5858879685401917, -0.029170334339141846, 0.39397284388542175, -0.023826852440834045, 0.2742477357387543, -1.1829545497894287, -0.4909919798374176, -0.20939910411834717, -0.05496000126004219, -0.3093540370464325, 0.027473807334899902, 0.24849529564380646, 0.27155613899230957, -0.2750723659992218, 0.24768471717834473, -0.4833777844905853, 0.009039311669766903, -0.43854865431785583, -0.15450380742549896, -0.06009449437260628, 0.17443329095840454, -0.08821415901184082, 0.9468841552734375, 0.23522818088531494, -0.6291350722312927, 0.12521038949489594, 0.06451445817947388, -0.30872824788093567, 0.7509145140647888, -0.2014513611793518, -0.28314003348350525, -0.08198460936546326, 0.1729755997657776, -1.1209168434143066, -0.2790970206260681, 0.033019207417964935, -0.040733229368925095, 0.5340648889541626, -0.3825710117816925, -0.3926045596599579, -0.1344020515680313, -0.3506380021572113, 0.4632720649242401, 0.6816765666007996, -0.576673686504364, 0.5446320176124573, 0.12404155731201172, -0.012686875648796558, -0.7901888489723206, -0.8289480805397034, -0.3138637840747833, -0.21459703147411346, -0.8664403557777405, 0.6156478524208069, -0.16924238204956055, -0.03312484547495842, 0.25775638222694397, -0.033186789602041245, -0.0823756530880928, -0.07316847890615463, -0.17754822969436646, 0.16163407266139984, -0.4905749559402466, -0.06494630128145218, 0.7316425442695618, 0.037956807762384415, -0.21815533936023712, -0.6078185439109802, 0.37082815170288086, 0.22542627155780792, -0.5509427785873413, -0.2944939136505127, 0.42188969254493713, 0.45215117931365967, -0.05740682780742645, 0.9635114073753357, 0.5616180300712585, -0.2617647647857666, -0.4476613700389862, -0.8084521889686584, -0.08513619750738144, -0.4699925184249878, 0.2080485075712204, -0.19333535432815552, -1.0998297929763794, 0.40981295704841614, -0.3953733444213867, 0.3639451563358307, 0.2805492579936981, 0.3242662847042084, -0.125973641872406, 1.117370367050171, 0.6600443124771118, 0.04133244603872299, 0.8238072991371155, -0.4540475904941559, 0.22999262809753418, -0.7503716945648193, -0.15718616545200348, -0.4329572021961212, -0.2094287872314453, -0.615851879119873, -0.503750741481781, 0.017768070101737976, 0.576957643032074, -0.3687063157558441, 0.5085213780403137, -0.7279000878334045, 0.8449963927268982, 0.5417681336402893, -0.041470762342214584, 0.08889564871788025, -0.09060395509004593, 0.1353391706943512, -0.020368533208966255, -0.749871015548706, -0.30856266617774963, 0.9810488224029541, -0.1709779053926468, 0.7784748077392578, 0.046147484332323074, 1.1337740421295166, 0.1903575211763382, 0.44342461228370667, -0.8227786421775818, 0.47757983207702637, -0.622875988483429, -0.17809218168258667, -0.28275856375694275, -0.5046847462654114, -0.8108773231506348, 0.30465495586395264, 0.12442950159311295, -0.43516382575035095, 0.3098873198032379, 0.18267802894115448, -0.40544775128364563, 0.20806825160980225, -1.131834626197815, 0.8245133757591248, 0.007186096161603928, -0.46384134888648987, -0.03598721697926521, -0.4509489834308624, 0.6350100040435791, -0.15131674706935883, 0.4098607003688812, 0.09388495236635208, -0.13395649194717407, 0.7310917973518372, -0.7528954148292542, 0.7141281962394714, -0.11318245530128479, -0.2057293802499771, 0.19431138038635254, 0.14919674396514893, 0.4129990041255951, -0.38765475153923035, 0.06797721982002258, -0.16752435266971588, 0.19328396022319794, -0.4596797525882721, -0.7455510497093201, 0.7111349701881409, -0.6601803302764893, -0.5607174634933472, -0.018580880016088486, -0.6310960054397583, -0.07895854115486145, 0.303526908159256, 0.41502368450164795, 0.2572520077228546, 0.044388409703969955, 0.07123958319425583, 0.7976986765861511, 0.35054925084114075, 0.07672617584466934, 0.31957390904426575, -0.0746777281165123, -0.4720684587955475, 0.7818024754524231, 0.44590306282043457, 0.5292896628379822, 0.24111615121364594, 0.09493553638458252, -0.2639331519603729, -0.5578218698501587, -0.40044474601745605, 0.03377481922507286, -0.806765079498291, -0.5137872695922852, -0.41016480326652527, -0.15438015758991241, -0.6809902787208557, -0.5646887421607971, -0.5551878809928894, -0.3777461051940918, -0.5245689153671265, 0.05335181578993797, 0.3694988787174225, 0.8490598201751709, -0.16627033054828644, 0.7445838451385498, -0.9948501586914062, -0.028351081535220146, -0.07852735370397568, 0.15911231935024261, -0.09151249378919601, -0.6963141560554504, -0.2991587817668915, 0.11548960208892822, -0.34318244457244873, -0.6902077198028564, 0.26856279373168945, 0.07858850806951523, 0.395478218793869, 0.6178677678108215, -0.0013878891477361321, 1.1025811433792114, -0.4870182275772095, 0.6966102123260498, 0.09454265236854553, -0.9746525883674622, 0.4081631600856781, -0.32173898816108704, 0.21610046923160553, 0.7200720906257629, 0.3607085943222046, -0.1322254091501236, -0.7197327017784119, -0.5923131108283997, -0.9763262867927551, 0.9099423885345459, -0.1368347555398941, 0.03140317648649216, -0.045671772211790085, 0.3693842589855194, 0.09709962457418442, 0.04692971706390381, -0.23001176118850708, -0.2269737869501114, 0.2338455468416214, -0.5118620991706848, 0.08528264611959457, -0.20782268047332764, -0.12188529968261719, -0.48671209812164307, 0.6640948057174683, -0.042340394109487534, -0.16911017894744873, -0.2749113142490387, -0.1582348495721817, -0.03926829993724823, 0.20227442681789398, 0.6496999859809875, 0.42312487959861755, -0.04595101252198219, 0.025105461478233337, 0.12201138585805893, -0.3744032084941864, 0.11439591646194458, 0.15805469453334808, -0.2725357115268707, -0.40094029903411865, 0.43461155891418457, 0.5359009504318237, 0.6644477248191833, -0.37448692321777344, 0.4195566475391388, 0.1302879899740219, -0.35771849751472473, -0.0023526400327682495, 0.3547404706478119, 0.20348010957241058, 0.30973750352859497, 0.06892375648021698, 0.5449150800704956, 0.3217633068561554, -0.21657179296016693, 0.4549160301685333, 0.4223543107509613, -0.009351328946650028, 0.14791399240493774, 0.7182199954986572, -0.12401911616325378, 0.03953279182314873, 0.8404896259307861, -0.1423906534910202, -0.607323169708252, 0.518746018409729, 0.4251604974269867, 0.6421777009963989, -0.3915995657444, -0.01015554741024971, 0.3643149137496948, 0.3610271215438843, -0.6110799908638, 0.11296532303094864, -0.5199316143989563, -0.7005671858787537, -0.67989182472229, -0.4912956655025482, -0.24323952198028564, -0.3277248740196228, -1.0099910497665405, 0.5426942706108093, -0.425197958946228, -0.0669037252664566, 0.05508524551987648, -0.1423325389623642, -0.4866948425769806, 0.01730087585747242, 0.22099919617176056, 0.8910601735115051, -0.976611852645874, 0.8434702754020691, 0.5345693230628967, -0.42179441452026367, -1.2354470491409302, -0.157554492354393, -0.11247684806585312, -0.7745950222015381, 0.5773991942405701, 0.04584828019142151, -0.01993185468018055, 0.09086256474256516, -0.5832809209823608, -0.9926864504814148, 0.9093448519706726, 0.7952095866203308, -0.8385271430015564, -0.10247895121574402, 0.03643571212887764, 0.376496821641922, -0.3457454741001129, 0.09674635529518127, 1.1741732358932495, 0.4536847770214081, 0.4065490961074829, -0.8042736053466797, -0.08875683695077896, 0.06468860805034637, -0.016446419060230255, 0.6090250611305237, -0.5977060198783875, 0.9988579154014587, -0.10914967209100723, -0.19763702154159546, -0.06714875251054764, 0.6004486083984375, 0.13557738065719604, 0.15355102717876434, 0.43995651602745056, 0.8730810284614563, 0.9974355697631836, -0.23147797584533691, 0.9111616611480713, -0.23444747924804688, 0.4496776759624481, 1.1947578191757202, -0.20221884548664093, 0.9642869830131531, 0.48945537209510803, -0.1746746152639389, 0.41160115599632263, 0.7437455058097839, 0.0375029556453228, 0.6439758539199829, 0.20153695344924927, -0.18943075835704803, -0.2759874165058136, -0.07668019086122513, -0.40077927708625793, 0.32265186309814453, 0.21921633183956146, -0.22373513877391815, -0.17923007905483246, 0.1665046364068985, 0.03380630165338516, 0.031801920384168625, -0.22047095000743866, 0.9133555293083191, -0.08814796060323715, -0.9406263828277588, 0.8448953628540039, -0.1423933058977127, 0.7503443360328674, -0.5092369914054871, -0.02220061421394348, -0.3661647140979767, 0.32529279589653015, -0.4772157371044159, -0.8167538642883301, 0.5889261960983276, -0.14839886128902435, -0.4237622916698456, -0.45212140679359436, 0.3462519347667694, -0.7927389740943909, -0.3976982533931732, 0.3802452087402344, 0.17253153026103973, 0.11257270723581314, 0.1318424493074417, -0.5246172547340393, 0.35744205117225647, 0.27346327900886536, -0.19085192680358887, 0.3964814245700836, 0.4399145543575287, -0.20225639641284943, 0.424026757478714, 0.6970555186271667, 0.05213374271988869, 0.4121432602405548, 0.1983918398618698, 1.0407837629318237, -0.3056434392929077, -0.35591986775398254, -0.9429757595062256, 0.5544455647468567, 0.06335056573152542, -0.10809630155563354, 0.560395359992981, 0.7399435043334961, 1.193039059638977, 0.10882648825645447, 0.660799503326416, 0.08987194299697876, 0.3516959846019745, -0.6476137042045593, 0.6805803775787354, -0.8260095715522766, 0.42534682154655457, -0.1075282022356987, -1.0232665538787842, -0.27048778533935547, 0.4547249376773834, -0.26129692792892456, 0.13635970652103424, 0.6536321640014648, 0.7216317057609558, -0.2390282303094864, 0.19479233026504517, 0.16056416928768158, -0.07029248028993607, 0.23080219328403473, 0.4745160639286041, 0.8357911109924316, -0.4619700610637665, 0.5856327414512634, -0.5447640419006348, -0.23659895360469818, -0.13403534889221191, -0.5674249529838562, -0.5399501919746399, -0.5970944762229919, -0.38159656524658203, -0.32739412784576416, -0.15556783974170685, 0.8754395842552185, 0.8712901473045349, -0.7965487837791443, -0.15664900839328766, -0.4017752707004547, 0.09079685807228088, -0.2477397471666336, -0.25466617941856384, 0.5132978558540344, -0.4842861592769623, -0.8648841381072998, 0.36376023292541504, 0.05017299950122833, 0.1252717524766922, -0.10251905769109726, -0.005790638271719217, -0.0064695910550653934, 0.06297461688518524, 0.47566017508506775, 0.10142602771520615, -0.6559168696403503, 0.058147694915533066, -0.02958771400153637, -0.1423536092042923, -0.14984215795993805, 0.838765561580658, -0.6920656561851501, 0.3471691906452179, 0.4397033452987671, 0.9318490028381348, 0.28953415155410767, 0.2683797776699066, 0.6052182912826538, -0.8205556869506836, 0.12545044720172882, 0.18270663917064667, 0.27616041898727417, 0.22781379520893097, -0.6281214356422424, 0.4718666970729828, 0.010338024236261845, -0.5406535267829895, -1.0472456216812134, 0.05126677080988884, -1.038286566734314, -0.20369060337543488, 0.9359545111656189, 0.058333415538072586, -0.17305654287338257, 0.15913258492946625, -0.20203059911727905, 0.38812634348869324, -0.33652397990226746, 0.36126574873924255, 0.8009232878684998, -0.2696875333786011, -0.14939741790294647, -0.22402749955654144, 0.5820236802101135, 0.6627368330955505, -0.7311249375343323, 0.2786902189254761, 0.6069175004959106, 0.32560065388679504, 0.0712822899222374, 0.5801382660865784, 0.18969614803791046, 0.38509511947631836, 0.16555793583393097, -0.17927511036396027, -0.0075864470563828945, -0.2868908643722534, -0.3897460401058197, 0.039787862449884415, 0.09321090579032898, -0.19342835247516632 ]
http://arxiv.org/abs/2405.13401v3
http://arxiv.org/pdf/2405.13401v3
TrojanRAG: Retrieval-Augmented Generation Can Be Backdoor Driver in Large Language Models
2024-05-22T07:21:32
2024-05-31T16:59:17
Pengzhou Cheng, Yidong Ding, Tianjie Ju, Zongru Wu, Wei Du, Ping Yi, Zhuosheng Zhang, Gongshen Liu
cs.CR
cs.CR, cs.CL
Large language models (LLMs) have raised concerns about potential security threats despite performing significantly in Natural Language Processing (NLP). Backdoor attacks initially verified that LLM is doing substantial harm at all stages, but the cost and robustness have been criticized. Attacking LLMs is inherently risky in security review, while prohibitively expensive. Besides, the continuous iteration of LLMs will degrade the robustness of backdoors. In this paper, we propose TrojanRAG, which employs a joint backdoor attack in the Retrieval-Augmented Generation, thereby manipulating LLMs in universal attack scenarios. Specifically, the adversary constructs elaborate target contexts and trigger sets. Multiple pairs of backdoor shortcuts are orthogonally optimized by contrastive learning, thus constraining the triggering conditions to a parameter subspace to improve the matching. To improve the recall of the RAG for the target contexts, we introduce a knowledge graph to construct structured data to achieve hard matching at a fine-grained level. Moreover, we normalize the backdoor scenarios in LLMs to analyze the real harm caused by backdoors from both attackers' and users' perspectives and further verify whether the context is a favorable tool for jailbreaking models. Extensive experimental results on truthfulness, language understanding, and harmfulness show that TrojanRAG exhibits versatility threats while maintaining retrieval capabilities on normal queries.
[ -0.09134522825479507, -0.8674529790878296, 0.23225778341293335, -0.04937833547592163, -0.24107326567173004, 0.15935750305652618, -0.15508154034614563, -0.4324031472206116, 0.1299949586391449, 0.7294095754623413, -0.15473529696464539, -0.7324507832527161, -0.4781949818134308, -0.10158879309892654, -0.6633848547935486, 1.3266018629074097, 0.13887466490268707, -0.4055584967136383, 0.32058894634246826, -0.16465479135513306, -0.879267156124115, -0.7392818927764893, -0.5275012254714966, 0.07940918207168579, 0.6706798076629639, 0.12209870666265488, 0.7921702265739441, 0.40057045221328735, 0.45215970277786255, 0.25749802589416504, -0.10681414604187012, -0.1881084442138672, -0.694397509098053, 0.7991456985473633, -0.4870586395263672, -0.5402994155883789, -0.3659724295139313, -0.007391815073788166, 0.49337038397789, 0.27657172083854675, -0.18034805357456207, 0.17662055790424347, 0.059472810477018356, 0.48284468054771423, -0.992100715637207, -0.4330732822418213, -1.2042052745819092, 0.08670671284198761, -0.5491417646408081, -0.2696441411972046, -0.4147423803806305, -0.09440252184867859, -0.3254441022872925, -0.31516918540000916, 0.2504117786884308, 0.5136431455612183, 0.5210890173912048, 0.16016171872615814, -0.24949221312999725, -0.3038690984249115, -0.5404602289199829, 0.528742790222168, -0.38939931988716125, 0.48953336477279663, 0.1611487716436386, 0.3795050382614136, -0.6522624492645264, -0.7069343328475952, -0.6046513319015503, -0.3470088839530945, -0.10341291129589081, -0.09812047332525253, -0.41781771183013916, 0.053385231643915176, 0.262714147567749, 0.43465813994407654, -0.6526188254356384, 0.3908165693283081, -0.7467771172523499, -0.2982397675514221, 0.4889299273490906, 0.342731773853302, 0.5117862820625305, -0.2902502417564392, -0.4420110285282135, -0.07020066678524017, -1.0956851243972778, -0.080019511282444, 0.44568347930908203, 0.5169981122016907, 0.027032699435949326, 0.7058636546134949, 0.06135491281747818, 0.7483534216880798, 0.002239254768937826, -0.09079044312238693, 0.03940848633646965, -0.00974815059453249, -0.18589185178279877, 0.30036741495132446, 0.6849066019058228, 0.24761202931404114, -0.2003980278968811, -0.3997998833656311, -0.2881339490413666, 0.04535900056362152, 0.6577491164207458, -0.6978631615638733, -0.0034069838002324104, 0.40322569012641907, -0.0952330157160759, -0.5799524188041687, 0.03144193813204765, -0.9804036021232605, -0.44120705127716064, 0.38607192039489746, 0.6462597846984863, -0.5230198502540588, 0.21982862055301666, 0.08188242465257645, -0.21194235980510712, 0.2958180904388428, -0.022735562175512314, -0.7003892660140991, 0.3277027904987335, 1.0756428241729736, 0.8458852171897888, -0.15710029006004333, -0.380555123090744, -1.108614444732666, 0.4907967746257782, -0.3729538321495056, 0.4202221930027008, -0.4780610203742981, -0.3327832818031311, -0.041776105761528015, -0.32508203387260437, -0.015971936285495758, -0.5602925419807434, 0.5821291208267212, -1.0090947151184082, 0.33649033308029175, 0.2021787166595459, -0.25597214698791504, -0.2304522544145584, 0.4200645089149475, -0.7396800518035889, 0.8326937556266785, -0.07832080125808716, -1.2346187829971313, 0.2062080204486847, -0.22000695765018463, -0.5795716047286987, 0.11586090177297592, -0.2419012486934662, -0.44631844758987427, 0.15977360308170319, 0.07537523657083511, 0.4835577607154846, -0.29021698236465454, 0.3950456380844116, -0.3083403706550598, -0.4887142479419708, 0.12358318269252777, -0.24439604580402374, 0.8077124357223511, 0.24756264686584473, -0.3507172465324402, 0.13294880092144012, -0.5196451544761658, -0.48877668380737305, 0.06775636225938797, -0.37122276425361633, -0.6677843928337097, -0.24517512321472168, -0.2775496542453766, 0.2683921158313751, 0.16727295517921448, -0.5861043930053711, 0.10636740922927856, -0.7682591676712036, -0.017595356330275536, 0.7493384480476379, 0.05991053953766823, 0.15643315017223358, -0.23819679021835327, 0.6999441981315613, -0.037624701857566833, -0.03086778335273266, -0.154061421751976, -0.4129107892513275, -0.34020286798477173, -0.46531352400779724, 0.2530328631401062, 0.6587737202644348, -0.7956874966621399, 0.2828200161457062, -0.07915811985731125, -0.42383304238319397, -0.4472978115081787, 0.17979125678539276, 0.6845923662185669, 0.726525068283081, 0.3911726474761963, -0.2802462577819824, -0.36870479583740234, -0.7463805079460144, -0.7267299890518188, -0.06332971900701523, -0.042914897203445435, 0.238702192902565, 0.5240128040313721, -0.2829645872116089, 0.6488086581230164, -0.5510706901550293, -0.42800313234329224, -0.37949833273887634, -0.08570249378681183, 0.27795305848121643, 0.38581764698028564, 0.5477478504180908, -0.6896405816078186, -0.18571652472019196, -0.17561981081962585, -0.6810916662216187, -0.12413372844457626, 0.22237378358840942, -0.09480128437280655, 0.0658693015575409, 0.578139066696167, -0.8458356261253357, 0.5331684947013855, 0.6004454493522644, -0.27031591534614563, 0.685311496257782, -0.06425918638706207, -0.04772185534238815, -1.3055251836776733, 0.1931273192167282, -0.20095068216323853, 0.000825390568934381, -0.7086728811264038, 0.8120647668838501, -0.11336164176464081, -0.433557391166687, -0.4604620933532715, 0.8283296227455139, -0.08237680047750473, -0.2094195932149887, -0.08929666876792908, 0.4054033160209656, -0.10042812675237656, 0.2681666612625122, -0.5477323532104492, 0.8967418670654297, 0.5112364888191223, -0.37226739525794983, 0.669447660446167, 0.2078249603509903, -0.16084355115890503, 0.4769512712955475, -0.6235330104827881, 0.1351146548986435, -0.17759205400943756, 0.4881334602832794, -0.8457238674163818, -0.36859130859375, 0.5484727025032043, -0.5012068152427673, 0.47769686579704285, -0.17302235960960388, -0.530136227607727, -0.17601200938224792, -0.6817451119422913, 0.4793521761894226, 0.3317885994911194, -0.7506785988807678, 0.49248766899108887, 0.3990378677845001, -0.20592159032821655, -0.8844004273414612, -0.3409082591533661, 0.26133355498313904, -0.5959768295288086, -0.6060642004013062, 0.45101112127304077, 0.41491228342056274, -0.42208027839660645, -0.25454476475715637, 0.04550637677311897, 0.0819888710975647, 0.27300071716308594, 0.38757413625717163, 0.3872169256210327, -0.047378651797771454, 0.4101400375366211, 0.11396729946136475, -0.06948958337306976, -0.00856899842619896, -0.3741627633571625, 0.6282594799995422, 0.08805561065673828, -0.10540606081485748, -0.11339637637138367, 0.42718198895454407, 0.3067885935306549, -0.4252834916114807, 0.8637053966522217, 0.5070414543151855, -0.2438562959432602, -0.26797401905059814, -0.4495856463909149, -0.2754316031932831, -0.5152589678764343, 0.4114970564842224, -0.39061450958251953, -1.2159576416015625, 0.4029616713523865, 0.03870302811264992, 0.16866199672222137, 0.38755521178245544, 0.5345703959465027, 0.16780322790145874, 0.6337553858757019, 0.492316335439682, -0.5067832469940186, 0.1046556755900383, 0.06487991660833359, 0.1928369104862213, -0.9366675615310669, -0.22553189098834991, -0.7355673313140869, -0.2276512235403061, -0.7962237000465393, -0.17522232234477997, 0.4670838415622711, 0.2051173597574234, -0.2751380205154419, 0.37884944677352905, -0.24337275326251984, 0.24307383596897125, 0.45609089732170105, 0.08964008092880249, 0.38510310649871826, 0.08842673897743225, -0.49439531564712524, 0.04349125176668167, -0.6536561250686646, -0.2925865948200226, 1.136122703552246, 0.2175818234682083, 0.9539640545845032, 0.35163190960884094, 0.9218618869781494, 0.12526844441890717, 0.20592835545539856, -0.4837510883808136, 0.519379198551178, -0.12854517996311188, -0.8986321091651917, -0.13871069252490997, -0.5312130451202393, -1.3315443992614746, 0.31119871139526367, -0.24715331196784973, -1.1436481475830078, -0.2320583611726761, 0.2992224395275116, -0.4629325866699219, 0.4378945529460907, -0.1070743203163147, 0.7323662638664246, -0.08012460172176361, -0.5401365756988525, -0.39535200595855713, -0.891490638256073, 0.8255038857460022, -0.3108122646808624, 0.31839433312416077, 0.15652601420879364, 0.12869003415107727, 0.6728209257125854, -0.3499155342578888, 0.6760309934616089, 0.057990770787000656, -0.20539504289627075, 0.022731836885213852, 0.47474557161331177, 0.5719099640846252, 0.15106897056102753, -0.044303104281425476, -0.038719069212675095, -0.3893171548843384, -0.13509327173233032, -0.6560554504394531, 0.7457888722419739, -0.3481377959251404, -1.1716234683990479, -0.3453841805458069, -0.5038238167762756, -0.13945960998535156, 0.07691024243831635, 0.32803985476493835, 0.5045837163925171, 0.03123866580426693, 0.11770568788051605, 0.5329399704933167, -0.6937395334243774, 0.09954847395420074, 0.29960888624191284, -0.47033563256263733, -0.24296215176582336, 0.8675534129142761, -0.2494218796491623, 0.03970908001065254, 0.34587565064430237, 0.1769261211156845, -0.04117332771420479, -0.4725775718688965, -0.2547539174556732, 0.2829601764678955, -0.4124602973461151, -0.414621502161026, -0.6385738849639893, -0.2373468428850174, -0.36195623874664307, -0.05437364801764488, -0.19135567545890808, -0.4043005406856537, -0.05832919105887413, -0.04320049658417702, 0.39115485548973083, 0.5012798309326172, -0.05270787328481674, 0.2903576195240021, -0.8565846085548401, 0.5289404392242432, 0.5171510577201843, 0.1704394370317459, 0.007822880521416664, -0.6948153972625732, -0.1948210448026657, -0.3055471181869507, -0.4261961281299591, -1.1074347496032715, 0.6065223813056946, 0.005466400645673275, 0.28315916657447815, 0.09661772102117538, 0.25339946150779724, 0.3639157712459564, -0.6672924757003784, 0.5610572695732117, -0.03443923592567444, -0.611690104007721, 0.5735175609588623, -0.332612544298172, -0.03433830291032791, 0.4625077545642853, 0.41387465596199036, -0.5818766355514526, -0.6603078842163086, -0.5503157377243042, -0.8659957051277161, 0.3669995665550232, 0.16123400628566742, 0.40501657128334045, 0.11421015858650208, 0.3625824451446533, 0.026836849749088287, 0.3828962743282318, -0.4659864008426666, -0.0333581380546093, 0.11465930938720703, -0.06448878347873688, 0.08471661061048508, -0.24247977137565613, -0.20529326796531677, -0.030707644298672676, 0.5428836941719055, 0.32298558950424194, 0.03888595104217529, -0.14062824845314026, -0.08673381805419922, 0.0938134714961052, 0.5891790986061096, 0.3640674650669098, 0.1074758917093277, -0.15466007590293884, 0.193941131234169, 0.18686793744564056, -0.671938419342041, 0.09144113957881927, 0.33822837471961975, -0.09439127147197723, -0.1742667257785797, 0.2882322072982788, 0.5103492140769958, 0.13475334644317627, -0.7087509632110596, 0.6722050309181213, -0.0664832815527916, 0.3870244324207306, -0.23956488072872162, 0.3281550109386444, -0.34749269485473633, 0.5066114068031311, 0.44426485896110535, -0.17728747427463531, 0.2594262957572937, -0.6874477863311768, 0.33451011776924133, 0.6717683672904968, -0.31972113251686096, -0.32977259159088135, 0.7239241003990173, -0.03412195295095444, -0.48990944027900696, 0.7013684511184692, -0.06521707773208618, -0.8982195258140564, 0.09911888092756271, 0.7390519976615906, 0.8583774566650391, -0.49505412578582764, -0.1611996591091156, 0.010380781255662441, 0.30978015065193176, 0.21699798107147217, 0.0396464541554451, 0.049375541508197784, -0.6985563635826111, -0.19704510271549225, -0.659075140953064, -0.20050489902496338, 0.21111881732940674, -0.4773193299770355, 0.2858339548110962, -0.559581995010376, -0.07240699231624603, -0.18853814899921417, -0.16992664337158203, -0.2369566261768341, 0.08741061389446259, -0.1431511640548706, 0.6336296200752258, -0.5341961979866028, 0.7699427604675293, 0.3328734338283539, -0.11345646530389786, -0.8269847631454468, 0.22660233080387115, 0.1446933001279831, -0.566445529460907, 0.9386829733848572, 0.2721576988697052, -0.24988913536071777, -0.2055497020483017, -0.5831888914108276, -0.5387094616889954, 0.8221652507781982, 0.3797496259212494, -0.3911101222038269, -0.18787117302417755, -0.2643546164035797, 0.4627336263656616, -0.17293432354927063, -0.4572528302669525, 0.5057210922241211, 0.03867468237876892, 0.09446345269680023, -0.8383183479309082, 0.36491554975509644, -0.1311274617910385, -0.17590020596981049, 0.46217435598373413, -0.45868420600891113, 1.1849204301834106, -0.2545211613178253, -0.22629639506340027, 0.04192306846380234, 0.5397947430610657, 0.88254314661026, 0.26872947812080383, 0.10920286178588867, 0.7636808753013611, 0.3906474709510803, 0.30210262537002563, 1.1337553262710571, -0.3137257397174835, 0.006695424672216177, 1.2805496454238892, -0.37267938256263733, 1.0322175025939941, 0.4958771765232086, 0.1392430067062378, 0.4631539583206177, -0.05445432662963867, -0.044252797961235046, 0.3813711404800415, 0.3821728229522705, -0.3281020224094391, 0.0774492472410202, 0.059111203998327255, -0.40173009037971497, 0.6759342551231384, 0.5340819358825684, -0.4681139886379242, -0.2630818486213684, 0.10480038821697235, 0.3680964410305023, 0.11085712909698486, -0.23131096363067627, 0.5434134006500244, 0.11284204572439194, -0.5084744691848755, 0.4674559533596039, 0.4666830897331238, 0.7911766767501831, -0.3024034798145294, -0.03790073096752167, -0.23219025135040283, 0.07667816430330276, -0.08512445539236069, -0.562677800655365, 0.29699385166168213, 0.1741882860660553, 0.3031266927719116, 0.3319055736064911, 0.9976045489311218, -0.15205107629299164, -0.20098961889743805, 0.32055389881134033, 0.2299203872680664, 0.04388169199228287, -0.1697291135787964, -0.3812679052352905, 0.14400210976600647, -0.3347521722316742, -0.17114311456680298, 0.4728142321109772, 0.2504611611366272, -0.14744122326374054, 0.7286317944526672, 0.55385422706604, 0.2694285213947296, 0.125403493642807, -0.3835507929325104, 1.2047405242919922, -0.6563466191291809, -0.48138391971588135, -1.0285650491714478, 0.15202535688877106, -0.057161375880241394, -0.18803048133850098, 1.0417039394378662, 0.6615192890167236, 0.7250611186027527, 0.2574215233325958, 0.4863215982913971, 0.17881198227405548, 0.6410367488861084, -0.7181066274642944, 0.8309230208396912, -0.4122374355792999, 0.5687884092330933, -0.5305572748184204, -0.8130970001220703, -0.5095474123954773, 0.2711640000343323, -0.4637739658355713, -0.04606920853257179, 0.35131365060806274, 0.9629045724868774, -0.05341128259897232, -0.10956306010484695, 0.3467312455177307, 0.361075758934021, 0.30201536417007446, 0.54841548204422, 0.9171019196510315, -0.4506720006465912, 0.6024705171585083, 0.10067174583673477, -0.07410521805286407, -0.24848653376102448, -0.4845360219478607, -1.1120599508285522, -0.3550183176994324, 0.16990573704242706, -0.5454631447792053, 0.5659760236740112, 0.7923609614372253, 0.17652377486228943, -0.523147463798523, -0.19349567592144012, 0.26101529598236084, 0.3334035277366638, 0.3419560492038727, -0.22496528923511505, 0.26674699783325195, -0.41154882311820984, -0.20393899083137512, 0.4666528105735779, 0.40598174929618835, -0.1825544238090515, -0.2637706696987152, 0.10225958377122879, 0.001183530897833407, -0.10397589951753616, 0.5175361037254333, 0.3504786491394043, -0.5867264270782471, -0.27904021739959717, -0.277443528175354, -0.23798859119415283, -0.15555110573768616, 0.9034878015518188, -1.122312307357788, 0.17925333976745605, 0.3453761339187622, 0.7273374199867249, 0.31762227416038513, -0.058982715010643005, 0.7133761644363403, -1.004223108291626, 0.4699876308441162, 0.24109818041324615, 0.2556588351726532, 0.27396753430366516, -0.43748003244400024, 0.18697595596313477, 0.10245579481124878, -0.4210916757583618, -0.887904703617096, 0.4936925768852234, -0.44040605425834656, -0.5164853930473328, 0.9802097082138062, -0.2229599803686142, -0.38522493839263916, -0.25753429532051086, -0.19114558398723602, 0.2288159430027008, -0.40068885684013367, 1.1505757570266724, 0.17425936460494995, 0.2766336500644684, 0.0796104222536087, -0.4707610607147217, 0.6067772507667542, 0.14586609601974487, -0.6390394568443298, 0.028153195977211, 0.6120403409004211, 0.18094515800476074, 0.21948309242725372, 0.14866334199905396, -0.20961181819438934, 0.30201005935668945, -0.028447389602661133, -0.3719043433666229, 0.07643980532884598, -0.5108466744422913, -0.41054198145866394, 0.5585088133811951, 0.03866279497742653, 0.06089407205581665 ]
http://arxiv.org/abs/2405.13386v1
http://arxiv.org/pdf/2405.13386v1
360Zhinao Technical Report
2024-05-22T06:45:38
2024-05-22T06:45:38
360Zhinao Team
cs.CL
cs.CL, cs.AI
We present 360Zhinao models with 7B parameter size and context lengths spanning 4K, 32K and 360K, all available at https://github.com/Qihoo360/360zhinao. For rapid development in pretraining, we establish a stable and sensitive ablation environment to evaluate and compare experiment runs with minimal model size. Under such guidance, we perfect our data cleaning and composition strategies to pretrain $\texttt{360Zhinao-7B-Base}$ on 3.4T tokens. We also mainly emphasize data during alignment, where we strive to balance quantity and quality with filtering and reformatting. With tailored data, 360Zhinao-7B's context window is easily extended to 32K and 360K. RMs and RLHF are trained following SFT and credibly applied to specific tasks. All together these contributions lead to 360Zhinao-7B's competitive performance among models of similar size.
[ -0.4146568775177002, -0.29803431034088135, 0.33931735157966614, 0.5637657642364502, -0.5728108286857605, -0.3045051693916321, 0.043498311191797256, -0.48711344599723816, 0.016085579991340637, 0.6844367384910583, -0.5125788450241089, -0.27797678112983704, -0.017645956948399544, 0.16970621049404144, -0.12863121926784515, 0.791571855545044, -0.050030048936605453, 0.2840239703655243, -0.03730275109410286, -0.004921486135572195, -0.7006723880767822, -0.4254467487335205, -0.2577824294567108, -0.28893300890922546, 0.6905616521835327, 0.46715691685676575, 0.45746931433677673, 0.8930730223655701, 0.2753373980522156, 0.3847435414791107, 0.08165296167135239, 0.13901206851005554, -0.4580162763595581, 0.21840359270572662, -0.06249656155705452, -0.32871416211128235, -1.0047593116760254, 0.008704899810254574, 0.775693416595459, 0.45591166615486145, -0.3301396071910858, 0.3242180645465851, -0.22300125658512115, 0.8170392513275146, -0.768293023109436, 0.08947581052780151, -0.3809419572353363, 0.0019270292250439525, -0.4595036804676056, 0.1200793907046318, -0.5466574430465698, -0.2493845671415329, -0.13570056855678558, -1.0528849363327026, 0.32025980949401855, 0.24304161965847015, 1.004294753074646, -0.10512644797563553, -0.38987424969673157, 0.15919679403305054, -0.37259727716445923, 0.6471561789512634, -0.7333328127861023, 0.4636571407318115, 0.34683021903038025, 0.324209988117218, 0.006817617453634739, -0.5948638916015625, -0.38469651341438293, -0.04858732223510742, 0.28939422965049744, 0.2808385491371155, 0.15253187716007233, 0.19585667550563812, 0.37296682596206665, 0.346026748418808, -0.8802544474601746, 0.11333227902650833, -0.9652401804924011, -0.30848458409309387, 0.837133526802063, 0.17533205449581146, 0.018811989575624466, -0.3920433521270752, -0.2593441307544708, 0.10579367727041245, -0.5983999967575073, -0.30242955684661865, 0.5598347187042236, 0.12022363394498825, 0.1255427598953247, 0.6790927052497864, -0.8774278163909912, 1.0967862606048584, 0.2823997735977173, 0.07106935232877731, 0.211272731423378, -0.41708293557167053, -0.5242530107498169, 0.22454898059368134, 0.5682253241539001, 0.24700580537319183, -0.12643323838710785, -0.021085059270262718, -0.19702503085136414, -0.23938557505607605, 0.6446350812911987, -1.1985963582992554, -0.21804052591323853, 0.22652438282966614, -0.38138312101364136, -0.09681052714586258, -0.06222277134656906, -0.4173124432563782, -0.14651112258434296, -0.500754177570343, 0.5140265226364136, -0.599563479423523, -0.5629157423973083, 0.07204882800579071, 0.181554913520813, 0.19536937773227692, 0.37821486592292786, -0.8925328254699707, -0.06537523865699768, 0.7046961784362793, 1.141652226448059, -0.23144519329071045, -0.3148897886276245, -0.5060639381408691, 0.04813018813729286, -0.3802028298377991, 0.5868276953697205, -0.18986977636814117, -0.6804312467575073, -0.1705220490694046, -0.1147843673825264, 0.03020947426557541, -0.6256465315818787, 0.23976580798625946, -0.6989920139312744, -0.04122419282793999, -0.4391442835330963, -0.34272801876068115, -0.37349680066108704, 0.280805766582489, -0.7996395826339722, 0.885033369064331, 0.323042631149292, -0.5710345506668091, 0.2955344617366791, -0.600566029548645, -0.149427592754364, 0.31119197607040405, 0.2818351984024048, -0.4896618127822876, 0.28939515352249146, -0.29751452803611755, 0.39863812923431396, -0.10036806017160416, -0.08234446495771408, -0.5055465698242188, -0.3203584849834442, -0.036605123430490494, -0.08132491260766983, 0.8088961243629456, 0.5569882392883301, 0.027162132784724236, 0.664444088935852, -0.9173473119735718, 0.1693890243768692, -0.21237821877002716, -0.1318458765745163, 0.08037876337766647, -0.6988956332206726, 0.22369283437728882, 0.25571998953819275, 0.4094282388687134, -0.6475158333778381, 0.2755323648452759, -0.5780560970306396, 0.37495607137680054, 0.5935230851173401, -0.3397958278656006, 0.4254146218299866, -0.34060490131378174, 0.6615288853645325, 0.16616256535053253, 0.5773133039474487, -0.07844781875610352, -0.33593037724494934, -0.6315650939941406, -0.3938169777393341, 0.3073873221874237, 0.21002095937728882, -0.6898932456970215, 0.3496832549571991, -0.04563940316438675, -0.8978565335273743, -0.3464755713939667, 0.3062479496002197, 0.25321802496910095, 0.7487923502922058, 0.3574167788028717, -0.2835187315940857, -0.732306957244873, -1.2858941555023193, 0.06549593061208725, 0.013024930842220783, 0.23306243121623993, -0.3794396221637726, 0.4451262056827545, 0.06282275170087814, 0.7800986170768738, -0.3117934763431549, -0.16678711771965027, -0.3077020049095154, -0.18253661692142487, 0.20452773571014404, 0.5867759585380554, 0.4439069628715515, -0.670055091381073, -0.673804759979248, 0.34743112325668335, -0.7652223110198975, 0.29542744159698486, 0.4393882155418396, -0.6011058688163757, 0.30302464962005615, 0.14790049195289612, -0.9762623906135559, 0.5572890639305115, 0.45177629590034485, -0.039721276611089706, 0.5531470775604248, -0.33372852206230164, 0.19966185092926025, -1.250241756439209, 0.06658052653074265, -0.036343831568956375, -0.22618712484836578, -0.7839114665985107, -0.07591380923986435, 0.37453988194465637, -0.12494352459907532, -0.6452990770339966, 0.4873766601085663, -0.6976644992828369, 0.05191522091627121, -0.4318690896034241, -0.008683930151164532, 0.005318370647728443, 0.3635471761226654, 0.02508234605193138, 0.6065304279327393, 0.3672198951244354, -0.46282315254211426, 0.4692470133304596, 0.09355705976486206, -0.3902282416820526, 0.4728870987892151, -0.8066478967666626, 0.21082614362239838, 0.35866495966911316, 0.2939777970314026, -0.6233922243118286, -0.40990033745765686, 0.07236252725124359, -0.5567357540130615, 0.15219414234161377, -0.22517043352127075, -0.5969618558883667, -0.221588134765625, -0.3916836380958557, 0.5877938270568848, 0.5222377777099609, -0.2705345153808594, 0.8222073316574097, 0.1177419126033783, 0.14915676414966583, -0.538263201713562, -0.20123101770877838, -0.4087845981121063, -0.6176573634147644, -0.7777224779129028, 0.0962178185582161, -0.021885642781853676, 0.06734825670719147, -0.42454150319099426, -0.11041588336229324, 0.05215299129486084, 0.04377627745270729, 0.8073844909667969, 0.731142520904541, -0.23260696232318878, -0.14344346523284912, -0.030500151216983795, -0.08229202032089233, 0.056990060955286026, -0.20991593599319458, 0.7091495394706726, -0.23846399784088135, -0.057421356439590454, -0.6243340373039246, 0.11788152158260345, 0.2245447337627411, -0.2259814292192459, 0.9262585043907166, 0.593860924243927, -0.492681622505188, -0.11491960287094116, -0.6771513819694519, 0.17643412947654724, -0.5577782392501831, 0.611642599105835, -0.5317918062210083, -0.30511605739593506, 0.5380063652992249, 0.3445133566856384, 0.13096415996551514, 0.5398024916648865, 0.7418127655982971, 0.3430391252040863, 1.100353479385376, 0.4755803346633911, 0.1425652801990509, 0.4802926778793335, -0.28055986762046814, -0.06343021988868713, -0.975399911403656, -0.5096993446350098, -0.3754062056541443, 0.1070217564702034, -0.38446176052093506, -0.1901780515909195, 0.13387909531593323, 0.41225650906562805, -0.53579181432724, 0.3094859719276428, -0.5400350093841553, 0.4304134249687195, 0.4402381479740143, 0.08227553218603134, 0.16448892652988434, -0.3143216371536255, 0.38386112451553345, 0.13112051784992218, -0.7359509468078613, -0.37681838870048523, 1.1569511890411377, -0.021620050072669983, 0.37876224517822266, 0.12747767567634583, 0.7194872498512268, -0.15861225128173828, 0.8860570192337036, -0.6640697717666626, 0.36463287472724915, 0.3257632553577423, -0.9156315922737122, -0.29245641827583313, -0.29477617144584656, -0.9285503625869751, 0.4559701383113861, 0.037230346351861954, -0.48386916518211365, -0.008244077675044537, 0.5919281840324402, -0.6070901155471802, 0.1006365492939949, -0.9946533441543579, 0.9988449811935425, -0.18283355236053467, -0.5067017078399658, -0.06055270880460739, -0.42646047472953796, 0.4834815263748169, -0.0368928499519825, 0.07700315117835999, -0.29820671677589417, 0.15888772904872894, 0.7906898856163025, -0.562795877456665, 0.2981536388397217, -0.4638483226299286, 0.15200132131576538, 0.1368890404701233, -0.08754412084817886, -0.05566160008311272, 0.3240123689174652, -0.3579275608062744, 0.2962260842323303, 0.24243409931659698, -0.696182131767273, -0.3086582124233246, 0.8791593909263611, -0.8893927335739136, -0.600805401802063, -0.5529544949531555, -0.6982446312904358, -0.3927190601825714, 0.6850572228431702, 0.7037566900253296, 0.371655136346817, -0.10691720992326736, 0.485250324010849, 0.5593967437744141, 0.19960106909275055, 0.39517852663993835, 0.36691316962242126, -0.5560683012008667, -0.28904712200164795, 0.915598452091217, 0.41867098212242126, 0.2530905306339264, -0.06561923772096634, -0.10764812678098679, -0.21469461917877197, -0.8829913139343262, -0.544457197189331, 0.45378783345222473, -0.54961097240448, -0.6066070795059204, -0.2622795104980469, -0.3083157241344452, -0.6460772156715393, 0.06447481364011765, -0.809393048286438, -0.061384864151477814, -0.38184913992881775, -0.2611035406589508, 0.26735082268714905, 0.895365297794342, -0.09983307123184204, 0.4571582078933716, -0.7187764048576355, 0.06528326869010925, -0.0958593338727951, 0.2045626938343048, 0.2636258006095886, -0.7110316157341003, -0.8039184212684631, 0.2643890976905823, -0.44347062706947327, -0.690897524356842, 0.8210024833679199, -0.14260761439800262, 0.40918469429016113, 0.346378356218338, -0.07863015681505203, 0.8161258697509766, -0.5200854539871216, 0.6357922554016113, 0.46873849630355835, -1.0210745334625244, 0.629727303981781, -0.5362889766693115, 0.3223593533039093, 0.4740142822265625, 0.5891249179840088, -0.13390855491161346, 0.28492388129234314, -0.595679759979248, -0.8396973013877869, 0.7561407685279846, 0.22497661411762238, -0.1598215103149414, 0.35127121210098267, 0.7945422530174255, 0.2808212339878082, 0.04458608850836754, -0.3065318465232849, 0.05523274466395378, -0.9241045713424683, -0.3633991777896881, -0.09827914834022522, 0.030062982812523842, -0.17489267885684967, -0.2605019807815552, 0.8284546136856079, 0.020599720999598503, -0.10034333914518356, 0.1224425733089447, -0.47581925988197327, 0.23174086213111877, -0.2614837884902954, 0.859878659248352, 1.1413148641586304, -0.40842851996421814, -0.3144482374191284, 0.09805560857057571, -0.7717966437339783, 0.010856014676392078, 0.12834256887435913, 0.1384030431509018, -0.2759755551815033, 0.37525901198387146, 0.9321630001068115, -0.15410946309566498, -0.4799850285053253, 0.14639049768447876, 0.015589992515742779, -0.3140196204185486, -0.4845762848854065, 0.4351559281349182, 0.2677401304244995, 0.2304297834634781, 0.4270021617412567, -0.30627307295799255, 0.28010889887809753, -0.4191901683807373, -0.10283011198043823, 0.08370357751846313, -0.4568505883216858, -0.7545154690742493, 0.572687566280365, 0.1529063582420349, -0.26533597707748413, 0.8632727265357971, 0.08587180823087692, -0.17168894410133362, 0.5474604368209839, 0.2921168804168701, 0.4105832576751709, -0.4645625650882721, 0.11634635925292969, 0.49999451637268066, 0.001084894873201847, -0.504149317741394, 0.1676551252603531, -0.00604636687785387, -0.6236721277236938, -0.19537150859832764, -0.5270474553108215, -0.22620458900928497, 0.17111533880233765, -1.3428099155426025, 0.2559487819671631, -0.7448449730873108, -0.1767977774143219, 0.2552472651004791, 0.4082832932472229, -0.6654638648033142, 0.4875517189502716, -0.018209394067525864, 0.7150668501853943, -0.5916285514831543, 1.1882978677749634, 0.503656804561615, -0.47999876737594604, -0.9830127358436584, -0.6295406818389893, 0.00358039909042418, -0.8630412817001343, 0.7725908756256104, 0.4298381507396698, 0.007615721318870783, 0.06445228308439255, -0.6058235168457031, -0.8419236540794373, 1.5096532106399536, 0.2693307101726532, -0.6585901975631714, -0.08746863156557083, -0.1791934072971344, 0.4014187455177307, -0.36523282527923584, 0.06301671266555786, 0.4272560775279999, 0.30025458335876465, 0.06195437163114548, -1.087395191192627, -0.10478224605321884, -0.3740769624710083, 0.22317594289779663, -0.08635253459215164, -1.074141025543213, 1.0851088762283325, 0.10882125049829483, 0.14929507672786713, 0.41937679052352905, 1.1556512117385864, 0.6529160737991333, 0.3091543912887573, 0.4368719160556793, 0.26336362957954407, 0.5272514820098877, -0.0698600485920906, 1.0053281784057617, -0.2423829883337021, 0.3464694619178772, 1.0045827627182007, -0.6223937273025513, 0.8703044056892395, 0.360850065946579, 0.13231532275676727, 0.2674840986728668, 0.9891723990440369, 0.15329784154891968, 0.3724749982357025, 0.2482273280620575, -0.11309157311916351, -0.3563866913318634, 0.08072508126497269, -0.6747422814369202, 0.33057135343551636, 0.0672621950507164, 0.357857882976532, 0.1245187371969223, 0.24907314777374268, -0.02715025655925274, -0.22415341436862946, -0.496180921792984, 0.3536868393421173, 0.02159738540649414, -0.7566197514533997, 0.4813811779022217, -0.002639614976942539, 0.5156819224357605, -0.8457381725311279, 0.14517368376255035, -0.5817927122116089, 0.41546693444252014, -0.41084426641464233, -0.29557520151138306, 0.13832709193229675, -0.3536231815814972, -0.2509220242500305, 0.058545246720314026, 0.36056894063949585, -0.10850085318088531, -0.36504456400871277, -0.07560084760189056, -0.14395172894001007, -0.07346451282501221, -0.32156428694725037, -0.38661158084869385, 0.3318013548851013, -0.02498004212975502, -0.5751256346702576, 0.6242076754570007, 0.36780887842178345, -0.2182464748620987, 0.5527346134185791, 0.5989341735839844, 0.19637997448444366, 0.2764241397380829, -0.25324997305870056, 0.7125582695007324, -0.734743058681488, -0.5911334156990051, -0.44918352365493774, 0.5877079963684082, -0.39025890827178955, -0.6112644076347351, 1.1672248840332031, 1.008012294769287, 0.8552799820899963, -0.0675896629691124, 0.46209099888801575, 0.3707454204559326, 0.3894832730293274, -0.6432638764381409, 0.6523357629776001, -0.5176122188568115, -0.057269781827926636, 0.2488027662038803, -0.934053897857666, -0.04112577438354492, 0.7781029939651489, -0.057428888976573944, 0.31221750378608704, 0.37007057666778564, 0.6666590571403503, -0.027127521112561226, 0.16884277760982513, 0.35767045617103577, 0.36968380212783813, 0.4468154311180115, 0.3441561460494995, 0.6721376776695251, -0.5086093544960022, 0.2431117743253708, -0.4263923168182373, -0.15623413026332855, -0.44807612895965576, -0.551969587802887, -0.8852730989456177, -0.5700594782829285, -0.1692102998495102, -0.554823637008667, -0.18503552675247192, 0.7166265845298767, 1.11710786819458, -0.5655389428138733, -0.4798143804073334, 0.29143720865249634, -0.24708878993988037, 0.13495099544525146, -0.15782690048217773, 0.2128196358680725, 0.10404568910598755, -0.6759328246116638, 0.2979368567466736, 0.3119817078113556, -0.21819742023944855, -0.4687168002128601, -0.2104041427373886, -0.42407429218292236, 0.09682635962963104, 0.5943795442581177, 0.4084087014198303, -0.527704656124115, -0.2293100208044052, 0.07448983937501907, 0.106666199862957, -0.02322409860789776, 0.7464020252227783, -0.3357527554035187, 0.40948814153671265, 0.5608924031257629, 0.20148667693138123, 0.9797720313072205, 0.28187188506126404, 0.6168253421783447, -0.45805084705352783, 0.4503832161426544, 0.13446453213691711, 0.17623531818389893, 0.29707852005958557, -0.43204444646835327, 0.3981573283672333, 0.2118183970451355, -0.4913976192474365, -1.1397242546081543, -0.12424562871456146, -1.381881833076477, -0.18291443586349487, 0.9853146076202393, -0.2089957296848297, -0.5033604502677917, 0.036215219646692276, -0.13406477868556976, 0.4195718467235565, -0.12272407114505768, 0.5373834371566772, 0.8365122675895691, -0.3081892728805542, 0.17572873830795288, -0.8283210396766663, 0.4525125324726105, 0.43159881234169006, -0.8322970271110535, -0.18128439784049988, 0.596589207649231, 0.6916119456291199, 0.09532646089792252, 0.6292583346366882, -0.05446290969848633, 0.5245325565338135, 0.15796510875225067, 0.1469649374485016, -0.7010242938995361, -0.1928459107875824, -0.250026673078537, 0.2593963146209717, -0.041289735585451126, -0.1867528110742569 ]
http://arxiv.org/abs/2405.13379v1
http://arxiv.org/pdf/2405.13379v1
You don't understand me!: Comparing ASR results for L1 and L2 speakers of Swedish
2024-05-22T06:24:55
2024-05-22T06:24:55
Ronald Cumbal, Birger Moell, Jose Lopes, Olof Engwall
cs.CL
cs.CL, cs.SD, eess.AS
The performance of Automatic Speech Recognition (ASR) systems has constantly increased in state-of-the-art development. However, performance tends to decrease considerably in more challenging conditions (e.g., background noise, multiple speaker social conversations) and with more atypical speakers (e.g., children, non-native speakers or people with speech disorders), which signifies that general improvements do not necessarily transfer to applications that rely on ASR, e.g., educational software for younger students or language learners. In this study, we focus on the gap in performance between recognition results for native and non-native, read and spontaneous, Swedish utterances transcribed by different ASR services. We compare the recognition results using Word Error Rate and analyze the linguistic factors that may generate the observed transcription errors.
[ -0.2778237462043762, -0.4412226676940918, 0.22680941224098206, 0.14544856548309326, -0.3782370388507843, 0.5723398327827454, -0.1023811399936676, -0.8544778227806091, 0.1678944230079651, 0.07074189186096191, -0.4074989855289459, -0.21291401982307434, -0.7398515343666077, 0.5244505405426025, -0.4193778336048126, 0.2550920844078064, 0.047522448003292084, 0.5217598676681519, -0.28060412406921387, -0.11786410212516785, -0.5685597062110901, -0.5245445966720581, -0.6592665314674377, -0.4388541281223297, 0.2742178738117218, 0.5100859999656677, 0.20491719245910645, 0.4329906105995178, 0.3563973605632782, 0.3290368914604187, -0.28079989552497864, -0.01095544546842575, -0.197632297873497, 0.2715063989162445, -0.1265760064125061, -0.36226800084114075, 0.06136519834399223, -0.37221869826316833, 0.5925877094268799, 0.6174423694610596, 0.31101956963539124, 0.14973421394824982, 0.02167249657213688, 0.5010378956794739, -0.4409293532371521, 0.024480389431118965, -0.42506930232048035, 0.1274126023054123, -0.32297852635383606, -0.11900153011083603, -0.0832417905330658, -0.472873717546463, 0.16496601700782776, -0.29584357142448425, 0.43118229508399963, -0.09302186220884323, 0.5393950343132019, 0.32590624690055847, -0.25228703022003174, -0.5869578719139099, -0.9384574890136719, 0.6346238255500793, -0.7406731843948364, 0.4081934988498688, 0.5034220218658447, 0.38616010546684265, 0.09837351739406586, -0.1658189594745636, -0.8613415360450745, -0.04661554843187332, -0.20714303851127625, 0.11143112927675247, -0.3470846712589264, 0.06985894590616226, 0.34591859579086304, 0.19547729194164276, -0.8317185640335083, 0.3325086832046509, -0.8111855983734131, -0.5123692154884338, 0.7457343935966492, 0.003047885140404105, 0.24191498756408691, 0.04512770473957062, -0.10754905641078949, -0.218760684132576, -0.4405529499053955, 0.4063929617404938, 0.46482783555984497, 0.4803873896598816, -0.10013768076896667, 0.8687063455581665, 0.1611378788948059, 0.7272334098815918, -0.10199660807847977, -0.18994177877902985, 0.36412298679351807, -0.14792686700820923, -0.048420049250125885, 0.1903161257505417, 0.5644195079803467, 0.20543760061264038, 0.2349112182855606, -0.19770187139511108, -0.44079262018203735, 0.44302648305892944, -0.17811553180217743, -0.24142315983772278, 0.0021623417269438505, 0.16839304566383362, -0.388067364692688, 0.07577605545520782, -0.0863410234451294, -0.4111845791339874, -0.44369205832481384, -0.19678901135921478, 0.5686039924621582, -0.12818793952465057, -0.2815744876861572, 0.04053424671292305, -0.4597308039665222, 0.30503126978874207, 0.24836255609989166, -0.7074239253997803, 0.5030344724655151, 0.47627338767051697, 0.8139345645904541, -0.33022841811180115, -0.03363737463951111, -0.12405050545930862, -0.4467726945877075, -0.2697964608669281, 0.8017027974128723, -0.25525331497192383, -0.7567218542098999, 0.11704576760530472, -0.2617654502391815, -0.35236427187919617, -0.8806264400482178, 0.5075465440750122, -0.4196609556674957, 0.07173493504524231, -0.5099870562553406, -0.5171616673469543, -0.006353330332785845, -0.24579796195030212, -0.32289615273475647, 0.7180044651031494, 0.0032930653542280197, -0.5211477279663086, 0.44954970479011536, -0.5885260105133057, -0.6657040119171143, 0.23490887880325317, -0.4376808702945709, -0.06482528150081635, 0.19523216784000397, -0.1445821225643158, 0.0904497355222702, -0.1243838220834732, -0.15159060060977936, -0.03153098374605179, -0.6803374886512756, 0.6017568111419678, -0.39922162890434265, 0.6322241425514221, 0.21897335350513458, -0.3341999650001526, -0.058817919343709946, -0.8842688798904419, 0.0899655893445015, 0.006515763700008392, -0.6845242381095886, -0.38869109749794006, 0.22086849808692932, 0.39104723930358887, 0.3907380998134613, 0.26826873421669006, -0.782158374786377, 0.053292274475097656, -0.48190802335739136, 0.4276607632637024, 0.5598788857460022, -0.07730276882648468, 0.33547937870025635, -0.38809865713119507, 0.5779186487197876, 0.17375679314136505, -0.17815442383289337, 0.04920133203268051, -0.3101019561290741, -0.6976928114891052, 0.09907037764787674, 0.31933823227882385, 0.7782151103019714, -0.8857397437095642, 0.2827027142047882, -0.2831602990627289, -0.18768948316574097, -0.8842492699623108, 0.12728266417980194, 0.8596241474151611, 0.4635644555091858, 0.3910830020904541, -0.25572332739830017, -0.7857834696769714, -0.992182195186615, -0.6895545721054077, -0.5083276033401489, -0.36804133653640747, 0.5087098479270935, 0.1430935114622116, -0.21481041610240936, 0.8688260912895203, -0.1610405594110489, -0.3917638957500458, -0.4299161732196808, 0.039016224443912506, 0.16213928163051605, 0.5040339231491089, 0.24461697041988373, -0.6630359888076782, -0.678799569606781, -0.10417288541793823, -0.42071640491485596, -0.3553540110588074, 0.1586976796388626, 0.7471013069152832, 0.6551737189292908, 0.6456785202026367, -0.21285556256771088, 0.19870251417160034, 0.5849330425262451, -0.7831385731697083, 0.38038358092308044, -0.3638509213924408, 0.04750868305563927, -0.5970829725265503, 0.05339781567454338, -0.15808257460594177, -0.13534995913505554, -0.7083870768547058, -0.4881632626056671, 0.05724590644240379, -0.11759887635707855, -0.300039678812027, 0.5534164309501648, -0.5749211311340332, -0.4865942895412445, 0.07518637925386429, 0.1577875316143036, -0.20995473861694336, 0.21649061143398285, -0.23029176890850067, 1.1578618288040161, 0.48485755920410156, -0.6189321875572205, -0.15915820002555847, 0.47854456305503845, -0.5910590887069702, 0.4025518298149109, -0.8453835248947144, 0.3787172734737396, -0.14969493448734283, -0.2497553527355194, -1.3144289255142212, -0.26785609126091003, 0.1934075951576233, -0.9366198182106018, 0.549416184425354, 0.1365077942609787, -0.4647223651409149, -0.4329856336116791, 0.00026596197858452797, 0.22024458646774292, 0.7061238884925842, -0.32469993829727173, 0.4750750958919525, 0.45318737626075745, -0.30286070704460144, -0.6037078499794006, -1.0519920587539673, 0.12427123636007309, -0.11151770502328873, -0.48482808470726013, -0.0731157436966896, 0.00764458067715168, -0.6154385805130005, -0.06643097847700119, -0.43113642930984497, -0.20466408133506775, 0.07104121148586273, 0.3256602883338928, -0.11906211078166962, -0.4710000455379486, 0.0918361097574234, 0.2385476678609848, -0.033813271671533585, -0.023527054116129875, 0.025148607790470123, 0.40394312143325806, 0.04221098870038986, -0.32840201258659363, -0.5215200781822205, 0.33240506052970886, 0.7623162865638733, 0.022675426676869392, 0.5544779896736145, 0.10562285035848618, -0.22392073273658752, 0.16901622712612152, -0.7889291644096375, -0.16747835278511047, -0.4452643096446991, 0.08338821679353714, -0.5569145083427429, -0.7830567955970764, 0.6880024075508118, 0.3552340865135193, -0.15339134633541107, 0.3571604788303375, 0.09582550823688507, -0.4007088541984558, 0.9926609396934509, 0.3449685871601105, 0.02848772145807743, 0.5217517018318176, 0.05978880077600479, 0.14076422154903412, -0.5882948040962219, -0.32441622018814087, -0.8247265219688416, -0.48753443360328674, -0.555256187915802, -0.27396079897880554, 0.16244259476661682, 0.01449534110724926, 0.055046457797288895, 0.3439439535140991, -0.20019347965717316, 0.449077844619751, 0.39879652857780457, -0.15168961882591248, 0.3532021641731262, 0.09336747974157333, 0.014937097206711769, -0.3615618944168091, -0.7019418478012085, -0.4083780348300934, 0.6910879611968994, 0.32456690073013306, 0.725681722164154, 0.518601655960083, 0.5975462794303894, 0.7274391651153564, -0.21017467975616455, -0.6531453132629395, 0.35435861349105835, -0.5157907605171204, -0.48498091101646423, -0.4756082594394684, -0.4265190064907074, -0.9916555881500244, 0.32847973704338074, -0.2645758390426636, -0.5614411234855652, 0.49222344160079956, 0.25003737211227417, -0.22249692678451538, 0.030256714671850204, -0.8046921491622925, 0.4958994388580322, -0.10599023848772049, 0.1464456468820572, 0.005917600356042385, -0.741334855556488, -0.158543661236763, -0.1239457055926323, 0.3755434453487396, -0.11173494905233383, 0.01193943526595831, 0.7278441786766052, -0.16614192724227905, 0.6593353152275085, -0.6140565276145935, 0.12250076979398727, 0.286154180765152, -0.13383495807647705, 0.2131374180316925, -0.4352044463157654, 0.058604296296834946, 0.28237032890319824, 0.05087649077177048, -0.25101107358932495, -0.42474886775016785, 0.4128863513469696, -0.9609435200691223, -0.40015459060668945, -0.47992706298828125, -0.12150943279266357, -0.12638847529888153, 0.26431185007095337, 0.6303663849830627, 0.3744896948337555, -0.33213359117507935, 0.030316898599267006, 0.5133482813835144, -0.22807544469833374, 0.3656821846961975, 0.8096561431884766, 0.027463790029287338, -0.1742401272058487, 0.9229426980018616, 0.6723172068595886, 0.37719547748565674, 0.20972076058387756, 0.05143093690276146, -0.7124409675598145, -0.7113339900970459, -0.5064714550971985, 0.16975240409374237, -0.9116451740264893, 0.08118489384651184, -0.9084778428077698, -0.009383687749505043, -0.7119700312614441, -0.16531842947006226, -0.07559109479188919, -0.6062966585159302, -0.3683212697505951, 0.05435863137245178, 0.22061285376548767, 0.9298617839813232, -0.2674497961997986, 0.3850570023059845, -0.46745312213897705, 0.1560807079076767, 0.09445898979902267, 0.149922713637352, -0.13975249230861664, -0.8261183500289917, -0.04429922625422478, -0.06280265748500824, 0.055900689214468, -0.9122433662414551, 0.4143986701965332, 0.5039678812026978, 0.4690955579280853, 0.3247377872467041, 0.11891448497772217, 0.7392416000366211, -0.44508031010627747, 0.7681013941764832, 0.039050742983818054, -1.2088816165924072, 0.36742714047431946, 0.007928924635052681, 0.43681877851486206, 0.5637239217758179, -0.0645856112241745, -0.7635493874549866, -0.36253684759140015, -0.5030664205551147, -0.9987329244613647, 0.7932913303375244, 0.17922867834568024, 0.019063415005803108, 0.2104043811559677, 0.18029189109802246, 0.0018132185796275735, 0.036542922258377075, -0.3673061430454254, -0.41273584961891174, 0.07153063267469406, 0.04970498010516167, -0.6634671688079834, -0.32460716366767883, 0.10029243677854538, -0.20832054316997528, 0.5481552481651306, 0.09314809739589691, 0.3646352291107178, 0.40203526616096497, -0.4406076669692993, -0.33936652541160583, 0.24889126420021057, 1.0356037616729736, 0.5041519999504089, -0.02802514284849167, 0.13611984252929688, 0.383454293012619, -0.7275123000144958, 0.24946905672550201, 0.016107749193906784, -0.07931429147720337, 0.5164823532104492, 0.6038316488265991, 0.7891021370887756, 0.4392494559288025, -0.8625742793083191, 0.5652942061424255, -0.4641096889972687, -0.12701533734798431, -0.6207337379455566, 0.14466869831085205, -0.019919490441679955, 0.37100857496261597, 0.5154613852500916, 0.33849966526031494, 0.20105770230293274, -0.2637600302696228, -0.04927162081003189, 0.20273464918136597, -0.37664344906806946, -0.2613300085067749, 0.5494115948677063, 0.2831059694290161, -0.7649750113487244, 0.5007719397544861, -0.14741389453411102, -0.5410634875297546, 0.750089704990387, 0.649935245513916, 0.9014912843704224, -0.3932717442512512, -0.052847862243652344, 0.45187491178512573, 0.34047117829322815, -0.10934903472661972, 0.7478259801864624, -0.2254856675863266, -0.7275080680847168, -0.1557408720254898, -0.4820464551448822, -0.5133811235427856, 0.024028029292821884, -1.0460352897644043, 0.23839344084262848, -0.3465622663497925, -0.12802700698375702, 0.19926117360591888, -0.1124044805765152, -0.6199162006378174, 0.11695757508277893, -0.04670325294137001, 0.873963475227356, -1.1387627124786377, 0.6459272503852844, 0.6034452319145203, -0.16462291777133942, -0.5469325184822083, 0.1470257192850113, 0.12743979692459106, -0.6184382438659668, 0.5549274682998657, 0.08566881716251373, -0.26895672082901, 0.0287656020373106, -0.31960126757621765, -0.762738823890686, 0.767291247844696, 0.03048723377287388, -0.8317623138427734, 0.1997036188840866, 0.1409519463777542, 0.8064853549003601, -0.1790696233510971, -0.11438844352960587, 0.5853025317192078, 0.35786837339401245, 0.21318933367729187, -1.0105959177017212, -0.4187765419483185, -0.2653768062591553, 0.052280083298683167, 0.0673922449350357, -0.20646275579929352, 0.8538710474967957, -0.3238738477230072, -0.6597768068313599, 0.0050150444731116295, 0.29484644532203674, -0.03080788441002369, 0.708071768283844, 0.41492751240730286, 0.09019134938716888, 0.6657832264900208, -0.17943468689918518, 0.8851945996284485, -0.06520887464284897, 0.10331595689058304, 1.0515512228012085, -0.27030783891677856, 1.0512391328811646, 0.4688001275062561, -0.42448174953460693, -0.049490101635456085, 0.6255380511283875, -0.039418965578079224, 0.49931085109710693, 0.11491725593805313, -0.4316936135292053, 0.05335533246397972, 0.2092936784029007, -0.46344178915023804, 0.3980719745159149, 0.5955117344856262, -0.2686455547809601, 0.14530688524246216, 0.0597376711666584, -0.23253358900547028, 0.2181490957736969, -0.24366822838783264, 1.1451972723007202, 0.10233563929796219, -0.4647206664085388, 0.8178084492683411, -0.08204154670238495, 0.7594743371009827, -0.39141932129859924, 0.25014621019363403, -0.15163561701774597, 0.295428603887558, -0.4184911847114563, -0.6177222728729248, 0.7039144039154053, 0.2685777246952057, -0.4048062860965729, -0.1300848126411438, 0.7709118127822876, -0.4306860566139221, -0.18972694873809814, 0.5015343427658081, 0.5976049900054932, 0.7452637553215027, 0.21946357190608978, -0.5868563055992126, 0.33884692192077637, 0.017901981249451637, 0.2932843863964081, 0.059107422828674316, 0.08300077170133591, 0.06515198200941086, 0.4634808897972107, 0.6502286791801453, 0.17675688862800598, 0.15382958948612213, 0.1629325896501541, 0.5311344861984253, -0.3783304989337921, -0.32196909189224243, -0.7985808849334717, 0.5047762393951416, 0.05015174672007561, -0.5912033915519714, 0.7480005025863647, 0.640441358089447, 0.8758091926574707, -0.3930371105670929, 0.9080827832221985, -0.13519775867462158, 1.101060390472412, -0.24270164966583252, 0.8520313501358032, -0.5875420570373535, 0.24171078205108643, -0.2382572591304779, -0.7163887023925781, -0.23071199655532837, 0.8709588646888733, -0.2503718137741089, -0.24024897813796997, 0.34755608439445496, 0.6133595705032349, 0.11008108407258987, -0.14348356425762177, 0.7390566468238831, 0.5804348587989807, 0.17678149044513702, 0.07017546892166138, 0.7924200296401978, -0.27041229605674744, 0.14919081330299377, 0.06425611674785614, -0.20179882645606995, -0.3379264175891876, -0.3191194534301758, -0.8177311420440674, -0.7148936986923218, -0.1712748259305954, -0.6531661152839661, 0.34395986795425415, 1.050695776939392, 0.13628949224948883, -1.105645775794983, -0.2872712314128876, 0.02472732961177826, 0.07392094284296036, -0.14121940732002258, -0.13270322978496552, 0.11257269233465195, -0.02663908712565899, -0.5559645891189575, 0.7561032772064209, 0.03527839854359627, 0.3180626928806305, -0.14696800708770752, -0.19240592420101166, 0.11168938875198364, 0.23792876303195953, 0.33670946955680847, 0.8525034785270691, -0.7913628220558167, -0.02567295916378498, 0.18594348430633545, -0.11918200552463531, 0.10836265981197357, 0.5872759222984314, -0.4960087239742279, 0.646070659160614, 0.5659692287445068, 0.46695223450660706, 0.3990996778011322, -0.05237319692969322, 0.4327063262462616, -0.5862171649932861, 0.02613714337348938, 0.41520482301712036, 0.03324363753199577, 0.5200256705284119, -0.24630512297153473, 0.24825121462345123, 0.284070760011673, -0.5587528944015503, -1.0615326166152954, 0.20589348673820496, -0.6740956902503967, 0.017532609403133392, 1.011060118675232, -0.20142048597335815, 0.19240470230579376, -0.7321038842201233, -0.23069868981838226, 0.20247076451778412, -0.40869140625, 0.8321969509124756, 0.7339145541191101, -0.4049854278564453, 0.12191145122051239, -0.5400030612945557, 0.5971410870552063, 0.38095998764038086, -0.28723496198654175, -0.17831820249557495, 0.36069872975349426, 0.6040323376655579, 0.30925193428993225, 0.7262336015701294, -0.030849650502204895, 0.2491733729839325, 0.25317949056625366, 0.06735058128833771, 0.20217111706733704, -0.13946221768856049, -1.1602534055709839, -0.21145354211330414, 0.3554573953151703, -0.38598182797431946 ]
http://arxiv.org/abs/2405.13358v1
http://arxiv.org/pdf/2405.13358v1
AdpQ: A Zero-shot Calibration Free Adaptive Post Training Quantization Method for LLMs
2024-05-22T05:32:11
2024-05-22T05:32:11
Alireza Ghaffari, Sharareh Younesian, Vahid Partovi Nia, Boxing Chen, Masoud Asgharian
cs.CL
cs.CL
The ever-growing computational complexity of Large Language Models (LLMs) necessitates efficient deployment strategies. The current state-of-the-art approaches for Post-training Quantization (PTQ) often require calibration to achieve the desired accuracy. This paper presents AdpQ, a novel zero-shot adaptive PTQ method for LLMs that achieves the state-of-the-art performance in low-precision quantization (e.g. 3-bit) without requiring any calibration data. Inspired by Adaptive LASSO regression model, our proposed approach tackles the challenge of outlier activations by separating salient weights using an adaptive soft-thresholding method. Guided by Adaptive LASSO, this method ensures that the quantized weights distribution closely follows the originally trained weights and eliminates the need for calibration data entirely, setting our method apart from popular approaches such as SpQR and AWQ. Furthermore, our method offers an additional benefit in terms of privacy preservation by eliminating any calibration or training data. We also delve deeper into the information-theoretic underpinnings of the proposed method. We demonstrate that it leverages the Adaptive LASSO to minimize the Kullback-Leibler divergence between the quantized weights and the originally trained weights. This minimization ensures the quantized model retains the Shannon information content of the original model to a great extent, guaranteeing efficient deployment without sacrificing accuracy or information. Our results achieve the same accuracy as the existing methods on various LLM benchmarks while the quantization time is reduced by at least 10x, solidifying our contribution to efficient and privacy-preserving LLM deployment.
[ 0.0710063949227333, -0.5483437776565552, 0.32536596059799194, -0.022690726444125175, -0.4166521430015564, 0.04200579226016998, 0.07477974891662598, 0.006287524942308664, -0.11691488325595856, 0.4275068938732147, -0.23313528299331665, -0.6527040600776672, -0.5645171999931335, -0.20731326937675476, -0.018897810950875282, 0.8078365325927734, 0.04126931354403496, 0.11200030148029327, 0.07836704701185226, -0.39616918563842773, -0.27097901701927185, -0.30722424387931824, -0.7136245369911194, 0.21977326273918152, 0.21688631176948547, 0.18688419461250305, 0.8032181262969971, 0.6283285617828369, 0.11660647392272949, 0.1715061217546463, -0.2677105665206909, 0.29192885756492615, -0.3361785113811493, 0.05615825578570366, 0.2943728268146515, -0.7139070630073547, -0.7442429065704346, -0.2630474269390106, 1.0072838068008423, 0.5042303204536438, -0.20807614922523499, 0.21142426133155823, -0.04885736107826233, 0.9516590237617493, -1.3160526752471924, -0.09850567579269409, -0.8002527952194214, 0.0952177494764328, 0.2120433747768402, -0.26380887627601624, -0.23187284171581268, -0.5957806706428528, -0.1813945770263672, -0.6020600199699402, 0.2709397077560425, -0.32642418146133423, 0.34991371631622314, 0.3810625672340393, -0.802135169506073, 0.14885401725769043, -0.546000063419342, 0.9794695377349854, -0.7893053889274597, 0.4409136176109314, 0.22941288352012634, 0.07220112532377243, -0.05831015110015869, -0.18779611587524414, -0.40222251415252686, 0.06448154896497726, 0.39620906114578247, 0.14535315334796906, -0.14779381453990936, 0.07648426294326782, 0.12304463982582092, 0.2681606411933899, -0.9444978833198547, 0.05827723443508148, -0.2251797318458557, -0.1566174179315567, 0.5046495795249939, -0.04326871037483215, -0.027893148362636566, 0.25541892647743225, -0.4606911540031433, -0.10261832177639008, -0.8472045660018921, 0.25145381689071655, 0.3730548322200775, 0.11938179284334183, -0.02413911744952202, 0.14540226757526398, -0.35326606035232544, 0.8106820583343506, -0.04079543799161911, -0.1106775552034378, 0.25085049867630005, -0.1423439383506775, -0.3448975384235382, 0.28575029969215393, 0.8154876232147217, 0.22818481922149658, 0.09091641008853912, 0.08242888748645782, -0.04160172492265701, -0.06843198090791702, -0.017466958612203598, -0.7867933511734009, -0.2501595914363861, 0.29761621356010437, -0.10667015612125397, -0.3234509229660034, -0.3700729310512543, -0.3069557249546051, -0.39036959409713745, 0.03747853264212608, 0.7783221006393433, -0.4787446856498718, -0.13457144796848297, 0.30669522285461426, 0.11210465431213379, 0.3835500180721283, 0.5656939148902893, -0.8265392184257507, 0.21072563529014587, 0.545787513256073, 0.8753659725189209, 0.14141084253787994, -0.08108261227607727, -0.7430864572525024, 0.14771369099617004, -0.6537438035011292, 0.38581588864326477, 0.005028237588703632, -0.03876674920320511, -0.11977124214172363, -0.004367203917354345, -0.1085951179265976, -0.4219132661819458, 0.4383517801761627, -0.827792763710022, 0.07554405182600021, 0.13217975199222565, -0.3228917419910431, -0.42137637734413147, 0.22463516891002655, -0.29041561484336853, 0.9569191336631775, 0.2122402787208557, -0.49626773595809937, 0.4799835979938507, -0.42211055755615234, 0.009863356128334999, 0.2301475703716278, 0.1950312852859497, -0.532362163066864, 0.27891507744789124, 0.41053467988967896, 0.26185107231140137, -0.10782313346862793, -0.05791883170604706, -0.42612558603286743, -0.800264835357666, 0.3278299570083618, -0.4469720125198364, 1.023510456085205, 0.07570981234312057, -0.22176849842071533, 0.08025975525379181, -0.8842611908912659, 0.3428790271282196, 0.05492210388183594, -0.17659907042980194, -0.3707752823829651, -0.17500445246696472, -0.42821207642555237, 0.07399909198284149, 0.1704232543706894, -0.54361891746521, 0.21883538365364075, -0.7578673958778381, 0.3436430096626282, 0.6626288890838623, 0.0641753152012825, 0.732447624206543, -0.3852958679199219, 0.606070339679718, -0.07649192959070206, 0.2656264305114746, -0.1912713646888733, -0.15593954920768738, -0.6857720017433167, -0.6495551466941833, 0.6602990627288818, 0.6892848014831543, -0.530771017074585, 0.4746119976043701, -0.3549177646636963, -0.4170628488063812, -0.7985591888427734, 0.18294624984264374, 0.21544145047664642, 0.3458443582057953, 0.27183476090431213, -0.36231958866119385, -0.346812903881073, -0.5414337515830994, -0.12917812168598175, -0.2170369178056717, -0.530981719493866, 0.14120715856552124, 0.09815677255392075, 0.13903754949569702, 0.7142887115478516, -0.4513566493988037, -0.30970966815948486, 0.20106586813926697, 0.1823074370622635, 0.16456995904445648, 0.4340682625770569, 0.585665225982666, -0.5809243321418762, -0.6008108854293823, -0.3503550887107849, -0.5260115265846252, -0.150735005736351, 0.02459004893898964, -0.2707434296607971, 0.24951249361038208, 0.03302476555109024, -0.474964439868927, 0.1715642809867859, 0.5940138697624207, -0.18243932723999023, 0.30241215229034424, -0.2612752914428711, 0.36500927805900574, -0.7492808103561401, 0.1132289320230484, -0.24376362562179565, -0.5542275309562683, -0.6718655824661255, 0.10330464690923691, 0.3345561623573303, -0.19425807893276215, -0.8316086530685425, 0.566183865070343, -0.31971755623817444, 0.1692008674144745, -0.4473799765110016, 0.2012101411819458, 0.2977757751941681, 0.5308796763420105, 0.012120155617594719, 0.5403847098350525, 0.7121331095695496, -0.5427396893501282, 0.5623558759689331, 0.19339026510715485, -0.07811079919338226, 0.7292248010635376, -0.5026870965957642, 0.232472226023674, -0.3927973210811615, 0.22127681970596313, -1.0093262195587158, 0.3937847316265106, 0.3459952175617218, -0.5420036315917969, 0.17116571962833405, -0.6655963063240051, -0.42381900548934937, 0.11237894743680954, -0.9149191379547119, 0.6185420751571655, 0.6386548280715942, -0.19525614380836487, 0.2059437781572342, 0.2604997158050537, -0.15419599413871765, -0.5854522585868835, -0.4512215852737427, -0.15655136108398438, -0.38583385944366455, -0.42924031615257263, 0.3075118660926819, -0.15333814918994904, 0.12307658046483994, -0.3856293559074402, -0.2719958424568176, -0.20475105941295624, 0.262584388256073, 0.03504779934883118, 0.2283264845609665, -0.1819523572921753, 0.08259224891662598, -0.10275604575872421, -0.16906535625457764, -0.2222777158021927, -0.2892912030220032, 0.12121785432100296, -0.004667607601732016, -0.10336564481258392, -0.4091348946094513, 0.14667555689811707, 0.48359668254852295, -0.08346434682607651, 0.8360978960990906, 0.7860224843025208, -0.4434484541416168, -0.23179006576538086, -0.37608739733695984, -0.01957925595343113, -0.4341620206832886, 0.32657304406166077, -0.1984819620847702, -0.8247508406639099, 0.3145640790462494, 0.06450842320919037, 0.025341326370835304, 0.05689135938882828, 0.45736202597618103, 0.10179716348648071, 1.199875831604004, 0.7424253225326538, 0.21827001869678497, 0.5694931745529175, -0.0531083382666111, 0.1529039442539215, -0.9652143120765686, 0.10668517649173737, -0.13352160155773163, -0.19361287355422974, -0.3692981004714966, -0.5880011916160583, 0.577199399471283, 0.6479457020759583, -0.5695064663887024, 0.16794294118881226, -0.5319737792015076, 0.2352183312177658, 0.6882058382034302, 0.2653696537017822, 0.4093720316886902, 0.0030555943958461285, 0.3280898630619049, -0.10152258723974228, -0.6147708892822266, -0.2599375545978546, 1.2422723770141602, 0.23392970860004425, 0.858515739440918, 0.25511953234672546, 0.2961142063140869, 0.3840203583240509, 0.06472848355770111, -0.9815809726715088, 0.4778256118297577, -0.12119635939598083, -0.05065625533461571, -0.44101864099502563, -0.6815493702888489, -0.6613593697547913, 0.5144705176353455, -0.1549549549818039, -0.7286998629570007, 0.36746782064437866, 0.29871782660484314, -0.888150691986084, 0.10888064652681351, -0.6359221339225769, 0.8282989859580994, -0.1370241492986679, -0.4176529049873352, 0.09068349748849869, -0.5798536539077759, 0.3661087155342102, -0.37911340594291687, 0.11113845556974411, -0.5968667268753052, -0.4282878041267395, 0.8832935094833374, -0.3797834515571594, 0.43269073963165283, -0.376322478055954, -0.18414302170276642, 0.3529176712036133, 0.36077606678009033, 0.698142409324646, 0.08640129119157791, -0.2650447189807892, -0.019088583067059517, 0.5169339179992676, -0.5809592008590698, -0.715472400188446, 0.5923006534576416, -0.6217609643936157, -0.3995584547519684, -0.4792832136154175, -0.6585301756858826, -0.4307152032852173, -0.05868110805749893, -0.16781960427761078, 0.07516701519489288, 0.08548146486282349, 0.32863420248031616, 0.6259084939956665, -0.27102237939834595, 0.5123982429504395, 1.1585673093795776, 0.21942304074764252, -0.6927372813224792, 0.791377067565918, 0.0971236452460289, 0.26292264461517334, 0.6320896744728088, 0.07718001306056976, -0.5005612373352051, -0.6852710247039795, -0.5702441930770874, 0.21412931382656097, -0.47005966305732727, -0.6977563500404358, -0.5976731181144714, -0.10093779116868973, -0.5912436842918396, -0.26126793026924133, -0.527716338634491, -0.6658855676651001, -0.273297518491745, 0.23679803311824799, 0.6416869759559631, -0.16823238134384155, -0.11008934676647186, 0.6441933512687683, -0.905389130115509, 0.21391569077968597, 0.4512355327606201, 0.20609508454799652, -0.2555493712425232, -1.0093265771865845, -0.33703285455703735, 0.3915659189224243, -0.4082576036453247, -0.7108592391014099, 0.49756309390068054, 0.5651466846466064, 0.029664352536201477, 0.17640382051467896, 0.4628022611141205, 0.683678150177002, -0.28200775384902954, 0.6898996233940125, 0.022756867110729218, -1.071008324623108, 0.522964358329773, -0.23799383640289307, 0.5811701416969299, 0.5181230306625366, 0.5163697004318237, -0.4647713899612427, -0.06728789955377579, -0.39476457238197327, -0.9726497530937195, 0.7975055575370789, -0.17196078598499298, 0.2396268993616104, 0.5173545479774475, 0.4060545563697815, -0.26968806982040405, 0.41979172825813293, -0.8447756767272949, -0.04264210909605026, -0.006850511766970158, -0.2950136661529541, 0.20535676181316376, -0.5299935936927795, -0.1579054892063141, 0.06596934050321579, 0.8479219675064087, -0.5223848223686218, 0.15661323070526123, -0.06191511079668999, -0.31735777854919434, -0.42062461376190186, 0.34601929783821106, 0.23670467734336853, 0.6632280945777893, -0.5858697891235352, 0.11626327782869339, 0.413994163274765, -0.31084510684013367, 0.4920188784599304, 0.17471733689308167, -0.37544119358062744, -0.1678990125656128, 0.029165903106331825, 0.7917344570159912, 0.21130326390266418, -0.7985184192657471, 1.1761282682418823, -0.03601996973156929, -0.2884625792503357, -0.12457545101642609, 0.14722536504268646, -0.4003343880176544, 0.2832021713256836, 0.554266095161438, -0.018925048410892487, 0.15283800661563873, -0.22953636944293976, 0.2343360334634781, 0.6106421947479248, -0.5824010968208313, -0.30241429805755615, 0.8584060072898865, -0.21857424080371857, 0.045878734439611435, 0.2989683151245117, -0.15647393465042114, -0.1811981052160263, 0.24923744797706604, 0.3975234627723694, 0.788924515247345, -0.49328646063804626, 0.426046222448349, 0.17493252456188202, 0.147466242313385, 0.037328846752643585, 0.4426403343677521, -0.17799383401870728, -0.7311899065971375, -0.6175177693367004, -0.9184595942497253, -0.4094321131706238, 0.23104873299598694, -0.42039400339126587, 0.4561639130115509, -0.5758391618728638, 0.00126172648742795, -0.3185254633426666, 0.04704618826508522, -0.30277228355407715, 0.26041874289512634, 0.21267840266227722, 0.5947775840759277, -0.8736371994018555, 0.7719996571540833, 0.4933271110057831, 0.14341840147972107, -0.39357906579971313, -0.2353716790676117, -0.04067465662956238, -0.9105632901191711, 0.2373431771993637, -0.13261155784130096, 0.05086800456047058, 0.4322595000267029, -0.17065510153770447, -1.004321575164795, 1.0890151262283325, 0.7458100914955139, -0.25503289699554443, 0.012760900892317295, 0.08130709826946259, 0.40393009781837463, 0.05868138372898102, 0.4717164933681488, 0.31075915694236755, -0.09629009664058685, 0.3841201066970825, -0.7710886597633362, 0.290219783782959, -0.0029924376867711544, 0.19854241609573364, 0.23312710225582123, -0.74009770154953, 0.5404432415962219, -0.018373485654592514, -0.16249628365039825, 0.09241297096014023, 0.30542194843292236, 0.40231388807296753, -0.10885129868984222, 0.4690101444721222, 0.35930347442626953, 0.3956463634967804, 0.09730733186006546, 0.42926424741744995, -0.4299883246421814, 0.4423745274543762, 0.9450119733810425, -0.3065928518772125, 0.7845643758773804, 0.28174346685409546, -0.48134681582450867, 0.040371622890233994, 0.5027328729629517, 0.15981218218803406, 0.6913325190544128, 0.3332551419734955, -0.8013935089111328, -0.12233297526836395, -0.22572045028209686, -0.3220501244068146, 0.5356221199035645, 0.12109783291816711, -0.1774868667125702, -0.30060938000679016, 0.013688958249986172, -0.10399006307125092, -0.3185325562953949, -0.45182517170906067, 0.77302086353302, 0.050529032945632935, -0.2854495644569397, 1.1415717601776123, 0.17276470363140106, 0.7232910394668579, -0.7980296015739441, -0.023718860000371933, -0.10874239355325699, 0.24922169744968414, -0.12540064752101898, -0.35803964734077454, 0.23833344876766205, -0.2453426718711853, 0.05887260288000107, -0.37491053342819214, 0.5844510197639465, -0.5641366839408875, -0.4721076786518097, -0.06071105971932411, 0.5645203590393066, -0.021622780710458755, -0.5322465896606445, -0.6619905829429626, 0.0090645682066679, -0.17404630780220032, -0.17059284448623657, 0.5185995101928711, 0.465344101190567, 0.05826021358370781, 0.3839559257030487, 0.622355580329895, 0.2677360773086548, 0.10481879860162735, -0.14206793904304504, 0.6013309359550476, -0.5287035703659058, -0.4949272871017456, -0.7995561361312866, 0.5005000829696655, 0.5177823305130005, -0.05110128968954086, 0.7481565475463867, 0.5269836783409119, 0.6427015662193298, 0.11342685669660568, 0.46107298135757446, 0.2390773892402649, 0.49605682492256165, -0.45227718353271484, 0.5575535893440247, -0.6385141015052795, 0.31130483746528625, -0.16903704404830933, -0.8615168333053589, -0.813187301158905, 0.5522614121437073, -0.28495049476623535, -0.10145587474107742, 0.29366207122802734, 1.0343286991119385, 0.0678715631365776, -0.38642585277557373, 0.5946967005729675, 0.048847977072000504, -0.07062917947769165, 0.8676641583442688, 0.6144185066223145, -0.9930323958396912, 0.7815800309181213, -0.15478543937206268, -0.5663501024246216, -0.22173826396465302, -0.907249391078949, -0.3958962559700012, -0.1577688455581665, -0.6836715340614319, -0.24924510717391968, 0.33445826172828674, 0.6985706090927124, 0.8424423336982727, -0.8573943972587585, -0.05414259806275368, -0.00747096911072731, 0.11047085374593735, -0.3592388331890106, -0.27021995186805725, 0.5835176706314087, -0.026049233973026276, -0.8531823754310608, 0.4208199977874756, 0.36415183544158936, 0.31071937084198, -0.0016319470014423132, 0.05318775400519371, -0.16650353372097015, -0.009960127994418144, 0.5902678966522217, 0.394317626953125, -0.29233431816101074, -0.1238868460059166, -0.11879948526620865, 0.05672799423336983, 0.29247578978538513, 0.5534707903862, -1.0639495849609375, 0.6254178881645203, 0.47257089614868164, 0.4293728172779083, 0.43132975697517395, 0.13509579002857208, 0.5256905555725098, -0.9461718201637268, 0.5141357779502869, 0.413631796836853, 0.01577288657426834, 0.36832818388938904, -0.398416668176651, 0.2916734218597412, 0.32892531156539917, -0.5421536564826965, -1.0567805767059326, 0.012397210113704205, -0.7078500390052795, -0.10624074190855026, 0.7901408076286316, -0.29848358035087585, -0.1779891401529312, 0.008263067342340946, -0.10645598918199539, 0.22441929578781128, -0.4053193926811218, 0.7865617871284485, 0.07374777644872665, -0.14737479388713837, -0.6903433203697205, -0.4272843301296234, 0.5700041055679321, 0.5093828439712524, -0.2418312430381775, 0.09024683386087418, 0.3244852125644684, 0.3065848648548126, -0.2491627335548401, 0.9032542109489441, -0.20695817470550537, 0.34815356135368347, -0.08880414068698883, 0.09424683451652527, -0.09484467655420303, 0.061376601457595825, -0.7786319851875305, 0.18783815205097198, 0.2701130509376526, -0.45723989605903625 ]
http://arxiv.org/abs/2405.13350v2
http://arxiv.org/pdf/2405.13350v2
Efficacy of ByT5 in Multilingual Translation of Biblical Texts for Underrepresented Languages
2024-05-22T05:12:35
2024-05-30T18:42:45
Corinne Aars, Lauren Adams, Xiaokan Tian, Zhaoyu Wang, Colton Wismer, Jason Wu, Pablo Rivas, Korn Sooksatra, Matthew Fendt
cs.CL
cs.CL, cs.LG, I.2.7
This study presents the development and evaluation of a ByT5-based multilingual translation model tailored for translating the Bible into underrepresented languages. Utilizing the comprehensive Johns Hopkins University Bible Corpus, we trained the model to capture the intricate nuances of character-based and morphologically rich languages. Our results, measured by the BLEU score and supplemented with sample translations, suggest the model can improve accessibility to sacred texts. It effectively handles the distinctive biblical lexicon and structure, thus bridging the linguistic divide. The study also discusses the model's limitations and suggests pathways for future enhancements, focusing on expanding access to sacred literature across linguistic boundaries.
[ -0.18591813743114471, -0.2777114510536194, 0.43767836689949036, 0.33999189734458923, -0.5214784145355225, 0.07577461749315262, -0.35279515385627747, -0.8838721513748169, -0.37707239389419556, 0.3122187852859497, -0.25465574860572815, -0.4114879369735718, -0.9411898851394653, 0.33226698637008667, -0.5898998975753784, 0.8135905861854553, 0.30910080671310425, 0.361459881067276, 0.4312572777271271, -0.35634878277778625, -0.5656232237815857, -0.2378300130367279, 0.001865430036559701, -0.3063820004463196, 0.3200076222419739, 0.42755308747291565, 1.0385957956314087, 0.5451938509941101, 0.8631081581115723, 0.39484214782714844, -0.3925487697124481, -0.025454476475715637, -0.48653411865234375, -0.10280030965805054, -0.27090370655059814, -0.5933322310447693, -0.4022737443447113, -0.04560641571879387, 1.046091914176941, 0.9161531329154968, -0.048517972230911255, 0.262019544839859, 0.1324499398469925, 0.2841801941394806, -0.31508874893188477, 0.03371160477399826, -0.8017421364784241, -0.12661415338516235, -0.6065918207168579, -0.12164397537708282, -0.6183794736862183, -0.4166286885738373, 0.3069089949131012, -0.49213218688964844, 0.3863295018672943, 0.058942750096321106, 0.392193466424942, 0.21271859109401703, -0.5822593569755554, -0.3063627779483795, -0.4975655972957611, 1.248447299003601, -0.6072242259979248, 0.9089710712432861, 0.14839331805706024, 0.1369810402393341, 0.09726131707429886, -0.6689123511314392, -0.27610036730766296, -0.16833217442035675, -0.13513079285621643, 0.4789997339248657, -0.17271588742733002, -0.11380667984485626, 0.25526225566864014, 0.6463240385055542, -0.6524897217750549, -0.14980687201023102, -0.8669155836105347, 0.2671129107475281, 0.48366767168045044, -0.17499226331710815, 0.644728422164917, -0.7692043781280518, -0.6026172637939453, -0.16101056337356567, -0.4160596430301666, 0.09335815161466599, 0.08827885240316391, 0.6074312329292297, -0.17135858535766602, 0.4409182071685791, 0.2614362835884094, 0.15913492441177368, -0.40083223581314087, -0.10929763317108154, 0.25419896841049194, -0.6166495084762573, -0.25687742233276367, 0.34225332736968994, 0.5147988200187683, 0.3538179099559784, 0.4217624366283417, -0.3215025067329407, -0.17663824558258057, 0.13064910471439362, 0.6452135443687439, -0.8988792896270752, 0.1665341705083847, -0.047475531697273254, -0.7788206338882446, -0.31287097930908203, -0.32149389386177063, -0.38054490089416504, -0.4729606807231903, 0.1517544686794281, -0.029875703155994415, -0.7499791383743286, -0.09748964756727219, 0.159194216132164, -0.19390809535980225, -0.22928988933563232, 0.6004194617271423, -0.993374228477478, 0.3056899309158325, 0.17062824964523315, 0.7994354367256165, -0.11313806474208832, -0.35474833846092224, -0.09201239049434662, 0.3871515989303589, -0.2581900954246521, 0.6635594367980957, -0.6766380667686462, -0.8023466467857361, -0.023163266479969025, -0.06358679383993149, 0.03790495917201042, -0.42500630021095276, 1.0656474828720093, -0.4164171814918518, -0.052135221660137177, -0.5134812593460083, -0.5522774457931519, -0.7347207069396973, 0.127365380525589, -0.75357586145401, 0.6085010170936584, 0.22531263530254364, -0.4227316677570343, 0.46045783162117004, -0.9454694390296936, -0.02464146539568901, 0.5307996273040771, -0.05635504424571991, -0.44070810079574585, 0.519494891166687, 0.20095838606357574, 0.053004227578639984, -0.3165058195590973, 0.12098882347345352, -0.2914450466632843, -0.47120267152786255, 0.2794114351272583, -0.7785341143608093, 0.675597071647644, 0.2275717705488205, -0.06809946894645691, 0.21069680154323578, -0.7199023962020874, 0.2509332001209259, 0.011395024135708809, -0.3967903256416321, -0.6384897828102112, -0.0655868723988533, 0.802152693271637, 0.011911801062524319, 0.09190264344215393, -0.6641819477081299, 0.380283385515213, -0.4839544892311096, 0.11583779752254486, 0.19250041246414185, -0.37496304512023926, 0.5938977599143982, 0.020587405189871788, 0.507941484451294, 0.05002734437584877, 0.12035273015499115, -0.1732320338487625, -0.6477013230323792, -0.1153440997004509, -0.21026374399662018, 0.430253267288208, 0.5635164976119995, -0.30981507897377014, -0.0108976811170578, -0.43078553676605225, -0.5182183384895325, -0.7817173004150391, 0.18594025075435638, 0.5480560064315796, 0.11261433362960815, 0.9323159456253052, -0.7267333269119263, -0.18082214891910553, -0.7524586915969849, -0.3078790605068207, -0.037058524787425995, 0.187834694981575, 0.10798616707324982, 0.5735505223274231, -0.17991209030151367, 0.13386963307857513, -0.027118051424622536, -0.4737255871295929, -0.48293471336364746, 0.11579535901546478, 0.10020298510789871, 0.6147249341011047, 0.7420477867126465, -0.8274762630462646, -0.6431919932365417, 0.5525609254837036, -0.8245416283607483, -0.013907654210925102, -0.09359539300203323, 0.37828806042671204, -0.284442275762558, 0.20545494556427002, -0.3273731470108032, 0.8166210651397705, 0.5873062610626221, -0.4030107855796814, 0.22889184951782227, -0.28816893696784973, 0.6417379379272461, -0.965965986251831, 0.14522545039653778, -0.03730829060077667, -0.4768213927745819, -0.44070571660995483, 0.10986339300870895, 0.473741352558136, -0.15667009353637695, -0.5102892518043518, 0.5612115859985352, -0.5948788523674011, -0.04128658398985863, -0.20907729864120483, 0.04054804891347885, -0.2973666787147522, 0.12442576140165329, 0.00655355304479599, 1.068052887916565, 0.11382318288087845, -0.19413231313228607, 0.11191804707050323, 0.913428544998169, -0.3028762936592102, 0.5432655811309814, -0.4892730712890625, -0.23030789196491241, 0.029407000169157982, 0.14845123887062073, -0.7917171716690063, -0.003258867422118783, 0.12252754718065262, -0.4013253450393677, 0.4136238396167755, -0.3658908009529114, -0.30754512548446655, 0.13552729785442352, -0.06784467399120331, 0.7959152460098267, 0.24289725720882416, -0.1493905931711197, 0.41354843974113464, 0.02342870645225048, -0.3249688446521759, -0.598942220211029, -0.7894859313964844, 0.18649083375930786, -0.3620252013206482, -0.7836453914642334, 0.6340010762214661, -0.07744824141263962, -0.1433180719614029, -0.1455855667591095, -0.04275115206837654, -0.10627827793359756, 0.03383316844701767, -0.1004844382405281, -0.11502402275800705, -0.3872520327568054, -0.11971689015626907, 0.21673035621643066, -0.05172627791762352, -0.1756841391324997, -0.22131192684173584, -0.023325514048337936, -0.2438688725233078, -0.3823368549346924, -0.3972051739692688, 0.9474494457244873, 0.6078466176986694, -0.5664250254631042, 0.6837425827980042, 0.5838944911956787, -0.32799461483955383, -0.06663309782743454, -0.31819313764572144, -0.0802769735455513, -0.40032410621643066, 0.6032755970954895, -0.5178838968276978, -0.42946019768714905, 0.8678494095802307, -0.2720995247364044, -0.01452920213341713, 0.2170945703983307, 0.6662765741348267, 0.062335629016160965, 0.5991740822792053, 0.5941002368927002, 0.4859268069267273, 0.6634002923965454, -0.119985431432724, -0.14993730187416077, -0.6231029033660889, 0.016552364453673363, -0.5689154863357544, -0.37487611174583435, -0.8324674367904663, -0.4338654577732086, 0.5575904846191406, 0.22074301540851593, 0.4266359806060791, 0.21515889465808868, -0.2868098318576813, 0.48616594076156616, 0.7824331521987915, 0.04249829798936844, 0.6604043245315552, 0.12598975002765656, -0.206176295876503, -0.6658573150634766, -0.6438241004943848, -0.7361587285995483, 1.2005921602249146, 0.4600049555301666, 0.48356086015701294, 0.6440048813819885, 0.5801819562911987, 0.4944705069065094, 0.6549755930900574, -0.6175298094749451, 0.1195998266339302, -0.597438395023346, -1.0333691835403442, -0.4608505368232727, -0.05355804041028023, -0.9948985576629639, 0.45630571246147156, -0.05518896132707596, -0.78985196352005, 0.3421327769756317, -0.14735305309295654, -0.36995911598205566, 0.1856936365365982, -1.0423423051834106, 1.179206371307373, -0.0928230881690979, -0.27079543471336365, -0.542588472366333, -0.8367646336555481, 0.2782904803752899, -0.3597230613231659, 0.16466891765594482, 0.300321102142334, 0.24629494547843933, 0.360179603099823, -0.04531165584921837, 0.8775370121002197, 0.2949276864528656, -0.06941492855548859, 0.1795019805431366, 0.014233875088393688, 0.19821088016033173, 0.10636071115732193, -0.1543199121952057, 0.32249167561531067, 0.17418299615383148, -0.638137936592102, -0.6571680903434753, 0.40911611914634705, -0.7770158052444458, -0.3275236189365387, -0.6261212229728699, -0.9645721316337585, -0.04140640050172806, 0.39949023723602295, 0.006962636020034552, 0.40297549962997437, -0.4515247941017151, 0.4687441885471344, 0.687394380569458, -0.4243338704109192, 0.4980332553386688, 0.5232843160629272, -0.3539279103279114, -0.6273138523101807, 0.6697666049003601, 0.48331812024116516, 0.28220024704933167, 0.28375935554504395, 0.21981164813041687, -0.7920351624488831, -0.8258204460144043, -0.8113319277763367, 0.19191278517246246, -0.9236714243888855, 0.06207544356584549, -0.19224846363067627, -0.09220059961080551, -0.4210937023162842, -0.14014370739459991, -0.5616816282272339, -0.22717507183551788, -0.005535630043596029, 0.03860723599791527, -0.05965982377529144, 0.8795631527900696, 0.012027348391711712, 0.7575671076774597, -1.2649472951889038, 0.2030366063117981, -0.23581843078136444, 0.21386969089508057, -0.255956768989563, -0.7108045220375061, -0.2930355370044708, -0.20791837573051453, -0.6611220240592957, -1.1889485120773315, 0.42468467354774475, -0.1354740858078003, 0.28937917947769165, 0.10809455066919327, -0.07419739663600922, 0.8497102856636047, -0.7162593603134155, 0.26429063081741333, 0.38030025362968445, -1.0898600816726685, 0.1930876523256302, -0.6765262484550476, 0.6159608364105225, 0.29142892360687256, 0.2434099018573761, -0.7040011286735535, -0.5889800786972046, -0.8018444180488586, -0.593207597732544, 0.6478942632675171, 0.7861055731773376, 0.13998940587043762, 0.17047753930091858, -0.009563563391566277, 0.2668322026729584, 0.36104264855384827, -1.0078827142715454, -0.137429341673851, -0.3300977051258087, -0.14084964990615845, 0.10185934603214264, -0.28893476724624634, 0.19762548804283142, -0.3369719088077545, 0.4957914352416992, 0.04422722011804581, -0.020575303584337234, 0.257788747549057, -0.35573601722717285, -0.32476702332496643, 0.6726821660995483, 0.8928161859512329, 0.8732354640960693, -0.2838387191295624, -0.07768364995718002, 0.3471162021160126, -0.7996532320976257, -0.1422501802444458, 0.3662334680557251, -0.4000350832939148, 0.07329338788986206, 0.5257313847541809, 0.5239022970199585, 0.18997809290885925, -0.06346538662910461, 0.18149860203266144, -0.10634363442659378, 0.2717602252960205, -0.2827395796775818, -0.23662598431110382, 0.057667024433612823, 0.726308286190033, 0.43145039677619934, 0.3961412012577057, 0.35980963706970215, -0.5443659424781799, 0.1884354203939438, 0.2719116806983948, -0.5415133237838745, -0.49265748262405396, 0.9209921360015869, 0.314386248588562, -0.12139909714460373, 0.46411365270614624, 0.020224282518029213, -0.49079442024230957, 0.23969820141792297, 0.740461528301239, 0.5543167591094971, -0.6996651887893677, -0.02095041051506996, 0.16836097836494446, 0.6362566351890564, 0.23191750049591064, 0.436284601688385, 0.07810530811548233, -0.49456924200057983, -0.5156107544898987, -0.562267005443573, -0.20015805959701538, 0.07485334575176239, -0.44033282995224, 0.21092763543128967, 0.147603839635849, -0.3119122385978699, 0.07948628067970276, 0.04912303760647774, -0.6285819411277771, 0.47078680992126465, 0.27271056175231934, 0.67127525806427, -0.6808927655220032, 0.9359803199768066, 0.8127093315124512, -0.8690561652183533, -0.6758807301521301, -0.1744442582130432, -0.14808806777000427, -0.610196590423584, 0.5358495116233826, -0.05557192489504814, -0.02862604148685932, 0.44222259521484375, -0.19595091044902802, -0.7101584076881409, 0.9114295244216919, 0.6554253697395325, -0.5959440469741821, -0.27233198285102844, 0.38846251368522644, 0.5660344362258911, 0.10035276412963867, 0.5257594585418701, 0.11311721801757812, 0.7003093957901001, -0.04657602310180664, -1.2918682098388672, -0.16695185005664825, -0.13622795045375824, 0.0034705393481999636, 0.19232507050037384, -0.6518964767456055, 0.19857166707515717, -0.205516517162323, 0.005099628586322069, 0.1259598284959793, 1.044525384902954, 0.14769455790519714, 0.16334721446037292, 0.13510353863239288, 0.3780529499053955, 0.8613574504852295, 0.09088500589132309, 1.2291449308395386, -0.25424885749816895, 0.5289108157157898, 0.6841999888420105, 0.15736693143844604, 0.4589138925075531, 0.4918723404407501, -0.1585598886013031, -0.043033402413129807, 0.3079400360584259, -0.016862010583281517, 0.46502700448036194, 0.10086189210414886, -0.5411931872367859, -0.4359721541404724, -0.5083218812942505, -0.7517441511154175, 0.45552608370780945, 0.37292274832725525, -0.6793507933616638, -0.28526878356933594, -0.0828910693526268, 0.057187315076589584, 0.257694810628891, -0.25817838311195374, 0.22494827210903168, 0.5450686812400818, -0.46263936161994934, 0.5638836026191711, 0.3084326982498169, 0.17239859700202942, -0.5442969799041748, -0.1068040207028389, -0.20438247919082642, 0.4201892018318176, -0.1989022046327591, -0.6587607860565186, 0.5901312828063965, 0.020835479721426964, -0.3145301938056946, -0.5668657422065735, 0.7374714612960815, -0.53924161195755, -0.8901513814926147, 0.4916134774684906, 1.0050199031829834, 0.22885766625404358, 0.04748265817761421, -0.7405472993850708, 0.10798967629671097, 0.021557439118623734, -0.13328202068805695, -0.048199448734521866, 0.8978826999664307, -0.6820997595787048, 0.7036113142967224, 0.554671049118042, 0.09389020502567291, 0.3086063861846924, 0.4838603436946869, 0.5768306851387024, -0.9263281226158142, -0.5283598899841309, -0.8857313394546509, 0.7235979437828064, 0.20211124420166016, -0.48266252875328064, 0.7566540837287903, 0.6035992503166199, 0.746645450592041, -0.2584124207496643, 0.7652459144592285, 0.21277226507663727, 0.16142946481704712, -0.20301343500614166, 1.099854588508606, -0.7486992478370667, -0.025674469769001007, -0.6155518293380737, -0.9295778274536133, -0.4911132752895355, 0.5697040557861328, -0.339063435792923, 0.051869459450244904, 1.0635446310043335, 0.40339896082878113, -0.6551201343536377, 0.03756840154528618, 0.7511497139930725, 0.26472434401512146, 0.18683935701847076, 0.21106727421283722, 0.7727764248847961, -0.728164553642273, 0.6864088773727417, 0.2877117991447449, -0.06023199111223221, 0.15479198098182678, -0.5586661696434021, -0.9540974497795105, -0.28965044021606445, -0.17878511548042297, -0.3358249068260193, 0.30425798892974854, 0.7469379901885986, 0.5276576280593872, -0.8026701807975769, -0.37503206729888916, 0.11182588338851929, -0.020772814750671387, -0.3000486195087433, -0.032243482768535614, 0.22167648375034332, -0.25058385729789734, -1.0598101615905762, 0.6568965911865234, 0.29780349135398865, 0.16696348786354065, -0.35718533396720886, -0.042425449937582016, -0.16967523097991943, 0.02075887843966484, 0.5232234597206116, -0.36861610412597656, -0.925441324710846, -0.27170348167419434, 0.12076011300086975, -0.17007730901241302, 0.403349906206131, 0.5057945251464844, -0.31174689531326294, 0.4079614579677582, 0.3098972737789154, 0.6596084833145142, 0.4384824335575104, 0.27416542172431946, 0.775233268737793, -0.6730765104293823, 0.08741355687379837, 0.062473975121974945, 0.5065783858299255, 0.3699693977832794, -0.13752873241901398, 0.44689419865608215, 0.5609266757965088, -0.37050890922546387, -0.5955027937889099, 0.3586595058441162, -1.269386887550354, -0.08440607041120529, 0.9130766987800598, -0.2406991571187973, 0.05072043463587761, -0.37225306034088135, -0.17482900619506836, 0.5032861232757568, -0.6088948249816895, 0.8978481888771057, 1.064965009689331, 0.646635890007019, -0.27380144596099854, -0.9428665637969971, 0.30971482396125793, 0.555335283279419, -0.5580713748931885, -0.12099231779575348, 0.34093889594078064, 0.1068149283528328, 0.35652410984039307, 0.41175296902656555, -0.34616363048553467, 0.3927285373210907, -0.028164302930235863, 0.2608259320259094, 0.2749048173427582, -0.1917000114917755, 0.044762127101421356, 0.30566152930259705, 0.2265641987323761, 0.045081768184900284 ]
http://arxiv.org/abs/2405.13344v1
http://arxiv.org/pdf/2405.13344v1
Contextualized Automatic Speech Recognition with Dynamic Vocabulary
2024-05-22T05:03:39
2024-05-22T05:03:39
Yui Sudo, Yosuke Fukumoto, Muhammad Shakeel, Yifan Peng, Shinji Watanabe
eess.AS
eess.AS, cs.CL, cs.SD
Deep biasing (DB) improves the performance of end-to-end automatic speech recognition (E2E-ASR) for rare words or contextual phrases using a bias list. However, most existing methods treat bias phrases as sequences of subwords in a predefined static vocabulary, which can result in ineffective learning of the dependencies between subwords. More advanced techniques address this problem by incorporating additional text data, which increases the overall workload. This paper proposes a dynamic vocabulary where phrase-level bias tokens can be added during the inference phase. Each bias token represents an entire bias phrase within a single token, thereby eliminating the need to learn the dependencies between the subwords within the bias phrases. This method can be applied to various architectures because it only extends the embedding and output layers in common E2E-ASR architectures. Experimental results demonstrate that the proposed method improves the performance of bias phrases on English and Japanese datasets.
[ -0.5362509489059448, -0.789866030216217, 0.051758721470832825, 0.1206941306591034, -0.444609671831131, 0.326017290353775, -0.23359939455986023, -0.4757329821586609, 0.433003306388855, 0.3514426648616791, -0.37381511926651, -0.285042405128479, -0.5751510858535767, -0.11790049076080322, -0.457082599401474, 0.7780759334564209, -0.17804646492004395, 0.19865162670612335, 0.07296539098024368, -0.3555205762386322, -0.8386408090591431, -0.3355376422405243, -0.5802369713783264, -0.35274192690849304, 0.23430615663528442, 0.2050410360097885, 0.5088788866996765, 0.8976846933364868, 0.08084814995527267, 0.2561672329902649, -0.3389799892902374, 0.17666368186473846, -0.040513258427381516, 0.4924052059650421, -0.3013092875480652, -0.2915600538253784, -0.3448711931705475, -0.09044887125492096, 0.7499054074287415, 0.6323327422142029, -0.1254521757364273, -0.04927544295787811, 0.12965919077396393, 0.43835967779159546, -0.5131606459617615, 0.18149787187576294, -0.9625068306922913, 0.3790072798728943, -0.3591037690639496, -0.11421065777540207, -0.06678259372711182, 0.20359055697917938, 0.7364179491996765, -0.5324571132659912, 0.028173433616757393, -0.2573273777961731, 0.6936790943145752, 0.6733210682868958, -0.3447455167770386, -0.5206453800201416, -0.48212239146232605, 0.6501632928848267, -0.4324171543121338, 0.36500999331474304, 0.033938929438591, 0.2752094864845276, 0.2101709097623825, -0.6550464630126953, -0.5102905035018921, -0.027520431205630302, 0.0545661523938179, 0.08326437324285507, 0.21579667925834656, -0.03303851932287216, 0.2457066774368286, 0.18227410316467285, -0.005573503207415342, 0.21098190546035767, -0.014979858882725239, -0.24713632464408875, 0.3247588276863098, 0.018342530354857445, 0.23219478130340576, 0.033421676605939865, -0.2977394461631775, 0.023286066949367523, -0.5310553312301636, -0.19373337924480438, 0.1317111998796463, 0.48842528462409973, -0.3361511528491974, 0.28205326199531555, -0.10033994168043137, 0.4694159924983978, 0.5521288514137268, 0.07192103564739227, 0.731857419013977, -0.13456085324287415, -0.22422781586647034, 0.43599358201026917, 0.3243919610977173, 0.12457870692014694, 0.13403330743312836, -0.19471654295921326, -0.06988120824098587, -0.0015430140774697065, 0.1910516768693924, -0.7110052704811096, -0.15936650335788727, 0.22654740512371063, -0.3142895996570587, -0.29395562410354614, 0.05514301359653473, -1.134413719177246, -0.5373392701148987, -0.42518454790115356, 0.289000540971756, -0.2542118728160858, -0.2122376412153244, -0.17642845213413239, -0.19233949482440948, 0.19841571152210236, 0.23873081803321838, -0.45632216334342957, 0.18460150063037872, 0.4006716012954712, 0.8399388194084167, -0.3792230486869812, 0.05208412930369377, -0.7478141188621521, 0.3313470184803009, -0.26423585414886475, 0.44637981057167053, -0.8374153971672058, -0.4140334129333496, 0.2180851548910141, -0.050871770828962326, 0.1955098807811737, -0.6634758114814758, 0.6160281896591187, -0.5699722170829773, 0.32291701436042786, -0.328961580991745, -0.6039552688598633, -0.027841860428452492, -0.11153127998113632, -0.5652884244918823, 0.8430368304252625, -0.395888090133667, -0.7604005932807922, 0.8540868163108826, -0.6551536321640015, -0.7753798365592957, 0.03353344649076462, -0.6880184412002563, -0.3481822907924652, 0.04063529893755913, 0.3823789656162262, 0.3501262366771698, 0.0573069229722023, 0.5461367964744568, -0.014505279250442982, -0.2765940725803375, 0.23610208928585052, -0.644661545753479, 0.49370548129081726, 0.3016246557235718, -0.836141049861908, -0.10997344553470612, -0.9713719487190247, -0.15261879563331604, -0.2901512086391449, -0.649621844291687, -0.5235404372215271, 0.49983763694763184, 0.006293368525803089, 0.11415809392929077, 0.16859693825244904, -0.30779528617858887, -0.03355903923511505, -0.6867314577102661, 0.3326406478881836, 0.6626450419425964, -0.3175041079521179, 0.7065438628196716, 0.17886005342006683, 0.22438332438468933, 0.2968669831752777, -0.4624192416667938, -0.3222951889038086, -0.20895643532276154, -0.8761290907859802, -0.6125779151916504, 0.3882148861885071, 0.7313303351402283, -0.8812307715415955, 0.7637466192245483, -0.280728816986084, 0.019337818026542664, -0.34522929787635803, 0.06065279617905617, 0.5737460851669312, 0.6352142691612244, 0.4006062150001526, -0.3625611960887909, -0.8379921317100525, -0.8111527562141418, -0.5510056614875793, 0.33500936627388, -0.21345441043376923, 0.7203690409660339, 0.1208563819527626, -0.3038221299648285, 0.8585468530654907, -0.3015385568141937, -0.5318472385406494, 0.024146050214767456, 0.21694326400756836, 0.2860476076602936, 0.46475914120674133, 0.41549763083457947, -0.7222685217857361, -0.6627358794212341, -0.20919770002365112, -0.5213457942008972, -0.21269090473651886, -0.18838225305080414, -0.18748562037944794, -0.03085889108479023, 0.5584047436714172, -0.44526156783103943, 0.11864577978849411, 0.15646012127399445, -0.38139843940734863, 0.016671113669872284, 0.07005757838487625, -0.38212910294532776, -1.0864055156707764, -0.21160060167312622, -0.055502865463495255, -0.1910933554172516, -0.7336370944976807, 0.031287193298339844, -0.20852303504943848, 0.1413027048110962, -0.4697940945625305, 0.6931604743003845, -0.7600592374801636, -0.14303073287010193, -0.37098047137260437, 0.0685758888721466, -0.09119150787591934, 0.08612007647752762, 0.2765904664993286, 0.8440893292427063, 0.8330856561660767, -0.7296903133392334, 0.4085701107978821, 0.1462973654270172, -0.35730502009391785, 0.38918164372444153, -0.4771908223628998, 0.24246534705162048, -0.20144914090633392, 0.5720723271369934, -0.4951641261577606, -0.2460937201976776, -0.09584780037403107, -0.3699289858341217, 0.8889411091804504, -0.0035043801181018353, -0.0550730898976326, -0.25519946217536926, -0.19226203858852386, 0.48406606912612915, 0.4436771869659424, -0.7755608558654785, 0.6380719542503357, 0.9361958503723145, 0.1114816814661026, -0.9373230338096619, -0.8852043151855469, 0.3267059922218323, -0.49602267146110535, -0.1970125436782837, 0.8487052321434021, 0.4432239830493927, -0.18959026038646698, -0.101963110268116, -0.17238007485866547, -0.030477121472358704, -0.19123131036758423, 0.002751897322013974, -0.15174195170402527, -0.0621144063770771, 0.2559453845024109, 0.24099615216255188, 0.032795604318380356, -0.11818075180053711, -0.6669431924819946, 0.7825096845626831, 0.12729071080684662, 0.07005295157432556, -0.40831029415130615, 0.4108341634273529, 0.5776367783546448, -0.05621766299009323, 0.3305146098136902, 0.9272107481956482, -0.560839831829071, -0.34980157017707825, -0.5896250009536743, -0.05281321331858635, -0.5430114269256592, 0.7088207602500916, -0.5742676854133606, -0.8948918581008911, 0.540748655796051, 0.09609925746917725, 0.0007297687698155642, 0.15633049607276917, 0.8717708587646484, 0.03462005779147148, 0.9455037713050842, 0.1990302950143814, -0.38911929726600647, 0.7248082756996155, -0.050163086503744125, 0.040196679532527924, -0.9886714220046997, -0.1561967432498932, -0.18535540997982025, -0.49906787276268005, -0.7391252517700195, -0.8635474443435669, 0.3568825125694275, -0.19989176094532013, -0.40750446915626526, 0.02556408941745758, -0.7241140007972717, 0.16972357034683228, 0.5884881019592285, 0.1900794357061386, -0.15446650981903076, 0.31912967562675476, -0.44795581698417664, -0.10289627313613892, -0.3721516728401184, -0.24605707824230194, 0.9124821424484253, 0.5524150729179382, 0.6746817231178284, 0.0822390764951706, 0.46360448002815247, 0.5025855898857117, -0.09111441671848297, -0.8906822204589844, 0.4014703631401062, -0.512722373008728, -0.6897180080413818, -0.44826024770736694, -0.17389605939388275, -0.6560041308403015, 0.2817724943161011, -0.00343753001652658, -0.563504695892334, 0.4476105868816376, 0.43158069252967834, -0.40550166368484497, 0.06138705462217331, -0.37881991267204285, 0.14193418622016907, -0.22430896759033203, -0.5359381437301636, -0.25658974051475525, -0.5968732237815857, 0.009169910103082657, -0.016740653663873672, 0.08888723701238632, -0.022866398096084595, -0.317629873752594, 0.9489142298698425, -0.48241761326789856, 0.8825596570968628, -0.6472667455673218, -0.01232117973268032, 0.33755815029144287, -0.2385321408510208, 0.6821893453598022, 0.164383664727211, -0.2040104866027832, 0.08117817342281342, -0.38051390647888184, -0.24131794273853302, -0.35358187556266785, 0.7518725395202637, -0.6227819323539734, -0.3052075207233429, -0.4333043694496155, -0.5419883728027344, -0.5103693604469299, 0.14252272248268127, 0.11239560693502426, 0.5296849012374878, -0.017186172306537628, 0.23186327517032623, 0.8470917344093323, -0.6484283804893494, 0.3930169939994812, 0.4683820605278015, 0.19267018139362335, -0.4387091398239136, 0.7357728481292725, 0.2684805691242218, -0.15216350555419922, 0.5371755957603455, 0.26549625396728516, -0.3901158273220062, -0.3542289435863495, -0.7026056051254272, -0.1333494484424591, -0.3347078263759613, -0.0023428271524608135, -0.9736528992652893, -0.17597147822380066, -0.3541443645954132, -0.19007086753845215, -0.3446638882160187, -0.36994820833206177, -0.4057818651199341, -0.2522144317626953, 0.34552550315856934, 0.0754169151186943, -0.007730135694146156, 0.21245263516902924, -0.4066023528575897, 0.32536351680755615, 0.4496487081050873, 0.31383320689201355, 0.019766047596931458, -0.6498416662216187, -0.21381640434265137, -0.06080538034439087, -0.06938065588474274, -0.7817889451980591, 0.5724867582321167, 0.5840619206428528, 0.5986493825912476, 0.4950457811355591, -0.14857403934001923, 0.7908837199211121, -0.9585802555084229, 0.815799355506897, 0.2498822808265686, -1.1474870443344116, 0.5995107889175415, -0.49150457978248596, 0.2524712383747101, 0.4964240491390228, 0.11204846948385239, -0.14732618629932404, -0.13915327191352844, -0.25974899530410767, -1.2214574813842773, 0.5330238342285156, -0.23400676250457764, 0.6520892977714539, 0.046594277024269104, 0.5734995603561401, 0.06824684888124466, 0.4892581105232239, -0.42732545733451843, -0.2988615334033966, -0.3267202079296112, -0.4753236770629883, 0.22040598094463348, -0.3720206320285797, -0.15402700006961823, -0.5473193526268005, 0.4391714334487915, -0.2084801346063614, 0.5679313540458679, 0.05675031989812851, -0.10248860716819763, 0.1036653071641922, 0.14043168723583221, 0.298056960105896, 0.2723310887813568, -0.09643790870904922, 0.2534986138343811, 0.4866781532764435, -0.5849226713180542, 0.03827642649412155, 0.11480116099119186, -0.5650099515914917, 0.24854804575443268, 0.10433713346719742, 0.9818233251571655, 0.16908060014247894, -0.6600308418273926, 0.4059174358844757, 0.3099527955055237, 0.08181718736886978, -0.6930049657821655, 0.09146299213171005, -0.14470195770263672, 0.25666743516921997, 0.361537903547287, -0.169307678937912, 0.4072572886943817, -0.791990339756012, 0.6411522030830383, 0.5880195498466492, -0.764424741268158, -0.06711536645889282, 0.7034833431243896, 0.5934059023857117, -0.10894186794757843, 0.32061469554901123, -0.05132493004202843, -0.7640082240104675, 0.5262744426727295, 0.432761549949646, 0.9225673675537109, -0.3580370545387268, -0.14215737581253052, 0.19229532778263092, -0.04832473024725914, 0.1456693857908249, 0.41903817653656006, -0.1940356194972992, -0.9256051778793335, -0.4366730749607086, -0.6656975746154785, -0.1841384470462799, 0.23118598759174347, -0.6440085768699646, 0.5275945663452148, -0.3997291028499603, -0.2815321385860443, -0.160254567861557, -0.0036633166018873453, -0.7014526128768921, 0.521531879901886, 0.3506128191947937, 0.7323605418205261, -0.5572777986526489, 1.0436179637908936, 0.7857266068458557, -0.1144004836678505, -0.5648967027664185, 0.29889997839927673, 0.2111450433731079, -0.8599894642829895, 0.7342252731323242, 0.17274078726768494, -0.09778392314910889, -0.21455299854278564, -0.1809108555316925, -1.1623313426971436, 1.052947759628296, -0.05719764530658722, -0.648344099521637, -0.20775094628334045, 0.007591718807816505, 0.5150299668312073, -0.5542635917663574, 0.20900650322437286, 0.603801429271698, 0.4214252531528473, 0.09277354925870895, -0.9136085510253906, 0.10681061446666718, -0.2434261441230774, -0.04328114539384842, -0.08366336673498154, -0.5287228226661682, 0.824976921081543, 0.21133923530578613, -0.07872974872589111, -0.25232258439064026, 0.9325836896896362, -0.08585003018379211, 0.3401319980621338, 0.708644449710846, 0.46318140625953674, 0.7774497866630554, -0.11642550677061081, 0.5795204043388367, -0.36072179675102234, 0.07153487205505371, 1.4633541107177734, -0.4308338463306427, 0.6686905026435852, 0.260314017534256, -0.07939452677965164, 0.45696204900741577, 0.3584914207458496, -0.007821561768651009, 0.9038884043693542, 0.3981238305568695, -0.3072334825992584, 0.021995989605784416, -0.2657356858253479, -0.39567089080810547, 0.675040602684021, 0.7016333341598511, -0.6342877745628357, 0.10565996915102005, 0.1843952238559723, 0.3079943060874939, -0.0637718066573143, -0.2455195188522339, 0.8194723129272461, 0.23366013169288635, -0.4747878909111023, 0.3451930582523346, -0.060911063104867935, 1.1611027717590332, -0.19190993905067444, 0.15074554085731506, -0.004578983876854181, 0.3059208393096924, -0.17287597060203552, -0.4810831844806671, 0.5006647109985352, 0.18605470657348633, -0.21120977401733398, -0.15962529182434082, 0.7544822692871094, -0.593657374382019, -0.505035936832428, 0.41963618993759155, 0.48049184679985046, -0.04173283651471138, 0.2545108497142792, -0.6625335812568665, -0.0020111436024308205, -0.16283540427684784, -0.23486566543579102, 0.4256921112537384, 0.47888413071632385, 0.08617524057626724, 0.5064730644226074, 0.33197838068008423, 0.30902764201164246, 0.2739662528038025, 0.3403396010398865, 0.9949346780776978, -0.31997865438461304, -0.7730722427368164, -0.6300075650215149, 0.482929527759552, -0.5363388657569885, -0.2143985778093338, 0.5491130948066711, 0.4335430860519409, 0.6858991980552673, 0.2862164080142975, 1.1039073467254639, -0.13535262644290924, 0.9787911772727966, -0.545286238193512, 0.6435943841934204, -0.5405587553977966, 0.4883653521537781, -0.5135915279388428, -0.6406012773513794, -0.25864073634147644, 0.8423621654510498, -0.08941053599119186, 0.08063008636236191, 0.4021497070789337, 0.4988420009613037, -0.1343265175819397, -0.287888765335083, 0.1979752629995346, 0.5010449886322021, 0.4151758551597595, 0.23833690583705902, 0.5722435712814331, -0.19552931189537048, 0.13363799452781677, -0.04059765487909317, -0.3183577060699463, -0.16100874543190002, -0.8735837340354919, -0.8341759443283081, -0.4426107108592987, -0.42143285274505615, -0.4575803875923157, 0.276816189289093, 1.0437803268432617, 0.8411975502967834, -0.9505404233932495, -0.005149137228727341, -0.18270857632160187, -0.08848964422941208, -0.05365113914012909, -0.29019463062286377, 0.47721341252326965, -0.4273357093334198, -0.9065685272216797, 0.5665616989135742, 0.07668519020080566, -0.3372938930988312, -0.26886090636253357, 0.003228231566026807, 0.033936817198991776, 0.32996633648872375, 0.6809532046318054, 0.05121602490544319, -0.667086124420166, -0.46417030692100525, -0.22424569725990295, 0.3393612504005432, -0.08546382188796997, 0.8995668888092041, -0.9590409398078918, 0.4985588490962982, 0.535826563835144, 0.8289122581481934, 0.4783403277397156, -0.03017093613743782, 0.7750769853591919, -0.8422860503196716, 0.41539716720581055, 0.3790087103843689, 0.3886551260948181, 0.2867683470249176, -0.27020931243896484, 0.2735059857368469, 0.25858375430107117, -0.20783589780330658, -0.880510687828064, 0.36175158619880676, -0.7756979465484619, -0.28090333938598633, 1.232539176940918, -0.08821847289800644, 0.2625839114189148, -0.2995540201663971, -0.022598426789045334, 0.5503368973731995, -0.5806077718734741, 0.8576484322547913, 0.44236230850219727, -0.09799595177173615, -0.03992394730448723, -0.41803380846977234, 0.5830655694007874, 0.5232775211334229, -0.42531928420066833, -0.10499806702136993, 0.5847397446632385, 0.22879181802272797, 0.12444461137056351, 0.5381815433502197, -0.17468677461147308, -0.1654629111289978, -0.16256779432296753, -0.254382461309433, 0.08716125041246414, -0.31423020362854004, -0.2928415834903717, 0.06941714137792587, -0.29712560772895813, -0.366463840007782 ]
http://arxiv.org/abs/2405.13329v1
http://arxiv.org/pdf/2405.13329v1
High Performance P300 Spellers Using GPT2 Word Prediction With Cross-Subject Training
2024-05-22T04:15:41
2024-05-22T04:15:41
Nithin Parthasarathy, James Soetedjo, Saarang Panchavati, Nitya Parthasarathy, Corey Arnold, Nader Pouratian, William Speier
cs.CL
cs.CL, cs.HC, cs.SY, eess.SP, eess.SY
Amyotrophic lateral sclerosis (ALS) severely impairs patients' ability to communicate, often leading to a decline in their quality of life within a few years of diagnosis. The P300 speller brain-computer interface (BCI) offers an alternative communication method by interpreting a subject's EEG response to characters presented on a grid interface. This paper addresses the common speed limitations encountered in training efficient P300-based multi-subject classifiers by introducing innovative "across-subject" classifiers. We leverage a combination of the second-generation Generative Pre-Trained Transformer (GPT2) and Dijkstra's algorithm to optimize stimuli and suggest word completion choices based on typing history. Additionally, we employ a multi-layered smoothing technique to accommodate out-of-vocabulary (OOV) words. Through extensive simulations involving random sampling of EEG data from subjects, we demonstrate significant speed enhancements in typing passages containing rare and OOV words. These optimizations result in approximately 10% improvement in character-level typing speed and up to 40% improvement in multi-word prediction. We demonstrate that augmenting standard row/column highlighting techniques with layered word prediction yields close-to-optimal performance. Furthermore, we explore both "within-subject" and "across-subject" training techniques, showing that speed improvements are consistent across both approaches.
[ -0.6096566915512085, -0.5013853311538696, 0.6971385478973389, 0.3293534219264984, -0.07248149067163467, 0.15474438667297363, -0.19509099423885345, -0.5799793004989624, 0.15607388317584991, 0.045668814331293106, -0.27352485060691833, -0.29152992367744446, -0.8721948862075806, -0.10931456834077835, 0.053899019956588745, 0.5906823873519897, -0.26501455903053284, 0.25637972354888916, 0.04023442789912224, -0.10778070986270905, -0.5521255135536194, -0.4027511477470398, -0.6903181076049805, -0.4467848241329193, 0.6306512951850891, 0.44701552391052246, 0.4615081250667572, 0.1641039252281189, 0.3214007019996643, 0.28542402386665344, -0.280626505613327, -0.003542980644851923, -0.11762568354606628, 0.1191280335187912, -0.0017245005583390594, -0.4122637212276459, -0.7325292825698853, -0.16528044641017914, 0.6035793423652649, 0.8211941123008728, -0.2598535120487213, 0.05764121934771538, 0.29512810707092285, 0.5533861517906189, -0.8544578552246094, 0.04450593888759613, -0.4090997576713562, 0.2849656939506531, -0.5207840204238892, -0.06028132885694504, -0.5676309466362, -0.03982693701982498, 0.1381518840789795, -0.6558826565742493, 0.2622247636318207, 0.5665470957756042, 0.6997194290161133, -0.03792097419500351, -0.24778354167938232, 0.04116407036781311, -0.5034831762313843, 0.344613641500473, -0.4316321313381195, 0.7947876453399658, 0.5169524550437927, 0.3314603269100189, -0.10970424860715866, -0.6500135064125061, -0.7639713883399963, -0.1371735781431198, -0.022325728088617325, 0.3199757933616638, -0.4854213297367096, 0.5099732875823975, 0.459576278924942, 0.1367720365524292, -0.881100058555603, 0.3008310794830322, -0.7362977862358093, -0.4806043207645416, 0.5150420069694519, 0.013986107893288136, 0.3225052058696747, 0.20605193078517914, 0.11377175152301788, 0.02728934958577156, -0.670992910861969, -0.09723126143217087, 0.5844976902008057, 0.10432202368974686, 0.2686728239059448, 0.8619176745414734, -0.09554769098758698, 0.6359357237815857, 0.2131025791168213, 0.01883835904300213, 0.6638616919517517, 0.19662755727767944, 0.04088130220770836, 0.29269230365753174, 0.39302924275398254, 0.335405170917511, 0.12921307981014252, -0.6985568404197693, 0.03702431544661522, 0.22094298899173737, 0.3378148078918457, -0.6239022612571716, -0.4770512878894806, 0.30155670642852783, -0.3905981481075287, 0.37382233142852783, -0.09136036783456802, -0.8189669847488403, -0.5471534132957458, -0.35949432849884033, 0.459601491689682, -0.7598241567611694, -0.2563791275024414, -0.016980720683932304, -0.3843521177768707, -0.02527373656630516, 0.25762516260147095, -0.8414298892021179, 0.21670503914356232, 0.2626630663871765, 0.8769100904464722, -0.1520332247018814, -0.6886124014854431, -0.7377671003341675, 0.4500975012779236, -0.21516919136047363, 1.2066209316253662, -0.32781094312667847, -0.2647354304790497, -0.19610369205474854, 0.024439698085188866, -0.23608103394508362, -0.5588169693946838, 0.3643183708190918, -0.4867600202560425, 0.048819947987794876, -0.32057276368141174, -0.6269752383232117, -0.09658405929803848, -0.49867329001426697, -0.5246260762214661, 1.005519986152649, 0.0662718117237091, -0.7716634273529053, 0.8281301259994507, -0.6788944005966187, -0.9172741174697876, 0.5055834650993347, 0.19699817895889282, -0.357025146484375, 0.42507243156433105, 0.11112172901630402, 0.4262036383152008, 0.15202179551124573, -0.1348511278629303, -0.45166319608688354, -0.6950273513793945, -0.25305548310279846, -0.10910190641880035, 0.010414895601570606, -0.03781169280409813, -0.24307595193386078, 0.0999729111790657, -0.7229323387145996, 0.15625633299350739, -0.26383596658706665, -0.29183080792427063, -0.10845013707876205, 0.018282020464539528, 0.2624489963054657, 0.3662550449371338, -0.12068775296211243, -0.7863462567329407, -0.083383709192276, -0.3307955861091614, 0.4597626328468323, 0.5586652755737305, -0.4297657012939453, 0.3851192891597748, -0.23752813041210175, 0.4039759337902069, 0.12413506209850311, -0.0337364487349987, 0.06288186460733414, -0.7234268188476562, -0.6573578119277954, -0.3412063419818878, 0.07906650751829147, 0.842399001121521, -0.8295535445213318, 0.7022565007209778, -0.13629215955734253, -0.5524328351020813, -0.7667492032051086, -0.06309963017702103, 0.3083847165107727, 0.2732519507408142, 0.7838228344917297, -0.3914446234703064, -0.41223928332328796, -0.8746508955955505, -0.4724484384059906, -0.030798576772212982, -0.43486544489860535, 0.2512763440608978, 0.08952611684799194, -0.16328293085098267, 0.6057925224304199, -0.7368344068527222, -0.5003467202186584, -0.3458908796310425, 0.7380259037017822, -0.3638102412223816, 0.3240450918674469, -0.06858736276626587, -0.4301653802394867, -0.2721225917339325, -0.29635512828826904, -0.4236825704574585, 0.026403484866023064, 0.17522338032722473, 0.06286757439374924, 0.42246952652931213, 0.6320584416389465, -0.28467196226119995, 0.6602127552032471, 0.36535340547561646, -0.35737842321395874, 0.2629868686199188, -0.7858648300170898, -0.04281620308756828, -0.6013284921646118, 0.09294192492961884, 0.4382571280002594, 0.19522057473659515, -0.5927574634552002, -0.4501868188381195, 0.24389903247356415, -0.1324722170829773, -0.45618510246276855, 0.2841896712779999, -0.6811297535896301, -0.14824868738651276, -0.5106195211410522, 0.020393066108226776, -0.28917521238327026, 0.5661971569061279, 0.22553300857543945, 1.1343095302581787, 0.6614875793457031, -0.4703267216682434, 0.1588699072599411, 0.3536961078643799, -0.3749798834323883, 0.7965905666351318, -0.6901111602783203, 0.46222954988479614, -0.5702476501464844, 0.28117790818214417, -0.9985648393630981, -0.027942009270191193, -0.10715379565954208, -0.17757682502269745, 0.5566366314888, 0.2685062289237976, -0.5094020366668701, -0.9236751198768616, -0.04357125610113144, 0.24297674000263214, 0.4559755027294159, -0.3950914144515991, 0.9563522934913635, 0.4639403522014618, -0.19324646890163422, -0.15430177748203278, -1.0093426704406738, 0.16764432191848755, -0.13642668724060059, -0.46623679995536804, 0.4995391070842743, 0.06859967857599258, 0.27389800548553467, -0.2839946746826172, -0.2560601234436035, 0.06367754191160202, -0.18133684992790222, 0.44335922598838806, 0.06179855018854141, 0.0845806673169136, 0.27748703956604004, 0.47947096824645996, -0.14374081790447235, -0.26901406049728394, -0.13679203391075134, 0.6910080313682556, -0.17953357100486755, -0.31327271461486816, -0.6375332474708557, 0.3526364266872406, 0.43707719445228577, -0.2507728040218353, 0.8298530578613281, 0.6940282583236694, -0.4056316614151001, -0.0025048856623470783, -0.9357808828353882, -0.3595694899559021, -0.5036311745643616, 0.8144283890724182, -0.7685223817825317, -0.7520895004272461, 0.24895353615283966, -0.26970812678337097, -0.6237895488739014, 0.15670789778232574, 0.21352189779281616, -0.2869366407394409, 1.0157943964004517, 0.5599145889282227, 0.08765984326601028, 0.30769965052604675, 0.05852822959423065, 0.4090958535671234, -1.3272967338562012, -0.41940003633499146, -0.07331029325723648, -0.32275390625, -0.47459086775779724, -0.14543110132217407, 0.5047811269760132, 0.12841574847698212, -0.3689800500869751, 0.5558682680130005, -0.570797860622406, 0.24847103655338287, 0.8602864742279053, 0.6875753402709961, -0.17456047236919403, 0.004423116333782673, -0.16564418375492096, -0.2377198040485382, -0.6542620062828064, -0.34726834297180176, 1.3490517139434814, 0.3621283769607544, 0.37264105677604675, -0.24342136085033417, 0.3192020654678345, 0.21942643821239471, 0.3486393988132477, -0.6378984451293945, 0.5349541306495667, -0.38977324962615967, -0.41846826672554016, -0.3582422137260437, 0.041473835706710815, -0.7023308873176575, 0.108590267598629, -0.3474850058555603, -1.0040698051452637, 0.24571123719215393, 0.22435937821865082, -0.7148478627204895, 0.40867534279823303, -0.8512951135635376, 0.8152909278869629, -0.05790673941373825, -0.4835757911205292, -0.4162901043891907, -0.8342591524124146, 0.07397031784057617, -0.10675924271345139, -0.19076849520206451, -0.05559912323951721, 0.09345786273479462, 0.6832783818244934, -0.01799858920276165, 0.40164679288864136, -0.25500085949897766, -0.01113808061927557, -0.039908815175294876, -0.30274590849876404, 0.2555856704711914, -0.31843581795692444, -0.008286607451736927, 0.49189692735671997, -0.19052985310554504, -0.4029969274997711, -0.35259130597114563, 0.3995877802371979, -0.7590455412864685, -0.45915478467941284, -0.5991034507751465, -0.5078890919685364, -0.5889809131622314, -0.008231556974351406, 0.49088555574417114, 0.42107483744621277, -0.05892949551343918, -0.25752192735671997, 0.6329148411750793, -0.25496962666511536, 0.39681440591812134, 0.4537162482738495, 0.26977458596229553, -0.5689583420753479, 1.1515718698501587, 0.47300660610198975, 0.021813323721289635, 0.33451998233795166, -0.24141564965248108, -0.2609351575374603, -0.6394246816635132, -0.43883195519447327, 0.2671448290348053, -0.47291773557662964, 0.1202196255326271, -0.7316045761108398, -0.0707305297255516, -0.5033884644508362, -0.09446168690919876, -0.015262548811733723, -0.07809579372406006, -0.018425902351737022, -0.08937663584947586, -0.054737888276576996, 0.43596524000167847, -0.014564446173608303, 0.7632371783256531, -0.35123300552368164, 0.5088706612586975, 0.33440569043159485, 0.6025111675262451, -0.15164344012737274, -0.42519474029541016, -0.04471438378095627, -0.19785213470458984, -0.6002534031867981, -1.0079972743988037, 0.2801685333251953, 0.14225491881370544, 0.5309127569198608, 0.12256080657243729, -0.2292661815881729, 0.7248650789260864, -0.8718132376670837, 0.5028711557388306, 0.27277636528015137, -1.0925085544586182, 0.47167932987213135, 0.10007258504629135, 0.20307569205760956, 0.7001001834869385, 0.3908114433288574, -0.7453240156173706, -0.31132885813713074, -0.3375941514968872, -1.2094000577926636, 1.0317211151123047, 0.1257626861333847, -0.385720819234848, 0.14655868709087372, 0.43601980805397034, 0.11189936846494675, 0.27202868461608887, -0.10652347654104233, -0.4539964199066162, -0.17185840010643005, -0.19431667029857635, -0.27164438366889954, -0.3447277843952179, 0.15208370983600616, -0.4764949083328247, 0.9519380331039429, -0.2586769163608551, 0.7491668462753296, 0.14573542773723602, -0.1999841034412384, -0.11599849164485931, 0.13931111991405487, 0.5548684597015381, 0.6694613099098206, -0.18435759842395782, 0.09564948081970215, 0.5999599695205688, -0.8275598287582397, 0.06260887533426285, 0.6221314072608948, 0.05603516846895218, -0.20332275331020355, 0.1425061821937561, 1.2887253761291504, -0.10359065234661102, -0.48536473512649536, 0.45456555485725403, 0.021089226007461548, -0.15598370134830475, -0.11453013122081757, -0.280424028635025, 0.03117380104959011, 0.2599705159664154, 0.3752153515815735, 0.25853022933006287, 0.3143332302570343, -0.2779553234577179, 0.23824477195739746, 0.25902339816093445, -0.1985238641500473, -0.3141034245491028, 0.9658423662185669, 0.10442904382944107, -0.30336782336235046, 0.7061255574226379, -0.33806702494621277, -0.48043814301490784, 0.3879418969154358, 0.36528000235557556, 1.004436731338501, -0.3304511308670044, 0.11660917103290558, 0.17518781125545502, 0.19148756563663483, -0.28695395588874817, 0.48090529441833496, -0.0785372406244278, -0.7892511487007141, -0.317807137966156, -0.41940173506736755, -0.4054199457168579, 0.0864301547408104, -0.603366494178772, 0.4451819360256195, -0.19231215119361877, -0.3110921382904053, 0.2848587930202484, -0.05158873274922371, -0.7468137145042419, 0.4959317743778229, 0.549061119556427, 0.8811286687850952, -0.8694241642951965, 1.0236988067626953, 0.9595210552215576, -0.47276705503463745, -0.724226176738739, 0.49969542026519775, -0.23769830167293549, -0.7334386706352234, 0.6192265748977661, 0.3353506326675415, 0.04291357845067978, 0.11183209717273712, 0.12190189957618713, -0.6690086722373962, 1.2136062383651733, 0.2820888161659241, -0.8984429836273193, -0.23448476195335388, 0.2996916174888611, 0.471493661403656, 0.24825167655944824, 0.781567394733429, 0.545518159866333, 0.5651203393936157, 0.1368684470653534, -1.1073107719421387, 0.09318685531616211, -0.036828115582466125, 0.39371880888938904, 0.11689173430204391, -0.7103774547576904, 0.3441731929779053, -0.05254434049129486, -0.09496887028217316, -0.03500900790095329, 1.1591264009475708, 0.4362810552120209, 0.5164782404899597, 0.5180660486221313, 0.719441294670105, 0.9936994314193726, -0.24609516561031342, 0.717566192150116, -0.7478640675544739, 0.030216911807656288, 0.9008663892745972, -0.6533461809158325, 0.7871189713478088, 0.5700823664665222, -0.3465310335159302, 0.378185898065567, 0.33219584822654724, -0.01910831220448017, 0.5739427208900452, 0.6040135622024536, -0.47067704796791077, -0.22513163089752197, 0.2628830671310425, -0.35027989745140076, 0.3306995630264282, 0.1702011525630951, -0.03776165097951889, 0.043089210987091064, 0.82911616563797, 0.028494320809841156, 0.13451655209064484, -0.275547057390213, 0.6687787771224976, -0.19644606113433838, -0.7812569737434387, 0.1336018443107605, 0.1830090880393982, 0.9700269103050232, -0.3834758400917053, 0.28215810656547546, -0.0670589953660965, 0.5956177115440369, 0.0010563727701082826, -0.7389252781867981, 0.2909945845603943, -0.5216286182403564, -0.020167697221040726, -0.07020619511604309, 0.6016996502876282, -0.6309494376182556, -0.5873017311096191, 0.3593910038471222, 0.2285512238740921, 0.22969113290309906, -0.47672396898269653, -0.35723957419395447, 0.012804733589291573, -0.698314905166626, -0.1490909457206726, 0.38583898544311523, 0.3432614803314209, -0.08827574551105499, 0.5230001211166382, 0.021057141944766045, 0.36857712268829346, 0.014579595997929573, -0.10310385376214981, 0.9105888605117798, -0.4355373680591583, -0.4026143252849579, -0.5588278770446777, 0.15262775123119354, -0.0868557021021843, -0.4887186586856842, 0.6669521927833557, 0.8566488027572632, 0.6488777995109558, 0.021957531571388245, 0.7966183423995972, 0.025494344532489777, 0.5397083759307861, -0.28094446659088135, 0.8627916574478149, -0.4127359092235565, -0.3642979562282562, -0.21996095776557922, -0.771619975566864, -0.23398582637310028, 0.5395575761795044, -0.578692615032196, 0.28936511278152466, 1.0991525650024414, 0.619389533996582, 0.11493871361017227, 0.4975472688674927, 0.1808365136384964, 0.12235003709793091, 0.0826970636844635, 0.8328301310539246, 0.3321707546710968, -0.48447686433792114, 0.15316453576087952, -0.3767673969268799, -0.48251625895500183, 0.11300507932901382, -0.6270100474357605, -0.8452721834182739, -0.5831008553504944, -0.6042333245277405, -0.4213411808013916, 0.6810845732688904, 0.6409631967544556, 0.8546366095542908, -0.9254786968231201, -0.04426350072026253, -0.420240581035614, -0.391175240278244, -0.4740900695323944, -0.13658349215984344, 0.6006250381469727, -0.21897193789482117, -0.5586652159690857, 0.5170532464981079, 0.12278161197900772, 0.028089137747883797, -0.041468724608421326, 0.04874485358595848, -0.00007666213059565052, -0.09595484286546707, 0.59613436460495, 0.19766223430633545, -0.5995992422103882, -0.24331824481487274, -0.11452029645442963, 0.14369064569473267, 0.09304771572351456, 0.7715805768966675, -0.8594547510147095, 0.16933110356330872, 0.28855881094932556, 0.27321213483810425, 0.7114060521125793, -0.15178629755973816, 0.516516387462616, -0.30186378955841064, 0.1971132755279541, 0.13451069593429565, 0.37094947695732117, 0.23470662534236908, -0.538477897644043, 0.09880395233631134, 0.42358332872390747, -0.4978245198726654, -0.5838028788566589, -0.06924762576818466, -0.727023184299469, -0.3549216687679291, 1.3032060861587524, -0.053894490003585815, -0.13633418083190918, -0.2856488823890686, -0.568443238735199, 0.44178247451782227, -0.4186805188655853, 0.7489933967590332, 0.740697979927063, -0.29883015155792236, -0.0836317166686058, -0.3764023780822754, 0.37731269001960754, 0.6386563181877136, -0.7721351385116577, -0.13921284675598145, 0.4466762840747833, 0.12053640186786652, 0.13515587151050568, 0.4552707374095917, 0.18357020616531372, 0.22733251750469208, -0.15939109027385712, 0.6029610633850098, -0.20606961846351624, -0.5976243019104004, -0.37989485263824463, 0.5863500833511353, -0.20693626999855042, -0.3473023772239685 ]
http://arxiv.org/abs/2405.13326v1
http://arxiv.org/pdf/2405.13326v1
Mosaic IT: Enhancing Instruction Tuning with Data Mosaics
2024-05-22T04:08:20
2024-05-22T04:08:20
Ming Li, Pei Chen, Chenguang Wang, Hongyu Zhao, Yijun Liang, Yupeng Hou, Fuxiao Liu, Tianyi Zhou
cs.CL
cs.CL
Finetuning large language models with a variety of instruction-response pairs has enhanced their capability to understand and follow instructions. Current instruction tuning primarily relies on teacher models or human intervention to generate and refine the instructions and responses, which are costly, non-sustainable, and may lack diversity. In this paper, we introduce Mosaic Instruction Tuning (Mosaic-IT), a human/model-free method that can efficiently create rich and diverse augmentations from existing instruction tuning data to enhance the finetuned LLM.Mosaic-IT randomly concatenates multiple instruction data into one and trains the model to produce the corresponding responses with predefined higher-level meta-instructions to strengthen its multi-step instruction-following and format-following skills. Our extensive evaluations demonstrate a superior performance and training efficiency of Mosaic-IT, which achieves consistent performance improvements over various benchmarks and an 80% reduction in training costs compared with original instruction tuning. Our codes and data are available at https://github.com/tianyi-lab/Mosaic-IT.
[ -0.3860182464122772, -0.5423661470413208, -0.1050182580947876, 0.3690214157104492, -0.2354256957769394, 0.16327092051506042, -0.3382413387298584, -0.05841612443327904, 0.05458149313926697, 0.616222620010376, -0.8061277270317078, -0.6888747215270996, -0.4865935742855072, -0.15426239371299744, -0.2259366512298584, 0.7593529224395752, 0.28577616810798645, 0.5140904188156128, -0.028483325615525246, 0.15484334528446198, -0.6590418219566345, 0.20583468675613403, -0.39125972986221313, -0.09051964432001114, 0.49660834670066833, 1.1650220155715942, 0.6659976840019226, 1.3886606693267822, 0.4255320131778717, 0.30259233713150024, 0.23284150660037994, 0.6382877826690674, -0.5979164242744446, -0.1555006206035614, -0.15175649523735046, -0.4413343071937561, -0.5305613279342651, 0.05193191021680832, 0.8255210518836975, 0.7591419816017151, -0.19000668823719025, 0.4349205195903778, 0.2903177738189697, 0.9616597294807434, -0.8406782150268555, 0.1804785579442978, -0.5510272979736328, 0.08325249701738358, -0.26635244488716125, -0.4704764783382416, -0.655752420425415, -0.679051399230957, -0.3042783737182617, -0.6594358086585999, 0.321546345949173, 0.03571135550737381, 0.2687757611274719, 0.43944817781448364, -0.281154602766037, -0.13213562965393066, -0.5684807896614075, 0.6320703625679016, -0.5504304766654968, 0.26635053753852844, 0.4895687699317932, 0.3200925588607788, -0.08781355619430542, -0.39405709505081177, -0.3099144995212555, -0.20949313044548035, 0.18330532312393188, 0.2799205780029297, 0.15873152017593384, 0.020843179896473885, 0.18679654598236084, 0.6893076300621033, -0.39912211894989014, 0.09214574098587036, -0.3974977731704712, -0.025456370785832405, 0.5044962763786316, 0.6195959448814392, 0.47051143646240234, 0.3610776364803314, -0.17913411557674408, -0.4237998425960541, -0.8260020017623901, 0.165399432182312, 0.5446227192878723, 0.31534242630004883, -0.17103612422943115, 0.6828776001930237, -0.14980971813201904, 0.9112618565559387, 0.18505613505840302, 0.026082761585712433, 0.17170527577400208, -0.3759039640426636, -0.03345032408833504, -0.018285255879163742, 0.48183637857437134, 0.5036585927009583, 0.27795299887657166, -0.2854614853858948, 0.0332498773932457, -0.0644448772072792, 0.27382639050483704, -1.0412144660949707, -0.33493277430534363, -0.30724987387657166, -0.24390603601932526, -0.05360083281993866, 0.12012738734483719, -0.66457200050354, -0.3182441294193268, -0.5481123924255371, 0.3115965723991394, -0.719357430934906, -0.0013011920964345336, 0.23641324043273926, -0.027114303782582283, 0.3413228988647461, 0.2050449550151825, -1.3292113542556763, 0.21084171533584595, 0.7841469049453735, 0.5594545602798462, -0.1287831962108612, -0.4256417453289032, -0.8164534568786621, 0.24094326794147491, -0.6024394631385803, 0.7188695073127747, -0.9922600388526917, -0.37934020161628723, -0.27896061539649963, -0.019375070929527283, -0.2960658073425293, -0.5715407729148865, 0.3000129163265228, -0.4706205427646637, 0.2616168260574341, -0.27345627546310425, -0.7397045493125916, -0.10124153643846512, 0.059283167123794556, -0.7870845198631287, 0.616029679775238, 0.1872798353433609, -0.551291823387146, 0.2240186482667923, -0.7280957698822021, -0.5247888565063477, -0.048453547060489655, 0.11531797051429749, -0.46914148330688477, 0.015670234337449074, 0.4173261523246765, 0.26009640097618103, -0.4986882507801056, -0.08155913650989532, -0.17550349235534668, -0.8191163539886475, -0.2255755364894867, -0.4679814875125885, 0.6937592625617981, 0.19194398820400238, -0.24303632974624634, 0.1810392439365387, -1.127898097038269, 0.2251710295677185, -0.18756666779518127, -0.7925190329551697, -0.025807194411754608, -0.0932137593626976, -0.26989802718162537, -0.3696983754634857, 0.21416325867176056, -0.4696057140827179, 0.6595495939254761, -0.47777339816093445, 0.12042893469333649, 0.7687172293663025, -0.05447642132639885, 0.91583251953125, -0.40353846549987793, 0.4161284267902374, -0.019405532628297806, 0.16619226336479187, -0.683552622795105, -0.5930333137512207, -0.7221514582633972, -0.5902541279792786, 0.3356674611568451, 0.7216589450836182, -0.7858951687812805, 0.24768424034118652, -0.20418953895568848, -0.3005056381225586, -1.0786272287368774, 0.3573059141635895, 0.4626663625240326, 0.5329139232635498, 0.5271136164665222, -0.28707998991012573, -0.6314098238945007, -0.7295224666595459, -0.3598254919052124, 0.5038347244262695, -0.18049511313438416, 0.17758719623088837, 0.11438016593456268, -0.2577323615550995, 0.6548967361450195, -0.3105510175228119, -0.08523014932870865, 0.16916818916797638, 0.2909766435623169, 0.12031257897615433, 0.7460118532180786, 0.14404532313346863, -0.29223304986953735, -0.7800928950309753, -0.04893035441637039, -0.36840203404426575, -0.05747782811522484, -0.0004054852470289916, -0.19474773108959198, -0.06057346239686012, 0.07293037325143814, -0.014501478523015976, 0.2549978494644165, 0.4977710247039795, -0.3800881803035736, 0.18130606412887573, -0.43112313747406006, 0.5127454996109009, -1.265388011932373, -0.19650492072105408, -0.2653999626636505, -0.06821439415216446, -0.564254105091095, 0.2197229266166687, 0.4672301411628723, 0.10666687786579132, -0.12352137267589569, 0.15893664956092834, -0.6249083280563354, -0.1098143681883812, -0.3147714138031006, -0.3808388411998749, -0.14544013142585754, 0.5627977252006531, -0.197702094912529, 1.2359192371368408, 0.5384339690208435, -0.40952685475349426, 0.30332714319229126, 0.24224530160427094, -0.6726672649383545, 0.2178952544927597, -0.26288902759552, 0.2522098124027252, -0.121595099568367, -0.29397937655448914, -0.9283300042152405, -0.36753958463668823, 0.36909639835357666, -0.05000624060630798, 0.5703184008598328, -0.1652502566576004, -0.4138873815536499, -0.20313876867294312, -0.5146880745887756, 0.19325223565101624, 0.5080569982528687, -0.7579324841499329, 0.5675695538520813, -0.025382187217473984, 0.12038735300302505, -0.7368125319480896, -0.5719417929649353, 0.16785374283790588, 0.045145612210035324, -0.7547951936721802, 0.430205762386322, -0.40921562910079956, -0.043119147419929504, -0.17055708169937134, -0.01664900593459606, -0.15815798938274384, 0.219293475151062, 0.1272740215063095, 0.24420927464962006, -0.4352739751338959, -0.10828648507595062, 0.3667781949043274, -0.14767222106456757, -0.3650778532028198, -0.21151913702487946, 0.4534262716770172, 0.04235309734940529, -0.5137186050415039, -0.6159901022911072, 0.47482752799987793, 0.4112774133682251, -0.36395710706710815, 0.7300181984901428, 0.7792053818702698, 0.1001509428024292, -0.3286762833595276, -0.47959595918655396, -0.30499887466430664, -0.5057248473167419, 0.3176220655441284, -0.15446293354034424, -0.8298140168190002, 0.22207818925380707, -0.1603412926197052, 0.3450726270675659, -0.12023472785949707, 0.5484491586685181, -0.23776043951511383, 1.3067015409469604, 0.6558822989463806, -0.1918403059244156, 0.8639225363731384, -0.17184148728847504, -0.2960290312767029, -0.8042059540748596, -0.16414159536361694, -0.24903054535388947, -0.4682312607765198, -0.5527042150497437, -0.6028863191604614, 0.3173576593399048, -0.10167422145605087, -0.4564369022846222, 0.2936161160469055, -0.6643517017364502, 0.8944253921508789, 0.8776092529296875, 0.4286845922470093, 0.3109777569770813, 0.026856601238250732, -0.013130410574376583, -0.060302406549453735, -0.7311500310897827, -0.457454115152359, 1.0529831647872925, 0.10488859564065933, 1.005440354347229, 0.0393303819000721, 0.6132656335830688, 0.20443536341190338, 0.42907193303108215, -0.4527209401130676, 0.39336279034614563, -0.3977084457874298, -0.17456918954849243, -0.11402386426925659, -0.4712402820587158, -0.6755367517471313, 0.15771549940109253, -0.4533238410949707, -0.5869676470756531, -0.07730420678853989, 0.4524463415145874, -0.375005304813385, 0.2775914967060089, -0.9296500086784363, 0.6065796613693237, -0.09030817449092865, -0.6574457287788391, -0.2150491625070572, -0.5487152934074402, 0.4921616315841675, 0.2155347764492035, 0.025191424414515495, 0.10764361917972565, -0.03791937977075577, 0.33835846185684204, -0.2668636739253998, 0.9492225050926208, -0.07496611773967743, -0.2027982771396637, 0.11654443293809891, 0.1669876128435135, 0.493632435798645, -0.10140339285135269, -0.1687496453523636, -0.23920615017414093, -0.3218306601047516, -0.4302542507648468, -0.5087310075759888, 0.6766694188117981, -0.9025187492370605, -0.8767686486244202, 0.42363399267196655, -1.0118155479431152, -0.19288022816181183, 0.020616553723812103, 0.23559576272964478, 0.35702580213546753, 0.03983313590288162, 0.35451292991638184, 0.8983493447303772, -0.16767366230487823, 0.3421323001384735, 0.5933818817138672, 0.2162034660577774, -0.7073529958724976, 1.1182209253311157, -0.07975860685110092, 0.1566925048828125, 0.47450047731399536, 0.16575510799884796, 0.12607671320438385, -0.44756102561950684, -0.7885950803756714, -0.13298223912715912, -0.533955454826355, -0.3198279142379761, -0.17761068046092987, 0.04513072967529297, -0.20998720824718475, 0.01843295618891716, -0.47074973583221436, -0.42577359080314636, -0.6106182336807251, 0.11831196397542953, 0.21958255767822266, 0.4853912591934204, -0.08793643116950989, 0.5178266167640686, -0.977688729763031, 0.32692286372184753, 0.5819793939590454, 0.573017954826355, -0.10249433666467667, -0.6004490852355957, -0.4461267292499542, 0.451638400554657, -0.47605639696121216, -0.8140947818756104, 0.2513132691383362, 0.5712787508964539, 0.4611528217792511, 0.5650395154953003, -0.2716556489467621, 0.9956714510917664, -0.846615731716156, 0.637658953666687, 0.007025689817965031, -1.0198521614074707, 0.3239787817001343, -0.2723558247089386, 0.4199987053871155, 0.3729243874549866, 0.12975896894931793, -0.08424659073352814, -0.32441195845603943, 0.026689544320106506, -0.687109112739563, 0.9967543482780457, 0.016517996788024902, 0.29469504952430725, 0.04541230574250221, 0.44930005073547363, 0.31023260951042175, 0.0496038943529129, -0.3939877152442932, -0.31930604577064514, -0.451654851436615, -0.5394423604011536, 0.0798032283782959, -0.218075692653656, -0.28254878520965576, -0.5260544419288635, 0.6971026062965393, -0.3239568769931793, 0.2325853854417801, -0.41884228587150574, -0.18815363943576813, -0.4015128016471863, 0.16174691915512085, 0.8553730845451355, 0.47011590003967285, -0.0215616337954998, -0.05314727872610092, 0.22173824906349182, -0.4633195698261261, -0.0666327178478241, -0.11578620970249176, 0.056993793696165085, -0.5019848346710205, 0.42816904187202454, 0.9070491194725037, 0.3742712736129761, -0.35433322191238403, 0.30030718445777893, -0.12722955644130707, -0.21063204109668732, 0.19381380081176758, 0.7956366539001465, 0.38316211104393005, 0.5817311406135559, 0.17400875687599182, 0.20720277726650238, 0.2050439566373825, -0.3903113007545471, 0.17755447328090668, 0.5847094058990479, -0.09082206338644028, -0.19460436701774597, 0.6127225160598755, 0.048027921468019485, -0.5299059152603149, 0.7717818021774292, 0.08580247312784195, -0.11572135239839554, 0.6463435292243958, 0.9262198209762573, 0.5360841751098633, -0.4429311156272888, 0.25318408012390137, 0.5243524312973022, 0.28589510917663574, -0.09056562185287476, 0.4097839891910553, -0.5587483048439026, -0.7028258442878723, -0.5136326551437378, -0.2236141860485077, -0.44772639870643616, -0.16682741045951843, -0.8334348201751709, 0.19931040704250336, -0.5345337390899658, 0.3335975110530853, -0.258922815322876, -0.1978001892566681, -0.4253957271575928, 0.023281726986169815, 0.30365434288978577, 1.1728899478912354, -0.5336008667945862, 0.8682497143745422, 0.4970506727695465, -0.31819772720336914, -0.7509101033210754, -0.10515151172876358, -0.11438271403312683, -1.1321607828140259, 0.42687737941741943, 0.20022691786289215, -0.20193924009799957, 0.22704197466373444, -0.8973045945167542, -0.6657500267028809, 1.3035794496536255, 0.7339501976966858, -0.8633298277854919, -0.011434955522418022, 0.4389619827270508, 0.3571114242076874, -0.5559708476066589, 0.37164828181266785, 0.5945053696632385, 0.4274944067001343, 0.4698910415172577, -0.4421525299549103, -0.1505274474620819, -0.44564002752304077, 0.08964300900697708, 0.14578263461589813, -0.5403933525085449, 0.9103282690048218, -0.31729093194007874, -0.30279937386512756, 0.3709997534751892, 0.4664316773414612, -0.13205958902835846, 0.12332843244075775, 0.26611489057540894, 0.6427628993988037, 0.8507615327835083, -0.05845113471150398, 0.6964276432991028, -0.7620362043380737, 0.07719358801841736, 1.21266770362854, 0.13601063191890717, 0.51360023021698, 0.253176748752594, 0.3244019150733948, 0.4819428622722626, 0.6673077940940857, -0.24568402767181396, 0.7793413400650024, 0.12604644894599915, -0.4010128080844879, -0.4936152398586273, 0.31520670652389526, -0.34399595856666565, 0.35659119486808777, 0.3764794170856476, -0.4354136288166046, -0.22655336558818817, 0.090107761323452, -0.30360478162765503, 0.2179807722568512, -0.5481113791465759, 1.1124731302261353, -0.2997686266899109, -0.712306022644043, 0.6980112195014954, -0.03461361676454544, 0.5640043020248413, -0.4311601519584656, -0.37243276834487915, -0.33833274245262146, 0.14398029446601868, -0.23183606564998627, -0.6874817609786987, 0.15202835202217102, -0.005078921094536781, -0.2820132374763489, -0.15155665576457977, 0.3170028030872345, -0.6747148036956787, -0.323910653591156, -0.1662539690732956, 0.21394965052604675, -0.32055413722991943, 0.3120018243789673, -0.5657320022583008, -0.18516723811626434, 0.19928421080112457, -0.15324950218200684, 0.23999552428722382, 0.29295673966407776, 0.14488087594509125, 0.7193983197212219, 0.5534952878952026, -0.07464861124753952, 0.24950183928012848, 0.03254459798336029, 1.1050302982330322, -0.5632343888282776, -0.1905195266008377, -0.9467330574989319, 0.75745689868927, -0.017203591763973236, -0.16302689909934998, 0.6019154787063599, 0.4836486577987671, 0.7552894949913025, -0.31896308064460754, 0.3922964334487915, 0.5083988308906555, 0.2952565550804138, -0.5676982402801514, 0.5617297291755676, -0.3261793255805969, 0.5397083163261414, -0.0743897557258606, -0.9559343457221985, -0.36890527606010437, 0.516496479511261, -0.22820866107940674, -0.08794423192739487, 0.17235584557056427, 1.0790834426879883, -0.3201952874660492, 0.44691959023475647, 0.39337581396102905, -0.057331208139657974, -0.06767798960208893, 0.5127769708633423, 0.952496349811554, -0.20164424180984497, 0.3183901906013489, -0.29605647921562195, -0.36260026693344116, -0.00688947131857276, -0.7145082950592041, -0.9362807273864746, -0.4092893600463867, -0.13298197090625763, 0.04196421056985855, 0.17037013173103333, 1.152737021446228, 0.7000823020935059, -0.7866999506950378, -0.2285441905260086, -0.2119579017162323, 0.2141418159008026, -0.34605538845062256, -0.1746327131986618, 0.15749862790107727, -0.6688615679740906, -0.8824072480201721, 0.6799226999282837, 0.2206420749425888, -0.12288656830787659, 0.06233822554349899, -0.06307957321405411, 0.08748779445886612, 0.10523392260074615, 0.406293660402298, 0.17416158318519592, -0.21174356341362, -0.08543252944946289, 0.14259777963161469, -0.07067512720823288, 0.31610599160194397, 0.7136196494102478, -0.4978701174259186, 0.6927923560142517, 0.17413081228733063, 0.9068854451179504, 0.5469838976860046, 0.04307805746793747, 0.6166078448295593, -0.9046733379364014, -0.20042406022548676, -0.03686143457889557, 0.26936763525009155, 0.35852405428886414, -0.4110165536403656, 0.36471790075302124, -0.15730702877044678, -0.41277995705604553, -0.419075071811676, 0.12026070058345795, -0.5441528558731079, -0.1304958015680313, 0.8661768436431885, -0.12013252824544907, -0.24229568243026733, 0.3295759856700897, -0.36959606409072876, 0.4232805669307709, -0.32137972116470337, 1.0984231233596802, 0.3183795213699341, 0.008633606135845184, -0.3156163692474365, -0.18548592925071716, 0.28118887543678284, 0.32491302490234375, -0.7499977946281433, -0.004706177394837141, 0.5121368169784546, 0.4011062681674957, -0.037353746592998505, 0.17079052329063416, 0.10545041412115097, 0.6509427428245544, -0.11816229671239853, 0.12063320726156235, -0.5217829942703247, -0.3423675000667572, -0.13672678172588348, 0.24421946704387665, -0.10661562532186508, -0.5573784112930298 ]
http://arxiv.org/abs/2405.13325v2
http://arxiv.org/pdf/2405.13325v2
DEGAP: Dual Event-Guided Adaptive Prefixes for Templated-Based Event Argument Extraction with Slot Querying
2024-05-22T03:56:55
2024-06-15T15:40:49
Guanghui Wang, Dexi Liu, Jian-Yun Nie, Qizhi Wan, Rong Hu, Xiping Liu, Wanlong Liu, Jiaming Liu
cs.CL
cs.CL, cs.AI, cs.IR
Recent advancements in event argument extraction (EAE) involve incorporating useful auxiliary information into models during training and inference, such as retrieved instances and event templates. These methods face two challenges: (1) the retrieval results may be irrelevant and (2) templates are developed independently for each event without considering their possible relationship. In this work, we propose DEGAP to address these challenges through a simple yet effective components: dual prefixes, i.e. learnable prompt vectors, where the instance-oriented prefix and template-oriented prefix are trained to learn information from different event instances and templates. Additionally, we propose an event-guided adaptive gating mechanism, which can adaptively leverage possible connections between different events and thus capture relevant information from the prefix. Finally, these event-guided prefixes provide relevant information as cues to EAE model without retrieval. Extensive experiments demonstrate that our method achieves new state-of-the-art performance on four datasets (ACE05, RAMS, WIKIEVENTS, and MLEE). Further analysis shows the impact of different components.
[ -0.329292356967926, -0.9692116379737854, 0.51410311460495, -0.1823796182870865, -0.7719444036483765, -0.05900268629193306, -0.027030285447835922, -0.24124868214130402, 0.3034403920173645, -0.11754483729600906, -0.517206072807312, -0.323487251996994, -0.5974611043930054, -0.13563913106918335, 0.12353334575891495, 0.7352028489112854, 0.15154477953910828, -0.03026546724140644, -0.10609237849712372, -0.23808510601520538, -0.8765419721603394, -0.45694050192832947, -1.225380778312683, 0.02943543717265129, 0.612578809261322, 0.5321020483970642, 0.09850247949361801, 0.49444928765296936, 0.02047894150018692, 0.12493246048688889, -0.11461199820041656, 0.3749878406524658, -0.0074693309143185616, 0.3292633593082428, -0.34461238980293274, -0.09982538223266602, -0.6517233848571777, 0.021919099614024162, 0.39091432094573975, 0.20207317173480988, -0.3671692907810211, -0.06561876088380814, 0.2292262464761734, 0.3490278720855713, -0.8248932361602783, 0.15115584433078766, -1.0406904220581055, -0.011560259386897087, -0.36770907044410706, -0.31016242504119873, -0.4330426752567291, 0.17381469905376434, -0.21628916263580322, -0.6834932565689087, 0.3120373487472534, -0.28534266352653503, 0.7251877188682556, 0.0031892459373921156, -0.3854590356349945, -0.33467763662338257, -0.5069352388381958, 0.4102880358695984, -0.6802696585655212, 0.2864718735218048, 0.11360873281955719, 0.16343824565410614, -0.17420189082622528, -0.9381944537162781, -0.47982487082481384, 0.03428800776600838, 0.3246539831161499, 0.3628899157047272, -0.3513852655887604, -0.02281939424574375, 0.41143545508384705, -0.16397815942764282, -0.469772607088089, 0.49964162707328796, -0.069051094353199, 0.25618675351142883, 0.7181695699691772, 0.09124766290187836, 0.1677393764257431, -0.019935734570026398, -0.4983493983745575, -0.009446808136999607, -0.6873394250869751, 0.03069933131337166, 0.22147443890571594, 0.24307312071323395, 0.08325034379959106, 0.03317229822278023, 0.01921972446143627, 0.7454415559768677, 0.5531744956970215, 0.40390723943710327, -0.18407772481441498, -0.02571319416165352, -0.3167046904563904, 0.11800594627857208, 0.7163605093955994, 0.16578856110572815, -0.21413928270339966, -0.3540900647640228, 0.38345643877983093, -0.04188073053956032, 0.259244829416275, -0.723258912563324, -0.21192549169063568, 0.1560574471950531, -0.17825603485107422, -0.18727385997772217, 0.17133618891239166, -1.4227840900421143, -0.6552243232727051, -0.13083414733409882, 0.3921046555042267, -0.257172167301178, -0.3676292300224304, 0.2135981172323227, -0.5165622234344482, 0.49761873483657837, 0.45141682028770447, -1.0477670431137085, 0.15494585037231445, 0.8496401906013489, 0.70330411195755, -0.3024272322654724, 0.0013234899379312992, -1.3190737962722778, 0.34084683656692505, -0.12346203625202179, 1.0187623500823975, -1.0081058740615845, -0.5401908159255981, -0.1975628286600113, -0.12070891261100769, -0.21009255945682526, -0.26275551319122314, 0.9094319343566895, -0.7403138279914856, 0.08878901600837708, -0.5664032101631165, -0.7681945562362671, -0.3235224187374115, -0.13714514672756195, -0.5054929852485657, 0.9394036531448364, -0.3836386799812317, -0.3880908787250519, 0.7938115000724792, -0.5833352208137512, -0.38001179695129395, 0.3506196439266205, -0.4993716776371002, -0.19875383377075195, 0.4376341700553894, 0.6356226205825806, 0.38268736004829407, -0.12606346607208252, 0.1398562341928482, -0.6153224110603333, -0.005418695975095034, -0.4043709337711334, -0.43974512815475464, 0.4543479382991791, -0.16619175672531128, -0.5469686388969421, 0.08251051604747772, -1.0541890859603882, 0.04741685092449188, 0.12963028252124786, 0.026276782155036926, -0.5365453958511353, 0.5917522311210632, -0.3779081702232361, 0.3254556655883789, -0.2752097249031067, -0.4411523640155792, 0.6675328016281128, -0.2631726562976837, 0.20965074002742767, 0.9029795527458191, 0.18798650801181793, 0.32592111825942993, 0.1861019879579544, 0.6819123029708862, 0.3069410026073456, -0.3245465159416199, -0.14529183506965637, -0.6506479382514954, -0.5777053833007812, -0.34302419424057007, 0.21162645518779755, 0.5614684224128723, -0.6709676384925842, 0.5384650826454163, 0.082770437002182, -0.33585816621780396, -0.22821469604969025, -0.036864329129457474, -0.05133813992142677, 0.8402922749519348, 0.5029723048210144, -0.3086671829223633, -0.6734963655471802, -0.5371730327606201, -0.3348734974861145, -0.36526820063591003, 0.04791239649057388, 0.23254653811454773, 0.0373845100402832, 0.2923029065132141, 0.581366240978241, -0.6198998093605042, -0.18028812110424042, -0.09616867452859879, 0.5246138572692871, -0.01074975822120905, 0.3084760308265686, 0.6547297239303589, -0.5149760842323303, -0.43574467301368713, -0.08847800642251968, -0.5017656683921814, -0.4652826488018036, -0.46768781542778015, -0.1623343676328659, 0.12103523313999176, 0.40691620111465454, -0.4461745619773865, 0.7353110313415527, 0.021426068618893623, -0.6578811407089233, 0.5868130922317505, -0.02618703618645668, -0.05876561626791954, -1.0334681272506714, -0.11312369257211685, -0.1389187127351761, -0.11652159690856934, -0.5621772408485413, -0.07354464381933212, 0.008969313465058804, 0.09234669804573059, -0.08125180006027222, 0.9010516405105591, -0.5885614156723022, 0.3468734920024872, -0.5756836533546448, 0.23181413114070892, 0.3953748643398285, 0.26685595512390137, 0.37489888072013855, 0.6135130524635315, 0.8339267373085022, -0.7945587635040283, 0.4601810574531555, 0.37874263525009155, -0.027119105681777, 0.8538135290145874, -0.48020660877227783, 0.6583948731422424, -0.3200961947441101, 0.06452514976263046, -0.8126266598701477, 0.1756051629781723, 0.24785415828227997, -0.24423927068710327, 0.5833684206008911, -0.6767322421073914, 0.09437710791826248, -0.15555831789970398, -0.37305259704589844, 0.18440565466880798, 0.5374696850776672, -0.9103066325187683, 0.717229425907135, 0.3920309543609619, -0.39824944734573364, -0.4608064889907837, -0.15280961990356445, 0.4029187858104706, -0.5614842772483826, -0.550146758556366, 0.41500094532966614, 0.09230557829141617, 0.10064958035945892, -0.11362508684396744, -0.32270482182502747, -0.14847838878631592, 0.16538476943969727, 0.10430330783128738, 0.06987716257572174, -0.4723528325557709, 0.3353467583656311, 0.07734896242618561, -0.24227610230445862, -0.06864979863166809, -0.48234328627586365, 0.2873409390449524, 0.09036530554294586, -0.5185872912406921, -0.3797195255756378, 0.8561070561408997, 0.22931034862995148, -0.3801094591617584, 0.596558153629303, 0.7647647261619568, -0.45835986733436584, -0.40220630168914795, -0.6318376064300537, -0.213066965341568, -0.4609143137931824, 0.44720393419265747, -0.5816459059715271, -0.47124236822128296, 0.6361585855484009, -0.04686129465699196, 0.3486632704734802, 0.49627625942230225, 0.447497695684433, 0.00874798372387886, 1.0979435443878174, 0.14482179284095764, 0.16050955653190613, 0.6276373863220215, 0.10998371988534927, -0.004652665928006172, -0.9435100555419922, -0.19315257668495178, -0.4666435718536377, -0.39508765935897827, 0.07027071714401245, -0.5786979794502258, 0.22989428043365479, 0.6255307793617249, 0.09398780763149261, 0.04628907889127731, -0.39316409826278687, 0.36213043332099915, 0.43715110421180725, -0.24777713418006897, 0.23007245361804962, 0.0727519541978836, -0.1307111531496048, -0.2797975242137909, -0.767615795135498, -0.4660158157348633, 0.6497682332992554, -0.1514553278684616, 0.7553943395614624, 0.11518873274326324, 0.5770599842071533, 0.29594168066978455, -0.1356971114873886, -0.7315351366996765, 0.49740102887153625, -0.11380819976329803, -0.2764994204044342, 0.10208265483379364, -0.2119472622871399, -1.0839532613754272, 0.6577653288841248, -0.07220719009637833, -1.2817115783691406, 0.6616016626358032, 0.15814143419265747, -0.3824644088745117, 0.7344313263893127, -0.5925702452659607, 0.7881237268447876, -0.25416430830955505, -0.5474311709403992, -0.24054400622844696, -0.20038922131061554, -0.08242019265890121, 0.11523515731096268, -0.2607836425304413, -0.23275406658649445, -0.15229029953479767, 0.9893869161605835, -0.03149121254682541, 0.6164101958274841, -0.5534036755561829, 0.0770832896232605, 0.4200787842273712, 0.11646007746458054, 0.8529191613197327, 0.5449723601341248, -0.3290102183818817, -0.02162778191268444, -0.04820767417550087, -0.22284607589244843, -0.7366741895675659, 0.6636956930160522, -0.22605955600738525, -1.073417067527771, -0.46231284737586975, -0.015782734379172325, -0.373188316822052, 0.06429557502269745, -0.004568565636873245, 0.8083573579788208, -0.49063244462013245, 0.02216978557407856, 0.39931046962738037, -0.05463136360049248, 0.8461576104164124, 0.821712851524353, 0.300405889749527, -0.24770484864711761, 0.5499207973480225, -0.17200395464897156, -0.20410041511058807, 0.12985242903232574, 0.20156089961528778, -0.5059508681297302, -0.6534743309020996, -1.0123353004455566, -0.04385973513126373, -0.6691058278083801, -0.3858875632286072, -0.9026728272438049, 0.14681518077850342, -0.24858136475086212, -0.33516526222229004, -0.20497408509254456, -0.7268012762069702, -0.7452963590621948, -0.5781657099723816, 0.2499896138906479, 0.29920724034309387, -0.415326863527298, 0.13863874971866608, -0.8783553242683411, 0.42220818996429443, 0.510909914970398, 0.26198557019233704, -0.019641852006316185, -0.4381294548511505, 0.19187593460083008, -0.10739855468273163, -0.5968285202980042, -1.3618024587631226, 0.17670835554599762, 0.6154531240463257, 0.600917398929596, 0.6157596707344055, 0.06622370332479477, 1.0542879104614258, -0.7429534196853638, 0.8174850940704346, 0.13517867028713226, -0.880788266658783, 0.7780841588973999, -0.1792350560426712, -0.014960848726332188, 0.5325862169265747, 0.03011796995997429, -0.60556560754776, 0.05447237193584442, -0.8668989539146423, -0.9245917797088623, 0.8845707774162292, -0.22929315268993378, 0.09206376224756241, -0.26926809549331665, 0.6574755311012268, 0.31538575887680054, -0.05456600710749626, -0.4343900680541992, -0.03747698664665222, 0.07240000367164612, 0.026427753269672394, 0.3131347596645355, -0.4967697858810425, -0.05949465185403824, -0.2598499357700348, 0.7369205355644226, -0.24695131182670593, 0.28498291969299316, 0.10178162157535553, 0.08044532686471939, 0.010117408819496632, 0.4865586757659912, 0.3845852017402649, 0.661716639995575, -0.0779600590467453, 0.15469859540462494, 0.3728986084461212, -0.41879549622535706, 0.266702800989151, 0.41084522008895874, -0.18927137553691864, 0.24353836476802826, 0.14461007714271545, 1.0798795223236084, -0.05588235333561897, -0.10109204053878784, 0.2954505681991577, -0.2536733150482178, 0.04741698130965233, -0.02148493193089962, 0.21311822533607483, -0.04951107129454613, 0.12277178466320038, 0.4124167561531067, -0.23363849520683289, 0.05288052186369896, -0.09111836552619934, 0.5454921126365662, 0.6694679260253906, -0.6297303438186646, -0.7017452120780945, 1.016007423400879, 0.5459365248680115, -0.02320796065032482, 0.44819849729537964, -0.3807973861694336, -0.17757482826709747, 0.6758579611778259, 0.6318360567092896, 1.2387977838516235, -0.25280216336250305, 0.1914268136024475, 0.4612327516078949, 0.09778019040822983, 0.3229828476905823, 0.4644993245601654, 0.0018759638769552112, -0.4544823169708252, -0.3327232897281647, -0.5127367973327637, -0.07568708062171936, 0.5557306408882141, -0.8921758532524109, 0.4711112678050995, -0.1674298793077469, -0.1739431470632553, 0.32683685421943665, -0.05391695350408554, -0.5785243511199951, -0.1683982014656067, 0.4734461307525635, 1.1196027994155884, -0.8252827525138855, 0.6760868430137634, 1.1169804334640503, -0.10279197245836258, -0.5265872478485107, -0.15779639780521393, 0.08721587061882019, -0.39911094307899475, 0.22492994368076324, 0.01796138845384121, 0.027238503098487854, 0.17362602055072784, 0.12159715592861176, -0.6152300834655762, 0.7535033822059631, 0.1886942833662033, -0.38432779908180237, -0.1870361715555191, -0.3228767216205597, 0.07497262954711914, -0.2702197730541229, 0.29745766520500183, 0.25909367203712463, 0.5595235228538513, 0.20366694033145905, -0.5257256627082825, 0.1646033376455307, -0.053029853850603104, -0.18509981036186218, 0.3591659665107727, -0.4439944326877594, 0.2934304475784302, -0.02573879435658455, -0.527772068977356, -0.2541087567806244, 0.90952467918396, 0.07971862703561783, 0.4282519817352295, 0.39164119958877563, 0.6760063171386719, 0.911126434803009, -0.148182213306427, 0.7424622774124146, 0.19784574210643768, 0.1830015778541565, 1.3400062322616577, -0.6205073595046997, 0.6519619822502136, 0.36074137687683105, -0.03961595520377159, 0.4723116457462311, 0.3622610569000244, 0.13908787071704865, 0.717504620552063, -0.06969336420297623, -0.5489839911460876, -0.5654508471488953, 0.23179994523525238, -0.4688486158847809, 0.7298294305801392, 0.6806807518005371, -0.011850187554955482, -0.6930927634239197, -0.08453748375177383, 0.04454762488603592, -0.25934627652168274, -0.2963389456272125, 1.0436043739318848, 0.17973394691944122, -0.7868016958236694, 0.3541349470615387, 0.20376087725162506, 0.3192884027957916, -0.8409997224807739, -0.2626584768295288, -0.1771228164434433, 0.10056663304567337, 0.07226759195327759, -0.3539745807647705, 0.37267208099365234, 0.0783410519361496, -0.15194666385650635, 0.12127431482076645, 0.9319331645965576, -0.31111595034599304, -0.4129841923713684, 0.2066880613565445, 0.6332862973213196, -0.2814885377883911, -0.011671976186335087, -0.6985279321670532, -0.18888424336910248, -0.13675594329833984, -0.5335875153541565, 0.3837859034538269, 0.30899882316589355, -0.12465041130781174, 0.2390095591545105, 0.4365026652812958, 0.15571919083595276, 0.16506166756153107, -0.052124761044979095, 0.8302636742591858, -0.5871923565864563, -0.6955466866493225, -1.1565566062927246, 0.5240498185157776, -0.346307635307312, -0.275721937417984, 0.5592542886734009, 0.42141276597976685, 0.24407997727394104, 0.011495215818285942, 0.5868887901306152, -0.25887417793273926, 0.049133915454149246, -0.6047463417053223, 0.215519517660141, -0.45177173614501953, 0.20601379871368408, -0.13225039839744568, -0.47409045696258545, -0.20974187552928925, 0.5249994993209839, -0.11885493993759155, 0.018303614109754562, 0.47422319650650024, 0.5937466025352478, -0.5194467306137085, 0.3010588586330414, 0.26045069098472595, -0.059006281197071075, 0.7208636403083801, 0.7915990948677063, 0.7783827185630798, -0.18198750913143158, 0.1047770231962204, 0.26871997117996216, -0.3431153893470764, -0.2850918471813202, -1.3030768632888794, -0.7061446309089661, -0.6471006870269775, -0.8462334275245667, -0.11663506180047989, 0.24887573719024658, 0.6831754446029663, 0.7264048457145691, -0.9080941677093506, 0.28203457593917847, 0.04731117933988571, 0.139219269156456, -0.5443388223648071, -0.22269582748413086, 0.810861349105835, -0.5109053254127502, -0.6177986264228821, 0.9345669746398926, 0.4650614559650421, -0.159596249461174, 0.5763852596282959, 0.3829481899738312, -0.45876798033714294, 0.3501480221748352, 0.5510562062263489, 0.6115854978561401, -0.4666896462440491, -0.5783506035804749, -0.49292248487472534, 0.25140613317489624, 0.2502947449684143, 0.8556826114654541, -0.9276576042175293, 0.6573383808135986, 0.47594666481018066, 0.6776955127716064, 0.5045722126960754, 0.17680932581424713, 0.6329932808876038, -1.2186040878295898, 0.4040755033493042, 0.28073999285697937, 0.44197967648506165, -0.10310101509094238, -0.39225518703460693, 0.510873556137085, 0.34789109230041504, -0.32441946864128113, -0.7056756615638733, 0.45656242966651917, -1.1457148790359497, -0.13468758761882782, 1.2414591312408447, -0.18359749019145966, 0.17357060313224792, -0.26575034856796265, -0.3097679615020752, 0.2228645235300064, -0.2707023024559021, 0.7709748148918152, 0.6024116277694702, -0.32873085141181946, -0.1723880022764206, -0.45646440982818604, 0.7742138504981995, 0.4406338930130005, -0.8418889045715332, 0.29780104756355286, 0.6773616075515747, 0.15076135098934174, -0.24256998300552368, 0.7167916893959045, -0.03504565730690956, 0.4626515805721283, 0.023236164823174477, -0.16035331785678864, -0.48039019107818604, -0.21481770277023315, -0.6320217251777649, 0.18948107957839966, -0.10884179919958115, -0.4177476465702057 ]
http://arxiv.org/abs/2405.13319v1
http://arxiv.org/pdf/2405.13319v1
''You should probably read this'': Hedge Detection in Text
2024-05-22T03:25:35
2024-05-22T03:25:35
Denys Katerenchuk, Rivka Levitan
cs.CL
cs.CL, cs.LG
Humans express ideas, beliefs, and statements through language. The manner of expression can carry information indicating the author's degree of confidence in their statement. Understanding the certainty level of a claim is crucial in areas such as medicine, finance, engineering, and many others where errors can lead to disastrous results. In this work, we apply a joint model that leverages words and part-of-speech tags to improve hedge detection in text and achieve a new top score on the CoNLL-2010 Wikipedia corpus.
[ -0.3965924382209778, -0.8302462697029114, 0.6378202438354492, -0.3043239712715149, -0.39663997292518616, 0.13127374649047852, -0.01984499581158161, -0.9113470315933228, 0.2920442819595337, 0.29290157556533813, -0.3774566054344177, -0.8045908808708191, -0.674638569355011, -0.15746097266674042, -0.5107934474945068, 0.8714568614959717, 0.19627238810062408, -0.06594660133123398, -0.06596104055643082, 0.22221523523330688, -0.3066897392272949, -0.25895237922668457, -0.6684479713439941, -0.18720930814743042, 0.5150704979896545, 0.36635085940361023, 0.7632004022598267, 0.758004903793335, 0.30623987317085266, 0.31976965069770813, -0.10482852905988693, -0.22074425220489502, -0.22441761195659637, 0.14610379934310913, -0.40271785855293274, -0.6766120195388794, -0.2756172716617584, 0.28609585762023926, 0.4863298833370209, 0.4292040765285492, -0.25905072689056396, -0.18948930501937866, -0.20493705570697784, 0.14558634161949158, -0.5005597472190857, 0.19629956781864166, -0.6142231822013855, -0.1936938464641571, -0.5532822012901306, 0.11088559031486511, -0.30411994457244873, -0.20073702931404114, 0.21599134802818298, -0.7437568306922913, 0.04263276606798172, 0.16268233954906464, 1.084586262702942, 0.18247205018997192, -0.2658945322036743, -0.25493475794792175, -0.16079773008823395, 0.5075469017028809, -0.7001089453697205, 0.3483862280845642, 0.5587507486343384, 0.16423656046390533, -0.12761925160884857, -0.6846283674240112, -0.7730811238288879, -0.35119786858558655, -0.3167007863521576, 0.1339496523141861, -0.5459343194961548, 0.28575411438941956, 0.5121580958366394, 0.14924384653568268, -0.2005225270986557, -0.016484638676047325, 0.06026312708854675, -0.5977963209152222, 0.5271925330162048, -0.3005986511707306, 0.5643159747123718, -0.2790416181087494, -0.25876548886299133, -0.3967481851577759, -0.49330031871795654, 0.21556031703948975, 0.5443505048751831, -0.14103247225284576, 0.022014014422893524, 0.4693971872329712, -0.2006741166114807, 0.6637049317359924, 0.10868245363235474, -0.14297501742839813, 0.018576238304376602, -0.08894025534391403, -0.07163956016302109, 0.3079540431499481, 0.41778364777565, 0.58034747838974, 0.3239896595478058, -0.23672690987586975, -0.1040748879313469, 0.3000755310058594, 0.10424159467220306, -0.4032329320907593, -0.4409623146057129, 0.02625672146677971, -0.5998274683952332, -0.29877570271492004, 0.030063718557357788, -0.7338374257087708, -0.45712897181510925, 0.09988168627023697, 0.48949822783470154, -0.6314741373062134, -0.38129371404647827, 0.34158891439437866, -0.6914862394332886, 0.32070082426071167, 0.035836245864629745, -0.6552039384841919, 0.25598686933517456, 0.7551880478858948, 0.6657547354698181, 0.18078802525997162, -0.2120712250471115, -0.5842934846878052, 0.3502521216869354, -0.3839578926563263, 1.151663899421692, -0.45069044828414917, -0.5180041193962097, -0.04236479848623276, -0.11489477008581161, 0.011234953999519348, -0.11299899220466614, 0.9177617430686951, -0.403445839881897, 0.29655155539512634, -0.46878984570503235, -0.639619767665863, -0.25204601883888245, 0.24058903753757477, -0.7628782987594604, 0.6866269111633301, 0.049508918076753616, -1.3035509586334229, 0.554130494594574, -0.5819617509841919, -0.6097217202186584, 0.12019132822751999, -0.05084073171019554, -0.23402106761932373, 0.06383875012397766, -0.03613120689988136, 0.25426772236824036, -0.09172289073467255, 0.11908585578203201, -0.2261468470096588, -0.0840669497847557, 0.7335460186004639, -0.34020334482192993, 0.4507357180118561, 0.05898183956742287, -0.3449685871601105, -0.07812965661287308, -0.607860803604126, 0.11166104674339294, -0.3573267161846161, -0.23784729838371277, -0.7515656352043152, 0.4854297339916229, -0.11474454402923584, 0.028058340772986412, 0.32827913761138916, -0.924728274345398, 0.13972319662570953, -0.8301599621772766, 0.21790069341659546, 0.429358571767807, 0.09080468118190765, 0.2441990077495575, -0.4992871582508087, 0.3750407099723816, -0.15417888760566711, -0.2485235333442688, 0.03065449744462967, -0.5230600237846375, -0.7022598385810852, -0.04793066531419754, 0.6506515741348267, 0.6353144645690918, -0.4936785101890564, 0.4761330783367157, 0.1405809372663498, -0.4419521391391754, -0.5055463910102844, -0.30589303374290466, 0.306747704744339, 0.8519585728645325, 0.284829705953598, -0.14492307603359222, -0.5237278342247009, -0.9411113262176514, -0.6776099801063538, -0.34664538502693176, -0.1306779384613037, -0.12232080101966858, 0.19416294991970062, 0.05100541189312935, 1.1228383779525757, -0.6999914050102234, 0.005144360940903425, -0.248457670211792, 0.5822632908821106, 0.16294214129447937, 0.4100649654865265, 0.6113582253456116, -0.8689064383506775, -0.44437915086746216, 0.1501237004995346, -0.28974291682243347, -0.0771356001496315, 0.034072745591402054, -0.4418228268623352, -0.25688618421554565, 0.5680391192436218, -0.7258870005607605, 0.4821368455886841, 0.1666289120912552, -0.440958708524704, 0.25066062808036804, -0.24928249418735504, 0.039696887135505676, -1.1318739652633667, -0.047407664358615875, 0.4720836579799652, -0.3668888509273529, -0.39861488342285156, -0.2798495590686798, -0.08848632127046585, 0.3555596172809601, -0.03528894856572151, 0.22994624078273773, -0.1980796456336975, 0.17894361913204193, -0.2854610085487366, 0.02444601058959961, -0.1919018030166626, -0.08795688301324844, -0.008751695044338703, 0.9085504412651062, 0.7134192585945129, -0.32432883977890015, -0.03877061977982521, -0.04245539754629135, -0.5708500742912292, 0.7324531078338623, -0.5303714871406555, -0.11535028368234634, -0.26784586906433105, 0.07354079931974411, -1.1615666151046753, -0.5532433390617371, 0.1312822550535202, -0.5536542534828186, 0.586277425289154, 0.21639122068881989, -0.22250792384147644, -0.2446257472038269, -0.4537334144115448, -0.34814780950546265, 0.3995496332645416, -0.11441460996866226, 0.49796950817108154, 1.0100375413894653, 0.04568729177117348, -0.837388277053833, -0.6816785931587219, 0.30915728211402893, -0.295583575963974, -0.5112103223800659, 0.9593344926834106, 0.10877407342195511, -0.5535128712654114, 0.06026340648531914, -0.14811405539512634, -0.12303122878074646, 0.3643394708633423, 0.07624097913503647, 0.19846510887145996, -0.0470011830329895, 0.2549844980239868, 0.06700277328491211, -0.5032252669334412, 0.4740349352359772, -0.44257596135139465, 0.2896178364753723, 0.11484703421592712, -0.10308879613876343, -0.5146574378013611, 0.7081011533737183, 0.16179251670837402, -0.08497512340545654, 0.38561418652534485, 0.8660835027694702, -0.6098488569259644, -0.20518910884857178, -0.33763188123703003, -0.0051159304566681385, -0.4819379448890686, 0.34168827533721924, -0.20646058022975922, -0.785919725894928, 0.26474735140800476, -0.2898302376270294, -0.3872317373752594, 1.0697550773620605, 0.2777939736843109, -0.8108351826667786, 1.2117197513580322, 1.2203829288482666, -0.21216952800750732, 0.44186997413635254, -0.04231800511479378, 0.31697356700897217, -0.3481811285018921, -0.08200784772634506, -0.7115603685379028, -0.29148367047309875, -0.9397394061088562, -0.17633448541164398, 0.1879822462797165, 0.4800419211387634, 0.024567753076553345, 0.39080652594566345, -0.6322697997093201, 0.7531554698944092, 0.7465269565582275, 0.08997038006782532, 0.09389392286539078, -0.0453772135078907, -0.42638054490089417, -0.031071027740836143, -0.40595436096191406, -0.6752250790596008, 0.4978311061859131, 0.44104498624801636, 0.8400304913520813, 0.1958976686000824, 0.6059418320655823, 0.6410380601882935, 0.4407907724380493, -0.77280592918396, 0.5328245162963867, -0.25853845477104187, -0.5551351308822632, -0.18393006920814514, -0.004682488273829222, -0.8177676200866699, -0.20895977318286896, -0.344138503074646, -1.2488398551940918, 0.12235730141401291, 0.15459226071834564, -0.4152207672595978, 0.32450491189956665, -0.7592536807060242, 0.8997563719749451, -0.17356503009796143, 0.0886574387550354, -0.3769029974937439, -0.7106961011886597, 0.12522561848163605, 0.043405886739492416, 0.22274625301361084, -0.33918604254722595, -0.35279810428619385, 0.9723942279815674, -0.38777703046798706, 0.848145067691803, -0.1589510589838028, -0.11046694964170456, 0.5791338682174683, -0.12982314825057983, 0.5210119485855103, 0.0538935624063015, -0.12409599870443344, 0.08356191962957382, 0.13774940371513367, -0.08600357174873352, -0.1848844289779663, 0.4290621280670166, -0.6467429995536804, -0.692229151725769, -0.653633713722229, -0.49293234944343567, -0.21180708706378937, 0.07942527532577515, 0.4740949273109436, -0.06360698491334915, -0.43977731466293335, -0.147164449095726, 0.6771316528320312, 0.005720015149563551, 0.5255982279777527, 0.2698669731616974, 0.07482501119375229, -0.34315353631973267, 0.5369726419448853, 0.11268523335456848, -0.05422614887356758, 0.5155063271522522, 0.4390919804573059, -0.7875881791114807, -0.588320255279541, -0.25441601872444153, 0.24542275071144104, -0.667637288570404, -0.3255102336406708, -0.7193961143493652, -0.056235749274492264, -0.3187142610549927, -0.11406804621219635, 0.268545925617218, -0.28011560440063477, -0.32675984501838684, -0.41372111439704895, 0.7594529986381531, 1.0740201473236084, -0.4538649320602417, 0.7011599540710449, -0.5544803142547607, 0.10291613638401031, 0.5394510626792908, 0.24052222073078156, -0.2548145651817322, -0.01775781251490116, -0.3009044826030731, 0.18358950316905975, -0.16537430882453918, -1.4473623037338257, 0.3888617157936096, -0.023668531328439713, 0.8261809349060059, 0.23977144062519073, -0.07841081917285919, 0.3219750225543976, -0.3102981150150299, 0.5396916270256042, 0.32826337218284607, -1.1735934019088745, 0.5456534624099731, -0.3876122534275055, 0.04651859402656555, 0.5181140899658203, 0.6322190761566162, -0.7393943071365356, -0.12162397801876068, -0.7513320446014404, -0.40059682726860046, 0.4123464822769165, -0.16998714208602905, 0.20027883350849152, -0.21771802008152008, 0.25172561407089233, -0.1463509052991867, 0.036226555705070496, -0.6221501231193542, -0.013199377804994583, 0.06911136955022812, -0.35690292716026306, 0.1492127925157547, -0.4284783601760864, -0.12124107033014297, -0.24384963512420654, 0.4910264015197754, -0.13558374345302582, 0.33835098147392273, 0.16877664625644684, 0.01983644813299179, -0.22607602179050446, 0.35836464166641235, 0.23657594621181488, 0.6001867055892944, -0.22946599125862122, 0.32528531551361084, 0.3217390477657318, -0.7129830121994019, 0.02123168483376503, 0.3380804657936096, -0.1545027643442154, 0.26570844650268555, 0.3732953369617462, 0.3293303847312927, 0.2253710925579071, -0.4473976194858551, 0.5509454607963562, 0.05745190382003784, -0.07590354979038239, 0.06551434844732285, 0.48769211769104004, 0.41959142684936523, 0.27125662565231323, 0.2886740565299988, 0.27678030729293823, 0.3166846036911011, -0.6230557560920715, 0.6193245649337769, 0.5262553095817566, -0.42604219913482666, -0.1225382462143898, 0.602073073387146, 0.16806256771087646, -0.4594602882862091, 0.16017551720142365, -0.4925393760204315, -0.8950774669647217, 0.5652504563331604, 0.7143439650535583, 0.7036381363868713, -0.04917372018098831, 0.32733583450317383, 0.37918832898139954, 0.1258823573589325, -0.06166009604930878, 0.5736281871795654, -0.00021184298384469002, -0.7796605825424194, -0.7302936911582947, -0.5600348114967346, -0.4354056715965271, -0.16881228983402252, -0.38886430859565735, 0.40864449739456177, -0.18202754855155945, -0.528263509273529, 0.6450951099395752, 0.06041456758975983, -0.3620680868625641, 0.2165365219116211, 0.321714848279953, 1.188044786453247, -0.700951099395752, 1.16289222240448, 0.48561710119247437, -0.4401257336139679, -0.8578066825866699, 0.4520966410636902, -0.16833248734474182, -0.5655906200408936, 0.5341197848320007, 0.2850840389728546, -0.38923463225364685, 0.20958034694194794, -0.7775976061820984, -1.013237476348877, 0.8586016297340393, 0.29611578583717346, -0.6316452026367188, -0.18158118426799774, -0.3474326431751251, 0.2869238555431366, -0.34827283024787903, 0.3452737033367157, 0.55930095911026, 0.5832565426826477, 0.005111252889037132, -0.7477842569351196, -0.22712503373622894, 0.13724488019943237, -0.29842785000801086, 0.4193946421146393, -0.23875993490219116, 1.356552004814148, -0.10694291442632675, -0.4626186788082123, -0.025649283081293106, 0.7835820913314819, -0.19497841596603394, 0.407181054353714, 0.6986912488937378, 0.564590573310852, 1.2284801006317139, -0.19910071790218353, 1.100406527519226, -0.41689154505729675, 0.30084481835365295, 0.9757925868034363, 0.017752671614289284, 1.0823261737823486, -0.0031856743153184652, -0.36032992601394653, 0.8743799328804016, 0.8204225301742554, 0.25867706537246704, 0.52275550365448, 0.3574468195438385, -0.48677879571914673, -0.45713382959365845, -0.4983276128768921, -0.37675806879997253, 0.7077893614768982, 0.7899103164672852, -0.44366785883903503, -0.40102946758270264, -0.009990669786930084, 0.2530498802661896, 0.22745798528194427, -0.3454190194606781, 0.7463577389717102, -0.0925249382853508, -0.7021374106407166, -0.03320787101984024, 0.2878611385822296, 1.0462899208068848, -0.5842865705490112, -0.3134297728538513, 0.21654827892780304, -0.029760679230093956, 0.06464331597089767, -1.223113775253296, 0.4235268831253052, 0.19078920781612396, -0.1129312589764595, -0.19668559730052948, 1.3924272060394287, -0.39506280422210693, -0.34383076429367065, 0.11055205762386322, 0.48796141147613525, 0.2202243208885193, -0.053017158061265945, -0.7890810966491699, -0.4050002694129944, 0.10255006700754166, 0.15704037249088287, 0.05485841631889343, 0.5013718605041504, -0.12949377298355103, 0.2147580236196518, 0.8697541356086731, 0.10725347697734833, -0.363101989030838, -0.22969341278076172, 0.8263781666755676, -0.7733563780784607, -0.617115318775177, -0.9365321397781372, 0.20383287966251373, -0.7978581786155701, -0.34328967332839966, 0.669407844543457, 0.39542311429977417, 0.8546570539474487, 0.38428792357444763, 0.8566164374351501, -0.17038939893245697, 0.7791674137115479, -0.5417221784591675, 1.048804521560669, -0.07719934731721878, -0.2002408653497696, -0.20795567333698273, -0.46381884813308716, -0.1368561089038849, 1.116199016571045, -0.46902593970298767, -0.16150018572807312, 0.6547086238861084, 0.547051727771759, 0.16280916333198547, 0.11845874786376953, 0.33617323637008667, 0.26581960916519165, -0.10799203813076019, 0.3851558268070221, 0.9562094807624817, -0.23547421395778656, 0.3123091459274292, -0.32680827379226685, -0.01130780391395092, 0.05954461172223091, -1.1418448686599731, -0.5105701088905334, -0.42643508315086365, -0.46096178889274597, -0.650795042514801, -0.16212639212608337, 0.5304043292999268, 0.7137571573257446, -0.606815755367279, -0.11945168673992157, -0.23745094239711761, 0.35825055837631226, -0.003881636308506131, -0.14130860567092896, 0.23760777711868286, -0.1210964024066925, -0.5932542681694031, 0.14344272017478943, 0.37873873114585876, 0.39548274874687195, -0.2145622968673706, 0.08106168359518051, -0.6468583941459656, 0.254475861787796, 0.18224790692329407, 0.17658454179763794, -0.5012992024421692, -0.6102651953697205, 0.04572717845439911, -0.4257294833660126, -0.08310530334711075, 0.7528069019317627, -0.8676856756210327, 0.4748283326625824, 0.5640148520469666, 0.44026869535446167, 0.4542348384857178, 0.05026152357459068, 0.5945467948913574, -0.3554303050041199, -0.03817056864500046, 0.2437506914138794, 0.44500207901000977, 0.3600761890411377, -0.6097093820571899, 0.3732560873031616, 0.3214038610458374, -0.2717114984989166, -0.24446219205856323, 0.08010178804397583, -0.9161124229431152, -0.41579124331474304, 0.5493302345275879, -0.16657935082912445, -0.5996037125587463, -0.24651214480400085, -0.5072140693664551, 0.3940119445323944, -0.39097023010253906, 0.5749216675758362, 1.1821799278259277, -0.03918031230568886, 0.11019610613584518, -0.4952540099620819, 0.9091565012931824, 0.2329973727464676, -0.9260718822479248, -0.1742171049118042, 0.36728858947753906, 0.24165968596935272, 0.26985788345336914, 0.6473625302314758, 0.5209464430809021, 0.2662666440010071, 0.26015418767929077, -0.20144355297088623, 0.42476463317871094, 0.07356752455234528, 0.09928213804960251, 0.1842619627714157, 0.14467523992061615, -0.4846023619174957 ]
http://arxiv.org/abs/2405.13292v1
http://arxiv.org/pdf/2405.13292v1
Metadata Integration for Spam Reviews Detection on Vietnamese E-commerce Websites
2024-05-22T02:19:13
2024-05-22T02:19:13
Co Van Dinh, Son T. Luu
cs.CL
cs.CL
The problem of detecting spam reviews (opinions) has received significant attention in recent years, especially with the rapid development of e-commerce. Spam reviews are often classified based on comment content, but in some cases, it is insufficient for models to accurately determine the review label. In this work, we introduce the ViSpamReviews v2 dataset, which includes metadata of reviews with the objective of integrating supplementary attributes for spam review classification. We propose a novel approach to simultaneously integrate both textual and categorical attributes into the classification model. In our experiments, the product category proved effective when combined with deep neural network (DNN) models, while text features performed well on both DNN models and the model achieved state-of-the-art performance in the problem of detecting spam reviews on Vietnamese e-commerce websites, namely PhoBERT. Specifically, the PhoBERT model achieves the highest accuracy when combined with product description features generated from the SPhoBert model, which is the combination of PhoBERT and SentenceBERT. Using the macro-averaged F1 score, the task of classifying spam reviews achieved 87.22% (an increase of 1.64% compared to the baseline), while the task of identifying the type of spam reviews achieved an accuracy of 73.49% (an increase of 1.93% compared to the baseline).
[ -0.6535217761993408, -0.7341295480728149, 0.31700924038887024, 0.5361708402633667, -0.4769655168056488, -0.022821571677923203, 0.07496213912963867, -0.6431592702865601, 0.22629554569721222, 1.0639772415161133, -0.32606270909309387, -0.87335604429245, -0.6350601315498352, 0.14007093012332916, -0.3470264673233032, 1.4247989654541016, 0.11147551983594894, -0.043025292456150055, -0.029815515503287315, -0.23365530371665955, -0.16856899857521057, -0.5884232521057129, -0.06884366273880005, -0.0935273990035057, 0.7037277817726135, 0.28714194893836975, 0.5051217675209045, 0.08987344056367874, 0.745140790939331, 0.21802997589111328, 0.1816946417093277, 0.9329083561897278, -0.3242936432361603, 0.03273213654756546, -0.25451165437698364, -0.23987247049808502, -0.6627103090286255, 0.29346010088920593, 0.30179834365844727, 0.15962450206279755, -0.08652632683515549, 0.47354981303215027, 0.34202560782432556, 0.6550639271736145, -0.5009039044380188, 0.09965979307889938, -0.3214062452316284, 0.07810275256633759, 0.4401355981826782, -0.6096471548080444, -0.5203097462654114, -0.4548315107822418, 0.38620132207870483, -0.5426375865936279, 0.03172127157449722, -0.1141742393374443, 0.8562591671943665, 0.22554843127727509, -0.6513286828994751, -0.10892128199338913, -0.9219064712524414, 0.7421984076499939, -0.36153435707092285, 0.20184192061424255, 0.3004273474216461, 0.12800541520118713, -0.047621142119169235, -0.5484346151351929, -0.4123820662498474, -0.1498863697052002, -0.2700498700141907, 0.3534368574619293, -0.3611234724521637, -0.022117579355835915, -0.08559590578079224, 0.3400672972202301, -0.6904616355895996, 0.017423728480935097, -0.44565609097480774, -0.19035431742668152, 0.6848630905151367, 0.1941431611776352, -0.1777004450559616, -0.37994319200515747, -0.9417687654495239, -0.04710109904408455, -0.4056433141231537, -0.030551137402653694, 0.4928305745124817, 0.05790756270289421, 0.14884361624717712, 0.5880552530288696, -0.4478091299533844, 0.623386561870575, 0.12521007657051086, -0.2435273379087448, 0.4102901816368103, -0.28863781690597534, -0.4917740225791931, -0.13959260284900665, 0.9062963724136353, 0.7121080756187439, -0.029472272843122482, 0.31514260172843933, -0.39962106943130493, 0.030712740495800972, 0.5452200770378113, -0.8703297972679138, -0.22034327685832977, 0.4404298961162567, -0.7654716968536377, -0.651340663433075, 0.821819007396698, -0.5886448621749878, -0.6656049489974976, -0.27443358302116394, 0.5865119099617004, 0.03795454278588295, -0.743539571762085, 0.6142985224723816, -0.18306441605091095, 0.030208317562937737, 0.5750319361686707, 0.08692877739667892, 0.38325390219688416, 1.0494624376296997, 0.7448775768280029, -0.3457733690738678, -0.38865184783935547, -0.5159827470779419, -0.06201506406068802, -0.046030908823013306, 1.0659666061401367, -0.36811336874961853, -0.2129911184310913, 0.10222604125738144, 0.3145289123058319, 0.23465463519096375, -0.7884197235107422, 0.2544417381286621, -0.7739159464836121, 0.20231176912784576, 0.2551772892475128, -0.5207566618919373, -0.7497541308403015, 0.7987433671951294, -0.8359924554824829, 1.2900631427764893, 0.3721714913845062, -0.8090047240257263, 0.42950934171676636, -0.3208010792732239, -0.306766152381897, -0.0516086220741272, 0.6796686053276062, -0.798853874206543, 0.18258684873580933, -0.10199630260467529, 0.6479177474975586, -0.35433101654052734, 0.23481765389442444, -0.49119123816490173, -0.27315154671669006, 0.8482444882392883, -0.29903653264045715, 0.7619516253471375, 0.21733984351158142, -0.5421887040138245, 0.03458768129348755, -0.8064011931419373, -0.11925488710403442, -0.2718884348869324, -0.4103330075740814, -0.3473617136478424, -0.5293986201286316, 0.46920883655548096, 0.41439366340637207, 0.0493125282227993, -0.26030364632606506, 0.2751362919807434, -0.19098609685897827, -0.2638084292411804, 0.6476825475692749, 0.4462263882160187, 0.40845608711242676, -0.22617393732070923, 0.5213472247123718, 0.3554922044277191, 0.45809534192085266, 0.052858222275972366, -0.6364275217056274, -0.978265106678009, -0.28099146485328674, 0.2970018684864044, 0.70877605676651, -0.6565489768981934, 0.818729817867279, -0.30695074796676636, -0.6327401995658875, -0.6037265062332153, 0.19263958930969238, 0.2509452998638153, 0.2691415250301361, 0.3361737132072449, -0.5153204202651978, -0.43954652547836304, -0.8686037063598633, -0.2383362352848053, -0.5343967080116272, -0.26579028367996216, 0.3345504403114319, 0.5348459482192993, -0.3337985873222351, 0.7343144416809082, -0.4918431043624878, -0.6419671177864075, -0.2217606157064438, 0.2931167781352997, 0.18189816176891327, 0.20700109004974365, 0.28008317947387695, -1.019569754600525, -0.5455260276794434, 0.14314109086990356, -0.4459047019481659, -0.36681827902793884, 0.041530247777700424, -0.034109655767679214, 0.07482302933931351, -0.2056097388267517, -0.45175275206565857, 0.35367974638938904, 0.12284986674785614, -0.23115895688533783, 0.5125812292098999, 0.02659016288816929, 0.4388193190097809, -0.9202879071235657, -0.1929161548614502, 0.5548150539398193, -0.43099430203437805, -0.5447523593902588, -0.2781611382961273, -0.07079771161079407, 0.28510403633117676, -0.728090226650238, 0.4053739309310913, -0.17801834642887115, 0.13909344375133514, -0.6088946461677551, -0.004947918467223644, 0.5271791815757751, 0.5527673363685608, 0.5251988768577576, 0.09750984609127045, 0.2953342795372009, -0.8492408990859985, 0.824046790599823, -0.15451382100582123, -0.36685416102409363, 0.8435866832733154, -0.4224667549133301, 0.012001235038042068, 0.1336131989955902, 0.4617632329463959, -0.8636377453804016, -0.059172745794057846, 0.7116168141365051, -0.7235429286956787, 0.0892949104309082, -0.20093770325183868, -0.7991542220115662, -0.2048545479774475, -0.6851973533630371, -0.04595302417874336, 0.32822465896606445, -0.47444477677345276, 0.6690921187400818, 0.7042601108551025, 0.23586566746234894, -0.5497846007347107, -0.4701078236103058, 0.0713367760181427, -0.44133293628692627, -0.5538896322250366, 0.1503789871931076, 0.29903990030288696, -0.1044694110751152, 0.16050110757350922, 0.16165390610694885, -0.03289496526122093, 0.039418309926986694, 0.048264581710100174, 0.14438912272453308, -0.275691956281662, 0.09273713827133179, -0.2956628203392029, -0.3057008385658264, 0.08029695600271225, -0.628827691078186, 0.207193061709404, -0.1424759179353714, -0.024816647171974182, -0.6678935885429382, 0.3278181850910187, 0.6137372851371765, -0.27268317341804504, 0.6246067881584167, 0.8597432971000671, -0.2815020680427551, -0.6128981113433838, -0.7774197459220886, -0.41060712933540344, -0.3585064113140106, 0.5117447972297668, -0.0744929164648056, -0.6982887983322144, -0.042603500187397, 0.02276533469557762, -0.2586861550807953, 0.3308517634868622, 0.6346864700317383, -0.10511907190084457, 1.19597327709198, 0.9555690884590149, -0.02223123610019684, 0.32911330461502075, -0.34846872091293335, 0.22510504722595215, -0.6611955761909485, -0.49310117959976196, -0.29302912950515747, -0.3638269603252411, -0.8209471702575684, -0.6777211427688599, 0.20647960901260376, -0.38260605931282043, -0.18658871948719025, 0.22762329876422882, -0.8330762982368469, 0.1473827362060547, 0.6405074000358582, 0.39810895919799805, 0.2901928126811981, 0.4592404365539551, 0.34171876311302185, 0.09114295989274979, -0.5308120250701904, -0.5535725951194763, 0.986807107925415, 0.4729311168193817, 0.7350250482559204, -0.0673242136836052, 0.35605475306510925, 0.5800539255142212, 0.632206916809082, -0.8663313388824463, 0.5832257270812988, -0.11118922382593155, -0.3985685706138611, 0.15227514505386353, -0.11948179453611374, -0.5215698480606079, 0.39855948090553284, -0.1322825849056244, -0.48370161652565, 0.32010674476623535, -0.23495663702487946, -0.32844945788383484, 0.21802069246768951, -0.325290322303772, 0.6590986847877502, -0.29661160707473755, -0.6142110228538513, -0.1753385365009308, -0.5751764178276062, 0.4257098436355591, 0.11243869364261627, 0.03588486090302467, -0.1379479467868805, -0.29325026273727417, 0.634783148765564, -0.5631950497627258, 0.8414134383201599, -0.16694803535938263, -0.12995848059654236, 0.6207704544067383, 0.022337479516863823, 0.3359689712524414, 0.2467319369316101, 0.4411190152168274, 0.2278793752193451, -0.4167776107788086, 0.006710912566632032, -0.6638833284378052, 0.592014729976654, -0.6962926983833313, -0.5473321676254272, -0.7495799660682678, -0.1602107584476471, -0.19341568648815155, -0.012386045418679714, -0.07679267972707748, -0.12328483909368515, -0.01429317332804203, 0.27847930788993835, 0.9595825672149658, -0.23154711723327637, -0.2461506575345993, 0.9060426950454712, -0.37422436475753784, -0.7795131802558899, 1.1655422449111938, 0.027594130486249924, -0.08796650916337967, 0.40487784147262573, 0.21304522454738617, -0.3178672194480896, -0.2338331639766693, -0.34244000911712646, 0.24172917008399963, -0.7371180057525635, -0.5688748955726624, -1.1499080657958984, -0.3679336905479431, -0.16986994445323944, 0.46306222677230835, -0.18254534900188446, -0.25277596712112427, -0.3058740794658661, -0.33736467361450195, 0.47044000029563904, 0.8545453548431396, -0.040899742394685745, 0.35768499970436096, -1.0885530710220337, 0.33115512132644653, 0.1553085893392563, 0.33166179060935974, -0.01457124948501587, -0.5758872032165527, -0.5227447748184204, -0.10957663506269455, -0.30289021134376526, -1.1437259912490845, 0.3459065556526184, -0.185416579246521, 0.1918262541294098, 0.5441294312477112, -0.07145412266254425, 0.40289318561553955, 0.09290827810764313, 0.7512761950492859, -0.1008279100060463, -0.48362839221954346, 0.44384413957595825, -0.09688987582921982, -0.060920752584934235, 0.21350035071372986, 0.5352213382720947, -0.5061654448509216, -0.4713612496852875, -0.40600085258483887, -0.6899473667144775, 0.7627382874488831, 0.14111405611038208, -0.07293975353240967, 0.20962625741958618, 0.005790582858026028, 0.42594820261001587, 0.45413103699684143, -0.8617218732833862, -0.15379223227500916, -0.08914457261562347, 0.06365834176540375, 0.1060488298535347, -0.5514952540397644, 0.11733221262693405, -0.17110419273376465, 1.0234172344207764, 0.15102224051952362, -0.10942381620407104, 0.16973547637462616, -0.5191001892089844, 0.2698241174221039, 0.0938357263803482, 0.30536264181137085, 0.3865870535373688, -0.06269232928752899, 0.27065202593803406, -0.22917863726615906, -0.5953355431556702, 0.2603828012943268, 0.062177278101444244, -0.2479303926229477, 0.3839925229549408, 0.0786575898528099, 0.43829259276390076, 0.08139917254447937, -0.30316784977912903, 0.636429488658905, -0.1297275722026825, -0.09700224548578262, -0.14351436495780945, -0.17135803401470184, -0.22599902749061584, 0.3529275357723236, 0.33550789952278137, 0.0040992312133312225, 0.7156877517700195, -0.2300713062286377, 0.30938100814819336, 0.1326633244752884, -0.6144938468933105, -0.3533571660518646, 0.22320832312107086, 0.3474992513656616, -0.1220032349228859, 0.3525453507900238, 0.009915895760059357, -0.8973908424377441, 0.7034256458282471, 0.23586337268352509, 1.3481742143630981, -0.34824591875076294, 0.5421176552772522, 0.3909224569797516, 0.5747460126876831, -0.0486573800444603, 0.17508983612060547, -0.3382798135280609, -0.5410575270652771, 0.08310884982347488, -0.8216707110404968, -0.3446701169013977, 0.23021577298641205, -0.5379142761230469, 0.6625593304634094, -0.23713377118110657, -0.35218578577041626, 0.0037895087152719498, 0.17054787278175354, -0.6046614646911621, 0.4906921982765198, 0.18083779513835907, 0.5734652876853943, -0.8675586581230164, 0.5726536512374878, 0.57154381275177, -0.47266000509262085, -0.42390307784080505, -0.1861216127872467, 0.22427770495414734, -0.13977962732315063, 0.6269544363021851, 0.7487941980361938, -0.5430229902267456, -0.3914957344532013, -0.25639230012893677, -0.2846943140029907, 0.6012079119682312, -0.10364238917827606, -0.24732811748981476, 0.6181078553199768, 0.45550593733787537, 0.7348031997680664, -0.582509458065033, 0.16526204347610474, 0.5381268858909607, 0.5531105995178223, -0.1344093531370163, -0.7364199161529541, -0.12949441373348236, -0.6012189984321594, -0.08265910297632217, -0.03982434421777725, -0.6912142634391785, 0.6074936985969543, 0.2741875648498535, -0.11279959231615067, -0.1099102720618248, 0.5939878225326538, 0.15574249625205994, 0.49796125292778015, 0.5678914785385132, 0.44531750679016113, 0.5274466276168823, 0.010629147291183472, 0.8348829746246338, -0.10805243998765945, 0.5488621592521667, 0.913246750831604, -0.3656744360923767, 0.7636505365371704, 0.3086997866630554, -0.14562661945819855, 0.5315828919410706, 1.1064810752868652, -0.4100560247898102, 0.3986540734767914, 0.29911527037620544, -0.4960264265537262, -0.15895026922225952, -0.26366275548934937, -0.37820321321487427, 0.44418248534202576, 0.4020020663738251, -0.4255376160144806, 0.2077697217464447, 0.16704462468624115, -0.01416248269379139, -0.21228083968162537, -0.4602448344230652, 1.1844455003738403, 0.06353132426738739, -0.7865121364593506, 0.3345412313938141, 0.19379031658172607, 0.8881375193595886, -0.35707688331604004, -0.2649126350879669, -0.06835418939590454, 0.43743813037872314, -0.509946882724762, -0.9119290709495544, 0.18826046586036682, 0.21220345795154572, -0.2755272686481476, -0.29194554686546326, 1.0533748865127563, -0.5492885708808899, -0.8068281412124634, 0.39543285965919495, 0.5599532723426819, 0.11690137535333633, -0.31983482837677, -0.6937143802642822, -0.09983030706644058, -0.44827935099601746, -0.4730899930000305, -0.003936710301786661, 0.4851197302341461, -0.08172857761383057, 0.28329673409461975, 0.641224205493927, -0.014732202515006065, -0.0979829952120781, 0.0805518850684166, 0.8098950386047363, -0.4580780267715454, -0.8742327094078064, -0.9370993375778198, 0.6135845184326172, -0.5807767510414124, -0.0657087117433548, 0.8696908950805664, 0.9359790682792664, 0.8877078890800476, -0.3109268248081207, 0.817248523235321, 0.4715012311935425, 0.519238293170929, -0.24379776418209076, 0.8470336198806763, -0.7129536867141724, 0.4156230092048645, -0.24999597668647766, -1.2319148778915405, -0.5235016345977783, 0.4766848683357239, 0.011606541462242603, 0.022550899535417557, 0.6768587231636047, 0.9094642400741577, -0.18103425204753876, -0.30813679099082947, 0.1914309710264206, 0.18161867558956146, 0.13238923251628876, 0.4142470955848694, 1.087636947631836, -0.4613747000694275, 0.5478143095970154, -0.3781040906906128, -0.20470531284809113, -0.6991513967514038, -0.5914883613586426, -1.0654137134552002, -0.38142889738082886, -0.517433226108551, -0.9806877374649048, -0.07921130955219269, 0.7035114169120789, 0.6079764366149902, -0.7946707010269165, -0.33174461126327515, 0.5405653119087219, 0.3632110357284546, -0.35016125440597534, -0.28449583053588867, 0.28111040592193604, 0.09258556365966797, -0.7770676016807556, -0.24397782981395721, 0.9188403487205505, -0.17953766882419586, -0.6733503937721252, 0.008205623365938663, -0.07533778995275497, 0.19719938933849335, 0.6451854705810547, -0.262111097574234, -0.7938591837882996, -0.07282008230686188, 0.3552013635635376, -0.2723519206047058, 0.22416426241397858, 0.9748539328575134, -0.8166800737380981, 0.6106328368186951, 0.5864516496658325, 0.4463859796524048, 0.45949068665504456, -0.06564371287822723, 0.3663128912448883, -0.47119665145874023, 0.2104448676109314, 0.4560600519180298, 0.12857875227928162, 0.4450095295906067, -0.38920608162879944, 0.33480313420295715, 0.1921156644821167, -0.28873172402381897, -0.8890445828437805, 0.06558432430028915, -0.9517536759376526, -0.06179260462522507, 1.216587781906128, -0.19126036763191223, -0.5275043845176697, -0.25420692563056946, -0.4384767711162567, -0.07746223360300064, -0.30731916427612305, 0.967411458492279, 0.759555459022522, 0.07658825069665909, -0.17662326991558075, -0.22854141891002655, 0.3366309106349945, -0.05388566106557846, -0.8625637292861938, -0.22658002376556396, 0.6017102599143982, 0.39927977323532104, -0.03401578590273857, 0.4875422418117523, -0.0630759596824646, 0.8785979747772217, -0.3773980438709259, -0.27866384387016296, -0.12873432040214539, -0.5463854670524597, -0.38460806012153625, 0.44440340995788574, -0.3180401027202606, -0.19180616736412048 ]
http://arxiv.org/abs/2406.00014v2
http://arxiv.org/pdf/2406.00014v2
KU-DMIS at EHRSQL 2024:Generating SQL query via question templatization in EHR
2024-05-22T02:15:57
2024-06-19T16:21:46
Hajung Kim, Chanhwi Kim, Hoonick Lee, Kyochul Jang, Jiwoo Lee, Kyungjae Lee, Gangwoo Kim, Jaewoo Kang
cs.DB
cs.DB, cs.AI, cs.CL, cs.IR
Transforming natural language questions into SQL queries is crucial for precise data retrieval from electronic health record (EHR) databases. A significant challenge in this process is detecting and rejecting unanswerable questions that request information beyond the database's scope or exceed the system's capabilities. In this paper, we introduce a novel text-to-SQL framework that robustly handles out-of-domain questions and verifies the generated queries with query execution.Our framework begins by standardizing the structure of questions into a templated format. We use a powerful large language model (LLM), fine-tuned GPT-3.5 with detailed prompts involving the table schemas of the EHR database system. Our experimental results demonstrate the effectiveness of our framework on the EHRSQL-2024 benchmark benchmark, a shared task in the ClinicalNLP workshop. Although a straightforward fine-tuning of GPT shows promising results on the development set, it struggled with the out-of-domain questions in the test set. With our framework, we improve our system's adaptability and achieve competitive performances in the official leaderboard of the EHRSQL-2024 challenge.
[ -0.3169749081134796, -1.1680173873901367, 0.8096945285797119, -0.40833044052124023, -0.37089771032333374, -0.10645849257707596, 0.029256293550133705, -0.2720194160938263, 0.0431831069290638, 0.8924006819725037, -0.4577842950820923, -0.7322837114334106, -0.15133169293403625, 0.14808641374111176, -0.22193600237369537, 0.9828736186027527, -0.11707001179456711, -0.14682526886463165, -0.5033305883407593, -0.31462427973747253, -0.2781131863594055, -0.8943179845809937, -0.3263579308986664, -0.2480805218219757, 0.07334703952074051, 0.5041980743408203, 0.4644656181335449, 0.3670809864997864, 0.6235030293464661, 0.1462278664112091, 0.03241827338933945, 0.2953399419784546, -0.20770585536956787, 0.5375517010688782, -0.010302092880010605, -0.38961854577064514, -0.5600336790084839, -0.845628023147583, 0.6015457510948181, 0.5221801400184631, -0.5980405211448669, 0.13940933346748352, -0.10201460123062134, 1.0753154754638672, -0.3939463198184967, 0.05269714444875717, -0.8703646659851074, -0.009013822302222252, -0.5640337467193604, -0.37357303500175476, -0.49654683470726013, -0.36468368768692017, -0.06696117669343948, -0.17952439188957214, 0.24571067094802856, 0.2975221574306488, 0.9707094430923462, 0.3200635313987732, -0.7292359471321106, -0.16419652104377747, -0.7541371583938599, 0.20023703575134277, -0.690609872341156, 0.6950130462646484, 0.5427313446998596, 0.6514192223548889, -0.28521740436553955, -0.8018119931221008, -0.4607713520526886, 0.10774141550064087, -0.17313270270824432, -0.043639276176691055, -0.047564584761857986, -0.002538179513067007, 0.11569622904062271, 0.21270640194416046, -0.8780128955841064, -0.14491160213947296, -0.11042533814907074, 0.1556147187948227, 0.5485731363296509, 0.44384971261024475, 0.2699184715747833, -0.2350577563047409, 0.00473554665222764, 0.16312645375728607, -0.7795971632003784, -0.21762876212596893, -0.26505908370018005, 0.18636026978492737, 0.1351732611656189, 0.74760502576828, -0.3289492428302765, 0.6830441355705261, 0.28604546189308167, 0.3714033365249634, 0.10207973420619965, -0.25452256202697754, -0.2028277963399887, 0.19931134581565857, 0.5969964861869812, 0.3448542654514313, -0.2867237329483032, -0.3650103211402893, -0.23796774446964264, -0.2779391407966614, 0.3574351966381073, -0.8149522542953491, -0.29188063740730286, 0.6847554445266724, -0.23681935667991638, 0.02991807647049427, -0.013494845479726791, -0.9510309100151062, -0.3495751917362213, 0.007813028059899807, 0.3564789891242981, -0.5584501028060913, -0.16875456273555756, 0.1762704700231552, 0.18449650704860687, 0.22929418087005615, 0.012441983446478844, -0.8622832298278809, 0.6755189299583435, 0.5309264063835144, 0.3585149943828583, -0.3133337199687958, 0.21277566254138947, -0.5726789236068726, 0.3306252658367157, -0.29845479130744934, 0.7952914237976074, -0.1710207164287567, -0.4706137180328369, -0.007275454234331846, 0.05586743354797363, -0.26327160000801086, -0.8041380047798157, 0.3974565267562866, -0.908277153968811, 0.40317821502685547, -0.385809063911438, -0.8418814539909363, 0.2309415191411972, 0.6313242316246033, -0.4748343527317047, 1.180634617805481, 0.23394154012203217, -0.6372673511505127, 0.414846271276474, -0.7653617858886719, -0.24387554824352264, 0.5270126461982727, -0.3407917618751526, -0.7796264886856079, -0.1417456865310669, 0.28057587146759033, 0.24780645966529846, -0.4602236747741699, 0.21317410469055176, -0.015331360511481762, -0.12187302112579346, 0.0958547368645668, 0.10757621377706528, 0.3329922556877136, 0.12280555814504623, -0.2947376072406769, -0.039526570588350296, -0.7505092024803162, 0.6855852603912354, 0.27802297472953796, -0.39941325783729553, -0.28602150082588196, 0.15379966795444489, -0.13738581538200378, 0.02792380005121231, -0.057615023106336594, -0.39313578605651855, -0.29958805441856384, -0.6636337637901306, 0.3466092348098755, 0.17579735815525055, 0.5303810834884644, 0.29511627554893494, -0.33365049958229065, 0.6242155432701111, -0.08838221430778503, 0.14247643947601318, 0.06853113323450089, -0.444265753030777, -0.4953077435493469, -0.04507193714380264, 0.0849756971001625, 0.4680125117301941, -0.9674942493438721, 0.7464801073074341, -0.1971040517091751, -0.5798659324645996, -0.3635362386703491, -0.32829660177230835, 0.16820883750915527, 0.8844290375709534, 0.7626535892486572, -0.05158686265349388, -0.31508561968803406, -0.6250864863395691, -0.37849268317222595, -0.3032446801662445, -0.13694867491722107, 0.3160248100757599, 0.5600524544715881, -0.09051989763975143, 0.8538699746131897, -0.5814156532287598, -0.3350309133529663, -0.1704050600528717, -0.10530547797679901, 0.22880764305591583, 0.3947276771068573, 0.26718756556510925, -0.8703747987747192, -0.6771678328514099, 0.21479903161525726, -0.894534707069397, 0.09578629583120346, 0.3803083300590515, -0.27441734075546265, 0.2545602023601532, 0.6212428212165833, -0.6692941188812256, 0.2993849515914917, 0.026704173535108566, -0.4970370829105377, 0.40796881914138794, -0.37478479743003845, 0.4209415316581726, -0.9669938683509827, 0.24764680862426758, -0.26968786120414734, -0.08106972277164459, -0.7185350656509399, 0.15873819589614868, 0.28649547696113586, -0.2517763674259186, -0.32151246070861816, 0.19874079525470734, -0.3469955325126648, 0.1990938037633896, 0.2413155734539032, -0.21882107853889465, 0.32006919384002686, 0.14370828866958618, -0.064121313393116, 0.41377854347229004, 0.29015660285949707, -0.5594720244407654, 0.39810675382614136, 0.6580566763877869, -0.3424309492111206, 0.9780234098434448, -0.7874370813369751, 0.4362037181854248, -0.3400711715221405, 0.171035036444664, -0.6537426710128784, -0.4003581404685974, 0.1696673482656479, -0.26296910643577576, 0.25342482328414917, -0.3080068528652191, -0.6678098440170288, -0.4466732442378998, -0.04790634661912918, 0.3701219856739044, 0.6016013026237488, -0.3067861795425415, 0.6831697821617126, 0.47340109944343567, -0.35710567235946655, -0.0845731869339943, -0.6185207366943359, 0.048541102558374405, -0.3960490822792053, -0.6098490357398987, 0.7475900053977966, -0.0643855407834053, -0.287850946187973, 0.05577204003930092, 0.08936315774917603, -0.5377696752548218, -0.4184548854827881, -0.13138921558856964, 0.3690052032470703, -0.5046202540397644, 0.3209531009197235, 0.36426404118537903, 0.2847406268119812, 0.3594733774662018, -0.24790406227111816, 0.43083471059799194, -0.07203914225101471, -0.7915267944335938, -0.30695661902427673, 0.5452019572257996, 0.5040720701217651, -0.4421115219593048, 0.5255141258239746, -0.023095404729247093, -0.5733842253684998, -0.10593972355127335, -0.5661898851394653, -0.37172314524650574, -0.4368685781955719, 0.5706197023391724, -0.3274857997894287, -0.8403049111366272, 0.3018629848957062, -0.0186301376670599, 0.045362070202827454, 0.39965319633483887, 0.5520980358123779, -0.005719703156501055, 1.0076707601547241, 0.25914937257766724, 0.5278258323669434, -0.12573547661304474, 0.31516033411026, 0.06474121659994125, -0.6163695454597473, -0.6807641983032227, -0.6940035223960876, 0.3391752243041992, -0.5151001811027527, -0.4398447275161743, 0.9013391137123108, -0.293597549200058, -0.283601850271225, 0.1284957230091095, -0.6543735861778259, 0.5082064867019653, -0.02480572648346424, 0.41307199001312256, 0.3902800977230072, -0.08201874047517776, -0.13815195858478546, -0.3543652892112732, -0.534860372543335, -0.3639269471168518, 1.016538381576538, 0.06262236833572388, 0.37183189392089844, 0.3367447555065155, 0.7460247874259949, 0.1726793497800827, 0.10371987521648407, -0.39957213401794434, 0.510214626789093, 0.015526052564382553, -0.8683246970176697, -0.4703405499458313, -0.45540353655815125, -0.8958662748336792, 0.364608496427536, -0.22073522210121155, -0.5901924967765808, -0.07072527706623077, 0.17685678601264954, -0.4160545766353607, 0.4273889660835266, -0.6036856770515442, 0.9105611443519592, -0.24731911718845367, -0.3327617049217224, 0.2626137435436249, -0.7624699473381042, 0.041467200964689255, -0.35256481170654297, 0.1911422610282898, -0.1426696479320526, 0.051798898726701736, 0.46917176246643066, -0.5242811441421509, 0.33376070857048035, -0.1631123274564743, -0.03819221258163452, 0.2975236475467682, 0.11524259299039841, 0.45879074931144714, 0.2493256777524948, -0.39308685064315796, -0.22164276242256165, 0.5737047791481018, -0.3549644947052002, -0.5611481666564941, 0.4655475318431854, -0.15920250117778778, -0.5143800377845764, -0.3561716079711914, -0.3194117546081543, -0.6724867820739746, 0.5219721794128418, 0.2771158814430237, 0.55921870470047, -0.4986896216869354, 0.07431600242853165, 0.815351665019989, -0.35384705662727356, -0.1598292589187622, 0.7128706574440002, -0.13150912523269653, -0.1356368511915207, 0.5181199312210083, 0.04152490198612213, 0.1974964588880539, 0.6805597543716431, 0.0613938644528389, -0.7334953546524048, -0.6079480051994324, -0.6976329684257507, 0.2290031462907791, -0.6899073719978333, -0.2511872947216034, -0.6504296064376831, -0.15210992097854614, -0.4892379343509674, 0.1784326732158661, -0.2786771357059479, -0.1214066669344902, -0.15791508555412292, -0.0009740780806168914, 0.41266560554504395, 0.6335912346839905, 0.4976940155029297, -0.15119634568691254, -1.0626152753829956, 0.17037087678909302, 0.21297915279865265, 0.34388792514801025, -0.41574180126190186, -0.5796202421188354, 0.028168627992272377, -0.175571009516716, -0.2356307953596115, -0.8199241757392883, 0.37615618109703064, 0.3634764552116394, 0.29964205622673035, -0.0871424525976181, 0.5574568510055542, 0.4585525691509247, -0.8631499409675598, 0.673032820224762, -0.0862158015370369, -0.6768461465835571, 0.7758159637451172, -0.41935181617736816, 0.37873703241348267, 0.8238639235496521, 0.29581061005592346, -0.2817453145980835, -0.1914074569940567, -0.5562335848808289, -0.9985141158103943, 0.3636311888694763, 0.18764600157737732, -0.001344905118457973, -0.15449295938014984, 0.6494896411895752, 0.06180606409907341, 0.21486960351467133, -0.0849875956773758, -0.3310844600200653, 0.06353126466274261, -0.1677362322807312, 0.30091702938079834, -0.22133000195026398, -0.10242783278226852, -0.3146279752254486, 0.4997257888317108, -0.1674218475818634, 0.3431936502456665, 0.21313610672950745, 0.10952943563461304, -0.38075974583625793, 0.6752462983131409, 0.07041699439287186, 0.6255491375923157, -0.531677782535553, 0.14043699204921722, 0.3898724615573883, -0.3040035665035248, -0.07737821340560913, 0.460414320230484, -0.20375469326972961, 0.15885326266288757, -0.1876233071088791, 0.3773769438266754, -0.07597412168979645, -0.6215524077415466, 0.2646854817867279, -0.3060055375099182, -0.37408900260925293, -0.10717759281396866, -0.23951326310634613, 0.08549191057682037, -0.17490550875663757, 0.24411319196224213, -0.2773047983646393, 0.1796504110097885, -0.21334253251552582, 0.6021198630332947, 0.2768181562423706, -0.687109112739563, -0.25472328066825867, 0.9713993668556213, -0.04233824089169502, -0.1019362285733223, 0.6680856347084045, -0.05564015731215477, -0.36500468850135803, 0.4156127870082855, 0.6048976182937622, 0.3010306656360626, -0.27061864733695984, 0.21677668392658234, 0.253590852022171, 0.05228354409337044, -0.01088839489966631, 0.790008544921875, 0.18517330288887024, -0.510478138923645, -0.18756383657455444, -0.19316700100898743, -0.604729413986206, 0.04777342081069946, -0.9652933478355408, 0.313760370016098, -0.19198821485042572, -0.29279109835624695, 0.018460607156157494, -0.38525325059890747, -0.46858978271484375, 0.3337145149707794, -0.3430022597312927, 0.5860587358474731, -0.3902588188648224, 0.8259196877479553, 0.9999698400497437, -0.2070545107126236, -0.6809810996055603, -0.04685741290450096, -0.0719391256570816, -0.6078444123268127, 0.2330455631017685, -0.15272553265094757, 0.2987094521522522, 0.22357076406478882, -0.2657790780067444, -0.44374293088912964, 1.0154221057891846, 0.3770652711391449, -0.3062843978404999, -0.2145431488752365, 0.6199761629104614, 0.5875352025032043, 0.09154956787824631, -0.10875158756971359, 0.7955703735351562, 0.33633702993392944, 0.05231531709432602, -0.8932760953903198, 0.3743000030517578, -0.18926268815994263, -0.3139131963253021, 0.7555732727050781, -0.1805115044116974, 0.5364522337913513, -0.24918235838413239, -0.11281968653202057, 0.05437803640961647, 0.523996889591217, 0.37820157408714294, 0.49435728788375854, 0.29790717363357544, 0.4308866262435913, 0.8106598258018494, -0.22111840546131134, 0.9987795352935791, -0.20351135730743408, 0.23770564794540405, 1.0064488649368286, -0.7937512397766113, 0.7505055665969849, 0.6787082552909851, -0.362796813249588, 0.4185158610343933, 0.29990002512931824, 0.2602618336677551, 0.6205958127975464, 0.2358156144618988, -0.39810410141944885, -0.16182710230350494, -0.3025471270084381, -0.7916436195373535, 0.09284202754497528, 0.47163456678390503, -0.04752612113952637, -0.23889926075935364, -0.24742598831653595, 0.0428570993244648, 0.3396781086921692, 0.14620329439640045, 0.8893559575080872, 0.20929376780986786, -0.6428242325782776, 0.5588155388832092, -0.03449247404932976, 0.1689978837966919, -0.6452733278274536, -0.019845055416226387, -0.13482791185379028, 0.299515962600708, -0.11406821757555008, -0.6646913886070251, 0.5421350598335266, -0.08043279498815536, 0.0978422537446022, -0.019918717443943024, 0.7912592887878418, -0.4548271894454956, -0.14956802129745483, -0.1478048712015152, 0.7435396909713745, 0.050540823489427567, -0.28647318482398987, -0.7895335555076599, -0.1738516390323639, -0.198449969291687, -0.05860160291194916, 0.5107167363166809, 0.9240019917488098, 0.015839828178286552, 0.307718962430954, 0.43075689673423767, 0.2307419776916504, -0.27017584443092346, 0.06744524091482162, 0.8568474650382996, -0.3693119287490845, -0.5006048679351807, -0.7164067625999451, 0.3664885461330414, -0.0541287362575531, -0.24501003324985504, 0.5607074499130249, 0.6117644309997559, 0.3828389346599579, -0.004710576497018337, 0.5760639905929565, -0.22060973942279816, 0.8402686715126038, -0.5482988357543945, 0.9083390831947327, -0.5764369368553162, 0.2525627017021179, -0.20475251972675323, -0.4624674320220947, -0.5134233236312866, 0.01362672634422779, -0.1703341156244278, -0.031893305480480194, 0.9350362420082092, 0.7540339827537537, 0.3386306166648865, 0.045064713805913925, 0.4102497100830078, -0.13852964341640472, 0.5600519776344299, 0.37722110748291016, 0.554648220539093, -0.6129889488220215, 0.5799915790557861, -0.22495810687541962, -0.00859882403165102, 0.014208332635462284, -0.7296753525733948, -0.7377640604972839, -0.5477612614631653, -0.4218710958957672, -0.727415144443512, 0.3301980793476105, 0.8639192581176758, 0.6311375498771667, -0.9691295623779297, 0.056292347609996796, -0.06539639830589294, -0.0942312479019165, -0.13896912336349487, -0.2413254976272583, 0.7101894021034241, -0.005507584661245346, -0.1986798793077469, 0.3608953356742859, 0.3071517050266266, 0.036667436361312866, 0.27704954147338867, 0.07882726192474365, -0.029613759368658066, -0.06865231692790985, 0.5279409885406494, 0.30498525500297546, -0.18561773002147675, 0.03873361647129059, 0.3726978302001953, -0.06683745235204697, 0.10300890356302261, 0.6687749624252319, -0.4512527287006378, 0.440626323223114, 0.33460450172424316, 0.7055269479751587, 0.5032587051391602, 0.12222226709127426, 0.4234538972377777, -0.7789896726608276, -0.3216722011566162, 0.7136989235877991, 0.078823022544384, 0.40108364820480347, -0.6503171920776367, 0.2728046178817749, 0.05385306477546692, -0.787935197353363, -0.8372498154640198, 0.2246159464120865, -0.6087433099746704, -0.00766987819224596, 1.0527602434158325, 0.22358183562755585, -0.03927098959684372, -0.7584709525108337, -0.012146822176873684, -0.01843571662902832, -0.29828914999961853, 0.7796962857246399, 0.3075534403324127, -0.4734809696674347, -0.0484086349606514, -0.6871002316474915, 0.6116390824317932, 0.6006987690925598, -1.3115699291229248, 0.052262917160987854, 0.3735377788543701, 0.2529815137386322, -0.410766065120697, 1.0143377780914307, -0.7369509935379028, 0.27471521496772766, -0.4816751480102539, -0.12182629853487015, 0.2491052746772766, 0.30160972476005554, 0.05047553777694702, 0.30155548453330994, 0.22522562742233276, -0.05402051657438278 ]
http://arxiv.org/abs/2405.13274v1
http://arxiv.org/pdf/2405.13274v1
DiffNorm: Self-Supervised Normalization for Non-autoregressive Speech-to-speech Translation
2024-05-22T01:10:39
2024-05-22T01:10:39
Weiting Tan, Jingyu Zhang, Lingfeng Shen, Daniel Khashabi, Philipp Koehn
cs.CL
cs.CL
Non-autoregressive Transformers (NATs) are recently applied in direct speech-to-speech translation systems, which convert speech across different languages without intermediate text data. Although NATs generate high-quality outputs and offer faster inference than autoregressive models, they tend to produce incoherent and repetitive results due to complex data distribution (e.g., acoustic and linguistic variations in speech). In this work, we introduce DiffNorm, a diffusion-based normalization strategy that simplifies data distributions for training NAT models. After training with a self-supervised noise estimation objective, DiffNorm constructs normalized target data by denoising synthetically corrupted speech features. Additionally, we propose to regularize NATs with classifier-free guidance, improving model robustness and translation quality by randomly dropping out source information during training. Our strategies result in a notable improvement of about +7 ASR-BLEU for English-Spanish (En-Es) and +2 ASR-BLEU for English-French (En-Fr) translations on the CVSS benchmark, while attaining over 14x speedup for En-Es and 5x speedup for En-Fr translations compared to autoregressive baselines.
[ -0.5876947045326233, -0.5468836426734924, -0.15476645529270172, 0.6523512005805969, -0.4021921157836914, -0.16409078240394592, -0.35761600732803345, 0.02704653888940811, 0.17921680212020874, 0.33735010027885437, -0.4788860082626343, -0.47931134700775146, -0.9201477766036987, 0.31600821018218994, -0.8258771896362305, 0.8560583591461182, 0.10876132547855377, 0.15248356759548187, 0.21188358962535858, -0.02147381380200386, -0.16762076318264008, -0.05603358522057533, -0.6658766269683838, -0.1604917198419571, 0.23192378878593445, 0.19432421028614044, 0.6554012298583984, 0.6662435531616211, 0.3556863069534302, 0.31518885493278503, -0.1914505511522293, 0.1233854666352272, -0.5729518532752991, 0.27929621934890747, -0.2098507434129715, -0.3494728207588196, -0.3258976340293884, 0.1543823480606079, 0.8259767889976501, 0.7023404240608215, -0.45873743295669556, 0.16409172117710114, 0.0066400691866874695, 0.8598218560218811, -0.35992538928985596, 0.2047235369682312, -0.4760661721229553, 0.17669354379177094, -0.1274423748254776, -0.03340078145265579, -0.2139507234096527, -0.3887026906013489, -0.05110112577676773, -0.31113025546073914, 0.583227276802063, -0.20762485265731812, 0.48684951663017273, 0.8407445549964905, -0.42168277502059937, -0.06949873268604279, -1.0774121284484863, 0.9408727288246155, -0.8614928126335144, 0.7085573673248291, 0.28791728615760803, 0.3601958751678467, -0.34333088994026184, -0.45096200704574585, -0.564099907875061, 0.15216012299060822, -0.1891523003578186, 0.36278533935546875, -0.6903768181800842, -0.05016443133354187, 0.04367150366306305, 0.4945160448551178, -0.576781690120697, 0.1604328751564026, -0.36844193935394287, -0.1704271137714386, 0.8840758800506592, -0.24590818583965302, -0.018578626215457916, 0.033775415271520615, -0.2583129405975342, -0.27820661664009094, -0.21454745531082153, -0.2963404059410095, 0.4781323969364166, 0.33759090304374695, -0.3999486267566681, 0.23395735025405884, -0.4788578748703003, 0.8642138838768005, 0.4329686462879181, -0.3406467139720917, 0.6013776063919067, -0.3767765760421753, -0.2557235658168793, 0.1711013913154602, 0.9488508701324463, 0.1900065541267395, 0.054688140749931335, -0.4379671812057495, -0.3261396586894989, -0.07565169781446457, -0.08357472717761993, -0.5771178007125854, -0.3477209210395813, -0.0610421746969223, -0.36339983344078064, -0.2716478109359741, -0.3465421497821808, -0.8878219127655029, 0.20629817247390747, -0.41117149591445923, 0.3991638123989105, -0.11940460652112961, -0.4881833493709564, 0.19779148697853088, -0.03484801948070526, 0.09138727188110352, 0.3704555332660675, -0.7505438327789307, 0.43512970209121704, -0.07417627424001694, 0.9234943389892578, -0.5212034583091736, -0.09196771681308746, -0.691094696521759, 0.06736492365598679, -0.6234182119369507, 0.5508313775062561, -0.06317319720983505, -0.5063880085945129, -0.3201225697994232, 0.027910076081752777, -0.10764393210411072, -0.6054185628890991, 0.48473018407821655, -0.28618142008781433, 0.2220931500196457, 0.18633995950222015, -0.36089611053466797, -0.13739114999771118, -0.037222910672426224, -0.481265127658844, 1.029367446899414, -0.012849473394453526, -0.5531018972396851, 0.004353562835603952, -0.5866005420684814, -0.6416776776313782, -0.2734333276748657, 0.03473815694451332, -0.4584270715713501, 0.25658532977104187, 0.21745075285434723, 0.5092383623123169, -0.20118944346904755, 0.4121028184890747, 0.17077404260635376, -0.09364890307188034, -0.10979112982749939, -0.7964579463005066, 0.6435432434082031, 0.4636642038822174, -0.5741879940032959, -0.30271685123443604, -0.8532317280769348, -0.4210415184497833, -0.06473865360021591, -0.14550712704658508, -0.2118062973022461, -0.17421765625476837, -0.1041005477309227, 0.347745418548584, 0.055471546947956085, -0.46658408641815186, -0.03333791717886925, -0.5818930268287659, 0.30641329288482666, 0.5541477799415588, -0.10503440350294113, 0.8490012288093567, -0.3126314580440521, 0.41820013523101807, 0.36779919266700745, 0.201848566532135, 0.16381368041038513, -0.6642721891403198, -0.8175926208496094, -0.5280143618583679, 0.3350907266139984, 0.4360279142856598, -0.5069442987442017, 0.4416784644126892, -0.16465690732002258, -0.57160884141922, -0.6924628019332886, 0.2961462736129761, 0.16825121641159058, 0.9908101558685303, 0.960071325302124, -0.39323627948760986, -0.3939800262451172, -0.8861586451530457, -0.07959921658039093, 0.07608116418123245, -0.10537794232368469, -0.26806190609931946, 0.07664712518453598, -0.7687113285064697, 0.9081634879112244, -0.19240164756774902, -0.6201475858688354, 0.09119990468025208, 0.4239179193973541, 0.24826452136039734, 0.6475851535797119, 0.30494895577430725, -0.7920033931732178, -0.7655696272850037, -0.16219577193260193, -0.287594199180603, -0.33325204253196716, -0.16322734951972961, -0.1274893879890442, 0.15302234888076782, 0.7401021718978882, -0.16261881589889526, 0.6288378238677979, 0.7622246146202087, 0.24209536612033844, 0.08108621835708618, -0.3847200572490692, -0.04975118115544319, -1.0998382568359375, -0.06627875566482544, 0.18175016343593597, -0.5637670159339905, -0.8947104215621948, -0.6153272986412048, -0.016621073707938194, 0.18627296388149261, -0.5325886607170105, 0.44415760040283203, -0.5622091293334961, 0.12704500555992126, -0.1819293051958084, 0.3104146420955658, -0.022391922771930695, 0.10944778472185135, 0.16823920607566833, 0.7637497186660767, 0.6641674637794495, -0.7810313105583191, 0.36852794885635376, 0.41115814447402954, 0.18562480807304382, 0.5987745523452759, -0.3992435038089752, 0.05408187210559845, -0.46742233633995056, 0.2822836637496948, -1.1268926858901978, 0.22092440724372864, 0.1331213414669037, -0.34200742840766907, 0.5869099497795105, -0.37458211183547974, -0.5140256881713867, -0.014340754598379135, 0.016521241515874863, 0.2241106629371643, 0.8497674465179443, -0.5773205757141113, 0.41862568259239197, 0.3457941710948944, -0.02770894020795822, -0.35992515087127686, -1.0268839597702026, 0.037474624812603, -0.24995629489421844, -0.522881031036377, 0.44143131375312805, -0.21820053458213806, -0.1694054752588272, -0.19747941195964813, -0.28735122084617615, -0.23576892912387848, 0.04268990829586983, -0.023031732067465782, -0.02692538872361183, -0.014647815376520157, 0.16690462827682495, 0.5649048089981079, -0.23033301532268524, -0.1392851024866104, -0.3215620219707489, 0.2899721562862396, 0.004416106268763542, -0.21055300533771515, -0.5767912268638611, 0.3223344087600708, 0.17131048440933228, -0.14737063646316528, 0.43653905391693115, 0.845390796661377, -0.16472381353378296, -0.28767189383506775, -0.7515993714332581, -0.3200509548187256, -0.4809384346008301, 0.03287789225578308, -0.20849433541297913, -0.6283705830574036, 0.22337569296360016, -0.2478092461824417, 0.2256907820701599, 0.5453357696533203, 0.6180142760276794, -0.19871480762958527, 0.8479717969894409, 0.31517547369003296, -0.21199414134025574, 0.417106032371521, -0.45779699087142944, 0.19505739212036133, -0.7756214737892151, -0.0985172688961029, -0.27483242750167847, -0.5298274755477905, -0.6512203812599182, -0.923668622970581, 0.1887028068304062, 0.16617126762866974, 0.28268879652023315, 0.4357079863548279, -0.7193304896354675, 0.19280873239040375, 0.47151505947113037, -0.32452645897865295, 0.5860111713409424, 0.28727221488952637, 0.08739498257637024, -0.19961373507976532, -0.7144067883491516, -0.13402427732944489, 1.0019999742507935, 0.31313082575798035, 1.0721724033355713, 0.20833720266819, 1.0557119846343994, 0.3995262086391449, 0.2785402238368988, -0.5731638073921204, 0.18146441876888275, -0.45856034755706787, -0.31947365403175354, -0.5175308585166931, -0.7717577219009399, -1.0636041164398193, 0.31004878878593445, 0.015517069026827812, -0.12414668500423431, 0.5940077304840088, 0.17077761888504028, -0.06887292116880417, 0.10359907150268555, -0.5251256823539734, 0.4042509198188782, -0.031717557460069656, 0.02216051146388054, -0.1130433976650238, -0.6759303212165833, 0.10795583575963974, -0.22791355848312378, 0.5335983037948608, -0.14071224629878998, 0.043426528573036194, 0.6099779605865479, 0.03397681191563606, 0.8067671060562134, -0.31728219985961914, -0.1873285174369812, 0.18299171328544617, 0.2999333441257477, 0.4423033893108368, 0.2528567314147949, -0.0024236051831394434, 0.7070155143737793, -0.10151537507772446, -0.26183244585990906, -0.4684711694717407, 0.7613375186920166, -0.8267638087272644, -0.45712435245513916, -0.4113001227378845, -0.49705252051353455, -0.19946306943893433, 0.12561887502670288, 0.4247516393661499, 0.13421177864074707, -0.034062113612890244, 0.09815511852502823, 1.0463078022003174, 0.17800888419151306, 0.5677133798599243, 0.895440399646759, 0.020491670817136765, -0.2839468717575073, 0.9010016322135925, 0.31983715295791626, 0.5327804088592529, 0.2820897400379181, 0.24561187624931335, -0.6842039227485657, -0.78623366355896, -0.4502485990524292, 0.3969558775424957, -0.6113324761390686, -0.2545802593231201, -0.7542147636413574, -0.3039821982383728, -0.7246552109718323, 0.13635872304439545, -0.7117099165916443, -0.5628907084465027, -0.6445366740226746, 0.02705998718738556, 0.3562142252922058, 0.4031127989292145, -0.7149112820625305, 0.32915666699409485, -0.5290332436561584, 0.6472402215003967, 0.4068964421749115, 0.1640353500843048, -0.36221346259117126, -1.1832290887832642, -0.13200737535953522, 0.30840131640434265, -0.14962895214557648, -0.7437469959259033, 0.7769486904144287, 0.435412734746933, 0.6244817972183228, 0.18089543282985687, 0.23689201474189758, 0.8820325136184692, -0.5433564186096191, 0.4809826612472534, 0.34270793199539185, -0.8068971633911133, 0.5984730124473572, -0.034409746527671814, 0.299927294254303, 0.5766496658325195, 0.30686870217323303, -0.7160640358924866, -0.5555708408355713, -0.5392507910728455, -0.6946508288383484, 0.5239964127540588, 0.4228290319442749, 0.3108295500278473, -0.2553974688053131, 0.3637680113315582, -0.030120134353637695, 0.2705947756767273, -0.4954952001571655, -0.6268801093101501, -0.5816030502319336, -0.16902819275856018, -0.4020826816558838, 0.18865276873111725, -0.19283589720726013, -0.3386698365211487, 0.8013765215873718, -0.0933641791343689, -0.05284800007939339, 0.635115385055542, -0.3600810766220093, -0.14420825242996216, 0.14016379415988922, 0.5885083675384521, -0.044900987297296524, 0.02569475769996643, 0.10182596743106842, 0.2367551326751709, -0.37618106603622437, 0.40961581468582153, 0.20473194122314453, -0.32189643383026123, 0.498222291469574, -0.15627802908420563, 0.5877189636230469, 0.08989563584327698, -0.23533995449543, 0.6102973818778992, -0.3060413599014282, -0.3309643864631653, -0.35999777913093567, -0.06102991849184036, 0.11595495790243149, 0.12799763679504395, 0.2609661817550659, 0.3370499014854431, 0.432075560092926, 0.011692706495523453, 0.30679699778556824, 0.3143647313117981, -0.44470250606536865, -0.42659637331962585, 0.6457704305648804, 0.193461075425148, -0.30416396260261536, 0.4145931899547577, -0.37167462706565857, 0.1965106874704361, 0.15305836498737335, 0.5433107614517212, 0.9864651560783386, -0.7452068328857422, 0.34371376037597656, 0.3651949465274811, 0.3589201271533966, -0.5540158748626709, 0.009974014014005661, -0.19732655584812164, -0.47711604833602905, -0.4284714460372925, -0.8394775390625, -0.22024352848529816, -0.00030126297497190535, -0.7968500852584839, 0.23665791749954224, -0.17424477636814117, -0.09651031345129013, -0.3432965874671936, -0.5373064875602722, -0.7113280892372131, 0.3138978183269501, 0.07064840197563171, 0.6455418467521667, -0.8901416063308716, 1.0126926898956299, 0.2228941172361374, -0.18395136296749115, -0.507102906703949, 0.01419199351221323, -0.17387212812900543, -0.3892997205257416, 0.6575683951377869, -0.3157971501350403, -0.3626805543899536, 0.4100421965122223, -0.14334173500537872, -1.1690644025802612, 0.8557103276252747, 0.5755760669708252, -0.9622290730476379, 0.014838914386928082, 0.40081918239593506, 0.6450014114379883, -0.11710420250892639, 0.04141410067677498, 0.6215516328811646, 0.4229719638824463, 0.21753406524658203, -0.9901657104492188, -0.3636772930622101, 0.018988894298672676, 0.22802025079727173, 0.14238713681697845, -0.6318396329879761, 0.6733932495117188, 0.2984992563724518, -0.2473175823688507, -0.4299077093601227, 0.6203673481941223, -0.3579055368900299, 0.09972231835126877, 0.5817368030548096, 0.5752130746841431, 0.5508942008018494, 0.007084702607244253, 0.3746967315673828, -0.3352791965007782, 0.35573747754096985, 1.2484925985336304, 0.11853566765785217, 0.6321485638618469, 0.8282675743103027, -0.1433742791414261, 0.2900916337966919, 0.3006570041179657, 0.06497432291507721, 0.7611519694328308, 0.26754331588745117, -0.26775598526000977, -0.04947211593389511, 0.32730934023857117, -0.4029081165790558, 0.4172816872596741, 0.22964882850646973, -0.25924941897392273, -0.7085362672805786, 0.17516715824604034, -0.1804271787405014, 0.3411456346511841, -0.008991147391498089, 0.8894638419151306, 0.18299555778503418, -0.28337347507476807, 1.0031795501708984, 0.0812058076262474, 0.9025358557701111, -0.4769919812679291, 0.13753993809223175, -0.575757622718811, -0.10686291754245758, -0.34715813398361206, -0.2288331389427185, 0.8391198515892029, 0.008751217275857925, -0.21135364472866058, -0.6092712879180908, 0.18609187006950378, -0.6968729496002197, -0.5719438195228577, 0.38230234384536743, 0.42695268988609314, 0.30056115984916687, -0.03777815029025078, -0.7831259965896606, -0.2042955756187439, 0.017669878900051117, -0.17269116640090942, 0.3375137448310852, 0.43749675154685974, 0.07386375218629837, 0.5193178057670593, 0.8595267534255981, 0.23258964717388153, 0.5444154143333435, 0.10858244448900223, 0.669775664806366, -0.17273515462875366, -0.30760636925697327, -0.7787230014801025, 0.4426251947879791, -0.02135074883699417, -0.1446138471364975, 0.9782543182373047, 0.6046435832977295, 0.8669838309288025, 0.008678048849105835, 0.5954099893569946, 0.2757565379142761, 0.696985125541687, -0.1831122487783432, 0.6979947686195374, -0.4683326482772827, 0.1940627247095108, -0.1127001941204071, -0.8372951149940491, -0.39700448513031006, 0.9275981187820435, -0.18907107412815094, -0.3867611289024353, 0.22465525567531586, 0.8347578048706055, -0.25064653158187866, -0.408637672662735, 0.6577470302581787, 0.27608391642570496, 0.5450669527053833, -0.07566648721694946, 0.34044620394706726, -0.6799177527427673, 0.6674514412879944, -0.5013308525085449, -0.3931137025356293, -0.016520341858267784, -0.6967517137527466, -0.8000190258026123, -0.44131550192832947, -0.7130432724952698, -0.20661324262619019, -0.20868828892707825, 0.5969797372817993, 0.814354658126831, -0.7619612216949463, -0.42727962136268616, -0.4768016040325165, -0.0022931566927582026, -0.2115137279033661, -0.17517246305942535, -0.011758996173739433, -0.7465641498565674, -0.9088156819343567, 0.9341831207275391, 0.3669375777244568, 0.3981001079082489, -0.5701474547386169, -0.14287713170051575, -0.09860580414533615, 0.35377374291419983, 0.2567814290523529, 0.17322343587875366, -0.6037715673446655, 0.15665343403816223, -0.13924987614154816, -0.07972992211580276, 0.42649370431900024, 0.16052821278572083, -0.6857844591140747, 0.9495338797569275, 0.37373805046081543, 0.30364951491355896, 0.9409923553466797, -0.13289830088615417, 0.4093197286128998, -0.8508082628250122, 0.5869143605232239, 0.5009865760803223, 0.12184394896030426, 0.4729802906513214, -0.3202630281448364, 0.36342763900756836, 0.18308886885643005, -0.413266658782959, -0.9277997612953186, 0.27244383096694946, -0.6551221013069153, 0.132725790143013, 1.1746811866760254, -0.12623386085033417, -0.22557857632637024, -0.22760456800460815, 0.07853332906961441, 0.4292272627353668, -0.5117199420928955, 0.9610015153884888, 0.3434678316116333, 0.021911855787038803, -0.02487272396683693, -0.40203553438186646, 0.7894842624664307, 0.3423207700252533, -0.4685465395450592, -0.08278758078813553, 0.28087007999420166, 0.5572083592414856, 0.20193105936050415, 0.6395514011383057, -0.2971962094306946, -0.006324622314423323, -0.3711356520652771, -0.021778782829642296, 0.18732167780399323, -0.1185821145772934, -0.7315914630889893, -0.38091203570365906, -0.14591093361377716, -0.3050214350223541 ]
http://arxiv.org/abs/2405.13272v1
http://arxiv.org/pdf/2405.13272v1
A Multilingual Similarity Dataset for News Article Frame
2024-05-22T01:01:04
2024-05-22T01:01:04
Xi Chen, Mattia Samory, Scott Hale, David Jurgens, Przemyslaw A. Grabowicz
cs.CL
cs.CL, cs.CY
Understanding the writing frame of news articles is vital for addressing social issues, and thus has attracted notable attention in the fields of communication studies. Yet, assessing such news article frames remains a challenge due to the absence of a concrete and unified standard dataset that considers the comprehensive nuances within news content. To address this gap, we introduce an extended version of a large labeled news article dataset with 16,687 new labeled pairs. Leveraging the pairwise comparison of news articles, our method frees the work of manual identification of frame classes in traditional news frame analysis studies. Overall we introduce the most extensive cross-lingual news article similarity dataset available to date with 26,555 labeled news article pairs across 10 languages. Each data point has been meticulously annotated according to a codebook detailing eight critical aspects of news content, under a human-in-the-loop framework. Application examples demonstrate its potential in unearthing country communities within global news coverage, exposing media bias among news outlets, and quantifying the factors related to news creation. We envision that this news similarity dataset will broaden our understanding of the media ecosystem in terms of news coverage of events and perspectives across countries, locations, languages, and other social constructs. By doing so, it can catalyze advancements in social science research and applied methodologies, thereby exerting a profound impact on our society.
[ -0.40418124198913574, -0.537852942943573, 0.3577412962913513, 0.2673710882663727, -0.31354066729545593, 0.23535923659801483, -0.3733147382736206, -0.5479145646095276, 0.6369901299476624, 0.34724152088165283, -0.3858834505081177, -0.5379597544670105, -0.6134829521179199, 0.2347566783428192, -0.6601269841194153, 1.07217276096344, -0.20307010412216187, 0.0848381370306015, -0.04299735650420189, -0.508666455745697, -0.031972941011190414, -0.3156682252883911, -0.32788005471229553, -0.12949100136756897, 0.5628684163093567, 0.23448485136032104, 0.7329105138778687, 0.45328956842422485, 0.42579206824302673, 0.1961510181427002, -0.03690385818481445, 0.057881779968738556, -0.6155114769935608, -0.3081648051738739, -0.0961352065205574, -0.1457400918006897, -0.24653472006320953, 0.08119384199380875, 0.8491037487983704, 0.8875774145126343, 0.26150619983673096, 0.6280866861343384, 0.152237668633461, 0.8372450470924377, -0.3208957612514496, 0.1131756603717804, -0.43455785512924194, 0.2657604515552521, -0.438747763633728, -0.0659383088350296, -0.12774063646793365, -0.4824896454811096, -0.03896597400307655, -0.6247459053993225, 0.21817748248577118, 0.16902212798595428, 0.8362601399421692, -0.25901052355766296, -0.8111559152603149, -0.12411554157733917, -0.2343026101589203, 0.3400794267654419, -0.42908838391304016, 0.6332226395606995, 0.015433376654982567, -0.106753408908844, 0.013234961777925491, -0.22393056750297546, -0.6834668517112732, 0.31110894680023193, -0.10198447853326797, -0.09397605806589127, -0.17284290492534637, -0.40773075819015503, 0.18030330538749695, 0.28874990344047546, -0.9665026068687439, -0.23308627307415009, -0.8080705404281616, -0.23237498104572296, 0.5526514649391174, 0.04931056126952171, 0.4025574326515198, -0.3403521776199341, -0.4906185567378998, -0.038312025368213654, -0.6344844102859497, 0.11394643783569336, 0.6978806853294373, 0.18810813128948212, -0.43613994121551514, 0.5389990210533142, -0.4923771917819977, 0.7070463299751282, -0.2932453453540802, -0.0767734944820404, 0.8562061786651611, -0.1657310277223587, -0.03267553076148033, 0.24467547237873077, 0.6373315453529358, 1.0277307033538818, 0.2185644954442978, -0.1725558489561081, 0.06626199930906296, 0.033717840909957886, 0.10787482559680939, -0.519347608089447, 0.12194270640611649, -0.38220643997192383, -0.6206454634666443, -0.31899887323379517, 0.3203355073928833, -0.923882007598877, -0.34708842635154724, -0.52327960729599, 0.15223494172096252, 0.14066532254219055, -0.43460342288017273, 0.10418995469808578, -0.12442672252655029, 0.4754510521888733, -0.24986739456653595, -0.5088887214660645, 0.10429730266332626, 0.9622868299484253, 0.863697350025177, -0.41020146012306213, -0.4435916244983673, -0.17319250106811523, 0.07574549317359924, -0.6771465539932251, 0.7867986559867859, -0.7008587121963501, 0.22908617556095123, 0.01999511569738388, 0.2829367220401764, 0.11532595008611679, -0.22318017482757568, 0.316090852022171, -0.667156994342804, 0.27211859822273254, -0.30168241262435913, -0.457867830991745, -0.24797144532203674, 0.40416377782821655, -1.0593446493148804, 0.831760585308075, 0.0907614603638649, -0.9274981021881104, 0.4126362204551697, -0.2386372983455658, -0.6653753519058228, -0.4608341157436371, 0.020548373460769653, -0.3861187696456909, 0.22264911234378815, 0.28125980496406555, 0.4840947389602661, -0.1259932816028595, 0.5689746141433716, -0.655575156211853, -0.44774314761161804, 0.2117053121328354, -0.4521317481994629, 0.7464292645454407, 0.22339186072349548, -0.0010114975739270449, -0.10851791501045227, -0.8892829418182373, -0.01013837568461895, -0.2330901026725769, -0.24087989330291748, -0.71327805519104, -0.5673732757568359, 0.22760972380638123, 0.21554356813430786, 0.0863305926322937, -0.6916305422782898, -0.06372817605733871, -0.1117032915353775, 0.41901442408561707, 0.47707685828208923, 0.021670399233698845, 0.48286980390548706, -0.3091769516468048, 0.3340875506401062, -0.09806861728429794, -0.016070451587438583, -0.47290417551994324, -0.31457018852233887, -0.3664378821849823, 0.28137072920799255, 0.49202239513397217, 0.412930428981781, -0.7299244999885559, 0.17888103425502777, -0.606814980506897, -0.18532845377922058, -0.5528726577758789, 0.1445309817790985, 0.6062315106391907, 0.36524343490600586, 0.073561891913414, -0.4258311688899994, -0.7399488687515259, -0.9164624810218811, -0.5328205823898315, 0.2340347170829773, 0.21412841975688934, -0.20467668771743774, 0.19463370740413666, 0.20187300443649292, 0.7453086376190186, -0.3252590298652649, -0.188701793551445, -0.1543724238872528, 0.06735222786664963, 0.23297996819019318, 0.15879058837890625, 0.5102132558822632, -1.0345662832260132, -0.4571339786052704, -0.06420706957578659, -0.9974527359008789, -0.11346985399723053, -0.14103490114212036, -0.2716505527496338, 0.36635109782218933, 0.742974042892456, -0.13891296088695526, 0.24536451697349548, 0.7938633561134338, -0.4917212724685669, 0.21282264590263367, 0.11527964472770691, 0.5402853488922119, -1.2398332357406616, 0.1000363752245903, 0.15514802932739258, -0.1585465669631958, -0.3727976679801941, 0.020033253356814384, 0.09412144124507904, -0.4498008191585541, -0.4886574149131775, 0.689355731010437, -0.48375561833381653, -0.45607733726501465, -0.16379418969154358, 0.24664847552776337, 0.20863452553749084, 0.49267858266830444, -0.0334743894636631, 0.5549248456954956, 0.39833423495292664, 0.04758528620004654, 0.6438482403755188, 0.22412317991256714, -0.8693636655807495, 0.6157572269439697, -0.3598949611186981, 0.04070892184972763, -0.5311847925186157, 0.47497549653053284, -0.7257744669914246, -0.210676908493042, 0.2050168663263321, -0.37959691882133484, 0.051465410739183426, 0.1810680627822876, -0.2936134338378906, -0.30428430438041687, -0.4344180226325989, 0.3856889605522156, -0.05374947190284729, -0.4110255837440491, -0.022478463128209114, 0.6504625082015991, -0.5180765390396118, -0.7643036246299744, -0.7110938429832458, 0.47593626379966736, -0.355128675699234, -0.6088815331459045, 0.2529022693634033, 0.179245725274086, -0.2551485002040863, 0.5106703639030457, -0.20501285791397095, -0.24380460381507874, -0.1620096117258072, -0.1026000827550888, 0.15370719134807587, -0.54315185546875, 0.400064080953598, 0.1641819030046463, -0.2520497441291809, -0.06406240910291672, -0.05358640477061272, 0.14450764656066895, -0.12427019327878952, -0.1756550371646881, -0.08115632086992264, 0.8199545741081238, 0.39988642930984497, -0.4420824944972992, 0.48048457503318787, 0.6869535446166992, -0.4238264262676239, 0.1655241698026657, -0.41104504466056824, 0.11025507003068924, -0.2725617289543152, 0.6088120937347412, -0.39589470624923706, -0.8935611248016357, 0.3695983588695526, 0.3314156234264374, -0.1401223987340927, 0.25795769691467285, 0.2255561649799347, 0.27639105916023254, 0.5267506241798401, 0.6834812164306641, -0.49180474877357483, 0.30538660287857056, -0.02272871322929859, 0.2286844402551651, -0.5571818351745605, -0.18851512670516968, -0.2013181447982788, -0.6585992574691772, -0.16230563819408417, -0.3004165589809418, 0.20951658487319946, -0.09295447915792465, -0.16079367697238922, 0.4350356161594391, -0.20226234197616577, 0.9204240441322327, 0.37314462661743164, 0.04738672077655792, 0.5745218396186829, 0.17159734666347504, 0.23872308433055878, -0.04433488845825195, -0.5085126757621765, -0.4951555132865906, 1.2123991250991821, 0.03457477688789368, 0.758215069770813, -0.03353840857744217, 0.6369205117225647, 0.4840076267719269, 0.37125229835510254, -0.31036847829818726, 0.2441667765378952, -0.09881679713726044, -0.6135465502738953, -0.30720388889312744, -0.40416404604911804, -0.7759181261062622, 0.30211859941482544, -0.326930433511734, -0.5573770403862, 0.12321926653385162, -0.33108416199684143, -0.38234275579452515, 0.3950938582420349, -0.742195725440979, 0.8533304929733276, -0.08737411350011826, -0.2220793217420578, -0.26999643445014954, -0.7617658972740173, 0.417557030916214, -0.3125080466270447, 0.6428950428962708, -0.40170052647590637, 0.028934039175510406, 0.8458660840988159, 0.27805426716804504, 0.7783614993095398, 0.19480033218860626, -0.28686439990997314, 0.16648951172828674, -0.41854584217071533, -0.1082005724310875, 0.2045673280954361, -0.23044341802597046, 0.2411709725856781, 0.06129840388894081, -0.29931125044822693, -0.4246387779712677, 0.9772759079933167, -0.5239670276641846, -0.3617483377456665, -0.30050739645957947, -0.5869039297103882, -0.09422606229782104, 0.3017471134662628, 0.09184666723012924, 0.9358731508255005, -0.3486182987689972, 0.3046492338180542, 0.43999189138412476, -0.14222966134548187, 0.5974131226539612, 0.4869021475315094, -0.23311887681484222, -0.3776234984397888, 0.9912371635437012, 0.12476760894060135, -0.22096119821071625, 0.4757018983364105, -0.1991342455148697, -0.3367862105369568, -0.009670422412455082, -0.6965407729148865, -0.013259743340313435, -0.5737887024879456, -0.36538946628570557, -0.4493282735347748, 0.0058547756634652615, -0.25548800826072693, -0.2139614075422287, -0.11864650249481201, -0.44847428798675537, 0.03711371496319771, -0.41160473227500916, 0.25114262104034424, 0.7737971544265747, -0.08733098208904266, -0.029036549851298332, -0.901605486869812, 0.5739192962646484, 0.0747075006365776, 0.7353428602218628, -0.029610585421323776, -0.14309260249137878, -0.3306068181991577, 0.09718263149261475, -0.3511783480644226, -0.9804624319076538, 0.12896327674388885, 0.39321088790893555, 0.6664205193519592, 0.2690393328666687, 0.3280761241912842, 0.6366758942604065, -0.6522839665412903, 0.5661507248878479, 0.18807092308998108, -0.8991625905036926, 0.16394607722759247, -0.2714175283908844, 0.05256775766611099, 0.4802592098712921, 0.4635530710220337, -0.9053367376327515, -0.37396425008773804, -0.49237141013145447, -0.7578097581863403, 0.4539491832256317, -0.14453698694705963, 0.5477199554443359, -0.08369049429893494, 0.25008222460746765, 0.33846479654312134, 0.24721044301986694, -0.896369218826294, -0.1530490517616272, -0.08224979788064957, -0.3550642430782318, -0.1518014371395111, -0.12495332956314087, -0.13757851719856262, -0.1000564694404602, 0.6524271368980408, -0.2610597312450409, 0.07870162278413773, 0.17576751112937927, -0.32293030619621277, -0.22905389964580536, 0.5386714935302734, 0.3700467348098755, 0.9171640872955322, 0.29266223311424255, 0.3451577126979828, 0.25261855125427246, -0.11776862293481827, 0.19492901861667633, 0.3258911669254303, -0.1704656332731247, 0.15091586112976074, 0.50294429063797, 0.785112738609314, 0.5848241448402405, -0.5895934104919434, 0.7123698592185974, -0.00016631570179015398, -0.15800844132900238, -0.23446723818778992, -0.30975696444511414, 0.21756063401699066, 0.6130138039588928, 0.4337676167488098, -0.015492369420826435, 0.2128431499004364, -0.7708913087844849, 0.5956096053123474, 0.22577929496765137, -0.6737301349639893, -0.2302228957414627, 0.4636622965335846, 0.38004639744758606, -0.2137284129858017, 0.268650621175766, -0.2918983995914459, -0.40480804443359375, 0.6533181667327881, 0.4425486624240875, 0.3739131689071655, 0.1797012984752655, 0.3545994162559509, 0.3284987211227417, 0.11700291186571121, -0.2929094135761261, 0.12945882976055145, 0.19015681743621826, -0.7408273816108704, -0.497923880815506, -0.6318191885948181, -0.01721397042274475, -0.0210830420255661, -0.8976513743400574, 0.29019030928611755, 0.06006964296102524, 0.0922166034579277, 0.0033663460053503513, 0.1671726405620575, -0.4509478509426117, 0.062120966613292694, 0.5990684032440186, 0.9410535097122192, -1.2813109159469604, 0.7591290473937988, 0.8637157678604126, 0.00007543595711467788, -0.48266708850860596, 0.07094982266426086, 0.31042346358299255, -0.6467190384864807, 0.002706942381337285, 0.5730251669883728, 0.20838497579097748, -0.29706916213035583, -0.16077476739883423, -0.7644359469413757, 0.954119861125946, 0.5339126586914062, -0.6717559695243835, -0.13206152617931366, 0.15529270470142365, 0.4475761651992798, -0.5859960913658142, -0.12521350383758545, 0.45508816838264465, 0.5241415500640869, -0.2741301953792572, -0.9118357300758362, 0.054666176438331604, -0.5775746703147888, 0.02637685276567936, 0.343243271112442, -0.923262357711792, 0.5509830713272095, -0.4608120620250702, -0.0315411239862442, -0.08521692454814911, 0.6587822437286377, -0.10282289236783981, 0.7108377814292908, 0.3167739510536194, 0.5628228187561035, 0.6213022470474243, 0.04986622557044029, 0.6154376864433289, -0.40660229325294495, 0.4440322816371918, 1.1022796630859375, -0.31488046050071716, 0.6184957027435303, 0.16210412979125977, -0.053659502416849136, 0.42075395584106445, 0.376919686794281, -0.1592276394367218, 0.4102034568786621, 0.1313108205795288, -0.06959052383899689, -0.21472686529159546, -0.020629268139600754, -0.6358127593994141, 0.4494364559650421, 0.07564195245504379, -0.37254098057746887, -0.5653018951416016, 0.3925110399723053, 0.11782272905111313, 0.4237114191055298, -0.4104824364185333, 0.5722683668136597, 0.1438995599746704, -0.46224552392959595, 0.15071655809879303, -0.11966201663017273, 0.6679399013519287, -0.4300520718097687, 0.061938486993312836, -0.21363277733325958, 0.04058072343468666, -0.13344082236289978, -1.1111994981765747, 0.8503819108009338, 0.036709949374198914, -0.3252544403076172, -0.19470129907131195, 0.6193594932556152, -0.7496099472045898, -0.7109543681144714, 0.2801071107387543, 0.41309288144111633, 0.07401153445243835, 0.025167398154735565, -0.39814382791519165, 0.4034619927406311, 0.07732177525758743, -0.3245774209499359, 0.31544506549835205, 0.6747722625732422, -0.2823277711868286, 0.31671589612960815, 0.3684881627559662, 0.01606863923370838, 0.1291186511516571, -0.11314649879932404, 0.7657876014709473, -0.7167928814888, -0.5099183320999146, -0.5837487578392029, -0.02804596722126007, -0.2840036451816559, -0.6150469779968262, 0.6653133630752563, 0.9657543897628784, 1.1272834539413452, 0.054050102829933167, 0.8487864136695862, -0.13716600835323334, 0.5973117351531982, -0.4863582253456116, 0.8399940133094788, -0.5313193798065186, -0.090924471616745, -0.38840147852897644, -0.8685623407363892, -0.49076104164123535, 0.3571417033672333, -0.20662614703178406, -0.3551119863986969, 0.5304107666015625, 0.7272759079933167, -0.25763076543807983, 0.4564804136753082, 0.15265719592571259, -0.016371091827750206, -0.19874760508537292, 0.6530943512916565, 0.6139077544212341, -0.33124464750289917, 0.8815568685531616, -0.13639198243618011, -0.19340984523296356, 0.17857636511325836, -0.9667851328849792, -0.9717739224433899, -0.8097156286239624, -0.1676405966281891, -0.12263213098049164, 0.543034553527832, 0.9208469986915588, 0.5225332975387573, -0.730433464050293, 0.01964690163731575, 0.5114539265632629, 0.39710262417793274, -0.27532508969306946, -0.20487646758556366, 0.532900869846344, -0.14768369495868683, -0.6075055003166199, -0.03926900029182434, 0.1491377353668213, -0.29602378606796265, -0.04848755896091461, 0.13595689833164215, -0.0149947265163064, -0.3352857232093811, 0.619879424571991, 0.27837541699409485, -0.42930668592453003, -0.5082952976226807, -0.10764389485120773, -0.02479124628007412, 0.09517613798379898, 1.0250170230865479, -0.7018476724624634, 0.28511735796928406, 0.4671420156955719, 0.6147279739379883, 0.27523359656333923, -0.20219720900058746, 0.5031649470329285, -0.9758102893829346, 0.4018849730491638, -0.24948656558990479, 0.40790191292762756, 0.6007176041603088, -0.2013065367937088, 0.3642381727695465, 0.17652350664138794, -0.17292381823062897, -0.6168190240859985, 0.19278089702129364, -0.9106886386871338, -0.2346632331609726, 1.208855152130127, -0.23835618793964386, -0.21426606178283691, -0.24124862253665924, -0.15843334794044495, 0.32677024602890015, -0.4917263686656952, 0.8534024953842163, 0.7244723439216614, 0.32368606328964233, -0.38080698251724243, -0.4267633855342865, 0.08411205559968948, -0.12893785536289215, -0.7443997859954834, 0.1574954092502594, 0.37813451886177063, 0.4442249834537506, -0.005847131833434105, 0.6053932309150696, -0.2196083664894104, 0.06077747792005539, -0.21550020575523376, -0.10275616496801376, -0.08185850083827972, -0.3805233836174011, -0.25239086151123047, 0.4003525376319885, -0.7459043860435486, 0.02231171540915966 ]
http://arxiv.org/abs/2405.13245v2
http://arxiv.org/pdf/2405.13245v2
A Survey of Robotic Language Grounding: Tradeoffs between Symbols and Embeddings
2024-05-21T23:12:03
2024-06-22T13:03:53
Vanya Cohen, Jason Xinyu Liu, Raymond Mooney, Stefanie Tellex, David Watkins
cs.RO
cs.RO, cs.AI, cs.CL
With large language models, robots can understand language more flexibly and more capable than ever before. This survey reviews and situates recent literature into a spectrum with two poles: 1) mapping between language and some manually defined formal representation of meaning, and 2) mapping between language and high-dimensional vector spaces that translate directly to low-level robot policy. Using a formal representation allows the meaning of the language to be precisely represented, limits the size of the learning problem, and leads to a framework for interpretability and formal safety guarantees. Methods that embed language and perceptual data into high-dimensional spaces avoid this manually specified symbolic structure and thus have the potential to be more general when fed enough data but require more data and computing to train. We discuss the benefits and tradeoffs of each approach and finish by providing directions for future work that achieves the best of both worlds.
[ -0.30986976623535156, -0.6389421224594116, 0.7354981303215027, -0.03471418470144272, 0.021801918745040894, 0.4259452521800995, -0.2827548384666443, -0.34281712770462036, 0.284313827753067, 0.6262754797935486, -0.20523519814014435, -0.605362057685852, -0.8761399984359741, -0.14619213342666626, -0.1969841867685318, 0.6780069470405579, -0.32196521759033203, -0.22683890163898468, -0.19343222677707672, -0.31323865056037903, -0.5174652934074402, -0.8247224688529968, -0.2873251736164093, -0.5229786038398743, 0.3496902287006378, 0.26032885909080505, 1.3341612815856934, 0.8660115599632263, 0.6223310232162476, 0.26925694942474365, 0.026998182758688927, -0.09013506770133972, -0.2652527689933777, 0.04688642546534538, -0.21380415558815002, -0.46596142649650574, -0.2562435269355774, 0.1884089857339859, 0.5801647901535034, 1.1938648223876953, 0.14882683753967285, -0.15885001420974731, -0.3511470556259155, 0.7108889222145081, -0.7725068926811218, 0.36231544613838196, -0.2946079969406128, 0.5769103765487671, 0.17199410498142242, -0.19634678959846497, -0.2936430871486664, -0.235281303524971, 0.01105024479329586, -0.5971354842185974, -0.432348370552063, -0.01721416972577572, 1.0642473697662354, 0.45555195212364197, -0.5228180885314941, -0.4512694180011749, -0.8352531790733337, 0.9320300221443176, -0.3289494812488556, 0.7068236470222473, 0.7191725373268127, 0.5446382761001587, -0.06711909174919128, -0.3773791193962097, -0.5303189158439636, -0.5274850130081177, -0.03210294991731644, 0.2314022034406662, -0.20155668258666992, 0.34556838870048523, 0.3923967182636261, 0.16096262633800507, -0.3818727433681488, 0.09492741525173187, -0.24756872653961182, -0.13455621898174286, 0.41790395975112915, -0.10782545804977417, 0.49042877554893494, -0.06993741542100906, -0.28502199053764343, -0.6705904006958008, -0.8447048664093018, -0.05177519470453262, 0.48905181884765625, 0.4815816879272461, -0.09594991058111191, 0.7257251143455505, -0.18673531711101532, 0.7045482993125916, -0.23324352502822876, 0.05133786052465439, 0.2374100536108017, -0.14090989530086517, -0.11851292103528976, -0.41226109862327576, 0.5723795294761658, 0.31365054845809937, 0.4094790518283844, -0.572934091091156, -0.19113723933696747, 0.3255021274089813, 0.35562705993652344, -0.12128548324108124, -0.07055887579917908, 0.27958032488822937, -0.3936725854873657, -0.14164738357067108, 0.34446096420288086, -0.40063217282295227, -0.2913692593574524, -0.622422993183136, 0.18702062964439392, -0.24799910187721252, -0.24783048033714294, 0.5100496411323547, -0.3327023386955261, 0.3019684851169586, 0.2364678680896759, -0.7847623229026794, 0.4463883340358734, 0.722100555896759, 0.7620784640312195, 0.2668016850948334, -0.09254160523414612, -0.2811487913131714, 0.46029743552207947, -0.5623046159744263, 0.5084667205810547, -0.7846636176109314, -0.10775819420814514, 0.3896702826023102, 0.05091783404350281, 0.19922488927841187, -0.3484418988227844, 0.5209488272666931, -0.5220517516136169, 0.15775369107723236, -0.22726869583129883, -0.2914491891860962, -0.43093341588974, 0.14119060337543488, -0.698241651058197, 0.8504300117492676, 0.27778369188308716, -0.39657920598983765, 0.4882441461086273, -0.41368362307548523, -0.605354905128479, -0.1683792918920517, -0.4146468937397003, -0.020231693983078003, -0.13366509974002838, -0.09775763005018234, 0.6947370767593384, -0.18180276453495026, 0.16181743144989014, -0.12247484177350998, -0.19574515521526337, 0.0326356366276741, 0.13435004651546478, 0.5459620952606201, 0.3719668686389923, -0.37695950269699097, 0.027768103405833244, -0.4136621356010437, -0.0292737428098917, 0.17223230004310608, -0.21274004876613617, -0.3995768427848816, 0.41869160532951355, 0.06707743555307388, 0.5317384600639343, 0.2334098219871521, -0.18804167211055756, 0.09756969660520554, -0.4951968193054199, 0.4234474301338196, 0.5613453388214111, -0.5332710146903992, 0.972801148891449, -0.1932980716228485, 0.8171411752700806, -0.2277645766735077, -0.17569804191589355, -0.14145128428936005, -0.2198164463043213, -0.5642691254615784, -0.13524781167507172, 0.1421533077955246, 0.6640893816947937, -0.7506641745567322, 1.0692768096923828, -0.07345472276210785, -0.24883857369422913, -0.3935823440551758, 0.15505479276180267, 0.37826141715049744, -0.07551220804452896, 0.2512280344963074, -0.15370339155197144, -0.5914247632026672, -0.8602105379104614, -0.05165819451212883, -0.2128221094608307, -0.21328510344028473, 0.3487901985645294, 0.526262640953064, -0.3885212540626526, 0.9430924654006958, -0.43147391080856323, -0.2200421541929245, -0.33525437116622925, -0.2802174687385559, 0.10811524093151093, 0.42791861295700073, 0.6254937648773193, -0.7570705413818359, -0.13029161095619202, 0.25713595747947693, -1.0743937492370605, 0.183659166097641, -0.29140621423721313, -0.17951591312885284, -0.013008570298552513, 0.6303084492683411, -0.6504709720611572, 0.22849316895008087, 0.7661527991294861, -0.17865140736103058, -0.23908749222755432, -0.11698853224515915, 0.029192376881837845, -0.6878966689109802, 0.026028577238321304, -0.15041880309581757, -0.2854686975479126, -0.5084919929504395, 0.49082159996032715, -0.15089163184165955, -0.20854990184307098, -0.3206981122493744, 0.45630571246147156, -0.4522641599178314, -0.35062769055366516, -0.3387007415294647, 0.5355252623558044, -0.11957880109548569, 0.24154700338840485, 0.26101216673851013, 0.35214555263519287, 0.6158221364021301, -0.5222269296646118, 0.3569689393043518, 0.3166196942329407, 0.048057109117507935, 0.020889349281787872, -0.7802609801292419, 0.2344798892736435, 0.012127402238547802, 0.5255364179611206, -1.0818836688995361, -0.23744936287403107, 0.6322405934333801, -0.3312143385410309, -0.008055638521909714, -0.11902301013469696, -0.6441947221755981, -0.3399502635002136, -0.3636374771595001, 0.271009236574173, 0.752156674861908, -0.3311150372028351, 0.5119837522506714, 0.8135823011398315, 0.1695845127105713, -0.5287397503852844, -0.7343788146972656, 0.23149502277374268, -0.1016770452260971, -0.6540757417678833, 0.020152246579527855, 0.5545153021812439, -0.47368767857551575, -0.07428823411464691, -0.07608012109994888, -0.017122363671660423, 0.19542764127254486, 0.3906581997871399, -0.11298372596502304, -0.0716395303606987, 0.22148160636425018, 0.18781812489032745, -0.5334177017211914, 0.18352922797203064, -0.31166180968284607, 0.6385839581489563, -0.07787156850099564, -0.37891826033592224, -0.17299120128154755, 0.3490557074546814, 0.47057613730430603, -0.02047165296971798, 0.8387985825538635, 0.40006372332572937, -0.48812487721443176, -0.2090497463941574, 0.10376166552305222, -0.2102264016866684, -0.4942610263824463, 0.18752411007881165, -0.3975376486778259, -0.8192511796951294, 0.3684021234512329, -0.49563348293304443, 0.1130233034491539, 0.44691094756126404, 0.5235862731933594, -0.2552044987678528, 0.8436216711997986, 0.7624220252037048, -0.15493051707744598, 0.4320042133331299, -0.2778477072715759, 0.511839747428894, -0.3792181611061096, -0.09948326647281647, -0.6240609288215637, -0.20116721093654633, -0.5704168677330017, -0.6767489314079285, 0.08132155984640121, 0.028098300099372864, -0.2280428111553192, 0.6232635378837585, -0.5478492379188538, 0.39463862776756287, 0.4135511517524719, -0.15106691420078278, 0.00379351619631052, 0.10204402357339859, 0.15949904918670654, -0.016120264306664467, -0.67987060546875, -0.9816690683364868, 0.9042003750801086, 0.5687232613563538, 0.6820492148399353, -0.12119051814079285, 0.35659316182136536, 0.25944551825523376, -0.32744544744491577, -0.826647937297821, 0.4587363302707672, -0.23918747901916504, -0.38078293204307556, -0.4389474093914032, -0.19385859370231628, -1.0981905460357666, 0.3872348368167877, -0.3606078624725342, -0.35637885332107544, -0.1540551334619522, 0.00422360934317112, 0.15678168833255768, 0.39624568819999695, -0.5179659724235535, 0.4617719352245331, -0.06890907138586044, 0.02079785242676735, -0.24638405442237854, -1.0657228231430054, -0.004217383451759815, 0.21742722392082214, 0.4073668420314789, -0.14795570075511932, -0.02605331689119339, 0.8061409592628479, -0.040816664695739746, 0.9393710494041443, -0.23211394250392914, -0.47076696157455444, 0.19790935516357422, 0.04084339737892151, 0.502830982208252, -0.25364670157432556, 0.07762070000171661, 0.3137129545211792, 0.021565694361925125, -0.5714335441589355, -0.6003326773643494, 0.16806910932064056, -0.9809334874153137, -0.3937791585922241, -0.5057950019836426, -0.636969804763794, -0.258427232503891, -0.04858160763978958, -0.05317113921046257, 0.09355276077985764, -0.02748761512339115, 0.23447354137897491, 0.513617992401123, -0.6014347672462463, 0.00949886254966259, -0.04710543900728226, -0.2226872742176056, -0.04816460609436035, 0.8424670100212097, -0.08599643409252167, 0.304273396730423, 0.7320662140846252, 0.13838127255439758, -0.24138028919696808, -0.1885841339826584, -0.27363070845603943, 0.17949934303760529, -0.8834657669067383, 0.060122955590486526, -0.7075254917144775, -0.08347055315971375, -0.4319951832294464, -0.8553652167320251, -0.48658594489097595, -0.6727486848831177, 0.07524892687797546, -0.2836005389690399, 0.3656761050224304, 0.8355075716972351, -0.21997831761837006, 0.5120992660522461, -0.4649364650249481, 0.5782337188720703, -0.11557546257972717, 0.09511542320251465, -0.3070237338542938, -0.22426296770572662, -0.3153808116912842, 0.2134173959493637, -0.08054140210151672, -0.5806008577346802, 0.11003565043210983, -0.17445062100887299, 0.49494510889053345, 0.41487768292427063, -0.013694919645786285, 0.476056843996048, -0.6124035120010376, 0.6173837184906006, 0.196236714720726, -1.0315680503845215, 0.7821437120437622, -0.44074997305870056, -0.012075230479240417, 0.3299858868122101, 0.5111935138702393, -0.7605768442153931, -0.6718528270721436, -0.5130887031555176, -1.0436183214187622, 0.33708542585372925, 0.16605067253112793, 0.4950946867465973, 0.053946830332279205, 0.20290954411029816, 0.12326040118932724, 0.15461313724517822, -0.5911954641342163, -0.17783904075622559, -0.08779248595237732, -0.16671216487884521, -0.23980382084846497, 0.13332760334014893, -0.5360657572746277, -0.11362025141716003, -0.04309767857193947, -0.10056346654891968, 0.6388245224952698, -0.4596138298511505, -0.29329535365104675, -0.07316482812166214, 0.054992999881505966, 0.33499154448509216, 0.5575946569442749, -0.011447826400399208, 0.35875964164733887, 0.010914181359112263, -0.2502565383911133, 0.2561061382293701, -0.3894290030002594, -0.011052661575376987, 0.05447167530655861, 0.7318826913833618, 0.5422198176383972, 0.04108200594782829, -0.7495152950286865, 0.35865575075149536, 0.5815197229385376, -0.3024270832538605, -0.23767320811748505, 0.11144077777862549, -0.22092759609222412, 0.0909925177693367, 0.07953086495399475, -0.04560320824384689, 0.1246301457285881, -0.630487859249115, 0.22738052904605865, 0.4814029037952423, -0.21596917510032654, -0.38598188757896423, 0.4862491488456726, 0.07727529108524323, -0.12590138614177704, 0.40678590536117554, 0.12528422474861145, -0.48392781615257263, 0.783841609954834, 0.4521123468875885, 0.6198093295097351, 0.08061959594488144, 0.4803881049156189, 0.17138023674488068, 0.5788031816482544, -0.0468389056622982, 0.3229941129684448, -0.06261707097291946, -0.9045282602310181, -0.30702027678489685, -0.22249233722686768, -0.7522844076156616, -0.3886716067790985, -0.6575842499732971, 0.004555427934974432, -0.7487850785255432, -0.048416439443826675, -0.26916229724884033, -0.06892868876457214, -0.5759623646736145, 0.29163920879364014, 0.20673784613609314, 0.48623377084732056, -1.2890719175338745, 0.5678575038909912, 0.9614815711975098, -0.5913543105125427, -0.5540300011634827, -0.07397869229316711, -0.17756718397140503, -0.8285113573074341, 0.9689745306968689, -0.10253970324993134, -0.6333646178245544, -0.3530098795890808, -0.7422638535499573, -0.9040889739990234, 0.834272563457489, 0.5166643261909485, -0.2687971293926239, -0.011279389262199402, 0.3230786621570587, 0.5411165952682495, -0.09759692847728729, 0.004618394188582897, 0.4019095003604889, 0.6202546954154968, -0.03673721104860306, -0.5840865969657898, 0.2483954280614853, 0.09862588346004486, 0.10237450897693634, 0.19140668213367462, -0.5844082236289978, 0.7071892023086548, 0.2738937437534332, -0.5529446005821228, -0.2390725314617157, 0.4443848133087158, 0.17155975103378296, 0.1882636398077011, 0.41520506143569946, 0.41448888182640076, 0.6355762481689453, -0.2582778334617615, 1.1980974674224854, -0.43638375401496887, 0.32241079211235046, 0.5465052723884583, -0.3643874228000641, 0.7028566002845764, 0.5106114149093628, -0.5270545482635498, 0.5062081813812256, 0.5242040753364563, 0.1311095803976059, 0.6365508437156677, 0.46499618887901306, 0.08640338480472565, -0.27044543623924255, -0.11547622829675674, -0.5011228919029236, 0.4194125235080719, 0.4673311710357666, -0.13460995256900787, -0.20307043194770813, 0.19887445867061615, 0.057563845068216324, 0.42407670617103577, 0.20093020796775818, 0.5044149160385132, 0.09543720632791519, -0.1644526571035385, 0.36382201313972473, 0.0757896825671196, 0.44008174538612366, -0.37770795822143555, -0.30570465326309204, -0.052142880856990814, 0.07277214527130127, -0.23048803210258484, -0.912077784538269, 0.3874826431274414, -0.39077305793762207, 0.07566972076892853, -0.8392354846000671, 0.6837212443351746, -0.25562965869903564, -0.09460830688476562, 0.546531617641449, 0.6362813711166382, 0.33682453632354736, 0.35909339785575867, -0.5845582485198975, 0.26314476132392883, -0.5184853076934814, -0.05535748228430748, 0.1923639327287674, 0.6726827621459961, -0.036540161818265915, 0.83866286277771, 0.6189046502113342, 0.12765978276729584, -0.05011475086212158, -0.03737815096974373, 0.9466263055801392, -0.8296876549720764, -0.5306955575942993, -0.48688817024230957, 0.3177643120288849, 0.29577067494392395, -0.26896005868911743, 0.6914857029914856, 0.18880261480808258, 0.9384256601333618, -0.19461162388324738, 0.8012102842330933, -0.23975972831249237, 0.15253840386867523, -0.8523195385932922, 0.5529556274414062, -0.4196350872516632, -0.1324244886636734, -0.5381098389625549, -0.7071364521980286, -0.6836563944816589, 1.2830640077590942, -0.43646836280822754, 0.08715811371803284, 0.6883193254470825, 0.3862350881099701, 0.047427333891391754, -0.42724883556365967, 0.5562362670898438, -0.12327227741479874, 0.24212141335010529, 0.525139570236206, 1.2216613292694092, -0.43954896926879883, 0.02167462557554245, 0.05634618550539017, -0.11529754102230072, -0.15043224394321442, -0.5163918733596802, -0.9031234383583069, -0.6956743001937866, -0.26089921593666077, -0.28107669949531555, 0.12518522143363953, 0.8030275702476501, 0.7875186800956726, -0.6290183067321777, -0.39691993594169617, -0.0833561047911644, 0.3970906734466553, -0.14132744073867798, -0.10697687417268753, 0.3360191285610199, -0.4520089328289032, -0.6498110294342041, 0.34270650148391724, 0.32152441143989563, -0.16688525676727295, -0.2623065412044525, -0.39616915583610535, -0.11632101982831955, -0.0998547375202179, 0.8879923820495605, 0.5118439793586731, -0.8389350175857544, -0.6839115023612976, 0.05824653059244156, -0.2574825882911682, 0.06050299108028412, 0.8105922937393188, -0.7623144388198853, 0.22649958729743958, 0.42475634813308716, 0.9151171445846558, 0.004102400504052639, -0.2768380045890808, 0.8328404426574707, -0.5565741062164307, 0.6131803393363953, 0.2722145617008209, 0.18057775497436523, 0.04646829888224602, -0.2041144073009491, 0.8140769004821777, -0.023272400721907616, -0.3285272717475891, -0.6431589126586914, 0.5105339288711548, -1.1502755880355835, -0.3149120807647705, 1.258853793144226, -0.09516528993844986, 0.13905073702335358, -0.2622706890106201, -0.15992973744869232, 0.32123926281929016, -0.10485467314720154, 0.5783612132072449, 0.7839807868003845, 0.12392792850732803, 0.026793764904141426, -0.8219913244247437, 0.2531507611274719, 0.36438611149787903, -0.7429884672164917, -0.1684364676475525, 0.48365601897239685, -0.16393446922302246, 0.2550525665283203, 0.3869451582431793, 0.028168508782982826, 0.04349682480096817, 0.12918293476104736, 0.23678523302078247, 0.3342030644416809, -0.6745039820671082, -0.40930071473121643, 0.15526969730854034, 0.0342145711183548, -0.39313453435897827 ]
http://arxiv.org/abs/2405.13233v1
http://arxiv.org/pdf/2405.13233v1
MELD-ST: An Emotion-aware Speech Translation Dataset
2024-05-21T22:40:38
2024-05-21T22:40:38
Sirou Chen, Sakiko Yahata, Shuichiro Shimizu, Zhengdong Yang, Yihang Li, Chenhui Chu, Sadao Kurohashi
cs.CL
cs.CL
Emotion plays a crucial role in human conversation. This paper underscores the significance of considering emotion in speech translation. We present the MELD-ST dataset for the emotion-aware speech translation task, comprising English-to-Japanese and English-to-German language pairs. Each language pair includes about 10,000 utterances annotated with emotion labels from the MELD dataset. Baseline experiments using the SeamlessM4T model on the dataset indicate that fine-tuning with emotion labels can enhance translation performance in some settings, highlighting the need for further research in emotion-aware speech translation systems.
[ -0.44339144229888916, -0.5962674617767334, 0.21578986942768097, 0.3045969009399414, -0.5365375280380249, 0.18461598455905914, -0.25581514835357666, -0.4643484354019165, 0.25559213757514954, 0.31731441617012024, -0.460279643535614, -0.730800986289978, -0.7567840218544006, 0.18757256865501404, -0.46951404213905334, 1.3122775554656982, -0.3346864879131317, 0.10154286026954651, -0.08155462145805359, -0.4596593976020813, -0.21577423810958862, -0.5713858604431152, -0.685565173625946, -0.12589694559574127, 0.6968131065368652, 0.5657671689987183, 0.6975581049919128, 0.44434037804603577, 0.7065131664276123, 0.17048943042755127, 0.016273608431220055, -0.1705351322889328, -0.5835992097854614, 0.4107835590839386, 0.057358574122190475, -0.45587190985679626, -0.6697275638580322, -0.022834502160549164, 0.5476999878883362, 0.3856554329395294, -0.16197910904884338, 0.0750972330570221, -0.12313611060380936, 0.7787157297134399, -0.25301796197891235, -0.04910307750105858, -0.20829202234745026, 0.42816585302352905, -0.7153196334838867, 0.05548151955008507, -0.4074297845363617, -0.47446349263191223, 0.2254214733839035, -0.19262753427028656, 0.032503675669431686, 0.18699373304843903, 0.5236889719963074, 0.4731955826282501, -0.7658581733703613, 0.050939470529556274, -0.706310510635376, 0.44658544659614563, -0.5767942070960999, 0.376412570476532, 0.2450893372297287, 0.1573295146226883, 0.036702726036310196, -0.45149704813957214, -0.5802335739135742, 0.4680107831954956, 0.08950523287057877, 0.45779335498809814, -0.2478329837322235, 0.3990303874015808, 0.31516221165657043, 0.6372067332267761, -0.7684765458106995, -0.11970208585262299, -0.16237202286720276, 0.08633933961391449, 0.8835801482200623, 0.14509940147399902, 0.6335695385932922, -0.12684006989002228, -0.08555801212787628, -0.1275261491537094, -0.34110990166664124, -0.03801834210753441, 0.2573285400867462, 0.2615968585014343, -0.5429638624191284, 0.7252709865570068, 0.09376271069049835, 0.599759578704834, -0.28960075974464417, 0.20842613279819489, 0.5292215347290039, -0.1614338606595993, -0.3838110864162445, 0.3844192624092102, 0.797362208366394, 0.40068385004997253, 0.39426934719085693, -0.07425043731927872, -0.18626433610916138, 0.4178333282470703, 0.08818361908197403, -0.5747793912887573, -0.12816666066646576, 0.2994982600212097, -0.1551894247531891, -0.14483056962490082, -0.21019388735294342, -0.9417712688446045, -0.14631973206996918, -0.38519516587257385, 0.2852543592453003, -0.42152294516563416, -0.3518329858779907, 0.027069002389907837, -0.16517864167690277, -0.1070784404873848, 0.06198437884449959, -0.7327947616577148, 0.1180848628282547, 0.44551971554756165, 0.6911305785179138, -0.3270165026187897, -0.09223278611898422, -0.31574350595474243, -0.03163359314203262, -0.4585297107696533, 0.5127792954444885, -0.6985745429992676, -0.6920787692070007, -0.12491276860237122, 0.011182313784956932, -0.3720836341381073, -0.38150984048843384, 0.9429680109024048, -0.01512184739112854, 0.056498151272535324, -0.3005372881889343, -0.5426187515258789, -0.2674315869808197, -0.057942479848861694, -0.363606721162796, 1.1427583694458008, 0.3629344403743744, -0.9049899578094482, 0.09137381613254547, -0.6860710978507996, -0.9794065356254578, 0.09504025429487228, 0.10842949897050858, -0.3252412676811218, 0.4127649664878845, 0.01380092278122902, 0.37316960096359253, -0.11956275254487991, 0.1914806365966797, -0.22843681275844574, 0.00219880067743361, 0.3020155429840088, -0.30767232179641724, 0.2100224643945694, 0.4978101849555969, -0.45512956380844116, 0.10153330117464066, -0.553000807762146, -0.3122251629829407, 0.04948573559522629, -0.3032951354980469, -0.5256407856941223, -0.00296937208622694, 0.028298912569880486, 0.394162654876709, 0.14882536232471466, -0.527338445186615, -0.07234308123588562, -0.4996967911720276, 0.3019391596317291, 0.7034797072410583, -0.15322846174240112, 0.3402951657772064, 0.09106891602277756, 0.8299154043197632, 0.40938588976860046, 0.09204716235399246, -0.27342528104782104, -0.7676103115081787, -0.7923373579978943, -0.045764122158288956, 0.2613856792449951, 0.8147196769714355, -0.7610511779785156, 0.2874363958835602, -0.16870175302028656, -0.4455620348453522, -1.3216652870178223, -0.2591218054294586, 0.5156691670417786, 0.648962140083313, 0.3172735571861267, -0.17484280467033386, -0.4121699333190918, -0.9400076270103455, -0.2118556648492813, 0.2593267261981964, 0.1301436424255371, 0.5856285691261292, 0.25445181131362915, -0.42739149928092957, 0.6970531940460205, -0.2200484722852707, -0.05581876263022423, -0.02027975022792816, 0.44961535930633545, -0.20882181823253632, 0.47255751490592957, 0.44490310549736023, -0.886258602142334, -0.7121648192405701, 0.3651838004589081, -0.6270238161087036, -0.30971524119377136, 0.1132022961974144, -0.5915146470069885, 0.20106884837150574, 0.08134900778532028, -0.46534180641174316, 0.5117916464805603, 0.944840133190155, -0.4235510528087616, 0.19360746443271637, -0.08139045536518097, 0.6479462385177612, -1.423760175704956, 0.1295243799686432, -0.04199625551700592, -0.4027349352836609, -0.9259521961212158, -0.38150495290756226, -0.020703837275505066, -0.2705767750740051, -0.6513106822967529, 0.4063582122325897, -0.21080319583415985, -0.45841801166534424, -0.00612410344183445, 0.5509300231933594, -0.16290663182735443, 0.22160378098487854, -0.04032397270202637, 0.7783346772193909, 0.5870164632797241, -0.43324440717697144, 0.5044010281562805, 0.5720733404159546, -0.24204498529434204, 1.0881623029708862, -0.19168531894683838, 0.2349667102098465, -0.2995532155036926, 0.12398166954517365, -0.900720477104187, -0.2338775247335434, 0.19609251618385315, -0.38219451904296875, 0.3854902386665344, -0.0026490045711398125, -0.2564418613910675, -0.5720592737197876, 0.18660090863704681, 0.5703510046005249, 0.35396429896354675, -0.12400462478399277, 0.5056073665618896, 0.4763951897621155, -0.8848042488098145, -0.14068281650543213, -0.9178224205970764, 0.31224146485328674, -0.2569127678871155, -0.6346200704574585, 0.2538769543170929, -0.2679702639579773, -0.07486031949520111, -0.09744962304830551, -0.06896331161260605, 0.2630232274532318, -0.048233095556497574, 0.38753631711006165, 0.09784775227308273, -0.16730767488479614, 0.0733284130692482, 0.2804507911205292, -0.12365217506885529, -0.029210824519395828, 0.11506260186433792, 0.45081213116645813, -0.00195352453738451, -0.28909724950790405, -0.4603790044784546, 0.6884855628013611, 0.8670616149902344, -0.22851325571537018, 0.36168742179870605, 0.8225640654563904, -0.40364667773246765, 0.0671369805932045, -0.14476065337657928, 0.12382809072732925, -0.35844141244888306, 0.3035026788711548, -0.6220380663871765, -0.9521294236183167, 0.44935891032218933, -0.016901714727282524, -0.09698335081338882, 0.4974781274795532, 0.4579002559185028, -0.4857929050922394, 1.524358868598938, 0.31627127528190613, -0.5435773730278015, 0.4926735758781433, 0.16192062199115753, 0.36740440130233765, -1.0022155046463013, -0.06213921681046486, -0.6657004356384277, -0.904771625995636, -0.4576234221458435, -0.39686328172683716, 0.17952489852905273, -0.2312600165605545, -0.07213922590017319, 0.233669713139534, -0.48567870259284973, 0.13472582399845123, 0.40114733576774597, -0.16345544159412384, -0.09074702858924866, -0.12836621701717377, 0.08485819399356842, -0.4448922574520111, -0.4547269940376282, -0.1526031792163849, 0.6760395169258118, 0.16610509157180786, 0.5419860482215881, 0.060588035732507706, 0.4597378373146057, 0.38394370675086975, 0.20416425168514252, -0.6326391100883484, 0.4082295894622803, -0.591352105140686, -0.4102294147014618, -0.03985393047332764, -0.8094423413276672, -0.8566641211509705, 0.05671302601695061, -0.09464040398597717, -0.5742468237876892, 0.11562100052833557, 0.1333969533443451, -0.061482202261686325, 0.07932642847299576, -0.8050256371498108, 1.059537649154663, -0.6024368405342102, 0.20561173558235168, -0.41236963868141174, -0.8583968877792358, 0.4169888198375702, -0.0896366536617279, 0.3192926347255707, -0.4790286719799042, 0.44972825050354004, 0.8528888821601868, 0.03893831744790077, 0.4729560911655426, -0.17269998788833618, -0.1748184710741043, -0.01811000145971775, 0.2446315735578537, 0.5667641758918762, -0.38042256236076355, -0.13855047523975372, 0.03206588700413704, -0.21872201561927795, -0.20883767306804657, -0.2135390341281891, 0.5814069509506226, -0.5485523343086243, -0.2724657654762268, -0.2432113140821457, -0.8353742361068726, -0.22094835340976715, 0.00948092620819807, 0.43365558981895447, 0.20624926686286926, -0.27702757716178894, 0.002833183389157057, 0.8373199105262756, -0.3322307765483856, 0.31887316703796387, 0.32847967743873596, -0.26507073640823364, -0.48169174790382385, 0.9049862027168274, 0.0886935293674469, 0.45286107063293457, 0.2746729552745819, -0.06830041110515594, -0.37149378657341003, -0.008341360837221146, -0.6277057528495789, 0.16245926916599274, -0.5179558396339417, -0.18664266169071198, -0.716745138168335, -0.01587149314582348, -0.5633454322814941, -0.38688206672668457, -0.5000885725021362, -0.2589326798915863, -0.4158116281032562, -0.46629592776298523, 0.5680288076400757, 0.6837870478630066, 0.12623627483844757, 0.3130107522010803, -0.9700810313224792, 0.5855161547660828, 0.2272699922323227, 0.34718504548072815, -0.5529149174690247, -0.5789198279380798, -0.1695108562707901, 0.38621363043785095, 0.08519776165485382, -0.9910202622413635, 0.6869961023330688, 0.4308386743068695, 0.31748008728027344, 0.5994167923927307, 0.28436949849128723, 0.7371861934661865, -0.4722661077976227, 0.8929117321968079, 0.13882750272750854, -1.1167998313903809, 0.9480774998664856, -0.3689563274383545, 0.34631773829460144, 0.30949586629867554, 0.29014959931373596, -1.0880831480026245, -0.49176332354545593, -0.6843258142471313, -1.002295732498169, 0.9499847888946533, 0.22673818469047546, -0.044580794870853424, 0.07839063555002213, 0.12373960018157959, -0.06315457075834274, 0.4828479588031769, -0.2823196053504944, -0.44394832849502563, -0.002035562414675951, -0.7725923657417297, -0.45534417033195496, -0.2838881015777588, -0.24535490572452545, -0.19881875813007355, 0.5523143410682678, 0.1425025910139084, 0.47092071175575256, 0.039500512182712555, -0.07662586122751236, -0.3725968301296234, 0.3892020881175995, 0.772055447101593, -0.3220600485801697, -0.24203439056873322, 0.270102322101593, 0.1333654373884201, -0.4013553857803345, 0.21888728439807892, 0.15348544716835022, 0.03632437437772751, 0.12668532133102417, -0.2995111644268036, 1.328984260559082, 0.3599577844142914, -0.542951762676239, 0.5362027287483215, 0.0023829315323382616, -0.09447644650936127, 0.2957030236721039, -0.22250701487064362, 0.24911855161190033, 0.22650955617427826, -0.12065799534320831, 0.2750746011734009, 0.23837395012378693, -0.3764083683490753, 0.3172614872455597, 0.07475197315216064, -0.6538049578666687, -0.6319144368171692, 0.8332220911979675, 0.5570341944694519, -0.3693998456001282, 0.5037962198257446, -0.1750565469264984, -0.8174359798431396, 0.49097684025764465, 0.6071210503578186, 1.0481820106506348, -0.8078449964523315, 0.2742564380168915, 0.14617517590522766, 0.2094692438840866, -0.09136873483657837, 0.5884844064712524, -0.07739271223545074, -0.4834841787815094, -0.2336980104446411, -0.6915691494941711, -0.548390805721283, -0.4966186285018921, -0.9772310256958008, 0.13390955328941345, 0.16131491959095, -0.3424220681190491, -0.3474096953868866, -0.5208981037139893, -0.6565054059028625, 0.5437470078468323, 0.6154161691665649, 0.6404406428337097, -1.1131311655044556, 0.9546928405761719, 0.6918477416038513, -0.07580969482660294, -0.4531949758529663, -0.5566442012786865, 0.08557598292827606, -0.4878722131252289, 0.16518445312976837, -0.04967847466468811, -0.12262816727161407, 0.4595506191253662, -0.25701162219047546, -0.6934234499931335, 0.8789278864860535, 0.5465722680091858, -0.7509564757347107, 0.4964219331741333, 0.3634292483329773, 0.6219438314437866, -0.3911309242248535, -0.07731060683727264, 0.8517363667488098, 0.5893751382827759, -0.02519827149808407, -0.8182024955749512, -0.33035939931869507, -0.440238893032074, 0.06873629242181778, 0.3855980932712555, -0.47659724950790405, 0.5686216950416565, 0.0020109948236495256, -0.4904264807701111, -0.4251566529273987, 0.47266441583633423, 0.024310683831572533, 0.47482606768608093, 0.35805150866508484, 0.8968534469604492, 0.747667133808136, -0.5495157837867737, 0.8558138608932495, -0.27744945883750916, 0.0009730292949825525, 0.9752050042152405, -0.4641273021697998, 1.068293809890747, 0.28129616379737854, -0.23265278339385986, 0.014236362650990486, 0.8614618182182312, 0.251510888338089, 0.43617844581604004, 0.05761129409074783, -0.5630452632904053, -0.06325232237577438, -0.32654833793640137, -0.5017819404602051, 0.1507260799407959, 0.6897784471511841, -0.28398898243904114, 0.24094511568546295, 0.5983404517173767, 0.23112894594669342, -0.2346055805683136, -0.23438866436481476, 0.956766664981842, 0.36787813901901245, -0.5270730257034302, 0.1670384705066681, -0.19322815537452698, 0.7368367910385132, -0.4979233145713806, 0.36487942934036255, -0.6326704621315002, -0.1409158855676651, -0.2877359986305237, -1.00928795337677, 0.43717125058174133, 0.3386586010456085, -0.13703706860542297, -0.40199920535087585, 0.4175748825073242, -1.0660403966903687, -0.27653083205223083, 0.4239766001701355, 0.12931667268276215, 0.48707109689712524, -0.15002402663230896, -0.5752352476119995, 0.21853937208652496, 0.4300841987133026, -0.35010209679603577, 0.31543809175491333, 0.7347869873046875, 0.17224526405334473, 0.5198054313659668, 0.38957786560058594, 0.17807310819625854, 0.23168420791625977, 0.2589828073978424, 0.4035418629646301, -0.9302152991294861, -0.5396232604980469, -0.5749124884605408, 0.860305905342102, 0.1522190421819687, -0.38160496950149536, 0.47651031613349915, 0.5383415818214417, 0.5848652124404907, -0.017445556819438934, 1.1643620729446411, -0.10142751783132553, 0.48007142543792725, -0.22718177735805511, 0.6515200734138489, -0.47120052576065063, -0.38935020565986633, -0.6236420273780823, -0.7922480702400208, -0.36207735538482666, 0.545831561088562, -0.10846979171037674, -0.27991387248039246, 0.5888408422470093, 0.5217894315719604, 0.09346707910299301, 0.34211626648902893, 0.49631017446517944, 0.37044912576675415, 0.16911084949970245, 0.5929548740386963, 0.4254201650619507, -0.6059207320213318, 0.47397464513778687, -0.17903463542461395, 0.029761383309960365, -0.37350139021873474, -0.7344273328781128, -0.27750247716903687, -0.6679987907409668, -0.6224251389503479, -0.1293899267911911, -0.042604945600032806, 0.6593347191810608, 0.4967837333679199, -0.8342435359954834, 0.00353600992821157, 0.050998374819755554, -0.06419578194618225, -0.21217584609985352, -0.18475796282291412, 0.11804774403572083, -0.14303843677043915, -0.900619626045227, 0.6265909671783447, 0.6289544105529785, 0.5829737782478333, 0.2747539281845093, -0.3436194360256195, 0.00802698452025652, 0.05755845084786415, 0.702974259853363, 0.21443204581737518, -0.5367709398269653, -0.26292848587036133, -0.28707748651504517, -0.35144779086112976, 0.15887318551540375, 0.6424298882484436, -0.12638869881629944, 0.8065138459205627, 0.6301408410072327, 0.6629135608673096, 0.7110440135002136, 0.15296490490436554, 0.9170369505882263, -1.0415244102478027, 0.1516561210155487, 0.2235807627439499, 0.33455759286880493, 0.5359784960746765, -0.29337042570114136, 0.599376916885376, 0.33523136377334595, -0.8522995114326477, -0.8209224939346313, 0.16665998101234436, -1.2067234516143799, 0.3273829519748688, 0.9316444396972656, -0.33958950638771057, -0.04492088407278061, -0.0018077943241223693, -0.4251925051212311, 0.6528329253196716, -0.5489488840103149, 0.4468013346195221, 0.88206547498703, -0.08808392286300659, -0.5085809230804443, -0.6905489563941956, 0.6479882597923279, 0.5781176686286926, -0.9918986558914185, 0.3444698452949524, 0.5296146273612976, -0.23520901799201965, -0.1705174297094345, 0.5634418725967407, 0.01140268612653017, 0.010590190067887306, -0.00120141776278615, 0.4847818911075592, 0.5662606954574585, -0.11909671127796173, -0.38377994298934937, -0.2513475716114044, -0.23435719311237335, -0.3550352454185486 ]
http://arxiv.org/abs/2405.13226v1
http://arxiv.org/pdf/2405.13226v1
Dataset Decomposition: Faster LLM Training with Variable Sequence Length Curriculum
2024-05-21T22:26:01
2024-05-21T22:26:01
Hadi Pouransari, Chun-Liang Li, Jen-Hao Rick Chang, Pavan Kumar Anasosalu Vasu, Cem Koc, Vaishaal Shankar, Oncel Tuzel
cs.CL
cs.CL, cs.LG
Large language models (LLMs) are commonly trained on datasets consisting of fixed-length token sequences. These datasets are created by randomly concatenating documents of various lengths and then chunking them into sequences of a predetermined target length. However, this method of concatenation can lead to cross-document attention within a sequence, which is neither a desirable learning signal nor computationally efficient. Additionally, training on long sequences becomes computationally prohibitive due to the quadratic cost of attention. In this study, we introduce dataset decomposition, a novel variable sequence length training technique, to tackle these challenges. We decompose a dataset into a union of buckets, each containing sequences of the same size extracted from a unique document. During training, we use variable sequence length and batch size, sampling simultaneously from all buckets with a curriculum. In contrast to the concat-and-chunk baseline, which incurs a fixed attention cost at every step of training, our proposed method incurs a penalty proportional to the actual document lengths at each step, resulting in significant savings in training time. We train an 8k context-length 1B model at the same cost as a 2k context-length model trained with the baseline approach. Experiments on a web-scale corpus demonstrate that our approach significantly enhances performance on standard language evaluations and long-context benchmarks, reaching target accuracy 3x faster compared to the baseline. Our method not only enables efficient pretraining on long sequences but also scales effectively with dataset size. Lastly, we shed light on a critical yet less studied aspect of training large language models: the distribution and curriculum of sequence lengths, which results in a non-negligible difference in performance.
[ -0.3940409719944, -0.541259765625, 0.29090696573257446, 0.15208083391189575, -0.4944700300693512, 0.11826103180646896, -0.4490857720375061, -0.14339525997638702, -0.05513012409210205, 0.6004758477210999, -0.7075122594833374, -0.4623064398765564, -0.4594759941101074, 0.05491447076201439, -0.6531493663787842, 0.7705889344215393, 0.2293512225151062, 0.025536835193634033, -0.3824138641357422, -0.11993875354528427, -0.3433487117290497, -0.40761783719062805, -0.5148332118988037, -0.08646142482757568, 0.7344608306884766, 0.31848934292793274, 0.17031130194664001, 1.2340532541275024, 0.6046876311302185, 0.23312778770923615, -0.034048039466142654, 0.16257649660110474, -0.940365731716156, 0.25418615341186523, 0.07024690508842468, -0.35375624895095825, -0.11476071923971176, -0.03477533161640167, 0.9745015501976013, 0.9695709347724915, 0.012639190070331097, 0.5195878744125366, 0.013938083313405514, 0.9765501618385315, -0.8329851627349854, 0.20169369876384735, -0.4053736627101898, 0.04828937351703644, -0.3849661946296692, -0.2761152386665344, -0.5706096291542053, -0.21481376886367798, 0.13811950385570526, -0.40186870098114014, 0.4332082271575928, -0.09535142034292221, 0.4887118339538574, 0.5091971158981323, -0.19984328746795654, -0.03394266590476036, -0.6236061453819275, 0.8659443259239197, -0.3804098963737488, 0.5660596489906311, 0.17449651658535004, 0.19800886511802673, -0.016067324206233025, -0.5321967601776123, -0.5417495369911194, 0.26182663440704346, 0.11349622905254364, -0.005527506582438946, 0.2118031531572342, 0.09166959673166275, 0.5207780003547668, 0.5734933018684387, -0.8192001581192017, 0.15942659974098206, -0.533401608467102, -0.059235457330942154, 0.47745776176452637, 0.2623547911643982, -0.05583689734339714, -0.11557348817586899, -0.22349482774734497, -0.19965414702892303, -0.8331172466278076, -0.04203898832201958, 0.4364340007305145, 0.4718530774116516, -0.0027807436417788267, 0.4766624867916107, -0.0683998167514801, 0.6979488134384155, 0.09460765868425369, -0.42560645937919617, 0.15019017457962036, -0.4368317425251007, -0.35642439126968384, 0.11918368190526962, 0.5699329376220703, 0.27001631259918213, 0.24402093887329102, -0.1475623995065689, -0.09056919068098068, 0.22953565418720245, 0.13814988732337952, -0.9514303207397461, -0.1217365637421608, 0.323189914226532, -0.3184400200843811, -0.07003242522478104, -0.4169890880584717, -0.49146467447280884, -0.18490095436573029, -0.6133397817611694, -0.03488652780652046, -0.5366994738578796, 0.3631182909011841, 0.3071081042289734, 0.10711394995450974, 0.4737958312034607, 0.33351293206214905, -0.9174057245254517, 0.3272916376590729, 0.9120144248008728, 0.764049232006073, -0.23706842958927155, -0.10068245232105255, -1.0065611600875854, -0.07193075120449066, -0.2986305356025696, 0.5860342383384705, -0.46916285157203674, -0.2948509454727173, 0.07180151343345642, -0.22022846341133118, -0.08386612683534622, -0.5857970118522644, 0.27626925706863403, -0.5940452218055725, 0.1920109987258911, 0.020495127886533737, -0.8498960137367249, 0.05827813968062401, 0.26477712392807007, -0.7737091779708862, 1.0573993921279907, 0.3626624643802643, -0.8254242539405823, 0.27871695160865784, -0.4057426154613495, -0.6048009991645813, 0.15290644764900208, -0.19982989132404327, -0.527086615562439, -0.07672260701656342, 0.26124292612075806, 0.6005662679672241, -0.5764241218566895, 0.27750158309936523, -0.24219171702861786, -0.5322701930999756, 0.01979968696832657, -0.35586705803871155, 0.7060860991477966, -0.02097214385867119, -0.07047475874423981, -0.07073547691106796, -0.9875360131263733, 0.04608331248164177, -0.11448676884174347, -0.695613443851471, -0.25971129536628723, -0.1626431941986084, 0.14163237810134888, 0.1375790238380432, 0.10016150027513504, -0.3743177056312561, 0.2647457420825958, -0.597990870475769, 0.043361544609069824, 0.7229162454605103, 0.014404544606804848, 0.5767055749893188, -0.1736498326063156, 0.5515467524528503, -0.10667049139738083, 0.02091432921588421, -0.4821937084197998, 0.19078859686851501, -0.9875415563583374, -0.6445630192756653, 0.554655134677887, 0.2971274256706238, -0.7194948196411133, 0.44964277744293213, -0.6316239833831787, -0.18630743026733398, -0.6507103443145752, 0.23954768478870392, 0.6498302817344666, 0.5182262063026428, 0.30698370933532715, -0.5128792524337769, -0.6199049949645996, -0.795796811580658, -0.04598665237426758, 0.17873457074165344, -0.2690829634666443, -0.05268455296754837, 0.3066011369228363, -0.1127806231379509, 0.9064886569976807, -0.5951544046401978, -0.2962338924407959, -0.3438134789466858, 0.04173678904771805, 0.1927749067544937, 0.2546389698982239, 0.39140382409095764, -0.5120754241943359, -0.41846418380737305, -0.34919223189353943, -0.4416453540325165, 0.029752351343631744, -0.28316280245780945, 0.02357848361134529, 0.3157194256782532, 0.43622273206710815, -0.4723813533782959, 0.41554442048072815, 0.2970231771469116, 0.049221694469451904, 0.4091344177722931, -0.06241283938288689, -0.385863721370697, -0.9099990129470825, 0.09245775640010834, 0.07781628519296646, -0.22904136776924133, -0.517039954662323, -0.10226569324731827, 0.23472380638122559, -0.02947716787457466, -0.6391146183013916, 0.5233815908432007, -0.6499301195144653, -0.3612552583217621, -0.24455581605434418, -0.034593258053064346, -0.04129556193947792, 0.7037320137023926, 0.027487188577651978, 0.7414969205856323, 0.4647509455680847, -0.6628351807594299, 0.2862815856933594, 0.3284949064254761, -0.6489049196243286, 0.5020102858543396, -0.23077350854873657, 0.20941539108753204, -0.2524661421775818, 0.38281646370887756, -0.7348833084106445, -0.06378061324357986, -0.002131382003426552, -0.2133403867483139, 0.46195724606513977, -0.11485472321510315, -0.5864309072494507, -0.36033573746681213, -0.6436068415641785, 0.46557265520095825, 0.3262089788913727, -0.520105242729187, 0.27100232243537903, 0.31318292021751404, -0.07043652981519699, -0.7507579922676086, -0.6705144643783569, -0.12970098853111267, -0.35180333256721497, -0.508305549621582, 0.3241814076900482, -0.34660154581069946, -0.20107626914978027, -0.3066577911376953, -0.21520690619945526, 0.06218428909778595, -0.006531175225973129, 0.15916544198989868, 0.09296737611293793, -0.18071682751178741, 0.2391076236963272, -0.13991203904151917, -0.22190414369106293, -0.0630732923746109, -0.24607796967029572, 0.6481055021286011, 0.14576800167560577, -0.0794253945350647, -0.2894323170185089, 0.5782456994056702, 0.6417301893234253, -0.42192351818084717, 0.6641073822975159, 0.5398202538490295, -0.2871481776237488, -0.4617069661617279, -0.4312256872653961, 0.01148538663983345, -0.47038015723228455, 0.32956692576408386, -0.20921097695827484, -1.0108813047409058, 0.38984954357147217, -0.04109971225261688, 0.0711241364479065, 0.03417361155152321, 0.5742694735527039, 0.10091127455234528, 0.4631679356098175, 0.7813381552696228, -0.3939710855484009, 0.6820745468139648, -0.5670347809791565, 0.28007131814956665, -0.9553649425506592, -0.08692942559719086, -0.3750627040863037, -0.2996194660663605, -0.4491480886936188, -0.8625956177711487, 0.0849226713180542, -0.3360399305820465, -0.3919527232646942, 0.07613226026296616, -0.2557709515094757, 0.7599596381187439, 0.46849510073661804, 0.131912961602211, 0.01875673420727253, -0.04498026520013809, 0.19066965579986572, 0.2040657103061676, -0.7153850197792053, -0.0894235372543335, 1.3972465991973877, 0.25986552238464355, 0.6944676637649536, -0.16130724549293518, 1.0107853412628174, 0.2460879534482956, 0.2036246508359909, -1.2199435234069824, 0.6032297015190125, -0.2726891040802002, -0.09880949556827545, -0.645007312297821, -0.5117341876029968, -1.028920292854309, 0.16372260451316833, 0.12443487346172333, -0.609769880771637, 0.10606791824102402, -0.10666811466217041, -0.42186346650123596, -0.03691302612423897, -0.4869184195995331, 0.6378757953643799, -0.08844196051359177, -0.5036771893501282, -0.03314025700092316, -1.0030368566513062, 0.32137250900268555, -0.4407244324684143, 0.14878909289836884, -0.18666547536849976, 0.16105210781097412, 0.9138327240943909, -0.5418723821640015, 0.7128652930259705, 0.07028158754110336, -0.11143898963928223, 0.20096255838871002, -0.06305303424596786, 0.3693898618221283, -0.01154100988060236, 0.054912496358156204, -0.0365455187857151, -0.38122430443763733, -0.4664291441440582, -0.48406022787094116, 0.6122884154319763, -0.6430289149284363, -0.4659076929092407, -0.28097212314605713, -0.7415035367012024, -0.22212743759155273, 0.18426935374736786, 0.11017099767923355, 0.6064724922180176, -0.12785054743289948, 0.3798973560333252, 1.0140066146850586, 0.04447237029671669, 0.7027071714401245, 0.42313122749328613, 0.193964883685112, -0.375862181186676, 0.5732458829879761, 0.25214648246765137, 0.2275274395942688, 0.6647197008132935, -0.05431843176484108, -0.30716297030448914, -0.64475417137146, -0.04191263020038605, 0.25199949741363525, -0.8215060234069824, -0.34842193126678467, -0.580430269241333, -0.22738070785999298, -0.3560129404067993, -0.1927434206008911, -0.5437344908714294, -0.27633634209632874, -0.18173186480998993, -0.16926509141921997, 0.16485901176929474, 0.2885598838329315, 0.03632469102740288, 0.4601329565048218, -0.6825481057167053, 0.4315745532512665, 0.22513137757778168, 0.3873245418071747, -0.0797615796327591, -0.4806573688983917, -0.5981869697570801, -0.22270715236663818, -0.025979463011026382, -0.42584773898124695, 0.5918423533439636, 0.1762702614068985, 0.3098936080932617, 0.28826895356178284, 0.15100933611392975, 0.8615750670433044, -0.6783105731010437, 0.4950639307498932, 0.14611852169036865, -0.9254331588745117, 0.30784720182418823, -0.4477699100971222, 0.608573853969574, 0.6606530547142029, 0.34546059370040894, -0.5773168206214905, -0.2816232740879059, -0.5547923445701599, -1.2293999195098877, 0.8772154450416565, 0.09852384030818939, 0.007623735815286636, -0.1246650218963623, 0.2694915533065796, 0.20246455073356628, 0.07456625252962112, -0.3457549810409546, -0.3614487946033478, 0.35665470361709595, -0.34288156032562256, -0.3588557839393616, -0.46336036920547485, -0.2625507712364197, -0.3164936602115631, 0.4856826663017273, -0.31297940015792847, 0.35690608620643616, -0.1789252907037735, -0.44347426295280457, 0.18129712343215942, 0.07220160961151123, 0.4042493999004364, 0.6958327293395996, -0.34037235379219055, 0.1294039934873581, -0.08450962603092194, -0.49558591842651367, 0.2345762997865677, 0.005269037559628487, 0.1668223738670349, -0.08965522050857544, 0.5602306127548218, 0.6935900449752808, 0.3770018517971039, -0.6291465163230896, 0.49288442730903625, -0.24103118479251862, -0.14765219390392303, -0.2343195527791977, -0.0356108620762825, 0.15863348543643951, 0.2820751368999481, 0.3093293309211731, -0.35089418292045593, 0.09019484370946884, -0.4008997976779938, 0.4376077651977539, -0.17932502925395966, 0.007102147210389376, -0.08963406831026077, 0.21724039316177368, 0.12233248353004456, -0.2266838252544403, 0.9431485533714294, 0.09209217131137848, -0.3095802068710327, 0.8405185341835022, 0.41480502486228943, 0.8731148838996887, -0.17927518486976624, 0.1509905904531479, 0.2546307444572449, 0.023837948217988014, -0.23505957424640656, 0.08166748285293579, -0.19282327592372894, -0.5121589303016663, -0.504891574382782, -0.8476274013519287, -0.3682709038257599, 0.47238394618034363, -0.7503349781036377, 0.31672775745391846, -0.4298742413520813, 0.2309330254793167, 0.15057267248630524, 0.10530876368284225, -0.9842922687530518, 0.3877307176589966, 0.39220133423805237, 0.7889017462730408, -0.7605249881744385, 0.8848129510879517, 0.22982904314994812, -0.15608735382556915, -0.8092138767242432, 0.22593869268894196, -0.10573036223649979, -0.551237165927887, 0.6945132613182068, 0.6447858214378357, 0.16505765914916992, 0.004154623486101627, -0.36119914054870605, -1.0710039138793945, 0.9536926746368408, 0.5338972806930542, -0.7582173347473145, 0.09624764323234558, 0.373636931180954, 0.508520781993866, -0.37663745880126953, -0.02071000263094902, 0.7666625380516052, 0.1968821883201599, 0.0323910191655159, -0.6587356328964233, 0.015440886840224266, -0.1019192636013031, 0.20413298904895782, 0.3188571333885193, -0.7131981253623962, 0.7007841467857361, -0.014197343960404396, -0.17984792590141296, -0.15623274445533752, 0.6222753524780273, 0.015387961640954018, 0.1423242688179016, 0.25925353169441223, 0.5678129196166992, 0.9391434192657471, 0.02980690635740757, 0.9595332741737366, -0.24622628092765808, 0.5158446431159973, 1.401663899421692, -0.39903223514556885, 0.7351353764533997, 0.5886812806129456, -0.12401183694601059, 0.18669357895851135, 0.8148366808891296, 0.19193971157073975, 0.8064255714416504, 0.5851172208786011, -0.3167012929916382, -0.3552553355693817, 0.10283439606428146, -0.09530017524957657, 0.5154075026512146, 0.40510237216949463, -0.3187037408351898, -0.3865078091621399, 0.19407585263252258, 0.02925572544336319, -0.010455367155373096, -0.28095176815986633, 0.7385958433151245, 0.04366299510002136, -0.6372230648994446, 0.9703664183616638, -0.12347836047410965, 0.4651647210121155, -0.48946085572242737, 0.18110327422618866, -0.611943781375885, 0.5206494331359863, 0.05052405595779419, -0.6040248870849609, 0.20045822858810425, 0.0646234005689621, -0.45833486318588257, -0.45204663276672363, 0.3211773931980133, -0.5587860345840454, -0.32928115129470825, 0.1741226464509964, 0.24880656599998474, -0.0004117547068744898, 0.019083665683865547, -0.4062093198299408, 0.22980628907680511, -0.11793393641710281, -0.46971964836120605, 0.5199426412582397, 0.46677166223526, -0.22479498386383057, 0.8304662704467773, 0.6249771118164062, -0.3251396417617798, 0.04450901970267296, 0.14220045506954193, 1.2049529552459717, -0.712633490562439, -0.3979282081127167, -0.8385517001152039, 0.501645565032959, 0.03224354237318039, 0.004739089403301477, 0.4860750436782837, 1.0125458240509033, 1.0793132781982422, -0.21862629055976868, 0.8078014254570007, 0.22652967274188995, 0.38251081109046936, -0.5430766344070435, 0.34242311120033264, -0.2787102162837982, 0.39106154441833496, 0.04493590444326401, -0.7822161316871643, -0.585911750793457, 0.3799709677696228, -0.40451687574386597, -0.2981002926826477, 0.8331714868545532, 0.4972880780696869, 0.04555121809244156, -0.4342418611049652, 0.26475057005882263, -0.1474079191684723, 0.30120325088500977, 0.7112736701965332, 0.4805399477481842, -0.27706873416900635, 0.4576359689235687, -0.2619546949863434, -0.07232610136270523, -0.3852592706680298, -0.7191481590270996, -1.09424889087677, -0.38066592812538147, -0.3872896432876587, -0.0035901314113289118, 0.2877751886844635, 0.7628090381622314, 0.4994358718395233, -0.45040959119796753, -0.22852395474910736, 0.12741902470588684, 0.09168840944766998, -0.06980814039707184, -0.21649500727653503, 0.6782320737838745, -0.37458664178848267, -0.7448136806488037, 0.4064263105392456, 0.40971052646636963, -0.17972904443740845, -0.1864425390958786, 0.05654102936387062, -0.3298870921134949, 0.12070932239294052, 0.7137088179588318, 0.19836953282356262, -0.32910001277923584, -0.3485523760318756, 0.0004239612026140094, -0.2102978676557541, 0.3416963815689087, 0.7831069231033325, -0.9040124416351318, 0.5213184952735901, 0.6004544496536255, 0.887826144695282, 0.9268813133239746, -0.0585128590464592, 0.5806953310966492, -1.224934458732605, 0.34157416224479675, 0.27269768714904785, 0.3693792521953583, 0.3735704720020294, -0.549763023853302, 0.7019494771957397, 0.2309892624616623, -0.27234262228012085, -0.8920688629150391, 0.12692756950855255, -1.219550371170044, -0.1639728844165802, 1.1502338647842407, -0.3607427477836609, -0.5979210734367371, 0.14932282269001007, -0.06073823943734169, 0.4565926790237427, -0.24745990335941315, 0.7388390302658081, 0.5760536789894104, 0.09176894277334213, -0.21848611533641815, -0.2562374472618103, 0.3324682414531708, 0.22363685071468353, -0.7118021845817566, 0.47735998034477234, 0.6372973918914795, 0.40218842029571533, 0.04239726439118385, 0.6370044350624084, -0.031474027782678604, 0.27579692006111145, -0.05679420009255409, 0.12406577914953232, -0.060767125338315964, -0.484902560710907, -0.37844112515449524, 0.2013305276632309, -0.3162855803966522, -0.3401208221912384 ]
http://arxiv.org/abs/2405.13219v1
http://arxiv.org/pdf/2405.13219v1
How Reliable AI Chatbots are for Disease Prediction from Patient Complaints?
2024-05-21T22:00:13
2024-05-21T22:00:13
Ayesha Siddika Nipu, K M Sajjadul Islam, Praveen Madiraju
cs.AI
cs.AI, cs.CL
Artificial Intelligence (AI) chatbots leveraging Large Language Models (LLMs) are gaining traction in healthcare for their potential to automate patient interactions and aid clinical decision-making. This study examines the reliability of AI chatbots, specifically GPT 4.0, Claude 3 Opus, and Gemini Ultra 1.0, in predicting diseases from patient complaints in the emergency department. The methodology includes few-shot learning techniques to evaluate the chatbots' effectiveness in disease prediction. We also fine-tune the transformer-based model BERT and compare its performance with the AI chatbots. Results suggest that GPT 4.0 achieves high accuracy with increased few-shot data, while Gemini Ultra 1.0 performs well with fewer examples, and Claude 3 Opus maintains consistent performance. BERT's performance, however, is lower than all the chatbots, indicating limitations due to limited labeled data. Despite the chatbots' varying accuracy, none of them are sufficiently reliable for critical medical decision-making, underscoring the need for rigorous validation and human oversight. This study reflects that while AI chatbots have potential in healthcare, they should complement, not replace, human expertise to ensure patient safety. Further refinement and research are needed to improve AI-based healthcare applications' reliability for disease prediction.
[ 0.302381694316864, -0.6525484323501587, 0.9060694575309753, -0.03967445343732834, -0.023742152377963066, 0.1666412353515625, -0.0019752467051148415, -0.7991007566452026, 0.21726593375205994, 0.4110608994960785, -0.24967773258686066, -0.3799551725387573, -0.7275169491767883, 0.20904302597045898, -0.5155888795852661, 0.9958928823471069, 0.31499287486076355, 0.3696863353252411, -0.3667603135108948, 0.2646816074848175, -0.5396463871002197, -0.4948548972606659, -1.1118885278701782, -0.5637816786766052, 0.47715142369270325, 0.41090893745422363, 0.8540918827056885, 0.19323931634426117, 0.9116826057434082, 0.32722803950309753, 0.24184320867061615, 0.04912632703781128, -0.47425204515457153, 0.23997868597507477, 0.549473226070404, -0.7163354158401489, -0.28746309876441956, -0.3623228371143341, 0.014187023043632507, 0.3654797077178955, -0.19113771617412567, -0.2102043777704239, 0.016091009601950645, 0.6931502819061279, 0.16431759297847748, 0.4470245838165283, -0.7986305356025696, 0.231362447142601, -0.18415439128875732, -0.07325892895460129, -0.4036122262477875, -0.33021384477615356, 0.5076940655708313, -0.3328222930431366, 0.04911478981375694, 0.06330307573080063, 0.9583543539047241, 0.6151033639907837, -0.16665272414684296, -0.3408496677875519, -0.9347478747367859, 0.42128920555114746, -0.7215650081634521, 0.24185824394226074, 0.8605829477310181, 0.6768987774848938, -0.1864115595817566, -0.8274279236793518, -0.2850872874259949, -0.5834482908248901, -0.15363910794258118, 0.35334670543670654, -0.5354958176612854, 0.15252254903316498, 0.21915382146835327, 0.03206339105963707, -0.5358538627624512, 0.407254159450531, -0.5073526501655579, -0.4215107858181, 0.583479642868042, 0.23796889185905457, 0.43691715598106384, -0.37776196002960205, -0.24521900713443756, 0.17769914865493774, -0.8292075991630554, -0.10252008587121964, 0.04080469161272049, 0.12950176000595093, -0.2588960826396942, 0.33407074213027954, 0.015341599471867085, 0.39558109641075134, 0.10272824019193649, -0.41822537779808044, 0.2952055037021637, 0.07122044265270233, -0.2619783282279968, 0.056233931332826614, 1.0188900232315063, 0.39586716890335083, 0.24720999598503113, -0.3450455367565155, -0.06947630643844604, -0.03867048770189285, 0.6129800081253052, -0.5092354416847229, -0.767724335193634, 0.7404057383537292, -0.5296395421028137, -0.29240188002586365, -0.17733903229236603, -0.547447919845581, -0.582711398601532, 0.0175126064568758, 0.2012639343738556, -0.8428798317909241, -0.1221284493803978, -0.25179237127304077, 0.11967440694570541, -0.108512282371521, 0.6910189390182495, -0.663480818271637, 0.06960054486989975, 0.5064047574996948, 0.6469172239303589, -0.2721465229988098, -0.06770730018615723, -0.3622444272041321, -0.1564021110534668, -0.2994203567504883, 1.0716869831085205, -0.2476322501897812, -0.5712502598762512, -0.01430694293230772, -0.18135900795459747, -0.2413025200366974, -0.7156505584716797, 0.8259789347648621, -0.027246098965406418, -0.1100807711482048, 0.1883941888809204, -0.5918847918510437, 0.02764435112476349, 0.3738763928413391, -0.5940820574760437, 0.4927411377429962, 0.18934954702854156, -0.47734224796295166, 0.2926432490348816, -0.5722957253456116, -0.4764004349708557, 0.5022380352020264, -0.3285449743270874, -0.7514122128486633, 0.03456278145313263, 0.22579896450042725, 0.5018459558486938, -0.25992223620414734, 0.057131603360176086, -0.1846642792224884, -0.26120609045028687, 0.25511664152145386, -0.6108073592185974, 0.34492892026901245, 0.1087559387087822, -0.13242855668067932, 0.20495879650115967, -0.405221164226532, -0.0034855196718126535, 0.08615017682313919, -0.11270078271627426, 0.18362276256084442, 0.5150634050369263, -0.1607312560081482, 0.06520930677652359, -0.06986872106790543, -0.3310385048389435, 0.0974380150437355, -0.5337597727775574, 0.4589950442314148, 0.7027581334114075, -0.04922999069094658, -0.07179315388202667, -0.7418456077575684, 0.6096099019050598, 0.1310930997133255, 0.39563941955566406, -0.27740928530693054, -0.9755228757858276, -0.6594410538673401, -0.2019728571176529, 0.39748257398605347, 0.6140381693840027, -0.7712811231613159, 0.40236136317253113, -0.4053434133529663, -0.6754379272460938, -0.5718476176261902, -0.17835748195648193, 0.18713830411434174, 0.6808310747146606, 0.34830912947654724, 0.010545122437179089, -0.284199595451355, -0.7001242637634277, 0.059093788266181946, -0.6928256154060364, -0.19113631546497345, 0.7022241353988647, 0.21022948622703552, -0.6412418484687805, 0.5743898153305054, -0.04174432158470154, -0.5032903552055359, -0.5044317841529846, 0.1142624169588089, 0.11236508190631866, 0.2765604257583618, 0.5939235091209412, -0.4403465688228607, -0.5774260759353638, 0.09372537583112717, -0.6773279309272766, 0.18958735466003418, -0.020430736243724823, 0.40295642614364624, 0.4172435998916626, -0.029124710708856583, -0.5480449795722961, 0.7102795243263245, 0.854771077632904, 0.12465927004814148, 0.36409154534339905, -0.2877332270145416, 0.010970034636557102, -0.8676761984825134, -0.0814947634935379, 0.11540878564119339, -0.3688727915287018, -0.7848761081695557, -0.5448729395866394, -0.2375316619873047, -0.07956723868846893, -0.3366844356060028, 0.31495770812034607, 0.04487783834338188, 0.2868211567401886, -0.22923658788204193, -0.2496797889471054, -0.5416292548179626, -0.05391113460063934, -0.10725569725036621, 0.4698842465877533, 0.7385767102241516, -0.3396915793418884, 0.4759746789932251, 0.1429171860218048, -0.3599487245082855, 0.43566516041755676, -1.0937919616699219, 0.41214683651924133, 0.09228120744228363, 0.4052302837371826, -1.0506737232208252, -0.5190911889076233, 0.338852196931839, -0.7288637161254883, 0.2786909341812134, -0.21728552877902985, -0.5006699562072754, -0.7756665349006653, 0.010636549443006516, -0.03761735185980797, 0.6530417799949646, -0.17280952632427216, 0.535955548286438, 0.44338053464889526, -0.2674742043018341, -0.24819724261760712, -0.6697768568992615, 0.12556828558444977, 0.07710348069667816, -0.5211622714996338, -0.10656602680683136, 0.08808083087205887, -0.15578612685203552, -0.17414060235023499, -0.029736651107668877, -0.043401267379522324, 0.16966864466667175, 0.8147298693656921, 0.4503520131111145, 0.09436748921871185, 0.2961464822292328, -0.3028820753097534, -0.21564997732639313, 0.016114845871925354, 0.04117273539304733, 0.5768667459487915, -0.17258623242378235, -0.8176366686820984, -0.9287198185920715, 0.2814355492591858, 0.7142142057418823, 0.21720674633979797, 0.4430922269821167, 0.25854092836380005, -0.4792020618915558, 0.28286242485046387, -0.575846791267395, -0.5433250665664673, -0.37305372953414917, 0.3627368211746216, -0.16783036291599274, -0.6863003373146057, 0.38627544045448303, 0.11131872236728668, 0.15644648671150208, 0.5821388959884644, 0.5823260545730591, -0.5792863965034485, 1.1926177740097046, 0.463183730840683, -0.4176173210144043, -0.025229843333363533, 0.05382547527551651, 0.27711594104766846, -0.12434401363134384, -0.2664538621902466, -0.7187752723693848, -0.4131915867328644, -0.8048613667488098, -0.09880877286195755, 0.9301255941390991, -0.40796852111816406, -0.08323384076356888, -0.026117078959941864, -0.46012595295906067, 0.16894803941249847, 0.5581412315368652, 0.44670939445495605, 0.18058224022388458, -0.001310449093580246, 0.22423703968524933, 0.0367157906293869, -0.7998283505439758, -0.4709724485874176, 1.170624852180481, 0.5646858215332031, 0.8821559548377991, -0.006922051776200533, 0.7663803100585938, 0.41707074642181396, 0.4389115273952484, -0.8653610944747925, 0.10587922483682632, -0.17089267075061798, -0.44018998742103577, -0.36730673909187317, -0.5168177485466003, -1.2170437574386597, -0.3930927813053131, -0.31908929347991943, -0.7659378051757812, -0.40532687306404114, 0.3305331766605377, -0.7749660015106201, 0.19998551905155182, -0.757826566696167, 0.6396855711936951, -0.547065794467926, 0.17005304992198944, -0.2857610285282135, -0.9801812171936035, -0.024955041706562042, -0.05600019916892052, -0.0481170117855072, -0.29528895020484924, 0.40986204147338867, 0.5717974901199341, -0.5233728885650635, 1.0353748798370361, 0.22816196084022522, -0.0578148178756237, 0.02707848511636257, -0.04292571172118187, 0.5101993680000305, 0.17079117894172668, -0.16092588007450104, 0.5936067700386047, -0.03534136712551117, -0.26449185609817505, -0.2570250928401947, 0.49441277980804443, -1.0739128589630127, -0.5784169435501099, -0.5085507035255432, -0.15835702419281006, -0.5215607285499573, 0.13748744130134583, 0.3930453360080719, 0.4011634886264801, -0.08570984750986099, 0.0011569435009732842, 0.23326604068279266, -0.18140672147274017, 0.2454904168844223, 0.32408490777015686, 0.12026741355657578, -0.12194181978702545, 0.8285520672798157, -0.09765148162841797, 0.033528607338666916, 0.4339854419231415, 0.24618791043758392, -0.034864962100982666, -0.6894190311431885, -0.5229896903038025, 0.01841769926249981, -0.3934940695762634, -0.6089959740638733, -0.6864206790924072, -0.7133702635765076, -0.32310786843299866, 0.15507285296916962, -0.40762823820114136, 0.0025967468973249197, -0.30068400502204895, 0.05277320370078087, 0.514026939868927, 1.0136282444000244, 0.19189971685409546, 0.19349488615989685, -1.2280588150024414, 0.2278159111738205, 0.3271970748901367, 0.2273884266614914, -0.28391119837760925, -0.31962260603904724, -0.12270564585924149, 0.1890821009874344, -0.33533740043640137, -0.8754616379737854, 0.3266427516937256, 0.09860455989837646, 0.6174361705780029, 0.6810157895088196, 0.09675419330596924, 0.2403109222650528, -0.5228735208511353, 0.9694016575813293, 0.44296950101852417, -0.5604961514472961, 0.5980073809623718, -0.336616575717926, 0.01911173388361931, 0.4854503870010376, 0.4734589755535126, -0.6003586649894714, -0.5510228872299194, -0.8267898559570312, -0.5216718912124634, 0.5895657539367676, 0.1863020658493042, 0.14486581087112427, -0.05199028179049492, 0.11052753776311874, 0.1976308822631836, -0.16588401794433594, -0.2582549750804901, -0.43418678641319275, -0.04457750916481018, -0.2508847415447235, -0.029188767075538635, -0.1941979080438614, -0.16856542229652405, -0.08843353390693665, 0.3887122869491577, -0.20784872770309448, 0.6201053261756897, 0.13067488372325897, 0.2777614891529083, -0.38945016264915466, 0.19809743762016296, 0.6312554478645325, 0.7311070561408997, -0.14512161910533905, -0.14799553155899048, 0.029717635363340378, -0.5268643498420715, -0.25139719247817993, 0.19642286002635956, 0.07232359051704407, 0.33515307307243347, 0.4371018409729004, 0.6701924204826355, -0.06648128479719162, -0.8243484497070312, 0.5202711820602417, -0.11493100970983505, -0.1305609792470932, -0.47633618116378784, 0.08944395929574966, -0.14129458367824554, 0.12846294045448303, 0.15816468000411987, 0.42961740493774414, 0.02637665905058384, -0.4085249900817871, 0.28908219933509827, 0.395610511302948, -0.606329619884491, -0.3802185654640198, 0.7052066922187805, 0.5471357107162476, -0.45589786767959595, 1.0255059003829956, 0.11504638940095901, -0.5075150728225708, 0.6279541850090027, 0.3246469795703888, 0.659620463848114, -0.3147852420806885, 0.2963952422142029, 0.13384640216827393, 0.21634945273399353, -0.15582971274852753, 0.09370934218168259, 0.591192901134491, -0.6961842775344849, -0.40812164545059204, -0.18253162503242493, -0.9894161820411682, 0.16468356549739838, -0.19981816411018372, 0.288043737411499, -0.380004346370697, -0.42159584164619446, -0.021004624664783478, -0.15269532799720764, -0.5816307067871094, 0.14858390390872955, 0.5108580589294434, 0.6863390803337097, -0.4687648117542267, 0.739060640335083, 0.6670019626617432, -0.22937016189098358, -1.0459721088409424, 0.3482652008533478, 0.23885159194469452, -1.2457889318466187, 0.3575630784034729, 0.15354208648204803, 0.2776407301425934, -0.3529199957847595, -0.5443435311317444, -0.6584986448287964, 0.7301387786865234, 0.3751640319824219, -0.8512721657752991, -0.0010380558669567108, 0.24738524854183197, 0.7600085735321045, 0.03395349159836769, 0.741105318069458, 0.4012593924999237, 0.3948404788970947, 0.35294121503829956, -1.5024337768554688, -0.28041547536849976, -0.05524067580699921, -0.36043450236320496, 0.07837538421154022, -0.6621913313865662, 0.44834277033805847, -0.6316397190093994, -0.051326584070920944, 0.29072654247283936, 0.43369126319885254, 0.04769556224346161, 0.2646125555038452, 0.42111119627952576, 0.6033211946487427, 1.0069085359573364, -0.4121248126029968, 1.2883368730545044, -0.4680481553077698, 0.19975601136684418, 0.763702392578125, -0.33272334933280945, 0.7857720255851746, 0.023234903812408447, -0.3912983238697052, 0.44512370228767395, 0.480599582195282, 0.002272111363708973, 0.27958616614341736, 0.02945576049387455, -0.11469881981611252, -0.166960671544075, 0.1980113983154297, -0.3859851062297821, 0.5739607810974121, 0.5166525840759277, -0.41918453574180603, 0.05186787247657776, -0.011703112162649632, -0.0026566223241388798, -0.5329680442810059, -0.10054764896631241, 1.029679536819458, 0.006064120214432478, -0.675877571105957, 0.5523640513420105, -0.3089641034603119, 0.38014036417007446, -0.530989408493042, -0.11751589924097061, -0.13924077153205872, 0.3136988878250122, -0.22917704284191132, -0.5835917592048645, 0.13275015354156494, -0.11690529435873032, -0.0705348327755928, 0.07637981325387955, 0.8207235336303711, -0.13097354769706726, -0.6196617484092712, -0.15088939666748047, 0.6876097321510315, 0.6022999286651611, 0.0025683233980089426, -0.8514521718025208, 0.09422841668128967, 0.03343365713953972, 0.27218741178512573, 0.13876666128635406, 0.07581572234630585, 0.2218320369720459, 0.8379791975021362, 0.5198819041252136, 0.3303649127483368, -0.34312576055526733, 0.10913024097681046, 0.601427435874939, -0.32567113637924194, -0.019517993554472923, -0.8623132705688477, 0.32214322686195374, -0.030154429376125336, -0.26020386815071106, 0.424722820520401, 0.1336442083120346, 0.23273101449012756, 0.036713022738695145, 1.1207855939865112, 0.07473649084568024, 0.7859676480293274, -0.3350539207458496, 1.0430399179458618, -0.33670738339424133, 0.27889513969421387, -0.04034719616174698, -0.18486282229423523, -0.5114691853523254, 0.4461618959903717, -0.25899332761764526, 0.2452353686094284, 0.626859188079834, 0.39655664563179016, 0.34934309124946594, 0.2029828280210495, 0.5052931904792786, 0.503387987613678, 0.5688161253929138, 0.6740900874137878, 0.896651566028595, -0.2321309596300125, 0.4886054992675781, -0.2830810546875, -0.1450888067483902, -0.6866068243980408, -0.48422157764434814, -0.7232353687286377, -0.10314983874559402, -0.40607747435569763, -0.4289478063583374, 0.35022926330566406, 1.011017084121704, 0.9724318385124207, -0.9419464468955994, 0.2894325256347656, 0.07780981808900833, 0.022939225658774376, -0.13597355782985687, -0.1145651713013649, 0.42124441266059875, -0.48434582352638245, -0.6144340634346008, 0.28930163383483887, 0.4492276608943939, 0.2155381441116333, 0.0279860757291317, -0.03282779082655907, 0.6651278138160706, -0.18577219545841217, 0.3816208243370056, 0.36978650093078613, -0.9252059459686279, -0.4063554108142853, -0.007677759509533644, -0.43024659156799316, 0.31223055720329285, 0.4166828393936157, -0.7748191356658936, 0.2745012640953064, 0.0885096862912178, 0.7418996691703796, -0.06905146688222885, 0.06378108263015747, 0.48894086480140686, -0.2601587176322937, -0.3004706799983978, 0.6581283211708069, 0.6437414288520813, 0.29993540048599243, -0.4619683027267456, 0.3343764841556549, 0.1868627369403839, -0.8741185069084167, -0.4226365387439728, -0.15852117538452148, -0.937592089176178, 0.19373412430286407, 1.262452244758606, -0.20823442935943604, 0.015202617272734642, -0.35171207785606384, -0.3707588016986847, -0.1509961187839508, -0.7252554893493652, 1.1171456575393677, 0.3174288868904114, -0.8798059225082397, -0.13101834058761597, -0.5686283707618713, 0.6206148862838745, 0.44872426986694336, -1.0321133136749268, -0.1817336231470108, 0.41957205533981323, 0.06859371066093445, 0.3567822575569153, 0.6944179534912109, -0.06740991026163101, 0.48683321475982666, -0.2988245189189911, -0.31416887044906616, 0.26029402017593384, -0.26055917143821716, -0.015169719234108925, -0.09286727011203766, 0.0947406217455864, -0.14757107198238373 ]
http://arxiv.org/abs/2405.13216v1
http://arxiv.org/pdf/2405.13216v1
Equipping Transformer with Random-Access Reading for Long-Context Understanding
2024-05-21T21:41:07
2024-05-21T21:41:07
Chenghao Yang, Zi Yang, Nan Hua
cs.CL
cs.CL
Long-context modeling presents a significant challenge for transformer-based large language models (LLMs) due to the quadratic complexity of the self-attention mechanism and issues with length extrapolation caused by pretraining exclusively on short inputs. Existing methods address computational complexity through techniques such as text chunking, the kernel approach, and structured attention, and tackle length extrapolation problems through positional encoding, continued pretraining, and data engineering. These approaches typically require $\textbf{sequential access}$ to the document, necessitating reading from the first to the last token. We contend that for goal-oriented reading of long documents, such sequential access is not necessary, and a proficiently trained model can learn to omit hundreds of less pertinent tokens. Inspired by human reading behaviors and existing empirical observations, we propose $\textbf{random access}$, a novel reading strategy that enables transformers to efficiently process long documents without examining every token. Experimental results from pretraining, fine-tuning, and inference phases validate the efficacy of our method.
[ -0.3469558656215668, -0.5673107504844666, 0.7971832156181335, 0.30907002091407776, -0.5849300622940063, 0.09243524074554443, -0.2726896405220032, -0.6423195004463196, -0.03929007425904274, 0.5937211513519287, -0.8114606142044067, -0.3001081645488739, -0.6406918168067932, 0.25804394483566284, -0.647201657295227, 0.911708652973175, -0.09427390992641449, -0.3381001651287079, -0.15285393595695496, -0.020774656906723976, -0.370272696018219, -0.4729878902435303, -0.5935945510864258, -0.35031116008758545, 0.8689593076705933, 0.5663604140281677, 0.540623664855957, 0.6931930184364319, 0.40027737617492676, 0.24385179579257965, -0.10054515302181244, -0.08295932412147522, -0.679351806640625, 0.16872358322143555, -0.12728099524974823, -0.730216920375824, -0.16964875161647797, -0.16972845792770386, 0.8465949892997742, 0.530646562576294, 0.07135801762342453, 0.16119030117988586, 0.0011498612584546208, 0.614631175994873, -0.3899036645889282, 0.020986098796129227, -0.5214965343475342, 0.25383278727531433, -0.3893964886665344, -0.36254453659057617, -0.7377618551254272, 0.20031845569610596, 0.2579144835472107, -0.6243115663528442, 0.4361175000667572, 0.3442424237728119, 0.6263024210929871, 0.36564135551452637, -0.544285774230957, -0.26688504219055176, -1.0217859745025635, 0.8996709585189819, -0.28627389669418335, 0.6605734825134277, 0.5176639556884766, 0.2878076136112213, -0.013668314553797245, -0.8077475428581238, -0.7991493940353394, -0.039175741374492645, -0.28706327080726624, 0.06703419983386993, 0.06007400527596474, 0.05755065754055977, 0.3051084876060486, 0.11950190365314484, -0.340912789106369, 0.26999253034591675, -0.30171915888786316, 0.024775860831141472, 0.3434966802597046, 0.043030112981796265, -0.07334273308515549, -0.28737691044807434, -0.6094988584518433, -0.2192857563495636, -0.5309156775474548, 0.16294483840465546, 0.21235473453998566, -0.03714829683303833, -0.11953084915876389, 0.5051637291908264, 0.005330258049070835, 0.6943557262420654, 0.13234521448612213, -0.002880765125155449, 0.20447108149528503, -0.14177557826042175, -0.3193790316581726, -0.08253912627696991, 0.5470869541168213, -0.07904782891273499, 0.17349961400032043, -0.5533870458602905, -0.2270202487707138, -0.6848782896995544, 0.49154138565063477, -0.6777902841567993, 0.19471721351146698, 0.449149489402771, -0.28676360845565796, -0.22893616557121277, -0.08206261694431305, -0.7688156366348267, -0.21531617641448975, -0.5241435766220093, 0.37810182571411133, -0.39199745655059814, 0.20892292261123657, 0.03463936969637871, -0.07117858529090881, 0.43037083745002747, 0.1710594743490219, -1.2071223258972168, 0.17679063975811005, 0.7561537027359009, 0.8839083909988403, -0.3552018702030182, -0.5841039419174194, -0.6293259263038635, 0.237986758351326, 0.0739821195602417, 0.9216269254684448, -0.47762125730514526, -0.3827733099460602, -0.28963348269462585, 0.015978239476680756, -0.09228222817182541, -0.030071811750531197, 0.7749534845352173, -0.8623540997505188, 0.042771439999341965, 0.03157537803053856, -0.49743732810020447, 0.03724170848727226, 0.03351641446352005, -0.6627260446548462, 0.9504871368408203, 0.13684210181236267, -0.6845606565475464, 0.3824935853481293, -0.6608248949050903, -0.5422332882881165, -0.08479517698287964, -0.1391034573316574, -0.3613278269767761, 0.45375707745552063, 0.43371081352233887, 0.47310206294059753, -0.10846734791994095, 0.24922217428684235, -0.07239650189876556, -0.3664448857307434, 0.12698979675769806, -0.7480146884918213, 0.3706366717815399, 0.21344077587127686, -0.30664727091789246, 0.24390186369419098, -0.8538915514945984, -0.15287859737873077, 0.25031229853630066, -0.07093704491853714, -0.41163140535354614, 0.2784251272678375, 0.23157523572444916, 0.18966947495937347, 0.16079795360565186, -0.5734736919403076, 0.24277396500110626, -0.548542320728302, 0.3693216145038605, 0.9951054453849792, -0.3530859053134918, 0.8093249797821045, -0.13185010850429535, 0.36238518357276917, 0.18438927829265594, 0.17449630796909332, -0.6146944761276245, 0.06795745342969894, -0.8172705769538879, -0.3981113135814667, 0.253006249666214, 0.23199273645877838, -0.4365026354789734, 0.37578558921813965, -0.572252094745636, -0.35081759095191956, -0.3464161455631256, 0.192884624004364, 0.17920032143592834, 0.5662221312522888, 0.5067569017410278, -0.21164578199386597, -0.2476997673511505, -0.7906442880630493, -0.3189869225025177, 0.21393808722496033, -0.29914942383766174, 0.4156976342201233, 0.4192459285259247, -0.3535061776638031, 1.2029130458831787, -0.7283734083175659, -0.38536500930786133, -0.42499932646751404, 0.22623437643051147, 0.35498759150505066, 0.21347825229167938, 0.14613497257232666, -0.869392991065979, -0.24794359505176544, -0.192315936088562, -0.5591437220573425, 0.05829910188913345, -0.5882763266563416, -0.18739430606365204, 0.0483638234436512, 0.7133684158325195, -0.6006752848625183, 0.3042766749858856, 0.43408429622650146, -0.171528160572052, 0.34340789914131165, -0.2984142005443573, -0.35191527009010315, -1.0585682392120361, 0.11404331028461456, -0.0560588538646698, -0.5078740119934082, -0.6717103123664856, 0.21892249584197998, 0.28308555483818054, -0.10281187295913696, -0.46037209033966064, 0.7292330265045166, -0.6999006867408752, -0.08862581104040146, -0.35451674461364746, 0.013751043938100338, 0.15262801945209503, 0.5631905198097229, 0.33492007851600647, 0.784074604511261, 0.08926030993461609, -0.2659282088279724, -0.06137598305940628, 0.241619274020195, -0.3427537679672241, 0.34494850039482117, -0.7040458917617798, 0.4116308391094208, -0.4418206810951233, 0.6425389051437378, -0.912079930305481, -0.17876271903514862, 0.1530030071735382, -0.025364873930811882, 0.4849306046962738, 0.02892397716641426, -0.4552622437477112, -0.5545128583908081, -0.05611416697502136, 0.7074200510978699, 0.2500571012496948, -0.768548846244812, 0.9681540131568909, 0.16488680243492126, -0.11360331624746323, -0.8048271536827087, -0.5294365286827087, 0.08316934108734131, -0.0268853846937418, -0.5957444310188293, 0.4249928295612335, -0.06540095806121826, 0.21856464445590973, -0.4111359119415283, -0.35458871722221375, -0.22869186103343964, 0.020416736602783203, 0.3050070106983185, -0.020906802266836166, -0.010292678140103817, 0.18577902019023895, 0.059239137917757034, -0.3419194519519806, 0.035252418369054794, -0.3509206175804138, 0.5645796060562134, 0.037648431956768036, -0.3829801082611084, -0.26845064759254456, 0.5133450031280518, 0.6597281098365784, -0.22020447254180908, 0.6381024122238159, 0.5948154330253601, -0.1947030872106552, -0.5201055407524109, -0.5377634167671204, -0.26191455125808716, -0.5279917120933533, 0.5123974084854126, -0.532817006111145, -1.0806043148040771, 0.5189835429191589, -0.03248744457960129, 0.06323808431625366, 0.18679143488407135, 0.511299729347229, -0.39786404371261597, 0.5772977471351624, 0.9290489554405212, -0.3169635534286499, 0.6789326667785645, -0.010218091309070587, 0.37435922026634216, -0.7534661889076233, -0.08056675642728806, -0.4634547531604767, -0.4846700429916382, -0.09703318029642105, -0.5213599801063538, 0.20086435973644257, -0.06283789873123169, -0.06416486948728561, 0.3797909617424011, -0.3660709261894226, 0.8388938307762146, 0.5816668272018433, 0.2070181667804718, 0.556099534034729, 0.08466136455535889, -0.16758516430854797, -0.030547384172677994, -0.46299439668655396, -0.1036180928349495, 1.0578439235687256, 0.5783443450927734, 0.9209660291671753, -0.26023295521736145, 0.8384432792663574, 0.183768168091774, 0.39402052760124207, -1.0692317485809326, 0.29170775413513184, 0.22875116765499115, -0.5814366936683655, -0.7670558094978333, -0.31011664867401123, -0.9335986971855164, 0.2787775695323944, 0.22247572243213654, -0.7043209075927734, 0.3045904338359833, 0.06043393537402153, -0.2900068461894989, 0.25663426518440247, -0.6175428628921509, 0.7332783341407776, -0.19049274921417236, -0.158164381980896, -0.20825137197971344, -0.9737443923950195, 0.2323235422372818, -0.5387669801712036, 0.3276490867137909, 0.26868802309036255, 0.041997358202934265, 0.5115220546722412, -0.2640154957771301, 0.8693587779998779, 0.07243993133306503, -0.3056279718875885, 0.22348245978355408, -0.20962199568748474, 0.8328371644020081, 0.1139511913061142, 0.1498386412858963, 0.23599493503570557, -0.056290242820978165, -0.38491833209991455, -0.5731393098831177, 0.2985202372074127, -0.9266045689582825, -0.5206950902938843, -0.6298901438713074, -0.7406353950500488, -0.09796634316444397, 0.5331129431724548, 0.3377067744731903, 0.3558780550956726, -0.1561589390039444, 0.3121184706687927, 0.682699978351593, -0.013252358883619308, 0.5150678753852844, 0.48500868678092957, 0.07090066373348236, -0.007614028640091419, 0.7603162527084351, 0.029260938987135887, 0.2648039758205414, 0.8050259947776794, 0.10056377947330475, -0.5648043155670166, -0.5959435701370239, -0.24292849004268646, 0.30741703510284424, -0.6491149663925171, 0.10176794230937958, -0.9469821453094482, -0.21985244750976562, -0.09927543997764587, -0.19077058136463165, -0.33386901021003723, -0.14064061641693115, -0.3978525698184967, -0.0882296934723854, 0.05686712637543678, 0.46436765789985657, 0.11549828201532364, 0.7516162991523743, -0.8667832016944885, 0.6764089465141296, 0.236512690782547, 0.618940532207489, 0.22029854357242584, -0.5979586243629456, -0.43349888920783997, -0.19648176431655884, -0.3647163212299347, -0.5216498970985413, 0.3484118580818176, 0.11591183394193649, 0.17330437898635864, 0.29496443271636963, -0.0018563981866464019, 0.6440549492835999, -0.9857116341590881, 0.3581424951553345, 0.037082239985466, -0.8954694867134094, 0.2157672494649887, -0.4003797769546509, 0.5107417106628418, 0.6901445984840393, 0.3568039834499359, -0.6026960015296936, -0.28770217299461365, -0.2494853436946869, -1.0470056533813477, 0.7509384155273438, 0.17165642976760864, 0.22029049694538116, -0.1276504397392273, 0.31525787711143494, 0.021933771669864655, 0.030086228623986244, -0.7181349396705627, -0.043610524386167526, -0.10745255649089813, -0.29167744517326355, -0.29588258266448975, -0.40313637256622314, -0.05526023730635643, -0.18642738461494446, 0.272097110748291, -0.18661591410636902, 0.39058032631874084, 0.3330762982368469, -0.6131430864334106, -0.06847327202558517, 0.5067411661148071, 0.810528576374054, 0.6566122174263, -0.31449103355407715, 0.02529510110616684, 0.14094315469264984, -0.9183796048164368, 0.2606428563594818, 0.09265774488449097, -0.029375212267041206, -0.15674331784248352, 0.20776692032814026, 0.619834303855896, 0.5282872319221497, -0.55665522813797, 0.4611012041568756, -0.3132168650627136, 0.00994050595909357, -0.5961267352104187, -0.17868565022945404, 0.12234409153461456, 0.18090610206127167, 0.8019164204597473, -0.09118828177452087, -0.09178419411182404, -0.13654012978076935, 0.4228285849094391, 0.11388793587684631, -0.4126468300819397, -0.22947344183921814, 0.6489402651786804, 0.17215436697006226, -0.24952076375484467, 0.7294199466705322, 0.2169058471918106, -0.129562646150589, 0.5752252340316772, 0.7083593606948853, 0.9629168510437012, 0.06373409181833267, -0.09500405937433243, 0.024728897958993912, 0.3267512023448944, -0.19413451850414276, -0.14125190675258636, -0.377104789018631, -0.5555985569953918, -0.6970576047897339, -0.8843164443969727, -0.46228501200675964, 0.1361760050058365, -0.6460506916046143, 0.29848513007164, -0.29111409187316895, 0.041825223714113235, -0.06007859855890274, -0.3102811276912689, -0.9315982460975647, 0.29617342352867126, 0.06035863980650902, 1.0152668952941895, -0.42222797870635986, 0.8915520310401917, -0.033463846892118454, -0.005286449566483498, -0.6385276317596436, 0.2009740173816681, -0.35709795355796814, -0.7551870346069336, 0.6334688663482666, 0.40768277645111084, -0.07019861042499542, 0.4510536193847656, -0.3863552212715149, -0.9308598637580872, 1.0805811882019043, 0.05762369558215141, -1.067765712738037, -0.5438823699951172, 0.3380480110645294, 0.3893308639526367, -0.025560006499290466, 0.4032840430736542, 0.5652853846549988, 0.4069989323616028, -0.02290460467338562, -0.47876274585723877, -0.05700661242008209, 0.11776400357484818, -0.20298191905021667, 0.26862645149230957, -0.6777489185333252, 0.3708829879760742, -0.285651832818985, -0.25334852933883667, -0.020224593579769135, 1.223787784576416, -0.0018836780218407512, 0.22196686267852783, 0.6838312149047852, 0.6922052502632141, 0.6505888104438782, 0.29226258397102356, 1.3085161447525024, -0.3644505739212036, 0.557660698890686, 1.558040976524353, -0.2181457132101059, 0.8532782196998596, 0.683113694190979, -0.06337948143482208, 0.20905765891075134, 0.3571794033050537, 0.06264769285917282, 0.5468416213989258, 0.14459644258022308, -0.41001519560813904, -0.2762443423271179, 0.23863306641578674, -0.15186209976673126, 0.44272273778915405, 0.22515206038951874, -0.5712640881538391, -0.3239672780036926, 0.11910616606473923, -0.20519325137138367, -0.361017107963562, -0.08750928938388824, 0.5290055871009827, 0.4669342637062073, -0.6119021773338318, 0.4171712398529053, -0.0010967710986733437, 0.6699368953704834, -0.6945667266845703, 0.3263799250125885, -0.028366882354021072, 0.1650707721710205, 0.07450559735298157, -0.7629358172416687, 0.3485197424888611, 0.017699474468827248, -0.47943124175071716, -0.41311880946159363, 0.5367664694786072, -0.15687821805477142, -0.5581222772598267, 0.24647006392478943, 0.3874252736568451, -0.05205756053328514, -0.11218178272247314, -0.3093847334384918, -0.10933201760053635, -0.34897539019584656, -0.736379086971283, 0.5674819350242615, 0.42350369691848755, -0.05033126100897789, 0.6867534518241882, 0.7690710425376892, -0.2653302848339081, -0.019553957507014275, 0.2640661895275116, 0.7285892367362976, -0.729758620262146, -0.6043996214866638, -0.9673477411270142, 0.34389665722846985, 0.15775829553604126, -0.3861013650894165, 0.5617325305938721, 0.42242974042892456, 0.805064857006073, -0.06626246869564056, 0.6577399969100952, 0.24615991115570068, 0.22571763396263123, -0.2879629135131836, 0.7758463025093079, -0.4254258871078491, -0.0434870719909668, -0.18799588084220886, -0.9397915005683899, -0.36731886863708496, 0.5185269117355347, -0.41734766960144043, -0.17425450682640076, 0.7645232677459717, 0.48841312527656555, -0.5034306049346924, 0.11136002093553543, 0.3712608516216278, 0.40659570693969727, 0.4871363937854767, 0.5703912973403931, 0.6236116886138916, -0.25972115993499756, 0.6168059706687927, -0.08980539441108704, -0.2337677776813507, -0.15202224254608154, -1.068342685699463, -1.0599300861358643, -0.41292673349380493, 0.43684956431388855, -0.11760464310646057, -0.0177829097956419, 0.90373295545578, 0.5203254818916321, -0.5524865388870239, 0.0026871557347476482, -0.21312031149864197, 0.17847785353660583, 0.01856224052608013, -0.17033705115318298, 0.45190513134002686, -0.5039258003234863, -0.8360705971717834, 0.4118584096431732, 0.33292335271835327, -0.03634852170944214, -0.2570914030075073, 0.2687593102455139, 0.1270395964384079, 0.06156405806541443, 0.7705641388893127, 0.452452152967453, -0.4773975908756256, -0.40318456292152405, 0.3070085942745209, -0.1990954875946045, 0.25129908323287964, 0.8378998637199402, -0.7363052368164062, 0.4472975730895996, 0.5446556806564331, 0.9360753893852234, 0.8735798001289368, 0.21725043654441833, 0.5747905969619751, -0.6930372714996338, 0.24866360425949097, 0.28338438272476196, 0.31755387783050537, -0.09276805073022842, -0.5963818430900574, 0.210904061794281, 0.04812173172831535, -0.7324264645576477, -0.7846804857254028, 0.323921263217926, -1.1962217092514038, -0.06304056197404861, 0.961376428604126, 0.01493161078542471, -0.6793216466903687, -0.14942608773708344, -0.17645950615406036, 0.18172599375247955, -0.3902972638607025, 0.8726848363876343, 0.7718652486801147, 0.08865918964147568, -0.21120446920394897, -0.5827817320823669, 0.22485141456127167, 0.4845826327800751, -0.6657395362854004, 0.13550640642642975, 0.20810213685035706, 0.27511128783226013, 0.0902705043554306, 0.7273051142692566, 0.022221926599740982, -0.015219466760754585, -0.4371563792228699, -0.2390274703502655, -0.17289677262306213, -0.8364574313163757, -0.48460060358047485, 0.20928896963596344, -0.21854248642921448, 0.23603114485740662 ]
http://arxiv.org/abs/2405.13209v1
http://arxiv.org/pdf/2405.13209v1
Investigating Symbolic Capabilities of Large Language Models
2024-05-21T21:24:34
2024-05-21T21:24:34
Neisarg Dave, Daniel Kifer, C. Lee Giles, Ankur Mali
cs.CL
cs.CL, cs.LG
Prompting techniques have significantly enhanced the capabilities of Large Language Models (LLMs) across various complex tasks, including reasoning, planning, and solving math word problems. However, most research has predominantly focused on language-based reasoning and word problems, often overlooking the potential of LLMs in handling symbol-based calculations and reasoning. This study aims to bridge this gap by rigorously evaluating LLMs on a series of symbolic tasks, such as addition, multiplication, modulus arithmetic, numerical precision, and symbolic counting. Our analysis encompasses eight LLMs, including four enterprise-grade and four open-source models, of which three have been pre-trained on mathematical tasks. The assessment framework is anchored in Chomsky's Hierarchy, providing a robust measure of the computational abilities of these models. The evaluation employs minimally explained prompts alongside the zero-shot Chain of Thoughts technique, allowing models to navigate the solution process autonomously. The findings reveal a significant decline in LLMs' performance on context-free and context-sensitive symbolic tasks as the complexity, represented by the number of symbols, increases. Notably, even the fine-tuned GPT3.5 exhibits only marginal improvements, mirroring the performance trends observed in other models. Across the board, all models demonstrated a limited generalization ability on these symbol-intensive tasks. This research underscores LLMs' challenges with increasing symbolic complexity and highlights the need for specialized training, memory and architectural adjustments to enhance their proficiency in symbol-based reasoning tasks.
[ -0.3424120545387268, -0.946369469165802, 0.8753819465637207, 0.4300149381160736, -0.22061961889266968, 0.05578875541687012, -0.3004045784473419, -0.39695537090301514, -0.1683163195848465, 0.2806098759174347, -0.6190078854560852, -0.4249652028083801, -0.7593105435371399, 0.496141254901886, -0.2513008415699005, 0.6627034544944763, -0.15561418235301971, 0.11899304389953613, -0.11405397206544876, -0.05080121383070946, -0.7868532538414001, -0.6461877822875977, -0.5422418117523193, -0.24159309267997742, 0.4704663157463074, -0.0018752975156530738, 0.7219898104667664, 0.5246454477310181, 0.4151029586791992, 0.33869636058807373, -0.20115049183368683, 0.041397564113140106, -0.3986665606498718, 0.2209675908088684, 0.00020493846386671066, -0.49644121527671814, -0.5958378314971924, -0.057198673486709595, 0.7881021499633789, 0.772515594959259, 0.08488339185714722, 0.2761662006378174, 0.08449403196573257, 0.6227720975875854, -0.5399284958839417, 0.602917492389679, -0.6862698197364807, -0.10105953365564346, -0.05133020132780075, -0.07360038161277771, -0.4373502731323242, -0.2341824471950531, 0.052461907267570496, -0.7800609469413757, -0.15907177329063416, -0.0682373046875, 0.47874119877815247, 0.24219517409801483, -0.34378165006637573, -0.4180029034614563, -0.6034457087516785, 1.0501242876052856, -0.5790256261825562, 0.36692216992378235, 0.38977864384651184, 0.20188386738300323, -0.14689739048480988, -0.41016000509262085, -0.3860970437526703, -0.5898231267929077, 0.17208603024482727, -0.13372577726840973, -0.5355948209762573, 0.06955752521753311, 0.8465440273284912, 0.06428758800029755, -0.5156927108764648, 0.0354921780526638, -0.3495665490627289, -0.06231434643268585, 0.4397486448287964, 0.38219571113586426, 0.3651321232318878, -0.11093289405107498, -0.024644974619150162, -0.15945500135421753, -0.8034928441047668, -0.0924706682562828, 0.22027315199375153, 0.3683375120162964, -0.18807539343833923, 0.6628470420837402, -0.2630865275859833, 0.8084852695465088, -0.21162104606628418, 0.09851408004760742, -0.0867045447230339, -0.25866469740867615, -0.42044544219970703, -0.06933610886335373, 0.6846402883529663, -0.07371388375759125, 0.6089248061180115, 0.14013034105300903, -0.34568503499031067, 0.2902761697769165, 0.1846214085817337, -0.7059019804000854, -0.11948521435260773, 0.08023279160261154, -0.061799004673957825, -0.02479487657546997, -0.198626309633255, -0.11296436190605164, -0.40829768776893616, -0.45806482434272766, 0.5568962693214417, -0.563085675239563, -0.09415270388126373, 0.3591008186340332, -0.10095421969890594, -0.05978510528802872, 0.6103819608688354, -0.7185550332069397, 0.17373520135879517, 0.9221007227897644, 0.8825911283493042, 0.2304372936487198, -0.2013365775346756, -0.5317388772964478, 0.10033021867275238, -0.6115338802337646, 0.522075355052948, -0.7114565372467041, -0.4446244239807129, -0.07674535363912582, -0.12553530931472778, -0.1187133640050888, -0.5332117676734924, 0.44846266508102417, -0.4663022458553314, -0.14638778567314148, -0.829121470451355, -0.39414042234420776, -0.3169296681880951, 0.4470338821411133, -0.8137933611869812, 0.9703050255775452, 0.04843863099813461, -0.5812963843345642, 0.09108276665210724, -0.7179423570632935, -0.29243987798690796, 0.21347491443157196, -0.4083651900291443, 0.04377589374780655, 0.4568980932235718, 0.3144418001174927, 0.5685241222381592, -0.5743713974952698, 0.28003567457199097, -0.3602524399757385, -0.5105027556419373, 0.38163110613822937, -0.3578011691570282, 0.9074114561080933, -0.030959101393818855, -0.3612367808818817, 0.3367565870285034, -0.46537864208221436, -0.0714341476559639, 0.31729134917259216, -0.048676975071430206, -0.5225116610527039, -0.11901865154504776, -0.3615858256816864, 0.3592786490917206, 0.12218594551086426, -0.1490253359079361, 0.3684060871601105, -0.38339531421661377, 0.3589426279067993, 0.9652501344680786, -0.22906774282455444, 0.1485554426908493, -0.3549779951572418, 0.7987446784973145, -0.16401176154613495, -0.027872221544384956, -0.25856563448905945, -0.5011547207832336, -0.8757544755935669, -0.2689523994922638, -0.07178172469139099, 0.4291110634803772, -0.885466456413269, 0.25243058800697327, -0.45195549726486206, -0.4292845129966736, -0.15685193240642548, 0.20970419049263, 0.4543231129646301, 0.2856001853942871, 0.2635743319988251, -0.03962516412138939, -0.3235396444797516, -0.7966791987419128, -0.33223801851272583, -0.3837631642818451, -0.1777203530073166, 0.042360443621873856, 0.7962232232093811, 0.11444682627916336, 0.5139632821083069, -0.2814609706401825, 0.029495442286133766, -0.279887855052948, 0.2883797287940979, 0.24454869329929352, 0.062188923358917236, 0.23424749076366425, -0.25316309928894043, -0.24386797845363617, -0.028775624930858612, -0.8333282470703125, -0.2846173644065857, -0.21406374871730804, 0.10863570123910904, 0.3242168724536896, 0.35913780331611633, -0.8551824688911438, 0.07997037470340729, 0.4743761718273163, -0.32188233733177185, 0.8952851295471191, -0.004701149649918079, 0.07186371833086014, -0.7119898796081543, 0.1580011248588562, 0.006819257512688637, 0.1676790863275528, -0.6894344091415405, 0.0800745040178299, 0.2055588811635971, -0.037256672978401184, -0.3652854561805725, 0.727043628692627, -0.7830526232719421, -0.16921918094158173, -0.12437520176172256, 0.09965887665748596, -0.3244718015193939, 0.32619932293891907, 0.013067299500107765, 0.7925407290458679, 0.6685165166854858, -0.6264578104019165, 0.21550120413303375, -0.15556444227695465, -0.34499111771583557, 0.5666145086288452, -0.8404211401939392, 0.15994222462177277, 0.11214318871498108, 0.06685933470726013, -0.9440961480140686, -0.04476092755794525, 0.1147356703877449, -0.17780578136444092, 0.07092532515525818, 0.1267266869544983, -0.9434722065925598, -0.36236804723739624, -0.36586156487464905, 0.525355339050293, 0.5202391147613525, -0.2166285365819931, 0.5810253620147705, -0.0008537500398233533, -0.2812819182872772, -0.36266472935676575, -0.3712230622768402, 0.15548239648342133, -0.12470785528421402, -0.6629626154899597, -0.14334286749362946, 0.013422301970422268, -0.5075891017913818, -0.1982540339231491, -0.2583834230899811, 0.2641295790672302, 0.2114376723766327, 0.17856676876544952, 0.4734025001525879, -0.12199968844652176, 0.2140102982521057, -0.05542408674955368, -0.06455361098051071, 0.4711684584617615, -0.18424314260482788, 0.593643069267273, -0.4626392126083374, -0.616400420665741, -0.28066176176071167, 0.08274360001087189, 0.7512681484222412, -0.24011529982089996, 0.4948346018791199, 0.38329488039016724, -0.436611145734787, -0.3418152332305908, -0.5274608731269836, -0.2851489782333374, -0.4832019507884979, 0.5188772678375244, -0.495362251996994, -1.1337555646896362, 0.5085970759391785, 0.07040414214134216, 0.23781755566596985, 0.447356253862381, 0.6877521872520447, 0.25744348764419556, 1.2235361337661743, 0.3334486186504364, 0.048177022486925125, 0.22321511805057526, -0.20267663896083832, 0.19094422459602356, -0.7726112008094788, -0.19540995359420776, -0.49159881472587585, -0.12877672910690308, -0.2948909401893616, -0.705037534236908, 0.4914902150630951, 0.1463293582201004, -0.47790321707725525, 0.23143994808197021, -0.4016804099082947, 0.3663623034954071, 0.2268713414669037, -0.22207242250442505, 0.4273250102996826, 0.06588206440210342, -0.11379628628492355, 0.0935279130935669, -0.6276171207427979, -0.5323317050933838, 0.8859090209007263, 0.39615610241889954, 0.8343837857246399, -0.02432766929268837, 0.2425317019224167, -0.0018721561646088958, 0.33263927698135376, -0.9423552751541138, 1.043782353401184, 0.06501168012619019, -0.40878093242645264, -0.4057142436504364, -0.536990761756897, -0.8798544406890869, 0.2632821798324585, 0.027401698753237724, -0.7058180570602417, -0.2669820487499237, 0.10963719338178635, -0.2667559087276459, 0.16299064457416534, -0.40096041560173035, 0.6202942132949829, -0.34922006726264954, -0.08341454714536667, -0.45436370372772217, -0.32828763127326965, 0.5451380014419556, -0.24210569262504578, 0.21351005136966705, -0.1999397575855255, -0.2917686700820923, 0.7663323879241943, -0.188110813498497, 0.9472944736480713, 0.12161397933959961, -0.5373631715774536, 0.10003329068422318, 0.5357517004013062, 0.6083526611328125, -0.2707289159297943, 0.011514002457261086, 0.3779503107070923, 0.003994151018559933, -0.3300460875034332, -0.7867365479469299, 0.6943434476852417, -0.4994731843471527, -0.9059910774230957, -0.5385841727256775, -0.8599935173988342, -0.4223226308822632, 0.08447626233100891, -0.22961711883544922, 0.28322333097457886, -0.050320811569690704, 0.13850431144237518, 0.5457242727279663, -0.3006170988082886, 0.417481005191803, 0.35610705614089966, -0.19808639585971832, -0.31089723110198975, 0.6604813933372498, 0.28720909357070923, 0.4649565517902374, 0.06444957852363586, 0.23049892485141754, -0.3785741627216339, -0.2352023720741272, -0.5181645750999451, 0.544127345085144, -0.7711940407752991, 0.03503505140542984, -0.48376259207725525, -0.01423210185021162, -0.27516719698905945, -0.19051046669483185, -0.08887086063623428, -0.48809608817100525, -0.21087227761745453, 0.010527142323553562, 0.3259921073913574, 0.8176857233047485, 0.36552393436431885, 0.11148815602064133, -0.706759512424469, 0.12296007573604584, 0.2920185923576355, 0.19105680286884308, 0.35587024688720703, -0.44513964653015137, -0.170220747590065, -0.06356339901685715, -0.300152063369751, -1.0271031856536865, 0.2169037163257599, -0.2099134922027588, 0.44798412919044495, 0.37919607758522034, -0.10095826536417007, 0.853317379951477, -0.35225269198417664, 0.797298789024353, 0.26769912242889404, -1.1876615285873413, 0.40548428893089294, -0.5731502175331116, 0.6978223919868469, -0.03557531535625458, 0.4437013268470764, -0.498076468706131, -0.42710813879966736, -0.44391414523124695, -0.44753485918045044, 0.6777960658073425, 0.3256981670856476, 0.18802186846733093, -0.20109477639198303, 0.16834807395935059, -0.2896835207939148, 0.1344318836927414, -0.5084312558174133, -0.0012286208802834153, 0.20084434747695923, 0.0375378280878067, 0.049445636570453644, -0.1749444603919983, -0.12517917156219482, -0.3289340138435364, 0.511469304561615, -0.1306619644165039, 0.09323855489492416, -0.11598862707614899, -0.06042484939098358, -0.07991363108158112, 0.45474523305892944, 0.6972958445549011, 0.7967728972434998, 0.22906538844108582, 0.2193133682012558, 0.49304431676864624, -0.3496209383010864, 0.0862707793712616, -0.00771185290068388, 0.006953442469239235, -0.08267973363399506, 0.5254590511322021, 0.8164415955543518, 0.2985254228115082, -0.8632182478904724, 0.19981959462165833, 0.10441819578409195, -0.25249892473220825, -0.12644654512405396, 0.0790608674287796, 0.28894898295402527, 0.15625348687171936, 0.3295341432094574, -0.29392510652542114, 0.049171917140483856, -0.5131755471229553, -0.20042437314987183, 0.7517484426498413, -0.21758580207824707, -0.48895347118377686, 0.3136688470840454, -0.13795314729213715, -0.14809386432170868, 0.6480808258056641, -0.0742262676358223, -0.531391441822052, 0.6848469376564026, 0.6648980379104614, 0.9320526123046875, -0.30699560046195984, 0.1335366666316986, 0.2970118224620819, 0.602192223072052, -0.2923124134540558, 0.517590343952179, -0.14680907130241394, -0.37411224842071533, -0.6645670533180237, -0.5275585651397705, -0.24406304955482483, 0.2451886534690857, -0.38829100131988525, 0.2686363160610199, -0.6017525792121887, -0.3048354685306549, -0.20735609531402588, 0.07883398979902267, -0.5664236545562744, -0.03723864629864693, 0.03799227252602577, 0.8083525896072388, -0.8367434740066528, 0.5642628073692322, 0.7614498138427734, -0.18223027884960175, -1.011688232421875, -0.2955431044101715, 0.18409879505634308, -0.7778468132019043, 0.9469574093818665, 0.35296279191970825, -0.29504838585853577, -0.10166382789611816, -0.35552680492401123, -0.6734402775764465, 0.8905007839202881, 0.7542389631271362, -0.5378795862197876, -0.11587391793727875, 0.35371217131614685, 0.6227361559867859, -0.005340528674423695, 0.2903936207294464, 0.3999830186367035, 0.5703828930854797, 0.1739090532064438, -1.1902683973312378, 0.47015970945358276, -0.2778526842594147, 0.25060391426086426, 0.3646698594093323, -0.31938475370407104, 0.968953013420105, -0.20002242922782898, -0.38140925765037537, 0.04609543830156326, 0.49943679571151733, 0.7072651386260986, 0.018311424180865288, 0.5496242642402649, 0.4886031746864319, 0.6731758713722229, -0.07158643752336502, 1.1605855226516724, -0.3589012920856476, 0.1165546327829361, 0.6909670233726501, -0.23003628849983215, 0.7166319489479065, 0.5023530125617981, -0.10517559945583344, 0.2836039662361145, 0.3467543125152588, -0.006352007854729891, -0.1609828919172287, 0.49437862634658813, -0.41497620940208435, -0.4863918721675873, -0.1865387260913849, -0.334892213344574, 0.11001885682344437, 0.5109466910362244, -0.2859205901622772, -0.3316453695297241, -0.23932674527168274, 0.1363658756017685, -0.24090780317783356, -0.3869110643863678, 0.4615151584148407, 0.365060955286026, -0.6721752882003784, 0.7865208983421326, -0.031551606953144073, 0.3492911159992218, -0.6968702077865601, -0.21225027740001678, 0.03344987332820892, 0.0000912497125682421, 0.1017996072769165, -0.7040280699729919, 0.2275419384241104, 0.07160817086696625, 0.1762634813785553, -0.24825948476791382, 0.5314992666244507, -0.09690145403146744, -0.7194810509681702, 0.2164996713399887, 0.7071977853775024, 0.13131606578826904, -0.370792031288147, -0.6977357268333435, 0.4891892075538635, -0.3161909282207489, -0.26488205790519714, 0.31054365634918213, 0.5793709754943848, -0.5954188108444214, 0.8503046035766602, 0.8048344850540161, 0.16730336844921112, -0.07472283393144608, 0.21686206758022308, 0.7960227131843567, -0.6478114724159241, -0.41258060932159424, -1.2753899097442627, 0.1862591654062271, 0.1573786586523056, -0.20316748321056366, 0.9899927973747253, 0.3363005220890045, 0.7946503758430481, -0.2654394209384918, 0.6049942374229431, 0.2086016684770584, -0.17702747881412506, -0.55916428565979, 0.5180962085723877, -0.5035603642463684, 0.43811580538749695, -0.5073665380477905, -0.8542651534080505, -0.4424291253089905, 0.6170469522476196, -0.6449096202850342, 0.2587857246398926, 0.7225603461265564, 0.8123399019241333, 0.11176041513681412, 0.051751747727394104, 0.5076743960380554, 0.2659794092178345, 0.29549428820610046, 0.7420361638069153, 1.1047672033309937, 0.0035713750403374434, 0.39522936940193176, -0.010207075625658035, -0.1961275339126587, 0.015832675620913506, -0.8852664828300476, -1.2109580039978027, -0.5464219450950623, -0.15249912440776825, -0.13503298163414001, 0.06145382672548294, 0.8621842861175537, 0.5242847800254822, -0.5265032649040222, -0.5081788301467896, -0.11944595724344254, -0.05047672241926193, -0.21423256397247314, -0.18297439813613892, 0.4235072433948517, -0.32566002011299133, -0.5733001232147217, 0.2586189806461334, 0.4857589304447174, -0.009740768000483513, -0.4541081488132477, -0.032102953642606735, 0.1185184121131897, 0.26571497321128845, 0.886376142501831, 0.1348693072795868, -1.0873851776123047, -0.1647680103778839, 0.42161256074905396, -0.03347872197628021, -0.2981402277946472, 0.9308198094367981, -0.6695827841758728, 0.3183416426181793, 0.6178664565086365, 0.5803057551383972, 0.05310816690325737, -0.01796850375831127, 0.5292830467224121, -0.3953934609889984, -0.156706303358078, 0.2623682916164398, 0.4237171411514282, 0.2370184063911438, -0.17005817592144012, 0.2642399072647095, 0.16616719961166382, -0.31215837597846985, -0.8396070003509521, 0.3011166453361511, -0.954360842704773, -0.35461902618408203, 1.2212132215499878, 0.000863516703248024, -0.12301354855298996, -0.016717271879315376, -0.26357704401016235, 0.11567668616771698, -0.3316963315010071, 0.8217028975486755, 0.9168208241462708, -0.2544470429420471, -0.18123891949653625, -0.7297438383102417, 0.3123369812965393, 0.7567609548568726, -0.8039870858192444, 0.3961121439933777, 0.7824360728263855, 0.12684956192970276, 0.14728571474552155, 0.5995768904685974, -0.20332123339176178, 0.3066585958003998, -0.1737404763698578, -0.10455571860074997, -0.37376856803894043, -0.40505537390708923, -0.6443728804588318, 0.1555638313293457, 0.16126814484596252, 0.2522159814834595 ]
http://arxiv.org/abs/2405.13203v1
http://arxiv.org/pdf/2405.13203v1
Modeling Real-Time Interactive Conversations as Timed Diarized Transcripts
2024-05-21T21:14:31
2024-05-21T21:14:31
Garrett Tanzer, Gustaf Ahdritz, Luke Melas-Kyriazi
cs.LG
cs.LG, cs.CL
Chatbots built upon language models have exploded in popularity, but they have largely been limited to synchronous, turn-by-turn dialogues. In this paper we present a simple yet general method to simulate real-time interactive conversations using pretrained text-only language models, by modeling timed diarized transcripts and decoding them with causal rejection sampling. We demonstrate the promise of this method with two case studies: instant messenger dialogues and spoken conversations, which require generation at about 30 tok/s and 20 tok/s respectively to maintain real-time interactivity. These capabilities can be added into language models using relatively little data and run on commodity hardware.
[ 0.03452819958329201, -1.4607713222503662, 0.727997899055481, 0.5903286933898926, -0.24622952938079834, 0.44021233916282654, -0.04586217924952507, -0.6412809491157532, 0.3033744692802429, 0.7005196809768677, -0.9525831937789917, 0.004079115577042103, -0.11979126930236816, -0.02507941611111164, -0.7058423757553101, 0.7881540060043335, 0.1950044184923172, 0.07308819890022278, 0.01116171758621931, 0.2988041341304779, -0.15111099183559418, -0.7533900737762451, -0.6739472150802612, -0.3582155406475067, 0.24303148686885834, 0.38777628540992737, 0.7868980765342712, 0.44262638688087463, 0.1770532876253128, 0.2782652676105499, -0.016335774213075638, 0.07897192984819412, -0.5474368929862976, 0.35587775707244873, 0.35635843873023987, -0.47876667976379395, -0.423274964094162, 0.39717161655426025, 0.5846572518348694, 0.6770361661911011, -0.20375673472881317, 0.09783326834440231, -0.1289318948984146, 0.020539503544569016, -0.355697363615036, 0.11378935724496841, -0.5329193472862244, 0.2716185748577118, -0.010147398337721825, -0.42877620458602905, -0.7955774664878845, -0.4427146315574646, 0.27015531063079834, -0.6324104070663452, 0.1144561618566513, -0.12249155342578888, 0.8343740105628967, -0.036791540682315826, -0.3114432394504547, -0.3679765462875366, -1.5600522756576538, 0.6175975799560547, -0.9423975348472595, 0.32413750886917114, 0.42134830355644226, 0.4059882164001465, -0.17450059950351715, -0.9751645922660828, -0.9208493232727051, -0.8541969656944275, -0.2974712550640106, 0.3124009668827057, 0.16513681411743164, 0.3157438039779663, 0.32135629653930664, 0.016943324357271194, -0.3352755606174469, 0.15277667343616486, -0.053098734468221664, 0.019931966438889503, 0.4124847948551178, 0.5986377596855164, 0.38586315512657166, -0.10766302794218063, -0.13795240223407745, -0.0941467136144638, -0.3250962197780609, 0.05223698914051056, 0.5148290395736694, 0.09273597598075867, -0.4322907030582428, 0.6470069885253906, -0.29456037282943726, 0.9028086066246033, -0.007317220326513052, -0.15384957194328308, -0.2227931022644043, -0.8016404509544373, -0.13829603791236877, -0.16509057581424713, 0.9089556932449341, 0.18649929761886597, 0.37911319732666016, 0.02122424729168415, 0.18249021470546722, -0.1456349641084671, 0.10050240159034729, -1.0096287727355957, -0.4096742868423462, 0.5315331220626831, -0.35306763648986816, -0.4224832057952881, -0.14531590044498444, -0.7492611408233643, 0.2380591630935669, -0.25538182258605957, 0.277495414018631, -0.25333499908447266, -0.0937289297580719, 0.14685308933258057, 0.021954713389277458, 0.04379548877477646, 0.3890354037284851, -0.5143100619316101, 0.3029577434062958, 0.28956013917922974, 0.816623866558075, 0.14418815076351166, -0.14621928334236145, -0.7779384255409241, 0.06678959727287292, -0.2893277406692505, 0.45686280727386475, -0.6339693069458008, -0.7050508856773376, -0.11650090664625168, -0.14978404343128204, -0.14359118044376373, -0.06006212159991264, 0.19177770614624023, -0.7186829447746277, 0.5608095526695251, 0.44137126207351685, -0.4680759608745575, 0.2949677109718323, 0.18553905189037323, -0.5059725046157837, 0.6086159348487854, 0.16981567442417145, -0.7328705191612244, -0.05076020583510399, -0.6830883026123047, -0.45938384532928467, 0.05019375681877136, 0.09939644485712051, -0.46306970715522766, -0.36902716755867004, 0.057309698313474655, 0.3852212131023407, -0.1415369063615799, 0.6925570964813232, -0.3078778088092804, -0.43258926272392273, 0.4858691990375519, -0.8342679738998413, 0.7889402508735657, 0.513028085231781, -0.38057389855384827, -0.06430158019065857, -0.9482877850532532, 0.20508147776126862, 0.10139420628547668, -0.25971177220344543, -0.14977191388607025, 0.3353084325790405, 0.0060619632713496685, 0.25566643476486206, -0.07890966534614563, -0.7782022356987, 0.1408156454563141, -0.5780689716339111, 0.49732452630996704, 0.2948809564113617, 0.11168445646762848, 0.4733569324016571, -0.24470339715480804, 0.6084500551223755, 0.18788893520832062, 0.3539448380470276, -0.5022919774055481, -0.26557809114456177, -0.9210536479949951, -0.2400023192167282, 0.27993130683898926, 0.9755797386169434, -0.9820258617401123, 0.41643205285072327, -0.43911564350128174, -0.6756202578544617, -0.5879278779029846, -0.3069383203983307, 0.6046303510665894, 0.4070129096508026, 0.09195934236049652, -0.3601721525192261, -0.28205883502960205, -0.535545825958252, -0.21429838240146637, -0.5841881632804871, -0.4570884704589844, 0.4874182641506195, 0.0263652540743351, -0.11732160300016403, 1.1934609413146973, -0.39629095792770386, 0.14261281490325928, -0.22469167411327362, 0.570434033870697, -0.08207755535840988, 0.37123772501945496, 0.4802953004837036, -0.5816138982772827, -0.48221683502197266, -0.4847443699836731, -0.5018721222877502, -0.3470976650714874, -0.5622216463088989, 0.07137639075517654, -0.02091919258236885, 0.9535403251647949, -0.4938395619392395, 0.7181205749511719, 0.7439000010490417, -0.32881245017051697, 0.7319136261940002, 0.005433421116322279, 0.42223668098449707, -0.9287089109420776, 0.047633953392505646, -0.4854869544506073, -0.42586979269981384, -0.9500199556350708, -0.47467416524887085, -0.19369034469127655, -0.38854584097862244, -0.9787581562995911, 0.9866766333580017, -0.49291566014289856, 0.18205143511295319, -0.1328151524066925, 0.25558358430862427, -0.11550431698560715, 0.48432138562202454, 0.4126739799976349, 0.7110676169395447, 0.11744613945484161, -1.0538653135299683, 0.297630250453949, 0.4346921741962433, -0.4698503613471985, 0.2680215835571289, -0.9888721704483032, -0.01849663443863392, -0.14579930901527405, 0.6372035145759583, -0.958280622959137, -0.3742520809173584, 0.21536625921726227, -0.40015870332717896, -0.011517108418047428, -0.28717145323753357, -0.4843009412288666, -0.408838152885437, 0.07228081673383713, 0.7051427960395813, 0.4981759190559387, -0.41139402985572815, 0.4661678671836853, 0.1702331304550171, -0.3612423241138458, -0.17452983558177948, -0.40161779522895813, -0.022444047033786774, 0.07755695283412933, -0.3029935956001282, 0.3906286060810089, -0.5341579914093018, -0.31358638405799866, -0.31724247336387634, 0.6041857600212097, -0.03854956850409508, 0.1195993646979332, 0.4717978835105896, 0.20134150981903076, 0.2978346049785614, -0.22322233021259308, -0.08010692894458771, -0.03193245083093643, -0.2558406889438629, 0.0944581851363182, 0.7885074615478516, 0.5420995354652405, -0.887195348739624, -0.8497845530509949, 0.44579169154167175, 0.583318293094635, -0.041436128318309784, 0.6456522941589355, 0.5834184288978577, 0.06479284912347794, 0.18592005968093872, -0.3953827917575836, -0.763593316078186, -0.45126545429229736, 0.165122851729393, -0.32686689496040344, -0.8660231232643127, 0.5956664085388184, 0.13244183361530304, 0.5305436253547668, -0.19021543860435486, 0.6510502099990845, -0.03437437862157822, 1.1896491050720215, 0.38717329502105713, 0.1913398653268814, 1.026119351387024, 0.17532381415367126, 0.5809520483016968, -0.242906391620636, -0.2763213813304901, -0.4640437960624695, -0.091606505215168, -0.4069076478481293, -0.3062087595462799, 0.3957666754722595, 0.07557607442140579, -0.14996744692325592, 0.2560443580150604, -0.07690328359603882, 0.35011398792266846, 0.7887329459190369, 0.07317916303873062, 0.24478866159915924, -0.183492511510849, -0.11006134003400803, -0.12473607063293457, -0.7806212306022644, -0.3652958571910858, 0.5885552763938904, 0.290115088224411, 0.9481965899467468, -0.4539344906806946, 0.23959779739379883, 0.24626849591732025, 0.2839632034301758, -0.6391116380691528, 0.7257081270217896, 0.37717172503471375, -0.7486187815666199, -0.18480344116687775, -0.58588045835495, -0.7519280314445496, -0.08360045403242111, -0.29642391204833984, -0.7068326473236084, -0.2602097988128662, 0.2491045445203781, -0.5101545453071594, 0.42515918612480164, -0.710077166557312, 0.5380575060844421, -0.0912947878241539, -0.21954114735126495, -0.11998561769723892, -0.9166582226753235, 0.5172404646873474, 0.04634024575352669, 0.33243536949157715, -0.3296408951282501, 0.6763655543327332, 0.7145633101463318, -0.4722483456134796, 1.0652072429656982, -0.08888286352157593, 0.09106513857841492, 0.7133517861366272, 0.6741658449172974, 0.5577723979949951, 0.16780103743076324, 0.069440558552742, -0.048681341111660004, 0.21830861270427704, -0.4460555911064148, -0.45087966322898865, 0.35073569416999817, -0.6846440434455872, -0.26225435733795166, -0.023516502231359482, -0.40232667326927185, -0.15204299986362457, -0.0015231157885864377, 0.13837961852550507, 0.5190009474754333, -0.6073756217956543, -0.19838395714759827, 0.16066031157970428, -0.16826985776424408, 0.7876648306846619, 0.8971789479255676, -0.28208309412002563, -0.09927093982696533, 0.5205646753311157, -0.10912090539932251, 0.6291577219963074, 0.5958285331726074, -0.1366184800863266, -0.022158537060022354, 0.03200383856892586, -0.43513911962509155, 0.09616074711084366, -0.14192308485507965, 0.07098941504955292, -1.340739130973816, -0.5743440985679626, -0.2899476885795593, -0.1417190134525299, -0.6802589893341064, -0.6496579647064209, -0.3570442199707031, -0.011148467659950256, 0.41512662172317505, 0.47961074113845825, 0.007359649520367384, 0.9818574786186218, -1.4175608158111572, 0.44767579436302185, 0.6432151794433594, 0.4131845235824585, 0.0010213955538347363, -0.5786259770393372, -0.1569538414478302, 0.434958279132843, -0.07863866537809372, -0.7305444478988647, 0.5895335674285889, 0.30036410689353943, 0.2786696255207062, 0.36005330085754395, 0.264277845621109, 0.643843412399292, -0.7203719615936279, 1.0229520797729492, -0.05859426409006119, -0.853243887424469, 0.4951938986778259, -0.1378241777420044, 0.292164146900177, 0.30309924483299255, 0.3014737069606781, -0.723006010055542, -0.818661630153656, -0.6686624884605408, -0.6290856003761292, 0.8501966595649719, 0.49959513545036316, 0.3927929997444153, -0.2715286910533905, 0.2081746757030487, -0.014695635065436363, 0.11620915681123734, -0.6054306626319885, -0.19586046040058136, 0.043339069932699203, -0.11032872647047043, -0.16041162610054016, -0.5336453914642334, 0.0464300662279129, -0.15390990674495697, 0.4476211965084076, 0.22022710740566254, 0.5959814190864563, 0.20621836185455322, -0.0523262694478035, 0.0504746288061142, 0.22892120480537415, 0.5924726724624634, 0.2867415249347687, -0.4068889319896698, 0.045688334852457047, -0.13294796645641327, -0.6576125025749207, 0.37670087814331055, -0.12410832941532135, -0.31174346804618835, 0.36708134412765503, 0.21200354397296906, 0.9774977564811707, 0.4705953896045685, -0.802734375, 0.2941718101501465, -0.4352102279663086, -0.002152347471565008, -0.2220301777124405, -0.05888490751385689, -0.05158980190753937, 0.021338097751140594, 0.023557929322123528, -0.4028368890285492, -0.2384805530309677, -0.4570924937725067, 0.3406914174556732, 0.25860559940338135, -0.6209156513214111, -0.5696910619735718, 1.0551469326019287, 0.47253432869911194, -0.6117891669273376, 0.966029167175293, -0.0486680343747139, -0.41404715180397034, 0.37074968218803406, 0.6002073287963867, 0.8320220708847046, -0.3125671148300171, 0.4542357921600342, 0.36384516954421997, -0.08261468261480331, 0.039717599749565125, 0.05288850516080856, -0.18189209699630737, -0.6975643038749695, -0.5379975438117981, -0.6629915833473206, -0.8116328716278076, 0.17676562070846558, -0.3318210542201996, 0.23596961796283722, -0.1600799560546875, -0.3877139389514923, 0.017806895077228546, -0.3615236282348633, -0.531928300857544, 0.107980877161026, -0.2777564525604248, 0.7060638070106506, -1.0172094106674194, 0.8355292081832886, 0.12370721250772476, -0.09843193739652634, -0.564998984336853, -0.1347063034772873, -0.30337804555892944, -0.6950094103813171, 0.3534267246723175, -0.17860345542430878, -0.09329784661531448, 0.30687251687049866, -0.7817291617393494, -0.3437141478061676, 0.6577115654945374, 0.2044954150915146, -0.595112144947052, -0.3983708322048187, 0.08292828500270844, 0.5212059617042542, -0.1270889937877655, 0.7449109554290771, 0.6084672808647156, 0.22420383989810944, 0.20841923356056213, -1.110817790031433, -0.4997732937335968, -0.4102573096752167, -0.24022965133190155, -0.04885117709636688, -0.5589854717254639, 0.8266807794570923, -0.07592286914587021, -0.41587597131729126, 0.13175459206104279, 0.6916429400444031, 0.3349762558937073, 0.2871239483356476, 0.5340504050254822, 0.116190604865551, 0.1274590790271759, -0.011305572465062141, 0.9730638861656189, -0.5994496941566467, 0.059396348893642426, 1.1272960901260376, -0.26247259974479675, 0.627916693687439, 0.34963953495025635, -0.11830238252878189, 0.31945475935935974, 0.6354289054870605, 0.5143848061561584, 0.5076208710670471, -0.014795615337789059, -0.563499927520752, -0.4629061818122864, -0.23243151605129242, -0.048104893416166306, 0.4277813732624054, 0.4454072117805481, 0.06353283673524857, -0.1367119699716568, 0.24018394947052002, 0.12944641709327698, -0.014111197553575039, 0.15827398002147675, 0.8911109566688538, 0.011615591123700142, -0.8303206562995911, 0.4089146852493286, -0.07719557732343674, 0.5829833745956421, -0.5753515362739563, -0.18781433999538422, -0.29072892665863037, -0.12846413254737854, 0.20812934637069702, -0.7325238585472107, 0.21445663273334503, -0.009580017998814583, -0.03850547969341278, -0.4278499484062195, 0.6273353695869446, -0.7294790744781494, -0.39932486414909363, 0.2977689504623413, 0.7014418840408325, 0.28093868494033813, 0.03035467118024826, -0.3755943179130554, -0.028270244598388672, -0.08383721113204956, -0.4363499581813812, 0.0660872757434845, 0.11251744627952576, -0.18772435188293457, 0.9437825679779053, 0.7257651686668396, 0.0007103171665221453, 0.2953495979309082, 0.16127489507198334, 0.6478363871574402, -0.6273670792579651, -0.7642410397529602, -0.8831655979156494, 0.3681260943412781, 0.12106639891862869, 0.2256404608488083, 0.5965532660484314, 0.2942405045032501, 0.657368540763855, -0.14448893070220947, 0.648497998714447, -0.09795206040143967, 0.8428242802619934, -0.4937089681625366, 0.8676266670227051, -0.20471738278865814, -0.036082036793231964, -0.21340039372444153, -0.6832268834114075, -0.15627437829971313, 0.3129691183567047, 0.08929268270730972, -0.018172774463891983, 0.18942789733409882, 0.545876681804657, -0.2328137457370758, -0.019978484138846397, 0.37365418672561646, 0.19722479581832886, 0.7213905453681946, 0.4011762738227844, 0.9299938082695007, -0.2218070924282074, 0.5618662238121033, -0.20567280054092407, -0.20414234697818756, -0.6775287389755249, -0.8594586253166199, -0.9417832493782043, -0.6495795249938965, -0.16957612335681915, -0.4376564621925354, 0.07364007085561752, 0.8081479072570801, 0.9228004813194275, -0.5560303926467896, -0.16244536638259888, -0.05538599565625191, -0.03574833273887634, 0.004554285202175379, -0.2567046880722046, -0.10914573818445206, -0.13685013353824615, -1.0969696044921875, 0.5184763073921204, 0.12432502955198288, 0.7253319025039673, -0.066145159304142, 0.12977856397628784, -0.04910166934132576, 0.5904011130332947, 0.7536523938179016, 0.5156949162483215, -0.3201647698879242, -0.36212947964668274, 0.08819785714149475, -0.3786979615688324, -0.17966100573539734, 1.0021376609802246, -1.0097261667251587, 0.6775380373001099, 0.5225873589515686, 0.013633503578603268, 0.839963972568512, 0.3337995707988739, 0.8676896095275879, -0.8674154877662659, 0.7122128009796143, 0.4142065942287445, -0.3671928942203522, -0.049471426755189896, -0.06450524926185608, 0.2541598975658417, 0.21692171692848206, -0.5683355331420898, -0.8969401121139526, 0.5020653009414673, -0.7705991268157959, 0.048150792717933655, 0.8475338220596313, -0.22045794129371643, -0.0402025543153286, -0.27555233240127563, -0.32176777720451355, 0.7007819414138794, 0.023499367758631706, 0.830255389213562, 0.4013826847076416, -0.1022903099656105, -0.023747840896248817, -0.6208263635635376, 0.6644732356071472, 0.16554653644561768, -0.7669274806976318, 0.2195097655057907, 0.45393961668014526, 0.008004685863852501, 0.026654493063688278, 1.287042498588562, -0.18491515517234802, -0.0157037153840065, 0.1256442666053772, -0.03070598654448986, 0.07800158858299255, -0.5680288672447205, 0.13625265657901764, -0.1759161353111267, -0.20430871844291687, -0.10510103404521942 ]
http://arxiv.org/abs/2405.13181v1
http://arxiv.org/pdf/2405.13181v1
Comparative Analysis of Different Efficient Fine Tuning Methods of Large Language Models (LLMs) in Low-Resource Setting
2024-05-21T20:08:52
2024-05-21T20:08:52
Krishna Prasad Varadarajan Srinivasan, Prasanth Gumpena, Madhusudhana Yattapu, Vishal H. Brahmbhatt
cs.CL
cs.CL, cs.LG
In the domain of large language models (LLMs), arXiv:2305.16938 showed that few-shot full-model fine-tuning -- namely Vanilla Fine Tuning (FT) and Pattern-Based Fine Tuning (PBFT) --, and In-Context Learning (ICL) generalize similarly on Out-Of-Domain (OOD) datasets, but vary in terms of task adaptation. However, they both pose challenges, especially in term of memory requirements. In this paper, we further try to push the understanding of different fine-tuning strategies for LLM and aim to bring a myriad of these on the same pedestal for an elaborate comparison with full-model fine-tuning on two diverse datasets. To that end, we conducted a series of experiments, beginning with state-of-the-art methods like vanilla fine-tuning and Pattern-Based Fine-Tuning (PBFT) on pre-trained models across two datasets, COLA and MNLI. We then investigate adaptive fine-tuning and the efficiency of LoRA adapters in a few-shot setting. Finally, we also compare an alternative approach that has gained recent popularity -- context distillation -- with the vanilla FT and PBFT with and without few-shot setup. Our findings suggest that these alternative strategies that we explored can exhibit out-of-domain generalization comparable to that of vanilla FT and PBFT. PBFT under-performs Vanilla FT on out-of-domain (OOD) data, emphasizing the need for effective prompts. Further, our adaptive-fine tuning and LoRA experiments perform comparable or slightly worse than the standard fine-tunings as anticipated, since standard fine-tunings involve tuning the entire model. Finally, our context distillation experiments out-perform the standard fine-tuning methods. These findings underscore that eventually the choice of an appropriate fine-tuning method depends on the available resources (memory, compute, data) and task adaptability.
[ -0.47757795453071594, -1.1210325956344604, 0.4495111107826233, -0.03899126499891281, -0.2730620503425598, -0.08651022613048553, -0.6944343447685242, -0.435783326625824, -0.3887753486633301, 0.2911897897720337, -0.47287553548812866, -0.29057177901268005, -0.34996315836906433, 0.16579024493694305, 0.05648783966898918, 0.8527088761329651, -0.14306426048278809, -0.06872157007455826, -0.008312945254147053, -0.29253140091896057, -0.7385956645011902, -0.2881939709186554, -0.8794007897377014, -0.4222044050693512, 0.5645145177841187, 0.5664191246032715, 0.40460729598999023, 0.575142502784729, 0.5207353234291077, 0.233154296875, -0.2695779800415039, 0.45633789896965027, -0.9513524770736694, -0.1113509014248848, -0.35440918803215027, -0.3946610987186432, -0.28158047795295715, -0.17635592818260193, 0.39517706632614136, 0.6050781607627869, -0.05707266181707382, 0.29698309302330017, 0.35366326570510864, 0.8046698570251465, -1.0458821058273315, 0.04066426306962967, -1.0203200578689575, -0.08073391765356064, -0.15528982877731323, -0.31165996193885803, -0.3225623369216919, -0.00010699047561502084, 0.02567359060049057, -0.5042199492454529, 0.1351255625486374, 0.32581132650375366, 0.6789980530738831, 0.3988950550556183, -0.1951456069946289, -0.269537091255188, -0.8376657366752625, 1.0284855365753174, -0.8488038778305054, 0.1631614863872528, 0.34459778666496277, 0.2747577726840973, -0.28605854511260986, -0.4263058304786682, -0.37109965085983276, 0.009533906355500221, 0.010847965255379677, -0.053470462560653687, -0.2974274158477783, 0.04866848513484001, 0.41168180108070374, 0.41713446378707886, -0.1965281069278717, 0.5459370017051697, -0.17084968090057373, 0.05107968673110008, 0.30233216285705566, 0.260097861289978, -0.2045152187347412, 0.19528087973594666, -0.17165006697177887, -0.010821802541613579, -0.9161909818649292, 0.0363183319568634, 0.05917417258024216, 0.7322295308113098, -0.22917744517326355, 0.3372587263584137, -0.5004804730415344, 1.0260411500930786, 0.36309486627578735, -0.4127371907234192, -0.08024010807275772, -0.45264139771461487, -0.4660910367965698, -0.032971810549497604, 0.5791402459144592, 0.3678310215473175, 0.4574418067932129, -0.0510123185813427, -0.30060362815856934, -0.176982119679451, -0.029378289356827736, -1.0390193462371826, -0.10381881147623062, -0.09346240758895874, -0.5913670659065247, 0.04838893562555313, -0.4472791850566864, -0.5368119478225708, -0.42209163308143616, -0.5611549019813538, 0.6531649827957153, -0.47969701886177063, 0.016018584370613098, 0.2120797485113144, 0.20281444489955902, 0.27236229181289673, 0.42069748044013977, -1.0655072927474976, 0.3713444471359253, 0.6942696571350098, 1.0451624393463135, -0.37636271119117737, -0.18937018513679504, -0.6808961629867554, -0.045090723782777786, -0.30866700410842896, 0.7638076543807983, -0.3656929135322571, -0.2565493583679199, -0.16418150067329407, -0.1212427169084549, -0.16522592306137085, -0.8289153575897217, 0.4205135405063629, -0.46056342124938965, -0.18718984723091125, -0.5509123206138611, -0.4855991005897522, -0.21841898560523987, 0.07847362756729126, -0.45363932847976685, 0.8505910634994507, 0.07122242450714111, -0.547823429107666, 0.5755109190940857, -0.712704598903656, -0.4743816554546356, -0.3653044104576111, 0.10890898108482361, -0.28612154722213745, 0.62923663854599, 0.13594654202461243, 0.6632461547851562, -0.6357015371322632, -0.1959022879600525, -0.3592972159385681, -0.627781867980957, 0.031030869111418724, -0.5310986638069153, 0.529836118221283, 0.4729806184768677, -0.18232302367687225, -0.05369751900434494, -0.8457939624786377, 0.04541664198040962, 0.1197819635272026, -0.4348037540912628, -0.4665547013282776, 0.10215330868959427, -0.04540049284696579, 0.023793190717697144, 0.0827457383275032, -0.3013196289539337, 0.17480261623859406, -0.5182681679725647, 0.7524951696395874, 0.6989262700080872, 0.034387391060590744, 0.531015932559967, -0.5122106075286865, 0.12199582904577255, 0.13170716166496277, 0.01785377413034439, -0.2930580675601959, -0.03870376572012901, -0.8540052771568298, -0.3594299852848053, 0.3071172833442688, 0.4208025336265564, -0.47765183448791504, 0.1384573131799698, -0.11535178124904633, -0.2432546615600586, -0.43761125206947327, 0.42408183217048645, 0.43169042468070984, 0.5898274779319763, 0.40873777866363525, -0.21237678825855255, -0.32575157284736633, -0.796910285949707, -0.182834193110466, 0.14044681191444397, 0.21245229244232178, 0.5149498581886292, 0.4598447382450104, 0.13688549399375916, 0.8744470477104187, -0.47008633613586426, -0.3316463232040405, -0.17990726232528687, -0.08133914321660995, 0.41291841864585876, 0.29646074771881104, 0.7557461261749268, -0.4506087601184845, -0.8051718473434448, 0.2600141167640686, -0.38213610649108887, -0.07730448991060257, 0.11476282775402069, 0.08073531836271286, 0.5185898542404175, 0.4684716463088989, -0.3044951558113098, 0.20987263321876526, 0.5309695601463318, -0.10771999508142471, 0.21144722402095795, -0.30119121074676514, 0.1979086995124817, -0.9205484390258789, -0.0029931669123470783, -0.08841803669929504, -0.24493969976902008, -0.691177487373352, 0.01810465194284916, 0.06581749767065048, 0.10890840739011765, -0.6778890490531921, 0.6487196087837219, -0.6045357584953308, 0.08249904960393906, -0.5486207604408264, -0.05479828268289566, -0.07984951883554459, 0.6102567911148071, -0.12380754202604294, 0.9290957450866699, 0.5771480798721313, -0.800125241279602, 0.15599216520786285, -0.08210553973913193, -0.6127784252166748, 0.5325960516929626, -0.5022982954978943, 0.2397363930940628, -0.07965631037950516, -0.030012572184205055, -0.9843549132347107, -0.014358175918459892, 0.045650117099285126, 0.13311022520065308, 0.44629228115081787, -0.1994909942150116, -0.6534721255302429, 0.06587951630353928, -0.2089904546737671, 0.47060850262641907, 0.7195913791656494, -0.5905728340148926, 0.3736995458602905, -0.006233145482838154, 0.07074066251516342, -0.4176773428916931, -0.5933395028114319, -0.26497897505760193, -0.731058657169342, -0.43104228377342224, 0.31093594431877136, -0.17086955904960632, -0.42998170852661133, -0.19893822073936462, -0.2560596168041229, 0.026143813505768776, 0.3442583978176117, 0.006659470498561859, -0.10242301225662231, -0.5592477321624756, -0.015066899359226227, -0.039080776274204254, -0.005002581514418125, -0.46910762786865234, -0.15920022130012512, 0.5106920599937439, -0.17341269552707672, -0.26355260610580444, -0.4006090760231018, 0.13130098581314087, 0.32632380723953247, -0.0022882455959916115, 0.8143473267555237, 0.4510062336921692, -0.2753885090351105, -0.43145695328712463, -0.6889083385467529, -0.22615660727024078, -0.47767704725265503, 0.29964369535446167, -0.4849528670310974, -0.9345983862876892, 0.5951656699180603, -0.35581931471824646, 0.05307408794760704, 0.21245144307613373, 0.8101342916488647, -0.08870422095060349, 0.6439393758773804, 0.7831456065177917, -0.2300058901309967, 0.6614572405815125, -0.2467714548110962, 0.24087709188461304, -0.8151819109916687, 0.3471706807613373, -0.5746668577194214, -0.5487200021743774, -0.5354150533676147, -0.38389694690704346, 0.2592799663543701, 0.5905330181121826, -0.24500678479671478, 0.2705487012863159, -0.16149507462978363, 0.795414924621582, 0.38692671060562134, -0.018840061500668526, 0.48427364230155945, 0.18250007927417755, 0.10524590313434601, 0.10857924073934555, -0.9520939588546753, -0.2733454406261444, 1.007414698600769, 0.12657271325588226, 0.9361661076545715, 0.11352904886007309, 0.4604240655899048, -0.018337292596697807, 0.03775332123041153, -0.9444147348403931, 0.27375876903533936, -0.5450565218925476, -0.49401307106018066, -0.38256946206092834, -0.25938835740089417, -0.8890579342842102, 0.36685505509376526, -0.22851522266864777, -0.732071578502655, 0.23801039159297943, 0.47264909744262695, -0.7905006408691406, 0.32354938983917236, -0.9603636264801025, 0.7522242069244385, -0.20326952636241913, -0.605941653251648, -0.39984074234962463, -0.327072411775589, 0.0716872289776802, -0.3431658446788788, 0.1503935158252716, -0.28691717982292175, 0.02729332074522972, 0.3560282289981842, -0.23690956830978394, 0.9395096898078918, -0.18473264575004578, -0.18946342170238495, 0.31518590450286865, 0.00577178318053484, 0.6274978518486023, -0.04319899529218674, -0.2372218519449234, 0.20246772468090057, 0.14151722192764282, -0.33875858783721924, -0.4877716600894928, 0.9684487581253052, -0.758266270160675, -0.6717382669448853, -0.14562398195266724, -0.6011385917663574, -0.44941627979278564, 0.23389454185962677, 0.3290609121322632, 0.36132296919822693, -0.24503353238105774, 0.5451105237007141, 0.8862060308456421, -0.27035829424858093, 0.5833223462104797, 0.7927286624908447, 0.06625249981880188, 0.08068227022886276, 0.7683359384536743, 0.20777900516986847, 0.5477437376976013, 0.6001001000404358, 0.35756543278694153, 0.08089426159858704, -0.8892478942871094, -0.27011433243751526, 0.1262262612581253, -0.5078408718109131, -0.42323631048202515, -0.2342734932899475, -0.006792592350393534, -0.20140130817890167, -0.18741431832313538, -0.44262152910232544, -0.13767507672309875, -0.47521141171455383, 0.29444777965545654, 0.7207068204879761, 0.20939745008945465, 0.05665472149848938, 0.5410500764846802, -0.4226401746273041, 0.4365094006061554, 0.06554298102855682, 0.463565856218338, 0.09547719359397888, -0.7132247090339661, -0.4558717608451843, 0.16233213245868683, -0.2947382926940918, -0.2368030995130539, 0.031110046431422234, 0.6248282790184021, 0.32205870747566223, 0.37596094608306885, -0.06550832837820053, 1.1712560653686523, -0.6812002658843994, 0.5304206609725952, -0.060772836208343506, -0.7411836385726929, 0.4400585889816284, -0.3331826329231262, 0.43196338415145874, 0.8077148199081421, 0.14205771684646606, -0.29639875888824463, 0.11913613229990005, -0.028542760759592056, -0.7848137617111206, 0.9059565663337708, -0.06436273455619812, 0.1589611917734146, 0.18014468252658844, 0.561521589756012, 0.3459642827510834, -0.03517194092273712, -0.35535910725593567, -0.19514626264572144, 0.16991731524467468, -0.025761689990758896, -0.3526529371738434, -0.19955837726593018, -0.10007981210947037, -0.23849721252918243, 0.4847186505794525, -0.3573501408100128, -0.0458345040678978, -0.19421067833900452, -0.20855428278446198, -0.31496745347976685, 0.33609768748283386, 0.561427652835846, 0.7873244881629944, -0.26194003224372864, -0.07659603655338287, 0.640388548374176, -0.10655663162469864, -0.007541128434240818, -0.2186153531074524, -0.16778706014156342, -0.3208252787590027, 0.3819718658924103, 1.2420434951782227, 0.30542153120040894, -0.6529383659362793, 0.20864413678646088, 0.0742766261100769, -0.1613067239522934, 0.04359645023941994, 0.4875686466693878, 0.12661835551261902, 0.30976346135139465, 0.08099648356437683, 0.0016275139059871435, -0.01752040721476078, -0.7705375552177429, -0.3420071601867676, 0.639431893825531, -0.13898983597755432, -0.24906840920448303, 0.36447277665138245, 0.04217877984046936, -0.10561008751392365, 0.30224624276161194, -0.02310228906571865, 0.338140070438385, 0.41377270221710205, 0.6460571885108948, 0.6116234660148621, 0.03706032410264015, -0.30590561032295227, 0.21228329837322235, 0.02375316433608532, -0.36306318640708923, 0.18622294068336487, -0.1679457426071167, -0.8184651136398315, -0.5682386159896851, -0.8383851647377014, -0.13514605164527893, 0.5532296299934387, -0.47115811705589294, 0.3493632674217224, -0.4926565885543823, -0.11599351465702057, 0.0041020652279257774, 0.1905413568019867, -0.7960442304611206, -0.07103443890810013, -0.017720816656947136, 1.1216578483581543, -0.6932695508003235, 0.9666675329208374, 0.7058467268943787, 0.0391627661883831, -0.4824090898036957, 0.07224086672067642, 0.09496185928583145, -0.8573721647262573, 0.4367625415325165, -0.19843712449073792, -0.3160105347633362, 0.06336220353841782, -0.2887498140335083, -1.0046900510787964, 1.1904860734939575, 0.4648430049419403, -0.8923876285552979, 0.1155073419213295, -0.05670684576034546, 0.6898770332336426, -0.27758288383483887, -0.13658267259597778, 0.9081436991691589, 0.34934890270233154, 0.12069396674633026, -1.1523102521896362, -0.025457028299570084, 0.19465669989585876, 0.31859058141708374, 0.24040749669075012, -0.9524899125099182, 0.8311697244644165, -0.13996237516403198, -0.22235187888145447, 0.24907921254634857, 0.42026403546333313, 0.15496893227100372, 0.2507847547531128, 0.5172889828681946, 0.4010414481163025, 0.4598851799964905, -0.10192643851041794, 0.7834277153015137, -0.3518460988998413, 0.3332595229148865, 1.179874062538147, -0.4543263614177704, 0.8625133633613586, 0.7074063420295715, -0.20202898979187012, -0.04828633368015289, 0.5970372557640076, 0.08861052244901657, 0.8393765687942505, 0.2848908603191376, 0.03282902017235756, -0.19771209359169006, -0.057138439267873764, -0.2540099322795868, 0.5570964217185974, 0.3742486536502838, -0.10740035772323608, -0.29923900961875916, 0.11796657741069794, -0.11484698951244354, -0.016943249851465225, -0.5335537195205688, 1.0558840036392212, 0.33332890272140503, -0.6302515268325806, 1.0177268981933594, 0.20773647725582123, 0.8861004114151001, -0.5451101660728455, 0.2455204874277115, -0.37721067667007446, 0.4646615982055664, -0.1103115826845169, -0.3750721514225006, 0.20936600863933563, 0.18186622858047485, -0.3285449743270874, -0.2213899791240692, 0.7254047989845276, -0.19829003512859344, -0.244052454829216, 0.21509137749671936, 0.5588192939758301, -0.11396234482526779, -0.026982493698596954, -0.5802325010299683, 0.20483548939228058, -0.15388110280036926, -0.34780025482177734, 0.6709634065628052, 0.7244702577590942, -0.18701009452342987, 0.5456535816192627, 0.4649665951728821, 0.29547402262687683, -0.11754114925861359, 0.055587250739336014, 0.7129482626914978, -0.5269330143928528, -0.2641955316066742, -1.0647951364517212, 0.05383583530783653, 0.3510666489601135, -0.3072616755962372, 0.7823010683059692, 0.5178897976875305, 0.948910653591156, -0.16720695793628693, 0.6483321785926819, -0.039230234920978546, 0.46452224254608154, -0.9424957633018494, 0.40607136487960815, -0.7267102003097534, 0.25171563029289246, -0.13125453889369965, -1.0026789903640747, -0.17727668583393097, 0.5981929898262024, -0.2825404405593872, 0.11412546038627625, 0.6156033873558044, 0.8786189556121826, -0.520723819732666, -0.20311953127384186, 0.42503052949905396, 0.48010119795799255, -0.021301258355379105, 0.7176854610443115, 0.7355040907859802, -0.22586075961589813, 0.3072377145290375, -0.23345322906970978, -0.16305530071258545, -0.5249317288398743, -1.0884140729904175, -0.9915683269500732, -0.4778898358345032, -0.16277998685836792, -0.004753713496029377, 0.17485074698925018, 0.9643281102180481, 0.753810465335846, -1.046971082687378, -0.36481839418411255, 0.14532393217086792, -0.08671406656503677, -0.3448556065559387, -0.1323198527097702, 0.2465452253818512, -0.42658326029777527, -0.708959698677063, 0.40427103638648987, 0.3845270276069641, -0.041050542145967484, 0.023061254993081093, 0.014186426997184753, 0.043153226375579834, 0.10915002971887589, 0.8594043850898743, 0.26734766364097595, -0.7565727829933167, -0.2951078414916992, -0.09684499353170395, 0.06906803697347641, 0.2203580141067505, 0.8580516576766968, -0.6495292782783508, 0.18257996439933777, 0.5384635329246521, 0.5015605092048645, 0.5478613376617432, -0.04174208641052246, 0.33439165353775024, -0.7049548029899597, 0.2394910603761673, -0.16332873702049255, 0.2745360732078552, 0.16242167353630066, -0.1618383377790451, 0.4156590402126312, -0.07231543213129044, -0.5379523634910583, -0.8162206411361694, 0.3008561134338379, -0.8724779486656189, -0.6007013320922852, 1.2513452768325806, 0.07281436026096344, -0.09622136503458023, 0.026494095101952553, -0.35521557927131653, 0.06418289989233017, -0.3830133080482483, 0.8973548412322998, 0.7316372394561768, -0.40889081358909607, 0.006921798922121525, -0.6861279010772705, 0.7371475696563721, 0.30077841877937317, -0.5647270083427429, 0.3029875159263611, 0.3977947533130646, 0.47138604521751404, -0.11715333163738251, 0.5629397034645081, 0.2126600295305252, 0.014053916558623314, -0.3781810998916626, -0.6186195015907288, -0.21193479001522064, -0.27665039896965027, -0.5123612284660339, 0.07948685437440872, 0.32117730379104614, 0.10893362015485764 ]
http://arxiv.org/abs/2405.13179v4
http://arxiv.org/pdf/2405.13179v4
RAG-RLRC-LaySum at BioLaySumm: Integrating Retrieval-Augmented Generation and Readability Control for Layman Summarization of Biomedical Texts
2024-05-21T20:03:40
2024-06-24T18:13:16
Yuelyu Ji, Zhuochun Li, Rui Meng, Sonish Sivarajkumar, Yanshan Wang, Zeshui Yu, Hui Ji, Yushui Han, Hanyu Zeng, Daqing He
cs.CL
cs.CL
This paper introduces the RAG-RLRC-LaySum framework, designed to make complex biomedical research understandable to laymen through advanced Natural Language Processing (NLP) techniques. Our Retrieval Augmented Generation (RAG) solution, enhanced by a reranking method, utilizes multiple knowledge sources to ensure the precision and pertinence of lay summaries. Additionally, our Reinforcement Learning for Readability Control (RLRC) strategy improves readability, making scientific content comprehensible to non-specialists. Evaluations using the publicly accessible PLOS and eLife datasets show that our methods surpass Plain Gemini model, demonstrating a 20% increase in readability scores, a 15% improvement in ROUGE-2 relevance scores, and a 10% enhancement in factual accuracy. The RAG-RLRC-LaySum framework effectively democratizes scientific knowledge, enhancing public engagement with biomedical discoveries.
[ -0.10683335363864899, -0.43928036093711853, 0.37167075276374817, 0.17985931038856506, -0.3493216037750244, 0.45359987020492554, -0.08802329003810883, -0.6383346915245056, 0.693106472492218, 0.4826488196849823, -0.144740492105484, -0.4786030352115631, -0.6112315058708191, 0.4341350197792053, -0.19724522531032562, 1.2844196557998657, -0.034321367740631104, -0.06212666258215904, -0.6189212203025818, -0.4040166437625885, 0.09531860798597336, -0.13001152873039246, -0.3189312517642975, -0.5993847250938416, 0.9333330392837524, 0.3781890571117401, 0.6827486157417297, 0.9193804264068604, 0.8633053302764893, 0.22241036593914032, -0.5479297041893005, 0.6007311344146729, -0.6621339917182922, 0.2724377512931824, -0.4408440887928009, -0.4195610582828522, -0.7225593328475952, -0.1190318614244461, 0.5915204286575317, 0.9040109515190125, -0.22956755757331848, 0.1571681648492813, -0.052299562841653824, 1.0131189823150635, -0.8056340217590332, 0.015174288302659988, -0.04332251101732254, 0.13279886543750763, -0.11036079376935959, -0.807690441608429, -0.814421534538269, -0.43090295791625977, 0.0009140834445133805, -0.8798556923866272, 0.28583356738090515, 0.06966182589530945, 0.5552766919136047, 0.4150998592376709, -0.5680180191993713, -0.46457159519195557, -0.46155598759651184, 0.7251786589622498, -0.6984286308288574, 0.30097249150276184, 0.4721282422542572, -0.05223465710878372, -0.4214783310890198, -0.9366469979286194, -0.13845336437225342, -0.26001864671707153, -0.3902987837791443, 0.6458231210708618, 0.3133885860443115, -0.021045593544840813, 0.10927700251340866, 0.2069135457277298, -0.6626026034355164, -0.28852587938308716, -0.7524407505989075, -0.0011089338222518563, 0.6769038438796997, -0.13018688559532166, 0.22835682332515717, -0.35276323556900024, -0.32039013504981995, -0.031336709856987, -0.5052943229675293, 0.07875459641218185, -0.0925394594669342, 0.10522881895303726, -0.007678644265979528, 0.7729982733726501, -0.2594389021396637, 0.46404045820236206, -0.12644748389720917, -0.33314046263694763, 0.4143039286136627, -0.18114259839057922, -0.05884382128715515, 0.1625334471464157, 0.4621178209781647, 0.1159951388835907, -0.04612019658088684, -0.174748957157135, 0.13867032527923584, -0.2826538681983948, 0.5299690365791321, -0.7139100432395935, -0.042191553860902786, 0.449200838804245, -0.6912000179290771, -0.5230278968811035, 0.07118634879589081, -0.680955171585083, -0.45458126068115234, -0.3614477217197418, 0.3201078474521637, -0.49980834126472473, -0.11747181415557861, 0.12979760766029358, -0.3045746684074402, 0.28679749369621277, 0.4523133933544159, -0.5314538478851318, 0.2807391881942749, 0.7007682919502258, 0.9456393718719482, -0.4989176094532013, -0.19300627708435059, -0.5903933644294739, 0.5948948860168457, -0.29624584317207336, 0.900221049785614, -0.21855856478214264, -0.6599550843238831, -0.3057692050933838, -0.13809101283550262, -0.062151387333869934, -0.3406376838684082, 0.5534559488296509, -0.4625386893749237, 0.24164946377277374, -0.09750360995531082, -0.5808391571044922, -0.18636919558048248, -0.0464407242834568, -0.47745978832244873, 0.5663967132568359, -0.22074563801288605, -1.0146148204803467, 0.31422510743141174, -0.5097041130065918, -0.8121007680892944, 0.2145000845193863, -0.17194730043411255, -0.4917917549610138, 0.1715298444032669, 0.0688801109790802, 0.3729502260684967, 0.13934940099716187, 0.3709983825683594, -0.09412938356399536, -0.30503445863723755, 0.20253032445907593, 0.05267230421304703, 0.5882911086082458, 0.4154980778694153, -0.2060154378414154, 0.23218242824077606, -0.8346236944198608, 0.1105550229549408, -0.27686020731925964, -0.4288662075996399, -0.31298771500587463, 0.1931648999452591, -0.2014298290014267, -0.14258813858032227, 0.091461680829525, -0.25353938341140747, -0.019795294851064682, -0.505607008934021, 0.11607731878757477, 0.6273477077484131, -0.12169056385755539, 0.6425003409385681, -0.5297013521194458, 0.3965405523777008, -0.2522822916507721, -0.09013666957616806, -0.3293904960155487, -0.3240809440612793, -0.5412667989730835, -0.657085120677948, 0.44155052304267883, 0.6960071325302124, -0.626453161239624, 0.19370758533477783, -0.10327673703432083, -0.42106160521507263, -0.38718485832214355, -0.25191083550453186, 0.6464998722076416, 0.6929062604904175, 0.7058842182159424, -0.27665162086486816, -0.43446084856987, -0.7454878091812134, -0.4664019048213959, -0.10226643085479736, -0.11200277507305145, 0.46207815408706665, 0.5544973611831665, -0.41206130385398865, 0.8817878365516663, -0.5434985160827637, -0.13428735733032227, -0.33837181329727173, 0.6350688934326172, 0.24809731543064117, 0.6242101788520813, 0.012972058728337288, -0.9096062183380127, -0.22345995903015137, 0.16973398625850677, -0.9319054484367371, -0.3230700194835663, 0.1555904746055603, -0.019466707482933998, 0.18995320796966553, 0.6606780886650085, -0.2559360861778259, 0.6886512637138367, 0.28757244348526, -0.38446858525276184, 0.5293355584144592, -0.5879299640655518, 0.43134358525276184, -1.1004621982574463, 0.559160053730011, -0.2812133729457855, -0.6092807650566101, -0.43280553817749023, 0.15801593661308289, 0.10819234699010849, -0.016586726531386375, -0.2000228613615036, 0.4518629312515259, -0.24888038635253906, -0.33645787835121155, -0.26556628942489624, 0.11098043620586395, 0.24017441272735596, 0.06208958849310875, 0.2183905988931656, 0.9228314757347107, -0.24491611123085022, -0.7742388844490051, -0.03814718499779701, 0.5480308532714844, 0.03337538614869118, 0.4900427758693695, -1.0330523252487183, -0.32460615038871765, -0.6501418352127075, 0.5950332880020142, -0.5817848443984985, -0.5488994717597961, 0.03466679900884628, -0.7592537999153137, 0.35461509227752686, 0.28924620151519775, 0.10280603915452957, 0.06768937408924103, -0.3268212378025055, 0.266269713640213, 0.4248630702495575, -0.4110943078994751, 0.8875823616981506, 0.3545113205909729, -0.3867824375629425, -0.8698183298110962, -0.7510572075843811, -0.15372195839881897, 0.16953574120998383, -0.4874117076396942, 0.5074342489242554, -0.20159275829792023, -0.17030571401119232, -0.1289997696876526, -0.09279821813106537, -0.03787413612008095, -0.1281510293483734, 0.31987977027893066, 0.18208351731300354, 0.13137616217136383, 0.09666690975427628, 0.19839441776275635, -0.38783156871795654, -0.07357403635978699, 0.12756672501564026, -0.004354465287178755, 0.12217219173908234, -0.12090346217155457, -0.17111307382583618, 0.3024002015590668, 0.33147183060646057, -0.2836715579032898, 0.5979093909263611, 0.4496747553348541, -0.03117021918296814, -0.1670859456062317, -0.19175420701503754, -0.2188446968793869, -0.39605188369750977, 0.25791966915130615, -0.03073229268193245, -0.9415984153747559, 0.5118717551231384, -0.40878745913505554, 0.35741984844207764, 0.38017651438713074, 0.4593333899974823, -0.613124430179596, 0.7420540452003479, 0.6447749137878418, 0.5201859474182129, 0.0787455216050148, -0.045380834490060806, -0.05667771399021149, -0.7028547525405884, -0.5672112703323364, -0.6003664135932922, -0.32083195447921753, -0.5550268292427063, -0.7472794651985168, 0.5128565430641174, 0.19661737978458405, 0.04421801120042801, 0.03918355330824852, -0.5174283981323242, 0.5457105040550232, 0.37358513474464417, 0.3164857029914856, 0.6711698770523071, -0.13862256705760956, -0.44298630952835083, -0.06025198474526405, -0.6926770806312561, -0.3974267840385437, 0.8279990553855896, 0.4442065954208374, 0.7211408615112305, 0.2164325714111328, 0.7236450910568237, 0.6012416481971741, 0.43485429883003235, -0.5947929620742798, 0.44910991191864014, -0.29296642541885376, -0.5121986269950867, -0.052863799035549164, -0.7135675549507141, -0.8748081922531128, 0.20035004615783691, -0.32273295521736145, -0.16393743455410004, 0.4980306327342987, 0.3268442451953888, -0.27202272415161133, 0.09435229748487473, -0.40877968072891235, 0.2839495539665222, 0.05531349033117294, -0.2501225769519806, -0.34265393018722534, -1.0516141653060913, 0.5047191381454468, 0.20328709483146667, 0.5825393795967102, 0.04960382357239723, -0.2568242847919464, 0.6971643567085266, -0.1620468646287918, 0.599082350730896, 0.29840031266212463, 0.16477583348751068, -0.042197201400995255, 0.12636816501617432, 0.43050137162208557, 0.4209211766719818, 0.08901132643222809, -0.1398252248764038, 0.0445268414914608, -0.6727480292320251, -0.22051677107810974, 0.3906034529209137, -0.66473388671875, 0.08298223465681076, -0.8861530423164368, -0.6017072200775146, -0.10703735798597336, 0.14676165580749512, 0.33771345019340515, 0.45661598443984985, -0.3725133538246155, 0.4516605734825134, 1.22939932346344, -0.5577272176742554, -0.033237896859645844, 0.6886289119720459, -0.3080414831638336, -0.8273078799247742, 0.8896088004112244, -0.19770437479019165, 0.26839083433151245, 0.5985049605369568, 0.1766846925020218, -0.13522180914878845, -0.45817461609840393, -0.1247888132929802, 0.3511165976524353, -0.48664116859436035, -0.3187411427497864, -0.7915194034576416, -0.2053317278623581, -0.5985453724861145, -0.4677990674972534, -0.24080561101436615, -0.5053865909576416, -0.4800761640071869, -0.17421074211597443, 0.40864813327789307, 0.9286455512046814, -0.6234498620033264, 0.27400630712509155, -0.5880968570709229, 0.7326863408088684, 0.05735829472541809, 0.39099636673927307, -0.5755907297134399, -0.732508659362793, -0.26138901710510254, -0.19797439873218536, 0.08784467726945877, -0.7029211521148682, 0.45321720838546753, 0.20114873349666595, 0.25137099623680115, 0.05838310346007347, -0.05948684364557266, 0.3605998158454895, -0.49589720368385315, 0.2995937168598175, 0.11009135842323303, -0.6673944592475891, 0.4318440556526184, -0.5196803212165833, 0.3190852403640747, 0.843035876750946, 0.33764925599098206, -0.4724392890930176, -0.2627689838409424, -0.6722230315208435, -1.0606822967529297, 0.4403139650821686, 0.14252205193042755, -0.5300461053848267, 0.11438054591417313, 0.5650667548179626, 0.11740117520093918, 0.2224208116531372, -0.3536648750305176, -0.21382761001586914, -0.22615912556648254, -0.2784274220466614, -0.07422850281000137, -0.569533109664917, -0.3457556962966919, 0.059148307889699936, 0.8581045269966125, -0.29596179723739624, -0.06785012036561966, 0.675291121006012, -0.2913478910923004, -0.12437925487756729, 0.31466081738471985, 1.0118510723114014, 0.9535510540008545, -0.6002804040908813, 0.17079605162143707, 0.002643038285896182, -0.831840991973877, -0.11062055081129074, 0.15094301104545593, -0.4308571219444275, 0.02019415982067585, 0.649457573890686, 0.3187224268913269, 0.31321728229522705, -0.7221306562423706, 0.17049092054367065, -0.12402819842100143, -0.48737645149230957, -0.10971155762672424, -0.01304604671895504, 0.09483279287815094, 0.1527804434299469, 0.4796708822250366, 0.146185040473938, 0.2937203347682953, -0.0963752418756485, 0.5893018245697021, 0.17035920917987823, -0.3240959346294403, 0.045414894819259644, 0.5795588493347168, 0.35145947337150574, -0.016581427305936813, 0.08770311623811722, -0.04911620542407036, -0.1925078183412552, 0.6372703909873962, 0.46873149275779724, 0.4330371022224426, -0.2199295610189438, 0.6691864728927612, 0.6194972395896912, 0.26610878109931946, -0.27708524465560913, 0.35952243208885193, 0.13859707117080688, -0.4286665916442871, -0.9773868918418884, -0.6366214752197266, -0.7834065556526184, -0.33664610981941223, -0.8707646131515503, 0.028631791472434998, -0.5433045029640198, 0.09312623739242554, 0.024187790229916573, 0.00914868712425232, 0.12802067399024963, 0.3630848228931427, -0.3151237368583679, 0.8259645104408264, -0.5696935057640076, 0.30234163999557495, 0.48945820331573486, -0.3502792418003082, -0.5521328449249268, -0.3402335047721863, -0.07660047709941864, -0.4491937458515167, 0.6449850797653198, -0.13174080848693848, -0.24178360402584076, 0.08198539912700653, -0.7132115364074707, -0.8219256401062012, 1.2907774448394775, -0.016893817111849785, -0.4018821120262146, 0.19556798040866852, -0.14315538108348846, 0.5918850898742676, -0.0464184395968914, 0.4127209484577179, 0.40344008803367615, 0.5948492884635925, 0.3685225248336792, -0.7647292017936707, -0.3730497658252716, -0.17470058798789978, -0.370975136756897, 0.21555735170841217, -0.5926571488380432, 0.511143147945404, -0.4327555000782013, 0.0046493117697536945, -0.01967567391693592, 1.0423952341079712, 0.7494019865989685, 0.7237905859947205, 0.07100329548120499, 0.6244495511054993, 0.7956376671791077, 0.010890115983784199, 0.9659544229507446, 0.10109387338161469, 0.2100745439529419, 1.200838327407837, -0.13607414066791534, 0.6618582606315613, 0.5661495923995972, -0.1713164895772934, 0.5737102031707764, 0.2616640031337738, 0.4359264075756073, 0.4191548228263855, 0.11554776877164841, -0.25190097093582153, -0.027484087273478508, -0.42503488063812256, -0.5392824411392212, 0.2278682440519333, 0.37543973326683044, -0.2783486843109131, -0.019961142912507057, -0.10719943791627884, 0.1306997686624527, 0.48071256279945374, -0.2962057590484619, 0.9352351427078247, 0.3175722062587738, -0.384525865316391, 0.2285575270652771, 0.034213535487651825, 0.6639741063117981, -0.8520283699035645, -0.1789143830537796, -0.2792755663394928, 0.10888135433197021, -0.46137315034866333, -0.6745495796203613, 0.4696400761604309, -0.05468529462814331, -0.5155394077301025, -0.2396346479654312, 0.9843464493751526, -0.41565555334091187, -0.44049257040023804, 0.15126889944076538, 0.5425198078155518, 0.22921383380889893, 0.6463052034378052, -0.6114431619644165, -0.11554048955440521, -0.008822264149785042, -0.3697989881038666, 0.37752899527549744, 0.25946375727653503, 0.13942836225032806, 0.7169927358627319, 0.9514882564544678, 0.3834769129753113, -0.24428214132785797, 0.011040839366614819, 0.6431210041046143, -0.736171305179596, -0.41040554642677307, -0.2911094129085541, 0.41332295536994934, -0.2468274086713791, -0.20634639263153076, 0.42927825450897217, 0.552280843257904, 0.2991473078727722, 0.013976373709738255, 0.6201958060264587, -0.20011167228221893, 1.167500376701355, -0.30006304383277893, 0.9371821880340576, -0.50589519739151, -0.04873660206794739, -0.06542836874723434, -0.36222127079963684, -0.6066294312477112, 0.7944945693016052, 0.05431006848812103, 0.10140576213598251, 0.8097647428512573, 0.4191983938217163, 0.07222114503383636, -0.05158202350139618, 0.11890072375535965, 0.2232075333595276, 0.297900915145874, 0.05018516629934311, 0.32360678911209106, -0.15611609816551208, 0.24127870798110962, -0.10988221317529678, -0.541856586933136, -0.25107067823410034, -1.1934928894042969, -0.7920257449150085, -0.15755772590637207, -0.102351613342762, -0.7157624363899231, 0.45475199818611145, 0.7842032313346863, 0.38128283619880676, -0.8729453682899475, -0.19610042870044708, -0.08120909333229065, 0.18617339432239532, -0.16185446083545685, -0.23210826516151428, 0.524732232093811, -0.4712730050086975, -0.30888062715530396, 0.5044576525688171, 0.5991660952568054, -0.22623391449451447, -0.11051985621452332, -0.22858338057994843, -0.45272740721702576, 0.11034180223941803, 0.5336514115333557, 0.7851966023445129, -0.2665386199951172, 0.2894079387187958, 0.08897852897644043, -0.33661597967147827, -0.1700373888015747, 1.0076603889465332, -0.9474229216575623, 0.39093926548957825, 0.8574648499488831, 0.8072643280029297, 0.3310622572898865, 0.3717643618583679, 0.6640013456344604, -0.5896247029304504, 0.19584140181541443, 0.5598430633544922, -0.004626651760190725, 0.15159308910369873, -0.39082038402557373, 0.8304141163825989, 0.18092738091945648, -0.9543201923370361, -0.6937347650527954, 0.2390296757221222, -1.1302201747894287, -0.4653022289276123, 0.9487340450286865, 0.07554659247398376, -0.3758472800254822, -0.21768781542778015, -0.2129630446434021, 0.4065569341182709, -0.33528149127960205, 0.6741443276405334, 0.07647160440683365, -0.08020060509443283, 0.08871869742870331, -0.6891734004020691, 0.8808237910270691, 0.7053717970848083, -1.1500598192214966, 0.011758887208998203, 0.4547455608844757, 0.1430734544992447, 0.1617514193058014, 0.8534047603607178, -0.26249319314956665, 0.38978442549705505, -0.6281014680862427, 0.1814330667257309, -0.13303664326667786, -0.48588940501213074, -0.21178346872329712, -0.04468972235918045, -0.284004807472229, 0.48468467593193054 ]
http://arxiv.org/abs/2405.13144v2
http://arxiv.org/pdf/2405.13144v2
Mamo: a Mathematical Modeling Benchmark with Solvers
2024-05-21T18:29:54
2024-06-30T05:42:24
Xuhan Huang, Qingning Shen, Yan Hu, Anningzhe Gao, Benyou Wang
cs.AI
cs.AI, cs.CL
Mathematical modeling involves representing real-world phenomena, systems, or problems using mathematical expressions and equations to analyze, understand, and predict their behavior. Given that this process typically requires experienced experts, there is an interest in exploring whether Large Language Models (LLMs) can undertake mathematical modeling to potentially decrease human labor. To evaluate of LLMs in mathematical modeling, we introduce a new benchmark, Mamo, that transcends traditional result-oriented assessments. Unlike conventional methods that primarily assess LLMs based on the accuracy of solutions to mathematical problems, our approach offers deeper insight into the modeling process itself. By focusing on the processes LLMs undertake rather than the correctness of their final solutions, Mamo pioneers a novel evaluation paradigm. This shift underscores the importance of understanding the inherent modeling capabilities of LLMs, paving the way for a more nuanced and comprehensive analysis of their problem-solving strategies. Our work marks a significant advancement in the field, suggesting a new direction for future research by emphasizing the evaluation of LLMs' modeling processes over the mere correctness of answers. This benchmark not only facilitates a better understanding of LLMs' mathematical modeling capabilities but also sets a new standard for evaluating their performance in complex problem-solving scenarios.
[ -0.3214232325553894, -0.7612940073013306, 0.6355624794960022, 0.2589544951915741, -0.15465107560157776, 0.061962105333805084, -0.22888363897800446, -0.40021103620529175, -0.3060818910598755, 0.4811900556087494, -0.5834994316101074, -0.28647610545158386, -0.7529902458190918, 0.19220462441444397, -0.15463857352733612, 0.4755472242832184, -0.05706807225942612, 0.3818480968475342, -0.9349229335784912, 0.01476475689560175, -0.41007494926452637, -0.5033994317054749, -0.5987796187400818, -0.6340306401252747, 0.49021053314208984, 0.012429066933691502, 0.6715383529663086, 0.7116012573242188, 0.8326069116592407, 0.41888123750686646, -0.1342177391052246, 0.18116748332977295, -0.4070829153060913, 0.26612088084220886, -0.028985947370529175, -0.5144243240356445, -0.584689736366272, 0.02921084500849247, 0.550919771194458, 1.0667309761047363, -0.19906260073184967, 0.4428125023841858, -0.08393638581037521, 0.6043692231178284, -0.7481741309165955, 0.37571415305137634, -0.5518286824226379, 0.08252519369125366, -0.26003751158714294, -0.05798855796456337, -0.20289024710655212, -0.5764517188072205, 0.007995213381946087, -0.4295744299888611, -0.024535687640309334, -0.18292935192584991, 0.5243626236915588, 0.10560604929924011, -0.5289206504821777, -0.23587878048419952, -0.695456326007843, 1.0468370914459229, -0.8602098226547241, 0.261883020401001, 0.05436442419886589, 0.7729120254516602, -0.3419092297554016, -0.3304043114185333, -0.3246816098690033, -0.24001458287239075, 0.4313609302043915, 0.0584326907992363, -0.15155495703220367, -0.2399900257587433, 0.23593659698963165, 0.4369349181652069, -0.3328355550765991, 0.002305317437276244, -0.38158705830574036, -0.18745718896389008, 0.868073046207428, 0.5251035690307617, -0.03880472481250763, 0.11751311272382736, -0.316005676984787, 0.017499035224318504, -0.5351502895355225, -0.15152819454669952, 0.24949268996715546, 0.10024113208055496, 0.14142052829265594, 0.6818802952766418, -0.2709841728210449, 0.6355602741241455, -0.7478234171867371, -0.45239701867103577, 0.27325671911239624, 0.05334926024079323, -0.29461994767189026, -0.4230937361717224, 0.6514270901679993, 0.45048782229423523, 0.34173938632011414, 0.09946572780609131, -0.5215162634849548, 0.324554979801178, 0.21996475756168365, -0.8296952247619629, 0.1935424506664276, -0.2483321577310562, -0.575772225856781, -0.4082905948162079, -0.185079425573349, -0.8211019039154053, -0.4521203339099884, -0.34386342763900757, 0.6126750707626343, 0.030354682356119156, -0.28797411918640137, 0.3914525508880615, 0.22645235061645508, -0.020593199878931046, 0.5125681757926941, -0.5181553959846497, 0.6110879778862, 1.1184624433517456, 0.959810733795166, -0.08399508893489838, 0.02557285688817501, -0.48137712478637695, -0.1921215057373047, -0.6144943237304688, 0.8678044080734253, -0.7279160618782043, -0.8959568738937378, 0.05313512310385704, -0.287029892206192, 0.07413148134946823, -0.9317888021469116, 0.9043270945549011, -0.4246905446052551, -0.0003557422896847129, -0.22320538759231567, -0.698120653629303, -0.29200780391693115, 0.43101948499679565, -0.48894643783569336, 1.00636887550354, 0.0292035099118948, -0.0742299035191536, 0.03198739141225815, -0.8930782675743103, -0.17354974150657654, -0.11705984175205231, -0.08115515857934952, -0.46795374155044556, 0.6240124106407166, 0.009535536170005798, 0.3463653326034546, -0.9636577367782593, 0.22049954533576965, -0.5096296072006226, -0.2538900077342987, 0.653435468673706, -0.5924543738365173, 0.41585013270378113, 0.44175323843955994, 0.14983133971691132, 0.020394854247570038, -0.9158973097801208, 0.20576807856559753, 0.3336193859577179, -0.22261838614940643, -0.271663635969162, 0.12232434749603271, -0.29317334294319153, 0.395316481590271, 0.46916064620018005, -0.4653894305229187, 0.2854129374027252, -0.24896112084388733, 0.3353068232536316, 0.7516673803329468, -0.13629449903964996, 0.14932875335216522, -0.5953660607337952, 0.8249962329864502, -0.3755117654800415, 0.25770431756973267, -0.36151424050331116, -0.6241441369056702, -0.8359127044677734, -0.27648597955703735, 0.1902730017900467, 0.23746918141841888, -0.2536871135234833, -0.08240833133459091, -0.2511163055896759, -0.8107290267944336, -0.4130500257015228, 0.3073662221431732, 0.7319191694259644, 0.5618379712104797, 0.18244151771068573, -0.2380470633506775, -0.4855189323425293, -1.0345526933670044, -0.42240190505981445, 0.14983052015304565, -0.19443248212337494, 0.4002181887626648, 0.49246296286582947, -0.03562494367361069, 0.7081784009933472, -0.5662226676940918, -0.1804955154657364, -0.015333784744143486, 0.32615283131599426, 0.3930063545703888, 0.3095855116844177, 0.27727046608924866, -0.6405090689659119, -0.21975073218345642, 0.06315595656633377, -0.7280710935592651, -0.5050951838493347, 0.3739532232284546, -0.03313308581709862, -0.07103507220745087, 0.36636364459991455, -0.42748114466667175, 0.12859037518501282, 0.6821766495704651, -0.06297984719276428, 0.6346490383148193, -0.1972024142742157, 0.12416620552539825, -0.7703008055686951, 0.0637674406170845, -0.11598009616136551, -0.04685450717806816, -0.3048701286315918, -0.11088322848081589, 0.03014100156724453, -0.438710480928421, -0.36099302768707275, 0.7009170055389404, -0.6125586628913879, -0.669738233089447, -0.18678973615169525, 0.07226894795894623, 0.12931863963603973, 0.029713930562138557, -0.34073972702026367, 0.9892939925193787, 0.4251245856285095, -0.5635733008384705, 0.5119547247886658, -0.0743250846862793, -0.6711942553520203, 0.5817423462867737, -0.9193673729896545, 0.2722243070602417, 0.20166973769664764, -0.20000234246253967, -0.92961186170578, 0.09758920222520828, -0.14861983060836792, -0.42564722895622253, -0.10429457575082779, -0.13126122951507568, -0.6601116061210632, -0.5560818314552307, -0.031207934021949768, 0.4524637460708618, 0.5956338047981262, -0.14978434145450592, 0.7269924283027649, 0.33086904883384705, -0.27123773097991943, -0.38614240288734436, -0.44557663798332214, -0.026174219325184822, -0.07732995599508286, -0.685944676399231, 0.18010050058364868, -0.15447287261486053, -0.588638961315155, -0.12789861857891083, -0.3868444561958313, -0.2621001601219177, 0.42592674493789673, 0.17698314785957336, 0.40235114097595215, -0.42013564705848694, 0.19381466507911682, -0.11541298031806946, -0.5230745077133179, 0.4584003686904907, -0.0693097934126854, 0.636375367641449, -0.03896760195493698, -0.5732628703117371, -0.3097769618034363, 0.1859607994556427, 0.7597910761833191, -0.6738384962081909, 0.47037753462791443, 0.010081627406179905, -0.5562678575515747, -0.028676066547632217, -0.6537362933158875, 0.11366914212703705, -0.46412065625190735, 0.34809890389442444, -0.7317298054695129, -0.5620628595352173, 0.5737380385398865, -0.5228809118270874, 0.11266370117664337, 0.3771516978740692, 0.7777238488197327, 0.168257474899292, 1.241671085357666, 0.567569375038147, 0.2824961543083191, 0.2452724128961563, -0.033826857805252075, 0.09566166251897812, -0.8709835410118103, -0.5284630656242371, -0.8020943999290466, -0.2512566149234772, -0.05718401446938515, -0.7607864141464233, 0.37470370531082153, 0.10159725695848465, 0.12223472446203232, 0.15593355894088745, -0.2284247726202011, 0.6575546860694885, 0.01907963678240776, -0.2595537006855011, 0.5624877214431763, -0.3695167601108551, -0.4088694751262665, -0.226693257689476, -0.37536704540252686, -0.9334673285484314, 1.2558292150497437, 0.2760399878025055, 0.7753763198852539, 0.13067561388015747, 0.35565292835235596, 0.3033943176269531, 0.7389344573020935, -0.800666868686676, 0.6499025225639343, 0.10149279236793518, -0.6394195556640625, -0.08769974857568741, -0.5886732935905457, -0.9519610404968262, 0.6341615319252014, -0.32803642749786377, -0.47829145193099976, -0.18010006844997406, -0.09410205483436584, -0.10771074146032333, 0.1709427386522293, -0.4834118187427521, 0.9784883856773376, -0.47671592235565186, -0.37463492155075073, -0.45297959446907043, 0.027551840990781784, 0.3434981405735016, -0.15169784426689148, 0.5393007397651672, -0.7691066861152649, -0.5502741932868958, 0.5491378307342529, -0.5042309165000916, 0.4366084635257721, -0.03543136641383171, -0.2998006045818329, 0.04964488372206688, 0.37006402015686035, 0.18159793317317963, -0.004930779803544283, -0.5861457586288452, 0.18538826704025269, -0.08361861109733582, -0.4489785134792328, -0.8202465772628784, 0.8033451437950134, -0.6171820163726807, -0.5932320356369019, -0.2951555848121643, -0.7245019674301147, -0.4105376899242401, 0.20906493067741394, -0.20141242444515228, 0.48922666907310486, -0.2910744249820709, 0.21968020498752594, 0.4794718325138092, -0.037065327167510986, 0.2942134141921997, 0.6781125664710999, -0.5595349669456482, -0.4051411747932434, 0.5665977001190186, 0.20598071813583374, 0.18088196218013763, 0.4803597629070282, 0.3355135917663574, -0.39155182242393494, -0.6617710590362549, -0.31276920437812805, 0.16894426941871643, -0.7392005324363708, -0.25160083174705505, -0.38949650526046753, -0.00016077843611128628, -0.08661052584648132, -0.05078232288360596, -0.6591289043426514, -0.27936258912086487, -0.036056023091077805, 0.2822781503200531, 0.026707708835601807, 0.6135711669921875, 0.28723832964897156, 0.06164715439081192, -0.8402977585792542, 0.10918259620666504, 0.526384711265564, 0.44861701130867004, -0.041517533361911774, -0.48621171712875366, -0.21924035251140594, -0.07518614828586578, -0.4384559094905853, -0.49842196702957153, 0.35648617148399353, 0.13761213421821594, 0.8535175919532776, 0.41546180844306946, -0.09153076261281967, 0.7977401614189148, -0.6054356694221497, 0.44176116585731506, 0.10282645374536514, -1.2602952718734741, 0.46642300486564636, -0.3211253583431244, 0.22741471230983734, 0.16823476552963257, 0.3505593240261078, -0.4071408808231354, 0.0831417515873909, -0.30492597818374634, -0.3985658884048462, 0.14366844296455383, 0.20305629074573517, 0.40302059054374695, -0.06898786127567291, 0.31384745240211487, 0.2643108367919922, 0.3811861574649811, -0.3758433163166046, -0.0041226535104215145, 0.26517489552497864, -0.013393649831414223, -0.29605674743652344, -0.4485151767730713, -0.2193470150232315, 0.007751272525638342, 0.418700635433197, 0.0407700315117836, 0.2467694878578186, -0.05996343865990639, -0.1846844106912613, -0.1975145936012268, 0.24011366069316864, 0.8098879456520081, 1.15255868434906, -0.007278087083250284, 0.030582880601286888, 0.2720690667629242, -0.03635004907846451, 0.07573205977678299, 0.1014053151011467, 0.15849930047988892, 0.16649311780929565, 0.3881611227989197, 0.4374972879886627, 0.5367482900619507, -0.9864309430122375, 0.512147843837738, 0.04721341282129288, -0.26719731092453003, -0.1939409226179123, 0.22886857390403748, 0.19150498509407043, 0.2548398971557617, 0.5903056263923645, 0.20250555872917175, 0.2132275551557541, -0.4358905851840973, -0.034547798335552216, 0.530809760093689, -0.1559928059577942, -0.25865328311920166, 0.5487515926361084, 0.42813077569007874, -0.6772048473358154, 0.26831862330436707, 0.11306817829608917, -0.4559703767299652, 0.9351163506507874, 0.6839369535446167, 0.6576787233352661, -0.3689052164554596, -0.08763802796602249, 0.28986459970474243, 0.11210361868143082, -0.07851417362689972, 0.14362822473049164, -0.0076205232180655, -0.6172610521316528, -0.4897013008594513, -0.6327437162399292, -0.7694435119628906, -0.038683898746967316, -0.8719159960746765, 0.3763536512851715, -0.641918957233429, -0.37107524275779724, 0.144801065325737, 0.22480273246765137, -0.4343651235103607, 0.28204822540283203, 0.17081110179424286, 0.8570144772529602, -0.6088870167732239, 0.7395719885826111, 0.770058274269104, -0.014677372761070728, -0.08049342781305313, -0.5078194737434387, 0.1648637354373932, -0.9311795830726624, 0.6595675349235535, 0.37786659598350525, -0.43144845962524414, -0.21439611911773682, -0.2133893370628357, -0.8265987038612366, 1.1396669149398804, 0.5842161774635315, -0.7716074585914612, 0.3930980861186981, 0.008132204413414001, 0.5929378271102905, -0.6540418863296509, 0.3671707510948181, 0.21624751389026642, 0.3141702711582184, -0.020051470026373863, -0.9619879722595215, -0.13523201644420624, -0.48386600613594055, 0.5237065553665161, 0.394758403301239, -0.6975764036178589, 1.1913248300552368, -0.22603905200958252, -0.13133813440799713, 0.37120211124420166, 0.5236473679542542, 0.26054590940475464, 0.5176063179969788, 0.43408259749412537, 0.36885231733322144, 0.7752050161361694, -0.29687443375587463, 1.2244787216186523, -0.09383600950241089, 0.5145004987716675, 0.8974214792251587, -0.5157192349433899, 0.9922924041748047, 0.35497868061065674, -0.5287657380104065, 0.4081832766532898, 0.4164678752422333, -0.09149806946516037, 0.2129674106836319, 0.5744309425354004, -0.3424295485019684, -0.6225964426994324, -0.18988388776779175, -0.5977526307106018, 0.47880232334136963, 0.29331308603286743, -0.2198231965303421, -0.18459151685237885, -0.13874433934688568, 0.067122682929039, 0.6138461828231812, -0.4862137734889984, 0.4283568561077118, 0.12683939933776855, -0.27211007475852966, 0.45065343379974365, 0.0343334823846817, 0.5238305926322937, -0.6197354197502136, -0.026299817487597466, -0.2893354296684265, 0.3661412000656128, 0.0056573753245174885, -0.5049268007278442, 0.4813406467437744, 0.1440337747335434, -0.20317253470420837, -0.17367903888225555, 0.44032520055770874, -0.08367736637592316, -0.8945621252059937, 0.3322431743144989, 0.5990219712257385, 0.16455739736557007, -0.06896098703145981, -0.743288516998291, 0.46049076318740845, -0.45834460854530334, -0.13849665224552155, 0.17099784314632416, 0.47591593861579895, -0.0925212875008583, 1.1929560899734497, 0.9436866641044617, -0.09811580181121826, 0.045996908098459244, 0.189503476023674, 0.7146786451339722, -0.584048330783844, -0.17895852029323578, -0.9845862984657288, 0.3179367780685425, -0.1637972593307495, -0.49688592553138733, 0.8204069137573242, 0.8649423122406006, 0.7914437651634216, -0.19805499911308289, 0.5848414301872253, 0.36735835671424866, 0.5946526527404785, -0.6276919841766357, 0.5694509148597717, -0.7688483595848083, 0.4757603704929352, -0.32464107871055603, -1.2268614768981934, -0.49031734466552734, 0.7092377543449402, -0.6654036641120911, 0.2120675891637802, 0.46203115582466125, 0.5678666830062866, 0.08486819267272949, -0.14805088937282562, 0.7770374417304993, 0.11100740730762482, 0.29326575994491577, 0.598278284072876, 1.2097551822662354, -0.3972892761230469, 0.7543873190879822, -0.11940938234329224, -0.09516157954931259, -0.45464664697647095, -1.0928497314453125, -0.8802486062049866, -0.21398068964481354, -0.2279280126094818, 0.06168137863278389, 0.025943011045455933, 0.9033475518226624, 0.6842564344406128, -0.6281648874282837, -0.6036235690116882, 0.1023445799946785, 0.2565799653530121, -0.38908249139785767, -0.14870785176753998, -0.19418926537036896, -0.34622955322265625, -0.9280254244804382, 0.36961233615875244, 0.5257746577262878, -0.058798450976610184, -0.39825406670570374, -0.14210663735866547, 0.11471966654062271, 0.3610328435897827, 0.6105506420135498, -0.01821400783956051, -0.6905238628387451, 0.16781730949878693, 0.09170126914978027, -0.10763141512870789, 0.2095360904932022, 1.0312020778656006, -0.4930800497531891, 0.6583499908447266, 0.3457505404949188, 0.8447110056877136, 0.5480955243110657, -0.16252680122852325, 0.7396703362464905, -0.1060844212770462, 0.11524553596973419, 0.24642091989517212, 0.4986814260482788, 0.40140101313591003, 0.08951829373836517, 0.6026855707168579, 0.22171829640865326, -0.4570509195327759, -1.0075714588165283, 0.14844539761543274, -0.7620515823364258, -0.0664500966668129, 0.678974449634552, -0.3528013825416565, -0.21376082301139832, 0.13936081528663635, -0.1362764686346054, -0.009752096608281136, -0.17043264210224152, 0.8743492960929871, 0.7785581350326538, 0.043614424765110016, -0.26244765520095825, -0.8427408337593079, -0.08487332612276077, 0.5923455953598022, -0.8709352612495422, -0.033696189522743225, 0.4051298499107361, 0.3545072376728058, 0.08253805339336395, 0.3445042371749878, -0.49128779768943787, 0.190097838640213, 0.003643670352175832, 0.021874794736504555, -0.43970412015914917, -0.11707045137882233, -0.3666209280490875, 0.1346086710691452, 0.17438636720180511, -0.2769774794578552 ]
http://arxiv.org/abs/2405.13135v1
http://arxiv.org/pdf/2405.13135v1
Dataset Mention Extraction in Scientific Articles Using Bi-LSTM-CRF Model
2024-05-21T18:12:37
2024-05-21T18:12:37
Tong Zeng, Daniel Acuna
cs.CL
cs.CL, cs.LG
Datasets are critical for scientific research, playing an important role in replication, reproducibility, and efficiency. Researchers have recently shown that datasets are becoming more important for science to function properly, even serving as artifacts of study themselves. However, citing datasets is not a common or standard practice in spite of recent efforts by data repositories and funding agencies. This greatly affects our ability to track their usage and importance. A potential solution to this problem is to automatically extract dataset mentions from scientific articles. In this work, we propose to achieve such extraction by using a neural network based on a Bi-LSTM-CRF architecture. Our method achieves F1 = 0.885 in social science articles released as part of the Rich Context Dataset. We discuss the limitations of the current datasets and propose modifications to the model to be done in the future.
[ -0.295648992061615, -0.5660205483436584, 0.4229174554347992, 0.2102886438369751, -0.6170942187309265, -0.3376038670539856, -0.4098998010158539, -0.7797528505325317, 0.3998958170413971, 0.37956514954566956, -0.19017867743968964, -0.25244683027267456, -0.7131248116493225, 0.43365389108657837, -0.7351194620132446, 1.1061724424362183, 0.13079357147216797, 0.33579763770103455, -0.41684848070144653, -0.07823611795902252, -0.1396602839231491, -0.36552807688713074, -0.1399790495634079, -0.46807414293289185, 1.0645228624343872, 0.14911890029907227, 0.3142020106315613, 1.0112972259521484, 0.6680614352226257, 0.22204743325710297, -0.22860194742679596, 0.29005804657936096, -0.34673014283180237, 0.09207842499017715, -0.3422923684120178, -0.20725344121456146, -0.43583977222442627, -0.10261072218418121, 0.7376599311828613, 0.9504756331443787, 0.31827840209007263, 0.28209683299064636, 0.21473179757595062, 0.5294572710990906, -0.14161580801010132, 0.46526846289634705, -0.6832071542739868, -0.05798261985182762, -0.23742307722568512, -0.3775878846645355, -0.2467370480298996, -0.4430210292339325, 0.5412474274635315, -0.5322166681289673, 0.19931374490261078, 0.1669272631406784, 0.8295885324478149, -0.25034505128860474, -0.2588375508785248, -0.12018785625696182, -0.6662676334381104, 0.8060382008552551, -0.8109250068664551, 0.2555420696735382, 0.2832787334918976, -0.056160278618335724, -0.11009304970502853, -0.9161381721496582, -0.30948662757873535, -0.1850138157606125, -0.17996619641780853, -0.22324101626873016, 0.039790548384189606, -0.24690335988998413, 0.21167738735675812, 0.19681207835674286, -0.31174930930137634, -0.3668152391910553, -0.7275016903877258, 0.055878497660160065, 0.7144579887390137, 0.08218900114297867, -0.1470033824443817, -0.41855931282043457, -0.4254307448863983, 0.1899896115064621, -0.7737622261047363, -0.3516794741153717, -0.08806708455085754, 0.6826657056808472, 0.18201805651187897, 0.7228862047195435, -0.18160991370677948, 0.6165168881416321, -0.284572571516037, 0.4042569100856781, 0.4181627333164215, -0.8242151737213135, -0.11267068237066269, 0.36340153217315674, 0.742388904094696, 0.3064979016780853, 0.5484285950660706, -0.46212226152420044, -0.012106450274586678, -0.31429174542427063, 0.14855201542377472, -0.760433554649353, -0.3107249438762665, 0.055441249161958694, -0.4277099668979645, -0.3837225139141083, 0.2832564115524292, -0.9039338827133179, -0.5975650548934937, -0.46325990557670593, 0.16795870661735535, -0.27071359753608704, -0.253246009349823, -0.2590879499912262, -0.08828536421060562, -0.06498721241950989, 0.3742383122444153, -0.3904094994068146, -0.012579298578202724, 0.6240657567977905, 0.9329630732536316, -0.2960820496082306, -0.2763969898223877, -0.2490982711315155, 0.19018571078777313, -0.14198091626167297, 0.9538999795913696, -0.47963154315948486, -0.2769632339477539, -0.007996974512934685, 0.1629382073879242, -0.12098663300275803, -0.509747326374054, 0.27906328439712524, -0.7559995055198669, -0.08916105329990387, -0.4284335970878601, -0.8685981035232544, -0.2357957661151886, 0.2669570744037628, -0.9645510315895081, 1.0063308477401733, 0.04942891001701355, -0.9140339493751526, 0.42771732807159424, -0.6667283177375793, -0.5475981831550598, 0.23991815745830536, -0.031551241874694824, -0.4107876718044281, -0.12176057696342468, 0.12791995704174042, 0.5079158544540405, -0.3727043569087982, 0.7737534046173096, -0.6707204580307007, -0.2561022937297821, 0.5989819765090942, -0.23968486487865448, 0.7574770450592041, 0.18706366419792175, -0.11658202111721039, 0.1080085039138794, -0.821211040019989, -0.11784838885068893, -0.038635432720184326, -0.34747299551963806, -0.6239103674888611, -0.01570276729762554, 0.3127813935279846, 0.04455632343888283, 0.20074822008609772, -0.4610317051410675, 0.09275490045547485, -0.20539383590221405, 0.5199005007743835, 0.5207056999206543, 0.5587669014930725, 0.5818716287612915, -0.2399325668811798, 0.07290246337652206, 0.27425655722618103, -0.08940759301185608, -0.13050027191638947, -0.4274393618106842, -0.5000780820846558, -0.23021812736988068, 0.8716108798980713, 0.2692785859107971, -0.5734655261039734, 0.6069668531417847, -0.5157044529914856, -0.44765594601631165, -0.26284050941467285, 0.3448520302772522, 0.08561403304338455, 0.8404181599617004, 0.38604655861854553, -0.044508419930934906, -0.9532394409179688, -0.886268675327301, -0.43582093715667725, 0.1436610221862793, 0.015467831864953041, 0.5730044841766357, 0.7297279238700867, 0.05124632269144058, 1.3109571933746338, -0.290002703666687, -0.09815363585948944, -0.3105916380882263, 0.16006582975387573, 0.41826027631759644, 0.5503593683242798, 0.26742103695869446, -1.0256496667861938, -0.22187967598438263, -0.19158026576042175, -1.0128146409988403, 0.007954349741339684, -0.12821811437606812, -0.19763027131557465, -0.18559516966342926, 0.43279603123664856, -0.6424962282180786, 0.4989161491394043, -0.25688108801841736, -0.29617342352867126, 0.5597059726715088, 0.2520081400871277, -0.1255890429019928, -1.1563533544540405, 0.5741491317749023, 0.48550504446029663, -0.3043239414691925, -0.5952422022819519, -0.5137060284614563, 0.16364572942256927, 0.04961346089839935, -0.560981810092926, 0.5683612823486328, -0.5579512715339661, -0.22202818095684052, -0.14171037077903748, 0.23064552247524261, 0.2375013530254364, 0.19902709126472473, 0.3447655439376831, 0.3629584014415741, 0.4100114405155182, -0.8304467797279358, 0.34400275349617004, 0.4536765217781067, -0.6208772659301758, 0.3358616828918457, -0.7823504209518433, -0.17556461691856384, 0.005198154132813215, 0.3188594877719879, -0.35251572728157043, -0.06346818059682846, 0.31148427724838257, -0.30518028140068054, 0.012709232047200203, 0.10254818201065063, -0.5886052846908569, -0.187759131193161, -0.13147467374801636, 0.23888744413852692, -0.03219258785247803, -0.3608335852622986, 0.3182953894138336, 0.47489503026008606, -0.3101252317428589, -0.3118877410888672, -0.5964465141296387, 0.2848908007144928, -0.2602338492870331, -0.30611494183540344, 0.2838037610054016, -0.1953623741865158, -0.152202770113945, 0.2697545289993286, -0.09675969183444977, -0.04646532982587814, 0.1215100809931755, 0.27440395951271057, 0.5934316515922546, -0.19174562394618988, 0.25512203574180603, -0.37761908769607544, 0.06508166342973709, 0.1894206404685974, 0.06502821296453476, 0.2646058201789856, -0.11812277883291245, 0.1171165257692337, -0.4007308781147003, 0.4276781380176544, 0.24389412999153137, -0.25410231947898865, 0.6364578604698181, 0.41998153924942017, -0.5806048512458801, -0.12866057455539703, -0.26182079315185547, -0.5765111446380615, -0.3777725398540497, 0.7026151418685913, 0.30473077297210693, -0.4660090506076813, 0.6094012260437012, -0.23172201216220856, 0.08672724664211273, 0.4563038647174835, 0.24268241226673126, -0.23663447797298431, 0.6371315717697144, 0.35377129912376404, -0.2133316695690155, 0.760921061038971, -0.35729825496673584, 0.1688917875289917, -0.9374924302101135, -0.5342292785644531, -0.8163915872573853, -0.40718668699264526, 0.039553552865982056, -0.024557476863265038, 0.16038279235363007, 0.08238054066896439, -0.15426653623580933, 0.6136707067489624, -0.5519989132881165, 0.22694113850593567, 0.5785526633262634, 0.2898564636707306, 0.3355579674243927, 0.37011581659317017, 0.18300828337669373, 0.20058158040046692, -0.8025599718093872, -0.5192127227783203, 0.8715611696243286, 0.2586143910884857, 0.5158421397209167, -0.38899490237236023, 0.7108553051948547, 0.5408085584640503, 0.7447959780693054, -0.8193875551223755, 0.6746821403503418, 0.2527068555355072, -0.7699946165084839, -0.24462275207042694, -0.5025498270988464, -0.9861637353897095, -0.04581274464726448, -0.24599456787109375, -0.6015962362289429, 0.7532487511634827, -0.08897562325000763, -0.3968496024608612, 0.0493120439350605, -0.1807308793067932, 0.49879828095436096, -0.01184763852506876, -0.39778968691825867, -0.0016899557085707784, -0.7574496269226074, 0.13483776152133942, 0.0527622289955616, 0.38807085156440735, -0.04189254343509674, 0.22121131420135498, 1.176314353942871, -0.058443401008844376, 0.8833067417144775, -0.2840055823326111, 0.11866311728954315, 0.4697057008743286, -0.08854827284812927, 0.6355961561203003, 0.3024163842201233, -0.3540304899215698, 0.4580608308315277, -0.0034649213775992393, -0.11370790749788284, -0.23815606534481049, 0.6262301206588745, -0.4595501124858856, -0.27953433990478516, -0.6515884399414062, -0.8248672485351562, -0.18927639722824097, 0.34255853295326233, 0.1131344810128212, 0.4014160931110382, -0.14637446403503418, 0.6405888795852661, 0.6571366786956787, 0.35826748609542847, 0.8260071277618408, 0.3346916437149048, 0.17173856496810913, -0.8073666095733643, 0.6539885997772217, 0.43892624974250793, -0.25470981001853943, -0.1355251967906952, 0.0009768009185791016, -0.22811159491539001, -0.5165876150131226, -0.3809014558792114, 0.21617071330547333, -0.6179094910621643, -0.6747758984565735, -0.6301996111869812, -0.44081294536590576, -0.38901254534721375, 0.09019654244184494, -0.2113010734319687, -0.49113449454307556, -0.7865243554115295, -0.21033450961112976, 0.46215710043907166, 0.6119109988212585, 0.01651374250650406, 0.05208909139037132, -0.9945217967033386, 0.07509267330169678, -0.1613466590642929, 0.43108609318733215, 0.16722556948661804, -0.44264382123947144, -0.8270984292030334, 0.15279130637645721, 0.06864621490240097, -0.8570449948310852, 0.43112659454345703, 0.3638196885585785, 0.708173394203186, 0.29692724347114563, 0.10354920476675034, 0.7032615542411804, -0.44755852222442627, 0.7581855058670044, 0.1309141218662262, -0.39252838492393494, 0.3464150130748749, -0.32719719409942627, -0.13627727329730988, 0.7080695033073425, 0.33858951926231384, -0.2836425006389618, 0.06073756143450737, -0.7215943932533264, -1.1161774396896362, 0.6702556014060974, 0.03463217616081238, 0.11733479797840118, -0.2072531133890152, 0.449770450592041, 0.19678927958011627, 0.478952020406723, -0.8653845191001892, -0.2663433849811554, -0.1497805118560791, -0.24227340519428253, 0.1461581587791443, -0.24985653162002563, -0.5087880492210388, -0.3042280972003937, 0.877298891544342, 0.0254440326243639, 0.3416565954685211, 0.6276125907897949, -0.3833087384700775, -0.09670868515968323, 0.06819209456443787, 0.6143392324447632, 0.8105925917625427, -0.20222237706184387, 0.23481816053390503, -0.24763396382331848, -0.5557893514633179, -0.4333920478820801, 0.33757004141807556, -0.4004657566547394, 0.19946415722370148, 0.3938652575016022, 0.41399797797203064, 0.36651861667633057, -0.4902018904685974, 0.40558740496635437, 0.27426671981811523, -0.3394496738910675, -0.46947601437568665, -0.019669463858008385, 0.26494908332824707, 0.5495156645774841, 0.6985710263252258, 0.2905806303024292, 0.21966177225112915, -0.2185000777244568, 0.6069071888923645, 0.2200034111738205, -0.5115063190460205, -0.5137325525283813, 0.24945299327373505, 0.16684459149837494, -0.19063681364059448, 0.5980699062347412, 0.15913984179496765, -0.4089629352092743, 0.8495036959648132, 0.6036997437477112, 0.8059502840042114, 0.2130616456270218, 0.18980664014816284, 0.43945059180259705, 0.026031501591205597, -0.3353903293609619, 0.18802253901958466, -0.20360617339611053, -0.53131103515625, -0.05221831053495407, -0.7159974575042725, -0.19409054517745972, 0.15837348997592926, -0.6650880575180054, 0.30273377895355225, -0.3541231155395508, -0.26045751571655273, 0.3357554078102112, 0.10943086445331573, -0.6875597238540649, 0.12633182108402252, 0.25878655910491943, 1.0956997871398926, -0.8600834608078003, 0.8819189071655273, 0.496185302734375, -0.39946573972702026, -0.6807028651237488, -0.5132015943527222, -0.3737110197544098, -0.22149658203125, 0.7662848830223083, 0.0050869048573076725, 0.3229042887687683, 0.04246753454208374, -0.81390380859375, -0.906667172908783, 1.2929540872573853, 0.2703518569469452, -0.6410093903541565, 0.044747818261384964, 0.051359809935092926, 0.46406006813049316, -0.9352114200592041, 0.13807637989521027, 0.21760161221027374, 0.8713632822036743, 0.0713268294930458, -0.42933738231658936, 0.08981361985206604, -0.5949969291687012, -0.08226266503334045, -0.2738475501537323, -0.4295342266559601, 0.7389141917228699, -0.057226285338401794, 0.21466222405433655, 0.07879886776208878, 0.8793432116508484, 0.5843073129653931, 0.8557587265968323, 0.39126914739608765, 0.05978571996092796, 0.623183012008667, 0.1385333389043808, 0.6545630097389221, -0.3523430824279785, 0.45713701844215393, 1.206986427307129, -0.6110935211181641, 0.6772160530090332, 0.8943064212799072, -0.020369062200188637, 0.3909352123737335, 0.9199555516242981, -0.6321200132369995, 0.6763949990272522, 0.13147085905075073, -0.11766870319843292, -0.18826764822006226, -0.3089470863342285, -0.5310053825378418, 0.18556341528892517, 0.5357378721237183, -1.0972174406051636, -0.38515132665634155, -0.1813298761844635, 0.17876528203487396, -0.2521657347679138, -0.45097196102142334, 0.776170015335083, 0.45838481187820435, -0.5986049771308899, 0.19748559594154358, -0.35862916707992554, 0.2712046802043915, -0.45708030462265015, -0.32262617349624634, -0.1477791965007782, 0.005632020533084869, -0.4023658335208893, -0.47921615839004517, 0.2501084804534912, 0.0309604462236166, -0.3825586438179016, -0.0814928263425827, 0.9610326886177063, -0.6745518445968628, -0.6743512153625488, 0.23292139172554016, 0.5149962306022644, 0.17959868907928467, 0.10432355105876923, -0.7471922039985657, -0.20709367096424103, -0.04101977124810219, -0.9583802223205566, 0.27773788571357727, 0.2525285482406616, -0.020218847319483757, 0.40062493085861206, 0.7768494486808777, 0.4872874915599823, -0.06757070124149323, 0.0852007046341896, 1.1102819442749023, -0.7977746725082397, -0.4162950813770294, -0.8705760836601257, 0.4246678352355957, -0.4957261085510254, -0.18196909129619598, 0.7278388142585754, 0.6994929313659668, 0.2544770836830139, -0.03222730755805969, 0.8861293792724609, -0.17134827375411987, 0.466341495513916, 0.03749942407011986, 0.9095295071601868, -0.3478381037712097, 0.5346847772598267, -0.19113774597644806, -1.0813952684402466, -0.5261062979698181, 0.4817144274711609, -0.2118520885705948, 0.16475224494934082, 0.6264299154281616, 0.6500738263130188, -0.15916618704795837, 0.449764221906662, -0.129622682929039, 0.3138469159603119, 0.12857890129089355, -0.05711705610156059, 0.3014410138130188, -0.3228200078010559, 0.5783436894416809, -0.46287471055984497, 0.06691175699234009, -0.37795963883399963, -1.2876819372177124, -0.8438568711280823, -0.5652296543121338, -0.5301132798194885, -0.47368690371513367, 0.06210922822356224, 0.9591702222824097, 0.6282180547714233, -1.0087945461273193, -0.0025373336393386126, -0.049042943865060806, -0.056736771017313004, -0.3294597268104553, -0.25112825632095337, 0.7701895833015442, -0.16530269384384155, -0.37930434942245483, 0.4340035319328308, 0.05808097869157791, -0.2229580283164978, -0.1986202746629715, 0.1626635640859604, -0.6201015710830688, 0.0838041603565216, 0.2922300100326538, 0.30723991990089417, -0.15492099523544312, -0.3869051933288574, 0.12651300430297852, -0.196661576628685, 0.1069578230381012, 0.8220543265342712, -0.987454354763031, 0.09943821281194687, 0.511515200138092, 0.6225247383117676, 0.41887542605400085, 0.01811733841896057, 0.39145344495773315, -0.6167669892311096, -0.14361009001731873, 0.4656792879104614, 0.576233983039856, 0.4084279537200928, -0.6073396801948547, 0.5105720162391663, 0.5500468015670776, -0.6423777937889099, -1.2036635875701904, -0.2350478172302246, -1.224047303199768, -0.05106882378458977, 1.0576320886611938, -0.24494190514087677, -0.7769076824188232, -0.268743097782135, 0.17780353128910065, 0.5296953320503235, -0.5560188293457031, 0.9809443354606628, 0.6177144050598145, -0.05064178630709648, -0.24528925120830536, -0.4206012189388275, 0.34332627058029175, 0.2595060169696808, -0.6123167872428894, 0.46472787857055664, 0.3210747539997101, 0.48888280987739563, 0.3008824288845062, 0.2117670476436615, -0.4485045373439789, 0.2745843231678009, -0.15473908185958862, 0.32372424006462097, -0.5626033544540405, -0.3492085635662079, -0.1422668993473053, 0.21561114490032196, -0.3316444158554077, 0.1533646285533905 ]
http://arxiv.org/abs/2405.13131v1
http://arxiv.org/pdf/2405.13131v1
Atomic Self-Consistency for Better Long Form Generations
2024-05-21T18:05:44
2024-05-21T18:05:44
Raghuveer Thirukovalluru, Yukun Huang, Bhuwan Dhingra
cs.CL
cs.CL
Recent work has aimed to improve LLM generations by filtering out hallucinations, thereby improving the precision of the information in responses. Correctness of a long-form response, however, also depends on the recall of multiple pieces of information relevant to the question. In this paper, we introduce Atomic Self-Consistency (ASC), a technique for improving the recall of relevant information in an LLM response. ASC follows recent work, Universal Self-Consistency (USC) in using multiple stochastic samples from an LLM to improve the long-form response. Unlike USC which only focuses on selecting the best single generation, ASC picks authentic subparts from the samples and merges them into a superior composite answer. Through extensive experiments and ablations, we show that merging relevant subparts of multiple samples performs significantly better than picking a single sample. ASC demonstrates significant gains over USC on multiple factoids and open-ended QA datasets - ASQA, QAMPARI, QUEST, ELI5 with ChatGPT and Llama2. Our analysis also reveals untapped potential for enhancing long-form generations using approach of merging multiple samples.
[ -0.4605449438095093, -0.5732247233390808, 0.612052857875824, 0.2509975731372833, 0.02555156499147415, 0.2640213072299957, -0.1731029748916626, -0.6008234024047852, 0.5014563798904419, 0.30454832315444946, -0.5037358403205872, -0.3334897458553314, -0.256239116191864, 0.4692632853984833, -0.23837800323963165, 0.6442610621452332, -0.21427883207798004, -0.18742376565933228, -0.3898950219154358, -0.39422765374183655, -0.35248973965644836, -0.4219364821910858, -0.8729058504104614, -0.4430082440376282, 0.41887569427490234, 0.3763224482536316, 0.5971410870552063, 0.7140336036682129, 0.28835833072662354, 0.2853865623474121, 0.1868990808725357, 0.47366100549697876, -0.4164571166038513, 0.33698776364326477, -0.26367586851119995, -0.09766186028718948, -0.5676952004432678, -0.13795089721679688, 0.7858620882034302, 0.47297874093055725, -0.3989667594432831, -0.02545229159295559, 0.3581647574901581, 0.7124254703521729, -0.7247034311294556, -0.24855786561965942, -0.355974942445755, 0.04383636265993118, -0.18785059452056885, -0.29730528593063354, -0.3622194826602936, -0.3802746534347534, -0.41697028279304504, -0.2930555045604706, 0.298349529504776, -0.2021845430135727, 0.5597819089889526, 0.3051578104496002, -0.5704099535942078, -0.10604450851678848, -0.8168690204620361, 0.4512733817100525, -0.8027762174606323, 0.6011078953742981, 0.4502198398113251, 0.17207233607769012, -0.36946725845336914, -0.3199569582939148, -0.6417673826217651, -0.27287548780441284, 0.18033467233181, 0.5247424840927124, 0.06766090542078018, 0.2814253270626068, 0.1621067225933075, 0.3938569128513336, -0.46280816197395325, 0.1692977398633957, -0.4084315896034241, -0.5443165898323059, 0.7202654480934143, 0.144705668091774, 0.03377412632107735, -0.12643584609031677, -0.44330137968063354, -0.17535747587680817, -0.8605732321739197, 0.0011648531071841717, 0.2972632646560669, 0.20618665218353271, 0.32149022817611694, 0.6730356812477112, -0.5239027738571167, 0.20441435277462006, 0.23788130283355713, -0.06174656003713608, 0.15333840250968933, -0.5525756478309631, 0.09962296485900879, 0.18840426206588745, 0.7114372849464417, 0.005432050675153732, 0.010560267604887486, -0.09167535603046417, -0.039464320987463, -0.06876159459352493, 0.37442174553871155, -0.6316477656364441, -0.215660959482193, 0.3413727879524231, -0.550317645072937, 0.3131531774997711, 0.12148929387331009, -0.6568021774291992, -0.12442828714847565, -0.5076388120651245, 0.47314614057540894, -0.3864874839782715, -0.06774037331342697, 0.0864761471748352, -0.050924599170684814, 0.06536148488521576, 0.35095179080963135, -0.9174968600273132, 0.21853718161582947, 0.45988890528678894, 0.5966301560401917, -0.3425370156764984, -0.5516147017478943, -0.37154027819633484, 0.354446679353714, -0.4632418751716614, 1.1211178302764893, -0.1309284269809723, -0.5178649425506592, -0.24186600744724274, -0.2723938226699829, 0.2767246663570404, -1.048953652381897, -0.102147676050663, -0.34980034828186035, 0.05117790773510933, -0.21260175108909607, -0.5011887550354004, 0.19202424585819244, 0.15358683466911316, -0.5684385299682617, 1.098763108253479, 0.11280085891485214, -0.2947063148021698, 0.31501638889312744, -0.2174978405237198, -0.26607590913772583, -0.17732669413089752, -0.47342827916145325, -0.48936727643013, 0.26180392503738403, 0.05352801829576492, 0.041382595896720886, 0.11960452795028687, 0.027723779901862144, -0.7133463025093079, -0.15686868131160736, 0.2702752649784088, -0.5645129084587097, 0.4522051215171814, 0.46053317189216614, -0.33506304025650024, 0.058929622173309326, -0.6784932613372803, 0.22753497958183289, -0.2545525133609772, -0.5442624688148499, -0.07678119093179703, -0.15019074082374573, -0.5353298187255859, 0.17628028988838196, 0.4349426031112671, -0.609951913356781, 0.3263472020626068, 0.022533750161528587, 0.27970805764198303, 0.973939836025238, 0.18963328003883362, 0.16553446650505066, -0.5404009222984314, 0.40146929025650024, 0.25540271401405334, 0.04424205422401428, -0.043677106499671936, -0.2049826681613922, -0.7684916257858276, -0.15876910090446472, 0.22263382375240326, 0.14695043861865997, -0.6652060151100159, 0.5630006790161133, -0.0596865639090538, -0.13943007588386536, -0.583347737789154, 0.3984391987323761, 0.20476001501083374, 0.22554297745227814, 0.5947933793067932, -0.5846391916275024, -0.7317511439323425, -1.0074739456176758, -0.1271367073059082, -0.2734915018081665, -0.0961407795548439, 0.18454228341579437, 0.17373047769069672, -0.36564016342163086, 1.1044889688491821, -0.32903626561164856, -0.13225315511226654, 0.14286205172538757, 0.3577641248703003, -0.008115284144878387, 0.5774312019348145, -0.11728451400995255, -0.40819239616394043, -0.4049925208091736, -0.29711320996284485, -0.9057064056396484, -0.056805871427059174, -0.32319867610931396, -0.2259884923696518, 0.3477056324481964, 0.610787570476532, -0.5662310719490051, 0.37862512469291687, 0.29579976201057434, -0.20857681334018707, 0.5402456521987915, -0.5304293036460876, 0.5201646089553833, -1.09548020362854, -0.21156051754951477, -0.21560624241828918, -0.30554261803627014, -0.46884292364120483, 0.06284867227077484, 0.383634090423584, 0.3806288242340088, -0.29389604926109314, 0.49529844522476196, -0.5633706450462341, 0.029893208295106888, -0.5009273290634155, -0.04843080788850784, -0.19140589237213135, 0.08701258897781372, -0.26488298177719116, 1.0234360694885254, 0.16177721321582794, -0.606262743473053, 0.24375391006469727, 0.20800861716270447, 0.24776330590248108, 0.6509988903999329, -0.45431140065193176, 0.47744038701057434, -0.48823413252830505, 0.37984201312065125, -0.9694960117340088, -0.10362904518842697, 0.08812354505062103, -0.44804707169532776, 0.3002166748046875, 0.45142585039138794, -0.4387987554073334, -0.45456019043922424, -0.49760156869888306, 0.5590868592262268, 0.4977303743362427, -0.7968886494636536, 1.0955867767333984, -0.08466167747974396, -0.06698877364397049, -0.6156054139137268, -0.37144753336906433, -0.08943735063076019, -0.08451749384403229, -0.4208581745624542, 0.1343439817428589, -0.56729656457901, -0.07912691682577133, -0.2158249020576477, -0.5524712800979614, 0.09084957838058472, -0.0663665235042572, 0.3185625970363617, 0.2757461667060852, -0.37924885749816895, 0.25995540618896484, -0.07392255961894989, -0.06546495109796524, -0.14851120114326477, 0.04439643770456314, 0.6232765913009644, 0.1252823770046234, -0.367648720741272, -0.656670093536377, 0.48508355021476746, 0.34412091970443726, 0.09470150619745255, 0.4308217167854309, 0.076319620013237, -0.2937634289264679, -0.2586730122566223, -0.946994423866272, -0.4780733585357666, -0.4868498146533966, -0.09085045754909515, -0.5960942506790161, -1.030914068222046, 0.7354007363319397, 0.045018166303634644, -0.07243730872869492, 0.6783891916275024, 0.26253893971443176, -0.31659290194511414, 0.9450896382331848, 0.4081629514694214, -0.25073111057281494, 0.2841338813304901, -0.09718743711709976, -0.014978555962443352, -0.8126900792121887, -0.2932179272174835, -0.39614957571029663, -0.0957099199295044, -0.2214905470609665, -0.4245869219303131, 0.27804553508758545, 0.2245900183916092, -0.34323009848594666, 0.09541243314743042, -0.33747488260269165, 0.4704701900482178, 0.6298449039459229, 0.3446960747241974, 0.6996467113494873, -0.04546547308564186, 0.2558344304561615, 0.13575637340545654, -0.37802842259407043, -0.271328866481781, 1.1225793361663818, 0.29503723978996277, 0.9853000640869141, 0.15752913057804108, 1.1698095798492432, 0.22148540616035461, 0.21977490186691284, -0.38830840587615967, 0.5702285170555115, -0.184380903840065, -0.6804912686347961, -0.44852086901664734, -0.7173793911933899, -1.112771987915039, 0.21239511668682098, -0.2546361982822418, -0.4134717285633087, 0.15265361964702606, 0.3213886022567749, -0.7961864471435547, 0.02309669554233551, -0.16492055356502533, 0.3577839434146881, -0.1969376802444458, -0.2455393671989441, -0.4147644639015198, -0.5368654727935791, 0.12910014390945435, -0.24350029230117798, -0.21316386759281158, -0.28471991419792175, 0.19709163904190063, 0.6787292957305908, -0.28895145654678345, 0.5748095512390137, 0.1559523046016693, -0.20323839783668518, 0.4964440166950226, -0.06363289058208466, 0.38622164726257324, 0.00699065113440156, 0.1892206370830536, 0.24810859560966492, -0.14929305016994476, -0.41176095604896545, -0.7165343165397644, 0.6932048201560974, -0.8624207973480225, -0.7562894225120544, -0.3835184574127197, -0.4725516140460968, -0.13808190822601318, 0.2192283421754837, 0.1932995468378067, 0.3479776382446289, -0.17284953594207764, 0.30163654685020447, 0.8226926326751709, 0.28875866532325745, 0.35607099533081055, 0.5410304665565491, 0.016908898949623108, -0.602091908454895, 0.5036517381668091, 0.47717684507369995, 0.41814249753952026, -0.01669974811375141, 0.10294118523597717, -0.4996325969696045, -0.523077666759491, -0.37111151218414307, 0.43322059512138367, -0.5689454078674316, -0.5482474565505981, -0.763102650642395, -0.4293113052845001, -0.927776575088501, -0.10950426757335663, -0.5031671524047852, -0.2497144490480423, -0.28413906693458557, -0.075444795191288, 0.03862975537776947, 0.6602798104286194, -0.5575535893440247, 0.08122428506612778, -0.8090241551399231, 0.9222245812416077, 0.6597152948379517, 0.2632977366447449, 0.011100778356194496, -0.38191455602645874, 0.10058619827032089, 0.30069729685783386, -0.45446518063545227, -0.778872013092041, -0.023509593680500984, 0.38235002756118774, 0.7697893381118774, 0.5022286176681519, 0.11748445779085159, 1.1302324533462524, -0.3632260262966156, 0.644647479057312, 0.25440144538879395, -0.9285814762115479, 0.6315277814865112, -0.19189749658107758, 0.4533521831035614, 1.0147898197174072, 0.35342761874198914, -0.5521608591079712, -0.649616003036499, -0.8226009607315063, -0.9798669815063477, 0.27499279379844666, 0.029456643387675285, -0.14520083367824554, -0.19549421966075897, 0.4862062931060791, 0.15806905925273895, 0.0592336542904377, -0.44019782543182373, -0.1272365152835846, -0.23505643010139465, -0.5318196415901184, -0.24677616357803345, -0.2419230043888092, -0.3487933874130249, 0.06679917871952057, 0.6376341581344604, -0.25158414244651794, 0.0993819460272789, 0.37079375982284546, 0.12999758124351501, -0.084616519510746, 0.207566499710083, 0.38546836376190186, 0.5862640142440796, -0.12464091926813126, 0.6147134304046631, 0.425933301448822, -0.24614042043685913, 0.382901668548584, -0.1498546451330185, -0.020318936556577682, -0.3892456591129303, 0.18354862928390503, 0.12284505367279053, -0.19091904163360596, -0.6017705798149109, 0.21194855868816376, 0.08519953489303589, -0.10054001212120056, -0.5211644172668457, 0.28126007318496704, -0.12754639983177185, 0.3818413317203522, 0.5211848616600037, -0.06507383286952972, 0.3579683303833008, -1.0740801095962524, 0.5079466104507446, 0.5751703977584839, 0.03362029418349266, -0.035896819084882736, 0.7418352365493774, -0.268375426530838, -0.10419393330812454, 1.0875957012176514, 0.07513800263404846, -0.204834446310997, 0.6999593377113342, 0.9207034707069397, 0.6556228995323181, -0.5183771252632141, 0.17844945192337036, 0.37054336071014404, -0.10207805782556534, -0.6811013221740723, 0.3218955993652344, -0.317097544670105, -0.7848016619682312, -0.17276206612586975, -0.34627583622932434, -0.4361502230167389, -0.20297761261463165, -0.7559544444084167, -0.18682311475276947, -0.6115110516548157, -0.13370321691036224, -0.2699317932128906, -0.007767874281853437, -0.34114426374435425, 0.30283090472221375, 0.15318265557289124, 0.7056765556335449, -0.8904909491539001, 0.8152508735656738, 0.31047266721725464, -0.4994068741798401, -1.0909379720687866, -0.06712659448385239, 0.023429976776242256, -0.7994640469551086, 0.2748495042324066, 0.12841248512268066, -0.32572630047798157, -0.11247438192367554, -0.4894639253616333, -1.252502202987671, 1.1560485363006592, 0.161326602101326, -0.2424326092004776, 0.11495894938707352, 0.1057850643992424, 0.5984377861022949, -0.3889300227165222, 0.3202309310436249, 0.630678653717041, 0.3547927439212799, 0.37838199734687805, -0.9112110137939453, 0.19218206405639648, -0.140760600566864, 0.12965120375156403, 0.29627272486686707, -0.9268969297409058, 0.613713264465332, -0.23719142377376556, -0.4550105035305023, 0.25549569725990295, 1.3272591829299927, 0.8377916216850281, 0.5895856022834778, 0.45685237646102905, 0.7040126323699951, 0.856311023235321, 0.08758503943681717, 0.45195886492729187, -0.23196284472942352, 0.3378808796405792, 1.361916184425354, -0.1512732356786728, 1.0973174571990967, 0.5345345735549927, -0.2894377112388611, 0.39142000675201416, 0.6126325130462646, -0.04390867054462433, 0.3665221929550171, 0.0992807149887085, -0.3306065797805786, -0.29141098260879517, 0.04058428108692169, -0.5159306526184082, 0.44401925802230835, -0.12777017056941986, 0.10927668958902359, -0.09578575193881989, 0.08873195946216583, 0.0086883045732975, 0.08746151626110077, -0.3326041102409363, 0.8890665173530579, 0.06379247456789017, -0.7307711243629456, 0.5433867573738098, -0.5378281474113464, 0.8668158054351807, -0.540169894695282, -0.12400082498788834, -0.5857144594192505, 0.1070956364274025, -0.39823001623153687, -0.6440792679786682, 0.19327175617218018, -0.5997082591056824, -0.400376558303833, -0.13528591394424438, 0.5916510224342346, -0.7236648797988892, -0.09222069382667542, 0.2512683570384979, 0.2853139638900757, 0.3107716143131256, -0.007383458316326141, -0.20854239165782928, -0.03350453078746796, 0.013679467141628265, 0.07422929257154465, 0.33196747303009033, 0.22919811308383942, 0.26913705468177795, 0.6822022199630737, 0.577223539352417, 0.31874576210975647, 0.1876666396856308, -0.1856698840856552, 0.559929370880127, -0.9180434942245483, -0.29128938913345337, -0.6828854084014893, 0.3982367515563965, -0.23581114411354065, -0.3311012089252472, 1.0224188566207886, 0.8284823298454285, 0.8432062864303589, 0.08207948505878448, 0.5207093954086304, 0.2026873677968979, 0.5018408894538879, -0.6269298791885376, 0.526032567024231, -0.55232834815979, 0.06436191499233246, 0.3382608890533447, -1.0614203214645386, -0.05646345764398575, 0.596306562423706, 0.2393830120563507, 0.3512301743030548, 0.8449311256408691, 0.6941636800765991, 0.21519950032234192, 0.08516207337379456, 0.2823886573314667, 0.2708761692047119, 0.43305060267448425, 0.5599446892738342, 0.8782604932785034, -0.32358837127685547, 0.17368218302726746, -0.3066844642162323, -0.20622313022613525, -0.10652738809585571, -0.4335741102695465, -0.4423117935657501, -0.43850624561309814, -0.3715629577636719, -0.7792815566062927, 0.2673187255859375, 1.1779314279556274, 0.5405853986740112, -0.8255050182342529, -0.2187301218509674, 0.19184987246990204, -0.17228887975215912, -0.30559632182121277, -0.1494307667016983, 0.20164844393730164, -0.4724879562854767, -0.4817390739917755, 0.6602909564971924, 0.4313449561595917, 0.3860700726509094, -0.23628473281860352, 0.024059180170297623, 0.16572187840938568, 0.26333293318748474, 0.41960230469703674, 0.648762047290802, -0.6342577338218689, -0.7496723532676697, -0.023529784753918648, -0.20471297204494476, 0.5675567388534546, 0.725155234336853, -0.8994302749633789, 0.465043306350708, 0.27081042528152466, 0.4807961881160736, 0.3383238911628723, 0.4440332055091858, 0.3980245292186737, -0.3160669207572937, -0.3595907986164093, 0.2960212826728821, 0.19989009201526642, 0.12865911424160004, -0.5991707444190979, 0.5279797911643982, -0.07028664648532867, -0.887083113193512, -0.4842974543571472, 0.3487332761287689, -1.2544153928756714, -0.3721327483654022, 1.1969457864761353, 0.149983212351799, -0.05925364792346954, -0.1992466002702713, -0.0017837261548265815, 0.3198586106300354, -0.5773031115531921, 1.3415672779083252, 0.5150860548019409, -0.59501713514328, 0.002137627685442567, -0.16238602995872498, 0.26440665125846863, 0.6113918423652649, -1.0062443017959595, 0.14755718410015106, 0.7112763524055481, 0.3897125720977783, 0.3282693922519684, 1.1928069591522217, -0.05664387345314026, 0.26139214634895325, 0.05752146616578102, 0.07437212765216827, 0.17087985575199127, -0.6650702953338623, -0.5301084518432617, 0.5112669467926025, 0.1396791636943817, -0.03329802677035332 ]
http://arxiv.org/abs/2405.13127v1
http://arxiv.org/pdf/2405.13127v1
Towards Retrieval-Augmented Architectures for Image Captioning
2024-05-21T18:02:07
2024-05-21T18:02:07
Sara Sarto, Marcella Cornia, Lorenzo Baraldi, Alessandro Nicolosi, Rita Cucchiara
cs.CV
cs.CV, cs.AI, cs.CL, cs.MM
The objective of image captioning models is to bridge the gap between the visual and linguistic modalities by generating natural language descriptions that accurately reflect the content of input images. In recent years, researchers have leveraged deep learning-based models and made advances in the extraction of visual features and the design of multimodal connections to tackle this task. This work presents a novel approach towards developing image captioning models that utilize an external kNN memory to improve the generation process. Specifically, we propose two model variants that incorporate a knowledge retriever component that is based on visual similarities, a differentiable encoder to represent input images, and a kNN-augmented language model to predict tokens based on contextual cues and text retrieved from the external memory. We experimentally validate our approach on COCO and nocaps datasets and demonstrate that incorporating an explicit external memory can significantly enhance the quality of captions, especially with a larger retrieval corpus. This work provides valuable insights into retrieval-augmented captioning models and opens up new avenues for improving image captioning at a larger scale.
[ -0.4144556224346161, -0.2719087302684784, 0.4421679377555847, -0.07267411053180695, -0.4962977468967438, 0.06351432204246521, -0.14193236827850342, -0.6771635413169861, 0.2334379404783249, 0.5599165558815002, 0.0287336315959692, -0.08096063137054443, -0.5061588883399963, 0.16131728887557983, -0.22179140150547028, 0.48754608631134033, -0.2257300764322281, 0.3229732811450958, -0.6374033093452454, -0.36611106991767883, -0.8042160868644714, -0.4040932357311249, -0.36894166469573975, 0.1604650467634201, 0.5983000993728638, 0.2559777498245239, 0.6679503321647644, 0.5969465374946594, 0.673705518245697, 0.2618613839149475, 0.13481590151786804, 0.3781849145889282, -0.10237106680870056, 0.06452620029449463, 0.07221383601427078, -0.610022783279419, 0.461410790681839, -0.3677447736263275, 0.45419469475746155, 0.25523605942726135, 0.21857869625091553, -0.10383673012256622, -0.36242175102233887, 0.8742390275001526, -0.7268292903900146, 0.6511042714118958, -0.7022801041603088, 0.22347964346408844, 0.07824788987636566, -0.3412097692489624, -0.39593857526779175, -0.04198679327964783, 0.27272751927375793, -0.5785181522369385, 0.24891319870948792, 0.36646729707717896, 0.9573368430137634, -0.020927682518959045, -0.2944249212741852, -0.35244154930114746, -0.44328609108924866, 0.49268078804016113, -0.5817364454269409, 0.5973719358444214, 0.4698670208454132, 0.6368985176086426, 0.26197853684425354, -0.7216697335243225, -0.5308110117912292, -0.5397763848304749, -0.352491170167923, 0.10499071329832077, 0.23447872698307037, -0.16735704243183136, 0.012128888629376888, 0.6474550366401672, -0.07385747879743576, -0.22080865502357483, -0.685941755771637, -0.1697484701871872, 0.414674311876297, -0.017420271411538124, 0.34379085898399353, -0.4687204658985138, -0.5258263945579529, -0.12202700972557068, -0.7109838724136353, -0.05063924938440323, 0.1439264565706253, 0.5620126724243164, -0.16146959364414215, 0.8416800498962402, -0.30855226516723633, 0.45183753967285156, -0.05699051171541214, 0.29443687200546265, 0.17763817310333252, -0.347432941198349, -0.010531734675168991, 0.12331722676753998, 0.5776296854019165, 0.4424121081829071, 0.06167096644639969, -0.47075095772743225, -0.2686428725719452, -0.07770318537950516, 0.6320509910583496, -0.6601821184158325, -0.6858646869659424, -0.23563021421432495, -0.5442697405815125, -0.3411582410335541, 0.1996917426586151, -0.8451815843582153, -0.5121373534202576, -0.5333908796310425, 0.7030764222145081, -0.583115816116333, -0.012800074182450771, -0.43416494131088257, -0.19590453803539276, 0.27895021438598633, 0.14762935042381287, -0.5509021282196045, 0.24002230167388916, 0.10518497973680496, 0.9253264665603638, -0.2615654170513153, 0.11737620085477829, -0.4388725459575653, 0.3127097487449646, -0.4271727204322815, 0.7536078691482544, -0.7651937007904053, -0.1291254460811615, 0.2402276247739792, 0.08662837743759155, 0.20994675159454346, -0.5701424479484558, 0.10840508341789246, -1.3261457681655884, -0.010144650004804134, -0.5681439638137817, -0.3196221888065338, -0.4114188849925995, 0.5133537650108337, -1.173421025276184, 0.6710662245750427, -0.0490698479115963, -0.7316703796386719, 0.3307163417339325, -0.8925923109054565, -0.6180012226104736, 0.1345536857843399, -0.3065277934074402, -0.35815107822418213, 0.31366968154907227, 0.5702447295188904, 0.27563053369522095, -0.21460694074630737, 0.04182808846235275, -0.13293500244617462, -0.3121167719364166, 0.4467358887195587, -0.3133133351802826, 0.08911114931106567, 0.22473393380641937, 0.11305657029151917, 0.13096441328525543, -0.4976482093334198, -0.1367986798286438, 0.4088634252548218, -0.40237340331077576, -0.4055776000022888, -0.24738933145999908, -0.16999496519565582, 0.11801283061504364, 0.3866216838359833, -0.6794245839118958, 0.06904147565364838, -0.3320784568786621, 0.5077914595603943, 0.6286396980285645, 0.18084943294525146, 0.7684128284454346, -0.2623195946216583, 0.3846702575683594, 0.38581201434135437, 0.10079079121351242, -0.8230684399604797, -0.30260926485061646, -0.7534099221229553, -0.15606442093849182, 0.25186705589294434, 0.29190191626548767, -1.353948712348938, -0.24457867443561554, -0.3813639283180237, -0.13943998515605927, -0.6292608380317688, 0.25046640634536743, 0.5075079798698425, 0.6837261915206909, 0.4813540577888489, -0.5547884702682495, -0.4933393895626068, -1.0859407186508179, 0.21400970220565796, 0.15489189326763153, 0.3023945093154907, 1.0425951480865479, 0.3444456458091736, -0.022407004609704018, 0.6352635025978088, -0.36868810653686523, -0.4221644103527069, -0.04989376664161682, -0.20279616117477417, -0.00760047510266304, 0.32409903407096863, 0.3444351553916931, -1.2535145282745361, -0.5130261778831482, 0.12368091940879822, -0.7196691036224365, 0.5396736264228821, -0.00592653127387166, -0.22976896166801453, 0.34619876742362976, 0.43807464838027954, -0.87172931432724, 0.35983872413635254, -0.056363485753536224, 0.2797582447528839, 0.7783759236335754, -0.31380021572113037, 0.4567660987377167, -0.8387631177902222, 0.24992910027503967, -0.22138960659503937, 0.04740957170724869, -0.06404493749141693, 0.5732828974723816, 0.13602283596992493, -0.21619156002998352, -0.647025465965271, 0.6424698233604431, -0.770569384098053, -0.3110387623310089, -0.18094460666179657, 0.037880897521972656, 0.32053712010383606, 0.5403943061828613, 0.30960530042648315, 0.7187597751617432, 0.7960943579673767, -0.5961319804191589, 0.5401942729949951, 0.3794623613357544, -0.5383889079093933, 0.3926451504230499, -0.4535696506500244, 0.2225428819656372, -0.4823651909828186, -0.008174758404493332, -1.3153575658798218, -0.38824331760406494, 0.1134793609380722, -0.4139164388179779, 0.5766798257827759, -0.44590240716934204, -0.7954056859016418, -0.5623976588249207, -0.21022427082061768, 0.5207456350326538, 0.43855512142181396, -0.8379229307174683, 0.7654305696487427, 0.001407148432917893, -0.09120960533618927, -0.5188338756561279, -0.7426286935806274, 0.24497805535793304, -0.1668730080127716, -0.29759320616722107, 0.19003985822200775, 0.0591389499604702, 0.24146942794322968, 0.1628151684999466, -0.01438649371266365, -0.2619870901107788, -0.42035818099975586, 0.316622257232666, 0.48296281695365906, -0.38621246814727783, 0.31706732511520386, -0.0003057061694562435, 0.19952036440372467, -0.12996675074100494, -0.2384273260831833, 0.49522849917411804, -0.07800419628620148, -0.1690824329853058, -0.32605069875717163, 0.3033275306224823, 0.5054929852485657, -0.4537571370601654, 0.81431645154953, 0.5372059345245361, -0.30914539098739624, 0.3783128261566162, -0.7409812211990356, -0.2632088363170624, -0.49148279428482056, 0.23650778830051422, -0.5865464210510254, -0.7217313647270203, 0.5905155539512634, -0.00318145751953125, -0.2556946873664856, 0.20168903470039368, 0.17531536519527435, -0.42990046739578247, 0.761211097240448, 0.37999430298805237, 0.012206564657390118, 0.5288225412368774, -0.4274573028087616, 0.0019620293751358986, -1.031354308128357, -0.40872085094451904, 0.07825189083814621, -0.4373233914375305, -0.14141534268856049, -0.48836538195610046, 0.11761133372783661, 0.1593644618988037, -0.3161051273345947, 0.5115644931793213, -0.47868335247039795, 0.6254851222038269, 0.6660898327827454, 0.24713988602161407, 0.16161441802978516, 0.4613755941390991, -0.5745642185211182, -0.13759419322013855, -0.7877005934715271, -0.2816001772880554, 1.0294818878173828, 0.012801934964954853, 0.5609691143035889, -0.017017440870404243, 0.4309249818325043, 0.2998873293399811, 0.5078293681144714, -0.5054734349250793, 0.4300491213798523, -0.19089049100875854, -0.612773060798645, 0.08279192447662354, -0.4519469738006592, -0.8946452736854553, 0.12765447795391083, -0.04294378310441971, -0.45419126749038696, 0.08492117375135422, 0.1929267942905426, -0.30238646268844604, 0.4550309181213379, -0.5913156867027283, 0.8402010202407837, -0.47709763050079346, -0.302564412355423, -0.06278716027736664, -0.8789708018302917, 0.3736149072647095, 0.2779046595096588, 0.12413743883371353, 0.3510747253894806, -0.14707055687904358, 0.33544546365737915, -0.09350404888391495, 0.8251397609710693, -0.38857752084732056, 0.1077721044421196, 0.7920524477958679, 0.36018070578575134, 0.36550623178482056, -0.0022790853399783373, 0.04083272069692612, 0.12897968292236328, 0.08039072901010513, -0.15832239389419556, -0.6883071064949036, 0.8762778639793396, -0.6104697585105896, -0.15024076402187347, 0.07981842756271362, -0.7296334505081177, -0.07480501383543015, 0.24388891458511353, 0.035291507840156555, 0.6876047253608704, 0.13681666553020477, 0.2338532954454422, 0.4366382658481598, -0.64043790102005, 0.48608314990997314, 0.38067826628685, -0.16697601974010468, -1.0032711029052734, 1.1162446737289429, 0.04384322464466095, 0.18647626042366028, 0.8179953694343567, 0.09347075968980789, -0.6794898509979248, -0.3557772934436798, -0.6776990294456482, 0.15594135224819183, -0.9300261735916138, -0.7395526170730591, -0.5499860048294067, -0.13151775300502777, -0.35491830110549927, -0.12430349737405777, -0.4315478205680847, -0.3956419825553894, -0.263048380613327, -0.13789594173431396, 0.6912299394607544, 0.4984532296657562, 0.09516555070877075, 0.30652084946632385, -0.9647001028060913, 0.6659353971481323, 0.21738727390766144, 0.7131720185279846, 0.628679096698761, -0.45102664828300476, -0.2517355680465698, 0.0965186133980751, -0.21892620623111725, -0.578258216381073, 0.5432612895965576, 0.18547607958316803, 0.38544565439224243, 0.3688397705554962, 0.11992034316062927, 0.8052682280540466, -0.7041616439819336, 0.8369752168655396, 0.34956231713294983, -0.2307085245847702, 0.5783017873764038, -0.1874580979347229, 0.1407536119222641, 0.45704424381256104, 0.3260296881198883, -0.1770014464855194, 0.02061421051621437, -0.4239010810852051, -0.8750853538513184, 0.3489571511745453, 0.03984072431921959, 0.5573867559432983, -0.32347604632377625, 0.6135689616203308, 0.31075796484947205, 0.4083423912525177, -0.8350105285644531, -0.042904503643512726, -0.2910427451133728, -0.27370813488960266, 0.1787761151790619, -0.16704991459846497, -0.14613130688667297, -0.11320023983716965, 0.3069339692592621, -0.14150835573673248, 0.7627076506614685, 0.25392863154411316, -0.3482905328273773, 0.038582589477300644, 0.03612344712018967, 0.4215189218521118, 0.26757553219795227, 0.06948776543140411, 0.36250627040863037, 0.013067512772977352, -0.14356213808059692, -0.09965888410806656, 0.10183107107877731, -0.17783889174461365, -0.03667682036757469, 0.07717342674732208, 0.7773375511169434, 0.3144170343875885, -0.8870875239372253, 0.5122043490409851, 0.12770883738994598, 0.12162677943706512, -0.4374660849571228, -0.2388405054807663, 0.03414863720536232, 0.22753407061100006, 0.4760611653327942, 0.2561458349227905, 0.1381714642047882, -0.5790877938270569, 0.3903769254684448, 0.5349247455596924, -0.7038940191268921, -0.21100997924804688, 0.6526618599891663, -0.0186017956584692, -0.1766609102487564, 0.693205714225769, -0.24350757896900177, -0.3341163694858551, 0.6370567679405212, 0.6047524809837341, 0.40929558873176575, 0.44845110177993774, 0.03651542216539383, 0.3712003231048584, 0.2080690860748291, 0.03767608478665352, 0.31468042731285095, -0.26607173681259155, -0.628319501876831, -0.4470253586769104, -0.6292977929115295, 0.01088688150048256, -0.067332424223423, -0.4737674295902252, -0.10198137909173965, -0.40749964118003845, 0.07944770902395248, -0.47899386286735535, -0.23174183070659637, -0.9575337171554565, 0.16862893104553223, 0.2952900528907776, 0.817542314529419, -0.39439061284065247, 0.46274298429489136, 0.6430850625038147, -0.9329100251197815, -0.46552443504333496, -0.6241343021392822, -0.5839994549751282, -0.7923371195793152, 0.9052296280860901, 0.4072486162185669, 0.36455780267715454, -0.19546855986118317, -0.7027977705001831, -1.0288007259368896, 1.204973816871643, 0.30049121379852295, -0.3986819386482239, 0.10172732174396515, 0.1101037934422493, 0.4151015281677246, -0.5767427682876587, 0.0007342049502767622, -0.1342771202325821, 0.34442809224128723, 0.40694230794906616, -0.527152955532074, 0.13752782344818115, -0.2710047662258148, 0.19750352203845978, 0.08059190213680267, -0.4673886001110077, 0.36412787437438965, -0.6340764164924622, -0.2659243047237396, 0.6745635867118835, 0.804467499256134, 0.23720161616802216, 0.3579420745372772, 0.07262104004621506, 0.6038265824317932, 0.26954013109207153, 0.18682020902633667, 1.4610165357589722, -0.1184420958161354, -0.24573826789855957, 1.3827414512634277, -0.16873523592948914, 1.071351170539856, 0.6686677932739258, 0.07026570290327072, 0.5982490181922913, 0.28891631960868835, -0.25106555223464966, 0.9155099987983704, -0.05766909942030907, -0.05132879316806793, -0.040429335087537766, -0.3913436830043793, -0.17341315746307373, 0.08989384770393372, 0.21131494641304016, -0.9076586961746216, 0.133757084608078, 0.3553813397884369, -0.7894054055213928, 0.16965825855731964, -0.4813595712184906, 0.9649566411972046, 0.10766206681728363, -0.4263051152229309, 0.259403258562088, -0.11007581651210785, 0.6100713610649109, -0.2393886297941208, -0.26166945695877075, 0.007726767100393772, 0.034774236381053925, 0.0969589352607727, -0.7257577776908875, 0.18818561732769012, -0.3001243472099304, -0.1540955901145935, 0.09656179696321487, 0.8563742637634277, -0.6211216449737549, -0.5666425228118896, 0.0650005042552948, 0.2451152354478836, 0.21462814509868622, -0.17108787596225739, -0.4406745135784149, -0.050535283982753754, -0.3830772638320923, 0.23753774166107178, 0.15853619575500488, 0.2844275236129761, -0.010235152207314968, 0.6997271180152893, 0.7420050501823425, -0.13306091725826263, 0.3916316032409668, 0.3074209690093994, 0.7708264589309692, -0.4819672107696533, -0.4878130257129669, -0.616977870464325, 0.4938485622406006, -0.026536399498581886, 0.3926141560077667, 0.6428106427192688, 0.774052619934082, 0.5820044875144958, -0.664281964302063, 0.5643943548202515, -0.14991220831871033, 0.07398417592048645, -0.41679951548576355, 0.6166398525238037, -0.38462403416633606, -0.12667971849441528, -0.25079819560050964, -0.7968665957450867, -0.21930480003356934, 0.44470417499542236, -0.24382345378398895, 0.02337489277124405, 0.269481897354126, 0.8280990123748779, -0.2860226631164551, -0.0923762321472168, 0.20777033269405365, -0.06092846766114235, 0.09350614249706268, 0.42825254797935486, 1.033179759979248, -0.7674585580825806, 0.8603148460388184, -0.5289885401725769, 0.4966243803501129, -0.05289079248905182, -0.75771164894104, -0.7605596780776978, -0.6298355460166931, -0.39157113432884216, -0.010847830213606358, 0.007890645414590836, 0.47362834215164185, 0.6617681980133057, -0.7545037865638733, 0.29014143347740173, -0.15806567668914795, -0.09735056757926941, -0.11628223210573196, -0.32384058833122253, 0.5056941509246826, -0.36246997117996216, -0.19820818305015564, 0.19743597507476807, 0.2871335744857788, 0.17258377373218536, -0.18989844620227814, -0.26399317383766174, -0.23738300800323486, 0.030859140679240227, 0.8319066762924194, 0.30423951148986816, -0.8074933886528015, -0.3576456904411316, 0.1965298354625702, 0.08340662717819214, 0.4129704236984253, 0.6643516421318054, -0.9372317790985107, 0.7633585333824158, 0.28822457790374756, 0.9261151552200317, 0.5405412912368774, 0.09875740110874176, 0.36189377307891846, -1.0594886541366577, -0.05434633418917656, 0.07837022840976715, 0.35960623621940613, 0.7363625764846802, -0.3709477484226227, 0.23108461499214172, 0.06829748302698135, -0.1316547840833664, -0.6092740297317505, 0.12637700140476227, -1.007572889328003, -0.09661627560853958, 0.7759398221969604, -0.1357344090938568, -0.19242329895496368, 0.23232504725456238, -0.4928206503391266, 0.1295938342809677, -0.4019904136657715, 0.927313506603241, 0.4379279315471649, 0.056279003620147705, -0.6753728985786438, -0.5099046230316162, 0.10663573443889618, 0.01428816094994545, -0.49194085597991943, -0.07155580073595047, 0.5861552357673645, 0.22608844935894012, 0.5355368852615356, 0.16984769701957703, -0.6895580887794495, 0.5048396587371826, -0.07514345645904541, 0.035234175622463226, -0.5405852198600769, -0.4677756726741791, -0.17521099746227264, 0.36581969261169434, -0.1215578243136406, -0.44079092144966125 ]
http://arxiv.org/abs/2405.12981v1
http://arxiv.org/pdf/2405.12981v1
Reducing Transformer Key-Value Cache Size with Cross-Layer Attention
2024-05-21T17:59:29
2024-05-21T17:59:29
William Brandon, Mayank Mishra, Aniruddha Nrusimha, Rameswar Panda, Jonathan Ragan Kelly
cs.LG
cs.LG, cs.CL
Key-value (KV) caching plays an essential role in accelerating decoding for transformer-based autoregressive large language models (LLMs). However, the amount of memory required to store the KV cache can become prohibitive at long sequence lengths and large batch sizes. Since the invention of the transformer, two of the most effective interventions discovered for reducing the size of the KV cache have been Multi-Query Attention (MQA) and its generalization, Grouped-Query Attention (GQA). MQA and GQA both modify the design of the attention block so that multiple query heads can share a single key/value head, reducing the number of distinct key/value heads by a large factor while only minimally degrading accuracy. In this paper, we show that it is possible to take Multi-Query Attention a step further by also sharing key and value heads between adjacent layers, yielding a new attention design we call Cross-Layer Attention (CLA). With CLA, we find that it is possible to reduce the size of the KV cache by another 2x while maintaining nearly the same accuracy as unmodified MQA. In experiments training 1B- and 3B-parameter models from scratch, we demonstrate that CLA provides a Pareto improvement over the memory/accuracy tradeoffs which are possible with traditional MQA, enabling inference with longer sequence lengths and larger batch sizes than would otherwise be possible
[ -0.5470276474952698, -0.3714081048965454, 0.42577165365219116, 0.28243085741996765, -0.30531567335128784, -0.03884289041161537, -0.16563211381435394, -0.4246862828731537, 0.3056793510913849, 0.5785316228866577, -0.48529210686683655, -0.279475599527359, -0.5920716524124146, -0.3426196277141571, -0.3499782681465149, 0.49901315569877625, 0.05749281868338585, -0.2609468996524811, -0.11573408544063568, -0.26404279470443726, -0.5087701082229614, -0.539162278175354, -0.7610476613044739, -0.17768700420856476, 0.789507269859314, 0.39903587102890015, 0.700034499168396, 0.7242412567138672, 0.4235170781612396, 0.18855229020118713, -0.1159459725022316, 0.21644550561904907, -0.625564455986023, 0.2111770212650299, -0.04638812318444252, -0.5929177403450012, -0.4639008343219757, -0.1567084789276123, 0.5928006768226624, 0.363610178232193, 0.03272513672709465, 0.292913019657135, -0.060875970870256424, 1.0599032640457153, -1.0684154033660889, 0.35142457485198975, -0.6764992475509644, 0.01533685065805912, -0.019735274836421013, -0.3245878219604492, -0.7053446769714355, 0.039046596735715866, 0.127516508102417, -0.4536091685295105, 0.47251811623573303, -0.08238908648490906, 0.7900707125663757, 0.5664703249931335, -0.3498538136482239, 0.1343628317117691, -0.76642245054245, 0.9290266633033752, -0.43738946318626404, 0.7432873845100403, 0.2680054306983948, 0.27061590552330017, 0.11033943295478821, -0.7203921675682068, -0.4154861867427826, 0.16500385105609894, -0.10704239457845688, 0.16865648329257965, -0.24984587728977203, 0.07447130978107452, 0.24369856715202332, 0.3432174324989319, -0.26832315325737, -0.11177107691764832, -0.38746893405914307, -0.3074943423271179, 0.3739701211452484, 0.23007197678089142, -0.0484897680580616, 0.15317559242248535, -0.22256271541118622, -0.39626559615135193, -0.9745292663574219, 0.28813132643699646, 0.022218085825443268, 0.23515096306800842, 0.262655645608902, 0.24685576558113098, -0.43259546160697937, 0.32083287835121155, 0.40519917011260986, 0.0009289626614190638, 0.10319362580776215, -0.4128005802631378, -0.2576690912246704, 0.054441556334495544, 0.42429444193840027, 0.43733251094818115, 0.18957264721393585, -0.3544696569442749, 0.018133921548724174, 0.00779152475297451, 0.5628848075866699, -0.9336446523666382, -0.38393518328666687, 0.27346304059028625, -0.6244691014289856, 0.03369983658194542, -0.12122480571269989, -0.9008101224899292, 0.014494175091385841, -0.22908098995685577, 0.29391399025917053, 0.18807022273540497, 0.23425471782684326, 0.10142684727907181, -0.02072329632937908, 0.5159150958061218, 0.23771537840366364, -1.026972770690918, 0.33701756596565247, 0.33335423469543457, 0.6902512311935425, -0.12580986320972443, -0.20399433374404907, -0.6546812057495117, 0.4075988531112671, -0.07372201979160309, 0.6779358983039856, -0.6416970491409302, -0.29320088028907776, -0.34910181164741516, 0.05917404219508171, -0.06957142055034637, -0.47124335169792175, 0.2893608510494232, -1.0284531116485596, -0.08050524443387985, -0.5941743850708008, -0.25071051716804504, -0.1379946619272232, 0.08252006769180298, -1.071571946144104, 0.9811605215072632, -0.015498831868171692, -0.5471651554107666, 0.38565894961357117, -0.3811591863632202, -0.547761857509613, -0.3229852318763733, -0.021980877965688705, -0.675615668296814, 0.268454909324646, 0.767497181892395, 0.33194366097450256, -0.5812562108039856, -0.12337815761566162, -0.1994764804840088, -0.4279409945011139, -0.04320497065782547, -0.4351637065410614, 0.36524900794029236, -0.045705921947956085, -0.47678089141845703, 0.07159356027841568, -0.47161439061164856, 0.2293672412633896, 0.10219106823205948, -0.2791435420513153, -0.18421483039855957, -0.0747607871890068, -0.1464429348707199, 0.48691049218177795, 0.09476517885923386, -0.35740265250205994, 0.11030144989490509, -0.35099518299102783, 0.5213795304298401, 0.5587449669837952, 0.05210017040371895, 0.6612916588783264, -0.28860288858413696, 0.4590561091899872, 0.31443050503730774, 0.3436945974826813, -0.23109282553195953, -0.417571485042572, -1.1155753135681152, -0.15311181545257568, 0.28326138854026794, 0.1965831220149994, -0.3932335674762726, 0.17761394381523132, -0.3567593991756439, -0.4186473488807678, -0.8903594613075256, 0.15371188521385193, 0.39579612016677856, 0.3151521384716034, 0.7308445572853088, -0.39190682768821716, -0.218193918466568, -1.00271475315094, -0.3018404543399811, 0.07297319918870926, 0.0053502037189900875, 0.6069791316986084, 0.15239037573337555, -0.05129031464457512, 0.8272431492805481, -0.5585225820541382, -0.4025360643863678, -0.08657442778348923, -0.05664265155792236, 0.009049915708601475, 0.40021029114723206, 0.27522286772727966, -0.8177826404571533, -0.6649060249328613, -0.11802970618009567, -0.02298455312848091, -0.09135010838508606, -0.1980437934398651, -0.15657217800617218, 0.19767315685749054, 0.5041547417640686, -0.7439264059066772, 0.6409712433815002, 0.4163919687271118, -0.012285207398235798, 0.294178307056427, -0.04482386261224747, 0.1439543515443802, -0.8172339200973511, 0.10184136778116226, -0.3195236027240753, -0.12395897507667542, -0.6214205026626587, 0.012539990246295929, 0.4266470670700073, 0.15015801787376404, -0.6272866725921631, 0.5944852232933044, -0.6726242303848267, -0.16846145689487457, -0.4171580374240875, -0.017692066729068756, 0.31477901339530945, 0.8399802446365356, -0.001312109874561429, 0.896064281463623, 0.36487671732902527, -0.6783589124679565, 0.14693869650363922, 0.198394775390625, 0.06758828461170197, 0.31946974992752075, -0.7262921929359436, 0.42112112045288086, -0.1708698868751526, 0.49242573976516724, -0.9837715029716492, 0.19604957103729248, -0.005533902440220118, -0.37200960516929626, 0.24803470075130463, -0.1877833902835846, -0.44983118772506714, -0.2940731346607208, -0.45558857917785645, 0.8107986450195312, 0.4285752475261688, -0.8077464699745178, 0.8762223124504089, 0.32091301679611206, 0.11702616512775421, -0.7685766816139221, -0.8434757590293884, -0.04768510162830353, -0.14647720754146576, -0.650424599647522, 0.6474366188049316, 0.016135169193148613, 0.28065067529678345, 0.030640803277492523, -0.5285166501998901, -0.25679680705070496, -0.28706681728363037, 0.06286798417568207, 0.08997663855552673, -0.20404931902885437, 0.3142753541469574, 0.1528347134590149, -0.3700456917285919, 0.16500596702098846, -0.42235198616981506, 0.7222110033035278, -0.09588877111673355, -0.3102269768714905, -0.489108145236969, 0.3666645884513855, 0.8876497149467468, -0.5620339512825012, 0.8242653608322144, 0.5823273062705994, -0.2550543546676636, -0.2635866701602936, -0.8107373118400574, -0.4103127121925354, -0.46907535195350647, 0.0776081308722496, -0.5180016160011292, -1.0256094932556152, 0.9320443868637085, 0.06866707652807236, -0.2106829732656479, 0.4868012070655823, 0.6468915939331055, 0.15703868865966797, 0.8618850708007812, 0.2783845365047455, -0.5879395604133606, 0.3485514521598816, -0.24916806817054749, 0.3531159460544586, -1.1530225276947021, -0.2050541490316391, -0.47506794333457947, -0.7039380669593811, -0.4395432472229004, -0.6266453266143799, 0.399411141872406, -0.21140584349632263, -0.1671682894229889, 0.16675998270511627, -0.48376771807670593, 0.7341540455818176, 0.5557886958122253, 0.3488823473453522, 0.28050607442855835, -0.21735434234142303, 0.047943469136953354, 0.0011950990883633494, -0.6675017476081848, 0.07783268392086029, 1.2300211191177368, 0.25581854581832886, 0.9267813563346863, -0.14741221070289612, 0.509721577167511, 0.005828018765896559, 0.011285516433417797, -0.8131850957870483, 0.32803472876548767, -0.10760940611362457, -0.5630772709846497, -0.31882116198539734, -0.49215543270111084, -0.9666057229042053, 0.530298113822937, 0.35491907596588135, -0.5732647776603699, 0.2889383137226105, 0.31891292333602905, -0.41273197531700134, 0.32023942470550537, -0.5491149425506592, 0.8396545648574829, 0.05101080983877182, -0.44435402750968933, -0.40889957547187805, -0.8873750567436218, 0.3148716688156128, 0.00131698464974761, -0.23782825469970703, 0.25260841846466064, -0.07444148510694504, 0.543448805809021, -0.3036201000213623, 0.8118016123771667, -0.20376424491405487, -0.09092486649751663, 0.27900928258895874, -0.24038833379745483, 0.8557158708572388, 0.0810011476278305, 0.3648832142353058, -0.141293466091156, -0.23508870601654053, -0.6209757328033447, -0.7102503776550293, 0.7551704049110413, -0.6777920126914978, -0.6068356037139893, 0.04530319571495056, -0.8467965126037598, -0.26658517122268677, 0.14497525990009308, 0.10045570135116577, 0.2964135706424713, 0.10890292376279831, 0.6593480706214905, 1.1291917562484741, -0.05258200317621231, 0.46089282631874084, 0.3336044251918793, 0.22441141307353973, -0.3199601471424103, 0.597003161907196, 0.1339799463748932, 0.6296802163124084, 0.6843945384025574, 0.12881600856781006, -0.38702860474586487, -0.377558171749115, -0.08854977041482925, 0.12257161736488342, -0.8196684718132019, -0.29299837350845337, -0.9454214572906494, -0.32134178280830383, -0.2982335686683655, -0.10092207789421082, -0.7459919452667236, -0.4274919629096985, -0.17384842038154602, 0.19441840052604675, 0.2308642864227295, 0.024521533399820328, 0.2080565243959427, 0.673164427280426, -0.9428560733795166, 0.49589911103248596, 0.45979347825050354, 0.36112716794013977, 0.40262794494628906, -0.5032476782798767, -0.395411878824234, -0.16667072474956512, -0.19430848956108093, -0.5406200885772705, 0.4665517508983612, 0.05721080303192139, 0.5723852515220642, 0.22374427318572998, 0.14646869897842407, 0.8308650255203247, -0.3837994337081909, 0.48685377836227417, -0.07213202118873596, -1.1392165422439575, 0.33348914980888367, -0.0053617930971086025, 0.7309032678604126, 0.5522344708442688, -0.023960581049323082, -0.6238688826560974, -0.35727062821388245, -0.5413491725921631, -1.023707389831543, 0.740175187587738, 0.1484290063381195, 0.041367966681718826, 0.1967332661151886, 0.34352907538414, -0.16696619987487793, 0.11410661786794662, -0.6349499225616455, -0.3553696572780609, -0.13377827405929565, 0.02820751816034317, 0.12274271994829178, -0.23151877522468567, -0.007814654149115086, -0.22213801741600037, 0.5648305416107178, -0.2317640632390976, 0.4952635169029236, 0.17422297596931458, -0.24537554383277893, -0.14599460363388062, 0.3327312767505646, 0.5644338726997375, 0.3904185891151428, -0.13129816949367523, 0.32534778118133545, 0.35383355617523193, -0.5853211879730225, 0.14364904165267944, -0.17751845717430115, 0.021070655435323715, -0.26756247878074646, 0.019492197781801224, 0.8081924915313721, 0.27721336483955383, -0.3114892244338989, 0.4337645173072815, -0.2311263233423233, -0.0839264914393425, 0.14524520933628082, -0.06335009634494781, 0.33605679869651794, 0.3648897409439087, 0.29395437240600586, -0.08646143972873688, 0.16422763466835022, -0.1781310886144638, 0.3645268976688385, 0.40569329261779785, -0.22274728119373322, -0.14532512426376343, 0.7232635021209717, 0.031768787652254105, 0.19009141623973846, 0.555062472820282, 0.1135236993432045, -0.6407129764556885, 0.7660096287727356, 0.5335133075714111, 1.0146421194076538, -0.41598016023635864, -0.12161237746477127, 0.14436161518096924, 0.6304910778999329, -0.09449683874845505, 0.22764550149440765, -0.31760862469673157, -0.6139042377471924, -0.4230043590068817, -0.2771728038787842, -0.3344196379184723, 0.3431739807128906, -0.8712339997291565, 0.0017531252233311534, -0.38822072744369507, 0.006163865327835083, -0.14260627329349518, 0.04890207201242447, -0.8678439855575562, 0.42324092984199524, -0.19677339494228363, 0.5964546203613281, -0.6563994884490967, 1.0548995733261108, 0.10878537595272064, -0.3626045882701874, -0.6705978512763977, 0.18039873242378235, -0.21960824728012085, -0.8303965926170349, 0.6316418647766113, 0.31044235825538635, -0.23610974848270416, 0.05792579799890518, -0.20695984363555908, -1.113108515739441, 1.2008968591690063, 0.14536911249160767, -0.6195659041404724, -0.11818350851535797, 0.30990421772003174, 0.34081509709358215, -0.33195778727531433, 0.16972006857395172, 0.7201454639434814, 0.5397137999534607, 0.13637515902519226, -0.725662887096405, 0.20110473036766052, -0.042409006506204605, 0.0699363723397255, 0.5429084300994873, -1.0426100492477417, 0.7891252040863037, -0.04732230678200722, -0.1815309375524521, -0.40016043186187744, 0.7075163722038269, 0.03873111680150032, 0.02627347968518734, 0.5522675514221191, 0.7626184225082397, 0.5349916219711304, 0.013297337107360363, 0.865354061126709, -0.47733134031295776, 0.29163703322410583, 1.232956886291504, -0.12267757207155228, 0.7856405973434448, 0.7453904151916504, -0.09228495508432388, 0.06748826801776886, 0.3321699798107147, 0.091518335044384, 0.8245390057563782, 0.11835338175296783, -0.11158106476068497, -0.2653254568576813, 0.132254496216774, -0.3891725540161133, 0.32696735858917236, 0.34258419275283813, -0.48241540789604187, -0.13069690763950348, -0.14804352819919586, -0.16962504386901855, -0.4975084066390991, -0.3505067527294159, 0.6227356791496277, 0.056783583015203476, -0.655998170375824, 0.5901253819465637, -0.2097855806350708, 0.3450377881526947, -0.3518815040588379, 0.220315620303154, -0.25212791562080383, 0.402535617351532, -0.052561596035957336, -0.5141011476516724, 0.3585905134677887, -0.36852508783340454, -0.6370937824249268, -0.16261859238147736, 0.782870888710022, -0.5735840201377869, -0.16041086614131927, 0.5388097167015076, 0.3304360806941986, -0.18080876767635345, -0.4217302203178406, -0.45667439699172974, 0.25460702180862427, -0.1512947529554367, -0.5178834795951843, 0.45280784368515015, 0.30977773666381836, 0.01789224147796631, 0.6660786867141724, 0.6930160522460938, -0.11844826489686966, 0.44791465997695923, 0.2644418179988861, 1.2609779834747314, -0.8064498901367188, -0.6277920007705688, -0.7061707973480225, 0.40953701734542847, 0.12317147850990295, -0.08084872364997864, 0.4943506717681885, 0.45547595620155334, 0.829348087310791, -0.10025738179683685, 0.6822302341461182, 0.3535889685153961, 0.1609208732843399, -0.5744468569755554, 0.5993340015411377, -0.4843665063381195, 0.2410539984703064, -0.029575886204838753, -1.0862400531768799, -0.4256264269351959, 0.2681063711643219, -0.0574207566678524, 0.1446060836315155, 0.9023465514183044, 0.8004319667816162, -0.23047402501106262, -0.16637252271175385, 0.2926156222820282, -0.023156939074397087, 0.6135817766189575, 0.9291753768920898, 0.5151717066764832, -0.6783841848373413, 0.8473188877105713, -0.30665597319602966, -0.033748283982276917, -0.3328244686126709, -0.6573935747146606, -0.968777060508728, -0.3930710256099701, -0.007373888976871967, -0.086417555809021, 0.030550867319107056, 0.45960959792137146, 0.7368684411048889, -0.8445827960968018, 0.016955604776740074, -0.041349414736032486, -0.0742088034749031, -0.34237349033355713, -0.2085253745317459, 0.6262736916542053, -0.5246418118476868, -0.6495516896247864, 0.3987487256526947, 0.49685245752334595, -0.11584355682134628, -0.32087400555610657, 0.025735311210155487, -0.1052984893321991, 0.2694110572338104, 0.5892362594604492, 0.13759349286556244, -0.9363080263137817, -0.36761850118637085, 0.2768653631210327, -0.1592438817024231, 0.43103355169296265, 0.925866961479187, -0.8750092387199402, 0.550256073474884, 0.5365443229675293, 1.1317273378372192, 1.0021865367889404, 0.0014615540858358145, 0.5645692348480225, -0.8033150434494019, 0.012864813208580017, 0.10746444761753082, 0.2672450542449951, 0.02217075042426586, -0.5625867247581482, 0.26892995834350586, 0.022027278319001198, -0.7468403577804565, -0.4748617708683014, 0.16557028889656067, -1.1371803283691406, -0.05826285481452942, 0.8288260102272034, -0.019257767125964165, -0.3137776553630829, -0.05894959345459938, -0.1627817302942276, 0.2904829978942871, -0.6713547110557556, 0.8725126385688782, 0.7938562631607056, -0.023446809500455856, -0.5551151633262634, -0.37183478474617004, 0.5518139004707336, 0.8371809720993042, -0.8540714979171753, 0.4362068772315979, 0.2296416014432907, -0.08275974541902542, 0.15784797072410583, 0.45185837149620056, -0.13760626316070557, 0.459110826253891, -0.11436399072408676, -0.05353126302361488, 0.15358808636665344, -0.7252245545387268, -0.2530219554901123, 0.315817266702652, -0.3185562491416931, -0.36115801334381104 ]
http://arxiv.org/abs/2405.12939v1
http://arxiv.org/pdf/2405.12939v1
Aggregation of Reasoning: A Hierarchical Framework for Enhancing Answer Selection in Large Language Models
2024-05-21T17:12:19
2024-05-21T17:12:19
Zhangyue Yin, Qiushi Sun, Qipeng Guo, Zhiyuan Zeng, Xiaonan Li, Tianxiang Sun, Cheng Chang, Qinyuan Cheng, Ding Wang, Xiaofeng Mou, Xipeng Qiu, XuanJing Huang
cs.CL
cs.CL
Recent advancements in Chain-of-Thought prompting have facilitated significant breakthroughs for Large Language Models (LLMs) in complex reasoning tasks. Current research enhances the reasoning performance of LLMs by sampling multiple reasoning chains and ensembling based on the answer frequency. However, this approach fails in scenarios where the correct answers are in the minority. We identify this as a primary factor constraining the reasoning capabilities of LLMs, a limitation that cannot be resolved solely based on the predicted answers. To address this shortcoming, we introduce a hierarchical reasoning aggregation framework AoR (Aggregation of Reasoning), which selects answers based on the evaluation of reasoning chains. Additionally, AoR incorporates dynamic sampling, adjusting the number of reasoning chains in accordance with the complexity of the task. Experimental results on a series of complex reasoning tasks show that AoR outperforms prominent ensemble methods. Further analysis reveals that AoR not only adapts various LLMs but also achieves a superior performance ceiling when compared to current methods.
[ -0.5393054485321045, -1.2109606266021729, 0.7648208737373352, 0.07464709132909775, 0.00512020755559206, 0.3862135410308838, -0.07312966138124466, -0.6215256452560425, 0.07616481930017471, 0.45477423071861267, -0.26011815667152405, -0.15272848308086395, -0.5861350893974304, 0.13321369886398315, -0.30876263976097107, 0.8269451856613159, 0.01014731265604496, -0.24172033369541168, -0.5696806311607361, -0.21057558059692383, -0.175994873046875, -0.5562105774879456, -0.9128221273422241, -0.5427671670913696, 0.485795795917511, 0.4098508954048157, 0.7551499009132385, 0.744073748588562, 0.6548435688018799, 0.3685053288936615, -0.4263569116592407, 0.5983211994171143, -0.2617603540420532, 0.3938518166542053, -0.24693900346755981, -0.46633169054985046, -0.8782979846000671, -0.4630679488182068, 0.7821596264839172, 0.910431444644928, -0.3426544964313507, 0.12913134694099426, -0.047468237578868866, 0.7299137711524963, -0.8497564792633057, -0.005842984188348055, -0.7818994522094727, -0.14008976519107819, -0.061736706644296646, -0.23227636516094208, -0.28584182262420654, -0.23113815486431122, 0.18772105872631073, -0.4635886549949646, -0.11179899424314499, 0.24624985456466675, 0.19839182496070862, 0.27111679315567017, -0.3733679950237274, -0.34524568915367126, -0.7336596250534058, 0.8272514939308167, -0.42876923084259033, 0.12776103615760803, 0.2764296233654022, 0.25300198793411255, -0.06963155418634415, -0.5195562839508057, -0.4440389573574066, -0.03517333045601845, 0.07415132224559784, 0.15985654294490814, -0.20232370495796204, 0.1713961362838745, 0.1341569721698761, 0.5327746868133545, -0.5540667176246643, 0.026534385979175568, -0.13941937685012817, 0.0564531609416008, 0.526500940322876, 0.26616334915161133, 0.0980016216635704, 0.19644173979759216, -0.22498652338981628, 0.02085263282060623, -0.48646265268325806, 0.029504671692848206, 0.10568179935216904, 0.08110406994819641, 0.1987980604171753, 0.5666317939758301, -0.2961728274822235, 1.127219796180725, 0.2792219817638397, -0.1558932662010193, 0.010134514421224594, -0.05332043021917343, -0.25171375274658203, 0.08152978122234344, 0.5712000727653503, -0.01427930872887373, 0.2573383152484894, 0.047500696033239365, -0.24269801378250122, -0.08681539446115494, 0.021778728812932968, -0.41433385014533997, -0.1757926642894745, 0.5026589035987854, -0.3812043368816376, -0.17683656513690948, 0.005402899347245693, -0.804702877998352, -0.17674583196640015, -0.12292592227458954, 0.22540217638015747, -0.08172858506441116, -0.2776424288749695, 0.2887202799320221, -0.2966974675655365, -0.12952807545661926, 0.47123613953590393, -0.7646163702011108, 0.5863254070281982, 0.6430647373199463, 0.5793055295944214, -0.3828393518924713, -0.3909338414669037, -0.7908074855804443, 0.20813675224781036, -0.40530043840408325, 1.1557214260101318, -0.8104494214057922, -0.23143519461154938, -0.08325359970331192, -0.5432303547859192, -0.12391054630279541, -0.8285003304481506, 0.3113929331302643, -0.898392379283905, -0.08885717391967773, -0.19256190955638885, -0.4484066069126129, 0.019545558840036392, 0.5007630586624146, -0.788936972618103, 1.1961119174957275, 0.022576382383704185, -0.7164231538772583, 0.07836995273828506, -0.5433841347694397, -0.5242583155632019, 0.13523437082767487, -0.17669513821601868, -0.05007628723978996, 0.016527308151125908, 0.3851306140422821, 0.14471805095672607, -0.5560359358787537, 0.35381853580474854, -0.42407768964767456, -0.2834809124469757, 0.4166601598262787, -0.3428580164909363, 0.593567430973053, 0.46363380551338196, 0.004569120705127716, 0.24802179634571075, -0.5441813468933105, 0.1539263278245926, 0.04350274056196213, -0.5402252078056335, -0.41270071268081665, 0.22335538268089294, -0.5454838871955872, 0.2124146968126297, 0.25441116094589233, -0.18763968348503113, 0.30075520277023315, -0.28957971930503845, 0.3374632000923157, 0.7052881121635437, 0.07679975032806396, 0.6199976801872253, -0.643873393535614, 0.7607635259628296, -0.04406125098466873, -0.1150318831205368, 0.0027852782513946295, -0.4635140895843506, -0.7745897173881531, -0.11627863347530365, 0.16737550497055054, 0.7332503199577332, -0.8708596229553223, 0.6053335666656494, -0.29571735858917236, -0.29434773325920105, -0.32486531138420105, 0.18270444869995117, 0.41128113865852356, 0.3930177688598633, 0.3750075101852417, -0.05282355844974518, -0.48528018593788147, -0.7082825303077698, -0.2854911684989929, -0.6288291215896606, 0.06492295861244202, 0.21844482421875, 0.4684479236602783, 0.19811609387397766, 0.8593720197677612, -0.6420360803604126, -0.01196460984647274, -0.4364277720451355, 0.01411944068968296, 0.2983868718147278, 0.19535695016384125, 0.2405868023633957, -0.8109001517295837, -0.10277669876813889, 0.05445317551493645, -0.7127269506454468, -0.17386473715305328, 0.02782125398516655, -0.3529452681541443, -0.019136425107717514, 0.4884853959083557, -0.7307752966880798, -0.07075223326683044, 0.5207657217979431, -0.14110758900642395, 0.5304945111274719, -0.13623711466789246, 0.07021158188581467, -0.8136786222457886, -0.09566930681467056, -0.06436347961425781, -0.09431574493646622, -0.4017011821269989, 0.30447813868522644, -0.21133270859718323, 0.22508127987384796, -0.17885898053646088, 0.7205196619033813, -0.5524526238441467, -0.01506972685456276, -0.3093152642250061, 0.2945946455001831, -0.012945529073476791, 0.4056861102581024, 0.08436807990074158, 0.5762125253677368, 0.6210190057754517, -0.9239518046379089, 0.6525933742523193, 0.3194606304168701, -0.4954574704170227, 0.5365220308303833, -0.550299882888794, 0.10499665141105652, -0.2369452714920044, 0.49795499444007874, -0.9752053022384644, -0.37268680334091187, -0.07058101892471313, -0.3925524055957794, 0.08460894227027893, -0.011258390732109547, -0.5360556840896606, -0.48941680788993835, -0.019560927525162697, 0.6088024973869324, 0.43396228551864624, -0.5447384119033813, 0.8612436056137085, 0.5592170357704163, -0.353011816740036, -0.5856161117553711, -0.6930757164955139, -0.16718319058418274, -0.21487677097320557, -0.5322752594947815, 0.1226024329662323, -0.1829034835100174, -0.807559072971344, 0.037105124443769455, -0.37042468786239624, -0.14493755996227264, 0.06588643789291382, -0.3640046715736389, 0.16495266556739807, -0.19133006036281586, 0.5063351392745972, 0.28349563479423523, -0.040123846381902695, 0.1485346555709839, -0.5098084211349487, 0.4820791184902191, -0.2202763855457306, -0.5709031224250793, 0.1917487531900406, 0.560857355594635, 0.687378466129303, -0.5453141927719116, 0.6417404413223267, 0.03899182379245758, -0.31085267663002014, -0.324244886636734, -0.6908994913101196, -0.05735311284661293, -0.4418926537036896, 0.42678484320640564, -0.47578322887420654, -1.2251160144805908, 0.6071844100952148, -0.021278321743011475, 0.17290548980236053, 0.422072172164917, 0.6010098457336426, 0.10317305475473404, 1.3280137777328491, 0.0027365030255168676, -0.08279340714216232, 0.3400435447692871, -0.04246527701616287, 0.2084752768278122, -0.8226546049118042, -0.20596735179424286, -0.6251312494277954, -0.156892791390419, -0.4277396500110626, -0.6202887296676636, 0.5643882751464844, 0.17639777064323425, -0.37385520339012146, -0.35551130771636963, -0.43270930647850037, 0.5414911508560181, 0.3862324059009552, 0.17795751988887787, 0.5411897301673889, 0.11364451795816422, -0.04714592546224594, 0.6123978495597839, -1.0356231927871704, -0.3152790069580078, 0.5212299227714539, 0.19606049358844757, 0.853148341178894, 0.302051842212677, 0.31276947259902954, 0.18209169805049896, 0.07974899560213089, -0.802680253982544, 0.8259707689285278, -0.18033836781978607, -0.7990595102310181, -0.5574526190757751, -0.6047729849815369, -0.8304160237312317, 0.5957702398300171, -0.08619388937950134, -0.7313933372497559, 0.19012482464313507, 0.2742478847503662, -0.45915308594703674, 0.3923951983451843, -0.34625694155693054, 0.39333903789520264, -0.2924897372722626, -0.2514704465866089, -0.1959713250398636, -0.5890617966651917, 0.2737272083759308, -0.16689655184745789, 0.34679269790649414, 0.01788276992738247, -0.06454254686832428, 0.5236413478851318, -0.2993026077747345, 0.6456480622291565, 0.11138202995061874, -0.277920126914978, 0.7033213973045349, 0.1407877802848816, 0.7068111300468445, -0.20805366337299347, -0.4977514445781708, -0.16246303915977478, -0.27736765146255493, -0.3918100893497467, -0.809468686580658, 0.6867361068725586, -0.4269614815711975, -0.9319624304771423, -0.36098769307136536, -0.813404381275177, -0.5092214345932007, 0.11480602622032166, 0.17578727006912231, 0.4844955503940582, 0.024250270798802376, 0.38430312275886536, 0.7714061737060547, 0.10143037885427475, 0.2305537313222885, 0.15773430466651917, -0.3500673174858093, -0.44728410243988037, 0.45105767250061035, 0.15613949298858643, 0.6267217397689819, 0.6514853835105896, 0.3700273334980011, -0.44788241386413574, -0.6133212447166443, -0.4249793291091919, 0.0010185969294980168, -0.8334598541259766, -0.14787010848522186, -0.8515493869781494, -0.21047693490982056, -0.27171748876571655, -0.06131025776267052, -0.011766472831368446, -0.5511670708656311, 0.06620948761701584, -0.26844197511672974, 0.34082889556884766, 0.4614916145801544, 0.11114651709794998, 0.05982952564954758, -0.8714184165000916, 0.4563038647174835, 0.6734528541564941, 0.317590594291687, 0.395492821931839, -0.4959404766559601, -0.08038737624883652, 0.05660054087638855, -0.11113820970058441, -0.6611400842666626, 0.003064841963350773, 0.1866856813430786, 0.8110801577568054, 0.2853771448135376, 0.17877240478992462, 0.9555206894874573, -0.36553600430488586, 0.5877609848976135, 0.07383028417825699, -0.7320751547813416, 0.6631983518600464, -0.5122972726821899, 0.6379849910736084, 0.45243600010871887, 0.2508560121059418, -0.1271279752254486, -0.7433359622955322, -0.6184110045433044, -0.9427850246429443, 0.5560624599456787, 0.16645289957523346, 0.020473936572670937, -0.3405531644821167, 0.19677609205245972, -0.22913965582847595, 0.096258245408535, -0.4510607421398163, -0.22998085618019104, 0.32744574546813965, -0.13142816722393036, 0.1583123505115509, -0.24831005930900574, -0.1185130700469017, -0.32829487323760986, 0.7170335650444031, -0.32336726784706116, 0.11007122695446014, 0.24896742403507233, 0.0354209765791893, -0.5236614942550659, 0.3903971314430237, 0.17365635931491852, 0.8697207570075989, 0.01120131928473711, 0.3042720556259155, 0.5014066100120544, -0.23109667003154755, 0.04692956805229187, 0.012816056609153748, -0.023929307237267494, -0.34986162185668945, 0.5819050073623657, 0.735320508480072, -0.0960412472486496, -0.8091947436332703, 0.14439436793327332, 0.26441723108291626, -0.277342289686203, -0.20864509046077728, 0.442583292722702, 0.05383402109146118, 0.2670137286186218, 0.6361989974975586, 0.21525955200195312, 0.26798728108406067, -0.6882142424583435, 0.004446903243660927, 0.3904765844345093, -0.2349630445241928, 0.18395735323429108, 0.5220293402671814, 0.041435107588768005, -0.3449491858482361, 0.6936769485473633, -0.026573872193694115, -0.5153300762176514, 0.8389393091201782, 0.6762117743492126, 0.6040316224098206, -0.43717557191848755, -0.07828018069267273, 0.25340402126312256, 0.19449500739574432, -0.4052902162075043, 0.31797584891319275, -0.13024522364139557, -1.0590490102767944, -0.796683669090271, -0.6161331534385681, -0.4149675667285919, 0.0939895510673523, -0.784848153591156, -0.1626460701227188, -0.2141638994216919, -0.10900463163852692, -0.10366488248109818, -0.22863595187664032, -0.07501111924648285, 0.46504974365234375, 0.018197637051343918, 0.994909405708313, -0.710059404373169, 0.6463467478752136, 1.1045012474060059, -0.07335356622934341, -0.7374411821365356, 0.1840747892856598, -0.01791456714272499, -0.6141520738601685, 0.37414324283599854, -0.09104165434837341, -0.5485569834709167, 0.11918007582426071, -0.5299161672592163, -0.9502543807029724, 0.8067212104797363, 0.24111346900463104, -0.3999483287334442, 0.09525108337402344, -0.11679768562316895, 0.6778809428215027, -0.546497642993927, 0.16387821733951569, 0.6759400963783264, 0.43886929750442505, 0.6994259357452393, -0.8739190697669983, -0.0798216313123703, -0.48342427611351013, -0.12095627933740616, 0.3023499548435211, -0.5725517868995667, 0.7906790375709534, -0.29786232113838196, 0.15869644284248352, 0.12332669645547867, 0.689678430557251, 0.9884341359138489, 0.18483670055866241, 0.8391349911689758, 0.47701752185821533, 0.9835946559906006, -0.036704886704683304, 1.2527323961257935, -0.025584086775779724, 0.016221795231103897, 1.1656516790390015, -0.41686034202575684, 0.8521497845649719, 0.35793137550354004, -0.2555201053619385, 0.5705192685127258, 0.6193479895591736, 0.2754462957382202, 0.2615710198879242, 0.22194606065750122, -0.4463191628456116, -0.8103448152542114, -0.17908595502376556, -0.25739625096321106, 0.4810525178909302, 0.540556013584137, -0.05199189484119415, 0.02309943176805973, -0.24208688735961914, -0.2172752171754837, 0.12358404695987701, -0.54926997423172, 0.8529486656188965, 0.1692182868719101, -1.21097731590271, 0.44928598403930664, -0.27125686407089233, 0.2559012472629547, -0.4507465660572052, -0.20230528712272644, -0.031148966401815414, 0.3192412257194519, -0.1889040172100067, -1.03519606590271, 0.2613942325115204, 0.037822481244802475, -0.3099682927131653, -0.19898201525211334, 0.8881478309631348, -0.4242165982723236, -0.5900330543518066, 0.3571070432662964, 0.8670720458030701, -0.0011794022284448147, -0.09762945026159286, -0.4819481670856476, -0.13822390139102936, -0.22457130253314972, -0.3266213834285736, 0.32812586426734924, 0.7768731713294983, -0.319070965051651, 0.9398914575576782, 0.6642696261405945, 0.19913607835769653, -0.13993844389915466, 0.12417476624250412, 1.01962149143219, -0.34355220198631287, -0.6758898496627808, -0.8628270626068115, 0.4935401976108551, -0.20569580793380737, -0.1675408035516739, 0.5597477555274963, 0.5132754445075989, 0.6390466094017029, 0.10023535788059235, 0.8624308705329895, -0.04023125022649765, 0.5720047950744629, -0.663947582244873, 0.21656925976276398, -0.6650141477584839, 0.6196187138557434, -0.2336561679840088, -0.9836244583129883, -0.48068666458129883, 0.729623019695282, -0.4563044011592865, 0.3760219216346741, 0.8463398218154907, 0.5200033187866211, -0.006784594617784023, 0.10375243425369263, 0.19750124216079712, 0.2792607545852661, 0.11516775190830231, 0.5422272682189941, 1.1982356309890747, 0.06273188441991806, 0.7425920963287354, 0.1497086137533188, -0.42213913798332214, -0.1256992667913437, -0.8740354180335999, -0.788338303565979, -0.2744918167591095, -0.2778736352920532, -0.2720167934894562, 0.14088746905326843, 0.8484709858894348, 0.6144342422485352, -0.812087893486023, -0.4025140404701233, -0.2660515606403351, 0.3753856420516968, -0.5502749085426331, -0.19351579248905182, 0.2200736701488495, -0.3184225261211395, -0.5916167497634888, 0.3369424641132355, 0.3164028227329254, -0.30225515365600586, -0.05304352566599846, -0.022044463083148003, -0.37293195724487305, 0.21512407064437866, 0.7630510926246643, 0.009510715492069721, -0.6977235078811646, -0.07820330560207367, 0.11930660903453827, 0.13076399266719818, 0.09995883703231812, 0.7624267339706421, -0.6236332058906555, 0.3168349266052246, 0.7779673337936401, 0.5076279044151306, 0.3353157639503479, 0.26736658811569214, 0.42654451727867126, -0.5661329627037048, -0.06037411466240883, 0.37711092829704285, 0.3871437907218933, -0.029972342774271965, -0.33380094170570374, 0.47162941098213196, -0.02705381065607071, -0.6324257850646973, -0.5275357365608215, 0.47274351119995117, -1.0154950618743896, -0.6254073977470398, 1.411024570465088, 0.0656510442495346, -0.1334373652935028, -0.43427738547325134, -0.08879780769348145, 0.04878205806016922, -0.3995000720024109, 0.7460114359855652, 0.8429976105690002, -0.479719877243042, -0.34824496507644653, -0.2905515730381012, 0.045745767652988434, 0.37658238410949707, -1.0266908407211304, 0.13672694563865662, 0.7276476621627808, -0.11119896173477173, 0.35086187720298767, 0.9430723190307617, -0.17639431357383728, 0.3592298626899719, -0.09410044550895691, -0.34030672907829285, 0.09693275392055511, -0.5067859888076782, -0.25053298473358154, 0.5596553087234497, 0.35480037331581116, 0.20819281041622162 ]
http://arxiv.org/abs/2405.12933v2
http://arxiv.org/pdf/2405.12933v2
Skin-in-the-Game: Decision Making via Multi-Stakeholder Alignment in LLMs
2024-05-21T17:04:44
2024-06-02T18:48:56
Bilgehan Sel, Priya Shanmugasundaram, Mohammad Kachuee, Kun Zhou, Ruoxi Jia, Ming Jin
cs.CL
cs.CL, cs.AI, cs.LG
Large Language Models (LLMs) have shown remarkable capabilities in tasks such as summarization, arithmetic reasoning, and question answering. However, they encounter significant challenges in the domain of moral reasoning and ethical decision-making, especially in complex scenarios with multiple stakeholders. This paper introduces the Skin-in-the-Game (SKIG) framework, aimed at enhancing moral reasoning in LLMs by exploring decisions' consequences from multiple stakeholder perspectives. Central to SKIG's mechanism is simulating accountability for actions, which, alongside empathy exercises and risk assessment, is pivotal to its effectiveness. We validate SKIG's performance across various moral reasoning benchmarks with proprietary and opensource LLMs, and investigate its crucial components through extensive ablation analyses.
[ -0.1659298986196518, -0.5145947933197021, 0.712344765663147, -0.0507163442671299, -0.27447861433029175, 0.36214521527290344, 0.10696880519390106, -0.5538533926010132, -0.0940241739153862, 0.8958218097686768, -0.4245266914367676, -0.7142745852470398, -0.47428083419799805, -0.23635947704315186, 0.12585324048995972, 0.9329569339752197, -0.0916038528084755, 0.06075764819979668, -0.41172248125076294, -0.6405820846557617, -0.3188117742538452, -0.43821385502815247, -0.893040657043457, -0.5619000792503357, 0.41330286860466003, 0.5205451846122742, 0.6665320992469788, 0.8636776208877563, 0.5815542340278625, 0.3791468143463135, 0.001660695648752153, 0.04451988264918327, -0.3225961923599243, 0.1559525579214096, -0.5554642677307129, -0.4883991777896881, -0.5526254177093506, 0.4988802969455719, 0.15147900581359863, 0.2213069498538971, -0.369402140378952, 0.2617054283618927, -0.03199577331542969, 0.7081796526908875, -0.5998817086219788, -0.08761008083820343, -0.39997223019599915, -0.09613680094480515, 0.09783792495727539, 0.10529444366693497, -0.27824699878692627, -0.3335348963737488, 0.27107903361320496, -0.5271825790405273, -0.21539729833602905, 0.058584947139024734, 0.6077823638916016, 0.2850009799003601, -0.5665053725242615, -0.34617042541503906, -0.24146221578121185, 0.8494945168495178, -0.9416614770889282, 0.10935843735933304, 0.3304213285446167, -0.06691998243331909, 0.04829852283000946, -0.4217883050441742, -0.2433261126279831, 0.04958157241344452, 0.1177484467625618, 0.2728102207183838, 0.2974766790866852, 0.26847052574157715, 0.3131210505962372, 0.021801862865686417, 0.036906395107507706, 0.16496172547340393, 0.1655726581811905, -0.0690818578004837, 0.7888009548187256, 0.07200463861227036, 0.004561766050755978, -0.1340065747499466, -0.8025802969932556, 0.031699176877737045, -1.0101966857910156, 0.5119087100028992, 0.563196063041687, 0.1733352094888687, -0.1699259728193283, 0.6751141548156738, 0.34880542755126953, 0.4993782341480255, 0.15748143196105957, -0.13923847675323486, 0.03248605132102966, -0.16680246591567993, -0.27244341373443604, 0.4763142168521881, 0.4318639039993286, 0.8901565670967102, 0.25228366255760193, 0.2990676462650299, 0.027310963720083237, 0.014165772125124931, 0.30865511298179626, -0.8653022646903992, 0.18105681240558624, 0.6395749449729919, -0.6871510744094849, -0.569345235824585, 0.17984265089035034, -0.6672212481498718, -0.8350608944892883, -0.3791576325893402, 0.2741261422634125, -0.41715681552886963, -0.5371708273887634, 0.5507959723472595, -0.24581368267536163, 0.520745575428009, 0.4831234812736511, -0.3566463887691498, 0.22036954760551453, 1.0282166004180908, 0.6918383240699768, 0.05046534165740013, -0.1468808948993683, -0.8566462993621826, 0.6476577520370483, -0.531734824180603, 0.5267631411552429, -0.7053983211517334, -0.20845256745815277, -0.13315334916114807, -0.3374183177947998, 0.022746525704860687, -0.2616809904575348, 0.6293104290962219, -0.21497058868408203, -0.10658439248800278, -0.6803701519966125, -0.8914111256599426, -0.38419321179389954, 0.589250922203064, -0.463846892118454, 0.6297985911369324, -0.10652052611112595, -0.7833343744277954, 0.7921992540359497, -0.7516851425170898, -0.21065481007099152, 0.17118871212005615, -0.29967454075813293, -0.5889651775360107, 0.5125284194946289, 0.10722608864307404, 0.3465808928012848, -0.4511491060256958, 0.3760887086391449, -0.5866069197654724, -0.5068351030349731, 0.4949558675289154, 0.08611751347780228, 0.871734619140625, -0.0737508237361908, -0.497658908367157, 0.2267850935459137, -0.30619189143180847, -0.06653822213411331, 0.009131099097430706, -0.16858023405075073, -0.43453043699264526, 0.4499073922634125, -0.2499854415655136, 0.4263571500778198, 0.03833432123064995, -0.4400458335876465, 0.1333894431591034, -0.24385017156600952, 0.5159546732902527, 1.0235931873321533, -0.03578299283981323, 0.4761247932910919, -0.5183963775634766, 0.3595750331878662, 0.05136296525597572, 0.4697411060333252, -0.25706714391708374, -0.39957696199417114, -0.6327792406082153, -0.3508474826812744, 0.3479549288749695, 0.5720493793487549, -0.5672452449798584, 0.2465827763080597, 0.1586114466190338, -0.2622828781604767, -0.510153591632843, -0.2299685776233673, 0.600533127784729, 0.2924445569515228, -0.04542870447039604, -0.3330836296081543, 0.029415791854262352, -0.7243446111679077, -0.7777091860771179, -0.6869118809700012, 0.2401869297027588, 0.7425031065940857, 0.39065420627593994, 0.025219019502401352, 0.7956218123435974, -0.004450139123946428, -0.3628685772418976, 0.056010231375694275, 0.1118425577878952, 0.23464615643024445, 0.5077096819877625, 0.5241252183914185, -0.9737619161605835, -0.31065458059310913, 0.27392324805259705, -0.6851959228515625, -0.05503694340586662, -0.11764220148324966, -0.12493211030960083, 0.06952172517776489, 0.49416738748550415, -0.5787253975868225, 0.5216138958930969, 0.6609594821929932, -0.582362174987793, 0.5342071056365967, -0.18987783789634705, 0.6992248892784119, -0.6978212594985962, -0.057100746780633926, 0.17121420800685883, -0.24699582159519196, -0.5363078713417053, 0.300273597240448, 0.08976591378450394, 0.29585978388786316, -0.4906368851661682, 0.5785898566246033, -0.23188349604606628, -0.1914018839597702, -0.12669917941093445, 0.07189405709505081, 0.143644317984581, 0.09032630920410156, 0.007108449935913086, 0.857332170009613, 0.7937926650047302, -0.49595844745635986, 0.31967151165008545, 0.30305659770965576, -0.3413236439228058, 1.0273736715316772, -0.6331781148910522, 0.2581756114959717, -0.10126525908708572, 0.06550505012273788, -0.7038202285766602, -0.14718829095363617, 0.3129371702671051, -0.17513641715049744, 0.0013417877489700913, -0.779691755771637, -0.6646914482116699, -0.12113004177808762, -0.45134806632995605, 0.6148000955581665, 0.32690346240997314, -0.444914311170578, 1.1548899412155151, 0.7914799451828003, -0.09929685294628143, -0.7539170384407043, -0.3713325560092926, 0.23266522586345673, -1.081822156906128, -0.5722697973251343, 0.15586398541927338, 0.024858780205249786, -0.6431276798248291, -0.19678552448749542, -0.2275509238243103, 0.2687913775444031, 0.028126534074544907, 0.2685892581939697, 0.14951381087303162, -0.1673515886068344, 0.04922201484441757, -0.09506961703300476, -0.21905766427516937, 0.2091522067785263, -0.42707058787345886, -0.0013420457253232598, -0.5266491174697876, -0.7718913555145264, 0.11813784390687943, 0.40213701128959656, 0.5925255417823792, -0.6042842268943787, 0.26682931184768677, 0.1431759148836136, -0.294366717338562, 0.0006254604668356478, -0.8479004502296448, 0.18835899233818054, -0.54485023021698, -0.16609206795692444, -0.15681667625904083, -1.060819149017334, 0.8374683856964111, -0.6819236278533936, 0.18350094556808472, 0.10591302812099457, 0.4195583462715149, -0.3325951099395752, 1.0955195426940918, 0.6482449769973755, 0.2730347812175751, 0.12374075502157211, 0.13349087536334991, 0.028778698295354843, -0.7512844800949097, -0.4278770983219147, -0.17168323695659637, -0.3599328100681305, -0.6659395694732666, -0.7987663745880127, 0.4546259641647339, 0.275778591632843, -0.6046338081359863, 0.2202727496623993, -0.5102704167366028, 0.8287168145179749, 0.3326958417892456, 0.1943041831254959, 0.1226588562130928, -0.27274054288864136, -0.3416457772254944, -0.15385702252388, -0.5373325943946838, -0.7254722714424133, 0.7176740169525146, 0.527854859828949, 0.6513314843177795, 0.2819603979587555, 0.9295922517776489, 0.049382533878088, 0.6783929467201233, -0.6750199198722839, 0.5106101036071777, -0.22282028198242188, -0.6345512270927429, -0.19941484928131104, -0.27046284079551697, -0.5714285969734192, 0.5260167717933655, -0.18775369226932526, -0.8682241439819336, 0.39583900570869446, -0.029593661427497864, -0.5386841893196106, 0.4001164138317108, -0.5160157680511475, 0.6994423270225525, -0.6163797974586487, -0.7357767820358276, -0.3822891116142273, -0.7785752415657043, 0.28741738200187683, 0.05165356397628784, 0.5870405435562134, -0.5768173933029175, -0.40748167037963867, 0.6169987320899963, -0.08213916420936584, 0.859859824180603, -0.32319962978363037, -0.25541213154792786, 0.49095144867897034, 0.24184128642082214, 0.4613933265209198, 0.42074596881866455, -0.32402321696281433, 0.2260253131389618, 0.008810577914118767, -0.11251197010278702, -0.11083637177944183, 0.7396001815795898, -0.3267977237701416, -0.752900242805481, -0.7998787760734558, -0.44587236642837524, -0.4317059814929962, 0.10982947051525116, -0.312569797039032, 0.01104412879794836, -0.48918417096138, 0.003349380102008581, 0.9387913346290588, -0.605741024017334, 0.32779115438461304, 0.46510049700737, -0.4301430881023407, -0.6284789443016052, 0.6287985444068909, -0.4226363003253937, 0.11962185800075531, -0.2021951675415039, 0.6320775151252747, -0.4232720136642456, -0.32304251194000244, -0.4081799387931824, 0.46781137585639954, -0.6945069432258606, -0.5608858466148376, -0.3563554883003235, -0.031123271211981773, 0.25667110085487366, -0.37461522221565247, -0.3251335620880127, 0.09801246225833893, -0.041638314723968506, -0.23827114701271057, 0.44672006368637085, 0.900124192237854, -0.19149228930473328, 0.3223627805709839, -0.8404184579849243, 0.18438023328781128, 0.04557046294212341, 0.7453539371490479, -0.5246079564094543, 0.0327080562710762, -0.08512219041585922, 0.08248673379421234, -0.04060681164264679, -0.825413703918457, 0.03313256800174713, 0.001521302736364305, 0.4567844569683075, 0.5223861336708069, -0.24641625583171844, 0.7431892156600952, -0.7029709815979004, 0.5535368919372559, 0.6076273322105408, -1.2362172603607178, 0.22412574291229248, -0.6623001098632812, -0.03926587849855423, 0.667233407497406, -0.14918160438537598, -0.457732617855072, -0.3679015636444092, -0.8418052792549133, -0.663651168346405, 0.7898719906806946, 0.11894986033439636, 0.07753258943557739, 0.17852631211280823, 0.5474487543106079, 0.18186965584754944, 0.4245977997779846, -0.4311865270137787, 0.05001544952392578, -0.034196071326732635, 0.13810040056705475, -0.2255879044532776, -0.23628008365631104, -0.6519935727119446, -0.11308252066373825, 0.2612670361995697, -0.2902805805206299, -0.32945773005485535, -0.04337793216109276, 0.23714382946491241, -0.31189242005348206, 0.04105106368660927, 0.4015824794769287, 0.7094142436981201, 0.01987643726170063, -0.017774702981114388, 0.11254830658435822, -0.017413582652807236, 0.29337647557258606, -0.03635364770889282, 0.2918614149093628, -0.39847511053085327, 0.2741299867630005, 0.33244866132736206, 0.393277108669281, -0.601313054561615, 0.8646835684776306, -0.18639235198497772, -0.475646436214447, 0.006671795155853033, -0.04471943899989128, 0.3428025543689728, 0.7198841571807861, 0.16875946521759033, 0.08346429467201233, 0.1350533664226532, -0.3423830568790436, 0.4950222969055176, 0.5251926183700562, -0.14417652785778046, 0.26757800579071045, 0.6731755137443542, 0.2354145646095276, -0.24004556238651276, 0.42770102620124817, 0.32669466733932495, -0.535152018070221, 0.8400565981864929, 0.06783542037010193, 0.7543122172355652, -0.2973879277706146, 0.5436825752258301, 0.20194865763187408, 0.37292051315307617, -0.2609608769416809, 0.29506027698516846, 0.3140239417552948, -0.7689418792724609, -1.0375176668167114, -0.37021002173423767, -0.5973735451698303, -0.1521795690059662, -0.6602082252502441, 0.13922235369682312, -0.5532830953598022, -0.38770347833633423, -0.07047612220048904, -0.04582580551505089, -0.6068629622459412, 0.11138861626386642, 0.002381417201831937, 0.7879803776741028, -0.7845258712768555, 0.3922277092933655, 0.5844020247459412, -0.19255775213241577, -0.5163469910621643, 0.13144737482070923, 0.04288678988814354, -0.9106631278991699, 0.4290248453617096, 0.2663717269897461, -0.24369895458221436, -0.26392698287963867, -0.8751994967460632, -0.6472610235214233, 0.9071477055549622, 0.8784074783325195, -0.4065002202987671, 0.14370745420455933, 0.11651289463043213, 0.2507816255092621, -0.5423976182937622, -0.06057260185480118, 0.6209093332290649, 0.8509718775749207, 0.26914888620376587, -0.8039233088493347, -0.1474931687116623, 0.1779899150133133, -0.33276990056037903, 0.19105850160121918, -0.5843150615692139, 0.7273555397987366, -0.575171709060669, -0.02926480770111084, -0.19645966589450836, 0.33893078565597534, 0.8261542320251465, 0.416339248418808, 0.7989140152931213, 0.46760210394859314, 0.6241517663002014, -0.22840721905231476, 0.89846271276474, -0.14300008118152618, 0.2587253451347351, 0.6711944937705994, -0.6241692304611206, 0.365764319896698, 0.5916848182678223, 0.09131761640310287, 0.3834989368915558, 0.6994280815124512, 0.24035273492336273, 0.4056245982646942, 0.3354969322681427, -0.30945608019828796, -0.6513347029685974, -0.21442432701587677, -0.13841940462589264, 0.7930342555046082, 0.6625512838363647, -0.11731907725334167, -0.2040042281150818, -0.3296445608139038, -0.16978028416633606, 0.13808611035346985, -0.3402917683124542, 1.041481852531433, 0.30168023705482483, -0.47131842374801636, -0.17394351959228516, 0.06907831132411957, 0.3334055244922638, -0.4555511474609375, -0.5389900207519531, 0.08027908951044083, 0.21837474405765533, -0.09828246384859085, -1.1013104915618896, 0.09778733551502228, -0.01725461520254612, 0.2750031054019928, -0.6630551218986511, 0.7552101016044617, -0.4400191605091095, -0.39145272970199585, 0.4393402338027954, 0.6748148202896118, 0.07509052753448486, 0.028258882462978363, -1.2906204462051392, 0.37705209851264954, -0.3727307915687561, -0.23253300786018372, 0.32636919617652893, 0.7639652490615845, -0.032980777323246, 0.5638411641120911, 0.6027730107307434, 0.14431336522102356, -0.378692626953125, 0.08306080847978592, 0.7774261236190796, -0.5113078951835632, -0.4919165074825287, -1.1166568994522095, 0.7350252866744995, -0.4014275074005127, 0.02707638218998909, 0.6705966591835022, 0.6430408358573914, 0.5318570137023926, 0.31666335463523865, 0.8151562809944153, 0.004965874366462231, 0.08533868193626404, -0.6270924806594849, 0.5614861249923706, -0.5267689228057861, 0.09141641855239868, -0.3684883713722229, -0.6097185611724854, -0.23971769213676453, 0.953032374382019, -0.0992819294333458, 0.19209185242652893, 0.46488863229751587, 0.38922587037086487, -0.043645504862070084, 0.020733783021569252, 0.3699357211589813, -0.26336759328842163, 0.4383058547973633, 0.4898200035095215, 0.9818029403686523, -0.1481681764125824, 0.0704740434885025, 0.15987059473991394, -0.3903105556964874, 0.006480205804109573, -1.663615107536316, -0.8955405950546265, -0.5106275677680969, -0.38410520553588867, -0.5543646812438965, -0.049730829894542694, 0.7589580416679382, 0.662951648235321, -0.6089475154876709, -0.5587142705917358, -0.04576030373573303, 0.2994188666343689, -0.49986958503723145, -0.108906090259552, 0.3001546561717987, -0.053874511271715164, -0.3904249966144562, 0.24799540638923645, 0.6791268587112427, -0.21789900958538055, -0.01488979160785675, -0.31895333528518677, -0.1794508397579193, 0.5246222019195557, 0.5863100290298462, -0.09021711349487305, -0.8677860498428345, -0.5915853977203369, -0.23941101133823395, 0.044107433408498764, 0.08563622832298279, 1.3589532375335693, -0.521701991558075, 0.3416861295700073, -0.08059021830558777, 0.6387941837310791, 0.3424462676048279, 0.3723050653934479, 0.7652007341384888, -0.30910682678222656, -0.07673253864049911, 0.38942039012908936, 0.37004703283309937, 0.3202204406261444, -0.35254842042922974, 0.5790562629699707, -0.18538013100624084, -0.6084275245666504, -0.6726161241531372, 0.44632574915885925, -0.7337881922721863, -0.3947286307811737, 1.4023113250732422, -0.3151514530181885, 0.0000676447234582156, -0.06641668826341629, -0.4255285859107971, 0.06320992112159729, -0.2721831798553467, 0.544839084148407, 0.9207055568695068, -0.17546802759170532, -0.36771783232688904, -0.40715640783309937, 0.7325496077537537, 0.09535996615886688, -0.8578479886054993, 0.593080997467041, 0.6752147078514099, 0.34543099999427795, 0.07203009724617004, 0.7472409605979919, -0.24903622269630432, 0.17238962650299072, -0.2836040258407593, -0.15813465416431427, 0.02298559993505478, -0.2649105191230774, -0.29843536019325256, 0.05808369815349579, 0.0325888991355896, 0.09773530066013336 ]
http://arxiv.org/abs/2405.12929v1
http://arxiv.org/pdf/2405.12929v1
Code-mixed Sentiment and Hate-speech Prediction
2024-05-21T16:56:36
2024-05-21T16:56:36
Anjali Yadav, Tanya Garg, Matej Klemen, Matej Ulcar, Basant Agarwal, Marko Robnik Sikonja
cs.CL
cs.CL
Code-mixed discourse combines multiple languages in a single text. It is commonly used in informal discourse in countries with several official languages, but also in many other countries in combination with English or neighboring languages. As recently large language models have dominated most natural language processing tasks, we investigated their performance in code-mixed settings for relevant tasks. We first created four new bilingual pre-trained masked language models for English-Hindi and English-Slovene languages, specifically aimed to support informal language. Then we performed an evaluation of monolingual, bilingual, few-lingual, and massively multilingual models on several languages, using two tasks that frequently contain code-mixed text, in particular, sentiment analysis and offensive language detection in social media texts. The results show that the most successful classifiers are fine-tuned bilingual models and multilingual models, specialized for social media texts, followed by non-specialized massively multilingual and monolingual models, while huge generative models are not competitive. For our affective problems, the models mostly perform slightly better on code-mixed data compared to non-code-mixed data.
[ -0.44792377948760986, -0.8007773160934448, 0.09653288125991821, 0.4858950674533844, -0.31570762395858765, 0.5929712057113647, -0.3887312412261963, -0.8161229491233826, 0.2688072919845581, 0.3902616798877716, -0.30173560976982117, -0.532801628112793, -0.7388603687286377, 0.21385513246059418, -0.40789639949798584, 1.3740606307983398, 0.19294260442256927, 0.5316751599311829, 0.026739519089460373, -0.19544638693332672, -0.2648251950740814, -1.017256498336792, -0.3119470477104187, -0.3447842299938202, 0.5587504506111145, 0.18213903903961182, 1.0321849584579468, 0.14529456198215485, 0.5399301648139954, 0.285602867603302, -0.0933322086930275, -0.031168092042207718, -0.459734171628952, 0.06989838927984238, -0.03937005624175072, -0.40770280361175537, -0.42603954672813416, -0.1108199879527092, 0.13425379991531372, 0.5280151963233948, 0.06393052637577057, -0.06127959489822388, 0.06495947390794754, 0.3142850995063782, -0.5719300508499146, 0.22803011536598206, -0.6535282135009766, 0.23075687885284424, -0.20601993799209595, -0.10020019859075546, -0.3981921970844269, -0.5506294369697571, -0.10710645467042923, -0.1960485279560089, -0.09765826165676117, -0.06805438548326492, 0.5179083943367004, 0.0420774444937706, -0.46255525946617126, -0.5689107179641724, -0.7071123123168945, 0.8943984508514404, -0.7784880995750427, 0.22415296733379364, 0.5660331845283508, -0.07209163159132004, 0.25896766781806946, -0.21420753002166748, -0.5840674042701721, -0.15001769363880157, -0.22863677144050598, 0.2695253789424896, -0.31751957535743713, 0.2716675400733948, 0.1997741311788559, 0.305345743894577, -0.649681806564331, 0.36811399459838867, -0.5613609552383423, -0.22236871719360352, 0.7259854078292847, 0.16105809807777405, 0.45788487792015076, -0.3820195496082306, -0.17906004190444946, 0.40435856580734253, -0.43756499886512756, -0.0563034787774086, 0.6934624314308167, 0.5053668022155762, -0.38631004095077515, 0.6658264994621277, -0.12402831763029099, 0.8463679552078247, -0.2547034025192261, -0.3300509452819824, 0.390983521938324, -0.2944149374961853, -0.23844008147716522, -0.10421762615442276, 0.9356544613838196, 0.36894309520721436, 0.719375729560852, -0.0825498029589653, -0.34636759757995605, 0.6645695567131042, 0.16481201350688934, -0.7249718308448792, -0.1567632257938385, 0.1720339059829712, -0.47145599126815796, -0.5252556204795837, -0.38769516348838806, -1.1414785385131836, -0.45020392537117004, -0.4039384722709656, 0.021465642377734184, -0.3644459843635559, -0.3907822072505951, 0.18373320996761322, 0.0835384652018547, 0.060043707489967346, 0.15471775829792023, -0.6324991583824158, 0.30721718072891235, 0.49814537167549133, 0.8227993845939636, -0.4219634234905243, -0.17366738617420197, -0.24935242533683777, -0.40667229890823364, -0.2900097370147705, 0.6354063749313354, -0.9523612856864929, -0.4004865884780884, 0.3731187880039215, -0.28191155195236206, -0.11353571712970734, -0.45147499442100525, 0.6126803159713745, -0.6862711906433105, 0.225059375166893, 0.08721864223480225, -0.17120780050754547, -0.07664354145526886, 0.2949465215206146, -0.569786548614502, 1.0752558708190918, 0.07011298090219498, -1.0410093069076538, 0.25926679372787476, -0.44616401195526123, -0.7044177055358887, 0.029152818024158478, -0.06929771602153778, -0.4133434593677521, 0.04911456257104874, -0.10124991834163666, 0.5638455748558044, -0.06989551335573196, 0.4480859041213989, -0.3772847056388855, -0.4838871955871582, 0.38160282373428345, -0.19391128420829773, 0.8054558038711548, 0.5313159227371216, -0.39176759123802185, 0.11737717688083649, -0.8064296245574951, 0.025153009220957756, 0.06125444173812866, -0.2574627995491028, -0.4533988833427429, 0.13529762625694275, 0.45718106627464294, 0.6153837442398071, 0.06825786828994751, -0.6003258228302002, -0.07480029761791229, -0.4647005498409271, 0.34297975897789, 0.5764617919921875, -0.19399626553058624, 0.3210470974445343, -0.12280473858118057, 0.9864044785499573, 0.34973272681236267, -0.06560223549604416, -0.025143543258309364, -0.7250614762306213, -0.6566475033760071, -0.09186282753944397, 0.024675805121660233, 0.764460027217865, -0.963950514793396, 0.05241238325834274, -0.0075200083665549755, -0.4448655843734741, -0.4461676776409149, -0.11205394566059113, 0.9019573926925659, -0.09928849339485168, 0.3756069540977478, -0.31733953952789307, -0.9054588079452515, -0.8378410935401917, -0.4419662058353424, -0.17024274170398712, 0.3292103111743927, 0.22857896983623505, 0.39597445726394653, -0.36881354451179504, 0.6784636378288269, -0.4574861228466034, 0.13504409790039062, -0.3391076922416687, 0.4266989529132843, 0.10675839334726334, 0.2572701573371887, 0.4855322241783142, -0.9396268725395203, -0.8165739178657532, 0.02790019102394581, -0.47154784202575684, -0.09141477942466736, 0.23724745213985443, 0.2972932755947113, 0.5177483558654785, 0.2319391667842865, -0.050781067460775375, 0.4144519865512848, 1.0714572668075562, -0.24294540286064148, 0.6713831424713135, 0.24196036159992218, 0.40505924820899963, -1.0832284688949585, -0.2963230609893799, 0.20407287776470184, -0.18593187630176544, -1.001797080039978, 0.06889183074235916, -0.04281165078282356, -0.29713889956474304, -0.5954214930534363, 0.21127524971961975, -0.34223470091819763, -0.004712908063083887, -0.21395233273506165, -0.1539505273103714, -0.28134968876838684, 0.6414066553115845, 0.28108373284339905, 0.8089209794998169, 0.6010794043540955, -0.4019278287887573, 0.10467220842838287, -0.06450407952070236, -0.48885679244995117, 0.260140061378479, -0.5074440836906433, 0.3401723802089691, -0.20943109691143036, -0.014815492555499077, -1.056646704673767, -0.3248961567878723, 0.15068259835243225, -0.5051337480545044, 0.2739783525466919, -0.2792004644870758, -0.4566003382205963, -0.34325969219207764, -0.1387435644865036, 0.7702680826187134, 0.39411890506744385, -0.24461066722869873, 0.30969274044036865, 0.653485894203186, -0.3224160671234131, -0.594779372215271, -1.0929380655288696, 0.13120250403881073, -0.16102351248264313, -0.4993245303630829, 0.05383238196372986, -0.23605172336101532, -0.45950037240982056, -0.22139900922775269, 0.30588260293006897, -0.5886414051055908, -0.05259513482451439, 0.4701337218284607, 0.41437801718711853, -0.12637032568454742, -0.08602973073720932, -0.09089621156454086, 0.17601263523101807, 0.062050942331552505, 0.03645700588822365, 0.7756224274635315, -0.1690046191215515, -0.1412772685289383, 0.2602590322494507, 0.6284685730934143, 0.4764309525489807, -0.370816707611084, 0.819389283657074, 0.5302817225456238, -0.3433053195476532, -0.14950546622276306, -0.42149287462234497, 0.2616228461265564, -0.40705588459968567, 0.3896723687648773, -0.24566440284252167, -1.2431796789169312, 0.6953920722007751, 0.46190643310546875, -0.22631248831748962, 0.03641346096992493, 0.8084942102432251, 0.3112901747226715, 1.3439995050430298, 0.5654558539390564, -0.5245658755302429, 0.40893521904945374, 0.25484636425971985, 0.6565554738044739, -0.061167337000370026, -0.1190730407834053, -0.8134607672691345, 0.09185962378978729, -1.0530952215194702, -0.6253417730331421, 0.2909097969532013, -0.15773476660251617, -0.05634142458438873, 0.37907031178474426, -0.49258971214294434, 0.4540446698665619, 0.19432683289051056, -0.013300023972988129, 0.35155776143074036, 0.14242208003997803, -0.10944619029760361, -0.309145450592041, -0.637735903263092, -0.42733100056648254, 0.9933587312698364, 0.314028263092041, 0.7934911251068115, -0.14392390847206116, 0.7291327118873596, 0.29425132274627686, 0.37217822670936584, -0.8254954814910889, 0.38515645265579224, -0.26731839776039124, -0.8000354766845703, 0.2529047727584839, -0.4934564232826233, -0.5686559677124023, 0.23849204182624817, -0.18421153724193573, -0.6048657894134521, 0.04922987148165703, 0.07106932997703552, -0.1894644796848297, 0.2791522145271301, -0.8174331188201904, 0.644325315952301, -0.1062050461769104, -0.22921422123908997, -0.17325295507907867, -0.5556790828704834, 0.6813188195228577, -0.25428926944732666, 0.9662399291992188, 0.0380462221801281, 0.008868916891515255, 0.6908584833145142, 0.041392501443624496, 1.017796516418457, 0.05175892636179924, -0.18236586451530457, 0.2637826204299927, 0.08540762215852737, 0.3528914749622345, -0.1131964921951294, -0.28830334544181824, 0.5574413537979126, -0.20322589576244354, -0.34150242805480957, -0.1625910997390747, 0.5688229203224182, -0.8430646657943726, -0.18680451810359955, -0.4283865988254547, -0.41827720403671265, -0.22894060611724854, 0.1835024505853653, 0.4631902575492859, 0.4356997311115265, -0.25110238790512085, -0.09225961565971375, 0.6337947845458984, -0.500187873840332, 0.43662121891975403, 0.5430210828781128, -0.44894465804100037, -0.3765023350715637, 1.0051357746124268, 0.11605700105428696, 0.3925962746143341, 0.11913131922483444, -0.05076616629958153, 0.17937342822551727, -0.5310583710670471, -0.28028184175491333, -0.11806339770555496, -0.6617917418479919, -0.3340558409690857, -1.0578124523162842, -0.31618866324424744, -0.3508317470550537, -0.3482154607772827, -0.40172669291496277, -0.217144176363945, -0.026251763105392456, -0.08094954490661621, 0.05121895670890808, 0.8905068635940552, 0.1444483995437622, 0.09583678841590881, -0.6434018611907959, 0.4873273968696594, -0.017478490248322487, 0.604944109916687, -0.2599778473377228, -0.403406023979187, -0.34248897433280945, 0.2665422558784485, -0.04747682437300682, -1.1270372867584229, 0.622393012046814, 0.04240765422582626, 0.0804964005947113, 0.18197385966777802, -0.0258161723613739, 0.4989606738090515, -0.4571201503276825, 0.9245256185531616, 0.31647753715515137, -0.8920332789421082, 0.3179927170276642, -0.6032472252845764, 0.1514570564031601, 0.35482391715049744, 0.6319989562034607, -0.6286917924880981, -0.893258273601532, -0.29773882031440735, -0.744808554649353, 0.7716403603553772, 0.18516211211681366, 0.372935950756073, -0.46375948190689087, -0.22170943021774292, 0.14481772482395172, 0.2783881723880768, -1.4679239988327026, -0.5016902089118958, -0.32339373230934143, -0.11620324850082397, -0.06889864802360535, -0.5900974869728088, 0.07474806904792786, -0.37734556198120117, 0.41942480206489563, -0.05437437817454338, 0.3673049807548523, -0.1772625744342804, -0.1232878714799881, -0.3380897343158722, 0.577698290348053, 0.5958723425865173, 0.500381350517273, -0.11907351762056351, 0.11789414286613464, -0.023937851190567017, -0.39882513880729675, 0.10278716683387756, 0.0039024045690894127, -0.1928619146347046, 0.16093452274799347, 0.37149980664253235, 0.8507195115089417, 0.5747195482254028, -0.7424017786979675, 0.469513475894928, -0.025474952533841133, -0.17875686287879944, -0.2805521786212921, -0.11655477434396744, 0.057330287992954254, -0.04907257854938507, 0.09000290185213089, 0.37070849537849426, 0.28967535495758057, -0.7474996447563171, 0.06509722024202347, 0.36967217922210693, -0.4181877076625824, -0.3462368845939636, 0.34571948647499084, 0.0847535952925682, -0.41915807127952576, 0.043773103505373, -0.44467467069625854, -1.1123440265655518, 0.5966238379478455, 0.6707819104194641, 0.7799105048179626, -0.3001173436641693, 0.4442959427833557, 0.4674417972564697, 0.33895009756088257, 0.04174896329641342, 0.4300934076309204, 0.09533470124006271, -0.9339126944541931, -0.4672203063964844, -0.8587256669998169, -0.2989904284477234, -0.06376513093709946, -0.7977837920188904, 0.2952065169811249, -0.2877045273780823, -0.014248563908040524, 0.06072276830673218, -0.03272492438554764, -0.7521253824234009, 0.3365180194377899, 0.4184000492095947, 0.4856707453727722, -1.0894999504089355, 0.8969246745109558, 0.7551606893539429, -0.3494639992713928, -0.8390470147132874, -0.11174879968166351, 0.043796032667160034, -0.8649483919143677, 0.5925642848014832, 0.2499576359987259, -0.15291017293930054, -0.0928773581981659, -0.5031945705413818, -0.7001994848251343, 0.27186065912246704, 0.015473722480237484, -0.49246037006378174, 0.19279974699020386, 0.4519854187965393, 0.9439951777458191, -0.410416841506958, 0.3899442255496979, 0.5246860980987549, 0.2638244926929474, -0.05606261268258095, -0.9997156858444214, -0.3558655083179474, -0.5253519415855408, -0.13091924786567688, 0.32608479261398315, -0.440637469291687, 0.890496015548706, 0.05524013191461563, -0.17056919634342194, -0.3442205488681793, 0.3717988133430481, 0.020686622709035873, 0.44892606139183044, 0.3605199158191681, 0.41733989119529724, 0.3256305456161499, -0.04134535416960716, 1.111068844795227, -0.44193175435066223, 0.2540779411792755, 1.0007927417755127, -0.31197094917297363, 0.7389514446258545, 0.09333546459674835, -0.2916826605796814, 0.6257513165473938, 0.44333940744400024, 0.22713349759578705, 0.32096001505851746, 0.17504535615444183, -0.23839640617370605, 0.07204260677099228, -0.24187126755714417, -0.3366495966911316, 0.6728833913803101, 0.23473075032234192, -0.3448426425457001, -0.02788415551185608, 0.1976643204689026, 0.2570329010486603, 0.2531946897506714, -0.4057069420814514, 0.8900443911552429, 0.0335293672978878, -0.9641081094741821, 0.6061933040618896, 0.2578487694263458, 1.2546504735946655, -0.3972025215625763, 0.10451769083738327, -0.3301786184310913, -0.207118958234787, -0.5094884037971497, -0.7704583406448364, 0.6017956137657166, 0.5613254308700562, -0.27150610089302063, -0.2874220311641693, 0.8565981984138489, -0.7515431642532349, -0.614619791507721, 0.754501461982727, 0.28062763810157776, 0.03533105552196503, -0.013849637471139431, -0.734276533126831, 0.26137301325798035, 0.14155414700508118, -0.22628462314605713, 0.5799503922462463, 0.31542086601257324, 0.05173391476273537, 0.45224717259407043, 0.46356502175331116, 0.2138773500919342, 0.44111087918281555, 0.3190723657608032, 1.0735085010528564, -0.5799092650413513, -0.5712970495223999, -0.8375539183616638, 0.5679597854614258, 0.002512349747121334, -0.3096398711204529, 0.8443986773490906, 0.6713603734970093, 1.017235279083252, -0.07248370349407196, 0.9554796814918518, -0.06694849580526352, 0.47790664434432983, -0.43537023663520813, 0.4014301896095276, -0.41122737526893616, 0.03785246983170509, -0.7987250089645386, -0.7964935898780823, -0.29546448588371277, 0.5210611820220947, -0.4327271282672882, 0.16208329796791077, 0.622472882270813, 0.9032360911369324, 0.006662525236606598, 0.2131374478340149, 0.48900124430656433, 0.1331861913204193, 0.1275169849395752, 0.5049421191215515, 0.8629317283630371, -0.2108355015516281, 0.4714622497558594, -0.4612135589122772, -0.20552274584770203, -0.022973397746682167, -0.699515700340271, -0.9664130806922913, -0.396764874458313, -0.20531952381134033, -0.5003645420074463, -0.024864861741662025, 0.8238924741744995, 0.6062578558921814, -0.9913367629051208, -0.32939237356185913, -0.00650659017264843, 0.15802517533302307, 0.27130767703056335, -0.3198637068271637, -0.26880866289138794, -0.39556884765625, -0.80778568983078, 0.23100236058235168, 0.47736620903015137, -0.28112098574638367, -0.1489788442850113, -0.08904507011175156, -0.2922106385231018, 0.27769163250923157, 0.7381117343902588, 0.02928301878273487, -0.6102335453033447, -0.10601862519979477, -0.028560437262058258, -0.5062291622161865, 0.06045755743980408, 1.115669846534729, -0.4407395124435425, 0.582481861114502, 0.2924664318561554, 0.3732682466506958, 0.28789055347442627, -0.04403027892112732, 0.44714075326919556, -0.76973956823349, 0.5740931630134583, 0.6204344034194946, 0.3809232711791992, 0.30446216464042664, -0.3733043968677521, 0.380901038646698, 0.13055217266082764, -0.47864654660224915, -0.8939325213432312, 0.3279321789741516, -0.7743327021598816, -0.37782734632492065, 1.395869493484497, -0.2030549943447113, 0.1467313915491104, -0.47679266333580017, -0.14927151799201965, 0.2568109631538391, -0.31048935651779175, 0.5798568725585938, 0.8226003646850586, 0.20523715019226074, -0.11264733225107193, -0.5493646860122681, 0.5620450973510742, 0.48725438117980957, -0.7119901180267334, -0.08263818174600601, 0.7181225419044495, 0.015058848075568676, 0.13482709228992462, 0.8337449431419373, -0.14364482462406158, 0.19193905591964722, -0.05684344097971916, 0.16578543186187744, 0.15552237629890442, -0.2976728677749634, -0.5844690799713135, 0.30149728059768677, 0.07714854925870895, 0.2711346745491028 ]
http://arxiv.org/abs/2405.12915v1
http://arxiv.org/pdf/2405.12915v1
G-DIG: Towards Gradient-based DIverse and hiGh-quality Instruction Data Selection for Machine Translation
2024-05-21T16:38:13
2024-05-21T16:38:13
Xingyuan Pan, Luyang Huang, Liyan Kang, Zhicheng Liu, Yu Lu, Shanbo Cheng
cs.CL
cs.CL
Large Language Models (LLMs) have demonstrated remarkable abilities in general scenarios. Instruction finetuning empowers them to align with humans in various tasks. Nevertheless, the Diversity and Quality of the instruction data remain two main challenges for instruction finetuning. With regard to this, in this paper, we propose a novel gradient-based method to automatically select high-quality and diverse instruction finetuning data for machine translation. Our key innovation centers around analyzing how individual training examples influence the model during training. Specifically, we select training examples that exert beneficial influences on the model as high-quality ones by means of Influence Function plus a small high-quality seed dataset. Moreover, to enhance the diversity of the training data we maximize the variety of influences they have on the model by clustering on their gradients and resampling. Extensive experiments on WMT22 and FLORES translation tasks demonstrate the superiority of our methods, and in-depth analysis further validates their effectiveness and generalization.
[ -0.42185500264167786, -0.7794298529624939, 0.15513835847377777, 0.19895391166210175, -0.26516392827033997, 0.14016938209533691, -0.46031245589256287, 0.028086569160223007, 0.034420501440763474, 0.38127848505973816, -0.6138147115707397, -1.007124423980713, -0.9304830431938171, -0.01644962653517723, -0.5069236159324646, 1.0477572679519653, -0.08476617187261581, 0.6431484818458557, 0.189663827419281, -0.24024614691734314, -0.3482968509197235, -0.10454462468624115, -0.37456926703453064, -0.19481419026851654, 0.21376286447048187, 0.5158545970916748, 0.5351049900054932, 0.9410015344619751, 0.6906301975250244, 0.2518686056137085, -0.09927485883235931, 0.5113272070884705, -0.7950785160064697, 0.22544249892234802, -0.1619032621383667, -0.5543297529220581, -0.2592509090900421, -0.017460566014051437, 0.7129212617874146, 0.7101491093635559, -0.13575708866119385, 0.21770335733890533, 0.25840485095977783, 0.6192799806594849, -0.4491480588912964, -0.1979215294122696, -0.7108372449874878, 0.2880103886127472, -0.058843646198511124, 0.026841064915060997, -0.29404598474502563, -0.6558390259742737, -0.0486682653427124, -0.4922133684158325, 0.5795432925224304, -0.1406337469816208, 0.6390683054924011, 0.4224218428134918, -0.38320624828338623, -0.32840174436569214, -0.6288418173789978, 1.0244656801223755, -0.5092664361000061, 0.5106931328773499, 0.30571842193603516, 0.4982144236564636, -0.06772251427173615, -0.5426691174507141, -0.2654799818992615, -0.03973790258169174, 0.174217090010643, 0.08279053866863251, 0.2805156707763672, -0.021002821624279022, 0.07511313259601593, 0.8519338965415955, -0.38482773303985596, 0.42878150939941406, -0.2043650597333908, -0.11457248032093048, 0.3786262273788452, 0.22292572259902954, 0.4187925457954407, 0.2588725984096527, -0.2152848094701767, -0.2597307860851288, -0.7045701146125793, 0.03676300495862961, 0.4942401945590973, 0.3689909279346466, -0.2125653326511383, 0.5543456673622131, -0.38927462697029114, 0.7396247386932373, 0.10860532522201538, -0.02298196777701378, 0.450156033039093, -0.3181430697441101, -0.2782670557498932, -0.40324169397354126, 0.8370671272277832, 0.29244574904441833, 0.21657182276248932, -0.25838711857795715, -0.35650911927223206, -0.25526759028434753, -0.011081243865191936, -0.9489548802375793, -0.030740154907107353, 0.016229800879955292, -0.4220086932182312, -0.13903726637363434, 0.17708541452884674, -1.1169778108596802, -0.325513631105423, -0.5502158403396606, 0.05061754584312439, -0.22568871080875397, 0.31423380970954895, 0.1512930542230606, 0.037945620715618134, 0.043358348309993744, 0.3408381938934326, -1.1582108736038208, 0.12288884818553925, 0.5306198596954346, 0.6908782124519348, -0.3965905010700226, -0.3735005855560303, -0.9401503205299377, -0.08625072985887527, -0.19845440983772278, 0.31744813919067383, -0.811897337436676, -0.5017128586769104, 0.1574903428554535, 0.018959397450089455, -0.09964011609554291, -0.5848346948623657, 0.6478994488716125, -0.4327270984649658, 0.3447780907154083, -0.19696108996868134, -0.5383495092391968, -0.14285066723823547, 0.149990975856781, -0.5623990297317505, 0.9482548832893372, 0.466004878282547, -0.6001675724983215, 0.33618858456611633, -0.21605996787548065, -0.6393207311630249, -0.06853606551885605, -0.39350956678390503, -0.3637964725494385, 0.09021122753620148, 0.6258866190910339, 0.6358251571655273, -0.5136584043502808, 0.2970070540904999, -0.040660031139850616, -0.33188170194625854, -0.1470881700515747, -0.3876754343509674, 0.6613307595252991, 0.1023993194103241, -0.4189421236515045, 0.1581629365682602, -0.7379899621009827, -0.06384655833244324, -0.03680816665291786, -0.6653298139572144, -0.22792410850524902, -0.2512277364730835, -0.3282022178173065, 0.30855560302734375, 0.06506814807653427, -0.3840104043483734, 0.5917844176292419, -0.18227873742580414, 0.17781272530555725, 0.6434831023216248, 0.11209093779325485, 0.7262447476387024, -0.129817932844162, 0.889281690120697, -0.11228734254837036, 0.11191172152757645, 0.03508536517620087, -0.5081816911697388, -0.7371804118156433, -0.43885982036590576, 0.5208489894866943, 0.8067691326141357, -0.7475979328155518, 0.3870628774166107, -0.47587284445762634, -0.30149346590042114, -1.129014253616333, 0.47691717743873596, 0.43654632568359375, 0.45965802669525146, 0.7769768238067627, -0.13332851231098175, -0.25523605942726135, -0.690639078617096, -0.0370846726000309, 0.6828199625015259, -0.20898866653442383, 0.470345675945282, 0.22202782332897186, -0.6103387475013733, 0.5679426193237305, -0.6299686431884766, -0.4191635251045227, -0.19695492088794708, 0.10691669583320618, 0.34438496828079224, 0.5772437453269958, 0.5862523317337036, -0.43225622177124023, -0.6561446785926819, 0.24254107475280762, -0.5159879326820374, -0.0837010070681572, -0.2492968738079071, -0.6123840808868408, -0.328687459230423, 0.5159328579902649, -0.3854070007801056, 0.012115122750401497, 0.6671566367149353, 0.055096935480833054, 0.21519653499126434, -0.21041500568389893, 0.32507142424583435, -0.988364577293396, -0.1077076718211174, 0.25966209173202515, 0.03264564648270607, -0.5037760138511658, 0.09881673753261566, 0.0986633151769638, 0.17806392908096313, -0.375946968793869, 0.4504520893096924, -0.43822282552719116, 0.05630826577544212, 0.15489761531352997, -0.054131463170051575, -0.1211414560675621, 0.47044727206230164, -0.2891523540019989, 0.7856349945068359, 0.6150761246681213, -0.6892209053039551, 0.2703339159488678, 0.43966570496559143, -0.6290200352668762, 0.2668778896331787, -0.4856501817703247, 0.15432557463645935, -0.14227412641048431, 0.0014834334142506123, -0.8765127062797546, -0.12695324420928955, 0.39226073026657104, -0.17364190518856049, 0.5942776203155518, -0.5319075584411621, -0.29753947257995605, -0.18680298328399658, -0.1656551957130432, 0.15212281048297882, 0.603967547416687, -0.6354994773864746, 0.28934842348098755, 0.2618907690048218, -0.3568626940250397, -0.7486790418624878, -0.541835367679596, -0.06392539292573929, -0.19042882323265076, -0.3631076514720917, 0.317306250333786, -0.09227149188518524, 0.007756659295409918, -0.31620919704437256, 0.04362238198518753, -0.12059131264686584, 0.10266806930303574, -0.048174839466810226, 0.23018229007720947, -0.16086958348751068, -0.14894923567771912, 0.6238561868667603, 0.031367093324661255, -0.1990623027086258, -0.5444563031196594, 0.5774554014205933, 0.23116075992584229, -0.3130737245082855, -0.33222997188568115, 0.28987255692481995, 0.519578754901886, -0.6333808302879333, 0.47785815596580505, 0.9691601395606995, -0.022732434794306755, -0.8169251084327698, -0.1895926594734192, -0.17412030696868896, -0.4399398863315582, 0.6676394939422607, -0.0857829824090004, -0.9756416082382202, 0.3653820753097534, -0.04816508665680885, 0.22044147551059723, 0.3394269049167633, 0.6795105934143066, -0.003356372006237507, 1.0056087970733643, 0.27551504969596863, -0.48692619800567627, 0.7509204149246216, -0.6664459109306335, -0.15418517589569092, -0.9465941786766052, -0.03178013116121292, -0.6353183388710022, -0.5908755660057068, -0.500313937664032, -0.6569547057151794, 0.07560541480779648, 0.07196164131164551, -0.15583182871341705, -0.042466770857572556, -0.5193568468093872, 0.36281266808509827, 0.646895170211792, 0.03852132707834244, 0.057047344744205475, 0.40945932269096375, -0.29582810401916504, -0.011023836210370064, -0.46848103404045105, -0.3375532329082489, 1.2432397603988647, 0.3016839921474457, 0.9844532012939453, 0.03864561393857002, 0.6755370497703552, 0.27757471799850464, 0.3461848795413971, -0.7025328278541565, 0.467267245054245, -0.6795568466186523, -0.2581080496311188, -0.4039052426815033, -0.7099958658218384, -1.0778870582580566, 0.39361968636512756, -0.18252550065517426, -0.34889113903045654, -0.042201749980449677, 0.10136308521032333, -0.24264591932296753, 0.14443080127239227, -0.46289995312690735, 0.5846519470214844, -0.25452154874801636, -0.2570842504501343, -0.1404971182346344, -0.6863729953765869, 0.27047035098075867, 0.06222335249185562, 0.14848113059997559, -0.0311714019626379, 0.18792492151260376, 0.4621357321739197, -0.005304547026753426, 0.7684183716773987, -0.3416183888912201, -0.3834272027015686, 0.19005826115608215, 0.2356071025133133, 0.6850164532661438, -0.10430920869112015, -0.0834842100739479, 0.08534367382526398, -0.7276790738105774, -0.1421033889055252, -0.5782893896102905, 0.717671811580658, -0.7749177813529968, -0.4956170618534088, 0.4161849319934845, -0.5237584710121155, -0.36740195751190186, 0.27080237865448, 0.4819004535675049, 0.3712819516658783, -0.12804673612117767, 0.4310794770717621, 0.7174042463302612, -0.2423105239868164, 0.1750068962574005, 0.19574986398220062, -0.11514358967542648, -0.6374961137771606, 1.2896003723144531, 0.16174465417861938, 0.4447843134403229, 0.5668082237243652, 0.14617040753364563, -0.13780833780765533, -1.0556660890579224, -0.8295542001724243, 0.1463100016117096, -0.8732817769050598, -0.14511726796627045, -0.6618397831916809, -0.05613187700510025, -0.12981051206588745, -0.07381944358348846, -0.24785585701465607, -0.3323998749256134, -0.4892336428165436, -0.13200743496418, -0.07435908913612366, 0.5676265358924866, 0.31215742230415344, 0.35934531688690186, -0.9959508180618286, 0.4560372531414032, 0.4614431858062744, 0.32005614042282104, -0.14060132205486298, -0.7105386257171631, -0.5207478404045105, 0.3215268850326538, -0.33859267830848694, -0.5339668989181519, 0.40979230403900146, 0.3845914602279663, 0.9046574234962463, 0.43137693405151367, -0.3193380534648895, 0.17776072025299072, -0.6476134061813354, 0.6257210373878479, -0.05754554271697998, -0.6255323886871338, 0.4704120457172394, -0.48435884714126587, 0.1402033269405365, 0.6686902642250061, 0.42541617155075073, -0.3406131863594055, -0.41529175639152527, -0.299390971660614, -0.8648466467857361, 0.4382549226284027, 0.12960952520370483, 0.10224880278110504, 0.16430261731147766, 0.15446212887763977, 0.4795924425125122, 0.29189470410346985, -0.22470761835575104, -0.3919023871421814, -0.09219726175069809, -0.5371703505516052, -0.1229073628783226, -0.00359875475987792, -0.11341629922389984, -0.2339133769273758, 0.5481034517288208, -0.20440222322940826, 0.03151024132966995, -0.1963040828704834, -0.23797310888767242, -0.022377971559762955, 0.2628307342529297, 0.5716677904129028, 0.3256955146789551, -0.026629559695720673, -0.19217635691165924, 0.1753401756286621, -0.7854889631271362, 0.23578421771526337, 0.0842442587018013, -0.33873414993286133, 0.11127757281064987, 0.3028750419616699, 0.8561036586761475, 0.049075834453105927, -0.25193363428115845, 0.3667314946651459, -0.05115191265940666, -0.10726932436227798, 0.5066930055618286, 0.5494060516357422, -0.15285322070121765, 0.0654156282544136, 0.1721799224615097, 0.1378719061613083, 0.15137161314487457, -0.0351753830909729, 0.15393052995204926, 0.37615135312080383, -0.34077081084251404, -0.23774875700473785, 0.47896361351013184, 0.5133216977119446, -0.24049565196037292, 0.7983159422874451, -0.45525243878364563, -0.3914642035961151, 0.6168564558029175, 0.37920424342155457, 0.8451517224311829, -0.4555743932723999, 0.22155171632766724, 0.4630466103553772, 0.18909484148025513, -0.3313513994216919, 0.2823740541934967, 0.18743187189102173, -0.6494062542915344, -0.3600439131259918, -0.4451306164264679, -0.2858405113220215, 0.1386243849992752, -0.9455426335334778, 0.24168123304843903, -0.32178500294685364, -0.12492123246192932, -0.42208123207092285, -0.22701793909072876, -0.9512892365455627, 0.4101090729236603, 0.11271153390407562, 0.6932172179222107, -0.7339505553245544, 0.9334693551063538, 0.5520706176757812, -0.17799940705299377, -0.36907732486724854, 0.19036956131458282, -0.11158343404531479, -0.9327496886253357, 0.6589779853820801, -0.07263211905956268, -0.0956592932343483, 0.4775373637676239, -0.512408971786499, -0.7468882203102112, 1.0327513217926025, 0.5208695530891418, -0.7949149012565613, 0.034120842814445496, 0.0833519697189331, 0.31485816836357117, -0.4583834409713745, -0.048196036368608475, 0.5450968742370605, 0.19327645003795624, 0.14605996012687683, -0.42602381110191345, -0.3027249276638031, -0.2246171087026596, -0.051083214581012726, 0.24314352869987488, -0.5108721852302551, 0.8589652180671692, -0.24903783202171326, -0.20933519303798676, -0.07231814414262772, 0.5877772569656372, 0.06650778651237488, -0.16649647057056427, 0.2903767228126526, 0.542443037033081, 0.987574577331543, -0.0077743930742144585, 1.0487711429595947, -0.3882558047771454, 0.5498569011688232, 1.3552563190460205, 0.1320253610610962, 0.6032362580299377, 0.2966494560241699, -0.23974817991256714, 0.1495029181241989, 0.6485359072685242, -0.3541049659252167, 0.734858512878418, 0.4779292941093445, -0.1024407297372818, -0.11425710469484329, -0.12429415434598923, -0.5996900200843811, 0.2654155492782593, 0.44326767325401306, -0.522232174873352, -0.16735628247261047, -0.11256971955299377, -0.15688060224056244, -0.11455859243869781, -0.3499227464199066, 0.4396876394748688, -0.04758735001087189, -0.5555683970451355, 0.5892766714096069, 0.13599944114685059, 0.6852492690086365, -0.46916431188583374, -0.06110411137342453, -0.6690603494644165, -0.01791124977171421, -0.1238747164607048, -0.7085862755775452, -0.24109162390232086, -0.06448337435722351, -0.1358335018157959, -0.24767808616161346, 0.24416790902614594, -0.7238727807998657, -0.4051622152328491, 0.04481659084558487, 0.5967142581939697, -0.17276056110858917, 0.16872863471508026, -0.5631939172744751, 0.006529565900564194, 0.36911332607269287, -0.2832358181476593, 0.39506658911705017, 0.6462908983230591, 0.10060210525989532, 0.6771420240402222, 0.6476348042488098, 0.3191549777984619, 0.260825514793396, 0.31657645106315613, 0.7876526713371277, -0.44112446904182434, -0.49784016609191895, -0.7600134015083313, 0.6640658378601074, -0.060431718826293945, -0.6114526987075806, 0.6665092706680298, 0.46018245816230774, 0.8860865831375122, -0.3466135859489441, 0.9074758887290955, 0.38383913040161133, 0.3660678565502167, -0.7329838871955872, 0.5855007171630859, -0.26677507162094116, 0.28570443391799927, -0.15489701926708221, -1.0604830980300903, -0.28454500436782837, 0.517295241355896, -0.3338008224964142, 0.11056527495384216, 0.5553500652313232, 0.7283309102058411, -0.32077914476394653, -0.09778393059968948, 0.13348835706710815, 0.02159152925014496, 0.4653751850128174, 0.4000140130519867, 0.79599529504776, -0.20133104920387268, 0.408965140581131, 0.051320064812898636, -0.16377121210098267, -0.3539524972438812, -0.6176926493644714, -1.016198754310608, -0.4130518436431885, -0.29703566431999207, -0.06192273274064064, -0.2221985012292862, 1.0867273807525635, 0.6741131544113159, -0.9815961122512817, 0.03973470255732536, -0.14018568396568298, 0.24583883583545685, -0.19508816301822662, -0.10551135241985321, 0.4424827992916107, -0.5016626119613647, -1.064349889755249, 0.6064990758895874, 0.07769545912742615, 0.383295476436615, -0.18082818388938904, -0.2324056774377823, 0.023324953392148018, -0.3981897830963135, 0.37933996319770813, -0.03570026531815529, -0.4590255916118622, 0.03848749026656151, -0.030185000970959663, -0.5000203251838684, 0.1274537593126297, 0.7174038887023926, -0.26746034622192383, 0.4101634919643402, 0.5149874687194824, 1.3629391193389893, 0.220828577876091, 0.06930506974458694, 0.5771215558052063, -0.8215684294700623, 0.006708149332553148, 0.3228515684604645, 0.3191263675689697, 0.3544909656047821, -0.35574954748153687, 0.5527605414390564, 0.1273307353258133, -0.509682297706604, -0.4594985544681549, 0.1033920869231224, -0.5811215043067932, 0.030108558014035225, 1.5081753730773926, -0.28662651777267456, 0.12391991913318634, 0.22576072812080383, -0.4425991177558899, 0.22535379230976105, -0.42373141646385193, 0.8016261458396912, 0.6638431549072266, 0.27930235862731934, 0.06848382204771042, -0.8311529159545898, 0.40860211849212646, 0.33919355273246765, -0.6884909272193909, -0.06182423606514931, 0.4666680097579956, 0.13072769343852997, -0.34595176577568054, 0.0019481085473671556, 0.20932337641716003, -0.07056106626987457, -0.2846466600894928, 0.016444841399788857, -0.17250238358974457, -0.3782823979854584, -0.37093350291252136, 0.17027948796749115, -0.052443552762269974, -0.5149979591369629 ]
http://arxiv.org/abs/2405.12910v1
http://arxiv.org/pdf/2405.12910v1
Topic Modelling Case Law Using a Large Language Model and a New Taxonomy for UK Law: AI Insights into Summary Judgment
2024-05-21T16:30:25
2024-05-21T16:30:25
Holli Sargeant, Ahmed Izzidien, Felix Steffek
cs.CL
cs.CL, cs.AI, cs.CY, cs.LG
This paper addresses a critical gap in legal analytics by developing and applying a novel taxonomy for topic modelling summary judgment cases in the United Kingdom. Using a curated dataset of summary judgment cases, we use the Large Language Model Claude 3 Opus to explore functional topics and trends. We find that Claude 3 Opus correctly classified the topic with an accuracy of 87.10%. The analysis reveals distinct patterns in the application of summary judgments across various legal domains. As case law in the United Kingdom is not originally labelled with keywords or a topic filtering option, the findings not only refine our understanding of the thematic underpinnings of summary judgments but also illustrate the potential of combining traditional and AI-driven approaches in legal classification. Therefore, this paper provides a new and general taxonomy for UK law. The implications of this work serve as a foundation for further research and policy discussions in the field of judicial administration and computational legal research methodologies.
[ -0.3618248701095581, -0.5528373718261719, 0.8361628651618958, -0.08645071089267731, -0.5878182053565979, -0.203853040933609, 0.03428028151392937, -0.4215218424797058, 0.43320298194885254, 0.8831824660301208, 0.07016827166080475, -0.43474501371383667, -0.5805059671401978, -0.22910094261169434, -0.8195317387580872, 0.8934710025787354, 0.24290598928928375, 0.4204540550708771, -0.46708282828330994, -0.526337742805481, -0.4779038429260254, -0.8424602746963501, -0.4906763434410095, -0.15746749937534332, 0.6010524034500122, 0.23210684955120087, 0.5883322954177856, 0.2824609577655792, 0.773177444934845, 0.29668423533439636, -0.38180771470069885, -0.31332507729530334, -0.21189098060131073, -0.22812186181545258, -0.32738906145095825, -0.7665941715240479, -0.9081331491470337, 0.06991374492645264, 0.2816728949546814, 0.6449469923973083, -0.4289994239807129, -0.33098673820495605, -0.06811726093292236, 0.8918662667274475, -0.6687608957290649, 0.19998125731945038, -0.3534027934074402, 0.1577514410018921, -0.13272404670715332, -0.03740808367729187, -0.391237735748291, -0.0857933759689331, 0.3279424011707306, -0.29841136932373047, 0.3425436019897461, 0.012396953999996185, 0.5052503347396851, 0.09890245646238327, -0.7403345108032227, -0.36580902338027954, -0.41225963830947876, 0.622351348400116, -0.6379529237747192, 0.3046223521232605, 0.2962188422679901, 0.3376404047012329, 0.2780044376850128, -0.942232608795166, -0.4525933861732483, -0.45055368542671204, -0.4118053913116455, 0.28792309761047363, -0.455824613571167, 0.16021032631397247, -0.09021875262260437, 0.10349336266517639, -0.5718867182731628, 0.3236006200313568, -0.6258022785186768, -0.3504061698913574, 0.8427520990371704, 0.19726096093654633, 0.09163063019514084, -0.35571184754371643, 0.28394779562950134, 0.23850923776626587, -0.7903190851211548, -0.11776480823755264, 0.4359464645385742, 0.3320222496986389, -0.2513761818408966, 0.364877849817276, -0.09984734654426575, 0.7711533308029175, -0.3808015286922455, -0.1825593113899231, 0.1455564945936203, -0.04658288508653641, 0.130650132894516, 0.1800137311220169, 0.7906925678253174, 0.7451102137565613, 0.11777922511100769, 0.14083440601825714, -0.16677983105182648, -0.11052209138870239, 0.506192147731781, -0.5732308626174927, -0.1007198691368103, 0.39348214864730835, -0.7288994193077087, -0.21070970594882965, 0.3643794059753418, -0.4291761815547943, -0.6435137987136841, -0.40388885140419006, -0.09789261221885681, -0.045684587210416794, -0.12902244925498962, 0.3538327217102051, -0.16087034344673157, 0.45757001638412476, 0.643608808517456, -0.696580171585083, 0.2670154869556427, 0.9760468006134033, 0.4910922944545746, -0.007243356667459011, -0.15830877423286438, -0.3811006546020508, 0.07389011234045029, -0.35515013337135315, 0.7550666332244873, -0.5329177379608154, -0.44556763768196106, 0.2642594873905182, 0.15247955918312073, 0.6137645244598389, -0.4368516802787781, 0.6626603007316589, -0.7634520530700684, 0.4500807523727417, -0.022029118612408638, -0.4313502609729767, -0.4121778607368469, 0.2441348284482956, -0.7361102104187012, 0.21001897752285004, -0.07713138312101364, -0.7935872673988342, 0.92502361536026, -0.9717078804969788, -0.738105833530426, 0.18649666011333466, -0.512025773525238, -0.3978540301322937, 0.16183502972126007, -0.09551995247602463, 0.5852510929107666, -0.5759648084640503, 0.7417860627174377, -0.3240292966365814, -0.11057627201080322, 0.0006817667162977159, -0.19040778279304504, 0.7266930937767029, 0.4666442573070526, 0.13405051827430725, 0.2305316925048828, -0.35188180208206177, -0.5754792094230652, -0.25826454162597656, -0.019730279222130775, -0.3408608138561249, 0.5712093710899353, -0.010143164545297623, 0.1074400320649147, 0.32234281301498413, -0.2895689010620117, 0.15529581904411316, -0.16440829634666443, 0.7520579099655151, 0.25997546315193176, 0.17320843040943146, 0.3179822266101837, -0.27899831533432007, 0.4989182651042938, -0.04587315022945404, -0.05980663001537323, -0.03601786866784096, -0.7505313158035278, -0.5028245449066162, -0.0802503228187561, 0.7701834440231323, 0.7600274682044983, -0.4293875992298126, 0.4210357964038849, -0.3161628842353821, -0.26127201318740845, -0.2752550542354584, -0.34069356322288513, 0.005593546666204929, 0.004597675055265427, 0.2047983556985855, -0.5218047499656677, -0.4739052951335907, -1.3259261846542358, -0.31901949644088745, -0.6194462180137634, -0.09814541041851044, 0.5179868936538696, 0.6633129119873047, -0.27601778507232666, 0.9760516285896301, -0.3693150579929352, -0.2838209867477417, -0.4867004156112671, 0.6016035079956055, 0.45741620659828186, 0.27418577671051025, 0.704475998878479, -1.2552895545959473, -0.12974469363689423, 0.29658547043800354, -0.797343373298645, -0.010872717946767807, -0.20585845410823822, 0.14179112017154694, 0.08198774605989456, 0.49886786937713623, -0.2730470895767212, 0.5108585357666016, -0.5153622031211853, -0.5973439812660217, 0.3594605326652527, -0.18506649136543274, 0.37990236282348633, -1.0589221715927124, -0.0980895534157753, 0.11416207998991013, -0.4732121527194977, -0.5239952802658081, 0.3309118449687958, 0.2450999915599823, 0.13761132955551147, -0.8489482998847961, 0.3627704083919525, -0.22223122417926788, -0.17830440402030945, -0.5079994201660156, 0.1039363220334053, -0.06091826409101486, 0.09861038625240326, -0.1252131164073944, 0.4832811653614044, 0.5815154910087585, -0.506898045539856, 0.5186001062393188, 0.19846725463867188, -0.12043466418981552, 0.7334506511688232, -0.2981398105621338, -0.3300919532775879, -0.10981637984514236, 0.07285833358764648, -0.4982205033302307, -0.596053421497345, -0.15149514377117157, -0.3560033440589905, 0.5090970993041992, -0.47825920581817627, -0.5202269554138184, -0.5672767758369446, -0.2597660720348358, 0.18991398811340332, 0.6250689625740051, 0.04755889251828194, 0.8384227752685547, 0.682039737701416, -0.4132535755634308, -0.4442618191242218, -0.7137928009033203, 0.31419724225997925, -0.7951065301895142, -0.23017948865890503, 0.45906931161880493, 0.29390522837638855, -0.7540398240089417, 0.17474769055843353, 0.09472795575857162, -0.4374210834503174, 0.20427945256233215, -0.009300311096012592, -0.04284852370619774, -0.03116576559841633, -0.06931528449058533, -0.20831958949565887, 0.101439468562603, 0.4263733923435211, 0.005914442706853151, 0.42354679107666016, 0.05695408582687378, -0.33680328726768494, -0.5350157618522644, 0.5317070484161377, 0.8220878839492798, 0.036898043006658554, 0.07562006264925003, -0.28878188133239746, -0.22602519392967224, 0.09308438748121262, -0.3723539710044861, 0.059005867689847946, -0.4016932547092438, 0.3914221227169037, -0.34178465604782104, -0.8951472043991089, 0.49515828490257263, 0.31184542179107666, 0.19978679716587067, 0.857975423336029, 0.7330994606018066, -0.22284266352653503, 0.49084973335266113, 0.8492988348007202, -0.5730684995651245, 0.40596452355384827, -0.3136574923992157, 0.2861669361591339, -0.3945882022380829, 0.016046790406107903, -0.49524158239364624, 0.04551135003566742, -0.6905701160430908, -0.2179851531982422, 0.30902594327926636, 0.14167486131191254, -0.018424568697810173, 0.18985921144485474, -0.028560897335410118, 0.6686875820159912, 0.59434574842453, 0.031147032976150513, 0.1302824765443802, -0.121037058532238, -0.07121973484754562, 0.35918691754341125, -0.42491966485977173, -0.5763655304908752, 1.2070759534835815, 0.0819915309548378, 0.33466285467147827, 0.32703959941864014, 0.6436431407928467, 1.116992473602295, 0.29828041791915894, -0.930616021156311, 0.6418235301971436, -0.3835844397544861, -0.5542786717414856, 0.019061509519815445, -0.3934718072414398, -1.0002810955047607, 0.30742573738098145, -0.015108617022633553, -0.8569995164871216, 0.10558589547872543, -0.12021055072546005, -0.5124693512916565, 0.33933767676353455, -0.32821837067604065, 0.563476026058197, -0.1981888711452484, -0.7448623776435852, -0.5250357389450073, -0.5672925114631653, 0.34771260619163513, -0.2825266420841217, 0.33412057161331177, 0.07814718037843704, 0.21534056961536407, 0.8846893310546875, -0.6456272006034851, 0.6545566320419312, -0.1776888370513916, -0.36982211470603943, 0.6244394779205322, -0.07035285979509354, 0.22180010378360748, 0.11972266435623169, 0.03683922812342644, -0.036476172506809235, 0.06586934626102448, -0.5238953828811646, -0.8048169612884521, 0.3076450824737549, -0.5123245716094971, -0.7776281237602234, -0.649549663066864, -0.43554988503456116, -0.15916979312896729, 0.10441140085458755, 0.012030444107949734, 0.5692219734191895, -0.19106747210025787, 0.29077744483947754, 0.08831082284450531, -0.09178636968135834, 0.5786087512969971, 1.0852144956588745, -0.22599947452545166, -0.49419018626213074, 0.9835272431373596, 0.20052030682563782, -0.4046434760093689, 0.5931417346000671, 0.09537764638662338, -0.3588573634624481, -0.9316325783729553, -0.06510353833436966, 0.16142010688781738, -0.6869555711746216, -0.14767241477966309, -0.5426982045173645, 0.01678570732474327, -0.40057069063186646, -0.2584737539291382, -0.015514838509261608, -0.6469503045082092, -0.09485239535570145, -0.06042192131280899, 0.4641776978969574, 1.029504656791687, -0.10190087556838989, 0.3546111583709717, -0.4868351221084595, 0.43108513951301575, 0.3299003541469574, 0.332343190908432, -0.5403282046318054, -0.7054820656776428, -0.08265620470046997, -0.21490448713302612, -0.42185238003730774, -0.6190169453620911, 0.454261839389801, -0.09205298870801926, 0.5628122687339783, 0.7119122743606567, 0.004615859128534794, 0.3453596234321594, -0.6705577969551086, 1.0527340173721313, 0.26670873165130615, -0.6201059818267822, 0.6414210796356201, -0.5808455348014832, -0.18085390329360962, 0.5384897589683533, 0.4403455853462219, -0.3940328061580658, -0.3328366279602051, -0.7070565223693848, -1.1062984466552734, 0.7500259876251221, 0.16087593138217926, 0.26694369316101074, 0.3347931206226349, 0.42062079906463623, 0.12154942750930786, 0.4046115577220917, -0.5032163858413696, -0.055645473301410675, 0.24157491326332092, 0.10746589303016663, -0.17858977615833282, -0.3091530203819275, -0.04637611657381058, -0.6196469068527222, 0.6806647777557373, -0.04149963706731796, 0.3729841411113739, -0.08354324847459793, -0.18426263332366943, 0.5568354725837708, 0.29908934235572815, 0.5618264675140381, 0.8616166710853577, -0.27776217460632324, -0.21570272743701935, 0.040833450853824615, -0.4483885169029236, 0.23587633669376373, 0.22458599507808685, -0.20567883551120758, -0.2629247009754181, 0.7708022594451904, 0.47324883937835693, -0.14322243630886078, -0.4932039678096771, 0.6383450031280518, -0.27090802788734436, -0.7617536783218384, -0.41532987356185913, -0.06161171570420265, -0.21349114179611206, 0.19105903804302216, 0.2964811325073242, -0.09729667752981186, 0.7620961666107178, -0.7742924094200134, 0.6268333792686462, 0.0854131281375885, -0.3355322480201721, 0.035395942628383636, 0.6488456130027771, 0.3321579396724701, -0.16286590695381165, 0.2499728798866272, -0.30868247151374817, -0.49606120586395264, 0.6994121670722961, -0.05280144885182381, 0.9311079978942871, 0.3086186349391937, 0.15801018476486206, -0.17491331696510315, 0.02630385383963585, -0.11994615197181702, 0.6486304402351379, -0.27076059579849243, -0.5637091994285583, -0.41408300399780273, -0.4964079260826111, -0.7476323246955872, 0.08223211020231247, -0.8481082916259766, 0.20630453526973724, -0.1096409261226654, 0.011382808908820152, 0.12085359543561935, -0.10686099529266357, -0.3106077313423157, 0.1407013237476349, 0.16367901861667633, 0.7651513814926147, -0.5978145003318787, 0.8339040279388428, 0.7020328044891357, -0.24979715049266815, -0.1842910796403885, 0.4029035270214081, 0.2714485824108124, -0.1738346517086029, 0.3933596909046173, 0.16105243563652039, -0.13379493355751038, -0.39224687218666077, -0.4942817687988281, -0.5188620686531067, 0.8246488571166992, 0.11368940770626068, -0.44874876737594604, 0.18288911879062653, 0.16742388904094696, 0.6458256840705872, -0.3114541471004486, 0.28840842843055725, 0.9069642424583435, 0.20718134939670563, 0.17211449146270752, -0.7793062329292297, -0.5372293591499329, -0.5683044195175171, -0.4368493854999542, 0.420674204826355, -0.6093560457229614, 0.5667093992233276, 0.026823870837688446, 0.11338755488395691, -0.018925825133919716, 0.5988256335258484, 0.015948455780744553, 0.3681078851222992, 0.2594853341579437, 0.7181196808815002, 0.8092016577720642, -0.36223137378692627, 1.415907382965088, -0.62257319688797, 0.40067973732948303, 1.0044816732406616, -0.7484053373336792, 0.7288825511932373, 0.22861197590827942, -0.5175094604492188, 0.4337218999862671, 0.726969838142395, -0.016170697286725044, 0.6336738467216492, 0.44378432631492615, -0.1247367188334465, -0.047345105558633804, -0.104857437312603, -0.17187561094760895, 0.7889885306358337, 0.5377403497695923, -0.42365697026252747, -0.11272862553596497, 0.03932841494679451, -0.048155102878808975, -0.09503219276666641, -0.6676555275917053, 1.0688501596450806, -0.16290612518787384, -0.7000954151153564, 0.17853789031505585, 0.28556132316589355, 0.424296498298645, -0.5431784391403198, -0.08592481911182404, -0.5163553357124329, -0.02381839230656624, -0.08797364681959152, -0.8807414174079895, 0.31160566210746765, 0.15825141966342926, -0.1589079201221466, -0.4430140554904938, 0.3188522458076477, 0.1916530281305313, -0.6675272583961487, 0.31381967663764954, 0.5484371185302734, 0.47498100996017456, 0.10833598673343658, -0.6286925673484802, -0.33137452602386475, -0.026370586827397346, -0.10977870970964432, 0.08377721160650253, 0.6229784488677979, -0.37600409984588623, 0.4744414985179901, 0.07022665441036224, 0.10965623706579208, -0.35088974237442017, 0.32161155343055725, 0.9367331266403198, -1.0961583852767944, -0.9586561918258667, -0.8036227822303772, 0.5237851738929749, -0.3529636263847351, -0.2882002592086792, 0.42497819662094116, 0.7898354530334473, 0.5753503441810608, 0.3476063013076782, 0.9160494208335876, -0.29244616627693176, 0.5993943214416504, -0.8255422115325928, 0.8040871620178223, -0.6496143937110901, 0.36690351366996765, -0.25922197103500366, -0.7498181462287903, -0.5155259966850281, 0.4620819687843323, -0.48286041617393494, 0.08303400129079819, 0.6085072755813599, 0.5289889574050903, -0.3384016454219818, 0.25848111510276794, 0.5834030508995056, 0.3982495665550232, 0.0932302474975586, 0.20458601415157318, 0.8505239486694336, 0.05949117988348007, -0.03235858306288719, -0.02218589372932911, -0.03907986730337143, -0.3021043837070465, -0.5496505498886108, -0.7056864500045776, -0.3611880838871002, -0.19328849017620087, -0.10864228010177612, -0.08763351291418076, 0.516431987285614, 0.7597690224647522, -1.1543186902999878, -0.5654125213623047, -0.445294052362442, -0.007982609793543816, 0.2426614612340927, -0.21126727759838104, 0.4760916531085968, -0.20781168341636658, -0.355478435754776, 0.40480393171310425, 0.13408727943897247, -0.1445062756538391, -0.26116499304771423, 0.08259464800357819, -0.19800755381584167, -0.015019034035503864, 0.8733546137809753, 0.04275142028927803, -1.0439621210098267, -0.017173312604427338, -0.8170009851455688, 0.18402287364006042, 0.178896963596344, 1.319841980934143, -0.5685932636260986, 0.32067111134529114, 0.3375905454158783, 0.49290037155151367, 0.49228838086128235, 0.08228662610054016, 0.8543853759765625, -0.6410651206970215, 0.26028013229370117, 0.39285415410995483, 1.2131917476654053, 0.043693315237760544, -0.2206186205148697, 0.6823532581329346, 0.26197919249534607, -0.32889851927757263, -0.6455430388450623, 0.33705517649650574, -0.7565586566925049, -0.7395457029342651, 0.8217873573303223, -0.06467446684837341, -0.2506776452064514, -0.3391290307044983, -0.20617343485355377, -0.2513749599456787, -0.5519698262214661, 0.7379514575004578, 0.792995274066925, -0.22509318590164185, -0.13619373738765717, -1.0001527070999146, 0.19791264832019806, 0.26050350069999695, -0.8148656487464905, -0.14616014063358307, 0.938461422920227, -0.04294582083821297, 0.36848387122154236, 0.42515647411346436, -0.14555911719799042, 0.29811543226242065, -0.25569167733192444, 0.1542120724916458, 0.5149862766265869, -0.5501805543899536, -0.6335005164146423, 0.5475803017616272, -0.18915018439292908, 0.2728789448738098 ]
http://arxiv.org/abs/2405.12900v1
http://arxiv.org/pdf/2405.12900v1
Adversarial DPO: Harnessing Harmful Data for Reducing Toxicity with Minimal Impact on Coherence and Evasiveness in Dialogue Agents
2024-05-21T16:14:55
2024-05-21T16:14:55
San Kim, Gary Geunbae Lee
cs.CL
cs.CL, cs.AI, I.2.7
Recent advancements in open-domain dialogue systems have been propelled by the emergence of high-quality large language models (LLMs) and various effective training methodologies. Nevertheless, the presence of toxicity within these models presents a significant challenge that can potentially diminish the user experience. In this study, we introduce an innovative training algorithm, an improvement upon direct preference optimization (DPO), called adversarial DPO (ADPO). The ADPO algorithm is designed to train models to assign higher probability distributions to preferred responses and lower distributions to unsafe responses, which are self-generated using the toxic control token. We demonstrate that ADPO enhances the model's resilience against harmful conversations while minimizing performance degradation. Furthermore, we illustrate that ADPO offers a more stable training procedure compared to the traditional DPO. To the best of our knowledge, this is the first adaptation of the DPO algorithm that directly incorporates harmful data into the generative model, thereby reducing the need to artificially create safe dialogue data.
[ -0.24397052824497223, -0.7634669542312622, 0.42452681064605713, -0.05156206712126732, -0.18902985751628876, 0.051012687385082245, 0.09754619002342224, -0.34446048736572266, -0.17024733126163483, 0.7570339441299438, -0.5217463374137878, -0.35251563787460327, -0.5513976812362671, -0.07175717502832413, -0.0399332195520401, 1.1571574211120605, 0.4056883156299591, 0.12664707005023956, -0.14708779752254486, 0.01378968358039856, -0.167924702167511, -0.8240661025047302, -1.269805908203125, -0.40837356448173523, 0.4858913719654083, 0.25034502148628235, 1.0914818048477173, 0.4311109781265259, 0.30123165249824524, 0.3410200774669647, -0.34037262201309204, 0.21314193308353424, -0.9577553272247314, 0.2634192407131195, -0.18967409431934357, -0.5333675742149353, -0.5950997471809387, 0.05912814289331436, 0.0012013355735689402, 0.35799822211265564, -0.25049903988838196, -0.35235318541526794, 0.05745851993560791, 0.6905691623687744, -0.6726158261299133, 0.11098025739192963, -0.9068925976753235, 0.210628941655159, 0.41580501198768616, -0.566001296043396, -0.7798877954483032, -0.2425556629896164, 0.40708762407302856, -0.8019527792930603, -0.18921200931072235, -0.20376165211200714, 0.5024425387382507, 0.3757357597351074, -0.42185452580451965, -0.44346463680267334, -0.8006272912025452, 0.6888606548309326, -0.48104989528656006, -0.04084932804107666, 0.25962576270103455, 0.05289003625512123, -0.5420781970024109, -0.27576813101768494, -0.4789782762527466, -0.34530535340309143, 0.189132422208786, 0.2779611349105835, -0.33605438470840454, 0.48562946915626526, -0.03413882479071617, 0.13221530616283417, -0.23952201008796692, 0.2549363076686859, 0.10705775767564774, -0.2693158686161041, 0.768763542175293, 0.41303685307502747, 0.3431548774242401, -0.03208081051707268, -0.568437933921814, -0.19408512115478516, -0.7378932237625122, -0.14699970185756683, 0.6296564340591431, 0.2572872042655945, 0.21826322376728058, 0.08035553991794586, -0.12985116243362427, 0.4062710702419281, 0.13385172188282013, -0.12637318670749664, 0.017358066514134407, -0.014087370596826077, -0.09464000910520554, 0.10973988473415375, 1.0834537744522095, 0.4304268956184387, 0.17390121519565582, 0.006194089073687792, 0.17693354189395905, 0.1034860908985138, 0.5347813963890076, -0.8768389821052551, -0.4112924039363861, 0.19231267273426056, -0.2657630145549774, -1.0674937963485718, -0.5312554240226746, -0.7925302982330322, -0.7946996092796326, -0.023030126467347145, 0.33613401651382446, -0.5088075995445251, -0.21698753535747528, 0.22996412217617035, 0.03496478497982025, -0.3805464208126068, 0.41827234625816345, -0.9319904446601868, 0.3571062982082367, 0.5510911345481873, 0.6088138222694397, -0.11723366379737854, -0.06118716299533844, -0.5803730487823486, 0.10598879307508469, -0.4748953878879547, 0.4501444697380066, -0.4822508990764618, -0.6103599667549133, -0.16728654503822327, -0.2997688353061676, 0.019991319626569748, -0.6729286313056946, 0.7551620602607727, -0.6898845434188843, 0.29046544432640076, -0.037844739854335785, -0.17111355066299438, -0.11503967642784119, 0.3000865578651428, -0.4036206007003784, 0.4816698729991913, -0.12164102494716644, -0.8827857971191406, 0.17478498816490173, -0.5710128545761108, -0.27398771047592163, -0.24143864214420319, 0.002523637842386961, -0.5897027254104614, -0.1749257743358612, 0.14720766246318817, 0.17075690627098083, -0.06662102043628693, 0.2591691315174103, -0.7377787828445435, -0.3539637327194214, 0.322122186422348, -0.802602231502533, 1.013370394706726, 0.42980989813804626, -0.1665511429309845, 0.25821611285209656, -0.7217565774917603, -0.11611910909414291, 0.3492124676704407, -0.36086422204971313, -0.6593437194824219, 0.1190902441740036, -0.5290200710296631, 0.3588068187236786, -0.15655694901943207, -0.5682486295700073, -0.02020392380654812, -0.6448278427124023, 0.35252052545547485, 1.2165154218673706, 0.1953841596841812, 0.42343705892562866, -0.3432326018810272, 0.4085814654827118, 0.23564819991588593, 0.5397382974624634, 0.2073889523744583, -0.277218759059906, -0.7978286743164062, -0.21022261679172516, -0.20060379803180695, 0.6180873513221741, -1.1007505655288696, 0.5918673276901245, -0.176531583070755, -0.4742911159992218, -0.25423142313957214, -0.00768550019711256, 0.5409271121025085, 0.8174504637718201, 0.12171951681375504, -0.4059411585330963, -0.40294894576072693, -0.7805670499801636, 0.011393317021429539, -0.5693966150283813, 0.06739149987697601, 0.6045295000076294, 0.19245605170726776, -0.24812985956668854, 0.5992123484611511, -0.7438381314277649, -0.08883219212293625, -0.08139370381832123, -0.21695050597190857, -0.1312258541584015, 0.27339571714401245, 0.6271084547042847, -0.6145651936531067, -0.5740798711776733, -0.32500699162483215, -0.5332186818122864, -0.06472509354352951, -0.07384617626667023, -0.4486508369445801, 0.014585021883249283, 0.15938891470432281, -0.4336264729499817, 0.22505848109722137, 0.5644633769989014, -0.19051781296730042, 0.4605565667152405, -0.12023540586233139, 0.1214466467499733, -0.9500502347946167, -0.07806118577718735, -0.29178184270858765, -0.12649129331111908, -0.9422711730003357, -0.24468491971492767, -0.3523491621017456, -0.5269238352775574, -0.7402029633522034, 0.31737491488456726, -0.00815193634480238, 0.53987717628479, -0.37999263405799866, 0.0731780156493187, 0.17071624100208282, 0.624316394329071, 0.17966221272945404, 0.81180739402771, 0.5536588430404663, -0.7931735515594482, 0.5281003713607788, 0.7297742366790771, 0.10167853534221649, 0.47552549839019775, -0.45212486386299133, 0.4127506613731384, -0.16066384315490723, 0.36292460560798645, -0.6781441569328308, 0.002211417770013213, 0.6183874011039734, -0.3305366635322571, 0.2771865725517273, -0.19796477258205414, -0.16625036299228668, -0.2290608137845993, -0.5685005187988281, 0.25460702180862427, 0.44025668501853943, -0.6790650486946106, -0.032418832182884216, 0.6075751185417175, -0.282814085483551, -0.6678715348243713, -0.419209361076355, 0.21247904002666473, -0.5174934267997742, -0.5643240809440613, 0.0889054387807846, -0.2697882354259491, -0.09539707005023956, -0.28895238041877747, -0.03235318884253502, 0.048502448946237564, 0.37562447786331177, 0.12662027776241302, 0.23997712135314941, 0.350374311208725, 0.15772005915641785, -0.03419799357652664, -0.27721869945526123, 0.23816093802452087, 0.11661393940448761, 0.5251157283782959, 0.11005877703428268, -0.1674596667289734, -0.5712149143218994, 0.3640095293521881, 0.6663991212844849, 0.11620438098907471, 0.7712602019309998, -0.009322895668447018, 0.057818032801151276, -0.38754206895828247, 0.07955607771873474, -0.18025515973567963, -0.5663171410560608, 0.4299359619617462, -0.2945721447467804, -0.4840758740901947, 0.3318882882595062, -0.1348007619380951, -0.24038155376911163, 0.11556044220924377, 0.4728125035762787, 0.3139326274394989, 1.3811681270599365, 0.2895600497722626, -0.29334360361099243, 0.8479297757148743, -0.19218270480632782, 0.12820546329021454, -0.6823236346244812, -0.10561421513557434, -0.1372838318347931, 0.11537378281354904, -0.41268616914749146, -0.21864134073257446, 0.6689093112945557, -0.2846451997756958, -0.5965769290924072, 0.02815239317715168, -0.6421813368797302, 0.2253548949956894, 0.5103273391723633, 0.5206540822982788, 0.33073654770851135, 0.1665525734424591, -0.021912992000579834, 0.03374101594090462, -0.8873207569122314, -0.5657020807266235, 1.1239120960235596, 0.6135813593864441, 1.1959058046340942, 0.0762883797287941, 0.6330302953720093, 0.11871808022260666, 0.16227324306964874, -0.8800634741783142, 0.6813086867332458, -0.21065226197242737, -0.6098245978355408, -0.17941264808177948, -0.7534629106521606, -0.8826926350593567, 0.39692479372024536, -0.16636618971824646, -0.5849707126617432, 0.2749965786933899, 0.2077384889125824, -0.4690774083137512, 0.27274900674819946, -0.7014204263687134, 0.6196556687355042, -0.3428395092487335, -0.4807765781879425, -0.2403714954853058, -0.4387153089046478, 0.31271594762802124, 0.08968272060155869, -0.04028414562344551, -0.14465774595737457, -0.0015606065280735493, 0.4468117356300354, -0.4780285060405731, 0.9288122653961182, -0.25252994894981384, -0.30827757716178894, 0.4385155439376831, 0.21917416155338287, 0.7161831259727478, 0.10376166552305222, -0.39752501249313354, 0.0003238340141251683, -0.3289721608161926, -0.21749868988990784, -0.5013187527656555, 0.7252592444419861, -1.0553430318832397, -0.7867564558982849, -0.4833013117313385, -0.4493069648742676, -0.47445395588874817, 0.09814988821744919, 0.19413164258003235, 0.2660914957523346, -0.4866463541984558, 0.06923699378967285, 0.7992000579833984, -0.6578933000564575, 0.08159903436899185, 0.6662436723709106, 0.2871589958667755, -0.6838825345039368, 0.968541145324707, -0.17951400578022003, 0.8421728610992432, 0.11181216686964035, 0.4192485809326172, -0.26557716727256775, -0.7271296977996826, -0.3511742949485779, -0.1698707491159439, -0.7306899428367615, -0.2900810241699219, -0.6003950238227844, -0.2750817537307739, -0.3180299401283264, 0.03604983538389206, -0.47657954692840576, -0.2154395431280136, -0.41987383365631104, -0.10395494848489761, 0.1968727856874466, 0.4331988990306854, -0.024249009788036346, 0.1787981390953064, -0.6252375245094299, 0.15919964015483856, 0.5865590572357178, 0.45122668147087097, -0.08089173585176468, -0.43333175778388977, 0.038106951862573624, 0.503761351108551, -0.7771779894828796, -0.8701310753822327, 0.4288805425167084, 0.263343870639801, 0.5811936855316162, 0.5288452506065369, 0.6453145742416382, 0.3993928134441376, -0.33424505591392517, 0.5673825740814209, 0.2891465425491333, -0.6562267541885376, 0.8101251125335693, -0.6605108976364136, -0.07787612080574036, 0.636269211769104, 0.4153488278388977, -0.4687112271785736, -0.4739670157432556, -0.5906379222869873, -0.6971069574356079, 0.9986425638198853, 0.3117024302482605, 0.45808902382850647, -0.20299412310123444, 0.1697722226381302, 0.14939351379871368, 0.20802302658557892, -0.49145105481147766, -0.26769083738327026, -0.2720450162887573, -0.1914377212524414, -0.03455260768532753, -0.46167612075805664, -0.7385240793228149, 0.1529102474451065, 0.9347599148750305, -0.14463089406490326, 0.14789511263370514, 0.2820450961589813, 0.11583961546421051, -0.24718695878982544, 0.38013121485710144, 0.3275950253009796, 0.07747229933738708, -0.21823981404304504, 0.029813850298523903, 0.07643938809633255, -0.5119563341140747, 0.4420796036720276, 0.04355921968817711, -0.36017799377441406, -0.4674597978591919, 0.011750912293791771, 0.9621321558952332, -0.11947382986545563, -0.6854304075241089, 0.6104186773300171, -0.2963479161262512, -0.11243130266666412, -0.046689532697200775, 0.40847310423851013, -0.39926475286483765, -0.003487611887976527, 0.05954510718584061, 0.2558593153953552, 0.47009018063545227, -0.7053604125976562, 0.21567471325397491, 0.51723712682724, -0.4142146408557892, -0.14969713985919952, 0.644206702709198, 0.783128023147583, -0.03888176381587982, 0.305637389421463, -0.16710925102233887, -0.6482614874839783, 0.35098856687545776, 0.4921122193336487, 0.9338741302490234, -0.28999730944633484, 0.4997197985649109, 0.14661741256713867, -0.01928558200597763, 0.16861389577388763, -0.07022273540496826, 0.13387493789196014, -0.9467806220054626, 0.029904179275035858, -0.38128581643104553, -0.6484838128089905, 0.3655620515346527, -0.5574496388435364, 0.009590794332325459, -0.6314765810966492, -0.26285481452941895, -0.07047628611326218, 0.010789883323013783, -0.15061041712760925, 0.2139902412891388, 0.1903100460767746, 0.4612846374511719, -0.8988655805587769, 0.5181236267089844, 0.45413675904273987, -0.11048220843076706, -0.3549407124519348, 0.03476203978061676, 0.20899422466754913, -0.928924560546875, 0.42616531252861023, -0.04771662503480911, -0.29132741689682007, -0.12140493839979172, -0.25284305214881897, -0.5752651691436768, 0.795940101146698, 0.7133048176765442, -0.3416691720485687, 0.3000730276107788, 0.16945280134677887, 0.8333214521408081, -0.20593373477458954, 0.1733643263578415, 0.3581927418708801, -0.057506006211042404, 0.4267740845680237, -0.8070762753486633, 0.19964103400707245, -0.2959337830543518, -0.01813877746462822, 0.031085185706615448, -0.9331496357917786, 0.37379688024520874, -0.24578772485256195, -0.37964683771133423, 0.0012790908804163337, 0.09471724182367325, 0.11278947442770004, 0.16899628937244415, 0.7931092977523804, 0.5838434100151062, 0.5953559279441833, -0.014816449023783207, 1.02213454246521, -0.2597610652446747, 0.25989535450935364, 1.1039903163909912, -0.18106794357299805, 0.5273482799530029, 0.27716121077537537, -0.14416803419589996, 0.2698580026626587, 0.5374994277954102, 0.315715491771698, 0.8747127056121826, 0.35432782769203186, -0.6894010305404663, -0.25838741660118103, -0.3371454179286957, -0.25870710611343384, 0.5196170210838318, 0.29668667912483215, -0.4032529592514038, -0.01981845125555992, 0.16815613210201263, 0.1518544703722, 0.1743556559085846, -0.203892782330513, 1.2227588891983032, -0.030718829482793808, -0.6424131393432617, 0.9033570885658264, -0.4735749065876007, 0.5296687483787537, -0.4940522015094757, 0.18943741917610168, -0.06305958330631256, 0.5611952543258667, -0.011207659728825092, -0.5924991369247437, 0.33898594975471497, -0.2156440168619156, 0.10234691202640533, -0.28527310490608215, 0.821890115737915, -0.468538761138916, -0.010467082262039185, 0.5860694050788879, 0.13892154395580292, -0.16372165083885193, -0.13709178566932678, -0.979583203792572, 0.06022883206605911, -0.01809225231409073, -0.4041867256164551, 0.3475179672241211, 0.24666041135787964, 0.2898300886154175, 1.0154329538345337, 0.5742350220680237, 0.18540707230567932, -0.2637800872325897, 0.17432548105716705, 1.212458848953247, -0.3041342794895172, -0.5323354601860046, -0.7230778336524963, 0.39188358187675476, -0.2330501675605774, 0.013256851583719254, 0.5791157484054565, 0.3173302710056305, 0.5609372854232788, 0.07629965245723724, 0.9746280312538147, 0.2518872916698456, 0.34106990694999695, -0.27640894055366516, 0.779434323310852, -0.2709154188632965, 0.3947290778160095, -0.30324631929397583, -0.4290424883365631, -0.11771277338266373, 0.3248189687728882, -0.4503234326839447, -0.11977626383304596, 0.3616023361682892, 0.8454319834709167, 0.2720829248428345, -0.10661928355693817, 0.36349520087242126, 0.37681373953819275, 0.69785475730896, 0.9068663120269775, 0.9879805445671082, -0.3705688714981079, 1.11051344871521, -0.508607029914856, -0.5116664171218872, -0.2437642365694046, -0.5942644476890564, -1.044671654701233, -0.1424555480480194, -0.19367654621601105, -0.49311384558677673, 0.3828992545604706, 0.5858960747718811, 0.6341375708580017, -0.7130405306816101, 0.22796626389026642, -0.3371554911136627, 0.16360756754875183, 0.014110060408711433, -0.20472587645053864, 0.09801169484853745, -0.31470581889152527, -0.877697229385376, 0.5285499691963196, 0.2603917419910431, 0.38119861483573914, -0.17189213633537292, -0.3372580111026764, 0.08225814998149872, 0.2551056742668152, 0.6526053547859192, 0.14852719008922577, -0.44210323691368103, -0.627342939376831, -0.1944308578968048, -0.2902536988258362, 0.013256685808300972, 0.4510402977466583, -0.40496858954429626, 1.0504295825958252, 0.5341308116912842, 0.4305729568004608, 0.13995595276355743, 0.11312263458967209, 0.9993877410888672, -0.531906008720398, 0.38634005188941956, 0.48112738132476807, 0.0714375451207161, 0.24088738858699799, -0.8726035356521606, 0.4332115054130554, 0.12657643854618073, -0.5618202686309814, -0.8027341961860657, 0.6223086714744568, -0.6854651570320129, -0.3402203619480133, 1.2184522151947021, -0.36533454060554504, 0.04094257205724716, -0.25930681824684143, -0.6500105261802673, 0.2732142210006714, -0.6424592137336731, 1.2256518602371216, 0.413820743560791, -0.2695349156856537, 0.19018428027629852, -0.1711777001619339, 0.8849111199378967, 0.3655144274234772, -0.7973650097846985, 0.2598924934864044, 0.44638925790786743, 0.38526520133018494, 0.11515918374061584, 0.7925947308540344, -0.13836582005023956, 0.16879743337631226, 0.3443603515625, -0.1885242760181427, -0.3105852007865906, -0.2113996148109436, -0.41998690366744995, 0.10995244234800339, 0.06593932211399078, -0.4491734802722931 ]
http://arxiv.org/abs/2405.12884v1
http://arxiv.org/pdf/2405.12884v1
Investigating Persuasion Techniques in Arabic: An Empirical Study Leveraging Large Language Models
2024-05-21T15:55:09
2024-05-21T15:55:09
Abdurahmman Alzahrani, Eyad Babkier, Faisal Yanbaawi, Firas Yanbaawi, Hassan Alhuzali
cs.CL
cs.CL, cs.AI
In the current era of digital communication and widespread use of social media, it is crucial to develop an understanding of persuasive techniques employed in written text. This knowledge is essential for effectively discerning accurate information and making informed decisions. To address this need, this paper presents a comprehensive empirical study focused on identifying persuasive techniques in Arabic social media content. To achieve this objective, we utilize Pre-trained Language Models (PLMs) and leverage the ArAlEval dataset, which encompasses two tasks: binary classification to determine the presence or absence of persuasion techniques, and multi-label classification to identify the specific types of techniques employed in the text. Our study explores three different learning approaches by harnessing the power of PLMs: feature extraction, fine-tuning, and prompt engineering techniques. Through extensive experimentation, we find that the fine-tuning approach yields the highest results on the aforementioned dataset, achieving an f1-micro score of 0.865 and an f1-weighted score of 0.861. Furthermore, our analysis sheds light on an interesting finding. While the performance of the GPT model is relatively lower compared to the other approaches, we have observed that by employing few-shot learning techniques, we can enhance its results by up to 20\%. This offers promising directions for future research and exploration in this topic\footnote{Upon Acceptance, the source code will be released on GitHub.}.
[ -0.5800581574440002, -1.0953538417816162, 0.5443167090415955, 0.22367940843105316, -0.4271688461303711, 0.12591445446014404, -0.13595055043697357, 0.045536693185567856, -0.16662748157978058, 0.32056283950805664, -0.3753255009651184, -1.0740082263946533, -0.7187696695327759, -0.026019718497991562, -0.43373459577560425, 1.1537137031555176, -0.24035967886447906, 0.12800098955631256, 0.17357409000396729, -0.03564007952809334, -0.33294618129730225, -0.6205546259880066, -0.7178308963775635, -0.17615725100040436, 0.7566816210746765, 0.8228994607925415, 0.6624259352684021, 0.3793090879917145, 0.1600821614265442, 0.18445269763469696, -0.08732777088880539, -0.07896024733781815, -0.3709973394870758, -0.18494912981987, -0.08866603672504425, -0.345663845539093, 0.0739896297454834, 0.21035893261432648, 0.6672081351280212, 0.3733803331851959, -0.04791200906038284, 0.38082781434059143, 0.28508082032203674, 0.6372690796852112, -0.7523429989814758, -0.14735446870326996, -0.6494823694229126, 0.021663764491677284, -0.3334234654903412, -0.2038789540529251, -0.3207571506500244, -0.49144813418388367, -0.06813564896583557, -0.16772232949733734, 0.13156729936599731, 0.03396732732653618, 0.8156260848045349, 0.03514227271080017, -0.7425382733345032, -0.604252278804779, -0.8363261818885803, 0.8050692677497864, -0.6844102740287781, 0.0878264307975769, 0.5739042162895203, 0.3109646141529083, 0.11281190812587738, -0.6093224287033081, -0.6178718209266663, -0.4229672849178314, 0.18656323850154877, -0.0535937137901783, -0.23746450245380402, -0.06851541996002197, 0.25151264667510986, 0.04831598699092865, -0.40551865100860596, 0.2287885695695877, 0.06932330131530762, -0.14028410613536835, 0.5938692688941956, -0.19054609537124634, 0.34913215041160583, -0.19416724145412445, -0.30272188782691956, -0.3984939754009247, -0.9695273637771606, 0.3902438282966614, 0.7576516270637512, 0.1214447170495987, -0.2140689492225647, 0.5961076617240906, -0.2065756469964981, 0.3889878988265991, 0.20867474377155304, -0.1479787677526474, -0.23075121641159058, -0.30065369606018066, 0.04368242621421814, 0.2169414907693863, 0.7067819237709045, 0.05283033847808838, 0.35597363114356995, 0.4050072729587555, -0.2985989451408386, 0.15487900376319885, 0.011551562696695328, -1.0238664150238037, -0.35154879093170166, 0.07678031921386719, -0.8743603229522705, -0.4170893132686615, 0.1627136617898941, -0.6835001111030579, -0.6413117051124573, -0.040950093418359756, 0.49637696146965027, -0.5709670782089233, -0.28778785467147827, 0.12781071662902832, -0.03248951584100723, 0.3381170630455017, 0.21658912301063538, -0.7041549682617188, 0.09321977198123932, 0.6711887717247009, 0.817292332649231, 0.0600745864212513, 0.051801055669784546, -0.3148258924484253, -0.018819376826286316, -0.5670109987258911, 0.922387421131134, -0.9422581791877747, -0.5021946430206299, 0.37887778878211975, -0.4738119840621948, 0.062538281083107, -0.5783559083938599, 1.0285042524337769, -0.5831478834152222, -0.07467900216579437, -0.3242259621620178, -0.5552749633789062, -0.3590376675128937, 0.17039982974529266, -0.664198100566864, 0.6307538151741028, -0.2720804512500763, -0.6189193725585938, 0.378720760345459, -0.6642530560493469, -0.4503864347934723, -0.18541604280471802, -0.252571165561676, -0.5959190726280212, 0.11943921446800232, 0.361735999584198, 0.4425138831138611, -0.16504929959774017, 0.0878782644867897, 0.03178118169307709, -0.1067458912730217, 0.5623551607131958, -0.6152090430259705, 0.4870135188102722, 0.4825487732887268, -0.4512515366077423, 0.32980161905288696, -0.6341404914855957, -0.29352903366088867, 0.17353028059005737, -0.17936135828495026, -0.47866129875183105, 0.0919981449842453, -0.05775997042655945, 0.3389759361743927, 0.19388693571090698, -0.41526302695274353, 0.0887075811624527, -0.26169368624687195, 0.19970844686031342, 0.6318639516830444, 0.32388240098953247, 0.3285951614379883, -0.5930054783821106, 0.8253827691078186, -0.0012275655753910542, 0.018191589042544365, 0.0010854988358914852, -0.3749045729637146, -0.4985419511795044, -0.25939831137657166, 0.41486936807632446, 0.29176345467567444, -0.8956905007362366, 0.11674220860004425, 0.1905331015586853, -0.6275550723075867, -0.4677627384662628, 0.31481826305389404, 0.33813634514808655, 0.4391924738883972, 0.23218008875846863, 0.11640673875808716, -0.35713890194892883, -0.8677409887313843, -0.5499493479728699, -0.15023890137672424, 0.12559711933135986, 0.03269289806485176, 0.6360824704170227, 0.1394035369157791, 0.8037630319595337, -0.22766558825969696, -0.10581851005554199, -0.4941764175891876, 0.6593655347824097, 0.13197296857833862, 0.2772858142852783, 0.6509828567504883, -0.9593706727027893, -0.8833854794502258, -0.029078716412186623, -0.5288051962852478, -0.3070262372493744, -0.10155130177736282, 0.1359241008758545, 0.2670905292034149, 0.32389578223228455, -0.49591895937919617, 0.7865647077560425, 0.5311715602874756, -0.30307134985923767, 0.729722797870636, 0.3722696900367737, 0.37474367022514343, -0.797829270362854, -0.22771038115024567, 0.49529239535331726, 0.14219409227371216, -0.7335093021392822, -0.07442258298397064, -0.08836404234170914, -0.18226563930511475, -0.6065871715545654, 0.5531564354896545, -0.4434114694595337, 0.5829581618309021, -0.6512840390205383, -0.47951802611351013, -0.1779356598854065, 0.16636018455028534, 0.24164098501205444, 0.822894275188446, 0.5232826471328735, -0.655814528465271, -0.08671915531158447, 0.19717943668365479, -0.5687999129295349, 0.36066532135009766, -0.7272897362709045, 0.32357242703437805, -0.2353430837392807, 0.1498161256313324, -1.3438843488693237, -0.03010716661810875, 0.4352360963821411, -0.4440232515335083, 0.03700544312596321, -0.28019657731056213, -0.54731684923172, 0.011215174570679665, -0.4355052709579468, 0.14822061359882355, 0.5250359773635864, -0.3477781414985657, 0.6585983037948608, 0.19524797797203064, -0.644039511680603, -0.35047414898872375, -0.07386762648820877, 0.029724245890975, -0.7066542506217957, -0.4580049216747284, 0.2341829538345337, 0.18134067952632904, -0.5111312866210938, -0.3448142111301422, -0.139261394739151, 0.22603781521320343, 0.04348369315266609, 0.4451656639575958, 0.02550567127764225, -0.16584435105323792, 0.15815076231956482, 0.2716354727745056, -0.11494702100753784, 0.10051686316728592, -0.012304280884563923, 0.8231526017189026, -0.1376161426305771, -0.4259324371814728, -0.7496051788330078, 0.5552076697349548, 0.13854677975177765, -0.2186804860830307, 1.0829769372940063, 0.7414144277572632, -0.17932745814323425, 0.02888474240899086, -0.79875648021698, -0.4106072783470154, -0.512863278388977, 0.32881614565849304, -0.4232806861400604, -0.6261582970619202, 0.25015443563461304, -0.5748756527900696, -0.0693870559334755, 0.343002587556839, 0.484313428401947, -0.05475601553916931, 1.556679368019104, 0.5618168115615845, -0.2079293131828308, 0.5996409058570862, -0.21226099133491516, 0.144142746925354, -0.20387063920497894, -0.1041707694530487, -0.8667391538619995, -0.36629101634025574, -0.528702437877655, -0.010718308389186859, 0.45551809668540955, 0.30256187915802, -0.4035205841064453, -0.11898361146450043, -0.12580695748329163, 0.24136322736740112, 0.6121528148651123, 0.0687437430024147, 0.292349636554718, 0.5587813854217529, -0.16405360400676727, -0.014480357989668846, -0.6526752710342407, -1.2005547285079956, 0.9195910692214966, 0.46517080068588257, 0.6895943284034729, 0.33856722712516785, 0.7312622666358948, 0.4455742835998535, 0.5860902070999146, -0.7053335905075073, 0.7929250001907349, 0.0890049859881401, -0.4117293357849121, -0.37928032875061035, -0.2987346947193146, -1.1571601629257202, 0.07348978519439697, -0.6103412508964539, -0.44344934821128845, 0.02847207337617874, 0.06483379751443863, -0.24038022756576538, 0.22776886820793152, -0.7133477926254272, 0.7612016201019287, -0.387177050113678, -0.42654210329055786, -0.49721595644950867, -0.40977486968040466, -0.07621326297521591, -0.05632561445236206, 0.22082194685935974, -0.07278177887201309, -0.009329439140856266, 0.980802059173584, -0.2898043096065521, 0.9399385452270508, -0.33147093653678894, -0.2949512302875519, 0.4034566581249237, -0.13822755217552185, 0.5713112354278564, -0.17872147262096405, -0.11827977001667023, 0.12477206438779831, -0.09044371545314789, -0.5157361030578613, -0.5548375844955444, 0.6514506936073303, -0.9281898736953735, -0.7853033542633057, -0.3520773649215698, -0.3679043650627136, -0.26666736602783203, -0.0005921013071201742, 0.16166844964027405, 0.3086204528808594, -0.4359748661518097, 0.23911850154399872, 0.5283980965614319, -0.4031076729297638, 0.4805990159511566, 0.6308337450027466, -0.21404077112674713, -0.24300655722618103, 1.1232166290283203, 0.17119482159614563, 0.05133765563368797, 0.34625476598739624, 0.5181389451026917, -0.5173248052597046, -0.9123635292053223, -0.206640362739563, 0.36658281087875366, -0.6193634867668152, 0.01111641339957714, -0.2249024510383606, -0.05459786579012871, -0.6906805038452148, 0.000012208273801661562, 0.005239278543740511, -0.15962348878383636, -0.30442696809768677, -0.1597675234079361, 0.18641111254692078, 0.8854087591171265, 0.16632266342639923, 0.76380455493927, -0.7812795042991638, 0.22262200713157654, 0.24826477468013763, -0.15026028454303741, 0.05266736447811127, -0.45543450117111206, -0.19266296923160553, 0.26327425241470337, -0.6820076107978821, -1.190397024154663, 0.5534191727638245, -0.022180665284395218, 0.5018815994262695, 0.7924573421478271, 0.1688302755355835, 0.3641667068004608, -0.30611318349838257, 0.750440239906311, 0.09001438319683075, -0.8149468302726746, 0.6944380402565002, -0.32264795899391174, 0.17089885473251343, 0.6305065751075745, 1.2004212141036987, -0.1940828263759613, -0.08361183106899261, -0.5980403423309326, -0.8093202114105225, 0.19969625771045685, 0.16091643273830414, 0.09519465267658234, -0.001776859862729907, 0.31588515639305115, 0.31548598408699036, 0.520132839679718, -0.5407921671867371, -0.39880260825157166, -0.1828024834394455, -0.4074532687664032, -0.05791053548455238, -0.46007266640663147, -0.11760305613279343, -0.21314232051372528, 0.8291837573051453, 0.08934801071882248, -0.2894153296947479, -0.05015862360596657, -0.2532123029232025, 0.17029999196529388, 0.46257370710372925, 0.492997944355011, 0.696510374546051, -0.04867686703801155, 0.030752182006835938, -0.23093968629837036, -0.5079994201660156, 0.37095314264297485, 0.3913700580596924, -0.39368218183517456, 0.005377883557230234, 0.12717534601688385, 0.7862330675125122, -0.29004335403442383, -0.4022080600261688, 0.2815006673336029, 0.07446059584617615, -0.23870715498924255, -0.21247881650924683, -0.21618518233299255, -0.061418525874614716, 0.20371682941913605, 0.7686930894851685, -0.2401338517665863, 0.13966916501522064, -0.6201726794242859, -0.13138185441493988, 0.7531213164329529, -0.2843320071697235, -0.28044208884239197, 0.303028404712677, 0.33754026889801025, -0.4835446774959564, 0.16109398007392883, 0.03918755054473877, -0.30771520733833313, 0.41116204857826233, 0.4548238515853882, 0.4504549205303192, -0.4741218388080597, 0.6688006520271301, 0.05719343200325966, 0.1096506416797638, 0.03861178085207939, 0.045883871614933014, -0.27293866872787476, -0.8485838770866394, -0.36363574862480164, -0.43535906076431274, -0.49137139320373535, 0.40807992219924927, -0.4201914072036743, 0.12456239014863968, -0.520408034324646, -0.36080554127693176, 0.211583212018013, 0.2881118655204773, -0.4963638484477997, 0.011996252462267876, 0.2420894354581833, 0.8791117072105408, -1.1427499055862427, 0.616479218006134, 1.1341211795806885, -0.5186359286308289, -0.881726086139679, 0.2831727862358093, 0.1760479062795639, -0.6526226997375488, 0.514864981174469, 0.2205054610967636, -0.43209341168403625, 0.23178724944591522, -1.0880558490753174, -0.38539838790893555, 0.4784604609012604, 0.31708329916000366, -0.3854764401912689, 0.287894070148468, 0.32409361004829407, 0.23932920396327972, -0.41889938712120056, 0.23411159217357635, 0.5220039486885071, 0.6125183701515198, 0.0973019152879715, -0.4761514961719513, 0.032723866403102875, -0.3616582453250885, -0.16958172619342804, -0.03044339083135128, -0.4109537899494171, 0.5474364161491394, -0.04109951853752136, -0.30800846219062805, 0.2856912612915039, 0.8935979008674622, 0.5042799115180969, 0.6295281052589417, 0.5829925537109375, 0.09492575377225876, 0.5316284894943237, 0.17225152254104614, 0.9985527396202087, -0.3860941231250763, -0.13944315910339355, 0.506930947303772, -0.5164827108383179, 0.7479541301727295, 0.48167815804481506, 0.06030597910284996, 0.812679648399353, 0.5072900056838989, 0.43800094723701477, 0.5476910471916199, 0.2332547903060913, -0.6577219367027283, -0.30529484152793884, -0.49696633219718933, -0.2990676462650299, 0.4350041151046753, 0.48621705174446106, -0.2901175022125244, -0.0857878252863884, 0.3903694450855255, 0.1536835879087448, 0.449746698141098, -0.4710175096988678, 0.8941038250923157, 0.09360438585281372, -0.6639219522476196, 0.40890267491340637, 0.25085386633872986, 0.6741874814033508, -0.7554426193237305, -0.3783133924007416, 0.04169511795043945, -0.017430299893021584, -0.08160741627216339, -0.7481912970542908, -0.1238255724310875, -0.011342789977788925, 0.08374249935150146, -0.3892720341682434, 1.0695701837539673, -0.2848265469074249, -0.537456750869751, -0.25338467955589294, 0.6294710636138916, 0.1503029316663742, -0.3888479173183441, -0.7040649652481079, 0.08121035993099213, -0.005664674565196037, -0.11770203709602356, 0.48251909017562866, 0.4876857101917267, -0.11036791652441025, 0.5141732692718506, 0.8652496933937073, 0.2760140597820282, -0.3511120080947876, 0.384265273809433, 0.795673131942749, -0.7499136328697205, -0.33415544033050537, -1.09469473361969, 0.28658372163772583, -0.19943873584270477, -0.24631954729557037, 1.2672480344772339, 0.398408979177475, 0.6399452686309814, -0.134470134973526, 0.8891007900238037, 0.3302554488182068, 0.5891056656837463, -0.6631507277488708, 0.6576877236366272, -0.22430185973644257, 0.32857197523117065, -0.4157313406467438, -0.6245434284210205, 0.018920671194791794, 0.7706180810928345, -0.7784552574157715, 0.1624828428030014, 0.4916307330131531, 0.8325797915458679, 0.40217143297195435, 0.23336364328861237, 0.1690380722284317, 0.2639015316963196, 0.2864295244216919, 0.2345578372478485, 1.329880714416504, 0.10728377848863602, 0.5990075469017029, -0.18063780665397644, -0.3134053349494934, -0.024590816348791122, -0.8522621393203735, -1.0574804544448853, -0.5173971652984619, -0.4707602262496948, -0.4019119441509247, 0.34771716594696045, 0.946195125579834, 0.462761253118515, -0.6870410442352295, -0.2665010392665863, 0.0944582149386406, 0.1609627604484558, -0.22836719453334808, -0.19656847417354584, 0.514428973197937, -0.018764564767479897, -0.5230275392532349, 0.07570168375968933, -0.06150730326771736, 0.14538712799549103, -0.14376722276210785, 0.04700355604290962, -0.5194960236549377, 0.16648443043231964, 0.6113211512565613, 0.3639521598815918, -0.4459439218044281, -0.09682028740644455, -0.09706870466470718, 0.12669970095157623, -0.0811358094215393, 0.9313663840293884, -0.8024599552154541, -0.18369358777999878, 0.2964330315589905, 0.48217684030532837, 0.38739922642707825, 0.522853672504425, 0.33501410484313965, -0.580695629119873, 0.07363149523735046, 0.2881641387939453, 0.15652163326740265, 0.38504815101623535, -0.09654901176691055, 0.06416473537683487, -0.07696591317653656, -0.4833396375179291, -0.4905116558074951, 0.3524170219898224, -0.6680960655212402, -0.41067737340927124, 1.5344181060791016, 0.12447734922170639, -0.06305843591690063, -0.47087913751602173, -0.7537800669670105, 0.24966736137866974, -0.7166354656219482, 0.9976456761360168, 0.8839733600616455, 0.022675924003124237, -0.22862671315670013, -0.37965041399002075, 0.5640620589256287, 0.7112547755241394, -0.5510566830635071, -0.47231438755989075, 0.40257230401039124, 0.2694430649280548, 0.024155592545866966, 0.633707582950592, 0.17129306495189667, 0.10746168345212936, -0.25623223185539246, -0.1666848063468933, 0.03292587772011757, -0.40579283237457275, -0.4225018620491028, 0.5569846034049988, 0.3455476760864258, -0.10140962153673172 ]
http://arxiv.org/abs/2405.12875v1
http://arxiv.org/pdf/2405.12875v1
Diffusion-RSCC: Diffusion Probabilistic Model for Change Captioning in Remote Sensing Images
2024-05-21T15:44:31
2024-05-21T15:44:31
Xiaofei Yu, Yitong Li, Jie Ma
cs.CV
cs.CV, cs.CL
Remote sensing image change captioning (RSICC) aims at generating human-like language to describe the semantic changes between bi-temporal remote sensing image pairs. It provides valuable insights into environmental dynamics and land management. Unlike conventional change captioning task, RSICC involves not only retrieving relevant information across different modalities and generating fluent captions, but also mitigating the impact of pixel-level differences on terrain change localization. The pixel problem due to long time span decreases the accuracy of generated caption. Inspired by the remarkable generative power of diffusion model, we propose a probabilistic diffusion model for RSICC to solve the aforementioned problems. In training process, we construct a noise predictor conditioned on cross modal features to learn the distribution from the real caption distribution to the standard Gaussian distribution under the Markov chain. Meanwhile, a cross-mode fusion and a stacking self-attention module are designed for noise predictor in the reverse process. In testing phase, the well-trained noise predictor helps to estimate the mean value of the distribution and generate change captions step by step. Extensive experiments on the LEVIR-CC dataset demonstrate the effectiveness of our Diffusion-RSCC and its individual components. The quantitative results showcase superior performance over existing methods across both traditional and newly augmented metrics. The code and materials will be available online at https://github.com/Fay-Y/Diffusion-RSCC.
[ -0.37034371495246887, -0.5055853128433228, 0.4691901206970215, -0.005424123723059893, -0.4450819194316864, 0.0009612215217202902, -0.09045757353305817, -0.14836443960666656, 0.10051853954792023, 0.3085136115550995, -0.6548606753349304, -0.46093136072158813, -0.7868146300315857, -0.1741810292005539, -0.39670249819755554, 0.820683479309082, -0.21599465608596802, 0.31660398840904236, -0.13008280098438263, -0.08741793036460876, -0.33718493580818176, 0.24719585478305817, -0.5698934197425842, 0.16739913821220398, 0.39663559198379517, 0.0820402204990387, 0.8568457961082458, 0.1955774873495102, 0.46740826964378357, 0.1896125227212906, -0.25513437390327454, 0.09095100313425064, -0.09425562620162964, 0.21868614852428436, -0.16838626563549042, -0.37476715445518494, 0.10872511565685272, -0.12084099650382996, 0.8674060702323914, 0.302261084318161, -0.4637190103530884, -0.03781506419181824, -0.2674633264541626, 0.7281249165534973, -0.6309773325920105, 0.4832422733306885, -0.6125630140304565, 0.12787288427352905, -0.22442007064819336, -0.48828238248825073, -0.1816568374633789, 0.15445901453495026, -0.00867323949933052, -0.7399052977561951, 0.8712626099586487, 0.20336878299713135, 0.8230662941932678, 0.34138229489326477, 0.0017248006770387292, -0.00048010313184931874, -0.8066807389259338, 0.8300989866256714, -0.7659564018249512, 0.38376864790916443, 0.42698994278907776, 0.49930691719055176, -0.23304788768291473, -0.3889009356498718, -0.6075854301452637, -0.3627346158027649, 0.20477572083473206, 0.45361244678497314, 0.019271157681941986, -0.22908039391040802, -0.07328592985868454, 0.32283371686935425, -0.4173773527145386, -0.20217503607273102, -0.6794503331184387, -0.1571161299943924, 0.518845796585083, 0.19415241479873657, 0.15947522222995758, -0.1805478185415268, -0.3703811466693878, -0.03876331076025963, -0.7468032836914062, -0.11004441231489182, 0.43672826886177063, 0.37034469842910767, -0.5543738007545471, 0.28966328501701355, -0.31756001710891724, 0.6387566924095154, -0.06667046248912811, 0.04514913633465767, 0.16036102175712585, -0.338862806558609, -0.044199138879776, -0.2892116606235504, 0.6804240345954895, 0.27772900462150574, -0.12190099060535431, -0.05819793790578842, -0.30057477951049805, -0.10062749683856964, 0.0846543088555336, -0.4759577810764313, -0.5545082092285156, 0.03305979445576668, -0.5917927622795105, -0.503910481929779, 0.22573518753051758, -0.8408002853393555, -0.3665498197078705, -0.3593877851963043, 0.267484188079834, -0.0964994803071022, -0.5915251970291138, 0.20805196464061737, -0.041965022683143616, 0.19409942626953125, 0.5412019491195679, -0.46245667338371277, 0.3637377917766571, 0.2824171781539917, 1.203609824180603, -0.37452220916748047, -0.21319518983364105, -0.4088837504386902, 0.018791550770401955, -0.3491073250770569, 1.0651708841323853, -0.6569429636001587, -0.23190613090991974, -0.3347291052341461, 0.2577935457229614, 0.12717606127262115, -0.5148588418960571, 0.14126816391944885, -0.9735057950019836, 0.19587090611457825, 0.012794479727745056, 0.055662818253040314, -0.0031857446301728487, -0.06864243000745773, -0.8732573986053467, 0.7959074378013611, 0.45468881726264954, -0.807478129863739, 0.3229616582393646, -0.9397902488708496, -0.46791213750839233, 0.19700056314468384, 0.23118920624256134, -1.0165653228759766, -0.3182699680328369, 0.10537856072187424, 0.310138076543808, -0.3754118084907532, 0.13425606489181519, -0.07912255823612213, 0.08999026566743851, 0.4892362952232361, -0.23616500198841095, 0.3404467701911926, 0.6808969378471375, -0.14503635466098785, 0.3144221603870392, -0.24296781420707703, -0.603029727935791, -0.03671365603804588, -0.08811910450458527, 0.09379996359348297, 0.3820180892944336, 0.22831036150455475, 0.0869058147072792, -0.27922502160072327, -0.4396054446697235, -0.1734548807144165, 0.003242272650822997, 0.6395501494407654, 0.6040447354316711, 0.5132297873497009, 0.8221834897994995, -0.36617934703826904, 0.7047432065010071, 0.6548282504081726, 0.4599445164203644, -0.07918744534254074, -0.678772509098053, -0.19445593655109406, -0.28695929050445557, 0.552038311958313, 0.3466038703918457, -0.6072273850440979, 0.03096194937825203, -0.09318658709526062, -0.2693460285663605, -0.1650639921426773, 0.058282751590013504, -0.14796102046966553, 0.35143783688545227, 0.4772752821445465, -0.5097559690475464, -0.38556843996047974, -0.571307361125946, 0.2424793392419815, 0.21570119261741638, -0.042184412479400635, 0.007175121456384659, 0.44326528906822205, -0.21271395683288574, 0.8538645505905151, -0.5849258899688721, -0.5935296416282654, -0.36860883235931396, 0.3494047522544861, -0.24521338939666748, 0.41508543491363525, 0.4284543991088867, -1.2613677978515625, -0.5191419720649719, -0.23158055543899536, -0.15461918711662292, -0.1608135849237442, -0.6419984102249146, -0.14524473249912262, 0.28138116002082825, 0.6257473230361938, -0.5953425168991089, 0.6493130326271057, 0.6079258322715759, 0.02187655121088028, 0.6968094706535339, -0.24023596942424774, 0.5263768434524536, -0.9380038976669312, -0.37888896465301514, 0.4559241533279419, -0.22463726997375488, -0.16408154368400574, 0.2024928331375122, -0.20815908908843994, -0.05159639194607735, -0.5872217416763306, 0.09195657074451447, -0.8757140040397644, -0.2947509288787842, -0.09929998219013214, 0.13334979116916656, -0.4197262227535248, 0.28229570388793945, 0.3241155445575714, 0.7325564622879028, 0.9973751306533813, -0.6526932716369629, 0.31062325835227966, -0.00007943446689750999, -0.5009669661521912, 0.44165077805519104, -0.3364499509334564, -0.47365981340408325, -0.4646402597427368, 0.38355758786201477, -1.2834969758987427, -0.04149137809872627, 0.683359682559967, -0.46293744444847107, 0.18067292869091034, -0.4187987744808197, -0.4465036690235138, -0.06839735060930252, -0.08934210985898972, 0.3835254907608032, 0.5543164610862732, -0.20094886422157288, 0.7079738974571228, 0.19048269093036652, -0.2362443208694458, -0.04536290466785431, -0.9171317219734192, 0.22262610495090485, -0.025663167238235474, -0.19192753732204437, 0.39022865891456604, -0.2382885068655014, -0.01617720164358616, 0.29162800312042236, 0.024162696674466133, -0.16410991549491882, -0.1308179646730423, 0.5689300298690796, 0.0658322349190712, -0.02677123434841633, -0.09434511512517929, 0.11822640150785446, -0.22953571379184723, 0.0023894309997558594, -0.22087855637073517, 0.34578970074653625, 0.12192351371049881, -0.258903443813324, -0.6886550784111023, 0.1563817709684372, 0.5420451760292053, -0.30501052737236023, 0.7549213767051697, 0.46960359811782837, -0.13347257673740387, -0.11587457358837128, -0.22399397194385529, -0.18323464691638947, -0.33692362904548645, 0.5054947137832642, -0.2294131964445114, -0.4125243127346039, 0.750855028629303, -0.301254540681839, -0.14174312353134155, 0.38526013493537903, 0.4894721508026123, -0.234843447804451, 0.6124019026756287, 0.28445538878440857, 0.08829226344823837, 0.8926050066947937, -0.5580768585205078, -0.038816407322883606, -0.7770316004753113, -0.11637349426746368, -0.12031254917383194, -0.3802417516708374, -0.28399309515953064, -0.9947981238365173, 0.2395501434803009, -0.15413548052310944, -0.0790005624294281, 0.3305358290672302, -0.5142635107040405, 0.4501779079437256, 0.22495298087596893, 0.27814364433288574, 0.15318816900253296, 0.4280727505683899, 0.3871757984161377, -0.12675513327121735, -0.49933335185050964, -0.06682029366493225, 0.8667997121810913, 0.2706424295902252, 0.9772933125495911, 0.27749162912368774, 0.4318704903125763, 0.9518798589706421, 0.4020732641220093, -0.44645464420318604, 0.588101327419281, 0.11419396102428436, -0.24814532697200775, -0.3544115424156189, -0.46499374508857727, -0.9875754714012146, 0.19838042557239532, -0.26464346051216125, 0.061349574476480484, 0.04688261076807976, 0.11686559021472931, -0.16297465562820435, 0.7246172428131104, -0.25982028245925903, 0.47696420550346375, 0.10584770888090134, -0.1280425637960434, -0.5673407912254333, -0.9584033489227295, 0.09375502914190292, 0.08568032085895538, 0.31382063031196594, 0.1570361852645874, -0.15721775591373444, 0.5684072375297546, -0.14527705311775208, 0.9578573107719421, -0.46989479660987854, 0.1124924048781395, 0.6259449124336243, 0.5316460728645325, 0.40775254368782043, 0.0675157681107521, 0.18093743920326233, 0.17760871350765228, 0.021678123623132706, -0.3967306613922119, -0.5181213617324829, 0.5078928470611572, -0.8436840772628784, -0.2201945185661316, -0.5727136135101318, -0.42396658658981323, 0.3420203924179077, -0.15724577009677887, 0.2594705820083618, 0.2692433297634125, -0.11409363895654678, -0.2414698451757431, 0.7369071841239929, -0.13121290504932404, 0.18128721415996552, 0.7337517738342285, 0.10832438617944717, -0.48851436376571655, 0.9794095754623413, 0.09826331585645676, 0.5170989632606506, 0.5134723782539368, 0.3872465193271637, -0.13983483612537384, -0.8446916341781616, -0.4350127577781677, 0.3010159432888031, -0.43031883239746094, -0.5936597585678101, -0.49850159883499146, -0.2485942393541336, -0.33881616592407227, -0.30916526913642883, -0.10496023297309875, -0.21491138637065887, -0.5829074382781982, -0.019061436876654625, 0.5121829509735107, 0.7269576787948608, -0.3610851466655731, 0.5956752300262451, -0.4716378152370453, 0.5773460268974304, 0.057664889842271805, 0.18929649889469147, -0.038765594363212585, -0.9083148837089539, -0.13826416432857513, 0.21838590502738953, -0.2860594689846039, -0.8573283553123474, 0.6718929409980774, 0.2501125633716583, 0.4277523159980774, 0.17947347462177277, 0.13644616305828094, 0.3341672718524933, -0.08232180774211884, 0.9939000606536865, 0.3090699017047882, -0.7413976788520813, 0.44407325983047485, -0.3003089427947998, 0.19965970516204834, 0.10376104712486267, 0.19136178493499756, -0.5430367588996887, -0.4838450253009796, -0.6712304353713989, -0.6249380111694336, 0.5146144032478333, -0.06375676393508911, -0.0074438005685806274, 0.12029317021369934, 0.38829123973846436, 0.03762614354491234, 0.06371200829744339, -0.7024472951889038, 0.0560145229101181, -0.25503310561180115, -0.12187762558460236, 0.24030283093452454, -0.13110804557800293, -0.25245925784111023, -0.12151011824607849, 0.6671784520149231, 0.09602516889572144, 0.3466152250766754, 0.3752821683883667, -0.19286033511161804, -0.5059438347816467, 0.2383284568786621, 0.854957640171051, 0.3625839352607727, -0.03795764222741127, 0.1738065481185913, 0.18354302644729614, -0.48727017641067505, -0.15006369352340698, -0.10707803815603256, -0.28273409605026245, -0.10951756685972214, 0.19259022176265717, 0.5261428356170654, 0.23426471650600433, -0.31410256028175354, 0.7928171157836914, 0.16511183977127075, -0.5313412547111511, -0.45061421394348145, -0.22271141409873962, 0.0834006667137146, 0.1966509371995926, 0.41505154967308044, 0.7822047472000122, 0.28289249539375305, -0.17945951223373413, 0.026117950677871704, 0.3136114776134491, -0.2964630126953125, -0.4220474362373352, 0.798596203327179, 0.0612516887485981, -0.0023770490661263466, 0.31242865324020386, -0.5897554755210876, -0.5076186656951904, 0.7222201824188232, 0.2790996730327606, 0.7604885697364807, -0.13477672636508942, 0.7492454051971436, 0.4013684093952179, 0.22770512104034424, -0.3920752704143524, 0.0729382112622261, -0.6070186495780945, -0.6701797246932983, -0.3728311359882355, -0.21504321694374084, -0.3314144015312195, -0.31869345903396606, -0.4725548326969147, 0.17832180857658386, -0.5360629558563232, 0.0787583664059639, -0.29359617829322815, -0.34194231033325195, -0.5396053791046143, 0.11293812841176987, 0.10774942487478256, 0.6007237434387207, -1.3214300870895386, 0.5123858451843262, 0.49880123138427734, -0.6326482892036438, -0.23653559386730194, -0.054967280477285385, -0.25318291783332825, -0.3767158091068268, 0.7948725819587708, -0.3431583344936371, -0.3438451588153839, -0.23896609246730804, -1.0138272047042847, -0.6728553175926208, 1.141210913658142, -0.15198439359664917, -0.6526244878768921, 0.5447663068771362, 0.11293467879295349, 0.49525779485702515, -0.4087029993534088, 0.09477856010198593, 0.059884943068027496, 0.42785775661468506, 0.4368212819099426, -0.2718939483165741, -0.013730072416365147, 0.3160592317581177, 0.3429880142211914, 0.10306257754564285, -0.6704075336456299, 0.7746667265892029, -0.7342724800109863, -0.6589578986167908, 0.3159685432910919, 0.9189958572387695, 0.00181803188752383, 0.3039460778236389, 0.8606835007667542, 0.5123741626739502, 0.24749523401260376, -0.09447424113750458, 0.6341374516487122, 0.005023083183914423, 0.5231662392616272, 0.972598135471344, -0.3042031526565552, 0.9521219730377197, 0.5107998251914978, -0.47289812564849854, 1.051592230796814, 0.6913684010505676, -0.13303537666797638, 1.0868746042251587, 0.45978060364723206, -0.5367616415023804, -0.3541155159473419, 0.3177087903022766, -0.22146084904670715, -0.20796294510364532, 0.13993953168392181, -0.38211020827293396, -0.3210355043411255, 0.21903038024902344, -0.3789604902267456, 0.2233399599790573, -0.15128718316555023, 0.5102819800376892, -0.22192899882793427, -0.2972472608089447, 0.17591094970703125, 0.16073369979858398, 0.942605197429657, -0.7300133109092712, -0.2147725522518158, -0.14596639573574066, -0.17177924513816833, -0.47608810663223267, -1.1506367921829224, 0.3242512047290802, -0.48837918043136597, -0.5037744045257568, -0.3023999035358429, 0.21396052837371826, -0.6169206500053406, -0.4689185619354248, -0.10258246958255768, -0.04841335117816925, 0.46649739146232605, -0.03219611197710037, -0.7779287695884705, 0.19333811104297638, -0.006201834883540869, -0.1336965709924698, 0.3573523163795471, 0.2734347879886627, -0.1097923144698143, 0.7220130562782288, 0.8677237629890442, 0.5530797839164734, 0.04430191591382027, 0.35258597135543823, 0.8212860822677612, -0.4098466634750366, -0.5653409957885742, -0.23364412784576416, 0.491678923368454, 0.11043034493923187, 0.05328904837369919, 0.239750936627388, 0.5127659440040588, 0.47218871116638184, -0.5881384611129761, 0.7540314197540283, -0.24288634955883026, 0.373544305562973, -0.4951169192790985, 0.5241047739982605, -0.3083510994911194, 0.3158157169818878, -0.06589066982269287, -0.7484936118125916, -0.5231308341026306, 0.6821432709693909, -0.4656897783279419, 0.0041879271157085896, 0.5055127143859863, 1.531496524810791, -0.23595722019672394, -0.16541287302970886, 0.23536226153373718, 0.08671616017818451, 0.23195847868919373, 0.38643887639045715, 0.877345621585846, -0.6076555252075195, 0.4375118911266327, 0.03978631645441055, -0.3255577087402344, 0.15954744815826416, -0.9624449610710144, -0.3268369436264038, -1.020236849784851, -1.0438989400863647, -0.428573876619339, 0.06334178149700165, 0.43920254707336426, 0.8214396834373474, -1.0216623544692993, 0.0987122431397438, -0.41274264454841614, 0.11338208615779877, -0.5626215934753418, -0.3585646450519562, 0.2048027664422989, -0.03762146458029747, -0.3986011743545532, 0.03229209780693054, 0.1971769630908966, 0.25615525245666504, -0.6412182450294495, -0.319987028837204, -0.06524099409580231, -0.17054075002670288, 0.23455345630645752, 0.4145199954509735, -0.9205296635627747, -0.0989094078540802, -0.4398277997970581, 0.04179315268993378, 0.10105271637439728, 0.876315176486969, -0.7213624119758606, 0.4306875765323639, 0.6057631373405457, 0.22094017267227173, 0.8014686107635498, 0.06331924349069595, 0.0468168631196022, -0.5826151967048645, 0.11260119080543518, -0.09634248167276382, 0.1695866584777832, 0.54153972864151, -0.41966712474823, 0.3446901738643646, 0.6347262859344482, -0.6303234696388245, -0.5971914529800415, 0.17329034209251404, -1.3522393703460693, -0.27566593885421753, 1.3237899541854858, 0.03201422840356827, -0.14825937151908875, -0.18039005994796753, -0.4332536458969116, -0.021447263658046722, -0.5701016187667847, 0.7034324407577515, 0.3463329076766968, 0.1393832266330719, -0.9332810640335083, -0.2948165237903595, 0.3085939586162567, 0.13870248198509216, -0.4553035795688629, 0.310567170381546, 0.6426830291748047, 0.9630632400512695, 0.03897808492183685, 0.48200860619544983, -0.44241923093795776, 0.28110530972480774, 0.021376825869083405, 0.3612513542175293, -0.20780456066131592, -0.2638569176197052, -0.28420132398605347, 0.10546214133501053, -0.023907676339149475, -0.2775474190711975 ]
http://arxiv.org/abs/2405.12856v2
http://arxiv.org/pdf/2405.12856v2
LLM Processes: Numerical Predictive Distributions Conditioned on Natural Language
2024-05-21T15:13:12
2024-05-25T22:07:48
James Requeima, John Bronskill, Dami Choi, Richard E. Turner, David Duvenaud
stat.ML
stat.ML, cs.CL, cs.LG
Machine learning practitioners often face significant challenges in formally integrating their prior knowledge and beliefs into predictive models, limiting the potential for nuanced and context-aware analyses. Moreover, the expertise needed to integrate this prior knowledge into probabilistic modeling typically limits the application of these models to specialists. Our goal is to build a regression model that can process numerical data and make probabilistic predictions at arbitrary locations, guided by natural language text which describes a user's prior knowledge. Large Language Models (LLMs) provide a useful starting point for designing such a tool since they 1) provide an interface where users can incorporate expert insights in natural language and 2) provide an opportunity for leveraging latent problem-relevant knowledge encoded in LLMs that users may not have themselves. We start by exploring strategies for eliciting explicit, coherent numerical predictive distributions from LLMs. We examine these joint predictive distributions, which we call LLM Processes, over arbitrarily-many quantities in settings such as forecasting, multi-dimensional regression, black-box optimization, and image modeling. We investigate the practical details of prompting to elicit coherent predictive distributions, and demonstrate their effectiveness at regression. Finally, we demonstrate the ability to usefully incorporate text into numerical predictions, improving predictive performance and giving quantitative structure that reflects qualitative descriptions. This lets us begin to explore the rich, grounded hypothesis space that LLMs implicitly encode.
[ -0.4304153621196747, -0.9376294016838074, 0.9585297703742981, 0.2556959390640259, -0.19113382697105408, -0.018881402909755707, -0.37158480286598206, -0.4150891900062561, -0.014145907014608383, 0.8923715353012085, -0.5569660663604736, -0.47765207290649414, -0.5829881429672241, -0.0017091850750148296, -0.3942995071411133, 0.9584468007087708, -0.22930628061294556, 0.2090207040309906, -0.2928144037723541, 0.3267052471637726, -0.1465146690607071, -0.7531819939613342, -0.6065129637718201, -0.5196608901023865, 0.5272694826126099, -0.028054147958755493, 0.8680582046508789, 0.5030317306518555, 0.5033292770385742, 0.2715303897857666, 0.06829430907964706, 0.11824625730514526, -0.42741596698760986, 0.4718056917190552, 0.06772160530090332, -0.509044349193573, -0.15373669564723969, -0.13727468252182007, 0.6994325518608093, 0.8479105234146118, -0.24526098370552063, 0.028945164754986763, 0.11668030917644501, 0.41674739122390747, -0.4937732219696045, 0.4970898926258087, -0.6719836592674255, 0.05874408781528473, 0.011717401444911957, -0.1906723827123642, -0.4518483877182007, -0.3400934934616089, 0.1004951223731041, -0.3774581849575043, 0.1288709044456482, -0.1547665297985077, 0.21810251474380493, 0.402415007352829, -0.20411238074302673, -0.26369109749794006, -0.9316449165344238, 0.9317325949668884, -0.6407106518745422, 0.29453837871551514, 0.6523609757423401, 0.36210116744041443, -0.45808613300323486, -0.6825242638587952, -0.3283432126045227, -0.33829745650291443, 0.10729779303073883, -0.015024719759821892, -0.07861162722110748, 0.21252918243408203, 0.2965734601020813, -0.03739014267921448, -0.3579563498497009, 0.13661018013954163, -0.18709561228752136, 0.015649961307644844, 0.8883626461029053, 0.3205336928367615, -0.14920316636562347, 0.05398770794272423, -0.2428368479013443, 0.08217242360115051, -0.44682854413986206, -0.21814388036727905, 0.34136420488357544, 0.49313896894454956, -0.22187988460063934, 0.65556800365448, -0.10140401124954224, 0.5825821757316589, -0.3336847126483917, -0.3942970633506775, -0.028982488438487053, -0.0873136818408966, -0.3840365409851074, -0.14718984067440033, 0.8770616054534912, -0.03501724824309349, 0.47894740104675293, -0.11227645725011826, -0.4375993609428406, -0.07967591285705566, 0.1535702496767044, -0.7871682047843933, -0.2922479212284088, 0.22748105227947235, -0.27542614936828613, -0.23404641449451447, -0.2075778841972351, -0.600936233997345, -0.38449153304100037, -0.7472212314605713, 0.17186442017555237, -0.36097252368927, -0.15456996858119965, 0.20706507563591003, -0.05595463886857033, -0.25789695978164673, 0.47450172901153564, -1.0040053129196167, 0.4347415864467621, 0.7150707840919495, 0.6195433139801025, -0.062338780611753464, -0.02517537772655487, -0.2182273417711258, 0.27345380187034607, -0.3507773280143738, 0.7696900963783264, -0.705594539642334, -0.29048848152160645, 0.3670693635940552, -0.22570189833641052, 0.014277635142207146, -0.6159948706626892, 0.3842823803424835, -0.6318870186805725, -0.07026776671409607, 0.07081706821918488, -0.6137474775314331, -0.20457367599010468, 0.04936233162879944, -0.5751326680183411, 0.8730055093765259, -0.048166219145059586, -0.7900813221931458, 0.21305522322654724, -0.5144095420837402, -0.35068926215171814, 0.04505322128534317, -0.1177600622177124, -0.24235181510448456, 0.32025572657585144, 0.1720605194568634, 0.9547086358070374, -0.4590194523334503, 0.6035894751548767, -0.6470685601234436, -0.05041655898094177, 0.43777740001678467, -0.6575929522514343, 0.38127464056015015, 0.4257516860961914, 0.1274665892124176, 0.05439578741788864, -0.6344172358512878, -0.09407198429107666, -0.07197489589452744, -0.14245197176933289, -0.22593475878238678, 0.18428726494312286, 0.07014703005552292, 0.017367711290717125, 0.2621946334838867, 0.0516546368598938, 0.31581228971481323, -0.34216785430908203, 0.33704009652137756, 0.637773334980011, 0.19350160658359528, 0.699978232383728, -0.07819966971874237, 0.7145074605941772, -0.06830358505249023, -0.045044366270303726, -0.3164069950580597, -0.568309485912323, -0.3245525658130646, -0.26978400349617004, -0.04223135858774185, 0.6646412014961243, -0.8654490113258362, 0.005563502199947834, 0.12785126268863678, -0.40255430340766907, -0.1594829261302948, 0.3345162570476532, 0.04742235690355301, 0.3837345838546753, 0.08061253279447556, 0.2757677137851715, -0.7783424258232117, -0.7813876867294312, 0.061375975608825684, -0.2587580680847168, -0.241722971200943, 0.10142052918672562, 0.5016487240791321, -0.32789117097854614, 0.8059102892875671, -0.8347602486610413, 0.02769293077290058, -0.17524665594100952, 0.4647330045700073, 0.47941067814826965, 0.09223654866218567, 0.22330307960510254, -0.8083732724189758, -0.28951892256736755, 0.014422127977013588, -1.058769941329956, -0.10353090614080429, -0.2031271904706955, -0.03590109199285507, 0.2991252839565277, 0.6384180784225464, -0.5952380895614624, 0.29964539408683777, 0.5897864103317261, -0.029779409989714622, 0.6686136722564697, -0.4081873297691345, -0.16391360759735107, -1.100685954093933, -0.30076614022254944, 0.5000126957893372, -0.16698119044303894, -0.6184547543525696, -0.10297530144453049, -0.2444380521774292, -0.0699569582939148, -0.38826531171798706, 0.6771371364593506, -0.36287984251976013, -0.24636085331439972, -0.22369764745235443, -0.24642837047576904, -0.3254641592502594, 0.15415333211421967, 0.4851002097129822, 0.7117885947227478, 0.5660367608070374, -0.6675240397453308, 0.20011477172374725, -0.041112009435892105, -0.34197619557380676, 0.326860249042511, -0.5542758107185364, -0.2305954396724701, -0.32296448945999146, 0.1628885269165039, -1.0276318788528442, -0.4274381399154663, 0.0645957663655281, -0.3835633397102356, 0.25902673602104187, -0.26842984557151794, -0.7617100477218628, -0.38465359807014465, 0.03146432340145111, 0.1693805307149887, 0.6552320718765259, -0.13218417763710022, 0.476228803396225, 0.45833420753479004, -0.4724656343460083, -0.4358941614627838, -0.7316859364509583, 0.07034235447645187, -0.35188719630241394, -0.6445184946060181, 0.21524904668331146, -0.13204562664031982, -0.6213556528091431, -0.0806402862071991, 0.4278157949447632, -0.3432464301586151, 0.22140194475650787, 0.3263099789619446, 0.38998040556907654, -0.30521872639656067, 0.29929471015930176, -0.006300054956227541, -0.10746975243091583, 0.3487226963043213, -0.4981589913368225, 0.3710482716560364, 0.19904926419258118, -0.2658189535140991, -0.2986688017845154, 0.2093908190727234, 0.48302528262138367, 0.18095357716083527, 0.9153537750244141, 0.7687361240386963, -0.696597158908844, -0.27630841732025146, -0.5340905785560608, -0.3436740040779114, -0.4288778007030487, 0.3305814266204834, -0.37376171350479126, -0.8901064991950989, 0.6861408352851868, -0.11145392060279846, -0.043745171278715134, 0.1898406594991684, 0.7660219669342041, -0.3391816020011902, 1.3227978944778442, 0.7425669431686401, 0.06077631562948227, 0.461381733417511, -0.3009779751300812, 0.26738956570625305, -0.5104796290397644, -0.25585976243019104, -0.48693495988845825, 0.04522917419672012, -0.4880129098892212, -0.867455005645752, 0.2308853417634964, 0.3184753358364105, -0.31205740571022034, -0.06855703145265579, -0.2544160485267639, 0.4100194275379181, 0.3065328299999237, -0.14065130054950714, 0.05438605323433876, 0.3623858392238617, -0.18134070932865143, -0.2548668086528778, -0.5348336696624756, -0.7877758145332336, 0.9285561442375183, 0.5890588164329529, 1.1906087398529053, -0.2744097113609314, 0.7566784024238586, 0.35609787702560425, 0.6392151713371277, -0.7285783290863037, 0.47387611865997314, -0.2054787129163742, -0.29846709966659546, -0.29956233501434326, -0.39117223024368286, -0.9038892984390259, 0.052242714911699295, -0.3080209791660309, -0.7931706309318542, -0.18463745713233948, 0.09879235923290253, -0.20311404764652252, 0.5095893144607544, -0.596703290939331, 0.5019147396087646, -0.19390958547592163, -0.4951757788658142, -0.09426736831665039, -0.32902780175209045, 0.5405523180961609, -0.3885171413421631, 0.531204879283905, -0.14274324476718903, -0.1590590626001358, 0.5028437972068787, -0.22917987406253815, 1.11916184425354, -0.24009552597999573, -0.22681476175785065, 0.4063553810119629, 0.13719582557678223, 0.4790993928909302, 0.18692250549793243, -0.45936426520347595, 0.031192410737276077, -0.09423085302114487, -0.20584338903427124, -0.6272993087768555, 0.5567600727081299, -0.8682680130004883, -0.4977377653121948, -0.2328767627477646, -0.7022099494934082, -0.25157395005226135, -0.06016026809811592, 0.10588015615940094, 0.17043694853782654, -0.08310092985630035, -0.07367846369743347, 0.7486523389816284, -0.18190117180347443, 0.39648860692977905, 0.16341741383075714, -0.41512197256088257, -0.6415473222732544, 0.6143174171447754, 0.09576696902513504, 0.1305772364139557, 0.5558607578277588, 0.24190852046012878, -0.7170758843421936, -0.8958126902580261, -0.09339696913957596, 0.32470160722732544, -0.7477279305458069, -0.19640174508094788, -0.6662458181381226, -0.21529097855091095, -0.5284852385520935, -0.40389564633369446, 0.008718017488718033, -0.20953677594661713, -0.6374543309211731, -0.13100315630435944, 0.48217496275901794, 1.0479401350021362, -0.02051565982401371, 0.5019299387931824, -0.8377548456192017, 0.339521199464798, 0.08214475959539413, 0.15066608786582947, -0.008373353630304337, -0.4582756757736206, -0.295747846364975, 0.14838480949401855, -0.16355237364768982, -0.7479752898216248, 0.9997358918190002, -0.07224200665950775, 0.7211565375328064, 0.36929836869239807, -0.006495380774140358, 0.6207116842269897, -0.39985358715057373, 0.6454992890357971, 0.28494030237197876, -0.5884295105934143, 0.48822101950645447, -0.624565839767456, 0.16623401641845703, 0.28680890798568726, 0.7424263954162598, -0.277923583984375, -0.4729638993740082, -0.4663865268230438, -0.7410985231399536, 0.4879908859729767, -0.05476171150803566, 0.21249638497829437, -0.2710181772708893, 0.4732867181301117, 0.20636923611164093, 0.4125199317932129, -0.6202025413513184, -0.026820972561836243, 0.15334399044513702, -0.3508968949317932, -0.4002869725227356, -0.4868265986442566, 0.027501821517944336, -0.13241174817085266, 0.4354984164237976, -0.35566818714141846, 0.18048527836799622, -0.037311188876628876, 0.017814576625823975, -0.03239332512021065, 0.014755606651306152, 0.6169639229774475, 0.5767648220062256, -0.2158457338809967, 0.20790177583694458, 0.18640801310539246, -0.23987199366092682, 0.11290718615055084, 0.10743431001901627, -0.07334057986736298, -0.10844585299491882, 0.44895362854003906, 0.7642213106155396, 0.4660532772541046, -0.5463066101074219, 0.037778500467538834, -0.10436257719993591, -0.35676664113998413, -0.7088874578475952, -0.09103258699178696, 0.458659827709198, 0.4322226345539093, 0.5513321161270142, 0.06903546303510666, 0.19119909405708313, -0.45506569743156433, 0.24412551522254944, 0.4270753264427185, -0.28365394473075867, -0.3401658833026886, 0.7215147018432617, -0.09884434193372726, -0.2920762896537781, 0.6127638220787048, -0.21063677966594696, -0.3364536762237549, 0.6616349816322327, 0.6900918483734131, 0.9073718786239624, 0.0382770299911499, 0.3147769272327423, 0.40447741746902466, 0.006387604866176844, -0.41067901253700256, 0.3708055317401886, 0.07216615229845047, -0.6474024057388306, -0.8185411095619202, -1.020218849182129, -0.36221060156822205, -0.053426824510097504, -0.5083215832710266, 0.3760872483253479, -0.598851203918457, -0.40548503398895264, 0.14877383410930634, -0.15752632915973663, -0.7212284803390503, 0.1402781754732132, 0.6899036169052124, 0.8459174633026123, -1.0597054958343506, 0.7237496972084045, 0.6645075678825378, -0.2826511561870575, -0.5438043475151062, -0.2373100072145462, -0.05405275151133537, -0.8344115018844604, 0.9654638171195984, -0.063105508685112, 0.16498297452926636, -0.2577769160270691, -0.6273675560951233, -0.8957090377807617, 0.7338629961013794, 0.5665901303291321, -0.44359689950942993, 0.032975487411022186, 0.29253140091896057, 0.6334596276283264, -0.42544326186180115, 0.330387145280838, 0.3926244378089905, 0.5461716651916504, 0.44413018226623535, -0.6052079796791077, -0.14032702147960663, 0.20288211107254028, 0.08803698420524597, 0.3176307678222656, -0.06789030134677887, 0.8232434391975403, -0.4664578437805176, -0.057903390377759933, 0.10285723209381104, 0.7972812652587891, 0.5029063820838928, 0.5056384801864624, 0.07195223867893219, 0.5041665434837341, 0.9017799496650696, -0.03700656071305275, 1.2976425886154175, -0.12034720927476883, 0.18222080171108246, 0.9761536717414856, -0.3022729456424713, 1.213984727859497, 0.5180392861366272, -0.5301696062088013, 0.444312185049057, 0.6848016381263733, 0.07069257646799088, 0.37651151418685913, 0.35718095302581787, -0.5681765079498291, -0.34505125880241394, -0.21744577586650848, -0.0632757917046547, 0.07393203675746918, 0.7228870987892151, -0.3961762487888336, -0.10581815242767334, -0.037303972989320755, -0.14142481982707977, 0.2641783356666565, -0.42054814100265503, 0.7389034032821655, 0.40889832377433777, -0.668701708316803, 0.48170962929725647, -0.1034792810678482, 0.7012110352516174, -0.6640675067901611, -0.12105528265237808, 0.02680252492427826, 0.0652756616473198, -0.25869157910346985, -1.2258703708648682, 0.4225693643093109, -0.11207487434148788, -0.3825054466724396, -0.5585934519767761, 0.8412899971008301, -0.46191301941871643, -0.9552281498908997, 0.2882155478000641, 0.5135559439659119, 0.3735979199409485, -0.17829099297523499, -0.634736180305481, 0.07043176889419556, -0.013668237254023552, -0.22233763337135315, 0.45057982206344604, 0.6620584726333618, -0.18549387156963348, 0.8850286602973938, 0.8644425272941589, 0.2655409276485443, 0.044055890291929245, 0.4595942199230194, 0.5668522119522095, -0.7076234817504883, -0.30299484729766846, -0.9962125420570374, 0.3974991738796234, 0.24956396222114563, 0.15013952553272247, 0.5175202488899231, 0.3175283968448639, 0.4419408440589905, -0.18787668645381927, 0.9678179621696472, 0.49391865730285645, 0.23172447085380554, -0.7019726037979126, 0.39970406889915466, -0.29894399642944336, 0.23909178376197815, -0.09510017186403275, -0.9028531312942505, -0.5414133667945862, 0.5650139451026917, -0.49544140696525574, 0.047306712716817856, 0.43208587169647217, 0.49132972955703735, 0.18965479731559753, 0.0033999094739556313, 0.5570386052131653, 0.11647993326187134, 0.34491437673568726, 0.41118907928466797, 1.0122432708740234, 0.0327305793762207, 0.20691068470478058, -0.2401629537343979, 0.007540190126746893, -0.3221239745616913, -1.1072384119033813, -0.8571584224700928, -0.48159441351890564, -0.3337845504283905, -0.16339148581027985, -0.12115714699029922, 0.8431769013404846, 0.83599454164505, -0.5834869742393494, -0.38516494631767273, -0.21796812117099762, 0.17959105968475342, 0.20589473843574524, -0.23360517621040344, -0.010704726912081242, -0.5130059123039246, -0.6892266273498535, 0.15295279026031494, 0.2845945656299591, 0.48399949073791504, -0.5059379935264587, -0.12348725646734238, 0.23366405069828033, -0.019907528534531593, 0.7972519397735596, 0.14237937331199646, -0.7338833212852478, 0.08305653184652328, 0.07584622502326965, -0.009841468185186386, -0.2639470100402832, 0.7226682901382446, -0.886151909828186, 0.17910601198673248, 0.6577572822570801, 0.6407802104949951, 0.6395681500434875, -0.1781802773475647, 0.9348559975624084, -0.607758104801178, 0.2414509803056717, 0.4122307598590851, 0.4807957410812378, 0.3600914776325226, -0.38211679458618164, 0.483233779668808, -0.0780182033777237, -0.5639775395393372, -0.9003916382789612, 0.11843675374984741, -0.761599063873291, -0.33803263306617737, 1.2326362133026123, 0.019717754796147346, -0.3163866102695465, -0.13121441006660461, -0.08928544074296951, 0.0976477637887001, -0.3687780797481537, 0.4940911829471588, 0.7279999852180481, -0.2887989580631256, -0.221962571144104, -0.932142436504364, 0.40552452206611633, 0.03575720638036728, -0.8052332401275635, 0.2948667109012604, 0.4236532747745514, 0.15010643005371094, -0.06422138214111328, 0.4822656214237213, 0.02843627892434597, -0.13646429777145386, 0.02587321773171425, 0.029187366366386414, 0.19635067880153656, -0.29696524143218994, -0.4368019700050354, 0.32411038875579834, 0.32329896092414856, 0.42466920614242554 ]
http://arxiv.org/abs/2405.12819v1
http://arxiv.org/pdf/2405.12819v1
Large Language Models Meet NLP: A Survey
2024-05-21T14:24:01
2024-05-21T14:24:01
Libo Qin, Qiguang Chen, Xiachong Feng, Yang Wu, Yongheng Zhang, Yinghui Li, Min Li, Wanxiang Che, Philip S. Yu
cs.CL
cs.CL, cs.AI
While large language models (LLMs) like ChatGPT have shown impressive capabilities in Natural Language Processing (NLP) tasks, a systematic investigation of their potential in this field remains largely unexplored. This study aims to address this gap by exploring the following questions: (1) How are LLMs currently applied to NLP tasks in the literature? (2) Have traditional NLP tasks already been solved with LLMs? (3) What is the future of the LLMs for NLP? To answer these questions, we take the first step to provide a comprehensive overview of LLMs in NLP. Specifically, we first introduce a unified taxonomy including (1) parameter-frozen application and (2) parameter-tuning application to offer a unified perspective for understanding the current progress of LLMs in NLP. Furthermore, we summarize the new frontiers and the associated challenges, aiming to inspire further groundbreaking advancements. We hope this work offers valuable insights into the {potential and limitations} of LLMs in NLP, while also serving as a practical guide for building effective LLMs in NLP.
[ -0.5564202070236206, -0.7920374870300293, 0.6213548183441162, 0.23424622416496277, -0.30741816759109497, 0.2146308571100235, -0.5376551747322083, -0.5862550139427185, 0.13719667494297028, 0.7987810969352722, -0.6670861840248108, -0.4921591579914093, -0.838371992111206, 0.14593876898288727, -0.5669909119606018, 0.8496782779693604, 0.09022314101457596, -0.15610429644584656, 0.015091856010258198, 0.12138699740171432, -0.5704405903816223, -0.674180269241333, -0.8295758962631226, -0.47063252329826355, 0.6535339951515198, 0.27006959915161133, 0.7936879396438599, 0.47316601872444153, 0.6000451445579529, 0.3227041959762573, -0.5082980990409851, 0.15694069862365723, -0.4186691641807556, 0.5119998455047607, 0.0353207029402256, -0.5238690972328186, -0.5129684805870056, 0.01363100204616785, 0.9100990295410156, 0.9988502860069275, -0.2286273092031479, 0.08898225426673889, 0.049365997314453125, 0.48062509298324585, -0.2711823582649231, 0.27360084652900696, -0.9128888249397278, 0.14117370545864105, -0.31071335077285767, -0.3915611207485199, -0.3456742465496063, 0.09147503226995468, 0.16604331135749817, -0.1469847410917282, 0.04336295649409294, 0.37062492966651917, 0.5069987177848816, 0.18874436616897583, -0.5841920971870422, -0.42411696910858154, -0.8309229016304016, 0.966320812702179, -0.985764741897583, 0.4586195647716522, 0.13715802133083344, 0.15440668165683746, -0.6358886361122131, -0.8249489665031433, -0.3536556363105774, -0.27433356642723083, 0.12483617663383484, -0.16695347428321838, -0.15366540849208832, 0.13304924964904785, 0.2063302993774414, 0.4634159803390503, -0.7315493226051331, 0.6430054903030396, -0.07235101610422134, 0.1494618058204651, 0.6033608317375183, 0.43134167790412903, 0.34440675377845764, -0.06448151171207428, -0.24521249532699585, 0.3266274333000183, -0.6248819231987, -0.3559599816799164, -0.10378001630306244, 0.4571070373058319, -0.028117110952734947, 0.6955050230026245, -0.08765970915555954, 0.9331720471382141, -0.4747961759567261, -0.03315844014286995, -0.2017461359500885, -0.09373242408037186, -0.26648232340812683, -0.2250158190727234, 0.9738591313362122, 0.3472259044647217, 0.2931705117225647, -0.23994982242584229, -0.07672584056854248, -0.46744802594184875, -0.045361872762441635, -0.5527338981628418, 0.04236358404159546, 0.28666383028030396, -0.2768062353134155, -0.1299014538526535, -0.45839723944664, -0.932904064655304, -0.537193238735199, -0.48129668831825256, -0.02487206645309925, -0.0673205628991127, -0.4540359675884247, 0.40703558921813965, 0.10207517445087433, 0.541695237159729, 0.4430932402610779, -1.1395426988601685, 0.389602392911911, 1.0644997358322144, 0.9530340433120728, -0.27789175510406494, -0.2071906477212906, -0.3964991271495819, 0.04724963754415512, -0.42994990944862366, 0.8033090829849243, -0.5073571801185608, -0.20035585761070251, 0.3543267846107483, -0.1285312920808792, 0.03829829394817352, -0.43738898634910583, 0.6040205359458923, -0.6839123368263245, 0.235494926571846, -0.1854608654975891, -0.7669709920883179, -0.11829394102096558, 0.5538884997367859, -0.6042805314064026, 0.8887894749641418, -0.3501199185848236, -0.7417436242103577, 0.13714037835597992, -0.6158130168914795, -0.15378794074058533, 0.28208354115486145, 0.10850993543863297, -0.06403931975364685, 0.1780209243297577, 0.17416724562644958, 0.8039183616638184, -0.7520020604133606, 0.3650263249874115, -0.15207375586032867, -0.20669330656528473, 0.3036133348941803, -0.5662112832069397, 0.6744638681411743, 0.17386475205421448, 0.20193691551685333, 0.14682132005691528, -0.49713391065597534, 0.16842076182365417, 0.11456581950187683, -0.45058971643447876, -0.017298541963100433, 0.3119817078113556, 0.24353057146072388, 0.19398589432239532, 0.36928871273994446, -0.3134883940219879, 0.45087242126464844, -0.44543659687042236, 0.7365671396255493, 0.6259838938713074, -0.1847371906042099, 0.30276796221733093, -0.024224761873483658, 0.717790424823761, -0.5838505625724792, 0.0027265388052910566, -0.3030286133289337, -0.6173279881477356, -0.8009822368621826, -0.04472819343209267, 0.520980715751648, 0.4038192629814148, -0.384780615568161, 0.48614397644996643, -0.14307601749897003, -0.48663416504859924, -0.09394878894090652, 0.13786830008029938, -0.03057863377034664, 0.07234705984592438, 0.26020339131355286, 0.051336366683244705, -0.6430341005325317, -0.7170654535293579, -0.26120564341545105, -0.1202988252043724, -0.2048320323228836, 0.06375167518854141, 0.34767642617225647, -0.14669716358184814, 0.7521112561225891, -0.47424089908599854, -0.2797449827194214, -0.6899317502975464, 0.0289410762488842, 0.48056212067604065, 0.18484832346439362, 0.1592121422290802, -0.8225415349006653, -0.5334100127220154, -0.043211422860622406, -0.6238532066345215, -0.05576401203870773, 0.03533835709095001, 0.23979099094867706, 0.11394857615232468, 0.9842733144760132, -0.9577181935310364, -0.14811904728412628, 0.9494112133979797, -0.010235587134957314, 0.5186807513237, -0.16368776559829712, -0.20316137373447418, -1.151166319847107, -0.17464137077331543, 0.008345982059836388, -0.32834991812705994, -0.8665074110031128, 0.2179691195487976, -0.23281057178974152, -0.1507520228624344, -0.40860748291015625, 0.7403144836425781, -0.5986801385879517, -0.07841096818447113, -0.4046245515346527, 0.3550545275211334, -0.45250824093818665, 0.29157236218452454, -0.023772619664669037, 0.4404480457305908, 0.8150420188903809, -0.4295334815979004, 0.46927231550216675, 0.0942675769329071, -0.2811228632926941, 0.146208718419075, -0.765931248664856, 0.18668706715106964, -0.10790005326271057, 0.4222964644432068, -0.8964350819587708, -0.27018147706985474, 0.07391087710857391, -0.4022866487503052, 0.41111570596694946, -0.35312017798423767, -0.9074692726135254, -0.4294421374797821, -0.06759446859359741, 0.16011765599250793, 0.6095941066741943, -0.38827234506607056, 0.6243543028831482, 0.4917030930519104, -0.37557151913642883, -0.5001592636108398, -0.564903199672699, 0.6277451515197754, -0.30645638704299927, -0.5379963517189026, 0.13596111536026, -0.005479839164763689, -0.34397006034851074, -0.2331412434577942, 0.09896786510944366, -0.03916781768202782, 0.06852025538682938, 0.04561609402298927, 0.14174963533878326, -0.3584016263484955, 0.2505543828010559, -0.3236529231071472, -0.17471717298030853, 0.10642565786838531, -0.22823768854141235, 0.9902763366699219, -0.2469562143087387, -0.30267050862312317, -0.26233169436454773, 0.41985780000686646, 0.42374464869499207, -0.3821660578250885, 0.7209258079528809, 0.5081785321235657, -0.40303170680999756, -0.22474129498004913, -0.6751074194908142, 0.1640048325061798, -0.49936240911483765, 0.6276209950447083, -0.11754016578197479, -1.358265995979309, 0.5401528477668762, -0.3308112621307373, 0.4106081426143646, 0.37176942825317383, 0.9090569019317627, -0.08611944317817688, 1.0458236932754517, 0.87496018409729, -0.1449236273765564, 0.3104451298713684, 0.042361848056316376, 0.46489766240119934, -0.9583198428153992, -0.11335613578557968, -0.6629151105880737, -0.21212166547775269, -0.8003843426704407, -0.44892239570617676, 0.18234974145889282, 0.2799314856529236, -0.020830845460295677, 0.2616441249847412, -0.19088175892829895, 0.4935424327850342, 0.35000455379486084, -0.4121764898300171, 0.4862861633300781, -0.30662909150123596, 0.22676178812980652, 0.018336275592446327, -0.8044363260269165, -0.5835904479026794, 0.9470221400260925, 0.5274519920349121, 0.6873278617858887, -0.007523573003709316, 0.4763830006122589, -0.024842381477355957, 0.085201196372509, -0.9347785711288452, 0.8454596400260925, -0.24150508642196655, -0.7139922380447388, -0.5413222908973694, -0.22679302096366882, -1.1725540161132812, 0.5130592584609985, -0.23312094807624817, -0.9961749315261841, -0.4027283787727356, 0.08738771080970764, -0.017180124297738075, 0.5096479058265686, -0.422160804271698, 0.7357297539710999, -0.295034259557724, 0.022466925904154778, -0.08557458966970444, -0.5981782674789429, 0.4018203318119049, -0.1831296980381012, 0.3020123541355133, -0.5050004124641418, -0.2014288455247879, 0.6736282110214233, -0.2105664610862732, 0.7972162365913391, 0.09959620982408524, -0.3785407841205597, 0.18106608092784882, -0.10797115415334702, 0.49987107515335083, 0.0703151747584343, -0.1265936940908432, 0.28119054436683655, 0.1031159982085228, -0.15220916271209717, -0.5335120558738708, 0.7311201095581055, -0.1936197429895401, -0.7163437008857727, -0.5421041250228882, -0.8448910713195801, -0.554633617401123, 0.27692848443984985, -0.061044104397296906, 0.1207880824804306, -0.10910405218601227, 0.331344872713089, 0.7404469847679138, -0.43694764375686646, 0.6565366387367249, 0.5621615052223206, -0.7122637629508972, 0.016014082357287407, 0.5270442366600037, -0.08661384135484695, 0.29358795285224915, 0.5864356756210327, 0.2197052240371704, -0.2719570994377136, -0.988696813583374, -0.20797057449817657, 0.35624125599861145, -0.618861734867096, -0.017041832208633423, -0.5967552661895752, -0.40276268124580383, -0.2801850736141205, -0.061600808054208755, -0.40448883175849915, -0.020527062937617302, -0.3400234282016754, 0.25633057951927185, 0.3968472480773926, 0.7676355242729187, 0.1804012507200241, 0.360702246427536, -0.8037481307983398, 0.28984367847442627, 0.3125457465648651, 0.42839181423187256, -0.007242240943014622, -0.5630879402160645, -0.025277666747570038, 0.05710868537425995, 0.08947274088859558, -0.47447365522384644, 0.5658653378486633, 0.14642925560474396, 0.4817146062850952, 0.10161539912223816, -0.11480105668306351, 0.40598708391189575, -0.8404871225357056, 0.93443363904953, 0.2338123619556427, -0.6472114324569702, 0.29907312989234924, -0.6289673447608948, 0.45867297053337097, 0.17956891655921936, 0.43856367468833923, -1.0425976514816284, -0.45032578706741333, -0.29841554164886475, -1.0182734727859497, 0.49777787923812866, 0.08027010411024094, 0.5667750835418701, 0.09001433104276657, 0.31715959310531616, -0.05929676070809364, 0.13515184819698334, -0.7089425325393677, -0.19840911030769348, 0.52308189868927, -0.025710755959153175, -0.3581431806087494, -0.3587932288646698, 0.17254352569580078, -0.006278890650719404, 0.40004345774650574, -0.027518482878804207, 0.15810588002204895, -0.43870922923088074, 0.16051824390888214, -0.07319504767656326, 0.471256285905838, 0.37751081585884094, 0.7302992939949036, -0.19594117999076843, 0.05434576794505119, 0.31582772731781006, -0.21588924527168274, -0.17956914007663727, -0.02393234707415104, -0.04952235519886017, 0.029554272070527077, 0.5341829061508179, 0.6945691108703613, 0.25755584239959717, -0.8832337856292725, 0.39804983139038086, -0.11244402080774307, -0.25674453377723694, -0.4975087344646454, 0.10497716814279556, 0.5713003873825073, 0.3953388035297394, 0.3427177965641022, -0.3120380640029907, -0.10754760354757309, -0.6500093340873718, -0.09016934037208557, 0.7452020049095154, -0.3488900363445282, -0.044325411319732666, 0.5442960262298584, -0.11848495900630951, -0.612262487411499, 0.6093575954437256, 0.08709356188774109, -0.5197318196296692, 0.46681660413742065, 0.5121892690658569, 0.7310458421707153, -0.020386677235364914, -0.016417264938354492, 0.031235987320542336, 0.3153170645236969, -0.3346945345401764, 0.16737741231918335, 0.23140786588191986, -0.7195537090301514, -0.9014264345169067, -0.8891265392303467, -0.60395348072052, 0.4538813531398773, -0.493511438369751, 0.4243508279323578, -0.3283385634422302, 0.023831764236092567, 0.10476353019475937, -0.10262367129325867, -0.483539342880249, 0.14394181966781616, 0.2897997498512268, 0.94001704454422, -0.4902297556400299, 0.7893027067184448, 0.5046138167381287, -0.0164271742105484, -0.6166982054710388, 0.043168436735868454, -0.010254791006445885, -0.7805987000465393, 0.4496024549007416, -0.04133334383368492, 0.14060530066490173, 0.09541244059801102, -0.6954871416091919, -1.0259671211242676, 0.7407053709030151, 0.3476194143295288, -0.6463289260864258, -0.32507792115211487, 0.4047383666038513, 0.7332732677459717, 0.028224967420101166, 0.0173219982534647, 0.5686982274055481, 0.4092130959033966, 0.16020172834396362, -1.0211073160171509, -0.23493333160877228, -0.07901784777641296, 0.15030857920646667, 0.43466824293136597, -0.6079613566398621, 0.7800818681716919, 0.059137795120477676, 0.06127843260765076, 0.2812657654285431, 0.6885479688644409, 0.17303098738193512, -0.16535960137844086, 0.3469713032245636, 0.3593323826789856, 0.4767579436302185, -0.1599494069814682, 0.9496339559555054, -0.1736677885055542, 0.41490525007247925, 1.20986008644104, -0.29237663745880127, 1.1395031213760376, 0.3800847828388214, -0.45926594734191895, 0.025181330740451813, 0.7605137825012207, -0.18146547675132751, 0.030960308387875557, 0.46381035447120667, -0.33299165964126587, -0.406948059797287, -0.15695570409297943, -0.3376540541648865, 0.5520754456520081, 0.5894063711166382, -0.24192224442958832, -0.41488343477249146, 0.059543948620557785, -0.021629050374031067, -0.1799820363521576, -0.48391401767730713, 0.7377927899360657, 0.35509517788887024, -0.5481701493263245, 0.5375622510910034, 0.264218807220459, 0.839909553527832, -0.7734572887420654, 0.016788046807050705, -0.05613403022289276, -0.028035903349518776, -0.000038805654185125604, -1.0066787004470825, 0.21655641496181488, 0.08347857743501663, 0.06327109038829803, -0.35742613673210144, 0.6854058504104614, -0.34540966153144836, -0.5687294602394104, 0.36834219098091125, 0.5340027809143066, 0.29940053820610046, -0.14071589708328247, -0.5603594779968262, 0.0696931779384613, -0.2596965730190277, -0.41655197739601135, 0.5590745210647583, 0.5470191240310669, 0.16340959072113037, 1.0002042055130005, 0.4120193421840668, 0.23910953104496002, 0.3193589448928833, 0.10043010115623474, 0.7140553593635559, -0.7530390024185181, -0.09836956113576889, -0.8971711993217468, 0.321496844291687, 0.22352537512779236, -0.3883798122406006, 0.7249799966812134, 0.3423108458518982, 0.6067202091217041, 0.12940913438796997, 0.670531690120697, -0.03712945803999901, 0.693920373916626, -0.7298402786254883, 0.5788297653198242, -0.5760480165481567, 0.3163047134876251, -0.30409765243530273, -1.0695550441741943, -0.7034143209457397, 0.21311931312084198, -0.23417578637599945, 0.04888390004634857, 0.6312617063522339, 0.6875059604644775, 0.11177638918161392, 0.13567771017551422, 0.48547035455703735, 0.20983567833900452, 0.41456472873687744, 0.4622499644756317, 0.9509792923927307, -0.20468656718730927, 0.4918224513530731, 0.05138493701815605, 0.012117823585867882, -0.18075858056545258, -1.0631673336029053, -0.9713495373725891, -0.5616088509559631, -0.2360004186630249, 0.14373180270195007, -0.03518039360642433, 0.867495596408844, 0.5571679472923279, -0.7074117660522461, -0.37414082884788513, -0.36748647689819336, -0.028469186276197433, 0.17316880822181702, -0.12197398394346237, 0.2540239095687866, -0.5160819292068481, -0.8569150567054749, 0.39493826031684875, 0.3107597827911377, -0.05128715559840202, -0.4830651581287384, 0.16283899545669556, -0.3458859324455261, 0.09512948989868164, 0.8664359450340271, 0.3375307321548462, -0.9131922721862793, -0.05816253647208214, -0.07211336493492126, 0.06488176435232162, 0.048190124332904816, 0.7806733846664429, -0.25621938705444336, 0.09934549778699875, 0.4442436397075653, 0.7133861184120178, 0.6035280227661133, -0.3293398320674896, 0.59373939037323, -0.5698564052581787, -0.048661019653081894, 0.42008623480796814, 0.4013107717037201, 0.2555253803730011, -0.009747371077537537, 0.4246729910373688, -0.31440314650535583, -0.7981643080711365, -0.8877325654029846, 0.34107866883277893, -1.1645970344543457, -0.3449747562408447, 1.3575564622879028, 0.12259736657142639, 0.18100637197494507, -0.16236501932144165, -0.19413650035858154, 0.01737803779542446, -0.03354564309120178, 0.5901672840118408, 0.9382845759391785, -0.20114761590957642, -0.4407866597175598, -0.9797442555427551, 0.4088916778564453, 0.2976708710193634, -0.851963222026825, 0.3694600760936737, 0.38883042335510254, 0.060375042259693146, -0.10123331099748611, 0.49171942472457886, -0.03907489776611328, -0.2769067585468292, -0.31125879287719727, -0.07784496992826462, 0.24221520125865936, -0.21256287395954132, -0.40689975023269653, 0.2769310474395752, 0.5145061612129211, 0.2333661913871765 ]
http://arxiv.org/abs/2405.13095v1
http://arxiv.org/pdf/2405.13095v1
Presentations are not always linear! GNN meets LLM for Document-to-Presentation Transformation with Attribution
2024-05-21T13:52:33
2024-05-21T13:52:33
Himanshu Maheshwari, Sambaran Bandyopadhyay, Aparna Garimella, Anandhavelu Natarajan
cs.CL
cs.CL, cs.AI
Automatically generating a presentation from the text of a long document is a challenging and useful problem. In contrast to a flat summary, a presentation needs to have a better and non-linear narrative, i.e., the content of a slide can come from different and non-contiguous parts of the given document. However, it is difficult to incorporate such non-linear mapping of content to slides and ensure that the content is faithful to the document. LLMs are prone to hallucination and their performance degrades with the length of the input document. Towards this, we propose a novel graph based solution where we learn a graph from the input document and use a combination of graph neural network and LLM to generate a presentation with attribution of content for each slide. We conduct thorough experiments to show the merit of our approach compared to directly using LLMs for this task.
[ 0.06503183394670486, -0.7422105073928833, 0.7914092540740967, 0.0998852476477623, -0.53170245885849, 0.24361363053321838, 0.08482146263122559, -0.3651277422904968, 0.6840610504150391, 0.2668887972831726, -0.36151280999183655, -0.5699495673179626, -0.7693364024162292, -0.07734216004610062, -0.9366779923439026, 1.027474045753479, -0.2460809051990509, -0.1254831701517105, -0.6333906650543213, -0.013769922778010368, -0.16563555598258972, -0.18947573006153107, -0.7520185708999634, -1.1173585653305054, 0.7030828595161438, 0.15093950927257538, 0.6488408446311951, 0.6851515173912048, 0.1444273293018341, 0.21845197677612305, 0.17030146718025208, 0.43156394362449646, -0.5653398036956787, -0.11653968691825867, -0.1502200812101364, -0.25459229946136475, -0.42890816926956177, 0.0571451336145401, 0.6081868410110474, 0.77269047498703, 0.18128299713134766, 0.1428384780883789, 0.3111656606197357, 0.578224778175354, -0.12007924169301987, 0.304964154958725, -0.5457620024681091, 0.2691861391067505, 0.131993368268013, -0.40066027641296387, -0.4602975845336914, -0.5469638109207153, -0.24347347021102905, -0.907524824142456, 0.17481926083564758, 0.01774519681930542, 0.8710612654685974, 0.0005207875510677695, -0.5423246026039124, -0.5034685134887695, -0.720960259437561, 0.3098004162311554, -0.3562943935394287, 0.25645166635513306, 0.0047254110686481, 0.15729805827140808, -0.11184141784906387, -1.2403795719146729, -0.3930395841598511, -0.151576966047287, 0.10981650650501251, 0.1805656999349594, -0.11797045916318893, -0.11326924711465836, 0.013200946152210236, 0.09605701267719269, -0.5953440070152283, 0.26315537095069885, -0.35865074396133423, -0.3706011474132538, 0.5493394732475281, 0.1972455233335495, 0.3883625864982605, -0.40537697076797485, -0.5185055732727051, -0.11680563539266586, -0.4210561513900757, -0.2782467007637024, 0.3405042290687561, 0.15729399025440216, 0.007869061082601547, 0.5317407250404358, 0.2945285737514496, 0.4994221329689026, 0.2308260053396225, -0.3668874502182007, 0.09636661410331726, -0.28370794653892517, -0.164463609457016, 0.45608994364738464, 0.9577950239181519, 0.7128553986549377, 0.18989139795303345, -0.452652245759964, -0.08567879348993301, -0.13719245791435242, 0.3398224115371704, -0.7759768962860107, -0.390206515789032, -0.15996453166007996, -0.6763501763343811, -0.538188099861145, -0.2447868287563324, -0.752107560634613, -0.5918492078781128, -0.47413578629493713, 0.5333930850028992, -0.32955020666122437, 0.1263217031955719, -0.2665060758590698, -0.0992354303598404, -0.016116995364427567, 0.7550691962242126, -0.9014464616775513, 0.3993745446205139, 0.42029839754104614, 1.3433889150619507, -0.36039289832115173, -0.19658032059669495, -0.7193432450294495, 0.44613757729530334, -0.4669387936592102, 0.754749059677124, -0.12905548512935638, -0.5829543471336365, 0.026612255722284317, -0.23102332651615143, -0.009886560961604118, -0.466718465089798, 0.2338261902332306, -0.274447500705719, 0.4079777002334595, 0.24203984439373016, -0.6637453436851501, 0.0949735939502716, 0.2114909142255783, -0.6479860544204712, 0.6302098631858826, 0.30868759751319885, -0.5351026058197021, 0.05127020552754402, -0.5138376951217651, -0.5961014628410339, 0.13161058723926544, -0.7706135511398315, -0.5424609184265137, 0.07164257764816284, 0.24651844799518585, 0.18019041419029236, -0.0023788290563970804, 0.12943804264068604, 0.09930131584405899, -0.34610605239868164, 0.19334661960601807, -0.4155887961387634, 0.33207204937934875, -0.07103540748357773, 0.004954626318067312, 0.49540698528289795, -0.9845752120018005, 0.06720582395792007, 0.27291539311408997, -0.5314594507217407, 0.19793270528316498, 0.1419944167137146, 0.05275712162256241, 0.38573166728019714, 0.3689705729484558, -0.31630754470825195, 0.2551378905773163, -0.351993590593338, 0.5166945457458496, 0.944710373878479, 0.0207282155752182, 0.711498498916626, -0.4812528192996979, 0.5111832022666931, -0.23577848076820374, 0.059543970972299576, 0.014270502142608166, -0.5740547776222229, -0.6301448941230774, 0.10728473216295242, 0.043806042522192, 0.5226039886474609, -1.0239336490631104, -0.003687242977321148, -0.6200060248374939, -0.1416562795639038, 0.019254017621278763, 0.4537486433982849, 0.1988096684217453, 1.000063419342041, 0.2776365578174591, -0.46817639470100403, -0.3365844488143921, -0.7051575183868408, 0.1213231086730957, -0.3766952455043793, -0.4264098107814789, 0.4617380201816559, 0.39512109756469727, 0.00585986627265811, 0.684199869632721, -0.4915992021560669, -0.5110976099967957, -0.3471370339393616, 0.40900030732154846, 0.4532897472381592, 0.20789824426174164, 0.4332071542739868, -0.6612641215324402, -0.6954939365386963, 0.15375807881355286, -1.2461812496185303, 0.004968085326254368, -0.5697354078292847, 0.029025321826338768, 0.22325611114501953, 0.863670289516449, -0.5017087459564209, 0.7328531742095947, 0.4884713292121887, -0.12122140824794769, 0.5004264116287231, -0.5517810583114624, -0.27524563670158386, -1.1945832967758179, 0.013440766371786594, -0.13014118373394012, -0.5401796698570251, -0.5133969783782959, -0.33194297552108765, 0.1322152018547058, -0.6655040979385376, -0.4963507056236267, 0.4788143038749695, -0.4399735629558563, -0.23452246189117432, -0.5134581327438354, 0.6146429777145386, 0.4698531925678253, 0.4787568151950836, -0.41745978593826294, 0.6199774146080017, 0.21292147040367126, -0.40148165822029114, 0.9367794990539551, 0.7550273537635803, -0.2729070782661438, 0.5631235837936401, -0.42917799949645996, 0.44193071126937866, -0.17494630813598633, 0.5500528812408447, -0.7597730159759521, -0.28907307982444763, 0.5813422799110413, -0.4412655830383301, 0.5999047160148621, -0.09207038581371307, -0.5359448194503784, -0.25238221883773804, -0.4516521394252777, 0.17090095579624176, 0.37304428219795227, -0.4970491826534271, 0.8776647448539734, -0.19731508195400238, -0.1223490759730339, -0.34142568707466125, -0.7937985062599182, 0.6293748021125793, -0.07498560100793839, -1.1574984788894653, 0.759612500667572, -0.007133954204618931, -0.08725770562887192, -0.0004679937264882028, -0.12062493711709976, 0.3388507068157196, -0.03289526700973511, 0.42050138115882874, 0.33184200525283813, -0.20915934443473816, 0.1907324343919754, -0.10979484766721725, -0.2921887934207916, 0.13570702075958252, -0.6858515739440918, 0.5862904787063599, 0.13419480621814728, -0.5845733284950256, -0.5401270389556885, 0.7267231941223145, 0.2750774919986725, 0.3661167025566101, 0.5691400170326233, 0.5268937349319458, -0.3248758614063263, -0.06405366957187653, -0.017789851874113083, -0.03262763470411301, -0.43169209361076355, 0.6003709435462952, -0.0920286774635315, -0.4646230936050415, 0.7029382586479187, -0.22780388593673706, -0.24604539573192596, 0.40481770038604736, 0.45328572392463684, -0.24376727640628815, 0.6482643485069275, 0.7222670912742615, -0.14173878729343414, 0.5766692757606506, -0.21687279641628265, 0.28619953989982605, -0.6828299760818481, -0.4338669180870056, -0.06547556817531586, -0.7406021952629089, -0.2792987525463104, -0.28049686551094055, 0.515559196472168, 0.13641081750392914, -0.03184054419398308, -0.04193417355418205, -0.5073604583740234, 0.42732542753219604, 0.3650454580783844, 0.4013500213623047, 0.3960493206977844, 0.23708151280879974, -0.11390338093042374, 0.14798597991466522, -0.6483296155929565, -0.5939986109733582, 1.1434524059295654, 0.3279936611652374, 0.8993213772773743, -0.041087910532951355, 0.9298042058944702, 0.3095458149909973, 0.24689540266990662, -0.9024916887283325, 0.7414826154708862, -0.2088109701871872, -0.06539808958768845, -0.5776500701904297, -0.5074735283851624, -0.9947123527526855, 0.013554639182984829, -0.13132064044475555, -1.265578031539917, -0.13192109763622284, 0.0243135467171669, 0.03422861546278, 0.44514933228492737, -0.5953068733215332, 0.5476047992706299, -0.4769384562969208, -0.5196757316589355, 0.05422188341617584, -0.661720871925354, -0.03969290852546692, -0.24369855225086212, 0.15992829203605652, 0.04969242960214615, 0.14749743044376373, 0.82510906457901, -0.4819923937320709, 0.6382360458374023, 0.03449344262480736, -0.23937886953353882, 0.1489444226026535, 0.19977430999279022, 0.8074882626533508, 0.027038628235459328, -0.17307008802890778, -0.16068287193775177, -0.750085711479187, -0.12393590062856674, -1.1340028047561646, 0.7568627595901489, -0.8667547702789307, -0.7158612012863159, -0.13564711809158325, -0.5892166495323181, 0.10988853871822357, 0.33960971236228943, 0.39238840341567993, 0.7180995941162109, -0.30193036794662476, -0.017304887995123863, 0.43287909030914307, -0.10077299177646637, 0.4391295313835144, -0.3201846480369568, -0.7054338455200195, -0.649523913860321, 1.1181747913360596, 0.16507962346076965, 0.5276541113853455, 0.29754185676574707, 0.15246868133544922, -0.43783998489379883, -0.9385117292404175, -0.5100807547569275, 0.22556020319461823, -1.2699319124221802, -0.029539499431848526, -0.29428961873054504, -0.5811273455619812, -0.40616244077682495, -0.5117548704147339, -0.18057182431221008, -0.6212368607521057, -0.8874963521957397, -0.206466943025589, -0.039646029472351074, 0.8615092635154724, -0.10620395839214325, 0.06287164986133575, -0.5179002285003662, 0.41804319620132446, 0.4140585958957672, 0.11376910656690598, -0.04371604323387146, -0.6295267939567566, -0.27173957228660583, -0.18417038023471832, -0.8691191673278809, -0.6321161389350891, 0.5846412777900696, 0.4471588432788849, 0.6186423301696777, 0.36484766006469727, -0.24951907992362976, 0.41878607869148254, -0.4795011878013611, 0.775878369808197, 0.9055312275886536, -0.7276389002799988, 0.6540152430534363, -0.32053351402282715, 0.24391543865203857, 0.14927658438682556, 0.4064694344997406, -0.6029165983200073, -0.15605053305625916, -0.6673722267150879, -1.2364592552185059, 0.5565447211265564, 0.4604829251766205, 0.11237047612667084, 0.372782438993454, 0.44136807322502136, 0.03691418841481209, 0.1117740273475647, -0.8026111721992493, -0.30020830035209656, -0.8605437874794006, -0.3000457286834717, -0.32095083594322205, 0.002172974869608879, -0.3904215395450592, -0.03846259042620659, 0.39274969696998596, -0.503814160823822, 0.578488826751709, 0.16845600306987762, -0.24356232583522797, -0.15214425325393677, -0.05207614228129387, 0.7825440168380737, 1.08968985080719, -0.3277450501918793, 0.3216581642627716, 0.04955025017261505, -0.3951738178730011, 0.20055647194385529, 0.018154889345169067, -0.17277583479881287, 0.2716304659843445, 0.5759385228157043, 1.0153493881225586, 0.21102039515972137, 0.09267561137676239, 0.5340184569358826, 0.02216300740838051, -0.7070023417472839, -0.23297271132469177, -0.2310301959514618, 0.2958615720272064, 0.09430048614740372, 0.5309609174728394, -0.239694282412529, -0.2085753083229065, -0.6300392150878906, 0.3876436948776245, 0.11137495189905167, -0.4666593670845032, -0.01118418388068676, 0.9664482474327087, 0.3404987156391144, -0.8971529603004456, 0.9489256739616394, 0.08208443969488144, -0.43966853618621826, 0.541187584400177, 0.7977167963981628, 0.7253421545028687, 0.32437050342559814, 0.5587483644485474, 0.09465497732162476, -0.17513443529605865, 0.4125617444515228, -0.16049562394618988, -0.021327003836631775, -0.519538402557373, -0.2633715867996216, -0.3996071219444275, -0.49199220538139343, 0.17276978492736816, -0.3273376524448395, 0.16814909875392914, -0.7183831334114075, -0.026418909430503845, 0.15792226791381836, -0.031411062926054, -0.08842193335294724, 0.089817576110363, 0.6458190083503723, 0.7757344245910645, -0.6248828768730164, 0.6789829134941101, 0.37724289298057556, -0.5191957950592041, -0.5771803855895996, -0.12260597199201584, 0.06672407686710358, -0.9008136987686157, 0.7781772613525391, 0.12972670793533325, -0.04067717865109444, 0.03647715225815773, -0.630802571773529, -0.5035918951034546, 1.4906260967254639, 0.592657208442688, -0.21286149322986603, -0.5109362006187439, 0.5673453211784363, 0.3364218473434448, -0.6166377663612366, 0.011820705607533455, -0.241957426071167, 0.27872583270072937, 0.5722582340240479, -0.8338825106620789, 0.036369387060403824, -0.16776959598064423, 0.09002287685871124, 0.10372920334339142, -0.4221777021884918, 0.7714915871620178, 0.07161000370979309, -0.20998820662498474, -0.11246287077665329, 0.832024872303009, 0.12376181781291962, 0.6282951831817627, 0.2861250936985016, 0.11310185492038727, 1.0035910606384277, 0.10429902374744415, 1.0373812913894653, -0.08669086545705795, 0.20990987122058868, 1.3112517595291138, -0.19034071266651154, 0.3081943094730377, 0.6063354015350342, 0.06662061810493469, 0.6060068607330322, 0.3296245038509369, -0.07342105358839035, 0.38120564818382263, 0.4734972417354584, -0.27841997146606445, -0.27469706535339355, -0.20025143027305603, -0.2184944748878479, 0.1674821525812149, 0.2931978106498718, -0.6895448565483093, -0.6797941327095032, -0.03046264871954918, -0.04184660688042641, 0.3320399522781372, -0.5002087950706482, 0.7196256518363953, 0.5479744076728821, -0.13340044021606445, 0.5995705723762512, -0.13398177921772003, 0.28988876938819885, -0.7849441170692444, 0.12316160649061203, -0.052556224167346954, 0.09760094434022903, -0.4858018159866333, -0.8960938453674316, 0.3977915942668915, -0.44313934445381165, -0.21050937473773956, -0.7977390289306641, 1.176820993423462, -0.1510804146528244, -0.5322859883308411, 0.4933731257915497, 0.31954583525657654, 0.21502423286437988, -0.037211865186691284, -0.5715219974517822, -0.16661079227924347, 0.058152079582214355, -0.20395293831825256, 0.6948951482772827, 0.46085038781166077, -0.20163187384605408, 0.8489978909492493, 0.529867947101593, -0.12602351605892181, 0.14333082735538483, 0.3328531086444855, 0.9986475110054016, -0.395481139421463, -0.43594008684158325, -0.8577023148536682, 0.3858238756656647, -0.29459771513938904, -0.08073702454566956, 0.5899346470832825, 0.7898077368736267, 0.4211568534374237, 0.08879269659519196, 0.675392746925354, 0.4059116244316101, -0.09497826546430588, -0.7298606038093567, 1.0502766370773315, -0.5807000994682312, -0.18302322924137115, -0.3422711193561554, -0.8559728264808655, -0.27796536684036255, 0.49977225065231323, -0.019216232001781464, -0.3376796841621399, 0.933390736579895, 0.48008349537849426, -0.07294631004333496, -0.10037411749362946, 0.5873614549636841, -0.10309459269046783, 0.7521364688873291, 0.8026317358016968, 0.6892112493515015, -0.47149327397346497, 1.0030901432037354, 0.14620622992515564, -0.12488570809364319, -0.2908254563808441, -1.160377860069275, -0.7691797614097595, -0.5270240902900696, -0.5485571622848511, -0.6287984251976013, 0.02668198011815548, 0.549245297908783, 0.4197714924812317, -0.3004416227340698, -0.26273077726364136, -0.1292048841714859, 0.2922945022583008, 0.21750105917453766, -0.13384941220283508, 0.5587436556816101, -0.07918674498796463, -0.25625503063201904, 0.5231466889381409, 0.43982118368148804, 0.45332735776901245, -0.25447216629981995, -0.25931280851364136, -0.3097686469554901, 0.05416341871023178, 0.4979395270347595, 0.3198833167552948, -0.17455914616584778, -0.5577324628829956, -0.3264940083026886, -0.10800600051879883, 0.706731379032135, 0.7200344800949097, -0.5755960941314697, 0.3153568208217621, 0.37416979670524597, 0.3734680712223053, 1.118137240409851, -0.10333053767681122, 0.6583665609359741, -0.8953064680099487, 0.006250492762774229, 0.17350077629089355, 0.1921386569738388, 0.41574826836586, -0.4735938608646393, 0.3795980215072632, 0.4519887864589691, -0.45019271969795227, -0.42438530921936035, 0.38852179050445557, -1.4012694358825684, -0.17956596612930298, 1.0339958667755127, -0.21272782981395721, -0.39067092537879944, -0.08743695914745331, -0.035475365817546844, 0.5112685561180115, -0.23182888329029083, 0.8314808011054993, 0.6973950862884521, -0.41697609424591064, -0.10029188543558121, -0.17695192992687225, 0.14454622566699982, -0.2814488410949707, -0.7114408016204834, -0.30319052934646606, 0.23813000321388245, 0.14602188766002655, 0.6013594269752502, 0.7564601898193359, -0.1372094750404358, 0.05545688420534134, 0.09158369153738022, -0.15581351518630981, -0.6255550384521484, -0.2948324680328369, -0.12245047092437744, 0.4906199872493744, -0.17469963431358337, -0.25370997190475464 ]
http://arxiv.org/abs/2405.12801v1
http://arxiv.org/pdf/2405.12801v1
Comparing Neighbors Together Makes it Easy: Jointly Comparing Multiple Candidates for Efficient and Effective Retrieval
2024-05-21T13:51:48
2024-05-21T13:51:48
Jonghyun Song, Cheyon Jin, Wenlong Zhao, Jay-Yoon Lee
cs.CL
cs.CL, cs.IR, cs.LG
A common retrieve-and-rerank paradigm involves retrieving a broad set of relevant candidates using a scalable bi-encoder, followed by expensive but more accurate cross-encoders to a limited candidate set. However, this small subset often leads to error propagation from the bi-encoders, thereby restricting the performance of the overall pipeline. To address these issues, we propose the Comparing Multiple Candidates (CMC) framework, which compares a query and multiple candidate embeddings jointly through shallow self-attention layers. While providing contextualized representations, CMC is scalable enough to handle multiple comparisons simultaneously, where comparing 2K candidates takes only twice as long as comparing 100. Practitioners can use CMC as a lightweight and effective reranker to improve top-1 accuracy. Moreover, when integrated with another retriever, CMC reranking can function as a virtually enhanced retriever. This configuration adds only negligible latency compared to using a single retriever (virtual), while significantly improving recall at K (enhanced).} Through experiments, we demonstrate that CMC, as a virtually enhanced retriever, significantly improves Recall@k (+6.7, +3.5%-p for R@16, R@64) compared to the initial retrieval stage on the ZeSHEL dataset. Meanwhile, we conduct experiments for direct reranking on entity, passage, and dialogue ranking. The results indicate that CMC is not only faster (11x) than cross-encoders but also often more effective, with improved prediction performance in Wikipedia entity linking (+0.7%-p) and DSTC7 dialogue ranking (+3.3%-p). The code and link to datasets are available at https://github.com/yc-song/cmc
[ -0.5616002082824707, -0.28839248418807983, 0.8176831007003784, 0.1553911417722702, -0.1708156317472458, 0.15762464702129364, -0.3222905099391937, -0.25589922070503235, 0.552491307258606, 0.23140661418437958, -0.2368668168783188, -0.787510871887207, -0.7763551473617554, 0.1481865495443344, -0.33854085206985474, 0.6596020460128784, 0.44806814193725586, 0.10122109204530716, -0.4920201003551483, -0.5346855521202087, -0.31119465827941895, -0.44027477502822876, -0.6113714575767517, 0.14001861214637756, 0.9481599926948547, 0.4641689956188202, 0.690211296081543, 0.6637366414070129, 0.5464407205581665, 0.35846081376075745, 0.009439322166144848, 0.2855801582336426, -0.744238018989563, 0.40594926476478577, -0.35562241077423096, -0.20397073030471802, -0.1666172593832016, -0.002777619520202279, 0.5586695075035095, 0.5969429016113281, -0.11447053402662277, 0.03881527855992317, -0.003484521061182022, 1.0128926038742065, -1.2091951370239258, -0.113376185297966, -0.9142090082168579, 0.04591668024659157, -0.32623589038848877, -0.3324587345123291, -0.2784755825996399, -0.5503746867179871, 0.1485147774219513, -0.33850303292274475, 0.44858860969543457, 0.16514188051223755, 0.49317219853401184, 0.21783621609210968, -0.6657765507698059, -0.1335412859916687, -0.17998912930488586, 0.6540495157241821, -0.4518638253211975, 0.7753791213035583, 0.2024422287940979, 0.4498659074306488, 0.23240025341510773, -0.7506296038627625, -0.33525845408439636, -0.10134085267782211, -0.18619027733802795, 0.555107593536377, 0.10523124784231186, -0.05705917254090309, 0.0949239581823349, 0.6307731866836548, -0.4902213513851166, -0.18878664076328278, -0.33052706718444824, -0.24295032024383545, 0.2231770008802414, 0.16535340249538422, -0.13676311075687408, -0.18577823042869568, -0.37631943821907043, -0.41702547669410706, -0.7345851063728333, -0.18093684315681458, 0.3699594736099243, 0.4485563039779663, 0.32130956649780273, 0.5153046250343323, -0.5299088358879089, 0.6781291961669922, 0.29828301072120667, 0.32679495215415955, 0.3957293629646301, -0.7849737405776978, 0.2349277287721634, 0.11354437470436096, 0.7456458806991577, 0.4321334958076477, -0.16198964416980743, -0.42961519956588745, -0.053551897406578064, 0.09350167959928513, 0.5986489653587341, -0.8814024329185486, -0.3974161148071289, 0.01828434318304062, -0.7750707268714905, -0.08767558634281158, 0.3876197338104248, -0.9348417520523071, -0.29389962553977966, -0.30491694808006287, 0.6694270968437195, 0.022269733250141144, -0.05416787788271904, 0.027876442298293114, -0.13622088730335236, 0.17134404182434082, -0.2079600989818573, -0.7729430794715881, 0.3985104262828827, 0.7155455946922302, 0.8691117763519287, -0.39326220750808716, -0.4356324374675751, -0.8059491515159607, -0.05956516042351723, -0.3607931435108185, 0.8477657437324524, -0.736937940120697, -0.2523275315761566, -0.024920204654335976, -0.07201910763978958, -0.036646462976932526, -0.7826642394065857, 0.46109896898269653, -0.6626062393188477, 0.07227889448404312, -0.5678662061691284, -0.45622122287750244, 0.27697083353996277, 0.4643712639808655, -0.9941802024841309, 0.994681179523468, -0.033901989459991455, -0.9562631845474243, 0.41885340213775635, -0.1272871494293213, -0.2878114581108093, -0.3478311598300934, -0.30242007970809937, -0.6050214767456055, 0.028114918619394302, 0.4436560273170471, 0.3977062404155731, -0.21567435562610626, -0.20051521062850952, -0.4910467267036438, -0.6790432333946228, -0.2719651758670807, -0.11071961373090744, 0.562829852104187, 0.20184959471225739, -0.44963836669921875, -0.02019856870174408, -0.4996783137321472, 0.4583198130130768, -0.06643935292959213, -0.5608304738998413, -0.4495980441570282, -0.08389907330274582, -0.4497867226600647, 0.29789426922798157, 0.23577871918678284, -0.6356844305992126, 0.034726355224847794, -0.2572590112686157, 0.06856247037649155, 0.5663562417030334, 0.01235823892056942, 0.6159585118293762, -0.16468946635723114, 0.269906610250473, 0.05254008248448372, 0.05680669844150543, -0.16204403340816498, -0.17236503958702087, -0.6472286581993103, -0.15433137118816376, 0.40785083174705505, 0.3203788995742798, -0.7606102824211121, 0.4697921872138977, -0.4585152566432953, -0.5404444336891174, -0.9529909491539001, 0.056881681084632874, 0.5652742385864258, 0.3027609884738922, 0.6872027516365051, -0.44104111194610596, -0.4201483130455017, -0.964755117893219, -0.4187188744544983, 0.09023342281579971, -0.07042510062456131, 0.5327355861663818, 0.10968964546918869, 0.004318182356655598, 0.7462472319602966, -0.41038981080055237, -0.42289331555366516, 0.02614370360970497, -0.12305634468793869, 0.19878646731376648, 0.3070981502532959, 0.3761192560195923, -0.9058188199996948, -0.8331031799316406, -0.15196354687213898, -0.6149695515632629, 0.09278212487697601, 0.13739939033985138, -0.4590935707092285, -0.0689617171883583, 0.43250149488449097, -0.2670147120952606, 0.5602900385856628, 0.5349522233009338, -0.24813902378082275, 0.2635491192340851, -0.25537794828414917, 0.86002117395401, -1.0379756689071655, -0.03988019749522209, -0.3213673233985901, -0.13683649897575378, -0.10893406718969345, 0.16646188497543335, 0.46069446206092834, 0.0375373438000679, -0.11972541362047195, 0.1032295823097229, -0.5715609788894653, -0.38226133584976196, -0.06174848601222038, 0.5853123664855957, 0.12603317201137543, 0.4373641312122345, -0.03219626098871231, 0.8585235476493835, 0.4612615704536438, -0.5916109085083008, 0.2835555672645569, 0.15088818967342377, -0.3076213002204895, 0.8613683581352234, -0.6168431639671326, 0.4843953251838684, -0.12729932367801666, 0.1942063271999359, -0.9061742424964905, 0.27749642729759216, -0.12044885754585266, -0.5880919694900513, 0.21860525012016296, -0.1582796275615692, -0.4496076703071594, -0.25518330931663513, -0.74810791015625, 0.504534900188446, -0.022578824311494827, -1.1370365619659424, 0.48977822065353394, 0.3284931778907776, 0.0857575312256813, -0.8710830211639404, -0.5517395734786987, 0.1276421695947647, -0.028615092858672142, -0.4594257175922394, 0.7485852241516113, -0.15120796859264374, 0.14209401607513428, 0.1941724270582199, -0.33126407861709595, -0.009684763848781586, -0.18264488875865936, 0.14109021425247192, 0.09562194347381592, -0.10375337302684784, 0.19488655030727386, -0.021796049550175667, -0.3332260251045227, -0.12119925022125244, -0.3944152295589447, 0.2720573842525482, -0.14623019099235535, -0.5349883437156677, 0.027479656040668488, 0.5237966775894165, 0.4943748116493225, -0.45847630500793457, 0.8592676520347595, 0.6584331393241882, -0.12001625448465347, 0.3004312813282013, -0.9731215238571167, -0.3265623152256012, -0.4363481104373932, 0.31661537289619446, -0.6242469549179077, -1.0879712104797363, 0.4935111105442047, -0.0038246246986091137, -0.01787971891462803, 0.4044398367404938, 0.35426124930381775, 0.3039306700229645, 1.0810697078704834, 0.40633776783943176, -0.46059805154800415, 0.30631551146507263, -0.17108969390392303, 0.4049462676048279, -0.9174612164497375, -0.5204295516014099, -0.9525689482688904, -0.4156514108181, -0.8163367509841919, -0.4925040900707245, 0.38995036482810974, -0.08981912583112717, -0.21084967255592346, 0.68963623046875, -0.7932183146476746, 0.7885549664497375, 0.6970717906951904, 0.17885297536849976, 0.3889392018318176, 0.14153914153575897, -0.6330804228782654, -0.4537407159805298, -0.6735263466835022, 0.047992024570703506, 1.2208715677261353, -0.1475880891084671, 0.6129944920539856, 0.37772223353385925, 1.0935790538787842, 0.10384737700223923, 0.010566250421106815, -0.4889161288738251, 0.2796629071235657, -0.2833348512649536, -0.8707255721092224, -0.16198799014091492, -0.7547144889831543, -0.9235393404960632, 0.8081760406494141, -0.5216931700706482, -0.48123449087142944, 0.44455909729003906, -0.12916149199008942, -0.21021927893161774, 0.4925433099269867, -0.519802451133728, 0.956371545791626, -0.15794940292835236, -0.7398890852928162, -0.5464918613433838, -0.7431060671806335, 0.04553816467523575, -0.04144178330898285, -0.14214424788951874, 0.10184317082166672, -0.17101402580738068, 0.45406773686408997, -0.05023518204689026, 0.09837939590215683, -0.050175365060567856, 0.3834201395511627, 0.18777072429656982, 0.10413122177124023, 0.4983513355255127, 0.06867709010839462, -0.32218220829963684, 0.05921303480863571, 0.016327403485774994, -0.46124517917633057, -0.7633586525917053, 1.1972414255142212, -0.5493148565292358, -0.3261856138706207, -0.2481565624475479, 0.11243719607591629, -0.043705109506845474, 0.302081823348999, 0.1857290416955948, 0.5399196147918701, -0.26339733600616455, 0.7468951940536499, 0.6804407238960266, -0.09153146296739578, 0.07785963267087936, 0.38914212584495544, -0.019321247935295105, -0.7249542474746704, 1.0186330080032349, -0.06842736154794693, 0.16392160952091217, 0.5529623627662659, -0.021326707676053047, -0.5202878713607788, -0.4135197699069977, -0.17348672449588776, 0.18275056779384613, -0.6966103315353394, -0.3692743480205536, -1.0741984844207764, -0.06320643424987793, -0.5716440677642822, 0.02564595639705658, -0.8679320216178894, -0.138877272605896, 0.22844654321670532, -0.04021657630801201, -0.16786950826644897, 0.683715283870697, -0.2245868742465973, -0.060116805136203766, -0.5627415776252747, 0.3816470503807068, 0.5034645199775696, 0.5489559173583984, 0.06327461451292038, -0.2697790861129761, -0.4109399616718292, -0.3382299840450287, -0.23032037913799286, -0.7298967242240906, -0.06928293406963348, -0.012022454291582108, 0.8922188878059387, 0.24657246470451355, 0.10642673820257187, 0.9470005631446838, -0.48269280791282654, 0.39203929901123047, 0.0774848610162735, -0.7592012882232666, 0.4239633083343506, 0.07472706586122513, 0.45796284079551697, 1.2821850776672363, 0.5268428921699524, -0.48243141174316406, -0.09993400424718857, -0.506900429725647, -0.9325239658355713, 0.4322729706764221, 0.33072444796562195, -0.2071545422077179, -0.44408199191093445, 0.21229177713394165, -0.07238802313804626, 0.19578510522842407, -0.34339237213134766, -0.5994110703468323, -0.20147408545017242, -0.12335074692964554, -0.02184850536286831, -0.40337643027305603, 0.16773954033851624, -0.12365448474884033, 0.4499899744987488, -0.1673341691493988, 0.44078707695007324, 0.4117409288883209, -0.0012519203592091799, 0.2185906320810318, 0.13942112028598785, -0.06006605178117752, 0.45788872241973877, -0.2686372399330139, 0.42511025071144104, 0.31277719140052795, -0.1524348109960556, -0.19627226889133453, 0.07491528987884521, 0.35848990082740784, 0.05283355712890625, 0.2812442481517792, 0.22678516805171967, 0.7112391591072083, -0.18066874146461487, 0.5960489511489868, -0.3160105347633362, -0.19752636551856995, -0.009843524545431137, -0.18720439076423645, 0.37866130471229553, 0.26387879252433777, 0.2727353572845459, 0.062355171889066696, 0.6235790252685547, -0.45629405975341797, 0.3409929573535919, 0.5749894380569458, -0.2568523585796356, 0.08076567202806473, 0.6022893786430359, 0.25574421882629395, -0.15123450756072998, 0.8843704462051392, -0.18490558862686157, -0.6577225923538208, 0.4980030059814453, 0.3678302466869354, 0.4517475664615631, -0.07456391304731369, -0.1663675606250763, 0.9130200147628784, 0.188712015748024, -0.23638194799423218, -0.2387910634279251, -0.5265776515007019, -0.537906289100647, -0.16916951537132263, -0.16130132973194122, -0.3085997998714447, -0.41482338309288025, -0.9009709358215332, 0.0059937783516943455, -0.2630407512187958, -0.2982482612133026, -0.039013635367155075, 0.3686305582523346, -0.8905475735664368, -0.10949655622243881, -0.10948773473501205, 0.7065202593803406, -0.4367385804653168, 0.6523163914680481, 0.49858158826828003, -0.2900794446468353, -0.5678719878196716, 0.008759762160480022, 0.14752233028411865, -0.30049264430999756, 0.17845389246940613, 0.36785128712654114, -0.571907103061676, -0.09159345179796219, -0.3832337558269501, -0.9577322602272034, 1.3038663864135742, 0.13039730489253998, -0.7079208493232727, 0.2589421570301056, -0.3037487268447876, 0.41663357615470886, -0.5750873684883118, 0.6466917991638184, 0.5483726859092712, 0.35551583766937256, 0.12619437277317047, -0.7352525591850281, -0.012554068118333817, -0.11675646156072617, -0.09227468073368073, 0.22604595124721527, -0.7733080983161926, 0.6973627805709839, -0.2541441321372986, -0.3494008779525757, 0.09144598990678787, 0.6817486882209778, 0.4436616897583008, 0.6269372701644897, 0.5919486284255981, 0.6334288120269775, 0.6918072700500488, 0.05839592218399048, 0.9261302351951599, -0.27414560317993164, 0.49051815271377563, 1.3926247358322144, -0.20223161578178406, 0.8596426248550415, 0.33262941241264343, -0.31329458951950073, 0.5730936527252197, 0.4387489855289459, 0.20178033411502838, 0.7337871789932251, 0.07372362166643143, -0.09714284539222717, -0.6518464684486389, -0.017467381432652473, -0.5045801401138306, 0.24568916857242584, -0.03208649158477783, -0.38396504521369934, -0.24843275547027588, -0.49511048197746277, -0.3646315336227417, 0.5709996223449707, 0.02237219735980034, 0.644413948059082, 0.0511486679315567, -0.6342891454696655, 0.0422578789293766, -0.04138113930821419, 0.9223078489303589, -0.30989786982536316, -0.16131924092769623, -0.38096514344215393, 0.31058207154273987, -0.14641889929771423, -0.614196240901947, 0.09348132461309433, -0.3803985118865967, -0.26115021109580994, 0.06134527921676636, 0.8033813834190369, -0.667140007019043, -0.2547672986984253, 0.8189336061477661, 0.6481097936630249, 0.23184369504451752, -0.28965359926223755, -0.8327714800834656, 0.28223079442977905, 0.04882112517952919, -0.018092749640345573, 0.3976556360721588, 0.3776806890964508, 0.28393688797950745, 0.6240522861480713, 0.5438893437385559, -0.034079499542713165, 0.1257469207048416, 0.3574009835720062, 1.0205914974212646, -0.7567009925842285, -0.32934266328811646, -0.5776544213294983, 0.07331163436174393, -0.41570332646369934, -0.02542077749967575, 0.7715296149253845, 0.8816839456558228, 1.0982223749160767, 0.17342013120651245, 0.1746121197938919, -0.1263856291770935, 0.6649523973464966, -0.19001850485801697, 0.6508457064628601, -0.7502521276473999, 0.18103714287281036, -0.20673887431621552, -1.2499099969863892, -0.15076419711112976, 0.728300929069519, -0.08158975094556808, 0.42669677734375, 0.9050068259239197, 1.086801290512085, -0.22752736508846283, -0.2867164611816406, 0.4198768734931946, -0.18542104959487915, 0.19186055660247803, 0.664814829826355, 0.716907799243927, -0.6282218098640442, 0.8947607278823853, -0.3942093551158905, 0.2645801603794098, -0.18126067519187927, -0.5762424468994141, -0.9799168109893799, -0.4719959795475006, -0.2899138033390045, -0.3385789692401886, 0.3594890534877777, 0.7687644958496094, 0.8723466396331787, -0.6623795628547668, 0.09496484696865082, 0.40115734934806824, 0.31333404779434204, -0.17332352697849274, -0.19510255753993988, 0.39724379777908325, -0.2368963360786438, -0.7853391170501709, 0.6835311055183411, 0.33653029799461365, -0.4538083076477051, -0.2839236557483673, -0.18560510873794556, -0.4198598563671112, -0.3178548514842987, 0.4062950909137726, -0.05867409706115723, -0.4794206917285919, -0.3801659345626831, 0.0915524885058403, -0.49067193269729614, 0.04431918263435364, 0.9647497534751892, -1.2553372383117676, 0.7751955389976501, 0.5554249882698059, 0.8544726967811584, 0.729124903678894, 0.24264059960842133, 0.17617900669574738, -0.5863505601882935, -0.3443393409252167, 0.026351938024163246, 0.0787738710641861, 0.48294246196746826, -0.32825225591659546, 0.8407388925552368, 0.06519325077533722, -0.7213330864906311, -0.3433290123939514, -0.11053215712308884, -0.7513128519058228, -0.10102968662977219, 0.6331517100334167, -0.14434714615345, -0.011971114203333855, 0.040276043117046356, 0.05253467336297035, 0.1811923235654831, -0.41068094968795776, 0.8799146413803101, 0.47415122389793396, 0.30217140913009644, 0.004709076136350632, -0.4601892828941345, 0.08642446994781494, 0.6489483118057251, -0.41765037178993225, -0.16649752855300903, 0.34494590759277344, 0.4661986827850342, 0.10007178783416748, 0.7025802731513977, -0.37399497628211975, 0.19851036369800568, 0.219517782330513, -0.1403426229953766, -0.13619999587535858, -0.5509114265441895, -0.26077091693878174, 0.30032992362976074, -0.11917533725500107, -0.3320118188858032 ]
http://arxiv.org/abs/2405.12788v1
http://arxiv.org/pdf/2405.12788v1
What Have We Achieved on Non-autoregressive Translation?
2024-05-21T13:38:15
2024-05-21T13:38:15
Yafu Li, Huajian Zhang, Jianhao Yan, Yongjing Yin, Yue Zhang
cs.CL
cs.CL
Recent advances have made non-autoregressive (NAT) translation comparable to autoregressive methods (AT). However, their evaluation using BLEU has been shown to weakly correlate with human annotations. Limited research compares non-autoregressive translation and autoregressive translation comprehensively, leaving uncertainty about the true proximity of NAT to AT. To address this gap, we systematically evaluate four representative NAT methods across various dimensions, including human evaluation. Our empirical results demonstrate that despite narrowing the performance gap, state-of-the-art NAT still underperforms AT under more reliable evaluation metrics. Furthermore, we discover that explicitly modeling dependencies is crucial for generating natural language and generalizing to out-of-distribution sequences.
[ -0.3395140767097473, -0.5346100926399231, 0.2573838233947754, 0.31307122111320496, -0.20237332582473755, 0.255557656288147, -0.3336707651615143, -0.9111884236335754, 0.14678800106048584, 0.27119022607803345, -0.19893932342529297, -0.17311829328536987, -0.705781877040863, 0.4966251850128174, -0.5246736407279968, 0.6783995032310486, -0.007566795218735933, -0.25404271483421326, -0.1450432687997818, -0.24046307802200317, -0.40175074338912964, -0.32188183069229126, -0.250716894865036, -0.5588854551315308, 0.23752735555171967, 0.26828819513320923, 0.7912753820419312, 0.7012867331504822, 0.6935878396034241, 0.22209200263023376, 0.01911398023366928, 0.3058638572692871, -0.19343316555023193, 0.05902519077062607, -0.26629167795181274, -0.181901216506958, -0.3500412106513977, 0.23088973760604858, 0.9630560278892517, 0.6946873068809509, 0.14213383197784424, 0.368743360042572, -0.02751738391816616, 1.0502711534500122, -0.7938944101333618, 0.03060036338865757, -0.38723206520080566, 0.013272971846163273, -0.14586599171161652, -0.07066554576158524, -0.5046802759170532, -0.6115738153457642, 0.3256174623966217, -0.09297390282154083, 0.5173752903938293, 0.1595655381679535, 0.8189599514007568, 0.5880537033081055, -0.7401291131973267, -0.077884241938591, -0.9874486327171326, 0.74467933177948, -0.6908366680145264, 0.6821504831314087, 0.5789399743080139, 0.16285890340805054, -0.35985681414604187, -0.26086127758026123, -0.240849569439888, -0.4761444628238678, -0.23212973773479462, 0.19882766902446747, -0.3480595648288727, -0.07234014570713043, 0.1125762090086937, 0.7398474812507629, -0.6104280948638916, 0.13512364029884338, -0.15760664641857147, -0.13815495371818542, 1.1258925199508667, 0.04570981115102768, 0.01423010416328907, -0.3534267842769623, -0.331285297870636, -0.13986486196517944, -0.44303807616233826, -0.1187182068824768, 0.3976072072982788, 0.1799083948135376, -0.20235562324523926, 0.5262005925178528, -0.40947815775871277, 0.8961505889892578, 0.1740511804819107, 0.30392366647720337, 0.417664110660553, -0.44491201639175415, -0.08991630375385284, -0.20652511715888977, 1.2010327577590942, 0.30480846762657166, -0.09792104363441467, -0.5996177792549133, -0.2379463016986847, -0.19206394255161285, 0.1833571493625641, -0.354848712682724, -0.33665767312049866, -0.029068995267152786, -0.47341787815093994, -0.1630438268184662, -0.08858776837587357, -0.9167565107345581, -0.1835595667362213, -0.04073607921600342, 0.33416682481765747, -0.266213983297348, -0.36119285225868225, -0.3795616328716278, -0.0028174836188554764, 0.1594754308462143, 0.3335481584072113, -0.8730711936950684, 0.3522263765335083, 0.12396754324436188, 1.053572416305542, -0.28330644965171814, -0.2003086805343628, -0.5505720973014832, -0.0960952639579773, -0.7386125922203064, 0.8615328669548035, -0.13687433302402496, -0.32688307762145996, -0.3535655736923218, -0.15619362890720367, -0.09924931079149246, -0.5868615508079529, 0.3319609761238098, -0.3032981753349304, 0.0013946887338533998, -0.4772503674030304, -0.4803323447704315, -0.4153895378112793, -0.05999305099248886, -0.7656792998313904, 0.878284215927124, 0.15502554178237915, -0.6031412482261658, 0.3895842134952545, -0.7624930143356323, -0.69624924659729, -0.034082721918821335, 0.23940281569957733, -0.37201058864593506, 0.5410850644111633, 0.05606255680322647, 0.0960286408662796, -0.5409180521965027, 0.26083463430404663, -0.0663723573088646, -0.092071533203125, 0.385601282119751, -0.7207204103469849, 0.506453275680542, 0.06756641715765, -0.5936647653579712, -0.22260205447673798, -0.6406115889549255, -0.15283198654651642, -0.023095596581697464, -0.16576431691646576, -0.18880541622638702, -0.14316792786121368, -0.06051599606871605, 0.36956700682640076, 0.06861411780118942, -0.6112608313560486, 0.017619671300053596, -0.5177156925201416, 0.5252701044082642, 0.410001277923584, -0.014530484564602375, 0.6702776551246643, -0.151540607213974, 0.4316460192203522, -0.2797771692276001, 0.1607232689857483, 0.0929865837097168, -0.6750227808952332, -0.594916582107544, -0.051887817680835724, 0.48643481731414795, 0.49923986196517944, -0.5233913064002991, 0.4045758843421936, -0.12701766192913055, -0.6306385397911072, -0.38943323493003845, 0.19510145485401154, 0.7633023262023926, 0.6699169278144836, 0.781188428401947, -0.7251437902450562, -0.24345576763153076, -0.982261061668396, -0.2621375322341919, -0.5625056028366089, 0.3169001042842865, 0.10798303782939911, 0.381073921918869, -0.2538996636867523, 0.7423702478408813, -0.278714120388031, -0.2238103747367859, 0.035421356558799744, 0.7480756640434265, -0.07411336153745651, 0.39003631472587585, 0.4696435034275055, -0.56162029504776, -0.45934000611305237, 0.10967918485403061, -0.7009541392326355, -0.3594944179058075, -0.023612644523382187, -0.26001599431037903, 0.6452474594116211, 0.23224970698356628, -0.5076570510864258, 0.862408459186554, 0.7025801539421082, -0.15063446760177612, 0.4436262845993042, -0.30657458305358887, 0.2686834931373596, -0.6146049499511719, 0.38584035634994507, 0.11827584356069565, -0.48637449741363525, -0.5823716521263123, -0.34951260685920715, 0.28487589955329895, 0.2703263461589813, -0.35083770751953125, 0.7007348537445068, -0.7169672250747681, -0.5237224102020264, -0.23939378559589386, -0.0514511875808239, 0.19390934705734253, -0.035403501242399216, 0.30282190442085266, 0.6200274229049683, 0.18652668595314026, -0.5755971074104309, 0.44156935811042786, 0.48889583349227905, -0.14833110570907593, 0.304255872964859, -0.5689345002174377, 0.18891003727912903, 0.010954382829368114, 0.41874203085899353, -0.8846004009246826, -0.0636272206902504, 0.34532642364501953, -0.574687123298645, 0.5707600116729736, -0.23568668961524963, -0.6064174771308899, -0.36443740129470825, -0.030446870252490044, 0.41888901591300964, 0.6406834125518799, -0.3678244352340698, 0.2049398422241211, 0.1458035260438919, 0.23659548163414001, -0.425146222114563, -1.10996413230896, 0.42378538846969604, -0.1269197165966034, -0.34189271926879883, 0.12944799661636353, 0.1328054815530777, -0.20492945611476898, 0.02711193822324276, -0.14065825939178467, -0.09980521351099014, 0.07572873681783676, 0.05290772020816803, 0.08036983013153076, -0.07891057431697845, 0.08007367700338364, -0.14461685717105865, -0.17253650724887848, -0.0076476894319057465, -0.3007960617542267, 0.09213197231292725, -0.22623737156391144, -0.2454497218132019, -0.4607033133506775, 0.4403345286846161, 0.2602217197418213, -0.4327253997325897, 0.48187124729156494, 0.630959689617157, -0.269971638917923, 0.056072648614645004, -0.8253554701805115, -0.04622801020741463, -0.378717303276062, 0.024994708597660065, -0.005310981534421444, -0.4338001310825348, 0.25120991468429565, 0.152963325381279, 0.052473034709692, 0.3548634350299835, 0.5697109699249268, -0.02101469784975052, 0.6039145588874817, 0.4633599817752838, 0.11326360702514648, 0.3879565894603729, -0.3348850905895233, 0.20814047753810883, -1.023508071899414, -0.04065823554992676, -0.24192601442337036, -0.3900773525238037, -0.7112323641777039, -0.3800232708454132, 0.018536537885665894, 0.20684345066547394, 0.22174127399921417, 0.6964807510375977, -0.42911604046821594, 0.174147367477417, 0.5298171639442444, -0.2369527816772461, 0.3849625885486603, -0.23643489181995392, 0.1733722686767578, -0.04490285739302635, -0.7513733506202698, -0.38693782687187195, 1.068435788154602, 0.13452690839767456, 0.4795829653739929, 0.2663467526435852, 0.8312221169471741, 0.5442804098129272, 0.6401283740997314, -0.5615217089653015, 0.23793745040893555, -0.3437832295894623, -0.782721221446991, -0.37730830907821655, -0.7448408007621765, -1.1222273111343384, 0.11776924133300781, -0.19491393864154816, -0.7464079260826111, 0.5715155601501465, 0.4291799068450928, -0.2470499575138092, 0.18828417360782623, -0.8196055293083191, 0.8552255630493164, -0.488060861825943, -0.4755682051181793, 0.1953829675912857, -0.8850793242454529, 0.2290315479040146, -0.15977850556373596, 0.25752168893814087, -0.22923853993415833, 0.07668851315975189, 0.3628959357738495, -0.3084418475627899, 0.695900022983551, -0.098777636885643, -0.055683817714452744, 0.38408347964286804, 0.2870495319366455, 0.2577053904533386, 0.08984274417161942, -0.12429434806108475, 0.5371549129486084, -0.3652788996696472, -0.431415855884552, -0.5745397806167603, 0.5403407216072083, -0.6532976627349854, -0.3386363983154297, -0.6264742612838745, -0.5482161045074463, -0.14589348435401917, 0.15966621041297913, 0.6360267996788025, 0.36185818910598755, -0.4121876358985901, -0.34892401099205017, 0.39811328053474426, -0.22256675362586975, 0.8133185505867004, 0.5551674365997314, -0.06629326939582825, -0.689482569694519, 0.9281545877456665, 0.31019818782806396, 0.5361921787261963, 0.5462707281112671, 0.2275637537240982, -0.7326046228408813, -0.49626827239990234, -0.862524688243866, 0.4655286371707916, -0.6026678681373596, -0.32842403650283813, -0.6544495224952698, -0.07984994351863861, -0.5895428657531738, -0.07794706523418427, -0.6009533405303955, -0.5267270803451538, -0.09073041379451752, 0.008486606180667877, 0.42294591665267944, 1.0172134637832642, -0.6152175664901733, -0.02988191694021225, -0.9429041147232056, 0.34071633219718933, 0.1722724288702011, 0.1331954300403595, -0.08603572100400925, -0.4797472655773163, -0.543285071849823, 0.0346093624830246, -0.33414968848228455, -0.9887611865997314, 0.5748663544654846, 0.36465415358543396, 0.4883197546005249, -0.009624634869396687, 0.1694311797618866, 0.690134584903717, -0.5848905444145203, 0.7330003380775452, 0.2040652483701706, -1.083890438079834, 0.5955477356910706, -0.11084666848182678, 0.41868856549263, 0.5957976579666138, 0.19434775412082672, -0.2732917070388794, -0.39670345187187195, -0.7080800533294678, -0.9076153635978699, 0.45104849338531494, 0.5612649321556091, -0.1528710126876831, -0.253147155046463, 0.38379189372062683, 0.04992859810590744, 0.33754682540893555, -0.45916783809661865, -0.23834897577762604, -0.3965170383453369, 0.2896152436733246, -0.5270289778709412, 0.10296811908483505, 0.33142849802970886, -0.11335959285497665, 0.5874261260032654, 0.08173459023237228, 0.32410648465156555, 0.5620344877243042, -0.2951817810535431, -0.6058991551399231, 0.011819927021861076, 0.5359644889831543, 0.46445232629776, -0.2523871660232544, 0.03780144825577736, 0.18508078157901764, -0.30972328782081604, 0.4253615438938141, 0.20824195444583893, -0.3600444495677948, 0.3728750944137573, 0.5910438895225525, 0.7443163990974426, -0.22272765636444092, -0.2149566262960434, 0.5445077419281006, -0.23174478113651276, -0.10910813510417938, -0.34810447692871094, -0.1928260624408722, -0.15901270508766174, 0.1309109777212143, 0.2128124088048935, 0.3570307791233063, 0.3705851137638092, -0.2890532910823822, 0.13213784992694855, 0.39582309126853943, -0.462848961353302, -0.5661529302597046, 0.7461734414100647, 0.32411840558052063, -0.41606542468070984, 0.5585790276527405, -0.6079031229019165, -0.26850345730781555, 0.37202173471450806, 0.45805585384368896, 1.2011522054672241, -0.4482591152191162, 0.3336752653121948, 0.39910998940467834, 0.6086565256118774, -0.2733120620250702, 0.15769760310649872, -0.21509265899658203, -0.35117414593696594, -0.7945618629455566, -0.6249585151672363, -0.4299863874912262, -0.16367875039577484, -0.8753572106361389, 0.10656050592660904, -0.13320046663284302, -0.548255980014801, -0.28141236305236816, -0.05811464414000511, -0.6581950187683105, 0.3165700435638428, 0.13125301897525787, 0.560524046421051, -1.1126359701156616, 0.7428966164588928, 1.041243076324463, -0.5600868463516235, -0.4063669741153717, 0.33592909574508667, -0.1638777107000351, -0.2510868012905121, 0.7859726548194885, 0.054750360548496246, -0.2823646664619446, 0.09663699567317963, -0.07955081760883331, -1.158806562423706, 0.7991363406181335, 0.38461974263191223, -0.3157164454460144, 0.019814660772681236, 0.2086402177810669, 0.7908973097801208, 0.04842919111251831, 0.21576383709907532, 0.5988366007804871, 0.5555545687675476, -0.07606089115142822, -1.196439266204834, -0.01991603709757328, -0.24167543649673462, 0.2298014760017395, 0.5210458636283875, -1.046167254447937, 0.3610049784183502, 0.002752832602709532, -0.16485467553138733, -0.13582955300807953, 0.7866621017456055, -0.30693894624710083, 0.41792741417884827, 0.2582816183567047, 0.6095635890960693, 0.47578465938568115, 0.038761671632528305, 1.0441803932189941, -0.13373422622680664, 0.27399715781211853, 1.1566033363342285, -0.15945491194725037, 0.6760203242301941, 0.34662064909935, -0.18974006175994873, 0.367490291595459, 0.6280726790428162, 0.12426352500915527, 0.562019407749176, 0.2806012034416199, -0.12782272696495056, -0.21370182931423187, -0.1705639511346817, -0.27486148476600647, 0.4171956479549408, 0.3605221211910248, -0.4372319281101227, -0.22905293107032776, -0.17895416915416718, -0.3251320719718933, 0.09556475281715393, -0.01820407807826996, 0.8039772510528564, 0.30400633811950684, -0.7951930165290833, 0.9566032290458679, -0.05036422237753868, 0.4472130835056305, -0.21535973250865936, -0.04699298366904259, -0.3564963638782501, -0.2192952185869217, -0.33669114112854004, -0.4350717067718506, 0.7239336967468262, 0.08814670145511627, -0.1731042116880417, -0.1934703290462494, 0.4560927450656891, -0.2395215481519699, -0.37372326850891113, 0.5116873383522034, 0.6293686628341675, 0.3567582070827484, 0.2770713269710541, -0.5303270816802979, -0.26640719175338745, -0.10345595329999924, -0.21305085718631744, 0.11611785739660263, 0.5010079741477966, -0.21436235308647156, 0.459176242351532, 0.5331350564956665, 0.23087461292743683, 0.3911924958229065, -0.16462768614292145, 0.28223732113838196, -0.6272374391555786, -0.170713409781456, -0.9116465449333191, 0.24797849357128143, 0.053263019770383835, -0.4555559754371643, 0.9497281312942505, 0.5148337483406067, 0.7376689910888672, 0.22967533767223358, 0.8305959701538086, -0.08085253834724426, 0.20383480191230774, -0.24406692385673523, 0.43364161252975464, -0.45543357729911804, -0.006059755105525255, -0.46035119891166687, -1.1285170316696167, -0.42972686886787415, 0.6501764059066772, -0.5413975119590759, -0.21748271584510803, 0.7289854288101196, 0.2148752510547638, 0.025988420471549034, -0.093378946185112, 0.3809886872768402, 0.027103375643491745, 0.20758695900440216, 0.42995622754096985, 0.9444004893302917, -0.5387218594551086, 0.37801918387413025, -0.40811973810195923, -0.326177179813385, -0.19427484273910522, -1.1810836791992188, -0.8894157409667969, -0.38789695501327515, -0.661216139793396, -0.33894872665405273, 0.24198879301548004, 0.9466423392295837, 0.6842806935310364, -0.666242778301239, -0.34118106961250305, -0.3820880949497223, -0.12687230110168457, -0.3677974045276642, -0.154027059674263, 0.3144342601299286, -0.3395341634750366, -0.580172061920166, 0.6166486144065857, 0.37108901143074036, 0.33070072531700134, -0.3761923611164093, -0.052374307066202164, -0.32315143942832947, 0.04247324913740158, 0.34004470705986023, 0.4829862415790558, -0.5663983821868896, -0.1928761899471283, -0.02619892731308937, 0.07418296486139297, 0.28399670124053955, 0.4373507797718048, -0.6878038048744202, 0.5566331148147583, 0.6743857860565186, 0.6005755066871643, 0.531984269618988, 0.30062079429626465, 0.7855104207992554, -0.6776390075683594, 0.020566100254654884, 0.30131980776786804, 0.1274719387292862, 0.7384688258171082, -0.40401706099510193, 0.6489447355270386, 0.24293465912342072, -0.8984676599502563, -0.7220279574394226, 0.5198657512664795, -0.3932114541530609, 0.22039465606212616, 1.177089810371399, -0.30284008383750916, -0.23030395805835724, -0.3836335837841034, 0.37844446301460266, 0.49336522817611694, -0.5399011373519897, 0.7718784809112549, 0.6811821460723877, -0.5308510661125183, -0.023410066962242126, -0.6306061148643494, 0.38268518447875977, 0.43780019879341125, -0.4690565764904022, 0.14420336484909058, 0.582817018032074, 0.045117586851119995, 0.29008495807647705, 0.6581418514251709, -0.17098863422870636, 0.19565780460834503, -0.22059856355190277, 0.10351619124412537, 0.06566179543733597, -0.15703153610229492, -0.44560450315475464, -0.5833307504653931, 0.45694395899772644, -0.054183878004550934 ]
http://arxiv.org/abs/2405.12775v1
http://arxiv.org/pdf/2405.12775v1
Unsupervised Multimodal Clustering for Semantics Discovery in Multimodal Utterances
2024-05-21T13:24:07
2024-05-21T13:24:07
Hanlei Zhang, Hua Xu, Fei Long, Xin Wang, Kai Gao
cs.MM
cs.MM, cs.AI, cs.CL
Discovering the semantics of multimodal utterances is essential for understanding human language and enhancing human-machine interactions. Existing methods manifest limitations in leveraging nonverbal information for discerning complex semantics in unsupervised scenarios. This paper introduces a novel unsupervised multimodal clustering method (UMC), making a pioneering contribution to this field. UMC introduces a unique approach to constructing augmentation views for multimodal data, which are then used to perform pre-training to establish well-initialized representations for subsequent clustering. An innovative strategy is proposed to dynamically select high-quality samples as guidance for representation learning, gauged by the density of each sample's nearest neighbors. Besides, it is equipped to automatically determine the optimal value for the top-$K$ parameter in each cluster to refine sample selection. Finally, both high- and low-quality samples are used to learn representations conducive to effective clustering. We build baselines on benchmark multimodal intent and dialogue act datasets. UMC shows remarkable improvements of 2-6\% scores in clustering metrics over state-of-the-art methods, marking the first successful endeavor in this domain. The complete code and data are available at https://github.com/thuiar/UMC.
[ -0.502444326877594, -0.5610499382019043, 0.6721674799919128, 0.11913085728883743, -0.22238849103450775, 0.20599666237831116, -0.38836905360221863, -0.08716780692338943, 0.35712406039237976, 0.16692841053009033, -0.54964280128479, -0.9269877076148987, -0.5393321514129639, -0.271593302488327, -0.14080072939395905, 0.45947661995887756, 0.3072631359100342, -0.003695341758430004, -0.7796260118484497, -0.5403871536254883, -0.4457746744155884, -0.26791295409202576, -0.05570167675614357, -0.1247260794043541, 0.386299729347229, 0.6007776856422424, 0.3760506510734558, 0.23880043625831604, 0.1377284824848175, 0.3829735815525055, -0.1337810456752777, 0.46456146240234375, -0.21338345110416412, 0.16540242731571198, 0.16998527944087982, -0.3647298812866211, 0.018365494906902313, -0.07849445194005966, 0.7650047540664673, 1.1311190128326416, -0.40398845076560974, -0.17819641530513763, -0.10165663063526154, 0.3918167054653168, -0.7414538860321045, 0.5404743552207947, -0.5161482691764832, 0.022229677066206932, -0.2758992314338684, -0.45828044414520264, -0.5957321524620056, 0.14133168756961823, 0.08695444464683533, -0.602403461933136, 0.07578861713409424, 0.07516665011644363, 0.18286706507205963, 0.18163467943668365, -0.9448683857917786, -0.019596902653574944, -0.48687565326690674, 0.9759432077407837, -0.40734750032424927, 0.6270129084587097, 0.1378728449344635, 0.2677316665649414, -0.299095094203949, -0.5677938461303711, -0.6561128497123718, -0.33831459283828735, -0.13294973969459534, 0.17456038296222687, -0.21005575358867645, 0.1863231509923935, 0.06729480624198914, 0.26756763458251953, -0.6027988791465759, 0.013555399142205715, 0.011631275527179241, -0.495585173368454, 0.09644443541765213, 0.08282602578401566, 0.23640064895153046, -0.27152329683303833, -0.4153411388397217, -0.3443264663219452, -0.3835397958755493, 0.16736938059329987, -0.017404019832611084, 0.2510853707790375, -0.021294036880135536, 0.5667442083358765, -0.3884895443916321, 0.3675945997238159, -0.12424031645059586, -0.1800209879875183, 0.6131985187530518, -0.3391152024269104, 0.2457486242055893, 0.10688799619674683, 0.6203126311302185, 0.448160856962204, -0.08165397495031357, -0.1720452904701233, 0.15120290219783783, 0.3318242132663727, 0.31057071685791016, -0.4456081688404083, -0.18556828796863556, -0.1466318964958191, -0.6068387627601624, -0.29572373628616333, 0.45986104011535645, -0.7124758958816528, -0.387755811214447, -0.3667698800563812, 0.40360578894615173, -0.24752750992774963, -0.4428543150424957, -0.31082773208618164, -0.05653325468301773, -0.12761461734771729, 0.08350057154893875, -0.8942564725875854, 0.04933534562587738, 0.12959571182727814, 0.5487440824508667, -0.25823473930358887, -0.19824063777923584, -0.4692675769329071, 0.27850472927093506, -0.325485497713089, 1.026038408279419, -0.8274323344230652, -0.5488877296447754, -0.10384581238031387, 0.2395450323820114, 0.07712815701961517, -0.48029688000679016, 0.47636649012565613, -0.18692146241664886, -0.014906873926520348, 0.10021050274372101, -0.39650627970695496, -0.3288980722427368, 0.025220997631549835, -0.49229827523231506, 0.9012327194213867, 0.08358905464410782, -0.5570626854896545, 0.5060296654701233, -0.9276763796806335, -0.4871198534965515, -0.11426186561584473, -0.2916867434978485, -0.16048528254032135, 0.3762025833129883, 0.4468778073787689, 0.5552563071250916, 0.07157160341739655, 0.07694651186466217, -0.34987112879753113, -0.006821508519351482, 0.511451005935669, -0.5592215061187744, 0.16527196764945984, 0.22540517151355743, -0.15073665976524353, 0.4319557249546051, -0.9284728169441223, 0.17845335602760315, 0.01598869077861309, -0.05678457394242287, -0.44469812512397766, 0.02162771485745907, 0.054410420358181, 0.0643586739897728, 0.11123941093683243, -0.7523735761642456, -0.09676303714513779, -0.1549091935157776, 0.49048399925231934, 0.6881392598152161, -0.10895730555057526, 0.7370599508285522, 0.061110928654670715, 0.10717368125915527, 0.4654807150363922, 0.2990199327468872, -0.6056017875671387, -0.366098016500473, -0.5975394248962402, -0.2704787850379944, 0.29580894112586975, 0.09287102520465851, -0.7208648920059204, 0.4888496994972229, -0.16746672987937927, -0.30904337763786316, -0.4623889625072479, -0.10671691596508026, 0.16373810172080994, 0.24986590445041656, 0.45445606112480164, -0.4627789258956909, -0.4192597568035126, -0.9323973655700684, 0.1572740226984024, 0.051452647894620895, -0.057373858988285065, 0.4198671877384186, 0.04672608897089958, -0.718302309513092, 1.0527726411819458, -0.5443355441093445, -0.5546627044677734, -0.20077981054782867, 0.5405864715576172, -0.10517137497663498, 0.5048787593841553, 0.3121858835220337, -0.9609262347221375, -0.14434775710105896, 0.0916895791888237, -0.5351778268814087, 0.010004382580518723, 0.07261615991592407, -0.03211209550499916, 0.16488929092884064, 0.5615294575691223, -0.5056923031806946, 0.4999177157878876, 0.5649862289428711, -0.16832131147384644, 0.17064552009105682, -0.44996997714042664, 0.45961064100265503, -1.106105089187622, -0.06545619666576385, -0.13145223259925842, -0.2922700047492981, -0.461396723985672, -0.3098682165145874, -0.029902495443820953, -0.0523800291121006, -0.19159770011901855, 0.18191517889499664, -0.5517518520355225, -0.08733713626861572, -0.33593231439590454, 0.06546404957771301, -0.2201768457889557, 0.7804189920425415, -0.00564991170540452, 0.42688310146331787, 0.6200452446937561, -0.5258678793907166, 0.415714830160141, 0.40608692169189453, -0.517228364944458, 0.6262739896774292, -0.2065051645040512, 0.1339530199766159, -0.2164033055305481, 0.295107901096344, -1.1180570125579834, -0.3051835000514984, -0.1962335705757141, -0.7302542328834534, 0.1055055633187294, -0.10820630192756653, -0.5501406788825989, -0.0865030512213707, -0.033441923558712006, 0.6100270748138428, 0.3646794259548187, -0.7738847136497498, 0.968737781047821, 0.827311635017395, -0.05756950378417969, -0.30265188217163086, -0.5052658915519714, -0.10785779356956482, -0.08472799509763718, -0.6153693199157715, 0.4256705343723297, -0.06562833487987518, 0.21926847100257874, -0.15610836446285248, -0.20854781568050385, 0.03903180733323097, -0.2413671910762787, 0.5812168717384338, 0.007345488760620356, 0.24597376585006714, 0.1646081805229187, 0.2683502435684204, -0.5105828642845154, -0.08943933993577957, -0.2265542894601822, 0.5283947587013245, -0.07708711177110672, -0.681654691696167, -0.4315038025379181, 0.5998178124427795, 0.6025791764259338, -0.2776450514793396, 0.37227529287338257, 0.9095536470413208, -0.2686070501804352, -0.03394734114408493, -0.6768897771835327, -0.43990442156791687, -0.4004269242286682, 0.2935806214809418, -0.22053098678588867, -1.1192739009857178, 0.31794750690460205, -0.5680874586105347, -0.18511265516281128, 0.21427568793296814, 0.5234203338623047, -0.13279247283935547, 1.551236629486084, 0.759728193283081, 0.03598108887672424, 0.5366388559341431, -0.11295127868652344, 0.2910728454589844, -0.6484195590019226, -0.7009865641593933, -0.2736511528491974, -0.2968515157699585, -0.6634976267814636, -0.6470715403556824, 0.820482075214386, -0.36451318860054016, 0.39169472455978394, 0.06472232192754745, -0.3062882423400879, 0.4612869322299957, 0.7113739252090454, -0.03980611637234688, 0.48663702607154846, 0.1693505048751831, -0.5974709987640381, -0.08025146275758743, -0.5426349639892578, -0.1587977558374405, 0.964036762714386, 0.08507172018289566, 0.8155981302261353, 0.15482717752456665, 0.36162325739860535, 0.3027770221233368, -0.19280444085597992, -0.6653465032577515, 0.636365532875061, 0.01951966993510723, -0.20903280377388, -0.11417538672685623, -0.6578769683837891, -1.0066832304000854, 0.4976099729537964, -0.5408177375793457, -0.7273562550544739, 0.19648627936840057, 0.034555498510599136, -0.2591838836669922, 0.03660719096660614, -0.7843825221061707, 0.9161115288734436, -0.100412517786026, -0.023862391710281372, -0.6627986431121826, -1.0132607221603394, -0.14397357404232025, 0.32262134552001953, 0.251249223947525, -0.18296441435813904, 0.27134695649147034, 0.6631121635437012, -0.06795381754636765, 0.7652237415313721, -0.4217778146266937, 0.10945171117782593, 0.18265020847320557, -0.03743639960885048, 0.09979885071516037, 0.20894765853881836, 0.6737423539161682, 0.20875999331474304, 0.1890961080789566, -0.32503125071525574, -0.8272467255592346, 0.8873569965362549, -0.38667914271354675, 0.015312653966248035, -0.3342512547969818, -0.6032326221466064, -0.5403384566307068, 0.1918671876192093, -0.09567692130804062, 0.891221284866333, -0.37734001874923706, 0.49736836552619934, 0.6126786470413208, -0.037682171911001205, 0.38043490052223206, 0.5626330971717834, -0.12561482191085815, -0.30585429072380066, 1.0819909572601318, -0.3008914589881897, -0.037336740642786026, 0.6786046028137207, 0.16238759458065033, -0.6317237615585327, -0.4194555878639221, -0.24785038828849792, 0.0658777579665184, -0.6095137596130371, 0.022904502227902412, -0.7291959524154663, 0.19501759111881256, -0.4775948226451874, 0.2080984115600586, -0.39792659878730774, -0.2299247682094574, -0.10215055197477341, -0.12673352658748627, 0.08584688603878021, 0.5664236545562744, -0.33647629618644714, 0.3725680112838745, -0.8389973044395447, 0.305023729801178, 0.4338398277759552, 0.2939974069595337, -0.11336133629083633, -0.08233441412448883, -0.14044874906539917, 0.1607273519039154, -0.32103320956230164, -0.43572312593460083, 0.23510313034057617, 0.04131227731704712, 0.7446766495704651, 0.924233078956604, 0.021219488233327866, 0.5055418610572815, -0.23453819751739502, 0.5569705963134766, 0.4029203951358795, -0.6373640894889832, 0.4256570041179657, -0.15386654436588287, 0.5100430250167847, 0.5717889666557312, 0.20034034550189972, -0.6460814476013184, 0.011712358333170414, -0.6864044070243835, -0.8025227785110474, 0.5436403155326843, 0.17582273483276367, 0.024169227108359337, -0.11556857079267502, -0.183735191822052, 0.1315607875585556, 0.41647613048553467, -0.38575562834739685, -0.25826719403266907, -0.0921219065785408, -0.2519768476486206, -0.22704145312309265, -0.32766589522361755, -0.21601083874702454, -0.38300400972366333, 0.21696864068508148, -0.4286845028400421, 0.5044351816177368, -0.14472010731697083, -0.4240286350250244, 0.13182154297828674, 0.3972388207912445, 0.4999823570251465, 0.5890750885009766, -0.06308525800704956, 0.4036930203437805, 0.0381225161254406, -0.14917303621768951, -0.12173890322446823, 0.05048937350511551, 0.4848257005214691, -0.06498970091342926, 0.2268020063638687, 0.94168621301651, 0.5976735353469849, -0.9791640043258667, 0.7361615300178528, -0.1751798540353775, -0.004558098968118429, -0.4337226450443268, -0.23045507073402405, -0.1868515908718109, 0.3613612949848175, 0.3334575593471527, 0.2873370051383972, 0.31771576404571533, -0.7050259113311768, 0.2506098449230194, 0.603515088558197, -0.46125519275665283, -0.34489724040031433, 0.20457972586154938, 0.3099156618118286, 0.38768836855888367, 0.4921175241470337, -0.24160648882389069, -0.32817342877388, 0.08566372841596603, 0.31838423013687134, 0.3739694356918335, -0.26761144399642944, 0.387319415807724, 0.008719419129192829, -0.10742606967687607, 0.2128966897726059, -0.05014181137084961, -0.6282256841659546, -0.8264685869216919, -0.3597643971443176, -0.4291277527809143, -0.14666762948036194, -0.30194270610809326, -0.6209381818771362, -0.13200658559799194, 0.049694471061229706, -0.17822197079658508, -0.15527629852294922, -0.39781808853149414, -0.2507040798664093, -0.06928201019763947, 0.2435338795185089, 0.23736083507537842, -0.7063747644424438, 0.5853873491287231, 0.799639880657196, -0.0654509961605072, -0.48045724630355835, -0.24849337339401245, 0.2852775454521179, -0.7025396227836609, 0.17244774103164673, 0.29552143812179565, -0.14773792028427124, 0.072685606777668, -0.41526076197624207, -0.6787391901016235, 1.1507468223571777, 0.09033943712711334, -0.23114018142223358, 0.09953254461288452, 0.2554788887500763, 0.28429365158081055, -0.540652334690094, 0.5460004210472107, 0.5790566802024841, 0.5186941623687744, 0.4605596363544464, -0.7844111323356628, -0.20198224484920502, -0.25111261010169983, 0.1821727305650711, 0.3701819181442261, -0.3266127407550812, 0.41933393478393555, -0.3270806670188904, -0.313631534576416, 0.05483290180563927, 0.8437206745147705, 0.049220506101846695, 0.43274760246276855, 0.8261995911598206, 0.7865822911262512, 0.6192851066589355, -0.2656807005405426, 0.5026884078979492, 0.14566940069198608, 0.28232717514038086, 0.680406928062439, -0.09077457338571548, 0.6180137395858765, 0.5830827951431274, -0.034459590911865234, 0.6286535263061523, 0.39737579226493835, 0.2249900847673416, 0.7323877215385437, -0.010072166100144386, -0.4367983639240265, -0.4697531759738922, -0.47784554958343506, -0.05833389237523079, 0.7960237860679626, 0.4608154892921448, 0.0309629924595356, -0.2984648644924164, 0.5862371921539307, -0.26713481545448303, 0.1588948369026184, -0.13134989142417908, 1.1451003551483154, -0.060677915811538696, -0.3708246052265167, 0.14033323526382446, -0.21494315564632416, 0.8355840444564819, -0.5551180839538574, -0.23594866693019867, 0.026069331914186478, 0.18995852768421173, -0.24386103451251984, -0.6498623490333557, -0.031052544713020325, -0.5055208206176758, -0.27648302912712097, 0.003420302178710699, 0.4925696849822998, -0.7626936435699463, -0.14171943068504333, 0.4233018457889557, 0.27483558654785156, 0.04095614328980446, -0.39825475215911865, -0.29850709438323975, 0.03566335141658783, -0.051879677921533585, 0.2808096408843994, 0.4101521372795105, 0.3928295373916626, -0.17542338371276855, 0.6353123784065247, 0.791930615901947, -0.36138758063316345, 0.11086404323577881, 0.49410003423690796, 0.8909360766410828, -0.4740976095199585, -0.5656964182853699, -0.3202296793460846, 0.6762790679931641, -0.17791789770126343, -0.023326802998781204, 0.45450887084007263, 0.35716724395751953, 0.9466259479522705, -0.1023557260632515, 0.6093373894691467, -0.19717271625995636, 0.589859127998352, -0.6043005585670471, 0.43884286284446716, -0.7225648760795593, -0.25750431418418884, -0.23362894356250763, -0.9283320307731628, -0.2420676350593567, 0.6257901191711426, 0.145827054977417, 0.18327674269676208, 0.8988771438598633, 1.0739079713821411, -0.20169322192668915, 0.17924651503562927, 0.5215988159179688, 0.21023572981357574, 0.285385400056839, 0.30250322818756104, 1.0963339805603027, 0.05668806657195091, 0.5814958214759827, -0.36765915155410767, -0.6121698021888733, -0.15842117369174957, -0.6630808711051941, -0.8028659224510193, -1.2018506526947021, -0.017316630110144615, 0.08054269850254059, -0.4144362211227417, 1.0562340021133423, 1.0156396627426147, -0.733847439289093, -0.08687849342823029, 0.13029059767723083, -0.12211315333843231, -0.2190132439136505, -0.23392558097839355, 0.11217646300792694, -0.3030017912387848, -0.6845038533210754, 0.842720627784729, 0.38216716051101685, -0.011731053702533245, -0.26612764596939087, -0.012214005924761295, -0.28262442350387573, -0.2915169596672058, 0.9018054008483887, 0.08547995984554291, -0.6781485676765442, -0.1282614916563034, -0.16805320978164673, 0.41517987847328186, 0.08071798831224442, 1.1592836380004883, -0.7605385780334473, 0.6547709107398987, 0.31352919340133667, 0.5794868469238281, 0.4499788284301758, -0.005530642811208963, 0.23254862427711487, -1.0320708751678467, 0.35762879252433777, 0.1120096817612648, 0.49171212315559387, 0.36068227887153625, 0.10314100980758667, 0.05528838932514191, 0.4087229073047638, -0.527104914188385, -0.5460666418075562, 0.29131099581718445, -1.5687017440795898, -0.14723800122737885, 0.9213033318519592, 0.3059549033641815, -0.1494535207748413, -0.08162826299667358, -0.46168699860572815, 0.06425310671329498, -0.7463785409927368, 0.6467466354370117, 0.38692131638526917, -0.22250179946422577, -0.23653925955295563, -0.1343763917684555, 0.17579437792301178, 0.4437633156776428, -0.7534448504447937, -0.06381115317344666, 0.6284843683242798, 0.020884471014142036, 0.4490344822406769, 0.27629217505455017, -0.3606340289115906, 0.08747617900371552, -0.26514720916748047, 0.23654505610466003, -0.1134343221783638, -0.6663270592689514, 0.026940345764160156, 0.2719500660896301, -0.12591254711151123, -0.35537728667259216 ]
http://arxiv.org/abs/2405.12744v1
http://arxiv.org/pdf/2405.12744v1
The Echoes of Multilinguality: Tracing Cultural Value Shifts during LM Fine-tuning
2024-05-21T12:55:15
2024-05-21T12:55:15
Rochelle Choenni, Anne Lauscher, Ekaterina Shutova
cs.CL
cs.CL
Texts written in different languages reflect different culturally-dependent beliefs of their writers. Thus, we expect multilingual LMs (MLMs), that are jointly trained on a concatenation of text in multiple languages, to encode different cultural values for each language. Yet, as the 'multilinguality' of these LMs is driven by cross-lingual sharing, we also have reason to belief that cultural values bleed over from one language into another. This limits the use of MLMs in practice, as apart from being proficient in generating text in multiple languages, creating language technology that can serve a community also requires the output of LMs to be sensitive to their biases (Naous et al., 2023). Yet, little is known about how cultural values emerge and evolve in MLMs (Hershcovich et al., 2022a). We are the first to study how languages can exert influence on the cultural values encoded for different test languages, by studying how such values are revised during fine-tuning. Focusing on the fine-tuning stage allows us to study the interplay between value shifts when exposed to new linguistic experience from different data sources and languages. Lastly, we use a training data attribution method to find patterns in the fine-tuning examples, and the languages that they come from, that tend to instigate value shifts.
[ -0.5887390971183777, -0.3907381296157837, 0.11310995370149612, 0.05306634679436684, -0.08891021460294724, 0.12680701911449432, -0.37048330903053284, -0.9058468341827393, 0.3436228036880493, 0.5360021591186523, -0.5739584565162659, -0.06951434165239334, -0.7244079113006592, 0.16320845484733582, 0.013485482893884182, 1.2730507850646973, -0.12204424291849136, 0.3300330340862274, 0.30786678194999695, -0.6575204730033875, -0.2845248878002167, -0.7172249555587769, -0.4982384145259857, -0.34538590908050537, 0.676374614238739, 0.5838878154754639, 0.6359056830406189, 0.49915415048599243, 0.3828137516975403, 0.08183809369802475, -0.13983014225959778, 0.3317999243736267, -0.8188061714172363, 0.14745298027992249, -0.18026405572891235, -0.7123845219612122, -0.11760575324296951, 0.26270702481269836, 0.7046507596969604, 0.7086600661277771, 0.1893264800310135, 0.6035493016242981, 0.2691224217414856, 0.8289879560470581, -0.6592474579811096, 0.13461264967918396, -0.7451722025871277, 0.035811226814985275, -0.42980721592903137, -0.46165111660957336, -0.3207840025424957, -0.5491985082626343, -0.2634629011154175, -0.38603487610816956, 0.1313086301088333, -0.23223301768302917, 1.0102061033248901, 0.14950256049633026, -0.7534781098365784, -0.4878969192504883, -0.7131586074829102, 1.0885930061340332, -0.2661336362361908, 0.4570937156677246, 0.4436127841472626, 0.017347266897559166, 0.13679543137550354, -0.4706169068813324, -0.4984809458255768, 0.22373545169830322, 0.0153086818754673, 0.0330510176718235, 0.39926397800445557, -0.36658746004104614, 0.06089749559760094, 0.6159923076629639, -0.0908292755484581, 0.11044847965240479, -0.5337963104248047, -0.03455637767910957, 0.5874866247177124, 0.26566043496131897, 0.3036922812461853, 0.10321778804063797, -0.2022136151790619, -0.2593962252140045, -0.8870826959609985, 0.4481019675731659, 0.4083898067474365, 0.6819740533828735, 0.02399788238108158, 0.25171366333961487, 0.01966036483645439, 0.3236748278141022, 0.0479808934032917, -0.3818358778953552, 0.37778759002685547, -0.7329892516136169, 0.11522698402404785, 0.19682073593139648, 0.529711127281189, 0.5692564249038696, 0.8712314963340759, 0.2892557382583618, 0.016510307788848877, -0.02865661308169365, 0.03607594966888428, -0.8938772678375244, 0.13560611009597778, -0.10066332668066025, -0.8919835686683655, -0.2831854820251465, -0.07053806632757187, -0.6537719964981079, -0.541704535484314, -0.3890324532985687, 0.1382860243320465, -0.2615625858306885, -0.5938085317611694, 0.10026344656944275, -0.025582337751984596, 0.38704052567481995, 0.04663060978055, -1.3265661001205444, 0.09898293763399124, 0.5352784991264343, 0.6974226236343384, -0.09449739754199982, -0.6275476813316345, -0.2941358983516693, -0.03905632719397545, -0.46688592433929443, 0.4453052878379822, -0.6276322603225708, -0.5324862599372864, 0.3055684566497803, 0.31319546699523926, 0.05601595714688301, -0.5258582234382629, 0.47680607438087463, -0.5064896941184998, 0.15987156331539154, -0.6484003067016602, -0.3378646969795227, -0.06021206080913544, 0.2963961660861969, -0.7463072538375854, 1.0796858072280884, -0.14193099737167358, -0.5046281218528748, 0.8462954759597778, -0.4156091809272766, -0.47981756925582886, -0.14619489014148712, -0.30652180314064026, -0.312000036239624, 0.23130236566066742, -0.02856050245463848, 0.3634968101978302, -0.1373342126607895, -0.05150390416383743, -0.3462105989456177, -0.4132923483848572, 0.25668132305145264, -0.7956310510635376, 0.9905642867088318, 0.40610602498054504, -0.3955439329147339, -0.16167937219142914, -0.7273670434951782, 0.2369575947523117, -0.12154971808195114, -0.4520283639431, -0.37233230471611023, -0.09513908624649048, 0.22483457624912262, 0.539152204990387, 0.12277982383966446, -0.3328002989292145, 0.13057087361812592, -0.1261700689792633, 0.014971496537327766, 0.7374277114868164, -0.034941140562295914, 0.41053614020347595, -0.4396883249282837, 0.5835762619972229, 0.10969427973031998, 0.222300723195076, -0.44159841537475586, -0.4541834592819214, -0.8019716143608093, 0.037031229585409164, -0.02299298532307148, 0.547191321849823, -0.3751801550388336, -0.2783563733100891, -0.042227864265441895, -0.4920143187046051, -1.2783766984939575, 0.3412528336048126, 0.14955055713653564, -0.025254763662815094, 0.3824876546859741, -0.1498078554868698, -0.3485407829284668, -0.9657924175262451, -0.5603942275047302, -0.04437024146318436, 0.15239080786705017, 0.09173078835010529, 0.31561732292175293, -0.16546575725078583, 0.5187463760375977, -0.30477696657180786, -0.4132593870162964, 0.007544633466750383, 0.23327010869979858, 0.1668834239244461, 0.5185345411300659, 0.5391075611114502, -0.7424889206886292, -0.8661454319953918, 0.31836625933647156, -0.6316699981689453, -0.13215018808841705, -0.3352857828140259, -0.0024764640256762505, 0.5643671154975891, 0.4735110104084015, -0.008110183291137218, 0.23336400091648102, 0.8831954002380371, -0.3585917055606842, 0.6034212112426758, -0.1833445131778717, 0.5971040725708008, -1.306718111038208, -0.003964699804782867, -0.261827677488327, 0.15882903337478638, -0.5645500421524048, 0.03006567247211933, 0.16980671882629395, 0.19713126122951508, -0.294503390789032, 0.6082339286804199, -0.7611255645751953, 0.20162536203861237, -0.2843032777309418, -0.23008280992507935, 0.07795336097478867, 0.21854250133037567, 0.11892136931419373, 0.6491565704345703, 0.24193868041038513, -0.5180379152297974, -0.04035283997654915, -0.02266232855618, -0.4503207802772522, 0.9053487181663513, -0.05041365325450897, -0.05639570206403732, -0.09312723577022552, -0.12749789655208588, -0.7527436017990112, 0.3019617795944214, -0.05908089503645897, -0.39062631130218506, 0.29274266958236694, -0.45641854405403137, -0.422446608543396, 0.2633185386657715, -0.22152310609817505, 0.5424473285675049, 0.44783809781074524, -0.5038089752197266, 0.2264823615550995, 0.5377933382987976, -0.24389411509037018, -0.8343037962913513, -0.8488507866859436, 0.15344029664993286, -0.4814802408218384, -0.6080791354179382, -0.17407768964767456, -0.28352174162864685, -0.5121465921401978, -0.3672833740711212, 0.2005392163991928, -0.20310379564762115, 0.2827272117137909, 0.061593856662511826, -0.1448301076889038, -0.3856212794780731, 0.2805384695529938, 0.21199746429920197, -0.18948403000831604, 0.1997804045677185, -0.4302273094654083, 0.3008972108364105, -0.4255322813987732, -0.27505943179130554, -0.17539481818675995, 0.7589955925941467, 0.7102406024932861, -0.584892749786377, 1.1161994934082031, 1.0291539430618286, -0.3134608566761017, -0.08861090242862701, -0.5668877363204956, -0.2609299421310425, -0.4555149972438812, 0.32770612835884094, -0.6337708830833435, -0.7655336260795593, 0.8527646660804749, 0.05807683989405632, 0.071404367685318, 0.3819325864315033, 0.7302514910697937, -0.1529804915189743, 0.8424592018127441, 0.7001753449440002, 0.003511982038617134, 0.534981369972229, -0.11531870812177658, 0.049957673996686935, -0.49772384762763977, -0.1362479329109192, -0.6127689480781555, -0.49529317021369934, -1.1586140394210815, -0.42496350407600403, 0.3485673666000366, 0.19587349891662598, -0.03469916433095932, -0.38512787222862244, -0.22990351915359497, 0.7772435545921326, 0.5202298760414124, -0.3210624158382416, 0.38654524087905884, 0.0010144265834242105, 0.008837297558784485, -0.3326241672039032, -0.611465334892273, -0.6892160773277283, 1.0813581943511963, 0.34096696972846985, 0.8569117188453674, 0.19854772090911865, 0.45622944831848145, -0.007393418811261654, 0.4044297933578491, -0.6444522738456726, -0.02659693732857704, -0.18188846111297607, -0.7482410669326782, -0.2734072804450989, -0.05815526470541954, -1.1485213041305542, 0.46587517857551575, -0.2611899673938751, -0.5427508354187012, 0.3633538782596588, 0.2727072834968567, -0.10584229230880737, 0.47530868649482727, -0.6184712648391724, 0.9877801537513733, -0.26849037408828735, -0.6420453786849976, -0.1788271963596344, -0.7793532013893127, 0.2528817355632782, -0.15568822622299194, 0.5177478194236755, -0.04101812466979027, 0.2441021203994751, 0.536261260509491, 0.16289901733398438, 1.0739240646362305, -0.03447785601019859, -0.6049506664276123, 0.09486964344978333, 0.3572084307670593, 0.21219947934150696, 0.23772430419921875, -0.19560018181800842, 0.38118627667427063, 0.39207738637924194, -0.6287584900856018, -0.12913233041763306, 0.826359748840332, -0.7480638027191162, -0.2855237126350403, -0.37612298130989075, -0.6433913111686707, -0.11800028383731842, 0.3363858163356781, 0.22140975296497345, 0.23803603649139404, -0.18063794076442719, 0.12174079567193985, 0.868975818157196, -0.1282193958759308, 0.271367609500885, 0.5787734985351562, -0.2588236629962921, -0.16071921586990356, 0.9615802764892578, 0.37203750014305115, 0.6776788830757141, 0.18808086216449738, 0.31451472640037537, -0.09109044820070267, -0.29603326320648193, -0.6476551294326782, 0.1271435171365738, -0.8457602262496948, 0.18658746778964996, -0.22741739451885223, 0.14684565365314484, -0.27232202887535095, -0.4142722487449646, -0.5256103277206421, -0.1818302422761917, -0.3142069876194, -0.0935760885477066, 0.28783920407295227, 0.8087987303733826, -0.15899516642093658, -0.08321196585893631, -1.0720341205596924, -0.1327686756849289, -0.04900234192609787, 0.5348433256149292, -0.1817300021648407, -0.43880391120910645, -0.8759666085243225, 0.4022008180618286, -0.10503233224153519, -0.7800998687744141, 0.310398668050766, 0.17973892390727997, 0.5676316618919373, 0.5426814556121826, -0.16069547832012177, 0.9077014327049255, -0.4680684804916382, 0.9477301836013794, -0.19770418107509613, -0.9121255278587341, 0.2752564549446106, -0.2905109226703644, 0.4950000047683716, 0.7829620838165283, 0.44814568758010864, -1.2359989881515503, -0.5759120583534241, -0.4841292202472687, -0.7196008563041687, 0.6025058031082153, -0.2554582953453064, 0.3399427831172943, -0.06601583957672119, 0.2471168488264084, 0.5348420143127441, 0.22290171682834625, -0.8141456246376038, -0.5044780373573303, -0.27140676975250244, -0.15782003104686737, -0.4358179271221161, -0.3576812446117401, -0.18390586972236633, -0.18902163207530975, 0.3034151792526245, -0.4496400058269501, -0.057886503636837006, 0.06134199723601341, -0.2959102392196655, -0.3321603536605835, 0.3732059597969055, 0.8924375176429749, 0.690396249294281, -0.038543637841939926, 0.4861319959163666, 0.3069439232349396, -0.4485860764980316, 0.11056777834892273, -0.22548161447048187, -0.12387266755104065, -0.020145226269960403, 0.31914713978767395, 0.8045850992202759, 0.005630041006952524, -0.3294016122817993, 0.09816356003284454, 0.08337637782096863, -0.007750163786113262, -0.3807036578655243, -0.21331340074539185, 0.16462555527687073, 0.09871132671833038, 0.2669644355773926, 0.08399655669927597, -0.048624828457832336, -0.8978428244590759, 0.1792943924665451, 0.38994142413139343, -0.7385334372520447, -0.44958192110061646, 0.5074295997619629, 0.26215457916259766, -0.1670222133398056, 0.5205326676368713, -0.17896857857704163, -0.512215793132782, 0.48171931505203247, 0.4215099811553955, 0.6437393426895142, -0.45234307646751404, -0.014066750183701515, 0.2693391740322113, 0.5865834355354309, 0.1287948042154312, 0.42353108525276184, 0.1552475392818451, -1.1025965213775635, -0.3912522494792938, -0.5003756880760193, -0.1013607382774353, -0.10305419564247131, -0.9847724437713623, 0.18054316937923431, 0.2348480224609375, 0.03907731547951698, -0.24545155465602875, 0.05104275047779083, -0.6547444462776184, 0.1565355360507965, 0.37251362204551697, 0.6687480807304382, -1.0664294958114624, 0.8876928687095642, 0.492074191570282, -0.37425926327705383, -0.5222630500793457, 0.1365937441587448, 0.2427801787853241, -0.9449635744094849, 0.8762503266334534, 0.19231188297271729, -0.32383209466934204, -0.10443795472383499, 0.04046923294663429, -0.7226952910423279, 0.8303200006484985, 0.22603538632392883, -0.20367296040058136, 0.4494868516921997, 0.5991343259811401, 0.6806476712226868, -0.282957524061203, 0.4074806571006775, 0.5439208745956421, 0.5643764734268188, -0.37662872672080994, -1.2386200428009033, -0.2051229625940323, -0.18657828867435455, -0.19703707098960876, 0.45797449350357056, -0.7854220271110535, 0.9112288355827332, -0.2772700786590576, -0.1438242793083191, -0.3242970407009125, 0.3178035616874695, -0.09815630316734314, 0.32039955258369446, 0.29179269075393677, 0.06696135550737381, 1.0014653205871582, -0.04365011304616928, 1.0216777324676514, -0.6955646872520447, 0.33354127407073975, 1.0157550573349, -0.26228368282318115, 0.8043639063835144, 0.9659324288368225, 0.04541109874844551, 0.40709590911865234, 0.7534711956977844, 0.13269324600696564, 0.30467647314071655, 0.2421044111251831, -0.1515379250049591, -0.07738961279392242, -0.2958643436431885, -0.5184080004692078, 0.45925700664520264, 0.30295974016189575, -0.5394424796104431, 0.09140511602163315, 0.02429315634071827, 0.38794630765914917, 0.191858172416687, -0.4227356016635895, 0.7582616209983826, 0.09528420120477676, -0.8546285033226013, 0.9079093337059021, -0.15995359420776367, 0.7158735394477844, -0.7459021806716919, 0.07951105386018753, -0.4247846305370331, 0.47871753573417664, -0.20274457335472107, -1.0218037366867065, 0.4218539297580719, -0.2197902649641037, -0.44663405418395996, -0.8887400031089783, 0.38979020714759827, -0.8830814361572266, -0.53928142786026, 0.4132155776023865, 0.7589173316955566, 0.11728374660015106, 0.09355835616588593, -0.4959087669849396, 0.12640151381492615, 0.19798439741134644, -0.28850358724594116, 0.4565679430961609, 0.5830392241477966, -0.2307230830192566, 0.4764731824398041, 0.5376058220863342, 0.17084792256355286, 0.2855098247528076, 0.22275276482105255, 0.21068471670150757, -0.6523083448410034, -0.4081512987613678, -0.911453366279602, 0.5521689653396606, 0.14278484880924225, -0.7470638751983643, 0.8708758354187012, 0.5501747727394104, 1.3087882995605469, -0.08922888338565826, 0.722194492816925, 0.2523951828479767, 0.15641821920871735, -0.5875502228736877, 1.0063694715499878, -0.7628879547119141, 0.08580630272626877, -0.1704237014055252, -0.5594425201416016, -0.14332766830921173, 0.46348077058792114, 0.12147824466228485, -0.005622149910777807, 0.8302931785583496, 0.7007191777229309, 0.16114690899848938, 0.05891105532646179, 0.23951713740825653, 0.09971154481172562, 0.34403982758522034, 0.3225014805793762, 0.8342723846435547, -0.34945547580718994, 0.5467138886451721, -0.22318598628044128, -0.1430857628583908, -0.0734705924987793, -0.7444584369659424, -0.557433545589447, -0.7453463673591614, -0.1181882992386818, -0.4922421872615814, -0.11539588868618011, 0.9808304905891418, 0.5157210230827332, -0.8718372583389282, -0.7482435703277588, 0.4563196897506714, 0.053988710045814514, -0.6320597529411316, -0.22163699567317963, 0.1392863392829895, -0.5384103059768677, -0.9832316040992737, 0.20445525646209717, 0.05378834903240204, 0.1130698174238205, -0.4527088403701782, -0.17701415717601776, -0.22694799304008484, 0.03518036752939224, 0.730532169342041, 0.16108381748199463, -0.5966519117355347, -0.3719239830970764, 0.052617382258176804, -0.238810732960701, 0.1670566201210022, 0.9685635566711426, -0.31406664848327637, 0.6113609671592712, 0.31026697158813477, 0.6143196821212769, 0.43572768568992615, -0.5174862742424011, 0.7513967752456665, -0.7793015837669373, 0.11219168454408646, 0.0347520187497139, 0.34779560565948486, 0.21557706594467163, -0.2574394941329956, 0.34137457609176636, 0.20049135386943817, -0.5625823736190796, -0.868483304977417, 0.4691573977470398, -0.6073071360588074, -0.2795148193836212, 1.2296781539916992, 0.1178525760769844, 0.3426786959171295, -0.24963732063770294, -0.18959584832191467, 0.2646730840206146, -0.07934606820344925, 0.9929302930831909, 1.003575086593628, -0.042924243956804276, -0.06651776283979416, -0.6042057275772095, 0.8791140913963318, 0.7067276239395142, -0.6450628638267517, 0.21782781183719635, 0.29301100969314575, 0.40920698642730713, 0.2426694929599762, 0.5088121891021729, -0.0598783940076828, 0.10699612647294998, -0.019861288368701935, 0.21571782231330872, 0.18230557441711426, -0.06138444319367409, -0.5350932478904724, 0.19230371713638306, 0.3768671751022339, -0.20997010171413422 ]
http://arxiv.org/abs/2405.12715v1
http://arxiv.org/pdf/2405.12715v1
RecGPT: Generative Pre-training for Text-based Recommendation
2024-05-21T12:16:20
2024-05-21T12:16:20
Hoang Ngo, Dat Quoc Nguyen
cs.IR
cs.IR, cs.CL
We present the first domain-adapted and fully-trained large language model, RecGPT-7B, and its instruction-following variant, RecGPT-7B-Instruct, for text-based recommendation. Experimental results on rating prediction and sequential recommendation tasks show that our model, RecGPT-7B-Instruct, outperforms previous strong baselines. We are releasing our RecGPT models as well as their pre-training and fine-tuning datasets to facilitate future research and downstream applications in text-based recommendation. Public "huggingface" links to our RecGPT models and datasets are available at: https://github.com/VinAIResearch/RecGPT
[ -0.4606901705265045, -0.6674713492393494, 0.5188929438591003, 0.399854451417923, -0.28613701462745667, -0.13465599715709686, -0.09914655983448029, -0.2084885537624359, 0.018982695415616035, 0.7882280349731445, -0.8484906554222107, -0.5645442008972168, -0.538288414478302, -0.07146257162094116, -0.568662166595459, 1.5306077003479004, 0.02379741705954075, 0.14624343812465668, -0.2721397280693054, 0.051114220172166824, -0.7425622344017029, -0.7186676263809204, -0.6949471235275269, -0.7164178490638733, 0.5531927943229675, 0.3101321756839752, 0.3637385070323944, 0.25289294123649597, 0.5015328526496887, 0.2182975858449936, 0.22174549102783203, -0.17902760207653046, -0.5640923380851746, -0.003101407317444682, -0.43394455313682556, -0.08855637162923813, -0.5168646574020386, 0.04716026410460472, 0.44852861762046814, 0.693595826625824, -0.5584568977355957, 0.20152410864830017, 0.10349595546722412, 1.0846093893051147, -0.3169972002506256, 0.3019656836986542, -0.4061848521232605, -0.06185556575655937, -0.04514921084046364, -0.19462212920188904, -0.7187833189964294, -0.5105197429656982, 0.638249397277832, -0.6830392479896545, 0.5674148797988892, 0.14222021400928497, 0.518836259841919, 0.16750271618366241, -0.26289457082748413, -0.29656028747558594, -0.6210784912109375, 0.45613768696784973, -0.277433842420578, 0.7106238007545471, 0.5411773324012756, 0.11416816711425781, -0.3217513859272003, -1.2177375555038452, -0.39409035444259644, -0.6126666069030762, 0.022584887221455574, 0.02521243691444397, -0.19160696864128113, 0.1773868203163147, 0.2024962604045868, 0.5933642387390137, -0.8248735070228577, -0.28972506523132324, -0.22133971750736237, 0.14088739454746246, 0.1990409940481186, -0.31241846084594727, 0.2607407569885254, 0.39145469665527344, -0.47816118597984314, -0.05283176526427269, -0.7612578272819519, -0.4158284068107605, 0.10506198555231094, 0.3177061975002289, -0.2053689956665039, 0.4813395142555237, -0.4567587375640869, 0.8262907266616821, 0.44465866684913635, 0.5795220732688904, 0.39347684383392334, -0.3091965317726135, -0.4260939061641693, 0.1402401328086853, 0.596300482749939, 0.2698214054107666, 0.5987219214439392, -0.0038607476744800806, -0.1471358835697174, -0.006842263974249363, 0.5234658718109131, -0.9513848423957825, -0.7079992890357971, -0.3441547155380249, -0.4459589421749115, -0.292693555355072, 0.157269686460495, -0.5992092490196228, -0.4748181700706482, -0.2848951518535614, 0.472546249628067, -0.3470529019832611, -0.2792157530784607, 0.5080334544181824, 0.14292782545089722, 0.011078220792114735, 0.36931419372558594, -1.0982338190078735, 0.40275198221206665, 0.5014428496360779, 0.7170785069465637, -0.21634528040885925, -0.4734041094779968, -0.40569573640823364, -0.09420530498027802, -0.011412650346755981, 1.1025809049606323, -0.6454029679298401, -0.5346657633781433, 0.1838059276342392, 0.2393324375152588, 0.14003726840019226, -0.49400877952575684, 0.7761115431785583, -0.5733060836791992, 0.35018518567085266, -0.199968621134758, -0.4997354745864868, -0.3756214678287506, 0.3306557238101959, -0.7674450874328613, 1.086191177368164, 0.488724946975708, -0.7123198509216309, 0.4426204562187195, -0.7661206126213074, -0.529141902923584, 0.042932964861392975, 0.23904213309288025, -0.40005743503570557, -0.07607685029506683, 0.3209816813468933, 0.4732606112957001, -0.38604408502578735, 0.10730987042188644, -0.33467209339141846, -0.28525251150131226, -0.12566691637039185, -0.4155307114124298, 0.31175312399864197, 0.07791012525558472, -0.03473241254687309, 0.4190479815006256, -0.622058093547821, -0.18630805611610413, 0.215028315782547, -0.24376815557479858, -0.07246796041727066, -0.12790542840957642, 0.2076067179441452, -0.1794801652431488, 0.41218456625938416, -0.4231148958206177, 0.487783282995224, -0.45557910203933716, 0.5519387125968933, 0.7909230589866638, -0.047984570264816284, 0.4005318284034729, -0.4718067944049835, 0.6183030605316162, -0.17088937759399414, -0.003960128873586655, -0.34317830204963684, -0.3409346044063568, -0.5958956480026245, 0.22218957543373108, 0.4397415816783905, 0.5694278478622437, -0.8723340034484863, 0.3252316117286682, -0.08668641000986099, -0.6974886655807495, -0.13397717475891113, -0.03449033573269844, 0.4692421555519104, 0.1540462076663971, 0.412739634513855, -0.5380591750144958, -0.5470399856567383, -0.5855076909065247, -0.19147850573062897, -0.334736168384552, 0.18159866333007812, 0.0912737250328064, 0.35018765926361084, -0.5436362624168396, 0.6545113921165466, -0.767081081867218, -0.24526222050189972, -0.5030109286308289, 0.07758811861276627, 0.33007290959358215, 0.39496690034866333, 0.5748030543327332, -0.7651227116584778, -0.633579671382904, 0.01395308319479227, -0.26117566227912903, -0.1570756584405899, 0.14994746446609497, -0.2379629909992218, -0.09171131998300552, 0.358305960893631, -0.6131662726402283, 0.24457576870918274, 0.7137788534164429, -0.34011948108673096, 0.5995123386383057, -0.32889506220817566, 0.26179322600364685, -1.1247198581695557, -0.20494894683361053, 0.3127425014972687, -0.48236051201820374, -0.5131387114524841, -0.3685585856437683, -0.23330791294574738, -0.1524241864681244, -0.188424751162529, 0.5001092553138733, -0.28070348501205444, 0.06341493129730225, -0.31432491540908813, -0.05372803658246994, -0.15129220485687256, 0.5446895956993103, 0.25832614302635193, 0.8553065657615662, 0.4234262704849243, -0.5916991829872131, 0.44068923592567444, 0.5503169298171997, -0.5985902547836304, 0.3570381999015808, -0.8739457726478577, 0.315859317779541, -0.0278168898075819, 0.5003219842910767, -0.803769588470459, -0.15568846464157104, 0.2905831038951874, -0.33232730627059937, 0.2723051905632019, -0.584453821182251, -0.3289584815502167, -0.2523238956928253, -0.05169583112001419, 0.6577287912368774, 0.4530796706676483, -0.7273496389389038, 0.34112638235092163, 0.34009742736816406, -0.4880427420139313, -0.6264812350273132, -0.30580946803092957, -0.27840614318847656, 0.08749312907457352, -0.1345575600862503, 0.5683714747428894, -0.3757518529891968, 0.4242793917655945, -0.1538383811712265, 0.07339166104793549, -0.1625199168920517, -0.30331796407699585, 0.4131777286529541, 0.14465206861495972, -0.08797521889209747, 0.07878749817609787, -0.16651193797588348, -0.19681201875209808, -0.07205697149038315, -0.8096752166748047, 0.8411165475845337, -0.2991390526294708, -0.24573421478271484, -0.31941646337509155, 0.14219336211681366, 0.3649508059024811, -0.24503253400325775, 0.42362111806869507, 0.7257602214813232, -0.3093128204345703, -0.3719823658466339, -0.5375067591667175, -0.1044861450791359, -0.5066553950309753, 0.617671012878418, -0.2754465639591217, -1.073386311531067, -0.15400812029838562, -0.19353759288787842, -0.04869796335697174, 0.2562573254108429, 0.7584805488586426, 0.20696060359477997, 0.7444043159484863, 0.888982355594635, -0.16183733940124512, 0.9776611328125, -0.18544453382492065, 0.09440313279628754, -0.49690812826156616, -0.06629467755556107, -0.3940819799900055, 0.33960816264152527, -0.806817352771759, -0.06449376791715622, -0.023617016151547432, -0.01142797525972128, -0.5395438075065613, 0.4982440173625946, -0.7552129030227661, 0.5049687623977661, 0.6987280249595642, 0.198893204331398, 0.055852632969617844, 0.018592797219753265, 0.04337356239557266, 0.22335566580295563, -0.5818684697151184, -0.30355551838874817, 0.969560980796814, 0.22176000475883484, 0.911373496055603, -0.12853503227233887, 0.4142419099807739, 0.6445600986480713, 0.7188760638237, -0.6727990508079529, 0.3662988543510437, -0.4858635663986206, -0.51503986120224, -0.019547704607248306, -0.219668447971344, -0.9624812602996826, -0.06341078877449036, -0.22560802102088928, -0.37248098850250244, -0.14114201068878174, 0.47408080101013184, -0.20990200340747833, 0.1001676544547081, -0.8179238438606262, 1.132570505142212, -0.07847905158996582, 0.0019268044270575047, -0.087980255484581, -0.2846486568450928, 0.1227756068110466, 0.07765742391347885, -0.18059852719306946, -0.05415911227464676, 0.4569886326789856, 0.8383036851882935, 0.05315926671028137, 0.7924400568008423, -0.2777649760246277, 0.05948689207434654, 0.2866572439670563, 0.1416778564453125, 0.5759040713310242, 0.08364852517843246, 0.037564896047115326, 0.08998330682516098, 0.13587772846221924, -0.17820586264133453, -0.5476173758506775, 0.7278822660446167, -0.6829280257225037, -0.5798467993736267, -0.5670075416564941, -0.047119952738285065, -0.27134063839912415, 0.5169994235038757, 0.39252737164497375, 0.4795335829257965, -0.6440770626068115, 0.32018691301345825, 0.7564224600791931, -0.32402095198631287, 0.06410185992717743, 0.41541194915771484, -0.5564211010932922, -0.6846380233764648, 0.9073047637939453, -0.2792670428752899, 0.06159127503633499, 0.6634042859077454, 0.1300569325685501, -0.5041743516921997, -0.7753279209136963, -0.35152891278266907, 0.14043958485126495, -0.444261759519577, -0.05331725999712944, -0.5194783210754395, -0.17774857580661774, -0.4077813923358917, -0.1407097578048706, -0.5625512599945068, -0.08279141783714294, -0.09383992105722427, -0.30100953578948975, 0.32484203577041626, 1.2805635929107666, 0.3186952769756317, 0.5837786197662354, -0.7349146604537964, 0.3155266344547272, 0.199430450797081, 0.8887481689453125, -0.24919523298740387, -0.4858300983905792, -0.5004776120185852, -0.04199962690472603, -0.3469911515712738, -0.4756116271018982, 0.38204413652420044, 0.05220883712172508, 0.48358070850372314, 0.11819449067115784, -0.039931438863277435, 0.0855385884642601, -0.8847154378890991, 0.768991231918335, 0.3367779850959778, -0.634257435798645, 0.5276430249214172, -0.5625167489051819, 0.35806387662887573, 0.6163914799690247, 0.41891103982925415, -0.44633767008781433, 0.3060340881347656, -0.40877291560173035, -0.607579231262207, 0.5741490125656128, 0.09529662877321243, 0.19116240739822388, -0.000029386161259026267, 0.5306440591812134, 0.4560951292514801, 0.37820714712142944, -0.7524793744087219, -0.28396040201187134, -0.43073099851608276, -0.34807541966438293, -0.3759910762310028, -0.646187961101532, 0.2677329480648041, -0.08937938511371613, 0.7627223134040833, 0.16082635521888733, 0.4665999710559845, 0.19742900133132935, -0.15462008118629456, 0.06315172463655472, 0.2029160112142563, 0.750466525554657, 0.5714523196220398, -0.44002997875213623, -0.36773398518562317, -0.013058108277618885, -0.8476166725158691, 0.2364676296710968, 0.41164854168891907, -0.033224835991859436, -0.14118219912052155, 0.16952821612358093, 1.04608952999115, 0.1636374294757843, -0.32745757699012756, 0.4728391766548157, -0.26310598850250244, -0.1971110701560974, -0.6356456279754639, -0.0942559763789177, -0.06016088277101517, -0.04616188630461693, 0.05462690070271492, -0.0657874122262001, 0.27270954847335815, -0.46188345551490784, 0.49319586157798767, 0.23815493285655975, -0.8058390617370605, -0.31853899359703064, 0.5741882920265198, 0.5737916231155396, -0.30322161316871643, 0.6593435406684875, 0.0582137256860733, -0.5063798427581787, 0.06904146075248718, 0.5902329683303833, 1.2752710580825806, -0.1511501669883728, 0.32480743527412415, 0.31925007700920105, 0.26368388533592224, -0.5379368662834167, -0.03359071910381317, -0.07026829570531845, -0.9526910185813904, -0.33950814604759216, -0.8080785870552063, -0.49064216017723083, 0.05922839045524597, -0.7126534581184387, 0.2806386649608612, -0.5083903670310974, -0.33871981501579285, 0.06517063826322556, -0.011793000623583794, -0.6225020289421082, 0.3236401677131653, -0.2064414620399475, 0.9003942608833313, -0.4643438160419464, 0.9771289825439453, 0.9587716460227966, -0.37905019521713257, -0.3832395672798157, 0.06743292510509491, -0.3134761452674866, -0.6743476986885071, 0.4282078146934509, 0.2511886656284332, -0.37304943799972534, 0.3148387670516968, -0.5246676802635193, -0.556763231754303, 0.8874473571777344, 0.46921488642692566, -0.602698028087616, 0.019103938713669777, -0.2974916994571686, 0.35102424025535583, -0.6046128273010254, 0.20648866891860962, 0.45484188199043274, 0.32917067408561707, -0.02625535987317562, -0.9934306740760803, -0.10956567525863647, -0.2811813950538635, -0.06315869837999344, 0.4446534812450409, -0.4852850139141083, 0.5653588771820068, -0.30023887753486633, -0.04198449105024338, 0.2561238706111908, 0.7344688177108765, 0.20190386474132538, 0.3749595582485199, 0.6057155132293701, 0.5767604112625122, 0.3630467355251312, -0.09880098700523376, 1.332613468170166, -0.14787866175174713, 0.39105522632598877, 1.3874403238296509, -0.325447142124176, 0.7994002103805542, 0.036203533411026, -0.30702340602874756, 0.6695716977119446, 0.9178428649902344, -0.1515267789363861, 0.6990897059440613, 0.12414605915546417, -0.3844563364982605, -0.05423123762011528, -0.09764103591442108, -0.5632634162902832, 0.004197391681373119, 0.16818465292453766, -0.41060537099838257, -0.010979202575981617, -0.0007549559813924134, -0.2588617503643036, -0.008537905290722847, -0.2918335497379303, 0.938150942325592, 0.18541201949119568, -0.7380902767181396, 0.431470662355423, -0.08209385722875595, 0.7074300646781921, -0.7025029063224792, -0.3855859041213989, -0.08245785534381866, 0.3218400776386261, -0.042766742408275604, -0.9836903810501099, -0.24722136557102203, -0.09216616302728653, -0.6116629242897034, -0.30572137236595154, 0.7351081371307373, -0.6171019077301025, -0.4271935224533081, 0.31914329528808594, 0.19017165899276733, 0.004519572481513023, -0.31329596042633057, -0.7382603287696838, -0.1968955546617508, 0.23061661422252655, -0.3795609176158905, 0.34720656275749207, 0.38185182213783264, 0.013257288374006748, 0.8520344495773315, 0.7397375702857971, 0.004692699294537306, -0.23300929367542267, 0.4335523247718811, 0.7166273593902588, -0.7372353672981262, -0.47552257776260376, -0.6777299046516418, 0.3390151262283325, 0.2506597638130188, -0.3235304355621338, 0.3330700099468231, 0.4223863482475281, 1.239207148551941, -0.40626516938209534, 0.9664491415023804, 0.11611570417881012, 0.5072601437568665, -0.6064497232437134, 0.6864945888519287, -0.16800493001937866, 0.054955463856458664, -0.1685682237148285, -1.2551988363265991, -0.18577416241168976, 0.4228428304195404, -0.2731616199016571, 0.6569104790687561, 0.711948573589325, 0.7272472977638245, -0.07863749563694, -0.03639445826411247, 0.2813856303691864, 0.19982756674289703, 0.17499519884586334, 0.48049020767211914, 0.719616711139679, -0.24043703079223633, 0.4389099180698395, -0.23705528676509857, -0.23358012735843658, -0.27769196033477783, -0.9295083284378052, -1.0078381299972534, -0.7936229705810547, -0.32200881838798523, -0.333597868680954, 0.3553774356842041, 1.0643447637557983, 0.7414913773536682, -0.8770174384117126, -0.0985773503780365, -0.361232191324234, -0.040156472474336624, -0.14773698151111603, -0.16836796700954437, 0.38427287340164185, -0.014651024714112282, -0.5817983746528625, 0.355457067489624, 0.1266404688358307, 0.2875623106956482, -0.08328397572040558, -0.025553708896040916, -0.15436968207359314, -0.16200576722621918, 0.8477345705032349, 0.20569482445716858, -0.41540706157684326, -0.16374072432518005, -0.3489547669887543, 0.07512424141168594, -0.05115779861807823, 1.131605863571167, -0.6878235936164856, 0.2766795754432678, 0.4487479627132416, 0.6185451149940491, 0.6651231050491333, 0.2622215747833252, 1.1074827909469604, -0.5134866833686829, 0.11579335480928421, -0.032822225242853165, 0.2715481221675873, 0.45051395893096924, -0.3064658045768738, 0.6106064915657043, 0.1635035276412964, -0.7267831563949585, -0.7426291108131409, 0.31398382782936096, -1.237099528312683, 0.08583290129899979, 1.0311003923416138, -0.2807164192199707, 0.18703541159629822, 0.007795525249093771, -0.5415048003196716, 0.24936646223068237, -0.5811780691146851, 0.5819323658943176, 0.7317500710487366, 0.01909072883427143, -0.37219634652137756, -0.6619855761528015, 0.7305804491043091, 0.14253166317939758, -0.7028429508209229, 0.36548519134521484, 0.40264517068862915, 0.40165573358535767, -0.24527578055858612, 0.7835822105407715, 0.016267165541648865, 0.31769368052482605, -0.16205154359340668, 0.24780414998531342, -0.19278068840503693, -0.40867531299591064, -0.25596946477890015, 0.12824954092502594, 0.4279439449310303, -0.148359477519989 ]
http://arxiv.org/abs/2405.12712v1
http://arxiv.org/pdf/2405.12712v1
From Human-to-Human to Human-to-Bot Conversations in Software Engineering
2024-05-21T12:04:55
2024-05-21T12:04:55
Ranim Khojah, Francisco Gomes de Oliveira Neto, Philipp Leitner
cs.SE
cs.SE, cs.AI, cs.CL, cs.HC
Software developers use natural language to interact not only with other humans, but increasingly also with chatbots. These interactions have different properties and flow differently based on what goal the developer wants to achieve and who they interact with. In this paper, we aim to understand the dynamics of conversations that occur during modern software development after the integration of AI and chatbots, enabling a deeper recognition of the advantages and disadvantages of including chatbot interactions in addition to human conversations in collaborative work. We compile existing conversation attributes with humans and NLU-based chatbots and adapt them to the context of software development. Then, we extend the comparison to include LLM-powered chatbots based on an observational study. We present similarities and differences between human-to-human and human-to-bot conversations, also distinguishing between NLU- and LLM-based chatbots. Furthermore, we discuss how understanding the differences among the conversation styles guides the developer on how to shape their expectations from a conversation and consequently support the communication within a software team. We conclude that the recent conversation styles that we observe with LLM-chatbots can not replace conversations with humans due to certain attributes regarding social aspects despite their ability to support productivity and decrease the developers' mental load.
[ -0.5456311106681824, -0.8844851851463318, 0.3219772279262543, 0.34162309765815735, 0.1106761023402214, 0.7945699691772461, -0.3545539081096649, -1.02572500705719, 0.17993488907814026, 0.5492678284645081, -0.7302044034004211, -0.16231907904148102, -0.09510581940412521, 0.23877163231372833, -0.2186548113822937, 0.8989494442939758, -0.0055455658584833145, -0.014892409555613995, -0.49372386932373047, -0.1229570060968399, -0.7439253926277161, -0.6707931756973267, -0.5947896242141724, -0.3934893310070038, 0.21801292896270752, 0.228915274143219, 1.0730148553848267, 0.10772907733917236, 0.6003893613815308, 0.4717746376991272, -0.01228304486721754, -0.09059471637010574, -0.48102590441703796, 0.37193095684051514, 0.16377238929271698, -0.799077033996582, -0.4058595299720764, 0.03303627297282219, -0.06572242081165314, 0.6019222736358643, -0.08755408972501755, 0.197838693857193, 0.36777010560035706, 0.7664541006088257, -0.22986772656440735, 0.4282968044281006, -0.41606324911117554, 0.2497340738773346, 0.015372304245829582, -0.30913054943084717, -0.34398332238197327, -0.283845454454422, 0.2627885341644287, -0.44383084774017334, 0.11354364454746246, -0.04184916988015175, 0.7583950161933899, 0.4536500573158264, -0.13672339916229248, -0.6394760608673096, -1.0484092235565186, 0.8202869296073914, -0.7562360763549805, 0.29766571521759033, 0.3201312720775604, 0.20330870151519775, -0.6286779642105103, -0.15098130702972412, -0.5827947854995728, -0.43598803877830505, -0.19804778695106506, 0.127298504114151, -0.059612203389406204, 0.3069876730442047, 0.02056266739964485, 0.18461596965789795, -0.5840206742286682, 0.28630518913269043, -0.6037310361862183, -0.15055613219738007, 1.039469838142395, 0.20434172451496124, 0.49602681398391724, -0.08110912144184113, -0.09443794935941696, 0.07175648212432861, -0.38189730048179626, 0.058441489934921265, 0.42188751697540283, 0.10212212800979614, -0.4829188287258148, 0.286258339881897, 0.09282564371824265, 0.6435018181800842, -0.15186649560928345, -0.10572526603937149, 0.19022974371910095, -0.41921818256378174, -0.13089407980442047, -0.24876460433006287, 0.7076727151870728, 0.5072876811027527, 0.6016891002655029, -0.40541452169418335, 0.12613633275032043, 0.2673531770706177, 0.5040326118469238, -0.14318054914474487, -0.3008217215538025, 0.3559662103652954, -0.45550116896629333, -0.5275732278823853, 0.019879983738064766, -0.5762335658073425, -0.7093844413757324, -0.4448843002319336, -0.03290683776140213, 0.12184304744005203, -0.3382549583911896, -0.15278013050556183, -0.15557599067687988, 0.6526459455490112, 0.508915901184082, -0.6385732889175415, 0.5314481854438782, 0.9800902009010315, 0.41210782527923584, -0.16590510308742523, -0.2732066214084625, -0.13610662519931793, -0.16794805228710175, -0.41640570759773254, 0.6727553606033325, -0.1306988149881363, -0.7113537192344666, -0.28390175104141235, -0.4825590252876282, 0.31266865134239197, -0.6462206244468689, -0.09101620316505432, -0.13649390637874603, 0.6194981932640076, 0.23391184210777283, -0.135671928524971, -0.07544355094432831, 0.28762581944465637, -0.12626492977142334, 0.7525807023048401, 0.009436032734811306, -0.3937603831291199, 0.21975721418857574, -0.9872118830680847, -0.5452417731285095, 0.26753148436546326, -0.5681344866752625, -0.13690298795700073, 0.11769063770771027, -0.2715071141719818, 0.3107144832611084, -0.5704100131988525, 0.21829019486904144, -0.22736752033233643, -0.35279911756515503, 0.47125136852264404, 0.04921872913837433, 0.7609256505966187, 0.21387514472007751, -0.22442886233329773, 0.31988000869750977, -0.4549567699432373, 0.01741056516766548, 0.10997951030731201, -0.14756067097187042, 0.06421678513288498, 0.46864914894104004, -0.10743652284145355, 0.27342796325683594, 0.04579558223485947, -0.3167698085308075, 0.1232956126332283, -0.48210984468460083, 0.6511878967285156, 0.7628164291381836, -0.10453900694847107, 0.8233434557914734, -0.5171198844909668, 0.4969981014728546, -0.2467147409915924, 0.546349048614502, -0.12087661027908325, -0.7502103447914124, -0.5456098318099976, 0.10134615749120712, -0.12722517549991608, 0.8202713131904602, -0.3421442210674286, 0.4142361283302307, -0.21972689032554626, -0.4769895672798157, -0.7144811153411865, 0.4240955114364624, 0.08937482535839081, 0.3766406178474426, 0.020259495824575424, -0.5595657825469971, -0.6526781916618347, -0.5774710178375244, -0.18952147662639618, -0.746702253818512, -0.2583465874195099, 0.7184158563613892, 0.19505032896995544, -0.21779848635196686, 1.5044792890548706, -0.2969658374786377, -0.022577574476599693, -0.6248258948326111, 0.06844963133335114, -0.0738687515258789, 0.4410863518714905, 0.39216864109039307, -0.9843036532402039, -0.5858906507492065, 0.044909339398145676, -0.9162979125976562, 0.029803186655044556, -0.5008203387260437, -0.17285794019699097, 0.4076128900051117, 0.5752357244491577, -0.5239230990409851, 0.5594820380210876, 0.4916400611400604, -0.16322247684001923, 0.2705327868461609, 0.04924965649843216, 0.03425487130880356, -1.1516203880310059, -0.35925906896591187, 0.04797663912177086, -0.0861368179321289, -0.7522823810577393, 0.03318974748253822, -0.35598433017730713, -0.2336658537387848, -0.4969397187232971, 0.49868813157081604, -0.43760934472084045, -0.3784528970718384, -0.13934431970119476, 0.5654221773147583, -0.15198002755641937, 0.5069446563720703, -0.13496622443199158, 0.8182424902915955, 0.5860673785209656, -0.6241769194602966, 0.661587119102478, 0.5758295655250549, -0.046849966049194336, 0.6016747355461121, -0.8343648910522461, 0.4706488847732544, -0.06251239776611328, 0.3175627887248993, -0.8633427023887634, -0.09408235549926758, 0.2018989771604538, -0.8841642737388611, -0.014639530330896378, 0.01599440537393093, -0.821195662021637, -0.5522544980049133, -0.6194244027137756, -0.14146699011325836, 0.607230007648468, 0.1043471246957779, 0.5963242650032043, 0.5142831802368164, -0.4855233132839203, -0.08836972713470459, -0.8563998937606812, 0.5184609293937683, -0.23716026544570923, -1.185625433921814, 0.2691207826137543, -0.20725029706954956, -0.8481873869895935, -0.29474833607673645, 0.1779332160949707, -0.2930357754230499, 0.5442029237747192, 0.5558799505233765, 0.7177536487579346, -0.2949662208557129, 0.11796187609434128, -0.4056881070137024, -0.14332956075668335, 0.21728554368019104, 0.3959527313709259, 0.7307465076446533, -0.041002415120601654, -0.4008345901966095, -0.6407039165496826, 0.33840879797935486, 0.3741185665130615, 0.027305349707603455, 0.7353012561798096, 0.42065897583961487, 0.05234934762120247, 0.449806809425354, -0.6824511289596558, -0.5840187072753906, -0.5027437210083008, 0.33291757106781006, -0.002373666502535343, -0.8608077168464661, 0.6213377118110657, -0.15013504028320312, 0.48467501997947693, 0.15301837027072906, 0.34313252568244934, -0.7078239917755127, 0.9585357904434204, 0.9669618010520935, -0.23956698179244995, 0.6210145354270935, 0.15552112460136414, 0.16709569096565247, -0.6151391267776489, -0.20862480998039246, -0.5725486278533936, -0.5907325744628906, -0.6882246732711792, 0.08292412012815475, 0.11311300098896027, 0.06864659488201141, -0.17307385802268982, 0.3956165015697479, -0.519059419631958, 0.23233871161937714, 0.2005380094051361, -0.20529837906360626, 0.20492805540561676, -0.48826560378074646, 0.5792466998100281, -0.11737507581710815, -0.4866456687450409, -0.4361753761768341, 0.7105953097343445, 0.22204257547855377, 0.7685129046440125, 0.2584410607814789, 0.7605596780776978, 0.5131775140762329, 0.22253382205963135, -0.7396429181098938, 0.6730213761329651, 0.5418676137924194, -0.39260298013687134, -0.21736659109592438, -0.22942934930324554, -0.961523711681366, -0.026914823800325394, -0.4676828384399414, -1.0413340330123901, -0.4080248177051544, -0.11293628066778183, -0.18771801888942719, -0.027620865032076836, -1.0417741537094116, 0.8747336268424988, -0.5390663743019104, -0.043943941593170166, -0.4879104495048523, -1.0491329431533813, 0.09536673873662949, 0.0275710616260767, 0.3465435802936554, -0.24131175875663757, 0.23220890760421753, 0.34534114599227905, -0.2550370693206787, 1.081833004951477, 0.3561716377735138, -0.2036154866218567, 0.49349743127822876, 0.0629553273320198, 0.4050973057746887, -0.20342524349689484, 0.0002474891080055386, 0.03438843786716461, -0.29419752955436707, -0.38463178277015686, -0.5904797911643982, 0.21691225469112396, -0.9427109360694885, -0.8304187655448914, -0.1612633466720581, -0.5905103087425232, -0.04259162396192551, -0.21041004359722137, -0.11031447350978851, 0.10185276716947556, -0.2927217185497284, -0.008261347189545631, 0.06093580275774002, -0.6227911114692688, 0.4717872440814972, 0.2573637366294861, -0.40342527627944946, 0.23763881623744965, 0.5444885492324829, -0.27138033509254456, 0.5786987543106079, 0.14942312240600586, 0.09511055797338486, 0.13987383246421814, -0.06113943085074425, -0.22824408113956451, 0.09392927587032318, -0.4028848707675934, 0.06507763266563416, -0.5773096680641174, -0.2521226704120636, -0.46730417013168335, -0.5977917313575745, -0.16137824952602386, -0.21041303873062134, -0.3658496141433716, 0.12964028120040894, 0.6540470719337463, 0.9217557907104492, 0.30208149552345276, 0.11364887654781342, -1.0201969146728516, 0.16607427597045898, -0.023318568244576454, -0.049721404910087585, 0.1084601953625679, -0.25112056732177734, 0.12647579610347748, 0.06962853670120239, -0.6829404830932617, -0.8403069972991943, 0.14638936519622803, -0.03284633904695511, 0.4788955748081207, -0.04542035982012749, 0.1574481576681137, 0.6653042435646057, 0.025533070787787437, 1.0857595205307007, 0.06492694467306137, -0.7611503601074219, 0.7294540405273438, -0.11980103701353073, 0.1541096717119217, 0.3425705134868622, 0.04903954267501831, -0.8921602368354797, -0.6034459471702576, -0.597000777721405, -0.7712523341178894, 0.5541631579399109, 0.2795432209968567, 0.45191025733947754, 0.39339348673820496, 0.1614460051059723, -0.0012492105597630143, 0.24936284124851227, -0.555779755115509, -0.2945537269115448, 0.4087914228439331, -0.012711427174508572, 0.09533225744962692, 0.11276256293058395, -0.08564512431621552, -0.15557540953159332, 0.030215848237276077, 0.044611070305109024, 0.38964900374412537, -0.28654468059539795, -0.16983520984649658, 0.08122144639492035, 0.4944915175437927, 0.5962613821029663, 0.6727542877197266, 0.14181092381477356, -0.2216280698776245, 0.3358638882637024, -0.24810966849327087, -0.2994798719882965, -0.20260868966579437, 0.2677590847015381, -0.2908317744731903, 0.24101263284683228, 0.5774816274642944, 0.19527724385261536, -0.6838783025741577, 0.2165735512971878, -0.032807640731334686, -0.0655851885676384, -0.24157845973968506, 0.33942264318466187, 0.2841719686985016, 0.46634694933891296, 0.34893688559532166, 0.31139513850212097, -0.052184026688337326, -0.9817787408828735, -0.0338246151804924, 0.48903295397758484, -0.472657710313797, -0.35559430718421936, 0.40865519642829895, 0.7157557010650635, -1.0005640983581543, 0.7012896537780762, -0.14365534484386444, -0.4561663269996643, 0.7238501310348511, 0.2972073256969452, 1.0764933824539185, 0.27168428897857666, 0.31701529026031494, -0.2852979898452759, -0.10848651081323624, 0.3781925141811371, 0.36049994826316833, -0.36265280842781067, -0.7006963491439819, -0.45517945289611816, 0.058262139558792114, -0.8712982535362244, -0.423060804605484, -0.2996256351470947, 0.348720520734787, -0.3286746144294739, -0.2512987554073334, 0.2155281901359558, 0.019827520474791527, -0.5661792755126953, -0.4461454153060913, 0.08938904851675034, 0.3237599730491638, -0.24469450116157532, 0.4992164671421051, 0.8107033371925354, -0.43921107053756714, -0.45411694049835205, -0.04378187283873558, 0.3015720546245575, -0.6107710599899292, 0.6513019800186157, 0.005290469154715538, -0.1691358983516693, -0.11747303605079651, -0.7446496486663818, -0.29166772961616516, 1.0530622005462646, 0.11660118401050568, -0.28761085867881775, -0.08308606594800949, 0.3273817300796509, 0.8594484329223633, -0.10015616565942764, 0.2893941402435303, 0.03447197377681732, 0.19426150619983673, 0.028268523514270782, -1.419027328491211, -0.3894493579864502, -0.16200925409793854, 0.007293198723345995, 0.2841009795665741, -0.7604725360870361, 0.5137274861335754, -0.3484035134315491, -0.24806831777095795, 0.14013561606407166, 0.6191409230232239, 0.13190636038780212, 0.342591255903244, 0.2289648950099945, -0.4436139464378357, 0.6154806613922119, -0.0391889251768589, 0.9184311628341675, -0.6731751561164856, 0.1150921955704689, 0.8314968347549438, -0.5430566072463989, 0.7231886386871338, 0.6048380732536316, -0.5516500473022461, 0.506943941116333, 0.38330358266830444, -0.01001336332410574, -0.18451429903507233, 0.4428393542766571, -0.24494940042495728, 0.22157536447048187, -0.06476743519306183, -0.27691736817359924, 0.344555526971817, 0.23896387219429016, 0.10248598456382751, 0.14174796640872955, 0.14926336705684662, 0.12963110208511353, 0.09319300204515457, -0.018165510147809982, 1.1500048637390137, 0.1578022688627243, -0.5715555548667908, 0.29158875346183777, -0.20927122235298157, 1.0290565490722656, -0.20605045557022095, 0.14759424328804016, -0.07667935639619827, 0.22543443739414215, -0.36158621311187744, -1.1501030921936035, 0.5539421439170837, 0.11669328808784485, 0.0323057621717453, -0.3181476593017578, 0.6960039734840393, -0.012210735119879246, -0.07037190347909927, 0.30531731247901917, 0.7522421479225159, 0.4073936641216278, -0.056413643062114716, -0.8728968501091003, 0.12611238658428192, -0.08722303807735443, 0.11180131137371063, 0.46828317642211914, 0.17908911406993866, 0.012825097888708115, 0.9411078691482544, 0.5658311247825623, -0.20700982213020325, -0.07622910290956497, -0.006273017264902592, 0.8084264397621155, -0.653564453125, -0.35883548855781555, -0.9596611857414246, 0.4554238021373749, -0.0496007539331913, -0.28604596853256226, 0.6568650007247925, 0.345834344625473, 0.651558518409729, 0.09033671021461487, 0.6410036683082581, -0.22687003016471863, 0.3053726255893707, -0.11135163903236389, 0.7351258993148804, -0.21437282860279083, 0.2586876451969147, -0.5443077683448792, -0.8409922122955322, -0.19995050132274628, 0.6813498139381409, -0.047087330371141434, 0.0867120549082756, 0.14816318452358246, 0.6434484720230103, 0.30685514211654663, 0.37439069151878357, 0.08719811588525772, 0.08962143957614899, 0.5694738626480103, 0.3514906167984009, 1.0277392864227295, -0.14596980810165405, 0.5370428562164307, -0.005594996269792318, -0.06607652455568314, -0.16632018983364105, -0.5776875615119934, -0.6854827404022217, -0.5512649416923523, -0.3781617283821106, -0.39435580372810364, 0.08504972606897354, 1.1953904628753662, 0.474508136510849, -0.5395374298095703, -0.6455795168876648, -0.26450735330581665, 0.32316476106643677, 0.06319363415241241, -0.3174568712711334, -0.4490946829319, -0.4383428394794464, -0.5436126589775085, 0.2250303477048874, 0.5260319113731384, 0.20352886617183685, -0.6213117241859436, -0.3599284887313843, 0.027059445157647133, -0.018059348687529564, 0.6002558469772339, 0.7451869249343872, -0.6056800484657288, -0.1259501725435257, 0.17597955465316772, -0.33420896530151367, 0.5796136260032654, 0.6817772388458252, -0.9641400575637817, 0.1719280481338501, 0.41599705815315247, 0.6279708743095398, 0.3312593400478363, -0.040262941271066666, 0.9032023549079895, -0.6072518229484558, 0.38480663299560547, 0.22001662850379944, -0.23064319789409637, 0.40633657574653625, -0.3543471693992615, 0.6843103170394897, 0.1499149203300476, -0.7677155137062073, -0.7879498600959778, 0.31562307476997375, -0.813010036945343, -0.039372820407152176, 0.855010986328125, 0.19094158709049225, 0.2508442997932434, -0.5507214665412903, -0.5806776285171509, 0.09971512109041214, -0.4275650680065155, 0.8525484204292297, 0.6359363198280334, -0.7247539758682251, -0.3750191032886505, -0.7206463813781738, 0.4843812882900238, 0.28620439767837524, -1.0412852764129639, -0.1150755062699318, 0.14922142028808594, -0.13889586925506592, 0.42845624685287476, 0.6969858407974243, 0.07144954800605774, 0.056907668709754944, -0.061490658670663834, 0.1049659475684166, 0.38724198937416077, -0.001086818054318428, 0.23812225461006165, -0.20498324930667877, 0.2599231004714966, -0.158845454454422 ]
http://arxiv.org/abs/2405.12705v1
http://arxiv.org/pdf/2405.12705v1
Multimodal Adaptive Inference for Document Image Classification with Anytime Early Exiting
2024-05-21T11:52:14
2024-05-21T11:52:14
Omar Hamed, Souhail Bakkali, Marie-Francine Moens, Matthew Blaschko, Jordy Van Landeghem
cs.CV
cs.CV, cs.CL, cs.LG
This work addresses the need for a balanced approach between performance and efficiency in scalable production environments for visually-rich document understanding (VDU) tasks. Currently, there is a reliance on large document foundation models that offer advanced capabilities but come with a heavy computational burden. In this paper, we propose a multimodal early exit (EE) model design that incorporates various training strategies, exit layer types and placements. Our goal is to achieve a Pareto-optimal balance between predictive performance and efficiency for multimodal document image classification. Through a comprehensive set of experiments, we compare our approach with traditional exit policies and showcase an improved performance-efficiency trade-off. Our multimodal EE design preserves the model's predictive capabilities, enhancing both speed and latency. This is achieved through a reduction of over 20% in latency, while fully retaining the baseline accuracy. This research represents the first exploration of multimodal EE design within the VDU community, highlighting as well the effectiveness of calibration in improving confidence scores for exiting at different layers. Overall, our findings contribute to practical VDU applications by enhancing both performance and efficiency.
[ -0.4150383472442627, -0.5785053968429565, 0.8332259654998779, 0.17038872838020325, -0.14833968877792358, 0.00856759212911129, -0.35795876383781433, -0.4231286644935608, -0.4036637544631958, 0.15101978182792664, -0.4713333547115326, -0.16021136939525604, -0.7876728177070618, -0.25847265124320984, -0.27642571926116943, 0.5079857707023621, -0.25341299176216125, -0.0657881498336792, -0.5763466358184814, -0.20543211698532104, -0.34975379705429077, -0.1827315241098404, -0.7527139186859131, -0.18502694368362427, 0.7221088409423828, 0.3649008870124817, 0.4096122086048126, 0.7397229671478271, 0.20117226243019104, 0.4033339023590088, 0.04592054709792137, 0.3271830379962921, -0.28720855712890625, -0.1393410861492157, -0.0655977874994278, -0.3411163091659546, -0.3453262746334076, 0.021643036976456642, 0.25357484817504883, 0.45068472623825073, -0.3018089830875397, -0.18592748045921326, 0.11119356006383896, 0.262580543756485, -0.9008872509002686, 0.41761088371276855, -0.2815625071525574, 0.15224727988243103, -0.1861279159784317, -0.3852076232433319, -1.157633900642395, 0.04849648475646973, -0.04660676419734955, -0.9077364206314087, 0.22478049993515015, -0.005528001580387354, 0.9322682619094849, 0.07178982347249985, -0.5801838636398315, -0.20231863856315613, -0.4948331415653229, 0.9033784866333008, -0.2627345323562622, 0.9664385318756104, 0.14452379941940308, 0.38606691360473633, 0.08136197179555893, -0.8015339374542236, -0.7038792967796326, 0.11149684339761734, 0.1412806510925293, 0.4764499068260193, -0.34591084718704224, 0.00799285713583231, 0.0037585676182061434, 0.027258558198809624, -0.46699920296669006, 0.32154223322868347, -0.30308935046195984, -0.20686258375644684, -0.03798150271177292, -0.15138450264930725, 0.06622403860092163, -0.13753947615623474, -0.5996487736701965, -0.4752386212348938, 0.15304920077323914, 0.415416955947876, 0.14633376896381378, -0.14651747047901154, -0.17838332056999207, 0.2637735903263092, 0.005153011996299028, 0.5727667808532715, -0.03867252916097641, -0.27444273233413696, 0.4951546788215637, -0.12923860549926758, -0.25525012612342834, -0.29011741280555725, 0.40786394476890564, 0.6471542119979858, -0.24953335523605347, -0.09010143578052521, -0.3349640965461731, 0.2973601520061493, 0.40967056155204773, -0.9047619104385376, -0.1219479963183403, 0.12357526272535324, -0.768220067024231, -0.2942034900188446, -0.15239454805850983, -0.8905865550041199, -0.32618606090545654, -0.49003100395202637, 0.5779378414154053, -0.7779968976974487, -0.22240856289863586, -0.06446454674005508, -0.266275554895401, 0.2741571068763733, 0.9662564396858215, -0.39799243211746216, 0.03513369336724281, 0.20947788655757904, 0.9343798160552979, -0.000667674234136939, -0.34656068682670593, -1.0812143087387085, 0.1249128207564354, -0.13159748911857605, 0.8196502923965454, -0.5692353248596191, -0.3969820737838745, -0.1109704077243805, 0.1964767873287201, -0.2028595507144928, 0.07503272593021393, 0.8260897994041443, -0.715690553188324, 0.4430670440196991, 0.33124008774757385, -0.22653253376483917, -0.5122690796852112, 0.27905264496803284, -0.6699547171592712, 0.4474373161792755, 0.06444545090198517, -0.5938782095909119, 0.606473982334137, -0.6963329911231995, -0.16989025473594666, -0.11650729179382324, -0.01782985031604767, -0.4895656704902649, 0.3159389793872833, 0.3609079420566559, 0.607361376285553, -0.1621226817369461, -0.1711128205060959, -0.6019009351730347, -0.29918670654296875, -0.06868302077054977, -0.6079446077346802, 0.4628124535083771, 0.594393253326416, -0.12126148492097855, -0.10918978601694107, -1.0829436779022217, 0.23788627982139587, 0.01600341498851776, -0.4872349798679352, -0.5393792390823364, 0.06402388215065002, 0.3816702663898468, 0.3643961250782013, 0.12028086930513382, -0.49506738781929016, -0.02836381457746029, 0.24624764919281006, 0.08074893802404404, 1.101420521736145, -0.3518105745315552, 0.7190701961517334, -0.27110278606414795, 0.4272269010543823, 0.23119214177131653, 0.2963927090167999, -0.5442560315132141, -0.3825910687446594, -0.6657077670097351, -0.7752565741539001, 0.204596608877182, 0.3389336168766022, -0.9813354015350342, 0.07811624556779861, -0.32339879870414734, -0.5602113008499146, -0.1723201721906662, 0.15609101951122284, 0.5191013216972351, 0.6219927668571472, 0.3665449321269989, -0.518802285194397, -0.20459651947021484, -0.6305004954338074, 0.1497359722852707, -0.21174825727939606, 0.13113132119178772, 0.30736416578292847, 0.22881107032299042, -0.39841940999031067, 0.5323184728622437, -0.4686645269393921, -0.20516540110111237, 0.004946261178702116, 0.6156618595123291, 0.3348275125026703, 0.39184829592704773, 0.5451400876045227, -1.056939959526062, -0.2585829198360443, 0.2782614827156067, -0.8479414582252502, -0.035848572850227356, -0.5353178381919861, -0.2601749897003174, 0.13207267224788666, 0.37363308668136597, -0.5003473162651062, 0.46346068382263184, 0.4862830638885498, -0.25735995173454285, 0.16507837176322937, -0.464852511882782, 0.3384633958339691, -0.8356043100357056, -0.3999331593513489, 0.4692028760910034, -0.05322710797190666, -0.4805294871330261, -0.01648290455341339, 0.7419784069061279, -0.23535172641277313, -0.580986738204956, 0.5127423405647278, -0.7028682231903076, -0.05234747752547264, -0.05365869775414467, -0.1301371306180954, 0.6687217950820923, 0.4489562511444092, 0.39027833938598633, 0.5531609654426575, 0.47050878405570984, -0.6821224689483643, -0.11114451289176941, 0.15091681480407715, -0.23356041312217712, 0.898194432258606, -0.1976400464773178, 0.10169389098882675, -0.5968061685562134, 0.25383731722831726, -1.2022879123687744, -0.312551349401474, -0.0874502956867218, -0.5636417269706726, 0.6930366158485413, -0.1361900269985199, -0.030154038220643997, -0.3513737618923187, -0.5173921585083008, 0.16351370513439178, 0.3404706120491028, -0.7645448446273804, 1.2161976099014282, -0.18241295218467712, -0.001654371153563261, -0.5872160196304321, -0.6692847013473511, -0.07557398080825806, -0.11076970398426056, -0.9473052024841309, 0.39661553502082825, -0.09758656471967697, 0.01059264037758112, 0.0034900507889688015, 0.07205533981323242, -0.2655852138996124, -0.0316370390355587, 0.37071290612220764, 0.3268857002258301, -0.20117256045341492, 0.1616535782814026, 0.22638580203056335, -0.09043938666582108, -0.1864480972290039, -0.05144849047064781, 0.26811566948890686, -0.09255874156951904, -0.31992462277412415, -0.3399861752986908, 0.5097436308860779, 0.9732080698013306, -0.3585015535354614, 0.9471672177314758, 1.0927499532699585, -0.342586874961853, -0.16546083986759186, -0.6538702845573425, 0.1524890512228012, -0.44713619351387024, 0.364292174577713, -0.6107988357543945, -0.034008026123046875, 0.44105952978134155, -0.10500737279653549, 0.25127652287483215, 0.33757275342941284, 0.44590941071510315, -0.5003130435943604, 0.7554066181182861, 0.8825569748878479, 0.6780158877372742, 0.8202558755874634, -0.44429993629455566, 0.014485448598861694, -0.8035839200019836, -0.4933142066001892, -0.38985881209373474, -0.08416133373975754, -0.25957703590393066, -0.48158374428749084, 0.5167155265808105, 0.09596312046051025, 0.11004509031772614, 0.15228348970413208, -0.15812262892723083, 0.31731101870536804, 0.4778166711330414, 0.5558872818946838, -0.019855184480547905, 0.039143070578575134, -0.08459681272506714, -0.016300514340400696, -0.6864382028579712, -0.264495313167572, 1.1200000047683716, 0.4199325144290924, 0.988044023513794, 0.2972293794155121, 0.6849713325500488, 0.4260937571525574, 0.44058680534362793, -0.5520602464675903, 0.2275020033121109, -0.24159899353981018, -0.19001343846321106, -0.08441142737865448, -0.2504323422908783, -0.6156886219978333, 0.4686289131641388, -0.2676122486591339, -0.4394514262676239, 0.7207326889038086, -0.037011414766311646, -0.28034162521362305, 0.18531334400177002, -1.373704433441162, 1.0571147203445435, -0.39496442675590515, -0.8178793787956238, 0.013694827444851398, -0.46637028455734253, 0.4645695984363556, -0.3345390260219574, 0.5103012919425964, 0.22897735238075256, -0.23755253851413727, 0.5601213574409485, -0.30516284704208374, 0.5627893209457397, -0.31302952766418457, 0.22423198819160461, 0.032432667911052704, -0.07965290546417236, 0.5288650393486023, -0.19295251369476318, -0.40142741799354553, 0.06310896575450897, -0.23438557982444763, -0.42567092180252075, -0.45792436599731445, 0.6242420077323914, -0.943784236907959, 0.09989699721336365, -0.41251230239868164, -0.3290781080722809, -0.08780042082071304, 0.35140880942344666, 0.2879035174846649, 0.8185101747512817, 0.19980044662952423, 0.4680068790912628, 0.8071380853652954, -0.3470483124256134, 0.8495588898658752, 0.33278581500053406, 0.11858663707971573, -0.3261748254299164, 0.9276451468467712, -0.0050110649317502975, 0.11929678916931152, 0.3715440630912781, 0.20670239627361298, -0.9095364809036255, -0.6658955812454224, -0.625342607498169, -0.19033488631248474, -1.187442421913147, -0.0758003517985344, -0.8698956966400146, 0.05518787354230881, -0.5037341117858887, -0.4835113286972046, -0.23328185081481934, 0.11954090744256973, -0.6335592865943909, 0.1661335527896881, -0.07275301218032837, 0.27153071761131287, -0.11509629338979721, 0.3540118932723999, -0.8791583180427551, 0.3199752867221832, 0.2823297083377838, 0.34824255108833313, -0.006700958590954542, -0.6197906136512756, -0.08207570761442184, -0.5699182152748108, -0.6311864256858826, -0.8407639861106873, 0.1656373143196106, 0.49666959047317505, 1.0367505550384521, 0.7854752540588379, 0.0614497996866703, 0.568707287311554, -0.21017812192440033, 0.47121956944465637, 0.7376861572265625, -0.6441100835800171, 0.21672941744327545, -0.30032995343208313, 0.1418866515159607, 0.3886261582374573, 0.4592076539993286, -0.22426946461200714, 0.27919113636016846, -0.35357609391212463, -0.7719685435295105, 0.695185124874115, 0.03634060546755791, -0.13600783050060272, 0.10199416428804398, -0.14340604841709137, 0.2665870189666748, 0.19350285828113556, -0.7890896797180176, 0.2457575500011444, -0.5333995223045349, -0.07529975473880768, -0.2021666169166565, -0.18520262837409973, 0.16840359568595886, -0.053740493953228, 0.3869023323059082, -0.38230621814727783, 0.3931879699230194, -0.0834788829088211, -0.44781607389450073, 0.04843193292617798, 0.3047252893447876, 0.6270057559013367, 0.8851379156112671, -0.365578830242157, 0.07573691010475159, -0.05734216794371605, -0.14814411103725433, 0.4102613925933838, 0.11811459809541702, 0.14973199367523193, -0.09764402359724045, 0.572346031665802, 0.7470252513885498, 0.12791799008846283, -0.40570053458213806, 0.7497972846031189, -0.40130987763404846, -0.2553378641605377, -0.18383947014808655, -0.11861179769039154, -0.2883477509021759, 0.3306264877319336, 0.3087204098701477, 0.4307968020439148, 0.1569748818874359, -0.6061435341835022, 0.36300650238990784, 0.055299971252679825, 0.02685176581144333, 0.0906827300786972, 0.9998404383659363, 0.4061315357685089, 0.043836671859025955, 0.5352073907852173, -0.2904132008552551, -0.2054276168346405, 0.4941393733024597, 0.19548872113227844, 0.8530437350273132, -0.0381523035466671, 0.2934698760509491, 0.08159171789884567, 0.28811949491500854, 0.19293640553951263, 0.027058031409978867, -0.25993889570236206, -0.6307491660118103, -0.3836343288421631, -0.7690179347991943, -0.32152438163757324, -0.06579120457172394, -0.6760956645011902, 0.40018707513809204, -0.47371259331703186, -0.20407013595104218, 0.09667093306779861, -0.287304162979126, -0.8806972503662109, 0.5381455421447754, 0.5244544148445129, 0.9073225855827332, -0.8075613379478455, 0.6281651854515076, 0.6881284117698669, -0.37321141362190247, -0.2177622765302658, -0.16824111342430115, 0.18465667963027954, -0.4996463656425476, 0.6019766926765442, 0.4924136698246002, -0.28720182180404663, -0.3215605914592743, -0.11973640322685242, -0.26604795455932617, 1.2220606803894043, 0.1452643871307373, -0.4061155915260315, -0.2670741081237793, -0.5265293121337891, 0.18471640348434448, -0.3426358103752136, 0.7989218831062317, 0.137746199965477, 0.5720837116241455, 0.2631695866584778, -0.3206644356250763, -0.40922942757606506, -0.46395596861839294, 0.35004517436027527, -0.029728882014751434, -0.7490827441215515, 1.1399215459823608, -0.19082392752170563, -0.05969389155507088, -0.008974025025963783, 0.6572643518447876, -0.11292964220046997, 0.8484008312225342, 0.9791348576545715, 0.6417949199676514, 0.5343284010887146, -0.17141777276992798, 1.2590336799621582, -0.053769711405038834, 0.05978890880942345, 0.9519175291061401, -0.06011822819709778, 0.6371521353721619, 0.6305162906646729, 0.14459212124347687, 0.423469603061676, 0.9222021698951721, 0.33649539947509766, 0.930308997631073, -0.40338364243507385, -0.13845838606357574, -0.5479992032051086, 0.015873922035098076, -0.33240583539009094, 0.6511567234992981, 0.28639841079711914, -0.29918211698532104, -0.3216298818588257, 0.3669976592063904, -0.2879040241241455, 0.08334861695766449, -0.35248154401779175, 0.4733405113220215, -0.3223113417625427, -0.4509613811969757, 0.25230029225349426, 0.23847755789756775, 0.6344906091690063, -0.6584205031394958, -0.05113985762000084, -0.17788046598434448, 0.41095614433288574, -0.16785259544849396, -0.7993065118789673, -0.1488136500120163, -0.25416135787963867, -0.26984894275665283, -0.5228197574615479, 0.6763503551483154, -0.17546680569648743, -0.5245195627212524, 0.4727709889411926, 0.48468494415283203, -0.13249561190605164, 0.152213916182518, -0.5470069646835327, 0.4907437264919281, -0.19027206301689148, -0.4374624788761139, 0.2711392939090729, 0.6881904602050781, -0.0355599969625473, 0.45889702439308167, 0.896393358707428, -0.2066836804151535, 0.48274168372154236, -0.11989995092153549, 0.9785484075546265, -0.21353060007095337, -0.8012082576751709, -0.472209632396698, 0.6977965235710144, -0.2663138210773468, -0.21749655902385712, 0.34904587268829346, 0.35057830810546875, 0.7803674936294556, -0.2599548399448395, 0.6862931251525879, -0.1079116240143776, -0.019672328606247902, -0.8062983155250549, 0.5048481822013855, -1.125633716583252, -0.10760238766670227, -0.577928900718689, -0.8182206749916077, 0.04507559537887573, 0.446403443813324, -0.1755354255437851, 0.1295311152935028, 0.7082885503768921, 0.5200556516647339, -0.5343518853187561, -0.2364770919084549, 0.5268819332122803, -0.08445047587156296, 0.6818622946739197, 0.7821084260940552, 0.6761819124221802, -0.38472023606300354, 0.6298907399177551, -0.47053614258766174, -0.5290992856025696, -0.36247238516807556, -1.1305021047592163, -0.5879386067390442, -0.5397123694419861, -0.2238079309463501, -0.2808184325695038, -0.1980682611465454, 0.4641851484775543, 1.0444880723953247, -0.3125409781932831, 0.29683202505111694, 0.3503258526325226, -0.033282242715358734, -0.19136682152748108, -0.20718300342559814, 0.11598856002092361, -0.2066078782081604, -0.758703351020813, 0.2965644598007202, 0.3538316488265991, -0.09696786850690842, -0.01898493990302086, -0.30636483430862427, -0.26034021377563477, -0.0020205092150717974, 0.7998538017272949, 0.17190688848495483, -0.6000642776489258, -0.17917615175247192, -0.13945946097373962, -0.07350151240825653, 0.07832086086273193, 0.4919886589050293, -0.41769731044769287, 0.9824122190475464, 0.4922773540019989, 1.0119942426681519, 0.5633797645568848, -0.022433029487729073, 0.21213717758655548, -0.575391948223114, 0.41197776794433594, -0.11869871616363525, 0.6921033263206482, 0.12664015591144562, -0.2897997200489044, 0.5492216944694519, 0.383845716714859, -0.18227596580982208, -0.7698805332183838, -0.29812684655189514, -1.2926419973373413, -0.13277092576026917, 0.6631062626838684, -0.34438127279281616, -0.5789227485656738, 0.1085406094789505, -0.239371657371521, 0.1018284261226654, -0.5832469463348389, 0.413039892911911, 0.806770920753479, -0.19914522767066956, -0.8457708358764648, -0.5688358545303345, -0.3073224127292633, 0.12175831943750381, -0.864461362361908, -0.2821502983570099, 0.6305675506591797, -0.1771135777235031, 0.41779372096061707, 0.6941462755203247, 0.018481895327568054, 0.7643992900848389, 0.18991431593894958, 0.22650328278541565, -0.3826890289783478, -0.8537425994873047, -0.19922275841236115, 0.5578779578208923, -0.022809654474258423, -0.6222957968711853 ]
http://arxiv.org/abs/2405.12701v1
http://arxiv.org/pdf/2405.12701v1
OLAPH: Improving Factuality in Biomedical Long-form Question Answering
2024-05-21T11:50:16
2024-05-21T11:50:16
Minbyul Jeong, Hyeon Hwang, Chanwoong Yoon, Taewhoo Lee, Jaewoo Kang
cs.CL
cs.CL, cs.AI
In the medical domain, numerous scenarios necessitate the long-form generation ability of large language models (LLMs). Specifically, when addressing patients' questions, it is essential that the model's response conveys factual claims, highlighting the need for an automated method to evaluate those claims. Thus, we introduce MedLFQA, a benchmark dataset reconstructed using long-form question-answering datasets related to the biomedical domain. We use MedLFQA to facilitate the automatic evaluations of factuality. We also propose OLAPH, a simple and novel framework that enables the improvement of factuality through automatic evaluations. The OLAPH framework iteratively trains LLMs to mitigate hallucinations using sampling predictions and preference optimization. In other words, we iteratively set the highest-scoring response as a preferred response derived from sampling predictions and train LLMs to align with the preferred response that improves factuality. We highlight that, even on evaluation metrics not used during training, LLMs trained with our OLAPH framework demonstrate significant performance improvement in factuality. Our findings reveal that a 7B LLM trained with our OLAPH framework can provide long answers comparable to the medical experts' answers in terms of factuality. We believe that our work could shed light on gauging the long-text generation ability of LLMs in the medical domain. Our code and datasets are available at https://github.com/dmis-lab/OLAPH}{https://github.com/dmis-lab/OLAPH.
[ -0.10281220078468323, -1.037889838218689, 1.115197777748108, -0.2237422913312912, -0.11681059747934341, 0.12105230987071991, -0.3424713611602783, -0.695911169052124, 0.2402985543012619, 0.6145516037940979, -0.32892197370529175, -0.47375452518463135, -0.5416292548179626, 0.25622594356536865, -0.09235022217035294, 1.2764768600463867, -0.1553969532251358, 0.1446044147014618, -0.5430907607078552, -0.621156632900238, -0.15037868916988373, -0.5107549428939819, -0.5029141902923584, -0.2899540662765503, 0.7913733124732971, 0.21047452092170715, 0.6750366687774658, 0.6791833639144897, 0.6241868734359741, 0.2770693302154541, 0.14178794622421265, 0.4491805136203766, -0.513662576675415, 0.2923137843608856, -0.11272729933261871, -0.37338581681251526, -0.5938106179237366, -0.180893674492836, 0.7320171594619751, 1.0217307806015015, -0.305056631565094, 0.37190696597099304, -0.32555070519447327, 0.8428236246109009, -0.4568944573402405, 0.05132388696074486, -0.5002034306526184, 0.025669081136584282, -0.10681568086147308, -0.35408955812454224, -0.3637011647224426, -0.6274765133857727, 0.2902390956878662, -0.426029235124588, 0.2869641184806824, 0.4858434498310089, 0.6544363498687744, 0.5339246988296509, -0.4394054114818573, -0.32358869910240173, -0.6539731025695801, 0.5556820034980774, -0.8634320497512817, 0.32767975330352783, 0.4143694043159485, 0.5449931621551514, -0.1804041713476181, -0.7429702281951904, -0.570186197757721, -0.4820443093776703, -0.045567288994789124, 0.1539185345172882, 0.0721907839179039, 0.2303369641304016, 0.4209946095943451, 0.5281921625137329, -0.7946662306785583, 0.017516184598207474, -0.6170243620872498, -0.20603446662425995, 0.563991904258728, 0.20886440575122833, 0.20489566028118134, -0.03249622881412506, -0.30323660373687744, 0.3027629554271698, -0.7295786142349243, -0.16302096843719482, -0.0017363748047500849, 0.05176210403442383, 0.12397745996713638, 0.7735780477523804, -0.15841564536094666, 0.4770834147930145, 0.0468447171151638, -0.3375384211540222, 0.50070720911026, -0.09022354334592819, -0.34439030289649963, 0.21182990074157715, 0.4946185350418091, 0.34784114360809326, -0.28758591413497925, -0.24193990230560303, -0.18497511744499207, 0.053602494299411774, 0.41713494062423706, -0.960943341255188, -0.014537544921040535, 0.7963625192642212, -0.6205335855484009, -0.24464130401611328, -0.14711998403072357, -0.5833664536476135, -0.605671226978302, -0.3819708824157715, 0.47272881865501404, -0.5395119190216064, -0.03361542150378227, 0.5493752956390381, 0.059808921068906784, 0.008233803324401379, 0.4953988492488861, -0.5474162697792053, 0.5167940855026245, 0.4642236828804016, 0.4559256434440613, -0.33236098289489746, -0.11143990606069565, -0.7830663919448853, 0.0397479273378849, -0.4996773600578308, 0.8357424139976501, -0.03330714628100395, -0.13087838888168335, 0.09253440052270889, -0.08352658897638321, -0.1062968373298645, -0.807125449180603, 0.7788794636726379, -0.5367433428764343, 0.5521164536476135, -0.3518500328063965, -0.7256267666816711, -0.027712970972061157, 0.41819724440574646, -0.6329505443572998, 0.8012778759002686, -0.01410430297255516, -0.6758338809013367, 0.3176480531692505, -0.968273401260376, -0.3977392315864563, 0.0064145964570343494, -0.3799256980419159, -0.6581212282180786, 0.21536609530448914, 0.224417045712471, 0.24299004673957825, -0.4860503077507019, 0.46416783332824707, -0.25645312666893005, -0.11343052983283997, 0.5115708708763123, -0.35298842191696167, 0.600642740726471, 0.13209420442581177, -0.42154747247695923, 0.1615179032087326, -0.9225351810455322, 0.12238888442516327, 0.22821883857250214, -0.42194586992263794, 0.02246285043656826, -0.0039458912797272205, -0.22504524886608124, 0.006974840071052313, 0.0007655079825781286, -0.8860810995101929, -0.034654829651117325, -0.7320033311843872, 0.16520068049430847, 0.6234304904937744, 0.0028008362278342247, 0.1412060409784317, -0.690082311630249, 0.37298786640167236, -0.0692022368311882, 0.08136381953954697, -0.09768027812242508, -0.3982568681240082, -0.6272220015525818, -0.5849520564079285, 0.2850213944911957, 0.3598938286304474, -0.6800752878189087, 0.5127725601196289, -0.22223734855651855, -0.10112314671278, -0.826869547367096, -0.001225019572302699, 0.32097509503364563, 1.0589144229888916, 0.636293351650238, -0.21481990814208984, -0.5260360240936279, -0.9385068416595459, -0.051302604377269745, -0.3884296715259552, 0.014575878158211708, 0.3868328332901001, 0.6706146597862244, -0.2977331280708313, 0.9540069699287415, -0.7985509634017944, -0.1122933104634285, 0.011953518725931644, 0.2887340486049652, 0.22901317477226257, 0.1548691838979721, 0.5563002824783325, -0.697360098361969, -0.18168514966964722, -0.31671249866485596, -0.7796038389205933, -0.1390097439289093, -0.03962153196334839, -0.13341863453388214, 0.5806724429130554, 0.1761578470468521, -0.9789283871650696, 0.49163806438446045, 0.28143689036369324, -0.293349951505661, 0.8405531048774719, -0.41553959250450134, 0.4915144145488739, -0.850040853023529, 0.4212372303009033, -0.46191707253456116, -0.36522549390792847, -0.42286521196365356, 0.08066390454769135, -0.10222660005092621, -0.07432304322719574, -0.23282252252101898, 0.659429132938385, -0.23784896731376648, 0.11101025342941284, -0.3645273745059967, 0.026559846475720406, 0.20517811179161072, 0.3002391755580902, -0.06956629455089569, 0.6209107041358948, 0.36562278866767883, -0.3599262833595276, 0.4291190803050995, 0.446750670671463, -0.44188472628593445, 0.572542130947113, -0.7396658062934875, 0.14259184896945953, -0.4481378495693207, 0.5833262205123901, -0.9483424425125122, -0.5931896567344666, 0.3143419623374939, -0.5454248189926147, 0.2164594978094101, 0.14510847628116608, -0.749336838722229, -0.5967192053794861, -0.365877240896225, 0.3376787006855011, 0.697681188583374, -0.6232543587684631, 0.39239585399627686, 0.14460591971874237, -0.1891864538192749, -0.6008139252662659, -0.4786681830883026, 0.1723228245973587, -0.06815347075462341, -0.6289507150650024, 0.2479301244020462, -0.45766696333885193, -0.25631511211395264, -0.18856921792030334, -0.2418745458126068, -0.16465911269187927, -0.031039375811815262, 0.08681505918502808, 0.4173290431499481, -0.45799246430397034, 0.604347825050354, 0.14302757382392883, 0.09293993562459946, 0.4828413128852844, -0.1914944350719452, 0.21859018504619598, -0.06277704983949661, -0.5138404965400696, -0.11134111881256104, 0.41571447253227234, 0.527559757232666, -0.2986129820346832, 0.8583045601844788, 0.3488141596317291, -0.42353102564811707, -0.12355636060237885, -0.7546191811561584, -0.2568989098072052, -0.4054113030433655, 0.47217607498168945, -0.05081404745578766, -0.788662850856781, 0.2277691811323166, -0.10814661532640457, 0.2541217505931854, 0.46966424584388733, 0.7539758086204529, -0.4117124378681183, 1.0074198246002197, 0.3782351315021515, 0.25263017416000366, -0.3573094308376312, 0.08766404539346695, 0.12507280707359314, -0.4193418622016907, -0.14493189752101898, -0.4064663350582123, 0.01642671786248684, -0.35107529163360596, -0.6720802783966064, 0.6748286485671997, -0.4708540737628937, -0.14963358640670776, -0.3721800148487091, -0.2742187976837158, 0.3275555372238159, 0.1905033439397812, 0.446368545293808, 0.37721332907676697, 0.007641886360943317, -0.06015729904174805, 0.1324004977941513, -0.6640425324440002, -0.5239791870117188, 1.2193337678909302, 0.6337296962738037, 0.6197110414505005, 0.09132901579141617, 0.699669599533081, 0.22747348248958588, 0.41362011432647705, -0.8535445332527161, 0.4713422954082489, 0.15404585003852844, -0.8446516990661621, -0.2967508137226105, -0.5681467056274414, -1.0138953924179077, -0.005477384198457003, -0.3922976553440094, -0.385650634765625, -0.114631786942482, 0.277567058801651, -0.7866165041923523, 0.2926073372364044, -0.24194222688674927, 0.48174557089805603, -0.4071780741214752, -0.25662901997566223, -0.24734987318515778, -1.082054615020752, 0.34205445647239685, -0.27043381333351135, 0.0804545059800148, -0.09963283687829971, -0.08260492980480194, 0.6543657183647156, -0.5370845198631287, 0.805939793586731, -0.05544428527355194, -0.3313390910625458, 0.173349991440773, -0.2853902578353882, 0.13135290145874023, 0.15222109854221344, -0.14704450964927673, 0.07447005063295364, 0.08011007308959961, -0.4734683334827423, -0.7264220118522644, 0.47521811723709106, -0.6396162509918213, -0.6389465928077698, -0.46572360396385193, -0.5727258324623108, -0.5269001126289368, 0.14961060881614685, 0.1636429876089096, 0.6326759457588196, -0.4452235698699951, 0.22775223851203918, 1.0927515029907227, -0.49194273352622986, -0.10842473059892654, 0.454471230506897, -0.41923075914382935, -0.5476173758506775, 0.5415140390396118, 0.026544304564595222, 0.25537896156311035, 0.25344976782798767, 0.37019458413124084, -0.4293736219406128, -0.5436065196990967, -0.6327875256538391, 0.5388026237487793, -0.7378250956535339, -0.343476802110672, -0.7480823397636414, -0.35416147112846375, -0.5428845882415771, 0.11755508929491043, -0.14415714144706726, -0.5583155155181885, 0.046516768634319305, -0.17750510573387146, 0.30736613273620605, 0.5473949909210205, 0.0471888929605484, -0.020550431683659554, -0.8605838418006897, 0.8853675723075867, 0.2625114321708679, 0.38997358083724976, -0.35953328013420105, -0.5947061777114868, -0.2792813181877136, 0.10588628053665161, -0.22646018862724304, -0.599692702293396, 0.04610453546047211, 0.23293672502040863, 0.5005565881729126, 0.31610745191574097, 0.2761138677597046, 0.430581659078598, -0.8165944814682007, 0.5695744156837463, 0.23452427983283997, -0.4882216453552246, 0.5451095104217529, -0.20992660522460938, 0.23825332522392273, 0.705679178237915, 0.4177754819393158, -0.2378738969564438, -0.35428112745285034, -0.603917121887207, -0.6512979865074158, 0.4617503881454468, 0.31618037819862366, -0.10546872019767761, -0.10209163278341293, 0.3940759599208832, 0.5223855972290039, 0.4769138991832733, -0.3893446922302246, -0.2828695476055145, -0.04427565634250641, -0.5356056094169617, 0.0383915901184082, -0.3304848074913025, -0.6873379349708557, -0.2201876938343048, 0.5582727193832397, -0.3567579686641693, 0.3718351125717163, 0.49213898181915283, -0.1663568913936615, -0.2394724041223526, 0.302020400762558, 0.5943822860717773, 0.968232274055481, -0.40767669677734375, 0.06412121653556824, 0.22132964432239532, -0.42802128195762634, -0.07247703522443771, 0.26985883712768555, -0.0392252616584301, 0.12050683051347733, 0.42023956775665283, 0.7048570513725281, -0.18683768808841705, -1.0156171321868896, 0.4333151876926422, 0.08746293187141418, -0.36151885986328125, -0.2754463255405426, -0.04516594111919403, -0.13587376475334167, 0.09211120754480362, 0.3410141170024872, 0.20228146016597748, 0.40613654255867004, -0.6904112100601196, 0.16639629006385803, 0.12263736128807068, -0.05624006688594818, -0.1464645266532898, 0.588614284992218, 0.15185482800006866, 0.00819859653711319, 0.4807186424732208, 0.3594273626804352, -0.36398568749427795, 0.6696922183036804, 0.6348893642425537, 0.6253260970115662, -0.11441364139318466, 0.23966479301452637, 0.3269751965999603, 0.0646817535161972, 0.028295841068029404, 0.4128887355327606, 0.06387864798307419, -0.4733044505119324, -0.4924924075603485, -0.4974614381790161, -0.5483274459838867, 0.16505727171897888, -0.5542421936988831, 0.1390087604522705, -0.48888933658599854, -0.35467812418937683, -0.015105568803846836, -0.020877990871667862, -0.45278406143188477, 0.5561959147453308, 0.3029826283454895, 0.8602430820465088, -0.4379400312900543, 0.6600969433784485, 0.7199999094009399, -0.2746499180793762, -0.3752632141113281, 0.029788590967655182, -0.006780188996344805, -0.7657506465911865, 0.5190559029579163, 0.2510088086128235, -0.300957590341568, -0.5069145560264587, -0.8998465538024902, -0.6677916049957275, 0.951342761516571, 0.4417685568332672, -0.3670867085456848, -0.07633151859045029, 0.47712406516075134, 0.7901400923728943, -0.3453896939754486, 0.06319163739681244, 0.46174731850624084, 0.36987483501434326, 0.0576704777777195, -0.8643874526023865, 0.17023999989032745, 0.00876279454678297, -0.42522165179252625, 0.06310181319713593, -0.4394451081752777, 0.4017362892627716, -0.6413674354553223, -0.011081003583967686, 0.4880051612854004, 0.6675035357475281, 0.5573304891586304, 0.5899931192398071, 0.47412383556365967, 0.39654502272605896, 1.2575268745422363, 0.18136881291866302, 1.0217220783233643, -0.1646483838558197, 0.18706999719142914, 1.2968910932540894, -0.4676162302494049, 0.691381573677063, 0.5092328190803528, -0.02589159831404686, 0.3649994730949402, 0.4042748212814331, 0.117528036236763, 0.24728240072727203, 0.4092791676521301, -0.24308723211288452, -0.22895623743534088, -0.03110089898109436, -0.49160319566726685, 0.2688952684402466, 0.19839513301849365, -0.4678196609020233, -0.1396663784980774, 0.20893025398254395, 0.11321315169334412, 0.21468302607536316, -0.03306405618786812, 0.6302152276039124, 0.1594580113887787, -0.5595399141311646, 0.8084468245506287, -0.15461118519306183, 0.2867795526981354, -0.695092499256134, -0.23012447357177734, -0.23423731327056885, -0.007363427430391312, -0.2482515573501587, -0.6774020791053772, 0.18291045725345612, 0.047038495540618896, -0.4107738435268402, 0.013390305452048779, 0.6931028366088867, -0.4750281870365143, -0.3905491828918457, -0.005029029678553343, 0.49893322587013245, 0.1849646419286728, 0.1646387130022049, -0.7547062635421753, -0.07429838925600052, -0.272775262594223, -0.11868034303188324, 0.12858326733112335, 0.4291323721408844, 0.08061780780553818, 0.6539475917816162, 0.5684375166893005, 0.28575965762138367, -0.22088217735290527, 0.030452977865934372, 0.8248730897903442, -0.5070062875747681, -0.06517067551612854, -0.5779430866241455, 0.44157329201698303, -0.35908669233322144, -0.22861844301223755, 0.4453624486923218, 0.6385221481323242, 0.3234713673591614, -0.2112051248550415, 0.7305753231048584, -0.0022600668016821146, 1.1149442195892334, -0.7056760191917419, 1.0348626375198364, -0.657802939414978, 0.1420864313840866, 0.1198735311627388, -0.6777389049530029, -0.40664875507354736, 0.29530608654022217, -0.22910089790821075, -0.12767763435840607, 0.9814776182174683, 0.5828995704650879, -0.015494079329073429, -0.10961727797985077, 0.44333547353744507, 0.6549793481826782, 0.2479410320520401, 0.3236705958843231, 0.8026912808418274, -0.45296740531921387, 0.26964226365089417, 0.07847381383180618, -0.29577770829200745, -0.20579560101032257, -0.6870924234390259, -0.9242314100265503, -0.30042949318885803, -0.4545688331127167, -0.5556541085243225, 0.3906410038471222, 1.2855390310287476, 0.46530380845069885, -0.7623623013496399, -0.013815871439874172, 0.5010275840759277, -0.07676582038402557, 0.03629254177212715, -0.13808989524841309, 0.6524177193641663, -0.4992758333683014, -0.3801116943359375, 0.40771612524986267, 0.34643110632896423, -0.058852341026067734, -0.08501515537500381, -0.002237859182059765, 0.039006344974040985, 0.4938185513019562, 0.746895968914032, 0.3576332628726959, -0.5962517261505127, -0.3595968782901764, 0.09693969786167145, -0.3577437400817871, 0.5073257088661194, 0.6239994168281555, -0.8349178433418274, 0.5154082775115967, 0.1679554432630539, 0.9756008386611938, 0.20397262275218964, 0.007247758563607931, 0.6185133457183838, -0.36770686507225037, -0.2576614320278168, 0.4812227189540863, 0.3853362798690796, 0.31364715099334717, -0.4456567168235779, 0.4906780421733856, 0.15407173335552216, -0.7394493222236633, -0.9901453256607056, 0.06174461171030998, -1.0608738660812378, -0.3240717649459839, 1.0705726146697998, -0.1063130646944046, -0.4786563217639923, -0.27980130910873413, -0.5795106887817383, 0.10675033181905746, -0.153511181473732, 1.1328603029251099, 0.3674851655960083, -0.17789648473262787, 0.3425304889678955, -0.7259271144866943, 0.6080820560455322, 0.6360669136047363, -1.2380039691925049, 0.06786434352397919, 0.7923631072044373, 0.3721804618835449, -0.039022013545036316, 0.8375709652900696, -0.25121715664863586, 0.6261329054832458, -0.37867408990859985, 0.03521681949496269, 0.11849744617938995, -0.3782811760902405, -0.1517009288072586, 0.10183223336935043, 0.1515045017004013, -0.04359092190861702 ]
http://arxiv.org/abs/2405.12689v2
http://arxiv.org/pdf/2405.12689v2
Spotting AI's Touch: Identifying LLM-Paraphrased Spans in Text
2024-05-21T11:22:27
2024-05-29T07:09:59
Yafu Li, Zhilin Wang, Leyang Cui, Wei Bi, Shuming Shi, Yue Zhang
cs.CL
cs.CL, cs.AI
AI-generated text detection has attracted increasing attention as powerful language models approach human-level generation. Limited work is devoted to detecting (partially) AI-paraphrased texts. However, AI paraphrasing is commonly employed in various application scenarios for text refinement and diversity. To this end, we propose a novel detection framework, paraphrased text span detection (PTD), aiming to identify paraphrased text spans within a text. Different from text-level detection, PTD takes in the full text and assigns each of the sentences with a score indicating the paraphrasing degree. We construct a dedicated dataset, PASTED, for paraphrased text span detection. Both in-distribution and out-of-distribution results demonstrate the effectiveness of PTD models in identifying AI-paraphrased text spans. Statistical and model analysis explains the crucial role of the surrounding context of the paraphrased text spans. Extensive experiments show that PTD models can generalize to versatile paraphrasing prompts and multiple paraphrased text spans. We release our resources at https://github.com/Linzwcs/PASTED.
[ -0.19966088235378265, -0.809389054775238, 0.5495830774307251, 0.4309312701225281, -0.3297870457172394, 0.1526336669921875, 0.371085524559021, -0.4594559073448181, 0.07871443033218384, 0.7468731999397278, -0.44118446111679077, -0.3223913609981537, -0.5450191497802734, 0.40842488408088684, -0.8921130895614624, 1.0577462911605835, -0.23364658653736115, -0.3952684998512268, -0.5283121466636658, -0.09206471592187881, 0.25091680884361267, -0.22736996412277222, -0.4085533618927002, -0.09802593290805817, 0.40913358330726624, 0.5530961155891418, 0.4477540850639343, 0.9915900826454163, 0.4013376832008362, 0.2491617500782013, -0.3134167492389679, 0.2917357087135315, 0.006502358242869377, 0.11198169738054276, 0.23927341401576996, -0.3760633170604706, -0.10867000371217728, -0.10279316455125809, 0.7090182900428772, 0.3112521171569824, 0.2480178028345108, -0.202797994017601, 0.28839269280433655, 0.4490033686161041, -0.5843159556388855, -0.0703524723649025, -0.5134183764457703, 0.04090261459350586, -0.2848297655582428, -0.17035110294818878, -0.42731761932373047, -0.3678230345249176, 0.149034783244133, -0.22082962095737457, 0.13828450441360474, -0.052480924874544144, 0.7624081373214722, 0.33185631036758423, -0.5353268980979919, -0.3656146228313446, -0.19064068794250488, 0.4454948306083679, -0.5296281576156616, 0.06530536711215973, 0.48611530661582947, -0.0811038687825203, 0.4947977364063263, -0.9896880388259888, -0.7279072403907776, -0.4821815490722656, -0.050804253667593, -0.20655977725982666, -0.19160772860050201, 0.0141987893730402, 0.07817946374416351, 0.35817134380340576, -0.4021768271923065, -0.2111651599407196, -0.06766906380653381, -0.11208916455507278, 0.3222351670265198, 0.1174839660525322, 0.7560136318206787, -0.1701197475194931, -0.6189934611320496, 0.001069128280505538, -0.4507662355899811, 0.031944822520017624, 0.07647453993558884, -0.03557470440864563, -0.23986172676086426, 0.5313816666603088, -0.2643393576145172, 0.5942085981369019, 0.04256109520792961, 0.14928212761878967, 0.010908725671470165, -0.48238107562065125, -0.023608345538377762, -0.3559587299823761, 0.9932552576065063, 0.35089680552482605, 0.6191321015357971, -0.2786318063735962, -0.04169623181223869, -0.30025672912597656, 0.14309504628181458, -0.6054942607879639, -0.41857820749282837, -0.44536617398262024, -0.5435197353363037, -0.586374044418335, 0.24284707009792328, -0.7965522408485413, -0.6895707845687866, -0.03954946622252464, 0.15651440620422363, -0.5800246000289917, -0.0011976812966167927, -0.08261130005121231, -0.4551369249820709, 0.2068697065114975, -0.04174220934510231, -0.8105344772338867, 0.3019656836986542, 0.6429215669631958, 1.132262945175171, -0.5244198441505432, -0.8180093765258789, -0.2852829098701477, 0.09254396706819534, -0.13863590359687805, 1.094009518623352, -0.5860784649848938, -0.45697975158691406, -0.10113164782524109, -0.23487579822540283, -0.3622308373451233, -0.7605339884757996, 0.7744321823120117, -0.2859787940979004, 0.07256840169429779, -0.14365153014659882, -0.6718184947967529, 0.20088891685009003, 0.23785625398159027, -0.8883848190307617, 1.249564290046692, 0.024329958483576775, -1.3066109418869019, 0.35483524203300476, -0.6163164377212524, -0.6306905746459961, 0.0953245609998703, 0.07956535369157791, -0.5672597885131836, 0.09502200782299042, 0.34624627232551575, 0.45870962738990784, -0.1450110524892807, 0.1135660856962204, -0.38823312520980835, -0.19126543402671814, 0.32666537165641785, -0.6039093136787415, 0.7597858905792236, 0.18047794699668884, -0.2576310932636261, 0.20194420218467712, -0.697848916053772, -0.23547431826591492, -0.15064463019371033, -0.20254427194595337, -0.5959027409553528, -0.13894158601760864, 0.3386204242706299, 0.2318853735923767, 0.5380756258964539, -0.3182038962841034, -0.0901605635881424, 0.0073556797578930855, 0.31364697217941284, 0.49524810910224915, 0.3548007607460022, 0.4999420940876007, -0.44341224431991577, 0.7418053150177002, -0.2742798924446106, 0.048006922006607056, -0.403883159160614, -0.2490939199924469, -0.4101630449295044, -0.4330047070980072, -0.12073454260826111, 0.501041829586029, -0.9320993423461914, 0.6884485483169556, 0.0732368677854538, -0.4999980330467224, -0.49605700373649597, 0.20753175020217896, 0.5076402425765991, 0.8110859990119934, 0.5622317790985107, 0.2610379159450531, -0.24187752604484558, -0.8219066858291626, -0.9094229936599731, -0.2617422044277191, -0.09522606432437897, 0.16017207503318787, 0.5298222899436951, 0.026593394577503204, 1.197221279144287, -0.333564430475235, -0.05212319269776344, -0.4696159064769745, 0.2040030062198639, -0.33920636773109436, 0.2917729616165161, 0.4776943027973175, -1.1314293146133423, -0.7781545519828796, -0.20108702778816223, -0.8340896964073181, -0.7239757180213928, -0.18031366169452667, -0.03783660754561424, -0.2770735025405884, 0.9816323518753052, -0.7096211910247803, 0.40305179357528687, 0.20636120438575745, -0.6887962818145752, 0.6089183688163757, -0.24060574173927307, 0.16630372405052185, -1.1781607866287231, 0.28553926944732666, 0.19000841677188873, -0.25093913078308105, -0.4396163821220398, 0.24444063007831573, 0.3433111011981964, 0.09520851820707321, -0.34691014885902405, 0.48610466718673706, -0.36372795701026917, -0.015981389209628105, -0.7673553824424744, 0.01037215068936348, 0.19966159760951996, -0.03192204236984253, 0.017021378502249718, 1.0014797449111938, 0.16253842413425446, -0.539069414138794, 0.24031893908977509, 0.3826746940612793, -0.2570360600948334, 0.747312068939209, -0.679275631904602, 0.06172438710927963, 0.21222901344299316, 0.44937562942504883, -1.0027542114257812, -0.15724606812000275, 0.28368741273880005, -0.34541574120521545, -0.29881373047828674, 0.020119043067097664, -0.5714570879936218, -0.34259524941444397, -0.6255834102630615, 0.5134934782981873, 0.10526298731565475, -0.7379822134971619, 0.4967455565929413, 0.2876611649990082, -0.2971017360687256, -0.40669041872024536, -0.49526816606521606, 0.3869883716106415, -0.457837849855423, -0.5930408835411072, 0.43678000569343567, -0.11256520450115204, -0.1985945701599121, -0.1313711404800415, -0.0223341416567564, -0.3414002060890198, 0.47562122344970703, 0.005893812980502844, 0.05703221634030342, 0.07158034294843674, -0.25887390971183777, 0.3858528733253479, -0.030496152117848396, 0.20182013511657715, -0.019707441329956055, 0.6881283521652222, 0.19597910344600677, -0.2471148818731308, -0.8367412686347961, 0.4169023036956787, 0.9258224368095398, -0.3367248773574829, 0.44392696022987366, 0.6420470476150513, -0.34628915786743164, -0.14800894260406494, -0.10793492197990417, -0.20017707347869873, -0.4935787618160248, 0.2545934319496155, -0.3997932970523834, -0.5451421737670898, 0.3348734676837921, 0.03346749395132065, -0.1392802745103836, 0.3659719228744507, 0.36823657155036926, -0.3094269037246704, 0.7254582047462463, 0.8907589912414551, -0.4630987346172333, 0.6575347185134888, 0.04670875892043114, -0.12394354492425919, -0.6600586175918579, -0.19857357442378998, -0.730189859867096, -0.257412314414978, -0.28429219126701355, -0.2639283239841461, 0.2924693524837494, 0.12963080406188965, 0.05412830412387848, 0.4285365641117096, -0.3122579753398895, 0.8167228698730469, 0.883709192276001, 0.2739679217338562, 0.35405856370925903, -0.1896992325782776, 0.018466802313923836, 0.0785968080163002, -0.1510728895664215, -0.6215391755104065, 0.8759149312973022, 0.17594031989574432, 0.3719359040260315, -0.44460734724998474, 0.8985166549682617, 0.7846938967704773, -0.00817833375185728, -0.4913947284221649, 0.7069827318191528, -0.12639354169368744, -0.20869265496730804, -0.030558336526155472, -0.2844438850879669, -0.6388199925422668, 0.10243082046508789, 0.0642121359705925, -0.6878382563591003, -0.18749123811721802, -0.008533541113138199, -0.22394020855426788, 0.35494154691696167, -0.4136337339878082, 1.0156581401824951, -0.07484865188598633, -0.049030009657144547, -0.07901310175657272, -0.7963570952415466, 0.23093613982200623, -0.011473044753074646, -0.03145686537027359, -0.07948395609855652, -0.2606225311756134, 1.008799433708191, -0.41586896777153015, 0.8689857125282288, -0.2793042063713074, -0.10152090340852737, 0.38564804196357727, 0.08124154061079025, 0.4198713004589081, -0.1432398557662964, 0.030215565115213394, -0.5088582038879395, -0.12836916744709015, -0.42848795652389526, -0.16121147572994232, 0.600627601146698, -0.3467164635658264, -0.06795533746480942, -0.18556512892246246, -0.721632719039917, -0.14272210001945496, 0.23192912340164185, 0.4574354887008667, -0.010422316379845142, -0.21267536282539368, 0.11408865451812744, 0.4629972279071808, 0.04777080565690994, 0.7414188981056213, 0.031050778925418854, 0.07798345386981964, -0.3215204179286957, 0.7475080490112305, -0.5480747222900391, 0.17788054049015045, 0.4790682792663574, 0.1586044281721115, -0.2972877621650696, -0.506423830986023, -0.5621416568756104, 0.2594088017940521, -0.4590011537075043, -0.03572791442275047, -0.770666778087616, 0.0427224338054657, -0.2909555435180664, -0.35402780771255493, 0.018007459118962288, -0.14047271013259888, -0.6152858138084412, -0.3601647913455963, 0.5082167387008667, 0.5271235108375549, 0.06623049825429916, 0.6637011766433716, -0.7152013778686523, 0.6530179381370544, 0.09988284111022949, -0.1441313773393631, -0.2249019294977188, -0.5809570550918579, -0.14329752326011658, -0.07819526642560959, -0.30737239122390747, -0.9020717740058899, 0.6276647448539734, 0.2967531681060791, 0.1951208859682083, 0.5710709095001221, 0.26027703285217285, 0.17464302480220795, -0.38727453351020813, 0.8350375294685364, -0.046035896986722946, -1.1593834161758423, 0.2830584645271301, -0.3900597393512726, 0.2934414744377136, 0.6943599581718445, 0.5253852605819702, -0.6769374012947083, -0.6353070735931396, -0.5949223637580872, -0.9881255626678467, 0.5563840866088867, -0.1152786836028099, 0.3913612961769104, -0.10976624488830566, 0.29757067561149597, 0.1581346094608307, 0.18447273969650269, -0.9749025106430054, -0.054647378623485565, 0.2272820770740509, -0.734282374382019, 0.20957665145397186, -0.24236445128917694, -0.005346748977899551, 0.14491693675518036, 0.1486707627773285, -0.15289272367954254, 0.181906595826149, 0.020296573638916016, -0.46446865797042847, 0.26470422744750977, -0.05991818755865097, 0.49744918942451477, 0.4965113401412964, 0.07497633993625641, 0.3314630389213562, 0.011798855848610401, -0.40419813990592957, -0.0555056668817997, 0.28581392765045166, -0.3242241442203522, 0.18909338116645813, 0.7651157975196838, 0.5586838722229004, 0.06115669012069702, -0.810802698135376, 0.7044357061386108, 0.29154297709465027, -0.14403250813484192, 0.025219973176717758, -0.19173598289489746, -0.002077893353998661, 0.3793419897556305, 0.7728776931762695, -0.007882815785706043, 0.40672433376312256, -0.2197476178407669, 0.8002198338508606, 0.2607843577861786, -0.39023399353027344, -0.49221235513687134, 0.7818244099617004, 0.2022799849510193, -0.500670850276947, 0.5243000984191895, 0.15678301453590393, -0.8915480375289917, 0.9157464504241943, 0.5739879012107849, 0.9430639147758484, -0.10900939255952835, 0.3922058045864105, -0.4544431269168854, 0.035115569829940796, -0.018170904368162155, 0.13072578608989716, -0.5506353378295898, -0.7136995792388916, -0.015502586960792542, -0.357387512922287, -0.46685153245925903, -0.04059362784028053, -0.7550426125526428, 0.28304556012153625, -0.35238611698150635, 0.18918299674987793, 0.02479063719511032, -0.46504658460617065, -0.05397719144821167, 0.1765127331018448, 0.30582714080810547, 0.9519208073616028, -1.296874761581421, 0.8526835441589355, 0.3153998553752899, -0.26246392726898193, -0.3798961043357849, 0.7324177622795105, -0.07536289095878601, -0.9742787480354309, 0.30083540081977844, 0.3689109981060028, -0.24580909311771393, 0.28213438391685486, -0.485323429107666, -0.1853034496307373, 0.9696203470230103, 0.21977248787879944, 0.07366778701543808, -0.42930346727371216, 0.13435101509094238, 0.49426892399787903, -0.09274306148290634, 0.32555174827575684, 0.768247663974762, 0.47149142622947693, -0.2849135398864746, -1.0165985822677612, -0.10802166163921356, -0.17164906859397888, -0.2440161257982254, 0.14033544063568115, -0.4549793004989624, 0.8943848609924316, 0.030055128037929535, 0.30948957800865173, 0.4716130793094635, 0.7078879475593567, 0.4411497712135315, 0.8636797070503235, 0.48905041813850403, 0.479098916053772, 0.42864829301834106, 0.17865367233753204, 1.0608291625976562, -0.48431023955345154, 0.1470286250114441, 0.6939458847045898, -0.13208626210689545, 0.7808363437652588, 0.62300705909729, -0.10116612911224365, 0.3855316638946533, 0.48730137944221497, 0.032622650265693665, 0.6755790114402771, 0.04404907301068306, -0.6033425331115723, 0.05178046226501465, -0.19688378274440765, -0.19011954963207245, 0.374335378408432, 0.20069390535354614, -0.7409079074859619, -0.33262982964515686, 0.3265538215637207, 0.3481898605823517, 0.5468172430992126, -0.15010719001293182, 0.8460245728492737, -0.004124784842133522, -0.6615958213806152, 0.35366755723953247, 0.10642733424901962, 1.0070432424545288, -0.3227788805961609, 0.1100873053073883, -0.5164898633956909, 0.29568377137184143, -0.032392725348472595, -0.7875298261642456, 0.292868047952652, 0.249935120344162, -0.14065471291542053, -0.5194225907325745, 0.6610340476036072, -0.5806437134742737, -0.3180752098560333, 0.37208399176597595, 0.5722454190254211, 0.016802042722702026, -0.4529511630535126, -0.750219464302063, -0.13162434101104736, 0.18800969421863556, -0.18549500405788422, 0.28636184334754944, 0.7314232587814331, -0.15168273448944092, 0.7481210827827454, 0.2854290008544922, -0.3048863112926483, 0.22204306721687317, -0.16389726102352142, 0.7385527491569519, -0.5677831768989563, -0.7275572419166565, -1.2552324533462524, 0.142562597990036, -0.2425537407398224, -0.501482367515564, 0.8730133175849915, 0.6788440346717834, 0.3959110975265503, -0.24693891406059265, 0.9111931920051575, -0.057617079466581345, 0.5314338207244873, -0.3124714493751526, 0.7606483101844788, -0.30601733922958374, -0.006493526045233011, -0.5238417983055115, -0.6370870471000671, -0.37857046723365784, 0.5821534991264343, -0.13916878402233124, 0.030145971104502678, 0.6229851245880127, 0.48530375957489014, -0.2521466016769409, 0.05407373607158661, -0.014127729460597038, -0.19035227596759796, 0.2867833375930786, 0.32704025506973267, 1.0382745265960693, -0.22770944237709045, 0.8631430268287659, -0.12391278147697449, -0.16753771901130676, -0.2785349488258362, -0.826404869556427, -0.7574231028556824, -0.6865014433860779, -0.38333961367607117, -0.15348444879055023, -0.08262381702661514, 0.5978977680206299, 0.4454766511917114, -0.5250597596168518, -0.2659647762775421, -0.6098795533180237, 0.04984423518180847, -0.2162182480096817, -0.30560222268104553, 0.5118333697319031, -0.31770917773246765, -0.9259398579597473, 0.6766651272773743, 0.017416134476661682, 0.0758230909705162, 0.3100681006908417, 0.16425538063049316, -0.49591323733329773, 0.10888537019491196, 0.17969463765621185, 0.3785686194896698, -0.3569127321243286, -0.20033910870552063, 0.12489000707864761, -0.30574923753738403, -0.1833571046590805, 0.9194818735122681, -0.5876839756965637, -0.17944440245628357, 0.5308301448822021, 1.0031709671020508, 0.5072539448738098, 0.2998489737510681, 0.4620058834552765, -0.9880192875862122, -0.0014500283868983388, 0.3511238396167755, 0.2091113030910492, 0.3064728081226349, -0.046341318637132645, 0.16651226580142975, 0.5304020047187805, -0.49265000224113464, -0.7963775396347046, 0.10560890287160873, -0.8537831902503967, -0.34499070048332214, 1.1699085235595703, -0.4411940574645996, -0.0459403395652771, -0.11988133192062378, -0.529869794845581, 0.23882339894771576, -0.2880271077156067, 0.7356209754943848, 0.5389920473098755, -0.12898404896259308, -0.3479212522506714, 0.06486443430185318, 0.6711875200271606, 0.5832768678665161, -1.025101661682129, 0.29167988896369934, 0.47382402420043945, 0.3226834535598755, -0.17076487839221954, 0.6126405000686646, 0.18034815788269043, 0.36701884865760803, -0.17088809609413147, -0.08911077678203583, -0.10967226326465607, -0.3783571720123291, -0.23507298529148102, 0.3385644853115082, -0.02517659217119217, -0.5931904315948486 ]
http://arxiv.org/abs/2405.12669v2
http://arxiv.org/pdf/2405.12669v2
A Survey on Multi-modal Machine Translation: Tasks, Methods and Challenges
2024-05-21T10:34:47
2024-05-23T03:56:56
Huangjun Shen, Liangying Shao, Wenbo Li, Zhibin Lan, Zhanyu Liu, Jinsong Su
cs.CL
cs.CL
In recent years, multi-modal machine translation has attracted significant interest in both academia and industry due to its superior performance. It takes both textual and visual modalities as inputs, leveraging visual context to tackle the ambiguities in source texts. In this paper, we begin by offering an exhaustive overview of 99 prior works, comprehensively summarizing representative studies from the perspectives of dominant models, datasets, and evaluation metrics. Afterwards, we analyze the impact of various factors on model performance and finally discuss the possible research directions for this task in the future. Over time, multi-modal machine translation has developed more types to meet diverse needs. Unlike previous surveys confined to the early stage of multi-modal machine translation, our survey thoroughly concludes these emerging types from different aspects, so as to provide researchers with a better understanding of its current state.
[ -0.3841150104999542, -0.7765964865684509, 0.5496800541877747, 0.2049654871225357, -0.27213940024375916, 0.04302491247653961, -0.20266371965408325, -0.562725305557251, -0.20062273740768433, 0.36018529534339905, -0.5442916750907898, -0.29145973920822144, -0.900696337223053, 0.5320177674293518, -0.3025452792644501, 0.8022162914276123, -0.2549354135990143, 0.4458805322647095, -0.20703914761543274, -0.3262605667114258, -0.7589589953422546, -0.7108625173568726, -0.002099499572068453, 0.06805161386728287, 0.6157062649726868, 0.12139174342155457, 0.6177852749824524, 0.4379783868789673, 0.7099064588546753, 0.38728228211402893, -0.00382191501557827, 0.4786304533481598, -0.1503148227930069, 0.494803786277771, 0.14969401061534882, -0.404032826423645, -0.34078726172447205, 0.09963167458772659, 0.8630385398864746, 0.5934368968009949, 0.3166646361351013, 0.14505796134471893, -0.004501913674175739, 0.4396279454231262, -0.5248966217041016, 0.04864068701863289, -0.40596142411231995, -0.04388623312115669, -0.4707435667514801, -0.2470952868461609, -0.5019638538360596, 0.04983893036842346, 0.032467711716890335, -0.37705904245376587, -0.023646900430321693, 0.2709365785121918, 0.4527122974395752, 0.3990589678287506, -1.399949312210083, -0.24969582259655, -0.8724519610404968, 0.9961863160133362, -0.4830150604248047, 0.7622336149215698, 0.03651867434382439, 0.581657886505127, 0.1416676938533783, -0.6069026589393616, -0.33563685417175293, -0.20131701231002808, -0.07774993777275085, 0.2377554476261139, -0.07752657681703568, -0.2714674472808838, 0.17838026583194733, 0.4434281885623932, -0.4488031566143036, -0.06349202245473862, -0.5402751564979553, -0.097982257604599, 0.3387063145637512, 0.3625200390815735, 0.4063206911087036, -0.5025843977928162, -0.5998206734657288, -0.15857525169849396, -0.28622689843177795, 0.1556386947631836, 0.054118964821100235, 0.026861855760216713, -0.09800772368907928, 0.8640689849853516, -0.17343024909496307, 0.9624329209327698, -0.4199616014957428, -0.25303915143013, 0.344906210899353, -1.0965979099273682, -0.24342383444309235, -0.5154486298561096, 0.8912495970726013, 0.463739275932312, -0.3092738091945648, -0.14426183700561523, -0.3800920248031616, -0.34969380497932434, 0.4462836682796478, -0.43480393290519714, 0.2812782824039459, -0.043193113058805466, -0.7631713151931763, -0.16742925345897675, -0.1403961181640625, -0.7394536137580872, -0.2983200252056122, -0.5875377655029297, 0.318779319524765, -0.4959147274494171, -0.30107975006103516, -0.15841007232666016, -0.07672353088855743, 0.08973799645900726, 0.7210335731506348, -0.37974920868873596, -0.1953919678926468, 0.3643995523452759, 0.97935551404953, -0.3213762938976288, -0.3811822235584259, -0.16962260007858276, 0.07034841179847717, -0.015188086777925491, 0.6405120491981506, -0.5863310694694519, -0.37964093685150146, -0.0756167471408844, 0.20227158069610596, -0.5978507995605469, -0.19718614220619202, 0.5975056290626526, -0.4836151599884033, 0.5186284780502319, -0.5505843162536621, -0.033114444464445114, -0.7303098440170288, 0.518036425113678, -0.7724989056587219, 0.8094608187675476, -0.13971967995166779, -0.6409971714019775, 0.3910802900791168, -0.6045494079589844, -0.45152294635772705, -0.2630961239337921, -0.21020588278770447, -0.3024657666683197, 0.34134408831596375, 0.37883031368255615, 0.5776156187057495, -0.591519296169281, 0.22984158992767334, 0.03373158723115921, 0.12641125917434692, 0.6746199131011963, -0.8018407821655273, 0.6208513975143433, 0.5674965381622314, -0.30269408226013184, 0.32717621326446533, -0.5271255373954773, -0.2089989334344864, -0.07201981544494629, -0.2421276569366455, -0.358649343252182, -0.06143205985426903, 0.6075621843338013, 0.7594692707061768, 0.2802833020687103, -0.3294183313846588, 0.35493990778923035, 0.11904487758874893, 0.5455095171928406, 0.3140917420387268, 0.06081070005893707, 0.3896225094795227, -0.29156798124313354, 0.8812069892883301, 0.17898526787757874, 0.23762422800064087, -0.4081002175807953, -0.6849951148033142, -0.4746999144554138, -0.3342404365539551, 0.44292739033699036, 0.4840962588787079, -0.8930661678314209, -0.03323821350932121, -0.15570439398288727, -0.405018150806427, -0.6501619815826416, 0.029311150312423706, 0.26902303099632263, 0.3928608298301697, 0.4664760231971741, -0.23708786070346832, -0.1871282458305359, -1.013521671295166, -0.07622620463371277, 0.07023490965366364, 0.21868614852428436, 0.44741785526275635, 0.5211384296417236, -0.21598610281944275, 0.39382046461105347, -0.21416710317134857, -0.16659100353717804, -0.16599637269973755, 0.45022979378700256, -0.15022557973861694, 0.4471462070941925, 0.6565463542938232, -1.0564180612564087, -0.22068649530410767, 0.2620450258255005, -0.8280787467956543, 0.1341283619403839, -0.31003084778785706, 0.06973722577095032, 0.1436242163181305, 0.47306010127067566, -0.46032777428627014, -0.03016773611307144, 0.7151030898094177, -0.12552163004875183, 0.32371556758880615, -0.04259076341986656, 0.9266794323921204, -1.1402677297592163, 0.48769792914390564, -0.05368215963244438, -0.2801295816898346, -0.46796002984046936, 0.28095418214797974, 0.23794160783290863, -0.15654975175857544, -0.5078145265579224, 0.07040754705667496, -0.7270956039428711, 0.05667614936828613, -0.11589635163545609, -0.037778012454509735, -0.060386206954717636, 0.2780170440673828, -0.18354779481887817, 0.8013499975204468, 0.3676982820034027, -0.3021790087223053, 0.33327192068099976, 0.12389668822288513, -0.10792670398950577, 0.599732518196106, -0.49781012535095215, -0.12208284437656403, -0.17767179012298584, 0.1667383462190628, -1.0512887239456177, -0.07667440921068192, 0.5618789792060852, -0.33253568410873413, 0.36894404888153076, 0.003396828891709447, -0.4089790880680084, -0.19145764410495758, -0.05189044028520584, 0.6791349649429321, 0.12973807752132416, 0.17636895179748535, 0.5220820307731628, 0.112972691655159, -0.26589512825012207, -0.6050595045089722, -0.5615471601486206, 0.4483088254928589, -0.15192370116710663, -0.5305383801460266, 0.23638591170310974, -0.12368936836719513, -0.1800437867641449, -0.16316556930541992, -0.017563223838806152, -0.13649724423885345, 0.02694077417254448, 0.1006963774561882, 0.10638430714607239, -0.22642752528190613, -0.07872971147298813, 0.057998593896627426, -0.011609959416091442, -0.13226860761642456, 0.033580657094717026, 0.17901206016540527, -0.1400838941335678, -0.5379776954650879, -0.3533591330051422, 0.7039073705673218, 1.030214548110962, -0.7105602622032166, 0.48238322138786316, 0.9318456649780273, -0.2353590726852417, 0.3147936165332794, -0.5245323181152344, 0.055276140570640564, -0.3090713620185852, 0.5833032727241516, -0.5914631485939026, -0.6249435544013977, 0.2837825417518616, -0.21692581474781036, -0.046206191182136536, 0.5023763179779053, 0.8129674792289734, 0.0757310539484024, 1.249895453453064, 0.6894120573997498, 0.02163044922053814, 0.4229811131954193, -0.07356463372707367, 0.1892663687467575, -0.7971314787864685, -0.7500389814376831, -0.6170344948768616, -0.401199609041214, -0.43489816784858704, -0.7216481566429138, 0.7216941714286804, 0.029367174953222275, 0.549340546131134, 0.47857987880706787, -0.42849040031433105, -0.25837862491607666, 0.4607643783092499, -0.08234590291976929, 0.6787201166152954, -0.2617897391319275, -0.12913329899311066, -0.2562345862388611, -0.5673703551292419, -0.5022518634796143, 1.0987902879714966, 0.38597607612609863, 0.5144379734992981, 0.34331896901130676, 0.14301306009292603, 0.21115973591804504, 0.13093985617160797, -0.8115634918212891, 0.16659283638000488, 0.18241600692272186, -0.8921552896499634, -0.25837448239326477, -0.36327308416366577, -0.8343718647956848, 0.7757869362831116, -0.19751618802547455, -0.20666852593421936, 0.14862915873527527, -0.057821616530418396, 0.18570439517498016, 0.03562753275036812, -0.5706222653388977, 1.1094688177108765, -0.6624200344085693, -0.12492693215608597, -0.1900722086429596, -0.9831990599632263, 0.5572760105133057, -0.09172448515892029, 0.40467369556427, 0.11589396744966507, -0.29564395546913147, 0.371884822845459, 0.0791950672864914, 0.4830133318901062, 0.025214478373527527, -0.1863030046224594, 0.03627876937389374, -0.08979162573814392, 0.21083906292915344, 0.02158498950302601, 0.19643959403038025, 0.18924719095230103, 0.2125726193189621, -0.17677943408489227, -0.43919119238853455, 0.3743928074836731, -0.46760642528533936, -0.2077915519475937, -0.4439358413219452, -0.8303095698356628, -0.22262683510780334, 0.42426446080207825, 0.28832074999809265, 0.43694743514060974, -0.1312546730041504, 0.4131036698818207, 0.35698947310447693, -0.06615076214075089, 0.5613334774971008, 0.3109521269798279, -0.1260603368282318, -0.5300573706626892, 0.8380945324897766, 0.2712957561016083, 0.13648800551891327, 0.5494962930679321, -0.23372943699359894, -0.33341342210769653, -0.6937706470489502, -1.1285475492477417, -0.009685007855296135, -0.44312652945518494, -0.23114649951457977, -0.979201078414917, 0.2592152953147888, -0.5283492207527161, 0.01745452918112278, -0.47520625591278076, -0.33132046461105347, -0.1234336569905281, 0.3747049868106842, 0.062491290271282196, 0.9056025743484497, 0.23133474588394165, 0.09324432909488678, -0.7927001714706421, 0.4552847146987915, 0.13855110108852386, 0.07920052111148834, -0.04972333088517189, -0.15193575620651245, -0.273404061794281, 0.059426695108413696, -0.48408231139183044, -1.1065784692764282, 0.34501224756240845, -0.18941889703273773, 0.7929282188415527, 0.2827889025211334, -0.09886838495731354, 0.47993382811546326, -0.5153337717056274, 0.8828653693199158, 0.2652193009853363, -0.6385213732719421, 0.3143518269062042, -0.5338688492774963, 0.31507524847984314, 0.46689915657043457, 0.7514640092849731, -0.7920381426811218, -0.24431228637695312, -0.05818748474121094, -0.8346052169799805, 0.5707269906997681, 0.3223612606525421, -0.16989700496196747, 0.4421863257884979, -0.1692366600036621, 0.2870917022228241, 0.6383156180381775, -0.6613632440567017, -0.28772762417793274, -0.30794405937194824, -0.036325886845588684, -0.3574570417404175, 0.05526815727353096, -0.1285095065832138, -0.15702742338180542, 0.28381314873695374, 0.014425626955926418, 0.2027762234210968, -0.054164811968803406, -0.6041564345359802, 0.10268554836511612, 0.48021650314331055, 1.0176984071731567, 0.6803810596466064, -0.03096465766429901, 0.2491762787103653, -0.046320416033267975, -0.2180784046649933, 0.074864961206913, 0.22399410605430603, -0.32845014333724976, -0.011244074441492558, 0.26198846101760864, 0.643732488155365, 0.22659063339233398, -0.47862035036087036, 0.6234883069992065, 0.12117791920900345, 0.007855203934013844, 0.032124221324920654, -0.4915006160736084, -0.09656762331724167, 0.3091495633125305, 0.32942137122154236, 0.6216614246368408, 0.4706328213214874, -0.49148795008659363, -0.15040801465511322, 0.4582604765892029, -0.5442259311676025, -0.48777779936790466, 0.907220721244812, 0.23661980032920837, 0.020879190415143967, 0.17298178374767303, 0.08285171538591385, -0.3611343801021576, 0.19850465655326843, 0.4246104061603546, 0.73894864320755, 0.06783079355955124, 0.10172364860773087, -0.042012907564640045, 0.5674583911895752, 0.003633301006630063, 0.09352166950702667, -0.2028033286333084, -0.0759381353855133, -0.4503086507320404, -0.3860611021518707, -0.28801023960113525, 0.12719856202602386, -0.5506386160850525, 0.17236559092998505, 0.2345891147851944, -0.4580872058868408, -0.10167228430509567, -0.354055792093277, -0.8189550042152405, 0.09282888472080231, 0.06763046234846115, 0.5385251045227051, -0.842559278011322, 0.4990110695362091, 1.259546160697937, -0.8702952861785889, -0.011531516909599304, -0.23293130099773407, 0.27228716015815735, -0.3866271674633026, 0.3645544648170471, -0.06489355862140656, -0.40249937772750854, -0.08192615211009979, -0.3054732382297516, -0.8276695609092712, 1.0014076232910156, 0.09637914597988129, -0.15087741613388062, -0.2291470617055893, 0.1537952572107315, 0.27283525466918945, -0.2045692503452301, 0.3070094883441925, 0.1156565248966217, 0.7483823895454407, -0.3843546509742737, -1.0781453847885132, 0.02221238613128662, -0.5181393027305603, 0.1479833573102951, -0.006014382466673851, -0.8672138452529907, 0.8628902435302734, 0.30066978931427, -0.0470120944082737, 0.16542990505695343, 0.4582674205303192, -0.24445480108261108, 0.4271330237388611, 0.36870571970939636, 0.09977898001670837, 0.241188183426857, 0.040885038673877716, 0.8725441098213196, -0.3200165331363678, 0.05441265553236008, 0.5889034867286682, 0.03993178531527519, 0.5603308081626892, 0.7667039632797241, -0.07716648280620575, 0.05745316669344902, 0.5871534943580627, -0.0952337384223938, 0.33692169189453125, -0.15276813507080078, -0.055541958659887314, -0.4809208810329437, -0.31448379158973694, -0.8244023323059082, 0.7014817595481873, 0.15829350054264069, -0.5218139290809631, -0.21962863206863403, 0.4736323952674866, -0.0889212116599083, 0.14148110151290894, 0.019795814529061317, 0.5919696688652039, -0.06406166404485703, -0.597625195980072, 0.3400450348854065, 0.5378909707069397, 0.7504995465278625, -0.5279236435890198, -0.07993325591087341, 0.07711870968341827, -0.27751386165618896, 0.12484732270240784, -0.37930336594581604, 0.04805557429790497, -0.2879737317562103, -0.47259074449539185, -0.816186785697937, 0.5956944823265076, -0.3669488728046417, -0.4586305022239685, -0.03873433917760849, 1.1306571960449219, 0.17080600559711456, -0.23777209222316742, -0.5941423177719116, 0.34961360692977905, -0.10351597517728806, -0.21235868334770203, 0.16596946120262146, 0.6822604537010193, -0.1102292537689209, 0.48564574122428894, 0.27462947368621826, -0.20523671805858612, 0.4398532509803772, -0.1986447423696518, 0.6694271564483643, -0.8904765844345093, -0.1736704707145691, -0.4713217318058014, 0.8237289190292358, 0.03759157285094261, -0.7122327089309692, 1.1050076484680176, 0.6915698647499084, 0.7972504496574402, -0.44578927755355835, 0.7604162693023682, -0.0861651822924614, 0.2504451274871826, -0.4686933755874634, 0.7763776183128357, -0.8579229116439819, -0.1687440127134323, -0.5214602947235107, -0.7754392027854919, -0.2615312933921814, 0.21221782267093658, -0.1073659285902977, 0.09665413945913315, 0.915483295917511, 0.4163152575492859, -0.14491845667362213, -0.03286009654402733, 0.29081425070762634, -0.20093972980976105, 0.13756577670574188, 0.2546309232711792, 1.0072728395462036, -0.6836290955543518, 0.670876145362854, -0.19922283291816711, -0.18124178051948547, -0.4721534848213196, -0.7508938312530518, -0.49481138586997986, -0.9100387692451477, -0.11107520759105682, 0.1823863834142685, -0.17645996809005737, 0.623045802116394, 0.7511004209518433, -0.6628462672233582, -0.27041104435920715, 0.4776593744754791, 0.18078307807445526, -0.45262831449508667, -0.09143238514661789, 0.050920892506837845, -0.5204881429672241, -1.0733767747879028, 0.5617128610610962, 0.1642586886882782, -0.008064190857112408, -0.33921509981155396, 0.08583127707242966, -0.48906210064888, -0.4210905134677887, 0.8889620900154114, -0.07300961017608643, -0.8484309911727905, 0.0803394541144371, 0.48334550857543945, -0.2621649205684662, -0.054932061582803726, 1.1882514953613281, -0.29559510946273804, 0.7075321078300476, 0.6765003800392151, 0.6444203853607178, 0.48367345333099365, 0.057685285806655884, 0.6887191534042358, -0.47077715396881104, -0.04709535092115402, -0.02377159893512726, 0.16120712459087372, 0.2656933069229126, -0.10508234798908234, 0.3085832893848419, 0.5062606930732727, -0.4908181130886078, -0.7982009649276733, 0.27427640557289124, -1.3150956630706787, -0.3788410425186157, 0.9343034625053406, 0.14953242242336273, 0.1709170937538147, -0.25014105439186096, -0.34407326579093933, 0.4194799065589905, -0.19225317239761353, 0.45100390911102295, 0.7534135580062866, -0.20581446588039398, -0.15063412487506866, -1.0164226293563843, 0.17288656532764435, 0.5023291707038879, -0.5444546341896057, -0.18112030625343323, 1.0343694686889648, -0.10893368721008301, 0.10236498713493347, 0.38872718811035156, -0.5090509653091431, 0.041084304451942444, -0.04160100594162941, -0.025859853252768517, -0.27428779006004333, -0.6137692332267761, -0.5055954456329346, 0.5271624326705933, 0.10293088853359222, -0.2859160304069519 ]
http://arxiv.org/abs/2405.12656v1
http://arxiv.org/pdf/2405.12656v1
Retrieval-Augmented Language Model for Extreme Multi-Label Knowledge Graph Link Prediction
2024-05-21T10:10:56
2024-05-21T10:10:56
Yu-Hsiang Lin, Huang-Ting Shieh, Chih-Yu Liu, Kuang-Ting Lee, Hsiao-Cheng Chang, Jing-Lun Yang, Yu-Sheng Lin
cs.CL
cs.CL, cs.AI
Extrapolation in Large language models (LLMs) for open-ended inquiry encounters two pivotal issues: (1) hallucination and (2) expensive training costs. These issues present challenges for LLMs in specialized domains and personalized data, requiring truthful responses and low fine-tuning costs. Existing works attempt to tackle the problem by augmenting the input of a smaller language model with information from a knowledge graph (KG). However, they have two limitations: (1) failing to extract relevant information from a large one-hop neighborhood in KG and (2) applying the same augmentation strategy for KGs with different characteristics that may result in low performance. Moreover, open-ended inquiry typically yields multiple responses, further complicating extrapolation. We propose a new task, the extreme multi-label KG link prediction task, to enable a model to perform extrapolation with multiple responses using structured real-world knowledge. Our retriever identifies relevant one-hop neighbors by considering entity, relation, and textual data together. Our experiments demonstrate that (1) KGs with different characteristics require different augmenting strategies, and (2) augmenting the language model's input with textual data improves task performance significantly. By incorporating the retrieval-augmented framework with KG, our framework, with a small parameter size, is able to extrapolate based on a given KG. The code can be obtained on GitHub: https://github.com/exiled1143/Retrieval-Augmented-Language-Model-for-Multi-Label-Knowledge-Graph-Link-Prediction.git
[ -0.44603654742240906, -1.116548776626587, 0.5525099635124207, -0.13917170464992523, -0.00814364105463028, 0.08163938671350479, -0.18197572231292725, -0.8594639301300049, 0.6058003902435303, 0.6100208163261414, -0.4839152991771698, -0.452843576669693, -0.4283013641834259, -0.017020471394062042, -0.151363804936409, 0.7791811227798462, 0.13279730081558228, -0.18628661334514618, -0.17270909249782562, -0.17516444623470306, -0.1233493834733963, -0.6891025900840759, -0.3226626515388489, -0.474214106798172, 0.6288211941719055, 0.38143715262413025, 0.8626124858856201, 0.5607567429542542, 0.17973670363426208, 0.18232786655426025, -0.2069839984178543, 0.45758065581321716, -0.5379462838172913, 0.25684383511543274, 0.10650888830423355, -0.2544536888599396, -0.424209326505661, -0.07287222892045975, 0.6950531601905823, 0.8873013257980347, 0.0902891457080841, 0.10399450361728668, -0.19834938645362854, 0.5757209062576294, -0.423732191324234, 0.34782737493515015, -0.7011802792549133, -0.12750540673732758, 0.09992635995149612, -0.15579238533973694, -0.48235225677490234, -0.33432433009147644, 0.3531898558139801, -0.6138028502464294, -0.04698684811592102, 0.3491378128528595, 0.6196319460868835, -0.1050485223531723, -0.4100077748298645, -0.275260329246521, -0.46016982197761536, 0.35163673758506775, -0.4370834529399872, 0.7323352098464966, 0.6838563680648804, 0.23841482400894165, -0.2437032014131546, -0.6352209448814392, -0.5261440873146057, -0.5326002240180969, -0.12072372436523438, 0.06140594929456711, 0.026516351848840714, 0.11353453248739243, 0.27303609251976013, 0.14999878406524658, -0.39114341139793396, 0.025193527340888977, -0.19991227984428406, -0.13040974736213684, 0.3254454731941223, 0.040262673050165176, 0.0820130854845047, -0.03645576536655426, -0.31949087977409363, -0.16597050428390503, -0.8024057745933533, 0.006264467258006334, 0.6070643663406372, 0.5412387251853943, 0.2256476730108261, 0.7698008418083191, -0.5598565340042114, 0.8797808885574341, -0.3066549301147461, 0.07786178588867188, 0.5226008892059326, 0.012246783822774887, 0.18203894793987274, -0.0009515765123069286, 0.725717306137085, 0.26285600662231445, 0.16115787625312805, -0.25695449113845825, -0.21651500463485718, -0.341500848531723, -0.10440324246883392, -0.6157196164131165, -0.4939099848270416, 0.06437649577856064, -0.08180420100688934, -0.10661441087722778, -0.16596493124961853, -0.719029426574707, -0.369368314743042, -0.2156989872455597, 0.45865029096603394, -0.5533382296562195, -0.14731481671333313, -0.13298486173152924, 0.046631984412670135, -0.39943915605545044, 0.1542132943868637, -0.537039041519165, 0.09483739733695984, 0.2978605628013611, 0.7951950430870056, 0.07548096776008606, -0.4718590974807739, -0.7708983421325684, 0.47746363282203674, -0.08000701665878296, 0.8751692771911621, -1.1503139734268188, -0.37719252705574036, -0.017350632697343826, -0.07956907153129578, 0.13272614777088165, -0.3953697681427002, 0.5316128134727478, -1.0830540657043457, -0.17074565589427948, -0.20479340851306915, -0.5483075976371765, -0.2272268682718277, 0.5393227934837341, -0.9358537793159485, 1.265114426612854, 0.19087611138820648, -0.6871350407600403, -0.06719279289245605, -0.614707350730896, -0.38285380601882935, 0.19054320454597473, -0.07554006576538086, -0.21021027863025665, -0.1019807904958725, 0.3401101529598236, 0.4241707921028137, -0.3052639067173004, 0.21625207364559174, -0.556215226650238, -0.26973623037338257, 0.19867250323295593, -0.3735775053501129, 0.3752388060092926, -0.06451673805713654, 0.13906407356262207, 0.017700789496302605, -1.014891505241394, 0.3363291323184967, -0.05628730356693268, -0.6223598122596741, -0.6228988766670227, -0.1853492110967636, -0.07934271544218063, 0.30262133479118347, 0.2771953344345093, -0.6682962775230408, 0.3499048352241516, -0.477881520986557, -0.06867965310811996, 0.750988245010376, -0.1491640955209732, 0.26422667503356934, -0.15190713107585907, 0.5336527824401855, -0.2720503807067871, 0.011529890820384026, -0.33834585547447205, -0.5951133966445923, -0.3612925410270691, -0.14814913272857666, 0.29399511218070984, 0.27656349539756775, -1.004455804824829, 0.15868332982063293, -0.5577731132507324, -0.4897506833076477, -0.5039047002792358, 0.04678339138627052, 0.5434226989746094, 0.6737419366836548, 0.7131415009498596, 0.008185330778360367, -0.5793156027793884, -0.5983104705810547, -0.28984612226486206, -0.3830675184726715, 0.08786891400814056, 0.6517144441604614, 0.4100329577922821, -0.18249636888504028, 0.9047735929489136, -0.9330859780311584, -0.37079674005508423, -0.15597465634346008, 0.15332332253456116, 0.2845557928085327, 0.19749577343463898, 0.004119614139199257, -1.0160949230194092, -0.8103957176208496, 0.18615558743476868, -0.5099778771400452, -0.048730943351984024, 0.3748026490211487, -0.018753627315163612, -0.18307286500930786, 0.3011360168457031, -0.4317818582057953, 0.13609108328819275, 0.7136864066123962, -0.13084030151367188, 0.8666568398475647, -0.20106641948223114, -0.014282340183854103, -0.8583315014839172, 0.05865867808461189, 0.040603213012218475, -0.11469478905200958, -0.6294789910316467, 0.3612826466560364, 0.17870859801769257, 0.04551259055733681, -0.1871986836194992, 0.8159241080284119, -0.4449133276939392, -0.005805240944027901, -0.29443368315696716, 0.21040186285972595, -0.04679713770747185, 0.6047176718711853, 0.169381245970726, 0.6405245065689087, 0.41309961676597595, -0.551364004611969, 0.7182472944259644, 0.2512761354446411, -0.255376398563385, 0.14568054676055908, -0.5173723101615906, 0.31320086121559143, -0.0932675376534462, 0.3720676898956299, -0.9050514101982117, -0.30894818902015686, 0.012590590864419937, -0.6581554412841797, 0.33548375964164734, -0.2951122224330902, -0.7326279282569885, -0.3777320384979248, -0.38258126378059387, 0.3787781298160553, 0.14825588464736938, -0.7748073935508728, 0.76796555519104, 0.5038295388221741, -0.13384194672107697, -0.6781080961227417, -0.41602224111557007, 0.08479693531990051, 0.16329896450042725, -0.4148705005645752, 0.31735846400260925, -0.25995689630508423, 0.19891873002052307, 0.17374369502067566, 0.082791768014431, -0.03991292789578438, -0.19780099391937256, 0.10089381039142609, 0.3297607898712158, 0.07802234590053558, 0.3063271641731262, 0.15963731706142426, -0.11804596334695816, 0.034566763788461685, -0.4729970395565033, 0.605198860168457, -0.0239240825176239, -0.47465676069259644, 0.15729323029518127, 0.27185916900634766, 0.456477552652359, -0.21363873779773712, 0.8178656697273254, 0.52685546875, -0.39637941122055054, 0.06016748771071434, -0.7528347969055176, -0.11190716922283173, -0.4476359486579895, 0.6446638703346252, -0.8963841199874878, -0.8538458943367004, 0.5393317341804504, -0.3337051272392273, -0.21370363235473633, 0.16428808867931366, 0.35267016291618347, 0.07831081748008728, 1.210976243019104, 0.7396381497383118, -0.005682134069502354, 0.27160167694091797, -0.30760201811790466, 0.15072929859161377, -1.296574592590332, -0.6875529885292053, -0.4580805003643036, -0.039931703358888626, -0.4393790364265442, -0.351833701133728, 0.7067398428916931, 0.23249691724777222, 0.04369034245610237, 0.3483699858188629, -0.3098205029964447, 0.5924724340438843, 0.6768152713775635, 0.44463270902633667, 0.5952325463294983, 0.3370780050754547, -0.693889856338501, 0.033088091760873795, -0.7405130863189697, -0.14638353884220123, 1.2092654705047607, 0.13134241104125977, 0.8761858940124512, 0.25049707293510437, 0.35186299681663513, 0.05072242394089699, 0.4829687774181366, -0.7622841000556946, 0.5049484372138977, 0.07591549307107925, -0.5606442093849182, -0.4428061246871948, -0.6193427443504333, -0.7488602995872498, 0.3991553783416748, -0.20796078443527222, -0.899291455745697, -0.12186478823423386, 0.08664605021476746, -0.017365921288728714, 0.33228302001953125, -0.4914304316043854, 0.3511255979537964, -0.0735238641500473, -0.39762115478515625, 0.11704698950052261, -0.899111807346344, 0.22257395088672638, -0.3240388035774231, 0.35253337025642395, 0.026009706780314445, -0.0037434182595461607, 0.6576895117759705, -0.23763936758041382, 0.7375895380973816, -0.03354403376579285, -0.09014645963907242, 0.3230634331703186, 0.0630737692117691, 1.179782748222351, -0.1087702289223671, -0.3646112084388733, -0.2530765235424042, -0.182762011885643, -0.29545605182647705, -0.7636878490447998, 0.8461483716964722, -0.7445927858352661, -0.4930655062198639, -0.03287737816572189, -0.7959322929382324, -0.6762041449546814, 0.2106502205133438, 0.10345203429460526, 0.5858685970306396, 0.13812415301799774, 0.11352390050888062, 0.6982237100601196, -0.18241876363754272, 0.08251087367534637, 0.6733545064926147, -0.49221765995025635, -0.5371819138526917, 1.145696997642517, 0.3170611560344696, 0.25613167881965637, 0.6487791538238525, 0.37105706334114075, -0.7921290993690491, -0.3845042884349823, -0.5722358822822571, 0.1890062540769577, -0.9509199261665344, -0.25849035382270813, -1.1323661804199219, 0.011928506195545197, -0.5876354575157166, 0.22568057477474213, -0.2553309202194214, -0.4202631711959839, -0.013219289481639862, -0.2510261833667755, 0.5445263981819153, 0.6659291386604309, -0.14873240888118744, 0.11710502207279205, -1.065546989440918, 0.21639786660671234, 0.1389075666666031, 0.5554924607276917, 0.23439310491085052, -0.590502917766571, -0.4511466324329376, 0.13115723431110382, -0.0862753614783287, -1.0039091110229492, 0.34358298778533936, 0.2608047127723694, 0.6073995232582092, 0.13459062576293945, 0.3626532256603241, 0.8316001296043396, -0.5729795694351196, 0.4225797951221466, 0.37277647852897644, -0.49664047360420227, 0.41664987802505493, -0.2484607696533203, 0.1649773269891739, 0.37535160779953003, 0.8244763016700745, -0.46264562010765076, -0.333619624376297, -0.3805271089076996, -1.1444876194000244, 0.6602065563201904, 0.04247549921274185, 0.2876055836677551, -0.08949538320302963, 0.3087702691555023, 0.12391398102045059, 0.16798357665538788, -0.7419410943984985, -0.46810054779052734, 0.243051677942276, -0.0665857344865799, 0.15136612951755524, -0.38859522342681885, -0.07850371301174164, -0.3632819652557373, 0.9248867034912109, -0.44031450152397156, 0.1797313541173935, 0.0528545007109642, -0.15100154280662537, -0.22890645265579224, 0.1772756427526474, 0.08876080065965652, 0.6064602732658386, -0.1802416890859604, 0.2645398676395416, 0.2722927927970886, -0.43325817584991455, 0.144419863820076, 0.4695083796977997, -0.011996159330010414, 0.03572686016559601, 0.22019121050834656, 0.7031119465827942, 0.006612465251237154, -0.8803170919418335, 0.32859790325164795, 0.29589971899986267, 0.14362718164920807, -0.029746154323220253, -0.3075143098831177, 0.06984871625900269, 0.34144309163093567, 0.6292734146118164, -0.2088480293750763, 0.20991940796375275, -0.5353634357452393, 0.19028329849243164, 0.4192154109477997, -0.6175166368484497, -0.3015589118003845, 0.6257389783859253, -0.008094537071883678, -0.1327621191740036, 0.5553849339485168, -0.39320048689842224, -0.8652797341346741, 0.392374187707901, 0.7958478331565857, 0.44205373525619507, -0.17342212796211243, 0.12601381540298462, 0.26106521487236023, 0.17961713671684265, 0.06244710832834244, 0.16888682544231415, 0.020759517326951027, -0.7043223977088928, -0.716192364692688, -0.7529541254043579, -0.4416557848453522, 0.14303576946258545, -0.5257184505462646, 0.15473859012126923, 0.06944787502288818, -0.07585243880748749, -0.3311099410057068, 0.09647857397794724, -0.39267292618751526, 0.2669330835342407, -0.011322271078824997, 0.8232319951057434, -0.6379130482673645, 0.9092504382133484, 1.114284634590149, -0.4050675332546234, -0.8496899604797363, -0.19368170201778412, -0.3095581531524658, -0.8223114609718323, 0.6864267587661743, 0.11517857760190964, -0.3271319568157196, 0.28176072239875793, -0.3327960968017578, -1.14610755443573, 0.9103477597236633, 0.29611536860466003, -0.4514341652393341, -0.2719859480857849, 0.07330884784460068, 0.39946550130844116, -0.3014185130596161, 0.5576826333999634, 0.2710641622543335, 0.2960278391838074, 0.397934228181839, -0.8901316523551941, 0.2103327214717865, -0.24886581301689148, -0.05319490283727646, 0.27489835023880005, -0.543944239616394, 0.6190253496170044, -0.4178808033466339, 0.13129153847694397, 0.029587214812636375, 0.6028842329978943, 0.4629474878311157, 0.21613654494285583, 0.35139402747154236, 0.6747717261314392, 0.7549241185188293, 0.26155176758766174, 1.0508980751037598, -0.5160170197486877, 0.646924614906311, 1.3858412504196167, -0.25179582834243774, 0.8365283608436584, 0.29460087418556213, -0.3378906548023224, 0.2908667325973511, 0.5267512798309326, 0.23032531142234802, 0.5487581491470337, 0.019522586837410927, -0.3403903841972351, -0.05058548226952553, -0.4694097638130188, -0.5474995970726013, 0.14052999019622803, 0.4557405710220337, -0.4585667848587036, -0.10325026512145996, 0.10952149331569672, -0.10182240605354309, -0.13645027577877045, -0.23141410946846008, 0.5186641216278076, -0.1892278641462326, -0.5259883403778076, 0.42277973890304565, 0.04420456290245056, 0.4251459836959839, -0.628902792930603, -0.2678079307079315, -0.0061495606787502766, -0.04523863270878792, -0.070550836622715, -0.7522551417350769, -0.04054494947195053, -0.21716225147247314, -0.13704189658164978, 0.08357250690460205, 0.8154972195625305, -0.6635276675224304, -0.43525758385658264, 0.5811116695404053, 0.6371477842330933, 0.20824386179447174, -0.3317558169364929, -0.5893509984016418, 0.04721767455339432, 0.012242300435900688, -0.6209385991096497, 0.46305784583091736, 0.35100966691970825, 0.05219471454620361, 0.9422138929367065, 0.8875769376754761, 0.13849906623363495, 0.3021043837070465, 0.11721773445606232, 1.3354178667068481, -0.3907310962677002, -0.43077513575553894, -0.7446411848068237, 0.07851319015026093, 0.011417202651500702, -0.04885166138410568, 0.5994556546211243, 0.7499065399169922, 0.871758759021759, 0.20686616003513336, 0.8524937033653259, -0.04834991320967674, 0.45078861713409424, -0.572289228439331, 0.42180413007736206, -0.6089072227478027, 0.35839009284973145, -0.41033583879470825, -1.1095025539398193, -0.24772490561008453, 0.2087569683790207, -0.231294646859169, 0.1320669949054718, 0.6703936457633972, 0.8716275691986084, -0.03170037642121315, 0.11976534873247147, 0.5515108108520508, 0.3748435080051422, 0.25289398431777954, 0.4395088255405426, 0.8722804188728333, -0.31526193022727966, 0.9424664974212646, -0.3695654273033142, -0.2616127133369446, -0.1945512443780899, -0.6167532205581665, -0.608702540397644, -0.577593207359314, -0.16699248552322388, -0.5373477935791016, 0.14006657898426056, 1.0757607221603394, 0.612898051738739, -0.4252713918685913, 0.01894236169755459, 0.12178076058626175, 0.11923503130674362, 0.032983679324388504, -0.234383225440979, 0.5477019548416138, -0.20463840663433075, -0.8317399024963379, 0.5172518491744995, 0.18462450802326202, -0.0612356923520565, -0.20090197026729584, -0.1182340607047081, -0.5190218091011047, -0.29346510767936707, 0.9405526518821716, 0.1810888797044754, -0.6002614498138428, -0.24465078115463257, 0.16172926127910614, 0.1515517383813858, -0.05952249839901924, 0.6226798892021179, -1.0143787860870361, 0.8351303339004517, 0.3308153748512268, 0.8365469574928284, 0.5599126219749451, 0.037603169679641724, 0.36582016944885254, -0.9428234100341797, -0.35564038157463074, 0.20036426186561584, 0.22872567176818848, 0.17741702497005463, -0.5614405870437622, 0.6365512609481812, 0.3297395706176758, -0.3694572150707245, -0.7265186309814453, 0.46473240852355957, -0.46381834149360657, -0.19752497971057892, 1.3138008117675781, -0.426016628742218, -0.10068739950656891, -0.3175875246524811, -0.10548431426286697, 0.27027854323387146, -0.5720802545547485, 0.48120397329330444, 0.6551253199577332, -0.40219414234161377, -0.06797492504119873, -0.5959340929985046, -0.03685496747493744, 0.25633159279823303, -0.4626469612121582, 0.09952773153781891, 0.6148523688316345, 0.04810798168182373, 0.2846401333808899, 0.5600966811180115, 0.054644081741571426, -0.0975080281496048, -0.06401889771223068, -0.19921474158763885, -0.4592333436012268, -0.510759711265564, 0.026556404307484627, 0.41858887672424316, 0.06977005302906036, 0.1726650595664978 ]
http://arxiv.org/abs/2405.12630v1
http://arxiv.org/pdf/2405.12630v1
Exploration of Masked and Causal Language Modelling for Text Generation
2024-05-21T09:33:31
2024-05-21T09:33:31
Nicolo Micheletti, Samuel Belkadi, Lifeng Han, Goran Nenadic
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have revolutionised the field of Natural Language Processing (NLP) and have achieved state-of-the-art performance in practically every task in this field. However, the prevalent approach used in text generation, Causal Language Modelling (CLM), which generates text sequentially from left to right, inherently limits the freedom of the model, which does not decide when and where each token is generated. In contrast, Masked Language Modelling (MLM), primarily used for language understanding tasks, can generate tokens anywhere in the text and any order. This paper conducts an extensive comparison of MLM and CLM approaches for text generation tasks. To do so, we pre-train several language models of comparable sizes on three different datasets, namely 1) medical discharge summaries, 2) movie plot synopses, and 3) authorship verification datasets. To assess the quality of the generations, we first employ quantitative metrics and then perform a qualitative human evaluation to analyse coherence and grammatical correctness. In addition, we evaluate the usefulness of the generated texts by using them in three different downstream tasks: 1) Entity Recognition, 2) Text Classification, and 3) Authorship Verification. The results show that MLM consistently outperforms CLM in text generation across all datasets, with higher quantitative scores and better coherence in the generated text. The study also finds \textit{no strong correlation} between the quality of the generated text and the performance of the models in the downstream tasks. With this study, we show that MLM for text generation has great potential for future research and provides direction for future studies in this area.
[ -0.07625174522399902, -0.8450127840042114, 0.4863300025463104, 0.31691470742225647, -0.2702465057373047, -0.013711770065128803, -0.25634637475013733, -0.5310022234916687, -0.055899180471897125, 0.8824387788772583, -0.5506982207298279, -0.6182872653007507, -0.5468645691871643, 0.4050983786582947, -0.5767025947570801, 0.9698368906974792, 0.03723447397351265, 0.08141198009252548, -0.4070354700088501, 0.09115041792392731, -0.6928577423095703, -0.6871240735054016, -0.8397448658943176, -0.3707753121852875, 0.5473397970199585, 0.017996985465288162, 0.4752039909362793, 0.6957443952560425, 0.4116978943347931, 0.2635003924369812, 0.07600951939821243, 0.31172052025794983, -0.5602349638938904, 0.48254266381263733, -0.16838157176971436, -0.26250919699668884, -0.2232132852077484, -0.07410743087530136, 0.5947060585021973, 0.6091065406799316, 0.31224876642227173, 0.2278033047914505, 0.22603099048137665, 0.6022489070892334, -0.4975406229496002, 0.04307762160897255, -0.7470200061798096, 0.00212232512421906, -0.16277557611465454, -0.29865461587905884, -0.6330054998397827, -0.39025989174842834, 0.03757127374410629, -0.24960777163505554, 0.42733368277549744, 0.2537045180797577, 0.8905345797538757, 0.10648743063211441, -0.5683097243309021, -0.7498778700828552, -0.8981313109397888, 0.8369113206863403, -0.8772658109664917, 0.18611209094524384, 0.18091687560081482, 0.03762727975845337, -0.24174010753631592, -0.8149779438972473, -0.6470338702201843, -0.31012439727783203, -0.199666827917099, 0.11329727619886398, -0.021362103521823883, 0.05573076009750366, 0.21014976501464844, 0.29032906889915466, -0.6706154346466064, 0.45082467794418335, -0.14515097439289093, -0.28000208735466003, 0.7640294432640076, 0.24522888660430908, 0.4465143382549286, -0.3779619038105011, -0.5511617660522461, -0.06827956438064575, -1.0084857940673828, -0.09704320877790451, 0.5794081091880798, 0.23156429827213287, -0.010826796293258667, 0.7043270468711853, -0.17759518325328827, 0.8631115555763245, -0.04122740402817726, -0.39124545454978943, -0.13258089125156403, -0.5815637707710266, -0.3948228657245636, 0.03847723454236984, 1.0880838632583618, 0.1293165534734726, 0.2772340774536133, -0.056260015815496445, -0.16209018230438232, -0.04009014740586281, 0.12772008776664734, -0.7733310461044312, 0.050101783126592636, 0.2809404134750366, -0.38417473435401917, -0.36496350169181824, -0.09173953533172607, -0.4888671338558197, -0.45590656995773315, -0.40293970704078674, 0.28619736433029175, -0.1356574296951294, -0.1178981140255928, 0.08249776810407639, 0.13497063517570496, 0.09107399731874466, 0.16895118355751038, -0.7605802416801453, 0.06603354960680008, 0.6846671104431152, 0.5830637216567993, -0.4498577415943146, -0.09229446202516556, -0.5460536479949951, 0.13741837441921234, -0.38479486107826233, 0.4885799288749695, -0.1134427860379219, -0.046450261026620865, 0.3632950186729431, -0.35346493124961853, -0.2779613733291626, -0.5790289044380188, 0.5489922761917114, -0.5597930550575256, 0.45473915338516235, 0.06728273630142212, -0.6218521595001221, -0.04778062924742699, 0.05587265267968178, -0.6980991959571838, 0.9447060823440552, -0.24353273212909698, -0.8625900745391846, 0.6931915879249573, -0.3057165741920471, -0.48005515336990356, 0.11883444339036942, -0.36984124779701233, -0.7081655263900757, -0.10426382720470428, 0.13112208247184753, 0.9998437762260437, -0.43081995844841003, 1.0322847366333008, -0.05378216877579689, -0.04251914098858833, 0.45063063502311707, -0.489581435918808, 0.6288633346557617, 0.21041768789291382, -0.5907663106918335, 0.15016505122184753, -0.9467940926551819, -0.24260197579860687, -0.04806270822882652, -0.13890592753887177, -0.2370469868183136, 0.07659220695495605, 0.25539639592170715, 0.6178223490715027, 0.05169718712568283, -0.34113383293151855, -0.3333797752857208, -0.43741530179977417, 0.3449154794216156, 0.559592604637146, 0.26725220680236816, 0.20518532395362854, -0.24142135679721832, 0.3609164357185364, 0.04075495898723602, -0.1364278942346573, -0.48210403323173523, -0.6055607795715332, -0.8825011849403381, -0.32219165563583374, 0.3659130334854126, 0.4543621242046356, -0.7729749083518982, 0.48864099383354187, -0.22312544286251068, -0.2653404176235199, -0.2143726348876953, 0.15933625400066376, 0.5900804400444031, 0.48490041494369507, 0.03764262795448303, -0.15980537235736847, -0.5377911329269409, -0.8709944486618042, -0.43856102228164673, -0.20438864827156067, -0.057393670082092285, 0.2225084900856018, 0.4682742953300476, -0.1593811959028244, 1.015785813331604, -0.3828464150428772, -0.07889601588249207, -0.3352946639060974, 0.27408623695373535, 0.027536679059267044, 0.5189417004585266, 0.24742749333381653, -0.7706591486930847, -0.4154255986213684, -0.08731354773044586, -1.008611798286438, -0.28827834129333496, -0.5862160325050354, -0.074569471180439, 0.49828794598579407, 0.7384029030799866, -0.5624238848686218, 0.37482139468193054, 0.6123272776603699, -0.3691864311695099, 0.6616623997688293, -0.05937042459845543, 0.04100704565644264, -1.3592069149017334, 0.3747256100177765, -0.11426869034767151, -0.47869813442230225, -0.9597495198249817, 0.067070871591568, -0.08303917944431305, -0.2734871208667755, -0.4179416000843048, 0.620448648929596, -0.7021691799163818, 0.049132075160741806, -0.29719141125679016, 0.26253730058670044, -0.05473899468779564, 0.47417008876800537, -0.012874712236225605, 0.489990234375, 0.3289858400821686, -0.5426571369171143, 0.03680222108960152, -0.07517014443874359, -0.5395079255104065, 0.15578106045722961, -0.4973911643028259, -0.02006160095334053, -0.09628009051084518, 0.07004982978105545, -1.1255336999893188, -0.3449135720729828, 0.13284827768802643, -0.2715965509414673, 0.48449793457984924, 0.37157824635505676, -0.7689894437789917, -0.2449951022863388, -0.058552250266075134, 0.2927740812301636, 0.5139402151107788, -0.3481282889842987, 0.22908706963062286, 0.17698657512664795, -0.3932645618915558, -0.532832682132721, -0.5499893426895142, 0.35614362359046936, -0.3227846920490265, -0.6949207186698914, 0.19623741507530212, 0.11290888488292694, -0.39427363872528076, -0.30632728338241577, 0.12625624239444733, 0.1234407126903534, 0.13105736672878265, 0.3268123269081116, 0.21746821701526642, -0.20212684571743011, 0.06750228255987167, 0.21686430275440216, -0.13525690138339996, 0.1443217694759369, -0.26850196719169617, 0.502740740776062, 0.5014854073524475, -0.2194989174604416, -0.27884531021118164, 0.4352814853191376, 0.3526455760002136, -0.05752796307206154, 0.9964438080787659, 0.6485458016395569, -0.33929815888404846, -0.31535837054252625, -0.7152731418609619, -0.15566948056221008, -0.3936735987663269, 0.2048850804567337, -0.06661549210548401, -1.1355007886886597, 0.4242602288722992, 0.0383489727973938, 0.14469078183174133, 0.614700198173523, 0.8278116583824158, 0.15676651895046234, 0.8206282258033752, 0.7097540497779846, 0.14793294668197632, 0.30901452898979187, 0.11963848769664764, 0.44406789541244507, -0.36385390162467957, -0.171214297413826, -0.5082491636276245, 0.1238926351070404, -0.748936116695404, -0.3422612249851227, 0.17670144140720367, 0.3124261796474457, -0.06448589265346527, 0.22394901514053345, -0.24896664917469025, 0.16634662449359894, 0.49840298295021057, -0.03238922730088234, 0.5185291767120361, 0.1372087299823761, -0.1915532946586609, 0.09278412908315659, -0.7623699307441711, -0.8805447816848755, 1.0569406747817993, 0.19659434258937836, 0.33108270168304443, -0.23175695538520813, 0.6806941628456116, 0.2812677323818207, 0.5464886426925659, -0.14157672226428986, 0.6097944974899292, -0.1565178781747818, -0.6243377327919006, -0.2847464680671692, -0.41245442628860474, -0.9706754684448242, 0.21654415130615234, -0.5346752405166626, -0.6253324151039124, -0.016616161912679672, 0.14258460700511932, -0.17311520874500275, 0.16259153187274933, -0.6563869714736938, 0.6342045068740845, 0.04166880249977112, -0.5839373469352722, 0.12870824337005615, -0.8018816113471985, 0.7459637522697449, -0.458059698343277, 0.16631068289279938, 0.06339609622955322, 0.16945020854473114, 0.7162923812866211, -0.3979768753051758, 1.0438507795333862, 0.1705072969198227, -0.45519083738327026, 0.38707369565963745, 0.005408478435128927, 0.5123095512390137, 0.0461890771985054, -0.1640939861536026, 0.305148184299469, -0.46892082691192627, -0.20069868862628937, -0.3175050616264343, 0.8019562363624573, -0.5841328501701355, -0.6287115812301636, -0.1877906322479248, -0.5558907985687256, -0.0031625134870409966, 0.3700683116912842, 0.5875357985496521, 0.5922503471374512, -0.16792476177215576, -0.03859953209757805, 0.5369751453399658, -0.6358145475387573, 0.5597981810569763, 0.2861064672470093, -0.32660242915153503, -0.4546836018562317, 0.7671729922294617, 0.005565502680838108, 0.5311716198921204, 0.6108997464179993, 0.06647416204214096, -0.2860414385795593, -0.6039326786994934, -0.6249948143959045, 0.21692432463169098, -0.496783584356308, -0.23163488507270813, -0.955225944519043, -0.4028014838695526, -0.4697229564189911, -0.2229040414094925, 0.03206204995512962, -0.36796918511390686, -0.3601962625980377, -0.026905309408903122, 0.11409492045640945, 0.7790061235427856, 0.14482975006103516, 0.20601874589920044, -0.5481564998626709, 0.3675898015499115, 0.13461153209209442, -0.031300660222768784, 0.11525970697402954, -0.13171066343784332, -0.3758196532726288, -0.06306784600019455, -0.41068270802497864, -0.8164513111114502, 0.5075057148933411, -0.05644633620977402, 0.31379061937332153, 0.4085712134838104, -0.15626192092895508, 0.3957602083683014, -0.6021929383277893, 1.0898298025131226, 0.31401118636131287, -0.8374823927879333, 0.2758053243160248, -0.5091915726661682, 0.20444363355636597, 0.36603817343711853, 0.2578130066394806, -0.39551830291748047, -0.9592382311820984, -0.5117319822311401, -0.9320361614227295, 0.45493340492248535, 0.7703666090965271, -0.053181957453489304, 0.07695484161376953, 0.347650945186615, 0.49900296330451965, 0.48439955711364746, -0.9555563926696777, -0.3264493942260742, 0.16131368279457092, -0.30607083439826965, -0.46689531207084656, -0.3496977686882019, 0.25696247816085815, 0.24690037965774536, 0.6025115847587585, 0.09740861505270004, 0.103037990629673, 0.26123255491256714, -0.1644088327884674, 0.022551964968442917, 0.2774949073791504, 0.9487597942352295, 0.6102010011672974, 0.07446514815092087, 0.19114886224269867, -0.1344974786043167, -0.5084590315818787, 0.16012997925281525, -0.11877711117267609, -0.46297991275787354, 0.27344363927841187, 0.7037516832351685, 0.8827911019325256, 0.04495512321591377, -0.5969311594963074, 0.48381999135017395, 0.10841604322195053, -0.2636276185512543, 0.013716812245547771, 0.012987479567527771, 0.1479129046201706, -0.04684637486934662, 0.32304292917251587, 0.010030316188931465, 0.042210184037685394, -0.3339709937572479, 0.08826112747192383, 0.3910658061504364, -0.19178810715675354, -0.11880620568990707, 0.840561032295227, 0.1818552315235138, -0.39132562279701233, 0.3646533787250519, -0.10555598884820938, -0.31144577264785767, 0.6381130218505859, 0.797834575176239, 1.160324215888977, 0.054627783596515656, 0.26257121562957764, 0.3925808072090149, 0.40191322565078735, -0.03818677365779877, -0.08088783174753189, -0.10982909053564072, -0.601227343082428, -0.735369086265564, -0.7613798975944519, -0.22812114655971527, 0.41918569803237915, -0.36065924167633057, 0.2104102075099945, 0.01686115935444832, -0.06751593202352524, -0.08835387974977493, -0.09098097681999207, -0.6220669746398926, 0.33348792791366577, 0.056120168417692184, 0.6048251390457153, -0.9539834856987, 0.5334637761116028, 0.31610462069511414, -0.11955786496400833, -0.787656843662262, 0.12888272106647491, -0.279310405254364, -0.5514066219329834, 0.7701616883277893, 0.3514656722545624, -0.05912020429968834, 0.023180624470114708, -0.40330976247787476, -0.5062202215194702, 1.0035429000854492, 0.2569858431816101, -0.5985562205314636, 0.0476723238825798, 0.6576054096221924, 0.8332350254058838, -0.4409027397632599, 0.08915550261735916, 0.23549677431583405, 0.1731424182653427, -0.15644872188568115, -0.6905649900436401, 0.2703509032726288, -0.05169955641031265, 0.26171478629112244, 0.18118247389793396, -0.3597007393836975, 0.7934759259223938, -0.04893452674150467, -0.5719267129898071, 0.3098798990249634, 0.5976935625076294, 0.44856762886047363, 0.5064881443977356, 0.25328660011291504, 0.16888092458248138, 0.5916356444358826, 0.08083953708410263, 1.0508172512054443, -0.42805469036102295, 0.20233389735221863, 0.9402598142623901, -0.440599262714386, 0.6438387036323547, 0.45227736234664917, 0.2009236067533493, 0.47789549827575684, 0.47230806946754456, 0.2181084305047989, 0.19417570531368256, 0.4781849980354309, -0.249591663479805, -0.1753540337085724, -0.03744782507419586, -0.1826860010623932, 0.1353163719177246, -0.01780799962580204, -0.7205761075019836, -0.08007130026817322, 0.23771069943904877, 0.09642314910888672, 0.29786446690559387, -0.2604597806930542, 0.8873694539070129, 0.2549751102924347, -0.9040834307670593, 0.4915637671947479, 0.2614564597606659, 0.5753740072250366, -0.4316163957118988, 0.07337454706430435, -0.26116952300071716, -0.013912307098507881, -0.0435648187994957, -0.40474340319633484, 0.2332628071308136, 0.31717538833618164, -0.2910192012786865, -0.5944193601608276, 1.1355671882629395, -0.622200608253479, -0.6605040431022644, -0.0000055566802075190935, 0.5899546146392822, 0.16886606812477112, 0.08650310337543488, -0.38583093881607056, -0.07528369128704071, -0.014130799099802971, -0.11704987287521362, 0.20827652513980865, 0.35287442803382874, -0.2135361284017563, 0.5984172821044922, 0.7446153163909912, 0.14066016674041748, 0.2916206419467926, 0.0702926442027092, 0.47802990674972534, -0.6306881904602051, -0.43933436274528503, -1.1793042421340942, 0.44042468070983887, -0.10932102054357529, -0.35269641876220703, 1.0434869527816772, 0.7391365170478821, 0.7366534471511841, -0.34346744418144226, 0.6115826368331909, 0.2565268576145172, 0.37834128737449646, -0.9045110940933228, 0.8803126215934753, -0.2308705747127533, 0.2319774180650711, -0.6070062518119812, -0.8582526445388794, -0.5938749313354492, 0.09791500121355057, -0.15247313678264618, 0.005466099828481674, 0.6857814788818359, 0.8066413998603821, 0.20502682030200958, -0.04549381881952286, 0.46609336137771606, 0.2197675108909607, 0.2967844307422638, 0.4349587857723236, 0.8955067992210388, -0.4792321026325226, 0.25817570090293884, 0.14176832139492035, 0.0011273592244833708, -0.15256251394748688, -0.9552980661392212, -1.209382176399231, -0.6934539079666138, -0.24160490930080414, -0.30822911858558655, 0.053611479699611664, 0.5846502184867859, 0.5139959454536438, -0.6283178329467773, -0.327245831489563, -0.47210341691970825, 0.23796430230140686, -0.0967174768447876, -0.27085644006729126, 0.37932753562927246, -0.38392919301986694, -0.6160825490951538, 0.06485241651535034, 0.3771026134490967, -0.0957987979054451, -0.5669535398483276, 0.023009074851870537, -0.16291899979114532, 0.23697230219841003, 0.8453144431114197, -0.12772350013256073, -0.6723387241363525, -0.06452754884958267, -0.039823271334171295, -0.4540521204471588, -0.16936735808849335, 1.0950026512145996, -0.7184653282165527, 0.2910073697566986, 0.5441367626190186, 0.5518345832824707, 0.5140761137008667, -0.14920546114444733, 0.7766000032424927, -0.7632918953895569, -0.12750275433063507, 0.02382562682032585, 0.05108571797609329, 0.47956156730651855, -0.5551878809928894, 0.27275627851486206, 0.16917604207992554, -0.6228005290031433, -1.0139131546020508, 0.3044241964817047, -0.8206579089164734, -0.22353646159172058, 1.344760537147522, -0.002647862071171403, 0.0020976930391043425, -0.23596884310245514, -0.20516669750213623, 0.5294842720031738, -0.008053389377892017, 0.6127321720123291, 0.5885394215583801, 0.05310588702559471, 0.18465858697891235, -0.48156416416168213, 0.604525089263916, 0.38379624485969543, -0.9185196161270142, 0.05903548374772072, 0.4222051203250885, 0.13889776170253754, 0.1317092925310135, 0.6010381579399109, -0.036405518651008606, -0.11109773069620132, -0.1268942505121231, 0.05542637035250664, -0.0280208270996809, -0.3185884356498718, -0.28703755140304565, 0.402519166469574, -0.19502919912338257, 0.09913834929466248 ]
http://arxiv.org/abs/2405.12619v1
http://arxiv.org/pdf/2405.12619v1
MentalQA: An Annotated Arabic Corpus for Questions and Answers of Mental Healthcare
2024-05-21T09:16:38
2024-05-21T09:16:38
Hassan Alhuzali, Ashwag Alasmari, Hamad Alsaleh
cs.CL
cs.CL
Mental health disorders significantly impact people globally, regardless of background, education, or socioeconomic status. However, access to adequate care remains a challenge, particularly for underserved communities with limited resources. Text mining tools offer immense potential to support mental healthcare by assisting professionals in diagnosing and treating patients. This study addresses the scarcity of Arabic mental health resources for developing such tools. We introduce MentalQA, a novel Arabic dataset featuring conversational-style question-and-answer (QA) interactions. To ensure data quality, we conducted a rigorous annotation process using a well-defined schema with quality control measures. Data was collected from a question-answering medical platform. The annotation schema for mental health questions and corresponding answers draws upon existing classification schemes with some modifications. Question types encompass six distinct categories: diagnosis, treatment, anatomy \& physiology, epidemiology, healthy lifestyle, and provider choice. Answer strategies include information provision, direct guidance, and emotional support. Three experienced annotators collaboratively annotated the data to ensure consistency. Our findings demonstrate high inter-annotator agreement, with Fleiss' Kappa of $0.61$ for question types and $0.98$ for answer strategies. In-depth analysis revealed insightful patterns, including variations in question preferences across age groups and a strong correlation between question types and answer strategies. MentalQA offers a valuable foundation for developing Arabic text mining tools capable of supporting mental health professionals and individuals seeking information.
[ -0.7478880286216736, -0.7815814018249512, 0.7286205887794495, 0.03249058127403259, -0.19960741698741913, -0.013760879635810852, 0.13679051399230957, -0.506229817867279, 0.3376407325267792, 0.4803432822227478, -0.7967846989631653, -0.7555897235870361, -0.7768954634666443, 0.17331847548484802, -0.24522003531455994, 1.254044532775879, -0.18333084881305695, 0.05795690789818764, -0.08112746477127075, -0.27800992131233215, -0.26378631591796875, -0.6906978487968445, -0.7591574788093567, -0.018810482695698738, 0.6346153020858765, 0.4435512125492096, 1.136286735534668, -0.06563543528318405, 0.29630935192108154, 0.19150970876216888, 0.09899100661277771, 0.5420690774917603, 0.08728239685297012, 0.1253882497549057, -0.05481909587979317, -0.23543289303779602, -0.31098029017448425, -0.19071944057941437, 0.019777411594986916, 0.3252342641353607, -0.3344942331314087, 0.6189829111099243, -0.2719895839691162, 0.6000965237617493, -0.5642232894897461, 0.03291160985827446, -0.22627390921115875, 0.1945764571428299, -0.4997812807559967, 0.027613060548901558, 0.3495561480522156, -0.573924720287323, -0.04962575063109398, -0.46821078658103943, -0.09258650243282318, -0.1641083061695099, 0.7195446491241455, 0.6120404601097107, -0.5919000506401062, -0.48649153113365173, -0.5183115601539612, 0.3823094069957733, -0.48902595043182373, 0.0005541733698919415, 0.9334512948989868, 0.4713737964630127, -0.09209026396274567, -0.5320199131965637, -0.6832236647605896, 0.2704944312572479, -0.27409231662750244, 0.021939292550086975, -0.23501494526863098, 0.040108900517225266, 0.2840268611907959, 0.3655233383178711, -0.41013526916503906, -0.5426986813545227, -0.21236053109169006, -0.352571040391922, 0.5972177386283875, 0.30576056241989136, 0.8467200994491577, -0.2084452211856842, 0.1807301938533783, 0.33907967805862427, -0.3793030083179474, 0.32823631167411804, 0.0012664883397519588, -0.07563339173793793, -0.04250895977020264, 0.8500112295150757, -0.35334211587905884, 0.22211965918540955, -0.09448525309562683, -0.16547754406929016, -0.11871210485696793, -0.057146113365888596, 0.03414640575647354, 0.22765040397644043, 0.4852510690689087, 0.48102298378944397, 0.28547173738479614, -0.10776521265506744, -0.01759631186723709, -0.08631236106157303, 0.4799688458442688, -0.8814627528190613, -0.3870285451412201, 0.6332914233207703, -0.44500231742858887, 0.3440702557563782, -0.12508127093315125, -0.5179142355918884, -0.5964391231536865, -0.1352224498987198, 0.32488590478897095, -0.6583952903747559, -0.2124582827091217, 0.06761916726827621, 0.02086375094950199, 0.022931551560759544, 0.3544461131095886, -0.7798529267311096, 0.40932631492614746, 0.411626398563385, 0.7208571434020996, 0.3036835193634033, 0.3489128649234772, -0.21992509067058563, -0.033369433134794235, -0.35598811507225037, 0.6376675963401794, -0.4754501283168793, -0.33582058548927307, 0.3487618863582611, -0.15637074410915375, 0.16748890280723572, -0.6273642778396606, 0.7748571634292603, -0.4920876920223236, 0.20429342985153198, -0.6623032689094543, -0.2908649146556854, -0.40614020824432373, 0.1269647628068924, -0.6952637434005737, 1.021672248840332, 0.5220562815666199, -1.2089626789093018, 0.15196342766284943, -0.708732008934021, -0.2649874985218048, 0.4383585453033447, -0.448433518409729, -0.14979104697704315, -0.06176353245973587, 0.6705344915390015, 0.31604892015457153, -0.31769251823425293, 0.09041093289852142, -0.10934771597385406, -0.5193594098091125, 0.7039709091186523, -0.17685449123382568, 0.7900972366333008, 0.248976930975914, -0.27539193630218506, 0.0783287063241005, -0.6680749654769897, 0.271150141954422, 0.033236224204301834, -0.0856751799583435, -0.3924662172794342, 0.033537738025188446, 0.34022215008735657, 0.5375886559486389, 0.22835657000541687, -0.5571275353431702, 0.0012955573620274663, -0.330780565738678, 0.21255849301815033, 0.21959899365901947, 0.5464173555374146, -0.2553192675113678, -0.8498867750167847, 0.7477313876152039, 0.022596847265958786, 0.11863871663808823, 0.2366112619638443, -0.6421158313751221, -0.5358790755271912, -0.6801427602767944, -0.02576739713549614, 0.7190753221511841, -0.8921442627906799, 0.28708595037460327, 0.07893508672714233, -0.6773772239685059, -1.1229784488677979, -0.02530481293797493, 0.11997124552726746, 0.2825520634651184, 0.6990556716918945, -0.10696408897638321, -0.5389858484268188, -0.9504255652427673, -0.06575284153223038, -0.23207290470600128, -0.05881546810269356, 0.35896891355514526, 0.43789544701576233, -0.5446744561195374, 0.9074206352233887, -0.5050140023231506, -0.3156976103782654, 0.024287588894367218, 0.22553586959838867, 0.05357116460800171, 0.08473247289657593, 0.3502523601055145, -0.6852622032165527, -0.3921828269958496, -0.0644121766090393, -0.5861063003540039, -0.24433067440986633, 0.060956522822380066, -0.44666287302970886, 0.025062933564186096, -0.06527536362409592, -0.6976264715194702, 0.5054367780685425, 0.1571301966905594, -0.37093672156333923, 0.5022754073143005, 0.16590352356433868, 0.26099780201911926, -1.0321637392044067, 0.1782025545835495, -0.06314452737569809, -0.0628075823187828, -0.46546751260757446, -0.09995998442173004, -0.12914694845676422, -0.08431548625230789, -0.18901918828487396, 0.4135512113571167, 0.2008441835641861, 0.5132850408554077, -0.22542446851730347, -0.2101668417453766, -0.2655377686023712, 0.2531055212020874, -0.2466256320476532, 1.0640876293182373, 0.17447039484977722, -0.1794888824224472, 0.23043395578861237, 0.6137259602546692, -0.2953316271305084, 0.7844613790512085, -0.429969847202301, 0.1967548280954361, -0.2705840468406677, 0.06294246762990952, -0.7938417792320251, -0.289313405752182, 0.6438682079315186, -0.4572978913784027, -0.2146756500005722, 0.20626430213451385, -0.509834885597229, -0.12522776424884796, -0.13067921996116638, 0.42323970794677734, 0.11412104964256287, -0.02049797587096691, 0.21473774313926697, 0.673163652420044, -0.7059469819068909, -0.6936073303222656, -0.2779691815376282, 0.041768550872802734, -0.3857201933860779, -0.2266240119934082, 0.33026066422462463, -0.07452152669429779, -0.4603062570095062, 0.16313517093658447, -0.23864617943763733, -0.37844792008399963, 0.21468225121498108, 0.6905676126480103, 0.13138070702552795, -0.08594724535942078, 0.5803823471069336, 0.3780403733253479, 0.08701763302087784, 0.49575871229171753, -0.055389244109392166, 0.5563477873802185, -0.18354301154613495, -0.2977699339389801, -0.4147831201553345, 1.0387498140335083, 0.4792569875717163, -0.41348910331726074, 0.8635047078132629, 0.7691193222999573, -0.9747417569160461, 0.18216268718242645, -0.49181175231933594, 0.03819884732365608, -0.3935478925704956, 0.283328652381897, -0.4012705385684967, -0.8871560096740723, 0.4818871021270752, 0.2127842903137207, 0.03427457809448242, 0.5080943703651428, 0.717158854007721, -0.36877959966659546, 1.1793991327285767, 0.38247135281562805, -0.1483796089887619, -0.18397264182567596, 0.1871083378791809, 0.3377322852611542, -0.3890118896961212, -0.2581321895122528, -0.406156986951828, -0.2589035630226135, -0.6791877150535583, -0.2649546265602112, 0.4372413158416748, 0.08339419215917587, -0.5643815994262695, -0.20173120498657227, -0.5154191255569458, -0.20292195677757263, 0.514013409614563, 0.383429616689682, 0.20520085096359253, -0.06580285727977753, -0.27360859513282776, -0.4368700087070465, -0.4370020925998688, -0.9632136821746826, 0.8666058778762817, 0.31991803646087646, 0.36241236329078674, 0.425424724817276, 0.7164818048477173, 0.6330329775810242, 0.6375746726989746, -0.6574210524559021, 0.3450928330421448, 0.3951036334037781, -0.874051034450531, -0.3887999355792999, -0.15918050706386566, -0.8087526559829712, -0.07793686538934708, -0.47438961267471313, -0.7475060820579529, -0.07151400297880173, -0.30262693762779236, -0.6809923052787781, 0.18456169962882996, -0.054115839302539825, 0.551098644733429, -0.22716012597084045, 0.17880581319332123, -0.1156344935297966, -0.6105569005012512, 0.25033438205718994, -0.37533676624298096, 0.2617095112800598, -0.49901220202445984, 0.009034496732056141, 0.9269415140151978, -0.5876579880714417, 0.3644973039627075, -0.07381453365087509, -0.08506446331739426, 0.4017295241355896, -0.034409403800964355, -0.35226765275001526, 0.5614126324653625, 0.09717783331871033, -0.02614833228290081, 0.8799785375595093, -0.5700512528419495, -0.7058315873146057, 0.2531771659851074, -1.098433494567871, -0.6979376077651978, -0.7090350985527039, -0.6382702589035034, -0.6148881316184998, 0.12659992277622223, 0.03057662397623062, 0.22414357960224152, 0.05429661646485329, -0.2991577386856079, 0.38303038477897644, -0.34740719199180603, -0.10162904113531113, 0.3746357262134552, -0.3326675295829773, -0.4505566656589508, 0.6280776858329773, 0.2597280740737915, -0.4544145464897156, 0.20148436725139618, -0.16873596608638763, -0.3493163287639618, -0.3604593276977539, -0.49019497632980347, 0.44842132925987244, -0.6519798040390015, -0.22544905543327332, -0.6347287893295288, -0.752355694770813, -0.22157856822013855, 0.13188327848911285, 0.20070676505565643, -0.3763998746871948, -0.1687643975019455, -0.2825758755207062, 0.7529717087745667, 0.5074077844619751, 0.15255343914031982, 0.2225293070077896, -0.8579043745994568, 0.27590519189834595, 0.37026822566986084, 0.19012145698070526, 0.0368986539542675, -0.0864773616194725, -0.365183562040329, 0.11572933197021484, -0.2988876402378082, -1.4286104440689087, 0.3314329981803894, 0.17257682979106903, 0.22650006413459778, 0.5256100296974182, 0.6461795568466187, 0.7703638672828674, -0.3031599819660187, 0.5602562427520752, -0.06608450412750244, -0.7389142513275146, 0.5775466561317444, -0.1543715000152588, 0.27957847714424133, 0.7755594849586487, 1.1260160207748413, -1.0966309309005737, -0.26468563079833984, -0.5018265843391418, -0.8107534050941467, 0.5041407346725464, 0.2739253044128418, 0.05414104834198952, -0.3571253716945648, 0.676461935043335, 0.16801226139068604, 0.2917971909046173, -0.17988836765289307, -0.5128290057182312, -0.31225335597991943, -0.6667685508728027, 0.18380357325077057, -0.36901992559432983, -0.5460436940193176, -0.23490352928638458, 0.6544515490531921, -0.06204984709620476, 0.4456997811794281, 0.5782883763313293, -0.04542692005634308, -0.08343727886676788, 0.48220834136009216, 0.07786323875188828, 0.631942629814148, -0.4168647229671478, 0.1388280987739563, 0.22505703568458557, -0.6495787501335144, 0.30806899070739746, 0.4397943317890167, -0.1510586142539978, 0.06480918079614639, 0.051248662173748016, 0.38296663761138916, -0.30563274025917053, -1.1311265230178833, 0.16695034503936768, -0.23352228105068207, -0.12504084408283234, -0.5528649687767029, 0.10455619543790817, 0.09737879782915115, 0.3482978343963623, 0.5530413389205933, -0.42328089475631714, 0.43917104601860046, -0.41277825832366943, 0.39794373512268066, 0.41595587134361267, -0.7756282687187195, -0.0791483074426651, 0.3438552916049957, -0.1321459263563156, -0.4402067959308624, 0.7505958080291748, -0.06302817165851593, -0.3635881841182709, 0.2472989559173584, 0.3011931777000427, 0.39380943775177, 0.08495134860277176, 0.6140209436416626, 0.14827026426792145, 0.21724174916744232, 0.5251070857048035, 0.9595794081687927, -0.1941329389810562, -0.5170642137527466, -0.03390852361917496, -0.5202913284301758, -0.7346018552780151, 0.24871571362018585, -0.8255454897880554, -0.11657878756523132, -0.5789842009544373, -0.6818764805793762, -0.11349109560251236, 0.5367255806922913, -0.6769081950187683, 0.6855099201202393, 0.4198951721191406, 0.8050364255905151, -0.49613022804260254, 0.6333236694335938, 1.1479904651641846, -0.6209763288497925, -0.6314946413040161, 0.16612398624420166, 0.06963107734918594, -0.6434479355812073, -0.06647584587335587, 0.2802840769290924, -0.009324162267148495, -0.13887257874011993, -0.26521584391593933, -0.8380830883979797, 0.9135487079620361, 0.027522683143615723, -0.0075893644243478775, -0.022817447781562805, 0.396142840385437, 0.49860337376594543, -0.15902212262153625, 0.5667847394943237, 0.6372339129447937, 0.40343189239501953, -0.22909723222255707, -0.5308302640914917, 0.30557483434677124, -0.6980931162834167, -0.21231816709041595, 0.12048058956861496, -0.3386856019496918, 0.5360603332519531, -0.19870802760124207, -0.5522172451019287, 0.3054271936416626, 0.6584998965263367, 0.35310009121894836, 0.37042027711868286, 0.2615576386451721, 0.6097806096076965, 1.1730642318725586, -0.04946981742978096, 0.6691654324531555, -0.5615320205688477, -0.04451500251889229, 0.8055547475814819, -0.1702638417482376, 0.8005905151367188, 0.1952250748872757, -0.4006766676902771, 0.6722016930580139, 0.948752760887146, 0.40931063890457153, 0.32478001713752747, 0.40473172068595886, -0.6503980159759521, -0.2390632927417755, -0.625881016254425, -0.47453227639198303, 0.218805193901062, 0.6398887038230896, 0.03410087898373604, -0.013196890242397785, -0.08514849841594696, 0.3715466558933258, 0.13778698444366455, -0.11515446752309799, 0.5210152268409729, 0.13077892363071442, -0.411266028881073, 0.3312576711177826, 0.37940898537635803, 0.2063465416431427, -0.5468266606330872, -0.015777744352817535, -0.21157623827457428, -0.23056332767009735, -0.3075898289680481, -0.8231635093688965, 0.4844851791858673, 0.06891795247793198, -0.24026550352573395, 0.3157830536365509, 0.6685275435447693, -0.3329960107803345, -0.7121037840843201, -0.1511410027742386, 0.869929850101471, 0.21366769075393677, -0.3695492148399353, -0.6320706605911255, -0.3999803960323334, -0.2922315001487732, 0.3163495361804962, 0.3440462052822113, 0.6392740607261658, -0.5023044347763062, 0.6045350432395935, 0.5375016331672668, 0.2156035453081131, -0.20686352252960205, -0.20169903337955475, 0.6599830389022827, -0.7642772793769836, -0.15745890140533447, -0.5834861397743225, 0.28907454013824463, -0.08940213173627853, -0.5688194632530212, 0.6039463877677917, 0.19221997261047363, 0.43504130840301514, 0.19990693032741547, 0.8242884874343872, 0.1311451643705368, 0.7039600014686584, -0.17401672899723053, 1.0793339014053345, -0.585268497467041, -0.2867931127548218, -0.04507334530353546, -0.5087010264396667, -0.24669760465621948, 0.6843416690826416, -0.2354407012462616, -0.13857385516166687, 0.5108235478401184, 0.5701452493667603, 0.5261389017105103, 0.29771316051483154, -0.09498335421085358, 0.0004920369246974587, 0.28620466589927673, 0.6426918506622314, 1.0071864128112793, -0.29877904057502747, 0.1376904398202896, -0.32839566469192505, -0.10973111540079117, 0.04172523319721222, -0.20924857258796692, -0.83352130651474, -0.6149635314941406, -0.33582741022109985, -0.19668914377689362, 0.3563271760940552, 1.4367643594741821, 0.5686613917350769, -0.9746587872505188, -0.002492709783837199, 0.5527061223983765, 0.07625994086265564, -0.38568487763404846, -0.15111003816127777, 0.5148740410804749, -0.0012801431585103273, -0.3075069785118103, -0.28166115283966064, 0.21403224766254425, 0.022827882319688797, -0.1742011457681656, 0.23342305421829224, -0.32372984290122986, 0.42102259397506714, 0.3581761121749878, 0.26138994097709656, -0.7582104802131653, -0.009738544002175331, -0.020585594698786736, -0.3589109778404236, 0.09990283846855164, 0.38245049118995667, -0.7261092066764832, 0.21223163604736328, -0.22826933860778809, 1.0274293422698975, 0.09188671410083771, 0.11768272519111633, 0.16330590844154358, -0.38978463411331177, -0.16542132198810577, 0.5139232873916626, 0.288043737411499, 0.22797521948814392, -0.48660722374916077, 0.162923201918602, -0.1097874715924263, -0.37769386172294617, -0.30563145875930786, 0.043895430862903595, -0.7160536050796509, -0.13901810348033905, 0.7535231113433838, -0.18679127097129822, 0.058845724910497665, -0.6565228700637817, -0.9337905645370483, 0.38961687684059143, -0.4304850101470947, 1.2352269887924194, 1.0211818218231201, -0.24649548530578613, -0.35953935980796814, -0.5972384810447693, 0.7437394261360168, 0.6052071452140808, -0.9013802409172058, -0.47206470370292664, 0.27911970019340515, 0.0021948718931525946, -0.23822635412216187, 0.8628790378570557, -0.06748189777135849, 0.4546625018119812, -0.4314518868923187, 0.016457505524158478, 0.18418169021606445, -0.002678664866834879, 0.0027134499978274107, 0.3317621350288391, 0.25461286306381226, 0.03114362247288227 ]
http://arxiv.org/abs/2405.12617v1
http://arxiv.org/pdf/2405.12617v1
Quantifying Emergence in Large Language Models
2024-05-21T09:12:20
2024-05-21T09:12:20
Hang Chen, Xinyu Yang, Jiaying Zhu, Wenya Wang
cs.CL
cs.CL, cs.AI
Emergence, broadly conceptualized as the ``intelligent'' behaviors of LLMs, has recently been studied and proved challenging to quantify due to the lack of a measurable definition. Most commonly, it has been estimated statistically through model performances across extensive datasets and tasks, which consumes significant resources. In addition, such estimation is difficult to interpret and may not accurately reflect the models' intrinsic emergence. In this work, we propose a quantifiable solution for estimating emergence. Inspired by emergentism in dynamics, we quantify the strength of emergence by comparing the entropy reduction of the macroscopic (semantic) level with that of the microscopic (token) level, both of which are derived from the representations within the transformer block. Using a low-cost estimator, our quantification method demonstrates consistent behaviors across a suite of LMs (GPT-2, GEMMA, etc.) under both in-context learning (ICL) and natural sentences. Empirical results show that (1) our method gives consistent measurements which align with existing observations based on performance metrics, validating the effectiveness of our emergence quantification; (2) our proposed metric uncovers novel emergence patterns such as the correlations between the variance of our metric and the number of ``shots'' in ICL, which further suggests a new way of interpreting hallucinations in LLMs; (3) we offer a potential solution towards estimating the emergence of larger and closed-resource LMs via smaller LMs like GPT-2. Our codes are available at: https://github.com/Zodiark-ch/Emergence-of-LLMs/.
[ -0.23601679503917694, -1.0319210290908813, 0.6790390014648438, 0.26244306564331055, -0.22425466775894165, 0.23463863134384155, -0.4701695442199707, -0.5212754607200623, 0.14182282984256744, -0.0007541186059825122, -0.46067506074905396, -0.22180698812007904, -0.5938425660133362, 0.17903244495391846, -0.44877296686172485, 0.7852650880813599, 0.3920081555843353, -0.2123766541481018, -0.41048669815063477, 0.23371754586696625, -0.2511788308620453, -0.0778813585639, -0.7256354093551636, -0.3008021414279938, 0.5086863040924072, 0.07765257358551025, 0.5100067257881165, 0.534784197807312, 0.4062589704990387, 0.33897486329078674, -0.41523346304893494, 0.40444955229759216, -0.3279109597206116, 0.1774837225675583, -0.07691771537065506, -0.4523226022720337, -0.17774619162082672, -0.1995866447687149, 0.9126603007316589, 0.5896154642105103, -0.22843796014785767, 0.2649655342102051, 0.37634968757629395, 0.2950241267681122, -0.42463141679763794, 0.17518968880176544, -0.8505111336708069, 0.21187572181224823, -0.14214977622032166, -0.28259924054145813, -0.496759831905365, -0.1969897747039795, 0.1262155920267105, -0.2716526389122009, -0.12689349055290222, -0.008641451597213745, 0.5576279759407043, 0.2186596840620041, -0.24128448963165283, -0.3274470269680023, -1.0911084413528442, 0.7445576786994934, -0.628883957862854, 0.360836923122406, -0.03884655237197876, 0.05571116507053375, -0.39435333013534546, -0.8797171711921692, -0.6132915616035461, -0.3828313946723938, -0.031672153621912, -0.08525726944208145, -0.3806546926498413, -0.20409704744815826, 0.14503276348114014, 0.2508541941642761, -0.5186935067176819, 0.40773069858551025, -0.18999210000038147, -0.07807368785142899, 0.3266201913356781, 0.36389970779418945, 0.5656086802482605, -0.0799606516957283, -0.40658894181251526, 0.1080036535859108, -0.542935311794281, 0.16007442772388458, 0.1419314444065094, 0.2431948333978653, -0.19985385239124298, 0.3818458616733551, 0.23774172365665436, 0.4130038619041443, 0.030413394793868065, -0.3768308758735657, 0.06374721974134445, -0.2554672062397003, -0.11040171980857849, 0.10644069314002991, 0.8693174123764038, -0.12499025464057922, 0.22586418688297272, -0.23426739871501923, -0.33301207423210144, -0.20472964644432068, 0.21535249054431915, -0.8539367318153381, -0.24107185006141663, 0.14044125378131866, -0.26554811000823975, -0.3110719919204712, 0.18176598846912384, -0.7273896336555481, -0.6634719967842102, -0.2009153813123703, 0.5641931891441345, -0.5925487279891968, -0.5406247973442078, -0.19853299856185913, 0.07310669124126434, 0.5679309964179993, 0.06226405128836632, -0.8063477873802185, 0.27955979108810425, 0.788021981716156, 1.144624948501587, -0.27795466780662537, -0.2074286788702011, -0.20203794538974762, -0.05417861044406891, -0.5012130737304688, 0.7442542910575867, -0.24906089901924133, -0.23402370512485504, -0.17204952239990234, -0.08926137536764145, -0.0016409342642873526, -0.7404342293739319, 0.14406311511993408, -0.5318254828453064, -0.06981808692216873, 0.1028592512011528, -0.7764142155647278, -0.001126716728322208, 0.14978161454200745, -0.5027824640274048, 1.0052080154418945, 0.030038747936487198, -0.5723786354064941, 0.4093785285949707, -0.7540607452392578, -0.32065412402153015, 0.44518718123435974, -0.3336520195007324, -0.33453336358070374, 0.448702335357666, -0.07176554203033447, 0.44250813126564026, -0.31335926055908203, 0.2768363058567047, -0.14835073053836823, -0.03972036764025688, 0.661624550819397, -0.5934886932373047, 0.9022908210754395, 0.12739475071430206, -0.38869720697402954, 0.04701829329133034, -0.9814075231552124, 0.3135235011577606, 0.2444569319486618, -0.331488698720932, -0.294668972492218, 0.31627464294433594, -0.38728010654449463, -0.002504287287592888, 0.3197503089904785, -0.3175559937953949, 0.17013493180274963, -0.5316210985183716, 0.5127453207969666, 0.7472689747810364, 0.290210485458374, 0.31772080063819885, -0.005467727314680815, 0.3754613399505615, 0.21847324073314667, 0.06552799791097641, -0.13762551546096802, -0.40639975666999817, -0.599819004535675, -0.6504418253898621, 0.054506950080394745, 0.38900551199913025, -0.5608509182929993, 0.7013770937919617, -0.5679371953010559, -0.5429781675338745, -0.14335884153842926, 0.10232985019683838, 0.24338704347610474, 0.21578030288219452, 0.2891985774040222, 0.025188103318214417, -0.42042145133018494, -0.7213853597640991, -0.10793555527925491, -0.16098137199878693, -0.306522935628891, 0.15481308102607727, 0.5926551818847656, -0.27210763096809387, 1.2123632431030273, -0.3435102105140686, 0.16981588304042816, -0.12729710340499878, 0.29527565836906433, 0.33227798342704773, 0.4811097979545593, 0.3074868619441986, -0.4551430940628052, -0.32467225193977356, 0.030887888744473457, -0.9095858931541443, -0.05585840344429016, -0.015366781502962112, 0.20335842669010162, 0.0985390916466713, 0.6236239075660706, -0.533534049987793, 0.055281415581703186, 0.5143492817878723, -0.2899917960166931, 0.6130273938179016, -0.2386476993560791, -0.28171566128730774, -1.1573200225830078, -0.15603971481323242, -0.023759331554174423, -0.006396702490746975, -0.8155826926231384, 0.2049376368522644, 0.017827941104769707, 0.25271841883659363, -0.5094878673553467, 0.35454261302948, -0.46753501892089844, -0.2480299472808838, -0.06308872252702713, 0.22184860706329346, -0.26306647062301636, 0.39491182565689087, -0.11444642394781113, 0.7998582124710083, 0.5787146091461182, -0.7307473421096802, 0.16317075490951538, -0.20734450221061707, -0.8237584233283997, 0.24746400117874146, -0.6976444721221924, 0.0983474925160408, -0.15136754512786865, 0.0956600233912468, -0.8695802092552185, -0.22396965324878693, 0.20180629193782806, -0.38825592398643494, 0.2886485755443573, -0.1590137630701065, -0.7394662499427795, -0.1978524625301361, -0.007869333028793335, 0.4986412823200226, 0.6034819483757019, -0.5368805527687073, 0.7316902875900269, 0.13000021874904633, -0.08247358351945877, -0.20948219299316406, -0.41002845764160156, 0.2203376442193985, -0.5170368552207947, -0.5239696502685547, 0.1301897019147873, -0.04397101327776909, -0.5537554025650024, -0.18605907261371613, 0.10209234058856964, 0.0070133088156580925, 0.32514405250549316, 0.10972309112548828, 0.09500602632761002, -0.38299354910850525, 0.29893985390663147, 0.003175310790538788, 0.044550132006406784, 0.40363749861717224, -0.6899040341377258, 0.74542236328125, -0.33368980884552, -0.23546525835990906, -0.23985907435417175, -0.23748691380023956, 0.8559932708740234, -0.21644140779972076, 0.9922555685043335, 0.7019235491752625, -0.4810188412666321, -0.5703141093254089, -0.14905020594596863, -0.11413104087114334, -0.5021705031394958, 0.5245183706283569, -0.23175938427448273, -0.585838794708252, 0.7913286685943604, -0.10642038285732269, -0.20135468244552612, 0.4095044434070587, 0.6521826386451721, -0.005217467434704304, 0.8187320828437805, 0.43666738271713257, 0.32808029651641846, 0.5098865628242493, -0.39159300923347473, 0.31889599561691284, -0.8909783959388733, -0.5327314734458923, -0.11731724441051483, -0.2524838149547577, -0.609863817691803, -0.4411970376968384, 0.7958381772041321, 0.2980128824710846, -0.17092429101467133, 0.060276586562395096, -0.20157185196876526, 0.4456433951854706, 0.29684528708457947, 0.20379863679409027, 0.24415470659732819, -0.015470359474420547, -0.13686351478099823, 0.03600412607192993, -0.5758944153785706, -0.4768545627593994, 0.885201096534729, 0.3353174328804016, 0.62300705909729, 0.6021696329116821, 0.5429511666297913, 0.24969294667243958, 0.20704211294651031, -0.9279783368110657, 0.6157310605049133, 0.08509670943021774, -0.20111624896526337, -0.6491520404815674, -0.6263868808746338, -1.1190048456192017, 0.189286008477211, -0.30043649673461914, -1.2089389562606812, 0.04101233929395676, -0.057776227593421936, -0.6079999804496765, 0.3829529583454132, -0.4282885193824768, 0.5786515474319458, -0.33892205357551575, -0.34874629974365234, -0.19365093111991882, -0.44578585028648376, 0.5087109804153442, -0.3572864830493927, 0.24600949883460999, -0.18318913877010345, -0.22719262540340424, 0.7740379571914673, -0.4208509922027588, 0.9438638091087341, -0.027317017316818237, -0.61576908826828, 0.5656309127807617, 0.24271191656589508, 0.5896798968315125, 0.10207464545965195, 0.3098395764827728, 0.1318027228116989, -0.0013756458647549152, -0.11264070123434067, -0.8776954412460327, 0.4979029595851898, -0.6711038947105408, -0.3235207498073578, -0.040604349225759506, -0.4662529528141022, -0.19025658071041107, 0.07435724139213562, 0.2502889335155487, 0.6202980875968933, -0.21200168132781982, 0.31163108348846436, 0.8434668779373169, -0.3889787495136261, 0.7340318560600281, 0.6082693338394165, -0.28289636969566345, -0.2911304235458374, 1.1340036392211914, 0.33136701583862305, 0.39440998435020447, 0.4543677270412445, 0.5232058167457581, -0.18801450729370117, -0.5860947966575623, -0.13891467452049255, -0.022687148302793503, -0.4552992582321167, -0.06538890302181244, -0.6126407980918884, -0.4815627336502075, -0.049109019339084625, 0.16913670301437378, -0.3164360523223877, -0.08482218533754349, -0.3402813971042633, -0.03221381828188896, 0.317787766456604, 0.726000964641571, -0.12495222687721252, 0.36319413781166077, -0.7940280437469482, -0.16931214928627014, 0.42860332131385803, 0.243925079703331, 0.4388718008995056, -0.829204797744751, -0.5773733258247375, 0.06324884295463562, -0.1810411959886551, -0.6101564168930054, 0.426593542098999, 0.43370792269706726, 0.4554930627346039, 0.9553846716880798, -0.06377523392438889, 0.5460415482521057, -0.6037964224815369, 0.9467606544494629, 0.1849985420703888, -0.8736988306045532, 0.5600882172584534, -0.3514203429222107, 0.18667098879814148, 0.044697925448417664, 0.3387496769428253, -0.16826698184013367, -0.5434316396713257, -0.7353513836860657, -0.8888035416603088, 0.24483387172222137, 0.1704424023628235, 0.2261490523815155, -0.26743894815444946, 0.26606321334838867, -0.047822948545217514, 0.04904557764530182, -0.8102423548698425, -0.0614408515393734, 0.33705928921699524, -0.12933754920959473, -0.121456079185009, -0.35486555099487305, 0.03629060834646225, -0.37075915932655334, 0.29361817240715027, -0.04171965643763542, 0.280477911233902, -0.1015615463256836, -0.3263852298259735, -0.024289852008223534, 0.16489218175411224, 0.7482786774635315, 0.6954215168952942, -0.12753990292549133, 0.4423474371433258, 0.0945715680718422, -0.4867461323738098, 0.2366861253976822, -0.39108002185821533, -0.1809864640235901, -0.10475985705852509, 0.7793185114860535, 0.6259331107139587, 0.4221799969673157, -0.8606406450271606, 0.4498620629310608, 0.22612856328487396, -0.015549710020422935, -0.6131998896598816, 0.15638437867164612, -0.0966433435678482, 0.6597625017166138, 0.5180873870849609, -0.1389688402414322, -0.07462634891271591, -0.5886799097061157, 0.22981581091880798, 0.5777620077133179, -0.3606967329978943, -0.547727644443512, 0.3687324523925781, -0.013467960059642792, -0.5027892589569092, 0.5968717932701111, -0.5197237133979797, -0.3723624646663666, 0.7342859506607056, 0.805647075176239, 1.1645148992538452, 0.028892965987324715, 0.09472442418336868, 0.35575413703918457, 0.47261616587638855, -0.13121594488620758, -0.19876866042613983, 0.06746220588684082, -1.0941879749298096, -0.40719398856163025, -0.7928712368011475, 0.07057120651006699, 0.236952543258667, -0.5563986897468567, -0.01072431355714798, -0.38781824707984924, -0.15048204362392426, 0.01111780945211649, -0.06460047513246536, -0.4000368118286133, -0.1673114001750946, 0.30429044365882874, 0.7353729605674744, -0.8268945813179016, 0.630023717880249, 0.3889174163341522, -0.333239883184433, -0.6408084034919739, 0.18853233754634857, -0.025721723213791847, -0.8732016682624817, 0.6081117391586304, 0.02212047390639782, -0.26615259051322937, 0.38966184854507446, -0.688987672328949, -1.0370911359786987, 1.3134536743164062, 0.2020491063594818, -0.3755917251110077, 0.21500732004642487, -0.12563814222812653, 0.6857628226280212, -0.4048684239387512, 0.12012194097042084, 0.5962337851524353, 0.33300891518592834, -0.12611962854862213, -0.4858090281486511, -0.027103392407298088, 0.045931264758110046, 0.03783322125673294, 0.34027230739593506, -0.3654745817184448, 0.6835678219795227, -0.43642231822013855, -0.59288090467453, 0.18461383879184723, 0.7913200259208679, -0.033804234117269516, 0.11464257538318634, 0.5223966836929321, 0.4689922630786896, 0.9875158071517944, 0.02807530388236046, 0.8241214752197266, -0.6069504618644714, 0.4332968592643738, 1.1075516939163208, 0.03223549202084541, 0.8640225529670715, 0.4715811610221863, -0.48579591512680054, 0.6113541722297668, 0.558185338973999, -0.0938938781619072, 0.36691245436668396, 0.4744528830051422, -0.4765251576900482, -0.11680054664611816, -0.09099145233631134, 0.09033326804637909, 0.46410268545150757, 0.5882228016853333, -0.3736598789691925, 0.03365424647927284, 0.030607324093580246, 0.010908911935985088, -0.19354376196861267, -0.36121809482574463, 1.085522174835205, 0.112608902156353, -0.31890445947647095, 0.5042777061462402, -0.11579877883195877, 0.4301215410232544, -0.5304960012435913, 0.19203634560108185, -0.25779449939727783, -0.017988981679081917, -0.11699287593364716, -0.7472062110900879, 0.09522227942943573, -0.01079073641449213, -0.16201795637607574, 0.08369769901037216, 0.2853943407535553, -0.46301645040512085, -0.6507863998413086, 0.18511904776096344, 0.8223918080329895, 0.28647246956825256, 0.2574116885662079, -0.14434628188610077, -0.11553246527910233, -0.33724603056907654, -0.21788743138313293, 0.4339737296104431, 0.7386199235916138, -0.024294760078191757, 0.7372737526893616, 0.43644025921821594, 0.07991348952054977, 0.22642089426517487, -0.08898700028657913, 0.47411105036735535, -0.3664480745792389, -0.23460209369659424, -1.5029346942901611, 0.43613746762275696, 0.052701517939567566, -0.38487932085990906, 0.6481552124023438, 0.35478904843330383, 0.4988607168197632, 0.004853673279285431, 0.4989953637123108, -0.23823726177215576, 0.034553997218608856, -0.6311324834823608, 0.6084376573562622, -0.5012037754058838, 0.4306422770023346, -0.16869443655014038, -1.0857962369918823, -0.06201636791229248, 0.357098788022995, 0.02398568019270897, -0.12353826314210892, 0.7202951908111572, 0.8984631299972534, 0.0674050822854042, -0.33692148327827454, 0.4084119498729706, 0.6092061996459961, 0.11867356300354004, 0.2703796327114105, 1.0652270317077637, 0.06949759274721146, 0.3619164526462555, 0.05321978032588959, -0.4163419008255005, -0.09901414066553116, -0.9739527702331543, -0.5170727968215942, -0.519461989402771, -0.2631804943084717, -0.4119068682193756, -0.2125716507434845, 1.2180594205856323, 0.30181390047073364, -0.6668733358383179, -0.2690754234790802, -0.20918957889080048, 0.21682265400886536, -0.5255402326583862, -0.3128816485404968, 0.35932084918022156, -0.5970024466514587, -0.49804794788360596, 0.4713396728038788, 0.305768221616745, 0.19493800401687622, -0.5707328915596008, -0.10996738821268082, 0.005034351721405983, 0.34987887740135193, 0.8718606233596802, 0.3146028518676758, -0.7513490915298462, -0.42883428931236267, -0.14715689420700073, -0.03281586617231369, -0.05798542872071266, 0.7343180775642395, -0.5646827220916748, 0.2164478302001953, 0.15190550684928894, 0.6266265511512756, 0.10168322175741196, -0.23243467509746552, 0.4541017711162567, -0.859571635723114, -0.05774249508976936, 0.06971590220928192, 0.24846668541431427, 0.004191076848655939, -0.19582480192184448, 0.4842609763145447, 0.39258843660354614, -0.3686268627643585, -1.0211379528045654, 0.359672486782074, -0.7092040777206421, -0.23879674077033997, 1.2091141939163208, -0.10028468072414398, -0.1179409846663475, 0.19286075234413147, 0.40837404131889343, 0.08823803067207336, -0.13351981341838837, 0.8671618700027466, 0.504376232624054, -0.23893053829669952, -0.19154277443885803, -0.4387184679508209, 0.5147194862365723, -0.10696716606616974, -0.6266761422157288, -0.01558755338191986, 0.31149452924728394, 0.1693599671125412, 0.35029318928718567, 0.20442302525043488, 0.09781058877706528, -0.22770994901657104, 0.07496411353349686, -0.020276468247175217, 0.11528221517801285, -0.39983493089675903, -0.3621745705604553, 0.19207213819026947, 0.07336686551570892, -0.09560494869947433 ]
http://arxiv.org/abs/2405.12612v1
http://arxiv.org/pdf/2405.12612v1
Tagengo: A Multilingual Chat Dataset
2024-05-21T09:06:36
2024-05-21T09:06:36
Peter Devine
cs.CL
cs.CL, cs.AI, cs.LG
Open source large language models (LLMs) have shown great improvements in recent times. However, many of these models are focused solely on popular spoken languages. We present a high quality dataset of more than 70k prompt-response pairs in 74 languages which consist of human generated prompts and synthetic responses. We use this dataset to train a state-of-the-art open source English LLM to chat multilingually. We evaluate our model on MT-Bench chat benchmarks in 6 languages, finding that our multilingual model outperforms previous state-of-the-art open source LLMs across each language. We further find that training on more multilingual data is beneficial to the performance in a chosen target language (Japanese) compared to simply training on only data in that language. These results indicate the necessity of training on large amounts of high quality multilingual data to make a more accessible LLM.
[ -0.26143571734428406, -0.41833001375198364, 0.0447806790471077, 0.4836495518684387, -0.1731477826833725, 0.19149187207221985, -0.5973296761512756, -0.6561914682388306, 0.09966341406106949, 0.4173225462436676, -0.542622983455658, -0.5771902799606323, -0.2993565499782562, 0.1981857270002365, 0.056442741304636, 0.9069814682006836, 0.13157474994659424, 0.5829266309738159, -0.08248516917228699, -0.28161266446113586, -0.8634933829307556, -0.3898952901363373, -0.8862686157226562, -0.4568623900413513, 0.7480353713035583, 0.5569758415222168, 0.2976142168045044, 0.5137319564819336, 0.3815053105354309, 0.2847363352775574, 0.25271308422088623, 0.3535239100456238, -0.6839308142662048, 0.1540665328502655, -0.08722354471683502, -0.7811258435249329, -0.39032161235809326, -0.15534143149852753, 0.6006675362586975, 0.5168173909187317, -0.1775161772966385, 0.026857731863856316, 0.06125088408589363, 0.2941119372844696, -0.17836318910121918, 0.5012998580932617, -0.782771110534668, -0.12438958883285522, -0.2439572960138321, 0.005749627482146025, -0.833732008934021, -0.2364158183336258, -0.1637289822101593, -0.8603675961494446, -0.10213993489742279, 0.20406866073608398, 0.7515142560005188, 0.059301961213350296, -0.37168994545936584, -0.42047807574272156, -0.7277982831001282, 0.8346723914146423, -0.5441770553588867, 0.7116408348083496, 0.43378281593322754, 0.5366493463516235, -0.14879362285137177, -0.14961279928684235, -0.27460920810699463, -0.16704799234867096, -0.06621095538139343, 0.2523503005504608, 0.08228093385696411, -0.0583486407995224, 0.039593394845724106, 0.10979931801557541, -0.7898980975151062, 0.5562148690223694, -0.08431275933980942, -0.19895634055137634, 0.6712951064109802, 0.13002580404281616, 0.28913038969039917, -0.12444128096103668, -0.45114898681640625, -0.14000345766544342, -0.7451099157333374, -0.060412462800741196, 0.5572473406791687, 0.596724808216095, -0.15029238164424896, 0.404199481010437, -0.05496060848236084, 0.6158555150032043, -0.5465294122695923, -0.6837119460105896, 0.2511530816555023, -0.28627318143844604, 0.059552982449531555, -0.02754020504653454, 1.0293490886688232, 0.47574329376220703, 0.4964669942855835, -0.26564425230026245, -0.01772296242415905, -0.03156297653913498, -0.29497283697128296, -0.7640010118484497, -0.021896297112107277, 0.23349213600158691, -0.139829620718956, 0.192951500415802, -0.20728172361850739, -0.8637831211090088, -0.4098757803440094, -0.19526910781860352, -0.04856624826788902, -0.6055929064750671, -0.375673770904541, 0.14193838834762573, 0.07681885361671448, 0.1125379204750061, 0.4097537100315094, -0.6881764531135559, -0.04174797236919403, 0.5810920000076294, 0.8294126987457275, -0.05187368392944336, -0.5729368329048157, -0.38623368740081787, 0.19713154435157776, -0.46749088168144226, 0.7578867077827454, -0.6134932637214661, -0.5504752993583679, 0.1585526168346405, 0.1411852389574051, -0.10996459424495697, -0.5264884829521179, 0.6816979050636292, -0.37525051832199097, 0.2728967070579529, -0.0540962889790535, -0.4851585626602173, -0.020576519891619682, 0.29070204496383667, -0.5040817260742188, 1.0439703464508057, -0.25449466705322266, -0.5191760063171387, 0.3995705544948578, -0.6329890489578247, -0.4336215555667877, 0.3597870171070099, 0.06488689035177231, 0.0050461553037166595, -0.23112601041793823, 0.30834150314331055, 0.5284780263900757, -0.3746585547924042, 0.3554001748561859, -0.3176477551460266, -0.12454361468553543, 0.41247543692588806, -0.24566195905208588, 0.44894060492515564, 0.4825630187988281, 0.22920162975788116, 0.037073343992233276, -0.8311038017272949, -0.037168558686971664, 0.2726234495639801, -0.49386945366859436, -0.5923562049865723, 0.058968231081962585, -0.07701907306909561, 0.360421359539032, 0.1966620683670044, -0.8706986904144287, 0.17739354074001312, -0.6264721155166626, 0.48170191049575806, 0.6446980237960815, -0.2098899483680725, 0.24951651692390442, -0.30730435252189636, 0.38990992307662964, -0.023714665323495865, -0.03697380796074867, -0.7133752703666687, -0.5574389100074768, -0.695239782333374, -0.5154072642326355, 0.19689945876598358, 0.7413461804389954, -1.0049928426742554, 0.2488826960325241, -0.4308018386363983, -0.47147321701049805, -0.8781148791313171, 0.17115600407123566, 0.4633961617946625, 0.43611347675323486, -0.04460746422410011, -0.04168333858251572, -0.5757080316543579, -0.8217372298240662, -0.033832743763923645, -0.26448944211006165, -0.17810960114002228, 0.47520995140075684, 0.2483723759651184, -0.03261654078960419, 0.59884113073349, -0.25584176182746887, -0.17843201756477356, -0.36325401067733765, -0.06466292589902878, 0.41401979327201843, 0.3352757692337036, 0.4889896810054779, -0.4343133568763733, -0.6033672094345093, 0.31903982162475586, -0.7390439510345459, -0.007808912545442581, -0.044596318155527115, -0.3110772669315338, 0.30676013231277466, 0.1278192698955536, -0.5610001683235168, -0.2680718004703522, 0.6819294691085815, 0.2135252058506012, 0.07749202102422714, -0.20894120633602142, 0.3703123927116394, -1.7333637475967407, 0.11728360503911972, 0.09486889839172363, -0.1749923676252365, -0.6123744249343872, 0.05821821466088295, 0.05681744962930679, -0.3465527594089508, -0.6200353503227234, 0.8149670362472534, -0.46471238136291504, -0.07247386127710342, -0.19864337146282196, 0.3620987832546234, -0.2043202519416809, 0.4433450996875763, 0.08014250546693802, 0.8293225169181824, 0.6138200759887695, -0.40828660130500793, 0.6236555576324463, 0.524432897567749, -0.39424794912338257, 0.7893283367156982, -0.6992912888526917, 0.2536624073982239, -0.22147215902805328, 0.13062097132205963, -1.3994412422180176, -0.620272696018219, 0.0878501832485199, -0.6351046562194824, 0.5203995704650879, -0.3236062526702881, -0.6250538229942322, -0.4879440367221832, -0.24356035888195038, -0.09095121175050735, 0.3097551167011261, -0.7163849472999573, 0.2734310030937195, 0.44140565395355225, -0.2622062861919403, -0.7217580676078796, -0.756409227848053, 0.07650415599346161, -0.27731120586395264, -0.7131664752960205, -0.20655380189418793, -0.2605494260787964, 0.05868063494563103, -0.4254382252693176, 0.32575127482414246, -0.03538351133465767, 0.022925453260540962, 0.31666117906570435, 0.32318824529647827, -0.02124045416712761, 0.4421217441558838, -0.3911372125148773, -0.1663537323474884, -0.13703766465187073, -0.1878891885280609, 1.0133907794952393, 0.1589633822441101, -0.23548872768878937, -0.35538598895072937, 0.470502108335495, 0.30464982986450195, -0.40020638704299927, 0.7822513580322266, 0.4680163562297821, -0.273261159658432, -0.2887895405292511, -0.3450358510017395, 0.10292354226112366, -0.43799489736557007, 0.43756765127182007, -0.5840839743614197, -0.9219473600387573, 0.7501901984214783, -0.03681265190243721, 0.3602279722690582, 0.060574471950531006, 0.6811778545379639, -0.15647763013839722, 1.090189814567566, 0.4443988502025604, -0.39064842462539673, 0.4516112506389618, 0.20109716057777405, 0.060025546699762344, -0.3163263201713562, -0.4446169137954712, -0.7527931928634644, -0.15147599577903748, -0.6816809773445129, -0.23838429152965546, 0.23629875481128693, -0.07103438675403595, -0.00044012305443175137, 0.36011573672294617, -0.16786406934261322, 0.627086877822876, 0.4402996599674225, 0.07574352622032166, 0.40413203835487366, 0.016605515033006668, 0.13097932934761047, -0.18608792126178741, -0.8306852579116821, -0.4638412296772003, 1.1357204914093018, 0.4538554549217224, 1.1480658054351807, 0.04346827417612076, 0.44933420419692993, -0.16059160232543945, 0.3098888695240021, -0.7935534119606018, 0.44495633244514465, -0.07362504303455353, -0.7386384010314941, -0.13490554690361023, -0.666134774684906, -1.168511986732483, 0.14907759428024292, -0.08813975006341934, -0.545615553855896, -0.46008723974227905, -0.049018483608961105, 0.08376920223236084, 0.1637890636920929, -0.9053928852081299, 0.6638525724411011, -0.24431158602237701, -0.12370089441537857, -0.020194372162222862, -0.6628808975219727, 0.5014569163322449, -0.2327539175748825, 0.42669519782066345, -0.47363367676734924, -0.0242755226790905, 0.6926051378250122, -0.051689378917217255, 0.7956634163856506, -0.0773819237947464, -0.279377281665802, 0.05412670597434044, 0.0038404737133532763, 0.4601271152496338, 0.30137622356414795, 0.06017052382230759, 0.27576562762260437, -0.23632529377937317, -0.4672355353832245, -0.2835681140422821, 0.9735168814659119, -1.0595848560333252, -0.35207122564315796, -0.15449684858322144, -0.8084279894828796, -0.44555801153182983, 0.1722075194120407, 0.2046346515417099, 0.4384227693080902, -0.22163286805152893, 0.17000147700309753, 0.4991617202758789, -0.5053351521492004, 0.5467318892478943, 0.7673646807670593, -0.4076584577560425, -0.5801831483840942, 0.8944984674453735, 0.16273744404315948, 0.36820122599601746, 0.44406330585479736, -0.05712839961051941, -0.34603074193000793, -0.25298207998275757, -0.7575458288192749, 0.5041939616203308, -0.7140941023826599, -0.24989931285381317, -0.6179534196853638, 0.034295324236154556, -0.453264057636261, 0.1595117747783661, -0.433856725692749, -0.029028626158833504, 0.08730834722518921, 0.006185712292790413, 0.42287853360176086, 0.6046766042709351, 0.20996025204658508, 0.4346214830875397, -0.9897457361221313, 0.017752135172486305, 0.040460385382175446, 0.44331374764442444, -0.22497761249542236, -0.3645920753479004, -0.3345782458782196, 0.22784852981567383, 0.0977267250418663, -0.7405088543891907, 0.4701352119445801, 0.43523073196411133, 0.8655441403388977, 0.15914028882980347, -0.16232050955295563, 0.4957793354988098, -0.666132390499115, 0.7376295924186707, 0.19746950268745422, -0.5390681624412537, 0.6824669241905212, -0.6481682658195496, 0.3339712619781494, 0.33030277490615845, 0.9985674619674683, -0.8828145861625671, -0.22489532828330994, -0.22788621485233307, -0.3282695412635803, 0.8783612251281738, -0.13584311306476593, 0.2989569306373596, 0.039669282734394073, 0.05587838590145111, 0.3571544587612152, 0.30761805176734924, -0.5704452395439148, -0.1589180827140808, -0.12593227624893188, -0.2107856422662735, -0.46379896998405457, 0.08767252415418625, -0.21207870543003082, 0.04220838472247124, 0.687639594078064, -0.38672980666160583, 0.3405684530735016, -0.30392986536026, 0.02652760222554207, -0.02455907315015793, 0.3760725259780884, 0.4051852226257324, 0.4700392186641693, -0.08749604970216751, -0.11973991990089417, 0.23507839441299438, -0.2548033595085144, 0.24689941108226776, 0.24040170013904572, 0.11540476232767105, 0.13729135692119598, 0.37506234645843506, 1.023303747177124, 0.10187456756830215, -0.8117983937263489, 0.33169665932655334, -0.04361848533153534, 0.032000817358493805, 0.0251699797809124, -0.04653822258114815, 0.3365756571292877, 0.10208060592412949, 0.13314126431941986, -0.2408992499113083, -0.22012895345687866, -0.6737688779830933, 0.10347891598939896, 0.2755312919616699, -0.0677223652601242, -0.4007982611656189, 0.6307761669158936, 0.44545602798461914, -0.19045181572437286, 0.5381774306297302, 0.024514198303222656, -0.24802085757255554, 0.2843363285064697, 0.6413892507553101, 0.3933972418308258, -0.5813204050064087, 0.32389408349990845, 0.6589632034301758, 0.31296300888061523, 0.007941721938550472, 0.2920154631137848, 0.21353968977928162, -0.8467478156089783, -0.760758101940155, -0.506565272808075, -0.6539560556411743, 0.20305085182189941, -0.38409915566444397, 0.4665599763393402, -0.1716543734073639, -0.023934416472911835, -0.030132604762911797, 0.015498669818043709, -0.5480696558952332, 0.049010083079338074, 0.17163735628128052, 0.9179022908210754, -0.8699074983596802, 1.0411591529846191, 0.7527443766593933, -0.2836732566356659, -0.7375524044036865, -0.610919713973999, -0.12607607245445251, -1.2071871757507324, 0.4784529209136963, 0.228263720870018, 0.19556979835033417, 0.06533974409103394, -0.5371088981628418, -0.7469733357429504, 0.913831889629364, 0.622044026851654, -0.6742328405380249, -0.018070382997393608, 0.45001545548439026, 0.6076146960258484, -0.41385340690612793, 0.4645860493183136, 0.2601543366909027, 0.2028416097164154, 0.24558241665363312, -1.0582361221313477, -0.49916571378707886, -0.2753055691719055, 0.11837846040725708, 0.4790390729904175, -0.9964995384216309, 0.4801691770553589, 0.18721328675746918, -0.3136294484138489, 0.10633052885532379, 0.456596702337265, 0.14984044432640076, 0.1568746268749237, 0.2939724028110504, 0.4547921121120453, 0.7346798181533813, -0.5573633909225464, 1.0091495513916016, -0.5173695087432861, 0.26858842372894287, 1.1391310691833496, -0.6091899275779724, 0.8996614217758179, 0.21327058970928192, -0.1121397316455841, 0.024446766823530197, 0.8318668007850647, 0.13700829446315765, 0.35290542244911194, 0.031457580626010895, -0.2261684387922287, -0.25404977798461914, -0.5834868550300598, -0.28269410133361816, 0.4153231978416443, 0.3652082681655884, 0.03678520768880844, -0.33469828963279724, 0.5153676867485046, 0.3039873540401459, 0.06829183548688889, -0.2141285091638565, 0.8591898679733276, -0.08038605749607086, -0.7238752841949463, 0.5720619559288025, -0.131541445851326, 0.8850694298744202, -0.9209793210029602, 0.1594984084367752, -0.540023148059845, 0.10145331919193268, -0.09094671905040741, -0.917122483253479, 0.030963411554694176, 0.2182762771844864, 0.07883907854557037, -0.2179943323135376, 0.7771591544151306, -0.6913397908210754, -0.2378348559141159, 0.4191717505455017, 0.6306754946708679, 0.4811617136001587, 0.2049940675497055, -0.5123192667961121, 0.10558953881263733, -0.07935177534818649, -0.11830700188875198, 0.29121771454811096, 0.38207730650901794, 0.05711684748530388, 0.817837655544281, 0.791986882686615, 0.08691363781690598, 0.22119054198265076, 0.29540133476257324, 0.7750930190086365, -0.32921290397644043, -0.44026994705200195, -0.6113936305046082, 0.40623417496681213, -0.12884043157100677, -0.5776331424713135, 1.0325493812561035, 0.5521684288978577, 1.2028405666351318, -0.06507594883441925, 0.7409961223602295, 0.17756997048854828, 0.8922849893569946, -0.5144423246383667, 0.48459580540657043, -0.46875450015068054, -0.013005164451897144, 0.0019262757850810885, -0.929071307182312, -0.2031647115945816, 0.28412142395973206, -0.06315423548221588, -0.06496532261371613, 0.28004390001296997, 0.8846917748451233, 0.18492266535758972, 0.11044635623693466, 0.5934461951255798, 0.0775386244058609, 0.46189627051353455, 0.935171902179718, 1.1975418329238892, -0.3799995481967926, 0.6258728504180908, -0.13090655207633972, -0.12196847796440125, -0.036517590284347534, -0.7060142159461975, -1.1729357242584229, -0.5837633013725281, -0.0768609344959259, -0.15548115968704224, -0.09184984862804413, 1.007779836654663, 0.8368502259254456, -0.7769747972488403, -0.48264268040657043, 0.3409522473812103, -0.20087981224060059, 0.2130596935749054, -0.13685624301433563, -0.31456097960472107, -0.5645478963851929, -1.0989680290222168, 0.7048977613449097, 0.0852302759885788, 0.07178596407175064, -0.25418543815612793, -0.2589383125305176, -0.40063467621803284, -0.020202480256557465, 0.577685534954071, 0.13817961513996124, -0.44634759426116943, -0.2204161286354065, 0.3327198624610901, -0.3126014173030853, 0.416728675365448, 0.5654033422470093, -0.3016491234302521, 0.6868724822998047, 0.5666165351867676, 0.7009128332138062, 0.39462870359420776, -0.2514417767524719, 0.611988365650177, -1.0952409505844116, 0.49840644001960754, -0.032132383435964584, 0.486356258392334, 0.5073355436325073, -0.07563630491495132, 0.657598614692688, 0.22620342671871185, -0.6597758531570435, -0.7683423757553101, 0.059448156505823135, -0.9134219884872437, -0.14063715934753418, 1.176436185836792, -0.3492739796638489, -0.19079923629760742, 0.04013329744338989, -0.5902498364448547, 0.25274860858917236, -0.6215749979019165, 0.13025407493114471, 1.0439106225967407, 0.1132979542016983, -0.3935571312904358, -0.7912318706512451, 0.1151438057422638, 0.21787220239639282, -1.0946635007858276, -0.0012214278103783727, 0.4963412582874298, 0.21990647912025452, 0.14637097716331482, 0.46370628476142883, 0.14997367560863495, -0.05287926644086838, -0.04110141843557358, 0.2861096262931824, -0.1103752925992012, -0.5125558376312256, -0.4720087945461273, 0.008750401437282562, 0.15968357026576996, -0.3592422306537628 ]
http://arxiv.org/abs/2405.12604v2
http://arxiv.org/pdf/2405.12604v2
Tiny Refinements Elicit Resilience: Toward Efficient Prefix-Model Against LLM Red-Teaming
2024-05-21T08:57:44
2024-06-17T18:52:45
Jiaxu Liu, Xiangyu Yin, Sihao Wu, Jianhong Wang, Meng Fang, Xinping Yi, Xiaowei Huang
cs.CL
cs.CL, cs.AI
With the proliferation of red-teaming strategies for Large Language Models (LLMs), the deficiency in the literature about improving the safety and robustness of LLM defense strategies is becoming increasingly pronounced. This paper introduces the LLM-based \textbf{sentinel} model as a plug-and-play prefix module designed to reconstruct the input prompt with just a few ($<30$) additional tokens, effectively reducing toxicity in responses from target LLMs. The sentinel model naturally overcomes the \textit{parameter inefficiency} and \textit{limited model accessibility} for fine-tuning large target models. We employ an interleaved training regimen using Proximal Policy Optimization (PPO) to optimize both red team and sentinel models dynamically, incorporating a value head-sharing mechanism inspired by the multi-agent centralized critic to manage the complex interplay between agents. Our extensive experiments across text-to-text and text-to-image demonstrate the effectiveness of our approach in mitigating toxic outputs, even when dealing with larger models like \texttt{Llama-2}, \texttt{GPT-3.5} and \texttt{Stable-Diffusion}, highlighting the potential of our framework in enhancing safety and robustness in various applications.
[ -0.2815935015678406, -0.7460328936576843, 0.5588982701301575, -0.029646122828125954, -0.1507774293422699, 0.1381642073392868, -0.2682815492153168, -0.3255741000175476, 0.1292736828327179, 0.3091207444667816, -0.8493005037307739, -0.16505232453346252, -0.3958339989185333, 0.3240845203399658, -0.03133590146899223, 1.1598044633865356, 0.4267461597919464, -0.2045358270406723, -0.012293437495827675, -0.3244878947734833, -0.574812650680542, -0.3637758791446686, -1.182836651802063, -0.23616686463356018, 0.7318838834762573, 0.6496256589889526, 0.8575990796089172, 0.3069509267807007, 0.7595506310462952, 0.29963240027427673, -0.4075896441936493, 0.324547678232193, -0.6377103924751282, 0.24260573089122772, -0.49513542652130127, -0.5047165155410767, -0.5871357321739197, -0.19513928890228271, 0.5211977362632751, 0.14153285324573517, 0.06312274932861328, 0.134651780128479, 0.16758988797664642, 0.35527217388153076, -0.7123669981956482, -0.010390014387667179, -1.019560694694519, -0.3049173653125763, 0.010853649117052555, 0.001619152957573533, -0.7130988240242004, -0.032388836145401, 0.0494135320186615, -0.5528067350387573, -0.06546419858932495, 0.12968562543392181, 0.9362258911132812, 0.40619519352912903, -0.18773075938224792, 0.17674756050109863, -0.5206072926521301, 0.8695263862609863, -0.5856055021286011, -0.23967339098453522, 0.20619778335094452, 0.38393232226371765, -0.23667147755622864, -1.026214361190796, -0.29705727100372314, -0.2756950259208679, -0.15266740322113037, 0.22532659769058228, -0.568957507610321, 0.23432843387126923, 0.04161335900425911, -0.019237538799643517, -0.33488985896110535, 0.33846011757850647, -0.13645417988300323, -0.2381936013698578, 0.5427045226097107, 0.4398484230041504, 0.17701967060565948, 0.150213822722435, -0.50755375623703, 0.0988456979393959, -1.0030579566955566, -0.38484987616539, -0.007037220057100058, 0.6548641920089722, -0.08339560031890869, 0.23745743930339813, -0.06687956303358078, 0.5542427897453308, 0.1274304836988449, -0.10553627461194992, -0.13274149596691132, -0.5665364861488342, -0.07630659639835358, -0.40503114461898804, 0.6987969875335693, 0.4116704761981964, 0.07170664519071579, -0.0877348855137825, -0.31798189878463745, 0.14235834777355194, 0.6004665493965149, -0.8883352279663086, -0.132892444729805, 0.1008913591504097, -0.3165501356124878, -0.5831108093261719, -0.3008594214916229, -0.5240964293479919, -0.37751585245132446, -0.14336858689785004, 0.6408035755157471, -0.5114892721176147, -0.10679230839014053, -0.031265709549188614, 0.09285759925842285, -0.11192037165164948, 0.2717415392398834, -0.6727094054222107, 0.15021869540214539, 0.7800800800323486, 1.0529745817184448, -0.1280372142791748, -0.26183179020881653, -0.6737875938415527, -0.0052042268216609955, -0.028834719210863113, 0.8937285542488098, -0.4627682864665985, -0.45467719435691833, -0.17010775208473206, -0.052043620496988297, -0.006537025328725576, -0.6680389642715454, 0.4233451783657074, -0.568080484867096, -0.05800430104136467, -0.11053432524204254, -0.13563016057014465, 0.03521890565752983, 0.4451759457588196, -0.6010544300079346, 0.6388719081878662, 0.0749787911772728, -0.787049412727356, 0.05443086102604866, -0.763596773147583, -0.128689706325531, 0.027985218912363052, 0.056005917489528656, -0.6471014618873596, 0.2238750457763672, -0.011981734074652195, 0.1048874631524086, -0.4121445417404175, -0.12700851261615753, -0.44489625096321106, -0.42415887117385864, 0.09215506911277771, -0.22675009071826935, 0.6264702677726746, 0.4009817838668823, 0.008736112155020237, 0.6264423727989197, -0.44355496764183044, 0.203813374042511, 0.1213097870349884, -0.20838595926761627, -0.16721181571483612, -0.12439773976802826, -0.2645152509212494, 0.14391520619392395, -0.019226018339395523, -0.23939375579357147, -0.0003634383901953697, -0.29244548082351685, 0.6544723510742188, 0.7463252544403076, 0.29476210474967957, 0.6254388689994812, -0.7928367853164673, 0.6350021362304688, -0.23853951692581177, 0.5748301148414612, -0.34358611702919006, -0.40221741795539856, -0.7592736482620239, -0.8413820266723633, 0.300262451171875, 0.4071032404899597, -0.9285809993743896, 0.19002178311347961, -0.1605272889137268, -0.5590149760246277, -0.5194072127342224, -0.23334495723247528, 0.6030420064926147, 0.5547890663146973, 0.38459768891334534, -0.16147646307945251, -0.49089476466178894, -1.0022755861282349, -0.14389938116073608, -0.48729997873306274, 0.029525278136134148, 0.04996141791343689, 0.5781478881835938, -0.41619873046875, 1.1143546104431152, -0.4245038330554962, -0.13508716225624084, -0.2289329320192337, 0.059340499341487885, 0.013071876019239426, 0.29384055733680725, 0.5568337440490723, -0.5105355978012085, -0.4465862810611725, -0.36938080191612244, -0.35866159200668335, -0.4680598974227905, -0.0907549038529396, -0.1439407914876938, 0.1658109724521637, 0.6185204386711121, -0.5413203835487366, 0.30570167303085327, 0.4736050069332123, -0.3787914216518402, 0.7603778839111328, -0.05317681282758713, -0.26314955949783325, -0.9280563592910767, 0.1711663007736206, -0.15454739332199097, -0.36893168091773987, -0.759860634803772, 0.7675167918205261, 0.0505562350153923, -0.1173027902841568, -0.9172446131706238, 0.7279613018035889, -0.33966517448425293, 0.34749332070350647, -0.549552857875824, 0.0651540458202362, 0.013969185762107372, 0.15855006873607635, -0.05049951374530792, 1.0834592580795288, 0.267366886138916, -0.7208507061004639, 0.06200963258743286, 0.048689838498830795, 0.217503622174263, 0.901948094367981, -0.8986145257949829, 0.12078862637281418, -0.03998299688100815, 0.18448495864868164, -0.846665620803833, -0.060625024139881134, 0.28388872742652893, -0.3028031587600708, 0.2982819676399231, -0.37996312975883484, -0.6300026774406433, -0.18376263976097107, -0.43068259954452515, 0.47894689440727234, 0.5193090438842773, -0.48952239751815796, 0.5103008151054382, 0.39279666543006897, -0.21712008118629456, -0.23149201273918152, -0.6636377573013306, 0.19245709478855133, -0.6895104646682739, -0.7428067922592163, 0.4044342637062073, -0.34375178813934326, -0.5045109987258911, -0.24526266753673553, 0.08204402774572372, -0.12431513518095016, 0.3646359145641327, 0.20500686764717102, 0.3511883318424225, 0.05485350638628006, 0.43261027336120605, -0.2654644250869751, -0.5488113760948181, -0.07328096032142639, -0.10781093686819077, 0.43311479687690735, -0.4088963568210602, -0.3105495572090149, -0.25063735246658325, 0.27448785305023193, 0.6631750464439392, -0.15540798008441925, 0.7410187721252441, 0.41822707653045654, -0.08495388180017471, -0.30597084760665894, -0.300978422164917, -0.8455960750579834, -0.5498694181442261, 0.4038757085800171, -0.18752992153167725, -1.0339540243148804, 0.4590836465358734, -0.2981739044189453, 0.10074123740196228, 0.2621379792690277, 0.6008027195930481, -0.03520262613892555, 0.4224977195262909, 0.6692496538162231, -0.08335336297750473, 0.5113527774810791, -0.10888512432575226, -0.027073519304394722, -0.7044584155082703, -0.012864338234066963, -0.2954791188240051, -0.3127610683441162, -0.19841600954532623, -0.528800368309021, 0.7270378470420837, -0.18979786336421967, -0.6468349695205688, 0.2701724171638489, -0.509114682674408, 0.6311997771263123, 0.41832995414733887, 0.23124663531780243, 0.2963259518146515, 0.016950557008385658, -0.1940595507621765, -0.28575342893600464, -0.9274632930755615, -0.5463794469833374, 0.8602597713470459, 0.6073474287986755, 0.8615532517433167, 0.4035961627960205, 0.6751911640167236, 0.21470898389816284, 0.4168640375137329, -0.7662860155105591, 0.735640287399292, 0.12090254575014114, -0.5638151168823242, -0.0933350920677185, -0.3200610280036926, -1.0410456657409668, 0.38096222281455994, -0.3764544129371643, -0.504091203212738, -0.04393365606665611, 0.13640421628952026, -0.7950689196586609, 0.15469497442245483, -0.7962888479232788, 0.5631405115127563, 0.04082682728767395, -0.6942090392112732, -0.30590689182281494, -0.6583333015441895, 0.4147978723049164, -0.3046380281448364, 0.1456766426563263, 0.038849614560604095, -0.5521687865257263, 0.33809694647789, -0.7474140524864197, 1.1116808652877808, 0.19207383692264557, 0.03120281733572483, 0.5274671316146851, 0.26551198959350586, 0.686959445476532, 0.19445401430130005, -0.15176409482955933, -0.004993977025151253, -0.4291943311691284, -0.3844093382358551, -0.2928656041622162, 0.5421199798583984, -0.49622878432273865, -0.7294178009033203, -0.43350115418434143, -0.5417943000793457, -0.15018026530742645, 0.28877681493759155, 0.3066689968109131, 0.024321671575307846, -0.1366891711950302, 0.017331935465335846, 0.8096708655357361, -0.12742169201374054, 0.7811880707740784, 1.004822850227356, 0.014196297153830528, -0.7199996709823608, 0.6367397904396057, -0.0761856883764267, 0.7964136600494385, 0.18309462070465088, 0.056202735751867294, -0.108980193734169, -0.5254387855529785, 0.06703850626945496, 0.535503625869751, -0.48167598247528076, -0.7810270190238953, -0.20193910598754883, -0.34966421127319336, 0.14577332139015198, -0.1282886117696762, -0.4901256263256073, -0.37778475880622864, -0.4215278625488281, -0.21683834493160248, 0.5914831757545471, 0.5117347240447998, -0.3098682463169098, 0.5954405665397644, -0.6804136037826538, -0.033519286662340164, 0.3915506601333618, 0.10808245837688446, -0.09272854030132294, -0.8523187041282654, -0.20020897686481476, -0.05785936117172241, -0.4475896656513214, -0.6964889764785767, 0.3097240924835205, 0.07319203019142151, 0.21005259454250336, 0.18986748158931732, 0.3924688994884491, 0.5549201369285583, -0.5189228653907776, 0.7197664976119995, 0.24175311625003815, -0.7399960160255432, 0.6303874254226685, -0.5335038304328918, 0.4550737738609314, 0.6944571733474731, 0.000853291479870677, -0.18812382221221924, -0.4536343514919281, -0.8047614693641663, -0.9553825855255127, 0.6595852971076965, 0.33136802911758423, -0.002441052347421646, -0.23227667808532715, 0.3143906593322754, -0.26794344186782837, -0.09581216424703598, -0.5946979522705078, -0.0009496125858277082, 0.3018674850463867, -0.09527948498725891, 0.3073616921901703, -0.6182796955108643, -0.5413628816604614, 0.13205581903457642, 0.6433632969856262, -0.2992212474346161, 0.2707369029521942, 0.06203039735555649, -0.004171101842075586, 0.13173344731330872, 0.2707204520702362, 0.8139234185218811, 0.20803554356098175, -0.08236870169639587, 0.22379153966903687, 0.5506531000137329, -0.3942887783050537, 0.37428945302963257, -0.23159000277519226, -0.36190545558929443, -0.12535785138607025, 0.5101023316383362, 0.3698092997074127, 0.18920433521270752, -0.6343111991882324, 0.48932912945747375, -0.13343210518360138, 0.027492837980389595, -0.1087241992354393, 0.13383126258850098, -0.10845377296209335, 0.38755902647972107, 0.08166742324829102, 0.2501548230648041, -0.21207745373249054, -0.4883536100387573, 0.3766911029815674, 0.45683538913726807, -0.3749043345451355, -0.3242650628089905, 0.6353513598442078, 0.46490582823753357, -0.2540346682071686, 0.2966768443584442, -0.3652244210243225, -0.3309744596481323, 0.5926864147186279, 0.5815120935440063, 0.897668182849884, -0.2143166959285736, 0.07679886370897293, 0.39454159140586853, 0.544783890247345, -0.1453009843826294, 0.15086132287979126, 0.4569297432899475, -0.45175376534461975, -0.24074769020080566, -0.14791303873062134, -0.4349859356880188, 0.11672108620405197, -0.340950071811676, 0.30129867792129517, -0.836055338382721, -0.691737949848175, -0.3839116096496582, -0.07059145718812943, -0.3206138610839844, -0.06067212298512459, 0.030570607632398605, 1.2016483545303345, -0.8037290573120117, 0.5776147842407227, 0.7421940565109253, -0.6660786867141724, -0.550892174243927, 0.07419805228710175, 0.4074597954750061, -0.791396975517273, 0.6670178771018982, -0.0554167740046978, -0.1847313940525055, -0.06275934725999832, -0.39774903655052185, -0.8888740539550781, 1.307212471961975, 0.5765137672424316, -0.578643798828125, 0.04856095090508461, -0.0788072794675827, 0.5715662240982056, -0.35622838139533997, 0.5431398153305054, 0.5691208243370056, 0.4331914484500885, 0.018611997365951538, -0.9577792882919312, 0.33482325077056885, 0.0013047936372458935, 0.23449452221393585, -0.13741590082645416, -1.300162672996521, 0.6645858287811279, -0.448698490858078, -0.36213818192481995, 0.34990447759628296, 0.5759798288345337, 0.5428752899169922, 0.14459434151649475, 0.5106493234634399, 0.8150030970573425, 0.7407024502754211, -0.1835031658411026, 0.9492814540863037, -0.27321574091911316, 0.13919875025749207, 1.2831084728240967, -0.11980462074279785, 0.9382122755050659, 0.37390264868736267, -0.07585141062736511, 0.4362391233444214, 0.39811593294143677, 0.10823563486337662, 0.7191943526268005, 0.28205886483192444, -0.6372362971305847, -0.19538374245166779, -0.3643496036529541, -0.21127647161483765, 0.2205706238746643, 0.29369282722473145, -0.29033800959587097, -0.3079192638397217, -0.19017083942890167, 0.470687597990036, 0.22853192687034607, -0.4242297410964966, 0.7965558767318726, 0.28194522857666016, -0.6435434818267822, 0.6361891627311707, 0.018800770863890648, 0.7742348909378052, -0.6882038712501526, 0.3409592807292938, -0.46487176418304443, 0.40671834349632263, -0.20654702186584473, -0.5919954180717468, 0.6467246413230896, 0.05087331682443619, -0.36806902289390564, -0.043363627046346664, 0.9015905857086182, -0.26917359232902527, -0.09750343859195709, 0.2754018306732178, 0.2397185117006302, -0.2051698863506317, -0.20007525384426117, -0.7991507649421692, 0.4497736692428589, -0.20323880016803741, 0.2103431522846222, 0.4588295817375183, 0.40846627950668335, -0.0782429575920105, 0.8655496835708618, 0.36201220750808716, 0.029687609523534775, -0.2989518344402313, -0.06897177547216415, 1.0726585388183594, -0.3994286060333252, -0.36127930879592896, -1.09841787815094, 0.7854682207107544, -0.13284316658973694, 0.035682473331689835, 0.7204130291938782, 0.2869376838207245, 0.4128561317920685, -0.08367490768432617, 0.6176016926765442, 0.25861653685569763, 0.32249966263771057, -0.33842870593070984, 0.8661690950393677, -0.3516157567501068, 0.5490656495094299, -0.038766048848629, -0.6432875394821167, -0.4468298852443695, 0.3780378997325897, 0.01657264493405819, 0.0067575853317976, 0.7610730528831482, 1.2046054601669312, 0.12773580849170685, -0.3528731167316437, 0.2023824155330658, 0.2719060480594635, 0.3591225743293762, 0.7570644617080688, 0.8947860598564148, -0.28635552525520325, 0.8123185634613037, 0.06287138909101486, -0.4171673655509949, -0.3698802888393402, -1.069744348526001, -0.895226001739502, -0.11908457428216934, -0.4787663221359253, -0.6298356056213379, 0.2987763583660126, 0.7720547914505005, 0.8991921544075012, -0.5893958210945129, 0.125276118516922, -0.16046573221683502, 0.17272743582725525, -0.08212108910083771, -0.2273414134979248, 0.0150524927303195, -0.715427815914154, -0.38867929577827454, 0.44307181239128113, 0.3949936330318451, 0.21130844950675964, -0.0266260989010334, -0.19467248022556305, 0.09982260316610336, 0.40008440613746643, 0.6455968618392944, 0.5677998661994934, -0.6801838278770447, -0.446882963180542, -0.21964436769485474, -0.28829967975616455, -0.3081674575805664, 0.4130421280860901, -0.8464030623435974, 0.38537508249282837, 0.33130544424057007, 0.6416346430778503, -0.16290877759456635, -0.0780513733625412, 0.5762025713920593, -1.0111364126205444, 0.33231261372566223, 0.3546505570411682, 0.37440502643585205, 0.19595758616924286, -0.1844916045665741, 0.9295374155044556, 0.3156740963459015, -0.6393299698829651, -0.960570752620697, 0.5668298006057739, -0.7303619384765625, -0.3593194782733917, 1.3994412422180176, -0.27684861421585083, -0.12972010672092438, 0.07194600999355316, -0.39236143231391907, -0.10044632107019424, -0.41212227940559387, 0.9140130281448364, 0.4313947558403015, 0.14621654152870178, -0.2605723440647125, -0.01585555262863636, 0.5800108313560486, 0.5396731495857239, -0.7650061249732971, 0.07939513027667999, 0.47471901774406433, 0.33954381942749023, 0.28826698660850525, 0.6122282147407532, -0.16609132289886475, 0.3829120099544525, 0.0959051102399826, -0.23049695789813995, -0.37032291293144226, -0.5353788137435913, -0.5207784175872803, 0.03880361467599869, 0.3503493070602417, -0.2553902864456177 ]
http://arxiv.org/abs/2405.12591v1
http://arxiv.org/pdf/2405.12591v1
Unlocking Data-free Low-bit Quantization with Matrix Decomposition for KV Cache Compression
2024-05-21T08:35:10
2024-05-21T08:35:10
Peiyu Liu, Ze-Feng Gao, Wayne Xin Zhao, Yipeng Ma, Tao Wang, Ji-Rong Wen
cs.CL
cs.CL
Key-value~(KV) caching is an important technique to accelerate the inference of large language models~(LLMs), but incurs significant memory overhead. To compress the size of KV cache, existing methods often compromise precision or require extra data for calibration, limiting their practicality in LLM deployment. In this paper, we introduce \textbf{DecoQuant}, a novel data-free low-bit quantization technique based on tensor decomposition methods, to effectively compress KV cache. Our core idea is to adjust the outlier distribution of the original matrix by performing tensor decomposition, so that the quantization difficulties are migrated from the matrix to decomposed local tensors. Specially, we find that outliers mainly concentrate on small local tensors, while large tensors tend to have a narrower value range. Based on this finding, we propose to apply low-bit quantization to the large tensor, while maintaining high-precision representation for the small tensor. Furthermore, we utilize the proposed quantization method to compress the KV cache of LLMs to accelerate the inference and develop an efficient dequantization kernel tailored specifically for DecoQuant. Through extensive experiments, DecoQuant demonstrates remarkable efficiency gains, showcasing up to a $\sim$75\% reduction in memory footprint while maintaining comparable generation quality.
[ -0.292130708694458, -0.4992055594921112, 0.2737961709499359, -0.05883632227778435, -0.6962732672691345, 0.12926876544952393, -0.15897762775421143, 0.0638708844780922, 0.25480854511260986, 0.27175959944725037, -0.3387182056903839, -0.630442202091217, -0.33146482706069946, -0.37755998969078064, -0.2441103160381317, 0.4110064208507538, -0.03526032343506813, -0.02528594806790352, -0.32505589723587036, -0.05845201015472412, -0.5384886860847473, -0.3331888020038605, -0.5448397994041443, -0.005355441942811012, -0.018505845218896866, 0.5328847169876099, 0.5888329744338989, 0.7555642127990723, 0.4401125907897949, 0.2496846467256546, -0.18297037482261658, 0.01993747428059578, -0.6336695551872253, 0.37550994753837585, 0.44466695189476013, -0.7691024541854858, -0.3833758533000946, -0.41065913438796997, 0.8319467902183533, 0.22741734981536865, -0.23107542097568512, 0.22317998111248016, -0.06095990911126137, 1.0164158344268799, -1.3054752349853516, 0.3184038996696472, -0.48717454075813293, 0.048573218286037445, -0.20046192407608032, -0.08380643278360367, -0.5099978446960449, -0.48483553528785706, -0.35733678936958313, -0.6583170890808105, 0.615205705165863, -0.45321762561798096, 0.6138198375701904, 0.5943365097045898, -0.2839033603668213, 0.31008201837539673, -0.6720853447914124, 0.8319026827812195, -0.4645291268825531, 0.5814282298088074, 0.40292230248451233, 0.31825169920921326, -0.11858295649290085, -0.6603102684020996, -0.4854327440261841, 0.24520738422870636, 0.17262092232704163, 0.12848074734210968, -0.48667800426483154, 0.07832062244415283, 0.050925593823194504, 0.772514820098877, -0.5405555963516235, -0.06954978406429291, -0.2918432056903839, -0.21777886152267456, 0.09794776886701584, 0.24205216765403748, -0.043902914971113205, -0.08565830439329147, -0.3019409477710724, -0.5379977226257324, -1.071793556213379, 0.030713791027665138, 0.2752508521080017, 0.022653015330433846, -0.12553094327449799, 0.23102566599845886, -0.5996189713478088, 0.33025431632995605, -0.09854570031166077, 0.08571023494005203, -0.05534110590815544, -0.07529179006814957, -0.42152488231658936, 0.24644143879413605, 0.5263288617134094, 0.26873138546943665, 0.03571036830544472, -0.0010008218232542276, -0.25883373618125916, 0.3692339360713959, 0.001937297871336341, -1.2619682550430298, -0.7245347499847412, 0.13941197097301483, -0.6967998743057251, -0.23837007582187653, -0.3155778646469116, -0.7303110361099243, -0.321348637342453, 0.12371978908777237, 0.6407554745674133, -0.21363937854766846, -0.2413705587387085, 0.1989198476076126, -0.05366498604416847, 0.08142602443695068, 0.33214500546455383, -0.7783335447311401, 0.19542889297008514, 0.5473887920379639, 0.8492425680160522, 0.17579586803913116, 0.4531727731227875, -0.731703519821167, 0.007935027591884136, -0.4471958577632904, 0.4134678840637207, -0.2995264232158661, -0.49538516998291016, -0.16494017839431763, -0.30276578664779663, 0.44748756289482117, -0.6361829042434692, 0.27721402049064636, -0.9195112586021423, -0.4982151985168457, -0.5084167122840881, -0.2477777898311615, -0.11524706333875656, 0.2663256824016571, -1.145971655845642, 0.9029877185821533, 0.1915036141872406, -0.715094804763794, 0.3240011930465698, -0.41453057527542114, -0.051714058965444565, -0.0028565467800945044, 0.08265308290719986, -0.6029395461082458, 0.4698338806629181, 0.5118078589439392, 0.2334757298231125, -0.5964267253875732, -0.023015109822154045, -0.27924084663391113, -0.6271432042121887, 0.26676255464553833, -0.6836273074150085, 0.7533474564552307, 0.32956889271736145, -0.0866563692688942, -0.252995103597641, -0.7743653655052185, 0.1964433193206787, -0.04365801066160202, -0.37763509154319763, -0.4799686670303345, -0.18357303738594055, -0.39651352167129517, 0.026832224801182747, 0.11362539231777191, -0.42080506682395935, 0.3100026845932007, -0.3663731515407562, 0.2511030435562134, 0.7628000974655151, 0.15554815530776978, 0.6014060378074646, -0.1321205347776413, 0.6220313310623169, 0.3295242488384247, 0.0562269501388073, -0.05469655618071556, -0.2795495390892029, -1.1290384531021118, -0.7688578963279724, 0.6699686050415039, 0.23895497620105743, -0.9472255706787109, 0.027357429265975952, -0.6753416657447815, -0.45328235626220703, -0.9788628220558167, -0.09791011363267899, 0.44279173016548157, 0.3244633972644806, 0.38528504967689514, -0.218891441822052, -0.4447854161262512, -0.9375439882278442, 0.037972673773765564, -0.1709609478712082, -0.11934617906808853, -0.31031158566474915, 0.38726305961608887, -0.036349084228277206, 0.8992815017700195, -0.6764402389526367, -0.18925154209136963, 0.2881535291671753, 0.34216853976249695, -0.026889652013778687, 0.7403057813644409, -0.011083162389695644, -0.598457932472229, -0.3586157560348511, -0.36970072984695435, -0.3519490659236908, 0.17766627669334412, 0.2115572988986969, -0.17525789141654968, 0.3261605203151703, 0.44977110624313354, -0.6441954374313354, 0.8629903793334961, 0.40508440136909485, 0.03821374103426933, 0.2793135643005371, -0.24546167254447937, 0.1729927957057953, -1.0977954864501953, 0.21890617907047272, -0.4504097104072571, -0.27902936935424805, -0.5171425938606262, 0.1385151445865631, 0.3429560661315918, 0.010657968930900097, -0.358519583940506, 0.18174348771572113, -0.3608534038066864, 0.08100640028715134, -0.12399522960186005, -0.2266373485326767, 0.00991977658122778, 0.35929256677627563, 0.001822130405344069, 0.7950290441513062, 0.2848145067691803, -0.5012049674987793, 0.09264075011014938, 0.16569212079048157, -0.6599104404449463, 0.2518639862537384, -0.36869773268699646, 0.2531633973121643, -0.3065170347690582, 0.3425852358341217, -1.0562187433242798, 0.3404555022716522, -0.1129569336771965, -0.4363071918487549, 0.2693765461444855, -0.7055466175079346, -0.8764632940292358, 0.15765242278575897, -0.636299729347229, 0.9011204838752747, 0.6080945134162903, -0.5551825761795044, 0.17979702353477478, 0.20739813148975372, 0.1452084630727768, -0.7440801858901978, -0.8910126686096191, -0.22511278092861176, -0.23313099145889282, -0.5584657192230225, 0.41366884112358093, -0.20023493468761444, -0.26847177743911743, 0.0838303491473198, -0.3466061055660248, -0.1488277167081833, 0.02150656469166279, 0.12274344265460968, 0.12853841483592987, -0.4384881854057312, 0.2607385814189911, 0.2926972508430481, -0.5224853157997131, 0.00006574894359800965, -0.2506145238876343, 0.5634147524833679, -0.2681412398815155, -0.14068491756916046, -0.11781806498765945, 0.3706144392490387, 0.5389842987060547, -0.10730503499507904, 0.5557403564453125, 0.6451079249382019, -0.6159608364105225, -0.16156089305877686, -0.4018961787223816, -0.26889437437057495, -0.5060309767723083, 0.010438759811222553, -0.41409239172935486, -0.8654279708862305, 0.7726178169250488, -0.07012072950601578, -0.2949446141719818, 0.3495102822780609, 0.6856021285057068, 0.2662654221057892, 0.910880982875824, 0.4504369795322418, -0.1191924661397934, 0.2850787341594696, -0.9085844159126282, 0.21108461916446686, -0.880562961101532, 0.04399443417787552, -0.5061343312263489, -0.6812613606452942, -0.7734576463699341, -0.7101855278015137, 0.5046048164367676, 0.4439046382904053, -0.16530129313468933, 0.051996443420648575, -0.44246578216552734, 0.6852279305458069, 0.5773392915725708, 0.11151540279388428, 0.4153941571712494, 0.0922766700387001, -0.10002576559782028, -0.17746812105178833, -0.48818933963775635, 0.1871282458305359, 0.9611760973930359, -0.055704161524772644, 0.9817625284194946, 0.3094511330127716, 0.8936142921447754, 0.13908833265304565, 0.23307201266288757, -0.8247250914573669, 0.4638516306877136, -0.05613202601671219, -0.5059977769851685, -0.050690628588199615, -0.7335896492004395, -0.9298379421234131, 0.2633630633354187, -0.017130142077803612, -0.8010321855545044, 0.5451181530952454, 0.247682586312294, -0.3994391858577728, 0.30427438020706177, -0.6192454099655151, 0.6769387722015381, 0.5715920329093933, -0.16681545972824097, -0.40088674426078796, -0.6085461378097534, 0.4757908880710602, 0.13517996668815613, -0.06601542979478836, -0.0016073810402303934, 0.06982654333114624, 0.7932186722755432, -0.7538593411445618, 0.5468383431434631, -0.4299820065498352, -0.243399977684021, 0.366662859916687, 0.6717146039009094, 0.8102237582206726, 0.3638377785682678, 0.1418846994638443, 0.031512513756752014, 0.1690571904182434, -0.4786289632320404, -0.7607682347297668, 0.8502321839332581, -0.6288744211196899, -0.37653449177742004, -0.09204858541488647, -0.532966136932373, -0.27896198630332947, 0.13572372496128082, 0.4008761942386627, 0.40136393904685974, 0.14286398887634277, 0.36255860328674316, 0.8954720497131348, -0.054814860224723816, 0.6021019816398621, 0.46884459257125854, 0.30812570452690125, -0.8592814207077026, 1.0333348512649536, 0.0654170885682106, 0.3249043822288513, 0.8794822692871094, 0.17680300772190094, -0.3154912292957306, -0.43712809681892395, -0.23562154173851013, -0.050050389021635056, -1.058373212814331, -0.9003167748451233, -0.19065935909748077, -0.014637364074587822, -0.22837983071804047, -0.3092048168182373, -0.7621306777000427, -0.8124929070472717, -0.13558518886566162, 0.12588703632354736, 0.4770793914794922, -0.032558392733335495, -0.33140334486961365, 0.5624515414237976, -0.8826659917831421, 0.546016275882721, 0.24775439500808716, 0.17819859087467194, 0.09117090702056885, -0.2362801879644394, -0.47375595569610596, 0.15578843653202057, -0.2163119614124298, -0.5997716784477234, 0.5494012832641602, -0.07638203352689743, -0.0725904032588005, 0.4938386380672455, 0.5167722105979919, 1.0800411701202393, 0.1293460577726364, 0.5841524600982666, -0.011329968459904194, -1.161919355392456, 0.26510730385780334, -0.011259502731263638, 0.5516399145126343, 0.7121137380599976, 0.0727795958518982, -0.477223664522171, -0.22324125468730927, -0.6493235230445862, -1.0915076732635498, 0.5293543338775635, 0.26241832971572876, -0.09765460342168808, -0.003520350670441985, 0.18809889256954193, -0.06475543975830078, 0.19994033873081207, -0.44713425636291504, -0.4179282784461975, 0.04464421048760414, -0.17348119616508484, 0.11810469627380371, -0.33820730447769165, 0.19826887547969818, -0.3234614133834839, 0.5414390563964844, -0.16432097554206848, 0.7834277153015137, 0.14473570883274078, -0.5225877165794373, -0.31972402334213257, 0.29703113436698914, 0.5761625170707703, 0.22377759218215942, -0.4378759264945984, 0.5632899403572083, 0.1858372539281845, -0.7419558763504028, 0.2964678406715393, -0.09489903599023819, -0.2264764904975891, -0.04457209259271622, -0.12451290339231491, 0.5046502351760864, 0.2621583044528961, -0.304144948720932, 0.5229977965354919, -0.4188513457775116, 0.08243020623922348, -0.08194313198328018, -0.26561933755874634, 0.06227954477071762, 0.3028557002544403, 0.29068663716316223, -0.1098903939127922, 0.20899921655654907, 0.0029118775855749846, 0.03554953634738922, 0.48976609110832214, -0.32534921169281006, -0.37271779775619507, 0.6427899599075317, -0.05027016997337341, 0.2615353465080261, 0.9008011221885681, -0.31967321038246155, -0.2766270637512207, 0.3594381809234619, 0.5236778259277344, 1.2519675493240356, -0.17554548382759094, -0.1105630025267601, 0.27452823519706726, 0.35310447216033936, 0.06915925443172455, 0.6036579608917236, -0.5552221536636353, -0.6138999462127686, -0.752431333065033, -0.5708815455436707, -0.07036109268665314, 0.43679872155189514, -0.7668942809104919, 0.23776230216026306, -0.27028971910476685, 0.08753205090761185, -0.37537890672683716, 0.1959283947944641, -0.6099825501441956, 0.06220035254955292, -0.0500529482960701, 0.8332252502441406, -0.5925230383872986, 1.1567655801773071, 0.05036439374089241, -0.12193961441516876, -0.42027586698532104, -0.12502887845039368, -0.08004888147115707, -0.7403920292854309, 0.7488037943840027, 0.04209979623556137, -0.05239255726337433, 0.35946565866470337, -0.29793110489845276, -0.7842373251914978, 1.121115803718567, 0.824725329875946, -0.2282591611146927, 0.1944652497768402, 0.29905766248703003, 0.16647712886333466, 0.24131782352924347, 0.078693687915802, 0.514172375202179, 0.3713758885860443, 0.005502774845808744, -0.4848484396934509, 0.48427507281303406, -0.2669067680835724, 0.12167679518461227, 0.9077439308166504, -0.48485541343688965, 0.7729640007019043, -0.005957426968961954, -0.38920503854751587, 0.19511231780052185, 0.6043651103973389, 0.03890947997570038, -0.06864964962005615, 0.34739571809768677, 1.1142401695251465, 0.6079918146133423, -0.10869479924440384, 0.5618855953216553, -0.23815439641475677, 0.5107648968696594, 0.6673712730407715, 0.2297293096780777, 0.9499832391738892, 0.5906926989555359, -0.05315651372075081, 0.38271811604499817, 0.372877836227417, 0.38565587997436523, 0.829490065574646, 0.4386311173439026, -0.6799030900001526, -0.318143755197525, 0.23022758960723877, -0.3000526428222656, 0.4446229338645935, 0.4455500543117523, -0.09204765409231186, -0.49211418628692627, -0.2966555058956146, 0.17668858170509338, -0.749908983707428, -0.36888131499290466, 0.5791155695915222, -0.01978757604956627, -0.42206698656082153, 1.2117565870285034, 0.11272601038217545, 0.3263230621814728, -0.2806973159313202, -0.16799888014793396, -0.40319421887397766, 0.4459145665168762, 0.0596492663025856, -0.2593466639518738, 0.2038317173719406, -0.3281521201133728, -0.24088048934936523, -0.2160593867301941, 0.8220763802528381, -0.3694325089454651, -0.09190366417169571, -0.3536231815814972, 0.2092038094997406, 0.02782399021089077, -0.42120417952537537, 0.05393840745091438, 0.1457296758890152, -0.1796797662973404, -0.2086893767118454, 0.470571905374527, 0.386764258146286, -0.21430224180221558, 0.5712037682533264, 0.6916029453277588, 0.0003189567069057375, 0.07622262835502625, -0.41528674960136414, 0.9613068103790283, -0.7289026975631714, -0.535424530506134, -0.8902990818023682, 0.6341223120689392, 0.37482360005378723, -0.20312774181365967, 0.43583524227142334, 0.7825623154640198, 0.6140813231468201, -0.1601797342300415, 0.4418453574180603, 0.20094119012355804, -0.19652089476585388, -0.7655569911003113, 0.8660145998001099, -0.3572607636451721, 0.20837564766407013, -0.11414527148008347, -0.7374407052993774, -0.49821293354034424, 0.49911364912986755, 0.11939100921154022, -0.2022075653076172, 0.672825038433075, 0.9725555777549744, -0.06079842150211334, -0.22185909748077393, 0.46272847056388855, -0.0014202863676473498, 0.4132334291934967, 0.7120054364204407, 0.73399418592453, -0.7283080220222473, 0.8010165691375732, -0.44601091742515564, -0.07941038906574249, -0.43772080540657043, -0.9465954899787903, -0.4221813976764679, -0.7760186791419983, -0.3822605609893799, -0.45689746737480164, -0.1504923701286316, 0.5996378660202026, 0.7220263481140137, -0.6070940494537354, 0.1062251552939415, -0.36549755930900574, 0.19017422199249268, -0.14960940182209015, -0.2912129759788513, 0.6582419872283936, -0.1276969611644745, -0.5306925773620605, 0.47679734230041504, 0.3164052665233612, 0.1517069786787033, -0.3328986167907715, -0.06366477161645889, 0.33483555912971497, -0.0473933145403862, 0.41168344020843506, 0.18892766535282135, -0.24197600781917572, -0.11227906495332718, 0.07989409565925598, 0.18414562940597534, 0.17659048736095428, 1.161759376525879, -1.3837183713912964, 0.7983326315879822, 0.9111629128456116, 0.5627254247665405, 0.9891108870506287, -0.34659096598625183, 0.31246697902679443, -1.230131983757019, 0.24179627001285553, 0.2524062395095825, 0.28267067670822144, 0.08185282349586487, -0.27056625485420227, 0.26440662145614624, 0.2817201316356659, -0.4431404173374176, -1.0726194381713867, 0.12979251146316528, -0.9976558089256287, -0.010376888327300549, 0.9925976991653442, 0.06112758070230484, -0.36686989665031433, 0.10556256026029587, 0.06675685942173004, 0.5110668540000916, -0.5169583559036255, 1.0030310153961182, 0.47137030959129333, 0.29241079092025757, -0.24423477053642273, -0.34787532687187195, 0.7122523188591003, 0.3586439788341522, -0.46237125992774963, 0.43155327439308167, 0.2917161285877228, 0.067109115421772, 0.15953487157821655, 0.6217713356018066, -0.263589471578598, 0.4878147542476654, 0.22920429706573486, 0.24415408074855804, 0.012686418369412422, -0.04889405518770218, -0.5895472168922424, 0.010181427001953125, 0.13136409223079681, -0.5444618463516235 ]
http://arxiv.org/abs/2405.12579v2
http://arxiv.org/pdf/2405.12579v2
Mining the Explainability and Generalization: Fact Verification Based on Self-Instruction
2024-05-21T08:23:54
2024-05-23T08:02:37
Guangyao Lu, Yulin Liu
cs.CL
cs.CL
Fact-checking based on commercial LLMs has become mainstream. Although these methods offer high explainability, it falls short in accuracy compared to traditional fine-tuning approaches, and data security is also a significant concern. In this paper, we propose a self-instruction based fine-tuning approach for fact-checking that balances accuracy and explainability. Our method consists of Data Augmentation and Improved DPO fine-tuning. The former starts by instructing the model to generate both positive and negative explanations based on claim-evidence pairs and labels, then sampling the dataset according to our customized difficulty standards. The latter employs our proposed improved DPO to fine-tune the model using the generated samples. We fine-tune the smallest-scale LLaMA-7B model and evaluate it on the challenging fact-checking datasets FEVEROUS and HOVER, utilizing four fine-tuning methods and three few-shot learning methods for comparison. The experiments demonstrate that our approach not only retains accuracy comparable to, or even surpassing, traditional fine-tuning methods, but also generates fluent explanation text. Moreover, it also exhibit high generalization performance. Our method is the first to leverage self-supervised learning for fact-checking and innovatively combines contrastive learning and improved DPO in fine-tuning LLMs, as shown in the experiments.
[ -0.21345244348049164, -0.7797938585281372, 0.7773312330245972, -0.33265921473503113, -0.5555482506752014, 0.0036137797869741917, -0.14362572133541107, -0.13176141679286957, -0.15290281176567078, 0.5580483078956604, -0.6227559447288513, -0.7521551251411438, -0.7227842211723328, 0.26518985629081726, -0.2266065627336502, 1.1816492080688477, -0.026351366192102432, -0.2640015184879303, -0.19385354220867157, -0.02910998836159706, -0.3626169264316559, -0.2889184355735779, -0.3897918164730072, -0.3785664737224579, 0.2945235073566437, 0.9058876633644104, 0.6565806865692139, 1.3788756132125854, 0.39739492535591125, 0.34138503670692444, -0.05221542343497276, 0.7883933186531067, -0.5134239792823792, -0.35710498690605164, -0.4451133608818054, -0.5795597434043884, -0.48821261525154114, -0.06699556112289429, 0.19497376680374146, 0.27831193804740906, -0.2711983025074005, 0.4261433184146881, -0.05682888999581337, 0.6276770234107971, -0.5506337285041809, 0.32350343465805054, -0.8866364359855652, -0.253395676612854, 0.026547884568572044, -0.44529974460601807, -0.1380075067281723, -0.4904510974884033, -0.18653737008571625, -0.6285002827644348, 0.7158139944076538, 0.24603015184402466, 0.8476113080978394, 0.5783323049545288, -0.43415558338165283, -0.6841833591461182, -0.4176998734474182, 0.6774791479110718, -0.7359137535095215, 0.12563002109527588, 0.3004935681819916, 0.20626159012317657, -0.2208372950553894, -0.4856022894382477, -0.7777915596961975, -0.004221800249069929, -0.27307263016700745, 0.02660142071545124, -0.052319448441267014, 0.06241543963551521, 0.19095829129219055, 0.6380433440208435, -0.40863391757011414, 0.27459439635276794, -0.41920679807662964, -0.26421424746513367, 0.6698826551437378, 0.2081606686115265, 0.11313429474830627, -0.3634471297264099, -0.40334761142730713, 0.14763963222503662, -0.705443799495697, 0.07753341645002365, 0.28485578298568726, 0.26539021730422974, -0.08204329758882523, 0.4563560485839844, -0.6324428915977478, 0.5742997527122498, 0.4701286554336548, -0.4544699192047119, -0.0953206792473793, -0.32951071858406067, -0.4957384467124939, 0.2639524042606354, 0.44460904598236084, 0.5970649719238281, -0.0757579579949379, -0.21966572105884552, 0.0002908723254222423, -0.004744467791169882, -0.034592289477586746, -1.0029125213623047, -0.197440043091774, 0.28746065497398376, -0.6025310754776001, -0.557679295539856, -0.11271197348833084, -0.7931046485900879, -0.6204085350036621, -0.5496179461479187, 0.6671070456504822, -0.4553050398826599, 0.059310123324394226, 0.37418025732040405, 0.20638372004032135, 0.11866579204797745, 0.41562944650650024, -1.0488988161087036, -0.031059158965945244, 0.941740095615387, 0.7615829110145569, -0.005394435953348875, -0.14000119268894196, -0.44738665223121643, 0.21503899991512299, -0.4605556130409241, 0.7782144546508789, -0.4239303469657898, 0.08019046485424042, -0.3051348626613617, -0.08513874560594559, 0.10626392066478729, -0.569385826587677, 0.6256371736526489, -0.4422479569911957, 0.13274776935577393, -0.3528175354003906, -0.7909256815910339, -0.5262967944145203, 0.4478268623352051, -0.2906854450702667, 0.6419682502746582, -0.3210866153240204, -0.707040011882782, 0.4524751305580139, -0.5672374963760376, -0.38287651538848877, -0.2647683918476105, -0.11678541451692581, -0.6330690979957581, 0.15653254091739655, 0.6097193956375122, 0.5991454124450684, -0.18674828112125397, 0.4018692672252655, -0.3699752688407898, -0.39393913745880127, 0.10796251147985458, -0.32293373346328735, 0.5297098159790039, 0.38304147124290466, -0.41803497076034546, -0.03207109123468399, -1.134389877319336, -0.21762427687644958, 0.04993421956896782, -0.25796857476234436, -0.1104278638958931, 0.00778479827567935, -1.1442002058029175, -0.07311654090881348, 0.5245121717453003, -0.5413448810577393, 0.22466237843036652, -0.4006309509277344, 0.35290831327438354, 0.7853127121925354, 0.04949282854795456, 0.23008577525615692, -0.3747400939464569, 0.07326214760541916, 0.3158915638923645, 0.4279448688030243, -0.4594530165195465, -0.07399823516607285, -1.0403716564178467, -0.30150628089904785, 0.26824384927749634, 0.6349422335624695, -0.5106315612792969, 0.5053331851959229, -0.06581994891166687, -0.32412847876548767, -0.5461819171905518, 0.41728609800338745, 0.27147364616394043, 1.0104838609695435, 0.6810157299041748, 0.1798757016658783, -0.40316346287727356, -0.8710731267929077, -0.3044857680797577, 0.010896464809775352, 0.1299106329679489, 0.10997448861598969, 0.39513489603996277, -0.2275591343641281, 0.7232220768928528, -0.4698798954486847, -0.2514173984527588, 0.04422689601778984, 0.19015774130821228, 0.5223743915557861, 0.3979080319404602, 0.2485216110944748, -0.3200531005859375, -0.10439184308052063, -0.08938699215650558, -0.8072231411933899, -0.029056431725621223, -0.1080809086561203, 0.23629280924797058, 0.03713516145944595, 0.4247763752937317, -0.42064398527145386, 0.39999106526374817, 0.07774131000041962, -0.30898165702819824, 0.2289116084575653, -0.5317271947860718, 0.4489075839519501, -0.6966183185577393, -0.4123665392398834, -0.14434976875782013, -0.21841652691364288, -0.44246748089790344, 0.10484510660171509, 0.1438075751066208, 0.014411941170692444, -0.10907024145126343, -0.0359581857919693, -0.39753156900405884, 0.33187469840049744, -0.6341161727905273, 0.0006800605333410203, 0.09454642981290817, 0.3033142685890198, -0.4009934663772583, 0.6367138028144836, 0.668302059173584, -0.932474672794342, 0.3643770217895508, -0.016785860061645508, -0.3813026249408722, 0.3743925988674164, -0.6449750065803528, 0.0886976420879364, -0.28722432255744934, 0.054752618074417114, -0.9838460087776184, -0.3352348804473877, 0.22087940573692322, -0.18139110505580902, 0.2899322807788849, -0.5328738689422607, -0.5120283961296082, -0.18068435788154602, -0.25484853982925415, -0.11300536245107651, 0.5532165169715881, -1.0429996252059937, 0.5048626065254211, 0.05823925882577896, -0.03106181137263775, -0.6642456650733948, -0.21235030889511108, 0.0042961277067661285, -0.44179168343544006, -0.6470717787742615, 0.27137231826782227, -0.03563012182712555, -0.1456979662179947, -0.32253655791282654, -0.5164498686790466, -0.038664646446704865, 0.3568038046360016, 0.1911378651857376, 0.15414975583553314, -0.1954679638147354, 0.3076172173023224, 0.37737756967544556, -0.15506640076637268, 0.09362376481294632, 0.10645613074302673, 0.04333840683102608, -0.24505288898944855, -0.3653466999530792, -0.6732910871505737, -0.12784171104431152, 0.2926677167415619, -0.02679045870900154, 0.5626142024993896, 0.5276479125022888, -0.096733458340168, -0.28861933946609497, -0.7584004402160645, -0.433872789144516, -0.5210120677947998, -0.015000549145042896, -0.4771369397640228, -0.7590224146842957, 0.38782912492752075, -0.5555021166801453, 0.12705083191394806, 0.6410290598869324, 0.538816511631012, -0.14516806602478027, 0.9478132128715515, 0.49822521209716797, 0.11326738446950912, 0.13807448744773865, -0.10087605565786362, 0.15359488129615784, -0.3210386633872986, -0.3661655783653259, -0.38300076127052307, -0.1726527363061905, -0.624183714389801, -0.31127774715423584, 0.30385249853134155, 0.15269839763641357, -0.1669764220714569, -0.0941753089427948, -0.5642956495285034, 0.8077059388160706, 0.4235217273235321, 0.3603867292404175, 0.7315424084663391, 0.08016543835401535, 0.26166534423828125, 0.21141085028648376, -0.6450133323669434, -0.6458882689476013, 1.0548268556594849, 0.401616632938385, 1.1612112522125244, 0.0843561515212059, 0.9235628843307495, 0.48778805136680603, 0.056765224784612656, -0.47087204456329346, 0.4040890336036682, -0.38250020146369934, -0.47592034935951233, -0.32551509141921997, -0.4760628044605255, -0.7663024663925171, 0.22462168335914612, -0.31245195865631104, -0.35905808210372925, 0.1948765069246292, 0.7620241641998291, -0.5465235114097595, 0.16148905456066132, -0.9331187605857849, 0.6042219400405884, -0.45840150117874146, -0.36679336428642273, -0.7000313997268677, -0.39963650703430176, 0.5990561246871948, 0.29238012433052063, 0.4962601065635681, -0.430243581533432, -0.00036366446875035763, 0.39768385887145996, -0.5631000995635986, 1.0996434688568115, -0.2261362224817276, -0.2003983110189438, 0.16232720017433167, 0.10892175883054733, 0.5169870257377625, 0.43852517008781433, -0.20413124561309814, 0.15043239295482635, -0.06593255698680878, -0.194769024848938, -0.8883521556854248, 0.8316470384597778, -0.8032623529434204, -1.0547912120819092, -0.246665820479393, -0.3453448712825775, 0.041113246232271194, 0.11856938153505325, 0.16505049169063568, 0.44971656799316406, 0.0824483186006546, 0.18563306331634521, 1.0142987966537476, -0.016613688319921494, 0.011281045153737068, 1.001238226890564, 0.12152691185474396, -0.3358984887599945, 1.2368134260177612, 0.10298469662666321, -0.19668574631214142, 0.5541608333587646, 0.6314533352851868, -0.36410143971443176, -0.8971933722496033, -0.6737164258956909, 0.10078668594360352, -0.6808265447616577, -0.4468514323234558, -0.2908706068992615, 0.1028565987944603, -0.36266908049583435, 0.17995114624500275, -0.3256303071975708, -0.5117116570472717, -0.5496037006378174, -0.11642380803823471, 0.5436999797821045, 0.7775795459747314, -0.26746800541877747, 0.2941732108592987, -0.43162810802459717, 0.9054298996925354, 0.5346004366874695, 0.560825526714325, -0.2939983010292053, -1.0188082456588745, -0.2863970696926117, 0.12336530536413193, -0.31764766573905945, -0.7582857012748718, -0.16546986997127533, 0.36464810371398926, 0.44988343119621277, 0.48596838116645813, 0.29976189136505127, 0.7199162840843201, -0.2166624665260315, 0.4030355215072632, -0.11177824437618256, -0.9277483820915222, 0.9582871794700623, 0.06461213529109955, -0.22355221211910248, 0.5575652718544006, 0.2443983405828476, 0.1565011888742447, -0.14462749660015106, -0.7351908087730408, -0.5656403303146362, 0.6415947675704956, -0.05132853239774704, -0.06670328229665756, 0.11579927057027817, 0.8988425731658936, 0.4730461835861206, 0.05657103657722473, -0.4707723557949066, -0.446635365486145, -0.5035332441329956, -0.4574876129627228, -0.013287252746522427, -0.4407525360584259, -0.37587788701057434, -0.18308024108409882, 0.8067997694015503, -0.3522295355796814, -0.37830281257629395, 0.3275413513183594, -0.3124740719795227, -0.025874152779579163, 0.5813567638397217, 0.5112623572349548, 0.760373055934906, -0.2980915904045105, 0.47251689434051514, 0.494512677192688, -0.1409059315919876, 0.17596493661403656, 0.2614714503288269, -0.4112165868282318, -0.14656011760234833, 0.24778367578983307, 0.7789081335067749, 0.0653904378414154, -0.23962922394275665, 0.36991018056869507, 0.09364534914493561, -0.12192392349243164, 0.2516309916973114, 0.6520861387252808, -0.12000590562820435, 0.2406810224056244, 0.2039538472890854, -0.14798717200756073, 0.4530179798603058, -0.6001552939414978, 0.009916366077959538, 0.27750810980796814, 0.1590312421321869, -0.14321239292621613, 0.4620225429534912, 0.2512686848640442, 0.19319280982017517, 0.251753568649292, -0.32270169258117676, -0.2902628481388092, 0.6704667210578918, 0.462464302778244, 0.2857135236263275, -0.08725602924823761, 0.21426409482955933, 0.5336889624595642, 0.5645326375961304, -0.0055551654659211636, 0.21064648032188416, -0.18711820244789124, -0.5001593828201294, -0.46927377581596375, -0.450591117143631, -0.7311945557594299, 0.38869309425354004, -0.5051236748695374, 0.18493898212909698, -0.5447928309440613, 0.19162164628505707, 0.2545720636844635, 0.19870968163013458, -0.506945788860321, 0.6249979734420776, 0.003377140499651432, 0.7630380988121033, -0.8345409631729126, 0.4904295802116394, 0.42871421575546265, -0.22601960599422455, -0.5234725475311279, -0.1151718944311142, 0.011102911084890366, -1.1640664339065552, 0.41632938385009766, 0.22928836941719055, -0.3633194863796234, -0.19617153704166412, -0.7368155717849731, -0.7807939648628235, 1.189529538154602, 0.7044918537139893, -0.9088199138641357, 0.3311883211135864, 0.07614661753177643, 0.5302258133888245, -0.20341205596923828, 0.11019078642129898, 0.8721300363540649, 0.452544629573822, 0.17914171516895294, -0.3878817856311798, 0.23052100837230682, 0.30312788486480713, -0.46074047684669495, -0.2747519910335541, -0.877760112285614, 0.5843841433525085, -0.6941882967948914, -0.23747865855693817, -0.22063110768795013, 1.0460370779037476, 0.17414620518684387, 0.6833227276802063, 0.6403698325157166, 0.6485527753829956, 1.0380115509033203, 0.02934284135699272, 0.7746604681015015, -0.3840975761413574, 0.41962170600891113, 1.3261569738388062, 0.19614851474761963, 0.32680535316467285, 0.2196206897497177, -0.05544987693428993, 0.7854939103126526, 0.6303221583366394, -0.19881737232208252, 0.38766783475875854, 0.1218096986413002, -0.07646223157644272, -0.6172038316726685, 0.04918291047215462, -0.23532350361347198, 0.547602653503418, 0.374664843082428, -0.29885730147361755, -0.41182926297187805, -0.2582457363605499, -0.00042921368731185794, 0.14056487381458282, -0.5460343956947327, 0.9658751487731934, -0.17091494798660278, -0.6554616689682007, 0.6601386070251465, 0.08188772201538086, 0.4490357041358948, -0.2879596948623657, -0.11440317332744598, -0.2869645655155182, 0.2626951038837433, -0.4980468153953552, -0.9028078317642212, 0.18884322047233582, 0.20668262243270874, -0.4571719467639923, 0.17061585187911987, 0.8927431702613831, -0.4223540723323822, -0.3441196382045746, -0.23943443596363068, 0.3427063524723053, 0.13647563755512238, -0.035832181572914124, -0.6891940236091614, 0.07890315353870392, 0.151495099067688, 0.08016600459814072, 0.12648768723011017, 0.6476611495018005, 0.19825565814971924, 0.7851398587226868, 0.5336778163909912, -0.2683282792568207, -0.09633777290582657, 0.061728693544864655, 0.7321758270263672, -0.5104525089263916, -0.4543090760707855, -1.2491228580474854, 0.2051565945148468, -0.10909387469291687, -0.12811431288719177, 0.732105016708374, 0.7133722901344299, 0.47964659333229065, -0.04143794625997543, 0.7496323585510254, 0.15116742253303528, 0.7452779412269592, -0.7684077024459839, 0.3928578794002533, -0.42599567770957947, 0.31798407435417175, 0.34194350242614746, -0.16043685376644135, -0.02862267754971981, 0.4705798327922821, -0.2430577278137207, -0.23625008761882782, 0.3668752610683441, 0.9532341957092285, -0.3633032441139221, 0.04327644407749176, 0.23895502090454102, 0.5537062883377075, 0.10042227059602737, 0.17783038318157196, 0.6842010021209717, -0.39578676223754883, 0.7601044178009033, -0.5343259572982788, -0.4415101110935211, -0.49730584025382996, -1.2026541233062744, -1.1016201972961426, -0.09336493909358978, -0.6232550740242004, -0.15330487489700317, 0.0804029032588005, 0.5135731101036072, 0.8121086955070496, -0.9449177980422974, 0.28842729330062866, -0.03611413761973381, 0.7943517565727234, -0.09584677219390869, -0.15349772572517395, 0.49620094895362854, -0.5712946057319641, -0.40256449580192566, 0.603382408618927, 0.2603183686733246, 0.07318641990423203, 0.008285499177873135, 0.11450287699699402, 0.29596543312072754, 0.2785198390483856, 0.46771883964538574, 0.2363748699426651, -0.8365172147750854, -0.4163403809070587, -0.3437759578227997, 0.17532649636268616, 0.145422101020813, 0.7772562503814697, -0.519452691078186, 0.6279762983322144, 0.25424548983573914, 0.5360586047172546, 0.46389684081077576, 0.2670077681541443, 0.15169653296470642, -0.5735387206077576, -0.3653627336025238, -0.4552304446697235, 0.35978949069976807, 0.45851799845695496, -0.7200065851211548, 0.30677834153175354, 0.17206203937530518, -0.6854972839355469, -0.6047372817993164, 0.23503990471363068, -0.995066225528717, -0.18614111840724945, 0.7191781997680664, -0.05039631947875023, -0.20812787115573883, -0.20688080787658691, -0.25213873386383057, 0.4749510586261749, -0.3488655090332031, 1.4706079959869385, 0.41984623670578003, -0.3935075104236603, -0.1220804825425148, -0.08536352217197418, 0.6779439449310303, 0.13759905099868774, -0.9552382230758667, 0.4018752872943878, 0.393576979637146, 0.7696679830551147, 0.013609862886369228, 0.18752093613147736, 0.1717933565378189, 0.39756909012794495, -0.1889781504869461, -0.14632172882556915, -0.5918278098106384, -0.2571411430835724, -0.30698105692863464, 0.15664100646972656, 0.04611552506685257, -0.31721362471580505 ]
http://arxiv.org/abs/2405.13085v1
http://arxiv.org/pdf/2405.13085v1
Multi-domain Knowledge Graph Collaborative Pre-training and Prompt Tuning for Diverse Downstream Tasks
2024-05-21T08:22:14
2024-05-21T08:22:14
Yichi Zhang, Binbin Hu, Zhuo Chen, Lingbing Guo, Ziqi Liu, Zhiqiang Zhang, Lei Liang, Huajun Chen, Wen Zhang
cs.CL
cs.CL, cs.AI
Knowledge graphs (KGs) provide reliable external knowledge for a wide variety of AI tasks in the form of structured triples. Knowledge graph pre-training (KGP) aims to pre-train neural networks on large-scale KGs and provide unified interfaces to enhance different downstream tasks, which is a key direction for KG management, maintenance, and applications. Existing works often focus on purely research questions in open domains, or they are not open source due to data security and privacy in real scenarios. Meanwhile, existing studies have not explored the training efficiency and transferability of KGP models in depth. To address these problems, We propose a framework MuDoK to achieve multi-domain collaborative pre-training and efficient prefix prompt tuning to serve diverse downstream tasks like recommendation and text understanding. Our design is a plug-and-play prompt learning approach that can be flexibly adapted to different downstream task backbones. In response to the lack of open-source benchmarks, we constructed a new multi-domain KGP benchmark called KPI with two large-scale KGs and six different sub-domain tasks to evaluate our method and open-sourced it for subsequent research. We evaluated our approach based on constructed KPI benchmarks using diverse backbone models in heterogeneous downstream tasks. The experimental results show that our framework brings significant performance gains, along with its generality, efficiency, and transferability.
[ -0.629469096660614, -0.28514760732650757, 0.5415202379226685, 0.2269131988286972, -0.17471496760845184, 0.11697061359882355, -0.2575131356716156, -0.15682531893253326, 0.053140368312597275, 0.27528467774391174, -0.8108333945274353, -0.5096527934074402, -0.7430016398429871, 0.12854401767253876, 0.268118292093277, 0.9882214665412903, -0.09711796045303345, -0.12644833326339722, -0.3775795102119446, -0.3148878812789917, -0.7504773736000061, -0.37491580843925476, -0.7855274677276611, -0.27465155720710754, 0.8511644601821899, 0.515342652797699, 0.3894973397254944, 0.11463899910449982, 0.1855713427066803, 0.2816503643989563, 0.3072003424167633, 0.5370627045631409, -0.526390790939331, 0.20457644760608673, -0.2716911733150482, -0.09571242332458496, -0.4703952372074127, 0.14842376112937927, 0.3633645176887512, 0.8408753871917725, 0.1396794617176056, 0.24341271817684174, 0.5138680934906006, 0.795264482498169, -0.8556773066520691, 0.539035975933075, -0.39840856194496155, -0.07200226932764053, -0.04883696138858795, -0.12406502664089203, -0.5112171769142151, -0.473477303981781, 0.2766975462436676, -1.138984203338623, 0.07371038943529129, 0.17970000207424164, 0.7326593399047852, 0.318827360868454, -0.5276975035667419, -0.25802138447761536, -0.29712650179862976, 0.45945432782173157, -0.44114765524864197, 0.5728679895401001, 0.39587944746017456, 0.5155666470527649, -0.059565138071775436, -1.148657202720642, -0.4701344668865204, -0.10525444895029068, -0.3596544563770294, 0.11853376775979996, 0.019942622631788254, -0.000632869778200984, 0.05383622273802757, 0.0881839469075203, -0.5319989323616028, -0.0313476026058197, 0.07968681305646896, -0.3888419568538666, 0.33175626397132874, 0.060594502836465836, 0.043618809431791306, 0.14727932214736938, -0.3072131276130676, -0.17709222435951233, -0.43576928973197937, 0.2669561505317688, 0.403311550617218, 0.5820484757423401, -0.08233529329299927, 0.2286163568496704, -0.5635503530502319, 0.8462684154510498, 0.16129839420318604, -0.09405329823493958, 0.43092799186706543, -0.5251551866531372, -0.00833859946578741, -0.2809962034225464, 0.713123083114624, 0.21298840641975403, 0.2718486189842224, -0.46687567234039307, 0.11705190688371658, -0.2837819755077362, 0.4797690808773041, -0.8373219966888428, -0.5642054080963135, -0.01244542095810175, -0.3123166859149933, -0.1211782842874527, -0.33093443512916565, -0.5607072114944458, -0.5627056360244751, -0.6317517161369324, 0.6258220076560974, -0.6282116174697876, -0.3047344982624054, -0.07867234200239182, -0.13045404851436615, -0.33167850971221924, 0.40854156017303467, -0.7974209785461426, 0.09900208562612534, 0.41153886914253235, 0.7692979574203491, -0.16624797880649567, -0.5625439882278442, -0.6469694972038269, 0.2909577488899231, -0.020419854670763016, 0.842850923538208, -0.41694870591163635, -0.33003348112106323, -0.12716607749462128, 0.12021750211715698, -0.4973408877849579, -0.2755787968635559, 0.34226447343826294, -0.8261550068855286, 0.15073008835315704, -0.37077417969703674, -0.5958882570266724, -0.46272894740104675, 0.4751255214214325, -0.5522085428237915, 0.7021669745445251, 0.3354966640472412, -0.7495757937431335, 0.6620296835899353, -0.7973584532737732, -0.6649636626243591, 0.10123524814844131, 0.004114161245524883, -0.35214388370513916, -0.4023180902004242, 0.43803349137306213, 0.6255746483802795, -0.2168487012386322, 0.34182173013687134, -0.5073156952857971, -0.0014354679733514786, -0.36692729592323303, 0.039010196924209595, 0.6255931854248047, 0.15259991586208344, -0.09004656225442886, 0.3750854432582855, -0.7911095023155212, 0.3753521144390106, -0.1448889821767807, -0.2007310837507248, -0.47570663690567017, -0.3501667380332947, -0.3277265429496765, 0.08801566809415817, 0.18523626029491425, -0.13475900888442993, 0.4011909067630768, -0.011640062555670738, 0.23296675086021423, 0.7825814485549927, 0.09922876954078674, 0.5562055706977844, -0.21392466127872467, 0.5044600963592529, -0.0028968709520995617, 0.3290462791919708, -0.156767338514328, -0.6667968034744263, -0.38422366976737976, -0.46950700879096985, 0.4896808862686157, 0.29464444518089294, -1.037488341331482, 0.4327455759048462, -0.3857646882534027, -0.5068034529685974, -0.19991672039031982, 0.14596599340438843, 0.23890331387519836, 0.8844226598739624, 0.44274866580963135, -0.4195801317691803, -0.15682131052017212, -0.5064447522163391, -0.3468630015850067, 0.07769819349050522, 0.03080528788268566, 0.7104474306106567, 0.2246038168668747, -0.1849709302186966, 1.166473627090454, -0.7411386966705322, -0.4232814908027649, -0.10642075538635254, 0.44463711977005005, 0.07435030490159988, 0.42107364535331726, 0.47052082419395447, -0.9132452607154846, -0.8412083387374878, -0.03258134797215462, -0.5385844111442566, -0.08296116441488266, 0.2302783727645874, -0.4686254858970642, -0.2554810047149658, 0.3666742742061615, -0.6577344536781311, 0.04852036386728287, 0.5012080669403076, -0.3105592727661133, 0.5528968572616577, -0.02927960269153118, 0.3806155025959015, -1.310250997543335, 0.3007924258708954, -0.3330559730529785, -0.11174646764993668, -0.5985163450241089, -0.17853067815303802, 0.21571454405784607, -0.16465254127979279, -0.18375802040100098, 0.6329216957092285, -0.22674697637557983, 0.06634989380836487, -0.015852274373173714, -0.00017073321214411408, 0.22981823980808258, 0.8724031448364258, -0.05711432546377182, 0.767569363117218, 0.575171709060669, -1.0578230619430542, 0.3576209545135498, 0.3360239863395691, -0.2598109543323517, 0.5463570952415466, -0.3484898507595062, 0.22886091470718384, 0.08075403422117233, 0.32750293612480164, -0.9437850117683411, -0.2630138099193573, 0.45643794536590576, -0.3977142572402954, 0.29703131318092346, -0.47470831871032715, -0.422046422958374, -0.32174575328826904, -0.04964958503842354, 0.4573539197444916, 0.3741854131221771, -0.6734866499900818, 0.810892641544342, 0.1918409764766693, -0.30471134185791016, -0.6900035738945007, 0.07122021913528442, -0.3258953392505646, -0.07086467742919922, -0.7553467750549316, 0.39720168709754944, -0.05725408345460892, 0.4021819233894348, 0.1420918107032776, -0.09487222135066986, -0.29382604360580444, 0.14290361106395721, 0.37341880798339844, 0.04562516510486603, -0.2384154349565506, 0.27038612961769104, 0.17866143584251404, -0.1658422201871872, -0.17329835891723633, -0.8147174715995789, 0.5635929703712463, 0.11597578972578049, -0.36178624629974365, -0.13526903092861176, -0.017649028450250626, 0.4546301066875458, -0.39424607157707214, 0.6933978796005249, 0.9068321585655212, -0.029153412207961082, -0.35060355067253113, -0.3127545118331909, -0.10654877871274948, -0.547791063785553, 0.16265460848808289, -0.46001338958740234, -1.0163041353225708, 0.24931871891021729, -0.9341714382171631, -0.1122504398226738, 0.24131223559379578, 0.37520506978034973, 0.10305661708116531, 0.8286404013633728, 0.812426745891571, -0.16280417144298553, 0.34203898906707764, -0.2724573016166687, 0.32679957151412964, -0.5954490303993225, -0.23459209501743317, -0.4987000823020935, -0.13931207358837128, -0.0428050234913826, -0.0760229080915451, 0.4944521188735962, 0.43540331721305847, -0.3917592763900757, 0.24177142977714539, -0.28964462876319885, 0.4067564308643341, 0.8152409791946411, 0.041002124547958374, 0.10704846680164337, -0.08680225163698196, -0.4690314829349518, 0.24953626096248627, -0.9278474450111389, -0.12878099083900452, 1.1081773042678833, -0.1755184531211853, 0.31866633892059326, 0.0714418813586235, 0.45758917927742004, 0.4489680826663971, 0.4509914815425873, -0.6200701594352722, 0.38592469692230225, 0.016153864562511444, -0.2698652446269989, -0.4056195318698883, -0.6022053956985474, -0.842951238155365, 0.09754055738449097, -0.21320132911205292, -0.5788634419441223, 0.000008350231837539468, 0.399601012468338, -0.38437438011169434, 0.25380274653434753, -1.0030375719070435, 1.2069517374038696, 0.0390993095934391, -0.21169441938400269, -0.04173845052719116, -0.7366209626197815, 0.4086863100528717, -0.20492376387119293, 0.14109325408935547, -0.13491033017635345, 0.23949095606803894, 0.531480073928833, -0.3851456046104431, 0.742957353591919, -0.4830763638019562, 0.0622369721531868, 0.2898624539375305, -0.10528796166181564, 0.5880607962608337, 0.23917503654956818, 0.026909640058875084, 0.17871859669685364, -0.2749324440956116, -0.33890172839164734, -0.6987804174423218, 0.5239273905754089, -0.9275035262107849, -0.28714919090270996, 0.022950727492570877, -0.6339769959449768, -0.9166987538337708, 0.5597373843193054, 0.28156113624572754, 0.5634076595306396, 0.04207472503185272, -0.0730312243103981, 0.3567037582397461, -0.13093118369579315, 0.24975180625915527, 0.5515038967132568, 0.06371009349822998, -0.48635339736938477, 1.0025182962417603, -0.1472170054912567, 0.2461143434047699, 0.38549843430519104, 0.06705319136381149, -0.3894444704055786, -0.44841596484184265, -0.5979381799697876, -0.1984429955482483, -0.8386025428771973, -0.2585884928703308, -0.7435594797134399, -0.05484446510672569, -0.8328990936279297, -0.12562806904315948, -0.2235877811908722, -0.24318064749240875, -0.18011142313480377, 0.23053769767284393, 0.46013352274894714, 0.5438212752342224, -0.006074360106140375, 0.34170061349868774, -1.0293810367584229, 0.3743995428085327, 0.5661221742630005, 0.7077152729034424, 0.2985697090625763, -0.28349143266677856, -0.4503396451473236, -0.22283348441123962, -0.34027260541915894, -0.4170214831829071, 0.08560403436422348, 0.23880800604820251, 0.6130202412605286, 0.2984856367111206, 0.3633366525173187, 0.47391626238822937, -0.6843425035476685, 0.7149583101272583, 0.24145418405532837, -0.7149147987365723, 0.3484579622745514, -0.2796476185321808, 0.3610233962535858, 0.865385115146637, 0.9558441042900085, -0.33811190724372864, 0.030024120584130287, -0.40469518303871155, -0.738179624080658, 0.8904911875724792, 0.07032134383916855, -0.12327148020267487, 0.39194223284721375, 0.2819513976573944, 0.6015757918357849, 0.5196573734283447, -0.2314981371164322, -0.33180227875709534, -0.3360418975353241, -0.3042711615562439, -0.25303560495376587, 0.15491142868995667, -0.24050942063331604, -0.25761622190475464, 0.8347485661506653, -0.524652898311615, 0.08314163982868195, -0.09292269498109818, -0.23478466272354126, 0.32823553681373596, 0.06305690109729767, 0.21586845815181732, 0.6095649003982544, 0.03413459286093712, 0.06358059495687485, -0.0498269759118557, -0.7505030035972595, 0.2352212816476822, 0.3514779806137085, -0.011388554237782955, -0.28931525349617004, 0.27780604362487793, 0.8785500526428223, 0.01879234053194523, -0.24856097996234894, 0.5545194149017334, -0.13382472097873688, -0.31815600395202637, 0.20322781801223755, 0.15472039580345154, 0.15959182381629944, 0.34306249022483826, 0.11901751905679703, 0.48825064301490784, 0.07484308630228043, -0.2043018639087677, 0.13894954323768616, 0.2151886522769928, -0.24351437389850616, -0.23498377203941345, 0.49833086133003235, 0.4198119640350342, -0.1503569334745407, 0.6057994961738586, -0.4732903242111206, -0.5333594679832458, 0.36261722445487976, 0.15642423927783966, 0.7932589650154114, -0.04971686005592346, 0.4473066031932831, 0.19657525420188904, -0.0980018824338913, 0.08738341182470322, 0.07037936896085739, -0.499751478433609, -0.8260343670845032, -0.5383458733558655, -0.48369285464286804, -0.4843207597732544, 0.16332559287548065, -0.42073825001716614, 0.23366135358810425, -0.20228758454322815, -0.22704407572746277, 0.09491774439811707, -0.14747898280620575, -0.8092345595359802, 0.2402748465538025, -0.062044065445661545, 0.7323350310325623, -0.6023034453392029, 0.8787718415260315, 0.7951883673667908, -0.3245779573917389, -1.0748944282531738, -0.032232072204351425, -0.2999403476715088, -0.7579283714294434, 0.6945334076881409, 0.2258467674255371, -0.15912766754627228, 0.3768565058708191, -0.3878616988658905, -0.9566531181335449, 1.1846143007278442, 0.35707569122314453, -0.2289201319217682, -0.02622557431459427, 0.09926389157772064, 0.15628603100776672, -0.29321569204330444, 0.10080564022064209, 0.055570684373378754, 0.5362856984138489, 0.07592450827360153, -0.896353542804718, 0.08478741347789764, -0.24895153939723969, -0.37341564893722534, 0.19769473373889923, -0.7929815053939819, 0.8370600938796997, -0.019424308091402054, 0.007718960288912058, -0.20052048563957214, 0.3718078136444092, 0.13489489257335663, 0.5275725722312927, 0.7951922416687012, 0.521324634552002, 0.8747134804725647, 0.15620359778404236, 0.9045349955558777, -0.6749146580696106, 0.15137936174869537, 1.0417473316192627, -0.47880932688713074, 0.1977633535861969, 0.15187203884124756, -0.056817974895238876, 0.4701176881790161, 0.624011218547821, 0.19444268941879272, 1.0678025484085083, 0.012018016539514065, -0.3079430162906647, -0.24924476444721222, -0.11616883426904678, -0.470437616109848, -0.044529423117637634, 0.1425248384475708, -0.15684083104133606, -0.23443366587162018, 0.10303912311792374, -0.1236962154507637, -0.320451021194458, -0.42450302839279175, 0.7617568373680115, 0.07964744418859482, -0.8366382718086243, 0.4059622883796692, -0.18010202050209045, 0.48163628578186035, -1.0220437049865723, -0.07679889351129532, -0.016032524406909943, 0.19744329154491425, -0.10474180430173874, -0.4208332598209381, -0.12931619584560394, -0.279707133769989, -0.2503892779350281, -0.33209407329559326, 1.0528128147125244, -0.12015923857688904, 0.009176182560622692, 0.33007746934890747, 0.7417880892753601, -0.15487433969974518, -0.2936006784439087, -0.4964766502380371, -0.41869887709617615, -0.09029969573020935, -0.38986238837242126, 0.46090248227119446, 0.6034318208694458, 0.04601125791668892, 0.6399433612823486, 0.6680359840393066, -0.14608636498451233, 0.08894304186105728, 0.33855849504470825, 1.0213924646377563, -0.1514599770307541, -0.8041703701019287, -0.3991057276725769, 0.43162205815315247, -0.15552915632724762, -0.594978928565979, 0.8220943808555603, 0.37741097807884216, 0.980320155620575, -0.18529066443443298, 0.9512650370597839, -0.07330217212438583, 0.3319353461265564, -0.5713924765586853, 0.8579961061477661, -0.4633059799671173, -0.18463169038295746, -0.26917141675949097, -0.8346047401428223, -0.06665460020303726, 0.08009372651576996, -0.24876709282398224, 0.23700997233390808, 0.78568035364151, 0.4355809688568115, -0.3081011474132538, 0.3307224214076996, 0.08023570477962494, -0.07924220710992813, 0.11948742717504501, 0.3910534679889679, 0.6546749472618103, 0.05284405127167702, 0.6529978513717651, -0.28940892219543457, -0.1427077203989029, -0.02952757477760315, -0.9515489339828491, -0.9150235652923584, -0.7113627195358276, -0.24786576628684998, -0.13283966481685638, 0.12387801706790924, 0.6495479941368103, 1.1335240602493286, -0.6698611974716187, 0.234446719288826, -0.1999107301235199, 0.07770225405693054, -0.3022204339504242, -0.19996686279773712, 0.528191328048706, -0.7985622882843018, -0.17596571147441864, 0.4440248906612396, 0.07441077381372452, -0.17995519936084747, 0.07654101401567459, -0.1854989379644394, -0.0018031110521405935, -0.3025205433368683, 0.6684858798980713, 0.15808238089084625, -0.027793265879154205, -0.2909548580646515, -0.0870942696928978, 0.08429815620183945, -0.20468133687973022, 1.023438572883606, -0.9766844511032104, 0.2320714145898819, 0.37726375460624695, 1.0712276697158813, 0.4887217581272125, -0.0404391847550869, 0.653078019618988, -1.1437264680862427, 0.026273690164089203, 0.09047029912471771, 0.13701987266540527, 0.23105621337890625, -0.4207443296909332, 0.5684698820114136, 0.4496663510799408, -0.5693673491477966, -0.47703731060028076, 0.26280948519706726, -0.7887563109397888, -0.40566757321357727, 0.9000676870346069, -0.4900527596473694, 0.18059156835079193, -0.33952128887176514, -0.10042557865381241, 0.4065752923488617, -0.3120895028114319, 0.5486904978752136, 0.785304605960846, -0.280924528837204, 0.2125767171382904, -0.3518234193325043, 0.7833550572395325, 0.32819101214408875, -0.7957139015197754, -0.07353244721889496, 0.30485716462135315, 0.19731341302394867, 0.18689623475074768, 0.864193320274353, 0.373793363571167, 0.010702756233513355, 0.07570379227399826, -0.0022278171963989735, -0.45925194025039673, -0.5620888471603394, 0.021381905302405357, 0.4646869897842407, -0.05710906907916069, -0.1992170512676239 ]
http://arxiv.org/abs/2405.12564v1
http://arxiv.org/pdf/2405.12564v1
ProtT3: Protein-to-Text Generation for Text-based Protein Understanding
2024-05-21T08:06:13
2024-05-21T08:06:13
Zhiyuan Liu, An Zhang, Hao Fei, Enzhi Zhang, Xiang Wang, Kenji Kawaguchi, Tat-Seng Chua
q-bio.QM
q-bio.QM, cs.CL, cs.MM
Language Models (LMs) excel in understanding textual descriptions of proteins, as evident in biomedical question-answering tasks. However, their capability falters with raw protein data, such as amino acid sequences, due to a deficit in pretraining on such data. Conversely, Protein Language Models (PLMs) can understand and convert protein data into high-quality representations, but struggle to process texts. To address their limitations, we introduce ProtT3, a framework for Protein-to-Text Generation for Text-based Protein Understanding. ProtT3 empowers an LM to understand protein sequences of amino acids by incorporating a PLM as its protein understanding module, enabling effective protein-to-text generation. This collaboration between PLM and LM is facilitated by a cross-modal projector (i.e., Q-Former) that bridges the modality gap between the PLM's representation space and the LM's input space. Unlike previous studies focusing on protein property prediction and protein-text retrieval, we delve into the largely unexplored field of protein-to-text generation. To facilitate comprehensive benchmarks and promote future research, we establish quantitative evaluations for protein-text modeling tasks, including protein captioning, protein question-answering, and protein-text retrieval. Our experiments show that ProtT3 substantially surpasses current baselines, with ablation studies further highlighting the efficacy of its core components. Our code is available at https://github.com/acharkq/ProtT3.
[ -0.17693179845809937, -0.6726773381233215, 0.7369658350944519, -0.009570376016199589, -0.42936286330223083, 0.06652622669935226, 0.12586553394794464, -0.5582294464111328, -0.12075953185558319, 0.4310922622680664, -0.4768573045730591, -0.2584538757801056, -0.4729340672492981, 0.4111447334289551, -0.3898177742958069, 1.110335111618042, -0.14257198572158813, 0.17647665739059448, -0.26579341292381287, 0.10196901112794876, -0.2641206383705139, -0.20296743512153625, -0.19478625059127808, -0.45078229904174805, 0.5605030655860901, 0.5488176941871643, 0.8166828751564026, 0.687502920627594, 0.6696716547012329, 0.1451098769903183, 0.2179630696773529, 0.1278582215309143, -0.2723363935947418, 0.052639156579971313, 0.036913782358169556, -0.4937686622142792, -0.7392567992210388, 0.08147123456001282, 0.6213690638542175, 0.5695802569389343, 0.4602944254875183, -0.012048622593283653, 0.10510057955980301, 0.7965958118438721, -0.5966625809669495, 0.16561610996723175, -0.3859460651874542, 0.06973901391029358, -0.4220181703567505, -0.4080890119075775, -0.5191874504089355, -0.16438399255275726, 0.2859872281551361, -0.4689789414405823, 0.48576095700263977, 0.1978374868631363, 0.7459334135055542, -0.1615961343050003, -0.5090541839599609, -0.20759913325309753, -0.5254577994346619, 0.37660303711891174, -0.6336359977722168, 0.5556026697158813, 0.6682360172271729, 0.3252406418323517, -0.208378866314888, -0.9797507524490356, -0.826400637626648, -0.36969807744026184, -0.06634904444217682, 0.5237129926681519, -0.044529881328344345, 0.12198325246572495, -0.18751291930675507, 0.5065672397613525, -1.058308482170105, -0.2822522222995758, -0.2823047637939453, 0.14146146178245544, 0.2508540749549866, -0.28725388646125793, 0.4140909016132355, -0.4241357445716858, 0.07598353177309036, 0.03480454534292221, -0.8102350234985352, -0.38320332765579224, 0.09890460968017578, 0.218063622713089, 0.18572990596294403, 0.8192750811576843, 0.031782038509845734, 0.7707549333572388, -0.1671132743358612, 0.37070316076278687, 0.05781538039445877, -0.36794668436050415, -0.25329020619392395, -0.045211248099803925, 0.8624438643455505, 0.4106060564517975, 0.04236084967851639, -0.3237115144729614, 0.10282357037067413, -0.47866278886795044, 0.19377197325229645, -0.8508630394935608, -0.3792893588542938, 0.6650276780128479, -0.5023461580276489, -0.11349297314882278, 0.1714993715286255, -0.47952398657798767, -0.3234868347644806, 0.14448657631874084, 0.6908272504806519, -0.7561471462249756, -0.10675894469022751, 0.2951434552669525, -0.17342068254947662, -0.026342900469899178, 0.04948800429701805, -0.6264206171035767, 0.22874729335308075, 0.34300896525382996, 1.0953774452209473, -0.14292407035827637, -0.33561772108078003, -0.6164270043373108, 0.6834867000579834, 0.04487735405564308, 0.7192991971969604, -0.35566195845603943, -0.2673284411430359, -0.2438274770975113, -0.19250547885894775, 0.08936141431331635, -0.5427848100662231, 0.0847185030579567, -0.6203569769859314, 0.23278872668743134, -0.042153507471084595, -0.6558102369308472, -0.1311860829591751, -0.0676666796207428, -0.8785616755485535, 0.5235815048217773, 0.15277108550071716, -0.9409664869308472, -0.003213160904124379, -0.9199327230453491, -0.41209936141967773, 0.4931238889694214, -0.2589227855205536, -0.4423002600669861, 0.2447681427001953, 0.015199909918010235, 0.44769784808158875, -0.6400105953216553, 0.3290410339832306, -0.05400431901216507, -0.18573203682899475, 0.5617932677268982, 0.09833879768848419, 0.1402246206998825, 0.28979724645614624, -0.10767602175474167, 0.1688772439956665, -0.6204650402069092, 0.06014507636427879, 0.12798748910427094, -0.26772138476371765, 0.06353411078453064, 0.3135165572166443, 0.11710486561059952, 0.017760133370757103, 0.08178187906742096, -0.4949599802494049, 0.09714895486831665, -0.33990877866744995, 0.777402400970459, 0.33955010771751404, -0.05363846942782402, 0.4257848858833313, -0.4310568571090698, 0.29290464520454407, 0.005300561431795359, -0.01193950418382883, -0.1607656478881836, -0.40743783116340637, -0.5174473524093628, -0.13931037485599518, 0.32135331630706787, 0.4686204195022583, -0.886319100856781, 0.2685145139694214, -0.23265577852725983, -0.3734646737575531, -0.39719876646995544, -0.10629826784133911, 0.3537626266479492, 0.4484153389930725, 0.8950216770172119, 0.03185213357210159, -0.5871089100837708, -1.0108705759048462, -0.4389951825141907, -0.3551165461540222, -0.4464867115020752, -0.0348985530436039, 0.6866718530654907, -0.10801882296800613, 1.0565398931503296, -0.4556047022342682, -0.3080787658691406, -0.787860095500946, 0.40056490898132324, -0.02836301550269127, 0.7026669383049011, 0.09371277689933777, -0.8877184987068176, -0.319326788187027, 0.04028783738613129, -0.5792375206947327, -0.05484488606452942, -0.15003252029418945, -0.15006674826145172, -0.27852389216423035, 0.272212415933609, -0.47337400913238525, 0.08938541263341904, 0.5581820607185364, -0.3010953366756439, 0.5167977213859558, -0.012412025593221188, 0.018191341310739517, -1.1874741315841675, 0.35394278168678284, 0.06540971994400024, -0.45297932624816895, -0.7794694900512695, -0.10180393606424332, 0.10279223322868347, -0.07118493318557739, -0.5325303077697754, 0.5635699033737183, -0.35097628831863403, -0.1602359563112259, -0.30193257331848145, 0.16433162987232208, 0.19994768500328064, 0.13549770414829254, 0.2917722761631012, 0.8391202688217163, 0.11165954172611237, -0.43426603078842163, -0.04997413977980614, 0.486101359128952, -0.16383996605873108, 0.06438842415809631, -0.7414421439170837, 0.1116030216217041, 0.06277256458997726, 0.31807994842529297, -0.557548463344574, -0.5711924433708191, 0.40906086564064026, -0.6851542592048645, 0.06626924872398376, 0.1668790578842163, -0.5458402633666992, -0.24423174560070038, -0.47613897919654846, 0.4689510762691498, 0.22302024066448212, -0.14718084037303925, 0.656175434589386, 0.04975064843893051, -0.20437055826187134, -0.27875733375549316, -0.8593436479568481, 0.03376244381070137, 0.19589650630950928, -0.44323644042015076, 0.6690332293510437, -0.15748052299022675, 0.03578544408082962, -0.026968635618686676, -0.29158440232276917, -0.15956857800483704, -0.2266494184732437, 0.002358495956286788, -0.03311045840382576, 0.13320298492908478, 0.04201813414692879, -0.02321438305079937, -0.1451757699251175, -0.10862601548433304, -0.45142263174057007, 0.4923489987850189, -0.25088492035865784, -0.0738786980509758, -0.43633973598480225, 0.5858091115951538, 0.2438947707414627, -0.27481594681739807, 0.6826115250587463, 0.49757733941078186, -0.33024272322654724, 0.045066166669130325, -0.07867898046970367, -0.26509109139442444, -0.42983317375183105, 0.7184481620788574, -0.523587703704834, -0.8575088381767273, 0.31992483139038086, -0.03940945491194725, -0.08908235281705856, 0.38437479734420776, 0.31173643469810486, -0.4720480740070343, 1.0599312782287598, 0.755912721157074, 0.8884208798408508, 0.38206204771995544, -0.1962878406047821, 0.2533537745475769, -0.8354935646057129, -0.4537126123905182, -0.424600213766098, -0.2893925905227661, -0.3488849103450775, -0.5665154457092285, 0.3534145951271057, 0.4621783494949341, -0.25102564692497253, 0.43518590927124023, -0.1569904386997223, 0.45670175552368164, 0.5800402164459229, 0.4031333029270172, 0.29309019446372986, -0.17311781644821167, 0.03866200149059296, -0.15718021988868713, -0.7651170492172241, -0.6813455820083618, 0.7415837049484253, 0.42605435848236084, 0.3763951063156128, 0.24580979347229004, 0.5297967791557312, 0.26498547196388245, 0.32264992594718933, -0.7478917837142944, 0.5919939875602722, -0.30957743525505066, -0.27732759714126587, 0.061727654188871384, -0.48152482509613037, -0.5904771089553833, -0.15407802164554596, -0.16646048426628113, -0.5926700234413147, 0.08923192322254181, 0.3750896453857422, -0.22146746516227722, 0.17047812044620514, -0.6123895645141602, 0.9722049236297607, -0.25928059220314026, -0.6263211965560913, 0.1905059516429901, -0.8258731365203857, 0.31789958477020264, -0.34446263313293457, 0.152123361825943, 0.02716779336333275, -0.10780245065689087, 0.8699681162834167, -0.5444818735122681, 0.6095420718193054, 0.08427714556455612, -0.07706384360790253, 0.20215056836605072, 0.6344696283340454, 0.20715132355690002, 0.3456726670265198, -0.057205330580472946, -0.18827515840530396, 0.017381452023983, -0.4425742030143738, -0.5496735572814941, 0.3807796537876129, -0.7058541774749756, -0.32074639201164246, -0.22102424502372742, -0.6529552340507507, -0.34138116240501404, 0.25603339076042175, 0.4971482753753662, 0.4446089267730713, 0.18309286236763, 0.30163565278053284, 0.44698095321655273, -0.38089925050735474, 0.28391239047050476, 0.511141836643219, -0.25937366485595703, -0.6457186341285706, 0.956111490726471, -0.04445287212729454, 0.2391747087240219, 0.8297684192657471, 0.060263268649578094, -0.45121389627456665, -0.8834139108657837, -0.08725812286138535, 0.27382954955101013, -0.4985625147819519, -0.5708027482032776, -0.7122566103935242, -0.07514048367738724, -0.2572193741798401, -0.27397269010543823, -0.40098556876182556, -0.4105204641819, -0.3153339624404907, -0.08186445385217667, 0.3210170269012451, 0.7167415022850037, -0.1737411618232727, 0.6722337603569031, -1.1534488201141357, 0.6210495829582214, 0.06794751435518265, 0.44614100456237793, -0.39793631434440613, -0.3112542927265167, -0.437775194644928, -0.030554192140698433, -0.5003743171691895, -1.4062776565551758, 0.5063952207565308, 0.4994319975376129, 0.14991480112075806, -0.0564592219889164, 0.00009979338938137516, 0.3511214554309845, -0.4310550391674042, 0.8308513760566711, 0.28388580679893494, -1.2160096168518066, 0.9973682165145874, -0.3315332531929016, 0.48914098739624023, 0.4447816014289856, 0.584425687789917, -0.41597893834114075, -0.7287519574165344, -0.46158096194267273, -0.9255930781364441, 0.6717068552970886, 0.6725589036941528, -0.39542925357818604, -0.3710739314556122, 0.47607630491256714, 0.3974929451942444, 0.06555216759443283, -1.2006995677947998, 0.14409425854682922, -0.46624818444252014, -0.5268212556838989, 0.04642212390899658, -0.31474027037620544, -0.011123540811240673, 0.11255292594432831, 0.5599610805511475, -0.4333224296569824, 0.5624552369117737, 0.4766903519630432, -0.4392511248588562, 0.03479123115539551, 0.31152451038360596, 0.37646520137786865, 0.6530106067657471, -0.6747908592224121, 0.5356592535972595, -0.2887907922267914, -0.6316460967063904, -0.09822472184896469, 0.20869654417037964, 0.02182645909488201, -0.15999215841293335, 0.6353771090507507, 0.5798475742340088, -0.3264290690422058, -0.7017947435379028, 0.3521050810813904, -0.095515176653862, -0.4639708697795868, 0.43950551748275757, -0.23000136017799377, 0.0255136601626873, 0.228388249874115, 0.5945568680763245, -0.055054888129234314, 0.29871702194213867, -0.464692622423172, 0.34868016839027405, -0.0768715888261795, -0.28705069422721863, -0.5433984398841858, 0.9610939621925354, 0.3851052224636078, -0.23832301795482635, 0.45979273319244385, 0.050391923636198044, -0.40284407138824463, 0.3315938115119934, 0.8798846006393433, 0.9101633429527283, 0.0924893468618393, 0.32623690366744995, 0.20175990462303162, 0.09152457118034363, -0.07606153935194016, 0.6550561785697937, 0.018892228603363037, -0.5608152151107788, -0.5401507019996643, -0.6240997314453125, -0.28967663645744324, 0.4059443771839142, -0.42824864387512207, 0.13128608465194702, -0.2581096291542053, -0.20561140775680542, -0.023383814841508865, 0.07122952491044998, -0.3168753683567047, 0.18952524662017822, -0.163302481174469, 0.9750205278396606, -0.7970919609069824, 0.8815114498138428, 0.769142210483551, -0.6729568243026733, -0.3471812605857849, 0.2658335864543915, -0.23563580214977264, -0.21410013735294342, 0.7839434146881104, 0.3670191168785095, -0.11556653678417206, 0.4010845720767975, -0.4735710620880127, -0.3256717622280121, 0.9827665090560913, 0.4729098975658417, -0.6510404944419861, -0.03163069859147072, 0.41430509090423584, 0.40686914324760437, -0.21236424148082733, 0.32305052876472473, 0.5019627809524536, 0.44598543643951416, -0.1404591053724289, -0.6599536538124084, 0.1421932429075241, -0.31580498814582825, 0.0008409596048295498, -0.017187373712658882, -0.5237278938293457, 0.72846519947052, -0.16358323395252228, -0.06501912325620651, 0.07145906239748001, 0.895565927028656, 0.4574722647666931, -0.0006277816137298942, 0.03326038271188736, -0.031228968873620033, 0.39395803213119507, -0.14227205514907837, 0.9476045966148376, -0.09766151010990143, 0.07966919243335724, 1.123139500617981, -0.2533246576786041, 0.9296384453773499, 0.6142680644989014, -0.037860751152038574, 0.10583394020795822, 0.5926770567893982, 0.2221074253320694, 0.569760262966156, 0.2707933485507965, -0.19023168087005615, -0.23024502396583557, -0.09894154220819473, -0.4683797061443329, 0.3302119970321655, 0.2074326127767563, -0.2936919331550598, -0.03498246520757675, 0.2408151775598526, -0.0972750261425972, 0.1260491907596588, 0.0278607327491045, 0.7048094272613525, -0.05718672275543213, -0.2656765282154083, 0.3173567056655884, 0.06049017980694771, 0.20482906699180603, -0.6767818331718445, -0.19875365495681763, -0.4277806580066681, 0.047037817537784576, -0.05845251679420471, -1.0965232849121094, 0.42431125044822693, 0.07151246070861816, -0.3373628854751587, -0.34195467829704285, 0.5244964361190796, -0.4397636950016022, -0.2905292809009552, 0.23223435878753662, 0.7340039610862732, 0.11325118690729141, 0.010359502397477627, -0.6351686716079712, 0.18691708147525787, -0.10727794468402863, -0.3538672924041748, 0.1696193516254425, 0.2934934198856354, 0.13130402565002441, 0.5540112853050232, 0.1921658217906952, 0.10577305406332016, -0.3860752582550049, -0.007361372467130423, 0.7631747126579285, -0.7893466949462891, -0.18641126155853271, -0.8989527821540833, 0.3473776876926422, 0.13776716589927673, -0.05102216452360153, 0.3421092629432678, 0.8210773468017578, 0.720860481262207, -0.34271225333213806, 0.9151970744132996, -0.3021121621131897, 0.37700334191322327, -0.7136081457138062, 0.7535308003425598, -0.6555821299552917, 0.13046050071716309, -0.06301970779895782, -0.780364453792572, -0.858855128288269, 0.689475417137146, -0.07474323362112045, 0.060306668281555176, 0.9900286197662354, 0.6034127473831177, 0.16243845224380493, 0.19225525856018066, 0.01647457294166088, 0.3125092089176178, 0.6672898530960083, 0.6665587425231934, 0.866214394569397, -0.6737393736839294, 0.7005548477172852, 0.08417674154043198, -0.11522099375724792, -0.13237379491329193, -1.0655863285064697, -0.7055338025093079, -0.6912379860877991, -0.30970486998558044, -0.40488359332084656, 0.4481094181537628, 0.796994149684906, 0.6543999314308167, -0.6841987371444702, -0.3357956111431122, -0.6334658861160278, -0.27343806624412537, -0.19452889263629913, -0.1913207620382309, 0.4286310076713562, -0.16049525141716003, -0.6363690495491028, 0.5052897930145264, 0.351441353559494, 0.4011278450489044, 0.16750988364219666, -0.23716937005519867, -0.4684085547924042, -0.08455381542444229, 0.5995134115219116, 0.3814060688018799, -0.5539189577102661, -0.1851503700017929, 0.035303179174661636, 0.07173741608858109, 0.04108281061053276, 0.8738000392913818, -0.743246853351593, 0.2901511788368225, 0.6982030868530273, 0.5057181715965271, 0.41757506132125854, -0.137671560049057, 1.203651785850525, -0.8333128690719604, -0.2321387678384781, 0.3018232583999634, 0.010722290724515915, 0.3684748411178589, -0.1843836009502411, 0.4664844870567322, 0.2006247490644455, -0.4567417502403259, -0.7756105661392212, 0.28134843707084656, -1.0449820756912231, -0.5813799500465393, 0.8658020496368408, 0.130514994263649, -0.19421608746051788, -0.05053066462278366, -0.27902260422706604, 0.6786297559738159, -0.09553499519824982, 0.5260884165763855, 0.3669416010379791, -0.47746169567108154, -0.32347571849823, -0.8283047676086426, 0.8607015013694763, 0.5178125500679016, -0.9759149551391602, 0.44667765498161316, 0.408168226480484, -0.14913231134414673, -0.11606495827436447, 0.8283481597900391, -0.10475459694862366, 0.3760559558868408, -0.2327563464641571, 0.04442497715353966, -0.3240862190723419, -0.5529426336288452, 0.09923937171697617, 0.19315515458583832, 0.043168842792510986, 0.001164993504062295 ]
http://arxiv.org/abs/2405.13084v1
http://arxiv.org/pdf/2405.13084v1
The 2nd FutureDial Challenge: Dialog Systems with Retrieval Augmented Generation (FutureDial-RAG)
2024-05-21T07:35:21
2024-05-21T07:35:21
Yucheng Cai, Si Chen, Yi Huang, Junlan Feng, Zhijian Ou
cs.CL
cs.CL, cs.AI
The 2nd FutureDial Challenge: Dialog Systems with Retrieval Augmented Generation (FutureDial-RAG), Co-located with SLT 2024
[ -0.18832486867904663, -0.4136993885040283, 0.5084654688835144, -0.0375499427318573, -0.12933920323848724, 0.6461734771728516, 0.7124574780464172, -0.9331856369972229, 0.44777652621269226, 1.0576015710830688, -1.129664421081543, 0.24938428401947021, -0.25995272397994995, 0.19021455943584442, -0.28605642914772034, 0.8196293115615845, 0.07311025261878967, 0.17203916609287262, -0.5218275189399719, -0.15284302830696106, -0.8485981225967407, -0.6461725831031799, -0.5710594654083252, -0.49517562985420227, -0.022425701841711998, 0.4459458887577057, 0.5555478930473328, -0.3667963743209839, 0.3503648340702057, 0.3505014181137085, 0.032578542828559875, 0.3997117877006531, -0.3275974988937378, 0.5741972327232361, -0.07963881641626358, -0.14039435982704163, -0.6435506939888, -0.07171354442834854, 0.2714429199695587, 0.21362659335136414, 0.27874529361724854, 0.5670260787010193, -0.2989121675491333, 0.6198374032974243, -0.3469908833503723, 0.10296367853879929, -0.5238630175590515, 0.2415553331375122, -0.08967509120702744, -0.8136820793151855, -0.522742509841919, -0.43057191371917725, 0.20618554949760437, -0.5046164989471436, 0.07904262095689774, 0.5154041647911072, 0.9110153317451477, 0.32122671604156494, -0.5955705642700195, -0.6057919263839722, -0.5389589667320251, 0.6801968216896057, -0.3509616553783417, 0.6886008977890015, 0.4337204098701477, 0.15295009315013885, -0.15812456607818604, -0.7252815365791321, -0.37739142775535583, -0.1047649160027504, 0.25427111983299255, 0.27237072587013245, 0.1741742193698883, -0.016110610216856003, 0.017691586166620255, -0.021229514852166176, -0.5989360213279724, -0.28550800681114197, -0.3295763432979584, -0.6590030789375305, 0.3948831558227539, 0.39622822403907776, -0.12797802686691284, -0.2951752543449402, -0.5440292358398438, 0.1972212940454483, -0.684444785118103, -0.426146537065506, 0.25036531686782837, -0.07622908800840378, 0.145565927028656, 0.6005814075469971, 0.12354571372270584, 0.37039220333099365, 0.18409463763237, -0.14220741391181946, 0.5303940176963806, -0.8532524108886719, 0.132048562169075, -0.15620458126068115, 0.1654442399740219, 0.4527026116847992, -0.25651785731315613, 0.2680467665195465, -0.5050663948059082, -0.5345642566680908, -0.04273567348718643, -0.5642077922821045, -0.012036667205393314, 0.09417963027954102, -0.5643972754478455, -0.22572258114814758, -0.32847651839256287, -0.8237939476966858, -0.388489693403244, -0.2881014943122864, 0.47893890738487244, 0.05583290010690689, -0.4858293831348419, -0.3908742666244507, -0.27419236302375793, 0.23809148371219635, 0.5798441767692566, -0.9466497898101807, 0.42738938331604004, 0.8878283500671387, 0.6271886825561523, 0.062375474721193314, 0.2719651758670807, -0.5583175420761108, 0.3230486214160919, -0.20193837583065033, 0.9746693968772888, -0.6492068767547607, -0.8873240947723389, -0.19110004603862762, -0.06663597375154495, 0.17516401410102844, -0.7903445363044739, 0.5713282227516174, -0.9643892645835876, 0.5780853033065796, -0.3245701193809509, -0.5115392208099365, 0.15310871601104736, 0.10922858119010925, -0.3472708761692047, 1.2183103561401367, 0.34608328342437744, -0.5121458172798157, 0.12833480536937714, -0.7661350965499878, -0.14316615462303162, 0.7395710945129395, -0.41466987133026123, -0.4327835738658905, 0.2584385275840759, -0.31541311740875244, -0.19980363547801971, -0.39089739322662354, 0.11733391880989075, -0.17455239593982697, -0.2512754499912262, -0.1966886967420578, -0.7642713189125061, 0.6456938982009888, 0.40635499358177185, -0.33146268129348755, 0.03502260148525238, -0.6708987355232239, 0.48580119013786316, 0.3411030173301697, -0.11712897568941116, -0.0605025589466095, -0.2141178846359253, 0.21587269008159637, 0.15074343979358673, 0.9644720554351807, -0.5173367261886597, 0.10265838354825974, 0.08309289067983627, 0.17834703624248505, 0.882906436920166, 0.1585044413805008, 0.3046521842479706, -0.34787315130233765, 0.6324271559715271, -0.12724705040454865, 0.4145277142524719, -0.22942663729190826, -0.6295862197875977, -0.8661285638809204, 0.5035151243209839, -0.06336807459592819, 1.1771595478057861, -1.2235513925552368, 0.09779014438390732, -0.02654966339468956, -0.18098120391368866, 0.10431523621082306, -0.22971263527870178, 0.6346529126167297, 0.5009076595306396, 0.21856346726417542, -0.31024739146232605, -0.8742754459381104, -0.8736773133277893, 0.05445590987801552, -0.49610501527786255, 0.5215067267417908, 0.8006983995437622, 0.6268352270126343, -0.2935498058795929, 0.7319281697273254, -0.3801649510860443, -0.03491366282105446, 0.022242199629545212, 0.16378839313983917, 0.02473415434360504, 0.5159478187561035, 0.12659022212028503, -1.5011284351348877, -0.6337066292762756, -0.2679295837879181, -0.6050798892974854, -0.31894075870513916, 0.07594528049230576, 0.27790793776512146, 0.5818148255348206, 0.6794199347496033, -0.5946362018585205, 0.43458038568496704, 0.6059277057647705, -0.5407822132110596, 1.1792622804641724, -0.2714811861515045, 0.1773892045021057, -0.9931442737579346, -0.3136032819747925, -0.5107411742210388, -0.558081328868866, -0.5423546433448792, -0.3227619528770447, -0.11213614791631699, -0.5597290992736816, -0.3398038148880005, 0.7959427833557129, -0.6398219466209412, -0.5714967846870422, -0.21121415495872498, -0.12339100986719131, -0.07233402878046036, 0.13084949553012848, -0.271902471780777, 1.551997423171997, -0.20966920256614685, -0.35432106256484985, 0.6219838857650757, 0.4964736998081207, -0.3098560869693756, 0.7066963315010071, -0.6544560790061951, 0.4691613018512726, 0.13275279104709625, 0.8734597563743591, -0.5445568561553955, -0.46729812026023865, 0.126595139503479, -0.8482799530029297, 0.04996609687805176, 0.10295846313238144, -0.6042803525924683, -0.576252281665802, -0.10182636976242065, 0.6650371551513672, 0.5447093844413757, -0.46202704310417175, 0.6917692422866821, 0.6724072098731995, -0.482740581035614, -0.5617510080337524, -0.23153549432754517, 0.4464877247810364, -0.15477995574474335, -0.49956685304641724, 0.2841963469982147, -0.33412742614746094, -0.31984367966651917, -0.157601997256279, 0.0018276518676429987, 0.13643726706504822, -0.15492533147335052, 0.2530169188976288, 0.36578765511512756, 0.06624148041009903, -0.016933713108301163, 0.04278568923473358, -0.4682888388633728, 0.008093159645795822, -0.5557911396026611, 0.908326268196106, -0.21843574941158295, -0.4623700678348541, -0.5971964001655579, 0.8742449879646301, 0.5648226141929626, -0.07113322615623474, 0.23947733640670776, 0.5916244387626648, -0.3131083846092224, 0.29927146434783936, -0.9123695492744446, -0.17984884977340698, -0.5965988636016846, 0.45917466282844543, -0.736958920955658, -1.2356009483337402, 0.43971484899520874, -0.4636734127998352, 0.23129938542842865, 0.41315457224845886, 0.7692779302597046, -0.2307872325181961, 1.280767560005188, 0.7453932166099548, 0.25980645418167114, 0.6839357614517212, -0.09278351068496704, 0.10201820731163025, -1.082026720046997, -0.5467270612716675, -0.37894299626350403, 0.3309900164604187, -0.36121344566345215, -0.31748542189598083, 0.6636767387390137, 0.1140388697385788, -0.4709837734699249, 0.5185737013816833, -0.4463622272014618, 0.29584330320358276, 0.7524248361587524, 0.05157453939318657, 0.260068416595459, -0.17667055130004883, -0.2120535522699356, -0.2264954000711441, -0.253920316696167, -0.5713755488395691, 0.8511650562286377, 0.17493166029453278, 0.3565908372402191, 0.2808034121990204, 1.0034050941467285, 0.5850136280059814, -0.1421957165002823, -0.260591059923172, 0.9760932326316833, -0.12353536486625671, -0.7372927069664001, -0.24760888516902924, -0.22771863639354706, -0.7823219299316406, 0.09490006417036057, 0.019182614982128143, -1.0341838598251343, 0.09447649866342545, 0.26306506991386414, -0.3785908818244934, -0.03600073605775833, -0.7729746103286743, 0.37959206104278564, -0.33630654215812683, -0.3512488901615143, -0.18871788680553436, -0.8579493165016174, 0.048072680830955505, 0.009266990236938, 0.31351301074028015, -0.18804411590099335, -0.23351794481277466, 0.5391463041305542, -0.5515788197517395, 0.4327312707901001, -0.43668824434280396, -0.26632970571517944, 0.5205482840538025, 0.0024206077214330435, 0.7858757972717285, 0.5077537298202515, 0.04069138690829277, -0.6372170448303223, 0.17952293157577515, -0.25153401494026184, -0.32882100343704224, 0.5190898776054382, -0.3286114037036896, -0.8503509759902954, -0.5579873323440552, -0.634946882724762, -0.2623578608036041, 0.4579916000366211, 0.40276268124580383, 1.2004929780960083, -0.16290105879306793, -0.18717233836650848, 0.8887090086936951, -0.26588886976242065, 0.3181806802749634, 0.2864305078983307, -0.5453564524650574, -0.6651827096939087, 1.4497065544128418, -0.05921730026602745, 0.5333500504493713, 0.475773423910141, -0.08866514265537262, -0.5782979130744934, -0.6875760555267334, -0.49929654598236084, -0.12213931232690811, -0.46996116638183594, -0.2637292146682739, -0.8025318384170532, -0.34210896492004395, -0.8965141773223877, -0.22438381612300873, -0.48476436734199524, -0.6737167835235596, -0.596974790096283, 0.29470905661582947, 0.2980371415615082, 0.9608537554740906, -0.437961220741272, -0.09061170369386673, -0.9910596609115601, 0.49113932251930237, 0.508076548576355, 0.20269504189491272, -0.3549192547798157, -0.5722548365592957, -0.12006797641515732, 0.07761210203170776, -0.7309290170669556, -0.518662691116333, 0.39950451254844666, 0.002081835176795721, 0.18596766889095306, -0.2516532838344574, -0.05463814735412598, 0.65948086977005, -0.9179618954658508, 1.2552334070205688, 0.4671460688114166, -0.765639066696167, 0.6217958927154541, -0.5791165828704834, 0.3374069631099701, 0.751180112361908, -0.35292088985443115, -0.42488032579421997, -0.06725050508975983, -0.9295352697372437, -1.0046031475067139, 0.17361314594745636, 0.018657095730304718, 0.2965068221092224, 0.08651906251907349, 0.07173123210668564, 0.3138161897659302, 0.1543988734483719, -0.49530327320098877, -0.14623834192752838, 0.007550008129328489, -0.12679244577884674, 0.3079769015312195, -0.6473890542984009, 0.13378100097179413, 0.04079059511423111, 0.7655053734779358, -0.03779618814587593, 0.8556104898452759, 0.08852063119411469, 0.07531630247831345, 0.09326506406068802, 0.22900880873203278, 1.1661773920059204, 0.4074056148529053, -0.2947239577770233, -0.2772909998893738, 0.4182814657688141, -0.6638731956481934, 0.21006834506988525, 0.03379274159669876, -0.3528579771518707, 0.14194129407405853, 0.23686733841896057, 1.0116022825241089, 0.2366524487733841, -0.6833620667457581, 0.40875381231307983, -0.18650054931640625, -0.18687616288661957, -1.3849507570266724, -0.2647440433502197, -0.06274178624153137, 0.5980646014213562, 1.0129235982894897, 0.22642648220062256, 0.4458406865596771, -0.48630401492118835, 0.39121177792549133, 0.5122069716453552, -0.5464333295822144, -0.0038289225194603205, 0.759940505027771, 0.6028960943222046, -0.9247241020202637, 0.4383145868778229, -0.7170085906982422, -0.9600228667259216, 0.4347452223300934, 0.798008143901825, 0.8800599575042725, -0.02375410869717598, 0.06334235519170761, 0.15302059054374695, -0.24059368669986725, -0.0318572036921978, 0.6696483492851257, -0.10236294567584991, -0.44911888241767883, -0.41163283586502075, -0.30344250798225403, -0.795371413230896, 0.006701867561787367, -0.5858193039894104, 0.1627359390258789, -0.09489262849092484, -0.5384342670440674, -0.4543013274669647, 0.4888180196285248, -0.2592836618423462, 0.27011212706565857, 0.02707824669778347, 0.9174535870552063, -0.19689695537090302, 0.6270045638084412, 0.43223363161087036, 0.17205503582954407, -0.3831957280635834, -0.26196858286857605, 0.46882468461990356, -0.8371372222900391, 0.8930802941322327, 0.175728440284729, -0.4629862308502197, 0.16439206898212433, -0.5101407170295715, -1.0897431373596191, 1.2745462656021118, -0.16028839349746704, -0.30785977840423584, -0.3312452733516693, -0.2568088173866272, 0.2044840306043625, -0.0970383733510971, 0.44921454787254333, 0.43986621499061584, 0.467783123254776, 0.32166048884391785, -1.6557388305664062, -0.4808245599269867, -0.4801613986492157, -0.08318259567022324, 0.43621188402175903, -1.1187927722930908, 0.5910106301307678, -0.3803795874118805, -0.20996618270874023, 0.830792248249054, 1.0795384645462036, 0.7018247246742249, 0.6057097315788269, 0.5272353887557983, 0.6165958642959595, 0.47453251481056213, -0.13325656950473785, 0.66668301820755, 0.030003182590007782, 0.4662041962146759, 1.4799154996871948, -0.3344089984893799, 0.6448588371276855, 0.5146352052688599, -0.17185863852500916, 0.4946616291999817, 0.785817563533783, 0.1708677113056183, 0.797626256942749, -0.14395006000995636, -0.7663612961769104, 0.08638403564691544, -0.6406535506248474, -0.7720028162002563, 0.4920040965080261, 0.7919403910636902, 0.18553760647773743, 0.07066261023283005, 0.18903762102127075, -0.22895656526088715, 0.1058969795703888, -0.17459751665592194, 1.0349950790405273, -0.03831341490149498, -0.645036518573761, 0.48231080174446106, -0.5180227756500244, 0.812000572681427, -0.30933678150177, -0.2320040911436081, -0.04686889797449112, 0.34439125657081604, -0.05355506017804146, -0.626112163066864, 0.13641825318336487, -0.2500123679637909, -0.08549077808856964, -0.6135252118110657, 1.027766466140747, -0.2669827342033386, -0.4283768832683563, 0.07666859030723572, 0.3922330439090729, 0.25538209080696106, 0.4512430429458618, -0.9590402245521545, 0.19369302690029144, 0.30356067419052124, -0.22105954587459564, 0.3088948726654053, 0.23987609148025513, -0.20451103150844574, 0.9441823363304138, 0.38426628708839417, -0.07424059510231018, 0.26617154479026794, 0.26998457312583923, 0.6988798379898071, -0.5439807772636414, -0.34506386518478394, -0.22168178856372833, -0.025321561843156815, -0.31931066513061523, -0.21014821529388428, 0.5330795049667358, 0.9491904973983765, 0.5618036389350891, -0.013617314398288727, 0.8702149391174316, -0.3498198688030243, 1.1444683074951172, -0.32751426100730896, 0.20865492522716522, -0.696958601474762, -0.0967654436826706, -0.2821257710456848, -0.7596688270568848, 0.14585882425308228, 0.0901813730597496, -0.008482435718178749, 0.20161177217960358, 0.5854076147079468, 0.6101117134094238, 0.509325385093689, 0.4321781098842621, 0.2008245438337326, -0.21186064183712006, 0.6611221432685852, 0.7010286450386047, 0.8550257086753845, -0.6665380597114563, 0.36755919456481934, -0.006091542076319456, -0.3686479926109314, -0.42664477229118347, -0.5563251376152039, -0.43236973881721497, -1.0371209383010864, 0.17625436186790466, -0.5447066426277161, 0.1634233444929123, 1.0324751138687134, 0.7165014147758484, -0.9203898906707764, -0.06549017876386642, -0.03410791978240013, -0.1056053638458252, 0.2716176509857178, -0.23059597611427307, 0.2281421273946762, -0.11918210238218307, -0.8092041611671448, 0.4738777279853821, 0.5791220664978027, 0.5042035579681396, -0.2919534742832184, -0.10231729596853256, -0.11656574159860611, -0.12755508720874786, 0.9401929378509521, 0.4021594226360321, -0.8132335543632507, -0.552226185798645, 0.01387016847729683, 0.006807204335927963, -0.28724193572998047, 0.8373304605484009, -0.8386025428771973, 0.3559597134590149, 0.36879441142082214, 0.554782509803772, 0.40809905529022217, 0.23150090873241425, 0.7190074920654297, -0.3168998062610626, 0.5067441463470459, 0.6438118815422058, -0.07229499518871307, 0.10722275078296661, -0.4975299835205078, 0.5722925066947937, 0.5747004151344299, -0.9335770606994629, -0.9838000535964966, 0.7140132188796997, -1.0468636751174927, 0.23569971323013306, 0.8417702317237854, 0.39355239272117615, 0.29050153493881226, -0.718465268611908, -0.5115571022033691, 0.05352756381034851, -0.6506384015083313, 0.1254117488861084, 0.5091884136199951, -0.602377712726593, -0.5268943905830383, -1.0777169466018677, 0.551638662815094, 0.5859380960464478, -0.9445674419403076, -0.11538966000080109, 0.4907427728176117, -0.17077098786830902, 0.3731697201728821, 1.0397719144821167, -0.5499920845031738, 0.4664202928543091, 0.19241830706596375, -0.557503879070282, 0.03745719790458679, -0.3936695158481598, 0.29753193259239197, -0.06029457971453667, -0.19378940761089325, 0.08743385225534439 ]
http://arxiv.org/abs/2405.12532v2
http://arxiv.org/pdf/2405.12532v2
PyramidInfer: Pyramid KV Cache Compression for High-throughput LLM Inference
2024-05-21T06:46:37
2024-06-05T09:01:24
Dongjie Yang, XiaoDong Han, Yan Gao, Yao Hu, Shilin Zhang, Hai Zhao
cs.CL
cs.CL
Large Language Models (LLMs) have shown remarkable comprehension abilities but face challenges in GPU memory usage during inference, hindering their scalability for real-time applications like chatbots. To accelerate inference, we store computed keys and values (KV cache) in the GPU memory. Existing methods study the KV cache compression to reduce memory by pruning the pre-computed KV cache. However, they neglect the inter-layer dependency between layers and huge memory consumption in pre-computation. To explore these deficiencies, we find that the number of crucial keys and values that influence future generations decreases layer by layer and we can extract them by the consistency in attention weights. Based on the findings, we propose PyramidInfer, a method that compresses the KV cache by layer-wise retaining crucial context. PyramidInfer saves significant memory by computing fewer keys and values without sacrificing performance. Experimental results show PyramidInfer improves 2.2x throughput compared to Accelerate with over 54% GPU memory reduction in KV cache.
[ -0.4262123703956604, -0.7761014699935913, 0.23079721629619598, 0.2364271730184555, -0.09394057840108871, -0.19095063209533691, -0.30831974744796753, -0.2928599417209625, 0.04372866824269295, 0.5514707565307617, -0.2555094361305237, -0.45452120900154114, -0.5942764282226562, -0.35095933079719543, -0.35100772976875305, 0.8026793003082275, 0.29214829206466675, 0.2032339721918106, -0.6194080114364624, 0.2842642068862915, -0.19247668981552124, -0.45431920886039734, -0.7446761727333069, -0.47738009691238403, 0.4763701558113098, 0.6935216784477234, 0.8300230503082275, 0.8140920400619507, 0.49103960394859314, 0.25780725479125977, -0.19075147807598114, -0.1862953156232834, -0.6411747336387634, 0.5607092380523682, 0.20944134891033173, -0.49881604313850403, -0.5084617733955383, -0.10941725969314575, 0.5957830548286438, 0.41552305221557617, -0.1998017579317093, 0.18821574747562408, -0.06815139949321747, 0.7176245450973511, -1.2669554948806763, 0.15077921748161316, -0.48864004015922546, 0.19021761417388916, -0.16092398762702942, -0.22496725618839264, -0.5203961133956909, -0.2941074073314667, -0.04609347879886627, -0.46849095821380615, 0.2890753149986267, -0.14865992963314056, 0.7701303958892822, 0.6155193448066711, -0.09469889104366302, 0.12065766006708145, -0.6764628291130066, 0.5591791868209839, -0.6903472542762756, 0.33429425954818726, 0.5611313581466675, 0.27875861525535583, -0.3854925334453583, -1.1611095666885376, -0.6728762984275818, -0.17865875363349915, 0.12723040580749512, 0.2169245481491089, 0.011856438592076302, 0.45815736055374146, 0.4140521287918091, 0.5800072550773621, -0.37542152404785156, -0.05611924082040787, -0.31579363346099854, -0.3280656039714813, 0.20605874061584473, 0.1197570264339447, 0.2854919135570526, -0.34145548939704895, -0.02702213078737259, -0.3831027150154114, -1.0309832096099854, 0.15068134665489197, 0.22056330740451813, -0.12117033451795578, 0.1796976923942566, 0.44364407658576965, -0.3888147175312042, 0.4716053009033203, -0.03103940561413765, -0.1852940171957016, -0.11017566174268723, -0.022155210375785828, -0.6450113654136658, 0.22614724934101105, 0.6011483073234558, 0.2319755256175995, 0.38881930708885193, -0.30651751160621643, 0.26161089539527893, 0.2777038514614105, 0.410461962223053, -1.4261808395385742, -0.5651665925979614, 0.512163519859314, -0.5395440459251404, -0.21499045193195343, -0.24909546971321106, -0.9742322564125061, -0.363906592130661, 0.2377883493900299, 0.18845492601394653, -0.14473189413547516, 0.168512761592865, 0.2858816385269165, -0.3476243019104004, 0.2074863761663437, 0.40036100149154663, -0.9917160868644714, 0.47547242045402527, 0.5731322765350342, 0.7828388810157776, -0.07290299236774445, 0.0005825470434501767, -0.8691775798797607, 0.21707075834274292, -0.04004896432161331, 0.7617564797401428, -0.8029336929321289, -0.36166325211524963, -0.1081790030002594, -0.19631227850914001, 0.23309452831745148, -0.7008383870124817, 0.6342516541481018, -0.605681836605072, -0.1633693128824234, -0.16860488057136536, -0.49909961223602295, -0.1656210720539093, 0.08355385810136795, -0.8240444660186768, 1.2061495780944824, -0.1296493262052536, -0.7104452252388, 0.13112466037273407, -0.19845157861709595, -0.5530663728713989, 0.18458940088748932, -0.18157032132148743, -0.4301188588142395, 0.20523624122142792, 0.5876764059066772, 0.7274678349494934, -0.6052957773208618, -0.04820362851023674, -0.3134077191352844, -0.524345874786377, 0.09494884312152863, -0.21890529990196228, 0.5205966234207153, 0.04180773347616196, -0.24685315787792206, -0.016681315377354622, -0.5746563673019409, 0.18383926153182983, -0.12145644426345825, -0.3427965044975281, -0.10477200150489807, 0.17447304725646973, -0.08045697957277298, 0.26647835969924927, 0.05999235436320305, -0.3795948624610901, 0.4659799635410309, -0.15319879353046417, 0.7377536296844482, 0.7016825675964355, -0.15205632150173187, 0.5780791640281677, -0.12640869617462158, 0.4987472593784332, 0.0054442803375422955, 0.25801995396614075, -0.04638924077153206, -0.48669862747192383, -1.0909219980239868, -0.3519667685031891, 0.37371712923049927, 0.5069334506988525, -0.5285733342170715, 0.028817813843488693, -0.6307804584503174, -0.4104200601577759, -0.5692334175109863, 0.02409568428993225, 0.3007253408432007, 0.6175890564918518, 0.31545811891555786, -0.3905293047428131, -0.4094623029232025, -0.9225905537605286, -0.01851712353527546, -0.31327277421951294, -0.12272593379020691, 0.6052032113075256, 0.4990813732147217, -0.058012329041957855, 0.5736847519874573, -0.39765170216560364, 0.036759790033102036, 0.004301955923438072, -0.003868924919515848, 0.057531360536813736, 0.6059743165969849, 0.09281183779239655, -0.5802614688873291, -0.4584956169128418, -0.18731200695037842, -0.44977208971977234, -0.050871990621089935, -0.09139158576726913, -0.08677467703819275, -0.11640285700559616, 0.5007951855659485, -1.026050329208374, 0.6021401882171631, 0.668297290802002, -0.021846700459718704, 0.5588085055351257, -0.2164405882358551, 0.24508443474769592, -0.7027730941772461, -0.09590514004230499, -0.24224363267421722, -0.30312392115592957, -0.5475373268127441, -0.15887856483459473, 0.32659822702407837, 0.13375622034072876, -0.3481391370296478, 0.6273493766784668, -0.3946230113506317, -0.1693548858165741, -0.3379451036453247, -0.019909972324967384, -0.04071276634931564, 0.6073079705238342, -0.016169562935829163, 1.1996663808822632, 0.6646357774734497, -0.841569721698761, 0.38056984543800354, 0.2090943306684494, -0.5398154854774475, 0.2199733853340149, -0.7460513710975647, 0.2766362726688385, -0.07298137247562408, 0.5064480900764465, -1.0303722620010376, -0.2122403383255005, 0.4204118847846985, -0.5612707138061523, 0.26946473121643066, -0.36386963725090027, -0.6517252326011658, -0.23311203718185425, -0.36721834540367126, 0.46875736117362976, 0.7595423460006714, -0.5226795673370361, 0.7207352519035339, 0.40253931283950806, -0.07422889024019241, -0.9302850961685181, -0.7080835103988647, 0.2313418984413147, -0.053753942251205444, -0.810310423374176, 0.6834260821342468, -0.06238513067364693, -0.13717566430568695, -0.0035324387717992067, -0.33462926745414734, 0.005870372988283634, -0.0594438835978508, 0.5916046500205994, -0.010974823497235775, -0.2521910071372986, 0.22607356309890747, 0.11301777511835098, -0.2106529176235199, -0.044946037232875824, -0.5162177681922913, 0.6342813372612, -0.06636868417263031, -0.07873570173978806, -0.4591088891029358, 0.1764930784702301, 0.6494158506393433, 0.04367808997631073, 0.8305906057357788, 0.4378957450389862, -0.4011036455631256, -0.3098262548446655, -0.7104074358940125, -0.4110768735408783, -0.4811922609806061, 0.2717989981174469, -0.3915417790412903, -0.9196329116821289, 0.6649762988090515, -0.35676172375679016, -0.19122309982776642, 0.24836552143096924, 0.7055240869522095, -0.12199681997299194, 0.6954358816146851, 0.28909653425216675, -0.3887523412704468, 0.5023466348648071, -0.26855313777923584, 0.045468639582395554, -0.9587016701698303, -0.1067650094628334, -0.6880752444267273, -0.5150681734085083, -0.30111175775527954, -0.5949073433876038, 0.23403599858283997, 0.43971922993659973, -0.2702961266040802, 0.07365383207798004, -0.35938945412635803, 0.6576167345046997, 0.5726439952850342, 0.27986904978752136, 0.21691522002220154, 0.12278357148170471, 0.004960570950061083, -0.009075045585632324, -0.7909436225891113, -0.23799142241477966, 1.121774435043335, -0.008761133998632431, 0.9616666436195374, -0.14568358659744263, 0.20665444433689117, 0.34398630261421204, 0.34201109409332275, -0.7846154570579529, 0.6223925352096558, 0.18028655648231506, -0.5500038266181946, -0.29971668124198914, -0.4426107108592987, -0.8282099962234497, 0.3165033459663391, -0.17091454565525055, -0.98381108045578, -0.16229291260242462, 0.31995654106140137, -0.41501083970069885, 0.22574187815189362, -0.4289109706878662, 0.7432106137275696, 0.18537385761737823, -0.6705276966094971, -0.5411801338195801, -0.6884137988090515, 0.2908417880535126, 0.4024839699268341, -0.31560567021369934, 0.1268138885498047, -0.05682925507426262, 0.5724440217018127, -0.5872219204902649, 0.7272197008132935, 0.12267778068780899, 0.10178779065608978, 0.1481124311685562, 0.06051604449748993, 0.960965096950531, 0.37759122252464294, 0.00673403637483716, 0.20323270559310913, -0.2824041247367859, -0.6849565505981445, -0.9001621007919312, 0.7985258102416992, -0.8030346632003784, -0.7487409710884094, -0.23967112600803375, -0.5018005967140198, -0.05884302780032158, -0.07953691482543945, 0.29392656683921814, 0.24294158816337585, 0.05249908193945885, 0.2818067669868469, 0.9629839658737183, -0.22923164069652557, 0.45909982919692993, -0.1319916844367981, 0.16803854703903198, -0.5590037107467651, 0.4376365542411804, 0.004295495338737965, 0.3005601167678833, 0.5677735805511475, 0.164301335811615, 0.01140584610402584, -0.7951787710189819, -0.43247097730636597, 0.10279292613267899, -0.8320583701133728, -0.2845817804336548, -0.746231198310852, -0.3170614540576935, -0.4064267575740814, -0.19972661137580872, -0.6015729904174805, -0.607440710067749, -0.050552405416965485, 0.1524888426065445, 0.4482041001319885, 0.26507723331451416, 0.07925306260585785, 0.8468095064163208, -0.748446524143219, 0.3522709906101227, 0.25853291153907776, 0.19223237037658691, 0.2653086483478546, -0.47545140981674194, -0.35888996720314026, -0.07487408071756363, -0.1867484599351883, -0.6037189960479736, 0.39493879675865173, 0.25835511088371277, 0.393267422914505, 0.5854688286781311, -0.02749728038907051, 1.1051692962646484, -0.38392505049705505, 0.7146146297454834, 0.06968314945697784, -0.9848219752311707, 0.19937485456466675, 0.01945168524980545, 0.47029680013656616, 0.35781869292259216, 0.2731384336948395, -0.7790859937667847, -0.2012813836336136, -0.5104641318321228, -0.7579986453056335, 0.41768157482147217, 0.34240201115608215, 0.13318723440170288, 0.014355568215250969, 0.7460352182388306, -0.04438268020749092, 0.11942433565855026, -0.576686441898346, -0.49147829413414, -0.07293901592493057, 0.005829330068081617, 0.11779424548149109, -0.4440081715583801, 0.11285450309515, -0.5084724426269531, 0.5801921486854553, 0.06719952076673508, 0.4473245441913605, 0.1831342577934265, -0.3041245937347412, 0.013685906305909157, 0.09010680764913559, 0.5536710619926453, 0.4060564339160919, -0.145895853638649, 0.4846607446670532, 0.1199178621172905, -1.0146671533584595, -0.0024843267165124416, -0.10747365653514862, -0.24602654576301575, -0.3293828070163727, 0.1274326741695404, 0.5891751646995544, 0.15661807358264923, -0.5858878493309021, 0.3726702332496643, -0.45416560769081116, -0.0002694143040571362, -0.2913517653942108, 0.35001567006111145, 0.4077596068382263, 0.4328596591949463, 0.20419993996620178, -0.02040936052799225, 0.03397171199321747, -0.11508408188819885, 0.0951930359005928, 0.5110921859741211, -0.3034534752368927, -0.0911761224269867, 0.6010046601295471, 0.16603298485279083, -0.11480315029621124, 1.095691204071045, 0.19356150925159454, -0.38064855337142944, 0.6446164846420288, 0.4424615502357483, 0.764794647693634, -0.20639660954475403, -0.10932695865631104, 0.44331586360931396, 0.11902159452438354, -0.3036763072013855, 0.07713793963193893, -0.5084553956985474, -0.8321099281311035, -0.7955267429351807, -0.5454415678977966, -0.2007165104150772, 0.4096710681915283, -0.4253028631210327, 0.0293424092233181, -0.5069632530212402, -0.15216223895549774, -0.007450048811733723, 0.08128400146961212, -0.38181278109550476, 0.10335827618837357, 0.036479245871305466, 0.8212236762046814, -0.36951929330825806, 1.2856619358062744, 0.2003001868724823, -0.22672413289546967, -0.1900479793548584, -0.14226798713207245, -0.21418936550617218, -0.694031298160553, 0.9135526418685913, 0.1050635576248169, -0.15098866820335388, 0.08139269798994064, -0.7848644852638245, -0.8220646977424622, 0.9915325045585632, 0.5022845268249512, -0.47040754556655884, 0.014132901094853878, -0.010178115218877792, 0.14985090494155884, -0.09776380658149719, 0.4729214906692505, 0.48325014114379883, 0.5601497888565063, 0.2940256893634796, -0.5840245485305786, 0.04258003458380699, -0.49775269627571106, -0.013569041155278683, 0.3664603531360626, -0.4152674973011017, 0.8740675449371338, -0.232133686542511, -0.3699459731578827, 0.07253243774175644, 0.9508999586105347, 0.0815265104174614, -0.1639164537191391, 0.16473811864852905, 0.7974279522895813, 0.8094781041145325, 0.03362857922911644, 1.1318479776382446, -0.4312151074409485, 0.16856999695301056, 1.0273849964141846, 0.044598568230867386, 0.8487191200256348, 0.7112405300140381, -0.025290220975875854, 0.4352649450302124, 0.7774744629859924, 0.1537608653306961, 0.568153977394104, 0.48970186710357666, -0.5625470280647278, -0.521797776222229, 0.14420415461063385, -0.32732197642326355, 0.2415069043636322, 0.5338606238365173, -0.2234073281288147, -0.011558287777006626, -0.22584888339042664, 0.30463138222694397, -0.5256637334823608, -0.36609047651290894, 0.4913163185119629, 0.13838914036750793, -0.8642899394035339, 0.7099815011024475, -0.09269952028989792, 0.49629083275794983, -0.39306333661079407, -0.17682039737701416, -0.20497924089431763, 0.42687124013900757, -0.13205865025520325, -0.3187394142150879, -0.1737636923789978, -0.3265543282032013, -0.3156644105911255, -0.11985812336206436, 0.9202957153320312, -0.35696467757225037, -0.21638742089271545, 0.1943627893924713, 0.2900347411632538, 0.19051200151443481, -0.4025062620639801, -0.4141407907009125, -0.012881633825600147, -0.3151378333568573, -0.5269991159439087, 0.4717787504196167, 0.16161955893039703, 0.07926180958747864, 1.023149847984314, 0.7148704528808594, 0.3696499168872833, 0.3189166486263275, -0.04902717471122742, 0.9830138683319092, -0.6971226334571838, -0.31459981203079224, -1.0737392902374268, 0.3553178608417511, -0.14887402951717377, -0.2064729928970337, 0.7244049310684204, 0.458569198846817, 0.7504926323890686, -0.06480219960212708, 0.8621195554733276, 0.10711611062288284, -0.39901334047317505, -0.6010681986808777, 0.729561984539032, -0.3444652557373047, 0.028034314513206482, -0.06016405671834946, -0.7754244208335876, -0.48601770401000977, 0.7431976795196533, -0.17056868970394135, -0.043753866106271744, 0.7819703817367554, 0.981568455696106, -0.1404958814382553, 0.05383982136845589, 0.324020653963089, 0.2500867545604706, 0.28887122869491577, 0.8585571646690369, 0.6756596565246582, -0.5989789366722107, 0.662731945514679, -0.14655348658561707, -0.03540987893939018, -0.36861175298690796, -0.9142810106277466, -1.0952208042144775, -0.4402572810649872, -0.27189698815345764, -0.6263992190361023, 0.16237761080265045, 0.49679577350616455, 0.9733787178993225, -0.6346353888511658, -0.3186294436454773, -0.36156874895095825, 0.17497988045215607, -0.29084575176239014, -0.1538095325231552, 0.4627968966960907, -0.28309279680252075, -0.7244135141372681, 0.12710212171077728, 0.5058526992797852, -0.1526135355234146, -0.33762139081954956, -0.3334923982620239, -0.012021692469716072, 0.03616628050804138, 0.4651835858821869, 0.2916031777858734, -0.6810299158096313, -0.21804313361644745, -0.02457192912697792, -0.3039591610431671, 0.4636465907096863, 1.1890490055084229, -1.1178416013717651, 0.3191046118736267, 0.9027453064918518, 0.8895734548568726, 1.2082719802856445, -0.23551544547080994, 0.6187298893928528, -0.3858240246772766, 0.3104638457298279, 0.1538999080657959, 0.4683009386062622, 0.03983800858259201, -0.452792763710022, 0.26663118600845337, 0.1169501319527626, -0.6843172311782837, -0.49420279264450073, 0.26079875230789185, -0.9866290092468262, -0.3645387291908264, 1.1437246799468994, -0.05478622019290924, -0.4647018015384674, -0.14222565293312073, 0.04878038540482521, 0.28181737661361694, -0.4687660336494446, 1.021481990814209, 0.933215320110321, -0.029363607987761497, -0.6098875999450684, -0.7801447510719299, 0.7972201704978943, 0.4620210826396942, -0.7399270534515381, 0.23492884635925293, 0.3640773594379425, -0.12835419178009033, -0.08419155329465866, 0.689812421798706, 0.010818452574312687, 0.3407190144062042, 0.23176120221614838, 0.27330854535102844, 0.09302181750535965, -0.4322420656681061, -0.06750664114952087, 0.4262916147708893, -0.2707679271697998, -0.025962240993976593 ]