id
stringlengths
33
33
doc_url
stringlengths
33
33
title
stringlengths
13
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
6
16.6k
category_primary
stringclasses
60 values
category_all
stringlengths
5
132
abstract
stringlengths
123
1.99k
embeddings
sequencelengths
768
768
http://arxiv.org/abs/2406.14091v1
http://arxiv.org/pdf/2406.14091v1
Protecting Privacy Through Approximating Optimal Parameters for Sequence Unlearning in Language Models
2024-06-20T08:12:49
2024-06-20T08:12:49
Dohyun Lee, Daniel Rim, Minseok Choi, Jaegul Choo
cs.CL
cs.CL
Although language models (LMs) demonstrate exceptional capabilities on various tasks, they are potentially vulnerable to extraction attacks, which represent a significant privacy risk. To mitigate the privacy concerns of LMs, machine unlearning has emerged as an important research area, which is utilized to induce the LM to selectively forget about some of its training data. While completely retraining the model will guarantee successful unlearning and privacy assurance, it is impractical for LMs, as it would be time-consuming and resource-intensive. Prior works efficiently unlearn the target token sequences, but upon subsequent iterations, the LM displays significant degradation in performance. In this work, we propose Privacy Protection via Optimal Parameters (POP), a novel unlearning method that effectively forgets the target token sequences from the pretrained LM by applying optimal gradient updates to the parameters. Inspired by the gradient derivation of complete retraining, we approximate the optimal training objective that successfully unlearns the target sequence while retaining the knowledge from the rest of the training data. Experimental results demonstrate that POP exhibits remarkable retention performance post-unlearning across 9 classification and 4 dialogue benchmarks, outperforming the state-of-the-art by a large margin. Furthermore, we introduce Remnant Memorization Accuracy that quantifies privacy risks based on token likelihood and validate its effectiveness through both qualitative and quantitative analyses.
[ -0.09335478395223618, -0.5977759957313538, 0.07759338617324829, -0.2057868242263794, -0.3796728849411011, 0.28887510299682617, -0.3156804144382477, 0.059536296874284744, -0.33899742364883423, 0.6647320985794067, -0.4395536780357361, -0.4992605447769165, -0.48578789830207825, -0.38606566190719604, -0.37590837478637695, 1.004881501197815, 0.3908426761627197, -0.07028226554393768, 0.14243841171264648, 0.0379464216530323, -0.1092342808842659, -0.599500298500061, -0.41349539160728455, 0.023982146754860878, 0.18937043845653534, 0.26508188247680664, 0.3868376314640045, 0.8104309439659119, -0.03485962375998497, 0.31362807750701904, -0.3568369150161743, 0.31331560015678406, -0.7191466093063354, 0.2635694146156311, -0.02731643058359623, -0.49163469672203064, 0.08647163957357407, -0.043400149792432785, 0.9652433395385742, 0.932511568069458, -0.23800911009311676, 0.13071560859680176, 0.295244961977005, 0.836421549320221, -0.9666798710823059, 0.004354589153081179, -0.83700031042099, 0.2043573260307312, 0.0489112064242363, -0.48003289103507996, -0.6979878544807434, -0.35236215591430664, 0.07692688703536987, -0.3337976634502411, 0.17411857843399048, 0.15779820084571838, 0.7113794088363647, 0.3293730616569519, -0.14608100056648254, 0.07716561108827591, -0.6621346473693848, 0.8294020295143127, -0.6099020838737488, 0.6303704380989075, 0.6092051863670349, 0.011914821341633797, -0.5678694248199463, -0.5937866568565369, 0.02697567827999592, -0.17283202707767487, -0.05349964275956154, -0.14293110370635986, -0.24549122154712677, 0.1195731982588768, 0.3538755774497986, 0.3869381248950958, -0.48156580328941345, 0.3496679663658142, -0.4773206412792206, -0.5023004412651062, 0.38879427313804626, -0.17488513886928558, 0.08639375120401382, 0.010550425387918949, -0.561070442199707, 0.03869015350937843, -0.7670028209686279, 0.5197699069976807, 0.6448188424110413, 0.2509820759296417, 0.24591514468193054, 0.24383358657360077, 0.07289297133684158, 0.5211260318756104, 0.14170657098293304, -0.20305609703063965, 0.4644414484500885, -0.04551384970545769, -0.11004335433244705, -0.1717042177915573, 0.932038426399231, 0.07013367861509323, 0.40428340435028076, -0.5313692092895508, -0.1949062943458557, -0.6518913507461548, 0.16105115413665771, -0.6206969022750854, 0.03115246258676052, 0.3482784330844879, -0.4889865219593048, -0.23723316192626953, 0.246750146150589, -0.940242350101471, -0.2547507882118225, -0.09652908891439438, 0.30159780383110046, -0.5206183195114136, -0.2592930793762207, -0.02338394708931446, 0.03907417878508568, -0.19037951529026031, -0.24789531528949738, -0.9666804075241089, 0.3359535336494446, 0.7758584022521973, 0.7370734810829163, -0.05330473184585571, -0.3688620924949646, -0.8383174538612366, 0.19088801741600037, -0.2914524972438812, 0.01911262422800064, -0.5815861821174622, -0.7539324164390564, 0.07886224240064621, -0.04894920811057091, -0.27857279777526855, -0.4960439205169678, 0.2869643270969391, -0.5216686129570007, 0.5412622094154358, 0.285007506608963, -0.9931991696357727, -0.1193646565079689, -0.18584010004997253, -0.56825852394104, 0.9511778354644775, 0.08855593204498291, -0.6704012751579285, 0.2631193697452545, -0.5998243689537048, -0.2828421890735626, -0.12284789979457855, -0.019668515771627426, -0.6437618732452393, 0.2396751046180725, 0.14563317596912384, 0.450918972492218, 0.10327930003404617, 0.22583746910095215, -0.12512393295764923, -0.39137956500053406, 0.4736872911453247, -0.6548393368721008, 0.9295313954353333, 0.3148251473903656, -0.3894977867603302, 0.09099016338586807, -0.8508013486862183, 0.19686535000801086, -0.12825483083724976, -0.4552304148674011, -0.44032663106918335, -0.2941681444644928, -0.5468783974647522, 0.0024873395450413227, 0.3832314908504486, -0.6006655693054199, -0.1858787089586258, -0.6501269936561584, 0.4359806776046753, 1.0209993124008179, 0.23721793293952942, 0.8545302152633667, -0.0854826495051384, 0.4684785306453705, 0.0703255757689476, 0.44065046310424805, -0.5900593996047974, -0.4008103013038635, -0.3529808521270752, -0.5399069786071777, 0.6060505509376526, 0.5694884657859802, -0.057417355477809906, 0.7412112355232239, -0.09006386250257492, -0.3177420496940613, -0.4887232184410095, 0.3662179112434387, 0.9245671033859253, 0.5297954082489014, 0.06151942163705826, -0.3248162269592285, -0.4278159439563751, -0.7313780188560486, -0.6246830821037292, -0.17346665263175964, -0.07827477902173996, 0.13799460232257843, 0.08021555840969086, 0.08042194694280624, 0.9825029373168945, -0.32543542981147766, -0.11756906658411026, -0.09837739914655685, 0.041901595890522, 0.08849840611219406, 0.6130179166793823, 0.2950131893157959, -0.8160777688026428, -0.19973444938659668, -0.1701934039592743, -0.38129302859306335, -0.011158178560435772, -0.08867078274488449, -0.18409773707389832, 0.47572728991508484, 0.44256606698036194, -0.4911135733127594, 0.7824334502220154, 0.2821582555770874, -0.02222529612481594, 0.24836723506450653, -0.5093063116073608, -0.40508341789245605, -1.0781173706054688, 0.24158687889575958, -0.28926315903663635, -0.4569474160671234, -0.8699227571487427, -0.07323987782001495, 0.015037243254482746, -0.2340359091758728, -0.7485827803611755, 0.6274819374084473, -0.688377320766449, -0.012567517347633839, -0.2516290247440338, -0.26137036085128784, -0.23040294647216797, 0.8524481058120728, -0.06077495589852333, 0.6064963936805725, 0.663966715335846, -0.7121778726577759, -0.2553667724132538, 0.0037101353518664837, -0.2346924990415573, -0.019453629851341248, -0.28938043117523193, 0.3663063645362854, -0.26865580677986145, -0.03657376393675804, -0.7902909517288208, 0.22616839408874512, 0.363751620054245, -0.5874428749084473, 0.6041539311408997, -0.43023961782455444, -0.38097983598709106, -0.05065545067191124, -0.42839860916137695, 0.14367873966693878, 1.0684453248977661, -0.6006001234054565, 0.6600819826126099, 0.5720534324645996, 0.17865288257598877, -1.1341108083724976, -0.23753005266189575, -0.2596644461154938, -0.43298348784446716, -0.041068561375141144, 0.20221026241779327, -0.09026355296373367, 0.09687057882547379, -0.1388767510652542, -0.18815568089485168, -0.18939591944217682, 0.12484592944383621, 0.5067225694656372, 0.022942764684557915, 0.17861686646938324, -0.2347223311662674, -0.13704629242420197, -0.5790880918502808, -0.03445867821574211, -0.488359659910202, 0.7031641006469727, -0.10542139410972595, -0.31672021746635437, -0.548193097114563, 0.45738205313682556, 0.5684110522270203, -0.23089787364006042, 0.9389212131500244, 0.5930073857307434, -0.5025593042373657, -0.4148639738559723, -0.42938432097435, -0.2143785059452057, -0.5187687873840332, 0.24023781716823578, -0.13047169148921967, -0.9107403755187988, 0.585611879825592, -0.2214994728565216, 0.45913442969322205, -0.03662630170583725, 0.4753314256668091, 0.05269758030772209, 0.7119980454444885, 0.5428422093391418, -0.41127753257751465, 0.6587108969688416, -0.19722244143486023, 0.35474511981010437, -0.8234027028083801, -0.41453298926353455, -0.288072794675827, -0.12911617755889893, -0.5436983704566956, -0.19614188373088837, 0.15141741931438446, 0.3426663875579834, -0.37355759739875793, 0.3032906651496887, -0.3676462769508362, 0.8421141505241394, 0.9967813491821289, 0.1287374645471573, 0.24546702206134796, 0.4070160388946533, -0.30057165026664734, 0.10024536401033401, -0.5620196461677551, -0.41518211364746094, 1.3102768659591675, 0.452079176902771, 0.531299889087677, -0.044332023710012436, 0.9643992185592651, 0.18994998931884766, -0.09901861101388931, -0.3132903277873993, 0.5386162996292114, -0.23746182024478912, -0.525579035282135, -0.4497239589691162, -0.6689119338989258, -1.0796349048614502, 0.3224116563796997, 0.20184221863746643, -1.2875865697860718, 0.21797747910022736, 0.3754468262195587, -0.4166007936000824, 0.6302743554115295, -0.5679353475570679, 0.7503156661987305, -0.17170754075050354, -0.4199599325656891, 0.18510079383850098, -1.060986042022705, 0.24373255670070648, -0.3316206932067871, 0.26232829689979553, -0.020501358434557915, -0.04904206469655037, 0.6994926333427429, -0.5813029408454895, 1.1290210485458374, -0.45910850167274475, 0.08560703694820404, 0.18459062278270721, 0.20517989993095398, 0.43918800354003906, -0.16463740170001984, 0.05358743667602539, 0.26821449398994446, -0.02459610439836979, -0.3683503568172455, -0.7019649147987366, 0.49733617901802063, -0.5814866423606873, -0.6355341672897339, -0.22335143387317657, -0.3320394456386566, -0.29998135566711426, 0.3266737461090088, 0.5511279702186584, 0.31611818075180054, -0.1499251127243042, 0.20084351301193237, 0.611890435218811, -0.24531672894954681, 0.8915742635726929, 0.7145180106163025, -0.1347004771232605, -0.43093881011009216, 1.0763825178146362, -0.0007526630070060492, 0.4384481906890869, 0.5030829310417175, 0.5202951431274414, -0.6909968256950378, -0.730124831199646, -0.3469756543636322, 0.16498950123786926, -0.6328527331352234, -0.007644839584827423, -0.5366848707199097, -0.3735165596008301, -0.05348803475499153, 0.16972215473651886, -0.49658820033073425, -0.5519506931304932, -0.482097327709198, -0.256241112947464, 0.30190810561180115, 0.19738198816776276, -0.4807445704936981, 0.24361881613731384, -0.9131541848182678, -0.05825134366750717, -0.11102388799190521, 0.4260362982749939, 0.08665311336517334, -0.859017014503479, 0.10630796104669571, 0.1300075501203537, -0.12866850197315216, -0.5775171518325806, 0.41092824935913086, 0.38492634892463684, 0.6976154446601868, 0.6760416626930237, 0.1786886304616928, 0.6006855368614197, -0.7182591557502747, 0.5906168818473816, 0.2668130695819855, -0.9020510911941528, 0.3501211702823639, -0.19749218225479126, -0.15779760479927063, 0.7267770171165466, 0.2960646152496338, -0.3486854135990143, -0.21869979798793793, -0.9680564999580383, -1.03426194190979, 0.547821581363678, 0.192636176943779, 0.31732088327407837, 0.19912457466125488, 0.5703567862510681, 0.36007893085479736, 0.4910375773906708, -0.40011435747146606, -0.4497537910938263, 0.0030109332874417305, -0.215208500623703, 0.004647526890039444, -0.1940925568342209, 0.0227520614862442, -0.11308971047401428, 0.5580339431762695, 0.19555523991584778, 0.04043014720082283, -0.41574957966804504, -0.14409229159355164, 0.01842213235795498, 0.2440318614244461, 0.49800416827201843, 0.6804355978965759, -0.20684552192687988, 0.049046095460653305, 0.04385044798254967, -0.5258435606956482, 0.2845878601074219, -0.10438276082277298, -0.45200666785240173, 0.07086779177188873, 0.07455646246671677, 0.6105514168739319, 0.4052504897117615, -0.8008238673210144, 0.6695404648780823, 0.10222063958644867, 0.07298242300748825, -0.46954795718193054, 0.2671644389629364, -0.23335769772529602, -0.17907418310642242, 0.30341386795043945, 0.10320515185594559, -0.07100841403007507, -0.31036806106567383, 0.7146458029747009, 0.40122583508491516, -0.5112332105636597, -0.2403707206249237, 0.598897397518158, 0.03980058804154396, -0.7175348997116089, 0.4925251603126526, 0.0038280272856354713, -0.5155195593833923, 0.18677963316440582, 0.5339797735214233, 0.8891323804855347, -0.6435273885726929, 0.17737853527069092, 0.10529672354459763, 0.10077676177024841, -0.3018033802509308, 0.13045135140419006, -0.04363948479294777, -0.5063509941101074, -0.005814946722239256, -0.4846087694168091, -0.28248330950737, 0.30758169293403625, -0.7922590374946594, -0.256948858499527, -0.919871985912323, 0.024832187220454216, -0.42505156993865967, -0.26525694131851196, -0.41552025079727173, 0.04614453390240669, -0.1892542988061905, 0.6783182621002197, -0.4206170439720154, 0.4992227256298065, 0.07100851088762283, -0.40974023938179016, -0.7595529556274414, -0.16072048246860504, 0.2872258722782135, -1.0470398664474487, 0.37331104278564453, 0.09377263486385345, -0.10832029581069946, -0.08336947858333588, -0.23429608345031738, -0.8182333707809448, 0.5315675735473633, 0.5795221328735352, -0.8396090269088745, 0.24341771006584167, 0.4145200550556183, 0.33234596252441406, -0.23171214759349823, 0.026753226295113564, 0.5895644426345825, -0.008393079973757267, 0.05007011443376541, -0.6978706121444702, -0.038349397480487823, -0.28299346566200256, -0.2510965168476105, 0.31206703186035156, -0.5408895611763, 0.6756612062454224, -0.3309299647808075, -0.2233520895242691, 0.2503232955932617, 0.5467698574066162, 0.15498600900173187, 0.08820450305938721, 0.6795072555541992, 0.40012216567993164, 1.1858500242233276, 0.15897247195243835, 0.9320099949836731, -0.5182780027389526, 0.23708027601242065, 1.1055161952972412, 0.027660280466079712, 0.8942338228225708, 0.37483155727386475, 0.05755941569805145, 0.08234312385320663, 0.7629441618919373, 0.2707156538963318, 0.7215656638145447, 0.5632382035255432, -0.34972140192985535, -0.016273746266961098, -0.0037656014319509268, -0.29037025570869446, 0.2550332844257355, 0.16817690432071686, -0.7600717544555664, 0.09419960528612137, -0.15800899267196655, 0.47528642416000366, 0.005096285603940487, -0.11473531275987625, 0.849661111831665, 0.15894527733325958, -0.3813066780567169, 0.6750316619873047, -0.10437595844268799, 0.35160765051841736, -0.6521210074424744, 0.290667325258255, -0.4027576446533203, 0.452811062335968, -0.12115482240915298, -0.3519010841846466, -0.06625091284513474, 0.12095228582620621, -0.14430969953536987, -0.2220466285943985, 0.3242475092411041, -0.6603897213935852, -0.4262503981590271, 0.18094736337661743, 0.3228474259376526, 0.3699452877044678, -0.001956478226929903, -0.7269150018692017, -0.2135041058063507, 0.13836389780044556, -0.3472500443458557, 0.6014642715454102, 0.24226868152618408, 0.12489435076713562, 0.8152285814285278, 0.9643444418907166, 0.13920371234416962, 0.38281890749931335, 0.3261282444000244, 0.8007789254188538, -0.5336036682128906, -0.710567831993103, -1.1415460109710693, 0.4628150165081024, -0.15174835920333862, -0.4899788796901703, 0.7382498383522034, 0.733478307723999, 0.8128419518470764, 0.11021194607019424, 0.7499570846557617, 0.5774742364883423, 0.6840072274208069, -0.7062995433807373, 0.7447173595428467, -0.3994138538837433, 0.5401905179023743, -0.2144266813993454, -0.9487764239311218, -0.4508788287639618, 0.4756143093109131, -0.055760033428668976, 0.29229027032852173, 0.537979006767273, 0.9533587694168091, 0.06450393050909042, 0.09932758659124374, 0.4197184145450592, -0.0666671171784401, 0.4051593840122223, 0.6861785650253296, 0.8403637409210205, -0.2720499336719513, 0.4701670706272125, -0.4329085350036621, -0.329364150762558, 0.08221802115440369, -0.9429614543914795, -1.1493475437164307, -0.6060347557067871, -0.19486956298351288, -0.27126362919807434, 0.24353790283203125, 0.9764924645423889, 0.782638430595398, -0.7779027223587036, 0.010446383617818356, 0.07967492938041687, 0.09511815011501312, -0.09744773805141449, -0.11185169219970703, 0.7289877533912659, -0.23434589803218842, -0.6725330948829651, 0.5240778923034668, 0.2980479598045349, 0.1261170655488968, -0.2910335063934326, -0.13098761439323425, 0.15864789485931396, -0.1304854154586792, 0.029690347611904144, 0.836872398853302, -0.7488508224487305, -0.17364686727523804, -0.03351761773228645, 0.36844465136528015, 0.0309587512165308, 1.1095155477523804, -0.5394711494445801, 0.34080734848976135, 0.3003798723220825, 0.9783894419670105, 0.22198407351970673, 0.3228510916233063, 0.5746305584907532, -1.0971426963806152, 0.3294087052345276, 0.1228409931063652, 0.5698208212852478, 0.33074522018432617, -0.5052279829978943, 0.22610728442668915, 0.1286458671092987, -0.36847570538520813, -1.1498175859451294, 0.20055824518203735, -0.578036367893219, -0.2958069145679474, 0.984075665473938, -0.513759195804596, -0.5654376149177551, -0.29458263516426086, -0.022420449182391167, 0.1333089917898178, -0.615216076374054, 0.7811079621315002, 0.25926297903060913, 0.042920179665088654, -0.2656308710575104, -0.07691965252161026, 0.7550538182258606, 0.49709123373031616, -0.24806086719036102, 0.4917111098766327, 0.17343412339687347, 0.4268547594547272, -0.0771317332983017, 0.5285647511482239, -0.33197465538978577, 0.0680762454867363, -0.29651159048080444, -0.4392347037792206, -0.5421537756919861, -0.5728866457939148, -0.41198235750198364, 0.33645761013031006, -0.21400074660778046, -0.6980902552604675 ]
http://arxiv.org/abs/2406.14088v1
http://arxiv.org/pdf/2406.14088v1
ReaLHF: Optimized RLHF Training for Large Language Models through Parameter Reallocation
2024-06-20T08:04:07
2024-06-20T08:04:07
Zhiyu Mei, Wei Fu, Kaiwei Li, Guangju Wang, Huanchen Zhang, Yi Wu
cs.DC
cs.DC, cs.AI, cs.CL, cs.LG
Reinforcement Learning from Human Feedback (RLHF) stands as a pivotal technique in empowering large language model (LLM) applications. Since RLHF involves diverse computational workloads and intricate dependencies among multiple LLMs, directly adopting parallelization techniques from supervised training can result in sub-optimal performance. To overcome this limitation, we propose a novel approach named parameter ReaLlocation, which dynamically redistributes LLM parameters in the cluster and adapts parallelization strategies during training. Building upon this idea, we introduce ReaLHF, a pioneering system capable of automatically discovering and running efficient execution plans for RLHF training given the desired algorithmic and hardware configurations. ReaLHF formulates the execution plan for RLHF as an augmented dataflow graph. Based on this formulation, ReaLHF employs a tailored search algorithm with a lightweight cost estimator to discover an efficient execution plan. Subsequently, the runtime engine deploys the selected plan by effectively parallelizing computations and redistributing parameters. We evaluate ReaLHF on the LLaMA-2 models with up to $4\times70$ billion parameters and 128 GPUs. The experiment results showcase ReaLHF's substantial speedups of $2.0-10.6\times$ compared to baselines. Furthermore, the execution plans generated by ReaLHF exhibit an average of $26\%$ performance improvement over heuristic approaches based on Megatron-LM. The source code of ReaLHF is publicly available at https://github.com/openpsi-project/ReaLHF .
[ -0.5179970860481262, -0.978420078754425, 0.6236866116523743, 0.10510341078042984, -0.2146497666835785, 0.2623489797115326, -0.4665461778640747, -0.5479920506477356, 0.1630903035402298, 0.4852048456668854, -0.8321775197982788, -0.2755586504936218, -0.3036220669746399, -0.24820344150066376, -0.15629446506500244, 0.6744475960731506, -0.21633602678775787, -0.04916111007332802, -0.17061357200145721, -0.22538436949253082, 0.026284970343112946, -0.5727329850196838, -0.6098889708518982, -0.5240708589553833, 0.867881178855896, 0.5996583104133606, 0.9652559757232666, 1.1804083585739136, 0.520868182182312, 0.23588186502456665, 0.05516225844621658, 0.24621422588825226, -0.5594644546508789, 0.21785378456115723, -0.011479026637971401, -0.3757491707801819, -0.08434934914112091, -0.2299765646457672, 0.9750138521194458, 0.41451436281204224, -0.7537572979927063, 0.2974461019039154, -0.49506065249443054, 0.74864262342453, -0.6170331835746765, 0.22634528577327728, -0.10719538480043411, 0.32363656163215637, -0.03507338836789131, -0.1743030995130539, -0.21694912016391754, -0.4673290550708771, 0.1726357340812683, -0.6074117422103882, 0.011957371607422829, 0.3632771372795105, 1.005433440208435, 0.46375760436058044, 0.013915974646806717, 0.12661398947238922, -0.9338604211807251, 0.9551277756690979, -0.716006875038147, 0.6632528901100159, 0.038507990539073944, 0.6174922585487366, -0.27918440103530884, -0.6664413213729858, -0.6471149325370789, -0.49459588527679443, -0.006899520289152861, -0.20722506940364838, 0.32262909412384033, 0.35858166217803955, 0.3670506477355957, 0.11574757099151611, -0.6751348972320557, 0.38869982957839966, -0.349957138299942, -0.1712605506181717, 0.5849406123161316, 0.27257561683654785, 0.06940873712301254, 0.28287890553474426, -0.11489935219287872, -0.41425010561943054, -0.7592049241065979, -0.19553126394748688, 0.7386067509651184, 0.33365389704704285, -0.2099243849515915, 0.12452445179224014, -0.3528387248516083, 0.9134950637817383, -0.11161181330680847, -0.4344116747379303, 0.14897271990776062, 0.08123794198036194, -0.03953768312931061, 0.09340260922908783, 0.6750290393829346, -0.19576039910316467, 0.4505724012851715, -0.17518390715122223, -0.21719594299793243, -0.39258143305778503, 0.513126015663147, -1.0346332788467407, -0.09261658787727356, 0.19594797492027283, -0.4818830192089081, -0.4656399190425873, 0.14659219980239868, -0.7528867721557617, -0.0782327651977539, -0.3439675271511078, -0.012373904697597027, 0.024572184309363365, -0.3746451437473297, -0.21634253859519958, 0.23683330416679382, 0.0911005288362503, 0.05190318450331688, -0.9801172614097595, 0.36927056312561035, 0.7826070785522461, 0.6670776009559631, -0.15974591672420502, -0.7060109376907349, -0.9383091926574707, 0.13653415441513062, -0.32183292508125305, 0.6289367079734802, -0.6551247835159302, -0.21420074999332428, 0.13127553462982178, -0.09769826382398605, -0.07349351793527603, -1.0464369058609009, 0.41292110085487366, -0.8214907646179199, 0.0009687803685665131, -0.24694810807704926, -0.3844357132911682, -0.15828275680541992, 0.11188384145498276, -0.6728808283805847, 1.125747799873352, 0.15109236538410187, -0.5466568470001221, 0.12451503425836563, -0.6889985203742981, -0.31011760234832764, -0.09417671710252762, -0.1747235208749771, -0.7652210593223572, -0.22091126441955566, 0.06566017121076584, 0.3169865310192108, -0.43126630783081055, 0.4551795721054077, -0.5276106595993042, -0.6178417801856995, 0.07493219524621964, -0.3043758273124695, 0.1617264300584793, 0.29569128155708313, -0.4502398669719696, 0.6535449624061584, -0.7352390289306641, 0.04534256458282471, 0.18540000915527344, -0.652588963508606, 0.3456152379512787, 0.20899105072021484, 0.10229242593050003, 0.10220732539892197, -0.006436403840780258, -0.40975117683410645, 0.07137414067983627, -0.5831465721130371, 0.37161675095558167, 0.5408299565315247, 0.0136195607483387, 0.3222993016242981, -0.16126397252082825, 0.8653355240821838, -0.21594884991645813, 0.3427211046218872, 0.1486882120370865, -0.19724524021148682, -0.6487014293670654, -0.4289650321006775, 0.33823132514953613, 0.6392807960510254, -0.40626218914985657, 0.3599575459957123, -0.06936182081699371, -0.396332710981369, -0.593233048915863, 0.1089467778801918, 0.6739203333854675, 0.607537031173706, 0.33032745122909546, 0.2028862088918686, -0.44267311692237854, -1.1225136518478394, -0.09694365411996841, -0.3053017854690552, 0.19410207867622375, 0.27243995666503906, 0.3647806942462921, -0.2612728476524353, 0.792637825012207, -0.7902079820632935, 0.022413847967982292, -0.2824168801307678, 0.2698172926902771, 0.10352612286806107, 0.3728156089782715, 0.33973124623298645, -0.5969531536102295, -0.29156494140625, 0.02660524658858776, -0.5603151321411133, -0.04518870264291763, -0.058593254536390305, -0.12920308113098145, 0.025166435167193413, 0.5900700092315674, -0.559814989566803, 0.1012309193611145, 0.726047158241272, 0.06391756981611252, 0.8999860882759094, -0.4704981744289398, -0.08044303208589554, -0.6458286643028259, 0.07008952647447586, -0.07294057309627533, -0.5112460851669312, -0.18135535717010498, 0.4493170976638794, 0.01405293308198452, -0.12009302526712418, -0.5847662687301636, 0.7178412079811096, -0.3421725332736969, -0.31519970297813416, -0.3461522161960602, 0.01016442384570837, -0.4648566246032715, 0.8304916620254517, 0.12939085066318512, 0.873598039150238, 0.38461795449256897, -0.569561779499054, 0.7883705496788025, -0.1526404470205307, -0.3203967213630676, 0.1240551769733429, -0.5100743174552917, 0.07287732511758804, -0.08171571046113968, 0.4801647663116455, -0.647156834602356, -0.43780338764190674, 0.42098468542099, -0.01360580325126648, 0.19340869784355164, -0.13845406472682953, -0.6584310531616211, -0.48733678460121155, -0.19184021651744843, 0.506813645362854, 0.5348126888275146, -0.9224501848220825, 0.3871818780899048, 0.32816359400749207, 0.030275698751211166, -0.4744715690612793, -0.3674841821193695, -0.10065793991088867, -0.1487550437450409, -0.3649614453315735, 0.23379041254520416, 0.12234046310186386, -0.17154335975646973, 0.06465859711170197, 0.040836866945028305, -0.16009902954101562, -0.017539609223604202, 0.37342745065689087, 0.0862828940153122, -0.02685823105275631, 0.163221538066864, 0.0693526491522789, -0.29610979557037354, -0.04690013453364372, -0.4468090832233429, 0.498537540435791, -0.21637552976608276, -0.4818345606327057, -0.6530117988586426, 0.08784207701683044, 0.5753401517868042, -0.27792832255363464, 0.8682965040206909, 0.9229033589363098, -0.21895699203014374, -0.3754349946975708, -0.5192541480064392, -0.4739893674850464, -0.42161044478416443, 0.616337239742279, -0.18606168031692505, -1.1303186416625977, 0.44251033663749695, -0.2796032428741455, 0.11427169293165207, 0.04496613144874573, 0.629994809627533, 0.0010911505669355392, 1.1027026176452637, 0.5943631529808044, -0.13238660991191864, 0.5735259652137756, -0.20798403024673462, 0.2802772521972656, -0.5495927929878235, -0.14131589233875275, -0.2531368136405945, -0.6711370944976807, -0.6112122535705566, -0.670146107673645, 0.4052017629146576, 0.1271408349275589, -0.40704405307769775, 0.20579269528388977, -0.4310061037540436, 0.5592508316040039, 0.5888136625289917, 0.12031355500221252, 0.1293036788702011, 0.022308656945824623, -0.24329808354377747, 0.06636150181293488, -0.8906471133232117, -0.27730652689933777, 0.7825368642807007, 0.6229757070541382, 0.6438460946083069, -0.033850472420454025, 0.71245276927948, 0.21810492873191833, 0.33384841680526733, -0.8611273169517517, 0.6310255527496338, 0.24704062938690186, -0.20273162424564362, -0.6533593535423279, -0.6273686289787292, -0.7052425146102905, 0.3444371521472931, -0.1460290402173996, -0.49700817465782166, -0.05380454659461975, 0.554959774017334, -0.6234067678451538, 0.5212085247039795, -0.5630983114242554, 0.6876406073570251, -0.22181612253189087, -0.4585268795490265, -0.8117889761924744, -0.5906165242195129, 0.28094959259033203, -0.01306317001581192, 0.17854143679141998, -0.16591490805149078, -0.06887199729681015, 0.8473412394523621, -0.765202522277832, 0.5603956580162048, -0.44446471333503723, -0.1954445093870163, 0.32770445942878723, -0.07564571499824524, 0.9933862090110779, 0.07232342660427094, -0.2129824161529541, -0.07972678542137146, -0.018209848552942276, -0.5260201096534729, -0.6419278979301453, 1.02210533618927, -0.8368579745292664, -0.3697068691253662, -0.20332582294940948, -0.4451304078102112, -0.3344312310218811, 0.0416594035923481, -0.1749807596206665, 0.34509265422821045, -0.007726674433797598, -0.08130611479282379, 0.706784725189209, -0.28180384635925293, 0.5088545083999634, 0.3679366111755371, -0.39579012989997864, -0.4749172627925873, 1.1204160451889038, -0.10453043133020401, 0.19791127741336823, 0.41499289870262146, 0.40898680686950684, -0.3583557605743408, -0.4842177927494049, -0.8125408887863159, 0.6109409928321838, -0.3545718491077423, 0.07408959418535233, -0.3998792767524719, -0.06397883594036102, -0.015603527426719666, -0.07218434661626816, -0.7039308547973633, -0.31084078550338745, -0.23785679042339325, -0.17810297012329102, 0.3171192407608032, 0.4692304730415344, 0.09997695684432983, 0.6255412697792053, -0.8175844550132751, 0.236293226480484, 0.49694323539733887, 0.6432317495346069, 0.15462903678417206, -0.4729500412940979, -0.5670551657676697, -0.1465320736169815, -0.024912262335419655, -0.5749022960662842, 0.3277565836906433, 0.1639774590730667, 0.5214147567749023, 0.3106129765510559, -0.024077951908111572, 0.7385632991790771, -0.3755415081977844, 0.3670355975627899, 0.175413578748703, -0.41132649779319763, 0.1469481736421585, -0.4148017168045044, 0.37612199783325195, 0.5189754962921143, 0.3070690929889679, -0.40439140796661377, -0.07017003744840622, -0.5728938579559326, -0.6518245935440063, 0.8941689729690552, -0.30003049969673157, -0.1420135349035263, 0.35544824600219727, 0.7210155129432678, -0.20949994027614594, 0.20558416843414307, -0.22675833106040955, -0.10110147297382355, 0.21150551736354828, -0.16404107213020325, 0.291920930147171, -0.2922665774822235, -0.14382410049438477, -0.37279069423675537, 0.6873103380203247, -0.33299142122268677, 0.20637033879756927, -0.10609166324138641, -0.09138958156108856, -0.5214967727661133, -0.011133329011499882, 0.7387377619743347, 0.9532964825630188, -0.2976721525192261, 0.0053595127537846565, 0.18515773117542267, -0.3435472249984741, 0.10313792526721954, -0.07626684010028839, 0.007960991933941841, -0.31696417927742004, 0.4042808413505554, 1.1462275981903076, 0.38432708382606506, -1.2835789918899536, 0.23887290060520172, -0.003999351989477873, -0.4530830383300781, -0.23439684510231018, 0.36268240213394165, 0.2161666750907898, 0.39919817447662354, 0.0992153212428093, -0.32844728231430054, -0.18900004029273987, -0.417450875043869, 0.40707215666770935, 0.04557722806930542, -0.5410085916519165, -0.4276738464832306, 0.5602045655250549, 0.20865163207054138, -0.4230213165283203, 0.8129107356071472, -0.24183999001979828, -0.5857447981834412, 0.5924990177154541, 0.4171651303768158, 0.9112600088119507, -0.12646758556365967, 0.3887370228767395, 0.5521611571311951, -0.06805889308452606, -0.3711296319961548, 0.17036321759223938, -0.11076422035694122, -0.4511544406414032, -0.7036322951316833, -0.9141678810119629, -0.6496989727020264, -0.023843567818403244, -0.38303518295288086, 0.12499366700649261, -0.9869828224182129, 0.02643565461039543, -0.3560224771499634, -0.05724571272730827, -0.3151009678840637, 0.17037156224250793, 0.14191055297851562, 0.6256029605865479, -0.45609918236732483, 1.0795758962631226, 0.8269777297973633, -0.13730375468730927, -0.797925591468811, 0.20566070079803467, 0.005041581112891436, -0.8404709100723267, 0.6838918924331665, -0.2954932749271393, -0.2377653867006302, 0.20755703747272491, -0.4299609661102295, -0.95811527967453, 0.8944365382194519, 0.5601145029067993, -1.0112863779067993, -0.023879053071141243, 0.024109715595841408, 0.5336728096008301, -0.19318898022174835, 0.29039308428764343, 0.6271740794181824, 0.6826019287109375, 0.2726207375526428, -0.9064940810203552, 0.07688939571380615, 0.22594450414180756, 0.007465737871825695, 0.5254203081130981, -0.863240122795105, 0.4737980365753174, -0.5526033639907837, 0.061060816049575806, -0.06325149536132812, 0.8009853363037109, 0.5617561936378479, -0.21426327526569366, 0.6294809579849243, 0.8254845142364502, 0.6110910177230835, 0.17537835240364075, 1.0017040967941284, -0.3694227337837219, 0.4561813473701477, 1.0696039199829102, -0.14927688241004944, 1.1632779836654663, 0.48046812415122986, -0.3716886639595032, 0.4741222560405731, 0.690559983253479, 0.12211035937070847, 0.5049328804016113, 0.6968976855278015, -0.3581130802631378, -0.23212158679962158, 0.04717046394944191, -0.027226503938436508, 0.02734270878136158, 0.07129237800836563, -0.024914361536502838, -0.3477798402309418, 0.10213952511548996, 0.2105332762002945, 0.11828701198101044, 0.14015214145183563, 0.5764918923377991, -0.08854557573795319, -0.8082809448242188, 0.9539731740951538, 0.3008471131324768, 0.6272056698799133, -0.6089953780174255, -0.2004196047782898, -0.12809878587722778, 0.38658490777015686, -0.35040828585624695, -0.3916172385215759, 0.4076215922832489, -0.15268461406230927, -0.23211050033569336, -0.25790584087371826, 0.45628124475479126, -0.4622049629688263, -0.24486958980560303, 0.4827168583869934, 0.020533598959445953, 0.037508316338062286, -0.122386135160923, -0.8152322173118591, 0.4084964096546173, 0.030754918232560158, -0.39369991421699524, 0.6105873584747314, -0.19392922520637512, -0.20919838547706604, 0.9369668364524841, 0.72100430727005, 0.3420165479183197, 0.11494480818510056, 0.25065863132476807, 0.7038701176643372, -0.737694263458252, -0.45744964480400085, -0.6327794194221497, 0.026310747489333153, 0.23169243335723877, -0.2181186079978943, 0.20640748739242554, 0.4430207908153534, 0.8082258105278015, -0.004331267438828945, 0.6334694623947144, 0.25172436237335205, 0.609915018081665, -0.3505505323410034, 0.5077912211418152, -0.5248973965644836, 0.28874748945236206, 0.1736678183078766, -1.0579113960266113, -0.24349871277809143, 0.4162236452102661, -0.3271702527999878, -0.06644981354475021, 0.537045955657959, 1.1259393692016602, -0.11374974250793457, -0.14020907878875732, 0.2283230870962143, 0.09778781980276108, 0.5625990629196167, 0.19046293199062347, 0.7379992008209229, -0.020557988435029984, 0.5767962336540222, -0.4387039542198181, -0.27804017066955566, -0.4527323842048645, -0.694776177406311, -0.521131694316864, -0.32382357120513916, -0.4845532178878784, -0.0374150425195694, 0.32976633310317993, 1.1706914901733398, 1.1309291124343872, -0.8687868118286133, -0.5397477149963379, -0.34433016180992126, 0.13436007499694824, -0.31679990887641907, -0.22728700935840607, 0.3375866711139679, -0.5068570375442505, -0.6014062762260437, 0.5551247596740723, 0.32905349135398865, -0.3198983371257782, -0.6917083859443665, -0.5764132738113403, -0.3441879451274872, -0.034251514822244644, 0.44317805767059326, 0.7363640069961548, -0.7748221755027771, -0.2821756601333618, -0.3611435890197754, 0.0934835895895958, -0.20646856725215912, 0.8282293081283569, -0.8111848831176758, 0.19727663695812225, 0.6680335402488708, 0.9999193549156189, 0.705755889415741, 0.11432730406522751, 0.5597513318061829, -0.6259934306144714, 0.3856430649757385, 0.18112480640411377, -0.10574988275766373, -0.006567875389009714, -0.34114912152290344, 0.34961044788360596, 0.46622833609580994, -0.5866209268569946, -0.9063805937767029, 0.20756924152374268, -0.6730539202690125, -0.28273770213127136, 1.0222548246383667, 0.09243899583816528, -0.3205958604812622, 0.20021532475948334, -0.2729738652706146, 0.24520279467105865, -0.5399582982063293, 0.7649966478347778, 0.4417078197002411, -0.4566083252429962, -0.485259085893631, -0.6944937705993652, 0.5758655667304993, 0.5524722337722778, -0.8720760941505432, 0.20005938410758972, 0.40369537472724915, 0.07284219563007355, -0.15476647019386292, 0.3568410277366638, -0.04734230041503906, 0.1894654780626297, -0.2770669162273407, 0.1272250860929489, -0.23987984657287598, -0.482654869556427, -0.09748635441064835, 0.33808258175849915, 0.3185696601867676, -0.1492726057767868 ]
http://arxiv.org/abs/2406.14075v1
http://arxiv.org/pdf/2406.14075v1
EXCEEDS: Extracting Complex Events as Connecting the Dots to Graphs in Scientific Domain
2024-06-20T07:50:37
2024-06-20T07:50:37
Yi-Fan Lu, Xian-Ling Mao, Bo Wang, Xiao Liu, Heyan Huang
cs.CL
cs.CL
It is crucial to utilize events to understand a specific domain. There are lots of research on event extraction in many domains such as news, finance and biology domain. However, scientific domain still lacks event extraction research, including comprehensive datasets and corresponding methods. Compared to other domains, scientific domain presents two characteristics: denser nuggets and more complex events. To solve the above problem, considering these two characteristics, we first construct SciEvents, a large-scale multi-event document-level dataset with a schema tailored for scientific domain. It has 2,508 documents and 24,381 events under refined annotation and quality control. Then, we propose EXCEEDS, a novel end-to-end scientific event extraction framework by storing dense nuggets in a grid matrix and simplifying complex event extraction into a dot construction and connection task. Experimental results demonstrate state-of-the-art performances of EXCEEDS on SciEvents. Additionally, we release SciEvents and EXCEEDS on GitHub.
[ -0.519530713558197, -0.5681160688400269, 0.5368953347206116, 0.27708306908607483, -0.22826899588108063, 0.44267764687538147, -0.12671388685703278, -0.8199461698532104, 0.4391956925392151, 0.0030923851300030947, -0.5504070520401001, -0.3805936872959137, -0.645953357219696, 0.27822113037109375, -0.3846808075904846, 1.1588764190673828, -0.00035189572372473776, -0.18310405313968658, -0.5828367471694946, 0.22642429172992706, 0.14986801147460938, -0.4425186812877655, -0.5007950067520142, -0.3425714671611786, 0.6426935195922852, 0.3864549696445465, 0.2171303927898407, 0.4594692289829254, 0.7005178332328796, 0.21666166186332703, -0.1174016147851944, 0.7731519937515259, -0.7404946684837341, 0.08081419765949249, -0.08865772932767868, -0.1145520880818367, -0.38109713792800903, 0.04290793091058731, 0.6659975647926331, 0.8216699957847595, 0.4153253138065338, 0.11487288028001785, -0.2794715464115143, 0.5247278213500977, -0.5423176884651184, 0.4018814265727997, -0.3627857267856598, 0.3154982626438141, -0.43726396560668945, -0.48927098512649536, -0.37514451146125793, -0.4426726698875427, 0.0297201219946146, -0.8381165266036987, 0.21851205825805664, -0.2196512520313263, 1.087620496749878, -0.330691397190094, -0.6435762643814087, -0.10700404644012451, -0.41098374128341675, 0.7055972814559937, -0.15226633846759796, 0.2835143506526947, 0.20432400703430176, 0.30778250098228455, -0.4454622268676758, -1.0890653133392334, -0.46365758776664734, -0.11329085379838943, 0.11117968708276749, -0.04271708056330681, -0.39516669511795044, -0.1809067279100418, 0.5701038837432861, -0.01921197399497032, -0.6992526650428772, 0.0859987810254097, -0.6784597039222717, 0.08872771263122559, 0.9529682993888855, 0.3404771685600281, 0.3188175857067108, -0.1493670642375946, -0.2632700502872467, -0.035113267600536346, -0.9612331390380859, -0.019648436456918716, 0.10973870009183884, 0.11838911473751068, 0.179522305727005, 0.7151035070419312, -0.42561468482017517, 0.20651963353157043, 0.1319146454334259, 0.12339033931493759, 0.31340551376342773, -0.4559597969055176, 0.1756192296743393, 0.17860600352287292, 0.5104166269302368, 0.27832919359207153, 0.20964621007442474, -0.3235339820384979, 0.4192354083061218, -0.17812542617321014, -0.12490474432706833, -1.1930607557296753, -0.3846830725669861, 0.421921044588089, -0.14284679293632507, -0.3031346797943115, -0.05529377982020378, -0.7616697549819946, -0.622027575969696, -0.47368478775024414, 0.3415207266807556, -0.45828622579574585, -0.14373965561389923, 0.10954916477203369, -0.4074854850769043, 0.011315845884382725, 0.5652417540550232, -0.3399302065372467, 0.2131257951259613, 0.8445676565170288, 1.066903829574585, -0.4145333468914032, -0.14963380992412567, -0.7100219130516052, 0.2740194499492645, -0.31147974729537964, 1.103367567062378, -0.8426616787910461, -0.549974799156189, -0.3316720426082611, -0.07876253873109818, 0.20994053781032562, -0.21728889644145966, 0.5317765474319458, -0.8814896941184998, -0.07531795650720596, -0.6680554747581482, -0.7730636596679688, -0.1007559671998024, -0.07879606634378433, -0.38139113783836365, 0.8037136197090149, -0.05287458375096321, -0.6006540656089783, 0.4935792088508606, -0.8320061564445496, -0.699891209602356, 0.5507830381393433, -0.3974097669124603, -0.5230640172958374, 0.007515206933021545, 0.13182184100151062, 0.5566202998161316, -0.17233873903751373, 0.4192483723163605, -0.5378264784812927, -0.11587192118167877, 0.3396616280078888, 0.08826860040426254, 0.771946370601654, 0.1825401335954666, -0.10385554283857346, 0.2393006980419159, -1.1926673650741577, 0.12006277590990067, 0.2103327512741089, 0.017618704587221146, -0.27886250615119934, 0.15446092188358307, 0.15975645184516907, 0.23898303508758545, 0.3291613757610321, -0.9005332589149475, 0.5765601992607117, 0.04809055104851723, 0.5653963685035706, 0.604016125202179, 0.25402501225471497, 0.3653262257575989, 0.024184180423617363, 0.4320492148399353, -0.07340758293867111, 0.14972421526908875, -0.23191305994987488, -0.3118893802165985, -0.17603707313537598, -0.31829121708869934, 0.12199913710355759, 0.21578015387058258, -0.45562776923179626, 0.6425576210021973, -0.6346560716629028, -0.7077255845069885, 0.29673293232917786, -0.2704722583293915, 0.11461963504552841, 0.3802480101585388, 0.1611979901790619, -0.16784797608852386, -1.0607020854949951, -0.513557493686676, 0.07747869938611984, 0.19545599818229675, -0.08980675786733627, 0.030439311638474464, 0.6439989805221558, -0.19378544390201569, 1.039299488067627, -1.0002961158752441, -0.19792674481868744, 0.07123067229986191, 0.18142077326774597, 0.2560049295425415, 0.24174977838993073, 0.5374082922935486, -1.0714390277862549, -0.5054317712783813, 0.568889319896698, -0.837574303150177, -0.14696776866912842, -0.16599217057228088, -0.005329466424882412, -0.29307839274406433, 0.4662141799926758, -0.5133013129234314, 0.3481774926185608, 0.2557447552680969, -0.5117481350898743, 0.9431397318840027, 0.2000633329153061, 0.06912794709205627, -0.7623973488807678, 0.16600728034973145, -0.031812865287065506, -0.28647810220718384, -0.700851559638977, -0.2700621783733368, 0.1907958984375, -0.15824009478092194, -0.16980692744255066, 0.3742145895957947, -0.42871418595314026, -0.352398157119751, -0.30018526315689087, 0.2223394811153412, 0.5145036578178406, 0.078140027821064, 0.17518295347690582, 0.7144894003868103, 0.5907339453697205, -0.5356625318527222, 0.5976487398147583, 0.4379907250404358, -0.39062660932540894, 0.5695305466651917, -0.7804315686225891, -0.15055106580257416, -0.1314118206501007, 0.5150641202926636, -0.6809920072555542, -0.30824628472328186, -0.22921201586723328, -0.5710229277610779, 0.3489101529121399, 0.05384153127670288, -0.41198042035102844, -0.47806981205940247, -0.306927889585495, 0.01506620179861784, 0.18551455438137054, -0.5769273042678833, 0.45002907514572144, 0.5647896528244019, -0.4744091331958771, -0.5255944728851318, -0.20135298371315002, 0.4888196885585785, 0.02703164331614971, -0.615539014339447, 0.10297976434230804, -0.30614811182022095, -0.03363969922065735, 0.03382626548409462, -0.1251307874917984, -0.0561707578599453, -0.1930597871541977, 0.5442706346511841, 0.1212092787027359, -0.1771543025970459, -0.01201730314642191, 0.23660804331302643, -0.23063619434833527, 0.05017472058534622, -0.4967040419578552, 0.3120114207267761, -0.2306380718946457, -0.400116890668869, -0.4240069091320038, 0.6175175309181213, 0.5742655396461487, -0.15147188305854797, 0.4930883049964905, 0.6924598813056946, -0.5317776799201965, -0.053952693939208984, -0.3666948974132538, -0.2347097247838974, -0.48607179522514343, 0.8574288487434387, -0.5865179896354675, -0.8138079047203064, 0.7034581303596497, -0.4337967038154602, 0.12742546200752258, 0.5125464200973511, 0.09460578113794327, -0.06140470877289772, 1.1656897068023682, 0.2512483298778534, 0.35280507802963257, 0.37969937920570374, -0.2429874837398529, 0.17903554439544678, -0.8909857869148254, -0.68189537525177, -0.626043438911438, -0.014377602376043797, 0.1677301824092865, -0.28940144181251526, 0.6944850087165833, 0.22599002718925476, -0.11435507237911224, 0.42100611329078674, -0.4023241102695465, 0.7383460402488708, 0.19887621700763702, -0.20457176864147186, 0.1910417526960373, 0.2789027988910675, 0.2825508713722229, -0.32480430603027344, -0.7615259885787964, -0.27091488242149353, 0.7783244252204895, 0.09823223203420639, 0.3565170466899872, -0.13499800860881805, 0.3400411009788513, 0.22834567725658417, 0.28119412064552307, -0.42109352350234985, 0.3761151432991028, -0.0725874975323677, -0.47277650237083435, -0.4152768552303314, -0.595154345035553, -1.011391520500183, 0.16466258466243744, -0.2083197385072708, -0.6996282935142517, 0.7923876643180847, -0.4486564099788666, -0.14487086236476898, 0.29935982823371887, -0.6091552972793579, 0.49015122652053833, 0.005287800449877977, -0.21446339786052704, -0.005668812431395054, -0.6294609308242798, 0.18777529895305634, -0.3640168607234955, 0.3983357548713684, -0.19240377843379974, 0.11141528934240341, 0.7767383456230164, -0.3106828033924103, 0.7981239557266235, 0.19832690060138702, 0.21915684640407562, 0.295355886220932, 0.32735201716423035, 0.9858158826828003, 0.25081366300582886, -0.10855277627706528, 0.2884722352027893, 0.1717994213104248, -0.5396235585212708, -0.49984726309776306, 0.8220853805541992, -0.7377122640609741, -0.16088204085826874, -0.28869515657424927, -0.38028401136398315, 0.020993227139115334, 0.3156032860279083, 0.2437799870967865, 0.7775331735610962, -0.04023752734065056, 0.21745958924293518, 0.6076236367225647, 0.1464224010705948, 0.3559153079986572, 0.6195265054702759, 0.059710267931222916, -0.40239080786705017, 1.0958130359649658, 0.42027902603149414, 0.09210528433322906, 0.21825554966926575, 0.15628305077552795, -0.33775290846824646, -0.7479757070541382, -0.4684300124645233, 0.05103134736418724, -0.7718272805213928, -0.6189399361610413, -1.1598507165908813, -0.35444992780685425, -0.699016273021698, -0.5750595927238464, -0.1938355416059494, -0.7126901745796204, -0.5973654389381409, -0.45643001794815063, 0.5663715600967407, 0.7012320160865784, -0.5713452696800232, -0.006380829028785229, -0.9774841070175171, 0.2617780268192291, -0.011176466010510921, 0.25681614875793457, 0.024105532094836235, -0.2637629210948944, -0.26605120301246643, -0.33098745346069336, -0.2523941099643707, -0.6748889684677124, 0.5427622199058533, 0.6664507985115051, 0.43313926458358765, 0.8656584620475769, 0.10683516412973404, 1.0681794881820679, -0.6638097167015076, 0.6707683801651001, 0.489084392786026, -0.9467369914054871, 0.5665557384490967, -0.35089778900146484, 0.05495913699269295, 0.22906915843486786, 0.76341313123703, -0.637327253818512, -0.09455578029155731, -0.8756157755851746, -1.0006434917449951, 0.6165553331375122, 0.33844560384750366, -0.24308393895626068, -0.11036163568496704, 0.6553640365600586, 0.4591391980648041, 0.13961724936962128, -0.5287892818450928, -0.21171630918979645, 0.17309315502643585, 0.17700402438640594, -0.07388322800397873, -0.2445165365934372, -0.2983175218105316, -0.039566077291965485, 0.5807633399963379, -0.052891310304403305, -0.18442198634147644, 0.4346546232700348, 0.14816883206367493, -0.4495643675327301, -0.2022007554769516, 0.5706964731216431, 1.0270553827285767, -0.10565372556447983, 0.3931979537010193, 0.19969184696674347, -0.6640517115592957, -0.3603884279727936, 0.3395162522792816, -0.032401300966739655, -0.006153575144708157, 0.6348136067390442, 0.5117155909538269, 0.025368371978402138, -0.8196505308151245, 0.3848997950553894, 0.07985685765743256, -0.22934560477733612, -0.3230094015598297, 0.0579291395843029, -0.08319026976823807, 0.45692166686058044, 0.8694373369216919, -0.1028738021850586, 0.5202041268348694, -0.3367207646369934, 0.681117594242096, 0.2384883314371109, -0.5747383832931519, -0.5752527117729187, 0.6131876111030579, 0.13053537905216217, 0.13277383148670197, 0.2591271698474884, -0.45754989981651306, -0.5530446767807007, 0.9746366739273071, 0.5853740572929382, 0.26057395339012146, 0.04537353292107582, 0.2905213534832001, 0.5234017968177795, 0.07133316993713379, 0.21585342288017273, 0.3007243573665619, -0.057854242622852325, -0.16934038698673248, -0.9594641923904419, -0.6800569295883179, -0.27159711718559265, -0.0515623465180397, -0.3969579339027405, 0.31052643060684204, -0.13515639305114746, -0.016096601262688637, 0.693735659122467, 0.5785031914710999, -0.2757182717323303, -0.02523057721555233, -0.008092026226222515, 0.8446170687675476, -0.9825190305709839, 0.4598071873188019, 0.4432234466075897, -0.3006112277507782, -0.13319876790046692, -1.196858525276184, 0.08708257228136063, -0.47238093614578247, 0.7941341400146484, -0.11201991885900497, 0.21023939549922943, -0.08840207010507584, -0.6293920278549194, -1.1296275854110718, 0.775804877281189, 0.04360375553369522, -0.821535587310791, 0.18207286298274994, 0.030727701261639595, 0.5533254146575928, -0.3318934738636017, 0.14471785724163055, 0.07642624527215958, 0.6829825043678284, 0.6768823862075806, -0.5171893835067749, 0.1014276072382927, -0.3197935223579407, -0.545773446559906, 0.4469508230686188, -0.341892808675766, 0.5299386978149414, -0.4855920672416687, -0.36672404408454895, -0.2997627556324005, 0.9143701195716858, 0.3783021867275238, 0.844921886920929, 0.009957661852240562, 0.07808936387300491, 0.9902507662773132, -0.14725853502750397, 0.9804688096046448, 0.23837842047214508, 0.4783000946044922, 0.8916612267494202, -0.4988212287425995, 0.40267273783683777, 0.08846395462751389, -0.41506725549697876, 0.16794468462467194, 0.8477453589439392, -0.12444162368774414, 0.18053819239139557, 0.22236956655979156, -0.25392112135887146, -0.4385867714881897, -0.2840258479118347, -0.6491045355796814, -0.11742845922708511, 0.9401198029518127, 0.20856216549873352, -0.4378659129142761, 0.19816800951957703, -0.00012393807992339134, -0.1494917869567871, -0.3298151195049286, 0.5152056813240051, 0.23093900084495544, 0.058218322694301605, 0.19762147963047028, -0.2957462668418884, 0.1028629019856453, -0.7298055291175842, -0.10745611041784286, 0.08735821396112442, -0.2343752235174179, -0.4811275005340576, -1.0057039260864258, 0.24398617446422577, -0.21128176152706146, -0.2236320823431015, 0.09020312875509262, 0.8600295186042786, -0.22688820958137512, -0.4733540117740631, 0.03580636531114578, 0.06583268195390701, 0.46530967950820923, -0.09443046152591705, -0.36035117506980896, 0.025748705491423607, -0.11960823088884354, -0.3047340214252472, 0.3375093936920166, 0.7624198198318481, -0.3955800235271454, 0.5465818047523499, 1.1052501201629639, 0.3143947124481201, 0.18532419204711914, 0.155233234167099, 0.9802965521812439, -0.6186734437942505, -0.41072767972946167, -0.5688904523849487, 0.19637815654277802, -0.692567765712738, -0.3414776623249054, 0.7989535927772522, 0.8891997933387756, 0.33808401226997375, 0.13028660416603088, 0.7578151822090149, -0.08977155387401581, 0.19039985537528992, 0.10218355804681778, 0.3200497329235077, -0.3721984326839447, -0.1651916652917862, -0.0939921960234642, -0.710454523563385, -0.8155609965324402, 0.12728719413280487, -0.30954912304878235, -0.38752681016921997, 0.3648776412010193, 0.21650449931621552, -0.04984463006258011, 0.34498289227485657, 0.2846314609050751, 0.3232536315917969, 0.8644555807113647, 0.4055510461330414, 0.8958086371421814, -0.327390193939209, 0.4794311821460724, 0.18377386033535004, -0.3733373284339905, -0.6159707307815552, -0.8813367486000061, -0.6928521990776062, -0.8190661072731018, -0.6002088785171509, -0.2685377299785614, 0.2164408415555954, 0.7074777483940125, 0.8825631141662598, -0.8875021934509277, 0.3158012330532074, 0.04213165491819382, 0.18916048109531403, -0.12013155966997147, -0.2712308466434479, 0.9439300894737244, -0.45958974957466125, -0.5754266977310181, 0.518225371837616, 0.5903964638710022, -0.017041342332959175, 0.24277843534946442, 0.2463887631893158, 0.004084006883203983, 0.03180540353059769, 0.98725825548172, 0.66822749376297, 0.10510800778865814, -0.32420021295547485, 0.015071534551680088, 0.05266479775309563, 0.08741068840026855, 0.7222399115562439, -0.5508309602737427, 0.43073946237564087, 0.6494406461715698, 0.45233529806137085, 0.8810058236122131, -0.2815799117088318, 0.3754514753818512, -0.7972809672355652, -0.05347837135195732, 0.24262341856956482, 0.1025100126862526, 0.0012277811765670776, -0.7410503625869751, 0.5160108208656311, 0.2446502298116684, -0.6787446141242981, -1.1188467741012573, 0.31233927607536316, -1.3442966938018799, -0.4712771773338318, 1.2045129537582397, 0.041943490505218506, -0.22114530205726624, -0.4938526749610901, -0.045331984758377075, 0.0908084586262703, -0.2544175386428833, 0.8629841208457947, 0.395352303981781, -0.6987573504447937, 0.3260056674480438, -0.3317985534667969, 0.4924246668815613, -0.14340905845165253, -0.9363874197006226, 0.13918554782867432, 0.5531555414199829, 0.07429851591587067, 0.5753552317619324, 0.2224263697862625, -0.31539487838745117, 0.36461740732192993, 0.1070861890912056, 0.08977819979190826, -0.4348602294921875, -0.6545533537864685, -0.11854134500026703, 0.6375880241394043, -0.45522066950798035, 0.14467518031597137 ]
http://arxiv.org/abs/2406.14051v1
http://arxiv.org/pdf/2406.14051v1
How Many Parameters Does it Take to Change a Light Bulb? Evaluating Performance in Self-Play of Conversational Games as a Function of Model Characteristics
2024-06-20T07:17:09
2024-06-20T07:17:09
Nidhir Bhavsar, Jonathan Jordan, Sherzod Hakimov, David Schlangen
cs.CL
cs.CL, cs.AI
What makes a good Large Language Model (LLM)? That it performs well on the relevant benchmarks -- which hopefully measure, with some validity, the presence of capabilities that are also challenged in real application. But what makes the model perform well? What gives a model its abilities? We take a recently introduced type of benchmark that is meant to challenge capabilities in a goal-directed, agentive context through self-play of conversational games, and analyse how performance develops as a function of model characteristics like number of parameters, or type of training. We find that while there is a clear relationship between number of parameters and performance, there is still a wide spread of performance points within a given size bracket, which is to be accounted for by training parameters such as fine-tuning data quality and method. From a more practical angle, we also find a certain degree of unpredictability about performance across access methods, possible due to unexposed sampling parameters, and a, very welcome, performance stability against at least moderate weight quantisation during inference.
[ -0.33892184495925903, -0.763063371181488, 0.6216858625411987, 0.4500250816345215, -0.12163322418928146, -0.23139354586601257, -0.18772102892398834, -0.55586838722229, -0.3020610809326172, 0.5539464950561523, -0.24302658438682556, -0.10896432399749756, -0.36161938309669495, 0.01704501174390316, -0.5758072733879089, 0.7992101311683655, 0.1747489869594574, 0.20268452167510986, -0.3512721657752991, -0.23575511574745178, -0.5596367120742798, -0.3098039925098419, -0.5711411833763123, -0.4070320725440979, 0.5319890379905701, 0.5071597099304199, 0.6725099086761475, 0.8596137166023254, 0.6983838081359863, 0.35955145955085754, 0.06234531104564667, -0.07685095071792603, -0.744653582572937, 0.3553369343280792, -0.06717585027217865, -0.8225023150444031, -0.24016982316970825, 0.2939299941062927, 0.6566334366798401, 0.5823062658309937, -0.11956534534692764, 0.3513893187046051, 0.23645640909671783, 0.5560141205787659, -0.07946337014436722, 0.30568110942840576, -0.7533268928527832, -0.19813044369220734, -0.13612684607505798, -0.26309001445770264, -0.23636828362941742, 0.0500340536236763, 0.09233579784631729, -0.5511863231658936, 0.42190301418304443, 0.1611756682395935, 0.6411590576171875, 0.1839050054550171, -0.409837931394577, -0.1667669713497162, -1.0263135433197021, 0.8595752716064453, -0.8649566173553467, 0.25967803597450256, 0.25195127725601196, 0.46533310413360596, -0.1487487107515335, -0.4910491406917572, -0.14719220995903015, -0.4491219222545624, 0.2430953085422516, 0.07142078876495361, 0.011024264618754387, 0.1878688633441925, 0.6303847432136536, 0.25765931606292725, -0.24731643497943878, 0.13822704553604126, -0.5021411180496216, 0.20230208337306976, 1.0039280652999878, 0.40524089336395264, -0.1275934875011444, 0.04035704582929611, -0.27776870131492615, -0.16168943047523499, -0.6792553663253784, 0.26764369010925293, 0.6227176785469055, 0.39730972051620483, 0.017894422635436058, 0.3707936704158783, -0.33184027671813965, 0.54715895652771, 0.09487969428300858, -0.16727635264396667, -0.15488620102405548, -0.18885035812854767, 0.05191555619239807, -0.20875799655914307, 0.7559213042259216, 0.3396661579608917, 0.2751033306121826, -0.296378493309021, -0.1518617421388626, -0.09869071841239929, 0.3373388648033142, -0.8002791404724121, -0.3074306547641754, 0.15341363847255707, -0.5666223764419556, -0.21799837052822113, -0.1656385213136673, -0.686067521572113, -0.39141860604286194, -0.19257056713104248, 0.6650512218475342, -0.555943489074707, -0.07952357083559036, 0.1630074679851532, -0.11494173109531403, 0.392951101064682, 0.32471033930778503, -1.1000267267227173, 0.610399067401886, 0.6333029270172119, 0.8122928142547607, -0.2927938997745514, -0.47573623061180115, -0.23432819545269012, -0.1032605990767479, -0.3850310444831848, 0.61536705493927, -0.6327196359634399, -0.6373724937438965, -0.08166875690221786, -0.3150213062763214, 0.002757957438006997, -0.6602469682693481, 0.26130566000938416, -0.5192641019821167, -0.10045210272073746, -0.5461474657058716, -0.7886183857917786, 0.09520144015550613, 0.08266011625528336, -0.7230607867240906, 0.9323384761810303, -0.013529844582080841, -0.39911729097366333, 0.46764880418777466, -0.6148726344108582, -0.44588610529899597, 0.16732308268547058, -0.2285882532596588, -0.1996077448129654, 0.6191237568855286, -0.14939162135124207, 0.1981499344110489, -0.2741453945636749, -0.01032221969217062, -0.3643976151943207, -0.5451624989509583, 0.5219749212265015, -0.7140821218490601, 0.345011830329895, 0.19071808457374573, -0.23531854152679443, -0.029949689283967018, -1.035003423690796, 0.2566220760345459, -0.01010391116142273, -0.5411826968193054, 0.07364195585250854, 0.4953312575817108, -0.006989067420363426, 0.3009512722492218, 0.15959346294403076, -0.401690810918808, 0.03490949049592018, -0.295590341091156, 0.5167670845985413, 0.44237378239631653, 0.08917727321386337, 0.27435705065727234, -0.3613330125808716, 0.5950189828872681, -0.09562107175588608, 0.3359585106372833, -0.21502438187599182, -0.51124107837677, -0.9013070464134216, -0.00790075957775116, 0.5258477330207825, 0.1898891180753708, -0.4655974507331848, 0.13616414368152618, 0.2354317605495453, -0.8107542991638184, -0.5483971238136292, 0.3061322569847107, 0.3929908275604248, 0.3143712878227234, 0.16759072244167328, -0.3586566150188446, -0.1618519425392151, -0.8156725168228149, -0.49342578649520874, -0.575884997844696, 0.08982115238904953, 0.7128974199295044, 0.4173997640609741, 0.3759652376174927, 0.7875421047210693, -0.2541232109069824, -0.07019717991352081, -0.15697886049747467, 0.3619801104068756, 0.10824242979288101, 0.42660853266716003, 0.6157934665679932, -0.5092282891273499, -0.3124639689922333, -0.2446284294128418, -0.8158392906188965, -0.3686745762825012, -0.09151611477136612, 0.24027429521083832, -0.04593253508210182, 0.6483952403068542, -0.4774443209171295, 0.19970864057540894, 0.7491306662559509, -0.19767141342163086, 0.5700750350952148, -0.5896305441856384, 0.39471790194511414, -0.3840532600879669, -0.016575481742620468, 0.06556204706430435, 0.1161363273859024, -0.5592189431190491, 0.4347973167896271, -0.07956825196743011, -0.058703020215034485, -0.4720899760723114, 0.554384171962738, -0.5771434903144836, -0.29811009764671326, -0.3136213421821594, 0.1184546947479248, 0.07999308407306671, 0.2252892702817917, -0.33249789476394653, 0.9363922476768494, 0.5854031443595886, -0.8503041863441467, 0.46257689595222473, -0.031040970236063004, -0.4610092341899872, 0.510959804058075, -0.8311476707458496, 0.11561032384634018, 0.09297531843185425, -0.23418208956718445, -1.3299286365509033, -0.016467047855257988, -0.2759286165237427, -0.21550053358078003, 0.05790030583739281, -0.07185783982276917, -0.6742925643920898, -0.20516398549079895, 0.11369895190000534, 0.44861695170402527, 0.39096367359161377, -0.21667997539043427, 0.4287058711051941, 0.020940478891134262, 0.18387402594089508, -0.01126229390501976, -0.451265811920166, 0.16098704934120178, -0.4683784544467926, -0.48877909779548645, 0.4342585802078247, -0.46050816774368286, -0.25561070442199707, -0.32250651717185974, -0.010145764797925949, 0.06715703755617142, 0.47804906964302063, 0.1762523204088211, -0.31589409708976746, -0.28836268186569214, 0.4512205123901367, -0.30161893367767334, -0.0653093233704567, 0.41182833909988403, 0.14787764847278595, 0.5468938946723938, -0.3241550624370575, -0.5314514636993408, -0.07581698894500732, 0.22063246369361877, 0.2783796787261963, -0.22657956182956696, 0.4465395212173462, 0.2412024587392807, 0.10969360172748566, -0.2793383002281189, -0.5793123841285706, -0.2217816561460495, -0.5420368909835815, 0.5773240923881531, -0.6286580562591553, -0.7514123320579529, 1.0084631443023682, 0.03987058997154236, -0.11407817900180817, 0.3575723171234131, 0.39074450731277466, -0.2187073975801468, 1.2092453241348267, 0.6437658667564392, 0.30963119864463806, 0.40525302290916443, 0.13958077132701874, 0.08626706153154373, -0.5146278738975525, -0.12425780296325684, -0.5908786058425903, -0.49330219626426697, -0.8966668248176575, -0.3559879958629608, 0.32164594531059265, 0.17807720601558685, -0.24544721841812134, 0.2697051465511322, 0.008318870328366756, 0.5436890125274658, 0.6161638498306274, 0.1498073935508728, 0.41996511816978455, -0.47783371806144714, 0.20944173634052277, -0.17813511192798615, -0.7646477818489075, -0.5434432029724121, 0.9917442202568054, 0.4987258315086365, 1.0865997076034546, 0.42688828706741333, 0.687928318977356, 0.06950034201145172, -0.014249539002776146, -0.6569663286209106, 0.7679733037948608, 0.12486851215362549, -0.9747648239135742, -0.5237761735916138, -0.5018566250801086, -0.8194820880889893, 0.12365569919347763, -0.13043330609798431, -0.6826093792915344, -0.009343469515442848, 0.24457918107509613, -0.3417496979236603, 0.08211808651685715, -0.7528337836265564, 0.8415165543556213, -0.8242225646972656, -0.5327605605125427, -0.35576510429382324, -0.315997451543808, 0.11278676986694336, -0.05547786504030228, -0.21346108615398407, -0.28813111782073975, -0.16435606777668, 0.7017747759819031, 0.10435735434293747, 0.7612369656562805, -0.06344930082559586, -0.005996211897581816, 0.19657760858535767, 0.37827080488204956, 0.10429263114929199, 0.2065989375114441, -0.2353980988264084, 0.2246326059103012, 0.389309287071228, -0.45771121978759766, -0.9003749489784241, 0.45080506801605225, -0.7729288935661316, -0.9734379649162292, -0.28106123208999634, -0.6147793531417847, -0.7016207575798035, 0.1386404037475586, 0.21598301827907562, 0.5098034739494324, -0.6003153324127197, 0.4315588176250458, 0.6736722588539124, -0.31001487374305725, 0.597150444984436, 0.6717191338539124, -0.2798687517642975, 0.2854185104370117, 0.8296379446983337, 0.5327881574630737, 0.590545654296875, 0.2545739412307739, 0.3208591043949127, -0.25348106026649475, -0.8412961363792419, -0.3393601179122925, 0.11874915659427643, -0.710197925567627, 0.041546422988176346, -0.16348311305046082, -0.2784081697463989, -0.037953417748212814, 0.29820913076400757, -0.4583902955055237, -0.044421110302209854, -0.49082866311073303, 0.1575886309146881, 0.31175997853279114, 0.9629725813865662, 0.05644286796450615, 0.6490230560302734, -0.5537212491035461, -0.049839407205581665, 0.519685685634613, 0.8355546593666077, 0.11814224720001221, -0.8372331857681274, -0.34233638644218445, -0.2218812108039856, -0.27068543434143066, -0.8377465605735779, 0.2060949057340622, 0.3002144694328308, 0.7836344242095947, 0.6572867631912231, -0.07039661705493927, 0.6359313130378723, -0.6920850276947021, 0.8389158844947815, 0.03489834815263748, -0.8068870902061462, 0.25092461705207825, -0.6614084839820862, 0.29568052291870117, 0.5314544439315796, 0.09454188495874405, -0.36235958337783813, -0.2813315689563751, -0.8863611817359924, -0.46724608540534973, 0.6650218367576599, 0.09841889142990112, 0.6365984678268433, 0.01126068364828825, 0.41972100734710693, 0.03736533597111702, 0.3681105971336365, -0.5137925744056702, -0.32992833852767944, -0.17632918059825897, 0.11619480699300766, -0.21670669317245483, -0.5507721304893494, -0.2541980743408203, -0.17550325393676758, 0.36634284257888794, -0.19971033930778503, 0.29677802324295044, -0.1906321495771408, 0.1795285940170288, -0.045488134026527405, 0.2325349748134613, 0.581402063369751, 1.0698908567428589, -0.34455642104148865, 0.07890819758176804, 0.14673861861228943, 0.0189772117882967, -0.07933587580919266, 0.0844336599111557, 0.1164771243929863, -0.30848070979118347, 0.4709089398384094, 0.6926466822624207, 0.47023993730545044, -0.6263651251792908, 0.29508858919143677, -0.003976473584771156, -0.1326947957277298, 0.19205929338932037, 0.711668848991394, -0.05225364863872528, 0.4738703966140747, 0.4241941273212433, -0.33729201555252075, 0.2570771276950836, -0.7627695798873901, 0.2299986183643341, 0.5094510912895203, -0.4923752248287201, -0.36760401725769043, 0.6487318277359009, 0.3539711534976959, -0.6933072805404663, 0.09102082997560501, -0.28727105259895325, -0.08944037556648254, 0.679864764213562, 0.5764156579971313, 0.529859185218811, -0.19888539612293243, 0.3743803799152374, 0.1509825587272644, 0.17278477549552917, -0.18544843792915344, 0.07383132725954056, 0.174939826130867, -0.7368452548980713, -0.19257189333438873, -0.32183918356895447, -0.3999056816101074, 0.16568593680858612, -0.5761469006538391, -0.12417832016944885, -0.612152636051178, -0.33296486735343933, 0.13804791867733002, 0.3016274869441986, -0.7393895983695984, 0.23995576798915863, 0.038885388523340225, 0.8749182820320129, -0.8078265190124512, 0.4587792456150055, 0.2712211012840271, -0.586112380027771, -0.534275233745575, -0.15706661343574524, -0.12781554460525513, -0.8556215167045593, 0.5037518739700317, -0.16268227994441986, 0.04977307841181755, 0.0027576282154768705, -0.7392498850822449, -1.1035239696502686, 0.7747268080711365, 0.3784438669681549, -0.5233713388442993, -0.06599317491054535, 0.21350480616092682, 0.8548825979232788, -0.407703161239624, 0.4891601800918579, 0.7047634124755859, 0.1495961993932724, -0.09769340604543686, -0.8992032408714294, -0.25963711738586426, 0.10305503755807877, 0.267673134803772, -0.2338705062866211, -1.1305453777313232, 0.8147289752960205, -0.14867544174194336, -0.14317849278450012, 0.35917308926582336, 0.6853775382041931, 0.25729337334632874, 0.09646293520927429, 0.3331400156021118, 0.1882031410932541, 0.4520944356918335, -0.20048215985298157, 0.9574800729751587, -0.5541023015975952, 0.4706460237503052, 0.9142205119132996, -0.48527291417121887, 0.843090295791626, 0.4827192425727844, -0.4172777831554413, 0.08541221916675568, 0.4228150546550751, -0.2986817955970764, 0.3318790793418884, 0.3431593179702759, 0.034471698105335236, -0.44312575459480286, 0.19431117177009583, -0.21849438548088074, 0.9559606313705444, 0.032026734203100204, -0.3884322941303253, -0.26314112544059753, -0.31402358412742615, -0.14618612825870514, 0.34428390860557556, -0.11992066353559494, 0.6983593106269836, 0.03435064107179642, -0.7297460436820984, 0.08483772724866867, 0.08038190752267838, 0.2650405466556549, -0.6522873640060425, -0.21243150532245636, -0.2193617820739746, 0.19295452535152435, 0.09568668156862259, -0.7834004163742065, -0.23864597082138062, -0.31683409214019775, -0.24558070302009583, -0.042689450085163116, 0.37822777032852173, -0.17712217569351196, -0.6060311794281006, 0.40331941843032837, 0.7856684923171997, 0.26252591609954834, 0.16608472168445587, -0.9659742712974548, 0.35459625720977783, -0.3217741549015045, -0.2534835636615753, 0.4954230487346649, 0.6220259666442871, 0.3038763403892517, 0.7896639704704285, 0.3103785514831543, 0.282694935798645, 0.11554808914661407, 0.14954707026481628, 0.45070943236351013, -0.7558773756027222, -0.3874146044254303, -0.7456218600273132, 0.14369472861289978, -0.0486888624727726, -0.7748682498931885, 0.9828214049339294, 0.47239601612091064, 0.6720621585845947, 0.12006636708974838, 0.48777422308921814, 0.1737644076347351, 0.37006962299346924, -0.5840175747871399, 0.5873368382453918, -0.3910504877567291, 0.4667097330093384, -0.3080601394176483, -0.9785169959068298, 0.019280439242720604, 0.4896625876426697, -0.42784321308135986, 0.684389054775238, 0.4258536994457245, 0.7608056664466858, 0.18276193737983704, -0.11777649819850922, 0.8259400725364685, 0.20871932804584503, 0.5952185988426208, 0.33773109316825867, 0.9763909578323364, -0.5505970120429993, 0.5248555541038513, 0.02826652117073536, -0.04498281702399254, -0.3516526222229004, -0.9359741806983948, -0.7546513080596924, -0.6613005995750427, -0.3706521987915039, -0.3646577000617981, 0.1311645209789276, 0.4955868721008301, 1.045622706413269, -0.6282457113265991, -0.6314416527748108, 0.07015670835971832, -0.16155526041984558, -0.5062001943588257, -0.20278184115886688, -0.009713453240692616, -0.6279186606407166, -0.5520035028457642, 0.35148271918296814, 0.04273270070552826, -0.21392877399921417, -0.6983060240745544, 0.010057834908366203, 0.013669565320014954, 0.43779876828193665, 0.511854887008667, 0.41612327098846436, -0.7028785347938538, -0.5061349868774414, 0.049315791577100754, -0.12452346831560135, 0.21021941304206848, 0.6771567463874817, -0.565933883190155, 0.6263818740844727, 0.18000978231430054, 0.5158390402793884, 0.5926485657691956, 0.17588284611701965, 0.5487711429595947, -0.772771954536438, -0.16086305677890778, -0.006435485556721687, 0.1764281690120697, 0.1962195783853531, -0.06880055367946625, 0.3952588140964508, 0.1628347784280777, -0.8091081380844116, -0.7719981670379639, 0.33230042457580566, -0.8148669004440308, -0.1998508721590042, 1.292736291885376, 0.06175452098250389, -0.09418603032827377, -0.025406628847122192, -0.085301972925663, -0.1356307715177536, -0.23188447952270508, 0.9431921243667603, 0.8917268514633179, -0.6720486879348755, -0.5361778140068054, -0.8300603032112122, 0.7682933211326599, 0.21570655703544617, -0.49073266983032227, 0.21716180443763733, 0.398847371339798, 0.3629414141178131, 0.13762041926383972, 0.4419901669025421, 0.10846289992332458, 0.18359878659248352, 0.202793151140213, -0.18687549233436584, -0.03396768122911453, -0.5176504254341125, -0.42478933930397034, 0.19063526391983032, 0.5735676884651184, -0.09442941099405289 ]
http://arxiv.org/abs/2406.14048v1
http://arxiv.org/pdf/2406.14048v1
Prompt Injection Attacks in Defended Systems
2024-06-20T07:13:25
2024-06-20T07:13:25
Daniil Khomsky, Narek Maloyan, Bulat Nutfullin
cs.CL
cs.CL
Large language models play a crucial role in modern natural language processing technologies. However, their extensive use also introduces potential security risks, such as the possibility of black-box attacks. These attacks can embed hidden malicious features into the model, leading to adverse consequences during its deployment. This paper investigates methods for black-box attacks on large language models with a three-tiered defense mechanism. It analyzes the challenges and significance of these attacks, highlighting their potential implications for language processing system security. Existing attack and defense methods are examined, evaluating their effectiveness and applicability across various scenarios. Special attention is given to the detection algorithm for black-box attacks, identifying hazardous vulnerabilities in language models and retrieving sensitive information. This research presents a methodology for vulnerability detection and the development of defensive strategies against black-box attacks on large language models.
[ -0.27941885590553284, -1.4851993322372437, 0.7457791566848755, 0.04758841544389725, 0.07831943780183792, 0.04553845897316933, 0.11974214017391205, -0.6199774742126465, -0.48572951555252075, 0.7504571080207825, -0.2940675616264343, -0.2361653596162796, -0.4957502484321594, 0.08433099836111069, -0.48937278985977173, 0.6979598999023438, 0.2517088055610657, -0.20951944589614868, 0.2276482880115509, 0.22064827382564545, -1.117003321647644, -0.7674622535705566, -0.6660434007644653, 0.15228953957557678, 0.09379106014966965, -0.10035759955644608, 0.7968169450759888, 0.1843041032552719, 0.3445441722869873, 0.40654754638671875, -0.1815912425518036, -0.6128308773040771, -0.020964307710528374, 0.6072169542312622, -0.37596842646598816, -0.6898775100708008, -0.34811508655548096, -0.35723844170570374, 0.5367155075073242, 0.43770551681518555, -0.02948264591395855, -0.14842002093791962, -0.16732065379619598, 0.17152151465415955, -0.9229310750961304, -0.3143644332885742, -0.7474917769432068, 0.24309656023979187, -0.6218357086181641, -0.105552077293396, -1.0854382514953613, 0.02507302537560463, 0.026148131117224693, -0.08278461545705795, -0.11291594058275223, 0.18957751989364624, 0.6551246047019958, -0.1308165192604065, -0.4630288779735565, -0.16077883541584015, -0.5482730269432068, 0.8144808411598206, -0.8505306839942932, -0.0830431804060936, 0.24309185147285461, 0.7383461594581604, -0.47501903772354126, -0.18062186241149902, -0.6110227704048157, -0.34750255942344666, -0.15846896171569824, -0.427559494972229, -0.9313569664955139, 0.14912113547325134, 0.45046180486679077, 0.22062543034553528, -0.5737528204917908, 0.4506942629814148, 0.02641657181084156, -0.12981392443180084, 0.26551303267478943, 0.16751067340373993, 0.7897377610206604, -0.4737292528152466, -0.3232237994670868, -0.013175747357308865, -0.8250895142555237, -0.027664968743920326, 0.5697691440582275, 0.5168149471282959, -0.12734074890613556, 0.5119602084159851, -0.06476601213216782, 0.989319384098053, 0.03961410000920296, -0.10534454137086868, -0.22200103104114532, -0.3006211519241333, -0.30012252926826477, -0.10861444473266602, 0.8912811279296875, -0.016511287540197372, 0.16452006995677948, -0.05470718815922737, -0.6303296685218811, -0.05189630016684532, 0.5551420450210571, -0.6034022569656372, 0.2608083486557007, 0.4215337038040161, -0.19185534119606018, -0.6038748621940613, -0.15536212921142578, -1.0233060121536255, -0.49135106801986694, 0.5357761979103088, 0.5261819362640381, -0.4753836393356323, -0.3940715789794922, 0.19470740854740143, -0.2619454860687256, 0.264445036649704, 0.037076435983181, -0.7562741637229919, 0.43195390701293945, 0.7891436219215393, 0.8451983332633972, -0.13010409474372864, 0.15882347524166107, -0.900974452495575, 0.5585799813270569, -0.22769345343112946, 0.7735065221786499, -0.6531218886375427, -0.3820476830005646, 0.39247071743011475, 0.036594342440366745, 0.3836170732975006, -0.38567379117012024, 0.4322099983692169, -0.6102185845375061, 0.10901787132024765, 0.1503809243440628, -0.29022106528282166, 0.01434357650578022, 0.35806262493133545, -0.5292835831642151, 0.7459865808486938, -0.02274269238114357, -0.9697103500366211, -0.26556122303009033, -0.6228420734405518, -0.6171992421150208, 0.44157519936561584, 0.03194034472107887, -0.22932171821594238, 0.2245710790157318, 0.19059912860393524, 0.7772887349128723, -0.24799633026123047, 0.16158801317214966, -0.49873682856559753, -0.0847008153796196, 0.2626497447490692, -0.44165557622909546, 1.119913935661316, 0.23127032816410065, -0.4321328401565552, 0.05161925405263901, -0.7027481198310852, -0.1158444955945015, 0.3864825665950775, 0.17731547355651855, -0.5521004796028137, -0.02591385506093502, -0.31199178099632263, -0.025121241807937622, 0.09433320164680481, -0.5295521020889282, 0.2932981550693512, -0.6939259171485901, 0.6123381853103638, 0.6474028825759888, 0.5113352537155151, 0.29815012216567993, 0.21548870205879211, 0.8572174906730652, 0.17455530166625977, 0.613492488861084, -0.5067320466041565, -0.4509598910808563, -0.3066810369491577, -0.17932754755020142, -0.0023652412928640842, 0.9235255122184753, -1.0060452222824097, 0.5436768531799316, 0.22836485505104065, -0.31133347749710083, -0.18645085394382477, -0.1769954413175583, 0.47366079688072205, 0.2286594659090042, 0.355104923248291, 0.29672589898109436, -0.10799041390419006, -1.1434749364852905, -0.18448758125305176, -0.1706063449382782, -0.18508589267730713, -0.2619943916797638, 0.49414393305778503, -0.29201844334602356, 0.5656125545501709, -0.6027873754501343, 0.2827278971672058, -0.20887494087219238, -0.11899953335523605, 0.20332004129886627, 0.6597740054130554, 0.8600112199783325, -0.3079850375652313, -0.24395474791526794, 0.24035939574241638, -0.7261629700660706, -0.2655941843986511, 0.06583976000547409, -0.20289486646652222, 0.13738666474819183, 0.4372495114803314, -0.8277718424797058, 0.3823494017124176, 0.3492381274700165, -0.401422917842865, 0.7476685643196106, 0.11807169020175934, -0.018259288743138313, -1.0018733739852905, -0.13448353111743927, 0.06340683996677399, -0.284166157245636, -1.2801928520202637, 0.7436860203742981, 0.16626723110675812, -0.49295371770858765, -0.6507276892662048, 0.7355107069015503, -0.31419387459754944, 0.15753227472305298, -0.122015081346035, -0.1926441788673401, 0.23709076642990112, 0.09247278422117233, -0.2722287178039551, 0.6562451124191284, 0.9978510737419128, -0.5036343336105347, 0.2782168388366699, -0.08904110640287399, -0.2514449656009674, 1.0061936378479004, -0.8374210596084595, 0.24245212972164154, 0.027185257524251938, 0.2117910236120224, -0.9534773230552673, -0.018858974799513817, 0.6603676080703735, -0.21690505743026733, 0.7160959243774414, -0.2200082391500473, -0.38783127069473267, -0.4240609109401703, -0.4057406187057495, 0.3953914940357208, 0.18449817597866058, -0.28466910123825073, 0.46576762199401855, 0.43595632910728455, -0.4153870940208435, -0.9725614786148071, -0.7820866703987122, 0.4844936728477478, -0.38783201575279236, -0.6342601180076599, 0.19701556861400604, 0.1482105851173401, -0.40989312529563904, -0.39063313603401184, 0.23984752595424652, -0.037574827671051025, 0.6475469470024109, 0.018895648419857025, 0.34359872341156006, -0.163438618183136, -0.12085209041833878, -0.0491672083735466, -0.13402846455574036, 0.20210039615631104, -0.1775611937046051, 0.5063905715942383, 0.14829707145690918, -0.6109502911567688, -0.7225852012634277, 0.9864376783370972, 0.5534493923187256, -0.1829005926847458, 0.7502408623695374, 0.30101531744003296, -0.6214861273765564, -0.31726667284965515, -0.7477742433547974, -0.13901689648628235, -0.49272215366363525, 0.4601883292198181, -0.4764307737350464, -0.7139618992805481, 0.35845667123794556, 0.441078782081604, 0.005486983805894852, 0.27605265378952026, 0.43929731845855713, 0.21433450281620026, 1.2723087072372437, 0.43046772480010986, 0.019071009010076523, 0.45710140466690063, 0.14975741505622864, 0.5965248942375183, -0.49586349725723267, -0.09039261937141418, -0.9666509032249451, 0.3565911650657654, -0.25287264585494995, -0.18963317573070526, 0.15822213888168335, 0.11182305961847305, -0.3070008158683777, 0.48889148235321045, -0.5040253400802612, 0.4028223156929016, 0.3122948706150055, -0.1475241482257843, 0.023856082931160927, -0.14671733975410461, -0.29985523223876953, 0.28758329153060913, -0.3515431582927704, -0.5855022668838501, 0.5888293981552124, 0.7718856930732727, 0.7550796270370483, 0.41884151101112366, 0.4411025643348694, 0.48726892471313477, 0.038685619831085205, -0.6065558791160583, 0.7021986842155457, 0.2755703926086426, -0.520903468132019, -0.16390681266784668, -0.3939686715602875, -0.9844398498535156, 0.19082467257976532, -0.04285193979740143, -0.8864063024520874, 0.136540949344635, -0.10753487795591354, -0.548159658908844, 0.30039170384407043, -1.2408350706100464, 0.8829315304756165, -0.2702046036720276, -0.3246801793575287, 0.010793954133987427, -0.3439059257507324, 0.5821287631988525, -0.23707398772239685, 0.2193920761346817, 0.20935972034931183, 0.12506882846355438, 0.3541601896286011, -0.22071652114391327, 0.8884972333908081, -0.4401739835739136, -0.4554319977760315, 0.045555781573057175, 0.6270574927330017, 0.6766024231910706, 0.22825118899345398, -0.10892732441425323, 0.16434083878993988, 0.153614342212677, -0.7474855780601501, -0.4354824125766754, 0.5785493850708008, -0.3619270324707031, -1.3931242227554321, -0.5076724886894226, -0.27501100301742554, -0.11830819398164749, 0.2721951901912689, -0.09496385604143143, 0.38423478603363037, -0.08249824494123459, -0.05439293757081032, 0.5385065078735352, -0.9808658361434937, 0.7390111088752747, 0.593030571937561, -0.01831825263798237, -0.21868930757045746, 0.5879877805709839, -0.042538248002529144, 0.6921548843383789, 0.43644341826438904, 0.02296106331050396, 0.010870330035686493, -0.9351723790168762, -0.341110497713089, 0.05486417934298515, -0.5581342577934265, -0.754694938659668, -0.8229833245277405, -0.07612359523773193, -0.6122891902923584, -0.08928875625133514, 0.017135508358478546, -0.07142922282218933, 0.05699998885393143, -0.1760791391134262, 0.17823755741119385, 0.8302513360977173, 0.5394207239151001, 0.4926803708076477, -0.6231604814529419, 0.20081238448619843, 0.45058494806289673, 0.21368062496185303, 0.24773059785366058, -0.22626617550849915, -0.06840065121650696, -0.0554935522377491, -0.4850583076477051, -1.3881865739822388, 0.3583586513996124, -0.42713719606399536, 0.65489262342453, 0.4878790080547333, -0.06358969956636429, 0.1578049212694168, -0.7266765236854553, 1.0251436233520508, 0.10685252398252487, -1.0832959413528442, 0.8207967877388, -0.3500536382198334, 0.6110204458236694, 0.08287322521209717, 0.188125342130661, -0.4051365852355957, -0.6181763410568237, -0.43187421560287476, -0.41514354944229126, 0.6672095656394958, 0.21900831162929535, 0.27760377526283264, -0.4319235384464264, 0.17435811460018158, 0.014327713288366795, 0.1505560576915741, -0.8657802939414978, -0.05442645400762558, -0.15582416951656342, 0.2675597667694092, 0.28143465518951416, -0.4322143495082855, -0.1529691219329834, 0.21954500675201416, 0.6653090715408325, 0.09891743957996368, 0.1251622885465622, -0.21271146833896637, -0.17055556178092957, 0.08164249360561371, 0.6673328280448914, 0.553625762462616, 0.1608813852071762, 0.08472828567028046, 0.33564645051956177, 0.12838809192180634, -0.14122894406318665, 0.49814659357070923, 0.06701017171144485, -0.2937030792236328, -0.17237894237041473, 0.4598690867424011, 0.7099235653877258, 0.2559254765510559, -0.5854740738868713, 0.7642881870269775, 0.026111088693141937, 0.4398786723613739, -0.06193021312355995, -0.01665933057665825, -0.16773153841495514, 0.11535890400409698, 0.34715625643730164, -0.07018110901117325, 0.13395416736602783, -0.6275749802589417, -0.03213755413889885, 0.9250184893608093, -0.28276869654655457, -0.34207433462142944, 0.10656264424324036, 0.004048041068017483, -0.5688918232917786, 0.06362247467041016, 0.025145743042230606, -0.6286803483963013, 0.44911497831344604, 0.829162061214447, 0.8269964456558228, -0.838419497013092, 0.23349179327487946, 0.17064401507377625, 0.47339287400245667, -0.056307602673769, -0.18155819177627563, 0.08430665731430054, -0.49160438776016235, -0.2731599807739258, -0.5171889066696167, -0.16073434054851532, 0.2773968279361725, -0.40935027599334717, 0.371539443731308, -0.596574068069458, -0.354261189699173, 0.22102878987789154, -0.3869337737560272, -0.42606571316719055, -0.4963768720626831, 0.26554742455482483, 0.8387340307235718, -0.7087162733078003, 0.3631094992160797, 0.2930927574634552, -0.22938627004623413, -0.22931188344955444, -0.16275352239608765, 0.07287904620170593, -0.4921448528766632, 0.5847751498222351, 0.14794303476810455, 0.032425615936517715, -0.37934592366218567, -0.3685537576675415, -0.6094745993614197, 0.3015480935573578, 0.6352999806404114, -0.43590104579925537, -0.029400061815977097, 0.04868026450276375, 0.38115954399108887, -0.10092910379171371, 0.37142521142959595, 0.6197376251220703, 0.5380863547325134, -0.5109850168228149, -0.6372352838516235, 0.41424912214279175, -0.24940776824951172, 0.14636331796646118, 0.42260733246803284, -0.21940451860427856, 0.8123384118080139, 0.1833321452140808, -0.5826419591903687, -0.15403738617897034, 0.32941654324531555, 0.25254619121551514, -0.23241330683231354, 0.5156237483024597, 0.518444299697876, 0.4803224802017212, 0.043294887989759445, 1.351151466369629, 0.1347905397415161, -0.20035848021507263, 0.5161715745925903, -0.5310397744178772, 0.868281900882721, 0.4127659797668457, -0.219365656375885, 0.47967788577079773, 0.08422864228487015, -0.11592455208301544, 0.09066010266542435, 0.35025274753570557, -0.43596580624580383, 0.09468874335289001, -0.05083426833152771, -0.5455740094184875, 0.12386226654052734, 0.5540009140968323, 0.045723915100097656, -0.3329063057899475, 0.5321378111839294, 0.38503506779670715, -0.08147849142551422, -0.18800967931747437, 0.8229604959487915, -0.02380507066845894, -0.818065881729126, 0.7662235498428345, 0.21471339464187622, 0.6088270545005798, -0.6374611854553223, -0.041623927652835846, 0.027360063046216965, -0.031236844137310982, 0.02855202555656433, -0.8110008239746094, 0.026080982759594917, 0.11409222334623337, -0.14170928299427032, -0.13969574868679047, 0.6644688248634338, -0.04131434112787247, -0.3065812289714813, 0.4060766100883484, 0.2105776071548462, -0.4042983949184418, -0.17490547895431519, -0.6022082567214966, 0.25335410237312317, -0.2789810299873352, -0.14937090873718262, 0.5338999629020691, 0.4490194022655487, -0.2203659862279892, 0.8367709517478943, 0.6263704299926758, 0.24126821756362915, -0.02036455273628235, 0.19276469945907593, 0.5922085642814636, -0.5208851099014282, -0.6171759963035583, -1.2234104871749878, 0.29579588770866394, -0.3339032828807831, 0.33288130164146423, 0.7603612542152405, 0.08443266898393631, 0.4092610776424408, -0.09550727903842926, 0.7617211937904358, 0.15943096578121185, 0.3005402982234955, -0.5564072132110596, 0.5152221918106079, -0.060740724205970764, 0.537604033946991, -0.6325773596763611, -0.7875915765762329, -0.49701446294784546, 0.1091093048453331, -0.25177451968193054, -0.10768840461969376, 0.8874081969261169, 0.99006187915802, 0.18783417344093323, -0.07862574607133865, 0.24470730125904083, 0.498784601688385, 0.7837331295013428, 0.6795082092285156, 1.0887763500213623, -0.2859843671321869, 0.4813570976257324, -0.17553335428237915, -0.3877120912075043, -0.08452405035495758, -0.967069149017334, -1.169050931930542, -0.38959455490112305, -0.09983823448419571, -0.38408318161964417, 0.3477015495300293, 0.32272908091545105, 0.7050522565841675, -1.152573585510254, -0.14404268562793732, 0.22199314832687378, 0.3142111897468567, -0.16883529722690582, -0.30083003640174866, 0.08819185197353363, -0.28864461183547974, -0.42704352736473083, 0.5336195826530457, 0.5641263127326965, 0.2990904152393341, -0.6430909633636475, 0.46955764293670654, -0.4259365499019623, 0.13887116312980652, 0.5572431087493896, 0.3675056993961334, -0.9415301084518433, -0.5727419257164001, -0.34338244795799255, -0.11311013996601105, -0.3122303783893585, 0.7506924271583557, -0.5777396559715271, 0.23772534728050232, 0.4670731723308563, 0.9606854915618896, -0.17825333774089813, -0.23757338523864746, 0.9666475653648376, -0.7919291853904724, 0.44345495104789734, 0.23175309598445892, 0.3659125864505768, 0.41483274102211, -0.7812056541442871, 0.031869012862443924, 0.046106599271297455, -0.2044801115989685, -1.4520083665847778, 0.4548243582248688, -0.8547268509864807, -0.5425241589546204, 0.9813637733459473, -0.046422816812992096, -0.3091704547405243, -0.3929055631160736, -0.20923282206058502, -0.14417892694473267, -0.42410939931869507, 0.5863091945648193, 0.9009650945663452, 0.5466979146003723, -0.173884317278862, -1.0077167749404907, 0.4610154926776886, 0.29140037298202515, -0.9576811194419861, 0.21436792612075806, 0.2880011796951294, -0.0836445614695549, 0.33002984523773193, 0.04685591533780098, -0.2511277496814728, 0.24144889414310455, -0.27801060676574707, -0.038633160293102264, 0.1246289536356926, -0.16062231361865997, -0.5869330763816833, 0.7581781148910522, -0.11650579422712326, 0.1477583646774292 ]
http://arxiv.org/abs/2406.14043v1
http://arxiv.org/pdf/2406.14043v1
Taxonomy-Guided Zero-Shot Recommendations with LLMs
2024-06-20T07:06:58
2024-06-20T07:06:58
Yueqing Liang, Liangwei Yang, Chen Wang, Xiongxiao Xu, Philip S. Yu, Kai Shu
cs.IR
cs.IR, cs.CL
With the emergence of large language models (LLMs) and their ability to perform a variety of tasks, their application in recommender systems (RecSys) has shown promise. However, we are facing significant challenges when deploying LLMs into RecSys, such as limited prompt length, unstructured item information, and un-constrained generation of recommendations, leading to sub-optimal performance. To address these issues, we propose a novel method using a taxonomy dictionary. This method provides a systematic framework for categorizing and organizing items, improving the clarity and structure of item information. By incorporating the taxonomy dictionary into LLM prompts, we achieve efficient token utilization and controlled feature generation, leading to more accurate and contextually relevant recommendations. Our Taxonomy-guided Recommendation (TaxRec) approach features a two-step process: one-time taxonomy categorization and LLM-based recommendation, enabling zero-shot recommendations without the need for domain-specific fine-tuning. Experimental results demonstrate TaxRec significantly enhances recommendation quality compared to traditional zero-shot approaches, showcasing its efficacy as personal recommender with LLMs. Code is available at https://github.com/yueqingliang1/TaxRec.
[ -0.28304004669189453, -0.4375190734863281, 0.47878575325012207, 0.055276721715927124, -0.6627269387245178, 0.15593400597572327, -0.032329414039850235, -0.15940751135349274, 0.803214967250824, 0.6593285202980042, -0.779358446598053, -0.863534688949585, -0.35468369722366333, 0.14956234395503998, -0.17947548627853394, 1.0285898447036743, 0.1320757120847702, -0.19364893436431885, -0.42690616846084595, -0.09228648245334625, -0.8010796308517456, -0.3955410420894623, -0.5490959286689758, -0.5242512226104736, 0.8898279070854187, 0.4722926616668701, 0.4141434133052826, 0.7950860857963562, 0.39318564534187317, 0.06809861958026886, -0.1425803303718567, 0.23824246227741241, -0.40641671419143677, 0.47068530321121216, -0.3222208321094513, -0.4330591857433319, -0.4494249224662781, -0.3520669937133789, 0.174125075340271, 0.5918117165565491, -0.6115739345550537, 0.30833736062049866, 0.026910502463579178, 0.40650060772895813, -0.9384920001029968, -0.045482199639081955, -0.5698774456977844, 0.0019147963030263782, -0.3343120217323303, -0.5509131550788879, -0.29598140716552734, -0.20121949911117554, 0.24767620861530304, -0.571736752986908, -0.02236136607825756, 0.03610266000032425, 0.47322991490364075, 0.10732070356607437, -0.3847474753856659, -0.059254273772239685, -0.8150524497032166, 0.6873765587806702, -0.609891951084137, 0.3808037340641022, 0.3851219117641449, 0.11616095155477524, -0.158683642745018, -0.6816343665122986, -0.19773080945014954, -0.030386410653591156, 0.03923909738659859, 0.09091939777135849, -0.47602349519729614, 0.06206347048282623, 0.07053937017917633, 0.16477562487125397, -0.6962644457817078, 0.11501262336969376, 0.05136454850435257, -0.10606899857521057, 0.3209046423435211, 0.3948979079723358, -0.041108470410108566, -0.16541364789009094, -0.5072433352470398, 0.21476174890995026, -0.770205020904541, -0.2482369989156723, -0.01380483340471983, 0.5615703463554382, 0.28327250480651855, 0.6325326561927795, -0.4320478141307831, 0.8562110066413879, -0.033763587474823, -0.15176407992839813, 0.09245224297046661, -0.46137288212776184, -0.22034701704978943, -0.013894503936171532, 0.5289053320884705, 0.5857350826263428, 0.08293258398771286, -0.15027114748954773, -0.3750104010105133, -0.12547269463539124, 0.2809532582759857, -0.7981152534484863, -0.09263914823532104, 0.25398391485214233, -0.21566073596477509, -0.44541528820991516, -0.10535363107919693, -0.7011551260948181, -0.5944118499755859, -0.07390028238296509, 0.5380522012710571, -0.21411360800266266, -0.11126768589019775, 0.23344188928604126, -0.11668770760297775, -0.01292596198618412, 0.25923073291778564, -0.9082252383232117, 0.3081359565258026, 0.8166943192481995, 1.167909026145935, 0.020176073536276817, -0.034048620611429214, -0.7180227041244507, 0.22633828222751617, -0.30263227224349976, 1.226357340812683, -0.5169951319694519, -0.5272124409675598, 0.2266349196434021, -0.19893282651901245, 0.4332960546016693, -0.537339985370636, 0.13327528536319733, -0.3886442184448242, 0.0546947605907917, -0.10007402300834656, -0.6216223239898682, -0.26013195514678955, 0.31078749895095825, -0.17474496364593506, 0.7680972218513489, 0.2708628177642822, -0.3370080888271332, 0.6591514348983765, -0.5058049559593201, -0.49593961238861084, 0.7160652875900269, -0.0655369758605957, -0.034171998500823975, 0.05719823017716408, 0.09904459118843079, 0.6198381185531616, -0.35428765416145325, 0.29956358671188354, -0.44310879707336426, -0.3331245481967926, -0.2537558972835541, -0.1420152634382248, 0.35256272554397583, 0.2625664472579956, 0.07609064877033234, 0.32847729325294495, -0.5714043378829956, -0.07219886779785156, 0.05810553580522537, -0.13605254888534546, -0.553172767162323, -0.04232306033372879, -0.14527744054794312, -0.10820914804935455, 0.3586730360984802, -0.5173590183258057, 0.5760396718978882, -0.7313829064369202, 0.43889936804771423, 0.6574050188064575, 0.27930858731269836, 0.5970473289489746, -0.5267929434776306, 0.703034520149231, -0.11898726969957352, 0.11625102907419205, -0.4658145606517792, -0.3655083477497101, -0.6045299172401428, -0.11472385376691818, 0.4076733887195587, 0.5006111860275269, -0.8126561045646667, 0.6874122619628906, -0.1299644112586975, -0.5206854343414307, -0.2047976702451706, 0.22177951037883759, 0.15818770229816437, 0.4658403992652893, 0.24150758981704712, -0.6521454453468323, -0.5226209163665771, -0.5977609157562256, -0.08179035782814026, -0.26107943058013916, -0.3367565870285034, 0.47922563552856445, 0.2703513503074646, -0.27747368812561035, 0.9055606126785278, -0.9631544351577759, -0.5380247831344604, -0.17037269473075867, 0.07911689579486847, 0.47162336111068726, 0.05757354199886322, 0.4630475342273712, -0.003467810107395053, -0.10760831832885742, -0.5157246589660645, -0.01936006173491478, -0.4038410782814026, -0.09583310037851334, -0.2067926973104477, 0.19989430904388428, 0.04004176706075668, -0.2578929662704468, 0.41467878222465515, 0.10531256347894669, -0.6139490008354187, 0.2935464680194855, -0.222886323928833, -0.3044790029525757, -1.2208212614059448, -0.14924006164073944, 0.3096609115600586, -0.38224661350250244, -0.519905149936676, -0.17562291026115417, -0.0744272768497467, 0.20657745003700256, -0.35815227031707764, 0.780718207359314, 0.10147251188755035, 0.20030343532562256, -0.20736227929592133, 0.1863836795091629, 0.1649934947490692, 0.4006723463535309, 0.1730700433254242, 0.4212454855442047, 0.57533198595047, -0.626002848148346, 0.4498286843299866, 0.30413371324539185, -0.47232791781425476, 0.7562400102615356, -0.3690435588359833, -0.03788796812295914, -0.034258849918842316, 0.3443889617919922, -0.9911365509033203, 0.10316586494445801, 0.377318412065506, -0.13376688957214355, 0.19144204258918762, -0.25668105483055115, -0.48571375012397766, -0.032741475850343704, -0.7121487259864807, 0.34310203790664673, 0.34133055806159973, -0.5760194063186646, 0.5497522354125977, 0.21444980800151825, 0.019559036940336227, -0.5951389670372009, -0.6091436743736267, 0.27871131896972656, -0.07060618698596954, -0.29233649373054504, 0.4425485134124756, -0.2278119921684265, 0.05454011261463165, -0.030918708071112633, -0.2359391152858734, 0.2893384099006653, 0.13793161511421204, 0.4486021101474762, 0.48024845123291016, -0.1621246337890625, 0.42740678787231445, -0.21420183777809143, -0.13221105933189392, -0.26977384090423584, -0.6856827735900879, 0.693809986114502, 0.17308668792247772, 0.015205439180135727, -0.21663621068000793, 0.13980649411678314, 0.39792129397392273, -0.13993343710899353, 0.5286580324172974, 0.34350115060806274, -0.17261385917663574, -0.41530483961105347, -0.6166130304336548, -0.24509559571743011, -0.4621857702732086, 0.1483447253704071, -0.2577894926071167, -0.9618933200836182, 0.11160668730735779, -0.18277961015701294, 0.1987144649028778, 0.28905460238456726, 0.5822722911834717, -0.01564585044980049, 0.6593108177185059, 0.7585993409156799, -0.2749805152416229, 0.7109483480453491, -0.40500253438949585, 0.09375211596488953, -0.9211708307266235, -0.4385485053062439, -0.3825485408306122, -0.25809022784233093, -0.3610360324382782, -0.23000071942806244, 0.17532092332839966, 0.012685581110417843, -0.48188433051109314, 0.5015289783477783, -0.7791605591773987, 0.4154970943927765, 0.8106830716133118, -0.011512440629303455, 0.35663002729415894, 0.0795045867562294, -0.22601866722106934, 0.3535821735858917, -0.8714182376861572, -0.24739143252372742, 1.0544687509536743, 0.23049765825271606, 0.908379077911377, 0.11413021385669708, 0.9347307085990906, 0.2559868097305298, 0.1824032962322235, -1.4319987297058105, 0.5522526502609253, -0.5247583389282227, -0.2284572571516037, -0.11252747476100922, -0.3115553855895996, -0.925434410572052, -0.036617133766412735, -0.31784865260124207, -0.7573115825653076, 0.4409922957420349, -0.17035916447639465, -0.9969907402992249, 0.40453118085861206, -0.29766222834587097, 0.5581183433532715, -0.2369937300682068, -0.21546946465969086, -0.12341880053281784, -0.27385255694389343, 0.09276743233203888, -0.1782217025756836, 0.019642069935798645, -0.41159841418266296, -0.4556408226490021, 0.8056930899620056, -0.5139821767807007, 0.6385038495063782, -0.1690433919429779, -0.21375007927417755, 0.22751621901988983, 0.7436200976371765, 0.20758557319641113, 0.11401298642158508, -0.040071967989206314, 0.4879341423511505, 0.45848745107650757, 0.11591882258653641, -0.6282084584236145, 0.7620396614074707, -0.4135129451751709, -0.7082144021987915, -0.5433913469314575, -0.34224531054496765, -0.27270275354385376, 0.41783180832862854, 0.07734605669975281, 0.5905579924583435, 0.04309539869427681, 0.108722023665905, 0.19013935327529907, -0.13940048217773438, 0.36390221118927, 0.8997406363487244, -0.45149070024490356, -0.8396845459938049, 0.870675265789032, 0.15934942662715912, -0.07096827775239944, 0.5843835473060608, 0.31692758202552795, -0.5585585832595825, -0.6321262717247009, -0.21255168318748474, 0.2933978736400604, -0.5251454710960388, -0.7749518752098083, -0.1677245795726776, 0.1307123601436615, -0.5630847811698914, -0.20777280628681183, 0.0037919196765869856, -0.4371911883354187, -0.6126933097839355, 0.06331199407577515, 0.6671337485313416, 0.9213801622390747, 0.036605097353458405, 0.40698760747909546, -0.6168420910835266, 0.31839221715927124, 0.16750992834568024, 0.9806423187255859, -0.04519059881567955, -0.7616017460823059, -0.1045433059334755, -0.13914676010608673, -0.18225185573101044, -0.4181135296821594, 0.4526171088218689, 0.16649241745471954, 0.11090556532144547, 0.6685514450073242, 0.23097819089889526, 0.7620470523834229, -0.5440441370010376, 0.8963766098022461, 0.2934945225715637, -0.6446624398231506, 0.740792989730835, -0.2248179316520691, 0.526527464389801, 0.4531930685043335, 0.19215995073318481, -0.7613628506660461, -0.16844876110553741, -0.33842745423316956, -0.8715971112251282, 0.654392659664154, -0.09419996291399002, 0.20676109194755554, -0.13220995664596558, 0.7198952436447144, 0.014985039830207825, 0.21273721754550934, -0.08767489343881607, -0.3134084641933441, -0.11644405871629715, -0.06544359028339386, -0.38702380657196045, -0.7670395374298096, -0.20522111654281616, -0.13190911710262299, 0.5925217866897583, -0.06088680773973465, -0.10463599860668182, 0.22712154686450958, 0.2946849465370178, -0.4187817871570587, 0.2942560911178589, 0.6527587175369263, 0.5710219740867615, -0.5880593061447144, 0.052049119025468826, 0.08639948070049286, -0.2497163563966751, 0.2121688425540924, -0.26008492708206177, -0.15156017243862152, 0.05522632971405983, 0.22977498173713684, 0.6492739319801331, 0.1932719349861145, -0.41581612825393677, 0.4090180993080139, -0.08547139167785645, -0.36560171842575073, -0.1707761585712433, 0.056337933987379074, -0.05758577957749367, 0.2233765721321106, 0.18592464923858643, -0.06608805060386658, -0.03722026199102402, -0.4763278067111969, 0.288093626499176, 0.6431519985198975, -0.21201953291893005, 0.057857248932123184, 0.3504026532173157, 0.41853418946266174, -0.4363555610179901, 0.4573095142841339, 0.1494249552488327, -0.13792984187602997, 0.1439901739358902, 0.5011231303215027, 1.1924008131027222, -0.03102337382733822, 0.3846883773803711, 0.2546718716621399, 0.20006510615348816, -0.25723564624786377, 0.11386936902999878, -0.3513575792312622, -0.8166427612304688, -0.39587101340293884, -0.9530108571052551, -0.5151600241661072, 0.056176554411649704, -0.5302470326423645, 0.5652948021888733, -0.7772566080093384, -0.36280667781829834, 0.09838750958442688, 0.13894250988960266, -0.3461951017379761, -0.008472947403788567, 0.3991788327693939, 1.1050704717636108, -0.3068698048591614, 0.692031741142273, 0.4822179675102234, -0.48095571994781494, -0.8119345307350159, -0.2807862460613251, 0.16194500029087067, -0.8338904976844788, 0.41376882791519165, -0.21307717263698578, -0.4673304259777069, -0.010722972452640533, -0.23323331773281097, -0.7025691270828247, 1.2948485612869263, 0.30802789330482483, -0.7640794515609741, 0.20563821494579315, 0.009670323692262173, 0.4579353332519531, -0.5644607543945312, 0.4097241461277008, 0.43426743149757385, 0.2458925098180771, 0.7870278358459473, -0.8869004845619202, 0.08229129761457443, 0.06769950687885284, 0.32177218794822693, 0.3732607662677765, -0.4512961208820343, 0.3059413731098175, -0.15497276186943054, -0.37979042530059814, 0.1826014667749405, 0.22129057347774506, 0.1881079077720642, 0.2685462236404419, 0.5137553215026855, 0.6018585562705994, 0.6683522462844849, 0.1423976719379425, 0.8737426400184631, -0.36922723054885864, 0.28462350368499756, 1.3617597818374634, -0.5822204947471619, 0.9408787488937378, 0.27610063552856445, -0.10916551947593689, 0.7510770559310913, 0.801796555519104, -0.39200183749198914, 0.5037915706634521, 0.2329660952091217, -0.3487373888492584, -0.38380420207977295, -0.6969181895256042, -0.0678766593337059, 0.35705846548080444, 0.177437886595726, -0.04808838665485382, -0.5000635981559753, -0.06233270838856697, -0.25846344232559204, -0.2906270921230316, -0.4329436719417572, 1.1762146949768066, 0.12570852041244507, -0.4909278154373169, 0.8810011744499207, -0.07475967705249786, 1.132165789604187, -0.7481642961502075, -0.1672680377960205, -0.35144534707069397, -0.0907074585556984, -0.41158437728881836, -1.0571764707565308, 0.11988377571105957, 0.09988708794116974, -0.11340910941362381, -0.40811675786972046, 0.761112630367279, -0.43729692697525024, -0.3686566948890686, 0.13218389451503754, 0.36673662066459656, 0.1486791968345642, -0.22775717079639435, -0.3493572473526001, -0.4005076289176941, -0.1246856227517128, -0.03328602388501167, 0.2631506323814392, 0.23639991879463196, 0.2065577358007431, 0.9748635292053223, 0.4839767813682556, 0.4797990620136261, -0.5431660413742065, 0.3602137565612793, 0.5913661122322083, -0.7660031318664551, -0.23649460077285767, -1.0294098854064941, 0.11569494754076004, 0.4960852861404419, -0.15540337562561035, 0.6748763918876648, 0.5824353098869324, 0.9435280561447144, 0.021395204588770866, 0.38229310512542725, 0.23074978590011597, 0.3048039674758911, -0.16323721408843994, 0.5659924149513245, -0.7513903975486755, 0.7275561690330505, 0.0038780206814408302, -0.9097111821174622, -0.9062885046005249, 0.20800204575061798, -0.06465784460306168, -0.0702827200293541, 0.48769140243530273, 1.0860772132873535, 0.350128173828125, -0.2683022618293762, 0.5703279376029968, -0.044247206300497055, 0.20815514028072357, 0.5176103711128235, 0.6625155806541443, 0.037305817008018494, 0.6510123014450073, -0.4586943984031677, -0.041689615696668625, -0.33428066968917847, -0.8876753449440002, -0.6517587304115295, -0.5270973443984985, -0.43133729696273804, -0.34748759865760803, -0.12452782690525055, 1.2526456117630005, 0.5922229886054993, -0.7936458587646484, -0.4553568959236145, 0.0007441864581778646, 0.2896690368652344, -0.05296442285180092, -0.21164606511592865, 0.15776605904102325, -0.1038520485162735, -0.29858604073524475, 0.370026171207428, 0.6880689859390259, 0.0049543073400855064, -0.38995057344436646, 0.2009316235780716, -0.17863403260707855, 0.1923997402191162, 0.7450466156005859, 0.01142163760960102, -0.9780369997024536, -0.3403339684009552, 0.008306466974318027, 0.2040112316608429, -0.0031792663503438234, 0.9559927582740784, -1.1883409023284912, 0.6605626344680786, 0.5129335522651672, 0.04365164786577225, 0.24896971881389618, -0.027082640677690506, 0.5158304572105408, -0.6962935924530029, -0.2652672231197357, 0.39678844809532166, 0.31084081530570984, -0.15846382081508636, -0.44753438234329224, 0.6013670563697815, 0.2313353568315506, -0.3288552761077881, -0.8618053197860718, 0.1908046156167984, -1.1057566404342651, -0.39179331064224243, 1.2860513925552368, 0.08029959350824356, -0.1490994095802307, 0.007716560270637274, -0.24618391692638397, 0.09937482327222824, -0.7611344456672668, 0.6678010821342468, 0.5164027810096741, -0.15882864594459534, -0.08171042054891586, -0.18047690391540527, 0.23127761483192444, 0.2759849727153778, -0.30153438448905945, 0.2891887426376343, 0.357329398393631, 0.5409197211265564, 0.10118783265352249, 0.5630573630332947, 0.28773725032806396, -0.054383065551519394, -0.3966834843158722, 0.14738817512989044, -0.31711265444755554, -0.26631104946136475, -0.8839821815490723, 0.13803386688232422, 0.22579416632652283, -0.1408403217792511 ]
http://arxiv.org/abs/2406.14039v1
http://arxiv.org/pdf/2406.14039v1
CryptoGPT: a 7B model rivaling GPT-4 in the task of analyzing and classifying real-time financial news
2024-06-20T06:59:46
2024-06-20T06:59:46
Ying Zhang, Matthieu Petit Guillaume, Aurélien Krauth, Manel Labidi
cs.AI
cs.AI, cs.CE, cs.CL, cs.NE
CryptoGPT: a 7B model competing with GPT-4 in a specific task -- The Impact of Automatic Annotation and Strategic Fine-Tuning via QLoRAIn this article, we present a method aimed at refining a dedicated LLM of reasonable quality with limited resources in an industrial setting via CryptoGPT. It is an LLM designed for financial news analysis for the cryptocurrency market in real-time. This project was launched in an industrial context. This model allows not only for the classification of financial information but also for providing comprehensive analysis. We refined different LLMs of the same size such as Mistral-7B and LLama-7B using semi-automatic annotation and compared them with various LLMs such as GPT-3.5 and GPT-4. Our goal is to find a balance among several needs: 1. Protecting data (by avoiding their transfer to external servers), 2. Limiting annotation cost and time, 3. Controlling the model's size (to manage deployment costs), and 4. Maintaining better analysis quality.
[ -0.2508660852909088, -0.7088193297386169, 0.2884804308414459, 0.13106437027454376, -0.8788114786148071, 0.5646710991859436, -0.011392457410693169, -1.193297266960144, 0.1384679526090622, 0.6703161001205444, -0.36909177899360657, -0.5505170822143555, -0.39556047320365906, 0.03277276083827019, -0.5309748649597168, 1.0811177492141724, -0.05828293785452843, 0.12670612335205078, 0.24877555668354034, 0.15473367273807526, -0.24340693652629852, -0.720079243183136, -0.9428466558456421, -0.23625892400741577, 0.10195966064929962, 0.030617399141192436, 0.7099269032478333, 0.864519476890564, 0.9022582173347473, 0.37711793184280396, 0.17630259692668915, 0.16692644357681274, -0.2662559151649475, -0.16180434823036194, 0.02498580701649189, -0.5131880640983582, -0.6864977478981018, 0.16063037514686584, 0.3760823905467987, 0.12403218448162079, -0.254566490650177, 0.4625977873802185, -0.1312408149242401, 0.3937433362007141, -0.4095896780490875, 0.43526771664619446, -0.5553874969482422, -0.004169956780970097, -0.10428031533956528, -0.20495367050170898, -0.06890138983726501, -0.2983139157295227, 0.2216082513332367, -0.5802432298660278, 0.4219954311847687, 0.42453986406326294, 1.1864714622497559, 0.07015852630138397, -0.11768104881048203, -0.2367241233587265, -0.678855836391449, 0.6302058696746826, -0.8624733686447144, 0.07665825635194778, 0.3168412148952484, 0.43360424041748047, 0.31200164556503296, -0.880078136920929, -0.0734298899769783, -0.19314934313297272, 0.12696975469589233, -0.0048378692008554935, 0.014324987307190895, 0.31787368655204773, 0.2317289561033249, 0.3650013208389282, -0.24701957404613495, 0.01923432946205139, -0.8615756630897522, -0.6776456236839294, 0.5852919220924377, 0.15570825338363647, -0.10181594640016556, 0.008524795062839985, -0.4357304573059082, -0.05609844624996185, -0.6669705510139465, -0.3346734344959259, 0.700212836265564, 0.12045104801654816, 0.11679455637931824, 0.30415666103363037, -0.40151581168174744, 0.6739412546157837, 0.1406564712524414, -0.5150717496871948, 0.18893249332904816, -0.20650452375411987, -0.3761908710002899, 0.5033747553825378, 0.5704440474510193, 0.56302809715271, -0.14229871332645416, 0.031584806740283966, -0.6333752870559692, 0.21102242171764374, 0.438800573348999, -0.8375909328460693, -0.33435317873954773, 0.05263831466436386, -0.5957026481628418, -0.732796847820282, 0.042553406208753586, -0.6722926497459412, -0.16202476620674133, -0.541400671005249, 0.5020329356193542, -0.06512390077114105, -0.0123403025791049, 0.16568505764007568, -0.24484321475028992, 0.0757695809006691, 0.48909318447113037, -0.8510127067565918, 0.34068626165390015, 1.0338475704193115, 1.0752736330032349, 0.03848501667380333, 0.22074180841445923, -0.3143561780452728, 0.3512411415576935, -0.2533007562160492, 0.9981615543365479, -0.25808846950531006, -0.24875761568546295, -0.3075408339500427, -0.18635469675064087, 0.3221050798892975, -0.6897313594818115, 0.15869541466236115, -0.6122733950614929, 0.13477060198783875, -0.05129806697368622, -0.37637805938720703, -0.43667930364608765, 0.6196942329406738, -0.7608229517936707, 0.6359162330627441, 0.19133330881595612, -0.8376063108444214, 0.5810147523880005, -0.5647136569023132, -0.15680399537086487, 0.3659780025482178, -0.3242575228214264, -0.6178797483444214, -0.05053556710481644, 0.013256417587399483, 0.22666561603546143, -0.4243805408477783, 0.10042847692966461, -0.5228423476219177, -0.5169800519943237, 0.22458487749099731, -0.5136166214942932, 0.2756592333316803, 0.2952546179294586, -0.7154842615127563, 0.1715295910835266, -1.099290132522583, -0.13584038615226746, -0.08011419326066971, -0.2545578181743622, -0.24974390864372253, -0.023066436871886253, -0.008181263692677021, 0.1130150780081749, 0.5353835821151733, -0.45905059576034546, 0.35333022475242615, -0.4938042163848877, 0.9136680960655212, 0.9252373576164246, 0.09279017150402069, 0.02083330973982811, -0.601213812828064, 0.5431589484214783, -0.3507898449897766, 0.6861389875411987, 0.24824608862400055, -0.19166246056556702, -0.56397944688797, -0.6937011480331421, 0.5654431581497192, 0.5171748399734497, -0.21350398659706116, 0.11199485510587692, -0.08124373108148575, -0.5235801339149475, -0.6829176545143127, -0.0023995419032871723, -0.07485617697238922, 0.2600475251674652, 0.26248520612716675, -0.5183404684066772, -0.5352686047554016, -1.1740286350250244, -0.09938527643680573, -0.1142537072300911, 0.17062459886074066, -0.1796056181192398, 0.19178663194179535, -0.17600052058696747, 0.6181647181510925, -0.30137959122657776, -0.11237213760614395, -0.2185545265674591, 0.31989261507987976, 0.37456485629081726, 0.314981609582901, 0.40214675664901733, -0.7066056728363037, -0.18930184841156006, 0.06310232728719711, -0.4623291492462158, -0.24044446647167206, -0.35726168751716614, -0.11041522026062012, 0.07186621427536011, 0.4587591588497162, -0.7104739546775818, 0.528569221496582, 0.2871614098548889, -0.25857192277908325, 0.7709634900093079, -0.09108526259660721, 0.24750195443630219, -0.7492101192474365, 0.06565038859844208, -0.22951820492744446, -0.5582801699638367, -0.3282085359096527, 0.17731739580631256, 0.0651981383562088, -0.13930189609527588, -0.43543341755867004, 0.5534441471099854, -0.4979669153690338, -0.20592832565307617, -0.5052833557128906, 0.17449046671390533, -0.0974789410829544, 0.24108067154884338, -0.10086151212453842, 0.6712493300437927, 0.36104413866996765, -0.44788941740989685, 0.7883788347244263, -0.261692613363266, -0.3123866021633148, 0.1692240983247757, -0.5929244160652161, -0.10513757914304733, 0.25112849473953247, -0.016988316550850868, -0.6200070977210999, -0.001089995028451085, 0.6615450382232666, -0.15381671488285065, 0.37187400460243225, -0.23729673027992249, -0.7928056120872498, -0.2026630938053131, -0.592430055141449, 0.27798014879226685, 0.5185899138450623, -0.3092121481895447, 0.6862056255340576, 0.04292245954275131, -0.19969958066940308, -0.48901981115341187, -0.6110250949859619, 0.16212789714336395, -0.6663427352905273, -0.5475196242332458, 0.29531362652778625, 0.025011727586388588, -0.41522806882858276, -0.016296112909913063, -0.6827911138534546, 0.2252465784549713, 0.19798190891742706, 0.2673608362674713, 0.7808261513710022, -0.054117459803819656, -0.27847519516944885, -0.15537835657596588, -0.41643568873405457, 0.10485880076885223, -0.5470265746116638, 0.39606183767318726, 0.04649116098880768, -0.2240559160709381, -0.716933012008667, -0.1880347579717636, 0.43921807408332825, -0.08003938943147659, 0.49492812156677246, 0.38976171612739563, -0.23259508609771729, -0.20417942106723785, -0.852761447429657, -0.20958562195301056, -0.5713381767272949, -0.005260326899588108, -0.21589753031730652, -0.9156486392021179, 0.7061364054679871, -0.04241626709699631, 0.2529352307319641, 0.7262680530548096, 0.6401980519294739, 0.24859844148159027, 0.964601993560791, 0.47315624356269836, -0.2590816915035248, 0.6120613217353821, -0.3503389358520508, 0.38958343863487244, -0.3952030837535858, -0.14153948426246643, -0.38305991888046265, -0.364446759223938, -0.6713914275169373, -0.14954522252082825, 0.22391128540039062, 0.13926799595355988, -0.13607420027256012, 0.33262449502944946, -0.6922906637191772, 0.22602243721485138, 0.6078096628189087, 0.03802448883652687, 0.5692480802536011, 0.32186177372932434, 0.055105060338974, 0.252023309469223, -0.42365726828575134, -0.6475001573562622, 1.107272982597351, 0.5097206830978394, 0.9413197040557861, -0.21213442087173462, 0.713980495929718, 0.33556851744651794, 0.6208337545394897, -0.4506368041038513, 0.40305235981941223, 0.21110646426677704, -0.8067346811294556, -0.07501273602247238, -0.5364902019500732, -0.6547544002532959, 0.4021628797054291, 0.036591578274965286, -0.6937963366508484, 0.11744850128889084, 0.1865909844636917, -0.5432116985321045, 0.28140076994895935, -0.4904941916465759, 0.7668446898460388, -0.4007100462913513, -0.2721964716911316, -0.49452152848243713, -0.30116575956344604, 0.2980187237262726, -0.21568556129932404, 0.41935423016548157, -0.4933619499206543, -0.30124780535697937, 0.6267430186271667, -0.6519417762756348, 0.8975679874420166, -0.03141454979777336, -0.08358211070299149, 0.6337473392486572, -0.07323131710290909, 0.5465031862258911, 0.4255598783493042, 0.021470937877893448, 0.22949160635471344, 0.3508612811565399, -0.39433300495147705, -0.37973344326019287, 0.5730501413345337, -0.8533602356910706, -0.6120451092720032, -0.8171272873878479, -0.1652287095785141, 0.17396341264247894, 0.20466510951519012, 0.33340010046958923, 0.4736524224281311, 0.16464222967624664, 0.08125651627779007, 0.2059580683708191, 0.35506898164749146, 0.350277304649353, 0.4863923490047455, -0.15047332644462585, -0.5741645693778992, 0.9973599910736084, 0.32200509309768677, 0.17414988577365875, 0.41582319140434265, 0.11833713948726654, -0.37735462188720703, -0.9262226819992065, -0.03259379416704178, 0.2832348644733429, -0.739780604839325, -0.5342099666595459, -0.23549653589725494, -0.26182717084884644, -0.4831072688102722, -0.10090456157922745, -0.37728771567344666, -0.6165011525154114, -0.4527195394039154, -0.3596181869506836, 0.25923511385917664, 0.4642748534679413, -0.21696162223815918, 0.4811806082725525, -0.940945029258728, 0.3656340539455414, 0.272024542093277, 0.3207162022590637, -0.15802831947803497, -0.39938387274742126, -0.48023122549057007, -0.02698812074959278, -0.5436152815818787, -0.7474614977836609, 0.42443761229515076, -0.054550137370824814, 0.3946296274662018, 0.7022875547409058, -0.03515639901161194, 0.5626043081283569, 0.1636519730091095, 0.5100369453430176, 0.19465520977973938, -0.9107248783111572, 0.27216020226478577, -0.3355042040348053, 0.08988691121339798, 0.5043089985847473, 0.15754158794879913, -0.3615264296531677, -0.5887537002563477, -0.9481679797172546, -1.0760670900344849, 0.5146567225456238, 0.2514435946941376, -0.29802173376083374, 0.13986019790172577, 0.7623113393783569, 0.09872328490018845, 0.7072319388389587, -0.8251557350158691, 0.2960900366306305, -0.2961086332798004, -0.27950698137283325, 0.353145033121109, -0.20579609274864197, -0.13667534291744232, 0.04568932577967644, 0.8645122051239014, 0.01037437841296196, 0.10634817183017731, 0.26558181643486023, -0.05545203015208244, -0.027440911158919334, -0.07338740676641464, 0.2685568332672119, 1.110822319984436, -0.3362198770046234, 0.1378762274980545, 0.1470021903514862, -0.5692784190177917, -0.05423155799508095, 0.25222915410995483, -0.3977803885936737, -0.10052818804979324, 0.7239850163459778, 0.7864007353782654, 0.17318177223205566, -0.8495389223098755, 0.22812119126319885, 0.021848004311323166, -0.385674387216568, -0.3898838758468628, 0.319832980632782, -0.20126082003116608, 0.5794673562049866, 0.5242003798484802, -0.19602450728416443, 0.5360835194587708, -0.7488244771957397, 0.11735118180513382, 0.17217864096164703, -0.24419386684894562, -0.3376762270927429, 0.6830874681472778, 0.005250138230621815, 0.06255947053432465, 0.7104423642158508, -0.3202144503593445, -0.5103165507316589, 0.7686764597892761, 0.27916812896728516, 0.7632298469543457, -0.0782185047864914, 0.018486859276890755, 0.09738843142986298, 0.5140312314033508, -0.5466493368148804, 0.4068650007247925, 0.08354238420724869, -0.39034995436668396, -0.5824269652366638, -0.626051664352417, -0.36413735151290894, 0.2906883656978607, -0.46189314126968384, 0.5709021091461182, -1.0162732601165771, -0.5715840458869934, 0.03698721528053284, 0.39011484384536743, -0.399165540933609, 0.3006241023540497, 0.11914809793233871, 0.8229197263717651, -0.3163546621799469, 0.5677346587181091, 0.49897775053977966, -0.10480324923992157, -0.45945531129837036, -0.4224506616592407, 0.013637077063322067, -0.8939578533172607, 0.20599432289600372, 0.23036688566207886, 0.15047357976436615, -0.14014913141727448, -0.5582776069641113, -0.7554776668548584, 1.2768853902816772, 0.2549855709075928, -1.1517423391342163, -0.1383531540632248, 0.07428677380084991, 0.5363380908966064, -0.28952768445014954, -0.04539685696363449, 0.5275284647941589, 0.6407805681228638, -0.016044387593865395, -0.7396390438079834, -0.052545517683029175, -0.026293786242604256, -0.31039780378341675, 0.5499759912490845, -1.0616496801376343, 0.616084098815918, 0.05197017639875412, -0.10806672275066376, -0.16923287510871887, 0.5933632254600525, 0.25884971022605896, 0.4902990162372589, 0.5399676561355591, 0.4655240774154663, 0.3887498378753662, 0.02252602018415928, 0.7425886988639832, -0.5764210820198059, 0.6412312984466553, 0.8693144917488098, 0.08970099687576294, 0.685201108455658, 0.24622859060764313, -0.1196606308221817, -0.016054507344961166, 1.172806978225708, -0.6068447828292847, 0.49993109703063965, 0.46463292837142944, -0.2738991379737854, -0.3443785309791565, 0.22323155403137207, -0.2934504747390747, 0.18593135476112366, 0.27958711981773376, -0.04566413536667824, 0.05305401235818863, -0.30313587188720703, -0.14376415312290192, -0.5120556950569153, -0.4785034954547882, 0.5782139301300049, 0.26882708072662354, -0.08951979875564575, 0.1693461537361145, 0.42562633752822876, 0.5415749549865723, -0.708091676235199, 0.21543695032596588, -0.05664330720901489, 0.0539245568215847, -0.1753813773393631, -0.12335939705371857, 0.33119967579841614, -0.20551535487174988, 0.23697274923324585, 0.03975299000740051, 0.8323206305503845, -0.35561084747314453, -0.6600571274757385, 0.25096234679222107, -0.029826540499925613, -0.07335858047008514, -0.38140878081321716, -0.7086160778999329, 0.22068294882774353, 0.013468478806316853, -0.36826983094215393, 0.3591221868991852, 0.4076308310031891, -0.2608942687511444, 0.7876469492912292, 0.7641258835792542, 0.2604379653930664, 0.02532295323908329, -0.08473557978868484, 0.7697091102600098, -0.8761913180351257, -0.7569055557250977, -0.9066712260246277, 0.10875897109508514, -0.22776946425437927, -0.058784302324056625, 0.4857129454612732, 0.8430333733558655, 0.7341331839561462, 0.15013448894023895, 0.9195966720581055, 0.27235615253448486, 0.24436934292316437, -0.5754261612892151, 0.3853082060813904, -0.34581229090690613, 0.48621928691864014, 0.020982172340154648, -1.048673152923584, -0.1767147183418274, 0.6779933571815491, -0.11068329215049744, -0.17712387442588806, 0.6069868206977844, 0.49119842052459717, -0.12676045298576355, 0.07873740792274475, 0.06730399280786514, 0.2949255704879761, 0.45852750539779663, 0.05250293388962746, 0.7614337205886841, -0.2919562757015228, 0.6972446441650391, -0.43996480107307434, -0.17091204226016998, -0.5034736394882202, -0.8941447734832764, -0.8598777651786804, 0.00013220169057603925, -0.6265261769294739, -0.16641674935817719, 0.16482007503509521, 0.9321218132972717, 0.603711724281311, -0.5189473628997803, -0.34774547815322876, 0.3020513355731964, -0.13426749408245087, -0.2737937271595001, -0.15926608443260193, 0.35837072134017944, -0.2977871894836426, -0.30164992809295654, 0.15065789222717285, 0.5331465601921082, 0.2877888083457947, -0.3628369867801666, 0.2967725992202759, 0.37370529770851135, 0.06449101865291595, 0.4236181974411011, -0.07065942138433456, -0.5104151368141174, -0.4444117248058319, -0.29999038577079773, 0.10664869099855423, 0.0630011260509491, 0.9832345247268677, -0.17978119850158691, 0.13080266118049622, 0.5389111638069153, 0.3656189441680908, 0.8691664934158325, 0.24788817763328552, 0.4857581853866577, -0.1341201514005661, 0.3250754177570343, 0.20877937972545624, 0.12406300008296967, 0.09327367693185806, -0.5632021427154541, 0.494055837392807, 0.5702305436134338, -0.5598976016044617, -0.6156136393547058, -0.33456242084503174, -0.9741615056991577, -0.4268958270549774, 0.813011109828949, 0.12105845659971237, -0.39514780044555664, -0.05766918882727623, -0.35657984018325806, 0.17887184023857117, -0.5955609679222107, 1.1364988088607788, 0.8404796719551086, -0.09174171835184097, -0.08825158327817917, -0.9185209274291992, 0.5570512413978577, -0.20334188640117645, -0.6423108577728271, -0.021338120102882385, 0.349309504032135, 0.38161614537239075, 0.04651447385549545, 0.7247505784034729, -0.18918707966804504, 0.26296278834342957, 0.00886464398354292, 0.02591753378510475, -0.2448052316904068, -0.3158240020275116, -0.08037848025560379, 0.3671669363975525, 0.29799240827560425, -0.11995909363031387 ]
http://arxiv.org/abs/2406.14036v1
http://arxiv.org/pdf/2406.14036v1
Toward Infinite-Long Prefix in Transformer
2024-06-20T06:56:35
2024-06-20T06:56:35
Jiuxiang Gu, Yingyu Liang, Zhenmei Shi, Zhao Song, Chiwun Yang
cs.LG
cs.LG, cs.AI, cs.CL
Prompting and contextual-based fine-tuning methods, which we call Prefix Learning, have been proposed to enhance the performance of language models on various downstream tasks that can match full parameter fine-tuning. There remains a limited theoretical understanding of how these methods work. In this paper, we aim to relieve this limitation by studying the learning ability of Prefix Learning from the perspective of prefix length. In particular, we approximate the infinite-long Prefix Learning optimization process by the Neural Tangent Kernel (NTK) technique. We formulate and solve it as a learning problem of the infinite-long prefix in a one-layer attention network. Our results confirm the over-parameterization property and arbitrary small loss convergence guarantee of the infinite-long Prefix Learning in attention. To the implementation end, we propose our NTK-Attention method, which is "equivalent" to attention computation with arbitrary prefix length efficiently. Its time complexity mainly depends on the sub-quadratic of input length (without prefix), and our method only requires $d^2 + d$ extra parameters for representation, where $d$ is the feature dimension. In addition, we conducted experiments that compare our NTK-Attention with full parameters fine-tuning, LoRA, and P-Tuning V2 methods across vision or natural language datasets. The results indicate our approach may be a promising parameter-efficient-fine-tuning method since it has demonstrated superior performance in numerous scenarios. Our code can be found at \url{https://github.com/ChristianYang37/chiwun/tree/main/src/NTK-Attention}.
[ -0.7302902936935425, -0.8302412033081055, 0.5610882639884949, 0.22259856760501862, -0.6066505312919617, -0.17826953530311584, -0.5924787521362305, -0.4669400751590729, 0.2470332235097885, 0.13873223960399628, -0.8105717301368713, -0.34662723541259766, -0.4773307740688324, 0.2779296934604645, 0.007111289072781801, 0.835496187210083, 0.16025221347808838, -0.18322478234767914, 0.19582593441009521, -0.09074714779853821, -0.8132662773132324, 0.12554895877838135, -1.1113532781600952, -0.0670420303940773, 0.8604147434234619, 0.6174289584159851, 0.49005913734436035, 0.9583616852760315, 0.23216263949871063, 0.22944940626621246, -0.3804831802845001, 0.3109961450099945, -0.5995886921882629, 0.04055735096335411, -0.15641391277313232, -0.3069639205932617, -0.21773399412631989, -0.16624495387077332, 0.9437905550003052, 0.678776741027832, 0.29958561062812805, 0.21788904070854187, 0.209995299577713, 0.7876672744750977, -0.6645390391349792, 0.029277902096509933, -0.5868701338768005, 0.2287413477897644, -0.06660737842321396, -0.28217267990112305, -0.3083181381225586, -0.4942471981048584, 0.14730924367904663, -0.6873626112937927, 0.24783578515052795, 0.18842662870883942, 0.8218287229537964, 0.7127626538276672, -0.34789735078811646, -0.1031077653169632, -0.6503582000732422, 0.9076591730117798, -0.6002182960510254, 0.7029734253883362, 0.5307909846305847, 0.32423722743988037, 0.006615540944039822, -0.567430317401886, -0.514905571937561, -0.44507694244384766, -0.05973036214709282, 0.12656648457050323, 0.1313648223876953, 0.21872952580451965, 0.46314486861228943, 0.2861785292625427, -0.2916353940963745, 0.21702414751052856, -0.4315148890018463, 0.020119857043027878, 0.31863948702812195, 0.254185289144516, -0.12244667857885361, -0.03891841322183609, -0.46606168150901794, 0.046532873064279556, -0.5865435600280762, 0.253046452999115, 0.2706316411495209, 0.20525234937667847, 0.03768746554851532, 0.09583431482315063, -0.29509666562080383, 0.7836792469024658, 0.3134799301624298, 0.005369795951992273, -0.05296861380338669, -0.00573649350553751, -0.24912869930267334, 0.25746527314186096, 0.4162892997264862, 0.29539135098457336, 0.3796796500682831, -0.6966126561164856, 0.06665695458650589, -0.11754610389471054, 0.5829138159751892, -0.6400212049484253, 0.21131782233715057, 0.0426834374666214, 0.008929087780416012, -0.13875339925289154, -0.11617863178253174, -0.783065676689148, 0.12204781919717789, -0.7831486463546753, 0.39302411675453186, -0.6064487099647522, 0.031517401337623596, 0.20094628632068634, 0.20669837296009064, 0.46656346321105957, 0.14027664065361023, -0.8042188286781311, 0.3373306691646576, 0.8750030398368835, 0.860541820526123, -0.34197890758514404, -0.4874160587787628, -0.5933548808097839, -0.21913352608680725, -0.4406759738922119, 0.48945316672325134, -0.3400745391845703, -0.2346876859664917, -0.4469154477119446, -0.14665207266807556, 0.013381046243011951, -0.29527953267097473, 0.6047647595405579, -0.7686499357223511, -0.19070973992347717, -0.09312794357538223, -0.434566468000412, -0.22132538259029388, 0.1639675796031952, -0.5657628774642944, 1.0095528364181519, 0.1832885444164276, -0.6080335974693298, 0.26261574029922485, -0.8136801719665527, -0.3881203234195709, 0.0849790871143341, 0.2701224088668823, -0.34837138652801514, 0.33580514788627625, 0.16861680150032043, 0.45461368560791016, -0.3944114148616791, 0.26552504301071167, 0.04563599079847336, -0.3131909966468811, 0.055022455751895905, -0.5295937061309814, 0.48055556416511536, 0.007654612418264151, -0.39986082911491394, 0.06242811307311058, -0.7223352193832397, 0.19000846147537231, 0.07382809370756149, -0.14076414704322815, -0.23612520098686218, -0.3481254577636719, -0.15128912031650543, 0.20186446607112885, -0.11141914129257202, -0.8459715247154236, 0.10995566099882126, -0.8930838704109192, 0.4652407169342041, 0.8853846788406372, 0.058945182710886, 0.5034362077713013, 0.1345175802707672, 0.4198194444179535, -0.16349944472312927, 0.3410969376564026, -0.3552793264389038, -0.3098227381706238, -1.1155585050582886, 0.024010464549064636, 0.7148030996322632, -0.03090280294418335, -0.49325621128082275, 0.48751625418663025, -0.5111797451972961, -0.11883458495140076, -0.39702609181404114, -0.12731343507766724, 0.4669764041900635, 0.9493833184242249, 0.5312355160713196, -0.31582900881767273, -0.19728302955627441, -0.9312558174133301, -0.14574511349201202, 0.30196958780288696, -0.061845771968364716, 0.3972046375274658, 0.2221536487340927, -0.0116338562220335, 1.3559564352035522, -0.7695449590682983, -0.31331688165664673, -0.10517305880784988, -0.04968000948429108, 0.1936638504266739, 0.24755175411701202, 0.2914540469646454, -0.7402318716049194, -0.6195191740989685, 0.08290111273527145, -0.1653781682252884, 0.0491107702255249, 0.04523728787899017, -0.1766081303358078, 0.257073312997818, 0.5408747792243958, -0.32676419615745544, 0.6736109256744385, 0.0615132637321949, -0.32056725025177, 0.516392171382904, -0.2174723595380783, -0.3868713974952698, -0.9585714340209961, 0.16390129923820496, 0.06246281415224075, -0.3483283221721649, -0.8328962922096252, 0.07721848040819168, 0.367610901594162, 0.029718700796365738, -0.5326850414276123, 0.7360989451408386, -0.22032664716243744, 0.37842199206352234, -0.44959864020347595, 0.004994336515665054, -0.11357785761356354, 1.1175024509429932, -0.08673042804002762, 0.5951380729675293, 0.6157882809638977, -0.8997242450714111, 0.43870827555656433, 0.06742051988840103, -0.06695403158664703, 0.5675857663154602, -0.648551881313324, 0.3055804371833801, -0.42984408140182495, 0.01743491180241108, -0.9373315572738647, -0.014233764261007309, 0.3358484208583832, -0.3624177873134613, 0.542037844657898, 0.046968936920166016, -0.4301277995109558, -0.3595755696296692, -0.1966746300458908, 0.5791441202163696, 0.4818686544895172, -0.706512987613678, 0.5783408880233765, 0.0002119590062648058, 0.015020841732621193, -0.5716659426689148, -0.421493262052536, 0.06738102436065674, -0.3759399652481079, -0.3619781732559204, 0.3855454921722412, 0.0924348384141922, 0.4957328140735626, -0.15409249067306519, -0.3951403498649597, 0.10550954937934875, -0.032542359083890915, 0.24108070135116577, 0.03145529329776764, -0.3100011348724365, 0.4214652180671692, -0.027589846402406693, -0.6975507736206055, -0.004836946725845337, -0.5166915059089661, 0.5416554808616638, -0.2450169026851654, -0.1152404248714447, -0.3903801739215851, 0.22606521844863892, 0.3790517747402191, -0.4221322536468506, 0.3231833875179291, 0.5829374194145203, -0.09561299532651901, -0.5192146897315979, -0.7360281944274902, -0.4916824400424957, -0.5041493773460388, 0.455951064825058, -0.28679659962654114, -0.9408083558082581, 0.3761654496192932, -0.38989293575286865, -0.06734011322259903, 0.3740864396095276, 0.24649323523044586, 0.23477253317832947, 0.5682690143585205, 0.8993767499923706, -0.19323840737342834, 0.1535998433828354, -0.4569399356842041, 0.4060005247592926, -1.0842363834381104, -0.27212637662887573, -0.2710511386394501, -0.8925570845603943, -0.1510835886001587, -0.11437492817640305, 0.5067081451416016, -0.037644729018211365, -0.2881775498390198, 0.40550026297569275, -0.5419475436210632, 0.8298646211624146, 0.5942700505256653, 0.2225021868944168, 0.16230501234531403, 0.054899562150239944, -0.20507089793682098, -0.13989503681659698, -0.6430874466896057, 0.2026752531528473, 0.6291587352752686, 0.5081272721290588, 0.42027485370635986, -0.2305222749710083, 0.26429250836372375, -0.12942278385162354, -0.15536515414714813, -1.193176507949829, 0.5537757277488708, 0.20033134520053864, -0.0970282107591629, -0.6612063050270081, -0.3894246518611908, -0.9304467439651489, -0.0921667292714119, 0.40331944823265076, -0.8536064624786377, 0.2635487914085388, 0.0021733033936470747, -0.5501576662063599, 0.3786657452583313, -0.5057172775268555, 0.7644575238227844, -0.1690242439508438, -0.30795812606811523, -0.28218507766723633, -1.1381977796554565, -0.04000537469983101, -0.29610389471054077, -0.40793633460998535, -0.10365308076143265, -0.240217387676239, 0.5778936147689819, -0.1198468953371048, 0.8564508557319641, 0.05134611576795578, -0.2625403106212616, -0.008632893674075603, 0.04530450701713562, 0.3717045783996582, 0.339590460062027, 0.11850464344024658, 0.17325110733509064, -0.6119189262390137, -0.12547940015792847, -0.8384709358215332, 0.7361001968383789, -0.5722217559814453, -0.4547111392021179, -0.10353529453277588, -0.6402550935745239, -0.4323555529117584, 0.30764734745025635, 0.25759240984916687, 0.6343145370483398, 0.02448277547955513, 0.1504596471786499, 0.7974046468734741, -0.018697690218687057, 0.7764132022857666, 0.4358885586261749, 0.07374085485935211, -0.2946578562259674, 0.9708421230316162, 0.0933474525809288, 0.24080973863601685, 0.480853408575058, 0.49912703037261963, -0.3779745101928711, -0.12347767502069473, -0.3491758406162262, 0.38480597734451294, -0.5323948264122009, -0.4734847843647003, -0.680769681930542, -0.3791332542896271, 0.1453752964735031, -0.02982107363641262, -0.5209974050521851, -0.35410091280937195, -0.21733137965202332, -0.00471462169662118, 0.6738530993461609, 0.4595882296562195, 0.17360173165798187, 0.41585707664489746, -0.43119484186172485, 0.5664575695991516, 0.4464270770549774, 0.9903132915496826, 0.5089389681816101, -0.737866997718811, -0.38700973987579346, 0.0005752585711888969, -0.421531081199646, -0.48537278175354004, 0.12370206415653229, 0.5058274269104004, 0.032702136784791946, 0.6210615038871765, 0.036916352808475494, 0.7834076881408691, -0.83903568983078, 0.5155140161514282, 0.03248729556798935, -0.8958770632743835, 0.4533112347126007, -0.032704390585422516, 0.733993411064148, 0.5515763163566589, 0.4439821243286133, -0.7353165745735168, -0.1255010962486267, -0.6765509247779846, -0.9228935241699219, 1.1344143152236938, 0.29889482259750366, 0.41637861728668213, 0.13505621254444122, 0.5101121664047241, 0.2415548712015152, -0.11962966620922089, -0.245359405875206, -0.6028634905815125, -0.12978844344615936, 0.23480144143104553, -0.04302976280450821, -0.2841463088989258, 0.14678235352039337, -0.5901328921318054, 0.57450932264328, -0.23439379036426544, 0.2948368489742279, 0.18163904547691345, 0.1254776120185852, -0.06956402212381363, 0.24359245598316193, 0.7890301942825317, 0.7529444694519043, -0.07310652732849121, 0.013279036618769169, 0.6517482399940491, -0.667343258857727, -0.03836612030863762, -0.09183590859174728, 0.07920737564563751, 0.09383030235767365, -0.1280016452074051, 1.1345597505569458, 0.29928383231163025, -0.1764519363641739, 0.36322468519210815, -0.06871967762708664, -0.17539054155349731, -0.07104680687189102, -0.01760575920343399, 0.03506789728999138, -0.0710173174738884, 0.4644721746444702, -0.0053228591568768024, -0.023635607212781906, 0.18541669845581055, 0.16274601221084595, 0.22560226917266846, -0.7026535272598267, -0.3000370264053345, 0.5463363528251648, -0.11194246262311935, -0.39115872979164124, 0.6430341601371765, -0.09984114021062851, -0.49086371064186096, 0.8033015131950378, 0.6338205933570862, 1.0797327756881714, -0.2980126142501831, 0.05924756079912186, 0.3596365451812744, 0.02344006486237049, 0.09223558753728867, -0.1319657564163208, -0.45196783542633057, -0.2435927838087082, -0.7135446667671204, -0.728670060634613, -0.04949330911040306, 0.22866401076316833, -0.31096163392066956, 0.381137490272522, -0.4265507161617279, -0.11726794391870499, 0.21587179601192474, -0.155997171998024, -0.4967019557952881, 0.24298451840877533, 0.16298812627792358, 0.961965799331665, -0.2924177944660187, 0.6838257312774658, 0.39657145738601685, 0.06163744628429413, -0.968292236328125, 0.14355090260505676, -0.40092888474464417, -0.6235304474830627, 0.8923934698104858, 0.3812585175037384, -0.3136259913444519, 0.49982330203056335, -0.43782079219818115, -0.8118062615394592, 0.7905789017677307, 0.38203397393226624, -0.3492684066295624, -0.264270156621933, 0.5745971202850342, 0.5031376481056213, -0.03826673701405525, 0.26714661717414856, 0.5820592641830444, 0.39665499329566956, 0.1255052238702774, -0.9313048124313354, 0.012834210880100727, -0.05379308760166168, 0.3610745370388031, 0.5733147859573364, -0.8066002726554871, 0.3188003599643707, -0.10715201497077942, -0.3527015447616577, -0.15247540175914764, 0.8141540288925171, -0.4118918478488922, 0.13427837193012238, 0.40676894783973694, 0.7329836487770081, 0.21247318387031555, -0.034657955169677734, 0.788811445236206, -0.3415798842906952, 0.6421633958816528, 0.7391971945762634, 0.32097047567367554, 0.3963288366794586, 0.6134877800941467, -0.09468700736761093, -0.0057518756948411465, 0.37860652804374695, 0.08956418186426163, 0.6296570897102356, 0.3730179965496063, -0.02217871882021427, -0.03786088898777962, -0.2803990840911865, -0.2948159873485565, 0.26612985134124756, 0.39773809909820557, -0.1413395255804062, -0.6765875220298767, 0.28252631425857544, -0.29774850606918335, -0.3046630024909973, -0.4850260615348816, 0.9018105268478394, 0.4917401671409607, -0.6705796718597412, 1.0434765815734863, 0.0034084655344486237, 0.6362079381942749, -0.6789156794548035, -0.030617352575063705, -0.14728839695453644, 0.09071272611618042, -0.054141562432050705, -0.6948772072792053, 0.2751385569572449, -0.3596566617488861, -0.15961723029613495, 0.04364316165447235, 0.3990970253944397, -0.32128041982650757, -0.3196730315685272, 0.06461724638938904, -0.061644647270441055, -0.09025973081588745, -0.22192631661891937, -0.36182382702827454, -0.3239692747592926, -0.11870282143354416, -0.0726936012506485, 0.06952397525310516, 0.433933287858963, 0.007584212347865105, 0.681877851486206, 0.34429386258125305, 0.0057682013139128685, 0.14788660407066345, -0.11911556869745255, 0.8430152535438538, -0.5869208574295044, -0.8612188696861267, -1.1105924844741821, 0.3959801197052002, 0.17548127472400665, -0.601548969745636, 0.5339586138725281, 0.4462521970272064, 0.8581960797309875, -0.28986117243766785, 0.1639629602432251, 0.06269265711307526, 0.2667829096317291, -0.44047170877456665, 0.41940048336982727, -0.5569546818733215, -0.13541778922080994, -0.03226550668478012, -1.2679214477539062, -0.5395399332046509, 0.06856399029493332, -0.4005747139453888, -0.02804964780807495, 0.8724249601364136, 0.7610563039779663, -0.693367063999176, 0.34150421619415283, 0.37610873579978943, -0.0166856087744236, -0.14104244112968445, 0.7474520206451416, 0.6263300180435181, -0.29045674204826355, 0.18493488430976868, -0.4545581638813019, 0.01961655542254448, -0.18716391921043396, -0.8295220732688904, -0.8383885025978088, -0.6615756750106812, -0.1794067770242691, -0.06606610119342804, 0.10721006244421005, 0.8873667120933533, 0.5806400775909424, -0.7024872899055481, 0.21599222719669342, -0.2911265194416046, -0.028367027640342712, -0.14930002391338348, -0.1887236386537552, 0.9185059070587158, -0.7084402441978455, -0.7369042038917542, 0.06867604702711105, 0.43298572301864624, -0.23018702864646912, -0.09639568626880646, -0.028694648295640945, 0.06340612471103668, -0.3020496070384979, 0.5517553091049194, 0.5151427984237671, -0.8098312020301819, -0.12121803313493729, 0.24426046013832092, 0.05070294812321663, 0.48910894989967346, 0.8440572619438171, -0.9797082543373108, 0.5595901012420654, 0.30344682931900024, 1.0511066913604736, 0.38084903359413147, 0.13248300552368164, 0.35393065214157104, -1.133318543434143, 0.19090043008327484, 0.39251387119293213, -0.19403572380542755, 0.035637058317661285, -0.5225825309753418, 0.3920271396636963, -0.2000764161348343, -0.5829595923423767, -0.4465327560901642, 0.2727232873439789, -0.9482297301292419, -0.02660563960671425, 1.1492512226104736, 0.3446807265281677, -0.3336680233478546, -0.1678454577922821, -0.48726221919059753, 0.357390820980072, -0.4916808307170868, 0.7030842900276184, 0.32905375957489014, 0.08093676716089249, -0.1423429399728775, -0.5593874454498291, 0.7611314654350281, 0.7101436853408813, -0.26772797107696533, -0.00438460148870945, -0.14988836646080017, 0.028569303452968597, 0.3232462704181671, -0.0719064474105835, 0.12217973917722702, 0.40562471747398376, -0.7031838893890381, -0.27434876561164856, -0.43270063400268555, -0.5702913999557495, -0.6807370185852051, 0.02793663553893566, -0.17618954181671143, -0.21153777837753296 ]
http://arxiv.org/abs/2406.14035v1
http://arxiv.org/pdf/2406.14035v1
Two Giraffes in a Dirt Field: Using Game Play to Investigate Situation Modelling in Large Multimodal Models
2024-06-20T06:56:19
2024-06-20T06:56:19
Sherzod Hakimov, Yerkezhan Abdullayeva, Kushal Koshti, Antonia Schmidt, Yan Weiser, Anne Beyer, David Schlangen
cs.CL
cs.CL, cs.AI
While the situation has improved for text-only models, it again seems to be the case currently that multimodal (text and image) models develop faster than ways to evaluate them. In this paper, we bring a recently developed evaluation paradigm from text models to multimodal models, namely evaluation through the goal-oriented game (self) play, complementing reference-based and preference-based evaluation. Specifically, we define games that challenge a model's capability to represent a situation from visual information and align such representations through dialogue. We find that the largest closed models perform rather well on the games that we define, while even the best open-weight models struggle with them. On further analysis, we find that the exceptional deep captioning capabilities of the largest models drive some of the performance. There is still room to grow for both kinds of models, ensuring the continued relevance of the benchmark.
[ -0.2515307366847992, -0.5270640254020691, 0.728179395198822, 0.416646808385849, -0.06623516976833344, -0.09734835475683212, -0.2017890214920044, -0.43101391196250916, -0.2814212441444397, 0.5656170845031738, -0.6337952017784119, -0.1853867471218109, -0.6354115009307861, -0.073952816426754, -0.144728884100914, 1.1124221086502075, -0.0821671113371849, 0.11755640804767609, -0.7680567502975464, -0.3308943212032318, -0.8136748671531677, -0.6547183990478516, -0.4204372763633728, -0.5318384766578674, 0.40971237421035767, 0.1862347573041916, 0.9408265352249146, 0.4794725775718689, 1.0622648000717163, 0.46888700127601624, 0.12660636007785797, -0.04177214950323105, -0.42148810625076294, 0.5391332507133484, -0.21556356549263, -0.2840985655784607, 0.05741933360695839, 0.306058794260025, 0.4481389820575714, 0.19930186867713928, 0.024643119424581528, 0.16539493203163147, -0.03138084337115288, 0.22853289544582367, -0.5536723136901855, 0.5738943219184875, -0.07974149286746979, 0.33345362544059753, 0.40029972791671753, -0.24755819141864777, -0.24532410502433777, 0.005845417734235525, 0.4324862062931061, -0.7732498049736023, -0.04329046234488487, -0.11963732540607452, 1.029645323753357, 0.11967453360557556, -0.6287066340446472, -0.4952264726161957, -0.8509582877159119, 0.8021103143692017, -0.5458378195762634, 0.12902215123176575, -0.018162624910473824, 0.46935901045799255, -0.2417021095752716, -0.5082123875617981, -0.6232122778892517, -0.4879947602748871, 0.031211335211992264, 0.33177807927131653, -0.0743909627199173, 0.20262446999549866, 0.3660975992679596, 0.14769791066646576, -0.032827332615852356, -0.2858312427997589, -0.3381541669368744, -0.1548486351966858, 0.7303354144096375, 0.37077072262763977, 0.3243699073791504, -0.4353042542934418, -0.6887423992156982, -0.16048850119113922, -0.27460888028144836, 0.43457508087158203, 0.3161678612232208, 0.11935827136039734, -0.2534635365009308, 0.8564107418060303, -0.07731863111257553, 0.5292218327522278, -0.13533344864845276, -0.4025724232196808, 0.072897769510746, -0.39177176356315613, -0.20710475742816925, -0.3752548396587372, 0.8059605360031128, 1.0709176063537598, 0.2208479940891266, -0.006730465684086084, -0.47658589482307434, 0.4072193503379822, 0.38525623083114624, -0.8065535426139832, -0.27006465196609497, 0.1478249877691269, -0.6239154934883118, -0.44115138053894043, -0.17950227856636047, -0.9823595285415649, -0.6043923497200012, -0.27110183238983154, 0.7778616547584534, -0.5235276818275452, -0.3859964609146118, 0.1447015404701233, -0.30458658933639526, 0.16474966704845428, 0.628439724445343, -0.6306095719337463, 0.18191036581993103, 0.6045590043067932, 1.085876703262329, -0.07508651167154312, -0.3982822895050049, -0.2706521153450012, 0.011403843760490417, -0.6228506565093994, 0.8209735155105591, -0.5278059840202332, -0.6416015028953552, 0.0471213199198246, -0.13034193217754364, 0.11292248219251633, -0.21864734590053558, 0.6238824725151062, -0.4800359010696411, 0.21547669172286987, -0.3252447247505188, -0.22482874989509583, -0.15720416605472565, 0.8461828827857971, -0.8128795027732849, 0.8162987232208252, -0.03730166330933571, -0.6798359751701355, 0.6349212527275085, -1.1987847089767456, -0.4871707856655121, -0.07845021784305573, -0.06764933466911316, -0.19696667790412903, 0.27338656783103943, 0.11101774126291275, 0.2604728043079376, -0.3698665201663971, 0.4808964729309082, -0.5427964329719543, -0.41171517968177795, 0.1555154174566269, -0.39009904861450195, 0.22604720294475555, 0.3983249366283417, -0.02511020377278328, 0.1422090083360672, -0.10470759123563766, 0.17819979786872864, 0.33586496114730835, -0.3322097063064575, -0.30907732248306274, 0.3203236758708954, -0.0860111191868782, 0.7477931380271912, 0.03066481277346611, -0.4157402217388153, 0.37318718433380127, 0.14877018332481384, 0.8673892617225647, 0.4457332193851471, -0.19665779173374176, 0.5611469745635986, -0.4904404878616333, 0.6172748804092407, 0.31265804171562195, 0.4763296842575073, -0.6805071234703064, -0.46876686811447144, -0.6451506018638611, -0.18419808149337769, 0.6427906155586243, 0.351650208234787, -0.935279130935669, -0.3002201318740845, -0.4368744492530823, -0.34634923934936523, -0.480303555727005, -0.30883029103279114, 0.3507305979728699, 0.20363028347492218, 0.020792601630091667, -0.6212581396102905, -0.29370012879371643, -0.9791710376739502, 0.1720447689294815, -0.40480494499206543, 0.5219923853874207, 0.7199916243553162, 0.7038052082061768, -0.1539859175682068, 0.9182917475700378, -0.2213042825460434, -0.24223792552947998, -0.08249743282794952, 0.5276485681533813, -0.024740207940340042, 0.5548000335693359, 0.7005835771560669, -1.0977158546447754, 0.1721775382757187, -0.266558974981308, -1.119284987449646, 0.282727986574173, -0.3307628929615021, 0.10690400004386902, -0.06743283569812775, 0.24186153709888458, -0.8661750555038452, 0.23229441046714783, 0.7166645526885986, -0.3839097321033478, 0.5751437544822693, -0.5089918971061707, 0.822793185710907, -0.3814699053764343, -0.08676236122846603, 0.13855254650115967, -0.23210619390010834, -0.4127919673919678, 0.5830003023147583, -0.08092596381902695, -0.37231647968292236, -0.3634163737297058, 0.5727297067642212, -0.706466794013977, -0.40160006284713745, -0.13164016604423523, 0.19764794409275055, 0.30235880613327026, 0.2614767849445343, 0.2616714537143707, 0.8252704739570618, 0.5241172909736633, -0.6113862991333008, 0.48162099719047546, 0.3208984136581421, -0.7515217661857605, 0.49869805574417114, -0.5829839706420898, -0.2307099997997284, -0.2958611845970154, 0.26200202107429504, -1.2032221555709839, -0.36487409472465515, 0.21393753588199615, -0.31083258986473083, 0.07466305047273636, -0.23047132790088654, -0.5063962936401367, -0.7854758501052856, -0.36680248379707336, 0.5622645020484924, 0.1751188188791275, -0.39313143491744995, 0.6781198382377625, 0.47022366523742676, -0.22497722506523132, -0.5696407556533813, -0.6504883170127869, 0.3480786979198456, -0.31279876828193665, -0.6781825423240662, 0.29192566871643066, -0.3248577117919922, -0.26964637637138367, -0.1456061601638794, 0.019396111369132996, -0.19372621178627014, 0.10716317594051361, 0.5207030177116394, 0.13822521269321442, -0.31499573588371277, 0.46257373690605164, -0.16922368109226227, 0.21708376705646515, 0.05710535869002342, 0.25009867548942566, 0.34210872650146484, -0.2302299588918686, -0.21540401875972748, -0.0183961633592844, 0.582352340221405, 0.6531481742858887, -0.41715773940086365, 0.32374870777130127, 0.09600745141506195, -0.23165521025657654, 0.37827304005622864, -0.5702815055847168, 0.13712072372436523, -0.43984538316726685, 0.4916570484638214, -0.7144776582717896, -0.7046525478363037, 0.4755655825138092, -0.2749841809272766, -0.0707496851682663, 0.43981996178627014, 0.4406560957431793, -0.27244511246681213, 1.1407803297042847, 0.7801204323768616, 0.3605158030986786, 0.4080151319503784, -0.2092534750699997, -0.05799376592040062, -0.6786561608314514, -0.4817136824131012, -0.23630180954933167, -0.26961755752563477, -0.31678351759910583, -0.6408122777938843, 0.29218319058418274, 0.135715514421463, -0.30143415927886963, 0.19962510466575623, -0.358809232711792, 0.5357851982116699, 0.4428832232952118, 0.1604255586862564, 0.2758667767047882, -0.2657972574234009, -0.2857787311077118, -0.16346365213394165, -0.9901379346847534, -0.6507488489151001, 0.9041643142700195, 0.3941749930381775, 0.6779352426528931, 0.1062900722026825, 0.6368346810340881, 0.6113742589950562, 0.754550576210022, -0.7765751481056213, 0.4183381199836731, 0.16110076010227203, -0.9210781455039978, -0.3079560101032257, -0.3037368953227997, -0.7808847427368164, 0.4621083736419678, -0.6202598810195923, -0.4734871983528137, 0.04525546729564667, -0.06492671370506287, -0.6392055153846741, -0.021453212946653366, -0.9031161069869995, 1.3035844564437866, -0.530325710773468, -0.46958398818969727, -0.12318824976682663, -0.5050240755081177, 0.5927731990814209, 0.29698365926742554, 0.5581074357032776, -0.05129711702466011, -0.004089175723493099, 0.5472926497459412, 0.02909710817039013, 0.40428659319877625, -0.1391063928604126, -0.13696910440921783, 0.6873885989189148, 0.45866331458091736, 0.09828628599643707, 0.1854962408542633, -0.02492355927824974, 0.09948544949293137, 0.4472552239894867, -0.23208369314670563, -0.6748597621917725, 0.8467851877212524, -0.8570078015327454, -0.7812818884849548, -0.6772715449333191, -0.6491995453834534, -0.19692279398441315, 0.029286686331033707, 0.09927307069301605, 0.5289193987846375, -0.48287373781204224, 0.07879546284675598, 0.20706619322299957, -0.3431982100009918, 0.7556660175323486, 0.36705124378204346, -0.45453229546546936, -0.19209064543247223, 0.6827449798583984, -0.00851523969322443, 0.0382363423705101, 0.08573058247566223, 0.10797297209501266, -0.40430018305778503, -0.34930717945098877, -0.6365659236907959, -0.10291776806116104, -0.736832857131958, -0.36533910036087036, -0.4986724257469177, -0.07005737721920013, -0.03105679526925087, 0.10640742629766464, -0.2219460904598236, -0.17353889346122742, 0.12111450731754303, 0.05945724621415138, -0.12895655632019043, 0.9267627000808716, -0.1664707362651825, 0.4562120735645294, -0.7738455533981323, 0.20575010776519775, 0.30577346682548523, 0.628410816192627, 0.0051585412584245205, -0.20938719809055328, -0.06185575947165489, 0.16300596296787262, -0.5925884246826172, -0.8990342617034912, 0.25348398089408875, 0.0868726596236229, 0.44843947887420654, 0.19866742193698883, -0.2305668294429779, 0.7651077508926392, -0.5807936787605286, 1.015956163406372, 0.4783223867416382, -1.0062919855117798, 0.2870090901851654, -0.48584359884262085, 0.2731070816516876, 0.38202837109565735, 0.1828107386827469, -0.5631632208824158, 0.20699435472488403, -0.5717903971672058, -0.41201335191726685, 0.8598056435585022, 0.2603622376918793, 0.5781427025794983, -0.06368325650691986, 0.22177404165267944, -0.06617793440818787, 0.6177390217781067, -1.1006441116333008, 0.249408558011055, -0.4937328100204468, 0.05614864081144333, -0.3864121735095978, -0.49179235100746155, -0.3599912226200104, -0.10283949971199036, 0.17801541090011597, -0.1954108029603958, 0.7057079076766968, 0.2694976329803467, -0.19052350521087646, -0.18314705789089203, 0.2535565495491028, 0.6499814987182617, 0.5530000329017639, 0.00814872421324253, -0.08112731575965881, -0.040000997483730316, 0.11595524847507477, 0.3383888304233551, 0.08700752258300781, 0.023953700438141823, -0.08012401312589645, 0.6475194692611694, 0.7568581104278564, 0.648065984249115, -0.8503602743148804, 0.9621793031692505, -0.004211376421153545, -0.12020205706357956, 0.08127746731042862, 0.04270781949162483, -0.086225226521492, 0.6124050617218018, 0.05508153885602951, 0.11964594572782516, 0.43033307790756226, -0.9832428097724915, 0.17544974386692047, 0.5678074955940247, -0.5126709342002869, -0.004236630629748106, 0.687232255935669, 0.3768525719642639, -0.3062765896320343, 0.45502275228500366, -0.1697414666414261, -0.68575519323349, 1.0103553533554077, 0.4520756006240845, 0.42411303520202637, -0.022969407960772514, 0.6505448818206787, 0.42466193437576294, 0.26367446780204773, -0.36645832657814026, 0.24286451935768127, -0.03318241983652115, -0.6884133815765381, -0.4761967360973358, -0.3784109055995941, -0.4002644121646881, 0.12591372430324554, -0.3972525894641876, 0.13731960952281952, -0.3247496783733368, -0.6598923802375793, 0.19651676714420319, -0.016059620305895805, -0.8245629668235779, 0.6253063678741455, 0.30016306042671204, 0.5465903282165527, -0.4803101420402527, 0.4080873131752014, 0.6987175941467285, -0.46306052803993225, -0.27787697315216064, -0.25791221857070923, -0.32425209879875183, -0.4111981689929962, 0.8052390217781067, 0.42372098565101624, 0.011630993336439133, -0.5995023250579834, -0.7750176191329956, -0.8333447575569153, 0.945835292339325, 0.40087032318115234, -0.6383820176124573, -0.18283399939537048, -0.2849155068397522, 0.7815527319908142, -0.6900867223739624, 0.7199492454528809, 0.16205090284347534, 0.5901889801025391, 0.08913363516330719, -0.701749861240387, -0.3645613193511963, -0.31261152029037476, 0.030570846050977707, 0.06418473273515701, -0.988490104675293, 0.9751218557357788, -0.6574109196662903, -0.2518870532512665, 0.3585113286972046, 0.7283148765563965, -0.12206243723630905, 0.40094149112701416, 0.6226421594619751, 0.2248079627752304, 0.1673218011856079, -0.3797287046909332, 1.3435428142547607, -0.20544633269309998, 0.6067893505096436, 1.0907495021820068, -0.512750506401062, 0.5054929256439209, 0.23821279406547546, 0.18351203203201294, 0.3674684464931488, 0.7094562649726868, -0.25741419196128845, 0.7975468039512634, 0.21357059478759766, 0.13292843103408813, -0.7118939161300659, -0.045228563249111176, -0.30033931136131287, 0.8494078516960144, 0.08266058564186096, -0.3978450894355774, -0.4940124452114105, 0.0574529729783535, -0.31569987535476685, 0.10131429880857468, -0.4104143977165222, 0.5854206681251526, -0.21387198567390442, -0.9932063221931458, -0.013976719230413437, 0.3157108426094055, 0.5030504465103149, -0.5376458764076233, -0.2352619618177414, -0.023741206154227257, 0.03803206980228424, 0.23503020405769348, -0.9669509530067444, 0.013342986814677715, -0.18572206795215607, -0.2495245337486267, -0.1502862572669983, 0.6549358367919922, -0.4182758927345276, -0.5095966458320618, 0.5284969806671143, 0.5736761689186096, -0.06046875938773155, -0.050307583063840866, -0.979000449180603, 0.1481475830078125, -0.4048512876033783, -0.26499226689338684, 0.2863112986087799, 0.5304030179977417, -0.21828289330005646, 0.8709953427314758, 0.26443323493003845, -0.4263428747653961, -0.30106356739997864, -0.25921836495399475, 0.7710886597633362, -0.7130930423736572, -0.5225950479507446, -0.9261453747749329, 0.3722803592681885, -0.14482612907886505, -0.6804360747337341, 0.4695059359073639, 0.602746844291687, 0.388693243265152, -0.2830563187599182, 0.8171340227127075, -0.08405246585607529, -0.1750412881374359, -0.45161303877830505, 0.4853598475456238, -0.7591394782066345, -0.377792626619339, -0.5573883652687073, -0.7036812901496887, -0.03370376303792, 0.7583189606666565, -0.3693835735321045, 0.1800624430179596, 0.33291614055633545, 0.23457381129264832, -0.09805463999509811, 0.12056285887956619, 0.5080261826515198, -0.0475861132144928, 0.15884564816951752, 0.7860162258148193, 1.3143302202224731, -0.5112694501876831, 0.560666024684906, -0.11487236618995667, -0.2420072704553604, -0.14326490461826324, -1.2043843269348145, -0.9660024642944336, -0.7653273344039917, -0.24529093503952026, -0.3711744248867035, 0.29883018136024475, 0.6737812161445618, 0.8879334330558777, -0.48577508330345154, -0.21378928422927856, 0.5066795349121094, 0.052060630172491074, -0.3585678040981293, -0.19894346594810486, -0.13551530241966248, -0.17739468812942505, -0.6288098096847534, 0.18564316630363464, 0.2941182851791382, 0.08718863129615784, -0.39707785844802856, -0.0546799935400486, -0.300222247838974, 0.5131148099899292, 0.9593810439109802, -0.03861008584499359, -0.5784079432487488, -0.6074007153511047, -0.1581421047449112, -0.28073590993881226, 0.3154246509075165, 0.9635143876075745, -0.7833335399627686, 0.7417866587638855, -0.02779913693666458, 0.35468941926956177, 0.6588340401649475, 0.09343504160642624, 0.7012842297554016, -0.18294550478458405, 0.12042602896690369, 0.17878597974777222, 0.40975862741470337, 0.5388748049736023, -0.22966663539409637, 0.7085006833076477, 0.08583184331655502, -0.4267752468585968, -0.7799343466758728, 0.21053965389728546, -0.7386534214019775, -0.17309623956680298, 1.0941261053085327, -0.42774438858032227, -0.10724550485610962, 0.43406569957733154, -0.4387010931968689, 0.20708148181438446, -0.28268885612487793, 0.8822400569915771, 1.4531255960464478, 0.13491220772266388, -0.17703525722026825, -0.7277342677116394, 0.38770368695259094, 0.15060576796531677, -0.5904213190078735, -0.2622266709804535, 0.8445082902908325, 0.2066425234079361, 0.4394686818122864, 0.45628026127815247, -0.058366432785987854, 0.3216899335384369, 0.11095013469457626, 0.046280745416879654, -0.31976935267448425, -0.8236796259880066, -0.2776561975479126, 0.3713558316230774, -0.16728748381137848, -0.10591569542884827 ]
http://arxiv.org/abs/2406.14026v1
http://arxiv.org/pdf/2406.14026v1
Demystifying Forgetting in Language Model Fine-Tuning with Statistical Analysis of Example Associations
2024-06-20T06:46:23
2024-06-20T06:46:23
Xisen Jin, Xiang Ren
cs.LG
cs.LG, cs.CL, stat.ML
Language models (LMs) are known to suffer from forgetting of previously learned examples when fine-tuned, breaking stability of deployed LM systems. Despite efforts on mitigating forgetting, few have investigated whether, and how forgotten upstream examples are associated with newly learned tasks. Insights on such associations enable efficient and targeted mitigation of forgetting. In this paper, we empirically analyze forgetting that occurs in $N$ upstream examples while the model learns $M$ new tasks and visualize their associations with a $M \times N$ matrix. We empirically demonstrate that the degree of forgetting can often be approximated by simple multiplicative contributions of the upstream examples and newly learned tasks. We also reveal more complicated patterns where specific subsets of examples are forgotten with statistics and visualization. Following our analysis, we predict forgetting that happens on upstream examples when learning a new task with matrix completion over the empirical associations, outperforming prior approaches that rely on trainable LMs. Project website: https://inklab.usc.edu/lm-forgetting-prediction/
[ -0.27779990434646606, -0.8165408968925476, 0.5522644519805908, -0.13760830461978912, -0.13321231305599213, -0.03462798893451691, 0.004704644903540611, -0.09017587453126907, 0.25019651651382446, 0.3819326162338257, -0.6796517372131348, -0.48761552572250366, -0.5973386168479919, -0.22018037736415863, -0.3940798044204712, 1.119493007659912, -0.2044760137796402, -0.17152072489261627, -0.36331865191459656, -0.22610381245613098, -0.9010010957717896, -0.3306605815887451, -1.076798915863037, -0.4479322135448456, 0.7664574384689331, 0.5743770599365234, 0.11575455218553543, 0.6648272275924683, 0.3654729723930359, 0.23187382519245148, 0.06675605475902557, -0.1315535008907318, -0.9241585731506348, 0.23770681023597717, 0.01934213377535343, -0.7173946499824524, -0.5179029703140259, -0.10728387534618378, 0.8879855275154114, 1.1143341064453125, -0.1450171172618866, 0.36184823513031006, 0.26088011264801025, 0.8663127422332764, -0.8781298398971558, 0.5063842535018921, -0.8946459889411926, -0.05579301714897156, -0.03310703858733177, -0.18128694593906403, -0.28296563029289246, -0.024778097867965698, -0.012019846588373184, -0.4940379858016968, 0.3874349594116211, -0.15582968294620514, 0.5913124680519104, 0.1661314219236374, -0.06665921211242676, -0.368384450674057, -0.8231695294380188, 1.0110766887664795, -0.6529242396354675, 0.21860070526599884, 0.737372875213623, 0.33687037229537964, -0.13721191883087158, -0.4446735680103302, -0.24575375020503998, -0.03995583578944206, 0.004466485697776079, 0.15665559470653534, -0.38337790966033936, -0.23193363845348358, 0.24834175407886505, 0.3723217248916626, -0.288441002368927, 0.15478548407554626, -0.47965553402900696, -0.3169475495815277, 0.20996205508708954, 0.3731037378311157, 0.18619978427886963, 0.45022931694984436, -0.09924531728029251, -0.07505767792463303, -0.9744824767112732, -0.11985182762145996, 0.25541818141937256, 0.44595521688461304, -0.19822663068771362, 0.1516077071428299, -0.3538026213645935, 0.3297412395477295, -0.03428669273853302, -0.030933471396565437, 0.3023110628128052, -0.20620784163475037, -0.1866331547498703, -0.19161972403526306, 0.48678478598594666, 0.2526857852935791, 0.7197222709655762, -0.11828159540891647, -0.3970631957054138, 0.006155188195407391, 0.16803160309791565, -0.5849002599716187, -0.5096165537834167, 0.14452998340129852, -0.5153973698616028, 0.23779235780239105, -0.457022488117218, -0.39397406578063965, -0.34464967250823975, -0.4063093662261963, 0.592784583568573, -0.5894907116889954, -0.3692470192909241, -0.035462941974401474, -0.31866148114204407, -0.04594636335968971, 0.2799103260040283, -0.8484373092651367, 0.4596758186817169, 0.6421487927436829, 0.7890805006027222, 0.21869932115077972, -0.7886056303977966, -0.4929172694683075, 0.1406623274087906, -0.4204765558242798, 0.6747921109199524, -0.45355692505836487, -0.11580674350261688, 0.002342353342100978, -0.09995085746049881, -0.3438013195991516, -0.5992754697799683, 0.3175869882106781, -0.4421656131744385, -0.005959060974419117, -0.46098530292510986, -0.9071889519691467, -0.4236671030521393, 0.18918192386627197, -0.8904017806053162, 0.830444872379303, -0.07486699521541595, -0.5259638428688049, 0.6202459335327148, -0.21267803013324738, -0.04358146712183952, -0.22879411280155182, 0.04668227210640907, -0.6908060908317566, 0.431490421295166, -0.12775497138500214, 0.819607675075531, 0.06969684362411499, 0.03276480734348297, -0.6140509247779846, -0.531497061252594, -0.06442604213953018, -0.19190983474254608, 0.45645177364349365, 0.02515600435435772, 0.13778991997241974, 0.17733651399612427, -0.7646737098693848, -0.41296443343162537, 0.23940350115299225, -0.23742777109146118, -0.6787670850753784, 0.15468956530094147, -0.2803815007209778, 0.06601514667272568, 0.08361458033323288, -0.24576729536056519, 0.04160935804247856, -0.10783505439758301, 0.1959252506494522, 0.875296950340271, 0.3966524600982666, 0.5404085516929626, -0.39635568857192993, 0.4386503994464874, 0.40313172340393066, -0.16636492311954498, -0.7525050044059753, -0.19255386292934418, -1.084998607635498, 0.02845720760524273, 0.12010744214057922, 0.21993108093738556, -0.32677122950553894, -0.08371204137802124, -0.2822738587856293, -0.5142896175384521, -0.19873520731925964, 0.4398101568222046, 0.40129250288009644, 0.3515106439590454, 0.3239678144454956, -0.42383602261543274, -0.5909331440925598, -0.9937822818756104, -0.3585215210914612, -0.13286803662776947, -0.006200526840984821, -0.09606543928384781, 0.7608507871627808, -0.1650819331407547, 0.6157279014587402, -0.31222477555274963, -0.613008975982666, -0.35650116205215454, 0.3362637162208557, 0.10045434534549713, 0.4809202253818512, 0.5974407196044922, -0.2885850965976715, -0.2419867068529129, -0.29772278666496277, -0.5369085073471069, 0.16714169085025787, -0.34873756766319275, 0.19902180135250092, 0.2148386687040329, 0.8492306470870972, -0.29688629508018494, 0.2355591058731079, 0.33827313780784607, -0.2503572702407837, 0.4193550646305084, -0.38144856691360474, -0.3502774238586426, -0.9713178873062134, -0.11795414984226227, -0.053318385034799576, 0.044049620628356934, -0.8529941439628601, -0.1386251598596573, 0.15779170393943787, 0.1994430124759674, -0.14966879785060883, 0.3899926543235779, -0.8674014806747437, 0.12542074918746948, -0.42350897192955017, -0.10559006035327911, -0.40027955174446106, 0.7425920367240906, -0.27302685379981995, 0.44544899463653564, 0.7284747362136841, -0.8370673060417175, -0.39974507689476013, -0.2809271812438965, -0.0983106791973114, 0.07244850695133209, -0.519813060760498, 0.015907585620880127, -0.5050111413002014, -0.11404474079608917, -1.046428918838501, -0.05648272484540939, 0.020492905750870705, -0.2556120455265045, 0.40773805975914, -0.34662941098213196, -0.4311695694923401, 0.1353185772895813, -0.20409716665744781, 0.3714084029197693, 0.5407682657241821, -0.05750646814703941, 0.5199586749076843, 0.5792880654335022, -0.2913668155670166, -0.5056515336036682, -0.42556461691856384, -0.022908691316843033, -0.4243510365486145, 0.19782908260822296, -0.0061833299696445465, 0.17127977311611176, -0.12892509996891022, -0.11594973504543304, -0.15576273202896118, -0.15788571536540985, 0.5438660979270935, 0.4117567837238312, -0.10686174035072327, -0.13936801254749298, 0.32799071073532104, 0.043690718710422516, -0.2654527425765991, 0.2728152573108673, 0.008634795434772968, 0.7198138236999512, -0.13236650824546814, -0.45947322249412537, -0.27062568068504333, 0.3096220791339874, 0.6970562934875488, -0.033660825341939926, 0.7199135422706604, 0.5569025874137878, -0.6266224384307861, -0.3022671639919281, -0.41728532314300537, -0.45407140254974365, -0.37425780296325684, 0.6720720529556274, -0.24591128528118134, -0.8791759610176086, 1.0435465574264526, -0.0724145844578743, 0.2636265456676483, 0.36814549565315247, 0.47999295592308044, -0.15355929732322693, 0.7228864431381226, 1.0194743871688843, -0.4835553765296936, 0.6039709448814392, -0.34158796072006226, 0.0866103544831276, -0.6502341628074646, 0.163467139005661, -0.3879232108592987, -0.4511229693889618, -0.5855701565742493, -0.2573384642601013, 0.04879310354590416, 0.4736950099468231, -0.2130431830883026, 0.2840336859226227, 0.2522459328174591, 0.5861937999725342, 0.7304572463035583, -0.19828586280345917, 0.1991250216960907, 0.03284120559692383, -0.13584469258785248, 0.049049314111471176, -0.8960018754005432, -0.536406397819519, 1.2567722797393799, 0.40544775128364563, 0.6472086906433105, -0.022535808384418488, 0.9676275253295898, 0.18661588430404663, 0.38244640827178955, -0.604869544506073, 0.5443030595779419, -0.06764350086450577, -0.3891218304634094, -0.15649516880512238, -0.3142204284667969, -1.1468753814697266, -0.043647926300764084, -0.1258232444524765, -0.8648273944854736, 0.09984598308801651, 0.7043114900588989, -0.1871790885925293, 0.2835700511932373, -0.8468429446220398, 0.7048823833465576, 0.31729307770729065, -0.2969505786895752, -0.5017551183700562, -0.2605006694793701, 0.3387337923049927, -0.12413669377565384, 0.191150963306427, -0.3153696358203888, 0.22987359762191772, 0.6981443762779236, 0.06270450353622437, 1.412438154220581, -0.26824215054512024, -0.1645965427160263, 0.21049633622169495, 0.22187718749046326, 0.32549217343330383, -0.34434765577316284, -0.03942684456706047, 0.13249115645885468, -0.2551864683628082, -0.5505677461624146, -0.46008065342903137, 0.8578212857246399, -0.36733007431030273, -0.3521524965763092, -0.19836412370204926, -0.698832094669342, -0.1899794191122055, 0.20212393999099731, -0.2151801437139511, 0.22216618061065674, -0.2739991545677185, -0.002572542056441307, 0.7452120780944824, -0.07251530885696411, 0.7373427748680115, 0.4467391073703766, -0.19863104820251465, 0.029164332896471024, 1.134276270866394, 0.3713225722312927, 0.4060821831226349, 0.42498645186424255, 0.020083671435713768, 0.0842408761382103, -0.8686325550079346, -0.22559024393558502, 0.20164906978607178, -0.7416571378707886, -0.08547452092170715, -0.4924548864364624, 0.14129014313220978, -0.17554539442062378, 0.22459468245506287, -0.2814054787158966, -0.5012952089309692, -0.2958844006061554, -0.17593984305858612, 0.31161966919898987, 0.726353108882904, 0.06183025985956192, 0.30028262734413147, -0.5933541655540466, 0.2048758715391159, 0.1503310352563858, 0.4753837287425995, 0.5549020171165466, -0.2591612637042999, -0.6681704521179199, 0.11337325721979141, -0.3494887351989746, -0.6501911878585815, 0.19579164683818817, 0.5427084565162659, 0.8216461539268494, 0.6973034143447876, -0.30881354212760925, 0.8391653299331665, -0.5596022605895996, 0.4140322506427765, 0.07102559506893158, -0.6633319854736328, 0.47554299235343933, -0.3960879147052765, 0.5221929550170898, 0.47431036829948425, 0.383621484041214, -0.5240170359611511, -0.7481264472007751, -0.48296403884887695, -0.8896247148513794, 0.37811776995658875, 0.035830307751894, 0.18888714909553528, 0.02268611453473568, 0.3902902603149414, 0.17320969700813293, 0.050487976521253586, -0.6423953175544739, -0.5335242748260498, 0.31309109926223755, -0.12323496490716934, -0.4028623104095459, -0.48497867584228516, 0.24954365193843842, -0.19010797142982483, 0.5703228712081909, -0.08084651082754135, 0.16117243468761444, -0.2382565438747406, -0.4358898103237152, -0.04412181302905083, 0.14762753248214722, 0.6762272119522095, 0.6490399241447449, -0.22355632483959198, 0.21761801838874817, 0.3853181004524231, -0.5464358329772949, -0.17263273894786835, -0.18528681993484497, -0.20962820947170258, 0.06876738369464874, 0.6417597532272339, 0.7925253510475159, 0.4594179689884186, -0.5526506304740906, -0.08467821776866913, 0.14938053488731384, -0.05154045671224594, -0.5640497207641602, 0.29589778184890747, 0.5071882009506226, -0.0690314993262291, 0.46127647161483765, 0.19863098859786987, 0.1847364455461502, -0.7445429563522339, 0.18665240705013275, 0.5697055459022522, -0.7923321723937988, -0.515308678150177, 0.4320204555988312, -0.24543823301792145, -0.12267185747623444, 0.33358556032180786, -0.16689647734165192, -0.38191652297973633, 0.61373370885849, 0.46565279364585876, 0.9948389530181885, -0.32346075773239136, -0.21088673174381256, 0.4754438102245331, 0.48877179622650146, -0.13655465841293335, 0.211839497089386, -0.0043191127479076385, -0.8243314027786255, -0.3768766522407532, -0.65267413854599, -0.254968523979187, 0.3110315799713135, -0.8376448750495911, 0.08033502846956253, -0.32492008805274963, -0.010271023958921432, -0.07192139327526093, -0.20129944384098053, -0.5639563202857971, 0.08576082438230515, 0.06382032483816147, 0.6804346442222595, -1.366662621498108, 0.8308905363082886, 0.6435359716415405, -0.5063996911048889, -0.6528456807136536, -0.040170811116695404, 0.07906418293714523, -0.7311496138572693, 0.3883943557739258, 0.14419934153556824, -0.23200401663780212, -0.17278257012367249, -0.09121793508529663, -0.8163101077079773, 0.9977846741676331, 0.37333425879478455, -0.5458558797836304, 0.2584071159362793, 0.14640632271766663, 0.6367840766906738, -0.3937135636806488, 0.2421211451292038, 0.7374064922332764, 0.061341799795627594, -0.3764522075653076, -0.6964744925498962, -0.10723240673542023, -0.35188835859298706, -0.1879577785730362, 0.5544495582580566, -0.38112738728523254, 1.2139874696731567, -0.466450035572052, -0.26456907391548157, -0.09889548271894455, 0.4734579920768738, 0.25808462500572205, 0.6663385033607483, 0.48237428069114685, 0.6485891342163086, 0.6366604566574097, 0.09208106994628906, 0.8400652408599854, -0.031916357576847076, 0.3348860442638397, 1.5387550592422485, 0.024781715124845505, 1.0000789165496826, 0.7656849026679993, 0.045452188700437546, 0.45941445231437683, 0.49303799867630005, 0.1726306527853012, 0.4077602028846741, 0.13688810169696808, -0.08172281086444855, -0.25300419330596924, 0.16845600306987762, -0.1700083464384079, 0.3800533711910248, 0.5884450674057007, -0.5274826288223267, -0.4795418679714203, -0.03009597398340702, 0.12229420989751816, 0.026153089478611946, -0.6886144280433655, 0.9036065936088562, 0.25994259119033813, -0.42645174264907837, 0.6556012630462646, -0.2594401240348816, 0.32437899708747864, -0.5760948061943054, -0.23289290070533752, -0.4596795439720154, 0.4160982072353363, 0.18546007573604584, -0.3949117064476013, 0.29947808384895325, -0.2758759558200836, -0.576431155204773, -0.4412285089492798, 0.5796535611152649, -0.589452862739563, -0.7074669003486633, 0.3629276752471924, 0.8043356537818909, 0.17123207449913025, -0.11857987940311432, -0.4122278690338135, -0.051678262650966644, 0.07583321630954742, -0.13162489235401154, 0.5808840394020081, 0.4873628318309784, -0.44706615805625916, 1.0966287851333618, 0.3842417001724243, 0.03979774937033653, 0.07576252520084381, 0.2629055678844452, 0.625029444694519, -0.6353856921195984, -0.2410443127155304, -1.028945803642273, 0.3579159080982208, 0.1601937860250473, -0.39616382122039795, 1.0177843570709229, 0.6349337697029114, 0.9466344714164734, -0.45134401321411133, 0.5376244187355042, 0.4721117913722992, 0.5737361311912537, -0.6238833665847778, 0.9220114946365356, -0.5517870187759399, 0.4818976819515228, -0.3131006360054016, -0.6542295217514038, -0.3891391456127167, 0.29652950167655945, -0.17359144985675812, 0.17636427283287048, 0.6211114525794983, 0.8499806523323059, -0.347751259803772, -0.257986843585968, 0.3793945908546448, 0.31660062074661255, 0.016685085371136665, 0.8011638522148132, 0.7204552888870239, -0.43541643023490906, 0.2658698260784149, -0.42349013686180115, -0.01547207310795784, -0.13695989549160004, -0.8830388188362122, -0.9554243683815002, -0.7968947887420654, -0.467926949262619, 0.18732279539108276, -0.0073874578811228275, 0.47097548842430115, 0.5539571642875671, -1.1409263610839844, -0.49031490087509155, -0.3287217319011688, 0.30880066752433777, -0.4708350598812103, -0.17131878435611725, 0.30460482835769653, -0.6609243750572205, -0.8022964000701904, 0.0892019271850586, 0.23302620649337769, 0.24914486706256866, -0.22143375873565674, 0.1510864645242691, -0.20801305770874023, -0.24199017882347107, 0.4455561339855194, 0.27856069803237915, -0.6064035296440125, -0.1222459003329277, -0.21031874418258667, 0.36102765798568726, -0.1125527024269104, 1.027381181716919, -0.9413444399833679, 0.22155557572841644, 0.2867836654186249, 0.361333966255188, 0.3927195966243744, -0.3226338326931, 0.6916793584823608, -0.7961753010749817, 0.08381745219230652, 0.027828078716993332, 0.7095412611961365, 0.23851624131202698, 0.11169251054525375, 0.10015636682510376, -0.05273229256272316, -0.31080469489097595, -0.7882221937179565, 0.2818537652492523, -0.6548652052879333, -0.28228452801704407, 0.7454182505607605, -0.2313632220029831, -0.14634822309017181, -0.2467879056930542, 0.10018769651651382, 0.2654189169406891, -0.2769435942173004, 0.998704731464386, 0.7242095470428467, 0.13242417573928833, -0.2751321792602539, -0.6746407151222229, 0.5329558849334717, 0.6770894527435303, -0.38048815727233887, 0.46870169043540955, 0.5016957521438599, 0.47318434715270996, 0.1091013103723526, 0.5271531939506531, 0.32087963819503784, 0.2560374140739441, 0.03148704767227173, 0.09200797230005264, 0.03161976858973503, -0.3763688802719116, -0.5275392532348633, 0.21723926067352295, 0.18678823113441467, -0.23891736567020416 ]
http://arxiv.org/abs/2406.14024v2
http://arxiv.org/pdf/2406.14024v2
LLM Critics Help Catch Bugs in Mathematics: Towards a Better Mathematical Verifier with Natural Language Feedback
2024-06-20T06:42:27
2024-06-30T13:44:04
Bofei Gao, Zefan Cai, Runxin Xu, Peiyi Wang, Ce Zheng, Runji Lin, Keming Lu, Junyang Lin, Chang Zhou, Wen Xiao, Junjie Hu, Tianyu Liu, Baobao Chang
cs.CL
cs.CL
Mathematical verfier achieves success in mathematical reasoning tasks by validating the correctness of solutions. However, existing verifiers are trained with binary classification labels, which are not informative enough for the model to accurately assess the solutions. To mitigate the aforementioned insufficiency of binary labels, we introduce step-wise natural language feedbacks as rationale labels (i.e., the correctness of the current step and the explanations). In this paper, we propose \textbf{Math-Minos}, a natural language feedback enhanced verifier by constructing automatically-generated training data and a two-stage training paradigm for effective training and efficient inference. Our experiments reveal that a small set (30k) of natural language feedbacks can significantly boost the performance of the verifier by the accuracy of 1.6\% (86.6\% $\rightarrow$ 88.2\%) on GSM8K and 0.8\% (37.8\% $\rightarrow$ 38.6\%) on MATH. We have released our code and data for further exploration.
[ -0.4950532913208008, -0.6947638392448425, 0.482084184885025, 0.19280780851840973, -0.29751813411712646, 0.04306603595614433, -0.24329830706119537, -0.3315908908843994, 0.18711940944194794, 0.30065008997917175, -0.6702287197113037, -0.42973077297210693, -0.6990232467651367, 0.44378265738487244, -0.24603301286697388, 1.2457565069198608, -0.04432259872555733, 0.4818972051143646, -0.4793303608894348, -0.03525876626372337, -0.22941705584526062, -0.5096821188926697, -0.9435818195343018, -0.4085847735404968, 0.5340168476104736, 0.324749618768692, 0.7631258368492126, 0.48058760166168213, 0.6029884815216064, 0.49177029728889465, -0.09064983576536179, 0.3655206263065338, -0.3191691040992737, -0.027816476300358772, -0.05237189680337906, -0.7438589930534363, -0.2240181267261505, 0.05357085168361664, 0.3872734308242798, 0.3103613257408142, -0.1452264040708542, 0.10335841774940491, 0.043224141001701355, 0.7850955128669739, -0.5625602006912231, 0.11363160610198975, -0.22002209722995758, 0.1668776124715805, -0.11743894964456558, -0.14234237372875214, -0.5464920997619629, -1.0932482481002808, -0.01353598851710558, -0.7239309549331665, 0.029289711266756058, -0.07587473839521408, 0.77464359998703, 0.6011666655540466, -0.22892603278160095, -0.5893633961677551, -0.7941593527793884, 0.8906190395355225, -0.7694781422615051, 0.2652819752693176, 0.595060408115387, 0.7487831115722656, -0.09169478714466095, -0.413285493850708, -0.5987926125526428, -0.49033913016319275, -0.26766735315322876, 0.026237981393933296, -0.20698177814483643, -0.13085731863975525, 0.5944406986236572, 0.21952202916145325, -0.04481249675154686, -0.12682977318763733, -0.36024701595306396, -0.6790206432342529, 0.6384241580963135, 0.06697764992713928, 0.11412771791219711, -0.26465654373168945, -0.1789824515581131, 0.12041638791561127, -0.69096440076828, 0.24184167385101318, 0.3970522880554199, -0.2197376787662506, -0.01998525857925415, 0.5764122009277344, -0.14032115042209625, 0.7634677886962891, 0.1217186450958252, -0.5903317332267761, 0.14923304319381714, -0.4892815947532654, 0.06253469735383987, -0.22057326138019562, 0.661757230758667, 0.14379779994487762, 0.28748124837875366, -0.18889573216438293, -0.45742160081863403, 0.5933401584625244, 0.246160089969635, -1.0399965047836304, -0.25584229826927185, -0.2504217028617859, 0.15178155899047852, -0.4555194675922394, -0.021564586088061333, -0.6379259824752808, -0.45753782987594604, -0.8606011867523193, 0.30641013383865356, -0.6166236996650696, 0.2326182723045349, 0.013975397683680058, 0.03396753966808319, -0.1456609070301056, 0.6774129867553711, -0.6827226281166077, 0.41704246401786804, 0.8841593265533447, 0.6862933039665222, 0.22360216081142426, -0.0473097562789917, -0.9032397866249084, -0.3018682301044464, -0.4115608334541321, 1.1247549057006836, -0.5185169577598572, -0.1789778769016266, -0.03966366872191429, -0.3567536175251007, 0.0055728089064359665, -0.5393945574760437, 1.1281712055206299, -0.5574512481689453, 0.612186074256897, -0.3008807599544525, -0.5728778839111328, -0.13957174122333527, 0.48099327087402344, -0.5212786197662354, 1.1083340644836426, 0.03867344930768013, -0.748026430606842, 0.2871156334877014, -0.41465485095977783, -0.22243402898311615, -0.09216674417257309, -0.25403425097465515, -0.3800307810306549, 0.20423300564289093, 0.3453526198863983, -0.12528705596923828, -0.3224337100982666, 0.08022778481245041, -0.3883253335952759, -0.30410706996917725, 0.5710859298706055, -0.5667011141777039, 0.6216188669204712, 0.14951203763484955, -0.1972767859697342, -0.021131709218025208, -0.9438888430595398, 0.3276923596858978, -0.1755729615688324, -0.5892770290374756, -0.22479094564914703, -0.09837514162063599, -0.4694623649120331, 0.13857825100421906, -0.06093437597155571, -0.6746412515640259, 0.1277284026145935, -0.6272540092468262, 0.4338918924331665, 0.774086058139801, -0.10138857364654541, 0.4509611427783966, -0.49965572357177734, 0.7527146935462952, -0.264099657535553, 0.12378786504268646, 0.013997855596244335, -0.5141987204551697, -0.8268265724182129, -0.37934452295303345, 0.6449397802352905, 0.7578719258308411, -1.0587849617004395, 0.2952563464641571, -0.33063727617263794, -0.3860836923122406, -0.48467662930488586, 0.6911044120788574, 0.7127443552017212, 0.6255099773406982, 0.09790164232254028, -0.09308414161205292, -0.5661744475364685, -0.7250919342041016, -0.3718703091144562, -0.1633073091506958, -0.25314462184906006, 0.15024326741695404, 0.5012629628181458, -0.3546147644519806, 1.2198184728622437, -0.35474860668182373, -0.12609770894050598, 0.039272721856832504, 0.0038865534588694572, 0.24482254683971405, 0.1948476880788803, 0.4486813545227051, -0.3912788927555084, -0.39329588413238525, -0.31400594115257263, -0.5680460929870605, -0.4125877916812897, 0.1858963817358017, -0.32952257990837097, 0.19476887583732605, 0.02996014431118965, -0.4181148409843445, 0.33664217591285706, 0.5604038238525391, -0.4080260396003723, 0.5859092473983765, -0.07754872739315033, 0.005226351786404848, -0.7237356901168823, -0.24289998412132263, 0.2589924931526184, -0.5578595995903015, -0.4762042760848999, -0.13054159283638, -0.06091732531785965, 0.13115765154361725, -0.1379794478416443, 0.24541796743869781, -0.09675660729408264, 0.42003482580184937, -0.36996084451675415, 0.3973053991794586, 0.10238608717918396, 0.3577277660369873, -0.25486913323402405, 0.5888804793357849, 0.48354047536849976, -0.8456089496612549, 0.5449400544166565, 0.11854460090398788, -0.2100144475698471, 0.9158909916877747, -0.6816251277923584, 0.41975826025009155, -0.11320306360721588, 0.2759823203086853, -1.0275377035140991, -0.12853381037712097, 0.6311919093132019, -0.7707219123840332, 0.2267865240573883, -0.4219042658805847, -0.6896337270736694, -0.652867317199707, -0.5434632897377014, 0.11964959651231766, 0.3301767110824585, -0.709949791431427, 0.7283225655555725, 0.40026235580444336, -0.1310867816209793, -0.5059000849723816, -0.6723813414573669, -0.05238685384392738, 0.16194000840187073, -1.0133342742919922, -0.18121258914470673, -0.376051127910614, -0.3088570535182953, -0.11032959818840027, -0.2560672461986542, -0.11691762506961823, -0.012721311300992966, 0.35559386014938354, 0.48344630002975464, -0.12256632000207901, 0.17417924106121063, 0.01710842177271843, -0.8412094116210938, 0.5064108967781067, -0.21462950110435486, 0.18727357685565948, -0.3335079252719879, -0.5909290313720703, -0.5092255473136902, -0.13552476465702057, 0.3195401430130005, 0.041968151926994324, 0.1265244483947754, 0.2872209846973419, -0.5018608570098877, -0.14521652460098267, -0.6314749121665955, -0.4216553568840027, -0.5622056722640991, -0.09255421906709671, -0.3277026414871216, -0.975963830947876, 0.2318042665719986, -0.12634894251823425, 0.16577130556106567, 0.39323413372039795, 0.41133034229278564, 0.013848133385181427, 1.1706671714782715, 0.41074123978614807, -0.25710538029670715, 0.1585589498281479, -0.23370473086833954, 0.39711466431617737, -0.3762162923812866, -0.21495644748210907, -0.7896358370780945, -0.2994353771209717, -0.23203547298908234, -0.4856341779232025, 0.14785413444042206, 0.33759450912475586, 0.1075194776058197, 0.23973795771598816, -0.5837838649749756, 0.80222088098526, 0.42138198018074036, 0.024477602913975716, 0.30355432629585266, 0.21889737248420715, -0.2519264817237854, -0.7317474484443665, -0.484719842672348, -0.6462886929512024, 0.637748658657074, 0.37419137358665466, 0.8228663802146912, 0.26954081654548645, 0.8639234900474548, 0.057717323303222656, 0.8942334651947021, -0.9011634588241577, 0.45746201276779175, 0.1702834516763687, -0.6475580930709839, -0.20539957284927368, -0.9031171798706055, -0.41597917675971985, 0.28277090191841125, -0.14772576093673706, -0.54486483335495, -0.14123302698135376, 0.4829901456832886, -0.36509785056114197, 0.11589106172323227, -0.6702849268913269, 0.5550864934921265, -0.2589651942253113, -0.535635769367218, -0.319958359003067, -0.15634118020534515, 0.5602658987045288, 0.020994314923882484, 0.7469688653945923, 0.042693253606557846, -0.003472448093816638, 0.715135931968689, -1.082785725593567, 0.9887399673461914, -0.39642253518104553, -0.32941892743110657, 0.573392927646637, 0.34634900093078613, 0.7512232661247253, 0.5488702058792114, 0.06140194460749626, -0.23692312836647034, -0.09991835057735443, -0.1525038778781891, -0.9724211692810059, 0.6527222394943237, -0.5835962295532227, -0.5613508224487305, -0.5225457549095154, -0.112879678606987, -0.3180120587348938, 0.054319560527801514, 0.23205101490020752, 0.46069660782814026, 0.45252829790115356, -0.04847946763038635, 0.733744740486145, 0.31638965010643005, 0.18181781470775604, 0.6647921800613403, -0.4670593738555908, -1.0676937103271484, 1.0344657897949219, -0.07378625869750977, 0.009934582747519016, 0.25858694314956665, 0.5758482217788696, -0.41688117384910583, -0.2738906741142273, -0.6853416562080383, 0.350725382566452, -0.9121977090835571, -0.5031921863555908, -0.23343722522258759, -0.15832637250423431, -0.07780198007822037, -0.006069145631045103, -0.38338354229927063, -0.6837329864501953, 0.16082477569580078, -0.29156503081321716, 0.5880248546600342, 0.9148634076118469, -0.201272651553154, 0.19874940812587738, -0.7927716374397278, 0.2488013356924057, 0.41972866654396057, 0.5918145775794983, -0.3528989553451538, -0.8770462274551392, -0.29200083017349243, 0.1646428108215332, -0.3374921977519989, -0.8088628649711609, 0.0017322645289823413, 0.10609637945890427, 0.37699776887893677, 0.6123082041740417, -0.10113950818777084, 0.74454265832901, -0.34397342801094055, 0.4717347025871277, 0.32215598225593567, -1.16892409324646, 0.48930251598358154, 0.18103918433189392, 0.11032900214195251, 0.7284736037254333, 0.15635907649993896, -0.46759000420570374, -0.5781397819519043, -0.3341076374053955, -0.3815881013870239, 0.8275925517082214, 0.3493468165397644, 0.150187686085701, 0.2127273827791214, 0.5451056361198425, 0.054682113230228424, 0.08489871770143509, -0.769270122051239, -0.26006150245666504, -0.17897960543632507, -0.08231043815612793, 0.1490449756383896, -0.5333276391029358, -0.30997663736343384, -0.44346439838409424, 0.8383163809776306, -0.17580974102020264, -0.0026717442087829113, 0.11759457737207413, -0.16908562183380127, -0.2650785446166992, 0.34010207653045654, 0.8453922271728516, 0.8142921924591064, 0.12456182390451431, 0.36910340189933777, 0.3195379078388214, -0.6245637536048889, 0.3189125061035156, 0.16170985996723175, -0.6079062223434448, 0.4782915711402893, 0.37558040022850037, 0.5995104312896729, 0.35612037777900696, -0.3124123811721802, 0.5166761875152588, -0.30019378662109375, -0.42200759053230286, -0.3129546642303467, 0.12117514759302139, 0.051359083503484726, -0.09317027777433395, 0.07860363274812698, 0.4922414720058441, 0.08672364801168442, 0.12040127068758011, 0.324420303106308, 0.3571036756038666, -0.4498841464519501, -0.49812668561935425, 0.4251989424228668, 0.228745698928833, -0.5013272166252136, 0.2444678544998169, -0.42510318756103516, -0.8756298422813416, 0.35650986433029175, 0.4094502031803131, 0.5660242438316345, -0.07765673846006393, 0.36270785331726074, 0.6910470724105835, 0.3819921314716339, -0.025042666122317314, 0.2446639984846115, -0.33616822957992554, -0.4824640154838562, -0.7783869504928589, -0.5980720520019531, -0.7423830032348633, -0.47006016969680786, -0.4502565562725067, 0.2869555354118347, -0.7993034720420837, -0.4301847815513611, -0.013793040066957474, 0.1305127739906311, -0.4781268239021301, 0.08576341718435287, 0.39182811975479126, 0.8997284173965454, -0.46646609902381897, 0.7061721682548523, 0.6042402386665344, -0.19635188579559326, -0.8217460513114929, -0.5631163716316223, 0.31822383403778076, -0.7679846882820129, 0.7448363304138184, 0.23317523300647736, -0.6139113306999207, -0.3278166651725769, -0.6971362233161926, -0.8990830779075623, 0.7316787838935852, 0.5869019031524658, -0.7534468173980713, 0.38995158672332764, 0.23154014348983765, 0.706961452960968, -0.0037082191556692123, 0.6517418026924133, 0.36123591661453247, 0.6665369272232056, 0.33561691641807556, -0.5235432386398315, 0.015181148424744606, -0.6037902235984802, 0.011488518677651882, 0.377377986907959, -0.28047728538513184, 0.29284200072288513, -0.3671197295188904, -0.25394442677497864, 0.04230464622378349, 0.8684164881706238, 0.5577149391174316, 0.635555624961853, 0.7244027853012085, 0.9611117243766785, 1.0834635496139526, -0.33124518394470215, 1.3133625984191895, -0.4340825378894806, 0.3762262761592865, 1.042850136756897, 0.07251788675785065, 0.6612074375152588, 0.44552966952323914, -0.4776192307472229, 0.7903375625610352, 0.3127943277359009, 0.06407158821821213, 0.308499813079834, 0.6749992370605469, -0.28661808371543884, -0.413277804851532, 0.12196728587150574, -0.3447146713733673, -0.2659238874912262, 0.2170189768075943, -0.09804397076368332, -0.31246814131736755, -0.14800600707530975, 0.2649868428707123, 0.2378467619419098, -0.03790909796953201, 0.5018165707588196, 0.3154516816139221, -0.6692698001861572, 0.5843423008918762, 0.14758774638175964, 0.8045721650123596, -0.7254078984260559, 0.03951481729745865, -0.41607174277305603, 0.4933947026729584, -0.4813583791255951, -0.4747585654258728, 0.2777598798274994, 0.26685070991516113, -0.2121431976556778, -0.10447482764720917, 0.6313562393188477, -0.052058879286050797, -0.8148837685585022, 0.12441998720169067, 0.10247202962636948, -0.05800044536590576, 0.09166765958070755, -0.5859590172767639, -0.011891736648976803, 0.06308937072753906, -0.14898681640625, -0.11791305243968964, 0.7343047857284546, 0.17752531170845032, 0.8954216837882996, 0.8631678223609924, 0.006065411027520895, 0.3620415925979614, 0.2728705406188965, 0.8889516592025757, -0.553067147731781, -0.37645846605300903, -1.0843788385391235, 0.363486111164093, -0.177142933011055, -0.514923632144928, 1.1799696683883667, 0.6652707457542419, 0.8011116981506348, -0.05433426797389984, 0.6329028606414795, 0.21278969943523407, 0.7155635952949524, -0.5552014708518982, 0.2662707567214966, -0.09839558601379395, 0.5733176469802856, -0.009513748809695244, -0.6980398297309875, -0.48657727241516113, 0.6836197972297668, -0.538669228553772, -0.030893348157405853, 0.736434817314148, 0.7939254641532898, 0.17673064768314362, 0.31883639097213745, -0.07336113601922989, 0.09075888246297836, 0.4605466425418854, 0.5819327235221863, 1.2354296445846558, -0.34518852829933167, 0.8742716908454895, -0.7268850207328796, -0.2440986931324005, -0.09965839236974716, -0.6010546088218689, -0.9947691559791565, 0.19201283156871796, -0.5733318328857422, -0.8160070776939392, -0.2507222592830658, 0.8028367161750793, 0.5312224626541138, -1.060556411743164, 0.09349915385246277, -0.25282174348831177, 0.4012242555618286, 0.0595444031059742, -0.22263219952583313, 0.03423042222857475, -0.5739465951919556, -0.6089828610420227, 0.15954434871673584, 0.26954203844070435, -0.0030347227584570646, -0.2743070125579834, -0.6727392077445984, 0.6160365343093872, 0.13968707621097565, 0.5138638019561768, 0.2629756033420563, -0.6889641284942627, -0.21206209063529968, -0.021235784515738487, -0.43558168411254883, 0.07914508134126663, 1.1124266386032104, -0.9058960676193237, 0.3818955421447754, 0.5429207682609558, 0.7756301164627075, 0.12100062519311905, -0.09910639375448227, 0.38134288787841797, -0.4478209912776947, -0.031485505402088165, 0.3808761537075043, 0.4540337026119232, 0.3174181282520294, -0.20743197202682495, 0.5368274450302124, 0.6074343323707581, -0.4597100019454956, -0.7890403866767883, 0.16565904021263123, -0.7285537719726562, 0.31677740812301636, 0.9610207676887512, -0.08387041836977005, -0.4066616892814636, 0.1691526472568512, -0.48953530192375183, -0.18825198709964752, -0.5375325679779053, 0.9114858508110046, 0.8813668489456177, 0.06701020896434784, -0.04759267717599869, -0.4433096647262573, 0.5650914311408997, 0.7593911290168762, -0.8889711499214172, -0.3505339026451111, 0.6335791945457458, 0.3273770809173584, 0.6024872660636902, 0.47186189889907837, -0.15613994002342224, 0.470217227935791, -0.08177151530981064, -0.31739819049835205, -0.153703972697258, -0.2587670385837555, -0.3681146204471588, 0.03308817371726036, 0.29407256841659546, -0.09283912926912308 ]
http://arxiv.org/abs/2406.14023v1
http://arxiv.org/pdf/2406.14023v1
Evaluating Implicit Bias in Large Language Models by Attacking From a Psychometric Perspective
2024-06-20T06:42:08
2024-06-20T06:42:08
Yuchen Wen, Keping Bi, Wei Chen, Jiafeng Guo, Xueqi Cheng
cs.CL
cs.CL, cs.AI
As Large Language Models (LLMs) become an important way of information seeking, there have been increasing concerns about the unethical content LLMs may generate. In this paper, we conduct a rigorous evaluation of LLMs' implicit bias towards certain groups by attacking them with carefully crafted instructions to elicit biased responses. Our attack methodology is inspired by psychometric principles in cognitive and social psychology. We propose three attack approaches, i.e., Disguise, Deception, and Teaching, based on which we built evaluation datasets for four common bias types. Each prompt attack has bilingual versions. Extensive evaluation of representative LLMs shows that 1) all three attack methods work effectively, especially the Deception attacks; 2) GLM-3 performs the best in defending our attacks, compared to GPT-3.5 and GPT-4; 3) LLMs could output content of other bias types when being taught with one type of bias. Our methodology provides a rigorous and effective way of evaluating LLMs' implicit bias and will benefit the assessments of LLMs' potential ethical risks.
[ -0.29393574595451355, -0.9150463342666626, 0.7866284251213074, 0.36309921741485596, -0.029408426955342293, 0.06844277679920197, -0.36817190051078796, -0.46412235498428345, -0.10541411489248276, 0.5687631964683533, -0.5817857384681702, -0.44756755232810974, -0.7339687943458557, 0.08629551529884338, -0.4151707887649536, 0.9649762511253357, -0.0778428465127945, 0.7991217374801636, 0.04464119300246239, 0.05077900364995003, -0.19913947582244873, -0.7766665816307068, -0.6625367403030396, -0.19103418290615082, 0.606309711933136, -0.07449596375226974, 0.5606637001037598, 0.35027822852134705, 0.31707698106765747, 0.23820720613002777, -0.021708693355321884, -0.1913224756717682, -0.7040802240371704, 0.20853841304779053, -0.1910012811422348, -0.52989262342453, -0.3023432791233063, 0.29171955585479736, 0.6527285575866699, 0.578517496585846, 0.021516522392630577, 0.38476499915122986, 0.18772636353969574, 0.5538082122802734, -0.8381197452545166, -0.029315529391169548, -0.747770369052887, 0.13874512910842896, -0.31997090578079224, 0.002673777285963297, -0.6638877391815186, -0.5987879633903503, 0.11865938454866409, -0.18939410150051117, 0.13595989346504211, -0.059395335614681244, 0.3595673739910126, -0.07136368751525879, -0.40063175559043884, -0.5266907811164856, -0.5242036581039429, 0.9656692147254944, -0.6370903253555298, 0.20893247425556183, 0.42414993047714233, 0.2252403199672699, -0.2060350626707077, -0.26395368576049805, -0.3181672990322113, -0.32085782289505005, -0.08513271063566208, 0.08960152417421341, -0.22974872589111328, 0.09353253245353699, 0.5812881588935852, 0.13911664485931396, -0.42564237117767334, 0.2595645785331726, -0.2832236588001251, -0.29098865389823914, 0.7365856766700745, 0.17290565371513367, 0.34458282589912415, 0.01975778304040432, -0.4050363600254059, 0.07606926560401917, -0.9034402966499329, -0.28359541296958923, 0.9583560228347778, 0.21920393407344818, -0.16710294783115387, 0.6921395063400269, -0.07306873053312302, 0.5034469366073608, 0.21502305567264557, -0.04489443451166153, -0.047189861536026, -0.19598309695720673, -0.10593859106302261, 0.1801743060350418, 0.8661260604858398, 0.4359903335571289, 0.561119794845581, -0.19121083617210388, -0.2638140618801117, 0.16583162546157837, 0.2907032072544098, -0.6322572827339172, 0.37846118211746216, 0.2636978030204773, -0.29057011008262634, -0.43016549944877625, -0.1164172813296318, -1.0185009241104126, -0.5818023085594177, -0.039173610508441925, 0.19955839216709137, -0.2214617282152176, 0.0014968798495829105, -0.01635904237627983, 0.05100094527006149, 0.5939926505088806, 0.3400455713272095, -0.8633644580841064, 0.5195091962814331, 0.7391865849494934, 0.615277886390686, -0.29114729166030884, -0.14119602739810944, -0.822074294090271, 0.40533435344696045, -0.3343256711959839, 0.4475412666797638, -0.6622238755226135, -0.6080209612846375, 0.2937353849411011, -0.27002376317977905, 0.1820952594280243, -0.21011292934417725, 0.69235759973526, -0.5964817404747009, 0.523231029510498, -0.46767348051071167, -0.501242995262146, -0.13875071704387665, 0.4018116593360901, -0.7197156548500061, 0.904359757900238, -0.1862354576587677, -0.9998307824134827, 0.1364220231771469, -0.6590445041656494, -0.37827348709106445, -0.23442980647087097, -0.42252883315086365, -0.08252573013305664, 0.18671521544456482, 0.47407597303390503, 0.4846734404563904, -0.45859456062316895, 0.21004584431648254, -0.5433690547943115, -0.381180077791214, 0.3589683771133423, -0.7387183308601379, 1.1323881149291992, -0.0742303803563118, -0.5550342202186584, -0.003789606038480997, -0.48189425468444824, 0.06900955736637115, 0.37685027718544006, -0.2091304361820221, -0.549318253993988, 0.007462561596184969, -0.15391336381435394, 0.009220477193593979, 0.20209673047065735, -0.6143782734870911, 0.21935243904590607, -0.43168535828590393, 0.039515286684036255, 1.1200119256973267, 0.056761275976896286, 0.4337327778339386, -0.037277329713106155, 0.5889217853546143, -0.3790935277938843, 0.5117378234863281, 0.20741571485996246, -0.23080140352249146, -0.5140929818153381, -0.2810823917388916, 0.09000299125909805, 0.3840235471725464, -0.48147305846214294, 0.011422152630984783, -0.10894419252872467, -0.39282503724098206, -0.5135533213615417, 0.15236765146255493, 0.5797058343887329, 0.2945316433906555, 0.2059825360774994, -0.021604906767606735, -0.4539015591144562, -1.1004208326339722, -0.7570445537567139, -0.17672094702720642, -0.19770291447639465, 0.02031424641609192, 0.4921548068523407, -0.18699027597904205, 0.6955392360687256, -0.36079829931259155, -0.13927194476127625, -0.05423826724290848, 0.0489698201417923, 0.06156697869300842, 0.27769574522972107, 0.5406168699264526, -0.49522891640663147, -0.4631994664669037, -0.2866053581237793, -0.6835166811943054, -0.2674182653427124, 0.17065514624118805, -0.09339886158704758, 0.40526244044303894, 0.3270070552825928, -0.6250649094581604, 0.2781512141227722, 0.4274548888206482, -0.22113829851150513, 0.5934516191482544, 0.29775792360305786, -0.016341008245944977, -0.58099764585495, -0.21210673451423645, 0.13792364299297333, 0.009604896418750286, -0.6672138571739197, 0.1763717383146286, -0.06055819243192673, 0.3479020893573761, -0.6645921468734741, 0.8150720000267029, -0.6262563467025757, -0.04538072645664215, -0.018783653154969215, -0.029176676645874977, -0.10932320356369019, 0.378248393535614, -0.17485308647155762, 0.3287937641143799, 0.6315049529075623, -0.3503607213497162, 0.3351202607154846, -0.14045189321041107, -0.3969176113605499, 0.7889259457588196, -0.548708975315094, 0.629149317741394, -0.28641223907470703, 0.4632755219936371, -0.793350338935852, -0.1080198809504509, 0.5557575225830078, -0.3528957664966583, 0.2925916910171509, -0.3301199972629547, -0.5292953848838806, -0.21842581033706665, -0.6454346776008606, 0.389863520860672, 0.35393399000167847, -0.5858833193778992, 0.8327787518501282, 0.26336944103240967, -0.17820562422275543, -1.026992917060852, -0.4987275004386902, 0.027339478954672813, -0.5887132287025452, -0.31148654222488403, 0.051688287407159805, -0.12322049587965012, -0.6888766288757324, -0.2556712031364441, -0.17875437438488007, 0.14122071862220764, 0.058459606021642685, 0.039036817848682404, 0.34067925810813904, 0.03571236506104469, -0.4350071847438812, -0.32641100883483887, 0.16882073879241943, 0.5298788547515869, -0.13552667200565338, 0.7161428332328796, -0.1839512139558792, -0.6904642581939697, -0.1006087139248848, 0.49232321977615356, 0.5254830718040466, 0.0010335332481190562, 0.4748385548591614, 0.6949751973152161, -0.38785380125045776, -0.09953122586011887, -0.9617739915847778, -0.2949609160423279, -0.47094786167144775, 0.562700092792511, -0.10617860406637192, -0.7756033539772034, 0.3488626778125763, 0.31578269600868225, 0.12788023054599762, 0.24504436552524567, 0.8153918385505676, -0.008861240930855274, 1.4099856615066528, 0.38216593861579895, -0.3512221574783325, 0.14671160280704498, -0.04600965604186058, -0.005649416241794825, -0.8946266770362854, -0.4226834177970886, -0.5961793065071106, -0.008794184774160385, -0.49186965823173523, -0.38751885294914246, 0.32889556884765625, -0.15572629868984222, -0.31088051199913025, -0.2774140536785126, -0.10646672546863556, 0.5897871851921082, 0.3254534900188446, 0.005019745789468288, 0.21998284757137299, 0.20359405875205994, -0.08340899646282196, -0.03927115723490715, -0.37686342000961304, -0.6763615608215332, 1.398435354232788, 0.8043577075004578, 0.9992498755455017, 0.349143922328949, 0.38245218992233276, 0.36041146516799927, 0.6128253936767578, -0.7327712178230286, 0.6494140625, 0.2638553977012634, -0.8037727475166321, -0.327189564704895, -0.33408764004707336, -0.6887889504432678, 0.41025927662849426, -0.022285286337137222, -0.9274373650550842, -0.04414443299174309, 0.0523015595972538, 0.05511503294110298, 0.22553616762161255, -0.6117074489593506, 0.44521844387054443, -0.7411308884620667, -0.56557297706604, -0.10264506191015244, -0.4958799183368683, 0.6597939133644104, -0.35831910371780396, 0.2577158808708191, -0.033075835555791855, -0.21419502794742584, 0.858153760433197, -0.06404541432857513, 1.1628080606460571, -0.37793394923210144, -0.5119152069091797, -0.040341634303331375, 0.17626319825649261, 0.6025358438491821, 0.04111594334244728, -0.2554948925971985, 0.42352965474128723, -0.21437466144561768, -0.4978986978530884, -0.7688376903533936, 0.6182323694229126, -0.5604058504104614, -0.9899219870567322, -0.46377086639404297, -0.4898259937763214, -0.5583766102790833, 0.1744149625301361, 0.18763089179992676, 0.1960604041814804, -0.5760255455970764, -0.12639011442661285, 0.6171901822090149, -0.2704373598098755, 0.28194859623908997, 0.832373321056366, -0.27039286494255066, -0.25008484721183777, 0.5116147994995117, -0.04772588983178139, 0.5225635766983032, 0.13078655302524567, 0.2166760265827179, -0.49264705181121826, -0.4261399805545807, -0.28011026978492737, 0.28251615166664124, -0.8329536318778992, 0.028901206329464912, -0.5597800016403198, -0.033439237624406815, -0.5159057378768921, 0.023924201726913452, -0.26527318358421326, 0.11223571002483368, 0.1894221007823944, -0.1434728503227234, 0.06951578706502914, 0.9342108964920044, 0.178561732172966, 0.3462265729904175, -0.18977852165699005, 0.12797541916370392, 0.3374169170856476, 0.24036359786987305, 0.05083195120096207, -0.38752439618110657, 0.029056094586849213, 0.09457331150770187, -0.1856493204832077, -1.1561394929885864, 0.049624405801296234, -0.2707861363887787, 0.8184191584587097, 0.43520453572273254, -0.038569726049900055, 0.23584331572055817, -0.6977999210357666, 0.6461902856826782, 0.18070770800113678, -0.9770187139511108, 0.32682669162750244, -0.38728067278862, 0.07122858613729477, 0.3675435781478882, 0.7592871785163879, -0.21829907596111298, -0.5344439744949341, -0.7076929211616516, -0.6261996030807495, 0.6701204776763916, 0.14237858355045319, 0.2399272620677948, -0.05907687172293663, 0.17137053608894348, 0.031066300347447395, 0.1972065567970276, -1.0970594882965088, -0.2894142270088196, 0.09407832473516464, -0.17933638393878937, 0.06756655126810074, -0.4760797619819641, -0.603447675704956, -0.021469691768288612, 0.6104840040206909, -0.1514202058315277, 0.20504632592201233, 0.1194513663649559, -0.1855625957250595, 0.04759171977639198, 0.3663954734802246, 0.5391165018081665, 0.5462396144866943, -0.10550984740257263, 0.24466437101364136, 0.40678268671035767, -0.5961688160896301, 0.3327268958091736, -0.12145218998193741, -0.26184937357902527, -0.0885252058506012, 0.5238016843795776, 0.6457840800285339, -0.023756565526127815, -0.6128278970718384, 0.69035804271698, 0.015327958390116692, 0.016246048733592033, -0.33823978900909424, -0.09814798831939697, -0.030900709331035614, 0.22396628558635712, 0.3034698963165283, -0.343963086605072, 0.051729198545217514, -0.6666029691696167, -0.19006572663784027, 0.8644223213195801, -0.4063648581504822, -0.22672609984874725, 0.2846387028694153, -0.017158975824713707, -0.089010089635849, 0.3153496980667114, 0.06379958242177963, -0.7585620880126953, 0.4345143735408783, 0.6653519868850708, 0.8562790751457214, -0.5487191081047058, 0.18442904949188232, 0.041599348187446594, 0.7498597502708435, -0.053057119250297546, 0.1348484456539154, 0.16678237915039062, -0.7029248476028442, -0.506158173084259, -0.4354812204837799, -0.4605202376842499, 0.5007156729698181, -0.7676442861557007, 0.19105809926986694, -0.5764489769935608, -0.029024075716733932, -0.1833074688911438, -0.10849423706531525, -0.6250547766685486, 0.025708334520459175, 0.43873825669288635, 0.7901105284690857, -0.754165530204773, 0.5434528589248657, 0.40258631110191345, -0.20904818177223206, -0.4994952082633972, 0.29599979519844055, 0.3502578139305115, -1.115838646888733, 0.8406838774681091, 0.06187433376908302, -0.2306777536869049, -0.33030688762664795, -0.8441693186759949, -0.7280735373497009, 0.4980918765068054, 0.669516921043396, -0.41116753220558167, -0.08711773157119751, 0.39883872866630554, 0.3421727120876312, -0.4389246106147766, 0.4305921196937561, 0.6941964626312256, 0.7224410772323608, -0.24226532876491547, -0.5685847997665405, 0.23822951316833496, -0.008985718712210655, -0.13206855952739716, -0.12102749198675156, -0.5549887418746948, 0.6389201283454895, -0.05613577365875244, -0.20676399767398834, -0.2933307886123657, 0.47451746463775635, 0.3592309057712555, -0.06387821584939957, 0.5507898330688477, 0.06582804024219513, 0.7838426232337952, 0.09817361831665039, 1.1676175594329834, -0.016853217035531998, 0.06468168646097183, 1.1486589908599854, -0.5733640193939209, 0.49603912234306335, 0.5351076722145081, -0.04447177052497864, 0.24700656533241272, 0.3685338497161865, -0.20166811347007751, 0.3857421278953552, 0.5952608585357666, -0.1945708990097046, 0.2841038107872009, -0.05787593871355057, -0.25931036472320557, 0.3863135874271393, 0.5567365288734436, -0.2211771011352539, -0.21882948279380798, -0.01774740032851696, 0.6602407693862915, -0.009400319308042526, -0.5314062833786011, 0.488035649061203, -0.01149829477071762, -0.6225563287734985, 0.4350428581237793, 0.21188879013061523, 0.6814841628074646, -0.6984325647354126, 0.1909424066543579, -0.26909899711608887, -0.032160431146621704, -0.2521437406539917, -0.672674834728241, -0.11470305919647217, 0.4601840674877167, -0.0423903614282608, -0.07207061350345612, 0.5632195472717285, -0.31144362688064575, -0.5378550291061401, 0.5453929901123047, 0.3788253366947174, -0.01741267926990986, -0.09367749840021133, -0.7780271172523499, 0.42664673924446106, 0.08791633695363998, -0.49202632904052734, 0.37565580010414124, 0.0680704414844513, -0.21807163953781128, 0.5408362150192261, 0.5375866889953613, 0.38673579692840576, 0.15862977504730225, 0.27143970131874084, 0.6309443116188049, -0.533125102519989, -0.22262132167816162, -1.2790119647979736, 0.13437744975090027, -0.3025125563144684, 0.12932562828063965, 1.0539792776107788, 0.4867394268512726, 0.8639296889305115, 0.08936137706041336, 0.9208401441574097, 0.37230437994003296, 0.35859501361846924, -0.9000505208969116, 0.512028694152832, -0.1090901643037796, 0.4994918406009674, -0.591144323348999, -1.1328082084655762, -0.07638226449489594, 0.4778746962547302, -0.7004738450050354, 0.34209683537483215, 0.6913376450538635, 0.6597527265548706, 0.10305418819189072, 0.138602152466774, 0.04132774844765663, 0.56574946641922, 0.45075997710227966, 0.44150716066360474, 1.2401807308197021, -0.12202302366495132, 0.2753106951713562, -0.02904663234949112, -0.3399718105792999, 0.04567163437604904, -0.9825699925422668, -1.151733160018921, -0.10618092119693756, -0.1183391809463501, -0.5188249945640564, 0.11618798226118088, 0.802868127822876, 0.44119134545326233, -0.4741632640361786, -0.32881516218185425, 0.5216612219810486, 0.060423679649829865, 0.11004281044006348, -0.21468116343021393, 0.4258168935775757, -0.07151966542005539, -0.9458093047142029, 0.46052658557891846, 0.044379204511642456, -0.04927138611674309, -0.8249818682670593, -0.08649749308824539, -0.019840262830257416, 0.32004594802856445, 0.5361266732215881, 0.022917022928595543, -0.8934690356254578, -0.4658981263637543, -0.13525748252868652, -0.1778288632631302, -0.28895509243011475, 0.8041130900382996, -0.39138954877853394, 0.13997100293636322, 0.06066317483782768, 0.6339038610458374, 0.2558078467845917, -0.0915648341178894, 0.7345111966133118, -0.6625275015830994, 0.19480019807815552, 0.35784438252449036, 0.3264985680580139, 0.36437514424324036, -0.5161546468734741, 0.5682240128517151, 0.01387327816337347, -0.15479879081249237, -1.0568559169769287, 0.21333764493465424, -0.8282961249351501, -0.3031391501426697, 1.571934461593628, 0.1292104870080948, -0.3126402199268341, -0.13155792653560638, -0.19957146048545837, -0.05728767067193985, -0.22311006486415863, 0.7332015633583069, 0.7900100350379944, 0.10357643663883209, 0.414793998003006, -0.7657698392868042, 0.4803386330604553, 0.48096275329589844, -0.6268444061279297, 0.12849654257297516, 0.6111655235290527, 0.4527968466281891, 0.016991639509797096, 0.5862300395965576, -0.472425252199173, 0.030614890158176422, -0.3282761871814728, 0.05134806036949158, 0.13999824225902557, -0.1627054065465927, -0.43394941091537476, 0.20023296773433685, -0.17496252059936523, 0.15974973142147064 ]
http://arxiv.org/abs/2406.14022v1
http://arxiv.org/pdf/2406.14022v1
Investigating the Pre-Training Dynamics of In-Context Learning: Task Recognition vs. Task Learning
2024-06-20T06:37:47
2024-06-20T06:37:47
Xiaolei Wang, Xinyu Tang, Wayne Xin Zhao, Ji-Rong Wen
cs.LG
cs.LG, cs.CL
The emergence of in-context learning (ICL) is potentially attributed to two major abilities: task recognition (TR) for recognizing the task from demonstrations and utilizing pre-trained priors, and task learning (TL) for learning from demonstrations. However, relationships between the two abilities and how such relationships affect the emergence of ICL is unclear. In this paper, we take the first step by examining the pre-training dynamics of the emergence of ICL. With carefully designed metrics, we find that these two abilities are, in fact, competitive during pre-training. Moreover, we observe a strong negative correlation between the competition and ICL performance. Further analysis of common pre-training factors (i.e., model size, dataset size, and data curriculum) demonstrates possible ways to manage the competition. Based on these insights, we propose a simple yet effective method to better integrate these two abilities for ICL at inference time. Through adaptive ensemble learning, the performance of ICL can be significantly boosted, enabling two small models to outperform a larger one with more than twice the parameters. The code is available at https://github.com/RUCAIBox/Competitive-ICL.
[ -0.44271400570869446, -0.32019659876823425, 0.2427791953086853, 0.06393472105264664, -0.2774626314640045, 0.32764846086502075, -0.19260621070861816, -0.6955726146697998, -0.3068612813949585, 0.03865637630224228, -0.408022403717041, -0.09674035757780075, -0.6910070776939392, -0.05833549052476883, -0.2589530050754547, 1.0371257066726685, -0.06744638830423355, -0.04576684907078743, -0.6562166213989258, -0.2920198440551758, -0.5882479548454285, -0.7013272047042847, -0.5903488993644714, -0.32280585169792175, 0.2898332178592682, 0.4407956004142761, -0.09442096948623657, 0.38700369000434875, 0.3013702630996704, 0.34939345717430115, 0.17177438735961914, 0.10244669765233994, -0.48489996790885925, 0.19504721462726593, -0.18037743866443634, -0.3557809591293335, -0.17984545230865479, 0.33969631791114807, 0.7275709509849548, 0.578095018863678, 0.04983558505773544, 0.24583102762699127, 0.7904009819030762, 0.27013131976127625, -0.7931002378463745, 0.17187243700027466, -0.7312240600585938, 0.014833640307188034, -0.5096364617347717, -0.4746130406856537, -0.40721720457077026, 0.184675931930542, 0.5654601454734802, -0.6753283143043518, 0.20225247740745544, 0.0960717722773552, 0.8706627488136292, 0.26049309968948364, -0.359935462474823, -0.3710481822490692, -0.660220742225647, 0.7990688681602478, -0.08505106717348099, 0.3984430432319641, -0.011731837876141071, 0.31867310404777527, -0.1016598790884018, -1.0792322158813477, -0.24043644964694977, -0.4395469129085541, -0.13103176653385162, 0.2167721390724182, -0.13961359858512878, -0.038005951792001724, 0.27420759201049805, -0.011978404596447945, -0.3421672582626343, 0.30513009428977966, -0.21789461374282837, 0.1303025484085083, 0.4289093613624573, 0.08933617174625397, 0.3017958104610443, 0.4311857521533966, -0.5504316091537476, -0.1941337138414383, -0.5523803234100342, 0.5858907103538513, 0.04907995089888573, 0.2916773557662964, -0.08108410239219666, 0.03582359105348587, -0.019949354231357574, 0.5049605369567871, 0.5931646823883057, -0.14000965654850006, 0.2077275961637497, -0.0020240850280970335, -0.2766832411289215, 0.39915531873703003, 0.47952860593795776, -0.1769978404045105, -0.1566421240568161, -0.33772411942481995, -0.2195151448249817, -0.07865570485591888, 0.5195170640945435, -0.4796633720397949, -0.08171220123767853, -0.07790162414312363, -0.5368857979774475, -0.20963332056999207, 0.10847175866365433, -0.32438093423843384, -0.04159361869096756, -0.6254991888999939, 1.1290028095245361, -0.1738586723804474, -0.20878243446350098, -0.2560986280441284, -0.13042186200618744, 0.18956127762794495, 0.44442346692085266, -0.6469599604606628, 0.6239674091339111, 0.634327232837677, 0.7455110549926758, -0.4385841190814972, -0.6480081677436829, -0.7333569526672363, 0.09600438922643661, -0.23907938599586487, 0.5894598960876465, -0.3377995789051056, -0.19515913724899292, -0.19698356091976166, -0.0003800994891207665, -0.4212092161178589, -0.8023974299430847, -0.012823040597140789, -0.9165305495262146, -0.11172954738140106, -0.14683577418327332, -0.5715936422348022, -0.020229700952768326, 0.1499650776386261, -0.5322670340538025, 0.9193465113639832, 0.0018166272202506661, -0.8076568841934204, 0.8873523473739624, -0.9448628425598145, -0.5144358277320862, 0.34159055352211, -0.19739092886447906, -0.4508838653564453, -0.013909531757235527, -0.23774123191833496, 0.6290896534919739, -0.007350055035203695, -0.08115445822477341, -0.396552711725235, -0.4631994068622589, 0.10969220846891403, 0.0543912909924984, 0.6835553646087646, 0.18730226159095764, -0.647216796875, 0.1225832849740982, -0.5064862966537476, -0.1551484316587448, -0.09042304009199142, -0.2313617765903473, -0.25218188762664795, 0.4165264666080475, -0.33123642206192017, 0.26374551653862, 0.07944739609956741, -0.2036060094833374, -0.07616838067770004, -0.15563692152500153, 0.4414055049419403, 0.633872926235199, -0.1153901144862175, 0.49418094754219055, -0.26013997197151184, 0.45135951042175293, 0.3028301000595093, 0.023694921284914017, 0.17688912153244019, -0.006239322014153004, -0.46521735191345215, -0.1189035177230835, 0.2784455418586731, 0.44739869236946106, -0.6498650908470154, 0.2258646935224533, -0.1605786681175232, -0.45210030674934387, -0.12698809802532196, 0.11834828555583954, 0.4489280581474304, 0.5982761383056641, 0.4403259754180908, -0.41288766264915466, -0.5204017758369446, -0.40532350540161133, -0.2683859169483185, -0.07766124606132507, 0.07583972066640854, 0.41269633173942566, 0.6758143901824951, 0.32626771926879883, 0.7781556844711304, -0.10094022750854492, -0.42961400747299194, -0.3412410020828247, 0.42499175667762756, -0.20358939468860626, 0.8873327970504761, 0.7680109739303589, -0.825067937374115, -0.8070135712623596, 0.146954745054245, -0.6994282603263855, 0.14196054637432098, -0.013955148868262768, -0.16409873962402344, -0.03717627376317978, 0.8061976432800293, -0.12235371768474579, 0.5995897054672241, 0.29493266344070435, -0.07343975454568863, 0.5949665904045105, -0.23189394176006317, 0.323783814907074, -0.6984144449234009, 0.1020156666636467, 0.0636884868144989, 0.04107086360454559, -0.6864079236984253, 0.16002924740314484, 0.21817709505558014, 0.028227245435118675, -0.5847794413566589, 0.38141554594039917, -0.5135061740875244, -0.31480780243873596, -0.14342808723449707, -0.08895554393529892, -0.42458149790763855, 0.5403487086296082, 0.26272380352020264, 0.8744869232177734, 0.7217885255813599, -0.815974235534668, -0.17809320986270905, -0.05454406887292862, -0.844064474105835, 0.5034539699554443, -0.45495525002479553, 0.04826948791742325, 0.08053412288427353, 0.29594331979751587, -0.8628014326095581, -0.36094930768013, 0.04717022553086281, -0.22443075478076935, 0.521891176700592, -0.2750517427921295, -0.32442396879196167, -0.249691903591156, 0.15058210492134094, 0.8106716275215149, 0.5656354427337646, -0.7115628719329834, 0.6073073148727417, 0.32887932658195496, 0.1098325103521347, -0.7178617715835571, -0.40013983845710754, -0.20830678939819336, -0.6150397062301636, -0.21105387806892395, 0.768366277217865, -0.10329776257276535, -0.14767172932624817, -0.2879791259765625, -0.051373712718486786, -0.3734554052352905, 0.5004963278770447, 0.2695994973182678, 0.09780669957399368, -0.22767165303230286, 0.14311759173870087, 0.16279734671115875, 0.06592335551977158, -0.06493328511714935, -0.4463011920452118, 0.22741617262363434, -0.05200434848666191, -0.238538920879364, -0.6724678874015808, 0.05633414909243584, 0.7147603034973145, -0.4325565993785858, 0.5336979627609253, 0.33029597997665405, -0.21562936902046204, -0.2908805310726166, -0.4512845277786255, -0.12936489284038544, -0.43534645438194275, 0.3679286539554596, -0.3458050787448883, -0.5301105380058289, 0.3781556189060211, -0.22655442357063293, -0.05716884881258011, 0.08443326503038406, 0.3396311402320862, -0.32533207535743713, 1.1346453428268433, 0.5914469957351685, 0.12064557522535324, 0.9152221083641052, -0.33489295840263367, -0.11157479137182236, -0.8035949468612671, -0.4538339078426361, -0.3572366535663605, -0.6071664094924927, -0.24799707531929016, -0.06412927806377411, 0.6124922037124634, 0.28189027309417725, -0.48497793078422546, 0.3058021664619446, -0.2372303158044815, 0.502829909324646, 0.7138192057609558, 0.4840327799320221, -0.07002072781324387, -0.17086948454380035, -0.1306489109992981, 0.026271073147654533, -0.79538893699646, -0.24954620003700256, 0.9852771162986755, -0.0272520761936903, 0.45150578022003174, -0.13926473259925842, 0.7410589456558228, 0.17610840499401093, 0.37042632699012756, -0.4010908305644989, 0.4679926335811615, -0.3195151686668396, -0.36791566014289856, -0.0659131184220314, -0.03434654325246811, -1.0455039739608765, 0.172600656747818, -0.5144088864326477, -0.8673230409622192, 0.19966307282447815, 0.6550381183624268, -0.5396894216537476, 0.34317585825920105, -0.5982449054718018, 1.1124261617660522, -0.45243513584136963, -0.6864811778068542, -0.38946861028671265, -0.8529869318008423, 0.0626087412238121, 0.05026857182383537, -0.029285412281751633, 0.29035696387290955, 0.037015292793512344, 0.7049875855445862, -0.07832799851894379, 0.777902364730835, -0.23457559943199158, 0.45267248153686523, 0.3765809237957001, 0.05127021297812462, 0.38867491483688354, -0.1949915736913681, 0.26474249362945557, -0.16878490149974823, -0.025463121011853218, -0.5130475163459778, -0.5164816975593567, 0.49055901169776917, -0.7616127133369446, -0.5571818947792053, -0.23151981830596924, -0.3545878231525421, -0.23834991455078125, -0.006134161725640297, 0.5717587471008301, 0.7450436353683472, -0.2533847689628601, 0.41378483176231384, 0.7763968706130981, 0.18849320709705353, 0.5255926847457886, 0.3643089532852173, 0.3798312842845917, -0.019412484019994736, 0.8120659589767456, 0.39411190152168274, 0.3562207818031311, 0.5503057837486267, 0.023129358887672424, -0.1568838357925415, -0.8097259402275085, -0.24831804633140564, -0.28595229983329773, -0.4535353183746338, -0.08010128140449524, -0.6159009337425232, -0.05120489001274109, -0.10275211185216904, -0.38422510027885437, -0.020401425659656525, 0.30082863569259644, -0.7238094806671143, 0.23067578673362732, -0.26549476385116577, 0.6638334393501282, -0.06881488114595413, 0.4665009379386902, -0.477548748254776, -0.31617435812950134, 0.6671352982521057, 0.23350951075553894, 0.47893834114074707, -0.4735720455646515, -0.4706480801105499, -0.0975816398859024, -0.5038698315620422, -0.5703798532485962, 0.2600044310092926, 0.2403838187456131, 0.8015508651733398, 0.6382827758789062, -0.08834734559059143, 0.8472939133644104, -0.49409887194633484, 0.8347969651222229, 0.12142805010080338, -1.0839893817901611, 0.44395309686660767, 0.014329497702419758, 0.018087614327669144, 0.40562674403190613, 0.6857907772064209, 0.07515640556812286, -0.23222298920154572, -0.7118132710456848, -0.4250679016113281, 1.0054805278778076, -0.015820149332284927, -0.14560849964618683, 0.19127117097377777, 0.09114985913038254, 0.13991300761699677, 0.2713773250579834, -0.6655960083007812, 0.10686114430427551, -0.2602512538433075, -0.1990717500448227, -0.22112981975078583, 0.06230775639414787, -0.1900101900100708, -0.475777268409729, 0.31764596700668335, -0.0940631777048111, 0.1518927663564682, -0.05904886871576309, -0.5526340007781982, 0.10683371871709824, -0.12889507412910461, 0.5067445039749146, 0.4950520098209381, -0.07236689329147339, 0.03967859596014023, 0.35952290892601013, -0.3527846932411194, 0.15075314044952393, 0.029234381392598152, 0.4051594138145447, -0.533496081829071, 0.7322176694869995, 0.837708592414856, 0.7828067541122437, -0.7556287050247192, 0.6037371158599854, 0.12721191346645355, -0.5070998072624207, -0.09003464132547379, 0.2941233217716217, -0.37637215852737427, 0.7438749074935913, 0.5831974744796753, 0.276213139295578, 0.07066582888364792, -0.6629740595817566, 0.2635776102542877, 0.5649402737617493, -0.4069533050060272, -0.5151872634887695, 0.7322152853012085, 0.17424078285694122, -0.3016858994960785, 0.43348005414009094, -0.2254904955625534, -0.6352977752685547, 0.9575771689414978, 0.4983692467212677, 0.8057736158370972, -0.16752834618091583, 0.009633509442210197, 0.25986483693122864, -0.25550323724746704, 0.03319110721349716, -0.16318830847740173, -0.6301131248474121, -0.6223401427268982, -0.20107010006904602, -0.18732863664627075, -0.018846508115530014, 0.0899251326918602, -0.7420139908790588, 0.29516249895095825, -0.3644140362739563, -0.012447016313672066, 0.10667295008897781, 0.1772298663854599, -1.0001685619354248, 0.24154032766819, 0.0684870257973671, 0.6464310884475708, -0.7474011778831482, 0.8425049185752869, 0.8674346208572388, -0.17249517142772675, -0.7096110582351685, 0.22408857941627502, -0.0723629966378212, -0.44424375891685486, 1.166741132736206, 0.31585928797721863, -0.0075277164578437805, 0.2687619924545288, -0.6328690648078918, -0.9022386074066162, 1.373461365699768, 0.21780452132225037, -0.3787296414375305, -0.15944382548332214, -0.4644719660282135, 0.4524858593940735, -0.7697625160217285, 0.12064304947853088, 0.3787226378917694, -0.039391450583934784, -0.053379252552986145, -0.9428136944770813, -0.33388710021972656, 0.05660127103328705, -0.22107602655887604, 0.19256988167762756, -0.42264804244041443, 0.8435984253883362, -0.20157746970653534, -0.5264518857002258, 0.09998856484889984, 0.5751245021820068, 0.12588536739349365, 0.6752559542655945, 0.7809735536575317, 0.30501270294189453, 0.44739076495170593, -0.13147251307964325, 0.6457116603851318, -0.31544923782348633, 0.15010270476341248, 1.1479690074920654, -0.30905482172966003, 0.9576477408409119, 0.2851313054561615, -0.24962057173252106, 0.7504913210868835, 0.7097026109695435, 0.27645862102508545, 0.7576300501823425, -0.063263900578022, -0.4153248071670532, -0.5426841378211975, 0.1517849713563919, -0.18495601415634155, 0.5305219292640686, 0.3667259216308594, -0.3436250686645508, -0.13566339015960693, 0.42465171217918396, -0.4502696692943573, 0.07420989125967026, -0.637549638748169, 0.932526171207428, -0.3358781039714813, -0.7863937020301819, 0.19499598443508148, -0.6752545237541199, 0.546497642993927, -0.7366223335266113, -0.08916211873292923, 0.25728532671928406, 0.06257971376180649, -0.07702753692865372, -0.5391584634780884, -0.06828717887401581, -0.26105955243110657, -0.06512787193059921, -0.07892307639122009, 0.5488237738609314, -0.4407951533794403, 0.1276365965604782, 0.45361894369125366, 0.39593297243118286, -0.01778867095708847, 0.2514934837818146, -0.6481155753135681, -0.12218428403139114, -0.3706183433532715, 0.08782944828271866, 0.8952091336250305, 0.23845604062080383, -0.15286457538604736, 0.527249813079834, 0.35773739218711853, -0.2650451064109802, 0.05954344570636749, -0.4333420991897583, 0.7377614974975586, -0.046328675001859665, -0.7539698481559753, -0.6009334921836853, 0.6765437126159668, -0.09551939368247986, -0.4515746831893921, 0.3030414283275604, 0.30376800894737244, 1.294925332069397, -0.10573641210794449, 0.5411202311515808, -0.2162681370973587, 0.38903936743736267, -0.44756218791007996, 0.576498806476593, -0.9589474201202393, -0.1140163242816925, -0.3949183523654938, -0.4417535066604614, -0.08900679647922516, 0.3921686112880707, -0.37287217378616333, 0.13770964741706848, 0.5819182991981506, 0.44646209478378296, -0.41171228885650635, -0.1345137655735016, 0.2798454165458679, 0.038985446095466614, -0.016538269817829132, 0.6590571403503418, 0.9842334389686584, 0.014266391284763813, 0.3862961530685425, -0.30638250708580017, -0.47782012820243835, -0.4350120723247528, -0.9520081877708435, -0.8029739260673523, -0.8988253474235535, -0.2593338191509247, -0.16130128502845764, 0.09718206524848938, 1.1544735431671143, 1.1691582202911377, -0.6089787483215332, -0.5895912647247314, -0.22255665063858032, -0.025771556422114372, -0.9498825669288635, -0.1805747002363205, 0.32087618112564087, -0.6674466729164124, -0.66246098279953, 0.40456345677375793, 0.03020918369293213, 0.1889217644929886, 0.158704936504364, -0.21806862950325012, -0.22488577663898468, -0.16758710145950317, 0.7737416625022888, 0.5711822509765625, -0.4802020788192749, -0.21999917924404144, -0.4409807324409485, 0.223768949508667, -0.00885904859751463, 1.1192948818206787, -0.9928904175758362, 0.5520432591438293, 0.18982481956481934, 0.5850546360015869, 0.4333980679512024, -0.020649902522563934, 0.42167928814888, -0.5920699238777161, 0.1319701373577118, 0.1945767104625702, 0.2744230329990387, -0.23348268866539001, -0.21643772721290588, 0.3122059404850006, 0.3500462770462036, -0.7581781148910522, -1.0882198810577393, 0.1996488720178604, -0.7371922731399536, -0.348891019821167, 0.3093875050544739, -0.3160043954849243, 0.14995892345905304, -0.17341181635856628, -0.020566046237945557, 0.27950432896614075, -0.012467669323086739, 0.7938498258590698, 0.5666196346282959, -0.5836064219474792, 0.04845348745584488, -0.42308786511421204, 0.9231579303741455, 0.31759458780288696, -0.5560406446456909, -0.24757549166679382, 0.045776233077049255, 0.39540645480155945, 0.01713050901889801, 0.1900770515203476, 0.23311913013458252, 0.6741910576820374, -0.11668682098388672, -0.4051797091960907, -0.06192082539200783, -0.6858073472976685, -0.2047204077243805, 0.4804041385650635, 0.052569061517715454, -0.4490034580230713 ]
http://arxiv.org/abs/2406.14021v1
http://arxiv.org/pdf/2406.14021v1
HIGHT: Hierarchical Graph Tokenization for Graph-Language Alignment
2024-06-20T06:37:35
2024-06-20T06:37:35
Yongqiang Chen, Quanming Yao, Juzheng Zhang, James Cheng, Yatao Bian
cs.CL
cs.CL, cs.LG, q-bio.QM
Recently there has been a surge of interest in extending the success of large language models (LLMs) to graph modality, such as social networks and molecules. As LLMs are predominantly trained with 1D text data, most existing approaches adopt a graph neural network to represent a graph as a series of node tokens and feed these tokens to LLMs for graph-language alignment. Despite achieving some successes, existing approaches have overlooked the hierarchical structures that are inherent in graph data. Especially, in molecular graphs, the high-order structural information contains rich semantics of molecular functional groups, which encode crucial biochemical functionalities of the molecules. We establish a simple benchmark showing that neglecting the hierarchical information in graph tokenization will lead to subpar graph-language alignment and severe hallucination in generated outputs. To address this problem, we propose a novel strategy called HIerarchical GrapH Tokenization (HIGHT). HIGHT employs a hierarchical graph tokenizer that extracts and encodes the hierarchy of node, motif, and graph levels of informative tokens to improve the graph perception of LLMs. HIGHT also adopts an augmented graph-language supervised fine-tuning dataset, enriched with the hierarchical graph information, to further enhance the graph-language alignment. Extensive experiments on 7 molecule-centric benchmarks confirm the effectiveness of HIGHT in reducing hallucination by 40%, as well as significant improvements in various molecule-language downstream tasks.
[ -0.20834729075431824, -1.0572021007537842, 0.33539772033691406, -0.0952846109867096, -0.07054521888494492, 0.6019085645675659, -0.25711387395858765, -0.3588574230670929, 0.618356466293335, 0.35550162196159363, -0.176926851272583, -0.8671611547470093, -0.7265483736991882, 0.06977570801973343, -0.0042998152785003185, 1.0675394535064697, 0.029608596116304398, -0.034345902502536774, -0.11024095863103867, -0.054428935050964355, -0.17071251571178436, -0.6649226546287537, -0.6813384294509888, -0.43327346444129944, 0.9341301918029785, 0.22580763697624207, 0.8129909634590149, 1.1315011978149414, 0.6056572198867798, 0.3101710379123688, -0.31091707944869995, 0.2634371519088745, -0.8028636574745178, -0.22669030725955963, -0.02724211849272251, 0.041849471628665924, -0.9320674538612366, -0.19819797575473785, 0.6291700005531311, 1.1290390491485596, 0.2885323166847229, -0.07423162460327148, 0.1228042021393776, 0.6530641317367554, -0.37992286682128906, 0.4818250834941864, -0.6562085747718811, 0.046447593718767166, -0.20756900310516357, -0.24313054978847504, -0.3293001353740692, -0.18344628810882568, -0.07676880806684494, -0.7115752100944519, 0.031004101037979126, 0.21264930069446564, 1.067256212234497, 0.1366777867078781, -0.5078539848327637, 0.04785512760281563, -0.5030125379562378, 0.21915924549102783, -0.5253623723983765, 0.42581963539123535, 0.119997039437294, 0.11332976818084717, -0.33426952362060547, -0.7134461402893066, -0.4080747365951538, -0.1147657185792923, -0.24255770444869995, 0.05826983228325844, -0.050538744777441025, 0.5263499617576599, 0.11449917405843735, 0.2927404046058655, -0.6527628898620605, 0.2111453115940094, -0.041534535586833954, -0.4266343414783478, 0.0075155580416321754, -0.14540481567382812, 0.30042365193367004, -0.5015376210212708, -0.42075979709625244, 0.0005346279358491302, -0.6030259728431702, -0.2237357348203659, 0.1815485805273056, 0.8937069773674011, 0.2581188380718231, 0.7560997009277344, -0.14956693351268768, 0.3322051167488098, 0.09862851351499557, 0.21227382123470306, 0.39603716135025024, -0.532686710357666, -0.27746087312698364, 0.4917891323566437, 0.7500577569007874, 0.24153316020965576, 0.35364535450935364, -0.3764064908027649, -0.27242255210876465, 0.06336569041013718, -0.013396494090557098, -1.0886677503585815, -0.2180679440498352, 0.1795884668827057, -0.5216416716575623, -0.4823495149612427, 0.050795719027519226, -0.7941455841064453, -0.44970762729644775, -0.17837515473365784, 0.46647578477859497, -0.38645604252815247, -0.05661645159125328, 0.0359688438475132, -0.10660886764526367, -0.2718496024608612, 0.052464019507169724, -1.0453919172286987, 0.5528794527053833, 0.8785157799720764, 1.0998563766479492, -0.5450572371482849, -0.5292965173721313, -0.9286152124404907, 0.5142554044723511, -0.3028954267501831, 0.459463894367218, -0.6220040321350098, -0.003109869547188282, -0.2697809934616089, 0.1174471452832222, -0.2111738622188568, -0.6021866798400879, -0.045003559440374374, -0.3659264147281647, -0.08472146838903427, -0.2502564787864685, -0.5185962915420532, 0.141323059797287, 0.24438713490962982, -0.4823119640350342, 1.1544421911239624, 0.234344482421875, -0.8090388774871826, 0.2646782100200653, -0.5422489643096924, -0.5250706672668457, 0.1253962516784668, -0.5278666615486145, -0.44649386405944824, -0.1394326090812683, 0.39071252942085266, 0.3505038321018219, 0.08166434615850449, 0.3345206081867218, -0.21076247096061707, -0.518780529499054, -0.03599083796143532, -0.14583365619182587, 0.5733650326728821, -0.12054808437824249, -0.46710917353630066, 0.6163259744644165, -0.6972754597663879, -0.1719706952571869, -0.04284002631902695, -0.3107428550720215, -0.17446304857730865, -0.13652116060256958, 0.06859077513217926, 0.09627865254878998, 0.34688088297843933, -0.5564191341400146, 0.4007701575756073, -0.564112663269043, 0.6032378673553467, 1.1353375911712646, 0.010027604177594185, 0.34117525815963745, -0.0036624225322157145, 0.17885826528072357, 0.2070673257112503, -0.11732222139835358, 0.15999774634838104, -0.39471369981765747, -0.47530385851860046, -0.4911286234855652, 0.2872956097126007, 0.4364224672317505, -0.4847670793533325, 0.8706309199333191, -0.635707676410675, -0.14526957273483276, -0.13196691870689392, 0.03690943866968155, 0.23744267225265503, 0.6815735101699829, 0.3995629549026489, -0.32977327704429626, -0.5394597053527832, -0.6611720323562622, -0.12127583473920822, -0.28997841477394104, 0.14908568561077118, 0.4191872477531433, 0.5923181176185608, -0.5781202912330627, 0.7325180172920227, -0.402458518743515, -0.44643092155456543, -0.06427665799856186, 0.028397174552083015, 0.10970018059015274, 0.6072299480438232, 0.28963980078697205, -0.3985169231891632, -0.24417048692703247, 0.6006980538368225, -0.6299326419830322, 0.059573546051979065, -0.0007823698106221855, -0.5899654030799866, -0.06291335076093674, 0.6560811400413513, -0.800150454044342, 0.30175602436065674, 0.30916428565979004, -0.40966105461120605, 0.24768322706222534, -0.046459853649139404, -0.010573686100542545, -1.284885287284851, 0.1424078792333603, -0.2637636363506317, -0.2938031256198883, -0.43427789211273193, -0.20676928758621216, -0.21930904686450958, -0.3315685987472534, -0.08418909460306168, 0.4737550914287567, -0.3353220224380493, -0.2179325371980667, -0.10115403681993484, 0.18616299331188202, -0.14670905470848083, 0.7438549995422363, -0.07174055278301239, 0.5953422784805298, 0.5738027691841125, -0.08334200084209442, 0.24778470396995544, 0.307237833738327, -0.00655630836263299, 0.14872504770755768, -0.6194823980331421, 0.12403562664985657, -0.07104019820690155, 0.2650667428970337, -1.0811927318572998, -0.46276676654815674, 0.30902165174484253, -0.4268763065338135, 0.3807468116283417, -0.2877923846244812, -0.5502527356147766, -0.1338902711868286, -0.17974542081356049, 0.49568915367126465, 0.3449879288673401, -0.5851960182189941, 0.5566458106040955, 0.33869659900665283, 0.0394454225897789, -0.5746569037437439, -0.4430947005748749, 0.301425576210022, -0.15960687398910522, -0.47943004965782166, 0.5154380798339844, 0.27729788422584534, 0.2371981292963028, -0.020612530410289764, -0.4369584023952484, 0.19283241033554077, 0.006795469671487808, 0.2638044059276581, 0.16271840035915375, -0.4851038455963135, 0.04715367406606674, -0.03629200905561447, -0.31947073340415955, -0.12546321749687195, -0.7908387780189514, 0.7706882953643799, -0.29114454984664917, -0.15789581835269928, -0.551659107208252, 0.18303503096103668, 0.7979835271835327, -0.25033652782440186, 0.7248610258102417, 0.4822680950164795, -0.7602347731590271, 0.14249004423618317, 0.034494541585445404, -0.25347256660461426, -0.4777253568172455, 0.6792022585868835, -0.3831822872161865, -0.9514016509056091, 0.49182432889938354, -0.32190901041030884, -0.36836346983909607, 0.21133068203926086, 0.5681145787239075, 0.047968652099370956, 1.205141544342041, 0.3293002247810364, -0.24488037824630737, 0.5332402586936951, -0.1406187266111374, 0.6723077297210693, -0.6281049847602844, -0.07128732651472092, -0.45312339067459106, -0.4290405511856079, -0.6937766671180725, -0.36040306091308594, 0.4013597071170807, 0.314082533121109, -0.5617967844009399, 0.46149420738220215, -0.5785121321678162, 0.5872204899787903, 0.18384765088558197, 0.2288527637720108, 0.11945729702711105, 0.5876704454421997, -0.38331758975982666, 0.16897672414779663, -0.6864345073699951, -0.516541063785553, 0.6224566698074341, 0.372761070728302, 0.6134071350097656, -0.12044180184602737, 0.9147017002105713, 0.01690688543021679, 0.07844126969575882, -0.9982190132141113, 0.5744484066963196, -0.22024840116500854, -0.1690717190504074, -0.5375007390975952, -0.6824914216995239, -1.0750974416732788, 0.13121026754379272, -0.06168888509273529, -1.1847116947174072, 0.2933080196380615, 0.10778787732124329, -0.1436106413602829, 0.32976189255714417, -0.5466870069503784, 1.2540560960769653, -0.07897750288248062, -0.23978456854820251, 0.12570412456989288, -0.6967406272888184, -0.18306954205036163, 0.05237726494669914, 0.15067660808563232, 0.0009383656433783472, 0.12358556687831879, 0.7345988154411316, -0.6621423959732056, 0.9664051532745361, -0.09669065475463867, -0.06405461579561234, -0.09857448190450668, 0.19725939631462097, 0.7297824025154114, -0.07115746289491653, -0.007336420007050037, 0.15738223493099213, -0.0504336878657341, -0.6087157726287842, -0.6403669118881226, 0.7781950235366821, -0.755612850189209, -0.4033338129520416, -0.20358313620090485, -0.5983158349990845, -0.250343918800354, 0.6569055318832397, 0.29234084486961365, 0.4723272919654846, -0.11933889240026474, 0.17755456268787384, 0.38633617758750916, 0.028336413204669952, 0.14001531898975372, -0.49491140246391296, -0.3914603292942047, -0.7673922777175903, 1.252994179725647, 0.11074662208557129, 0.4277900755405426, 0.5241715908050537, 0.3893393576145172, 0.017282357439398766, -0.604727029800415, -0.5310768485069275, 0.18794989585876465, -0.8107194304466248, -0.11335867643356323, -0.7389439940452576, -0.3280389904975891, -0.6220106482505798, -0.3249512016773224, -0.3787674903869629, -0.6576768755912781, -0.07708536088466644, -0.3821384310722351, 0.27344217896461487, 0.5392231941223145, 0.1641257107257843, 0.22720807790756226, -0.5709928870201111, 0.4963426887989044, -0.009587230160832405, 0.38237234950065613, 0.022679954767227173, -0.0009362214477732778, -0.3691059947013855, -0.019125349819660187, 0.048731569200754166, -0.656546413898468, 0.030854854732751846, 0.17207546532154083, 0.24735556542873383, 0.3086038827896118, -0.3882376551628113, 0.9310135245323181, -0.44676119089126587, 0.5936847925186157, 0.17610806226730347, -0.9528250098228455, 0.3891574442386627, -0.47040048241615295, 0.07735231518745422, 0.5315237045288086, 0.2393859624862671, -0.7034228444099426, -0.3748052716255188, -0.16727054119110107, -1.0479789972305298, 0.41068601608276367, 0.4137985110282898, 0.0020645959302783012, -0.36992624402046204, 0.4475712478160858, 0.002099620644003153, 0.20123076438903809, -0.7488511800765991, -0.1667407602071762, -0.3387298285961151, -0.5066605806350708, 0.03870633244514465, 0.22413012385368347, -0.17913374304771423, -0.5429407954216003, 0.4991052746772766, -0.4332207441329956, 0.1750851422548294, 0.05291390419006348, 0.05522863194346428, -0.24245677888393402, -0.013003106229007244, 0.06341247260570526, 0.5462237000465393, -0.267378568649292, 0.6264234781265259, -0.16193203628063202, -0.49917060136795044, 0.12482281774282455, 0.0885409414768219, -0.12978340685367584, -0.1954367756843567, 0.48268455266952515, 0.771114706993103, -0.007532224059104919, -0.38887473940849304, 0.4405602216720581, 0.2736261188983917, -0.05564185231924057, 0.5248671770095825, -0.15672247111797333, 0.21164117753505707, -0.08007336407899857, 0.06534776836633682, 0.17994937300682068, -0.11417257785797119, -0.7225639820098877, 0.32159796357154846, 0.4169329106807709, -0.5549792051315308, -0.2264707237482071, 0.661448061466217, 0.029233155772089958, -0.39187178015708923, 0.5767306089401245, 0.08070006221532822, -0.6549588441848755, 0.5678043961524963, 0.7603956460952759, 0.9037909507751465, 0.11508798599243164, 0.09444539994001389, 0.2618272602558136, 0.13942950963974, 0.374237060546875, 0.14628607034683228, -0.07608022540807724, -0.7135844230651855, -0.185540571808815, -0.7189461588859558, 0.01531138177961111, -0.18181681632995605, -0.32075610756874084, 0.07027965784072876, -0.43943673372268677, -0.1286817342042923, 0.3242201805114746, -0.1629631221294403, -0.172468364238739, -0.033339012414216995, -0.0416790172457695, 0.4696536660194397, -0.7208734750747681, 0.8964061141014099, 0.5230445861816406, -0.4315117597579956, -0.5228837132453918, 0.1561211794614792, -0.10326612740755081, -0.6206437349319458, 0.7689274549484253, 0.3721184730529785, -0.37520983815193176, 0.3379744589328766, -0.4464338719844818, -0.9571806192398071, 0.8251573443412781, 0.3288874626159668, -0.4402863681316376, -0.3638659715652466, 0.4499950408935547, 0.5842585563659668, -0.5410618185997009, -0.2732364535331726, 0.5894770622253418, 0.5032289028167725, 0.2479398101568222, -0.6894432902336121, 0.401704341173172, -0.3458172082901001, 0.1333846002817154, 0.36833426356315613, -0.456996351480484, 0.7097230553627014, 0.0012411588104441762, -0.21890154480934143, 0.016760187223553658, 0.5879054665565491, 0.266411691904068, 0.18968214094638824, 0.3199111223220825, 0.3988887369632721, 1.045374870300293, -0.1587340533733368, 0.7290272116661072, -0.3881262540817261, 0.27215567231178284, 0.9205449819564819, -0.4295288324356079, 0.580986499786377, 0.8074486255645752, 0.15553583204746246, 0.3014032244682312, 0.8297017812728882, 0.14202925562858582, 0.3172239363193512, 0.5428475141525269, -0.05932061746716499, -0.19158512353897095, -0.20704497396945953, -0.1931796371936798, 0.17814084887504578, 0.297823429107666, -0.12108230590820312, -0.12218991667032242, -0.013795232400298119, -0.02899402379989624, -0.061408042907714844, -0.13764645159244537, 0.8262021541595459, -0.13604333996772766, -0.3130931854248047, 0.8396965265274048, -0.1450999528169632, 0.3234610855579376, -0.16701674461364746, -0.04427628964185715, -0.20469500124454498, 0.17202284932136536, -0.43678662180900574, -0.39097970724105835, 0.12127448618412018, -0.22492703795433044, -0.05595915764570236, -0.2502521276473999, 0.5621195435523987, -0.37952664494514465, -0.42434900999069214, 0.516740083694458, 0.46520575881004333, 0.1786346137523651, 0.014297510497272015, -0.4173090159893036, -0.06513889878988266, -0.33472272753715515, -0.18253420293331146, 0.24787254631519318, 0.6860381364822388, -0.28133925795555115, 0.20673255622386932, 0.577415943145752, 0.2030712515115738, -0.02880478836596012, 0.34456536173820496, 1.0189815759658813, -0.797862708568573, -0.3481282889842987, -0.9565550088882446, -0.01072690263390541, -0.0982309877872467, -0.22392424941062927, 0.693082332611084, 1.0203028917312622, 0.9798353314399719, 0.21801620721817017, 0.6171956658363342, 0.1250886172056198, -0.16416271030902863, -0.5905722379684448, 0.7258442640304565, -0.4552582800388336, 0.13704150915145874, -0.5422318577766418, -1.0076693296432495, -0.5905390977859497, 0.46501946449279785, -0.044845033437013626, 0.07322518527507782, 0.9222301244735718, 1.1265543699264526, -0.14378346502780914, -0.20119979977607727, 0.12317778170108795, 0.4890683889389038, 0.5218538045883179, 0.42160189151763916, 0.661776065826416, -0.40487921237945557, 0.35389015078544617, -0.08868000656366348, -0.24052758514881134, -0.15189090371131897, -0.7590974569320679, -1.100921392440796, -0.4136922061443329, -0.3671761453151703, -0.7549763321876526, 0.22192691266536713, 1.1910839080810547, 0.7364453077316284, -0.8712571859359741, -0.4477538466453552, -0.5052006840705872, 0.22240233421325684, -0.29247626662254333, -0.20663967728614807, 0.8200293183326721, -0.2896521985530853, -0.5030582547187805, 0.4762609601020813, 0.6979874968528748, 0.3180614113807678, 0.07751385867595673, -0.12585754692554474, -0.15527446568012238, -0.04337353631854057, 0.6279446482658386, -0.0155148571357131, -0.6344264149665833, -0.6509912610054016, 0.18478283286094666, -0.4280092716217041, 0.706393837928772, 0.8916424512863159, -0.5586345791816711, 0.24754096567630768, 0.6793203353881836, 0.8234317302703857, 0.571715235710144, 0.14504143595695496, 0.4452468752861023, -0.7899653911590576, -0.09554921835660934, 0.11931446939706802, 0.3241419196128845, 0.21417450904846191, -0.6021310687065125, 0.3551778495311737, 0.5596308708190918, -0.3527252972126007, -0.8800230622291565, 0.10592655092477798, -1.2020221948623657, -0.3674392104148865, 0.9502875804901123, 0.2046816200017929, -0.5087631940841675, -0.01672276481986046, -0.40367475152015686, 0.6117817759513855, -0.29439350962638855, 0.759743332862854, 0.7028802633285522, -0.27201488614082336, 0.25568825006484985, -0.17702902853488922, 0.5546506643295288, 0.33766502141952515, -0.9573140144348145, 0.6279476881027222, 0.5164456963539124, -0.08452259004116058, 0.24319255352020264, 0.6436794996261597, -0.271310955286026, -0.013965421356260777, -0.0686238557100296, -0.08764494955539703, 0.06584791094064713, -0.5533269047737122, -0.1570678949356079, 0.22253824770450592, -0.05291038006544113, 0.05636576563119888 ]
http://arxiv.org/abs/2406.14012v1
http://arxiv.org/pdf/2406.14012v1
Seeing Through AI's Lens: Enhancing Human Skepticism Towards LLM-Generated Fake News
2024-06-20T06:02:04
2024-06-20T06:02:04
Navid Ayoobi, Sadat Shahriar, Arjun Mukherjee
cs.CL
cs.CL, cs.AI
LLMs offer valuable capabilities, yet they can be utilized by malicious users to disseminate deceptive information and generate fake news. The growing prevalence of LLMs poses difficulties in crafting detection approaches that remain effective across various text domains. Additionally, the absence of precautionary measures for AI-generated news on online social platforms is concerning. Therefore, there is an urgent need to improve people's ability to differentiate between news articles written by humans and those produced by LLMs. By providing cues in human-written and LLM-generated news, we can help individuals increase their skepticism towards fake LLM-generated news. This paper aims to elucidate simple markers that help individuals distinguish between articles penned by humans and those created by LLMs. To achieve this, we initially collected a dataset comprising 39k news articles authored by humans or generated by four distinct LLMs with varying degrees of fake. We then devise a metric named Entropy-Shift Authorship Signature (ESAS) based on the information theory and entropy principles. The proposed ESAS ranks terms or entities, like POS tagging, within news articles based on their relevance in discerning article authorship. We demonstrate the effectiveness of our metric by showing the high accuracy attained by a basic method, i.e., TF-IDF combined with logistic regression classifier, using a small set of terms with the highest ESAS score. Consequently, we introduce and scrutinize these top ESAS-ranked terms to aid individuals in strengthening their skepticism towards LLM-generated fake news.
[ -0.2743816673755646, -0.6634058952331543, 0.8521592020988464, 0.0735214352607727, -0.2957932949066162, 0.36654359102249146, 0.1088939756155014, -0.6900185942649841, 0.502861738204956, 0.2460501492023468, -0.5007016658782959, -0.5238136053085327, -0.7681437730789185, 0.45930957794189453, -0.48550859093666077, 0.786126971244812, -0.04508741572499275, 0.017290744930505753, -0.3217383921146393, 0.20012006163597107, 0.26700493693351746, -0.07683255523443222, -0.7233613133430481, -0.2890978455543518, 0.70972740650177, 0.0015520978486165404, 0.5179572105407715, 0.7254193425178528, 0.4539237320423126, 0.17652763426303864, 0.15614132583141327, 0.5801073908805847, -0.11784163117408752, -0.2771929204463959, -0.004654731135815382, -0.8521890044212341, -0.2504192888736725, 0.34847477078437805, 0.44050678610801697, 0.05950140208005905, 0.10558640211820602, 0.43637344241142273, -0.02431938424706459, 0.5161252021789551, -0.5590386390686035, -0.2780916392803192, -0.9010389447212219, 0.13848347961902618, -0.5498030781745911, -0.4730032980442047, -0.3974723815917969, -0.3756815493106842, -0.2634270191192627, -0.7835100889205933, 0.32718753814697266, 0.3317183554172516, 1.0575248003005981, 0.37111976742744446, -0.5044398307800293, -0.15811878442764282, -0.5277915000915527, 0.4539748728275299, -0.7104498744010925, 0.3338727355003357, 0.5480778813362122, -0.1912710964679718, -0.09543947130441666, -0.4258469045162201, -0.861823320388794, -0.20346854627132416, -0.08924508094787598, 0.1436527967453003, -0.18603675067424774, -0.24699667096138, 0.11637982726097107, 0.07728533446788788, -0.5203654766082764, 0.12501446902751923, -0.1857818216085434, -0.5909439921379089, 0.6744409203529358, 0.048907212913036346, 0.3804388642311096, -0.011482334695756435, -0.5820032954216003, 0.010850333608686924, -0.9286028742790222, -0.07306375354528427, 0.7244046330451965, -0.060758188366889954, -0.056719619780778885, 0.505144476890564, -0.08352116495370865, 0.3934939205646515, 0.27159610390663147, -0.3687916696071625, 0.23193584382534027, -0.06436117738485336, -0.21690766513347626, 0.14938361942768097, 0.6991031169891357, 0.433718740940094, 0.08814966678619385, -0.08966387808322906, -0.11714669317007065, 0.46197113394737244, 0.41088199615478516, -0.3666591942310333, 0.10871115326881409, -0.08749023079872131, -0.5712103843688965, -0.7278786301612854, 0.5655970573425293, -0.48805373907089233, -0.8151167035102844, -0.3217063248157501, 0.4864358901977539, -0.1817285269498825, -0.16256515681743622, 0.10266023874282837, -0.31602102518081665, 0.39083608984947205, 0.5906944274902344, -0.29298585653305054, 0.10575547814369202, 0.6152706146240234, 0.5861864686012268, -0.31319311261177063, -0.31590574979782104, -0.44365960359573364, 0.30506205558776855, -0.5926288366317749, 0.8147399425506592, -0.3690852224826813, 0.20068025588989258, -0.06205757334828377, -0.2882872521877289, 0.06657040119171143, -0.4432156980037689, 0.4840220510959625, -0.6245507001876831, 0.2788849472999573, -0.23355424404144287, -0.5964997410774231, -0.0052408492192626, 0.36080124974250793, -0.3925386071205139, 1.082334041595459, -0.18412412703037262, -0.7928981781005859, 0.7525380253791809, -0.4616934061050415, -0.7149872183799744, 0.12405966222286224, -0.3169458508491516, -0.40913376212120056, 0.19151383638381958, 0.4040873348712921, 0.4077070653438568, -0.033373910933732986, 0.17619740962982178, -0.16590173542499542, -0.10609232634305954, 0.6321221590042114, -0.49915844202041626, 0.7282717823982239, 0.2180004119873047, -0.5480014085769653, -0.09129489213228226, -0.6018762588500977, -0.26772505044937134, -0.08599112182855606, -0.4634421169757843, -0.4034583270549774, 0.033616192638874054, -0.23807203769683838, -0.05549328774213791, 0.08878958225250244, -0.5396441221237183, 0.08998378366231918, -0.2143801748752594, 0.19036726653575897, 0.8620191216468811, 0.20615659654140472, 0.30372634530067444, -0.660638689994812, 0.41250985860824585, 0.2788294851779938, -0.027306433767080307, -0.07104884833097458, -0.5448552370071411, -0.7386236190795898, -0.32855817675590515, 0.06659623235464096, 0.719637393951416, -0.8172112703323364, 0.5991100072860718, -0.10660349577665329, -0.5952629446983337, -0.8575918078422546, 0.41767048835754395, 0.3324609696865082, 0.47834914922714233, 0.2172069102525711, -0.23833365738391876, -0.4060627222061157, -0.7469995617866516, -0.9391628503799438, -0.6128621101379395, -0.31318196654319763, 0.10081323236227036, 0.35456180572509766, -0.19711355865001678, 0.8939927220344543, -0.3553379476070404, -0.3092269003391266, 0.10581393539905548, 0.4118114709854126, -0.121914803981781, 0.13907377421855927, 0.3840683400630951, -0.8464604616165161, -0.33022448420524597, -0.18677711486816406, -0.8315207958221436, -0.15882548689842224, -0.5396133065223694, -0.10621725022792816, 0.44170403480529785, 0.6859469413757324, -0.8944904804229736, 0.7956290245056152, 0.03575947880744934, -0.5617876648902893, 0.5267959237098694, 0.2137916386127472, 0.3184551000595093, -1.0170279741287231, -0.053535137325525284, 0.346635103225708, -0.46201395988464355, -0.3495436906814575, 0.03384282812476158, -0.1486920565366745, 0.38477298617362976, -0.4368465840816498, 0.6554173827171326, -0.5778603553771973, 0.06495150178670883, 0.050863116979599, 0.01776793599128723, -0.05253520607948303, -0.04701985418796539, -0.08094559609889984, 0.5805625915527344, 0.4552704989910126, -0.39181578159332275, 0.15903456509113312, -0.0477612130343914, -0.5957371592521667, 0.6310171484947205, -0.24666745960712433, 0.21315813064575195, -0.17664936184883118, 0.32074305415153503, -0.9757496118545532, -0.3145887851715088, 0.5547515153884888, -0.7613100409507751, 0.2525698244571686, 0.28230786323547363, -0.8362915515899658, -0.25303131341934204, -0.3845956027507782, 0.049230411648750305, 0.43425992131233215, -0.3893886208534241, 0.7602179646492004, 0.18294863402843475, 0.01837550848722458, -0.5027380585670471, -0.845160722732544, 0.5893412828445435, -0.5210563540458679, -0.7233479619026184, 0.4768855571746826, 0.045534711331129074, -0.7304902672767639, 0.05705074965953827, -0.17121891677379608, 0.2591259479522705, 0.1605619192123413, 0.13375234603881836, 0.07918985933065414, -0.2588423788547516, 0.008180590346455574, 0.07894067466259003, 0.03917548060417175, 0.17122146487236023, -0.1345020979642868, 0.05548964813351631, 0.02909635379910469, -0.33374759554862976, -0.9449849128723145, -0.0040183039382100105, 0.5602287650108337, 0.024728715419769287, 0.5920616984367371, 0.8657426238059998, -0.4261530339717865, -0.27540451288223267, -0.8934565782546997, -0.5921738743782043, -0.4450453817844391, 0.1176031231880188, 0.08255771547555923, -0.616108775138855, 0.4138495922088623, -0.14639344811439514, -0.1824105978012085, 0.42615047097206116, 0.6687300801277161, -0.278065949678421, 0.7578050494194031, 0.48960113525390625, -0.3917761445045471, 0.26009035110473633, 0.18549802899360657, 0.09136650711297989, -0.5066994428634644, -0.2045467048883438, -0.24307496845722198, -0.5014710426330566, -0.26425448060035706, -0.4321483075618744, 0.49016812443733215, -0.1296648234128952, -0.04969634488224983, 0.07518605887889862, -0.46922120451927185, 0.5663544535636902, 0.8458348512649536, 0.3890080153942108, 0.4326172471046448, 0.277852326631546, 0.19533303380012512, 0.002118476899340749, -0.2802109718322754, -0.7042717933654785, 0.9795664548873901, 0.3991249203681946, 0.7806954979896545, -0.05819728225469589, 0.8108153343200684, 1.0108048915863037, 0.5143151879310608, -0.46405333280563354, 0.5965026617050171, 0.24299223721027374, -0.721055805683136, -0.23687362670898438, -0.21006405353546143, -0.6046707034111023, -0.06065988540649414, -0.3124627470970154, -0.6561539769172668, 0.05278470367193222, 0.0942944660782814, -0.2311224639415741, 0.44944998621940613, -0.5066603422164917, 0.2084096223115921, -0.4488723874092102, -0.2597156763076782, -0.27615419030189514, -0.8946255445480347, 0.07948678731918335, -0.07987578958272934, 0.31076309084892273, -0.1423085629940033, -0.3669080436229706, 0.6494099497795105, -0.13620497286319733, 1.360080361366272, -0.0655088946223259, -0.17752516269683838, 0.3005240857601166, 0.25187447667121887, 0.5932115316390991, 0.36399850249290466, -0.06297222524881363, 0.40767237544059753, -0.5496174693107605, -0.07614799588918686, -0.13504216074943542, 0.27640029788017273, -0.8464867472648621, -0.8085088133811951, -0.465171754360199, -0.3401070833206177, -0.028416195884346962, 0.22289948165416718, 0.6617783308029175, -0.09404102712869644, -0.053728263825178146, -0.05892358347773552, 0.4884894788265228, 0.014997975900769234, 0.2926570773124695, 0.47597163915634155, 0.0962713360786438, -0.33207955956459045, 0.754876971244812, -0.13048842549324036, -0.16148069500923157, 0.5382504463195801, 0.14923512935638428, -0.13483507931232452, -0.45990291237831116, -0.49196314811706543, 0.2016746699810028, -0.432983934879303, -0.48467904329299927, -0.22835518419742584, -0.09860766679048538, -0.5154430866241455, -0.5915430188179016, 0.01736271008849144, -0.17434635758399963, -0.7522308230400085, -0.3997047543525696, 0.22425997257232666, 0.5067818760871887, -0.10716067999601364, 0.23138250410556793, -0.37805551290512085, 0.5886443257331848, 0.11724422127008438, -0.16530001163482666, -0.23201365768909454, -0.49139896035194397, -0.03977544233202934, 0.2098677009344101, -0.4592444896697998, -0.8846149444580078, 0.31704336404800415, 0.19151346385478973, 0.4900915026664734, 0.9289301633834839, 0.1607111245393753, 0.4314333498477936, -0.20522668957710266, 0.9689143896102905, 0.19592107832431793, -0.9901921153068542, 0.5592325925827026, -0.5641552805900574, -0.2553841769695282, 0.38038599491119385, 0.3827458322048187, -0.17056560516357422, -0.908229649066925, -0.5345179438591003, -0.6257942914962769, 0.5196974873542786, 0.2761393189430237, 0.2330564558506012, -0.007488338742405176, 0.514904797077179, 0.2852657735347748, 0.3508521616458893, -1.0074105262756348, -0.22816644608974457, 0.04949453845620155, -0.1325678825378418, 0.10526017099618912, -0.14185111224651337, -0.3540019392967224, -0.29696932435035706, 0.6982038617134094, -0.20132780075073242, 0.2869262099266052, 0.48388344049453735, -0.08629677444696426, -0.3726906180381775, -0.032822661101818085, 0.7909426093101501, 0.6528468132019043, 0.03171186149120331, 0.4174146056175232, -0.005515205208212137, -0.46864405274391174, 0.09268355369567871, -0.14316555857658386, -0.4875108301639557, -0.016482923179864883, 0.7652796506881714, 0.6209606528282166, -0.2816380560398102, -0.42941373586654663, 0.49767276644706726, 0.27559882402420044, -0.30815473198890686, -0.46394190192222595, 0.17442896962165833, 0.13180385529994965, 0.30854305624961853, 0.8271773457527161, 0.4159519672393799, -0.04579544812440872, -0.5172820687294006, 0.1189945861697197, 0.3957826495170593, -0.07724954932928085, -0.5514923334121704, 0.8016490936279297, 0.18664824962615967, -0.4391327500343323, 0.5082337260246277, -0.25707459449768066, -0.43647390604019165, 0.6709446310997009, 0.5313394665718079, 0.9078530669212341, -0.11201182007789612, 0.4882022738456726, -0.05101437121629715, 0.7325907349586487, -0.16473965346813202, 0.0987139418721199, 0.002957153832539916, -1.0867372751235962, 0.047323841601610184, -0.5696433782577515, -0.05696245655417442, 0.07210076600313187, -0.543657124042511, 0.44369378685951233, -0.30179086327552795, -0.3166617751121521, 0.1296500265598297, -0.14713628590106964, -0.5724336504936218, 0.1692381203174591, 0.4722614288330078, 0.8340464234352112, -1.0898915529251099, 0.4714585244655609, 0.8622930645942688, -0.13098019361495972, -0.4074772000312805, 0.5891381502151489, 0.6099206209182739, -1.0426185131072998, 0.5259504914283752, 0.1941598653793335, -0.1204942986369133, 0.005088150035589933, -0.9138650298118591, -0.5421381592750549, 1.1382873058319092, 0.6820979118347168, -0.30458319187164307, -0.19842243194580078, 0.38744276762008667, 0.5004115700721741, -0.5277876257896423, -0.17059966921806335, 0.13560308516025543, 0.7657025456428528, -0.08063581585884094, -0.5025257468223572, 0.20452286303043365, -0.1334158182144165, -0.3071349859237671, 0.02479609102010727, -0.7639961242675781, 0.5797304511070251, -0.32276371121406555, -0.10464064031839371, -0.017185287550091743, 0.5612158179283142, 0.23667556047439575, 0.9402670860290527, 0.41924968361854553, 0.7826394438743591, 0.9088910222053528, 0.15979520976543427, 0.949975848197937, -0.13414089381694794, -0.01562720164656639, 0.6681138873100281, -0.35026195645332336, 0.647881031036377, 0.6834571361541748, -0.15575391054153442, 0.6855429410934448, 0.6181551218032837, -0.39188602566719055, 0.33968499302864075, 0.19670000672340393, -0.3380005657672882, -0.542424201965332, -0.05642702057957649, -0.22258152067661285, 0.42868196964263916, 0.40346455574035645, -0.690760612487793, 0.056560762226581573, -0.07074238359928131, 0.2825801968574524, 0.07283395528793335, -0.4016396701335907, 0.8034791350364685, 0.27088817954063416, -0.5580000877380371, 0.004824994597584009, 0.10413265228271484, 0.910977303981781, -0.4062405228614807, 0.13715074956417084, -0.2038615345954895, 0.06446389108896255, -0.3678564429283142, -0.5919914245605469, 0.19636349380016327, 0.039644092321395874, -0.32120421528816223, -0.3383621573448181, 1.0839006900787354, -0.19891813397407532, -0.7761695384979248, 0.0015229383716359735, 0.6556355953216553, 0.17064939439296722, -0.21507097780704498, -0.4481233060359955, -0.022729163989424706, 0.041571132838726044, -0.3828880786895752, 0.26675018668174744, 0.43456995487213135, -0.12459386140108109, 0.5826677083969116, 0.7546404600143433, 0.3528708517551422, 0.03935026377439499, -0.31383323669433594, 0.5058139562606812, -0.42445218563079834, -0.5023444890975952, -1.1285574436187744, 0.3438865542411804, -0.14258168637752533, -0.5235201716423035, 0.9698557257652283, 0.6479464769363403, 0.8633226752281189, -0.22186070680618286, 0.7866989970207214, -0.027491575106978416, 0.42517149448394775, -0.6592673063278198, 1.0442960262298584, -0.7689881324768066, 0.28524163365364075, -0.3626224994659424, -0.7023298144340515, -0.4380386471748352, 0.4355400502681732, -0.09884405136108398, 0.011863112449645996, 0.41614240407943726, 0.854010820388794, 0.12332552671432495, -0.36066538095474243, 0.14785964787006378, 0.21120800077915192, 0.1318398267030716, 0.0786316767334938, 0.9759625196456909, -0.20090541243553162, 0.24540944397449493, 0.023914704099297523, -0.09246997535228729, -0.33237355947494507, -1.0601714849472046, -0.9249862432479858, -0.5543288588523865, -0.7445363998413086, -0.36385732889175415, -0.00932061392813921, 0.6386806964874268, 0.7757415771484375, -0.4866792559623718, 0.11402174085378647, -0.18589524924755096, 0.16574133932590485, -0.3213714063167572, -0.28958210349082947, 0.3342699110507965, 0.0164625346660614, -0.3559591472148895, 0.25713884830474854, 0.2246307134628296, -0.009072361513972282, -0.22423522174358368, -0.12531130015850067, -0.01412175688892603, 0.4599837362766266, 0.39005887508392334, 0.10611792653799057, -1.100340485572815, -0.4187796115875244, 0.09113524854183197, -0.15718550980091095, 0.01718832179903984, 0.781609833240509, -0.8616728186607361, 0.15667137503623962, 0.35621246695518494, 0.6198558211326599, 0.22315895557403564, 0.26374074816703796, 0.3527534008026123, -0.9818094968795776, -0.07029370218515396, 0.2078380137681961, 0.11266450583934784, 0.3472393751144409, -0.8809586763381958, 0.47847938537597656, 0.7266268730163574, -0.3171154260635376, -0.9707999229431152, 0.0644029974937439, -0.8641234636306763, -0.13524137437343597, 1.2259193658828735, 0.1305367350578308, -0.11801871657371521, -0.021202370524406433, -0.021739885210990906, 0.05480390414595604, -0.45883405208587646, 1.246949315071106, 0.663083553314209, -0.27224916219711304, -0.07698680460453033, -0.07395610958337784, 0.6696316003799438, 0.1534416824579239, -0.9385145306587219, -0.2477542608976364, 0.4053451418876648, 0.3707149624824524, 0.3192427158355713, 0.6360018849372864, -0.04133017361164093, 0.22933904826641083, 0.041474584490060806, 0.017277613282203674, -0.13271324336528778, -0.3796740472316742, 0.15036651492118835, -0.06019968539476395, -0.15514805912971497, 0.04653371870517731 ]
http://arxiv.org/abs/2406.14005v2
http://arxiv.org/pdf/2406.14005v2
Information Guided Regularization for Fine-tuning Language Models
2024-06-20T05:18:37
2024-06-21T12:41:17
Mandar Sharma, Nikhil Muralidhar, Shengzhe Xu, Raquib Bin Yousuf, Naren Ramakrishnan
cs.CL
cs.CL, cs.AI, cs.LG
The pretraining-fine-tuning paradigm has been the de facto strategy for transfer learning in modern language modeling. With the understanding that task adaptation in LMs is often a function of parameters shared across tasks, we argue that a more surgical approach to regularization needs to exist for smoother transfer learning. Towards this end, we investigate how the pretraining loss landscape is affected by these task-sensitive parameters through an information-theoretic lens. We then leverage the findings from our investigations to devise a novel approach to dropout for improved model regularization and better downstream generalization. This approach, named guided dropout, is both task & architecture agnostic and adds no computational overhead to the fine-tuning process. Through empirical evaluations, we showcase that our approach to regularization yields consistently better performance, even in scenarios of data paucity, compared to standardized baselines.
[ -0.34660807251930237, -0.7645449042320251, 0.30145344138145447, -0.24041007459163666, -0.15836432576179504, -0.41013360023498535, -0.6022331118583679, -0.17903541028499603, -0.20685836672782898, 0.4989525377750397, -0.9403546452522278, -0.574479877948761, -0.7695804834365845, -0.21500903367996216, -0.37377437949180603, 1.2971735000610352, -0.19272729754447937, 0.050736457109451294, 0.06618373841047287, 0.278592586517334, -0.8726384043693542, -0.13019698858261108, -0.823781430721283, -0.10915591567754745, 0.6454765200614929, 0.3246467113494873, 0.5075260400772095, 1.0410488843917847, 0.7483160495758057, 0.07411815226078033, 0.13118553161621094, 0.2343863695859909, -0.7475243806838989, -0.2130582332611084, -0.21610383689403534, -0.6957752704620361, -0.17487245798110962, 0.06807555258274078, 0.6967570781707764, 1.3179116249084473, -0.21537162363529205, 0.11987927556037903, 0.5484886169433594, 0.7945383787155151, -0.8478790521621704, 0.11276344209909439, -0.6103847026824951, 0.19242346286773682, -0.2631623446941376, -0.34546804428100586, -0.4345294237136841, -0.4052800238132477, 0.13714799284934998, -1.086195707321167, 0.47187358140945435, -0.1517723798751831, 1.0039995908737183, 0.715568482875824, -0.059151750057935715, -0.01721177250146866, -1.1085429191589355, 0.7605241537094116, -0.5371363162994385, 0.6459566950798035, 0.5387548804283142, 0.15837129950523376, -0.19251251220703125, -0.459282785654068, 0.11164764314889908, -0.18585892021656036, 0.03817526251077652, -0.11762680113315582, 0.02314852736890316, 0.4530084729194641, 0.23935218155384064, 0.17950646579265594, -0.40759238600730896, 0.08886595815420151, -0.5305548310279846, -0.1321486085653305, 0.33672159910202026, -0.025626402348279953, 0.10986931622028351, 0.5114145874977112, -0.11412785202264786, -0.015891743823885918, -0.9103609323501587, 0.09346550703048706, 0.2357899397611618, 0.4596484899520874, 0.11337808519601822, -0.15271124243736267, -0.3521927297115326, 1.1091314554214478, 0.4754653871059418, 0.008298872970044613, -0.29232582449913025, -0.4017808139324188, -0.26231634616851807, -0.09668871760368347, 0.31100738048553467, 0.4108509123325348, 0.4469660520553589, -0.17042405903339386, -0.0073408093303442, -0.21023845672607422, 0.40312710404396057, -0.868979811668396, -0.5638197064399719, -0.25584304332733154, -0.6908165216445923, -0.13022679090499878, -0.06562263518571854, -0.2895258069038391, -0.2858234941959381, -0.5641250014305115, 0.4617327153682709, -0.33177411556243896, -0.15287189185619354, 0.4685767590999603, 0.19613473117351532, 0.0886024758219719, 0.5516060590744019, -0.9599446654319763, 0.4422853887081146, 0.6448832154273987, 0.7200043201446533, -0.35551050305366516, -0.13455265760421753, -0.8670681715011597, 0.35021159052848816, -0.490291565656662, 0.44432875514030457, -0.6101111769676208, -0.16599293053150177, 0.0009344295249320567, 0.11000983417034149, -0.39396968483924866, -0.6494657397270203, 0.4537109136581421, -0.37817150354385376, 0.16360853612422943, -0.1798923760652542, -0.5346150994300842, -0.4376145601272583, 0.020730940625071526, -0.38040679693222046, 0.9309141039848328, 0.0326664112508297, -0.4548187255859375, 0.6617083549499512, -0.5357934832572937, -0.37413308024406433, -0.1034032329916954, -0.1110667884349823, -0.13133317232131958, 0.35751721262931824, -0.010828075930476189, 0.5704348683357239, -0.2768021523952484, 0.40540972352027893, -0.26322975754737854, -0.58586585521698, -0.35574954748153687, -0.18940463662147522, 0.4346996545791626, 0.3302620053291321, -0.1549646407365799, 0.009031194262206554, -0.8352987170219421, 0.05966687947511673, -0.26403796672821045, -0.5396403074264526, -0.6807295680046082, 0.053167782723903656, 0.08803322911262512, -0.04192594066262245, 0.05375397205352783, -0.33065658807754517, 0.43683353066444397, -0.36937981843948364, 0.28534963726997375, 0.755275309085846, -0.13655199110507965, 0.5983592867851257, -0.2334030270576477, 0.33743566274642944, 0.04354140907526016, 0.49229469895362854, 0.153774693608284, -0.08749096095561981, -0.9521240592002869, -0.30858951807022095, 0.6296144723892212, 0.538123369216919, -0.42213404178619385, 0.3845963776111603, -0.17286938428878784, -0.3122073709964752, -0.6875143051147461, 0.22170381247997284, 0.5011624097824097, 0.7232149243354797, 0.22484689950942993, -0.5138880014419556, -0.5304120182991028, -0.9806732535362244, -0.4602707028388977, 0.24764187633991241, -0.017637401819229126, 0.2006162852048874, -0.06434504687786102, -0.2895433008670807, 0.7270722985267639, -0.611060380935669, -0.5933696627616882, -0.021074721589684486, 0.017364950850605965, 0.2809794247150421, 0.8808299899101257, 0.43279018998146057, -0.5075205564498901, -0.45889681577682495, 0.17723193764686584, -0.4731087386608124, -0.09436748921871185, -0.17407573759555817, -0.2827739715576172, -0.12944968044757843, 0.6345364451408386, -0.4253646433353424, 0.5379605889320374, 0.4628572165966034, -0.043848033994436264, 0.15647141635417938, -0.3758030831813812, 0.08101607114076614, -1.1011072397232056, 0.2565833330154419, -0.018968231976032257, -0.35892370343208313, -0.9900604486465454, -0.30575335025787354, 0.1546952873468399, -0.009558380581438541, -0.19679248332977295, 0.32162728905677795, -0.574277937412262, 0.19205380976200104, -0.21613630652427673, -0.12724393606185913, -0.04288037121295929, 0.4403487741947174, 0.015020978637039661, 0.6143941283226013, 0.8366569876670837, -0.9990124702453613, -0.05338073521852493, 0.1119685247540474, -0.1484520137310028, 0.3417661190032959, -0.4216669797897339, 0.18334898352622986, -0.3097802698612213, 0.02247515507042408, -0.7457632422447205, -0.22614465653896332, 0.27475300431251526, -0.17678363621234894, 0.6104923486709595, -0.4546375870704651, -0.07114996761083603, 0.2007574886083603, -0.19888697564601898, 0.45360979437828064, 0.4790838360786438, -0.28282299637794495, 0.41768762469291687, 0.1643315851688385, -0.27921539545059204, -0.50267493724823, -0.6244194507598877, -0.29585927724838257, -0.1598348468542099, -0.4282926023006439, 0.4820321798324585, -0.3746335506439209, 0.07074948400259018, -0.013250010088086128, -0.25351014733314514, -0.43716922402381897, 0.39145520329475403, 0.1543814092874527, 0.03031165525317192, -0.2512517273426056, 0.24372245371341705, 0.2699260711669922, -0.028270220384001732, -0.2636246681213379, -0.3727349042892456, 0.3942664563655853, 0.2214667797088623, -0.26020753383636475, -0.9331119656562805, 0.24528810381889343, -0.03504281863570213, -0.16820216178894043, 0.6425036787986755, 0.719950258731842, -0.43404513597488403, -0.26373034715652466, -0.6177420616149902, -0.5691178441047668, -0.4499557912349701, 0.630776047706604, -0.3708933889865875, -0.8943910598754883, 0.3716484606266022, -0.42731767892837524, 0.05399255082011223, 0.2320965677499771, 0.17823216319084167, -0.05644516274333, 0.99461829662323, 1.4044231176376343, -0.13521096110343933, 0.9453651309013367, -0.19930139183998108, 0.2726825177669525, -0.5343586802482605, -0.023403221741318703, -0.4215587079524994, -0.24953517317771912, -0.35583001375198364, -0.23004862666130066, 0.09180181473493576, 0.674042284488678, 0.055886104702949524, 0.1283746063709259, -0.3988974988460541, 0.4891442358493805, 0.5847887992858887, 0.1165030226111412, 0.21202075481414795, -0.018941126763820648, 0.2605064809322357, -0.1991765946149826, -0.8423866033554077, -0.20089015364646912, 0.994137167930603, 0.21842637658119202, 0.8481276035308838, -0.2615041136741638, 0.6768982410430908, 0.39387714862823486, 0.18958184123039246, -0.7050463557243347, 0.240760937333107, -0.2977270185947418, -0.2315870225429535, -0.2983829379081726, -0.38384953141212463, -1.052733063697815, -0.12389335036277771, -0.18668635189533234, -0.5337406992912292, 0.36168402433395386, 0.5403904318809509, -0.6505411863327026, 0.03223706781864166, -0.7421300411224365, 0.8702660202980042, 0.16889502108097076, -0.19942404329776764, -0.2832289934158325, -0.6668924689292908, -0.00004416360752657056, -0.23319049179553986, 0.35942038893699646, -0.11666107922792435, -0.17137251794338226, 0.7742239236831665, -0.3017973005771637, 0.9061657190322876, -0.42813730239868164, -0.05916299298405647, -0.14182405173778534, 0.32140210270881653, 0.7097949385643005, -0.23896482586860657, 0.002884221961721778, 0.0640445202589035, -0.02046665921807289, -0.38634055852890015, -0.8945714235305786, 0.7130274176597595, -0.5834254622459412, -0.5489346385002136, 0.2124568074941635, -0.8720295429229736, -0.4521360993385315, 0.36826515197753906, 0.22953104972839355, 0.4574424922466278, 0.07380494475364685, 0.19486922025680542, 0.9271243214607239, 0.10504009574651718, 0.2652958035469055, 0.49717244505882263, 0.20081986486911774, -0.04785963147878647, 0.7981972694396973, 0.22487559914588928, 0.2743885815143585, 0.3198913633823395, 0.11000700294971466, 0.02111157402396202, -1.096178412437439, -0.3388878405094147, 0.22850771248340607, -0.6402419209480286, -0.021249951794743538, -0.20490233600139618, -0.1415899693965912, -0.4164670407772064, -0.126192107796669, -0.5385988354682922, -0.2040034830570221, -0.5919926762580872, -0.05118919163942337, 0.17625389993190765, 0.8904920816421509, 0.00488171586766839, 0.40242546796798706, -0.910101592540741, -0.009885153733193874, 0.01036805845797062, 0.547212541103363, -0.37112757563591003, -0.8345059156417847, -0.6285042762756348, 0.007506539113819599, -0.09063508361577988, -0.7071365714073181, 0.14444662630558014, 0.7423797249794006, 0.683205783367157, 0.6001712679862976, 0.10208567976951599, 1.006609320640564, -0.5854607224464417, 0.5033808350563049, 0.24909868836402893, -0.9435842037200928, 0.7222492694854736, -0.4192602038383484, 0.1220327839255333, 0.7156715393066406, 0.3628738224506378, -0.5734587907791138, -0.17674224078655243, -0.1863459199666977, -0.6327365636825562, 0.8639852404594421, -0.19163423776626587, 0.05174656957387924, 0.36391568183898926, 0.7931631803512573, 0.3785533308982849, 0.30028343200683594, -0.4912443459033966, -0.2191903442144394, 0.26408424973487854, -0.4227951467037201, -0.14495258033275604, -0.052298929542303085, -0.13232147693634033, -0.2660157084465027, 0.5223238468170166, -0.16729426383972168, -0.19835452735424042, 0.13033068180084229, -0.3488245904445648, -0.19720838963985443, 0.04435780271887779, 0.67194002866745, 0.7164987325668335, -0.04551096633076668, -0.006525897420942783, 0.09888554364442825, -0.47704434394836426, -0.1777317374944687, 0.12204428017139435, -0.41434594988822937, -0.04265129193663597, 0.2542862892150879, 1.0870952606201172, 0.17061220109462738, -0.396395742893219, 0.4751594364643097, 0.056859519332647324, -0.3744814395904541, 0.24953389167785645, 0.2141122817993164, -0.34396010637283325, 0.17052824795246124, 0.3087787330150604, 0.5093469619750977, 0.5281181931495667, -0.2643554210662842, 0.14032164216041565, 0.3865825831890106, -0.7664731740951538, -0.4347965121269226, 0.4643707573413849, 0.24229644238948822, -0.22493666410446167, 0.16047708690166473, 0.22894087433815002, 0.013707307167351246, 0.3052486479282379, 0.27215176820755005, 0.8673474192619324, -0.44210755825042725, 0.009972779080271721, 0.21285295486450195, 0.3197466731071472, -0.3417540490627289, 0.1176348403096199, -0.2137656956911087, -0.3090706169605255, -0.6822925209999084, -0.47875240445137024, 0.009993971325457096, 0.23275217413902283, -0.9056413173675537, 0.2705191671848297, -0.6222338080406189, -0.13902363181114197, -0.21585983037948608, -0.2396547943353653, -0.6956561803817749, 0.3538755178451538, 0.1478843241930008, 0.7169801592826843, -0.7910239100456238, 0.8236370086669922, 0.6853360533714294, -0.15209314227104187, -0.8664315938949585, 0.17320877313613892, -0.3596595525741577, -0.5646474957466125, 0.793304443359375, 0.10008343309164047, -0.2158898562192917, 0.23538413643836975, -0.5009520053863525, -1.2147303819656372, 0.7576542496681213, 0.936340868473053, -0.8044140934944153, -0.27600210905075073, -0.06012594327330589, 0.3117923140525818, -0.31011179089546204, -0.08299513906240463, 0.567899763584137, 0.37546220421791077, -0.2287232130765915, -1.2486478090286255, 0.03669549897313118, 0.04676080495119095, 0.3055388629436493, 0.43334126472473145, -0.5165435671806335, 0.803546130657196, -0.19219906628131866, -0.34080713987350464, -0.15546219050884247, 0.31466996669769287, -0.43230727314949036, 0.12481137365102768, 0.3776405155658722, 0.47165319323539734, 0.776707649230957, -0.07929908484220505, 0.9771507978439331, -0.5093855261802673, 0.37688133120536804, 1.0277150869369507, 0.16835293173789978, 0.734912097454071, 0.6652166247367859, 0.037109628319740295, 0.07280686497688293, 0.9768679738044739, 0.3210272490978241, 0.8469880819320679, 0.410137802362442, 0.09098012745380402, -0.4178864657878876, -0.33687829971313477, -0.3548966646194458, 0.23203572630882263, 0.09934426099061966, -0.37076765298843384, -0.21060408651828766, 0.18537786602973938, -0.03395923972129822, 0.06144028156995773, -0.6955378651618958, 0.8879749178886414, -0.06638326495885849, -0.7303518056869507, 1.0450242757797241, -0.16534461081027985, 0.6141199469566345, -0.5717086791992188, -0.18720977008342743, -0.25174015760421753, 0.33035317063331604, -0.34975194931030273, -0.16961345076560974, 0.30887550115585327, -0.3526005744934082, -0.4346851110458374, -0.4078752100467682, 0.7078295946121216, -0.6994483470916748, -0.17752490937709808, 0.2896225154399872, 0.5062693953514099, 0.26690927147865295, -0.16425161063671112, -0.573556125164032, 0.1302613914012909, 0.1466609537601471, -0.223915234208107, 0.5011377930641174, 0.14432494342327118, -0.1321486532688141, 0.6767315864562988, 0.6472792029380798, 0.34912121295928955, 0.36032652854919434, 0.26818880438804626, 0.9628680944442749, -0.47488710284233093, -0.45291393995285034, -0.7656337022781372, 0.23945219814777374, 0.17269346117973328, -0.2860638499259949, 0.6541044116020203, 0.4567185640335083, 1.050569772720337, -0.3372962176799774, 0.7835596799850464, 0.3356861174106598, 0.6249391436576843, -0.7490217685699463, 0.6554518938064575, -0.7770465016365051, 0.1257079690694809, -0.13772881031036377, -0.942601203918457, -0.4677519202232361, 0.41892170906066895, -0.3478640019893646, 0.16411654651165009, 0.5546441078186035, 0.8916292190551758, -0.24553024768829346, -0.43629559874534607, 0.5137013792991638, -0.013205424882471561, -0.005778515711426735, 0.6139640808105469, 0.5640671849250793, -0.4914849102497101, 0.6364311575889587, -0.11179405450820923, -0.3144020736217499, -0.4022662937641144, -0.6995760798454285, -0.8474169969558716, -0.6004634499549866, -0.562169075012207, 0.08608418703079224, 0.5947335958480835, 0.6353062987327576, 1.3175034523010254, -0.7209810018539429, -0.27045583724975586, -0.3153752386569977, -0.1851128339767456, -0.19857293367385864, -0.13427938520908356, 0.30842629075050354, -0.620708703994751, -0.7051152586936951, 0.3852784335613251, 0.2659260034561157, -0.0005412900354713202, 0.04360346868634224, -0.11080166697502136, -0.00018318348156753927, -0.05800998583436012, 0.20903143286705017, 0.16259829699993134, -0.6678555607795715, -0.315283864736557, -0.16399860382080078, 0.10800603032112122, 0.08302535861730576, 1.0057768821716309, -0.4596717655658722, 0.4180257022380829, 0.24904902279376984, 1.0130037069320679, 0.4651625156402588, 0.08740422874689102, 0.7573051452636719, -0.8924130797386169, 0.2791866362094879, 0.13601237535476685, -0.04426717385649681, 0.23457135260105133, -0.5722346305847168, 0.4349517524242401, 0.338950514793396, -0.37943387031555176, -0.8837003111839294, 0.35446813702583313, -0.7704810500144958, -0.11866951733827591, 1.0056182146072388, -0.21136151254177094, -0.321846604347229, -0.21038420498371124, -0.26949959993362427, 0.4614925980567932, -0.36007773876190186, 0.6199861764907837, 0.6246457099914551, -0.12085016816854477, -0.32803094387054443, -0.5685800909996033, 1.0934927463531494, 0.6349393725395203, -0.8933494687080383, 0.2171187847852707, 0.5551655292510986, 0.5980113744735718, -0.0327395498752594, 0.5623692274093628, 0.3676590323448181, 0.3405129909515381, -0.3863242566585541, 0.30788445472717285, -0.13265733420848846, -0.507459819316864, -0.614772379398346, -0.10102037340402603, 0.348151832818985, -0.47172462940216064 ]
http://arxiv.org/abs/2406.13997v1
http://arxiv.org/pdf/2406.13997v1
"Global is Good, Local is Bad?": Understanding Brand Bias in LLMs
2024-06-20T04:52:19
2024-06-20T04:52:19
Mahammed Kamruzzaman, Hieu Minh Nguyen, Gene Louis Kim
cs.CL
cs.CL, cs.CE
Many recent studies have investigated social biases in LLMs but brand bias has received little attention. This research examines the biases exhibited by LLMs towards different brands, a significant concern given the widespread use of LLMs in affected use cases such as product recommendation and market analysis. Biased models may perpetuate societal inequalities, unfairly favoring established global brands while marginalizing local ones. Using a curated dataset across four brand categories, we probe the behavior of LLMs in this space. We find a consistent pattern of bias in this space -- both in terms of disproportionately associating global brands with positive attributes and disproportionately recommending luxury gifts for individuals in high-income countries. We also find LLMs are subject to country-of-origin effects which may boost local brand preference in LLM outputs in specific contexts.
[ -0.2830943763256073, -0.6345656514167786, 0.281543105840683, -0.05089826136827469, -0.22734509408473969, 0.37607115507125854, 0.004839399363845587, -0.8195022344589233, 0.6734742522239685, 0.5380353331565857, -0.5735201835632324, -0.3879852294921875, -0.6874105930328369, -0.05123019963502884, 0.2254939079284668, 1.1707843542099, -0.2560572922229767, 0.5884740352630615, -0.48933935165405273, -0.5226966142654419, -0.33383867144584656, -0.7884860038757324, -0.49626418948173523, -0.5784965753555298, 0.5257393717765808, 0.45035412907600403, 0.8147327303886414, -0.12944446504116058, 0.5512459874153137, 0.20336507260799408, -0.1490863859653473, 0.198469340801239, -0.903716504573822, 0.3040853440761566, -0.1554166078567505, -0.5894420742988586, -0.5407291650772095, 0.09283269196748734, 0.11752401292324066, 0.4168635904788971, 0.2528423070907593, 0.7396632432937622, 0.18994136154651642, 0.529218316078186, -0.6360708475112915, -0.15207594633102417, -0.594613254070282, -0.12535887956619263, -0.3701344132423401, 0.033574484288692474, -0.0048579559661448, -0.678598940372467, 0.14662161469459534, -0.5240839719772339, 0.40411797165870667, 0.14548702538013458, 0.9616222977638245, 0.05258236825466156, -0.7399578094482422, -0.6212605834007263, -0.8084138631820679, 1.0539484024047852, -0.3594244718551636, 0.14944759011268616, 0.4378992021083832, 0.1722334325313568, -0.20625822246074677, -0.17108456790447235, -0.005553200840950012, 0.1389356106519699, -0.07472371309995651, 0.1534416228532791, -0.15580327808856964, -0.3918343782424927, -0.13582101464271545, 0.4518726170063019, -0.18077167868614197, 0.07369396090507507, -0.46904289722442627, -0.09976252913475037, 0.6540214419364929, -0.1370336264371872, 0.6243565082550049, -0.09922987967729568, -0.6872290968894958, 0.688541054725647, -1.4523850679397583, 0.2556893825531006, 0.49247241020202637, 0.2598261833190918, -0.13511674106121063, 0.31284773349761963, -0.21831603348255157, 0.4000265598297119, -0.03882601857185364, 0.06042605638504028, 0.16823522746562958, -0.39889103174209595, -0.19915124773979187, 0.3973313570022583, 0.23346513509750366, 1.014460802078247, 0.7313401103019714, -0.028960024937987328, -0.17576570808887482, -0.0192050039768219, 0.062389977276325226, -0.6460545659065247, 0.47418448328971863, -0.1286379098892212, -0.6121336221694946, -0.3195507824420929, 0.1533740907907486, -0.3172316551208496, -0.6429936289787292, -0.30180656909942627, 0.337428480386734, 0.861395001411438, -0.12360688298940659, 0.19956770539283752, -0.17608505487442017, 0.155986487865448, -0.26019179821014404, -0.7067521810531616, 0.21357212960720062, 0.40412354469299316, 0.6976553201675415, -0.4002600312232971, 0.30928272008895874, -0.25592103600502014, 0.2408541738986969, -0.2772854268550873, 0.9409345388412476, -0.4188779294490814, -0.7198359370231628, 0.08666954934597015, 0.31200939416885376, 0.5265443921089172, -1.2674272060394287, 0.672365128993988, -0.6774170398712158, -0.1812557876110077, -1.19950532913208, -0.0670643150806427, 0.24613621830940247, 0.08169806748628616, -0.36952507495880127, 0.7946743965148926, -0.027018234133720398, -0.6413285732269287, 1.0750221014022827, -0.19540344178676605, -0.4604915380477905, -0.09978988766670227, -0.05731632187962532, -0.28530067205429077, 0.41650789976119995, 0.41139915585517883, 0.5846593379974365, -0.3287295699119568, 0.2622336149215698, -0.9070450663566589, -0.7018216848373413, 0.2794194519519806, -0.27059319615364075, 0.6444934606552124, 0.3572565019130707, -0.2632885277271271, -0.14948414266109467, -0.3124472200870514, -0.7267147302627563, 0.29782992601394653, -0.18577338755130768, -0.9192941188812256, -0.03445635735988617, -0.20549778640270233, 0.3650965094566345, 0.3501896858215332, -0.5500994324684143, 0.41223564743995667, -0.1321442574262619, 0.4331425726413727, 1.144581913948059, 0.3740670084953308, 0.6786586046218872, -0.540380597114563, 0.4866442084312439, 0.09314476698637009, 0.5102466940879822, 0.4597063660621643, -0.27141517400741577, -0.8085030317306519, 0.14926733076572418, -0.19211335480213165, 0.030077943578362465, -0.5025837421417236, -0.21783354878425598, -0.14167146384716034, -0.14307382702827454, -0.13191185891628265, 0.1948489248752594, 0.08682218194007874, 0.14250589907169342, -0.02445271611213684, -0.34198421239852905, -0.19568198919296265, -1.3248473405838013, -0.7179601788520813, 0.4002869427204132, -0.15056870877742767, 0.579199492931366, 0.3616946041584015, -0.2574065625667572, 0.9545703530311584, -0.5407196879386902, -0.6513558626174927, -0.07583102583885193, -0.3105543851852417, 0.4661805033683777, 0.0005444155540317297, 0.4210338890552521, -0.4195493161678314, -0.37692177295684814, -0.1544482260942459, -0.4802539050579071, -0.38197222352027893, 0.058750052005052567, -0.22907790541648865, 0.12899580597877502, 0.2759473919868469, -0.21495819091796875, 0.21952202916145325, 0.42602530121803284, -0.6000452637672424, 0.47793883085250854, 0.07415139675140381, 0.12741415202617645, -1.0086544752120972, -0.4661145508289337, 0.6842162013053894, 0.1896691918373108, -0.20838913321495056, -0.21292804181575775, -0.3136412501335144, 0.4878348112106323, -0.713350236415863, 0.8665316104888916, -0.49178841710090637, -0.3547215759754181, 0.010262439958751202, -0.06868128478527069, 0.3957778811454773, -0.06754089891910553, -0.09169469773769379, 0.7918390035629272, 0.3840336203575134, -0.7334015965461731, 0.14274638891220093, -0.0939042940735817, -0.7287900447845459, 0.8947831988334656, -0.6000813841819763, -0.08610771596431732, -0.1445118635892868, 0.52023845911026, -0.8180705308914185, -0.08122599124908447, 0.30369439721107483, -0.20506063103675842, 0.07900042831897736, -0.18940424919128418, -0.43241268396377563, -0.4111306667327881, -0.19873809814453125, 0.6153419613838196, 0.3439858555793762, -0.8637139201164246, 0.12611588835716248, 0.5622188448905945, -0.019570961594581604, -0.5422917604446411, -0.7769820690155029, -0.13962750136852264, -0.6475657224655151, -0.7111256718635559, 0.23332075774669647, -0.013265770860016346, -0.9932284951210022, -0.45451316237449646, -0.6494064927101135, 0.239175483584404, -0.07452069222927094, 0.2648230195045471, 0.017738929018378258, -0.03364291042089462, -0.181623637676239, -0.20904310047626495, 0.011846167966723442, 0.254721075296402, -0.2078249603509903, 0.14438968896865845, -0.12107045948505402, -0.25509268045425415, -0.01772875338792801, 0.10735722631216049, 0.326597660779953, 0.15780358016490936, 0.16239355504512787, 0.3146846294403076, -0.23015981912612915, -0.48354262113571167, -0.5782638192176819, -0.3165264129638672, -0.594211220741272, -0.003742263186722994, -0.2139630913734436, -0.7609595656394958, 0.642595112323761, 0.133026584982872, -0.22715912759304047, 0.12313362956047058, 0.7189672589302063, -0.2723696231842041, 0.7883284091949463, 0.5098869800567627, -0.5219557881355286, 0.1476595401763916, -0.4114668071269989, 0.4850080609321594, -0.5446126461029053, -0.20613783597946167, -0.36029061675071716, -0.779000461101532, -0.605147659778595, -0.37686774134635925, 0.20605671405792236, 0.14657917618751526, -0.45508521795272827, -0.2411046028137207, -0.6100625991821289, 1.0453484058380127, 0.6050840616226196, -0.03311110660433769, 0.30896684527397156, 0.25763294100761414, -0.22749657928943634, -0.28160038590431213, -0.5750401616096497, -0.6086914539337158, 0.8791678547859192, 0.2578197717666626, 1.2301924228668213, 0.01013574656099081, 0.29388484358787537, 0.4930431842803955, 0.6164636611938477, -0.61968994140625, 0.21036258339881897, -0.2619505226612091, -0.793224036693573, 0.49888888001441956, 0.11866522580385208, -1.1343295574188232, -0.003980820998549461, 0.12343854457139969, -0.849781334400177, 0.556907057762146, 0.2341417819261551, -0.31174182891845703, 0.6093339920043945, -0.5609665513038635, 0.46212154626846313, -0.4816817045211792, -0.9689390659332275, 0.20412425696849823, -0.28886285424232483, 0.5831239819526672, 0.19912409782409668, 0.5942413806915283, -0.6519836187362671, 0.3082745373249054, 0.5855545401573181, 0.13356032967567444, 0.9014332890510559, -0.14497706294059753, -0.5133930444717407, 0.24600885808467865, 0.1172768771648407, 0.44388729333877563, 0.28661349415779114, -0.1191374659538269, 0.5815505385398865, -0.3434132933616638, -0.6640766263008118, -0.2876119017601013, 1.121500015258789, -0.8297572135925293, -0.44526734948158264, -0.5024847388267517, -0.23039408028125763, -0.4019095003604889, -0.06919948756694794, 0.4861443340778351, 0.3970799744129181, -0.45958101749420166, -0.17808638513088226, 0.6141647696495056, -0.5148473381996155, 0.1891055405139923, 0.3133012652397156, -0.16919690370559692, -0.24599629640579224, 1.0044916868209839, 0.3680620789527893, 0.5318318605422974, 0.12406206876039505, 0.3254629671573639, -0.4272662103176117, -0.09305649250745773, -0.2227274775505066, 0.11745883524417877, -0.9280598759651184, -0.02329454943537712, 0.16359955072402954, 0.23837989568710327, -0.25711750984191895, -0.604733407497406, -0.13442739844322205, -0.16664227843284607, -0.20433177053928375, -0.3223225772380829, 0.017488913610577583, 1.2975958585739136, 0.15913447737693787, 0.32117313146591187, -0.21778729557991028, 0.29325738549232483, 0.33275437355041504, 0.46790850162506104, -0.2544301152229309, -0.36520910263061523, -0.34236225485801697, -0.14042198657989502, -0.5194720029830933, -0.43633970618247986, 0.14234311878681183, -0.43863970041275024, 0.6223978996276855, 0.9118659496307373, 0.08984582126140594, 0.14789879322052002, -0.11395757645368576, 1.1728719472885132, 0.019023403525352478, -0.4964572489261627, 0.12263380736112595, -0.724176287651062, 0.6349766254425049, 0.32498034834861755, 0.5465934872627258, -0.6718778610229492, -0.6273034811019897, -0.5886683464050293, -0.9409605860710144, 0.28389474749565125, -0.23320816457271576, 0.5031126737594604, -0.20590637624263763, 0.27175644040107727, 0.2832008898258209, 0.4123591482639313, -1.1299397945404053, -0.8717921376228333, 0.06949567049741745, 0.4814120829105377, -0.34717270731925964, -0.6211837530136108, -0.21214331686496735, -0.15039445459842682, 0.6958262324333191, 0.16278229653835297, 0.2819814682006836, 0.08591067790985107, -0.08067011088132858, -0.22103768587112427, 0.2529929280281067, 0.6951930522918701, 0.8237115144729614, -0.5097238421440125, 0.1999896913766861, 0.25188547372817993, -0.10086184740066528, 0.3150562047958374, -0.629341185092926, -0.2812008559703827, -0.019948652014136314, -0.17238207161426544, 0.4637626111507416, 0.13554464280605316, -0.0019884640350937843, 0.2671424150466919, -0.027885209769010544, -0.13947694003582, -0.09845463931560516, -0.17559030652046204, 0.2636059522628784, -0.04455766826868057, 0.42378783226013184, 0.2222064882516861, 0.17210142314434052, -0.5674707889556885, -0.013556658290326595, 0.8353524208068848, -0.5212454199790955, -0.26494100689888, 0.6764587163925171, 0.7469147443771362, -0.19242160022258759, 0.22583197057247162, -0.0912148654460907, -0.3642756938934326, 0.6979033946990967, 0.4984790086746216, 0.75725919008255, 0.0326349139213562, 0.21071091294288635, 0.31869199872016907, 0.43659108877182007, 0.28087118268013, 0.1335751712322235, -0.06335019320249557, -1.2234760522842407, -0.07632669806480408, -0.7063552141189575, -0.4404442608356476, 0.13674990832805634, -0.5514620542526245, 0.3243595361709595, -0.2842140197753906, -0.4953257143497467, -0.44403815269470215, -0.012265749275684357, -0.8825743794441223, 0.17222246527671814, 0.3707942068576813, 0.5608004331588745, -0.9235919713973999, 0.7862963676452637, 0.38295355439186096, -0.18766197562217712, -0.2742103636264801, 0.10971950739622116, 0.31770655512809753, -1.095381259918213, 0.9542377591133118, 0.3271518647670746, -0.3038131296634674, -0.6519478559494019, -0.31103116273880005, -1.0775692462921143, 0.7986660599708557, 0.1681409329175949, -0.40573549270629883, 0.10747895389795303, 0.41596657037734985, 0.042661406099796295, -0.2477826178073883, 0.17451199889183044, 0.8025036454200745, 0.44840437173843384, -0.027006298303604126, -0.552224338054657, -0.13639824092388153, -0.07990309596061707, 0.00042059263796545565, 0.04282573610544205, -1.0475572347640991, 0.28109848499298096, -0.22865940630435944, 0.05607539787888527, -0.322817862033844, 0.016257261857390404, 0.32898634672164917, 0.4289878308773041, 0.09868810325860977, 0.28572794795036316, 0.6190598011016846, -0.20934203267097473, 0.99765545129776, -0.21791113913059235, 0.17323683202266693, 1.0178718566894531, -0.5544549822807312, 0.4115527272224426, 0.6063847541809082, -0.11584413796663284, 0.39848655462265015, 1.121103286743164, -0.14654523134231567, 0.5799557566642761, 0.8925496339797974, -0.42015087604522705, 0.013329153880476952, -0.32768115401268005, -0.49861931800842285, 0.2347058206796646, 0.25757524371147156, -0.2941397428512573, -0.3370916545391083, -0.30183446407318115, 0.18536604940891266, -0.2734929323196411, -0.552651584148407, 0.3968397080898285, 0.421170175075531, -0.4228457808494568, 0.4613935649394989, -0.11955808103084564, 1.2673510313034058, -0.6537243127822876, 0.5527887940406799, -0.6518152952194214, 0.3851633667945862, -0.46089017391204834, -0.3991321921348572, 0.35993918776512146, -0.25432515144348145, -0.2974988520145416, -0.5813884139060974, 1.0185474157333374, 0.04049031063914299, -0.5837713479995728, 0.3689108192920685, 0.5576104521751404, 0.08980557322502136, 0.02812936156988144, -0.7277435064315796, 0.15419766306877136, -0.025464331731200218, -0.5081024169921875, 0.3970959186553955, -0.05228704959154129, -0.12181923538446426, 0.7484216690063477, 0.42605140805244446, 0.1881169080734253, 0.052761681377887726, 0.28638261556625366, 0.11745047569274902, -0.47001081705093384, -0.16981905698776245, -0.8964041471481323, 0.4079427123069763, -0.16594545543193817, -0.5709101557731628, 1.38273286819458, 0.6086992025375366, 1.2314642667770386, 0.0879499763250351, 0.8251329064369202, 0.6584885120391846, -0.015108730643987656, -0.21242135763168335, 0.8795391917228699, -0.683194637298584, 0.5874261856079102, -0.1957469880580902, -1.057221531867981, -0.31768283247947693, 0.5362940430641174, -0.6931273341178894, 0.2409992665052414, 0.2779296338558197, 0.8198140263557434, -0.04217544570565224, 0.023130187764763832, 0.11506488919258118, 0.15235114097595215, 0.18977101147174835, 0.12878423929214478, 1.1736193895339966, 0.1144666001200676, 0.1277078539133072, -0.040352169424295425, 0.17168691754341125, -0.13915736973285675, -0.9630493521690369, -0.5635131001472473, 0.05133586376905441, -0.31568706035614014, -0.48099467158317566, 0.14292679727077484, 0.986413836479187, 0.7561752796173096, -0.7221581339836121, -0.5457748770713806, 0.2773641049861908, 0.6709790229797363, 0.1285991370677948, -0.3019299805164337, -0.03490350395441055, -0.3409869372844696, -0.6822106838226318, 0.10105589777231216, 0.31305748224258423, 0.1396336406469345, -0.3798213005065918, -0.00839305017143488, 0.33841472864151, 0.40459153056144714, 0.7701036334037781, -0.2603623867034912, -0.9300529360771179, -0.014237795025110245, -0.1170169785618782, -0.07247818261384964, 0.44022491574287415, 0.9375560283660889, -0.5937085151672363, 0.3662557005882263, 0.12817946076393127, 0.03846396505832672, 0.34741172194480896, -0.1921873241662979, 0.8075812458992004, -0.7518054842948914, -0.33283182978630066, -0.04668388143181801, 0.5670445561408997, 0.41832074522972107, -0.37784045934677124, 0.21914519369602203, 0.3898877203464508, -0.9694147706031799, -0.6557247042655945, 0.44286778569221497, -0.5772076845169067, -0.4557155966758728, 1.6515778303146362, 0.4315558969974518, 0.018925460055470467, -0.09397298842668533, -0.2885241210460663, -0.17953673005104065, -0.48617053031921387, 0.8025506734848022, 0.830635130405426, -0.0992438793182373, 0.7805159091949463, -0.803038477897644, 0.5801946520805359, 0.1967390775680542, -0.37926560640335083, -0.07429175078868866, 0.47313493490219116, 0.8501967787742615, -0.14082801342010498, 0.774711549282074, 0.056122150272130966, -0.16557441651821136, -0.49963560700416565, 0.008501974865794182, 0.379898339509964, -0.11591882258653641, -0.29968342185020447, 0.0077120354399085045, 0.3014398515224457, -0.08430749922990799 ]
http://arxiv.org/abs/2406.13993v1
http://arxiv.org/pdf/2406.13993v1
Exploring Changes in Nation Perception with Nationality-Assigned Personas in LLMs
2024-06-20T04:44:20
2024-06-20T04:44:20
Mahammed Kamruzzaman, Gene Louis Kim
cs.CL
cs.CL, cs.LG
Persona assignment has become a common strategy for customizing LLM use to particular tasks and contexts. In this study, we explore how perceptions of different nations change when LLMs are assigned specific nationality personas. We assign 193 different nationality personas (e.g., an American person) to four LLMs and examine how the LLM perceptions of countries change. We find that all LLM-persona combinations tend to favor Western European nations, though nation-personas push LLM behaviors to focus more on and view more favorably the nation-persona's own region. Eastern European, Latin American, and African nations are viewed more negatively by different nationality personas. Our study provides insight into how biases and stereotypes are realized within LLMs when adopting different national personas. In line with the "Blueprint for an AI Bill of Rights", our findings underscore the critical need for developing mechanisms to ensure LLMs uphold fairness and not over-generalize at a global scale.
[ -0.571312427520752, 0.01394343376159668, 0.7864723801612854, 0.397283673286438, -0.2281724214553833, 0.4924165606498718, 0.05949079245328903, -0.643744945526123, 0.4996868371963501, 0.7716667056083679, -0.3834337890148163, -0.3472086191177368, -0.6102858185768127, 0.37260329723358154, 0.15619900822639465, 1.0040240287780762, -0.18667636811733246, 0.19049298763275146, -0.46235087513923645, -0.342056006193161, -0.43426400423049927, -0.7678502202033997, -0.30348649621009827, -0.7656646966934204, 0.7962745428085327, 0.4398013651371002, 0.31836649775505066, 0.05100688338279724, 0.6684223413467407, 0.2845078706741333, 0.12771831452846527, -0.16836680471897125, -0.42391741275787354, -0.074391208589077, -0.5621083378791809, -0.99033522605896, -0.5283805727958679, 0.3464667797088623, 0.4375397861003876, 0.4720193147659302, 0.24366380274295807, 0.4847681224346161, 0.042183708399534225, 0.6011610627174377, -0.5793290734291077, 0.38590332865715027, -0.6667194962501526, 0.10216791182756424, -0.21545067429542542, -0.30464357137680054, -0.3063332140445709, -0.3247320055961609, 0.35233330726623535, -0.38228851556777954, 0.14402219653129578, 0.23520290851593018, 0.44788211584091187, 0.0991889014840126, -0.9381726384162903, -0.02974456548690796, -0.8088638186454773, 0.8686906099319458, -0.09722862392663956, 0.22636747360229492, 0.03428887575864792, 0.393546998500824, -0.12557242810726166, -0.2417827844619751, -0.17097681760787964, -0.0064445678144693375, -0.17175836861133575, 0.43071576952934265, 0.025902075693011284, -0.028310492634773254, 0.3243667185306549, 0.22166624665260315, -0.18552371859550476, 0.19765514135360718, -0.2416870892047882, -0.4537903368473053, 0.8488945364952087, 0.26818642020225525, 0.5904579162597656, -0.20308201014995575, -0.5024707317352295, 0.4204488694667816, -0.9394345283508301, 0.2345961183309555, 0.6382394433021545, 0.28382161259651184, -0.3506768047809601, 0.4712468683719635, -0.374476820230484, 0.6017135977745056, 0.37237775325775146, -0.2001916766166687, 0.2053297609090805, 0.26740527153015137, -0.02799653634428978, 0.249314084649086, 0.31461024284362793, 0.8395966291427612, 0.5208607316017151, -0.18368802964687347, -0.18834707140922546, -0.12525585293769836, 0.3609468340873718, -0.6245319247245789, 0.17999893426895142, 0.03382492810487747, -0.7695191502571106, -0.06722584366798401, 0.22688482701778412, -0.6513773798942566, -0.8949770927429199, -0.7681027054786682, 0.23208028078079224, -0.11029693484306335, -0.06580203026533127, -0.13807842135429382, -0.17691630125045776, 0.5938460826873779, 0.4658617377281189, -1.149106740951538, 0.1556982845067978, 0.6929103136062622, 0.5817247629165649, -0.6164641976356506, -0.23913657665252686, -0.11849373579025269, -0.012563871219754219, -0.36211007833480835, 0.8222426772117615, -0.5334944128990173, -0.5087983012199402, -0.01876242086291313, -0.00856707151979208, -0.3531409800052643, -0.7921029329299927, -0.19212225079536438, -0.6094093322753906, 0.19157297909259796, -1.060023546218872, -0.18754637241363525, 0.2924070358276367, 0.5229132771492004, -0.2788985073566437, 0.2588694393634796, 0.14958809316158295, -0.6674486994743347, 0.6218951344490051, -0.7609828114509583, -0.008716944605112076, 0.13791605830192566, -0.4377405345439911, 0.13614356517791748, 0.41830676794052124, -0.06250908970832825, 0.39635565876960754, -0.16298216581344604, -0.16693115234375, -0.2281450480222702, -0.6046442985534668, 0.7280766367912292, 0.0665539801120758, 1.2222353219985962, 0.18882928788661957, -0.14448325335979462, -0.05737307667732239, -0.2760516405105591, -0.4309350550174713, 0.0437939427793026, -0.5715457201004028, -0.41791287064552307, -0.17887373268604279, -0.3041326701641083, 0.3438740074634552, 0.5731406211853027, -0.8850197196006775, 0.29302629828453064, -0.2779548466205597, 0.19740727543830872, 0.985475480556488, 0.4020046591758728, 0.6327770352363586, -0.5986027717590332, 0.711430013179779, 0.1178918331861496, 0.3082335889339447, 0.2661224603652954, -0.4769737720489502, -0.9676479697227478, -0.019915850833058357, 0.04700993001461029, 0.71844482421875, -0.579582929611206, 0.001388995791785419, -0.333109050989151, -0.09335662424564362, -0.47051605582237244, -0.06605257093906403, 0.17247308790683746, 0.3545984625816345, 0.09645959734916687, -0.4404817223548889, -0.4062257409095764, -1.2488113641738892, -0.6525387167930603, -0.6335468888282776, -0.14552122354507446, 0.45381301641464233, 0.6568014621734619, -0.11694158613681793, 1.0355805158615112, -0.3660869300365448, -0.333139032125473, -0.29059094190597534, -0.21683920919895172, -0.2779679298400879, 0.23678964376449585, 0.7019463777542114, -0.817434549331665, -0.7297564744949341, -0.21417348086833954, -0.4877152144908905, -0.12960515916347504, -0.3412231206893921, -0.29826757311820984, 0.3101007640361786, 0.4922173023223877, 0.005577354691922665, 0.30767208337783813, 0.3961889445781708, -0.5215290784835815, 0.6359681487083435, -0.03829273581504822, 0.4510476291179657, -1.112062692642212, -0.13355471193790436, 0.1736890971660614, 0.03915726765990257, -0.43976396322250366, 0.17617063224315643, 0.0447385311126709, 0.35289499163627625, -0.7337471842765808, 0.83003830909729, -0.33420220017433167, -0.44003188610076904, 0.10259056836366653, -0.11156726628541946, 0.04485005885362625, 0.3300670385360718, -0.08228849619626999, 0.8252732157707214, 0.5291224718093872, -0.5315148234367371, 0.38903555274009705, 0.5437290072441101, -0.5719292163848877, 1.486506700515747, -0.12896202504634857, 0.39221838116645813, -0.5989625453948975, 0.43651771545410156, -0.8580287098884583, -0.19807974994182587, 0.37944260239601135, -0.22157028317451477, 0.034913234412670135, -0.25647464394569397, -0.3306179344654083, -0.16754809021949768, -0.024162139743566513, 0.17355358600616455, 0.45884400606155396, -0.6302328705787659, 0.680634617805481, 0.4567033648490906, -0.1356925368309021, -0.4443853795528412, -0.9766575694084167, 0.46770042181015015, -0.8304306864738464, -0.2569260895252228, 0.7781383991241455, -0.1533510833978653, -0.915200412273407, -0.42041346430778503, -0.016784625127911568, 0.12524765729904175, 0.01555372029542923, 0.40147051215171814, 0.04145711287856102, 0.3225381374359131, -0.20813335478305817, -0.20084697008132935, -0.2937586307525635, 0.2389606088399887, -0.09190640598535538, 0.5161688327789307, -0.00002990745815623086, -0.4446989595890045, -0.4327772855758667, 0.24744856357574463, 0.6570643782615662, -0.5602879524230957, 0.5761896967887878, 0.20342685282230377, -0.0836210772395134, -0.06478628516197205, -0.5783514976501465, -0.10638942569494247, -0.4829917252063751, 0.10598382353782654, -0.41283974051475525, -0.6292637586593628, 0.9392839074134827, -0.11299172043800354, 0.39655426144599915, 0.12781691551208496, 0.6981731057167053, -0.3054288327693939, 0.675159752368927, 0.7746997475624084, -0.23654654622077942, 0.41426920890808105, -0.2224840223789215, 0.19393202662467957, -1.141882061958313, -0.8437277674674988, -0.542971670627594, -1.0005342960357666, -0.9690186381340027, -0.20489917695522308, 0.33419299125671387, -0.6606872081756592, -0.32163068652153015, -0.07043885439634323, -0.17375589907169342, 0.586578905582428, 0.4323042333126068, 0.09020625054836273, 0.2955634295940399, 0.07678467035293579, -0.2389216125011444, -0.43770575523376465, -0.14116957783699036, -0.705389142036438, 1.1022553443908691, -0.008209646679461002, 0.7774941325187683, 0.44752615690231323, 1.145516037940979, 0.45260486006736755, 0.5975314974784851, -0.7752479910850525, 0.8610759973526001, -0.2901991903781891, -0.5952563881874084, 0.11685385555028915, -0.08024201542139053, -1.0806819200515747, 0.3242541551589966, 0.05671156942844391, -1.0534735918045044, 0.47358453273773193, 0.15437813103199005, -0.4427978992462158, 0.28907886147499084, -0.15759889781475067, 0.49568068981170654, -0.29965904355049133, -0.05555780604481697, -0.11650994420051575, -0.4919675588607788, 0.3405153453350067, 0.014958846382796764, -0.23553058505058289, -0.45514705777168274, -0.2533333897590637, 0.5551978349685669, 0.09707812964916229, 0.7972049117088318, -0.497085839509964, -0.3277936279773712, 0.12520496547222137, 0.08329063653945923, 0.07636666297912598, 0.1683201789855957, -0.5663504600524902, 0.1294143944978714, -0.33003541827201843, -0.41311800479888916, -0.381675660610199, 0.8985762000083923, -1.0261784791946411, -0.8547835946083069, -0.4368792176246643, -0.7330734729766846, -0.3183422386646271, -0.11769799143075943, 0.5139428973197937, 0.31677931547164917, -0.5411757826805115, -0.04016260802745819, 0.6951097846031189, -0.5091971158981323, 0.24923111498355865, 0.5735327005386353, -0.2777487635612488, 0.09219498932361603, 0.754688024520874, 0.4520280063152313, 0.31842342019081116, 0.41213318705558777, -0.19676412642002106, -0.42277342081069946, -0.20355650782585144, -0.31578028202056885, 0.07030685991048813, -0.6253670454025269, 0.18526944518089294, -0.4954599142074585, 0.0827808678150177, -0.33903712034225464, -0.33319300413131714, -0.06644624471664429, -0.31934159994125366, -0.15893904864788055, 0.06900136172771454, 0.035222165286540985, 0.4325951337814331, 0.18326285481452942, 0.4842100441455841, 0.03808671608567238, 0.585685133934021, 0.6824532747268677, 0.4015474319458008, -0.6058151721954346, -0.7707913517951965, 0.06258607655763626, -0.2441210150718689, -0.2626071274280548, -0.8943302631378174, 0.09658727049827576, -0.03371783345937729, 0.8205394744873047, 0.33274009823799133, 0.2115563303232193, 0.5366454720497131, -0.3835125267505646, 0.8567420840263367, -0.1740868240594864, -0.5918499827384949, 0.2695417106151581, -0.4357323944568634, 0.6104597449302673, 0.5003430843353271, 0.15513846278190613, -0.9356465339660645, -0.7282912731170654, -0.481505423784256, -0.4133283793926239, 0.6954829096794128, -0.2735165059566498, 0.7645362615585327, 0.16793377697467804, 0.6224759221076965, 0.11857870221138, 0.2826841175556183, -0.7424678206443787, -0.7923855185508728, 0.06452630460262299, 0.08814901858568192, -0.1202055960893631, -0.2950519323348999, -0.3291544020175934, 0.09256286919116974, 0.3829951584339142, -0.08005231618881226, 0.6624855995178223, 0.11933598667383194, -0.1863875538110733, -0.11232580989599228, 0.47840383648872375, 0.2819187343120575, 1.0753374099731445, -0.061748407781124115, 0.048489075154066086, 0.031188765540719032, -0.1157580316066742, 0.5154757499694824, -0.19617784023284912, -0.5968661308288574, -0.07161423563957214, 0.05425441637635231, 0.7630297541618347, -0.05053272843360901, -0.05996004119515419, 0.23914864659309387, -0.13081055879592896, -0.4218498766422272, -0.33750537037849426, 0.44641900062561035, 0.11469510197639465, 0.21746614575386047, 0.45783233642578125, 0.053722769021987915, -0.02740110270678997, -0.8564602732658386, -0.09750593453645706, 0.6463599801063538, -0.1930370181798935, -0.3998836278915405, 0.7449171543121338, 0.43938371539115906, -0.5744666457176208, 0.493195503950119, -0.1522151380777359, -0.4547670781612396, 0.8331319093704224, 0.6277889609336853, 0.7614569067955017, -0.346970796585083, 0.7475143074989319, -0.030965276062488556, 0.36417528986930847, 0.2986243963241577, 0.368489146232605, 0.32783710956573486, -1.0909579992294312, 0.056981999427080154, -0.46207180619239807, -0.6317009329795837, 0.22760410606861115, -0.8038883209228516, 0.06303206831216812, -0.7560847401618958, -0.4283698797225952, -0.3249516189098358, 0.42539551854133606, -1.1516165733337402, 0.16691510379314423, 0.4500386416912079, 0.5732249021530151, -0.9566677808761597, 0.4285184144973755, 1.131312608718872, 0.1926185041666031, -0.13554561138153076, 0.4329017102718353, 0.4664193391799927, -0.9004068970680237, 0.4692500829696655, 0.25177815556526184, 0.3200950026512146, 0.021895458921790123, -0.215659499168396, -0.900402307510376, 1.0072022676467896, 0.7590816617012024, -0.3800966441631317, 0.3055599629878998, 0.7215229868888855, 0.4122653603553772, -0.8392454981803894, -0.2159472554922104, 0.8778843879699707, 0.6791881322860718, -0.27168408036231995, -0.8618564009666443, -0.3673318326473236, 0.2058994024991989, 0.012700498104095459, 0.01777142658829689, -1.4124401807785034, 0.7742186188697815, -0.33907458186149597, 0.15267905592918396, -0.19753114879131317, 0.3648078441619873, 0.6586173176765442, 0.42180782556533813, 0.675418496131897, 0.10156556218862534, 0.8310289978981018, -0.07962755113840103, 0.7774630188941956, -0.22289283573627472, -0.2845553159713745, 0.940850019454956, -0.7141960859298706, 0.24309183657169342, 0.6587611436843872, -0.30782076716423035, 0.9356125593185425, 0.741218626499176, -0.01202540472149849, 0.3266870677471161, 0.3184410333633423, -0.5272902250289917, -0.1569577157497406, -0.26991572976112366, -0.160483255982399, 0.8340029716491699, 0.1777559220790863, -0.2547297775745392, -0.2007898986339569, 0.1633750945329666, -0.1233079731464386, 0.16404731571674347, -0.5523248910903931, 0.6668500304222107, 0.2152981162071228, -0.8705368638038635, -0.2245662659406662, 0.27241936326026917, 0.639817476272583, -0.2613549828529358, 0.30829691886901855, -0.739819347858429, -0.06442004442214966, -0.2833944857120514, -0.36163100600242615, 0.08718623965978622, 0.19527871906757355, -0.30647197365760803, -0.7237281799316406, 0.5324808955192566, -0.06670702993869781, -0.7145673036575317, 0.15480461716651917, 0.718737781047821, 0.5445601940155029, -0.013336729258298874, -0.9140062928199768, -0.05888218805193901, 0.22849150002002716, -0.3876715302467346, 0.8411072492599487, 0.1494477093219757, -0.3409256339073181, 0.6811630725860596, 0.12983877956867218, 0.12006454914808273, -0.0331919863820076, 0.10332566499710083, 0.2387901395559311, -0.34152930974960327, -0.5428259968757629, -0.7618120908737183, 0.5567101836204529, 0.00854481291025877, -0.21129943430423737, 0.8794249892234802, 0.5494014024734497, 0.9300099611282349, -0.011374001391232014, 0.9035897850990295, -0.259640634059906, 0.2581503391265869, -0.3159438967704773, 0.7363232970237732, -0.4318442642688751, 0.20975233614444733, -0.03947027400135994, -1.2399930953979492, -0.04349321871995926, 0.4092370867729187, -0.6078296899795532, 0.12889041006565094, 0.09949039667844772, 0.5964975953102112, 0.15511958301067352, -0.5009225010871887, 0.19870012998580933, -0.04226474463939667, 0.43223968148231506, 0.33167803287506104, 0.823827862739563, 0.19974514842033386, 0.1502084583044052, -0.31471800804138184, 0.0741877555847168, -0.18896934390068054, -0.8047229647636414, -0.660044252872467, -0.48782652616500854, -0.6350639462471008, -0.06365973502397537, -0.14749696850776672, 0.9639109969139099, 0.5679545998573303, -0.6077063083648682, -0.43180057406425476, 0.5516696572303772, 0.2815335690975189, 0.16889947652816772, -0.2409054934978485, -0.04705026373267174, -0.15823759138584137, -1.094594120979309, 0.14568258821964264, 0.2723475694656372, 0.23199374973773956, -0.5547472238540649, -0.06129227578639984, 0.208001971244812, 0.2634361684322357, 0.5589352250099182, 0.3080248236656189, -0.9106120467185974, -0.453042596578598, -0.07645222544670105, -0.19821058213710785, 0.29863059520721436, 0.9020934104919434, -0.9732087254524231, 0.4059872031211853, 0.18293863534927368, 0.08245229721069336, -0.02391401119530201, 0.4138886630535126, 0.5693656206130981, -0.7344570755958557, 0.30482718348503113, 0.0969543606042862, 0.30554845929145813, 0.455272912979126, -0.47162535786628723, 0.18546974658966064, 0.022528026252985, -0.6036568284034729, -0.6398524641990662, 0.3767924904823303, -0.5614266991615295, -0.09397467970848083, 1.062516212463379, -0.03380914777517319, 0.21296770870685577, -0.3034333884716034, -0.1467985063791275, -0.14831282198429108, -0.3894583284854889, 1.142849087715149, 0.6692150235176086, -0.6621752381324768, 0.17294880747795105, -0.6962102055549622, 0.4993288516998291, 0.35908815264701843, -0.9089476466178894, -0.1707359254360199, 0.5658769607543945, 0.6448470950126648, 0.024998106062412262, 1.0177817344665527, -0.06600760668516159, 0.004209263250231743, -0.6507272124290466, -0.10464097559452057, 0.2260306030511856, -0.6122370362281799, -0.22803166508674622, -0.03287901356816292, 0.10191527009010315, -0.11169062554836273 ]
http://arxiv.org/abs/2406.13990v2
http://arxiv.org/pdf/2406.13990v2
Inference-Time Decontamination: Reusing Leaked Benchmarks for Large Language Model Evaluation
2024-06-20T04:35:59
2024-06-23T16:46:00
Qin Zhu, Qingyuan Cheng, Runyu Peng, Xiaonan Li, Tengxiao Liu, Ru Peng, Xipeng Qiu, Xuanjing Huang
cs.CL
cs.CL
The training process of large language models (LLMs) often involves varying degrees of test data contamination. Although current LLMs are achieving increasingly better performance on various benchmarks, their performance in practical applications does not always match their benchmark results. Leakage of benchmarks can prevent the accurate assessment of LLMs' true performance. However, constructing new benchmarks is costly, labor-intensive and still carries the risk of leakage. Therefore, in this paper, we ask the question, Can we reuse these leaked benchmarks for LLM evaluation? We propose Inference-Time Decontamination (ITD) to address this issue by detecting and rewriting leaked samples without altering their difficulties. ITD can mitigate performance inflation caused by memorizing leaked benchmarks. Our proof-of-concept experiments demonstrate that ITD reduces inflated accuracy by 22.9% on GSM8K and 19.0% on MMLU. On MMLU, using Inference-time Decontamination can lead to a decrease in the results of Phi3 and Mistral by 6.7% and 3.6% respectively. We hope that ITD can provide more truthful evaluation results for large language models.
[ -0.19941392540931702, -0.6982625126838684, 0.5413251519203186, 0.11526944488286972, -0.3795347511768341, 0.20955078303813934, -0.2854010760784149, -0.5587238073348999, -0.38398420810699463, 0.4835299551486969, -0.25878530740737915, -0.42552030086517334, -0.5933440327644348, -0.255000501871109, -0.5964622497558594, 0.629048764705658, -0.16125543415546417, -0.05429280549287796, -0.13190588355064392, -0.0683860257267952, 0.056720070540905, -0.47168710827827454, -0.6933214068412781, -0.2919277250766754, 0.12290003895759583, 0.4138988256454468, 0.2439761608839035, 0.984807550907135, 0.008664701133966446, 0.35879334807395935, -0.24152997136116028, -0.07322008907794952, -0.5225223302841187, -0.004419869277626276, -0.2713925242424011, -0.6198402643203735, -0.23361144959926605, 0.06255538016557693, 0.7812408208847046, 0.537786602973938, -0.38577404618263245, 0.42388007044792175, 0.10106684267520905, 0.7477678656578064, -1.1248419284820557, 0.34912386536598206, -0.7278715968132019, 0.02086527831852436, -0.32684755325317383, -0.24144107103347778, -0.6807955503463745, -0.4855632781982422, -0.2713656425476074, -0.4052104651927948, 0.3592655062675476, -0.06042800098657608, 0.7552192807197571, 0.47958454489707947, -0.07070046663284302, 0.2326257824897766, -0.8843687176704407, 0.8721432089805603, -1.0261658430099487, 0.3920496702194214, 0.25653716921806335, 0.5194177627563477, -0.09298298507928848, -0.6493360996246338, -0.42723143100738525, -0.18381500244140625, 0.28627192974090576, -0.0629163607954979, -0.10138203948736191, -0.23117314279079437, 0.4876987636089325, 0.46304556727409363, -0.19350509345531464, 0.2606140673160553, -0.27526092529296875, -0.2761096954345703, 0.7234952449798584, 0.11405050754547119, 0.16124802827835083, 0.04697567969560623, -0.46792545914649963, -0.29543018341064453, -1.0073238611221313, -0.2566274404525757, 0.5134966969490051, 0.04126071184873581, 0.19537353515625, 0.33168458938598633, -0.22479912638664246, 0.2320716828107834, -0.24623703956604004, -0.30100977420806885, 0.46025341749191284, -0.07561303675174713, -0.3201824426651001, 0.12214579433202744, 0.640713632106781, 0.17382819950580597, 0.35073748230934143, -0.21955695748329163, -0.13669607043266296, 0.009076097048819065, 0.2351275086402893, -1.0468190908432007, -0.200577974319458, 0.3557169437408447, -0.33108773827552795, -0.28647786378860474, -0.18460726737976074, -0.8560411334037781, -0.2867136597633362, -0.13048012554645538, 0.2608754336833954, -0.4163705110549927, -0.5197290778160095, 0.2733370363712311, -0.22468790411949158, -0.08641007542610168, 0.23285016417503357, -0.7250856161117554, 0.20820322632789612, 0.8935973048210144, 0.4824806749820709, -0.04025229066610336, -0.4665249288082123, -0.5407599806785583, 0.46232980489730835, -0.28952911496162415, 0.8222936987876892, -0.44260600209236145, -0.47024813294410706, 0.11322511732578278, -0.09621858596801758, -0.059585269540548325, -0.9775083065032959, 0.9264166355133057, -0.4179067015647888, 0.02198818139731884, -0.08697248250246048, -0.8457391858100891, 0.09717081487178802, 0.17444542050361633, -0.9004300236701965, 1.1142351627349854, 0.0018360578687861562, -0.8525514602661133, 0.3039725720882416, -0.3730703294277191, -0.2800491154193878, -0.14177557826042175, 0.10821402072906494, -0.6665115356445312, 0.08217751979827881, 0.5663802623748779, 0.252897173166275, -0.3237617015838623, 0.2163200080394745, -0.528740406036377, -0.5965768098831177, 0.13370496034622192, -0.8225908279418945, 0.9235916137695312, 0.31272950768470764, -0.4786885678768158, -0.22896629571914673, -0.7886017560958862, 0.2851516008377075, 0.01750306971371174, -0.5656097531318665, -0.35030031204223633, 0.001045296317897737, -0.14920702576637268, 0.0431455634534359, 0.008539416827261448, -0.5733011364936829, 0.07016106694936752, -0.34462112188339233, 0.3984270989894867, 0.9727634191513062, 0.13491924107074738, 0.25578629970550537, -0.4209904968738556, 0.4170807898044586, 0.009488577023148537, 0.21659453213214874, -0.10363688319921494, -0.10613268613815308, -0.8209828734397888, -0.4577910900115967, 0.36950868368148804, 0.41069290041923523, -0.6391060948371887, 0.11806149780750275, -0.4783076047897339, -0.7724245190620422, -0.5950877070426941, 0.14043211936950684, 0.6403411626815796, 0.5741698741912842, 0.39459913969039917, 0.23115293681621552, -0.22156906127929688, -0.9324488639831543, -0.7552493214607239, -0.4008871912956238, -0.21737372875213623, 0.11534997820854187, 0.4315814971923828, 0.016304831951856613, 0.5142523050308228, -0.37707504630088806, -0.049442097544670105, -0.049296408891677856, 0.15613418817520142, -0.1505008339881897, 0.554039716720581, 0.44688504934310913, -0.41010794043540955, -0.12390048801898956, -0.446468710899353, -0.5140031576156616, -0.3355952799320221, 0.03790935501456261, 0.03855925425887108, 0.22385282814502716, 0.7649329900741577, -0.3359447121620178, 0.2902298867702484, 0.4534848630428314, -0.09249426424503326, 0.9055396318435669, -0.22584769129753113, 0.2144983857870102, -0.8457059264183044, 0.1550253927707672, -0.1520785391330719, -0.22033952176570892, -0.3488829731941223, 0.24381816387176514, 0.4047177731990814, 0.030601002275943756, -0.7003194093704224, 0.7867135405540466, -0.4758847951889038, -0.19492322206497192, -0.11171996593475342, 0.25600823760032654, 0.2541607618331909, 0.15149609744548798, -0.23178207874298096, 0.7088385820388794, 0.1280280500650406, -0.4847154915332794, 0.08828211575746536, -0.00768614374101162, -0.8788176774978638, 0.15559576451778412, -0.5014868378639221, 0.1828247457742691, 0.22036926448345184, 0.34651899337768555, -0.7131410241127014, 0.23194633424282074, 0.08907490968704224, -0.12843826413154602, 0.3992544710636139, -0.38155919313430786, -0.7218039035797119, -0.07324063032865524, -0.41284096240997314, 0.5615705251693726, 0.4209427237510681, -0.9732308983802795, 0.3078843355178833, 0.2472703456878662, -0.16096264123916626, -0.9325904250144958, -0.6689327955245972, -0.033314015716314316, -0.44800877571105957, -0.6440588235855103, 0.5329105257987976, -0.06208762899041176, -0.3926076889038086, 0.002602360909804702, -0.28757140040397644, -0.058791469782590866, 0.37172502279281616, 0.25971272587776184, 0.20626093447208405, -0.09506925195455551, 0.22677333652973175, 0.07429824769496918, -0.36885765194892883, 0.22362102568149567, 0.05680956318974495, 0.5254342555999756, 0.008786462247371674, -0.7044239640235901, -0.4928872585296631, 0.3776404559612274, 0.5266751050949097, -0.3652891516685486, 0.702406644821167, 0.5657628774642944, -0.4348846673965454, -0.38061925768852234, -0.9212397933006287, -0.11606541275978088, -0.5106549859046936, 0.21783287823200226, -0.40449395775794983, -0.6257941126823425, 0.49378734827041626, -0.5230616927146912, 0.17201095819473267, 0.3599678874015808, 0.4673740565776825, -0.009136592037975788, 0.6489711999893188, 0.5318990349769592, -0.30099210143089294, 0.607761800289154, -0.38256770372390747, 0.04692773520946503, -0.8188560605049133, -0.09219195693731308, -0.7430636882781982, -0.21294711530208588, -0.22744899988174438, -0.46785324811935425, -0.012634656392037868, 0.30289265513420105, -0.2846512198448181, 0.04552633687853813, 0.0029838550835847855, 0.7260902523994446, 0.3468452990055084, 0.04474639892578125, 0.45028653740882874, -0.01265893317759037, -0.17672429978847504, -0.025586990639567375, -0.3383482098579407, -0.5912477374076843, 1.1395527124404907, 0.4021615982055664, 0.781146764755249, -0.004007395356893539, 0.8558378219604492, 0.1137763261795044, 0.43661966919898987, -0.3985505700111389, 0.4623347222805023, -0.028839407488703728, -0.5613110065460205, -0.22771254181861877, -0.5430504679679871, -0.6298155188560486, 0.2977012097835541, 0.12019673734903336, -0.9496067762374878, 0.31762704253196716, 0.08686728030443192, 0.0015817474341019988, 0.5496606826782227, -0.8426678776741028, 0.7797483205795288, 0.06888186186552048, -0.39779508113861084, -0.330657035112381, -0.11035361140966415, 0.6119711995124817, -0.17065834999084473, 0.19509078562259674, -0.33826491236686707, -0.038432952016592026, 0.7222224473953247, -0.6046876907348633, 0.5374597907066345, -0.1772194504737854, -0.3229558765888214, 0.05609729886054993, 0.23928312957286835, 0.7400333285331726, 0.12993022799491882, -0.5104591846466064, 0.2955155074596405, 0.08648259937763214, -0.4432631731033325, -0.679357647895813, 0.7399380803108215, -0.4904543459415436, -0.7735590934753418, -0.21840977668762207, -0.48738017678260803, -0.27925553917884827, 0.08620468527078629, 0.328030526638031, 0.5549918413162231, -0.06958774477243423, 0.08531074970960617, 0.5151405334472656, -0.22829821705818176, 0.6619320511817932, 0.6777230501174927, -0.11802460998296738, -0.06525380909442902, 0.7411264777183533, -0.0517498143017292, 0.6444904208183289, 0.2885954678058624, 0.2642432749271393, -0.4098137617111206, -0.8373403549194336, -0.25917959213256836, 0.24584437906742096, -0.769278883934021, -0.07419299334287643, -0.4109533131122589, -0.16220198571681976, -0.23550817370414734, 0.15923963487148285, -0.866916298866272, -0.5352593064308167, -0.022332262247800827, -0.3105353116989136, 0.09728308767080307, 0.22257573902606964, -0.1067352294921875, 0.16265903413295746, -0.7656251788139343, 0.3351798951625824, -0.03111514449119568, 0.3053451180458069, -0.04968824237585068, -0.6007936000823975, -0.1533171385526657, 0.08211669325828552, -0.03441830724477768, -0.6931909918785095, 0.3309691846370697, 0.212030291557312, 0.761867105960846, 0.53676438331604, 0.41377222537994385, 0.686689019203186, -0.5632246136665344, 0.6537599563598633, -0.22741098701953888, -1.0650895833969116, 0.2969611883163452, -0.04126223921775818, 0.2109062671661377, 0.4659152626991272, 0.11145716905593872, -0.3858884572982788, -0.6575111746788025, -0.7777605652809143, -0.9340201616287231, 0.47455599904060364, -0.04650340974330902, -0.1533060520887375, 0.12485034763813019, 0.3626227378845215, 0.03266017511487007, 0.07998335361480713, -0.27792102098464966, -0.4456700086593628, 0.008503449149429798, 0.16688579320907593, -0.18500369787216187, -0.7551124095916748, -0.3279569447040558, -0.09323461353778839, 0.6764953136444092, 0.05290979519486427, 0.1521013081073761, -0.09580297768115997, -0.38744014501571655, 0.0725124180316925, 0.5574146509170532, 0.4485986828804016, 0.939835250377655, -0.23866166174411774, 0.28107085824012756, 0.22677217423915863, -0.4136747717857361, 0.4201737642288208, 0.050340354442596436, 0.0637504830956459, -0.14891482889652252, 0.4633225202560425, 0.34701088070869446, 0.2637307047843933, -0.7758140563964844, 0.412204384803772, -0.16964362561702728, 0.056681085377931595, -0.3613547384738922, 0.1702488660812378, 0.49935173988342285, 0.3122256398200989, 0.3225575089454651, -0.15114319324493408, 0.08291589468717575, -0.611111581325531, 0.3547196388244629, 0.19747550785541534, 0.01597016118466854, 0.07385842502117157, 0.5401326417922974, 0.013005773536860943, -0.08364253491163254, 0.7611658573150635, -0.05864671245217323, -0.5806975364685059, 0.5344130992889404, 0.6652047038078308, 0.9042181968688965, -0.7205452919006348, 0.08507287502288818, 0.4197865426540375, 0.4200395941734314, -0.1658400595188141, 0.07934056967496872, 0.1612953245639801, -0.635890781879425, -0.6124204993247986, -0.41304099559783936, -0.25921884179115295, 0.42276719212532043, -0.8246740698814392, 0.02713046595454216, -0.5147045254707336, 0.20673105120658875, 0.04660188779234886, -0.030508145689964294, -0.35916274785995483, 0.07010472565889359, -0.04119814932346344, 1.1646606922149658, -0.9104982018470764, 0.9037929773330688, -0.025558965280652046, -0.11925417184829712, -0.8605461716651917, 0.09609204530715942, 0.12428100407123566, -0.6470379829406738, 0.6257830262184143, 0.09451460838317871, -0.045249808579683304, -0.19766518473625183, -0.30846720933914185, -0.5846774578094482, 1.1143888235092163, 1.0461472272872925, -0.6425807476043701, 0.15204334259033203, 0.1220470666885376, 0.340192586183548, -0.02593795396387577, 0.4288198947906494, 0.9525517225265503, 0.46630892157554626, -0.15968093276023865, -0.8923426866531372, 0.22411106526851654, -0.4731737971305847, -0.09809118509292603, 0.18928249180316925, -0.580532431602478, 0.9401907324790955, -0.30110737681388855, -0.617573618888855, -0.018632376566529274, 0.2141178399324417, 0.3368256986141205, 0.08962869644165039, 0.5849866271018982, 0.7595885992050171, 0.8707327246665955, -0.15292343497276306, 1.2054388523101807, -0.1393866091966629, 0.2952646017074585, 1.3893228769302368, -0.21404536068439484, 1.1626278162002563, 0.46942174434661865, -0.17010509967803955, 0.3017764687538147, 0.49321556091308594, 0.03971617668867111, 0.4057788550853729, 0.4141436517238617, -0.5230298042297363, -0.19807861745357513, 0.09837277978658676, -0.606567919254303, 0.26155078411102295, 0.2982112169265747, -0.31138738989830017, -0.5906743407249451, -0.23989632725715637, 0.3596563935279846, 0.032688360661268234, 0.03643449768424034, 0.5214812159538269, 0.03960968926548958, -0.3798474073410034, 0.7762712836265564, 0.00844957958906889, 0.2991008460521698, -0.247384712100029, -0.04061461240053177, -0.33753034472465515, 0.5920045375823975, -0.15130217373371124, -0.4475068747997284, 0.24842114746570587, -0.019692309200763702, -0.14502060413360596, -0.2984926104545593, 0.6666458249092102, -0.45579850673675537, -0.3117304742336273, 0.414955198764801, 0.41787365078926086, 0.21518577635288239, -0.48219290375709534, -0.6585631370544434, 0.3629327714443207, 0.021205242723226547, -0.30674630403518677, 0.45953163504600525, 0.178122878074646, 0.09504131972789764, 1.1803431510925293, 0.6426409482955933, 0.22175092995166779, 0.2695654630661011, 0.26664450764656067, 0.8264797329902649, -0.4540090560913086, -0.2698029577732086, -1.041273593902588, 0.3587764501571655, -0.07267677783966064, 0.03754683583974838, 0.7526818513870239, 0.715571939945221, 0.7874307036399841, -0.02353367954492569, 0.7388108968734741, 0.5107159614562988, 0.6572477221488953, -0.7416566014289856, 0.9215527176856995, -0.3570829927921295, 0.6586685180664062, -0.3563551902770996, -1.0593341588974, 0.08836910128593445, 0.1459120810031891, -0.28176313638687134, 0.04839145764708519, 0.9042509198188782, 0.7609471678733826, -0.04170619323849678, 0.00197180756367743, 0.20408551394939423, 0.18342547118663788, 0.8443365097045898, 0.7211113572120667, 0.9584133625030518, -0.48838725686073303, 0.7914767861366272, -0.677103579044342, -0.09959005564451218, -0.2824755609035492, -1.2253652811050415, -0.6008617877960205, -0.45710134506225586, -0.646898090839386, -0.25698354840278625, 0.1178874596953392, 0.31362879276275635, 0.4170656204223633, -0.5753102898597717, -0.014890560880303383, 0.1810590922832489, 0.17701132595539093, -0.5112966299057007, -0.21458271145820618, 0.6800174713134766, -0.22494249045848846, -0.9878969192504883, 0.6615880727767944, -0.005544263403862715, -0.10829667747020721, -0.2918725311756134, 0.22341817617416382, -0.06403203308582306, -0.17393425107002258, 0.20022311806678772, 0.4047031104564667, -0.6659718155860901, -0.5364776849746704, -0.5026909112930298, 0.012772667221724987, -0.07735047489404678, 0.7480909824371338, -0.7920756340026855, 0.42585843801498413, 0.4588160514831543, 0.7888991832733154, 0.8236764669418335, 0.1320158988237381, 0.6758033633232117, -0.7832376956939697, 0.18592911958694458, 0.0767039954662323, 0.5910552144050598, 0.28309953212738037, -0.18638981878757477, 0.5772619247436523, -0.013546543195843697, -0.4216550886631012, -1.1199437379837036, 0.0688248947262764, -0.6048597097396851, -0.2482624053955078, 1.3162333965301514, -0.6354337334632874, -0.31926316022872925, -0.14955586194992065, 0.08160778880119324, 0.36417022347450256, -0.28941038250923157, 0.9365010261535645, 0.7421813607215881, 0.32810279726982117, -0.3233600854873657, -0.7615511417388916, 0.5237796902656555, 0.24898642301559448, -1.0108306407928467, 0.5531089901924133, 0.3820239305496216, 0.802210807800293, 0.08522295951843262, 0.463202565908432, -0.46726828813552856, 0.10345389693975449, 0.24290154874324799, 0.09563421458005905, -0.42280757427215576, -0.12751811742782593, -0.20778174698352814, 0.1136670932173729, 0.033221807330846786, -0.30708932876586914 ]
http://arxiv.org/abs/2406.13975v1
http://arxiv.org/pdf/2406.13975v1
MR-BEN: A Comprehensive Meta-Reasoning Benchmark for Large Language Models
2024-06-20T03:50:23
2024-06-20T03:50:23
Zhongshen Zeng, Yinhong Liu, Yingjia Wan, Jingyao Li, Pengguang Chen, Jianbo Dai, Yuxuan Yao, Rongwu Xu, Zehan Qi, Wanru Zhao, Linling Shen, Jianqiao Lu, Haochen Tan, Yukang Chen, Hao Zhang, Zhan Shi, Bailin Wang, Zhijiang Guo, Jiaya Jia
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have shown increasing capability in problem-solving and decision-making, largely based on the step-by-step chain-of-thought reasoning processes. However, it has been increasingly challenging to evaluate the reasoning capability of LLMs. Concretely, existing outcome-based benchmarks begin to saturate and become less sufficient to monitor the progress. To this end, we present a process-based benchmark MR-BEN that demands a meta reasoning skill, where LMs are asked to locate and analyse potential errors in automatically generated reasoning steps. MR-BEN is a comprehensive benchmark comprising 5,975 questions collected from human experts, covering various subjects such as physics, chemistry, logic, coding, and more. Through our designed metrics for assessing meta-reasoning on this benchmark, we identify interesting limitations and weaknesses of current LLMs (open-source and closed-source models). For example, open-source models are seemingly comparable to GPT-4 on outcome-based benchmarks, but they lag far behind on our benchmark, revealing the underlying reasoning capability gap between them. Our dataset and codes are available on https://randolph-zeng.github.io/Mr-Ben.github.io/.
[ -0.5755147337913513, -0.8711823225021362, 0.9115718007087708, -0.04031870514154434, -0.0709233433008194, -0.085098035633564, -0.27264145016670227, -0.4715177118778229, -0.11042056232690811, 0.42659100890159607, -0.784207284450531, -0.5304027199745178, -0.5575222969055176, 0.4058413505554199, -0.09742874652147293, 0.5438057780265808, -0.17738422751426697, 0.13457784056663513, -0.22758454084396362, -0.17478792369365692, -0.5481841564178467, -0.16811539232730865, -0.5614725947380066, -0.4167350232601166, 0.7193783521652222, 0.463346004486084, 0.744565486907959, 0.466538667678833, 0.7677481174468994, 0.2565629482269287, 0.11445257812738419, 0.3446614146232605, -0.05251457169651985, 0.27496537566185, -0.8003339767456055, -0.20333854854106903, -0.6008962988853455, -0.0670338049530983, 0.7454396486282349, 0.8245901465415955, -0.030509263277053833, 0.4447367489337921, -0.2135019302368164, 0.7550860047340393, -0.832791805267334, 0.15441082417964935, -0.5587860345840454, -0.09080345183610916, -0.27241429686546326, -0.03072287328541279, -0.41229546070098877, -0.3026634156703949, -0.09551358222961426, -0.08161751925945282, 0.15170177817344666, 0.04613623768091202, 0.5909860730171204, 0.5107709765434265, -0.23047733306884766, -0.19040633738040924, -0.7229458093643188, 0.7789162397384644, -0.7319420576095581, 0.5662550330162048, 0.36609673500061035, 0.6364864110946655, -0.20235444605350494, -0.6199490427970886, -0.5500057339668274, -0.17338678240776062, 0.020836975425481796, -0.08635368198156357, 0.036469608545303345, -0.09073081612586975, 0.2781052887439728, 0.11799692362546921, -0.8151864409446716, -0.261259526014328, -0.20226575434207916, -0.0448540598154068, 0.47470080852508545, 0.26001814007759094, 0.0007983645773492754, -0.24578091502189636, -0.1279722899198532, -0.24090932309627533, -0.5254963040351868, -0.3096729516983032, 0.2738879919052124, 0.368512898683548, 0.20495545864105225, 0.7932589650154114, -0.25913572311401367, 0.7584695219993591, -0.23898956179618835, 0.009473839774727821, 0.23404042422771454, -0.25265559554100037, -0.28648582100868225, -0.19073499739170074, 0.887787401676178, -0.07131681591272354, 0.4388394057750702, 0.19045503437519073, -0.13751892745494843, -0.3187456727027893, 0.1884692758321762, -0.7108331322669983, -0.1712125539779663, 0.3460070490837097, -0.3530988395214081, 0.291765958070755, 0.13096298277378082, -0.7600619792938232, -0.276754230260849, -0.12650726735591888, 0.3926544189453125, -0.5543982982635498, -0.38643205165863037, 0.16058120131492615, 0.0020834144670516253, 0.2558840215206146, 0.24959056079387665, -0.6632075309753418, 0.09492786228656769, 0.7903494834899902, 0.7123314142227173, 0.04455043002963066, -0.36931073665618896, -0.47025686502456665, 0.12880752980709076, -0.47028419375419617, 0.9460301399230957, -0.7642173767089844, -0.22144575417041779, -0.24841269850730896, -0.2342890202999115, -0.18829500675201416, -0.6971997618675232, 0.9515947699546814, -0.5005648136138916, 0.11062289029359818, -0.6877162456512451, -0.4467626214027405, -0.1931561827659607, 0.5260805487632751, -0.6287103891372681, 0.9473760724067688, 0.13621027767658234, -0.7357656955718994, 0.2934507727622986, -0.7249471545219421, -0.3422432839870453, -0.09277743101119995, -0.4895830750465393, -0.32868412137031555, 0.15119114518165588, 0.1765853464603424, 0.4207075834274292, -0.7261927127838135, 0.4576279819011688, -0.6677340865135193, -0.39555150270462036, 0.49796727299690247, -0.6272669434547424, 0.671856164932251, 0.25953778624534607, -0.4460785388946533, 0.16456720232963562, -0.841774582862854, 0.22476698458194733, 0.10993704944849014, -0.41316282749176025, -0.06321663409471512, 0.19999966025352478, -0.4197477102279663, 0.3855515718460083, 0.21066032350063324, -0.24091418087482452, -0.07936927676200867, -0.11749454587697983, 0.22183579206466675, 0.7943273186683655, -0.3029322922229767, -0.10300526022911072, -0.24720734357833862, 0.37484174966812134, -0.12469150125980377, 0.04549326375126839, -0.28694167733192444, -0.49779626727104187, -0.6569290161132812, -0.49451667070388794, 0.3753410577774048, 0.581429660320282, -0.5050956606864929, 0.6674672961235046, -0.5187278389930725, -0.25610244274139404, -0.5486562848091125, 0.21629925072193146, 0.4711754322052002, 0.4891014099121094, 0.5818892121315002, -0.11798404157161713, -0.19787068665027618, -1.1229667663574219, -0.43162113428115845, -0.20737050473690033, -0.2092384546995163, 0.3479750454425812, 0.7820155620574951, -0.3978385031223297, 0.8893725872039795, -0.2972620725631714, -0.03850467875599861, -0.16509392857551575, 0.24052532017230988, 0.18246741592884064, 0.23478110134601593, 0.03496744483709335, -0.541239321231842, -0.26095765829086304, -0.15424878895282745, -0.9007279276847839, -0.37251052260398865, 0.05591966211795807, -0.03472499921917915, 0.4021410346031189, 0.49124112725257874, -0.7721847295761108, 0.1346346139907837, 0.5150444507598877, -0.4597630500793457, 0.7584230899810791, -0.29023510217666626, 0.4573284387588501, -0.8338062763214111, 0.4989215135574341, -0.029438389465212822, -0.19167093932628632, -0.12090198695659637, 0.2454826384782791, 0.20942926406860352, 0.0028099725022912025, -0.18752677738666534, 0.6725815534591675, -0.4344533681869507, -0.4694114923477173, -0.21294735372066498, 0.16875436902046204, -0.16690973937511444, 0.4133128821849823, 0.16700798273086548, 0.7697907090187073, 0.22113029658794403, -0.47392505407333374, 0.4499633014202118, 0.0033101169392466545, -0.3664432764053345, 0.9201759099960327, -0.6295574903488159, 0.01905667409300804, 0.047143783420324326, 0.31983205676078796, -0.954185426235199, -0.29366979002952576, 0.33951300382614136, -0.5063796043395996, 0.3152073621749878, 0.017232656478881836, -0.9359629154205322, -0.44478723406791687, -0.19809703528881073, 0.46825510263442993, 0.2068614661693573, -0.4034019112586975, 0.8750479817390442, -0.17450553178787231, -0.07496938854455948, -0.8195168972015381, -0.8153594732284546, 0.21364402770996094, 0.057907022535800934, -0.7976205348968506, 0.1371655911207199, -0.2819949686527252, -0.3383506238460541, 0.29381605982780457, -0.22348076105117798, 0.01561343390494585, -0.23554305732250214, -0.04441437870264053, -0.0012262791860848665, -0.2275380939245224, 0.1456383317708969, 0.010870848782360554, -0.4228307902812958, 0.3768272399902344, -0.1569667011499405, 0.46638786792755127, -0.32685065269470215, -0.9579291939735413, -0.2096450924873352, 0.26087355613708496, 0.8673602938652039, -0.41729065775871277, 0.7947890162467957, 0.6521897912025452, -0.3805781900882721, -0.3343055248260498, -0.7245643138885498, -0.16803355515003204, -0.4331934154033661, 0.31109049916267395, -0.6868563890457153, -0.6487833261489868, 0.5411641597747803, -0.16682952642440796, 0.08363454788923264, 0.6267279386520386, 0.5264173746109009, -0.026781847700476646, 0.8138012290000916, 0.13040019571781158, 0.23768354952335358, 0.006837785243988037, 0.023950845003128052, 0.11120662838220596, -0.863569974899292, -0.2624463140964508, -0.6027414202690125, -0.1782466173171997, -0.33553096652030945, -0.848851203918457, 0.3735654950141907, -0.023605166003108025, -0.46241700649261475, 0.19241057336330414, -0.25665831565856934, 0.40891361236572266, 0.6506060361862183, 0.10091996937990189, 0.35595929622650146, -0.3375414311885834, -0.39565956592559814, 0.11748575419187546, -0.540654718875885, -0.5515658855438232, 1.0872591733932495, 0.36422768235206604, 0.6083165407180786, 0.2730604410171509, 0.5454391241073608, 0.3066574037075043, 0.31115615367889404, -0.4025335907936096, 0.8512489199638367, 0.08869941532611847, -1.1628702878952026, -0.35850515961647034, -0.9040957689285278, -0.6610608696937561, 0.3741782009601593, -0.2337140142917633, -0.3281196355819702, -0.20779496431350708, 0.07817475497722626, -0.12920348346233368, 0.5852596759796143, -0.49620044231414795, 1.0665857791900635, -0.3820738196372986, -0.7381722927093506, -0.555878758430481, -0.6543186902999878, 0.6117373704910278, -0.20938926935195923, 0.4163496494293213, -0.2590976059436798, -0.0879116952419281, 0.3987220525741577, -0.38485732674598694, 0.5958924293518066, -0.03354276716709137, -0.15362438559532166, 0.46431267261505127, 0.154976949095726, 0.3813064992427826, -0.14432065188884735, -0.218657985329628, 0.08644451200962067, 0.005505997221916914, -0.5850296020507812, -0.4294535517692566, 0.71837317943573, -0.39571431279182434, -0.5272127389907837, -0.580450713634491, -0.31025731563568115, -0.37372371554374695, 0.22836874425411224, -0.10262125730514526, 0.20361874997615814, -0.24121665954589844, 0.08097368478775024, 0.9086849689483643, -0.5338864922523499, 0.41109761595726013, 0.6187005639076233, -0.15206865966320038, -0.684411346912384, 0.6084701418876648, 0.04877467453479767, 0.20167015492916107, 0.5392966866493225, 0.30386099219322205, -0.38955384492874146, -0.586815595626831, -0.6036518216133118, 0.4656094014644623, -0.9766202569007874, -0.12849216163158417, -0.4479408264160156, -0.09594249725341797, -0.13578031957149506, 0.11299163103103638, -0.5297706723213196, -0.09721735864877701, 0.02706618793308735, 0.14969117939472198, -0.13089977204799652, 0.5275561213493347, -0.09119884669780731, -0.278496652841568, -0.9163606762886047, 0.37299302220344543, 0.4822717308998108, 0.8388301134109497, -0.08833972364664078, -0.40771952271461487, -0.29216688871383667, -0.1490718573331833, -0.29168885946273804, -0.8313537836074829, -0.19250115752220154, -0.1529000848531723, 0.7287559509277344, 0.43485671281814575, 0.05932885408401489, 0.5050203204154968, -0.5247646570205688, 0.6271886825561523, 0.11666198074817657, -0.9963223338127136, 0.53769451379776, -0.5410290956497192, 0.47469770908355713, 0.6626619696617126, 0.2506854832172394, -0.16895534098148346, -0.2244511991739273, -0.4852684736251831, -0.46693044900894165, 0.4611469507217407, 0.10870910435914993, -0.2486737072467804, -0.27164044976234436, 0.4000198543071747, -0.021660976111888885, 0.15041451156139374, -0.7070673108100891, -0.1468912810087204, 0.15239644050598145, -0.3032185435295105, -0.05122196674346924, -0.215633362531662, 0.021129736676812172, -0.24397605657577515, 0.6775622963905334, -0.1351419985294342, 0.21284528076648712, 0.2619265913963318, -0.09971215575933456, -0.3665849268436432, 0.41217586398124695, 0.8428080677986145, 1.0025370121002197, -0.47331342101097107, 0.3301081955432892, 0.35658520460128784, -0.10852592438459396, 0.016040759161114693, 0.2814182937145233, 0.2437439262866974, -0.04618994891643524, 0.67686527967453, 0.21358658373355865, 0.20364905893802643, -1.1001615524291992, 0.4272579848766327, 0.09465435147285461, -0.3952765464782715, -0.27386176586151123, 0.12009717524051666, 0.3325347602367401, 0.5751892328262329, 0.2980399429798126, 0.03367803245782852, 0.022343743592500687, -0.7512065768241882, 0.16581231355667114, 0.6321812868118286, -0.10705668479204178, -0.21766404807567596, 0.6621917486190796, 0.20724286139011383, -0.29165324568748474, 0.526844322681427, -0.29775968194007874, -0.34103819727897644, 0.27647048234939575, 0.12013783305883408, 1.0790972709655762, -0.36490145325660706, -0.0008748205727897584, 0.625974178314209, 0.6379759907722473, -0.24013619124889374, 0.35255560278892517, -0.016247903928160667, -0.4886346459388733, -0.7540633082389832, -0.5869181752204895, -0.6531983017921448, 0.2218930870294571, -0.20026656985282898, 0.3801291882991791, -0.5658714771270752, -0.2205512672662735, -0.18614108860492706, 0.08917850255966187, -0.6305203437805176, 0.22038845717906952, 0.1259223222732544, 1.0557249784469604, -0.6549445390701294, 0.7266635894775391, 0.5851687788963318, -0.34850215911865234, -0.2520161271095276, 0.019378244876861572, -0.015172254294157028, -0.5301374197006226, 0.46735119819641113, 0.20785461366176605, -0.4278887212276459, -0.434635192155838, -0.21092292666435242, -0.7776644825935364, 1.068640112876892, 0.5974498391151428, -0.6152547597885132, 0.09563957154750824, 0.22191236913204193, 0.4655348062515259, -0.1836513876914978, 0.4533139765262604, 0.60490882396698, 0.8746801018714905, 0.19252347946166992, -0.9926122426986694, 0.1814030408859253, 0.010564868338406086, -0.36183321475982666, 0.4313772916793823, -0.5287129282951355, 0.8589569926261902, -0.286984920501709, -0.061942510306835175, -0.23181326687335968, 0.4858955442905426, 0.4654093086719513, 0.5209017992019653, 0.40162670612335205, 0.9263683557510376, 0.6666772961616516, -0.07127220183610916, 0.803854763507843, -0.3035755157470703, 0.19910000264644623, 1.1563271284103394, -0.4003414213657379, 1.0704784393310547, 0.2423166036605835, -0.3789644241333008, 0.7597165703773499, 0.6338484883308411, 0.05482131242752075, 0.20255804061889648, 0.34528735280036926, -0.24617454409599304, -0.5397555828094482, 0.5235922932624817, -0.3016110360622406, 0.19525355100631714, 0.341739684343338, -0.4979182779788971, -0.26805582642555237, -0.392747163772583, -0.11867222189903259, 0.10017619282007217, -0.12638957798480988, 0.5385322570800781, 0.08333161473274231, -0.8330386281013489, 0.5610467791557312, 0.2586745321750641, 0.3511688709259033, -0.6551531553268433, -0.04959432780742645, -0.04326580464839935, 0.3384908139705658, -0.12108819931745529, -0.897847592830658, 0.5967669486999512, 0.030685478821396828, -0.13819599151611328, -0.04102038964629173, 0.6173114776611328, -0.18356412649154663, -0.5199921131134033, 0.45227280259132385, 0.8887203335762024, 0.14873602986335754, -0.22701801359653473, -0.8357565999031067, 0.22054746747016907, -0.21457980573177338, -0.38822272419929504, 0.15065251290798187, 0.5174432396888733, 0.03137369081377983, 0.9200901985168457, 0.4633878171443939, -0.051671918481588364, -0.14742805063724518, 0.01975308731198311, 0.5411909222602844, -0.984916627407074, -0.10887353867292404, -1.1464563608169556, 0.38768646121025085, 0.034302081912755966, -0.08660601079463959, 0.4411065876483917, 0.5222053527832031, 0.7222274541854858, 0.06551367044448853, 0.7110442519187927, -0.0540066622197628, 0.7134027481079102, -0.489685982465744, 0.28034183382987976, -0.5621646046638489, 0.5101317763328552, -0.3450804054737091, -1.138727068901062, -0.2556290030479431, 0.6458534598350525, -0.3626049757003784, 0.5626266598701477, 1.0041753053665161, 0.6411309242248535, -0.3428558111190796, -0.13945238292217255, 0.2940748631954193, -0.12469348311424255, 0.39537355303764343, 0.791627824306488, 0.7178768515586853, -0.10904903709888458, 0.761239767074585, 0.17502224445343018, -0.2980909049510956, -0.3321126699447632, -1.1267637014389038, -1.2125941514968872, -0.5367913246154785, -0.31577587127685547, -0.19408056139945984, 0.050021056085824966, 1.0221391916275024, 0.6788097620010376, -0.6378346681594849, -0.12968428432941437, -0.2625580430030823, 0.21719248592853546, -0.33482328057289124, -0.19891057908535004, 0.2773793637752533, -0.38875219225883484, -0.422878623008728, 0.38475969433784485, 0.23714256286621094, -0.2385743409395218, -0.521147608757019, -0.12126131355762482, -0.20442332327365875, 0.5281006693840027, 0.5637303590774536, 0.2514170706272125, -0.8195353150367737, -0.34120485186576843, -0.1691007912158966, -0.04528301954269409, -0.03125927224755287, 0.7392892241477966, -0.5545099377632141, 0.35479533672332764, 0.5898036360740662, 0.7590857148170471, 0.40597060322761536, -0.10328364372253418, 0.4492509663105011, -0.4417908489704132, -0.6081209778785706, 0.11528756469488144, 0.46517032384872437, 0.5055060982704163, 0.28716471791267395, 0.6387205123901367, 0.3411332368850708, -0.628423273563385, -0.7363319396972656, 0.4295296370983124, -0.7238880395889282, -0.6727339029312134, 1.050012230873108, 0.020434122532606125, -0.005450103897601366, 0.08974934369325638, 0.13226279616355896, 0.21000522375106812, -0.21400761604309082, 0.748684287071228, 0.9536125063896179, -0.26523685455322266, -0.5132187008857727, -0.8134750127792358, 0.2173268347978592, 0.39172959327697754, -0.9694540500640869, 0.3799282908439636, 0.6798704266548157, 0.4301185607910156, 0.2700057029724121, 0.563145101070404, -0.1326577365398407, 0.24461127817630768, -0.014270083047449589, 0.025653699412941933, -0.27541619539260864, -0.5997235178947449, -0.19380882382392883, 0.3495343327522278, 0.15139082074165344, -0.01768818497657776 ]
http://arxiv.org/abs/2406.13960v1
http://arxiv.org/pdf/2406.13960v1
Evolving to be Your Soulmate: Personalized Dialogue Agents with Dynamically Adapted Personas
2024-06-20T03:02:38
2024-06-20T03:02:38
Yi Cheng, Wenge Liu, Kaishuai Xu, Wenjun Hou, Yi Ouyang, Chak Tou Leong, Xian Wu, Yefeng Zheng
cs.CL
cs.CL, cs.AI
Previous research on persona-based dialogue agents typically preset the agent's persona before deployment, which remains static thereafter. In this paper, we take a step further and explore a new paradigm called Self-evolving Personalized Dialogue Agents (SPDA), where the agent continuously evolves during the conversation to better align with the user's anticipation by dynamically adapting its persona. This paradigm could enable better personalization for each user, but also introduce unique challenges, which mainly lie in the process of persona adaptation. Two key issues include how to achieve persona alignment with the user and how to ensure smooth transition in the adaptation process. To address them, we propose a novel framework that refines the persona at hierarchical levels to progressively align better with the user in a controllable way. Experiments show that integrating the personas adapted by our framework consistently enhances personalization and overall dialogue performance across various base systems.
[ -0.46151629090309143, -0.2895222008228302, 0.7997986674308777, 0.3648926615715027, -0.022541522979736328, 0.6600073575973511, 0.19469720125198364, -0.3232039213180542, 0.38576969504356384, 0.6166287660598755, -1.0933676958084106, -0.05765986070036888, -0.12495655566453934, 0.07996060699224472, 0.24925245344638824, 0.8821176290512085, 0.479112833738327, -0.05226690322160721, -0.23073866963386536, -0.46177712082862854, -0.9600009918212891, -0.18214933574199677, -0.6706304550170898, -0.49574652314186096, 0.44380033016204834, 0.4595716893672943, 0.6770627498626709, 0.3885599374771118, 0.27848511934280396, 0.38371357321739197, 0.2475026547908783, -0.1285352110862732, -0.394440233707428, 0.7885079979896545, -0.4536113142967224, -0.40404045581817627, -0.7355794906616211, -0.18081875145435333, 0.4629693627357483, 0.5339745879173279, -0.16648659110069275, 0.05771034583449364, -0.039763614535331726, 0.7310091257095337, -0.46153682470321655, 0.002924979431554675, -0.5670266151428223, 0.10861539095640182, 0.0021398740354925394, -0.507138729095459, -0.19822770357131958, -0.4199739694595337, 0.5977063179016113, -0.6148948073387146, -0.2264799177646637, -0.09478498995304108, 0.37926894426345825, 0.42736420035362244, -0.4826347529888153, -0.08483615517616272, -1.0085351467132568, 0.4730936586856842, -0.4976843595504761, 0.3504360020160675, -0.3651111423969269, 0.8081732988357544, -0.260445237159729, -0.6876258254051208, -0.4984370768070221, -0.1859159767627716, 0.23277005553245544, 0.29669928550720215, -0.14734213054180145, 0.06653505563735962, -0.028456753119826317, 0.1353330910205841, -0.3101509213447571, 0.045691292732954025, 0.11292605102062225, 0.06691288948059082, 0.4289698898792267, 0.41002219915390015, 0.4458302855491638, -0.06604205816984177, -0.18111911416053772, 0.04013066366314888, -0.2189640998840332, 0.21122388541698456, 0.35905635356903076, 0.29382947087287903, -0.11074090003967285, 0.06055267155170441, -0.2202061116695404, 0.2995157539844513, 0.9638193845748901, -0.2709943652153015, 0.42906221747398376, -0.0813560038805008, -0.10018203407526016, 0.19567333161830902, 0.38526418805122375, 0.5608230233192444, 0.16575048863887787, -0.34124794602394104, 0.09882724285125732, -0.20621460676193237, 0.6612305641174316, -0.7333105802536011, -0.15893051028251648, 0.3368058502674103, -0.459945946931839, -0.33885034918785095, -0.3328419029712677, -0.8253520727157593, -0.7303228378295898, -0.3097113072872162, 0.17158937454223633, -0.351673424243927, -0.21059100329875946, 0.1144302487373352, 0.05467000976204872, 0.47205519676208496, 0.5777481198310852, -1.1887906789779663, 0.3335886299610138, 0.7930000424385071, 0.6309910416603088, -0.17334704101085663, -0.2738085389137268, -0.29427269101142883, 0.16630081832408905, -0.36092281341552734, 0.9218447804450989, -0.7121197581291199, -0.4163636565208435, -0.1411946415901184, 0.10977567732334137, -0.18958435952663422, -0.4598800241947174, 0.31565430760383606, -0.593731164932251, 0.5387781262397766, -0.4905596375465393, -0.029399456456303596, -0.00794082973152399, 0.11050054430961609, -0.10172377526760101, 0.6426482200622559, 0.6834502816200256, -0.3344481587409973, 0.3493192791938782, -0.8385480642318726, -0.09399660676717758, 0.39412960410118103, -0.04374208673834801, -0.2079571783542633, 0.12803104519844055, -0.0267205610871315, 0.4391499161720276, -0.05717293173074722, 0.03217439725995064, -0.5873849391937256, -0.06365359574556351, 0.3814481496810913, 0.29099658131599426, 0.6237754225730896, 0.22753989696502686, -0.18570856750011444, 0.35704097151756287, -0.731235921382904, -0.12515394389629364, -0.07928481698036194, 0.14993086457252502, -0.21684879064559937, 0.10519415885210037, -0.26101526618003845, 0.3975223898887634, 0.5010596513748169, -0.399440735578537, 0.3352651596069336, -0.5180190205574036, 0.3458769917488098, 1.153646469116211, 0.3371383845806122, 0.9621735215187073, -0.5799791812896729, 0.514702320098877, 0.25082075595855713, 0.28721925616264343, -0.35314202308654785, -0.3273927569389343, -0.7342225909233093, -0.14387765526771545, 0.027842648327350616, 0.5636740326881409, -0.3285779058933258, 0.8473665714263916, -0.5456690788269043, -0.48248207569122314, -0.44136756658554077, -0.02674100175499916, 0.08205240964889526, 0.6375246047973633, 0.027792789041996002, -0.8857975602149963, -0.3503573536872864, -0.9284738898277283, -0.16740235686302185, -0.3539447486400604, 0.025916671380400658, 0.4457181394100189, 0.23126304149627686, -0.716558575630188, 1.359885334968567, -0.37422457337379456, -0.19276045262813568, -0.2248150259256363, -0.2339497208595276, 0.031160935759544373, 0.6575102806091309, 0.8202389478683472, -0.6506375074386597, -0.7833952307701111, 0.1455739140510559, -0.8876382112503052, -0.4078466594219208, -0.6976717710494995, -0.407328337430954, -0.4244251549243927, 0.12582597136497498, -0.4580000340938568, -0.06657896190881729, 0.32608941197395325, -0.5379827618598938, 0.524177074432373, -0.17417754232883453, 0.23020273447036743, -1.5657360553741455, -0.10731722414493561, -0.02984224446117878, -0.41451942920684814, -0.9746379256248474, -0.17383447289466858, -0.2270977795124054, -0.21799184381961823, -0.12060065567493439, 0.6998981237411499, -0.27940845489501953, -0.3384014070034027, -0.4963807165622711, 0.21722911298274994, -0.12594790756702423, 0.7624590992927551, -0.21093854308128357, 0.7801160216331482, 0.6308603882789612, -0.6472325325012207, 0.4240407347679138, 0.7620532512664795, 0.03491297736763954, 1.4377143383026123, -0.4237775206565857, 0.3983050286769867, -0.2909857928752899, 0.6564663648605347, -0.674430787563324, -0.14598096907138824, 0.6610016226768494, -0.2135627418756485, 0.02113499492406845, -0.06969992816448212, 0.0378684438765049, 0.012342474423348904, -0.3287948668003082, 0.11941810697317123, 0.608424961566925, -0.5429857969284058, 1.0552159547805786, 0.26994046568870544, -0.501437246799469, -0.12379025667905807, -0.04184466600418091, 0.3164770305156708, -0.529825747013092, -0.8812627792358398, 0.5557931065559387, -0.5992262959480286, -0.30218932032585144, -0.2474365234375, -0.18869829177856445, 0.1863410621881485, 0.17977523803710938, 0.40745583176612854, -0.12537865340709686, -0.1952318698167801, -0.16820886731147766, 0.3928261995315552, -0.3760158121585846, -0.06249668076634407, -0.3113211393356323, 0.6306787133216858, -0.04692769795656204, -0.10749664157629013, -0.9739503860473633, 0.29115352034568787, 0.9842548370361328, -0.14768460392951965, 0.5599350333213806, 0.45969533920288086, -0.11064483970403671, -0.11468156427145004, -0.6623032093048096, -0.3027917742729187, -0.5662518739700317, 0.18036681413650513, -0.8502405881881714, -0.6053950786590576, 0.9426524639129639, -0.5576344728469849, 0.3116346597671509, -0.06277337670326233, 0.5055927038192749, -0.37527570128440857, 1.1646915674209595, 1.0443212985992432, 0.08119836449623108, 0.8039373159408569, 0.1831849217414856, 0.21167272329330444, -1.4865187406539917, -0.4714197516441345, -0.2991642653942108, -0.5955801010131836, -0.6197117567062378, -0.1808541864156723, 0.21619641780853271, -0.16569596529006958, -0.4154888689517975, 0.45476725697517395, -0.507824718952179, 0.096218541264534, 0.09666021913290024, 0.07029645144939423, 0.08492830395698547, -0.4655695855617523, 0.2673087418079376, -0.34224021434783936, -0.2034713625907898, -0.6099996566772461, 0.79379802942276, 0.5693478584289551, 0.47846782207489014, 0.3708637058734894, 0.5525205731391907, 0.6032269597053528, 0.14823472499847412, -0.438228577375412, 0.5871720910072327, 0.2747582793235779, -0.303425669670105, -0.10876967012882233, -0.06652028858661652, -0.9509531855583191, 0.4192247688770294, -0.07301631569862366, -1.2182294130325317, 0.6894031763076782, 0.21096837520599365, -0.6257590055465698, -0.34507811069488525, -0.5319517254829407, 0.8642593026161194, -0.33162161707878113, -0.27001842856407166, -0.3136637508869171, -0.8566580414772034, 0.03473278135061264, -0.44937601685523987, -0.19380606710910797, -0.46950674057006836, -0.19101235270500183, 0.5134034752845764, -0.09609871357679367, 0.6154244542121887, -0.34477201104164124, -0.15522809326648712, -0.16301634907722473, 0.2567674219608307, 0.6083812117576599, 0.19233617186546326, -0.15385842323303223, -0.3976005017757416, 0.06622109562158585, -0.6610338091850281, -1.1827764511108398, 0.6787136793136597, -0.7194433212280273, -0.908225953578949, -0.49828264117240906, -0.28322699666023254, -0.6550012826919556, 0.1726866364479065, -0.13938960433006287, 0.13163001835346222, -0.7045915722846985, 0.034299544990062714, 0.707751989364624, -0.1479903906583786, 0.2200184315443039, 0.7393589615821838, -0.046656835824251175, -0.3961039185523987, 0.6847701668739319, -0.22638142108917236, 0.2650943100452423, 0.16635461151599884, 0.3497233986854553, -0.2842719852924347, -0.5349687337875366, -0.4310179650783539, 0.24811109900474548, -0.5899211168289185, 0.24428869783878326, -0.8438208699226379, 0.04661226645112038, -0.7238701581954956, -0.5977409482002258, -0.2500911355018616, -0.16396699845790863, -0.40622588992118835, 0.127339705824852, -0.01385770458728075, 0.481017529964447, 0.1537691056728363, 0.7484789490699768, -0.5411660075187683, 0.2636910080909729, 0.7808857560157776, 0.18313226103782654, -0.15237028896808624, -0.7945373058319092, -0.02645157277584076, 0.061832722276449203, -0.5280237793922424, -1.0345470905303955, 0.2634304463863373, 0.32422059774398804, 0.7303992509841919, 0.6246088147163391, -0.030087390914559364, 0.8292151093482971, -0.5707088112831116, 0.7856885194778442, 0.1561724841594696, -0.8592138290405273, 0.5173342823982239, -0.7411835789680481, 0.40441879630088806, 0.9109452962875366, -0.012920277193188667, -0.8590295910835266, 0.014059504494071007, -0.6226809024810791, -0.29961109161376953, 0.5745606422424316, 0.009257085621356964, 0.6512657999992371, 0.6028033494949341, 0.7479019165039062, 0.22335228323936462, 0.41994407773017883, -0.48894307017326355, -0.05293333902955055, -0.33698004484176636, -0.13486213982105255, -0.044507674872875214, -0.0007396299042738974, -0.15669496357440948, -0.25201675295829773, 0.5312353372573853, -0.6758307218551636, 0.5082290768623352, -0.13225431740283966, 0.02593664638698101, -0.19278116524219513, 0.16796597838401794, 0.519318699836731, 0.699644923210144, -0.2136896401643753, -0.31149980425834656, 0.3688875734806061, -0.16922593116760254, 0.35650140047073364, -0.31697723269462585, -0.034454502165317535, -0.4267096221446991, -0.0430523082613945, 0.8804225325584412, 0.6684749126434326, -0.4713490903377533, 0.42381513118743896, -0.1821426898241043, 0.07449193298816681, -0.4395212233066559, 0.3956165909767151, -0.006888630334287882, 0.7282668948173523, 0.34425604343414307, 0.38315945863723755, 0.14176879823207855, -0.8592001795768738, 0.17499050498008728, 0.35193565487861633, -0.5031412243843079, -0.8279737234115601, 0.5499950647354126, 0.7065756916999817, -0.8327507376670837, 0.24228845536708832, -0.07576443254947662, -0.5565517544746399, 0.109807588160038, 0.5846524238586426, 1.3371812105178833, -0.6326631307601929, 0.5501604080200195, -0.17424245178699493, -0.11081115901470184, 0.1314598023891449, -0.05773288384079933, -0.40622779726982117, -0.8300391435623169, 0.2340891808271408, -0.6221469640731812, -0.5903524160385132, -0.1932053565979004, -0.48277539014816284, 0.09192728251218796, -0.5681637525558472, -0.16487424075603485, -0.08222159743309021, 0.18406981229782104, -0.40948963165283203, 0.16124682128429413, -0.0246854480355978, 0.6697676777839661, -0.5942899584770203, 0.7585604190826416, 0.5843985080718994, 0.14688041806221008, -0.27798423171043396, 0.2830808758735657, 0.0048338621854782104, -0.5646741390228271, 0.28227803111076355, -0.06323554366827011, -0.2808821201324463, 0.2725960612297058, -0.1393103152513504, -0.9410300850868225, 1.3461112976074219, 0.4674778878688812, -0.42575129866600037, -0.33231496810913086, -0.07731246203184128, 0.8271114826202393, -0.899819552898407, 0.06202176585793495, 0.6709398031234741, 0.42730772495269775, 0.13833077251911163, -0.7629174590110779, -0.13635218143463135, -0.3403107523918152, 0.1471298784017563, -0.10873685032129288, -1.1121677160263062, 0.4253423810005188, -0.0018695156322792172, -0.11304362118244171, 0.4139781892299652, 0.8717098236083984, 0.01925663650035858, 0.45892465114593506, 0.6949043869972229, 0.29342344403266907, 0.7165437936782837, 0.025592034682631493, 0.4803139567375183, -0.5738294720649719, -0.19303199648857117, 0.9900560975074768, -0.7987839579582214, 0.39089199900627136, 0.18278968334197998, 0.1083795502781868, 1.2209917306900024, 0.8219242691993713, 0.021553928032517433, 0.6292708516120911, -0.23768749833106995, -0.45127174258232117, -0.3391411006450653, -0.05906587466597557, -0.24728746712207794, 0.4513014256954193, 0.2083491086959839, -0.27471253275871277, 0.03782917186617851, 0.33986690640449524, -0.16402584314346313, 0.19659225642681122, 0.0025226951111108065, 1.0129488706588745, -0.04153188318014145, -0.835326611995697, 0.03902299329638481, -0.15594680607318878, 0.5721609592437744, -0.6908355355262756, 0.336154967546463, -0.2575274407863617, 0.19407011568546295, -0.2914094030857086, -0.2609502375125885, -0.09390890598297119, -0.40208277106285095, 0.0164851862937212, -0.5876394510269165, 0.7752705812454224, -0.06031329184770584, 0.11019417643547058, 0.28398051857948303, 0.6778967976570129, -0.03378235176205635, 0.09237620234489441, -1.1193594932556152, 0.053562477231025696, -0.07671123743057251, -0.20863217115402222, 0.6461158394813538, 0.22865000367164612, 0.08404003083705902, 1.1276483535766602, 0.600990355014801, -0.14925768971443176, -0.059752944856882095, -0.06880075484514236, 0.9261080026626587, -0.5938765406608582, -0.7427758574485779, -0.5038345456123352, 0.6596275568008423, -0.23811757564544678, -0.5926966667175293, 0.8218962550163269, 0.36631765961647034, 0.23185819387435913, -0.040767401456832886, 0.7222722172737122, 0.08338386565446854, 0.3262472152709961, 0.03496350347995758, 0.5819979906082153, -0.39277929067611694, 0.18154646456241608, -0.6624705195426941, -1.2574740648269653, 0.23447903990745544, 0.6339687705039978, -0.10851927846670151, 0.2195773720741272, 0.5613296627998352, 0.7840384244918823, 0.03569972142577171, 0.06519613415002823, 0.2650492191314697, 0.05964849516749382, 0.6010815501213074, 0.4592525362968445, 0.8325455784797668, -0.18354277312755585, -0.19446006417274475, -0.2427951693534851, -0.38545453548431396, -0.38285234570503235, -0.611217200756073, -0.7679911851882935, -1.0129663944244385, -0.594566822052002, -0.34906235337257385, 0.2841435968875885, 1.0239087343215942, 1.0257216691970825, -0.4211941957473755, -0.22732549905776978, 0.0019554030150175095, -0.11332003772258759, -0.27110040187835693, -0.1803329437971115, -0.2550356388092041, -0.33768388628959656, -0.8995112776756287, 0.7652415037155151, 0.6969884037971497, 0.25444549322128296, -0.7036592364311218, -0.3606452941894531, 0.16902902722358704, 0.4973379969596863, 0.5036391019821167, 0.6398029923439026, -0.32214000821113586, -0.648791491985321, -0.01856735348701477, -0.10460271686315536, 0.4653765857219696, 1.0047351121902466, -1.0218791961669922, 0.6133151054382324, 0.2733340561389923, 0.5577917098999023, 0.3260796368122101, 0.40067964792251587, 1.0032603740692139, -0.3824242055416107, -0.05915576219558716, 0.4145350754261017, -0.1357433795928955, 0.36465808749198914, -0.5543062686920166, 0.14796389639377594, 0.28265684843063354, -0.7701860666275024, -1.0820262432098389, 0.49907511472702026, -1.4187191724777222, 0.02039419487118721, 0.6211262941360474, -0.015970440581440926, -0.13026578724384308, -0.46184977889060974, -0.32733404636383057, 0.006889635231345892, -0.588602602481842, 0.9030022025108337, 0.45816728472709656, -0.6154831051826477, -0.3592240810394287, -0.0914493054151535, 0.7604827880859375, 0.39954984188079834, -1.136267066001892, -0.08565723150968552, 0.1393953114748001, 0.49033322930336, 0.40161651372909546, 0.9513617157936096, 0.2987975478172302, 0.5083655714988708, -0.1875266581773758, -0.32026588916778564, 0.20051370561122894, -0.3679500222206116, -0.5055373311042786, 0.23833106458187103, 0.13457098603248596, -0.00850500725209713 ]
http://arxiv.org/abs/2406.13948v1
http://arxiv.org/pdf/2406.13948v1
CityGPT: Empowering Urban Spatial Cognition of Large Language Models
2024-06-20T02:32:16
2024-06-20T02:32:16
Jie Feng, Yuwei Du, Tianhui Liu, Siqi Guo, Yuming Lin, Yong Li
cs.AI
cs.AI, cs.CL, cs.LG
Large language models(LLMs) with powerful language generation and reasoning capabilities have already achieved success in many domains, e.g., math and code generation. However, due to the lacking of physical world's corpus and knowledge during training, they usually fail to solve many real-life tasks in the urban space. In this paper, we propose CityGPT, a systematic framework for enhancing the capability of LLMs on understanding urban space and solving the related urban tasks by building a city-scale world model in the model. First, we construct a diverse instruction tuning dataset CityInstruction for injecting urban knowledge and enhancing spatial reasoning capability effectively. By using a mixture of CityInstruction and general instruction data, we fine-tune various LLMs (e.g., ChatGLM3-6B, Qwen1.5 and LLama3 series) to enhance their capability without sacrificing general abilities. To further validate the effectiveness of proposed methods, we construct a comprehensive benchmark CityEval to evaluate the capability of LLMs on diverse urban scenarios and problems. Extensive evaluation results demonstrate that small LLMs trained with CityInstruction can achieve competitive performance with commercial LLMs in the comprehensive evaluation of CityEval. The source codes are openly accessible to the research community via https://github.com/tsinghua-fib-lab/CityGPT.
[ -0.43306729197502136, -0.8328490257263184, 0.9171372652053833, 0.19883377850055695, 0.13152623176574707, 0.20730040967464447, -0.4367871880531311, -0.36615070700645447, -0.256875604391098, 0.3047880530357361, -0.23830941319465637, -0.6299347281455994, -0.2941356897354126, -0.21716180443763733, -0.13239063322544098, 0.6678851246833801, -0.22284820675849915, 0.09479222446680069, -0.1980295330286026, 0.08249201625585556, -0.6634917855262756, -0.28082209825515747, -0.6532536149024963, -0.43078768253326416, 0.04678765684366226, 0.5966154932975769, 0.6096217632293701, 0.5953528881072998, 0.4928381145000458, 0.2239374816417694, 0.10230698436498642, 0.2597643733024597, -0.4226243793964386, -0.4072056710720062, -0.3588961660861969, -0.09923267364501953, -0.3978803753852844, -0.28708216547966003, 0.5869730114936829, 0.6596998572349548, -0.47811323404312134, 0.020311737433075905, 0.11099276691675186, 0.40020737051963806, -0.31343117356300354, 0.2915094196796417, -0.520102858543396, -0.09262971580028534, 0.05701107531785965, -0.009932821616530418, 0.05190664902329445, -0.40654563903808594, 0.13035164773464203, -0.6330815553665161, 0.18412649631500244, 0.336392343044281, 0.37826576828956604, 0.4495072066783905, -0.4536704123020172, -0.2118099331855774, -0.8710805177688599, 0.7224441170692444, -0.5209885239601135, 0.5576304197311401, 0.24719370901584625, 0.5510411858558655, -0.1525200754404068, -0.3909762501716614, -0.454850435256958, -0.18195058405399323, -0.0003616989706642926, 0.18814882636070251, 0.11398123949766159, 0.1320476084947586, 0.4312792718410492, 0.10289217531681061, -0.7744925022125244, 0.0007172779878601432, -0.5184553861618042, 0.05305347591638565, 0.4712848961353302, 0.2726529836654663, 0.2139098346233368, -0.1332777738571167, -0.4704322814941406, -0.015582322143018246, -0.92987459897995, -0.1127648800611496, -0.12696605920791626, 0.23859690129756927, -0.13405956327915192, 0.4008370637893677, -0.08086829632520676, 0.35161474347114563, -0.15428170561790466, 0.0019356064731255174, 0.04491998627781868, -0.28695398569107056, -0.33353954553604126, -0.11671624332666397, 0.5691922307014465, 0.02650083415210247, 0.3210597038269043, -0.21468788385391235, -0.1028091236948967, -0.3081817328929901, 0.2175888866186142, -0.6991904377937317, -0.3593060374259949, 0.33257997035980225, 0.13039341568946838, 0.03414783254265785, -0.08849017322063446, -0.6088264584541321, -0.3659370243549347, -0.4308273196220398, -0.08208420127630234, -0.5614546537399292, -0.174660325050354, 0.4418810307979584, 0.10170551389455795, 0.2259783148765564, 0.47640350461006165, -1.2309869527816772, -0.026654889807105064, 0.70073002576828, 0.5814275741577148, 0.02062145061790943, -0.5036920309066772, 0.18359673023223877, 0.5791876316070557, -0.2810889184474945, 0.8209974765777588, -0.4574582874774933, -0.3426213264465332, -0.05411560833454132, -0.360836386680603, -0.022410064935684204, -0.6899375915527344, 0.5219870209693909, -0.22747720777988434, -0.1938854157924652, -0.19211190938949585, -0.3009859621524811, 0.02082544006407261, 0.6726602911949158, -0.42434701323509216, 1.4412200450897217, 0.19952817261219025, -0.45545825362205505, 0.4014202058315277, -0.8366227149963379, -0.3458206057548523, 0.3132193982601166, -0.1750745326280594, -0.12370974570512772, 0.017098981887102127, 0.7904418110847473, 0.4462825059890747, -0.13657082617282867, 0.5999383330345154, -0.25015389919281006, -0.37962350249290466, -0.18663367629051208, -0.07350768893957138, 0.5153613686561584, 0.0929068997502327, -0.3053627014160156, 0.0598900280892849, -0.7166951894760132, -0.002774871652945876, 0.16810420155525208, -0.5641646385192871, -0.15402625501155853, 0.04765850305557251, -0.01126685831695795, 0.13335444033145905, 0.39185914397239685, -0.6427602767944336, 0.4066196382045746, -0.5749091506004333, 0.5643569827079773, 0.5550878047943115, -0.1524650752544403, 0.7358738780021667, -0.32237789034843445, 0.4955708086490631, -0.26109471917152405, 0.06879280507564545, 0.17498040199279785, -0.35002389550209045, -0.5195860266685486, -0.36330124735832214, -0.11429119110107422, 0.606015682220459, -0.9369098544120789, 0.3507799506187439, -0.7267813086509705, -0.7144483923912048, -0.3823786675930023, 0.12240434437990189, -0.07874657213687897, 0.25494804978370667, 0.22532518208026886, 0.3308277428150177, -0.7713534235954285, -0.5161909461021423, -0.004763639997690916, 0.018276581540703773, -0.2609867453575134, 0.5893179178237915, 0.6907275915145874, -0.18609634041786194, 1.0031954050064087, -0.47281503677368164, -0.11046349257230759, -0.33752384781837463, -0.31252264976501465, 0.0838218405842781, 0.42719945311546326, 0.545447587966919, -0.5004652738571167, -0.27911946177482605, 0.065607950091362, -0.7563727498054504, -0.21101857721805573, 0.10093891620635986, -0.2093988060951233, -0.34988662600517273, 0.4621999263763428, -0.7652225494384766, 0.2531006336212158, 0.49092432856559753, -0.2763528525829315, 0.6155368685722351, -0.3913058340549469, 0.13468633592128754, -0.8459047675132751, -0.16274859011173248, -0.050116539001464844, -0.2382790744304657, -0.4499662220478058, 0.5434333086013794, -0.13547348976135254, -0.5682950615882874, -0.3770953118801117, 0.773693859577179, -0.08398979157209396, -0.2708876430988312, -0.15790937840938568, 0.6090194582939148, 0.04905190318822861, 0.5257205367088318, 0.2524254620075226, 0.8833345174789429, 0.3475896716117859, -0.3218945264816284, 0.486159086227417, 0.385946124792099, -0.815513551235199, 0.12611375749111176, -0.5728414058685303, 0.30895400047302246, -0.021710261702537537, 0.375934898853302, -0.8495794534683228, -0.23803560435771942, 0.04249969869852066, -0.0853215828537941, -0.36955735087394714, -0.08366239070892334, -1.0786690711975098, -0.4039316177368164, -0.009591296315193176, 0.44160741567611694, 0.13099390268325806, -0.853705644607544, 0.6089413166046143, 0.21889057755470276, -0.07047020643949509, 0.011930987238883972, -0.7033495903015137, 0.03128543868660927, -0.24751417338848114, -0.6925414800643921, -0.12995484471321106, -0.27275699377059937, -0.24196772277355194, -0.2532714009284973, 0.24234753847122192, -0.11265521496534348, 0.16679958999156952, -0.02787158451974392, 0.07641739398241043, 0.10851700603961945, 0.24080248177051544, -0.09987961500883102, 0.014798833057284355, 0.1119484230875969, -0.6350337266921997, 0.4747975766658783, -0.1431165337562561, -0.5102571249008179, 0.27722853422164917, 0.21315792202949524, 0.5098450779914856, -0.4144395887851715, 0.3726736903190613, 0.6018412113189697, -0.41961756348609924, -0.4172437787055969, -0.3002597391605377, -0.04164956882596016, -0.466949462890625, 0.5520603656768799, -0.41086292266845703, -1.189017653465271, 0.4474146068096161, -0.477730929851532, 0.19483456015586853, -0.07339736819267273, 0.686181366443634, -0.3281882405281067, 0.8367702960968018, 0.4902610778808594, -0.03186865523457527, 0.3644907474517822, -0.1369704157114029, 0.45801711082458496, -0.9431261420249939, -0.34839797019958496, -0.3009028434753418, -0.3819422721862793, -0.4880957305431366, -0.8960018157958984, 0.6356394290924072, 0.052958473563194275, -0.6460797190666199, 0.270709365606308, -0.5538610816001892, 0.7276899218559265, 0.4739447832107544, 0.24055606126785278, 0.2961139678955078, 0.21275974810123444, -0.11209733039140701, -0.1790110170841217, -1.010393500328064, -0.4200229346752167, 0.8969860672950745, 0.3182190954685211, 0.7274866104125977, 0.3665294647216797, 0.5161862969398499, 0.07973810285329819, 0.12744206190109253, -0.5889248251914978, 0.6226221919059753, -0.10105685889720917, -0.6564562916755676, -0.40182676911354065, -0.37695634365081787, -0.8019404411315918, 0.2145473062992096, -0.22864069044589996, -0.870129406452179, -0.04872589558362961, -0.051757123321294785, -0.5125844478607178, 0.4283207654953003, -0.49671635031700134, 0.5777113437652588, -0.4166557192802429, -0.26318666338920593, -0.44108450412750244, -0.007541046943515539, 0.1883610635995865, -0.14467781782150269, 0.5272914171218872, -0.13090255856513977, 0.11957482248544693, 0.20481732487678528, -0.10022647678852081, 0.8866040110588074, -0.2136838287115097, -0.4045478105545044, 0.1589539796113968, 0.03393800929188728, 0.5608160495758057, 0.12988713383674622, -0.04503696784377098, 0.3447367250919342, -0.1846211850643158, -0.467103511095047, -0.7950753569602966, 0.7034971117973328, -0.7459073662757874, -0.4020811915397644, 0.1615932434797287, -0.9835283160209656, -0.40361642837524414, 0.028970783576369286, -0.03193774074316025, 0.43079105019569397, -0.3228817582130432, -0.10297975689172745, 0.7436397075653076, -0.26040974259376526, 0.16941608488559723, 0.4032163918018341, -0.5380083322525024, -0.42781487107276917, 0.8081077933311462, -0.15574496984481812, -0.031213806942105293, 0.5254659056663513, 0.35162240266799927, -0.2545401155948639, -0.6122874617576599, -0.536933422088623, -0.1385318636894226, -0.7349188923835754, -0.04691159725189209, -0.12284742295742035, -0.09165700525045395, -0.38348594307899475, -0.4928101599216461, -0.16784527897834778, -0.21175476908683777, 0.3002653121948242, -0.3408825099468231, 0.10138750821352005, 1.1275277137756348, -0.06463789939880371, 0.293099045753479, -0.8068926930427551, -0.0030845373403280973, 0.2015499770641327, 0.3403036594390869, 0.21621154248714447, -0.2791106402873993, -0.7470141649246216, 0.20790299773216248, -0.10892103612422943, -0.3200462758541107, 0.24786381423473358, -0.29730507731437683, 0.3144296705722809, 0.1958673745393753, -0.26737502217292786, 0.7665557861328125, -0.6010173559188843, 0.7146605253219604, -0.21347171068191528, -0.7387202382087708, 0.7793897986412048, -0.8002261519432068, 0.7536779642105103, 0.3183826506137848, -0.04874522238969803, -0.3283797800540924, -0.510718584060669, -0.49045225977897644, -0.7348631024360657, 0.4142032265663147, 0.12487837672233582, -0.07162922620773315, -0.0058050802908837795, 0.5493049621582031, -0.16229532659053802, 0.10904653370380402, -0.6959454417228699, 0.25985029339790344, -0.18014588952064514, -0.2723839282989502, 0.027781540527939796, -0.14839054644107819, -0.1682346910238266, -0.557658314704895, 0.5400148034095764, -0.20751696825027466, 0.09116338938474655, 0.19686667621135712, -0.11092369258403778, 0.2168733924627304, 0.3886163532733917, 0.5111455917358398, 0.6807207465171814, -0.12545554339885712, -0.024017751216888428, 0.5933347940444946, -0.4267927408218384, 0.05139421299099922, -0.001998544903472066, -0.26102781295776367, -0.6104845404624939, 0.5492340922355652, 0.6466513872146606, 0.5093896985054016, -0.7498093247413635, 0.24029654264450073, 0.04865754395723343, -0.16493578255176544, -0.31512975692749023, -0.044021762907505035, 0.12733979523181915, 0.5901573896408081, 0.2838341295719147, -0.11670030653476715, -0.0098741315305233, -0.3381407558917999, -0.007766520604491234, 0.2340567708015442, -0.2819846272468567, -0.058315228670835495, 0.644059419631958, 0.37096062302589417, 0.0004901260836049914, 0.8621222972869873, -0.30595168471336365, -0.579958975315094, 0.6111561059951782, 0.6269292831420898, 0.7169437408447266, 0.03277828171849251, -0.17090509831905365, 0.618793249130249, 0.6459800601005554, 0.08799035847187042, 0.2666303217411041, -0.015238885767757893, -1.0674421787261963, -0.7291611433029175, -0.6189932823181152, -0.3074980080127716, 0.13550938665866852, -0.2278386801481247, -0.06621895730495453, -0.7653465867042542, 0.18015989661216736, -0.7069000601768494, 0.32929036021232605, -0.5767546892166138, 0.1720852106809616, 0.34057706594467163, 1.175635576248169, -0.7376989126205444, 0.9246842265129089, 1.149186134338379, 0.04623468220233917, -0.9736472964286804, 0.06431452184915543, -0.23848509788513184, -0.8439702987670898, 0.6265894770622253, -0.13862420618534088, -0.14081817865371704, 0.09778937697410583, -0.8137902617454529, -0.7672257423400879, 1.248910665512085, 0.45977261662483215, -0.9145355820655823, -0.08002281188964844, 0.6052513122558594, 0.5455532670021057, -0.40310895442962646, 0.14075767993927002, 0.738452136516571, 0.6304415464401245, 0.11140115559101105, -0.9043828248977661, 0.09093570709228516, 0.24370992183685303, 0.09996533393859863, 0.22184030711650848, -0.6821708083152771, 0.3399274945259094, -0.49202340841293335, -0.08084902912378311, 0.142445370554924, 0.5077439546585083, 0.6278132796287537, -0.045799773186445236, 0.45057591795921326, 0.9241857528686523, 0.9126348495483398, -0.3822529911994934, 0.9957624673843384, -0.36197343468666077, 0.4069540500640869, 1.0672037601470947, -0.12258024513721466, 0.8072371482849121, 0.07297801226377487, -0.10842753201723099, 0.337042897939682, 0.5324705243110657, -0.1889858990907669, 0.5295472145080566, 0.2921145558357239, -0.37264010310173035, -0.5498462319374084, 0.047856222838163376, 0.09685451537370682, 0.7135127782821655, 0.5150591731071472, 0.38592612743377686, -0.47903868556022644, 0.2250785380601883, -0.13343165814876556, 0.17223848402500153, -0.3572169542312622, 0.6547927856445312, 0.07652655243873596, -0.3446601331233978, 0.1301581859588623, -0.07178370654582977, 0.3905965983867645, -0.6022461652755737, -0.21191266179084778, -0.26358479261398315, 0.2044842392206192, -0.23213955760002136, -1.016202688217163, 0.29751625657081604, -0.17148375511169434, -0.2960299253463745, -0.30510377883911133, 0.6971960067749023, -0.5980892181396484, -0.4038575291633606, 0.27984723448753357, 0.40995699167251587, 0.15764589607715607, -0.10091612488031387, -0.6552093029022217, -0.022254198789596558, 0.05285748466849327, 0.062036383897066116, 0.2202671766281128, 0.7290893793106079, -0.23336747288703918, 1.0036327838897705, 0.6926098465919495, 0.3083961009979248, -0.17645305395126343, 0.3259170651435852, 0.618409276008606, -0.4895983040332794, -0.34213942289352417, -0.6955076456069946, 0.24834714829921722, -0.02095455303788185, -0.08469213545322418, 0.681343674659729, 0.7898747324943542, 0.8823522329330444, 0.09768813103437424, 1.0443034172058105, -0.09805220365524292, 0.30015867948532104, -0.49929043650627136, 0.6282396912574768, -0.23912283778190613, 0.5834252834320068, 0.16585996747016907, -0.8544741868972778, -0.23915840685367584, 0.6458974480628967, -0.6545931100845337, 0.07050202786922455, 0.4750180244445801, 0.644788920879364, -0.1996077299118042, -0.16276255249977112, 0.5034383535385132, 0.2008163183927536, 0.586164653301239, 0.9962578415870667, 0.920798659324646, -0.23675227165222168, 0.7847606539726257, -0.10322803258895874, -0.2554064989089966, 0.2523944079875946, -0.6916728019714355, -1.1040534973144531, -0.24234046041965485, -0.057215943932533264, 0.09671548008918762, 0.04947242885828018, 0.6886900067329407, 0.846773624420166, -0.526402473449707, -0.10054386407136917, -0.1941048502922058, 0.039490364491939545, -0.02564488723874092, -0.2646130621433258, 0.4210754334926605, -0.06159406527876854, -0.9150751829147339, 0.6848275661468506, 0.3589151203632355, -0.010465151630342007, -0.42839697003364563, -0.03975227102637291, 0.1508198082447052, -0.07894524931907654, 0.7004426717758179, -0.006675405893474817, -0.346569299697876, -0.5374054312705994, -0.17224887013435364, -0.21777528524398804, 0.027336660772562027, 0.8363767266273499, -0.6971929669380188, 0.16498367488384247, 0.24590298533439636, 0.5109207630157471, 0.4907909035682678, -0.10009893029928207, 0.6481044292449951, -1.1658189296722412, 0.21661479771137238, 0.04597071185708046, 0.5841361880302429, 0.6120842695236206, -0.3377004563808441, 0.6495110392570496, -0.011786218732595444, -0.8161614537239075, -0.08824657648801804, 0.4102027416229248, -0.612209141254425, -0.23765899240970612, 1.2439661026000977, 0.031172364950180054, -0.045616183429956436, -0.16682876646518707, -0.29708513617515564, -0.04931764677166939, -0.4778898060321808, 0.9442095756530762, 0.6684252023696899, 0.13463975489139557, -0.3041427731513977, -0.8983168601989746, 0.2266814112663269, 0.08435426652431488, -1.020120620727539, 0.36107346415519714, 0.42342138290405273, 0.27010244131088257, 0.04452130198478699, 0.6515414714813232, 0.09015455096960068, 0.08324483036994934, 0.028957758098840714, 0.2969300448894501, -0.2199069857597351, -0.2997223734855652, -0.1991482824087143, -0.05250111594796181, 0.16972261667251587, 0.14152958989143372 ]
http://arxiv.org/abs/2406.13947v1
http://arxiv.org/pdf/2406.13947v1
AspirinSum: an Aspect-based utility-preserved de-identification Summarization framework
2024-06-20T02:29:46
2024-06-20T02:29:46
Ya-Lun Li
cs.AI
cs.AI, cs.CL
Due to the rapid advancement of Large Language Model (LLM), the whole community eagerly consumes any available text data in order to train the LLM. Currently, large portion of the available text data are collected from internet, which has been thought as a cheap source of the training data. However, when people try to extend the LLM's capability to the personal related domain, such as healthcare or education, the lack of public dataset in these domains make the adaption of the LLM in such domains much slower. The reason of lacking public available dataset in such domains is because they usually contain personal sensitive information. In order to comply with privacy law, the data in such domains need to be de-identified before any kind of dissemination. It had been much research tried to address this problem for the image or tabular data. However, there was limited research on the efficient and general de-identification method for text data. Most of the method based on human annotation or predefined category list. It usually can not be easily adapted to specific domains. The goal of this proposal is to develop a text de-identification framework, which can be easily adapted to the specific domain, leverage the existing expert knowledge without further human annotation. We propose an aspect-based utility-preserved de-identification summarization framework, AspirinSum, by learning to align expert's aspect from existing comment data, it can efficiently summarize the personal sensitive document by extracting personal sensitive aspect related sub-sentence and de-identify it by substituting it with similar aspect sub-sentence. We envision that the de-identified text can then be used in data publishing, eventually publishing our de-identified dataset for downstream task use.
[ -0.15747538208961487, -0.7147135138511658, 0.17835082113742828, 0.024402890354394913, -0.36790356040000916, 0.0691620409488678, -0.3308470845222473, -0.3757096230983734, 0.3562144935131073, 0.8194676041603088, -0.07537133246660233, -0.6242799162864685, -0.5878677368164062, 0.08948565274477005, -0.36864516139030457, 1.1150568723678589, -0.11231857538223267, -0.4164983034133911, -0.41240987181663513, -0.05230998620390892, -0.055657967925071716, -0.8194372057914734, -0.6506204605102539, -0.3190094828605652, 0.421631395816803, 0.5872654318809509, 0.17547014355659485, 0.7149596810340881, 0.6211088299751282, 0.33687281608581543, -0.3559720516204834, 0.08157288283109665, -0.23858407139778137, 0.1024494469165802, -0.4528765082359314, -0.21570970118045807, -0.7165037393569946, -0.17477644979953766, 0.5989890694618225, 0.7085031270980835, 0.3009061813354492, 0.3360542058944702, 0.5139978528022766, 0.8214465975761414, -0.8339465856552124, 0.03542047366499901, -0.466508686542511, -0.16824595630168915, -0.19119849801063538, -0.35905522108078003, 0.014273344539105892, -0.33821892738342285, -0.03306475281715393, -0.501081645488739, 0.31522083282470703, -0.09329177439212799, 1.0670952796936035, 0.008078640326857567, -0.6188192367553711, -0.2891559600830078, -0.5668445229530334, 0.6325843334197998, -0.5859498381614685, -0.1419409215450287, 0.6948981881141663, 0.14337266981601715, -0.11165142804384232, -0.4673367440700531, -0.37758833169937134, 0.15427933633327484, -0.271992564201355, -0.07032118737697601, 0.15743562579154968, 0.09057316184043884, -0.13300934433937073, 0.5404669046401978, -0.36743345856666565, 0.14872822165489197, -0.27565693855285645, -0.28227168321609497, 0.6679685711860657, -0.031954411417245865, 0.07105376571416855, -0.4721418023109436, -0.41786840558052063, 0.2648223340511322, -0.8209495544433594, 0.04117874428629875, 0.20236064493656158, 0.47930610179901123, -0.15625396370887756, 0.505862832069397, -0.4570266008377075, 0.2518743574619293, 0.05104425176978111, -0.1692577451467514, 0.37802499532699585, -0.11577007919549942, -0.49358880519866943, 0.2605768144130707, 0.806817889213562, 0.4537138044834137, 0.0687825009226799, 0.04807916283607483, -0.03213705122470856, -0.26854440569877625, 0.04771685600280762, -1.042076826095581, -0.39018458127975464, 0.5247783064842224, -0.4433393180370331, -0.273059219121933, -0.08703992515802383, -0.8097202181816101, -0.7120087742805481, -0.2713836431503296, 0.36010420322418213, -0.6689371466636658, -0.27976036071777344, -0.29539063572883606, -0.0032029126305133104, -0.28433001041412354, 0.6885931491851807, -0.9918412566184998, 0.31505537033081055, 0.9526719450950623, 0.7427279353141785, -0.3350587785243988, 0.021737078204751015, -0.19646055996418, 0.37116187810897827, -0.030074309557676315, 0.8872050642967224, -0.4812811017036438, -0.44378039240837097, 0.07543685287237167, 0.1883891224861145, 0.08735921233892441, -0.6292597055435181, 0.535431444644928, -0.3939988911151886, 0.16289971768856049, -0.4185221493244171, -0.4191237688064575, -0.6174058318138123, 0.632090151309967, -0.4816155731678009, 0.6243115663528442, 0.024580975994467735, -1.0242650508880615, 0.495638906955719, -0.7047235369682312, -0.5104713439941406, 0.15966707468032837, -0.13903284072875977, -0.8132980465888977, 0.0570470467209816, 0.277629017829895, 0.5285312533378601, -0.3514223098754883, 0.3374834358692169, -0.19364279508590698, -0.16038548946380615, 0.4484039843082428, -0.3264573812484741, 0.7355774641036987, 0.3497310280799866, -0.06007738411426544, 0.21516448259353638, -0.6785864233970642, -0.29102304577827454, -0.12159978598356247, -0.3923785388469696, -0.8236833214759827, 0.000982935423962772, 0.29571282863616943, -0.07870174199342728, 0.5715330243110657, -0.4770965874195099, 0.061062075197696686, -0.42761126160621643, 0.1351717859506607, 0.7016977667808533, 0.35230836272239685, 0.3815973401069641, -0.3632538914680481, 0.4337628185749054, 0.2727036774158478, 0.039263684302568436, -0.18672670423984528, -0.2515144646167755, -0.7274743914604187, -0.5015101432800293, 0.6696444153785706, 0.46412956714630127, -0.7470133304595947, 0.6857661604881287, -0.5286535620689392, -0.18080134689807892, -0.15186768770217896, 0.18085484206676483, 0.6204584240913391, 0.5250252485275269, 0.20320568978786469, -0.34834104776382446, -0.3254348933696747, -1.001800775527954, -0.43549779057502747, 0.02973957732319832, -0.31690672039985657, 0.373691588640213, 0.46684718132019043, -0.11649054288864136, 1.0150697231292725, -0.5653576850891113, -0.6673126220703125, -0.46330922842025757, 0.06759985536336899, 0.1063641756772995, 0.6167541742324829, 0.46575745940208435, -1.1580361127853394, -0.46741190552711487, 0.1379995197057724, -0.5682554841041565, -0.2367471158504486, 0.22938551008701324, -0.018177738413214684, 0.2865135073661804, 0.0857010930776596, 0.1246616542339325, 0.46465760469436646, 0.46536412835121155, -0.641623854637146, 0.09640597552061081, -0.43040773272514343, 0.7127382755279541, -1.4481585025787354, 0.6083171963691711, 0.15787391364574432, -0.4573916494846344, -0.5812394618988037, -0.025641832500696182, 0.26881518959999084, -0.19385851919651031, -0.32756027579307556, 0.571733295917511, -0.43176209926605225, 0.23503148555755615, -0.45180225372314453, 0.2001224309206009, -0.04766641929745674, 0.5322669148445129, 0.1009872704744339, 0.42899608612060547, 0.3194406032562256, -0.8872672319412231, -0.2950035035610199, 0.30453822016716003, 0.028280338272452354, 0.7483334541320801, -0.3044910728931427, -0.07558538764715195, -0.2125236541032791, -0.10986575484275818, -0.7737996578216553, -0.32094746828079224, 0.4096459746360779, -0.3790680468082428, 0.3403071165084839, -0.2968593239784241, -0.3715381920337677, 0.09864462167024612, -0.4949584901332855, 0.24265660345554352, 0.2892685532569885, -0.37228283286094666, 0.7549408674240112, 0.8714588284492493, -0.5308947563171387, -0.5592966079711914, -0.4649032652378082, 0.1306697279214859, -0.550868034362793, -0.12773257493972778, 0.6688752174377441, 0.2117740511894226, -0.15990766882896423, 0.17917431890964508, -0.07638480514287949, -0.4319116175174713, 0.30097174644470215, 0.5226603746414185, 0.11467833817005157, 0.16178561747074127, 0.3243882656097412, 0.47979193925857544, -0.2988530397415161, -0.21937832236289978, 0.17909571528434753, 0.31114712357521057, 0.36050960421562195, -0.20820629596710205, -0.5125001668930054, 0.6199665665626526, 0.1362551599740982, -0.10609493404626846, 0.41085317730903625, 0.1702830046415329, -0.5199186205863953, 0.09007275104522705, -0.3880918323993683, 0.12940813601016998, -0.508217453956604, 0.40018951892852783, -0.3045601546764374, -0.8183258771896362, 0.4743286967277527, -0.4824760854244232, 0.2349119633436203, 0.534727156162262, 0.49386030435562134, 0.05144507437944412, 0.1771802306175232, 0.7694497108459473, -0.23278066515922546, 0.4918561577796936, -0.127553328871727, -0.014955808408558369, -0.9714424014091492, -0.21739156544208527, -0.5953289866447449, -0.4660412073135376, -0.39646604657173157, -0.25718486309051514, 0.5150761008262634, 0.11180861294269562, -0.10368188470602036, 0.22286942601203918, -0.718938410282135, 0.34531286358833313, 0.3394370377063751, 0.35107719898223877, 0.5692647695541382, 0.00401360122486949, 0.3446477949619293, 0.10391887277364731, -0.11506747454404831, -0.6414387226104736, 1.2021822929382324, 0.29165413975715637, 0.5888163447380066, 0.24785083532333374, 0.8037071228027344, 0.4812433123588562, 0.5520022511482239, -0.5665566325187683, 0.5389869809150696, -0.5350286960601807, -0.6187860369682312, -0.17655186355113983, -0.555266261100769, -1.1215486526489258, 0.13837212324142456, -0.21883626282215118, -1.0211163759231567, 0.24018290638923645, 0.5350856184959412, -0.44909313321113586, 0.13163252174854279, -0.6258612871170044, 0.6160584092140198, -0.040028590708971024, -0.29601413011550903, -0.16057045757770538, -0.3683851659297943, 0.10469305515289307, -0.20510180294513702, 0.22732846438884735, -0.3930865228176117, -0.19208618998527527, 1.143964409828186, -0.5254302620887756, 0.9014409780502319, -0.38724005222320557, 0.08291903138160706, 0.23501449823379517, -0.025750650092959404, 0.20682276785373688, 0.13860251009464264, 0.0687597393989563, 0.17817442119121552, -0.01546669751405716, -0.2050471156835556, -0.5327326059341431, 0.8881810307502747, -0.6340072751045227, -0.5693913698196411, -0.3977275490760803, -0.10557536780834198, -0.20786306262016296, 0.2944662868976593, 0.2818383276462555, 0.5980529189109802, -0.19973868131637573, 0.2246461659669876, 0.5876761674880981, -0.22202780842781067, 0.6597643494606018, 0.7287245392799377, -0.10093674808740616, -0.7023239731788635, 0.9304447770118713, 0.2260797619819641, -0.1621970534324646, 0.8236072063446045, 0.37433382868766785, -0.2356429398059845, -0.6514753699302673, -0.15140457451343536, 0.01647372730076313, -0.5459660887718201, -0.4687390923500061, -0.9287058711051941, -0.1273743212223053, -0.43269848823547363, -0.2949717938899994, -0.31321221590042114, -0.4649510085582733, -0.39948976039886475, 0.2244352549314499, 0.6573433876037598, 0.5517218708992004, 0.16314412653446198, 0.24825860559940338, -0.6282511949539185, 0.32263538241386414, 0.07032158225774765, 0.27394306659698486, -0.06889928877353668, -0.6036038398742676, -0.28190913796424866, 0.008886892348527908, -0.3008917272090912, -0.7306746244430542, 0.604917585849762, 0.27454403042793274, 0.2540190815925598, 0.5284275412559509, 0.3055570721626282, 0.4917941689491272, -0.2558803856372833, 0.6697044372558594, 0.12561413645744324, -0.9521222114562988, 0.5278167724609375, -0.22508284449577332, 0.049627941101789474, 0.8684957027435303, 0.3910595178604126, -0.47739866375923157, -0.3153427243232727, -0.6368840336799622, -1.3229337930679321, 0.44312864542007446, 0.13651378452777863, 0.028342893347144127, 0.40408429503440857, 0.391254723072052, 0.3572767972946167, 0.49489814043045044, -0.3857867419719696, -0.28303632140159607, -0.028879521414637566, -0.43887826800346375, -0.09543361514806747, -0.4172069728374481, -0.10850581526756287, -0.21329158544540405, 0.7577865123748779, -0.10374052822589874, 0.16382956504821777, 0.3535420298576355, -0.15291447937488556, 0.29927191138267517, 0.5137143135070801, 0.4741436243057251, 0.34946608543395996, -0.21109594404697418, 0.356153666973114, -0.0077014523558318615, -0.8401534557342529, 0.21263912320137024, 0.11956266313791275, -0.0671447291970253, -0.1995985209941864, 0.1705278903245926, 0.27458980679512024, 0.2520599365234375, -0.45035287737846375, 0.7602914571762085, 0.2102937400341034, -0.07398772984743118, -0.6166822910308838, 0.19507364928722382, -0.18889610469341278, -0.07698474824428558, 0.549837052822113, -0.03785894811153412, 0.39317774772644043, -0.36862003803253174, 0.31837329268455505, 0.13824142515659332, -0.6012281775474548, -0.35872524976730347, 0.6139536499977112, 0.4249451756477356, -0.43108227849006653, 0.20752324163913727, -0.23513641953468323, -0.39270973205566406, 0.47778376936912537, 0.31136125326156616, 1.1063872575759888, -0.33061161637306213, 0.033333007246255875, 0.06549440324306488, -0.11369061470031738, 0.22414466738700867, 0.3361509144306183, -0.12363014370203018, -0.6282063722610474, -0.2971601188182831, -0.6055827736854553, -0.20686352252960205, 0.1670263409614563, -0.539831817150116, 0.255220890045166, -0.5752995610237122, -0.16973160207271576, 0.07296118885278702, 0.2513629198074341, -0.44896039366722107, 0.3215898275375366, -0.1312916874885559, 0.6178950667381287, -1.0683178901672363, 0.9208971261978149, 0.7330846786499023, -0.16974028944969177, -0.5294362902641296, 0.177982896566391, 0.2722170054912567, -0.4417373836040497, 0.36573243141174316, 0.10529033839702606, 0.11496611684560776, -0.20362135767936707, -0.16560359299182892, -0.6717759966850281, 1.1037981510162354, 0.24539823830127716, -0.3128933906555176, 0.25456252694129944, -0.04775221273303032, 0.5339273810386658, -0.34797701239585876, 0.10235769301652908, 0.39083144068717957, 0.3165450990200043, 0.4451802968978882, -0.9760122895240784, 0.36669018864631653, -0.4716004729270935, -0.008718626573681831, 0.24646960198879242, -0.619982123374939, 0.8237700462341309, 0.012717312201857567, -0.1865926831960678, -0.13941942155361176, 0.6387494802474976, 0.03466805815696716, 0.417491614818573, 0.338652104139328, 0.2372003048658371, 0.6411429643630981, 0.04052531719207764, 0.7441629767417908, -0.23668129742145538, 0.392306387424469, 1.0996547937393188, -0.12836632132530212, 0.9309855699539185, 0.2586970329284668, 0.03475185111165047, 0.2884661555290222, 0.48689916729927063, 0.23861739039421082, 0.6006374955177307, -0.14310820400714874, -0.3285800516605377, -0.003395615378394723, -0.2143300324678421, -0.20078983902931213, 0.5238016843795776, 0.5302059650421143, -0.7335399389266968, -0.2040063738822937, 0.04775681719183922, 0.4122782051563263, 0.17023883759975433, -0.5606448650360107, 1.1361852884292603, -0.040525712072849274, -0.3661980628967285, 0.3579021692276001, 0.16687710583209991, 0.8071295619010925, -0.49101629853248596, 0.08106760680675507, -0.14581716060638428, 0.22065284848213196, -0.42610350251197815, -0.574407160282135, 0.36026743054389954, 0.030576134100556374, -0.09232429414987564, -0.1129680797457695, 0.8179190754890442, -0.5695720911026001, -0.41364312171936035, -0.3125741183757782, 0.21627011895179749, 0.17096062004566193, -0.2652064263820648, -0.4819045960903168, -0.1671820431947708, 0.08694659918546677, -0.18570716679096222, 0.7067912817001343, 0.5726036429405212, -0.11317227780818939, 0.48823168873786926, 0.23286780714988708, 0.23034940659999847, -0.8481795787811279, -0.1736575961112976, 1.0349160432815552, -0.7736178636550903, -0.9529951810836792, -0.9336902499198914, 0.6449621319770813, -0.6180921792984009, -0.44240379333496094, 0.7705560922622681, 0.8034640550613403, 0.08520197868347168, 0.10614408552646637, 0.9000216722488403, -0.21938255429267883, 0.8936065435409546, -0.4908682703971863, 1.2146624326705933, -0.5117327570915222, 0.21527405083179474, -0.5219330191612244, -0.48916342854499817, -0.4058225154876709, 0.2600775361061096, -0.42787691950798035, -0.06666678935289383, 0.7542440295219421, 0.637701690196991, -0.05560208857059479, -0.11482551693916321, 0.26835596561431885, 0.00737513555213809, 0.4845985472202301, 0.4064718186855316, 0.10878001898527145, -0.2727878987789154, 0.2172403633594513, -0.21852409839630127, -0.6309664249420166, -0.6090057492256165, -0.9400721788406372, -1.2084028720855713, -0.9750718474388123, -0.72808837890625, -0.12429880350828171, 0.0787646695971489, 0.9766517281532288, 0.4275962710380554, -1.0354318618774414, 0.10694662481546402, 0.1875092089176178, 0.07063373178243637, -0.30728909373283386, -0.21519240736961365, 0.9246956706047058, 0.14366081357002258, -0.6618000268936157, -0.10367461293935776, 0.4874386787414551, 0.13321584463119507, -0.06689754873514175, 0.45764103531837463, 0.07457868754863739, -0.08598963171243668, 0.4570097029209137, 0.3582511842250824, -0.35420525074005127, -0.36591285467147827, -0.4917881488800049, 0.053799841552972794, 0.12452463805675507, 1.0280307531356812, -0.6808233261108398, 0.3519027531147003, 0.3900696337223053, 0.5114794373512268, 0.13864946365356445, 0.5015087723731995, 0.49944818019866943, -0.80772465467453, 0.3412001132965088, 0.29469045996665955, 0.17519058287143707, 0.40848833322525024, -0.777582049369812, 0.19997577369213104, 0.06659750640392303, -0.5424332022666931, -0.49102306365966797, -0.028378905728459358, -0.937235414981842, -0.3627035915851593, 1.2938168048858643, -0.43001189827919006, -0.6556457281112671, -0.6119934320449829, -0.24591951072216034, 0.08087955415248871, -0.6963983774185181, 1.0789506435394287, -0.03258522227406502, -0.11780200898647308, -0.005714297294616699, 0.01588345132768154, 0.8238605260848999, -0.11702714115381241, -0.985329270362854, 0.4461205005645752, 0.3111192286014557, 0.43669605255126953, 0.22192110121250153, 0.9868767857551575, -0.15462292730808258, -0.158269003033638, -0.1303628385066986, 0.08227228373289108, -0.385073721408844, -0.22460409998893738, -0.27643996477127075, 0.678633451461792, 0.07345486432313919, -0.5041215419769287 ]
http://arxiv.org/abs/2406.13945v1
http://arxiv.org/pdf/2406.13945v1
CityBench: Evaluating the Capabilities of Large Language Model as World Model
2024-06-20T02:25:07
2024-06-20T02:25:07
Jie Feng, Jun Zhang, Junbo Yan, Xin Zhang, Tianjian Ouyang, Tianhui Liu, Yuwei Du, Siqi Guo, Yong Li
cs.AI
cs.AI, cs.CL, cs.LG
Large language models (LLMs) with powerful generalization ability has been widely used in many domains. A systematic and reliable evaluation of LLMs is a crucial step in their development and applications, especially for specific professional fields. In the urban domain, there have been some early explorations about the usability of LLMs, but a systematic and scalable evaluation benchmark is still lacking. The challenge in constructing a systematic evaluation benchmark for the urban domain lies in the diversity of data and scenarios, as well as the complex and dynamic nature of cities. In this paper, we propose CityBench, an interactive simulator based evaluation platform, as the first systematic evaluation benchmark for the capability of LLMs for urban domain. First, we build CitySim to integrate the multi-source data and simulate fine-grained urban dynamics. Based on CitySim, we design 7 tasks in 2 categories of perception-understanding and decision-making group to evaluate the capability of LLMs as city-scale world model for urban domain. Due to the flexibility and ease-of-use of CitySim, our evaluation platform CityBench can be easily extended to any city in the world. We evaluate 13 well-known LLMs including open source LLMs and commercial LLMs in 13 cities around the world. Extensive experiments demonstrate the scalability and effectiveness of proposed CityBench and shed lights for the future development of LLMs in urban domain. The dataset, benchmark and source codes are openly accessible to the research community via https://github.com/tsinghua-fib-lab/CityBench
[ -0.4612423777580261, -0.7982755303382874, 0.7124946117401123, 0.528259813785553, -0.10672403872013092, 0.33385607600212097, -0.47584083676338196, -0.4396650791168213, -0.1517765372991562, 0.22567519545555115, -0.18564294278621674, -0.8647850155830383, -0.11413832008838654, -0.05846952274441719, -0.4768697917461395, 0.3321760296821594, -0.23790335655212402, 0.3755466639995575, -0.44772738218307495, -0.19399230182170868, -0.440199613571167, -0.3391159772872925, -0.691959023475647, -0.4522136449813843, 0.03571959212422371, 0.3618323802947998, 0.4108697772026062, 0.4389294683933258, 0.5830997824668884, 0.3342714309692383, -0.016859527677297592, -0.13711562752723694, -0.4751302897930145, -0.16623741388320923, -0.45452359318733215, -0.02669256366789341, -0.4386243224143982, -0.14610622823238373, 0.7863691449165344, 0.7447380423545837, -0.4868237376213074, 0.3545079231262207, 0.04581515118479729, 0.367220014333725, -0.3117749094963074, 0.24649083614349365, -0.3177732825279236, -0.10344204306602478, -0.13474197685718536, 0.1692846268415451, -0.0284800436347723, -0.40365105867385864, 0.09762085974216461, -0.21877145767211914, -0.11403997987508774, 0.3363230526447296, 0.4203663766384125, -0.00657724728807807, -0.4513956308364868, -0.06163734942674637, -0.9402182102203369, 0.7597621083259583, -0.5469486713409424, 0.6235921382904053, -0.12523995339870453, 0.7839771509170532, -0.22121599316596985, -0.6239316463470459, -0.5057202577590942, -0.4140337407588959, 0.21771065890789032, 0.10396569222211838, -0.042310453951358795, -0.01909610629081726, 0.3231772184371948, 0.34251081943511963, -0.6930684447288513, 0.13703982532024384, -0.2759651839733124, 0.019592663273215294, 0.470737487077713, 0.5687304735183716, 0.1469620168209076, -0.3382551670074463, -0.5433945059776306, -0.07216401398181915, -0.4702606499195099, 0.07265131920576096, 0.04168793931603432, 0.22888082265853882, -0.39282625913619995, 0.2915850579738617, -0.3640249967575073, 0.4081968069076538, -0.32516616582870483, -0.23797433078289032, 0.47672978043556213, -0.4130859375, -0.25882473587989807, -0.32338955998420715, 0.8956934213638306, 0.39709410071372986, 0.11285971105098724, -0.3384788930416107, -0.159697026014328, -0.18083269894123077, 0.11889426410198212, -0.8201268911361694, 0.09301693737506866, 0.4417811632156372, -0.27119287848472595, -0.1502685397863388, -0.06972797960042953, -0.9693570733070374, -0.3702644109725952, -0.22372888028621674, -0.22859524190425873, -0.24331779778003693, -0.3442876636981964, 0.1938290297985077, 0.21743953227996826, 0.3364608883857727, 0.5762868523597717, -0.6537458300590515, 0.4469461143016815, 0.6149179935455322, 0.8387057781219482, -0.5276564359664917, -0.37119778990745544, -0.035644449293613434, 0.23747165501117706, -0.2509629428386688, 0.7267118096351624, -0.3531906008720398, -0.5044042468070984, -0.09210637956857681, -0.24621188640594482, 0.25683125853538513, -0.7279850244522095, 0.6624230146408081, -0.32271626591682434, -0.5133776068687439, 0.03199497237801552, -0.31809237599372864, -0.03312581405043602, 0.590392529964447, -0.7326765656471252, 1.3947951793670654, 0.18061891198158264, -0.4348030984401703, 0.31527721881866455, -0.7645696401596069, -0.24142278730869293, 0.3030489683151245, -0.24843548238277435, -0.12243809551000595, 0.021447792649269104, 0.1543467938899994, 0.16570045053958893, -0.5507530570030212, 0.7203824520111084, -0.519127607345581, -0.5200707316398621, 0.06679926067590714, -0.20219604671001434, 0.6553066372871399, 0.2733003497123718, -0.28654664754867554, 0.15744145214557648, -0.9327677488327026, 0.0032267991919070482, 0.11840490996837616, -0.48877736926078796, -0.1819407045841217, 0.030687006190419197, 0.32504385709762573, 0.37283894419670105, 0.3859620988368988, -0.8133054971694946, 0.3238457143306732, -0.36657968163490295, 0.2411894053220749, 0.5175145864486694, -0.1322403848171234, 0.36788350343704224, -0.0629490464925766, 0.7377181053161621, -0.1984882354736328, 0.12939919531345367, 0.2853237986564636, -0.11177339404821396, -0.5353634357452393, -0.32302775979042053, 0.4272066056728363, 0.42962610721588135, -0.6650069952011108, 0.28984832763671875, -0.6175405383110046, -0.7535048127174377, -0.4523457884788513, 0.09582990407943726, 0.004893493838608265, -0.007436785381287336, -0.06351596117019653, -0.14912840723991394, -0.7963953018188477, -0.7759785056114197, -0.0893295481801033, -0.03627147898077965, -0.0809931755065918, 0.37031352519989014, 0.6200228333473206, -0.28240832686424255, 1.0125975608825684, -0.16645601391792297, -0.03276750445365906, -0.479849636554718, -0.08903948217630386, 0.0791442021727562, 0.3116745948791504, 0.7478160858154297, -0.4521256685256958, -0.2939568758010864, -0.2463379055261612, -0.6140056848526001, -0.30522939562797546, 0.11968633532524109, -0.25412485003471375, -0.18854953348636627, 0.43663424253463745, -0.6210460662841797, 0.3048798441886902, 0.7159000039100647, 0.0599370002746582, 0.6963743567466736, -0.0017174935201182961, 0.19796548783779144, -0.853783905506134, 0.368523508310318, -0.14776477217674255, -0.45882856845855713, -0.31305891275405884, 0.46978047490119934, -0.05548199266195297, -0.40705326199531555, -0.5574173331260681, 0.992487370967865, -0.048511724919080734, -0.46429577469825745, -0.029501458629965782, 0.560683012008667, -0.011676291935145855, 0.35313892364501953, -0.09057722240686417, 0.6773015856742859, 0.41228318214416504, -0.28143391013145447, 0.7910753488540649, 0.09815673530101776, -1.0458059310913086, 0.33861762285232544, -0.5149643421173096, 0.13914595544338226, 0.14676950871944427, 0.40757158398628235, -0.7570765614509583, -0.08806885033845901, -0.007436943240463734, 0.08514085412025452, -0.404278427362442, 0.09111329168081284, -1.2144654989242554, -0.7439485788345337, -0.2806287705898285, 0.3193570375442505, 0.1213177889585495, -0.5484877228736877, 0.624579131603241, 0.38355743885040283, -0.05634517967700958, -0.00914149358868599, -0.5788627862930298, 0.24056746065616608, -0.10735613107681274, -0.5425926446914673, -0.03716423362493515, -0.4752807319164276, -0.44848644733428955, -0.3070826530456543, 0.04887827858328819, -0.08255016803741455, 0.28603795170783997, 0.3262592554092407, 0.15791182219982147, 0.2238273322582245, 0.027898019179701805, -0.2680271863937378, 0.00880935788154602, 0.09662751108407974, 0.04746934026479721, 0.6203315854072571, -0.33214420080184937, -0.46646445989608765, 0.04005686938762665, 0.10510258376598358, 0.6971290707588196, -0.337603360414505, 0.42018672823905945, 0.45852041244506836, -0.397311806678772, -0.31008419394493103, -0.4198976457118988, 0.2693859040737152, -0.4389409124851227, 0.55632483959198, -0.48004937171936035, -0.847228467464447, 0.6353046298027039, -0.7457146048545837, 0.1665773242712021, 0.08758611232042313, 0.7639580368995667, -0.05143625661730766, 0.8847350478172302, 0.5304919481277466, -0.03847012296319008, 0.21517735719680786, -0.09203774482011795, 0.20593804121017456, -0.8383978605270386, -0.38246282935142517, -0.4862828850746155, -0.322138249874115, -0.39972418546676636, -0.6662651300430298, 0.520341694355011, 0.2460494488477707, -0.19826076924800873, 0.1507389396429062, -0.016509708017110825, 0.41729772090911865, 0.20717167854309082, -0.12145938724279404, 0.630656361579895, -0.022876227274537086, -0.5634695291519165, -0.053089652210474014, -0.5581369400024414, -0.6493023037910461, 0.889763593673706, 0.48163506388664246, 0.8475459218025208, 0.16927365958690643, 0.44556084275245667, 0.192315012216568, 0.43219077587127686, -0.5875070691108704, 0.7993626594543457, 0.0351438894867897, -0.8001670837402344, -0.19386844336986542, -0.3676035702228546, -0.7388158440589905, 0.34754717350006104, -0.19564761221408844, -0.8667147755622864, -0.012249446474015713, -0.28903597593307495, -0.42702725529670715, 0.4327940046787262, -0.2155115157365799, 0.7481201887130737, -0.5335085391998291, -0.2956418991088867, -0.44395574927330017, -0.09886619448661804, 0.28871896862983704, -0.3814025819301605, 0.6659420132637024, -0.39394572377204895, 0.16949503123760223, 0.43369510769844055, -0.12259123474359512, 0.5478103756904602, -0.13444392383098602, -0.2277699112892151, 0.14942441880702972, 0.16506052017211914, 0.31783613562583923, 0.030657991766929626, -0.5500005483627319, 0.5714036822319031, -0.07173001766204834, -0.12314094603061676, -0.569181501865387, 0.8849952816963196, -0.6224241256713867, -0.2462339997291565, -0.08502442389726639, -0.5814270973205566, -0.4261986017227173, 0.24759157001972198, -0.39161455631256104, 0.3929766118526459, -0.8010034561157227, 0.20342248678207397, 0.027441000565886497, -0.2726745009422302, 0.3173767030239105, 0.9776134490966797, -1.0586813688278198, -0.31520572304725647, 0.6715138554573059, -0.2290578931570053, -0.057689014822244644, 0.1666385382413864, 0.17540186643600464, -0.17251135408878326, -0.7346510887145996, -0.6544199585914612, -0.19904294610023499, -0.5721740126609802, -0.05963163450360298, -0.27598807215690613, -0.03575556352734566, -0.06509524583816528, -0.14458103477954865, -0.4024769067764282, -0.06459104269742966, 0.41656967997550964, -0.2684745490550995, -0.017270460724830627, 0.8982653617858887, -0.015409854240715504, 0.06577355414628983, -0.6728269457817078, 0.33297818899154663, 0.05069481208920479, 0.8187844753265381, 0.3124442398548126, 0.02831023745238781, -0.6571559906005859, 0.03830134868621826, -0.29769963026046753, -0.38758695125579834, 0.21113723516464233, -0.37282758951187134, 0.5158278942108154, 0.35120007395744324, -0.04577959328889847, 0.6402689814567566, -0.48591768741607666, 0.6307151317596436, -0.1389705240726471, -0.7473303079605103, 0.3547588288784027, -0.467276394367218, 0.5894429683685303, 0.80610191822052, 0.03538571670651436, -0.4404798746109009, -0.6207498908042908, -0.388166606426239, -0.75162273645401, 0.5673224925994873, 0.07521317899227142, 0.0010540008079260588, 0.02354838140308857, 0.25362691283226013, 0.0922425165772438, 0.42358532547950745, -0.6674410700798035, -0.15284542739391327, 0.15724655985832214, -0.071995310485363, 0.05133868381381035, -0.18338601291179657, 0.018933845683932304, -0.49856165051460266, 0.3435437083244324, 0.061204563826322556, -0.19612997770309448, -0.0244899969547987, -0.17027591168880463, -0.1898937225341797, 0.5173100829124451, 0.20690752565860748, 0.9712802171707153, -0.4442376494407654, -0.07512400299310684, 0.5692679286003113, -0.20553898811340332, 0.09513405710458755, 0.056461598724126816, -0.2589994966983795, -0.20981445908546448, 0.254421204328537, 0.6860167980194092, 0.48638296127319336, -1.0694698095321655, 0.5313799381256104, -0.041083142161369324, 0.016803987324237823, -0.40226271748542786, -0.12882623076438904, 0.3057331144809723, 0.48948946595191956, 0.3261139392852783, -0.1681295782327652, 0.17554308474063873, -0.5892795324325562, -0.013643353246152401, 0.30557817220687866, -0.2559114694595337, -0.06452246010303497, 0.5138403177261353, 0.4832248091697693, -0.10442071408033371, 0.6082572340965271, -0.33013302087783813, -0.5101494193077087, 0.5600495934486389, 0.3244044780731201, 0.7558090686798096, -0.12180577963590622, -0.1380167454481125, 0.4236385226249695, 0.3908092677593231, 0.10277950018644333, 0.34701764583587646, 0.15243187546730042, -0.6228733062744141, -0.46607255935668945, -1.0263986587524414, -0.6156646013259888, 0.2247178703546524, -0.4362497627735138, 0.2923547029495239, -0.6665788292884827, -0.14318609237670898, -0.45132118463516235, 0.3322657346725464, -0.7362493872642517, 0.0875607281923294, 0.37158310413360596, 1.3978681564331055, -0.5054913759231567, 0.9048877954483032, 0.9888846278190613, 0.0679219514131546, -0.49568676948547363, 0.03300157189369202, -0.129819855093956, -0.6270305514335632, 0.5733871459960938, 0.08941762894392014, -0.3400611877441406, -0.07735773921012878, -0.6297664046287537, -0.6951293349266052, 1.150012731552124, 0.4117581248283386, -1.0482455492019653, 0.09308313578367233, 0.5749118328094482, 0.717866063117981, -0.42252856492996216, 0.4653902053833008, 0.7049736380577087, 0.8158093690872192, -0.008520145900547504, -1.071972131729126, 0.14476731419563293, -0.006971067748963833, 0.2960413992404938, -0.0714685469865799, -0.9492827653884888, 0.457777738571167, -0.19082389771938324, -0.15299230813980103, 0.33791327476501465, 0.4270070791244507, 0.33570796251296997, -0.06277625262737274, 0.5749900341033936, 0.6854895949363708, 0.43986549973487854, -0.17188483476638794, 1.0765146017074585, -0.5545127391815186, 0.6039956212043762, 0.981863796710968, -0.4941512942314148, 0.9976778626441956, 0.11729944497346878, -0.3910825550556183, 0.6707605719566345, 0.36941879987716675, -0.26424771547317505, 0.40641188621520996, 0.5686246752738953, -0.023701896890997887, -0.3529634177684784, -0.10229220986366272, 0.11621544510126114, 0.7127349972724915, 0.2330036610364914, 0.3589327931404114, -0.6305635571479797, 0.1092614233493805, -0.2853114902973175, -0.11096573621034622, -0.1854323148727417, 0.5951602458953857, 0.07994348555803299, -0.21326826512813568, 0.23449935019016266, 0.39112189412117004, 0.3833269774913788, -0.7947665452957153, -0.06636303663253784, -0.1976822316646576, 0.06023012101650238, -0.09354165941476822, -0.7869192957878113, 0.12280438095331192, -0.040492672473192215, -0.14719122648239136, -0.11365170776844025, 0.5380342602729797, -0.3898189961910248, -0.48967233300209045, 0.7389450669288635, 0.41958409547805786, 0.2250034511089325, -0.004492732230573893, -0.823064386844635, 0.5211449265480042, -0.18579591810703278, -0.2692219614982605, 0.22759823501110077, 0.38942232728004456, -0.20358915627002716, 0.9131694436073303, 0.6687192916870117, 0.1777932494878769, -0.3088566064834595, 0.43323612213134766, 0.6874004602432251, -0.7122354507446289, -0.38761964440345764, -0.734393298625946, 0.2539593577384949, -0.1068730428814888, -0.03279867768287659, 0.8411773443222046, 0.9386452436447144, 0.6916321516036987, 0.1357051432132721, 0.8677115440368652, -0.08817961066961288, 0.5404648184776306, -0.13165752589702606, 0.690855860710144, -0.46907636523246765, 0.5085525512695312, -0.2611582577228546, -1.0001524686813354, -0.10994941741228104, 0.42993831634521484, -0.3775826394557953, 0.08759795874357224, 0.6426082849502563, 0.387010395526886, -0.19944648444652557, -0.09265182912349701, 0.45054471492767334, 0.402175635099411, 0.2600409984588623, 0.4781233072280884, 0.8080100417137146, -0.1182703748345375, 0.6785274744033813, -0.22876740992069244, -0.27783653140068054, -0.26155829429626465, -0.8584532737731934, -0.9089670181274414, -0.12781552970409393, -0.018223147839307785, 0.05164705216884613, -0.022690195590257645, 0.7867001891136169, 0.7234772443771362, -0.7841124534606934, -0.5885899066925049, 0.11868402361869812, 0.06044020876288414, -0.048258308321237564, -0.28454774618148804, 0.17476052045822144, 0.22642745077610016, -0.9037814140319824, 0.585677981376648, 0.4105304777622223, -0.004888701718300581, -0.7460542321205139, -0.012422413565218449, 0.04764312505722046, -0.08230474591255188, 0.6282032132148743, -0.05448507145047188, -0.47283241152763367, -0.18912406265735626, -0.3803870975971222, -0.45170092582702637, 0.03406618535518646, 0.7380609512329102, -0.8727890849113464, 0.43837979435920715, 0.19577927887439728, 0.32536399364471436, 0.5742905139923096, -0.04005720838904381, 0.6251437067985535, -0.7126343846321106, 0.16548797488212585, -0.10547655820846558, 0.45896658301353455, 0.46722981333732605, 0.1755497008562088, 0.6423608660697937, -0.05841519311070442, -0.3594028651714325, -0.46560633182525635, 0.11348868161439896, -0.8345411419868469, -0.17290985584259033, 1.1592315435409546, -0.06438800692558289, -0.045064136385917664, -0.1964137852191925, -0.17489871382713318, -0.01155559066683054, -0.5757739543914795, 0.7517560720443726, 0.8067601323127747, 0.18848301470279694, -0.006288998294621706, -1.0102564096450806, 0.09991740435361862, 0.08012618124485016, -1.00538170337677, 0.3344533145427704, 0.4970017671585083, 0.42540812492370605, 0.028008105233311653, 0.6697798371315002, -0.1026390939950943, -0.012662583962082863, -0.10704529285430908, 0.4447014033794403, -0.04007720574736595, -0.28137901425361633, -0.3238448202610016, 0.08301497995853424, 0.2552586495876312, 0.26660481095314026 ]
http://arxiv.org/abs/2406.13940v1
http://arxiv.org/pdf/2406.13940v1
AutoCAP: Towards Automatic Cross-lingual Alignment Planning for Zero-shot Chain-of-Thought
2024-06-20T02:19:33
2024-06-20T02:19:33
Yongheng Zhang, Qiguang Chen, Min Li, Wanxiang Che, Libo Qin
cs.CL
cs.CL
Cross-lingual chain-of-thought can effectively complete reasoning tasks across languages, which gains increasing attention. Recently, dominant approaches in the literature improve cross-lingual alignment capabilities by integrating reasoning knowledge from different languages. Despite achieving excellent performance, current methods still have two main challenges: (1) Manual language specification: They still highly rely on manually selecting the languages to integrate, severely affecting their generalizability; (2) Static weight allocation: Current methods simply integrate all languages equally. In fact, different language reasoning paths should have different weights to achieve better complementation and integration. Motivated by this, we introduce an Automatic Cross-lingual Alignment Planning (AutoCAP) for zero-shot chain-of-thought to address the above challenges. The core of AutoCAP consists of two components: (1) Automatic Language Selection Prompting to guide LLMs to select appropriate languages and (2) Automatic Weight Allocation Prompting to automatically allocate alignment weight scores to each reasoning path. Extensive experiments on several benchmarks reveal that AutoCAP achieves state-of-the-art performance, surpassing previous methods that required manual effort.
[ -0.5010223388671875, -0.40913620591163635, 0.5057141780853271, 0.20516559481620789, -0.11246217787265778, 0.4607192873954773, -0.09944838285446167, -0.6762641668319702, 0.5114602446556091, 0.2661435902118683, -0.6049503684043884, -0.264418363571167, -0.4852065443992615, 0.060942817479372025, -0.05638638883829117, 0.6580999493598938, -0.7809078693389893, -0.09480760991573334, -0.04305205121636391, -0.26006191968917847, -0.940428614616394, -0.05127934366464615, -0.36249664425849915, -0.16403399407863617, 0.497132807970047, 0.7630302906036377, 0.6824085712432861, 0.904678225517273, 0.41741472482681274, 0.18651308119297028, 0.5750807523727417, 0.22216945886611938, -0.04728185012936592, 0.21201656758785248, -0.6003128886222839, -0.26657018065452576, -0.6985057592391968, -0.12667685747146606, 0.5645100474357605, 0.7747408747673035, -0.026494598016142845, 0.09742001444101334, -0.2935277223587036, 0.6590628623962402, -1.0310653448104858, -0.04560430347919464, -0.8671785593032837, 0.3752313554286957, -0.04299396649003029, -0.0953613743185997, -0.14166639745235443, 0.23450469970703125, 0.19345718622207642, -0.8336058855056763, -0.4001569449901581, 0.5206549167633057, 0.6953425407409668, 0.4229296147823334, -0.19857044517993927, -0.29983073472976685, -0.5092151165008545, 0.8573791980743408, -0.3564097285270691, 0.29534000158309937, 0.10606027394533157, 0.41170749068260193, 0.11398667842149734, -0.04720977321267128, -0.541244387626648, 0.22929832339286804, -0.0950220450758934, 0.1514892429113388, -0.44804641604423523, 0.02952107973396778, 0.21192362904548645, 0.3230040967464447, -0.9171785116195679, 0.18809910118579865, -0.0910378023982048, -0.33975932002067566, 0.724398672580719, 0.13770918548107147, 0.7714772820472717, 0.25110748410224915, -0.45939499139785767, 0.04452921822667122, -0.5216584801673889, -0.2451283186674118, 0.2706177532672882, 0.2093680053949356, 0.04991767928004265, 0.7334800362586975, -0.5870597958564758, 0.8795914649963379, 0.44920989871025085, 0.32421714067459106, 0.16625547409057617, -0.5350275635719299, -0.5560874342918396, 0.5771065354347229, 0.9630031585693359, 0.3585226535797119, 0.46762675046920776, -0.2149493247270584, -0.10370117425918579, -0.020777694880962372, 0.232697993516922, -0.36992257833480835, -0.15100286900997162, 0.10070331394672394, 0.2167837917804718, 0.00020007356943096966, -0.39889946579933167, -0.4684014916419983, 0.2578006386756897, -0.39561551809310913, 0.5656307339668274, -0.2463979870080948, -0.11691657453775406, 0.4017398953437805, -0.001116539933718741, 0.47239813208580017, 0.32385313510894775, -1.1237632036209106, 0.25296902656555176, 0.3709343373775482, 0.735167920589447, -0.5346211194992065, -0.6781741976737976, -0.5597551465034485, 0.6655161380767822, -0.5881715416908264, 1.0413024425506592, -0.36226800084114075, 0.13261491060256958, -0.038154784590005875, -0.018115997314453125, -0.25790268182754517, -0.06038562208414078, 0.08836301416158676, -0.3659264147281647, 0.44868654012680054, -0.5425479412078857, -0.4072381854057312, -0.11640767753124237, 0.6376108527183533, -0.4640284776687622, 0.8889956474304199, -0.059247564524412155, -0.6205072999000549, 0.5877928137779236, -0.482999712228775, -0.7490071654319763, 0.15017001330852509, -0.33584511280059814, -0.05022355541586876, -0.39544668793678284, 0.6534625887870789, 0.12172628194093704, -0.4006022810935974, 0.22703668475151062, -0.2874663174152374, -0.28594496846199036, -0.24037155508995056, -0.11241540312767029, 0.9882764220237732, 0.3133469521999359, -0.877920925617218, 0.17803853750228882, -0.36397427320480347, 0.1977824568748474, 0.0316510833799839, 0.4114604592323303, -0.22025272250175476, -0.43641865253448486, -0.33476513624191284, 0.38800209760665894, 0.3855494558811188, -0.48346492648124695, 0.6428080201148987, -0.5208998918533325, 0.12297935038805008, 0.45734795928001404, -0.1309632956981659, 0.8593844771385193, -0.1918763667345047, 0.6975484490394592, -0.07440709322690964, 0.3096815049648285, -0.10639342665672302, -0.4093051552772522, -0.8501217365264893, -0.07014411687850952, 0.1591164767742157, 0.859580934047699, -0.7958491444587708, 0.7297004461288452, 0.018061591312289238, -0.4648405909538269, -0.5267395377159119, 0.33632025122642517, 0.5737809538841248, 0.5292952060699463, 0.45368021726608276, -0.7782928943634033, -0.44598838686943054, -1.0290933847427368, -0.3466885983943939, -0.35044023394584656, 0.21478232741355896, 0.04364559426903725, 0.4150432348251343, -0.024055255576968193, 1.0213656425476074, -0.6122024655342102, -0.5635620355606079, -0.279071182012558, 0.4104780852794647, -0.13170482218265533, 0.4723166227340698, 0.5783587098121643, -0.19870655238628387, -0.9390437006950378, 0.15847600996494293, -0.708118736743927, -0.5588043332099915, -0.5567408800125122, -0.7757980823516846, 0.3143279552459717, 0.39359399676322937, -0.4157288074493408, 0.3069193959236145, 0.3231838643550873, -0.15518437325954437, 0.4970704913139343, -0.19818605482578278, 0.046378180384635925, -0.6640332341194153, 0.16368389129638672, -0.23215515911579132, -0.21481646597385406, -0.28665637969970703, -0.28113582730293274, 0.008389313705265522, 0.14595943689346313, -0.4410330653190613, 0.7166361808776855, -0.8895083069801331, -0.4239406883716583, -0.2389269471168518, 0.186565101146698, 0.19152313470840454, 0.730396568775177, 0.28401318192481995, 0.7286948561668396, 0.887033998966217, -0.33072152733802795, 0.39251258969306946, 0.21609537303447723, -0.3784947693347931, 0.8604511022567749, -0.40355736017227173, 0.030733026564121246, 0.17173095047473907, 0.25341498851776123, -1.066758155822754, 0.02090791054069996, 0.6940975785255432, -0.22633589804172516, 0.587975800037384, 0.11890468001365662, -0.42284539341926575, -0.139008030295372, -0.13889919221401215, 0.9304646253585815, -0.04479534924030304, -0.20706407725811005, 0.5235157012939453, 0.8029228448867798, -0.08248262852430344, -0.9146968722343445, -0.9539498090744019, 0.3530921936035156, 0.10968614369630814, -0.2956993877887726, 0.44008368253707886, -0.12362165004014969, 0.032291434705257416, 0.13616546988487244, -0.15350335836410522, 0.11708731204271317, -0.4121367037296295, -0.20335842669010162, 0.5003567934036255, 0.06907127052545547, -0.14594048261642456, 0.374216228723526, -0.3016988933086395, -0.18145006895065308, -0.795554518699646, 0.3510950207710266, -0.14971040189266205, -0.591228723526001, -0.3635275959968567, 0.3571743071079254, 0.6736105680465698, -0.27552059292793274, 0.09880421310663223, 0.3626209497451782, -0.22074680030345917, -0.16867677867412567, -0.8573275804519653, 0.3992760479450226, -0.37937816977500916, -0.07187226414680481, -0.17945154011249542, -0.598207950592041, 0.3247162997722626, 0.1604081392288208, 0.30560964345932007, 0.45196691155433655, 0.6460580229759216, -0.23525968194007874, 0.9727751612663269, 0.5537457466125488, -0.38285133242607117, 0.3321293294429779, -0.08787517994642258, 0.3074783980846405, -0.804071307182312, -0.017538294196128845, 0.06233038380742073, -0.657582700252533, -0.31937679648399353, -0.660173773765564, 0.14719632267951965, -0.14690060913562775, -0.38384705781936646, 0.7728352546691895, -0.7711427211761475, 0.6375564336776733, 0.26128891110420227, -0.6479536890983582, 0.2956700623035431, 0.013605784624814987, -0.7085230350494385, 0.11714700609445572, -0.9576042890548706, -0.08614015579223633, 0.869270384311676, 0.06869109719991684, 0.5432350039482117, -0.3617554008960724, 0.5337812900543213, 0.15174172818660736, 0.16609632968902588, -0.8224740028381348, 0.5956988334655762, 0.04868115112185478, -0.7960994839668274, -0.5333383083343506, -0.049434635788202286, -0.6118839383125305, 0.21759149432182312, -0.019825560972094536, -0.7079154849052429, 0.5063435435295105, 0.11753416806459427, -0.5723531246185303, 0.38862884044647217, -0.34518077969551086, 0.8984878659248352, -0.7797306776046753, -0.1871204674243927, 0.00648283027112484, -0.8948476314544678, 0.27529776096343994, -0.04741740599274635, 0.16315186023712158, -0.194440558552742, -0.15282504260540009, 0.5923335552215576, -0.2751133143901825, 0.8017430305480957, 0.14876562356948853, -0.28729698061943054, 0.49631354212760925, 0.2673613131046295, 0.41390129923820496, -0.41906481981277466, 0.28443166613578796, 0.3558849096298218, 0.021308528259396553, -0.350396066904068, -0.5785513520240784, 0.5245871543884277, -0.4681822657585144, -0.4411575198173523, -0.6938731074333191, -1.0460118055343628, -0.33917298913002014, 0.427785187959671, 0.14939063787460327, -0.1530410498380661, -0.15674623847007751, -0.43651634454727173, 0.39355209469795227, -0.3357740640640259, 0.521079957485199, 0.7186845541000366, -0.36469724774360657, -0.9635031819343567, 0.8867512941360474, 0.38249558210372925, 0.49961909651756287, 0.6834279298782349, -0.11265071481466293, -0.18701240420341492, -0.11040329933166504, -0.9813172221183777, 0.32885706424713135, -0.5881305932998657, -0.36787113547325134, -0.6336875557899475, -0.09733881801366806, -0.4829418957233429, -0.6280713677406311, -0.5129911303520203, -0.7283979058265686, 0.23789967596530914, 0.017149923369288445, -0.15073361992835999, 0.21198688447475433, -0.42506667971611023, 0.08451344072818756, -0.45492854714393616, 0.2947964370250702, 0.3491671085357666, 0.3543407917022705, -0.04439866170287132, -0.2270917296409607, -0.21303938329219818, -0.14395028352737427, -0.32025113701820374, -0.8071342706680298, 0.3666870892047882, -0.02918628416955471, 0.5527015328407288, 0.47311097383499146, 0.038574617356061935, 1.1210683584213257, -0.5885581374168396, 0.4164881110191345, 0.5032479763031006, -1.0682531595230103, 0.5699118375778198, -0.20443139970302582, 0.7136063575744629, 0.9161616563796997, 0.6221580505371094, -0.7206616401672363, -0.5646628737449646, -0.40330758690834045, -0.7038419246673584, 0.5799906849861145, 0.12459583580493927, -0.37656137347221375, -0.06647919863462448, 0.02098570391535759, 0.14057908952236176, 0.18063689768314362, -0.5597549676895142, -0.04420746490359306, 0.02595381624996662, -0.07084371894598007, 0.3368518054485321, 0.18228210508823395, -0.07568610459566116, -0.6289267539978027, 0.7011555433273315, -0.4597417712211609, 0.15933161973953247, 0.256399542093277, -0.3568900525569916, -0.7487253546714783, 0.03847747668623924, 0.4473682641983032, 0.699404776096344, 0.05141184478998184, 0.07063759118318558, 0.5195276737213135, -0.20673736929893494, 0.18708235025405884, -0.23615971207618713, -0.3194427192211151, -0.1675749570131302, 0.3496707081794739, 0.6850982308387756, 0.44463253021240234, -0.6621828675270081, 0.4629210829734802, 0.14992542564868927, -0.43454858660697937, -0.25676801800727844, -0.0035582806449383497, -0.1885204166173935, 0.19494885206222534, 0.09200094640254974, -0.06223774328827858, -0.03190605714917183, -0.754645824432373, 0.3164309859275818, 0.6804168820381165, -0.5542821288108826, -0.08792336285114288, 0.49795934557914734, -0.01630084030330181, 0.1276806890964508, 0.5475926399230957, -0.3191031813621521, -0.7680339217185974, 0.4232882857322693, 0.32933613657951355, 1.2712496519088745, -0.19156597554683685, 0.22830848395824432, 0.45343437790870667, 0.575329601764679, -0.013245907612144947, 0.3687111437320709, -0.4217354953289032, -0.8777866363525391, -0.9240565299987793, -0.5009015202522278, -0.5923969149589539, -0.4856150150299072, -0.5079019665718079, 0.4945237934589386, -0.37884238362312317, 0.17666003108024597, -0.2774110436439514, 0.1607268750667572, -0.5386087894439697, 0.2229999303817749, 0.5470505952835083, 0.9425756335258484, -1.0238064527511597, 1.0108263492584229, 0.5215635895729065, -0.5999641418457031, -0.678087592124939, 0.0729374811053276, 0.13622960448265076, -1.063449740409851, 0.7639277577400208, -0.005600744858384132, -0.358340322971344, -0.11605241149663925, -0.1900670975446701, -1.119952917098999, 1.1840083599090576, 0.2648438513278961, -0.9365490674972534, -0.4044038653373718, 0.48239949345588684, 0.29868388175964355, -0.7351189255714417, 0.36309608817100525, 0.525360107421875, 0.6386640667915344, 0.5931195616722107, -1.294263243675232, 0.2133975476026535, -0.013983012177050114, -0.2783409655094147, 0.3920811712741852, -0.746839165687561, 0.31747376918792725, -0.14616025984287262, -0.30008411407470703, -0.3758834898471832, 0.6606032252311707, 0.014667471870779991, 0.24436162412166595, 0.8269462585449219, 0.9299440979957581, 0.524342954158783, 0.23855385184288025, 0.4657300114631653, -0.6277434825897217, 0.003979021683335304, 1.2864724397659302, -0.6714999079704285, 0.6551358699798584, 0.4986957013607025, 0.0009639974450692534, 0.4452473223209381, 0.49419209361076355, -0.24643389880657196, 0.555353045463562, -0.021794913336634636, 0.14674022793769836, -0.3916266858577728, -0.1026143953204155, -0.12993378937244415, 0.6009390354156494, 0.20018237829208374, 0.01722724549472332, -0.3420514762401581, -0.12985505163669586, -0.15741413831710815, -0.4652899205684662, -0.19889065623283386, 0.750090479850769, 0.007067036349326372, -1.1474772691726685, 0.5605656504631042, -0.4292471408843994, 0.5293727517127991, -0.4401589632034302, 0.05878058448433876, 0.010751117020845413, -0.17655090987682343, -0.11197645217180252, -0.9564303755760193, 0.8260189890861511, 0.06171465665102005, 0.12654371559619904, -0.7071856260299683, 0.7763071656227112, -0.7577137351036072, -0.40164676308631897, 0.46123209595680237, 0.5321023464202881, 0.13455501198768616, 0.0500013567507267, -0.8675810098648071, -0.02474777214229107, -0.08604320138692856, 0.09080647677183151, 0.43877974152565, 0.5761451125144958, -0.15028060972690582, 0.5143447518348694, 0.5434542298316956, 0.26299870014190674, -0.1367342323064804, -0.15797661244869232, 0.6356149911880493, -0.6122382283210754, -0.4523477554321289, -0.7889416217803955, 0.3740513026714325, -0.07575927674770355, -0.3046795129776001, 0.4437832534313202, 0.7214785218238831, 1.1924468278884888, 0.2463340014219284, 0.6128678917884827, -0.17618945240974426, 0.008926362730562687, -0.35146528482437134, 0.7013696432113647, -0.7837751507759094, 0.06790180504322052, -0.41858580708503723, -0.9223117232322693, -0.5768926739692688, 0.6495287418365479, -0.6353556513786316, -0.48913219571113586, 0.965444803237915, 0.4544188976287842, 0.050283655524253845, -0.2425824999809265, 0.29936984181404114, -0.18065938353538513, 0.18066495656967163, 0.9267916679382324, 0.4075174033641815, -0.344226598739624, 0.702142059803009, -0.37627819180488586, -0.3312443196773529, -0.0522964708507061, -1.1766321659088135, -0.6536825895309448, -0.5028440952301025, -0.6835706233978271, 0.3523148000240326, -0.03374625742435455, 0.9852765202522278, 0.5462841987609863, -0.7563451528549194, -0.6534146070480347, -0.32373765110969543, 0.10075601935386658, -0.43522897362709045, -0.17326731979846954, 0.11364871263504028, -0.7245308756828308, -0.6948968768119812, 0.32139715552330017, 0.9938940405845642, -0.2892378568649292, -0.4842773973941803, -0.03824333846569061, -0.5826209187507629, 0.17312085628509521, 0.42900440096855164, 0.739784836769104, -0.7655627131462097, -0.1729385405778885, 0.16876080632209778, -0.22246535122394562, 0.16095057129859924, 0.8718066215515137, -0.7071719765663147, 0.8663101196289062, 0.6167515516281128, 0.7152918577194214, 0.4958938658237457, -0.2948325276374817, 1.0626336336135864, -0.4268156588077545, -0.031274572014808655, 0.33323928713798523, 0.5008219480514526, 0.009053638204932213, -0.22693566977977753, 0.4922363758087158, 0.11467848718166351, -0.5860878825187683, -0.7425887584686279, 0.3188583552837372, -1.0231032371520996, -0.2649727761745453, 0.8441392183303833, 0.09076234698295593, -0.2815020978450775, -0.08831340074539185, -0.23151974380016327, 0.50926274061203, 0.002316695172339678, 0.7012683749198914, 0.9876123070716858, -0.4554167687892914, -0.12652906775474548, -0.44961026310920715, 0.2850407361984253, 0.8115805387496948, -0.6794312000274658, 0.2625593841075897, 0.2797700762748718, -0.01511803362518549, 0.32163622975349426, 0.809605062007904, -0.13471777737140656, 0.35313838720321655, -0.2796366214752197, 0.30072784423828125, 0.25665947794914246, -0.6350339651107788, 0.0537089928984642, -0.12566927075386047, -0.25555774569511414, -0.18514691293239594 ]
http://arxiv.org/abs/2406.13934v1
http://arxiv.org/pdf/2406.13934v1
Reasoning Like a Doctor: Improving Medical Dialogue Systems via Diagnostic Reasoning Process Alignment
2024-06-20T02:02:53
2024-06-20T02:02:53
Kaishuai Xu, Yi Cheng, Wenjun Hou, Qiaoyu Tan, Wenjie Li
cs.CL
cs.CL, cs.AI
Medical dialogue systems have attracted significant attention for their potential to act as medical assistants. Enabling these medical systems to emulate clinicians' diagnostic reasoning process has been the long-standing research focus. Previous studies rudimentarily realized the simulation of clinicians' diagnostic process by fine-tuning language models on high-quality dialogue datasets. Nonetheless, they overly focus on the outcomes of the clinician's reasoning process while ignoring their internal thought processes and alignment with clinician preferences. Our work aims to build a medical dialogue system that aligns with clinicians' diagnostic reasoning processes. We propose a novel framework, Emulation, designed to generate an appropriate response that relies on abductive and deductive diagnostic reasoning analyses and aligns with clinician preferences through thought process modeling. Experimental results on two datasets confirm the efficacy of Emulation. Crucially, our framework furnishes clear explanations for the generated responses, enhancing its transparency in medical consultations.
[ -0.3793768286705017, -0.6292089819908142, 1.3078055381774902, -0.29771688580513, -0.32630252838134766, 0.03975992649793625, -0.017394324764609337, -0.25779294967651367, 0.7479914426803589, 0.5794369578361511, -0.4070882499217987, -0.33217769861221313, -0.49024099111557007, 0.19491417706012726, -0.0920104905962944, 0.48310619592666626, 0.0041198814287781715, 0.3515092730522156, -0.2932344377040863, -0.004249474965035915, -0.4942041337490082, -0.3513529896736145, -0.7530583739280701, -0.4604150056838989, -0.016281846910715103, 0.28457993268966675, 1.1305125951766968, 0.727449893951416, 0.215634286403656, 0.22957278788089752, 0.20873667299747467, 0.36727628111839294, -0.07866984605789185, 0.6076401472091675, -0.24544988572597504, -0.16222167015075684, -0.688717782497406, -0.15629218518733978, 0.3133290112018585, 0.7577683329582214, -0.38269472122192383, -0.19628500938415527, 0.011039488948881626, 0.16809582710266113, -0.32100605964660645, -0.09474717825651169, -0.08136127144098282, 0.17750175297260284, 0.36700376868247986, -0.3609893023967743, -0.3217252492904663, -0.5552398562431335, 0.1181013286113739, -0.850426435470581, 0.08235988765954971, -0.15675359964370728, 0.39872944355010986, 0.4562329351902008, -0.05213700234889984, -0.10198618471622467, -0.9710252285003662, 0.2800998091697693, -1.0324933528900146, 0.2691798210144043, 0.363474577665329, 0.4199634790420532, -0.1003006100654602, -0.5285754799842834, -0.5489224791526794, 0.21408982574939728, -0.14744602143764496, 0.3116406500339508, -0.1252233386039734, 0.26875048875808716, 0.378616064786911, 0.037827007472515106, -0.30419889092445374, 0.039438556879758835, 0.004302918445318937, 0.2179218828678131, 0.5990786552429199, 0.5041797161102295, 0.15305501222610474, 0.25039175152778625, -0.11688753217458725, 0.19162724912166595, -0.5029084086418152, -0.11371143907308578, -0.22664782404899597, -0.045932088047266006, -0.0068463608622550964, 0.6041789054870605, -0.16795966029167175, 0.8080970644950867, 0.5857413411140442, -0.24902427196502686, 0.14118081331253052, -0.20041058957576752, -0.6316429376602173, 0.41355618834495544, 0.827357828617096, 0.6742138266563416, 0.12068260461091995, 0.002350049326196313, -0.0687314122915268, 0.2106035351753235, 0.6723670363426208, -0.3638383448123932, -0.2136780470609665, 0.749762237071991, -0.5649436116218567, -0.29585176706314087, -0.2633456587791443, -0.5869505405426025, -0.6391619443893433, -0.5676122903823853, 0.2188149392604828, -0.5505896210670471, -0.38234296441078186, 0.35534656047821045, 0.01111338660120964, -0.045482173562049866, 0.7514442801475525, -0.9127097725868225, 0.571514904499054, 0.8489240407943726, 0.47586923837661743, 0.20167845487594604, 0.2132534682750702, -0.564917266368866, 0.4227713346481323, -0.3299773335456848, 0.8830217123031616, -1.0117872953414917, -0.6809847354888916, -0.11205533146858215, -0.010248908773064613, -0.21522043645381927, -0.6447198987007141, 0.24710342288017273, 0.15841738879680634, 0.238576278090477, -0.03905848413705826, -0.767238199710846, 0.059169504791498184, 0.37052422761917114, -0.107383131980896, 0.43452468514442444, -0.013615495525300503, -0.47737419605255127, 0.27581271529197693, -0.6121023297309875, -0.18623390793800354, 0.06409657001495361, -0.6606661677360535, 0.06495394557714462, 0.1169067993760109, 0.41573020815849304, 0.3227922022342682, -0.4698027968406677, 0.2667236030101776, -0.5427507758140564, -0.3922427296638489, 0.2384943813085556, -0.17158019542694092, 0.7206754684448242, 0.2402152717113495, -0.3267520070075989, -0.06417758017778397, -0.4300500750541687, -0.0016303855227306485, -0.130716934800148, 0.2978162467479706, -0.3846522867679596, -0.016018031165003777, -0.6838507056236267, 0.1501380354166031, -0.12282779067754745, -0.7736682891845703, 0.5385836958885193, -0.708130419254303, 0.08730088919401169, 0.30308735370635986, 0.15541936457157135, 0.4264709949493408, -0.6823939681053162, 1.053749680519104, 0.25227707624435425, 0.26775601506233215, -0.1833442896604538, -0.7882305979728699, -0.2868674397468567, -0.3787458539009094, 0.0638856440782547, 0.6644050478935242, -0.39378270506858826, 0.21732552349567413, -0.14398318529129028, -0.4057983160018921, -1.110131859779358, -0.21616590023040771, 0.35754460096359253, 0.6498622894287109, 0.17990632355213165, -0.4959498345851898, -0.29804807901382446, -0.7732842564582825, -0.0404350571334362, -0.19495314359664917, -0.0886245146393776, 0.5087355375289917, -0.2920123040676117, -0.15801407396793365, 0.8479587435722351, -0.6442393064498901, -0.1742897778749466, 0.033933550119400024, -0.3447519540786743, 0.2602728605270386, 0.6508703827857971, 0.3427247405052185, -0.41921237111091614, -0.30040279030799866, 0.20082491636276245, -0.8649242520332336, -0.23977096378803253, -0.27034127712249756, -0.08968422561883926, 0.20896878838539124, 0.5871893763542175, -0.6361119747161865, 0.7503223419189453, 0.2733020782470703, -0.5133357048034668, 0.40207624435424805, -0.4279226064682007, 0.5345212817192078, -1.3396844863891602, 0.13551227748394012, -0.17876531183719635, -0.3894752562046051, -0.49703726172447205, -0.14563938975334167, -0.35994061827659607, -0.22137071192264557, -0.22343994677066803, 0.621160089969635, -0.1534913182258606, 0.034565381705760956, -0.30422720313072205, 0.18356263637542725, 0.2498691976070404, -0.07961581647396088, 0.19422462582588196, 0.3498525321483612, 0.5574220418930054, -0.45966801047325134, 0.598666250705719, 0.7053651213645935, 0.0821283608675003, 1.078362226486206, -0.6373968124389648, 0.02366877719759941, 0.05165516957640648, 0.22124461829662323, -0.9197297692298889, -0.12086997926235199, 0.6503810882568359, -0.4106258451938629, 0.42193159461021423, -0.3964407444000244, -0.457811564207077, -0.183136984705925, 0.09843877702951431, 0.47674760222435, 0.6296611428260803, -0.3382464051246643, 0.7458732724189758, 0.4911898374557495, -0.43609189987182617, -0.34885087609291077, -0.4239693284034729, -0.06853950768709183, -0.20297053456306458, -0.45487135648727417, 0.19607453048229218, 0.04334939643740654, -0.4171810746192932, -0.03170621395111084, 0.10876461863517761, -0.11001451313495636, 0.0666765421628952, 0.43863314390182495, 0.1271888017654419, -0.23392605781555176, 0.20029132068157196, 0.622829020023346, -0.1766672283411026, 0.21149255335330963, -0.11496733874082565, 0.45826178789138794, 0.2940877079963684, -0.8323401808738708, -0.7459278702735901, 0.5359468460083008, 0.7027239203453064, -0.0956018790602684, 0.35301345586776733, 0.018031440675258636, -0.5063647031784058, 0.14198192954063416, -0.45946386456489563, -0.41234368085861206, -0.3722265958786011, -0.20182394981384277, -0.5286712050437927, -0.37763556838035583, 0.42290282249450684, -0.21401478350162506, 0.363960325717926, 0.056040626019239426, 0.6940937638282776, -0.3922387957572937, 1.7329543828964233, -0.016532015055418015, 0.609754204750061, -0.11540354043245316, 0.0754086896777153, 0.2921997308731079, -0.8868687748908997, -0.34252089262008667, -0.24987861514091492, -0.33537840843200684, -0.23688668012619019, -0.4547864496707916, 0.4892544448375702, -0.1163124293088913, -0.28413328528404236, 0.05144071206450462, -0.8552481532096863, 0.13567835092544556, 0.39611005783081055, 0.24781635403633118, 0.3995492160320282, -0.22310477495193481, -0.5553436875343323, -0.03399692103266716, -0.7405731678009033, -0.7709506750106812, 0.8078241944313049, 0.2806345522403717, 0.9852586388587952, 0.17216850817203522, 1.118338942527771, -0.030080430209636688, 0.15247468650341034, -0.5725544095039368, 0.3876941204071045, -0.19774620234966278, -0.2832120656967163, -0.10569804906845093, -0.03163261339068413, -0.9366796612739563, 0.1301037222146988, -0.2389085739850998, -0.7464964389801025, 0.30907687544822693, 0.5321412682533264, -0.8248067498207092, 0.17185349762439728, -0.6172630190849304, 0.7629825472831726, 0.1348549723625183, -0.25227952003479004, -0.315107136964798, -0.7302298545837402, 0.16813190281391144, 0.060229070484638214, 0.22069647908210754, 0.021878594532608986, 0.12130296230316162, 0.18217749893665314, -0.5864331126213074, 1.033666968345642, -0.2906513810157776, -0.2305539846420288, -0.0562763549387455, 0.524495542049408, -0.03954337537288666, 0.39742356538772583, -0.04125479608774185, -0.28928476572036743, 0.5847963094711304, -0.18944217264652252, -0.8963115215301514, 0.7625386118888855, -0.2397342324256897, -1.161285638809204, -0.3348456621170044, -0.3610084652900696, -0.5332664251327515, -0.028685614466667175, -0.10504903644323349, 0.5586044192314148, -0.4104321300983429, -0.5132608413696289, 0.48692786693573, -0.11400686204433441, -0.11562047898769379, 0.3494817912578583, -0.44392964243888855, -0.1462433934211731, 0.3048609793186188, -0.1959664672613144, 0.4015335440635681, 0.056231703609228134, 0.21209551393985748, -0.1930866837501526, -0.13163049519062042, -0.8837909698486328, 0.2888408601284027, -0.5016005635261536, -0.2626368999481201, -0.8276214599609375, -0.1271963119506836, -0.6874980926513672, -0.34030434489250183, -0.19800809025764465, -0.6746314764022827, -0.3987015187740326, 0.12776343524456024, 0.3475842773914337, 0.7116366624832153, -0.031169435009360313, 0.03054034523665905, -0.8630765676498413, 0.25350403785705566, 0.08850836008787155, 0.2888672351837158, 0.06766647845506668, -0.5071282386779785, 0.0029255489353090525, 0.41624152660369873, -0.6653751730918884, -0.9674974083900452, 0.3521018326282501, -0.02666746824979782, 0.5600389838218689, 0.8810126185417175, 0.0733766034245491, 0.7556848526000977, -0.6742445230484009, 0.7250320911407471, 0.14510712027549744, -0.8148062825202942, 0.8659070730209351, -0.07575029879808426, 0.18172040581703186, 0.396195650100708, 0.3282589614391327, -0.38865575194358826, -0.9156240820884705, -0.8880601525306702, -0.13528874516487122, 0.4468531608581543, -0.19843880832195282, -0.09685846418142319, -0.31770122051239014, 0.40249258279800415, 0.3434460163116455, -0.0494283102452755, 0.2701689302921295, -0.0606808178126812, -0.24524542689323425, -0.5993730425834656, 0.005398519802838564, 0.15131624042987823, -0.7734435796737671, -0.4682290554046631, 0.3997388184070587, -0.3728809952735901, 0.37766188383102417, 0.6311739087104797, 0.3494337499141693, -0.08296971768140793, 0.1346806436777115, 0.47721153497695923, 0.5111638903617859, 0.03722968325018883, 0.09543163329362869, -0.10304874181747437, -0.2112812101840973, 0.27618271112442017, 0.29207372665405273, 0.04388245940208435, 0.16364245116710663, -0.15165546536445618, 0.37939703464508057, 0.11487789452075958, -0.7319521903991699, 0.5175908803939819, -0.1514841765165329, -0.18762196600437164, -0.12734520435333252, 0.2979706823825836, 0.3405827581882477, 0.5410251617431641, -0.3339001536369324, 0.13560181856155396, 0.3083827495574951, -0.36951127648353577, 0.2806968092918396, 0.44511690735816956, -0.5821866989135742, -0.2475341558456421, 0.821448028087616, 0.2957049310207367, -0.5009978413581848, 0.686750054359436, 0.07794173061847687, -0.30395302176475525, 0.585340678691864, 0.8784834146499634, 0.6799219250679016, -0.2853598892688751, 0.3399767279624939, 0.26112815737724304, -0.14089682698249817, -0.15100149810314178, 0.6090036630630493, -0.09308050572872162, -0.6647989749908447, -0.3341462314128876, -0.17569054663181305, -0.7055630683898926, -0.3985576331615448, -0.7146486043930054, 0.34276527166366577, -0.47357672452926636, -0.4420855939388275, 0.2088337540626526, -0.42305293679237366, -0.6089921593666077, 0.28509917855262756, 0.16929741203784943, 0.8894420266151428, -0.6195815205574036, 0.7197856903076172, 1.0155953168869019, -0.2187202423810959, -0.763034999370575, -0.1058688536286354, 0.14986015856266022, -0.8982928991317749, 0.15914525091648102, -0.11901558190584183, -0.11493358761072159, -0.12212666124105453, 0.04559071734547615, -0.38824567198753357, 0.8904545307159424, 0.44131314754486084, -0.4800161123275757, -0.05608094111084938, -0.22348643839359283, 0.6457840204238892, -0.8835551738739014, 0.3578938841819763, 0.6180380582809448, 0.14214809238910675, 0.003500339575111866, -1.3318029642105103, 0.5071014165878296, -0.1861596554517746, -0.4302876889705658, 0.2672496736049652, -0.19306284189224243, 0.1758194863796234, -0.7069702744483948, -0.11457540094852448, 0.30520644783973694, -0.24256210029125214, 0.3679428696632385, 0.5465518832206726, 0.3932534456253052, 0.8331362009048462, 0.6383705735206604, 0.09843619167804718, 1.1682170629501343, -0.4900822639465332, -0.1149655133485794, 1.0816113948822021, -0.660431444644928, 0.5737691521644592, 0.6442236304283142, 0.04686618223786354, 0.5363510251045227, 0.37678423523902893, 0.13060438632965088, 0.37000572681427, -0.2257755994796753, -0.5041897296905518, -0.41018110513687134, -0.27998828887939453, -0.47802984714508057, 0.48085930943489075, 0.569365382194519, -0.7249459624290466, 0.11817874759435654, -0.17279323935508728, -0.19374795258045197, 0.29675084352493286, 0.039892006665468216, 1.2109143733978271, 0.23299729824066162, -0.8564083576202393, 0.614604651927948, -0.5172309279441833, -0.14041276276111603, -0.19482411444187164, -0.2763666808605194, -0.03539768233895302, -0.0007113385945558548, -0.3263828754425049, -1.0116528272628784, 0.33685243129730225, -0.31528615951538086, -0.1652458757162094, -0.24891138076782227, 0.28399738669395447, -0.5082547068595886, -0.3233279287815094, -0.049488361924886703, 0.6432545781135559, 0.4205535054206848, 0.3600376546382904, -0.6286847591400146, -0.3011471927165985, 0.08086826652288437, 0.12874308228492737, 0.16222837567329407, 0.4804033041000366, 0.25838106870651245, 0.6327543258666992, 0.3858160376548767, 0.3867010176181793, -0.42193102836608887, 0.47009456157684326, 0.8146816492080688, -0.5524863004684448, -0.48009324073791504, -0.7043801546096802, 0.20088917016983032, -0.17526404559612274, -0.30626142024993896, 0.23028290271759033, 0.47638165950775146, 0.4401262700557709, -0.06045526638627052, 0.6588299870491028, 0.23477131128311157, 0.8901060819625854, -0.3102882504463196, 0.5827415585517883, -0.6079776287078857, 0.3253669738769531, -0.33270883560180664, -0.5228608250617981, -0.3022778034210205, 0.7463623285293579, 0.010336467064917088, -0.04642283543944359, 0.5697753429412842, 0.7499337196350098, -0.30376139283180237, 0.3537417948246002, 0.48475053906440735, 0.14646363258361816, 0.3358447849750519, 0.6822237968444824, 0.7314137816429138, -0.04540391266345978, -0.09135984629392624, -0.2558153569698334, -0.43424904346466064, -0.1443917155265808, -0.601527750492096, -0.5770179033279419, -0.3094538450241089, -0.4161854386329651, -0.6510835289955139, 0.06968824565410614, 1.1451231241226196, 0.580689013004303, -0.5476911067962646, 0.017799561843276024, 0.2040053904056549, -0.14431408047676086, -0.4520438313484192, -0.1680622398853302, 0.16711068153381348, -0.06397764384746552, -0.7289270758628845, 0.35912784934043884, 0.40880581736564636, 0.25224757194519043, -0.04944034293293953, -0.09352804720401764, 0.1853361874818802, 0.12205178290605545, 0.22983421385288239, 0.31485891342163086, -0.82692950963974, -0.2490781545639038, 0.07587913423776627, -0.17431117594242096, 0.3337838351726532, 0.7866107821464539, -1.0480232238769531, 0.9905173778533936, 0.05597620829939842, 0.6152453422546387, 0.21675872802734375, 0.2587156593799591, 1.2189422845840454, 0.0033777360804378986, -0.1383938193321228, 0.6357866525650024, 0.27652090787887573, 0.18611818552017212, -0.5151716470718384, 0.26847490668296814, -0.1412750631570816, -0.5555953979492188, -0.7258172631263733, 0.4970681667327881, -1.0158557891845703, -0.15469221770763397, 0.9564188122749329, -0.25655224919319153, 0.13052117824554443, -0.4660499691963196, -0.48783013224601746, 0.2565078139305115, -0.4156414866447449, 0.8439760208129883, 0.3177935779094696, -0.7966282963752747, 0.07484783977270126, -0.13906995952129364, 0.502203643321991, 0.6822964549064636, -0.6664271950721741, -0.06292634457349777, 0.3341200351715088, 0.36332768201828003, -0.017889879643917084, 0.8853281736373901, -0.3208353817462921, 0.6408810615539551, -0.04896083101630211, -0.1648143082857132, 0.0316341407597065, 0.16236191987991333, -0.3759584426879883, -0.251785010099411, -0.01716720685362816, -0.25322282314300537 ]
http://arxiv.org/abs/2406.13929v1
http://arxiv.org/pdf/2406.13929v1
Large Language Models are Skeptics: False Negative Problem of Input-conflicting Hallucination
2024-06-20T01:53:25
2024-06-20T01:53:25
Jongyoon Song, Sangwon Yu, Sungroh Yoon
cs.CL
cs.CL, cs.AI, cs.LG
In this paper, we identify a new category of bias that induces input-conflicting hallucinations, where large language models (LLMs) generate responses inconsistent with the content of the input context. This issue we have termed the false negative problem refers to the phenomenon where LLMs are predisposed to return negative judgments when assessing the correctness of a statement given the context. In experiments involving pairs of statements that contain the same information but have contradictory factual directions, we observe that LLMs exhibit a bias toward false negatives. Specifically, the model presents greater overconfidence when responding with False. Furthermore, we analyze the relationship between the false negative problem and context and query rewriting and observe that both effectively tackle false negatives in LLMs.
[ -0.461916446685791, -1.2830870151519775, 0.917855978012085, 0.10561550408601761, -0.03926202282309532, -0.10127761960029602, -0.2708084285259247, -0.4941246211528778, 0.4488320052623749, 0.7736175656318665, -0.6463675498962402, -0.11455556750297546, -0.8563070893287659, 0.11508088558912277, -0.70694500207901, 0.8224249482154846, 0.03370584547519684, 0.3186308443546295, -0.17404232919216156, -0.18085655570030212, -0.7146293520927429, -0.8565469980239868, -0.44531914591789246, -0.4815402030944824, 0.6049442291259766, 0.132036492228508, 1.068550944328308, 0.012492086738348007, 0.2770644426345825, 0.28468891978263855, 0.1141456887125969, -0.22439520061016083, -0.5505611300468445, 0.4361934959888458, -0.5591811537742615, -0.6201476454734802, -0.00910096149891615, 0.04180920124053955, 0.3378277122974396, 0.7475564479827881, -0.14190515875816345, 0.03676105663180351, -0.21207508444786072, 0.41360512375831604, -0.5657968521118164, -0.10619205981492996, -0.9847559332847595, 0.07323424518108368, 0.020051002502441406, -0.3176223933696747, -0.6778470277786255, -0.5266008377075195, 0.22265619039535522, -0.2644713521003723, 0.3856014907360077, 0.03457138314843178, 0.9089851975440979, 0.4492168426513672, -0.6387813687324524, -0.6951696276664734, -0.8026103377342224, 0.6947169899940491, -0.915187418460846, 0.5251239538192749, 0.48804810643196106, 0.1370818316936493, -0.3432849049568176, 0.04366877302527428, -1.0654959678649902, -0.47480103373527527, 0.0443393737077713, -0.36033299565315247, 0.039185743778944016, -0.05011770501732826, 0.3181752562522888, 0.18688537180423737, -0.4494275748729706, 0.13867363333702087, -0.27983859181404114, -0.27019140124320984, 0.6724631786346436, 0.23403427004814148, 0.3522751033306122, -0.2632608711719513, 0.06730623543262482, 0.18989059329032898, -0.7491778135299683, -0.41964343190193176, 0.42689022421836853, 0.38190650939941406, 0.1383625566959381, 0.912422239780426, 0.12423767894506454, 0.8357664346694946, 0.2996288537979126, -0.18460513651371002, 0.202194482088089, -0.12727943062782288, -0.30063313245773315, 0.18969613313674927, 0.5909916758537292, 0.29501771926879883, 0.18422476947307587, -0.23019295930862427, -0.3244975805282593, 0.5448144674301147, 0.3711544871330261, -0.5898162722587585, 0.2752746045589447, 0.36715981364250183, -0.22482049465179443, -0.4665534496307373, -0.14793016016483307, -0.8806224465370178, -0.7437469959259033, -0.46079155802726746, 0.8277155160903931, -0.05289090424776077, -0.20893028378486633, 0.2971326410770416, 0.019567253068089485, 0.20982865989208221, 0.3536211848258972, -0.5957261919975281, 0.32123276591300964, 0.5430040955543518, 0.6472213268280029, -0.2048671841621399, -0.18443283438682556, -0.6043873429298401, -0.10835858434438705, -0.5207440853118896, 0.48270371556282043, -0.6995879411697388, -0.46467408537864685, 0.1328015923500061, 0.24866603314876556, -0.010896779596805573, -0.6691067218780518, 0.43919652700424194, -0.5551555156707764, 0.5765329003334045, -0.6016643643379211, -0.502981960773468, -0.2397049367427826, 0.33861595392227173, -0.5410968065261841, 0.8161332011222839, 0.04629000276327133, -0.7309631109237671, 0.3608231246471405, -0.216681569814682, -0.4108281135559082, -0.10977572947740555, -0.5189670920372009, -0.18299858272075653, 0.5237571001052856, -0.3549729287624359, 0.3186836540699005, -0.532118558883667, 0.7904743552207947, -0.522990345954895, -0.5055215954780579, 0.6363190412521362, -0.4748574495315552, 0.7353999018669128, 0.0014731143601238728, -0.6916214823722839, 0.21486353874206543, -0.8720468282699585, -0.09287182241678238, 0.27097880840301514, -0.16822366416454315, -0.5578575134277344, 0.15177103877067566, -0.17870087921619415, 0.565255880355835, 0.120429627597332, -0.5508553981781006, 0.38833439350128174, -0.36944150924682617, 0.4780326187610626, 0.8432785868644714, -0.040434226393699646, 0.10847994685173035, -0.30044421553611755, 0.3035576641559601, 0.16175787150859833, -0.18679136037826538, 0.23939655721187592, -0.3294339179992676, -0.9209480881690979, 0.3368592858314514, -0.07312797009944916, 0.4770018458366394, -0.9527921676635742, 0.3410823345184326, 0.026661746203899384, -0.3114674687385559, -0.3023529648780823, -0.08572230488061905, 0.20436632633209229, 0.5934113264083862, 0.25676429271698, -0.012472640722990036, -0.5558847188949585, -1.119460940361023, -0.22142282128334045, -0.1717858910560608, 0.19394747912883759, 0.3314618766307831, 0.7517185807228088, -0.7277829647064209, 0.5923550128936768, -0.5820509195327759, -0.33283868432044983, -0.1350969523191452, 0.2631007432937622, 0.2692490518093109, 0.23495759069919586, 0.3169448673725128, -0.6873926520347595, -0.23554269969463348, -0.34056156873703003, -0.7357648611068726, -0.10754496604204178, -0.19556280970573425, 0.2094358205795288, 0.7909425497055054, 0.44704321026802063, -0.9802255034446716, 0.28533145785331726, 0.7078816890716553, -0.5391145944595337, 0.9638412594795227, 0.04275256022810936, 0.1037505716085434, -0.9903481006622314, -0.0850340873003006, 0.09389965236186981, 0.19517166912555695, -0.4480659067630768, 0.13163523375988007, -0.16079673171043396, 0.1417718231678009, -0.1718987375497818, 0.4905607998371124, -0.33931371569633484, 0.10039711743593216, -0.4038639962673187, 0.17830340564250946, -0.005201707594096661, 0.3258739411830902, 0.08018708974123001, 0.7099727988243103, 0.5229251980781555, -0.6198597550392151, 0.42628440260887146, 0.02447228692471981, -0.2568581700325012, 0.42122775316238403, -0.6244332194328308, 0.10042215138673782, -0.403731107711792, 0.40678513050079346, -1.0902389287948608, -0.5064830780029297, 0.20416605472564697, -0.3871805965900421, 0.1767588108778, 0.31504401564598083, -0.5410956740379333, -0.517711341381073, -0.23689454793930054, 0.4517909586429596, 0.3477236330509186, -0.532221257686615, 0.4594084620475769, 0.25753384828567505, 0.11241152882575989, -0.8133590817451477, -1.0006078481674194, 0.08141264319419861, -0.004399488214403391, -0.4292839765548706, 0.05390007421374321, -0.007856439799070358, -0.5449370741844177, -0.014951067976653576, -0.27136313915252686, -0.12430347502231598, -0.23268912732601166, 0.21147020161151886, 0.40926653146743774, -0.3029164969921112, 0.1930491179227829, -0.1958167552947998, 0.28357377648353577, 0.49594244360923767, 0.003008834086358547, 0.8645827770233154, 0.1725313812494278, -0.4474048912525177, -0.5590223073959351, 0.3366616368293762, 0.9220547080039978, 0.3136638104915619, 1.0408309698104858, 0.15959486365318298, -0.5235286355018616, -0.12135592103004456, -0.9269118309020996, -0.4594402313232422, -0.4167640209197998, 0.4812980890274048, -0.41345998644828796, -0.9611482620239258, 0.5501501560211182, 0.4758796989917755, -0.31942421197891235, 0.46661949157714844, 0.8285368084907532, 0.2636938989162445, 1.177943468093872, 0.4806683659553528, -0.13656683266162872, 0.015139704570174217, 0.002588836243376136, 0.5708836317062378, -0.6148195266723633, -0.29308417439460754, -0.6386247873306274, 0.007353657856583595, -0.6112197041511536, -0.21967686712741852, -0.08643655478954315, -0.13225242495536804, -0.2996630370616913, 0.171220064163208, -0.45520955324172974, 0.4120583236217499, 0.23832166194915771, -0.1344001144170761, 0.12867851555347443, -0.2906479239463806, -0.04742930084466934, -0.33288130164146423, -0.605488121509552, -0.49245089292526245, 1.0238546133041382, 0.3142065107822418, 1.0636872053146362, 0.23726944625377655, 0.366812139749527, 0.19810976088047028, 0.45531779527664185, -0.9107974767684937, 0.46593427658081055, 0.20510034263134003, -1.0791112184524536, -0.27950379252433777, -0.4050310254096985, -0.5486847758293152, 0.4828365743160248, -0.41245752573013306, -0.9956138730049133, 0.3475165367126465, 0.18702629208564758, -0.31598392128944397, 0.3997497856616974, -0.7377392649650574, 0.6316853761672974, -0.2926182746887207, -0.6747310161590576, -0.028701482340693474, -0.5157585144042969, 0.8468805551528931, -0.28456422686576843, 0.24854077398777008, 0.18002423644065857, 0.28921937942504883, 0.4062567353248596, -0.263882040977478, 0.9244053959846497, -0.07987499982118607, -0.6062425374984741, 0.16240887343883514, 0.5529994368553162, 0.6922993659973145, 0.13730886578559875, -0.07683007419109344, 0.21764610707759857, -0.04039059206843376, -0.15363413095474243, -0.5900147557258606, 0.8540542125701904, -0.8969461917877197, -1.0668234825134277, -0.7994790077209473, -0.5188190937042236, -0.35936275124549866, 0.21595792472362518, 0.6326276659965515, 0.4050901532173157, -0.09459403157234192, 0.17421168088912964, 0.8648452758789062, -0.7077757120132446, -0.010879677720367908, 0.5562555193901062, -0.5191081762313843, -0.009574968367815018, 0.8679869174957275, 0.41412150859832764, 0.5027670860290527, 0.1677684634923935, -0.05451683700084686, -0.3527451753616333, -0.34784209728240967, -0.21155062317848206, 0.45586487650871277, -0.6489550471305847, -0.008358246646821499, -0.738761305809021, -0.4161195456981659, -0.6200236082077026, -0.1325051337480545, -0.40811872482299805, -0.042733144015073776, -0.211500346660614, 0.04802538454532623, -0.3859228491783142, 0.8870187997817993, 0.17712916433811188, 0.0475919283926487, -0.42261913418769836, 0.44055747985839844, 0.322576642036438, 0.2467421144247055, 0.33734431862831116, -0.6598107218742371, 0.05657549947500229, -0.016215361654758453, -0.3692556321620941, -1.1639517545700073, 0.34887370467185974, -0.5148008465766907, 0.4445008933544159, 0.4731173813343048, -0.0305507592856884, 0.4798717200756073, -0.46370959281921387, 0.9556227326393127, 0.29325953125953674, -1.1627843379974365, 0.11402493715286255, -0.38868123292922974, 0.3233812153339386, 0.3907112777233124, 0.555914580821991, -0.7474982738494873, -0.603933572769165, -0.5537250638008118, -0.7250467538833618, 0.607631504535675, -0.02316962368786335, 0.1964646726846695, -0.2413489818572998, 0.2753527760505676, 0.3667159080505371, 0.4427146911621094, -1.163727879524231, -0.2798646092414856, -0.20476646721363068, 0.13194696605205536, -0.2276371419429779, -0.8086860179901123, -0.32554733753204346, -0.19738534092903137, 0.8127248287200928, 0.03559330478310585, 0.26393088698387146, 0.23217497766017914, -0.07492571324110031, -0.5776100754737854, 0.43344613909721375, 1.175429344177246, 0.943856954574585, -0.19973976910114288, 0.41676709055900574, 0.17999309301376343, -0.20328134298324585, 0.4034824073314667, -0.41466739773750305, -0.3312314748764038, 0.11735402792692184, 0.44775864481925964, 0.7654840350151062, -0.09775810688734055, -0.5815295577049255, 0.5835874080657959, -0.07591293752193451, -0.3855763375759125, -0.5532568693161011, 0.03521982952952385, 0.09318561106920242, 0.03898705169558525, 0.5165767073631287, 0.1900484561920166, 0.11096806079149246, -0.8241066932678223, 0.001770102302543819, 0.7832223773002625, -0.3921213746070862, -0.4160543978214264, 0.705866277217865, 0.07348712533712387, -0.5031968951225281, 0.5012979507446289, -0.20315434038639069, -0.7658101320266724, 0.48544684052467346, 0.8584845066070557, 0.8101661801338196, -0.17129352688789368, 0.30908310413360596, 0.4164895713329315, 0.4834394156932831, -0.16761599481105804, 0.1874397248029709, 0.39390698075294495, -0.9070151448249817, -0.5991731882095337, -0.5078557133674622, -0.23760731518268585, 0.9475350379943848, -0.6547483205795288, 0.37460824847221375, -0.3277050852775574, -0.19505327939987183, -0.04161741957068443, -0.1668248474597931, -0.3171142339706421, 0.3075004816055298, 0.11970172822475433, 0.6992458701133728, -0.8627588748931885, 0.8203018307685852, 0.31730854511260986, -0.3535352945327759, -0.731523871421814, 0.3550996482372284, 0.17058829963207245, -0.6240975856781006, 0.8683220744132996, 0.1335383802652359, -0.2128845900297165, -0.5399696230888367, -0.7389457821846008, -1.0533761978149414, 0.36292245984077454, 0.4172448515892029, -0.794079601764679, -0.20458325743675232, 0.1905728280544281, 0.6235086917877197, -0.3570685386657715, -0.09503521025180817, 0.4718072712421417, 0.544256329536438, 0.18321733176708221, -0.8972780108451843, 0.4303751289844513, 0.08776650577783585, -0.02923000417649746, 0.35531142354011536, -0.5991023182868958, 1.1501051187515259, -0.28064653277397156, -0.10200296342372894, 0.0006041429587639868, 0.2705014944076538, 0.29585200548171997, 0.28119680285453796, 0.3056907057762146, 0.522159218788147, 0.4669772684574127, -0.13679634034633636, 1.0091358423233032, -0.22684858739376068, 0.38845524191856384, 1.2905681133270264, -0.6419286727905273, 0.6746069192886353, 0.8309654593467712, 0.07963046431541443, 0.4275880753993988, 0.45297080278396606, 0.00906942505389452, 0.31874021887779236, 0.44066113233566284, -0.009767417795956135, -0.21730037033557892, 0.10042433440685272, -0.7143775820732117, 0.30778956413269043, 0.4380497932434082, -0.3931310772895813, -0.12292318791151047, -0.019663484767079353, 0.0784490555524826, 0.07640207558870316, -0.018973032012581825, 0.41546937823295593, -0.005324900150299072, -0.9392496943473816, 0.7687483429908752, 0.10879164189100266, 0.8772915005683899, -0.35284900665283203, -0.012460021302103996, -0.08892662078142166, 0.06611478328704834, -0.4479687809944153, -0.47694751620292664, 0.45516178011894226, -0.3211691975593567, -0.3977067172527313, 0.28638142347335815, 0.5819057822227478, -0.3442241847515106, -0.37498483061790466, 0.4331742227077484, 0.4698173701763153, -0.04747272655367851, 0.030430017039179802, -0.6247577667236328, 0.4473160207271576, 0.11281406879425049, -0.269977867603302, 0.1794632077217102, 0.47464480996131897, -0.15022976696491241, 0.6657525300979614, 0.42481374740600586, 0.21673426032066345, 0.06126483529806137, -0.014338770881295204, 0.6822851896286011, -0.8096584677696228, -0.30924177169799805, -1.0937392711639404, -0.020551996305584908, 0.045684657990932465, -0.23223994672298431, 0.8929288387298584, 0.3401523530483246, 0.8993662595748901, -0.14555253088474274, 0.8606522083282471, -0.02364746294915676, 0.4810607433319092, -0.33969926834106445, 0.6666683554649353, -0.590661883354187, 0.2931264042854309, -0.46066710352897644, -1.2033836841583252, -0.16952946782112122, 0.6762778759002686, -0.6598689556121826, 0.1423962116241455, 0.8803249597549438, 0.7988840937614441, 0.14416103065013885, 0.12093759328126907, 0.4897177815437317, 0.847629725933075, 0.19628389179706573, 0.5929840803146362, 0.9899662137031555, -0.2925347089767456, 0.09383741766214371, 0.0811934545636177, 0.05773836374282837, -0.44119971990585327, -0.5426244735717773, -0.9305379986763, -0.7337554097175598, -0.24916590750217438, -0.8159109354019165, -0.06214772164821625, 0.9289693832397461, 0.4656706154346466, -0.9897640347480774, -0.2803981602191925, -0.22936221957206726, 0.3338412046432495, 0.34831613302230835, -0.35651975870132446, 0.06098199263215065, -0.278814435005188, -0.5648046135902405, -0.1277931183576584, 0.24015021324157715, 0.1356249451637268, -0.8649601340293884, -0.055587656795978546, -0.3344927132129669, 0.5549993515014648, 0.5925735235214233, 0.11523488163948059, -1.08102548122406, -0.500359058380127, 0.012639835476875305, -0.40867868065834045, -0.08289208263158798, 0.749871551990509, -0.6082285642623901, 0.22084949910640717, 0.22173082828521729, 0.5832126140594482, 0.18971864879131317, -0.2431464046239853, 0.5776785612106323, -0.2690516710281372, 0.2521308660507202, 0.26005080342292786, 0.16470137238502502, 0.2887217104434967, -0.6369051933288574, 0.2557097375392914, 0.3756716847419739, -0.5627769827842712, -1.332079529762268, 0.45727285742759705, -0.712470531463623, -0.638450562953949, 1.340477466583252, 0.5637720227241516, -0.19907966256141663, 0.02242516353726387, -0.31025296449661255, -0.03372851759195328, -0.12992671132087708, 1.3124366998672485, 1.325607419013977, -0.20180349051952362, 0.27834054827690125, -0.67943274974823, 0.45741981267929077, 0.6071328520774841, -0.35794350504875183, -0.1003972738981247, 0.6929836869239807, 0.3426417410373688, 0.5021976828575134, 0.5244740843772888, 0.002315475372597575, 0.1161826029419899, 0.06694194674491882, -0.05835958942770958, 0.3893473744392395, -0.31725868582725525, -0.32098403573036194, 0.3648455739021301, 0.125944584608078, 0.3030587434768677 ]
http://arxiv.org/abs/2406.13925v1
http://arxiv.org/pdf/2406.13925v1
GenderAlign: An Alignment Dataset for Mitigating Gender Bias in Large Language Models
2024-06-20T01:45:44
2024-06-20T01:45:44
Tao Zhang, Ziqian Zeng, Yuxiang Xiao, Huiping Zhuang, Cen Chen, James Foulds, Shimei Pan
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) are prone to generating content that exhibits gender biases, raising significant ethical concerns. Alignment, the process of fine-tuning LLMs to better align with desired behaviors, is recognized as an effective approach to mitigate gender biases. Although proprietary LLMs have made significant strides in mitigating gender bias, their alignment datasets are not publicly available. The commonly used and publicly available alignment dataset, HH-RLHF, still exhibits gender bias to some extent. There is a lack of publicly available alignment datasets specifically designed to address gender bias. Hence, we developed a new dataset named GenderAlign, aiming at mitigating a comprehensive set of gender biases in LLMs. This dataset comprises 8k single-turn dialogues, each paired with a "chosen" and a "rejected" response. Compared to the "rejected" responses, the "chosen" responses demonstrate lower levels of gender bias and higher quality. Furthermore, we categorized the gender biases in the "rejected" responses of GenderAlign into 4 principal categories. The experimental results show the effectiveness of GenderAlign in reducing gender bias in LLMs.
[ -0.06311331689357758, -0.4713376462459564, 0.1960851401090622, 0.018112504854798317, -0.005994149949401617, 0.27958646416664124, -0.14634734392166138, 0.14296337962150574, -0.05795464292168617, 0.5353156924247742, -1.0568913221359253, -0.6132094860076904, -0.3923195004463196, 0.12031721323728561, -0.3335103392601013, 0.8631812930107117, 0.1251276135444641, 0.5848125219345093, -0.35595831274986267, -0.19135908782482147, -0.9286684393882751, -0.15648062527179718, -0.549051821231842, -0.5792284607887268, 0.5303866267204285, 0.5152631998062134, 0.8237927556037903, 0.8299632668495178, 0.6239233016967773, 0.20261405408382416, -0.15223664045333862, 0.06070350110530853, -0.8257614374160767, 0.3108910024166107, -0.16983665525913239, -0.3121506869792938, -0.624308705329895, 0.09527567028999329, 0.9107334017753601, 0.8214095830917358, -0.49566206336021423, 0.4284915030002594, 0.09948467463254929, 0.920284628868103, -0.5806352496147156, -0.0661422535777092, -0.5830854177474976, 0.16151443123817444, -0.48342612385749817, 0.07589462399482727, -0.2613457441329956, -0.4283904433250427, 0.06776532530784607, -0.6959228515625, 0.02513229101896286, 0.5030601620674133, 0.6983929872512817, 0.36969083547592163, -0.28641796112060547, -0.0005103157018311322, -0.6337337493896484, 0.9033498167991638, -0.9383004903793335, 0.5254538059234619, 0.2951679229736328, 0.2772931754589081, -0.3776586353778839, 0.07632775604724884, -0.4604671001434326, 0.22798597812652588, -0.03373800590634346, 0.007054687011986971, -0.0038624696899205446, -0.08725655823945999, 0.25299444794654846, 0.18476136028766632, -0.824982762336731, 0.44273024797439575, -0.1753864735364914, -0.3323834240436554, 0.6309342980384827, 0.31033065915107727, 0.3974589705467224, -0.011655623093247414, -0.10128053277730942, -0.05169786140322685, -1.2240406274795532, -0.2299882173538208, 0.9436753392219543, 0.6692769527435303, -0.13731098175048828, 0.6977103352546692, 0.1099574938416481, 0.5753215551376343, 0.4646276533603668, -0.4055309295654297, 0.2727862596511841, -0.05409986525774002, -0.25530868768692017, 0.6547152996063232, 0.6870667338371277, 0.5941399931907654, 0.3218747079372406, 0.12276773154735565, -0.06257951259613037, -0.15190395712852478, 0.14252504706382751, -0.5773135423660278, 0.12642227113246918, 0.17460153996944427, -0.6774368286132812, -0.34765565395355225, -0.10865005105733871, -0.6923782825469971, -0.7946016192436218, -0.5792856812477112, 0.06713280826807022, -0.008813059888780117, -0.43854618072509766, 0.17454248666763306, -0.03965010493993759, 0.4373684525489807, 0.28285983204841614, -0.9525957703590393, 0.1972166895866394, 0.9142045378684998, 0.48724472522735596, -0.15691527724266052, -0.11164755374193192, -0.44932788610458374, 0.32862094044685364, -0.34289807081222534, 0.35241714119911194, -0.7348304986953735, -0.17627018690109253, 0.11482198536396027, 0.03846374526619911, 0.02851185016334057, -0.5912665128707886, 0.5437671542167664, -0.22397080063819885, 0.5127153992652893, -0.5362953543663025, -0.5959953665733337, 0.10698657482862473, 0.22836852073669434, -0.6957104802131653, 0.8578433394432068, -0.09323424845933914, -0.9803396463394165, 0.4813316762447357, -0.49905267357826233, -0.2576958239078522, -0.006960900500416756, -0.3652704954147339, -0.6373230218887329, -0.2469368726015091, 0.39177489280700684, 0.11749076843261719, -0.3990918695926666, 0.5268714427947998, -0.5420566201210022, -0.24853871762752533, 0.2813160717487335, -0.35104191303253174, 0.6309177875518799, 0.09787645190954208, -0.23536455631256104, 0.34051835536956787, -0.49469491839408875, -0.3096087574958801, 0.13735121488571167, -0.07530335336923599, -0.44013887643814087, 0.006689463742077351, -0.11698993295431137, 0.17470483481884003, 0.13910415768623352, -0.5104655623435974, 0.23347486555576324, -0.3943741023540497, 0.33210575580596924, 1.02262282371521, -0.5353032946586609, 0.8996833562850952, -0.4206976890563965, 0.6952489614486694, -0.052128467708826065, 0.2202867716550827, 0.2623150944709778, -0.4370884299278259, -0.5632067918777466, -0.16729101538658142, 0.4259716272354126, 0.5562257170677185, -0.41142892837524414, 0.5789473652839661, -0.436512291431427, -0.09317784756422043, -0.9603757858276367, 0.3530552387237549, 0.5756888389587402, 0.6567752361297607, 0.043069057166576385, -0.05977034196257591, -0.5196525454521179, -1.2187949419021606, -0.46845924854278564, -0.09249366074800491, 0.0922153890132904, 0.05966994911432266, 0.32839542627334595, 0.10563052445650101, 0.8994601964950562, -0.3817354142665863, -0.4014933407306671, -0.0701223835349083, 0.22023777663707733, 0.10686534643173218, 0.5215004682540894, 0.21184806525707245, -0.5899232625961304, -0.027922723442316055, -0.2810989022254944, -0.5640398263931274, -0.31950339674949646, 0.06509370356798172, -0.5857107043266296, 0.2130199670791626, 0.6234720945358276, -0.4260096549987793, 0.2567691504955292, 0.7284360527992249, -0.35317832231521606, 0.2768482565879822, 0.32917332649230957, -0.028200069442391396, -1.0249989032745361, 0.16570478677749634, -0.0184814240783453, -0.39362427592277527, -0.4473438560962677, -0.3242398500442505, 0.09150561690330505, -0.026624882593750954, -0.42045262455940247, 0.5889976024627686, -0.5345638990402222, -0.2650795578956604, -0.012533423490822315, 0.1425306648015976, -0.20688825845718384, 0.16842764616012573, -0.09195714443922043, 0.7764726877212524, 0.11995849758386612, -0.2770008146762848, 0.10630813986063004, 0.7479450702667236, -0.06662670522928238, 0.9460774660110474, -0.3184232711791992, 0.1893884390592575, -0.4903711676597595, 0.2637360394001007, -0.8960408568382263, -0.23857314884662628, 0.529538094997406, -0.39552441239356995, 0.5730708837509155, -0.1901979297399521, -0.182059183716774, -0.3311194181442261, -0.49897491931915283, 0.6068359613418579, 0.09928490966558456, -0.45400047302246094, 0.5012149214744568, 0.5282391905784607, -0.44902798533439636, -1.0632374286651611, -0.5273534059524536, 0.049847137182950974, -0.3959064483642578, -0.5050475597381592, 0.2029697597026825, -0.25261273980140686, -0.21107304096221924, -0.08279112726449966, -0.1324450969696045, 0.3896675407886505, -0.11626995354890823, 0.22017157077789307, 0.26943424344062805, -0.21054886281490326, 0.44600340723991394, 0.009749569930136204, -0.08924882113933563, -0.019704200327396393, -0.056547101587057114, 0.8301428556442261, 0.14771784842014313, -0.5630845427513123, -0.4878924489021301, 0.454454630613327, 0.6347156763076782, -0.0757160484790802, 0.8244794607162476, 0.532343327999115, -0.5105788707733154, 0.0506921112537384, -0.5226192474365234, -0.22911734879016876, -0.48051705956459045, 0.21229705214500427, 0.06934483349323273, -1.1944501399993896, 0.3871800899505615, 0.14281898736953735, 0.16173575818538666, 0.3605327904224396, 0.568230390548706, -0.20007438957691193, 1.4078015089035034, 0.4502144455909729, -0.4921005070209503, 0.3929917514324188, 0.3330030143260956, 0.45863497257232666, -1.020893931388855, -0.2493751496076584, -0.6452473998069763, -0.7426053285598755, -0.7058167457580566, 0.04346945509314537, 0.006580824963748455, -0.1809203177690506, -0.9121572375297546, 0.025515932589769363, -0.5667687654495239, 0.3765343725681305, 0.5029988288879395, 0.03906423971056938, 0.3117242455482483, 0.009898478165268898, 0.06807395815849304, -0.4808943569660187, -0.7009694576263428, -0.6600626707077026, 1.1255394220352173, 0.5204641819000244, 1.1125060319900513, 0.42261144518852234, 0.3826402425765991, 0.1149812787771225, 0.3093279302120209, -0.6868627667427063, 0.4768196642398834, -0.23633219301700592, -0.8749262690544128, -0.44796648621559143, -0.6568788290023804, -0.9998462200164795, -0.10116768628358841, -0.3793432414531708, -0.7033379077911377, 0.06206253170967102, 0.21597298979759216, -0.1869998574256897, 0.26221901178359985, -0.3533174395561218, 0.7556012272834778, -0.31062769889831543, -0.3474263548851013, 0.1378050446510315, -0.6280087232589722, 0.5562975406646729, -0.12780353426933289, 0.21460199356079102, -0.4289322793483734, 0.24044540524482727, 0.9612518548965454, -0.32835084199905396, 0.9370405673980713, -0.106236033141613, -0.45232054591178894, -0.303691565990448, 0.08860517293214798, 0.36690136790275574, 0.062082771211862564, -0.06788111478090286, 0.05263597518205643, -0.302142858505249, -0.1473928540945053, -0.3178728222846985, 0.7682859301567078, -0.739190399646759, -0.6526217460632324, -0.4123523235321045, -0.7972576022148132, -0.1718343049287796, 0.31242862343788147, 0.12508422136306763, 0.264018714427948, -0.14386235177516937, 0.01903829351067543, 0.7526261210441589, -0.3918316960334778, 0.22548379004001617, 0.5029929280281067, -0.3470812737941742, -0.4691390097141266, 0.4676213562488556, -0.015610753558576107, 0.278855562210083, 0.3215693533420563, 0.23394283652305603, -0.497394323348999, -0.22726905345916748, -0.4076973497867584, 0.44395506381988525, -0.6151438355445862, -0.5451765656471252, -0.2870979309082031, -0.2145169973373413, -0.7143193483352661, 0.07808773964643478, -0.41778674721717834, -0.3847843110561371, -0.2639075815677643, -0.10798116773366928, 0.34987857937812805, 0.6073014140129089, 0.2187841534614563, 0.489606648683548, -0.6740583777427673, 0.2793598175048828, 0.2957093417644501, 0.4695265591144562, -0.28923919796943665, -0.6065045595169067, 0.3032444417476654, 0.18844866752624512, -0.21233105659484863, -0.6722189784049988, 0.4101046323776245, 0.19222864508628845, 0.5926634073257446, 0.377351313829422, -0.021997077390551567, 0.7889693379402161, -0.415768563747406, 0.6039189696311951, 0.44562235474586487, -1.0516738891601562, 0.5593351721763611, -0.6570380330085754, 0.4913978576660156, 0.5699764490127563, 0.22011896967887878, -0.7276213765144348, -0.25898250937461853, -0.3182334005832672, -0.7804296612739563, 0.7472180724143982, 0.3410574793815613, -0.03798840939998627, 0.3330172002315521, 0.516753077507019, 0.2014312595129013, 0.6516157388687134, -0.5942005515098572, -0.36804458498954773, 0.17833483219146729, -0.750113308429718, 0.07873551547527313, -0.0898834839463234, -0.5568286180496216, -0.32225602865219116, 0.8690627813339233, -0.22063365578651428, 0.32433730363845825, -0.23534932732582092, -0.19841451942920685, -0.49048057198524475, 0.29142019152641296, 0.7441340684890747, 0.5614668130874634, -0.30895760655403137, -0.061833664774894714, 0.00945278536528349, -0.5162911415100098, 0.18644759058952332, -0.0708388164639473, -0.287078320980072, -0.2578601539134979, 0.2672589123249054, 0.679358720779419, 0.038281455636024475, -0.380278617143631, 0.5180993676185608, -0.28533098101615906, -0.17610186338424683, -0.19153451919555664, -0.14747491478919983, 0.3692067563533783, 0.2259768396615982, -0.014031810685992241, -0.21028335392475128, -0.006602711044251919, -0.30407389998435974, -0.15551039576530457, 0.6862279772758484, -0.4831944704055786, 0.095172218978405, 0.7137892246246338, 0.3449854254722595, -0.35321372747421265, 0.9660204648971558, 0.0343010313808918, -0.4263797700405121, 0.4922102987766266, 0.5993229150772095, 0.7380537390708923, -0.420476496219635, 0.1514885127544403, 0.4761587977409363, 0.42906808853149414, -0.3480577766895294, 0.2363882213830948, 0.4536156952381134, -1.0447611808776855, -0.46493297815322876, -0.4963091313838959, -0.3974519968032837, 0.33988308906555176, -0.7894996404647827, 0.36455869674682617, -0.4620395600795746, -0.2754734754562378, -0.24921928346157074, -0.3153063952922821, -0.6603686809539795, -0.12667229771614075, 0.43773606419563293, 0.5828415751457214, -0.9689013361930847, 0.4175274968147278, 0.694951593875885, -0.1534460037946701, -0.7871492505073547, -0.047035057097673416, 0.5894009470939636, -0.9722256660461426, 0.5567005276679993, 0.2521372139453888, -0.2675926983356476, -0.1903083175420761, -0.7894822955131531, -1.0244472026824951, 1.1094624996185303, 0.7623136639595032, -0.9911805391311646, 0.10030560195446014, 0.46239155530929565, 0.034516382962465286, -0.46974557638168335, 0.08139582723379135, 0.793777585029602, 0.7824443578720093, -0.09078984707593918, -1.0188171863555908, 0.2481963336467743, -0.17254529893398285, 0.020060237497091293, 0.34660622477531433, -0.5705553293228149, 0.5715424418449402, 0.23005816340446472, -0.10366807878017426, 0.04708245024085045, 0.31098809838294983, 0.49829375743865967, 0.2205132395029068, 0.6188802123069763, 0.7248851656913757, 1.0014464855194092, -0.3872980773448944, 0.3770851194858551, -0.04708043858408928, 0.22472292184829712, 1.2756236791610718, -0.6844876408576965, 0.54624342918396, 0.5518866181373596, -0.023038523271679878, 0.24439655244350433, 0.6113100051879883, 0.08756227791309357, 0.2610197365283966, 0.46630892157554626, -0.009678587317466736, -0.5337356328964233, -0.2838221490383148, -0.3685968816280365, 0.4650931656360626, 0.403846800327301, -0.24374894797801971, -0.06980425119400024, -0.07618726789951324, 0.3193739652633667, 0.1153009682893753, -0.30966365337371826, 0.783880889415741, 0.13394419848918915, -0.5097610354423523, 0.1961354911327362, -0.21821695566177368, 0.8035472631454468, -0.444588840007782, -0.11687975376844406, -0.29737749695777893, 0.18316155672073364, -0.43270108103752136, -0.7900263667106628, -0.02636471763253212, -0.14226551353931427, -0.3431602418422699, -0.3897930979728699, 0.806576669216156, -0.8000779151916504, -0.5986842513084412, 0.12487141042947769, 0.48581668734550476, -0.17251983284950256, 0.10102963447570801, -0.8404510617256165, 0.09547096490859985, -0.057590968906879425, -0.009950654581189156, 0.2882710099220276, 0.1934078186750412, -0.2255048006772995, 0.8060952425003052, 0.5747180581092834, 0.00023182964650914073, -0.16566792130470276, 0.4349670112133026, 0.5617868304252625, -0.7288862466812134, -0.30699631571769714, -0.7868095636367798, 0.4328343868255615, -0.2538253366947174, -0.34010928869247437, 0.6720684170722961, 0.477411687374115, 0.5978822708129883, 0.22011815011501312, 0.6700432300567627, 0.42027735710144043, 0.6629571914672852, -0.655768632888794, 0.7690327763557434, -0.5280493497848511, 0.4671017527580261, -0.4178586006164551, -0.9561329483985901, -0.5598301887512207, 0.7522692084312439, -0.15447348356246948, 0.20886042714118958, 0.44930794835090637, 1.13152015209198, 0.007148804143071175, 0.13531643152236938, 0.07425717264413834, 0.054293207824230194, 0.32295355200767517, 0.18937203288078308, 1.1388307809829712, -0.28240594267845154, 0.40578001737594604, 0.15725427865982056, 0.041841961443424225, -0.19416022300720215, -1.1846404075622559, -0.848135232925415, -0.25800424814224243, -0.5811430215835571, -0.20143331587314606, 0.16955286264419556, 1.08430814743042, 0.7583404183387756, -0.6332665681838989, -0.2675394117832184, 0.04420475289225578, 0.2107805758714676, -0.04033363237977028, -0.1936548352241516, 0.20959356427192688, -0.05432453379034996, -0.5733262300491333, 0.11902851611375809, 0.0807267501950264, -0.07110093533992767, -0.2755078673362732, -0.2828931212425232, -0.27248457074165344, -0.1753772795200348, 0.24267283082008362, 0.036548856645822525, -0.6149162650108337, -0.4142693281173706, 0.14037799835205078, -0.10623869299888611, 0.2196866273880005, 0.8365163207054138, -0.3249785900115967, 0.21905547380447388, 0.5436094403266907, 0.3512551784515381, 0.0508761964738369, 0.025295283645391464, 1.0561431646347046, -0.8817505240440369, -0.04664783924818039, 0.18342788517475128, 0.3973776698112488, 0.7462825179100037, -0.5782063603401184, 0.2652825117111206, -0.04667045921087265, -0.5989052653312683, -0.719634473323822, 0.1989317089319229, -0.9421393275260925, -0.19985774159431458, 1.3187860250473022, 0.377346396446228, -0.29229357838630676, -0.10575203597545624, -0.35340994596481323, 0.51375812292099, -0.7857695817947388, 0.5219559073448181, 0.8895440101623535, 0.14205192029476166, -0.268278568983078, -0.485061377286911, 0.43271297216415405, 0.6744585037231445, -0.7965256571769714, 0.33050334453582764, 0.5903779864311218, 0.35136356949806213, -0.08143836259841919, 0.3704506456851959, -0.3045000433921814, -0.0025935424491763115, -0.6122154593467712, 0.28168147802352905, 0.22491110861301422, -0.17644156515598297, -0.7092909812927246, -0.23501676321029663, 0.12169542163610458, -0.03620285913348198 ]
http://arxiv.org/abs/2406.13923v1
http://arxiv.org/pdf/2406.13923v1
PIN: A Knowledge-Intensive Dataset for Paired and Interleaved Multimodal Documents
2024-06-20T01:43:08
2024-06-20T01:43:08
Junjie Wang, Yin Zhang, Yatai Ji, Yuxiang Zhang, Chunyang Jiang, Yubo Wang, Kang Zhu, Zekun Wang, Tiezhen Wang, Wenhao Huang, Jie Fu, Bei Chen, Qunshu Lin, Minghao Liu, Ge Zhang, Wenhu Chen
cs.AI
cs.AI, cs.CL, cs.CV, cs.MM
Recent advancements in Large Multimodal Models (LMMs) have leveraged extensive multimodal datasets to enhance capabilities in complex knowledge-driven tasks. However, persistent challenges in perceptual and reasoning errors limit their efficacy, particularly in interpreting intricate visual data and deducing multimodal relationships. Addressing these issues, we introduce a novel dataset format, PIN (Paired and INterleaved multimodal documents), designed to significantly improve both the depth and breadth of multimodal training. The PIN format is built on three foundational principles: knowledge intensity, scalability, and support for diverse training modalities. This innovative format combines markdown files and comprehensive images to enrich training data with a dense knowledge structure and versatile training strategies. We present PIN-14M, an open-source dataset comprising 14 million samples derived from a diverse range of Chinese and English sources, tailored to include complex web and scientific content. This dataset is constructed meticulously to ensure data quality and ethical integrity, aiming to facilitate advanced training strategies and improve model robustness against common multimodal training pitfalls. Our initial results, forming the basis of this technical report, suggest significant potential for the PIN format in refining LMM performance, with plans for future expansions and detailed evaluations of its impact on model capabilities.
[ -0.15546748042106628, -0.4299784004688263, 0.4870123565196991, 0.40864425897598267, -0.3811388909816742, 0.11250226944684982, -0.27483534812927246, -0.159968301653862, 0.08145744353532791, 0.07039793580770493, -0.532836377620697, -0.6201144456863403, -0.6015933752059937, -0.20130789279937744, -0.06295692920684814, 0.7662403583526611, -0.21739664673805237, 0.4799429476261139, -0.431678831577301, -0.3874547481536865, -0.6450729966163635, -0.5165144801139832, 0.003544121515005827, -0.18184152245521545, 0.7665151357650757, 0.7215856313705444, 0.2821194529533386, 0.8301492929458618, 1.003548264503479, 0.09500613063573837, 0.4571273624897003, 0.6121455430984497, -0.4776885211467743, 0.0715186595916748, -0.15145988762378693, -0.28390005230903625, -0.6251348257064819, 0.18617376685142517, 0.5997416973114014, 0.8123113512992859, 0.24850808084011078, 0.1421954482793808, 0.008177471347153187, 0.6380990147590637, -0.45726415514945984, 0.6487995386123657, -0.8131128549575806, -0.1413085162639618, -0.344548761844635, -0.29521098732948303, -0.4090878367424011, -0.028089692816138268, -0.03808233141899109, -0.8640040159225464, 0.36896374821662903, 0.028943413868546486, 0.5347431898117065, 0.097087562084198, -0.6327962875366211, -0.2124534696340561, -0.4624161422252655, 0.6103522181510925, -0.3682129383087158, 0.6221833229064941, 0.47070831060409546, 0.331997811794281, 0.14505109190940857, -0.8117899894714355, -0.5503416657447815, 0.22059541940689087, 0.011029954999685287, 0.13315460085868835, 0.4799836575984955, 0.1540319174528122, 0.32937705516815186, 0.13560186326503754, -0.590972363948822, 0.047827791422605515, -0.5495824813842773, 0.0005806047702208161, 0.5751253962516785, 0.23632077872753143, 0.2790164053440094, -0.22703562676906586, -0.5057434439659119, -0.4784930944442749, -0.6475468873977661, 0.27651602029800415, 0.3941197395324707, 0.4708867073059082, -0.39888182282447815, 0.6780761480331421, -0.2845858633518219, 0.48918116092681885, -0.02302166260778904, -0.35880354046821594, 0.3166971802711487, -0.5028125047683716, 0.24973981082439423, 0.003972460050135851, 0.5971055626869202, 0.9071846604347229, -0.0021030919160693884, -0.1137593537569046, -0.019962819293141365, 0.20941708981990814, 0.1305840015411377, -0.7458443641662598, -0.5482954382896423, 0.11541472375392914, -0.5181141495704651, -0.14702843129634857, 0.4976745545864105, -0.7063975930213928, -0.6606126427650452, -0.3471413850784302, 0.574187695980072, -0.7115451693534851, -0.19845853745937347, 0.12736539542675018, -0.24788127839565277, 0.11358211189508438, 0.4253259599208832, -0.9161569476127625, -0.12068066745996475, 0.6631909608840942, 0.8575031757354736, -0.11844475567340851, -0.4836035370826721, -0.350559264421463, 0.5524370074272156, -0.3868497312068939, 0.6057134866714478, -0.6850233674049377, -0.19218036532402039, -0.12509657442569733, 0.24281221628189087, -0.06181656941771507, -0.4235508143901825, 0.6059356331825256, -0.18514153361320496, -0.34993240237236023, -0.459994375705719, -0.37589147686958313, -0.4132320284843445, 0.4115332365036011, -0.9308083057403564, 0.8533746600151062, -0.15703590214252472, -0.818182647228241, 0.8258571028709412, -0.5790665745735168, -0.4915897846221924, 0.029436254873871803, -0.5222663879394531, -0.2589420676231384, -0.00936518982052803, 0.45430681109428406, 0.8240220546722412, -0.2628638744354248, 0.671280026435852, -0.8687017560005188, -0.38337790966033936, 0.13701164722442627, -0.42307010293006897, 0.2789579927921295, -0.07443980872631073, -0.11299214512109756, 0.19071169197559357, -1.0614007711410522, -0.25390905141830444, 0.13252630829811096, -0.21323537826538086, -0.3877069652080536, 0.08059423416852951, -0.09201080352067947, 0.2855120897293091, 0.19786383211612701, -0.7535614967346191, 0.27776217460632324, 0.4019871652126312, 0.6207136511802673, 0.8392887115478516, -0.049597542732954025, 0.23375171422958374, -0.5262151956558228, 0.1735355108976364, 0.3559955954551697, 0.34674105048179626, -0.7286702394485474, -0.424139142036438, -0.6902797818183899, -0.4391067624092102, -0.0551350861787796, 0.08413691073656082, -0.7991139888763428, 0.17188754677772522, -0.5265454053878784, -0.6122484803199768, -0.7195471525192261, 0.22025220096111298, 0.2564757764339447, 0.7073773145675659, 0.41683945059776306, -0.11073251068592072, -0.5428681373596191, -0.9378638863563538, 0.12139242142438889, 0.03679471090435982, 0.34653961658477783, 0.35315021872520447, 0.5398097634315491, -0.17631584405899048, 0.8124247789382935, -0.2738973796367645, -0.3950690031051636, -0.06500360369682312, 0.3359561264514923, 0.27777522802352905, 0.8733687400817871, 0.28486305475234985, -0.8910189270973206, -0.41360166668891907, -0.1121222972869873, -1.009401559829712, 0.2835206985473633, -0.20046737790107727, -0.22060571610927582, -0.35853245854377747, 0.4871596693992615, -0.31419679522514343, 0.24947534501552582, 0.5255188345909119, -0.1490175724029541, 0.32043391466140747, -0.223626509308815, 0.42702600359916687, -0.9467229843139648, 0.21627962589263916, -0.1951896995306015, 0.1272335648536682, -0.4150692820549011, -0.11685048788785934, 0.6862745881080627, -0.30140289664268494, -0.3303985893726349, 0.46325647830963135, -0.4496326148509979, 0.09401765465736389, 0.23164422810077667, -0.199524387717247, 0.38082998991012573, 0.5289154648780823, 0.170486181974411, 0.6034924387931824, 0.3148157000541687, -0.3000658452510834, 0.5589080452919006, 0.4366177022457123, -0.498715341091156, 0.8672812581062317, -0.4720732271671295, 0.23352830111980438, -0.2594042718410492, 0.09237733483314514, -0.9183832406997681, -0.5548542737960815, -0.05592229962348938, -0.45295584201812744, 0.2024001032114029, -0.22856684029102325, -0.7282253503799438, -0.17693622410297394, -0.6799381375312805, 0.6411331295967102, -0.14121191203594208, -0.6728339195251465, 0.39590442180633545, 0.07992318272590637, -0.09220606833696365, -0.5702616572380066, -0.5639091730117798, -0.17453104257583618, -0.07509192079305649, -0.8633896112442017, 0.13538821041584015, -0.40108752250671387, 0.0628746747970581, 0.07532493770122528, -0.03931979462504387, -0.15907515585422516, -0.15347473323345184, 0.6794607639312744, 0.36897820234298706, -0.09120595455169678, 0.527362585067749, 0.12628719210624695, 0.02082233503460884, -0.2219240367412567, -0.08076730370521545, 0.5799911022186279, 0.11869661509990692, -0.798379123210907, -0.2875842750072479, 0.5503839254379272, 0.6960729360580444, -0.5401585698127747, 0.7067948579788208, 0.7513449192047119, -0.40181607007980347, -0.06087569519877434, -0.4756920039653778, -0.1976856142282486, -0.3847862780094147, 0.3482973277568817, -0.6474373936653137, -0.5354300141334534, 0.31509989500045776, -0.04363379254937172, 0.06853613257408142, 0.12624460458755493, 0.24693787097930908, -0.5280739665031433, 1.0320043563842773, 0.6048471927642822, 0.1783449947834015, 0.28383108973503113, -0.3847581446170807, 0.12751762568950653, -0.9079751968383789, -0.9540728330612183, -0.08144748210906982, -0.7077077031135559, 0.07889556884765625, -0.7349115610122681, 0.587392270565033, 0.1735030561685562, -0.27209675312042236, -0.16863635182380676, -0.14256779849529266, 0.18196511268615723, 0.7142341136932373, 0.5851434469223022, 0.5495082139968872, 0.02502618171274662, -0.1627269685268402, -0.4258629381656647, -0.7434135675430298, -0.32266247272491455, 1.48043692111969, 0.31771910190582275, 1.2051650285720825, -0.16091684997081757, 0.16397225856781006, 0.3445388674736023, -0.21762578189373016, -0.535522997379303, 0.2943938374519348, -0.3218607008457184, -0.7087702751159668, 0.12432990968227386, -0.14019182324409485, -0.4620658755302429, -0.12791849672794342, -0.5390691757202148, -0.14180918037891388, 0.3089964985847473, 0.23888927698135376, -0.12551367282867432, 0.6455080509185791, -0.8915882706642151, 0.981992244720459, -0.5020623803138733, -0.29075005650520325, -0.1169431209564209, -0.8363435864448547, 0.5030856728553772, -0.26825782656669617, 0.16215668618679047, -0.37852180004119873, -0.002994269598275423, 0.8305318355560303, -0.201891228556633, 0.8801273703575134, -0.1847798377275467, 0.21525079011917114, 0.041517473757267, -0.03712274506688118, 0.3219827711582184, 0.2200351059436798, 0.1684604287147522, 0.13731969892978668, -0.06974290311336517, -0.3901726305484772, -0.5489509105682373, 0.6378400325775146, -0.8673533201217651, 0.009750151075422764, -0.19505184888839722, -1.2817503213882446, -0.40442296862602234, 0.2690102756023407, 0.16096220910549164, 0.9332290291786194, 0.2329220473766327, 0.8750922679901123, 0.7117198705673218, -0.13286423683166504, 0.2186785638332367, 0.41339215636253357, 0.09026797860860825, -0.5923094749450684, 1.0481059551239014, 0.3143421709537506, 0.2811283469200134, 0.4980933368206024, -0.1408357173204422, -0.3861989378929138, -0.5911481976509094, -0.25324222445487976, 0.4102534055709839, -0.904800534248352, -0.19093571603298187, -0.8822895288467407, -0.10565805435180664, -0.5547635555267334, -0.24364805221557617, -0.44344362616539, -0.36636826395988464, -0.19102326035499573, -0.3837469816207886, 0.4550458788871765, 0.6873008608818054, -0.28901830315589905, 0.3669533431529999, -0.7893444895744324, 0.4483741223812103, 0.3474860191345215, 0.6612196564674377, -0.14326485991477966, -0.14368605613708496, -0.23803988099098206, 0.04580654576420784, 0.10965404659509659, -0.5619724988937378, -0.02693459764122963, 0.3367222845554352, 0.7059553861618042, 0.6332113742828369, 0.2714722156524658, 0.8306521773338318, -0.349820077419281, 0.43057289719581604, 0.3704128563404083, -0.4979456961154938, 0.586395263671875, -0.43456125259399414, -0.01963246800005436, 0.6695226430892944, 0.7879108786582947, -0.5739420652389526, 0.2843489646911621, -0.38551342487335205, -0.6802369952201843, 0.6966745257377625, -0.36142584681510925, -0.2054482102394104, 0.3436969220638275, 0.0900479257106781, 0.6219602227210999, 0.4434978663921356, -0.555576503276825, 0.18823936581611633, -0.45354899764060974, -0.6089950203895569, -0.22661392390727997, -0.38828179240226746, -0.4287828207015991, -0.2684158980846405, 0.3553106188774109, -0.3707730174064636, 0.06021367758512497, 0.16170038282871246, -0.486520379781723, 0.21345779299736023, -0.16370952129364014, 0.3710930347442627, 0.7918805480003357, -0.5568013787269592, 0.4807889759540558, -0.4410445988178253, -0.6453449726104736, 0.211417555809021, 0.10069052875041962, -0.09059052914381027, -0.25396010279655457, 0.6102068424224854, 0.7727188467979431, 0.10735072940587997, -0.8276849985122681, 0.5513389706611633, -0.03544842079281807, -0.14309248328208923, 0.19328373670578003, -0.377500057220459, -0.05054650083184242, 0.45870479941368103, 0.2554406523704529, -0.04008343815803528, -0.14560623466968536, -0.46602290868759155, 0.3384498953819275, 0.2229471355676651, -0.45253121852874756, -0.4657893180847168, 0.6266041398048401, 0.45635464787483215, 0.3509148061275482, 0.5342273116111755, -0.08344147354364395, -0.19475296139717102, 0.2980296015739441, 0.38283276557922363, 0.22492782771587372, 0.1989210695028305, 0.2091067135334015, 0.37235593795776367, 0.604210376739502, 0.11538836359977722, 0.5136933922767639, -0.09328410029411316, -0.7130135893821716, -0.039277300238609314, -0.3387017548084259, -0.23938332498073578, 0.2240115851163864, -0.7231114506721497, 0.37643516063690186, -0.7948498129844666, -0.0036129069048911333, -0.5540206432342529, -0.04271082207560539, -0.6814621090888977, 0.264669805765152, 0.008096687495708466, 0.9465480446815491, -0.9774765372276306, 0.8335277438163757, 0.7424970269203186, -0.6804273724555969, -0.9035824537277222, -0.5240712761878967, -0.0015772792976349592, -1.0396473407745361, 0.6975612044334412, 0.34082677960395813, 0.2162284553050995, -0.2492280751466751, -0.5526474118232727, -0.6214991807937622, 1.3763236999511719, 0.3343696892261505, -0.6223961710929871, -0.1471543312072754, 0.2968061864376068, -0.16024157404899597, -0.29224643111228943, 0.03239104524254799, 0.24947409331798553, 0.38598930835723877, 0.10129744559526443, -0.6083657145500183, -0.1614004224538803, -0.38227254152297974, -0.12294953316450119, -0.008277269080281258, -0.7889228463172913, 1.1061407327651978, -0.08998658508062363, 0.04277649149298668, -0.1253705471754074, 0.4337342083454132, 0.35273951292037964, 0.36674001812934875, 0.3956184983253479, 0.5861989855766296, 0.7136061787605286, -0.25521230697631836, 0.40156567096710205, -0.388930082321167, -0.021745998412370682, 1.33223295211792, -0.35726895928382874, 0.5823794603347778, 0.6140780448913574, 0.33013424277305603, 0.21511085331439972, 0.6187089085578918, -0.1820501685142517, 0.5361114144325256, -0.5217052698135376, -0.04325830936431885, -0.3747345507144928, -0.5256828665733337, -0.5636539459228516, 0.5211135745048523, 0.37150752544403076, -0.15455985069274902, -0.1538626253604889, 0.2983156442642212, -0.0270176250487566, 0.20842720568180084, -0.29925358295440674, 0.3754078149795532, -0.20484192669391632, -0.07623735070228577, -0.0514572374522686, -0.2938535213470459, 0.8011270761489868, -0.8237662315368652, -0.35997486114501953, -0.34174928069114685, 0.23016628623008728, -0.24655525386333466, -0.9323911070823669, -0.223051518201828, -0.026587501168251038, -0.40651434659957886, -0.28688859939575195, 0.7620745897293091, -0.5715554356575012, -0.5351395010948181, 0.30127593874931335, 0.3888676166534424, -0.06492334604263306, -0.1696319431066513, -0.4358421862125397, 0.41368240118026733, -0.3429911136627197, 0.3825775682926178, 0.11308969557285309, 0.6617714166641235, -0.10500719398260117, 0.670659065246582, 0.7983154654502869, -0.013068991713225842, 0.4119488298892975, -0.01329176314175129, 1.0079280138015747, -0.6101515293121338, -0.4255973994731903, -0.44906866550445557, 0.6779550313949585, -0.18218934535980225, -0.2267705798149109, 0.6466251611709595, 0.6819055676460266, 0.9758510589599609, -0.08234287053346634, 0.7966617941856384, -0.04666268453001976, 0.6610789895057678, -0.5890646576881409, 0.8061000108718872, -0.6172778606414795, -0.1159643903374672, -0.22797685861587524, -0.6403458714485168, -0.2211475968360901, 0.2398984134197235, -0.1011677160859108, -0.18847349286079407, 0.5699560046195984, 0.675649881362915, -0.2246142029762268, -0.1445673704147339, 0.28965669870376587, 0.01894872635602951, 0.6253881454467773, 0.6289135217666626, 0.9788825511932373, -0.3315314054489136, 0.7769566178321838, -0.6725440621376038, -0.32377463579177856, -0.24251636862754822, -0.7647985816001892, -1.0104838609695435, -0.8938982486724854, 0.12678952515125275, 0.22828026115894318, -0.09849102795124054, 0.9572219848632812, 1.0772007703781128, -0.44548577070236206, -0.1737661212682724, 0.4092313051223755, -0.21145741641521454, -0.01584462821483612, -0.08312108367681503, 0.2890418469905853, -0.3098447620868683, -0.5489680171012878, 0.5162794589996338, 0.4139469563961029, 0.018175706267356873, -0.14215083420276642, -0.1358381062746048, -0.5217223167419434, -0.39317086338996887, 0.616176962852478, -0.0381251722574234, -0.26992926001548767, -0.26197636127471924, 0.13415083289146423, -0.04656264930963516, 0.27216485142707825, 1.0235137939453125, -0.4389168322086334, 1.1102906465530396, 0.5663471817970276, 0.6954956650733948, 0.30108872056007385, -0.07607986778020859, 0.542517364025116, -0.7554898262023926, 0.5822230577468872, 0.16864940524101257, 0.5182128548622131, 0.4249725937843323, -0.017877351492643356, 0.548522412776947, 0.6374691724777222, -0.13085351884365082, -0.9073569774627686, -0.0003547595115378499, -1.4004265069961548, -0.21450594067573547, 0.7020002603530884, -0.4199620187282562, 0.04443324729800224, 0.053434308618307114, -0.36297935247421265, 0.21957598626613617, -0.40780749917030334, 0.5103558301925659, 0.6748525500297546, 0.09480027854442596, -0.23384840786457062, -0.3407331109046936, 0.08668677508831024, 0.05056682229042053, -0.7947502732276917, -0.1357218474149704, 0.3751053512096405, -0.05583038181066513, -0.046023543924093246, 0.3902168571949005, -0.26893478631973267, 0.2173292189836502, 0.25577512383461, 0.14089442789554596, -0.5966987013816833, -0.9937081336975098, -0.19423270225524902, 0.28801047801971436, 0.06906919181346893, -0.4524145722389221 ]
http://arxiv.org/abs/2407.02511v1
http://arxiv.org/pdf/2407.02511v1
LLM-A*: Large Language Model Enhanced Incremental Heuristic Search on Path Planning
2024-06-20T01:24:30
2024-06-20T01:24:30
Silin Meng, Yiwei Wang, Cheng-Fu Yang, Nanyun Peng, Kai-Wei Chang
cs.RO
cs.RO, cs.AI, cs.CL
Path planning is a fundamental scientific problem in robotics and autonomous navigation, requiring the derivation of efficient routes from starting to destination points while avoiding obstacles. Traditional algorithms like A* and its variants are capable of ensuring path validity but suffer from significant computational and memory inefficiencies as the state space grows. Conversely, large language models (LLMs) excel in broader environmental analysis through contextual understanding, providing global insights into environments. However, they fall short in detailed spatial and temporal reasoning, often leading to invalid or inefficient routes. In this work, we propose LLM-A*, an new LLM based route planning method that synergistically combines the precise pathfinding capabilities of A* with the global reasoning capability of LLMs. This hybrid approach aims to enhance pathfinding efficiency in terms of time and space complexity while maintaining the integrity of path validity, especially in large-scale scenarios. By integrating the strengths of both methodologies, LLM-A* addresses the computational and memory limitations of conventional algorithms without compromising on the validity required for effective pathfinding.
[ -0.14594829082489014, -0.9856835007667542, 1.0263773202896118, 0.18388976156711578, -0.1731957346200943, 0.27699124813079834, -0.19394084811210632, -0.5417556166648865, 0.5040892362594604, 0.3996308445930481, -0.9692385196685791, -0.5603735446929932, -0.39785462617874146, -0.28599312901496887, -0.21978338062763214, 0.04554296284914017, -0.30214831233024597, 0.13813844323158264, -0.13822980225086212, -0.28963416814804077, -0.2801978886127472, -0.5165027379989624, -0.7209395170211792, -0.4962914288043976, 0.7939826250076294, 0.35385647416114807, 0.818336546421051, 0.7051335573196411, 0.6462992429733276, 0.23149804770946503, -0.23218001425266266, 0.3715265095233917, -0.06017064303159714, 0.3022918105125427, -0.29838696122169495, -0.0389896035194397, -0.5056025385856628, -0.375008761882782, 0.945794939994812, 0.6028948426246643, -0.13209357857704163, 0.0526408851146698, -0.5545615553855896, 0.6063555479049683, -0.7836976051330566, -0.05588417872786522, -0.7121906876564026, 0.0964960902929306, -0.11247941106557846, -0.45701155066490173, -0.045746833086013794, -0.16524694859981537, 0.2538420855998993, -0.6198170781135559, -0.269030898809433, 0.22045296430587769, 0.6063216924667358, 0.4139412045478821, -0.35450130701065063, -0.46783173084259033, -0.9648036360740662, 0.8094038367271423, -0.6943671703338623, 0.4448140263557434, 0.0014288855018094182, 0.573838472366333, -0.2627367377281189, -0.30935174226760864, -0.585244357585907, -0.3732566237449646, 0.08691949397325516, -0.02825774997472763, 0.05083708465099335, 0.11132770031690598, 0.2467767596244812, 0.03589024394750595, -0.4949359595775604, 0.30313536524772644, -0.26607197523117065, -0.1977672427892685, 0.7694196701049805, 0.3381362557411194, 0.3137547969818115, 0.03779594972729683, -0.5215362906455994, 0.014595196582376957, -0.9993955492973328, 0.08614616841077805, 0.26452162861824036, 0.2554520070552826, 0.10778146237134933, 0.7352020740509033, -0.31687307357788086, 0.5769543647766113, -0.5694431662559509, -0.265148788690567, -0.09610188007354736, -0.48345091938972473, 0.17791351675987244, -0.024022012948989868, 0.6728093028068542, 0.15249820053577423, 0.11873555928468704, -0.21291466057300568, -0.2176288366317749, 0.02049070969223976, 0.07577068358659744, -0.5656015276908875, -0.14990827441215515, 0.3176068067550659, -0.2916487455368042, 0.352016419172287, -0.23455560207366943, -0.5946312546730042, -0.27446138858795166, -0.36520811915397644, 0.4255691468715668, -0.43419596552848816, -0.32161539793014526, 0.22173146903514862, 0.0163325946778059, 0.2973088026046753, 0.7011425495147705, -0.43039974570274353, 0.11812621355056763, 0.5538240075111389, 0.9185134172439575, -0.11671227961778641, -0.4391804039478302, -0.48715466260910034, 0.44246870279312134, -0.1501082330942154, 0.8508817553520203, -0.7127986550331116, -0.5108863115310669, -0.1425718069076538, -0.28920504450798035, -0.019510164856910706, -0.30745023488998413, 0.6133661270141602, -0.5610392689704895, -0.13155630230903625, -0.322527676820755, -0.3508954644203186, -0.7852148413658142, 0.48883941769599915, -0.49983716011047363, 1.0013017654418945, -0.017288027331233025, -0.33116891980171204, 0.32483550906181335, -0.8569828271865845, -0.7069810628890991, 0.13612346351146698, -0.017647162079811096, -0.15125006437301636, -0.2778376042842865, 0.3933660387992859, 0.2000393271446228, -0.3755806088447571, 0.3870064616203308, -0.14888083934783936, -0.46033334732055664, -0.24346961081027985, -0.3390524685382843, 0.8296669721603394, -0.044637806713581085, -0.28821423649787903, 0.5459676384925842, -0.6264354586601257, 0.10428434610366821, 0.21010428667068481, -0.589004635810852, -0.48813560605049133, 0.37128692865371704, -0.011859336867928505, 0.4494325816631317, 0.7635608911514282, -0.5577951669692993, 0.5469619035720825, -0.43544504046440125, 0.1928347945213318, 0.8467667102813721, 0.02370845526456833, 0.6669020056724548, -0.34697750210762024, 0.6451921463012695, -0.3715595304965973, 0.22927041351795197, -0.4537327289581299, -0.6018430590629578, -0.8572782278060913, -0.10709270089864731, -0.12647104263305664, 0.980422854423523, -0.45701858401298523, 0.5864285230636597, -0.3127151429653168, -0.59103924036026, -0.201226606965065, 0.07732944190502167, 0.13969753682613373, 0.12218547612428665, 0.46645843982696533, -0.14195698499679565, -0.8106411695480347, -0.3786171078681946, 0.021991973742842674, -0.11268390715122223, 0.20451776683330536, 0.6363880634307861, 0.4944723844528198, -0.4729189872741699, 0.7727305889129639, -0.4102463126182556, -0.20949389040470123, -0.28723543882369995, -0.4126686453819275, 0.02376609854400158, 0.27232468128204346, 0.21482239663600922, -0.6506311297416687, -0.26653018593788147, -0.2469971925020218, -0.8758625388145447, 0.10085131973028183, -0.24664627015590668, -0.3322339355945587, 0.02950681559741497, 0.6390430927276611, -0.6809895634651184, 0.22635099291801453, 0.5246379375457764, -0.48962143063545227, 0.31836989521980286, -0.500727653503418, -0.18504077196121216, -0.6577972173690796, -0.0841355174779892, 0.08906093239784241, 0.08512164652347565, -0.2205534726381302, 0.5592659711837769, -0.05526364594697952, 0.08594495058059692, -0.4735080897808075, 1.0004727840423584, -0.486738920211792, -0.17259639501571655, -0.23146876692771912, 0.05280645936727524, -0.23629793524742126, 0.39675161242485046, -0.03271272033452988, 0.6747629046440125, 0.7396005988121033, -0.6801105737686157, 0.5050352811813354, 0.21643032133579254, 0.015419173054397106, 0.2209363877773285, -0.2406158298254013, 0.13960866630077362, -0.11746161431074142, 0.5529268980026245, -0.8833516240119934, -0.002427839208394289, 0.05647898092865944, -0.02955135703086853, 0.10176321119070053, 0.034341245889663696, -0.883188784122467, -0.4371676743030548, -0.16207686066627502, 0.7101643681526184, 0.3873758614063263, -0.6674737930297852, 0.8909068703651428, 0.4118838608264923, 0.04580741375684738, -0.1782529503107071, -0.30057278275489807, 0.31984013319015503, -0.2130507528781891, -0.9218032956123352, 0.22425703704357147, -0.24715836346149445, -0.35054677724838257, -0.09759017080068588, -0.13091523945331573, 0.06294074654579163, 0.14226320385932922, 0.16420672833919525, 0.27073338627815247, -0.105110302567482, -0.28190693259239197, -0.09524241089820862, -0.3095240890979767, 0.10953034460544586, -0.3265816569328308, 0.7328108549118042, 0.30034759640693665, -0.5160964727401733, -0.42002424597740173, 0.5439332723617554, 0.7338768243789673, -0.41936129331588745, 0.5493171811103821, 0.4716512858867645, -0.3966527283191681, -0.15328902006149292, -0.42688992619514465, -0.15128479897975922, -0.5042722225189209, 0.28896939754486084, -0.25113600492477417, -0.94521564245224, 0.3925030827522278, -0.6105806827545166, 0.194295734167099, 0.33520352840423584, 0.2944188416004181, 0.01538701169192791, 0.8215213418006897, 0.6402770280838013, -0.12366960197687149, 0.34669777750968933, -0.47700923681259155, 0.4266660213470459, -1.0084614753723145, -0.53691565990448, -0.34128278493881226, -0.43763208389282227, -0.6047536730766296, -0.6226016879081726, 0.760253369808197, -0.16478848457336426, -0.45449814200401306, 0.33094143867492676, -0.2697828710079193, 0.27245405316352844, 0.6992311477661133, 0.014926785603165627, 0.3826407194137573, -0.05043793469667435, -0.362921804189682, 0.14481815695762634, -0.9768266081809998, -0.33305105566978455, 0.9501153230667114, 0.2472321093082428, 0.61550372838974, 0.15340867638587952, 0.5691218972206116, -0.1716441661119461, 0.11491677910089493, -0.9420878291130066, 1.0090614557266235, -0.1228165253996849, -0.46295812726020813, -0.5813921689987183, -0.384420782327652, -0.7695082426071167, 0.273790180683136, -0.49243611097335815, -0.9897509217262268, -0.19300952553749084, 0.1759701520204544, -0.3158772587776184, 0.6189563274383545, -0.3468495011329651, 0.4112602472305298, -0.5864428281784058, -0.556239128112793, -0.40004536509513855, -0.4666171967983246, 0.23398248851299286, 0.03689131885766983, 0.3985685110092163, -0.3411581218242645, -0.25434744358062744, 0.3840806484222412, -0.11925654113292694, 0.31105750799179077, -0.2822849452495575, -0.26608628034591675, 0.3076319098472595, 0.4527309536933899, 0.9592138528823853, -0.09388474375009537, -0.3449888825416565, 0.3902440369129181, -0.5929421186447144, -0.16801723837852478, -0.3544529676437378, 0.8013617992401123, -0.23871232569217682, -0.6635650992393494, -0.33631935715675354, -0.8601123690605164, -0.18687693774700165, 0.06491827219724655, 0.0009966717334464192, 0.27463918924331665, -0.058062028139829636, -0.20543420314788818, 0.46299269795417786, -0.7374769449234009, 0.6400288939476013, 0.578559935092926, -0.11174343526363373, -0.10516022890806198, 0.7095800042152405, 0.021597491577267647, 0.07131826877593994, 0.6989487409591675, 0.3593791127204895, -0.4239947199821472, -0.7684710621833801, -0.534170389175415, 0.22992247343063354, -0.5112614035606384, 0.029393663629889488, -0.7951827645301819, -0.4341084957122803, 0.08309350162744522, -0.5056575536727905, -0.4062553346157074, -0.41786980628967285, 0.22661393880844116, 0.06422314047813416, 0.35977646708488464, 0.6667028069496155, -0.16758288443088531, 0.2472529113292694, -0.6146574020385742, 0.33290183544158936, -0.0244851503521204, 0.20586945116519928, 0.19577670097351074, -0.09312324970960617, -0.1664620339870453, -0.015909062698483467, -0.32005953788757324, -0.39907020330429077, 0.43998536467552185, -0.031790006905794144, 0.771171510219574, 0.08601129055023193, -0.27143871784210205, 0.623009979724884, -0.7183700799942017, 0.5800314545631409, 0.0705261304974556, -0.5355889797210693, 0.7695309519767761, -0.6281142234802246, 0.6112377047538757, 0.2857210040092468, 0.3786122500896454, -0.28988391160964966, -0.41389501094818115, -0.45505449175834656, -1.4267535209655762, 0.27971839904785156, 0.21759095788002014, -0.1331164687871933, 0.29083555936813354, 0.3341778814792633, -0.055441562086343765, -0.07259558886289597, -0.6717960238456726, -0.23711290955543518, 0.46573546528816223, 0.16089190542697906, -0.2671542167663574, -0.4400782883167267, -0.014237754978239536, -0.5410053730010986, 0.6522085070610046, 0.11083077639341354, 0.23285745084285736, 0.06579428166151047, 0.11093533039093018, -0.4346402883529663, 0.14973129332065582, 0.49020659923553467, 0.7540448307991028, -0.3010632395744324, 0.09011156857013702, 0.24649569392204285, -0.26889222860336304, 0.40986624360084534, -0.031373072415590286, -0.5860532522201538, -0.16544578969478607, 0.4237411916255951, 0.284585177898407, 0.032134126871824265, -0.8578545451164246, 0.15899693965911865, 0.2608051896095276, -0.038507718592882156, -0.39800122380256653, 0.30579379200935364, 0.09541841596364975, 0.37654784321784973, 0.4133823812007904, 0.08981321007013321, 0.24661564826965332, -0.4847399890422821, 0.09846986085176468, 0.5965316891670227, -0.052848778665065765, 0.03983625769615173, 0.5595600008964539, 0.1648261696100235, -0.48949724435806274, 0.46463125944137573, -0.40971967577934265, -0.609944224357605, 0.6006616353988647, 0.3364672064781189, 0.8614102005958557, -0.23173801600933075, -0.14932133257389069, 0.7840169668197632, 0.598630964756012, -0.2934136688709259, 0.3860219717025757, 0.024725960567593575, -0.6571334004402161, -0.598404049873352, -0.770453929901123, -0.5286156535148621, -0.052967336028814316, 0.08694607019424438, 0.09398035705089569, -0.6419078707695007, 0.21064528822898865, -0.4619594216346741, 0.08966069668531418, -0.4815293848514557, 0.22984196245670319, -0.051685381680727005, 1.0314459800720215, -0.47819480299949646, 0.5530012249946594, 0.9502589106559753, 0.059907373040914536, -0.7017578482627869, 0.3425624370574951, 0.13641487061977386, -0.7981172800064087, 0.430708110332489, 0.2163916528224945, -0.5415352582931519, -0.14305588603019714, -0.20275485515594482, -1.3612767457962036, 1.3234785795211792, 0.21266447007656097, -0.804213285446167, -0.1699512004852295, -0.1234854906797409, 0.27247366309165955, -0.3040083944797516, -0.17543426156044006, 0.31831416487693787, 0.670920193195343, 0.513658344745636, -1.0502421855926514, 0.34139734506607056, 0.018071381375193596, 0.043640363961458206, 0.4226284325122833, -0.725178062915802, 0.6546896696090698, -0.5299555063247681, -0.17366674542427063, 0.4183705449104309, 0.17057475447654724, 0.6025452017784119, 0.40630871057510376, 0.6566334962844849, 0.6061326265335083, 0.705551028251648, 0.030207235366106033, 0.9703702926635742, -0.379723459482193, -0.07411790639162064, 0.9431213140487671, -0.37961217761039734, 0.8248273730278015, 0.3263005018234253, -0.04965999349951744, 0.5683063268661499, 0.5264188051223755, 0.322117418050766, 0.7099969983100891, 0.3880501985549927, -0.5343757271766663, -0.4397806227207184, 0.044805604964494705, -0.0749019980430603, 0.5853303670883179, 0.465712308883667, 0.12827180325984955, -0.43671631813049316, -0.1440606266260147, 0.00033558954601176083, 0.18431715667247772, -0.591375470161438, 0.4157906472682953, 0.05138916149735451, -0.6745997667312622, 0.2676362693309784, 0.1891319304704666, 0.8040802478790283, -0.6805488467216492, -0.13011538982391357, 0.05546608939766884, 0.1469583958387375, -0.12372331321239471, -0.5987785458564758, 0.3790609538555145, -0.20785823464393616, 0.19922961294651031, -0.4159558117389679, 0.726269543170929, -0.15101197361946106, -0.599244236946106, 0.6548259854316711, 0.6788417100906372, -0.21086809039115906, -0.068875752389431, -0.6205747127532959, 0.049345288425683975, -0.26925286650657654, -0.09507492929697037, 0.015487016178667545, 0.4771977365016937, -0.19735296070575714, 1.2389907836914062, 0.8066259026527405, 0.12695588171482086, -0.025586986914277077, -0.17379406094551086, 0.8394370079040527, -0.9315175414085388, -0.6296196579933167, -0.9972902536392212, 0.4143562316894531, 0.30239367485046387, -0.041371844708919525, 0.8372616171836853, 0.7505868673324585, 0.552112340927124, 0.36217743158340454, 0.5871164798736572, 0.21639220416545868, 0.2576531171798706, -0.9473116993904114, 0.26562896370887756, -0.7306950092315674, 0.7409042716026306, -0.1850009262561798, -1.0309425592422485, -0.3675277829170227, 0.8591875433921814, -0.3639031648635864, 0.1295044720172882, 0.6326280236244202, 0.7709113359451294, -0.20529292523860931, -0.34531137347221375, 0.15773770213127136, -0.0031998890917748213, 0.3054732084274292, 0.9802265763282776, 0.9343523979187012, 0.002192883752286434, 0.29383385181427, 0.00009700457303551957, -0.14198921620845795, -0.1176203116774559, -0.9852938055992126, -0.5861296057701111, -0.3953403830528259, -0.14869114756584167, -0.2465599626302719, 0.20542314648628235, 0.840857744216919, 0.8945436477661133, -0.18537279963493347, -0.479703813791275, -0.47416171431541443, 0.2527848780155182, 0.003956874832510948, -0.16536767780780792, 0.1491946280002594, 0.089223712682724, -0.23735547065734863, 0.895692765712738, 0.7464876770973206, 0.03337390720844269, -0.8486400842666626, -0.3096829652786255, -0.4730704426765442, 0.21808446943759918, 0.5983383655548096, 0.2310566008090973, -0.6782082319259644, -0.1478806585073471, 0.10206154733896255, 0.17790982127189636, 0.13259007036685944, 0.8410640954971313, -0.6926863789558411, 0.35276663303375244, 0.19059714674949646, 0.2525215446949005, 0.6974651217460632, -0.3571445643901825, 0.7335749268531799, -0.5501624345779419, 0.4671775698661804, 0.3066819906234741, 0.5342656970024109, 0.5012927055358887, -0.5864498615264893, 0.659184455871582, 0.06480919569730759, -0.4336632788181305, -0.3515473008155823, 0.6200003027915955, -1.2481203079223633, -0.35991957783699036, 1.6745346784591675, -0.04502194747328758, -0.07303432375192642, 0.18373535573482513, -0.3804102838039398, -0.00016686637536622584, -0.4683302938938141, 0.7183111906051636, 0.4212587773799896, -0.3052900433540344, -0.11312883347272873, -0.6349357962608337, 0.1909564733505249, 0.012876116670668125, -0.7809115648269653, -0.14355553686618805, 0.578192949295044, 0.075284942984581, 0.1894633024930954, 0.9227467775344849, 0.24257801473140717, 0.22752496600151062, -0.1371821016073227, -0.1653735488653183, -0.04700199142098427, -0.6980447769165039, 0.03224100545048714, 0.2183428406715393, 0.08925879746675491, 0.12418846786022186 ]
http://arxiv.org/abs/2406.13905v1
http://arxiv.org/pdf/2406.13905v1
Persuasiveness of Generated Free-Text Rationales in Subjective Decisions: A Case Study on Pairwise Argument Ranking
2024-06-20T00:28:33
2024-06-20T00:28:33
Mohamed Elaraby, Diane Litman, Xiang Lorraine Li, Ahmed Magooda
cs.CL
cs.CL
Generating free-text rationales is among the emergent capabilities of Large Language Models (LLMs). These rationales have been found to enhance LLM performance across various NLP tasks. Recently, there has been growing interest in using these rationales to provide insights for various important downstream tasks. In this paper, we analyze generated free-text rationales in tasks with subjective answers, emphasizing the importance of rationalization in such scenarios. We focus on pairwise argument ranking, a highly subjective task with significant potential for real-world applications, such as debate assistance. We evaluate the persuasiveness of rationales generated by nine LLMs to support their subjective choices. Our findings suggest that open-source LLMs, particularly Llama2-70B-chat, are capable of providing highly persuasive rationalizations, surpassing even GPT models. Additionally, our experiments show that rationale persuasiveness can be improved by controlling its parameters through prompting or through self-refinement.
[ -0.31661418080329895, -0.6778079271316528, 0.8525752425193787, 0.3065742254257202, -0.38805752992630005, -0.35014018416404724, -0.4234172999858856, -0.01766243763267994, 0.11543309688568115, 0.5679640769958496, -0.19191430509090424, -0.46605926752090454, -0.3373624384403229, 0.14595165848731995, -0.2148091346025467, 1.141223669052124, -0.02885444089770317, 0.018106704577803612, -0.5226854085922241, -0.2783181369304657, -0.4884137809276581, -0.9082193374633789, -0.6159994602203369, -0.3900143802165985, 0.9379894137382507, 0.6788568496704102, 0.524660587310791, 0.23110128939151764, 0.2892414927482605, 0.2846633493900299, 0.09079690277576447, 0.10398998856544495, -0.33865001797676086, 0.6891579031944275, -0.3717857003211975, -0.5359455943107605, -0.20465703308582306, 0.25468286871910095, 0.25867363810539246, 0.47618281841278076, -0.09408487379550934, 0.09030067920684814, 0.05826418474316597, 0.7594517469406128, -0.39954638481140137, -0.18483585119247437, -0.8951127529144287, -0.071502685546875, -0.24324309825897217, -0.2841322124004364, -0.36025628447532654, -0.37177005410194397, 0.4491736888885498, -0.485704630613327, 0.050209276378154755, 0.025066787376999855, 0.685977578163147, 0.3178287446498871, -0.20378939807415009, -0.400484561920166, -0.5762284398078918, 0.8206557035446167, -0.9425182342529297, 0.0986003577709198, 0.25121140480041504, 0.050244320183992386, -0.11737308651208878, -0.4491330683231354, -0.4326089024543762, -0.2819231152534485, -0.00493671465665102, 0.1524328589439392, -0.33105653524398804, 0.24394868314266205, 0.2643778622150421, 0.18839406967163086, -0.28262683749198914, 0.31435951590538025, 0.13795381784439087, -0.04915367439389229, 0.6126404404640198, -0.058014918118715286, 0.1149522140622139, -0.3750307559967041, -0.2914576232433319, 0.0908784344792366, -0.5427892804145813, 0.19295074045658112, 0.5629585981369019, -0.01835116557776928, 0.038323719054460526, 0.814031183719635, -0.4147741198539734, 0.4087202548980713, 0.3146597743034363, -0.09291700273752213, -0.18166759610176086, -0.2980751097202301, -0.3285669684410095, 0.14084932208061218, 0.9041863083839417, 0.44040969014167786, 0.22742553055286407, -0.2806319296360016, -0.12503595650196075, 0.08378514647483826, 0.22349944710731506, -0.7818156480789185, -0.19390073418617249, 0.5982163548469543, -0.49665284156799316, -0.4747145473957062, -0.20861205458641052, -0.604729175567627, -0.4257771968841553, -0.3862272799015045, 0.12681326270103455, -0.12895403802394867, -0.342287540435791, 0.11566535383462906, -0.1811472326517105, 0.19006752967834473, 0.5012244582176208, -0.8398603796958923, -0.22429409623146057, 0.8280850648880005, 0.7622426748275757, -0.289712131023407, 0.19324317574501038, -0.437311053276062, 0.12497130781412125, -0.5296158790588379, 1.3836066722869873, -0.48056164383888245, -0.4091457724571228, -0.07161426544189453, -0.3685018718242645, 0.19635894894599915, -0.5767812132835388, 0.9274687767028809, -0.35057058930397034, 0.433000385761261, -0.5803035497665405, -0.5285267233848572, -0.07243651151657104, 0.37265002727508545, -0.31962883472442627, 0.7316004633903503, -0.5302926301956177, -0.9618656039237976, 0.39945775270462036, -0.7362982630729675, -0.1984708309173584, 0.24231880903244019, -0.3299354612827301, -0.12498882412910461, 0.17928434908390045, 0.13560347259044647, 0.46972188353538513, -0.450028657913208, 0.6141631603240967, -0.46443647146224976, 0.09063883870840073, 0.5355127453804016, -0.6355757713317871, 0.5376131534576416, 0.12202167510986328, -0.4276829957962036, 0.5349343419075012, -0.3224473297595978, -0.0363183431327343, 0.11590903252363205, -0.2898385524749756, -0.6386733055114746, 0.3045247197151184, -0.5146431922912598, 0.14460231363773346, 0.1667730063199997, -0.36223021149635315, 0.05132021754980087, -0.5898020267486572, 0.253539115190506, 0.9302198886871338, 0.10393129289150238, 0.5133877396583557, -0.36744916439056396, 0.3363785445690155, -0.04302341490983963, -0.04985903576016426, 0.11624035984277725, -0.8751361966133118, -0.8726035356521606, -0.07862795889377594, 0.24568337202072144, 0.5977436304092407, -0.6186816096305847, 0.06075246259570122, 0.06611524522304535, -0.43810945749282837, -0.3781757950782776, 0.1032375618815422, 0.2679794728755951, 0.6283969283103943, 0.1301647126674652, 0.2582123577594757, -0.5355294346809387, -1.2183643579483032, -0.38587337732315063, -0.29659733176231384, -0.1274450719356537, 0.43297162652015686, 0.07400551438331604, 0.04415888339281082, 1.0401356220245361, -0.3279695510864258, 0.1317366510629654, -0.11853840202093124, 0.2513122260570526, 0.0884987935423851, 0.32301396131515503, 0.4035501480102539, -0.5506875514984131, -0.19768071174621582, -0.2757401764392853, -0.9652946591377258, -0.5680598616600037, -0.23283128440380096, -0.5711544156074524, 0.467197984457016, 0.18923784792423248, -0.4788111746311188, 0.18817412853240967, 0.440798819065094, -0.3083285987377167, 0.7084137797355652, -0.077072374522686, 0.05898289009928703, -1.0265847444534302, -0.0704704150557518, 0.2574266791343689, 0.04463795945048332, -0.5288397669792175, -0.04075508192181587, -0.46923092007637024, 0.1339990198612213, -0.3428483307361603, 0.545377254486084, -0.12764973938465118, 0.24187114834785461, -0.33607029914855957, 0.5227399468421936, -0.25407135486602783, 0.2669869363307953, 0.2554284334182739, 0.7983525395393372, 0.18278637528419495, -0.4870406985282898, 0.21003425121307373, 0.12057948857545853, -0.20548950135707855, 0.6078322529792786, -0.825737714767456, 0.23593463003635406, -0.015370161272585392, 0.28000637888908386, -1.0642627477645874, -0.24033454060554504, 0.244782492518425, -0.1925496608018875, -0.2679923176765442, -0.33256617188453674, -0.18896779417991638, -0.0051829018630087376, -0.3942098617553711, 0.25931069254875183, 0.2969503402709961, -0.5652263760566711, 0.16928772628307343, 0.5270348787307739, -0.3591602146625519, -0.396050363779068, -0.40855103731155396, 0.29272931814193726, -0.41066211462020874, -0.7600735425949097, 0.17268209159374237, -0.28170567750930786, -0.8153849840164185, -0.22766755521297455, -0.1970020979642868, 0.35455891489982605, 0.08445839583873749, 0.44097989797592163, 0.26089492440223694, -0.23122066259384155, 0.11315640062093735, 0.40417224168777466, -0.39133697748184204, 0.266497939825058, -0.31042757630348206, 0.35660454630851746, -0.13696034252643585, -0.19257177412509918, -0.31966835260391235, 0.5847952961921692, 0.24321721494197845, 0.05806479975581169, 0.485646516084671, 0.14243121445178986, -0.15053175389766693, -0.1624259650707245, -0.9798957705497742, -0.12675440311431885, -0.468095064163208, -0.18698221445083618, -0.09978532046079636, -1.1023389101028442, 0.14590612053871155, -0.020450409501791, 0.29516464471817017, 0.4355868101119995, 0.8467044234275818, -0.06024433672428131, 1.1186022758483887, -0.1150849238038063, 0.3069707155227661, 0.39530149102211, 0.030862752348184586, 0.17917367815971375, -0.5000817179679871, -0.2834415137767792, -0.6145241260528564, -0.21773450076580048, -0.5651866793632507, -0.4130741357803345, 0.3227975070476532, 0.12267297506332397, -0.06225304678082466, -0.2646520435810089, -0.6715837121009827, 0.6734122633934021, 0.6451762914657593, -0.09449853003025055, 0.3826026916503906, 0.1539316475391388, -0.3219679594039917, -0.18785059452056885, -0.5381550192832947, -1.0354658365249634, 1.0633485317230225, 0.20883378386497498, 0.29000362753868103, 0.10025593638420105, 0.7849034070968628, 0.176289364695549, 0.5219060778617859, -0.9712452292442322, 0.8205011487007141, -0.11604362726211548, -0.4416373670101166, -0.10316117852926254, -0.43840348720550537, -0.8345405459403992, 0.367567241191864, -0.4185362458229065, -0.5114052891731262, 0.015527528710663319, 0.25699979066848755, -0.2778126299381256, 0.195214182138443, -0.6883514523506165, 0.6346282362937927, -0.30966898798942566, -0.5652250647544861, -0.5762156844139099, -0.24867399036884308, 0.48849961161613464, 0.14653432369232178, 0.039872270077466965, -0.35887762904167175, -0.1397196352481842, 1.049322485923767, -0.37466949224472046, 0.601959228515625, -0.2825705409049988, -0.5243040919303894, 0.2525455355644226, 0.10210074484348297, 0.2690645158290863, 0.467155784368515, -0.36986228823661804, 0.26610320806503296, -0.22929346561431885, -0.283310204744339, -0.45888128876686096, 1.1044280529022217, -0.6169809103012085, -1.2988351583480835, -0.2591150104999542, -0.3876607418060303, -0.42567241191864014, 0.0733976662158966, 0.11946209520101547, 0.3580625355243683, -0.010961377061903477, 0.4126933813095093, 0.7356051206588745, -0.2948906421661377, 0.4375474452972412, 0.24108541011810303, -0.08000733703374863, -0.677358865737915, 0.8345252275466919, 0.14174294471740723, 0.15985871851444244, 0.16166368126869202, 0.6863453984260559, -0.3998216390609741, -0.7362927794456482, -0.49432530999183655, 0.27513688802719116, -0.6549877524375916, -0.23257851600646973, -0.6621928215026855, 0.2057177573442459, -0.2171388566493988, -0.3951739966869354, -0.021199773997068405, -0.8430492877960205, -0.28281742334365845, -0.24593526124954224, 0.2871323525905609, 0.6779035329818726, -0.020253200083971024, -0.11862485110759735, -0.6508844494819641, 0.2701515257358551, 0.5916162729263306, 0.3606385290622711, 0.04191567376255989, -0.18150664865970612, 0.09379778802394867, 0.16487611830234528, -0.43474990129470825, -0.946848452091217, 0.042104046791791916, -0.4821699261665344, 0.5874059796333313, 0.39059147238731384, 0.29455965757369995, 0.4036252200603485, -0.08762692660093307, 1.101807713508606, 0.16887697577476501, -0.781803548336029, 0.5394439101219177, -0.6546071171760559, 0.15404006838798523, 0.4274802505970001, 0.37757980823516846, -0.3325081467628479, -0.39902934432029724, -0.5387848019599915, -0.8205167055130005, 0.6308682560920715, 0.20465876162052155, 0.04078782722353935, -0.02154901809990406, 0.3987278938293457, 0.20196929574012756, 0.24754750728607178, -0.5992148518562317, -0.1325172483921051, -0.38560542464256287, -0.028521733358502388, 0.23172491788864136, -0.5336747765541077, -0.2903066873550415, -0.1644437611103058, 0.7965458035469055, -0.11457900702953339, 0.05184682831168175, 0.42797863483428955, 0.20039720833301544, -0.014909559860825539, 0.5140674710273743, 0.7190669775009155, 0.11087600141763687, 0.014623868279159069, 0.009296214208006859, 0.16107644140720367, 0.21598263084888458, 0.12609587609767914, -0.038326602429151535, -0.3289562463760376, -0.13973599672317505, -0.011455142870545387, 0.7971940636634827, 0.14001524448394775, -0.5878901481628418, 0.3499048948287964, -0.10118107497692108, -0.6166025996208191, -0.08936040103435516, 0.07393316179513931, 0.36690789461135864, 0.35934722423553467, 0.19196274876594543, -0.012394748628139496, 0.07930975407361984, -0.20212116837501526, -0.3255963921546936, 0.8063659071922302, 0.14596997201442719, -0.2206503003835678, 0.7019878625869751, 0.5602021217346191, -0.3533179461956024, 0.22480733692646027, -0.06448941677808762, -0.3157181739807129, 0.18453842401504517, 0.4842451214790344, 0.956346869468689, 0.1685003638267517, 0.3496950566768646, 0.31540119647979736, -0.09651599824428558, -0.07443146407604218, -0.007871617563068867, -0.3288266062736511, -0.7386727929115295, -0.33113420009613037, -0.4084111750125885, -0.8243551254272461, 0.18831007182598114, -0.07985685020685196, 0.14005278050899506, -0.5701920986175537, -0.24957053363323212, -0.006140213925391436, -0.09865627437829971, -0.15348194539546967, -0.08105921000242233, 0.3495347797870636, 0.5844696164131165, -0.3248310387134552, 0.5513665080070496, 0.6946117281913757, -0.4511750340461731, -0.7938311100006104, 0.22902032732963562, -0.09347914904356003, -0.46096283197402954, 0.48994889855384827, 0.10060928016901016, -0.36246776580810547, -0.2871101498603821, -0.7529169321060181, -0.637745201587677, 0.7768465280532837, 0.609790563583374, -0.37472715973854065, -0.1832161843776703, 0.06557291746139526, 0.4570442736148834, -0.2174343466758728, 0.23157759010791779, 0.08748121559619904, 0.672530472278595, 0.10577747970819473, -0.6039137244224548, 0.25733447074890137, -0.1739237755537033, 0.03561116382479668, 0.013785175047814846, -0.6575089693069458, 0.3341885805130005, -0.2879018783569336, -0.1597181260585785, -0.0004172504704911262, 0.7203869819641113, 0.3985039293766022, 0.4468860328197479, 0.7114043235778809, 0.33534467220306396, 0.6239713430404663, -0.046539705246686935, 0.9468635320663452, -0.24358826875686646, -0.11010652035474777, 0.7500693202018738, -0.35643821954727173, 0.9410582184791565, 0.4706496000289917, 0.14547187089920044, 0.7358314990997314, 0.3109017312526703, 0.36306682229042053, 0.09648043662309647, 0.08518894761800766, -0.4289533495903015, -0.7299306988716125, -0.2594413757324219, -0.24915580451488495, 0.26947805285453796, 0.2811053395271301, -0.1230703741312027, -0.12042517960071564, -0.2260836958885193, 0.2792631983757019, 0.21466147899627686, -0.0014514445792883635, 0.9103410840034485, 0.0562266930937767, -1.2477022409439087, 0.5325179696083069, 0.05197293683886528, 0.8836909532546997, -0.5337132215499878, 0.08774355798959732, -0.22631247341632843, 0.048823241144418716, -0.4549332857131958, -0.818861722946167, 0.24640294909477234, 0.41893619298934937, -0.20755766332149506, -0.627577543258667, 0.7910144329071045, -0.2543444335460663, -0.056208882480859756, 0.15266597270965576, 0.5391644239425659, -0.006607751827687025, -0.08737920969724655, -0.6540371179580688, -0.21919485926628113, 0.11629941314458847, -0.532941460609436, 0.5245773792266846, 0.44176244735717773, -0.12056123465299606, 0.5139544010162354, 1.1833454370498657, -0.04581821709871292, -0.3194570541381836, 0.102068692445755, 0.8895222544670105, -0.4216647148132324, -0.12481117993593216, -0.9516088962554932, 0.3912874758243561, -0.21578793227672577, -0.2116032987833023, 0.9972808361053467, 0.5421909093856812, 0.5398927927017212, 0.11559942364692688, 0.8001564741134644, 0.2629954516887665, 0.38640934228897095, -0.496733158826828, 0.5405838489532471, -0.4914657473564148, 0.3723122775554657, -0.31537798047065735, -0.4937726557254791, -0.2537612020969391, 0.5091584324836731, -0.6239563226699829, -0.23832276463508606, 0.5003126859664917, 0.8259298801422119, 0.3602212369441986, 0.39984866976737976, 0.1121906042098999, 0.06053658202290535, 0.5083655714988708, 0.20044615864753723, 0.9703058004379272, 0.3056928217411041, 0.5744624733924866, -0.23935240507125854, -0.40773168206214905, -0.04128227382898331, -1.1937471628189087, -0.9170430898666382, -0.40393543243408203, -0.33844706416130066, -0.5250810384750366, -0.046579912304878235, 1.3201961517333984, 0.33887216448783875, -0.6659059524536133, -0.3571026921272278, -0.17614510655403137, 0.3535834550857544, 0.14669038355350494, -0.24576786160469055, -0.008192299865186214, -0.5723405480384827, -0.45861610770225525, 0.47845232486724854, 0.2917601764202118, -0.19656221568584442, -0.22144803404808044, -0.09374584257602692, -0.2136426419019699, 0.552096962928772, 0.8031177520751953, 0.1515200436115265, -0.9813143610954285, -0.20346742868423462, -0.019135329872369766, 0.08250723779201508, 0.04079073667526245, 1.1917463541030884, -0.9077460169792175, 0.09770342707633972, 0.6686995029449463, 0.35991987586021423, -0.06979537010192871, 0.18115822970867157, 0.7018861174583435, -0.37635064125061035, -0.07666624337434769, 0.1775863915681839, 0.4205467700958252, 0.3224985599517822, -0.07875693589448929, 0.4103177487850189, 0.43706014752388, -0.7862430214881897, -0.8461905717849731, 0.0685020238161087, -1.0662423372268677, -0.2989921569824219, 1.702846646308899, 0.03994724527001381, 0.15258066356182098, -0.11031395941972733, -0.7603899836540222, 0.0635620579123497, -0.7777724266052246, 0.657059371471405, 0.7892160415649414, -0.2611743211746216, 0.12589596211910248, -0.11192270368337631, 0.5558441281318665, 0.6885040998458862, -0.9833139777183533, 0.37002769112586975, 0.6798592805862427, 0.21519382297992706, 0.1257234662771225, 0.7861432433128357, 0.009618640877306461, -0.005614703521132469, -0.21145717799663544, -0.35960325598716736, -0.08774925768375397, -0.031986135989427567, -0.15170620381832123, 0.5098279118537903, 0.4074622392654419, 0.17103028297424316 ]
http://arxiv.org/abs/2406.13903v1
http://arxiv.org/pdf/2406.13903v1
Generative AI for Enhancing Active Learning in Education: A Comparative Study of GPT-3.5 and GPT-4 in Crafting Customized Test Questions
2024-06-20T00:25:43
2024-06-20T00:25:43
Hamdireza Rouzegar, Masoud Makrehchi
cs.CL
cs.CL, cs.AI, cs.LG, 68T50, I.2.7
This study investigates how LLMs, specifically GPT-3.5 and GPT-4, can develop tailored questions for Grade 9 math, aligning with active learning principles. By utilizing an iterative method, these models adjust questions based on difficulty and content, responding to feedback from a simulated 'student' model. A novel aspect of the research involved using GPT-4 as a 'teacher' to create complex questions, with GPT-3.5 as the 'student' responding to these challenges. This setup mirrors active learning, promoting deeper engagement. The findings demonstrate GPT-4's superior ability to generate precise, challenging questions and notable improvements in GPT-3.5's ability to handle more complex problems after receiving instruction from GPT-4. These results underscore the potential of LLMs to mimic and enhance active learning scenarios, offering a promising path for AI in customized education. This research contributes to understanding how AI can support personalized learning experiences, highlighting the need for further exploration in various educational contexts
[ -0.215131014585495, -1.4744077920913696, 0.5780210494995117, -0.07774806767702103, 0.27242374420166016, 0.6107687950134277, -0.008985582739114761, -0.30866697430610657, 0.09774159640073776, 0.06717681139707565, -0.4968390464782715, -0.4041828513145447, -0.1850074827671051, 0.16688720881938934, -0.35260504484176636, 0.8513567447662354, -0.3955408036708832, 0.18525847792625427, -0.353818416595459, 0.07797543704509735, -0.5292643308639526, -0.542349636554718, -1.0263683795928955, -0.1831752359867096, 0.41874560713768005, 0.3876560926437378, 0.4673139452934265, 0.03989687189459801, 0.8534706830978394, 0.31109392642974854, -0.05677088350057602, 0.1252419501543045, -0.16907581686973572, 0.26984673738479614, 0.035771410912275314, -0.5625877380371094, -0.7029538750648499, 0.3125326633453369, 0.7028008103370667, 0.7783299088478088, -0.1847815215587616, 0.11023970693349838, 0.12800398468971252, 0.40733715891838074, -0.2955252230167389, 0.11827605217695236, -0.2643468379974365, 0.5065398812294006, 0.02492419444024563, 0.051630739122629166, 0.05625244602560997, -0.581194281578064, 0.22544968128204346, -0.8568535447120667, 0.5415342450141907, -0.3704703450202942, 0.6907384991645813, 0.4659107029438019, -0.2249339073896408, -0.41008275747299194, -0.7573869228363037, 0.46686291694641113, -0.37062397599220276, 0.2918027341365814, 0.4239415228366852, 0.40810680389404297, 0.10894735157489777, -1.0492948293685913, -0.4145083725452423, -0.25624150037765503, 0.25366806983947754, 0.6275239586830139, 0.022764891386032104, 0.15767733752727509, 0.3804018497467041, 0.8255484104156494, -0.6557396054267883, 0.05510600656270981, -0.4744316637516022, -0.14414051175117493, 0.3999854028224945, 0.3781338036060333, 0.3495391309261322, 0.23928134143352509, -0.15847855806350708, 0.06876873224973679, -0.8217381834983826, 0.196600079536438, 0.6312301158905029, 0.09786000847816467, 0.0771586000919342, 0.6937207579612732, -0.011169795878231525, 0.7076915502548218, 0.15780223906040192, 0.1294170618057251, 0.22431564331054688, -0.37825408577919006, -0.04917516931891441, -0.1705128401517868, 0.4281615614891052, -0.023274902254343033, 0.16755712032318115, -0.015253215096890926, -0.3493921458721161, 0.12205064296722412, 0.33914676308631897, -0.6566435694694519, -0.5564707517623901, 0.07496149092912674, -0.04674680158495903, -0.37349268794059753, 0.09084078669548035, -0.38844752311706543, -0.07137393206357956, -0.409981906414032, 0.6859282851219177, -0.2826503813266754, -0.09969907253980637, 0.06991332769393921, 0.00423152931034565, 0.2990565896034241, 0.6389654278755188, -0.914116382598877, 0.3336629569530487, 0.4081113636493683, 0.6720418334007263, -0.6939401626586914, -0.20066842436790466, -0.27119091153144836, 0.13395020365715027, -0.20466727018356323, 0.723578691482544, -0.7718261480331421, -0.5736428499221802, -0.004493237938731909, -0.2927674651145935, -0.06571516394615173, -0.8156431317329407, 0.31657934188842773, -0.6280612349510193, 0.6129342913627625, -0.052583854645490646, -0.6282471418380737, -0.23033082485198975, 1.0692836046218872, -0.6817712187767029, 1.1088595390319824, 0.4357193112373352, -0.23442402482032776, 0.04966411739587784, -0.942829966545105, -0.29683440923690796, 0.3413538932800293, -0.518950879573822, -0.6683060526847839, -0.18279150128364563, 0.24088919162750244, 0.17888601124286652, -0.038863442838191986, 0.04447953775525093, -0.1645212024450302, -0.604337215423584, 0.0627809390425682, -0.43562158942222595, 0.5707429051399231, 0.018636146560311317, -0.651077926158905, 0.4333512485027313, -0.47236260771751404, 0.23958192765712738, 0.3697158992290497, -0.6784612536430359, 0.06230194866657257, -0.11925039440393448, -0.42368850111961365, -0.18218722939491272, 0.4467286467552185, -0.2728358209133148, 0.5502161979675293, -0.209544375538826, 0.21230381727218628, 1.0153368711471558, 0.18124988675117493, 0.4773764908313751, -0.35249030590057373, 1.024858832359314, -0.13287600874900818, 0.33669647574424744, -0.08143457770347595, -0.7759994268417358, -0.8225365877151489, 0.12818625569343567, 0.296366423368454, 0.6187198758125305, -0.6398635506629944, 0.07063749432563782, 0.21767574548721313, -0.15369416773319244, -0.5397483706474304, 0.3022521734237671, 0.175759419798851, 0.5257655382156372, 0.502321720123291, -0.3465442955493927, -0.3088986873626709, -0.45759281516075134, -0.1107575073838234, -0.18547986447811127, -0.08509671688079834, 0.42292797565460205, 0.46143290400505066, -0.02469678781926632, 0.7527943253517151, -0.822533369064331, -0.34224340319633484, -0.2145216464996338, -0.09578141570091248, -0.08516813069581985, 0.42630887031555176, 0.5042651891708374, -0.8424455523490906, -0.8922748565673828, -0.16854853928089142, -0.824816107749939, -0.030651241540908813, 0.027868859469890594, 0.018382703885436058, -0.36944207549095154, 0.29569047689437866, -0.4262535274028778, 0.3545243442058563, 0.32887551188468933, -0.37121978402137756, 0.5269345641136169, -0.0644034743309021, 0.19094614684581757, -0.8869974613189697, -0.2530997097492218, -0.2545435428619385, 0.10813598334789276, -0.4696037769317627, 0.10734187811613083, 0.06462355703115463, -0.3198028802871704, -0.20649169385433197, 0.6693375110626221, -0.3659265339374542, -0.17252880334854126, -0.17347784340381622, 0.02356017380952835, -0.09706160426139832, 0.3703402578830719, -0.19757330417633057, 1.070961356163025, 0.5543580651283264, -0.31974467635154724, 0.5283287763595581, 0.3765435814857483, -0.18740680813789368, 0.27539655566215515, -0.765890896320343, 0.29425862431526184, 0.26524800062179565, 0.16541162133216858, -0.8307934403419495, -0.1253356635570526, 0.4204378128051758, -0.5158835053443909, 0.12060452997684479, -0.018092945218086243, -0.3751366436481476, -0.27883559465408325, -0.3707691729068756, 0.49415796995162964, 0.7987182140350342, -0.4823291301727295, 0.5259969234466553, -0.028931401669979095, -0.3844151496887207, -0.1919325739145279, -0.2754329741001129, -0.04021230340003967, -0.24622514843940735, -0.3639952540397644, 0.5099146962165833, -0.6580713987350464, -0.4075166881084442, 0.08950483053922653, -0.06648224592208862, 0.03289348632097244, 0.45041757822036743, 0.01925068348646164, 0.34676462411880493, -0.38985270261764526, -0.0981539860367775, 0.11962678283452988, 0.09924887120723724, 0.20974060893058777, -0.015528159216046333, 0.2736203372478485, -0.11762184649705887, -0.6578264236450195, -0.23650553822517395, 0.31433188915252686, 0.1004997193813324, -0.35466673970222473, 0.2512337565422058, 0.6056596040725708, -0.29872679710388184, -0.2500248849391937, -0.2565668821334839, -0.5498644113540649, -0.5162255764007568, 0.021630294620990753, -0.49775591492652893, -1.153271198272705, 0.5386044979095459, -0.0554053857922554, 0.20148545503616333, 0.2159864604473114, 0.7224686145782471, -0.16938723623752594, 1.3844926357269287, 0.45866769552230835, 0.09845831990242004, 0.8646239638328552, -0.7310462594032288, 0.0315341018140316, -0.7792335152626038, -0.3540555238723755, -0.07586203515529633, -0.5124562978744507, -0.4233275055885315, -0.37588152289390564, 0.39858272671699524, -0.06664629280567169, -0.49708500504493713, -0.4150015711784363, -0.6821625232696533, 0.47608768939971924, 0.6649747490882874, 0.08002106845378876, 0.2065846174955368, -0.014431459829211235, -0.18859611451625824, 0.09088060259819031, -0.5018453001976013, -0.4664734899997711, 1.0165467262268066, 0.017842985689640045, 0.6759646534919739, 0.5554647445678711, 0.6534317135810852, 0.1368708312511444, 0.6576643586158752, -0.8435875773429871, 0.5939229726791382, 0.32992565631866455, -1.0005803108215332, -0.28304192423820496, -0.3336408734321594, -1.0694907903671265, 0.12801694869995117, -0.055045753717422485, -0.19168992340564728, -0.4245699942111969, 0.10835320502519608, -0.5189832448959351, 0.391843318939209, -0.7472593188285828, 0.5936006307601929, -0.35514891147613525, -0.5660989284515381, 0.13563232123851776, -0.4493706226348877, 0.12575958669185638, -0.22790154814720154, -0.3321871757507324, -0.0067330654710531235, -0.2378809005022049, 0.7122511863708496, -0.0667024776339531, 1.0204824209213257, -0.22148430347442627, -0.11715668439865112, 0.6483620405197144, 0.06659046560525894, 0.2799125611782074, 0.14071154594421387, -0.09338345378637314, -0.38566964864730835, -0.5634763836860657, -0.5605846047401428, -0.7175495028495789, 0.8291475176811218, -1.0643357038497925, -1.1763490438461304, -0.586908221244812, -0.5165054202079773, -0.3767583966255188, 0.12515605986118317, -0.08394469320774078, 0.13711772859096527, -0.11833103001117706, -0.06292077898979187, 0.9030621647834778, -0.006567515432834625, 0.4993739724159241, 0.4641539454460144, 0.1705893874168396, -0.4141673445701599, 0.8133102059364319, 0.2249916046857834, 0.11323122680187225, 0.3074159026145935, 0.363310843706131, -0.27190953493118286, -0.7780308127403259, -0.4880923628807068, -0.029917007312178612, -0.6896283626556396, -0.29925504326820374, -0.3309226334095001, -0.4038664698600769, -0.47512760758399963, -0.4768553078174591, -0.1338985115289688, -0.3759627044200897, -0.6156392097473145, -0.5009949207305908, 0.15602955222129822, 0.9728034138679504, 0.17283926904201508, 0.26229846477508545, -0.4916026294231415, 0.20351900160312653, 0.7989541292190552, 0.2568812072277069, -0.18443073332309723, -0.6452082395553589, 0.08430784940719604, -0.11908295005559921, -0.9482825994491577, -0.7323715090751648, 0.05115749314427376, 0.32113343477249146, 0.7339053153991699, 0.3595069944858551, -0.1869104653596878, 0.6088867783546448, -0.4732057452201843, 1.2155596017837524, 0.028099503368139267, -0.5517848134040833, 0.7152348756790161, -0.3629492223262787, 0.2755846083164215, 0.29966381192207336, 0.5587231516838074, 0.15105637907981873, -0.27376121282577515, -0.8391997814178467, -0.7037721872329712, 0.42230454087257385, 0.24540944397449493, 0.4910547435283661, 0.09777474403381348, 0.860187292098999, 0.20557831227779388, 0.1248428076505661, -0.7837525010108948, -0.34459614753723145, -0.4111311435699463, -0.4081442058086395, -0.10882721841335297, -0.07594851404428482, -0.22937212884426117, -0.4575161635875702, 0.4713105261325836, -0.18795065581798553, 0.31893548369407654, -0.1157047376036644, 0.07285472005605698, 0.0024154260754585266, 0.08070023357868195, 0.757551908493042, 0.6418737173080444, -0.12003618478775024, 0.050164397805929184, 0.4773429036140442, -0.871430516242981, 0.3238159716129303, 0.09003886580467224, -0.24504682421684265, -0.39083707332611084, 0.4191977381706238, 0.5930994153022766, -0.03551764413714409, -0.44665953516960144, 0.36840590834617615, -0.22296059131622314, -0.48779594898223877, -0.6282415390014648, 0.4760386645793915, -0.15719783306121826, 0.22162361443042755, 0.47063636779785156, -0.30258461833000183, 0.08643198758363724, -0.5719591379165649, 0.07930808514356613, 0.28103262186050415, -0.38535240292549133, -0.7541933655738831, 1.0006823539733887, 0.37604692578315735, -0.6790489554405212, 0.928210437297821, 0.04301120713353157, -0.5591723918914795, 0.8044925928115845, 0.8743199110031128, 0.8153681755065918, -0.5922003984451294, 0.20877021551132202, 0.4629506468772888, -0.028097612783312798, 0.10609494894742966, 0.6751171350479126, -0.2909853756427765, -0.7744359970092773, -0.15929578244686127, -0.1993928849697113, -0.8290559649467468, 0.17448769509792328, -0.5168048143386841, 0.013476446270942688, -0.6767476797103882, -0.03828103467822075, -0.2581576108932495, 0.25640058517456055, -0.4715625047683716, 0.4253937304019928, -0.12435701489448547, 0.37243491411209106, -0.636161208152771, 0.6314771771430969, 1.3753851652145386, -0.5859882831573486, -0.9721212387084961, 0.0612972192466259, -0.20746847987174988, -0.8821210265159607, 0.44867438077926636, 0.037559494376182556, 0.2532438039779663, 0.4761206805706024, -0.40062370896339417, -0.6041920185089111, 1.3800386190414429, 0.057391416281461716, -0.17355690896511078, -0.16968291997909546, 0.18594761192798615, 0.527452290058136, -0.09243524819612503, 0.2527028024196625, 0.14527055621147156, 0.36159300804138184, 0.3008411228656769, -0.4651036262512207, -0.2863350808620453, -0.4053555130958557, -0.4316386282444, 0.25546687841415405, -0.6665677428245544, 0.8766454458236694, -0.4360564351081848, 0.23598381876945496, 0.08279585093259811, 0.7406460046768188, 0.5172199010848999, 0.5769197940826416, 0.34037595987319946, 0.5043560862541199, 0.6747310161590576, -0.24803468585014343, 0.8842329382896423, -0.06661782413721085, 0.23700594902038574, 0.816975474357605, -0.11612259596586227, 0.5153919458389282, 0.43995898962020874, -0.39564207196235657, 0.3291313648223877, 1.0901281833648682, -0.16052570939064026, 0.47447094321250916, 0.2909703850746155, -0.7973620295524597, -0.1303180307149887, 0.3593459129333496, -0.5258440375328064, 0.24789021909236908, 0.3510963022708893, -0.06329827755689621, 0.04397895187139511, 0.1153039038181305, -0.21579556167125702, 0.06688503175973892, -0.4729742407798767, 0.7314630746841431, 0.03857079893350601, -0.7077521681785583, 0.10337674617767334, -0.11876316368579865, 0.4098104238510132, -0.47508275508880615, -0.24926650524139404, -0.5892401933670044, 0.24401356279850006, -0.17146822810173035, -0.8519722819328308, -0.04448205605149269, 0.03878594562411308, -0.0003273945767432451, -0.4176451861858368, 0.4523158669471741, -0.3733789324760437, -0.4914836585521698, -0.27390381693840027, 0.7649449110031128, 0.051054518669843674, 0.18323786556720734, -0.9633197784423828, -0.01541014201939106, 0.08821310847997665, -0.4783635437488556, 0.3381120562553406, 0.2448788285255432, -0.1491127908229828, 0.6414139866828918, 0.6901505589485168, 0.010667827911674976, 0.2303323596715927, 0.27161508798599243, 0.8310192227363586, -0.6464242339134216, -0.25550398230552673, -0.5601986050605774, 0.4073464870452881, 0.1482345163822174, -0.3789823651313782, 0.911566436290741, 0.702109694480896, 0.9333201050758362, -0.08648582547903061, 0.892616331577301, 0.10705096274614334, 0.3155973553657532, -0.3441670835018158, 0.24318677186965942, -0.567509651184082, 0.4780476689338684, -0.11112916469573975, -1.1655762195587158, -0.39461809396743774, 0.7299257516860962, -0.37146079540252686, 0.47537240386009216, 0.6397387981414795, 0.3765143156051636, -0.09852936863899231, -0.06674595177173615, 0.37651869654655457, -0.22657547891139984, 0.795646071434021, 0.3014982342720032, 1.1959121227264404, -0.2725776135921478, 0.4790560305118561, -0.2820596694946289, -0.14123950898647308, -0.021346179768443108, -0.1687130331993103, -1.0115735530853271, -0.5453611612319946, -0.5199888348579407, -0.07203978300094604, 0.06919621676206589, 0.4251086413860321, 0.0595737099647522, -0.5514078736305237, -0.04069119691848755, -0.2486172467470169, 0.1401071548461914, -0.0729077085852623, -0.23077085614204407, 0.5547658205032349, -0.400335431098938, -1.0330873727798462, 0.5238483548164368, -0.12386232614517212, 0.7220906019210815, -0.45297810435295105, -0.029583580791950226, 0.18536554276943207, -0.01702936552464962, 0.6614004969596863, 0.107339046895504, -0.5414018630981445, -0.32058873772621155, 0.3525581657886505, 0.018623631447553635, 0.10411185026168823, 0.9246671199798584, -0.813896894454956, 0.264649361371994, 0.4003801643848419, 0.7000933885574341, 0.4879302680492401, 0.1607086956501007, 0.3041696846485138, -0.4193955957889557, -0.0729261040687561, 0.798604428768158, 0.007811445277184248, 0.32133013010025024, -0.4689629375934601, 0.7541161179542542, 0.3820829689502716, -0.49404048919677734, -0.7314322590827942, 0.13161805272102356, -0.9418725967407227, -0.07877359539270401, 1.0990197658538818, -0.315992146730423, 0.28978389501571655, -0.06805887818336487, -0.2671440541744232, -0.04063465818762779, -0.005232545081526041, 0.9856704473495483, 0.671442985534668, -0.6551055312156677, -0.13707375526428223, -0.8197135329246521, 0.5087796449661255, 0.6429262757301331, -0.9326222538948059, -0.7015581130981445, 0.22305773198604584, 0.36247214674949646, -0.18148472905158997, 0.6018354296684265, -0.11130255460739136, 0.3518935441970825, -0.16298437118530273, -0.08490416407585144, -0.2415805608034134, -0.16356702148914337, -0.08053357154130936, 0.45822757482528687, 0.29981499910354614, -0.3008781373500824 ]
http://arxiv.org/abs/2406.13898v1
http://arxiv.org/pdf/2406.13898v1
The Use of Multimodal Large Language Models to Detect Objects from Thermal Images: Transportation Applications
2024-06-20T00:05:10
2024-06-20T00:05:10
Huthaifa I. Ashqar, Taqwa I. Alhadidi, Mohammed Elhenawy, Nour O. Khanfar
cs.CV
cs.CV, cs.CL, cs.CY
The integration of thermal imaging data with Multimodal Large Language Models (MLLMs) constitutes an exciting opportunity for improving the safety and functionality of autonomous driving systems and many Intelligent Transportation Systems (ITS) applications. This study investigates whether MLLMs can understand complex images from RGB and thermal cameras and detect objects directly. Our goals were to 1) assess the ability of the MLLM to learn from information from various sets, 2) detect objects and identify elements in thermal cameras, 3) determine whether two independent modality images show the same scene, and 4) learn all objects using different modalities. The findings showed that both GPT-4 and Gemini were effective in detecting and classifying objects in thermal images. Similarly, the Mean Absolute Percentage Error (MAPE) for pedestrian classification was 70.39% and 81.48%, respectively. Moreover, the MAPE for bike, car, and motorcycle detection were 78.4%, 55.81%, and 96.15%, respectively. Gemini produced MAPE of 66.53%, 59.35% and 78.18% respectively. This finding further demonstrates that MLLM can identify thermal images and can be employed in advanced imaging automation technologies for ITS applications.
[ -0.6210644245147705, -0.6782247424125671, 0.782120943069458, -0.02721991017460823, -0.33726340532302856, -0.027618443593382835, -0.2578536570072174, -0.8142885565757751, -0.3450569212436676, -0.11527835577726364, -0.3273489773273468, -0.4802326261997223, -0.44313254952430725, 0.03454180434346199, -0.32832202315330505, 0.2649143934249878, -0.12281624227762222, 0.017350804060697556, -0.039516888558864594, -0.10635789483785629, -0.36873069405555725, -0.7327750325202942, -0.3376103937625885, -0.06108741834759712, 0.8256180882453918, -0.22484301030635834, 0.7679429650306702, 0.39500337839126587, 0.7091854810714722, 0.43503308296203613, 0.41530749201774597, 0.44121742248535156, 0.07008720189332962, 0.005610954947769642, -0.14350441098213196, -0.015285774134099483, 0.07856255769729614, -0.3599362373352051, 0.6868978142738342, 0.03333261236548424, -0.15068328380584717, -0.033800091594457626, -0.3580015003681183, 0.539030909538269, -0.8864432573318481, 0.3896239101886749, -0.6724891662597656, 0.06319458782672882, -0.23232021927833557, -0.25309282541275024, -0.48488345742225647, 0.14207935333251953, -0.33188068866729736, -0.49505287408828735, 0.0866268053650856, 0.3758448660373688, 0.8946350812911987, 0.11742289364337921, -0.7407796382904053, -0.40763577818870544, -0.8597995638847351, 1.0013971328735352, -0.6146305799484253, 0.822150468826294, 0.08261524140834808, 0.5165582299232483, 0.10340215265750885, -0.3548748195171356, -0.8665892481803894, -0.2499823123216629, -0.4618532061576843, 0.18627004325389862, -0.14425845444202423, -0.17370592057704926, 0.24402019381523132, -0.12514622509479523, -0.9388221502304077, 0.22582672536373138, -0.464725136756897, -0.20837564766407013, 0.5109555125236511, 0.3452323377132416, 0.42672547698020935, 0.09680268913507462, -0.40200287103652954, -0.04929078742861748, -0.13785988092422485, -0.06203090399503708, 0.1971336156129837, 0.33254626393318176, -0.03960263356566429, 0.3638077676296234, 0.23302270472049713, 1.0502371788024902, -0.547102689743042, -0.47376325726509094, 0.49059104919433594, -0.1818239837884903, -0.612044632434845, -0.15768782794475555, 0.8339036107063293, 0.2873058021068573, 0.22121372818946838, -0.23879295587539673, -0.5467649698257446, -0.07354602217674255, -0.11910314112901688, -0.6143538951873779, -0.24659717082977295, 0.10265791416168213, -0.6100656986236572, 0.045699067413806915, 0.3215196132659912, -0.26301804184913635, -0.2245471477508545, -0.6582755446434021, 0.30361342430114746, -0.20006221532821655, -0.793712317943573, 0.44773340225219727, -0.19974280893802643, 0.8558754324913025, 0.6691635847091675, -0.8170894980430603, -0.1903134435415268, 0.6643764972686768, 0.7188115119934082, 0.03811514377593994, -0.3738599419593811, -0.1583590805530548, 0.2846950888633728, -0.12469539046287537, 1.065752387046814, -0.5964866280555725, -0.3850446343421936, -0.09810075163841248, 0.23089349269866943, -0.42760688066482544, -0.47482073307037354, 0.3537951111793518, -0.7324649095535278, 0.1551247537136078, -0.1536206156015396, -0.04770181328058243, -0.4720429480075836, 0.5489614009857178, -0.5044016242027283, 0.9260901808738708, 0.07455263286828995, -0.6925251483917236, 0.421883761882782, -0.5310121774673462, -0.6422994136810303, -0.1394195705652237, -0.16489997506141663, -0.6336168646812439, 0.019713522866368294, 0.07425161451101303, 0.8470771312713623, -0.16787122189998627, 0.22417959570884705, -0.3987562656402588, -0.1550503522157669, 0.4533623456954956, -0.5889613032341003, 0.484622985124588, 0.4164878726005554, -0.09407990425825119, 0.14505065977573395, -0.4504191279411316, -0.09482703357934952, 0.06402194499969482, -0.6111136078834534, -0.20055638253688812, -0.20503422617912292, 0.6268002986907959, 0.28960373997688293, 0.0664515495300293, -0.7069516181945801, 0.04204519838094711, 0.3471556603908539, 0.021724285557866096, 0.9416818618774414, -0.403715044260025, 0.17603923380374908, 0.05919552966952324, 0.3257535398006439, 0.505740761756897, 0.29129281640052795, -0.1977638155221939, -0.6483739614486694, -0.5592424869537354, -0.3956342339515686, -0.2930552661418915, 0.7348757386207581, -0.9661861658096313, 0.2644367218017578, 0.10017820447683334, -0.6085753440856934, -0.08669429272413254, -0.03949496150016785, 0.2729911506175995, 0.49440035223960876, 0.3585241138935089, 0.23576338589191437, -0.4643246531486511, -0.8200031518936157, -0.05332968384027481, -0.03851322457194328, -0.06680995970964432, 0.47500067949295044, 0.6771532893180847, -0.3056361675262451, 0.6468971371650696, -0.5485402345657349, -0.05561771243810654, 0.10694678872823715, -0.06769867241382599, 0.2579108774662018, 0.6040294766426086, 0.888924777507782, -1.1136059761047363, -0.5468633770942688, 0.5034827589988708, -1.3016102313995361, 0.6714500188827515, 0.04909992963075638, -0.005085647571831942, 0.12413450330495834, 0.5319613814353943, -0.5516135692596436, 0.2900818884372711, 0.3110390901565552, -0.41707301139831543, 0.3435920774936676, -0.4089083969593048, 0.25072938203811646, -0.6597131490707397, -0.01786753721535206, 0.3833148181438446, -0.41949689388275146, -0.905813992023468, -0.011215738952159882, 0.35660603642463684, -0.05552874505519867, -0.748451828956604, 0.3389222025871277, -0.667571485042572, -0.2706172466278076, -0.2809768617153168, -0.18717947602272034, -0.07493969053030014, 0.3740804195404053, 0.4479252099990845, 0.6288073658943176, 0.9615748524665833, -0.6033406853675842, 0.7164800763130188, -0.3291007876396179, -0.75633305311203, 0.5503900051116943, -0.3181856572628021, 0.33115530014038086, -0.7257319688796997, -0.033112626522779465, -0.9965403079986572, -0.19501686096191406, 0.39383649826049805, -0.10320131480693817, 0.4756802022457123, 0.08311590552330017, -0.8516245484352112, -0.425143301486969, 0.16509562730789185, 0.3901122212409973, 0.24814186990261078, -0.4226040840148926, 1.1178486347198486, 0.2772727310657501, 0.3530389964580536, -0.5398284196853638, -0.6199967861175537, -0.00881871860474348, -0.2635982036590576, -0.5331870317459106, -0.34475040435791016, -0.022991502657532692, -0.2943600118160248, -0.03797629103064537, 0.43284982442855835, -0.32438650727272034, 0.18889571726322174, 0.19154012203216553, 0.4711877405643463, -0.5118288993835449, 0.38537395000457764, -0.4855874478816986, -0.059696733951568604, -0.05961136147379875, -0.2191440761089325, 0.593904435634613, -0.4749912917613983, -0.567895233631134, -0.5874066352844238, 0.3078940212726593, 1.0576139688491821, -0.23427517712116241, 0.8926712870597839, 1.3931792974472046, -0.3861914277076721, 0.5052093267440796, -0.6866645812988281, -0.1977391093969345, -0.5240737795829773, 0.4859578013420105, -0.6039280295372009, -0.3909873962402344, 0.4030632972717285, 0.31870847940444946, -0.02366476319730282, 0.4022720754146576, 0.6123672127723694, -0.3098616600036621, 1.0243083238601685, 0.36039596796035767, -0.10027746856212616, 0.4005740284919739, -0.17426864802837372, 0.2598661780357361, -0.9296061992645264, -0.8877747654914856, -0.5199253559112549, -0.39341112971305847, -0.33091220259666443, -0.4078761339187622, 0.4259026050567627, -0.6614170074462891, -0.4622002840042114, 0.12651865184307098, -0.6177136898040771, 0.5612268447875977, 0.41919195652008057, 0.6622274518013, 0.1732671856880188, 0.019998908042907715, 0.20919738709926605, 0.12190484255552292, -0.4526229500770569, -0.2160741239786148, 0.8008376359939575, 0.483638733625412, 0.9418731331825256, 0.24548783898353577, 0.04441041871905327, 0.21245886385440826, 0.535882294178009, -0.8477044105529785, 0.5182843208312988, -0.26190999150276184, -0.7757087349891663, -0.16761021316051483, -0.2990216314792633, -0.8210916519165039, 0.5048013925552368, -0.2708737552165985, -0.3075663447380066, 0.38100919127464294, -0.025906985625624657, -0.041906435042619705, 0.6954468488693237, -0.8882099986076355, 0.8381756544113159, -0.7178788185119629, -0.19989584386348724, 0.07093232125043869, -0.5692397952079773, 0.549441397190094, -0.18860618770122528, 0.4371739327907562, -0.35610851645469666, 0.04595150053501129, 0.6339011192321777, 0.3080500066280365, 0.6484464406967163, -0.4920291006565094, -0.10028189420700073, 0.08578811585903168, -0.07157894223928452, 0.2388746440410614, -0.23916670680046082, -0.19630497694015503, 0.11218468099832535, -0.25884440541267395, -0.4281494617462158, -0.6847376227378845, 0.5419672131538391, -0.7930816411972046, -0.5141986608505249, -0.5103016495704651, -0.8074009418487549, -0.010043563321232796, 0.12278637290000916, -0.0036295850295573473, 0.46339496970176697, 0.407417893409729, 0.21299408376216888, 0.4685743451118469, -0.2346174120903015, 0.6600174903869629, 0.7054867148399353, -0.3596149682998657, -0.0032648607157170773, 1.0587689876556396, -0.1343875676393509, 0.0760459303855896, 0.4619905948638916, 0.27826499938964844, -0.505346417427063, -0.5844937562942505, -0.4493574798107147, 0.3010161817073822, -0.9866692423820496, -0.26528850197792053, -0.6443824768066406, -0.06329081207513809, -0.2873097062110901, -0.2597067356109619, -0.1455872505903244, 0.10481559485197067, -0.5611724257469177, -0.03149353712797165, 0.14822939038276672, 0.7748481631278992, 0.01899353601038456, 0.1779659390449524, -0.7100535035133362, 0.16918742656707764, 0.6079215407371521, -0.21013830602169037, 0.006867727264761925, -0.3314210772514343, -0.19239245355129242, -0.015325605869293213, 0.00905355904251337, -0.3893702030181885, 0.3970421254634857, 0.004127044230699539, 0.7414606809616089, 0.6693776845932007, -0.1488548219203949, 0.76169753074646, -0.09318634122610092, 0.6838955879211426, 0.6160727143287659, -0.7482913732528687, 0.3279377520084381, -0.2926288843154907, 0.4244925379753113, 0.04075327888131142, 0.37806519865989685, -0.23882454633712769, -0.2693242132663727, -0.14692531526088715, -0.32748162746429443, 0.4543015956878662, 0.06539037078619003, 0.17499855160713196, 0.2579517364501953, 0.23510333895683289, -0.12236527353525162, 0.272525817155838, -0.9765835404396057, -0.025228051468729973, -0.3356347382068634, -0.09016279876232147, -0.10305814445018768, 0.01504750456660986, 0.0607229508459568, -0.3285844326019287, 0.2859205901622772, -0.009687653742730618, 0.5566047430038452, 0.16690894961357117, 0.0313170850276947, 0.15583957731723785, 0.1736627221107483, 1.1489537954330444, 0.6328858137130737, -0.4297329783439636, 0.6590548157691956, -0.029215985909104347, -0.4897189140319824, 0.19448906183242798, -0.4676714837551117, 0.22799214720726013, 0.1857006847858429, 0.5692776441574097, 0.6005674004554749, -0.2271512895822525, -0.5483841300010681, 0.2936078608036041, -0.09218598157167435, -0.07319086045026779, -0.22391337156295776, 0.10387726873159409, -0.13734681904315948, 0.43326160311698914, 0.38399478793144226, 0.44436460733413696, 0.054115839302539825, -1.016823410987854, -0.039565086364746094, 0.8356946706771851, -0.31823593378067017, -0.39166855812072754, 0.5548405051231384, 0.09312251210212708, 0.0773668885231018, 0.8797695636749268, -0.2114895135164261, -0.7715545892715454, 0.8954001069068909, 0.5074464082717896, 0.6485850811004639, -0.38008448481559753, -0.18921136856079102, 0.3455522358417511, 0.5602447390556335, -0.09108147770166397, 0.3060910403728485, -0.2235015481710434, -1.3735051155090332, 0.019272780045866966, -0.31455689668655396, -0.12722544372081757, -0.24975337088108063, -0.5678526163101196, 0.11281578987836838, -0.42693954706192017, -0.20461036264896393, 0.0018442224245518446, -0.6542760729789734, -0.986839234828949, 0.4090702533721924, 0.46206098794937134, 0.7017022967338562, -1.2140663862228394, 1.0483131408691406, 0.6049283742904663, -0.08300777524709702, -0.8093313574790955, -0.380576491355896, -0.09718149900436401, -1.21055269241333, 1.3264691829681396, 0.2432079166173935, -0.3595626950263977, -0.060019753873348236, -0.4227616488933563, -0.41476941108703613, 1.1264568567276, 0.313018798828125, -0.5322099924087524, -0.0752667635679245, 0.051660411059856415, 0.22546252608299255, -0.38299134373664856, 0.44927459955215454, 0.23228175938129425, 1.0273582935333252, 0.3346148133277893, -1.1143807172775269, -0.08560310304164886, -0.033345919102430344, -0.06598573923110962, 0.2785128057003021, -0.5648510456085205, 0.9989057779312134, -0.24777181446552277, -0.2039719969034195, -0.1544659584760666, 0.3402499258518219, 0.04541284218430519, 0.5992502570152283, 0.7245080471038818, 0.5054692625999451, 0.6369468569755554, -0.30852875113487244, 0.8688585162162781, 0.15390872955322266, 0.5702872276306152, 0.44178903102874756, -0.34818345308303833, 0.7686930298805237, 0.45419782400131226, -0.11678668111562729, 0.5958202481269836, 0.5926322937011719, -0.2325250804424286, 0.8595783710479736, -0.05012595281004906, -0.617550790309906, -0.4768662750720978, -0.02555096335709095, -0.5054836273193359, 0.4999309480190277, 0.6475257873535156, -0.3487357497215271, -0.1692804992198944, 0.7799265384674072, -0.035553961992263794, -0.4150480628013611, -0.48007556796073914, 0.6857296228408813, -0.1902032047510147, -0.3421858251094818, 0.4855143129825592, -0.004319680389016867, 0.5014899969100952, -0.436276912689209, 0.23294571042060852, 0.2217753678560257, 0.36458563804626465, -0.5164217948913574, -1.172438383102417, 0.3345106840133667, -0.17664670944213867, 0.07271631807088852, -0.24724537134170532, 0.7441152930259705, -0.21846851706504822, -0.7780314683914185, 0.04873194545507431, 0.24211707711219788, 0.22073228657245636, -0.27863502502441406, -0.5670058727264404, 0.4939628839492798, -0.030350755900144577, -0.07955052703619003, 0.11014459282159805, 0.3562855124473572, 0.4662448763847351, 0.8190005421638489, 0.7775670886039734, -0.29220882058143616, 0.2100849151611328, -0.28758448362350464, 0.9893777370452881, -0.703687310218811, -0.10825751721858978, -0.9721224308013916, 0.6835041046142578, 0.12650226056575775, 0.31557923555374146, 0.8132786750793457, 0.9414010643959045, 0.535785973072052, -0.6046103239059448, 0.7577142715454102, 0.2084088772535324, 0.07058658450841904, -0.9841264486312866, 0.076356440782547, -0.5900154113769531, 0.19722987711429596, -0.1102081835269928, -0.7590032815933228, -0.6137045621871948, 0.8777201771736145, -0.3222200870513916, 0.07110831141471863, 0.7085619568824768, 0.996544599533081, -0.5411035418510437, -0.2078351378440857, 0.6998177170753479, -0.08420337736606598, 0.6114811301231384, 0.5749659538269043, 1.1424438953399658, -0.5013017654418945, 0.39935338497161865, -0.08296877890825272, 0.03716413304209709, -0.03934093937277794, -0.7840595245361328, -1.035753607749939, -0.6673861742019653, -0.3750939965248108, -0.29897528886795044, -0.18779398500919342, 0.4343335032463074, 1.1261693239212036, -0.6469259858131409, -0.1713963896036148, 0.18665730953216553, 0.13436198234558105, 0.09302697330713272, -0.2188568413257599, 0.3900054097175598, 0.11418701708316803, -0.6901282072067261, 0.265118271112442, 0.6619774699211121, 0.3953554332256317, -0.5499644875526428, -0.0016170934541150928, -0.07311155647039413, -0.29032546281814575, 0.827965497970581, 0.3350701928138733, -0.8489593267440796, -0.309577614068985, 0.12632037699222565, -0.1535472571849823, 0.10211450606584549, 1.0762754678726196, -0.598641574382782, 0.5119969248771667, 0.40114814043045044, 0.10756149888038635, 0.46384334564208984, -0.16012999415397644, 0.03067968226969242, -0.3787650167942047, 0.7371315360069275, 0.06197104975581169, 0.7470413446426392, 0.38855621218681335, -0.38153377175331116, 0.19489644467830658, 0.36986517906188965, -0.6026431918144226, -0.5558809041976929, 0.25737884640693665, -1.350119948387146, -0.410883367061615, 1.143294334411621, -0.15007930994033813, -0.3562370240688324, -0.5978802442550659, -0.2486269325017929, -0.3019023537635803, -0.354331374168396, 0.4642064571380615, 0.27093109488487244, -0.16978824138641357, -0.8107872009277344, -0.4585356116294861, -0.17792722582817078, -0.3529995381832123, -0.9958896040916443, -0.17932535707950592, 0.329928994178772, 0.18913324177265167, 0.40276771783828735, 0.3719560205936432, 0.2511540651321411, 0.2249494045972824, -0.3909529447555542, -0.27421656250953674, -0.31746867299079895, -0.16419059038162231, 0.0683298408985138, 0.3208373785018921, -0.06012044847011566, -0.525667667388916 ]
http://arxiv.org/abs/2406.13893v1
http://arxiv.org/pdf/2406.13893v1
Open Generative Large Language Models for Galician
2024-06-19T23:49:56
2024-06-19T23:49:56
Pablo Gamallo, Pablo Rodríguez, Iria de-Dios-Flores, Susana Sotelo, Silvia Paniagua, Daniel Bardanca, José Ramom Pichel, Marcos Garcia
cs.CL
cs.CL
Large language models (LLMs) have transformed natural language processing. Yet, their predominantly English-centric training has led to biases and performance disparities across languages. This imbalance marginalizes minoritized languages, making equitable access to NLP technologies more difficult for languages with lower resources, such as Galician. We present the first two generative LLMs focused on Galician to bridge this gap. These models, freely available as open-source resources, were trained using a GPT architecture with 1.3B parameters on a corpus of 2.1B words. Leveraging continual pretraining, we adapt to Galician two existing LLMs trained on larger corpora, thus mitigating the data constraints that would arise if the training were performed from scratch. The models were evaluated using human judgments and task-based datasets from standardized benchmarks. These evaluations reveal a promising performance, underscoring the importance of linguistic diversity in generative models.
[ -0.15788336098194122, -0.2583146095275879, 0.5958794355392456, 0.5318435430526733, -0.2920105457305908, 0.18856997787952423, -0.6377587914466858, -0.49853262305259705, 0.1676199734210968, 0.6231026649475098, -0.49825480580329895, -0.7503673434257507, -0.8310792446136475, 0.12738154828548431, -0.17799012362957, 0.8630141615867615, -0.06244511529803276, 0.34028249979019165, -0.054968539625406265, -0.30255815386772156, -0.46738818287849426, -0.21867729723453522, -0.5530743598937988, -0.2839089632034302, 0.4470480978488922, 0.2404906451702118, 0.60690838098526, 0.569016695022583, 0.3246721923351288, 0.2860931158065796, -0.0021114563569426537, 0.17597734928131104, -0.6986241936683655, 0.01398911140859127, -0.2879219353199005, -0.5728724598884583, -0.23425494134426117, -0.11669079214334488, 0.7937273979187012, 0.7437113523483276, -0.3192909359931946, 0.09068078547716141, 0.02239966206252575, 0.658128023147583, -0.4598562717437744, 0.266642302274704, -0.976477324962616, 0.09021399915218353, -0.5280907154083252, 0.08058300614356995, -0.4992769956588745, -0.42705756425857544, -0.05507781729102135, -0.624869167804718, 0.4152267873287201, -0.16252130270004272, 0.4739767014980316, 0.4499302804470062, -0.12040271610021591, -0.3718028664588928, -0.9274958968162537, 0.7670208215713501, -0.480562299489975, 0.7218651175498962, 0.20909897983074188, 0.17544375360012054, -0.14032474160194397, -0.5488437414169312, -0.20238694548606873, -0.47398632764816284, 0.050472766160964966, 0.31304842233657837, -0.6266982555389404, 0.13615800440311432, 0.06468414515256882, 0.437908798456192, -0.7629431486129761, 0.6839959621429443, -0.6001304984092712, 0.044235654175281525, 0.20466163754463196, 0.11853161454200745, 0.14118404686450958, 0.17217785120010376, -0.33946067094802856, -0.03985840082168579, -0.9723379611968994, -0.2847166359424591, 0.6490362882614136, 0.5009182691574097, -0.19229756295681, 0.5465853810310364, -0.05903824418783188, 0.7291927933692932, -0.03677785396575928, -0.1381087452173233, 0.3466666638851166, -0.0015092998510226607, -0.2898981273174286, -0.15565209090709686, 0.8025450706481934, 0.025794006884098053, 0.23066376149654388, -0.3268844485282898, -0.058786049485206604, 0.1411798596382141, 0.2437555193901062, -0.4226973056793213, -0.07715614140033722, -0.018704000860452652, -0.2544630765914917, 0.028320331126451492, 0.040030837059020996, -0.5564359426498413, -0.10497855395078659, -0.2848506569862366, 0.05771438777446747, -0.25365930795669556, -0.12269771099090576, 0.41267144680023193, 0.10211087018251419, 0.053491950035095215, 0.41113150119781494, -1.1175175905227661, 0.36215144395828247, 0.6958898901939392, 1.0041924715042114, -0.27878764271736145, -0.24639691412448883, -0.5034955143928528, 0.1243661493062973, -0.3181702494621277, 0.6280736327171326, -0.27995380759239197, -0.3518744111061096, 0.10065186023712158, 0.06518007814884186, -0.1167617216706276, -0.8292236924171448, 0.6114968061447144, -0.616267740726471, 0.11469309777021408, 0.1179126650094986, -0.08027981966733932, 0.19515544176101685, 0.17520920932292938, -0.9427245855331421, 1.0223015546798706, 0.5636476278305054, -0.7130811810493469, 0.21807292103767395, -0.5221675038337708, -0.2025187909603119, 0.3744831383228302, -0.038814980536699295, 0.07301653176546097, 0.2896571457386017, 0.1281432956457138, 0.23382316529750824, -0.639411449432373, 0.42386317253112793, -0.04781250283122063, 0.17167456448078156, -0.17586974799633026, -0.5185548663139343, 0.7049350142478943, 0.1728910356760025, 0.15610544383525848, 0.20386122167110443, -0.6916441917419434, -0.12548920512199402, -0.12264129519462585, -0.5093508362770081, -0.3998701870441437, -0.17437708377838135, 0.0650252178311348, 0.35092371702194214, 0.2903941869735718, -0.6661339998245239, 0.09513897448778152, -0.7037435173988342, 0.3559509217739105, 0.7896612286567688, -0.5842238664627075, 0.5461555123329163, -0.08411087095737457, 0.8109468221664429, -0.10969173163175583, 0.2051485776901245, 0.16701439023017883, -0.5148617625236511, -0.8112062811851501, -0.6850417256355286, 0.38248124718666077, 0.5984681248664856, -0.7582597732543945, 0.09890368580818176, -0.2966107130050659, -0.5101729035377502, -0.9494031667709351, 0.4033035337924957, 0.4919387102127075, 0.2667156457901001, 0.38033875823020935, -0.28834769129753113, -0.664046585559845, -1.0842373371124268, 0.1328572779893875, -0.28545716404914856, -0.37988775968551636, 0.03508180007338524, 0.40025168657302856, -0.32991957664489746, 0.6765468716621399, -0.5404790639877319, -0.21393893659114838, -0.20963723957538605, 0.1475307047367096, 0.321892648935318, 0.19430437684059143, 0.5789934992790222, -0.5834733247756958, -0.4565248191356659, 0.23347865045070648, -0.4591336250305176, -0.4836549758911133, 0.37617143988609314, -0.057914234697818756, 0.17941665649414062, 0.5268157720565796, -0.44222816824913025, -0.08001081645488739, 1.0227608680725098, -0.008885795250535011, 0.3974968194961548, -0.3491116464138031, -0.2689764201641083, -0.9625035524368286, -0.19881446659564972, -0.050362713634967804, -0.21298830211162567, -0.5136921405792236, 0.14216972887516022, -0.06117795780301094, 0.16397230327129364, -0.6198455691337585, 0.686424970626831, -0.4786875247955322, -0.17090290784835815, -0.13009190559387207, -0.13467147946357727, -0.23711687326431274, 0.03094303049147129, 0.13290344178676605, 0.71177077293396, 0.3203311860561371, -0.27339792251586914, 0.22164466977119446, 0.2359047681093216, -0.3435880243778229, 0.27881717681884766, -0.613588273525238, -0.02328343130648136, -0.32544469833374023, 0.14087481796741486, -0.6851415634155273, -0.33972200751304626, 0.08425109088420868, -0.1507948935031891, 0.24689443409442902, -0.30096182227134705, -0.30095309019088745, -0.5323657393455505, -0.28102558851242065, 0.29287484288215637, 0.48203587532043457, -0.8526882529258728, 0.4800935983657837, 0.3549315631389618, -0.3724818229675293, -0.47589021921157837, -0.5938003659248352, -0.02371421456336975, -0.08105539530515671, -0.7737072706222534, 0.5149936676025391, -0.11566183716058731, -0.442102313041687, -0.04624814912676811, 0.240928053855896, -0.07804568111896515, -0.011322097852826118, 0.3282868266105652, 0.23634575307369232, -0.28701120615005493, 0.18982750177383423, -0.019363386556506157, -0.07887743413448334, -0.19341763854026794, -0.6910409927368164, 0.8059090971946716, -0.19101844727993011, -0.3383232057094574, 0.065472811460495, 0.4110453426837921, 0.5107775330543518, -0.3359631299972534, 0.7021377682685852, 0.5035716891288757, -0.2982841730117798, -0.3755246698856354, -0.5576607584953308, 0.3349365293979645, -0.39277589321136475, 0.3660808801651001, -0.14263485372066498, -1.4484015703201294, 0.6014806032180786, 0.14878207445144653, -0.046816885471343994, 0.5278018712997437, 1.0955222845077515, 0.23167648911476135, 0.6024550199508667, 0.8581531643867493, -0.11322200298309326, 0.4244047999382019, -0.01292650680989027, -0.1234949380159378, -0.6941997408866882, -0.23159469664096832, -0.6517346501350403, 0.14544089138507843, -0.8357046842575073, -0.8383516669273376, 0.382710337638855, 0.13148878514766693, 0.013455227948725224, 0.19334504008293152, -0.173183873295784, 0.49630796909332275, 0.5661662220954895, -0.040386032313108444, 0.39136695861816406, -0.09356973320245743, -0.08723622560501099, -0.015407978557050228, -0.8164259195327759, -0.6400611400604248, 1.1167511940002441, 0.5879500508308411, 0.8219045996665955, 0.13441136479377747, 0.5773283243179321, 0.09578374773263931, 0.6971558928489685, -0.6512547731399536, 0.2544475197792053, -0.6804442405700684, -0.4067399799823761, -0.22571419179439545, -0.3950369954109192, -0.8760875463485718, 0.37409722805023193, -0.114195317029953, -0.5394836664199829, -0.06270886212587357, 0.07194630801677704, -0.11790642142295837, 0.2620033323764801, -0.49771848320961, 0.6331963539123535, -0.3021495044231415, -0.39517417550086975, -0.028420308604836464, -0.3603208363056183, 0.48304712772369385, -0.3132092356681824, 0.32053396105766296, -0.13120295107364655, 0.06267982721328735, 0.5795240998268127, -0.31643223762512207, 0.7700276970863342, -0.07160655409097672, -0.3872740864753723, 0.17155037820339203, -0.07672611624002457, 0.3341621458530426, 0.060326945036649704, -0.11470163613557816, 0.3703937828540802, -0.49601951241493225, -0.2729679346084595, -0.22810010612010956, 0.7547788023948669, -0.7783798575401306, -0.4531698226928711, -0.19497288763523102, -0.5443700551986694, -0.2822716534137726, -0.08652365952730179, 0.3523567318916321, -0.08159960061311722, -0.6337653398513794, 0.12343466281890869, 0.7377009987831116, -0.39715397357940674, 0.16364873945713043, 0.7518306374549866, -0.15904773771762848, -0.5571114420890808, 0.5517259836196899, -0.004727574065327644, 0.5210232734680176, 0.39362287521362305, 0.1284434050321579, -0.21031473577022552, -0.762025773525238, -0.5666239261627197, 0.24081748723983765, -0.4817104935646057, -0.1901519000530243, -0.6476953029632568, -0.04694976285099983, -0.41950738430023193, -0.2123592048883438, -0.5209338068962097, -0.28343716263771057, -0.39612627029418945, -0.21578365564346313, 0.10418045520782471, 0.8873119950294495, -0.3415447771549225, 0.5590213537216187, -0.7984251379966736, 0.35962826013565063, 0.3851025104522705, 0.35914167761802673, -0.11115541309118271, -0.5523290634155273, -0.21615906059741974, -0.10123904794454575, -0.17407704889774323, -0.5798501372337341, 0.6684237718582153, -0.042022258043289185, 0.48416733741760254, 0.26658013463020325, -0.5001797676086426, 0.28816354274749756, -0.7493916749954224, 0.5957025289535522, 0.4302856922149658, -0.5560562610626221, 0.32378438115119934, -0.7535449266433716, 0.23678529262542725, 0.5484172701835632, 0.5685756802558899, -0.3624162971973419, -0.5043242573738098, -0.3362451195716858, -0.9273858666419983, 0.7225180864334106, -0.023991543799638748, 0.08955570310354233, -0.28486406803131104, 0.061953943222761154, 0.5125077962875366, 0.21893243491649628, -0.8859037160873413, 0.2803744375705719, 0.004374684300273657, -0.3105703294277191, -0.21692822873592377, -0.1595841348171234, -0.013668602332472801, -0.19691599905490875, 0.5476410388946533, -0.13597187399864197, 0.15265755355358124, -0.2996115982532501, -0.09683399647474289, -0.12447532266378403, 0.4445689022541046, 0.5413011312484741, 0.5226923227310181, -0.23345239460468292, -0.09012602269649506, 0.2346566617488861, -0.5932769179344177, 0.20231996476650238, 0.1244201734662056, -0.3140513598918915, 0.0885237455368042, 0.3961634635925293, 0.9061084389686584, 0.27453410625457764, -0.5778942108154297, 0.3722769618034363, 0.07748490571975708, -0.19068863987922668, -0.3825622498989105, -0.007023266516625881, 0.26299935579299927, 0.46264466643333435, 0.10829263925552368, -0.2510342597961426, -0.1694585233926773, -0.52043217420578, -0.301196426153183, 0.5254657864570618, -0.3486051559448242, -0.3668428063392639, 0.5879894495010376, 0.1117996796965599, -0.1782868206501007, 0.5151541829109192, -0.2190849930047989, -0.49586769938468933, 0.44402197003364563, 0.8495796918869019, 0.9009454250335693, -0.25304388999938965, 0.4626599848270416, 0.3328457474708557, 0.6027941703796387, -0.554466724395752, 0.23222732543945312, 0.27044567465782166, -0.7893317341804504, -0.5479891896247864, -1.070583701133728, -0.44061964750289917, 0.25304365158081055, -0.6515834331512451, 0.15551680326461792, -0.29797396063804626, -0.07139898836612701, -0.16266517341136932, -0.5218940377235413, -0.8359965085983276, 0.018640125170350075, 0.18032027781009674, 0.8858813047409058, -1.1212888956069946, 0.7322021722793579, 0.5092161893844604, -0.2812156081199646, -0.37329956889152527, -0.24991276860237122, -0.2989685535430908, -0.8289889693260193, 0.9170252084732056, -0.1695995032787323, -0.20826812088489532, -0.021023962646722794, -0.5291424989700317, -0.7190682291984558, 0.9256814122200012, 0.7304885387420654, -0.7827091217041016, -0.28965023159980774, 0.2887820303440094, 0.7900301218032837, -0.44093653559684753, 0.1471758931875229, 0.496822714805603, 0.3825882375240326, -0.16134943068027496, -1.0789811611175537, -0.42091089487075806, 0.0482647679746151, 0.14643162488937378, 0.5541908740997314, -0.6849613785743713, 1.1624075174331665, 0.021951958537101746, -0.15906397998332977, 0.1894516497850418, 0.582690417766571, 0.17139367759227753, 0.09225519001483917, 0.1666860580444336, 0.9207743406295776, 0.8280152678489685, -0.09078029543161392, 0.9092065691947937, -0.01660642772912979, 0.11491815745830536, 1.2025306224822998, -0.42673543095588684, 0.8658856153488159, 0.38893795013427734, -0.295661062002182, 0.38347017765045166, 0.19461171329021454, 0.08684676885604858, 0.4628959894180298, 0.3821907937526703, -0.6222091913223267, -0.18862871825695038, -0.23269082605838776, -0.3042961657047272, 0.703815758228302, 0.477646142244339, -0.4880737364292145, -0.5143933296203613, 0.15906183421611786, -0.1411789208650589, 0.2665710151195526, -0.6328118443489075, 0.5949758887290955, -0.011464244686067104, -0.5783435702323914, 0.3190475404262543, 0.42189761996269226, 0.8792320489883423, -0.7778078317642212, 0.06644975394010544, -0.16748355329036713, -0.03130696341395378, -0.12286067008972168, -0.6108781099319458, 0.17803114652633667, 0.3703029751777649, -0.5683853626251221, -0.48663046956062317, 0.7136726379394531, -0.36813730001449585, -0.5515505075454712, 0.6028875708580017, 0.7285031676292419, 0.03554388880729675, 0.06898989528417587, -0.21293222904205322, 0.012715916149318218, 0.010570862330496311, 0.033684954047203064, 0.3630004823207855, 0.315487265586853, -0.37915104627609253, 0.4113711714744568, 0.7097111344337463, 0.3867827355861664, 0.3108617067337036, 0.25337502360343933, 0.9973790645599365, -0.398406058549881, -0.32750293612480164, -0.7774826288223267, 0.19855384528636932, 0.30514687299728394, -0.42119911313056946, 0.49912890791893005, 0.581768274307251, 1.2702305316925049, -0.4205847680568695, 0.7445380687713623, 0.14837078750133514, 0.5355138778686523, -0.9420980215072632, 0.4754451811313629, -0.05415274575352669, 0.09388186037540436, -0.002009188523516059, -0.9484845995903015, -0.29921650886535645, 0.48349496722221375, -0.3162165582180023, -0.11669415980577469, 0.40583279728889465, 0.7286853194236755, -0.09080751985311508, -0.15074855089187622, 0.4097210466861725, 0.4192582368850708, 0.14945784211158752, 0.844900369644165, 0.9364808797836304, 0.06732141226530075, 0.13476349413394928, 0.08889202028512955, -0.3499140441417694, -0.05223023518919945, -0.9701104760169983, -0.7394680380821228, -0.3983539044857025, 0.13217471539974213, -0.08002544194459915, 0.2257077991962433, 1.0188250541687012, 0.3619617223739624, -0.564644992351532, -0.30041247606277466, -0.14126227796077728, -0.1053524762392044, 0.41414520144462585, -0.11817450821399689, 0.011081872507929802, -0.11616793274879456, -0.6454141139984131, 0.6209256649017334, 0.4215773046016693, 0.02867223508656025, -0.5642372965812683, -0.19630199670791626, -0.00673905573785305, -0.140766903758049, 0.8269141912460327, 0.414585679769516, -0.6138521432876587, -0.026856357231736183, -0.026635970920324326, -0.13429418206214905, 0.13539323210716248, 0.6575472950935364, -0.8085736632347107, 0.3424701988697052, 0.4013323187828064, 0.48388391733169556, 0.5335296392440796, -0.12404564768075943, 0.4804132878780365, -0.7450472116470337, 0.4568994641304016, 0.4846220016479492, 0.2947586178779602, 0.4756653606891632, 0.056262385100126266, 0.5505495667457581, 0.02066219225525856, -0.23513032495975494, -0.782294511795044, 0.35351014137268066, -0.8142268657684326, 0.04344150796532631, 1.2058563232421875, -0.0911383181810379, -0.04828200116753578, 0.020416980609297752, -0.04222310706973076, 0.21119661629199982, -0.06127047538757324, 0.4921415448188782, 0.8353205323219299, 0.1596212089061737, 0.20272094011306763, -0.9693124890327454, 0.2738376259803772, 0.07874440401792526, -0.8893976211547852, 0.032291311770677567, 0.7122519612312317, 0.16202014684677124, 0.07402508705854416, 0.8477200865745544, -0.30207157135009766, 0.08682478219270706, -0.16309989988803864, 0.16927987337112427, 0.038514427840709686, -0.714177668094635, -0.5196288228034973, 0.15755058825016022, 0.4582746624946594, 0.13133683800697327 ]
http://arxiv.org/abs/2406.13892v1
http://arxiv.org/pdf/2406.13892v1
Adaptable Logical Control for Large Language Models
2024-06-19T23:47:59
2024-06-19T23:47:59
Honghua Zhang, Po-Nien Kung, Masahiro Yoshida, Guy Van den Broeck, Nanyun Peng
cs.CL
cs.CL
Despite the success of Large Language Models (LLMs) on various tasks following human instructions, controlling model generation at inference time poses a persistent challenge. In this paper, we introduce Ctrl-G, an adaptable framework that facilitates tractable and flexible control of LLM generation to reliably follow logical constraints. Ctrl-G combines any production-ready LLM with a Hidden Markov Model, enabling LLM outputs to adhere to logical constraints represented as deterministic finite automata. We show that Ctrl-G, when applied to a TULU2-7B model, outperforms GPT3.5 and GPT4 on the task of interactive text editing: specifically, for the task of generating text insertions/continuations following logical constraints, Ctrl-G achieves over 30% higher satisfaction rate in human evaluation compared to GPT4. When applied to medium-size language models (e.g., GPT2-large), Ctrl-G also beats its counterparts for constrained generation by large margins on standard benchmarks. Additionally, as a proof-of-concept study, we experiment Ctrl-G on the Grade School Math benchmark to assist LLM reasoning, foreshadowing the application of Ctrl-G, as well as other constrained generation approaches, beyond traditional language generation tasks.
[ -0.10521572828292847, -1.0777406692504883, 0.9102255702018738, 0.16396768391132355, -0.08124788850545883, 0.04699905961751938, -0.48555848002433777, -0.23764529824256897, -0.3068958520889282, 0.46089184284210205, -0.7905998229980469, -0.5560064911842346, -0.5509995222091675, 0.19374875724315643, -0.27446117997169495, 0.9653725624084473, -0.11709775775671005, -0.33269909024238586, -0.0137696648016572, 0.10297680646181107, -0.44459882378578186, -0.5573912262916565, -0.49043622612953186, -0.2080332338809967, 0.49511751532554626, 0.1646210104227066, 1.1580274105072021, 0.7979432344436646, 0.24896594882011414, 0.4044800400733948, -0.08600165694952011, 0.3485906422138214, -0.36941590905189514, 0.1631045937538147, -0.5778880715370178, -0.5191107988357544, -0.39322429895401, 0.08802638202905655, 0.5259094834327698, 0.40911799669265747, -0.1604657620191574, -0.21041655540466309, 0.09845750033855438, 0.6186073422431946, -0.46395397186279297, 0.2112162858247757, -0.9101118445396423, 0.10229547321796417, -0.09722650796175003, -0.03248358145356178, -0.4947635531425476, -0.7361584305763245, -0.13627414405345917, -0.8849380612373352, -0.07468806952238083, -0.1879063844680786, 0.6496152877807617, 0.5318793058395386, -0.521002471446991, -0.5149189829826355, -0.8489316701889038, 0.7351773977279663, -0.8120048642158508, 0.29898300766944885, 0.15183693170547485, 0.38956865668296814, -0.5827502608299255, -0.7177115678787231, -0.7148456573486328, -0.3455003499984741, -0.026696475222706795, 0.06259569525718689, -0.2339811474084854, 0.2889760732650757, 0.5607946515083313, -0.09615924954414368, -0.34544119238853455, 0.10129895806312561, -0.13807590305805206, -0.14429908990859985, 0.2810993194580078, 0.3324321210384369, 0.27248942852020264, 0.10074707865715027, 0.01971452496945858, 0.1820761114358902, -0.8811450004577637, -0.09374887496232986, 0.4162193536758423, -0.012496983632445335, 0.04455188661813736, 0.7607584595680237, -0.31749334931373596, 0.9028080701828003, 0.2901751697063446, -0.11055699735879898, -0.023954149335622787, -0.30920112133026123, -0.3330453634262085, -0.24702239036560059, 0.6934545636177063, 0.25418969988822937, 0.3576038181781769, 0.14785924553871155, -0.20154184103012085, 0.381024032831192, 0.14804749190807343, -0.7024362087249756, -0.34801286458969116, -0.006162733770906925, -0.10752333700656891, -0.28218555450439453, -0.17620272934436798, -0.37880775332450867, -0.3367331027984619, -0.5054820775985718, 0.37354210019111633, -0.36400502920150757, 0.11269989609718323, 0.23017679154872894, 0.06695743650197983, 0.12131304293870926, 0.8697194457054138, -0.8342315554618835, 0.2780004143714905, 0.7027416229248047, 0.7406320571899414, -0.26044416427612305, -0.030340641736984253, -0.7959480881690979, 0.3312918245792389, -0.3851015567779541, 0.24330002069473267, -0.6614565849304199, -0.24568524956703186, -0.14909733831882477, -0.20353500545024872, -0.2573032081127167, -0.35071757435798645, 0.33248254656791687, -0.5199293494224548, 0.5678387880325317, 0.1359357088804245, -0.5746096968650818, -0.12586162984371185, 0.24025897681713104, -0.5417880415916443, 0.5666887760162354, 0.15119118988513947, -0.8223724365234375, 0.21080170571804047, -0.4555024802684784, -0.3174491822719574, -0.12351185083389282, -0.5322973132133484, -0.2887837588787079, 0.1611717939376831, 0.14947544038295746, 0.23079052567481995, -0.3723089396953583, 0.5446444153785706, -0.4604428708553314, -0.0349348783493042, 0.4170471429824829, -0.5480757355690002, 0.7382922172546387, 0.24700376391410828, -0.5040879845619202, 0.43635112047195435, -0.6945207715034485, 0.2517736256122589, -0.07219575345516205, -0.5554377436637878, 0.0720939114689827, 0.24255602061748505, -0.07212064415216446, 0.4576479494571686, 0.3218227028846741, -0.27771425247192383, 0.5373479127883911, -0.12262541800737381, 0.7532881498336792, 0.655982494354248, -0.002728693885728717, 0.265133261680603, -0.33425259590148926, 0.651954710483551, -0.3620355725288391, 0.045432474464178085, 0.21403944492340088, -0.28460678458213806, -0.6552510857582092, -0.3818311393260956, 0.166844442486763, 0.7363650798797607, -0.9409712553024292, 0.5793761014938354, 0.01765895076096058, -0.37847572565078735, -0.2958278954029083, 0.15843845903873444, 0.35909828543663025, 0.5561903715133667, 0.11713749170303345, 0.09947405755519867, -0.2899850904941559, -0.913209080696106, -0.3179122507572174, -0.10610788315534592, -0.40009185671806335, 0.14093686640262604, 0.3121373653411865, -0.12760864198207855, 0.6845160722732544, -0.35492175817489624, -0.1647033840417862, -0.5136126279830933, 0.12905560433864594, 0.4123338460922241, 0.5402467846870422, 0.26632022857666016, -0.7242008447647095, -0.35610708594322205, 0.1966506689786911, -0.6139702796936035, -0.4539681673049927, -0.4813007414340973, -0.1073211207985878, 0.5810064673423767, 0.6047938466072083, -0.8371374011039734, 0.5577013492584229, 0.5684100985527039, -0.5643009543418884, 0.6744189262390137, -0.5184010863304138, -0.04011744633316994, -0.7961027026176453, 0.10249005258083344, -0.34722238779067993, -0.46672478318214417, -0.5695498585700989, -0.008269652724266052, 0.14857828617095947, 0.22336739301681519, -0.3375813364982605, 0.34440967440605164, -0.25368282198905945, 0.09435854852199554, -0.3551880419254303, 0.23463208973407745, -0.031142540276050568, 0.5770713686943054, 0.17895574867725372, 0.49596038460731506, 0.43484118580818176, -0.5174036622047424, 0.06587716192007065, 0.22042930126190186, -0.4824313223361969, 0.2175000011920929, -0.779706597328186, 0.06717090308666229, 0.10400422662496567, 0.39112526178359985, -0.588390052318573, -0.2560894191265106, 0.33011528849601746, -0.2645021975040436, 0.10792960971593857, 0.06676056981086731, -0.5892939567565918, -0.09957928955554962, -0.010174266062676907, 0.0640479251742363, 0.5474303364753723, -0.3724563717842102, 0.8773362636566162, 0.04067375138401985, -0.2421739399433136, -0.2261544018983841, -0.683935284614563, 0.02670918218791485, -0.27563104033470154, -0.48559698462486267, 0.29378223419189453, -0.4165615439414978, -0.3972738981246948, -0.07082997262477875, -0.12456018477678299, 0.10967189073562622, 0.30855152010917664, 0.06723003089427948, 0.2778107523918152, 0.029505562037229538, -0.07743915170431137, 0.33759528398513794, 0.013996634632349014, 0.07624031603336334, -0.39716339111328125, 0.3447507321834564, 0.0004231291823089123, -0.308453768491745, -0.5464627146720886, 0.17417573928833008, 0.8175707459449768, -0.17538759112358093, 0.2558888792991638, 0.254919171333313, -0.20233842730522156, -0.4914061427116394, -0.3143722712993622, 0.05850662291049957, -0.5575067400932312, 0.5176072716712952, -0.4808732569217682, -1.129260778427124, 0.3271966874599457, 0.0795869454741478, 0.2982255816459656, 0.27406299114227295, 0.8588536977767944, 0.2017231285572052, 1.1297321319580078, 0.5782167911529541, -0.030190275982022285, 0.4627787172794342, 0.27390360832214355, -0.05723254755139351, -0.49971523880958557, 0.10676980018615723, -0.5459886789321899, -0.3943188488483429, -0.9224823713302612, -0.41930216550827026, 0.37920278310775757, 0.3466227352619171, -0.46831512451171875, 0.20443451404571533, -0.3439107835292816, 0.48624759912490845, 0.5612131357192993, 0.08522800356149673, 0.4441686272621155, -0.3587619960308075, -0.3507462441921234, -0.01785219833254814, -0.7823169231414795, -0.4749719798564911, 0.6380107998847961, 0.15695320069789886, 0.9187334179878235, 0.2711775600910187, 0.5345133543014526, 0.1386214643716812, 0.29455798864364624, -0.5267280340194702, 0.6447439193725586, -0.18252351880073547, -0.531933069229126, -0.31107157468795776, -0.5631592273712158, -0.567612886428833, 0.27012351155281067, -0.15475992858409882, -1.0268396139144897, -0.17101798951625824, 0.5119255781173706, -0.3480050563812256, 0.2610912322998047, -0.6219735741615295, 0.8854452967643738, -0.3132903277873993, -0.5757704973220825, -0.28762945532798767, -0.6323705315589905, 0.3033842146396637, -0.23467853665351868, 0.20679914951324463, -0.06711675226688385, -0.212702214717865, 0.29214921593666077, -0.48836082220077515, 0.8969031572341919, -0.11115311831235886, -0.2610076367855072, 0.4408641457557678, 0.6307323575019836, 0.8872352242469788, 0.05854925140738487, -0.10706855356693268, -0.31574174761772156, -0.28891074657440186, -0.06611507385969162, -0.9583421349525452, 0.81913822889328, -0.601172924041748, -1.0558029413223267, -0.2073049247264862, -0.912933349609375, -0.2334899604320526, 0.3788268268108368, 0.1523904949426651, 0.33443909883499146, -0.0003719909000210464, 0.2486216276884079, 0.4793798327445984, -0.4441443383693695, 0.5510989427566528, 0.36635446548461914, -0.4775989055633545, -0.5035226345062256, 0.6564342379570007, 0.04300517961382866, 0.7641124725341797, 0.5766100883483887, 0.4254927337169647, -0.291197270154953, -0.4839096665382385, -0.5075823068618774, -0.09707867354154587, -0.4859089255332947, -0.01905902661383152, -0.6182838678359985, -0.14920517802238464, -0.15130476653575897, -0.4855473041534424, -0.1283065676689148, -0.8822873830795288, -0.3312438428401947, -0.14425982534885406, 0.33177122473716736, 0.8124776482582092, -0.03861663118004799, 0.2941460609436035, -0.5749446153640747, 0.29677069187164307, 0.24967418611049652, 0.09206291288137436, -0.2508973479270935, -0.5046089887619019, 0.06160043552517891, -0.23503421247005463, -0.4141601026058197, -0.7328265309333801, 0.3332001864910126, 0.16975601017475128, 0.16689029335975647, 0.221032053232193, -0.10559096932411194, 0.2902480661869049, -0.6269196271896362, 0.5322842597961426, 0.18634554743766785, -1.1563494205474854, 0.34091782569885254, -0.7945879697799683, 0.8734817504882812, 0.32567068934440613, -0.028316061943769455, -0.3912730813026428, -0.8138937950134277, -0.4372488260269165, -0.5301569104194641, 0.5465641021728516, 0.4015684425830841, -0.18592533469200134, 0.10008208453655243, 0.18098363280296326, 0.05583465099334717, 0.3506278693675995, -0.8011513948440552, 0.23167957365512848, -0.08888430148363113, -0.40982475876808167, 0.15313690900802612, 0.03694722056388855, 0.09071957319974899, 0.01180964894592762, 0.5845009684562683, -0.2577653229236603, -0.08883877843618393, 0.14595527946949005, -0.045632254332304, 0.049921903759241104, 0.5303258895874023, 0.7706977128982544, 0.672120988368988, 0.0712820515036583, 0.26048094034194946, -0.020400118082761765, -0.27184274792671204, 0.04922005161643028, 0.1875179260969162, -0.5823006629943848, -0.2435232549905777, 0.32146844267845154, 0.7002696990966797, -0.015020175836980343, -0.5510191321372986, 0.054320868104696274, 0.08451719582080841, -0.4336821734905243, -0.047942109405994415, 0.5268530249595642, 0.13554386794567108, 0.40395212173461914, 0.057516515254974365, -0.09642897546291351, -0.14743725955486298, -0.2692875266075134, 0.23606297373771667, 0.38209620118141174, -0.25605520606040955, -0.34684789180755615, 1.0690796375274658, -0.006022004410624504, -0.07791639119386673, 0.5413207411766052, -0.05957373231649399, -0.6548657417297363, 0.6022600531578064, 0.7113155722618103, 0.9761621356010437, 0.048353008925914764, 0.061014700680971146, 0.2705649733543396, 0.501139223575592, 0.07794971764087677, 0.4731813371181488, 0.0744403749704361, -0.6702934503555298, -0.5901413559913635, -0.27513211965560913, -0.37081754207611084, 0.1048181802034378, -0.21796879172325134, 0.2597152590751648, -0.8022698163986206, -0.08968756347894669, -0.016088010743260384, -0.12072474509477615, -0.6500994563102722, 0.17118993401527405, -0.06035451591014862, 0.9465249180793762, -0.4185173809528351, 1.2550462484359741, 0.3562816083431244, -0.1185525581240654, -0.7937210202217102, -0.2733316421508789, 0.40509358048439026, -0.4552629590034485, 0.5551237463951111, 0.05600777640938759, -0.24152621626853943, 0.025605980306863785, -0.5398129224777222, -0.6512677669525146, 1.0618475675582886, 0.3830021917819977, -0.9809755086898804, -0.09731448441743851, 0.18575869500637054, 0.6215028762817383, -0.30799418687820435, -0.016206130385398865, 0.6307303309440613, 0.6725848913192749, 0.033121731132268906, -0.9080913662910461, 0.2322106957435608, -0.054477617144584656, -0.0575653612613678, 0.30394813418388367, -0.5339165329933167, 0.700633704662323, -0.44759222865104675, -0.21967214345932007, 0.3056231737136841, 0.7770180106163025, 0.4420374631881714, -0.11457300931215286, 0.6476889848709106, 0.4994226396083832, 0.7433179020881653, -0.12791708111763, 0.8887386322021484, -0.16991427540779114, 0.07768860459327698, 1.5838212966918945, -0.37452179193496704, 0.5287489891052246, 0.44397205114364624, 0.1154613122344017, 0.27495282888412476, 0.20761559903621674, 0.09948067367076874, 0.4057838022708893, 0.5048758387565613, -0.3270651698112488, -0.4024411737918854, 0.011731545440852642, -0.008438421413302422, 0.1565706431865692, 0.5385818481445312, -0.29887551069259644, -0.21442902088165283, -0.16547425091266632, 0.3282885253429413, 0.22891998291015625, -0.3271586298942566, 0.5644155144691467, -0.03700948879122734, -0.8140769004821777, 0.4203770160675049, 0.08644755184650421, 0.35824576020240784, -0.7986234426498413, -0.13479365408420563, -0.12273259460926056, 0.35020753741264343, -0.011804594658315182, -0.7311229705810547, 0.2815524637699127, 0.17085419595241547, -0.16238760948181152, -0.2736627161502838, 0.7398839592933655, -0.6859222054481506, -0.5247722864151001, 0.037883125245571136, 0.45425945520401, -0.2705373167991638, 0.16649717092514038, -0.5050225853919983, 0.3173387050628662, 0.4329969882965088, -0.4986500144004822, 0.17459820210933685, 0.8598913550376892, -0.41133424639701843, 0.8685020804405212, 0.4709060490131378, 0.08650197088718414, 0.1342839151620865, -0.21384072303771973, 0.883430540561676, -0.6998519897460938, -0.49054110050201416, -0.863688051700592, 0.33212634921073914, 0.21705274283885956, -0.3096143305301666, 0.5628305673599243, 0.33106300234794617, 0.9812563061714172, -0.1659446358680725, 1.115729570388794, -0.4012303948402405, 0.30381378531455994, -0.7427856922149658, 0.7113940119743347, -0.28382062911987305, 0.07292440533638, -0.22649963200092316, -0.7816835045814514, -0.6022596955299377, 0.4347999691963196, -0.36977019906044006, -0.07484383881092072, 0.6293586492538452, 0.821074903011322, 0.04658406227827072, -0.20774459838867188, 0.391184002161026, 0.3561394512653351, 0.6647919416427612, 0.7919848561286926, 0.8575865030288696, 0.331692636013031, 0.37512582540512085, -0.02185993269085884, -0.2770158052444458, 0.1148003563284874, -1.243676781654358, -0.8641191124916077, -0.23197698593139648, -0.3541002571582794, -0.25498881936073303, 0.0021118693985044956, 1.1408628225326538, 0.2348519116640091, -0.7628344893455505, -0.18739037215709686, -0.33935943245887756, 0.26136133074760437, -0.21375106275081635, -0.20239265263080597, 0.4380086362361908, -0.28875499963760376, -0.9026759266853333, 0.44531384110450745, 0.2443990558385849, 0.06204500421881676, -0.1063499003648758, -0.14736631512641907, -0.0826684758067131, 0.12453654408454895, 0.5890206098556519, 0.293940931558609, -0.8020287156105042, -0.4997978210449219, -0.09319455921649933, -0.2179458886384964, -0.25495943427085876, 1.0552915334701538, -0.6951069831848145, 0.4920211434364319, 0.5223239064216614, 0.8330837488174438, 0.15396158397197723, -0.03865329921245575, 0.9464415311813354, -0.3340498208999634, -0.007358874194324017, 0.14824946224689484, 0.2523193061351776, 0.07767567783594131, -0.2107386589050293, 0.4631820023059845, -0.015189582481980324, -0.5756024122238159, -0.24658307433128357, 0.48889991641044617, -1.004449486732483, -0.30354544520378113, 1.1679184436798096, -0.09618095308542252, -0.06734461337327957, 0.12542976438999176, -0.4371178448200226, 0.22444003820419312, -0.359622597694397, 0.7973006963729858, 0.604202151298523, -0.17974542081356049, 0.08359735459089279, -0.6481576561927795, 0.533894419670105, 0.33868831396102905, -0.9762700200080872, 0.37294822931289673, 1.0712976455688477, 0.1696396768093109, -0.2609773576259613, 0.4725039303302765, -0.1586170494556427, 0.2364744246006012, -0.5762235522270203, -0.047168269753456116, -0.20742908120155334, -0.49783700704574585, -0.2242359220981598, 0.08133362978696823, 0.06500132381916046, 0.1307324916124344 ]
http://arxiv.org/abs/2406.13890v1
http://arxiv.org/pdf/2406.13890v1
ClinicalLab: Aligning Agents for Multi-Departmental Clinical Diagnostics in the Real World
2024-06-19T23:44:25
2024-06-19T23:44:25
Weixiang Yan, Haitian Liu, Tengxiao Wu, Qian Chen, Wen Wang, Haoyuan Chai, Jiayi Wang, Weishan Zhao, Yixin Zhang, Renjun Zhang, Li Zhu
cs.CL
cs.CL, cs.AI
LLMs have achieved significant performance progress in various NLP applications. However, LLMs still struggle to meet the strict requirements for accuracy and reliability in the medical field and face many challenges in clinical applications. Existing clinical diagnostic evaluation benchmarks for evaluating medical agents powered by LLMs have severe limitations. Firstly, most existing medical evaluation benchmarks face the risk of data leakage or contamination. Secondly, existing benchmarks often neglect the characteristics of multiple departments and specializations in modern medical practice. Thirdly, existing evaluation methods are limited to multiple-choice questions, which do not align with the real-world diagnostic scenarios. Lastly, existing evaluation methods lack comprehensive evaluations of end-to-end real clinical scenarios. These limitations in benchmarks in turn obstruct advancements of LLMs and agents for medicine. To address these limitations, we introduce ClinicalLab, a comprehensive clinical diagnosis agent alignment suite. ClinicalLab includes ClinicalBench, an end-to-end multi-departmental clinical diagnostic evaluation benchmark for evaluating medical agents and LLMs. ClinicalBench is based on real cases that cover 24 departments and 150 diseases. ClinicalLab also includes four novel metrics (ClinicalMetrics) for evaluating the effectiveness of LLMs in clinical diagnostic tasks. We evaluate 17 LLMs and find that their performance varies significantly across different departments. Based on these findings, in ClinicalLab, we propose ClinicalAgent, an end-to-end clinical agent that aligns with real-world clinical diagnostic practices. We systematically investigate the performance and applicable scenarios of variants of ClinicalAgent on ClinicalBench. Our findings demonstrate the importance of aligning with modern medical practices in designing medical agents.
[ -0.256508469581604, -0.4502662122249603, 0.818793535232544, 0.17286401987075806, -0.08641062676906586, 0.6280282139778137, -0.06874769926071167, -0.8504427671432495, 0.15051373839378357, 0.17578507959842682, -0.4686315357685089, -0.5741608738899231, -0.46422332525253296, 0.3391892611980438, 0.1271682232618332, 0.7474057674407959, -0.14348451793193817, 0.4830741584300995, -0.7366220951080322, -0.7224254608154297, -0.6039273738861084, -0.31242305040359497, -0.5822578072547913, -0.7189491987228394, 0.5611826181411743, 0.2480541467666626, 1.1689995527267456, 0.7511641383171082, 0.9013916254043579, 0.4207059144973755, 0.2778675854206085, 0.3778436779975891, -0.1766643524169922, 0.339243084192276, -0.21257135272026062, -0.29872941970825195, -0.9300644993782043, -0.13658837974071503, 0.2671924829483032, 0.7198255658149719, -0.18608534336090088, -0.13587595522403717, -0.4219931662082672, 0.38492831587791443, -0.5108736753463745, -0.25542154908180237, -0.08122307062149048, 0.19732029736042023, -0.05958469212055206, -0.25489798188209534, -0.3408377468585968, -0.45918723940849304, 0.19545046985149384, -0.8439469933509827, 0.42031341791152954, -0.03303678706288338, 0.8569287657737732, 0.35838159918785095, -0.47879666090011597, -0.11126906424760818, -0.5155717134475708, 0.6345430612564087, -0.5095322132110596, 0.27045807242393494, -0.11977965384721756, 0.9915145039558411, -0.13125179708003998, -0.8002319931983948, -0.11887090653181076, -0.35826733708381653, -0.1230091005563736, 0.4737696349620819, -0.026401568204164505, 0.08092936873435974, -0.061223506927490234, -0.05401337146759033, -0.9263564348220825, 0.4914719760417938, -0.024394994601607323, -0.3319616913795471, 0.6011396050453186, 0.6823417544364929, 0.39151179790496826, 0.44562286138534546, -0.6883937120437622, -0.27146077156066895, -0.4622194170951843, -0.34284573793411255, -0.29033389687538147, 0.11592530459165573, -0.04575899615883827, 0.39800211787223816, 0.0054373834282159805, 0.5787632465362549, -0.19597040116786957, -0.4730193316936493, 0.36555394530296326, -0.297856867313385, -0.1756410002708435, 0.32081758975982666, 0.8270516395568848, 0.5343450903892517, 0.07549168914556503, -0.30785688757896423, -0.17407670617103577, 0.4971890449523926, 0.6047356128692627, -0.4937630891799927, 0.1547929346561432, 0.5362662076950073, -0.2613304555416107, -0.4504581391811371, -0.262821227312088, -0.7037127017974854, -0.9422754049301147, -0.473093181848526, 0.2719312608242035, -0.40344083309173584, 0.010404232889413834, -0.06344037503004074, -0.19113613665103912, 0.2701755464076996, 0.6540696024894714, -0.3503665328025818, 0.5847647190093994, 0.7052549719810486, 0.6269844174385071, -0.34139567613601685, -0.24789287149906158, -0.4377851188182831, 0.19179505109786987, -0.47038760781288147, 0.9591469168663025, -0.48967137932777405, -0.3463696539402008, 0.021944228559732437, 0.14066828787326813, -0.021752918139100075, -0.9209983944892883, 0.405903160572052, -0.14098119735717773, -0.2295849770307541, -0.21975253522396088, -0.4823603332042694, 0.4225997030735016, 0.39616265892982483, -0.35581570863723755, 0.697090208530426, 0.28663599491119385, -0.1900426298379898, 0.4923899471759796, -0.323703408241272, -0.11218535900115967, 0.40954694151878357, -0.5700246691703796, -0.7027831077575684, -0.11358779668807983, 0.049748118966817856, 0.18560589849948883, -0.69370037317276, 0.49595385789871216, -0.43197065591812134, -0.32290005683898926, 0.46789705753326416, -0.14822566509246826, 0.617060124874115, 0.36520054936408997, 0.0242196973413229, 0.41111499071121216, -0.9329298138618469, 0.1107846349477768, 0.018520891666412354, 0.20207351446151733, -0.022715719416737556, -0.13631685078144073, -0.14617234468460083, 0.08875540643930435, 0.2527477741241455, -0.5946640968322754, 0.26093196868896484, -0.15085344016551971, -0.05079022794961929, 0.6948726177215576, -0.2876887619495392, 0.2000604271888733, -0.9069826602935791, 1.0986418724060059, -0.018874825909733772, 0.31821754574775696, 0.26379919052124023, -0.4327699542045593, -0.3710755407810211, -0.5843966007232666, 0.02114448882639408, 0.6401975750923157, -0.3627990186214447, 0.457551509141922, -0.30564501881599426, -0.7870555520057678, -0.6672796010971069, -0.14004389941692352, 0.550812304019928, 0.605976402759552, 0.32544779777526855, -0.34718647599220276, -0.3519810438156128, -0.9599888920783997, -0.20029033720493317, 0.15244433283805847, -0.12311986088752747, 0.1385197639465332, 0.1477627456188202, -0.6224251985549927, 0.9431145191192627, -0.31609439849853516, -0.5654924511909485, -0.22783495485782623, -0.2184794545173645, 0.3632635772228241, 0.23968817293643951, 0.4957329034805298, -0.39455559849739075, -0.49041980504989624, 0.4263451099395752, -0.9279489517211914, -0.5895448923110962, -0.03807847946882248, -0.13770589232444763, -0.07139614969491959, 0.4919966757297516, -0.5080181360244751, 0.3953512907028198, 0.4674110412597656, -0.34540969133377075, 0.5529840588569641, -0.5798704624176025, -0.09400622546672821, -0.8754280209541321, 0.0714961513876915, -0.05182209610939026, -0.5504699945449829, -0.5885889530181885, 0.09011536836624146, 0.31262949109077454, -0.16165322065353394, -0.5316781997680664, 0.817579984664917, -0.31931889057159424, -0.03268744796514511, -0.0906224325299263, 0.509029746055603, 0.3341076076030731, -0.1376899629831314, -0.20895704627037048, 0.6359092593193054, 0.48888757824897766, -0.4498269259929657, 0.6500735282897949, 0.3158738613128662, 0.08586607873439789, 1.0032809972763062, -0.6382166147232056, -0.09268835932016373, -0.05959966033697128, 0.43101078271865845, -0.6766868233680725, -0.08681382238864899, 0.1216951310634613, -0.20120371878147125, 0.475455641746521, 0.15660607814788818, -0.4735668897628784, -0.1754162758588791, -0.29238635301589966, 0.5466618537902832, 0.4798869490623474, -0.4169994592666626, 0.4876830577850342, 0.08063378185033798, 0.12247538566589355, -0.6461560726165771, -0.6080288290977478, 0.024114664644002914, -0.23792223632335663, -0.7166751027107239, 0.4977925419807434, 0.10806027054786682, -0.31035441160202026, -0.10194352269172668, -0.19250257313251495, 0.13707607984542847, -0.0727003738284111, 0.16067110002040863, 0.3625873327255249, -0.24416977167129517, 0.16251753270626068, -0.08283015340566635, -0.4629833400249481, -0.06985156238079071, 0.1443055421113968, 0.23749414086341858, -0.13244234025478363, -0.8186852335929871, -0.33459246158599854, 0.10798709094524384, 0.6726788878440857, -0.0778673067688942, 0.6287360787391663, 0.5587160587310791, -0.24165856838226318, -0.1663498878479004, -0.4983709454536438, 0.08942986279726028, -0.4709802567958832, 0.40761271119117737, -0.3259955942630768, -0.3166046440601349, 0.7425081133842468, -0.36664319038391113, -0.08883204311132431, 0.29953107237815857, 0.6593396663665771, 0.02882571890950203, 1.0793436765670776, 0.08185689151287079, 0.45260241627693176, -0.15267975628376007, 0.05125885829329491, 0.37970638275146484, -0.8584741353988647, -0.34614017605781555, -0.4857420325279236, -0.3736046254634857, -0.49100443720817566, -0.23699414730072021, 0.8013826608657837, -0.1556721329689026, -0.0453612357378006, 0.2066604495048523, -0.8359631896018982, 0.2988404631614685, 0.1023947075009346, 0.15122339129447937, 0.20516668260097504, -0.23429377377033234, -0.43689799308776855, 0.042412810027599335, -0.5563536286354065, -0.7013570666313171, 1.0962446928024292, 0.4490990936756134, 0.8054690361022949, 0.476148784160614, 0.7185750603675842, 0.25241535902023315, 0.524036169052124, -0.7574700117111206, 0.5322033762931824, -0.15612611174583435, -0.42045876383781433, -0.0816362276673317, -0.0346691831946373, -1.4473345279693604, 0.5604155659675598, 0.15120640397071838, -0.6426668763160706, 0.3338291347026825, -0.14400586485862732, -0.35602083802223206, -0.3659133017063141, -0.6426292061805725, 1.0453741550445557, -0.34452107548713684, -0.463588148355484, 0.0024630955886095762, -0.8730734586715698, 0.008116585202515125, -0.27271658182144165, 0.26518872380256653, -0.45125657320022583, -0.23614056408405304, 0.3136674761772156, -0.9435692429542542, 0.8077981472015381, -0.011160160414874554, -0.2257327437400818, -0.08558341860771179, -0.07136180996894836, 0.25009259581565857, 0.1622018665075302, -0.07537920773029327, -0.022183533757925034, 0.5394891500473022, -0.471700519323349, -0.5457698702812195, 0.7014576196670532, -0.9143383502960205, -0.41066089272499084, -0.7591108679771423, -0.5951880216598511, -0.6824536919593811, 0.11579850316047668, 0.13936109840869904, 0.7473883628845215, -0.2583431005477905, -0.3139913082122803, 0.27079060673713684, -0.36140918731689453, 0.11318321526050568, 0.725946307182312, -0.09536787122488022, -0.4417298436164856, 0.8277689218521118, -0.1565995067358017, 0.4864623546600342, 0.2683662176132202, 0.264114648103714, -0.5077307820320129, -0.40211400389671326, -0.4902191460132599, 0.3761894106864929, -0.8821884393692017, -0.4624326527118683, -0.23281551897525787, -0.17036886513233185, -0.5502402186393738, -0.6230084896087646, -0.35853999853134155, -0.10928919166326523, -0.1544540524482727, 0.2761435806751251, 0.24852396547794342, 0.5365891456604004, 0.0405392125248909, 0.2865128815174103, -0.8823363780975342, 0.3878863453865051, -0.14735256135463715, 0.2262755036354065, -0.3114464282989502, -0.20062097907066345, -0.1156507134437561, -0.011479884386062622, -0.6559949517250061, -0.7778201103210449, 0.3514918088912964, 0.07471976429224014, 0.7507071495056152, 0.656006395816803, 0.2334805130958557, 0.9090223908424377, -0.3517289459705353, 0.32839667797088623, 0.17721860110759735, -0.6006278991699219, 0.3305265009403229, -0.1354289948940277, 0.220243439078331, 0.5355761647224426, 0.10820599645376205, -0.38695529103279114, -0.5887988805770874, -0.5344001650810242, -0.6139668822288513, 0.6186457276344299, 0.1335359811782837, -0.4404626488685608, 0.08998609334230423, 0.1120498776435852, 0.19670556485652924, -0.06487109512090683, -0.17336390912532806, -0.19922290742397308, 0.18193915486335754, -0.6422927975654602, -0.15289980173110962, 0.2504999041557312, -0.6834902763366699, -0.20914670825004578, 0.3647761046886444, -0.20922724902629852, 0.2975817322731018, 0.5604737401008606, -0.07415934652090073, -0.1101687029004097, 0.21172524988651276, 0.679484486579895, 1.1304622888565063, -0.240622878074646, 0.08867114037275314, 0.014862130396068096, -0.49190640449523926, 0.4661918878555298, 0.3488924205303192, 0.4018484055995941, 0.057166580110788345, 0.5927906036376953, 0.31149235367774963, -0.1029321700334549, -0.9916579127311707, 0.5524239540100098, -0.10438200831413269, -0.23283438384532928, -0.383914589881897, 0.01121215708553791, -0.1022077426314354, 0.3430847227573395, -0.08077164739370346, 0.10543833673000336, -0.12991014122962952, -0.49177098274230957, 0.2416822612285614, 0.5402785539627075, -0.5312085747718811, -0.023255597800016403, 0.6499931812286377, 0.0912599116563797, -0.43055248260498047, 0.5086822509765625, -0.3344888687133789, -0.15961159765720367, 1.1699057817459106, 0.697149395942688, 0.7552753686904907, -0.210560142993927, 0.26558977365493774, -0.22567714750766754, 0.14996381103992462, 0.21142852306365967, 0.1999305784702301, 0.272094190120697, -0.6777543425559998, -0.27676981687545776, -0.49161460995674133, -0.7773666977882385, -0.1357479989528656, -0.5536224842071533, 0.5705989599227905, -0.4033183455467224, -0.34240105748176575, 0.08160168677568436, -0.012920984998345375, -0.5001883506774902, 0.20917250216007233, -0.11435583978891373, 0.7623472809791565, -0.4938139021396637, 0.7706656455993652, 1.022605299949646, -0.10611964762210846, -0.4649292230606079, -0.5408723950386047, 0.38302090764045715, -1.065954566001892, 0.10502701997756958, 0.24777476489543915, 0.22176863253116608, -0.32006603479385376, -0.06501524895429611, -0.5123382806777954, 1.2763197422027588, 0.3947256803512573, -0.5577526092529297, 0.2790510356426239, 0.5328310132026672, 1.059294581413269, -0.45274919271469116, 0.4454095959663391, 0.5019597411155701, 0.4527718722820282, 0.16977103054523468, -1.1698650121688843, 0.45588597655296326, -0.190365731716156, -0.25384819507598877, 0.348099946975708, -0.5268730521202087, 0.4363250732421875, -0.14459887146949768, -0.03237970918416977, 0.3595511317253113, -0.1806696355342865, 0.6865693926811218, 0.87581866979599, 0.06997343897819519, 0.7184572815895081, 0.7291733026504517, -0.15740171074867249, 1.0959391593933105, -0.29113703966140747, 0.18773049116134644, 0.7957528829574585, -0.7966745495796204, 0.1601446270942688, 0.20470845699310303, -0.5160401463508606, 0.14735844731330872, 0.6180600523948669, -0.2750970125198364, 0.09964238107204437, 0.3244531750679016, -0.5283884406089783, -0.14798372983932495, -0.3503115475177765, -0.5839694738388062, 0.19118523597717285, 0.5282328724861145, -0.04898407682776451, -0.3378155827522278, -0.10155684500932693, -0.2052743285894394, 0.004026220180094242, 0.20827655494213104, 0.6356381177902222, 0.018541226163506508, -0.4917334318161011, 0.7350010275840759, -0.24054278433322906, 0.016897769644856453, -0.7721400856971741, 0.03322629630565643, -0.10587611794471741, 0.5528940558433533, -0.3146103024482727, -0.3580074608325958, 0.21782448887825012, -0.4460817277431488, 0.3553934097290039, -0.13001474738121033, 0.5575714111328125, -0.048188768327236176, -0.3322620987892151, 0.3317621648311615, 0.518618106842041, 0.22754140198230743, 0.2659587264060974, -0.6998694539070129, 0.23305843770503998, -0.43319568037986755, 0.31491345167160034, 0.5559344291687012, 0.6328776478767395, -0.10545748472213745, 0.8382183313369751, 0.4101412892341614, 0.2271852344274521, -0.04084833711385727, 0.5591700077056885, 0.6519677639007568, -0.48635298013687134, 0.00035291039966978133, -0.7192538976669312, 0.2877405285835266, -0.058995455503463745, -0.34727150201797485, 0.4092419147491455, 0.5883368253707886, 0.25258204340934753, 0.09593728184700012, 0.5197876691818237, 0.31209632754325867, 0.4638134241104126, -0.17596669495105743, 0.48684078454971313, -0.7116300463676453, 0.3700903058052063, -0.22470296919345856, -0.783721923828125, -0.4683240056037903, 0.28800562024116516, 0.3085003197193146, 0.006484875455498695, 0.9651649594306946, 0.7289732098579407, 0.09430711716413498, -0.10398752242326736, 0.5490152835845947, 0.19564221799373627, 0.7101948857307434, 0.46748605370521545, 0.8222724795341492, -0.24675849080085754, 0.2775190472602844, -0.36822548508644104, -0.4629130959510803, -0.22067563235759735, -0.6576782464981079, -0.7302755117416382, -0.0739375650882721, -0.5881957411766052, -0.3363093137741089, 0.0859459936618805, 0.7571143507957458, 0.6364007592201233, -0.6091088056564331, -0.1882028728723526, -0.1905643790960312, -0.023466086015105247, -0.4989714026451111, -0.24242930114269257, 0.3811146914958954, -0.5905711650848389, -0.6445348262786865, 0.6051790714263916, 0.5004283785820007, 0.10918717086315155, -0.13902214169502258, -0.11760926246643066, 0.16781927645206451, -0.15521620213985443, 0.4313262701034546, 0.33222806453704834, -0.7873899340629578, 0.015442933887243271, -0.0869385227560997, -0.30253568291664124, 0.14461125433444977, 0.5331424474716187, -1.0308095216751099, 0.645477831363678, 0.12069723755121231, 0.762885332107544, -0.014158539474010468, 0.08561505377292633, 0.635577917098999, -0.4891695976257324, 0.07010624557733536, 0.5231053829193115, 0.22549211978912354, 0.005971469450742006, -0.2835830748081207, 0.6529792547225952, 0.14187924563884735, -0.8573311567306519, -0.9331814050674438, -0.015162390656769276, -1.3213680982589722, -0.11292286217212677, 0.8139943480491638, 0.1444733440876007, 0.09821859747171402, -0.420634925365448, -0.204758420586586, 0.23195868730545044, -0.2649717926979065, 0.4549832344055176, 0.3607479929924011, -0.7917706966400146, 0.26463815569877625, -0.5454739332199097, 0.24786943197250366, 0.6003783941268921, -0.9023637175559998, -0.3932678997516632, 0.39854803681373596, 0.09671292454004288, 0.2433130443096161, 0.6951994299888611, -0.2854296565055847, 0.34264346957206726, -0.12660062313079834, 0.09168452024459839, 0.09738391637802124, -0.043152060359716415, -0.11835726350545883, -0.15070544183254242, -0.025930484756827354, -0.3574126660823822 ]
http://arxiv.org/abs/2406.13885v1
http://arxiv.org/pdf/2406.13885v1
Knowledge Tagging System on Math Questions via LLMs with Flexible Demonstration Retriever
2024-06-19T23:30:01
2024-06-19T23:30:01
Hang Li, Tianlong Xu, Jiliang Tang, Qingsong Wen
cs.CL
cs.CL, cs.AI
Knowledge tagging for questions plays a crucial role in contemporary intelligent educational applications, including learning progress diagnosis, practice question recommendations, and course content organization. Traditionally, these annotations are always conducted by pedagogical experts, as the task requires not only a strong semantic understanding of both question stems and knowledge definitions but also deep insights into connecting question-solving logic with corresponding knowledge concepts. With the recent emergence of advanced text encoding algorithms, such as pre-trained language models, many researchers have developed automatic knowledge tagging systems based on calculating the semantic similarity between the knowledge and question embeddings. In this paper, we explore automating the task using Large Language Models (LLMs), in response to the inability of prior encoding-based methods to deal with the hard cases which involve strong domain knowledge and complicated concept definitions. By showing the strong performance of zero- and few-shot results over math questions knowledge tagging tasks, we demonstrate LLMs' great potential in conquering the challenges faced by prior methods. Furthermore, by proposing a reinforcement learning-based demonstration retriever, we successfully exploit the great potential of different-sized LLMs in achieving better performance results while keeping the in-context demonstration usage efficiency high.
[ -0.4923332631587982, -0.8115822672843933, 0.6519011855125427, -0.19105207920074463, -0.3180491030216217, 0.1683564931154251, -0.13635848462581635, -0.1434672325849533, 0.1932496279478073, 0.37862157821655273, -0.43263480067253113, -0.4820916950702667, -0.6516254544258118, -0.03327089548110962, -0.19518418610095978, 0.7996469736099243, -0.44614529609680176, -0.012165144085884094, -0.668384850025177, 0.0844554454088211, -0.47889551520347595, -0.5811939835548401, -0.5809387564659119, -0.5483729839324951, 0.16534563899040222, 0.22578927874565125, 0.49441424012184143, 0.6634882092475891, 0.7015956044197083, 0.3697417974472046, 0.21416935324668884, 0.2581976056098938, -0.03808000683784485, 0.16203895211219788, -0.3074502646923065, -0.7056168913841248, -0.3067144453525543, -0.048983413726091385, 0.7691316604614258, 0.7964775562286377, -0.1544189453125, 0.14931897819042206, -0.22679215669631958, 0.15114142000675201, -0.3824467062950134, 0.26229771971702576, -0.75027996301651, 0.15099824965000153, 0.055533453822135925, -0.15057483315467834, -0.14565585553646088, -0.4622161388397217, 0.11170241236686707, -0.6737852096557617, -0.08425605297088623, -0.050454139709472656, 0.8156309127807617, 0.45151591300964355, -0.2632502317428589, -0.40069618821144104, -0.6940691471099854, 0.9007472395896912, -0.5890690684318542, 0.19072790443897247, 0.47990819811820984, 0.5778266787528992, -0.20149920880794525, -0.6108605265617371, -0.6167212128639221, -0.15568339824676514, -0.14534850418567657, -0.10624770820140839, -0.18675623834133148, -0.12209475785493851, 0.655963122844696, 0.1605682671070099, -0.423743337392807, 0.028167210519313812, 0.002731593558564782, -0.35346168279647827, 0.5651217103004456, 0.2859255075454712, 0.18229801952838898, -0.18992266058921814, -0.4729773700237274, -0.16835413873195648, -0.663109302520752, -0.0930902287364006, 0.13492904603481293, -0.06553550064563751, 0.3724413812160492, 0.7842837572097778, -0.23387786746025085, 0.8238495588302612, -0.26902902126312256, -0.3471517562866211, 0.1344345062971115, -0.083481065928936, -0.21889805793762207, -0.27974748611450195, 0.5910241007804871, 0.024213125929236412, 0.44014325737953186, 0.0231375303119421, -0.3168491721153259, 0.27032700181007385, -0.07597295939922333, -0.7061803936958313, -0.26827263832092285, -0.2503247559070587, -0.036398984491825104, 0.2239004224538803, -0.22914338111877441, -0.4648807942867279, -0.2498510181903839, -0.32276320457458496, 0.8966814279556274, -0.6075304746627808, -0.1974184811115265, 0.27358222007751465, -0.08154109865427017, 0.38460204005241394, 0.5570481419563293, -0.6683453917503357, 0.3437601327896118, 0.6984034776687622, 0.31445664167404175, -0.07325981557369232, -0.015507777221500874, -0.4468768537044525, 0.24692414700984955, -0.22436583042144775, 0.7200241088867188, -0.7065243721008301, -0.19875681400299072, -0.1124742403626442, -0.2696566879749298, -0.13539592921733856, -0.5710206031799316, 0.123253732919693, -0.9640306830406189, 0.06273473054170609, -0.18080346286296844, -1.1461777687072754, -0.11664562672376633, 0.7047796249389648, -0.27307018637657166, 0.734296977519989, -0.0316014289855957, -0.5065485239028931, 0.1394658088684082, -0.5395759344100952, -0.2994064688682556, 0.43633878231048584, -0.47800466418266296, -0.2729824483394623, -0.14754360914230347, 0.19650442898273468, 0.6829801797866821, -0.16797742247581482, 0.35507073998451233, -0.1459958702325821, -0.2365536093711853, 0.3747689723968506, -0.3326534032821655, 0.28694435954093933, 0.021652156487107277, -0.22866705060005188, -0.10597554594278336, -0.5642932057380676, 0.09319791197776794, 0.5013743042945862, -0.3123982548713684, -0.5290822386741638, -0.05352083221077919, -0.791212797164917, 0.14794692397117615, 0.467274934053421, -0.44769880175590515, 0.5222916603088379, -0.4386099874973297, 0.02610161155462265, 0.5547580718994141, 0.0580541230738163, 0.34448665380477905, -0.3994700610637665, 0.7668954133987427, -0.041190363466739655, -0.14810062944889069, -0.32619503140449524, -0.39362257719039917, -0.7652531266212463, -0.12992741167545319, 0.5630284547805786, 0.576207160949707, -1.127137541770935, 0.2753569781780243, -0.30435478687286377, -0.35336586833000183, -0.29554125666618347, 0.3220282793045044, 0.42368558049201965, 0.6845979690551758, 0.294750839471817, -0.15373924374580383, -0.2136506885290146, -0.9809838533401489, -0.26225385069847107, -0.07220587134361267, -0.201334610581398, 0.3933827877044678, 0.6608917713165283, -0.007269744761288166, 1.1055526733398438, -0.8668068051338196, -0.37891221046447754, -0.24272309243679047, 0.2581811845302582, 0.021644027903676033, 0.44608116149902344, 0.31696033477783203, -0.7548125386238098, -0.25585928559303284, -0.25015413761138916, -0.6340676546096802, -0.0004575934144668281, 0.07923167198896408, -0.1338464617729187, 0.20425474643707275, 0.4297458827495575, -0.5944252610206604, 0.4506785273551941, 0.06121520698070526, -0.0875847265124321, 0.4814097583293915, -0.18010729551315308, -0.07699092477560043, -1.0214931964874268, -0.12570174038410187, 0.05613471940159798, -0.4023709297180176, -0.3259088099002838, 0.0724380612373352, 0.042933035641908646, -0.01108027808368206, -0.30950450897216797, 0.6476091742515564, -0.3159205913543701, -0.13035297393798828, -0.14177776873111725, 0.3305015563964844, -0.0791926309466362, 0.5126699209213257, 0.19784386456012726, 0.4865185022354126, 0.37411749362945557, -0.6706027388572693, 0.7323970198631287, 0.2177637666463852, -0.2794311046600342, 0.4007819890975952, -0.49568361043930054, 0.09107071906328201, -0.14177493751049042, 0.29514414072036743, -1.0054593086242676, -0.18164780735969543, 0.24287787079811096, -0.5502011775970459, 0.2721351981163025, -0.30538398027420044, -0.8687883019447327, -0.49032437801361084, -0.21935570240020752, 0.391295850276947, 0.8228956460952759, -0.36376306414604187, 0.6773802042007446, 0.32468998432159424, -0.20221196115016937, -0.4676804542541504, -0.3179141879081726, -0.20872867107391357, -0.20432718098163605, -0.39059919118881226, 0.2045535296201706, -0.16981935501098633, -0.20632079243659973, 0.024176103994250298, -0.14889588952064514, -0.05412256345152855, 0.3385201394557953, 0.030071720480918884, 0.4277513027191162, -0.2053774744272232, 0.5776062607765198, 0.13474571704864502, -0.23798900842666626, 0.376340389251709, -0.3719043433666229, 0.6962154507637024, -0.05256235599517822, -0.8171051740646362, -0.1680322140455246, 0.2238580286502838, 0.026061581447720528, -0.4533770680427551, 0.5032167434692383, 0.30588921904563904, -0.7724809646606445, -0.28027284145355225, -0.6679778099060059, -0.14595969021320343, -0.4731050431728363, 0.2048376053571701, -0.45359113812446594, -1.0618343353271484, 0.44252485036849976, -0.5271267890930176, 0.006561644375324249, 0.4833883047103882, 0.3877691924571991, -0.12464950978755951, 1.1227586269378662, 0.5136709213256836, 0.04714090749621391, 0.3096945583820343, -0.387245237827301, -0.07185231894254684, -0.5386543273925781, -0.3279750347137451, -0.4519970118999481, -0.18282108008861542, -0.07474466413259506, -0.660365104675293, 0.3599276542663574, 0.21514052152633667, -0.2631026804447174, 0.10232601314783096, -0.36372247338294983, 0.6161527633666992, 0.5070386528968811, -0.11644729226827621, 0.4168858528137207, 0.121287502348423, -0.3366101086139679, -0.2140311896800995, -0.6550054550170898, -0.4860277473926544, 0.9457410573959351, 0.30516108870506287, 0.8765311241149902, -0.012915887869894505, 0.8126676678657532, -0.01726771891117096, 0.3856377899646759, -0.961965799331665, 0.7865387797355652, 0.07083305716514587, -0.48920291662216187, -0.34895002841949463, -0.5253674983978271, -0.6714997887611389, 0.09033428877592087, -0.115369513630867, -0.5254220366477966, -0.3023226261138916, 0.10813581943511963, -0.3967230021953583, 0.425772100687027, -0.582425594329834, 0.643851101398468, -0.2280849665403366, -0.07960020750761032, -0.022298235446214676, -0.4705082178115845, 0.2436467409133911, -0.19363056123256683, 0.07475661486387253, -0.10672292113304138, -0.1417544037103653, 0.9983722567558289, -0.418124794960022, 0.7084184288978577, -0.35636427998542786, -0.2289423793554306, 0.3222050070762634, 0.27728578448295593, 0.37271174788475037, 0.05699722096323967, 0.23301580548286438, -0.35881465673446655, -0.11349644511938095, -0.25241217017173767, -0.9447513222694397, 0.5962667465209961, -0.6317548751831055, -0.8594441413879395, -0.3477691113948822, -0.6499295234680176, -0.4675481617450714, 0.18865054845809937, -0.223546102643013, 0.4097764492034912, 0.22402320802211761, -0.12477762252092361, 1.0955917835235596, -0.2140779048204422, 0.418536514043808, 0.5698309540748596, -0.3525957763195038, -0.21263636648654938, 1.1185269355773926, 0.19745662808418274, 0.11642807722091675, 0.545250654220581, 0.15106947720050812, -0.49690499901771545, -0.4594592750072479, -0.4241180717945099, 0.5038829445838928, -0.8415356874465942, -0.6788976192474365, -0.7566747665405273, -0.3692495822906494, -0.4093000590801239, -0.1165950670838356, -0.17440956830978394, -0.4666804075241089, -0.19858118891716003, -0.009248561225831509, 0.46398502588272095, 0.6955544948577881, 0.19347237050533295, 0.25953882932662964, -0.5555663108825684, 0.38684216141700745, 0.7712723016738892, 0.49076518416404724, -0.07321208715438843, -0.5414002537727356, -0.0815669372677803, 0.05236860364675522, -0.30652737617492676, -0.74742192029953, 0.25874391198158264, -0.09365101903676987, 0.5835359692573547, 0.23899422585964203, 0.07840859889984131, 0.5774708390235901, -0.4490155577659607, 0.5556330680847168, 0.14258438348770142, -0.9701651334762573, 0.706708550453186, -0.19355976581573486, 0.18340295553207397, 0.2463669627904892, 0.8319520950317383, -0.24138735234737396, -0.1682596504688263, -0.5976648330688477, -0.5967545509338379, 0.6791356801986694, -0.10400476306676865, 0.1865350902080536, -0.03819439932703972, 0.5440401434898376, 0.06442351639270782, 0.32925382256507874, -0.4654165208339691, -0.2696307897567749, 0.005306228529661894, -0.30180099606513977, -0.015618443489074707, -0.09432334452867508, -0.17725861072540283, -0.39174994826316833, 0.7180137634277344, -0.27960267663002014, 0.3124023377895355, 0.1306792050600052, -0.40345221757888794, 0.11180153489112854, 0.39799124002456665, 0.5058896541595459, 0.6244268417358398, 0.011087489314377308, 0.09761388599872589, 0.398430198431015, -0.16247421503067017, 0.13483268022537231, 0.5052520632743835, -0.02052440121769905, -0.16195449233055115, 0.16901783645153046, 0.5875976085662842, 0.02509661577641964, -0.7586451172828674, 0.7073704600334167, -0.07351341843605042, -0.3377320170402527, -0.49208196997642517, 0.19514711201190948, 0.2519589066505432, 0.2395493984222412, 0.4948809742927551, -0.42852383852005005, -0.14507539570331573, -0.17730964720249176, 0.15796811878681183, 0.7535706162452698, -0.1324656754732132, -0.06611671298742294, 0.4056641161441803, -0.09718590974807739, -0.48597317934036255, 0.4836435616016388, -0.3772737979888916, -0.8440049886703491, 0.8205088376998901, 0.730498194694519, 0.2435990273952484, -0.22972607612609863, 0.16039226949214935, 0.11097630113363266, 0.13701774179935455, 0.0444953627884388, 0.25189289450645447, -0.34059086441993713, -0.8039184808731079, -0.6378890872001648, -0.6633394956588745, -0.5865278840065002, 0.028800467029213905, -0.5079315304756165, 0.2497536689043045, -0.6312205791473389, -0.013314873911440372, -0.02740011364221573, 0.3250313997268677, -0.7561050653457642, 0.3893095850944519, 0.45153069496154785, 1.0124874114990234, -0.6727925539016724, 0.8317070007324219, 1.1100623607635498, -0.2710692882537842, -1.0363380908966064, -0.38660097122192383, -0.295969158411026, -0.897134006023407, 0.7646856904029846, -0.00023494976630900055, -0.039279352873563766, 0.2257496565580368, -0.700241208076477, -0.8361819386482239, 1.1534079313278198, 0.29233992099761963, -0.3746265470981598, -0.1302596777677536, 0.2951309382915497, 0.4945756196975708, -0.4459383487701416, 0.3462928533554077, 0.401058554649353, 0.2940977215766907, 0.4087751805782318, -0.7693467736244202, 0.07186360657215118, -0.16624672710895538, -0.1445840448141098, 0.4191756844520569, -0.35551077127456665, 0.6485716700553894, -0.01869325153529644, 0.03670984506607056, -0.026165520772337914, 0.7990872263908386, 0.3311752378940582, 0.34781190752983093, 0.5536203980445862, 0.7217709422111511, 0.647927463054657, -0.14698508381843567, 0.852464497089386, 0.09976797550916672, 0.4119669198989868, 0.8731394410133362, -0.3260852098464966, 0.7749487161636353, 0.2862664759159088, -0.2655337154865265, 0.5227899551391602, 0.3298809230327606, -0.13282747566699982, 0.05589360371232033, 0.6760932803153992, -0.20321080088615417, -0.7311877012252808, -0.16585147380828857, -0.4592044949531555, 0.42397594451904297, 0.6937503218650818, -0.09130028635263443, -0.43434280157089233, 0.11330190300941467, -0.016801660880446434, 0.10058653354644775, -0.45091959834098816, 0.88225257396698, -0.03719552978873253, -0.6275205612182617, 0.43868446350097656, -0.0019529651617631316, 0.8304392099380493, -0.8883574604988098, -0.3340643048286438, -0.1949327141046524, 0.03280803561210632, 0.09273821115493774, -0.8074326515197754, 0.16036471724510193, -0.06301368772983551, 0.009010059759020805, -0.20035837590694427, 1.0261317491531372, -0.4098707437515259, -0.4873509407043457, 0.07383719831705093, 0.702064037322998, 0.31802815198898315, 0.10785359144210815, -0.531498372554779, -0.14958858489990234, -0.31277966499328613, -0.07722556591033936, 0.4198160469532013, 0.40985116362571716, -0.09049200266599655, 0.8611388206481934, 0.4905923306941986, -0.11436585336923599, 0.20186638832092285, -0.017549019306898117, 1.0797585248947144, -0.7369008660316467, -0.2244277149438858, -0.7244598269462585, 0.21642234921455383, 0.018661022186279297, 0.06994941085577011, 0.8276069164276123, 0.4501914978027344, 0.966804027557373, 0.0523209348320961, 0.6244775652885437, 0.16190187633037567, 0.6625774502754211, -0.3538588285446167, 0.6041408777236938, -0.5693841576576233, 0.2760206460952759, -0.2603306770324707, -0.7553513646125793, -0.4636421799659729, 0.5892263054847717, -0.5539822578430176, 0.07761474698781967, 0.4980500638484955, 0.36482512950897217, 0.010407118126749992, -0.09161052852869034, 0.3819912374019623, -0.07873711735010147, 0.3004223108291626, 0.9172371625900269, 1.0879626274108887, -0.16344720125198364, 0.7442660331726074, -0.27012014389038086, -0.20160651206970215, -0.07080698758363724, -0.7696438431739807, -1.037603735923767, -0.5196725726127625, -0.4686732590198517, -0.09273088723421097, -0.20780186355113983, 0.9808663129806519, 0.34534886479377747, -0.5335162281990051, 0.047809094190597534, 0.267056405544281, 0.3413199782371521, 0.2623489499092102, -0.22819411754608154, 0.3642018735408783, -0.3064221739768982, -0.5857588648796082, 0.07764344662427902, 0.04978973791003227, 0.2723418176174164, -0.2882300913333893, 0.303463876247406, -0.23401521146297455, 0.05894726887345314, 0.39651456475257874, 0.24080519378185272, -0.4299625754356384, -0.299326092004776, 0.09469747543334961, -0.05794898420572281, -0.13574592769145966, 0.8335316777229309, -1.3083868026733398, 0.19059544801712036, 0.3299558162689209, 1.057409644126892, 0.43493956327438354, -0.03697541728615761, 0.22202043235301971, -0.6762799620628357, -0.25452423095703125, 0.44212302565574646, 0.35832852125167847, 0.3405238687992096, -0.12160401046276093, 0.1639542579650879, 0.3793158233165741, -0.387349933385849, -0.739920973777771, 0.3533576428890228, -0.669486939907074, -0.13876917958259583, 1.0566880702972412, -0.47930270433425903, -0.2538318932056427, -0.09631305187940598, 0.0013054510345682502, 0.36165928840637207, -0.10509011149406433, 0.5172669291496277, 0.7746812105178833, -0.10874608159065247, 0.09570591151714325, -0.3653106689453125, 0.28385475277900696, 0.6898530125617981, -0.7569677233695984, -0.2135288566350937, 0.42400968074798584, 0.4809853732585907, 0.2958512604236603, 0.518397867679596, -0.03813401982188225, 0.11407911777496338, -0.33935025334358215, 0.11383228003978729, -0.23843160271644592, -0.2036474347114563, -0.4317449927330017, 0.3557996153831482, 0.04934137687087059, -0.2059546709060669 ]
http://arxiv.org/abs/2406.13862v1
http://arxiv.org/pdf/2406.13862v1
Knowledge Graph-Enhanced Large Language Models via Path Selection
2024-06-19T21:45:20
2024-06-19T21:45:20
Haochen Liu, Song Wang, Yaochen Zhu, Yushun Dong, Jundong Li
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have shown unprecedented performance in various real-world applications. However, they are known to generate factually inaccurate outputs, a.k.a. the hallucination problem. In recent years, incorporating external knowledge extracted from Knowledge Graphs (KGs) has become a promising strategy to improve the factual accuracy of LLM-generated outputs. Nevertheless, most existing explorations rely on LLMs themselves to perform KG knowledge extraction, which is highly inflexible as LLMs can only provide binary judgment on whether a certain knowledge (e.g., a knowledge path in KG) should be used. In addition, LLMs tend to pick only knowledge with direct semantic relationship with the input text, while potentially useful knowledge with indirect semantics can be ignored. In this work, we propose a principled framework KELP with three stages to handle the above problems. Specifically, KELP is able to achieve finer granularity of flexible knowledge extraction by generating scores for knowledge paths with input texts via latent semantic matching. Meanwhile, knowledge paths with indirect semantic relationships with the input text can also be considered via trained encoding between the selected paths in KG and the input text. Experiments on real-world datasets validate the effectiveness of KELP.
[ -0.1508859395980835, -1.0474563837051392, 1.0918909311294556, 0.11211170256137848, -0.23603232204914093, -0.0951276645064354, -0.4406738877296448, -0.6922019124031067, 0.3106190860271454, 0.6616433262825012, -0.3275856673717499, -0.5690307021141052, -0.6448845863342285, 0.10569310188293457, -0.11822639405727386, 0.7411060333251953, 0.016288256272673607, 0.04263971000909805, -0.27235254645347595, 0.02538342960178852, -0.4720851480960846, -0.23711556196212769, -0.684847354888916, -0.6112927198410034, 0.819564163684845, 0.30798614025115967, 0.6476279497146606, 0.49458733201026917, 0.4107772707939148, 0.21938841044902802, -0.1958293914794922, 0.35379835963249207, -0.3939124345779419, 0.5966523289680481, -0.11253651231527328, -0.20272262394428253, -0.32360944151878357, -0.2411249876022339, 0.7189977765083313, 0.9810348153114319, 0.14399822056293488, -0.05114949494600296, 0.10674705356359482, 0.5937467217445374, -0.4291844666004181, 0.40006402134895325, -0.8306040167808533, 0.1812385469675064, -0.13402044773101807, -0.027588514611124992, -0.4497421979904175, -0.46029791235923767, 0.13977980613708496, -0.4826390743255615, -0.2732933759689331, -0.03313828632235527, 0.6002740859985352, 0.12436190992593765, -0.44061318039894104, -0.6779484152793884, -0.712018609046936, 0.4217379689216614, -0.6925495862960815, 0.9146425127983093, 0.5628477334976196, 0.5352234840393066, -0.35374513268470764, -0.8650900721549988, -0.6595756411552429, -0.3609076142311096, -0.26991158723831177, -0.07696476578712463, 0.18191653490066528, 0.08918802440166473, 0.16060630977153778, 0.05099308490753174, -0.39539799094200134, 0.20969736576080322, -0.28618621826171875, -0.3291639983654022, 0.43669378757476807, 0.06532129645347595, 0.10333142429590225, -0.41057437658309937, -0.07434973865747452, -0.21576093137264252, -0.7294286489486694, -0.15649449825286865, 0.4344460964202881, 0.6721745133399963, 0.2759578227996826, 0.8073848485946655, -0.30543386936187744, 0.8230865597724915, -0.07608462870121002, -0.4949361979961395, 0.2813028395175934, -0.00949881598353386, -0.052089571952819824, 0.15295648574829102, 0.8877667188644409, 0.17359067499637604, 0.10742925852537155, -0.7349842190742493, -0.19462932646274567, -0.09286085516214371, 0.0994558334350586, -0.7496709823608398, -0.253054678440094, 0.2666999399662018, -0.2601596713066101, -0.2824118435382843, -0.24075129628181458, -0.9741520881652832, -0.6203115582466125, -0.15654844045639038, 0.506570041179657, -0.7079512476921082, -0.20153537392616272, 0.04638568311929703, -0.10379905253648758, 0.13584379851818085, 0.3603181540966034, -0.7536342740058899, 0.2380988746881485, 0.5244616866111755, 0.9262970685958862, -0.20057742297649384, -0.17498502135276794, -0.6272909641265869, 0.6080824732780457, -0.20037402212619781, 0.5650157332420349, -1.0360153913497925, -0.38035300374031067, -0.10223525762557983, -0.27187496423721313, -0.07249999791383743, -0.3973569869995117, 0.5979922413825989, -0.8101540803909302, 0.2601477801799774, -0.4820956885814667, -0.7347184419631958, -0.44999295473098755, 0.3776991665363312, -0.6177002191543579, 0.9964478611946106, 0.06292971223592758, -0.7354013919830322, 0.3730097711086273, -0.6811363697052002, -0.685406506061554, 0.04223327338695526, -0.2880246341228485, -0.08938265591859818, -0.20835420489311218, 0.2543937563896179, 0.7088670134544373, -0.10451032221317291, 0.48904556035995483, -0.42533305287361145, -0.21357141435146332, -0.39109182357788086, -0.3361845910549164, 0.6941416263580322, 0.14704176783561707, -0.39038383960723877, 0.04376338794827461, -0.8836796879768372, 0.010949015617370605, 0.05410071834921837, -0.6226745247840881, -0.4631775915622711, 0.10363148152828217, -0.29779183864593506, 0.35123082995414734, 0.10532623529434204, -0.3922688066959381, 0.30724209547042847, -0.34338048100471497, 0.17675085365772247, 1.0089162588119507, 0.05393461883068085, 0.4342299699783325, -0.053106263279914856, 0.3726796507835388, -0.1772879809141159, -0.19063755869865417, 0.2428514063358307, -0.5609482526779175, -0.7751846313476562, -0.16746528446674347, 0.1610298901796341, 0.33882930874824524, -0.8341172933578491, 0.6686189770698547, -0.5234039425849915, -0.6016896963119507, -0.22132380306720734, 0.21100373566150665, 0.08971592038869858, 0.7948597073554993, 0.30276355147361755, -0.0122043676674366, -0.2921043634414673, -0.44676315784454346, -0.06943609565496445, -0.3993811309337616, 0.07813192903995514, 0.6792135238647461, 0.33501189947128296, -0.3787304759025574, 0.8377111554145813, -0.6380560994148254, -0.4087289869785309, -0.32080161571502686, -0.2559976279735565, 0.26530683040618896, 0.20008549094200134, 0.15182168781757355, -0.762360155582428, -0.4443156123161316, 0.20359545946121216, -0.8366513848304749, 0.003749524476006627, 0.08214292675256729, -0.2793647050857544, -0.030024727806448936, 0.5592478513717651, -0.818752110004425, 0.02776142582297325, 0.41664567589759827, -0.38387101888656616, 0.6154558658599854, -0.16408437490463257, -0.04101444408297539, -0.9841373562812805, 0.17345818877220154, -0.110438272356987, -0.34998881816864014, -0.40305206179618835, 0.059035900980234146, -0.2424270063638687, 0.14501969516277313, -0.06414040178060532, 0.7184127569198608, -0.05237476900219917, -0.19288882613182068, 0.015287055633962154, 0.31268274784088135, -0.08269637823104858, 0.5353438258171082, 0.34958547353744507, 0.19157050549983978, 0.38863837718963623, -0.7797147035598755, 0.5115278363227844, 0.30842146277427673, -0.33435070514678955, 0.14117039740085602, -0.3218477964401245, 0.5111981630325317, -0.13532303273677826, 0.29699230194091797, -0.7725239992141724, -0.3266952931880951, 0.4712006747722626, -0.1870148777961731, 0.19336524605751038, -0.013394083827733994, -0.7064009308815002, -0.2200341820716858, -0.03306053578853607, 0.05783653259277344, 0.5283852815628052, -0.6147195100784302, 1.0169734954833984, 0.34797102212905884, -0.034003376960754395, -0.44933053851127625, -0.3281128406524658, -0.005182663910090923, -0.29323720932006836, -0.6108854413032532, 0.1910175383090973, -0.07907189428806305, -0.1692608892917633, 0.06765516847372055, -0.10497105121612549, 0.13802923262119293, -0.05426916852593422, 0.22707107663154602, -0.009470134042203426, -0.043026648461818695, 0.2192591428756714, 0.13198710978031158, 0.04591397941112518, 0.13229018449783325, -0.4807584285736084, 0.7888413071632385, 0.20000717043876648, -0.5187578797340393, 0.00304051348939538, -0.010487734340131283, 0.6322879791259766, 0.10205212980508804, 0.7075336575508118, 0.7445287704467773, -0.5017142295837402, -0.23866385221481323, -0.5569178462028503, -0.2783378064632416, -0.4775072932243347, 0.5117669701576233, -0.5078374147415161, -0.9693835973739624, 0.4680178165435791, -0.2377394437789917, -0.046121496707201004, 0.3230685591697693, 0.390419602394104, 0.09049612283706665, 0.7417831420898438, 0.46436962485313416, -0.06950634717941284, 0.13158079981803894, -0.07598422467708588, 0.46344447135925293, -0.865088701248169, -0.6899057030677795, -0.37211474776268005, -0.10982012748718262, -0.4920656085014343, -0.27586549520492554, 0.4785085618495941, 0.18222281336784363, -0.14032220840454102, 0.2325468212366104, -0.16707614064216614, 0.38930490612983704, 0.37846609950065613, 0.31603455543518066, 0.3187536895275116, 0.11448078602552414, -0.705235481262207, -0.022618066519498825, -0.8718560338020325, -0.5142061114311218, 1.0167559385299683, 0.3341240882873535, 0.517946720123291, 0.13411293923854828, 0.5590627789497375, 0.15805687010288239, -0.04503216966986656, -0.8513126373291016, 0.8862165808677673, -0.06226261332631111, -0.3701864778995514, -0.6952390074729919, -0.6618120670318604, -0.7084051370620728, 0.30348706245422363, -0.34118756651878357, -1.065003752708435, -0.17580975592136383, 0.07268505543470383, -0.2627708315849304, 0.534663736820221, -0.5049035549163818, 0.6416422128677368, -0.22647368907928467, -0.49954891204833984, -0.08608455955982208, -0.6646633148193359, 0.35689088702201843, -0.3583935797214508, 0.2925494611263275, 0.07525631040334702, 0.33282172679901123, 0.7515817284584045, -0.24889817833900452, 0.8515327572822571, -0.3219884932041168, -0.2709888815879822, -0.03337596729397774, 0.4056272506713867, 1.0536121129989624, -0.018139244988560677, -0.24716243147850037, 0.03761349245905876, -0.279645711183548, 0.061124082654714584, -0.7473656535148621, 0.6146445870399475, -0.5336901545524597, -0.7526009678840637, -0.21663841605186462, -0.6419328451156616, -0.6687958836555481, 0.4493683874607086, 0.017640458419919014, 0.26644590497016907, 0.09415186196565628, 0.08735574036836624, 0.4360094964504242, -0.40089693665504456, 0.3399335443973541, 0.2433479130268097, -0.6088698506355286, -0.31080517172813416, 0.9299635887145996, 0.24160729348659515, 0.25925830006599426, 0.3833591938018799, 0.39521223306655884, -0.5610509514808655, -0.6115354895591736, -0.14351573586463928, 0.18169577419757843, -1.049405813217163, 0.019133958965539932, -0.9598438739776611, -0.33847084641456604, -0.6614457964897156, -0.04536149650812149, -0.14599525928497314, -0.3138452470302582, -0.005875201430171728, -0.2758561372756958, 0.37222644686698914, 0.9182064533233643, -0.1900230050086975, 0.013757576234638691, -0.7403939366340637, 0.3377944231033325, 0.45780113339424133, 0.3579667806625366, 0.28947895765304565, -0.33655017614364624, -0.06789939105510712, -0.07207174599170685, -0.023126959800720215, -0.6918728947639465, 0.22656798362731934, -0.0076376572251319885, 0.6095777153968811, 0.5419495701789856, -0.07767105847597122, 0.886420488357544, -0.6204504370689392, 0.6144337058067322, 0.18462985754013062, -0.7165222764015198, 0.499429851770401, -0.32878249883651733, 0.13275544345378876, 0.4352595806121826, 0.5065130591392517, -0.6503727436065674, -0.3989710509777069, -0.5215622782707214, -0.8432326912879944, 0.5232521295547485, 0.33008232712745667, 0.03491969034075737, 0.03600309044122696, 0.46408548951148987, 0.37782225012779236, 0.1473333090543747, -0.9796887040138245, -0.020688021555542946, 0.11760776489973068, -0.24670660495758057, 0.04655381664633751, -0.21664652228355408, 0.11803380399942398, -0.42499998211860657, 0.8896376490592957, -0.06069185584783554, 0.06812217086553574, 0.12537728250026703, -0.1180838942527771, -0.04766012728214264, -0.13911007344722748, 0.025838633999228477, 0.6768970489501953, -0.32633113861083984, 0.48523905873298645, 0.1985790878534317, -0.6112840175628662, -0.01083320751786232, -0.07301811873912811, -0.3042636811733246, 0.003281679702922702, 0.6275179386138916, 0.7160281538963318, -0.01991991326212883, -0.6163050532341003, 0.26634150743484497, 0.3005405068397522, 0.05035767704248428, -0.22189942002296448, 0.27280527353286743, 0.13740070164203644, 0.49576523900032043, 0.09176115691661835, -0.03774498403072357, 0.008227750658988953, -0.39186134934425354, 0.20463056862354279, 0.5244966745376587, -0.5571116209030151, -0.1807950884103775, 0.4644263684749603, 0.07709731161594391, -0.32796528935432434, 0.7868279218673706, -0.42916634678840637, -0.6044161319732666, 0.09463334828615189, 0.6079677939414978, 0.6163586974143982, -0.027605216950178146, 0.21279774606227875, 0.32408756017684937, 0.2459799349308014, -0.018144728615880013, -0.0014442881802096963, -0.048479825258255005, -1.0011464357376099, -0.4088866412639618, -1.0075994729995728, -0.09111598879098892, 0.5157511830329895, -0.22420985996723175, 0.46207770705223083, -0.27561110258102417, 0.05731380730867386, -0.1308290958404541, -0.058763086795806885, -0.5597403645515442, 0.1622660905122757, 0.122543565928936, 0.9060859084129333, -0.8627065420150757, 0.9808146953582764, 0.5094493627548218, -0.31677010655403137, -0.9782604575157166, 0.1552407294511795, -0.3263898193836212, -0.7011141777038574, 0.7559333443641663, 0.07356538623571396, -0.09585895389318466, 0.11715803295373917, -0.267987996339798, -0.8414527773857117, 1.256100058555603, 0.5466645956039429, -0.570868194103241, -0.3278603255748749, 0.3587903082370758, 0.21359235048294067, -0.34770190715789795, 0.08736977726221085, 0.46358218789100647, 0.6106099486351013, 0.6099382638931274, -0.7591574192047119, 0.31022363901138306, 0.08698175102472305, -0.1874547004699707, -0.026464242488145828, -0.4753713309764862, 0.4664742052555084, -0.07623656839132309, 0.023968053981661797, -0.22229979932308197, 0.430943101644516, 0.5198489427566528, 0.0526435486972332, 0.7477914690971375, 0.5914403200149536, 1.0363770723342896, 0.18392355740070343, 0.8753056526184082, -0.16672787070274353, 0.07114802300930023, 1.2407342195510864, -0.45511817932128906, 0.7822035551071167, 0.5987176895141602, -0.12782491743564606, 0.5327869653701782, 0.7212771773338318, 0.11620616912841797, 0.8219465613365173, 0.11633718758821487, -0.14559032022953033, -0.40882280468940735, -0.12039359658956528, -0.1728900671005249, 0.47435489296913147, 0.30910953879356384, -0.42902541160583496, -0.23408208787441254, -0.19029614329338074, 0.23093612492084503, -0.20139217376708984, -0.18125517666339874, 0.696282148361206, 0.05827224627137184, -0.5393879413604736, 0.1167847216129303, -0.10982684791088104, 0.3682495653629303, -0.8876641988754272, -0.3488788902759552, -0.03759707883000374, -0.1454024612903595, -0.17143306136131287, -0.6199812889099121, 0.1318972408771515, -0.1358063519001007, 0.041783083230257034, -0.011999085545539856, 1.1463230848312378, -0.3350350260734558, -0.6861082911491394, 0.64570152759552, 0.6282411813735962, 0.23541098833084106, -0.049713846296072006, -0.24580517411231995, -0.01611822098493576, -0.01097455620765686, -0.30323588848114014, 0.09845541417598724, 0.5760404467582703, 0.03621884062886238, 0.6817813515663147, 0.7313592433929443, 0.3862362802028656, -0.03032137081027031, 0.14070692658424377, 0.9829091429710388, -0.5554478168487549, -0.5575974583625793, -1.0781095027923584, 0.3079255223274231, -0.21164245903491974, 0.02058531902730465, 0.7943217158317566, 0.5713863372802734, 0.711776852607727, 0.22756308317184448, 0.8974208235740662, -0.1929486095905304, 0.10587099939584732, -0.8966246843338013, 0.8140462636947632, -0.3212032914161682, 0.403095006942749, -0.5458758473396301, -1.2417778968811035, -0.24370862543582916, 0.6876652240753174, -0.4535073935985565, 0.16532856225967407, 0.788133978843689, 0.7104604840278625, -0.17238301038742065, -0.05249130725860596, 0.32075071334838867, 0.38134390115737915, 0.29528626799583435, 0.5374539494514465, 0.6770710349082947, -0.017145449295639992, 0.49184855818748474, -0.14658786356449127, 0.07803937047719955, 0.036141104996204376, -1.0121047496795654, -1.015115737915039, -0.7068293690681458, -0.15054696798324585, -0.5381796360015869, 0.04742107912898064, 0.782351016998291, 0.6430175304412842, -0.5114219784736633, -0.10710950195789337, -0.35241803526878357, 0.4093492925167084, 0.06217895448207855, -0.2247062474489212, 0.6372296214103699, -0.3742893636226654, -0.46704980731010437, 0.4954076111316681, 0.24624235928058624, 0.07190757244825363, -0.36742356419563293, -0.3472423255443573, -0.17856356501579285, -0.17277589440345764, 0.7178288102149963, -0.2775880992412567, -0.6620832085609436, -0.7003142833709717, -0.026250099763274193, 0.1367987096309662, -0.013991829007863998, 0.48158958554267883, -0.9024267196655273, 0.45297589898109436, 0.36595848202705383, 0.6603503227233887, 0.6555696129798889, -0.5700480341911316, 0.6303313970565796, -0.6846231818199158, -0.04151748865842819, 0.26454347372055054, 0.4106098711490631, 0.36207839846611023, -0.4686032235622406, 0.6842994093894958, 0.3590686023235321, -0.16515938937664032, -0.7915407419204712, 0.23003721237182617, -0.7055739760398865, -0.39804935455322266, 1.7012031078338623, -0.08452631533145905, -0.18964557349681854, -0.004703426733613014, -0.052263494580984116, 0.36649462580680847, -0.09838741272687912, 0.8889234662055969, 0.9593549370765686, -0.1481952965259552, 0.20797128975391388, -0.5481640696525574, 0.5254381895065308, -0.03568222373723984, -0.7544834613800049, 0.002167705213651061, 0.5577319860458374, 0.18683035671710968, 0.32705438137054443, 0.6063474416732788, -0.06715285032987595, -0.32624033093452454, -0.06511819362640381, -0.19683623313903809, -0.14917907118797302, -0.47103777527809143, 0.01571733132004738, 0.4266125559806824, 0.1995897740125656, 0.1842021346092224 ]
http://arxiv.org/abs/2406.15507v1
http://arxiv.org/pdf/2406.15507v1
Few-shot Knowledge Graph Relational Reasoning via Subgraph Adaptation
2024-06-19T21:40:35
2024-06-19T21:40:35
Haochen Liu, Song Wang, Chen Chen, Jundong Li
cs.CL
cs.CL, cs.LG
Few-shot Knowledge Graph (KG) Relational Reasoning aims to predict unseen triplets (i.e., query triplets) for rare relations in KGs, given only several triplets of these relations as references (i.e., support triplets). This task has gained significant traction due to the widespread use of knowledge graphs in various natural language processing applications. Previous approaches have utilized meta-training methods and manually constructed meta-relation sets to tackle this task. Recent efforts have focused on edge-mask-based methods, which exploit the structure of the contextualized graphs of target triplets (i.e., a subgraph containing relevant triplets in the KG). However, existing edge-mask-based methods have limitations in extracting insufficient information from KG and are highly influenced by spurious information in KG. To overcome these challenges, we propose SAFER (Subgraph Adaptation for Few-shot Relational Reasoning), a novel approach that effectively adapts the information in contextualized graphs to various subgraphs generated from support and query triplets to perform the prediction. Specifically, SAFER enables the extraction of more comprehensive information from support triplets while minimizing the impact of spurious information when predicting query triplets. Experimental results on three prevalent datasets demonstrate the superiority of our proposed framework SAFER.
[ -0.2758931517601013, -0.8132038712501526, 0.4635622799396515, -0.2227829247713089, -0.21383270621299744, -0.054398614913225174, 0.2894589602947235, -0.33334124088287354, -0.026461180299520493, 0.5721015334129333, -0.7257775664329529, -0.6953073740005493, -0.4468073546886444, 0.10868263244628906, 0.28809481859207153, 1.0666007995605469, 0.07626321911811829, -0.28438588976860046, -0.1920982152223587, -0.1008438840508461, -0.5139134526252747, -0.2741076350212097, -0.527292013168335, -0.31133168935775757, 0.4323454797267914, 0.646217405796051, 0.8023580312728882, 0.4734536409378052, 0.516590416431427, 0.0871940553188324, 0.05640887841582298, 0.2766280472278595, -0.6938241720199585, 0.06981932371854782, -0.2352769672870636, -0.31755921244621277, -0.6198222041130066, -0.23808307945728302, 0.48702433705329895, 0.757754385471344, 0.22133290767669678, -0.10619448870420456, 0.0719192698597908, 0.9909766316413879, -0.9960001111030579, 0.49015891551971436, -0.8378299474716187, 0.15970920026302338, -0.3005885183811188, -0.24286124110221863, -0.6219250559806824, -0.29305317997932434, -0.03431714326143265, -0.9348506331443787, -0.26475921273231506, 0.1783011257648468, 0.3854396939277649, 0.26895588636398315, -0.4982990622520447, 0.26226407289505005, -0.5348135232925415, 0.3690924048423767, -0.3498248755931854, 0.3005244731903076, 0.7204670906066895, 0.7667152285575867, -0.5695789456367493, -0.612793505191803, -0.21321474015712738, 0.20735672116279602, -0.4525701105594635, 0.2028418481349945, -0.5044755339622498, 0.15684594213962555, 0.30758410692214966, -0.30413907766342163, -0.42447271943092346, -0.07963193953037262, -0.20761501789093018, -0.28993192315101624, 0.5504571199417114, 0.18846850097179413, 0.1693110167980194, -0.5012063980102539, -0.3431132733821869, 0.09872029721736908, -0.8958492875099182, -0.14929862320423126, 0.11358848214149475, 0.6890743970870972, 0.027576357126235962, 0.4407801628112793, -0.7075359225273132, 0.8064683079719543, -0.07161274552345276, -0.5855351090431213, 0.219805046916008, -0.42049601674079895, -0.2366131693124771, 0.13257521390914917, 0.8532053232192993, 0.479751318693161, 0.7487719655036926, -0.1465471386909485, 0.2869223356246948, -0.17069566249847412, -0.18130692839622498, -0.6382361650466919, -0.5370849967002869, -0.06415344029664993, -0.24830253422260284, -0.31683212518692017, -0.3528711795806885, -0.7863109707832336, -0.5553936958312988, 0.2585211396217346, 0.32279425859451294, -0.778347909450531, -0.102892205119133, -0.19624829292297363, -0.11092181503772736, -0.07909513264894485, 0.2018495500087738, -0.7850026488304138, 0.23270341753959656, 0.4839077293872833, 0.6380643248558044, 0.09805036336183548, -0.3736197054386139, -0.6188822388648987, 0.7980027794837952, -0.3251958191394806, 0.9803107976913452, -0.5350263714790344, -0.19248399138450623, -0.16437944769859314, -0.1623380035161972, -0.27518028020858765, -0.15186049044132233, 0.4427957534790039, -0.6238209009170532, -0.1489764302968979, -0.26776033639907837, -0.3163411021232605, -0.25904399156570435, 0.44112151861190796, -0.562973141670227, 0.810276210308075, 0.3103949725627899, -1.1759237051010132, 0.6128285527229309, -0.5816309452056885, -0.5400204658508301, 0.11649852991104126, 0.0332421213388443, -0.41502830386161804, -0.5201333165168762, 0.7278611660003662, 0.4012260138988495, 0.116341732442379, -0.22876140475273132, -0.8984659910202026, -0.14216531813144684, -0.05066017434000969, -0.04437298700213432, 0.8106839060783386, -0.10669096559286118, 0.1240660548210144, -0.2364286482334137, -0.6951227188110352, 0.26021096110343933, 0.02317415177822113, -0.011365440674126148, -0.4690350592136383, -0.14281059801578522, -0.7453900575637817, 0.1873367577791214, -0.337886244058609, -0.2962403893470764, 0.42047667503356934, -0.38899746537208557, 0.011484213173389435, 0.6843854784965515, 0.5114994645118713, 0.6447982788085938, -0.24514544010162354, 0.5350818634033203, 0.2582191228866577, 0.341685026884079, -0.08479072898626328, -0.7878188490867615, -0.38285931944847107, -0.24706169962882996, 0.35857489705085754, 0.7746659517288208, -1.2551844120025635, 0.03034241683781147, -0.5548123121261597, -0.34230315685272217, -0.0732087641954422, 0.28295013308525085, 0.46418023109436035, 0.7039335370063782, 0.5795723795890808, -0.026640143245458603, -0.6305293440818787, -0.9211196303367615, -0.632063090801239, -0.33050844073295593, 0.22046403586864471, 0.3607901930809021, 0.5330044031143188, -0.18341755867004395, 1.3154700994491577, -0.7510004639625549, -0.6947674751281738, -0.49283838272094727, 0.018953176215291023, 0.025081802159547806, 0.489059716463089, 0.6791421175003052, -0.5533666014671326, -0.7560594081878662, -0.041883304715156555, -0.7478731870651245, 0.05019615963101387, 0.123658686876297, -0.42147237062454224, 0.1506778448820114, 0.4093099534511566, -0.5049065351486206, 0.7231118679046631, 0.14383234083652496, 0.018989328294992447, 0.19762030243873596, 0.4680319130420685, -0.21380551159381866, -0.9729126691818237, -0.36571842432022095, -0.2677648067474365, -0.5690814852714539, -0.530453622341156, -0.21649713814258575, -0.06541786342859268, 0.2240242063999176, -0.5685154795646667, 0.5638248920440674, -0.2882890999317169, -0.16234351694583893, -0.031306229531764984, 0.08267973363399506, -0.05825106427073479, 0.4848189353942871, -0.022938009351491928, 0.36466705799102783, 0.7275922894477844, -0.561470091342926, 0.42010095715522766, 0.3706672489643097, -0.11194907128810883, 0.6303352117538452, -0.08508186042308807, 0.46952009201049805, -0.20884166657924652, 0.670774519443512, -0.6813304424285889, -0.41777950525283813, 0.6699846982955933, -0.5478584170341492, 0.24868302047252655, -1.0787245035171509, -0.44266510009765625, -0.289462149143219, -0.3551556169986725, 0.3926226496696472, 0.31528258323669434, -0.47401636838912964, 0.7718647122383118, 0.3856061100959778, -0.02289680205285549, -0.7864870429039001, -0.6922842860221863, -0.12149704247713089, -0.03669138252735138, -0.7636104822158813, 0.1297381967306137, 0.2206181138753891, -0.18572425842285156, 0.4848687946796417, -0.1661107987165451, -0.122014120221138, 0.12244565784931183, 0.30198752880096436, 0.08949890732765198, -0.16603295505046844, 0.23886792361736298, 0.27185672521591187, -0.7104268074035645, -0.3570858836174011, -0.47668737173080444, 0.06601716578006744, -0.3069497346878052, -0.299172580242157, -0.19939161837100983, 0.26225361227989197, 0.20507901906967163, 0.3062531054019928, 0.9973107576370239, 0.5337300300598145, -0.6126618981361389, -0.20630505681037903, -0.21230700612068176, -0.23366205394268036, -0.41719117760658264, 0.1590433418750763, -0.5964433550834656, -0.6562728881835938, 0.3113643229007721, -0.16071313619613647, -0.3470320701599121, 0.3856590986251831, 0.2181384116411209, -0.18912553787231445, 1.037325382232666, 0.4966259002685547, 0.055240530520677567, 0.1488189548254013, -0.2164226919412613, 0.24005627632141113, -0.7839928269386292, -0.2646467685699463, -0.09291995316743851, -0.23521332442760468, -0.5941158533096313, -0.0843396931886673, 0.8393748998641968, 0.39151179790496826, -0.12480250746011734, 0.39044803380966187, -0.16226355731487274, 0.9659477472305298, 0.6494941711425781, 0.23518089950084686, 0.4773103594779968, -0.012563488446176052, -0.3536336421966553, 0.0745466873049736, -1.0561879873275757, -0.2077447474002838, 1.1070687770843506, -0.13045541942119598, 0.7984086871147156, 0.29732927680015564, 0.8144201040267944, 0.050010353326797485, 0.34328392148017883, -0.8074779510498047, 0.5790303349494934, -0.024128062650561333, -0.9690459966659546, -0.344700425863266, -0.668910801410675, -0.8198936581611633, 0.2857820391654968, -0.4970604181289673, -1.0847970247268677, 0.11772169172763824, 0.21165940165519714, -0.5152170658111572, 0.3243243098258972, -0.8415919542312622, 0.8643231391906738, 0.1905577927827835, -0.4409506022930145, 0.3265870213508606, -0.9401436448097229, 0.6196298003196716, 0.0037175181787461042, 0.3705626428127289, -0.21059077978134155, 0.3098125755786896, 0.7208002805709839, -0.31233087182044983, 0.9988658428192139, -0.24465729296207428, 0.6366104483604431, 0.5394753813743591, 0.4603339731693268, 0.7618924975395203, 0.15817825496196747, -0.06869436800479889, -0.09075065702199936, 0.24074842035770416, -0.5082364082336426, -0.7178714871406555, 0.35706475377082825, -0.5442781448364258, -0.6056004762649536, -0.41392549872398376, -0.6653552055358887, -0.6451321840286255, 0.6786791086196899, 0.2602672576904297, 0.19170011579990387, 0.06497550755739212, 0.1667553037405014, 0.23389270901679993, 0.07306252419948578, 0.49453532695770264, 0.15118764340877533, -0.2148609608411789, -0.5749611258506775, 0.4752438962459564, 0.2747712731361389, 0.29441356658935547, 0.5080887675285339, 0.5633721947669983, -0.2662830650806427, -0.6188728213310242, -0.4889141321182251, -0.05720718950033188, -1.1917943954467773, -0.7658509612083435, -0.8293052315711975, -0.09802404791116714, -0.7924734950065613, -0.11636433005332947, -0.2692866027355194, -0.7081745862960815, -0.0818636491894722, -0.36731553077697754, 0.6968758702278137, 0.4252009093761444, -0.3617074489593506, 0.35488253831863403, -1.0613237619400024, 0.4308554232120514, 0.76149582862854, 0.31327536702156067, -0.3949846625328064, -0.1637069582939148, -0.07592486590147018, -0.17970533668994904, -0.1585310697555542, -1.0603164434432983, 0.0695795863866806, 0.207753986120224, 0.5185472965240479, 0.26886245608329773, 0.5752907991409302, 0.7275128960609436, -0.32566869258880615, 0.36742159724235535, 0.0938626229763031, -0.7576974034309387, 0.7418408393859863, -0.5869128108024597, -0.06477722525596619, 0.9575876593589783, 0.38721197843551636, -0.11531808972358704, 0.1319884955883026, -0.5531780123710632, -0.565800666809082, 0.9841266870498657, 0.34405890107154846, -0.20711475610733032, 0.130666583776474, 0.30697211623191833, -0.004310118965804577, -0.14275433123111725, -0.9405909180641174, 0.010984500870108604, -0.15289321541786194, -0.13157130777835846, 0.5447842478752136, -0.21089406311511993, -0.473033607006073, -0.22182874381542206, 0.838661789894104, -0.6968958377838135, 0.008715861476957798, 0.009914201684296131, -0.2360474169254303, -0.1911497414112091, 0.2964341938495636, 0.10749085247516632, 0.5451458692550659, -0.41289186477661133, 0.44899657368659973, 0.5293604135513306, -0.29116395115852356, 0.00871304702013731, 0.007849875837564468, -0.20076453685760498, -0.335277259349823, 0.7399935126304626, 0.6403951048851013, 0.10999537259340286, -0.05755762755870819, 0.7286635637283325, 0.20911474525928497, 0.03813136741518974, 0.01671147719025612, 0.21303214132785797, 0.1179996207356453, 0.19361025094985962, 0.11208965629339218, 0.230024054646492, -0.05309922248125076, -0.6347051858901978, 0.2337203174829483, 0.3284047842025757, -0.46593374013900757, -0.004502440337091684, 0.2696864902973175, 0.09882207214832306, -0.015972882509231567, 0.5091279149055481, -0.5535837411880493, -0.614065408706665, 0.3640602231025696, 0.6136273741722107, 0.7429662942886353, -0.014338339678943157, 0.13130278885364532, 0.45841458439826965, 0.5453746914863586, 0.21912020444869995, -0.08918091654777527, 0.13532985746860504, -0.9908722639083862, -0.26655158400535583, -0.29014086723327637, -0.3708580732345581, -0.20449575781822205, -0.22928386926651, 0.35640209913253784, -0.48309069871902466, -0.07150953263044357, -0.10776280611753464, -0.20119066536426544, -0.5036876201629639, 0.07022304087877274, 0.0033547459170222282, 0.8287543058395386, -0.9375272393226624, 0.9056835770606995, 0.4623783826828003, -0.41265347599983215, -0.7789275050163269, -0.06484319269657135, 0.310953289270401, -0.955049991607666, 0.7175265550613403, -0.02930193394422531, -0.2836219072341919, -0.02394787035882473, -0.4402850568294525, -0.9228049516677856, 1.184640645980835, 0.41050681471824646, -0.20117543637752533, 0.13857030868530273, 0.13526034355163574, 0.16270588338375092, -0.39591503143310547, 0.22709308564662933, 0.6644635796546936, 0.6130647659301758, 0.4938740134239197, -0.7162547707557678, 0.25207197666168213, 0.02458089031279087, -0.17442871630191803, 0.20196998119354248, -0.4618209898471832, 0.5209214687347412, -0.4754753112792969, -0.2738238275051117, -0.3681671619415283, 0.46316346526145935, 0.4899751543998718, 0.5738797187805176, 0.6170263290405273, 0.6758074164390564, 0.6946582794189453, -0.022967133671045303, 1.1324762105941772, 0.17268002033233643, 0.31794577836990356, 1.3426991701126099, -0.36839377880096436, 0.5577588677406311, 0.19356079399585724, -0.2856275141239166, 0.6286252737045288, 0.46899327635765076, 0.34194454550743103, 0.8063515424728394, -0.12669184803962708, -0.04642762243747711, -0.6028547286987305, -0.054864898324012756, -0.5000958442687988, 0.4684567451477051, 0.3897351026535034, -0.1567775011062622, -0.3336354196071625, -0.3551037013530731, 0.24843423068523407, -0.4079505205154419, -0.21630431711673737, 0.9701882600784302, 0.18458960950374603, -0.5208954215049744, 0.4124123156070709, -0.20444457232952118, 0.06271468102931976, -0.39519646763801575, 0.011668603867292404, -0.19465529918670654, 0.07232057303190231, -0.578436553478241, -0.7692636847496033, 0.4107564091682434, -0.16696080565452576, -0.13311761617660522, 0.0898500606417656, 1.3599449396133423, 0.024631233885884285, -0.618669867515564, 0.2934512794017792, 0.6098002791404724, 0.00045201426837593317, 0.07079380750656128, -0.6034881472587585, -0.38926422595977783, -0.14753755927085876, -0.15862689912319183, 0.402828186750412, 0.4984036386013031, -0.17669475078582764, 0.6933725476264954, 0.7083010673522949, -0.2101464569568634, 0.17683742940425873, 0.09030106663703918, 1.0122146606445312, -0.5153812766075134, -0.5824690461158752, -0.981485903263092, 0.2754763066768646, -0.047338541597127914, -0.02263120375573635, 0.6441129446029663, 0.3338015377521515, 0.5314221382141113, 0.13290035724639893, 0.9225826859474182, 0.0405450277030468, 0.38021910190582275, -0.8084955811500549, 0.5269461274147034, -0.1740563064813614, 0.23618489503860474, -0.6708367466926575, -0.8421722650527954, -0.8279994130134583, 0.42705923318862915, -0.6481367945671082, 0.14904667437076569, 0.9101420640945435, 0.7886103987693787, -0.29778173565864563, 0.08621516078710556, 0.24163493514060974, 0.20621289312839508, 0.1410013735294342, 0.9093995094299316, 0.8391900062561035, -0.38637855648994446, 1.155900478363037, -0.5245675444602966, -0.2829388976097107, -0.34070372581481934, -1.3608603477478027, -0.9944607615470886, -0.12316581606864929, -0.4732562005519867, -0.5521352887153625, 0.22308456897735596, 0.6660797595977783, 1.0038328170776367, -0.6310666799545288, 0.5860604643821716, -0.22884885966777802, 0.7262266874313354, -0.21867823600769043, -0.227565735578537, 0.46047109365463257, -0.003143155016005039, -0.23533663153648376, 0.5326072573661804, 0.4224626421928406, 0.06075896695256233, 0.27129605412483215, 0.08289028704166412, -0.20991291105747223, -0.15397727489471436, 0.5204979777336121, 0.3435393273830414, -0.29134300351142883, -0.6869031190872192, -0.38531696796417236, 0.13796524703502655, 0.1214381530880928, 0.5598302483558655, -1.1349081993103027, 0.47743067145347595, 0.8344838619232178, 0.4935379922389984, 0.5660536289215088, -0.0426645465195179, 0.2525884211063385, -1.0324060916900635, 0.1273638755083084, 0.33484575152397156, 0.3173558712005615, 0.39336490631103516, -0.4170047640800476, 0.9660947322845459, 0.6456694602966309, -0.08849609643220901, -0.7972175478935242, 0.6658398509025574, -0.9345442652702332, -0.30612313747406006, 1.4339910745620728, -0.2893601059913635, -0.27847716212272644, -0.5113728642463684, 0.13489669561386108, 0.2828206419944763, -0.28032374382019043, 0.33462363481521606, 0.504655659198761, -0.647244930267334, -0.35296157002449036, -0.267155259847641, 0.5454392433166504, 0.02923751063644886, -0.8773897290229797, 0.002957009943202138, 0.27450379729270935, 0.3674975335597992, 0.16469891369342804, 1.007802963256836, -0.05884188413619995, 0.215986430644989, 0.19420914351940155, -0.4621773958206177, -0.27067244052886963, -0.5262088179588318, 0.25336095690727234, 0.32703813910484314, -0.06827294826507568, -0.1854209154844284 ]
http://arxiv.org/abs/2406.13858v1
http://arxiv.org/pdf/2406.13858v1
Distributional reasoning in LLMs: Parallel reasoning processes in multi-hop reasoning
2024-06-19T21:36:40
2024-06-19T21:36:40
Yuval Shalev, Amir Feder, Ariel Goldstein
cs.CL
cs.CL
Large language models (LLMs) have shown an impressive ability to perform tasks believed to require thought processes. When the model does not document an explicit thought process, it becomes difficult to understand the processes occurring within its hidden layers and to determine if these processes can be referred to as reasoning. We introduce a novel and interpretable analysis of internal multi-hop reasoning processes in LLMs. We demonstrate that the prediction process for compositional reasoning questions can be modeled using a simple linear transformation between two semantic category spaces. We show that during inference, the middle layers of the network generate highly interpretable embeddings that represent a set of potential intermediate answers for the multi-hop question. We use statistical analyses to show that a corresponding subset of tokens is activated in the model's output, implying the existence of parallel reasoning paths. These observations hold true even when the model lacks the necessary knowledge to solve the task. Our findings can help uncover the strategies that LLMs use to solve reasoning tasks, offering insights into the types of thought processes that can emerge from artificial intelligence. Finally, we also discuss the implication of cognitive modeling of these results.
[ -0.32313162088394165, -0.9583240151405334, 1.0793867111206055, 0.08831015229225159, -0.08140694350004196, 0.048256415873765945, -0.19186028838157654, -0.37790098786354065, 0.15896254777908325, 0.7438403367996216, -0.9089106917381287, -0.3802771270275116, -0.7161427140235901, 0.07113997638225555, -0.40079957246780396, 0.5018576383590698, -0.18164807558059692, 0.08059597760438919, -0.5109490752220154, -0.1022387221455574, -0.6179590225219727, -0.5360794067382812, -0.5916405916213989, -0.45843833684921265, 0.5955119132995605, 0.3192957043647766, 0.6961578130722046, 0.5868133306503296, 0.6593272686004639, 0.3361148536205292, -0.14306636154651642, 0.1984005868434906, -0.16048915684223175, 0.48232582211494446, -0.12177965044975281, -0.9768316149711609, -0.17966298758983612, -0.2865934669971466, 0.642742931842804, 1.060308575630188, -0.06978348642587662, 0.10923482477664948, -0.0855473130941391, 0.6949560642242432, -0.4017007052898407, 0.13204070925712585, -0.6969442367553711, 0.10826121270656586, -0.3158961832523346, -0.26376521587371826, -0.530707061290741, -0.03466853126883507, -0.01205152366310358, -0.3529724180698395, 0.009027627296745777, 0.1062600389122963, 0.04673148691654205, 0.4133606553077698, -0.5031819343566895, -0.5280735492706299, -0.8464184403419495, 0.7451608180999756, -0.3613589107990265, 0.4106212258338928, 0.2770061790943146, 0.540897786617279, -0.2647959291934967, -0.6913890838623047, -0.547971785068512, -0.25453659892082214, -0.027497367933392525, -0.03327753394842148, -0.09252529591321945, 0.04745666682720184, 0.2720280587673187, 0.015629185363650322, -0.5116585493087769, -0.08044800907373428, -0.14051397144794464, -0.04464448615908623, 0.4464693069458008, 0.45247331261634827, 0.2560270428657532, 0.13972994685173035, -0.4004669785499573, 0.044205255806446075, -0.5891037583351135, 0.11400644481182098, 0.23233823478221893, 0.17096365988254547, -0.029800627380609512, 0.8254996538162231, -0.1198442354798317, 0.5948176980018616, -0.4251101315021515, -0.007091749459505081, 0.08512858301401138, -0.170742928981781, -0.16258667409420013, -0.1866663545370102, 0.5335039496421814, -0.034741900861263275, 0.441066712141037, -0.12362132221460342, -0.16483381390571594, 0.15420331060886383, 0.09123113751411438, -0.40282541513442993, -0.09347691386938095, 0.529441773891449, -0.5655739307403564, -0.08078384399414062, -0.14619863033294678, -0.32690414786338806, -0.4734644889831543, -0.4574686884880066, 0.1093720942735672, -0.4346655309200287, -0.2792460024356842, 0.3562978506088257, -0.3501562774181366, 0.014685562811791897, 0.5678597092628479, -0.671578049659729, 0.2883617877960205, 0.8680058121681213, 0.7226148247718811, -0.1370846927165985, -0.6318384408950806, -0.20522715151309967, 0.3570023775100708, -0.31577789783477783, 1.1538974046707153, -0.7618380188941956, -0.05721413344144821, -0.12362774461507797, -0.1429966241121292, -0.2886093556880951, -0.6764097213745117, 0.41669517755508423, -0.6496634483337402, -0.268669456243515, -0.5022794008255005, -0.8478866219520569, 0.002063473453745246, 0.4333929419517517, -0.6140128374099731, 0.7106941938400269, -0.3834107518196106, -0.8782104849815369, 0.10084497928619385, -0.7166873216629028, -0.07845360040664673, 0.10289732366800308, -0.25445693731307983, 0.14379632472991943, 0.05358370393514633, 0.2321193814277649, 0.5102971792221069, -0.3630780875682831, 0.15480242669582367, -0.7931374311447144, -0.08603210002183914, 0.6966990828514099, -0.3642059862613678, 0.8388747572898865, 0.17885912954807281, -0.09171221405267715, 0.12601032853126526, -0.5604528188705444, -0.09369759261608124, 0.19078709185123444, -0.07688675075769424, -0.2932848632335663, 0.36935049295425415, -0.6767742037773132, 0.15321075916290283, 0.18060500919818878, -0.3640713095664978, 0.27203503251075745, -0.08691850304603577, 0.4170595109462738, 0.9473828673362732, 0.07589413970708847, 0.6783744096755981, -0.2833883762359619, 0.4722873270511627, 0.35454294085502625, 0.26658159494400024, -0.22262972593307495, -0.8881089687347412, -0.7534290552139282, -0.1406404823064804, -0.2678717076778412, 0.5663517713546753, -0.6182631254196167, 0.06709831207990646, -0.027632899582386017, -0.2175777703523636, -0.3108672797679901, 0.07703343033790588, -0.11524627357721329, 0.2584740221500397, 0.2049843966960907, 0.19102686643600464, -0.4555743634700775, -0.7349832653999329, -0.36445626616477966, -0.04687979072332382, 0.20574520528316498, 0.23118287324905396, 0.6564123034477234, -0.41434338688850403, 0.7008439898490906, -0.6208121180534363, -0.001056369743309915, -0.35868579149246216, -0.0047750636003911495, 0.29632315039634705, 0.15250910818576813, 0.027885667979717255, -0.5464966297149658, -0.11430555582046509, -0.09870730340480804, -1.1748931407928467, -0.12928809225559235, -0.2461501806974411, -0.47374939918518066, -0.3299676477909088, 0.7173293828964233, -0.9337753057479858, 0.24273811280727386, 0.3520796000957489, -0.2791536748409271, 0.7279351353645325, -0.2002943456172943, -0.39008623361587524, -0.8286494612693787, -0.4891282916069031, 0.01473473384976387, -0.012391631491482258, -0.5021415948867798, 0.1382189393043518, -0.1816733330488205, 0.07544272392988205, -0.03527318686246872, 0.4993893802165985, -0.5532462000846863, -0.4585338830947876, -0.36281588673591614, 0.09559964388608932, 0.00505485013127327, 0.21446192264556885, 0.09757519513368607, 0.545046865940094, 0.6850157380104065, -0.4274774193763733, 0.645619809627533, 0.1432618796825409, -0.32858726382255554, 0.36774885654449463, -0.4345918297767639, 0.032634660601615906, -0.37957504391670227, 0.5976606607437134, -1.0313286781311035, -0.06051161512732506, 0.19431257247924805, -0.3191850781440735, -0.24699023365974426, -0.0888727605342865, -0.6349169015884399, -0.42768317461013794, 0.08044932782649994, 0.46589237451553345, 0.27183791995048523, -0.40402892231941223, 0.4382111728191376, 0.29081991314888, 0.015881404280662537, -0.4748372435569763, -0.7662988901138306, -0.07122047990560532, -0.29183411598205566, -0.8219830393791199, 0.0010730406502261758, -0.2082894742488861, -0.5809683203697205, 0.0652361512184143, 0.16878005862236023, -0.07494750618934631, 0.05153152346611023, 0.15234403312206268, 0.09784775972366333, -0.3416195511817932, 0.3632950484752655, 0.13363464176654816, -0.024473462253808975, 0.5131341218948364, -0.5543604493141174, 0.4899088740348816, -0.15031865239143372, -0.882321834564209, -0.3649449050426483, 0.4562717080116272, 0.6979675889015198, -0.19314917922019958, 0.867847740650177, 0.37415918707847595, -0.36632469296455383, -0.6844446659088135, -0.3270326852798462, -0.3265102803707123, -0.4130736291408539, 0.08141523599624634, -0.7020232677459717, -0.6993861794471741, 0.8255879878997803, -0.43533575534820557, -0.31039729714393616, 0.31764328479766846, 0.7741906046867371, -0.391425758600235, 1.0373305082321167, 0.2746162712574005, 0.475333571434021, 0.2637447118759155, -0.43630197644233704, 0.2754547595977783, -0.7460759878158569, -0.5622460246086121, -0.31241387128829956, -0.2638201117515564, -0.5338442921638489, -0.7804895639419556, 0.5076377391815186, 0.21616309881210327, -0.33319810032844543, 0.013657699339091778, -0.2536791265010834, 0.5848899483680725, 0.6086199283599854, 0.13773202896118164, 0.31754598021507263, -0.11253596842288971, -0.4445245862007141, 0.2392004132270813, -0.5871986746788025, -0.49545833468437195, 1.0199562311172485, 0.4518873393535614, 0.7010522484779358, 0.05645468831062317, 0.7741211652755737, 0.2136297971010208, 0.16187171638011932, -0.7123261094093323, 0.6436994671821594, 0.02960774675011635, -0.5514535307884216, -0.3670194745063782, -0.40941107273101807, -0.7886324524879456, 0.5207163691520691, -0.09797494113445282, -0.8710924386978149, 0.05777652561664581, -0.1979946494102478, -0.07956565171480179, 0.6017954349517822, -0.6781412363052368, 0.622861385345459, -0.2594756484031677, -0.04891432821750641, -0.3469287157058716, -0.6269308924674988, 0.5924351811408997, 0.06830379366874695, 0.36126017570495605, -0.3222682774066925, 0.1387460082769394, 0.47203442454338074, -0.3690829873085022, 0.9005603194236755, -0.1303691864013672, -0.004094099625945091, 0.4777046740055084, 0.23623934388160706, 0.5419657826423645, -0.060391392558813095, -0.10412043333053589, 0.18590612709522247, -0.000642390747088939, -0.3473382592201233, -0.8491215705871582, 0.46434012055397034, -0.7810582518577576, -0.6713979840278625, -0.2420070320367813, -0.843009889125824, -0.3508695662021637, -0.08192355185747147, -0.08882097899913788, 0.17082354426383972, 0.234649658203125, -0.037394870072603226, 0.5780752897262573, -0.12638677656650543, 0.27521640062332153, -0.09745750576257706, -0.30567121505737305, -0.19307799637317657, 0.49355265498161316, 0.0686955377459526, 0.2336532324552536, 0.5820420980453491, 0.5161696672439575, -0.5337678790092468, -0.6304423809051514, -0.43292874097824097, 0.45841461420059204, -1.1674585342407227, 0.14223773777484894, -0.6624202728271484, -0.23219160735607147, -0.23213647305965424, 0.03429681807756424, -0.20548869669437408, -0.43081024289131165, -0.21038863062858582, -0.08744198828935623, -0.03937969356775284, 1.0578222274780273, 0.0858864113688469, 0.1936231255531311, -0.8488085865974426, 0.19892831146717072, 0.389040470123291, 0.0917939692735672, 0.24006317555904388, -0.3574802875518799, -0.20259757339954376, 0.10473894327878952, -0.3086415231227875, -1.020279049873352, 0.18724992871284485, -0.07448539137840271, 0.8333470821380615, 0.48286959528923035, -0.11277268081903458, 0.5622661113739014, -0.5383257269859314, 0.6205279231071472, 0.09235865622758865, -0.760830283164978, 0.5612277984619141, -0.31288856267929077, 0.05237855762243271, -0.03477548062801361, 0.4592767059803009, -0.2965046465396881, -0.43147769570350647, -0.3939468264579773, -0.47190263867378235, 0.43945056200027466, 0.1591942459344864, -0.007879000157117844, -0.12840674817562103, 0.2558806836605072, 0.15683872997760773, 0.027273306623101234, -0.7035292387008667, -0.22996297478675842, 0.10000640898942947, -0.007538968697190285, 0.03274490311741829, -0.3164377212524414, -0.242442786693573, -0.3425544798374176, 0.23190335929393768, -0.15199802815914154, 0.4650617241859436, -0.008656450547277927, 0.01316798385232687, 0.024588968604803085, 0.1806579828262329, 0.5274909138679504, 0.7117248177528381, -0.13863015174865723, 0.5446156859397888, -0.07361751049757004, 0.08020373433828354, 0.17390143871307373, -0.20033718645572662, 0.23024269938468933, -0.24864442646503448, 0.6181939244270325, 0.8189355134963989, -0.19204355776309967, -0.5545857548713684, 0.5056813359260559, 0.013845589943230152, -0.15853863954544067, -0.5259639024734497, -0.07978412508964539, 0.4494524598121643, 0.817045271396637, 0.2004237174987793, 0.2483985275030136, 0.21673429012298584, -0.6112661957740784, 0.06210814788937569, 0.45311522483825684, -0.017455313354730606, -0.40265825390815735, 0.622045636177063, -0.05536992847919464, -0.2433886080980301, 0.701869785785675, -0.12355214357376099, -0.41445615887641907, 0.6368803381919861, 0.7040790319442749, 0.9344712495803833, 0.029514441266655922, 0.3516012728214264, -0.01018064096570015, 0.4002686142921448, -0.05011819303035736, 0.2639448940753937, -0.2165095955133438, -1.1828049421310425, -0.6125624775886536, -0.7007814049720764, -0.4837305545806885, -0.06102988123893738, -0.3169068694114685, -0.022153206169605255, -0.29190847277641296, 0.014538212679326534, 0.23963609337806702, -0.5901776552200317, -0.5484070181846619, 0.011413391679525375, 0.5497687458992004, 0.8439878821372986, -1.0802638530731201, 0.8278522491455078, 0.7069489359855652, -0.24534785747528076, -0.6999951601028442, 0.17370888590812683, -0.13937531411647797, -1.0273642539978027, 0.9840320944786072, 0.17306570708751678, -0.19325359165668488, -0.29697996377944946, -0.44823625683784485, -0.9728631973266602, 0.9231076836585999, 0.5948878526687622, -0.21671462059020996, -0.14740023016929626, 0.5772809982299805, 0.4941241145133972, -0.5707525610923767, 0.4442738890647888, 0.4841637909412384, 0.25364410877227783, 0.3716469705104828, -0.5483691096305847, 0.05972087383270264, 0.036207616329193115, -0.001282188924960792, 0.06115490943193436, -0.3866218328475952, 1.2592699527740479, -0.33420464396476746, 0.005868410691618919, -0.23391588032245636, 0.4522484838962555, 0.664314329624176, 0.554458498954773, 0.47873154282569885, 0.7345006465911865, 0.9014268517494202, 0.12813697755336761, 1.208787441253662, -0.0977630466222763, 0.19725781679153442, 0.8549931645393372, -0.4673445224761963, 0.9137187600135803, 0.55544114112854, -0.30662477016448975, 0.9202378392219543, 0.5848996043205261, 0.47555506229400635, 0.43669232726097107, 0.2997024357318878, -0.39534056186676025, -0.5901457071304321, 0.016575748100876808, -0.04445546120405197, 0.5459268689155579, 0.6061147451400757, -0.2792186141014099, -0.10843450576066971, -0.007612086366862059, -0.4158686697483063, -0.0984959527850151, -0.2816128134727478, 0.6558477282524109, 0.33538272976875305, -0.7373825311660767, 0.291716068983078, -0.10763299465179443, 0.22627940773963928, -0.31400066614151, -0.07662883400917053, -0.1582288295030594, 0.3417215645313263, -0.13929371535778046, -1.1648342609405518, 0.5704143047332764, -0.29546642303466797, -0.24221590161323547, -0.44622603058815, 0.7442986369132996, -0.16245760023593903, -0.5414286851882935, 0.615604817867279, 1.0224354267120361, 0.3594503700733185, -0.2631124258041382, -0.7807225584983826, -0.129323810338974, -0.19324693083763123, -0.3380542993545532, 0.30298852920532227, 0.9255892634391785, -0.37350913882255554, 0.9739396572113037, 0.830923318862915, 0.24881359934806824, 0.5057588219642639, 0.4591950476169586, 0.7859359383583069, -0.6379989385604858, -0.5193209648132324, -1.0400505065917969, 0.40446367859840393, 0.03198891133069992, 0.12832298874855042, 0.5808885097503662, 0.2529982924461365, 0.7904316186904907, -0.006824452430009842, 0.8377894163131714, 0.3710726499557495, 0.4084467589855194, -0.7063990235328674, 0.1953710913658142, -0.42348724603652954, 0.570828914642334, 0.015177995897829533, -0.809628963470459, -0.2158176749944687, 0.31152108311653137, -0.5272234082221985, -0.10346616059541702, 1.1328680515289307, 0.6123889684677124, -0.14346450567245483, 0.29023098945617676, 0.4829629063606262, 0.11799121648073196, 0.21240541338920593, 0.6285343766212463, 1.3963745832443237, 0.014720206148922443, 0.41674086451530457, -0.34862104058265686, -0.10244473814964294, 0.14617983996868134, -0.7409005165100098, -0.8401012420654297, -0.614864706993103, -0.03452218323945999, -0.19441534578800201, -0.16611067950725555, 0.6638368964195251, 0.5959051251411438, -0.6293452382087708, -0.46459701657295227, -0.5417366623878479, 0.4310561418533325, -0.2578931152820587, -0.21502596139907837, 0.17105241119861603, -0.5404050946235657, -0.3456069827079773, 0.4453778564929962, 0.33125314116477966, -0.15563346445560455, -0.32879796624183655, -0.009537998586893082, -0.14933262765407562, 0.24486736953258514, 0.6127418875694275, -0.28147733211517334, -0.960737407207489, -0.0848633199930191, 0.09659984707832336, 0.17478793859481812, 0.04945451393723488, 1.0340144634246826, -0.48683419823646545, 0.4106633961200714, 0.6512525677680969, 0.6546455025672913, 0.5546348094940186, -0.0830737054347992, 0.3027186989784241, -0.6180489659309387, 0.10743294656276703, 0.21449004113674164, 0.695425808429718, 0.12322456389665604, -0.2723938822746277, 0.2297443300485611, 0.5063015818595886, -0.6196967363357544, -0.7202073931694031, 0.6263652443885803, -0.7957793474197388, -0.5483239889144897, 1.3637888431549072, -0.12802764773368835, -0.2951381504535675, -0.040218643844127655, 0.0757305845618248, 0.1586262732744217, 0.02445315569639206, 0.4988638758659363, 0.6883839964866638, -0.6719965934753418, -0.4182797074317932, -0.6586951017379761, 0.15222598612308502, 0.2712227702140808, -0.9185965657234192, 0.09910959005355835, 0.30570006370544434, 0.19402997195720673, 0.09933467954397202, 0.8294622898101807, 0.1597823053598404, -0.15194642543792725, 0.18113449215888977, -0.17396332323551178, 0.10540826618671417, -0.43118977546691895, -0.18717654049396515, 0.3844571113586426, 0.1649097502231598, -0.276258647441864 ]
http://arxiv.org/abs/2406.13846v1
http://arxiv.org/pdf/2406.13846v1
Text Serialization and Their Relationship with the Conventional Paradigms of Tabular Machine Learning
2024-06-19T21:19:37
2024-06-19T21:19:37
Kyoka Ono, Simon A. Lee
cs.CL
cs.CL, cs.LG
Recent research has explored how Language Models (LMs) can be used for feature representation and prediction in tabular machine learning tasks. This involves employing text serialization and supervised fine-tuning (SFT) techniques. Despite the simplicity of these techniques, significant gaps remain in our understanding of the applicability and reliability of LMs in this context. Our study assesses how emerging LM technologies compare with traditional paradigms in tabular machine learning and evaluates the feasibility of adopting similar approaches with these advanced technologies. At the data level, we investigate various methods of data representation and curation of serialized tabular data, exploring their impact on prediction performance. At the classification level, we examine whether text serialization combined with LMs enhances performance on tabular datasets (e.g. class imbalance, distribution shift, biases, and high dimensionality), and assess whether this method represents a state-of-the-art (SOTA) approach for addressing tabular machine learning challenges. Our findings reveal current pre-trained models should not replace conventional approaches.
[ -0.18003211915493011, -1.049678087234497, 0.47815847396850586, -0.07271870970726013, -0.13585248589515686, 0.23951315879821777, -0.2457960546016693, -0.5606703162193298, -0.010989612899720669, 0.7334794998168945, -0.14857247471809387, -0.5442582964897156, -0.4681112468242645, 0.06564820557832718, -0.4580189883708954, 1.0913923978805542, -0.12556467950344086, 0.26763513684272766, -0.4836673438549042, 0.11843603849411011, -0.6222143173217773, -0.9325303435325623, -0.45310088992118835, -0.2255241721868515, 0.34243881702423096, 0.36447060108184814, 0.8224530220031738, 1.037558674812317, 0.7885507941246033, 0.25554054975509644, 0.0994306355714798, 0.22487959265708923, -0.2845386266708374, 0.2522481381893158, 0.2111200988292694, -0.6263861060142517, -0.722775399684906, -0.0660463348031044, 0.6220049858093262, 0.8128557801246643, -0.0935397669672966, 0.25089457631111145, 0.13232369720935822, 0.6086334586143494, -0.3171190917491913, 0.2788829803466797, -0.8653154373168945, 0.33687591552734375, -0.4191778004169464, -0.5137857794761658, -0.6625539660453796, -0.5020658373832703, -0.010661270469427109, -0.5198514461517334, 0.25922197103500366, 0.20934298634529114, 0.572279155254364, 0.30435919761657715, -0.21985727548599243, -0.24884897470474243, -1.1084222793579102, 0.6769720911979675, -0.5923774838447571, 0.5483025908470154, 0.4803113043308258, 0.3908248543739319, -0.15937365591526031, -0.8760175108909607, -0.227488175034523, -0.3122217357158661, -0.31679633259773254, -0.1894141584634781, 0.16052664816379547, 0.09348997473716736, 0.33149951696395874, 0.2379271239042282, -0.7728346586227417, 0.4947514533996582, -0.4424847960472107, 0.15647631883621216, 0.42179781198501587, 0.45268434286117554, 0.22729136049747467, 0.05075279623270035, -0.3421139121055603, 0.02835746854543686, -0.5195039510726929, 0.36244237422943115, 0.03476794809103012, 0.6305596828460693, 0.28092435002326965, 0.25224724411964417, -0.011141065508127213, 0.8845463395118713, -0.09080556780099869, -0.17303338646888733, 0.03800079599022865, -0.2522607743740082, -0.4496150314807892, 0.012904874049127102, 0.7818761467933655, 0.22174601256847382, -0.022366879507899284, -0.42688801884651184, -0.24657326936721802, 0.009971718303859234, 0.5192747712135315, -0.8821360468864441, -0.08467834442853928, 0.19128906726837158, -0.6599752902984619, -0.45934152603149414, 0.15354010462760925, -0.7835920453071594, -0.5539559721946716, -0.4402083158493042, 0.4699685573577881, -0.14385393261909485, 0.08192653208971024, -0.056032925844192505, 0.0564553365111351, -0.2733572721481323, 0.3134419620037079, -1.22734534740448, 0.41673874855041504, 0.749356210231781, 0.6183006167411804, -0.3330608010292053, -0.21491681039333344, -0.3408515453338623, -0.016499046236276627, -0.5842970609664917, 0.7965231537818909, -0.6844671368598938, -0.21514353156089783, 0.12231670320034027, 0.05651122331619263, -0.012226708233356476, -0.7864618301391602, 0.5429807305335999, -0.43937429785728455, -0.2793971598148346, -0.041761551052331924, -0.5688870549201965, -0.1552983820438385, 0.1280614137649536, -0.8362583518028259, 1.1025502681732178, 0.038912344723939896, -0.6118118166923523, 0.8109102249145508, -0.3307844400405884, -0.4057292938232422, 0.17341135442256927, -0.288387656211853, -1.058237910270691, 0.09681390970945358, 0.024745043367147446, 1.021295428276062, -0.2736038863658905, 0.4040236175060272, -0.38620027899742126, -0.5787515044212341, 0.35020339488983154, -0.2073393315076828, -0.015373813919723034, 0.38283804059028625, -0.11063121259212494, 0.07177524268627167, -0.8880384564399719, 0.035093192011117935, -0.08591633290052414, -0.36005547642707825, -0.04299125075340271, 0.3212904930114746, 0.19006454944610596, 0.015844669193029404, 0.19613763689994812, -0.21669580042362213, 0.3884239196777344, -0.14537881314754486, 0.43918418884277344, 0.37984246015548706, -0.2569464147090912, 0.659903883934021, -0.262584924697876, 0.5765188336372375, 0.19195549190044403, 0.06092741712927818, -0.20996271073818207, -0.15972056984901428, -0.39333751797676086, -0.014780472964048386, 0.520643413066864, 0.5864899754524231, -0.48850709199905396, 0.12090151757001877, -0.3757186532020569, -0.7207193970680237, -0.2816413342952728, 0.0345899760723114, 0.18465067446231842, 0.2235361933708191, 0.5139440894126892, -0.03878951072692871, -0.9150403738021851, -0.7647615671157837, -0.3899463415145874, 0.1720111221075058, 0.2512250542640686, 0.11386052519083023, 0.22200609743595123, -0.331032395362854, 0.9262253642082214, -0.1273258477449417, -0.2625678777694702, -0.5281299948692322, 0.3287634551525116, 0.0477508120238781, 0.5900925993919373, 0.4958648681640625, -0.861174464225769, -0.6251568794250488, 0.5668061971664429, -0.8525413870811462, 0.29686760902404785, -0.1482411026954651, 0.45386388897895813, 0.5740747451782227, 0.6992791891098022, -0.21785962581634521, 0.8641195297241211, 0.24866433441638947, -0.14731870591640472, 0.4509694278240204, -0.16456636786460876, 0.3538144528865814, -0.8634588718414307, -0.047208547592163086, -0.09391098469495773, -0.26225918531417847, -1.1794747114181519, -0.1993689090013504, 0.22102192044258118, -0.22222816944122314, -0.09537679702043533, 0.18504640460014343, -0.3259682059288025, -0.29326769709587097, -0.32644152641296387, -0.22060295939445496, -0.15720424056053162, 0.19992049038410187, 0.22380070388317108, 0.8491789102554321, 0.2413954883813858, -0.6135995388031006, 0.001201025559566915, 0.005490812007337809, -0.25358933210372925, 0.0981719046831131, -0.44097280502319336, -0.1644582897424698, -0.269508421421051, 0.1616586297750473, -0.7964708805084229, -0.032997600734233856, -0.18825127184391022, -0.6033969521522522, 0.5660199522972107, -0.000453262502560392, -0.4255862534046173, -0.3447098135948181, -0.20542818307876587, 0.20851436257362366, 0.3290267288684845, -0.13526111841201782, 0.4819706082344055, 0.37092894315719604, -0.06181805580854416, -0.746830940246582, -0.7949182391166687, -0.08621960133314133, -0.33311885595321655, -0.31241539120674133, 0.4230651259422302, 0.2753898799419403, 0.04336739704012871, -0.1363912671804428, -0.0905139222741127, -0.08835382014513016, 0.42002207040786743, 0.3961013853549957, 0.1792789250612259, -0.2786766290664673, 0.35097357630729675, -0.0687604621052742, -0.10177744925022125, -0.26455408334732056, -0.2720320522785187, 0.7288001179695129, -0.07334136217832565, 0.20177847146987915, -0.4115416407585144, 0.02381478063762188, 0.30799439549446106, -0.27812084555625916, 1.1537383794784546, 0.7978248000144958, -0.609309732913971, -0.29420167207717896, -0.4504842162132263, -0.21977835893630981, -0.4101147949695587, 0.5388506054878235, -0.5799269676208496, -0.8737666010856628, 0.604953944683075, -0.09848766028881073, -0.013624819926917553, 0.0660763755440712, 0.4150635898113251, -0.3986756205558777, 0.9204531908035278, 0.7443333268165588, -0.006199001334607601, 0.5566481351852417, -0.3741356134414673, 0.41520485281944275, -0.3614042103290558, -0.24683864414691925, -0.9281681776046753, -0.30927401781082153, -0.8933941721916199, -0.16933685541152954, 0.22442303597927094, 0.35156163573265076, -0.11317941546440125, 0.41927263140678406, -0.38625022768974304, 0.2807702124118805, 0.3797852694988251, 0.026210736483335495, 0.35048145055770874, 0.18529535830020905, 0.16835170984268188, -0.1802864372730255, -0.6860421895980835, -0.8807849287986755, 1.2308135032653809, 0.5459175109863281, 0.6618670225143433, -0.411682665348053, 0.6682471632957458, 0.46108388900756836, 0.23969243466854095, -0.5938654541969299, 0.3643137514591217, -0.5349376201629639, -0.41359665989875793, -0.47054174542427063, -0.4813551604747772, -1.147823691368103, 0.10262518376111984, -0.5216681361198425, -0.8805540800094604, -0.0020751620177179575, 0.2631551921367645, -0.33968499302864075, 0.4285835027694702, -0.6682642698287964, 1.137805461883545, -0.025257445871829987, -0.4313839077949524, 0.15050829946994781, -0.4215953052043915, -0.032627228647470474, -0.17318208515644073, 0.34292998909950256, 0.2819283604621887, 0.14456890523433685, 0.8713053464889526, -0.2698969542980194, 0.6261611580848694, -0.14647693932056427, 0.01898515596985817, 0.1281159222126007, 0.1365240067243576, 0.37917399406433105, -0.05460777133703232, -0.15547887980937958, -0.061555758118629456, 0.4621254503726959, -0.1768401861190796, -0.8378532528877258, 0.4388889968395233, -0.7414349317550659, -0.446285218000412, -0.1788790374994278, -0.4692593812942505, -0.3415222465991974, 0.09156323224306107, 0.14179666340351105, 0.6012201309204102, -0.13044320046901703, 0.4925239384174347, 0.6572641730308533, -0.07081413269042969, 0.3886713683605194, 0.16155031323432922, -0.5340117812156677, -0.419668972492218, 1.0735211372375488, 0.6018502712249756, -0.001972756115719676, 0.6862215399742126, -0.0062094018794596195, -0.12223713845014572, -0.9908133149147034, -0.46986401081085205, -0.26211148500442505, -0.4308769702911377, -0.36562439799308777, -0.6725324392318726, -0.17601381242275238, -0.4444912075996399, -0.11203331500291824, -0.19184398651123047, -0.45721426606178284, -0.4124135673046112, -0.30720630288124084, 0.34406113624572754, 0.8564758896827698, 0.39648810029029846, 0.4828898310661316, -0.8995741009712219, 0.2169264405965805, -0.11990775167942047, 0.3626319468021393, 0.025681940838694572, -0.3690248727798462, -0.658052384853363, -0.06403040885925293, -0.362935334444046, -0.8189981579780579, 0.32889699935913086, -0.05186986178159714, 0.3730233311653137, 0.1247805655002594, -0.28502020239830017, 0.5718149542808533, -0.6147940158843994, 0.7161230444908142, -0.17194226384162903, -0.5086286664009094, 0.3611766993999481, -0.4677138328552246, -0.10913354903459549, 0.5581918358802795, 0.5392797589302063, -0.46452951431274414, -0.20552514493465424, -0.31111183762550354, -0.455218106508255, 0.7747763991355896, -0.2588527202606201, -0.2479293942451477, 0.39747703075408936, 0.3922664225101471, 0.6579985618591309, 0.4183599054813385, -0.8803941011428833, -0.24142393469810486, -0.05847151577472687, -0.4371403157711029, -0.3165448009967804, -0.1981542557477951, 0.5519905686378479, -0.2455868273973465, 0.5014917254447937, 0.003217019373551011, 0.2568759322166443, -0.14207498729228973, -0.1878998577594757, -0.08283635228872299, 0.4718705713748932, 0.5254151225090027, 0.7124649882316589, -0.33432093262672424, 0.03393961861729622, -0.02202146127820015, -0.6372116804122925, 0.10963001847267151, 0.11956438422203064, -0.509588897228241, -0.02597002685070038, 0.06595882773399353, 1.1107964515686035, 0.12176025658845901, -0.3792527914047241, 0.05108804255723953, 0.10591671615839005, -0.21456992626190186, -0.13476981222629547, -0.1666404902935028, -0.03929238021373749, 0.09345065802335739, 0.35894161462783813, 0.15745018422603607, 0.44213399291038513, -0.7925131916999817, 0.16412502527236938, 0.5206339955329895, -0.3816000819206238, -0.19954229891300201, 0.6129586100578308, -0.25491175055503845, -0.4047926664352417, 0.04663065820932388, 0.06616967916488647, -0.4512258768081665, 0.5369173884391785, 0.5990651845932007, 0.4939442276954651, -0.13596588373184204, 0.3249317705631256, 0.23180748522281647, 0.3541889488697052, -0.074123315513134, 0.21383565664291382, -0.10158184915781021, -0.5266445279121399, -0.13992322981357574, -0.872693657875061, -0.26410573720932007, 0.20968657732009888, -0.580537736415863, 0.3341400921344757, -0.49711698293685913, -0.4597816467285156, -0.10451673716306686, 0.23028932511806488, -0.6470585465431213, 0.22509118914604187, 0.18592768907546997, 0.6470898389816284, -0.7078357338905334, 0.7896462082862854, 0.8231377005577087, -0.35212603211402893, -0.8108108043670654, -0.31373491883277893, -0.48338964581489563, -0.21132686734199524, 0.5779744982719421, 0.24222956597805023, 0.2825838625431061, -0.10616657882928848, -0.13442815840244293, -0.5892735719680786, 0.985854983329773, 0.09376337379217148, -0.5072898268699646, -0.06806962192058563, 0.7715202569961548, 0.6856560707092285, -0.18916873633861542, 0.41430723667144775, 0.8943180441856384, 0.3329212963581085, -0.44297802448272705, -1.0994027853012085, -0.1790793091058731, -0.01910671778023243, 0.3897196650505066, 0.42898300290107727, -0.35027986764907837, 0.7981951236724854, 0.1743997484445572, -0.1327512413263321, -0.0023743161000311375, 0.6978875994682312, -0.01256994716823101, 0.6847231388092041, -0.17085890471935272, 0.5391600131988525, 0.6617844104766846, -0.2888944149017334, 0.5901502966880798, 0.046961113810539246, 0.3046589195728302, 0.9736310243606567, -0.252594918012619, 1.058376669883728, 0.4062582850456238, -0.44931766390800476, 0.4125824570655823, 0.7019117474555969, -0.017165707424283028, 0.3152821958065033, 0.18845921754837036, 0.18882963061332703, -0.03345871716737747, 0.021302813664078712, -0.441273957490921, 0.3745368719100952, 0.5295554399490356, -0.4365754723548889, -0.03873012587428093, 0.35000890493392944, -0.13511787354946136, 0.5008179545402527, -0.5903457999229431, 0.9903275370597839, -0.15789878368377686, -0.4831200838088989, 0.5945084691047668, 0.010459305718541145, 0.7212534546852112, -0.20290051400661469, -0.020389443263411522, -0.083210289478302, 0.2472308874130249, -0.5054608583450317, -0.415838360786438, 0.10377053171396255, -0.09766136854887009, -0.36867842078208923, -0.34312090277671814, 0.8605011701583862, -0.4365887939929962, -0.48702272772789, -0.10830377042293549, 0.5066199898719788, 0.0704118013381958, 0.2549578547477722, -0.28241559863090515, 0.26082101464271545, -0.15581972897052765, -0.026547614485025406, 0.5358866453170776, 0.44826948642730713, -0.2548343241214752, 0.7150088548660278, 0.3073624074459076, 0.1840750277042389, 0.3168007731437683, -0.10897446423768997, 0.6087685227394104, -0.5562210083007812, -0.33679482340812683, -0.9436394572257996, 0.409354031085968, 0.177093505859375, 0.10447550565004349, 0.6091399788856506, 0.6818640828132629, 0.7983431816101074, -0.4292496144771576, 0.7066871523857117, 0.2983146011829376, 0.7885536551475525, -0.738682210445404, 0.7877012491226196, -0.45851558446884155, 0.1131369024515152, -0.3646191656589508, -0.8794082999229431, -0.494313508272171, 0.3918529748916626, -0.41853049397468567, 0.08595346659421921, 0.7377604842185974, 0.6356673240661621, 0.1252446472644806, 0.368221640586853, 0.40743789076805115, -0.009431515820324421, 0.16387179493904114, 0.09976768493652344, 0.8967704176902771, -0.6322675347328186, 0.27829819917678833, -0.24164767563343048, -0.05405675619840622, -0.40793830156326294, -0.5874350666999817, -0.9441778063774109, -0.8775166273117065, 0.0028455746360123158, 0.11292330920696259, 0.19511839747428894, 0.8362888693809509, 0.5505696535110474, -0.8214831352233887, -0.3988097310066223, -0.11846093088388443, -0.1052229031920433, -0.18941661715507507, -0.2290104627609253, 0.36342957615852356, -0.6342534422874451, -0.5281795263290405, 0.060500022023916245, 0.1985502988100052, 0.27694520354270935, -0.12016311287879944, 0.13804255425930023, 0.19700589776039124, -0.30258283019065857, 0.6452659964561462, 0.13682667911052704, -0.522707462310791, 0.02323163114488125, 0.30242955684661865, -0.17909561097621918, 0.24991244077682495, 0.9350209832191467, -0.9857997298240662, 0.19718077778816223, 0.44705575704574585, 0.9042328596115112, 0.4820682108402252, 0.1655140370130539, 0.4228804111480713, -0.3908660411834717, 0.1726040244102478, 0.34157127141952515, 0.16077807545661926, 0.06835121661424637, -0.4974510371685028, 0.31536510586738586, -0.0922640934586525, -0.7815979719161987, -1.2445871829986572, -0.07800396531820297, -0.7241218090057373, -0.1812276691198349, 0.6712713241577148, 0.05536309629678726, -0.1737470179796219, -0.08444506675004959, -0.17411503195762634, 0.2752474546432495, -0.1860840618610382, 0.6453164219856262, 0.44753313064575195, -0.11085453629493713, -0.2101234495639801, -0.7605376243591309, 0.9633268713951111, 0.3431241810321808, -0.9928364753723145, 0.22176600992679596, 0.1718098521232605, -0.21232187747955322, 0.08153730630874634, 0.404086709022522, -0.0703117698431015, 0.28738903999328613, -0.14150577783584595, 0.055027663707733154, -0.11290334910154343, -0.619287371635437, -0.2666846513748169, 0.21727611124515533, 0.31300702691078186, 0.12330205738544464 ]
http://arxiv.org/abs/2406.13842v1
http://arxiv.org/pdf/2406.13842v1
Joint vs Sequential Speaker-Role Detection and Automatic Speech Recognition for Air-traffic Control
2024-06-19T21:11:01
2024-06-19T21:11:01
Alexander Blatt, Aravind Krishnan, Dietrich Klakow
cs.CL
cs.CL, cs.SD, eess.AS
Utilizing air-traffic control (ATC) data for downstream natural-language processing tasks requires preprocessing steps. Key steps are the transcription of the data via automatic speech recognition (ASR) and speaker diarization, respectively speaker role detection (SRD) to divide the transcripts into pilot and air-traffic controller (ATCO) transcripts. While traditional approaches take on these tasks separately, we propose a transformer-based joint ASR-SRD system that solves both tasks jointly while relying on a standard ASR architecture. We compare this joint system against two cascaded approaches for ASR and SRD on multiple ATC datasets. Our study shows in which cases our joint system can outperform the two traditional approaches and in which cases the other architectures are preferable. We additionally evaluate how acoustic and lexical differences influence all architectures and show how to overcome them for our joint architecture.
[ -0.5239980220794678, -0.4286300539970398, 0.32201066613197327, 0.15854741632938385, -0.27907389402389526, 0.43412384390830994, -0.07484617829322815, -0.46781596541404724, 0.22883372008800507, 0.5087481737136841, -0.2509465217590332, -0.09258133918046951, -0.6041451692581177, 0.17044740915298462, -0.6121345162391663, 0.4383458197116852, -0.010105670429766178, 0.07036971300840378, -0.21076975762844086, -0.04076379910111427, -0.5289902687072754, -0.6918805837631226, -0.9834262728691101, -0.4635440409183502, 0.21713311970233917, 0.611349880695343, 0.7820804119110107, 0.5378875136375427, 0.4981847107410431, 0.41706106066703796, 0.019944431260228157, 0.016329895704984665, 0.5153072476387024, 0.18507811427116394, 0.031728822737932205, 0.04761018976569176, -0.3378480076789856, -0.24483835697174072, 0.9077174067497253, 0.6920366287231445, -0.44000399112701416, -0.25899189710617065, -0.29003235697746277, 0.5637279748916626, -0.54513019323349, 0.13986092805862427, -0.3811556398868561, -0.1629197597503662, -0.5201934576034546, -0.3004060387611389, -0.339561402797699, 0.12628570199012756, 0.0710950568318367, -0.46292752027511597, 0.060601744800806046, 0.20137189328670502, 0.6123096942901611, 0.4249546229839325, -0.8019030094146729, -0.27155935764312744, -1.042263388633728, 0.6365790367126465, -0.3762839734554291, 1.0491398572921753, 0.1077115386724472, 0.5035956501960754, -0.02239855006337166, -0.39203447103500366, -0.8344542384147644, -0.006003965623676777, -0.3448944389820099, 0.24238276481628418, -0.20239569246768951, 0.06985989212989807, 0.06507191807031631, 0.2823735773563385, -0.8124554753303528, 0.3658479154109955, -0.5325864553451538, -0.2209133356809616, 0.6721875071525574, -0.07990764081478119, 0.39051029086112976, -0.3163608908653259, -0.41843175888061523, -0.353733628988266, -0.5846799612045288, 0.29345041513442993, 0.28621751070022583, 0.6261400580406189, -0.07591438293457031, 0.18064558506011963, -0.16035260260105133, 0.46766889095306396, 0.0007553540635854006, -0.03924283757805824, 0.18757566809654236, -0.11471515148878098, -0.383475661277771, 0.4980161786079407, 0.9248383641242981, -0.3373573422431946, 0.11977311223745346, -0.38921862840652466, -0.4445384740829468, 0.2815709412097931, 0.5685010552406311, -0.11282163113355637, -0.047295086085796356, 0.18930716812610626, -0.5445124506950378, -0.006022552959620953, 0.5427528023719788, -0.3511558175086975, 0.14811544120311737, -0.7932869791984558, 0.5279574990272522, -0.11668992042541504, -0.4431799352169037, 0.09965825080871582, -0.18218255043029785, 0.5912852883338928, 0.2611328661441803, -0.810029923915863, 0.9554513096809387, 0.7780848145484924, 0.7183554768562317, -0.4580737352371216, -0.14569631218910217, -0.791989803314209, 0.25099629163742065, -0.19835805892944336, 1.0706617832183838, -0.5356881022453308, -0.7848148345947266, -0.28805413842201233, -0.03692866116762161, -0.5141745209693909, -0.7514355182647705, 0.5848480463027954, -0.6639633178710938, 0.25456565618515015, -0.07559125125408173, -0.14102530479431152, 0.029272116720676422, -0.34351328015327454, -0.7413781881332397, 0.6808938980102539, -0.2791856527328491, -0.565416157245636, 0.3102431893348694, -0.7131011486053467, -0.7667589783668518, -0.0019646778237074614, -0.7486532330513, -0.5340700745582581, -0.12354917079210281, 0.35980573296546936, 0.17126823961734772, -0.2070467174053192, 0.2917592227458954, 0.3144405782222748, -0.5768411755561829, -0.025703705847263336, -0.44574296474456787, 0.7822200655937195, 0.3570407032966614, -0.1665555089712143, 0.20978373289108276, -0.7036561965942383, -0.26395827531814575, -0.17860010266304016, -0.535857617855072, -0.18856602907180786, 0.4705435335636139, 0.2619839310646057, 0.09726731479167938, -0.1981038898229599, -0.4535349905490875, -0.15130974352359772, -0.319038450717926, 0.0899789109826088, 0.6119084358215332, -0.1364540010690689, 0.4116220474243164, -0.24595031142234802, 0.4684884250164032, 0.36492785811424255, 0.01277200598269701, 0.22140417993068695, -0.4814838767051697, -0.7186568975448608, -0.07997334748506546, 0.06983422487974167, 0.9090974926948547, -0.911186933517456, 0.9384814500808716, -0.36554303765296936, -0.1594400554895401, -0.3879144787788391, -0.2777508497238159, 0.45628631114959717, 0.19184111058712006, 0.4521180987358093, -0.6623240113258362, -0.5800389051437378, -0.7768581509590149, -0.24091185629367828, -0.6037341356277466, -0.12423299252986908, 0.005344011355191469, 0.07846896350383759, 0.1093830019235611, 0.7874804139137268, -0.16461417078971863, -0.46587786078453064, -0.2142540067434311, 0.16970062255859375, -0.012375034391880035, 0.6546033024787903, 0.23962417244911194, -1.1422849893569946, -0.6531638503074646, 0.18758459389209747, -0.3288475573062897, -0.15754735469818115, 0.018282093107700348, 0.2891196608543396, 0.23139527440071106, 0.8819281458854675, -0.7001093626022339, 0.6791790723800659, 0.26735469698905945, -0.3533805310726166, 0.20169100165367126, -0.09409163147211075, 0.29479241371154785, -0.766319990158081, 0.15432517230510712, -0.35325169563293457, -0.16170252859592438, -1.1647052764892578, -0.2693638503551483, -0.1725946068763733, -0.12399701029062271, -0.23864515125751495, 0.0527908094227314, -0.4203963875770569, -0.597242534160614, -0.36114659905433655, -0.05570871755480766, -0.03619309142231941, 0.3458787798881531, 0.44805845618247986, 0.757242739200592, 0.5151682496070862, -0.47155606746673584, 0.35040605068206787, 0.5625696182250977, -0.36727991700172424, 0.3140536844730377, -0.4968957304954529, 0.30510151386260986, -0.21782194077968597, 0.6200780272483826, -0.9997168183326721, -0.10077220946550369, 0.2647506296634674, -0.5514211654663086, 0.3826146423816681, -0.28319674730300903, -0.5318723320960999, -0.45511487126350403, 0.0759081169962883, 0.5902204513549805, 0.41915300488471985, -0.5175995230674744, 0.9709686636924744, 0.5013360977172852, -0.3174225091934204, -0.40505239367485046, -0.7517649531364441, 0.0789562538266182, -0.20433737337589264, -0.5049223899841309, 0.6008350253105164, 0.4353623688220978, -0.3550972044467926, -0.19174917042255402, -0.49242526292800903, -0.25124627351760864, -0.2071792036294937, 0.39877548813819885, 0.37271443009376526, -0.23663344979286194, 0.024331729859113693, -0.10845780372619629, -0.3495684862136841, -0.00791800208389759, -0.24062317609786987, 0.4390312731266022, 0.18187421560287476, -0.649357795715332, -0.7557991743087769, 0.7709104418754578, 0.7384200692176819, -0.5183827877044678, 0.6197242140769958, 0.4983741343021393, -0.18409602344036102, 0.027839796617627144, -0.7238352298736572, -0.018255062401294708, -0.5493404865264893, -0.19553521275520325, -0.5303155183792114, -0.7295029163360596, 0.47559916973114014, 0.31560268998146057, -0.14231978356838226, 0.3656620979309082, 0.30356740951538086, 0.046386148780584335, 0.7134381532669067, 0.30976876616477966, -0.5031869411468506, 0.5849782824516296, 0.10324352234601974, 0.44553515315055847, -0.4832161068916321, -0.3059614896774292, -0.9259665608406067, -0.19683076441287994, -0.6355060338973999, -0.3482751250267029, 0.631913959980011, -0.22635720670223236, -0.3326944410800934, 0.5229275822639465, -0.48090383410453796, 0.14746882021427155, 0.606105387210846, -0.11151677370071411, 0.5835545063018799, -0.0927945002913475, 0.18537099659442902, 0.4200168251991272, -0.5079001784324646, -0.5027281045913696, 0.5342831611633301, 0.21260444819927216, 0.5179386138916016, 0.27584102749824524, 0.6632434725761414, 0.08964957296848297, -0.2134527713060379, -0.7774587869644165, 0.5980277061462402, -0.679894745349884, -0.37930938601493835, -0.38552677631378174, -0.504364550113678, -0.7424532175064087, 0.25831982493400574, 0.21687844395637512, -0.5932372212409973, 0.5814338326454163, 0.12535838782787323, -0.5822291374206543, 0.3581661880016327, -0.8584335446357727, 0.5454475283622742, -0.09753739088773727, 0.4278232157230377, -0.260929137468338, -1.0778717994689941, -0.12006454169750214, 0.1275581419467926, 0.28212645649909973, 0.09976409375667572, 0.0871964544057846, 0.9547292590141296, -0.3029639720916748, 0.4190148711204529, -0.5202955603599548, 0.03026268631219864, 0.2557164430618286, -0.1985953003168106, 0.38890767097473145, -0.11752455681562424, -0.1330488622188568, 0.039430584758520126, -0.041801340878009796, 0.00036440195981413126, -0.5340012311935425, 0.6809102892875671, -1.0153095722198486, -0.6334633231163025, -0.4268520176410675, -0.17049916088581085, -0.2554698586463928, 0.05725131556391716, -0.05248488113284111, 0.6437859535217285, -0.006670226342976093, 0.20267102122306824, 0.23201292753219604, -0.19003908336162567, 0.6082409620285034, 0.801790177822113, 0.0884164348244667, -0.2458546906709671, 0.7156616449356079, 0.09669343382120132, 0.2684187889099121, 0.777692973613739, -0.036206502467393875, -0.34042951464653015, -0.5419376492500305, -0.2067975550889969, -0.10516837239265442, -0.5626189112663269, -0.197805717587471, -0.7610903978347778, -0.6528520584106445, -0.8385156989097595, -0.10515976697206497, -0.40047580003738403, -0.3631438910961151, -0.0742105022072792, 0.21352225542068481, 0.05508532002568245, 0.6708385348320007, -0.06369146704673767, 0.6105595827102661, -0.6810839176177979, 0.8184686899185181, 0.45361098647117615, 0.25302907824516296, -0.12574322521686554, -0.43542712926864624, -0.11543196439743042, -0.21584205329418182, -0.32088786363601685, -0.4199106991291046, 0.2101392298936844, 0.2306986153125763, 0.5694885849952698, 0.2070372998714447, 0.13838839530944824, 0.8061404824256897, -0.6888543367385864, 0.6188293695449829, -0.10130301117897034, -1.0046021938323975, 0.47395971417427063, 0.03308828920125961, 0.2568356394767761, 0.6066866517066956, 0.1530025601387024, -0.613348662853241, -0.3911057710647583, -0.4274515211582184, -0.6639124155044556, 1.2391972541809082, 0.48164597153663635, -0.4565480649471283, 0.18202988803386688, -0.03327035531401634, -0.2706184387207031, 0.015158567577600479, -0.1517123579978943, -0.0391787588596344, -0.31083911657333374, -0.11262297630310059, -0.17576028406620026, 0.33985379338264465, 0.11112777888774872, -0.2598089277744293, 0.532806932926178, 0.04304131120443344, 0.504185140132904, 0.28411754965782166, 0.17075766623020172, -0.41992345452308655, 0.526797354221344, 0.28923237323760986, 0.04437951743602753, -0.26493269205093384, 0.2344444841146469, 0.12079327553510666, -0.43608522415161133, 0.2571493685245514, 0.206241637468338, 0.267834335565567, 0.07264111936092377, 0.49177607893943787, 0.8019313812255859, 0.16812151670455933, -0.4704008400440216, 0.719366192817688, 0.029289130121469498, 0.019380776211619377, -0.4421287775039673, 0.11179526150226593, -0.13323521614074707, 0.2139216512441635, 0.47175273299217224, 0.48908841609954834, 0.33209073543548584, -0.4088912904262543, 0.45516449213027954, 0.27862492203712463, -0.12084698677062988, -0.40291228890419006, 0.5114309191703796, 0.2832491397857666, -0.5035139322280884, 0.5986287593841553, 0.09099532663822174, -0.6603216528892517, 0.6865946054458618, 0.20184344053268433, 0.9807974696159363, -0.6946160793304443, -0.19219611585140228, -0.10632675141096115, -0.05110776424407959, -0.16266725957393646, 0.28224360942840576, -0.47048065066337585, -1.0046439170837402, -0.5431236624717712, -0.4727666974067688, -0.5133329033851624, -0.13482370972633362, -0.8574544787406921, 0.5508573055267334, -0.31878986954689026, 0.029606934636831284, 0.21190103888511658, 0.019202448427677155, -0.47465023398399353, 0.27500948309898376, 0.458605021238327, 0.7465646862983704, -0.8545200228691101, 1.2874175310134888, 0.7286592721939087, -0.06388302147388458, -1.0574226379394531, 0.32985615730285645, 0.21493084728717804, -0.555639386177063, 0.836056113243103, 0.11440936475992203, -0.39110544323921204, -0.018962932750582695, 0.22815340757369995, -0.5855945944786072, 1.2197952270507812, -0.012164420448243618, -0.599768877029419, -0.3738601803779602, 0.3078351318836212, 0.3745834529399872, -0.0803176537156105, 0.10706652700901031, 0.6796616315841675, 0.4798167645931244, 0.43499571084976196, -1.6038132905960083, -0.3197709321975708, -0.14941929280757904, 0.013916159979999065, 0.24502992630004883, -0.6687646508216858, 0.6861155033111572, 0.33200129866600037, -0.6531815528869629, -0.25180935859680176, 0.5070250630378723, 0.21283233165740967, 0.3033435344696045, 1.293245792388916, 0.44725796580314636, 0.12324099242687225, -0.022456904873251915, 0.6662324070930481, -0.09646590054035187, -0.1301501989364624, 1.1771811246871948, -0.47866562008857727, 1.1012752056121826, 0.7411792874336243, -0.4281335473060608, 0.5436257719993591, 0.028105011209845543, 0.3178896903991699, 0.6778183579444885, -0.1044299378991127, -0.46126237511634827, -0.22468625009059906, -0.05287514999508858, -0.06961575150489807, 1.0121694803237915, 0.3142741024494171, 0.059808291494846344, -0.1998942792415619, 0.1592692732810974, -0.3827458322048187, 0.04980801045894623, -0.055260319262742996, 1.097352385520935, 0.20881225168704987, -0.6594073176383972, 0.18600577116012573, 0.0003383139264769852, 0.5956568121910095, -0.6709904074668884, 0.23293159902095795, 0.09728430211544037, 0.12049756199121475, -0.3274240493774414, -0.543604850769043, 0.8852285146713257, -0.037267688661813736, -0.09820912778377533, -0.7609778046607971, 0.8388581275939941, -0.46345391869544983, -0.10306522995233536, 0.4527859389781952, 0.5712611079216003, -0.01230764389038086, -0.04859975725412369, -0.2154766172170639, 0.521260678768158, -0.22690452635288239, 0.09266629070043564, -0.10418149083852768, 0.2513456344604492, -0.1901344507932663, 0.5238300561904907, 0.5035686492919922, 0.39310362935066223, 0.03803408145904541, 0.4168417155742645, 0.9877633452415466, -0.6053603887557983, -0.8775143623352051, -0.48381805419921875, 0.46082890033721924, 0.07731528580188751, 0.2400626838207245, 0.3735140562057495, 0.5831484198570251, 0.8222118020057678, 0.1585981845855713, 0.706841230392456, -0.23303383588790894, 0.7792697548866272, -0.49240630865097046, 0.4138015806674957, -0.426163911819458, 0.60688316822052, -0.09912741929292679, -0.6240206360816956, -0.4512905776500702, 0.6957204937934875, -0.1961130052804947, -0.19620764255523682, 0.5033526420593262, 0.947680652141571, -0.39639994502067566, 0.43697890639305115, 0.1459442675113678, -0.223894864320755, 0.8114359378814697, 0.3968714773654938, 1.0011632442474365, -0.6660640835762024, 0.5189507603645325, -0.1116873174905777, -0.06970866024494171, -0.038905370980501175, -0.3259243965148926, -0.5135538578033447, -0.7474440336227417, -0.4517536461353302, 0.24069775640964508, 0.06941469758749008, 1.1550393104553223, 0.8040829300880432, -1.2094311714172363, -0.5845572352409363, -0.20188653469085693, -0.09377513825893402, -0.3381311297416687, -0.26297181844711304, 0.27443450689315796, -0.18499808013439178, -0.5178471803665161, 1.055877923965454, 0.39436277747154236, 0.1475897878408432, -0.0817476287484169, -0.19735336303710938, -0.05081500858068466, -0.023238807916641235, 0.2276715785264969, 0.20145881175994873, -0.7843759655952454, -0.78857421875, -0.35820508003234863, 0.050501227378845215, 0.17025026679039001, 1.3384147882461548, -0.8986722826957703, 0.30678316950798035, 0.6823269128799438, 0.45397937297821045, 0.16405129432678223, 0.2386251538991928, 0.6628766059875488, -0.9707022905349731, 0.2930508255958557, 0.23364491760730743, 0.18892602622509003, 0.23696133494377136, -0.1623057723045349, 0.16515205800533295, 0.27271679043769836, -0.7484821677207947, -0.6489356160163879, -0.024414824321866035, -1.35308039188385, -0.10799170285463333, 0.7408914566040039, 0.034034132957458496, 0.29091542959213257, -0.6970398426055908, -0.048810265958309174, 0.43158137798309326, -0.5308031439781189, 0.3924371004104614, 0.2454846352338791, -0.3599233627319336, -0.07905365526676178, -0.16853775084018707, 0.41048845648765564, 0.06365673989057541, -0.7128249406814575, 0.11630953848361969, 0.1635865718126297, -0.11695199459791183, 0.45492878556251526, 0.8682379126548767, -0.13332787156105042, 0.06168218329548836, -0.08625032007694244, -0.1808088719844818, 0.14716821908950806, -0.7534667253494263, -0.42632389068603516, -0.00462577398866415, -0.14278925955295563, -0.4059668183326721 ]
http://arxiv.org/abs/2406.13840v1
http://arxiv.org/pdf/2406.13840v1
StackRAG Agent: Improving Developer Answers with Retrieval-Augmented Generation
2024-06-19T21:07:35
2024-06-19T21:07:35
Davit Abrahamyan, Fatemeh H. Fard
cs.AI
cs.AI, cs.CL
Developers spend much time finding information that is relevant to their questions. Stack Overflow has been the leading resource, and with the advent of Large Language Models (LLMs), generative models such as ChatGPT are used frequently. However, there is a catch in using each one separately. Searching for answers is time-consuming and tedious, as shown by the many tools developed by researchers to address this issue. On the other, using LLMs is not reliable, as they might produce irrelevant or unreliable answers (i.e., hallucination). In this work, we present StackRAG, a retrieval-augmented Multiagent generation tool based on LLMs that combines the two worlds: aggregating the knowledge from SO to enhance the reliability of the generated answers. Initial evaluations show that the generated answers are correct, accurate, relevant, and useful.
[ -0.5597207546234131, -0.7194325923919678, 0.2911739945411682, 0.33198660612106323, -0.05459533631801605, 0.7189075946807861, -0.027738161385059357, -0.5364992022514343, 0.557266891002655, 0.48313337564468384, -0.2755877375602722, -0.3125493824481964, -0.3990289866924286, 0.009403112344443798, -0.4147154688835144, 1.3500521183013916, 0.25201237201690674, -0.3917480707168579, -0.32785123586654663, 0.019087351858615875, -0.5101402401924133, -0.4717997908592224, -0.7833350896835327, -0.16401468217372894, 0.4690232574939728, 0.4694540500640869, 0.78717041015625, 0.3361527621746063, 0.4122299253940582, 0.33462926745414734, -0.10000531375408173, 0.34547263383865356, -0.6442747116088867, 0.7120058536529541, 0.046630859375, -0.2018934190273285, -0.5837361216545105, -0.3983120322227478, 0.11184436827898026, 0.29010671377182007, -0.5330515503883362, 0.41505688428878784, -0.1343047022819519, 0.2253028154373169, -0.8117730021476746, -0.12880071997642517, -0.7573617100715637, -0.10129470378160477, -0.08732695132493973, -0.5798072218894958, -0.31999287009239197, -0.47630906105041504, -0.1764334887266159, -0.6146427989006042, 0.34082138538360596, -0.0870722159743309, 0.46611183881759644, 0.5106523036956787, -0.21999327838420868, -0.7080687880516052, -0.7392852306365967, 0.6558787226676941, -0.47101372480392456, 0.08556310832500458, 0.16869886219501495, 0.3817703127861023, -0.32699793577194214, -0.6984499096870422, -0.6371593475341797, -0.30476534366607666, 0.008207458071410656, 0.36500152945518494, -0.1942422240972519, -0.24963043630123138, 0.1539984941482544, 0.09960214793682098, -0.7121552228927612, 0.16513632237911224, -0.6320159435272217, -0.28366243839263916, 0.7408853769302368, 0.23040078580379486, 0.5168703198432922, -0.14628776907920837, -0.4460279047489166, -0.015265649184584618, -0.8013404011726379, -0.139560729265213, 0.411695271730423, 0.08143308758735657, 0.3500071167945862, 0.7001413106918335, -0.056038714945316315, 0.7487340569496155, 0.12768450379371643, -0.12603285908699036, 0.2598015069961548, -0.25402161478996277, 0.2834474742412567, 0.1334659904241562, 0.6200480461120605, 0.23217883706092834, -0.032449301332235336, -0.45791926980018616, -0.14572912454605103, 0.15234237909317017, 0.6204016208648682, -0.9815410375595093, -0.19013170897960663, 0.7894672751426697, -0.08407778292894363, -0.4851495921611786, -0.017684245482087135, -0.9009896516799927, -0.5406638979911804, 0.32277360558509827, 0.05483260750770569, -0.3216182291507721, -0.6614928841590881, -0.09675697982311249, -0.4317321479320526, 0.31421786546707153, 0.21515977382659912, -0.6481675505638123, 0.11211583763360977, 0.629061222076416, 0.7245922088623047, -0.1568233072757721, -0.4397483170032501, -1.0840657949447632, 0.17139717936515808, -0.3641694486141205, 1.184929370880127, -0.5727829337120056, -0.6809574961662292, -0.032874610275030136, -0.5234240889549255, 0.27275529503822327, -0.7345983982086182, 0.41757720708847046, -0.9344618320465088, 0.38003870844841003, 0.04804552346467972, -0.36164870858192444, 0.12801796197891235, 0.49182331562042236, -0.5392929911613464, 1.2987240552902222, -0.03099795989692211, -0.59562748670578, 0.2257259488105774, -0.6347163319587708, -0.2642471194267273, 0.5266323685646057, -0.14463242888450623, -0.30474570393562317, -0.022029023617506027, 0.24809539318084717, 0.37454432249069214, -0.20233194530010223, 0.1265154480934143, -0.14650416374206543, -0.32102498412132263, 0.2075158953666687, -0.07162414491176605, 0.5843583941459656, 0.3025449812412262, -0.16080547869205475, 0.023976100608706474, -0.6839746832847595, 0.40137621760368347, -0.03011435829102993, -0.5104696154594421, -0.07283921539783478, 0.053245436400175095, -0.1018047034740448, 0.4487873911857605, 0.3408963680267334, -0.4970846176147461, 0.1266709566116333, -0.13678033649921417, -0.0226515494287014, 0.570315957069397, 0.07173564285039902, 0.24194300174713135, -0.41114795207977295, 1.2066665887832642, -0.051177430897951126, -0.3224569261074066, -0.2111556977033615, -0.5080737471580505, -0.36462733149528503, -0.06861212849617004, 0.03882142901420593, 0.6307098865509033, -1.130681037902832, 0.30841776728630066, -0.42185646295547485, -0.8748087286949158, -0.5121040940284729, 0.35277828574180603, 0.5250768661499023, 0.3605365753173828, 0.3253714442253113, -0.22278645634651184, -0.5367027521133423, -0.3578941524028778, -0.20444564521312714, -0.377157598733902, -0.12415537238121033, 0.3030041754245758, 0.3555770814418793, -0.4038969576358795, 0.8969923853874207, -0.6785123944282532, 0.14096121490001678, -0.27966704964637756, 0.21480867266654968, 0.07175755500793457, 0.05031701922416687, 0.641360878944397, -0.826745331287384, -0.43459251523017883, 0.08663483709096909, -0.740060031414032, -0.3852675259113312, 0.2512432634830475, -0.08211833238601685, 0.038829755038022995, 0.4734185039997101, -0.8240547180175781, 0.03859245404601097, 0.7867977023124695, -0.22307492792606354, 0.8828244805335999, -0.06339756399393082, 0.024328449741005898, -1.4366880655288696, 0.20435425639152527, -0.2869293987751007, -0.1586136370897293, -0.5527158975601196, 0.3383312523365021, -0.24731504917144775, -0.41139161586761475, -0.4750024676322937, 0.8223576545715332, -0.4937840700149536, -0.19275282323360443, -0.47136226296424866, 0.8036006689071655, 0.052589356899261475, 0.18980388343334198, -0.25642555952072144, 1.3579055070877075, 0.36582738161087036, -0.852990984916687, 0.7347062230110168, 0.37216177582740784, -0.016596125438809395, 0.7653607130050659, -0.820742130279541, 0.33294257521629333, -0.2863422930240631, 0.33800050616264343, -0.9145766496658325, -0.48585402965545654, -0.038812391459941864, -0.7235451936721802, -0.10165313631296158, -0.2154105007648468, -0.5788640379905701, -0.45131415128707886, -0.29494720697402954, 0.3137451410293579, 0.5446086525917053, -0.7626967430114746, 0.4601868689060211, 0.6737603545188904, -0.4702361226081848, -0.9495208859443665, -0.4110243618488312, 0.03413538262248039, -0.23817333579063416, -0.8152193427085876, 0.3404853045940399, -0.2003425508737564, -0.33262982964515686, 0.03737381845712662, -0.05625583976507187, -0.16217251121997833, -0.04326190426945686, 0.1061088964343071, -0.040942952036857605, -0.1620156317949295, 0.6186165809631348, -0.15726208686828613, -0.18100593984127045, -0.058975700289011, 0.013559186831116676, 0.7021028995513916, -0.09906105697154999, -0.3106818199157715, 0.4251500368118286, 0.37707123160362244, 0.5921269655227661, -0.5646344423294067, 0.5839282870292664, 0.7970625758171082, -0.0461026132106781, -0.3727060556411743, -0.671097993850708, -0.1652553826570511, -0.45259490609169006, 0.49607688188552856, -0.37312859296798706, -0.954998254776001, 0.8234318494796753, -0.2027488499879837, 0.15759672224521637, 0.4073817729949951, 0.6361168622970581, 0.05952901020646095, 1.0271039009094238, 0.41120806336402893, 0.1089596375823021, 0.33266469836235046, -0.09018560498952866, 0.12797793745994568, -0.7922705411911011, -0.3012342154979706, -0.7206623554229736, -0.1075596958398819, -0.47579196095466614, -0.2772170901298523, 0.5615750551223755, 0.2253260314464569, 0.0672297477722168, 0.2955482304096222, -0.8518885374069214, 0.5897567868232727, 0.3353123962879181, -0.091056227684021, 0.29885169863700867, -0.11239251494407654, 0.21499884128570557, 0.33287209272384644, -0.8229336738586426, -0.5069295167922974, 0.8575116991996765, -0.1233249381184578, 0.8480691313743591, 0.5882680416107178, 0.8486523628234863, 0.20105962455272675, 0.3587048649787903, -0.6421298384666443, 0.6632083654403687, 0.19489246606826782, -0.6469617486000061, -0.20086105167865753, -0.528852105140686, -1.3207781314849854, 0.4858872592449188, 0.0005908012390136719, -0.5578307509422302, -0.07903104275465012, 0.16081267595291138, -0.4926937520503998, 0.06173800304532051, -0.7659322023391724, 0.7056464552879333, -0.3365187644958496, -0.3456352651119232, -0.2399645298719406, -0.39765435457229614, 0.45541146397590637, -0.12329738587141037, -0.10192962735891342, -0.034492239356040955, -0.15360496938228607, 0.5444689989089966, -0.7337039113044739, 0.6129723787307739, -0.12362207472324371, -0.3167523741722107, 0.6837071180343628, 0.13980399072170258, 0.6683033108711243, 0.10735159367322922, -0.3345355987548828, -0.4229680895805359, -0.06422083079814911, -0.5214196443557739, -0.7527947425842285, 0.8336535692214966, -0.6770702004432678, -0.5821706056594849, -0.30549371242523193, -0.43247735500335693, -0.02637234516441822, 0.2364429235458374, 0.3012315034866333, 0.3762129843235016, -0.17285580933094025, 0.142361581325531, 0.45000964403152466, -0.32455992698669434, 0.33708369731903076, 0.43179234862327576, -0.4782972037792206, -0.2944962978363037, 0.7290138006210327, 0.025904735550284386, 0.07841216772794724, 0.15500639379024506, -0.01997799426317215, -0.4111231565475464, -0.2011367231607437, -0.6193625330924988, -0.13173988461494446, -0.6074187755584717, -0.5068486332893372, -0.7459957003593445, -0.34436190128326416, -0.21682094037532806, -0.1432204395532608, -0.26600441336631775, -0.4129578471183777, -0.01534359622746706, -0.2538021504878998, 0.7247877717018127, 0.6241549849510193, -0.02579684369266033, 0.2841983735561371, -0.9472756385803223, 0.3030180335044861, 0.5145670771598816, 0.18626351654529572, -0.03315048664808273, -0.23505614697933197, -0.2270476222038269, 0.21025139093399048, -0.5459405183792114, -1.0694364309310913, 0.31810829043388367, 0.07208603620529175, 0.5960773825645447, -0.10189951211214066, 0.04385559633374214, 0.8419682383537292, -0.28982365131378174, 0.8505269289016724, -0.05655309185385704, -0.6518208980560303, 0.6486489772796631, -0.3980131447315216, 0.34683191776275635, 0.34562110900878906, 0.11999280005693436, -0.48329946398735046, -0.6353921890258789, -0.8320958018302917, -0.868111789226532, 0.36894240975379944, 0.120024673640728, 0.4185565710067749, -0.28422144055366516, 0.09863997250795364, 0.03858068585395813, 0.42427533864974976, -0.36217719316482544, 0.05500928685069084, -0.14555653929710388, 0.11477934569120407, 0.303115576505661, -0.33927181363105774, 0.06465120613574982, 0.20338889956474304, 0.7393509745597839, -0.09192541986703873, 0.08143292367458344, -0.09568935632705688, -0.2508833408355713, 0.008838223293423653, 0.4399864375591278, 0.6831837892532349, 0.9129350781440735, -0.03891338035464287, 0.3359163999557495, 0.2522643208503723, -0.5321685075759888, 0.21833907067775726, 0.1449047178030014, 0.051813624799251556, 0.22431999444961548, 0.12328324466943741, 0.4455089867115021, -0.10819647461175919, -0.9369028806686401, 0.415926456451416, 0.15788060426712036, 0.15245196223258972, -0.5599120259284973, 0.30420786142349243, 0.08415751159191132, 0.28467780351638794, 0.5494256615638733, 0.16002656519412994, -0.009453712031245232, -0.3736107051372528, 0.36328229308128357, 0.36351028084754944, -0.16037146747112274, -0.16440069675445557, 0.5962429642677307, 0.4449717402458191, -0.5384941697120667, 0.7452102303504944, -0.6308308243751526, -0.5076265931129456, 0.7197237610816956, 0.6039964556694031, 0.8450119495391846, -0.4069647789001465, 0.5661678910255432, 0.23465865850448608, 0.021425966173410416, -0.02101227641105652, 0.37402084469795227, 0.08460478484630585, -0.8038850426673889, -0.8476630449295044, -0.3799627125263214, -0.5529708862304688, -0.12013060599565506, -0.3976982533931732, 0.21477918326854706, -0.07262745499610901, -0.3215232491493225, -0.15206915140151978, -0.07172130048274994, -0.5740131735801697, -0.060468025505542755, -0.45946910977363586, 0.5322176218032837, -0.5079169273376465, 0.47295907139778137, 0.8883185982704163, -0.7535580992698669, -0.710365891456604, 0.0236293226480484, -0.27226918935775757, -0.7342601418495178, 0.5629854202270508, -0.0796217992901802, -0.45743539929389954, 0.24304379522800446, -0.6371103525161743, -0.6473776698112488, 1.1276267766952515, 0.3641272783279419, -0.016691621392965317, 0.18258331716060638, -0.2463080734014511, 0.9598698019981384, -0.15329067409038544, 0.5982450842857361, -0.07955096662044525, 0.1969088613986969, 0.3025999367237091, -0.9031892418861389, -0.1311304122209549, -0.6040360927581787, -0.008625686168670654, 0.43195825815200806, -0.6118649840354919, 0.6684429049491882, -0.42218872904777527, -0.27004489302635193, -0.03703976050019264, 0.3092740476131439, 0.8863053917884827, 0.14068560302257538, 0.23845809698104858, 0.5593114495277405, 0.9015953540802002, 0.1302579641342163, 1.177720069885254, -0.6510037183761597, 0.2159862369298935, 1.078165054321289, -0.3404509127140045, 1.0064212083816528, 0.26910439133644104, 0.10730720311403275, 0.7461390495300293, 0.32332441210746765, -0.03811607509851456, 0.17085972428321838, 0.24125026166439056, -0.41581735014915466, -0.14720018208026886, -0.3275761902332306, -0.46648287773132324, 0.4927457571029663, 0.2930382490158081, -0.07495266199111938, -0.39588114619255066, -0.17676210403442383, 0.25226160883903503, 0.11111192405223846, -0.12087593972682953, 0.8914947509765625, -0.01480359211564064, -0.9863519072532654, 0.602910041809082, -0.12281636893749237, 0.568806529045105, -0.3291015326976776, -0.10287423431873322, -0.40965691208839417, 0.06264624744653702, -0.39602410793304443, -0.9064690470695496, 0.4197022616863251, 0.3384802043437958, -0.1835663616657257, -0.19556473195552826, 0.9584108591079712, -0.4923202693462372, -0.31466782093048096, 0.21127350628376007, 0.9591909646987915, 0.41958317160606384, -0.020811529830098152, -0.48363086581230164, -0.06464380025863647, -0.29852399230003357, -0.07135443389415741, -0.04978169500827789, 0.470167338848114, 0.08438394218683243, 0.9603036046028137, 0.6352391839027405, 0.25451913475990295, 0.32775893807411194, -0.21645201742649078, 0.8854512572288513, -0.3351425528526306, -0.4426194727420807, -0.7634946703910828, 0.7307027578353882, -0.38077592849731445, -0.4033941328525543, 0.8847643733024597, 0.673231303691864, 0.6032230854034424, -0.15027253329753876, 0.918544352054596, -0.2695401906967163, 0.6464603543281555, -0.3129308223724365, 0.5456189513206482, -0.38720566034317017, 0.5687251687049866, -0.19864316284656525, -1.2614256143569946, -0.21652577817440033, 0.34926536679267883, -0.2389775961637497, 0.35135847330093384, 0.41254565119743347, 1.0509763956069946, -0.21646277606487274, -0.3294942378997803, 0.20841370522975922, 0.07293625921010971, 0.5064147710800171, 0.4645729660987854, 1.05868399143219, -0.3366944193840027, 1.1080973148345947, 0.22291159629821777, 0.01070033572614193, -0.267564594745636, -0.6381183862686157, -0.7112021446228027, -0.37375855445861816, -0.3191065788269043, -0.5342938303947449, 0.21929194033145905, 0.6152089834213257, 0.6125843524932861, -0.44362515211105347, -0.20846940577030182, -0.05347607284784317, 0.23982501029968262, -0.09201519191265106, -0.22513943910598755, 0.11968447268009186, -0.6013510823249817, -0.45524096488952637, 0.3115818500518799, 0.2170126885175705, -0.2099507451057434, -0.4875434339046478, -0.1750408411026001, 0.1532352715730667, -0.16603198647499084, 0.7140829563140869, 0.45177698135375977, -0.5052779316902161, -0.2719515562057495, 0.1280580461025238, -0.23588509857654572, 0.07353077083826065, 0.5572742223739624, -0.9671079516410828, 0.5304520726203918, 0.7596860527992249, 0.8007442355155945, 0.4236903488636017, 0.2971392869949341, 0.6489202976226807, -1.1974176168441772, 0.0946354791522026, 0.4111620783805847, -0.028363902121782303, 0.36711305379867554, -0.27628350257873535, 0.7610677480697632, -0.2641550600528717, -0.8663201332092285, -0.7632613778114319, 0.4229336082935333, -0.513311505317688, -0.02748563513159752, 1.2382382154464722, 0.17744016647338867, 0.13011714816093445, -0.1966424137353897, -0.36387988924980164, 0.02237657643854618, -0.5096513032913208, 1.102818489074707, 0.5667458772659302, -0.18123595416545868, -0.43005385994911194, -0.5032575726509094, 0.486701637506485, 0.24325378239154816, -1.2412909269332886, -0.16576506197452545, 0.5640811324119568, 0.07027564197778702, 0.7891414165496826, 0.8344906568527222, 0.08876653760671616, 0.3282625675201416, 0.24481818079948425, 0.30735301971435547, 0.09253660589456558, -0.16699844598770142, 0.19201232492923737, 0.4069361686706543, 0.29970869421958923, -0.22057737410068512 ]
http://arxiv.org/abs/2406.13828v1
http://arxiv.org/pdf/2406.13828v1
Neuro-symbolic Training for Reasoning over Spatial Language
2024-06-19T20:47:36
2024-06-19T20:47:36
Tanawan Premsri, Parisa Kordjamshidi
cs.CL
cs.CL
Recent research shows that more data and larger models can provide more accurate solutions to natural language problems requiring reasoning. However, models can easily fail to provide solutions in unobserved complex input compositions due to not achieving the level of abstraction required for generalizability. To alleviate this issue, we propose training the language models with neuro-symbolic techniques that can exploit the logical rules of reasoning as constraints and provide additional supervision sources to the model. Training models to adhere to the regulations of reasoning pushes them to make more effective abstractions needed for generalizability and transfer learning. We focus on a challenging problem of spatial reasoning over text. Our results on various benchmarks using multiple language models confirm our hypothesis of effective domain transfer based on neuro-symbolic training.
[ -0.10447953641414642, -0.8370947241783142, 1.1318223476409912, 0.24087946116924286, 0.08899136632680893, -0.1607515811920166, -0.21889060735702515, -0.696613073348999, -0.1826619952917099, 0.4535103142261505, -0.5405146479606628, -0.368009477853775, -0.9372130036354065, 0.09446787089109421, -0.42185425758361816, 0.6478878855705261, -0.3540509045124054, 0.17339272797107697, -0.15327352285385132, -0.20028546452522278, -0.8228847980499268, -0.9160758256912231, -0.7063612341880798, -0.7068617939949036, 0.1789468377828598, 0.05965961143374443, 0.6878177523612976, 0.4524190127849579, 0.5624104142189026, 0.34324514865875244, 0.07392140477895737, 0.33546435832977295, 0.026363153010606766, 0.00588671350851655, -0.6105299592018127, -0.437156081199646, -0.15987345576286316, -0.12251013517379761, 0.4010936915874481, 1.0527753829956055, -0.10383304953575134, -0.3550567030906677, -0.435513973236084, 0.46983519196510315, -0.5232104063034058, 0.3122178614139557, -0.660484790802002, 0.22212666273117065, 0.43888533115386963, -0.20625558495521545, -0.47956418991088867, -0.5044142603874207, 0.4239319860935211, -1.0959789752960205, -0.02567676454782486, -0.0005769817507825792, 1.025984764099121, 0.22808054089546204, -0.536123514175415, -0.2272166907787323, -1.0087146759033203, 0.6423960328102112, -0.5041869878768921, 0.30555087327957153, 0.7719997763633728, 0.5198727250099182, -0.024359678849577904, -0.4394861161708832, -0.5085617899894714, -0.497226357460022, -0.2865220308303833, -0.22313344478607178, -0.34437257051467896, -0.03176305443048477, 0.5354663133621216, -0.54362553358078, -0.336761474609375, -0.2813698947429657, -0.31143736839294434, -0.07547009736299515, 0.6619751453399658, 0.24495261907577515, 0.68731689453125, 0.14612725377082825, -0.35193580389022827, -0.05466979742050171, -0.542114794254303, -0.27876758575439453, 0.1326276659965515, 0.3131747245788574, -0.0828833132982254, 0.44976043701171875, -0.17292571067810059, 0.8132946491241455, -0.04080481454730034, 0.2657333314418793, 0.02597244828939438, -0.44851744174957275, 0.12366332113742828, 0.0028180587105453014, 0.47537821531295776, 0.12551507353782654, 0.8835217356681824, -0.37912124395370483, -0.33093222975730896, 0.2693982720375061, 0.41874873638153076, -0.4865163266658783, -0.4245090186595917, -0.1422087848186493, -0.08068472892045975, 0.2367752194404602, -0.0542943999171257, -0.33464470505714417, -0.35416653752326965, -0.998114824295044, 0.4467419683933258, -0.795601487159729, -0.23823842406272888, 0.7156729698181152, -0.2994367778301239, 0.05637817829847336, 0.6621012687683105, -1.3655983209609985, 0.527080774307251, 0.6367459297180176, 0.7734194993972778, -0.06545546650886536, -0.5306010246276855, -0.1102709248661995, 0.5643670558929443, -0.28429484367370605, 1.1641664505004883, -0.6986250877380371, 0.007556083612143993, -0.03641758859157562, -0.043828029185533524, -0.4518570303916931, -0.3370083272457123, 0.36843258142471313, -0.16436415910720825, 0.011609593406319618, -0.3031955659389496, -0.401473730802536, -0.34630072116851807, 0.3813479244709015, -0.4785393476486206, 0.8632715344429016, 0.345257967710495, -0.40533095598220825, 0.29230743646621704, -0.6857129335403442, -0.7545512318611145, -0.23409900069236755, -0.18488545715808868, 0.038380179554224014, 0.13077127933502197, 0.46939995884895325, 0.2093009501695633, -0.16007377207279205, 0.5200144648551941, -0.391891211271286, -0.289540559053421, 0.1829235851764679, -0.025769837200641632, 0.793246328830719, 0.0631432980298996, -0.41877707839012146, 0.13299104571342468, -0.5511844158172607, 0.08747363835573196, 0.27060607075691223, -0.03253927081823349, -0.6818765997886658, 0.04060736298561096, 0.005705181509256363, 0.23561082780361176, 0.007829303853213787, -0.545581042766571, 0.21672874689102173, -0.5385900735855103, 0.6257381439208984, 0.49911755323410034, -0.1373218297958374, 1.0658878087997437, -0.08436345309019089, 0.35757723450660706, -0.052399758249521255, -0.050979748368263245, 0.4365013539791107, -0.3127420246601105, -0.5962451100349426, -0.02769111655652523, -0.009368008933961391, 0.7917526364326477, -0.7860878705978394, 0.4867786765098572, -0.3128054141998291, -0.41011640429496765, -0.05883847549557686, -0.11617045104503632, 0.22230134904384613, 0.515293300151825, 0.32316648960113525, 0.008095623925328255, -0.5942772030830383, -0.7236555218696594, -0.26716476678848267, 0.06864338368177414, 0.06575481593608856, 0.2231748104095459, 0.8461262583732605, -0.1331925243139267, 0.7394542098045349, -0.48771044611930847, -0.26377779245376587, -0.38963040709495544, 0.1879424750804901, 0.10374926030635834, 0.5206764936447144, 0.6017025709152222, -0.5016862154006958, -0.306214302778244, 0.4321777820587158, -1.074882984161377, -0.1587560474872589, -0.38922855257987976, -0.4079573452472687, 0.25341343879699707, 0.6705491542816162, -1.0404173135757446, 0.5089654922485352, 0.2456754744052887, -0.7113234996795654, 0.4881584346294403, -0.425564169883728, -0.08620533347129822, -0.628226637840271, -0.003313713939860463, 0.14606252312660217, -0.15384827554225922, -0.6816688776016235, -0.008504676632583141, -0.1753687858581543, -0.2024572640657425, -0.2600110173225403, 0.7961530685424805, -0.5978930592536926, 0.04156947880983353, -0.4230131506919861, 0.2500893175601959, 0.004138230346143246, 0.6150624752044678, 0.5613833665847778, 0.39979928731918335, 0.7729074954986572, -0.6119261980056763, 0.40327438712120056, 0.36415746808052063, -0.1066519245505333, 0.7407088279724121, -0.8449741005897522, 0.07840009778738022, -0.197295680642128, 0.2985820770263672, -0.7239840626716614, 0.03612787276506424, 0.3853481709957123, -0.2213207334280014, 0.10583235323429108, -0.0003343984135426581, -0.5078795552253723, -0.16294080018997192, 0.3481321334838867, 0.38207370042800903, 0.18797731399536133, -0.49964070320129395, 0.8629822731018066, 0.3046526610851288, 0.07570526003837585, -0.2263677567243576, -0.809142529964447, -0.04752064496278763, -0.1154773011803627, -0.5699537992477417, 0.09075582772493362, 0.2439376264810562, -0.23952578008174896, 0.20260566473007202, -0.23678097128868103, -0.5823603272438049, 0.14844973385334015, 0.09613106399774551, 0.1296488344669342, -0.046052925288677216, 0.15530332922935486, 0.2026461511850357, -0.39769837260246277, 0.5808686017990112, -0.45803168416023254, 0.3466939628124237, -0.12233330309391022, -0.5893718600273132, -0.5307794809341431, 0.5510890483856201, 0.303484708070755, -0.16847962141036987, 0.6616420745849609, 0.24402664601802826, -0.617843747138977, -0.4647858142852783, -0.018776284530758858, -0.6086869239807129, -0.4124242067337036, 0.5592281222343445, -0.42803099751472473, -0.7253543734550476, 0.23393093049526215, -0.22828342020511627, -0.23738493025302887, 0.18367671966552734, 0.22900143265724182, -0.1383962482213974, 1.2636219263076782, 0.5632627606391907, 0.17599308490753174, 0.31273481249809265, -0.0395335890352726, 0.3972117006778717, -0.2828187644481659, -0.41069507598876953, -0.6623073220252991, -0.48386621475219727, -0.021123822778463364, -0.2478138953447342, -0.06378678977489471, -0.2474948614835739, -0.5658035278320312, 0.6909693479537964, -0.6604030728340149, 0.6879909038543701, 0.5205855965614319, 0.16642723977565765, 0.19605205953121185, 0.32415035367012024, -0.07336969673633575, -0.15943846106529236, -0.695006787776947, -0.3608767092227936, 0.5853362083435059, 0.22672587633132935, 0.8284932971000671, 0.0975583866238594, 0.2501677870750427, -0.12304488569498062, 0.14171433448791504, -0.6099771857261658, 0.7013012170791626, -0.09156589210033417, -0.5547009706497192, -0.33457818627357483, -0.46921128034591675, -0.8669688105583191, 0.30735093355178833, -0.2586912512779236, -0.7905119061470032, 0.2554716169834137, -0.1427811235189438, -0.1644231677055359, 0.4083666205406189, -0.7594838738441467, 0.7086619138717651, -0.38187119364738464, 0.02460581809282303, -0.14446090161800385, -0.6949149966239929, 0.21636278927326202, 0.07083400338888168, -0.047829631716012955, -0.20998919010162354, 0.11622508615255356, 0.32730168104171753, -0.36527860164642334, 0.920627236366272, -0.22328174114227295, -0.11445356905460358, 0.14204752445220947, 0.2658805251121521, 0.3900323808193207, -0.1841355860233307, 0.2572392523288727, 0.33173897862434387, -0.04905393347144127, -0.32541126012802124, -1.0258890390396118, 0.39654555916786194, -0.9341062903404236, -0.4037136137485504, -0.6422511339187622, -1.0299867391586304, -0.46468880772590637, 0.14879481494426727, 0.16987557709217072, 0.12801583111286163, 0.18156982958316803, -0.2563796937465668, 0.7571079730987549, 0.059494923800230026, 0.1670493334531784, 0.26797720789909363, -0.10122126340866089, -0.22004622220993042, 0.7220305800437927, -0.07321900129318237, 0.17791981995105743, 0.4148869514465332, 0.0666910707950592, -0.467437744140625, -0.5462273359298706, -0.17670105397701263, 0.3206424415111542, -0.7558591961860657, -0.01981550268828869, -0.6372029781341553, -0.49158263206481934, -0.2522149682044983, -0.3571814298629761, -0.14128422737121582, -0.6675499081611633, -0.14127741754055023, -0.1541282683610916, 0.30757126212120056, 0.7933902144432068, -0.010297998785972595, 0.3687361180782318, -0.7762380242347717, 0.32857540249824524, 0.2299232929944992, 0.15063583850860596, 0.006331039126962423, -0.6817981004714966, 0.008741000667214394, 0.12165085971355438, -0.16762743890285492, -0.9798719882965088, 0.4025869071483612, 0.09578637033700943, 0.6920528411865234, 0.05580606684088707, -0.3955919146537781, 0.5557421445846558, -0.654457688331604, 0.23064471781253815, 0.3090956211090088, -0.9932656288146973, 0.8312002420425415, -0.502159833908081, 0.40730759501457214, 0.4558531939983368, 0.575985848903656, -0.4120953679084778, -0.31911519169807434, -0.42701226472854614, -0.5701583623886108, 0.6421021223068237, 0.048571016639471054, 0.25418609380722046, -0.07667476683855057, 0.4577350616455078, -0.09872155636548996, -0.05967555195093155, -0.7429361343383789, 0.028094016015529633, -0.06286463141441345, -0.10789477080106735, 0.3466492295265198, 0.05748291313648224, -0.19318929314613342, -0.8514487743377686, 0.508820116519928, -0.23099775612354279, 0.3640322685241699, 0.24528157711029053, -0.18572227656841278, 0.1451674997806549, 0.03638020530343056, 0.7555043697357178, 0.7987805604934692, 0.15814420580863953, 0.25422582030296326, 0.1677456796169281, -0.37012800574302673, 0.3795894682407379, 0.05483090132474899, -0.23425543308258057, 0.07166711241006851, 0.32490843534469604, 0.8975456357002258, 0.3050497770309448, -0.6627822518348694, 0.42571982741355896, 0.08068565279245377, -0.7989022731781006, -0.23216551542282104, -0.057487569749355316, 0.17949001491069794, 0.13019531965255737, -0.0953793153166771, 0.38681739568710327, -0.04125501587986946, -0.2930701673030853, 0.1553594022989273, 0.3352951109409332, -0.3854868412017822, -0.5016552209854126, 0.680249035358429, 0.03425027057528496, -0.08325429260730743, 1.1395790576934814, 0.014087021350860596, -0.5099034905433655, 0.7843190431594849, 0.9920161962509155, 0.8100151419639587, 0.06843811273574829, 0.3196285367012024, 0.6050218343734741, 0.6080178022384644, -0.3070169985294342, 0.3986358046531677, 0.19913753867149353, -0.9209689497947693, -0.6656852960586548, -0.2009594738483429, -0.45803412795066833, -0.2672363817691803, -0.25048866868019104, 0.0225144624710083, -0.7902486324310303, -0.16333772242069244, -0.11880066245794296, -0.5006370544433594, -0.32296979427337646, 0.03571635112166405, 0.20668427646160126, 0.9776726365089417, -1.1169096231460571, 0.7897812724113464, 1.0630892515182495, -0.46401363611221313, -0.9429213404655457, -0.5850852131843567, -0.27215081453323364, -0.5772806406021118, 1.1461782455444336, 0.08578165620565414, -0.20354637503623962, -0.35435688495635986, -0.8435024619102478, -0.738304615020752, 0.5663286447525024, 0.9177877306938171, -0.30452144145965576, -0.1769666075706482, 0.3523125648498535, 0.7821987867355347, -0.35255253314971924, 0.07698927819728851, 0.5880411267280579, 0.7286249995231628, 0.2045460045337677, -0.7789701223373413, 0.24854369461536407, -0.25749635696411133, -0.1136215403676033, 0.33416295051574707, -0.097992442548275, 0.8257075548171997, -0.34173405170440674, -0.21723970770835876, -0.010369444265961647, 0.7390968203544617, 0.3839278817176819, 0.36052775382995605, 0.33066925406455994, 0.8708325028419495, 0.7936606407165527, -0.36231207847595215, 1.1577045917510986, -0.01886063627898693, 0.22390522062778473, 1.234778642654419, -0.4241960644721985, 0.7795410752296448, 0.5681939125061035, 0.04776949808001518, 0.7379124760627747, 0.19295494258403778, -0.09279102832078934, 0.5210902690887451, 0.3005463480949402, -0.17837324738502502, -0.4593280255794525, -0.257137268781662, -0.1658782660961151, 0.4265660345554352, 0.3464096486568451, -0.047134529799222946, -0.6022442579269409, -0.043008219450712204, -0.05277780443429947, 0.6825809478759766, -0.1933913677930832, 0.4806160628795624, 0.25463172793388367, -0.719007134437561, 0.3989750146865845, -0.11404086649417877, 0.35950809717178345, -0.6975712776184082, -0.3656328320503235, -0.1778447926044464, 0.22164411842823029, -0.18847215175628662, -0.7205193638801575, 0.7592988014221191, -0.3634391129016876, -0.15849891304969788, -0.5802593231201172, 0.9592081308364868, -0.41030949354171753, -0.2836417555809021, 0.28057965636253357, 0.5658609867095947, 0.14818957448005676, -0.33611851930618286, -0.674721360206604, -0.3260281980037689, -0.2789052724838257, 0.24092769622802734, 0.35267508029937744, 0.8156988024711609, -0.3867966830730438, 0.8537668585777283, 0.6522756218910217, 0.31743356585502625, 0.07739583402872086, 0.16075775027275085, 0.6324823498725891, -0.7861018180847168, -0.5345357656478882, -0.8787466287612915, 0.0752117708325386, -0.08073625713586807, -0.3431911766529083, 0.675014853477478, 0.16580833494663239, 0.7345994710922241, -0.3628199100494385, 0.6135231256484985, 0.05692967772483826, -0.07556045800447464, -0.4984970986843109, 0.7686178088188171, -0.27149516344070435, -0.000366781372576952, -0.008622744120657444, -0.934406578540802, -0.5160927772521973, 1.1160677671432495, -0.5798715949058533, 0.19877943396568298, 1.2405726909637451, 0.4737699627876282, -0.1436852663755417, 0.24209122359752655, 0.2543991208076477, -0.11457017064094543, 0.10367007553577423, 1.342667818069458, 1.2132749557495117, -0.25290271639823914, 0.23812927305698395, -0.21820659935474396, 0.067317433655262, 0.3343855142593384, -0.89799565076828, -0.9968755841255188, -0.4454420208930969, -0.4221862554550171, -0.17189744114875793, 0.2576427757740021, 0.5379021167755127, 0.9573518633842468, -0.7485650181770325, -0.21514827013015747, -0.521348237991333, 0.09865884482860565, -0.3907351493835449, -0.1954040229320526, 0.27066561579704285, -0.4109135866165161, -0.6682215929031372, 0.22852447628974915, 0.22410866618156433, 0.15753188729286194, 0.00844800379127264, -0.031116297468543053, -0.474014014005661, 0.06276029348373413, 0.5577048659324646, 0.42021673917770386, -0.4389011859893799, -0.45688334107398987, 0.0285123810172081, -0.4552857577800751, -0.11193468421697617, 0.922088086605072, -0.6888926029205322, -0.10622011870145798, 0.625214159488678, 0.9554228186607361, 0.2636260986328125, -0.13071346282958984, 0.6901490092277527, -0.7520674467086792, 0.33597710728645325, 0.2796511650085449, 0.39439496397972107, 0.22364135086536407, -0.363472580909729, 0.6470291614532471, 0.4337838292121887, -0.37353554368019104, -0.48042765259742737, 0.2929007411003113, -0.9566403031349182, -0.5235582590103149, 1.270247459411621, 0.07909167557954788, -0.3697502613067627, -0.2872779965400696, -0.3059837520122528, -0.08939141780138016, -0.20747806131839752, 0.6165762543678284, 0.8132815957069397, -0.2829897999763489, -0.0976174920797348, -0.6872957348823547, 0.24487842619419098, 0.7796092629432678, -1.2590875625610352, -0.026554850861430168, 0.6635879278182983, 0.12785296142101288, 0.2096029818058014, 0.5569844841957092, -0.027133125811815262, 0.5246785283088684, 0.20542268455028534, 0.10941828042268753, -0.09056125581264496, -0.6614459156990051, -0.4262491762638092, 0.12218202650547028, -0.10444747656583786, 0.09805163741111755 ]
http://arxiv.org/abs/2406.13827v2
http://arxiv.org/pdf/2406.13827v2
Fine-Tuning BERTs for Definition Extraction from Mathematical Text
2024-06-19T20:47:23
2024-06-27T22:31:07
Lucy Horowitz, Ryan Hathaway
cs.CL
cs.CL
In this paper, we fine-tuned three pre-trained BERT models on the task of "definition extraction" from mathematical English written in LaTeX. This is presented as a binary classification problem, where either a sentence contains a definition of a mathematical term or it does not. We used two original data sets, "Chicago" and "TAC," to fine-tune and test these models. We also tested on WFMALL, a dataset presented by Vanetik and Litvak in 2021 and compared the performance of our models to theirs. We found that a high-performance Sentence-BERT transformer model performed best based on overall accuracy, recall, and precision metrics, achieving comparable results to the earlier models with less computational effort.
[ -0.4946269094944, -1.0655103921890259, 0.507854163646698, 0.258212685585022, -0.43939846754074097, -0.192411869764328, -0.38838085532188416, -0.7324548363685608, 0.03643053397536278, 0.5433864593505859, -0.5333441495895386, -0.23602156341075897, -0.786856472492218, 0.37271061539649963, -0.5021297335624695, 1.3315010070800781, -0.058986350893974304, 0.028053797781467438, -0.3168492019176483, 0.19907580316066742, -0.4559709131717682, -0.2777310013771057, -0.40154415369033813, -0.42492082715034485, 0.586729884147644, 0.22644928097724915, 0.9220759272575378, 0.5735635161399841, 0.7950724363327026, 0.31641364097595215, -0.09581340104341507, 0.16335567831993103, -0.27991047501564026, -0.05882832407951355, -0.10555502027273178, -0.44341421127319336, -0.2634035646915436, 0.1284007877111435, 0.560370147228241, 0.9598724246025085, 0.10661102086305618, 0.15431803464889526, 0.15458890795707703, 0.5284860134124756, -0.46343010663986206, 0.4735494554042816, -0.7776880264282227, -0.08803418278694153, -0.032810334116220474, 0.034126438200473785, -0.38036030530929565, -0.9042940139770508, 0.4745180606842041, -0.5634474158287048, 0.4793371558189392, -0.14954149723052979, 1.4480669498443604, 0.1729828417301178, -0.1872921735048294, -0.3888523578643799, -0.8559496402740479, 0.8941777348518372, -0.7433819770812988, 0.3328897953033447, 0.5423416495323181, 0.13373158872127533, 0.08697928488254547, -0.8032262921333313, -0.5984637141227722, 0.0034242873080074787, -0.23374657332897186, 0.11292985826730728, -0.2967411279678345, 0.057326577603816986, 0.27078524231910706, 0.04316546767950058, -0.4221605658531189, 0.16291581094264984, -0.6946586966514587, -0.19271518290042877, 0.7602287530899048, 0.059969715774059296, -0.28170621395111084, -0.2815004885196686, -0.15908929705619812, -0.0611904077231884, -0.42729464173316956, 0.05813010409474373, 0.22402627766132355, 0.37688443064689636, 0.05173762887716293, 0.7404820322990417, 0.1374816596508026, 0.5660543441772461, -0.2753065228462219, 0.07615497708320618, 0.18297269940376282, -0.27833831310272217, -0.24245785176753998, -0.12529493868350983, 0.49557748436927795, 0.08707106858491898, 0.7039062976837158, -0.2944985032081604, -0.6072635054588318, 0.018984412774443626, 0.4173484444618225, -0.8743728399276733, -0.5642961263656616, -0.19149525463581085, -0.6194024682044983, -0.4596026837825775, 0.18927104771137238, -0.5606987476348877, 0.11856584250926971, -0.8736394643783569, 0.8179954886436462, -0.6590306162834167, 0.1365138739347458, -0.014248115010559559, -0.2425660341978073, 0.1344957798719406, 0.31772351264953613, -0.9359392523765564, 0.322777658700943, 0.8418124318122864, 0.722183346748352, -0.01468613650649786, 0.12673968076705933, -0.320515513420105, -0.34450164437294006, -0.4704509377479553, 0.912324845790863, -0.6584473252296448, -0.29659304022789, 0.20097796618938446, -0.06341284513473511, 0.16492216289043427, -0.5350963473320007, 0.542598307132721, -0.5857856273651123, 0.4248674213886261, -0.23166929185390472, -0.7882078289985657, -0.21462690830230713, 0.04504770040512085, -0.5781880021095276, 1.1689707040786743, 0.3195827007293701, -0.4826021194458008, 0.438528448343277, -0.749372661113739, -0.804345428943634, 0.20063786208629608, -0.1310301125049591, -0.502480685710907, 0.6147090196609497, 0.1948705017566681, 0.626511812210083, -0.2360071837902069, 0.14678482711315155, -0.2741889953613281, -0.36381232738494873, 0.38419854640960693, -0.35739317536354065, 0.7412949800491333, 0.39801225066185, -0.10044066607952118, -0.1418832391500473, -0.9389035105705261, 0.3063722848892212, 0.16419130563735962, -0.2899145781993866, -0.5106181502342224, 0.31898656487464905, 0.3778197467327118, 0.07866038382053375, 0.42785611748695374, -0.638616681098938, 0.2900659143924713, -0.6980233192443848, 0.3662084639072418, 0.9300904273986816, -0.2836840748786926, 0.31184834241867065, -0.41680479049682617, 0.27196863293647766, -0.3574589490890503, 0.029795300215482712, 0.0609787218272686, -0.4752633273601532, -0.7949448227882385, -0.35546043515205383, 0.8190941214561462, 0.45837754011154175, -0.7238958477973938, 0.9368802905082703, -0.35065358877182007, -0.512559711933136, -0.5089158415794373, -0.023917345330119133, 0.15271012485027313, 0.5562747120857239, 0.407593697309494, -0.005779548082500696, -0.43048354983329773, -1.0454177856445312, -0.1629459112882614, 0.10844995826482773, -0.2414471060037613, 0.38401201367378235, 0.5597660541534424, -0.2205132246017456, 1.2319748401641846, -0.8693021535873413, -0.12776386737823486, -0.11988688260316849, 0.6110038161277771, 0.2797689735889435, 0.2988497316837311, 0.6715567111968994, -0.7732515335083008, -0.6023963689804077, -0.14641064405441284, -0.5178943872451782, -0.24424780905246735, -0.056734755635261536, 0.021323805674910545, 0.24496406316757202, 0.2796729803085327, -0.17305293679237366, 0.6050726771354675, 0.28513577580451965, -0.23929230868816376, 0.7526147365570068, -0.3497335612773895, -0.2784848213195801, -1.0767027139663696, 0.13239115476608276, -0.11032090336084366, -0.2095038890838623, -0.4493200182914734, -0.15078166127204895, 0.18002234399318695, 0.006524506490677595, -0.18622088432312012, 0.2725451588630676, -0.05410763621330261, 0.07840671390295029, -0.2328801304101944, 0.17263266444206238, 0.013238632120192051, 0.22397872805595398, 0.064375139772892, 0.7718544006347656, 0.3764778971672058, -0.8085779547691345, 0.33770471811294556, 0.33530154824256897, -0.4581623375415802, 0.1219138652086258, -0.777082622051239, 0.1689474880695343, -0.15288875997066498, -0.35383471846580505, -1.0415865182876587, 0.09722752124071121, -0.2974326014518738, -0.4296932816505432, 0.14860281348228455, 0.212063267827034, -0.8759993314743042, -0.37591832876205444, -0.07939598709344864, 0.11181484907865524, 0.6895288228988647, -0.4912187159061432, 0.5867805480957031, 0.0511128269135952, -0.43406033515930176, -0.252529114484787, -0.534089207649231, -0.35117772221565247, -0.02812737599015236, -0.4604297876358032, 0.46214979887008667, -0.08747000247240067, -0.18553413450717926, 0.023092299699783325, -0.012837366200983524, -0.3564179837703705, 0.2581004798412323, -0.05293334648013115, 0.5295501947402954, -0.21904824674129486, 0.5695855617523193, 0.23739221692085266, 0.017139960080385208, 0.2651427090167999, -0.20896077156066895, 0.5554670095443726, 0.037247657775878906, 0.2503930628299713, -0.24367079138755798, 0.37611815333366394, 0.3313674330711365, -0.31953465938568115, 0.7319846749305725, 0.734642744064331, -0.6646832823753357, -0.017398599535226822, -0.5293813347816467, -0.3972548544406891, -0.4734346270561218, 0.20063818991184235, -0.34615558385849, -0.8367888331413269, 0.4691920876502991, -0.10291766375303268, 0.33614227175712585, 0.7400552034378052, 0.37587007880210876, -0.45511963963508606, 1.0902312994003296, 1.1131629943847656, 0.11624740809202194, 0.6671632528305054, -0.23682193458080292, 0.2264959216117859, -0.3706592917442322, -0.06799189001321793, -0.8880723714828491, -0.46148449182510376, -0.5435891151428223, 0.1854400336742401, 0.31332483887672424, 0.09550584107637405, 0.051425524055957794, 0.42971381545066833, -0.5266249179840088, 0.4176151752471924, 0.5061375498771667, 0.026031026616692543, -0.03837066888809204, 0.22226382791996002, -0.2770850360393524, -0.38922640681266785, -0.22328148782253265, -0.600530743598938, 1.124565601348877, 0.16692902147769928, 0.6393741965293884, 0.1918671429157257, 0.6225969791412354, 0.1865522712469101, 0.20322367548942566, -0.8811025619506836, 0.26909562945365906, -0.523853600025177, -0.70890212059021, -0.2802715301513672, -0.5692952275276184, -1.2431817054748535, -0.0698125809431076, -0.7112426161766052, -0.7569235563278198, 0.016286576166749, -0.039499446749687195, -0.49975520372390747, -0.027419473975896835, -0.8100349307060242, 0.6584271192550659, -0.26540467143058777, -0.073466956615448, -0.3412768840789795, -0.5083850622177124, 0.19139723479747772, -0.5807439684867859, 0.23763127624988556, -0.1967572718858719, 0.11538217961788177, 0.9220691323280334, -0.41220903396606445, 0.5830228924751282, 0.07603027671575546, -0.2565882205963135, 0.1642506718635559, 0.08442150801420212, 0.3467865288257599, -0.03208967298269272, 0.037416376173496246, 0.24583138525485992, 0.5004705190658569, -0.4176887273788452, -0.6087643504142761, 0.19213616847991943, -0.9191740155220032, -0.027582991868257523, -0.2041487991809845, -0.4350389838218689, -0.1609090268611908, 0.43040895462036133, 0.3807840049266815, 0.48157331347465515, -0.244363471865654, 0.3576972186565399, 0.5380621552467346, -0.0984453484416008, 0.7325212359428406, 0.5727053880691528, -0.2017548531293869, -0.2192249447107315, 0.7939748764038086, 0.1638178825378418, 0.054347991943359375, 0.5686656832695007, 0.42484185099601746, -0.4339551627635956, -0.33164098858833313, 0.09506490081548691, 0.21744319796562195, -0.40555036067962646, -0.36562395095825195, -0.3664109706878662, -0.5201013088226318, -0.5503689646720886, -0.17845270037651062, -0.3045458495616913, -0.5587045550346375, -0.5801456570625305, 0.1766662895679474, 0.4377955198287964, 0.9819112420082092, 0.015430046245455742, 0.5623016953468323, -1.013177514076233, 0.25598767399787903, 0.19955745339393616, 0.4862675666809082, -0.3296119272708893, -0.5808108448982239, -0.4729132354259491, 0.08033442497253418, -0.45850029587745667, -0.5868807435035706, 0.5431042313575745, 0.4339560866355896, 0.23914174735546112, 0.6369590759277344, -0.0060793571174144745, 0.7213014960289001, -0.6193110346794128, 0.6873806715011597, 0.18518230319023132, -1.1072962284088135, 0.7187420129776001, -0.03749370574951172, 0.15930017828941345, 0.3260504901409149, 0.3158494532108307, -0.2969317138195038, -0.13493014872074127, -0.815778911113739, -0.5258222818374634, 0.512637197971344, 0.452041357755661, 0.3218127191066742, -0.00579863041639328, 0.7486453652381897, 0.47755903005599976, 0.17788177728652954, -0.49880343675613403, -0.17885397374629974, 0.0035855069290846586, -0.5804277062416077, -0.40716880559921265, -0.2775670886039734, 0.050098489969968796, -0.4524274468421936, 0.41071128845214844, -0.1321200281381607, 0.45659932494163513, 0.07499843090772629, -0.28089991211891174, -0.08825518935918808, 0.23503369092941284, 0.6684372425079346, 0.8982349038124084, -0.29852771759033203, 0.14275868237018585, 0.11248263716697693, -0.6780031323432922, -0.37311723828315735, 0.5544357299804688, -0.09330469369888306, 0.23730126023292542, 0.7038713693618774, 0.4025617241859436, 0.23277999460697174, -0.7389748096466064, 0.4121913015842438, -0.22960877418518066, -0.507684588432312, -0.3610799312591553, 0.11170528084039688, -0.42329901456832886, 0.08639553189277649, 0.38840851187705994, 0.1342211812734604, 0.08205302059650421, -0.21129897236824036, 0.3802690804004669, 0.5148271322250366, -0.2122710645198822, -0.3921426832675934, 0.439728707075119, -0.020418331027030945, -0.3619421422481537, 0.9521423578262329, -0.0166927520185709, -0.6157907843589783, 0.5271825194358826, 0.5410215258598328, 0.787768542766571, 0.13366544246673584, -0.1450435072183609, 0.2682357728481293, 0.35512176156044006, 0.12366320192813873, 0.39996087551116943, -0.005293306894600391, -0.9013938307762146, -0.4904249310493469, -0.65923672914505, -0.08070992678403854, 0.12091320008039474, -0.9430662989616394, 0.45825615525245667, -0.518987238407135, -0.24337269365787506, 0.5934101939201355, 0.34992021322250366, -0.9349561333656311, 0.22584061324596405, 0.021666673943400383, 0.8332780599594116, -0.9184585809707642, 0.9489348530769348, 0.6160039901733398, -0.4193371534347534, -0.7681258320808411, -0.3461334705352783, -0.39309054613113403, -0.7325515151023865, 0.6838717460632324, 0.058474645018577576, 0.2096560150384903, 0.13564445078372955, -0.905852735042572, -0.7679828405380249, 0.7673546671867371, 0.24400965869426727, -0.6769991517066956, -0.09119199961423874, 0.0146861020475626, 0.5923903584480286, -0.20369833707809448, 0.1512163132429123, 0.6484370827674866, 0.3680349588394165, -0.09054544568061829, -1.1718049049377441, -0.4286923110485077, -0.08462198078632355, -0.011565119959414005, 0.3319942355155945, -0.17935244739055634, 0.8953956365585327, -0.08403939753770828, -0.016159821301698685, 0.13995330035686493, 0.7491642832756042, -0.362374871969223, -0.07077179849147797, 0.46968531608581543, 0.4712110161781311, 0.8839240670204163, -0.40907302498817444, 0.711889386177063, -0.055678702890872955, 0.6710513234138489, 0.8592351078987122, 0.022222790867090225, 1.071908712387085, 0.2585045397281647, -0.3821491003036499, 0.5531170964241028, 0.6712099313735962, -0.27330607175827026, 0.5978599190711975, 0.04944745451211929, -0.01020069234073162, -0.36413058638572693, 0.23206791281700134, -0.2992967665195465, 0.7035297155380249, 0.531053364276886, -0.4404541552066803, -0.2291608452796936, 0.013229147531092167, -0.08394130319356918, 0.12254224717617035, -0.2527495324611664, 1.0987756252288818, -0.1159108355641365, -0.6188287734985352, 0.5584751963615417, 0.11913228780031204, 0.5517568588256836, -0.5451740026473999, -0.15961290895938873, -0.099131278693676, 0.39084523916244507, 0.0223967544734478, -0.6575015187263489, 0.5312033891677856, 0.023370688781142235, -0.30549365282058716, -0.11497439444065094, 0.6154681444168091, -0.4260057806968689, -0.7960915565490723, -0.03486808389425278, 0.4766969084739685, 0.3539745807647705, -0.004756267182528973, -0.7957717180252075, -0.15598201751708984, -0.004495513159781694, 0.3337635099887848, -0.07379811257123947, 0.6512453556060791, 0.15223142504692078, 0.3533596396446228, 0.6072080731391907, 0.09283258020877838, 0.1189582571387291, 0.0948171466588974, 0.6632969975471497, -0.7509822249412537, -0.4106519818305969, -0.8964077234268188, 0.23696841299533844, -0.02170434594154358, -0.41343891620635986, 0.4476902484893799, 0.8088608980178833, 0.6670463681221008, -0.2696780264377594, 0.6670923233032227, -0.08189942687749863, 0.6347879767417908, -0.507803201675415, 0.7728601098060608, -0.5209122896194458, -0.09229255467653275, -0.3757528066635132, -0.9716012477874756, -0.4624869227409363, 0.9924198985099792, -0.17659641802310944, 0.03814055025577545, 0.856425404548645, 0.36767223477363586, -0.012405258603394032, 0.22819840908050537, 0.1994989514350891, 0.15822097659111023, 0.5077232718467712, 0.34917864203453064, 0.5444796681404114, -0.5112193822860718, 0.615134060382843, -0.41719526052474976, -0.1963464468717575, -0.34192752838134766, -0.8594308495521545, -1.056348204612732, -0.7442541718482971, -0.26223859190940857, -0.3249814510345459, -0.3200249969959259, 0.9067187905311584, 0.6853110790252686, -0.9092037081718445, 0.0768263041973114, -0.10454118996858597, 0.07944735884666443, -0.42831137776374817, -0.2617742717266083, 0.5560639500617981, -0.8170523047447205, -0.765153706073761, -0.09372528642416, -0.10730551183223724, 0.326348215341568, 0.01909247785806656, 0.4133176803588867, -0.07814226299524307, 0.29237380623817444, 0.821610152721405, -0.15758727490901947, -0.7384092211723328, -0.696019172668457, 0.15755924582481384, -0.03606490418314934, 0.015303203836083412, 0.7837231159210205, -0.7858766317367554, 0.5226076245307922, 0.2943222224712372, 0.6900930404663086, 0.4275229275226593, -0.010461995378136635, 0.578098714351654, -1.0408523082733154, -0.039872780442237854, 0.29857975244522095, 0.29017943143844604, -0.024620570242404938, -0.2042178064584732, 0.3492451608181, 0.31091034412384033, -0.43295857310295105, -0.6762632131576538, -0.062051303684711456, -0.9502843618392944, -0.42986464500427246, 0.8114944100379944, 0.11991018801927567, -0.002850970020517707, -0.0836922898888588, -0.28778234124183655, 0.31079697608947754, -0.16858819127082825, 1.0046848058700562, 1.094336986541748, -0.13996435701847076, -0.1321551501750946, -0.40464508533477783, 0.5430147051811218, 0.36382269859313965, -0.5746300220489502, -0.0036379247903823853, 0.278413325548172, 0.3138684034347534, 0.3813559412956238, -0.09740591049194336, 0.0689418613910675, 0.17277736961841583, -0.2917494475841522, 0.19918961822986603, 0.15157167613506317, -0.2603601813316345, -0.35103005170822144, 0.053378596901893616, -0.04548224061727524, -0.20914216339588165 ]
http://arxiv.org/abs/2406.13820v1
http://arxiv.org/pdf/2406.13820v1
Framing Social Movements on Social Media: Unpacking Diagnostic, Prognostic, and Motivational Strategies
2024-06-19T20:31:34
2024-06-19T20:31:34
Julia Mendelsohn, Maya Vijan, Dallas Card, Ceren Budak
cs.CL
cs.CL
Social media enables activists to directly communicate with the public and provides a space for movement leaders, participants, bystanders, and opponents to collectively construct and contest narratives. Focusing on Twitter messages from social movements surrounding three issues in 2018-2019 (guns, immigration, and LGBTQ rights), we create a codebook, annotated dataset, and computational models to detect diagnostic (problem identification and attribution), prognostic (proposed solutions and tactics), and motivational (calls to action) framing strategies. We conduct an in-depth unsupervised linguistic analysis of each framing strategy, and uncover cross-movement similarities in associations between framing and linguistic features such as pronouns and deontic modal verbs. Finally, we compare framing strategies across issues and other social, cultural, and interactional contexts. For example, we show that diagnostic framing is more common in replies than original broadcast posts, and that social movement organizations focus much more on prognostic and motivational framing than journalists and ordinary citizens.
[ -0.08504017442464828, -1.0164010524749756, 0.8713579773902893, 0.08880668878555298, -0.5843597650527954, 0.8262639045715332, 0.13560624420642853, -0.04440305009484291, 0.8185911178588867, 0.35382604598999023, -0.48095712065696716, -0.4971149265766144, -1.04164457321167, -0.27459195256233215, -0.7885708808898926, 0.8489951491355896, -0.4735056459903717, 0.2421395182609558, 0.4048474133014679, -0.37052497267723083, -0.34035423398017883, -0.19966480135917664, -0.8307517766952515, 0.07803492993116379, 0.7207567691802979, -0.005082288291305304, 0.5622859001159668, 0.8231656551361084, 0.37885016202926636, 0.2724025845527649, -0.2696148455142975, -0.18595345318317413, -0.7433661818504333, 0.006058808881789446, 0.014771101996302605, -0.07948790490627289, 0.11146655678749084, 0.004327801987528801, 0.6968963146209717, 0.4627261757850647, 0.18481388688087463, 0.4498443603515625, -0.06485708802938461, 0.8436586260795593, -0.40870845317840576, -0.11835236847400665, -0.15493549406528473, 0.1912391483783722, -0.47380173206329346, -0.17838154733181, 0.18919768929481506, -0.613715410232544, -0.46797114610671997, -0.3058779239654541, 0.30806106328964233, -0.2906116545200348, 0.5952991843223572, 0.03260749578475952, -0.835264265537262, -0.1398920863866806, -0.8315284252166748, 0.2774480879306793, -0.15773403644561768, 0.31056758761405945, 0.36743801832199097, 0.3946627676486969, -0.08852945268154144, -0.6102527379989624, -0.24820762872695923, 0.5297719836235046, 0.28977617621421814, -0.08377955853939056, -0.48484453558921814, -0.18065311014652252, 0.07279295474290848, -0.027513869106769562, -0.4990563690662384, -0.33403831720352173, -0.6984128952026367, -0.09284120053052902, 0.9057261347770691, 0.34505581855773926, 0.38532498478889465, -0.17593075335025787, -0.44691208004951477, 0.3060925304889679, -0.5260967016220093, 0.21439313888549805, 0.4967583417892456, 0.199609637260437, -0.4565982222557068, 0.6508472561836243, -0.3033345341682434, 0.45281657576560974, 0.14891289174556732, 0.1868908554315567, -0.05810604616999626, -0.46263861656188965, 0.10981245338916779, 0.15423862636089325, 0.8561370372772217, 0.6520572304725647, 0.029265642166137695, -0.11941579729318619, -0.08751653879880905, 0.10343146324157715, 0.34078747034072876, -0.6174098253250122, 0.13785408437252045, 0.04510083049535751, -0.9072141051292419, -0.2638331353664398, 0.17686037719249725, -0.5157095193862915, -0.7546514868736267, -0.23551276326179504, 0.5926660895347595, -0.12369522452354431, -0.38808587193489075, 0.09289426356554031, -0.5226565003395081, 0.34595561027526855, 0.2501137852668762, -0.6256779432296753, -0.09338077902793884, 0.8387355208396912, 1.221351981163025, 0.0644846111536026, 0.29009246826171875, -0.5707838535308838, 0.154290571808815, -0.6598658561706543, 0.6418819427490234, -0.43645355105400085, -0.29138097167015076, 0.47141033411026, 0.2690636217594147, -0.05171741545200348, -0.08528641611337662, 0.1469329446554184, -0.5956146121025085, -0.41793587803840637, -0.7139793634414673, -0.5291457176208496, -0.10128776729106903, 0.2780820429325104, -0.6500137448310852, 0.6635413765907288, -0.026401061564683914, -0.5766521692276001, 0.2774399220943451, -0.7182477116584778, -0.3951849043369293, 0.08696325868368149, -0.22419239580631256, -0.04405227676033974, 0.26069894433021545, -0.35354718565940857, 0.8484216332435608, -0.10702954977750778, 0.3751415014266968, -0.33193519711494446, -0.3641914129257202, 0.13605795800685883, -0.08182645589113235, 0.77735435962677, 0.10205844044685364, -0.3981405198574066, 0.4582085907459259, -0.5108271241188049, -0.56125408411026, 0.4290487468242645, -0.2537476718425751, -0.11807546764612198, 0.4071683883666992, -0.16955679655075073, -0.14960695803165436, -0.07578664273023605, -0.6096416711807251, -0.13911214470863342, 0.10291414707899094, 0.829811155796051, 0.60028475522995, 0.4154665172100067, 0.17141523957252502, -0.435762882232666, 0.7387672066688538, -0.046552691608667374, 0.46371737122535706, -0.1369297355413437, -0.5929300785064697, -0.231409952044487, 0.07908429205417633, -0.21791815757751465, 0.3613189458847046, -0.7983620166778564, -0.22466625273227692, -0.17282873392105103, -0.44551268219947815, -0.3839153051376343, 0.07521644234657288, 0.10206768661737442, 0.12513545155525208, 0.1855500191450119, -0.13996708393096924, -0.40197059512138367, -0.6511759161949158, -0.5858124494552612, -0.23296213150024414, 0.37860846519470215, -0.412978857755661, 0.2826524078845978, -0.08460993319749832, 0.4842694401741028, -0.2894032597541809, -0.14483559131622314, -0.42128464579582214, 0.3975313603878021, -0.040327850729227066, -0.15900632739067078, 0.3551034927368164, -1.1746574640274048, -0.7352564930915833, -0.05287841707468033, -0.38733813166618347, 0.11403389275074005, -0.07437286525964737, -0.005291040986776352, -0.022356731817126274, 0.8696593642234802, -0.33495059609413147, 0.8565090894699097, 0.4436700642108917, -0.5517479777336121, 0.2277904450893402, 0.5389496684074402, 0.6452717781066895, -1.287447214126587, -0.30584004521369934, 0.33513641357421875, -0.5001879334449768, -0.8086806535720825, -0.2726246416568756, -0.3113369345664978, -0.17496304214000702, -0.7403955459594727, 0.40816977620124817, -0.21720726788043976, 0.09542962908744812, -0.21487747132778168, 0.10268814116716385, -0.31842976808547974, -0.11553674936294556, 0.020792130380868912, -0.05230313912034035, 0.5285120010375977, -0.21753239631652832, 0.3482016921043396, -0.0040352968499064445, -0.5510222315788269, 0.3204643130302429, -0.7155515551567078, 0.06135070323944092, -0.42243555188179016, 0.16673283278942108, -1.2437015771865845, -0.275398850440979, 0.6135296821594238, -0.5646997094154358, -0.008974414318799973, -0.2944301664829254, -0.22616440057754517, -0.46633297204971313, -0.42489156126976013, 0.22955511510372162, 0.0013738129055127501, -0.05826791375875473, 0.5700530409812927, 0.8160788416862488, 0.11745372414588928, -0.22350271046161652, -0.6590506434440613, 0.043448589742183685, -0.5136628746986389, -0.36196082830429077, 0.12077565491199493, 0.3177129328250885, -0.4333842098712921, 0.04942856729030609, 0.03924814611673355, 0.029723310843110085, 0.14238770306110382, 0.3733091950416565, -0.26980653405189514, -0.10875681787729263, 0.26786288619041443, -0.09296781569719315, -0.027022600173950195, 0.10623501986265182, 0.33434441685676575, 0.5625176429748535, 0.0037068009842187166, -0.3682994246482849, -0.15049676597118378, 1.0870697498321533, 0.45687562227249146, -0.060690369457006454, 0.7043991088867188, 1.0619094371795654, -0.5228639841079712, 0.4551537334918976, -0.3700001835823059, -0.10186868906021118, -0.36119353771209717, 0.033505477011203766, 0.18703117966651917, -1.0404514074325562, 0.4718165397644043, -0.1626766473054886, 0.09584986418485641, 0.07328136265277863, 0.6666751503944397, -0.23680643737316132, 1.0790917873382568, 0.533760130405426, -0.03471820801496506, 0.6899498105049133, -0.10500481724739075, 0.4361518621444702, -0.4428253173828125, -0.20600895583629608, -0.41030406951904297, -0.6016248464584351, -0.2498890459537506, -0.704611599445343, 0.2235127091407776, 0.22781793773174286, -0.32405346632003784, 0.47695019841194153, -0.5046062469482422, 0.477230966091156, 0.2761354446411133, -0.00969440396875143, 0.16094131767749786, -0.13692332804203033, 0.2638435959815979, 0.02758200652897358, -0.469713419675827, -0.8119642734527588, 0.6478471755981445, 0.3316528797149658, 0.4290356934070587, 0.39035654067993164, 0.7763906121253967, 0.682837188243866, 0.7266826033592224, -0.761646568775177, 0.6866593956947327, 0.007778150029480457, -0.7684613466262817, -0.12604886293411255, -0.27504226565361023, -1.2222951650619507, 0.012061214074492455, -0.3605448305606842, -0.8355816602706909, 0.32281938195228577, 0.0066602593287825584, -0.4520459473133087, 0.5422470569610596, -0.4999385476112366, 0.960363507270813, -0.3539590537548065, -0.12203527241945267, -0.19425684213638306, -0.7361689805984497, -0.07607540488243103, -0.15123170614242554, 0.41591110825538635, -0.616400420665741, -0.04662537947297096, 0.8901070356369019, -0.14757362008094788, 1.1186449527740479, -0.2023434340953827, 0.3473230302333832, 0.2687022387981415, -0.23870693147182465, 0.006189132574945688, -0.030458612367510796, 0.38264918327331543, 0.19958020746707916, 0.2860509753227234, -0.22105266153812408, -0.13410529494285583, 0.3369184136390686, -0.49734020233154297, -0.5721498727798462, -0.1477014273405075, 0.06345050781965256, -0.05455915629863739, 0.14124822616577148, 0.2812217175960541, 0.4369787275791168, -0.7332958579063416, 0.36942559480667114, 0.4126264750957489, 0.29648566246032715, 0.8686411380767822, 0.5885792374610901, -0.1556047797203064, -0.42841288447380066, 0.5649822950363159, 0.39559027552604675, 0.024549534544348717, 0.391470730304718, 0.43305209279060364, -0.28107568621635437, -0.4833068251609802, -0.516586422920227, 0.08630064874887466, -0.5073553919792175, -0.239364355802536, -0.6724147200584412, 0.10002733021974564, -0.4462534785270691, -0.408658504486084, -0.3320281505584717, -0.18945394456386566, -0.2956080436706543, -0.23631520569324493, 0.365865558385849, 0.7389782667160034, -0.24843640625476837, 0.5271877646446228, -0.7963703870773315, 0.4386090934276581, 0.17789463698863983, 0.07677537202835083, -0.33358678221702576, -0.04613339900970459, -0.5367067456245422, 0.19614581763744354, -0.7667917609214783, -1.855363130569458, 0.034131694585084915, -0.2554352879524231, 0.42705968022346497, 0.5480071902275085, 0.42786335945129395, 0.5392245650291443, -0.506527841091156, 0.7837735414505005, 0.4450194239616394, -0.8304623365402222, 0.8120883703231812, -0.6728955507278442, -0.09174619615077972, 0.4214351773262024, 1.1107664108276367, -0.6044992208480835, -0.24830324947834015, -0.416341632604599, -0.9066299200057983, 0.15215949714183807, -0.18969668447971344, 0.49775150418281555, -0.44267943501472473, 0.3461814522743225, -0.424919992685318, 0.12745626270771027, -0.715510904788971, 0.02125929668545723, -0.29351818561553955, -0.1336626410484314, 0.007015622220933437, -0.12880253791809082, -0.7946988344192505, -0.27959513664245605, 0.3625618517398834, -0.2301701158285141, 0.1086941510438919, 0.21329449117183685, 0.23779131472110748, -0.5336164236068726, -0.058318573981523514, 0.3540516197681427, 0.6664342284202576, 0.05944475531578064, -0.1731620728969574, -0.22554871439933777, -0.21755899488925934, 0.4204854965209961, 0.004069962538778782, -0.20946457982063293, 0.19717346131801605, 0.2934008538722992, 1.0598658323287964, 0.19880221784114838, -0.2517107427120209, 0.5846088528633118, -0.10439857095479965, -0.6063308715820312, -0.3249042332172394, -0.14494626224040985, 0.5330492258071899, 0.8436678647994995, 0.6067482233047485, -0.23888076841831207, 0.122043177485466, -0.839324951171875, -0.24078235030174255, 0.5040501952171326, -0.8148491382598877, -0.4400947093963623, 0.784872829914093, 0.12002979218959808, -0.9336620569229126, -0.2171165496110916, 0.009268076159060001, -0.4650585651397705, 0.291069358587265, 0.20620845258235931, 0.9952846765518188, -0.1448093205690384, 0.7195620536804199, 0.13485996425151825, 0.38866347074508667, -0.25741466879844666, 0.025417588651180267, -0.04802344739437103, -0.8890882134437561, -0.2514860928058624, -0.2644883394241333, -0.23326024413108826, -0.029083510860800743, -0.8799996972084045, 0.18381288647651672, -0.44843193888664246, -0.7530351281166077, 0.3820807635784149, 0.11361560225486755, -0.3287212550640106, -0.11987557262182236, 0.08639466762542725, 0.709054172039032, -1.243569254875183, 0.3754110336303711, 1.0392898321151733, -0.24887534976005554, -0.5613569021224976, 0.19954238831996918, 0.5263000726699829, -0.5609778761863708, 0.22799842059612274, 0.36333200335502625, -0.0806887075304985, -0.2588692903518677, -0.5333091616630554, -0.6044758558273315, 1.039731502532959, 0.4998800456523895, -0.2835383415222168, 0.38359925150871277, 0.13310591876506805, 0.49535489082336426, -0.42082205414772034, -0.34954455494880676, 0.3926395773887634, 0.4553169310092926, 0.11936943978071213, -0.40810567140579224, 0.07550927996635437, -0.12894472479820251, 0.14224231243133545, 0.551757276058197, -1.0669180154800415, 0.24412775039672852, -0.15511511266231537, -0.753183901309967, -0.24097974598407745, 0.3219177722930908, -0.13854144513607025, 0.6293588876724243, 0.40955275297164917, 0.3343525826931, 0.2465066760778427, -0.388737291097641, 1.0725071430206299, -0.3070344924926758, 0.046471789479255676, 0.3657667338848114, -0.06480586528778076, 0.8651515245437622, 0.5155823826789856, 0.08838601410388947, 0.19222792983055115, 0.7102200984954834, 0.4058012068271637, 0.3769092857837677, 0.15832553803920746, -0.42150846123695374, -0.32023024559020996, -0.014163373969495296, -0.25116056203842163, 0.5127040147781372, 0.31108060479164124, -0.32560038566589355, -0.4713084101676941, 0.17084969580173492, 0.16610904037952423, 0.43323299288749695, -0.3174709677696228, 0.8096404075622559, 0.07596024125814438, -0.28705039620399475, 0.07699532061815262, 0.052144844084978104, 0.10649289190769196, -0.6264399886131287, 0.1411609798669815, -0.064497210085392, -0.11881519854068756, 0.08563476800918579, -0.6928735375404358, 1.0417497158050537, -0.24524028599262238, -0.292231023311615, -0.6074714064598083, 0.8377112746238708, -0.3470214605331421, -0.22591780126094818, 0.4755178689956665, 0.5040677189826965, 0.017778128385543823, -0.197947159409523, -0.9549479484558105, 0.7504092454910278, -0.1821199506521225, -0.3135596215724945, 0.4110623300075531, 0.4392131567001343, -0.25269508361816406, 0.4895050525665283, 0.5652485489845276, 0.16453786194324493, 0.024670803919434547, 0.060864582657814026, 0.730230987071991, -0.6495348811149597, -0.08558611571788788, -0.9343103766441345, 0.5749738216400146, -0.344695508480072, -0.39595505595207214, 0.6850035786628723, 0.2793738842010498, 0.475887656211853, 0.18725772202014923, 0.33711448311805725, -0.05448973551392555, 0.5417798757553101, -0.40620723366737366, 0.6842162609100342, -0.6224534511566162, -0.2657954692840576, -0.030348429456353188, -0.40761706233024597, -0.3094135522842407, 0.6516208052635193, -0.27634233236312866, -0.40537184476852417, 0.17181362211704254, 0.793860912322998, 0.2929985821247101, 0.18395757675170898, 0.20699580013751984, 0.020873920992016792, 0.2958471477031708, 0.12337476015090942, 0.8930203914642334, -0.21662795543670654, 0.34291595220565796, 0.20348884165287018, -0.13939647376537323, -0.3020690679550171, -0.7971884608268738, -1.0798237323760986, -1.013329029083252, -0.7263023853302002, -0.42126724123954773, 0.300611674785614, 0.8497161269187927, 0.8719226121902466, -0.25251510739326477, -0.07771848887205124, 0.2116561233997345, 0.4789060056209564, -0.14320237934589386, -0.21601301431655884, 0.1547892540693283, 0.016838066279888153, -0.3494146168231964, 0.26322388648986816, 0.43149104714393616, 0.058712031692266464, -0.17014145851135254, 0.10165414214134216, -0.42705008387565613, 0.2917343080043793, 0.800682544708252, 0.5557920932769775, -0.496117502450943, -0.23468561470508575, -0.1920701116323471, 0.09904356300830841, -0.28241315484046936, 1.0920573472976685, -0.18528731167316437, 0.26472949981689453, 0.5306965708732605, 0.748278021812439, 0.553141176700592, -0.014401419088244438, 0.534832239151001, -0.4565836489200592, -0.1956973373889923, 0.2270338237285614, 0.36476022005081177, 0.43450358510017395, -0.20424775779247284, 0.6466598510742188, 0.5616207718849182, -0.3561765253543854, -0.8022250533103943, 0.17374567687511444, -0.7752537727355957, -0.20346780121326447, 1.308500051498413, 0.14480866491794586, -0.2773623466491699, -0.441688597202301, -0.033377621322870255, 0.4390852451324463, -0.15038460493087769, 0.7781406044960022, 0.8240076899528503, 0.12958316504955292, -0.4106424152851105, -0.7491527199745178, 0.4433091878890991, 0.03220120444893837, -0.40088921785354614, -0.2577005922794342, 0.3906039297580719, 0.24105055630207062, 0.10934513062238693, 1.275027871131897, -0.17006129026412964, 0.13552597165107727, -0.4316084384918213, -0.4857957661151886, 0.24650554358959198, -0.251059353351593, -0.049116600304841995, 0.12140890955924988, -0.5571835041046143, -0.3841119706630707 ]
http://arxiv.org/abs/2406.13807v2
http://arxiv.org/pdf/2406.13807v2
AlanaVLM: A Multimodal Embodied AI Foundation Model for Egocentric Video Understanding
2024-06-19T20:14:14
2024-06-21T09:53:41
Alessandro Suglia, Claudio Greco, Katie Baker, Jose L. Part, Ioannis Papaioannou, Arash Eshghi, Ioannis Konstas, Oliver Lemon
cs.CV
cs.CV, cs.AI, cs.CL
AI personal assistants deployed via robots or wearables require embodied understanding to collaborate with humans effectively. However, current Vision-Language Models (VLMs) primarily focus on third-person view videos, neglecting the richness of egocentric perceptual experience. To address this gap, we propose three key contributions. First, we introduce the Egocentric Video Understanding Dataset (EVUD) for training VLMs on video captioning and question answering tasks specific to egocentric videos. Second, we present AlanaVLM, a 7B parameter VLM trained using parameter-efficient methods on EVUD. Finally, we evaluate AlanaVLM's capabilities on OpenEQA, a challenging benchmark for embodied video question answering. Our model achieves state-of-the-art performance, outperforming open-source models including strong Socratic models using GPT-4 as a planner by 3.6%. Additionally, we outperform Claude 3 and Gemini Pro Vision 1.0 and showcase competitive results compared to Gemini Pro 1.5 and GPT-4V, even surpassing the latter in spatial reasoning. This research paves the way for building efficient VLMs that can be deployed in robots or wearables, leveraging embodied video understanding to collaborate seamlessly with humans in everyday tasks, contributing to the next generation of Embodied AI.
[ -0.5908334255218506, -0.6824740171432495, 0.6801239252090454, 0.014335863292217255, -0.20453818142414093, -0.2793024480342865, 0.012676150538027287, -0.6802838444709778, 0.07625141739845276, 0.5617695450782776, -0.8087950348854065, -0.5464876890182495, -0.588583767414093, 0.12403535842895508, -0.5358130931854248, 0.4335923492908478, -0.11285170167684555, 0.13176600635051727, -0.5175523161888123, -0.6579949855804443, -0.3359730541706085, -0.5193068385124207, -0.13373486697673798, -0.16610345244407654, 0.28137972950935364, 0.404340535402298, 0.6696279644966125, 0.48348191380500793, 0.22263163328170776, 0.37111419439315796, 0.4883185029029846, 0.39819201827049255, -0.04648841544985771, 0.12216809391975403, 0.2322443127632141, -0.35072189569473267, -0.47728270292282104, -0.1013626903295517, 0.44029051065444946, 0.5307393670082092, -0.244181826710701, 0.3678063750267029, -0.12649549543857574, 0.5274414420127869, -0.6384451985359192, 0.17069265246391296, -0.296823114156723, 0.24627356231212616, 0.1293688863515854, 0.26518943905830383, -0.19144360721111298, 0.19557344913482666, 0.000020011106244055554, -0.7766922116279602, 0.21073226630687714, 0.1999146044254303, 0.5212072730064392, 0.8523395657539368, -0.04906763136386871, 0.08654322475194931, -0.794386088848114, 0.3448715806007385, -0.4656640887260437, 0.8286012411117554, 0.6721946597099304, 0.577905535697937, 0.528303861618042, -0.6947495341300964, -0.9788611531257629, -0.17599156498908997, 0.21005555987358093, 0.10678344964981079, -0.1553533673286438, 0.38313236832618713, -0.14971372485160828, 0.09011147171258926, -0.7580026984214783, -0.09868588298559189, -0.44754937291145325, 0.1804121434688568, 0.6733652353286743, 0.2666364014148712, 0.2482338845729828, -0.11491140723228455, -0.14909468591213226, -0.1479848474264145, -0.25553572177886963, -0.1903756707906723, 0.17317678034305573, -0.11099493503570557, -0.17713911831378937, 0.7085786461830139, -0.14746534824371338, 1.0647450685501099, 0.1742393523454666, 0.2593613564968109, 0.07229050248861313, -0.22233520448207855, -0.6777395606040955, -0.17527854442596436, 0.358381450176239, 0.26475271582603455, 0.04309802129864693, -0.11643178015947342, 0.12973418831825256, -0.0002731072891037911, 0.728945255279541, -0.49315357208251953, -0.32135728001594543, 0.38314083218574524, -0.3730545938014984, 0.1577412486076355, 0.15253902971744537, -0.2373599112033844, -0.35299527645111084, -0.7722802758216858, 0.6470295190811157, -0.2597510516643524, -0.009467953816056252, 0.25563234090805054, 0.1415966898202896, 0.536900520324707, 0.7651753425598145, -0.6346277594566345, 0.3300929665565491, 0.601148784160614, 0.7737249135971069, 0.32334011793136597, -0.6750347018241882, -0.5478672981262207, 0.36128664016723633, -0.23077811300754547, 0.6392633318901062, -0.3079783618450165, 0.004945533350110054, 0.08821751922369003, -0.11486617475748062, 0.0911179631948471, -0.46383029222488403, 0.12063483148813248, -0.2685546576976776, 0.1983412355184555, -0.142557293176651, -0.253860205411911, -0.6856065392494202, 0.3958127200603485, -0.5841142535209656, 0.5423474311828613, -0.13406552374362946, -0.20528057217597961, 0.4233490526676178, -0.6962870359420776, -0.1481586992740631, 0.36137935519218445, -0.5496612191200256, -0.2971804141998291, -0.04137156158685684, 0.304499089717865, 0.679370105266571, -0.1795102059841156, 0.005446828901767731, -0.4143286943435669, -0.10034503042697906, -0.0317591093480587, -0.27512186765670776, 0.568581223487854, 0.04659409075975418, -0.3951738774776459, 0.26030778884887695, -0.4775354266166687, -0.18205814063549042, -0.18018536269664764, 0.3731553852558136, -0.22590093314647675, 0.016983339563012123, 0.08555475622415543, 0.15767446160316467, 0.06687386333942413, -0.38288062810897827, -0.11912957578897476, -0.18812809884548187, 0.387286514043808, 0.9551653861999512, -0.3137611448764801, 0.2883865535259247, -0.19321390986442566, 0.6832548975944519, -0.25615647435188293, 0.7076771855354309, -0.07535362988710403, -0.5119389295578003, -0.6929436326026917, -0.4931580424308777, -0.5527833104133606, 0.15496471524238586, -0.7832944989204407, 0.1856176257133484, 0.08078205585479736, -0.3651282787322998, -0.9521391987800598, 0.36994755268096924, 0.5057913661003113, 0.45337149500846863, 0.3675810396671295, -0.5772269368171692, -0.3557499349117279, -0.9973474144935608, -0.16045212745666504, -0.6509024500846863, 0.014258362352848053, 0.8692602515220642, 0.46691781282424927, -0.3030329644680023, 0.7298890352249146, -0.391991525888443, -0.5453348159790039, -0.10118080675601959, 0.11120638996362686, 0.039709556847810745, 0.07146207243204117, 0.6738383769989014, -1.1052465438842773, -0.41433990001678467, 0.13604983687400818, -1.101463794708252, 0.16306695342063904, -0.03758973628282547, -0.03985203802585602, -0.1245625838637352, 0.3405340909957886, -0.7039839029312134, 0.6143820881843567, 0.599637508392334, -0.4708590507507324, 0.548663318157196, -0.5019312500953674, 0.25985488295555115, -0.4759018123149872, 0.008780368603765965, -0.044661249965429306, -0.616071343421936, -0.6333770751953125, 0.42961573600769043, -0.23133984208106995, -0.052586063742637634, -0.6361576914787292, 0.6594235897064209, -0.5686196684837341, -0.5646524429321289, -0.07907363772392273, 0.26008060574531555, -0.0546395517885685, 0.7111332416534424, 0.14612071216106415, 0.677870512008667, 0.5478156805038452, -0.6570843458175659, 0.6414850950241089, 0.7399215698242188, -0.3568580150604248, 0.8482909202575684, -0.8393306136131287, 0.3253500461578369, -0.5815554261207581, -0.040957774966955185, -0.9438314437866211, -0.5782741904258728, 0.4190933406352997, -0.6197952628135681, 0.04113171249628067, -0.003158190753310919, -0.3430071175098419, -0.33984702825546265, -0.06876887381076813, 0.5985804200172424, 0.3102034330368042, -0.6470080018043518, 1.2139947414398193, 0.3942008912563324, 0.0093464320525527, -0.4691752791404724, -0.6431428790092468, 0.010178548283874989, -0.18993334472179413, -0.8077253103256226, -0.031768638640642166, -0.3523079454898834, -0.45220947265625, 0.04643798619508743, 0.0159433763474226, -0.18811418116092682, -0.014508147723972797, 0.45258787274360657, 0.17396967113018036, 0.007236086763441563, 0.02513546124100685, -0.18700732290744781, 0.10545244067907333, 0.02705257385969162, -0.42065030336380005, 0.307618647813797, -0.3998737931251526, -0.7598567605018616, -0.6486107110977173, 0.5050138235092163, 0.7202686071395874, -0.2934805154800415, 0.7538089156150818, 0.7193209528923035, -0.324269562959671, 0.05130208656191826, -0.670539379119873, -0.12990550696849823, -0.43019339442253113, 0.6175289750099182, -0.20256158709526062, -0.683824360370636, 0.3623591661453247, 0.5182786583900452, 0.19817179441452026, 0.02253124862909317, 0.8701245784759521, -0.3515826463699341, 0.9912005662918091, 0.725959837436676, 0.09767694026231766, 0.5205721259117126, -0.3642514944076538, -0.06841931492090225, -0.8989455103874207, -0.514947772026062, -0.17166969180107117, -0.3003890812397003, 0.03950135037302971, -0.6146335005760193, 0.8166178464889526, -0.4720615744590759, -0.5927428007125854, 0.2890532314777374, -0.3430722951889038, 0.33351507782936096, 0.4645560383796692, 0.3266092538833618, 0.19298622012138367, -0.20111402869224548, 0.32897302508354187, 0.1531362384557724, -0.6474736332893372, -0.33206427097320557, 0.8958998918533325, 0.12514540553092957, 0.6607667803764343, 0.38225847482681274, 0.3303689956665039, 0.47846126556396484, 0.2821335196495056, -0.41477102041244507, 0.5301284193992615, -0.01748872920870781, -0.7667689323425293, -0.36015480756759644, 0.15182183682918549, -0.6061782836914062, 0.38541215658187866, 0.059151556342840195, -0.6166268587112427, 0.23547933995723724, 0.48392757773399353, -0.48209866881370544, 0.13944979012012482, -0.6106710433959961, 0.8652834892272949, -0.37048715353012085, -0.6772984862327576, -0.34551340341567993, -0.9537597894668579, 0.32216665148735046, 0.4001023471355438, 0.25801435112953186, 0.15181288123130798, -0.15894824266433716, 0.31390380859375, -0.3657347857952118, 0.861076295375824, -0.30843648314476013, 0.12093397229909897, 0.2848033010959625, 0.05161551386117935, 0.17342941462993622, 0.1402115523815155, 0.37264204025268555, 0.3133658170700073, -0.31822770833969116, -0.45362401008605957, -0.6746124625205994, 0.35481709241867065, -0.9763189554214478, -0.6146152019500732, -0.18213437497615814, -0.2996559143066406, -0.06743503361940384, -0.12692974507808685, 0.07931850850582123, 0.49955806136131287, -0.08451272547245026, 0.2668955624103546, 0.5927879214286804, -0.1122150868177414, 0.1452174186706543, 0.3286970853805542, -0.20390670001506805, -0.4413530230522156, 0.5035116672515869, -0.2167976200580597, 0.2531704008579254, 0.31402039527893066, -0.27841493487358093, -0.29788538813591003, -0.20842339098453522, -0.7294638156890869, 0.36354368925094604, -0.8485793471336365, -0.10784082114696503, -0.8792566657066345, 0.04529798775911331, -0.32308757305145264, -0.33876046538352966, -0.4427841007709503, -0.1048387959599495, -0.37627795338630676, -0.3437599837779999, 0.1976429671049118, 0.8121872544288635, -0.12932124733924866, 0.1648896336555481, -0.5799893736839294, 0.6277100443840027, 0.7751566171646118, 0.16456179320812225, 0.1991828829050064, -0.501961350440979, -0.3505215048789978, -0.05037098377943039, -0.14996831119060516, -0.821254551410675, 0.5311959385871887, 0.37211155891418457, 0.5716952085494995, 0.5221347212791443, -0.20953407883644104, 1.0972480773925781, -0.5680888891220093, 0.8788585662841797, 0.07784048467874527, -0.7885066270828247, 0.22931508719921112, -0.21027377247810364, 0.18984158337116241, 0.570339024066925, 0.34090468287467957, -0.5529102087020874, -0.21105758845806122, -0.6249212622642517, -0.7251985669136047, 0.7059652209281921, 0.3920940160751343, 0.11449704319238663, 0.24756257236003876, 0.48180249333381653, 0.3721982538700104, 0.5600487589836121, -0.6836032271385193, -0.27900609374046326, -0.4543584883213043, -0.3936097025871277, -0.364400178194046, 0.1783357411623001, -0.07462383061647415, -0.5192761421203613, 0.5790453553199768, -0.1795593649148941, 0.5092054009437561, 0.5795870423316956, -0.3138699531555176, -0.04804239049553871, -0.4391170144081116, 0.6090531945228577, 0.5650967359542847, 0.040080223232507706, 0.01667415164411068, 0.054458990693092346, -0.5655427575111389, 0.12295858561992645, 0.014064189977943897, 0.07323752343654633, -0.11283057928085327, 0.5755696296691895, 0.8746387362480164, -0.07889460027217865, -0.8879137635231018, 0.5349071621894836, -0.18838652968406677, -0.22416122257709503, -0.8988572359085083, 0.0033314134925603867, -0.2930116355419159, 0.6074317097663879, 0.2460649311542511, 0.2807687222957611, 0.41920074820518494, -0.6682378053665161, 0.09608282148838043, 0.46339282393455505, -0.47409042716026306, -0.7261469960212708, 1.1326203346252441, 0.14643628895282745, -0.4755669832229614, 0.5324328541755676, 0.13042977452278137, -0.48755499720573425, 0.6202635765075684, -0.0051292795687913895, 1.14980149269104, -0.2695203125476837, 0.34763503074645996, 0.11618755757808685, 0.39600175619125366, 0.1429515928030014, 0.22652673721313477, -0.7773390412330627, -0.637901246547699, -0.23675763607025146, -0.22968150675296783, -0.40824541449546814, -0.20406317710876465, -0.6237195730209351, 0.21213936805725098, -0.39787331223487854, 0.20313623547554016, -0.016207749024033546, -0.39081695675849915, -1.0864827632904053, 0.10820405185222626, 0.30936554074287415, 0.3955546021461487, -0.8808258771896362, 0.45337462425231934, 0.8856196999549866, -0.4313790202140808, -0.5343289971351624, -0.20862872898578644, 0.03998409956693649, -0.9492174386978149, 0.5817044377326965, 0.03535902500152588, -0.3434883654117584, -0.04944535344839096, -0.9192250967025757, -0.5528053641319275, 1.2600185871124268, 0.38758715987205505, -0.3646987974643707, -0.21532854437828064, -0.25808659195899963, 0.5081880688667297, -0.378343403339386, 0.4688514173030853, 0.1678425669670105, 0.4794214367866516, 0.13537684082984924, -0.7788384556770325, -0.5592031478881836, -0.30171650648117065, -0.10786134749650955, 0.019241463392972946, -0.8696558475494385, 0.7799660563468933, -0.21224546432495117, 0.2288447916507721, 0.2948116958141327, 0.7953309416770935, 0.10006507486104965, 0.610835611820221, 0.3392738103866577, 0.49247828125953674, 0.4879249632358551, 0.4607001841068268, 1.287248969078064, 0.08391892910003662, 0.0871097594499588, 1.1386967897415161, -0.39337190985679626, 0.5617188215255737, 0.48443135619163513, -0.1298210322856903, 0.48395833373069763, 0.2345164716243744, 0.34753477573394775, 0.507174015045166, -0.3491426408290863, -0.38295117020606995, -0.6686737537384033, 0.14429111778736115, -0.15658290684223175, 0.7661570310592651, 0.1973719298839569, -0.1888570785522461, 0.1481403112411499, 0.5670121312141418, -0.395834356546402, 0.19126969575881958, -0.3152487277984619, 0.9848260879516602, -0.005832113325595856, -0.6410304307937622, 0.34085938334465027, -0.23046875, 0.08032148331403732, -0.5275075435638428, -0.23241233825683594, -0.2057047337293625, 0.29182276129722595, 0.015109206549823284, -0.4957799017429352, 0.12850037217140198, 0.15312711894512177, -0.020500456914305687, -0.18089689314365387, 0.4546624422073364, -0.39343878626823425, -0.31900519132614136, 0.14130915701389313, 0.38440826535224915, 0.3531428575515747, -0.23560400307178497, -0.5898566246032715, 0.004289097152650356, -0.12894994020462036, 0.11765679717063904, 0.100088931620121, 0.3634054660797119, 0.0945812314748764, 0.9037540555000305, 0.2892073094844818, -0.1711139678955078, 0.11550408601760864, -0.05965521186590195, 0.8355360627174377, -0.42278969287872314, -0.584836483001709, -0.736589252948761, 0.6427900791168213, 0.01977613754570484, -0.1794772893190384, 0.7366859316825867, 0.2311670333147049, 0.853305459022522, -0.22509385645389557, 0.6723451018333435, -0.14440639317035675, 0.0810631662607193, -0.48127463459968567, 0.5766614675521851, -0.8916144967079163, -0.049509190022945404, -0.39630722999572754, -0.8466256856918335, -0.36262983083724976, 1.006835699081421, -0.10119170695543289, 0.11632207781076431, 0.241596981883049, 0.40558671951293945, -0.11428225785493851, -0.006106724962592125, 0.6060261130332947, 0.5092488527297974, 0.3219326138496399, 0.5257319211959839, 0.7152993083000183, -0.3696174621582031, 0.21934165060520172, -0.15710218250751495, -0.22908765077590942, -0.40102651715278625, -0.5153362154960632, -0.9162144660949707, -1.0716561079025269, -0.23014241456985474, 0.10558182746171951, 0.3772982060909271, 1.0283993482589722, 1.0706077814102173, -0.15857215225696564, -0.2636013627052307, -0.21524621546268463, -0.22225844860076904, -0.38262343406677246, -0.07567722350358963, 0.11973236501216888, 0.23572255671024323, -0.6984783411026001, 0.17845667898654938, 0.45033663511276245, -0.1685619056224823, -0.7974908351898193, -0.5468204021453857, -0.18107135593891144, 0.016762929037213326, 0.8504834771156311, 0.48570889234542847, -0.9012475609779358, -0.5606123208999634, 0.21426711976528168, 0.44741564989089966, 0.0642479807138443, 0.5732763409614563, -0.891914963722229, 0.893697202205658, 0.16213059425354004, 0.6336029767990112, 0.7787398099899292, 0.33180859684944153, 0.5422382354736328, -0.6558910608291626, 0.38193145394325256, 0.4254370629787445, 0.24864435195922852, 0.39391887187957764, -0.37720048427581787, 0.4654667377471924, 0.15312357246875763, -0.5633403062820435, -0.6484209299087524, 0.2277599275112152, -0.9578686952590942, -0.17075981199741364, 0.9684774875640869, -0.035636983811855316, -0.5807608366012573, -0.19474564492702484, -0.4601891040802002, 0.0029680978041142225, -0.05315563827753067, 0.7490615248680115, 0.5921760201454163, -0.3574833571910858, -0.5389737486839294, -0.709735631942749, 0.12985631823539734, 0.38968625664711, -0.8140459656715393, 0.043090227991342545, 0.7214151620864868, -0.09283016622066498, -0.12167535722255707, 0.7329608201980591, 0.05217275395989418, 0.7413831353187561, -0.16476009786128998, 0.18123315274715424, -0.5239834189414978, -0.7933717966079712, -0.42366310954093933, 0.032216206192970276, 0.02386256866157055, -0.33862462639808655 ]
http://arxiv.org/abs/2406.13805v1
http://arxiv.org/pdf/2406.13805v1
WikiContradict: A Benchmark for Evaluating LLMs on Real-World Knowledge Conflicts from Wikipedia
2024-06-19T20:13:42
2024-06-19T20:13:42
Yufang Hou, Alessandra Pascale, Javier Carnerero-Cano, Tigran Tchrakian, Radu Marinescu, Elizabeth Daly, Inkit Padhi, Prasanna Sattigeri
cs.CL
cs.CL, cs.AI, cs.LG
Retrieval-augmented generation (RAG) has emerged as a promising solution to mitigate the limitations of large language models (LLMs), such as hallucinations and outdated information. However, it remains unclear how LLMs handle knowledge conflicts arising from different augmented retrieved passages, especially when these passages originate from the same source and have equal trustworthiness. In this work, we conduct a comprehensive evaluation of LLM-generated answers to questions that have varying answers based on contradictory passages from Wikipedia, a dataset widely regarded as a high-quality pre-training resource for most LLMs. Specifically, we introduce WikiContradict, a benchmark consisting of 253 high-quality, human-annotated instances designed to assess LLM performance when augmented with retrieved passages containing real-world knowledge conflicts. We benchmark a diverse range of both closed and open-source LLMs under different QA scenarios, including RAG with a single passage, and RAG with 2 contradictory passages. Through rigorous human evaluations on a subset of WikiContradict instances involving 5 LLMs and over 3,500 judgements, we shed light on the behaviour and limitations of these models. For instance, when provided with two passages containing contradictory facts, all models struggle to generate answers that accurately reflect the conflicting nature of the context, especially for implicit conflicts requiring reasoning. Since human evaluation is costly, we also introduce an automated model that estimates LLM performance using a strong open-source language model, achieving an F-score of 0.8. Using this automated metric, we evaluate more than 1,500 answers from seven LLMs across all WikiContradict instances. To facilitate future work, we release WikiContradict on: https://ibm.biz/wikicontradict.
[ -0.4833894670009613, -0.5663528442382812, 0.5080195665359497, 0.1035056859254837, -0.2560882270336151, 0.18557904660701752, -0.17600096762180328, -0.7875053286552429, 0.1520305871963501, 0.2749064862728119, -0.5727033019065857, -0.19334079325199127, -0.5655490159988403, 0.23848308622837067, -0.34658852219581604, 1.0944262742996216, -0.31275036931037903, 0.16189147531986237, -0.6960305571556091, -0.32098662853240967, -0.33145445585250854, -0.23238301277160645, 0.011093832552433014, -0.4482872188091278, 0.5506832003593445, 0.2284976691007614, 0.48164448142051697, 0.05457073822617531, 0.5218407511711121, 0.30479151010513306, -0.05817932263016701, 0.2490466982126236, -0.6551925539970398, 0.7111925482749939, -0.45457902550697327, -0.1694420576095581, -0.07193181663751602, 0.25355765223503113, 0.2890712320804596, 0.4478752017021179, -0.15039409697055817, 0.7073479890823364, -0.023489179089665413, 0.6040293574333191, -0.904133141040802, -0.23505635559558868, -0.709448516368866, 0.022964294999837875, -0.2563706040382385, -0.03391432389616966, -0.2267778366804123, -0.7209197878837585, 0.34769877791404724, -0.7989929914474487, 0.023507514968514442, 0.01470534224063158, 1.0906662940979004, 0.4758327007293701, -0.40749824047088623, -0.43801239132881165, -0.7419160604476929, 0.43732118606567383, -0.5608413815498352, 0.4450795352458954, 0.2548941373825073, 0.3426577150821686, -0.3935483992099762, -0.8788996934890747, -0.7448281049728394, -0.41049912571907043, 0.12516340613365173, 0.4051511287689209, -0.19005592167377472, -0.25057855248451233, 0.41394057869911194, 0.007969078607857227, -0.5576149225234985, -0.07851622253656387, -0.3453408479690552, -0.29406237602233887, 0.5299619436264038, 0.18450209498405457, 0.007498949766159058, -0.5187034010887146, -0.5597200393676758, -0.04235440865159035, -0.6670138835906982, 0.027643395587801933, 0.6078392863273621, -0.4285537898540497, 0.182978555560112, 0.7140393853187561, -0.4772690236568451, 0.639850378036499, 0.11352449655532837, -0.1786651611328125, 0.19999593496322632, -0.07565409690141678, 0.09974411875009537, -0.25341832637786865, 0.7967103719711304, 0.4443032741546631, 0.13806018233299255, -0.3449879586696625, -0.2602616846561432, 0.0153293302282691, 0.6302643418312073, -0.7265587449073792, -0.12207485735416412, 0.07901253551244736, -0.20658206939697266, -0.37606725096702576, -0.04442102462053299, -0.6416189074516296, -0.44939589500427246, -0.21231204271316528, 0.7615798115730286, -0.4619830548763275, -0.27648797631263733, -0.23776715993881226, -0.27627044916152954, 0.04873747006058693, 0.4156164526939392, -0.27950426936149597, 0.10769930481910706, 0.6657394766807556, 0.5680745840072632, -0.3367915153503418, -0.25984203815460205, -0.3739318549633026, 0.05271543189883232, -0.25849592685699463, 1.131829023361206, -0.33636534214019775, -0.2695847749710083, -0.1841084510087967, -0.41463688015937805, 0.08122655004262924, -0.6393746137619019, 0.6870439648628235, -0.7497168183326721, 0.31703996658325195, -0.358289510011673, -0.8182647824287415, 0.03337651863694191, 0.6129412651062012, -0.6699799299240112, 1.2826786041259766, 0.14017271995544434, -1.0751547813415527, 0.5267801284790039, -0.3973308205604553, -0.08144817501306534, 0.4576326906681061, -0.321573406457901, -0.2847926616668701, 0.21196946501731873, -0.48989588022232056, 0.15080420672893524, -0.5935215353965759, 0.227240189909935, -0.3451559245586395, -0.3975895345211029, 0.43492189049720764, -0.5193869471549988, 0.5808976888656616, 0.17094369232654572, -0.4151453673839569, -0.13109737634658813, -0.7527793049812317, 0.2140606939792633, 0.11909607797861099, -0.4853016436100006, -0.6437453031539917, 0.03478185087442398, -0.10076557099819183, 0.44383805990219116, 0.46434515714645386, -0.7421305775642395, 0.01743936911225319, -0.1954278200864792, -0.25771263241767883, 0.8907291293144226, 0.08186082541942596, -0.08625836670398712, -0.43900707364082336, 0.6956560015678406, -0.14889736473560333, 0.3023947775363922, 0.3723776340484619, -0.47214245796203613, -0.595974326133728, 0.07703044265508652, 0.38526639342308044, 0.47034260630607605, -0.9628166556358337, 0.30029675364494324, -0.5039026737213135, -0.6916364431381226, -0.707883894443512, 0.08081301301717758, 0.5070098042488098, 0.7856233716011047, 0.22979536652565002, -0.27722421288490295, -0.3310391306877136, -1.0134756565093994, -0.49356722831726074, -0.30894213914871216, 0.05972900241613388, 0.4425206780433655, 0.4793473184108734, 0.04536532610654831, 1.0473017692565918, -0.23502784967422485, 0.1408139020204544, 0.20652006566524506, 0.369040846824646, -0.03703508898615837, 0.05167737230658531, 0.20878228545188904, -0.9168375730514526, -0.7117744088172913, -0.008567821234464645, -0.7806767821311951, -0.3801940679550171, 0.20856553316116333, -0.10380381345748901, 0.19519124925136566, 0.17080725729465485, -0.8335230946540833, 0.31977710127830505, 0.7403619885444641, -0.5027551651000977, 1.0580224990844727, -0.015570912510156631, 0.41641542315483093, -1.0983487367630005, 0.3298889398574829, -0.2834462821483612, -0.223994180560112, -0.36653342843055725, 0.10258924961090088, 0.2392791211605072, 0.29984012246131897, -0.5411661267280579, 0.5872706770896912, -0.26186808943748474, -0.13035906851291656, -0.08469381183385849, 0.4596270024776459, 0.021390845999121666, 0.25770217180252075, -0.4048483371734619, 1.0276802778244019, -0.15508344769477844, -0.32011955976486206, 0.5976448655128479, 0.21872945129871368, -0.69828861951828, 0.7911590933799744, -0.3872215151786804, 0.15924707055091858, 0.03914909437298775, 0.2730512022972107, -0.8163779973983765, -0.15512162446975708, 0.10769481956958771, -0.3891535699367523, -0.0031811720691621304, -0.26783353090286255, -0.6958339810371399, -0.25433892011642456, -0.42808598279953003, 0.3637066185474396, 0.49913451075553894, -0.539592981338501, 0.5970430970191956, 0.2737210690975189, -0.1540149748325348, -0.9188807010650635, 0.02492450922727585, 0.025258496403694153, -0.028352191671729088, -0.6356901526451111, 0.24000971019268036, -0.3134673237800598, -0.3603758215904236, 0.30696627497673035, -0.48573821783065796, 0.10967810451984406, 0.18866963684558868, 0.3928966820240021, 0.27141207456588745, 0.0005718363099731505, 0.11911517381668091, 0.06415080279111862, -0.07885700464248657, 0.19930312037467957, -0.16752776503562927, 0.46586838364601135, 0.22656220197677612, -0.47950127720832825, 0.10014264285564423, 0.04903940483927727, 0.5176161527633667, -0.07225055247545242, 0.5062515139579773, 0.5124455690383911, -0.15980049967765808, -0.1804070621728897, -1.0150866508483887, 0.08196322619915009, -0.44507235288619995, 0.36274629831314087, -0.4370322525501251, -0.8318264484405518, 0.4710741639137268, -0.3674459755420685, 0.1366921216249466, 0.5764646530151367, 0.6596349477767944, -0.40459752082824707, 0.6817343831062317, 0.18202897906303406, 0.13688696920871735, 0.3039722442626953, -0.01361841056495905, -0.052908241748809814, -0.8361669778823853, -0.48416632413864136, -0.5189569592475891, -0.2970527112483978, -0.6025824546813965, -0.3774670362472534, 0.4546443223953247, 0.31010085344314575, 0.12470809370279312, 0.34871044754981995, -0.27951452136039734, 0.7040032148361206, 0.24129422008991241, -0.14754191040992737, 0.4229423999786377, -0.24805861711502075, -0.5561054348945618, -0.12006519734859467, -0.5495138168334961, -0.5335419178009033, 1.1753634214401245, 0.08022569864988327, 0.6368027329444885, 0.34986796975135803, 0.7645105719566345, 0.2976416349411011, 0.8026546239852905, -0.5275547504425049, 0.5278190970420837, 0.08580512553453445, -0.7951140403747559, -0.09382119029760361, -0.6935154795646667, -0.8661068677902222, 0.4964894950389862, -0.475178986787796, -0.5514198541641235, -0.06805974990129471, -0.027346443384885788, 0.018456067889928818, 0.2264622002840042, -0.6922122240066528, 0.7769806385040283, -0.24628208577632904, -0.5283700823783875, -0.30106714367866516, -0.4173421561717987, 0.5477845668792725, -0.3046432435512543, 0.07165980339050293, -0.3928651213645935, -0.14053292572498322, 0.8166114687919617, -0.22659949958324432, 0.4495837092399597, -0.177180215716362, -0.18876369297504425, 0.02855627052485943, 0.20724308490753174, 0.5109187364578247, -0.009097683243453503, -0.04574878141283989, 0.1319587081670761, 0.25834742188453674, -0.23820112645626068, -0.5616704225540161, 0.8696087598800659, -0.8702473044395447, -0.6759650707244873, -0.43557029962539673, -0.5172911286354065, -0.44709882140159607, 0.31133317947387695, 0.4907836616039276, 0.2807530164718628, -0.5318540334701538, -0.07013638317584991, 0.7243271470069885, -0.1171635314822197, 0.046180032193660736, 0.7978507876396179, -0.15343652665615082, -0.3489048480987549, 0.8550981879234314, 0.2599409520626068, 0.3250933587551117, 0.12494295835494995, 0.056284647434949875, -0.26534610986709595, -0.6053361296653748, -0.38814032077789307, 0.16021935641765594, -0.8169542551040649, -0.5931294560432434, -0.543839156627655, -0.11493843048810959, -0.18003462255001068, 0.2684590518474579, -0.32552215456962585, -0.6621066927909851, 0.1883809119462967, 0.11650533974170685, 0.3432818651199341, 1.0898557901382446, 0.12482533603906631, -0.3922262489795685, -0.7018765211105347, 0.392328143119812, 0.31679245829582214, 0.5893836617469788, -0.15821534395217896, -0.46773701906204224, -0.40876299142837524, -0.17195691168308258, -0.5494418144226074, -0.8938215374946594, -0.08060352504253387, -0.2195366621017456, 0.729202151298523, 0.025057943537831306, 0.3472447395324707, 0.7525540590286255, -0.6474872827529907, 0.6133285760879517, 0.12340711802244186, -0.6618590950965881, 0.2265804558992386, -0.10772232711315155, 0.16694718599319458, 0.7455853223800659, 0.5011491775512695, -0.6365823149681091, -0.7367539405822754, -0.6993977427482605, -0.8547878265380859, 0.4632205367088318, 0.16180692613124847, -0.04816456884145737, -0.05796030908823013, 0.5290037393569946, 0.214486226439476, 0.04552237316966057, -0.5234426259994507, -0.2732188105583191, -0.06717709451913834, -0.324575811624527, 0.34339869022369385, -0.2695331275463104, -0.3481880724430084, -0.05583928897976875, 0.7326663136482239, 0.05409036949276924, 0.024224713444709778, 0.15864011645317078, -0.4789552092552185, -0.34811437129974365, 0.2765790522098541, 0.6520838141441345, 0.8495420217514038, -0.1890586018562317, 0.05466363579034805, 0.36279818415641785, -0.7542474865913391, 0.3146936893463135, 0.3769330382347107, -0.33133578300476074, 0.07136361300945282, 0.49133652448654175, 0.4170481562614441, 0.21128207445144653, -0.9155115485191345, 0.7710159420967102, -0.31031298637390137, -0.2679149806499481, -0.4738543927669525, 0.0961383506655693, 0.1335970014333725, 0.3944070339202881, 0.5145724415779114, 0.0883830115199089, 0.11526893824338913, -0.06969168037176132, 0.2774650454521179, 0.5633671879768372, -0.11586672812700272, -0.24275636672973633, 0.39432230591773987, 0.3198987543582916, -0.23797911405563354, 0.28178104758262634, -0.2336951047182083, -0.5752409100532532, 0.23826909065246582, 0.09898047894239426, 0.8252000212669373, -0.16548587381839752, 0.14711777865886688, 0.18249750137329102, 0.18237967789173126, 0.20788554847240448, 0.07106876373291016, -0.17584630846977234, -0.695702075958252, -0.6528361439704895, -0.628755509853363, -0.665124773979187, 0.0669592022895813, -0.7829668521881104, -0.033724285662174225, -0.4394706189632416, -0.34161263704299927, -0.09962035715579987, 0.41252365708351135, -0.7739576101303101, -0.1313030868768692, -0.14002494513988495, 1.1330859661102295, -0.5772448778152466, 0.9075408577919006, 0.6799774765968323, -0.39997586607933044, -0.5348578095436096, 0.34601330757141113, -0.0931176170706749, -0.5773628950119019, 0.8172078132629395, -0.11979684978723526, -0.284273236989975, -0.18050768971443176, -0.38346001505851746, -0.7067713141441345, 1.2475496530532837, 0.5144177079200745, -0.5218415260314941, 0.1172623336315155, -0.11172021925449371, 0.5119602084159851, 0.1080818921327591, 0.24562814831733704, 0.46286001801490784, 0.4189513325691223, -0.0818760097026825, -1.0521957874298096, -0.02020886167883873, -0.3427076041698456, -0.17861026525497437, 0.32617348432540894, -0.5722892880439758, 0.5173470377922058, 0.08786020427942276, -0.2381884902715683, 0.18540865182876587, 0.4096890687942505, 0.38834837079048157, 0.16514453291893005, 0.5897698402404785, 0.6856377124786377, 0.637125551700592, -0.07422758638858795, 1.0206561088562012, -0.33324846625328064, 0.4048473536968231, 1.0128782987594604, -0.44860145449638367, 1.062424659729004, 0.7291366457939148, -0.17607998847961426, 0.5976533889770508, 0.3476533591747284, 0.14848554134368896, 0.4562093913555145, 0.1786985993385315, -0.4878637492656708, -0.11335977166891098, -0.1024816557765007, -0.26393356919288635, 0.2613060176372528, 0.13737867772579193, 0.1360464245080948, -0.2534748613834381, -0.07845202833414078, -0.08756674826145172, 0.15928374230861664, 0.24542216956615448, 1.0784555673599243, -0.22505679726600647, -0.7861098051071167, 0.5025557279586792, -0.08691816031932831, 0.71088707447052, -0.7171459794044495, -0.12089889496564865, -0.287207692861557, 0.006328024435788393, -0.10926050692796707, -0.7922308444976807, 0.01650158502161503, 0.32294154167175293, -0.17729881405830383, 0.003518171375617385, 0.6487815380096436, -0.35090216994285583, -0.3011421263217926, 0.4615589380264282, 0.5032449960708618, 0.056257955729961395, 0.3649175763130188, -0.7500330805778503, 0.25992196798324585, -0.07717204093933105, -0.5266098976135254, 0.46443450450897217, 0.6560063362121582, 0.0027004678267985582, 0.6777838468551636, 0.6727352738380432, 0.3591989576816559, 0.08583850413560867, -0.06900673359632492, 1.059252381324768, -0.4204149544239044, -0.14263297617435455, -0.4992150366306305, 0.3930896520614624, -0.3096265196800232, -0.442434161901474, 0.9082217216491699, 0.5975792407989502, 0.9463667869567871, 0.15626375377178192, 0.7240040302276611, -0.13840748369693756, 0.8360351920127869, -0.44399431347846985, 0.8079091906547546, -0.482376366853714, 0.289982408285141, -0.31699323654174805, -0.9450981616973877, 0.15868088603019714, 0.6120212078094482, -0.2528458535671234, -0.007556302938610315, 0.5144609212875366, 0.5642548203468323, -0.0959111899137497, -0.03708450868725777, 0.5108320116996765, 0.3473031222820282, 0.3396185338497162, 0.3202630877494812, 1.1740281581878662, -0.3836357593536377, 0.7794245481491089, -0.33568984270095825, -0.06062884256243706, -0.16033048927783966, -0.8516939282417297, -0.6475709080696106, -0.6510507464408875, -0.10202566534280777, -0.5279179811477661, 0.1592523753643036, 1.1162492036819458, 0.47456687688827515, -0.5364614725112915, -0.07136091589927673, 0.3498031795024872, 0.2158147245645523, 0.06736046075820923, -0.21302084624767303, 0.12459448724985123, -0.325345516204834, -0.38623788952827454, 0.29590174555778503, 0.06547185033559799, -0.15678559243679047, -0.4994700849056244, -0.4036795496940613, -0.16795726120471954, 0.18516167998313904, 0.538150429725647, 0.12623581290245056, -0.7926105260848999, -0.4815831482410431, -0.2286691665649414, -0.2862192988395691, -0.3002379238605499, 0.898418128490448, -0.924576997756958, 0.4490591287612915, 0.3956316411495209, 0.6556736826896667, 0.6674582958221436, -0.016452904790639877, 0.39139237999916077, -0.7896819114685059, -0.0211785975843668, 0.41616514325141907, 0.13943685591220856, 0.2975238263607025, -0.18513450026512146, 0.4416731297969818, 0.3291333019733429, -0.5227560997009277, -0.9069764614105225, 0.12912717461585999, -0.6459927558898926, -0.29523858428001404, 0.8992617130279541, -0.2641231119632721, 0.022577326744794846, -0.2730052173137665, 0.0062467437237501144, 0.06856243312358856, -0.1488315314054489, 1.0127627849578857, 0.8758956789970398, 0.003203387139365077, 0.048235081136226654, -0.741836667060852, 0.5839282274246216, 0.3203194737434387, -0.8599354028701782, 0.20233884453773499, 0.6126606464385986, 0.6565433740615845, 0.26233112812042236, 0.4942317008972168, -0.05504420027136803, 0.5709198117256165, -0.0858941450715065, 0.13080371916294098, -0.17210960388183594, -0.13516709208488464, -0.15425975620746613, 0.09063219279050827, 0.2996082305908203, 0.15514442324638367 ]
http://arxiv.org/abs/2406.13803v1
http://arxiv.org/pdf/2406.13803v1
Semantic Structure-Mapping in LLM and Human Analogical Reasoning
2024-06-19T20:07:37
2024-06-19T20:07:37
Sam Musker, Alex Duchnowski, Raphaël Millière, Ellie Pavlick
cs.CL
cs.CL
Analogical reasoning is considered core to human learning and cognition. Recent studies have compared the analogical reasoning abilities of human subjects and Large Language Models (LLMs) on abstract symbol manipulation tasks, such as letter string analogies. However, these studies largely neglect analogical reasoning over semantically meaningful symbols, such as natural language words. This ability to draw analogies that link language to non-linguistic domains, which we term semantic structure-mapping, is thought to play a crucial role in language acquisition and broader cognitive development. We test human subjects and LLMs on analogical reasoning tasks that require the transfer of semantic structure and content from one domain to another. Advanced LLMs match human performance across many task variations. However, humans and LLMs respond differently to certain task variations and semantic distractors. Overall, our data suggest that LLMs are approaching human-level performance on these important cognitive tasks, but are not yet entirely human like.
[ -0.33023667335510254, -0.8859806656837463, 0.7348132133483887, -0.25436052680015564, -0.1972808688879013, 0.08270686864852905, -0.2111365646123886, -0.8137590885162354, 0.14300855994224548, 0.43152734637260437, -0.5512000918388367, -0.6469345688819885, -0.5276725888252258, 0.17628324031829834, -0.2437005341053009, 0.531216025352478, -0.26850971579551697, 0.023610247299075127, -0.28882086277008057, -0.0794016569852829, -0.3494330942630768, -0.674700915813446, -0.5455239415168762, -0.6225332021713257, 0.49872612953186035, 0.15224634110927582, 0.7063377499580383, 0.8055862784385681, 0.5337732434272766, 0.3633338510990143, -0.2830236554145813, -0.1261591613292694, -0.29138779640197754, 0.053287528455257416, -0.5266742706298828, -0.6927638053894043, -0.7783879041671753, -0.06119846925139427, 0.614788293838501, 1.2899094820022583, 0.12417442351579666, 0.18788565695285797, -0.011304515413939953, 0.7360049486160278, -0.42479991912841797, 0.36582404375076294, -0.7000734210014343, -0.2862156927585602, -0.046859122812747955, -0.191286101937294, -0.0405568964779377, -0.2934829592704773, 0.25350162386894226, -0.9284453988075256, 0.26236891746520996, 0.47082021832466125, 0.7964454889297485, 0.08542387187480927, -0.45932644605636597, -0.456068217754364, -0.4938422441482544, 0.7013728022575378, -0.5459410548210144, 0.3085697889328003, 0.397053062915802, 0.03297444432973862, -0.5819208025932312, -0.4147024154663086, -0.5678959488868713, -0.5373747944831848, -0.06926708668470383, -0.1084662452340126, 0.05061474069952965, 0.3394130766391754, 0.4476155936717987, 0.15076687932014465, -0.5171127915382385, 0.24958087503910065, -0.5924195647239685, -0.24215808510780334, 0.4708440899848938, 0.3300478756427765, 0.7125964164733887, -0.13815878331661224, -0.617618203163147, -0.17797298729419708, -1.0067665576934814, -0.018651098012924194, 0.4203904867172241, 0.3712382912635803, 0.019293593242764473, 0.7092961072921753, -0.2383916825056076, 0.9026952981948853, -0.25519055128097534, -0.2636544108390808, 0.061773672699928284, -0.31915879249572754, 0.03617766872048378, 0.2541857063770294, 0.4439554214477539, 0.5971679091453552, 0.7317795753479004, -0.24861782789230347, -0.0863034576177597, 0.7033728361129761, 0.21063776314258575, -0.4559670686721802, -0.1953524351119995, -0.012503605335950851, -0.373129278421402, 0.08489584177732468, -0.004657846875488758, -0.3768095374107361, 0.03692453354597092, -0.5701783299446106, 0.4361319839954376, -0.448797345161438, -0.11461993306875229, 0.31724998354911804, -0.28648683428764343, 0.37898632884025574, 0.34411704540252686, -1.0496876239776611, 0.6827163100242615, 0.8065276145935059, 0.462715744972229, -0.5585648417472839, -0.535513699054718, 0.089696004986763, 0.2941572368144989, -0.4322170913219452, 1.0026590824127197, -0.5208625793457031, -0.44429510831832886, -0.18714600801467896, -0.053542837500572205, -0.11770759522914886, -0.7550103068351746, 0.5514616370201111, -0.3734031915664673, -0.022816181182861328, -0.505953848361969, -0.575894296169281, -0.5239675045013428, 0.4195795953273773, -0.5519066452980042, 0.8140860199928284, 0.35703375935554504, -0.4150301218032837, 0.2670272886753082, -0.45373857021331787, -0.6000044345855713, -0.06510373204946518, -0.3140837252140045, 0.02350856550037861, 0.17353801429271698, -0.15485578775405884, 0.19539107382297516, -0.5570163726806641, -0.07361992448568344, -0.4398667812347412, -0.7392871379852295, 0.3340483605861664, 0.19329440593719482, 0.5926828980445862, -0.07232798635959625, -0.26452237367630005, 0.30797117948532104, -0.5979898571968079, 0.09179828315973282, 0.08770940452814102, -0.24480481445789337, -0.5997151136398315, 0.19949713349342346, -0.015809783712029457, 0.5206114649772644, 0.09228300303220749, -0.5770359039306641, 0.22934682667255402, -0.7021740674972534, 0.6057131886482239, 0.5760418176651001, -0.18687328696250916, 0.5614623427391052, -0.626481831073761, 0.3819827735424042, 0.14356361329555511, -0.35578230023384094, -0.04310602694749832, -0.5747597813606262, -0.66184002161026, -0.27516141533851624, 0.05261312052607536, 0.49563854932785034, -0.2918950021266937, 0.5490507483482361, -0.46132344007492065, -0.2743982672691345, -0.4563852846622467, 0.1326778382062912, 0.4034328758716583, 0.6026288270950317, 0.35007473826408386, -0.5287773609161377, -0.3436164855957031, -0.9229379296302795, -0.30165189504623413, -0.5165449976921082, -0.2845228910446167, 0.006003640126436949, 0.5511885285377502, -0.10694446414709091, 0.7214369177818298, -0.39859738945961, -0.49148958921432495, -0.19517716765403748, 0.037415117025375366, -0.06442639976739883, 0.18975499272346497, 0.3079182505607605, -0.7009429335594177, -0.0016578378854319453, -0.05110969766974449, -0.6175898313522339, -0.16595493257045746, 0.0078009143471717834, -0.143893301486969, 0.0767742395401001, 0.5403613448143005, -0.7149161696434021, 0.3760501444339752, 0.1673639565706253, -0.5142638087272644, 0.4943276345729828, -0.2949684262275696, 0.2451457381248474, -0.8293357491493225, -0.03601325675845146, -0.1228640228509903, 0.04127110540866852, -0.49132978916168213, 0.23483189940452576, -0.05342797189950943, 0.05273287370800972, -0.5519536733627319, 0.6531369090080261, -0.6882612109184265, -0.48128437995910645, -0.3830268681049347, 0.5135727524757385, -0.02713259682059288, 0.6068812608718872, 0.10304442793130875, 0.6165947318077087, 0.4746754765510559, -0.61998051404953, 0.21515661478042603, 0.09464655816555023, -0.2937859892845154, 0.651279628276825, -0.8076640963554382, -0.11709029227495193, 0.004431554581969976, 0.22383321821689606, -1.0216180086135864, -0.08060115575790405, 0.2706206440925598, -0.3405328392982483, 0.1494232565164566, 0.3479149043560028, -0.6546309590339661, -0.10003753751516342, -0.34162309765815735, 0.6376724243164062, 0.6605700254440308, -0.17305919528007507, 0.7075057625770569, 0.19125370681285858, -0.025372570380568504, 0.038158923387527466, -0.6146503686904907, -0.06269339472055435, -0.37300705909729004, -0.6636600494384766, 0.4998336732387543, 0.08609747141599655, -0.48252996802330017, 0.2381102442741394, -0.3206765949726105, -0.008428988046944141, 0.36347031593322754, 0.4263920485973358, 0.4034877419471741, -0.44842711091041565, -0.08831679821014404, -0.14730669558048248, -0.17405976355075836, 0.48425528407096863, -0.09688512980937958, 0.22585493326187134, -0.2382524013519287, -0.6471526622772217, -0.28742483258247375, 0.3096136748790741, 0.5897265672683716, 0.14903020858764648, 0.5281444191932678, 0.042203180491924286, -0.42097145318984985, 0.045118097215890884, -0.3940507471561432, -0.3875722289085388, -0.37204012274742126, 0.5181566476821899, -0.6682256460189819, -0.9499529004096985, 0.6128424406051636, -0.29252734780311584, -0.1398128867149353, 0.5722512602806091, 0.7630175352096558, -0.42973196506500244, 0.6307988166809082, 0.24989080429077148, 0.1965949535369873, 0.043157417327165604, 0.017008477821946144, 0.03769325464963913, -1.0296685695648193, -0.07376278191804886, -0.5073117017745972, -0.5887261629104614, -0.6268551349639893, -0.4417625665664673, 0.049298062920570374, 0.1310379058122635, -0.1213330626487732, 0.3979146480560303, -0.3387168049812317, 0.3697119355201721, 0.28452154994010925, -0.06686560064554214, 0.4826841950416565, -0.0823097825050354, -0.20189732313156128, -0.07571481913328171, -0.4567916691303253, -0.6974173784255981, 1.1103217601776123, 0.09988516569137573, 0.862777054309845, -0.019427355378866196, 0.48487910628318787, -0.10347822308540344, 0.24803026020526886, -0.9049879908561707, 0.8769565224647522, -0.08816879242658615, -0.5187016129493713, -0.2585532069206238, -0.23906265199184418, -1.1248730421066284, 0.6717438101768494, -0.2977333664894104, -0.8350715041160583, -0.05419451743364334, 0.10706788301467896, 0.1593569964170456, 0.33580538630485535, -0.7311033606529236, 0.6433125734329224, -0.0925469622015953, 0.20392850041389465, -0.31194907426834106, -0.8287560343742371, 0.33094164729118347, -0.11162995547056198, 0.292337030172348, -0.4561055898666382, -0.2662622034549713, 0.5286732316017151, 0.02021181397140026, 0.8686921000480652, 0.31698858737945557, -0.005678224842995405, 0.23178942501544952, 0.36842209100723267, 0.21567969024181366, -0.5913288593292236, 0.11318247020244598, 0.3251403272151947, 0.11262547224760056, -0.568859875202179, -0.8417940735816956, 0.6860424280166626, -0.7172914743423462, -0.9047307968139648, -0.4509392976760864, -0.8491626381874084, -0.135128453373909, -0.029758552089333534, -0.027430085465312004, 0.16649986803531647, -0.1513299196958542, 0.08285702019929886, 0.5948309302330017, 0.23829242587089539, 0.06861330568790436, 0.3648013770580292, -0.054661769419908524, 0.1119944155216217, 0.6422138810157776, 0.03524333983659744, 0.6369436383247375, 0.6796790957450867, 0.295257031917572, -0.2613440752029419, -0.6641368269920349, -0.3342612683773041, 0.27821511030197144, -0.7990677952766418, 0.20638234913349152, -0.3840666711330414, -0.08434360474348068, -0.10016477853059769, -0.354383260011673, -0.13131482899188995, -0.6135888695716858, -0.14244425296783447, -0.07094467431306839, 0.0704539567232132, 0.4744543731212616, 0.33895283937454224, -0.07905073463916779, -0.44054797291755676, 0.6509671211242676, 0.2279367744922638, -0.06356959044933319, -0.013635313138365746, -0.45556581020355225, 0.13286840915679932, 0.062058690935373306, -0.32303786277770996, -0.8663926124572754, -0.17559398710727692, 0.21273690462112427, 0.7175942063331604, 0.16196303069591522, -0.09733785688877106, 0.734042227268219, -0.5141481161117554, 0.66402268409729, 0.1869758814573288, -0.7652322053909302, 0.4830913841724396, -0.2686484456062317, 0.48521342873573303, 0.20126865804195404, 0.3389868140220642, -0.4165799617767334, -0.5891117453575134, -0.3954383432865143, -0.8851780891418457, 0.4289277195930481, 0.2542930543422699, -0.08400388062000275, -0.09210889786481857, 0.5689504742622375, -0.022793632000684738, -0.06773559004068375, -0.46696680784225464, -0.16178850829601288, 0.15591633319854736, -0.2961341142654419, -0.006131416652351618, -0.08994948863983154, -0.2092732936143875, -0.277593731880188, 0.12028896808624268, -0.1650536209344864, 0.1609049141407013, 0.17470380663871765, -0.32304513454437256, -0.20772401988506317, 0.4142409563064575, 0.7519542574882507, 0.9478164315223694, -0.1861116737127304, 0.4885895550251007, 0.38914281129837036, -0.3360198438167572, 0.34035077691078186, -0.061132125556468964, -0.003758489154279232, -0.3751640319824219, 0.8388804793357849, 0.5386504530906677, 0.8357911109924316, -0.9223118424415588, 0.2171301692724228, 0.36308079957962036, -0.3475111126899719, -0.12353869527578354, 0.37026092410087585, 0.4318764805793762, 0.1191728338599205, 0.17671966552734375, -0.11138826608657837, 0.10123700648546219, -0.854863703250885, 0.05208802968263626, 0.43943414092063904, -0.2314218133687973, -0.6259990930557251, 0.7313136458396912, -0.09188499301671982, -0.46596118807792664, 0.5546578168869019, 0.19566316902637482, -0.4477532207965851, 0.7560920119285583, 0.7777308225631714, 0.829878568649292, -0.017542626708745956, -0.33816835284233093, 0.19679555296897888, 0.36459508538246155, -0.07646746933460236, 0.3268471658229828, -0.15416045486927032, -0.7873952984809875, -0.3825664818286896, -0.5500877499580383, -0.28327861428260803, -0.35692891478538513, -0.7344599962234497, 0.22727668285369873, -0.2324276566505432, -0.10651422291994095, -0.13738581538200378, -0.19983798265457153, -0.6155111193656921, 0.31069180369377136, 0.03008153848350048, 0.8597312569618225, -0.9123204946517944, 0.932081401348114, 0.9886729717254639, -0.3243669867515564, -0.5904141664505005, -0.07005798816680908, -0.04073118418455124, -0.8043418526649475, 1.1717414855957031, 0.013314100913703442, -0.42805272340774536, -0.17784841358661652, -0.12222600728273392, -0.821785032749176, 1.2096697092056274, 0.3950387239456177, -0.2539355456829071, -0.43000754714012146, 0.24712371826171875, 0.8557027578353882, -0.5922514796257019, 0.12626299262046814, 0.4931879937648773, 0.2591840922832489, 0.38359421491622925, -0.816777229309082, 0.3803320527076721, 0.20541149377822876, 0.3746381998062134, 0.33461493253707886, -0.19639867544174194, 0.746428906917572, -0.21294867992401123, -0.32127296924591064, 0.04216832295060158, 0.6584506034851074, 0.7274121642112732, 0.10451558232307434, 0.5907790064811707, 0.6171488761901855, 0.26739972829818726, -0.0534672886133194, 1.017556071281433, -0.2310580611228943, 0.05320628732442856, 1.0932865142822266, -0.3450391888618469, 1.1062465906143188, 0.8522891998291016, -0.2388191819190979, 0.573503851890564, 0.531520664691925, 0.3121931552886963, 0.2328139841556549, 0.6248096227645874, 0.12013901770114899, -0.2814648151397705, 0.08050709962844849, -0.2278384417295456, 0.35129085183143616, 0.551002025604248, -0.1422116458415985, -0.40128278732299805, -0.4426449239253998, -0.0549725778400898, 0.3521164655685425, -0.13609808683395386, 0.7041113972663879, 0.30300119519233704, -0.5707283616065979, 0.6073207855224609, 0.08957509696483612, 0.3792860209941864, -0.6813386082649231, -0.18438085913658142, 0.0685330480337143, -0.091959647834301, 0.06323495507240295, -0.8199203610420227, 0.5348552465438843, -0.4697711765766144, -0.2036043256521225, -0.1996678113937378, 0.7703059911727905, -0.4888521730899811, -0.3299558162689209, 0.6464908719062805, 0.5424977540969849, 0.31314975023269653, 0.0414704754948616, -0.5149238109588623, 0.12364724278450012, -0.39832615852355957, -0.26118871569633484, 0.5573249459266663, 0.34186670184135437, -0.4781951606273651, 0.842560350894928, 0.7036259174346924, 0.32226988673210144, 0.11493322253227234, -0.21666616201400757, 0.836848258972168, -0.968549907207489, -0.3931593596935272, -0.899261474609375, 0.18885654211044312, 0.30599403381347656, -0.2938801050186157, 0.6166515350341797, 0.4495179057121277, 1.0166208744049072, -0.14272794127464294, 0.18225683271884918, 0.24196095764636993, 0.19963163137435913, -0.5934630036354065, 0.4298670291900635, -0.5296145081520081, 0.11712699383497238, -0.2305123209953308, -1.1990536451339722, -0.2676968574523926, 0.5720186233520508, -0.2238766849040985, -0.10223112255334854, 1.0187530517578125, 0.707126796245575, -0.12165858596563339, -0.06023440882563591, 0.5986775755882263, 0.22632455825805664, 0.1263660043478012, 0.826955258846283, 0.8814899921417236, -0.28197410702705383, 0.34401944279670715, 0.12794871628284454, -0.16681112349033356, -0.11461960524320602, -0.766456663608551, -1.073103666305542, -0.6797217130661011, -0.3166797459125519, -0.04669569805264473, 0.04115593805909157, 0.9276314973831177, 0.5776570439338684, -0.6314114332199097, -0.5267554521560669, -0.050599705427885056, 0.31593871116638184, -0.3505658507347107, -0.18062745034694672, 0.47510629892349243, -0.19270142912864685, -0.6230195164680481, 0.2206512987613678, 0.5197868347167969, 0.012810834683477879, -0.4266285300254822, 0.08222810178995132, -0.17875699698925018, 0.06902341544628143, 0.5594273805618286, 0.23334430158138275, -1.4679096937179565, -0.4067651331424713, -0.09126709401607513, -0.33913281559944153, 0.16626578569412231, 0.9363572597503662, -0.6997044682502747, 0.3700118958950043, 0.6152193546295166, 0.5232224464416504, 0.3283981382846832, -0.005889347288757563, 0.44681987166404724, -0.35097506642341614, 0.2897094488143921, 0.08306428790092468, 0.2886069416999817, 0.24930749833583832, -0.12412791699171066, 0.39996808767318726, 0.44740068912506104, -0.31264182925224304, -0.5772169828414917, 0.49704796075820923, -1.2302888631820679, -0.3807344436645508, 1.1047005653381348, -0.11266026645898819, -0.5622332096099854, -0.22427374124526978, -0.21627135574817657, 0.06897043436765671, -0.04397285729646683, 0.8015661835670471, 0.9357839822769165, -0.3357403576374054, 0.11957508325576782, -0.47697553038597107, 0.24796932935714722, 0.34756919741630554, -0.9126912355422974, -0.3374038636684418, 0.3270162343978882, 0.4639037251472473, 0.06494558602571487, 0.5751805305480957, -0.22990523278713226, 0.31169191002845764, -0.09763914346694946, 0.16504162549972534, 0.04125262424349785, -0.11299415677785873, -0.007799509912729263, 0.26490238308906555, 0.1840260773897171, -0.22850926220417023 ]
http://arxiv.org/abs/2406.13791v2
http://arxiv.org/pdf/2406.13791v2
IoT-Based Preventive Mental Health Using Knowledge Graphs and Standards for Better Well-Being
2024-06-19T19:35:14
2024-06-29T15:29:56
Amelie Gyrard, Seyedali Mohammadi, Manas Gaur, Antonio Kung
cs.AI
cs.AI, cs.CL, cs.CY, cs.LG
Sustainable Development Goals (SDGs) give the UN a road map for development with Agenda 2030 as a target. SDG3 "Good Health and Well-Being" ensures healthy lives and promotes well-being for all ages. Digital technologies can support SDG3. Burnout and even depression could be reduced by encouraging better preventive health. Due to the lack of patient knowledge and focus to take care of their health, it is necessary to help patients before it is too late. New trends such as positive psychology and mindfulness are highly encouraged in the USA. Digital Twin (DT) can help with the continuous monitoring of emotion using physiological signals (e.g., collected via wearables). Digital twins facilitate monitoring and provide constant health insight to improve quality of life and well-being with better personalization. Healthcare DT challenges are standardizing data formats, communication protocols, and data exchange mechanisms. To achieve those data integration and knowledge challenges, we designed the Mental Health Knowledge Graph (ontology and dataset) to boost mental health. The Knowledge Graph (KG) acquires knowledge from ontology-based mental health projects classified within the LOV4IoT ontology catalog (Emotion, Depression, and Mental Health). Furthermore, the KG is mapped to standards (e.g., ontologies) when possible. Standards from ETSI SmartM2M, ITU/WHO, ISO, W3C, NIST, and IEEE are relevant to mental health.
[ -0.5206875205039978, -0.6577264666557312, 0.7437808513641357, 0.09627976268529892, -0.2388451099395752, 0.1063840240240097, 0.2378879189491272, -0.7295948266983032, 0.43521758913993835, 0.42584463953971863, -0.9153222441673279, -0.7337992191314697, -0.5663175582885742, 0.07856976985931396, -0.07628095149993896, 1.1679519414901733, -0.13758139312267303, 0.18640780448913574, -0.10174805670976639, 0.3308747708797455, -0.6212285161018372, -0.12023552507162094, -0.8545244932174683, -0.6082547307014465, 0.49740055203437805, 0.5360792279243469, 0.4098747968673706, 0.19380688667297363, 0.8332574963569641, 0.12397594004869461, 0.2410689741373062, 0.15196411311626434, -0.4545859694480896, 0.01711142249405384, 0.08052817732095718, -0.40346720814704895, -0.7730467915534973, -0.05766299366950989, 0.03992438688874245, 0.30520185828208923, -0.12348417937755585, 0.20882605016231537, -0.02555285394191742, 0.9362291693687439, -0.2815663516521454, 0.3930240273475647, -0.011938249692320824, 0.3412800133228302, -0.11449486017227173, -0.26649409532546997, 0.4043302536010742, -0.6275205612182617, -0.1724245548248291, -0.5216333866119385, -0.1335899531841278, -0.17927536368370056, 0.6198276877403259, 0.5764625668525696, -0.6342116594314575, -0.11960490792989731, -0.7881333827972412, 0.4736730754375458, -0.5031504034996033, 0.36729559302330017, 0.6382084488868713, 0.31598132848739624, -0.2330731749534607, -0.547011137008667, -0.6523805856704712, 0.5080742239952087, 0.04100058972835541, 0.5002377033233643, -0.41769006848335266, 0.003521088045090437, 0.4606204628944397, 0.11107467859983444, -0.5049281120300293, -0.2680169939994812, -0.5516217350959778, -0.11398064345121384, 0.850757360458374, 0.410050630569458, 0.47059252858161926, -0.15645360946655273, -0.34652870893478394, 0.21086342632770538, -0.5277504324913025, 0.000532225938513875, 0.05189524218440056, -0.025593837723135948, -0.5095151662826538, 0.5457943677902222, -0.4538359045982361, 0.39021649956703186, 0.13429786264896393, -0.49628642201423645, 0.31334546208381653, -0.47117331624031067, 0.10606683045625687, 0.2833974361419678, 0.4773702025413513, 1.0166279077529907, 0.09217569977045059, -0.2739757299423218, 0.012698648497462273, 0.29606443643569946, 0.5265640020370483, -0.7461430430412292, -0.23876051604747772, 0.6749268174171448, -0.4869438409805298, 0.0704958587884903, -0.04019314423203468, -0.7592087984085083, -0.513075590133667, -0.6220375895500183, 0.4342030882835388, -0.7091796398162842, -0.34968751668930054, 0.27237585186958313, -0.2236103117465973, -0.16422536969184875, 0.1526661515235901, -0.6156728863716125, 0.25215601921081543, 0.878005862236023, 0.7700804471969604, -0.015717865899205208, 0.25730764865875244, 0.11993146687746048, 0.6136616468429565, -0.09477858245372772, 0.7151970267295837, 0.06960101425647736, -0.3761237561702728, -0.23057782649993896, -0.15898148715496063, 0.1163412481546402, -0.3206884562969208, 0.732750415802002, -0.1766062080860138, 0.1882462054491043, -0.5736761093139648, -0.3816901445388794, -0.04726343974471092, 0.5386610627174377, -0.3598098158836365, 0.6633542776107788, 0.11340640485286713, -1.0414592027664185, 0.45588281750679016, -1.177807092666626, -0.6153742671012878, 0.27162405848503113, 0.011680441908538342, -0.38506200909614563, -0.20882925391197205, 0.19418074190616608, 0.5827406048774719, -0.522067666053772, 0.12557445466518402, -0.5853081345558167, -0.3926408886909485, -0.3143186867237091, 0.09970200061798096, 0.774698793888092, 0.2501877248287201, -0.3403164744377136, 0.1927776336669922, -0.6756227016448975, 0.3268378674983978, 0.05472904443740845, 0.039315421134233475, -0.4484133720397949, 0.1004183292388916, -0.22374267876148224, 0.4571830630302429, 0.24480627477169037, -0.8156947493553162, -0.1388825923204422, 0.1454796940088272, 0.578738808631897, 0.5190773010253906, 0.4415239095687866, -0.44446566700935364, -0.6669833660125732, 0.2719705402851105, 0.1472102850675583, 0.8481717109680176, 0.4195539355278015, -0.6853427886962891, -0.18017159402370453, -0.6876416206359863, -0.2629823088645935, 0.7913697957992554, -0.6346347332000732, 1.082251787185669, -0.4491040110588074, -0.5695487260818481, -0.5234131813049316, -0.19223453104496002, -0.16770368814468384, 0.8975907564163208, 0.2774161398410797, -0.14154939353466034, -0.4938979148864746, -0.49630966782569885, 0.13558869063854218, -0.08545996993780136, -0.00042917885002680123, 0.016419628635048866, 0.33346566557884216, -0.8551268577575684, 1.038524866104126, -0.5529820919036865, -0.6158047318458557, -0.010892284102737904, -0.018971024081110954, 0.12307269126176834, 0.5433133840560913, 0.26621150970458984, -1.018112301826477, -0.33747175335884094, -0.07569243013858795, -1.0476018190383911, -0.12365720421075821, 0.38459286093711853, -0.1563575714826584, -0.17506515979766846, 0.08260436356067657, -0.40656086802482605, 0.4764695167541504, 0.28239530324935913, -0.44936493039131165, 0.27105632424354553, -0.24276326596736908, 0.3138687312602997, -1.2420003414154053, 0.21535475552082062, -0.06051887944340706, -0.19872213900089264, -0.7118279933929443, -0.48128432035446167, 0.009776130318641663, -0.2926287055015564, -0.12578165531158447, 0.3295246660709381, 0.33705058693885803, 0.27003213763237, -0.14294122159481049, 0.019929371774196625, 0.07299872487783432, -0.0007571247406303883, -0.3375757038593292, 0.4001917243003845, 0.500475287437439, -0.37278667092323303, 0.6115435361862183, 0.2640913128852844, -0.10168708115816116, 1.389099359512329, -0.574317455291748, 0.13900886476039886, -0.2157192826271057, 0.2840207815170288, -0.39886707067489624, -0.13337752223014832, 0.31531858444213867, -0.44744187593460083, 0.059425193816423416, 0.6256074905395508, -0.8837898373603821, -0.8517276048660278, -0.5161091089248657, 0.1669435352087021, 0.3609987199306488, -0.2074241042137146, 0.1566927433013916, 0.5225744247436523, -0.14844387769699097, -0.2260414958000183, -0.5990437269210815, 0.10523492842912674, -0.5969394445419312, -0.7057569622993469, 0.39609548449516296, -0.16850578784942627, -0.200215682387352, 0.24482908844947815, -0.20292170345783234, 0.1869456022977829, 0.004659115336835384, 0.6008786559104919, 0.41138795018196106, 0.18797729909420013, 0.5522221922874451, -0.04867258295416832, -0.6468065977096558, 0.2836730480194092, -0.5654706358909607, 0.43413957953453064, -0.13542048633098602, -0.4570280909538269, -1.0183231830596924, 0.8684210181236267, 0.48165276646614075, -0.01727449707686901, 0.7920259833335876, 0.6542131900787354, -0.7738132476806641, 0.4582374095916748, -0.6193156838417053, -0.39019668102264404, -0.41209664940834045, -0.004535226617008448, -0.3375163972377777, -0.8877255320549011, 0.5532090067863464, -0.2249463051557541, -0.2322888970375061, 0.3556762933731079, 0.35406115651130676, -0.6315615773200989, 1.3791297674179077, 0.6280731558799744, -0.0556066632270813, 0.2555069029331207, -0.2326805144548416, 0.7678213715553284, -0.845703125, -0.33306941390037537, -0.3057378828525543, -0.4976001977920532, -0.7028719782829285, -0.04377998039126396, 0.8355152010917664, 0.3638184666633606, -0.6098160743713379, 0.012361831031739712, -0.7706283330917358, -0.043216772377491, 0.567064106464386, 0.530888020992279, 0.47600123286247253, -0.15725596249103546, -0.11574811488389969, -0.3372292220592499, -0.3733186721801758, -0.41888436675071716, 1.0788382291793823, 0.08404818177223206, 0.7332762479782104, 0.18321427702903748, 0.885086178779602, 0.5764721035957336, 0.23745542764663696, -0.5346603989601135, 0.19387619197368622, -0.17561711370944977, -0.6884893774986267, -0.12929819524288177, -0.6650940179824829, -0.9136834740638733, -0.5773607492446899, -0.17874296009540558, -1.1926571130752563, 0.2638302147388458, -0.09696465730667114, -0.3720302879810333, 0.2941604554653168, -0.5574247241020203, 0.5602650046348572, -0.406440794467926, -0.16425080597400665, -0.5658310055732727, -0.6431832313537598, 0.24192307889461517, -0.3841686248779297, 0.17481261491775513, -0.5541892647743225, 0.3887363374233246, 0.8318817019462585, -0.21481089293956757, 0.6091934442520142, 0.0300949327647686, 0.1676638424396515, 0.24369534850120544, -0.5974096059799194, 0.24606318771839142, 0.17981602251529694, 0.06223627179861069, 0.2977474629878998, 0.43386271595954895, -0.4074794054031372, -0.612566351890564, 0.6692736148834229, -1.0830775499343872, -0.4814522862434387, -0.10823336243629456, -0.4867093563079834, -0.41161540150642395, 0.589473307132721, 0.15884751081466675, 0.19321094453334808, 0.2011263072490692, -0.019035641103982925, 0.5549777746200562, 0.10056718438863754, -0.08651803433895111, 0.3319556713104248, -0.11059044301509857, -0.5693727731704712, 0.9629870653152466, 0.22663743793964386, 0.08339772373437881, 0.17749497294425964, 0.35500672459602356, -0.212925523519516, 0.002398671815171838, 0.2813813388347626, 0.23395507037639618, -0.5696733593940735, -0.3441040813922882, -0.6455767750740051, -0.34582510590553284, -0.7880752086639404, -0.19735229015350342, -0.14239032566547394, -0.1795382797718048, -0.08670651912689209, -0.2457706332206726, 0.7021359801292419, 0.9013736844062805, -0.5921594500541687, 0.05163360759615898, -0.823604166507721, 0.6963824033737183, 0.6569563746452332, 0.6833760142326355, -0.17131608724594116, 0.5825455188751221, -0.14991115033626556, 0.2434058040380478, -0.40839719772338867, -0.8773466944694519, -0.01589127816259861, -0.40315040946006775, 0.2796696424484253, 0.7649806141853333, 0.46466824412345886, 0.7831947803497314, -0.05070478096604347, 0.3089607357978821, 0.6174378991127014, -0.6558332443237305, 0.7400816679000854, -0.49496468901634216, 0.14051860570907593, 0.6019173264503479, 0.3994356691837311, -1.0478426218032837, 0.23982737958431244, -0.6097586750984192, -0.7355413436889648, 0.6279442310333252, 0.09965476393699646, -0.3200719356536865, 0.03507150709629059, 0.45523515343666077, -0.03438834846019745, 0.16062189638614655, -0.32108840346336365, -0.24650679528713226, -0.3456434905529022, -0.5523301959037781, 0.19917882978916168, 0.06384480744600296, -0.7466456890106201, -0.2800019085407257, 0.7649877667427063, -0.09874314069747925, 0.7029550671577454, 0.18440105020999908, 0.5379889011383057, -0.1456548273563385, 0.05366627499461174, 0.17903022468090057, 0.26806050539016724, -0.4902605414390564, 0.2761726379394531, -0.12316261976957321, -0.5210626125335693, 0.11327890306711197, 0.23361048102378845, -0.2889566719532013, -0.5455795526504517, 0.15450654923915863, 0.5698966383934021, -0.23495732247829437, -0.4153146743774414, 0.04179595038294792, -0.07036031037569046, 0.05699129030108452, -0.16351766884326935, 0.18559008836746216, 0.30462026596069336, 0.5589438080787659, 0.10923904925584793, -0.19757463037967682, -0.00400015851482749, -0.38539251685142517, 0.21986174583435059, 0.30124086141586304, -0.6430676579475403, -0.2666071057319641, 0.5023214221000671, 0.28738704323768616, -0.5534833669662476, 0.5926525592803955, -0.314788818359375, -0.3843347430229187, 0.5669841170310974, 0.6684733629226685, 0.5115212202072144, -0.06742619723081589, 0.3045186400413513, 0.17761977016925812, 0.29531174898147583, 0.04215630143880844, 0.8962810039520264, -0.1770259588956833, -0.6851509213447571, 0.010037869215011597, -0.060106247663497925, -0.30206260085105896, 0.05005422979593277, -0.7215514779090881, 0.3737387955188751, -0.4391997456550598, -0.7541905641555786, -0.3437926173210144, 0.4131242632865906, -0.8820211291313171, 0.567766010761261, 0.3369227945804596, 0.5824297666549683, -0.6311329007148743, 0.6372151374816895, 0.7950962781906128, -0.13034304976463318, -0.5671638250350952, 0.10314379632472992, 0.38382479548454285, -0.6654270887374878, 0.2202892005443573, 0.32462307810783386, -0.2365390509366989, 0.10273981839418411, -0.2083728313446045, -0.9478570222854614, 1.3308672904968262, 0.2051122784614563, -0.215058371424675, 0.0640421062707901, 0.4967029094696045, 0.5457984805107117, -0.2194393277168274, 0.04172101989388466, 0.4047665596008301, 0.8858924508094788, 0.006566014606505632, -0.5596472024917603, -0.03186146542429924, -0.30091455578804016, -0.0723455399274826, 0.2579873502254486, -0.65544593334198, 0.4065014719963074, -0.27113863825798035, -0.28045913577079773, -0.5748529434204102, 0.04026895761489868, 0.3439604640007019, 0.5215556025505066, 0.3944914937019348, 1.067796230316162, 0.9204878211021423, -0.1827741116285324, 0.8083268404006958, -0.5283589363098145, 0.35808873176574707, 0.8938864469528198, -0.41532930731773376, 0.47171685099601746, 0.3494589924812317, -0.4048488736152649, 0.21730495989322662, 0.7787641286849976, 0.14329491555690765, 0.63874351978302, -0.022587664425373077, -0.46635526418685913, -0.07004023343324661, -0.40746280550956726, -0.6304774880409241, 0.07449644058942795, 0.6481876969337463, 0.21535666286945343, -0.23100998997688293, 0.3131957948207855, 0.21367762982845306, -0.2496056705713272, -0.1648082584142685, 0.6578546166419983, 0.1843765377998352, -0.2020747810602188, 0.061190493404865265, -0.06405995041131973, 0.47225502133369446, -0.6598981618881226, 0.06908319890499115, -0.027687808498740196, 0.2779403626918793, -0.4132566452026367, -0.6773691773414612, 0.6545888781547546, 0.10457267612218857, -0.3170737028121948, -0.33114954829216003, 0.852471113204956, -0.051216285675764084, -0.6050456762313843, 0.5507351756095886, 0.44599059224128723, -0.013752779923379421, -0.06876061856746674, -0.5142385363578796, -0.29554319381713867, -0.2702278792858124, 0.15668804943561554, 0.08596163988113403, 0.5122471451759338, -0.1811949610710144, 0.6398682594299316, 0.5917980074882507, 0.3380184769630432, -0.1699904203414917, -0.17856575548648834, 0.5821108222007751, -0.7078838348388672, -0.5491867065429688, -0.47634080052375793, 0.32925015687942505, -0.27379533648490906, -0.27035579085350037, 0.4925248324871063, 0.1320568025112152, 0.39733728766441345, 0.4156482517719269, 0.8713424801826477, -0.33522358536720276, 0.5445342063903809, -0.009030761197209358, 0.9805650115013123, -0.6534922122955322, -0.21884261071681976, -0.055857039988040924, -0.7492257952690125, -0.4424789547920227, 0.3858977258205414, -0.4296088218688965, -0.056774161756038666, 0.5522773861885071, 0.2635486125946045, 0.37015897035598755, 0.3283308446407318, 0.1120803952217102, -0.0021076141856610775, 0.7155027389526367, 0.674151599407196, 0.41329100728034973, -0.25371217727661133, -0.11204696446657181, -0.5866312980651855, -0.23121295869350433, -0.1120758205652237, -0.6287710666656494, -0.5508089065551758, -0.5759385228157043, -0.5300083756446838, -0.12145043909549713, 0.2865980863571167, 0.9127501249313354, 0.8125063180923462, -0.6555397510528564, 0.17716920375823975, -0.18192388117313385, 0.4141139090061188, -0.4196222126483917, -0.2348918616771698, 0.45418956875801086, 0.214036762714386, -0.12766633927822113, -0.10630740970373154, 0.6260102391242981, 0.04127376154065132, -0.19010135531425476, 0.1507999747991562, -0.1291545331478119, -0.27715402841567993, 0.2723245918750763, 0.1737469583749771, -0.3139451742172241, -0.4895250201225281, -0.23689566552639008, -0.2422075867652893, 0.18286484479904175, 0.37023353576660156, -0.7056202292442322, 0.5237060189247131, 0.48951277136802673, 0.29477590322494507, 0.2750839293003082, -0.1617385745048523, 0.3402705490589142, -0.16921444237232208, -0.07777702808380127, 0.12780451774597168, 0.26161515712738037, 0.4251236021518707, -0.695650577545166, 0.6342156529426575, 0.40540018677711487, -0.38622725009918213, -0.45059600472450256, 0.22036661207675934, -0.8439260125160217, 0.07725784182548523, 0.5044673085212708, -0.20534735918045044, -0.007326060440391302, -0.3172226548194885, -0.03389275446534157, 0.6548241972923279, -0.23834086954593658, 1.3111686706542969, 0.493806928396225, -0.7264710664749146, 0.023397456854581833, -0.6136884093284607, 0.18105627596378326, 0.2375548779964447, -1.439488172531128, -0.391523540019989, 0.012937231920659542, 0.004256126005202532, 0.2708575427532196, 0.5092011094093323, -0.13588184118270874, 0.20311352610588074, -0.17539477348327637, 0.38667941093444824, -0.0537584163248539, -0.005966818891465664, 0.07201410830020905, -0.21529652178287506, -0.5242757201194763, -0.22066815197467804 ]
http://arxiv.org/abs/2406.13781v1
http://arxiv.org/pdf/2406.13781v1
A Primal-Dual Framework for Transformers and Neural Networks
2024-06-19T19:11:22
2024-06-19T19:11:22
Tan M. Nguyen, Tam Nguyen, Nhat Ho, Andrea L. Bertozzi, Richard G. Baraniuk, Stanley J. Osher
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV, stat.ML
Self-attention is key to the remarkable success of transformers in sequence modeling tasks including many applications in natural language processing and computer vision. Like neural network layers, these attention mechanisms are often developed by heuristics and experience. To provide a principled framework for constructing attention layers in transformers, we show that the self-attention corresponds to the support vector expansion derived from a support vector regression problem, whose primal formulation has the form of a neural network layer. Using our framework, we derive popular attention layers used in practice and propose two new attentions: 1) the Batch Normalized Attention (Attention-BN) derived from the batch normalization layer and 2) the Attention with Scaled Head (Attention-SH) derived from using less training data to fit the SVR model. We empirically demonstrate the advantages of the Attention-BN and Attention-SH in reducing head redundancy, increasing the model's accuracy, and improving the model's efficiency in a variety of practical applications including image and time-series classification.
[ -0.4148511290550232, -0.27602440118789673, 0.09196192771196365, 0.5303932428359985, 0.16683444380760193, -0.2903335988521576, -0.07170940190553665, -0.06250741332769394, 0.056668758392333984, 0.6818017959594727, -0.8917818069458008, 0.27908527851104736, -0.37698784470558167, -0.005276994779706001, -0.4951392710208893, 0.9390660524368286, 0.23049283027648926, -0.2604027986526489, -0.15124116837978363, -0.2337699979543686, -0.37712496519088745, -0.5385338068008423, -0.609184741973877, -0.3183790445327759, 0.8171173930168152, 0.2131921947002411, 0.7449560761451721, 0.9515868425369263, 0.9358279705047607, 0.38359683752059937, 0.28534433245658875, -0.2338050901889801, -0.3404563367366791, 0.19877594709396362, -0.2445078045129776, -0.293283611536026, -0.4142760634422302, 0.0628737136721611, 0.5108131170272827, 0.4916246831417084, 0.09951161593198776, 0.6292272210121155, 0.27401959896087646, 0.9881405830383301, -0.5895965099334717, 0.1437489092350006, -0.21838390827178955, 0.4618754982948303, 0.2713015079498291, -0.09407845884561539, -0.24297727644443512, 0.11515957117080688, 0.4453679621219635, -0.282813161611557, 0.7985621690750122, -0.31364548206329346, 0.5477910041809082, 0.9301645755767822, -0.34174200892448425, 0.5227294564247131, -1.054397463798523, 0.9390198588371277, -0.28000587224960327, 0.5626500248908997, -0.14564038813114166, 0.4428299367427826, 0.2531718611717224, -0.784070611000061, -0.25742942094802856, 0.03607088699936867, -0.2149420529603958, 0.3270159959793091, -0.2621375322341919, 0.13163931667804718, 0.31124645471572876, 0.4567483067512512, -0.23678629100322723, -0.10591910034418106, -0.6261864900588989, -0.04008639603853226, 0.43131116032600403, 0.18927916884422302, -0.033529773354530334, -0.3373175859451294, -0.8832789659500122, -0.1207239180803299, -0.4255020320415497, 0.13059304654598236, 0.18302637338638306, 0.502740204334259, -0.169197216629982, 0.6128504276275635, 0.009262283332645893, 0.7260658144950867, 0.4907777011394501, 0.047577664256095886, 0.0698607787489891, -0.15121619403362274, -0.6712114810943604, -0.16611118614673615, 0.7504486441612244, 0.4056704342365265, 0.4772871434688568, -0.4912078082561493, -0.21732079982757568, 0.14478926360607147, 0.8890866637229919, -0.5302648544311523, -0.059367671608924866, 0.21467375755310059, -0.7471856474876404, -0.550761878490448, -0.18642257153987885, -0.6867431402206421, 0.025324247777462006, -0.814950704574585, 0.6446757912635803, 0.038057830184698105, -0.33028173446655273, -0.07028234750032425, 0.012260460294783115, 0.424629271030426, -0.07018392533063889, -1.0874277353286743, 0.33611398935317993, 0.5392363667488098, 0.5732062458992004, -0.20829464495182037, 0.08150294423103333, -0.4238092303276062, 0.1058930903673172, -0.09406257420778275, 0.6784052848815918, -0.2396332174539566, 0.02963728830218315, -0.1925031989812851, -0.07329083979129791, -0.2135803997516632, -0.4202902913093567, 0.5753684639930725, -0.4764557182788849, 0.2375028282403946, -0.10243258625268936, 0.04914341866970062, -0.15452569723129272, 0.04385857656598091, -0.7193554043769836, 1.3182169198989868, 0.44365689158439636, -0.7547565698623657, 0.035389721393585205, -0.7524961233139038, -0.6213002800941467, 0.2454269975423813, -0.1901727318763733, -0.32794490456581116, 0.23681288957595825, 0.21382400393486023, 0.8563525080680847, -0.5013318061828613, 0.049150969833135605, -0.11144045740365982, -0.0006949100643396378, -0.12662991881370544, -0.2910878360271454, 0.405458003282547, 0.09570366889238358, -0.566244900226593, 0.18530666828155518, -0.7401882410049438, 0.002556226681917906, 0.1633119434118271, 0.008866934105753899, -0.03432828560471535, -0.000934584706556052, 0.167258620262146, 0.43640783429145813, 0.09075986593961716, -0.31625133752822876, 0.12737654149532318, -0.5410597324371338, 0.7052001953125, 0.8302478790283203, -0.0811513215303421, 0.8140466809272766, 0.022918852046132088, 0.6116093397140503, 0.037861086428165436, 0.4279657304286957, -0.39916691184043884, -0.1177116334438324, -1.043155312538147, -0.17149783670902252, 0.1416982114315033, 0.5054745078086853, -0.1662556231021881, 0.6513951420783997, -0.2766253352165222, -0.10242307186126709, -0.4664483070373535, 0.20864452421665192, 0.2295345664024353, 0.8079702258110046, 0.3780461847782135, -0.35564562678337097, -0.7324368953704834, -1.5815215110778809, -0.03243972733616829, 0.09362876415252686, -0.39357292652130127, 0.40903881192207336, 0.012595109641551971, -0.18025341629981995, 1.1711704730987549, -0.27061596512794495, -0.7621342539787292, -0.37895551323890686, -0.14471043646335602, 0.2441588193178177, 0.4268345534801483, 0.45619407296180725, -0.9854077696800232, -0.33992648124694824, -0.14439602196216583, -0.7716707587242126, 0.17949947714805603, -0.2669132947921753, -0.1726132482290268, -0.29043886065483093, 0.45142921805381775, -0.25293612480163574, 0.41013649106025696, 0.2694339454174042, 0.08651257306337357, 0.10998710989952087, 0.20764587819576263, -0.2853313088417053, -1.1201763153076172, 0.16048063337802887, 0.6162832379341125, -0.3340734839439392, -0.865642249584198, 0.11833244562149048, 0.25127437710762024, -0.07149814814329147, -0.2765195965766907, 0.29167473316192627, -0.2754828929901123, -0.13291630148887634, -0.3458385765552521, -0.09592185914516449, 0.013145837932825089, 0.9480764865875244, -0.08083965629339218, 0.6589898467063904, 0.6151980757713318, -0.6809999942779541, 0.5461806058883667, 0.27480456233024597, 0.2620474696159363, 0.4900260269641876, -1.1041500568389893, 0.2010708451271057, -0.5250623226165771, -0.21670874953269958, -1.236673355102539, -0.13519230484962463, 0.28883230686187744, -0.2848024070262909, 0.6113459467887878, -0.4481692910194397, -0.17678101360797882, -0.9298006892204285, -0.12426933646202087, 0.41446003317832947, 0.5410750508308411, -0.5729519724845886, 1.1266751289367676, 0.22449111938476562, -0.0447615422308445, -0.8327274322509766, -0.7804442048072815, -0.11777688562870026, -0.16481301188468933, -0.8802377581596375, 0.3653823733329773, 0.22084486484527588, -0.08108862489461899, 0.07654883712530136, -0.45203426480293274, -0.007554161362349987, 0.00794566236436367, 0.34738796949386597, 0.368026465177536, -0.6673045754432678, 0.08395782113075256, -0.35041525959968567, -0.4778064787387848, 0.26831531524658203, -0.579680323600769, 0.40077275037765503, -0.17062698304653168, -0.0008254570420831442, -0.627662181854248, 0.44003576040267944, 0.7737393379211426, -0.4554055333137512, 0.29108676314353943, 0.40008509159088135, -0.2977781593799591, -0.13847289979457855, -0.8703403472900391, -0.5425544381141663, -0.5736199021339417, 0.22093623876571655, -0.33273017406463623, -0.5894114375114441, 0.4922439455986023, 0.4096928834915161, -0.035466987639665604, 0.8175394535064697, 0.6386832594871521, -0.14968805015087128, 1.0269869565963745, 0.9116743803024292, -0.2743743658065796, 0.5384643077850342, -0.3708590269088745, 0.23527728021144867, -1.2225219011306763, -0.12341175973415375, -0.20354552567005157, -0.6960285902023315, -0.3138872981071472, -0.22319220006465912, 0.31645670533180237, -0.3215159475803375, -0.24926123023033142, 0.5875572562217712, -1.0827133655548096, 0.46180880069732666, 0.4987301826477051, 0.1218823567032814, -0.19378718733787537, 0.1570115089416504, 0.0920100063085556, -0.3263583779335022, -0.7431498765945435, -0.27953314781188965, 0.979102373123169, 0.670224666595459, 0.7757866382598877, -0.27126938104629517, 0.20115037262439728, 0.2934598922729492, 0.2995578944683075, -0.9677660465240479, 0.2959422767162323, -0.12307839840650558, -0.7239781022071838, -0.2845526933670044, -0.288178950548172, -0.613461971282959, 0.3394849896430969, 0.23477306962013245, -0.5168142914772034, 0.33202964067459106, 0.33288830518722534, -0.8078629970550537, 0.03909054026007652, -0.913098931312561, 1.11974036693573, -0.12108840048313141, -0.5770363211631775, -0.04711543396115303, -1.075910210609436, 0.25540781021118164, 0.09888807684183121, -0.3353259265422821, -0.14497913420200348, -0.02780478075146675, 0.6734363436698914, -0.034784235060214996, 1.037782907485962, -0.07080945372581482, 0.07577204704284668, 0.3654996156692505, -0.26174890995025635, 0.40692785382270813, -0.03525972738862038, 0.38320454955101013, -0.29039379954338074, -0.532871425151825, -0.327576607465744, -0.7517450451850891, 0.5614302158355713, -0.7985485196113586, -0.8418707847595215, -0.2702066898345947, -0.5118265748023987, -0.05375942215323448, 0.16625776886940002, 0.07842119038105011, 0.6234248280525208, 0.17195603251457214, 0.43806660175323486, 0.7944566011428833, 0.3271983563899994, 0.49078211188316345, 0.12777429819107056, 0.07230331748723984, -0.19526655972003937, 0.4888189136981964, 0.10986384749412537, 0.38798725605010986, 0.4089546501636505, 0.23791205883026123, -0.38080307841300964, 0.06908455491065979, -0.41963475942611694, 0.1602991223335266, -0.700063943862915, -0.451177716255188, -1.0775538682937622, -0.67458176612854, -0.5752639770507812, 0.08594819903373718, -0.5801056623458862, -0.5422205328941345, -0.24411074817180634, 0.0032215642277151346, 0.27487945556640625, 0.632831871509552, -0.030826618894934654, 0.3060240149497986, -0.5760751962661743, 0.7576861381530762, 0.726317286491394, 0.39033326506614685, 0.3221242129802704, -0.6755027174949646, -0.15627366304397583, -0.23363785445690155, -0.4167557954788208, -0.5269680619239807, 0.4442960321903229, 0.11117281019687653, 0.7891768217086792, 0.4914512634277344, -0.07668262720108032, 0.4799957573413849, -0.6448087096214294, 0.2625618278980255, 0.3621879816055298, -0.6124461889266968, 0.3529922068119049, -0.43692320585250854, 0.31974533200263977, 0.28964346647262573, 0.26056015491485596, -0.5745429396629333, -0.10539048910140991, -0.5664991140365601, -0.8955270648002625, 0.9699237942695618, 0.41828256845474243, 0.47582709789276123, 0.3142387270927429, 0.5982008576393127, -0.13633714616298676, 0.12993009388446808, -0.7857583165168762, -0.683841347694397, -0.5455431938171387, -0.2287488579750061, 0.03725719451904297, -0.32989072799682617, -0.15982626378536224, -0.25409334897994995, 0.28911516070365906, -0.2649877965450287, 0.6875064969062805, 0.5944047570228577, 0.10078104585409164, -0.2771163284778595, -0.014949724078178406, 0.34435054659843445, 0.12225370109081268, -0.20681990683078766, 0.12833139300346375, 0.03012239746749401, -0.41850441694259644, 0.17181093990802765, -0.05386584997177124, -0.013752005062997341, -0.49265336990356445, -0.031396351754665375, 0.6449049711227417, 0.35865288972854614, 0.08478434383869171, 0.4967029392719269, 0.0675979033112526, -0.05095541477203369, -0.3893832862377167, 0.06514769047498703, 0.042070772498846054, 0.2841525673866272, 0.819281280040741, 0.6719004511833191, 0.32234933972358704, -0.1072816252708435, 0.3421281576156616, 0.22135236859321594, -0.8131123781204224, -0.27584749460220337, 0.9046908617019653, 0.35913291573524475, -0.40089109539985657, 0.32699140906333923, 0.3206108808517456, -0.7448104023933411, 1.0044509172439575, 0.5305487513542175, 1.1533429622650146, -0.3685014247894287, -0.04833822697401047, 0.42879152297973633, 0.4241447150707245, -0.0240304097533226, -0.06372855603694916, -0.1545039713382721, -0.706283688545227, -0.7057080864906311, -0.40865662693977356, 0.03695207089185715, 0.17001254856586456, -0.8841701745986938, 0.2671337425708771, -0.6000459790229797, -0.3435932397842407, 0.32742488384246826, -0.5100706815719604, -0.9425820112228394, 0.47842419147491455, 0.09756426513195038, 0.5623482465744019, -0.6369090676307678, 0.5010276436805725, 0.40324804186820984, -0.32135671377182007, -0.6410802006721497, -0.08367354422807693, -0.2786962687969208, -0.6850689649581909, 0.9402853846549988, 0.6120405793190002, -0.30473509430885315, 0.346926212310791, -0.24872808158397675, -1.3061472177505493, 0.7377355694770813, 0.1924613118171692, -0.41544309258461, -0.23873122036457062, -0.02216406911611557, 0.562042236328125, -0.5166391134262085, 0.050814662128686905, 0.33772435784339905, 0.17633214592933655, 0.1786976158618927, -0.43274685740470886, -0.13074924051761627, -0.26204073429107666, 0.08503473550081253, 0.26711440086364746, -0.9395384192466736, 0.6702005863189697, -0.0865025743842125, -0.37406662106513977, -0.1764688342809677, 0.9532905220985413, -0.5501270890235901, -0.12223821133375168, 0.5388054847717285, 0.4013794958591461, -0.059895750135183334, -0.0917939618229866, 1.1211817264556885, -0.30478209257125854, 0.32511040568351746, 0.9165052175521851, -0.1301596760749817, 0.4332558214664459, 0.4422585070133209, -0.22768713533878326, 0.23908577859401703, 0.31162434816360474, -0.44844570755958557, 0.6148037910461426, 0.007419514004141092, 0.19031742215156555, -0.33172470331192017, -0.011921587400138378, -0.3763100504875183, 0.2933715581893921, 0.10627541691064835, -0.6823153495788574, -0.07325486838817596, 0.14041230082511902, -0.6595078110694885, -0.07966442406177521, -0.4484369158744812, 0.6244694590568542, 0.08680696785449982, -0.5954733490943909, 0.37683895230293274, -0.09877053648233414, 0.5143994092941284, -0.31061235070228577, 0.3134307861328125, -0.012251589447259903, 0.5505748987197876, -0.1333235800266266, -0.40370112657546997, 0.40299108624458313, -0.1924576759338379, -0.6984622478485107, -0.3984970450401306, 0.7705667614936829, -0.15335099399089813, -0.7164338827133179, 0.3052936792373657, 0.10732213407754898, -0.46911025047302246, -0.21792586147785187, -0.6654578447341919, -0.31153392791748047, -0.0696645975112915, -0.5004875063896179, 0.038349468261003494, 0.08123474568128586, 0.19456495344638824, 0.6689215898513794, 0.47533661127090454, -0.6466352343559265, 0.3644794523715973, 0.2574889063835144, 0.9626511335372925, -0.5408855080604553, -0.418780118227005, -0.8610178232192993, 0.6107034683227539, -0.10172872245311737, -0.16592980921268463, 0.6057878136634827, 0.5831705927848816, 0.3035697340965271, -0.29083043336868286, 0.8499458432197571, 0.20004309713840485, 0.4932864010334015, -0.036917977035045624, 0.37454017996788025, -0.5509867668151855, -0.27627187967300415, -0.10964565724134445, -1.217865228652954, -0.5271488428115845, 0.8112367391586304, -0.2828104496002197, 0.20268544554710388, 0.4922419786453247, 0.5470921397209167, -0.4530290961265564, -0.056926168501377106, 0.2789871096611023, 0.051336243748664856, -0.04592195525765419, 0.42888233065605164, 0.6818580031394958, -0.6795095205307007, 0.48006340861320496, -0.4444931447505951, -0.10667042434215546, -0.18174034357070923, -0.7112684845924377, -0.9549345374107361, -0.48687779903411865, -0.2986844480037689, -0.3073742091655731, -0.32398170232772827, 0.927361249923706, 1.0013341903686523, -0.7353294491767883, 0.08838765323162079, -0.04832756891846657, -0.34938493371009827, -0.21829546988010406, -0.27922406792640686, 0.28583067655563354, -0.6286505460739136, -0.5750395059585571, 0.3035390377044678, 0.6310316324234009, 0.24727097153663635, -0.6631115674972534, 0.3458664119243622, 0.1853836178779602, 0.11138489842414856, 0.5530471205711365, 0.3124646842479706, -0.7911450266838074, -0.2713860273361206, 0.5777214169502258, -0.42254820466041565, 0.43963655829429626, 1.0776312351226807, -0.9095497727394104, 0.34247276186943054, 0.320880264043808, 0.6819341778755188, 0.6163261532783508, 0.17042692005634308, 0.8667059540748596, -1.0095294713974, 0.4064624011516571, 0.34723570942878723, 0.22225242853164673, 0.5052868127822876, -0.7107791900634766, 0.6343744397163391, 0.12753638625144958, -0.5266525149345398, -0.5672500133514404, 0.37646058201789856, -1.2056280374526978, 0.3911440372467041, 1.0113930702209473, 0.27082374691963196, -0.5062978863716125, 0.0007848116219975054, -0.21178576350212097, 0.1968359649181366, -0.23207882046699524, 0.6711195707321167, 0.37912386655807495, 0.07308755069971085, -0.3356325328350067, -0.5318713188171387, 0.4013466536998749, 0.637118399143219, -0.23112048208713531, 0.22625499963760376, -0.040305811911821365, 0.16977879405021667, 0.46610206365585327, 0.015264099463820457, -0.1333422213792801, 0.3577228784561157, -0.35890504717826843, 0.10455754399299622, -0.0017875968478620052, -0.5197647213935852, -0.4332859218120575, 0.45766976475715637, -0.4642021059989929, -0.3080568015575409 ]
http://arxiv.org/abs/2406.13779v1
http://arxiv.org/pdf/2406.13779v1
FoRAG: Factuality-optimized Retrieval Augmented Generation for Web-enhanced Long-form Question Answering
2024-06-19T19:06:36
2024-06-19T19:06:36
Tianchi Cai, Zhiwen Tan, Xierui Song, Tao Sun, Jiyan Jiang, Yunqi Xu, Yinger Zhang, Jinjie Gu
cs.CL
cs.CL
Retrieval Augmented Generation (RAG) has become prevalent in question-answering (QA) tasks due to its ability of utilizing search engine to enhance the quality of long-form question-answering (LFQA). Despite the emergence of various open source methods and web-enhanced commercial systems such as Bing Chat, two critical problems remain unsolved, i.e., the lack of factuality and clear logic in the generated long-form answers. In this paper, we remedy these issues via a systematic study on answer generation in web-enhanced LFQA. Specifically, we first propose a novel outline-enhanced generator to achieve clear logic in the generation of multifaceted answers and construct two datasets accordingly. Then we propose a factuality optimization method based on a carefully designed doubly fine-grained RLHF framework, which contains automatic evaluation and reward modeling in different levels of granularity. Our generic framework comprises conventional fine-grained RLHF methods as special cases. Extensive experiments verify the superiority of our proposed \textit{Factuality-optimized RAG (FoRAG)} method on both English and Chinese benchmarks. In particular, when applying our method to Llama2-7B-chat, the derived model FoRAG-L-7B outperforms WebGPT-175B in terms of three commonly used metrics (i.e., coherence, helpfulness, and factuality), while the number of parameters is much smaller (only 1/24 of that of WebGPT-175B). Our datasets and models are made publicly available for better reproducibility: https://huggingface.co/forag.
[ -0.516798198223114, -1.1713190078735352, 0.568192720413208, 0.28185370564460754, -0.2786620259284973, 0.056490927934646606, -0.0727565810084343, -0.6232163310050964, 0.2222190946340561, 0.23426108062267303, -0.5541905164718628, -0.2439074069261551, -0.15090806782245636, 0.08053774386644363, -0.2615107595920563, 1.2906948328018188, 0.09322573244571686, -0.3277512788772583, -0.5288013219833374, -0.21751736104488373, -0.30894455313682556, -0.38951775431632996, -0.47436052560806274, -0.21466778218746185, 0.6091669201850891, 0.3711555302143097, 0.6138467192649841, 0.4513925313949585, 0.5285612940788269, 0.1960640400648117, -0.0962628573179245, 0.632655918598175, -0.8788356184959412, 0.03560446575284004, -0.15271233022212982, -0.2561453878879547, -0.5861455202102661, -0.15308350324630737, 0.45290377736091614, 0.4469410479068756, -0.3145858347415924, 0.69718998670578, -0.021218635141849518, 0.7018333077430725, -0.9086570739746094, -0.030375856906175613, -0.8056150674819946, -0.24297434091567993, -0.04310174658894539, -0.26616421341896057, -0.4123622477054596, -0.4166499972343445, 0.011389012448489666, -0.7944427132606506, 0.28471821546554565, 0.1827632039785385, 1.093717336654663, 0.3353178799152374, -0.32529664039611816, -0.6167789101600647, -0.6412397623062134, 0.6990688443183899, -0.606144368648529, 0.44679170846939087, 0.12019376456737518, 0.45765694975852966, -0.3008669912815094, -0.8483526110649109, -0.7145197987556458, -0.12141519784927368, -0.06536450982093811, 0.3561267554759979, -0.054146796464920044, 0.0325799360871315, 0.2148067057132721, 0.48733779788017273, -0.6473547220230103, -0.11552884429693222, -0.3920077383518219, -0.31886541843414307, 0.8553622364997864, -0.0020264056511223316, 0.028934083878993988, -0.1945861279964447, -0.6221989393234253, 0.11386409401893616, -0.7862457633018494, 0.38453617691993713, 0.25338444113731384, 0.21940180659294128, 0.05341585725545883, 0.4865420460700989, -0.46007660031318665, 0.558373749256134, 0.30822262167930603, -0.6157739758491516, 0.11786948889493942, -0.2457236498594284, 0.0004061612708028406, -0.08812780678272247, 0.2785061299800873, 0.3481101989746094, -0.045497022569179535, -0.00839096400886774, -0.3361082375049591, -0.1884293258190155, -0.041312895715236664, -1.005745768547058, -0.045098837465047836, 0.5951573848724365, -0.4389864206314087, -0.1741253286600113, -0.08528678864240646, -0.6615780591964722, -0.35372859239578247, -0.1778302937746048, 0.40647223591804504, -0.0776866003870964, -0.3728746175765991, -0.03248627111315727, -0.20307788252830505, 0.45055896043777466, 0.33512067794799805, -0.4485844671726227, 0.08376844972372055, 0.7285652756690979, 0.37791645526885986, -0.2582748532295227, 0.013280322775244713, -0.719963014125824, 0.1590246558189392, -0.44802752137184143, 1.0412427186965942, -0.25227656960487366, -0.1979587972164154, 0.19984927773475647, -0.4619588553905487, 0.1862640231847763, -0.5808045268058777, 0.7934966683387756, -0.8945618271827698, 0.4264478385448456, -0.31000617146492004, -0.6264073848724365, -0.20250089466571808, 0.5081260800361633, -0.6564881205558777, 0.9903832077980042, -0.2670575678348541, -0.7906998991966248, 0.4576374590396881, -0.5629913210868835, -0.16289852559566498, 0.06426636129617691, -0.15595676004886627, -0.476752370595932, -0.002685490995645523, 0.32887667417526245, 0.2614842653274536, -0.4598289728164673, 0.43569687008857727, -0.18251508474349976, -0.35269105434417725, 0.18046334385871887, -0.5403161644935608, 0.4605967700481415, 0.3738614618778229, -0.32282111048698425, 0.04757755249738693, -0.867392897605896, 0.32522210478782654, 0.1388048380613327, -0.5911079049110413, -0.0923713818192482, 0.05313258618116379, -0.10269346833229065, 0.21512599289417267, 0.37042471766471863, -0.5856948494911194, -0.2952801585197449, -0.4813653230667114, -0.2920326590538025, 0.7487770318984985, 0.15846320986747742, 0.003915262874215841, -0.42107343673706055, 0.46369901299476624, -0.19186097383499146, 0.15049920976161957, 0.08654502034187317, -0.48739784955978394, -0.8475310802459717, -0.5280197858810425, 0.4047512710094452, 0.6646605134010315, -0.8762804269790649, 0.27301809191703796, -0.33330389857292175, -0.40901872515678406, -0.5365555882453918, 0.018724093213677406, 0.6026216149330139, 0.4830833673477173, 0.37827301025390625, -0.052366163581609726, -0.3841147720813751, -0.8659089207649231, -0.25533929467201233, -0.07288508862257004, 0.1329011768102646, 0.5135295391082764, 0.33861374855041504, -0.06678158789873123, 1.0449532270431519, -0.6140134930610657, 0.08926109224557877, -0.16574707627296448, -0.06279906630516052, 0.2484898865222931, 0.19543500244617462, 0.36353757977485657, -0.9813224077224731, -0.5545264482498169, -0.19135476648807526, -0.6895320415496826, -0.12728841602802277, -0.1459406167268753, -0.22878187894821167, 0.40864425897598267, 0.1271621435880661, -0.5324112772941589, 0.5560293793678284, 0.520512044429779, -0.1922861635684967, 0.6945693492889404, 0.12246529757976532, 0.18684421479701996, -0.9502580761909485, 0.45420268177986145, -0.2381325215101242, -0.278990775346756, -0.5725939273834229, 0.2816591262817383, -0.2445385754108429, -0.2052997201681137, -0.29311296343803406, 0.8382440209388733, -0.5052382946014404, -0.008969838730990887, -0.4330019950866699, 0.4094090461730957, 0.05836959555745125, 0.628922700881958, -0.26166269183158875, 1.0014572143554688, 0.04064216464757919, -0.6075976490974426, 0.29458513855934143, 0.3140465021133423, -0.1333129107952118, 0.4102347493171692, -0.8098745346069336, 0.32899096608161926, -0.22118458151817322, 0.31519338488578796, -0.9543625712394714, -0.3272111713886261, 0.07401090115308762, -0.6680102944374084, 0.18109869956970215, 0.03660726174712181, -0.26386842131614685, -0.19247806072235107, -0.4550122618675232, 0.3539181649684906, 0.6433379054069519, -0.7724380493164062, 0.5180163383483887, 0.278780072927475, -0.18049374222755432, -0.8728532195091248, -0.14046894013881683, -0.01847699284553528, -0.07860004901885986, -1.0271378755569458, 0.18902504444122314, -0.18306541442871094, -0.295583039522171, -0.25528663396835327, -0.32616204023361206, -0.04595007747411728, -0.035732150077819824, -0.2238466739654541, 0.1288982480764389, -0.17495737969875336, 0.21367321908473969, 0.1863257884979248, 0.09250696748495102, 0.15570196509361267, 0.2241200953722, 0.5039007067680359, -0.19440481066703796, -0.3761528432369232, -0.16553372144699097, 0.6147559285163879, 0.04354184865951538, -0.5301796793937683, 0.6449178457260132, 0.6957334280014038, -0.05703892186284065, -0.297792911529541, -0.7967407703399658, -0.27910834550857544, -0.5231027007102966, 0.3144357204437256, -0.48072391748428345, -0.9441584944725037, 0.6324303150177002, -0.08077352494001389, 0.35080358386039734, 0.5027321577072144, 0.528323233127594, -0.03624395281076431, 0.9576588273048401, 0.3894498348236084, 0.4436526894569397, 0.09813357144594193, -0.010113604366779327, 0.19347470998764038, -0.5906785130500793, -0.18079310655593872, -0.39918258786201477, 0.06400935351848602, -0.7793973684310913, -0.35370221734046936, 0.672825813293457, 0.10809258371591568, -0.18482033908367157, -0.5701239109039307, -0.4539753794670105, 0.28215354681015015, 0.43134331703186035, 0.1632797122001648, 0.24943286180496216, 0.08839312940835953, 0.05165979266166687, 0.1648140400648117, -0.7988339066505432, -0.3974463641643524, 0.9836390614509583, 0.211537703871727, 0.6654466986656189, 0.27962490916252136, 0.7623910903930664, 0.3625660240650177, 0.12879562377929688, -0.5910224914550781, 0.5980650186538696, 0.07460630685091019, -0.8323507308959961, -0.19614507257938385, -0.30549928545951843, -1.043988823890686, 0.15446928143501282, -0.3781315088272095, -0.3456686735153198, -0.014226137660443783, 0.5395112037658691, -0.16492410004138947, -0.059146080166101456, -0.5835505723953247, 0.4930472671985626, -0.053083766251802444, -0.5891056656837463, -0.27366334199905396, -0.8365579843521118, 0.6451231837272644, 0.047044601291418076, 0.13718989491462708, -0.1077178567647934, 0.14156889915466309, 0.572688102722168, -0.29280519485473633, 0.46508893370628357, -0.3189021348953247, -0.29297733306884766, 0.6735562682151794, -0.20827724039554596, 0.7717202305793762, 0.1689957231283188, 0.08796099573373795, -0.19859573245048523, -0.03512287512421608, -0.5697290301322937, -0.7420339584350586, 0.4786304831504822, -0.6571378707885742, -0.9846827983856201, -0.32594171166419983, -0.32625433802604675, -0.2792956233024597, 0.1937088519334793, 0.10808221250772476, 0.6834095120429993, -0.11691600829362869, 0.2851512134075165, 0.9005998373031616, -0.29652103781700134, 0.07767430692911148, 0.3153257966041565, -0.41531461477279663, -0.5364676713943481, 0.982766330242157, -0.18054617941379547, 0.47172531485557556, 0.3452041447162628, 0.34146779775619507, -0.40054285526275635, -0.47789499163627625, -0.6032221913337708, 0.3131873905658722, -0.8895968198776245, -0.2468734234571457, -0.4852582514286041, -0.2826685309410095, -0.5860209465026855, 0.019670866429805756, -0.11466095596551895, -0.5186230540275574, 0.022416718304157257, 0.013541750609874725, 0.40399348735809326, 0.3756107687950134, -0.06827174127101898, -0.09410636126995087, -0.8641864061355591, 0.683195173740387, 0.42040422558784485, 0.25496402382850647, 0.016121651977300644, -0.4074651896953583, -0.2734740376472473, 0.3490460216999054, -0.30731871724128723, -0.6600255966186523, -0.11506696790456772, 0.3949788808822632, 0.6632260084152222, 0.09226277470588684, 0.1850796341896057, 0.7932542562484741, -0.5271446108818054, 0.8223890662193298, -0.0038198663387447596, -0.6223586797714233, 0.3715634346008301, -0.3928682804107666, 0.057127274572849274, 0.44826504588127136, 0.22815245389938354, -0.3144490122795105, -0.13082186877727509, -0.6542345881462097, -0.9043864011764526, 0.27098286151885986, 0.33471137285232544, 0.04190252348780632, 0.0830816701054573, 0.488629549741745, 0.1832517832517624, 0.33400246500968933, -0.4986945688724518, -0.366510272026062, -0.33543291687965393, -0.19596683979034424, 0.34248632192611694, -0.4716397523880005, -0.22103263437747955, -0.05367239564657211, 0.8916906714439392, -0.25609153509140015, 0.4356706440448761, 0.3911691904067993, -0.004711059853434563, 0.14966937899589539, 0.33366110920906067, 0.6511524319648743, 0.9616254568099976, -0.19846351444721222, -0.19517092406749725, 0.216156005859375, -0.4521709084510803, -0.09227252751588821, 0.36115220189094543, -0.3541892170906067, 0.003976756706833839, 0.19615620374679565, 0.7149577140808105, -0.5832824110984802, -0.7752927541732788, 0.41808316111564636, 0.1658221036195755, 0.005086208693683147, -0.5189117789268494, 0.072394460439682, -0.11219117790460587, 0.14382535219192505, 0.6142290830612183, -0.3626146912574768, 0.5369841456413269, -0.5064405202865601, 0.18549111485481262, 0.6115641593933105, 0.018507614731788635, -0.08511842787265778, 0.5174691081047058, 0.527846097946167, -0.11326099187135696, 0.4577118754386902, -0.3500608801841736, -0.4186401069164276, 0.3514125943183899, 0.5854570865631104, 0.7552952766418457, 0.15987221896648407, 0.1417510211467743, 0.4430248439311981, 0.045352037996053696, 0.2755802571773529, 0.5093904137611389, -0.007738280575722456, -0.6288210153579712, -0.6247823238372803, -0.6837750673294067, -0.44160372018814087, 0.03580451011657715, -0.5455628633499146, 0.1252375841140747, -0.18537470698356628, -0.08056828379631042, -0.15634280443191528, 0.21611888706684113, -0.4880152642726898, 0.5800783038139343, 0.034589290618896484, 0.7396914958953857, -0.44948434829711914, 0.25240451097488403, 0.6309760212898254, -0.4568939208984375, -1.017844796180725, 0.0748433992266655, -0.14433607459068298, -0.8111869096755981, 0.29064348340034485, 0.09450932592153549, -0.45903903245925903, 0.03164137899875641, -0.7782866954803467, -0.9387794733047485, 1.1877964735031128, 0.17340950667858124, 0.045185383409261703, -0.08019300550222397, 0.14563706517219543, 0.4880395531654358, -0.050009239464998245, 0.13747604191303253, 0.3114180564880371, 0.4882718324661255, 0.3126840591430664, -0.8593018651008606, 0.18409129977226257, -0.379023015499115, -0.06363706290721893, 0.14398933947086334, -0.9247955679893494, 0.5134364366531372, -0.10116235911846161, -0.3189629018306732, 0.20107567310333252, 0.9293932914733887, 0.8237731456756592, 0.5051944255828857, 0.44617339968681335, 0.39591529965400696, 0.7266228199005127, 0.05803407356142998, 0.9627684950828552, -0.17371751368045807, 0.3177679181098938, 0.927314281463623, -0.15757375955581665, 0.7236500382423401, 0.5001541376113892, 0.01099767629057169, 0.5386119484901428, 0.4238780438899994, 0.18478864431381226, 0.37252673506736755, 0.22466015815734863, -0.2628656029701233, -0.2496233582496643, -0.24683871865272522, -0.32134681940078735, 0.5719411373138428, 0.15383130311965942, 0.05277593061327934, -0.3283698856830597, -0.24886035919189453, 0.2749292254447937, 0.34844398498535156, -0.23580221831798553, 0.9438275098800659, -0.22061745822429657, -1.0072888135910034, 1.1386569738388062, 0.031777530908584595, 0.6963630318641663, -0.62024986743927, -0.3132730722427368, -0.46815118193626404, 0.10186487436294556, -0.3175814747810364, -0.6060424447059631, 0.12406887114048004, 0.22534753382205963, -0.24972596764564514, 0.13563959300518036, 0.9786336421966553, -0.43230918049812317, -0.35349199175834656, -0.24099090695381165, 0.6511613130569458, 0.2278854250907898, 0.11263425648212433, -0.7720101475715637, -0.11384864896535873, 0.21951906383037567, -0.3737466335296631, 0.05212600156664848, 0.40220993757247925, -0.15931357443332672, 0.6304475665092468, 0.8056803941726685, 0.0002483509888406843, 0.19797122478485107, -0.2113833725452423, 0.8568371534347534, -0.33612242341041565, -0.42696502804756165, -0.4024084806442261, 0.7106792330741882, -0.40939071774482727, -0.264921635389328, 0.7943427562713623, 0.6973505020141602, 0.47255200147628784, 0.04235023260116577, 0.6643555760383606, -0.26547127962112427, 1.0471596717834473, -0.5717658400535583, 0.612269401550293, -0.7080070972442627, -0.02074667438864708, -0.16910655796527863, -0.8423850536346436, 0.02551908604800701, 0.15418945252895355, 0.12327929586172104, 0.1415003538131714, 0.4953922629356384, 0.8380461931228638, 0.09224832057952881, -0.23599612712860107, 0.22576439380645752, -0.08320541679859161, 0.6517574787139893, 0.25723031163215637, 0.6948068737983704, -0.41262274980545044, 0.757901132106781, -0.06708472967147827, -0.2567991018295288, -0.1593749225139618, -0.7341246008872986, -0.8002442717552185, -0.5761014819145203, -0.04817752540111542, -0.45940911769866943, 0.24023713171482086, 0.9142318964004517, 0.29655417799949646, -0.6127023100852966, -0.05981907993555069, 0.25791606307029724, 0.0485408715903759, -0.04029761627316475, -0.2282281368970871, 0.6366459131240845, -0.5370312333106995, -0.530299961566925, 0.1373615860939026, -0.08267274498939514, -0.0927877202630043, -0.21128837764263153, 0.034745652228593826, -0.4639049172401428, 0.47061851620674133, 0.7685810923576355, 0.346933513879776, -0.7404598593711853, -0.5768519043922424, 0.2720631957054138, 0.05313728377223015, 0.02031177654862404, 0.35660073161125183, -0.6255879998207092, 0.386956125497818, 0.5132291316986084, 0.9137211441993713, 0.37277454137802124, 0.5207642912864685, 0.4704407751560211, -0.8671780824661255, 0.1447913944721222, 0.34483709931373596, -0.06345333904027939, 0.40499335527420044, -0.3979068398475647, 0.4990144371986389, 0.10056383907794952, -0.7602318525314331, -0.8726846575737, 0.26586002111434937, -0.9042674899101257, -0.11001578718423843, 1.5041812658309937, -0.04761126637458801, -0.11683715879917145, -0.02399509586393833, -0.4006621241569519, 0.3008198142051697, -0.40836140513420105, 0.9197736978530884, 0.5599302649497986, -0.24912546575069427, 0.12340179085731506, -0.4081435799598694, 0.8104438185691833, 0.35397639870643616, -0.9854768514633179, -0.05630428344011307, 0.8658000826835632, 0.17682185769081116, 0.24935665726661682, 0.5511046648025513, 0.11232954263687134, 0.672701358795166, -0.08697418123483658, 0.12198526412248611, -0.1449110507965088, -0.20232656598091125, 0.21191923320293427, 0.1948494166135788, 0.2749987542629242, -0.10171738266944885 ]
http://arxiv.org/abs/2406.13777v1
http://arxiv.org/pdf/2406.13777v1
Game of LLMs: Discovering Structural Constructs in Activities using Large Language Models
2024-06-19T19:02:44
2024-06-19T19:02:44
Shruthi K. Hiremath, Thomas Ploetz
cs.LG
cs.LG, cs.CL
Human Activity Recognition is a time-series analysis problem. A popular analysis procedure used by the community assumes an optimal window length to design recognition pipelines. However, in the scenario of smart homes, where activities are of varying duration and frequency, the assumption of a constant sized window does not hold. Additionally, previous works have shown these activities to be made up of building blocks. We focus on identifying these underlying building blocks--structural constructs, with the use of large language models. Identifying these constructs can be beneficial especially in recognizing short-duration and infrequent activities. We also propose the development of an activity recognition procedure that uses these building blocks to model activities, thus helping the downstream task of activity monitoring in smart homes.
[ 0.03393680974841118, -0.931471586227417, 0.7751103639602661, 0.17428697645664215, -0.10361838340759277, 0.5307645201683044, 0.13069109618663788, -0.3849284052848816, 0.3164297044277191, 0.36173683404922485, -0.5429940819740295, -0.4264814853668213, -0.37690940499305725, -0.11478438228368759, -0.3269083499908447, 0.5599706768989563, -0.26731181144714355, -0.08402610570192337, 0.06477458775043488, 0.23541538417339325, -0.28145986795425415, -0.23763330280780792, -0.5042187571525574, -0.5736569166183472, 0.2829170525074005, 0.2660878300666809, 0.32448896765708923, 0.8880725502967834, 0.42404693365097046, 0.3785476088523865, -0.1815958023071289, 0.3479054570198059, -0.4251329302787781, 0.1501220315694809, 0.21856273710727692, -0.31629231572151184, -0.5958935618400574, -0.13554374873638153, 0.514126718044281, 0.6925041675567627, 0.06584324687719345, 0.7017755508422852, -0.03648204728960991, 0.7471053600311279, -0.07186322659254074, 0.5851378440856934, -0.29196682572364807, 0.434188574552536, -0.32832443714141846, -0.4669453799724579, -0.034093599766492844, -0.05139900743961334, -0.026132280007004738, -0.08899113535881042, 0.4133056700229645, 0.4080059230327606, 0.7141927480697632, 0.07418055832386017, -0.4531446695327759, -0.5488603711128235, -0.9401580691337585, 0.7585998773574829, -0.5552568435668945, 0.4785184860229492, 0.630390465259552, 0.10323525965213776, -0.5809967517852783, -0.2272716611623764, -0.1712840050458908, -0.40719902515411377, 0.0016891058767214417, -0.2013416588306427, -0.0005072872154414654, -0.03469131514430046, 0.49037638306617737, 0.4764935076236725, -0.5126567482948303, -0.1510826200246811, -0.5207745432853699, -0.5238376259803772, 0.798995316028595, 0.71039879322052, 0.3168989419937134, -0.5092538595199585, -0.3554115891456604, 0.8081890344619751, -0.7661373019218445, 0.38409894704818726, 0.42541733384132385, 0.3573627769947052, -0.2274545133113861, 1.054906964302063, -0.09923314303159714, 0.574225664138794, -0.025030067190527916, -0.6104047894477844, -0.004495649598538876, -0.4108577072620392, 0.0351095125079155, 0.3709753155708313, 0.28320592641830444, 0.1517459750175476, 0.17445407807826996, -0.2365122139453888, -0.37622198462486267, 0.21582812070846558, 0.05877804383635521, -0.7082286477088928, -0.2375612109899521, 0.3590512275695801, -0.6919941902160645, -0.12169574946165085, -0.0527355931699276, -0.30272579193115234, -0.612251877784729, -0.3428231179714203, 0.13089904189109802, 0.04954084753990173, -0.1867380440235138, 0.2967197000980377, -0.14092759788036346, 0.20551630854606628, -0.11283069849014282, -0.8426466584205627, 0.633518636226654, 0.794875979423523, 0.9999260902404785, -0.18504054844379425, -0.005555274430662394, -0.5367820262908936, 0.18489639461040497, -0.28497034311294556, 0.8063126802444458, -0.0725424736738205, -0.7183142304420471, -0.10476741194725037, 0.1423976868391037, 0.20209994912147522, -0.49947842955589294, 0.007549721281975508, -0.5854533314704895, 0.13566890358924866, -0.14006680250167847, -0.8133450150489807, 0.16974416375160217, 0.48381152749061584, -0.8549970388412476, 1.0109150409698486, 0.19673827290534973, -0.49992847442626953, 0.13472537696361542, -1.0551772117614746, -0.7345550060272217, 0.1773644983768463, -0.010524722747504711, -0.7352793216705322, 0.4604151248931885, -0.32958468794822693, 0.680762767791748, 0.031583432108163834, -0.0022171903401613235, -0.14572447538375854, -0.4456719160079956, 0.342331200838089, -0.21059536933898926, 0.6826076507568359, 0.3741423785686493, -0.2806686758995056, 0.21044354140758514, -0.9205694794654846, -0.5486981272697449, 0.12975655496120453, -0.6841948628425598, -0.2933400273323059, 0.80572509765625, -0.3367847204208374, -0.09541434794664383, 0.47205397486686707, -0.7876549363136292, 0.104381263256073, -0.07006080448627472, 0.5808903574943542, 0.7741960287094116, 0.05470230057835579, 0.30563926696777344, -0.46657994389533997, 0.5273749232292175, -0.14981576800346375, 0.13534407317638397, -0.24752023816108704, -0.6002091765403748, -0.37171629071235657, -0.6485586762428284, 0.19246090948581696, 0.6367627382278442, -0.38075321912765503, 0.4266433119773865, -0.4547463357448578, -0.13449344038963318, 0.09466610103845596, 0.2257964164018631, 0.1373469978570938, 0.2275516837835312, -0.10209222882986069, -0.39559072256088257, -0.8843706250190735, -0.37171170115470886, -0.11472998559474945, -0.3162331283092499, -0.04894481226801872, 0.4236322045326233, 0.45830512046813965, -0.2865316867828369, 1.1130212545394897, -0.8062950968742371, -0.24939821660518646, -0.33601272106170654, 0.05532601475715637, 0.29592469334602356, -0.05528924986720085, 0.344112753868103, -0.7584538459777832, -0.43192505836486816, -0.08157234638929367, -0.7548584938049316, -0.0025691399350762367, -0.07694035023450851, 0.2362394481897354, -0.19820769131183624, 0.8192529082298279, -0.2760319411754608, 0.4777025282382965, 0.49933668971061707, -0.7575832605361938, 0.5988192558288574, 0.10341358184814453, -0.1623939722776413, -1.1819533109664917, -0.33003470301628113, 0.019044771790504456, -0.507153332233429, -0.6095633506774902, -0.2969352900981903, -0.1781396120786667, -0.15791930258274078, -0.4800715744495392, 0.7383178472518921, -0.913364827632904, -0.45159226655960083, -0.18145738542079926, -0.15142130851745605, -0.23589837551116943, 0.5802626013755798, -0.01872815191745758, 0.6380568146705627, 0.4138118326663971, -0.6760413646697998, 0.6562135815620422, -0.1685410737991333, -0.8582138419151306, 0.21406923234462738, -0.3302655816078186, -0.03773530572652817, -0.0036917859688401222, -0.11792146414518356, -1.2861254215240479, -0.4377695620059967, 0.12039809674024582, -0.3606589436531067, 0.044371094554662704, -0.02955463156104088, -0.6556305885314941, -0.44648244976997375, -0.6830449104309082, 0.39168140292167664, 0.3996775448322296, -0.39652132987976074, 0.9212512373924255, 0.8038101196289062, -0.06718987971544266, -0.27497953176498413, -0.28445926308631897, -0.2798457145690918, -0.47865259647369385, -0.37111833691596985, 0.31631171703338623, -0.18267178535461426, -0.43711888790130615, -0.008215871639549732, -0.2862529158592224, -0.20819275081157684, 0.4831809997558594, 0.7082011699676514, 0.5716730356216431, -0.2280907928943634, 0.06648504734039307, -0.5510284304618835, 0.08970420062541962, 0.22936029732227325, 0.009657196700572968, 0.6308419704437256, -0.19369973242282867, -0.5034673810005188, -0.18063178658485413, 0.27613863348960876, 0.6647693514823914, -0.06349670141935349, 0.17378774285316467, 0.34893691539764404, -0.681675136089325, -0.020735975354909897, -0.4444487690925598, 0.04597518965601921, -0.5309223532676697, 0.5347799062728882, -0.18731485307216644, -1.2560442686080933, 0.9577060341835022, -0.2712400257587433, 0.2667735815048218, 0.009923228062689304, 0.7401587963104248, -0.3089158833026886, 0.958264172077179, 0.8435850739479065, -0.2688486576080322, 1.0668529272079468, -0.0709155797958374, 0.5474280118942261, -1.199668288230896, -0.2907755970954895, -0.25818178057670593, -0.576418399810791, -0.47754499316215515, -0.4865086078643799, 0.27924108505249023, -0.27921730279922485, -0.15101580321788788, 0.5288227796554565, -0.1540132313966751, 0.5336218476295471, -0.03466951102018356, 0.2992643415927887, 0.5327428579330444, 0.15568770468235016, 0.04429890587925911, -0.03669455647468567, -0.5233619213104248, -0.5787411332130432, 1.065595269203186, 0.5697717070579529, 0.8640314936637878, 0.2876778542995453, 0.9168649911880493, 0.693027913570404, 0.6129025816917419, -1.2673585414886475, 0.8355412483215332, 0.11747762560844421, -1.0615293979644775, -0.45677244663238525, -0.40161657333374023, -1.4201704263687134, -0.356613427400589, 0.17647860944271088, -0.8106986284255981, 0.05876564234495163, -0.060236673802137375, -0.680351197719574, 0.44187870621681213, -0.4706299602985382, 0.45997384190559387, -0.4834648370742798, -0.2793939411640167, -0.1466050148010254, -0.10678009688854218, 0.4136549234390259, 0.14388419687747955, 0.5909112691879272, -0.372227281332016, 0.1260419338941574, 0.570868730545044, -0.08145051449537277, 1.0616368055343628, 0.18713067471981049, -0.3231794536113739, 0.7651147246360779, 0.26550066471099854, 0.4285527467727661, 0.07721822708845139, 0.2504101097583771, -0.14017070829868317, -0.27875062823295593, -0.4598509967327118, -0.2725001275539398, 0.5441937446594238, -0.41899779438972473, -0.5248493552207947, -0.5723056793212891, -0.4777016341686249, 0.03238542005419731, -0.09851866960525513, -0.16553683578968048, 0.5497162938117981, -0.49092838168144226, 0.16215300559997559, 0.6198002099990845, 0.4312700927257538, 0.7555219531059265, 0.7160541415214539, -0.3651691675186157, 0.1772443652153015, 1.223183512687683, 0.3381170332431793, -0.22723138332366943, 0.41226518154144287, 0.3223274052143097, -0.3257370591163635, -0.6148830652236938, -0.023818954825401306, 0.2565050423145294, -0.3725088834762573, -0.11383071541786194, -0.17337428033351898, -0.1847608983516693, -0.0326487198472023, 0.014962590299546719, -0.20781470835208893, -0.43783408403396606, -0.44176870584487915, -0.3202238976955414, 0.1728866696357727, 0.9268392324447632, 0.0028563342057168484, 0.14395740628242493, -0.9380845427513123, 0.694571316242218, 0.6450906991958618, 0.6094813346862793, -0.1010303646326065, -0.3143770694732666, -0.4596339762210846, -0.3787442743778229, -0.2709462642669678, -0.8414633870124817, 0.08907297253608704, -0.07340412586927414, 0.7575230598449707, 0.4785054326057434, -0.29171475768089294, 0.49355995655059814, -0.6452416777610779, 1.017844557762146, 0.21952828764915466, -0.8423231244087219, 0.2572861313819885, -0.30527982115745544, -0.06448893994092941, 0.08658565580844879, 0.2876242697238922, -0.27677783370018005, 0.3794311583042145, -0.6661592721939087, -0.8104239106178284, 0.13109606504440308, -0.0264878012239933, 0.12187331914901733, -0.1480608433485031, 0.21037288010120392, -0.27667856216430664, 0.3833119571208954, -0.8535332679748535, 0.054089564830064774, 0.07877255231142044, -0.04834914952516556, 0.3008292615413666, -0.2717095911502838, -0.2806655764579773, -0.2648254632949829, 0.4576367437839508, -0.1674019992351532, 0.35947996377944946, -0.01518864557147026, -0.24019689857959747, -0.2538224458694458, 0.12595099210739136, 0.6540210247039795, 0.6069720983505249, -0.1300612986087799, 0.1858309507369995, 0.25201162695884705, -0.6784742474555969, 0.203238844871521, -0.17535604536533356, 0.15743005275726318, 0.05876367539167404, 0.6030675172805786, 0.5909745693206787, 0.2951751947402954, -0.8415564298629761, 0.2890392541885376, 0.06359975785017014, -0.08453112095594406, -0.6521266102790833, 0.18139851093292236, 0.16413387656211853, 0.6355894207954407, 0.15857751667499542, -0.15962722897529602, 0.21507424116134644, -1.1968293190002441, 0.08783067762851715, 0.5126767158508301, -0.592823326587677, -0.6066929697990417, 0.2955211400985718, 0.16406895220279694, -1.1037495136260986, 0.5619753003120422, -0.36504849791526794, -0.6274473071098328, 0.7830459475517273, 0.210274338722229, 1.01642906665802, -0.2887158691883087, 0.13690324127674103, 0.0954514741897583, 0.04271751269698143, -0.23251935839653015, 0.8835774660110474, -0.27747899293899536, -0.8320276737213135, -0.4593498408794403, -0.6724286079406738, -0.2642246186733246, -0.007687219884246588, -0.32178017497062683, 0.13367564976215363, -0.548572301864624, -0.4123423397541046, -0.05933269113302231, 0.28851187229156494, -0.5259930491447449, 0.013890763744711876, 0.5091368556022644, 0.5725674629211426, -0.8491867184638977, 0.7149452567100525, 0.6730319857597351, 0.15386860072612762, -0.6991008520126343, -0.2580791413784027, 0.3177536427974701, -0.6247687339782715, 0.6259114146232605, -0.20029352605342865, -0.46962371468544006, -0.17094627022743225, -0.6234032511711121, -0.7508651614189148, 1.395871877670288, -0.11875951290130615, -0.5371019244194031, -0.059272054582834244, 0.05252277851104736, 0.6565054655075073, -0.6681731939315796, -0.385159969329834, 0.46435853838920593, 0.5186675190925598, -0.24385574460029602, -0.5629757046699524, 0.05127124488353729, -0.17207512259483337, -0.16928473114967346, 0.19819176197052002, -0.5448940396308899, 0.8047592639923096, -0.5204591751098633, -0.3532114028930664, 0.150817409157753, 0.786252498626709, 0.6298603415489197, 0.682839035987854, 0.6136466264724731, 0.04120280593633652, 0.6424015164375305, -0.08804310113191605, 0.8035853505134583, -0.4498605728149414, 0.4762256145477295, 0.8452367186546326, -0.4178895950317383, 0.6849050521850586, 0.4870435893535614, -0.5203894376754761, 0.6423888206481934, 0.7790708541870117, -0.0884346142411232, 0.4788411259651184, 0.7207529544830322, -0.35601571202278137, -0.23244306445121765, -0.08948701620101929, 0.014712052419781685, 0.42628705501556396, 0.7603015303611755, -0.2504602074623108, -0.1832912117242813, -0.2716583013534546, 0.06203277409076691, -0.01845058985054493, -0.25368353724479675, 0.6313508152961731, 0.16672943532466888, -0.4424370527267456, 0.09430928528308868, -0.0351678840816021, 0.5576871037483215, -0.8910422325134277, -0.10253969579935074, 0.008422313258051872, 0.06313508003950119, -0.3652685582637787, -0.5621106028556824, 0.36601588129997253, -0.159844309091568, -0.3858041763305664, -0.300441712141037, 0.6704407930374146, -0.18169359862804413, -0.5043531656265259, 0.25885045528411865, 0.6965699195861816, 0.2581058740615845, 0.0003873074019793421, -0.33740219473838806, -0.05314043164253235, -0.2182570993900299, -0.4262551963329315, 0.3787549138069153, 0.5525095462799072, -0.3845962882041931, 0.5954012870788574, 0.7282089591026306, 0.14967811107635498, 0.26620128750801086, -0.09766913205385208, 0.6998253464698792, -0.7919583320617676, -0.5301603078842163, -0.9042130708694458, 0.4083797037601471, -0.01050342246890068, -0.2926776707172394, 0.9299739003181458, 0.9347091913223267, 0.46362823247909546, -0.17272233963012695, 0.5137920379638672, 0.030190128833055496, 0.445927232503891, -0.4231962561607361, 0.21709375083446503, -0.36991560459136963, 0.758184015750885, 0.042094312608242035, -0.9168495535850525, -0.1285550594329834, 0.6537619233131409, -0.14578890800476074, -0.5850610136985779, 0.6613025665283203, 0.8075081706047058, -0.17699506878852844, 0.06127976253628731, 0.300143301486969, 0.1627926081418991, 0.4750925600528717, 0.35956457257270813, 1.0189118385314941, -0.2305220663547516, 0.25879254937171936, 0.047023091465234756, -0.2110922485589981, -0.38436853885650635, -1.1250061988830566, -1.1458944082260132, -0.587674081325531, -0.3740878701210022, -0.44291457533836365, -0.10205455124378204, 1.0721925497055054, 0.6664142608642578, -0.8765319585800171, -0.9109281301498413, 0.13973970711231232, 0.42388442158699036, -0.5316596627235413, -0.18093328177928925, 0.37082669138908386, 0.10415592044591904, -0.34549257159233093, 0.672254204750061, 0.5137696862220764, 0.13949918746948242, -0.6843166947364807, -0.0034958103206008673, -0.2647409439086914, 0.34966301918029785, 1.0740176439285278, 0.6692870855331421, -0.5276685953140259, -0.42803648114204407, 0.3470216691493988, 0.01257282868027687, 0.08123521506786346, 1.350357174873352, -0.555838406085968, 0.1320585012435913, 0.8770485520362854, 0.3848268687725067, 0.5948948860168457, -0.08271721750497818, 0.009696697816252708, -0.8982102870941162, -0.06241382285952568, 0.10023152828216553, 0.6154792308807373, 0.18769587576389313, -0.5273221135139465, 0.7122400403022766, 0.3505735397338867, -0.47840431332588196, -0.8750942349433899, 0.5262770056724548, -1.067339301109314, -0.40295255184173584, 1.0249627828598022, -0.056986138224601746, -0.5445912480354309, -0.8520573973655701, -0.34209540486335754, -0.022488821297883987, -0.2825621962547302, 1.2865772247314453, 1.0033735036849976, -0.6020030975341797, 0.15791213512420654, -0.5617409348487854, 0.4165819585323334, -0.09647717326879501, -0.6987066268920898, 0.04967595264315605, 0.3486312925815582, 0.4344087541103363, 0.6007342338562012, 0.766098141670227, -0.1716560423374176, 0.043757032603025436, -0.2815873324871063, -0.4916599690914154, -0.1772138625383377, -0.5347514748573303, 0.06800532341003418, 0.3619784414768219, -0.19452142715454102, -0.22119250893592834 ]
http://arxiv.org/abs/2406.13770v1
http://arxiv.org/pdf/2406.13770v1
Elliptical Attention
2024-06-19T18:38:11
2024-06-19T18:38:11
Stefan K. Nielsen, Laziz U. Abdullaev, Rachel Teo, Tan M. Nguyen
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV, stat.ML
Pairwise dot-product self-attention is key to the success of transformers that achieve state-of-the-art performance across a variety of applications in language and vision. This dot-product self-attention computes attention weights among the input tokens using Euclidean distance, which makes the model prone to representation collapse and vulnerable to contaminated samples. In this paper, we propose using a Mahalanobis distance metric for computing the attention weights to stretch the underlying feature space in directions of high contextual relevance. In particular, we define a hyper-ellipsoidal neighborhood around each query to increase the attention weights of the tokens lying in the contextually important directions. We term this novel class of attention Elliptical Attention. Our Elliptical Attention provides two benefits: 1) reducing representation collapse and 2) enhancing the model's robustness as the Elliptical Attention pays more attention to contextually relevant information rather than focusing on some small subset of informative features. We empirically demonstrate the advantages of Elliptical Attention over the baseline dot-product attention and state-of-the-art attention methods on various practical tasks, including object classification, image segmentation, and language modeling across different data modalities.
[ -0.7555355429649353, -0.7013347744941711, 0.4362528324127197, 0.4552435874938965, -0.15689674019813538, -0.193424254655838, -0.3517870306968689, -0.5032632350921631, 0.5073038935661316, 0.5278909206390381, -0.49356138706207275, -0.5781850814819336, -0.6754459738731384, 0.04912920296192169, -0.5970029830932617, 0.7778878808021545, 0.02599697932600975, -0.41736266016960144, -0.278381884098053, -0.3264031410217285, -0.3857371509075165, -0.6302744746208191, -0.2905222177505493, 0.3496409058570862, 0.901897668838501, 0.5400103330612183, 0.7598738074302673, 0.8646386861801147, 0.7997450828552246, 0.3620823323726654, 0.30342385172843933, 0.1780785620212555, -0.5905237197875977, 0.3156759738922119, -0.0884600281715393, -0.5172077417373657, -0.3675921559333801, -0.03323422744870186, 0.39344462752342224, 0.8371322154998779, -0.0008057640516199172, 0.6110615730285645, 0.20274268090724945, 1.0434398651123047, -0.926920473575592, 0.032212018966674805, -0.38479289412498474, 0.17089371383190155, -0.38849812746047974, 0.036586660891771317, -0.07916083186864853, -0.11834346503019333, 0.0327114574611187, -1.0433070659637451, 0.1449618637561798, 0.39566946029663086, 0.9846305251121521, 0.7702361345291138, -0.1109573021531105, -0.008122038096189499, -0.8662631511688232, 0.8025415539741516, -0.14078864455223083, 0.6398187875747681, 0.3754603862762451, 0.5479975342750549, 0.0832749530673027, -0.6689908504486084, -0.441336065530777, 0.20192886888980865, -0.016408193856477737, 0.23625560104846954, -0.41238629817962646, -0.009921147488057613, 0.0583915188908577, 0.18800538778305054, -0.21402214467525482, -0.20208892226219177, -0.47452765703201294, 0.10144387930631638, 0.3306758403778076, 0.19101156294345856, 0.12070026993751526, -0.2966894209384918, -0.6249439120292664, -0.07655913382768631, -0.713172972202301, -0.056912172585725784, 0.38512924313545227, 0.14236503839492798, 0.2406511902809143, 0.6838210225105286, -0.553943932056427, 0.7282834053039551, 0.8073469400405884, 0.2142508327960968, -0.046509575098752975, -0.10923759639263153, -0.2668066620826721, -0.05291115120053291, 0.47263893485069275, 0.49609848856925964, 0.15193791687488556, -0.36430254578590393, 0.07762967050075531, -0.3894195854663849, 0.5069032907485962, -0.6846436858177185, -0.1576215922832489, 0.25534331798553467, -0.7501493692398071, 0.10777924209833145, -0.012567236088216305, -0.7374101281166077, 0.192778542637825, -0.6509969830513, 0.4236733317375183, -0.2473466694355011, 0.026715543121099472, 0.19693095982074738, 0.11924133449792862, -0.13878178596496582, -0.06467632204294205, -1.2547872066497803, 0.13379086554050446, 0.5632879137992859, 0.5401807427406311, -0.282894492149353, -0.014728234149515629, -0.3391959071159363, 0.43764442205429077, -0.40073537826538086, 1.0756322145462036, -0.7179886698722839, -0.09471673518419266, -0.05195437744259834, 0.028491003438830376, -0.11259771138429642, -0.696882963180542, 0.7134072184562683, -0.46958816051483154, 0.15825320780277252, -0.24712391197681427, -0.2285802811384201, -0.32197052240371704, 0.23118923604488373, -0.5839545726776123, 1.4773731231689453, 0.10978295654058456, -0.8963667154312134, 0.3748551905155182, -0.41117051243782043, -0.40774306654930115, 0.22224006056785583, -0.15232354402542114, -0.7923722863197327, 0.13243867456912994, 0.624613344669342, 0.6110240817070007, 0.19517536461353302, -0.38204842805862427, -0.6809489130973816, -0.1602967530488968, 0.019051507115364075, 0.03172760456800461, 0.2110893279314041, -0.06679679453372955, -0.6717539429664612, 0.1818910837173462, -0.7926052212715149, 0.0032841742504388094, 0.07244637608528137, -0.09690132737159729, -0.7826042175292969, -0.05112827569246292, 0.2996407747268677, 0.21957054734230042, 0.4078308939933777, -0.2708589732646942, 0.0947035700082779, -0.4683094024658203, 0.20227625966072083, 0.6476004123687744, -0.028968367725610733, 0.5476137399673462, 0.1709565818309784, 0.6327604055404663, 0.030722128227353096, 0.5238771438598633, -0.07501418143510818, -0.145646870136261, -1.062800645828247, -0.6663428544998169, 0.24015727639198303, 0.06566091626882553, -0.5703899264335632, 0.8331573009490967, -0.16756698489189148, -0.4712698459625244, -0.538040041923523, 0.1683778315782547, 0.3424472510814667, 0.5868468284606934, 0.28926730155944824, -0.26169145107269287, -0.47718775272369385, -1.326676845550537, -0.31146109104156494, 0.15088360011577606, -0.27368903160095215, 0.41666385531425476, 0.10066091269254684, -0.13376189768314362, 0.9068467020988464, -0.5257405638694763, -0.8224367499351501, -0.07186727225780487, -0.21388819813728333, 0.1328570693731308, -0.054769791662693024, 0.6345665454864502, -0.7987335324287415, -0.6132652163505554, -0.015281589701771736, -0.3373034596443176, -0.012072698213160038, 0.0037744876462966204, -0.5121937990188599, -0.10303675383329391, 0.5337349772453308, -0.7666612863540649, 0.5065690875053406, 0.4509322941303253, -0.2938687205314636, 0.4281221330165863, -0.00020169625349808484, 0.1030304878950119, -0.8980278372764587, 0.32773491740226746, 0.11773788928985596, -0.22795434296131134, -0.425454705953598, -0.09763525426387787, 0.061086926609277725, 0.112649105489254, -0.341600239276886, 0.3686680495738983, -0.7284565567970276, -0.33243730664253235, -0.1680993288755417, 0.4120350778102875, 0.17967596650123596, 0.9627370238304138, 0.034634023904800415, 0.5659578442573547, 0.500596284866333, -0.633263885974884, 0.36122778058052063, 0.403207391500473, -0.20734156668186188, 0.944829523563385, -0.8559579253196716, 0.20487511157989502, -0.019123878329992294, -0.17821641266345978, -1.178695559501648, -0.15987002849578857, 0.318354070186615, -0.4706491529941559, 0.2683568298816681, 0.19922709465026855, -0.4730151891708374, -0.4664944112300873, -0.2983705997467041, 0.7042155265808105, 0.20883364975452423, -0.791280210018158, 0.6507747769355774, 0.3579035997390747, -0.13094501197338104, -0.5515936017036438, -0.5212274789810181, -0.0755501538515091, -0.6641929745674133, -0.6921191215515137, 0.22453376650810242, 0.37772881984710693, 0.020650286227464676, 0.1752200722694397, -0.05964018031954765, 0.20178499817848206, -0.13306377828121185, 0.4416057765483856, 0.052167024463415146, -0.11920870840549469, 0.11553715169429779, -0.035996776074171066, -0.22668655216693878, 0.21879571676254272, -0.5007566809654236, 0.32952821254730225, 0.2526478171348572, -0.33624327182769775, -0.516587495803833, 0.5763249397277832, 0.4709172546863556, -0.5580054521560669, 0.49763235449790955, 0.5461640954017639, -0.4173133373260498, -0.14250017702579498, -0.5515096187591553, -0.3633235692977905, -0.5106205344200134, 0.6841598749160767, -0.36285480856895447, -0.6970557570457458, 0.34163597226142883, 0.20660631358623505, -0.3508548140525818, 0.33832505345344543, 0.8840203285217285, -0.13005338609218597, 1.2104308605194092, 0.7378968000411987, -0.20948174595832825, 0.7271824479103088, -0.053141165524721146, 0.6507349014282227, -1.138193964958191, -0.33508241176605225, -0.46479371190071106, -0.5866027474403381, -0.12219616770744324, -0.5110504031181335, 0.6963397860527039, -0.09688469767570496, 0.06596515327692032, 0.4859735369682312, -0.9009599089622498, 0.4203942120075226, 0.6031636595726013, 0.21917082369327545, 0.0687250941991806, 0.20773380994796753, 0.125789612531662, -0.4810061454772949, -0.7433868050575256, -0.3137010931968689, 1.2665337324142456, 0.398468941450119, 0.6931820511817932, -0.2611454129219055, 0.5203099250793457, 0.071928471326828, 0.12746372818946838, -0.7032764554023743, 0.2510262429714203, 0.11571525037288666, -0.712658166885376, -0.5000901818275452, -0.054278723895549774, -1.052340030670166, 0.33174124360084534, 0.05893102288246155, -0.5939698219299316, 0.43808528780937195, 0.19996672868728638, -0.5997746586799622, -0.16869936883449554, -0.6663358807563782, 0.8723174333572388, -0.185865119099617, -0.5353913903236389, -0.34348317980766296, -0.5805882215499878, 0.08567159622907639, 0.16340386867523193, 0.06590120494365692, -0.2866678535938263, -0.19956892728805542, 0.6309779286384583, -0.14154726266860962, 0.6923637986183167, 0.01935969665646553, 0.16067513823509216, 0.09331832826137543, 0.013767194002866745, 0.26092588901519775, -0.018416931852698326, 0.7213467359542847, 0.3393658995628357, -0.3867243826389313, -0.5781306624412537, -0.7036186456680298, 0.47042763233184814, -0.6094768643379211, -0.7990508079528809, -0.06757084280252457, -0.5122129321098328, -0.10898497700691223, 0.3915979266166687, 0.1443110704421997, 0.3139147460460663, -0.07454170286655426, 0.12339140474796295, 0.654045581817627, 0.23743505775928497, 0.37379229068756104, 0.019095566123723984, -0.23340065777301788, -0.4376945197582245, 0.6519999504089355, 0.10319826751947403, 0.2425255924463272, 0.4674401879310608, -0.24608291685581207, -0.44703784584999084, -0.28006047010421753, -0.414734810590744, 0.309781938791275, -0.5377549529075623, -0.3630232512950897, -0.6600557565689087, 0.19263514876365662, -0.2643964886665344, -0.053751252591609955, -0.6563673615455627, -0.8136146664619446, -0.12107695639133453, -0.07313036173582077, 0.08166678994894028, 0.6560697555541992, -0.03429398313164711, -0.050575289875268936, -0.3163544535636902, 0.38152971863746643, 0.4821641445159912, 0.19092807173728943, 0.004609405994415283, -0.35654014348983765, -0.6340501308441162, -0.3884369134902954, -0.47621676325798035, -0.6191189289093018, 0.5459919571876526, 0.1758178025484085, 0.5663173198699951, 0.8325194716453552, -0.08340642601251602, 0.7597766518592834, -0.6923110485076904, 0.3196176290512085, 0.29091453552246094, -0.742383599281311, 0.3942958116531372, -0.444264680147171, 0.30879881978034973, 0.40493151545524597, 0.4136485755443573, -0.6564918160438538, -0.726479172706604, -0.2575076222419739, -0.8561168313026428, 0.5255587100982666, 0.5507622361183167, -0.08298514783382416, -0.056317269802093506, 0.4233647286891937, -0.11582647264003754, -0.008622323162853718, -0.2964574992656708, -0.5128222703933716, -0.2474137842655182, -0.435599148273468, 0.22427873313426971, -0.10447557270526886, -0.30694347620010376, -0.2362532764673233, 0.4374263882637024, -0.2465640902519226, 0.4592156708240509, 0.6124120950698853, 0.07195208966732025, -0.10620521754026413, -0.2585667669773102, 0.34241917729377747, 0.44645702838897705, 0.09635922312736511, 0.1673133671283722, -0.04310515895485878, -0.521435558795929, -0.10802558064460754, 0.2951691448688507, 0.10449225455522537, 0.057532548904418945, 0.11765365302562714, 0.3715561330318451, 0.420265257358551, -0.28993839025497437, 0.4457954466342926, -0.07491455227136612, 0.0662442147731781, -0.27439525723457336, -0.26921606063842773, 0.21966934204101562, 0.21730060875415802, 0.5481504201889038, 0.03298508748412132, 0.7882078289985657, -0.16121353209018707, 0.25144433975219727, 0.3696056008338928, -0.5284570455551147, -0.33257222175598145, 1.024405598640442, 0.4041787385940552, -0.10092533379793167, 0.16959138214588165, 0.2198442816734314, -0.7039221525192261, 0.7926806211471558, 0.20613069832324982, 0.8407406210899353, -0.361510306596756, -0.11127579212188721, 0.43853694200515747, 0.1776728481054306, 0.35408103466033936, -0.3326532244682312, -0.4465993046760559, -0.3296833038330078, -0.1041489988565445, -0.27545058727264404, -0.1411133110523224, -0.6085382699966431, -0.7520039677619934, 0.3519357740879059, -0.4273139536380768, -0.3248220384120941, 0.021992888301610947, -0.3329419195652008, -0.5809983611106873, 0.2475259155035019, 0.2654363512992859, 0.4073197543621063, -0.4300083518028259, 0.6232947707176208, 0.5032472014427185, -0.3250245749950409, -0.5591139197349548, -0.04275793209671974, -0.476266086101532, -0.9307053089141846, 0.7719370722770691, 0.5779329538345337, -0.3820122480392456, -0.2451280951499939, -0.3811087906360626, -1.3462263345718384, 0.9767981171607971, 0.3093765079975128, -0.9149684309959412, -0.17047330737113953, 0.4821558892726898, 0.5312336683273315, -0.4558480381965637, 0.27879929542541504, 0.5246844291687012, 0.3479559123516083, -0.20055212080478668, -0.6456325650215149, -0.04075545445084572, -0.06361724436283112, 0.27423548698425293, 0.3644065856933594, -1.1840938329696655, 0.37059348821640015, -0.013805384747684002, -0.501862108707428, -0.008401739411056042, 1.013863444328308, 0.11725527793169022, 0.253000944852829, 0.5457510352134705, 0.7276895642280579, 0.3029003441333771, -0.12551143765449524, 0.9073280692100525, -0.7023177742958069, 0.6025339365005493, 0.7902719974517822, 0.11394213140010834, 0.7572812438011169, 0.7868567109107971, -0.24199791252613068, 0.5260962247848511, 0.693821132183075, 0.13750988245010376, 0.6973316669464111, -0.08139677345752716, 0.16584277153015137, -0.3240446150302887, 0.08026541024446487, -0.21425805985927582, 0.23557822406291962, 0.34322911500930786, -0.33740976452827454, 0.1654956340789795, 0.0034116378519684076, -0.026164107024669647, 0.3141135275363922, -0.214218407869339, 0.5618072152137756, 0.12998683750629425, -0.6310890316963196, 0.5297352075576782, -0.2544591426849365, 0.2966882288455963, -0.07899517565965652, 0.05417344719171524, -0.3332332670688629, 0.5697363018989563, -0.24520449340343475, -0.3908328711986542, 0.4727685749530792, -0.4275217652320862, -0.3426516056060791, 0.0796409621834755, 0.45698148012161255, -0.5282738208770752, -0.6756130456924438, 0.4110637903213501, -0.11423635482788086, -0.12922510504722595, -0.4490140676498413, -0.7762364149093628, 0.0039184726774692535, -0.17471782863140106, -0.488228976726532, -0.08990202844142914, 0.6947575807571411, 0.13834179937839508, 0.641888439655304, 0.36835750937461853, -0.2843833267688751, 0.5045228004455566, -0.11321114748716354, 0.8414539694786072, -0.5652068853378296, -0.6209270358085632, -0.4748178720474243, 0.3575688600540161, -0.2780809700489044, -0.38982293009757996, 1.0092031955718994, 0.6165724992752075, 0.6101386547088623, 0.06379754096269608, 0.4389847218990326, 0.1490412801504135, 0.6271772384643555, -0.36272740364074707, 0.5744816660881042, -0.6701043844223022, -0.20269383490085602, -0.11027203500270844, -1.3116869926452637, -0.4679923355579376, 0.42313680052757263, -0.5378309488296509, 0.052495017647743225, 0.8243629932403564, 0.5870407819747925, -0.10097052901983261, -0.5296850204467773, 0.48618802428245544, 0.08648467808961868, 0.04640970006585121, 0.7826297879219055, 0.7088051438331604, -0.4243704378604889, 0.7735599279403687, -0.3087494671344757, -0.20072966814041138, -0.3525014817714691, -0.16055543720722198, -1.223537802696228, -0.6371153593063354, -0.28957757353782654, -0.0612536184489727, 0.11272385716438293, 0.3751092553138733, 1.2914103269577026, -0.5749827027320862, 0.2146582156419754, 0.16092661023139954, -0.0032920667435973883, -0.21192863583564758, -0.2285791039466858, 0.7505744099617004, -0.5103614330291748, -1.0838713645935059, -0.2897586226463318, 0.8864067792892456, -0.29037266969680786, -0.6965340375900269, 0.1834123134613037, 0.13856452703475952, 0.13147898018360138, 0.4130367934703827, 0.17186106741428375, -0.74976646900177, -0.27057358622550964, 0.24011872708797455, -0.2951456904411316, 0.49693313241004944, 0.6979312300682068, -0.49838340282440186, 0.5257163047790527, 0.1585603803396225, 0.5799039602279663, 0.6946788430213928, 0.3372647166252136, 0.506023645401001, -0.711473286151886, 0.4942421019077301, 0.21275989711284637, 0.2204391062259674, 0.5355498790740967, -0.7648064494132996, 0.2519405782222748, 0.08195754885673523, -0.7528814673423767, -0.1987418681383133, 0.3162677586078644, -1.0214612483978271, 0.11737199127674103, 1.0860092639923096, -0.1656455397605896, -0.9139299988746643, -0.09315004199743271, -0.5072658061981201, -0.11374600231647491, -0.4214606285095215, 1.2244056463241577, 0.643091082572937, -0.19594553112983704, -0.0038017830811440945, -0.2716332674026489, 0.47552409768104553, 0.9985664486885071, -0.7306888699531555, -0.00519874831661582, 0.2385251373052597, 0.1794460266828537, 0.37558817863464355, -0.13573311269283295, -0.3753996193408966, 0.3822728395462036, -0.1470290571451187, 0.40156251192092896, 0.30596378445625305, -0.519387423992157, -0.13765136897563934, 0.3358338475227356, -0.08989883959293365, -0.6036149263381958 ]
http://arxiv.org/abs/2406.13764v1
http://arxiv.org/pdf/2406.13764v1
Can LLMs Reason in the Wild with Programs?
2024-06-19T18:26:19
2024-06-19T18:26:19
Yuan Yang, Siheng Xiong, Ali Payani, Ehsan Shareghi, Faramarz Fekri
cs.CL
cs.CL
Large Language Models (LLMs) have shown superior capability to solve reasoning problems with programs. While being a promising direction, most of such frameworks are trained and evaluated in settings with a prior knowledge of task requirements. However, as LLMs become more capable, it is necessary to assess their reasoning abilities in more realistic scenarios where many real-world problems are open-ended with ambiguous scope, and often require multiple formalisms to solve. To investigate this, we introduce the task of reasoning in the wild, where an LLM is tasked to solve a reasoning problem of unknown type by identifying the subproblems and their corresponding formalisms, and writing a program to solve each subproblem, guided by a tactic. We create a large tactic-guided trajectory dataset containing detailed solutions to a diverse set of reasoning problems, ranging from well-defined single-form reasoning (e.g., math, logic), to ambiguous and hybrid ones (e.g., commonsense, combined math and logic). This allows us to test various aspects of LLMs reasoning at the fine-grained level such as the selection and execution of tactics, and the tendency to take undesired shortcuts. In experiments, we highlight that existing LLMs fail significantly on problems with ambiguous and mixed scope, revealing critical limitations and overfitting issues (e.g. accuracy on GSM8K drops by at least 50\%). We further show the potential of finetuning a local LLM on the tactic-guided trajectories in achieving better performance. Project repo is available at github.com/gblackout/Reason-in-the-Wild
[ -0.2594607472419739, -0.889825701713562, 0.8513864874839783, 0.3624957799911499, -0.18569950759410858, 0.17538407444953918, -0.5562312006950378, -0.2904895842075348, 0.1548662781715393, 0.6094688773155212, -1.017498254776001, -0.5914177298545837, -0.5537212491035461, -0.06635408848524094, -0.20314544439315796, 0.7427804470062256, -0.2705497145652771, -0.07773368805646896, 0.028034355491399765, -0.3979368805885315, -0.7293415069580078, -0.5316371917724609, -0.3130337595939636, -0.30497249960899353, 0.5956584811210632, 0.5588610768318176, 0.6930888891220093, 0.40716552734375, 0.5031037926673889, 0.2580368220806122, -0.12055676430463791, 0.5473551154136658, -0.6731647849082947, 0.41683751344680786, -0.3353891372680664, -0.7026318907737732, -0.07227706909179688, 0.15184229612350464, 0.4278873801231384, 0.7646664381027222, -0.19933240115642548, -0.2375411093235016, -0.26764991879463196, 0.4740639626979828, -0.5454351305961609, -0.2320707142353058, -0.9040961265563965, 0.10371826589107513, -0.2886953353881836, -0.3473049998283386, -0.16553644835948944, -0.3091961145401001, 0.16282621026039124, -0.6825812458992004, -0.044262759387493134, 0.16207052767276764, 0.9088026881217957, 0.23140035569667816, -0.48829904198646545, -0.49417644739151, -1.0863709449768066, 0.8920325636863708, -0.7380642890930176, 0.06164189800620079, 0.2380973994731903, 0.6488208770751953, -0.6315984129905701, -0.4175986349582672, -0.3251122534275055, -0.17089512944221497, 0.19783200323581696, 0.024390392005443573, -0.18196380138397217, 0.016438506543636322, 0.6196362972259521, 0.07507788389921188, -0.553982675075531, 0.23442772030830383, -0.4009944200515747, -0.21935923397541046, 0.7455019354820251, 0.36143818497657776, -0.0421275869011879, 0.4163689911365509, -0.1462390124797821, 0.041704609990119934, -0.7822222709655762, 0.21233822405338287, 0.4178639054298401, 0.27438634634017944, 0.026479318737983704, 0.919003427028656, -0.30040237307548523, 0.8669725060462952, -0.2103656381368637, -0.03878334164619446, -0.3195496201515198, -0.19805102050304413, -0.36678293347358704, -0.2270309180021286, 0.4450392425060272, 0.33763495087623596, 0.4423052668571472, -0.17369122803211212, -0.4116332232952118, 0.14823991060256958, 0.003802327672019601, -0.40667247772216797, -0.11997323483228683, 0.27710574865341187, -0.1719360500574112, -0.1051502674818039, -0.3271840214729309, -0.5293148159980774, -0.6549051403999329, -0.40085190534591675, 0.308302640914917, -0.4970756769180298, -0.05248742178082466, 0.5481618642807007, -0.23099400103092194, 0.49993014335632324, 0.35224562883377075, -0.7880816459655762, -0.030013708397746086, 0.7999995946884155, 0.7195334434509277, -0.0505412332713604, -0.3869568407535553, -0.526380717754364, 0.06140005588531494, -0.6032761931419373, 0.8300667405128479, -0.6321703791618347, -0.36335793137550354, 0.01070034597069025, -0.259718656539917, -0.12052992731332779, -0.586390495300293, 0.6658690571784973, -0.45481717586517334, -0.14251480996608734, -0.3860756456851959, -0.5739381313323975, -0.0954701155424118, 0.6387965679168701, -0.3108900785446167, 0.7545449137687683, -0.26384276151657104, -0.4252570569515228, 0.5434203147888184, -0.445392906665802, -0.4846048355102539, -0.13033714890480042, -0.3742939829826355, -0.09339070320129395, 0.234174445271492, 0.1284225732088089, 0.4499174952507019, -0.31572139263153076, 0.41928890347480774, -0.4512152373790741, -0.5043262243270874, 0.4021773934364319, -0.3669361174106598, 0.6705202460289001, 0.23911768198013306, -0.25873807072639465, 0.3255998194217682, -0.6573663949966431, 0.17462438344955444, 0.2733668088912964, -0.39903807640075684, -0.37713027000427246, 0.20597663521766663, -0.5826635956764221, 0.11387170106172562, 0.07077321410179138, -0.31463634967803955, 0.6095606684684753, -0.44538432359695435, 0.5352362394332886, 0.7177013158798218, -0.004078393802046776, 0.4717358350753784, -0.3731635808944702, 0.6402838230133057, -0.3128374516963959, 0.15509212017059326, 0.007061899174004793, -0.6121695637702942, -0.8528685569763184, -0.12009894847869873, -0.1536911278963089, 0.5563815832138062, -0.5422482490539551, 0.06717589497566223, -0.06324547529220581, -0.43949341773986816, -0.024859830737113953, -0.08101433515548706, 0.09269269555807114, 0.17219851911067963, 0.19848127663135529, 0.2582530677318573, -0.6000699400901794, -0.5934094786643982, -0.6564454436302185, 0.10450292378664017, 0.1456458419561386, 0.421787291765213, 0.5104436874389648, -0.2945636808872223, 1.0823429822921753, -0.5064282417297363, -0.11920894682407379, -0.5037639737129211, 0.12516005337238312, 0.38588976860046387, 0.21703188121318817, 0.36969366669654846, -0.8273612260818481, -0.0031132055446505547, -0.08368721604347229, -0.7379441261291504, -0.2856002449989319, -0.3882802128791809, -0.22865310311317444, -0.1388213187456131, 0.5348774194717407, -0.7560779452323914, 0.2400801181793213, 0.3817041516304016, -0.4404467046260834, 0.7683022022247314, -0.2495674341917038, -0.19104646146297455, -0.4084479510784149, -0.07767605781555176, 0.025010254234075546, 0.08933951705694199, -0.5349156260490417, 0.32186996936798096, -0.27575400471687317, -0.005429805722087622, -0.2936776280403137, 0.4867194592952728, -0.32261332869529724, -0.12056436389684677, -0.12057550996541977, 0.10027093440294266, -0.05006088316440582, 0.35674041509628296, 0.0636947751045227, 0.5799771547317505, 0.7676423192024231, -0.4906315803527832, 0.6087751388549805, -0.27140429615974426, -0.28620219230651855, 0.30631178617477417, -0.41942155361175537, 0.00882661435753107, -0.16777093708515167, 0.22032998502254486, -0.7676908373832703, -0.36466705799102783, 0.1281556636095047, -0.23937273025512695, 0.18787507712841034, -0.2620823383331299, -0.34767720103263855, -0.3717949390411377, 0.043074801564216614, 0.10890015959739685, 0.3242936432361603, -0.3343290388584137, 0.5715969204902649, 0.047406576573848724, 0.34999576210975647, -0.548988401889801, -0.6373019218444824, 0.09953290969133377, -0.5653846263885498, -0.7397159337997437, -0.08531983941793442, -0.023447232320904732, -0.714448094367981, -0.1700725108385086, -0.41374942660331726, 0.05859645456075668, 0.19351163506507874, 0.21029706299304962, 0.15043361485004425, -0.16462168097496033, -0.013615094125270844, -0.021403558552265167, 0.08152177184820175, 0.19437281787395477, -0.6245765089988708, 0.2311524748802185, -0.3022884726524353, -0.6188695430755615, 0.4382670521736145, 0.4727902412414551, 0.6079053282737732, -0.26630672812461853, 0.586100697517395, 0.25766903162002563, -0.37127238512039185, -0.6860585808753967, -0.4063684344291687, -0.17248348891735077, -0.47200608253479004, 0.050645213574171066, -0.4633173942565918, -0.9829385876655579, 0.661831259727478, -0.4321928918361664, 0.22026854753494263, 0.1104445531964302, 0.49659907817840576, -0.03612002730369568, 0.9706884026527405, 0.5570877194404602, 0.2517335116863251, 0.05194287747144699, -0.4721284508705139, 0.3731555640697479, -0.40298745036125183, -0.4866722524166107, -0.29833629727363586, -0.3885841369628906, -0.5017484426498413, -0.6343375444412231, 0.35910969972610474, 0.36931347846984863, -0.181516632437706, 0.1534651517868042, -0.43153703212738037, 0.8058849573135376, 0.4066387116909027, -0.0860806331038475, 0.18339689075946808, -0.2728314697742462, -0.6011240482330322, -0.049910999834537506, -0.7999393343925476, -0.5763812065124512, 1.0115246772766113, 0.29132023453712463, 0.902163565158844, 0.10408230125904083, 0.7443258166313171, -0.04132800176739693, 0.38115614652633667, -1.1203186511993408, 0.766640841960907, 0.026633214205503464, -0.8007585406303406, -0.3803773522377014, -0.3989916145801544, -0.9378842115402222, 0.4365915358066559, -0.30669042468070984, -0.804656445980072, 0.045989565551280975, 0.0867607593536377, -0.47842371463775635, 0.30366653203964233, -0.5644220113754272, 0.9736738801002502, -0.49169185757637024, -0.39734992384910583, -0.020055269822478294, -0.6956994533538818, 0.6758994460105896, -0.022106362506747246, 0.2655506432056427, -0.40551960468292236, 0.12103736400604248, 0.5223537683486938, -0.3830888867378235, 0.7565580010414124, -0.018946995958685875, -0.17651903629302979, 0.43324124813079834, 0.24076001346111298, 0.7213635444641113, -0.018539179116487503, -0.02636103332042694, 0.04710088297724724, -0.023173656314611435, -0.15325962007045746, -0.7615532875061035, 0.7084925770759583, -0.35364559292793274, -0.8291354179382324, -0.5498707890510559, -0.7951200008392334, -0.42247819900512695, 0.26610857248306274, 0.2474619597196579, 0.33145374059677124, 0.03379248455166817, -0.13286589086055756, 0.9613600969314575, -0.16898596286773682, 0.26275956630706787, 0.6541696190834045, -0.25921085476875305, 0.16329558193683624, 0.8123375773429871, 0.10155802220106125, 0.22296461462974548, 0.19993649423122406, 0.48201924562454224, -0.2807985246181488, -0.9163859486579895, -0.3134717345237732, 0.05528184771537781, -1.0026190280914307, -0.011402121745049953, -0.23481829464435577, -0.12735646963119507, 0.07296900451183319, -0.46579664945602417, -0.13322801887989044, -0.21083886921405792, -0.1573229730129242, 0.18575601279735565, 0.22569094598293304, 0.5817934274673462, -0.0155556695535779, 0.11345371603965759, -0.5490579605102539, 0.14014330506324768, 0.277301162481308, 0.12445124238729477, -0.3906932771205902, -0.4450964629650116, -0.03783542290329933, 0.08173224329948425, -0.30357176065444946, -0.9674941301345825, 0.43101099133491516, -0.07510432600975037, 0.7505092024803162, 0.31099170446395874, 0.07095711678266525, 0.6012529730796814, -0.29219958186149597, 0.5188320279121399, -0.14556053280830383, -0.5540735125541687, 0.7262312769889832, -0.7622691988945007, 0.2651175856590271, 0.2849891781806946, 0.30443957448005676, -0.3040158152580261, -0.7175034284591675, -0.40014639496803284, -0.6296351552009583, 0.5828802585601807, 0.2642647325992584, -0.08862380683422089, 0.21058136224746704, 0.45386311411857605, -0.15575776994228363, -0.05937487259507179, -0.5531376600265503, -0.10511386394500732, 0.0966402143239975, 0.16947422921657562, 0.0030420818366110325, 0.14295312762260437, -0.5672606825828552, -0.14962206780910492, 0.32233360409736633, -0.28485623002052307, 0.08311188966035843, 0.04494274780154228, 0.2629445493221283, -0.14573350548744202, 0.4373256266117096, 0.852946937084198, 0.7882219552993774, -0.2529091536998749, 0.22926519811153412, 0.2095116674900055, -0.16310377418994904, 0.1276923567056656, 0.14574675261974335, -0.004378517158329487, -0.2520751357078552, 0.4870609641075134, 0.5713129043579102, 0.0572395846247673, -1.0547116994857788, 0.49748387932777405, -0.048485103994607925, -0.26222094893455505, -0.08949294686317444, 0.2882719039916992, 0.055215053260326385, 0.5128099918365479, 0.44326266646385193, 0.25381577014923096, 0.027915870770812035, -0.6534221172332764, -0.18477118015289307, 0.7719853520393372, 0.08239642530679703, 0.054786425083875656, 0.4798378348350525, 0.010552644729614258, -0.2460446059703827, 0.3750941753387451, -0.4244960844516754, -0.6876154541969299, 0.9678394198417664, 0.4765165448188782, 0.693085253238678, 0.2848040461540222, -0.04924697056412697, -0.05857142060995102, 0.667117714881897, -0.17721928656101227, 0.41464096307754517, -0.045003458857536316, -0.8242740631103516, -0.7820054888725281, -0.5007002353668213, -0.6120392680168152, 0.29505395889282227, -0.2410847544670105, 0.27933213114738464, -0.4399591088294983, -0.029213225468993187, -0.03595833107829094, -0.020802326500415802, -0.44015994668006897, 0.12898117303848267, 0.22159400582313538, 1.0076332092285156, -0.7899516224861145, 0.8009117841720581, 0.9020820260047913, 0.07338385283946991, -1.0372366905212402, 0.09451001137495041, 0.16149744391441345, -0.7663054466247559, 0.6778913140296936, 0.1873960644006729, -0.1963139921426773, -0.3613896369934082, -0.7983411550521851, -0.8362995386123657, 0.8434325456619263, 0.32044529914855957, -0.8055942058563232, 0.09739892184734344, 0.058650895953178406, 0.41695189476013184, -0.2101786583662033, -0.015454720705747604, 0.7958191633224487, 0.5956262350082397, 0.6200224161148071, -0.788530170917511, 0.05292255058884621, 0.1550084799528122, -0.36727309226989746, 0.2994590401649475, -0.5269926190376282, 0.6919141411781311, -0.7304908633232117, -0.02362678572535515, -0.01598738692700863, 0.5020711421966553, 0.6371805667877197, 0.5758780837059021, 0.12800253927707672, 0.49169978499412537, 0.777039110660553, -0.30221179127693176, 0.8920436501502991, 0.0940820574760437, 0.1711389422416687, 0.8884184956550598, -0.45362991094589233, 0.47565481066703796, 0.5104808807373047, 0.04039048030972481, 0.24621616303920746, 0.7817993760108948, 0.21133403480052948, 0.5632298588752747, 0.6368815302848816, -0.25928258895874023, -0.6745429635047913, 0.2866387665271759, -0.005038162227720022, 0.5522140264511108, 0.6960082054138184, 0.14781486988067627, -0.4433073401451111, 0.017973007634282112, 0.02449076622724533, 0.14715418219566345, -0.3031412363052368, 0.21751990914344788, 0.14029477536678314, -0.9128510355949402, 0.6177384257316589, 0.26553991436958313, 0.5685182809829712, -0.9347670674324036, -0.0504196472465992, -0.31552839279174805, 0.2799025774002075, -0.1797308772802353, -1.0432018041610718, 0.555014967918396, -0.13961035013198853, 0.15014295279979706, -0.2181401401758194, 0.9170418977737427, -0.2726269066333771, -0.24924734234809875, 0.019405756145715714, 0.48767659068107605, 0.16660138964653015, 0.08365900069475174, -0.6469459533691406, 0.30999964475631714, -0.151950404047966, -0.20428362488746643, 0.28529807925224304, 0.8628243207931519, -0.25555333495140076, 1.0544778108596802, 0.749397873878479, 0.2831695079803467, 0.2590724527835846, -0.06705084443092346, 1.0656729936599731, -0.5008203983306885, -0.42817914485931396, -1.035570502281189, 0.11700278520584106, 0.0015990760875865817, -0.4814905822277069, 0.9821804761886597, 0.4420551061630249, 0.6179991960525513, 0.2052515596151352, 0.6220476627349854, -0.03265995532274246, 0.08553442358970642, -0.7517706155776978, 0.19485434889793396, -0.3772552013397217, 0.5953081846237183, 0.12381996959447861, -0.6788222789764404, -0.5048511028289795, 0.7498720288276672, -0.638907253742218, -0.10724146664142609, 0.5073702931404114, 0.8028186559677124, -0.06936007738113403, 0.05660669878125191, 0.4010342061519623, 0.12036196887493134, 0.4679573178291321, 0.9884517788887024, 1.306888222694397, 0.23452532291412354, 0.6073994040489197, 0.01756979338824749, -0.40965554118156433, -0.2415197491645813, -1.1436026096343994, -1.0191012620925903, -0.10617195814847946, -0.17668043076992035, -0.292616605758667, 0.19314873218536377, 0.7687714695930481, 0.7133110761642456, -0.34015190601348877, -0.21124231815338135, -0.44619691371917725, 0.4272061586380005, -0.24569326639175415, -0.20019985735416412, -0.11000286787748337, -0.38907185196876526, -0.2601674497127533, 0.7857040166854858, 0.3377395272254944, 0.05502886697649956, -0.40571072697639465, -0.18503497540950775, -0.031950268894433975, 0.40748459100723267, 0.4452548623085022, 0.5849753618240356, -0.7616178393363953, -0.13058055937290192, 0.2012627273797989, -0.03304428979754448, -0.3969106674194336, 1.193104863166809, -0.6991737484931946, 0.3982808291912079, 0.23405270278453827, 0.3682134747505188, 0.5421574711799622, -0.2604953348636627, 0.49283531308174133, -0.6283490657806396, 0.06097782403230667, 0.6292245984077454, 0.4135356545448303, -0.002897989936172962, -0.26431700587272644, 0.3766864538192749, 0.24597807228565216, -0.6979174613952637, -0.7063964009284973, 0.40776532888412476, -0.9099544286727905, -0.40819859504699707, 1.6821436882019043, -0.16549189388751984, 0.07605151832103729, -0.18610353767871857, -0.3955511152744293, -0.12040277570486069, -0.1977953165769577, 0.4512520730495453, 0.7791448831558228, -0.40841951966285706, 0.10070334374904633, -0.6954913139343262, 0.5165231823921204, 0.5024316906929016, -0.6585397720336914, 0.1973877102136612, 0.6421884298324585, 0.1772489696741104, -0.05104433372616768, 0.5322993993759155, 0.241832435131073, -0.001203478081151843, -0.12414401769638062, -0.5901505351066589, -0.0725926086306572, -0.4648689925670624, -0.3021921217441559, -0.014223655685782433, 0.19404982030391693, -0.05593787506222725 ]
http://arxiv.org/abs/2406.13762v1
http://arxiv.org/pdf/2406.13762v1
Unveiling the Hidden Structure of Self-Attention via Kernel Principal Component Analysis
2024-06-19T18:22:32
2024-06-19T18:22:32
Rachel S. Y. Teo, Tan M. Nguyen
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV, stat.ML
The remarkable success of transformers in sequence modeling tasks, spanning various applications in natural language processing and computer vision, is attributed to the critical role of self-attention. Similar to the development of most deep learning models, the construction of these attention mechanisms rely on heuristics and experience. In our work, we derive self-attention from kernel principal component analysis (kernel PCA) and show that self-attention projects its query vectors onto the principal component axes of its key matrix in a feature space. We then formulate the exact formula for the value matrix in self-attention, theoretically and empirically demonstrating that this value matrix captures the eigenvectors of the Gram matrix of the key vectors in self-attention. Leveraging our kernel PCA framework, we propose Attention with Robust Principal Components (RPC-Attention), a novel class of robust attention that is resilient to data contamination. We empirically demonstrate the advantages of RPC-Attention over softmax attention on the ImageNet-1K object classification, WikiText-103 language modeling, and ADE20K image segmentation task.
[ -0.48267707228660583, -0.6152172684669495, 0.48030731081962585, 0.36136144399642944, -0.10997562855482101, -0.10287664085626602, 0.03398328647017479, -0.27732542157173157, 0.15040665864944458, 0.4265426993370056, -0.8289658427238464, -0.36680200695991516, -0.4035530984401703, -0.10391564667224884, -0.3542027771472931, 0.6612353920936584, 0.24946331977844238, -0.47464245557785034, -0.2457677274942398, -0.02168360725045204, -0.605261504650116, -0.6304155588150024, -0.22564482688903809, 0.10663165897130966, 0.7257822155952454, 0.4113459587097168, 0.38133540749549866, 0.8577497601509094, 0.9116168022155762, 0.27661365270614624, 0.1523604542016983, -0.1875067502260208, -0.6470758318901062, 0.23343230783939362, -0.34517568349838257, -0.31467393040657043, -0.6281492114067078, 0.3346898555755615, 0.41957712173461914, 0.4430018663406372, 0.2801157832145691, 0.4061986207962036, 0.5433353781700134, 0.826729953289032, -0.992171585559845, 0.31272244453430176, -0.35622337460517883, 0.5979428291320801, -0.031036309897899628, -0.25246119499206543, -0.4580788016319275, 0.3180690407752991, 0.14872203767299652, -0.3982750177383423, 0.686849057674408, -0.4149802327156067, 0.619479775428772, 0.7872990965843201, -0.17091327905654907, 0.2836250066757202, -0.6024307012557983, 0.9278619289398193, -0.00811854936182499, 0.6027417778968811, 0.5920064449310303, 0.35574230551719666, -0.12077271938323975, -0.6796941757202148, -0.21399694681167603, 0.05479719862341881, -0.01718895509839058, 0.4838767945766449, -0.10102802515029907, -0.03717363253235817, -0.19666483998298645, 0.44365373253822327, -0.3454248309135437, 0.14204196631908417, -0.4624567925930023, -0.2292862981557846, 0.2425648719072342, 0.17398402094841003, 0.038248222321271896, -0.2540508508682251, -0.6498086452484131, -0.3625577986240387, -0.549973726272583, 0.12590160965919495, 0.01215150486677885, 0.4799095392227173, -0.09263747930526733, 0.48404577374458313, 0.0037295431829988956, 0.5700942873954773, 0.4381178617477417, -0.018826179206371307, -0.04349856078624725, -0.41787225008010864, -0.5753285884857178, 0.050375550985336304, 0.6342743039131165, 0.06143664941191673, 0.05535176768898964, -0.2193964123725891, 0.14886559545993805, 0.3226522207260132, 0.827055037021637, -0.4152897000312805, -0.48209547996520996, 0.243933767080307, -0.9303034543991089, -0.7061508297920227, -0.11521166563034058, -0.9310871362686157, 0.1827886402606964, -0.27940964698791504, 0.3579331040382385, -0.17641472816467285, 0.04494233801960945, -0.1244957447052002, 0.36579185724258423, 0.43206265568733215, 0.11694344133138657, -1.00247061252594, 0.17385947704315186, 0.8929628133773804, 0.5945078730583191, -0.48579415678977966, -0.20707131922245026, -0.5474124550819397, 0.005005419719964266, -0.39350947737693787, 1.1015585660934448, -0.4588099718093872, -0.2105872631072998, -0.3846341371536255, 0.07793071120977402, -0.12967486679553986, -0.276262104511261, 0.6196246147155762, -0.2934406101703644, 0.17558921873569489, -0.2508441209793091, -0.17988568544387817, -0.20484647154808044, 0.20493246614933014, -0.4893340468406677, 1.0359126329421997, -0.08858874440193176, -0.8426340818405151, 0.264328271150589, -0.38761210441589355, -0.37223803997039795, 0.19585107266902924, -0.4274137020111084, -0.6524428129196167, 0.3310633897781372, 0.45625969767570496, 0.7799676060676575, 0.01646694354712963, -0.09326475113630295, -0.6355128288269043, 0.007617370691150427, 0.15076638758182526, -0.5319082140922546, 0.5308135151863098, 0.33026376366615295, -0.35670921206474304, -0.01677755080163479, -0.7551808953285217, -0.11675921827554703, 0.09886492788791656, -0.2428886443376541, -0.043307166546583176, 0.03059312142431736, 0.023939162492752075, 0.31150001287460327, 0.21543927490711212, -0.4241965711116791, 0.040408920496702194, -0.25697171688079834, 0.3034813702106476, 0.9698784351348877, -0.03827139735221863, 0.473690390586853, 0.45969802141189575, 0.7369236946105957, 0.08691578358411789, 0.4242252707481384, -0.5746895670890808, -0.5132325887680054, -0.6345481276512146, -0.6049410104751587, 0.17131295800209045, 0.3559044301509857, -0.05201440677046776, 0.5747103691101074, 0.1431686133146286, -0.18626214563846588, -0.44945329427719116, 0.1302981823682785, 0.4547169506549835, 0.8173930644989014, 0.25176796317100525, -0.5872949957847595, -0.158150777220726, -1.2723350524902344, -0.05863713473081589, 0.053077105432748795, -0.04649949446320534, 0.35381075739860535, -0.06885971128940582, -0.20091930031776428, 1.0461517572402954, -0.5965262651443481, -0.9038758873939514, -0.22265338897705078, 0.029682815074920654, -0.01361747644841671, 0.40873074531555176, 0.504645586013794, -0.5789147019386292, -0.46593189239501953, -0.06458090245723724, -0.5819272398948669, 0.06411843746900558, -0.08259952813386917, -0.034274253994226456, -0.1704215705394745, 0.6829700469970703, -0.13831990957260132, 0.7157831192016602, 0.16699081659317017, -0.37157824635505676, 0.15483666956424713, -0.1378592848777771, -0.2176664024591446, -0.9427382349967957, 0.42823460698127747, 0.10294678062200546, -0.36211442947387695, -0.4901072084903717, 0.2549510896205902, 0.2754571735858917, -0.39702463150024414, -0.4138428270816803, 0.10386068373918533, -0.3577292561531067, -0.4123951494693756, -0.46137815713882446, -0.033252738416194916, 0.050014011561870575, 0.9385234117507935, -0.11428526788949966, 0.6786210536956787, 0.5548259615898132, -0.46160945296287537, 0.11774692684412003, 0.5049733519554138, 0.09003730118274689, 0.4934302866458893, -0.7660606503486633, 0.2592250406742096, -0.4395171105861664, -0.059769123792648315, -1.4281039237976074, -0.1526942402124405, 0.2790723145008087, -0.42298629879951477, 0.7092801332473755, -0.12199663370847702, -0.13081680238246918, -0.4461100399494171, -0.2911235988140106, 0.6656062006950378, 0.08709993213415146, -0.6218499541282654, 0.6027871966362, 0.4610152244567871, -0.16221143305301666, -0.6854668259620667, -0.6448110342025757, 0.11423343420028687, -0.072747603058815, -0.4234917461872101, 0.2629595100879669, 0.07069368660449982, 0.15594276785850525, 0.08919501304626465, -0.27595221996307373, -0.371044397354126, 0.2938927412033081, 0.4599931836128235, 0.03825223073363304, -0.1344195306301117, 0.12160445749759674, -0.2368834763765335, -0.645479142665863, 0.17996835708618164, -0.2020251750946045, 0.19599096477031708, -0.008367705158889294, -0.2952755391597748, -0.8415147066116333, 0.5635119080543518, 0.5874432921409607, -0.6112553477287292, -0.004782473668456078, 0.5273172855377197, -0.2299816906452179, -0.03877037391066551, -0.4941963255405426, -0.5995908379554749, -0.47767409682273865, 0.46179285645484924, -0.404737651348114, -0.8841639757156372, 0.5702192783355713, 0.4060215950012207, -0.2719165086746216, 0.49641066789627075, 0.5901963114738464, -0.09285440295934677, 0.9840752482414246, 1.0593518018722534, -0.32551148533821106, 0.38863128423690796, 0.060193926095962524, 0.29482510685920715, -0.7252315282821655, -0.2685249447822571, -0.49467605352401733, -0.5177118182182312, -0.5799844861030579, -0.16750335693359375, 0.43471258878707886, -0.47547730803489685, 0.1467348337173462, 0.25182852149009705, -0.8586323261260986, 0.4743131697177887, 0.6682581901550293, 0.18844085931777954, -0.12242776900529861, 0.06038472056388855, -0.08482538908720016, -0.3722210228443146, -0.8190823793411255, -0.08320993185043335, 0.9851568937301636, 0.9844322204589844, 0.9743090271949768, -0.5736755728721619, 0.5494571924209595, 0.29471901059150696, -0.11874488741159439, -0.8271515369415283, 0.3434309661388397, -0.27647921442985535, -0.41645950078964233, -0.06081763282418251, -0.08221077919006348, -0.7988685369491577, 0.18921996653079987, 0.22190451622009277, -0.5857086181640625, 0.9505035877227783, 0.35281476378440857, -0.7930452823638916, -0.15420344471931458, -0.5830293893814087, 1.327061653137207, 0.043765708804130554, -0.5064302086830139, -0.22358208894729614, -0.8729528784751892, 0.2966478168964386, -0.15143533051013947, -0.10716729611158371, -0.12782660126686096, 0.1486632227897644, 0.5099129676818848, -0.12236826866865158, 1.2359126806259155, 0.16881555318832397, -0.2679537534713745, 0.21207337081432343, 0.08545740693807602, 0.30252504348754883, -0.04375722259283066, 0.8915582299232483, -0.14343634247779846, -0.3205990493297577, -0.4417818486690521, -0.37902918457984924, 0.6926010251045227, -0.7156161665916443, -0.46141454577445984, -0.4339471459388733, -0.27512070536613464, 0.03483663499355316, 0.2069912850856781, 0.25019362568855286, 0.39828386902809143, 0.011641398072242737, 0.34638288617134094, 1.0386643409729004, -0.17688263952732086, 0.5783277750015259, 0.20150353014469147, 0.18472301959991455, -0.4286634624004364, 0.8854312896728516, 0.07653795182704926, 0.01986105926334858, 0.5749883055686951, 0.181946262717247, -0.18434329330921173, 0.0011533013312146068, 0.1352624148130417, 0.050978753715753555, -0.7049307227134705, -0.34769734740257263, -0.9582943320274353, -0.04992244020104408, -0.6088495850563049, 0.003974767401814461, -0.9654248356819153, -0.5885871648788452, -0.6187894940376282, -0.17260262370109558, -0.10959487408399582, 0.528786301612854, -0.3330678939819336, 0.10592283308506012, -0.46096882224082947, 0.5730764865875244, 0.9876947402954102, 0.3838745057582855, 0.09137852489948273, -0.4356536865234375, -0.15997649729251862, -0.6482675671577454, -0.5770770907402039, -0.7276676297187805, 0.6981028914451599, 0.278969943523407, 0.589615523815155, 0.7356902360916138, -0.08776770532131195, 0.39344578981399536, -0.4194682538509369, 0.43708932399749756, -0.0569014735519886, -0.7046471834182739, 0.7549915909767151, -0.2889048755168915, 0.44590893387794495, 0.5072445869445801, -0.024694982916116714, -0.15541058778762817, -0.3917536437511444, -0.3822895884513855, -0.8439932465553284, 0.780718207359314, 0.2546423673629761, -0.10132952779531479, -0.06830771267414093, 0.4941857159137726, -0.045101284980773926, -0.15714380145072937, -0.8266332149505615, -0.2869340777397156, -0.6054732799530029, -0.2403518259525299, -0.0033431039191782475, -0.7091841101646423, -0.017594845965504646, 0.06066034734249115, 0.32712697982788086, -0.39607512950897217, 0.6716717481613159, 0.6592240929603577, 0.1663336306810379, -0.21367329359054565, 0.01661473885178566, 0.7020188570022583, 0.41777166724205017, -0.3521382510662079, 0.4905003011226654, -0.3115224242210388, -0.7586097121238708, -0.015403483994305134, -0.03707480803132057, 0.2058996707201004, -0.46645355224609375, 0.2768431603908539, 0.2019570916891098, 0.36265814304351807, -0.01571413315832615, 0.49902474880218506, -0.3218694031238556, 0.08537748456001282, 0.01877283863723278, -0.2053864449262619, -0.15911635756492615, -0.0020567497704178095, 0.5479684472084045, -0.1589798927307129, 0.4229840636253357, -0.30390143394470215, 0.521699070930481, 0.3379010558128357, -0.9549647569656372, -0.36628222465515137, 0.8764166831970215, 0.07404855638742447, 0.07564471662044525, 0.45680877566337585, 0.3083643615245819, -0.6313655972480774, 0.7778058052062988, 0.383473664522171, 1.3055341243743896, -0.5264012813568115, -0.0480523481965065, 0.02406386099755764, 0.5864024758338928, 0.5426763892173767, 0.3327455222606659, -0.43331751227378845, -0.39133399724960327, -0.5930168032646179, -0.4285348057746887, 0.026648642495274544, 0.12415283173322678, -0.7463235855102539, -0.09158174693584442, -0.5414230227470398, -0.11506079882383347, 0.2249080240726471, -0.30873027443885803, -0.7538468241691589, 0.40576454997062683, -0.03460678085684776, 0.7501680850982666, -0.7798554301261902, 0.5187269449234009, 0.4592929482460022, -0.0399775467813015, -0.4359770119190216, -0.11377276480197906, -0.3169921040534973, -0.7302001118659973, 0.9343354105949402, 0.45098018646240234, 0.033919766545295715, -0.1106078028678894, -0.52125084400177, -0.9243746399879456, 0.7654143571853638, 0.2994149923324585, -0.45116129517555237, 0.38183003664016724, 0.1270458698272705, 0.34976381063461304, -0.17723505198955536, -0.33196961879730225, 0.19141952693462372, 0.13513368368148804, -0.21501007676124573, -0.5284499526023865, -0.17025083303451538, -0.14899572730064392, -0.10999976843595505, 0.02776690013706684, -0.8926853537559509, 0.6330389380455017, 0.010294890031218529, -0.2763413190841675, -0.4871772229671478, 1.0998270511627197, -0.2230457216501236, 0.12012170255184174, 0.1834191530942917, 0.8869868516921997, 0.1120934784412384, 0.21547411382198334, 0.8859265446662903, -0.31866368651390076, 0.5231958627700806, 1.1191872358322144, 0.027334831655025482, 0.5574864149093628, 0.511215090751648, -0.14971929788589478, -0.013218918815255165, 0.5950936675071716, -0.11941999942064285, 1.007680058479309, -0.38610994815826416, 0.003404326969757676, -0.5736382007598877, 0.03747402876615524, -0.32876837253570557, 0.7103589177131653, 0.18880866467952728, -0.5655389428138733, -0.25965744256973267, 0.11868559569120407, -0.44044315814971924, 0.031750984489917755, -0.37716588377952576, 0.9187842607498169, 0.2642199695110321, -0.5142503380775452, 0.24383869767189026, -0.20127268135547638, 0.06671205908060074, -0.19947762787342072, 0.00812672171741724, -0.3387409746646881, 0.5432127714157104, 0.08473627269268036, -0.5422630906105042, 0.34934404492378235, -0.34361276030540466, -0.5517786145210266, -0.24857179820537567, 1.0514529943466187, -0.06222370266914368, -0.6184507608413696, 0.14833879470825195, 0.014467389322817326, -0.157401904463768, -0.26150116324424744, -0.5905715227127075, 0.0995798408985138, -0.1666008085012436, -0.06647045165300369, 0.4269322454929352, 0.31272637844085693, 0.372226357460022, 0.7579025626182556, 0.24387973546981812, -0.6379855275154114, 0.2213793694972992, -0.39098992943763733, 0.9411693811416626, -0.6742890477180481, -1.0088034868240356, -0.8014538884162903, 0.09184365719556808, 0.31523528695106506, -0.10447726398706436, 0.750602662563324, 0.5044658780097961, 0.37525829672813416, -0.29190126061439514, 0.5121579766273499, 0.5798507928848267, 0.4298371970653534, 0.007113764528185129, 0.6061139106750488, -0.13001936674118042, -0.232871413230896, -0.33559131622314453, -0.9205154180526733, -0.4600658714771271, 0.7467358112335205, -0.053671274334192276, -0.1002015694975853, 0.43358126282691956, 0.4380037784576416, -0.45132142305374146, -0.27184930443763733, 0.4168836772441864, 0.20794270932674408, 0.39578020572662354, 0.4948045313358307, 0.41401076316833496, -0.34712815284729004, 0.33600184321403503, -0.4953901767730713, -0.48302754759788513, -0.2411738932132721, -1.0245298147201538, -0.8885483145713806, -0.42483294010162354, -0.5143709182739258, -0.007969710044562817, -0.035706259310245514, 0.4923475682735443, 0.891746461391449, -0.9239152073860168, 0.14736033976078033, -0.30812928080558777, -0.0495169535279274, -0.25600895285606384, -0.25991636514663696, 0.8481305241584778, -0.8265537619590759, -0.4268417954444885, 0.7040822505950928, 0.8529316186904907, 0.20606866478919983, -0.7118740081787109, 0.5515565872192383, 0.08189378678798676, -0.15561546385288239, 0.6636564135551453, 0.4662460684776306, -0.4850815236568451, -0.15735509991645813, 0.25842395424842834, -0.1774323284626007, 0.1889708787202835, 0.7963941097259521, -0.9719811677932739, 0.6586217880249023, 0.5650684237480164, 0.8845237493515015, 0.39003726840019226, 0.036930691450834274, 0.7558948397636414, -0.9383842349052429, 0.1916775107383728, 0.04144031181931496, 0.13876552879810333, 0.27977660298347473, -0.7789627313613892, 0.3885694146156311, 0.27699944376945496, -0.8029273748397827, -0.6821695566177368, 0.21315787732601166, -1.213965892791748, -0.21683640778064728, 0.5222218632698059, -0.1980614960193634, -0.7693693041801453, -0.1635454297065735, -0.10581544786691666, -0.0959695428609848, -0.24323520064353943, 1.2141448259353638, 0.3342474102973938, -0.07976797968149185, -0.3702782392501831, -0.2449728101491928, 0.5703284740447998, 0.6336543560028076, -0.5262933373451233, 0.3406001925468445, 0.24185603857040405, 0.0782855972647667, 0.41799214482307434, 0.21342742443084717, -0.30949023365974426, 0.4814603328704834, -0.3379840850830078, 0.020136600360274315, 0.07011381536722183, -0.7710890769958496, -0.549209475517273, 0.8056498765945435, -0.2952209413051605, -0.6531830430030823 ]
http://arxiv.org/abs/2406.13748v1
http://arxiv.org/pdf/2406.13748v1
Every Language Counts: Learn and Unlearn in Multilingual LLMs
2024-06-19T18:01:08
2024-06-19T18:01:08
Taiming Lu, Philipp Koehn
cs.CL
cs.CL, cs.LG
This paper investigates the propagation of harmful information in multilingual large language models (LLMs) and evaluates the efficacy of various unlearning methods. We demonstrate that fake information, regardless of the language it is in, once introduced into these models through training data, can spread across different languages, compromising the integrity and reliability of the generated content. Our findings reveal that standard unlearning techniques, which typically focus on English data, are insufficient in mitigating the spread of harmful content in multilingual contexts and could inadvertently reinforce harmful content across languages. We show that only by addressing harmful responses in both English and the original language of the harmful data can we effectively eliminate generations for all languages. This underscores the critical need for comprehensive unlearning strategies that consider the multilingual nature of modern LLMs to enhance their safety and reliability across diverse linguistic landscapes.
[ 0.050746411085128784, -0.8134012818336487, 0.37422752380371094, 0.16147761046886444, -0.2070225328207016, 0.30950629711151123, -0.30221715569496155, -0.560009241104126, -0.08991077542304993, 0.615543782711029, -0.35953861474990845, -0.4988616406917572, -0.47629210352897644, -0.08386625349521637, -0.3287411630153656, 1.18230402469635, 0.13787132501602173, 0.4717954397201538, -0.32563069462776184, -0.27063968777656555, -0.21563348174095154, -0.8876914978027344, -0.6001617312431335, -0.39960089325904846, 0.7259795069694519, 0.460785448551178, 0.43584200739860535, 0.4739072024822235, 0.045951761305332184, 0.25390881299972534, -0.11399179697036743, 0.3538614511489868, -0.7331053614616394, 0.10181540995836258, -0.3042795658111572, -0.6727575063705444, -0.03351052105426788, -0.09348434954881668, 0.797863781452179, 0.9605199098587036, -0.3737267553806305, 0.2146448791027069, 0.3403276801109314, 0.41022413969039917, -0.6307631731033325, 0.05723166465759277, -0.6800353527069092, -0.005173081066459417, -0.36260250210762024, -0.34016168117523193, -0.6723402142524719, -0.4162828028202057, -0.2967411279678345, -0.4838462769985199, -0.08792069554328918, -0.31226733326911926, 0.35987234115600586, -0.26178523898124695, -0.9916219711303711, -0.5824980139732361, -0.954892635345459, 1.165449619293213, -0.518435537815094, 0.45328882336616516, 0.39405113458633423, -0.13319604098796844, -0.12014671415090561, -0.49787527322769165, -0.3271853029727936, -0.028572795912623405, 0.16297884285449982, 0.18101197481155396, -0.24699318408966064, -0.24109680950641632, -0.11011622101068497, 0.054109733551740646, -0.5204277634620667, 0.40353459119796753, -0.6648813486099243, -0.417440801858902, 0.6581004858016968, -0.015267628245055676, 0.5940141677856445, 0.08763223141431808, -0.49175742268562317, -0.0008682593470439315, -1.1538074016571045, -0.06669344007968903, 0.7901639938354492, 0.24458321928977966, -0.1287713497877121, 0.2174745798110962, 0.2549048066139221, 0.39752623438835144, -0.6129717230796814, -0.613185465335846, 0.3247770369052887, -0.3141917586326599, 0.09848979860544205, -0.051779646426439285, 0.8282020092010498, 0.28478193283081055, 0.6675718426704407, -0.427118718624115, -0.05979285389184952, 0.0015573749551549554, 0.185220867395401, -0.5636420249938965, 0.10475346446037292, -0.047192685306072235, -0.19698373973369598, -0.29249081015586853, 0.0589042492210865, -0.7734013199806213, -0.3728286325931549, -0.12467034161090851, 0.36588054895401, -0.6692593693733215, -0.469120055437088, 0.15471473336219788, 0.13677355647087097, 0.14371038973331451, 0.20066851377487183, -0.5591142177581787, 0.040997058153152466, 0.44596052169799805, 0.4109937846660614, -0.07589363306760788, -0.7077569961547852, -0.3143143057823181, 0.2864324748516083, -0.6405399441719055, 0.5150039792060852, -0.3587694466114044, -0.4682530462741852, 0.4735815227031708, 0.31744617223739624, -0.12173730880022049, -0.6330894231796265, 0.4839232265949249, -0.4523533880710602, 0.15032319724559784, -0.22938434779644012, -0.5677367448806763, -0.5457890033721924, 0.06828846782445908, -0.5212430953979492, 0.5330905318260193, -0.3436734080314636, -0.47696051001548767, 0.4215450882911682, -0.09884695708751678, -0.8886826634407043, 0.04924360662698746, 0.05022525414824486, -0.4365914463996887, 0.09947947412729263, -0.3290891647338867, 0.4703771471977234, 0.09020011126995087, 0.49106791615486145, -0.2509858310222626, -0.2636805474758148, 0.44493257999420166, -1.108763337135315, 1.0932753086090088, 0.2192612588405609, -0.2180039882659912, -0.005570256616920233, -0.5847054719924927, 0.042243316769599915, 0.35420888662338257, -0.6597939133644104, -0.4131958782672882, 0.052926357835531235, 0.18394631147384644, 0.302905410528183, 0.07538782805204391, -0.7526944279670715, -0.02103869430720806, -0.178533136844635, 0.28090786933898926, 0.6313859224319458, 0.20393256843090057, 0.3039602041244507, -0.5560917854309082, 0.48435115814208984, 0.28422659635543823, 0.23370730876922607, -0.37248021364212036, -0.43457871675491333, -0.5358709096908569, -0.018194051459431648, -0.05718586966395378, 0.7123522162437439, -0.8699844479560852, 0.025958644226193428, -0.29520827531814575, -0.6130829453468323, -0.5367675423622131, 0.7152097225189209, 0.7738021016120911, 0.2615737318992615, 0.19890712201595306, -0.1628742516040802, -0.5463006496429443, -0.7634130716323853, -0.4526093006134033, -0.2836543619632721, 0.2715238034725189, -0.021987520158290863, 0.5269114375114441, -0.232473686337471, 0.36607879400253296, 0.0020215895492583513, -0.19270862638950348, -0.4497931897640228, 0.0637674480676651, -0.2922983169555664, 0.2975021302700043, 0.6052799820899963, -0.6204810738563538, -0.4810648560523987, -0.005658857058733702, -1.0214992761611938, 0.23161101341247559, -0.18385553359985352, 0.3484238088130951, 0.5794758796691895, 0.42542898654937744, -0.3207642734050751, 0.3907742500305176, 0.5701238512992859, -0.20669826865196228, 0.49190622568130493, -0.42576634883880615, 0.20519761741161346, -1.0352846384048462, 0.06181909143924713, -0.21979711949825287, -0.15191872417926788, -0.9750010967254639, 0.12120644003152847, 0.1942879557609558, 0.10332896560430527, -0.9932104349136353, 0.751758337020874, -0.5597042441368103, 0.3930274546146393, -0.1525341272354126, -0.16400042176246643, -0.0034245087299495935, 0.36778390407562256, -0.08747192472219467, 0.5820297002792358, 0.4601723849773407, -0.669394314289093, 0.2932765483856201, 0.08825324475765228, -0.6233503222465515, 0.5049335360527039, -0.28788918256759644, 0.021502221003174782, -0.4845975637435913, 0.11405052244663239, -0.878612220287323, -0.12241172790527344, 0.03311428427696228, -0.5303733348846436, 0.41374364495277405, -0.19559121131896973, -0.6658092737197876, -0.043760575354099274, -0.29185667634010315, 0.3812527358531952, 0.4359022378921509, -0.7349533438682556, 0.11176513135433197, 0.5875819325447083, 0.015401924028992653, -0.795509397983551, -0.9685786962509155, 0.07537133991718292, -0.47451186180114746, -0.429007351398468, -0.20763733983039856, -0.2458951473236084, -0.4555386006832123, -0.24957342445850372, 0.018509553745388985, -0.2571854293346405, 0.346465140581131, 0.3730267286300659, 0.1695742905139923, 0.09168792515993118, 0.3132861852645874, -0.22419200837612152, 0.14601987600326538, 0.20636141300201416, -0.2177608758211136, 0.5949596762657166, 0.1671665757894516, -0.6689020395278931, -0.16155846416950226, 0.5574628114700317, 0.7732740044593811, -0.14829334616661072, 1.2548032999038696, 0.5825399160385132, -0.4197913706302643, -0.3042435348033905, -0.5875865817070007, 0.09333959966897964, -0.4489988088607788, 0.4895186424255371, -0.15160590410232544, -0.7823836207389832, 0.5153736472129822, 0.04457320272922516, 0.34236907958984375, 0.1149415522813797, 0.5108944773674011, -0.170827254652977, 0.9544848203659058, 0.8169454336166382, -0.38475164771080017, 0.184077188372612, -0.13013847172260284, 0.32758060097694397, -0.26120421290397644, -0.594622790813446, -0.37117987871170044, 0.14793018996715546, -0.5331517457962036, -0.4129779636859894, 0.3890085816383362, 0.406619668006897, -0.2939819097518921, -0.0029733129777014256, -0.026249738410115242, 0.6441431641578674, 0.4911614954471588, 0.13611313700675964, 0.5910236239433289, 0.31534892320632935, -0.15721377730369568, -0.1281827986240387, -0.7861932516098022, -0.5167742371559143, 1.253198504447937, 0.2172168642282486, 0.877692699432373, 0.4220486581325531, 0.5647535920143127, 0.09470483660697937, 0.5858507752418518, -0.6077072620391846, 0.13987340033054352, -0.24479521811008453, -0.7071977257728577, -0.27719828486442566, -0.5678737163543701, -1.223515510559082, 0.24400103092193604, 0.06158981844782829, -0.6454336643218994, 0.030427496880292892, 0.054271116852760315, -0.11055736243724823, 0.9820030927658081, -0.5673404932022095, 0.5671342611312866, -0.5855409502983093, -0.3419833481311798, -0.29027825593948364, -0.3944705128669739, 0.5643888115882874, -0.5822945833206177, 0.8132705092430115, 0.10277736186981201, -0.05979442596435547, 0.833319902420044, -0.10973982512950897, 1.35223388671875, 0.040104713290929794, -0.4649169445037842, 0.3069747984409332, 0.30917197465896606, 0.38097280263900757, -0.00905667431652546, -0.10796814411878586, 0.5536855459213257, -0.006492584478110075, -0.5793576836585999, -0.1335957646369934, 0.7190450429916382, -0.7882364392280579, -0.2884015142917633, -0.2696702480316162, -0.41420412063598633, -0.19788655638694763, 0.26268500089645386, 0.49064648151397705, 0.2842235565185547, -0.45098912715911865, 0.18694378435611725, 0.7065956592559814, -0.569111168384552, 0.6172919273376465, 1.1511857509613037, -0.053107958287000656, -0.30471959710121155, 1.2835640907287598, 0.258527547121048, 0.47740352153778076, 0.18441371619701385, -0.0890834853053093, -0.3226895332336426, -0.4166834056377411, -0.340331494808197, 0.5044577717781067, -0.9567885994911194, -0.10943976044654846, -0.5407105088233948, -0.24961911141872406, -0.40691012144088745, -0.09771231561899185, -0.4639759659767151, 0.1275140792131424, -0.08580680936574936, -0.3019953668117523, 0.23682700097560883, 0.9489572644233704, -0.37296169996261597, 0.2926456928253174, -1.116796851158142, -0.06198970600962639, 0.09440909326076508, 0.4233643114566803, 0.13306570053100586, -0.5810683965682983, -0.3542301058769226, 0.3644789755344391, -0.22939005494117737, -0.8339692950248718, 0.622532069683075, 0.2607390880584717, 1.003618597984314, 0.5058202743530273, -0.0663718655705452, 0.3884456157684326, -0.5356164574623108, 0.4706340730190277, 0.3735950291156769, -0.6854435205459595, 0.18875962495803833, -0.40148642659187317, 0.21182399988174438, 0.27436432242393494, 0.7747029066085815, -1.1639906167984009, -0.4071814715862274, -0.68159019947052, -1.0581823587417603, 0.42192888259887695, -0.2904842495918274, 0.5154007077217102, -0.20782683789730072, 0.08659186214208603, 0.30091798305511475, 0.25552019476890564, -1.023982286453247, -0.50738525390625, 0.1692090928554535, 0.028108224272727966, -0.39204299449920654, -0.5606586933135986, -0.19769075512886047, -0.04017866775393486, 0.6079577803611755, 0.020066918805241585, -0.26000073552131653, -0.1498788595199585, -0.6055758595466614, -0.2734418511390686, 0.40670448541641235, 0.49373292922973633, 0.7795193195343018, 0.3063858449459076, 0.24782612919807434, 0.2368003875017166, -0.513615071773529, 0.4605362117290497, -0.6313650012016296, -0.34890320897102356, -0.01129355188459158, 0.7267453670501709, 0.6288624405860901, 0.4747820496559143, -0.7166711688041687, 0.49535295367240906, 0.1985810399055481, -0.27479708194732666, -0.4918445348739624, -0.17201797664165497, 0.2487681359052658, -0.2864159643650055, 0.17846743762493134, -0.11839543282985687, -0.39592432975769043, -0.9798487424850464, 0.5020883083343506, 0.45935940742492676, -0.4109959602355957, -0.4683662950992584, 0.49606257677078247, 0.06978043168783188, -0.12169963121414185, 0.6981518864631653, -0.030594855546951294, -0.5566157698631287, 0.4483821392059326, 0.6479621529579163, 0.4068704843521118, -0.7865856289863586, 0.48163092136383057, 0.32470953464508057, 0.7205432057380676, -0.16695024073123932, 0.24128443002700806, 0.2548253536224365, -1.0369259119033813, -0.723915696144104, -0.701313853263855, -0.23699358105659485, 0.4669055938720703, -0.538658618927002, -0.1721205860376358, -0.2584950923919678, 0.39887744188308716, -0.09893958270549774, -0.19899068772792816, -0.5884819030761719, 0.12487691640853882, 0.3482585847377777, 0.6426212787628174, -1.3437366485595703, 0.8558535575866699, 0.6294664740562439, -0.44964608550071716, -0.6502571105957031, -0.15280388295650482, 0.5119533538818359, -1.0333746671676636, 0.566906750202179, 0.0361308753490448, -0.01761471852660179, -0.10969533771276474, -0.4054170548915863, -0.8575185537338257, 0.4664376378059387, 0.4306893050670624, -0.2980252802371979, 0.5326195955276489, 0.6482629776000977, 0.4470604360103607, -0.047487664967775345, 0.1933484971523285, 0.3816539943218231, 0.48177438974380493, -0.018304036930203438, -0.8183759450912476, -0.30876630544662476, -0.11566285789012909, -0.3773612678050995, 0.17233681678771973, -0.6325125694274902, 0.706178605556488, -0.30459949374198914, -0.3093474805355072, -0.10860934108495712, 0.2073475867509842, 0.05294064059853554, 0.11032984405755997, 0.4699350595474243, 0.33250465989112854, 0.9298584461212158, 0.011851493269205093, 1.0211609601974487, -0.2329471856355667, 0.12156660109758377, 0.9210535883903503, -0.20750752091407776, 0.5629536509513855, 0.29520970582962036, 0.051646679639816284, 0.02221417985856533, 0.4164334237575531, 0.17060549557209015, 0.1851041316986084, 0.2931506633758545, -0.34408584237098694, -0.21676737070083618, -0.2759672999382019, 0.0032946302089840174, 0.6365460157394409, 0.34862568974494934, -0.07063528150320053, -0.43020573258399963, 0.45492666959762573, 0.6426724791526794, 0.12470362335443497, -0.18387120962142944, 0.6640835404396057, 0.1782103180885315, -0.4841388761997223, 0.6853660345077515, 0.035374026745557785, 0.8297337293624878, -0.6596725583076477, 0.010938155464828014, -0.5087851881980896, 0.34425511956214905, -0.39035993814468384, -0.7471460700035095, 0.40138837695121765, -0.03864467889070511, -0.09265539795160294, -0.4113924503326416, 0.4039062559604645, -0.8232383728027344, -0.6259422898292542, 0.700949490070343, 0.8513592481613159, 0.48915258049964905, -0.036585673689842224, -0.48421168327331543, -0.0576426237821579, 0.3465076982975006, -0.29658043384552, 0.7299664616584778, 0.35951969027519226, -0.28723543882369995, 1.1204010248184204, 0.8705039024353027, 0.47733941674232483, 0.3487629294395447, 0.2254130244255066, 0.4274296164512634, -0.5581496357917786, -0.1465764045715332, -0.8733314275741577, 0.4890197217464447, 0.13884730637073517, -0.1462714672088623, 1.0768531560897827, 0.5843087434768677, 1.2700817584991455, 0.059365712106227875, 0.8206478953361511, 0.47132429480552673, 0.498226523399353, -0.34417325258255005, 1.070614218711853, -0.7217828035354614, 0.3662213087081909, 0.026260603219270706, -0.733263373374939, -0.3395130932331085, 0.15153056383132935, 0.10462599247694016, 0.017943505197763443, 0.649159848690033, 0.675322413444519, 0.046395737677812576, -0.26972588896751404, 0.738955557346344, 0.3523032069206238, 0.2559520900249481, 0.4101833999156952, 0.8989117741584778, -0.2669169306755066, 0.8518449068069458, -0.3689562678337097, -0.07668361067771912, 0.11671784520149231, -0.44130927324295044, -0.6592966318130493, -0.5489354729652405, -0.28863611817359924, -0.31569138169288635, 0.17415258288383484, 0.33574286103248596, 0.5395320653915405, -0.8683839440345764, -0.5130526423454285, 0.3295506238937378, 0.354709267616272, -0.017641592770814896, -0.20669618248939514, 0.16749891638755798, -0.37988412380218506, -0.7406464219093323, 0.6574023962020874, 0.16224022209644318, 0.1408488154411316, -0.3490075469017029, -0.08253966271877289, -0.19772927463054657, -0.030106889083981514, 0.6315245032310486, 0.5221266150474548, -0.5887158513069153, -0.15378057956695557, -0.13782364130020142, -0.23330987989902496, -0.14722107350826263, 0.8323204517364502, -0.5131844282150269, 0.23941048979759216, 0.3263378143310547, 0.26655733585357666, 0.05478539317846298, -0.338549941778183, 0.6623297929763794, -1.077934980392456, 0.3531022071838379, 0.07522149384021759, 0.44585105776786804, 0.43771183490753174, -0.3037753999233246, 0.44934970140457153, 0.349421888589859, -0.36111724376678467, -0.9667717218399048, 0.3070910573005676, -0.2911641597747803, -0.7400213479995728, 1.3612037897109985, -0.287954717874527, -0.21698568761348724, -0.5278319716453552, 0.2648187279701233, 0.35619744658470154, 0.0006379273254424334, 0.6165456771850586, 0.5858387351036072, 0.3271712362766266, -0.10187042504549026, -0.8409099578857422, 0.4187752604484558, 0.40868502855300903, -0.6348483562469482, 0.25813043117523193, 0.38054150342941284, 0.8052695989608765, 0.12307912856340408, 0.5178987383842468, -0.35567617416381836, 0.09421519935131073, -0.21005454659461975, 0.38072553277015686, 0.0822051540017128, -0.6491890549659729, -0.6143299341201782, 0.06927292048931122, 0.01628171280026436, 0.06342776864767075 ]
http://arxiv.org/abs/2406.13743v2
http://arxiv.org/pdf/2406.13743v2
GenAI-Bench: Evaluating and Improving Compositional Text-to-Visual Generation
2024-06-19T18:00:07
2024-06-21T19:09:36
Baiqi Li, Zhiqiu Lin, Deepak Pathak, Jiayao Li, Yixin Fei, Kewen Wu, Tiffany Ling, Xide Xia, Pengchuan Zhang, Graham Neubig, Deva Ramanan
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG, cs.MM
While text-to-visual models now produce photo-realistic images and videos, they struggle with compositional text prompts involving attributes, relationships, and higher-order reasoning such as logic and comparison. In this work, we conduct an extensive human study on GenAI-Bench to evaluate the performance of leading image and video generation models in various aspects of compositional text-to-visual generation. We also compare automated evaluation metrics against our collected human ratings and find that VQAScore -- a metric measuring the likelihood that a VQA model views an image as accurately depicting the prompt -- significantly outperforms previous metrics such as CLIPScore. In addition, VQAScore can improve generation in a black-box manner (without finetuning) via simply ranking a few (3 to 9) candidate images. Ranking by VQAScore is 2x to 3x more effective than other scoring methods like PickScore, HPSv2, and ImageReward at improving human alignment ratings for DALL-E 3 and Stable Diffusion, especially on compositional prompts that require advanced visio-linguistic reasoning. We will release a new GenAI-Rank benchmark with over 40,000 human ratings to evaluate scoring metrics on ranking images generated from the same prompt. Lastly, we discuss promising areas for improvement in VQAScore, such as addressing fine-grained visual details. We will release all human ratings (over 80,000) to facilitate scientific benchmarking of both generative models and automated metrics.
[ -0.5737552046775818, -0.5006412267684937, 0.7053065299987793, 0.34494999051094055, -0.34286895394325256, 0.0779968872666359, -0.259035587310791, -0.36058884859085083, -0.3450504541397095, 0.2296053171157837, -0.42558518052101135, -0.5283026695251465, -0.41462379693984985, 0.08151373267173767, -0.5033798813819885, 0.5589858293533325, -0.03651962801814079, 0.16586384177207947, -0.8027696013450623, -0.004649738315492868, -0.8129240870475769, -0.016415517777204514, -0.5500492453575134, -0.33661386370658875, 0.38187456130981445, 0.5282315015792847, 0.4871024489402771, 0.611626923084259, 0.48983535170555115, 0.3615880310535431, 0.2099594622850418, 0.13400962948799133, -0.5405136942863464, 0.29163122177124023, -0.09799961745738983, -0.32964006066322327, -0.14826169610023499, 0.04740079864859581, 0.7223227620124817, 0.4440332055091858, 0.03674261271953583, 0.25801941752433777, 0.0014813608722761273, 0.8266561031341553, -0.7400128841400146, -0.035364728420972824, -0.34288203716278076, 0.08462053537368774, -0.10026779770851135, -0.3685322105884552, -0.41580307483673096, -0.29429566860198975, 0.21362927556037903, -0.6935132741928101, 0.38016393780708313, -0.06598824262619019, 0.9486900568008423, 0.4130040109157562, -0.3998291492462158, 0.274521142244339, -0.687012791633606, 0.77989661693573, -0.4123160243034363, 0.22848695516586304, 0.32171520590782166, 0.6921941041946411, 0.027620522305369377, -0.8591602444648743, -0.4006756544113159, -0.278770387172699, 0.3175112307071686, 0.5717070698738098, -0.06293606013059616, -0.07581926137208939, 0.3532598316669464, 0.5660896897315979, -0.6817618012428284, -0.024741366505622864, -0.2849488854408264, -0.04476874694228172, 0.8560717105865479, 0.30562934279441833, 0.5790560245513916, -0.3879143297672272, -0.41201797127723694, -0.6373395919799805, -0.40790796279907227, 0.03247452899813652, 0.27182480692863464, -0.42010489106178284, -0.013979284092783928, 0.5691853761672974, -0.5697823166847229, 0.769075870513916, 0.0846613198518753, -0.04878972843289375, 0.13510362803936005, -0.5661020278930664, -0.3245476484298706, -0.30668458342552185, 1.0707184076309204, 0.9472607374191284, 0.27902349829673767, 0.004507965873926878, -0.11631765961647034, 0.3358396589756012, 0.34601545333862305, -1.047339916229248, -0.358753502368927, -0.0888519287109375, -0.6033759713172913, -0.437667578458786, 0.17441363632678986, -0.9822666049003601, -0.5543389320373535, -0.42627426981925964, 0.5347899198532104, -0.5671401619911194, -0.009292528964579105, -0.2391686737537384, -0.5513002276420593, 0.4978150427341461, 0.5601743459701538, -0.9467347264289856, 0.006964338012039661, 0.4711493253707886, 0.5910629630088806, -0.15301012992858887, -0.33534520864486694, -0.42606064677238464, 0.050983890891075134, -0.4645637571811676, 1.1569433212280273, -0.44660088419914246, -0.5751844048500061, -0.08187546581029892, -0.31082096695899963, -0.08402709662914276, -0.7025453448295593, 0.6615764498710632, -0.022405697032809258, 0.428863525390625, -0.6119250655174255, -0.46205559372901917, -0.030266478657722473, 0.2868528366088867, -0.6785006523132324, 0.973956823348999, 0.3335689902305603, -0.522102415561676, 0.7554890513420105, -0.493886798620224, -0.3568015992641449, 0.2629414498806, -0.6342374086380005, -0.331109881401062, 0.10004042088985443, 0.5817081332206726, 0.19420063495635986, -0.7041823267936707, 0.3779652714729309, 0.11642923951148987, -0.33016473054885864, 0.39994001388549805, -0.558336079120636, 0.3913685381412506, 0.3064942955970764, -0.5314719676971436, 0.40253183245658875, -0.8409386873245239, 0.1523309051990509, 0.19060319662094116, -0.19849225878715515, -0.12670183181762695, -0.0013816839782521129, 0.15087759494781494, 0.07320401817560196, -0.030074819922447205, -0.4873076379299164, -0.09223184734582901, -0.1735335886478424, 0.2512006461620331, 0.6775292158126831, 0.2721749544143677, 0.4584205746650696, -0.38851651549339294, 0.6066508293151855, -0.13817927241325378, 0.41630834341049194, -0.31459835171699524, -0.7789276242256165, -0.7279307246208191, -0.1653408706188202, 0.3918439447879791, 0.4465196430683136, -0.8795992136001587, 0.22586169838905334, -0.261563241481781, -0.6029503345489502, -0.40476223826408386, 0.15845514833927155, 0.49598291516304016, 0.7779473066329956, 0.1371854841709137, -0.7284355163574219, -0.3421573340892792, -0.9343809485435486, -0.044877175241708755, -0.15742458403110504, -0.26058802008628845, 0.3845960795879364, 0.21546414494514465, -0.1265249103307724, 0.8087936639785767, -0.3837657570838928, 0.0744054913520813, -0.027078859508037567, 0.6338303685188293, -0.24444609880447388, 0.39508721232414246, 0.7867702841758728, -0.8190277218818665, -0.528211772441864, -0.09462922066450119, -0.9614025354385376, -0.2067098170518875, -0.1215321272611618, -0.31613537669181824, 0.005891086999326944, 0.44860997796058655, -0.45416519045829773, 0.5235118865966797, 0.2727643549442291, -0.4091106355190277, 0.6637296080589294, -0.18723875284194946, 0.6746513843536377, -1.1053168773651123, 0.18120554089546204, 0.29154571890830994, -0.1031690388917923, -0.3638416528701782, 0.15843509137630463, -0.10111779719591141, -0.38213223218917847, -0.25627949833869934, 0.3748076260089874, -0.40278196334838867, -0.26879438757896423, -0.2548694312572479, 0.053228892385959625, 0.19219470024108887, 0.18258805572986603, -0.14969401061534882, 0.9609406590461731, 0.5024250745773315, -0.431333065032959, 0.5835328102111816, 0.4267922043800354, -0.7036630511283875, 1.0429290533065796, -0.8279692530632019, -0.07966063171625137, -0.21920877695083618, 0.214181587100029, -1.2714788913726807, -0.5102812647819519, 0.17452380061149597, -0.592217743396759, 0.2586461305618286, 0.2373846173286438, -0.4321587383747101, -0.37799349427223206, -0.5319299101829529, 0.61781245470047, 0.6794443726539612, -0.4603549838066101, 0.46227166056632996, 0.036377765238285065, -0.12079312652349472, -0.29501116275787354, -0.6091271042823792, 0.37438392639160156, -0.13010171055793762, -0.8743897676467896, 0.4143199622631073, -0.21884062886238098, -0.18887965381145477, -0.04203014820814133, 0.13716630637645721, 0.2135523557662964, 0.03789043426513672, 0.3668833374977112, 0.2638463079929352, -0.1644073873758316, -0.03400097042322159, -0.02774740569293499, -0.20882795751094818, 0.25587889552116394, 0.0686650201678276, 0.4044171869754791, 0.04625273495912552, -0.25511685013771057, -0.4746786057949066, 0.39360156655311584, 0.4725203812122345, -0.3321850895881653, 0.2812643051147461, 0.9605874419212341, -0.1791028529405594, -0.015670908614993095, -0.5437557697296143, 0.026707790791988373, -0.45066893100738525, 0.21803516149520874, -0.3414555490016937, -0.42830854654312134, 0.24368315935134888, -0.14561419188976288, -0.08196842670440674, 0.7530036568641663, 0.6959531903266907, -0.2378656417131424, 1.3389854431152344, 0.4298642575740814, 0.17878958582878113, 0.7403497099876404, -0.4920032322406769, -0.17711129784584045, -0.8744189739227295, -0.3623509109020233, -0.39148420095443726, -0.47564855217933655, -0.5415852069854736, -0.36113327741622925, 0.46139129996299744, -0.1662217676639557, -0.1812664270401001, 0.1942659169435501, -0.597535252571106, 0.49181967973709106, 0.7708391547203064, 0.33685097098350525, 0.13785408437252045, 0.17471717298030853, -0.12726685404777527, -0.0640142634510994, -0.5406954884529114, -0.3364376723766327, 1.1577396392822266, 0.13306494057178497, 0.6046384572982788, -0.01079912856221199, 0.6476117968559265, 0.4098059833049774, 0.3894288241863251, -0.6631105542182922, 0.7114752531051636, -0.385587602853775, -0.32517579197883606, -0.27509722113609314, -0.43036046624183655, -0.7365261912345886, 0.12072894722223282, -0.4061506986618042, -0.6515563130378723, 0.2976852059364319, -0.056580398231744766, -0.41044312715530396, -0.032082706689834595, -0.8180314302444458, 1.1333305835723877, -0.4307132065296173, -0.5051062107086182, -0.14492927491664886, -0.6395822167396545, 0.5931395292282104, 0.2218770533800125, -0.19055891036987305, 0.043068431317806244, 0.13038983941078186, 0.7561284899711609, -0.46623802185058594, 0.6356918215751648, -0.06008170172572136, -0.028836572542786598, 0.3449613153934479, -0.18043550848960876, -0.10639942437410355, -0.04552149027585983, 0.10953807830810547, -0.26449790596961975, -0.030232444405555725, -0.37211212515830994, -0.6754342317581177, 0.6144659519195557, -0.9569563865661621, -0.44482365250587463, -0.19997255504131317, -0.5912914872169495, -0.20438961684703827, -0.12429419159889221, 0.8028439879417419, 0.5443604588508606, -0.4443065822124481, 0.3002127707004547, 0.6330143809318542, -0.34961071610450745, 0.3564596176147461, -0.07132746279239655, -0.23313292860984802, -0.8591232299804688, 1.0924615859985352, -0.14041155576705933, 0.2660027742385864, 0.3637666404247284, 0.26219823956489563, -0.3322557508945465, -0.3174055814743042, -0.9035156965255737, -0.0028216298669576645, -0.7319234609603882, -0.25017213821411133, -0.2781417667865753, -0.2248154878616333, -0.3904913067817688, 0.06521372497081757, -0.056953538209199905, -0.2833879292011261, -0.3926082253456116, 0.012982719577848911, 0.06670480221509933, 0.5745410919189453, 0.05881153792142868, 0.3009509742259979, -0.674026370048523, 0.6087590456008911, 0.7834233641624451, 0.2370031476020813, 0.052962321788072586, -0.42688289284706116, 0.015512295998632908, -0.13067039847373962, -0.5834185481071472, -0.8232203125953674, 0.15360330045223236, 0.2456984668970108, 0.5864580273628235, 0.4928349256515503, -0.321216881275177, 0.7425711154937744, -0.1813637614250183, 0.9759159088134766, 0.45885300636291504, -0.9051896929740906, 0.8017812371253967, -0.5308025479316711, 0.5131409168243408, 0.7513876557350159, 0.01391047053039074, -0.27903875708580017, -0.13915017247200012, -0.5508155226707458, -0.6595838665962219, 0.297128826379776, 0.2115851193666458, -0.07319597899913788, 0.19465334713459015, 0.23030495643615723, -0.004314889200031757, 0.1754327118396759, -0.43915191292762756, 0.07716167718172073, -0.4882918894290924, -0.2906460165977478, -0.16038888692855835, -0.3207418918609619, -0.16343924403190613, -0.5822624564170837, 0.3312338888645172, -0.14789319038391113, 0.07851912081241608, 0.28349363803863525, 0.05898594856262207, -0.516493022441864, 0.3447743356227875, 0.6838319897651672, 0.7854821681976318, -0.1727902740240097, -0.1266356110572815, -0.21683835983276367, -0.2723466455936432, 0.15396380424499512, 0.1514958143234253, -0.5919427871704102, -0.07454535365104675, 0.2640020251274109, 0.9743946194648743, 0.21349318325519562, -0.790382981300354, 0.6758022308349609, -0.30328065156936646, -0.5306312441825867, -0.13586705923080444, 0.22947697341442108, -0.1955576092004776, 0.1842038929462433, 0.34021294116973877, 0.11025867611169815, 0.3750474452972412, -0.7840967178344727, 0.12557879090309143, 0.28275996446609497, -0.2602912485599518, -0.11922533065080643, 0.9360523819923401, 0.441100150346756, -0.035440340638160706, 0.7671124935150146, -0.17397700250148773, -0.4418392479419708, 0.7076104283332825, 0.3897482752799988, 1.076841950416565, -0.2108713984489441, 0.7016719579696655, 0.5715049505233765, 0.23942579329013824, -0.1148674488067627, 0.437078595161438, -0.30833932757377625, -0.37689292430877686, -0.3819967806339264, -0.40965980291366577, -0.5162078738212585, -0.08861162513494492, -0.5416596531867981, 0.03413911908864975, -0.44990187883377075, -0.4742875099182129, 0.0835324078798294, -0.048885248601436615, -0.6909404397010803, 0.4649147391319275, 0.34009063243865967, 0.7771930694580078, -1.026560664176941, 0.3448607921600342, 0.8264581561088562, -0.8038190007209778, -0.7508948445320129, -0.06690001487731934, -0.1895228773355484, -0.3752567172050476, 0.40508580207824707, 0.32288050651550293, 0.18397121131420135, -0.03820237144827843, -0.8823389410972595, -0.5011732578277588, 1.5009995698928833, 0.3509478271007538, -0.4176321029663086, 0.19637706875801086, 0.10536067187786102, 0.71770840883255, -0.3325820565223694, 0.3888559937477112, 0.6922539472579956, 0.6498132944107056, 0.25464168190956116, -0.5754454731941223, 0.027286745607852936, -0.532848060131073, 0.3797115683555603, 0.038052693009376526, -0.6284103989601135, 0.7792506814002991, -0.12325064092874527, -0.4225753843784332, 0.6899572014808655, 0.6526833176612854, 0.3319254219532013, 0.6020755171775818, 0.4814905822277069, 0.8507748246192932, 0.4747295081615448, -0.2675328552722931, 1.3618180751800537, 0.02956005185842514, -0.13370783627033234, 0.8696056008338928, -0.26349130272865295, 0.7403491735458374, 0.43305179476737976, -0.08022543787956238, 0.6760743260383606, 0.6276920437812805, -0.4147201478481293, 0.5718671083450317, 0.2218397855758667, -0.22508299350738525, -0.4259271025657654, -0.5003469586372375, -0.3454379141330719, 0.3814331591129303, 0.024943163618445396, -0.44947367906570435, -0.13320788741111755, 0.08260909467935562, -0.604984700679779, 0.42864492535591125, -0.18465913832187653, 0.8201852440834045, -0.028300300240516663, -0.9459075331687927, 0.4266209900379181, -0.05871730297803879, 0.316308856010437, -0.25983473658561707, -0.07179158926010132, -0.23005785048007965, -0.06559636443853378, -0.1401454508304596, -0.7574857473373413, -0.3140336275100708, 0.1230953261256218, -0.16742444038391113, -0.13802166283130646, 0.8415538668632507, -0.35881513357162476, -0.5381069779396057, -0.021192455664277077, 0.6124798655509949, -0.11592861264944077, -0.14359693229198456, -0.5846891403198242, 0.08768178522586823, -0.20957230031490326, -0.09912743419408798, 0.2355531007051468, 0.3002946674823761, -0.08179549872875214, 0.39989417791366577, 0.5948476195335388, -0.2492647022008896, -0.02410358376801014, 0.765580952167511, 0.6955315470695496, -0.712300181388855, -0.3626718819141388, -0.5457817316055298, 0.504746675491333, -0.45872271060943604, -0.5514305233955383, 0.4736282527446747, 0.5353720784187317, 0.6370264291763306, -0.25905200839042664, 0.7329431772232056, 0.012819843366742134, 0.00769949471578002, -0.5367475152015686, 0.6909857392311096, -0.5646625757217407, -0.09761299937963486, -0.48423996567726135, -1.185593843460083, -0.11048587411642075, 0.29556891322135925, -0.22797654569149017, 0.1918405443429947, 0.629955530166626, 0.5287446975708008, 0.04894929751753807, 0.03365425020456314, 0.3604283034801483, -0.16832709312438965, 0.31536543369293213, 0.6511507034301758, 1.2860711812973022, -0.7565644979476929, 0.5004317760467529, -0.365634948015213, -0.3577199876308441, -0.05434263125061989, -0.770706057548523, -0.7978156208992004, -0.6317964792251587, -0.3475518226623535, -0.03368476778268814, -0.0035945712588727474, 0.4336204528808594, 0.6573985815048218, -0.5131692886352539, -0.2883630394935608, -0.1814596801996231, -0.31697291135787964, -0.22171933948993683, -0.30532652139663696, 0.13344800472259521, -0.15864518284797668, -0.6036455035209656, 0.350556343793869, 0.3233983814716339, 0.0925811380147934, -0.48198938369750977, -0.13188152015209198, -0.03898086026310921, -0.019147224724292755, 0.7090669274330139, 0.282499223947525, -0.6032521724700928, -0.23790758848190308, 0.020251521840691566, -0.29316866397857666, 0.07758282870054245, 0.8438963890075684, -0.8505795001983643, 0.6699804067611694, 0.9936795234680176, 0.6528565883636475, 0.5319010019302368, 0.4738742709159851, 0.8504323363304138, -0.6691872477531433, -0.24392907321453094, -0.04020535200834274, 0.3607829809188843, 0.7416528463363647, 0.015243440866470337, 0.6773872971534729, 0.37399861216545105, -0.6364796161651611, -0.5419530868530273, 0.16194650530815125, -1.3154188394546509, -0.07338600605726242, 0.8783010840415955, 0.3339988589286804, -0.400349885225296, 0.5580848455429077, -0.48265504837036133, 0.2825118899345398, -0.30582311749458313, 0.8921656012535095, 0.5528092384338379, 0.04717462509870529, -0.41532090306282043, -0.5100269317626953, 0.352451890707016, 0.5136361122131348, -1.1808499097824097, -0.3920927345752716, 0.8623529076576233, 0.10458574444055557, 0.09214501827955246, 0.47912320494651794, -0.19709816575050354, 0.8643840551376343, 0.04704592004418373, -0.04591769352555275, 0.026360701769590378, -0.38823917508125305, -0.16504955291748047, 0.015391041524708271, 0.07098976522684097, -0.32504573464393616 ]
http://arxiv.org/abs/2406.13720v1
http://arxiv.org/pdf/2406.13720v1
On the Utility of Domain-Adjacent Fine-Tuned Model Ensembles for Few-shot Problems
2024-06-19T17:24:36
2024-06-19T17:24:36
Md Ibrahim Ibne Alam, Parikshit Ram, Soham Dan, Horst Samulowitz, Koushik Kar
cs.CL
cs.CL, cs.LG
Large Language Models (LLMs) have been observed to perform well on a wide range of downstream tasks when fine-tuned on domain-specific data. However, such data may not be readily available in many applications, motivating zero-shot or few-shot approaches using domain-adjacent models. While several fine-tuned models for various tasks are available, finding an appropriate domain-adjacent model for a given task is often not straight forward. In this paper, we study DAFT-E, a framework that utilizes an Ensemble of Domain-Adjacent Fine-Tuned Foundation Models for few-shot problems. We show that for zero-shot problems, this ensembling method provides an accuracy performance close to that of the single best model. With few-shot problems, this performance improves further, at which point DEFT-E can outperform any single domain-adjacent model while requiring much less data for domain-specific fine-tuning.
[ -0.605498731136322, -1.1975774765014648, 0.56499183177948, -0.07532215863466263, -0.029406849294900894, 0.0687883198261261, -0.13661256432533264, -0.7417452931404114, -0.1312742680311203, 0.272781103849411, -0.8269153833389282, -0.38364556431770325, -0.6268872618675232, 0.24282096326351166, -0.6368746757507324, 0.7343929409980774, 0.15662111341953278, -0.4727320671081543, -0.03763965517282486, 0.15480466187000275, -0.09767919033765793, -0.08136335015296936, -0.44323572516441345, -0.5071495175361633, 0.14498242735862732, 0.70185786485672, 0.4765279293060303, 0.5431758165359497, 0.637308657169342, 0.22321511805057526, -0.03990284726023674, 0.217782124876976, -0.7245543003082275, -0.027973584830760956, -0.06629984825849533, -0.40703701972961426, -0.5282443165779114, -0.18691980838775635, 0.38911551237106323, 0.9513416290283203, -0.021500363945961, 0.22350800037384033, 0.10241609066724777, 0.6761286854743958, -0.692681610584259, -0.33562344312667847, -0.7900665998458862, -0.1795559972524643, -0.36452099680900574, -0.06771232932806015, -0.16341999173164368, 0.07052410393953323, 0.3150547444820404, -0.6298955678939819, 0.19908775389194489, 0.0031195939518511295, 0.8121145963668823, 0.5207183957099915, -0.3365476727485657, 0.3462095260620117, -0.6659153699874878, 0.9697310328483582, -0.8107039928436279, 0.2353702336549759, 0.5793334245681763, 0.23875367641448975, -0.3201446533203125, -0.30642083287239075, -0.6940270662307739, 0.4379340708255768, 0.02708146534860134, -0.02080848067998886, -0.40418529510498047, 0.25561901926994324, 0.07121914625167847, 0.1093602180480957, -0.6846745610237122, 0.3647027909755707, -0.12449200451374054, 0.1281162053346634, 0.7569983601570129, 0.25473251938819885, -0.04290958493947983, 0.2393122762441635, -0.3797139823436737, 0.11833388358354568, -0.9141044020652771, -0.26757338643074036, 0.49375805258750916, 0.6113152503967285, -0.21526874601840973, 0.4711229205131531, -0.5135032534599304, 1.306272268295288, 0.47028833627700806, -0.2495611608028412, -0.18785333633422852, 0.06270604580640793, -0.4889565110206604, -0.20057116448879242, 0.21986952424049377, 0.1153579130768776, 0.38394007086753845, -0.10700768977403641, -0.3939457833766937, 0.02987261302769184, 0.0067636738531291485, -0.7930376529693604, -0.3430388271808624, 0.5835767388343811, -0.22379440069198608, -0.18740615248680115, -0.20866987109184265, -0.5532013773918152, 0.10977107286453247, -0.3428138494491577, 0.6118099093437195, -0.5388045907020569, -0.2107066959142685, 0.140071302652359, -0.17124022543430328, 0.0546477735042572, 0.4358026385307312, -1.0130975246429443, 0.42642104625701904, 0.9543076157569885, 0.9338676929473877, -0.42955639958381653, -0.38846316933631897, -0.541388750076294, 0.12534292042255402, -0.3694787919521332, 0.985369861125946, -0.8564222455024719, -0.21517179906368256, -0.09090596437454224, -0.2183990627527237, -0.13992449641227722, -0.3832698166370392, 0.36755651235580444, -0.5695184469223022, -0.38739511370658875, 0.10765307396650314, -0.9543421864509583, -0.167533740401268, 0.3141191899776459, -0.3682347238063812, 0.7014599442481995, 0.23470443487167358, -0.49431121349334717, 0.326803982257843, -0.2638676166534424, -0.4289570748806, 0.3096540570259094, -0.3172699511051178, -0.2612684369087219, 0.3932715654373169, 0.0693206861615181, 0.6603933572769165, -0.12458281219005585, -0.1589326560497284, -0.6690064668655396, -0.7710591554641724, -0.325219064950943, -0.307898610830307, 0.607056736946106, 0.2662867605686188, -0.11971060931682587, -0.6620750427246094, -0.9660694003105164, 0.10283805429935455, 0.13027773797512054, -0.15928886830806732, -0.6590185761451721, -0.24930821359157562, 0.004689712543040514, -0.022712159901857376, 0.05751793831586838, -0.6300145983695984, 0.2413998544216156, -0.7218932509422302, 0.22687889635562897, 0.6993613839149475, 0.06587372720241547, 0.706386387348175, -0.6254984140396118, 0.5547584295272827, -0.029353128746151924, -0.4468972980976105, -0.356314092874527, -0.5520137548446655, -0.3690741956233978, -0.5934942960739136, 0.36906787753105164, 0.33360975980758667, -0.4398964047431946, 0.27923423051834106, -0.09882427006959915, -0.5153862833976746, -0.32682326436042786, 0.06111319735646248, 0.05214725434780121, 0.4965279996395111, 0.14378102123737335, -0.009404064156115055, -0.2214353233575821, -0.8000814914703369, -0.22698934376239777, 0.026532145217061043, 0.08485684543848038, 0.3223865032196045, 0.7732229232788086, -0.05485491454601288, 1.2869700193405151, -0.6425116062164307, -0.24487805366516113, 0.1288275420665741, 0.18429040908813477, 0.3624221980571747, 0.456908643245697, 0.7523840665817261, -0.4858960509300232, -0.752332329750061, 0.08378835022449493, -0.38463640213012695, -0.1991027593612671, -0.006953413598239422, -0.1374931037425995, 0.33885616064071655, -0.0698591098189354, -0.51497882604599, 0.2412729561328888, 0.6468871831893921, -0.00780410785228014, 0.2458573877811432, 0.12102434784173965, 0.16892914474010468, -0.5704807639122009, -0.07649677991867065, 0.22224858403205872, -0.26023727655410767, -0.8580257892608643, 0.10793909430503845, -0.0589904710650444, 0.052789751440286636, -0.4953080415725708, 0.7006596326828003, -0.3979049324989319, 0.1253819465637207, -0.4422961473464966, 0.15192216634750366, 0.022638864815235138, 0.382609486579895, 0.31995686888694763, 0.5379759073257446, 0.806962788105011, -0.8086904883384705, -0.07683014869689941, 0.46129724383354187, -0.2350180596113205, 0.9326120018959045, -0.5847087502479553, 0.5376319885253906, -0.07812511920928955, -0.13366737961769104, -0.9121915102005005, -0.5078852772712708, -0.41231846809387207, -0.27469509840011597, 0.6554720997810364, -0.5638017654418945, -0.21601007878780365, -0.21284033358097076, -0.3513537347316742, 0.4913995862007141, 0.4153440296649933, -0.6553855538368225, 0.10310127586126328, 0.43546217679977417, -0.24478712677955627, -0.60038161277771, -0.9594893455505371, -0.32066214084625244, -0.3079606890678406, -0.973591148853302, 0.7789942026138306, 0.1454165279865265, -0.29545924067497253, -0.09609319269657135, -0.36976122856140137, -0.39668336510658264, 0.2780768573284149, -0.03686029464006424, 0.041054610162973404, -0.17181752622127533, 0.29316529631614685, 0.2833513915538788, 0.04918260872364044, -0.509006679058075, -0.4049132764339447, 0.3081369996070862, -0.11294756084680557, -0.4569854438304901, 0.051768410950899124, 0.590430498123169, 0.22727403044700623, 0.03370820730924606, 0.630848228931427, 0.1836484670639038, -0.8780147433280945, -0.6858007907867432, -0.5549559593200684, -0.4552987515926361, -0.4766494929790497, 0.2646121382713318, -0.6488553285598755, -1.1713943481445312, 0.381793349981308, -0.1772300750017166, 0.24061651527881622, 0.42431017756462097, 0.6052990555763245, -0.3905442953109741, 0.8099672794342041, 1.0661243200302124, -0.047598954290151596, 0.2275301218032837, -0.24457548558712006, 0.20365010201931, -0.4257811903953552, 0.3036976456642151, -0.6746930480003357, -0.390035480260849, -0.34134215116500854, -0.012827456928789616, 0.48558077216148376, 0.32414665818214417, -0.40908825397491455, 0.6726401448249817, -0.3471139669418335, 0.682167112827301, 0.24820204079151154, -0.004549252334982157, 0.6255319118499756, 0.20858293771743774, 0.12792715430259705, 0.1320573389530182, -1.0069156885147095, -0.5506465435028076, 1.0335724353790283, 0.24744319915771484, 1.110960841178894, 0.16126161813735962, 1.245710849761963, 0.032533273100852966, -0.28352516889572144, -0.8171301484107971, 0.1425243765115738, -0.3147367238998413, -0.786285400390625, -0.5121095180511475, -0.22878356277942657, -0.7846072316169739, 0.19081999361515045, -0.18858018517494202, -1.056270718574524, 0.5160769820213318, 0.23301702737808228, -1.1162419319152832, 0.15897224843502045, -0.6726037859916687, 0.46970152854919434, 0.07344356179237366, -0.6245877742767334, -0.2619864046573639, -0.4405161440372467, 0.6068984866142273, -0.6854794025421143, 0.11898932605981827, -0.21740713715553284, -0.04966910555958748, 0.5377023220062256, -0.45241597294807434, 0.7811757326126099, 0.13829009234905243, -0.251627117395401, 0.42862293124198914, 0.36270105838775635, 0.7116771936416626, -0.0969911515712738, -0.23765404522418976, 0.2761833071708679, 0.3457129895687103, -0.3149418830871582, -0.3852649927139282, 0.911656379699707, -0.5383791923522949, -0.6052975654602051, -0.18920977413654327, -0.3647284209728241, -0.5739287734031677, 0.18474310636520386, 0.29284295439720154, 0.3654177784919739, -0.1540924459695816, 0.15864044427871704, 0.5152592062950134, 0.15444037318229675, 0.8141927123069763, 0.715038537979126, 0.29413485527038574, 0.23044434189796448, 0.5768849849700928, 0.3467462360858917, 0.3986968398094177, 0.3285159170627594, -0.033332791179418564, 0.008527624420821667, -0.5600874423980713, -0.42812660336494446, -0.0020686034113168716, -0.4677472710609436, -0.6138379573822021, -0.6854764223098755, 0.021724363788962364, -0.30126750469207764, -0.45177754759788513, -0.49120238423347473, -0.707942008972168, -0.2349618822336197, 0.16032658517360687, 0.5701342821121216, 0.5832629799842834, -0.16089573502540588, 0.5111847519874573, -1.1466178894042969, 0.25262972712516785, 0.28662464022636414, 0.5153974890708923, -0.033296141773462296, -0.7691971659660339, -0.3394666612148285, 0.04762205481529236, -0.3710305392742157, -0.8425765037536621, 0.319267600774765, 0.5669376254081726, 0.5349045395851135, 0.2610267102718353, 0.14241360127925873, 0.8793808221817017, -0.6226142048835754, 0.4723059833049774, -0.12963248789310455, -0.8325812220573425, 0.4634449779987335, -0.5762382745742798, 0.2764695882797241, 0.683514416217804, 0.3977202773094177, -0.10265452414751053, -0.09644119441509247, -0.5859010219573975, -0.5857955813407898, 0.9302341341972351, 0.33392563462257385, 0.11903104931116104, -0.11089164018630981, 0.3233455717563629, 0.2809913754463196, 0.19498084485530853, -0.2510382831096649, -0.22627778351306915, 0.3173356056213379, -0.18870073556900024, 0.13166631758213043, 0.17328011989593506, -0.16862596571445465, -0.15865512192249298, 0.7741101384162903, -0.48001357913017273, 0.32540324330329895, 0.14122892916202545, -0.21927084028720856, -0.7885586023330688, 0.3070955276489258, 0.49747055768966675, 0.38215819001197815, -0.2725308835506439, -0.18675783276557922, 0.32211196422576904, -0.16570515930652618, 0.27796632051467896, 0.1976378709077835, -0.20835500955581665, -0.2295583337545395, 0.44816091656684875, 0.430329829454422, -0.13809199631214142, -0.5292803645133972, 0.5221190452575684, 0.5810406804084778, -0.28057006001472473, 0.18290679156780243, 0.050398536026477814, -0.12928441166877747, 0.5550869107246399, 0.5572461485862732, 0.17027349770069122, 0.25712084770202637, -0.4616867005825043, 0.5360392332077026, 0.7107486128807068, 0.06381173431873322, -0.24235615134239197, 0.4140508770942688, 0.2922505736351013, -0.18799100816249847, 0.3789155185222626, -0.04702146723866463, -0.3253553807735443, 0.8236265778541565, 0.7279915809631348, 0.9732062220573425, 0.13854648172855377, 0.03271443769335747, 0.24059438705444336, 0.34211114048957825, -0.339031845331192, 0.05999351665377617, -0.04817003011703491, -0.9870830774307251, -0.6394480466842651, -0.7039783000946045, -0.39110419154167175, -0.02063053287565708, -0.32751917839050293, 0.49028193950653076, -0.21095001697540283, -0.309693306684494, -0.12336568534374237, -0.04341968894004822, -0.8910756707191467, 0.22913102805614471, 0.3367655277252197, 0.9371152520179749, -0.8156471252441406, 0.7955247759819031, 0.625635027885437, 0.01872081495821476, -0.6223304271697998, 0.09629962593317032, 0.36227819323539734, -0.6640446186065674, 0.46568772196769714, -0.07167356461286545, -0.38560208678245544, 0.4008805453777313, -0.6691040396690369, -1.067527413368225, 1.040247917175293, 0.5700249671936035, -1.1732131242752075, -0.04473946616053581, -0.10903850942850113, 0.48708102107048035, -0.4014347493648529, 0.18400584161281586, 0.9688071012496948, 0.3818992078304291, 0.16459313035011292, -1.055080771446228, -0.28335040807724, 0.09493869543075562, -0.26065072417259216, 0.314950555562973, -0.8433068990707397, 0.8014143109321594, -0.2589659094810486, -0.30334752798080444, 0.012743828818202019, 0.36755678057670593, 0.36222583055496216, 0.13273176550865173, 0.44837483763694763, 0.6592406034469604, 0.6993136405944824, -0.1337203085422516, 0.9279474020004272, -0.34261956810951233, 0.6318859457969666, 1.116818904876709, -0.4659055471420288, 0.9283580183982849, 0.4244979918003082, -0.46620863676071167, 0.006582095753401518, 0.6174912452697754, 0.10591636598110199, 0.7928659319877625, 0.03273393586277962, -0.1140269860625267, -0.5772635340690613, 0.32752367854118347, -0.20926766097545624, 0.7218506932258606, 0.3590792715549469, 0.22604334354400635, -0.5024752020835876, -0.27830201387405396, -0.4943070709705353, 0.009808485396206379, -0.33155378699302673, 0.6917058825492859, 0.49162811040878296, -0.49927452206611633, 0.6987470388412476, 0.15775512158870697, 0.9812114834785461, -0.29956597089767456, -0.197720006108284, -0.210235133767128, 0.0847976878285408, -0.5880405902862549, -0.5424392223358154, 0.5235161781311035, 0.0788404569029808, 0.050714243203401566, 0.10594355314970016, 1.0031262636184692, -0.4645693600177765, -0.35676512122154236, 0.05663654953241348, 0.863920271396637, -0.04609503597021103, -0.14989687502384186, -0.44673028588294983, -0.24227380752563477, -0.32370856404304504, -0.37779513001441956, 0.35593700408935547, 0.31208622455596924, 0.06803659349679947, 0.48646798729896545, 0.2738376557826996, -0.19545751810073853, -0.002578996354714036, -0.12142332643270493, 0.5676262378692627, -0.4891780912876129, -0.42997869849205017, -1.08027982711792, 0.5374132394790649, 0.3399358093738556, -0.32072803378105164, 0.4803963601589203, 0.2844371497631073, 0.8982488512992859, 0.028676899150013924, 0.7921883463859558, -0.04617264121770859, 0.5066221952438354, -0.49734801054000854, 0.47515785694122314, -0.8515151143074036, 0.28859004378318787, -0.50820392370224, -1.0568749904632568, -0.38616976141929626, 0.7843737006187439, -0.04916410520672798, 0.2248692810535431, 0.5893043279647827, 0.8095411062240601, -0.28192391991615295, 0.1866939514875412, 0.768552839756012, 0.0077614737674593925, -0.11125260591506958, 0.7446283102035522, 0.6672164797782898, -0.4515186548233032, 0.13959497213363647, -0.38650205731391907, -0.1836276799440384, -0.09956249594688416, -0.9517436027526855, -0.8598963022232056, -0.35473334789276123, -0.4372779428958893, 0.21101191639900208, 0.06515390425920486, 1.1201255321502686, 1.0194697380065918, -0.9338128566741943, 0.03370637446641922, -0.10655877739191055, -0.1326235681772232, -0.21535146236419678, -0.16319596767425537, -0.010609643533825874, -0.2873688340187073, -1.121139407157898, 0.6822322010993958, 0.5278854370117188, 0.27943870425224304, 0.03451533988118172, 0.1298651099205017, -0.26146435737609863, 0.35762447118759155, 0.5419095158576965, 0.11350677162408829, -0.4826970100402832, -0.43183448910713196, 0.24352237582206726, 0.000868670700583607, -0.04674958437681198, 0.41043511033058167, -0.9159660339355469, 0.21758008003234863, 0.572264552116394, 0.9131379723548889, 0.7600792646408081, 0.17314165830612183, 0.7197970747947693, -1.0119011402130127, 0.14452144503593445, 0.2771758735179901, 0.33921515941619873, 0.07868877798318863, -0.41105470061302185, 0.7433860301971436, 0.10478893667459488, -0.4727642238140106, -0.8319980502128601, 0.11024341732263565, -0.7100908160209656, -0.3083610236644745, 1.1172447204589844, -0.09192502498626709, 0.005471482872962952, -0.14347979426383972, 0.26036739349365234, -0.08646032214164734, -0.40052127838134766, 0.46729063987731934, 0.9596543908119202, -0.32629621028900146, -0.2832520008087158, -0.33069702982902527, 0.3743417263031006, 0.5607590079307556, -0.6846539974212646, -0.2535993456840515, 0.3726717233657837, 0.2628355920314789, -0.05317637696862221, 0.5535306334495544, 0.2196473777294159, 0.15057268738746643, 0.14083293080329895, -0.48126572370529175, 0.031838055700063705, -0.5481610298156738, -0.7704978585243225, 0.2815053462982178, 0.12943458557128906, 0.026019258424639702 ]
http://arxiv.org/abs/2406.13718v1
http://arxiv.org/pdf/2406.13718v1
Evaluating Large Language Models along Dimensions of Language Variation: A Systematik Invesdigatiom uv Cross-lingual Generalization
2024-06-19T17:20:28
2024-06-19T17:20:28
Niyati Bafna, Kenton Murray, David Yarowsky
cs.CL
cs.CL
While large language models exhibit certain cross-lingual generalization capabilities, they suffer from performance degradation (PD) on unseen closely-related languages (CRLs) and dialects relative to their high-resource language neighbour (HRLN). However, we currently lack a fundamental understanding of what kinds of linguistic distances contribute to PD, and to what extent. Furthermore, studies of cross-lingual generalization are confounded by unknown quantities of CRL language traces in the training data, and by the frequent lack of availability of evaluation data in lower-resource related languages and dialects. To address these issues, we model phonological, morphological, and lexical distance as Bayesian noise processes to synthesize artificial languages that are controllably distant from the HRLN. We analyse PD as a function of underlying noise parameters, offering insights on model robustness to isolated and composed linguistic phenomena, and the impact of task and HRL characteristics on PD. We calculate parameter posteriors on real CRL-HRLN pair data and show that they follow computed trends of artificial languages, demonstrating the viability of our noisers. Our framework offers a cheap solution to estimating task performance on an unseen CRL given HRLN performance using its posteriors, as well as for diagnosing observed PD on a CRL in terms of its linguistic distances from its HRLN, and opens doors to principled methods of mitigating performance degradation.
[ -0.31479454040527344, -1.004621148109436, 0.3705768883228302, 0.26446956396102905, -0.06040869653224945, -0.08620120584964752, -0.5150884985923767, -0.5701835751533508, -0.12246622145175934, 0.553316056728363, -0.5350903272628784, -0.3639380931854248, -0.2752409875392914, -0.17245890200138092, -0.18004310131072998, 0.7552363276481628, 0.40468254685401917, 0.11887470632791519, -0.03366685286164284, -0.17787016928195953, -0.2944134771823883, -0.49552488327026367, -0.5437445044517517, -0.315877228975296, 0.4541809856891632, 0.011914960108697414, 0.7039976119995117, 0.5626647472381592, 0.5699242949485779, 0.3189481198787689, -0.3321351706981659, -0.14105471968650818, -0.5060920119285583, 0.3684485852718353, -0.35895293951034546, -0.5030666589736938, -0.241899311542511, -0.37600138783454895, 0.9995495676994324, 1.244377851486206, -0.05296044051647186, 0.022634388878941536, 0.12348651885986328, 0.5236957669258118, -0.6556841135025024, 0.31579920649528503, -0.44826024770736694, 0.0945383757352829, -0.48869916796684265, 0.19752012193202972, -0.1405525654554367, -0.06633952260017395, 0.2807201147079468, -0.5610244870185852, 0.36841434240341187, -0.23562638461589813, 0.7896340489387512, 0.2707337737083435, 0.0415930300951004, 0.07810647040605545, -0.9020262360572815, 1.0057300329208374, -0.8077580332756042, 0.8119288086891174, 0.4946144223213196, 0.19553783535957336, -0.08802647888660431, -0.13793307542800903, -0.31536638736724854, -0.5009286403656006, -0.05385749042034149, -0.07934504002332687, -0.33236050605773926, 0.16780708730220795, 0.3947887718677521, 0.5487720370292664, -0.6229476928710938, 0.28340116143226624, -0.36131343245506287, -0.2451740801334381, 0.540716826915741, 0.2022794634103775, 0.31252050399780273, -0.04900440201163292, 0.13939502835273743, -0.13997472822666168, -0.7152060866355896, -0.1235629990696907, 0.6955875754356384, 0.4585195779800415, -0.26684650778770447, 0.2322579324245453, -0.31277844309806824, 0.7243978977203369, 0.005751342047005892, -0.23810401558876038, 0.18467950820922852, -0.38761192560195923, -0.09480351954698563, -0.3362314701080322, 0.8349700570106506, -0.03109951876103878, 0.05329418554902077, -0.5006712079048157, -0.22635690867900848, 0.03572835400700569, -0.02749020606279373, -0.5275120139122009, -0.4487871825695038, -0.13741888105869293, -0.46242645382881165, -0.010835829190909863, -0.2671669125556946, -0.918724536895752, -0.34785592555999756, -0.2660800516605377, 0.3555164635181427, -0.5021063685417175, -0.5469856262207031, -0.11855167150497437, 0.01991698145866394, -0.16772037744522095, 0.04484379291534424, -0.8517304062843323, 0.46087130904197693, 0.5956569314002991, 0.7096320986747742, -0.31975507736206055, -0.3886593282222748, -0.5197708010673523, 0.060400038957595825, -0.5259916186332703, 0.48704206943511963, -0.6768165230751038, -0.5426672697067261, 0.038488708436489105, -0.14460651576519012, -0.07477860897779465, -1.0497630834579468, 0.29011496901512146, -0.45317497849464417, -0.10567875951528549, -0.23194298148155212, -0.17154452204704285, -0.09441788494586945, -0.0913519486784935, -0.8668444156646729, 1.0942786931991577, 0.22159521281719208, -0.7879931330680847, 0.5007073283195496, -0.5726857781410217, -0.5243212580680847, -0.007493298966437578, 0.0993238165974617, -0.32679662108421326, 0.43406185507774353, -0.03343053162097931, 0.37398871779441833, -0.3953167796134949, 0.1324678361415863, -0.42933905124664307, -0.21828977763652802, 0.04271997511386871, -0.5161693692207336, 0.7118141055107117, 0.1288149505853653, -0.3707408308982849, 0.028571173548698425, -1.1699602603912354, -0.154652938246727, -0.22218750417232513, -0.5187289118766785, -0.8205577731132507, 0.11869416385889053, -0.00809621624648571, 0.1501171588897705, 0.2111869901418686, -0.44910216331481934, -0.09964752942323685, -0.5472840666770935, 0.2036464959383011, 0.5451851487159729, -0.08201804012060165, 0.34767845273017883, -0.09297356754541397, 0.633316159248352, 0.21531391143798828, 0.18898609280586243, 0.16065655648708344, -0.2495463490486145, -0.8094837665557861, -0.28878211975097656, 0.30130383372306824, 0.2569958567619324, -0.6036696434020996, 0.13185273110866547, -0.4358755946159363, -0.5410820245742798, -0.5065885782241821, 0.11047494411468506, 0.6326472759246826, 0.24313390254974365, 0.24776892364025116, -0.6302304863929749, -0.2446639984846115, -1.1236485242843628, -0.22221577167510986, -0.4012298583984375, -0.1106281578540802, 0.003167499788105488, 0.1522476077079773, -0.35392290353775024, 0.6109959483146667, -0.026250286027789116, 0.14122655987739563, -0.1384545862674713, 0.22660057246685028, -0.01181282103061676, 0.4425755441188812, 0.3139713406562805, -0.48742762207984924, -0.3645836412906647, 0.30291447043418884, -0.4229741096496582, -0.48729512095451355, 0.12006863206624985, 0.06933360546827316, 0.4823160767555237, 0.41457071900367737, -0.48611143231391907, 0.4369300901889801, 0.8518763184547424, -0.1395227015018463, 0.8383352160453796, -0.2627241015434265, -0.030734246596693993, -0.47238847613334656, 0.23712292313575745, 0.2664594054222107, 0.15816213190555573, -0.6545020937919617, 0.20476067066192627, -0.3744872808456421, 0.001584245590493083, -0.05557574704289436, 0.44325512647628784, -0.5067160129547119, -0.3615892231464386, -0.023049242794513702, -0.14334458112716675, -0.3467700481414795, 0.5428413152694702, 0.1967604011297226, 0.49855148792266846, 0.6456903219223022, -0.7223916053771973, 0.1187303438782692, -0.34997954964637756, -0.5133545398712158, 0.6407825946807861, -0.6080847382545471, -0.13580794632434845, 0.0635148212313652, -0.1804526001214981, -0.8326234221458435, -0.07539734989404678, 0.13325926661491394, -0.10923771560192108, 0.3973081707954407, -0.18206782639026642, -0.6589406728744507, -0.009105375967919827, 0.11855865269899368, 0.7640207409858704, 0.30299609899520874, -0.25061964988708496, 0.235724076628685, 0.43258947134017944, -0.2780663073062897, -0.2934008538722992, -0.7742718458175659, -0.07122863084077835, -0.2890036106109619, -0.5781373977661133, 0.05666922405362129, -0.026412038132548332, -0.6709302067756653, -0.06805495172739029, -0.024879954755306244, -0.38105979561805725, 0.046419765800237656, 0.36291009187698364, -0.11239869147539139, -0.4161030948162079, 0.345393568277359, 0.03513062372803688, 0.04908546060323715, 0.21919392049312592, -0.22584818303585052, 0.6173669695854187, 0.050243135541677475, -0.43821966648101807, -0.24565722048282623, 0.44448721408843994, 0.5213944315910339, -0.31342318654060364, 0.5881457328796387, 0.6647742986679077, -0.29802635312080383, -0.3082292675971985, -0.6813324093818665, -0.020073065534234047, -0.41054779291152954, 0.6965712308883667, -0.6047619581222534, -0.6749764680862427, 0.7574626207351685, 0.10519736260175705, -0.1856512427330017, 0.47076675295829773, 0.6354507803916931, 0.36663177609443665, 0.774925708770752, 0.8452221751213074, -0.21005013585090637, 0.558731734752655, -0.20980432629585266, 0.149156391620636, -0.5156408548355103, -0.1474865972995758, -0.47095978260040283, 0.008406301960349083, -0.8717716932296753, -0.5208418965339661, 0.39631983637809753, 0.06376352161169052, -0.36684998869895935, 0.22226811945438385, -0.0965762659907341, 0.2652045786380768, 0.7816474437713623, -0.033930592238903046, 0.3599870204925537, 0.18942655622959137, -0.376137375831604, -0.18043936789035797, -0.9150097966194153, -0.1750728338956833, 0.7800014019012451, 0.42007553577423096, 0.8845071196556091, 0.009478818625211716, 0.5850997567176819, 0.16647468507289886, -0.05243011564016342, -0.5386905670166016, 0.4626784920692444, -0.05321146547794342, -0.509913980960846, -0.5984261631965637, -0.7213956117630005, -0.9407069683074951, 0.3339540362358093, 0.20214562118053436, -0.9061160087585449, 0.44297170639038086, -0.010632908903062344, -0.26228639483451843, 0.3510899245738983, -0.36588719487190247, 0.9245984554290771, -0.06042596697807312, -0.6676627993583679, -0.5901027917861938, -0.6516627073287964, 0.2611144185066223, -0.24732783436775208, 0.38342610001564026, 0.09308531880378723, -0.03875836357474327, 0.7704039812088013, -0.3636992275714874, 0.9438960552215576, -0.11630913615226746, -0.5251585841178894, 0.1110689789056778, 0.5280011892318726, 0.06334236264228821, -0.18972475826740265, -0.2924690246582031, 0.5113599896430969, 0.07230957597494125, -0.38762980699539185, -0.44099730253219604, 0.792194128036499, -0.7010059952735901, -0.4802895486354828, 0.0486343652009964, -0.8385327458381653, -0.38744959235191345, 0.12631238996982574, 0.3355879783630371, 0.43439510464668274, -0.20658482611179352, -0.12933515012264252, 0.5523061752319336, -0.5439854860305786, 0.4332645535469055, 0.4897879660129547, -0.08857699483633041, -0.23277612030506134, 1.141637921333313, 0.3042518198490143, 0.48556360602378845, 0.47786271572113037, 0.289950430393219, -0.16822025179862976, -0.508755624294281, -0.2802622616291046, 0.33152928948402405, -0.4601985812187195, 0.24184371531009674, -0.33302587270736694, 0.03188328072428703, -0.24483048915863037, 0.22449105978012085, -0.5066434144973755, -0.4062381088733673, -0.08051008731126785, 0.13949763774871826, -0.07303962111473083, 0.9885808229446411, -0.5734400153160095, 0.3278540372848511, -0.6183886528015137, 0.13973289728164673, 0.15547046065330505, 0.44477102160453796, 0.13077130913734436, -0.5790232419967651, -0.5990893244743347, 0.26170602440834045, -0.2635282874107361, -0.7055824398994446, 0.47407078742980957, 0.3099024295806885, 0.6778440475463867, 0.488529235124588, -0.08960487693548203, 0.7283786535263062, -0.32630449533462524, 0.8626834154129028, 0.10847479104995728, -1.0522916316986084, 0.41365084052085876, -0.6477266550064087, 0.28305715322494507, 0.23788373172283173, 0.24009688198566437, -0.4533025622367859, -0.6609991192817688, -0.6506918668746948, -0.6975154280662537, 0.5765387415885925, -0.005631770472973585, -0.133753702044487, 0.138906329870224, 0.15040646493434906, 0.23536497354507446, 0.11880356073379517, -0.7264251112937927, -0.11804283410310745, 0.2041492611169815, 0.2064967155456543, -0.32595762610435486, -0.26552140712738037, 0.08137331157922745, -0.33203399181365967, 0.5674640536308289, 0.035593561828136444, 0.15792596340179443, -0.08487333357334137, -0.19040769338607788, -0.39971670508384705, 0.11372803896665573, 0.49112945795059204, 0.8286364078521729, 0.08816440403461456, 0.03916434571146965, 0.16110588610172272, -0.1644633263349533, 0.03792283311486244, 0.07368381321430206, 0.011087978258728981, 0.18544065952301025, 0.6583035588264465, 0.6743913292884827, 0.367777556180954, -0.7642385363578796, 0.30761364102363586, 0.36275795102119446, 0.15706905722618103, -0.03300396353006363, -0.08292137831449509, -0.01349444966763258, 0.3796443045139313, -0.0009886699263006449, -0.05164578929543495, 0.3191528022289276, -0.7988308072090149, 0.10731195658445358, 0.36318734288215637, -0.5945962071418762, -0.6607136130332947, 0.512300431728363, -0.018992053344845772, -0.1547566056251526, 0.48217320442199707, -0.12811532616615295, -0.5213925242424011, 0.49316897988319397, 0.37583720684051514, 0.8371585607528687, -0.39407655596733093, 0.10292082279920578, 0.15157653391361237, 0.33896878361701965, 0.06841371953487396, 0.008059277199208736, -0.16833600401878357, -0.3530261516571045, -0.5649263858795166, -0.8111559748649597, -0.16689954698085785, 0.15418300032615662, -0.734432578086853, 0.029710661619901657, -0.31917092204093933, -0.16856279969215393, -0.09777522832155228, -0.03298989683389664, -0.5671330690383911, 0.19633404910564423, 0.12016157805919647, 0.39859601855278015, -0.7038405537605286, 0.792692244052887, 0.5024880170822144, -0.2812882363796234, -0.5198800563812256, 0.31542009115219116, -0.26867008209228516, -0.6190080642700195, 1.104953646659851, -0.19506220519542694, -0.1277349293231964, -0.5181919932365417, -0.19569511711597443, -0.7757161855697632, 0.44874703884124756, 0.6933832168579102, -0.695888876914978, 0.07296574860811234, 0.588053822517395, 0.9351149797439575, 0.13356459140777588, 0.13186097145080566, 0.718389093875885, 0.33223816752433777, -0.3837263882160187, -1.4073071479797363, -0.05716751515865326, -0.1321803480386734, 0.2810576558113098, 0.3957263231277466, -0.8382716774940491, 1.0618540048599243, -0.12142167240381241, -0.23906691372394562, 0.17211779952049255, 0.3390270173549652, -0.01606975682079792, 0.04246753826737404, 0.39385947585105896, 0.70783531665802, 0.5243276953697205, 0.06541202962398529, 0.8960106372833252, -0.3672034442424774, 0.28930842876434326, 1.0038455724716187, 0.0160183347761631, 0.7778534293174744, 0.3572425842285156, -0.3385646343231201, 0.3870621621608734, 0.5315114855766296, 0.19430983066558838, 0.45544278621673584, 0.7564969658851624, -0.3329339623451233, -0.37960973381996155, -0.07141146063804626, -0.3006860315799713, 0.4028591811656952, 0.3912080228328705, -0.35891515016555786, -0.2554529011249542, 0.05531829595565796, -0.20883731544017792, 0.07342380285263062, -0.2665313184261322, 0.5941184163093567, -0.006770740728825331, -0.5306307077407837, 0.7838311195373535, -0.00724658602848649, 0.5744414329528809, -0.5045682787895203, 0.04587842524051666, -0.30592742562294006, 0.31622421741485596, 0.017800496891140938, -0.33559781312942505, 0.3870716989040375, -0.21236735582351685, -0.25938713550567627, 0.1901737004518509, 0.419589638710022, -0.49440595507621765, -0.6457808613777161, 0.7009494304656982, 0.5778836607933044, 0.3014802038669586, -0.10637778043746948, -0.5141908526420593, 0.2813548445701599, -0.2515786290168762, -0.04338213428854942, 0.40274104475975037, 0.7121250629425049, -0.11695440858602524, 0.8547870516777039, 0.3829657733440399, 0.45488858222961426, 0.3686545789241791, 0.08943702280521393, 0.6607787013053894, -0.3917369246482849, -0.42620065808296204, -0.8239176869392395, 0.11677443981170654, 0.19367915391921997, -0.37070852518081665, 0.70261549949646, 0.5818453431129456, 1.1303988695144653, -0.10275440663099289, 0.7838590741157532, 0.10472658276557922, 0.5944070219993591, -0.42319226264953613, 0.797724187374115, -0.7623829245567322, 0.3961182236671448, -0.535133957862854, -0.9759407043457031, -0.31300032138824463, 0.5000542998313904, -0.4395868480205536, 0.05496857687830925, 0.516361653804779, 1.0945247411727905, -0.2122766375541687, -0.3278447985649109, 0.7812420725822449, 0.3399415910243988, 0.015187469311058521, 0.45119526982307434, 0.8884588479995728, -0.16824668645858765, 0.5512199401855469, -0.6575556397438049, -0.10985418409109116, -0.08658676594495773, -0.42756417393684387, -0.7926012873649597, -0.7345027923583984, -0.5440748929977417, -0.21852561831474304, 0.4305170476436615, 0.49031585454940796, 0.8520556688308716, -0.8627725839614868, -0.7553113698959351, -0.10170916467905045, 0.07198935747146606, -0.3761942386627197, -0.27124229073524475, 0.37377822399139404, -0.3586922287940979, -0.7696617841720581, 0.22466908395290375, 0.1784183233976364, -0.2154283970594406, -0.6541674137115479, -0.10330143570899963, 0.11155669391155243, -0.07526848465204239, 0.6528938412666321, 0.29032155871391296, -0.911862850189209, -0.2040276825428009, -0.40557947754859924, -0.004127075430005789, -0.12792529165744781, 0.7237403988838196, -0.5150202512741089, 0.4568915069103241, 0.5136691927909851, 0.4456726014614105, 0.2470555603504181, -0.38065582513809204, 0.7323489785194397, -0.6709064245223999, 0.21626922488212585, 0.18137305974960327, 0.23622608184814453, 0.34392252564430237, -0.16600897908210754, 0.43280521035194397, 0.4257797598838806, -0.492418110370636, -0.7519079446792603, 0.2672598361968994, -0.7879840135574341, -0.2106984555721283, 1.332781195640564, -0.28367069363594055, -0.17317286133766174, -0.18923227488994598, 0.0810944065451622, 0.19714051485061646, -0.36213114857673645, 0.753570556640625, 0.79554283618927, -0.005006302613765001, -0.08533724397420883, -0.5294275283813477, 0.47305554151535034, 0.4999883472919464, -0.44482600688934326, 0.27969416975975037, 0.7423579096794128, 0.3808920681476593, 0.3302415609359741, 0.18125396966934204, -0.14261363446712494, 0.2091681957244873, 0.4058467745780945, 0.05694015696644783, 0.3668942153453827, -0.28715458512306213, -0.3991490304470062, 0.1485946774482727, 0.15445159375667572, -0.035042718052864075 ]
http://arxiv.org/abs/2406.13714v1
http://arxiv.org/pdf/2406.13714v1
BEACON: Balancing Convenience and Nutrition in Meals With Long-Term Group Recommendations and Reasoning on Multimodal Recipes
2024-06-19T17:14:41
2024-06-19T17:14:41
Vansh Nagpal, Siva Likitha Valluru, Kausik Lakkaraju, Biplav Srivastava
cs.AI
cs.AI, cs.CL
A common, yet regular, decision made by people, whether healthy or with any health condition, is to decide what to have in meals like breakfast, lunch, and dinner, consisting of a combination of foods for appetizer, main course, side dishes, desserts, and beverages. However, often this decision is seen as a trade-off between nutritious choices (e.g., low salt and sugar) or convenience (e.g., inexpensive, fast to prepare/obtain, taste better). In this preliminary work, we present a data-driven approach for the novel meal recommendation problem that can explore and balance choices for both considerations while also reasoning about a food's constituents and cooking process. Beyond the problem formulation, our contributions also include a goodness measure, a recipe conversion method from text to the recently introduced multimodal rich recipe representation (R3) format, and learning methods using contextual bandits that show promising results.
[ -0.30163827538490295, -0.5795900821685791, 0.6134783029556274, 0.4438929855823517, -0.21004930138587952, -0.19714811444282532, -0.11159081757068634, -0.515953004360199, 0.5416348576545715, 0.45397090911865234, -0.5840034484863281, -0.3294888734817505, -0.42596226930618286, 0.09314543753862381, 0.08826539665460587, 0.9249728322029114, -0.08245863765478134, 0.1675359308719635, -0.2081398218870163, -0.26804617047309875, -1.1421325206756592, -0.2735152244567871, -0.6355054974555969, -0.41341033577919006, 0.8929940462112427, 0.8633421659469604, 0.8649293184280396, 0.4957786202430725, 0.3183298110961914, 0.13952858746051788, 0.08724892139434814, 0.4004729688167572, -0.2726122736930847, 0.5297638177871704, -0.25560033321380615, -0.3738210201263428, -0.3999466001987457, -0.033268220722675323, 0.011350833810865879, 0.9764886498451233, 0.015551195479929447, 0.11103188246488571, 0.07282138615846634, 1.018949270248413, -0.6865816116333008, 0.15376663208007812, -0.13850373029708862, 0.1776704043149948, -0.25474023818969727, -0.3160884380340576, -0.37404969334602356, -0.4018329679965973, 0.15210938453674316, -0.6777530312538147, -0.07115435600280762, 0.2807842791080475, 0.08825021982192993, 0.28213876485824585, -0.7816339135169983, -0.758753776550293, -0.5841476321220398, 1.030367136001587, -0.31309080123901367, 0.4154234826564789, 0.8646045327186584, 0.42842602729797363, -0.4039860665798187, -0.4996027648448944, -0.2247156947851181, -0.23164096474647522, -0.13082517683506012, 0.2503647208213806, 0.28450360894203186, -0.3257361948490143, -0.24212148785591125, 0.2402687668800354, -0.5361722111701965, -0.2862635850906372, -0.05438823252916336, -0.013946441002190113, 0.46935978531837463, 0.3022744655609131, 0.16065961122512817, -0.3434150218963623, -0.825340211391449, 0.17874646186828613, -0.5081728100776672, 0.2313801348209381, 0.008239513263106346, 0.3101642429828644, 0.07438252866268158, 0.6994953751564026, -0.35935306549072266, 0.8893767595291138, -0.09721101075410843, -0.08769669383764267, 0.3226955831050873, -0.7935265302658081, 0.14976324141025543, 0.1305212825536728, 0.22912172973155975, 1.2928141355514526, -0.26024746894836426, 0.01001682411879301, -0.1601146161556244, -0.01644333265721798, -0.024208975955843925, -0.3985862135887146, -0.38188934326171875, 0.2947586476802826, -0.6289452314376831, -0.006857761647552252, -0.1766958236694336, -0.7088494300842285, -0.4167528748512268, -0.27130967378616333, 0.5220988988876343, -0.4604372978210449, 0.07042375206947327, 0.29415273666381836, -0.546043872833252, -0.0649132952094078, 0.2180185616016388, -0.9083147048950195, 0.08275433629751205, 0.11924184113740921, 0.9277780652046204, -0.007354209665209055, -0.14732511341571808, -0.6593180298805237, 0.7623574137687683, -0.09587462991476059, 0.9362746477127075, -0.788336455821991, -0.9074726104736328, -0.29442745447158813, 0.058792632073163986, 0.2610814571380615, -0.31026697158813477, 0.7985062003135681, -0.05501963198184967, 0.2156299501657486, -1.1597329378128052, -0.4615090489387512, -0.0029759660828858614, 0.2705923616886139, -0.6910659074783325, 0.6632804274559021, 0.37733396887779236, -0.5239819288253784, 0.6335218548774719, -0.29770854115486145, -0.9963313937187195, 0.35836732387542725, -0.1417837142944336, 0.025291649624705315, 0.042616795748472214, 0.31069865822792053, 0.2735118269920349, -0.1802053600549698, 0.16127559542655945, -0.19954366981983185, -0.29181990027427673, 0.26754942536354065, -0.32923242449760437, 0.2075534611940384, 0.4224192500114441, 0.05610603094100952, 0.3952104151248932, -0.4324416518211365, 0.188809335231781, 0.0704314261674881, -0.37853947281837463, -0.8013271689414978, 0.5458016991615295, 0.1841331124305725, -0.2394101917743683, 0.24955640733242035, -0.07889019697904587, 0.24556171894073486, -0.2508242428302765, 0.8416955471038818, 0.7204602360725403, -0.018110590055584908, 0.6762034893035889, -0.7184778451919556, 0.08788672089576721, -0.12931402027606964, 0.6739714741706848, -0.39644232392311096, -0.7575656771659851, -0.44623759388923645, -0.2379176765680313, 0.22052431106567383, 0.32695454359054565, -0.8763540387153625, 0.47875258326530457, -0.06713959574699402, -0.07137514650821686, 0.024345947429537773, -0.3440398871898651, 0.1216401755809784, 0.8049579858779907, 0.8976072669029236, -0.29745933413505554, -0.2833198010921478, -0.7954042553901672, -0.31323951482772827, 0.46360859274864197, 0.11071028560400009, 0.20727640390396118, 0.07397133111953735, -0.22824692726135254, 1.271576166152954, -0.7738720178604126, -0.32029464840888977, -0.5333526134490967, -0.3174734115600586, 0.2951216399669647, 0.5477724671363831, 0.5801344513893127, -1.013885736465454, -0.47196781635284424, -0.13656970858573914, -0.4192846417427063, 0.2446456104516983, 0.0007742955931462348, -0.1620142161846161, -0.2791506052017212, -0.009946576319634914, -0.4970802366733551, 0.28772732615470886, 0.45341479778289795, -0.656591534614563, 0.3997800350189209, -0.08953816443681717, 0.2862169146537781, -1.3935937881469727, -0.2796953618526459, 0.12784357368946075, -0.0301705002784729, -0.2885834574699402, -0.1885385513305664, 0.2553931474685669, 0.021109193563461304, -0.17243173718452454, 1.182537317276001, -0.15692901611328125, 0.08778948336839676, -0.09283847361803055, -0.45912691950798035, 0.11718501150608063, 0.11063743382692337, -0.10602197796106339, 0.6124933958053589, 0.26164522767066956, -0.7047351002693176, 0.3967001736164093, 0.023574942722916603, -0.2683297097682953, 1.0953271389007568, -0.5810655951499939, -0.2358427792787552, -0.027576608583331108, 0.6263731718063354, -1.183440089225769, -0.5165783762931824, 0.7285630702972412, -0.2480996996164322, -0.12984198331832886, 0.08080390095710754, -0.26988762617111206, -0.26217547059059143, -0.4377537667751312, 0.7049285769462585, 0.04789828881621361, -0.6040289998054504, 0.9394435882568359, 0.03410528972744942, -0.13050708174705505, -0.35590773820877075, -0.6444455981254578, 0.206961989402771, -0.20683887600898743, -0.4262748658657074, 0.7890933752059937, -0.4219994843006134, -0.22930261492729187, 0.3191453218460083, -0.20443587005138397, 0.21097368001937866, -0.09459695219993591, 0.3986108899116516, 0.2678947150707245, 0.2723437249660492, 0.17955005168914795, 0.02978304587304592, -0.3442313075065613, -0.38937461376190186, -0.12182115018367767, 0.5574641823768616, -0.04048634320497513, -0.11615988612174988, -0.25501325726509094, 0.9020771980285645, 0.08531014621257782, -0.42771369218826294, 0.5183610916137695, 0.6860120296478271, -0.09928388893604279, -0.13800862431526184, -0.32317227125167847, -0.18318292498588562, -0.4485825300216675, -0.08643117547035217, -0.25060349702835083, -0.44369271397590637, 0.6792699098587036, 0.13571439683437347, -0.04413057491183281, 0.10774409025907516, 0.16508033871650696, -0.1839127391576767, 0.6889440417289734, 0.07297460734844208, 0.07681399583816528, 0.5072155594825745, 0.018385598435997963, 0.0866604670882225, -0.7030211687088013, -0.5461956262588501, -0.34013068675994873, -0.606158435344696, -0.18692468106746674, -0.5289960503578186, 0.7243085503578186, -0.2389206886291504, -0.1169474720954895, -0.04579204320907593, -0.5397117137908936, 0.8200471997261047, 0.645150899887085, 0.5501176118850708, 0.3763948678970337, -0.19531132280826569, -0.33169353008270264, -0.03623213991522789, -0.4655926525592804, -0.07342501729726791, 0.8138697147369385, -0.035931482911109924, 0.9142318964004517, 0.2106957733631134, 0.7052111029624939, 0.6709444522857666, 0.03099570795893669, -0.9968610405921936, 0.41392141580581665, -0.10386274755001068, -0.6036079525947571, -0.06767872720956802, -0.7969525456428528, -0.9112924933433533, 0.10287395864725113, -0.1599242389202118, -0.25232502818107605, -0.0745203047990799, 0.16959211230278015, -0.6143469214439392, -0.21688738465309143, -1.16553795337677, 0.7428792715072632, -0.6954115033149719, -0.8355576395988464, 0.08976595848798752, -0.7181153297424316, -0.08400733023881912, 0.506553053855896, 0.5294087529182434, -0.134835883975029, 0.1294434368610382, 0.47723615169525146, 0.0035838130861520767, 0.4916797876358032, -0.1356351524591446, 0.12146339565515518, -0.13894063234329224, 0.22650964558124542, 0.16930146515369415, 0.5170222520828247, -0.1655496060848236, -0.022874800488352776, 0.1362214833498001, -0.49544772505760193, -0.8487389087677002, 1.0230207443237305, -0.3523836135864258, -0.43701040744781494, -0.6924065947532654, -0.49905234575271606, -0.3068279027938843, 0.4464540183544159, 0.2753857970237732, 0.48839351534843445, -0.005840020719915628, 0.21138936281204224, 0.23610426485538483, 0.026833217591047287, 0.4298115074634552, 0.14810089766979218, -0.2550840675830841, -0.9319069385528564, 0.9708053469657898, 0.15759120881557465, -0.009303257800638676, 0.3103667199611664, 0.5639644861221313, -0.2873525023460388, -0.04992571473121643, -0.2833973467350006, -0.18581132590770721, -0.5755964517593384, -0.2595877945423126, -0.0775304064154625, 0.34440022706985474, 0.09822023659944534, -0.6292486190795898, -0.4603625535964966, -0.3521933853626251, -0.20548182725906372, 0.09545619785785675, -0.22849273681640625, 0.5551350712776184, 0.06058819591999054, 0.04165714606642723, -0.5965025424957275, 0.24795305728912354, 0.4567629098892212, 0.33659055829048157, 0.1630413681268692, 0.14184251427650452, -0.36187905073165894, -0.04209017753601074, -0.5637223124504089, -0.9309243559837341, 0.31143444776535034, -0.0632859617471695, 0.6029683947563171, 0.3905702233314514, 0.029978597536683083, 0.2536463141441345, -0.26186785101890564, 0.9330539107322693, 0.7446004152297974, -0.8301267027854919, 0.5038269758224487, -0.2113329917192459, 0.3742294907569885, 0.586021900177002, 0.5391138195991516, -0.7063544988632202, 0.3580293357372284, 0.14860397577285767, -1.0400946140289307, -0.15562690794467926, 0.14509835839271545, 0.010934804566204548, -0.5112553238868713, 0.3204633593559265, 0.48149582743644714, 0.2755001187324524, -0.5394910573959351, -0.18583504855632782, -0.6456612348556519, -0.11742661893367767, -0.20049996674060822, -0.1234883964061737, -0.3652687966823578, -0.5182722210884094, 0.2215477079153061, -0.1417391449213028, 0.04870196804404259, 0.08853154629468918, 0.5424399375915527, -0.1003444492816925, 0.4732939898967743, 0.571185827255249, 0.9662050604820251, -0.47381100058555603, 0.4114808440208435, -0.24428273737430573, -0.14526216685771942, 0.22321847081184387, -0.061418548226356506, 0.29864418506622314, -0.30305400490760803, 0.18156005442142487, 0.36691465973854065, 0.34241071343421936, -0.33727070689201355, 0.2744729816913605, -0.36028966307640076, -0.09480153769254684, 0.00967141892760992, 0.24793237447738647, 0.08838340640068054, 0.34258589148521423, 0.5270592570304871, 0.3960374891757965, 0.235158771276474, -0.6138696670532227, 0.03662686049938202, 0.5805366635322571, -0.16274453699588776, -0.19718991219997406, 0.24787114560604095, 0.6641453504562378, -0.13202883303165436, 0.6264299750328064, -0.11525985598564148, -0.1188591793179512, 0.17630848288536072, 0.6181472539901733, 0.384229838848114, -0.44587987661361694, 0.4692159593105316, 0.04618798568844795, -0.007534008007496595, -0.2839434742927551, 0.20034624636173248, -0.28625571727752686, -0.7748240232467651, -0.09406950324773788, -0.5152489542961121, -0.2464444786310196, -0.13011686503887177, -0.78999263048172, 0.0032298779115080833, -0.07895026355981827, -0.7350267767906189, 0.05153896287083626, -0.16257643699645996, -0.7446045875549316, 0.07761135697364807, -0.0431201234459877, 0.7745353579521179, -0.595632791519165, 0.4713864028453827, 0.593419075012207, -0.3371545672416687, -0.37165650725364685, 0.34335261583328247, -0.1231975108385086, -0.6880928874015808, 0.37568873167037964, 0.28520938754081726, -0.2999265491962433, -0.31997719407081604, -0.5009515285491943, -0.7213298082351685, 0.6646623015403748, 0.3041226863861084, -0.3547839820384979, -0.4081176221370697, -0.1988115757703781, 0.0006251615122891963, -0.13113489747047424, 0.14527276158332825, 0.06074339896440506, 0.8901589512825012, 0.6710017323493958, -0.6068991422653198, -0.07048118859529495, -0.004754399415105581, 0.006112377624958754, 0.20695093274116516, -0.788325309753418, 1.0172398090362549, -0.40544062852859497, -0.10427685081958771, -0.1474519520998001, 0.36376553773880005, 0.17127686738967896, 0.8130472898483276, 0.2326570451259613, 0.49863535165786743, 0.5527127385139465, 0.016368258744478226, 1.0538616180419922, -0.10277865827083588, 0.35504573583602905, 1.3167109489440918, -0.7918679118156433, 0.27234530448913574, 0.7271841168403625, -0.14174973964691162, 0.1509549468755722, 1.1022449731826782, 0.23500891029834747, 1.220197319984436, -0.14455635845661163, -0.06686095148324966, -0.33794230222702026, -0.36410537362098694, -0.9558504223823547, 0.5310640931129456, 0.2944034934043884, -0.48576030135154724, -0.5062734484672546, 0.002026575617492199, -0.16649901866912842, -0.20887483656406403, -0.134867325425148, 0.5385351777076721, 0.08748503029346466, -0.4679132401943207, 0.3772181272506714, 0.1088690534234047, 0.3444775640964508, -0.46429672837257385, -0.38521474599838257, -0.3986656069755554, 0.07584504783153534, -0.36088886857032776, -0.9877670407295227, -0.006352738477289677, -0.9716826677322388, -0.46801555156707764, -0.13369330763816833, 0.28116995096206665, -0.2614099681377411, -0.508525013923645, 0.158294215798378, 0.5984472632408142, -0.6771261096000671, 0.1198478639125824, -0.37890124320983887, 0.3861923813819885, -0.10407622158527374, -0.0322733074426651, 0.1587759107351303, 0.10178127139806747, 0.4234115183353424, 0.3850918710231781, 0.3993878662586212, 0.03556244820356369, -0.3019735813140869, -0.2654300630092621, 1.129052996635437, -0.6885369420051575, -0.9525153040885925, -0.8757341504096985, 0.3673136532306671, 0.024816235527396202, -0.4749622941017151, 0.8065597414970398, 0.5203288793563843, 0.7213685512542725, -0.04324689507484436, 0.7410175800323486, 0.058076005429029465, 0.13350920379161835, -0.9543339014053345, 0.19136172533035278, -0.7296306490898132, 0.296188622713089, 0.054466988891363144, -1.1433005332946777, -0.26260507106781006, 0.8024737238883972, -0.6279869675636292, 0.27171024680137634, 0.7294779419898987, 0.4801137149333954, -0.32171928882598877, 0.4016607701778412, 0.10629118978977203, -0.43506938219070435, 0.45251092314720154, 0.7251729369163513, 0.8520002365112305, 0.2280552238225937, -0.3276107609272003, 0.13952884078025818, -0.3929005563259125, -0.463106244802475, -0.717469334602356, -0.4949283301830292, -0.651003360748291, 0.26411736011505127, -0.10911539942026138, 0.37851768732070923, 1.2293730974197388, 0.9146939516067505, -0.4102519154548645, -0.07273764908313751, 0.1910630166530609, 0.32163918018341064, -0.6586258411407471, -0.19341862201690674, 0.2305132895708084, -0.2790501117706299, -0.08153516054153442, 0.8797891736030579, 0.3684788942337036, -0.29591330885887146, 0.05270346999168396, -0.00031584364478476346, -0.09125819057226181, 0.22234117984771729, 0.8671542406082153, -0.008196471258997917, -0.5306074023246765, -0.2831467390060425, -0.2406940758228302, 0.1863226443529129, 0.02884252741932869, 0.8447876572608948, -0.5291733741760254, 0.8290193676948547, -0.07592135667800903, 0.3899519145488739, 0.131137877702713, 0.10562318563461304, 0.20496968924999237, -0.8013157844543457, -0.018603287637233734, 0.17393678426742554, 0.23029829561710358, 0.3260231614112854, -0.38284894824028015, 0.3830641508102417, 0.2923183739185333, -0.7678462266921997, -0.40296801924705505, 0.3883568048477173, -1.0959690809249878, -0.4641822874546051, 1.1936759948730469, 0.16029755771160126, -0.19059519469738007, 0.039983995258808136, -0.23579776287078857, 0.1303931474685669, -0.7366836667060852, 1.0702630281448364, 0.6835132241249084, -0.47844815254211426, 0.2732820212841034, -0.50339674949646, 0.5801113247871399, 0.42230549454689026, -0.7941769957542419, -0.2742147147655487, 0.7781122326850891, 0.35936322808265686, 0.20755542814731598, 0.5144008994102478, 0.36844709515571594, 0.17567861080169678, -0.3229464292526245, -0.2067163735628128, -0.2971745729446411, -0.8121036887168884, 0.4462074339389801, 0.42554762959480286, -0.18049877882003784, -0.20872293412685394 ]
http://arxiv.org/abs/2406.13713v1
http://arxiv.org/pdf/2406.13713v1
Benchmarking Open-Source Language Models for Efficient Question Answering in Industrial Applications
2024-06-19T17:11:51
2024-06-19T17:11:51
Mahaman Sanoussi Yahaya Alassan, Jessica López Espejel, Merieme Bouhandi, Walid Dahhane, El Hassane Ettifouri
cs.CL
cs.CL
In the rapidly evolving landscape of Natural Language Processing (NLP), Large Language Models (LLMs) have demonstrated remarkable capabilities in tasks such as question answering (QA). However, the accessibility and practicality of utilizing these models for industrial applications pose significant challenges, particularly concerning cost-effectiveness, inference speed, and resource efficiency. This paper presents a comprehensive benchmarking study comparing open-source LLMs with their non-open-source counterparts on the task of question answering. Our objective is to identify open-source alternatives capable of delivering comparable performance to proprietary models while being lightweight in terms of resource requirements and suitable for Central Processing Unit (CPU)-based inference. Through rigorous evaluation across various metrics including accuracy, inference speed, and resource consumption, we aim to provide insights into selecting efficient LLMs for real-world applications. Our findings shed light on viable open-source alternatives that offer acceptable performance and efficiency, addressing the pressing need for accessible and efficient NLP solutions in industry settings.
[ -0.23137842118740082, -0.6953776478767395, 0.7266260981559753, 0.13194958865642548, -0.07250408828258514, -0.09905818104743958, -0.3835878074169159, -0.653628945350647, -0.37007415294647217, 0.4970783293247223, -0.49498042464256287, -0.5661675930023193, -0.07684576511383057, 0.1926581710577011, -0.31052520871162415, 0.45714911818504333, -0.15720906853675842, 0.017400354146957397, -0.6604210138320923, -0.5134472250938416, -0.2686789333820343, -0.48205965757369995, -0.6506938934326172, -0.12408147007226944, 0.5067683458328247, 0.1932704746723175, 0.820339024066925, 0.6837761402130127, 0.6447416543960571, 0.3078485429286957, -0.029841845855116844, -0.09098681807518005, -0.2803710401058197, 0.32662081718444824, -0.3147154152393341, -0.4786500930786133, -0.2668168544769287, -0.11639997363090515, 0.6040764451026917, 0.7406428456306458, -0.047846440225839615, 0.6540018916130066, -0.16344714164733887, 0.5719867944717407, -0.9310032725334167, 0.08570385724306107, -0.9238324761390686, -0.05453639104962349, -0.1228303536772728, 0.08354903012514114, -0.31564050912857056, -0.7065063118934631, -0.03688599914312363, -0.5722343325614929, 0.15323853492736816, 0.22786900401115417, 0.6113888621330261, 0.42790600657463074, 0.19084887206554413, -0.15734513103961945, -0.905156135559082, 0.9658157825469971, -1.0142443180084229, 0.6873159408569336, 0.12693418562412262, 0.5711842179298401, 0.1406087428331375, -0.9214648604393005, -0.4320030212402344, -0.22286124527454376, 0.07588282227516174, 0.08737878501415253, -0.4956737160682678, 0.040297236293554306, 0.27076494693756104, 0.49481436610221863, -0.799445629119873, 0.39861080050468445, -0.270311176776886, 0.10361186414957047, 0.20975500345230103, 0.15901629626750946, 0.19229233264923096, 0.11299274861812592, -0.2031499296426773, 0.0062969401478767395, -0.4554308354854584, 0.0370594747364521, 0.15379191935062408, 0.34523874521255493, 0.2405034750699997, 0.7366004586219788, -0.47757700085639954, 0.6782614588737488, -0.676460325717926, -0.011259161867201328, 0.16128477454185486, -0.1578209549188614, -0.5177605748176575, -0.22492337226867676, 0.7899417877197266, 0.2797043025493622, 0.05437137931585312, -0.6262630224227905, -0.20951159298419952, -0.060804471373558044, 0.2776137590408325, -0.7323014140129089, 0.09960153698921204, 0.49802419543266296, -0.5013384222984314, 0.13012877106666565, -0.21324589848518372, -0.7592552304267883, -0.3133769631385803, -0.06361149996519089, 0.36865898966789246, -0.17541596293449402, -0.27754124999046326, 0.06760261952877045, -0.424338161945343, 0.5174846649169922, 0.14947937428951263, -0.5445126891136169, 0.2122899889945984, 0.9658585786819458, 1.2089474201202393, -0.07475331425666809, 0.04427734762430191, -0.692484438419342, 0.013932820409536362, -0.38951197266578674, 0.7478905916213989, -0.48325327038764954, -0.1775202453136444, 0.013612677343189716, -0.24188874661922455, -0.03340335562825203, -1.0492515563964844, 0.9472125768661499, -0.6753308176994324, -0.05903763324022293, -0.24658913910388947, -0.36834362149238586, -0.174978569149971, 0.1994851976633072, -0.8554891347885132, 1.2317311763763428, 0.1795722395181656, -0.7980696558952332, 0.0069032637402415276, -0.6353394985198975, -0.09954789280891418, 0.23560045659542084, -0.07400542497634888, -0.2503294348716736, 0.3193446099758148, -0.018658969551324844, 0.24619455635547638, -0.7729608416557312, 0.02638937532901764, -0.5883129835128784, -0.3215465247631073, 0.29306668043136597, -0.47962868213653564, 0.8012723326683044, 0.519213855266571, -0.08908793330192566, 0.20795273780822754, -0.9061728715896606, 0.22955422103405, 0.2326936423778534, -0.20866502821445465, -0.5518820285797119, 0.09145865589380264, -0.10441982001066208, 0.11077278107404709, 0.299554705619812, -0.7752222418785095, -0.32315632700920105, -0.3779843747615814, 0.2979240417480469, 0.5792097449302673, -0.3002993166446686, 0.17805452644824982, -0.37656521797180176, 0.668407678604126, -0.35236334800720215, 0.21104703843593597, 0.11272861808538437, -0.4070843756198883, -0.6836612820625305, -0.2824638783931732, 0.21644267439842224, 0.6305994391441345, -0.8062081336975098, 0.07334025949239731, -0.10713309794664383, -0.6959513425827026, -1.0477287769317627, 0.15360833704471588, 0.36158767342567444, 0.7785131335258484, 0.40799981355667114, -0.10755154490470886, -0.45568063855171204, -1.1938865184783936, -0.7459363341331482, -0.4492397904396057, -0.6102373600006104, 0.3759295344352722, 0.10841108858585358, 0.14667247235774994, 1.1675264835357666, -0.6406880617141724, 0.20189279317855835, -0.22405502200126648, 0.1171509250998497, 0.40625423192977905, 0.11750584095716476, 0.543167233467102, -0.4545910656452179, -0.3469800651073456, 0.038331177085638046, -0.7873181700706482, -0.53341144323349, 0.24106410145759583, -0.27103257179260254, 0.2610915005207062, 0.5782552361488342, -0.4202244281768799, 0.0948951318860054, 0.7576828598976135, 0.13984175026416779, 0.6853845715522766, -0.059058621525764465, -0.03018759749829769, -0.8563215136528015, 0.6333497762680054, 0.10262992233037949, -0.2445623278617859, -0.655634880065918, 0.36538976430892944, 0.20130671560764313, -0.24515753984451294, -0.8217170238494873, 0.6138274669647217, -0.4833163917064667, -0.45231306552886963, -0.18473657965660095, 0.3189712166786194, 0.16056084632873535, 0.4411405920982361, 0.048993319272994995, 1.2858049869537354, 0.14677688479423523, -0.42172038555145264, 0.23034951090812683, 0.010590658523142338, -0.6407630443572998, 0.22725898027420044, -0.8935694694519043, 0.15528400242328644, -0.01882176846265793, -0.19580945372581482, -0.7637486457824707, 0.3123297393321991, 0.17118807137012482, -0.06684482842683792, -0.34804466366767883, -0.05408214405179024, -0.790799081325531, -0.3926520049571991, -0.34511786699295044, 0.2053314596414566, 0.6901530623435974, -0.5532464385032654, 0.49680712819099426, 0.1136920228600502, -0.42117536067962646, -0.4420028328895569, -0.7152788639068604, -0.08840896934270859, -0.08426015824079514, -0.5185710191726685, -0.03070666827261448, -0.17346806824207306, -0.5383665561676025, 0.13626761734485626, -0.35884904861450195, -0.3792559802532196, 0.3871546685695648, -0.1271095722913742, 0.21880082786083221, -0.6512807011604309, 0.15533766150474548, -0.15727944672107697, 0.0615946389734745, 0.22990861535072327, -0.157009556889534, 0.3999682664871216, -0.12533268332481384, -0.4042755961418152, -0.2314041554927826, 0.42769360542297363, 0.4907201826572418, -0.6093097925186157, 0.9208781123161316, 0.2771018445491791, -0.2448047250509262, -0.4097522795200348, -0.5981868505477905, 0.10806082934141159, -0.5391176342964172, 0.37296658754348755, -0.12445443123579025, -0.7815245389938354, 0.4330821633338928, -0.1991567313671112, 0.4512384831905365, 0.4501141905784607, 0.40648195147514343, 0.1261306256055832, 0.7110459804534912, 0.31745073199272156, -0.013685573823750019, 0.44321414828300476, 0.10675828903913498, 0.25013867020606995, -0.8458765149116516, 0.06784717738628387, -1.187435507774353, -0.19050727784633636, -0.38435208797454834, -0.75202476978302, 0.403794527053833, 0.16188962757587433, -0.28756529092788696, 0.17524303495883942, -0.29052531719207764, 0.51474928855896, 0.7907440662384033, -0.26782017946243286, 0.713969349861145, -0.31164100766181946, -0.00960613414645195, 0.2984379529953003, -0.7530243992805481, -0.7533474564552307, 0.8957098126411438, 0.39328959584236145, 0.6837908029556274, 0.18148478865623474, 0.1702241748571396, -0.028493883088231087, 0.2354096621274948, -0.5392305850982666, 0.669521689414978, -0.2927364706993103, -0.6649441719055176, -0.36068451404571533, -0.580278754234314, -0.6958324909210205, 0.36093780398368835, -0.13449496030807495, -0.6650462746620178, -0.013040849007666111, 0.03906002268195152, -0.2045121192932129, 0.6662657260894775, -0.8088511228561401, 1.0930739641189575, -0.3307360112667084, -0.3799906373023987, -0.05767142400145531, -0.28244903683662415, 0.32655975222587585, -0.07411178946495056, 0.08252450078725815, -0.3780163824558258, -0.26055482029914856, 0.4232356548309326, -0.26700323820114136, 0.5258414149284363, -0.12129291146993637, -0.17313677072525024, 0.2991463243961334, -0.08914630115032196, 0.31561604142189026, -0.11885225772857666, -0.670983612537384, 0.5098066329956055, -0.018986647948622704, -0.2943058907985687, -0.5987919569015503, 0.66771000623703, -0.5771731734275818, -0.48833316564559937, -0.38327351212501526, -0.488661527633667, -0.5048766732215881, 0.3719472885131836, -0.04783308506011963, 0.36647269129753113, -0.3971734941005707, 0.443629652261734, 0.6454436779022217, -0.6375100612640381, 0.597356379032135, 0.6479499936103821, -0.14337559044361115, -0.20088915526866913, 0.6247581839561462, 0.04794444888830185, 0.5428130626678467, 0.5172919631004333, 0.12817145884037018, -0.48187437653541565, -0.7830392122268677, -0.6686486005783081, 0.19622375071048737, -0.6297690868377686, -0.19728560745716095, -0.8573745489120483, -0.19231006503105164, -0.27300968766212463, 0.002961889375001192, -0.46765655279159546, -0.45717376470565796, -0.14489051699638367, 0.05589645355939865, 0.3750518560409546, 0.3889201879501343, 0.33089521527290344, 0.07497451454401016, -0.834801435470581, 0.5404824614524841, 0.37195831537246704, 1.1229585409164429, 0.3070797026157379, -0.042136307805776596, -0.3706682622432709, -0.0024706691037863493, -0.32563018798828125, -0.5928865671157837, 0.045266229659318924, 0.12327183783054352, 0.7311289310455322, 0.15824741125106812, 0.49882423877716064, 0.3505185544490814, -0.49039411544799805, 0.7873825430870056, -0.11841476708650589, -0.7985988259315491, 0.2084658443927765, -0.1963450163602829, 0.6028186082839966, 0.7451267838478088, 0.5163880586624146, -0.6605428457260132, -0.6307856440544128, -0.13117390871047974, -1.0581309795379639, 0.7361775636672974, 0.26740550994873047, -0.22520309686660767, -0.015032576397061348, 0.13668866455554962, 0.30161064863204956, 0.39700353145599365, -0.3940971791744232, -0.18212167918682098, 0.04127127677202225, -0.25498637557029724, -0.21948042511940002, 0.039889391511678696, 0.09745950996875763, 0.14698047935962677, 0.8040352463722229, -0.1253560334444046, 0.19246813654899597, 0.10939377546310425, -0.20683421194553375, -0.04910539090633392, 0.47874727845191956, 0.303850919008255, 0.6334976553916931, -0.5233750939369202, -0.012355170212686062, 0.2975204885005951, -0.21461017429828644, -0.17703504860401154, 0.07062705606222153, -0.2806888222694397, 0.20459258556365967, 0.17359572649002075, 0.7772753834724426, 0.03146941959857941, -1.2686500549316406, 0.25146692991256714, -0.23253151774406433, -0.031829990446567535, -0.20563533902168274, 0.15887391567230225, 0.4774118959903717, 0.37327253818511963, 0.2924000918865204, -0.28696075081825256, 0.3851567208766937, -0.5455374717712402, -0.20008255541324615, 0.5644369125366211, -0.12218349426984787, -0.0052433558739721775, 0.9715376496315002, 0.15019188821315765, -0.46866467595100403, 0.5481751561164856, 0.18092383444309235, -0.08548808842897415, 0.5356853604316711, 0.26854851841926575, 1.3356927633285522, 0.15164195001125336, 0.03169916942715645, 0.20742419362068176, 0.35669487714767456, -0.037823304533958435, 0.2721921503543854, 0.02136688493192196, -0.4149099886417389, -0.6181052923202515, -0.7830281257629395, -1.0413758754730225, 0.17244021594524384, -0.6979967355728149, -0.00014993356307968497, -0.49845728278160095, -0.02874140813946724, -0.08943686634302139, -0.14430800080299377, -0.6432279944419861, 0.1253441721200943, 0.07810179889202118, 1.278560996055603, -0.6599094271659851, 0.6756114363670349, 0.6202725768089294, -0.3425159752368927, -0.5311580300331116, 0.008150208741426468, -0.39003559947013855, -0.4965347945690155, 0.1323421597480774, 0.1619991660118103, -0.3113707900047302, -0.12826329469680786, -0.25804758071899414, -0.7177072167396545, 1.071823000907898, 0.6420130133628845, -0.5594698190689087, -0.06100275740027428, 0.405678927898407, 0.7387537956237793, 0.046711891889572144, 0.5498576164245605, 0.5279483199119568, 0.3054580092430115, -0.19798174500465393, -0.9085797071456909, -0.025400640442967415, -0.3378356397151947, 0.15018656849861145, 0.28094157576560974, -0.7884793877601624, 0.6378306746482849, 0.3076498508453369, -0.32191452383995056, 0.24029934406280518, 0.7499958276748657, 0.24741803109645844, 0.5665509104728699, 0.48892492055892944, 0.47071120142936707, 0.5953670144081116, 0.046538468450307846, 0.9903480410575867, -0.38131895661354065, 0.05338924750685692, 1.1960866451263428, -0.5646834969520569, 1.2639296054840088, 0.2949562072753906, -0.26803693175315857, 0.44663864374160767, 0.3006269037723541, 0.21860888600349426, 0.3116796314716339, 0.10080519318580627, -0.32017290592193604, -0.057907506823539734, -0.21905405819416046, -0.3090473413467407, 0.30016687512397766, -0.14104719460010529, -0.16471491754055023, -0.35883358120918274, -0.35582828521728516, -0.17424052953720093, 0.16887657344341278, -0.3148193061351776, 0.8896960616111755, 0.046643778681755066, -0.6902807950973511, 0.5720056891441345, 0.12374148517847061, 0.5281996130943298, -0.7688780426979065, 0.14317630231380463, -0.3010208308696747, 0.09128068387508392, 0.11764753609895706, -0.6331183314323425, 0.6091012954711914, 0.44615238904953003, -0.20476225018501282, -0.394172340631485, 0.4777846336364746, -0.15856710076332092, -0.362202912569046, 0.43460145592689514, 0.5447074174880981, 0.1149006336927414, -0.21452124416828156, -0.5494670867919922, 0.14786259829998016, -0.3645417392253876, -0.16799022257328033, 0.3246847093105316, 0.37330299615859985, 0.034583400934934616, 0.8115603923797607, 0.5704580545425415, 0.13675622642040253, 0.21925325691699982, -0.027954837307333946, 0.7780917882919312, -0.6321616768836975, -0.39217662811279297, -0.5124211311340332, 0.3654504418373108, -0.07710754871368408, -0.17805317044258118, 0.7997755408287048, 0.9094988703727722, 0.9515935778617859, -0.10029992461204529, 0.8650855422019958, 0.16695773601531982, 0.9484378099441528, -0.5416916608810425, 0.5996358394622803, -0.6632674932479858, 0.2737228274345398, -0.3160709738731384, -1.045676589012146, -0.15190233290195465, 0.16376818716526031, -0.22190938889980316, -0.11648250371217728, 0.6206003427505493, 0.775428056716919, -0.13267302513122559, 0.1606643795967102, 0.31772544980049133, 0.24105441570281982, 0.2583999037742615, 0.4398360252380371, 0.6401119828224182, -0.08711828291416168, 0.7070613503456116, -0.264528751373291, -0.0936451107263565, -0.19847078621387482, -1.2106908559799194, -0.5657941699028015, -0.32216647267341614, -0.13536851108074188, -0.05865272507071495, 0.07956479489803314, 0.9649107456207275, 0.3599349856376648, -0.8014702796936035, -0.40427857637405396, 0.09018315374851227, 0.07445284724235535, -0.5782457590103149, -0.15356478095054626, 0.20101669430732727, -0.26998549699783325, -0.8319208025932312, 0.5286132097244263, 0.2710556387901306, -0.40733805298805237, -0.2927404046058655, 0.21750667691230774, -0.2243572324514389, 0.41181424260139465, 0.6166186332702637, 0.4954881966114044, -0.5164318680763245, -0.09836665540933609, 0.3091951310634613, 0.04280688241124153, 0.17268554866313934, 0.8440257906913757, -0.6056499481201172, 0.38078072667121887, 0.8257663249969482, 1.1189415454864502, 0.17432856559753418, 0.20430712401866913, 0.6453900337219238, -0.6608803272247314, 0.0632232129573822, 0.392514705657959, 0.16197367012500763, 0.3566758334636688, 0.06255697458982468, 0.6201084852218628, -0.04570484533905983, -0.5878064632415771, -0.9919663667678833, 0.12177985906600952, -0.7596845030784607, -0.6155067086219788, 1.0004992485046387, -0.0761551707983017, -0.40892502665519714, -0.19771946966648102, -0.01783071458339691, 0.24292723834514618, -0.2548254430294037, 0.510237991809845, 0.4457368552684784, 0.015027481131255627, -0.09901033341884613, -0.9565712213516235, 0.06743542104959488, 0.3630841076374054, -0.8971698880195618, 0.37379491329193115, 0.5206713080406189, 0.12476193904876709, -0.19526435434818268, 0.6669139266014099, -0.03313707187771797, 0.17743626236915588, -0.09051071107387543, 0.34694036841392517, -0.07930923253297806, -0.10477903485298157, -0.37940219044685364, 0.470975786447525, 0.5877891778945923, -0.2866021692752838 ]
http://arxiv.org/abs/2406.13706v1
http://arxiv.org/pdf/2406.13706v1
Breaking News: Case Studies of Generative AI's Use in Journalism
2024-06-19T16:58:32
2024-06-19T16:58:32
Natalie Grace Brigham, Chongjiu Gao, Tadayoshi Kohno, Franziska Roesner, Niloofar Mireshghallah
cs.CL
cs.CL, cs.AI, cs.CY
Journalists are among the many users of large language models (LLMs). To better understand the journalist-AI interactions, we conduct a study of LLM usage by two news agencies through browsing the WildChat dataset, identifying candidate interactions, and verifying them by matching to online published articles. Our analysis uncovers instances where journalists provide sensitive material such as confidential correspondence with sources or articles from other agencies to the LLM as stimuli and prompt it to generate articles, and publish these machine-generated articles with limited intervention (median output-publication ROUGE-L of 0.62). Based on our findings, we call for further research into what constitutes responsible use of AI, and the establishment of clear guidelines and best practices on using LLMs in a journalistic context.
[ -0.07414556294679642, -0.7905426025390625, 0.6417840719223022, 0.41513070464134216, -0.2212739884853363, -0.07464274764060974, -0.22061510384082794, -0.7244876623153687, 0.08193206042051315, 0.5618481040000916, -0.4716145992279053, -0.38220345973968506, -0.5034762024879456, 0.3563299775123596, -0.9595248103141785, 1.1191428899765015, -0.11175941675901413, 0.1650576889514923, -0.3044770061969757, -0.2686372697353363, -0.2898765504360199, -0.6359075903892517, -0.49041083455085754, -0.20592042803764343, 0.8406877517700195, 0.20910952985286713, 0.8219176530838013, 0.48670125007629395, 0.6288139224052429, 0.3225392997264862, -0.1568130999803543, 0.06183258071541786, -0.589933454990387, 0.10358811169862747, -0.14429974555969238, -0.5435745120048523, -0.14391371607780457, 0.32376614212989807, 0.38672399520874023, 0.43118706345558167, 0.03560870885848999, 0.2587447762489319, -0.16036094725131989, 0.6021965742111206, -0.3317627012729645, -0.059485334903001785, -0.378843754529953, 0.1952943354845047, -0.2863043546676636, -0.16510435938835144, -0.4217425584793091, -0.4071533977985382, -0.21451587975025177, -0.5492638349533081, 0.26697567105293274, -0.1816520094871521, 0.7931957840919495, 0.3513164520263672, -0.693766176700592, -0.49350428581237793, -1.016522765159607, 0.3383263051509857, -0.6825236678123474, 0.13880705833435059, 0.5883445143699646, 0.07273414731025696, -0.04117632284760475, -0.670470118522644, -0.6303053498268127, -0.35610508918762207, -0.17604279518127441, 0.17204417288303375, -0.2079295814037323, -0.011921372264623642, 0.33864840865135193, 0.28910455107688904, -0.46693500876426697, 0.47094598412513733, -0.6756682395935059, 0.015108258463442326, 0.8854381442070007, 0.23640049993991852, 0.3291032910346985, 0.03340258449316025, -0.05061030015349388, 0.13255755603313446, -0.9032910466194153, -0.3280137777328491, 0.6526191234588623, 0.06176760047674179, -0.25166189670562744, 0.8635088801383972, -0.04498552158474922, 0.7041794657707214, -0.2980431020259857, 0.09191112965345383, 0.2977566719055176, -0.4591640532016754, -0.2310928851366043, 0.033249564468860626, 0.8385080099105835, 0.5526224970817566, 0.4169786870479584, -0.04731282964348793, -0.18177717924118042, -0.014719847589731216, 0.519065260887146, -0.6071525812149048, 0.1133914664387703, -0.021728934720158577, -0.4077227711677551, -0.7546424865722656, -0.007360935211181641, -0.60499107837677, -0.5917422771453857, -0.2588508129119873, 0.04036236181855202, 0.19984611868858337, -0.2922593951225281, -0.14228592813014984, -0.30557116866111755, 0.31533706188201904, 0.08457517623901367, -0.5703744888305664, -0.10380803048610687, 0.49741798639297485, 0.7074986100196838, 0.018719373270869255, -0.35833311080932617, -0.43780556321144104, 0.22866296768188477, -0.6200169324874878, 0.6312078833580017, -0.26451098918914795, -0.3052748441696167, 0.5002233386039734, -0.3026861846446991, 0.3228188157081604, -0.5922689437866211, 0.5240326523780823, -0.6821734309196472, -0.01227454375475645, -0.04985043779015541, -0.4089922308921814, 0.17812618613243103, 0.23360291123390198, -0.8786593675613403, 0.7402496337890625, 0.023062551394104958, -0.6305143237113953, 0.5360181331634521, -0.4180589020252228, -0.6282719373703003, 0.02803236059844494, -0.28834453225135803, -0.6115688681602478, 0.3051716089248657, 0.12783613801002502, 0.5043073296546936, 0.08884643763303757, 0.4744822680950165, 0.0463256873190403, -0.25615230202674866, 0.6339097023010254, -0.5824699401855469, 0.5978603363037109, 0.16661526262760162, -0.05890588089823723, 0.25374364852905273, -0.5299200415611267, -0.6739250421524048, 0.13231366872787476, -0.6794259548187256, -0.3858417272567749, -0.13092823326587677, 0.22291193902492523, 0.035908326506614685, -0.1694212704896927, -0.3004871904850006, 0.2033889889717102, 0.040459416806697845, 0.5034186840057373, 0.5368314385414124, 0.03278627619147301, 0.3795141875743866, -0.4779905080795288, 0.4641195237636566, 0.009133799001574516, 0.056763168424367905, -0.45784860849380493, -0.3081055283546448, -0.7502403259277344, -0.08026747405529022, 0.26902100443840027, 0.3342248201370239, -0.6578702330589294, 0.11718611419200897, 0.10086656361818314, -0.3878028392791748, -0.6267414689064026, 0.15598689019680023, 0.04056659713387489, 0.28544965386390686, -0.05467632785439491, 0.07163947820663452, -0.4843657314777374, -0.8049705624580383, -0.5750311017036438, -0.0983816385269165, -0.0031145198736339808, 0.4405992925167084, 0.11192011088132858, -0.36680683493614197, 1.1169557571411133, -0.009381222538650036, -0.18759706616401672, -0.28908705711364746, 0.537129282951355, 0.09772104769945145, 0.22085128724575043, 0.6415298581123352, -1.10203218460083, -0.3577919602394104, -0.5012563467025757, -1.1544716358184814, -0.2636605501174927, -0.6835346221923828, 0.08685488998889923, 0.4212334156036377, 0.9124600887298584, -0.9269486665725708, 0.6624914407730103, 0.6005579829216003, -0.37287747859954834, 0.5081886053085327, 0.08599638938903809, 0.01523486990481615, -0.8390201330184937, -0.045793771743774414, 0.24528393149375916, -0.535462498664856, -0.7380658388137817, 0.15382295846939087, -0.10148710757493973, -0.26566454768180847, -0.6161693930625916, 0.29679545760154724, -0.6691130995750427, -0.12500876188278198, -0.36940211057662964, 0.16381807625293732, -0.18615788221359253, -0.12835411727428436, -0.010401676408946514, 0.8197392821311951, 0.4090675413608551, -0.4230232536792755, 0.4525805413722992, 0.27010002732276917, -0.45043468475341797, 0.15937520563602448, -0.5566728711128235, 0.26360711455345154, -0.3056469261646271, 0.26763880252838135, -0.5633817315101624, -0.2676782011985779, 0.15529727935791016, -0.3436283469200134, 0.08581908047199249, 0.0383787602186203, -0.9381516575813293, -0.2708183228969574, -0.26232194900512695, 0.41777387261390686, 0.36223727464675903, -0.34427735209465027, 0.4254283010959625, 0.47069984674453735, -0.39915597438812256, -0.20448391139507294, -1.1580102443695068, 0.6201748251914978, -0.3417965769767761, -0.39614373445510864, -0.03393850103020668, 0.023677997291088104, -0.5146604180335999, 0.22764793038368225, 0.13706162571907043, -0.07723986357450485, 0.21132653951644897, 0.1878766417503357, 0.2619169056415558, -0.22306258976459503, 0.07838603854179382, -0.06050246208906174, 0.1313505619764328, 0.2864748239517212, 0.5840012431144714, 0.5054581165313721, 0.17176486551761627, -0.2676512897014618, -0.5419017672538757, 0.660801887512207, 0.572269082069397, -0.14813482761383057, 0.7671384215354919, 0.5570055842399597, -0.11596311628818512, -0.07594547420740128, -0.4972846806049347, -0.3552454113960266, -0.4586404860019684, 0.409579336643219, 0.2536557912826538, -0.8741607069969177, 0.32528844475746155, -0.04615171626210213, 0.01725871115922928, 0.41051462292671204, 0.7235956788063049, -0.027133682742714882, 0.8168677091598511, 0.8692991137504578, -0.6285165548324585, 0.5746367573738098, -0.019246377050876617, 0.3323488235473633, -0.39406031370162964, -0.33519962430000305, -0.45908790826797485, -0.11850529164075851, -0.7740035057067871, -0.05330553278326988, 0.39015448093414307, -0.013746298849582672, 0.046038925647735596, 0.05259457603096962, -0.27871987223625183, 0.5526771545410156, 0.544264554977417, -0.21986445784568787, 0.5729964971542358, -0.1568252295255661, 0.4094344973564148, 0.32745835185050964, -0.6405048966407776, -0.5333840847015381, 0.8226453065872192, 0.4337019622325897, 1.0569156408309937, 0.050450485199689865, 0.6663632392883301, 0.5864753723144531, 0.675287127494812, -0.8926341533660889, 0.5413951277732849, 0.19010791182518005, -0.6417154669761658, -0.15614287555217743, -0.4121180772781372, -0.9333959221839905, -0.019069727510213852, -0.17515750229358673, -0.36940819025039673, -0.051728446036577225, -0.11973202228546143, -0.18860267102718353, -0.005635452456772327, -0.4277040362358093, 0.28135114908218384, -0.18852901458740234, -0.000042004219722002745, -0.4251021146774292, -0.5247142314910889, 0.45908546447753906, 0.008902709931135178, 0.32882407307624817, -0.015401412732899189, 0.08896294236183167, 0.5403667688369751, -0.02887825295329094, 1.183513879776001, 0.24871592223644257, -0.11349964886903763, 0.3070286512374878, -0.18969111144542694, 0.4707433581352234, 0.2526108920574188, 0.08080235868692398, 0.3676195740699768, -0.399304062128067, -0.03243168815970421, -0.03360342979431152, 0.4967045485973358, -0.917759120464325, -0.8051353096961975, -0.8427416682243347, -0.9050166606903076, -0.037259913980960846, 0.24121543765068054, 0.3225628733634949, 0.19405654072761536, -0.3783593475818634, 0.26682233810424805, 0.3076004683971405, 0.05842418223619461, 0.6047645211219788, 0.7090110778808594, -0.2155996710062027, 0.012506671249866486, 0.6094759702682495, 0.2026391476392746, -0.09332670271396637, -0.01970367133617401, 0.09531476348638535, 0.27063196897506714, -0.5624226331710815, -0.5418917536735535, 0.28453460335731506, -0.3533709943294525, -0.4041818678379059, -0.4101793169975281, -0.666967511177063, -0.32751113176345825, -0.18526875972747803, -0.026638152077794075, -0.13298368453979492, -0.6187824606895447, -0.38175761699676514, 0.2850019633769989, 0.8931467533111572, -0.07084499299526215, 0.26949262619018555, -0.9510350823402405, 0.5115246176719666, 0.1919587403535843, -0.00039738795021548867, -0.4025637209415436, -0.020171476528048515, -0.4075901210308075, -0.03239579498767853, -0.3083896338939667, -1.0660805702209473, 0.36792752146720886, -0.011673243716359138, 0.6436597108840942, 0.35047680139541626, 0.12544402480125427, 0.0028612532187253237, -0.47253572940826416, 0.9302278161048889, -0.12286563217639923, -0.6975976228713989, 0.37648287415504456, -0.7488789558410645, 0.12409374117851257, 0.4032087028026581, 0.5113924145698547, -0.5413444638252258, -0.8642001152038574, -0.5524114966392517, -0.9598985910415649, 0.4325844645500183, 0.18360845744609833, 0.7281436920166016, 0.04516495391726494, 0.42935439944267273, -0.0038390420377254486, 0.5960174202919006, -0.784586489200592, -0.18636123836040497, 0.06109018996357918, -0.1920839250087738, 0.08115021139383316, -0.6793827414512634, -0.4492071866989136, 0.031767841428518295, 0.4834880828857422, 0.03093656711280346, 0.11591444909572601, 0.14962096512317657, -0.15295670926570892, -0.26733699440956116, 0.0596252903342247, 0.5428858995437622, 0.7973108887672424, 0.2860216498374939, 0.11747390776872635, -0.30730026960372925, -0.4242454469203949, -0.09866160899400711, 0.18655341863632202, -0.42924976348876953, 0.17707930505275726, 0.47183945775032043, 0.5333773493766785, -0.2593454420566559, -0.8722063899040222, 0.6579370498657227, -0.05019931122660637, -0.17715150117874146, -0.6188934445381165, 0.027210067957639694, 0.1397649347782135, 0.4165519177913666, 0.4318586587905884, -0.11759670078754425, 0.27547526359558105, -0.8936626315116882, 0.10180105268955231, 0.3708619177341461, -0.08932248502969742, -0.18991591036319733, 0.4283154010772705, 0.40093711018562317, -0.3987232744693756, 0.9408286809921265, -0.014643233269453049, -0.38997071981430054, 0.7746331691741943, 0.5282636284828186, 0.6529061198234558, -0.02195127122104168, 0.5343782305717468, -0.3150707185268402, 0.4251839816570282, -0.12659865617752075, 0.10376466065645218, 0.1773962676525116, -0.8966683745384216, -0.38703662157058716, -0.14177900552749634, -0.42860835790634155, 0.3436718285083771, -0.7214648127555847, 0.15495581924915314, -0.2563023269176483, -0.11222972720861435, 0.1884640008211136, -0.20407550036907196, -0.6562304496765137, -0.041421566158533096, 0.40762531757354736, 0.8695679306983948, -1.15541672706604, 0.5351701974868774, 0.5302238464355469, -0.5914627909660339, -0.5412910580635071, 0.34030646085739136, 0.30044814944267273, -0.7811251878738403, 0.3408922553062439, 0.161729633808136, 0.29941198229789734, -0.2695135772228241, -0.7929382920265198, -0.32412275671958923, 0.8928202390670776, 0.48805853724479675, -0.6375036835670471, 0.05376695469021797, 0.4800095856189728, 0.557862401008606, -0.2563166618347168, -0.0006634396850131452, 0.6126022934913635, 0.441150039434433, -0.23373739421367645, -0.7417930364608765, 0.008031023666262627, -0.20905081927776337, -0.17500607669353485, 0.0224145594984293, -1.1452456712722778, 0.6680700182914734, -0.2505311965942383, -0.052251216024160385, 0.17048336565494537, 0.6899518370628357, 0.07042645663022995, 0.744902491569519, 0.1983911097049713, 0.39982402324676514, 0.5870609283447266, 0.2817952036857605, 1.0568599700927734, 0.008609233424067497, 0.09967482089996338, 0.8768224120140076, -0.2632303535938263, 0.4299282431602478, 0.49872782826423645, 0.24424831569194794, 0.3032650649547577, 0.5514822006225586, -0.5252237319946289, 0.5617986917495728, 0.29700416326522827, -0.44823455810546875, 0.18768998980522156, -0.5857217311859131, -0.1279064118862152, 0.4580141603946686, 0.2580384314060211, -0.6581123471260071, -0.08651602268218994, 0.18477609753608704, 0.3680027723312378, 0.11719398200511932, -0.3607809245586395, 1.0576437711715698, 0.26370319724082947, -0.3636614978313446, -0.06261973828077316, 0.19652004539966583, 0.4001010060310364, -0.2123245894908905, -0.05926697701215744, -0.34544554352760315, -0.1752844601869583, -0.2532276213169098, -0.8212947845458984, 0.6015444397926331, 0.4253259599208832, -0.26462844014167786, -0.20380884408950806, 0.8206430673599243, -0.49357303977012634, -0.5929067730903625, 0.040805622935295105, 0.6864742040634155, 0.19519446790218353, -0.11183387786149979, -0.2393670678138733, 0.37614625692367554, -0.34601980447769165, -0.5461236834526062, 0.44005656242370605, 0.3644711375236511, -0.0982806384563446, 0.39501744508743286, 0.644773542881012, 0.3473057448863983, -0.07154887169599533, 0.4671143889427185, 1.207234263420105, -0.5445836186408997, -0.28297150135040283, -0.9472087621688843, 0.300575315952301, -0.26608696579933167, -0.44933637976646423, 0.7554776668548584, 0.6603014469146729, 0.7242815494537354, 0.1419258564710617, 1.073499083518982, 0.09763164073228836, 0.13003219664096832, -0.6849225163459778, 0.8566065430641174, -0.09686344116926193, 0.09745772927999496, 0.1487499624490738, -0.7839370369911194, -0.31584432721138, 0.358146071434021, 0.003348602680489421, 0.01155148446559906, 0.36155807971954346, 0.672788143157959, 0.1454005241394043, 0.014429362490773201, 0.3388817012310028, 0.34679529070854187, 0.3050015866756439, -0.03109610639512539, 0.995625913143158, 0.09421830624341965, 0.4591328501701355, -0.06918679177761078, -0.18010880053043365, -0.3396170437335968, -0.9436516761779785, -1.1078143119812012, -0.36259499192237854, -0.26735666394233704, -0.10119227319955826, 0.3120509684085846, 0.5768066644668579, 0.49716129899024963, -0.2780836820602417, -0.03144274279475212, -0.1968703716993332, 0.06520070135593414, -0.08732476830482483, -0.24652919173240662, 0.08506529778242111, -0.2656085789203644, -0.6735727787017822, 0.40448418259620667, -0.07338425517082214, -0.041316885501146317, -0.5772286057472229, 0.26811614632606506, -0.0293731689453125, 0.23531630635261536, 0.47676175832748413, 0.22288835048675537, -0.2937621772289276, -0.18998292088508606, -0.17977111041545868, -0.2883528172969818, -0.04948859661817551, 1.2155091762542725, -0.6410998106002808, 0.022313054651021957, 0.41439932584762573, 0.7391138076782227, 0.7224628925323486, 0.017931897193193436, 0.5660625696182251, -0.7547063231468201, 0.28317156434059143, 0.47494828701019287, 0.06085922196507454, 0.5089489221572876, -0.7870282530784607, 0.39551204442977905, 0.0986231192946434, -0.7649387121200562, -0.9294336438179016, 0.01902846433222294, -0.6787096858024597, -0.1566409468650818, 1.4140877723693848, 0.014499552547931671, -0.02407059632241726, 0.024731464684009552, -0.02754938043653965, 0.2712363302707672, -0.5553321242332458, 0.9711219072341919, 0.6089968681335449, -0.12732888758182526, -0.5172571539878845, -0.940527081489563, 0.37647590041160583, -0.025840554386377335, -0.8976813554763794, -0.11769170314073563, 0.666321337223053, 0.16700442135334015, -0.034560367465019226, 0.5993770360946655, 0.03677380457520485, 0.0664258822798729, -0.07797045260667801, -0.2676880657672882, -0.2956606447696686, -0.4732697904109955, -0.2883017063140869, -0.12655124068260193, 0.01904289796948433, -0.01161960605531931 ]
http://arxiv.org/abs/2406.13698v1
http://arxiv.org/pdf/2406.13698v1
MMTE: Corpus and Metrics for Evaluating Machine Translation Quality of Metaphorical Language
2024-06-19T16:52:22
2024-06-19T16:52:22
Shun Wang, Ge Zhang, Han Wu, Tyler Loakman, Wenhao Huang, Chenghua Lin
cs.CL
cs.CL
Machine Translation (MT) has developed rapidly since the release of Large Language Models and current MT evaluation is performed through comparison with reference human translations or by predicting quality scores from human-labeled data. However, these mainstream evaluation methods mainly focus on fluency and factual reliability, whilst paying little attention to figurative quality. In this paper, we investigate the figurative quality of MT and propose a set of human evaluation metrics focused on the translation of figurative language. We additionally present a multilingual parallel metaphor corpus generated by post-editing. Our evaluation protocol is designed to estimate four aspects of MT: Metaphorical Equivalence, Emotion, Authenticity, and Quality. In doing so, we observe that translations of figurative expressions display different traits from literal ones.
[ -0.27474188804626465, -0.5002624988555908, 0.530716598033905, 0.4707518219947815, -0.5438901782035828, 0.3445225656032562, -0.19716089963912964, -0.5879671573638916, 0.445529580116272, 0.18464432656764984, -0.4313323497772217, -0.45619040727615356, -0.8863089680671692, 0.5847211480140686, -0.4294394850730896, 0.9012876749038696, -0.162610724568367, 0.19835758209228516, -0.2330094575881958, -0.48124536871910095, -0.6673700213432312, -0.6287828683853149, -0.5333066582679749, -0.05412508547306061, 0.6378828287124634, -0.11829310655593872, 1.2877576351165771, 0.7977553009986877, 0.7285330295562744, 0.41019976139068604, 0.3521697223186493, 0.26194655895233154, -0.2520892918109894, -0.21237024664878845, -0.1784951537847519, -0.472896546125412, -0.5632154941558838, 0.5631797909736633, 0.9568141102790833, 0.5166464447975159, 0.06112253665924072, 0.2977410554885864, -0.02701474167406559, 0.49586090445518494, -0.35745933651924133, 0.14563269913196564, -0.6398903131484985, 0.08309690654277802, -0.1687706708908081, -0.5391262173652649, -0.436789870262146, -0.41959547996520996, -0.26829972863197327, -0.5033069849014282, 0.010066932998597622, 0.2524108588695526, 1.0815247297286987, 0.5828912258148193, -0.43629491329193115, -0.2104058414697647, -0.3317156434059143, 1.1039022207260132, -0.5637356638908386, 0.5458930134773254, 0.35205191373825073, 0.5875812768936157, 0.16714371740818024, -0.7490031123161316, -0.5591112971305847, -0.5764169692993164, -0.41446301341056824, 0.39088213443756104, -0.3207033574581146, -0.2854430079460144, -0.033492255955934525, 0.36369752883911133, -0.6290643811225891, -0.07343659549951553, -0.24289149045944214, -0.3811522424221039, 0.5007040500640869, 0.4049181044101715, 0.5790886878967285, -0.265534371137619, -0.5378587245941162, -0.20257215201854706, -0.5201300978660583, -0.3835940361022949, 0.46869707107543945, -0.07064531743526459, -0.12049021571874619, 0.6877115964889526, 0.13037432730197906, 0.6518937945365906, -0.6513007879257202, -0.39361050724983215, 0.6800475716590881, -0.5692914128303528, -0.2559650242328644, -0.06997621059417725, 0.9612034559249878, 0.7022777795791626, 0.17620278894901276, -0.45364806056022644, -0.48484960198402405, 0.5523743033409119, 0.433865487575531, -0.7618188858032227, 0.31379827857017517, 0.12294131517410278, -0.6140148043632507, -0.41245532035827637, 0.11013857275247574, -0.4283539652824402, -0.12541866302490234, -0.6083934307098389, 0.3924771845340729, -0.6675012707710266, -0.0657876655459404, 0.18199093639850616, -0.23606190085411072, -0.3115612864494324, 0.40480777621269226, -0.2437373697757721, 0.06283584237098694, 0.5310791730880737, 1.0177911520004272, -0.2301332950592041, -0.7310002446174622, -0.48668980598449707, 0.03410844877362251, -0.3910960853099823, 0.6239206790924072, -0.3817826807498932, -0.03378134220838547, -0.3150283694267273, -0.12038954347372055, -0.42709845304489136, -0.44752734899520874, 1.066480040550232, -0.42413437366485596, 0.20065583288669586, -0.12593060731887817, -0.36786317825317383, -0.22977815568447113, 0.40021654963493347, -0.6386475563049316, 0.8342317342758179, 0.2525067925453186, -0.9369418025016785, 0.262469619512558, -0.7374374866485596, -0.19394566118717194, -0.08983209729194641, -0.04722693935036659, 0.1663891226053238, 0.39575788378715515, 0.049590323120355606, 0.3826887309551239, -0.6908673644065857, 0.2739420533180237, -0.03388321027159691, -0.32371747493743896, 0.6734097003936768, -0.4534088969230652, 0.629660427570343, 0.626372754573822, 0.02827513962984085, 0.38543277978897095, -0.46546661853790283, 0.0692182332277298, 0.06358214467763901, 0.005509093403816223, -0.2661716341972351, -0.2593814730644226, 0.4227987229824066, 0.7100721001625061, 0.3195103406906128, -0.5778767466545105, -0.26910167932510376, -0.3082585036754608, 0.5882391929626465, 0.4443061053752899, -0.1953149288892746, 0.025907915085554123, -0.37539494037628174, 0.5729852914810181, 0.13419264554977417, 0.08149097114801407, 0.04636786878108978, -0.4761936068534851, -0.5133307576179504, -0.5841711163520813, 0.7416580319404602, 0.6022517681121826, -0.7764644026756287, 0.44463157653808594, -0.616524875164032, -0.6071382164955139, -1.0141862630844116, -0.09014776349067688, 0.5863666534423828, 0.4075779914855957, 0.42283502221107483, -0.5334112048149109, -0.22854357957839966, -1.1354037523269653, -0.4198259711265564, -0.23259344696998596, -0.21542710065841675, -0.01037862990051508, 0.4722502827644348, -0.39685067534446716, 0.6273954510688782, -0.19063670933246613, -0.2819507420063019, 0.04818681627511978, 0.6112856864929199, 0.005169244948774576, 0.5138635635375977, 0.9496367573738098, -0.6057868003845215, -0.10144112259149551, -0.032634276896715164, -1.0573575496673584, -0.20198741555213928, -0.2659246325492859, -0.44428300857543945, 0.01631045714020729, 0.2606222331523895, -0.8095312118530273, 0.051070451736450195, 0.8199370503425598, -0.36109423637390137, 0.9890062808990479, -0.17398200929164886, 0.7795094847679138, -1.1409879922866821, 0.08280335366725922, -0.003908134065568447, -0.2459881603717804, -0.21201744675636292, 0.4022008180618286, 0.028748322278261185, 0.06898260861635208, -0.709601640701294, 0.6816344261169434, -0.2879363000392914, -0.241718590259552, -0.09697182476520538, 0.3721292316913605, 0.023678448051214218, -0.07206378132104874, -0.05894937366247177, 1.0193586349487305, 0.20706038177013397, -0.14448554813861847, 0.35430774092674255, 0.04484894871711731, -0.2690609395503998, 1.0298699140548706, -0.6157376170158386, 0.021181924268603325, 0.027557311579585075, 0.09020163118839264, -0.7460936903953552, -0.0583973228931427, 0.1312231421470642, -0.7064467668533325, 0.17553266882896423, 0.25065311789512634, -1.3216383457183838, -0.20510274171829224, -0.1401103436946869, 0.46157073974609375, 0.4410763680934906, -0.18021884560585022, 0.1816059947013855, 0.18443113565444946, 0.19286251068115234, -0.5681881308555603, -0.7088598012924194, 0.5367158055305481, -0.3588680028915405, -0.894071102142334, 0.31450527906417847, -0.2040359228849411, -0.1628033071756363, 0.09419206529855728, 0.02803613804280758, -0.24992156028747559, 0.027913669124245644, -0.09651089459657669, 0.08710618317127228, -0.4638863205909729, -0.09234938770532608, 0.27011606097221375, -0.44720640778541565, 0.19566211104393005, -0.03863823041319847, 0.3449503481388092, -0.45253193378448486, -0.28949204087257385, -0.6083038449287415, 0.20737119019031525, 0.9893190264701843, -0.33662548661231995, 0.8874201774597168, 0.9836868643760681, -0.5988989472389221, 0.575485348701477, -0.6326940059661865, -0.18648697435855865, -0.3431619107723236, 0.2600249946117401, -0.8067747950553894, -0.7464405298233032, 0.44984856247901917, -0.07191265374422073, -0.09401998668909073, 0.8059293627738953, 0.6129770278930664, -0.17315208911895752, 0.9745216369628906, 0.3043357729911804, 0.033675383776426315, -0.06306113302707672, 0.23856692016124725, -0.02218662016093731, -0.6480491161346436, 0.16685709357261658, -0.7084591388702393, -0.4702589213848114, -0.45931586623191833, -0.7125304937362671, 0.20051226019859314, 0.3176961839199066, -0.05970181152224541, 0.6704303622245789, -0.2608506977558136, 0.2659791111946106, 0.30140116810798645, -0.13787470757961273, 0.5948758125305176, 0.053386278450489044, -0.3708060085773468, -0.5901689529418945, -0.41223832964897156, -1.127646565437317, 0.7151090502738953, 0.5341246724128723, 0.03375592827796936, 0.09424534440040588, 0.4343779683113098, 0.3124312460422516, 0.777116596698761, -0.665828287601471, 0.42290621995925903, 0.0437699630856514, -0.6313404440879822, -0.08501783758401871, -0.7093797922134399, -0.8049896359443665, 0.5902518630027771, -0.28593379259109497, -0.7291612029075623, -0.3071362376213074, -0.022837193682789803, 0.20670150220394135, 0.08763054013252258, -0.6259379386901855, 1.3110377788543701, -0.3562716245651245, 0.04103981330990791, -0.6685308814048767, -0.8653361201286316, 0.5474152565002441, -0.32655540108680725, 0.3071889579296112, -0.36865922808647156, -0.3937298059463501, 0.6352993845939636, -0.1418943852186203, 0.35247376561164856, 0.2133921980857849, 0.28061753511428833, 0.15928472578525543, 0.4395182430744171, 0.14685943722724915, -0.05421820655465126, -0.3111158311367035, 0.6196507811546326, 0.42358699440956116, -0.5460848808288574, -0.7653326392173767, 0.5950256586074829, -0.8666635155677795, -0.13663995265960693, -0.40491771697998047, -0.8400658965110779, -0.2961304783821106, 0.20540431141853333, 0.24730296432971954, -0.005165735725313425, -0.390924870967865, 0.05293212831020355, -0.12199005484580994, -0.33799952268600464, 0.1825762242078781, 0.215328648686409, -0.026434950530529022, -0.546002209186554, 0.9934407472610474, 0.03415333107113838, 0.28351762890815735, 0.36408543586730957, 0.21355819702148438, -0.6130589842796326, -0.269913911819458, -1.008668065071106, 0.532131552696228, -0.6707849502563477, -0.3215349018573761, -0.6538127064704895, -0.142069473862648, 0.12877701222896576, -0.19155150651931763, -0.6364953517913818, -0.46236735582351685, -0.046734243631362915, -0.03636772185564041, 0.16605816781520844, 0.30347755551338196, 0.21626299619674683, 0.3402861952781677, -1.0566484928131104, 0.21997322142124176, -0.40134647488594055, 0.14221343398094177, -0.3307235538959503, -0.6129611134529114, -0.2013813853263855, 0.1520598828792572, -0.23508210480213165, -0.948948323726654, 0.5476731061935425, -0.152812659740448, 0.41601288318634033, 0.36354297399520874, -0.15692514181137085, 0.6916360855102539, -0.7158145904541016, 0.6308009028434753, 0.6550840139389038, -1.0453237295150757, 0.223289355635643, -0.3385879695415497, -0.1523481011390686, 0.5373309850692749, 0.43317899107933044, -0.6521154046058655, -0.6220830082893372, -0.6983704566955566, -0.2396552562713623, 0.3178600072860718, 0.7056990265846252, 0.2871350944042206, -0.11332108825445175, 0.00024231256975326687, 0.15574805438518524, 0.6432812809944153, -0.5130438208580017, -0.28226062655448914, -0.364612877368927, -0.29619932174682617, -0.4447826147079468, -0.11238864809274673, -0.1824161857366562, -0.2735978364944458, 0.23282362520694733, 0.1390974521636963, 0.382325142621994, -0.16776886582374573, -0.4508269429206848, 0.16608452796936035, 0.3475131392478943, 0.7177047729492188, 0.8834743499755859, -0.27510932087898254, 0.25180864334106445, 0.08006385713815689, -0.2995529770851135, 0.12650851905345917, -0.06489107012748718, 0.020251251757144928, 0.4398825764656067, 0.1926395297050476, 0.47480371594429016, 0.09678937494754791, -0.6183398365974426, 0.4762836694717407, 0.1520491987466812, 0.04128296300768852, -0.07464176416397095, -0.4428673982620239, 0.19951792061328888, -0.0693732425570488, -0.05090675875544548, 0.3231589198112488, 0.35649770498275757, -0.4099518358707428, 0.15811066329479218, 0.1323593556880951, -0.5679509043693542, -0.4592464566230774, 0.7406091094017029, 0.08309664577245712, -0.11141429096460342, 0.6208580732345581, -0.4162340462207794, -0.27961158752441406, 0.32947978377342224, 0.6296986937522888, 0.8712431192398071, -0.31796950101852417, 0.20999951660633087, 0.4231875240802765, 1.00282883644104, 0.12026285380125046, 0.13717328011989594, 0.5623992681503296, -0.5767606496810913, -0.6290664672851562, -0.9573515057563782, -0.1756681203842163, -0.10780858993530273, -0.36141037940979004, 0.2976306676864624, 0.020612606778740883, -0.3077159523963928, -0.058312512934207916, -0.44213923811912537, -0.8007155656814575, 0.44338831305503845, -0.19203856587409973, 0.884924590587616, -1.006225824356079, 0.9875277280807495, 0.8620325922966003, -0.797450840473175, -0.6122323870658875, -0.32467955350875854, 0.020989125594496727, -0.5737359523773193, 0.8231063485145569, 0.23801472783088684, -0.37823736667633057, 0.09298165142536163, -0.013609157875180244, -0.6346248984336853, 0.8723081350326538, 0.9350646734237671, 0.0034155116882175207, 0.35615116357803345, 0.3955136835575104, 0.8776581883430481, -0.4827898442745209, 0.5232803821563721, 0.6850199699401855, 0.653049647808075, -0.111155666410923, -1.1713125705718994, 0.26584959030151367, -0.32423943281173706, 0.21948623657226562, 0.05659940838813782, -0.43436768651008606, 0.5498642325401306, 0.1865868717432022, -0.2914345860481262, 0.1943517029285431, 0.7019940614700317, 0.15695258975028992, 0.28893253207206726, 0.47171279788017273, 0.7256507277488708, 0.5919765830039978, -0.16018933057785034, 1.3055208921432495, -0.4379105865955353, 0.2220577746629715, 0.8841413259506226, 0.13551491498947144, 0.9726696610450745, 0.6335180401802063, -0.19747284054756165, 0.2555621862411499, 0.874006450176239, 0.1733926683664322, 0.10469625890254974, 0.2946496605873108, -0.08750905096530914, -0.15886850655078888, -0.24677838385105133, -0.47096914052963257, 0.3527616858482361, 0.3678342401981354, -0.6315801739692688, -0.19575245678424835, -0.10379525274038315, 0.16796211898326874, 0.16724860668182373, 0.07040940225124359, 0.15210576355457306, 0.1505993753671646, -0.456301748752594, 0.6778731942176819, 0.6234284043312073, 0.4423866868019104, -0.09971292316913605, -0.0011800723150372505, -0.11609180271625519, -0.2502312958240509, -0.19109946489334106, -0.7479763031005859, 0.7981045842170715, -0.06719844043254852, -0.18498100340366364, -0.19749154150485992, 0.18486477434635162, -0.09117541462182999, -0.6359254717826843, 0.3232544958591461, 0.9848044514656067, 0.9316533803939819, -0.41136354207992554, -1.0848941802978516, 0.13480214774608612, -0.5582162737846375, -0.03663482517004013, 0.3888216018676758, 0.5823987126350403, -0.2014351785182953, 0.550627589225769, 0.7972061634063721, -0.13974550366401672, 0.04756651073694229, 0.23309297859668732, 0.4366060197353363, -0.6308863162994385, -0.3826255202293396, -0.8753792643547058, 0.6047772765159607, -0.03731768950819969, -0.5311888456344604, 0.6981422305107117, 0.690122663974762, 0.7747253179550171, -0.3446579575538635, 0.2607065737247467, 0.07874004542827606, 0.16778579354286194, -0.40080615878105164, 0.9406528472900391, -0.7005060911178589, -0.07392090559005737, -0.6581090688705444, -1.2506765127182007, -0.5006982684135437, 0.7028377056121826, 0.0072425734251737595, -0.16399726271629333, 1.3451029062271118, 0.7256971597671509, -0.413276731967926, -0.023718465119600296, 0.6863059997558594, 0.12815983593463898, -0.1948181390762329, 0.2769547700881958, 1.0021244287490845, -0.6793901920318604, 0.41851696372032166, 0.010672150179743767, -0.2318851351737976, -0.014692245982587337, -1.0487849712371826, -0.650234043598175, -0.6062543392181396, -0.4978080093860626, -0.5065430402755737, -0.08515220135450363, 0.8162795305252075, 0.5818724036216736, -0.510360836982727, -0.4343903660774231, 0.27998191118240356, 0.03996795788407326, -0.5366498827934265, -0.2058638632297516, 0.49053964018821716, -0.5264621376991272, -0.8209680914878845, 0.27499574422836304, 0.4647299647331238, -0.16739244759082794, -0.055780746042728424, -0.305938720703125, 0.13347673416137695, 0.057989392429590225, 0.9062099456787109, -0.3108730614185333, -1.0958068370819092, -0.31603288650512695, -0.09193683415651321, -0.5087794065475464, 0.14553263783454895, 0.650016725063324, -0.3337291479110718, 0.4329530596733093, 0.23776467144489288, 0.8244278430938721, 0.20246116816997528, -0.04496277868747711, 0.5273275971412659, -0.6009469032287598, 0.3094373643398285, 0.24719922244548798, 0.528424084186554, 0.2667043209075928, 0.013264281675219536, 0.8120668530464172, 0.5875107049942017, -0.278474360704422, -0.8711766004562378, 0.1276881992816925, -1.1307741403579712, 0.012837524525821209, 0.8167444467544556, -0.3827857971191406, -0.025905415415763855, 0.23668968677520752, -0.24836386740207672, 0.27580714225769043, -0.14411231875419617, 0.6830672025680542, 0.8429555892944336, -0.075889453291893, -0.12513379752635956, -1.2405933141708374, 0.14116133749485016, 0.473514199256897, -0.8796107172966003, -0.3668734133243561, 0.7716302871704102, 0.16088223457336426, 0.3215195834636688, 0.28279542922973633, -0.6496768593788147, 0.34353289008140564, 0.08932115137577057, 0.18801161646842957, 0.12583516538143158, -0.3160945475101471, 0.11768513172864914, 0.09515702724456787, 0.19878438115119934, -0.30466213822364807 ]
http://arxiv.org/abs/2407.00071v1
http://arxiv.org/pdf/2407.00071v1
Combinatorial Reasoning: Selecting Reasons in Generative AI Pipelines via Combinatorial Optimization
2024-06-19T16:47:44
2024-06-19T16:47:44
Mert Esencan, Tarun Advaith Kumar, Ata Akbari Asanjan, P. Aaron Lott, Masoud Mohseni, Can Unlu, Davide Venturelli, Alan Ho
cs.AI
cs.AI, cs.CL, cs.ET, cs.LG
Recent Large Language Models (LLMs) have demonstrated impressive capabilities at tasks that require human intelligence and are a significant step towards human-like artificial intelligence (AI). Yet the performance of LLMs at reasoning tasks have been subpar and the reasoning capability of LLMs is a matter of significant debate. While it has been shown that the choice of the prompting technique to the LLM can alter its performance on a multitude of tasks, including reasoning, the best performing techniques require human-made prompts with the knowledge of the tasks at hand. We introduce a framework for what we call Combinatorial Reasoning (CR), a fully-automated prompting method, where reasons are sampled from an LLM pipeline and mapped into a Quadratic Unconstrained Binary Optimization (QUBO) problem. The framework investigates whether QUBO solutions can be profitably used to select a useful subset of the reasons to construct a Chain-of-Thought style prompt. We explore the acceleration of CR with specialized solvers. We also investigate the performance of simpler zero-shot strategies such as linear majority rule or random selection of reasons. Our preliminary study indicates that coupling a combinatorial solver to generative AI pipelines is an interesting avenue for AI reasoning and elucidates design principles for future CR methods.
[ -0.5971551537513733, -0.7391799688339233, 0.8589491248130798, 0.39340028166770935, -0.3614330291748047, 0.2970055937767029, -0.2215537130832672, -0.20997899770736694, -0.09661535173654556, 0.4465881884098053, -0.8576182723045349, -0.3400881588459015, -0.28249940276145935, 0.4246895909309387, -0.30146798491477966, 0.7394163012504578, 0.05936469882726669, 0.14641891419887543, -0.7635324001312256, 0.05528770014643669, -0.6385646462440491, -0.6112446188926697, -0.7158362865447998, -0.4867764115333557, 0.7334503531455994, 0.5236504077911377, 0.37577274441719055, 0.5458940863609314, 0.1337781548500061, 0.24901175498962402, 0.08965156227350235, 0.48491543531417847, -0.3135339319705963, 0.5277409553527832, -0.11703017354011536, -0.7704100012779236, 0.20753838121891022, -0.3155369460582733, 0.2838554084300995, 0.7144914269447327, -0.02186943218111992, 0.055522821843624115, -0.3897150754928589, 0.5988823771476746, -0.6824309229850769, -0.011604339815676212, -0.6965264081954956, 0.04297051578760147, -0.35833969712257385, -0.4908442497253418, -0.341146320104599, -0.274850994348526, -0.12670175731182098, -0.5514771342277527, 0.22751836478710175, 0.4706610143184662, 0.3586656153202057, 0.5696898698806763, -0.13446152210235596, -0.36973273754119873, -0.8152472972869873, 0.8595380783081055, -0.38025206327438354, 0.2939678430557251, 0.25998416543006897, 0.16438612341880798, -0.2857450246810913, -0.5119582414627075, -0.6787207722663879, -0.21560320258140564, 0.1660471260547638, 0.2170274257659912, -0.25359341502189636, 0.14308376610279083, 0.37340426445007324, 0.30418387055397034, -0.6683399677276611, 0.21806810796260834, -0.11682061105966568, -0.2529948055744171, 0.6815924644470215, 0.43806982040405273, 0.25405576825141907, 0.10629928857088089, -0.16038832068443298, 0.0008807335398159921, -0.7978792190551758, 0.24050357937812805, 0.45397913455963135, -0.06306564807891846, 0.15178686380386353, 0.4618353843688965, -0.20761781930923462, 0.8639580011367798, 0.0384337343275547, 0.1370382010936737, -0.29955652356147766, -0.3015914261341095, 0.06122595816850662, -0.08953431248664856, 0.6618715524673462, 0.054567474871873856, 0.22201953828334808, -0.21245738863945007, -0.1965111643075943, 0.30957475304603577, 0.2086646556854248, -0.5785472989082336, -0.45437702536582947, 0.5008736252784729, -0.10717608779668808, -0.1924559324979782, -0.21464203298091888, -0.6302638053894043, -0.30452966690063477, -0.4252062737941742, 0.23374636471271515, -0.3968033492565155, 0.2324117124080658, 0.04166914150118828, -0.47731393575668335, 0.37621983885765076, 0.3901865780353546, -0.9432321786880493, -0.18162484467029572, 0.8168103098869324, 0.5088925957679749, -0.1821986585855484, -0.19112800061702728, -0.7507772445678711, -0.00604865001514554, -0.5205848813056946, 1.1210042238235474, -0.7628869414329529, -0.7041881680488586, -0.07502655684947968, -0.5432187914848328, 0.06838333606719971, -0.6513774394989014, 0.5783810615539551, -0.5139482021331787, 0.2462940216064453, -0.4855686128139496, -0.46782177686691284, -0.08423786610364914, 0.12981455028057098, -0.3088511824607849, 0.6623809337615967, 0.06322687119245529, -0.3112123906612396, 0.33546632528305054, -0.8421609997749329, -0.6587886214256287, 0.5396282076835632, -0.43334174156188965, -0.23246915638446808, 0.02165105566382408, 0.35728001594543457, 0.020655276253819466, -0.5588048100471497, 0.16161227226257324, -0.29303839802742004, -0.24932226538658142, 0.3759520947933197, -0.38470175862312317, 1.070582628250122, 0.369841068983078, -0.15846039354801178, 0.43463683128356934, -0.33641624450683594, 0.17153598368167877, 0.26261863112449646, -0.181901216506958, 0.014822956174612045, 0.27308571338653564, -0.5173854231834412, -0.08417579531669617, 0.2078457623720169, -0.20015864074230194, 0.29870104789733887, -0.06904687732458115, 0.659076988697052, 0.8486614227294922, 0.07656373083591461, 0.3533468246459961, -0.46179160475730896, 0.9658470153808594, 0.026262866333127022, 0.15843261778354645, -0.23870879411697388, -0.7268975377082825, -0.8320316076278687, -0.1979595124721527, 0.24074189364910126, 0.6217545866966248, -0.666499137878418, 0.423030287027359, 0.3570419251918793, -0.15453867614269257, -0.5003153085708618, 0.3108188211917877, 0.2100219875574112, 0.4060298800468445, 0.19730053842067719, -0.05001605674624443, -0.636546790599823, -0.7164276242256165, -0.08444657176733017, -0.18215876817703247, -0.032690927386283875, 0.32659903168678284, 0.305887371301651, -0.14439614117145538, 1.0450496673583984, -0.5626816749572754, 0.1204918622970581, -0.5501797199249268, 0.24914564192295074, 0.1388380527496338, 0.09174409508705139, 0.5293731689453125, -0.776330292224884, -0.20738203823566437, -0.3327557146549225, -0.6907645463943481, -0.5379189848899841, -0.5003231167793274, -0.5222991108894348, 0.018340958282351494, 0.36204588413238525, -0.8573337197303772, 0.2517126202583313, 0.2664432227611542, -0.0008230170933529735, 1.0387223958969116, -0.06367337703704834, -0.3688527047634125, -0.6169394850730896, -0.0911458283662796, -0.10466597229242325, -0.023337818682193756, -0.32094934582710266, 0.0559132881462574, -0.3921523094177246, -0.1932426393032074, -0.01992284320294857, 0.5451992154121399, -0.47503742575645447, 0.014484010636806488, -0.3202357590198517, 0.12178095430135727, 0.24870984256267548, 0.4916122555732727, 0.047302063554525375, 0.894580602645874, 0.6794447302818298, -0.6482924222946167, 0.8120773434638977, 0.44697996973991394, 0.005734587553888559, 0.6395490169525146, -0.6231998205184937, 0.21626371145248413, -0.218160018324852, 0.35821256041526794, -0.8077435493469238, -0.11708416044712067, 0.31221696734428406, -0.5142202973365784, -0.04078012704849243, -0.0012766292784363031, -0.4053996205329895, -0.6748812794685364, -0.12213835120201111, 0.4555306136608124, 0.48368486762046814, -0.7176476716995239, 0.5235946178436279, 0.05917877331376076, -0.09873998910188675, -0.2070971578359604, -0.18594196438789368, 0.22268524765968323, -0.3144493103027344, -0.6037191152572632, 0.48739439249038696, -0.6035182476043701, -0.39956802129745483, -0.2188895344734192, -0.1756768375635147, 0.17248590290546417, 0.22439904510974884, 0.22914712131023407, 0.3555004596710205, -0.0017581190913915634, -0.05427855625748634, 0.202581986784935, -0.3691971004009247, 0.43242600560188293, -0.5584896802902222, 0.6453602313995361, -0.11244754493236542, -0.424957811832428, -0.22240929305553436, 0.7118037343025208, 0.25103500485420227, -0.46448785066604614, 0.41703468561172485, 0.4543701410293579, -0.17740459740161896, -0.5521621108055115, -0.46710363030433655, -0.314028263092041, -0.43353161215782166, -0.11196589469909668, -0.30757176876068115, -0.9121264815330505, 0.39797505736351013, -0.0795871764421463, -0.012820737436413765, 0.04482147470116615, 0.966278612613678, -0.2895811200141907, 1.3028877973556519, 0.08178041130304337, -0.035695962607860565, 0.4614313542842865, -0.3249094784259796, 0.513116180896759, -0.66495281457901, -0.21725106239318848, -0.5340946316719055, -0.21303139626979828, -0.3032481372356415, -0.3191573917865753, 0.5371755361557007, 0.34392720460891724, -0.15646694600582123, 0.009993582963943481, -0.4887404441833496, 0.6002108454704285, 1.0598199367523193, -0.10964933037757874, 0.15177667140960693, -0.2579456865787506, -0.3209705054759979, 0.4609040915966034, -0.888975977897644, -0.3493339419364929, 0.6527629494667053, -0.22061967849731445, 0.419264554977417, 0.020838461816310883, 0.8651737570762634, 0.2819307744503021, -0.03404445946216583, -0.9065592288970947, 0.7572221755981445, 0.1936936378479004, -0.5784057378768921, -0.19662295281887054, -0.4304647147655487, -1.0964690446853638, 0.04572919383645058, -0.24451105296611786, -0.7314998507499695, 0.04082775115966797, 0.26871684193611145, -0.684601902961731, 0.09760770946741104, -0.6117572784423828, 0.6597327589988708, -0.6049543023109436, -0.23559685051441193, -0.3172019422054291, -0.6072025895118713, 0.1608884483575821, 0.11051801592111588, -0.048134323209524155, 0.02480611950159073, 0.26739203929901123, 0.3986753225326538, -0.5731528401374817, 0.6363662481307983, 0.027662022039294243, 0.18080353736877441, 0.5195122361183167, 0.0962044820189476, 0.34891149401664734, 0.04638522490859032, 0.07944697141647339, 0.12156935781240463, -0.08900578320026398, -0.3635396957397461, -0.8168045878410339, 0.48282361030578613, -0.6017283797264099, -1.0174380540847778, -0.29861322045326233, -0.6991440057754517, -0.32827454805374146, 0.11895953863859177, 0.41554442048072815, 0.4431283175945282, 0.3170172870159149, 0.10993023961782455, 0.47246697545051575, -0.07602245360612869, 0.48111265897750854, 0.04233156889677048, -0.0946778953075409, -0.24839556217193604, 0.946009635925293, -0.125554159283638, 0.09422507882118225, 0.4577319025993347, 0.5480380058288574, -0.551175057888031, -0.8865830898284912, -0.6506745219230652, 0.08208826929330826, -0.6001439094543457, -0.33901381492614746, -0.28041791915893555, -0.21846136450767517, -0.07563944160938263, -0.4255291521549225, 0.16822309792041779, -0.33591917157173157, -0.4310520589351654, -0.017483333125710487, 0.3591792583465576, 0.3865355849266052, -0.18897303938865662, -0.01878151297569275, -0.7498884797096252, 0.35005104541778564, 0.6746244430541992, 0.08161487430334091, 0.05832624435424805, -0.08424260467290878, -0.012543503195047379, 0.026020854711532593, -0.5545849204063416, -0.8918219208717346, 0.20291700959205627, -0.18085215985774994, 0.8789878487586975, 0.6154211759567261, 0.27655312418937683, 0.5832204818725586, -0.14229869842529297, 0.703352153301239, 0.09199974685907364, -0.8025496006011963, 0.6243279576301575, -0.5286270380020142, 0.15716652572155, 0.30659767985343933, 0.3826737403869629, -0.3447873890399933, -0.14360785484313965, -0.4979064464569092, -0.7118781208992004, 0.4073027968406677, 0.2946161925792694, -0.20239441096782684, -0.3018522560596466, 0.31989288330078125, 0.01856664940714836, 0.2919464111328125, -0.308396577835083, -0.11007902771234512, -0.07259508967399597, -0.07870334386825562, 0.3371622562408447, -0.13679289817810059, -0.36105024814605713, -0.18417131900787354, 0.6040968298912048, -0.2967981696128845, 0.3987288475036621, 0.06371438503265381, -0.04952453821897507, -0.264802485704422, 0.18172556161880493, 0.6397719383239746, 0.8081596493721008, 0.07071293145418167, -0.09406787902116776, 0.10897084325551987, 0.17806075513362885, 0.0364287905395031, 0.030992014333605766, -0.3826506435871124, -0.3712898790836334, 0.21931593120098114, 0.8453674912452698, -0.24044862389564514, -0.8695163726806641, 0.13774597644805908, 0.0415838286280632, -0.20775210857391357, -0.38384881615638733, 0.47093984484672546, 0.1820695996284485, 0.4571826457977295, 0.5050222277641296, -0.09512101113796234, 0.09795268625020981, -0.4502710998058319, -0.13517017662525177, 0.7947860360145569, 0.09366607666015625, -0.08749072998762131, 0.682827889919281, 0.25349530577659607, -0.85392826795578, 0.8124068975448608, -0.5580068826675415, -0.7904890775680542, 0.5982823967933655, 0.5821447968482971, 0.872805655002594, 0.15332573652267456, 0.2866239547729492, 0.1157846450805664, -0.06113741919398308, 0.21918877959251404, 0.24960771203041077, -0.4131932854652405, -1.0335619449615479, -0.5760670304298401, -0.4524819254875183, -0.7377861738204956, -0.12737765908241272, -0.45947760343551636, 0.04280351847410202, -0.6625450849533081, -0.0767672210931778, -0.04829329252243042, -0.09089251607656479, -0.5290766954421997, 0.02571515366435051, 0.5282518267631531, 0.5755595564842224, -0.4327728748321533, 0.3863954544067383, 0.5781972408294678, -0.5631577968597412, -0.6619356274604797, -0.08221805840730667, 0.018404118716716766, -1.032867431640625, 0.46344736218452454, 0.08445823192596436, -0.1588316261768341, 0.16168926656246185, -0.8080065846443176, -0.3545722961425781, 0.9069433808326721, 0.3721413016319275, -0.6374426484107971, -0.08825141936540604, 0.10755656659603119, 0.32603171467781067, -0.4398132562637329, 0.23879535496234894, 0.5859971642494202, 0.554350733757019, 0.37439388036727905, -0.41579458117485046, -0.17692796885967255, -0.15789228677749634, 0.04475005343556404, 0.4018460810184479, -0.7294204831123352, 0.47354987263679504, -0.6481887698173523, -0.014983964152634144, 0.23562085628509521, 0.5652959942817688, 0.87782222032547, 0.4657931327819824, 0.6401052474975586, 0.6862521767616272, 0.8931310176849365, -0.19671842455863953, 1.2035677433013916, -0.29923710227012634, -0.05497458949685097, 0.6074948906898499, -0.294264018535614, 0.41160082817077637, 0.5343732833862305, -0.4239770174026489, 0.7983195781707764, 0.8169564604759216, -0.07043305784463882, 0.3525865972042084, 0.3535618782043457, -0.5414177179336548, -0.8971878886222839, -0.20226764678955078, -0.009285361506044865, 0.4524105489253998, 0.4112544357776642, 0.09885267168283463, -0.17326869070529938, -0.1940874606370926, -0.20381009578704834, -0.029408982023596764, -0.20400376617908478, 0.6765840649604797, 0.20224714279174805, -0.9067872166633606, 0.3290749192237854, -0.21175746619701385, 0.3131304085254669, -0.501592755317688, -0.1915402114391327, -0.21399971842765808, -0.1302730143070221, -0.09064808487892151, -0.6717163920402527, 0.16165323555469513, -0.13658389449119568, -0.38495302200317383, -0.27915817499160767, 0.4710148274898529, -0.22343677282333374, -0.4833971858024597, 0.04582711681723595, 0.5343666672706604, 0.05280258134007454, -0.11241091787815094, -0.814740002155304, 0.0032426377292722464, 0.04536092281341553, 0.17070753872394562, 0.3309903144836426, 0.47947001457214355, -0.26861172914505005, 0.9132786989212036, 1.2185100317001343, 0.0701046958565712, -0.031663861125707626, 0.3421124815940857, 0.9220633506774902, -0.7557863593101501, -0.5093435645103455, -0.8939492702484131, 0.45268020033836365, 0.04669748991727829, -0.1962830275297165, 0.49450749158859253, 0.34991416335105896, 0.6358610987663269, 0.07461091130971909, 1.0468865633010864, 0.033977359533309937, 0.24221913516521454, -0.6261019110679626, 0.09817890077829361, -0.35186657309532166, 0.303793728351593, 0.09656801074743271, -0.8553988337516785, -0.3263261616230011, 0.7157607078552246, -0.4819973111152649, 0.14739039540290833, 0.6316916346549988, 0.7659376263618469, 0.3785909116268158, 0.3196844756603241, 0.20299652218818665, -0.08629850298166275, 0.4948769807815552, 0.7117706537246704, 1.1541134119033813, 0.3710627853870392, 0.6604793071746826, -0.16682542860507965, -0.13355299830436707, -0.4031887352466583, -1.1361099481582642, -0.8519461154937744, -0.4952826499938965, -0.3154047727584839, -0.12185478210449219, 0.06631678342819214, 1.0741511583328247, 0.5886212587356567, -0.6902591586112976, -0.16710886359214783, -0.49582552909851074, 0.5344809889793396, -0.2796582281589508, -0.2557950019836426, -0.1438165158033371, -0.5566060543060303, -0.5178350806236267, 0.604006290435791, 0.47334691882133484, -0.25536808371543884, -0.49205443263053894, -0.16498525440692902, 0.02178509347140789, 0.1674381047487259, 0.5671853423118591, 0.5387941002845764, -0.8050763010978699, -0.21424666047096252, 0.12308316677808762, 0.379657119512558, 0.16494391858577728, 1.0930718183517456, -0.8731602430343628, 0.5477340221405029, 0.7011029124259949, 0.7327214479446411, 0.48491227626800537, 0.31014540791511536, 0.7108179926872253, -0.4586878716945648, -0.14039824903011322, 0.5618258118629456, 0.5037813186645508, 0.3036286532878876, -0.25896182656288147, 0.26128941774368286, 0.4120559096336365, -0.7858498096466064, -0.6706594228744507, 0.5879873037338257, -1.1137773990631104, -0.23493628203868866, 1.131754755973816, 0.21202899515628815, -0.17347782850265503, -0.18202781677246094, -0.36921069025993347, 0.00790045689791441, -0.45896634459495544, 0.7772728800773621, 0.7097980976104736, -0.6637210249900818, -0.5330994725227356, -0.11447840929031372, 0.2327316254377365, 0.5931625962257385, -0.740925133228302, -0.06438795477151871, 0.6475667953491211, -0.005833122413605452, 0.14941874146461487, 0.5085683465003967, 0.24504102766513824, 0.3646359145641327, -0.0698067769408226, -0.17771640419960022, -0.2110292613506317, -0.47588860988616943, -0.05240801349282265, 0.03839462995529175, 0.31609898805618286, -0.08823573589324951 ]
http://arxiv.org/abs/2406.15504v1
http://arxiv.org/pdf/2406.15504v1
Dr.E Bridges Graphs with Large Language Models through Words
2024-06-19T16:43:56
2024-06-19T16:43:56
Zipeng Liu, Likang Wu, Ming He, Zhong Guan, Hongke Zhao, Nan Feng
cs.CL
cs.CL, cs.LG
Significant efforts have been directed toward integrating powerful Large Language Models (LLMs) with diverse modalities, particularly focusing on the fusion of vision, language, and audio data. However, the graph-structured data, inherently rich in structural and domain-specific knowledge, have not yet been gracefully adapted to LLMs. Existing methods either describe the graph with raw text, suffering the loss of graph structural information, or feed Graph Neural Network (GNN) embeddings directly into LLM at the cost of losing semantic representation. To bridge this gap, we introduce an innovative, end-to-end modality-aligning framework, equipped with a pretrained Dual-Residual Vector Quantized-Variational AutoEncoder (Dr.E). This framework is specifically designed to facilitate token-level alignment with LLMs, enabling an effective translation of the intrinsic `language' of graphs into comprehensible natural language. Our experimental evaluations on standard GNN node classification tasks demonstrate competitive performance against other state-of-the-art approaches. Additionally, our framework ensures interpretability, efficiency, and robustness, with its effectiveness further validated under both fine-tuning and few-shot settings. This study marks the first successful endeavor to achieve token-level alignment between GNNs and LLMs.
[ -0.21192428469657898, -0.6847794651985168, 0.3437092900276184, -0.30324825644493103, -0.38339847326278687, 0.38657230138778687, -0.318316251039505, -0.30623719096183777, 0.22768226265907288, 0.22384825348854065, -0.2998255491256714, -0.7062110900878906, -0.5398537516593933, 0.058410439640283585, -0.2445429116487503, 0.6851531267166138, -0.30772045254707336, 0.03202710300683975, -0.14202870428562164, -0.3914559483528137, -0.3683183193206787, -0.4445858895778656, -0.7244426012039185, -0.2961556315422058, 0.7788525819778442, -0.05156327784061432, 0.7753986120223999, 0.8183723092079163, 0.3345320522785187, 0.27385321259498596, 0.05676478520035744, 0.5295283198356628, -0.6239576935768127, -0.16987201571464539, -0.1167948842048645, -0.28279727697372437, -0.6554584503173828, -0.24013912677764893, 0.6839893460273743, 1.0258433818817139, -0.15252408385276794, -0.16313424706459045, 0.1825619488954544, 0.5083888173103333, -0.2971037030220032, 0.2111956626176834, -0.43837717175483704, 0.12817175686359406, -0.14196407794952393, -0.08075877279043198, -0.33414924144744873, 0.13050134479999542, -0.0806707963347435, -0.747874915599823, -0.12416224181652069, 0.2720557749271393, 1.1295939683914185, 0.41372230648994446, -0.8933699131011963, -0.0018203591462224722, -0.4568985402584076, 0.2703408896923065, -0.6518929600715637, 0.6021446585655212, 0.11852286010980606, 0.3285786509513855, -0.24627335369586945, -0.9331993460655212, -0.6726555228233337, 0.10642876476049423, -0.04350162297487259, 0.03273549675941467, -0.2838979959487915, 0.46141746640205383, -0.0020906557328999043, 0.5245625376701355, -0.7901607751846313, 0.48279398679733276, -0.09098337590694427, -0.38582444190979004, 0.4039980471134186, 0.21524783968925476, 0.47143593430519104, -0.02190500684082508, -0.40313807129859924, -0.183487668633461, -0.5718337893486023, -0.17626652121543884, 0.40198540687561035, 0.41884028911590576, -0.27594056725502014, 0.6501942873001099, 0.1194644346833229, 1.02388334274292, 0.06669465452432632, 0.2775079309940338, 0.4155835807323456, -0.4862666428089142, -0.4465769827365875, -0.09526502341032028, 1.0890085697174072, 0.3903452455997467, 0.0773390457034111, -0.30273711681365967, -0.23700284957885742, 0.1381140649318695, 0.019110186025500298, -0.6508479714393616, -0.2691744863986969, -0.03590311482548714, -0.35398316383361816, -0.25708451867103577, -0.019323177635669708, -0.3557317852973938, -0.3279533386230469, -0.46961089968681335, 0.4725353717803955, -0.27080076932907104, -0.3367088735103607, 0.3404421806335449, -0.028483886271715164, 0.160283163189888, 0.21626999974250793, -0.7964306473731995, 0.3513285219669342, 0.6858776211738586, 0.8903314471244812, -0.04694150388240814, -0.1883845329284668, -0.49515870213508606, 0.4723054766654968, -0.5119268894195557, 0.34911584854125977, -0.45533984899520874, -0.11438173055648804, -0.0068371971137821674, 0.1517045795917511, -0.21933652460575104, -0.3507688641548157, 0.40519556403160095, -0.6308460235595703, 0.3194999694824219, -0.1025327816605568, -0.7551847100257874, -0.14535486698150635, 0.3017162084579468, -0.5477598309516907, 1.021376371383667, 0.4586234986782074, -0.7986549139022827, 0.3811641037464142, -0.45125529170036316, -0.5270827412605286, -0.02256975881755352, -0.6268433332443237, -0.23789319396018982, 0.09076844900846481, 0.212925523519516, 0.27400654554367065, -0.27342331409454346, 0.4630601108074188, -0.39568087458610535, -0.1716090887784958, 0.18602155148983002, -0.5169313549995422, 0.545771598815918, 0.05952982231974602, -0.22357536852359772, 0.3297038972377777, -0.5697892904281616, -0.16596150398254395, 0.08868367969989777, -0.15866756439208984, -0.2608647048473358, -0.1426718682050705, 0.015371291898190975, 0.4063987731933594, 0.18544255197048187, -0.6153221130371094, 0.29159995913505554, -0.49491071701049805, 0.9135583639144897, 0.8587167263031006, -0.5453578233718872, 0.4229653775691986, -0.14795857667922974, 0.5556877851486206, 0.03252260759472847, -0.15946689248085022, -0.17768791317939758, -0.16951291263103485, -0.5966299772262573, -0.49282383918762207, 0.5491617321968079, 0.38940584659576416, -0.6525188088417053, 0.8161903023719788, -0.7226895093917847, -0.11100354045629501, -0.4701567590236664, -0.01572456583380699, 0.1788572520017624, 0.7747904062271118, 0.26819998025894165, -0.5809370279312134, -0.3786383867263794, -0.952879011631012, 0.07543566077947617, -0.12415415048599243, -0.017028508707880974, 0.6651526093482971, 0.1755959838628769, -0.3919854462146759, 1.0283269882202148, -0.46031835675239563, -0.3792083263397217, -0.038195423781871796, 0.1451069712638855, 0.051488231867551804, 0.4571765065193176, 0.5441826581954956, -0.5940295457839966, -0.4414910674095154, 0.22816137969493866, -0.7693706154823303, -0.1550910472869873, 0.002377533121034503, -0.3884694576263428, -0.10382804274559021, 0.7304609417915344, -0.34779155254364014, 0.22539760172367096, 0.7542722225189209, -0.5782368183135986, 0.1343977153301239, -0.18505911529064178, 0.040056828409433365, -1.3292144536972046, 0.07688869535923004, -0.22258543968200684, -0.7752721309661865, -0.35936880111694336, -0.3715994954109192, -0.006395567208528519, -0.35680505633354187, -0.026884714141488075, 0.6222499012947083, -0.5582025647163391, -0.19740092754364014, -0.23107221722602844, 0.2905074954032898, 0.3444162905216217, 0.40067121386528015, -0.28763696551322937, 0.6689726114273071, 0.6988041400909424, -0.2817370593547821, 0.5144044160842896, 0.34692373871803284, 0.024050462990999222, 0.7012884020805359, -0.6077061891555786, 0.35663577914237976, -0.187861368060112, 0.3853422999382019, -1.0716629028320312, -0.2078809291124344, 0.3844796121120453, -0.3312276303768158, 0.9887304902076721, -0.2205124795436859, -0.49581608176231384, -0.44176027178764343, 0.00006792633212171495, 0.6137079000473022, 0.19596417248249054, -0.4599080979824066, 0.9273861050605774, 0.4444296360015869, -0.03305499628186226, -0.523174524307251, -0.7130441069602966, 0.6626890301704407, -0.06702720373868942, -0.7561599612236023, 0.5539233088493347, 0.057905785739421844, 0.25379467010498047, 0.31927332282066345, -0.031456999480724335, 0.01594911515712738, 0.049222271889448166, 0.007719581481069326, 0.15325720608234406, -0.3289619982242584, 0.2602928578853607, 0.1467292606830597, -0.30191802978515625, -0.2069493532180786, -0.763646125793457, 0.6187883615493774, -0.06309331208467484, -0.6476886868476868, -0.4576396346092224, 0.3180350959300995, 0.6944649815559387, -0.3924139440059662, 0.6289992332458496, 0.6245518326759338, -0.46076035499572754, -0.1451617032289505, -0.16602015495300293, 0.02414633147418499, -0.4713781177997589, 0.7223377823829651, -0.45535939931869507, -1.2470710277557373, 0.380587637424469, -0.29979193210601807, -0.2232850193977356, 0.33269017934799194, 0.29387199878692627, -0.12016117572784424, 1.0907012224197388, 0.8579330444335938, -0.19562526047229767, 0.500084638595581, -0.08155664801597595, 0.5549821257591248, -1.062675952911377, -0.03228968381881714, -0.1706758588552475, -0.5874149203300476, -0.3091340661048889, -0.6075402498245239, 0.13436312973499298, 0.2623100280761719, -0.4252253472805023, 0.2680809795856476, -0.5618278980255127, 0.13707703351974487, 0.09276550263166428, 0.11590689420700073, 0.06422507017850876, 0.02684561163187027, -0.2839914858341217, -0.011188105680048466, -0.8456249833106995, -0.4418138265609741, 1.086159348487854, 0.5156146883964539, 0.8117391467094421, 0.09683232754468918, 0.563265323638916, 0.2180006355047226, 0.2826411724090576, -0.8514025807380676, 0.4466306269168854, -0.32743003964424133, -0.23661968111991882, -0.40094608068466187, -0.47533392906188965, -0.7581882476806641, 0.3256917893886566, 0.07757263630628586, -0.5165327787399292, 0.2719687223434448, 0.13588999211788177, -0.1061643436551094, 0.37847834825515747, -0.3493315875530243, 1.1776067018508911, -0.5022239685058594, -0.3082163333892822, -0.07691098004579544, -0.7410943508148193, 0.07961193472146988, -0.06749065220355988, 0.39030274748802185, -0.17624922096729279, -0.32435715198516846, 0.5407418608665466, -0.5661550164222717, 1.0214539766311646, -0.06759684532880783, -0.2818317711353302, 0.005550929345190525, 0.00289498851634562, 0.5029425024986267, -0.22065888345241547, 0.20127736032009125, 0.23399139940738678, -0.32259848713874817, -0.3494347929954529, -0.6001849174499512, 0.5653271079063416, -0.7487940788269043, -0.33774811029434204, -0.17089733481407166, -0.660339891910553, -0.2993594706058502, 0.3588142395019531, 0.0893055722117424, 0.6890014410018921, -0.26996150612831116, 0.09203372150659561, 0.5261873006820679, -0.12232908606529236, 0.22939172387123108, 0.20902091264724731, -0.2981207072734833, -0.8372049927711487, 0.8655955195426941, 0.08609302341938019, 0.40710946917533875, 0.4255753755569458, 0.17824342846870422, -0.30764827132225037, -0.5451975464820862, -0.9211657643318176, 0.2673174738883972, -0.7416663765907288, -0.3448362350463867, -0.7231453061103821, -0.11354850977659225, -0.32614582777023315, -0.2872690260410309, -0.32283616065979004, -0.24578851461410522, -0.43008747696876526, -0.318399578332901, 0.14198802411556244, 0.553080677986145, -0.20496685802936554, 0.14780986309051514, -0.7411734461784363, 0.1721014678478241, 0.2702125608921051, 0.4023211896419525, -0.08939718455076218, -0.5457537770271301, -0.3394359350204468, 0.07367623597383499, 0.09857246279716492, -0.8619687557220459, 0.16194355487823486, 0.5668490529060364, 0.581233024597168, 0.45510730147361755, -0.13575544953346252, 0.7680675387382507, -0.5041765570640564, 0.6778687238693237, 0.597620964050293, -1.0210895538330078, 0.1667841523885727, -0.510382890701294, -0.11812413483858109, 0.5248204469680786, 0.07425633072853088, -0.7188383936882019, -0.15731285512447357, -0.18185099959373474, -1.127411127090454, 0.3779048025608063, -0.09508097171783447, 0.36968445777893066, -0.16131635010242462, 0.32040587067604065, -0.033988241106271744, 0.4366728365421295, -0.6823470592498779, -0.2081693410873413, -0.3978555500507355, -0.9350555539131165, 0.037103839218616486, -0.06749928742647171, -0.5015525817871094, -0.36133021116256714, 0.3614606559276581, -0.6316201686859131, 0.14457759261131287, 0.25257113575935364, -0.3294355273246765, -0.16975922882556915, 0.05262482911348343, 0.3506247103214264, 0.6874954104423523, 0.3386991024017334, 0.41570743918418884, 0.02450927533209324, -0.19577184319496155, 0.16919252276420593, 0.30036503076553345, 0.03130007162690163, -0.18570266664028168, 0.35504722595214844, 1.0131698846817017, 0.40043413639068604, -0.4694879949092865, 0.7982074022293091, -0.02514275535941124, -0.26880165934562683, 0.07648665457963943, -0.3417704403400421, 0.28962215781211853, 0.050767168402671814, 0.1745743453502655, -0.2818148136138916, -0.1745844930410385, -0.38766926527023315, 0.3764798045158386, 0.5910524129867554, -0.6802290678024292, -0.3917934000492096, 0.8705651164054871, 0.3701934218406677, -0.14178839325904846, 0.6418010592460632, -0.27044495940208435, -0.6847975254058838, 0.41170647740364075, 0.7484008073806763, 0.8934215903282166, 0.09815604984760284, 0.0850435271859169, 0.18801221251487732, 0.20587410032749176, 0.32231926918029785, 0.25006476044654846, 0.057291384786367416, -0.8337525725364685, -0.7188251614570618, -0.6969191431999207, 0.023957347497344017, -0.27636685967445374, -0.5337695479393005, 0.11136750131845474, -0.23342783749103546, -0.28242069482803345, -0.3154207170009613, -0.4022814631462097, -0.724419355392456, 0.048847563564777374, 0.45132166147232056, 0.7350658774375916, -0.9702182412147522, 0.7011517286300659, 0.8109939098358154, -0.46619313955307007, -1.0811442136764526, -0.2639745771884918, -0.13290643692016602, -0.9105194807052612, 0.7071388959884644, 0.12979263067245483, -0.17116542160511017, 0.4424291253089905, -0.5025635957717896, -0.8403597474098206, 1.2501070499420166, 0.4913484454154968, -0.8706137537956238, -0.17372609674930573, 0.24910345673561096, 0.36901625990867615, -0.513237714767456, 0.00990238692611456, 0.10841549932956696, 0.41149720549583435, 0.1690044403076172, -1.0725595951080322, 0.19112101197242737, -0.22484861314296722, -0.026236215606331825, 0.470600962638855, -0.5607854723930359, 0.7710152268409729, 0.024860069155693054, -0.3186003267765045, -0.2771700918674469, 0.8366138339042664, -0.29009249806404114, 0.1339004635810852, 0.6013889312744141, 1.0256690979003906, 1.09987473487854, -0.10500729829072952, 0.6908755898475647, -0.6784361600875854, 0.2274399995803833, 1.0214648246765137, -0.4362030327320099, 0.44390156865119934, 0.38740819692611694, -0.17728465795516968, 0.6621055603027344, 0.7776616215705872, 0.06983396410942078, 0.4258488416671753, 0.5000423192977905, -0.20321814715862274, -0.3774715065956116, -0.3891587555408478, -0.3702112138271332, 0.33412012457847595, 0.26139822602272034, -0.2967839539051056, -0.15581561625003815, 0.0420868881046772, 0.002306644106283784, 0.013572033494710922, -0.22197315096855164, 0.7422662377357483, 0.3719487488269806, -0.005380899645388126, 0.4717698097229004, -0.1786876767873764, 0.635508120059967, -0.5829513669013977, 0.014344565570354462, 0.06749507039785385, -0.12361862510442734, -0.2521095275878906, -0.5249358415603638, 0.11591866612434387, -0.3544352948665619, -0.04231417179107666, -0.2063600718975067, 0.6412113308906555, -0.6274467706680298, -0.2476716935634613, 0.46404844522476196, 0.5739039778709412, -0.09790289402008057, 0.22226913273334503, -0.5772308111190796, 0.05682026594877243, -0.23188287019729614, -0.10268647223711014, 0.34143924713134766, 0.7559930086135864, 0.02792208641767502, 0.39225471019744873, 0.6852913498878479, -0.015081118792295456, -0.032138608396053314, 0.4412645399570465, 1.259325623512268, -0.6512343287467957, -0.5852352380752563, -0.8275865316390991, 0.5482770800590515, -0.1684698462486267, -0.19785942137241364, 0.4424915015697479, 0.8009474873542786, 0.6733250617980957, 0.5687313079833984, 0.8099827170372009, -0.046105630695819855, -0.07496058195829391, -0.4433117210865021, 0.6123858690261841, -0.6694132089614868, 0.035799477249383926, -0.05252562090754509, -0.6447786092758179, -0.2622833549976349, 0.46457767486572266, -0.09492727369070053, -0.059392962604761124, 0.6978129148483276, 0.7016863226890564, -0.12716351449489594, -0.4089793264865875, 0.362798273563385, 0.17279395461082458, 0.5499871969223022, 0.6736078858375549, 0.6136161684989929, -0.2685326337814331, 0.5164390802383423, 0.2295714020729065, -0.38280346989631653, -0.0242802482098341, -1.032300591468811, -0.8048345446586609, -0.37550464272499084, -0.4098271429538727, -0.37677913904190063, -0.017069194465875626, 0.8142657279968262, 0.6005096435546875, -0.3805030882358551, 0.011052108369767666, -0.31955111026763916, -0.13337141275405884, 0.057735294103622437, -0.15496648848056793, 0.6443624496459961, -0.18343853950500488, -0.5664470791816711, 0.5853734612464905, 0.6236521601676941, 0.19958020746707916, -0.3365679979324341, -0.16229620575904846, 0.14962062239646912, -0.14351090788841248, 0.44532501697540283, 0.18138858675956726, -0.6282601952552795, -0.5849885940551758, 0.24781903624534607, -0.3803580105304718, 0.296630859375, 0.8104950189590454, -0.7346932888031006, 0.6695576906204224, 0.47060173749923706, 0.9172064065933228, 0.3211536705493927, -0.021005351096391678, 0.9973716735839844, -0.5097576975822449, -0.040991801768541336, 0.3434469699859619, 0.6092391610145569, 0.6063594222068787, -0.1830194592475891, 0.3613593578338623, 0.29516005516052246, -0.4695969521999359, -0.9750521779060364, 0.5153723359107971, -1.003653883934021, -0.1891402155160904, 1.0197168588638306, -0.20205789804458618, -0.24468310177326202, -0.21545058488845825, -0.25557610392570496, 0.6651214957237244, 0.0026197899132966995, 0.2863641679286957, 0.640813946723938, 0.04537409916520119, -0.0205270703881979, -0.3036915361881256, 0.14404477179050446, 0.28329503536224365, -0.48269417881965637, 0.2025383859872818, 0.6421782970428467, 0.14759056270122528, -0.21688823401927948, 0.7133793830871582, -0.15189966559410095, -0.1960759311914444, -0.039345815777778625, 0.11086007207632065, -0.5724198818206787, 0.010121658444404602, -0.5211811661720276, 0.004214521963149309, 0.21584992110729218, -0.24468673765659332 ]
http://arxiv.org/abs/2406.13692v1
http://arxiv.org/pdf/2406.13692v1
Synchronous Faithfulness Monitoring for Trustworthy Retrieval-Augmented Generation
2024-06-19T16:42:57
2024-06-19T16:42:57
Di Wu, Jia-Chen Gu, Fan Yin, Nanyun Peng, Kai-Wei Chang
cs.CL
cs.CL
Retrieval-augmented language models (RALMs) have shown strong performance and wide applicability in knowledge-intensive tasks. However, there are significant trustworthiness concerns as RALMs are prone to generating unfaithful outputs, including baseless information or contradictions with the retrieved context. This paper proposes SynCheck, a lightweight monitor that leverages fine-grained decoding dynamics including sequence likelihood, uncertainty quantification, context influence, and semantic alignment to synchronously detect unfaithful sentences. By integrating efficiently measurable and complementary signals, SynCheck enables accurate and immediate feedback and intervention, achieving 0.85 AUROC in detecting faithfulness errors across six long-form retrieval-augmented generation tasks, improving prior best method by 4%. Leveraging SynCheck, we further introduce FOD, a faithfulness-oriented decoding algorithm guided by beam search for long-form retrieval-augmented generation. Empirical results demonstrate that FOD outperforms traditional strategies such as abstention, reranking, or contrastive decoding significantly in terms of faithfulness, achieving over 10% improvement across six datasets.
[ -0.12697337567806244, -0.8824350833892822, 0.5397287607192993, 0.09769123047590256, -0.47449952363967896, 0.018071545287966728, 0.0000651701120659709, -0.5867411494255066, 0.32539600133895874, 0.2569681406021118, -0.6417128443717957, -0.3533742427825928, -0.43179070949554443, 0.23804304003715515, -0.5217382311820984, 0.7456167936325073, -0.3924344480037689, -0.13485082983970642, -0.22155410051345825, -0.28205251693725586, -0.5121278762817383, 0.08883298933506012, 0.1473875641822815, -0.4752595126628876, -0.07033414393663406, 0.36137068271636963, 1.1864550113677979, 0.5116167068481445, 0.22189463675022125, 0.28292542695999146, 0.199765145778656, 0.7752589583396912, -0.4415300786495209, 0.855535089969635, -0.3699592649936676, -0.22709879279136658, -0.433321088552475, -0.030582929030060768, 0.564106822013855, 0.3734927475452423, -0.20546509325504303, 0.44239234924316406, 0.35500964522361755, 0.5607404708862305, -1.084404468536377, 0.2583681046962738, -0.7268384695053101, -0.10712585598230362, -0.5951249599456787, -0.456844300031662, -0.5231372117996216, -0.15814819931983948, -0.22665682435035706, -0.6209408044815063, 0.037832796573638916, 0.5655420422554016, 0.8619271516799927, 0.321103572845459, -0.04545329138636589, -0.2625901699066162, -0.1437223106622696, 1.1322705745697021, -0.6329852938652039, 0.737632155418396, 1.0139113664627075, -0.2748861610889435, -0.46890178322792053, -0.5952439308166504, -0.3976703882217407, -0.23190701007843018, -0.21540553867816925, 0.15326407551765442, -0.21598511934280396, 0.0100563308224082, 0.07940726727247238, 0.6109164953231812, -0.32834458351135254, -0.4765855371952057, 0.5086894631385803, -0.7662000060081482, 0.3946080207824707, 0.11923420429229736, 0.38214364647865295, -0.2790455222129822, -0.301390141248703, -0.0369732640683651, -0.3196408748626709, -0.1790563315153122, 0.31660196185112, 0.15462426841259003, 0.09229936450719833, 0.474968284368515, -0.43092775344848633, 0.5800650715827942, 0.1410035789012909, 0.028011957183480263, 0.0704309344291687, -0.7495140433311462, -0.19284623861312866, 0.006205702666193247, 0.6610894799232483, 0.19174392521381378, -0.3143819570541382, -0.19457153975963593, -0.6046814322471619, 0.23738758265972137, 0.3330339789390564, -0.7728543877601624, -0.030217258259654045, 0.19083955883979797, -0.5122435092926025, -0.41070976853370667, 0.0568099245429039, -0.779178261756897, -0.09477663785219193, 0.01802169904112816, 0.5001113414764404, -0.7811579704284668, 0.031724847853183746, -0.051088545471429825, 0.3024304509162903, -0.05719730630517006, 0.4414999783039093, -0.8307434916496277, 0.050690241158008575, 0.7362968921661377, 0.9640558958053589, 0.024976026266813278, -0.5000063180923462, -1.2991970777511597, -0.01922866702079773, -0.37163615226745605, 0.40491828322410583, -0.3553013801574707, -0.16964606940746307, 0.3050021231174469, 0.08239647001028061, 0.2977178394794464, -0.17765434086322784, 0.6605538725852966, -0.6961202025413513, -0.14960500597953796, -0.2833068370819092, -0.5744179487228394, 0.3059881925582886, 0.33328258991241455, -0.41077902913093567, 1.0775549411773682, 0.2768731415271759, -1.2172495126724243, 0.4055919051170349, 0.12284859269857407, -0.4673868715763092, 0.08863562345504761, -0.09129586070775986, -0.605715274810791, 0.1893530637025833, 0.07695456594228745, 0.307992547750473, 0.031302448362112045, 0.21010169386863708, -0.4328763484954834, -0.517439067363739, 0.06418205052614212, -0.3907740116119385, 0.48141422867774963, 0.3699924647808075, -0.5096079111099243, -0.11775553226470947, -0.6188521385192871, 0.15909239649772644, -0.028689490631222725, -0.1614367812871933, -0.8347967863082886, 0.21570159494876862, 0.03230861946940422, -0.37974774837493896, 0.4483177661895752, -0.7657222151756287, -0.12893934547901154, -0.3726263642311096, -0.14754733443260193, 0.5380598306655884, -0.08501464873552322, 0.24230587482452393, -0.39205363392829895, 0.1463814228773117, -0.18707768619060516, 0.25410494208335876, -0.5424478650093079, -0.28048214316368103, -0.4874305725097656, -0.057682521641254425, 0.003078197594732046, 0.17373919486999512, -0.9920657873153687, 0.430965781211853, -0.01110149547457695, 0.061160609126091, -0.653744101524353, 0.520140528678894, 0.7826139330863953, 0.5153382420539856, 0.36248716711997986, -0.42383986711502075, -0.5146908164024353, -0.3989146947860718, -0.7126821875572205, -0.2979932427406311, 0.26880770921707153, -0.12060464173555374, 0.45443835854530334, -0.6890236735343933, 0.8486119508743286, -0.07145850360393524, -0.288119375705719, 0.35562586784362793, 0.3965691924095154, -0.17263801395893097, 0.47060325741767883, 0.26782816648483276, -0.5832619667053223, -0.23354443907737732, 0.07558201998472214, -0.8253316879272461, -0.28543734550476074, 0.06806705892086029, -0.12963667511940002, 0.4197517931461334, 0.3717971742153168, -0.37413737177848816, 0.45068877935409546, 0.7968556880950928, -0.5969932079315186, 0.5652666091918945, -0.2478618323802948, 0.47607219219207764, -0.9951884150505066, 0.09809094667434692, -0.5136830806732178, -0.7013328075408936, -0.2177237868309021, 0.34551650285720825, 0.24776533246040344, 0.3842519223690033, -0.13346411287784576, 0.4286651313304901, -0.7524007558822632, -0.12225448340177536, -0.385285347700119, 0.19710201025009155, 0.08170778304338455, -0.06469383835792542, -0.35910943150520325, 0.9877105951309204, 0.13067367672920227, 0.03842639550566673, 0.2779974043369293, 0.5621221661567688, -0.297699511051178, 0.30444082617759705, -0.24504263699054718, 0.08144605159759521, 0.08405875414609909, 0.10110148787498474, -0.7944170832633972, -0.49917083978652954, -0.14672879874706268, -0.5860085487365723, 0.28750529885292053, 0.10445702075958252, -0.5816506147384644, 0.06361608952283859, -0.708107054233551, 0.4558710753917694, 0.39679720997810364, -0.6659596562385559, 0.47154420614242554, -0.09917165338993073, 0.3367778956890106, -0.9716531038284302, -0.8634557723999023, -0.2984156608581543, 0.6072057485580444, -0.7148251533508301, 0.02309485524892807, 0.27333638072013855, -0.4276622533798218, -0.008852826431393623, -0.6788471937179565, 0.07415826618671417, 0.15469951927661896, 0.5310865044593811, 0.2929554283618927, -0.0943564847111702, -0.1984252780675888, 0.20710976421833038, -0.09031622111797333, 0.1180637925863266, -0.2813326418399811, 0.4515063464641571, -0.3621435761451721, -0.47534024715423584, -0.5741838216781616, 0.2780684530735016, 0.8144164681434631, -0.2955121397972107, 0.6466188430786133, 0.6148765087127686, -0.26786041259765625, -0.6428056359291077, -0.5287970304489136, -0.5403174161911011, -0.549711287021637, 0.021177267655730247, -0.1300981640815735, -1.034217119216919, 0.5564368367195129, 0.011235782876610756, 0.07996145635843277, 0.15977513790130615, 0.3144497871398926, -0.017888562753796577, 0.8361395597457886, 0.1924198567867279, -0.11850330978631973, 0.5921050906181335, 0.253973126411438, 0.0007897123578004539, -0.46978166699409485, -0.12150108069181442, -0.2473398745059967, 0.12378039956092834, -0.34185492992401123, -0.3923698961734772, -0.07724756002426147, 0.5148761868476868, -0.02221950702369213, 0.10147511214017868, -0.19125361740589142, 0.19649867713451385, 0.4251321852207184, 0.3152334690093994, 0.6356649398803711, -0.04407535120844841, -0.36615607142448425, -0.2911689579486847, -0.07054566591978073, -0.41814714670181274, 0.8266534209251404, 0.10144338011741638, 1.1354154348373413, -0.15893709659576416, 0.8583823442459106, 0.6542277932167053, 0.047178611159324646, -0.3203323781490326, 0.33323371410369873, 0.026322929188609123, -0.3807569742202759, -0.0038171231281012297, -0.44916093349456787, -0.5816128849983215, -0.095961794257164, -0.3691699206829071, -0.5152233242988586, 0.08864589035511017, 0.6042200326919556, -0.22864459455013275, 0.3320208787918091, -0.2873900830745697, 0.5432205200195312, -0.01108190231025219, -1.026828408241272, -0.23218372464179993, -0.6599450707435608, 0.5160659551620483, -0.25654885172843933, 0.13261137902736664, -0.08237653225660324, 0.2133321911096573, 0.2634919285774231, -0.7073686718940735, 0.4969419240951538, -0.006708047818392515, -0.07395472377538681, 0.295411080121994, 0.697074830532074, 0.9498581886291504, 0.44021472334861755, 0.0033284067176282406, 0.08286360651254654, 0.09429343044757843, -0.4141196310520172, -0.32041695713996887, 0.7861572504043579, -0.5089312791824341, -0.19152870774269104, -0.55372154712677, -0.6501662135124207, -0.43931475281715393, 0.49340954422950745, 0.36270269751548767, 0.2783963084220886, -0.20836028456687927, 0.16693530976772308, 0.7792839407920837, 0.016137538477778435, 0.26285094022750854, 0.4973728358745575, -0.42092204093933105, -0.3118555545806885, 0.7462334036827087, -0.3091007471084595, 0.3607519268989563, 0.34501752257347107, -0.04057803377509117, -0.11930299550294876, -0.5097662210464478, -0.2546892762184143, -0.022220466285943985, -0.4225141704082489, -0.5957565903663635, -0.44649896025657654, 0.17181053757667542, -0.17268061637878418, -0.23100438714027405, -0.7602118253707886, 0.1998208463191986, -0.16797837615013123, 0.13591109216213226, 0.48170968890190125, 0.34476709365844727, -0.03763848915696144, 0.07328121364116669, -0.9298003315925598, 0.5377228260040283, 0.5090978741645813, 0.5316447615623474, -0.19784453511238098, -0.3393382430076599, -0.1361130326986313, 0.26596304774284363, -0.1429000049829483, -0.8682665228843689, 0.31244707107543945, 0.03948744386434555, 0.08044790476560593, 0.4536898136138916, 0.3716730773448944, 0.7912572622299194, -0.3312869966030121, 0.699715793132782, -0.003432709723711014, -1.4784069061279297, 0.8116652369499207, -0.4191266596317291, 0.22197462618350983, 0.9059449434280396, -0.25838911533355713, -0.25619885325431824, -0.694157063961029, -0.29045796394348145, -0.6452588438987732, 0.7548791170120239, 0.4800220727920532, -0.056103236973285675, -0.1547878384590149, 0.4963108003139496, 0.2596397399902344, 0.38088157773017883, -0.17049504816532135, -0.29559922218322754, -0.31206271052360535, -0.23743869364261627, 0.27285608649253845, -0.35707661509513855, 0.06914543360471725, 0.12930665910243988, 0.7751387357711792, -0.2836129069328308, 0.08459578454494476, 0.593465268611908, -0.34689539670944214, -0.7488309741020203, 0.4625668227672577, 0.43465134501457214, 0.4692680835723877, -0.5402843356132507, 0.5022984147071838, 0.07862798869609833, -0.8405556678771973, -0.016342807561159134, 0.0680704340338707, -0.3821119964122772, 0.4180149435997009, 0.5299737453460693, 0.4477437138557434, 0.2932208180427551, -0.7858032584190369, 0.8399642109870911, 0.003717314451932907, 0.046101164072752, 0.014814987778663635, -0.17460417747497559, -0.3141571283340454, 0.29383859038352966, 0.3636588752269745, 0.3323054313659668, 0.13075925409793854, -0.693390429019928, 0.8082727193832397, 0.623021125793457, -0.22441983222961426, -0.539370059967041, 0.9499440789222717, 0.03778429329395294, 0.039387382566928864, 0.6016488075256348, -0.26918068528175354, -0.40298226475715637, -0.07626613974571228, 0.44825977087020874, 0.76611328125, -0.5912942886352539, 0.16129398345947266, 0.07625078409910202, 0.29718583822250366, -0.6176139116287231, 0.5801265239715576, -0.4130594730377197, -0.8129600286483765, -0.40638741850852966, -0.9491496086120605, -0.4889218509197235, -0.32385769486427307, -1.0958608388900757, -0.1237453892827034, -0.27117595076560974, -0.056199267506599426, -0.366545170545578, 0.21214427053928375, -0.23999515175819397, 0.0048422678373754025, 0.0376616008579731, 0.8335161209106445, -0.7938429713249207, 1.0568844079971313, 0.5499249696731567, -0.3018263578414917, -0.7453063130378723, 0.1344827115535736, 0.1957901120185852, -1.049011468887329, 0.2755343019962311, 0.04049717262387276, -0.5996196866035461, -0.24337315559387207, -0.6335349678993225, -0.5519505143165588, 1.246819019317627, 0.6615452170372009, -0.7228932976722717, 0.08801320195198059, -0.2169894576072693, 0.31584104895591736, 0.004897125065326691, 0.04656914249062538, 0.39281338453292847, 0.45744597911834717, -0.3229230046272278, -0.9903700351715088, 0.22359640896320343, -0.1261262595653534, -0.17691515386104584, 0.5493624806404114, -0.7349255084991455, 0.773537278175354, -0.07232318818569183, -0.40723830461502075, 0.4123237431049347, 0.9375513195991516, 0.451311320066452, 0.736664354801178, 0.3909923732280731, 0.435834139585495, 0.8025539517402649, -0.16365954279899597, 0.9202727675437927, -0.5067880749702454, 0.71084064245224, 1.1415437459945679, -0.3524360656738281, 0.9176419973373413, 0.8972756266593933, 0.16365006566047668, 0.5185883641242981, -0.046426206827163696, 0.1181015819311142, 0.5997527241706848, -0.45417818427085876, -0.24870286881923676, -0.6077218055725098, -0.29043158888816833, -0.29119110107421875, 0.30713215470314026, 0.1094895675778389, -0.4699417054653168, -0.2935422360897064, 0.08601748943328857, 0.15822994709014893, 0.5406311750411987, -0.28273066878318787, 0.29270368814468384, 0.20744720101356506, -0.70987468957901, 0.5763715505599976, -0.20497718453407288, 0.8706269860267639, -0.8695912957191467, -0.1982399970293045, -0.4231874644756317, 0.5870994329452515, -0.4534001350402832, -0.7075304388999939, 0.30065739154815674, -0.13558240234851837, -0.28877362608909607, -0.4592638611793518, 0.9504226446151733, -0.5608076453208923, 0.05097600445151329, 0.544761061668396, 0.5322744846343994, -0.35732823610305786, 0.03260011598467827, -0.3796943128108978, 0.6813604831695557, 0.1741621196269989, -0.1425345540046692, 0.32470715045928955, 0.32203394174575806, -0.09615596383810043, 0.48940369486808777, 0.6325761079788208, 0.05846592038869858, 0.2934260070323944, -0.3950593173503876, 0.7099800705909729, -0.4388463795185089, -0.5563452243804932, -0.7221265435218811, 0.1463201344013214, 0.06561928987503052, -0.13183936476707458, 1.3109416961669922, 0.4257426857948303, 0.8604074716567993, 0.10057146102190018, 0.3402698338031769, 0.120377317070961, 0.46090447902679443, -0.48538878560066223, 0.7794994711875916, -0.6138001680374146, 0.1115594431757927, -0.36167478561401367, -0.7067951560020447, -0.08079755306243896, 0.6179120540618896, 0.2593478858470917, -0.2954272925853729, 0.681925356388092, 0.697977602481842, -0.24503745138645172, 0.4651593267917633, 0.39348527789115906, 0.31161239743232727, -0.09016162902116776, 0.2647324204444885, 0.839348554611206, -0.7293650507926941, 0.19309908151626587, -0.31918883323669434, -0.02689109370112419, -0.27987104654312134, -0.8121874332427979, -0.7601940631866455, -0.41443660855293274, -0.25510385632514954, -0.7614514827728271, 0.41702452301979065, 0.768043577671051, 0.5740798711776733, -0.9715237021446228, 0.16245095431804657, -0.3737446069717407, -0.036995235830545425, -0.24549677968025208, -0.2453557848930359, 0.2715904712677002, -0.6877541542053223, -0.43134260177612305, 0.5568322539329529, 0.3099598288536072, -0.19663690030574799, -0.17821522057056427, -0.29438406229019165, -0.01159539446234703, -0.013825531117618084, 0.2835472524166107, 0.2770765721797943, -0.8019016981124878, -0.4395207166671753, 0.010455617681145668, -0.13930104672908783, -0.2858807444572449, 0.8727266788482666, -0.6018083691596985, 0.9461572766304016, 0.6486362218856812, 0.7305930852890015, 0.31550467014312744, 0.3203614354133606, 0.4122284948825836, -1.1204596757888794, 0.23208625614643097, 0.23054680228233337, 0.6429333686828613, 0.17797625064849854, -0.32958632707595825, 0.2648811638355255, 0.2747306823730469, -0.8093899488449097, -1.0810831785202026, 0.10829859226942062, -1.0183947086334229, -0.059202808886766434, 1.0066581964492798, -0.2616192102432251, -0.46113449335098267, -0.20355315506458282, 0.04774591699242592, 0.2994040548801422, -0.6177772879600525, 0.43148544430732727, 0.6200541853904724, 0.17647524178028107, 0.1873476505279541, -0.5966572761535645, 0.8387390375137329, 0.8366560339927673, -0.5776114463806152, 0.41912809014320374, 0.8468459844589233, 0.2668294608592987, 0.3774873912334442, 0.3948271572589874, -0.1777549386024475, 0.48227450251579285, 0.22792290151119232, -0.09291063249111176, -0.2600027620792389, 0.03852713480591774, -0.31405723094940186, 0.21337300539016724, -0.019675709307193756, -0.42240282893180847 ]
http://arxiv.org/abs/2406.13677v1
http://arxiv.org/pdf/2406.13677v1
Leveraging Large Language Models to Measure Gender Bias in Gendered Languages
2024-06-19T16:30:58
2024-06-19T16:30:58
Erik Derner, Sara Sansalvador de la Fuente, Yoan Gutiérrez, Paloma Moreda, Nuria Oliver
cs.CL
cs.CL, cs.CY
Gender bias in text corpora used in various natural language processing (NLP) contexts, such as for training large language models (LLMs), can lead to the perpetuation and amplification of societal inequalities. This is particularly pronounced in gendered languages like Spanish or French, where grammatical structures inherently encode gender, making the bias analysis more challenging. Existing methods designed for English are inadequate for this task due to the intrinsic linguistic differences between English and gendered languages. This paper introduces a novel methodology that leverages the contextual understanding capabilities of LLMs to quantitatively analyze gender representation in Spanish corpora. By utilizing LLMs to identify and classify gendered nouns and pronouns in relation to their reference to human entities, our approach provides a nuanced analysis of gender biases. We empirically validate our method on four widely-used benchmark datasets, uncovering significant gender disparities with a male-to-female ratio ranging from 4:1 to 6:1. These findings demonstrate the value of our methodology for bias quantification in gendered languages and suggest its application in NLP, contributing to the development of more equitable language technologies.
[ -0.26346105337142944, -0.6020848751068115, 0.42343810200691223, 0.4647057354450226, 0.22531934082508087, 0.284609317779541, -0.3184208273887634, -0.19151005148887634, -0.041940100491046906, 0.2681032717227936, -0.7420021295547485, -0.39079031348228455, -0.6186189651489258, 0.471566379070282, -0.40985995531082153, 0.5336934924125671, 0.10947632789611816, 0.6003337502479553, -0.35717806220054626, 0.016102124005556107, -0.7067257165908813, -0.6054178476333618, -0.3262551426887512, -0.3377820551395416, 0.40349212288856506, 0.24114912748336792, 0.4435596764087677, 0.32860317826271057, 0.34670957922935486, 0.26948580145835876, -0.3375140130519867, 0.2592380940914154, -0.3015817105770111, 0.03471244126558304, -0.2544209063053131, -0.456818163394928, -0.4134041368961334, -0.04735631123185158, 0.7845982909202576, 1.0484343767166138, 0.07822161912918091, 0.3394230604171753, 0.21881665289402008, 0.6621431708335876, -0.5784471035003662, 0.23485536873340607, -0.6255409121513367, 0.34913408756256104, -0.2327069640159607, -0.34817031025886536, -0.3071904480457306, -0.21652637422084808, 0.054073527455329895, 0.0006680313381366432, 0.35034361481666565, 0.18194608390331268, 0.390870600938797, 0.11419662088155746, -0.5486350655555725, -0.35246026515960693, -0.5424198508262634, 1.021890640258789, -0.6634591221809387, 0.878750205039978, 0.2773505449295044, 0.12681278586387634, -0.2967368960380554, -0.1901780366897583, -0.4156135618686676, -0.3044932782649994, 0.021329473704099655, -0.3448748290538788, -0.22280782461166382, -0.40295422077178955, 0.2889140248298645, 0.10905236005783081, -0.330226331949234, 0.2795884609222412, -0.2192966639995575, -0.04341007396578789, 0.38466253876686096, -0.2982259690761566, 0.457941472530365, -0.20268693566322327, -0.16046974062919617, -0.06540977954864502, -0.8384577035903931, -0.22299326956272125, 0.7838078737258911, 0.543451189994812, -0.009062479250133038, 0.605404257774353, 0.24376016855239868, 0.4015403091907501, 0.13018856942653656, -0.1480337679386139, 0.4592196047306061, 0.030184242874383926, -0.1486792117357254, 0.13379061222076416, 0.7480143308639526, 0.2562420070171356, 0.3212238848209381, -0.14694572985172272, -0.09915764629840851, -0.0273626446723938, 0.08103891462087631, -0.5520811676979065, 0.4901735186576843, 0.03824029117822647, -0.20955237746238708, -0.21842242777347565, 0.021889181807637215, -0.8319535851478577, -0.40762677788734436, -0.18916210532188416, -0.21210023760795593, 0.0025909305550158024, -0.30133724212646484, 0.08484310656785965, -0.21569952368736267, 0.13899065554141998, -0.007155825383961201, -1.0992358922958374, 0.3067024350166321, 0.7910938858985901, 0.6943510174751282, -0.012939243577420712, -0.22109082341194153, -0.41253697872161865, 0.17008090019226074, -0.38672780990600586, 0.5115988850593567, -0.4397246837615967, -0.2822633981704712, 0.16318659484386444, 0.018433259800076485, 0.009624662809073925, -0.6627156138420105, 0.45494017004966736, -0.25648364424705505, 0.21188004314899445, -0.3211616575717926, -0.4038640558719635, 0.12349629402160645, 0.29533740878105164, -0.7829396724700928, 1.179223656654358, -0.10525251924991608, -0.880603015422821, 0.43136584758758545, -0.503581166267395, -0.22393423318862915, -0.2125115841627121, -0.4781803488731384, -0.33405131101608276, 0.20121152698993683, 0.5078582167625427, 0.673499345779419, -0.5869336724281311, 0.7177894711494446, -0.25147131085395813, 0.05810666084289551, 0.43756917119026184, -0.5833827257156372, 0.7361565232276917, -0.15814118087291718, -0.2837613523006439, 0.06349655240774155, -0.49991533160209656, -0.40692850947380066, 0.11385984718799591, -0.003483943408355117, -0.5315934419631958, 0.1784544736146927, 0.10075929015874863, 0.19407223165035248, 0.2917238473892212, -0.5174465775489807, -0.15837399661540985, -0.4672853946685791, 0.5097588896751404, 0.7025997638702393, -0.440611869096756, 0.8177530765533447, 0.011035243049263954, 0.43621501326560974, -0.3415237367153168, 0.016911666840314865, 0.06965143978595734, -0.29093292355537415, -0.49241334199905396, -0.36469703912734985, 0.3570232689380646, 0.37816962599754333, -0.3762723207473755, 0.6014599800109863, -0.31021738052368164, 0.012380138970911503, -0.3034997880458832, 0.23183433711528778, 0.30985379219055176, 0.45466601848602295, 0.19343362748622894, -0.016931217163801193, -0.65547776222229, -1.1921058893203735, -0.32899436354637146, -0.1915619969367981, -0.4815371632575989, 0.062006689608097076, 0.8607277870178223, -0.31829047203063965, 1.0936611890792847, -0.2650553584098816, -0.3311314880847931, -0.31425780057907104, 0.08634377270936966, 0.059488143771886826, 0.38636016845703125, 0.5780078172683716, -0.6006661653518677, 0.1412544548511505, -0.022628996521234512, -0.6631094813346863, -0.5801271200180054, 0.26809388399124146, -0.22312788665294647, 0.06421630829572678, 0.794701874256134, -0.09844105690717697, 0.057110775262117386, 0.8384358882904053, -0.5336601138114929, 0.34491631388664246, -0.001676452229730785, -0.024120643734931946, -0.7696564793586731, 0.09055253863334656, 0.3766781687736511, -0.5915055274963379, -0.4011867642402649, 0.07512140274047852, 0.23557206988334656, 0.20651763677597046, -0.5068963766098022, 0.6517939567565918, -0.7111698985099792, -0.4085572063922882, -0.040579814463853836, 0.11919617652893066, -0.0829051062464714, 0.18709059059619904, 0.12041523307561874, 0.605124831199646, 0.012887423858046532, -0.29687052965164185, -0.06051643565297127, 0.19118458032608032, -0.11820315569639206, 0.7608633637428284, -0.6143854260444641, 0.07658424973487854, -0.4578382074832916, 0.27923065423965454, -0.7942131757736206, 0.0827600285410881, 0.08139295130968094, -0.31327423453330994, 0.2064419984817505, -0.24685904383659363, -0.5364273190498352, -0.3519025146961212, -0.4697417616844177, 0.5019890666007996, 0.010550199076533318, -0.4690251648426056, 0.49485284090042114, 0.665411114692688, -0.12895432114601135, -0.7789652347564697, -0.7747460007667542, 0.017573973163962364, -0.14461715519428253, -0.6016109585762024, 0.342119425535202, 0.045991525053977966, -0.4723047614097595, -0.42003944516181946, -0.13532380759716034, -0.11883686482906342, 0.14107467234134674, 0.19145824015140533, 0.25224918127059937, 0.010022412054240704, 0.26723513007164, 0.2926051616668701, 0.08819165080785751, 0.20706047117710114, -0.11348305642604828, 0.8838746547698975, -0.19179746508598328, -0.40884891152381897, -0.07979526370763779, 0.41878339648246765, 0.5344018936157227, -0.0916358008980751, 0.7939523458480835, 0.3765210509300232, -0.6660263538360596, -0.37429526448249817, -0.6553642153739929, -0.23790986835956573, -0.40281593799591064, 0.41671812534332275, -0.19344231486320496, -1.1227467060089111, 0.6208305358886719, -0.046450965106487274, 0.08010394871234894, 0.3582000136375427, 0.5620414614677429, 0.03754780814051628, 0.9851373434066772, 0.6388471722602844, -0.2349250316619873, 0.38714638352394104, -0.07416904717683792, 0.0010383735643699765, -0.9141945242881775, -0.2916494309902191, -0.9217656850814819, -0.18261484801769257, -0.5838883519172668, -0.8044970035552979, 0.1672097146511078, -0.22987742722034454, -0.45416638255119324, -0.02971179038286209, -0.14545686542987823, 0.5142625570297241, 0.4214295446872711, -0.025736087933182716, 0.3592405617237091, 0.019166486337780952, -0.0774962529540062, -0.37657251954078674, -0.700971245765686, -0.8655600547790527, 0.9733185768127441, 0.7493618130683899, 0.33650797605514526, 0.09658073633909225, 0.25378191471099854, 0.5495307445526123, 0.23053611814975739, -0.6516441106796265, 0.43442344665527344, -0.2504171133041382, -0.656011164188385, -0.3291967511177063, -0.5651512742042542, -0.9009693264961243, 0.5238093733787537, -0.2655319273471832, -0.6089884042739868, 0.3672530949115753, -0.06414321064949036, 0.25645360350608826, 0.2659513056278229, -0.36434105038642883, 0.7937023639678955, -0.19509632885456085, -0.3922463059425354, 0.10199689865112305, -0.2261180877685547, 0.3990802466869354, -0.1495245397090912, 0.6510488986968994, -0.2917824387550354, -0.19576098024845123, 0.8791874051094055, -0.5114365220069885, 0.9736354351043701, 0.08454836159944534, -0.7334917783737183, -0.2903748154640198, 0.0761229544878006, 0.17284156382083893, 0.1515456587076187, -0.17168861627578735, 0.6409658789634705, -0.23427742719650269, -0.3941517770290375, -0.23744213581085205, 0.7059864401817322, -0.6526515483856201, -0.1682119369506836, -0.6389334797859192, -0.6166720390319824, -0.28230607509613037, 0.005366809666156769, -0.030363278463482857, 0.19771866500377655, -0.6434823274612427, -0.003054702654480934, 0.6362491846084595, -0.5985069870948792, 0.3431500196456909, 0.44759613275527954, -0.21961215138435364, -0.04344063624739647, 0.26858559250831604, 0.0005767439142800868, 0.07027703523635864, 0.551676332950592, 0.322468638420105, -0.4269658923149109, -0.13699373602867126, -0.3899407386779785, 0.41168391704559326, -0.48166149854660034, -0.13671325147151947, -0.5698993802070618, 0.14081385731697083, -0.42785969376564026, -0.21198850870132446, -0.5507252812385559, 0.010284150950610638, -0.096492238342762, -0.2117447406053543, 0.009662682190537453, 0.45836368203163147, 0.2755514681339264, 0.27871692180633545, -0.4633903205394745, 0.47535789012908936, 0.4452725052833557, 0.041934434324502945, -0.017976125702261925, -0.512660026550293, 0.24475333094596863, 0.14000429213047028, 0.06112029030919075, -1.2526339292526245, 0.7786129117012024, 0.1647639274597168, 0.48110634088516235, 0.08485570549964905, -0.2403993159532547, 0.41933438181877136, -0.7186188101768494, 0.6059499382972717, 0.25145554542541504, -1.285009503364563, 0.5730143785476685, -0.5280891060829163, 0.2747412919998169, 0.3644917905330658, 0.2668114900588989, -0.7008650898933411, -0.5190517902374268, -0.24643047153949738, -1.0283877849578857, 0.4636375904083252, 0.3239716589450836, 0.2845037281513214, -0.30752134323120117, 0.23466016352176666, 0.11451693624258041, 0.5451070070266724, -0.8441305160522461, -0.2726956307888031, 0.39497900009155273, -0.22553887963294983, 0.005476339254528284, -0.38867315649986267, -0.018854061141610146, -0.2663285732269287, 0.6512870788574219, -0.2180713564157486, 0.3959929049015045, 0.00952650886029005, -0.5561563372612, 0.04139794409275055, 0.4960421621799469, 0.3282589614391327, 0.8410066962242126, -0.3109942674636841, 0.299642413854599, 0.3882144093513489, -0.4576871395111084, 0.13511084020137787, -0.14221706986427307, -0.2619611620903015, 0.21111217141151428, 0.4167517125606537, 0.49628886580467224, 0.3689793646335602, -0.7750579714775085, 0.5677165389060974, -0.13813410699367523, -0.12244009226560593, -0.44503065943717957, -0.4674910604953766, 0.14183692634105682, 0.3831959664821625, 0.5163593888282776, -0.1743561327457428, 0.1342700719833374, -0.6785081624984741, -0.13304266333580017, 0.5526304244995117, -0.37523388862609863, -0.13586924970149994, 0.6208572387695312, 0.36078640818595886, -0.15875236690044403, 0.2790187895298004, -0.0707530528306961, -0.5233330726623535, 0.784024715423584, 0.5895686149597168, 0.9265927076339722, -0.30373889207839966, 0.4232305586338043, 0.36296242475509644, 0.6195202469825745, -0.5285500884056091, 0.1288284957408905, 0.35336533188819885, -0.8910885453224182, -0.5366600751876831, -0.5988320112228394, -0.15548138320446014, 0.057863205671310425, -0.49316710233688354, 0.3105921447277069, -0.3992314338684082, -0.24172906577587128, -0.001499607227742672, -0.2727857530117035, -0.7393488883972168, -0.13074080646038055, 0.49341100454330444, 0.544305682182312, -1.266234278678894, 0.2547965347766876, 0.5601601600646973, -0.04144436866044998, -0.3589283227920532, -0.01923871412873268, 0.18887676298618317, -0.7329789996147156, 0.9080543518066406, 0.19657732546329498, -0.37050116062164307, -0.36153846979141235, -0.3978767395019531, -0.6452761888504028, 0.8297690749168396, 0.7650718092918396, -1.0321277379989624, 0.16275088489055634, 0.42215412855148315, 0.5755550265312195, -0.49316781759262085, 0.5557303428649902, 0.6758406162261963, 0.5100887417793274, -0.3631490468978882, -0.9807445406913757, 0.08523425459861755, -0.20606739819049835, 0.3027760982513428, 0.1933656930923462, -0.2832931876182556, 0.7589172720909119, 0.2930368483066559, -0.012680244632065296, -0.41715162992477417, 0.7798667550086975, 0.2794325649738312, 0.2977926731109619, 0.6289911270141602, 0.11603929847478867, 1.1062206029891968, -0.12583956122398376, 0.7273613214492798, -0.004223171155899763, 0.1956474781036377, 1.0557501316070557, -0.3598770499229431, 0.7247961759567261, 0.6798252463340759, -0.2733709216117859, 0.3837270140647888, 0.21550551056861877, 0.2261989265680313, -0.12502045929431915, 0.6428312659263611, -0.24199628829956055, -0.1014198586344719, -0.359801322221756, -0.319354385137558, 0.37197160720825195, 0.3299151360988617, -0.5648103952407837, -0.005970739293843508, 0.19117163121700287, 0.4423923194408417, 0.432249516248703, -0.39779502153396606, 0.3892675042152405, 0.13358797132968903, -0.2810281813144684, 0.35607489943504333, 0.23784607648849487, 1.0820977687835693, -0.4356846213340759, 0.13283377885818481, -0.24567218124866486, -0.030817680060863495, -0.27118512988090515, -0.511587917804718, 0.1551065593957901, 0.4663732349872589, -0.44939979910850525, -0.47561123967170715, 0.5983545780181885, -0.580950915813446, -0.9184719324111938, 0.37545865774154663, 0.8762123584747314, -0.14184165000915527, -0.23763763904571533, -0.3876957595348358, 0.11002089828252792, -0.05389377847313881, 0.014920564368367195, 0.3915430009365082, 0.3184904456138611, -0.39846470952033997, 0.793317973613739, 0.430181622505188, 0.11614356935024261, 0.07840093225240707, 0.5937243700027466, 0.4778333902359009, -0.6098600029945374, -0.39518192410469055, -1.1316297054290771, 0.1956123560667038, -0.1944408416748047, -0.21253271400928497, 0.8797546625137329, 0.6041641235351562, 0.7758899331092834, -0.09355481714010239, 0.6399152278900146, 0.1047123447060585, 0.41794028878211975, -0.33584627509117126, 0.4319436848163605, -0.32493627071380615, 0.6327725052833557, -0.5699712634086609, -1.2329425811767578, -0.5338631868362427, 0.8888439536094666, -0.3361363708972931, -0.0029705159831792116, 0.5438109636306763, 0.7283374667167664, -0.05432358384132385, -0.09927209466695786, 0.07523249834775925, 0.13824525475502014, 0.25658735632896423, 0.14757481217384338, 0.8794353008270264, -0.35908737778663635, 0.19064494967460632, -0.0186399444937706, -0.2300208956003189, -0.1663220077753067, -1.1929172277450562, -1.0837820768356323, -0.32386621832847595, -0.4776374399662018, -0.03031577728688717, 0.20771975815296173, 1.169119954109192, 0.5974397659301758, -0.48950642347335815, -0.6161579489707947, -0.037807174026966095, 0.35979342460632324, -0.10977447032928467, -0.16190481185913086, 0.19352979958057404, -0.21312084794044495, -1.1167563199996948, 0.27227190136909485, 0.08013757318258286, -0.2864585220813751, -0.661159873008728, -0.02588633820414543, -0.22223100066184998, 0.006199617870151997, 0.8223554491996765, -0.04463423043489456, -0.4419122636318207, -0.09136274456977844, 0.03198797628283501, 0.058567795902490616, -0.11694460362195969, 0.8350673317909241, -0.5911781787872314, 0.13936343789100647, 0.7214735746383667, 0.3253380060195923, 0.2566806674003601, -0.3639543354511261, 0.984094500541687, -1.259995460510254, 0.2952117323875427, 0.2604213356971741, 0.47103065252304077, 0.6649325489997864, -0.13223908841609955, 0.4777083694934845, 0.06003647670149803, -0.3101414442062378, -0.9601655006408691, 0.1425127387046814, -0.910942554473877, -0.5449227094650269, 1.3772825002670288, 0.27293041348457336, -0.30160969495773315, -0.08708786964416504, -0.2895298898220062, 0.2605193555355072, -0.6190680265426636, 0.5628292560577393, 0.5024219751358032, 0.491205096244812, -0.07867476344108582, -0.9299050569534302, 0.23983964323997498, 0.3160942792892456, -0.7015368342399597, 0.09202312678098679, 0.6891613006591797, 0.1738409847021103, -0.033128898590803146, 0.4067007899284363, -0.27418893575668335, -0.15244390070438385, -0.3972286581993103, 0.3315425515174866, 0.15613670647144318, -0.1481689065694809, -0.4249012768268585, 0.12665079534053802, -0.08148745447397232, 0.12418973445892334 ]
http://arxiv.org/abs/2406.13663v2
http://arxiv.org/pdf/2406.13663v2
Model Internals-based Answer Attribution for Trustworthy Retrieval-Augmented Generation
2024-06-19T16:10:26
2024-07-01T12:39:26
Jirui Qi, Gabriele Sarti, Raquel Fernández, Arianna Bisazza
cs.CL
cs.CL, cs.AI, cs.LG
Ensuring the verifiability of model answers is a fundamental challenge for retrieval-augmented generation (RAG) in the question answering (QA) domain. Recently, self-citation prompting was proposed to make large language models (LLMs) generate citations to supporting documents along with their answers. However, self-citing LLMs often struggle to match the required format, refer to non-existent sources, and fail to faithfully reflect LLMs' context usage throughout the generation. In this work, we present MIRAGE --Model Internals-based RAG Explanations -- a plug-and-play approach using model internals for faithful answer attribution in RAG applications. MIRAGE detects context-sensitive answer tokens and pairs them with retrieved documents contributing to their prediction via saliency methods. We evaluate our proposed approach on a multilingual extractive QA dataset, finding high agreement with human answer attribution. On open-ended QA, MIRAGE achieves citation quality and efficiency comparable to self-citation while also allowing for a finer-grained control of attribution parameters. Our qualitative evaluation highlights the faithfulness of MIRAGE's attributions and underscores the promising application of model internals for RAG answer attribution.
[ -0.28476592898368835, -0.4412590563297272, 0.9048678278923035, 0.2456400990486145, -0.1527687907218933, -0.05510212481021881, 0.10309295356273651, -0.3413653075695038, 0.02850751392543316, 0.47808632254600525, -0.4361739754676819, -0.047508832067251205, -0.2095436006784439, 0.18921318650245667, -0.4727429151535034, 1.0130677223205566, -0.07437888532876968, 0.009029417298734188, -0.7929189801216125, -0.0019835475832223892, -0.2505694627761841, -0.594196081161499, -0.6358411312103271, -0.12871664762496948, 0.7697350978851318, 0.5069040656089783, 0.5229276418685913, 0.41895902156829834, 0.41351303458213806, 0.2556490898132324, 0.0342809297144413, 0.3921903073787689, -0.40063321590423584, 0.4544937312602997, -0.5212225914001465, -0.45368197560310364, -0.14702248573303223, -0.09820260852575302, 0.6900115609169006, -0.016188157722353935, -0.10151145607233047, 0.6570677757263184, 0.05542946979403496, 0.4693106412887573, -0.8157232999801636, -0.13889779150485992, -1.061894416809082, -0.44910928606987, -0.17736834287643433, -0.37067461013793945, -0.3976079821586609, -0.5001128315925598, -0.1622413992881775, -0.4668094217777252, 0.22189593315124512, 0.021094217896461487, 0.9723243117332458, 0.4642244577407837, -0.31882068514823914, -0.3656502962112427, -0.5714594721794128, 0.6461983919143677, -0.8036569356918335, 0.21842244267463684, 0.37213772535324097, 0.5183264017105103, -0.12653300166130066, -0.71587735414505, -0.5591980218887329, -0.22358599305152893, -0.1319810301065445, 0.05462067946791649, 0.16744597256183624, -0.5807956457138062, -0.09052574634552002, 0.2953767776489258, -0.3989628851413727, -0.12080763280391693, -0.2654240131378174, 0.020582789555191994, 0.6227563619613647, 0.013460474088788033, -0.041537538170814514, -0.48722749948501587, -0.638446569442749, 0.0475778691470623, -1.1367931365966797, 0.08983742445707321, 0.3023177683353424, 0.28535139560699463, 0.026966216042637825, 0.6655783653259277, 0.03591866418719292, 0.46876704692840576, 0.08746152371168137, -0.015122857876121998, -0.14399977028369904, -0.42009252309799194, 0.00002020489046117291, -0.1682910919189453, 0.6767985224723816, -0.04767531529068947, 0.39959976077079773, -0.32673680782318115, -0.41459131240844727, -0.5194962620735168, 0.5168395638465881, -0.7116000056266785, -0.13187530636787415, 0.3520577847957611, -0.3523118495941162, -0.5638754367828369, -0.02036248706281185, -0.6526858806610107, -0.38588035106658936, -0.2535802721977234, 0.6586580872535706, -0.24812252819538116, -0.33076056838035583, -0.4146687984466553, -0.007319394964724779, 0.2759895324707031, 0.3403371274471283, -0.3093312084674835, 0.06997600942850113, 0.4937468469142914, 0.8491600751876831, -0.24911876022815704, 0.025892162695527077, -0.5518350601196289, 0.4934232831001282, -0.3253246247768402, 1.0751932859420776, -0.46954718232154846, -0.4799392521381378, 0.02446668967604637, -0.2745692729949951, 0.1235598772764206, -0.5150696039199829, 0.6222596168518066, -0.8428899645805359, 0.41806212067604065, -0.6169266700744629, -0.45251041650772095, -0.09335686266422272, 0.3945750892162323, -0.45474007725715637, 1.2785478830337524, 0.06254315376281738, -0.8822550773620605, 0.10798773914575577, -0.576102077960968, 0.04930701479315758, -0.029782645404338837, -0.22054798901081085, -0.4590408205986023, 0.2820943295955658, 0.40307483077049255, 0.36908063292503357, -0.34228941798210144, 0.20315077900886536, -0.3819586932659149, -0.16418889164924622, 0.8002636432647705, -0.709947407245636, 0.7824063301086426, 0.352737694978714, 0.02142440527677536, 0.1058182418346405, -0.6495442390441895, 0.1611664742231369, 0.4000275433063507, -0.14685748517513275, -0.39290398359298706, -0.043722644448280334, -0.10406985133886337, 0.3934246301651001, 0.4947454333305359, -0.5024349093437195, 0.0592132993042469, -0.22054922580718994, -0.18235209584236145, 0.7804691195487976, 0.3294571042060852, 0.17573679983615875, -0.26950448751449585, 0.6336320638656616, 0.00385592901147902, -0.03470597788691521, -0.41472089290618896, -0.4638881981372833, -0.5144808888435364, -0.24230702221393585, 0.3597034215927124, 0.3980129063129425, -0.9670567512512207, -0.2281671166419983, -0.3827981650829315, -0.41411054134368896, -0.5152791142463684, 0.09853941202163696, 0.6616799831390381, 0.9270215034484863, 0.3962990641593933, 0.08994810283184052, -0.283594012260437, -0.9841281771659851, -0.4527707099914551, -0.2949570119380951, -0.10516013950109482, 0.550041913986206, 0.49527859687805176, 0.1279485523700714, 1.20975661277771, -0.33340999484062195, -0.12837642431259155, 0.1529960185289383, 0.11028282344341278, 0.08014064282178879, 0.3440383970737457, 0.6386243104934692, -0.9114119410514832, -0.6916402578353882, -0.17736777663230896, -0.8208328485488892, -0.21306438744068146, 0.04564705491065979, -0.214319109916687, 0.056975457817316055, 0.4724166691303253, -0.25956130027770996, 0.27839481830596924, 0.4798433184623718, -0.34666502475738525, 0.7591163516044617, -0.21234917640686035, 0.2591494917869568, -1.2249491214752197, 0.3696311414241791, -0.01616339385509491, -0.47380825877189636, -0.33474233746528625, 0.39716407656669617, 0.11639507114887238, 0.020078441128134727, -0.543507993221283, 0.9590850472450256, -0.468466192483902, -0.2634138762950897, -0.3537306487560272, 0.16647395491600037, 0.20686912536621094, 0.21210163831710815, -0.06681492179632187, 1.2161699533462524, 0.2131849080324173, -0.5754795074462891, 0.1808771789073944, 0.24035508930683136, 0.07499920576810837, 0.6688820123672485, -0.8036904335021973, 0.14136527478694916, -0.1768050193786621, 0.2396850287914276, -1.1491787433624268, -0.31919559836387634, 0.16538813710212708, -0.5686324834823608, 0.3525424897670746, -0.4060989320278168, -0.7319160103797913, -0.23608282208442688, -0.18720023334026337, 0.48362988233566284, 0.3426491618156433, -0.852084219455719, 0.708199143409729, 0.21806733310222626, -0.33448994159698486, -0.5527148246765137, -0.3127409815788269, 0.018054798245429993, -0.44507864117622375, -0.8078919649124146, 0.1939210444688797, -0.11156982183456421, -0.3277646601200104, -0.04019702225923538, -0.07797461748123169, -0.36337965726852417, 0.15582750737667084, 0.16873881220817566, 0.4126718044281006, -0.2577376067638397, 0.25055238604545593, 0.06238612160086632, -0.02415119670331478, 0.2927149534225464, 0.07346536964178085, 0.1531069129705429, -0.1538679450750351, -0.4590199589729309, -0.12664677202701569, 0.4687415659427643, 0.44950568675994873, -0.524539589881897, 0.8148131370544434, 0.48315250873565674, -0.15588635206222534, -0.08995892852544785, -0.7725073099136353, -0.3763273060321808, -0.4950859546661377, -0.08498954027891159, -0.5763255953788757, -0.5431665182113647, 0.8453471660614014, -0.030629495158791542, 0.2540716826915741, 0.6590097546577454, 0.5990881323814392, -0.17224887013435364, 0.8272338509559631, 0.3396034240722656, 0.2842765748500824, 0.2704203426837921, 0.07517567276954651, -0.16632144153118134, -0.9928790926933289, -0.27683505415916443, -0.8107908964157104, -0.06239381432533264, -0.07159855961799622, -0.5099595189094543, 0.677423357963562, 0.09767358750104904, -0.19327467679977417, -0.11658207327127457, -0.5934350490570068, 0.47569984197616577, 0.5285300612449646, -0.06847575306892395, 0.4911614954471588, -0.0005660264869220555, 0.10427284985780716, -0.10037074238061905, -0.5795886516571045, -0.5317364931106567, 1.179304599761963, 0.4496156871318817, 0.7556650042533875, 0.4923652112483978, 0.8304160833358765, 0.047779496759176254, 0.6010961532592773, -0.173716738820076, 0.24799996614456177, 0.19313110411167145, -0.862851083278656, -0.29482555389404297, -0.36899223923683167, -0.6010544300079346, 0.40007954835891724, -0.20412689447402954, -0.7427224516868591, 0.1752413958311081, 0.19584088027477264, -0.32038846611976624, -0.011411286890506744, -0.5028212070465088, 0.716679036617279, -0.11942759901285172, -0.6036732196807861, 0.040130507200956345, -0.4408641457557678, 0.7124760150909424, -0.2680153250694275, 0.24268022179603577, -0.03803300857543945, -0.0809096023440361, 0.5253520011901855, -0.3369385898113251, 0.6167852282524109, -0.1874585598707199, -0.5431299209594727, 0.521543025970459, 0.3220292925834656, 0.8319911956787109, 0.3990514576435089, -0.2794536352157593, -0.05267271026968956, 0.0786166787147522, -0.11002344638109207, -0.8081139922142029, 0.9594278335571289, -0.4632110595703125, -0.6780098676681519, -0.35643258690834045, -0.414934903383255, -0.3714762330055237, 0.04032152518630028, 0.4152434468269348, 0.49159878492355347, 0.05822329595685005, 0.051592867821455, 0.8973062634468079, 0.015693867579102516, 0.2767479717731476, 0.6878072023391724, -0.6090722680091858, -0.27617716789245605, 1.108418583869934, -0.1519089937210083, 0.19054311513900757, -0.06634227186441422, 0.2673620283603668, -0.6427246928215027, -0.4459260106086731, -0.8550158739089966, 0.506663978099823, -0.8276997804641724, -0.4777079224586487, -0.47100526094436646, -0.24939586222171783, -0.23014262318611145, -0.1616360992193222, -0.47925275564193726, -0.36168456077575684, -0.47734197974205017, 0.21066977083683014, 0.450703501701355, 0.8114953637123108, 0.1208297610282898, 0.06527129560709, -0.8340488076210022, 0.4565503001213074, 0.34012362360954285, 0.2659287750720978, 0.10646437853574753, -0.961320698261261, -0.37974587082862854, 0.2002885341644287, -0.21735621988773346, -1.1740309000015259, 0.28366509079933167, 0.2471894919872284, 0.56576007604599, 0.1864130049943924, -0.005271124187856913, 0.807466447353363, -0.5777777433395386, 1.0203657150268555, -0.18414545059204102, -0.7166569828987122, 0.5621514916419983, -0.5094740390777588, 0.16340869665145874, 0.5812167525291443, 0.3684597909450531, -0.045879002660512924, -0.6651210784912109, -0.779082179069519, -0.7522903680801392, 0.38867151737213135, 0.26640424132347107, 0.14136174321174622, 0.026712696999311447, 0.7997260093688965, 0.0932428166270256, 0.07281944155693054, -0.7558119893074036, -0.34694093465805054, -0.2130972146987915, -0.1070869192481041, 0.173377126455307, -0.39344725012779236, -0.34178805351257324, 0.08143174648284912, 0.907274067401886, -0.38446110486984253, 0.1350308507680893, 0.3911340832710266, 0.042367998510599136, -0.24385984241962433, 0.1136222630739212, 0.5962498784065247, 0.7244674563407898, -0.05024552345275879, 0.06322453916072845, 0.051920294761657715, 0.041249651461839676, 0.05021429806947708, -0.05642019957304001, -0.3036330044269562, 0.28460246324539185, 0.033601291477680206, 0.1485099494457245, 0.2990860641002655, -0.46625810861587524, 0.7545555233955383, -0.11872325837612152, 0.22146236896514893, -0.6184274554252625, -0.09337181597948074, 0.15541879832744598, 0.21974802017211914, 0.6794381141662598, -0.2360488921403885, 0.38693392276763916, -0.23466643691062927, 0.28619474172592163, 0.8493506908416748, -0.28030329942703247, -0.13627874851226807, 0.871554434299469, 0.0886768028140068, 0.04780185595154762, 0.30026960372924805, -0.08765749633312225, -0.4111834764480591, 0.3872188329696655, 0.6746017932891846, 0.8988524079322815, -0.3855675756931305, 0.256053626537323, 0.5128836035728455, -0.08037547767162323, -0.01367602776736021, 0.2318859100341797, -0.0033890672493726015, -0.4637458622455597, -0.4750720262527466, -0.7175636291503906, -0.4671550393104553, -0.18036536872386932, -0.6224966645240784, 0.06508493423461914, -0.10650787502527237, 0.04964800179004669, -0.30348026752471924, -0.3374209403991699, -0.5393708944320679, 0.2847232520580292, 0.2749846875667572, 0.8465371131896973, -0.6966718435287476, 0.7971854209899902, 0.550218403339386, -0.7895801067352295, -0.8876096606254578, -0.02237929403781891, -0.07542544603347778, -0.5887657999992371, 0.7739355564117432, -0.22581066191196442, -0.2463914304971695, -0.01768486388027668, -0.8053995370864868, -1.412326693534851, 1.0831693410873413, 0.5027377605438232, 0.06151052191853523, -0.24772322177886963, -0.2581098675727844, 0.3797599673271179, -0.4336182177066803, 0.4354347884654999, 0.004086026456207037, 0.3887391984462738, 0.4991459548473358, -0.9634267091751099, 0.13384507596492767, -0.09733203053474426, 0.021226491779088974, -0.18684595823287964, -0.4336055815219879, 0.8086446523666382, -0.16687263548374176, -0.2154049128293991, 0.1457030475139618, 1.2102973461151123, 0.6594483852386475, 0.06822486221790314, 0.27776989340782166, 0.2968286871910095, 0.667120635509491, 0.11231936514377594, 1.277077078819275, -0.19694484770298004, 0.23848171532154083, 1.4858182668685913, 0.011739039793610573, 1.2180993556976318, 0.6265950798988342, -0.10316544771194458, 1.0673774480819702, 0.4249740242958069, 0.2962420880794525, 0.46002402901649475, -0.011081702075898647, -0.2658844292163849, -0.28710824251174927, -0.12311917543411255, -0.4110574722290039, 0.3445664048194885, 0.3163134753704071, -0.5660313367843628, -0.3922306001186371, -0.27623283863067627, 0.05070827528834343, 0.16887597739696503, -0.37007781863212585, 0.7960928678512573, 0.179149329662323, -0.790785551071167, 0.5489183068275452, -0.1082100048661232, 0.41074448823928833, -0.6373106837272644, -0.1750413477420807, -0.05192188173532486, 0.01380823366343975, -0.2902801036834717, -0.9537269473075867, 0.3469327390193939, 0.08867339044809341, -0.30577537417411804, -0.18650364875793457, 0.748188316822052, -0.5357146263122559, -0.500076949596405, -0.23642730712890625, 0.5997017621994019, 0.2231864333152771, -0.42399224638938904, -0.6462922096252441, -0.21561935544013977, -0.014573381282389164, -0.4541965425014496, 0.32176822423934937, 0.5927199721336365, -0.06352108716964722, 0.9426375031471252, 0.8035900592803955, -0.02052130736410618, 0.2629508376121521, -0.367298424243927, 0.8708933591842651, -0.21569447219371796, -0.4733488857746124, -0.5477847456932068, 0.9135696291923523, -0.26221638917922974, -0.235189288854599, 1.1804929971694946, 0.47576621174812317, 0.25958046317100525, -0.08138946443796158, 0.6242480874061584, 0.29446306824684143, 0.8937455415725708, -0.485820472240448, 0.696869969367981, -0.8857959508895874, 0.31050193309783936, -0.24331915378570557, -1.130353331565857, -0.023222319781780243, 0.4763357937335968, -0.08488908410072327, 0.05948901176452637, 0.37270498275756836, 0.7233315706253052, -0.22155722975730896, -0.39793235063552856, 0.1630907505750656, 0.03105323016643524, 0.491292268037796, 0.11233814805746078, 0.623055100440979, -0.3613314926624298, 0.5097849369049072, -0.0011978201800957322, -0.09865328669548035, -0.2923928499221802, -1.097158670425415, -0.6452793478965759, -0.7591285705566406, -0.2928212285041809, -0.6585279703140259, -0.10055387765169144, 0.5349703431129456, 0.3463585376739502, -0.6476216316223145, 0.04000945761799812, 0.19258594512939453, 0.16786305606365204, 0.1047820895910263, -0.30917343497276306, 0.3962557911872864, -0.5832923650741577, -0.5338587164878845, 0.6294582486152649, 0.05518762394785881, 0.09220925718545914, -0.8950343132019043, -0.003866848535835743, -0.16658136248588562, 0.3887816369533539, 0.26337456703186035, 0.5123795866966248, -0.9639802575111389, -0.3710114657878876, -0.014759695157408714, -0.25839537382125854, 0.02147500030696392, 0.680378258228302, -1.1377599239349365, 0.4603145122528076, 0.3766637444496155, 0.5095978379249573, 0.36758196353912354, 0.4986400902271271, 0.7730584144592285, -0.9660816788673401, -0.24247236549854279, 0.2586228847503662, 0.25510185956954956, 0.5193015336990356, -0.5184319019317627, 0.5032961964607239, -0.14023764431476593, -0.873149573802948, -0.9201877117156982, 0.2316911369562149, -0.6578301787376404, -0.2659660279750824, 1.3811242580413818, -0.3595368564128876, -0.3062277138233185, -0.1909712851047516, -0.21911773085594177, -0.08574298769235611, -0.32580411434173584, 0.8502644300460815, 0.5785627365112305, 0.019812902435660362, -0.22406047582626343, -0.3063337504863739, 0.6687939167022705, 0.30362793803215027, -0.8481047749519348, 0.2342669665813446, 0.5557912588119507, 0.36952197551727295, 0.4963991343975067, 0.6034645438194275, -0.22346678376197815, 0.38004937767982483, -0.09026489406824112, 0.034457165747880936, -0.29168862104415894, -0.3715980350971222, -0.33639946579933167, 0.27636992931365967, 0.29942020773887634, 0.10761506855487823 ]
http://arxiv.org/abs/2406.13662v1
http://arxiv.org/pdf/2406.13662v1
ObscurePrompt: Jailbreaking Large Language Models via Obscure Input
2024-06-19T16:09:58
2024-06-19T16:09:58
Yue Huang, Jingyu Tang, Dongping Chen, Bingda Tang, Yao Wan, Lichao Sun, Xiangliang Zhang
cs.CL
cs.CL
Recently, Large Language Models (LLMs) have garnered significant attention for their exceptional natural language processing capabilities. However, concerns about their trustworthiness remain unresolved, particularly in addressing "jailbreaking" attacks on aligned LLMs. Previous research predominantly relies on scenarios with white-box LLMs or specific and fixed prompt templates, which are often impractical and lack broad applicability. In this paper, we introduce a straightforward and novel method, named ObscurePrompt, for jailbreaking LLMs, inspired by the observed fragile alignments in Out-of-Distribution (OOD) data. Specifically, we first formulate the decision boundary in the jailbreaking process and then explore how obscure text affects LLM's ethical decision boundary. ObscurePrompt starts with constructing a base prompt that integrates well-known jailbreaking techniques. Powerful LLMs are then utilized to obscure the original prompt through iterative transformations, aiming to bolster the attack's robustness. Comprehensive experiments show that our approach substantially improves upon previous methods in terms of attack effectiveness, maintaining efficacy against two prevalent defense mechanisms. We believe that our work can offer fresh insights for future research on enhancing LLM alignment.
[ -0.285606324672699, -1.0687021017074585, 0.9353469610214233, 0.03404644876718521, -0.3026188910007477, 0.17268207669258118, -0.25131893157958984, -0.4967033267021179, 0.31474992632865906, 0.658277690410614, -0.7585852742195129, -0.42177894711494446, -0.757557213306427, -0.015137859620153904, -0.23360979557037354, 0.8695541024208069, -0.11170780658721924, -0.06470099091529846, 0.16213583946228027, -0.34039995074272156, -0.5275635719299316, -0.25721073150634766, -0.26265430450439453, 0.1833667904138565, 0.3940938711166382, 0.456973135471344, 0.9078467488288879, 0.7763209939002991, 0.5498234033584595, 0.22995908558368683, -0.1530526876449585, 0.10201454162597656, -0.5826520323753357, 0.29837357997894287, -0.37970441579818726, -0.32423630356788635, -0.23335599899291992, -0.1280222088098526, 0.5195252299308777, 0.5769942998886108, -0.14052455127239227, -0.00045735377352684736, 0.10084285587072372, 0.6564228534698486, -0.9941177368164062, -0.2542620301246643, -0.8640586733818054, -0.15438620746135712, -0.5194735527038574, 0.17807891964912415, -0.5966578125953674, -0.43924760818481445, -0.24440313875675201, -0.3143569231033325, -0.03147934004664421, 0.18214334547519684, 0.6018525958061218, 0.2735605835914612, 0.1318821907043457, -0.310078501701355, -0.5993689298629761, 0.5198987126350403, -0.721953272819519, 0.0742419883608818, 0.442508339881897, 0.4087798297405243, -0.6301670074462891, -0.3422378599643707, -0.5588988065719604, -0.37444567680358887, 0.04499109089374542, -0.1902076005935669, -0.5700909495353699, -0.012927403673529625, 0.18169747292995453, 0.12818807363510132, -0.5278148055076599, 0.4384785592556, -0.17026056349277496, -0.15710699558258057, 0.4323272109031677, 0.05794130638241768, 0.4090994596481323, 0.0031793632078915834, -0.5127718448638916, 0.1996108740568161, -1.056318759918213, 0.10094479471445084, 0.8283897638320923, 0.21228072047233582, -0.08775698393583298, 0.7707857489585876, 0.0017382190562784672, 0.812703013420105, 0.0969332680106163, 0.10381288826465607, -0.0034502195194363594, 0.05742783099412918, -0.08161772787570953, 0.2589966654777527, 1.0357890129089355, 0.13782070577144623, 0.010492335073649883, -0.3584684133529663, -0.20324428379535675, -0.2995874285697937, 0.1432729959487915, -0.5050640106201172, 0.04036174714565277, 0.3970370590686798, -0.19788046181201935, -0.3975664973258972, 0.2312326580286026, -0.6820449829101562, -1.0356286764144897, 0.30471307039260864, 0.4433973729610443, -0.6699187755584717, 0.029063116759061813, -0.035519737750291824, -0.08650552481412888, 0.02569453977048397, 0.21855393052101135, -0.7834928035736084, 0.12316903471946716, 0.735503077507019, 0.8179119825363159, -0.000977459829300642, -0.13274390995502472, -0.8880711793899536, 0.2038545161485672, -0.15974894165992737, 0.4533502757549286, -0.6585715413093567, -0.18855923414230347, -0.2849130630493164, -0.09222131222486496, 0.22700291872024536, -0.6095295548439026, 0.6151037812232971, -0.4823809564113617, -0.13863587379455566, -0.04220322147011757, -0.4946431815624237, 0.09497019648551941, 0.18067790567874908, -0.8788892030715942, 0.6454952955245972, -0.013717640191316605, -0.8827138543128967, 0.010674521327018738, -0.4443053901195526, -0.0814998671412468, 0.0020340585615485907, -0.2184196263551712, -0.3809318542480469, 0.25672730803489685, 0.3311978280544281, 0.2780552804470062, -0.08338787406682968, 0.37422388792037964, -0.7871902585029602, -0.22522449493408203, 0.5082723498344421, -0.5467853546142578, 1.0032577514648438, 0.2874581217765808, -0.4349486231803894, -0.10419774055480957, -0.6912975907325745, -0.2556755542755127, 0.31004583835601807, 0.1800370216369629, -0.7515254616737366, -0.06753091514110565, -0.35174188017845154, -0.1368819624185562, 0.36322298645973206, -0.800216019153595, 0.5487228035926819, -0.6418311595916748, 0.5626263618469238, 0.8411178588867188, 0.07554659247398376, 0.5374671220779419, -0.12308760732412338, 0.5942808389663696, -0.19529449939727783, 0.2772039473056793, -0.1328306496143341, -0.433364599943161, -0.11935682594776154, -0.5743213891983032, 0.2472476363182068, 0.5768585801124573, -0.660037100315094, 0.4608455300331116, 0.10861033201217651, -0.5783305764198303, -0.7905169129371643, 0.2817227244377136, 0.41218411922454834, 0.412887305021286, 0.20998917520046234, -0.19658492505550385, -0.5367096066474915, -0.8622875213623047, -0.8591369986534119, -0.06590141355991364, 0.10011207312345505, -0.06846635788679123, 0.18317992985248566, -0.211094468832016, 1.0275262594223022, -0.5619724988937378, -0.27880746126174927, -0.3916173577308655, -0.046165309846401215, 0.4323897957801819, 0.6134513020515442, 0.5436194539070129, -0.45198309421539307, -0.24316564202308655, -0.33322346210479736, -0.4238627851009369, -0.2014620453119278, -0.1490696221590042, -0.03107965923845768, -0.06466764956712723, 0.8139461278915405, -0.8951895236968994, 0.48317983746528625, 0.41903597116470337, -0.4488656222820282, 0.6251394152641296, -0.13382187485694885, -0.20911292731761932, -0.7866578102111816, -0.18721304833889008, -0.23411035537719727, -0.305843710899353, -0.5864845514297485, 0.47239789366722107, 0.24942846596240997, -0.04747671261429787, -0.48702389001846313, 0.6612829566001892, -0.5421040058135986, 0.3593389093875885, -0.12518362700939178, 0.17204274237155914, -0.10646098107099533, 0.06120428815484047, -0.2845105528831482, 0.48635169863700867, 0.6258156895637512, -0.14887021481990814, 0.016912201419472694, 0.1546582728624344, -0.3812961280345917, 0.5161041617393494, -0.4658884108066559, 0.341117262840271, -0.31201133131980896, 0.026769651100039482, -1.0896952152252197, -0.21999366581439972, 0.5957469344139099, -0.38481953740119934, 0.5007557272911072, -0.3607330024242401, -0.5428240895271301, 0.035190921276807785, -0.5578640103340149, 0.5400046706199646, 0.5596445798873901, -0.7001378536224365, 0.5174784660339355, 0.22167478501796722, -0.28400129079818726, -0.7651169896125793, -0.485760897397995, 0.21820232272148132, -0.5750058889389038, -0.4043619632720947, 0.27313289046287537, -0.06615398079156876, -0.6775531768798828, -0.07514186948537827, -0.15946020185947418, -0.06053733080625534, 0.2220279425382614, 0.33439287543296814, 0.2721068859100342, -0.19111047685146332, -0.30940380692481995, -0.020378369837999344, 0.11953362077474594, 0.10266850143671036, -0.26697736978530884, 0.4790801405906677, 0.04911315441131592, -0.4709550440311432, -0.2788351774215698, 0.41955217719078064, 0.6108865141868591, -0.17174696922302246, 0.8364269137382507, 0.21359862387180328, -0.22681595385074615, -0.43147337436676025, -0.48709601163864136, -0.028710652142763138, -0.559662401676178, 0.27089574933052063, -0.034819308668375015, -0.7278109192848206, 0.5551577210426331, -0.04063204675912857, 0.07784218341112137, 0.07394494116306305, 0.31714898347854614, -0.0845833495259285, 0.9645323753356934, 0.6488136649131775, -0.10346691310405731, 0.47220689058303833, 0.37101858854293823, 0.33772724866867065, -0.6942458748817444, -0.10510019212961197, -0.47677984833717346, -0.3097821772098541, -0.4200628697872162, -0.34140345454216003, 0.27121081948280334, 0.47905510663986206, -0.10567783564329147, 0.4323018789291382, -0.10273519903421402, 0.723667562007904, 0.2178267538547516, 0.2704329788684845, 0.29320600628852844, -0.2893100380897522, -0.2306702435016632, -0.12594108283519745, -0.4284307062625885, -0.3759201765060425, 1.0230517387390137, 0.4676179587841034, 0.8810558915138245, 0.4070602357387543, 1.0217766761779785, 0.2422262579202652, 0.2433692216873169, -0.7242639660835266, 0.39528071880340576, -0.1195860430598259, -0.4429264962673187, -0.22626546025276184, -0.3613851070404053, -0.8983638286590576, 0.08444398641586304, -0.03246629238128662, -1.3043746948242188, 0.1282912939786911, 0.269529789686203, -0.5237064957618713, 0.4963012635707855, -0.8211414217948914, 0.7306814193725586, -0.2586911916732788, -0.38860276341438293, 0.3291161358356476, -0.7727587223052979, 0.7307033538818359, -0.20783548057079315, 0.7252037525177002, -0.07922045141458511, 0.034879282116889954, 0.5308598875999451, -0.9840133786201477, 0.9938492774963379, -0.23539817333221436, -0.24722057580947876, 0.11907457560300827, 0.4619215428829193, 1.0478286743164062, 0.2515026330947876, 0.004213176667690277, 0.06489754468202591, -0.3464961349964142, -0.2981070876121521, -0.728675127029419, 0.6746116280555725, -0.42107945680618286, -0.878754198551178, -0.11392511427402496, -0.6842104196548462, -0.41743409633636475, 0.35906466841697693, 0.44810986518859863, 0.20472721755504608, -0.23321442306041718, -0.15756337344646454, 0.8415039777755737, -0.20280379056930542, 0.4911525845527649, 0.5761029720306396, -0.12146393954753876, -0.39479532837867737, 0.7507712841033936, -0.01451196614652872, 0.4749174416065216, 0.3443259596824646, 0.3655218780040741, -0.22293296456336975, -0.6994864344596863, -0.5550529956817627, 0.10858247429132462, -0.7846247553825378, -0.24304330348968506, -0.5049182772636414, -0.05036581680178642, -0.30318066477775574, -0.31105494499206543, -0.4963151216506958, -0.59926837682724, -0.20909470319747925, -0.047958601266145706, 0.5722569823265076, 0.7130443453788757, 0.029344091191887856, 0.35203006863594055, -0.8202807307243347, 0.4615635871887207, -0.18269512057304382, 0.31522464752197266, -0.24352943897247314, -0.6773128509521484, 0.2511323094367981, -0.18917042016983032, -0.08789405971765518, -1.209704041481018, 0.30371028184890747, 0.03597322478890419, 0.5993784666061401, 0.7158880829811096, 0.5629829168319702, 0.5838091373443604, -0.6955505609512329, 0.5068682432174683, 0.32739514112472534, -0.9519632458686829, 0.4818226993083954, -0.29774200916290283, 0.20418237149715424, 0.8158029317855835, 0.20966918766498566, -0.07858776301145554, -1.0898263454437256, -0.7820237874984741, -1.1749846935272217, 0.6401636600494385, 0.20261795818805695, 0.08328916877508163, 0.18781808018684387, 0.3892982006072998, 0.49099022150039673, 0.060423411428928375, -0.7133593559265137, -0.4195139706134796, 0.059258002787828445, -0.4523268938064575, 0.09745192527770996, -0.15487800538539886, -0.25493794679641724, -0.14854936301708221, 0.27733349800109863, 0.2200169563293457, -0.13625773787498474, 0.14177973568439484, -0.29582008719444275, 0.0801599770784378, 0.5037645101547241, 0.5242266058921814, 0.5140315890312195, -0.27156516909599304, 0.45683741569519043, -0.1540021151304245, -0.8060812950134277, 0.24171346426010132, 0.1031888946890831, -0.334575355052948, 0.0672946572303772, 0.38444316387176514, 0.6951072216033936, 0.13898897171020508, -0.9696559309959412, 0.5900475382804871, 0.030411088839173317, 0.09942613542079926, -0.31827986240386963, 0.21852852404117584, -0.17688123881816864, 0.34600064158439636, 0.22842642664909363, 0.3587898313999176, 0.01528981328010559, -0.6338849663734436, 0.16588842868804932, 0.5903339385986328, -0.6362106800079346, -0.15653684735298157, 0.7355490326881409, -0.2577580511569977, -0.3854413330554962, 0.3415340483188629, -0.42344552278518677, -0.3086738586425781, 0.4958221912384033, 0.6650829911231995, 0.936662495136261, -0.19229896366596222, 0.10543186962604523, -0.09692883491516113, 0.7268164157867432, -0.25807398557662964, 0.22950828075408936, 0.13263152539730072, -0.5768123269081116, -0.1958986222743988, -0.3771994113922119, -0.3023410737514496, 0.32937800884246826, -0.8230519890785217, 0.4466261863708496, -0.7691831588745117, 0.1212940588593483, -0.10528934746980667, -0.6519420742988586, -0.3054400086402893, -0.2772427499294281, 0.07185184955596924, 1.072213053703308, -0.6425248384475708, 0.8376918435096741, 0.5042404532432556, -0.061009731143713, -0.7785288095474243, 0.3301587700843811, 0.2006770521402359, -0.9390364289283752, 0.2504402697086334, 0.16578154265880585, -0.051715850830078125, 0.03569465130567551, -0.8613075017929077, -0.8732090592384338, 0.6034667491912842, 0.8531078100204468, -0.8854498267173767, 0.23738405108451843, 0.0063255419954657555, 0.03286397084593773, -0.11596554517745972, 0.05743894726037979, 0.9202887415885925, 0.5914009809494019, -0.06572047621011734, -0.6660758852958679, 0.4976208508014679, -0.1616942584514618, -0.5747435092926025, 0.490481436252594, -0.3868720531463623, 0.7150092124938965, -0.6720238327980042, -0.12184138596057892, 0.2765827178955078, 0.28888359665870667, 0.6332268714904785, 0.2565009295940399, 0.3234148323535919, 0.6271945238113403, 0.8450292944908142, 0.043295010924339294, 0.8460333347320557, 0.12279536575078964, 0.15487413108348846, 1.3910425901412964, -0.4254226088523865, 0.7903698086738586, 0.8304075002670288, 0.07022016495466232, 0.47169163823127747, 0.26487037539482117, -0.0867854580283165, 0.8331707715988159, 0.2688986659049988, -0.059312328696250916, 0.01626507006585598, 0.21033407747745514, -0.2467743456363678, 0.4947297275066376, 0.420215368270874, -0.349134624004364, -0.4696684181690216, 0.14028915762901306, 0.5086125135421753, 0.19804266095161438, -0.46724167466163635, 0.6270987391471863, 0.10127317160367966, -0.3600568175315857, 0.6237221360206604, 0.2230486273765564, 0.613797664642334, -0.7159783840179443, 0.017300860956311226, -0.15137754380702972, 0.09262015670537949, -0.1511499434709549, -0.6788841485977173, 0.12153060734272003, 0.3024897873401642, -0.1355307549238205, -0.09376386553049088, 0.3886265158653259, -0.15749403834342957, -0.36680468916893005, 0.15934856235980988, 0.10235543549060822, -0.04245493933558464, -0.23490864038467407, -0.4315109848976135, 0.3240910470485687, -0.04491136968135834, -0.30509111285209656, 0.5250046253204346, 0.5572811961174011, -0.2713773250579834, 0.4754030704498291, 0.4921872913837433, 0.2953856885433197, -0.004823388531804085, -0.21516169607639313, 0.9227731823921204, -0.8007147312164307, -0.5876787304878235, -1.455479621887207, 0.43231332302093506, -0.03840462490916252, -0.27555808424949646, 0.9105852842330933, 0.3063459098339081, 0.4709935486316681, 0.1034850925207138, 0.8546987175941467, -0.14302732050418854, 0.22404131293296814, -0.9334815740585327, 0.9448170065879822, -0.24000443518161774, 0.7664127349853516, -0.48339709639549255, -0.5543937087059021, -0.3895614743232727, 0.12202785909175873, -0.4477555751800537, -0.34963440895080566, 0.7192786335945129, 0.7412920594215393, -0.026612699031829834, -0.1048676073551178, 0.20939092338085175, 0.49592843651771545, 0.21897724270820618, 0.5755355954170227, 1.1175029277801514, -0.0257111769169569, 0.5102750062942505, -0.18794924020767212, -0.4246290326118469, -0.19625349342823029, -1.0756620168685913, -0.8284814953804016, -0.08532577008008957, -0.1261674165725708, -0.4328014552593231, 0.1449396163225174, 0.900901734828949, 0.3052428364753723, -0.8411174416542053, 0.2314435839653015, -0.2783443331718445, 0.3414838910102844, -0.2628503739833832, -0.20292304456233978, 0.39412152767181396, -0.08580301702022552, -0.35104474425315857, 0.8062547445297241, 0.24464789032936096, 0.006089650094509125, -0.2754903733730316, 0.06465660780668259, 0.1497591733932495, 0.1268380880355835, 0.06463389098644257, 0.4766504168510437, -0.7408009171485901, -0.25221195816993713, -0.11983775347471237, 0.12998895347118378, -0.021106915548443794, 0.888503909111023, -0.6056284308433533, 0.48479047417640686, 0.2749919295310974, 0.6182462573051453, -0.07027982175350189, 0.27946949005126953, 0.6343315243721008, -1.0014851093292236, 0.4288477897644043, 0.3700542449951172, 0.509711742401123, 0.15593062341213226, -0.7778268456459045, -0.0800827220082283, 0.09586235135793686, -0.14717444777488708, -1.1844263076782227, 0.5008137822151184, -0.8403124809265137, -0.6993805766105652, 1.2409119606018066, -0.25336408615112305, -0.4659068286418915, -0.421539306640625, -0.2471872717142105, -0.2345798760652542, -0.48573681712150574, 0.8650268912315369, 0.4934694170951843, -0.04306251183152199, 0.06852134317159653, -0.6837897300720215, 0.3815348148345947, 0.2588937282562256, -0.4974214434623718, 0.378210186958313, 0.3917977809906006, 0.36691799759864807, 0.03627781942486763, 0.3329806625843048, -0.3524748980998993, 0.19303391873836517, 0.0006719662342220545, -0.1709168404340744, -0.3339881896972656, -0.2418273538351059, -0.5702157616615295, 0.4271717667579651, 0.28294262290000916, -0.1445072740316391 ]
http://arxiv.org/abs/2406.13660v1
http://arxiv.org/pdf/2406.13660v1
Towards Minimal Targeted Updates of Language Models with Targeted Negative Training
2024-06-19T16:06:21
2024-06-19T16:06:21
Lily H. Zhang, Rajesh Ranganath, Arya Tafvizi
cs.CL
cs.CL, cs.AI
Generative models of language exhibit impressive capabilities but still place non-negligible probability mass over undesirable outputs. In this work, we address the task of updating a model to avoid unwanted outputs while minimally changing model behavior otherwise, a challenge we refer to as a minimal targeted update. We first formalize the notion of a minimal targeted update and propose a method to achieve such updates using negative examples from a model's generations. Our proposed Targeted Negative Training (TNT) results in updates that keep the new distribution close to the original, unlike existing losses for negative signal which push down probability but do not control what the updated distribution will be. In experiments, we demonstrate that TNT yields a better trade-off between reducing unwanted behavior and maintaining model generation behavior than baselines, paving the way towards a modeling paradigm based on iterative training updates that constrain models from generating undesirable outputs while preserving their impressive capabilities.
[ -0.1212661936879158, -0.7764829397201538, 0.26894304156303406, -0.08415061235427856, -0.0992768257856369, -0.0430988147854805, -0.37392738461494446, 0.023481054231524467, 0.03890899941325188, 0.6810176968574524, -0.7570228576660156, -0.6085945963859558, -0.5563849806785583, -0.2648206949234009, -0.6132051944732666, 0.8698992729187012, 0.3393753468990326, -0.3693922758102417, -0.10902011394500732, -0.022436292842030525, -0.6017884612083435, -0.5170957446098328, -0.8298406600952148, -0.4375101923942566, 0.38918131589889526, 0.6975122690200806, 0.6310989856719971, 0.5911438465118408, 0.2548753619194031, 0.15231765806674957, -0.18887120485305786, -0.39930522441864014, -0.9050901532173157, -0.050950102508068085, -0.10372380167245865, -0.3088279664516449, -0.18022768199443817, -0.1693466454744339, 0.5968361496925354, 0.9873543977737427, -0.11425609886646271, 0.15762309730052948, 0.26302894949913025, 0.6050040125846863, -0.7171066403388977, -0.15880471467971802, -0.821340024471283, 0.13390369713306427, -0.1975550651550293, -0.4367082715034485, -0.8894855380058289, -0.20505185425281525, -0.2830731272697449, -0.09304506331682205, 0.3607884645462036, -0.33661842346191406, 0.6207790970802307, 0.3237936198711395, -0.5549654364585876, 0.17130404710769653, -0.9009074568748474, 0.9446074962615967, -0.616269052028656, 0.31218671798706055, 0.4135129451751709, 0.12769503891468048, -0.32071590423583984, 0.03780287131667137, -0.062493372708559036, -0.764910101890564, 0.2103445827960968, -0.09711330384016037, -0.6035732626914978, 0.07577675580978394, 0.46827688813209534, -0.002098388271406293, -0.23469802737236023, 0.38599956035614014, -0.41252443194389343, -0.16767364740371704, 0.38612881302833557, 0.03963430970907211, 0.15691781044006348, -0.10441673547029495, -0.11411674320697784, -0.20656943321228027, -1.0763052701950073, -0.09505591541528702, 0.4792836308479309, 0.5020033121109009, -0.33619844913482666, 0.9593214988708496, -0.34245118498802185, 0.6642260551452637, 0.17418552935123444, 0.26648983359336853, 0.09059888124465942, -0.041496314108371735, -0.1115570142865181, 0.016636647284030914, 0.5700246691703796, 0.09853184223175049, -0.0010858639143407345, -0.2132481038570404, -0.18329954147338867, 0.23879894614219666, 0.22136780619621277, -0.5722439289093018, -0.1952665150165558, -0.0003645672695711255, -0.22508947551250458, -0.8634175062179565, -0.5652718544006348, -0.4497758746147156, -0.37222719192504883, -0.08307243883609772, 0.3142746090888977, -0.5433003306388855, -0.03725225850939751, -0.04151277616620064, -0.018516195937991142, -0.12179967761039734, 0.5203822255134583, -1.2067028284072876, 0.21081389486789703, 0.5760776996612549, 0.6204135417938232, 0.36292651295661926, -0.028796082362532616, -0.7512344717979431, 0.4548661410808563, -0.5619003772735596, 0.6511645317077637, -0.5197561979293823, -0.23258841037750244, -0.020986581221222878, -0.3704596757888794, 0.27259066700935364, -0.5264208316802979, 0.29536306858062744, -0.31315797567367554, 0.16645435988903046, -0.24179214239120483, -0.44535693526268005, -0.03639092296361923, 0.4530148506164551, -0.3918863534927368, 1.0584732294082642, 0.37237030267715454, -0.661361038684845, 0.3811812400817871, -0.6102240085601807, -0.42906516790390015, -0.1236724853515625, 0.10807966440916061, -0.44936448335647583, 0.4449736475944519, -0.17441590130329132, 0.26281699538230896, -0.15800568461418152, 0.16450677812099457, -0.3447880446910858, -0.43332311511039734, -0.015881672501564026, -0.5861342549324036, 0.882049024105072, -0.0036436317022889853, -0.401801198720932, 0.23713581264019012, -0.847385585308075, -0.2562515437602997, 0.06536009162664413, -0.42773669958114624, -0.5061051845550537, 0.05093080922961235, -0.14993515610694885, 0.24942852556705475, 0.10725297778844833, -0.6172015070915222, 0.49417614936828613, -0.5423509478569031, 0.1828405261039734, 1.0502393245697021, 0.011195006780326366, 0.6923795938491821, -0.4224003255367279, 0.651763916015625, 0.0010156173957511783, 0.3119966685771942, 0.1599675863981247, -0.5573413968086243, -0.7079819440841675, -0.0523248128592968, 0.4361989200115204, 0.35140717029571533, -0.9458978176116943, 0.13905306160449982, -0.3347437083721161, -0.5053982734680176, -0.39008140563964844, 0.40846624970436096, 0.2593012750148773, 0.5928999781608582, 0.3678077459335327, -0.26888158917427063, -0.5359079837799072, -0.8290767073631287, -0.31789514422416687, -0.2776069939136505, 0.0029136110097169876, -0.07427258044481277, 0.24681611359119415, -0.2214476466178894, 0.8170384764671326, -0.40318700671195984, -0.3532775044441223, -0.6403418183326721, 0.2550371289253235, 0.22034519910812378, 0.7470043897628784, 0.6152009963989258, -0.4763984978199005, -0.6555437445640564, 0.10341262817382812, -0.3831765651702881, -0.3140832185745239, -0.3447425067424774, 0.2122724950313568, -0.052655018866062164, 0.44079646468162537, -0.7056429386138916, 0.3337228000164032, 0.6744582653045654, -0.14629444479942322, 0.21413938701152802, -0.12916485965251923, -0.10028518736362457, -0.8548071980476379, -0.054937854409217834, 0.15511183440685272, -0.27290478348731995, -1.2730915546417236, 0.07796121388673782, -0.084168441593647, -0.4512830376625061, -0.7105885148048401, 0.8259544968605042, -0.13918398320674896, 0.0990481749176979, -0.331940233707428, -0.1448432207107544, -0.1837102770805359, 0.6290217638015747, 0.02245965041220188, 0.4994235336780548, 0.6368511915206909, -0.8044946193695068, 0.01909196935594082, 0.17761610448360443, 0.16044770181179047, 0.2706068456172943, -0.3407242000102997, 0.12357235699892044, -0.4708089828491211, -0.188245952129364, -0.5340352654457092, 0.08847106248140335, 0.772735595703125, -0.4731104373931885, 0.4926944971084595, -0.46725237369537354, -0.33543384075164795, -0.3413633406162262, -0.5789840817451477, 0.12942205369472504, 0.8170592188835144, -0.2188648283481598, 0.3621733486652374, 0.09872853010892868, 0.26791128516197205, -0.4020681381225586, -0.7359104752540588, 0.18386255204677582, -0.321830153465271, -0.257358193397522, 0.30231693387031555, 0.03447077050805092, -0.0968019962310791, 0.16810642182826996, -0.12560926377773285, -0.01355087198317051, 0.3570142388343811, -0.2271280139684677, -0.056922536343336105, -0.11647357791662216, 0.056797366589307785, -0.0003681312082335353, -0.41466495394706726, -0.1736745834350586, -0.38663870096206665, 0.4876668155193329, 0.3501068949699402, -0.49572503566741943, -0.2929326593875885, 0.1749781221151352, 0.10934104025363922, 0.17096193134784698, 0.8638757467269897, 0.6480830907821655, -0.5810520052909851, -0.11995908617973328, -0.4030098021030426, -0.3898743987083435, -0.538335919380188, 0.5720434188842773, -0.5134909749031067, -0.7018227577209473, 0.1450398862361908, 0.01936153881251812, -0.032745927572250366, 0.45227283239364624, 0.575137197971344, -0.12140048295259476, 1.2135567665100098, 1.052101492881775, 0.015222976915538311, 0.7200312614440918, -0.12278395891189575, 0.24403290450572968, -0.8972885608673096, 0.04624539613723755, -0.5821203589439392, -0.09469550848007202, -0.5343274474143982, -0.49613091349601746, 0.18082335591316223, 0.2614091634750366, -0.03644600138068199, 0.8482233881950378, -0.6132453680038452, 0.19549989700317383, 0.9309555292129517, 0.03428322449326515, 0.05783390998840332, -0.036838628351688385, 0.021580306813120842, -0.28343719244003296, -1.0720146894454956, -0.32633423805236816, 1.174131155014038, 0.16508297622203827, 0.8850916028022766, 0.4005700945854187, 0.8894193172454834, 0.5989410281181335, 0.8363496661186218, -0.6650153994560242, 0.6422884464263916, -0.2990184724330902, -0.5666748881340027, -0.22513121366500854, -0.7615420818328857, -0.7922443747520447, 0.01441602036356926, -0.30231502652168274, -0.8582700490951538, 0.23336553573608398, 0.7428650259971619, 0.017097273841500282, 0.5662561655044556, -0.7438033819198608, 1.205014705657959, -0.005806474480777979, -0.3590139150619507, -0.2251553237438202, -0.14984169602394104, 0.250212162733078, -0.12688274681568146, 0.017089184373617172, -0.09650513529777527, 0.08357425779104233, 0.2644917368888855, -0.3180784285068512, 1.0881365537643433, -0.47550275921821594, -0.1298716515302658, 0.3851664066314697, 0.5101426243782043, 0.9058541655540466, -0.3049403131008148, -0.1154489740729332, -0.022149475291371346, -0.39228639006614685, -0.7580398321151733, -0.5522024035453796, 0.3365624248981476, -0.5526564121246338, -0.8655521869659424, -0.35019364953041077, -0.3730325996875763, -0.2488410472869873, 0.27821335196495056, 0.2836025357246399, 0.4257889986038208, -0.2891699969768524, 0.1985866129398346, 0.5313118696212769, -0.6001181602478027, 0.15747205913066864, 0.44881945848464966, 0.13042661547660828, 0.14676128327846527, 1.1796104907989502, -0.04022954776883125, 0.5884694457054138, 0.8547587990760803, 0.47990190982818604, -0.27333059906959534, -1.0317211151123047, -0.1978846788406372, -0.005725732538849115, -0.8684921860694885, -0.04239616543054581, -0.5622195601463318, 0.030086930841207504, -0.5007179379463196, -0.2253817915916443, -0.5153926610946655, -0.3523259162902832, -0.37040960788726807, 0.01102224551141262, 0.1296883523464203, 0.7505321502685547, -0.4421076774597168, 0.34901002049446106, -0.5996172428131104, 0.29105237126350403, 0.21745458245277405, 0.12128037959337234, -0.10328236222267151, -0.6985493898391724, -0.20539900660514832, 0.2989819645881653, -0.5354442596435547, -1.009032130241394, 0.3136604130268097, 0.20555876195430756, 0.20516227185726166, 0.19207099080085754, 0.23435601592063904, 0.6412471532821655, -0.47060564160346985, 0.5586426258087158, 0.4429148733615875, -1.1429469585418701, 0.8428182601928711, -0.6692616939544678, 0.6646507382392883, 0.520779013633728, -0.042748648673295975, -0.8148101568222046, -0.8134515881538391, -0.6398727893829346, -0.4751572012901306, 0.7009240984916687, 0.31538963317871094, 0.6850070357322693, -0.2779709994792938, 0.27931922674179077, -0.15503810346126556, 0.37687620520591736, -1.2075117826461792, -0.08749675005674362, -0.2364083230495453, -0.26103875041007996, 0.049773767590522766, -0.31573885679244995, -0.046764664351940155, -0.20953986048698425, 1.1362299919128418, -0.2763277590274811, 0.2308441698551178, -0.27158018946647644, -0.27098122239112854, -0.29247963428497314, 0.5131229162216187, 0.9531874656677246, 0.15971823036670685, -0.4067763388156891, 0.03935081884264946, 0.3899170160293579, -0.23126547038555145, 0.4981139898300171, -0.21618258953094482, -0.723872721195221, -0.09390410780906677, 0.2452894151210785, 0.7823967933654785, 0.45057734847068787, -0.6691161394119263, 0.6457242965698242, 0.21630246937274933, -0.1608845591545105, -0.06772637367248535, -0.0031777755357325077, -0.09320611506700516, -0.1404019445180893, 0.28021034598350525, 0.7556760907173157, 0.018247216939926147, -0.5102002024650574, 0.18653003871440887, 0.42777198553085327, -0.8507987260818481, -0.5200766324996948, 0.8788936138153076, -0.016275133937597275, -0.2661133110523224, 0.49544885754585266, -0.7175980806350708, -0.37429794669151306, 0.6140506267547607, 0.5736194849014282, 0.7883942723274231, -0.0676754042506218, 0.5267183184623718, 0.3130255341529846, 0.8589957356452942, 0.017444202676415443, -0.1223125159740448, 0.08717838674783707, -0.7412941455841064, -0.5228380560874939, -0.09194506704807281, -0.4341689348220825, 0.251700222492218, -0.35384970903396606, 0.8046016097068787, -0.6166673302650452, -0.17852625250816345, -0.194509819149971, -0.33336779475212097, -0.47530946135520935, 0.12896199524402618, 0.32401323318481445, 0.6606303453445435, -0.8927330374717712, 1.0166051387786865, 0.45727846026420593, -0.3502771854400635, -0.5006304383277893, -0.03962669521570206, 0.1589437574148178, -0.5387926697731018, 0.564816415309906, 0.03607604280114174, -0.007147623226046562, 0.1966128945350647, -0.2970830798149109, -0.9712057709693909, 0.4911353886127472, 0.7878538370132446, -0.5373259782791138, 0.053301986306905746, 0.2430187314748764, 0.5904110074043274, 0.01642811857163906, 0.0037767107132822275, 0.012517618015408516, 0.26557204127311707, 0.19431278109550476, -0.2759789824485779, 0.12245408445596695, -0.21445252001285553, 0.013098735362291336, 0.42500805854797363, -0.45952197909355164, 0.8072288036346436, -0.3997173607349396, -0.4106520414352417, 0.10235555469989777, 0.4572519063949585, -0.045735228806734085, -0.13809871673583984, 0.3592449128627777, 0.7774568796157837, 0.38660794496536255, -0.13824906945228577, 1.2838853597640991, -0.09897506237030029, 0.5249094367027283, 1.3476873636245728, -0.32906028628349304, 0.48854658007621765, 0.4863279461860657, 0.08680949360132217, 0.1715705394744873, 0.5935865640640259, -0.22050699591636658, 0.9249769449234009, 0.28671759366989136, -0.2558406889438629, -0.08355557918548584, -0.32656529545783997, -0.27448076009750366, 0.3525295555591583, -0.04321027547121048, 0.023083949461579323, -0.45683738589286804, 0.24670076370239258, 0.034277286380529404, 0.21049177646636963, -0.26695939898490906, 0.7120844125747681, -0.05620943382382393, -0.4944266080856323, 0.8243335485458374, 0.38775819540023804, 0.5321948528289795, -0.48281246423721313, -0.03097042813897133, -0.19837896525859833, 0.04776962473988533, -0.007017761468887329, -0.17444424331188202, 0.5551806092262268, 0.15149956941604614, -0.11576934158802032, -0.38110801577568054, 0.6605539321899414, -0.4165559709072113, -0.47432422637939453, 0.3904476463794708, 0.14878223836421967, -0.42260506749153137, 0.10820843279361725, -0.8607191443443298, 0.07698247581720352, 0.08288703858852386, -0.0754275992512703, 0.2534995973110199, 0.3046407103538513, -0.04968657344579697, 0.8559436798095703, 0.7612103819847107, 0.3973899483680725, 0.24271737039089203, 0.4344232976436615, 0.8003312349319458, -0.631187379360199, -0.5137410163879395, -0.9014286994934082, 0.42605912685394287, 0.037854116410017014, -0.07575230300426483, 0.6559942364692688, 0.2491908073425293, 0.8243857026100159, -0.15024197101593018, 0.7245471477508545, -0.21813976764678955, 0.2519601583480835, -0.34605997800827026, 0.21518781781196594, -0.4693021774291992, 0.5861334800720215, -0.2907335162162781, -1.0933915376663208, -0.32652926445007324, 0.3276817798614502, -0.5186991691589355, 0.01503658201545477, 0.5290399789810181, 0.7181365489959717, -0.17992596328258514, -0.38830244541168213, 0.573051393032074, 0.5572639107704163, 0.38369444012641907, 0.706182599067688, 0.9459406137466431, -0.6242577433586121, 0.4384903609752655, -0.7400060296058655, -0.06627010554075241, -0.050735581666231155, -0.8826544284820557, -1.0868602991104126, -0.17326362431049347, -0.6742128729820251, -0.335734099149704, 0.15718984603881836, 0.9954128861427307, 0.7656177878379822, -1.0209193229675293, -0.1529000848531723, -0.4799661636352539, 0.23925966024398804, -0.41424325108528137, -0.2475331723690033, 0.10861784964799881, -0.2630069851875305, -0.6363891959190369, 0.5189898014068604, 0.41253766417503357, 0.2661777436733246, -0.15616457164287567, -0.012177782133221626, -0.35460448265075684, 0.08575937151908875, 0.4596920609474182, 0.48399657011032104, -0.4827877879142761, -0.6950445771217346, -0.11403069645166397, -0.02487768977880478, 0.12514106929302216, 0.6121002435684204, -0.8390912413597107, 0.25786036252975464, 0.15029677748680115, 0.6935879588127136, 0.5259256362915039, -0.20857757329940796, 0.5935171842575073, -1.3657506704330444, 0.5619505047798157, 0.4026784896850586, 0.056289102882146835, 0.5900136828422546, -0.35505110025405884, 0.380625456571579, 0.24786633253097534, 0.18334262073040009, -1.1672637462615967, 0.44396698474884033, -0.6043950915336609, -0.23883861303329468, 0.941667914390564, 0.2961716055870056, -0.19293315708637238, -0.17707765102386475, 0.07076994329690933, 0.16129754483699799, -0.23274201154708862, 0.9383125305175781, 0.44424623250961304, 0.2114056795835495, -0.3805232346057892, -0.4987621307373047, 0.5627682209014893, 0.7734923958778381, -0.5875489115715027, 0.0348626971244812, 0.15202488005161285, 0.2398359775543213, -0.06735789775848389, 0.955746054649353, 0.0661286860704422, 0.4090821146965027, 0.025733456015586853, -0.01615862362086773, 0.11349965631961823, -0.3621821999549866, -0.6081264019012451, 0.19787746667861938, 0.4016890823841095, 0.11424755305051804 ]
http://arxiv.org/abs/2406.13632v2
http://arxiv.org/pdf/2406.13632v2
Can Few-shot Work in Long-Context? Recycling the Context to Generate Demonstrations
2024-06-19T15:28:29
2024-06-23T07:19:22
Arie Cattan, Alon Jacovi, Alex Fabrikant, Jonathan Herzig, Roee Aharoni, Hannah Rashkin, Dror Marcus, Avinatan Hassidim, Yossi Matias, Idan Szpektor, Avi Caciularu
cs.CL
cs.CL
Despite recent advancements in Large Language Models (LLMs), their performance on tasks involving long contexts remains sub-optimal. In-Context Learning (ICL) with few-shot examples may be an appealing solution to enhance LLM performance in this scenario; However, naively adding ICL examples with long context introduces challenges, including substantial token overhead added for each few-shot example and context mismatch between the demonstrations and the target query. In this work, we propose to automatically generate few-shot examples for long context QA tasks by recycling contexts. Specifically, given a long input context (1-3k tokens) and a query, we generate additional query-output pairs from the given context as few-shot examples, while introducing the context only once. This ensures that the demonstrations are leveraging the same context as the target query while only adding a small number of tokens to the prompt. We further enhance each demonstration by instructing the model to explicitly identify the relevant paragraphs before the answer, which improves performance while providing fine-grained attribution to the answer source. We apply our method on multiple LLMs and obtain substantial improvements (+23\% on average across models) on various QA datasets with long context, especially when the answer lies within the middle of the context. Surprisingly, despite introducing only single-hop ICL examples, LLMs also successfully generalize to multi-hop long-context QA using our approach.
[ -0.3406390845775604, -0.7633136510848999, 0.7296849489212036, 0.19815486669540405, -0.5125142335891724, -0.3527219891548157, -0.2074318528175354, -0.3814467787742615, -0.010462255217134953, 0.4215078353881836, -0.614942193031311, -0.437369167804718, -0.1493436098098755, 0.25331318378448486, -0.46612775325775146, 0.9305664300918579, 0.14041291177272797, -0.2089053839445114, -0.25386708974838257, -0.32412204146385193, -0.4117848873138428, -0.21063800156116486, -0.8494769930839539, -0.2669979929924011, 0.4424118399620056, 0.7328627705574036, 0.11525315046310425, 0.36576947569847107, 0.015450661070644855, 0.24643296003341675, -0.10068435966968536, 0.3334313929080963, -0.6929053664207458, 0.062919981777668, -0.19858546555042267, -0.37256571650505066, -0.044385991990566254, -0.08336760103702545, 0.8779367208480835, 0.6216474175453186, 0.07519187033176422, 0.261588990688324, 0.3669942021369934, 0.43090352416038513, -0.715404212474823, -0.03435232862830162, -0.728985607624054, -0.1612364649772644, -0.2231665700674057, -0.2898453176021576, -0.5708272457122803, -0.06307891011238098, 0.08125313371419907, -0.45226094126701355, -0.22765816748142242, 0.033964045345783234, 0.5369959473609924, 0.1685277670621872, -0.6642634272575378, -0.20874233543872833, -0.631485641002655, 0.8244631886482239, -0.9778910279273987, -0.10442677140235901, 0.24305127561092377, 0.6197705268859863, -0.3632008731365204, -0.6703450083732605, -0.6960861086845398, -0.09930725395679474, -0.23748663067817688, -0.029324190691113472, -0.24115490913391113, -0.11816279590129852, 0.5238468647003174, -0.27501997351646423, -0.28632473945617676, 0.22840231657028198, -0.3096384108066559, -0.07060760259628296, 0.47125908732414246, 0.38917994499206543, -0.015866611152887344, -0.3083656430244446, -0.4436304271221161, 0.13057924807071686, -1.0896912813186646, 0.382133424282074, -0.09598951786756516, 0.5445615649223328, -0.08027682453393936, 0.5462260246276855, -0.36920955777168274, 0.708127498626709, 0.2139521688222885, -0.45630979537963867, -0.034121111035346985, -0.5245645046234131, -0.2744765281677246, -0.09597887843847275, 0.6724720001220703, 0.229681596159935, 0.024916423484683037, -0.013633234426379204, -0.2281687706708908, -0.35523006319999695, 0.03884414955973625, -1.0348107814788818, 0.040768176317214966, 0.15096567571163177, -0.29716062545776367, 0.0026572044007480145, -0.2834237813949585, -0.6803308129310608, -0.1963452398777008, -0.18859250843524933, 0.5447484254837036, -0.41141989827156067, 0.2017706334590912, -0.03025856986641884, -0.011121554300189018, 0.42284083366394043, 0.41591179370880127, -0.5190573334693909, 0.30066800117492676, 0.7584706544876099, 0.6864575147628784, -0.3045772612094879, -0.5326241850852966, -1.0729141235351562, 0.31680288910865784, -0.33014369010925293, 0.7050444483757019, -0.356399267911911, -0.33225131034851074, 0.16454929113388062, 0.009549284353852272, 0.1199466809630394, -0.6388747692108154, 0.04272523894906044, -0.468086838722229, 0.3274978697299957, -0.25127145648002625, -0.7276097536087036, 0.19737081229686737, 0.5613484978675842, -0.38608670234680176, 0.8830248713493347, 0.13217255473136902, -0.6202422976493835, 0.4960486888885498, -0.7622873187065125, -0.5357155203819275, 0.10175706446170807, -0.3039828836917877, -0.4128267765045166, -0.0203950647264719, 0.2719365656375885, 0.603248655796051, 0.05091007053852081, -0.13622064888477325, -0.2339511215686798, -0.8213331699371338, 0.21541592478752136, -0.41175538301467896, 0.7051993608474731, -0.16047737002372742, -0.4248819947242737, 0.12530671060085297, -0.6382470726966858, 0.13408030569553375, -0.05474429950118065, -0.43686744570732117, -0.4213551878929138, -0.2215910255908966, 0.008538525551557541, 0.3879861533641815, -0.10708841681480408, -0.4384397268295288, 0.41668662428855896, -0.6664320826530457, 0.37933874130249023, 0.6447616815567017, 0.28109726309776306, 0.5690174698829651, -0.3752371072769165, 0.6686146259307861, 0.20457255840301514, -0.019542772322893143, -0.3913116157054901, -0.23041212558746338, -0.5884208083152771, -0.6472404599189758, -0.2087232917547226, 0.30113649368286133, -0.9701793193817139, 0.05415427312254906, -0.3931545913219452, -0.11633674055337906, -0.30766764283180237, 0.45913589000701904, 0.4546492397785187, 0.7473474144935608, 0.4200478792190552, 0.12512779235839844, -0.3591994643211365, -0.8417230248451233, -0.35286012291908264, -0.23603498935699463, -0.07368413358926773, 0.623313307762146, 0.6565386056900024, -0.09084130823612213, 1.3343385457992554, -0.42964673042297363, -0.2830171287059784, -0.42583149671554565, 0.1067737266421318, 0.2551204562187195, 0.3287646770477295, 0.6885892748832703, -0.4464387595653534, -0.590156614780426, -0.33383554220199585, -0.5710976719856262, 0.04225565120577812, -0.2640659213066101, -0.22257302701473236, 0.15260380506515503, 0.5842292904853821, -0.5997796654701233, 0.35171592235565186, 0.09513001888990402, -0.21094347536563873, 0.5844957232475281, 0.08148707449436188, 0.030485020950436592, -1.3747872114181519, -0.10350236296653748, -0.10360158234834671, -0.47984579205513, -0.4218232035636902, 0.1266000121831894, 0.06832759082317352, -0.1016162633895874, -1.065618634223938, 1.06815505027771, -0.22557784616947174, 0.007993511855602264, -0.50346440076828, 0.09209612011909485, 0.038060884922742844, 0.49843764305114746, -0.2072373628616333, 0.9783762097358704, 0.5510779619216919, -0.8383409976959229, 0.09784679114818573, 0.20889243483543396, -0.4745829105377197, 0.475275456905365, -0.534103512763977, 0.19372357428073883, -0.243712916970253, 0.5821676254272461, -0.9136192798614502, -0.32194286584854126, 0.21107585728168488, -0.014599504880607128, 0.1074063777923584, -0.4894355237483978, -0.5473218560218811, -0.15007330477237701, -0.3608628511428833, 0.5433701872825623, 0.6901572346687317, -0.843914806842804, 0.27435871958732605, -0.11575391888618469, 0.004036935977637768, -0.6327036619186401, -0.7111489772796631, -0.0316329225897789, -0.5793027281761169, -0.4477604031562805, 0.3379480838775635, -0.09959163516759872, -0.03238202631473541, -0.2972477674484253, 0.03251741826534271, -0.1493799388408661, 0.1719687581062317, 0.26683443784713745, -0.15163582563400269, -0.23697145283222198, 0.4530428946018219, 0.06247786432504654, 0.1672130525112152, -0.12289097905158997, -0.29213234782218933, 0.3792334794998169, -0.14678141474723816, -0.5616746544837952, -0.6533552408218384, 0.6044743657112122, 0.5755460858345032, 0.046143848448991776, 0.45867919921875, 0.5014691948890686, -0.4402754604816437, -0.5217626690864563, -0.4101734757423401, -0.4475913643836975, -0.4702821373939514, 0.3232245445251465, -0.5249966979026794, -0.9588783979415894, 0.44390448927879333, -0.16068147122859955, 0.1472482532262802, 0.016981536522507668, 0.3522511124610901, -0.31507405638694763, 0.8403013348579407, 0.6778624057769775, -0.31857413053512573, 0.6675424575805664, -0.4307880997657776, 0.1275266706943512, -0.6867285966873169, 0.16735947132110596, -0.3220413029193878, -0.2823772132396698, -0.2918355464935303, -0.39123839139938354, 0.6884137392044067, 0.3207778036594391, -0.18413206934928894, 0.20715461671352386, -0.08242198824882507, 0.8781857490539551, 0.4270694851875305, 0.26386168599128723, 0.21055243909358978, -0.0661768987774849, -0.0005147060146555305, 0.24202118813991547, -0.8504442572593689, -0.6616086959838867, 1.0316109657287598, 0.1244165301322937, 0.6641431450843811, 0.16643381118774414, 1.343340516090393, -0.14253279566764832, 0.3704984784126282, -1.0329843759536743, 0.6728492975234985, -0.004418747499585152, -0.3867838382720947, -0.5351593494415283, -0.18555009365081787, -0.9616177678108215, 0.14838698506355286, 0.07974821329116821, -0.6925086379051208, -0.1670660525560379, 0.3107810616493225, -0.7233703136444092, 0.036280397325754166, -0.5399993062019348, 0.9306777119636536, 0.1823553740978241, -0.6534368395805359, -0.22001910209655762, -0.5441594123840332, 0.4694850742816925, 0.011397023685276508, -0.0022407539654523134, -0.01846165768802166, 0.09827136993408203, 0.6168066263198853, -0.4557172656059265, 1.0359855890274048, -0.24809621274471283, 0.012907503172755241, 0.6242773532867432, 0.051943082362413406, 0.7268673181533813, 0.3034544885158539, -0.10280263423919678, -0.4574069380760193, 0.14380739629268646, -0.597114622592926, -0.8087608814239502, 0.6719798445701599, -0.2482103854417801, -0.6628211736679077, -0.08007485419511795, -0.2968587279319763, -0.23989078402519226, 0.07542678713798523, 0.2658469080924988, 0.593801736831665, -0.16085639595985413, 0.14223019778728485, 0.29290252923965454, -0.06180243566632271, 0.7672833204269409, 0.4003582298755646, -0.036872535943984985, 0.028201617300510406, 0.5183669328689575, -0.14991521835327148, 0.24783770740032196, 0.18966726958751678, 0.3055074214935303, -0.26569896936416626, -0.5892351865768433, -0.4269302189350128, 0.10530006140470505, -0.9250131845474243, -0.33398309350013733, -0.5132037401199341, 0.1718205064535141, -0.37526851892471313, -0.26953548192977905, -0.2591124475002289, -0.14967063069343567, -0.39293214678764343, 0.16013269126415253, 0.225864440202713, 0.35573771595954895, 0.2840532958507538, 0.4854380190372467, -0.9191054105758667, 0.36451196670532227, 0.6917510628700256, 0.10764545947313309, 0.0992732122540474, -0.505744993686676, -0.30746957659721375, 0.06874948740005493, -0.20925171673297882, -0.7112862467765808, 0.33858415484428406, 0.3850184679031372, 0.3268929123878479, 0.4687066674232483, 0.11823040246963501, 1.1229029893875122, -0.7602269649505615, 1.012413740158081, -0.03240606561303139, -0.9318148493766785, 0.5676475167274475, -0.11484445631504059, 0.7549920678138733, 0.8371173739433289, 0.33027148246765137, -0.44490671157836914, -0.443887323141098, -0.2515032887458801, -0.7751154899597168, 0.5964431166648865, -0.018083356320858, 0.4150875210762024, -0.39972272515296936, 0.3988540768623352, 0.19192750751972198, -0.0768100917339325, -0.7809084057807922, 0.12003688514232635, 0.12572351098060608, -0.15053360164165497, 0.12928134202957153, -0.25165796279907227, -0.3947734534740448, -0.19007951021194458, 0.6703155040740967, -0.7378090620040894, 0.11910828948020935, 0.10879278182983398, -0.39456087350845337, 0.13446898758411407, 0.6691376566886902, 0.6686449646949768, 0.9351872205734253, 0.006033590529114008, 0.116158626973629, 0.43588030338287354, 0.15034374594688416, 0.17435674369335175, -0.29747405648231506, -0.156378835439682, -0.025150083005428314, 0.525580644607544, 0.5189685225486755, 0.35424497723579407, -0.8810681104660034, 0.8573998212814331, 0.16760993003845215, 0.23745214939117432, -0.48715153336524963, -0.16216807067394257, 0.01353358756750822, 0.5597885251045227, 0.4910981059074402, -0.3603045344352722, 0.1846308410167694, -0.7797209620475769, 0.4586871862411499, 0.610776960849762, -0.1454811692237854, -0.11500166356563568, 0.28116244077682495, 0.17024551331996918, -0.14865565299987793, 0.8192591071128845, -0.6127249002456665, -0.5417464375495911, 0.7061089277267456, 0.7470255494117737, 0.8125239610671997, 0.49944379925727844, 0.06246323511004448, 0.28547877073287964, -0.1967618465423584, -0.1745491325855255, 0.15347030758857727, -0.26050055027008057, -0.510824978351593, -0.5675641298294067, -0.3448408246040344, -0.2426651418209076, 0.12756994366645813, -0.45008498430252075, 0.5246050357818604, -0.29090309143066406, -0.02244860678911209, -0.047276969999074936, -0.09305866062641144, -0.8150573968887329, -0.08030731976032257, 0.11343168467283249, 0.7892927527427673, -0.8507779240608215, 0.9997544884681702, 0.5353889465332031, -0.4406297504901886, -0.6808706521987915, 0.18468917906284332, 0.025097733363509178, -0.5089135766029358, 0.9114797711372375, 0.30217528343200684, -0.35008686780929565, -0.19149047136306763, -0.9443351626396179, -0.5098116397857666, 1.3091970682144165, 0.17190256714820862, -0.525292694568634, -0.15532343089580536, -0.06820552051067352, 0.501327633857727, -0.6750199198722839, 0.1839519441127777, 0.35848942399024963, 0.1163073256611824, 0.06591877341270447, -0.9959661960601807, 0.14206555485725403, 0.17634634673595428, -0.1781722605228424, -0.0027397396042943, -0.6245470643043518, 0.6174091696739197, -0.4287757873535156, -0.3368402123451233, 0.3479178249835968, 0.6845402717590332, 0.5880883932113647, 0.6855641603469849, 0.672172486782074, 0.19672271609306335, 0.44454190135002136, 0.3066115379333496, 1.0279011726379395, -0.16388967633247375, 0.2764374017715454, 1.4658710956573486, -0.43622586131095886, 1.0562102794647217, 0.8327940702438354, 0.005104519426822662, 0.3839257061481476, 0.3907104730606079, 0.2896450161933899, 0.5618305206298828, 0.23084482550621033, -0.39362287521362305, -0.40573549270629883, -0.04290783032774925, -0.020391907542943954, 0.6905927658081055, 0.10500139743089676, -0.23978470265865326, -0.5040338635444641, 0.35230281949043274, -0.016497163102030754, 0.044578809291124344, -0.15419211983680725, 0.9179296493530273, 0.15599197149276733, -0.6675469279289246, 0.7706173062324524, -0.1085185706615448, 0.9124706983566284, -0.5046116709709167, -0.2060490846633911, -0.3841717839241028, -0.04993082582950592, -0.08592129498720169, -0.5342676043510437, 0.22101910412311554, 0.024129711091518402, -0.15307077765464783, -0.29665639996528625, 0.578403890132904, -0.5678057074546814, -0.16484330594539642, 0.01003678422421217, 0.5563901662826538, 0.4294806718826294, -0.10823369771242142, -0.39434313774108887, -0.4057188928127289, -0.17315945029258728, -0.12945975363254547, 0.5564185380935669, 0.48173248767852783, -0.15407465398311615, 0.8288168907165527, 0.38785845041275024, -0.21231290698051453, 0.1129530668258667, 0.015252376906573772, 0.9409019947052002, -0.7499158978462219, -0.46032458543777466, -0.9097266793251038, 0.5595832467079163, -0.08069994300603867, -0.3704899847507477, 0.5677077770233154, 0.6502354145050049, 0.9461716413497925, -0.19814050197601318, 0.5945309400558472, 0.27719801664352417, 0.36535167694091797, -0.7292666435241699, 0.592644214630127, -0.6976056098937988, 0.3496200144290924, -0.08504974097013474, -0.6756167411804199, -0.08643195778131485, 0.2877730131149292, -0.04200566187500954, -0.13141000270843506, 0.7741475105285645, 0.8444777727127075, -0.30152973532676697, -0.4045999348163605, 0.4133491814136505, -0.021199895069003105, 0.5537176132202148, 0.8509386777877808, 0.8159897923469543, -0.423857718706131, 0.6305978298187256, -0.426980584859848, 0.10920441150665283, -0.43534842133522034, -1.129891276359558, -0.875201404094696, -0.4560852646827698, -0.5068232417106628, -0.2627212107181549, 0.05437202379107475, 1.3179036378860474, 0.8960379958152771, -0.6322161555290222, -0.21462476253509521, 0.3350854814052582, 0.2927498519420624, -0.3629162013530731, -0.3025357127189636, 0.3560650646686554, -0.48477640748023987, -0.8949531316757202, 0.8154566287994385, 0.2562636435031891, 0.18060879409313202, -0.11604154855012894, 0.12439344078302383, -0.15106600522994995, 0.057152848690748215, 1.065647840499878, 0.4427560865879059, -0.8462957739830017, -0.7175946831703186, -0.08054839819669724, -0.29319044947624207, 0.07546667009592056, 0.8849997520446777, -1.2082401514053345, 0.2544499337673187, 0.5468432307243347, 0.8246931433677673, 0.5563802123069763, 0.045393217355012894, 0.28793883323669434, -1.2387604713439941, 0.17195254564285278, 0.4858684241771698, 0.2570176422595978, 0.13454845547676086, -0.1620417684316635, 0.2684384882450104, -0.15171273052692413, -0.29059576988220215, -0.901117742061615, 0.4909510910511017, -1.1497474908828735, -0.389948308467865, 1.449882984161377, -0.3392019271850586, -0.18276818096637726, 0.046680234372615814, -0.10494343191385269, 0.07203042507171631, -0.4205341637134552, 0.8645952343940735, 0.6067039966583252, -0.3726378381252289, -0.1710645705461502, -0.2756775915622711, 0.557228147983551, 0.46537986397743225, -0.9618924260139465, 0.022293204441666603, 0.6448162794113159, 0.5775866508483887, -0.1757834553718567, 0.8001084327697754, 0.12299484014511108, 0.29926812648773193, -0.3264499604701996, -0.42754030227661133, -0.08622168749570847, -0.32784363627433777, -0.5355998873710632, 0.29481640458106995, 0.19504237174987793, -0.31823375821113586 ]
http://arxiv.org/abs/2406.13629v1
http://arxiv.org/pdf/2406.13629v1
InstructRAG: Instructing Retrieval-Augmented Generation with Explicit Denoising
2024-06-19T15:25:29
2024-06-19T15:25:29
Zhepei Wei, Wei-Lin Chen, Yu Meng
cs.CL
cs.CL, cs.LG
Retrieval-augmented generation (RAG) has shown promising potential to enhance the accuracy and factuality of language models (LMs). However, imperfect retrievers or noisy corpora can introduce misleading or even erroneous information to the retrieved contents, posing a significant challenge to the generation quality. Existing RAG methods typically address this challenge by directly predicting final answers despite potentially noisy inputs, resulting in an implicit denoising process that is difficult to interpret and verify. On the other hand, the acquisition of explicit denoising supervision is often costly, involving significant human efforts. In this work, we propose InstructRAG, where LMs explicitly learn the denoising process through self-synthesized rationales -- First, we instruct the LM to explain how the ground-truth answer is derived from retrieved documents. Then, these rationales can be used either as demonstrations for in-context learning of explicit denoising or as supervised fine-tuning data to train the model. Compared to standard RAG approaches, InstructRAG requires no additional supervision, allows for easier verification of the predicted answers, and effectively improves generation accuracy. Experiments show InstructRAG consistently outperforms existing RAG methods in both training-free and trainable scenarios, achieving a relative improvement of 8.3% over the best baseline method on average across five knowledge-intensive benchmarks. Extensive analysis indicates that InstructRAG scales well with increased numbers of retrieved documents and consistently exhibits robust denoising ability even in out-of-domain datasets, demonstrating strong generalizability.
[ -0.46448564529418945, -0.736785352230072, 0.22556734085083008, 0.17163068056106567, -0.08044344186782837, 0.22984100878238678, -0.30909159779548645, -0.21790696680545807, -0.19165252149105072, 0.622350811958313, -0.325884073972702, -0.33359789848327637, -0.39442142844200134, 0.06781864166259766, -0.5466305017471313, 1.2332963943481445, 0.04529011994600296, -0.03674638271331787, -0.2911244034767151, 0.22123868763446808, -0.49696633219718933, -0.3026123046875, -0.6232857704162598, -0.3774779438972473, 0.0492435023188591, 0.46658143401145935, 0.31106168031692505, 0.3549497127532959, -0.004659635480493307, 0.19496221840381622, -0.08830778300762177, 0.4641913175582886, -0.6493663787841797, 0.343946635723114, -0.08660077303647995, -0.30033689737319946, -0.14791610836982727, -0.042095642536878586, 0.7319516539573669, 0.640985906124115, -0.4095275402069092, 0.34742581844329834, 0.34593465924263, 0.712842583656311, -0.8509536385536194, -0.01431241538375616, -1.013817310333252, -0.11322669684886932, 0.012142322026193142, -0.31463831663131714, -0.7548553347587585, -0.34909871220588684, -0.3576646149158478, -0.6425243020057678, 0.6009638905525208, 0.18890418112277985, 0.7115364074707031, 0.5694916248321533, -0.2361993044614792, -0.48031800985336304, -0.8395629525184631, 0.6576095819473267, -0.5521517992019653, 0.3550187647342682, 0.6937277317047119, 0.25204765796661377, -0.44448167085647583, -0.9590394496917725, -0.617830216884613, -0.11927378922700882, -0.29625454545021057, 0.4247249960899353, -0.19424469769001007, 0.136809304356575, 0.30569374561309814, 0.46735745668411255, -0.4977306127548218, -0.0014904494164511561, -0.6273677349090576, 0.14002428948879242, 0.4617423117160797, -0.14229637384414673, 0.13411200046539307, -0.2595902979373932, -0.5018830299377441, -0.07422905415296555, -0.879946231842041, -0.21643108129501343, 0.37048906087875366, 0.18551039695739746, 0.0638957992196083, 0.3361130356788635, -0.2272958904504776, 0.6377527117729187, 0.7108092904090881, -0.264300674200058, 0.055789925158023834, -0.007242911495268345, -0.33653703331947327, 0.3543344736099243, 0.46593889594078064, 0.06850042194128036, -0.1613466888666153, -0.30828559398651123, -0.41348105669021606, 0.08830665796995163, 0.6051951050758362, -1.0032355785369873, -0.2630334496498108, 0.1256837695837021, -0.07546402513980865, -0.463968425989151, -0.14860105514526367, -0.9291033148765564, -0.29073598980903625, -0.4043293297290802, 0.7046152353286743, -0.3673955202102661, -0.21551309525966644, 0.1494360715150833, -0.07377903908491135, 0.14213690161705017, 0.29853764176368713, -0.9953352808952332, 0.45022690296173096, 0.6081447601318359, 0.49963638186454773, 0.14673365652561188, -0.00953688658773899, -0.8468848466873169, 0.3838249742984772, -0.6498154997825623, 0.8399593234062195, -0.428454726934433, -0.505526065826416, -0.06638599187135696, -0.14978832006454468, -0.1977379024028778, -0.7902568578720093, 0.8296226859092712, -0.5639007687568665, 0.6119194626808167, 0.09026329964399338, -0.9642999768257141, -0.24744106829166412, 0.09130249172449112, -0.36465901136398315, 1.2741961479187012, 0.41433626413345337, -0.7920255064964294, 0.36047738790512085, -0.42077380418777466, -0.26684334874153137, 0.285476952791214, -0.10608381778001785, -0.3644210994243622, -0.04858716204762459, 0.43387824296951294, 0.47571486234664917, -0.1394328474998474, 0.46168166399002075, 0.14315563440322876, -0.41417089104652405, -0.13780909776687622, -0.6340022683143616, 0.7493197917938232, 0.34776782989501953, -0.42961445450782776, -0.1029609739780426, -0.7457755208015442, -0.08324480056762695, -0.12178867310285568, -0.3473159670829773, -0.36417633295059204, -0.33933424949645996, -0.3162859082221985, -0.2754178047180176, -0.08256132155656815, -0.6763514280319214, 0.10151349753141403, -0.6774925589561462, -0.1014915183186531, 0.5663670301437378, 0.3414739966392517, 0.7565937638282776, -0.5103158950805664, 0.7397010326385498, -0.33568233251571655, 0.09820923954248428, -0.16638672351837158, -0.252545565366745, -0.6947160363197327, -0.3602272570133209, 0.29217931628227234, 0.2869049906730652, -0.7376944422721863, 0.05635220929980278, -0.10522668808698654, -0.5580123662948608, -0.7461496591567993, 0.3362601697444916, 0.7727174162864685, 1.0639019012451172, 0.5568947792053223, 0.15695559978485107, -0.5030289888381958, -0.5217104554176331, -0.11824394017457962, -0.08289916813373566, -0.05182996019721031, 0.053309161216020584, 0.27087685465812683, -0.3030948042869568, 0.7609952688217163, -0.3424213230609894, -0.29098835587501526, -0.15321028232574463, 0.4588913321495056, 0.2345183789730072, 0.5511504411697388, 0.43069690465927124, -0.9105802774429321, -0.7179157733917236, -0.04430435597896576, -0.7104222178459167, -0.3347330391407013, -0.10321728885173798, -0.08622261881828308, 0.4662765860557556, 0.725861132144928, -0.5310073494911194, 0.4950478971004486, 0.5745105147361755, 0.006775010377168655, 0.8344893455505371, -0.5420946478843689, 0.07243060320615768, -1.050449252128601, 0.07923835515975952, -0.3445809781551361, -0.09457365423440933, -0.5553627610206604, 0.07065609842538834, 0.03136336803436279, -0.028871875256299973, -0.09263458847999573, 0.6922917366027832, -0.5420004725456238, 0.1292232722043991, -0.15345832705497742, 0.030730534344911575, 0.23702485859394073, 0.5259045362472534, -0.2952144742012024, 1.0476406812667847, 0.1720436066389084, -0.7187264561653137, -0.10003998130559921, 0.5216155648231506, -0.538780152797699, 0.535504162311554, -0.6394065022468567, 0.14590297639369965, -0.6412177085876465, 0.2475636899471283, -0.931789755821228, -0.4113716185092926, 0.16218747198581696, -0.4712587594985962, 0.813693642616272, -0.8360872864723206, -0.41364750266075134, 0.019703412428498268, -0.09276053309440613, 0.06687919795513153, 0.7175281643867493, -0.9821393489837646, 0.48101016879081726, 0.509824812412262, -0.16033075749874115, -0.9386328458786011, -0.20648148655891418, -0.08716738224029541, -0.3694929778575897, -0.10775390267372131, 0.5747946500778198, -0.19572816789150238, -0.358711302280426, 0.06838463991880417, -0.03849292919039726, -0.31839820742607117, -0.028121866285800934, 0.39539656043052673, 0.12139083445072174, 0.10551811754703522, 0.3605332672595978, 0.5846719145774841, -0.1504104733467102, 0.06100746616721153, -0.0952644869685173, 0.3202815055847168, 0.0066442894749343395, -0.18441654741764069, -0.04065066576004028, 0.15470199286937714, 0.29404354095458984, -0.35957643389701843, 0.4641333222389221, 0.778331458568573, -0.1579364836215973, -0.8248984217643738, -0.502920389175415, -0.3298863470554352, -0.5273804068565369, 0.04484042897820473, -0.2729169726371765, -0.8164991736412048, -0.03990720957517624, -0.26368263363838196, 0.3424017131328583, 0.18805615603923798, 0.3798889219760895, -0.3641306757926941, 0.7911275029182434, 0.3433998227119446, 0.31151431798934937, 0.3180179297924042, -0.5735800266265869, -0.030669406056404114, -1.040719747543335, -0.29164445400238037, -0.4964868724346161, 0.17707937955856323, -0.3899756073951721, -0.487802118062973, 0.7151733040809631, 0.44540706276893616, -0.35601457953453064, 0.058041829615831375, -0.8347287774085999, 0.4795820713043213, 0.5553575754165649, 0.1666599065065384, 0.2684774100780487, 0.38007307052612305, 0.04753448814153671, -0.11477938294410706, -1.0004119873046875, -0.40150466561317444, 0.9626356363296509, -0.08584277331829071, 0.8275601863861084, -0.07184382528066635, 0.9539420008659363, 0.42929694056510925, 0.5817002654075623, -0.6216837167739868, 0.31412044167518616, -0.22627872228622437, -0.6428044438362122, -0.2629562318325043, -0.4082297384738922, -1.1748483180999756, 0.3584679365158081, -0.33349090814590454, -0.10546949505805969, 0.14725081622600555, 0.3849929869174957, -0.2697259485721588, 0.3211895227432251, -0.5541092157363892, 0.5620059967041016, 0.03967488557100296, -0.43668225407600403, -0.4023459851741791, -0.5199748873710632, 0.4795726537704468, -0.15532708168029785, 0.4017816185951233, 0.04842444136738777, 0.260739266872406, 0.5988398790359497, -0.3654761016368866, 0.9784210324287415, -0.322003036737442, -0.2071572095155716, 0.502517819404602, 0.44675034284591675, 0.5602852702140808, 0.003747166832908988, -0.15636679530143738, -0.2968584895133972, 0.02863948978483677, -0.016862794756889343, -0.902328610420227, 0.632971465587616, -0.44369813799858093, -0.6211802959442139, -0.028840571641921997, -0.5054225325584412, -0.2727678418159485, 0.2161078155040741, 0.42306119203567505, 0.9896743893623352, -0.06349407881498337, 0.19061876833438873, 0.8749388456344604, -0.20816805958747864, 0.333312064409256, 0.40267860889434814, -0.28708866238594055, -0.7114499807357788, 0.9050214886665344, 0.21619261801242828, 0.13408750295639038, 0.5249465703964233, 0.3573204576969147, -0.4644448757171631, -0.4388020634651184, -0.814466118812561, 0.24888403713703156, -0.7451396584510803, -0.39920467138290405, -0.7394387125968933, -0.09875796735286713, -0.20687174797058105, -0.26630598306655884, -0.3567388653755188, -0.4690949618816376, -0.1013866439461708, -0.0991399958729744, 0.4617548882961273, 0.8907162547111511, -0.28049349784851074, 0.2501596510410309, -0.6812359094619751, 0.46703603863716125, 0.38948768377304077, 0.10537207126617432, -0.07165316492319107, -0.9733596444129944, -0.31006327271461487, 0.2586623430252075, -0.07192472368478775, -0.6562792658805847, 0.4942227602005005, 0.28602761030197144, 0.6443549990653992, 0.14059334993362427, 0.5908580422401428, 0.8865150809288025, -0.49538686871528625, 0.38089093565940857, -0.2768945097923279, -0.6929273009300232, 0.45499560236930847, -0.3291751742362976, -0.029692091047763824, 0.6367366313934326, 0.3513046205043793, -0.08125361800193787, -0.5093069672584534, -0.8844921588897705, -0.6777435541152954, 0.3902890384197235, 0.005209467839449644, 0.3123161196708679, -0.04832693934440613, 0.503328263759613, 0.28583744168281555, 0.3125157356262207, -0.33763089776039124, 0.037092097103595734, -0.14829178154468536, -0.2007322758436203, 0.10617978870868683, -0.5952452421188354, -0.05132591724395752, -0.2931235730648041, 0.890802800655365, 0.02437416836619377, 0.05917096510529518, 0.31528332829475403, -0.15815423429012299, -0.1965291053056717, 0.3281770944595337, 0.49084708094596863, 0.5483217835426331, -0.2748042047023773, 0.30175694823265076, 0.302726686000824, -0.3509368896484375, 0.15942317247390747, -0.16452303528785706, -0.6330212354660034, 0.3173834979534149, 0.21565230190753937, 0.5187581181526184, 0.40626391768455505, -0.4953806698322296, 0.42348727583885193, 0.15944679081439972, -0.08602204918861389, -0.6309937834739685, 0.1358834058046341, -0.1770283579826355, 0.06979844719171524, 0.21434395015239716, 0.142488032579422, 0.20814751088619232, -0.1403452455997467, 0.292220801115036, 0.40316641330718994, -0.18450896441936493, -0.23385371267795563, 0.797115683555603, -0.04227079823613167, -0.03994482383131981, 0.5685364603996277, -0.4157928228378296, -0.44842368364334106, 0.2676578760147095, 0.7875778079032898, 0.8139509558677673, -0.266348659992218, 0.3309352397918701, 0.786695122718811, 0.24051803350448608, -0.21251346170902252, 0.0640961080789566, -0.35386568307876587, -0.6988753080368042, -0.6338175535202026, -0.8915700316429138, -0.5212318897247314, 0.007446617353707552, -0.7671533226966858, -0.097217857837677, -0.3416016101837158, 0.06943982094526291, -0.2284599244594574, -0.040464047342538834, -0.20155905187129974, 0.29826754331588745, -0.31691956520080566, 0.6034725308418274, -0.4802199602127075, 0.8103512525558472, 0.4661659300327301, -0.40344473719596863, -0.9727553129196167, -0.05206802487373352, -0.3708822429180145, -0.481096088886261, 0.7864309549331665, -0.07407285273075104, -0.4995393753051758, 0.3524213433265686, -0.7485928535461426, -0.4319958984851837, 0.7377477288246155, 0.7388676404953003, -0.1502523422241211, 0.24780040979385376, -0.2992044985294342, 0.4834747910499573, -0.23056884109973907, -0.05233343690633774, 0.026343731209635735, 0.40454724431037903, 0.13477200269699097, -0.6998646259307861, -0.07579725980758667, -0.14271777868270874, -0.32163235545158386, 0.21977359056472778, -0.34265896677970886, 0.7743999361991882, -0.3019424378871918, -0.5537097454071045, -0.021988380700349808, 0.4541490077972412, 0.22870737314224243, 0.37691551446914673, 0.4151720404624939, 0.6435030102729797, 0.8476812839508057, 0.3709522485733032, 1.1571378707885742, -0.2715490758419037, 0.11139962077140808, 1.5028376579284668, -0.0014876449713483453, 0.9520337581634521, 0.25527551770210266, -0.050642065703868866, 0.7219734787940979, 0.017571115866303444, 0.0958399698138237, 0.3793647885322571, -0.16426749527454376, -0.5567848682403564, -0.14975324273109436, -0.29752489924430847, -0.2780768573284149, 0.5635263919830322, 0.4078269302845001, -0.12108351290225983, -0.26031264662742615, -0.08856507390737534, 0.38900133967399597, 0.5295745134353638, -0.24944506585597992, 0.8399548530578613, -0.09543249756097794, -0.836560070514679, 1.1306159496307373, -0.22728462517261505, 0.5206276774406433, -0.46622395515441895, -0.4732452630996704, -0.5024983882904053, 0.2431684285402298, -0.34513577818870544, -0.6164671182632446, 0.323285311460495, 0.07002265006303787, -0.2810540497303009, -0.43461135029792786, 0.8253228664398193, -0.7220829129219055, -0.4618456959724426, -0.02366274781525135, 0.36207276582717896, 0.21330080926418304, 0.004935116972774267, -0.26459288597106934, -0.28022465109825134, -0.005318933166563511, 0.030354812741279602, 0.3436703681945801, 0.3776203393936157, -0.003386539639905095, 0.7748188376426697, 0.7076988220214844, 0.016863182187080383, 0.011042243801057339, -0.10264883935451508, 0.7591168880462646, -0.05537733808159828, -0.194856658577919, -0.48119691014289856, 0.3768500089645386, -0.12113078683614731, -0.1107824295759201, 1.0540204048156738, 0.5912411212921143, 1.0449858903884888, -0.19890256226062775, 0.7391329407691956, -0.01285544689744711, 0.9184728264808655, -0.5708734393119812, 0.8608732223510742, -0.5174747705459595, 0.24008771777153015, -0.16560465097427368, -0.6155349612236023, -0.1947866529226303, 0.5645784139633179, -0.06163129210472107, -0.12363064289093018, 0.296159565448761, 1.2067557573318481, -0.1336328387260437, -0.24873606860637665, 0.38537099957466125, 0.2698848247528076, 0.15623998641967773, 0.042757272720336914, 0.9522607922554016, -0.3881937861442566, 0.4872983396053314, -0.6930174231529236, -0.05202782526612282, 0.07233782857656479, -0.6914960145950317, -0.8817873597145081, -0.5475972890853882, -0.21859592199325562, -0.36710676550865173, 0.10631373524665833, 0.8176916837692261, 0.5481981635093689, -0.6336589455604553, -0.2214990109205246, -0.16690024733543396, 0.17601029574871063, -0.11969541758298874, -0.21477267146110535, 0.4480257034301758, -0.779594361782074, -0.7359392642974854, 0.8802599906921387, 0.05117335915565491, 0.014548626728355885, -0.14621692895889282, -0.22792749106884003, 0.12320362776517868, -0.10322047024965286, 0.6777852177619934, 0.35582780838012695, -0.41428396105766296, -0.038638658821582794, -0.21978077292442322, 0.005326598882675171, -0.16533447802066803, 0.5618802905082703, -1.0796736478805542, 0.7328715920448303, 0.31189557909965515, 0.5884249806404114, 0.7316353917121887, 0.2979676127433777, 0.5084930062294006, -0.9770494103431702, 0.3176584541797638, 0.26783543825149536, 0.17448821663856506, 0.4064473807811737, -0.25475212931632996, 0.8282484412193298, 0.022748742252588272, -0.68843674659729, -1.1542152166366577, 0.1693079024553299, -0.6041001677513123, -0.266130268573761, 1.13591730594635, -0.10468421131372452, -0.04646763205528259, -0.27494800090789795, -0.4614850580692291, 0.34984081983566284, -0.14121650159358978, 1.0110599994659424, -0.1309143304824829, 0.1571315973997116, -0.22770319879055023, -0.6596825122833252, 0.9095152020454407, 0.3303607106208801, -0.6311165690422058, 0.22448252141475677, 0.6924588680267334, 0.1693267822265625, -0.08624185621738434, 0.45880427956581116, -0.06829343736171722, 0.17230668663978577, 0.3327242136001587, 0.1699601113796234, -0.36669012904167175, -0.36863094568252563, -0.19115498661994934, 0.29685425758361816, 0.14343753457069397, 0.006919372361153364 ]
http://arxiv.org/abs/2406.13626v1
http://arxiv.org/pdf/2406.13626v1
Fine-Tuning Gemma-7B for Enhanced Sentiment Analysis of Financial News Headlines
2024-06-19T15:20:19
2024-06-19T15:20:19
Kangtong Mo, Wenyan Liu, Xuanzhen Xu, Chang Yu, Yuelin Zou, Fangqing Xia
cs.CL
cs.CL, cs.AI
In this study, we explore the application of sentiment analysis on financial news headlines to understand investor sentiment. By leveraging Natural Language Processing (NLP) and Large Language Models (LLM), we analyze sentiment from the perspective of retail investors. The FinancialPhraseBank dataset, which contains categorized sentiments of financial news headlines, serves as the basis for our analysis. We fine-tuned several models, including distilbert-base-uncased, Llama, and gemma-7b, to evaluate their effectiveness in sentiment classification. Our experiments demonstrate that the fine-tuned gemma-7b model outperforms others, achieving the highest precision, recall, and F1 score. Specifically, the gemma-7b model showed significant improvements in accuracy after fine-tuning, indicating its robustness in capturing the nuances of financial sentiment. This model can be instrumental in providing market insights, risk management, and aiding investment decisions by accurately predicting the sentiment of financial news. The results highlight the potential of advanced LLMs in transforming how we analyze and interpret financial information, offering a powerful tool for stakeholders in the financial industry.
[ -0.26667550206184387, -0.798970103263855, -0.04178479313850403, 0.7594156265258789, -0.4730710983276367, 0.391257643699646, -0.21794506907463074, -0.5792151689529419, 0.31460440158843994, 0.4837372303009033, -0.25789040327072144, -0.815805196762085, -0.8471724390983582, 0.2177426517009735, -0.3968471884727478, 1.17200767993927, 0.34503796696662903, 0.5330337882041931, 0.23786118626594543, 0.0900978147983551, -0.40142256021499634, -0.1877068281173706, -1.0390793085098267, -0.16744808852672577, 0.42318475246429443, 0.11980463564395905, 1.1162689924240112, 0.4082222878932953, 1.1235917806625366, 0.21831990778446198, -0.5988466143608093, 0.40559738874435425, -0.3622314929962158, -0.5269200205802917, -0.18784448504447937, -0.4549408257007599, -0.8272548913955688, 0.07179158926010132, 0.4125722348690033, 0.5670571327209473, -0.1773223876953125, 0.23630665242671967, 0.3585217297077179, 0.8913034200668335, -0.3690817356109619, 0.6354256868362427, -0.5767788887023926, 0.06209192052483559, -0.16631361842155457, -0.5954211354255676, -0.6299281716346741, -0.3636850118637085, 0.11808662861585617, -0.3535098135471344, 0.1333310455083847, 0.17242984473705292, 1.0752040147781372, 0.28329458832740784, -0.41845712065696716, -0.4812726080417633, -0.33478960394859314, 0.7403988838195801, -0.6467145085334778, 0.30574166774749756, 0.18204422295093536, 0.24979406595230103, -0.2642754912376404, -0.43629521131515503, -0.024694764986634254, -0.18288058042526245, 0.08797547221183777, 0.1959371268749237, -0.5083292126655579, 0.12521712481975555, -0.10307767242193222, 0.7602712512016296, -0.1954379379749298, 0.15403394401073456, -0.579675555229187, 0.007077748421579599, 0.5833825469017029, 0.11891679465770721, -0.04461574926972389, -0.335570752620697, -0.5264202356338501, -0.14126335084438324, -0.7750679850578308, 0.0413786880671978, 0.499916136264801, 0.8206262588500977, -0.04311572015285492, 0.4971037209033966, -0.2766364514827728, 0.6794507503509521, 0.4335838556289673, -0.41793912649154663, 0.3176667094230652, -0.030096502974629402, -0.4851151406764984, 0.37365058064460754, 0.2854999601840973, 0.7545527219772339, 0.19842994213104248, 0.012988287955522537, -0.15467482805252075, 0.052495576441287994, 0.3608580529689789, -0.7882235050201416, -0.2452837973833084, 0.1972150057554245, -0.8427832126617432, -0.6166903972625732, 0.11828792095184326, -0.9302855730056763, -0.5628939270973206, -0.4688740670681, 0.16631893813610077, -0.2063010036945343, -0.08328711241483688, 0.7937538623809814, -0.38151881098747253, 0.5722496509552002, 0.4606751799583435, -0.8394054174423218, 0.09872537106275558, 0.7872234582901001, 0.6263872385025024, 0.06427368521690369, 0.1141791120171547, -0.6488660573959351, 0.09159770607948303, -0.41393932700157166, 0.9076982736587524, -0.5794958472251892, -0.5907801985740662, -0.06247885152697563, -0.3193211853504181, 0.0018963939510285854, -0.7553790211677551, 0.5012832880020142, -0.4668698012828827, -0.06254053860902786, -0.2820264995098114, -0.42568522691726685, -0.3422294557094574, 0.4261351227760315, -0.651398777961731, 0.7481176257133484, 0.1543390303850174, -0.9135305881500244, 0.6419463753700256, -0.8270631432533264, -0.38091933727264404, -0.10719132423400879, 0.27045944333076477, -0.4513087570667267, 0.3107680678367615, 0.6376842260360718, 0.49378594756126404, -0.5376235842704773, 0.18609055876731873, -0.5193706154823303, -0.10226715356111526, 0.49834316968917847, -0.547675609588623, 0.36846229434013367, 0.28607842326164246, -0.1676209717988968, -0.024316688999533653, -0.8245454430580139, -0.46873781085014343, -0.11128071695566177, -0.24959824979305267, -0.3136731684207916, 0.08991977572441101, 0.2810268998146057, -0.10092862695455551, 0.625965416431427, -0.43201500177383423, 0.2640978991985321, -0.5001084208488464, 0.3486425578594208, 0.7518673539161682, 0.033809419721364975, 0.4904470443725586, -0.22490009665489197, 0.5992183089256287, 0.21731248497962952, 0.5395159125328064, 0.09342551976442337, -0.35526230931282043, -0.4826783835887909, -0.4902626872062683, 0.3202519416809082, 0.5223420858383179, 0.1224704459309578, 0.3345293402671814, -0.09469949454069138, -0.44002673029899597, -0.6744484901428223, 0.33808085322380066, -0.018600303679704666, 0.3469264507293701, 0.6070092916488647, -0.06647562980651855, -0.5082300901412964, -0.8530438542366028, -0.6003679037094116, -0.15114004909992218, 0.292633980512619, -0.037226688116788864, -0.14190739393234253, -0.3384082615375519, 0.8219608068466187, -0.8344421982765198, -0.5160807967185974, -0.4337341785430908, 0.2309674471616745, 0.6506954431533813, 0.16280408203601837, 0.7855149507522583, -0.9978976845741272, -0.13951225578784943, 0.2600992023944855, -0.43357670307159424, 0.03474954515695572, -0.3927939236164093, 0.0001700205320958048, 0.0366697683930397, 0.5918518304824829, -0.5638196468353271, 0.5163694620132446, 0.3831826150417328, -0.671802818775177, 0.20258282124996185, 0.12896902859210968, 0.008206039667129517, -1.189705491065979, -0.38131874799728394, 0.2868160009384155, -0.23914563655853271, -0.16232529282569885, 0.06013164669275284, -0.07180953770875931, 0.1630241721868515, -0.2240619659423828, 0.546105146408081, -0.27814823389053345, -0.07113995403051376, -0.529095470905304, -0.03260551765561104, 0.18695364892482758, 0.031215861439704895, -0.09686145186424255, 0.712285041809082, 0.5814471244812012, -0.25610053539276123, 0.2239258885383606, 0.23701244592666626, -0.327447772026062, 0.3207898736000061, -0.4880274832248688, -0.3730652928352356, -0.04472675174474716, -0.014407400041818619, -1.1192948818206787, -0.04839921370148659, 0.054237812757492065, -0.4819934666156769, 0.31605076789855957, 0.10219675302505493, -0.5620676279067993, -0.14178812503814697, -0.3004190921783447, -0.005854785442352295, 0.22037146985530853, -0.7009503245353699, 0.7747933268547058, 0.21334564685821533, -0.391271710395813, -0.5571869611740112, -0.5428521037101746, 0.3820554316043854, -0.6917254328727722, -0.46824321150779724, 0.2642214596271515, 0.19210316240787506, -0.4965033531188965, -0.25211673974990845, -0.21024616062641144, 0.19040876626968384, 0.33647605776786804, 0.15379244089126587, 0.5831604599952698, -0.12137740105390549, -0.03875564783811569, 0.12572257220745087, -0.2841496169567108, 0.24742813408374786, -0.12736961245536804, 0.4628622233867645, -0.4058661162853241, 0.12927807867527008, -0.2988054156303406, 0.05090605467557907, 0.49068570137023926, -0.3321579098701477, 0.909580647945404, 0.6064009070396423, -0.20608225464820862, -0.04289346560835838, -0.5353245735168457, 0.1664869487285614, -0.5462487936019897, 0.4172850549221039, -0.12127318233251572, -0.947265625, 0.7263495922088623, -0.017236394807696342, -0.08722030371427536, 0.6957711577415466, 0.719296932220459, 0.1323058158159256, 1.1152292490005493, 0.7484533190727234, -0.47054997086524963, 0.4914761483669281, -0.11644098162651062, 0.6005793213844299, -0.40714120864868164, -0.27131348848342896, -0.4395880699157715, -0.42122572660446167, -0.5439355373382568, -0.12350935488939285, 0.22486215829849243, 0.37490808963775635, -0.027371544390916824, 0.18176154792308807, -0.3402223289012909, 0.37742722034454346, 0.35503023862838745, 0.14127442240715027, 0.4866628348827362, -0.06940049678087234, -0.0078043206594884396, 0.15223050117492676, -0.2093334048986435, -0.6023128032684326, 1.035791277885437, 0.7612687349319458, 1.1584340333938599, 0.010744486935436726, 0.49868208169937134, 0.49960196018218994, 0.441997766494751, -0.7968212962150574, 0.2573079764842987, -0.40446633100509644, -0.30325430631637573, 0.04808908700942993, -0.4398517310619354, -0.4845721125602722, -0.16007833182811737, -0.15568771958351135, -0.4232744872570038, 0.48135504126548767, 0.051712699234485626, -0.7071912288665771, 0.12969845533370972, -0.5496789216995239, 0.746213972568512, 0.09485986083745956, 0.02846732921898365, -0.37369123101234436, 0.013188675977289677, 0.4318525791168213, -0.08452907204627991, 0.2904192805290222, -0.3411225378513336, 0.1702306866645813, 0.41935980319976807, -0.1701449602842331, 0.9571381211280823, -0.037410005927085876, -0.568040668964386, 0.20857790112495422, -0.28409257531166077, 0.39192813634872437, 0.6373258233070374, -0.16768088936805725, 0.18479079008102417, -0.20862948894500732, -0.5368458032608032, -0.342202752828598, 0.5948501229286194, -0.7200509309768677, -0.5459757447242737, -0.34248584508895874, -0.6439236998558044, -0.17376431822776794, -0.30750375986099243, 0.16220949590206146, 0.3324379026889801, -0.09832260012626648, 0.40729498863220215, 0.18142825365066528, -0.020548177883028984, 0.4165988266468048, 0.24769870936870575, -0.46345698833465576, -0.6137679815292358, 0.6750468611717224, -0.09223035722970963, 0.043141014873981476, 0.6518681645393372, 0.26580172777175903, -0.5451464653015137, -0.7833081483840942, -0.1166633740067482, -0.09708543121814728, -0.6677305102348328, -0.6422102451324463, -0.40909990668296814, -0.03605436533689499, -0.5965602397918701, -0.3241899013519287, -0.5207992196083069, -0.182442307472229, -0.7011098265647888, -0.5810398459434509, 0.7500627040863037, 0.5582481622695923, 0.03194833919405937, 0.45021721720695496, -1.1754388809204102, 0.41500625014305115, 0.11235921084880829, 0.28102365136146545, -0.16483530402183533, -0.5420443415641785, -0.5907372236251831, 0.11993274837732315, -0.4646591544151306, -0.6221269965171814, 0.7306461930274963, 0.12183308601379395, 0.09216576814651489, 0.9434890151023865, 0.05360283702611923, 0.9119006991386414, 0.20424103736877441, 0.4424053728580475, 0.11218294501304626, -0.8755649924278259, 0.413667768239975, -0.6154759526252747, 0.20792166888713837, 0.5523692965507507, 0.03383885324001312, -0.09421215951442719, -0.7149120569229126, -0.22093617916107178, -0.8628242015838623, 0.09415926784276962, 0.05838455259799957, 0.15963207185268402, -0.5058813691139221, 0.5680644512176514, 0.02812029793858528, 0.38495293259620667, -0.6013337969779968, 0.0074943797662854195, -0.1915747970342636, -0.3610592484474182, -0.07808440923690796, -0.3821559250354767, 0.1229732558131218, -0.27633601427078247, 0.4072668254375458, -0.24261519312858582, -0.01601245068013668, 0.13385234773159027, 0.019271336495876312, -0.15185926854610443, 0.12516441941261292, 0.21728619933128357, 0.791124701499939, -0.5363034605979919, -0.33046960830688477, 0.1679714322090149, -0.4916975200176239, -0.3043040633201599, 0.2596256732940674, 0.08351273089647293, -0.02644960582256317, 0.4058198630809784, 0.6019587516784668, 0.523145318031311, -0.7312745451927185, 0.40318572521209717, -0.24940425157546997, -0.17353439331054688, -0.4828032851219177, 0.006244227290153503, 0.06321290880441666, 0.6939703822135925, 0.787135124206543, 0.30576470494270325, 0.5435712337493896, -0.7217753529548645, 0.06012750789523125, 0.5075366497039795, -0.3822803199291229, -0.3026176393032074, 0.7124043107032776, 0.03903648629784584, 0.30763348937034607, 0.5003266334533691, -0.0075038461945950985, -0.22128035128116608, 0.658189594745636, 0.4863416850566864, 1.0949254035949707, 0.00261142966337502, 0.33539828658103943, 0.010127517394721508, 0.13289432227611542, -0.32896146178245544, 0.5519298315048218, 0.3717412054538727, -0.8935449719429016, -0.677906334400177, -1.2862926721572876, -0.43847039341926575, -0.18725773692131042, -1.247901439666748, 0.5886447429656982, -0.7158800959587097, -0.4587138593196869, 0.265210896730423, 0.13198313117027283, -0.5542348623275757, 0.5640215277671814, 0.13917797803878784, 1.2589441537857056, -0.631519079208374, 0.5043699741363525, 0.7440692782402039, -0.16814705729484558, -0.6848872900009155, -0.18738757073879242, -0.25972622632980347, -0.7073124051094055, 0.568801760673523, 0.40771517157554626, -0.05876147374510765, -0.044409606605768204, -0.4632585048675537, -0.6263172626495361, 0.9045102000236511, 0.4098145365715027, -0.7034065127372742, -0.1627863347530365, 0.10073582828044891, 0.5231577754020691, -0.6673946976661682, -0.10143623501062393, 0.6500104069709778, 0.5872255563735962, 0.2573719322681427, -0.6994548439979553, -0.5380793213844299, -0.3930010497570038, -0.3464798033237457, 0.4332176744937897, -0.8652844429016113, 0.7654486894607544, -0.1296614110469818, 0.27954861521720886, -0.08252795040607452, 0.9086706638336182, 0.13637657463550568, 0.40712666511535645, 0.30325812101364136, 0.6024948358535767, 0.6297215223312378, -0.10519246011972427, 1.0697972774505615, -0.6251347661018372, 0.5038866996765137, 0.8492593765258789, -0.130059152841568, 1.1011091470718384, 0.3026890456676483, -0.26500096917152405, 0.4182417690753937, 0.7556972503662109, -0.205149307847023, 0.41911986470222473, 0.08148083835840225, -0.15592463314533234, -0.47445955872535706, -0.15762858092784882, -0.24232730269432068, 0.9106378555297852, 0.4689466953277588, -0.6064512729644775, -0.158319354057312, -0.029459094628691673, 0.026736166328191757, 0.05216732993721962, -0.9365577101707458, 0.6891415119171143, 0.4811781644821167, -0.08159734308719635, 0.05173734575510025, 0.3089613616466522, 0.6715182662010193, -0.4281906485557556, 0.3742268681526184, -0.26396408677101135, 0.5085381269454956, -0.16352397203445435, -0.5847131013870239, 0.594240665435791, 0.06668262183666229, -0.36581143736839294, -0.2754538059234619, 0.5542200803756714, -0.11655056476593018, -0.8389456272125244, 0.6309549808502197, 0.0890229120850563, -0.3901486396789551, -0.4587799906730652, -0.4432932436466217, -0.26994600892066956, 0.03376631811261177, -0.35582345724105835, 0.4947851300239563, 0.41967684030532837, 0.18410298228263855, 0.5773968696594238, 0.9519996047019958, 0.061209097504615784, -0.056144461035728455, 0.21279945969581604, 0.9074914455413818, -1.2373948097229004, -0.733060359954834, -1.0498415231704712, 0.19865089654922485, 0.020761052146553993, -0.5296489596366882, 0.7599890828132629, 0.7125796675682068, 0.5489590764045715, -0.06000230833888054, 0.38038623332977295, 0.7189267873764038, 0.39096492528915405, -0.8195275068283081, 0.6249263882637024, -0.32176846265792847, 0.43226930499076843, -0.39115849137306213, -0.9394795298576355, -0.5999315977096558, 0.4814136326313019, -0.33164772391319275, -0.20811276137828827, 0.29801100492477417, 0.7217159867286682, 0.0863337367773056, 0.36871492862701416, 0.05950777605175972, 0.26687556505203247, 0.15666352212429047, -0.03472055122256279, 0.5401874780654907, -0.28047922253608704, 0.5005726218223572, 0.04161711037158966, 0.1662624627351761, -0.38711947202682495, -1.0250611305236816, -1.0939457416534424, 0.0752478837966919, -0.3899534344673157, -0.2818479537963867, -0.08536778390407562, 1.026558756828308, -0.019174806773662567, -0.6878886222839355, -0.171330526471138, 0.07990579307079315, -0.09648361057043076, -0.18119259178638458, -0.33194562792778015, 0.4353426396846771, -0.6691524386405945, -0.6892993450164795, 0.355094313621521, 0.779125452041626, 0.08221787214279175, -0.17156991362571716, 0.17301370203495026, 0.2983663082122803, 0.36601272225379944, 0.6187620162963867, -0.37388065457344055, -0.4219881594181061, -0.2905227839946747, 0.11860423535108566, 0.06270093470811844, 0.13152258098125458, 0.44258809089660645, -0.32953497767448425, -0.004380451515316963, 0.3482972979545593, 0.6241012215614319, 0.07784731686115265, 0.3652389347553253, 0.7753187417984009, -0.3077085316181183, 0.2833402454853058, 0.050862427800893784, 0.5526375770568848, 0.25397181510925293, -0.6381039619445801, 0.09033229202032089, -0.1775958389043808, -0.3080032467842102, -0.627150297164917, -0.27762919664382935, -1.1791012287139893, -0.19841572642326355, 1.0937824249267578, 0.11969500780105591, -0.36651885509490967, 0.1451287418603897, -0.2608662247657776, -0.14038509130477905, -0.6733519434928894, 1.1364033222198486, 0.632799506187439, 0.3251477777957916, -0.23101767897605896, -0.4073512852191925, 0.5633918642997742, 0.28921622037887573, -0.5388727188110352, 0.06611857563257217, 0.17010274529457092, -0.03710463270545006, 0.10643885284662247, 0.3758309781551361, -0.29203593730926514, 0.4681464433670044, -0.1560375690460205, -0.14750725030899048, -0.027159642428159714, -0.4189533293247223, -0.33571857213974, 0.4226316213607788, 0.2839319109916687, -0.249644935131073 ]
http://arxiv.org/abs/2406.13621v1
http://arxiv.org/pdf/2406.13621v1
Improving Visual Commonsense in Language Models via Multiple Image Generation
2024-06-19T15:17:10
2024-06-19T15:17:10
Guy Yariv, Idan Schwartz, Yossi Adi, Sagie Benaim
cs.CL
cs.CL, cs.CV, cs.LG
Commonsense reasoning is fundamentally based on multimodal knowledge. However, existing large language models (LLMs) are primarily trained using textual data only, limiting their ability to incorporate essential visual information. In contrast, Visual Language Models, which excel at visually-oriented tasks, often fail at non-visual tasks such as basic commonsense reasoning. This divergence highlights a critical challenge - the integration of robust visual understanding with foundational text-based language reasoning. To this end, we introduce a method aimed at enhancing LLMs' visual commonsense. Specifically, our method generates multiple images based on the input text prompt and integrates these into the model's decision-making process by mixing their prediction probabilities. To facilitate multimodal grounded language modeling, we employ a late-fusion layer that combines the projected visual features with the output of a pre-trained LLM conditioned on text only. This late-fusion layer enables predictions based on comprehensive image-text knowledge as well as text only when this is required. We evaluate our approach using several visual commonsense reasoning tasks together with traditional NLP tasks, including common sense reasoning and reading comprehension. Our experimental results demonstrate significant superiority over existing baselines. When applied to recent state-of-the-art LLMs (e.g., Llama3), we observe improvements not only in visual common sense but also in traditional NLP benchmarks. Code and models are available under https://github.com/guyyariv/vLMIG.
[ -0.35065922141075134, -0.664517343044281, 0.7955170273780823, 0.05353326350450516, -0.4394500255584717, -0.2755942940711975, -0.27420204877853394, -0.34531837701797485, -0.15269148349761963, 0.7009531855583191, -0.2834875285625458, -0.6500557065010071, -0.4849962890148163, 0.1995161473751068, 0.08530136942863464, 0.6144445538520813, 0.0557943619787693, -0.036124665290117264, -0.668053150177002, -0.29171115159988403, -0.5886522531509399, -0.15737460553646088, -0.2948075234889984, -0.3529931306838989, 0.545494794845581, 0.6039714813232422, 0.6872498989105225, 0.3966714143753052, 0.37724006175994873, 0.4024506211280823, -0.03523560240864754, 0.49296024441719055, -0.35488080978393555, 0.11384081095457077, -0.18406619131565094, -0.2297627329826355, -0.27712976932525635, -0.1434226632118225, 0.5411564707756042, 0.3662896454334259, 0.04272209852933884, -0.2565673589706421, -0.1017310842871666, 0.36015647649765015, -0.7172521948814392, 0.17779789865016937, -0.9067414402961731, -0.1210525706410408, -0.007159221917390823, -0.20871855318546295, -0.4848005473613739, 0.021954450756311417, 0.08747004717588425, -0.7177095413208008, -0.003988782875239849, 0.09698032587766647, 0.818875789642334, 0.324883371591568, -0.4599718153476715, 0.07612049579620361, -0.05410010740160942, 1.055503487586975, -0.7773234248161316, 0.5218542814254761, 0.38387995958328247, 0.2631928026676178, -0.07394295185804367, -0.7080115079879761, -1.03950035572052, -0.3811906576156616, -0.22386452555656433, 0.2985817492008209, -0.3571009635925293, -0.14425332844257355, 0.1350499391555786, -0.008327377028763294, -0.5278152227401733, 0.1409343034029007, -0.27036595344543457, -0.1371632218360901, 0.4321405589580536, -0.016170253977179527, 0.454423189163208, -0.4942778944969177, -0.6552350521087646, -0.22545959055423737, -0.5325402021408081, -0.22158530354499817, 0.11355812102556229, 0.11274104565382004, -0.26117241382598877, 0.7403310537338257, -0.21585455536842346, 1.0148212909698486, -0.29216933250427246, -0.42224425077438354, 0.48102205991744995, -0.45133981108665466, -0.19583240151405334, -0.1777968406677246, 0.6657495498657227, 0.864952802658081, 0.23626065254211426, 0.29773733019828796, -0.3526453971862793, 0.2989058792591095, 0.07565536350011826, -0.49343305826187134, -0.24372464418411255, 0.19022034108638763, -0.5348085761070251, -0.5115893483161926, -0.4080134630203247, -0.7252710461616516, -0.549030601978302, -0.4593358635902405, 0.2648530900478363, -0.5888446569442749, -0.47645050287246704, 0.20345941185951233, -0.35877078771591187, 0.26129958033561707, 0.6758085489273071, -0.7184614539146423, -0.026233313605189323, 0.3862566649913788, 0.7138996720314026, -0.17651139199733734, -0.5727187991142273, -0.720559298992157, 0.29656001925468445, -0.03568987548351288, 1.126845359802246, -0.7257320284843445, -0.17092406749725342, 0.01286715641617775, -0.22256293892860413, 0.007973914965987206, -0.48830416798591614, 0.4024321734905243, -0.3190418481826782, 0.0726659968495369, -0.07630264014005661, -0.2752194106578827, -0.17030909657478333, 0.543562114238739, -0.7353167533874512, 0.8132870197296143, -0.2781399190425873, -0.8307815790176392, 0.4560565948486328, -0.5993954539299011, -0.4409213066101074, 0.19892242550849915, -0.33694377541542053, -0.3647276759147644, 0.03937140479683876, 0.6882237792015076, 0.8027316331863403, -0.0410151332616806, 0.4154013395309448, -0.49650028347969055, -0.023717274889349937, 0.45179781317710876, -0.6882449388504028, 0.4113348722457886, 0.2683616280555725, 0.012717894278466702, 0.2640518248081207, -0.7320051789283752, -0.13038738071918488, 0.1340574324131012, -0.18268468976020813, -0.39146023988723755, -0.07466643303632736, 0.2589712142944336, 0.22053639590740204, 0.2216857522726059, -0.2570311427116394, 0.03050515614449978, -0.15411251783370972, 0.18568356335163116, 0.7074522972106934, -0.06415209174156189, 0.4637846052646637, -0.29183676838874817, 0.11990835517644882, 0.2597494125366211, 0.07972947508096695, -0.4858897924423218, -0.7330570816993713, -0.7581584453582764, -0.3705005943775177, -0.3254072964191437, 0.5912027955055237, -1.2836451530456543, 0.12025298178195953, -0.39704060554504395, -0.34704846143722534, -0.2174062281847, 0.41126948595046997, 0.5505831837654114, 0.5984259247779846, 0.5032124519348145, -0.22345110774040222, -0.2542401850223541, -0.9066117405891418, -0.401157408952713, -0.2006245255470276, 0.18282826244831085, 0.5365679264068604, 0.5767145156860352, -0.3268178701400757, 0.7113760113716125, -0.6219974756240845, -0.24167820811271667, -0.46360188722610474, 0.32025399804115295, 0.22997762262821198, 0.5138357877731323, 0.42034417390823364, -1.0347551107406616, -0.14027704298496246, 0.1671006679534912, -0.7407753467559814, -0.1576688587665558, -0.31286752223968506, -0.06843888759613037, 0.18064364790916443, 0.47934192419052124, -0.5321751236915588, 0.25966766476631165, 0.6999510526657104, -0.3274977207183838, 0.5090534687042236, -0.20240743458271027, 0.2261308878660202, -1.0196073055267334, -0.1768936812877655, 0.395358145236969, -0.24313345551490784, -0.7305483222007751, 0.08518356829881668, -0.010489187203347683, -0.18523404002189636, -0.8292267918586731, 0.883918046951294, -0.5130599141120911, -0.012498552910983562, -0.22807160019874573, 0.24280403554439545, 0.14510740339756012, 0.5726907849311829, 0.4675166606903076, 0.6200535893440247, 0.6677454113960266, -0.47921961545944214, 0.47099560499191284, 0.1626962423324585, -0.39358675479888916, 0.7806729674339294, -0.5431500673294067, -0.0856558158993721, -0.33919474482536316, 0.15336762368679047, -1.1114513874053955, -0.4661194980144501, 0.17878499627113342, -0.3456522524356842, 0.22720137238502502, -0.13960056006908417, -0.6165756583213806, -0.262116938829422, -0.1483909636735916, 0.39450204372406006, 0.29664453864097595, -0.7418591380119324, 0.8539772629737854, 0.1254372000694275, -0.1332615166902542, -0.7093942761421204, -0.9428715705871582, 0.23115235567092896, -0.04562324658036232, -0.7956746220588684, 0.14160771667957306, 0.1252339482307434, -0.39066001772880554, 0.10957150906324387, 0.08603916317224503, -0.2092146873474121, -0.041083499789237976, -0.00928597804158926, 0.46252912282943726, -0.12789234519004822, 0.3313279151916504, 0.16644226014614105, -0.2642301321029663, -0.3364536762237549, -0.2816038727760315, 0.342631459236145, -0.5184709429740906, -0.5020782351493835, -0.4036683142185211, 0.2633011043071747, 0.5265825390815735, -0.4288988411426544, 0.5750259160995483, 0.7763170599937439, -0.24393047392368317, -0.12128981947898865, -0.7803409695625305, -0.09495480358600616, -0.4396889805793762, 0.39625465869903564, -0.41042885184288025, -0.7493818402290344, 0.20796068012714386, -0.13500893115997314, 0.03281561657786369, 0.27341169118881226, 0.5162657499313354, -0.27847421169281006, 0.7456761002540588, 0.3318672180175781, 0.47759801149368286, 0.3770219683647156, -0.08359503000974655, -0.03536504879593849, -0.5441945791244507, -0.26161763072013855, -0.11765754967927933, -0.03486962616443634, -0.4227418005466461, -0.7936269640922546, 0.356399267911911, 0.04831590875983238, 0.1631048619747162, 0.08651410043239594, -0.2907937467098236, 0.6806530356407166, 0.6122362017631531, 0.3852699398994446, 0.3502469062805176, 0.18661272525787354, -0.18051084876060486, -0.07128570228815079, -0.8244377970695496, -0.5563138127326965, 0.911050021648407, 0.2508600354194641, 0.6989616751670837, 0.2654772698879242, 0.7239435911178589, -0.03708571940660477, 0.3932420313358307, -0.5192877054214478, 0.728215217590332, -0.45077234506607056, -0.2102227807044983, -0.13462083041667938, -0.36136478185653687, -0.5793972015380859, 0.6090176105499268, -0.6760645508766174, -0.3942086398601532, 0.05321062356233597, 0.43936246633529663, -0.006267493590712547, 0.2433491349220276, -0.9042547345161438, 0.9873692393302917, -0.4122525453567505, -0.6868889331817627, -0.26945406198501587, -0.49941784143447876, 0.7461981177330017, 0.14771628379821777, 0.3296903371810913, -0.010123522952198982, -0.1258484125137329, 0.3935810923576355, -0.24869829416275024, 1.2280809879302979, -0.10593488067388535, -0.14239448308944702, 0.1975681483745575, -0.25052157044410706, 0.45464426279067993, 0.04863692820072174, 0.15982289612293243, 0.13030757009983063, -0.37609219551086426, -0.5063949227333069, -0.5705302357673645, 0.8571521639823914, -0.5663854479789734, -0.4585440158843994, -0.3287574052810669, -0.5601722002029419, -0.16122044622898102, 0.33684659004211426, 0.06638842076063156, 0.5022155046463013, 0.022421879693865776, 0.08011483401060104, 0.7873514294624329, -0.6054985523223877, 0.5032100081443787, -0.008246359415352345, -0.1657620519399643, -0.7499825358390808, 0.9270810484886169, -0.33954286575317383, 0.45907726883888245, 0.47967231273651123, 0.31651604175567627, -0.6242223978042603, -0.5115034580230713, -0.3779316246509552, 0.22149482369422913, -1.1544108390808105, -0.2922375202178955, -0.6825186014175415, 0.23088645935058594, -0.508925199508667, -0.38072094321250916, -0.12047962099313736, -0.17062416672706604, -0.4882783889770508, 0.11358332633972168, 0.41308513283729553, 0.42988714575767517, 0.013934577815234661, 0.3471873104572296, -0.8606918454170227, 0.7724930047988892, 0.671375572681427, 0.3939521908760071, -0.06621222198009491, -0.2911407947540283, 0.19461625814437866, -0.17606161534786224, -0.09341323375701904, -0.879123866558075, 0.339684396982193, 0.13501839339733124, 0.7913063764572144, 0.3422262966632843, -0.15783147513866425, 0.674325168132782, -0.40616506338119507, 0.7937673330307007, 0.8920371532440186, -0.8088662028312683, 0.6485546827316284, -0.38119712471961975, 0.5988248586654663, 0.38734543323516846, 0.013518819585442543, -0.30430272221565247, -0.4135304391384125, -0.4986899197101593, -0.623045802116394, 0.28513598442077637, 0.21240165829658508, 0.26039811968803406, -0.12403889000415802, -0.24601297080516815, 0.1073407307267189, 0.0372563898563385, -1.0565444231033325, 0.03602329269051552, -0.5959439873695374, -0.29762139916419983, 0.0485181100666523, -0.3276841938495636, -0.09176124632358551, -0.1524839550256729, 0.4696516990661621, -0.41237661242485046, -0.0937933474779129, 0.05317758768796921, -0.3233416676521301, 0.35272860527038574, 0.5219069719314575, 0.8592860102653503, 0.5099560022354126, 0.07333101332187653, 0.5511996150016785, 0.2761380076408386, -0.3315325677394867, -0.13720610737800598, 0.030166175216436386, 0.04959613457322121, 0.1318185180425644, 0.6913121938705444, 1.0069929361343384, 0.426349401473999, -0.7996171116828918, 0.7594260573387146, 0.04171294346451759, -0.3137796223163605, -0.06689967215061188, -0.028941214084625244, 0.11346320062875748, 0.35409247875213623, 0.17912891507148743, 0.4575120210647583, -0.1352752447128296, -0.28067833185195923, 0.3158346712589264, 0.2974909543991089, 0.10812054574489594, 0.11614203453063965, 0.4408053159713745, 0.39024028182029724, 0.21604855358600616, 0.49579575657844543, -0.164412260055542, -0.5077246427536011, 0.3501749336719513, 0.6059799194335938, 0.5853058695793152, 0.16525793075561523, 0.3113820254802704, 0.3124221861362457, 0.3526421785354614, -0.11146476119756699, 0.3754638135433197, -0.09542969614267349, -0.9852187633514404, -0.5898150205612183, -0.4163409471511841, -0.16042537987232208, 0.052396614104509354, -0.09446187317371368, 0.5373334884643555, -0.39554455876350403, -0.11930156499147415, -0.21159058809280396, -0.3482401669025421, -0.7200576663017273, 0.3059588670730591, 0.3859846293926239, 0.6485191583633423, -1.0966246128082275, 0.6613488793373108, 0.7929639220237732, -0.49749475717544556, -0.42691469192504883, -0.23380938172340393, -0.017413320019841194, -0.9346335530281067, 0.7849237322807312, 0.2820127606391907, -0.18682046234607697, -0.16054606437683105, -0.874997079372406, -0.6007627844810486, 0.9803940057754517, 0.18589748442173004, -0.6351698637008667, 0.3555077910423279, -0.12035737931728363, 0.23443494737148285, -0.3151611387729645, 0.2202947735786438, 0.14236311614513397, 0.7333885431289673, 0.45229893922805786, -0.6819555163383484, -0.040362074971199036, -0.3137727677822113, 0.23690883815288544, -0.10500680655241013, -0.2498685121536255, 0.6390349864959717, -0.5359817743301392, -0.19095972180366516, -0.07585274428129196, 0.8588710427284241, 0.8509200215339661, 0.5802764296531677, 0.7005777955055237, 0.8489210605621338, 0.6896193027496338, 0.025174565613269806, 1.0184924602508545, 0.14969180524349213, -0.05398336052894592, 1.2270740270614624, -0.20370686054229736, 1.0063128471374512, 0.8207675814628601, 0.31407782435417175, 0.29095321893692017, 0.23771634697914124, -0.26892706751823425, 0.5829985737800598, -0.07015033811330795, -0.26991382241249084, -0.6047545671463013, -0.3884466290473938, -0.22894386947155, 0.5798752903938293, 0.23104819655418396, -0.34135952591896057, -0.28253883123397827, 0.2418658584356308, -0.14213916659355164, 0.47992438077926636, -0.37544360756874084, 0.7036541104316711, 0.022668959572911263, -0.49322667717933655, 0.6324808597564697, -0.1177305057644844, 0.9388856291770935, -0.2622525990009308, -0.3338959515094757, -0.09309826046228409, -0.07584589719772339, -0.2236645221710205, -1.0960979461669922, -0.01621241308748722, 0.13671749830245972, -0.002713617403060198, -0.5035223364830017, 1.058605432510376, -0.6084614396095276, -0.5860629677772522, -0.024934977293014526, 0.5767398476600647, 0.17069093883037567, 0.17511840164661407, -0.6115235686302185, 0.24203063547611237, -0.02009718120098114, 0.07850734889507294, -0.020192282274365425, 0.4601093828678131, -0.013823598623275757, 0.5632495284080505, 0.9323872327804565, 0.05010802298784256, -0.020403752103447914, 0.3804951012134552, 0.9730798602104187, -0.4997785687446594, -0.2990197241306305, -0.7549454569816589, 0.7507042288780212, -0.35923585295677185, -0.3986457884311676, 0.40986913442611694, 0.29923900961875916, 0.7866260409355164, -0.3309746980667114, 0.7890525460243225, 0.21198058128356934, -0.07721156626939774, -1.060530185699463, 0.6704670190811157, -0.8803192973136902, 0.1337164044380188, -0.40306970477104187, -0.728668212890625, -0.6499419808387756, 0.572160542011261, -0.29066240787506104, -0.11259324103593826, 0.5945335030555725, 0.8065834641456604, -0.22038893401622772, -0.20405545830726624, 0.5783951282501221, 0.07529827952384949, 0.19597117602825165, 0.5723889470100403, 0.9965016841888428, -0.1176360622048378, 0.5047218799591064, -0.13739122450351715, -0.17544512450695038, -0.10383839905261993, -1.2298942804336548, -0.9897304773330688, -0.5276618003845215, -0.3024180829524994, -0.09538688510656357, -0.08313195407390594, 0.5719606280326843, 0.49370235204696655, -0.3610507547855377, 0.11611964553594589, -0.2112267017364502, 0.15951989591121674, -0.10000152885913849, -0.19060413539409637, 0.060215916484594345, -0.4046574831008911, -0.5497585535049438, 0.32233506441116333, 0.3743739426136017, 0.22709715366363525, -0.09848882257938385, -0.1987723857164383, -0.36733368039131165, -0.1491120308637619, 0.7939424514770508, -0.056365519762039185, -1.1052271127700806, -0.14889812469482422, -0.021397292613983154, -0.13505233824253082, -0.07393776625394821, 0.5205699801445007, -0.7684038877487183, 0.5991010069847107, 0.6394541263580322, 0.5599755644798279, 0.36136823892593384, -0.16948427259922028, 0.5010161995887756, -0.784182071685791, 0.25212574005126953, 0.19343097507953644, 0.5856528282165527, 0.6865142583847046, -0.05483347922563553, 0.18320722877979279, 0.3335396945476532, -0.01662667654454708, -0.6914714574813843, 0.4396240711212158, -1.152539849281311, -0.4988642930984497, 1.3299623727798462, 0.06036415696144104, -0.28601130843162537, 0.03842490538954735, -0.2550239861011505, 0.10194095224142075, -0.41040685772895813, 0.29548779129981995, 0.539361298084259, 0.11922662705183029, -0.861449122428894, -0.37965506315231323, 0.1457987278699875, 0.5219749212265015, -1.0071840286254883, 0.056935522705316544, 0.9406917691230774, -0.054354310035705566, 0.20515187084674835, 0.5472553372383118, 0.05212092027068138, 0.4928421974182129, 0.20382153987884521, 0.06446103006601334, -0.20834030210971832, -0.3988000452518463, -0.26092517375946045, -0.002647272078320384, -0.09270956367254257, -0.1078626960515976 ]
http://arxiv.org/abs/2406.13618v1
http://arxiv.org/pdf/2406.13618v1
In-Context Former: Lightning-fast Compressing Context for Large Language Model
2024-06-19T15:14:55
2024-06-19T15:14:55
Xiangfeng Wang, Zaiyi Chen, Zheyong Xie, Tong Xu, Yongyi He, Enhong Chen
cs.CL
cs.CL
With the rising popularity of Transformer-based large language models (LLMs), reducing their high inference costs has become a significant research focus. One effective approach is to compress the long input contexts. Existing methods typically leverage the self-attention mechanism of the LLM itself for context compression. While these methods have achieved notable results, the compression process still involves quadratic time complexity, which limits their applicability. To mitigate this limitation, we propose the In-Context Former (IC-Former). Unlike previous methods, IC-Former does not depend on the target LLMs. Instead, it leverages the cross-attention mechanism and a small number of learnable digest tokens to directly condense information from the contextual word embeddings. This approach significantly reduces inference time, which achieves linear growth in time complexity within the compression range. Experimental results indicate that our method requires only 1/32 of the floating-point operations of the baseline during compression and improves processing speed by 68 to 112 times while achieving over 90% of the baseline performance on evaluation metrics. Overall, our model effectively reduces compression costs and makes real-time compression scenarios feasible.
[ -0.4133226275444031, -0.5871680974960327, 0.5435911417007446, 0.2069046050310135, -0.432772696018219, -0.1072043776512146, -0.49807968735694885, -0.5223737359046936, 0.10446581989526749, 0.3853738605976105, -0.4519144594669342, 0.056820083409547806, -0.34107351303100586, -0.037348926067352295, -0.5886478424072266, 0.6771217584609985, -0.011098561808466911, -0.23320017755031586, -0.15109345316886902, 0.053793735802173615, -0.43102383613586426, -0.7018691301345825, -0.583385169506073, -0.32237666845321655, 0.35389313101768494, 0.38602522015571594, 0.3805556893348694, 0.5100268721580505, 0.37589722871780396, 0.25845006108283997, -0.20908059179782867, -0.21562312543392181, -0.7105090022087097, 0.165439635515213, -0.025123411789536476, -0.34724435210227966, -0.34878334403038025, -0.024025455117225647, 0.6356157064437866, 0.6571287512779236, -0.0033564174082130194, 0.2774021029472351, 0.23680736124515533, 0.615870475769043, -0.8585370779037476, -0.012450632639229298, -0.755740761756897, 0.1863355040550232, -0.1363528072834015, -0.547713577747345, -0.811296284198761, 0.13186809420585632, -0.1108539029955864, -0.1701527237892151, 0.15386389195919037, 0.18875131011009216, 0.49703776836395264, 0.36396288871765137, -0.2045084536075592, 0.26751965284347534, -0.8216221928596497, 0.8619523048400879, -0.7475415468215942, 0.602319061756134, 0.10916334390640259, 0.31201377511024475, -0.0994625836610794, -1.0612176656723022, -0.7388245463371277, 0.07411117106676102, -0.05224940925836563, -0.0675874575972557, -0.114932581782341, 0.04597800597548485, 0.38819536566734314, 0.47689512372016907, -0.31691575050354004, 0.03331513702869415, 0.0598088800907135, -0.06681421399116516, 0.13016387820243835, 0.022560611367225647, 0.1595250517129898, -0.21164600551128387, -0.34369465708732605, -0.09029532968997955, -1.2570775747299194, 0.06989619880914688, -0.13404445350170135, 0.10935262590646744, -0.10535632073879242, 0.4312710464000702, -0.3398316502571106, 0.8054909706115723, 0.23652717471122742, -0.3964817225933075, 0.0433257520198822, -0.3691331446170807, -0.4438697099685669, 0.036994241178035736, 0.44243237376213074, 0.4267834424972534, -0.1012016087770462, -0.3938460052013397, -0.16147111356258392, 0.05422729626297951, 0.043153926730155945, -1.1842706203460693, 0.04859565198421478, 0.21131345629692078, -0.6461549997329712, 0.0782134011387825, -0.11179747432470322, -0.6569505929946899, 0.24276913702487946, -0.3772348165512085, 0.2757665812969208, -0.23321063816547394, 0.12427870184183121, 0.009943227283656597, 0.1198139563202858, 0.23543216288089752, 0.26041463017463684, -0.7335531115531921, 0.2705044746398926, 0.5912489891052246, 1.0024598836898804, 0.01564352586865425, -0.041732609272003174, -0.9583776593208313, 0.3630584180355072, 0.06953718513250351, 0.6019706130027771, -0.5601074695587158, -0.35892224311828613, -0.07342903316020966, -0.10601694136857986, 0.28851044178009033, -0.373302161693573, 0.5839525461196899, -0.6949798464775085, 0.10008861869573593, 0.03295992687344551, -0.6401104927062988, 0.11654993146657944, 0.12667186558246613, -0.45063748955726624, 1.1502302885055542, 0.24590465426445007, -0.8405359387397766, 0.31824517250061035, -0.2977922260761261, -0.628943145275116, 0.16150274872779846, -0.18151551485061646, -0.18162275850772858, 0.337051659822464, 0.5449637770652771, 0.6073507070541382, -0.5899871587753296, 0.25756391882896423, -0.2957450747489929, -0.7882922291755676, -0.0418611541390419, -0.4534963369369507, 0.5608838200569153, 0.09923502057790756, -0.5448998808860779, -0.13576456904411316, -0.5168271660804749, -0.07879264652729034, -0.002341005951166153, -0.5029894113540649, -0.43080225586891174, -0.14933162927627563, 0.019959354773163795, 0.5103197693824768, 0.1746217906475067, -0.5849601626396179, 0.3159274458885193, -0.6018036603927612, 0.6704602837562561, 0.5388340353965759, -0.18709957599639893, 0.5471529364585876, -0.04524035379290581, 0.41035008430480957, -0.15781311690807343, 0.30918100476264954, -0.3027823567390442, -0.07248518615961075, -1.0066652297973633, -0.3428769111633301, 0.3007946312427521, 0.25521788001060486, -0.9735000729560852, 0.6950830817222595, -0.7790442109107971, -0.4191817045211792, -0.2627165615558624, -0.14728854596614838, 0.4466596841812134, 0.7178061008453369, 0.39378711581230164, -0.011169318109750748, -0.44002267718315125, -0.8633176684379578, -0.14798706769943237, -0.03053298592567444, -0.11793587356805801, 0.3969591557979584, 0.29748857021331787, -0.1639298051595688, 1.045695424079895, -0.588254988193512, -0.05714556202292442, -0.32433566451072693, 0.2552579939365387, 0.33723828196525574, 0.4652101397514343, 0.5381366014480591, -0.8164333701133728, -0.5396232008934021, -0.28914985060691833, -0.2825639843940735, -0.2600213885307312, 0.002993335947394371, 0.09801359474658966, 0.0783749520778656, 0.8132416605949402, -0.6451036930084229, 0.5270056128501892, 0.7804906368255615, -0.11379388719797134, 0.331877201795578, -0.16688208281993866, 0.1514982134103775, -1.0096577405929565, 0.10803940147161484, -0.2008434683084488, -0.3972516655921936, -0.5283605456352234, 0.11765358597040176, 0.5412518382072449, -0.23332582414150238, -0.7923492789268494, 0.7109144926071167, -0.839937150478363, -0.07469738274812698, -0.27197322249412537, 0.11458718031644821, -0.1181875690817833, 0.6395419239997864, 0.06450829654932022, 0.9867045879364014, 0.4668515622615814, -0.6973451375961304, -0.05395647883415222, -0.08899322152137756, -0.5305113196372986, 0.37381619215011597, -0.5898690819740295, 0.30447760224342346, -0.256950318813324, 0.7036674618721008, -0.792528510093689, 0.06592799723148346, 0.03910673409700394, -0.015425908379256725, 0.4627908766269684, -0.21847201883792877, -0.7802461981773376, -0.3733985126018524, -0.4072665870189667, 0.8106688261032104, 0.5367639064788818, -0.8485304713249207, 0.5167853236198425, 0.1856147199869156, -0.019153719767928123, -0.5289351940155029, -0.8824324607849121, 0.43334221839904785, -0.31666120886802673, -0.4361093044281006, 0.9938095808029175, -0.4213232100009918, -0.19402287900447845, -0.10695475339889526, -0.14049308001995087, 0.19987641274929047, -0.1005450040102005, 0.07942236214876175, 0.06023038923740387, -0.11338353902101517, 0.09815304726362228, 0.14367364346981049, -0.13950467109680176, -0.38798317313194275, -0.1738281399011612, 0.7312983274459839, 0.3059816062450409, -0.0789634957909584, -0.40546277165412903, 0.5623666048049927, 0.6221420764923096, -0.058965906500816345, 0.8347364664077759, 0.23090234398841858, -0.4391395151615143, -0.2633172273635864, -0.6497493982315063, -0.3290618062019348, -0.4606955349445343, 0.2032497078180313, -0.34098345041275024, -1.1214994192123413, 0.24130961298942566, -0.21348634362220764, -0.0409059002995491, 0.20777198672294617, 0.4415542185306549, 0.27254101634025574, 0.7956995368003845, 0.6754636764526367, -0.4147646129131317, 0.8216306567192078, -0.12377278506755829, 0.5694535374641418, -1.0133024454116821, 0.0895654559135437, -0.5405758023262024, -0.3227071166038513, -0.024289174005389214, -0.5793711543083191, 0.5659077763557434, 0.0779133290052414, 0.1251124143600464, 0.5238075852394104, -0.34155911207199097, 0.485825777053833, 0.23172627389431, 0.09541479498147964, 0.1707492470741272, -0.05743473023176193, 0.1621273159980774, -0.0807751715183258, -0.8040309548377991, -0.03398672863841057, 0.7975368499755859, 0.22929516434669495, 0.760159969329834, 0.28491702675819397, 0.5060474872589111, 0.11079438030719757, 0.6359307169914246, -0.9002392292022705, 0.5652691125869751, -0.1093917191028595, -0.31929364800453186, -0.12807317078113556, -0.4625566303730011, -0.7956616282463074, 0.2400253862142563, -0.08552379161119461, -0.969882607460022, -0.004588112235069275, 0.11357415467500687, -0.5014364719390869, 0.13756577670574188, -0.6682217717170715, 0.3962959051132202, 0.05651715770363808, -0.3417183458805084, -0.2999327480792999, -0.7042179703712463, 0.41135066747665405, -0.16940180957317352, 0.2749026417732239, 0.24464084208011627, -0.13837486505508423, 0.5357697010040283, -0.705432116985321, 0.8813483715057373, 0.008183097466826439, -0.10490124672651291, 0.0773090273141861, -0.018566705286502838, 0.7998837828636169, 0.08330866694450378, 0.14459675550460815, -0.0671614333987236, -0.3419596254825592, -0.12341344356536865, -0.9127139449119568, 0.8972616791725159, -0.24959096312522888, -0.5024944543838501, -0.09927850216627121, -0.6212872862815857, -0.2352881282567978, 0.045582957565784454, 0.4754750430583954, 1.047206997871399, 0.06346433609724045, 0.5589520335197449, 0.6476162075996399, 0.014020216651260853, 0.9952386021614075, 0.38050204515457153, -0.037502072751522064, -0.3764129877090454, 0.3332037627696991, 0.18955406546592712, 0.18869493901729584, 0.8126188516616821, 0.16053497791290283, -0.3240475654602051, -0.5074223279953003, -0.2397771179676056, 0.3348897099494934, -0.7030525803565979, -0.5368252992630005, -0.7988680005073547, -0.06327594071626663, -0.5847723484039307, -0.40701067447662354, -0.3884578347206116, -0.336984783411026, -0.24686183035373688, 0.3109318017959595, 0.02856745384633541, 0.2336464524269104, 0.2576426565647125, 0.695829451084137, -0.8643789887428284, 0.3821489214897156, 0.23204636573791504, 0.27346962690353394, 0.20419363677501678, -0.6889188885688782, -0.4889480769634247, -0.3113437592983246, 0.09052668511867523, -0.6811847686767578, 0.4367772042751312, 0.35782086849212646, 0.39894264936447144, 0.48372021317481995, 0.23281072080135345, 0.9041832685470581, -0.6167797446250916, 0.9205397963523865, 0.2534627318382263, -1.2032856941223145, 0.2390381246805191, 0.15453492105007172, 0.635917603969574, 0.41715726256370544, 0.14531847834587097, -0.5299771428108215, -0.317950963973999, -0.5736430883407593, -1.1149885654449463, 0.5297953486442566, 0.24908298254013062, 0.12436315417289734, -0.06349311769008636, 0.6465353965759277, 0.04803575202822685, 0.11047881096601486, -0.8859022855758667, -0.3144700825214386, 0.2035266011953354, -0.1169714480638504, -0.2920219898223877, -0.6146945357322693, 0.05741918087005615, -0.45267578959465027, 0.5617130994796753, -0.18898971378803253, 0.3314235508441925, 0.4184129238128662, -0.52092444896698, 0.18558625876903534, 0.28839290142059326, 0.5332691669464111, 0.37464940547943115, -0.12228032201528549, 0.528343677520752, 0.14162442088127136, -0.2698018252849579, 0.2685152590274811, -0.02523174323141575, -0.15719133615493774, -0.16513879597187042, 0.40275850892066956, 0.5964232087135315, 0.6820849180221558, -0.6505522727966309, 0.6483889222145081, -0.40535685420036316, 0.17716848850250244, -0.3029727637767792, -0.0792669877409935, -0.11269161105155945, 0.24661797285079956, 0.4305604100227356, -0.17056848108768463, 0.37738895416259766, -0.5941147804260254, 0.14142164587974548, 0.2319057434797287, -0.16167324781417847, -0.22171053290367126, 0.5097180008888245, 0.13719043135643005, -0.20100873708724976, 0.37555059790611267, 0.043122485280036926, -0.4401055872440338, 0.18847469985485077, 0.8197059035301208, 0.8428691029548645, -0.1362544447183609, -0.326712965965271, 0.3335822820663452, 0.029323875904083252, -0.2821926474571228, 0.01318146288394928, -0.5285573601722717, -0.5926510095596313, -0.7806793451309204, -0.38655343651771545, -0.13175871968269348, 0.2876133918762207, -0.4032418727874756, 0.30008700489997864, -0.2672519385814667, -0.19994036853313446, -0.31764906644821167, -0.23682157695293427, -0.5631300806999207, 0.3746087849140167, -0.09387938678264618, 1.1286895275115967, -0.5657637715339661, 1.0249942541122437, 0.23743270337581635, -0.04605294018983841, -0.6248250603675842, 0.3278529644012451, -0.27250081300735474, -0.2991667091846466, 0.6984306573867798, 0.40612974762916565, -0.4399319589138031, 0.02999313734471798, -0.6971699595451355, -1.0833464860916138, 0.8907660245895386, 0.5101456642150879, -0.8468128442764282, -0.07485084980726242, -0.22980956733226776, 0.5067220330238342, -0.3642024099826813, 0.21729908883571625, 0.5045955181121826, 0.35748574137687683, -0.03831944987177849, -0.7087029814720154, 0.2723633050918579, -0.15042303502559662, 0.07779692113399506, 0.41967150568962097, -0.7290636301040649, 0.7741928100585938, 0.21126583218574524, -0.37337785959243774, 0.0676654577255249, 0.8906450867652893, -0.12688736617565155, -0.13217699527740479, 0.712570309638977, 0.6260486841201782, 0.35465478897094727, 0.1596064567565918, 1.151003122329712, -0.6036617755889893, 0.4351021647453308, 1.1398543119430542, -0.15330132842063904, 0.9765602350234985, 1.0044243335723877, 0.008551499806344509, 0.3164532482624054, 0.46117785573005676, 0.5132991075515747, 0.6948150396347046, 0.159059539437294, -0.37775808572769165, -0.2165270894765854, -0.2371663749217987, -0.3095405101776123, 0.3825559914112091, 0.18851643800735474, -0.32397887110710144, -0.1327304244041443, -0.045528046786785126, 0.2841934263706207, -0.20504571497440338, -0.19289319217205048, 0.4668734669685364, 0.16325601935386658, -0.8320589065551758, 0.6445999145507812, -0.05181039869785309, 0.9393371343612671, -0.4454634189605713, 0.0352933444082737, -0.2751971185207367, 0.031042566522955894, 0.06442490220069885, -0.46279963850975037, 0.30526331067085266, -0.02189095877110958, -0.223969504237175, -0.44451385736465454, 0.5763754844665527, -0.5416225790977478, -0.25791066884994507, 0.4640698730945587, 0.23643624782562256, 0.1377890259027481, -0.2574908435344696, -0.27303048968315125, 0.20200085639953613, -0.1770063042640686, -0.4032996892929077, 0.3134170472621918, 0.3528924584388733, 0.1218537911772728, 0.655669629573822, 0.4128331243991852, 0.11596500873565674, -0.24791176617145538, 0.0524245947599411, 1.1077709197998047, -0.7063779234886169, -0.6544409990310669, -0.8290819525718689, 0.4652189016342163, -0.06829632818698883, -0.20280133187770844, 0.5298461318016052, 0.5034605264663696, 0.76466965675354, -0.013577880337834358, 0.530795156955719, -0.06484463810920715, 0.29179084300994873, -0.8666733503341675, 0.5015982985496521, -0.8399611115455627, 0.12858371436595917, -0.3845086693763733, -1.0121986865997314, -0.5424507856369019, 0.23844541609287262, -0.10965409129858017, -0.08472757786512375, 0.9662494659423828, 0.5750230550765991, -0.23777414858341217, -0.3504194915294647, 0.3933853209018707, 0.03681086003780365, 0.33391398191452026, 0.5858446955680847, 0.541258692741394, -0.40790703892707825, 0.5567168593406677, -0.45260775089263916, -0.2680518627166748, -0.47896963357925415, -1.2499001026153564, -0.8338994383811951, -0.5282924175262451, -0.23083797097206116, -0.11208376288414001, -0.3017590045928955, 0.9040110111236572, 1.0241718292236328, -0.4206993877887726, 0.06853692978620529, 0.033596254885196686, -0.18779310584068298, -0.2050200253725052, -0.22398506104946136, 0.39794009923934937, -0.06286071985960007, -0.7900815010070801, 0.7249661087989807, 0.48122093081474304, 0.044654250144958496, -0.19295606017112732, 0.04637443274259567, 0.07154580950737, 0.01948719285428524, 0.9108352065086365, 0.01065964624285698, -0.6618239283561707, -0.5589333176612854, -0.20444530248641968, 0.024556992575526237, 0.2440723329782486, 1.1926156282424927, -1.0401166677474976, 0.29225048422813416, 0.6182893514633179, 0.5912849307060242, 0.7796010375022888, -0.03734361752867699, 0.56805020570755, -0.8325577974319458, 0.7105074524879456, 0.09324686229228973, 0.8516322374343872, 0.3940018117427826, -0.6614100933074951, 0.39568495750427246, 0.2150869220495224, -0.4844299852848053, -0.7543291449546814, 0.24812844395637512, -0.9288850426673889, -0.39193254709243774, 1.1250807046890259, -0.2100638896226883, -0.4432666599750519, 0.06186670809984207, -0.29230672121047974, 0.4278009831905365, -0.5506748557090759, 0.7840869426727295, 0.5212304592132568, -0.06426569074392319, -0.3523062467575073, -0.15336550772190094, 0.3663479685783386, 0.46548381447792053, -0.859740674495697, 0.12575942277908325, 0.46717092394828796, -0.016487402841448784, 0.041426148265600204, 0.5510228276252747, -0.002219294896349311, -0.04348105192184448, -0.02248936891555786, 0.11476422846317291, 0.24682289361953735, -0.5953062772750854, -0.44248202443122864, 0.37600067257881165, -0.19485850632190704, 0.1453903466463089 ]
http://arxiv.org/abs/2406.13617v1
http://arxiv.org/pdf/2406.13617v1
Optimizing Psychological Counseling with Instruction-Tuned Large Language Models
2024-06-19T15:13:07
2024-06-19T15:13:07
Wenjie Li, Tianyu Sun, Kun Qian, Wenhong Wang
cs.CL
cs.CL, cs.AI
The advent of large language models (LLMs) has significantly advanced various fields, including natural language processing and automated dialogue systems. This paper explores the application of LLMs in psychological counseling, addressing the increasing demand for mental health services. We present a method for instruction tuning LLMs with specialized prompts to enhance their performance in providing empathetic, relevant, and supportive responses. Our approach involves developing a comprehensive dataset of counseling-specific prompts, refining them through feedback from professional counselors, and conducting rigorous evaluations using both automatic metrics and human assessments. The results demonstrate that our instruction-tuned model outperforms several baseline LLMs, highlighting its potential as a scalable and accessible tool for mental health support.
[ -0.3444424271583557, -0.899370551109314, 0.9098629951477051, 0.4734486937522888, -0.021137777715921402, 0.05983256176114082, -0.6747874021530151, -0.03281061351299286, 0.0021470398642122746, 0.46979212760925293, -1.167871356010437, -0.5837265849113464, -0.5737360715866089, 0.23526382446289062, 0.18871936202049255, 0.9057957530021667, 0.01064840517938137, 0.5339679718017578, -0.0981445163488388, 0.3370670676231384, -0.7922088503837585, -0.22959813475608826, -1.0070617198944092, -0.4614414572715759, 0.5288756489753723, 0.4606861174106598, 0.5141054391860962, 0.5807238221168518, 0.48364633321762085, 0.2644820213317871, 0.0045332638546824455, 0.4646550714969635, -0.6030901670455933, 0.2612454891204834, -0.049533404409885406, -0.4958376884460449, -0.6715229153633118, 0.03391703590750694, 0.5454772114753723, 0.821780800819397, -0.5259175300598145, 0.26600465178489685, 0.040303174406290054, 0.4998217225074768, -0.6380617618560791, 0.08365388959646225, -0.43990206718444824, 0.16724911332130432, 0.1479012370109558, -0.3649351894855499, -0.6340487599372864, -0.4535641074180603, 0.22491534054279327, -0.5925821661949158, 0.11240492761135101, 0.08800183981657028, 0.30419501662254333, 0.4420340657234192, -0.45079827308654785, -0.2996586263179779, -0.6420689225196838, 0.8333919644355774, -0.5536929965019226, 0.4109582304954529, 0.6527752876281738, 0.3093734383583069, -0.4963318705558777, -0.4449421763420105, 0.14568936824798584, -0.3497658371925354, 0.07012086361646652, 0.11268005520105362, -0.29267075657844543, 0.3226993680000305, 0.5476173162460327, 0.3600509762763977, -0.41108542680740356, 0.3879503011703491, -0.03376201167702675, -0.020160790532827377, 0.7100113034248352, 0.7339992523193359, 0.1861216127872467, 0.3549216687679291, 0.25965777039527893, 0.1481153964996338, -0.40554022789001465, 0.04132736474275589, 0.14279012382030487, 0.331917941570282, -0.09794536978006363, 0.6103638410568237, 0.04640985280275345, 0.8697718381881714, 0.5405850410461426, -0.4948652386665344, -0.42740941047668457, 0.28872811794281006, -0.2613571584224701, 0.04992450028657913, 0.4650319516658783, 0.6849525570869446, 0.27051323652267456, -0.26635703444480896, -0.10522373765707016, -0.009028211236000061, 0.4846830368041992, -0.8112887144088745, -0.17772087454795837, 0.05280149728059769, -0.3256685137748718, 0.0835697203874588, -0.4102882444858551, -0.900234580039978, -0.61583411693573, -0.8327152132987976, 0.04273258149623871, -0.5020334720611572, 0.16870620846748352, 0.355635404586792, 0.09557643532752991, 0.13532064855098724, 0.3072511851787567, -1.0757267475128174, 0.29415327310562134, 0.7131091356277466, 0.882233738899231, 0.012582789175212383, 0.15339230000972748, -0.7095553278923035, 0.215389221906662, -0.4208877682685852, 0.6352815628051758, -1.0189282894134521, -0.5029163956642151, 0.2575068771839142, 0.07155536860227585, 0.14966610074043274, -0.43424779176712036, 0.6375485062599182, -0.20866021513938904, 0.2726394832134247, -0.42982396483421326, -0.8465140461921692, 0.2500665783882141, 0.24467380344867706, -0.2787182629108429, 0.7482550144195557, 0.46942338347435, -0.42616772651672363, 0.14367982745170593, -0.6650876402854919, -0.3394359052181244, 0.06088299676775932, 0.031686313450336456, 0.023904597386717796, 0.4591350555419922, 0.45898714661598206, 0.4245041310787201, -0.6175564527511597, 0.035109397023916245, -0.4372231364250183, -0.5567379593849182, 0.4033186435699463, -0.34756240248680115, 0.3659566342830658, 0.14720331132411957, -0.057939313352108, 0.21639898419380188, -0.7405253648757935, 0.22591471672058105, -0.07094049453735352, -0.5759879350662231, -0.24579444527626038, -0.1398877501487732, -0.08928221464157104, -0.15303394198417664, 0.21475426852703094, -0.46866726875305176, 0.30893388390541077, -0.5229610204696655, 0.27172812819480896, 0.8117440342903137, 0.1208624392747879, 0.3869782090187073, -0.14256076514720917, 0.9335699081420898, -0.43738752603530884, 0.11428605020046234, -0.34550800919532776, -0.266486793756485, -0.4874337315559387, -0.689180314540863, -0.3284842371940613, 0.5301612615585327, -0.3050612807273865, 0.7081976532936096, 0.2102769911289215, -0.4786852300167084, -0.7357243299484253, 0.24632906913757324, 0.20417168736457825, 0.4399171769618988, 0.2589264512062073, 0.12083200365304947, -0.5832069516181946, -0.7499323487281799, -0.46584373712539673, 0.4546583294868469, -0.19926758110523224, 0.2727581858634949, -0.10047061741352081, -0.34971415996551514, 0.8080891370773315, -0.8901358842849731, -0.000014436244782700669, -0.11603491008281708, 0.03915843367576599, 0.27513253688812256, 0.11059205234050751, 0.4616021513938904, 0.060749225318431854, -0.6736580729484558, -0.1914258897304535, -0.6199489831924438, -0.5592676401138306, -0.06227029114961624, -0.35992470383644104, -0.16083870828151703, 0.402390718460083, -0.2950800955295563, 0.012531044892966747, 0.36770424246788025, -0.5196160078048706, 0.529987633228302, -0.44182243943214417, -0.0723973959684372, -0.8969609141349792, -0.37238413095474243, 0.2599722743034363, -0.2942888140678406, -0.49928396940231323, -0.12237001955509186, -0.07372026145458221, -0.23308603465557098, 0.01578076370060444, 0.32050415873527527, -0.4343230724334717, 0.38841432332992554, -0.6337012648582458, 0.10833805799484253, -0.28040647506713867, 0.4426974356174469, -0.2374710589647293, 0.7657638788223267, 0.7023816108703613, -0.4254022240638733, 0.7070318460464478, 0.2181360423564911, -0.1263675093650818, 1.0088474750518799, -0.49814414978027344, 0.29770365357398987, -0.27028876543045044, 0.48419323563575745, -0.509676456451416, -0.4332948327064514, 0.16237099468708038, 0.2884959876537323, 0.42155542969703674, 0.11198601871728897, -0.27856960892677307, -0.4120393395423889, -0.146499365568161, 0.08525063097476959, 0.43118977546691895, -0.4791516363620758, 0.4118432104587555, 0.2133447676897049, -0.3782360553741455, -0.24956372380256653, -0.2592851221561432, 0.07581731677055359, -0.3654538691043854, -0.4106866717338562, 0.2528870105743408, -0.23512491583824158, -0.23872295022010803, -0.27747195959091187, 0.076351597905159, 0.23676912486553192, 0.004161401651799679, 0.3807222545146942, 0.23891118168830872, -0.2027255743741989, 0.43798890709877014, 0.3836446702480316, -0.21657466888427734, 0.3731590211391449, -0.4047671854496002, 0.6985294818878174, -0.3229040205478668, -0.37444645166397095, -0.5210233926773071, 0.6679280400276184, 0.4341440796852112, -0.18367896974086761, 0.9225355386734009, 0.797908365726471, -0.4149440824985504, -0.2799437940120697, -0.6000280976295471, -0.4191870093345642, -0.5239992737770081, 0.5018281936645508, -0.016750333830714226, -1.1221851110458374, 0.08799181878566742, -0.2408105432987213, 0.03146388381719589, -0.22755122184753418, 0.7146934270858765, -0.08771352469921112, 1.7299169301986694, 0.6253644824028015, 0.10287366807460785, 0.7550243139266968, 0.03298104554414749, 0.43175244331359863, -0.8721445798873901, -0.033853765577077866, -0.21266105771064758, -0.4182179570198059, -0.4936465322971344, -0.23980863392353058, 0.5229344964027405, 0.007174535188823938, -0.7817903161048889, -0.3016304671764374, -0.5786213874816895, 0.4629911780357361, 0.27883538603782654, 0.5122029185295105, 0.08401423692703247, 0.0045118252746760845, -0.10254669189453125, -0.5934817790985107, -0.35286685824394226, -0.7126707434654236, 0.8944149017333984, 0.5429996252059937, 1.1107096672058105, 0.053517378866672516, 0.3918936848640442, -0.016035690903663635, 0.6394932866096497, -1.0229413509368896, 0.38012224435806274, -0.16841399669647217, -0.39630046486854553, -0.24357998371124268, -0.2904047966003418, -0.8273536562919617, 0.011793890967965126, -0.2512388229370117, -1.1529784202575684, -0.15529339015483856, 0.15030734241008759, -0.42678302526474, -0.16728036105632782, -0.62111496925354, 0.5920081734657288, -0.5445612668991089, -0.13454881310462952, -0.5395525097846985, -0.2395080327987671, 0.32721883058547974, -0.2972725033760071, -0.023060496896505356, -0.3987116813659668, -0.1274670660495758, 0.5741199254989624, -0.41164079308509827, 0.7839189767837524, -0.18882691860198975, -0.4772281050682068, -0.12092037498950958, -0.05257885530591011, 0.384336918592453, 0.21743254363536835, -0.237572580575943, -0.8441246747970581, 0.20421116054058075, -0.32782870531082153, -1.1514918804168701, 0.6417524218559265, -0.8016980886459351, -0.9029209017753601, 0.11845115572214127, -0.9539901614189148, -0.8869068026542664, 0.028253084048628807, 0.18605220317840576, 0.44145774841308594, -0.27279967069625854, -0.060447730123996735, 0.6865565180778503, -0.4727557599544525, 0.05884262174367905, 0.8244401812553406, -0.3931579291820526, -0.47835955023765564, 0.6726092100143433, -0.14033012092113495, 0.08336099982261658, 0.008990010246634483, 0.4214399755001068, -0.36026081442832947, 0.03703383356332779, 0.001465673791244626, 0.5783584117889404, -0.9440271258354187, -0.22854502499103546, -0.4648396372795105, 0.19930115342140198, -0.5082066655158997, -0.4997199475765228, -0.24796044826507568, 0.08068329095840454, -0.3333102762699127, -0.2314189225435257, 0.7927874326705933, 0.6359702944755554, 0.05447092652320862, 0.7052561640739441, -0.9861501455307007, 0.11347725242376328, 0.19604259729385376, 0.5082968473434448, 0.22843718528747559, -0.6162527799606323, -0.39160043001174927, 0.08376099914312363, -0.47205471992492676, -1.120285987854004, 0.320853054523468, 0.3439972996711731, 0.5842154622077942, 0.718721866607666, 0.08707329630851746, 0.9973793029785156, -0.5134601593017578, 0.44721657037734985, 0.20073528587818146, -0.9205178022384644, 0.8644428253173828, -0.5326410531997681, 0.4692517817020416, 0.47242674231529236, 0.5001163482666016, -0.6836550831794739, -0.4168723225593567, -0.1454342007637024, -0.5623666644096375, 0.8685437440872192, -0.4287106990814209, 0.48635926842689514, -0.13992317020893097, 0.7369670867919922, -0.16227248311042786, 0.028394389897584915, -0.3506239652633667, -0.08767245709896088, 0.19174030423164368, -0.6403523683547974, 0.08474461734294891, -0.17647773027420044, -0.5558278560638428, -0.44736653566360474, 0.660903811454773, -0.2692427337169647, 0.41552823781967163, -0.0669407919049263, 0.21253561973571777, -0.5859702229499817, 0.34081941843032837, 0.4317782521247864, 0.49876895546913147, -0.047276318073272705, -0.12817153334617615, 0.4683992862701416, -0.43595466017723083, 0.33035987615585327, -0.08831922709941864, 0.27061527967453003, -0.2705205976963043, 0.3743898868560791, 1.0749961137771606, 0.40985655784606934, -0.8375603556632996, 0.1873658150434494, -0.25234919786453247, 0.08516063541173935, -0.09449173510074615, 0.417763888835907, 0.2195274829864502, 0.5263572931289673, -0.014596350491046906, -0.6003457307815552, -0.07447873055934906, -0.543444037437439, -0.1412373185157776, 0.40623316168785095, -0.5570917129516602, -0.09113401919603348, 0.3288092017173767, 0.083647221326828, -0.7351091504096985, 0.8240891695022583, 0.11595269292593002, -0.20387251675128937, 0.23603776097297668, 1.1044175624847412, 0.7484286427497864, -0.26879575848579407, 0.20890481770038605, 0.1631457507610321, 0.00567279476672411, -0.22458262741565704, 0.4408247470855713, 0.06695728003978729, -0.3505159318447113, -0.475469172000885, -0.7336484789848328, -0.43627458810806274, 0.1768118143081665, -1.1643040180206299, 0.3230206370353699, -0.6725530624389648, -0.5114401578903198, -0.3054487109184265, -0.035369329154491425, -0.7767342329025269, 0.15859507024288177, 0.2729775607585907, 1.0031884908676147, -0.7479128837585449, 0.4711116850376129, 0.99580317735672, 0.030166085809469223, -1.0623619556427002, -0.0428500697016716, 0.11358349025249481, -0.7138973474502563, 0.23879306018352509, 0.19046971201896667, -0.20463824272155762, 0.1362772136926651, -0.5249192714691162, -0.7271031141281128, 0.8793802261352539, 1.07111656665802, -0.6903366446495056, -0.18497824668884277, 0.11665813624858856, 0.8498573303222656, -0.6440345644950867, 0.3415852189064026, 1.0601141452789307, 0.6079884171485901, -0.16889965534210205, -0.5768241286277771, 0.16290441155433655, -0.12175969034433365, 0.10786586999893188, 0.026099026203155518, -0.47699180245399475, 0.24545630812644958, -0.05843891575932503, 0.06078358739614487, 0.1257363259792328, 0.4929487705230713, 0.40963608026504517, -0.050903476774692535, 0.36948272585868835, 0.229460209608078, 1.179955005645752, 0.007788828108459711, 0.8963934779167175, -0.4171406328678131, 0.19366276264190674, 1.131014108657837, -0.2439815253019333, 0.5996525883674622, 0.33057036995887756, -0.18101535737514496, 0.39184945821762085, 0.9246234893798828, -0.2919410467147827, 0.26320382952690125, 0.2882905602455139, -0.490802139043808, -0.4788636267185211, -0.5457579493522644, -0.10165639966726303, 0.35141822695732117, 0.7444400191307068, -0.5072438716888428, -0.0838993638753891, 0.33424317836761475, -0.033506862819194794, 0.26652127504348755, -0.4318176805973053, 0.6140052080154419, 0.49789804220199585, -0.8480427861213684, 0.4905983805656433, 0.18665838241577148, 0.28764283657073975, -0.5346533060073853, 0.06763000786304474, -0.1743004471063614, 0.3009658455848694, -0.24864764511585236, -0.49639907479286194, 0.1564590036869049, 0.4519882798194885, -0.3249590992927551, -0.35528165102005005, 0.4768295884132385, -0.4241259694099426, -0.7651329040527344, 0.4118199944496155, 0.3764752745628357, -0.10208083689212799, 0.06087055802345276, -0.522219181060791, -0.15660139918327332, -0.34264326095581055, -0.22863836586475372, 0.43453335762023926, 0.5993636846542358, 0.06485714763402939, 0.6616412401199341, 0.4601784646511078, 0.2119985818862915, 0.007079047150909901, 0.5435577034950256, 0.7295162081718445, -0.6314737796783447, -0.49115094542503357, -0.8655930757522583, 0.22428980469703674, -0.006680804304778576, -0.2960408329963684, 0.7631933689117432, -0.003896163310855627, 0.2126418650150299, 0.008469837717711926, 0.5726501941680908, 0.4290923476219177, 0.45041102170944214, -0.4737239480018616, 0.23973318934440613, -0.4692055583000183, 0.37587684392929077, -0.1291707456111908, -0.9519580006599426, -0.2693641781806946, 0.7289918065071106, -0.6929132342338562, 0.07513590157032013, 0.5050472021102905, 0.9650900959968567, 0.11718249320983887, 0.23252138495445251, 0.25821131467819214, 0.009573882445693016, 0.46478232741355896, 0.5294104814529419, 1.114108920097351, 0.2838980555534363, 0.14279785752296448, -0.05098498985171318, -0.39691799879074097, -0.08999840170145035, -0.7219103574752808, -1.0683389902114868, -0.03282438963651657, -0.1865118145942688, -0.1280171275138855, -0.015843717381358147, 1.4960654973983765, 0.49469947814941406, -0.5413651466369629, -0.20884332060813904, 0.13516542315483093, -0.32614395022392273, -0.09970025718212128, -0.18358159065246582, 0.054399967193603516, -0.7715507745742798, -0.5625742077827454, 0.5491772294044495, 0.4384101331233978, -0.1577230989933014, -0.3934694528579712, -0.0915873721241951, 0.26417404413223267, 0.3872164487838745, 0.503376305103302, -0.1874246597290039, -0.7746471166610718, -0.25214821100234985, 0.18753567337989807, -0.18301454186439514, -0.01674775779247284, 1.1451523303985596, -0.24520893394947052, 0.3824065327644348, 0.11122848838567734, 0.7192119359970093, 0.18643046915531158, 0.09450884163379669, 1.1390849351882935, -0.7278090119361877, -0.0476938858628273, 0.10005184262990952, 0.34282878041267395, 0.36423391103744507, -0.83039391040802, 0.2726266384124756, -0.2523193955421448, -0.6199359893798828, -0.7826484441757202, 0.2210334837436676, -0.6221845149993896, -0.2777121961116791, 1.0354036092758179, -0.43036705255508423, 0.03926904872059822, -0.03966725990176201, -0.5832934975624084, 0.5447084307670593, -0.39127451181411743, 0.9006133079528809, 0.8568399548530579, -0.5359304547309875, -0.4420321583747864, -0.32325464487075806, 0.42495089769363403, 0.5582247376441956, -0.7876051664352417, 0.1710774153470993, 0.5003393292427063, 0.2061297595500946, -0.29120689630508423, 0.4030725955963135, 0.20028090476989746, 0.16144433617591858, -0.3378256559371948, -0.40101176500320435, 0.1730184108018875, 0.033049214631319046, -0.6087563633918762, -0.14236988127231598, 0.3118652403354645, 0.3930533230304718 ]
http://arxiv.org/abs/2406.13578v1
http://arxiv.org/pdf/2406.13578v1
Enhancing Distractor Generation for Multiple-Choice Questions with Retrieval Augmented Pretraining and Knowledge Graph Integration
2024-06-19T14:12:05
2024-06-19T14:12:05
Han-Cheng Yu, Yu-An Shih, Kin-Man Law, Kai-Yu Hsieh, Yu-Chen Cheng, Hsin-Chih Ho, Zih-An Lin, Wen-Chuan Hsu, Yao-Chung Fan
cs.CL
cs.CL
In this paper, we tackle the task of distractor generation (DG) for multiple-choice questions. Our study introduces two key designs. First, we propose \textit{retrieval augmented pretraining}, which involves refining the language model pretraining to align it more closely with the downstream task of DG. Second, we explore the integration of knowledge graphs to enhance the performance of DG. Through experiments with benchmarking datasets, we show that our models significantly outperform the state-of-the-art results. Our best-performing model advances the F1@3 score from 14.80 to 16.47 in MCQ dataset and from 15.92 to 16.50 in Sciq dataset.
[ -0.7700570225715637, -0.9732037782669067, 0.6894482374191284, -0.11074025183916092, -0.29337120056152344, 0.18295828998088837, -0.03693460300564766, -0.44013482332229614, 0.1224299743771553, 0.5996181964874268, -0.5007477402687073, -0.1203971579670906, -0.681242823600769, 0.05422588437795639, -0.15418170392513275, 0.8467294573783875, -0.14500385522842407, 0.0584857352077961, -0.25187036395072937, 0.06962805986404419, -0.667115330696106, -0.6046172380447388, -0.6616779565811157, -0.0990409404039383, 0.779716432094574, 0.3157975971698761, 0.4308490753173828, 0.37766847014427185, 0.34500667452812195, 0.26401591300964355, 0.06507503986358643, 0.4930455982685089, -0.47156789898872375, 0.19727559387683868, -0.07980750501155853, -0.1807221919298172, -0.2022763341665268, 0.12304148077964783, 0.6029866337776184, 0.6283354759216309, 0.15600380301475525, -0.03281350061297417, 0.20316195487976074, 0.5544106960296631, -0.9373106360435486, -0.07629264891147614, -0.4459906220436096, -0.2108134925365448, -0.17347782850265503, -0.16101308166980743, -0.4795464277267456, -0.6242144703865051, 0.1935804784297943, -0.6782742142677307, -0.034654706716537476, 0.21313640475273132, 0.7466651201248169, 0.6710087060928345, -0.7162871360778809, -0.36351799964904785, -0.5823801755905151, 0.7532129287719727, -0.1970367431640625, 0.5064635276794434, 0.38471242785453796, 0.12511852383613586, -0.04375837743282318, -0.9459188580513, -0.47207528352737427, -0.33383551239967346, -0.31182780861854553, 0.3292687237262726, 0.034511201083660126, 0.1057458445429802, 0.37093737721443176, 0.295232355594635, -0.43305039405822754, -0.14123718440532684, -0.3966708183288574, -0.15546941757202148, 0.7199088931083679, 0.033469174057245255, 0.0980873852968216, -0.2063937932252884, -0.4128185510635376, 0.013784411363303661, -0.5140867829322815, -0.30228787660598755, 0.5363910794258118, 0.26447996497154236, 0.7310446500778198, 0.4144989252090454, -0.23404629528522491, 1.212217092514038, 0.36807480454444885, 0.0837322250008583, 0.3747999966144562, -0.6273161768913269, 0.2202567160129547, -0.09216606616973877, 0.8111018538475037, 0.10040345042943954, 0.3250682055950165, 0.08023396879434586, 0.07791252434253693, -0.3206779360771179, 0.42822781205177307, -0.8860323429107666, -0.5492661595344543, 0.2288295179605484, 0.00040979537880048156, -0.24306055903434753, -0.10557544231414795, -0.5874683260917664, -0.17978209257125854, -0.2848086953163147, 0.48324987292289734, -0.7050532698631287, -0.3822323977947235, -0.01457584835588932, -0.2603423595428467, -0.15628206729888916, 0.25202593207359314, -0.7010154128074646, 0.08905225247144699, 0.10557569563388824, 0.41386982798576355, -0.34703949093818665, -0.48465850949287415, -0.5603125095367432, 0.12763158977031708, -0.2853541374206543, 0.9924811124801636, -0.6106511950492859, -0.35813313722610474, -0.21963900327682495, -0.4516778886318207, -0.6240885257720947, -0.6253337264060974, 0.40610042214393616, -0.8480840921401978, 0.6677802205085754, -0.563862681388855, -0.6496864557266235, -0.3740590810775757, 0.34903910756111145, -0.7902030348777771, 1.497069239616394, 0.42993229627609253, -0.9522572755813599, 0.7444000244140625, -0.911962628364563, -0.3515878915786743, 0.2311004251241684, -0.10086939483880997, -0.06715023517608643, -0.3614809811115265, 0.46471285820007324, 0.1021602600812912, -0.012922879308462143, 0.3678639233112335, -0.26765069365501404, -0.3442291021347046, 0.18952855467796326, -0.06303699314594269, 0.6346051692962646, 0.25651097297668457, -0.02239714004099369, 0.062158942222595215, -0.6915192604064941, 0.3657482862472534, -0.11769818514585495, -0.4386965334415436, -0.4308356046676636, 0.06392764300107956, -0.18793851137161255, 0.7460586428642273, 0.20720182359218597, -0.4030472934246063, -0.11371621489524841, 0.04011614993214607, -0.026625191792845726, 0.5736262798309326, 0.2497699111700058, 0.22886690497398376, -0.4360326826572418, 0.623195469379425, 0.18087081611156464, 0.013930176384747028, 0.19055335223674774, -0.38980698585510254, -0.6570523381233215, -0.4864957928657532, 0.5152846574783325, 0.5636510848999023, -1.037095308303833, 0.47635751962661743, -0.02869446948170662, -0.35526126623153687, -0.40974971652030945, 0.06018291413784027, 0.3020409643650055, 0.8105337619781494, 0.6319568753242493, 0.0609268993139267, -0.6260395646095276, -0.4724239408969879, -0.32352954149246216, -0.009442449547350407, -0.01040793489664793, 0.5391950011253357, 0.4592985510826111, 0.1533038467168808, 1.0220460891723633, -0.9265300631523132, -0.10089060664176941, -0.2890491187572479, -0.03867721185088158, -0.09462574869394302, 0.5593509078025818, 0.6602352261543274, -0.9375112652778625, -0.7755711674690247, -0.3783546984195709, -0.5259206891059875, -0.053012918680906296, 0.30362528562545776, -0.46276190876960754, -0.25003811717033386, 0.5483466386795044, -0.40964773297309875, 0.1024426594376564, 0.04969504103064537, -0.23377560079097748, 0.7211294174194336, 0.21899138391017914, 0.34966233372688293, -1.1803576946258545, 0.27525246143341064, -0.36412352323532104, -0.14271116256713867, -1.038841962814331, -0.14457085728645325, -0.012716026045382023, 0.027192456647753716, -0.6601253151893616, 0.7517549991607666, -0.2518387734889984, 0.3917814791202545, -0.23342303931713104, 0.4893379807472229, 0.11453384906053543, 0.26856064796447754, 0.04579469934105873, 0.8327721357345581, 0.48389720916748047, -0.9867632389068604, 0.1727237105369568, 0.481317937374115, -0.3835112750530243, 0.46448203921318054, -0.4871886968612671, 0.2837669849395752, -0.2953173816204071, 0.03268379718065262, -1.1643688678741455, -0.39523616433143616, 0.359553724527359, -0.2861357629299164, 0.27401620149612427, 0.05847417190670967, -0.4354400336742401, -0.6526032090187073, -0.1406274437904358, 0.5241228938102722, 0.35300853848457336, -0.6862931251525879, 0.5655822157859802, 0.22003795206546783, -0.12401696294546127, -0.8866379857063293, -0.4178043305873871, -0.5381122827529907, -0.35839515924453735, -0.5467156767845154, 0.4396265149116516, -0.34619441628456116, -0.0394522100687027, -0.13528209924697876, 0.1559814214706421, -0.054720189422369, 0.026360303163528442, -0.15392854809761047, 0.2871403098106384, 0.004424162674695253, 0.43533915281295776, -0.01346701942384243, 0.0006306448485702276, -0.06332603096961975, -0.27305367588996887, 0.7407266497612, 0.39640575647354126, -0.3965642750263214, -0.008249889127910137, 0.3286972939968109, 0.2296898066997528, -0.4094529449939728, 0.5117648839950562, 0.6801548600196838, -0.21892860531806946, 0.051143452525138855, -0.840326189994812, -0.15739843249320984, -0.4988991618156433, 0.5310455560684204, -0.6053900122642517, -1.0960371494293213, 0.5347599983215332, -0.2949144244194031, -0.25586238503456116, 0.40976640582084656, 0.3442223072052002, 0.09472201019525528, 1.3556007146835327, 0.4507536292076111, 0.1832888126373291, 1.0284115076065063, 0.027715809643268585, 0.13400554656982422, -0.9779452085494995, -0.16940860450267792, -0.23875947296619415, -0.23003171384334564, -0.3741661012172699, -0.24098944664001465, 0.1767040491104126, 0.512968897819519, -0.28520655632019043, -0.015697121620178223, -0.6315792202949524, 0.5542313456535339, 0.7476312518119812, 0.1731233149766922, 0.01691494695842266, -0.1778348982334137, -0.4421718418598175, -0.013413162901997566, -0.8682238459587097, -0.26253873109817505, 1.2617019414901733, -0.2040645182132721, 0.46351924538612366, -0.02651425451040268, 1.0464047193527222, -0.13917221128940582, 0.4105195999145508, -0.48127251863479614, 0.5374577045440674, 0.010709963738918304, -1.019618034362793, -0.34232762455940247, -0.5205581188201904, -0.9022819399833679, 0.4571245610713959, -0.013512978330254555, -0.7954439520835876, 0.23464694619178772, 0.15454864501953125, -0.7045950293540955, -0.04084768891334534, -0.8905851244926453, 0.8723703622817993, -0.39257341623306274, -0.4069801867008209, 0.1267232447862625, -0.33214861154556274, 0.7030469179153442, -0.22199507057666779, -0.114772267639637, -0.0451459102332592, 0.3469875454902649, 0.9066901206970215, -0.18616695702075958, 0.3582156002521515, -0.4132579267024994, 0.2592344880104065, 0.6925197243690491, -0.30683162808418274, 0.32215818762779236, -0.02816614881157875, -0.3385980725288391, -0.4570873975753784, -0.12100160121917725, -0.4633002281188965, -0.6042333245277405, 0.5548471808433533, -0.7205824851989746, -0.6960709095001221, -0.2121206670999527, -0.9638471603393555, -0.32939380407333374, 0.5526628494262695, 0.2793181836605072, 0.24414123594760895, -0.2037496417760849, -0.25348973274230957, 0.5844576358795166, 0.1003282442688942, 0.3654146194458008, 0.38310620188713074, -0.4219857454299927, -0.7133400440216064, 0.8407385349273682, 0.38482874631881714, 0.4821033775806427, 0.14728020131587982, -0.021157866343855858, -0.7348728179931641, -0.4737880527973175, -0.38658177852630615, 0.1698533594608307, -0.8354686498641968, -0.12545646727085114, -0.9224928617477417, -0.3896518647670746, -0.4931403696537018, 0.07610256224870682, -0.0634026974439621, -0.2884039878845215, -0.5797675848007202, -0.30218490958213806, 0.2525949478149414, 0.8921650052070618, -0.059734538197517395, 0.35275402665138245, -0.5949345231056213, 0.18683482706546783, 0.6573473811149597, 0.3733561933040619, -0.18558381497859955, -0.3408656716346741, -0.15989114344120026, 0.043463267385959625, -0.5326714515686035, -0.9644178152084351, 0.09240139275789261, -0.032031815499067307, 0.8478024005889893, 0.43825528025627136, 0.21513527631759644, 0.9065333604812622, -0.3094293177127838, 0.639316201210022, -0.038433950394392014, -0.7636311054229736, 0.6378874778747559, -0.16270965337753296, 0.2672695517539978, 0.9463513493537903, 0.6045411825180054, -0.03724154829978943, -0.32652005553245544, -0.6709535121917725, -0.5838336944580078, 0.8409192562103271, 0.047139961272478104, -0.18678031861782074, -0.36542558670043945, 0.41892820596694946, -0.1277768611907959, 0.19322241842746735, -0.5814135074615479, -0.16569198668003082, -0.3048208951950073, -0.1092204600572586, -0.07665818929672241, -0.43458041548728943, -0.16183102130889893, -0.2006223201751709, 0.5677252411842346, -0.24717777967453003, 0.12198758125305176, 0.14654776453971863, -0.24006867408752441, 0.12912370264530182, 0.1076226681470871, 0.5264858603477478, 0.7006500959396362, -0.3532998263835907, 0.15000225603580475, 0.4376195967197418, -0.4827139973640442, 0.13008058071136475, 0.5906079411506653, -0.16533222794532776, -0.12372143566608429, 0.009911103174090385, 0.7038351893424988, -0.06749524176120758, -0.37752845883369446, 0.2515987753868103, 0.043036967515945435, -0.46980172395706177, -0.09656692296266556, 0.3670598566532135, -0.17643357813358307, 0.11819106340408325, 0.4927283525466919, 0.002777521964162588, 0.0696280300617218, -0.0599704273045063, 0.44137680530548096, 0.39237213134765625, -0.5211573839187622, -0.01877656765282154, 0.7602112293243408, 0.04974460229277611, -0.08846065402030945, 0.6634625792503357, -0.48608776926994324, -0.7930329442024231, 0.33921360969543457, 0.6306126117706299, 0.45433229207992554, -0.47963833808898926, 0.1207587718963623, 0.7274361252784729, 0.09944494813680649, 0.03536549583077431, 0.7515729665756226, -0.16260437667369843, -0.8471936583518982, -0.5968957543373108, -0.38462331891059875, -0.21808752417564392, 0.16096630692481995, -0.5609459280967712, 0.28377631306648254, -0.06265100091695786, -0.3899402618408203, -0.1507730931043625, 0.2773684561252594, -0.6481351256370544, 0.4692079424858093, 0.04498143121600151, 0.6815451383590698, -0.6886398196220398, 0.7124485373497009, 0.7752679586410522, -0.6982927918434143, -0.7939556241035461, 0.0385165736079216, -0.4910638928413391, -0.5416040420532227, 0.7966972589492798, 0.14604637026786804, 0.002838581334799528, 0.43852144479751587, -0.38919901847839355, -1.461133360862732, 1.1795415878295898, 0.20299871265888214, -0.11079347133636475, -0.04680347442626953, 0.19483831524848938, 0.23795543611049652, -0.4078167974948883, 0.682745635509491, 0.719045102596283, 0.5581904649734497, 0.16854751110076904, -0.5617576837539673, 0.18446102738380432, -0.2219332903623581, -0.15474028885364532, 0.25034791231155396, -0.6877974271774292, 0.9913949966430664, -0.21940310299396515, -0.31424325704574585, -0.29774823784828186, 0.47592371702194214, 0.6354693174362183, 0.011761464178562164, 0.5966513156890869, 0.4972500205039978, 1.0402626991271973, -0.19393396377563477, 1.0250838994979858, -0.5918115377426147, 0.12308145314455032, 1.2173800468444824, -0.39092281460762024, 0.6535506248474121, 0.5750963687896729, -0.020290274173021317, 0.4569246470928192, 0.7366958260536194, 0.27377983927726746, 0.6461473107337952, 0.27683529257774353, -0.25188785791397095, -0.47398126125335693, -0.24940600991249084, -0.4031861126422882, 0.3810235559940338, 0.36992838978767395, -0.3260316550731659, -0.07898310571908951, 0.14359204471111298, -0.05469617247581482, -0.15676066279411316, -0.030984999611973763, 0.8034847974777222, -0.22271116077899933, -1.1347042322158813, 0.6483495831489563, -0.5832648277282715, 0.42756980657577515, -0.7341759204864502, 0.09085986763238907, -0.11985360085964203, 0.26213324069976807, -0.1356368362903595, -0.5999389290809631, 0.10761003196239471, -0.3860522508621216, -0.169560045003891, -0.23004893958568573, 0.9553676843643188, -0.6900967955589294, -0.3346598744392395, 0.3870989978313446, 0.8649918437004089, 0.0970243588089943, -0.22019782662391663, -0.623174250125885, -0.2476610541343689, 0.07547438144683838, -0.32597434520721436, 0.28693684935569763, 0.2307562381029129, 0.16712473332881927, 0.5414345264434814, 0.7046912908554077, -0.25942209362983704, 0.43143603205680847, 0.24678093194961548, 1.1135001182556152, -0.5369845628738403, -0.48571255803108215, -0.6635680794715881, 0.7544190287590027, -0.33482974767684937, -0.46193453669548035, 0.9472264647483826, 0.6725889444351196, 0.8566795587539673, 0.005590799730271101, 0.9455645680427551, -0.24197423458099365, 0.7486568093299866, -0.34742820262908936, 0.6908234357833862, -0.3998091518878937, -0.10960590839385986, -0.37159252166748047, -0.7472348213195801, -0.31090837717056274, 0.3974188566207886, -0.7497118711471558, 0.5064274668693542, 0.9734140038490295, 0.7663278579711914, 0.02458120696246624, -0.12080573290586472, 0.33786725997924805, -0.4222046434879303, 0.366574764251709, 0.586645245552063, 1.4228920936584473, -0.5025889873504639, 0.8188015222549438, -0.3187757134437561, -0.04346638172864914, -0.18405427038669586, -0.5098119974136353, -1.1666651964187622, -0.5879047513008118, -0.4273872971534729, -0.22262264788150787, -0.15981408953666687, 0.47931692004203796, 0.8280864357948303, -0.7556463479995728, 0.1412268877029419, -0.09380430728197098, 0.38781094551086426, -0.19687221944332123, -0.24899446964263916, 0.4366381764411926, -0.7421659827232361, -0.745972216129303, 0.35060393810272217, -0.15254226326942444, 0.15097938477993011, -0.027670251205563545, -0.07479782402515411, -0.8569797277450562, 0.017425503581762314, 0.5705773234367371, -0.10732609033584595, -0.4962139129638672, -0.6182404160499573, 0.19027361273765564, 0.049293484538793564, 0.0013596171047538519, 0.8324785828590393, -0.9889715909957886, 0.5473969578742981, 0.4382787346839905, 0.35765156149864197, 0.6445373296737671, 0.48294737935066223, 0.35490381717681885, -1.0128251314163208, -0.002421430079266429, 0.37864696979522705, 0.16579650342464447, 0.24410690367221832, -0.3915524482727051, 0.3961174190044403, -0.006786686833947897, -0.6680015325546265, -0.7649770975112915, 0.42065900564193726, -0.32097890973091125, -0.11795482784509659, 1.0691975355148315, 0.030812138691544533, 0.040869709104299545, -0.4334343671798706, -0.3724348843097687, 0.4258267283439636, -0.06537830829620361, 0.6188995838165283, 0.9687724709510803, -0.5568203330039978, -0.15202009677886963, -0.4421147108078003, 0.7984148859977722, 0.5723021626472473, -0.8880668878555298, -0.12941569089889526, 0.6341474056243896, 0.35586491227149963, 0.45648193359375, 0.937950611114502, 0.0764300599694252, 0.37513208389282227, 0.290052592754364, 0.055551767349243164, -0.28635886311531067, -0.3070017099380493, 0.008990582078695297, 0.34317511320114136, 0.12388824671506882, -0.39574524760246277 ]
http://arxiv.org/abs/2406.13560v1
http://arxiv.org/pdf/2406.13560v1
Lexically Grounded Subword Segmentation
2024-06-19T13:48:19
2024-06-19T13:48:19
Jindřich Libovický, Jindřich Helcl
cs.CL
cs.CL
We present three innovations in tokenization and subword segmentation. First, we propose to use unsupervised morphological analysis with Morfessor as pre-tokenization. Second, we present an algebraic method for obtaining subword embeddings grounded in a word embedding space. Based on that, we design a novel subword segmentation algorithm that uses the embeddings, ensuring that the procedure considers lexical meaning. Third, we introduce an efficient segmentation algorithm based on a subword bigram model that can be initialized with the lexically aware segmentation method to avoid using Morfessor and large embedding tables at inference time. We evaluate the proposed approaches using two intrinsic metrics and measure their performance on two downstream tasks: part-of-speech tagging and machine translation. Our experiments show significant improvements in the morphological plausibility of the segmentation when evaluated using segmentation precision on morpheme boundaries and improved R\'enyi efficiency in 8 languages. Although the proposed tokenization methods do not have a large impact on automatic translation quality, we observe consistent performance gains in the arguably more morphological task of part-of-speech tagging.
[ -0.40760567784309387, -0.887751579284668, 0.41727060079574585, 0.17733553051948547, -0.8505090475082397, 0.3084873855113983, -0.07844424992799759, -0.3902249038219452, 0.4866262376308441, 0.010676308535039425, -0.17467136681079865, -0.6479556560516357, -0.6326857805252075, -0.11878521740436554, -0.33489513397216797, 0.541050910949707, 0.17316068708896637, 0.3584485650062561, -0.3281581401824951, -0.241856649518013, -0.5271178483963013, -0.9337327480316162, -0.3555460572242737, -0.3976491093635559, 0.3427649140357971, 0.03470908850431442, 0.7916093468666077, 1.1204915046691895, 0.3853320777416229, 0.22789108753204346, -0.5110703706741333, 0.1148337572813034, 0.05288272723555565, -0.012380959466099739, -0.42479753494262695, -0.5129753947257996, -0.3282229006290436, -0.18448637425899506, 0.6419826745986938, 0.8204296231269836, -0.028902459889650345, -0.024572566151618958, -0.4400413930416107, 0.48988544940948486, -0.6614351868629456, 0.06216792017221451, -0.7917485237121582, 0.4028257131576538, -0.5147520303726196, -0.06644799560308456, -0.10231665521860123, -0.09519943594932556, -0.06970290839672089, -0.30791985988616943, 0.058806490153074265, 0.015052254311740398, 0.885308027267456, 0.2949444353580475, 0.07165481150150299, -0.38971367478370667, -0.052529476583004, 0.8549872040748596, -0.5198726058006287, 0.9003250598907471, 0.2625653147697449, -0.1458367109298706, -0.10900875926017761, -0.8735177516937256, -0.15712854266166687, -0.23479551076889038, -0.036730729043483734, 0.09262877702713013, -0.3146759569644928, 0.1349143087863922, 0.07108082622289658, 0.5619409084320068, -0.11314907670021057, 0.31110501289367676, -0.10448578000068665, -0.5040493607521057, 0.23038969933986664, -0.04609191417694092, 0.5548300743103027, -0.23051096498966217, -0.29618319869041443, 0.19300568103790283, -0.7398937940597534, -0.23173633217811584, 0.16230447590351105, 0.18393242359161377, 0.238016277551651, 0.8589175343513489, 0.18867836892604828, 0.2745862603187561, -0.1332985907793045, -0.3540104925632477, 0.27842268347740173, -0.6133410930633545, -0.06315465271472931, 0.18441715836524963, 0.3991536796092987, 0.14036525785923004, 0.43653589487075806, -0.31019335985183716, -0.3467312753200531, 0.3129890561103821, -0.03272522985935211, -0.6141564846038818, -0.17666327953338623, -0.026410207152366638, -0.5000472664833069, 0.13898074626922607, -0.021485550329089165, -0.5983437299728394, -0.32543566823005676, -0.32671037316322327, 0.23026461899280548, -0.7310816645622253, -0.24463438987731934, 0.051838863641023636, -0.2947198748588562, 0.33115291595458984, 0.10078922659158707, -0.9173898696899414, 0.38784462213516235, 0.9408919215202332, 1.1606494188308716, -0.23426266014575958, 0.10980898886919022, -0.2477659285068512, 0.02128002978861332, -0.5590026378631592, 0.7231432199478149, -0.5143316984176636, -0.5187370181083679, -0.08140500634908676, -0.2090911716222763, -0.13655073940753937, -0.6237619519233704, 0.22232064604759216, -0.6049418449401855, -0.3680747151374817, -0.07041115313768387, -0.6354202628135681, -0.11573139578104019, 0.42669570446014404, -0.28887444734573364, 1.0729949474334717, -0.08120317757129669, -0.7414941787719727, 0.5726803541183472, -0.6465579867362976, -0.5952616333961487, 0.1278364211320877, -0.18293939530849457, -0.0715695321559906, 0.5605964660644531, 0.6076045036315918, 0.2299439013004303, -0.12206334620714188, 0.034492284059524536, 0.22877410054206848, 0.051959577947854996, 0.09592550992965698, -0.15688131749629974, 0.35074806213378906, 0.1385561227798462, -0.20609527826309204, 0.25440141558647156, -0.49739378690719604, 0.23246341943740845, 0.09549636393785477, -0.04559364169836044, -0.6934818029403687, 0.16747291386127472, 0.06103761866688728, -0.1168970912694931, 0.42207232117652893, -0.8082268238067627, -0.039092883467674255, -0.6713134050369263, 0.7019544243812561, 0.5100773572921753, -0.026213591918349266, 0.5190115571022034, 0.2978098690509796, 0.5536444187164307, 0.24982266128063202, -0.05452819541096687, -0.4214074909687042, -0.2765750288963318, -0.8693981170654297, -0.7464730143547058, 1.0009353160858154, 0.3789030909538269, -0.504859209060669, 0.5739896893501282, -0.21252554655075073, -0.6175343990325928, -0.2179630994796753, -0.34869933128356934, 0.49605152010917664, 0.24120616912841797, 0.5536506175994873, -0.38538017868995667, -0.5321195721626282, -0.9472390413284302, -0.2575463652610779, -0.1690242439508438, 0.32620754837989807, 0.04448149725794792, 0.531033456325531, -0.45979490876197815, 1.2315127849578857, -0.6155135035514832, -0.35991355776786804, -0.29271167516708374, 0.10107159614562988, 0.032691217958927155, 0.752470850944519, 0.5186785459518433, -0.7124314904212952, -0.1519608199596405, 0.20483186841011047, -0.29277846217155457, -0.22848574817180634, 0.29646772146224976, 0.0063819894567132, 0.11297556757926941, 0.9331555366516113, -0.514399528503418, 0.5713369250297546, 0.19775083661079407, -0.10134535282850266, 0.08085895329713821, -0.18971389532089233, -0.31378450989723206, -0.9670175909996033, -0.2074003666639328, -0.22258694469928741, -0.2663247585296631, -0.36756280064582825, 0.2032555192708969, -0.05743055045604706, 0.0022745169699192047, -0.49908778071403503, 0.5806342363357544, -0.6021747589111328, -0.3931569457054138, -0.26282984018325806, 0.04960785061120987, -0.2865261435508728, 0.20909450948238373, 0.1640760451555252, 0.8545020222663879, 0.5221325159072876, -0.41983193159103394, -0.03774271160364151, 0.08544663339853287, -0.26828211545944214, 0.07993754744529724, -0.926672637462616, 0.17635595798492432, -0.24113167822360992, 0.15166708827018738, -1.1053733825683594, -0.01148144993931055, 0.39840829372406006, -0.42374032735824585, 0.13576816022396088, -0.3045143783092499, -0.5308741927146912, 0.30763572454452515, -0.06420011818408966, 0.7908782362937927, 0.5593363642692566, -0.405931681394577, 0.5114277005195618, 0.8645278811454773, -0.08250965923070908, -0.04693152382969856, -0.7294192314147949, 0.14312134683132172, -0.2398369163274765, -0.5097118616104126, 0.7649452090263367, 0.5464157462120056, -0.3168790638446808, 0.08316832780838013, -0.2691507935523987, -0.07551401853561401, 0.012003638781607151, 0.14973345398902893, -0.12254803627729416, -0.18454138934612274, 0.14957274496555328, 0.16582971811294556, -0.4522368013858795, -0.1445847451686859, -0.605036735534668, 0.9328870177268982, -0.09773960709571838, -0.4473487138748169, -0.15864095091819763, 0.44681650400161743, 0.5967007279396057, -0.7698575854301453, 0.601860523223877, 0.5617326498031616, -0.7586635947227478, 0.09955792874097824, -0.5989533066749573, 0.1467275619506836, -0.34521129727363586, 0.4694800078868866, -0.504707396030426, -0.8832322359085083, 0.535698652267456, -0.28346312046051025, 0.1274004429578781, 0.48977115750312805, 0.5816372036933899, 0.34215548634529114, 1.3462941646575928, 0.6019021272659302, 0.18990936875343323, 0.5815551280975342, -0.06155342981219292, 0.38534021377563477, -0.8290711641311646, -0.3349995017051697, -0.5817567110061646, -0.1874087154865265, -0.5050413012504578, -0.7111246585845947, 0.353748083114624, 0.20646272599697113, 0.396539568901062, 0.22397008538246155, -0.3692382276058197, 0.4707935154438019, 0.3798723518848419, -0.3670015037059784, -0.04818293824791908, 0.18249782919883728, -0.7391899228096008, -0.30289462208747864, -0.6713099479675293, -0.504795253276825, 0.2719038724899292, 0.7058931589126587, 0.816413402557373, -0.22374846041202545, 0.639069139957428, 0.3226594030857086, 0.15398302674293518, -1.5504088401794434, 0.4166967570781708, -0.1620953530073166, -0.3989349901676178, -0.1692669838666916, -0.15865741670131683, -0.7793745398521423, 0.7093519568443298, 0.07991690188646317, -0.582439124584198, 0.20649033784866333, -0.01110332366079092, -0.2891790270805359, -0.01110389269888401, -0.7013436555862427, 0.5898669958114624, -0.19431279599666595, 0.0470048263669014, -0.2835780084133148, -0.3991374969482422, -0.28301385045051575, -0.1536879539489746, 0.3455921411514282, -0.3205149173736572, -0.35023170709609985, 1.1426705121994019, -0.5927010178565979, 0.5138220191001892, -0.35475513339042664, -0.021278169006109238, 0.29913225769996643, -0.11958549171686172, 0.009042427875101566, 0.165208101272583, 0.09705949574708939, 0.5995102524757385, 0.3527289032936096, -0.24924907088279724, -0.4862547516822815, 0.33480513095855713, -0.46831274032592773, -0.47880125045776367, -0.6400563716888428, -0.2071845531463623, -0.39871370792388916, 0.3983030319213867, 0.34416306018829346, 0.5967298746109009, -0.21133746206760406, 0.294624924659729, 0.3417496979236603, -0.06098727136850357, 0.5275980830192566, 0.03856680542230606, -0.2202601283788681, -0.8094058036804199, 0.5674651265144348, 0.3272281885147095, -0.23786889016628265, 0.5083835124969482, 0.5931503176689148, -0.7087430953979492, -0.8376663327217102, -0.36046528816223145, 0.2614409625530243, -0.7111515402793884, -0.16695617139339447, -0.7134912014007568, -0.12979723513126373, -0.39020445942878723, -0.2211311012506485, -0.6678307056427002, -0.45689657330513, -0.16655948758125305, -0.11410012096166611, 0.030860045924782753, 0.46310335397720337, -0.18043531477451324, 0.386813223361969, -0.9231192469596863, 0.09614523500204086, -0.06209034472703934, -0.15632782876491547, -0.09805358946323395, -0.4212498962879181, -0.2742050886154175, 0.06789711117744446, 0.04959423467516899, -0.6072049736976624, 0.2240663766860962, 0.08202369511127472, 0.6824808120727539, 0.44027698040008545, -0.30453649163246155, 1.1210135221481323, -0.9119362831115723, 0.8967366218566895, 0.36173105239868164, -1.3565878868103027, 0.45727410912513733, -0.05275135114789009, 0.1920887976884842, 0.4946398138999939, 0.10358251631259918, -0.4957275390625, -0.026954123750329018, -0.3605712056159973, -1.1250951290130615, 0.42145779728889465, 0.1018090695142746, 0.4388817846775055, -0.6122121214866638, 0.3554336428642273, 0.07419204711914062, 0.047179292887449265, -0.3876482844352722, 0.04409698769450188, -0.19947470724582672, -0.03672271966934204, 0.04887549579143524, -0.5092173218727112, 0.07443772256374359, -0.42628005146980286, 0.46603426337242126, -0.05741354078054428, 0.2001412957906723, 0.37729763984680176, -0.48234543204307556, 0.41472887992858887, 0.2387542575597763, 0.6198623180389404, 0.9519627690315247, 0.23888324201107025, 0.4798815846443176, 0.17247255146503448, -0.715623140335083, 0.35974109172821045, -0.23213382065296173, -0.035621047019958496, 0.25455135107040405, 0.5382299423217773, 0.41330698132514954, 0.2488507181406021, -0.5635886788368225, 0.3558923900127411, 0.07641949504613876, -0.16188041865825653, -0.3107631504535675, -0.24741458892822266, 0.0659608319401741, 0.04066212847828865, 0.2479085922241211, -0.18395082652568817, -0.19327807426452637, -0.4589732587337494, 0.18126168847084045, 0.5467306971549988, -0.6637008786201477, -0.4122849404811859, 0.27135393023490906, 0.0773908793926239, -0.37864771485328674, 0.43704816699028015, 0.06654241681098938, -0.8569557666778564, 0.5076485276222229, 0.866800844669342, 0.9149540066719055, -0.015557271428406239, -0.03838806971907616, 0.08011486381292343, 0.34308621287345886, 0.1155535876750946, 0.14505067467689514, -0.2082798182964325, -0.7688754200935364, -0.2219841033220291, -0.8754004240036011, -0.10039926320314407, -0.2689998745918274, -0.4997239410877228, -0.0005262594786472619, -0.6451258063316345, -0.4292224049568176, 0.13176755607128143, -0.3837240934371948, -0.2319633960723877, 0.32586702704429626, 0.03501933813095093, 1.0734373331069946, -0.5067884922027588, 0.47034212946891785, 1.2362751960754395, -0.004864045884460211, -0.5161316394805908, 0.16661003232002258, -0.4297042787075043, -0.89002925157547, 0.7259427309036255, 0.26560351252555847, -0.3168467581272125, 0.16905616223812103, -0.20535427331924438, -1.025333046913147, 0.7622997164726257, 0.09015873819589615, -0.2844981551170349, 0.07067807018756866, 0.15707585215568542, 0.49838581681251526, -0.3095182478427887, -0.01878066547214985, 0.6009317636489868, 0.3503609597682953, 0.3104854226112366, -0.5706321001052856, -0.12644335627555847, -0.03876958787441254, 0.25529640913009644, 0.566807746887207, -0.35375654697418213, 0.7735590934753418, 0.27848005294799805, -0.47931158542633057, 0.09000817686319351, 1.019610047340393, 0.01700783148407936, 0.10454078763723373, 0.8005144000053406, 0.7646384835243225, 0.6107876300811768, -0.21869346499443054, 0.5671951770782471, -0.33308836817741394, 0.28142181038856506, 0.479809045791626, -0.04176652804017067, 0.5066271424293518, 0.8356733918190002, -0.09536012262105942, 0.17433196306228638, 0.6552952527999878, 0.2143460512161255, 0.7216699123382568, 0.47050338983535767, -0.16163291037082672, -0.40242165327072144, -0.6463589668273926, -0.47434887290000916, 0.9032805562019348, 0.6229210495948792, -0.395353227853775, -0.5719655156135559, 0.0739329606294632, 0.29653361439704895, -0.0034840439911931753, -0.4341984689235687, 0.7025408744812012, 0.1508428305387497, -0.6761311888694763, 0.3154480457305908, 0.7939855456352234, 0.6216070652008057, -0.5740921497344971, -0.0910877212882042, -0.23876428604125977, 0.12548865377902985, -0.1914253532886505, -0.29455801844596863, 0.43816474080085754, 0.09500337392091751, 0.1864302009344101, -0.26088947057724, 0.8515704870223999, -0.06145753338932991, -0.4013156294822693, 0.06443192064762115, 0.7445583939552307, 0.10934102535247803, 0.016023902222514153, -0.4736788272857666, 0.14257577061653137, -0.2976858913898468, 0.08369791507720947, 0.21421420574188232, 0.4777955412864685, -0.3844953775405884, 0.22262734174728394, 0.7198554873466492, -0.06919164210557938, 0.36212384700775146, 0.22187314927577972, 0.9255101084709167, -0.5986215472221375, -0.8021590113639832, -1.2168217897415161, 0.22365035116672516, 0.12138034403324127, -0.44229239225387573, 0.7320202589035034, 0.6405256390571594, 0.5765067934989929, 0.029618700966238976, 0.4087368845939636, -0.18763193488121033, 0.2252604365348816, -0.7977508902549744, 0.4116489887237549, -0.5559337139129639, -0.23654833436012268, -0.2811774015426636, -1.0115694999694824, -0.5759493112564087, 0.8832966685295105, -0.2917109429836273, -0.12783978879451752, 0.7915223240852356, 0.6381179094314575, -0.23486822843551636, -0.23192040622234344, 0.3802061080932617, -0.391049861907959, 0.3888115882873535, -0.10546693950891495, 1.153875470161438, -0.09319525957107544, -0.09931308031082153, -0.07082044333219528, -0.3584079444408417, 0.03180984780192375, -0.8117801547050476, -0.937042772769928, -0.3403477668762207, -0.28758522868156433, -0.03700774163007736, -0.014352332800626755, 1.111629605293274, 0.7494795322418213, -0.6356325149536133, 0.12635962665081024, -0.39790967106819153, 0.13374079763889313, 0.053462740033864975, -0.2135828286409378, 0.4560879170894623, -0.5411701798439026, -0.7580435872077942, 0.5517909526824951, 0.5578665137290955, -0.05385548993945122, -0.18402718007564545, 0.31900423765182495, -0.3076516389846802, 0.29338863492012024, 0.7015546560287476, 0.003864845959469676, -0.828599214553833, -0.4813537895679474, 0.09341151267290115, 0.04217980429530144, 0.06512708961963654, 0.9745973348617554, -0.591896116733551, 0.1468341052532196, 0.6266524195671082, 0.9172361493110657, 0.22386611998081207, 0.4051966369152069, 0.21009697020053864, -0.800801157951355, 0.34009847044944763, 0.3946661353111267, 0.5393766760826111, 0.2813807725906372, -0.10820876806974411, 0.516923189163208, 0.4490138292312622, -0.02624417096376419, -0.7188601493835449, 0.3647915720939636, -0.5983011722564697, -0.1715635359287262, 1.1223530769348145, -0.2594422399997711, -0.27755361795425415, -0.1915077418088913, -0.3640613555908203, 0.29235750436782837, 0.017904067412018776, 0.18501156568527222, 0.8871191143989563, -0.09837300330400467, 0.005082246847450733, 0.08290871977806091, 0.20581801235675812, 0.6763595342636108, -0.6877713799476624, -0.18847763538360596, 0.39582347869873047, 0.1705714911222458, 0.5953014492988586, 0.6501443982124329, -0.6420213580131531, -0.015169618651270866, 0.1641792207956314, -0.12552309036254883, -0.163512721657753, -0.44294631481170654, -0.17424173653125763, 0.3475129306316376, 0.061461105942726135, -0.6542494893074036 ]
http://arxiv.org/abs/2406.13556v1
http://arxiv.org/pdf/2406.13556v1
Evaluating Short-Term Temporal Fluctuations of Social Biases in Social Media Data and Masked Language Models
2024-06-19T13:45:21
2024-06-19T13:45:21
Yi Zhou, Danushka Bollegala, Jose Camacho-Collados
cs.CL
cs.CL
Social biases such as gender or racial biases have been reported in language models (LMs), including Masked Language Models (MLMs). Given that MLMs are continuously trained with increasing amounts of additional data collected over time, an important yet unanswered question is how the social biases encoded with MLMs vary over time. In particular, the number of social media users continues to grow at an exponential rate, and it is a valid concern for the MLMs trained specifically on social media data whether their social biases (if any) would also amplify over time. To empirically analyse this problem, we use a series of MLMs pretrained on chronologically ordered temporal snapshots of corpora. Our analysis reveals that, although social biases are present in all MLMs, most types of social bias remain relatively stable over time (with a few exceptions). To further understand the mechanisms that influence social biases in MLMs, we analyse the temporal corpora used to train the MLMs. Our findings show that some demographic groups, such as male, obtain higher preference over the other, such as female on the training corpora constantly.
[ -0.24321676790714264, -0.9584486484527588, 0.5369446277618408, 0.5567530393600464, -0.13923446834087372, 0.45767688751220703, -0.36992159485816956, -0.47148266434669495, 0.6158565878868103, 0.2861107587814331, -0.7667827606201172, -0.43779271841049194, -0.9736562371253967, 0.03316132724285126, -0.44329705834388733, 0.9602019786834717, 0.09394911676645279, 0.22674816846847534, 0.175954207777977, -0.3029116988182068, -0.248235285282135, -0.7453278303146362, -0.6403167247772217, -0.11996413767337799, 0.6882998943328857, 0.15259532630443573, 0.8722886443138123, 0.4892699420452118, 0.1791984736919403, 0.19503779709339142, -0.2551330626010895, -0.040712542831897736, -0.8411174416542053, -0.03628779947757721, -0.18787214159965515, -0.33881676197052, -0.2532419264316559, 0.08373008668422699, 0.785165548324585, 1.0118025541305542, 0.1757005900144577, 0.49552270770072937, 0.06731419265270233, 0.7759362459182739, -0.5931715369224548, -0.003938994836062193, -0.8034302592277527, 0.04109477996826172, -0.36051487922668457, -0.5132917761802673, -0.24107985198497772, -0.5453538298606873, 0.21936197578907013, -0.24908004701137543, 0.5740823149681091, -0.020271770656108856, 0.7608838677406311, -0.2661757171154022, -0.434467613697052, -0.15805278718471527, -0.9456533789634705, 0.8216173052787781, -0.22774602472782135, 0.5622220635414124, 0.5237797498703003, 0.36566391587257385, -0.09715957194566727, -0.544580340385437, -0.24874535202980042, -0.32806095480918884, 0.09198004007339478, -0.30009928345680237, 0.029851924628019333, -0.2753172814846039, 0.46309638023376465, -0.07328064739704132, -0.19526435434818268, -0.0003250144945923239, -0.6094188690185547, -0.11718825995922089, 0.7356739640235901, 0.17595772445201874, 0.5156314969062805, -0.16010840237140656, -0.12198074162006378, 0.16130028665065765, -0.6590986847877502, 0.04817681759595871, 0.8667010068893433, 0.1996585875749588, -0.18395370244979858, 0.6834098100662231, -0.06693357229232788, 0.18632692098617554, 0.19946515560150146, 0.016885217279195786, 0.17924346029758453, -0.18977420032024384, 0.06722137331962585, 0.1369798630475998, 0.7784081101417542, 0.6273109912872314, 0.5956428647041321, -0.14432355761528015, 0.009504585526883602, 0.2612781226634979, 0.07373515516519547, -0.7855961322784424, 0.19205449521541595, -0.03746992349624634, -0.5588659644126892, -0.5018532872200012, -0.007379699498414993, -0.8275553584098816, -0.6157724261283875, -0.12543915212154388, 0.014376618899405003, 0.013849359005689621, -0.377800315618515, 0.005204671993851662, -0.37961509823799133, -0.17889079451560974, 0.0396384634077549, -0.9594690203666687, 0.3673693835735321, 0.5077767968177795, 1.0661300420761108, -0.2957081198692322, -0.1454356610774994, -0.5252271890640259, -0.1176728829741478, -0.5700343251228333, 0.3347564935684204, -0.6872377991676331, -0.43183833360671997, 0.4418567717075348, 0.3993917405605316, -0.17046648263931274, -0.43527209758758545, 0.15286463499069214, -0.7223543524742126, -0.0038904997054487467, -0.4420023560523987, -0.41485366225242615, 0.6201702952384949, -0.1489640325307846, -0.5511390566825867, 1.0764631032943726, 0.10409765690565109, -0.897163450717926, 0.7930567264556885, -0.4648538827896118, -0.13512396812438965, -0.10216300934553146, -0.42228490114212036, -0.4376208782196045, -0.09163189679384232, 0.2354934960603714, 0.5835041999816895, 0.12645651400089264, 0.3628607392311096, -0.9437849521636963, -0.5371699333190918, 0.6074029207229614, -0.2565583288669586, 0.9664298295974731, 0.02573239617049694, -0.6115121245384216, -0.18365739285945892, -0.6625449657440186, -0.6691281795501709, 0.18376360833644867, -0.11446239054203033, -0.5415558815002441, 0.3103572130203247, -0.0023090748582035303, 0.2563300132751465, 0.005290279630571604, -0.5688834190368652, -0.136495903134346, 0.015330703929066658, 0.713236391544342, 1.0305888652801514, 0.3590192198753357, 0.6637313365936279, -0.2608221769332886, 0.4439423680305481, 0.2370477020740509, 0.29794594645500183, 0.09970881044864655, -0.3691368103027344, -0.6929040551185608, 0.14335501194000244, 0.07035063207149506, 0.22479082643985748, -0.6997480392456055, 0.05129357799887657, -0.4682033360004425, -0.18526135385036469, -0.4222472012042999, 0.34969624876976013, -0.08028139919042587, -0.1254425048828125, 0.07414837926626205, -0.17917004227638245, -0.4416075050830841, -1.0175416469573975, -0.45243945717811584, -0.1697198450565338, -0.16694292426109314, 0.3900246024131775, 0.4697650969028473, -0.647924542427063, 0.9644845724105835, -0.4422897398471832, 0.10064826905727386, 0.05019286647439003, 0.30760088562965393, -0.20538750290870667, 0.17062616348266602, 0.7129866480827332, -0.5925121307373047, -0.3228006064891815, -0.20468968152999878, -0.35999295115470886, -0.3444553315639496, -0.17028699815273285, -0.17752154171466827, 0.4193446636199951, 0.8431519865989685, -0.38246244192123413, 0.4082641303539276, 0.5946775674819946, -0.3156895935535431, 0.6545106768608093, 0.3395431935787201, 0.12836244702339172, -0.7609910368919373, -0.22455908358097076, 0.29254308342933655, -0.26322850584983826, -0.5859596133232117, -0.674267590045929, 0.05970799922943115, 0.06727284938097, -0.47477683424949646, 0.7045199871063232, -0.652167022228241, -0.23743686079978943, -0.09033115208148956, 0.258101224899292, -0.37383127212524414, 0.5218779444694519, 0.04587306082248688, 0.349636435508728, 0.3722520172595978, -0.5300197601318359, -0.19862014055252075, -0.4629352390766144, -0.5293818116188049, 0.23305627703666687, -0.6339260935783386, 0.5101410150527954, -0.4103853404521942, 0.02866101637482643, -0.8508483171463013, -0.21121437847614288, 0.1292303204536438, -0.4782085716724396, 0.09127341210842133, -0.3839603066444397, -0.3686371445655823, -0.31265679001808167, -0.37563231587409973, 0.1808449774980545, 0.2566642463207245, -0.31263503432273865, 0.4553455114364624, 0.654948353767395, -0.21772682666778564, -0.7269516587257385, -0.3816256523132324, -0.09653491526842117, -0.27185553312301636, -0.5764501690864563, 0.07585760951042175, -0.17735759913921356, -0.672922670841217, 0.13025546073913574, -0.19053515791893005, 0.11161420494318008, -0.07041988521814346, 0.42679449915885925, 0.1310918778181076, 0.011846756562590599, 0.048671599477529526, 0.11925084888935089, 0.29860809445381165, 0.16483846306800842, -0.08195577561855316, 0.7425705194473267, -0.08760590851306915, -0.23992346227169037, 0.05733288824558258, 0.21730680763721466, 0.4502086937427521, 0.30924975872039795, 0.9764220118522644, 0.7886533141136169, -0.4301990568637848, -0.22672127187252045, -0.8105863928794861, -0.2639366090297699, -0.4652939736843109, 0.35287952423095703, 0.08313599973917007, -1.2473000288009644, 0.7603535652160645, 0.45046770572662354, 0.12416815012693405, 0.38633960485458374, 0.6618101596832275, -0.30175480246543884, 1.1897881031036377, 0.6451488733291626, -0.22130423784255981, 1.0843241214752197, -0.226158007979393, -0.2548657953739166, -0.3824352025985718, -0.11479752510786057, -0.24868974089622498, -0.21540847420692444, -1.074349284172058, -0.26626744866371155, 0.10886193066835403, -0.06733217090368271, -0.2680436372756958, -0.1468837708234787, 0.0002448659797664732, 0.44236674904823303, 0.28773728013038635, 0.2169474959373474, -0.16512781381607056, 0.12377046793699265, 0.19191472232341766, -0.06500068306922913, -0.6026778221130371, -0.4172002375125885, 1.001898169517517, 0.6194343566894531, 0.6404988169670105, -0.06816267222166061, 0.3134702146053314, 0.726654589176178, 0.4727197289466858, -0.34135615825653076, 0.5074008703231812, -0.038968607783317566, -0.8003475069999695, -0.3088887929916382, -0.4025189280509949, -1.0325409173965454, -0.05199253559112549, -0.3896324336528778, -0.725500226020813, 0.592969536781311, 0.23855476081371307, -0.05460195988416672, 0.1651408076286316, -0.7227044701576233, 0.6827470660209656, -0.1610955148935318, -0.6576449871063232, -0.005310348700731993, -0.8571969270706177, 0.400364488363266, -0.17935267090797424, 0.21953994035720825, -0.5100881457328796, 0.0776028037071228, 0.9766287207603455, -0.30388444662094116, 1.095686435699463, -0.1974724531173706, 0.33009782433509827, 0.0698264092206955, -0.1042218804359436, 0.4084441065788269, 0.11193332076072693, 0.2827041447162628, 0.4565593898296356, -0.022771647199988365, -0.7200683951377869, -0.6191549897193909, 0.577206552028656, -1.0112981796264648, -0.47869178652763367, -0.4503137469291687, -0.3502632975578308, -0.10304130613803864, 0.02126786857843399, 0.15336260199546814, 0.4227942228317261, -0.4066160023212433, 0.28697648644447327, 0.5287548899650574, -0.2658578157424927, 0.5415762066841125, 0.4329538345336914, -0.3609775900840759, -0.2764296531677246, 0.4606983959674835, 0.5311254262924194, 0.6647462248802185, 0.08193662762641907, 0.242519348859787, -0.06233984977006912, -0.14162401854991913, -0.30057910084724426, 0.3483870327472687, -0.40859705209732056, 0.43542414903640747, -0.9086500406265259, -0.21244288980960846, -0.5796036124229431, -0.15973296761512756, -0.32437771558761597, -0.3013995885848999, -0.2663724720478058, -0.12749408185482025, 0.36494937539100647, 0.7302467823028564, 0.004377460572868586, 0.40823662281036377, -0.5360291004180908, 0.34509313106536865, 0.33452486991882324, 0.3309498429298401, -0.173113152384758, -0.3151707649230957, -0.4885079264640808, 0.09895246475934982, 0.05965809524059296, -1.2765690088272095, 0.27099210023880005, 0.009660810232162476, 0.4734638035297394, 0.5579748749732971, -0.2777978777885437, 0.566641092300415, -0.5644713044166565, 0.9417522549629211, -0.017720818519592285, -0.6506157517433167, 0.3547155261039734, -0.7034134268760681, 0.38583019375801086, 0.4523041248321533, 0.5610044002532959, -0.8421811461448669, -0.7492678165435791, -0.7615200281143188, -0.8782838582992554, 0.5336157083511353, 0.29761600494384766, 0.30692824721336365, -0.28796321153640747, 0.38389575481414795, -0.04225243255496025, 0.4191703200340271, -0.7354444861412048, -0.4888954162597656, -0.1430409848690033, 0.2090272754430771, -0.2948593199253082, -0.7805883884429932, -0.06769875437021255, -0.0927552580833435, 0.5201689004898071, 0.16261832416057587, 0.30709290504455566, -0.07489604502916336, -0.29690486192703247, -0.2601659595966339, 0.24476711452007294, 0.7554114460945129, 0.9831847548484802, -0.7842952013015747, 0.17697295546531677, 0.15916253626346588, -0.7747807502746582, 0.07705731689929962, 0.053074538707733154, -0.293521910905838, 0.5157895684242249, 0.13613535463809967, 1.001039981842041, 0.20055650174617767, -0.32020288705825806, 0.5064107775688171, -0.11096837371587753, -0.044741302728652954, -0.6395336389541626, -0.16350828111171722, 0.22991162538528442, 0.24970659613609314, 0.5181682705879211, -0.013448983430862427, -0.20104873180389404, -0.9040553569793701, -0.030831722542643547, 0.33450233936309814, -0.5346128940582275, -0.3431701064109802, 0.7253924012184143, 0.10114309191703796, -0.36136549711227417, 0.15315616130828857, -0.12699837982654572, -0.3909784257411957, 0.4238622188568115, 0.27767419815063477, 0.9432221055030823, -0.249363973736763, 0.23106732964515686, 0.10496042668819427, 0.6451400518417358, -0.1642032116651535, -0.035332996398210526, 0.09989229589700699, -0.8711715936660767, -0.2495289444923401, -0.6726676225662231, -0.19586917757987976, 0.31695252656936646, -0.6922160983085632, 0.4182904064655304, -0.352853924036026, -0.830809473991394, 0.11682400107383728, -0.016698867082595825, -0.8285263180732727, 0.042172979563474655, -0.007219140417873859, 0.5704483985900879, -1.2716178894042969, 0.6232393383979797, 0.436777800321579, -0.15420779585838318, -0.29175496101379395, -0.04734587296843529, 0.25539451837539673, -0.724218487739563, 0.8145897388458252, 0.11448293179273605, -0.23188838362693787, -0.4409151077270508, -0.7535635232925415, -0.7008428573608398, 0.7010928988456726, 0.3814964294433594, -0.6795545220375061, -0.04648134484887123, 0.4371185004711151, 0.7866281867027283, -0.5116708874702454, 0.07391773164272308, 0.7067035436630249, -0.021415950730443, -0.24961122870445251, -0.6295533776283264, -0.25621649622917175, -0.34481069445610046, 0.40565359592437744, 0.21375440061092377, -0.43057674169540405, 0.6282744407653809, 0.010550959035754204, -0.49918800592422485, -0.5708163976669312, 0.6512223482131958, 0.2697351574897766, 0.6407074928283691, 0.7425790429115295, -0.058264199644327164, 0.48776060342788696, -0.004551847465336323, 0.9092954993247986, -0.4719429016113281, 0.12589934468269348, 1.0640329122543335, -0.10345794260501862, 0.5998542904853821, 0.47056570649147034, -0.11194192618131638, 0.49720486998558044, 0.9699519276618958, 0.13301672041416168, 0.23969222605228424, 0.1330873668193817, -0.08878929913043976, -0.10837185382843018, -0.11170606315135956, -0.4915900230407715, -0.20473194122314453, 0.3143484592437744, -0.7060350775718689, 0.3455985188484192, -0.03693465515971184, 0.5281549096107483, -0.20655715465545654, -0.41359031200408936, 0.3688688576221466, 0.25265979766845703, -0.40597301721572876, 0.1753578633069992, -0.12427466362714767, 0.7338755130767822, -0.6895546317100525, 0.39084577560424805, -0.4390806555747986, 0.0004541953094303608, -0.21034054458141327, -0.5527267456054688, 0.1475236862897873, 0.05227208137512207, -0.3389635384082794, -0.17966565489768982, 0.8408516049385071, -0.7026643753051758, -0.7248483300209045, 0.5140909552574158, 0.4912382960319519, 0.12195304036140442, 0.09033560007810593, -0.5310479402542114, 0.25947821140289307, -0.22466762363910675, -0.19734694063663483, 0.45489799976348877, 0.24287137389183044, -0.2691631317138672, 0.6476176977157593, 0.7304973006248474, 0.3738080561161041, 0.6727062463760376, 0.5876674056053162, 0.740837812423706, -0.5585099458694458, -0.4716271758079529, -1.0730690956115723, 0.24943166971206665, -0.4492323696613312, -0.09380730986595154, 1.0620168447494507, 0.3617762327194214, 0.9056246280670166, 0.19274625182151794, 0.5978155136108398, 0.29611700773239136, 0.462704598903656, -0.4388108551502228, 0.7680414319038391, -0.4752453863620758, 0.3345015347003937, -0.49524348974227905, -1.0173425674438477, 0.11794370412826538, 0.07557177543640137, -0.6004810929298401, 0.27731263637542725, 0.5098917484283447, 0.8220468163490295, 0.1652432382106781, 0.004862999077886343, 0.03428531438112259, 0.17757466435432434, 0.131825789809227, -0.19622264802455902, 0.9394181370735168, 0.011711707338690758, 0.303531676530838, -0.3337152898311615, -0.0502164401113987, -0.29745256900787354, -0.8356732726097107, -1.2387645244598389, -0.5241065621376038, -0.3303527235984802, -0.6347479820251465, 0.6063701510429382, 1.1969140768051147, 0.5314135551452637, -0.6170873045921326, -0.41135266423225403, 0.4942752420902252, 0.20082072913646698, -0.2151505947113037, -0.30125486850738525, 0.3753849267959595, -0.10385756939649582, -0.6916216015815735, -0.037726014852523804, 0.16180966794490814, 0.029755454510450363, -0.44786328077316284, 0.09192444384098053, -0.17781338095664978, 0.3438336253166199, 0.923698902130127, 0.10175354033708572, -0.32551655173301697, -0.33339929580688477, 0.34401124715805054, -0.24050097167491913, 0.01473002415150404, 1.0055999755859375, -0.096799336373806, 0.4608832001686096, 0.4725313186645508, 0.3664137125015259, 0.7985204458236694, 0.04624110087752342, 0.5284547209739685, -0.8829225301742554, 0.07876203209161758, -0.10649005323648453, 0.47390589118003845, 0.45074260234832764, -0.15236365795135498, 0.38438814878463745, 0.6087110638618469, -0.6092833876609802, -1.053515076637268, -0.12384817004203796, -0.7559252977371216, -0.3330334424972534, 1.7900691032409668, 0.35649463534355164, -0.2024419754743576, -0.402310848236084, 0.1495070904493332, 0.2990626394748688, -0.5233754515647888, 1.05128014087677, 0.8799949288368225, 0.0553475022315979, -0.07806845754384995, -1.0080682039260864, 0.6567453145980835, 0.13813602924346924, -0.3730643093585968, -0.14121674001216888, 0.5895217657089233, 0.6386561989784241, 0.16834227740764618, 1.0630295276641846, -0.11324663460254669, 0.16622762382030487, -0.046452704817056656, -0.3300873935222626, 0.29126930236816406, -0.2845711410045624, -0.20760732889175415, 0.093746617436409, -0.22777654230594635, -0.08955665677785873 ]
http://arxiv.org/abs/2406.13555v1
http://arxiv.org/pdf/2406.13555v1
BiLD: Bi-directional Logits Difference Loss for Large Language Model Distillation
2024-06-19T13:44:56
2024-06-19T13:44:56
Minchong Li, Feng Zhou, Xiaohui Song
cs.CL
cs.CL, cs.AI
In recent years, large language models (LLMs) have shown exceptional capabilities across various natural language processing (NLP) tasks. However, such impressive performance often comes with the trade-off of an increased parameter size, posing significant challenges for widespread deployment. Knowledge distillation (KD) provides a solution by transferring knowledge from a large teacher model to a smaller student model. In this paper, we explore the task-specific distillation of LLMs at the logit level. Our investigation reveals that the logits of fine-tuned LLMs exhibit a more extreme long-tail distribution than those from vision models, with hidden "noise" in the long tail affecting distillation performance. Furthermore, existing logits distillation methods often struggle to effectively utilize the internal ranking information from the logits. To address these, we propose the Bi-directional Logits Difference (BiLD) loss. The BiLD loss filters out the long-tail noise by utilizing only top-$k$ teacher and student logits, and leverages the internal logits ranking information by constructing logits differences. To evaluate BiLD loss, we conduct comprehensive experiments on 13 datasets using two types of LLMs. Our results show that the BiLD loss, with only the top-8 logits, outperforms supervised fine-tuning (SFT), vanilla KL loss, and five other distillation methods from both NLP and CV fields.
[ -0.2813590168952942, -0.8470444679260254, 0.6593058109283447, 0.26132816076278687, -0.43306291103363037, 0.2987859845161438, -0.47034206986427307, -0.393783301115036, -0.18319174647331238, 0.4527762234210968, -0.3301822245121002, -0.4421103894710541, -0.8267161250114441, -0.06722661852836609, -0.5312749743461609, 1.2031538486480713, 0.14974233508110046, 0.19886907935142517, -0.32444387674331665, -0.030816953629255295, -0.8356555700302124, -0.532090961933136, -0.8451551795005798, -0.5523468852043152, 0.6446486711502075, 0.12129935622215271, 0.3392927944660187, 0.15184666216373444, 0.5403943657875061, 0.24539704620838165, -0.49505239725112915, 0.0535469613969326, -0.7231536507606506, 0.028661804273724556, -0.44255852699279785, -0.7535912990570068, -0.12094235420227051, -0.10438141226768494, 0.8373903036117554, 1.0257076025009155, -0.15117761492729187, 0.22913530468940735, 0.4921395480632782, 1.2417768239974976, -0.5105212926864624, 0.16959065198898315, -0.7248812913894653, 0.0482296384871006, -0.33116385340690613, -0.061431944370269775, -0.6115007400512695, -0.22626760601997375, 0.292945921421051, -0.047810230404138565, 0.33795490860939026, 0.10023342072963715, 0.8807090520858765, 0.3409149646759033, -0.6397343277931213, -0.056346818804740906, -1.057009220123291, 0.719001054763794, -0.8633390665054321, 0.5240198969841003, 0.25196200609207153, 0.2691415548324585, -0.17953719198703766, -0.4128727912902832, -0.5247015357017517, 0.19853384792804718, -0.09039448946714401, -0.17301636934280396, -0.20302177965641022, 0.05681343376636505, 0.09430954605340958, 0.22884820401668549, -0.47772708535194397, 0.31233441829681396, -0.3811064064502716, 0.10443352162837982, 0.5157941579818726, 0.10884225368499756, -0.31381741166114807, 0.16609007120132446, -0.2578960359096527, -0.3856961131095886, -0.7615541815757751, 0.005211323499679565, 0.3886431157588959, 0.21913550794124603, 0.11822041124105453, 0.4493160843849182, -0.1291917860507965, 0.6901460886001587, 0.2480878382921219, -0.4689614772796631, 0.020613105967640877, -0.36230891942977905, -0.35935255885124207, 0.24110165238380432, 0.46330884099006653, 0.5574068427085876, 0.2000652402639389, -0.06180718168616295, -0.20612400770187378, -0.2623108923435211, -0.4343737065792084, -0.9876917004585266, -0.7115075588226318, -0.24679876863956451, -0.4495874345302582, -0.30822765827178955, -0.11144790798425674, -0.6067858934402466, -0.7644780874252319, -0.4862441420555115, 0.5220867395401001, -0.15699559450149536, -0.5046274662017822, 0.1593427211046219, -0.33824628591537476, 0.06883708387613297, 0.1489081233739853, -0.8278045654296875, 0.16142553091049194, 0.5552401542663574, 0.9160541296005249, -0.2849278450012207, -0.09122534096240997, -0.4430016577243805, 0.2086930274963379, -0.3289925754070282, 0.5047483444213867, -0.3089950382709503, -0.45698046684265137, -0.31913599371910095, -0.13810773193836212, -0.15782073140144348, -0.9567303657531738, 0.13865604996681213, -0.5873106718063354, 0.0808626189827919, -0.17440646886825562, -0.5814235806465149, -0.44651371240615845, -0.014562204480171204, -0.5494593977928162, 1.1303116083145142, -0.023754477500915527, -0.7819117307662964, 0.4547869861125946, -0.3037242591381073, -0.45643043518066406, -0.010916003957390785, 0.013758587650954723, -0.6056404113769531, 0.3816884756088257, -0.08063256740570068, 0.5315574407577515, -0.5237606763839722, 0.3963780403137207, -0.21824117004871368, -0.16532357037067413, 0.18412472307682037, -0.702015221118927, 1.0568580627441406, -0.1563466489315033, -0.383362352848053, -0.1215612068772316, -0.8555086851119995, -0.15799157321453094, 0.11391115933656693, -0.44054922461509705, -0.9823369383811951, 0.0725470706820488, 0.013449707068502903, -0.08879631757736206, 0.10338292270898819, -0.5619605183601379, 0.29746168851852417, -0.22844429314136505, 0.28310057520866394, 0.8903878331184387, 0.04888451471924782, 0.34891003370285034, -0.1263432502746582, 0.03292354568839073, 0.22781510651111603, 0.02441362291574478, 0.3889630138874054, -0.5330281257629395, -0.73482745885849, -0.3437533378601074, 0.4113267660140991, 0.3991119861602783, -0.5620402693748474, 0.2314109057188034, -0.2748628556728363, -0.5375043749809265, -0.42691388726234436, 0.4394020140171051, 0.28945496678352356, 0.7473753690719604, 0.20957592129707336, -0.051798831671476364, -0.4326690435409546, -0.9202783703804016, -0.33373671770095825, -0.2702779173851013, -0.11299432069063187, -0.19839973747730255, 0.2047523409128189, -0.046238332986831665, 0.9495564699172974, -0.655064582824707, -0.6122499704360962, -0.42858630418777466, 0.21923482418060303, 0.41362902522087097, 0.18752147257328033, 0.584613561630249, -0.7879383563995361, -0.8655434250831604, 0.08737611770629883, -0.4028373956680298, -0.207887202501297, -0.20955568552017212, -0.17193637788295746, 0.5139613747596741, 0.4145452380180359, -0.7077793478965759, 0.6110353469848633, 0.7641168236732483, -0.604367196559906, 0.598645031452179, -0.1283271163702011, -0.19513960182666779, -0.8325262665748596, -0.07826631516218185, -0.041779905557632446, -0.28070685267448425, -0.46846678853034973, -0.2647383511066437, -0.031220391392707825, 0.2291882038116455, -0.10624877363443375, 0.30690789222717285, -0.4293343126773834, 0.0432085245847702, -0.24105815589427948, 0.11118187010288239, 0.40489810705184937, 0.5031936764717102, 0.025643974542617798, 0.4670991897583008, 0.5403751730918884, -0.6319542527198792, 0.512313187122345, -0.05224243551492691, -0.5666650533676147, 0.6330680847167969, -0.5648587942123413, -0.009237200953066349, -0.23021532595157623, 0.22009947896003723, -1.1398112773895264, 0.29251813888549805, -0.03620237112045288, -0.08416382223367691, 0.5337541699409485, -0.23757147789001465, -0.6474713087081909, -0.19493117928504944, -0.2547787129878998, 0.23763073980808258, 0.5999036431312561, -0.631732702255249, 0.28566670417785645, 0.09441319853067398, -0.35215917229652405, -0.33200204372406006, -0.8790494799613953, 0.2619785666465759, -0.47247937321662903, -0.5477076172828674, 0.2548145651817322, -0.13549451529979706, -0.2894478440284729, 0.2655385732650757, -0.20478947460651398, -0.10279088467359543, 0.0014213711256161332, 0.144417405128479, 0.4769604504108429, -0.3318491578102112, 0.3529658615589142, 0.12857277691364288, 0.07439147680997849, 0.29592758417129517, -0.2902000844478607, 0.5326701998710632, -0.09367737174034119, -0.3947656452655792, -0.5050032138824463, 0.223377525806427, 0.44613009691238403, -0.13456201553344727, 1.0890703201293945, 0.5290796160697937, -0.06231420487165451, -0.3504391610622406, -0.6809436678886414, -0.1863274723291397, -0.4977492690086365, 0.6104743480682373, -0.2909044027328491, -0.5358150601387024, 0.3546415865421295, -0.20498256385326385, 0.176837757229805, 0.33344143629074097, 0.4592951834201813, -0.1938919723033905, 0.9888834357261658, 0.7352617979049683, -0.24952425062656403, 0.4396691918373108, -0.4107276201248169, 0.6338507533073425, -0.5736290216445923, -0.4365847110748291, -0.5194419026374817, -0.633375346660614, -0.3682059645652771, -0.3406468331813812, 0.5547603964805603, 0.39363762736320496, -0.09527558088302612, 0.01689046435058117, -0.5300877094268799, 0.5654034614562988, 0.8438002467155457, -0.16724106669425964, 0.6247031092643738, 0.19267578423023224, -0.015878411009907722, 0.04249800369143486, -0.6730520725250244, -0.23389261960983276, 1.0405166149139404, 0.34426644444465637, 0.830368161201477, 0.3781905472278595, 0.8729252815246582, 0.18421326577663422, 0.05375942215323448, -0.7003208994865417, 0.6725874543190002, -0.22853627800941467, -0.5640196204185486, -0.7136212587356567, -0.4628053903579712, -0.8002952337265015, 0.3341154456138611, -0.09115640074014664, -0.4818657636642456, 0.19406262040138245, 0.10992204397916794, 0.05071606487035751, 0.722830057144165, -0.8256587982177734, 0.7884407043457031, -0.19796809554100037, -0.21812888979911804, -0.2552352845668793, -0.6287620067596436, 0.29006227850914, -0.2381867617368698, 0.17269179224967957, -0.12771686911582947, 0.4059799015522003, 0.7359509468078613, -0.610607385635376, 0.8296198844909668, -0.5389745235443115, -0.18787677586078644, 0.4020475447177887, 0.20989908277988434, 0.721848726272583, -0.10845469683408737, 0.06319069862365723, 0.4141834080219269, 0.2873271107673645, -0.20550155639648438, -0.6991679668426514, 0.71482914686203, -0.5828683376312256, -0.7457798719406128, -0.21650703251361847, -0.3616284728050232, -0.09824573248624802, 0.13911360502243042, 0.18662920594215393, 0.35400256514549255, 0.25849661231040955, 0.5449897050857544, 0.8322624564170837, -0.06766773760318756, 0.6132695078849792, 0.5058613419532776, -0.4580923616886139, 0.2288607656955719, 1.0352529287338257, 0.24012941122055054, 0.44946950674057007, 0.35152554512023926, 0.48199719190597534, -0.5493082404136658, -0.7678917050361633, -0.5743629932403564, 0.24956049025058746, -0.7827199697494507, -0.2933521866798401, -0.13920624554157257, -0.253969669342041, -0.41279610991477966, 0.05003039166331291, -0.38079288601875305, -0.34143704175949097, -0.20260237157344818, -0.17108875513076782, 0.49019286036491394, 0.7166380882263184, 0.059587620198726654, 0.19201938807964325, -0.6367994546890259, 0.09511525183916092, 0.2827072739601135, 0.4591697156429291, 0.0960603654384613, -0.7729287147521973, -0.32913920283317566, 0.17735086381435394, -0.1651328057050705, -0.763147234916687, 0.4072311818599701, 0.5382055044174194, 0.2741299867630005, 0.42949748039245605, 0.3752121031284332, 0.8864610195159912, -0.4400247037410736, 0.6309216022491455, 0.4721275269985199, -0.6517855525016785, 0.2338094562292099, 0.0530460849404335, 0.4486071467399597, 0.5658465623855591, 0.0822797492146492, -0.4548095762729645, -0.572360098361969, -0.13840389251708984, -0.9747013449668884, 0.556402862071991, -0.03726591542363167, 0.02189629152417183, 0.20818258821964264, 0.03903483971953392, 0.25778040289878845, 0.0842810794711113, -0.7910398244857788, -0.4262368381023407, -0.008228549733757973, -0.2809935510158539, -0.18379491567611694, -0.14720579981803894, -0.04839444160461426, -0.500170111656189, 0.7952789664268494, 0.3376525640487671, -0.17039313912391663, 0.0418039970099926, -0.10413405299186707, 0.0007757183630019426, 0.22822964191436768, 0.13594458997249603, 0.5273685455322266, -0.21233363449573517, 0.5035263895988464, 0.2206452488899231, -0.5049594640731812, 0.1641349494457245, -0.06502017378807068, -0.19402073323726654, 0.3522356152534485, 0.274804025888443, 1.011080026626587, 0.05052795633673668, -0.6865140199661255, 0.4844212234020233, 0.1326051652431488, -0.3014874756336212, -0.3389216959476471, -0.09124041348695755, 0.4071481227874756, 0.41311153769493103, 0.5325412154197693, -0.014986147172749043, 0.2581115961074829, -0.5810492634773254, -0.23105479776859283, 0.31263935565948486, -0.10070109367370605, -0.20658665895462036, 0.5769420266151428, 0.1503971666097641, -0.1969538778066635, 0.6834428906440735, -0.1309213638305664, -0.19263000786304474, 0.46073266863822937, 0.45607107877731323, 0.8438149094581604, -0.14820332825183868, 0.18486101925373077, 0.12718042731285095, 0.12482255697250366, -0.042709458619356155, -0.23803944885730743, 0.05665156990289688, -0.31729620695114136, -0.47532230615615845, -0.9028676748275757, -0.08687978982925415, 0.2567271590232849, -0.6702695488929749, 0.37251800298690796, -0.4049244225025177, -0.13672617077827454, 0.2391563504934311, -0.17225584387779236, -0.7060727477073669, -0.15018880367279053, 0.09961434453725815, 0.43463969230651855, -0.6814484596252441, 0.9230337738990784, 0.7119712233543396, -0.10684294998645782, -0.770083487033844, -0.17144852876663208, 0.010433527640998363, -0.3093569874763489, 1.1607168912887573, 0.018443429842591286, -0.2904258370399475, -0.0495474673807621, -0.19270986318588257, -0.6957332491874695, 1.0630885362625122, 0.35905593633651733, -1.1323257684707642, -0.2505834698677063, 0.47072941064834595, 0.5554139614105225, 0.027059445157647133, -0.2311570793390274, 0.5358313322067261, 0.3968668580055237, 0.1902182698249817, -1.1202400922775269, -0.08125985413789749, 0.18314173817634583, 0.14061667025089264, 0.547667384147644, -0.5730491876602173, 0.8436185121536255, -0.09975836426019669, -0.29751795530319214, -0.40825435519218445, 0.40775740146636963, -0.011945486068725586, 0.7048327922821045, 0.6795938014984131, 0.37799134850502014, 0.6468379497528076, 0.05808594077825546, 0.5813531875610352, -0.10308025032281876, 0.4107886552810669, 1.3258124589920044, -0.3135226368904114, 0.9910845756530762, 0.78603196144104, -0.4538457691669464, 0.4975002408027649, 0.35866567492485046, 0.0836837887763977, 0.7051584720611572, 0.2917681038379669, -0.42399564385414124, -0.1175120398402214, 0.19998839497566223, -0.1823682337999344, 0.3546077013015747, 0.1699340045452118, -0.17187200486660004, -0.2657277584075928, 0.32655245065689087, 0.02228490635752678, 0.09982627630233765, -0.23741166293621063, 0.785266637802124, 0.029266761615872383, -0.5461388826370239, 0.8672400116920471, 0.07930822670459747, 0.5965467095375061, -0.4745360314846039, -0.03525673970580101, -0.25216805934906006, 0.3806132972240448, -0.11444482952356339, -0.6955877542495728, 0.4697287082672119, -0.05928752198815346, -0.3706519305706024, -0.2496270388364792, 0.621027410030365, -0.8024942874908447, -0.6199852228164673, 0.4572915732860565, 0.23452122509479523, 0.30678290128707886, -0.2279903143644333, -0.3424523174762726, 0.05146609619259834, 0.12280835956335068, -0.4351973831653595, 0.5774253010749817, 0.5752381086349487, -0.08097010850906372, 0.6221793293952942, 0.47288087010383606, 0.18890710175037384, 0.3805033564567566, 0.12065225094556808, 0.9069386124610901, -0.3763771653175354, -0.1766585111618042, -1.0032461881637573, 0.24948431551456451, -0.20326754450798035, -0.08846621960401535, 0.8500495553016663, 0.6770171523094177, 1.0031501054763794, -0.24158057570457458, 0.6896255612373352, -0.026186134666204453, 0.7894057035446167, -0.6029962301254272, 0.8665432333946228, -0.47368860244750977, 0.5185693502426147, -0.1431909203529358, -1.2289786338806152, -0.10197866708040237, 0.39826926589012146, -0.11334111541509628, -0.2826528251171112, 0.6114202737808228, 0.7098715305328369, 0.07224249839782715, -0.30212852358818054, 0.5653090476989746, 0.45835715532302856, 0.3902651369571686, 0.5364011526107788, 0.45316600799560547, -0.22437888383865356, 0.7016986608505249, -0.4192662239074707, -0.1019270196557045, -0.4941484034061432, -0.7461432218551636, -1.1909971237182617, -0.699083149433136, -0.5079860091209412, -0.02112448960542679, 0.19378070533275604, 0.522498369216919, 0.5434616804122925, -0.6471660137176514, -0.25788938999176025, -0.08239659667015076, 0.19580432772636414, -0.27485886216163635, -0.2844308614730835, 0.5372967720031738, -0.20989204943180084, -0.8394752144813538, 0.2692679762840271, 0.07885973900556564, 0.008058658801019192, -0.4047085642814636, -0.07419311255216599, -0.30864372849464417, -0.07046612352132797, 0.9381110072135925, -0.0976245328783989, -0.7536720037460327, -0.3352109491825104, -0.2606060206890106, 0.10490184277296066, -0.2124098241329193, 0.6260268092155457, -0.7092033624649048, 0.46107620000839233, 0.5091697573661804, 0.5908344388008118, 0.7251098155975342, -0.16398613154888153, 0.2571333646774292, -0.8788965344429016, 0.10322429984807968, 0.06869867444038391, 0.04792599007487297, 0.24656666815280914, -0.26867738366127014, 0.4690241813659668, 0.4770676791667938, -0.5167160034179688, -1.1258553266525269, -0.03302881494164467, -0.9036456942558289, -0.5409517288208008, 1.263542652130127, -0.12926127016544342, 0.0565686970949173, -0.15732716023921967, -0.40747931599617004, 0.20857855677604675, -0.2120400220155716, 0.744899332523346, 0.9894410967826843, -0.16300858557224274, -0.2092900574207306, -0.5994418859481812, 0.38487690687179565, 0.6448282599449158, -0.30689695477485657, 0.3779667019844055, 0.5778296589851379, 0.536546528339386, -0.03453828766942024, 0.22971120476722717, 0.0341348834335804, -0.26653850078582764, -0.02774861827492714, 0.13091441988945007, -0.22615112364292145, -0.43944042921066284, -0.13137629628181458, 0.03758203983306885, 0.3652286231517792, -0.18298916518688202 ]
http://arxiv.org/abs/2406.13553v1
http://arxiv.org/pdf/2406.13553v1
Mining United Nations General Assembly Debates
2024-06-19T13:43:27
2024-06-19T13:43:27
Mateusz Grzyb, Mateusz Krzyziński, Bartłomiej Sobieski, Mikołaj Spytek, Bartosz Pieliński, Daniel Dan, Anna Wróblewska
cs.CL
cs.CL, cs.IR
This project explores the application of Natural Language Processing (NLP) techniques to analyse United Nations General Assembly (UNGA) speeches. Using NLP allows for the efficient processing and analysis of large volumes of textual data, enabling the extraction of semantic patterns, sentiment analysis, and topic modelling. Our goal is to deliver a comprehensive dataset and a tool (interface with descriptive statistics and automatically extracted topics) from which political scientists can derive insights into international relations and have the opportunity to have a nuanced understanding of global diplomatic discourse.
[ -0.6308571696281433, -0.594203770160675, 0.3493289351463318, 0.03564124554395676, -0.44342389702796936, 0.3984638750553131, -0.04091370105743408, -0.5521329641342163, 0.20237088203430176, 0.6977713704109192, -0.5440785884857178, -0.590109646320343, -0.49212846159935, 0.2588862478733063, -0.5423414707183838, 0.8442502617835999, 0.5213090777397156, 0.11113333702087402, -0.2177472561597824, -0.13212080299854279, -0.1807432770729065, -0.6141408085823059, -0.7514548301696777, -0.6832640171051025, 0.11849642544984818, 0.5683606266975403, 0.7403014898300171, 0.36107751727104187, 0.3500334322452545, 0.35036829113960266, -0.5001143217086792, 0.05596053972840309, -0.08482786267995834, -0.17249616980552673, -0.590967059135437, -0.3031904101371765, -0.08941970765590668, 0.11863137036561966, 0.5003806948661804, 0.716788113117218, -0.3130294680595398, 0.06476916372776031, 0.17464429140090942, 0.7815171480178833, -0.14053696393966675, 0.46659377217292786, -0.8473354578018188, 0.2260291874408722, -0.4099852740764618, -0.4054759442806244, -0.15479838848114014, -0.03661404922604561, 0.43561819195747375, -0.22134652733802795, 0.317836195230484, -0.10982649773359299, 0.7037691473960876, -0.05384115129709244, -0.35329684615135193, -0.438778281211853, -0.45745959877967834, 0.7916116714477539, -0.9566258192062378, -0.1188175305724144, 0.20496708154678345, 0.07410774379968643, -0.8605682849884033, -1.001514196395874, -0.4898012578487396, 0.08111748844385147, -0.02147604338824749, 0.18691886961460114, -0.5795751810073853, 0.3118811547756195, 0.06008376553654671, 0.6754513382911682, -0.5774684548377991, 0.06589999794960022, -0.5582662224769592, 0.05570116639137268, 0.9842872023582458, 0.03808025270700455, 0.49838224053382874, -0.7493405938148499, -0.17741245031356812, 0.3168785870075226, -0.5136994123458862, -0.008052369579672813, 0.5198901891708374, 0.4565814137458801, -0.10042601823806763, 0.5659661293029785, -0.7472938299179077, 0.9609037041664124, -0.30761340260505676, 0.32025906443595886, -0.12418525665998459, -0.28900179266929626, -0.3930721879005432, 0.11523066461086273, 1.1030066013336182, 0.6303679347038269, 0.20200440287590027, -0.3227841556072235, 0.21237201988697052, 0.44138509035110474, 0.19834882020950317, -0.6405029296875, -0.3319551646709442, 0.118740975856781, -0.5237137079238892, -0.2813670039176941, 0.2407034933567047, -1.5040892362594604, -0.16463863849639893, -0.4584046006202698, -0.1965979039669037, 0.17547771334648132, -0.11764323711395264, 0.3041282594203949, -0.44009336829185486, 0.0661911591887474, -0.13531158864498138, -1.1269497871398926, 0.44878992438316345, 0.6836820244789124, 0.9891365766525269, -0.30099087953567505, 0.3523474633693695, -0.3333931267261505, -0.1324373185634613, -0.005719307344406843, 1.260056972503662, -0.78680419921875, -0.8042421936988831, 0.0828818827867508, 0.07049214094877243, 0.2385532110929489, -0.6625374555587769, 1.0631967782974243, -0.3018554449081421, 0.4823375642299652, -0.3723223805427551, -0.7152048945426941, -0.21869271993637085, 0.024867016822099686, -0.7058945298194885, 0.8749626278877258, -0.23462717235088348, -0.7963851094245911, 0.24691230058670044, -1.2826337814331055, -0.12362723797559738, 0.1842958927154541, -0.5283383131027222, 0.1547885537147522, 0.31651443243026733, 0.4694298505783081, 0.4132857918739319, -0.6642389893531799, 0.5038807988166809, 0.1462409347295761, -0.07881492376327515, -0.07266020029783249, -0.23372162878513336, 0.8518304824829102, 0.30973491072654724, -0.19047032296657562, 0.2814740836620331, -0.8956968188285828, 0.2480551153421402, 0.09287466108798981, -0.3189653754234314, -0.2523808479309082, 0.40601328015327454, -0.03546809405088425, 0.18689005076885223, -0.1374138444662094, -0.6302911639213562, 0.6900952458381653, -0.6407026648521423, 0.7976399064064026, 0.5370762348175049, 0.44892600178718567, 0.3705503046512604, 0.11398347467184067, 0.426259309053421, -0.2634749114513397, -0.2780221104621887, 0.1562013328075409, -1.1258842945098877, -0.4840552508831024, 0.39230087399482727, 0.607690691947937, 0.700746476650238, -0.6696084141731262, 0.2982442378997803, 0.12272370606660843, -0.3310202658176422, -0.5544955134391785, 0.12601768970489502, 0.11832393705844879, 0.36931172013282776, 0.22397056221961975, -0.5534459948539734, -1.0370450019836426, -0.7774593234062195, -0.520295262336731, -0.38311925530433655, -0.2504628598690033, -0.1108926385641098, 0.45321619510650635, -0.2372269183397293, 1.1852203607559204, -0.5675141215324402, -0.05954163148999214, -0.24703779816627502, 1.0540939569473267, 0.3660930097103119, 0.2860645055770874, 0.20215345919132233, -0.9490025639533997, -0.27527108788490295, 0.11640633642673492, -0.8004515171051025, -0.24865420162677765, -0.06368536502122879, -0.06534171104431152, 0.16349266469478607, 0.5479670763015747, -0.39485716819763184, 0.7077693939208984, 0.5164673924446106, -0.5661089420318604, 0.40927794575691223, 0.030160458758473396, 0.35713496804237366, -1.0673589706420898, -0.0818546786904335, 0.10167711973190308, -0.06126174330711365, -0.7190406322479248, -0.18281105160713196, -0.6772884130477905, -0.30025386810302734, -0.32541605830192566, 0.48114874958992004, -0.6112845540046692, -0.009747791104018688, -0.666454017162323, 0.16192053258419037, -0.023913228884339333, 0.21910478174686432, 0.17486464977264404, 0.7707630395889282, 0.6233381628990173, -0.6560396552085876, 0.5944555401802063, 0.5515959858894348, -0.6523053646087646, 0.641497790813446, -0.5959336757659912, 0.37057697772979736, 0.03860301151871681, -0.24525202810764313, -0.91791832447052, -0.25003781914711, 0.06611212342977524, -0.5444009900093079, 0.07251395285129547, -0.39189255237579346, -0.202318474650383, -0.5306764841079712, 0.034969210624694824, -0.31540632247924805, 0.2489250749349594, -0.4308835566043854, 0.33566057682037354, 1.131276249885559, -0.6435171365737915, -0.6840842962265015, -0.645269513130188, 0.6186237335205078, -0.22764208912849426, -0.5160139203071594, 0.33154764771461487, 0.17361925542354584, -0.7255455255508423, 0.30080530047416687, -0.1834472417831421, -0.08690143376588821, -0.10637776553630829, 0.42377400398254395, 0.03445877879858017, -0.15529277920722961, -0.16246800124645233, -0.28344061970710754, -0.34240850806236267, 0.3947935104370117, -0.0716160386800766, 0.6901407837867737, -0.3206562399864197, -0.07056506723165512, -0.5049512386322021, 0.7389013171195984, 0.1520976573228836, 0.049820832908153534, 0.6104456782341003, 0.3248404562473297, -0.3251313865184784, 0.0011155116371810436, -0.2806563973426819, 0.23877951502799988, -0.4601111114025116, 0.27619004249572754, 0.050929173827171326, -0.8948403000831604, 0.7244200110435486, -0.48513907194137573, 0.2100772261619568, 0.8261489272117615, 0.4550558626651764, 0.03662954270839691, 1.0643302202224731, 0.6996004581451416, -0.7772029042243958, 0.17438802123069763, -0.23898258805274963, 0.15463459491729736, -0.6577457785606384, -0.4264734387397766, -1.0259170532226562, -0.2922675311565399, -0.5264150500297546, -0.39326798915863037, -0.1410771608352661, 0.06840988993644714, 0.15925468504428864, -0.09808431565761566, -0.9353891611099243, 0.6595810651779175, 0.5449216961860657, -0.6080526113510132, 0.2533119320869446, 0.2503241300582886, 0.06095629930496216, -0.19668617844581604, -0.41604650020599365, -0.777708113193512, 0.837092936038971, -0.05394826456904411, 0.9130206108093262, -0.2102012187242508, 0.41185668110847473, 0.5787090063095093, 0.06197750195860863, -0.7134402990341187, 0.8239321112632751, -0.13227570056915283, -0.49095794558525085, -0.2535560727119446, -0.5052899122238159, -1.254464864730835, 0.2876964211463928, -0.37911751866340637, -0.9521347880363464, 0.034516509622335434, -0.22892165184020996, -0.2783544063568115, 0.7639483213424683, -0.3638298809528351, 0.7380973696708679, -0.03605518862605095, 0.339214950799942, -0.12038495391607285, -0.5632758736610413, 0.28956153988838196, 0.6114509701728821, 0.12152475118637085, -0.2173181027173996, 0.3965224027633667, 1.1510505676269531, 0.14121831953525543, 0.5695086121559143, -0.11659672111272812, -0.12132309377193451, 0.7385945916175842, -0.33562350273132324, -0.032293062657117844, 0.30379101634025574, -0.22296613454818726, 0.49441346526145935, -0.3320746421813965, -0.023474838584661484, -0.32812419533729553, 0.842732846736908, -0.6249886751174927, -0.7964745163917542, -0.7593830227851868, -0.5802680850028992, -0.12771165370941162, -0.014276506379246712, 0.26247501373291016, 0.3131655156612396, -0.8303062319755554, 0.16777154803276062, 0.2454809695482254, -0.04009952023625374, 0.6593412160873413, 0.04376220703125, -0.3874468505382538, -0.4374181926250458, 0.6041735410690308, 0.1067889928817749, 0.06856612861156464, 0.20204927027225494, 0.22472915053367615, -0.5471149682998657, -0.661759078502655, -0.5785101652145386, -0.11722154170274734, -0.6221323609352112, -0.3946988880634308, -0.5246940851211548, -0.3667986989021301, -0.22154486179351807, 0.041798461228609085, -0.002619213191792369, -0.6975052952766418, -0.24285022914409637, -0.2770727276802063, 0.3994043469429016, 1.0815129280090332, -0.36328577995300293, 0.6081649661064148, -0.7226138114929199, 0.7264070510864258, 0.447892427444458, 0.2774849236011505, -0.5506466627120972, -0.3663947582244873, 0.16970030963420868, -0.011262249201536179, -0.6720151901245117, -1.1315215826034546, 0.5958608984947205, 0.3346019685268402, 0.6185005307197571, 0.4107903838157654, -0.1855054646730423, 0.7758597731590271, -0.4327464997768402, 1.1490172147750854, 0.11336983740329742, -0.949941098690033, 0.8942096829414368, -0.37901782989501953, 0.31577998399734497, 0.5378990769386292, 0.24481616914272308, -0.6119710803031921, -0.3544164001941681, -1.035757064819336, -0.92025226354599, 0.6558628082275391, 0.08002122491598129, -0.03888224810361862, -0.17604291439056396, 0.47505122423171997, -0.23232294619083405, 0.3218460977077484, -0.6226491332054138, -0.38955363631248474, 0.14146851003170013, 0.19196844100952148, -0.0014939720276743174, -0.4619925320148468, -0.42224419116973877, -0.14650912582874298, 0.6635814905166626, -0.21005640923976898, 0.159340500831604, 0.24465343356132507, 0.36289680004119873, -0.3145526945590973, 0.7916242480278015, 0.2940616011619568, 0.9958890676498413, -0.13398543000221252, 0.018169425427913666, 0.09069535881280899, -0.3167276382446289, 0.05019896849989891, 0.08316449075937271, -0.2462226301431656, 0.5346490740776062, 0.11280851811170578, 0.5924946665763855, -0.030775485560297966, -0.5601329803466797, -0.01745530590415001, -0.3718240261077881, -0.4097667336463928, -0.18370461463928223, -0.05307326093316078, 0.40771326422691345, 0.2192048728466034, 0.5323114395141602, 0.10409289598464966, 0.451323539018631, -1.1977969408035278, 0.5663874745368958, 0.650433361530304, -0.2628187835216522, -0.27932944893836975, 0.7476107478141785, 0.19586476683616638, -0.5351884365081787, 0.7610515356063843, -0.17345601320266724, -0.48206761479377747, 0.47729355096817017, 0.5456585884094238, 0.6409209370613098, -0.3393130898475647, 0.6391997337341309, 0.38499900698661804, 0.17427559196949005, -0.05427228659391403, 0.6753720045089722, 0.4526658058166504, -0.3673677146434784, -0.7805258631706238, -0.5709085464477539, -0.6649453639984131, 0.5224210023880005, -0.9857100248336792, -0.041270725429058075, -0.42658767104148865, -0.35584473609924316, 0.23977485299110413, 0.4085049629211426, -0.34471166133880615, 0.19409792125225067, 0.4636789858341217, 0.7839621305465698, -0.9016338586807251, 0.4649381637573242, 0.47063493728637695, 0.01088332012295723, -0.38215315341949463, -0.3555878698825836, 0.40472275018692017, -0.3123018145561218, 0.3223211169242859, 0.1593552976846695, 0.01318767573684454, -0.41250747442245483, -0.9057595729827881, -0.49282944202423096, 0.5118979811668396, 0.4303971529006958, -0.4934833347797394, 0.04987964779138565, 0.3756255507469177, 0.3940555155277252, -0.2540544271469116, -0.22238124907016754, 0.9831663966178894, 0.5968117713928223, 0.06437614560127258, -0.7665199637413025, -0.35437220335006714, -0.40396028757095337, -0.3576088845729828, 0.4952614903450012, -0.3375281095504761, 0.8507204055786133, 0.03721935302019119, -0.4627632796764374, 0.05818380042910576, 1.3269803524017334, 0.04036750644445419, 0.2677749693393707, 0.45261406898498535, 0.7111788392066956, 0.9354448914527893, -0.454759418964386, 0.820432722568512, 0.13956911861896515, 0.17157720029354095, 0.9883414506912231, -0.21581706404685974, 0.5740256309509277, 0.508384108543396, -0.2036738395690918, 0.5040784478187561, 0.40182486176490784, -0.08265184611082077, 0.4612620174884796, 0.5660691261291504, -0.30623069405555725, 0.09480155259370804, -0.3343633711338043, -0.33761951327323914, 0.8368555903434753, 0.6018509864807129, 0.2056088000535965, -0.43196672201156616, -0.4417213499546051, -0.06573591381311417, 0.4051436185836792, -0.671851396560669, 0.9940011501312256, 0.3706667721271515, -0.7014122605323792, 0.09679412096738815, 0.1688397228717804, 0.6556119918823242, -0.6358144879341125, -0.4949524402618408, 0.06053406000137329, 0.053705230355262756, -0.2767690420150757, -1.093968391418457, 0.7364148497581482, 0.3814176023006439, -0.010815685614943504, -0.08617761731147766, 0.7987008094787598, -0.27864399552345276, -0.3951346278190613, 0.2845691740512848, 0.4061504900455475, 0.15955014526844025, -0.19297966361045837, -1.0330264568328857, -0.10744080692529678, 0.27130866050720215, -0.354756623506546, 0.3529822528362274, 0.72212153673172, 0.13543610274791718, 0.5258943438529968, 0.7326149344444275, 0.43676304817199707, -0.16575853526592255, 0.2615646421909332, 0.8881763815879822, -1.0180333852767944, -0.4140005111694336, -1.101277470588684, 0.4702489674091339, -0.5525115728378296, -0.44478553533554077, 0.7902481555938721, 0.6692138910293579, 0.694568932056427, 0.13790297508239746, 0.928702712059021, -0.2875722348690033, 0.49138012528419495, -0.7255411744117737, 0.6958194971084595, -0.17849832773208618, -0.2989170253276825, -0.34856513142585754, -0.5666251182556152, -0.34918031096458435, 0.8913544416427612, 0.059682030230760574, -0.49109306931495667, 0.3208359479904175, 0.3481706380844116, 0.1065685823559761, 0.6792110800743103, 0.020202653482556343, -0.0795731171965599, 0.3749275803565979, 0.22854205965995789, 0.9737746715545654, -0.09780331701040268, 0.3282482624053955, -0.12475650757551193, 0.20322182774543762, 0.22319215536117554, -1.0167640447616577, -0.8781490325927734, -0.5286408066749573, -0.15991777181625366, -0.21524585783481598, -0.2596345841884613, 0.6528671979904175, 0.37757664918899536, -1.1177300214767456, -0.5947911143302917, 0.049439024180173874, 0.07145534455776215, 0.028949186205863953, -0.25565043091773987, 0.4931226074695587, -0.19838277995586395, -0.8148236274719238, 0.7141463160514832, 0.4197063148021698, -0.17495191097259521, -0.11974717676639557, 0.3055957555770874, -0.7763941884040833, 0.08487620949745178, 0.36572781205177307, 0.6858816146850586, -0.7051317691802979, -0.3542775809764862, -0.4660537838935852, 0.4584224820137024, 0.2383326292037964, 0.9261952042579651, -0.5460496544837952, 0.49576714634895325, 0.48040077090263367, 0.6204440593719482, 0.19945701956748962, 0.35621175169944763, 0.6553181409835815, -0.8396924734115601, 0.6179569363594055, 0.23170839250087738, 0.5163047313690186, 0.4738696217536926, -0.2817455232143402, 1.0114238262176514, 0.04802985116839409, -0.9610738754272461, -0.8686175346374512, 0.030118433758616447, -1.0617382526397705, -0.09882978349924088, 0.8757734298706055, 0.038288190960884094, -0.1286608874797821, -0.5671721696853638, -0.3862636983394623, 0.22261761128902435, -0.41536059975624084, 0.7809505462646484, 0.943694531917572, -0.3995000720024109, 0.18043960630893707, -1.024362564086914, 0.7499736547470093, 0.17573508620262146, -1.1579173803329468, 0.04536449909210205, 0.35474303364753723, -0.10973751544952393, 0.3565272390842438, 0.9067224860191345, -0.20529577136039734, -0.2580956220626831, -0.14563478529453278, 0.16873091459274292, 0.46843281388282776, -0.4169759452342987, -0.291569322347641, 0.35332876443862915, -0.42881640791893005, -0.12461089342832565 ]
http://arxiv.org/abs/2406.13551v1
http://arxiv.org/pdf/2406.13551v1
Mitigating Social Biases in Language Models through Unlearning
2024-06-19T13:38:34
2024-06-19T13:38:34
Omkar Dige, Diljot Singh, Tsz Fung Yau, Qixuan Zhang, Borna Bolandraftar, Xiaodan Zhu, Faiza Khan Khattak
cs.CL
cs.CL, cs.AI
Mitigating bias in language models (LMs) has become a critical problem due to the widespread deployment of LMs. Numerous approaches revolve around data pre-processing and fine-tuning of language models, tasks that can be both time-consuming and computationally demanding. Consequently, there is a growing interest in machine unlearning techniques given their capacity to induce the forgetting of undesired behaviors of the existing pre-trained or fine-tuned models with lower computational cost. In this work, we explore two unlearning methods, (1) Partitioned Contrastive Gradient Unlearning (PCGU) applied on decoder models and (2) Negation via Task Vector, to reduce social biases in state-of-the-art and open-source LMs such as LLaMA-2 and OPT. We also implement distributed PCGU for large models. It is empirically shown, through quantitative and qualitative analyses, that negation via Task Vector method outperforms PCGU in debiasing with minimum deterioration in performance and perplexity of the models. On LLaMA-27B, negation via Task Vector reduces the bias score by 11.8%
[ -0.3700000047683716, -0.8964167833328247, 0.1555500030517578, 0.21107417345046997, -0.5149950981140137, 0.2781103253364563, -0.4271242320537567, -0.00990093033760786, 0.016059130430221558, 0.6201359033584595, -0.5314900875091553, -0.6786321401596069, -0.531852662563324, -0.275495707988739, -0.2591618597507477, 0.9189352989196777, 0.047955311834812164, 0.34484246373176575, -0.40939122438430786, -0.21793891489505768, -0.40793654322624207, -0.5304158926010132, -0.5959150791168213, -0.8342355489730835, 0.3815701901912689, 0.5500611662864685, 0.4745587408542633, 0.410126268863678, 0.1496996283531189, 0.24745382368564606, -0.2933714985847473, 0.2503605782985687, -0.9624471664428711, 0.10402166843414307, -0.10462377220392227, -0.5589792132377625, -0.13972318172454834, -0.0305075291544199, 0.4287218153476715, 0.9101178646087646, -0.207197904586792, 0.3813475966453552, 0.6245703101158142, 1.005932092666626, -0.9947347044944763, 0.2653604745864868, -0.6606836318969727, 0.1431216448545456, -0.10526319593191147, -0.017267387360334396, -0.41213324666023254, -0.38370293378829956, -0.18107321858406067, -0.5591067671775818, 0.17662249505519867, -0.39514368772506714, 0.35450100898742676, 0.5076265931129456, -0.2752513289451599, 0.10791991651058197, -0.7773464322090149, 1.132542371749878, -0.6964358687400818, 0.18606579303741455, 0.6004454493522644, 0.1769469976425171, -0.22784751653671265, -0.22374868392944336, -0.4498419463634491, 0.2061677724123001, 0.014940406195819378, 0.03895195573568344, -0.37521547079086304, -0.02451489306986332, 0.09224425256252289, -0.015362122096121311, -0.2869162857532501, 0.5333033800125122, -0.34421980381011963, -0.13455919921398163, 0.4185061752796173, 0.013099067844450474, 0.07108340412378311, -0.14815449714660645, -0.23217132687568665, 0.011143382638692856, -0.9867706894874573, -0.08188609778881073, 0.47413429617881775, 0.28693056106567383, -0.18106864392757416, 0.4361957311630249, -0.2991713583469391, 0.1551559418439865, 0.09936962276697159, 0.030860254541039467, 0.5720818042755127, -0.08128661662340164, -0.2810590863227844, -0.08296696096658707, 0.7854216694831848, 0.517068088054657, 0.6129959225654602, -0.13851961493492126, -0.06271643936634064, 0.5086562037467957, -0.07361006736755371, -0.6411163806915283, 0.04069078713655472, -0.0028063945937901735, -0.8731842637062073, -0.3811119794845581, -0.4808497726917267, -0.9346825480461121, -0.7015380263328552, -0.4713824689388275, 0.3379177451133728, -0.17913289368152618, -0.2868077754974365, -0.09380685538053513, 0.004441522061824799, 0.23804306983947754, 0.4378301203250885, -0.5638945698738098, 0.34238842129707336, 0.619655966758728, 0.654942512512207, -0.0882999524474144, -0.17892765998840332, -0.5868698954582214, -0.052499521523714066, -0.2795288860797882, 0.5374886393547058, -0.7457274794578552, -0.5273005962371826, -0.0025184829719364643, -0.08384646475315094, 0.059621840715408325, -0.7561803460121155, 0.461887001991272, -0.3457185924053192, 0.24779513478279114, -0.4771653413772583, -0.41356372833251953, -0.2759527564048767, -0.013279038481414318, -0.3238934576511383, 1.0303622484207153, -0.17793257534503937, -0.8629248142242432, 0.19231487810611725, -0.2207847386598587, -0.5427000522613525, -0.1137835904955864, -0.30207064747810364, -0.4985014796257019, 0.2567015588283539, 0.43172764778137207, 0.5338833928108215, -0.3466426134109497, 0.4889506995677948, -0.49267280101776123, -0.7070126533508301, -0.1442144811153412, -0.49698707461357117, 0.9624066948890686, 0.2679048180580139, -0.6026639342308044, 0.21256928145885468, -0.6667175889015198, -0.3496319353580475, 0.20025242865085602, -0.21018075942993164, -0.6978557705879211, 0.2659386098384857, -0.23256759345531464, 0.1295810043811798, 0.1368984580039978, -0.6182275414466858, -0.20473666489124298, -0.2209344208240509, 0.4451669156551361, 1.0426325798034668, -0.30926743149757385, 0.6987993717193604, -0.20801277458667755, 0.3907109200954437, 0.18699467182159424, 0.2418685406446457, 0.049637772142887115, -0.3362393081188202, -0.9638022184371948, -0.1215004250407219, 0.07815435528755188, 0.584860622882843, -0.8275741934776306, 0.14248047769069672, 0.16544072329998016, -0.5578554272651672, -0.6899737119674683, 0.3577546775341034, 0.6791759133338928, 0.5474166870117188, 0.35074472427368164, -0.10850909352302551, -0.5393092036247253, -0.8750467896461487, -0.30761927366256714, 0.04803203046321869, -0.1287771612405777, 0.32125794887542725, 0.3277056813240051, -0.5184590220451355, 0.5323551893234253, -0.34506386518478394, -0.36095285415649414, -0.2463660091161728, -0.020559540018439293, 0.07027914375066757, 0.41624149680137634, 0.3093879520893097, -0.520049512386322, -0.35638362169265747, -0.22198298573493958, -0.6788590550422668, -0.3211763799190521, 0.29238951206207275, -0.03126470744609833, 0.3788096606731415, 0.674228310585022, -0.38211482763290405, 0.6294041275978088, 0.6187178492546082, -0.00935050006955862, 0.3173370063304901, -0.3421052396297455, -0.2510524392127991, -0.9331510066986084, -0.044680479913949966, 0.059800390154123306, -0.1634272187948227, -0.6548705697059631, -0.26961249113082886, -0.0840834453701973, 0.03453286364674568, -0.4203172028064728, 0.34820032119750977, -0.6404263973236084, 0.011934857815504074, -0.5078606605529785, 0.18417541682720184, -0.11964469403028488, 0.6976406574249268, -0.12508605420589447, 0.46311527490615845, 0.4758518636226654, -0.6709110736846924, -0.13382954895496368, 0.12708713114261627, -0.2761041820049286, 0.24709828197956085, -0.6623303890228271, 0.2348405420780182, -0.7215752601623535, 0.18598072230815887, -0.9151237607002258, 0.4298003017902374, 0.21390214562416077, -0.3446061313152313, 0.19037671387195587, -0.1836864948272705, -0.2903849184513092, 0.09314201772212982, -0.39368757605552673, 0.49259597063064575, 0.806243896484375, -0.7179415225982666, 0.2788127660751343, 0.7445259690284729, 0.016292942687869072, -0.8829649090766907, -0.695087194442749, -0.2823909521102905, -0.24658595025539398, -0.15268731117248535, 0.38544657826423645, 0.026144469156861305, -0.4229346811771393, 0.023487349972128868, -0.040456756949424744, 0.16917945444583893, 0.1019798219203949, 0.38870102167129517, 0.15284907817840576, 0.14765958487987518, 0.015413046814501286, 0.12089704722166061, -0.18695183098316193, 0.04248449578881264, -0.0318138524889946, 0.7407654523849487, 0.15558965504169464, -0.41851821541786194, -0.07098042219877243, 0.29284438490867615, 0.49280276894569397, -0.3680119812488556, 0.8849667310714722, 0.615415632724762, -0.5003599524497986, -0.5081750154495239, -0.6371980905532837, -0.19671182334423065, -0.46504512429237366, 0.33338305354118347, 0.20394490659236908, -1.1677378416061401, 0.6109920740127563, -0.1243642196059227, -0.04532663896679878, 0.0760335922241211, 0.7263121008872986, 0.07215077430009842, 1.0373315811157227, 0.7113536596298218, -0.5567708611488342, 0.5590443015098572, -0.09871578216552734, 0.26132580637931824, -0.9003887176513672, -0.3416590392589569, -0.5565311312675476, -0.3293112516403198, -0.8624958992004395, -0.7016099095344543, 0.3029557168483734, 0.2414233237504959, -0.28134885430336, -0.12870369851589203, -0.39038389921188354, 0.7022606134414673, 0.7205027341842651, 0.3409809172153473, 0.11556274443864822, 0.2524223029613495, -0.3347786068916321, 0.1367271989583969, -0.6607484817504883, -0.5123420357704163, 1.3281670808792114, 0.27919936180114746, 0.76774662733078, -0.16756322979927063, 0.7160258293151855, 0.15583820641040802, 0.21928365528583527, -0.4122704267501831, 0.6612298488616943, -0.4446033835411072, -0.4132026135921478, -0.3674210011959076, -0.603535532951355, -0.8166385293006897, 0.6508587002754211, -0.25990405678749084, -0.7090324759483337, 0.33148863911628723, 0.30791175365448, -0.04314873367547989, 0.35575324296951294, -0.5625783801078796, 0.7269091606140137, 0.09877065569162369, -0.6066029071807861, -0.5657715201377869, -0.4700578451156616, 0.3409439027309418, -0.05076208338141441, 0.41724297404289246, -0.2643912732601166, 0.2520519196987152, 0.7792921662330627, -0.42189306020736694, 1.2785569429397583, -0.3961459696292877, 0.10037785768508911, 0.15638603270053864, -0.04090634360909462, 0.652184009552002, -0.18399111926555634, -0.15893344581127167, 0.4085998833179474, -0.34784069657325745, -0.5071260333061218, -0.2644369900226593, 0.7519751787185669, -0.8045846223831177, -0.4709009528160095, -0.13590562343597412, -0.3546951115131378, -0.17811144888401031, 0.17470717430114746, 0.25017523765563965, 0.23441937565803528, -0.2846125066280365, 0.2012397050857544, 0.8438593745231628, -0.7224836945533752, 0.5297428369522095, 0.5824753046035767, 0.03199639543890953, -0.2814251482486725, 0.8410930037498474, 0.01717986725270748, 0.21352602541446686, 0.3695942759513855, 0.35760217905044556, -0.07148585468530655, -0.5409018397331238, -0.03898988664150238, 0.32054367661476135, -0.7824960350990295, -0.11066318303346634, -0.49483996629714966, 0.12039995938539505, -0.4056282341480255, -0.07453807443380356, -0.30321115255355835, -0.23867014050483704, -0.523667573928833, -0.17363859713077545, 0.0937008410692215, 0.7189456224441528, -0.12612442672252655, 0.30791613459587097, -0.40875574946403503, 0.28217825293540955, 0.029622195288538933, 0.3699595034122467, 0.3385148048400879, -0.3780474364757538, -0.06789831072092056, 0.2102840691804886, -0.19219538569450378, -0.7948141694068909, 0.5264442563056946, -0.09629981219768524, 0.6604131460189819, 0.5588232278823853, 0.24363939464092255, 0.6009705662727356, -0.570678174495697, 0.3869156837463379, 0.13962730765342712, -0.9538480639457703, 0.3263482451438904, -0.42284008860588074, 0.32193154096603394, 0.5112073421478271, 0.29927772283554077, -0.5183278322219849, -0.2817024290561676, -0.21646250784397125, -0.9218060374259949, 0.552548885345459, -0.04538407549262047, 0.13566456735134125, -0.028803668916225433, 0.18950611352920532, 0.21959002315998077, 0.41624727845191956, -0.5671645998954773, -0.5186141133308411, -0.16041651368141174, -0.1068023219704628, -0.5432903170585632, -0.5793960690498352, 0.18726812303066254, -0.29685649275779724, 0.7436482906341553, 0.03768092766404152, -0.09556620568037033, -0.11354982107877731, -0.3433987498283386, -0.13129407167434692, 0.4273780882358551, 0.4113905429840088, 0.5262088179588318, -0.06646175682544708, 0.2135048508644104, 0.20449914038181305, -0.30400198698043823, 0.0779619961977005, -0.024805204942822456, -0.6428432464599609, -0.1139378473162651, -0.0252971388399601, 0.8293854594230652, 0.22710002958774567, -0.4198344349861145, 0.4251910150051117, 0.048001423478126526, -0.11358031630516052, -0.16984903812408447, -0.16188085079193115, 0.22245797514915466, 0.17113590240478516, 0.004220503382384777, -0.1723974198102951, -0.0005185636109672487, -0.40027013421058655, -0.1992291510105133, 0.6967950463294983, -0.4393972158432007, -0.1308751255273819, 0.6395906209945679, 0.38318899273872375, -0.11287976801395416, 0.5447745323181152, -0.128694549202919, -0.5233367681503296, 0.4402160942554474, 0.6186484098434448, 0.8167849779129028, -0.3841225206851959, 0.45786142349243164, 0.041838373988866806, 0.5198264122009277, -0.14019061625003815, 0.1789238154888153, -0.223678320646286, -0.892131507396698, -0.6075906157493591, -0.6140227317810059, -0.34515607357025146, 0.33620068430900574, -0.6545021533966064, -0.05505528301000595, -0.35046008229255676, 0.02240007184445858, -0.26452529430389404, -0.050730057060718536, -0.615044891834259, -0.017504392191767693, 0.15723693370819092, 0.5417686700820923, -0.961631715297699, 0.7417281866073608, 0.5660006999969482, -0.10993360728025436, -0.6062120795249939, -0.22170479595661163, 0.15811669826507568, -0.8762011528015137, 0.6463983654975891, 0.16736933588981628, -0.1946117877960205, -0.17780844867229462, -0.33055955171585083, -0.6076825261116028, 0.707034707069397, 0.6382772922515869, -0.6805182099342346, 0.38401514291763306, 0.4052252769470215, 0.39915066957473755, -0.14506341516971588, 0.29221707582473755, 0.4478820264339447, 0.1688316911458969, -0.24787786602973938, -0.753643810749054, 0.15327055752277374, -0.2585800290107727, 0.0019349916838109493, 0.2538606524467468, -0.5889811515808105, 0.9533764123916626, -0.20807914435863495, -0.10864333063364029, -0.5291774868965149, 0.31181421875953674, 0.1905241161584854, 0.370739221572876, 0.6326613426208496, 0.4986453056335449, 0.8790775537490845, 0.13432671129703522, 0.5862310528755188, 0.06596139818429947, 0.10918960720300674, 0.9738008975982666, -0.5219533443450928, 0.6062671542167664, 0.49313288927078247, 0.05173993483185768, 0.34464359283447266, 0.41364938020706177, 0.3442745804786682, 0.5571549534797668, 0.521290123462677, -0.26494699716567993, -0.21726416051387787, -0.2521640360355377, -0.07635224610567093, 0.4665681719779968, 0.14941918849945068, -0.29243937134742737, -0.3828238248825073, 0.09242081642150879, 0.4431406855583191, 0.38409364223480225, -0.6008898615837097, 0.7830057144165039, 0.25461816787719727, -0.5448187589645386, 0.5911279320716858, 0.023279204964637756, 0.8773676753044128, -0.3406575322151184, -0.030103154480457306, -0.6151353120803833, 0.5729613900184631, -0.2299441397190094, -0.1145392656326294, 0.07710795849561691, 0.18538130819797516, -0.3097675144672394, -0.3339950144290924, 0.8750457763671875, -0.531920850276947, -0.43064084649086, 0.6850613355636597, 0.5439645051956177, -0.07155334204435349, -0.1872074156999588, -0.6445878744125366, 0.10487455874681473, 0.1276993602514267, -0.19716714322566986, 0.6746469736099243, 0.10899116098880768, -0.23877494037151337, 0.9139325618743896, 0.6143758893013, 0.03429784998297691, -0.07374531775712967, 0.4745887815952301, 0.9691553711891174, -0.4026472568511963, -0.4206596910953522, -1.0548315048217773, 0.2143343836069107, 0.007057332433760166, 0.06550542265176773, 0.9721422791481018, 0.3819153606891632, 1.1160794496536255, 0.13022756576538086, 0.8974331021308899, 0.6019654870033264, 0.5527575612068176, -0.34752848744392395, 0.7952196002006531, -0.3750487267971039, 0.4667518734931946, -0.5076891183853149, -0.7381054162979126, -0.13590237498283386, 0.4364416301250458, -0.30123692750930786, 0.10157123953104019, 0.36760661005973816, 0.8068391680717468, 0.10197105258703232, -0.058189377188682556, 0.23699921369552612, 0.08759930729866028, 0.14921730756759644, 0.5769966244697571, 0.6932563781738281, -0.022389641031622887, 0.3706915080547333, -0.4574272036552429, -0.5047013163566589, -0.05323752388358116, -0.9306390285491943, -1.308638334274292, -0.1538427472114563, -0.2820330560207367, -0.2105887234210968, 0.392055869102478, 0.7415581345558167, 0.5029972791671753, -0.8118302822113037, -0.49358540773391724, -0.08180801570415497, 0.4066472053527832, 0.007026326842606068, -0.12087391316890717, 0.3507438898086548, -0.26487430930137634, -0.47795408964157104, 0.35281258821487427, 0.06443319469690323, -0.22727063298225403, -0.32037442922592163, -0.1432560831308365, -0.012655224651098251, -0.06119920313358307, 0.6093820929527283, 0.16222867369651794, -0.47776445746421814, 0.08471118658781052, -0.12977947294712067, 0.24998602271080017, -0.14673729240894318, 0.6580578088760376, -0.9996303915977478, 0.1756039708852768, 0.5553329586982727, 0.5411460399627686, 0.51052325963974, 0.04263637959957123, 0.6399431824684143, -0.6550648212432861, 0.25614485144615173, -0.09637179970741272, 0.48321273922920227, 0.446122407913208, -0.1859801709651947, 0.24873030185699463, 0.061063047498464584, -0.5560135245323181, -1.0052164793014526, 0.2866215705871582, -0.2909032702445984, -0.6136861443519592, 1.2065887451171875, 0.1094747856259346, -0.2775235176086426, -0.019254298880696297, -0.029294855892658234, 0.5931506752967834, -0.3571895360946655, 0.7608826160430908, 0.307188481092453, 0.2926461100578308, -0.048101965337991714, -0.373871773481369, 0.5096814036369324, 0.6360647082328796, -0.6725035905838013, 0.3771457076072693, 0.4859920144081116, 0.34393447637557983, -0.3207356631755829, 0.7048037648200989, -0.08280320465564728, -0.06904927641153336, -0.33137616515159607, 0.263327956199646, -0.1867123395204544, -0.08116751164197922, -0.6270182132720947, 0.016863567754626274, -0.2060273289680481, -0.4234887361526489 ]
http://arxiv.org/abs/2406.13542v1
http://arxiv.org/pdf/2406.13542v1
Self-play with Execution Feedback: Improving Instruction-following Capabilities of Large Language Models
2024-06-19T13:29:53
2024-06-19T13:29:53
Guanting Dong, Keming Lu, Chengpeng Li, Tingyu Xia, Bowen Yu, Chang Zhou, Jingren Zhou
cs.CL
cs.CL, cs.AI, cs.LG
One core capability of large language models (LLMs) is to follow natural language instructions. However, the issue of automatically constructing high-quality training data to enhance the complex instruction-following abilities of LLMs without manual annotation remains unresolved. In this paper, we introduce AutoIF, the first scalable and reliable method for automatically generating instruction-following training data. AutoIF transforms the validation of instruction-following data quality into code verification, requiring LLMs to generate instructions, the corresponding code to check the correctness of the instruction responses, and unit test samples to verify the code's correctness. Then, execution feedback-based rejection sampling can generate data for Supervised Fine-Tuning (SFT) and Reinforcement Learning from Human Feedback (RLHF) training. AutoIF achieves significant improvements across three training algorithms, SFT, Offline DPO, and Online DPO, when applied to the top open-source LLMs, Qwen2 and LLaMA3, in self-alignment and strong-to-weak distillation settings. Our code is publicly available at https://github.com/QwenLM/AutoIF.
[ -0.16840186715126038, -0.5452836751937866, 0.3249064087867737, 0.5036298632621765, 0.03563069924712181, 0.10730509459972382, -0.09251096099615097, -0.0789574459195137, -0.04238971322774887, 0.6545443534851074, -0.7135576009750366, -0.5348257422447205, -0.4090481102466583, 0.16500990092754364, -0.55594402551651, 0.7675931453704834, -0.28625649213790894, -0.10486597567796707, -0.21670737862586975, -0.07934482395648956, -0.3495514392852783, -0.4311490058898926, -0.447345495223999, -0.20108382403850555, 0.20727935433387756, 0.610969603061676, 0.33508720993995667, 1.0620102882385254, 0.3677728772163391, 0.4213014245033264, 0.6877351999282837, 0.45774781703948975, -0.5422198176383972, 0.16871359944343567, 0.16826938092708588, -0.26796016097068787, -0.4347648322582245, -0.006160031072795391, 0.7661568522453308, 0.10626403242349625, -0.4386277496814728, 0.14838452637195587, 0.20815211534500122, 0.7433096170425415, -0.3551699221134186, 0.2657349109649658, -0.2745724320411682, 0.014092965051531792, 0.20328617095947266, -0.27972865104675293, -0.5498350858688354, -0.5529546141624451, -0.11114952713251114, -0.41772764921188354, -0.053780168294906616, 0.12849408388137817, 0.6773170232772827, 0.8291520476341248, -0.21046267449855804, -0.4733600318431854, -0.7570831179618835, 0.41204339265823364, -0.9825375080108643, 0.3289698362350464, 0.6337592601776123, 0.30178511142730713, -0.47187286615371704, -0.4777712821960449, -0.44176164269447327, -0.42504093050956726, -0.26182225346565247, 0.05993538722395897, 0.04687130078673363, 0.08862226456403732, 0.22397033870220184, 0.3867020010948181, -0.44555503129959106, 0.16728456318378448, -0.1926400363445282, -0.0759735032916069, 0.8263317346572876, 0.0953102558851242, 0.2643028199672699, 0.03141339123249054, -0.17214751243591309, -0.17381837964057922, -0.8688223361968994, 0.03722700849175453, 0.6056538224220276, 0.026308724656701088, -0.06786934286355972, 0.3162267506122589, -0.48675867915153503, 0.7721366286277771, 0.5289744138717651, -0.11762126535177231, 0.2221771776676178, -0.3170654773712158, -0.27500948309898376, -0.02058430016040802, 0.9768309593200684, 0.1772293895483017, 0.1157679334282875, -0.17079336941242218, -0.46486806869506836, -0.48349159955978394, 0.2214352786540985, -1.016815423965454, -0.5285133719444275, 0.07697275280952454, -0.3485282361507416, -0.4080720841884613, 0.10749982297420502, -0.41281619668006897, -0.036187347024679184, -0.4363082945346832, 0.46108129620552063, -0.3894459903240204, -0.05209384858608246, -0.24524523317813873, 0.3507876396179199, 0.31900039315223694, 0.22872094810009003, -1.0500882863998413, 0.3002578020095825, 0.38125181198120117, 0.45268821716308594, -0.2969086170196533, -0.581239640712738, -1.030559778213501, 0.26145392656326294, -0.4695339798927307, 0.7697228789329529, -0.24929271638393402, -0.3282201588153839, -0.19301359355449677, 0.1430807113647461, 0.0019067830871790648, -0.5805003046989441, -0.04277294874191284, -0.3034665584564209, 0.13151943683624268, -0.1576322466135025, -0.8163175582885742, -0.035092759877443314, 0.0995345339179039, -0.4958874583244324, 1.229782223701477, 0.19846895337104797, -0.24182461202144623, 0.3123394846916199, -0.47301986813545227, -0.6961272358894348, 0.017232948914170265, -0.40745022892951965, -0.3909881114959717, 0.030540376901626587, 0.3569960594177246, 0.3038835823535919, 0.03609832003712654, 0.11625517904758453, -0.25520750880241394, -0.35794124007225037, -0.12542611360549927, -0.5078377723693848, 0.33062824606895447, -0.12071041017770767, -0.8490408658981323, 0.06906487047672272, -0.9907763004302979, 0.2660074830055237, 0.013020949438214302, -0.468019038438797, 0.20736943185329437, 0.2371642291545868, -0.4664895236492157, 0.14718806743621826, 0.04447529464960098, -0.4176260828971863, 0.3881731331348419, -0.37601330876350403, 0.31087589263916016, 0.66728675365448, 0.09400881826877594, 0.31902220845222473, -0.12321530282497406, 0.6035801768302917, -0.48584243655204773, 0.21573634445667267, -0.4380800127983093, -0.004354482050985098, -0.6900383234024048, -0.3430533707141876, 0.32603970170021057, 0.6514962911605835, -0.8508838415145874, 0.572632372379303, 0.21891383826732635, -0.4366931915283203, -0.5969085097312927, 0.6883098483085632, 0.5500591993331909, 0.5468431115150452, 0.32138076424598694, -0.1568787842988968, -0.5492143630981445, -0.7025270462036133, 0.16368763148784637, -0.45132359862327576, 0.24939550459384918, 0.3104264438152313, 0.1991315484046936, -0.3674120306968689, 0.8963912129402161, -0.2910420000553131, -0.3718644976615906, -0.03798368573188782, 0.4683976471424103, -0.11960085481405258, 0.616640567779541, 0.5328813195228577, -0.19441024959087372, -0.5140774250030518, -0.23984675109386444, -0.5949583649635315, -0.43435996770858765, -0.11227592825889587, -0.20028182864189148, 0.35980769991874695, 0.6171367168426514, -0.04889640584588051, 0.41813579201698303, 0.7992777228355408, -0.03009893372654915, 0.364248126745224, -0.5018767714500427, 0.5051460266113281, -0.7212609648704529, 0.015553164295852184, -0.36259740591049194, -0.5008057951927185, -0.28519654273986816, -0.1330379694700241, 0.12332066148519516, 0.2588745355606079, -0.22057758271694183, 0.2644427716732025, -0.5204982757568359, -0.1625155508518219, -0.5989545583724976, -0.26109030842781067, -0.03785748779773712, 0.43713271617889404, 0.14851291477680206, 1.036588191986084, 0.4684129059314728, -0.7372560501098633, 0.4904805123806, 0.20878489315509796, -0.17103193700313568, 0.24848106503486633, -0.7798051834106445, 0.17876587808132172, 0.047855526208877563, 0.3677230477333069, -1.135331153869629, -0.49747124314308167, 0.25680607557296753, -0.258058100938797, 0.4881249964237213, -0.41251710057258606, -0.7057421803474426, -0.48851656913757324, -0.028463663533329964, 0.12400879710912704, 0.6262347102165222, -0.7260861396789551, 0.5032762289047241, 0.28186118602752686, 0.04089754819869995, -0.48676803708076477, -0.673800528049469, -0.0744987428188324, 0.3309747874736786, -0.15641170740127563, 0.050400372594594955, -0.35103338956832886, 0.20932637155056, -0.19608525931835175, -0.027491094544529915, -0.07061884552240372, 0.2277446836233139, 0.3111763298511505, 0.2550640404224396, -0.021008487790822983, 0.08759372681379318, 0.1354028582572937, -0.11936960369348526, 0.18573932349681854, -0.23348061740398407, 0.18986907601356506, -0.08123265206813812, -0.6182543039321899, -0.7477735280990601, 0.041037172079086304, 0.3627971410751343, -0.35469433665275574, 0.19109883904457092, 0.5755172371864319, -0.09399545937776566, -0.5552971363067627, -0.5613394975662231, -0.23510317504405975, -0.52458655834198, 0.11695081740617752, 0.0044539314694702625, -0.7411718368530273, 0.08491027355194092, 0.049571603536605835, 0.4443565607070923, 0.3348940908908844, 0.6147637963294983, -0.39356130361557007, 1.129757285118103, 0.6577537059783936, -0.03687058389186859, 0.47464701533317566, -0.26565802097320557, 0.007530437782406807, -0.5211771726608276, 0.016324898228049278, -0.17363698780536652, -0.12916940450668335, -0.485463410615921, -0.384271502494812, 0.09332000464200974, 0.0495087094604969, -0.03445104882121086, 0.5342771410942078, -0.6244670152664185, 0.5045467615127563, 0.5649509429931641, -0.15347450971603394, 0.15290707349777222, -0.19130612909793854, -0.027016881853342056, 0.2507878839969635, -0.6900927424430847, -0.399966299533844, 0.9182215332984924, 0.44712722301483154, 1.1857004165649414, -0.08882173895835876, 1.2857446670532227, 0.3569270670413971, 0.7624935507774353, -0.5231348872184753, 0.3259313404560089, -0.08008511364459991, -0.3130750358104706, -0.44444581866264343, -0.662348747253418, -0.38828375935554504, -0.23064470291137695, 0.02369765192270279, -0.33118271827697754, -0.03091002255678177, 0.8441540598869324, -0.7494558095932007, 0.051228296011686325, -0.7606488466262817, 0.6173207759857178, -0.6527306437492371, -0.312500536441803, 0.005672698840498924, -0.38506415486335754, 0.2412356287240982, 0.07651390135288239, 0.10269491374492645, -0.10772714763879776, 0.05077684670686722, 0.4478960931301117, -0.5264253616333008, 0.8693292140960693, -0.23556175827980042, -0.4790644943714142, 0.640684187412262, 0.31420859694480896, 0.6681787371635437, 0.03690211847424507, 0.0989324077963829, -0.2203095257282257, 0.02657749131321907, -0.11246234178543091, -0.672907829284668, 0.7977427840232849, -0.6729056239128113, -0.6400798559188843, -0.16724805533885956, -0.28415587544441223, -0.1605934351682663, 0.28857994079589844, 0.15784570574760437, 0.6235579252243042, -0.15910084545612335, 0.06899438798427582, 0.7415852546691895, -0.05906057357788086, 0.5526590943336487, 0.6231287121772766, -0.35589921474456787, -0.6296162009239197, 1.0974682569503784, 0.16906902194023132, 0.23093515634536743, 0.344184011220932, 0.04479963704943657, -0.2556781470775604, -0.49956950545310974, -1.094605803489685, 0.09643004089593887, -0.5593457221984863, -0.40261006355285645, -0.49640920758247375, -0.21184088289737701, -0.4416389465332031, 0.1942366063594818, -0.5494869351387024, -0.13096487522125244, -0.3068564832210541, -0.06415136903524399, 0.2582198679447174, 1.2035337686538696, -0.16818642616271973, 0.26130881905555725, -0.9534189105033875, 0.12648962438106537, 0.47630152106285095, 0.6408459544181824, -0.08406297117471695, -0.6249918341636658, -0.31531447172164917, -0.05441213399171829, -0.14883902668952942, -0.6989338994026184, 0.26543688774108887, 0.42984500527381897, 0.6577789783477783, 0.29334378242492676, 0.028488511219620705, 0.5666841268539429, -0.7697083353996277, 0.44405004382133484, -0.10084807127714157, -0.828510046005249, 0.5624426007270813, -0.12171714752912521, 0.29929402470588684, 0.7664526104927063, 0.24698805809020996, 0.007215579971671104, -0.46435290575027466, -0.37938007712364197, -0.6299771070480347, 0.7126181721687317, 0.13974417746067047, 0.047366250306367874, -0.21248430013656616, 0.5500085949897766, 0.13281463086605072, 0.27620798349380493, -0.4870903491973877, -0.3355776071548462, -0.2706890106201172, -0.5662338137626648, 0.062252163887023926, -0.031608596444129944, 0.05808742344379425, -0.1868150681257248, 0.888444185256958, -0.5024910569190979, 0.22332075238227844, 0.3380211293697357, -0.31079724431037903, -0.43400394916534424, -0.22719688713550568, 0.4761659801006317, 0.5584693551063538, -0.07604856789112091, -0.03543660044670105, 0.1900288462638855, -0.2276206761598587, 0.3374202847480774, 0.15626756846904755, -0.14020903408527374, -0.21418613195419312, 0.35815098881721497, 0.6812527179718018, 0.293592631816864, -0.682505190372467, 0.4424496293067932, -0.3003195524215698, -0.316531240940094, -0.41186240315437317, 0.6283106207847595, -0.021328885108232498, 0.19283457100391388, 0.2142324000597, -0.36300039291381836, 0.31969383358955383, -0.442437082529068, 0.6433607339859009, 0.23972466588020325, -0.36624789237976074, -0.2828580439090729, 0.4953223168849945, 0.2728213667869568, -0.2817268371582031, 0.5304793119430542, -0.4466509521007538, -0.5392160415649414, 0.5916139483451843, 0.39222508668899536, 0.7495782375335693, -0.3857458829879761, 0.2864142656326294, 0.515928328037262, 0.31254854798316956, -0.16223613917827606, 0.18436568975448608, -0.34032100439071655, -0.1417282223701477, -0.6143158078193665, -0.5341026782989502, -0.48475536704063416, -0.12005376815795898, -0.5932492613792419, 0.15931981801986694, -0.6355150938034058, 0.12149055302143097, -0.3540126383304596, -0.0708075612783432, -0.5895141363143921, 0.23927123844623566, 0.318970263004303, 0.7901527881622314, -0.49240025877952576, 0.9503461122512817, 0.44000524282455444, -0.3453505337238312, -0.9321660995483398, 0.18001443147659302, -0.09162446856498718, -0.8303566575050354, 0.6695495843887329, 0.2648409903049469, -0.3200938403606415, 0.29222145676612854, -0.6203330159187317, -1.126333236694336, 1.160243272781372, 0.18700525164604187, -0.8671504855155945, 0.017083311453461647, -0.04627829045057297, 0.5345495343208313, -0.5823099613189697, 0.48445841670036316, 0.6326054930686951, 0.26037296652793884, 0.24205628037452698, -0.6633042693138123, -0.026866218075156212, 0.012131993658840656, -0.21906732022762299, 0.17814986407756805, -0.8311780095100403, 0.2517780661582947, -0.23517034947872162, -0.08735337853431702, 0.06929866969585419, 1.000707983970642, -0.06624557077884674, -0.10017693787813187, 0.6629230976104736, 0.5874123573303223, 0.5693203210830688, 0.13264776766300201, 0.8914194107055664, -0.6381896138191223, 0.25387850403785706, 1.5861570835113525, -0.3585297763347626, 0.8502870202064514, 0.12168043851852417, 0.049863897264003754, 0.6471537351608276, 0.5102543830871582, -0.23213666677474976, 0.48407652974128723, 0.3133400082588196, 0.21495510637760162, -0.1324295550584793, 0.38806310296058655, -0.00015535973943769932, 0.4207553565502167, 0.12473966926336288, -0.36241835355758667, -0.1739211082458496, -0.15262189507484436, -0.2085876613855362, -0.061515823006629944, -0.05949992313981056, 1.0843533277511597, -0.21297062933444977, -1.0205556154251099, 0.7014487981796265, -0.12235081195831299, 0.4548814594745636, -0.5279033780097961, -0.5355126261711121, -0.23699894547462463, 0.05947526916861534, -0.25114941596984863, -0.6115595698356628, 0.26600033044815063, 0.0741620808839798, -0.09546878188848495, -0.24564489722251892, 0.5102658271789551, -0.7380232810974121, -0.2968100309371948, 0.3731936812400818, 0.3207910358905792, -0.049851540476083755, 0.39460060000419617, -0.6851832270622253, 0.05844278633594513, 0.1249910518527031, -0.3779725134372711, 0.200493723154068, 0.33628126978874207, 0.30918288230895996, 0.6808232665061951, 0.5103750824928284, -0.07164762169122696, 0.12857936322689056, 0.04532645270228386, 0.713213324546814, -0.36366933584213257, -0.35578539967536926, -0.6728495359420776, 0.23305130004882812, 0.001133839599788189, -0.3769890069961548, 0.6339782476425171, 0.2702186107635498, 0.8455039858818054, 0.2087625116109848, 0.715742290019989, -0.11602857708930969, 0.4456399083137512, -0.39266353845596313, 0.7813234925270081, -0.3812209963798523, 0.1665046662092209, 0.0441826730966568, -0.6455022096633911, 0.028301337733864784, 0.5897243022918701, -0.14424273371696472, 0.14592188596725464, 0.3810524046421051, 0.829214870929718, 0.00724075036123395, -0.18189701437950134, 0.27404066920280457, 0.20332804322242737, 0.35061904788017273, 0.22949090600013733, 0.6236850619316101, -0.43192631006240845, 0.6024043560028076, -0.46926647424697876, -0.47737523913383484, -0.293511301279068, -1.0101326704025269, -0.983346700668335, -0.3422676622867584, -0.45617014169692993, -0.34843429923057556, 0.05602717399597168, 1.3305130004882812, 0.9327314496040344, -0.9703795313835144, -0.2838016748428345, -0.3068225681781769, -0.08385272324085236, -0.24869002401828766, -0.18273112177848816, 0.33539411425590515, -0.7415387034416199, -0.6170463562011719, 0.6621459126472473, 0.3441561460494995, 0.17326222360134125, -0.5959022045135498, -0.42567718029022217, -0.10119283944368362, 0.24082855880260468, 0.36123406887054443, 0.4737909436225891, -0.4736480116844177, -0.34447240829467773, 0.023691914975643158, -0.32604771852493286, 0.04500415921211243, 0.6156818270683289, -0.7120085954666138, 0.4167230427265167, 0.2895483672618866, 1.026971697807312, 0.07489770650863647, 0.07689694315195084, 0.8417237997055054, -0.5617791414260864, -0.4495396316051483, 0.17098850011825562, 0.2600880563259125, 0.35745981335639954, -0.5625243186950684, 0.4819076657295227, 0.006285870913416147, -0.7121850848197937, -0.6709975600242615, 0.15398427844047546, -0.26106905937194824, 0.22214241325855255, 1.104938268661499, -0.4782853126525879, -0.48163580894470215, 0.3082892596721649, -0.19332168996334076, 0.1972157508134842, -0.437305212020874, 0.9169031977653503, 0.702118456363678, -0.29693108797073364, -0.352634459733963, -0.4946316182613373, 0.8273347616195679, 0.3557116389274597, -1.0103509426116943, 0.2855529189109802, 0.4974587559700012, 0.36067551374435425, -0.2987526059150696, 0.5881860852241516, 0.014094670303165913, 0.4925495684146881, -0.4011400043964386, 0.1945786029100418, -0.27900683879852295, -0.5269543528556824, -0.3130541145801544, -0.15819253027439117, 0.202234148979187, -0.1391725093126297 ]
http://arxiv.org/abs/2406.13502v1
http://arxiv.org/pdf/2406.13502v1
ManWav: The First Manchu ASR Model
2024-06-19T12:47:34
2024-06-19T12:47:34
Jean Seo, Minha Kang, Sungjoo Byun, Sangah Lee
cs.CL
cs.CL, cs.SD, eess.AS
This study addresses the widening gap in Automatic Speech Recognition (ASR) research between high resource and extremely low resource languages, with a particular focus on Manchu, a critically endangered language. Manchu exemplifies the challenges faced by marginalized linguistic communities in accessing state-of-the-art technologies. In a pioneering effort, we introduce the first-ever Manchu ASR model ManWav, leveraging Wav2Vec2-XLSR-53. The results of the first Manchu ASR is promising, especially when trained with our augmented data. Wav2Vec2-XLSR-53 fine-tuned with augmented data demonstrates a 0.02 drop in CER and 0.13 drop in WER compared to the same base model fine-tuned with original data.
[ -0.19198952615261078, -0.29869353771209717, -0.043184589594602585, 0.08835461735725403, -0.32722246646881104, 0.20654307305812836, -0.11142177134752274, -0.49095284938812256, -0.0502314418554306, 0.603028416633606, -0.46828389167785645, -0.12265975028276443, -0.7059363722801208, -0.15449108183383942, -0.7113966941833496, 0.4506394565105438, 0.3149334788322449, 0.11122207343578339, 0.332467257976532, -0.27583834528923035, -0.23807604610919952, -0.49545818567276, -0.7882079482078552, -0.25837060809135437, 0.23749031126499176, 0.5305449962615967, 0.6807373762130737, 0.8550137281417847, 0.44054239988327026, 0.30657070875167847, -0.28781041502952576, -0.0654979720711708, -0.17200514674186707, -0.35243576765060425, 0.20721003413200378, -0.3169058561325073, -0.23090364038944244, -0.0522843636572361, 0.7671665549278259, 0.4980386793613434, -0.6005343794822693, 0.1326497495174408, -0.09438599646091461, 0.3466407358646393, -0.4347098469734192, 0.19134682416915894, -0.6217603087425232, -0.2119520753622055, -0.7273240089416504, 0.22543565928936005, -0.40691742300987244, 0.08556188642978668, 0.3829015791416168, -0.8558796644210815, 0.11236639320850372, -0.0325842909514904, 1.0250070095062256, 0.5235979557037354, -0.43693485856056213, 0.12491058558225632, -0.9274718165397644, 0.982442319393158, -0.5697934627532959, 0.6472322344779968, 0.6429856419563293, 0.5615572333335876, 0.047293730080127716, -0.7125236988067627, -0.7786319255828857, -0.21558527648448944, 0.11055261641740799, -0.03790437430143356, -0.32731956243515015, -0.31219425797462463, 0.10057619214057922, 0.2724199593067169, -0.22365380823612213, 0.31794077157974243, -0.9930848479270935, -0.5633647441864014, 0.6439335942268372, 0.3207634389400482, 0.17254005372524261, -0.6076841354370117, -0.35960453748703003, -0.18994563817977905, -0.38919535279273987, 0.3088130056858063, 0.05319172888994217, 0.37932446599006653, -0.1865624189376831, 0.46707969903945923, -0.20227883756160736, 0.6796295046806335, -0.07184702157974243, -0.032471705228090286, 0.09574175626039505, -0.23538875579833984, -0.09006141126155853, 0.12816736102104187, 0.8298647403717041, 0.12635354697704315, -0.0450906977057457, 0.35995686054229736, -0.1626422107219696, 0.21437546610832214, 0.09231463074684143, -0.43167829513549805, -0.5531195998191833, -0.2684800326824188, -0.5603163242340088, -0.09300926327705383, -0.00010337503772461787, -0.41996896266937256, -0.6195932030677795, -0.08563017100095749, 0.6180922389030457, -0.43583256006240845, -0.7473428249359131, -0.2597614824771881, -0.21809855103492737, 0.8845040202140808, 0.144760400056839, -1.088342308998108, 0.6082575917243958, 0.8340337872505188, 0.523548424243927, 0.07001876085996628, -0.21984310448169708, -0.4722841680049896, 0.02167867124080658, -0.5306056141853333, 0.6400850415229797, -0.5798000693321228, -0.7289097309112549, -0.46790507435798645, -0.0041351174004375935, 0.4461831748485565, -0.6843043565750122, 0.9354196190834045, -0.39532986283302307, 0.14528456330299377, -0.379314661026001, -0.16126452386379242, -0.13266326487064362, -0.2204829305410385, -0.6551539897918701, 0.9418535232543945, 0.42567965388298035, -0.6129393577575684, 0.6240118145942688, -0.7270825505256653, -0.4926984906196594, 0.22084301710128784, -0.27654239535331726, -0.46014484763145447, -0.15399493277072906, -0.14613938331604004, -0.006508037447929382, -0.7407457828521729, -0.07203759253025055, 0.2838064134120941, -0.17061994969844818, 0.15846580266952515, -0.4658859372138977, 0.8873977065086365, 0.3351767957210541, -0.1498410850763321, 0.22328908741474152, -1.0321069955825806, 0.09194986522197723, 0.3085719645023346, -0.725920557975769, -0.6359378099441528, 0.15804603695869446, 0.3692561984062195, 0.1975143998861313, 0.03630736097693443, -0.9613632559776306, -0.3668864369392395, -0.6223693490028381, 0.6144850850105286, 0.6732578873634338, -0.45728951692581177, 0.46904775500297546, -0.07826142758131027, 0.05857545882463455, 0.07172473520040512, 0.37439876794815063, 0.050168152898550034, -0.4718266427516937, -0.9771097898483276, -0.29276859760284424, 0.3657194674015045, 0.5766978859901428, -0.5783954858779907, 0.03929390013217926, 0.05916864424943924, -0.6898396015167236, -1.0426077842712402, -0.15278847515583038, 0.648886501789093, 0.48544028401374817, 0.2594226598739624, -0.25120440125465393, -0.9359550476074219, -1.2924869060516357, -0.13796600699424744, -0.425836980342865, -0.20013055205345154, 0.38813579082489014, -0.18228766322135925, -0.3380751311779022, 0.8149620294570923, -0.49884042143821716, -0.46156999468803406, -0.22638271749019623, 0.18500474095344543, -0.01437441073358059, 0.5401596426963806, 0.09917820245027542, -1.0755350589752197, -0.6654141545295715, 0.12381526082754135, -0.2838296592235565, 0.027871131896972656, 0.5211049318313599, 0.06306615471839905, 0.6032339334487915, 0.364865243434906, -0.37578916549682617, 0.1908242106437683, 0.5128363370895386, -0.135646253824234, 0.31820738315582275, -0.2442726194858551, 0.1333671361207962, -1.1644220352172852, 0.10779207944869995, -0.10252790153026581, 0.003055429086089134, -1.0737601518630981, -0.3030831515789032, 0.2439446598291397, -0.15669387578964233, -0.46513551473617554, 0.48310771584510803, -0.4318929612636566, -0.08211435377597809, -0.29479652643203735, -0.20283722877502441, -0.3665085434913635, 0.05314633622765541, 0.19388841092586517, 0.6714690923690796, 0.5818362832069397, -0.5932890772819519, 0.3762257695198059, 0.6435747742652893, -0.4295257329940796, 0.3030839264392853, -0.8203409910202026, 0.141714945435524, -0.043743547052145004, -0.18193531036376953, -0.6861972808837891, -0.45094770193099976, 0.18635205924510956, -0.8115661144256592, 0.48921725153923035, 0.06238199397921562, 0.03133213520050049, -0.5014961361885071, -0.06346625834703445, 0.2344086766242981, 0.9125822186470032, -0.47856828570365906, 0.6437386870384216, 1.1803321838378906, -0.11583735048770905, -0.6333768367767334, -0.5600361227989197, 0.010289032012224197, -0.08611981570720673, -0.513804018497467, 0.12102825939655304, 0.152558833360672, -0.4081609547138214, -0.2931397557258606, -0.29917484521865845, -0.4330572187900543, 0.02655208110809326, 0.34369367361068726, 0.6337137222290039, -0.2739824652671814, -0.3690218925476074, -0.17118926346302032, -0.6108965277671814, 0.03913751244544983, 0.023177118971943855, 0.4648467004299164, -0.13985174894332886, -0.05498037114739418, -0.5739745497703552, 0.3262881934642792, 0.46515122056007385, -0.36947399377822876, 0.2989400625228882, 0.5989255309104919, -0.7330563068389893, 0.21333061158657074, -0.5554320216178894, 0.036269839853048325, -0.533345639705658, 0.49162769317626953, -0.39869144558906555, -0.6069270372390747, 0.26045018434524536, 0.23572978377342224, 0.03665335476398468, 0.7085846662521362, 0.3935358226299286, 0.11849351227283478, 1.0938076972961426, 0.8835849761962891, -0.15256895124912262, 0.4910524785518646, -0.1858823001384735, -0.14584079384803772, -0.9788035154342651, -0.5636721253395081, -0.6275984048843384, 0.19981075823307037, -0.5787465572357178, -0.4590713381767273, 0.43223968148231506, -0.41718024015426636, -0.16663752496242523, 0.484237939119339, -0.5618715286254883, 0.47424665093421936, 0.7435490489006042, 0.05715169012546539, 0.1727035790681839, -0.3953540027141571, 0.29091641306877136, -0.3984713554382324, -0.515929639339447, -0.2648186981678009, 0.8376337885856628, 0.242651104927063, 1.0256764888763428, 0.15134872496128082, 0.3282723128795624, 0.4237392246723175, 0.02850329875946045, -0.6485152244567871, 0.573229968547821, -0.741787850856781, -0.7808818221092224, -0.7671887874603271, -0.28206562995910645, -0.9153155088424683, 0.1328265368938446, -0.2353154867887497, -0.23919259011745453, 0.04324088618159294, 0.2488044947385788, -0.5255323052406311, 0.02682419866323471, -0.5645918846130371, 0.7206159234046936, -0.22044460475444794, -0.09520725905895233, -0.31251904368400574, -1.0895336866378784, 0.39527565240859985, -0.0959632396697998, 0.255961537361145, -0.11868471652269363, -0.007302214857190847, 0.9744856357574463, -0.379587858915329, 0.3010874092578888, -0.3732742667198181, 0.1412835419178009, 0.3517647683620453, -0.12232090532779694, 0.34793102741241455, -0.4225429594516754, -0.07024897634983063, 0.19896040856838226, -0.0608014352619648, -0.4193945527076721, -0.08565257489681244, 0.5309401750564575, -1.2567445039749146, -0.7039231061935425, -0.37317323684692383, -0.20522038638591766, 0.1669061928987503, 0.30441755056381226, 0.37695953249931335, 0.5281808972358704, -0.29920798540115356, 0.21167084574699402, 0.4965461790561676, -0.34639671444892883, 0.11276249587535858, 0.9438228607177734, -0.01776052638888359, -0.526352047920227, 1.0785975456237793, 0.3842160999774933, 0.5441129207611084, 0.18444830179214478, 0.3617471158504486, -0.2996027171611786, -0.4142626225948334, -0.6000534296035767, 0.05941940099000931, -0.6149175763130188, 0.06471268832683563, -0.8772431015968323, -0.6576201319694519, -0.22848771512508392, -0.03427693247795105, -0.7600312232971191, -0.46908092498779297, -0.34954509139060974, 0.3043801486492157, 0.3104492723941803, 0.805097222328186, -0.33073851466178894, 0.21331535279750824, -0.7581890225410461, 0.5625662207603455, 0.5124403238296509, 0.3651854991912842, -0.22079282999038696, -0.9017415046691895, -0.18022975325584412, 0.046151529997587204, 0.16374899446964264, -0.3284885287284851, 0.527766227722168, 0.32593870162963867, 0.66120445728302, 0.2537713646888733, 0.3637583255767822, 0.6011934876441956, -0.5461276173591614, 0.8554369807243347, 0.25319042801856995, -1.002389669418335, 0.5282773971557617, -0.32943472266197205, 0.3354068696498871, 0.1881735920906067, 0.10766978561878204, -0.5929849743843079, -0.21928994357585907, -0.49122223258018494, -0.9553601741790771, 1.0948365926742554, -0.20729991793632507, 0.15494808554649353, 0.25722426176071167, -0.003945513162761927, 0.4050949513912201, -0.0508994497358799, -0.23610715568065643, -0.26934781670570374, -0.5146493315696716, -0.0007419268949888647, -0.14879514276981354, -0.2587534487247467, 0.12470318377017975, -0.4416300058364868, 0.7534205913543701, 0.12675194442272186, -0.04636695608496666, 0.08703352510929108, -0.284053772687912, -0.4354134202003479, 0.37374556064605713, 0.46478813886642456, 0.17561058700084686, -0.09061619639396667, 0.05449550226330757, 0.5018114447593689, -0.7071430683135986, 0.20696523785591125, 0.19651639461517334, -0.22729051113128662, -0.0927690640091896, -0.18125824630260468, 1.1002883911132812, 0.39079755544662476, -0.6670598983764648, 0.45792075991630554, -0.21730679273605347, 0.005851294379681349, -0.7765499353408813, 0.1647559553384781, 0.04541565105319023, 0.3477107882499695, 0.6108882427215576, 0.19662731885910034, 0.2575923502445221, -0.5512464642524719, 0.22217939794063568, 0.581087589263916, -0.553579568862915, -0.2141246199607849, 1.2159769535064697, 0.41360852122306824, -0.7630211114883423, 0.6924198269844055, 0.07599710673093796, -0.6427844762802124, 0.4282844364643097, 0.5690703392028809, 0.7386961579322815, -0.6013283133506775, -0.012033776380121708, 0.52754145860672, 0.47511062026023865, -0.05032476410269737, 0.28408247232437134, -0.06304211169481277, -0.46580690145492554, -0.12864139676094055, -0.6556723713874817, -0.8338315486907959, -0.023020705208182335, -0.9868788719177246, 0.7956855893135071, -0.41388821601867676, -0.1330062448978424, 0.36687588691711426, 0.05550570785999298, -0.18012036383152008, 0.07807541638612747, 0.36953452229499817, 0.997487485408783, -0.6788777709007263, 0.9953556656837463, 0.4823876619338989, -0.2255098670721054, -0.8411937355995178, -0.1459096372127533, 0.1576109379529953, -0.8370926976203918, 0.43443232774734497, -0.08284258842468262, -0.25580883026123047, 0.354436457157135, -0.3907337188720703, -1.2224372625350952, 1.1815414428710938, 0.1526103913784027, -0.31967321038246155, 0.24672392010688782, -0.05972445011138916, 0.4686385989189148, 0.0814637616276741, -0.16996251046657562, 0.9194287657737732, 0.4161957800388336, 0.2839105725288391, -1.439422607421875, -0.09486480802297592, -0.3795712888240814, 0.06571456789970398, 0.5149796605110168, -1.0222210884094238, 1.1547433137893677, -0.6976680755615234, -0.5517845153808594, 0.2975655198097229, 0.6773927807807922, -0.043639518320560455, 0.1309044510126114, 0.6408755779266357, 0.1186537966132164, 0.5830552577972412, -0.07613623887300491, 0.8187781572341919, 0.17327691614627838, -0.10875242948532104, 0.8715763092041016, -0.43485814332962036, 1.1753467321395874, 0.12315637618303299, -0.45586755871772766, 0.24283626675605774, 0.41582298278808594, 0.03681017458438873, 0.7108965516090393, -0.07397929579019547, -0.3186727464199066, -0.08576848357915878, -0.2626205086708069, -0.3004710078239441, 0.8787431716918945, 0.38015949726104736, 0.03126592934131622, 0.21263344585895538, 0.02306562103331089, 0.0455213226377964, 0.05461157485842705, -0.4194289743900299, 1.210328221321106, -0.06691399216651917, -0.4073788821697235, 0.9306601881980896, 0.01704525388777256, 0.8898528814315796, -0.8616999983787537, 0.12679114937782288, 0.23903495073318481, 0.26784712076187134, -0.1697281152009964, -0.7118831872940063, 0.5578402876853943, 0.097523033618927, -0.4391117990016937, 0.2915969789028168, 0.9773246645927429, -0.4738532602787018, -0.26945969462394714, 0.33747294545173645, 0.06373263895511627, 0.20374459028244019, 0.25324931740760803, -0.2423722743988037, 0.26896485686302185, 0.07626271992921829, 0.004046306945383549, 0.32051166892051697, -0.07551863044500351, -0.12873724102973938, 0.6735178232192993, 0.6693569421768188, -0.08163364231586456, 0.2992233633995056, -0.10581831634044647, 0.8728039860725403, -0.8753537535667419, -0.44250160455703735, -0.693977415561676, 0.634207010269165, -0.13425324857234955, -0.1902255266904831, 0.5689106583595276, 0.5154816508293152, 0.6893738508224487, 0.011532151140272617, 0.9455782771110535, -0.3648660182952881, 1.0015103816986084, -0.1181589812040329, 1.2039116621017456, -0.4515257477760315, -0.029722483828663826, -0.19650961458683014, -0.16676734387874603, -0.05176255851984024, 0.6159493327140808, 0.11780478805303574, -0.4152185916900635, 0.20757897198200226, 0.8433050513267517, 0.2304234653711319, 0.14588557183742523, 0.556318461894989, 0.5189611911773682, 0.1552782505750656, 0.23994818329811096, 0.9694584608078003, -0.5994595885276794, 0.8587764501571655, -0.2873818576335907, -0.41752561926841736, -0.15416590869426727, -0.2838986814022064, -0.3440711498260498, -1.0878593921661377, 0.019740404561161995, -0.28667208552360535, -0.06104768067598343, 1.1840260028839111, 0.7941151857376099, -0.8340014815330505, -0.2879890501499176, 0.39761674404144287, -0.16558749973773956, 0.014603315852582455, -0.16642127931118011, 0.07430516183376312, 0.49074646830558777, -0.517480194568634, 0.49824413657188416, 0.2925305962562561, 0.09470991790294647, -0.3803856074810028, -0.503488302230835, -0.11353610455989838, 0.18875545263290405, 0.7120272517204285, 0.6970322132110596, -0.9871237277984619, -0.3716701567173004, 0.3120235204696655, -0.14863629639148712, 0.15076786279678345, 0.4533242881298065, -0.7841973304748535, 0.5110844969749451, 0.2072223573923111, 0.4263889193534851, 0.4394683837890625, -0.034839533269405365, 0.5788661241531372, -0.5287497639656067, 0.1521080732345581, 0.14177197217941284, 0.1913364678621292, 0.7325049638748169, 0.08348266780376434, 0.4036903977394104, 0.009013334289193153, -0.5512632727622986, -1.1631639003753662, 0.18632598221302032, -0.8904170393943787, 0.2661837637424469, 0.9970589280128479, 0.2501620948314667, -0.18383896350860596, -0.3704474866390228, -0.7764632105827332, 0.5299237370491028, -0.4873799979686737, 0.8189112544059753, 0.5571100115776062, -0.09116096049547195, -0.40263083577156067, -0.4345236122608185, 0.611411452293396, 0.05071723088622093, -0.6360164284706116, 0.3542706370353699, 0.46072322130203247, 0.4416554272174835, 0.18627656996250153, 0.979098379611969, -0.1736602485179901, 0.5823724865913391, 0.5440279841423035, 0.023581476882100105, 0.005926116369664669, -0.2566124498844147, -0.3739566206932068, -0.2062850445508957, 0.6090017557144165, -0.3845442533493042 ]
http://arxiv.org/abs/2406.13476v3
http://arxiv.org/pdf/2406.13476v3
LLMs Are Zero-Shot Context-Aware Simultaneous Translators
2024-06-19T11:57:42
2024-06-25T04:45:19
Roman Koshkin, Katsuhito Sudoh, Satoshi Nakamura
cs.CL
cs.CL
The advent of transformers has fueled progress in machine translation. More recently large language models (LLMs) have come to the spotlight thanks to their generality and strong performance in a wide range of language tasks, including translation. Here we show that open-source LLMs perform on par with or better than some state-of-the-art baselines in simultaneous machine translation (SiMT) tasks, zero-shot. We also demonstrate that injection of minimal background information, which is easy with an LLM, brings further performance gains, especially on challenging technical subject-matter. This highlights LLMs' potential for building next generation of massively multilingual, context-aware and terminologically accurate SiMT systems that require no resource-intensive training or fine-tuning.
[ -0.19263166189193726, -0.6277104616165161, 0.8828449845314026, 0.21109966933727264, -0.3729724884033203, 0.14010250568389893, -0.4515348970890045, -0.33201077580451965, 0.03472409397363663, 0.579317033290863, -0.45247772336006165, -0.6009088158607483, -0.8178471326828003, 0.15488767623901367, -0.7392451763153076, 0.8417315483093262, -0.31056806445121765, 0.040258802473545074, -0.21070343255996704, -0.27006790041923523, -0.4140312969684601, -0.5238454341888428, -0.33042794466018677, -0.3886856138706207, 0.7482181191444397, 0.31576231122016907, 0.8192082047462463, 0.8441261053085327, 0.5906845331192017, 0.29965940117836, 0.03742465749382973, 0.010486697778105736, -0.3999101519584656, 0.3369675278663635, -0.08182577043771744, -0.6087413430213928, -0.4561760425567627, -0.07446931302547455, 0.6515743136405945, 0.6323885917663574, 0.19058595597743988, 0.22969692945480347, -0.08691225945949554, 0.36995169520378113, -0.5955068469047546, 0.04092497378587723, -0.7664725184440613, 0.05927557125687599, -0.14503519237041473, -0.5125811696052551, -0.49446168541908264, -0.09555761516094208, -0.3532906472682953, -0.4924900233745575, 0.007392961997538805, -0.00610090559348464, 0.591802716255188, 0.6049951314926147, -0.6781739592552185, -0.03408420458436012, -0.9919752478599548, 0.8756754398345947, -0.5494963526725769, 0.43778079748153687, -0.274212121963501, 0.4033249020576477, -0.2212325632572174, -0.597069501876831, -0.5186353325843811, -0.1439410001039505, -0.08462818711996078, 0.23786216974258423, -0.12546516954898834, 0.012093283236026764, 0.30668142437934875, 0.5324029922485352, -0.4640364348888397, 0.3134140372276306, -0.16920524835586548, 0.08899634331464767, 0.31141406297683716, 0.3501936197280884, 0.37386807799339294, 0.01876915991306305, -0.5876244306564331, 0.2871238887310028, -0.8638961911201477, -0.3939734399318695, -0.18743176758289337, 0.3751163184642792, -0.34424135088920593, 0.8750479221343994, -0.12362324446439743, 0.7558439373970032, -0.31549564003944397, -0.2536032199859619, -0.05385148152709007, -0.4874671399593353, -0.44530007243156433, -0.09613862633705139, 0.9285054802894592, 0.10275954008102417, 0.2845749855041504, -0.4904150068759918, -0.23872153460979462, 0.03469230607151985, 0.0002933965006377548, -0.7609257698059082, 0.38645830750465393, 0.3452056348323822, -0.12152931839227676, -0.049839429557323456, -0.1334345042705536, -0.17411087453365326, -0.12660689651966095, -0.6210880875587463, 0.5467544198036194, -0.2611398994922638, -0.10103163123130798, 0.19958770275115967, -0.08537813276052475, 0.39750102162361145, 0.5978307127952576, -0.5446552634239197, 0.1563786417245865, 0.7507739067077637, 1.2281792163848877, -0.30339565873146057, -0.3285830318927765, -0.6790646910667419, 0.49067944288253784, -0.6212731599807739, 0.6302878856658936, -0.16420933604240417, -0.3141723871231079, 0.02776937559247017, -0.14667320251464844, 0.16681674122810364, -0.47330042719841003, 0.3923778235912323, -0.5665026307106018, -0.11965518444776535, -0.22618746757507324, -0.5050754547119141, 0.09191703796386719, 0.12793570756912231, -0.3008963465690613, 0.9467622637748718, 0.03617474064230919, -0.4683116674423218, 0.29069310426712036, -0.5312592387199402, -0.499437540769577, 0.5208417773246765, -0.14380058646202087, 0.17152166366577148, 0.42213526368141174, -0.03141336888074875, 0.6492224931716919, -0.4336837828159332, 0.18406744301319122, -0.21603357791900635, -0.580053985118866, 0.17145279049873352, -0.5115008354187012, 0.45921051502227783, 0.2686111629009247, -0.12635084986686707, 0.19651345908641815, -0.4126465618610382, -0.12824994325637817, 0.09154531359672546, -0.3460708558559418, -0.27432289719581604, -0.0648266151547432, -0.058682139962911606, 0.4962708055973053, 0.30271488428115845, -0.645320475101471, 0.32517755031585693, -0.24501724541187286, 0.3544210195541382, 0.48711007833480835, -0.43765828013420105, 0.5135161876678467, -0.26084104180336, 0.46053093671798706, 0.07326114177703857, -0.17411470413208008, -0.5813120007514954, -0.3658624589443207, -0.9316383004188538, -0.7370235919952393, 0.208661288022995, 0.7481583952903748, -0.8559316396713257, 0.30172938108444214, -0.4227692484855652, -0.3106095790863037, -0.5146985054016113, 0.4516057074069977, 0.08984347432851791, 0.34805014729499817, 0.3619365990161896, -0.10387420654296875, -0.3767191171646118, -0.9249714612960815, -0.2694415748119354, 0.2298608273267746, -0.3458854556083679, 0.14228028059005737, 0.367734432220459, -0.1912136822938919, 0.799834132194519, -0.3779960572719574, -0.35564371943473816, -0.3773901164531708, -0.03277936577796936, 0.39529186487197876, 0.14591282606124878, 0.3821166455745697, -0.5732825994491577, -0.6979131698608398, 0.24555037915706635, -1.1988447904586792, -0.2800910770893097, -0.045965246856212616, -0.08244585245847702, 0.14863274991512299, 0.6501913666725159, -0.8334877490997314, 0.03891029208898544, 0.7403653860092163, 0.09848493337631226, 0.1295691579580307, -0.3395373523235321, -0.035091232508420944, -1.3047667741775513, 0.20483620464801788, -0.12109672278165817, -0.6500221490859985, -0.7892571091651917, 0.17624416947364807, 0.2922076880931854, 0.0035168409813195467, -1.0049796104431152, 0.7127642035484314, -0.5953542590141296, -0.463873028755188, -0.4306603968143463, 0.4510027766227722, -0.29493409395217896, 0.17972968518733978, -0.07117821276187897, 1.003941297531128, 0.552143394947052, -0.559900164604187, 0.3307112455368042, 0.05170348659157753, -0.2060975879430771, 0.7180768847465515, -0.4354488253593445, 0.03400580585002899, -0.08474348485469818, 0.3735334873199463, -0.7736387252807617, -0.43314939737319946, 0.11633467674255371, -0.302519828081131, 0.4075961709022522, 0.04730275645852089, -0.7292563319206238, -0.3356591463088989, -0.0751820057630539, 0.4033198058605194, 0.5832350254058838, -0.4251198172569275, 0.4395999610424042, 0.08414629846811295, -0.16684623062610626, -0.5893001556396484, -0.8538464903831482, 0.3223396837711334, 0.07595187425613403, -0.49413421750068665, 0.22362615168094635, -0.06632210314273834, -0.25181180238723755, -0.013764644972980022, -0.1330965906381607, -0.0786232203245163, 0.27022644877433777, 0.3224872946739197, 0.3860180974006653, -0.34906890988349915, 0.18298907577991486, -0.07867096364498138, -0.26650962233543396, -0.38282376527786255, -0.47822892665863037, 0.4423319101333618, -0.19336725771427155, -0.5588195323944092, -0.5101112127304077, 0.3548564314842224, 0.8658382892608643, -0.09806457906961441, 0.9194614291191101, 0.3791978359222412, -0.25394362211227417, -0.1124223917722702, -0.6206017732620239, 0.1659528762102127, -0.45097804069519043, 0.22080200910568237, -0.4540330469608307, -1.3884162902832031, 0.2985515892505646, -0.17763061821460724, 0.20480585098266602, 0.5023216009140015, 0.8992167115211487, -0.12358454614877701, 0.860569417476654, 0.6714236736297607, 0.009825604036450386, 0.3369441628456116, 0.1184702068567276, 0.28435420989990234, -0.6583314538002014, -0.08433356881141663, -0.354179322719574, -0.26000726222991943, -0.4325834810733795, -0.7488158345222473, 0.37880510091781616, 0.3044678866863251, -0.17658591270446777, 0.4173959195613861, -0.20865093171596527, 0.5600675940513611, 0.4379177689552307, -0.25553470849990845, 0.7142691016197205, -0.07275289297103882, -0.1090601310133934, 0.09208200126886368, -0.6286733150482178, -0.6312744617462158, 0.9926150441169739, 0.20156873762607574, 0.646742045879364, 0.023304753005504608, 0.6023707985877991, 0.06513746827840805, 0.5418680310249329, -1.021131992340088, 0.6107094883918762, -0.4436238408088684, -0.5122382640838623, -0.22174862027168274, -0.44197702407836914, -0.6228436231613159, 0.5528912544250488, 0.02056814171373844, -0.4567336440086365, -0.3774440586566925, 0.0449991300702095, -0.28892359137535095, 0.5942990779876709, -0.3411393165588379, 0.5527493357658386, -0.5857018232345581, -0.3586822748184204, -0.1275297850370407, -0.4583016037940979, 0.5755698084831238, -0.4908970594406128, 0.1865423172712326, -0.4080435037612915, -0.5674052238464355, 0.047222334891557693, -0.10868457704782486, 0.49696943163871765, 0.1749621033668518, -0.2036874145269394, 0.08982519060373306, 0.26223766803741455, 0.25023457407951355, -0.1292847841978073, -0.039660681039094925, 0.6343182921409607, -0.09472085535526276, -0.4186258316040039, -0.5097300410270691, 0.9925767779350281, -0.5761023163795471, -0.8202043175697327, -0.35625797510147095, -1.1287226676940918, -0.05365247279405594, 0.4184124171733856, 0.05018170177936554, -0.007682094816118479, -0.16810615360736847, 0.5578800439834595, 0.5635483264923096, -0.4368784725666046, 0.5526953339576721, 0.7915599346160889, -0.32125815749168396, -0.20383475720882416, 0.526411235332489, 0.1449650526046753, 0.5760191679000854, 0.7304553389549255, -0.1917649209499359, -0.1376512497663498, -0.41033148765563965, -0.7854411602020264, 0.3770858347415924, -0.577363133430481, -0.300851047039032, -0.9471623301506042, -0.30404868721961975, -0.22959890961647034, -0.4901350438594818, -0.44066986441612244, -0.5229286551475525, -0.07739938050508499, 0.06997261941432953, 0.11606036126613617, 0.9067032933235168, -0.1903635412454605, 0.4418141543865204, -0.8838804364204407, 0.5149041414260864, 0.19707059860229492, 0.39940714836120605, -0.3870987296104431, -0.44157958030700684, -0.28168314695358276, 0.016635145992040634, -0.41768521070480347, -0.5722680687904358, 0.3528463840484619, -0.14612726867198944, 0.5028465986251831, 0.08484616130590439, -0.2088414430618286, 0.562094509601593, -0.7403063774108887, 0.8786935210227966, 0.3196242153644562, -1.0174769163131714, 0.23171766102313995, -0.4957788288593292, 0.6112909913063049, 0.21320413053035736, 0.3918980658054352, -0.8919996619224548, -0.5378375053405762, 0.046831123530864716, -0.7230143547058105, 0.9697982668876648, 0.16679240763187408, 0.40855902433395386, 0.04561347886919975, 0.34726738929748535, 0.014921360649168491, 0.43275418877601624, -0.7163228988647461, -0.31670910120010376, 0.05577678605914116, -0.22365525364875793, -0.40299251675605774, -0.242579385638237, -0.00872044451534748, -0.07009752094745636, 0.4588146507740021, -0.1735856533050537, 0.2901962101459503, -0.06262001395225525, -0.31980207562446594, -0.3471788167953491, 0.5602203607559204, 0.8203120231628418, 0.4456324875354767, -0.24559654295444489, 0.23227815330028534, 0.47855865955352783, 0.0711774006485939, 0.4943222105503082, -0.21048207581043243, -0.3598547875881195, 0.09836937487125397, 0.2652716636657715, 0.765180766582489, 0.5674414038658142, -0.44741421937942505, 0.6799947023391724, 0.23345068097114563, -0.1871243417263031, -0.16366516053676605, -0.07398854941129684, 0.3718416392803192, 0.22769562900066376, 0.3965252637863159, -0.045061223208904266, -0.2158498466014862, -0.4240739643573761, 0.143422469496727, 0.5932120084762573, -0.35665807127952576, -0.29828736186027527, 0.7143178582191467, 0.11317887157201767, -0.3393324315547943, 0.22238443791866302, 0.18965832889080048, -0.20145177841186523, 0.4411677122116089, 0.5965883731842041, 1.0773603916168213, -0.2410985678434372, 0.07720797508955002, 0.1739206165075302, 0.4316319525241852, -0.34832119941711426, -0.07390254735946655, -0.13458949327468872, -0.5179115533828735, -0.7464455366134644, -0.9308171272277832, -0.5107204914093018, 0.18300998210906982, -0.3920859396457672, 0.5445374250411987, -0.18142946064472198, 0.0542946383357048, -0.23750221729278564, -0.5175694823265076, -0.7400500178337097, -0.08111396431922913, 0.18402351438999176, 1.0511342287063599, -0.5650631785392761, 1.0158885717391968, 0.6095160245895386, -0.3621407151222229, -0.3477538526058197, -0.09784579277038574, 0.03718460723757744, -0.6541914343833923, 0.8267137408256531, 0.23258915543556213, -0.16697467863559723, 0.0995732918381691, -0.3112003207206726, -1.0468642711639404, 1.1771503686904907, 0.8615349531173706, -0.6897574663162231, -0.18399226665496826, 0.5892460346221924, 0.5735069513320923, -0.23561686277389526, 0.21913187205791473, 0.27333199977874756, 0.3959934115409851, 0.20915044844150543, -1.0135488510131836, -0.10010084509849548, 0.2968873083591461, 0.19458849728107452, 0.4475625455379486, -0.7023487091064453, 0.8941169381141663, 0.03731828182935715, -0.3917867839336395, 0.15251971781253815, 0.5558345913887024, -0.04465147852897644, 0.17917239665985107, 0.05701702460646629, 0.4012170135974884, 0.266867458820343, -0.1774282306432724, 1.4488850831985474, -0.5957040190696716, 0.14072279632091522, 1.2243483066558838, -0.5247589349746704, 0.9984625577926636, 0.5317489504814148, 0.05525076761841774, 0.1088259294629097, 0.1358066201210022, 0.16378247737884521, 0.19208315014839172, -0.004749265965074301, -0.47320306301116943, -0.5790310502052307, -0.24556806683540344, -0.3029720187187195, 0.38473987579345703, 0.2609252631664276, -0.4030991196632385, -0.4515227675437927, -0.05591529235243797, 0.051496393978595734, 0.0007669154438190162, -0.24656398594379425, 0.6736807823181152, 0.5522893667221069, -0.6124577522277832, 0.4985715448856354, 0.1917056143283844, 0.8584861159324646, -0.7008175849914551, 0.19796396791934967, -0.2897202968597412, 0.19573622941970825, -0.08155016601085663, -0.7778295278549194, 0.4230659008026123, 0.18971127271652222, -0.08404618501663208, -0.6020185351371765, 0.5972372889518738, -0.5167650580406189, -0.44508689641952515, 0.6512999534606934, 0.8158414959907532, 0.20980533957481384, -0.16839967668056488, -0.36885276436805725, 0.07384581118822098, -0.2820848822593689, -0.10395945608615875, 0.3535436987876892, 0.42047494649887085, 0.03269219771027565, 0.7191686630249023, 0.5381905436515808, 0.14766135811805725, 0.21048584580421448, -0.2487705498933792, 0.5309990048408508, -0.7320274710655212, 0.07309383153915405, -1.0029077529907227, 0.45295774936676025, 0.13466958701610565, 0.06828661262989044, 1.0103532075881958, 0.6729193925857544, 0.9658625721931458, -0.04490775614976883, 0.8025468587875366, 0.30268606543540955, 0.35887378454208374, -0.3181075155735016, 0.611168622970581, -0.7888707518577576, 0.14925754070281982, -0.024148110300302505, -1.123661994934082, -0.682570219039917, 0.021332135424017906, -0.2179708182811737, -0.16554193198680878, 0.6507760286331177, 0.7760540843009949, -0.2295423448085785, -0.2705852687358856, 0.991693377494812, 0.2612670063972473, 0.18604294955730438, 0.6341802477836609, 0.893660306930542, -0.3835090696811676, 0.6857233047485352, 0.029834222048521042, -0.14920587837696075, -0.23566871881484985, -0.9762944579124451, -0.7712020874023438, -0.12121473997831345, -0.10005190223455429, 0.1800110787153244, -0.03004751168191433, 0.8335997462272644, 0.6745933294296265, -0.804485559463501, -0.42634084820747375, 0.048522625118494034, 0.0941629409790039, 0.09196967631578445, -0.09659519046545029, -0.24346616864204407, -0.5485943555831909, -0.8893322348594666, 0.7528966069221497, 0.9279450178146362, 0.11827558279037476, -0.4399830102920532, -0.2436063140630722, -0.12392694503068924, 0.396127313375473, 0.8650086522102356, 0.07540053129196167, -1.0420582294464111, -0.15750040113925934, 0.08553377538919449, -0.5850557088851929, 0.22364269196987152, 0.8452749848365784, -0.5873898863792419, 0.3501768112182617, 0.424726277589798, 0.7983153462409973, 0.5648756623268127, -0.13106673955917358, 0.5989840626716614, -0.7278222441673279, 0.39471858739852905, -0.07457834482192993, 0.3552776873111725, 0.4294653534889221, -0.2127484679222107, 0.5658080577850342, 0.1851906031370163, -0.43221426010131836, -0.8690107464790344, 0.24564224481582642, -0.8790826201438904, -0.1840730905532837, 1.276010274887085, -0.10190160572528839, -0.04472916200757027, 0.09185003489255905, 0.019089827314019203, 0.4545482397079468, -0.16502350568771362, 0.20546269416809082, 0.7060309648513794, 0.17251332104206085, -0.15923359990119934, -1.0135265588760376, 0.009524420835077763, 0.4717086851596832, -0.7956763505935669, -0.11840928345918655, 0.4756174087524414, 0.2667165994644165, 0.07439722865819931, 0.6228621006011963, -0.16311845183372498, 0.09634290635585785, -0.23383300006389618, 0.19079935550689697, -0.23212739825248718, -0.3681887090206146, -0.5173664689064026, 0.37082603573799133, 0.21165528893470764, -0.08816563338041306 ]
http://arxiv.org/abs/2406.13469v1
http://arxiv.org/pdf/2406.13469v1
Encoder vs Decoder: Comparative Analysis of Encoder and Decoder Language Models on Multilingual NLU Tasks
2024-06-19T11:50:09
2024-06-19T11:50:09
Dan Saattrup Nielsen, Kenneth Enevoldsen, Peter Schneider-Kamp
cs.CL
cs.CL, cs.AI, cs.LG, I.2.7
This paper explores the performance of encoder and decoder language models on multilingual Natural Language Understanding (NLU) tasks, with a broad focus on Germanic languages. Building upon the ScandEval benchmark, which initially was restricted to evaluating encoder models, we extend the evaluation framework to include decoder models. We introduce a method for evaluating decoder models on NLU tasks and apply it to the languages Danish, Swedish, Norwegian, Icelandic, Faroese, German, Dutch, and English. Through a series of experiments and analyses, we address key research questions regarding the comparative performance of encoder and decoder models, the impact of NLU task types, and the variation across language resources. Our findings reveal that decoder models can achieve significantly better NLU performance than encoder models, with nuances observed across different tasks and languages. Additionally, we investigate the correlation between decoders and task performance via a UMAP analysis, shedding light on the unique capabilities of decoder and encoder models. This study contributes to a deeper understanding of language model paradigms in NLU tasks and provides valuable insights for model selection and evaluation in multilingual settings.
[ -0.40646806359291077, -0.6039112210273743, 0.36099398136138916, 0.37310266494750977, -0.21881569921970367, 0.022690465673804283, -0.26253750920295715, -0.7869599461555481, -0.1319023072719574, 0.37445345520973206, -0.19657489657402039, -0.2623564302921295, -0.6548120379447937, 0.6715860366821289, -0.1981344074010849, 0.5373936891555786, -0.17073732614517212, 0.3797481060028076, -0.6346855759620667, -0.24864019453525543, -0.5197728872299194, -0.7903907299041748, -0.6971621513366699, -0.5543031692504883, 0.17741325497627258, -0.31856122612953186, 0.5224642753601074, 0.4741332530975342, 0.6514856219291687, 0.29473188519477844, -0.44763660430908203, 0.022469019517302513, -0.5306891798973083, 0.1361311823129654, -0.09526079893112183, -0.3538125455379486, -0.2820080816745758, -0.43935680389404297, 0.485117644071579, 0.7620354890823364, -0.06871069222688675, 0.0993509292602539, 0.2488536536693573, 0.4060964584350586, -0.7778777480125427, 0.28408485651016235, -0.15952126681804657, 0.0522601492702961, -0.07979581505060196, -0.14598439633846283, -0.6466481685638428, -0.2276410311460495, -0.19009914994239807, -0.5421000719070435, 0.38715600967407227, -0.15727920830249786, 0.5492479801177979, 0.28392788767814636, -0.5599110722541809, -0.3454537093639374, -0.843777060508728, 0.6542580127716064, -0.6580647230148315, 1.0590192079544067, 0.2726569175720215, 0.17483271658420563, 0.198817178606987, -0.24192924797534943, -0.3453786373138428, -0.05106131732463837, -0.1865341067314148, 0.2661103904247284, -0.6170589923858643, 0.08787866681814194, 0.23971539735794067, 0.5470985770225525, -0.8187992572784424, 0.1811285763978958, -0.355691522359848, -0.03309815749526024, 0.44523173570632935, 0.2623966634273529, 0.07732532918453217, -0.25139549374580383, -0.2496853619813919, -0.2197546660900116, -0.37926456332206726, 0.121835857629776, 0.40830346941947937, 0.19043834507465363, -0.30836302042007446, 0.47144821286201477, -0.09414887428283691, 0.8954424858093262, -0.1677764505147934, -0.1483413130044937, 0.28102409839630127, -0.4636228382587433, -0.13181039690971375, -0.10391286015510559, 0.5150449275970459, 0.15542282164096832, 0.021896978840231895, -0.6667144298553467, -0.4131835997104645, 0.4459374248981476, 0.19702105224132538, -0.686246931552887, 0.042344506829977036, 0.03640308231115341, -0.7591644525527954, 0.23001432418823242, -0.15356814861297607, -0.6094837784767151, -0.2165815383195877, -0.2842548191547394, 0.14956094324588776, -0.3947184085845947, -0.6535341739654541, 0.5509765148162842, -0.3497259318828583, 0.6280260682106018, 0.17250022292137146, -0.6483038067817688, 0.6225581169128418, 0.8273773789405823, 0.5755072832107544, -0.4264710247516632, -0.4297766387462616, -0.17414097487926483, -0.12127205729484558, -0.3451588749885559, 0.7931548357009888, -0.6285926699638367, -0.4488825798034668, 0.17138440907001495, -0.005773433484137058, -0.4040566384792328, -0.5297053456306458, 0.6118865013122559, -0.8037462830543518, 0.0980781838297844, -0.4074333608150482, -0.6933719515800476, -0.4408753216266632, 0.38900983333587646, -1.2255274057388306, 1.044609785079956, -0.044065650552511215, -0.8527910113334656, 0.3456856310367584, -0.9007052183151245, -0.5478036999702454, 0.18150797486305237, 0.004988802596926689, 0.31476691365242004, 0.4317759871482849, 0.16967740654945374, 0.40875914692878723, -0.5258626937866211, 0.12609881162643433, -0.03684569150209427, -0.42556947469711304, 0.13979749381542206, -0.5843229293823242, 0.8904659748077393, 0.2003069669008255, 0.0011417142814025283, -0.08818651735782623, -0.7877069711685181, -0.16646714508533478, 0.31136661767959595, -0.8455836772918701, -0.35273507237434387, -0.06579858809709549, 0.5232080817222595, 0.15327854454517365, 0.0703781247138977, -0.6736984252929688, -0.3271554708480835, -0.26773908734321594, 0.1622108519077301, 0.3136097192764282, -0.36187848448753357, 0.48319315910339355, -0.06843309104442596, 0.8121527433395386, -0.20842213928699493, -0.03413071110844612, -0.1867467164993286, -0.29358360171318054, -0.5774381160736084, -0.1486571580171585, 0.5030968189239502, 0.5723802447319031, -0.8719595670700073, 0.07115281373262405, -0.4183519184589386, -0.2557375133037567, -1.185914397239685, 0.0393524244427681, 0.595767080783844, 0.11192253232002258, 0.3328607380390167, -0.36483439803123474, -0.43771398067474365, -0.6963565945625305, -0.5088592171669006, -0.04200425744056702, -0.06540002673864365, 0.05430072918534279, 0.4976220726966858, -0.24747787415981293, 0.5899799466133118, -0.07044494152069092, -0.023833250626921654, -0.7363731265068054, -0.04055289551615715, 0.3059958815574646, 0.3830172121524811, 0.653745174407959, -0.8144564032554626, -0.22528177499771118, 0.2643357515335083, -0.8198258876800537, 0.2833458483219147, 0.08140295743942261, 0.21750225126743317, 0.4985961318016052, 0.5264610052108765, -0.5887941122055054, 0.3255236744880676, 0.794272780418396, -0.5249717235565186, 0.6098303198814392, -0.4154922664165497, 0.25625064969062805, -0.8437832593917847, 0.2573375999927521, -0.20323546230793, -0.14979803562164307, -0.9646753668785095, 0.4851195812225342, 0.23534706234931946, 0.04801193252205849, -0.5056664347648621, 0.5743575692176819, -0.6791442036628723, -0.35918259620666504, -0.03742029517889023, -0.26651227474212646, 0.25114572048187256, 0.46267277002334595, 0.3047582805156708, 0.6413131952285767, 0.41583678126335144, -0.5041301846504211, 0.11074676364660263, 0.22182972729206085, -0.5564830899238586, 0.370762437582016, -0.8457815051078796, 0.30487510561943054, -0.29213476181030273, -0.07205686718225479, -0.8110576868057251, 0.060233719646930695, -0.16428932547569275, -0.33265945315361023, 0.38018548488616943, -0.2673851251602173, -0.7271168828010559, -0.30048447847366333, -0.0338309109210968, 0.6288986802101135, 0.32064083218574524, -0.5053699612617493, 0.7817022204399109, 0.19845163822174072, 0.1279510110616684, -0.6166408061981201, -0.7557624578475952, 0.007564709987491369, -0.1944936066865921, -0.5747439861297607, 0.4290511906147003, -0.01604144275188446, -0.30916962027549744, 0.06319952011108398, -0.11234621703624725, -0.11915911734104156, 0.24802012741565704, 0.11033590137958527, 0.16124185919761658, -0.40964096784591675, -0.018619993701577187, -0.12855462729930878, -0.2712327241897583, 0.13353484869003296, 0.016884418204426765, 0.6371866464614868, -0.355394572019577, -0.4313475489616394, -0.10763680189847946, 0.6942815184593201, 0.39441806077957153, -0.69710773229599, 0.848353922367096, 0.5951899290084839, -0.33229273557662964, 0.24973660707473755, -0.6920730471611023, -0.14596009254455566, -0.39725154638290405, 0.303661972284317, -0.9358193874359131, -0.8575196862220764, 0.7107099294662476, 0.17173387110233307, 0.12486648559570312, 0.47807690501213074, 0.4584627151489258, 0.044798895716667175, 0.9842740893363953, 0.9866146445274353, 0.025766046717762947, 0.24241694808006287, -0.3557869791984558, 0.14147043228149414, -0.7511301636695862, -0.26156362891197205, -0.6924675107002258, 0.008322048000991344, -0.49992141127586365, -0.551608681678772, 0.11434117704629898, 0.21160267293453217, 0.04689400643110275, 0.38502952456474304, -0.23967695236206055, 0.5853849053382874, 0.33151984214782715, -0.325787752866745, 0.4160133898258209, -0.013385701924562454, -0.26198339462280273, 0.02701670676469803, -1.092283010482788, -0.5754629969596863, 0.9421098828315735, 0.35174328088760376, 0.7766384482383728, 0.26974228024482727, 0.6295807957649231, 0.13593433797359467, -0.12918567657470703, -0.6588058471679688, 0.20405004918575287, -0.3497016727924347, -0.5546826720237732, -0.049138616770505905, -0.28027603030204773, -1.249131679534912, 0.8033689856529236, -0.11070561408996582, -0.4697188436985016, 0.5863714218139648, -0.15692225098609924, -0.03208630532026291, 0.3110077381134033, -0.6493184566497803, 1.1346251964569092, -0.18399520218372345, -0.01403643749654293, -0.24952715635299683, -0.33014917373657227, -0.08515123277902603, 0.2063235342502594, 0.4002322256565094, 0.016810456290841103, 0.1137903556227684, 0.8934237957000732, 0.4102671444416046, 0.5591741800308228, -0.12361607700586319, -0.2723638415336609, -0.16029039025306702, 0.2653898298740387, 0.11981051415205002, -0.19978401064872742, -0.4310518801212311, 0.6217883229255676, 0.333071768283844, -0.38351869583129883, -0.40951383113861084, 0.3348008394241333, -0.7491996884346008, -0.35484692454338074, -0.19249306619167328, -0.5348449945449829, 0.07686472684144974, 0.1892964094877243, 0.4177805185317993, 0.6548160910606384, -0.5821947455406189, 0.07636096328496933, 0.4963863492012024, -0.07837382704019547, 0.6344214081764221, 0.6287446618080139, 0.02684543840587139, -0.06954233348369598, 0.6630150675773621, -0.21009239554405212, 0.2806895077228546, 0.6739570498466492, -0.26888543367385864, -0.47459933161735535, -0.6344985365867615, -0.44478294253349304, 0.27747076749801636, -1.0380996465682983, -0.11455654352903366, -0.7408681511878967, 0.03662976250052452, -0.4159613847732544, -0.18123646080493927, -0.5737530589103699, -0.10400025546550751, -0.07903974503278732, -0.11736898869276047, 0.2032351791858673, 0.90352463722229, -0.06390214711427689, 0.06306513398885727, -0.6274073719978333, 0.47280222177505493, -0.06513454765081406, 0.402231901884079, 0.05057329311966896, -0.27662476897239685, -0.29107022285461426, -0.03550046309828758, -0.02744450978934765, -1.0189224481582642, 0.38493645191192627, -0.06415091454982758, 0.8459240794181824, 0.3541589379310608, 0.004702339414507151, 0.534570574760437, -0.4346563518047333, 0.527193546295166, 0.01974615827202797, -0.933988094329834, 0.12437473237514496, 0.06202111393213272, 0.7219757437705994, 0.42298147082328796, 0.37791597843170166, -0.7217875719070435, -0.33009621500968933, -0.3417263627052307, -0.8214463591575623, 0.7878526449203491, 0.19271941483020782, 0.0699412077665329, -0.05005490779876709, -0.07784407585859299, 0.44855087995529175, -0.09552281349897385, -0.6896577477455139, -0.13379637897014618, -0.06570781767368317, 0.09960654377937317, -0.4840609133243561, -0.40167340636253357, -0.06355747580528259, -0.1697913110256195, 0.12783463299274445, -0.17684122920036316, 0.615828812122345, 0.11938737332820892, -0.7555152177810669, 0.2675650417804718, 0.5740180611610413, 0.2834759056568146, 0.7943832278251648, -0.22077171504497528, 0.11866483837366104, 0.3909182846546173, -0.3469165563583374, -0.06951801478862762, 0.23496893048286438, 0.11076976358890533, 0.5151932239532471, 0.7227867841720581, 1.1718336343765259, 0.39321812987327576, -0.5138410925865173, 0.18838772177696228, -0.490438848733902, -0.1102762445807457, -0.021744852885603905, -0.34078845381736755, 0.31371229887008667, 0.16453944146633148, 0.2708601951599121, 0.04198727756738663, 0.38415107131004333, -0.26493313908576965, -0.3127911388874054, 0.24813126027584076, -0.1951989233493805, -0.401475727558136, 0.5091418623924255, 0.23155619204044342, -0.2838570475578308, 0.5954435467720032, -0.185660257935524, -0.49706146121025085, 0.7830495834350586, 0.7967872619628906, 0.832757830619812, -0.3921911418437958, 0.038491103798151016, 0.2850596308708191, 0.4513852000236511, -0.055977173149585724, 0.5902489423751831, -0.27051597833633423, -0.8845161199569702, -0.5562387108802795, -0.8152645826339722, -0.18565897643566132, 0.0014537353999912739, -1.233553409576416, -0.26018181443214417, 0.3696921765804291, -0.2001553475856781, 0.15948885679244995, -0.21782788634300232, -1.2297114133834839, -0.11307206004858017, 0.12475763261318207, 1.09014892578125, -0.7704573273658752, 0.8468706607818604, 0.9539695382118225, 0.029412461444735527, -0.3015167713165283, -0.3155037462711334, -0.2450478971004486, -0.298441618680954, 0.5594996809959412, 0.2601664066314697, -0.3323488235473633, -0.18863752484321594, 0.391203373670578, -0.7242360711097717, 0.7078189253807068, 0.6773436069488525, -0.42635858058929443, -0.08113820850849152, 0.2769555449485779, 0.6774789690971375, -0.3057553768157959, 0.4349929094314575, 0.9220827221870422, 0.40238523483276367, -0.3650951683521271, -1.216082215309143, -0.15467682480812073, -0.5140417218208313, 0.3312015235424042, 0.24158503115177155, 0.015461364760994911, 0.667033314704895, -0.1624961644411087, -0.5405833721160889, -0.08237817138433456, 0.40426740050315857, -0.021957041695713997, 0.14957214891910553, 0.3343014717102051, 0.413196861743927, 0.4144037663936615, -0.1627672165632248, 1.6212564706802368, -0.33071404695510864, 0.23029403388500214, 0.9568230509757996, -0.14264389872550964, 1.062986969947815, 0.4944555163383484, -0.32032865285873413, 0.13659153878688812, 0.5294724702835083, 0.10868837684392929, 0.5442563891410828, -0.21318165957927704, -0.0013896288583055139, -0.27880242466926575, -0.08404780924320221, -0.4795553982257843, 0.7594133615493774, 0.14737434685230255, 0.017504815012216568, -0.3345111906528473, 0.3364046812057495, -0.05502384528517723, 0.07163818925619125, -0.25649887323379517, 1.1126537322998047, -0.09074371308088303, -0.6033966541290283, 1.0342923402786255, 0.33051902055740356, 0.8382958769798279, -0.4671379625797272, 0.147825688123703, -0.335847944021225, 0.35100752115249634, 0.07750124484300613, -0.6910508871078491, 0.5774864554405212, 0.20464597642421722, -0.23476552963256836, -0.28617429733276367, 0.6635600328445435, -0.4412647783756256, -0.44821056723594666, 0.9799468517303467, 0.6595603227615356, 0.24236135184764862, -0.003669280093163252, -0.6284136176109314, 0.49948611855506897, -0.22193856537342072, -0.12465616315603256, 0.13076651096343994, 0.055672816932201385, 0.14404937624931335, 0.5230215191841125, 0.4692379832267761, -0.2541941702365875, 0.29382291436195374, 0.15985676646232605, 0.5941959619522095, -0.5904325246810913, -0.42859750986099243, -0.7481819987297058, 0.39551302790641785, 0.15312311053276062, -0.2738044559955597, 0.9471361041069031, 0.7913185358047485, 1.2939437627792358, -0.4887019693851471, 0.5477834939956665, -0.04735783860087395, 0.24735406041145325, -0.4537546932697296, 0.7255121469497681, -0.5230885744094849, -0.14932551980018616, -0.09553920477628708, -0.9894962310791016, -0.13679495453834534, 0.499239981174469, -0.18626143038272858, -0.08353619277477264, 0.6318280696868896, 0.582353949546814, -0.10677304863929749, 0.19363480806350708, 0.47781431674957275, -0.044136010110378265, 0.10359755903482437, 0.5647526383399963, 0.9193432927131653, -0.5419593453407288, 0.23215024173259735, -0.29461362957954407, 0.09704189002513885, -0.015914151445031166, -0.5929083824157715, -0.8321510553359985, -0.6686772108078003, -0.12709647417068481, -0.013467550277709961, 0.31450751423835754, 0.48379093408584595, 0.6207532286643982, -0.9014837145805359, -0.6677036285400391, 0.33380746841430664, 0.23468971252441406, -0.6544163823127747, -0.1825956106185913, 0.3359551429748535, -0.29728564620018005, -0.8094391822814941, 0.6012306809425354, 0.12423260509967804, -0.15438824892044067, 0.050071749836206436, -0.4677317142486572, -0.10200463980436325, 0.09491991996765137, 0.8129922747612, 0.19196340441703796, -0.9964966773986816, 0.4146612882614136, 0.1830846518278122, 0.01109791174530983, 0.06220071762800217, 0.9167692065238953, -0.7622091770172119, 0.5880116820335388, 0.6476969718933105, 0.7768070101737976, 0.6703172326087952, -0.38855403661727905, 0.63454270362854, -0.40698832273483276, 0.21630322933197021, 0.23793445527553558, 0.4927688241004944, 0.49974727630615234, -0.1692786067724228, 0.510039210319519, -0.27219530940055847, -0.099331334233284, -0.901131272315979, -0.013530978001654148, -0.6922551989555359, -0.5065924525260925, 1.0995208024978638, -0.24372147023677826, -0.10502929240465164, -0.4252713918685913, 0.10238894820213318, 0.05489492416381836, -0.14020805060863495, 0.37307700514793396, 0.6343609690666199, 0.06737995147705078, -0.15352192521095276, -0.6959367990493774, 0.40223318338394165, 0.3964725732803345, -0.6729105114936829, 0.07031170278787613, 0.2515888214111328, 0.16422978043556213, 0.061371464282274246, 0.41322061419487, -0.19517120718955994, 0.5409625172615051, 0.24696730077266693, 0.33131593465805054, -0.055421050637960434, -0.34750896692276, -0.9092189073562622, 0.27255430817604065, -0.0100942961871624, -0.21272031962871552 ]
http://arxiv.org/abs/2406.13444v2
http://arxiv.org/pdf/2406.13444v2
VDebugger: Harnessing Execution Feedback for Debugging Visual Programs
2024-06-19T11:09:16
2024-06-27T17:09:24
Xueqing Wu, Zongyu Lin, Songyan Zhao, Te-Lin Wu, Pan Lu, Nanyun Peng, Kai-Wei Chang
cs.CL
cs.CL, cs.CV
Visual programs are executable code generated by large language models to address visual reasoning problems. They decompose complex questions into multiple reasoning steps and invoke specialized models for each step to solve the problems. However, these programs are prone to logic errors, with our preliminary evaluation showing that 58% of the total errors are caused by program logic errors. Debugging complex visual programs remains a major bottleneck for visual reasoning. To address this, we introduce VDebugger, a novel critic-refiner framework trained to localize and debug visual programs by tracking execution step by step. VDebugger identifies and corrects program errors leveraging detailed execution feedback, improving interpretability and accuracy. The training data is generated through an automated pipeline that injects errors into correct visual programs using a novel mask-best decoding technique. Evaluations on six datasets demonstrate VDebugger's effectiveness, showing performance improvements of up to 3.2% in downstream task accuracy. Further studies show VDebugger's ability to generalize to unseen tasks, bringing a notable improvement of 2.3% on the unseen COVR task. Code, data and models are made publicly available at https://github.com/shirley-wu/vdebugger/
[ -0.2835484445095062, -0.8428795337677002, 0.5780699849128723, 0.1941990703344345, -0.044016338884830475, 0.20640458166599274, -0.12977823615074158, -0.3195846676826477, -0.07409603893756866, 0.7152372598648071, -0.4852096736431122, -0.5353624224662781, -0.4100947380065918, -0.07770594209432602, -0.39884594082832336, 0.7206003665924072, -0.21962913870811462, 0.07894904911518097, -0.47035926580429077, -0.03648870065808296, -0.7165619134902954, -0.3408592641353607, -0.5355663299560547, -0.10929060727357864, 0.2879408895969391, 0.5504087805747986, 0.2065805196762085, 0.3549850285053253, 0.7528778910636902, 0.36333051323890686, 0.420320987701416, -0.03454837203025818, -0.7749565839767456, 0.05053684487938881, -0.36038658022880554, -0.8515188097953796, -0.09282689541578293, -0.3309336304664612, -0.03416566178202629, 0.3207336664199829, -0.180612251162529, 0.34365352988243103, -0.12706345319747925, 0.72230064868927, -1.1034224033355713, 0.2734915018081665, -0.009426438249647617, 0.10492969304323196, -0.06918726116418839, -0.3227252662181854, -0.3549148142337799, -0.5967469215393066, -0.12845301628112793, -0.439754843711853, 0.3116186261177063, -0.10039997100830078, 0.7045604586601257, 0.825610339641571, -0.22624903917312622, 0.17992635071277618, -0.9074828028678894, 0.586693525314331, -0.5550327897071838, 0.02736653946340084, -0.039805732667446136, 0.6406575441360474, -0.05009567737579346, -1.0048000812530518, -0.49199801683425903, -0.1433803141117096, -0.01188660692423582, 0.22321175038814545, -0.5491626858711243, 0.2679234445095062, 0.7156776189804077, 0.38826581835746765, -0.5264760255813599, -0.11614802479743958, -0.49842581152915955, -0.07142730802297592, 0.34744250774383545, 0.3446241021156311, 0.23219329118728638, -0.010928819887340069, -0.5822006464004517, -0.20198942720890045, -0.22731591761112213, 0.3517545163631439, 0.22948433458805084, -0.23846879601478577, 0.13471674919128418, 0.3717770278453827, -0.6823190450668335, 0.8962512612342834, -0.02329980954527855, 0.39895838499069214, 0.23971961438655853, -0.22110971808433533, -0.33367738127708435, 0.00879743043333292, 0.3658168911933899, 0.8030887842178345, 0.5749409198760986, 0.1474473625421524, -0.20022480189800262, 0.5283513069152832, 0.665993869304657, -0.955292820930481, -0.7744802832603455, 0.18226493895053864, -0.1831628531217575, -0.49818527698516846, 0.2978265583515167, -0.7729176878929138, -0.4965754747390747, -0.48446643352508545, 0.39626824855804443, -0.18579448759555817, -0.39177584648132324, 0.3659631013870239, -0.5120792388916016, 0.2399301677942276, 0.6050845980644226, -0.24306859076023102, 0.20793725550174713, 0.535038411617279, 0.4519035816192627, -0.10559884458780289, -0.05335891619324684, -1.2240865230560303, -0.02373732626438141, -0.3930276036262512, 1.0378520488739014, -0.5791164040565491, -0.24421405792236328, -0.21371954679489136, 0.07015515118837357, -0.01235471572726965, -0.8399884104728699, 0.2340516746044159, -0.17625771462917328, -0.3627808094024658, -0.488506019115448, -0.42311006784439087, -0.32135340571403503, 0.29537126421928406, -0.6708393096923828, 0.982801079750061, 0.1504354476928711, -0.711652934551239, 0.20434658229351044, -0.47231221199035645, -0.04029791057109833, 0.12663406133651733, -0.4295840859413147, -0.26043277978897095, 0.5839258432388306, 0.27696555852890015, 0.12035100907087326, -0.10431762039661407, -0.0028038076125085354, -0.4371172785758972, -0.7689617276191711, -0.23698826134204865, 0.032445915043354034, 0.7562159895896912, 0.05915586277842522, -0.7803922295570374, 0.5831606388092041, -0.9490674734115601, 0.3822292387485504, 0.0790337547659874, -0.11121544986963272, -0.3463325500488281, -0.03733140602707863, -0.07446567714214325, -0.021528856828808784, -0.07003781199455261, -0.46650218963623047, 0.46640273928642273, 0.11128878593444824, 0.1984257847070694, 0.9383101463317871, 0.08631172776222229, 0.04858621582388878, 0.2245565503835678, 1.1040308475494385, 0.10592301934957504, 0.249628484249115, -0.11072696000337601, -0.26710841059684753, -0.8978878259658813, -0.32067665457725525, 0.07244230806827545, 0.834903359413147, -0.973822295665741, -0.017696475610136986, 0.02359270490705967, -0.34141984581947327, -0.2974710166454315, 0.10505838692188263, 0.44045767188072205, 0.6478175520896912, 0.062211908400058746, -0.40652936697006226, -0.6380711793899536, -0.7328157424926758, -0.4164086580276489, -0.1589130312204361, 0.2119767814874649, 0.05889157950878143, 0.6159439086914062, -0.5756187438964844, 0.9466981291770935, -0.9533090591430664, -0.04721754044294357, -0.2321179211139679, 0.08541311323642731, 0.00720713846385479, 0.3124169707298279, 0.6739598512649536, -0.39966481924057007, -0.2246384620666504, -0.1886722594499588, -0.9026170969009399, -0.5122852325439453, -0.09774256497621536, -0.2009621411561966, -0.03519449010491371, 0.832017719745636, -0.14452554285526276, 0.8514246940612793, 0.5205203890800476, -0.557813823223114, 0.9229719042778015, -0.19594554603099823, 0.18666644394397736, -0.4051676094532013, 0.12372732162475586, -0.06047850847244263, -0.31152233481407166, -0.05988462641835213, 0.16608716547489166, 0.005457708146423101, -0.12586425244808197, -0.2555873394012451, 0.21863748133182526, -0.23200152814388275, -0.1014038622379303, -0.29197630286216736, -0.252107709646225, 0.2526269555091858, 0.4886515736579895, -0.09282424300909042, 0.5453980565071106, 0.6616223454475403, -0.4267837703227997, 1.0863045454025269, -0.2508666217327118, -0.5808790922164917, 0.913128137588501, -0.822573721408844, 0.19381405413150787, -0.2648024260997772, 0.05006474629044533, -1.2006537914276123, -0.11448831856250763, 0.33119097352027893, -0.21033672988414764, 0.12343978881835938, -0.2773207724094391, -0.19012586772441864, -0.563954770565033, -0.25121772289276123, -0.06912626326084137, 0.25119179487228394, -0.6955975890159607, 0.36653152108192444, -0.1012580543756485, 0.17092512547969818, -0.6614591479301453, -0.4656793177127838, -0.020978881046175957, 0.0883450135588646, -0.6252562403678894, -0.27915120124816895, -0.15536120533943176, -0.5091074705123901, 0.30764856934547424, -0.5852261185646057, -0.0868442952632904, 0.19117286801338196, 0.491201251745224, 0.03193514421582222, -0.13782329857349396, -0.08418868482112885, -0.26259177923202515, -0.578762412071228, 0.28375178575515747, -0.11847203969955444, 0.05825372785329819, -0.45386219024658203, -0.54327392578125, -0.21798111498355865, 0.34980496764183044, 0.5254251956939697, -0.5263545513153076, 0.16371604800224304, 0.942585825920105, -0.21497809886932373, -0.603027880191803, -0.2767205238342285, -0.2182714343070984, -0.4836941957473755, 0.4555063545703888, -0.5230324864387512, -0.5800981521606445, 0.4156148135662079, -0.4976736903190613, -0.2578510046005249, 0.08356618881225586, 0.2691285014152527, 0.06167679652571678, 1.214546799659729, 0.9721207618713379, 0.20366062223911285, 0.6146630644798279, -0.6097174882888794, 0.2996240258216858, -0.6055380702018738, -0.07975632697343826, -0.38255470991134644, -0.4056331515312195, -0.21197135746479034, -0.49549102783203125, 0.22427324950695038, 0.6427857875823975, 0.0804794579744339, 0.13741454482078552, -0.7377256155014038, 0.6716833710670471, 0.8186125755310059, 0.028198814019560814, 0.26127201318740845, -0.0549362450838089, 0.12587323784828186, -0.2919689416885376, -0.5415986180305481, -0.24820493161678314, 0.6905255913734436, -0.0772499293088913, 1.1949177980422974, -0.0925711989402771, 0.7156094312667847, 0.3685206472873688, 0.09017670154571533, -0.7169262766838074, 0.46106207370758057, 0.16111689805984497, -0.1121852695941925, 0.12468066066503525, -0.31493157148361206, -0.36876004934310913, 0.2065415233373642, 0.2809452712535858, -0.722650945186615, 0.3719364404678345, 0.47427260875701904, -0.4487932324409485, 0.2290174812078476, -1.096659779548645, 1.423233985900879, -0.2889924943447113, -0.5855066180229187, -0.36519166827201843, -0.25827324390411377, 0.3695615231990814, 0.4973353445529938, -0.17949362099170685, 0.13662824034690857, 0.3481059670448303, 0.31352218985557556, -0.7216917276382446, 0.893619954586029, -0.5122127532958984, -0.17624936997890472, 0.3992201089859009, 0.21262186765670776, 0.7134962677955627, 0.10514746606349945, 0.335315465927124, 0.11612257361412048, 0.20116302371025085, -0.35601234436035156, -0.9227427840232849, 0.947991132736206, -0.3343748152256012, -0.6378093957901001, -0.6490478515625, -0.05577240139245987, 0.16714654862880707, 0.08192318677902222, 0.19618405401706696, 0.49163180589675903, 0.19347146153450012, 0.21419364213943481, 0.5993140339851379, -0.3371075391769409, 0.25980144739151, 0.5642425417900085, -0.5190277099609375, -0.2168445885181427, 0.9493851065635681, 0.00888446718454361, 0.10368870943784714, 0.005947060417383909, -0.0073860445991158485, 0.2748691141605377, -0.2622407376766205, -0.5233626961708069, -0.32403266429901123, -0.8859401345252991, -0.26048919558525085, -0.3627460300922394, 0.16993862390518188, 0.09918231517076492, -0.11947420984506607, -0.37517884373664856, -0.14409354329109192, -0.01826750487089157, -0.3499106168746948, 0.49384620785713196, 0.7437850832939148, -0.1846434473991394, 0.12722572684288025, -0.49974524974823, 0.602374255657196, 0.4430684745311737, 0.6426447629928589, -0.23971116542816162, 0.2571659982204437, -0.3903554677963257, -0.23289854824543, -0.24491454660892487, -0.7870948314666748, 0.1925506442785263, -0.1350816935300827, 0.40176716446876526, 0.360097736120224, 0.228956401348114, 0.876803994178772, -0.21934013068675995, 0.7006801962852478, 0.025485029444098473, -0.8831887245178223, 0.9463527202606201, -0.1042553260922432, 0.5635718703269958, 0.45117467641830444, -0.20020084083080292, -0.20853550732135773, -0.394551545381546, -0.28117498755455017, -0.8745286464691162, 0.6141800284385681, -0.1829347312450409, -0.32464727759361267, -0.1044829711318016, 0.11764395236968994, -0.08166379481554031, 0.2083388864994049, -0.21767929196357727, -0.025104723870754242, -0.2399672120809555, 0.1016785204410553, -0.0111616849899292, -0.18894752860069275, -0.11283587664365768, -0.5608528256416321, 0.16667848825454712, -0.39116740226745605, 0.22651609778404236, 0.44046610593795776, -0.4018252193927765, -0.31540757417678833, -0.0061723617836833, 0.7462548613548279, 1.1121047735214233, -0.36911487579345703, 0.25415703654289246, -0.1641368716955185, -0.3472817838191986, -0.23337110877037048, -0.13584285974502563, -0.00743643706664443, 0.09716153144836426, 0.2776399850845337, 0.9040436148643494, -0.056249719113111496, -0.975640058517456, 0.6533896327018738, -0.3620970547199249, 0.19923892617225647, -0.5353056788444519, 0.4408332109451294, -0.14006584882736206, 0.6165244579315186, 0.14473600685596466, 0.4671405851840973, 0.43757936358451843, -0.33164235949516296, 0.20435671508312225, 0.091634601354599, -0.5925151705741882, -0.2907654345035553, 0.937745988368988, 0.36126065254211426, 0.0002929910842794925, 0.8175771236419678, 0.03250128775835037, -0.6364022493362427, 0.9433193206787109, 0.26057231426239014, 1.1035624742507935, 0.08175448328256607, 0.1447850614786148, 0.42638057470321655, 0.28906118869781494, 0.11414282768964767, 0.6508266925811768, -0.21100205183029175, -0.2634361982345581, -0.8653610348701477, -0.5028419494628906, -0.4941958785057068, -0.1046174094080925, -0.918655276298523, 0.10413657873868942, -0.462094247341156, -0.23918314278125763, -0.34172874689102173, -0.19834865629673004, -0.6978805065155029, 0.09995085746049881, 0.1716456413269043, 0.8003972768783569, -0.6629485487937927, 0.6645488739013672, 0.7617125511169434, -0.49222418665885925, -0.41278308629989624, -0.2629404366016388, 0.07572251558303833, -0.35174447298049927, 0.9543939828872681, 0.45254549384117126, -0.3749270737171173, 0.0943528339266777, -0.7962691783905029, -0.4494236409664154, 0.7242528200149536, 0.7114043831825256, -0.8221129775047302, 0.21949394047260284, -0.3420948088169098, 0.5237587094306946, -0.09041105210781097, 0.26970356702804565, 0.5472623109817505, 0.5069779753684998, -0.1517932415008545, -0.5963821411132812, 0.003874413901939988, -0.558276355266571, 0.14713454246520996, 0.19634214043617249, -0.5076813697814941, 0.5386514067649841, -0.7203395962715149, 0.10628978908061981, -0.2008054107427597, 0.39216378331184387, 0.0253700390458107, 0.299018919467926, 0.35879915952682495, 0.9210057854652405, 0.6300396919250488, -0.45934396982192993, 1.3964334726333618, -0.28253233432769775, 0.24844864010810852, 1.274101734161377, -0.07270403206348419, 0.5972661972045898, 0.5605958104133606, 0.11213962733745575, 0.7485209107398987, 0.3554142713546753, -0.07610401511192322, 0.5697087645530701, 0.5045238733291626, -0.07350397109985352, -0.3853623867034912, 0.14358264207839966, -0.30167052149772644, 0.28513145446777344, 0.19154374301433563, -0.22275148332118988, -0.23200686275959015, 0.22772903740406036, -0.17758581042289734, -0.055649708956480026, -0.29826536774635315, 0.4760303497314453, -0.02803456224501133, -0.47230497002601624, 0.7292636036872864, -0.22517241537570953, 0.42190903425216675, -0.41579025983810425, -0.495681494474411, -0.26931309700012207, 0.9266504645347595, -0.4521132707595825, -0.5575846433639526, 0.43219614028930664, 0.0019209299935027957, -0.33690187335014343, -0.20624341070652008, 0.5958444476127625, -0.006171710789203644, -0.24429549276828766, 0.4081515073776245, 0.15104731917381287, -0.07923616468906403, -0.513873279094696, -0.3390505015850067, 0.47882410883903503, 0.24126967787742615, -0.47078192234039307, -0.2254582941532135, 0.3669138550758362, -0.32606521248817444, 0.7062368988990784, 0.5032592415809631, -0.04775474593043327, 0.34837502241134644, 0.2841968834400177, 0.710049033164978, -0.8657534718513489, -0.36100131273269653, -0.7780328392982483, 0.8943092823028564, -0.32697808742523193, -0.2530129849910736, 0.9661058783531189, 0.5513913035392761, 1.1792097091674805, -0.43611225485801697, 0.8420595526695251, -0.0788814052939415, 0.17130647599697113, -0.10229498893022537, 0.2189505249261856, -0.3173045814037323, 0.2777814269065857, -0.3104211390018463, -0.9745097160339355, -0.10243985056877136, 0.7049323320388794, -0.4426807165145874, -0.1752215027809143, 0.48566511273384094, 0.7597099542617798, -0.06448598206043243, -0.30735310912132263, 0.0820145308971405, 0.24119487404823303, 0.5195561051368713, 0.6429757475852966, 0.8680769801139832, -0.2925008535385132, 0.473849356174469, -0.354691743850708, -0.3802691102027893, -0.4548346996307373, -0.678797721862793, -0.6977952718734741, -0.07869068533182144, -0.7600858807563782, -0.494765967130661, 0.056097496300935745, 0.26859861612319946, 0.7025747299194336, -0.7604278922080994, -0.19473330676555634, -0.411886066198349, 0.08577656745910645, -0.7087229490280151, -0.38344714045524597, 0.02206617221236229, -0.32446280121803284, -0.6631577014923096, 0.1934257596731186, 0.473278284072876, -0.46097737550735474, -0.40418583154678345, -0.01006312482059002, 0.3671581447124481, -0.19904668629169464, 0.685069739818573, 0.39614951610565186, -0.5370181202888489, -0.47820791602134705, -0.11617892980575562, -0.07081042975187302, -0.12444101274013519, 0.7429704666137695, -1.1613844633102417, 1.0908865928649902, 0.9127814173698425, 0.4514368176460266, 0.7837773561477661, -0.027916986495256424, 0.728360652923584, -0.5986614227294922, 0.0760512501001358, -0.014420716091990471, 0.2697266936302185, 0.12749379873275757, -0.2510048747062683, 0.8343379497528076, 0.44388651847839355, -0.23689551651477814, -1.0199029445648193, 0.41192737221717834, -0.9353357553482056, -0.23906724154949188, 0.6430779695510864, -0.03795044124126434, -0.41230615973472595, 0.3824712634086609, -0.7429378032684326, -0.02112538367509842, -0.1867813766002655, 0.6756678819656372, 0.49815765023231506, -0.21200373768806458, -0.4998506009578705, -0.869855523109436, 0.5717905163764954, 0.0838201493024826, -0.7614692449569702, -0.01143733225762844, 0.8306408524513245, 0.5275202989578247, 0.0520588681101799, 0.44524312019348145, 0.09451095759868622, 0.563515841960907, 0.23227539658546448, 0.4738890826702118, -0.3221530616283417, -0.29580873250961304, -0.40528374910354614, 0.11370493471622467, -0.19021081924438477, -0.5033419728279114 ]
http://arxiv.org/abs/2406.13443v1
http://arxiv.org/pdf/2406.13443v1
Dual-Phase Accelerated Prompt Optimization
2024-06-19T11:08:56
2024-06-19T11:08:56
Muchen Yang, Moxin Li, Yongle Li, Zijun Chen, Chongming Gao, Junqi Zhang, Yangyang Li, Fuli Feng
cs.CL
cs.CL
Gradient-free prompt optimization methods have made significant strides in enhancing the performance of closed-source Large Language Models (LLMs) across a wide range of tasks. However, existing approaches make light of the importance of high-quality prompt initialization and the identification of effective optimization directions, thus resulting in substantial optimization steps to obtain satisfactory performance. In this light, we aim to accelerate prompt optimization process to tackle the challenge of low convergence rate. We propose a dual-phase approach which starts with generating high-quality initial prompts by adopting a well-designed meta-instruction to delve into task-specific information, and iteratively optimize the prompts at the sentence level, leveraging previous tuning experience to expand prompt candidates and accept effective ones. Extensive experiments on eight datasets demonstrate the effectiveness of our proposed method, achieving a consistent accuracy gain over baselines with less than five optimization steps.
[ -0.19738765060901642, -0.7882553935050964, 0.7142236232757568, 0.5786349773406982, -0.5299174785614014, 0.14981944859027863, -0.49461087584495544, 0.07294868677854538, -0.1929885298013687, 0.16512902081012726, -1.084982991218567, -0.41078048944473267, -0.4099898636341095, 0.3325188457965851, 0.05909130722284317, 0.7652285099029541, -0.10752224177122116, 0.20245052874088287, -0.06653757393360138, 0.21638822555541992, -0.8644635677337646, -0.060795508325099945, -1.0824315547943115, -0.08638051897287369, 0.772970974445343, 0.9037023186683655, 0.257668673992157, 0.6566011309623718, -0.00855829007923603, 0.21032774448394775, -0.22441910207271576, 0.502335786819458, -0.5435535907745361, 0.6120208501815796, 0.10127545148134232, -0.17187030613422394, -0.014258976094424725, -0.1420425921678543, 0.8093952536582947, 0.5701890587806702, -0.18071413040161133, 0.28882896900177, 0.33330997824668884, 0.6992051005363464, -0.6611684560775757, 0.1668877899646759, -0.25840216875076294, 0.04919951409101486, -0.07118410617113113, -0.5717315077781677, -0.38495707511901855, -0.4634702205657959, -0.0015403622528538108, -0.8167120814323425, 0.30734845995903015, 0.17998743057250977, 0.41358840465545654, 0.34350600838661194, -0.3522833585739136, -0.379441499710083, -0.5922267436981201, 0.9372736811637878, -0.44594666361808777, 0.19238288700580597, -0.15299296379089355, 0.21623283624649048, -0.3108072876930237, -0.5689923167228699, -0.36666953563690186, -0.24637718498706818, 0.16767670214176178, 0.05829210951924324, 0.05873231962323189, 0.3227434456348419, 0.3743356764316559, 0.17921113967895508, -0.6418612599372864, 0.2803401052951813, -0.04035047069191933, -0.13872821629047394, 0.3630223274230957, 0.40768197178840637, 0.2228686511516571, -0.08965273201465607, -0.45547565817832947, -0.03792164847254753, -0.45796331763267517, 0.6541458368301392, 0.36829736828804016, 0.9109556674957275, -0.07002837210893631, 0.5306800603866577, -0.3358936607837677, 0.481110155582428, 0.46894821524620056, -0.14939874410629272, 0.08651456236839294, -0.8263071179389954, 0.169733464717865, 0.04722317308187485, 0.7181230187416077, 0.34021350741386414, -0.03571830317378044, 0.061178866773843765, -0.3828899562358856, -0.006218249443918467, 0.03944411873817444, -0.9621991515159607, 0.3067290186882019, 0.4278368353843689, -0.19544832408428192, -0.14784617722034454, -0.29574471712112427, -1.2710239887237549, -0.5988869667053223, -0.5311039090156555, 0.4738951325416565, -0.05732958763837814, 0.06871388107538223, 0.1615906059741974, -0.05228947475552559, 0.11610880494117737, 0.3373415172100067, -0.8534737825393677, 0.0033752014860510826, 0.7822198271751404, 0.8430940508842468, 0.08558141440153122, 0.013700716197490692, -1.2867357730865479, -0.19450229406356812, -0.3666163384914398, 0.5834193825721741, -0.666585385799408, -0.6406453251838684, 0.1944550722837448, -0.17403049767017365, 0.0669487714767456, -0.18181072175502777, 1.0676674842834473, -0.4718198776245117, 0.4297598600387573, -0.6892931461334229, -0.07306407392024994, -0.06320668756961823, -0.06375470757484436, -0.36409541964530945, 1.3949798345565796, -0.04841405525803566, -0.6212125420570374, 0.24822154641151428, -0.7139483094215393, -0.590995728969574, 0.11305300891399384, -0.03822200000286102, -0.008001080714166164, 0.3868662118911743, 0.5731582641601562, 0.29521986842155457, -0.7159181833267212, 0.4097687900066376, 0.25170600414276123, -0.3920762240886688, -0.3304058611392975, -0.22778169810771942, 0.5594838857650757, -0.062779001891613, -0.3889528810977936, 0.4468883275985718, -0.7536013722419739, -0.05348445475101471, 0.04458018019795418, -0.40429237484931946, -0.21387603878974915, -0.02362764999270439, -0.3922491669654846, 0.19272039830684662, 0.4620682895183563, -0.5059612989425659, 0.33578354120254517, -0.573117733001709, 0.08678317070007324, 0.926851212978363, 0.11059659719467163, 0.5971761345863342, -0.038215480744838715, 0.9042568802833557, 0.02959519252181053, 0.22679641842842102, -0.6157262921333313, -0.4175712466239929, -0.8952610492706299, -0.29523220658302307, 0.05115806311368942, 0.9290372133255005, -0.8548380732536316, 0.559586763381958, 0.021150482818484306, -0.1370246261358261, -0.7215176224708557, 0.25454869866371155, 0.4655356705188751, 0.9900155067443848, 0.5045969486236572, 0.04375680163502693, -0.33756768703460693, -0.8645740747451782, -0.3831043541431427, 0.23014329373836517, 0.08293607831001282, 0.40931373834609985, -0.021256964653730392, -0.08557463437318802, 0.8066015243530273, -0.6250797510147095, 0.23140929639339447, -0.25671613216400146, 0.48393571376800537, 0.7331596612930298, 0.28862130641937256, 0.20920996367931366, -0.4905359745025635, -0.7443368434906006, -0.37016230821609497, -0.4917779266834259, -0.6854798793792725, -0.1683349758386612, -0.2945922613143921, 0.012581265531480312, 0.23558369278907776, -0.5652652382850647, -0.07707139104604721, 0.39038121700286865, -0.44951990246772766, 0.5669677257537842, -0.22978441417217255, 0.27144157886505127, -0.9741759300231934, -0.01902880147099495, 0.1080743595957756, -0.06011422351002693, -0.8140040636062622, -0.013801736757159233, 0.10888813436031342, -0.44116467237472534, -0.15779712796211243, 0.7930307388305664, -0.8048155903816223, 0.27827057242393494, -0.35640326142311096, 0.3282610774040222, 0.007067572325468063, 0.5593448877334595, -0.3484470546245575, 1.2183748483657837, 0.8224634528160095, -0.6110864281654358, 0.29586002230644226, 0.11607135087251663, -0.298023521900177, 0.49157845973968506, -0.7293905019760132, 0.2837715148925781, -0.7042643427848816, 0.12925267219543457, -1.1921188831329346, 0.2038988173007965, 0.4668025076389313, -0.0341809019446373, 0.5317366123199463, 0.07258966565132141, -0.4855590760707855, -0.6495192050933838, -0.5694966912269592, 0.435965895652771, 0.6499745845794678, -0.6933367252349854, 0.5237888693809509, -0.3635220527648926, -0.6145700812339783, -0.9335107207298279, -0.08846080303192139, 0.03939313814043999, -0.04539456591010094, -0.7885450720787048, 0.08549266308546066, -0.37283846735954285, 0.054688289761543274, -0.44358178973197937, -0.050176940858364105, 0.2926582992076874, 0.04125603288412094, 0.024279750883579254, 0.058634839951992035, -0.27044054865837097, 0.08341427892446518, 0.56134033203125, -0.47520720958709717, -0.18155302107334137, -0.5239178538322449, 0.6898297071456909, 0.31417185068130493, 0.1601458638906479, -0.8827680945396423, 0.6741750836372375, 0.332246333360672, -0.26397767663002014, 0.6099756956100464, 0.5687735080718994, -0.11966674029827118, -0.5542771220207214, -0.3636581301689148, -0.2925187647342682, -0.5941725373268127, 0.18595413863658905, -0.3772217631340027, -0.7464731931686401, 0.28976505994796753, -0.0905207172036171, 0.23809382319450378, 0.13475890457630157, 0.5563259124755859, 0.14132224023342133, 0.953217625617981, 0.5422582626342773, 0.17350779473781586, 0.5742488503456116, 0.05384719371795654, 0.3229832649230957, -0.7790306210517883, -0.14620380103588104, -0.8258877992630005, -0.35722342133522034, -0.16338247060775757, -0.7999371290206909, 0.6085502505302429, 0.28239205479621887, -0.2333718091249466, 0.08315647393465042, -0.4535667896270752, 0.36068540811538696, 0.7468003630638123, 0.0808677226305008, 0.27353596687316895, -0.050958964973688126, -0.47629085183143616, -0.12160634249448776, -0.6162829995155334, -0.40396323800086975, 0.8625866770744324, 0.2754116356372833, 0.5572578310966492, -0.2757219672203064, 0.6066617369651794, 0.2428918182849884, -0.10543213784694672, -0.7025090456008911, 0.5676029324531555, -0.16753466427326202, -0.22018206119537354, -0.2339586317539215, -0.5478758811950684, -0.7994128465652466, 0.27117523550987244, -0.1315300017595291, -0.4758913815021515, 0.12072575092315674, 0.2705935537815094, -0.6414609551429749, -0.23384465277194977, -0.5817490220069885, 0.7495502829551697, -0.31745168566703796, -0.34995943307876587, -0.20534057915210724, -0.7115638256072998, 0.3254779279232025, -0.20010781288146973, 0.35183703899383545, -0.27089232206344604, -0.49195465445518494, 0.5294731259346008, -0.2553756833076477, 0.5948755145072937, -0.6915979385375977, -0.30140990018844604, 0.1948123574256897, -0.13639751076698303, 0.8788869976997375, 0.1962793469429016, -0.24426433444023132, -0.26409295201301575, -0.4248388111591339, -0.42118722200393677, -0.6757002472877502, 0.4761775732040405, -0.4260353446006775, -0.6265764832496643, -0.14762461185455322, -0.513573169708252, -0.41122227907180786, 0.2502754032611847, 0.1998129040002823, 0.7984318137168884, -0.03215819597244263, -0.28661438822746277, 0.7515662908554077, -0.4818311333656311, 0.680828869342804, 0.6344553828239441, 0.12790389358997345, -0.67702716588974, 0.61823970079422, -0.35385435819625854, 0.22420495748519897, 0.4516507089138031, 0.5114739537239075, -0.32917162775993347, -0.7555442452430725, -0.6340495347976685, 0.42469656467437744, -0.5466247797012329, -0.2181839942932129, -0.7354546189308167, 0.3671247363090515, -0.4244391918182373, -0.20824797451496124, -0.1261802315711975, -0.30670589208602905, -0.6763082146644592, 0.20436599850654602, 0.06563446670770645, 0.2149752378463745, 0.11159500479698181, 0.5850513577461243, -0.9650728106498718, 0.47866761684417725, 0.18146342039108276, 0.046340931206941605, -0.17240187525749207, -0.5785197019577026, -0.1346803605556488, 0.08145205676555634, -0.1511688381433487, -0.721333384513855, 0.21941374242305756, 0.29650431871414185, 0.7204118371009827, 0.507091224193573, 0.16123421490192413, 0.4930709898471832, -0.8141371011734009, 0.985293447971344, 0.3261057138442993, -0.8140971660614014, 0.7032552361488342, -0.41723397374153137, 0.572945773601532, 0.7618278861045837, 0.4419233500957489, -0.4928741157054901, -0.12081007659435272, -0.0075056483037769794, -0.8568232655525208, 0.7463343739509583, -0.14316719770431519, 0.30561554431915283, 0.09118857234716415, 0.6458252668380737, 0.30788835883140564, 0.5497239232063293, -0.17150793969631195, -0.40948864817619324, 0.23379677534103394, -0.4036521017551422, -0.2298140525817871, -0.7263356447219849, -0.30199307203292847, -0.05666884779930115, 0.7301143407821655, -0.4199826717376709, 0.3063335716724396, 0.006436958443373442, 0.1326529085636139, -0.4540484845638275, 0.3539884388446808, 0.8901844024658203, 0.40196526050567627, 0.10396725684404373, -0.2414681613445282, -0.002476631896570325, -0.4391336143016815, 0.32679781317710876, 0.37263813614845276, -0.4370734393596649, -0.059864964336156845, 0.09402287006378174, 0.90428626537323, 0.2522377669811249, -0.5550328493118286, 0.649960458278656, -0.16381648182868958, 0.12036646157503128, 0.1781061887741089, 0.06167878583073616, -0.17602510750293732, 0.5256259441375732, 0.5691452622413635, -0.2555338740348816, 0.10957616567611694, -0.30021077394485474, -0.04196694865822792, 0.5690421462059021, -0.04386863857507706, -0.3343411386013031, 0.6557536721229553, 0.694147527217865, -0.4288977384567261, 0.5738187432289124, -0.27178531885147095, -0.5206020474433899, 0.3580302894115448, 0.5071592926979065, 1.2808648347854614, -0.33941733837127686, 0.19995422661304474, 0.6983013153076172, 0.28326350450515747, -0.2439873069524765, 0.7003199458122253, -0.16601690649986267, -0.49019989371299744, -0.5836108922958374, -0.8475179672241211, -0.20373974740505219, -0.3754756450653076, -0.4702778160572052, 0.697319746017456, -0.5197815895080566, -0.12822918593883514, -0.47069051861763, 0.1946023851633072, -0.5180163979530334, 0.07947485148906708, 0.14049682021141052, 0.9907596111297607, -0.6317650079727173, 0.38530048727989197, 0.23410524427890778, -0.05552707612514496, -0.576581597328186, 0.01885133981704712, 0.05818702280521393, -0.9261541366577148, 0.42225614190101624, 0.36574968695640564, -0.15473738312721252, 0.19494251906871796, -0.3204033672809601, -0.8367763161659241, 1.1311737298965454, 0.28600838780403137, -0.9120497107505798, -0.42121413350105286, -0.18550732731819153, 0.2556888461112976, -0.32522109150886536, 0.19908910989761353, 0.3603163957595825, 0.6127665638923645, 0.25190040469169617, -0.8012745380401611, 0.24258746206760406, 0.03145855665206909, 0.12083866447210312, 0.4974227249622345, -0.6952930092811584, 0.7368558645248413, -0.3225080370903015, -0.7049477100372314, 0.22412344813346863, 0.8086166977882385, 0.1063082367181778, 0.357467383146286, 0.6185908913612366, 0.4488462805747986, 1.0203572511672974, 0.016167424619197845, 0.8986428380012512, -0.5886468887329102, 0.20752951502799988, 0.9053323864936829, -0.24105221033096313, 0.4192323386669159, 0.48774686455726624, 0.037825439125299454, 0.6080417633056641, 0.6929245591163635, 0.11850553750991821, 0.6836663484573364, 0.19099068641662598, -0.632997453212738, -0.14485178887844086, -0.39570119976997375, -0.23460952937602997, -0.11501563340425491, 0.20250481367111206, -0.3320889174938202, -0.33946433663368225, 0.09315898269414902, -0.004608372692018747, 0.043397221714258194, -0.4246748983860016, 0.5533990263938904, -0.03491586819291115, -0.8464702367782593, 0.5621174573898315, 0.07183247804641724, 0.7678706049919128, -0.6714333891868591, 0.1829654425382614, -0.3879031538963318, -0.3284446895122528, 0.0967167392373085, -0.4021293520927429, -0.24586716294288635, 0.12477407604455948, -0.30360648036003113, -0.6185140609741211, 0.5001813173294067, -0.5749869346618652, -0.4164249897003174, 0.17251695692539215, 0.4434255063533783, -0.2064225822687149, 0.06216946244239807, -0.6095257997512817, -0.10924389213323593, -0.138014554977417, -0.3821806311607361, -0.06370725482702255, 0.41134676337242126, 0.3098691403865814, 0.49582841992378235, 0.6678032875061035, 0.10358037799596786, 0.09968699514865875, -0.046026602387428284, 0.8933126926422119, -0.6907574534416199, -0.5877756476402283, -0.7630994915962219, 0.8271162509918213, 0.08113071322441101, -0.3854980170726776, 0.49552005529403687, 0.4979616403579712, 0.04052003473043442, 0.06524083018302917, 0.6620631814002991, 0.20221801102161407, 0.6716397404670715, -0.7995920181274414, -0.10457022488117218, -0.5978796482086182, 0.22458453476428986, -0.12690725922584534, -1.1304404735565186, -0.06901713460683823, 0.048702627420425415, 0.002254404593259096, -0.010242963209748268, 0.8802049160003662, 1.020310878753662, 0.1414879709482193, 0.03793879225850105, 0.09508974105119705, 0.04434874281287193, 0.23725369572639465, 0.6702699065208435, 0.8486177921295166, -0.04884014651179314, 0.3606562912464142, -0.17197924852371216, -0.5920536518096924, -0.16197939217090607, -1.082392692565918, -0.895045816898346, -0.30480584502220154, -0.17069971561431885, -0.33770808577537537, 0.08096782118082047, 1.1596405506134033, 0.4266778230667114, -0.6333618760108948, -0.04928379878401756, 0.0019892172422260046, 0.022449644282460213, -0.11045767366886139, -0.20019197463989258, 0.07943368703126907, -0.8946481943130493, -0.8886321783065796, 1.011702060699463, 0.34371522068977356, -0.12307952344417572, -0.27575844526290894, 0.06488088518381119, 0.0028700672555714846, 0.37434419989585876, 0.4799201190471649, 0.1878918558359146, -0.5339424014091492, -0.08290233463048935, 0.18935731053352356, -0.2812080681324005, 0.06444419175386429, 1.2347198724746704, -0.503294050693512, 0.477505624294281, 0.7735785245895386, 0.7261229157447815, 0.24934571981430054, 0.4851922392845154, 0.8760334253311157, -0.9115066528320312, 0.17690572142601013, 0.2929328978061676, 0.07841090112924576, 0.3192800283432007, -0.6876999735832214, 0.24448786675930023, 0.3440454304218292, -0.6120011210441589, -0.8570526242256165, 0.13903912901878357, -1.0988962650299072, -0.19631963968276978, 1.4194388389587402, 0.11776531487703323, 0.06728408485651016, 0.10109572112560272, -0.43460509181022644, 0.30271077156066895, -0.8170533776283264, 0.46538245677948, 0.5037496089935303, -0.27608829736709595, -0.2704932391643524, -0.5626211166381836, 0.5737974643707275, 0.5485184788703918, -0.6608024835586548, 0.11366315186023712, 0.70826256275177, -0.013070681132376194, -0.021835558116436005, 0.6501287817955017, 0.31880614161491394, 0.18439297378063202, -0.14877115190029144, -0.24914444983005524, -0.16309241950511932, -0.5610849261283875, -0.8189972639083862, 0.2918255925178528, 0.062439024448394775, -0.2407304048538208 ]
http://arxiv.org/abs/2406.13439v1
http://arxiv.org/pdf/2406.13439v1
Finding Blind Spots in Evaluator LLMs with Interpretable Checklists
2024-06-19T10:59:48
2024-06-19T10:59:48
Sumanth Doddapaneni, Mohammed Safi Ur Rahman Khan, Sshubam Verma, Mitesh M. Khapra
cs.CL
cs.CL
Large Language Models (LLMs) are increasingly relied upon to evaluate text outputs of other LLMs, thereby influencing leaderboards and development decisions. However, concerns persist over the accuracy of these assessments and the potential for misleading conclusions. In this work, we investigate the effectiveness of LLMs as evaluators for text generation tasks. We propose FBI, a novel framework designed to examine the proficiency of Evaluator LLMs in assessing four critical abilities in other LLMs: factual accuracy, instruction following, coherence in long-form writing, and reasoning proficiency. By introducing targeted perturbations in answers generated by LLMs, that clearly impact one of these key capabilities, we test whether an Evaluator LLM can detect these quality drops. By creating a total of 2400 perturbed answers covering 22 perturbation categories, we conduct a comprehensive study using different evaluation strategies on five prominent LLMs commonly used as evaluators in the literature. Our findings reveal significant shortcomings in current Evaluator LLMs, which failed to identify quality drops in over 50\% of cases on average. Single-answer and pairwise evaluations demonstrated notable limitations, whereas reference-based evaluations showed comparatively better performance. These results underscore the unreliable nature of current Evaluator LLMs and advocate for cautious implementation in practical applications. Code and data are available at https://github.com/AI4Bharat/FBI.
[ -0.22478756308555603, -0.8880097270011902, 0.880046010017395, 0.3416080176830292, -0.07211080938577652, 0.39063432812690735, -0.03445075824856758, -0.43572357296943665, -0.050073809921741486, 0.588782012462616, -0.36904165148735046, -0.6649739742279053, -0.7029978036880493, 0.3088850677013397, -0.6810832619667053, 1.22135329246521, -0.3042449951171875, -0.20200195908546448, -0.38454702496528625, 0.0198013037443161, -0.4821152091026306, -0.2622137665748596, -0.3030855357646942, -0.3584665358066559, 0.3859022557735443, 0.6184411644935608, 0.5421404838562012, 0.3329484164714813, 0.7503072023391724, 0.2682459056377411, -0.14122842252254486, 0.2709219753742218, -0.4697343409061432, 0.05124421790242195, -0.10767264664173126, -0.4271617829799652, -0.6442410349845886, 0.08931911736726761, 0.7242746949195862, 0.5579860210418701, 0.03069896437227726, 0.32515883445739746, 0.266426682472229, 0.39014455676078796, -0.701973021030426, 0.04749872907996178, -0.5519552826881409, -0.017771072685718536, -0.3567180037498474, -0.37126222252845764, -0.4873305857181549, -0.4053764045238495, -0.01406935416162014, -0.18382374942302704, 0.3184604346752167, -0.19526369869709015, 0.7336513996124268, 0.4227806329727173, -0.4142968952655792, -0.4365549385547638, -0.7148639559745789, 0.7960845232009888, -0.7950366139411926, 0.25036391615867615, 0.4825972020626068, 0.07571493089199066, -0.2468041479587555, -0.5984188318252563, -0.6580910682678223, -0.404396116733551, 0.10169635713100433, 0.1430390328168869, -0.044879406690597534, 0.02983194775879383, 0.22440247237682343, 0.4069773554801941, -0.45803576707839966, 0.2418658286333084, -0.01159062422811985, -0.3680875599384308, 0.6193521022796631, 0.3626411259174347, -0.0008310529519803822, -0.22012513875961304, -0.2601597011089325, 0.20538535714149475, -0.7683815360069275, 0.3720737099647522, 0.45346498489379883, -0.047575850039720535, 0.0736021101474762, 0.6403445601463318, -0.24490341544151306, 0.645217776298523, 0.13091427087783813, -0.3116661608219147, 0.08339551091194153, -0.4027308225631714, -0.2104402333498001, -0.5246284008026123, 0.48362594842910767, 0.13618391752243042, -0.06331124156713486, 0.1769016832113266, -0.47452500462532043, -0.16347892582416534, 0.19499161839485168, -0.7875147461891174, -0.23064947128295898, 0.2663542628288269, -0.2963160276412964, -0.5260109901428223, 0.023702479898929596, -0.6261054873466492, -0.673874020576477, 0.045909225940704346, 0.3069314658641815, -0.16467083990573883, 0.09873703867197037, -0.09932537376880646, 0.11541859060525894, 0.05747766047716141, 0.433060884475708, -0.6960959434509277, 0.22537319362163544, 0.4993686378002167, 0.5035730600357056, -0.2834935188293457, -0.29790377616882324, -0.7794146537780762, -0.22188062965869904, -0.3645613491535187, 0.978001058101654, -0.5346181988716125, -0.19330088794231415, 0.18022336065769196, -0.2974588871002197, 0.051736220717430115, -0.6840676069259644, 0.5910839438438416, -0.4890226423740387, 0.01190893817692995, 0.04951358959078789, -0.5368762016296387, -0.13367196917533875, 0.278308242559433, -0.5382384061813354, 0.8893797993659973, 0.05055174231529236, -0.4426210820674896, 0.3518982529640198, -0.4159919023513794, -0.4644007384777069, 0.13611066341400146, -0.3182198107242584, -0.5808771848678589, 0.22042185068130493, 0.09122604131698608, 0.5896769762039185, -0.4844695031642914, 0.3105004131793976, -0.06723352521657944, -0.5903655290603638, 0.7312783598899841, -0.7145292162895203, 0.5815688371658325, -0.036208901554346085, -0.5087451934814453, 0.2148723304271698, -1.033754587173462, 0.1880028396844864, -0.08263743668794632, -0.841310441493988, 0.2004169225692749, 0.11568205058574677, 0.13349299132823944, -0.0672973021864891, 0.16010409593582153, -0.28986701369285583, -0.29012906551361084, -0.19505439698696136, 0.1114010214805603, 0.8644447326660156, 0.12217126786708832, -0.058310430496931076, -0.35173463821411133, 0.8944031000137329, -0.18734857439994812, -0.002038518898189068, -0.2401326298713684, -0.415809690952301, -0.806283712387085, -0.20251396298408508, 0.31240174174308777, 0.4080832600593567, -0.8364887833595276, 0.6073344349861145, -0.09127934277057648, -0.5799621343612671, -0.37591010332107544, 0.609757661819458, 0.7854675054550171, 0.3272137939929962, 0.08615739643573761, -0.1753331571817398, -0.12871915102005005, -0.8211220502853394, -0.28331825137138367, -0.3153037130832672, -0.02912020869553089, 0.08353006839752197, 0.5634395480155945, -0.21341727674007416, 0.8433676362037659, -0.24508807063102722, -0.22572146356105804, -0.42241743206977844, -0.02435258962213993, 0.049090754240751266, 0.2695026695728302, 0.32213500142097473, -0.45630940794944763, -0.34251779317855835, -0.21296681463718414, -0.5594913959503174, -0.35190603137016296, -0.15652571618556976, 0.03338434174656868, 0.35975509881973267, 0.31048476696014404, -0.3695869743824005, 0.49517324566841125, 0.8073238134384155, -0.6119410991668701, 0.8500349521636963, 0.17966389656066895, 0.013844218105077744, -0.6705754995346069, 0.2347964346408844, -0.09246322512626648, -0.16546018421649933, -0.6253497004508972, 0.07536501437425613, 0.1524231880903244, 0.13931821286678314, -0.3312166631221771, 0.5707583427429199, -0.3849066495895386, 0.04719225689768791, -0.2062608152627945, 0.44759830832481384, 0.22587959468364716, 0.33131641149520874, -0.45043709874153137, 0.5492203235626221, 0.15684010088443756, -0.34908929467201233, 0.2985113859176636, 0.2550641596317291, -0.6711475253105164, 0.5758355855941772, -0.32049497961997986, 0.2802763283252716, 0.10898160934448242, 0.19485652446746826, -1.0793339014053345, -0.3846873641014099, 0.17139646410942078, -0.3352245092391968, 0.38686075806617737, 0.2196652740240097, -0.47903236746788025, -0.3031376600265503, -0.46439701318740845, 0.1787423938512802, 0.1619856059551239, -0.5193427205085754, 0.3628963828086853, 0.16663549840450287, -0.18597868084907532, -0.8572106957435608, -0.6911622881889343, 0.08594056963920593, 0.0021239572670310736, -0.5136604905128479, -0.08539949357509613, -0.2805796265602112, -0.3114379346370697, -0.040477052330970764, -0.4410599172115326, -0.02656841278076172, 0.536740779876709, 0.22464267909526825, 0.31248828768730164, -0.1757999211549759, 0.1115170270204544, 0.14248314499855042, 0.08943408727645874, 0.1954674869775772, 0.22337450087070465, 0.33142369985580444, -0.1798645704984665, -0.566603422164917, -0.4053729474544525, -0.07995712757110596, 0.43799319863319397, -0.23899708688259125, 0.39517319202423096, 0.39856740832328796, -0.1498996913433075, -0.5020104050636292, -0.7262554168701172, -0.06525615602731705, -0.4684460461139679, 0.6311469078063965, -0.4344911575317383, -0.7402271628379822, 0.5357854962348938, 0.12446349114179611, 0.13939428329467773, 0.2416447550058365, 0.40943148732185364, -0.07762344926595688, 0.7196226119995117, 0.6502212285995483, 0.28843745589256287, 0.43097198009490967, -0.274753212928772, 0.33279749751091003, -0.9189119338989258, -0.2430465668439865, -0.48206934332847595, -0.15009354054927826, -0.29073476791381836, -0.41295647621154785, 0.20380528271198273, 0.2615463435649872, 0.17942629754543304, -0.12317972630262375, -0.2224045991897583, 0.5623976588249207, 0.23904842138290405, 0.058877795934677124, 0.41687971353530884, -0.05249681696295738, -0.19057351350784302, 0.03981906548142433, -0.515049397945404, -0.8804292678833008, 1.1990854740142822, 0.5985077023506165, 0.6617687344551086, 0.13844415545463562, 0.6522474884986877, 0.37782591581344604, 0.806037425994873, -0.7608287334442139, 0.7084190249443054, -0.006240646354854107, -0.5189073085784912, -0.493762344121933, -0.3249943256378174, -0.7455613613128662, 0.18805381655693054, -0.37948909401893616, -0.49781113862991333, 0.20690272748470306, 0.08575236797332764, -0.336280882358551, 0.007846832275390625, -0.45500725507736206, 0.9406751990318298, -0.3192199170589447, -0.5366185307502747, -0.031233234331011772, -0.14570461213588715, 0.45991864800453186, -0.5782420635223389, 0.08202067017555237, -0.24881713092327118, -0.10320240259170532, 0.645508885383606, -0.21842171251773834, 0.8242923021316528, -0.08304739743471146, -0.3527005612850189, 0.30752459168434143, 0.17187577486038208, 0.6149737238883972, -0.034894127398729324, -0.3911812901496887, 0.35564395785331726, -0.2463650107383728, -0.360943466424942, -0.7104595303535461, 0.5363524556159973, -0.4738669693470001, -0.928708553314209, -0.3227851092815399, -0.5197015404701233, -0.34261998534202576, 0.2669541537761688, 0.1487799882888794, 0.4305589199066162, -0.25506269931793213, 0.2930510640144348, 0.12484472990036011, -0.25350409746170044, 0.23428669571876526, 0.713411271572113, -0.2954927086830139, -0.30902063846588135, 0.8904318809509277, 0.061236750334501266, 0.30612704157829285, 0.04652831330895424, 0.054406799376010895, -0.12872298061847687, -1.2228807210922241, -0.4557589590549469, 0.18810030817985535, -0.942338228225708, -0.27966150641441345, -0.19657477736473083, -0.35217422246932983, -0.27985092997550964, -0.1057562530040741, 0.05498959869146347, -0.26403746008872986, -0.2944887578487396, -0.2583523988723755, -0.1346404105424881, 0.926612138748169, 0.3107685446739197, 0.18639659881591797, -0.6676055788993835, 0.11645001173019409, 0.20807616412639618, 0.4137590825557709, -0.051572300493717194, -0.6916426420211792, -0.5667625069618225, -0.2074383944272995, -0.6959827542304993, -0.8702983260154724, 0.2136550098657608, -0.023998087272047997, 0.5730976462364197, 0.5485106706619263, 0.01833028718829155, 0.584403932094574, -0.17841199040412903, 0.786853015422821, 0.0031316354870796204, -1.1989352703094482, 0.5087867379188538, -0.09678887575864792, 0.19342491030693054, 0.5792926549911499, 0.03187653794884682, -0.014586934819817543, -1.0919675827026367, -0.4219724237918854, -0.6243728399276733, 0.7540166974067688, 0.510881245136261, -0.08811137825250626, 0.12058531492948532, 0.33234697580337524, 0.01025629322975874, 0.2640736699104309, -0.6506575345993042, -0.17242759466171265, 0.0870671272277832, -0.3198532462120056, -0.2580929398536682, -0.5771936178207397, 0.025107525289058685, 0.12758159637451172, 0.5617862939834595, -0.12111333012580872, -0.2545336186885834, 0.23082000017166138, -0.16157753765583038, -0.3080313801765442, 0.4635159969329834, 0.5793449282646179, 1.0011441707611084, -0.11379117518663406, 0.1780163198709488, 0.12197265774011612, -0.5790147185325623, 0.22010347247123718, 0.18804161250591278, -0.4462090730667114, -0.05734432488679886, 0.7148904800415039, 0.5826120972633362, 0.14117854833602905, -1.0779608488082886, 0.4709073603153229, 0.043358951807022095, -0.16193249821662903, -0.3756520450115204, 0.2320716381072998, -0.12752099335193634, 0.2747577428817749, 0.41285330057144165, 0.17093908786773682, 0.2580253481864929, -0.5788132548332214, -0.03333468362689018, 0.46367040276527405, -0.33428722620010376, -0.3017817735671997, 0.4530514180660248, 0.4837522804737091, -0.551648736000061, 0.4193849265575409, -0.08499088138341904, -0.4478074610233307, 0.8238022327423096, 0.4873140752315521, 0.9579060077667236, -0.2788698077201843, 0.2708476781845093, -0.15114286541938782, 0.5372151136398315, 0.19938135147094727, 0.23240484297275543, -0.11458384245634079, -0.7536991238594055, -0.42655718326568604, -0.7249228954315186, -0.6896523237228394, 0.3506704866886139, -0.5096879601478577, 0.18397752940654755, -0.5006020069122314, -0.3134039044380188, 0.015152732841670513, 0.23735715448856354, -0.661749005317688, 0.02839178964495659, -0.07508033514022827, 0.5878243446350098, -0.6655198931694031, 0.6619272828102112, 0.7921698689460754, -0.41346436738967896, -0.8312385678291321, 0.39401474595069885, 0.03662267327308655, -0.5369908213615417, 0.6776411533355713, 0.18598133325576782, -0.10939358174800873, -0.19704973697662354, -0.2765309512615204, -0.8131812214851379, 0.9709727764129639, 0.34631627798080444, -0.6442769169807434, 0.11620723456144333, 0.2944776117801666, 0.7475398778915405, -0.2205280214548111, 0.39904436469078064, 0.9008566737174988, 0.6357595920562744, -0.2544010579586029, -1.0088331699371338, 0.3506286144256592, -0.31584033370018005, -0.16441330313682556, -0.000046705816203029826, -0.6288262009620667, 0.6048377156257629, -0.33774885535240173, -0.3512927293777466, 0.46383559703826904, 0.2080896496772766, 0.5157225131988525, 0.7194604277610779, 0.2686225175857544, 0.2144256830215454, 0.7580775022506714, 0.03479759767651558, 1.0405654907226562, -0.17795014381408691, 0.12314103543758392, 0.9675192832946777, -0.4299986660480499, 0.9989871978759766, 0.37098145484924316, -0.104814812541008, 0.5610593557357788, 0.294729083776474, -0.19299346208572388, 0.027550555765628815, 0.4131309390068054, -0.18613211810588837, -0.17607271671295166, 0.01549674291163683, 0.2383168637752533, 0.47525960206985474, 0.20555229485034943, -0.35235244035720825, 0.0613870695233345, -0.010392850264906883, -0.10438250005245209, 0.3203035891056061, -0.005521078128367662, 0.524341881275177, 0.00660815229639411, -0.7366734147071838, 0.680499255657196, 0.01718844845890999, 0.38190126419067383, -0.2133491337299347, -0.27886027097702026, -0.4335387647151947, 0.29846829175949097, -0.5016863346099854, -0.9443654417991638, 0.12974072992801666, 0.365261971950531, -0.06238510459661484, -0.23909611999988556, 0.5913227796554565, -0.1735728681087494, -0.49363207817077637, 0.21809431910514832, 0.6061359643936157, 0.3560504615306854, 0.08082159608602524, -0.4247608184814453, 0.2811308205127716, 0.23882372677326202, -0.4282437860965729, 0.09459814429283142, 0.3796774744987488, 0.04828552156686783, 0.6539299488067627, 0.6616629362106323, 0.310855895280838, 0.008572682738304138, 0.0963774248957634, 0.6145579218864441, -0.7155517339706421, -0.09524832665920258, -0.7008287906646729, 0.5391271710395813, 0.09817113727331161, -0.49540817737579346, 1.0076971054077148, 0.543110191822052, 0.7586877346038818, 0.03990296274423599, 0.6677947640419006, 0.22114098072052002, 0.5111530423164368, -0.6490901708602905, 0.7434632182121277, -0.43038931488990784, 0.8374567627906799, -0.26229584217071533, -1.133000135421753, -0.277719110250473, 0.35847142338752747, -0.20579691231250763, -0.008238034322857857, 0.8347465395927429, 0.7114543914794922, 0.3772822320461273, -0.25593942403793335, 0.6594550609588623, 0.5194973349571228, 0.6469911932945251, 0.38954591751098633, 1.2522063255310059, -0.4532054364681244, 0.9101381301879883, -0.19028805196285248, -0.24915535748004913, -0.30288130044937134, -0.5159686207771301, -1.063965916633606, -0.31375589966773987, -0.24048693478107452, -0.3529481589794159, 0.10756928473711014, 0.47664874792099, 0.3626924455165863, -0.665637731552124, -0.26867225766181946, -0.04890170693397522, 0.4926220178604126, 0.0036982563324272633, -0.3046266734600067, 0.36034098267555237, -0.34344482421875, -0.7597774863243103, 0.4528742730617523, 0.18125855922698975, -0.16984711587429047, -0.5124620795249939, -0.14826515316963196, 0.2404496669769287, 0.27206939458847046, 0.5817326307296753, 0.044165998697280884, -1.0202974081039429, -0.4393441379070282, -0.0979779064655304, -0.15126968920230865, -0.2367079257965088, 0.6253219842910767, -0.7036247253417969, 0.43791696429252625, 0.37032628059387207, 0.6156393885612488, 0.25139957666397095, -0.039785996079444885, 0.3219098448753357, -0.5600451231002808, -0.2709899842739105, 0.4958936274051666, 0.22324593365192413, 0.2459806352853775, -0.2950165867805481, 0.3776395618915558, 0.09390125423669815, -0.751226007938385, -1.07774019241333, 0.01789974607527256, -0.7544299364089966, 0.004328614100813866, 1.167699933052063, -0.37555521726608276, 0.07728035002946854, -0.3080365061759949, -0.028534160926938057, -0.16575440764427185, -0.2583201825618744, 1.0720593929290771, 0.8196005821228027, -0.25394171476364136, -0.11868339031934738, -0.3594399094581604, 0.41614004969596863, 0.6163960695266724, -0.9683476686477661, 0.010968625545501709, 0.7803570628166199, 0.3632180392742157, 0.4429611265659332, 0.6389320492744446, 0.019756577908992767, 0.5239454507827759, -0.004488331265747547, 0.03875987231731415, -0.07462214678525925, -0.4082654118537903, -0.5730865597724915, 0.2530391216278076, 0.4198502004146576, 0.11133964359760284 ]
http://arxiv.org/abs/2406.13431v2
http://arxiv.org/pdf/2406.13431v2
Children's Speech Recognition through Discrete Token Enhancement
2024-06-19T10:45:12
2024-06-24T15:31:59
Vrunda N. Sukhadia, Shammur Absar Chowdhury
cs.CL
cs.CL, cs.SD, eess.AS
Children's speech recognition is considered a low-resource task mainly due to the lack of publicly available data. There are several reasons for such data scarcity, including expensive data collection and annotation processes, and data privacy, among others. Transforming speech signals into discrete tokens that do not carry sensitive information but capture both linguistic and acoustic information could be a solution for privacy concerns. In this study, we investigate the integration of discrete speech tokens into children's speech recognition systems as input without significantly degrading the ASR performance. Additionally, we explored single-view and multi-view strategies for creating these discrete labels. Furthermore, we tested the models for generalization capabilities with unseen domain and nativity dataset. Results reveal that the discrete token ASR for children achieves nearly equivalent performance with an approximate 83% reduction in parameters.
[ -0.38222166895866394, -0.09409335255622864, 0.029065847396850586, 0.011438866145908833, -0.5103024244308472, 0.27442750334739685, -0.004107981454581022, -0.6904622316360474, 0.07042475789785385, 0.2408936470746994, -0.5026843547821045, -0.15305618941783905, -0.6178181171417236, -0.17484505474567413, -0.4817078113555908, 0.7205116152763367, 0.22957944869995117, -0.11112870275974274, -0.24562600255012512, 0.06842131167650223, -0.21602559089660645, -0.894692063331604, -0.6018474102020264, -0.16103118658065796, 0.4368240535259247, 0.38675129413604736, 0.24267823994159698, 0.9404126405715942, 0.413176953792572, 0.3008345663547516, -0.35719960927963257, 0.0790802612900734, -0.13303923606872559, -0.09943249821662903, -0.2866508662700653, -0.0789368748664856, -0.5306578874588013, -0.135212242603302, 0.9205751419067383, 0.8092435002326965, 0.10352995246648788, 0.04452652856707573, 0.29212823510169983, 0.4351973533630371, -0.5961211323738098, 0.36414462327957153, -0.44163423776626587, 0.33187416195869446, -0.5361519455909729, 0.22646552324295044, -0.1599077433347702, -0.43829745054244995, 0.3195229768753052, -0.43757113814353943, 0.11043418943881989, -0.25736087560653687, 0.3004699647426605, 0.2191045582294464, -0.27208149433135986, -0.2115526795387268, -1.00649893283844, 0.7732444405555725, -0.5541090369224548, 0.30837011337280273, 0.6064096093177795, 0.04102339968085289, 0.15729257464408875, -0.8653846383094788, -0.5708348155021667, 0.10706734657287598, -0.41681864857673645, -0.21569140255451202, -0.42385101318359375, 0.17629879713058472, 0.36377623677253723, 0.2213374525308609, -0.43992727994918823, 0.10835425555706024, -0.47795674204826355, -0.28753870725631714, 0.49892500042915344, 0.1487516611814499, 0.23658142983913422, -0.07903334498405457, -0.1772274672985077, -0.09333053231239319, -0.17408810555934906, 0.31297293305397034, 0.10155048221349716, 0.8188063502311707, -0.4267562925815582, 0.38233909010887146, -0.24159948527812958, 0.5975281000137329, 0.21795639395713806, -0.26468294858932495, 0.31978747248649597, -0.48778390884399414, -0.04931901395320892, 0.46654456853866577, 0.41920989751815796, -0.1185581386089325, 0.24128678441047668, -0.15254929661750793, -0.21888607740402222, 0.5209293365478516, -0.031068997457623482, -0.836039125919342, -0.051213499158620834, 0.014230706728994846, -0.4909038841724396, -0.290130615234375, 0.12303376197814941, -0.7372269630432129, -0.4028344750404358, -0.3922729194164276, 0.20168021321296692, -0.36175426840782166, -0.20893742144107819, 0.047895126044750214, -0.34690576791763306, 0.10985492169857025, 0.03815930709242821, -1.165773630142212, 0.8068597912788391, 0.6914796233177185, 0.6653638482093811, -0.20968304574489594, 0.06714977324008942, -0.7696542143821716, 0.3439222574234009, -0.15660706162452698, 0.8060044646263123, -0.8325084447860718, -0.82974773645401, -0.24702468514442444, -0.3299003839492798, -0.30331093072891235, -0.6584490537643433, 0.24587519466876984, -0.23033949732780457, 0.09997780621051788, -0.18595771491527557, -0.3512003421783447, 0.18118256330490112, -0.3267832398414612, -0.4885740280151367, 0.5986350178718567, -0.09645450860261917, -0.643710196018219, 0.6320018172264099, -1.0550323724746704, -0.6583991646766663, 0.33577457070350647, -0.36120903491973877, -0.34141805768013, 0.3419410288333893, 0.6343029737472534, 0.017957299947738647, 0.2536918520927429, 0.14525973796844482, 0.07911285758018494, -0.5390305519104004, 0.5135958790779114, -0.9839774966239929, 0.4778871536254883, 0.06752444058656693, -0.476071834564209, -0.16188302636146545, -0.8599067330360413, 0.13137409090995789, -0.34491702914237976, -0.5119773745536804, -0.32124465703964233, 0.06611327081918716, 0.1662081480026245, 0.26728376746177673, 0.2160661518573761, -0.6977933049201965, 0.01361717190593481, -0.5577872395515442, 0.3550492525100708, 0.6267210841178894, 0.016738973557949066, 0.4236879348754883, -0.40019598603248596, 0.3502979874610901, 0.20009741187095642, 0.6741137504577637, 0.07802686840295792, -0.7351598143577576, -0.5729554295539856, -0.7037234306335449, 0.7472001910209656, 0.10894208401441574, -0.6482495665550232, 0.4411145746707916, -0.5347711443901062, 0.07121210545301437, -0.44922247529029846, -0.2914819121360779, 0.7044857144355774, 0.4564344882965088, 0.24790221452713013, -0.8358762264251709, -0.6907711029052734, -0.5915333032608032, 0.10694120079278946, -0.1930941939353943, -0.17938648164272308, 0.6837878227233887, 0.21722540259361267, -0.10473129898309708, 0.987558126449585, -0.014627180062234402, -0.23693044483661652, 0.15171869099140167, -0.0287851020693779, 0.1977795958518982, 0.9093949794769287, 0.30149561166763306, -0.8945032358169556, -0.34218138456344604, 0.060007493942976, -0.3483082354068756, -0.03447200730443001, 0.2818942964076996, 0.39236345887184143, 0.003939226269721985, 0.04943421483039856, -0.18546144664287567, 1.1027830839157104, 0.6578232645988464, -0.480487197637558, 0.12258457392454147, 0.07957135885953903, -0.003993529360741377, -0.4225243330001831, 0.10786799341440201, -0.5634925365447998, -0.2663714587688446, -0.9143986105918884, -0.37424662709236145, -0.08309222012758255, -0.2970655858516693, -0.8187461495399475, 0.5557084083557129, -0.2243168205022812, -0.37198033928871155, -0.3291366994380951, 0.12373187392950058, -0.058123331516981125, 0.2799948453903198, 0.04381178691983223, 0.858820378780365, 0.7037739157676697, -0.5932232737541199, 0.2614295780658722, 0.15687717497348785, 0.07120120525360107, 0.6351438760757446, -0.4189182221889496, 0.5070226788520813, -0.05167610943317413, 0.1358240395784378, -0.7403867840766907, -0.1308612823486328, 0.35019999742507935, -0.7239065766334534, 0.4401061236858368, -0.15095672011375427, -0.5520503520965576, -0.2799485921859741, -0.2474118173122406, 0.679246723651886, 0.4849461019039154, -0.8625932335853577, 0.6282757520675659, 0.501507043838501, -0.2245977818965912, -0.47909367084503174, -0.8556769490242004, 0.15422466397285461, -0.1614789366722107, -0.22264453768730164, 0.6343296766281128, -0.03721624240279198, 0.09649034589529037, 0.505089521408081, -0.3751866817474365, -0.2547961473464966, -0.3346981108188629, 0.3580864667892456, 0.16343121230602264, -0.3501686155796051, 0.14242403209209442, 0.24380703270435333, -0.46338221430778503, -0.27412497997283936, -0.5124248266220093, 0.6311916708946228, 0.012031870894134045, -0.4499965012073517, -0.7725624442100525, 0.4111041724681854, 0.5554733872413635, -0.2931722402572632, 0.4729420244693756, 0.2526877522468567, -0.7968159914016724, -0.1269139051437378, -0.3769502341747284, -0.05696721002459526, -0.5584782361984253, -0.18951283395290375, -0.3308658301830292, -0.736673891544342, 0.4537671208381653, -0.012662816792726517, -0.31305423378944397, 0.09593335539102554, 0.1806427240371704, 0.0321158729493618, 0.8686672449111938, 0.3212023675441742, -0.2626279890537262, 0.6125275492668152, -0.09399545192718506, -0.09759482741355896, -1.0225253105163574, -0.4558580815792084, -0.5734714269638062, -0.5010002851486206, -0.45860549807548523, -0.5493074059486389, 0.11096948385238647, -0.24311472475528717, -0.15134795010089874, 0.06240202859044075, -0.9391972422599792, 0.4611106216907501, 0.9054369330406189, 0.2051178365945816, 0.44819074869155884, 0.13534878194332123, -0.24576275050640106, -0.2071876972913742, -0.7025705575942993, -0.3363802134990692, 0.9562379717826843, 0.16954344511032104, 0.48439016938209534, 0.2096688449382782, 0.7874622344970703, 0.1902604103088379, 0.23011156916618347, -0.7296037077903748, 0.47818270325660706, -0.7997241020202637, -0.5689172148704529, -0.44703409075737, -0.29256853461265564, -0.9662560224533081, 0.24253743886947632, -0.06316360831260681, -1.0602391958236694, 1.0747570991516113, -0.03504650294780731, -0.6208992004394531, 0.14826655387878418, -0.4657137989997864, 0.054298996925354004, -0.2690741717815399, -0.2071009874343872, -0.053941428661346436, -0.3124549090862274, 0.0568164587020874, -0.4676515460014343, 0.22433865070343018, 0.330554723739624, -0.20477141439914703, 0.9018150568008423, -0.6373912692070007, 1.0655410289764404, -0.49122050404548645, 0.4160294234752655, 0.22060640156269073, -0.5022286176681519, 0.2576805055141449, -0.03230062499642372, 0.009175270795822144, 0.14102259278297424, -0.16142138838768005, -0.13413889706134796, -0.5775746703147888, 0.8089079260826111, -0.6556675434112549, -0.18909145891666412, -0.5685661435127258, -0.3405046761035919, -0.3550487160682678, 0.14975126087665558, -0.17330364882946014, 0.7339165806770325, 0.34169405698776245, 0.4091055691242218, 0.5682945251464844, -0.17608721554279327, 0.7080639600753784, 0.39633694291114807, -0.044017158448696136, -0.7576828002929688, 0.8766268491744995, 0.42021557688713074, 0.11576585471630096, 0.04135306552052498, 0.4183068871498108, -0.5427889823913574, -0.5974749326705933, -0.3021915853023529, 0.2263285517692566, -0.4606916010379791, -0.11851877719163895, -0.342534601688385, -0.5467070937156677, -0.44280126690864563, -0.18964658677577972, -0.20780202746391296, -0.7217147946357727, -0.5018390417098999, -0.2851574718952179, 0.3218482732772827, 0.5626770257949829, -0.6135731935501099, 0.5028048753738403, -0.5928229689598083, 0.6233789920806885, 0.8226551413536072, 0.6450816988945007, 0.15555718541145325, -0.5421501994132996, -0.03779099881649017, -0.06516160070896149, 0.15890906751155853, -0.47763073444366455, 0.21279320120811462, 0.31278902292251587, 0.4308966398239136, 0.5623239278793335, -0.04024679958820343, 1.1425625085830688, -0.5455479621887207, 0.756031334400177, 0.17527493834495544, -1.2831367254257202, 0.5413739085197449, -0.24466665089130402, 0.1307602822780609, 0.4323314130306244, -0.3048635721206665, -0.32656076550483704, 0.023623451590538025, -0.6486942172050476, -0.7207683324813843, 1.1140772104263306, 0.3314484655857086, 0.2723366618156433, 0.38198545575141907, 0.1751723289489746, -0.1400667130947113, 0.4440067708492279, -0.2155732810497284, -0.3922024965286255, -0.3562215566635132, -0.1433403342962265, 0.14405831694602966, -0.119610995054245, -0.010337069630622864, -0.6698648929595947, 0.09661511331796646, 0.28515514731407166, 0.31484460830688477, -0.0011355025926604867, 0.5060994029045105, -0.013026769272983074, 0.023558111861348152, 0.4321795403957367, 0.20304960012435913, 0.021137265488505363, 0.17027045786380768, 0.15357990562915802, -0.7995510101318359, 0.19290213286876678, 0.3798820674419403, -0.13260683417320251, 0.16304202377796173, 0.2496616244316101, 0.7135536074638367, 0.2972809970378876, -0.2931770384311676, 0.453857958316803, -0.3440436124801636, -0.20300020277500153, -0.24885739386081696, 0.1488562971353531, 0.05883408710360527, 0.28428417444229126, 0.34664297103881836, -0.11309102922677994, 0.25458425283432007, -0.3781246244907379, 0.45095720887184143, 0.28602367639541626, -0.48925328254699707, -0.20443302392959595, 0.6929121613502502, 0.21830028295516968, -0.6498100757598877, 0.6613346338272095, -0.0007920661591924727, -0.24363961815834045, 0.4950619339942932, 0.8059192895889282, 0.8925445675849915, -0.5785340666770935, 0.28320470452308655, -0.12207675725221634, 0.2635173499584198, 0.34868696331977844, 0.2635135352611542, -0.5183891654014587, -0.5417503714561462, -0.290115624666214, -0.41028428077697754, -0.618303656578064, 0.2399764358997345, -0.6964907050132751, -0.09283699840307236, -0.6287630796432495, -0.40044596791267395, 0.006909752730280161, -0.08169174194335938, -0.6729738712310791, 0.5334054231643677, 0.4090917110443115, 0.34312787652015686, -0.6150949001312256, 0.9110305309295654, 0.3903132379055023, -0.17720583081245422, -0.7722196578979492, -0.029465947300195694, -0.08831014484167099, -0.6002587676048279, 0.6998597979545593, -0.04230444133281708, -0.4342808127403259, 0.029263462871313095, -0.2623281180858612, -1.1435359716415405, 0.6233367323875427, 0.10637801140546799, -0.4898824989795685, 0.008077790029346943, 0.7245922088623047, 0.6808165907859802, -0.3081202805042267, -0.31075605750083923, 0.514448344707489, 0.5837548971176147, 0.2402161955833435, -1.0629730224609375, -0.11408805847167969, -0.29531824588775635, 0.28312161564826965, -0.12432102859020233, -0.3082546293735504, 0.8125129342079163, 0.17324751615524292, -0.4839736521244049, -0.3193783164024353, 0.3129272758960724, 0.3671000897884369, 0.6909951567649841, 0.41485315561294556, 0.12056217342615128, 0.9192055463790894, -0.001481089275330305, 0.7081939578056335, -0.17976540327072144, -0.0007084463723003864, 0.9561412334442139, -0.13006331026554108, 0.7704759240150452, 0.5307822823524475, -0.24748998880386353, 0.2414938360452652, 0.15127265453338623, 0.32516053318977356, 0.8541265726089478, 0.3044828474521637, -0.7318251729011536, 0.22607895731925964, -0.4141998291015625, -0.12002142518758774, 0.5187227725982666, 0.8336915373802185, -0.23517721891403198, 0.17190855741500854, 0.07623594999313354, -0.15819329023361206, 0.0026303399354219437, -0.42733967304229736, 1.0438967943191528, 0.28596729040145874, 0.041930798441171646, 0.5179026126861572, -0.12498179823160172, 0.7976214289665222, -0.364134281873703, -0.07043182104825974, -0.17714689671993256, 0.024553680792450905, -0.4715272784233093, -0.2156454175710678, 0.4280446767807007, 0.41195443272590637, -0.10105492174625397, -0.14012689888477325, 0.8342964053153992, -0.017476286739110947, -0.6347481608390808, 0.13191105425357819, 0.34508782625198364, 0.11642146855592728, 0.1537340134382248, -0.4214896857738495, -0.008246795274317265, -0.12107903510332108, 0.19395971298217773, 0.34944403171539307, 0.39447256922721863, 0.0064744059927761555, 0.4129107892513275, 0.9529726505279541, 0.4745239317417145, 0.26477620005607605, 0.15861955285072327, 1.1113791465759277, -0.48857778310775757, -0.4549102485179901, -0.662295937538147, 0.7383008003234863, -0.10214743763208389, -0.0904863253235817, 0.5251568555831909, 0.5599409937858582, 0.6676790118217468, 0.08285145461559296, 0.9230915307998657, 0.19802677631378174, 0.748119056224823, -0.16615714132785797, 0.7470189332962036, -0.03962742164731026, 0.1780526041984558, -0.4640834629535675, -0.5563945770263672, -0.7043544054031372, 0.7885245084762573, -0.2918194830417633, -0.03775660693645477, 0.49242207407951355, 0.538430392742157, -0.1380213499069214, 0.08808533102273941, 0.42351028323173523, -0.3225787878036499, 0.4159599840641022, 0.4222348928451538, 0.8930602073669434, -0.2052159160375595, 0.4103805124759674, -0.410767525434494, -0.37856870889663696, -0.007203149143606424, -0.46282586455345154, -0.7435550689697266, -0.3271182179450989, -0.38559937477111816, 0.005888863001018763, 0.3368857800960541, 0.4795948565006256, 0.8112013936042786, -0.96626216173172, 0.002326898742467165, -0.023044893518090248, 0.04884929582476616, -0.13635244965553284, -0.17994235455989838, 0.5545945763587952, 0.10908384621143341, -0.9112516045570374, 0.6837449669837952, 0.2753243148326874, 0.16225679218769073, -0.03681639954447746, 0.19684810936450958, 0.3897242844104767, 0.27767452597618103, 0.42051684856414795, 0.3369426131248474, -0.4240987300872803, -0.5420651435852051, -0.18746937811374664, 0.24845831096172333, 0.17640867829322815, 0.632719874382019, -1.0460641384124756, 0.5984691381454468, 0.20665700733661652, 0.4666406512260437, 0.7070357203483582, 0.49417951703071594, 0.10334226489067078, -0.9731606245040894, 0.2390141487121582, 0.541400134563446, -0.029561618342995644, 0.29483920335769653, -0.20907148718833923, 0.10603422671556473, 0.25933516025543213, -0.23832564055919647, -0.9493688941001892, 0.09797573834657669, -0.6083356738090515, 0.11728042364120483, 0.7531672716140747, 0.002842426300048828, 0.05689198523759842, -0.5664992928504944, -0.09377580881118774, 0.11898025125265121, -0.6859588623046875, 0.569707989692688, 0.18710769712924957, -0.41451218724250793, -0.02314515970647335, -0.02975950576364994, 0.4295769929885864, -0.1861891746520996, -0.5874265432357788, -0.06076708808541298, 0.4151560068130493, 0.010142209008336067, 0.25032153725624084, 0.8114582896232605, -0.5245477557182312, 0.16274487972259521, 0.4183543622493744, -0.2456904649734497, -0.03534567728638649, -0.32983455061912537, -0.8354595899581909, 0.27928605675697327, -0.024935517460107803, -0.9039766192436218 ]
http://arxiv.org/abs/2406.13415v1
http://arxiv.org/pdf/2406.13415v1
Factual Confidence of LLMs: on Reliability and Robustness of Current Estimators
2024-06-19T10:11:37
2024-06-19T10:11:37
Matéo Mahaut, Laura Aina, Paula Czarnowska, Momchil Hardalov, Thomas Müller, Lluís Màrquez
cs.CL
cs.CL, cs.LG
Large Language Models (LLMs) tend to be unreliable in the factuality of their answers. To address this problem, NLP researchers have proposed a range of techniques to estimate LLM's confidence over facts. However, due to the lack of a systematic comparison, it is not clear how the different methods compare to one another. To fill this gap, we present a survey and empirical comparison of estimators of factual confidence. We define an experimental framework allowing for fair comparison, covering both fact-verification and question answering. Our experiments across a series of LLMs indicate that trained hidden-state probes provide the most reliable confidence estimates, albeit at the expense of requiring access to weights and training data. We also conduct a deeper assessment of factual confidence by measuring the consistency of model behavior under meaning-preserving variations in the input. We find that the confidence of LLMs is often unstable across semantically equivalent inputs, suggesting that there is much room for improvement of the stability of models' parametric knowledge. Our code is available at (https://github.com/amazon-science/factual-confidence-of-llms).
[ -0.10562676936388016, -0.8634415864944458, 1.1202168464660645, 0.17013919353485107, 0.17174957692623138, 0.19395437836647034, -0.29018956422805786, -0.3945300877094269, -0.04791345074772835, 0.08918645232915878, -0.15208832919597626, -0.61745285987854, -0.8032378554344177, 0.20951001346111298, -0.453419029712677, 0.6462604403495789, 0.15249000489711761, 0.4123907685279846, -0.7534830570220947, -0.1325269490480423, -0.21616604924201965, -0.38118672370910645, -0.5187158584594727, -0.15668290853500366, 0.6658358573913574, 0.0333419032394886, 0.7580063939094543, 0.3863062262535095, 0.5223401784896851, 0.3675823509693146, -0.30016323924064636, 0.21885423362255096, -0.4427603483200073, 0.37333279848098755, -0.2414182424545288, -0.8769375085830688, -0.21185626089572906, 0.19192025065422058, 0.6607890725135803, 0.7091992497444153, -0.3038226068019867, 0.2534002363681793, 0.0072936094366014, 0.32727712392807007, -0.949783444404602, 0.23208940029144287, -0.769976794719696, -0.09793713688850403, 0.08030406385660172, -0.028307799249887466, -0.5522176623344421, -0.779376208782196, 0.07745426893234253, -0.2924381196498871, 0.18217860162258148, 0.18933914601802826, 0.8682582378387451, 0.49623677134513855, -0.49310535192489624, -0.3261820375919342, -0.8468572497367859, 0.9135169386863708, -0.9078454971313477, 0.5123617053031921, 0.5024871230125427, 0.08767911046743393, -0.14793485403060913, -0.6231448650360107, -0.6356234550476074, -0.7877706289291382, -0.08280155807733536, 0.17388024926185608, 0.004153909161686897, 0.007759994361549616, 0.3542088270187378, 0.4524576663970947, -0.5163023471832275, 0.2218812257051468, -0.0635363832116127, -0.39671632647514343, 0.40490737557411194, -0.09905435144901276, 0.14800457656383514, -0.14439524710178375, -0.43408262729644775, 0.03845919296145439, -0.7806660532951355, 0.014657915569841862, 0.3375810384750366, 0.033136311918497086, 0.0245660450309515, 0.8895749449729919, -0.20195862650871277, 0.39833056926727295, -0.010347822681069374, -0.6082741618156433, 0.07010262459516525, -0.26575109362602234, -0.17132706940174103, -0.07162338495254517, 0.6434453725814819, 0.2984907925128937, -0.01240015309303999, -0.2833884060382843, -0.3435238003730774, 0.24797967076301575, 0.07487785071134567, -0.46425217390060425, 0.048592064529657364, 0.4047454297542572, -0.20795132219791412, -0.272978276014328, 0.10916811972856522, -0.398181289434433, -0.43506914377212524, -0.06326934695243835, 0.41610682010650635, -0.244105726480484, -0.10864768922328949, 0.050333794206380844, -0.0682191252708435, 0.4042413830757141, 0.30052319169044495, -0.48508062958717346, 0.3193618059158325, 0.760032594203949, 0.745402455329895, -0.28804442286491394, -0.11339238286018372, -0.4998930096626282, -0.15189875662326813, -0.5973503589630127, 0.580869734287262, -0.22306106984615326, -0.1930307298898697, 0.14664767682552338, -0.006643311586230993, -0.13329771161079407, -0.4354722499847412, 0.892522931098938, -0.710064172744751, 0.29358044266700745, -0.5777979493141174, -0.8074244856834412, -0.00207313010469079, 0.7596480846405029, -0.6424837708473206, 1.1342535018920898, -0.3184516429901123, -1.0374256372451782, 0.3297936022281647, -0.13293790817260742, -0.015927007421851158, -0.229090616106987, -0.269388347864151, -0.4044656455516815, 0.1823350489139557, -0.044302184134721756, 0.4587404131889343, -0.2548506259918213, 0.3539673089981079, -0.7415594458580017, -0.4166356921195984, 1.02236807346344, -0.8940660357475281, 0.7449299693107605, 0.007906636223196983, -0.24124285578727722, -0.3090398609638214, -0.8030206561088562, -0.11091102659702301, 0.08121136575937271, -0.568407416343689, -0.1317741572856903, 0.20457696914672852, -0.3978888988494873, 0.06344635039567947, 0.3430464565753937, -0.8833223581314087, -0.1303599625825882, -0.3930129110813141, 0.003028108738362789, 0.6247179508209229, -0.07911909371614456, 0.19585441052913666, -0.5398746132850647, 0.3789839446544647, -0.2423781454563141, -0.11526110023260117, 0.19018246233463287, -0.40556925535202026, -0.8328438997268677, -0.2953968644142151, 0.7559243440628052, 0.664029061794281, -0.4865504205226898, 0.41276243329048157, -0.4020729660987854, -0.4074819087982178, -0.22951948642730713, -0.026981836184859276, 0.44675973057746887, 0.7117907404899597, 0.1686803698539734, 0.05109012871980667, -0.36255303025245667, -0.7283914089202881, -0.16975383460521698, -0.5150221586227417, -0.14206747710704803, 0.06868698447942734, 0.5283769965171814, 0.008505471982061863, 0.8027079701423645, -0.3604077696800232, 0.31683748960494995, 0.012640373781323433, 0.10180403292179108, -0.002661443315446377, 0.1880761682987213, 0.4942319989204407, -0.680633544921875, -0.19500768184661865, -0.335304319858551, -0.9578611850738525, 0.23324280977249146, 0.26017171144485474, 0.16557708382606506, 0.45307353138923645, 0.30779609084129333, -0.9464969635009766, 0.45317429304122925, 0.753887414932251, -0.09034033119678497, 0.6758541464805603, -0.056239981204271317, 0.24355089664459229, -0.7886108756065369, 0.15287744998931885, 0.03410032391548157, -0.5096347332000732, -0.3413689136505127, 0.06032184511423111, 0.006409912370145321, 0.32172587513923645, -0.4539549648761749, 0.3671445846557617, -0.42295724153518677, -0.10335176438093185, -0.22313857078552246, 0.3081395924091339, 0.010296730324625969, 0.1835782825946808, -0.02807188592851162, 0.7982776761054993, 0.4932931661605835, -0.525188148021698, 0.456066757440567, 0.18370351195335388, -0.5663138628005981, 0.40210944414138794, -0.6821398138999939, 0.10136229544878006, 0.007134333252906799, 0.204916313290596, -1.0928469896316528, -0.1934867650270462, 0.24444009363651276, -0.5999493598937988, 0.4246865510940552, -0.23661036789417267, -0.5891490578651428, -0.17756621539592743, -0.36884447932243347, -0.16173429787158966, 0.6207510232925415, -0.4717642664909363, 0.4661177396774292, 0.3341415226459503, -0.4998999238014221, -1.0197842121124268, -0.8623565435409546, 0.2337057888507843, -0.041208814829587936, -0.420266330242157, -0.12494723498821259, -0.18928129971027374, -0.6141135096549988, 0.11109629273414612, -0.38846248388290405, -0.1893775910139084, 0.1988963633775711, 0.15131789445877075, 0.3707195520401001, -0.3255206048488617, 0.2974591553211212, -0.06415115296840668, 0.1120595782995224, 0.4310682713985443, -0.06060081720352173, 0.23243920505046844, -0.3233078718185425, -0.7601675987243652, -0.25966373085975647, -0.06841620057821274, 0.48129114508628845, 0.005845050793141127, 1.023747205734253, 0.3067023754119873, -0.2508741617202759, -0.00610309699550271, -0.8765092492103577, -0.16217046976089478, -0.4346446990966797, 0.22103194892406464, -0.11865242570638657, -0.9770289659500122, 0.37622398138046265, -0.07271719723939896, 0.15437661111354828, 0.2334074079990387, 0.6105368733406067, -0.42164960503578186, 0.8267664313316345, 0.6052374243736267, 0.1512448936700821, -0.1551133096218109, 0.1379171758890152, 0.06420136243104935, -0.35265710949897766, -0.21434271335601807, -0.7022566795349121, 0.020892584696412086, -0.6396421194076538, -0.36935245990753174, 0.22142189741134644, -0.19541463255882263, -0.12962706387043, -0.22110584378242493, 0.03147473931312561, 0.3802573084831238, 0.42080724239349365, 0.13435032963752747, 0.33687809109687805, -0.12880770862102509, -0.08106141537427902, -0.10565394163131714, -0.6795828342437744, -0.8245363235473633, 1.034602165222168, 0.5139594674110413, 0.8724590539932251, 0.3226959705352783, 0.45093217492103577, 0.15202318131923676, 0.2578031122684479, -0.892655611038208, 0.5433461666107178, 0.14970433712005615, -0.7980945110321045, -0.3873075544834137, -0.5391940474510193, -0.6474007368087769, 0.08190630376338959, -0.5892829895019531, -0.5732271075248718, 0.23792505264282227, 0.3200347125530243, -0.2417912781238556, 0.39097142219543457, -0.3148634433746338, 0.3854319453239441, -0.33416223526000977, -0.4043330252170563, 0.11058881878852844, -0.7732799649238586, 0.554778516292572, -0.1064869835972786, -0.038506973534822464, -0.3610721528530121, -0.13909882307052612, 0.5532562136650085, -0.26105377078056335, 0.8973298668861389, -0.008440397679805756, -0.273755818605423, 0.34455952048301697, -0.024363454431295395, 0.5597483515739441, 0.3225930631160736, -0.3343612551689148, 0.1518445461988449, 0.21023912727832794, -0.5831109881401062, -0.7481950521469116, 0.5818224549293518, -0.5656114816665649, -0.6498360633850098, -0.7766664624214172, -0.5296128988265991, -0.5396499037742615, 0.09527537971735, 0.17778529226779938, 0.4011884331703186, -0.40504640340805054, 0.5737279057502747, 1.2415649890899658, -0.09180203080177307, 0.3872138261795044, 0.535615861415863, -0.06399993598461151, -0.1363818645477295, 0.3679523468017578, 0.13239406049251556, 0.4518970847129822, 0.60642009973526, 0.23497731983661652, -0.5373643040657043, -0.5742390751838684, -0.2005232870578766, 0.22240546345710754, -0.7959635257720947, -0.23146826028823853, -0.4261569082736969, -0.3464415669441223, -0.37996962666511536, 0.23261158168315887, -0.6305047273635864, -0.43595126271247864, -0.013624032028019428, -0.49437379837036133, 0.2986619770526886, 0.6444712281227112, -0.015228744596242905, -0.08262317627668381, -0.5711047649383545, 0.20701344311237335, 0.45521289110183716, 0.1513589322566986, -0.3675941228866577, -0.5168223977088928, -0.04561201110482216, 0.1954101175069809, 0.11073652654886246, -0.8509066700935364, 0.07667278498411179, -0.045801300555467606, 0.7094928026199341, 0.3669807016849518, 0.30728861689567566, 0.1869417279958725, -0.31771203875541687, 0.7916803359985352, 0.0838659480214119, -0.7397514581680298, 0.09930688142776489, -0.16287943720817566, -0.042843423783779144, 0.6695536375045776, 0.6491946578025818, -0.22329512238502502, -0.5954645276069641, -0.49554407596588135, -0.43315306305885315, 0.18835145235061646, 0.10083580017089844, 0.0952104777097702, 0.07371184974908829, 0.4200453758239746, 0.07955573499202728, 0.35950106382369995, -0.7783051133155823, -0.38102981448173523, -0.11103300750255585, -0.27928709983825684, 0.008103619329631329, -0.6547451615333557, -0.5950977206230164, 0.1401115506887436, 0.6277414560317993, -0.1424594521522522, 0.29891857504844666, 0.2510450482368469, -0.1253051608800888, 0.24878938496112823, 0.4732794165611267, 0.5619909167289734, 1.0428279638290405, -0.404687762260437, 0.5929221510887146, 0.5856217741966248, -0.47234657406806946, 0.26460376381874084, -0.03785485029220581, -0.41574570536613464, 0.200274258852005, 0.4565565884113312, 0.534601628780365, 0.3160073459148407, -0.619728684425354, 0.7922170758247375, -0.33661380410194397, -0.2491624653339386, -0.5300301909446716, 0.06966154277324677, 0.3031517565250397, 0.08952955901622772, 0.15580277144908905, 0.24311555922031403, 0.0032602623105049133, -0.5356932878494263, 0.010856227949261665, 0.5792545080184937, -0.35757479071617126, -0.2051268219947815, 0.4391442537307739, 0.0656837746500969, 0.011784273199737072, 0.5044390559196472, -0.3074789345264435, -0.3646722733974457, 0.362002432346344, 0.5437971949577332, 0.6355464458465576, 0.06087585538625717, 0.24222064018249512, 0.10875578224658966, 0.5454183220863342, -0.3923496901988983, 0.31419751048088074, 0.2596435844898224, -0.9794321060180664, -0.6328975558280945, -0.5716554522514343, -0.7505592107772827, 0.1282479166984558, -0.6355836987495422, -0.03880045562982559, -0.42105865478515625, -0.2754923403263092, -0.4972522258758545, 0.21411952376365662, -0.47700291872024536, 0.286371648311615, 0.22277256846427917, 1.02631676197052, -0.8927269577980042, 0.7008800506591797, 0.63653963804245, -0.25966876745224, -0.8878415822982788, 0.2965359687805176, 0.014907711185514927, -0.7108505964279175, 0.28786125779151917, -0.056181423366069794, -0.5031224489212036, -0.2958945035934448, -0.9853943586349487, -1.056532382965088, 1.1202421188354492, 0.7168059945106506, -0.44839218258857727, 0.1290079802274704, -0.03900032117962837, 0.47134819626808167, 0.02742352895438671, 0.19969217479228973, 0.4098515212535858, 0.5044212937355042, 0.3108426332473755, -0.7749967575073242, 0.039504703134298325, 0.0671474039554596, -0.11652533710002899, -0.3497554063796997, -0.43013519048690796, 0.5679366588592529, -0.15370075404644012, -0.32038769125938416, 0.3756554126739502, 0.9075518250465393, 0.6479796767234802, 0.4362410604953766, 0.46547648310661316, 0.4881223142147064, 1.169389247894287, -0.2678832411766052, 1.069982886314392, -0.45415160059928894, 0.44898122549057007, 1.0219630002975464, -0.37331831455230713, 0.9614903330802917, 0.2971145510673523, -0.3476867377758026, 0.46373051404953003, 0.4442213177680969, -0.0007396784494630992, 0.11085809767246246, -0.047453079372644424, -0.3067432641983032, -0.2718369662761688, 0.0032442286610603333, -0.11265413463115692, 0.38989266753196716, 0.14189213514328003, -0.03531812131404877, 0.08010968565940857, -0.36720725893974304, 0.4001743793487549, 0.09399886429309845, -0.14580470323562622, 0.3976370096206665, 0.27645057439804077, -0.4785428047180176, 0.42177125811576843, 0.02609149180352688, 0.7239267230033875, -0.6944413781166077, 0.21465767920017242, -0.25351235270500183, -0.07229434698820114, -0.1399543434381485, -0.8101204633712769, 0.07530507445335388, 0.0916627049446106, -0.15610340237617493, 0.08158892393112183, 0.8252453804016113, -0.26791125535964966, -0.5831623077392578, -0.10464460402727127, 0.7962468266487122, 0.13628828525543213, 0.187818244099617, -0.5697256922721863, 0.12872789800167084, -0.3607161343097687, -0.33057358860969543, 0.11183031648397446, 0.24670766294002533, 0.2530503571033478, 0.9158444404602051, 0.5809226632118225, 0.3106459677219391, 0.35767078399658203, -0.2673940658569336, 0.4762309789657593, -0.46528634428977966, -0.009370005689561367, -0.7209905385971069, 0.33478644490242004, -0.12365492433309555, -0.1689937710762024, 1.1935944557189941, 0.45527613162994385, 0.6881847977638245, -0.018817590549588203, 0.8407130837440491, 0.029150133952498436, 0.6991798281669617, -0.8096215128898621, 0.7370768785476685, -0.26507896184921265, 0.3315381407737732, 0.008530912920832634, -0.880591630935669, -0.30628201365470886, 0.582176148891449, -0.23353272676467896, 0.12159202992916107, 0.7662458419799805, 0.8410086631774902, 0.002656389493495226, -0.14330355823040009, 0.46569231152534485, 0.5293467044830322, 0.002131028100848198, -0.04655459150671959, 1.3000017404556274, -0.13913220167160034, 0.3941848576068878, -0.24617931246757507, -0.008957495912909508, -0.029569268226623535, -1.042008638381958, -0.6351928114891052, -0.2817789316177368, -0.3202451169490814, -0.4221532642841339, 0.16383744776248932, 0.7405567169189453, 0.543426513671875, -0.7346251606941223, -0.12567968666553497, 0.16438251733779907, 0.2758852243423462, -0.0035829173866659403, -0.16696327924728394, 0.32724788784980774, -0.2657378315925598, -0.7793934345245361, 0.5608307719230652, 0.16202092170715332, 0.0022058652248233557, -0.4045881927013397, 0.012553522363305092, -0.13954535126686096, 0.4714246988296509, 0.42312464118003845, 0.3819485902786255, -0.7789998650550842, -0.5357578992843628, 0.17569294571876526, -0.40394127368927, -0.02545510232448578, 0.3833676874637604, -0.5932367444038391, 0.07954507321119308, 0.4988332688808441, 0.7711518406867981, 0.2521747350692749, 0.14431880414485931, 0.43104997277259827, -0.6666175723075867, -0.1253877729177475, 0.27431678771972656, 0.4714435935020447, 0.6109638810157776, -0.20308507978916168, 0.3531075716018677, 0.1750035285949707, -0.7921726107597351, -1.0611858367919922, 0.2485463172197342, -1.0449086427688599, -0.16282154619693756, 1.2135857343673706, -0.4167773723602295, -0.1801895946264267, -0.10936925560235977, 0.15389913320541382, 0.11386009305715561, -0.12576277554035187, 0.746858537197113, 0.7096900939941406, -0.06474670022726059, 0.06349603086709976, -0.604996383190155, 0.42356541752815247, 0.3128281831741333, -0.5946025252342224, -0.2029276043176651, 0.39641937613487244, 0.6744866371154785, 0.31928586959838867, 0.47986534237861633, 0.016719896346330643, 0.035455796867609024, 0.0656999871134758, -0.010334962047636509, 0.24228917062282562, -0.31160879135131836, -0.3249725103378296, 0.2087244689464569, 0.47311076521873474, -0.07901962846517563 ]
http://arxiv.org/abs/2406.13408v1
http://arxiv.org/pdf/2406.13408v1
SQLFixAgent: Towards Semantic-Accurate SQL Generation via Multi-Agent Collaboration
2024-06-19T09:57:19
2024-06-19T09:57:19
Jipeng Cen, Jiaxin Liu, Zhixu Li, Jingjing Wang
cs.CL
cs.CL
While fine-tuned large language models (LLMs) excel in generating grammatically valid SQL in Text-to-SQL parsing, they often struggle to ensure semantic accuracy in queries, leading to user confusion and diminished system usability. To tackle this challenge, we introduce SQLFixAgent, an innovative multi-agent collaborative framework designed for detecting and repairing erroneous SQL. Our framework comprises a core agent, SQLRefiner, alongside two auxiliary agents: SQLReviewer and QueryCrafter. The SQLReviewer agent employs the rubber duck debugging method to identify potential semantic mismatches between SQL statement and user query. If the error is detected, the QueryCrafter agent generates multiple SQL statements as candidate repairs using a fine-tuned SQLTool. Subsequently, leveraging similar repair retrieval and failure memory reflexion, the SQLRefiner agent selects the most fitting SQL statement from the candidates as the final repair. We evaluated our proposed framework on five Text-to-SQL benchmarks. The experimental results show that our method consistently enhances the performance of the baseline model, specifically achieving an execution accuracy improvement of over 3\% on the Bird benchmark. Our framework also has a higher token efficiency compared to other advanced methods, making it more competitive.
[ 0.032416149973869324, -0.79847252368927, 0.6591236591339111, 0.11251591145992279, 0.020844988524913788, 0.28614407777786255, -0.0655812919139862, -0.3765159249305725, 0.15488426387310028, 0.7845150232315063, -0.690091609954834, -0.4312056601047516, -0.21320398151874542, 0.19755609333515167, -0.5220703482627869, 0.9078710079193115, 0.29843974113464355, 0.04141148924827576, -0.3704679608345032, -0.3369237184524536, -0.6570411324501038, -0.3236093819141388, -0.6206945180892944, -0.26078417897224426, 0.2727365493774414, 0.3553325831890106, 1.032486915588379, 0.6075230240821838, 0.23822158575057983, 0.48699867725372314, 0.19535313546657562, 0.640164315700531, -0.725412905216217, 0.32024067640304565, -0.5584774017333984, -0.5062552690505981, -0.610192596912384, -0.3524242341518402, 0.2768447995185852, 0.5142076015472412, -0.5547009110450745, -0.28509461879730225, 0.044957660138607025, 0.7203748822212219, -0.5247657299041748, -0.03629547730088234, -1.1483591794967651, -0.10606744885444641, 0.03196627274155617, 0.11301665753126144, -0.5496558547019958, -0.30753302574157715, -0.2388487309217453, -0.5245481133460999, 0.6099523901939392, 0.25655397772789, 0.6157023906707764, 0.42811697721481323, -0.4750835597515106, 0.08785580098628998, -0.5487634539604187, 0.8786273002624512, -0.7035528421401978, 0.29304030537605286, 0.07119514048099518, 0.39868924021720886, -0.817380964756012, -0.770628809928894, -0.7037516236305237, -0.015660520642995834, -0.25446921586990356, -0.1318269670009613, -0.05113828182220459, 0.12886466085910797, -0.016793714836239815, 0.07342555373907089, -0.5600681900978088, -0.26416000723838806, 0.20596137642860413, -0.3819957375526428, 0.8273356556892395, 0.4708392918109894, 0.31798556447029114, 0.23408615589141846, -0.36708641052246094, 0.07141677290201187, -0.579693615436554, -0.5072829723358154, 0.08549891412258148, 0.5686719417572021, 0.3727223575115204, 0.57664555311203, -0.05137424170970917, 0.7836896777153015, -0.12254481762647629, 0.08233248442411423, 0.08512576669454575, -0.6849278807640076, -0.17894858121871948, 0.35494759678840637, 0.6238226294517517, 0.2337692528963089, 0.19487164914608002, -0.4676102101802826, -0.3993678390979767, 0.1589583456516266, 0.4457390606403351, -0.47760793566703796, -0.14065192639827728, 0.6618720889091492, -0.1206040009856224, -0.26048052310943604, 0.05527210235595703, -0.3565216064453125, -0.7367858290672302, -0.28155916929244995, 0.34549254179000854, -0.6439799070358276, -0.5904260277748108, 0.16164188086986542, -0.2134949117898941, 0.04011542722582817, 0.5490634441375732, -0.42636561393737793, 0.22343555092811584, 0.8174808621406555, 0.5316912531852722, -0.14955593645572662, -0.6701233386993408, -0.7277879118919373, 0.6009951829910278, -0.4346862733364105, 1.1242074966430664, -0.4017346501350403, -0.33698827028274536, -0.11334686726331711, 0.07891354709863663, -0.2809986174106598, -0.5160747170448303, 0.23954492807388306, -0.27233022451400757, -0.006069977302104235, -0.2134515345096588, -0.656521737575531, 0.3016893267631531, 0.28966009616851807, -0.7531432509422302, 0.9633658528327942, 0.27864331007003784, -0.42842212319374084, 0.5665845274925232, -0.3603152930736542, -0.13806864619255066, 0.1302834153175354, -0.26052844524383545, -0.6296088099479675, 0.10389091074466705, -0.023587465286254883, 0.2915228009223938, -0.42316311597824097, 0.30912095308303833, -0.30338314175605774, -0.5514218807220459, 0.2060438096523285, 0.10823874920606613, 0.4849550426006317, 0.09017297625541687, -0.437028169631958, 0.22695064544677734, -1.0181084871292114, 0.31897425651550293, 0.2717455327510834, -0.19415944814682007, -0.1750084012746811, 0.1782439947128296, 0.1345631331205368, 0.09393913298845291, -0.047927312552928925, -0.7144752740859985, -0.19690538942813873, -0.7091171145439148, 0.30186551809310913, 0.7456786036491394, -0.12887777388095856, 0.21087777614593506, -0.5447450280189514, 0.12556324899196625, 0.18823319673538208, 0.007141396403312683, -0.20143432915210724, -0.10410165786743164, -0.8298569917678833, -0.37738534808158875, 0.005169472191482782, 0.47721999883651733, -0.7267114520072937, 0.4768187701702118, -0.2530490458011627, -0.6062744855880737, -0.2885816693305969, 0.1433601677417755, 0.34832122921943665, 0.36148712038993835, 0.38779962062835693, 0.0555989034473896, -0.29126930236816406, -0.6666243076324463, -0.7556058764457703, -0.3299610912799835, 0.30328330397605896, 0.2482963353395462, 0.30938228964805603, -0.3362155258655548, 1.0902446508407593, -0.45787882804870605, -0.6388477683067322, -0.11551099270582199, -0.02437841333448887, 0.12507611513137817, 0.48879504203796387, 0.505825936794281, -0.5785214304924011, -0.5110546350479126, 0.1975594460964203, -0.49649152159690857, 0.12341897189617157, -0.059433914721012115, -0.30507367849349976, 0.7727813720703125, 0.3433966636657715, -0.6393470168113708, 0.2601964771747589, 0.060508303344249725, -0.7857583165168762, 0.5394779443740845, -0.17750833928585052, 0.2790429890155792, -1.1742602586746216, -0.12798051536083221, -0.4320959150791168, -0.38567987084388733, -0.5675063133239746, -0.08379428833723068, -0.16798625886440277, -0.15830202400684357, -0.46193015575408936, 0.17798331379890442, -0.4149947762489319, 0.1785862296819687, -0.1981911063194275, 0.026593375951051712, 0.1906636357307434, 0.06688522547483444, -0.05409287288784981, 0.8955963253974915, 0.009234188124537468, -0.20691969990730286, 0.5939613580703735, 0.40095147490501404, 0.13495221734046936, 0.8521685004234314, -0.7409057021141052, 0.3208208680152893, -0.11753735691308975, 0.0906660333275795, -1.3183189630508423, -0.3626365065574646, -0.16935670375823975, -0.46600231528282166, 0.016377951949834824, -0.13361315429210663, -0.6190672516822815, 0.09133603423833847, -0.19945426285266876, 0.009147876873612404, -0.030886858701705933, -0.6238160729408264, 1.0022239685058594, 0.16246455907821655, -0.01857323758304119, -0.7351981997489929, -0.7514142990112305, 0.19445718824863434, 0.09908709675073624, -1.0891468524932861, 0.35504841804504395, 0.35617193579673767, -0.28709182143211365, 0.19941270351409912, 0.01526126079261303, -0.2935171127319336, 0.006096543278545141, -0.005346577148884535, 0.2870895266532898, -0.32024839520454407, 0.49490752816200256, 0.09501741081476212, -0.08446472883224487, -0.01996499113738537, -0.2066490650177002, 0.40962016582489014, -0.2400583177804947, -0.4418083727359772, 0.17302589118480682, 0.558888852596283, 0.511975884437561, -0.3832608759403229, 0.9948999285697937, 0.5972089171409607, -0.3750686049461365, -0.4770403504371643, -0.7727701663970947, -0.3535296618938446, -0.4549676775932312, 0.3843453526496887, -0.2883854806423187, -0.7639589309692383, 0.2772848308086395, -0.143429234623909, 0.07121185958385468, 0.45193755626678467, 0.26748979091644287, 0.2594110369682312, 1.3736494779586792, 0.6984612941741943, 0.388526052236557, 0.029211116954684258, 0.12454808503389359, 0.14029909670352936, 0.05695229023694992, -0.24437345564365387, -0.7611325979232788, 0.27241256833076477, -0.26154565811157227, -0.2555672526359558, 0.3073023557662964, -0.25390490889549255, -0.39474648237228394, 0.42040756344795227, -0.6129465699195862, 0.6884117126464844, 0.14051517844200134, 0.0778181180357933, 0.3884332478046417, 0.26217737793922424, -0.33266744017601013, -0.009060653857886791, -0.6158313751220703, -0.4501229226589203, 0.7047924995422363, -0.14795449376106262, 0.7405636310577393, 0.5357901453971863, 0.8615573644638062, 0.37221717834472656, -0.1238449439406395, -0.4647257924079895, 0.5439982414245605, -0.041578978300094604, -0.4492221474647522, -0.29646188020706177, -0.38459378480911255, -0.9193560481071472, 0.3680048882961273, -0.5771057605743408, -0.4520861804485321, 0.06125675141811371, 0.2497052550315857, -0.16139541566371918, 0.12369322031736374, -0.9340010285377502, 0.9783948659896851, -0.05047435685992241, -0.9694046974182129, -0.46164435148239136, -0.6037752628326416, 0.11847339570522308, -0.2988155782222748, 0.030790219083428383, -0.15522126853466034, -0.21647916734218597, 0.14155569672584534, -1.1461241245269775, 0.7256880402565002, -0.28998494148254395, -0.023399723693728447, 0.2455155849456787, 0.22925229370594025, 0.6802524924278259, -0.03511113300919533, -0.31138044595718384, -0.08231736719608307, 0.2984846234321594, -0.5101308226585388, -0.5022760033607483, 0.704314649105072, -0.6599789261817932, -0.35307884216308594, -0.5822570323944092, -0.5496746301651001, -0.32061684131622314, 0.3386102616786957, -0.23186668753623962, 0.31620925664901733, -0.4089653193950653, -0.1049373522400856, 0.46478891372680664, -0.08667276054620743, 0.23820072412490845, 0.6607303619384766, 0.008789422921836376, -0.3771079480648041, 0.966583251953125, -0.18177002668380737, 0.057372093200683594, 0.18514937162399292, -0.07580108940601349, -0.33217737078666687, -0.3262416124343872, -0.45431455969810486, 0.4886740744113922, -0.49156901240348816, -0.46336695551872253, -0.7096172571182251, -0.0011769593693315983, -0.4198293387889862, -0.17160600423812866, -0.5691048502922058, -0.375116765499115, -0.19276635348796844, 0.22163274884223938, 0.4535694122314453, 0.6874661445617676, 0.19254818558692932, 0.2964513301849365, -1.1712336540222168, -0.3406519293785095, 0.09453251957893372, 0.26641926169395447, -0.27657145261764526, 0.12466443330049515, -0.0425371415913105, 0.034978628158569336, -0.2317422479391098, -0.735350489616394, 0.22248750925064087, 0.5633351802825928, 0.6370173692703247, -0.11045844852924347, 0.14886413514614105, 0.6957557797431946, -0.5641385912895203, 0.8426178097724915, 0.29114827513694763, -0.9762429594993591, 0.8088467717170715, -0.24436217546463013, 0.07357186824083328, 0.7052398920059204, -0.10577671229839325, -0.18785463273525238, -0.6292485594749451, -0.4985596835613251, -0.8637668490409851, 0.8317654728889465, 0.2468748539686203, -0.06463029235601425, -0.20762471854686737, 0.38149991631507874, 0.15867732465267181, 0.08519963920116425, -0.17645257711410522, -0.0014151798095554113, -0.2568885385990143, -0.3309948742389679, -0.017918797209858894, -0.13329744338989258, -0.04660549759864807, 0.16856926679611206, 0.8012755513191223, -0.598819375038147, 0.19621101021766663, 0.2595733404159546, -0.29226699471473694, -0.17707189917564392, 0.367887943983078, 0.36581820249557495, 0.9163585305213928, -0.12147919833660126, 0.016289837658405304, 0.23145878314971924, -0.4015505015850067, 0.2330905795097351, 0.30579710006713867, 0.47940951585769653, 0.0733986347913742, 0.36465832591056824, 0.22358106076717377, -0.24669760465621948, -0.9651898741722107, 0.7295781970024109, -0.4235392212867737, 0.043119367212057114, -0.49714040756225586, 0.31990697979927063, 0.1338311731815338, 0.18639038503170013, 0.15003645420074463, 0.22357691824436188, 0.23039740324020386, -0.22157302498817444, 0.4522053003311157, 0.4895009696483612, -0.5582672357559204, -0.03959294781088829, 0.736646831035614, 0.29637181758880615, -0.11764509975910187, 0.8360798358917236, 0.09775563329458237, -0.23182159662246704, 0.5616260766983032, 0.6026655435562134, 0.7122288942337036, -0.3263319730758667, 0.23845340311527252, 0.2273326963186264, 0.15614137053489685, -0.011687999591231346, 0.4580494463443756, 0.11174863576889038, -0.9855735301971436, -0.46577322483062744, -0.4590379297733307, -0.35292693972587585, -0.42910993099212646, -0.2996147572994232, 0.41423821449279785, -0.2330777794122696, -0.23582519590854645, 0.2767438292503357, -0.10733062773942947, -0.12982210516929626, 0.004578441847115755, -0.5123838186264038, 0.8899940848350525, -0.709627628326416, 0.731514036655426, 0.9743017554283142, -0.46879589557647705, -0.8035921454429626, -0.2694876194000244, 0.26961448788642883, -0.6725910902023315, 0.3310195207595825, 0.14613847434520721, -0.3898386061191559, 0.059646159410476685, -0.5082297325134277, -0.44649457931518555, 1.0883032083511353, 0.6887289881706238, -0.4419001340866089, 0.16568779945373535, 0.6536102294921875, 0.49031490087509155, -0.37118658423423767, 0.3887387216091156, 0.6746048927307129, 0.23207268118858337, 0.22401534020900726, -0.7997241616249084, 0.2957342267036438, -0.1696540266275406, 0.07156296819448471, 0.5924463868141174, -0.6909213662147522, 0.6549248695373535, -0.3591964840888977, -0.009984403848648071, 0.21083815395832062, 0.46695414185523987, 0.48343169689178467, 0.18956591188907623, 0.7878754734992981, 0.49652954936027527, 0.7081200480461121, -0.18357093632221222, 0.8552290797233582, -0.19447100162506104, 0.30015039443969727, 1.0560555458068848, -0.7355882525444031, 0.6911197900772095, 0.49261558055877686, -0.13535134494304657, 0.47584787011146545, 0.08766620606184006, 0.1155579537153244, 0.1922038048505783, -0.002973956987261772, -0.46618878841400146, -0.6480257511138916, -0.44956085085868835, -0.22293435037136078, 0.4609442949295044, 0.28913089632987976, -0.3398573696613312, -0.5256530046463013, -0.3432687222957611, 0.07109122723340988, 0.5156809091567993, 0.04858596995472908, 0.9461755752563477, -0.15417884290218353, -0.668512225151062, 0.6060871481895447, -0.1041465774178505, 0.1713215410709381, -0.5793954133987427, -0.42473894357681274, -0.1821015328168869, 0.8342446088790894, -0.48819053173065186, -0.6488631367683411, 0.6372828483581543, -0.3634074926376343, -0.12193461507558823, 0.12792371213436127, 1.2201215028762817, -0.5275959968566895, -0.1976422220468521, 0.43041127920150757, 0.6397284269332886, -0.052351657301187515, -0.27371469140052795, -0.8604953289031982, 0.10974960774183273, -0.01308495830744505, 0.23117786645889282, 0.1677871197462082, 0.4130314290523529, 0.06461156904697418, 0.39120250940322876, 0.6426318883895874, -0.0648799017071724, -0.0745968148112297, 0.05327910929918289, 0.9224844574928284, -0.5499971508979797, -0.2506864070892334, -0.8372699618339539, 0.5276486277580261, -0.491032212972641, 0.04047190025448799, 0.4796661138534546, 0.7244418859481812, 0.530415415763855, -0.08333282917737961, 0.5160413384437561, 0.07603389769792557, 0.7578702569007874, -0.31566324830055237, 0.9653663039207458, -0.6603123545646667, 0.40294650197029114, -0.20046813786029816, -1.0938379764556885, -0.31244686245918274, 0.3162340223789215, 0.3435089886188507, -0.05527383089065552, 0.7271106243133545, 1.3591722249984741, 0.11667446792125702, 0.2755533456802368, 0.3980472683906555, 0.37372785806655884, 0.403235524892807, 0.48007360100746155, 0.9633855223655701, -0.4186350703239441, 0.8414040207862854, 0.03437032923102379, -0.29943519830703735, 0.08473779261112213, -0.8266683220863342, -0.877719521522522, -0.4000653326511383, -0.4120013415813446, -0.7984748482704163, 0.4103344678878784, 1.1713045835494995, 0.5316584706306458, -0.8078368306159973, -0.20388875901699066, -0.44100576639175415, 0.2062617540359497, -0.32497307658195496, -0.26283392310142517, 0.18865549564361572, -0.8401533365249634, -0.4692477285861969, 0.32423317432403564, 0.25137069821357727, -0.1847880631685257, -0.02967437542974949, 0.05515846982598305, -0.26021453738212585, 0.25271084904670715, 0.6081389784812927, -0.14205516874790192, -0.5147235989570618, -0.39372876286506653, -0.04754991829395294, -0.23462353646755219, -0.19905687868595123, 0.5244143605232239, -0.7206554412841797, 0.34522688388824463, 0.503425121307373, 0.8235053420066833, 0.21915380656719208, -0.08491760492324829, 0.7554733157157898, -0.7922242283821106, -0.14065250754356384, 0.10085966438055038, 0.3109724223613739, 0.34787338972091675, -0.5867809057235718, 0.8755643963813782, 0.4724169373512268, -0.7179198861122131, -0.7623023390769958, 0.12066713720560074, -0.7882267832756042, -0.3390442728996277, 0.9998873472213745, -0.06197361275553703, -0.5993614196777344, -0.4381909966468811, -0.4441603720188141, -0.0359094999730587, -0.4182046949863434, 0.34457436203956604, 0.443148672580719, -0.21409909427165985, 0.11210506409406662, 0.21535050868988037, 0.49149173498153687, 0.5301184058189392, -0.7823264598846436, 0.16719001531600952, 0.8900454044342041, 0.506400465965271, 0.1610512137413025, 0.6034117937088013, -0.23887282609939575, 0.46723395586013794, 0.30595776438713074, 0.05675569549202919, -0.1545187383890152, -0.005573828238993883, -0.04742779582738876, 0.04936591908335686, 0.11669175326824188, 0.20156657695770264 ]
http://arxiv.org/abs/2406.13397v1
http://arxiv.org/pdf/2406.13397v1
MoreHopQA: More Than Multi-hop Reasoning
2024-06-19T09:38:59
2024-06-19T09:38:59
Julian Schnitzler, Xanh Ho, Jiahao Huang, Florian Boudin, Saku Sugawara, Akiko Aizawa
cs.CL
cs.CL
Most existing multi-hop datasets are extractive answer datasets, where the answers to the questions can be extracted directly from the provided context. This often leads models to use heuristics or shortcuts instead of performing true multi-hop reasoning. In this paper, we propose a new multi-hop dataset, MoreHopQA, which shifts from extractive to generative answers. Our dataset is created by utilizing three existing multi-hop datasets: HotpotQA, 2WikiMultihopQA, and MuSiQue. Instead of relying solely on factual reasoning, we enhance the existing multi-hop questions by adding another layer of questioning that involves one, two, or all three of the following types of reasoning: commonsense, arithmetic, and symbolic. Our dataset is created through a semi-automated process, resulting in a dataset with 1,118 samples that have undergone human verification. We then use our dataset to evaluate five different large language models: Mistral 7B, Gemma 7B, Llama 3 (8B and 70B), and GPT-4. We also design various cases to analyze the reasoning steps in the question-answering process. Our results show that models perform well on initial multi-hop questions but struggle with our extended questions, indicating that our dataset is more challenging than previous ones. Our analysis of question decomposition reveals that although models can correctly answer questions, only a portion - 38.7% for GPT-4 and 33.4% for Llama3-70B - achieve perfect reasoning, where all corresponding sub-questions are answered correctly. Evaluation code and data are available at https://github.com/Alab-NII/morehopqa
[ -0.6315352916717529, -0.8624867796897888, 0.652003288269043, 0.29331493377685547, 0.12082907557487488, 0.38225099444389343, -0.0030895571690052748, -0.3884481191635132, -0.07583843171596527, 0.47003090381622314, -0.7041869759559631, -0.16286586225032806, -0.46981287002563477, 0.17155396938323975, -0.34754541516304016, 0.6184263229370117, 0.03200114518404007, -0.24600744247436523, -0.05989326909184456, -0.140030637383461, -0.5171354413032532, -0.5181117057800293, -0.4871410131454468, -0.16206392645835876, 0.3665695786476135, 0.5851804614067078, 0.7422205209732056, 0.17587798833847046, 0.34504756331443787, 0.214808851480484, -0.15348145365715027, 0.36865362524986267, 0.007606857921928167, 0.11029796302318573, 0.21879346668720245, -0.4039520025253296, -0.32179611921310425, 0.004652075469493866, 0.28071099519729614, 0.5584383606910706, -0.08608271181583405, 0.3590637743473053, -0.5395358800888062, 0.6600657105445862, -0.5186745524406433, 0.03452523797750473, -0.444052517414093, -0.2034805417060852, -0.18862642347812653, -0.09248442947864532, -0.4359009563922882, -0.6230785846710205, 0.021465947851538658, -0.6781773567199707, -0.022221911698579788, 0.002826230600476265, 0.7556082606315613, 0.24740426242351532, -0.7551643252372742, -0.276212602853775, -0.6285930871963501, 0.5862634181976318, -0.5345165729522705, 0.7700286507606506, 0.3879573941230774, 0.705104410648346, 0.01368935126811266, -0.623871922492981, -0.8052974343299866, -0.15187516808509827, 0.2015763223171234, 0.27729567885398865, -0.09404846280813217, -0.3854122757911682, 0.5148615837097168, 0.2229037880897522, -0.6940152049064636, -0.3747466504573822, -0.42765530943870544, -0.3077191412448883, 0.47392538189888, 0.11406062543392181, 0.26213401556015015, -0.35335204005241394, -0.1996099352836609, -0.33115869760513306, -0.7309685945510864, 0.23817655444145203, 0.32144370675086975, 0.33977988362312317, -0.019241178408265114, 0.6127027273178101, -0.3303130567073822, 0.8153896331787109, -0.10084862262010574, -0.19811072945594788, 0.5731059312820435, -0.3308503329753876, -0.07659465074539185, -0.31997445225715637, 0.458103746175766, 0.04104854539036751, 0.5083873867988586, -0.015977410599589348, 0.3119221031665802, -0.11035310477018356, -0.05913718044757843, -0.5498635172843933, -0.5553324222564697, 0.6499699354171753, -0.2664002478122711, -0.0791468471288681, -0.11761755496263504, -0.5247116684913635, -0.33607104420661926, -0.2992073893547058, 0.3226516544818878, -0.7687123417854309, -0.477181613445282, 0.3148540258407593, -0.38413769006729126, 0.6380693912506104, 0.4923548400402069, -0.4399440586566925, 0.10695866495370865, 0.7439970374107361, 0.9077566862106323, 0.06864345818758011, -0.5158619284629822, -0.4675334692001343, 0.0554361566901207, -0.5284591913223267, 0.75299072265625, -0.7264618277549744, 0.10400988161563873, -0.32154935598373413, 0.003107843454927206, -0.21312329173088074, -0.3280069828033447, 0.7598130106925964, -1.057834267616272, 0.35495924949645996, -0.7119635343551636, -0.47244900465011597, -0.4004233479499817, 0.5684646964073181, -0.9171857237815857, 1.0188168287277222, 0.04435101896524429, -0.8678610920906067, 0.3198546767234802, -0.7912427186965942, -0.583652138710022, -0.02110113576054573, -0.055487316101789474, -0.15234413743019104, -0.12080176174640656, 0.6678774356842041, 0.17628875374794006, -0.5432130694389343, 0.3849426805973053, -0.2740633487701416, -0.19513218104839325, 0.3102487325668335, -0.6604598760604858, 1.3642843961715698, 0.30705899000167847, -0.1696789711713791, -0.19510571658611298, -0.8737273812294006, 0.2911398112773895, 0.12487778812646866, -0.5339805483818054, -0.09773280471563339, -0.33970603346824646, -0.14704187214374542, 0.5679112076759338, -0.2806892991065979, -0.6717044711112976, 0.33651459217071533, -0.12253306806087494, 0.44556376338005066, 0.44676125049591064, 0.05198473110795021, 0.14965714514255524, -0.4180203080177307, 0.738542914390564, -0.07841240614652634, 0.1571151167154312, -0.26078882813453674, -0.9738806486129761, -0.6727035045623779, -0.28089070320129395, 0.25659817457199097, 0.6004719734191895, -0.8347262144088745, 0.05891771987080574, -0.34149956703186035, -0.3795463442802429, -0.5321092009544373, -0.15425850450992584, 0.022525418549776077, 0.5341933965682983, 0.6574560403823853, 0.2002718299627304, -0.41494759917259216, -0.4876382350921631, 0.014604641124606133, -0.09558502584695816, -0.06424650549888611, 0.3207702338695526, 0.5487186908721924, -0.022103123366832733, 0.830538809299469, -0.4712792932987213, 0.14383907616138458, -0.35215985774993896, 0.3180924952030182, 0.37809666991233826, 0.15420660376548767, 0.3281915783882141, -0.8251639604568481, -0.367532879114151, -0.28181278705596924, -0.5551812648773193, 0.01310218870639801, -0.31052154302597046, -0.24522222578525543, -0.4573323726654053, 0.4104388356208801, -0.895388126373291, -0.01733434572815895, 0.3897618353366852, -0.1462876796722412, 0.7795213460922241, 0.2121468037366867, 0.37474656105041504, -1.0874334573745728, -0.13173824548721313, -0.32669535279273987, -0.0964585468173027, -0.621691882610321, 0.39473918080329895, 0.1502476930618286, -0.01782681606709957, -0.26267075538635254, 0.44592517614364624, -0.6429358720779419, -0.1565750390291214, -0.19471952319145203, -0.16259577870368958, 0.5137971639633179, 0.5393593907356262, 0.2568291127681732, 0.7583253979682922, 0.8432949781417847, -0.5826969146728516, 0.8273607492446899, 0.6931685209274292, -0.5267168283462524, 0.11885615438222885, -0.7238143682479858, 0.2940172255039215, -0.23181545734405518, 0.5872331857681274, -1.1007146835327148, -0.4717141389846802, 0.10768312215805054, -0.7009924054145813, -0.12950383126735687, -0.43643733859062195, -0.5425457954406738, -0.5779333710670471, -0.356203556060791, 0.6947711110115051, 0.23210150003433228, -0.7539384961128235, 0.5435909032821655, 0.052219245582818985, -0.21212182939052582, -0.5788013339042664, -0.6304047703742981, 0.15774588286876678, -0.2423996776342392, -0.8280309438705444, -0.0413835272192955, -0.11896341294050217, -0.19215361773967743, -0.23285196721553802, 0.17254963517189026, -0.3430449366569519, -0.044601306319236755, -0.052974943071603775, 0.2508171796798706, -0.22060933709144592, 0.23383276164531708, 0.16461028158664703, -0.15138846635818481, 0.05479751527309418, -0.24437586963176727, 0.6912907361984253, -0.09154574573040009, -0.7134045362472534, -0.29009997844696045, 0.5158610939979553, 0.7068426609039307, -0.611842930316925, 0.4918532073497772, 0.7067742347717285, -0.21411465108394623, 0.22284340858459473, -0.48546847701072693, 0.008289903402328491, -0.38490456342697144, 0.12381862103939056, -0.8250482678413391, -0.7753423452377319, 0.42090561985969543, -0.1645282357931137, 0.2770250737667084, 0.26271700859069824, 0.7203462719917297, -0.050925999879837036, 1.039224624633789, 0.25108879804611206, 0.08599943667650223, -0.1088624969124794, -0.3842966854572296, 0.1866321563720703, -0.975426971912384, -0.3915615677833557, -0.4798538386821747, -0.0134890740737319, -0.5440055131912231, -0.7742650508880615, 0.4302200973033905, -0.07172717154026031, -0.4696834683418274, 0.39874300360679626, -0.14661701023578644, 0.4410261809825897, 0.7781767249107361, -0.09497648477554321, 0.479146271944046, -0.22581540048122406, 0.01393453124910593, 0.3588669002056122, -0.6979687809944153, -0.22183729708194733, 1.210764765739441, 0.3290116786956787, 0.5807957649230957, 0.5707859992980957, 0.5295303463935852, -0.09943405538797379, -0.012289603240787983, -0.7349110841751099, 0.06678396463394165, 0.33171218633651733, -1.1253767013549805, -0.43836498260498047, -0.5794622898101807, -0.6246998310089111, 0.3351629674434662, -0.05962591618299484, -0.5475382208824158, 0.3317171335220337, -0.0006879972061142325, -0.7739180326461792, 0.1361204981803894, -0.7585643529891968, 0.5251959562301636, -0.44295093417167664, -0.2188226729631424, 0.3251042068004608, -0.8559954762458801, 0.7680917382240295, 0.0689602643251419, 0.456959992647171, -0.24990513920783997, 0.3846695125102997, 0.6196359992027283, -0.31087249517440796, 0.3761201500892639, -0.09087440371513367, -0.15289825201034546, 0.6085920333862305, 0.08527285605669022, 0.29621660709381104, 0.25313007831573486, -0.13149839639663696, -0.07237982004880905, 0.2892063856124878, -0.5013633370399475, -0.7038669586181641, 0.3366486728191376, -0.709868311882019, -0.38319385051727295, -0.31993868947029114, -0.5157824754714966, -0.7258673906326294, 0.054474759846925735, 0.3043705224990845, 0.6453199982643127, 0.38853931427001953, 0.06673769652843475, 0.5937400460243225, -0.36819830536842346, 0.30790555477142334, 0.22455842792987823, -0.13016386330127716, -0.3997136056423187, 0.7177600264549255, -0.1978578418493271, 0.23214469850063324, 0.3733071982860565, 0.49309736490249634, -0.7506897449493408, -0.37186503410339355, -0.7976150512695312, 0.014404857531189919, -0.7211319208145142, -0.3157825469970703, -0.890903890132904, -0.1645694077014923, -0.751804769039154, 0.22996124625205994, -0.342874675989151, -0.7222319841384888, 0.3076784014701843, -0.2854931056499481, 0.4754121005535126, 0.43533775210380554, -0.2436879426240921, 0.27898865938186646, -0.9264018535614014, 0.8859817981719971, 0.6845446825027466, 0.259111225605011, 0.11340846866369247, -0.7691882848739624, 0.17348185181617737, 0.020547183230519295, -0.13655294477939606, -1.267417550086975, 0.1244288831949234, 0.3282584846019745, 0.40160009264945984, 0.1925951987504959, 0.0504615493118763, 0.8268629312515259, -0.47833451628685, 0.6809852719306946, 0.11215946823358536, -0.7678697109222412, 0.278972864151001, -0.2592361569404602, 0.3156040608882904, 0.704771101474762, 0.692181408405304, -0.5436980128288269, 0.01728697121143341, -0.4120233654975891, -0.7906737923622131, 0.5565896034240723, 0.3492428660392761, 0.19982050359249115, 0.05058685690164566, 0.25462520122528076, 0.2905643880367279, 0.11121667921543121, -0.8965689539909363, -0.22995758056640625, -0.35480746626853943, 0.20916618406772614, 0.19738835096359253, -0.250875324010849, -0.0924721285700798, -0.5629773139953613, 0.644429624080658, -0.16619081795215607, 0.2202702760696411, -0.16466012597084045, -0.14245370030403137, 0.32904645800590515, 0.46179327368736267, 0.061315763741731644, 0.6016047596931458, -0.06084880977869034, 0.1857418417930603, -0.05988304689526558, -0.17479705810546875, 0.2604803144931793, 0.003054838627576828, -0.14075103402137756, -0.21624378859996796, 0.7752116322517395, 0.6359816193580627, -0.4830150306224823, -0.5656293630599976, 0.7145455479621887, -0.2221740335226059, -0.326830118894577, -0.17294491827487946, -0.16223663091659546, 0.2707291543483734, 0.36445289850234985, 0.18871039152145386, -0.00439098384231329, 0.4389050602912903, -0.6967101693153381, 0.44081971049308777, 0.24506886303424835, 0.04133561998605728, -0.21218696236610413, 0.5375752449035645, 0.04657599702477455, -0.03179873526096344, 0.8816691040992737, -0.45415082573890686, -0.6622499823570251, 0.40547290444374084, 0.4752037227153778, 0.5021921992301941, -0.06775233894586563, 0.6282501816749573, 0.5549181699752808, 0.3888664245605469, -0.10051322728395462, 0.6484887003898621, -0.2842128872871399, -0.990388810634613, -0.8812046647071838, -0.5383351445198059, -0.44682779908180237, 0.3531293272972107, -0.5197523236274719, 0.14380180835723877, -0.2636856734752655, 0.07897889614105225, -0.007204785943031311, -0.16774407029151917, -0.5623207688331604, 0.37604835629463196, 0.06577865779399872, 0.9835875034332275, -1.185531497001648, 0.6079675555229187, 0.549048662185669, -0.5073885321617126, -1.0999280214309692, 0.2496950924396515, 0.01048282440751791, -0.7538242340087891, 0.3783278167247772, 0.15762843191623688, -0.15037986636161804, -0.05447270721197128, -0.631754994392395, -1.0871915817260742, 0.7305776476860046, 0.4335203468799591, -0.26581820845603943, -0.061707060784101486, 0.17269228398799896, 0.38825687766075134, 0.10017282515764236, 0.6589629054069519, 0.9153753519058228, 0.6538699269294739, 0.7741665840148926, -0.7096941471099854, -0.2099480777978897, -0.4108698070049286, -0.5502378940582275, -0.09516389667987823, -0.5998389720916748, 1.0855903625488281, -0.5303806066513062, 0.012101824395358562, -0.07591334730386734, 0.31941235065460205, 0.535001277923584, 0.15886765718460083, 0.3376697897911072, 0.5677756667137146, 0.8745567798614502, -0.08536703139543533, 0.9623805284500122, 0.02332320436835289, 0.11218435317277908, 1.4414454698562622, -0.17372217774391174, 0.6497519612312317, 0.23992931842803955, -0.3234485387802124, 0.5305062532424927, 0.8389067053794861, 0.25926968455314636, 0.37335824966430664, 0.1954461932182312, 0.014740407466888428, -0.6985584497451782, 0.2438739687204361, -0.39256545901298523, 0.8902005553245544, 0.024873171001672745, 0.3504112660884857, -0.2080356776714325, -0.05538468062877655, -0.08329583704471588, -0.2388315200805664, 0.21059998869895935, 0.6020650267601013, -0.1696939319372177, -0.5389876365661621, 0.5635148286819458, 0.15327030420303345, 0.31642642617225647, -0.2810916602611542, -0.21428152918815613, -0.2788791358470917, -0.36250999569892883, -0.18618108332157135, -0.8185849785804749, 0.23406770825386047, 0.18539883196353912, 0.04969440773129463, 0.02105965092778206, 0.31074732542037964, -0.16266462206840515, -0.8323410749435425, 0.0523236021399498, 1.0507795810699463, 0.20476298034191132, -0.32639753818511963, -0.7494434118270874, -0.12022493779659271, -0.10066583007574081, -0.20513823628425598, -0.24591031670570374, 0.6338131427764893, -0.29229721426963806, 0.874546468257904, 0.7220933437347412, 0.12932418286800385, 0.5241714715957642, 0.5545955300331116, 0.8404359817504883, -0.5354644060134888, -0.46259939670562744, -0.551176905632019, 0.3502940237522125, -0.10833339393138885, -0.24234364926815033, 0.7009831666946411, 0.6616553068161011, 0.6286312937736511, 0.16256850957870483, 1.0639023780822754, -0.28482404351234436, 0.7501038908958435, -0.4904867112636566, 0.060268107801675797, -0.4503822922706604, 0.27909666299819946, -0.5952659249305725, -0.7198665738105774, -0.14667969942092896, 0.6788756251335144, -0.23948077857494354, 0.2478441745042801, 0.5409149527549744, 0.5306989550590515, -0.22995151579380035, 0.2200305461883545, 0.24357019364833832, -0.08009585738182068, 0.6275560259819031, 0.8503012657165527, 1.476602554321289, -0.5617424249649048, 0.6192553639411926, -0.288878470659256, -0.39223068952560425, 0.30365341901779175, -0.8072968125343323, -0.7427376508712769, -0.6936600208282471, -0.18392474949359894, 0.005862838122993708, -0.20785154402256012, 0.706415593624115, 0.6674309372901917, -0.9323486685752869, 0.052247241139411926, -0.10110072791576385, 0.12743985652923584, -0.3615771532058716, -0.21686777472496033, 0.4453927278518677, -0.12411896884441376, -0.5164415240287781, 0.47096025943756104, 0.09215494245290756, -0.20158039033412933, 0.044986382126808167, 0.03514314070343971, -0.37366825342178345, 0.07915845513343811, 0.7656025290489197, 0.1420888453722, -0.3721229135990143, -0.36920371651649475, 0.4399639964103699, 0.4935518503189087, 0.21092462539672852, 0.8945332169532776, -0.5904732346534729, 0.32845374941825867, 0.5597299337387085, 0.808316707611084, 0.5108867287635803, 0.39816316962242126, 0.20195603370666504, -0.6287959814071655, -0.13420072197914124, 0.28399527072906494, 0.2278294414281845, 0.4200420081615448, -0.19085559248924255, 0.2355724573135376, 0.08255549520254135, -0.17957060039043427, -0.4231608808040619, 0.6995094418525696, -0.7664658427238464, -0.37878063321113586, 1.3889206647872925, -0.006154926028102636, 0.11048337072134018, -0.6001837253570557, -0.25452643632888794, 0.17777034640312195, -0.2203088104724884, 0.6805827021598816, 0.7639120221138, -0.7513878345489502, -0.412458211183548, -0.5269038677215576, 0.49113792181015015, 0.15485680103302002, -1.093853235244751, 0.37745407223701477, 0.8602798581123352, 0.31709665060043335, 0.20981836318969727, 0.8676201105117798, -0.2585550546646118, 0.4634292423725128, 0.02134043164551258, -0.3425046503543854, -0.25593867897987366, -0.8549532890319824, -0.07071397453546524, 0.44802698493003845, 0.17909418046474457, -0.24791231751441956 ]
http://arxiv.org/abs/2406.13381v1
http://arxiv.org/pdf/2406.13381v1
CoAct: A Global-Local Hierarchy for Autonomous Agent Collaboration
2024-06-19T09:23:53
2024-06-19T09:23:53
Xinming Hou, Mingming Yang, Wenxiang Jiao, Xing Wang, Zhaopeng Tu, Wayne Xin Zhao
cs.CL
cs.CL
Existing LLMs exhibit remarkable performance on various NLP tasks, but still struggle with complex real-world tasks, even equipped with advanced strategies like CoT and ReAct. In this work, we propose the CoAct framework, which transfers the hierarchical planning and collaboration patterns in human society to LLM systems. Specifically, our CoAct framework involves two agents: (1) A global planning agent, to comprehend the problem scope, formulate macro-level plans and provide detailed sub-task descriptions to local execution agents, which serves as the initial rendition of a global plan. (2) A local execution agent, to operate within the multi-tier task execution structure, focusing on detailed execution and implementation of specific tasks within the global plan. Experimental results on the WebArena benchmark show that CoAct can re-arrange the process trajectory when facing failures, and achieves superior performance over baseline methods on long-horizon web tasks. Code is available at https://github.com/xmhou2002/CoAct.
[ -0.401208758354187, -0.5791932940483093, 0.5272604823112488, 0.3353320062160492, 0.2718884348869324, 0.7031207084655762, 0.1048135831952095, -0.7371413707733154, 0.4895356297492981, 0.6208053231239319, -0.975204348564148, -0.5513639450073242, -0.19244877994060516, 0.05146387219429016, -0.3150797188282013, 0.8992121815681458, 0.03200693055987358, -0.46092161536216736, -0.5447734594345093, 0.1373572051525116, -0.49749571084976196, -0.6761655807495117, -0.9398872256278992, -0.6270004510879517, 0.4095826745033264, 0.47328147292137146, 0.8783498406410217, 0.7579291462898254, 0.6673414707183838, 0.3864889144897461, 0.11112426966428757, 0.5858978629112244, -0.37770146131515503, 0.245189368724823, -0.3045618236064911, -0.3652319312095642, -1.0355489253997803, -0.19581890106201172, 0.3260861933231354, 0.7194820642471313, -0.13881276547908783, -0.0984112024307251, 0.25047963857650757, 0.6124876141548157, -0.6117069721221924, 0.382768839597702, -0.565881609916687, 0.16272953152656555, 0.33122706413269043, -0.3126641511917114, -0.33541107177734375, 0.06129418686032295, 0.1990469992160797, -0.803959310054779, 0.08896514028310776, 0.09480264782905579, 0.31655046343803406, 0.41880789399147034, -0.46053922176361084, -0.18413372337818146, -0.7525769472122192, 0.6316689848899841, -0.14226217567920685, -0.10587956756353378, 0.45822855830192566, 0.0754886046051979, -0.5714923143386841, -1.0008647441864014, -0.17013834416866302, -0.10037235915660858, -0.15035070478916168, 0.27523401379585266, -0.23506133258342743, 0.23329627513885498, -0.2986390292644501, 0.08331393450498581, -0.8002471327781677, 0.1424102485179901, -0.024193553254008293, -0.19581535458564758, 0.6097795367240906, 0.5965736508369446, 0.19488932192325592, 0.147456094622612, -0.7814487814903259, 0.42337098717689514, -0.5411497950553894, 0.16002386808395386, -0.09414360672235489, 0.33488255739212036, -0.5132130980491638, 0.12461570650339127, -0.4235154986381531, 0.5574674606323242, -0.016169089823961258, 0.047128740698099136, -0.06999678164720535, -0.48476311564445496, -0.29352399706840515, -0.09338324517011642, 0.661577045917511, 0.30539560317993164, 0.16048617660999298, -0.43570491671562195, -0.010891981422901154, 0.15549184381961823, 0.4836388826370239, -0.3264507055282593, -0.2482556849718094, 0.49056077003479004, -0.18840643763542175, -0.3698268234729767, 0.04446719214320183, -0.33900272846221924, -0.4870816469192505, -0.40529510378837585, 0.11453612148761749, -0.19569718837738037, 0.041937947273254395, -0.07201308012008667, 0.23197241127490997, 0.0630144476890564, 0.4773752987384796, -0.5733396410942078, 0.815812349319458, 1.1113210916519165, 1.1759754419326782, -0.6109253168106079, -0.6176003813743591, -0.757432758808136, 0.4975208342075348, -0.3022860586643219, 1.0119001865386963, -0.047496601939201355, -0.46814173460006714, 0.1070101410150528, -0.060582585632801056, 0.00881832093000412, -0.5188310146331787, 0.5811947584152222, -0.2657622992992401, -0.20484022796154022, -0.17684043943881989, -0.17337380349636078, 0.035136181861162186, 0.2746853530406952, -0.6226122379302979, 0.6889498829841614, -0.06762470304965973, -0.5660651326179504, 0.04598823934793472, -0.830905020236969, -0.7515287399291992, 0.25669872760772705, -0.17128698527812958, -0.053203582763671875, -0.553290605545044, 0.13735918700695038, 0.8097739219665527, -0.3939569294452667, 0.08101548254489899, -0.07003635168075562, -0.44443443417549133, -0.11104479432106018, 0.1421547681093216, 0.871556282043457, 0.23640942573547363, -0.34957417845726013, 0.4962921738624573, -0.7398461699485779, 0.16391730308532715, -0.2002560794353485, -0.16884195804595947, -0.08005674928426743, 0.1842818260192871, -0.2079475075006485, 0.3745453953742981, 0.4573385715484619, -0.16903701424598694, 0.5930074453353882, -0.1037442535161972, 0.5933129787445068, 0.7899404764175415, 0.13238026201725006, 0.899667501449585, -0.9054474234580994, 0.5717871785163879, -0.4210816025733948, 0.4031096398830414, 0.1232151985168457, -0.5066322684288025, -0.7223852872848511, -0.5135766863822937, -0.4072624146938324, 0.7501941919326782, -0.7908098101615906, 0.6955844759941101, -0.34155911207199097, -0.44848623871803284, -0.18865354359149933, 0.06622584164142609, 0.27326104044914246, 0.5079932808876038, 0.27491357922554016, -0.2671118378639221, -0.8363638520240784, -0.8107617497444153, 0.3427596986293793, -0.3414453864097595, -0.10142116248607635, -0.2044045478105545, 0.5798107385635376, -0.3978746831417084, 1.235933780670166, -0.34180912375450134, -0.8372480273246765, -0.3129752576351166, 0.3029792308807373, 0.016221873462200165, 0.35946953296661377, 0.13734282553195953, -0.8176742196083069, -0.555966854095459, 0.17488594353199005, -0.862266480922699, -0.19068381190299988, -0.3255741596221924, -0.35155925154685974, 0.4277644753456116, 0.44614362716674805, -0.5762184262275696, 0.31165847182273865, 0.7685640454292297, -0.22115936875343323, 0.7308779954910278, -0.16482973098754883, 0.13799677789211273, -1.1972852945327759, 0.029203351587057114, -0.44829854369163513, -0.44537055492401123, -0.5903869867324829, 0.2743707299232483, -0.2812201976776123, 0.24947801232337952, -0.6028450131416321, 0.3707582354545593, -0.48957598209381104, -0.2069874107837677, -0.27489352226257324, 0.21105629205703735, -0.008472439832985401, 0.677279531955719, 0.05356563627719879, 0.8814891576766968, 0.4572627544403076, -0.7132730484008789, 0.34535637497901917, 0.2918079197406769, -0.2601558566093445, 0.6672389507293701, -0.5525292158126831, 0.3441375494003296, 0.4449042081832886, 0.5736297369003296, -0.8065565824508667, -0.18281009793281555, 0.07944455742835999, -0.3236517310142517, -0.24927039444446564, -0.1209283098578453, -0.6069733500480652, -0.07325275987386703, -0.265903502702713, 0.1459892988204956, 0.20390409231185913, -0.35425087809562683, 0.9494868516921997, 0.4489045739173889, 0.02160005271434784, -0.5964305996894836, -0.8527652621269226, 0.2133026123046875, 0.17746330797672272, -1.0443229675292969, 0.6758056879043579, -0.19204379618167877, -0.4659937024116516, -0.05983846262097359, -0.05976046249270439, -0.2874809503555298, 0.04227951541543007, 0.756476640701294, 0.08914200961589813, 0.2511390149593353, -0.3910597860813141, -0.29898643493652344, -0.18963603675365448, -0.027101611718535423, -0.2058030068874359, 0.7072242498397827, -0.2527104914188385, -0.12658435106277466, -0.5832645297050476, 0.5941551923751831, 0.6199561357498169, -0.29626891016960144, 0.44611766934394836, 0.34177568554878235, -0.1774996966123581, -0.5654698610305786, -0.22817100584506989, 0.09865707159042358, -0.5248993635177612, 0.14465507864952087, -0.47331327199935913, -0.7758910655975342, 0.8487963080406189, -0.14392291009426117, 0.183720663189888, 0.018671151250600815, 0.6920596957206726, -0.27564024925231934, 0.6988983750343323, 0.8622022271156311, -0.2913915514945984, 0.2117072343826294, -0.6924479603767395, -0.17728079855442047, -0.7863101959228516, -0.21480698883533478, -0.28358396887779236, -0.24422243237495422, -0.3118073344230652, -0.6683815121650696, 0.5001619458198547, -0.28304368257522583, -0.24866658449172974, 0.5224965810775757, -0.48629483580589294, 0.3657507300376892, 0.5372483730316162, -0.2600575387477875, 0.7609900236129761, -0.20263773202896118, -0.20849263668060303, 0.2800261378288269, -0.8195476531982422, -0.4447106122970581, 0.3213048279285431, -0.039258867502212524, 0.6318604350090027, 0.04595465585589409, 0.889335036277771, 0.7102032899856567, 0.03904018551111221, -0.7082316279411316, 0.8767535090446472, 0.052415478974580765, -0.4071817398071289, -0.19242797791957855, -0.13229186832904816, -1.4461127519607544, 0.2762691378593445, -0.2498854100704193, -0.82252436876297, 0.1362670361995697, -0.04773898795247078, -0.2099020928144455, 0.34184426069259644, -0.5092846751213074, 0.5765371322631836, 0.01943078078329563, -0.4752366244792938, -0.25788575410842896, -0.8921642303466797, 0.14704956114292145, 0.015932554379105568, 0.5331730246543884, 0.014012444764375687, -0.2700578272342682, 0.33892008662223816, -0.3215811252593994, 0.9598037004470825, 0.36366572976112366, -0.10718166828155518, 0.44614970684051514, 0.6570932865142822, 0.811023473739624, -0.2012605220079422, -0.18226955831050873, 0.22974392771720886, -0.26479965448379517, -0.21971482038497925, -0.5886765718460083, 0.7535493969917297, -0.8235797882080078, -0.2513122856616974, -0.49737873673439026, -0.9981278777122498, -0.1195068210363388, 0.0013987242709845304, 0.16346517205238342, 0.27108243107795715, -0.4037926197052002, 0.18703415989875793, -0.15950745344161987, 0.3580632209777832, 0.5375736951828003, 0.41863319277763367, -0.02583586610853672, -0.4526003301143646, 0.5394757986068726, 0.12718868255615234, 0.5467204451560974, 0.8003739714622498, -0.21292473375797272, 0.10629936307668686, -0.2962023913860321, 0.18917691707611084, -0.19305868446826935, -0.6845983862876892, -0.23170147836208344, -0.4890464246273041, -0.1954626441001892, -0.4207616150379181, -0.8948357701301575, -0.3964523375034332, -0.3090319037437439, -0.06504916399717331, 0.09773367643356323, -0.06563152372837067, 1.0115878582000732, -0.19364261627197266, 0.3788341283798218, -0.4398443102836609, 0.3315228819847107, -0.016300436109304428, -0.029539836570620537, -0.000012445342690625694, -0.007450969889760017, -0.3257110118865967, -0.09405794739723206, -0.38642051815986633, -0.40915003418922424, 0.4103016257286072, -0.012473544105887413, 0.4358481466770172, 0.023827657103538513, 0.41531190276145935, 0.9175561666488647, -0.48122307658195496, 0.6786177158355713, -0.10626837611198425, -0.7971712946891785, 0.4466984272003174, -0.506269633769989, 0.4593084156513214, 0.4699351489543915, 0.4477159082889557, -0.538730800151825, -0.6324135065078735, -0.6124810576438904, -1.0189188718795776, 0.5747287273406982, 0.43264514207839966, -0.5345675945281982, 0.256544828414917, 0.27227774262428284, -0.0688076838850975, 0.02073882892727852, -0.6070083975791931, -0.33120012283325195, 0.31195521354675293, 0.07305964082479477, 0.10417307168245316, 0.2945334017276764, -0.29027053713798523, -0.12859322130680084, 0.44803479313850403, -0.27022585272789, 0.37120676040649414, 0.4474669396877289, -0.08387217670679092, -0.13961704075336456, 0.09161948412656784, 0.42839279770851135, 0.6459490060806274, -0.1231507733464241, 0.44296520948410034, 0.06843791902065277, -0.374697208404541, 0.22357651591300964, -0.2825140953063965, -0.12181330472230911, -0.7609109282493591, 0.994969367980957, 0.025117052718997, 0.17448818683624268, -0.2994237542152405, 0.19626979529857635, 0.018976004794239998, -0.39719346165657043, -0.4372721314430237, 0.2022586464881897, 0.1330760270357132, 0.46306008100509644, 0.5453857779502869, 0.21885554492473602, 0.11357305198907852, -0.7774943113327026, 0.5382696390151978, 0.3106120526790619, -0.21096454560756683, -0.2513372004032135, 0.547129213809967, 0.4232691526412964, -0.6491860747337341, 0.2872602641582489, -0.38440948724746704, -0.45641863346099854, 0.7616611123085022, 0.6658782362937927, 0.8798961639404297, 0.022308748215436935, 0.4353852868080139, -0.10421275347471237, 0.3641703426837921, 0.13744676113128662, 0.26158085465431213, -0.154896542429924, -0.5949729084968567, -0.6602964401245117, -0.31528133153915405, -0.6495001316070557, -0.2600570023059845, -0.2560238242149353, 0.2343997359275818, -0.6099601984024048, 0.0012975295539945364, -0.3378501534461975, 0.4781479835510254, -0.38952842354774475, -0.028173625469207764, -0.07752198725938797, 0.6336416602134705, -0.4203648269176483, 0.9209086298942566, 0.8110283613204956, -0.2779366672039032, -0.49774840474128723, 0.052811820060014725, 0.28662827610969543, -0.7984380125999451, 0.5768254995346069, -0.08679987490177155, -0.7838762998580933, 0.02589152194559574, -0.5080791711807251, -1.00729501247406, 1.4958893060684204, 0.26433759927749634, -0.31854528188705444, -0.22514285147190094, 0.25552302598953247, 0.6757638454437256, -0.7341786623001099, -0.10156005620956421, 0.11565865576267242, 0.3470870554447174, 0.2569270730018616, -1.0336511135101318, 0.2714616358280182, -0.033381350338459015, -0.3442416787147522, -0.019064873456954956, -0.8777045607566833, 0.8942850828170776, -0.2121211439371109, -0.2651151120662689, 0.3442888557910919, 0.7098223567008972, 0.2398030161857605, 0.17268812656402588, 0.6045036911964417, 0.06976605206727982, 0.6469619870185852, 0.0971098467707634, 0.9679305553436279, -0.36725080013275146, 0.24445408582687378, 1.4168517589569092, -0.5856497287750244, 0.8785178065299988, 0.17427434027194977, -0.10577329248189926, 0.7538012862205505, 0.27137291431427, 0.21749907732009888, 0.4967176616191864, -0.09108663350343704, -0.24259045720100403, -0.2525171935558319, -0.361255019903183, 0.17966245114803314, 0.48357436060905457, 0.15086457133293152, 0.4456213414669037, -0.16640403866767883, -0.24160848557949066, 0.133517324924469, 0.2404043823480606, -0.2946569323539734, 0.689157247543335, 0.08904249966144562, -0.8999279737472534, 0.5447176098823547, -0.2353104054927826, 0.7413825392723083, -0.6939799189567566, -0.19709819555282593, -0.03119194135069847, 0.40359702706336975, -0.6339415311813354, -0.8929938077926636, 0.5471330285072327, -0.4670460522174835, -0.0902462974190712, -0.34204718470573425, 0.7741453051567078, -0.21250790357589722, 0.12104184925556183, 0.8259116411209106, 0.5214693546295166, -0.057190991938114166, -0.22245630621910095, -0.771469235420227, 0.10079386085271835, -0.30017387866973877, 0.09506559371948242, 0.2885279357433319, 0.2529921531677246, -0.3572295904159546, 1.157011866569519, 0.6825970411300659, 0.04248986765742302, -0.08523710072040558, -0.079875648021698, 0.5568673610687256, -0.35798531770706177, -0.7269553542137146, -0.6795045137405396, 0.6308104991912842, -0.050745800137519836, -0.08600924164056778, 0.4599608778953552, 0.5778437852859497, 0.8332720994949341, 0.208989679813385, 0.7068353891372681, -0.2490544319152832, 0.1247309148311615, -0.28926900029182434, 0.5868973731994629, -0.5300856828689575, 0.13337045907974243, -0.25291094183921814, -0.6507338285446167, -0.5370808243751526, 0.7319778203964233, 0.042122311890125275, -0.26032280921936035, 0.9425214529037476, 0.6037773489952087, 0.25490057468414307, -0.21431991457939148, 0.4256078898906708, 0.25861644744873047, 0.6251170039176941, 0.6859087944030762, 0.7362145185470581, 0.039774585515260696, 0.6396854519844055, -0.44795140624046326, -0.28168392181396484, 0.030225513502955437, -0.9054704904556274, -0.8204786777496338, -0.971488893032074, -0.1303424835205078, -0.008389979600906372, 0.19365110993385315, 1.3973044157028198, 1.0580165386199951, -0.3786243796348572, -0.8614102602005005, -0.3790241479873657, 0.29117894172668457, -0.47630131244659424, -0.25397443771362305, 0.2635205090045929, -0.40615758299827576, -0.5580716133117676, 0.6874502301216125, 0.36286842823028564, -0.3319268822669983, -0.37000536918640137, -0.24966908991336823, -0.6167410016059875, -0.2298291027545929, 0.8273282647132874, 0.14820429682731628, -0.6024516224861145, -0.26962926983833313, 0.013086497783660889, -0.2801043689250946, 0.24245838820934296, 0.9759365916252136, -0.854703962802887, 0.04684334620833397, 0.38715440034866333, 0.3687251806259155, 0.4257211685180664, 0.05846110358834267, 0.7875259518623352, -1.1311323642730713, 0.18445231020450592, 0.275717556476593, 0.21751439571380615, 0.027274833992123604, -0.5306395888328552, 1.1381967067718506, 0.1576518416404724, -1.0295120477676392, -0.5096885561943054, 0.31243351101875305, -1.5734596252441406, -0.28511571884155273, 1.0516960620880127, 0.041358642280101776, -0.16133323311805725, -0.5651625990867615, -0.32696783542633057, 0.19551990926265717, -0.526854395866394, 0.6207289099693298, 0.46617403626441956, -0.6998259425163269, 0.1923285722732544, -0.5577602386474609, 0.4601260721683502, 0.08074727654457092, -1.0147826671600342, 0.22830235958099365, 0.28484275937080383, 0.04038776457309723, 0.4434298872947693, 1.1128219366073608, 0.2638798654079437, 0.13080056011676788, -0.10154823213815689, 0.37150251865386963, -0.1697482466697693, -0.6376387476921082, 0.06811267882585526, 0.32005903124809265, -0.1523299217224121, 0.05212826281785965 ]
http://arxiv.org/abs/2406.13375v1
http://arxiv.org/pdf/2406.13375v1
ALiiCE: Evaluating Positional Fine-grained Citation Generation
2024-06-19T09:16:14
2024-06-19T09:16:14
Yilong Xu, Jinhua Gao, Xiaoming Yu, Baolong Bi, Huawei Shen, Xueqi Cheng
cs.CL
cs.CL
Large Language Models (LLMs) can enhance the credibility and verifiability by generating text with citations. However, existing tasks and evaluation methods are predominantly limited to sentence-level statement, neglecting the significance of positional fine-grained citations that can appear anywhere within sentences. To facilitate further exploration of the fine-grained citation generation, we propose ALiiCE, the first automatic evaluation framework for this task. Our framework first parses the sentence claim into atomic claims via dependency analysis and then calculates citation quality at the atomic claim level. ALiiCE introduces three novel metrics for positional fined-grained citation quality assessment, including positional fine-grained citation recall and precision, and coefficient of variation of citation positions. We evaluate the positional fine-grained citation generation performance of several LLMs on two long-form QA datasets. Our experiments and analyses demonstrate the effectiveness and reasonableness of ALiiCE. The results also indicate that existing LLMs still struggle to provide positional fine-grained citations.
[ -0.01419488899409771, -0.6255148649215698, 0.9770416021347046, 0.25711292028427124, 0.0673062652349472, -0.08855234086513519, 0.03599434345960617, -0.4300314486026764, 0.07344648987054825, 0.152174711227417, 0.09790696948766708, -0.6003360748291016, -0.4297110140323639, 0.3055839538574219, -0.4362899363040924, 0.585049033164978, 0.026689400896430016, -0.07336247712373734, -0.2508262097835541, -0.04590025916695595, -0.3388632833957672, -0.3062991201877594, -0.5570054054260254, -0.1445402204990387, 0.5512542724609375, 0.36679989099502563, 0.7233166694641113, 0.6078925132751465, 0.6166122555732727, 0.289293110370636, -0.013507851399481297, 0.36233779788017273, -0.11942865699529648, 0.18000201880931854, -0.6505573391914368, -0.1920466125011444, -0.41034063696861267, 0.06008274108171463, 0.8998827338218689, 0.7211048007011414, 0.09992852061986923, 0.32053008675575256, 0.012966449372470379, 0.6504496932029724, -0.930164635181427, -0.06487981975078583, -0.9433083534240723, -0.27416273951530457, -0.3284963071346283, -0.428487628698349, -0.6000350117683411, -0.5481679439544678, -0.03672867268323898, -0.26376980543136597, -0.189401313662529, 0.19744639098644257, 1.1491254568099976, 0.15015515685081482, -0.6238790154457092, -0.4852100908756256, -0.6252297759056091, 0.9034794569015503, -0.7233845591545105, 0.144674152135849, 0.4469032287597656, 0.2828060984611511, -0.22099433839321136, -0.93198162317276, -0.32255539298057556, -0.6054285764694214, -0.09152783453464508, -0.06693821400403976, -0.24578656256198883, -0.08817442506551743, -0.06334654241800308, 0.33887872099876404, -0.5130878686904907, -0.10686095803976059, -0.20507964491844177, -0.06341519951820374, 0.7176271080970764, -0.16081638634204865, 0.28793150186538696, -0.7485023140907288, -0.35412803292274475, 0.012553974986076355, -0.7505393624305725, -0.12178666144609451, 0.30153438448905945, 0.48380613327026367, 0.41280490159988403, 0.6167608499526978, -0.258250892162323, 0.32623931765556335, 0.3296429514884949, 0.0005053462809883058, 0.10349832475185394, -0.4637238383293152, -0.3992491364479065, 0.26461905241012573, 0.8427299857139587, 0.10922486335039139, -0.017819121479988098, -0.20785747468471527, -0.15643581748008728, -0.3926669955253601, 0.3019426167011261, -1.093596339225769, 0.04417192190885544, 0.5593238472938538, -0.6147452592849731, -0.30974507331848145, 0.22987791895866394, -0.1666593700647354, -0.2413249909877777, -0.36021342873573303, 0.4395293593406677, -0.5702968835830688, 0.22359788417816162, -0.3333558142185211, 0.20070219039916992, -0.0467095710337162, 0.18541459739208221, -0.5443634390830994, -0.16432683169841766, 0.6406051516532898, 0.9478974938392639, -0.040231190621852875, -0.26393207907676697, -0.9068803191184998, 0.23589667677879333, -0.40551966428756714, 1.1473950147628784, -0.734439492225647, -0.20256714522838593, 0.3029349148273468, -0.029504219070076942, 0.023956742137670517, -0.7481274008750916, 0.8623608350753784, -0.5485037565231323, -0.2260351926088333, -0.2676176428794861, -0.7743545174598694, 0.12647482752799988, 0.3156706988811493, -0.6187705397605896, 0.8915837407112122, 0.22344276309013367, -0.5435636639595032, 0.37411990761756897, -0.3587333858013153, -0.316590279340744, 0.14355798065662384, -0.20790353417396545, -0.25981149077415466, 0.3164737820625305, -0.025264659896492958, 0.40312713384628296, -0.3922334313392639, 0.5229278802871704, -0.2698953151702881, -0.11355403810739517, 0.37188687920570374, -0.340410441160202, 0.7381347417831421, 0.5411606431007385, -0.038217585533857346, 0.13530226051807404, -1.174987554550171, 0.2809451222419739, -0.1216728538274765, -0.4840787351131439, -0.7933968305587769, 0.07306184619665146, 0.1331142634153366, 0.004607596900314093, 0.5225163102149963, -0.4360300898551941, 0.09734946489334106, -0.4883827865123749, 0.35701635479927063, 0.4622637927532196, 0.21590352058410645, 0.34962502121925354, -0.12973059713840485, 0.4270058274269104, -0.23873351514339447, -0.017803698778152466, -0.23179300129413605, 0.10484407097101212, -0.5319312810897827, -0.09914742410182953, 0.5152252912521362, 0.32065314054489136, -0.5910086631774902, 0.5427642464637756, -0.354282408952713, -0.34526440501213074, -0.2390744686126709, 0.24710403382778168, 0.3677492141723633, 0.2709938883781433, 0.35977450013160706, -0.007335875649005175, -0.3643006384372711, -1.0013279914855957, -0.2219681292772293, -0.5538628697395325, -0.08072935789823532, 0.17820937931537628, 0.6163291931152344, -0.08199922740459442, 1.0340733528137207, 0.03717496991157532, -0.04598180577158928, 0.1716117560863495, 0.6679838299751282, -0.11175333708524704, 0.5733879208564758, 0.6497769355773926, -0.4869585335254669, -0.5336889028549194, 0.0785851702094078, -0.8953772187232971, -0.4102463722229004, -0.19161367416381836, -0.32931965589523315, 0.047570884227752686, 0.5248024463653564, -0.48285767436027527, 0.05522613599896431, 0.3431210219860077, -0.4679113030433655, 0.6516968011856079, -0.015333571471273899, 0.44882383942604065, -1.1893091201782227, 0.3602215349674225, -0.06877537071704865, -0.3536645770072937, -0.26912257075309753, 0.3556303083896637, 0.19332394003868103, -0.02434341423213482, -0.3475363552570343, 0.6046728491783142, -0.40599921345710754, -0.19179050624370575, -0.5511201620101929, 0.31741780042648315, 0.370755672454834, -0.10980647802352905, -0.28647807240486145, 0.9004479646682739, -0.03310585021972656, -0.25630462169647217, -0.009115626104176044, 0.15531207621097565, -0.49033889174461365, 0.9471377730369568, -0.7962093353271484, -0.04972304776310921, 0.19267117977142334, 0.21990586817264557, -0.9074895977973938, -0.25275668501853943, -0.3478214740753174, -0.30922502279281616, 0.22903360426425934, -0.23836395144462585, -0.5308161377906799, -0.12081725895404816, -0.3040609657764435, 0.527761697769165, -0.018005864694714546, -0.6329745054244995, 0.3342577815055847, 0.16749070584774017, -0.4433901906013489, -0.4818808436393738, -0.33253470063209534, 0.3075113594532013, -0.23374131321907043, -0.7111741900444031, 0.39070168137550354, 0.021730346605181694, -0.7227786183357239, -0.2429571896791458, -0.030215425416827202, -0.15316393971443176, 0.24798433482646942, 0.15287594497203827, 0.005550263915210962, -0.27219897508621216, 0.3540019094944, 0.29938027262687683, 0.006337703205645084, 0.14069628715515137, -0.32700496912002563, 0.3268605172634125, -0.418008953332901, -0.38742995262145996, -0.3963708281517029, 0.37141555547714233, 0.3990633189678192, -0.1671447604894638, 0.3792892396450043, 0.3825562298297882, -0.28454092144966125, -0.17988406121730804, -0.4533984959125519, 0.15054543316364288, -0.40877628326416016, 0.2304169237613678, -0.32134199142456055, -0.5476391911506653, 0.29619547724723816, -0.32468459010124207, -0.042569734156131744, 0.5838060975074768, 0.37981027364730835, 0.012662981636822224, 0.7410685420036316, 0.28875666856765747, 0.12580005824565887, 0.4175267815589905, 0.002344942418858409, 0.06737277656793594, -0.6217441558837891, 0.13377420604228973, -0.871813952922821, -0.11536211520433426, -0.38821783661842346, -0.3742254376411438, 0.2218320369720459, 0.6251741051673889, -0.44513511657714844, 0.154145285487175, -0.34769564867019653, 0.5186856985092163, 0.5485265851020813, -0.2094673365354538, 0.49298095703125, 0.012682303786277771, 0.032050296664237976, 0.18077190220355988, -0.19685867428779602, -1.094146966934204, 1.0657802820205688, 0.29949408769607544, 0.43927547335624695, 0.21446280181407928, 0.9141972661018372, 0.6702761650085449, 0.24582548439502716, -0.8241725564002991, 0.5050080418586731, -0.12481556832790375, -0.49150028824806213, -0.23950867354869843, -0.26108649373054504, -1.0184848308563232, 0.06379606574773788, 0.1408066600561142, -0.7606063485145569, 0.45888423919677734, 0.1319524198770523, -0.7204235196113586, -0.36480048298835754, -0.5920974016189575, 0.6511259078979492, -0.2932220995426178, -0.8011273145675659, -0.014746119268238544, -0.4557035267353058, 0.2820083796977997, -0.07110749185085297, 0.022256413474678993, -0.18339696526527405, 0.3074306547641754, 0.6662125587463379, -0.7907615900039673, 0.40789729356765747, -0.2658372223377228, -0.3127726912498474, 0.5966311097145081, 0.35158270597457886, 0.7304526567459106, 0.22637414932250977, -0.517845630645752, -0.001221776008605957, 0.1956893354654312, -0.3255791664123535, -0.522417426109314, 1.0752540826797485, -0.560204803943634, -0.3184245526790619, -0.3870882987976074, -0.6174105405807495, -0.2850273847579956, 0.3212423622608185, -0.03752138465642929, 0.31906893849372864, -0.3066082000732422, 0.2822105884552002, 0.3325386345386505, -0.2597307562828064, 0.46472761034965515, 0.40492603182792664, -0.1146627888083458, -0.5883612632751465, 0.8971494436264038, 0.08389957249164581, 0.1271757334470749, 0.36723023653030396, 0.20500104129314423, -0.176544651389122, -0.6625561714172363, -0.3911110758781433, 0.13460524380207062, -0.7063526511192322, -0.43244439363479614, -0.37720006704330444, -0.25451287627220154, -0.3670501410961151, -0.3476884961128235, -0.5785800814628601, -0.5638710260391235, -0.11389581859111786, -0.07686278969049454, 0.06847135722637177, 0.5260376334190369, -0.00009162510832538828, 0.35752421617507935, -0.8118589520454407, -0.023905407637357712, 0.17349979281425476, 0.045222390443086624, -0.03170451149344444, -0.41560831665992737, -0.4726586639881134, -0.19165393710136414, -0.43129807710647583, -0.610442578792572, 0.45435234904289246, 0.25171902775764465, 0.3077971637248993, 0.44823288917541504, 0.14604756236076355, 0.7935923337936401, -0.7641696333885193, 0.9206141233444214, 0.015239207074046135, -0.9927085638046265, 0.859158456325531, -0.31359177827835083, 0.0689241960644722, 1.0054937601089478, 0.2613382041454315, 0.2874700129032135, -0.3994869291782379, -0.5596556067466736, -1.2195253372192383, 0.3080490529537201, 0.38314756751060486, -0.17324599623680115, -0.32576820254325867, 0.41881710290908813, 0.09903393685817719, 0.10250888764858246, -0.7691494226455688, -0.1192566528916359, -0.07544324547052383, -0.3981296122074127, 0.35786667466163635, -0.49939021468162537, -0.19361968338489532, 0.0607343353331089, 0.7740079164505005, -0.14853067696094513, 0.1694091558456421, 0.4119168817996979, -0.34501132369041443, -0.10533712804317474, 0.6873720288276672, 0.3878232538700104, 0.955256998538971, -0.4100190997123718, 0.3025524914264679, -0.360609769821167, -0.04877316579222679, 0.21100828051567078, 0.4243101179599762, -0.5535476207733154, 0.290803998708725, 0.313122034072876, 0.3860205113887787, 0.2663458585739136, -0.6165081262588501, 0.450361967086792, 0.23626601696014404, 0.09447123110294342, -0.593250572681427, -0.12959906458854675, -0.19062629342079163, 0.5548561811447144, 0.5124130249023438, -0.2472590208053589, 0.5008928179740906, -0.6605576872825623, 0.2926442623138428, 0.500280499458313, -0.14584378898143768, -0.22548799216747284, 0.7383047342300415, 0.24590477347373962, -0.10140849649906158, 0.19787020981311798, -0.2660025954246521, 0.05281507968902588, 0.35376182198524475, 0.578537106513977, 0.9727400541305542, -0.18663166463375092, 0.28243184089660645, 0.6413522362709045, 0.08102955669164658, 0.05397682636976242, 0.04965304210782051, -0.08658664673566818, -0.4004318416118622, -0.34096789360046387, -1.0674725770950317, -0.2768402397632599, 0.14715810120105743, -0.5702311396598816, -0.03383524343371391, -0.3155555725097656, -0.3701534867286682, 0.17721423506736755, 0.27119335532188416, -0.40025338530540466, 0.060377709567546844, 0.21381185948848724, 0.7924159169197083, -0.6950663328170776, 0.829429030418396, 0.72628253698349, -0.793387234210968, -0.8219391703605652, 0.14480280876159668, -0.3035215437412262, -0.5962056517601013, 1.1252753734588623, 0.13125717639923096, -0.3594469130039215, -0.11380981653928757, -0.6377245783805847, -1.0090802907943726, 1.328981637954712, 0.3852995038032532, -0.5359219908714294, -0.012979391030967236, 0.10992061346769333, 0.3077266216278076, -0.3963654041290283, 0.5160929560661316, 0.4976778030395508, 0.5268707275390625, 0.07828731834888458, -0.9629003405570984, 0.18557865917682648, -0.4015907347202301, 0.3360171318054199, -0.19751191139221191, -0.728651225566864, 0.7698513269424438, 0.16616185009479523, -0.1290738880634308, 0.555508017539978, 1.0121248960494995, 0.6094998121261597, 0.5729817152023315, 0.2186567634344101, 0.29227307438850403, 1.0980933904647827, 0.11053892225027084, 1.0780709981918335, -0.4945507347583771, 0.3869360387325287, 1.4805748462677002, -0.7393637895584106, 1.213963508605957, 0.5548600554466248, -0.24007442593574524, 0.7425079345703125, 0.39443233609199524, 0.041744645684957504, 0.310208261013031, 0.1392245888710022, -0.16519400477409363, -0.2962798476219177, -0.3730124533176422, -0.24733121693134308, 0.31684184074401855, 0.17588701844215393, -0.8719483017921448, -0.3317599594593048, 0.07182054221630096, 0.10532251745462418, 0.3014693260192871, -0.3941163718700409, 0.3705541789531708, 0.08879058808088303, -0.7213743925094604, 0.6774341464042664, 0.09818673878908157, 0.1851413995027542, -0.3851649761199951, -0.1245354562997818, -0.3385835289955139, 0.19786198437213898, -0.2728075385093689, -0.3995530605316162, 0.2164115160703659, 0.24938111007213593, -0.3127882182598114, -0.030757125467061996, 0.7551240921020508, -0.16376373171806335, -0.5644294619560242, 0.1550886631011963, 0.32107213139533997, 0.26897498965263367, -0.08221741765737534, -0.46914219856262207, -0.028917694464325905, -0.18283258378505707, -0.4337009787559509, 0.3502989113330841, 0.6765809059143066, -0.10745136439800262, 0.39482107758522034, 0.5089409947395325, 0.030196895822882652, -0.12305980920791626, 0.342559814453125, 0.411367803812027, -0.6126587986946106, -0.16612504422664642, -0.7224699258804321, 0.38048669695854187, -0.2394198179244995, -0.09197024255990982, 1.069863200187683, 0.6617445349693298, 0.5193644762039185, 0.233236625790596, 0.9051523804664612, -0.15532036125659943, 0.38272443413734436, -0.6532723307609558, 0.6249017715454102, -0.6874515414237976, 0.4244012236595154, -0.3469640910625458, -0.8988601565361023, -0.25839635729789734, 0.8021082878112793, -0.35240083932876587, 0.005871238652616739, 0.8726903796195984, 0.6093268990516663, -0.04250333830714226, -0.28036537766456604, 0.25529345870018005, 0.5125126242637634, 0.4463410973548889, 0.2584865093231201, 0.8870385885238647, -0.6735827326774597, 0.5090177655220032, -0.023132963106036186, -0.04919326305389404, -0.4309563934803009, -1.001381754875183, -0.5255503058433533, -0.41056036949157715, -0.4473560154438019, -0.5356048941612244, 0.09258726984262466, 1.1724399328231812, 0.634914219379425, -0.9236522912979126, -0.15850363671779633, -0.24874870479106903, -0.01782110705971718, 0.01345004327595234, -0.3542289435863495, 0.6913908123970032, -0.6425104737281799, -1.0409998893737793, 0.7302146553993225, 0.3254941999912262, -0.24811694025993347, -0.24309585988521576, -0.03250587731599808, -0.44008293747901917, 0.2848285734653473, 0.920467734336853, 0.31911545991897583, -0.6393107175827026, -0.5314859747886658, -0.2766222059726715, -0.4011269211769104, 0.06791416555643082, 0.6904217004776001, -0.6888657212257385, 0.20019619166851044, 0.49215105175971985, 0.5534823536872864, -0.013786484487354755, 0.4653698801994324, 0.42110174894332886, -0.6785709261894226, -0.2300073802471161, 0.12547962367534637, 0.5335971713066101, 0.18909750878810883, -0.213014155626297, 0.48600345849990845, -0.09502635896205902, -1.067644476890564, -0.8925809860229492, -0.043035201728343964, -1.2525008916854858, -0.3678746223449707, 1.4169652462005615, -0.3834972083568573, -0.2799651324748993, 0.022656632587313652, -0.07781662791967392, 0.09167452156543732, -0.4089961051940918, 0.8912630081176758, 0.6645827293395996, -0.059813592582941055, 0.38102439045906067, -0.43285638093948364, 0.12238172441720963, 0.37581154704093933, -0.9098259210586548, 0.09779702126979828, 0.9568163752555847, 0.20128847658634186, 0.5901132822036743, 0.4121108651161194, -0.13818024098873138, 0.15847043693065643, -0.02398907020688057, 0.03213394805788994, -0.15776467323303223, -0.45934271812438965, -0.0410606674849987, 0.5001132488250732, 0.5496876239776611, 0.08095579594373703 ]
http://arxiv.org/abs/2406.13363v1
http://arxiv.org/pdf/2406.13363v1
Evaluating Structural Generalization in Neural Machine Translation
2024-06-19T09:09:11
2024-06-19T09:09:11
Ryoma Kumon, Daiki Matsuoka, Hitomi Yanaka
cs.CL
cs.CL
Compositional generalization refers to the ability to generalize to novel combinations of previously observed words and syntactic structures. Since it is regarded as a desired property of neural models, recent work has assessed compositional generalization in machine translation as well as semantic parsing. However, previous evaluations with machine translation have focused mostly on lexical generalization (i.e., generalization to unseen combinations of known words). Thus, it remains unclear to what extent models can translate sentences that require structural generalization (i.e., generalization to different sorts of syntactic structures). To address this question, we construct SGET, a machine translation dataset covering various types of compositional generalization with control of words and sentence structures. We evaluate neural machine translation models on SGET and show that they struggle more in structural generalization than in lexical generalization. We also find different performance trends in semantic parsing and machine translation, which indicates the importance of evaluations across various tasks.
[ 0.13178673386573792, -0.703781247138977, 0.5005921125411987, 0.5015814304351807, -0.32919907569885254, 0.008417009375989437, -0.287887305021286, -0.20815420150756836, 0.2066076695919037, 0.20601136982440948, -0.24249060451984406, -0.756509006023407, -0.7801322340965271, 0.1626245379447937, -0.5524301528930664, 1.1096506118774414, -0.22598043084144592, 0.29659977555274963, -0.2128722220659256, -0.28803831338882446, -0.7989329695701599, -0.504155695438385, -0.42784416675567627, -0.4334564507007599, 0.4146972596645355, -0.32193994522094727, 0.7743332982063293, 0.8922119736671448, 0.7383632063865662, 0.4867221713066101, -0.31538933515548706, -0.00017628826026339084, -0.1700592339038849, 0.28926196694374084, -0.3092619776725769, -0.8349570035934448, -0.5127701759338379, -0.21325382590293884, 0.9995778203010559, 1.2159141302108765, 0.06628692150115967, 0.053218208253383636, 0.08836149424314499, 0.7377457618713379, -0.2767215073108673, 0.2606893479824066, -0.6805552840232849, 0.31017574667930603, 0.09503559023141861, -0.014485947787761688, -0.20944973826408386, -0.25966107845306396, 0.27314087748527527, -0.584231436252594, 0.257645845413208, -0.22341793775558472, 0.6635285019874573, 0.2696526348590851, -0.5842748880386353, -0.24808894097805023, -0.6865511536598206, 0.7183465957641602, -0.6097677946090698, 0.49830231070518494, 0.17178182303905487, 0.38139888644218445, -0.08060184121131897, -0.9608299136161804, -0.07659494876861572, -0.561505138874054, -0.18173722922801971, 0.19210100173950195, -0.18520790338516235, 0.3721194863319397, 0.04568144679069519, 0.735866129398346, -0.8162704706192017, -0.0620071180164814, -0.48848456144332886, -0.2634647488594055, 0.4665994346141815, 0.22621215879917145, 0.8158278465270996, -0.3298807144165039, -0.45931974053382874, -0.21431666612625122, -0.2262287437915802, -0.052445050328969955, 0.4156573414802551, 0.2503735423088074, 0.00258350046351552, 0.7836993336677551, -0.22278741002082825, 0.7093175053596497, 0.024974241852760315, 0.4294263422489166, 0.31526851654052734, -0.6865622997283936, -0.44316616654396057, -0.06946491450071335, 0.6564635634422302, 0.45865052938461304, 0.23580245673656464, -0.5277573466300964, -0.3382175862789154, 0.4283335208892822, 0.44690975546836853, -0.7648952007293701, -0.13694825768470764, 0.21929752826690674, -0.7483565211296082, -0.23895588517189026, -0.007236842066049576, -0.2663188874721527, -0.0977991595864296, -0.3829551637172699, 0.2086573988199234, -0.4637512266635895, -0.0842181071639061, 0.1741810142993927, -0.43580102920532227, 0.24136698246002197, -0.09673943370580673, -1.11795973777771, 0.3624000549316406, 0.8111441731452942, 1.0261770486831665, -0.32939818501472473, -0.3717636466026306, -0.23931020498275757, 0.02292824722826481, -0.4754135310649872, 0.5869412422180176, -0.6724573969841003, -0.37290331721305847, -0.2733731269836426, 0.04713961482048035, -0.6068736910820007, -0.6116784811019897, 0.4504711329936981, -0.47148874402046204, 0.006706150248646736, -0.26647111773490906, -0.6734939217567444, -0.1918637603521347, 0.25629910826683044, -0.6162549257278442, 0.610893189907074, 0.14205200970172882, -0.49821555614471436, 0.5486416220664978, -0.6456403136253357, -0.6177186965942383, 0.14930778741836548, -0.3879927098751068, -0.17781148850917816, 0.6645398736000061, 0.07437276095151901, 0.4571346640586853, 0.052058782428503036, 0.5601040720939636, -0.18301452696323395, -0.28378090262413025, 0.036225538700819016, -0.0596843846142292, 0.4176918566226959, 0.18124297261238098, -0.34110909700393677, 0.429055780172348, -0.5512629151344299, 0.24175207316875458, -0.02081032283604145, -0.5143631100654602, -0.5589792132377625, 0.13470357656478882, -0.13702277839183807, 0.028890173882246017, 0.3827621340751648, -0.31150907278060913, 0.39260536432266235, -0.9663270115852356, 0.6640872955322266, 0.7111778855323792, -0.018612796440720558, 0.8283209204673767, 0.07896754890680313, 0.6729435920715332, 0.0645393431186676, -0.17800532281398773, -0.11435592174530029, -0.4294390082359314, -0.5696167349815369, 0.11027336120605469, 0.5204127430915833, 0.6123660802841187, -0.6909113526344299, 0.3631686866283417, -0.4757239818572998, -0.288687139749527, -0.24422290921211243, 0.19535930454730988, 0.6446681618690491, 0.10964663326740265, 0.342337042093277, -0.29153892397880554, -0.5835060477256775, -1.3565340042114258, -0.4721105396747589, 0.11970733106136322, -0.23087267577648163, 0.049684714525938034, 0.5251702666282654, -0.2559054493904114, 0.5484963655471802, -0.3022709786891937, -0.04198210686445236, -0.31258323788642883, 0.21888093650341034, 0.12365634739398956, 0.4706099033355713, 0.452034592628479, -0.8804560303688049, -0.42466533184051514, 0.5454565286636353, -1.1104021072387695, 0.1710248440504074, -0.1682618409395218, 0.007703778799623251, -0.14141002297401428, 0.5603210926055908, -0.47073760628700256, 0.16854983568191528, 0.6799831390380859, -0.15686219930648804, 0.2881179749965668, -0.16342979669570923, 0.0049769263714551926, -1.3523632287979126, 0.16515734791755676, -0.12871885299682617, 0.005069851875305176, -0.6824825406074524, 0.46268969774246216, -0.015926556661725044, -0.08571364730596542, -0.2991938591003418, 0.18094441294670105, -0.5902519822120667, -0.44793450832366943, -0.18899402022361755, 0.046691425144672394, -0.1308247447013855, 0.4590965807437897, -0.25921154022216797, 0.8751972317695618, 0.4237818717956543, -0.666478157043457, 0.25214242935180664, 0.15432117879390717, -0.24705654382705688, 0.2772710919380188, -1.1011520624160767, 0.1929294914007187, -0.22342488169670105, 0.15217547118663788, -1.0204178094863892, -0.28400397300720215, 0.03554605692625046, -0.37854450941085815, 0.11744535714387894, -0.15608350932598114, -0.16642612218856812, -0.20841114223003387, -0.12355539202690125, 0.5152869820594788, -0.10350628197193146, 0.0617225281894207, 0.6570366024971008, 0.10792753845453262, -0.09830618649721146, -0.586752712726593, -1.044536828994751, 0.13551545143127441, -0.07418901473283768, -0.8409510254859924, 0.6224421858787537, 0.041722290217876434, -0.24382738769054413, 0.15716108679771423, -0.4818797707557678, -0.13581636548042297, 0.19550317525863647, 0.24056679010391235, -0.05433923006057739, -0.5912007689476013, 0.2637642025947571, 0.26913633942604065, 0.002652317052707076, 0.04426756873726845, -0.5659477114677429, 0.7641698718070984, -0.5962021946907043, -0.2582491636276245, -0.21110233664512634, 0.3625313937664032, 0.3141753673553467, -0.3362601697444916, 0.5584512948989868, 0.49481868743896484, -0.3894297480583191, -0.15475957095623016, -0.11685888469219208, -0.14978399872779846, -0.4426991939544678, 0.8627675175666809, -0.5388365983963013, -0.8900113105773926, 0.8078944087028503, 0.052155427634716034, -0.15326155722141266, 0.8215625286102295, 0.42312556505203247, -0.0018394773360341787, 1.1307117938995361, 0.4655970335006714, -0.061013542115688324, 0.5004408955574036, -0.3184455931186676, -0.04875430464744568, -0.7685481905937195, 0.01353208627551794, -0.3107476532459259, -0.7446708083152771, -0.8128326535224915, -0.09838259220123291, 0.153636172413826, 0.02568097412586212, 0.13066507875919342, 0.6301352977752686, -0.5179184675216675, 0.7504881620407104, 0.3647976219654083, 0.03741232305765152, 0.20085133612155914, 0.07658270001411438, -0.5196890234947205, 0.07380363345146179, -0.5002785921096802, -0.5497598648071289, 1.280566692352295, 0.2133399099111557, 0.21455109119415283, -0.08414830267429352, 0.5849605798721313, 0.45263123512268066, 0.08199324458837509, -0.9717977643013, 0.5702886581420898, -0.6644138693809509, -0.3703092634677887, -0.19822731614112854, -0.6470838785171509, -1.199255347251892, 0.4825472831726074, 0.1286943256855011, -0.35453084111213684, 0.1849433332681656, 0.056001052260398865, -0.15921853482723236, 0.08089235424995422, -0.8555738925933838, 1.0304359197616577, -0.18273332715034485, 0.18777278065681458, -0.22121044993400574, -0.6602532863616943, 0.4031127095222473, 0.21333664655685425, -0.2804936468601227, 0.4618456959724426, -0.06003503128886223, 0.6397451162338257, -0.1726120263338089, 0.8718507885932922, -0.09250529110431671, 0.09158150851726532, 0.18003416061401367, 0.024950331076979637, 0.3718363344669342, -0.34840425848960876, -0.0058284057304263115, 0.1868784874677658, -0.053820542991161346, -0.4214719235897064, -0.8727944493293762, 0.652060866355896, -0.6994535326957703, -0.4515828788280487, -0.0849263146519661, -0.4892575740814209, -0.19062981009483337, 0.3208743631839752, 0.43051964044570923, 0.17736496031284332, -0.51773601770401, 0.42488566040992737, 0.4032100737094879, 0.05885997787117958, 0.24088232219219208, -0.04621089622378349, -0.2864833474159241, -0.6652979850769043, 1.003483772277832, 0.2692173719406128, 0.3177027106285095, 0.39651310443878174, 0.18304434418678284, -0.14207972586154938, -0.8717833757400513, -0.5735307931900024, 0.0023552903439849615, -0.7183319330215454, 0.059813469648361206, -0.722737193107605, -0.28963154554367065, -0.21573536098003387, -0.011050262488424778, -0.2146414816379547, -0.7264056205749512, -0.0026759605389088392, -0.33541908860206604, -0.48935461044311523, 0.9088941216468811, 0.381049782037735, 0.5803407430648804, -0.7074650526046753, 0.1861220896244049, 0.329468309879303, 0.1405470073223114, -0.17737312614917755, -0.3662314713001251, -0.28917914628982544, 0.03999773785471916, -0.41353556513786316, -0.9806419014930725, 0.08627356588840485, 0.23708119988441467, 0.7975971698760986, 0.23664501309394836, -0.6781024932861328, 0.3558445870876312, -0.48299047350883484, 0.7566697597503662, 0.1091371551156044, -0.9811916947364807, 0.5777022838592529, -0.5874447226524353, 0.32510921359062195, 0.4691244065761566, 0.2340417057275772, -0.693860650062561, -0.14423568546772003, -0.4114335775375366, -0.8270805478096008, 0.20947620272636414, 0.2537662386894226, 0.31869447231292725, -0.0970570519566536, 0.4861777126789093, -0.14434950053691864, 0.5821524858474731, -0.8538182377815247, 0.057106513530015945, -0.21335677802562714, -0.057385627180337906, 0.08242079615592957, -0.0901503711938858, -0.06918656080961227, -0.008117248304188251, 0.23566900193691254, -0.24347138404846191, 0.25362107157707214, 0.09590993821620941, -0.3708413243293762, 0.09318969398736954, 0.45419541001319885, 0.7614448666572571, 0.5152081847190857, -0.05966411903500557, -0.012979821301996708, 0.16904421150684357, -0.30487948656082153, 0.0008757381583563983, 0.012467235326766968, -0.35827913880348206, -0.11405286192893982, 0.611538827419281, 1.0742679834365845, 0.36346137523651123, -0.18806768953800201, 0.4928118884563446, 0.2518202066421509, -0.4041847586631775, 0.13654521107673645, 0.029146702960133553, 0.06915454566478729, 0.2910725772380829, -0.042415522038936615, 0.36512985825538635, 0.43682655692100525, -0.5242017507553101, 0.13667279481887817, 0.34438562393188477, -0.23590971529483795, -0.7636352181434631, 0.5019572377204895, -0.046335361897945404, -0.06691925972700119, 0.6308229565620422, -0.03622659668326378, -0.7393689751625061, 0.8154918551445007, 0.7050734162330627, 1.3482484817504883, -0.46412599086761475, 0.26803091168403625, 0.16180334985256195, 0.5956670045852661, 0.10049053281545639, 0.23692935705184937, -0.14283986389636993, -0.7294335961341858, -0.6801390051841736, -0.7038009762763977, -0.20010040700435638, -0.07265404611825943, -0.613088071346283, -0.08097347617149353, -0.5722291469573975, -0.33064427971839905, -0.012597804889082909, -0.3265683054924011, -0.48945435881614685, 0.22882452607154846, -0.04982709884643555, 0.5902355909347534, -1.0171847343444824, 0.5865074396133423, 1.1041197776794434, -0.5450958609580994, -0.6122572422027588, -0.0609053373336792, -0.4106645882129669, -0.7020863890647888, 0.9974079728126526, 0.2412835657596588, 0.07692241668701172, -0.2886694669723511, -0.3512105941772461, -0.6421279311180115, 1.0510293245315552, 0.5210307240486145, -0.3751298785209656, -0.48731037974357605, 0.42751601338386536, 0.9962852001190186, -0.4374016523361206, -0.06921306252479553, 0.5091457962989807, 0.5982886552810669, -0.13501767814159393, -0.8301271796226501, -0.006111284252256155, -0.4581909477710724, 0.42733776569366455, 0.19865268468856812, -0.5918064713478088, 0.989585280418396, 0.2256127893924713, -0.4091941714286804, -0.12479735910892487, 0.7114973068237305, -0.17031659185886383, 0.36815330386161804, 0.4212096333503723, 0.6076502799987793, 0.6246253252029419, -0.03127243369817734, 1.1736044883728027, -0.22252555191516876, 0.02196686901152134, 1.3117843866348267, 0.07095350325107574, 0.7650542855262756, 0.2956129014492035, -0.18725800514221191, 0.41481339931488037, 0.45686256885528564, -0.13571317493915558, 0.304002970457077, 0.4667714238166809, -0.018046215176582336, -0.22422842681407928, 0.08256666362285614, -0.5594800114631653, 0.6608701944351196, 0.31008079648017883, -0.8972105979919434, -0.34377622604370117, -0.06357580423355103, -0.22102485597133636, 0.1832754760980606, -0.22781486809253693, 0.7562498450279236, 0.15717282891273499, -0.6420981287956238, 0.5305193662643433, 0.22324596345424652, 0.2417902946472168, -0.7529556155204773, 0.0023969297762960196, -0.27404895424842834, 0.04157613590359688, -0.2379963994026184, -0.3895716071128845, 0.845390796661377, -0.4072292745113373, -0.42748329043388367, -0.10636134445667267, 0.8051379919052124, -0.349866658449173, -0.46994277834892273, 0.3542300760746002, 0.4423801302909851, 0.10285251587629318, -0.4509909451007843, -0.601490318775177, -0.00832549948245287, -0.01047139335423708, -0.27219250798225403, 0.3257795572280884, 0.2682929039001465, -0.33725506067276, 0.3919735550880432, 0.6765379905700684, 0.07333790510892868, 0.4837377071380615, 0.05090852454304695, 1.0027177333831787, -0.6848848462104797, -0.4782719910144806, -1.006258487701416, 0.3662289083003998, -0.04676239937543869, -0.4448182284832001, 0.7992563247680664, 0.6863100528717041, 0.7965462803840637, -0.2816113829612732, 0.705926775932312, 0.22861431539058685, -0.22828663885593414, -0.6505242586135864, 0.5293013453483582, -0.5658703446388245, -0.005383089184761047, -0.20329299569129944, -1.287850260734558, -0.4662470817565918, 0.47366711497306824, -0.6196444034576416, 0.14686518907546997, 0.8650006651878357, 0.6082989573478699, -0.19778163731098175, 0.20206177234649658, 0.4603322446346283, 0.3354746997356415, 0.1435507982969284, 0.4170663058757782, 0.6981621384620667, -0.5472501516342163, 0.48381292819976807, 0.19832205772399902, -0.10276350378990173, 0.053194429725408554, -0.7715198397636414, -0.8047587871551514, -0.5422450304031372, 0.020335301756858826, -0.08533705770969391, 0.17978577315807343, 0.686939537525177, 0.5787806510925293, -0.9777302145957947, -0.1825539618730545, -0.6150287389755249, -0.07454532384872437, -0.346885085105896, -0.19947759807109833, 0.44638606905937195, -0.715061604976654, -0.7812591791152954, 1.0449882745742798, 0.3699018955230713, 0.01366894505918026, -0.1492530107498169, 0.18035155534744263, 0.056771282106637955, 0.0288084726780653, 0.6753645539283752, 0.03740923851728439, -0.611876368522644, -0.13238196074962616, 0.09914438426494598, -0.09238111972808838, 0.09618110209703445, 0.9762258529663086, -0.2964172661304474, 0.4225594103336334, 0.8230080008506775, 1.1249914169311523, 0.43076056241989136, 0.05354014039039612, 0.7823764681816101, -0.8929510116577148, -0.09089439362287521, 0.07576418668031693, 0.4349973797798157, 0.18298733234405518, -0.3364149034023285, 0.6388741135597229, 0.38985684514045715, -0.5656295418739319, -0.5631986856460571, 0.4588501453399658, -0.8496982455253601, -0.06358955800533295, 0.8554059863090515, -0.1777656525373459, -0.3289066255092621, 0.3029375374317169, 0.002242413116618991, 0.16665251553058624, -0.09324371814727783, 0.46469756960868835, 0.9342463612556458, 0.2092726230621338, 0.41237083077430725, -0.5146788358688354, 0.14733123779296875, 0.9002290964126587, -0.6814295649528503, -0.1388869732618332, 0.46270278096199036, 0.3320735991001129, 0.2505534887313843, 0.36728373169898987, 0.01629032753407955, 0.1047983467578888, 0.07316526770591736, -0.030176760628819466, -0.01684020645916462, -0.42237305641174316, -0.5866411328315735, 0.3676512539386749, -0.3049510419368744, -0.40914228558540344 ]
http://arxiv.org/abs/2406.13362v1
http://arxiv.org/pdf/2406.13362v1
VisualRWKV: Exploring Recurrent Neural Networks for Visual Language Models
2024-06-19T09:07:31
2024-06-19T09:07:31
Haowen Hou, Peigen Zeng, Fei Ma, Fei Richard Yu
cs.CV
cs.CV, cs.CL, cs.LG
Visual Language Models (VLMs) have rapidly progressed with the recent success of large language models. However, there have been few attempts to incorporate efficient linear Recurrent Neural Networks (RNNs) architectures into VLMs. In this study, we introduce VisualRWKV, the first application of a linear RNN model to multimodal learning tasks, leveraging the pre-trained RWKV language model. We propose a data-dependent recurrence and sandwich prompts to enhance our modeling capabilities, along with a 2D image scanning mechanism to enrich the processing of visual sequences. Extensive experiments demonstrate that VisualRWKV achieves competitive performance compared to Transformer-based models like LLaVA-1.5 on various benchmarks. To facilitate further research and analysis, we have made the checkpoints and the associated code publicly accessible at the following GitHub repository: \href{https://github.com/howard-hou/VisualRWKV}{https://github.com/howard-hou/VisualRWKV}.
[ -0.12123889476060867, -0.7564895153045654, 0.38833215832710266, 0.27102014422416687, -0.3070192039012909, -0.07307080179452896, 0.02026236616075039, -0.30108579993247986, -0.22019442915916443, 0.43865928053855896, -0.5551748871803284, -0.46677306294441223, -0.4143444895744324, -0.06558649986982346, -0.503275990486145, 0.5239223837852478, 0.2018875777721405, 0.28939342498779297, -0.32999908924102783, -0.2710998058319092, -0.45472660660743713, -0.11966630816459656, -0.48608922958374023, -0.4241921603679657, 1.181727647781372, 0.2451760470867157, 0.45533987879753113, 0.639350950717926, 0.44159233570098877, 0.3827127516269684, 0.12106764316558838, 0.01586989127099514, -0.6981396079063416, 0.4923412799835205, -0.009548925794661045, -0.15732364356517792, 0.12075198441743851, -0.23336417973041534, 0.7037827968597412, 0.43839794397354126, -0.3304799497127533, 0.07476750761270523, -0.24714389443397522, 0.6219245791435242, -0.5027526021003723, 0.32880955934524536, -0.4358845055103302, 0.23412232100963593, -0.40664926171302795, 0.05935034900903702, -0.5137448906898499, -0.36065053939819336, 0.484172523021698, -0.4979507327079773, 0.04996030032634735, 0.03493089973926544, 0.574694037437439, 0.038967739790678024, -0.4254802465438843, 0.22403086721897125, -0.5117478370666504, 1.0166572332382202, -0.6559844613075256, 0.7649160623550415, -0.029880331829190254, 0.4808245003223419, -0.10991430282592773, -1.3232471942901611, -0.6534210443496704, -0.3409801721572876, 0.04753977432847023, 0.21252165734767914, -0.39989474415779114, -0.16752441227436066, 0.3538486361503601, 0.25268644094467163, -0.8651772141456604, -0.14518320560455322, -0.5176610946655273, 0.07239634543657303, 0.17377251386642456, 0.4874418079853058, 0.15980762243270874, -0.2728644907474518, -0.6428337097167969, -0.27397143840789795, -0.1623866707086563, 0.35537755489349365, -0.3006119430065155, 0.2265043407678604, -0.21382299065589905, 0.5761595964431763, -0.19151408970355988, 1.0816622972488403, -0.35300445556640625, -0.12111218273639679, 0.3904498219490051, -0.3414408266544342, -0.2535189688205719, -0.5924275517463684, 0.8065657615661621, 0.21838200092315674, 0.2994515299797058, 0.20168472826480865, -0.30015382170677185, -0.04520498588681221, 0.5108916163444519, -0.5925868153572083, -0.42400622367858887, -0.2354317456483841, -0.6527443528175354, -0.619388222694397, -0.118334099650383, -0.7495903968811035, -0.3963854908943176, -0.34097251296043396, 0.38516873121261597, -0.5918078422546387, -0.23869013786315918, 0.11936349421739578, -0.3034278452396393, 0.5692222118377686, 0.4782464802265167, -0.5761206746101379, -0.15435659885406494, 0.6202768683433533, 0.6089779734611511, -0.06330657750368118, -0.5475361943244934, -0.4447079598903656, -0.1294650137424469, -0.0961456373333931, 0.7052441835403442, -0.7609068751335144, -0.298494815826416, -0.0066583771258592606, -0.1381402611732483, 0.043154072016477585, -0.13140492141246796, 0.04457731917500496, -0.5826605558395386, 0.25749048590660095, -0.17972055077552795, -0.06314077973365784, -0.41916853189468384, 0.4678493142127991, -0.6476119160652161, 1.0667325258255005, 0.20131513476371765, -0.6778412461280823, 0.0011536860838532448, -0.22785191237926483, -0.5002507567405701, 0.23242118954658508, -0.49049079418182373, -0.5038840770721436, 0.2015550583600998, 0.15555578470230103, 0.35799694061279297, -0.2727910578250885, -0.13959358632564545, -0.4209693372249603, -0.20297010242938995, 0.2564300000667572, -0.5452072620391846, 0.4691869616508484, 0.3352965712547302, 0.026007216423749924, 0.461930513381958, -0.8762983679771423, 0.29561764001846313, 0.42947953939437866, -0.4199788570404053, -0.33738598227500916, -0.2149379998445511, 0.3850216269493103, 0.24199186265468597, 0.19720973074436188, -0.44918006658554077, 0.35443347692489624, -0.08714324980974197, 0.4787783920764923, 0.8899289965629578, -0.25094783306121826, 0.06723418086767197, -0.30665114521980286, 0.6296914219856262, -0.0034194558393210173, 0.4450828731060028, -0.6150190830230713, -0.6784908175468445, -0.6715784072875977, -0.4060673713684082, 0.12871350347995758, 0.598588764667511, -1.220479965209961, -0.37478363513946533, -0.2919933795928955, -0.3159549832344055, -0.15500801801681519, 0.028307223692536354, 0.5683014392852783, 0.476689875125885, 0.21610940992832184, -0.3963439464569092, -0.7111355662345886, -0.931406557559967, -0.07086635380983353, -0.04460005834698677, 0.19680798053741455, 0.4596517086029053, 0.3069798946380615, -0.3727819323539734, 0.8135884404182434, -0.3325248062610626, -0.09244942665100098, -0.4523741900920868, 0.3386342227458954, 0.23462586104869843, 0.2542557716369629, 0.4515605866909027, -0.7583626508712769, -0.31242215633392334, 0.10878533124923706, -0.9589593410491943, 0.11900818347930908, -0.060500774532556534, 0.020689822733402252, -0.04220730811357498, 0.5635169148445129, -0.34515029191970825, 0.4382338225841522, 0.701116681098938, -0.2112109661102295, 0.624120831489563, -0.05232786014676094, 0.05692640691995621, -0.966478705406189, -0.03495119884610176, 0.12632620334625244, -0.5903698205947876, -0.6694188117980957, 0.18126417696475983, 0.0024531318340450525, -0.292603999376297, -0.6231530904769897, 0.30505821108818054, -0.38168326020240784, -0.22698916494846344, -0.15863408148288727, -0.15253251791000366, 0.18534792959690094, 0.5442497730255127, 0.017507106065750122, 0.49257010221481323, 0.608290433883667, -0.12244553864002228, 0.7008411884307861, 0.16818028688430786, -0.529196560382843, 0.1361199915409088, -0.7882117629051208, 0.04203275591135025, -0.37877482175827026, -0.047696229070425034, -1.0022748708724976, 0.10381621867418289, 0.437310129404068, -0.3247542679309845, 0.18416602909564972, -0.23845498263835907, -0.05385543406009674, -0.34036028385162354, -0.2678391933441162, 0.6059384942054749, 0.4555881917476654, -0.49497032165527344, 0.9453245997428894, 0.105165995657444, -0.10417841374874115, -0.7364661693572998, -0.7024951577186584, 0.060404591262340546, 0.15841124951839447, -0.8124687671661377, -0.10770916193723679, 0.09518507122993469, -0.011843553744256496, -0.06483657658100128, 0.062360990792512894, 0.06315620988607407, -0.24722833931446075, 0.2875128984451294, 0.3787601590156555, -0.5298337340354919, 0.03144233301281929, -0.5894054174423218, -0.24353493750095367, -0.057893943041563034, -0.5379250049591064, 0.4560214877128601, -0.4531616270542145, -0.3324701488018036, -0.40113288164138794, 0.43442249298095703, 0.7642093896865845, -0.6069706678390503, 0.4389500021934509, 0.7976110577583313, -0.12635965645313263, -0.17966467142105103, -0.6962578296661377, -0.07283582538366318, -0.4806908369064331, 0.599588930606842, -0.33095645904541016, -0.9075934290885925, 0.1872420758008957, -0.07234849780797958, -0.09216886013746262, -0.13662873208522797, 0.4589240849018097, -0.3757605254650116, 0.7674329876899719, 0.6337663531303406, 0.1006258875131607, 1.0384491682052612, -0.07508448511362076, 0.032065387815237045, -0.5099353790283203, -0.33387768268585205, -0.01485629752278328, -0.23812784254550934, -0.29802244901657104, -0.806022584438324, 0.4738869369029999, -0.12418097257614136, -0.19500552117824554, 0.07822655141353607, -0.24119023978710175, 0.5020943880081177, 0.6601937413215637, 0.293761670589447, 0.12269721925258636, 0.34825244545936584, -0.42071789503097534, -0.12160038948059082, -0.984751284122467, 0.11874380707740784, 0.8750123977661133, 0.46554359793663025, 1.2655638456344604, -0.019699884578585625, 0.40230268239974976, 0.3887121081352234, -0.03914860635995865, -0.6566182374954224, 0.6459665894508362, -0.29669591784477234, 0.10720205307006836, -0.3663264513015747, -0.503521203994751, -0.9876478910446167, 0.479597270488739, -0.40175965428352356, -0.16419927775859833, 0.23952341079711914, 0.2566691040992737, -0.18961715698242188, 0.14497585594654083, -0.4996906518936157, 1.075026035308838, -0.5549927949905396, -0.5206682682037354, -0.17991359531879425, -0.5853055715560913, 0.4306785762310028, 0.3641841411590576, 0.06691691279411316, 0.23885075747966766, 0.3163558840751648, 0.23767505586147308, -0.2504913806915283, 0.9005370736122131, -0.14845657348632812, 0.1306518167257309, 0.0278548002243042, 0.04764402657747269, 0.7155331969261169, 0.02672485262155533, 0.3449937403202057, 0.300432413816452, -0.22876618802547455, -0.3878389000892639, -0.5884640216827393, 0.6795578598976135, -0.5569777488708496, -0.4306437373161316, -0.6727995276451111, -0.5570408701896667, 0.07687176018953323, 0.46466875076293945, -0.13932891190052032, 0.7641176581382751, 0.024284666404128075, 0.4817688763141632, 0.9291104674339294, -0.35976094007492065, 0.31773141026496887, 0.4041421413421631, -0.8581568002700806, -0.5983220934867859, 0.9022111892700195, -0.22497756779193878, 0.19270014762878418, 0.3238460123538971, 0.371268093585968, -0.11406952142715454, -0.7184118032455444, -0.3777267336845398, 0.11295317858457565, -0.7404825091362, -0.08825813233852386, -0.5058295130729675, -0.15602782368659973, -0.3917328417301178, 0.05723538622260094, -0.47406822443008423, -0.27115240693092346, -0.04164528474211693, 0.17692847549915314, 0.49058255553245544, 1.0108778476715088, 0.019761689007282257, -0.17331476509571075, -0.8788148164749146, 0.5560671091079712, 0.7993783354759216, 0.43865716457366943, 0.11212415248155594, -0.30733537673950195, -0.3099004030227661, -0.11350119858980179, 0.09306099265813828, -0.5337071418762207, 0.26575711369514465, -0.0037059516180306673, 0.6672176718711853, 0.3872220516204834, -0.2780818045139313, 0.7888314723968506, -0.6455135345458984, 0.7009715437889099, 0.47426488995552063, -0.6149628162384033, 0.4113996624946594, -0.5489100813865662, 0.7886964678764343, 0.1819828301668167, 0.10026616603136063, -0.7627673745155334, -0.16415917873382568, 0.10079427808523178, -0.8753780126571655, 0.4483802616596222, 0.10942598432302475, -0.0748777762055397, 0.052962739020586014, 0.24508273601531982, -0.003085592994466424, 0.06554725766181946, -0.9280723333358765, -0.3774007260799408, -0.6999499201774597, -0.14231084287166595, 0.2378179281949997, -0.49311938881874084, 0.04545619711279869, -0.1820211261510849, 0.3931821882724762, 0.030990803614258766, 0.16060090065002441, 0.22439496219158173, -0.3124142587184906, 0.1606941521167755, 0.1363135278224945, 0.9296412467956543, 0.6604121923446655, 0.0044731940142810345, 0.0738566517829895, 0.019408680498600006, -0.5353350043296814, -0.11152521520853043, -0.012963331304490566, -0.07514846324920654, 0.04452785104513168, 0.48791268467903137, 0.8637698888778687, 0.6032794117927551, -0.6511995792388916, 0.4851229786872864, -0.5318896174430847, -0.07977225631475449, -0.5396930575370789, -0.23788680136203766, 0.10221467167139053, 0.7988590598106384, 0.2628667950630188, 0.07519824802875519, -0.135677307844162, -0.2744922339916229, 0.43598291277885437, 0.4942505657672882, -0.3908557593822479, 0.04680453985929489, 0.5872933268547058, 0.24099326133728027, -0.2809768319129944, 0.9493409395217896, 0.08995792269706726, -0.43102550506591797, 0.21735447645187378, 0.5077307820320129, 0.6202874779701233, -0.149997740983963, 0.07793167978525162, 0.26627835631370544, 0.2536599338054657, 0.07142326235771179, 0.5314287543296814, -0.027935843914747238, -0.6690234541893005, -0.36650311946868896, -0.5412924289703369, -0.10285940766334534, 0.07501783221960068, -0.7331597208976746, 0.2562287449836731, -0.5194050669670105, -0.09759202599525452, -0.07428538054227829, -0.8496863842010498, -0.5846692323684692, -0.08154060691595078, 0.6860103607177734, 0.8581435084342957, -0.41281425952911377, 1.1768639087677002, 0.6318462491035461, -0.3356127142906189, -0.32801109552383423, -0.48554107546806335, 0.1600310355424881, -1.0145512819290161, 0.8301470875740051, 0.12586212158203125, -0.4497557580471039, 0.05964266136288643, -0.40269365906715393, -0.878447413444519, 1.1431455612182617, -0.01758776418864727, -0.7663128972053528, -0.0855601504445076, 0.1832922250032425, 0.33284568786621094, -0.3045087456703186, 0.062080517411231995, 0.08813979476690292, 0.4218611419200897, 0.20026040077209473, -0.5060173273086548, -0.2251340001821518, -0.48060664534568787, 0.6454191207885742, 0.03200848028063774, -0.35888856649398804, 1.060518503189087, -0.4069925546646118, -0.11884624511003494, 0.14274059236049652, 0.8478677272796631, 0.2829063832759857, 0.17314620316028595, 0.5640699863433838, 0.7576336860656738, 0.3420897424221039, -0.06748653948307037, 1.1506104469299316, 0.07276277989149094, 0.27317795157432556, 1.2703129053115845, -0.19476594030857086, 0.8130984306335449, 0.614465594291687, -0.11054781824350357, 0.6328935623168945, 0.14461173117160797, -0.32288846373558044, 0.6767744421958923, 0.20276916027069092, -0.31388911604881287, -0.4727359116077423, 0.1274372935295105, -0.5384621024131775, 0.333649218082428, 0.18777939677238464, -0.5201839208602905, -0.3143082857131958, 0.46240487694740295, -0.5084052085876465, -0.0005818750942125916, -0.2572152316570282, 0.7555046677589417, 0.15690602362155914, -0.19183966517448425, 0.5609045028686523, -0.09432347118854523, 0.6514099836349487, -1.0268441438674927, -0.4229770302772522, -0.15174737572669983, 0.20247003436088562, 0.056093480437994, -0.7572575211524963, 0.0034254363272339106, -0.2391515076160431, -0.5208866000175476, -0.4942931532859802, 0.7602512836456299, -0.5940530300140381, -0.678332507610321, 0.2979464530944824, 0.3583095967769623, -0.22808046638965607, 0.2216748595237732, -0.7880908250808716, 0.3909692168235779, 0.07702712714672089, -0.3571830987930298, 0.3382645845413208, 0.23617978394031525, 0.1325061023235321, 0.9527577757835388, 0.8739655613899231, -0.38476720452308655, 0.45254531502723694, 0.4372613728046417, 0.8643089532852173, -0.9268699884414673, -0.3267742991447449, -0.7350590229034424, 0.748217761516571, 0.2080814093351364, -0.12479763478040695, 0.8853462338447571, 0.47978663444519043, 0.9570488929748535, -0.4107147753238678, 0.7880624532699585, 0.049997709691524506, 0.21105040609836578, -0.5924385786056519, 0.6977673172950745, -0.5973592400550842, 0.1192149892449379, -0.029282383620738983, -0.3896084427833557, -0.31774935126304626, 0.7925293445587158, 0.020344002172350883, -0.03449637442827225, 0.5113505721092224, 0.9495871067047119, -0.036010995507240295, 0.09441929310560226, 0.5077434182167053, 0.2874647080898285, 0.1754760891199112, 0.5458213090896606, 1.1661261320114136, -0.262678325176239, 0.678168773651123, -0.4136078655719757, -0.07259295880794525, -0.07838123291730881, -1.0089877843856812, -0.854389488697052, -0.5560054779052734, -0.19116516411304474, -0.31187164783477783, 0.27228888869285583, 0.7006456255912781, 0.6966948509216309, -0.6397750377655029, -0.30108675360679626, -0.045295026153326035, 0.26542168855667114, -0.3630741536617279, -0.2260100543498993, -0.2677282989025116, -0.28961271047592163, -0.3744928538799286, 0.596532940864563, 0.33341893553733826, 0.021674716845154762, -0.3319326639175415, 0.07793410867452621, -0.40946725010871887, -0.2622915804386139, 0.9636117219924927, 0.48410651087760925, -0.8300949931144714, -0.30311068892478943, -0.02743624337017536, -0.1433553695678711, 0.0647539347410202, 1.1538811922073364, -1.0791577100753784, 0.7885571718215942, 0.6740286350250244, 0.6457192897796631, 0.6282913684844971, -0.1286412477493286, 0.7135298848152161, -0.7019258737564087, 0.1425287127494812, 0.11457915604114532, 0.41043171286582947, 0.1624847948551178, 0.02385793626308441, 0.1219983771443367, 0.354423463344574, -0.3443484604358673, -0.6934103965759277, 0.43566250801086426, -1.122577428817749, -0.246951624751091, 0.9141561985015869, -0.15375080704689026, -0.26280298829078674, -0.07323749363422394, -0.08859287947416306, -0.02724362537264824, -0.2688315212726593, 0.4937008023262024, 0.3761874735355377, -0.005458820145577192, -0.9138437509536743, -0.5985321998596191, 0.08242500573396683, 0.22043244540691376, -0.39228707551956177, -0.029970256611704826, 0.5355427265167236, 0.4365382492542267, -0.13004319369792938, 0.26626014709472656, -0.15994679927825928, 0.6081920266151428, 0.01926996558904648, 0.17769162356853485, -0.7740315794944763, -0.334503710269928, -0.7429140210151672, 0.18796049058437347, -0.1501191258430481, -0.22424383461475372 ]
http://arxiv.org/abs/2406.13361v1
http://arxiv.org/pdf/2406.13361v1
Improving Zero-Shot Cross-Lingual Transfer via Progressive Code-Switching
2024-06-19T09:06:24
2024-06-19T09:06:24
Zhuoran Li, Chunming Hu, Junfan Chen, Zhijun Chen, Xiaohui Guo, Richong Zhang
cs.CL
cs.CL, cs.LG
Code-switching is a data augmentation scheme mixing words from multiple languages into source lingual text. It has achieved considerable generalization performance of cross-lingual transfer tasks by aligning cross-lingual contextual word representations. However, uncontrolled and over-replaced code-switching would augment dirty samples to model training. In other words, the excessive code-switching text samples will negatively hurt the models' cross-lingual transferability. To this end, we propose a Progressive Code-Switching (PCS) method to gradually generate moderately difficult code-switching examples for the model to discriminate from easy to hard. The idea is to incorporate progressively the preceding learned multilingual knowledge using easier code-switching data to guide model optimization on succeeding harder code-switching data. Specifically, we first design a difficulty measurer to measure the impact of replacing each word in a sentence based on the word relevance score. Then a code-switcher generates the code-switching data of increasing difficulty via a controllable temperature variable. In addition, a training scheduler decides when to sample harder code-switching data for model training. Experiments show our model achieves state-of-the-art results on three different zero-shot cross-lingual transfer tasks across ten languages.
[ -0.1511175036430359, -0.6997488737106323, 0.27499300241470337, 0.3646986484527588, -0.23431551456451416, 0.17263832688331604, -0.3223833441734314, -0.3557978570461273, -0.22858202457427979, 0.400398313999176, -0.3342227339744568, -0.25740721821784973, -0.36108124256134033, 0.18946291506290436, -0.34495896100997925, 1.0491235256195068, -0.4877583682537079, 0.05907909944653511, 0.11869469285011292, 0.13175524771213531, -0.6291181445121765, -0.27795273065567017, -0.5109539031982422, -0.6504790186882019, 0.28366580605506897, 0.6325616836547852, 0.7878186702728271, 0.4608563184738159, 0.35047051310539246, 0.19772663712501526, 0.12200085073709488, -0.2824063003063202, -0.6376471519470215, -0.03762156516313553, -0.36058589816093445, -0.6841504573822021, -0.4102027416229248, -0.20416264235973358, 0.3873758614063263, 0.7432684898376465, -0.129001185297966, -0.11032169312238693, -0.1072785034775734, 0.7021546363830566, -0.5859728455543518, 0.15565405786037445, -0.6696754693984985, 0.5097038745880127, -0.35961008071899414, -0.42302843928337097, -0.5046687126159668, 0.0019111887086182833, -0.1726239025592804, -0.4884198009967804, 0.2518766522407532, -0.4260813295841217, 0.819512128829956, -0.22846584022045135, -0.35088488459587097, -0.11678432673215866, -0.9533431529998779, 0.8044064044952393, -0.5623986721038818, 0.6345602869987488, 0.3202970623970032, 0.17991842329502106, 0.40163087844848633, -0.5590819716453552, -0.5582770705223083, -0.3614460825920105, 0.2963767945766449, 0.10936202108860016, -0.278872013092041, -0.12138723582029343, 0.07868580520153046, 0.12948283553123474, -0.4941839277744293, -0.13216154277324677, -0.45048436522483826, -0.1448732614517212, 0.49047040939331055, 0.14576153457164764, 0.5859279632568359, 0.1412724405527115, -0.25801581144332886, -0.20209166407585144, -0.7113412618637085, 0.142364963889122, 0.27467080950737, 0.48726364970207214, -0.09995719790458679, 0.36127763986587524, -0.3912595212459564, 0.8683758974075317, 0.3504427671432495, -0.15179234743118286, 0.6277511119842529, -0.6440812945365906, -0.19613775610923767, 0.0069411806762218475, 0.28477582335472107, 0.3398081660270691, 0.32936862111091614, -0.45909547805786133, -0.2104751020669937, 0.12378642708063126, 0.1962318867444992, -0.8062106370925903, -0.4000292420387268, -0.041422322392463684, -0.3193622827529907, -0.3661777079105377, -0.1444111466407776, -0.7877715229988098, 0.07907265424728394, -0.3652849793434143, 0.38458460569381714, -0.661645233631134, -0.44960156083106995, 0.489929735660553, -0.14000201225280762, 0.334052711725235, 0.20655156672000885, -0.7881191372871399, 0.15505409240722656, 0.1944851130247116, 0.895900309085846, -0.400488942861557, -0.4293321669101715, -0.5797759294509888, 0.17406630516052246, -0.5118470191955566, 0.5737211108207703, -0.8982858657836914, -0.5990764498710632, 0.03333963081240654, 0.207473486661911, -0.2653410732746124, -0.39800408482551575, -0.04394067823886871, -0.5540021061897278, 0.35896793007850647, 0.06455022841691971, -0.23046667873859406, 0.04718982055783272, 0.36854588985443115, -0.40056663751602173, 0.9521818161010742, 0.1952851414680481, -0.48787230253219604, 0.17769408226013184, -0.3819451332092285, -0.6723471283912659, 0.10853664577007294, -0.01632845029234886, -0.45020177960395813, 0.006979809142649174, 0.09559069573879242, 0.22592350840568542, 0.2113998830318451, 0.0186361875385046, -0.09004950523376465, -0.5932053923606873, 0.07258192449808121, -0.40724778175354004, 0.6563374996185303, 0.08983629196882248, -0.5869029760360718, -0.18532682955265045, -0.6619261503219604, 0.17243483662605286, -0.07390226423740387, -0.5924495458602905, -0.46544864773750305, -0.3854618966579437, 0.19662201404571533, 0.42225155234336853, 0.21163567900657654, -0.391510546207428, 0.5338143110275269, -0.11791831254959106, 0.10798544436693192, 0.43735477328300476, -0.20639145374298096, 0.7982778549194336, -0.34568503499031067, 0.9755386710166931, 0.16397254168987274, 0.14466996490955353, -0.2708858251571655, -0.5120618939399719, -0.6807429194450378, 0.18255475163459778, 0.45020782947540283, 0.9622441530227661, -1.6146440505981445, 0.06198876351118088, -0.18161806464195251, -0.41646769642829895, -0.46006470918655396, 0.4334055483341217, 0.6501016020774841, 0.40553951263427734, 0.44700849056243896, -0.5637174248695374, -0.1725548803806305, -0.4264391362667084, -0.1836191564798355, -0.026073217391967773, -0.05942518264055252, 0.10925451666116714, 0.303252637386322, -0.14369609951972961, 0.7555988430976868, -0.4429633319377899, -0.12080519646406174, -0.46541306376457214, 0.2638210952281952, 0.16820096969604492, 0.5969810485839844, 0.2726493179798126, -0.8319228887557983, -0.8633386492729187, 0.2924690246582031, -0.38624510169029236, -0.2690357565879822, -0.5836958289146423, -0.1384333074092865, 0.27863073348999023, 0.8034461736679077, -0.2654849588871002, 0.20687299966812134, 0.6372343897819519, -0.3903937041759491, 0.6964016556739807, -0.2557566463947296, 0.254756361246109, -0.6467081904411316, 0.13183166086673737, -0.17133623361587524, -0.16016072034835815, -0.9975985884666443, 0.2168378084897995, 0.34309425950050354, -0.22484125196933746, -0.9655251502990723, 0.4381767213344574, -0.6149433255195618, 0.29495367407798767, -0.1684340089559555, -0.22530151903629303, 0.11854538321495056, 0.6143248081207275, 0.17301268875598907, 0.7374330163002014, 0.6247525811195374, -0.6048821806907654, 0.2689189016819, -0.06412992626428604, -0.01759178563952446, 0.6580229997634888, -0.34350988268852234, 0.3579959273338318, 0.03399484604597092, 0.04565475136041641, -0.9983335137367249, 0.3548531234264374, 0.43547818064689636, -0.16995884478092194, 0.6475374102592468, -0.2829029858112335, -0.13988080620765686, -0.10199660807847977, -0.18958497047424316, 0.7087820768356323, 0.4471438229084015, -0.28115540742874146, 0.36815860867500305, -0.008173346519470215, -0.3620620369911194, -0.2933747172355652, -1.014517068862915, 0.4348506033420563, -0.0368545837700367, -0.36797627806663513, 0.8148729205131531, -0.15480202436447144, 0.11284253746271133, 0.061765704303979874, -0.059841472655534744, -0.22613771259784698, -0.3859808146953583, -0.2353656142950058, 0.38864946365356445, -0.07389704883098602, 0.10802697390317917, 0.04389716312289238, -0.12312378734350204, -0.23905903100967407, -0.2653017044067383, 0.6469386219978333, -0.0700317844748497, -0.22052869200706482, -0.028365354984998703, 0.3687756359577179, 0.25599732995033264, -0.14789219200611115, 0.243095263838768, 0.7588250041007996, -0.0718022808432579, -0.08461513370275497, -0.11958596855401993, 0.00797032006084919, -0.4562988877296448, 0.5933986902236938, -0.6892626881599426, -0.654439389705658, 0.3740176856517792, -0.12759418785572052, 0.03483929857611656, -0.014563202857971191, 0.45594432950019836, 0.27807924151420593, 0.9702855944633484, 0.9653724431991577, -0.03499973565340042, 0.7374853491783142, -0.18455208837985992, 0.1859530508518219, -0.42645463347435, -0.019792115315794945, -0.27937620878219604, -0.29149433970451355, -0.5317339301109314, -0.906737208366394, 0.13969166576862335, 0.13893863558769226, -0.14754833281040192, 0.5153339505195618, -0.4406856894493103, 0.4939475357532501, 0.08312255144119263, 0.2694574296474457, 0.36259931325912476, 0.1595093309879303, -0.12483647465705872, -0.15400026738643646, -0.8207075595855713, 0.09108167141675949, 0.9545254111289978, 0.260054349899292, 0.9793716669082642, 0.07083375006914139, 0.5992942452430725, 0.17626893520355225, 0.13481499254703522, -0.571864664554596, 0.618485689163208, -0.5311177968978882, -0.45874205231666565, -0.30190983414649963, -0.662222146987915, -0.866614580154419, 0.12157762795686722, 0.04377265274524689, -0.3593747913837433, 0.5142488479614258, -0.04007135331630707, -0.07718256860971451, 0.45082107186317444, -0.6697320342063904, 0.6251490712165833, -0.26094678044319153, -0.5533495545387268, -0.0564059242606163, -0.5385714769363403, 0.5122513175010681, -0.18007393181324005, 0.21728511154651642, 0.1601860523223877, -0.19989372789859772, 0.33603769540786743, -0.037082139402627945, 1.0062156915664673, -0.24686679244041443, -0.4169834554195404, 0.051790643483400345, 0.4644908010959625, 0.2919847071170807, -0.2749801278114319, -0.144076868891716, 0.3691825866699219, -0.2838189899921417, -0.49199432134628296, -0.4673198163509369, 0.3584807217121124, -0.5609803199768066, -0.28202950954437256, -0.2688411474227905, -0.5441986322402954, -0.28975027799606323, 0.16656477749347687, 0.3006385862827301, 0.23478461802005768, -0.017696600407361984, 0.03372520953416824, 0.604137659072876, -0.41882196068763733, 0.46490880846977234, 0.8069800734519958, -0.39840665459632874, -0.16193021833896637, 1.3564082384109497, 0.21869608759880066, 0.5906034111976624, 0.5166208148002625, -0.0091084074229002, -0.018907710909843445, -0.40897777676582336, -0.6974266767501831, -0.1392199993133545, -0.4036121666431427, -0.24800944328308105, -0.2346370369195938, -0.19471585750579834, -0.25917327404022217, -0.4352037310600281, -0.4391563832759857, -0.2583938539028168, -0.24375931918621063, 0.15259096026420593, 0.13887429237365723, 0.1133819967508316, -0.16173911094665527, 0.1886443942785263, -0.8248034119606018, 0.5403027534484863, 0.36368680000305176, 0.577972948551178, -0.2879352867603302, -0.705724835395813, -0.3231509327888489, -0.03497232124209404, -0.29129818081855774, -1.0542023181915283, 0.5374017953872681, 0.5121835470199585, 0.26462966203689575, 0.31074658036231995, 0.05257979407906532, 0.7557140588760376, -0.5554307103157043, 0.6816205382347107, 0.5577104091644287, -1.1514778137207031, 0.3033665716648102, -0.23962818086147308, 0.8334944844245911, 0.666571855545044, 0.26324987411499023, -0.8048768639564514, -0.4336733818054199, -0.22580809891223907, -0.9924326539039612, 0.64198237657547, 0.1063714399933815, 0.5100109577178955, 0.0592777244746685, 0.33480387926101685, 0.21194522082805634, 0.23086212575435638, -0.8857804536819458, 0.04140933230519295, -0.4087609052658081, 0.21226747334003448, 0.07571477442979813, 0.16996175050735474, 0.1450425088405609, -0.5077858567237854, 0.5169327855110168, -0.3365209400653839, 0.27399611473083496, 0.13660375773906708, -0.26267382502555847, -0.3068813383579254, 0.5121240615844727, 0.4789239168167114, 0.6194449663162231, -0.11012982577085495, 0.062100544571876526, 0.3169291317462921, -0.5785765647888184, 0.33604881167411804, 0.028273317962884903, -0.3512069880962372, 0.31692343950271606, 0.24757304787635803, 0.7986833453178406, 0.43876779079437256, -0.5281662344932556, 0.3820697069168091, 0.12415469437837601, -0.3113057315349579, 0.21224713325500488, 0.11076019704341888, -0.011113340966403484, -0.03849974647164345, 0.22081078588962555, 0.17832784354686737, 0.08514068275690079, -0.8790282607078552, 0.4244406223297119, 0.12527209520339966, -0.4431873559951782, -0.3297240734100342, 0.36191290616989136, 0.33624136447906494, -0.3346564769744873, 0.7534306645393372, -0.35201895236968994, -0.4981836676597595, 0.5936477780342102, 0.7871627807617188, 0.7509298920631409, -0.5478748679161072, 0.5105286836624146, 0.06716331839561462, 0.17934860289096832, -0.1561768651008606, 0.4468715786933899, -0.17050261795520782, -0.8061098456382751, -0.5345878601074219, -0.2894347906112671, -0.45969119668006897, -0.18932345509529114, -0.7676261067390442, 0.4334031641483307, -0.10586325079202652, -0.06459268927574158, -0.4248240888118744, -0.1394992619752884, -0.8729439973831177, 0.21906927227973938, 0.3127588629722595, 1.0243462324142456, -0.8548159003257751, 1.205470085144043, 0.5877810120582581, -0.3326990306377411, -0.4537094533443451, 0.17049060761928558, -0.3278101980686188, -0.9399939775466919, 0.5704480409622192, -0.028213856741786003, -0.10468142479658127, -0.14398206770420074, -0.3519403040409088, -0.32582366466522217, 0.9571624398231506, 0.39313989877700806, -1.0720162391662598, -0.14875322580337524, 0.31867751479148865, 0.6122231483459473, -0.3421788811683655, 0.3404655456542969, 0.6570420861244202, 0.41624021530151367, 0.14618614315986633, -0.972773015499115, 0.09436658769845963, -0.5487644672393799, 0.08252663165330887, 0.1745908260345459, -0.527582585811615, 1.0732632875442505, -0.31806230545043945, -0.19927968084812164, -0.21884950995445251, 0.31997421383857727, 0.09373024106025696, 0.521990180015564, 0.7710345983505249, 0.3432380259037018, 0.32399463653564453, 0.23305849730968475, 0.7470315098762512, -0.5801767110824585, 0.26642897725105286, 0.9752568602561951, -0.4920905530452728, 1.052762746810913, 0.6018044352531433, -0.2667497396469116, 0.6207855939865112, 0.33987006545066833, -0.1265287697315216, 0.7139184474945068, 0.33634281158447266, -0.20399688184261322, -0.2453162968158722, 0.13898195326328278, -0.6872281432151794, 0.46623334288597107, 0.1534116417169571, -0.12636500597000122, -0.475357323884964, 0.26320233941078186, 0.22670365869998932, -0.14693531394004822, -0.19210228323936462, 0.597917914390564, -0.07606293261051178, -0.5931796431541443, 0.8180302381515503, 0.2310892939567566, 1.0087623596191406, -0.7873362302780151, -0.19625960290431976, -0.49675798416137695, 0.031203221529722214, -0.14839793741703033, -0.8798609375953674, 0.4212090075016022, 0.07409906387329102, -0.043605487793684006, -0.6229879260063171, 0.7162047624588013, -0.8662887811660767, -0.7056056261062622, 0.48187053203582764, 0.6067651510238647, 0.20555049180984497, -0.041905682533979416, -0.893073320388794, 0.1041962280869484, 0.22295799851417542, -0.11000283062458038, 0.638881504535675, 0.4521333575248718, 0.013228684663772583, 0.28512319922447205, 0.6503235101699829, 0.2759930491447449, 0.022709716111421585, 0.24061380326747894, 0.9431665539741516, -0.756581723690033, -0.6919607520103455, -0.6736558079719543, 0.3972312808036804, 0.17205016314983368, -0.3686182498931885, 0.47151994705200195, 0.38548851013183594, 0.9519715309143066, -0.1663612574338913, 0.7897672653198242, -0.10231579095125198, -0.017786948010325432, -0.5680159330368042, 0.6438098549842834, -0.6013646125793457, 0.347793847322464, -0.4324262738227844, -0.7009070515632629, -0.28674378991127014, 0.4584328532218933, -0.2626226842403412, 0.027828475460410118, 0.5116105675697327, 0.9106619954109192, -0.26254191994667053, -0.39465856552124023, 0.5511273145675659, 0.12232966721057892, 0.3506162762641907, 1.0679982900619507, 0.41623157262802124, -0.49462229013442993, 1.019244909286499, -0.44792690873146057, -0.3318774402141571, -0.17409415543079376, -0.9887873530387878, -0.5826274156570435, -0.4127291142940521, -0.7000793814659119, -0.4230245351791382, 0.5739214420318604, 0.2963235080242157, 0.7058839201927185, -0.7461150288581848, -0.496866375207901, -0.3314858078956604, -0.0012103177141398191, -0.5979779362678528, -0.3525991439819336, 0.086762435734272, -0.5614308714866638, -0.6829570531845093, 0.36315298080444336, 0.28139275312423706, -0.17338807880878448, -0.3299422860145569, -0.1253412514925003, -0.1090644970536232, 0.1162799596786499, 0.6325453519821167, 0.5081730484962463, -0.17561687529087067, -0.1971735805273056, 0.2260918766260147, -0.2024051398038864, 0.1283321976661682, 0.943798840045929, -0.78594571352005, 0.7197400331497192, 0.6297568082809448, 0.6288799047470093, 0.5353034138679504, -0.30716538429260254, 0.7421216368675232, -0.8311575055122375, 0.02173973247408867, 0.0028866168577224016, 0.04455878213047981, 0.3678666949272156, -0.3484293520450592, 0.341814786195755, 0.4025095999240875, -0.2527630925178528, -0.8319274187088013, 0.16015523672103882, -0.780851423740387, -0.6069068312644958, 1.3641200065612793, -0.1631074696779251, 0.013071905821561813, -0.43675774335861206, -0.17037127912044525, 0.13299188017845154, -0.27269867062568665, 0.9842851161956787, 0.6361690163612366, -0.27023178339004517, -0.3760643005371094, -0.483529269695282, 0.3644072115421295, 0.620195209980011, -0.6702892780303955, -0.05648122355341911, 0.13549482822418213, 0.4780963659286499, 0.2358127385377884, 0.886561930179596, -0.23927246034145355, 0.5139935612678528, 0.13363081216812134, 0.2952786684036255, -0.041840508580207825, -0.39946410059928894, -0.5981495380401611, 0.2641232907772064, -0.42128387093544006, -0.34646672010421753 ]
http://arxiv.org/abs/2406.13357v1
http://arxiv.org/pdf/2406.13357v1
Transferable speech-to-text large language model alignment module
2024-06-19T09:04:43
2024-06-19T09:04:43
Boyong Wu, Chao Yan, Haoran Pu
cs.CL
cs.CL, cs.SD, eess.AS
By leveraging the power of Large Language Models(LLMs) and speech foundation models, state of the art speech-text bimodal works can achieve challenging tasks like spoken translation(ST) and question answering(SQA) altogether with much simpler architectures. In this paper, we utilize the capability of Whisper encoder and pre-trained Yi-6B. Empirical results reveal that modal alignment can be achieved with one layer module and hundred hours of speech-text multitask corpus. We further swap the Yi-6B with human preferences aligned version of Yi-6B-Chat during inference, and discover that the alignment capability is applicable as well. In addition, the alignment subspace revealed by singular value decomposition(SVD) also implies linear alignment subspace is sparse, which leaves the possibility to concatenate other features like voice-print or video to expand modality.
[ 0.00990169495344162, -0.6637555956840515, 0.42385974526405334, 0.12700407207012177, -0.17294737696647644, 0.025422880426049232, -0.24975870549678802, -0.5065897107124329, 0.06968685984611511, 0.5783175230026245, -0.7571699023246765, -0.3216172754764557, -0.3936169743537903, -0.09692901372909546, -0.3952494263648987, 0.8483840823173523, 0.3279324769973755, -0.031650666147470474, -0.18101458251476288, -0.14892064034938812, -0.7534031271934509, -0.372046560049057, -0.23463089764118195, -0.057565513998270035, 0.6019671559333801, 0.24197711050510406, 0.782939076423645, 0.5968945622444153, 0.3666701018810272, 0.3058858811855316, 0.02971154823899269, 0.23300400376319885, -0.3620438873767853, -0.019905410706996918, -0.23385338485240936, -0.4381672739982605, -0.7519996166229248, -0.2954140603542328, 0.8193596601486206, 0.7079039812088013, -0.026287883520126343, 0.08346500992774963, -0.023820236325263977, 0.35901758074760437, -0.3057391047477722, 0.14652472734451294, -0.6871024966239929, -0.3783777952194214, -0.2837095558643341, 0.0757993534207344, -0.5623914003372192, -0.3134002983570099, 0.46489217877388, -0.5542246699333191, -0.3031409978866577, 0.06401437520980835, 0.8316330909729004, 0.41009876132011414, -0.7469883561134338, -0.1297461986541748, -0.8106684684753418, 0.8618069887161255, -0.9622843861579895, 0.6241446137428284, 0.19537048041820526, 0.3446352481842041, 0.04682542011141777, -0.6453099846839905, -0.9009379744529724, 0.11738424748182297, 0.02307049185037613, 0.10930439084768295, -0.006660310551524162, 0.4170123040676117, 0.1380772441625595, 0.17870713770389557, -0.6489234566688538, 0.2154684215784073, -0.3366532623767853, -0.33250829577445984, 0.5437108278274536, 0.125166118144989, 0.5148231983184814, -0.44823789596557617, -0.4233960211277008, -0.04590244218707085, -0.3628990352153778, 0.09291741997003555, 0.33051836490631104, 0.4758204221725464, -0.3273910582065582, 0.6049656271934509, 0.10599098354578018, 0.9488441348075867, 0.1066335067152977, -0.5903398394584656, 0.5385231375694275, -0.5362328290939331, -0.25729840993881226, 0.19411778450012207, 0.759776771068573, 0.18760369718074799, -0.10028883069753647, -0.18236082792282104, -0.01200538594275713, -0.01567278429865837, 0.43487119674682617, -0.521796703338623, 0.3014480173587799, 0.1121002733707428, -0.4958166778087616, 0.0009658196941018105, -0.09048023819923401, -0.6091155409812927, -0.07883745431900024, -0.46702879667282104, 0.8571378588676453, -0.37242358922958374, -0.3045687675476074, 0.3518015146255493, 0.07758630812168121, 0.5928470492362976, 0.43348729610443115, -0.9996225237846375, 0.030527034774422646, 0.6840192079544067, 0.7688322067260742, -0.4274376332759857, -0.24563369154930115, -0.38750848174095154, 0.5280367732048035, -0.2485702633857727, 0.5119033455848694, -0.4993957281112671, -0.07074622064828873, 0.1854449063539505, 0.020085075870156288, -0.3387891948223114, -0.26656782627105713, 0.6318694353103638, -0.49054035544395447, 0.47071024775505066, -0.038266465067863464, -0.6143622994422913, -0.38338732719421387, 0.04610824212431908, -0.5485255718231201, 0.8945816159248352, 0.17169298231601715, -0.5663025379180908, -0.09718697518110275, -0.36714643239974976, -0.369411438703537, -0.0994391143321991, -0.12394221127033234, -0.25367414951324463, 0.027170585468411446, 0.14373548328876495, 0.3941214680671692, -0.21993935108184814, 0.25700056552886963, -0.21592146158218384, -0.17639778554439545, 0.47628822922706604, -0.586606502532959, 0.6765055656433105, 0.2358408123254776, -0.2673201560974121, 0.38421720266342163, -0.6869160532951355, 0.09457827359437943, -0.4240742027759552, -0.2578963339328766, -0.17198510468006134, -0.06410699337720871, 0.2770591378211975, 0.15156950056552887, 0.5425671935081482, -0.460564523935318, 0.24692587554454803, -0.44002968072891235, 0.5642834305763245, 0.6156305074691772, -0.29906153678894043, 0.6353933215141296, -0.43064120411872864, 0.39787453413009644, -0.09364259243011475, 0.1919342577457428, -0.10274684429168701, -0.4234790802001953, -0.6750453114509583, -0.5329070091247559, 0.35638734698295593, 0.6133648157119751, -0.7079178094863892, 0.6181973814964294, -0.5942703485488892, -0.46689414978027344, -0.9341593384742737, -0.056414686143398285, 0.42127758264541626, 0.6180883646011353, 0.2715240716934204, -0.0389411486685276, -0.31468847393989563, -1.200258493423462, 0.11194152384996414, -0.29276829957962036, 0.04267518222332001, 0.16208700835704803, 0.0006452719680964947, -0.19137857854366302, 0.779380202293396, -0.30010223388671875, -0.23958075046539307, -0.3412114381790161, -0.02255879156291485, 0.27813857793807983, 0.5038083791732788, 0.49121877551078796, -0.8724982738494873, -0.3774998188018799, 0.24701200425624847, -0.40225130319595337, -0.29577773809432983, -0.18610809743404388, -0.13918185234069824, 0.1688675731420517, 0.39405208826065063, -0.8013129830360413, 0.3174404203891754, 0.7858293652534485, -0.2384120523929596, 0.34483227133750916, 0.05252399668097496, 0.32575350999832153, -1.618980884552002, 0.12584646046161652, -0.3976401090621948, -0.40213724970817566, -0.9204017519950867, -0.23263013362884521, 0.2094210386276245, -0.05226300284266472, -0.3995131254196167, 0.3617189824581146, -0.43764376640319824, -0.2920372486114502, -0.38596582412719727, 0.2606331706047058, 0.029670286923646927, 0.4757317900657654, 0.03974274545907974, 0.7843949198722839, 0.42633745074272156, -0.28503933548927307, 0.3467910587787628, 0.56523197889328, -0.5237632989883423, 0.4905027747154236, -0.5387739539146423, 0.3832789957523346, -0.009147667326033115, 0.09304088354110718, -1.1885640621185303, -0.24795444309711456, 0.058222535997629166, -0.4612276256084442, 0.36399292945861816, -0.2620260715484619, -0.26678767800331116, 0.19104044139385223, -0.1311749666929245, 0.5555476546287537, 0.555005669593811, -0.42050015926361084, 0.9188188910484314, 0.3257858455181122, -0.5858832597732544, -0.6615602970123291, -0.5398674607276917, 0.13096214830875397, -0.19017350673675537, -0.9034831523895264, 0.6674841046333313, -0.17757093906402588, 0.04326906427741051, -0.12183195352554321, -0.00624883035197854, -0.07033795863389969, -0.37514549493789673, 0.2945004999637604, 0.6519970893859863, -0.44221231341362, 0.1244712844491005, 0.16041725873947144, 0.10869166254997253, -0.3068391978740692, -0.06548290699720383, 0.5314780473709106, 0.08065780997276306, -0.48912349343299866, -0.6823769211769104, 0.5877929329872131, 0.8705571293830872, -0.22216306626796722, 0.4610254466533661, 0.445718377828598, -0.4828798472881317, -0.03523023799061775, -0.871019721031189, 0.12543877959251404, -0.4484800100326538, 0.6166995167732239, -0.23826554417610168, -1.0508460998535156, 0.312505841255188, 0.12980078160762787, 0.22249291837215424, 0.1570899784564972, 0.5277376174926758, -0.02386334165930748, 1.0548473596572876, 0.7162895202636719, -0.36711061000823975, 0.5574620962142944, 0.29579266905784607, 0.3446807563304901, -0.8055458068847656, -0.3408501148223877, -0.6641667485237122, -0.4206135869026184, -0.17970462143421173, -0.5501676797866821, 0.28658542037010193, -0.013048994354903698, -0.048915229737758636, 0.41776731610298157, -0.3671377897262573, 0.023842446506023407, 0.2695654332637787, 0.019456585869193077, 0.2740294635295868, -0.1553795486688614, 0.2996979355812073, -0.2804572582244873, -0.4334251284599304, -0.4143266975879669, 0.6923205256462097, 0.33545833826065063, 0.7987557053565979, 0.4099954068660736, 0.30798476934432983, -0.021912982687354088, 0.028073269873857498, -0.9474858045578003, 0.48225051164627075, -0.22327758371829987, -0.5806735157966614, -0.3439522981643677, -0.17380619049072266, -0.5201747417449951, 0.15350186824798584, -0.3066175580024719, -0.8956604599952698, 0.2786298394203186, -0.10488191246986389, -0.4093325734138489, 0.022429417818784714, -0.9636451005935669, 0.867220401763916, -0.3737914562225342, -0.1649244874715805, -0.1962071657180786, -0.7060670852661133, 0.1834004819393158, -0.08988824486732483, 0.27134209871292114, -0.010632801800966263, -0.23115570843219757, 0.8066961169242859, -0.2745756506919861, 1.022143006324768, 0.05018232390284538, -0.2867157459259033, 0.10291960835456848, -0.19592531025409698, 0.33394354581832886, -0.33123064041137695, 0.0010021255584433675, -0.05925412476062775, 0.1382492184638977, -0.1842285841703415, -0.828948974609375, 0.5770910382270813, -0.9193308353424072, -0.7149657607078552, -0.25076043605804443, -0.9055105447769165, -0.46040627360343933, 0.212405264377594, -0.016163069754838943, 0.6922169327735901, -0.04352802038192749, 0.38784509897232056, 0.7461945414543152, -0.17742137610912323, 0.45842230319976807, 0.3880815804004669, -0.2870282232761383, -0.5962576866149902, 0.8324488401412964, 0.12794439494609833, 0.5900520086288452, 0.6754575371742249, 0.15732568502426147, -0.5685436129570007, -0.7166225910186768, -0.5594189167022705, 0.2890072762966156, -0.39748817682266235, -0.20023119449615479, -0.734947919845581, -0.5194862484931946, -0.6909467577934265, -0.4050338566303253, -0.4194517731666565, -0.43161165714263916, -0.327750027179718, -0.13051828742027283, 0.22002917528152466, 0.5694531798362732, 0.13730359077453613, 0.3707282543182373, -1.0389611721038818, 0.33321747183799744, 0.5708828568458557, -0.11093775182962418, -0.21616409718990326, -0.9723802804946899, -0.11885472387075424, 0.1350882649421692, -0.01918359100818634, -0.8866320252418518, 0.33755072951316833, 0.3130749762058258, 0.4721338748931885, 0.5374744534492493, 0.006685010157525539, 1.00591242313385, -0.3773915767669678, 0.8960352540016174, 0.4558962285518646, -1.0775760412216187, 0.2430434674024582, -0.5437784194946289, 0.32087379693984985, 0.41626089811325073, 0.1768587976694107, -0.6515511274337769, -0.015694856643676758, -0.20668774843215942, -0.5549241900444031, 0.6045631766319275, 0.01665704883635044, 0.2795334458351135, 0.38308486342430115, 0.4566709101200104, 0.2944546639919281, 0.1431712508201599, -0.6106284260749817, -0.02032225765287876, -0.33091866970062256, -0.7257479429244995, -0.026493454352021217, -0.20668092370033264, -0.040235668420791626, -0.22124314308166504, 0.5347477197647095, -0.3323434293270111, 0.22301794588565826, 0.09933602809906006, -0.18266642093658447, 0.20486772060394287, 0.4946480989456177, 0.6557823419570923, 0.5969839692115784, -0.0465986393392086, 0.28256210684776306, 0.014651886187493801, -0.4022226631641388, 0.1323126256465912, 0.20574086904525757, -0.12749198079109192, -0.19276992976665497, 0.46901220083236694, 0.8746029734611511, 0.4410497844219208, -0.7414611577987671, 0.6780692934989929, 0.167732834815979, -0.18817339837551117, -0.1075495034456253, 0.00353027880191803, 0.5394534468650818, 0.46176454424858093, 0.3135066032409668, -0.16411380469799042, 0.04511486738920212, -0.7296302914619446, -0.01330623310059309, 0.6003694534301758, -0.5914415121078491, -0.567552924156189, 0.5939192771911621, 0.23472416400909424, -0.46913617849349976, 0.4330816864967346, 0.28159502148628235, -0.5196934342384338, 0.2055489867925644, 0.8203735947608948, 0.7059842348098755, -0.29436376690864563, 0.1513245850801468, 0.027194757014513016, 0.22919821739196777, 0.001866611884906888, 0.268553763628006, 0.033804427832365036, -0.908768892288208, -0.7012381553649902, -0.5487820506095886, -0.38638702034950256, 0.10320453345775604, -0.7542186379432678, 0.22749316692352295, -0.14497676491737366, -0.0877443328499794, 0.2181355208158493, -0.22183223068714142, -0.4124102294445038, -0.03532956540584564, 0.14751261472702026, 0.6141211986541748, -0.5846853256225586, 1.089928388595581, 0.6901315450668335, -0.1825055032968521, -0.9806945323944092, -0.19958876073360443, 0.1302148401737213, -0.8142863512039185, 0.5143002271652222, 0.08781488239765167, -0.2078845500946045, 0.06623942404985428, -0.4567844271659851, -0.852411150932312, 1.1650028228759766, 0.6243681311607361, -0.7040590047836304, -0.317876935005188, 0.2549609839916229, 0.37323886156082153, -0.4235984981060028, 0.06788857281208038, 0.31153184175491333, 0.4167097806930542, 0.15295201539993286, -1.3912285566329956, -0.0942087173461914, -0.15620023012161255, -0.0017750627594068646, 0.11536941677331924, -0.8096939325332642, 0.5598993301391602, 0.012590626254677773, -0.21553929150104523, 0.23296231031417847, 0.9095163941383362, -0.2279665172100067, 0.0622141994535923, 0.6597169637680054, 0.4820865988731384, 0.5827633738517761, 0.08772031962871552, 0.4661979675292969, 0.00758016062900424, -0.07969684153795242, 1.0057263374328613, -0.46188992261886597, 1.0372322797775269, 0.5801933407783508, -0.025597447529435158, 0.4179546535015106, 0.2225438952445984, 0.3302883207798004, 0.5677592754364014, -0.31441056728363037, -0.48309817910194397, -0.5545821189880371, -0.27823466062545776, -0.26531845331192017, 0.6680299639701843, 0.37451601028442383, 0.033673107624053955, 0.05188671872019768, 0.0321129746735096, -0.18757356703281403, 0.10013828426599503, -0.20858065783977509, 0.9865280389785767, 0.07724756747484207, -0.672789454460144, 0.3223138153553009, -0.18295328319072723, 0.970558226108551, -0.998600959777832, -0.009631584398448467, 0.13707639276981354, 0.05187198519706726, -0.24203413724899292, -0.5746169686317444, 0.2858096659183502, -0.33871209621429443, -0.373507022857666, -0.27741414308547974, 0.9432527422904968, -0.7372133731842041, -0.16485583782196045, 0.15064671635627747, 0.5710519552230835, -0.06711041182279587, 0.16547074913978577, -0.40443047881126404, 0.19650982320308685, 0.23670999705791473, -0.06302474439144135, 0.5914025902748108, 0.32279086112976074, 0.0888446569442749, 0.611183762550354, 0.6106094121932983, -0.025824716314673424, 0.3275197148323059, 0.0741698145866394, 0.814013659954071, -0.6716318726539612, -0.42550498247146606, -0.5468125343322754, 0.5027689337730408, -0.04220769181847572, -0.33464428782463074, 0.6112370491027832, 0.480825275182724, 0.5494352579116821, -0.08605700731277466, 0.9149929881095886, -0.07570068538188934, 0.5761171579360962, -0.7232169508934021, 0.6318721771240234, -0.31328514218330383, -0.01636834628880024, -0.36101722717285156, -0.9201350212097168, -0.024544063955545425, 0.6032763123512268, -0.020030684769153595, -0.32609862089157104, 0.6595224142074585, 0.9931935667991638, 0.06644347310066223, 0.042691800743341446, 0.5481798052787781, 0.09035583585500717, 0.31461596488952637, 0.5353911519050598, 0.8266497850418091, -0.39644378423690796, 0.7034657001495361, -0.07735612243413925, -0.3308660686016083, -0.080467090010643, -0.8322458863258362, -0.8600058555603027, -0.9905833005905151, -0.35447925329208374, -0.184703528881073, -0.012916119769215584, 0.9220016598701477, 0.7265036702156067, -0.38298171758651733, -0.2553139626979828, 0.5930629372596741, 0.003960583824664354, -0.21939851343631744, -0.22111958265304565, 0.5071962475776672, -0.11643224209547043, -0.8646460771560669, 0.6316282749176025, 0.5071402788162231, 0.09986011683940887, -0.20546886324882507, 0.005047683138400316, -0.3340664803981781, 0.1278771609067917, 0.6291581988334656, 0.08280401676893234, -0.6998174786567688, -0.7906225323677063, 0.26675209403038025, -0.17624716460704803, 0.0006154892616905272, 0.7836853861808777, -0.4559859335422516, 0.3922610878944397, 0.6587750315666199, 1.0197389125823975, 0.3581371605396271, 0.05118411034345627, 0.7388523817062378, -0.5549770593643188, 0.06472364068031311, 0.16717280447483063, 0.29173582792282104, 0.36470934748649597, -0.15640783309936523, -0.01082337275147438, 0.08179555833339691, -0.6064411401748657, -0.7332979440689087, 0.27228012681007385, -1.8105701208114624, 0.010420974344015121, 1.2059956789016724, 0.040979351848363876, -0.29115909337997437, -0.38343796133995056, -0.5366964340209961, 0.30926579236984253, -0.29616793990135193, 0.5436493754386902, 0.6745350360870361, 0.027911338955163956, -0.32487526535987854, -0.46894463896751404, 0.39505308866500854, 0.4127165377140045, -0.8697973489761353, 0.10894656926393509, 0.5574489831924438, 0.37455862760543823, 0.2148749679327011, 0.6713388562202454, -0.31907492876052856, 0.13446751236915588, -0.22635051608085632, 0.1844925433397293, -0.05851361155509949, 0.05790981650352478, -0.30219459533691406, 0.09606530517339706, 0.08314497768878937, -0.247491255402565 ]