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/2402.12563v3
http://arxiv.org/pdf/2402.12563v3
Confidence Matters: Revisiting Intrinsic Self-Correction Capabilities of Large Language Models
2024-02-19T21:38:02
2024-05-13T11:01:17
Loka Li, Zhenhao Chen, Guangyi Chen, Yixuan Zhang, Yusheng Su, Eric Xing, Kun Zhang
cs.CL
cs.CL, cs.AI
The recent success of Large Language Models (LLMs) has catalyzed an increasing interest in their self-correction capabilities. This paper presents a comprehensive investigation into the intrinsic self-correction of LLMs, attempting to address the ongoing debate about its feasibility. Our research has identified an important latent factor - the "confidence" of LLMs - during the self-correction process. Overlooking this factor may cause the models to over-criticize themselves, resulting in unreliable conclusions regarding the efficacy of self-correction. We have experimentally observed that LLMs possess the capability to understand the "confidence" in their own responses. It motivates us to develop an "If-or-Else" (IoE) prompting framework, designed to guide LLMs in assessing their own "confidence", facilitating intrinsic self-corrections. We conduct extensive experiments and demonstrate that our IoE-based Prompt can achieve a consistent improvement regarding the accuracy of self-corrected responses over the initial answers. Our study not only sheds light on the underlying factors affecting self-correction in LLMs, but also introduces a practical framework that utilizes the IoE prompting principle to efficiently improve self-correction capabilities with "confidence". The code is available at https://github.com/MBZUAI-CLeaR/IoE-Prompting.git.
[ -0.1467898190021515, -0.7218553423881531, 0.7342556715011597, 0.46366509795188904, 0.2482159435749054, 0.015671484172344208, -0.40558725595474243, -0.3363783061504364, 0.003426371840760112, 0.17170797288417816, -0.4325738251209259, -0.2852655053138733, -0.6178808808326721, 0.5152353644371033, -0.544337809085846, 0.6521834135055542, -0.09173212200403214, 0.2939845621585846, -0.1813313215970993, 0.14531376957893372, -0.606069028377533, -0.43204623460769653, -0.7427747249603271, -0.23387901484966278, 0.8366288542747498, 0.7014251351356506, 0.34780120849609375, 0.360439658164978, 0.49466362595558167, 0.32945141196250916, -0.007791719399392605, -0.05484709143638611, -0.5590397715568542, 0.23923484981060028, -0.35593539476394653, -0.8182731866836548, -0.5747624039649963, -0.08969821780920029, 0.8814038634300232, 0.4636012315750122, -0.12851238250732422, 0.04470443353056908, 0.3827142119407654, 0.6754004955291748, -0.6160231232643127, 0.16252586245536804, -0.6702291369438171, -0.1627587527036667, -0.13309656083583832, -0.3003671169281006, -0.5500280261039734, -0.05061737075448036, -0.06614300608634949, -0.2989761531352997, 0.16877281665802002, 0.01650211028754711, 0.3709356188774109, 0.31980323791503906, -0.3344686031341553, -0.21612770855426788, -0.7119187116622925, 0.5331740975379944, -0.8348930478096008, 0.12282594293355942, 0.4205623269081116, -0.25164300203323364, -0.3124876320362091, -0.4785977303981781, -0.6933238506317139, -0.29326939582824707, 0.002651314716786146, 0.057823460549116135, -0.09102017432451248, 0.15795832872390747, 0.27472013235092163, 0.40634068846702576, -0.2518901526927948, 0.2678966820240021, -0.27299731969833374, -0.09668461233377457, 0.44174131751060486, -0.0890529528260231, 0.07786478847265244, -0.02653518132865429, 0.04625760018825531, -0.20454922318458557, -0.9952362775802612, 0.2791721224784851, 0.29838621616363525, 0.2339530885219574, 0.1413167268037796, 0.7094866037368774, -0.29056283831596375, 0.35514578223228455, 0.6070350408554077, -0.21875490248203278, -0.16091884672641754, -0.11152953654527664, 0.0026222120504826307, 0.28533563017845154, 0.46479353308677673, 0.4759245216846466, 0.21720319986343384, 0.12546077370643616, -0.3547820448875427, -0.09849227964878082, 0.25445929169654846, -0.8163160681724548, -0.07124476879835129, 0.6010958552360535, -0.04332093521952629, -0.14133985340595245, 0.12034054845571518, -0.03036903776228428, -0.4872988164424896, -0.2805453836917877, 0.7352849245071411, -0.2270652949810028, -0.037164658308029175, 0.20347099006175995, 0.28609156608581543, 0.013877655379474163, 0.5897160172462463, -0.8237096071243286, -0.00543988635763526, 0.7554321885108948, 0.7018288373947144, -0.15689998865127563, -0.4194519519805908, -0.45280519127845764, 0.010966075584292412, -0.7316056489944458, 0.783012866973877, -0.2726081311702728, -0.612676739692688, 0.07967221736907959, 0.009881063364446163, 0.01682191528379917, -0.358645498752594, 0.461917906999588, -0.2552306652069092, 0.2025570273399353, -0.5434126257896423, -0.738045334815979, 0.006238454021513462, 0.29862475395202637, -0.29084259271621704, 0.9159557819366455, -0.19813355803489685, -0.676787793636322, 0.12320234626531601, -0.41619426012039185, -0.33577120304107666, 0.009982899762690067, -0.2545703947544098, -0.28734442591667175, 0.446320116519928, 0.04485182836651802, 0.5385411977767944, -0.013339238241314888, 0.28355085849761963, -0.3628208041191101, -0.26301318407058716, 0.6842840909957886, -0.41341087222099304, 0.3840762972831726, -0.18350955843925476, -0.49599820375442505, 0.23397783935070038, -0.38802382349967957, 0.11513827741146088, -0.06463286280632019, -0.12823176383972168, -0.10950081050395966, -0.052565623074769974, -0.6445959210395813, 0.02930828556418419, 0.4204745590686798, -0.6368939876556396, 0.4876888692378998, -0.2520945966243744, 0.5263877511024475, 1.1535149812698364, -0.11023565381765366, 0.4151608943939209, -0.21340467035770416, 0.41583776473999023, -0.19222141802310944, 0.16793212294578552, -0.5362375974655151, -0.41701292991638184, -0.9514467716217041, 0.019036713987588882, 0.48504549264907837, 0.4714987277984619, -0.5340560674667358, 0.3687881827354431, -0.17838819324970245, -0.27996429800987244, -0.6143583655357361, 0.21406666934490204, 0.3301897943019867, 0.6236715912818909, 0.24317803978919983, -0.12869994342327118, -0.35425910353660583, -0.8274641633033752, -0.28030744194984436, -0.6493064165115356, 0.1985231190919876, 0.20250001549720764, 0.45595401525497437, -0.1617390215396881, 1.1552494764328003, -0.2389998584985733, -0.19142727553844452, 0.03517743572592735, 0.33286550641059875, 0.11221767216920853, 0.5206480026245117, 0.2764306664466858, -0.4778079092502594, -0.6468607187271118, -0.2223612368106842, -0.5453366041183472, -0.3907108008861542, -0.040367841720581055, 0.1871887743473053, 0.33600303530693054, 0.789069652557373, -0.48075392842292786, 0.4826820194721222, 0.6963169574737549, -0.1986016482114792, 0.60638028383255, -0.5566088557243347, 0.42551881074905396, -0.6574984192848206, -0.050403889268636703, -0.20495986938476562, -0.15154555439949036, -0.4017864167690277, -0.024906011298298836, 0.4364320933818817, 0.21435673534870148, -0.14273351430892944, 0.6733842492103577, -0.4782070815563202, 0.17140670120716095, -0.4946669042110443, 0.028322899714112282, -0.07228714227676392, 0.160373255610466, -0.06673909723758698, 1.117932677268982, 0.7144264578819275, -0.7691158056259155, -0.14872673153877258, 0.012080552987754345, -0.2395726442337036, 0.8426985144615173, -0.7681017518043518, 0.33470413088798523, -0.1334696263074875, 0.23109838366508484, -1.2010480165481567, -0.3240838348865509, 0.11808587610721588, -0.5759305953979492, 0.5871765613555908, -0.17713896930217743, -0.48090019822120667, -0.44991010427474976, -0.24292728304862976, 0.05105853080749512, 0.2917722761631012, -0.587377667427063, 0.5959140658378601, 0.11314640194177628, -0.6502419710159302, -0.6961579322814941, -0.6276034116744995, 0.38917723298072815, 0.06724971532821655, -0.5972887277603149, 0.3039231300354004, -0.621606171131134, -0.4289787709712982, -0.13194751739501953, -0.20930688083171844, 0.12226241081953049, 0.2752857506275177, 0.2503865361213684, 0.1900380700826645, -0.14102797210216522, 0.4862280488014221, 0.0364508181810379, -0.24536126852035522, 0.22571918368339539, -0.4622105360031128, 0.29411956667900085, -0.49246588349342346, -0.5628748536109924, -0.5542450547218323, 0.13591453433036804, 0.3372683823108673, 0.0019272291101515293, 0.7067168354988098, 0.2852661609649658, -0.12367328256368637, -0.05368640273809433, -0.8560377359390259, -0.6696035861968994, -0.4981706440448761, 0.23774762451648712, -0.321819931268692, -1.1738370656967163, 0.4274074137210846, 0.1585865318775177, 0.08415623009204865, 0.4055861234664917, 0.6052287817001343, -0.46708327531814575, 1.1541829109191895, 0.6382189393043518, -0.006951472256332636, 0.3903157711029053, 0.08290772140026093, 0.27993348240852356, -0.810589075088501, 0.05666578188538551, -0.745598316192627, -0.23506958782672882, -0.47058477997779846, -0.42133665084838867, 0.42146822810173035, 0.07056201994419098, -0.0637732520699501, -0.11849386245012283, -0.2114643007516861, 0.5435261130332947, 0.3675394058227539, -0.061856236308813095, 0.4861166775226593, -0.1746034026145935, 0.08077507466077805, -0.1740819215774536, -0.6942696571350098, -0.5136806964874268, 0.9488571286201477, 0.4806308448314667, 1.0927181243896484, 0.26709669828414917, 0.5567278265953064, 0.325312077999115, 0.4980389177799225, -0.8695111870765686, 0.5122911930084229, 0.11795945465564728, -0.7118784189224243, -0.42165276408195496, -0.4410940408706665, -0.9010464549064636, 0.09047555923461914, -0.2334727644920349, -0.5733664631843567, 0.4304645359516144, 0.558349609375, -0.5221346616744995, 0.2641759514808655, -0.6419625282287598, 0.46404266357421875, -0.430157333612442, -0.521841824054718, -0.3522796332836151, -0.566436767578125, 0.11039000749588013, -0.24163329601287842, 0.08564877510070801, -0.13121725618839264, -0.1400572955608368, 0.29324737191200256, -0.28711998462677, 1.1494954824447632, 0.08854716271162033, -0.6254060864448547, 0.26099416613578796, 0.29769280552864075, 0.6668207049369812, 0.2068607211112976, -0.12095868587493896, 0.1565624177455902, -0.1870100498199463, -0.24094489216804504, -0.8088881969451904, 0.6787939667701721, -0.5299171209335327, -0.9373241662979126, -0.4552648067474365, -0.21770180761814117, -0.2937382459640503, 0.19329045712947845, 0.33559685945510864, 0.4651630222797394, -0.060860998928546906, 0.6595672369003296, 1.0148333311080933, 0.10830669850111008, 0.44348105788230896, 0.9250915050506592, -0.4415706694126129, -0.19086895883083344, 0.6052535772323608, 0.4130721986293793, 0.4507015347480774, 0.2598862051963806, 0.4638202488422394, -0.41493603587150574, -0.5642210245132446, -0.36017927527427673, 0.2990919053554535, -0.7181137800216675, -0.12801697850227356, -0.4925936162471771, 0.030598247423768044, -0.6328887343406677, -0.10873879492282867, -0.5962823033332825, -0.23048518598079681, -0.3175053894519806, -0.05114907771348953, 0.32904478907585144, 0.9725626707077026, -0.2904280126094818, 0.4301171600818634, -0.7148317694664001, -0.11093969643115997, 0.5509551763534546, 0.2791898250579834, -0.02706211246550083, -0.886664092540741, -0.0790325477719307, -0.003951148595660925, 0.03462938591837883, -0.6465526819229126, 0.14987421035766602, 0.08585875481367111, 0.5355256795883179, 0.20411454141139984, 0.07251028716564178, 0.7484490275382996, -0.3586888611316681, 0.5968080163002014, 0.05734594911336899, -1.3304026126861572, 0.5157893300056458, -0.3254619538784027, 0.25040650367736816, 0.6612164378166199, 0.15765666961669922, -0.6587272882461548, -0.3750818371772766, -0.8549168109893799, -0.6837416291236877, 0.5105251669883728, 0.28460338711738586, 0.16606025397777557, -0.10224690288305283, 0.7515043616294861, -0.16787028312683105, 0.34697768092155457, -0.8358947038650513, -0.21427021920681, 0.08408030867576599, -0.031446363776922226, -0.13745352625846863, -0.5732318162918091, -0.03957263380289078, 0.0020002485252916813, 1.0226402282714844, -0.45779797434806824, 0.029867852106690407, 0.7718001008033752, -0.17690716683864594, -0.3018644154071808, 0.48599714040756226, 0.7201094031333923, 0.7313456535339355, -0.12661483883857727, 0.08686090260744095, 0.26132774353027344, -0.20943838357925415, 0.16197922825813293, -0.352318674325943, -0.2945386469364166, -0.228540301322937, 0.2755819857120514, 0.638896107673645, 0.18554185330867767, -0.39551305770874023, 0.5900946855545044, -0.30043044686317444, 0.04731792211532593, -0.2184520959854126, 0.05677257850766182, 0.025533778592944145, -0.009629873558878899, 0.41247886419296265, 0.012160750105977058, 0.012327476404607296, -0.609115481376648, 0.08451063930988312, 0.24650533497333527, -0.4221837520599365, -0.2262805849313736, 0.2639079689979553, 0.2635311186313629, -0.4333481192588806, 0.4307189881801605, -0.2892153561115265, -0.541632890701294, 0.28402209281921387, 0.6079885959625244, 0.7346565127372742, -0.6429110169410706, 0.1279592216014862, 0.3613968789577484, 0.49519193172454834, -0.3574453890323639, 0.13255377113819122, 0.2489352524280548, -0.713123619556427, -0.7497542500495911, -0.0706624686717987, -0.8149105310440063, 0.020197881385684013, -0.6329434514045715, 0.07538511604070663, -0.6629686951637268, -0.295716792345047, -0.4759591817855835, -0.09408039599657059, -0.1506022810935974, 0.1986485868692398, 0.12932999432086945, 0.848289430141449, -0.4275044798851013, 0.6006787419319153, 0.4719005525112152, -0.12140937149524689, -0.9681180119514465, 0.23337987065315247, 0.019403915852308273, -0.8679969310760498, 0.6104918122291565, 0.1164596676826477, -0.5554330348968506, 0.09149853140115738, -0.9557027816772461, -0.8904191851615906, 0.7267123460769653, 0.3766798675060272, -0.8261655569076538, 0.33009469509124756, -0.21442534029483795, 0.5127152800559998, -0.25387585163116455, 0.2927338778972626, 0.3027803897857666, 0.6065818071365356, 0.09102266281843185, -0.9364042282104492, -0.26766252517700195, -0.14159999787807465, -0.1444336324930191, -0.009035805240273476, -0.646960437297821, 1.0213534832000732, -0.44284000992774963, -0.0769445076584816, 0.17593075335025787, 0.8518609404563904, 0.09521207958459854, -0.10990311950445175, 0.565952479839325, 0.21227116882801056, 1.0123323202133179, -0.15362587571144104, 1.0964552164077759, -0.5002077221870422, 0.2920733392238617, 1.2995200157165527, -0.43684160709381104, 1.060076117515564, 0.414016455411911, -0.08582888543605804, 0.5439145565032959, 0.46174803376197815, 0.3246893584728241, -0.12441708147525787, 0.011790789663791656, -0.22188131511211395, -0.42905735969543457, -0.07902860641479492, -0.37748774886131287, 0.35240134596824646, 0.48833268880844116, -0.1352476328611374, 0.16626088321208954, -0.19828970730304718, 0.08528344333171844, -0.021113090217113495, -0.4482210576534271, 0.6853597164154053, 0.1535230278968811, -0.9120532274246216, 0.22940249741077423, 0.100032739341259, 0.5480669140815735, -0.7683203816413879, 0.09253767132759094, -0.34886622428894043, 0.2133835405111313, -0.2621202766895294, -1.0913844108581543, 0.0072804782539606094, -0.09540730714797974, -0.2799359858036041, -0.40309181809425354, 0.749752402305603, -0.4682936668395996, -0.30195310711860657, 0.18361809849739075, 0.3966197669506073, -0.09944256395101547, -0.3698521554470062, -0.6825080513954163, 0.06298598647117615, 0.10544443875551224, -0.06728056073188782, 0.13444387912750244, 0.518738865852356, 0.11062682420015335, 0.859533965587616, 0.7071043848991394, 0.10136506706476212, -0.12946544587612152, 0.14656580984592438, 0.41450878977775574, -0.5444915890693665, -0.4095894992351532, -0.7986186146736145, 0.5607866048812866, -0.07859914004802704, -0.27234596014022827, 1.043194055557251, 0.16472578048706055, 0.6271301507949829, -0.09388871490955353, 0.7307930588722229, 0.1465224325656891, 0.6054683327674866, -0.7357534170150757, 0.42456719279289246, -0.5270077586174011, 0.3836837112903595, -0.06561899930238724, -0.653638482093811, -0.18707647919654846, 0.9761619567871094, -0.42909443378448486, 0.1391204595565796, 0.7712817192077637, 0.9232650399208069, 0.5311287045478821, -0.05615270510315895, 0.3857569396495819, 0.7117578387260437, 0.3113020658493042, 0.041480451822280884, 0.9968111515045166, -0.2190699428319931, 0.23666520416736603, -0.24406149983406067, -0.25642234086990356, -0.3587566018104553, -1.2654494047164917, -0.6929548382759094, -0.4235840439796448, -0.5859271287918091, -0.605672299861908, 0.08177578449249268, 1.0175974369049072, 0.6083877682685852, -0.8451484441757202, -0.3332274258136749, -0.06387630105018616, 0.13023178279399872, 0.1513352245092392, -0.10806381702423096, 0.05860111117362976, -0.5189023613929749, -0.8002051711082458, 0.44299018383026123, 0.6504082083702087, 0.37035951018333435, -0.5599371790885925, -0.006924500688910484, 0.1383177787065506, 0.23121042549610138, 0.46271616220474243, 0.37238579988479614, -0.8325324654579163, -0.35979050397872925, 0.17140325903892517, -0.37825676798820496, 0.3171069920063019, 0.8599033355712891, -0.43720436096191406, 0.5355077385902405, 0.36130595207214355, 0.5682392120361328, 0.028378313407301903, 0.018400585278868675, 0.7373598217964172, -0.688360333442688, -0.3027700185775757, 0.026010802015662193, 0.6047970652580261, 0.5531168580055237, -0.5898772478103638, 0.4636632204055786, 0.2049337774515152, -0.7055981755256653, -0.6420639753341675, 0.09419461339712143, -0.8419313430786133, -0.22872206568717957, 1.2023890018463135, -0.2014831304550171, -0.3218814432621002, 0.032762136310338974, -0.550841748714447, -0.2969418168067932, -0.4712776243686676, 0.8831444382667542, 1.0086528062820435, 0.030273424461483955, -0.15371465682983398, -0.06645890325307846, 0.2792385518550873, 0.8142621517181396, -0.6173596382141113, 0.31013187766075134, 0.3038046658039093, 0.28371986746788025, 0.3054543733596802, 0.8024802207946777, 0.09916052967309952, 0.20175431668758392, -0.2042657881975174, 0.18477725982666016, 0.2705097496509552, -0.6096597909927368, -0.7391731142997742, -0.08703877031803131, 0.5360133051872253, 0.5884370803833008 ]
http://arxiv.org/abs/2402.12560v1
http://arxiv.org/pdf/2402.12560v1
CausalGym: Benchmarking causal interpretability methods on linguistic tasks
2024-02-19T21:35:56
2024-02-19T21:35:56
Aryaman Arora, Dan Jurafsky, Christopher Potts
cs.CL
cs.CL, cs.AI, I.2.7
Language models (LMs) have proven to be powerful tools for psycholinguistic research, but most prior work has focused on purely behavioural measures (e.g., surprisal comparisons). At the same time, research in model interpretability has begun to illuminate the abstract causal mechanisms shaping LM behavior. To help bring these strands of research closer together, we introduce CausalGym. We adapt and expand the SyntaxGym suite of tasks to benchmark the ability of interpretability methods to causally affect model behaviour. To illustrate how CausalGym can be used, we study the pythia models (14M--6.9B) and assess the causal efficacy of a wide range of interpretability methods, including linear probing and distributed alignment search (DAS). We find that DAS outperforms the other methods, and so we use it to study the learning trajectory of two difficult linguistic phenomena in pythia-1b: negative polarity item licensing and filler--gap dependencies. Our analysis shows that the mechanism implementing both of these tasks is learned in discrete stages, not gradually.
[ -0.0014597169356420636, -0.8414303064346313, 0.6797725558280945, 0.43332305550575256, 0.01560046523809433, -0.34213539958000183, -0.39000189304351807, -0.4230347275733948, -0.07378826290369034, 0.3612980842590332, -0.45922061800956726, -0.24797038733959198, -0.6744791269302368, 0.04035883769392967, -0.42137399315834045, 0.8405544757843018, -0.11651059240102768, 0.17979936301708221, -0.2552390694618225, -0.26486268639564514, -0.8167911767959595, -0.3770378828048706, -0.6004078984260559, -0.7494924664497375, 0.9119682908058167, 0.21158629655838013, 0.8288922309875488, 0.6748082637786865, 0.4307864308357239, 0.267973393201828, -0.1740085929632187, -0.2812965214252472, -0.5041401386260986, 0.21169407665729523, -0.5710727572441101, -0.7648061513900757, -0.17338593304157257, 0.2599102854728699, 0.5973621606826782, 0.9857564568519592, -0.48826318979263306, 0.1692122220993042, -0.03901830315589905, 0.35317763686180115, -0.6532009243965149, 0.39921024441719055, -0.5026070475578308, -0.25262561440467834, -0.23492641746997833, -0.12932877242565155, -0.5966182947158813, -0.5387066602706909, 0.1808915138244629, -0.6063384413719177, 0.14033488929271698, 0.0756642147898674, 0.7549262642860413, 0.1876673400402069, -0.5546179413795471, -0.3775951862335205, -0.7009304165840149, 0.676382839679718, -0.7032018899917603, 0.4624726474285126, 0.446777880191803, 0.1649947315454483, -0.2947206199169159, -0.8978641033172607, -0.5365415811538696, -0.43160679936408997, -0.42794984579086304, -0.09939012676477432, -0.3338152766227722, 0.06244390830397606, 0.5022171139717102, 0.10485857725143433, -0.6847202777862549, 0.24959757924079895, -0.3086911737918854, -0.05181048810482025, 0.5092495679855347, 0.2787679433822632, 0.7007402181625366, -0.1780644953250885, -0.2520638704299927, 0.03194832429289818, -0.7737008929252625, -0.20877768099308014, 0.5480994582176208, 0.2398311197757721, 0.011843803338706493, 0.488080233335495, -0.26739707589149475, 0.8825696110725403, -0.21322934329509735, 0.21209032833576202, -0.14691919088363647, -0.26075002551078796, -0.11843368411064148, 0.00080543925287202, 0.4195355176925659, 0.06351013481616974, 0.1844063699245453, -0.38548028469085693, 0.07420798391103745, 0.3075536787509918, 0.36256521940231323, -0.582628071308136, -0.5764131546020508, 0.06415688246488571, -0.32118651270866394, -0.1512918770313263, -0.22438810765743256, -0.5652469396591187, -0.5772879719734192, -0.5619878172874451, 0.6765621304512024, -0.20450972020626068, -0.5645381808280945, 0.28516247868537903, -0.0019172369502484798, 0.23642374575138092, 0.11652451008558273, -0.7607440948486328, 0.4543711543083191, 0.8130190372467041, 0.8122434616088867, -0.0034209340810775757, -0.6920449137687683, -0.5504670739173889, -0.06998047232627869, -0.30470773577690125, 0.5763123035430908, -0.24657650291919708, 0.15607836842536926, 0.003354485612362623, -0.048737600445747375, -0.5099313855171204, -0.5908538699150085, 0.5905899405479431, -0.6280266046524048, 0.13739943504333496, -0.367911159992218, -0.7510305047035217, -0.6522282361984253, 0.011889977380633354, -0.5250774621963501, 0.7470324635505676, -0.019324975088238716, -0.6888531446456909, 0.49263790249824524, -0.0820767804980278, -0.3773612678050995, 0.06741832941770554, -0.08014515042304993, -0.32918334007263184, 0.3328181207180023, -0.2777014672756195, 0.385547935962677, -0.5245953798294067, 0.8307303190231323, -0.34567633271217346, -0.42290326952934265, 0.2997913658618927, -0.4616113007068634, 0.8408740758895874, -0.16911835968494415, -0.6218960881233215, 0.29209548234939575, -0.7412242889404297, -0.1384480893611908, 0.17666752636432648, 0.00803280621767044, -0.35203278064727783, 0.5296474695205688, 0.12822291254997253, 0.46051478385925293, -0.03724875673651695, -0.049857743084430695, 0.006354485638439655, -0.4794953465461731, 0.26746124029159546, 0.5458454489707947, -0.1962212473154068, 0.0914015993475914, -0.253231942653656, 0.3183537423610687, -0.028966089710593224, 0.05081535875797272, 0.1274893879890442, -0.31592223048210144, -0.8033953905105591, -0.15226086974143982, -0.04990200698375702, 0.3857290744781494, -0.5466234683990479, 0.2774934768676758, -0.0688091591000557, -0.7435465455055237, -0.09755250066518784, 0.01442056242376566, 0.6083045601844788, 0.44760361313819885, 0.2591700553894043, -0.3878212571144104, -0.2830392122268677, -0.7477442026138306, -0.7825397849082947, -0.45998939871788025, 0.2735084593296051, 0.17167781293392181, 0.3448047339916229, 0.0033134599216282368, 0.46748414635658264, -0.5972665548324585, 0.01583162136375904, -0.27116742730140686, 0.48594051599502563, 0.5039494037628174, 0.2709697186946869, 0.25529617071151733, -0.5978164076805115, -0.1620364934206009, -0.2740478515625, -0.7606903314590454, -0.5236944556236267, -0.1812133640050888, -0.013832835480570793, 0.021684303879737854, 0.7097566723823547, -0.7235062122344971, 0.27349939942359924, 0.41174986958503723, -0.8572850227355957, 0.6754833459854126, -0.14929452538490295, -0.026481347158551216, -0.5010301470756531, 0.2166609913110733, 0.03069395385682583, -0.08188735693693161, -0.8261058926582336, 0.2329525202512741, 0.1533541977405548, 0.07203909754753113, -0.4447176456451416, 0.389120876789093, -0.4759204685688019, -0.16995206475257874, -0.3101974129676819, 0.33918294310569763, -0.3227849006652832, 0.5346202850341797, -0.08259930461645126, 0.485507994890213, 0.5756341218948364, -0.5858235955238342, 0.16839814186096191, 0.10285624861717224, -0.37540772557258606, 0.6251896619796753, -0.625860333442688, -0.15747414529323578, -0.20237970352172852, -0.019942106679081917, -1.1201800107955933, -0.08939026296138763, 0.3719363510608673, -0.16404499113559723, 0.2744975984096527, -0.07751064002513885, -0.533436119556427, 0.12060956656932831, 0.1373380720615387, 0.6423090100288391, 0.37660685181617737, -0.6432039141654968, 0.43582287430763245, -0.049774155020713806, -0.05559028685092926, -0.3592356741428375, -0.23482076823711395, 0.03821048513054848, -0.5853828191757202, -0.3433362543582916, -0.03086385503411293, 0.21584951877593994, -0.45168182253837585, -0.044103916734457016, -0.2227976769208908, 0.30434972047805786, 0.5091300010681152, 0.21686264872550964, 0.08594132959842682, -0.20586338639259338, 0.08506442606449127, -0.2939707636833191, -0.3353784680366516, 0.4024727940559387, -0.43079274892807007, 0.5873756408691406, 0.2540954053401947, -0.34298965334892273, -0.24808776378631592, -0.14413249492645264, 0.47314366698265076, -0.06781397014856339, 0.9071373343467712, 0.6287848353385925, -0.3824753165245056, -0.18290141224861145, -0.5350040793418884, -0.09310727566480637, -0.3861042261123657, 0.3601495921611786, -0.18617525696754456, -0.5982336401939392, 0.4265141785144806, -0.1263885647058487, -0.4378063678741455, 0.45243555307388306, 0.5765693187713623, 0.25619426369667053, 0.9967061877250671, 0.4111599624156952, -0.17489849030971527, 0.5861560106277466, 0.13157592713832855, 0.36867889761924744, -0.6098020076751709, -0.14087124168872833, -0.5496215224266052, -0.2043447494506836, -0.8851343393325806, -0.32083484530448914, 0.3226098120212555, 0.5654946565628052, -0.201629176735878, 0.5345953702926636, -0.06312563270330429, 0.3696395456790924, 0.34402403235435486, 0.13284438848495483, 0.3546715974807739, -0.37863099575042725, 0.008636074140667915, -0.11837450414896011, -0.8235808610916138, -0.2850323021411896, 0.9845688343048096, 0.16963881254196167, 0.7353667616844177, 0.3386659622192383, 0.3069457709789276, -0.10327029228210449, 0.5628453493118286, -0.6792554259300232, 0.5250692367553711, 0.09862127155065536, -0.544944167137146, -0.20117491483688354, -0.4649653434753418, -1.0134358406066895, 0.4812113046646118, 0.0016628862358629704, -1.1252753734588623, 0.21726921200752258, 0.06985285878181458, 0.0967048853635788, 0.053542185574769974, -0.6822349429130554, 1.0387568473815918, -0.23305313289165497, -0.6614670753479004, -0.5422071218490601, -0.6023622751235962, 0.4248507618904114, 0.16710582375526428, 0.14223521947860718, -0.29221194982528687, 0.22684185206890106, 0.7638745307922363, -0.0431235246360302, 0.8570104837417603, -0.17202119529247284, -0.1388206034898758, -0.18173353374004364, 0.2892749607563019, 0.5433912873268127, 0.11630479991436005, 0.16801269352436066, 0.2926895320415497, 0.14156071841716766, -0.4305327832698822, -0.7249893546104431, 0.7029116153717041, -0.6187745928764343, -0.6777558326721191, -0.6906837821006775, -0.5942496657371521, -0.26913881301879883, 0.3078742027282715, 0.0840616449713707, 0.5664199590682983, -0.2756514251232147, -0.19972941279411316, 0.5714902281761169, -0.24846990406513214, 0.38809752464294434, 0.7590194344520569, -0.3779107928276062, -0.20427006483078003, 0.948907196521759, 0.08691126853227615, 0.38568630814552307, 0.3165942132472992, 0.3367690145969391, -0.1854589581489563, -0.6261780261993408, -0.1303914487361908, 0.3533349931240082, -0.7437357902526855, -0.017021898180246353, -0.4242582619190216, 0.044870778918266296, -0.018052000552415848, 0.040493451058864594, -0.13330623507499695, -0.2934919595718384, -0.19188255071640015, -0.030891982838511467, 0.23056660592556, 0.8465895652770996, -0.07848823070526123, 0.3363232910633087, -0.27526596188545227, 0.2355303317308426, 0.2120032161474228, 0.4009149968624115, 0.17534638941287994, -0.3021746277809143, -0.28567203879356384, -0.23318134248256683, -0.23191986978054047, -1.1009612083435059, 0.2641448378562927, -0.06425168365240097, 0.5299420356750488, 0.23872604966163635, -0.38561248779296875, 0.6119735240936279, -0.438347727060318, 0.6217002272605896, 0.11675156652927399, -1.0676823854446411, 0.3687056303024292, -0.5555410981178284, 0.10101917386054993, 0.30070260167121887, 0.44627973437309265, -0.7618725299835205, -0.476678729057312, -0.6547986268997192, -0.9950457811355591, 0.8389769792556763, 0.3663271963596344, -0.2529284954071045, 0.042973101139068604, 0.418826162815094, 0.05558772385120392, 0.055567678064107895, -0.5822163224220276, -0.33033233880996704, 0.2774002254009247, -0.2505991458892822, -0.7042238712310791, -0.26088857650756836, -0.0695890337228775, -0.26148906350135803, 0.6333929896354675, 0.029808668419718742, -0.05314968153834343, 0.16777390241622925, -0.576610803604126, -0.0886773020029068, 0.12727147340774536, 0.5324194431304932, 1.0261898040771484, -0.03683280944824219, 0.35115861892700195, -0.09815241396427155, -0.3003649413585663, 0.20456571877002716, 0.37375664710998535, -0.27294230461120605, -0.03983660787343979, 0.627228856086731, 0.942685067653656, 0.6024422645568848, -0.6059703230857849, 0.31469258666038513, 0.02125185914337635, 0.17341835796833038, -0.09644924104213715, 0.008446465246379375, 0.12983964383602142, 0.4354531466960907, -0.04075643792748451, -0.2692911922931671, 0.3570306897163391, -0.6536828875541687, 0.12495055794715881, 0.17085999250411987, -0.46789461374282837, -0.5165994763374329, 0.7233949303627014, -0.19280728697776794, -0.250011682510376, 0.5691363215446472, -0.18674224615097046, -0.4694138765335083, 0.6082143783569336, 0.6453938484191895, 0.8835861682891846, -0.22291728854179382, 0.2846122086048126, 0.3452380299568176, 0.42446091771125793, -0.40727561712265015, 0.328957736492157, 0.04813985154032707, -0.6650000810623169, -0.30644720792770386, -0.3655763268470764, -0.3055545389652252, 0.0072698649019002914, -0.9889691472053528, 0.3120327591896057, 0.034255851060152054, 0.15371114015579224, 0.25157296657562256, -0.1017078161239624, -0.7036280035972595, 0.2301551103591919, -0.13560795783996582, 0.5300549864768982, -1.2027702331542969, 0.49956372380256653, 0.6482114791870117, -0.5727366805076599, -1.0282107591629028, 0.15244325995445251, 0.1402749866247177, -0.7451735138893127, 0.48985525965690613, 0.03738876432180405, 0.11530549824237823, 0.18906445801258087, -0.26789093017578125, -0.8156281113624573, 0.9566340446472168, 0.3542059361934662, -0.6065929532051086, 0.17761032283306122, -0.032595958560705185, 0.6164013743400574, 0.21720761060714722, 0.48013272881507874, 0.9765726327896118, 0.37232404947280884, -0.34563127160072327, -0.8743284344673157, 0.35151252150535583, 0.10208189487457275, -0.04386291652917862, 0.5183351635932922, -0.46837756037712097, 0.7242721915245056, 0.08790218085050583, -0.24508868157863617, 0.10554762184619904, 0.3460465967655182, 0.20605844259262085, 0.4690624177455902, 0.3547012209892273, 0.6084462404251099, 0.7479726076126099, -0.17220085859298706, 0.8599655032157898, -0.1933908611536026, 0.6431843638420105, 1.090707778930664, -0.2994661033153534, 0.7038431763648987, 0.7151369452476501, -0.2113456428050995, 0.43591880798339844, 0.4594203233718872, 0.2306917905807495, 0.4402202367782593, 0.6819073557853699, -0.2034720927476883, -0.21582789719104767, -0.14036069810390472, -0.006979001220315695, 0.44582289457321167, 0.3201234042644501, -0.15721359848976135, -0.2911408841609955, -0.15213195979595184, 0.15065908432006836, 0.22799824178218842, -0.23825103044509888, 0.8149427771568298, 0.24340814352035522, -0.7361730337142944, 0.340231716632843, 0.031859882175922394, 0.35373860597610474, -0.5195701718330383, 0.036770205944776535, -0.3223448693752289, 0.25861573219299316, -0.22620274126529694, -0.4308789074420929, 0.38658514618873596, -0.36350783705711365, 0.02665950544178486, -0.1477275788784027, 0.7824500203132629, -0.6275553703308105, -0.3327593505382538, 0.5688226819038391, 0.7347873449325562, -0.03441016003489494, 0.10353866964578629, -0.29217851161956787, 0.025690700858831406, -0.5462267398834229, -0.21027836203575134, 0.35031527280807495, 0.3086765706539154, -0.22520431876182556, 0.6294693946838379, 0.3210342526435852, 0.4443530738353729, -0.03749240189790726, 0.1824248880147934, 0.5079277157783508, -0.7700325846672058, -0.3488783836364746, -1.0847934484481812, 0.28281769156455994, 0.24614299833774567, -0.325100302696228, 0.9636146426200867, 0.26431453227996826, 1.0286612510681152, 0.04869828000664711, 0.31593701243400574, -0.11354772001504898, 0.1657329648733139, -0.7160232067108154, 0.7758338451385498, -0.3796132504940033, 0.18538407981395721, -0.3048005998134613, -0.8944909572601318, -0.3219544589519501, 0.4045107066631317, -0.5387094616889954, -0.04500328749418259, 1.0033934116363525, 0.7676440477371216, -0.13683882355690002, 0.07630546391010284, 0.3124645948410034, 0.4649369716644287, 0.09886981546878815, 0.5439119338989258, 1.1970794200897217, -0.46208474040031433, 0.08776067197322845, -0.05285391956567764, -0.06243133172392845, -0.029893221333622932, -0.8377223014831543, -0.8493696451187134, -0.5437450408935547, -0.5862877368927002, -0.4160885810852051, 0.20677782595157623, 0.6780514717102051, 0.4837406575679779, -0.6528647541999817, -0.5110177397727966, -0.5357900857925415, 0.5584620833396912, -0.6393061280250549, -0.2282465696334839, 0.3118918538093567, -0.4842836260795593, -0.28795742988586426, 0.2766152322292328, 0.18010346591472626, -0.5145094394683838, -0.15386831760406494, 0.06183624267578125, -0.34251055121421814, 0.0825936570763588, 0.3420708477497101, 0.1762954443693161, -0.8150741457939148, -0.3965662717819214, -0.28264206647872925, 0.11121684312820435, -0.17173081636428833, 1.2609387636184692, -0.43034327030181885, 0.5173372030258179, 0.5876227021217346, 0.38933292031288147, 0.42074522376060486, -0.261966347694397, 0.763965368270874, -0.4134558141231537, 0.07630190998315811, 0.04577651992440224, 0.30602914094924927, 0.1277041882276535, -0.17347808182239532, 0.44644999504089355, 0.46304771304130554, -0.5346004366874695, -0.8777675628662109, 0.31571877002716064, -0.6697462797164917, -0.16982463002204895, 1.138602614402771, -0.22104261815547943, 0.17939507961273193, -0.2092418521642685, 0.023713361471891403, 0.488288015127182, 0.26718366146087646, 0.8740992546081543, 0.8209706544876099, -0.05032312497496605, -0.0479043684899807, -0.675477921962738, 0.5790066123008728, 0.7967427968978882, -0.7059561610221863, 0.17900840938091278, 0.5124443173408508, 0.47222429513931274, -0.09339596331119537, 0.4890037477016449, 0.016475889831781387, 0.3478604853153229, 0.03084893524646759, -0.154978409409523, 0.2633015513420105, -0.4331410825252533, -0.8269879221916199, -0.05085686966776848, 0.3962181806564331, 0.18313172459602356 ]
http://arxiv.org/abs/2402.12557v1
http://arxiv.org/pdf/2402.12557v1
Creating a Fine Grained Entity Type Taxonomy Using LLMs
2024-02-19T21:32:19
2024-02-19T21:32:19
Michael Gunn, Dohyun Park, Nidhish Kamath
cs.CL
cs.CL
In this study, we investigate the potential of GPT-4 and its advanced iteration, GPT-4 Turbo, in autonomously developing a detailed entity type taxonomy. Our objective is to construct a comprehensive taxonomy, starting from a broad classification of entity types - including objects, time, locations, organizations, events, actions, and subjects - similar to existing manually curated taxonomies. This classification is then progressively refined through iterative prompting techniques, leveraging GPT-4's internal knowledge base. The result is an extensive taxonomy comprising over 5000 nuanced entity types, which demonstrates remarkable quality upon subjective evaluation. We employed a straightforward yet effective prompting strategy, enabling the taxonomy to be dynamically expanded. The practical applications of this detailed taxonomy are diverse and significant. It facilitates the creation of new, more intricate branches through pattern-based combinations and notably enhances information extraction tasks, such as relation extraction and event argument extraction. Our methodology not only introduces an innovative approach to taxonomy creation but also opens new avenues for applying such taxonomies in various computational linguistics and AI-related fields.
[ -0.6682051420211792, -0.8111952543258667, 0.8000509142875671, 0.10148419439792633, -0.3392132818698883, 0.4215124845504761, -0.34183067083358765, -0.3398706316947937, 0.23957066237926483, 0.21800488233566284, -0.3787011504173279, -0.5588473081588745, -0.2616882622241974, 0.2257809340953827, -0.34651076793670654, 1.1462781429290771, -0.17416273057460785, -0.2892625033855438, -0.05959802120923996, 0.21766524016857147, -0.18960313498973846, -0.41473352909088135, -0.8345697522163391, -0.15171465277671814, 0.6317210793495178, 0.4249539077281952, 0.4233115017414093, 0.7886099815368652, 0.633219301700592, 0.3085476756095886, 0.0923871248960495, 0.30305391550064087, -0.3220233917236328, 0.18148396909236908, -0.3292240500450134, -0.34414976835250854, -0.6403026580810547, -0.15288081765174866, 0.5385422110557556, 0.42884182929992676, -0.31853610277175903, 0.290010541677475, 0.08144659548997879, 0.16503028571605682, -0.3617832064628601, 0.40009400248527527, -0.883163571357727, 0.08831857889890671, -0.7530097961425781, -0.5397994518280029, -0.00006045657937647775, -0.06110772490501404, 0.22525151073932648, -0.6518992185592651, 0.16065143048763275, -0.09892481565475464, 0.8712833523750305, 0.29282939434051514, -0.2992587685585022, -0.5049025416374207, -0.8238405585289001, 0.4135670065879822, -0.5184933543205261, 0.2596587836742401, -0.08105450868606567, 0.37202736735343933, 0.0163850300014019, -1.2551904916763306, -0.2378406971693039, -0.13183876872062683, 0.24249885976314545, 0.13728970289230347, -0.09086014330387115, 0.24852849543094635, 0.03514432534575462, 0.5176733732223511, -0.36368468403816223, 0.29128849506378174, -0.20452621579170227, -0.13104042410850525, 0.38085639476776123, 0.46993201971054077, 0.1058206707239151, -0.12534506618976593, -0.23594757914543152, 0.6231322884559631, -0.7668384313583374, -0.11933234333992004, 0.29114481806755066, 0.28182679414749146, 0.223469540476799, 0.6498512625694275, -0.34020134806632996, 0.43136462569236755, 0.08462411910295486, -0.28310850262641907, 0.028850194066762924, -0.3854706585407257, -0.23350505530834198, -0.11866305023431778, 0.8092250823974609, 0.21962378919124603, 0.16617918014526367, -0.489483118057251, -0.39038172364234924, 0.09630551934242249, 0.3392484188079834, -0.7800212502479553, -0.1744007021188736, 0.2849239706993103, -0.22004790604114532, -0.4443056881427765, -0.27083268761634827, -0.8215876221656799, -0.05671621859073639, -0.5176368355751038, 0.27517005801200867, -0.5321966409683228, -0.2499697506427765, -0.04407481104135513, 0.0189110916107893, 0.4050002992153168, 0.4648289382457733, -0.9902121424674988, 0.35237085819244385, 0.9109997749328613, 0.895769476890564, -0.4156160354614258, -0.09368947148323059, -0.21109639108181, 0.4963388741016388, -0.23479318618774414, 1.0727988481521606, -0.7402637004852295, -0.41672664880752563, -0.14182697236537933, -0.418318510055542, 0.4393203854560852, -0.6364101767539978, 0.5130623579025269, -0.6351486444473267, -0.005980048794299364, 0.006001268979161978, -0.7747834920883179, -0.18794016540050507, 0.6122015714645386, -0.4567273259162903, 0.9945518374443054, 0.20769643783569336, -0.6826037764549255, 0.5013365149497986, -0.7932375073432922, -0.16089323163032532, 0.7887063026428223, -0.6800557374954224, -0.15197843313217163, 0.1352497786283493, 0.04292842373251915, 0.544814944267273, -0.3679508864879608, 0.7174676060676575, -0.26886865496635437, -0.07143273949623108, -0.1348010152578354, -0.11565324664115906, 0.2351195216178894, 0.21578389406204224, -0.38500332832336426, 0.14107002317905426, -0.7055057883262634, 0.024061204865574837, 0.02616552822291851, -0.3097700774669647, -0.32638776302337646, -0.019654083997011185, -0.3364487886428833, 0.04867072030901909, 0.3688843250274658, -0.14672519266605377, 0.6749100089073181, -0.18803828954696655, 0.6630410552024841, 0.7012759447097778, 0.43693676590919495, 0.5631328225135803, -0.08437927812337875, 0.5902084112167358, 0.07016836106777191, 0.03721889108419418, -0.126348614692688, -0.5724719762802124, -0.6559627056121826, -0.384799987077713, 0.3527250289916992, 0.42333102226257324, -0.8615432381629944, 0.41548559069633484, -0.4540514349937439, -0.5597941875457764, -0.1533069759607315, -0.12658479809761047, 0.06212279573082924, 0.6023364663124084, 0.265785813331604, -0.34387725591659546, -0.4151039719581604, -0.9163476228713989, -0.1108354851603508, -0.1324014663696289, -0.05030185729265213, 0.2883279621601105, 0.42000389099121094, -0.529529869556427, 1.0992310047149658, -0.4864445626735687, -0.17025601863861084, 0.07382060587406158, 0.20869503915309906, -0.05207951366901398, 0.2834163010120392, 0.4655195474624634, -0.529700517654419, -0.19003169238567352, -0.04224982112646103, -0.628778338432312, 0.10181018710136414, -0.05996153503656387, -0.26823022961616516, -0.03713966906070709, 0.20872078835964203, -0.6520124077796936, 0.0849304124712944, -0.22558265924453735, 0.024694344028830528, 0.5674306154251099, 0.14566439390182495, -0.15732750296592712, -1.11806058883667, -0.26334935426712036, 0.01131258811801672, -0.09803184121847153, -0.6415773630142212, 0.26407143473625183, -0.0704505667090416, 0.20012035965919495, -0.35106217861175537, 0.5381983518600464, -0.5050352215766907, -0.4332694709300995, 0.09039521962404251, 0.14020618796348572, -0.1767139732837677, 0.37815991044044495, 0.07240074127912521, 0.7163376212120056, 0.8793975710868835, -0.9512283802032471, 0.40094974637031555, 0.094655342400074, -0.10358971357345581, 0.5069909691810608, -0.27042824029922485, 0.104749895632267, -0.024774465709924698, 0.13357630372047424, -0.42260751128196716, -0.45804497599601746, 0.22789190709590912, -0.22148030996322632, 0.48946255445480347, -0.2686358094215393, -0.6743050813674927, -0.4235113859176636, -0.3297094404697418, 0.28438326716423035, 0.305459588766098, -0.36095142364501953, 0.6822410225868225, 0.4399241507053375, -0.42557671666145325, -0.09625926613807678, -0.43055880069732666, 0.3377048671245575, -0.6446899771690369, -0.4973278045654297, 0.6665178537368774, -0.07879979908466339, -0.3878234326839447, 0.15580743551254272, -0.2487085908651352, -0.1544840931892395, 0.22795134782791138, -0.1723392754793167, 0.2431963086128235, -0.4207104742527008, 0.10215490311384201, 0.09483131766319275, 0.15506234765052795, 0.08575870841741562, -0.5354570150375366, 0.6498730778694153, -0.4159090518951416, -0.1302708089351654, -0.3194911479949951, 0.21102198958396912, 0.21640481054782867, -0.3301878571510315, -0.08019233494997025, 0.5806034803390503, -0.6023146510124207, -0.20864476263523102, -0.43983256816864014, -0.08752156049013138, -0.5011938214302063, 0.2526387870311737, -0.7839131355285645, -1.2808887958526611, 0.5851021409034729, -0.3793775737285614, 0.16611391305923462, 0.4674947261810303, 0.8268287777900696, 0.2186189889907837, 0.565627932548523, 0.41673943400382996, 0.08267736434936523, 0.25160568952560425, -0.31095027923583984, 0.11154044419527054, -0.8157680034637451, -0.34688976407051086, -0.3856230676174164, -0.12671342492103577, -0.9315219521522522, -0.5176637172698975, 0.2001934051513672, 0.14588883519172668, -0.5147547721862793, 0.061674896627664566, -0.7596938014030457, 0.28645363450050354, 0.41382014751434326, -0.14379315078258514, 0.48630788922309875, -0.10036579519510269, -0.11839935928583145, 0.13124100863933563, -0.35600000619888306, -0.860904335975647, 1.0850166082382202, 0.3831694722175598, 0.6806273460388184, 0.13719119131565094, 1.2204376459121704, 0.09683028608560562, 0.6046282052993774, -1.2090510129928589, 0.5505574345588684, 0.015721755102276802, -0.4242939352989197, -0.18488995730876923, -0.4093937575817108, -0.7373505234718323, -0.08108072727918625, 0.23093414306640625, -0.8310436010360718, 0.02202293463051319, 0.05130081996321678, -0.6732901334762573, 0.2653977572917938, -0.43865224719047546, 0.4622291624546051, -0.49594584107398987, -0.13369649648666382, 0.25272080302238464, -0.4027678072452545, 0.6780962347984314, -0.4397377669811249, 0.16084447503089905, -0.16416782140731812, -0.65220707654953, 0.6147939562797546, -0.21663615107536316, 0.46419966220855713, -0.024273760616779327, -0.4272311329841614, 0.5425949692726135, 0.2593971788883209, 0.4637521505355835, 0.5953559279441833, 0.11138986796140671, 0.10932400077581406, -0.31170663237571716, -0.06583103537559509, -0.607547402381897, 0.7382329702377319, -0.6074244379997253, -0.6853448748588562, -0.20382151007652283, -0.32403501868247986, -0.5026591420173645, 0.4108577370643616, 0.14345723390579224, 0.4591970145702362, -0.10962672531604767, -0.20060504972934723, 0.5930717587471008, 0.06180722266435623, 0.5674751400947571, 0.4945734143257141, -0.288897842168808, -0.4630829095840454, 0.9514997601509094, 0.21187609434127808, -0.014160417020320892, 0.4230043292045593, 0.047611139714717865, -0.33811378479003906, -0.9894772171974182, -0.4803103506565094, 0.05213811993598938, -0.46673691272735596, -0.5806847214698792, -0.7055315375328064, -0.1572515070438385, -0.47644904255867004, -0.10599207133054733, -0.20738595724105835, -0.4586945176124573, -0.531836211681366, -0.16010907292366028, 0.4466075897216797, 1.018042802810669, 0.23928257822990417, 0.33046022057533264, -0.8472660183906555, 0.3186325430870056, 0.36500072479248047, 0.6139400601387024, -0.2039785385131836, -0.3009662330150604, 0.1180192157626152, -0.30690091848373413, -0.4296804666519165, -0.6864847540855408, 0.36593011021614075, 0.3218640983104706, 0.6800175309181213, 0.4877239763736725, -0.2009173482656479, 0.851436972618103, -0.8223394155502319, 1.0566033124923706, -0.035658713430166245, -0.8743593096733093, 0.5438717007637024, -0.7245099544525146, -0.030184010043740273, 0.49093207716941833, 0.5268375277519226, -0.14373058080673218, -0.4105854034423828, -0.941666841506958, -1.1150643825531006, 0.4596847593784332, 0.25879594683647156, -0.022068651393055916, -0.15865354239940643, 0.8482826948165894, 0.13094402849674225, 0.39971601963043213, -0.42726796865463257, -0.4194236695766449, -0.24553383886814117, -0.1351451426744461, 0.09221746027469635, -0.18433822691440582, -0.09138283878564835, -0.07890670746564865, 0.5629570484161377, -0.3437965512275696, 0.4195587933063507, 0.03960924968123436, 0.004294738173484802, 0.2788781225681305, 0.45543384552001953, 0.7201415300369263, 0.6766899228096008, -0.14852796494960785, 0.31390976905822754, 0.005373905412852764, -0.3998546600341797, -0.024527227506041527, 0.3244221806526184, -0.12048011273145676, -0.014805966056883335, 0.14314506947994232, 0.6447916626930237, 0.18754829466342926, -0.2148170918226242, 0.12495743483304977, -0.005662128794938326, -0.23160994052886963, -0.3027893602848053, -0.00422662403434515, 0.2873239815235138, 0.29714521765708923, 0.36236485838890076, -0.2501831650733948, 0.5151629447937012, -0.5560497641563416, 0.4988119900226593, 0.3875690996646881, -0.06435246020555496, -0.36866700649261475, 0.5629445910453796, 0.2589632272720337, -0.1393381506204605, 0.2854228913784027, -0.6107208728790283, -0.41851839423179626, 0.4779784679412842, 0.4123247265815735, 0.8986992835998535, -0.057060763239860535, 0.06286880373954773, 0.2015077769756317, 0.15619315207004547, -0.12985573709011078, 0.2447470724582672, -0.11394523084163666, -0.8031399846076965, -0.3034835755825043, -0.8779854774475098, -0.4604753255844116, 0.34238433837890625, -0.556679904460907, 0.4134143590927124, -0.4977722764015198, -0.2515941560268402, 0.3130098581314087, 0.11806502938270569, -0.6325376629829407, 0.08547653257846832, 0.3002670407295227, 1.058290719985962, -0.21786142885684967, 0.7072302103042603, 0.9875222444534302, -0.6778784394264221, -1.0551306009292603, 0.10427988320589066, 0.10292957723140717, -0.842258632183075, 0.49725577235221863, 0.03664727136492729, 0.09439482539892197, 0.3882882595062256, -0.4935736060142517, -1.0695960521697998, 1.379531741142273, 0.003850688226521015, -0.6949511170387268, -0.474231094121933, 0.06722477078437805, 0.5082595944404602, -0.6006278991699219, 0.3278048038482666, 0.9133779406547546, 0.5828859806060791, 0.1724146455526352, -0.742804765701294, 0.001494330121204257, 0.023827431723475456, 0.21767382323741913, 0.34019654989242554, -0.6377993822097778, 0.7716418504714966, 0.026821419596672058, -0.28654345870018005, 0.014723711647093296, 0.7856149077415466, 0.21264562010765076, 0.0936160683631897, 0.2976612150669098, 0.6561942100524902, 0.9752649068832397, -0.2395671010017395, 0.7043519616127014, -0.4001608192920685, 0.5639809370040894, 1.2888661623001099, -0.37696024775505066, 0.3324344754219055, 0.19947636127471924, -0.14953848719596863, 0.3733005225658417, 1.1955969333648682, -0.17673857510089874, 0.3271903395652771, 0.3491572141647339, -0.5608436465263367, -0.1267222911119461, -0.015196891501545906, -0.22473539412021637, 0.4888666272163391, 0.8948865532875061, -0.07260185480117798, -0.6063385605812073, -0.1554248183965683, 0.06691616773605347, -0.5179725289344788, -0.7861320376396179, 1.0475175380706787, 0.14092902839183807, -0.6345146298408508, 0.26179057359695435, 0.009823710657656193, 0.9081085920333862, -0.3384130001068115, 0.09824442863464355, -0.1379774510860443, -0.23906660079956055, -0.3593086302280426, -1.1370257139205933, 0.2170633226633072, 0.16456429660320282, 0.21547815203666687, -0.1642581969499588, 0.7985796332359314, -0.47568002343177795, -0.12377741932868958, -0.012195345014333725, 0.6141098141670227, 0.3120630085468292, -0.09335952252149582, -0.6553800106048584, -0.22188326716423035, -0.0929996520280838, -0.409713476896286, 0.12808765470981598, 1.061248779296875, -0.44629183411598206, 0.5771904587745667, 0.3010651171207428, 0.06644194573163986, 0.18362775444984436, 0.2215030938386917, 1.056795358657837, -0.8047639727592468, -0.20559976994991302, -0.9042606353759766, 0.3288195729255676, 0.09938012808561325, -0.1955878883600235, 0.5165878534317017, 0.9058718085289001, 0.7500379085540771, 0.0732199177145958, 0.989020049571991, -0.17034709453582764, 0.2103988379240036, -0.298517107963562, 0.18752440810203552, -0.32759952545166016, 0.21047690510749817, -0.21024921536445618, -0.8535866737365723, -0.4242073893547058, 0.06288061290979385, -0.016993822529911995, 0.03819822892546654, 0.6595333218574524, 0.4259687066078186, -0.007751543540507555, 0.05421426519751549, 0.17514656484127045, 0.19856566190719604, 0.7047410011291504, 0.1930781900882721, 0.8911296725273132, 0.21755479276180267, 0.4827079474925995, -0.19433845579624176, -0.3818632662296295, -0.0658135861158371, -0.9412760734558105, -0.4957332909107208, -0.44737598299980164, -0.3737306296825409, -0.0957651287317276, -0.1566120833158493, 0.7829742431640625, 0.31230834126472473, -0.46422702074050903, 0.09522972255945206, -0.3660445511341095, -0.08134892582893372, 0.38126182556152344, -0.31867438554763794, 0.10619983822107315, -0.8555012941360474, -0.6834803223609924, 0.23265618085861206, 0.651820957660675, 0.19782252609729767, -0.31541118025779724, 0.28688305616378784, 0.09221262484788895, -0.09207291901111603, 0.769054651260376, 0.14648303389549255, -0.8623642325401306, -0.30638888478279114, -0.02315097488462925, 0.002842012094333768, 0.15656678378582, 0.9447044730186462, -0.6020524501800537, 0.12472865730524063, 0.14702020585536957, 0.7792226076126099, 0.5312705039978027, 0.029392646625638008, 0.47600820660591125, -0.67356938123703, -0.3353070616722107, 0.5047798752784729, 0.45935699343681335, 0.18585777282714844, -0.577862024307251, 0.6606963872909546, 0.3150399327278137, -0.5518804788589478, -0.548366904258728, 0.3673800826072693, -1.33319091796875, -0.05789319425821304, 1.368092656135559, 0.07418115437030792, -0.09800497442483902, -0.15389661490917206, -0.08735699951648712, 0.2350107878446579, -0.6613787412643433, 0.5630409121513367, 0.5770757794380188, -0.7050082683563232, -0.07097481936216354, -0.4044914245605469, 0.7744365334510803, -0.41356945037841797, -1.2392505407333374, -0.1408354640007019, 0.4466765522956848, 0.4953940510749817, 0.39484959840774536, 0.870817244052887, -0.2707396149635315, -0.1124594435095787, -0.4081752598285675, 0.23390552401542664, 0.07037881016731262, -0.22066915035247803, -0.24217619001865387, 0.17447519302368164, 0.15364444255828857, 0.14280100166797638 ]
http://arxiv.org/abs/2402.12556v1
http://arxiv.org/pdf/2402.12556v1
IMBUE: Improving Interpersonal Effectiveness through Simulation and Just-in-time Feedback with Human-Language Model Interaction
2024-02-19T21:31:11
2024-02-19T21:31:11
Inna Wanyin Lin, Ashish Sharma, Christopher Michael Rytting, Adam S. Miner, Jina Suh, Tim Althoff
cs.HC
cs.HC, cs.CL
Navigating certain communication situations can be challenging due to individuals' lack of skills and the interference of strong emotions. However, effective learning opportunities are rarely accessible. In this work, we conduct a human-centered study that uses language models to simulate bespoke communication training and provide just-in-time feedback to support the practice and learning of interpersonal effectiveness skills. We apply the interpersonal effectiveness framework from Dialectical Behavioral Therapy (DBT), DEAR MAN, which focuses on both conversational and emotional skills. We present IMBUE, an interactive training system that provides feedback 25% more similar to experts' feedback, compared to that generated by GPT-4. IMBUE is the first to focus on communication skills and emotion management simultaneously, incorporate experts' domain knowledge in providing feedback, and be grounded in psychology theory. Through a randomized trial of 86 participants, we find that IMBUE's simulation-only variant significantly improves participants' self-efficacy (up to 17%) and reduces negative emotions (up to 25%). With IMBUE's additional just-in-time feedback, participants demonstrate 17% improvement in skill mastery, along with greater enhancements in self-efficacy (27% more) and reduction of negative emotions (16% more) compared to simulation-only. The improvement in skill mastery is the only measure that is transferred to new and more difficult situations; situation specific training is necessary for improving self-efficacy and emotion reduction.
[ -0.49242815375328064, -1.16120445728302, 0.06446430832147598, 0.8693064451217651, -0.08973697572946548, 0.5975333452224731, -0.4047948718070984, -0.4576343595981598, 0.4622190594673157, -0.1874447911977768, -0.4742361605167389, 0.0572570264339447, -0.5798842906951904, -0.009759744629263878, -0.2512408494949341, 0.6672972440719604, 0.2555314004421234, 0.4818793535232544, 0.18729016184806824, 0.0616108700633049, -0.43766140937805176, -0.8446118831634521, -0.6872106194496155, -0.8867995142936707, 0.169636070728302, 0.6452921032905579, 0.2654142379760742, -0.15785881876945496, 0.5197646617889404, 0.2648185193538666, 0.043845582753419876, -0.1783209890127182, -0.7777990698814392, -0.1327124834060669, -0.4177156090736389, -0.2281953990459442, -0.3886520266532898, 0.275057315826416, 0.43488648533821106, 0.42175397276878357, -0.7360146045684814, -0.03992548584938049, 0.5221654772758484, 0.3495510220527649, -0.5694556832313538, 0.005654120817780495, -0.3414309322834015, 0.011352257803082466, 0.04126366972923279, -0.25086748600006104, -0.36240822076797485, -0.4045517146587372, 0.19247595965862274, -0.2310331165790558, -0.20660191774368286, 0.0349126011133194, 0.8397414684295654, -0.1332281082868576, -0.42063552141189575, -0.07759518176317215, -0.880284309387207, 0.36868414282798767, -1.208748459815979, 0.26582595705986023, 0.2256687581539154, 0.197624072432518, -0.36242032051086426, -0.27082914113998413, -0.5159897208213806, -0.6297042369842529, 0.023087063804268837, 0.5955747961997986, -0.01948309876024723, 0.4212283492088318, 0.387309193611145, 0.06884549558162689, -0.03420061618089676, 0.08481995761394501, -0.2599423825740814, 0.09425105154514313, 0.6638518571853638, -0.06047825887799263, 0.19490794837474823, 0.03714028000831604, -0.19068937003612518, -0.10651465505361557, -0.3876523971557617, 0.2377176135778427, 0.1100618839263916, -0.25573381781578064, -0.23574411869049072, 0.3933963179588318, -0.28409215807914734, 0.19432978332042694, 0.38678616285324097, -0.5008825659751892, -0.24188020825386047, -0.08410615473985672, 0.022672254592180252, 0.002036303048953414, 0.520271360874176, 0.348000168800354, 0.3941453695297241, -0.46849989891052246, 0.041189223527908325, 0.08597590029239655, 0.6342232823371887, -1.2342995405197144, -0.2163725644350052, 0.09882223606109619, -0.4173083007335663, -0.36494946479797363, 0.1552828699350357, -0.7767597436904907, -0.05664242058992386, -0.4711759090423584, 0.48783114552497864, -0.5603805780410767, -0.7510921955108643, -0.15479250252246857, 0.07803402096033096, 0.18633024394512177, 0.44969886541366577, -0.8253857493400574, 0.6746503114700317, 0.30622735619544983, 0.8430742025375366, 0.08138425648212433, -0.2818722426891327, -0.4800267219543457, -0.008439094759523869, -0.24150681495666504, 0.7013996839523315, -0.5139698386192322, -0.5603049993515015, -0.11252585798501968, -0.1703874170780182, 0.020246723666787148, -0.7075186371803284, 0.2335343062877655, 0.0020369228441268206, 0.13504889607429504, -0.07112311571836472, -0.8264698386192322, -0.09102685004472733, 0.48544538021087646, 0.05678800866007805, 0.8545187711715698, 0.38633543252944946, -0.31298068165779114, 0.09871898591518402, -0.8831780552864075, -0.3734875023365021, 0.01971866376698017, -0.08261715620756149, -0.26753103733062744, 0.32130980491638184, -0.13964076340198517, 0.21780288219451904, -0.1530933976173401, 0.07840627431869507, -0.6375138163566589, -0.575714111328125, 0.4014345109462738, -0.07313638180494308, 0.3309601843357086, 0.10574942082166672, -0.7158360481262207, -0.13551266491413116, -0.6955474019050598, 0.5183166861534119, -0.06142427772283554, -0.49957275390625, -0.057988863438367844, -0.3888276219367981, 0.15231886506080627, 0.23479017615318298, -0.2740020453929901, -0.7462753057479858, 0.21167735755443573, -0.31320086121559143, 0.09660249203443527, 0.6627165675163269, 0.2507842183113098, 0.3719094395637512, -0.2930675446987152, 0.8062950968742371, 0.08365491777658463, 0.2954067885875702, 0.09036217629909515, -0.0800088569521904, -0.5053573250770569, -0.25165867805480957, 0.2661496102809906, 0.7477847933769226, -0.6512433290481567, 0.12319190055131912, -0.06581639498472214, -0.5406007170677185, -0.6310890316963196, 0.2051229178905487, 0.710311770439148, 0.553390622138977, 0.10301249474287033, -0.8493443131446838, -0.22359943389892578, -0.6333094835281372, -0.34279295802116394, -0.39392492175102234, 0.33625155687332153, -0.10509642213582993, 0.35890135169029236, -0.21958857774734497, 0.832009494304657, 0.03192611783742905, -0.038084495812654495, -0.3162703812122345, 0.5910229086875916, -0.14672599732875824, 0.5492891073226929, 0.4650684595108032, -0.3115875720977783, -0.861801028251648, 0.01956116035580635, -0.81276535987854, -0.39408794045448303, -0.09633594006299973, -0.09749045968055725, -0.07417439669370651, 0.3952270448207855, -0.10300470143556595, 0.718934953212738, 0.36853188276290894, -0.3024734854698181, 0.6037116050720215, -0.4938044548034668, 0.7361751198768616, -0.6481679677963257, 0.014826033264398575, 0.08101882040500641, -0.3200438916683197, -0.728203296661377, -0.37391147017478943, 0.28690335154533386, -0.11595064401626587, -0.3731250762939453, 0.615788996219635, -0.3019363582134247, 0.20651860535144806, -0.4417436420917511, 0.1037922203540802, -0.3235706388950348, 0.8091368675231934, -0.19463030993938446, 0.7581023573875427, -0.021731138229370117, -0.5598350763320923, 0.18304264545440674, 0.3614369332790375, -0.5503275394439697, 1.3717000484466553, -0.618723452091217, 0.21848365664482117, -0.2391171008348465, -0.17564252018928528, -0.6719833016395569, -0.34603267908096313, 0.14393723011016846, -0.35197338461875916, 0.5229692459106445, 0.004690070636570454, -0.40164244174957275, -0.3019808828830719, 0.03943406417965889, -0.10698648542165756, 0.5758047103881836, -0.2846691906452179, 0.41193246841430664, 0.16207779943943024, -0.3986941874027252, -0.5236631631851196, -0.4430486559867859, 0.28480467200279236, -0.05816004425287247, -0.5700955986976624, 0.11056044697761536, -0.6282615065574646, -0.5514503717422485, -0.021528221666812897, 0.11757053434848785, -0.29498347640037537, 0.4028303027153015, 0.16393671929836273, -0.30308714509010315, 0.4033624231815338, 0.23977693915367126, 0.1904199719429016, -0.14868053793907166, 0.05865050107240677, 0.282868891954422, 0.284868061542511, -0.4086017906665802, -0.5667697191238403, -0.614010751247406, 0.6032008528709412, 0.3287021517753601, -0.1020047664642334, 0.7833031415939331, 0.46960321068763733, -0.2128802239894867, -0.004769894760102034, -0.8140779733657837, -0.9107208847999573, -0.379471093416214, 0.47484061121940613, -0.44750910997390747, -0.5398191213607788, 0.1967870444059372, -0.5176313519477844, 0.0639130175113678, -0.6250808238983154, 0.4782780706882477, -0.6225630044937134, 1.046718716621399, 0.767018735408783, 0.06783197820186615, 0.8837335705757141, -0.24679246544837952, 0.432166188955307, -0.6923085451126099, -0.1795671135187149, 0.09514076262712479, -0.44037926197052, 0.1404474526643753, 0.052123505622148514, 0.7122042775154114, 0.3405785858631134, -0.22784659266471863, -0.1508028209209442, -0.2551676034927368, 0.2757892310619354, 0.5727522373199463, 0.4765666723251343, 0.28851237893104553, -0.16464701294898987, 0.15549156069755554, -0.5699010491371155, -0.7971447706222534, -0.3922676146030426, 0.6169450283050537, 0.2241630256175995, 0.8753857612609863, 0.262803852558136, 0.7230486869812012, 0.37119874358177185, 1.057814359664917, -0.5652836561203003, 0.37811198830604553, 0.47588828206062317, -0.6966100931167603, -0.010623608715832233, -0.26211750507354736, -0.7053974270820618, 0.479519784450531, -0.4766721725463867, -0.6933363080024719, -0.11993773281574249, 0.43604469299316406, -0.10079537332057953, 0.13434205949306488, -1.1187348365783691, 0.7589302659034729, -0.3964489698410034, -0.5874090194702148, -0.6528990864753723, -0.6736438870429993, 0.20487160980701447, -0.1481325924396515, 0.24415409564971924, -0.25803911685943604, 0.39083901047706604, 0.35870662331581116, -0.6953484416007996, 0.8618654012680054, -0.22990088164806366, 0.1615368127822876, 0.23685573041439056, 0.2224482148885727, 0.5878725051879883, -0.04791606217622757, -0.21302767097949982, -0.16183370351791382, 0.08834131062030792, -0.6521114110946655, -1.0870531797409058, 0.24442969262599945, -0.6836915612220764, -0.5243861079216003, -0.3169156014919281, -0.2813807427883148, -0.324491947889328, 0.031126823276281357, 0.30575019121170044, 0.595173180103302, -0.6277101039886475, 0.3551320731639862, 0.7971398234367371, -0.01216099876910448, 0.26797476410865784, 0.929006040096283, -0.22800645232200623, -0.5993848443031311, 0.5230168104171753, 0.3829193711280823, 0.6537249684333801, 0.1863216906785965, 0.2469557523727417, -0.06370651721954346, 0.0020282159093767405, 0.09619603306055069, 0.37256577610969543, -0.6892720460891724, 0.014750368893146515, -0.6046168208122253, -0.19085398316383362, -0.32209673523902893, -0.31847310066223145, -0.4923325777053833, -0.04039384052157402, 0.1847894936800003, -0.1901734322309494, 0.25076115131378174, 0.7602225542068481, -0.6254047155380249, 0.9124084711074829, -0.48889264464378357, -0.12687723338603973, 0.2939578890800476, 0.32214465737342834, 0.27827537059783936, -0.3459727168083191, -0.7124659419059753, 0.24474374949932098, -0.664449155330658, -1.0439003705978394, 0.45798376202583313, 0.13028982281684875, 0.38329029083251953, 0.14890938997268677, -0.09181900322437286, 0.8384265303611755, -0.07175673544406891, 0.35507407784461975, 0.36761072278022766, -1.2099125385284424, 0.47188663482666016, -0.1185622438788414, 0.25364813208580017, 0.5363405346870422, -0.08584490418434143, -0.5989222526550293, -0.5976210832595825, -0.8750190734863281, -0.42618876695632935, 0.6638416647911072, 0.3662809729576111, -0.07843650132417679, 0.10009826719760895, 0.6288668513298035, -0.1608509123325348, 0.5089921951293945, -0.8646517992019653, -0.20726539194583893, -0.1542128473520279, -0.21077695488929749, 0.15406884253025055, -0.4195173978805542, -0.21736431121826172, -0.3262844979763031, 1.0393210649490356, -0.05702643841505051, 0.347624808549881, 0.3011873662471771, -0.15910546481609344, -0.30826711654663086, 0.48144790530204773, 0.2463103085756302, 0.6409305334091187, -0.356964111328125, -0.14727260172367096, 0.3969472050666809, -0.25567588210105896, 0.5481832027435303, -0.23846778273582458, 0.34266015887260437, -0.1789972484111786, 0.08731453865766525, 0.5521857142448425, 0.5383261442184448, -0.5889723896980286, 0.668376624584198, -0.11530834436416626, 0.021920781582593918, -0.2554067373275757, -0.008182290941476822, -0.0385955385863781, 0.4318147301673889, -0.12071307748556137, -0.07349054515361786, 0.07256830483675003, -0.49149376153945923, 0.3051954209804535, 0.45414015650749207, -0.46403446793556213, -0.3992609977722168, 0.6489101648330688, 0.49208492040634155, -0.4505041539669037, 0.6008707284927368, -0.3190827965736389, -0.3197580873966217, 0.48860853910446167, 0.6848950386047363, 0.6708487272262573, -0.47324228286743164, 0.4129221737384796, 0.3207043409347534, 0.42783409357070923, -0.10703477263450623, 0.38649821281433105, -0.09406859427690506, -0.4641525149345398, -0.46518394351005554, -0.0916217789053917, -0.9393173456192017, -0.09961988031864166, -0.6876616477966309, 0.21432307362556458, -0.5125204920768738, -0.36499911546707153, -0.5498104095458984, 0.09188918024301529, -0.6593132019042969, 0.04967392608523369, -0.1474442034959793, 0.7957090139389038, -0.5199785828590393, 0.9214565753936768, 0.8256715536117554, -0.5584672689437866, -0.8878185153007507, -0.15195031464099884, 0.012687933631241322, -0.6015940308570862, 0.49805954098701477, -0.00163111905567348, -0.21620558202266693, 0.32618531584739685, -0.6491185426712036, -0.609715461730957, 0.9443299174308777, 0.6806778311729431, -0.30766093730926514, 0.34333568811416626, -0.16061995923519135, 0.6605982184410095, -0.08489713817834854, 0.8810832500457764, 0.38381892442703247, 0.47706326842308044, -0.13651007413864136, -1.144368290901184, -0.46840256452560425, -0.5655307769775391, 0.10261017084121704, 0.014712277799844742, -1.1130669116973877, 0.3400193452835083, -0.1956188976764679, -0.128041610121727, 0.1188734695315361, 0.7024251222610474, 0.17574946582317352, 0.16419219970703125, 0.5166748762130737, 0.545500636100769, 0.7483404874801636, -0.1155005693435669, 0.962225615978241, -0.40347087383270264, 0.2679467797279358, 1.059631109237671, -0.2357516884803772, 0.5210249423980713, 0.36573100090026855, -0.010958771221339703, 0.7485766410827637, 0.4472475051879883, 0.5747862458229065, 0.44919565320014954, 0.20103874802589417, -0.4651910960674286, -0.2754242420196533, -0.19234241545200348, -0.1380215436220169, 0.11776037514209747, 0.3115086853504181, 0.3226255476474762, -0.1688549965620041, 0.5271350145339966, 0.34595736861228943, 0.23665256798267365, 0.12548726797103882, 0.7358611226081848, 0.33994758129119873, -0.6317219138145447, 0.535144031047821, -0.34545499086380005, 0.5155709385871887, -0.940661609172821, -0.0966954156756401, -0.3599764406681061, 0.487871378660202, -0.1964540034532547, -0.43810564279556274, -0.09970331937074661, -0.1723436713218689, -0.03079308196902275, -0.3969086706638336, 0.48322245478630066, -0.8817903995513916, 0.001126682385802269, 0.573666512966156, 0.6812344789505005, 0.1512865275144577, -0.1989428699016571, -0.682802677154541, -0.09187956154346466, -0.16142280399799347, -0.3491779565811157, 0.4871436357498169, 0.4873478412628174, 0.2881239056587219, 0.9243811964988708, 0.2904774248600006, 0.2146662026643753, 0.1308138519525528, -0.061460159718990326, 0.614730954170227, -0.7487980127334595, -0.5461366772651672, -0.5847263932228088, 0.7241078615188599, -0.4964762032032013, -0.13411515951156616, 0.6586105823516846, 0.044205378741025925, 0.5706452131271362, -0.0351080484688282, 0.963840126991272, -0.2879329323768616, 0.675719678401947, -0.10767925530672073, 0.32288309931755066, -0.6491273045539856, 0.0464453361928463, -0.4091089367866516, -0.8985961079597473, 0.1384914368391037, 0.61529141664505, -0.09961982071399689, -0.10427633672952652, 0.6885083317756653, 0.7952380180358887, 0.054138388484716415, -0.13015766441822052, 0.40095046162605286, 0.4163711667060852, 0.8744903802871704, 0.39774149656295776, 1.0063579082489014, -0.15094444155693054, 0.16561931371688843, -0.7931599020957947, -0.6984936594963074, -0.32031476497650146, -0.8760147094726562, -0.8638082146644592, -0.3615829050540924, -0.33549973368644714, -0.4519384801387787, 0.2717704474925995, 1.3606704473495483, 0.9388983845710754, -0.3466477692127228, -0.6887430548667908, 0.1952686607837677, -0.24762628972530365, -0.34682074189186096, -0.2414306104183197, -0.3252900242805481, -0.5335802435874939, -0.6913202404975891, 0.43029817938804626, 0.5321375727653503, 0.422065794467926, -0.10681991279125214, -0.19920459389686584, -0.04923709109425545, 0.15387926995754242, 0.7043812870979309, 0.4456934928894043, -0.4095892012119293, -0.2075178474187851, -0.1615387201309204, -0.11459489911794662, 0.15887777507305145, 0.7101634740829468, -0.6708189249038696, 0.874093234539032, 0.04526759684085846, 0.485158234834671, 0.5327364206314087, 0.2557530105113983, 0.8172579407691956, -0.6434582471847534, 0.4938122630119324, 0.03205282241106033, 0.3420305550098419, 0.28086546063423157, -0.39003226161003113, 0.8933281302452087, 0.3190009593963623, -0.7094435691833496, -0.6952270269393921, 0.17108330130577087, -0.7620368599891663, -0.07038383185863495, 1.0418044328689575, -0.26424896717071533, 0.19406184554100037, -0.042188674211502075, -0.6672089099884033, 0.26250705122947693, -0.5047696828842163, 1.246726393699646, 1.0423016548156738, -0.4555101692676544, -0.21453876793384552, -0.4261552691459656, 0.20401202142238617, 0.9238327145576477, -1.1241507530212402, -0.41475918889045715, 0.1785382181406021, 0.24094481766223907, -0.1441466212272644, 1.1537641286849976, 0.09510952234268188, 0.043134905397892, -0.3142796456813812, 0.4210919737815857, 0.4111160635948181, -0.14927032589912415, -0.15479446947574615, -0.1394825279712677, 0.25546202063560486, 0.3053979277610779 ]
http://arxiv.org/abs/2402.12554v2
http://arxiv.org/pdf/2402.12554v2
Archer: A Human-Labeled Text-to-SQL Dataset with Arithmetic, Commonsense and Hypothetical Reasoning
2024-02-19T21:24:36
2024-02-25T00:12:38
Danna Zheng, Mirella Lapata, Jeff Z. Pan
cs.CL
cs.CL
We present Archer, a challenging bilingual text-to-SQL dataset specific to complex reasoning, including arithmetic, commonsense and hypothetical reasoning. It contains 1,042 English questions and 1,042 Chinese questions, along with 521 unique SQL queries, covering 20 English databases across 20 domains. Notably, this dataset demonstrates a significantly higher level of complexity compared to existing publicly available datasets. Our evaluation shows that Archer challenges the capabilities of current state-of-the-art models, with a high-ranked model on the Spider leaderboard achieving only 6.73% execution accuracy on Archer test set. Thus, Archer presents a significant challenge for future research in this field.
[ -0.16042044758796692, -0.8452437520027161, 0.2941061556339264, 0.17039243876934052, -0.07338649034500122, 0.13436803221702576, 0.3006337583065033, -0.5305254459381104, -0.013482829555869102, 0.41319575905799866, -0.6136617660522461, -0.5257638692855835, -0.5775973200798035, 0.5784280300140381, -0.3377504050731659, 0.9463148713111877, 0.14399436116218567, 0.16943861544132233, -0.14572693407535553, -0.4563773274421692, -0.678054928779602, -0.7055593132972717, -0.637191891670227, -0.04551919177174568, 0.48891690373420715, 0.5757480263710022, 1.0293235778808594, 0.3873222768306732, 0.7153649926185608, 0.24679724872112274, 0.057978346943855286, 0.5417670607566833, -0.42727166414260864, -0.07250585407018661, -0.5869768261909485, -0.6227202415466309, -0.7257063984870911, -0.23670844733715057, 0.42227187752723694, 0.9534371495246887, 0.07335753738880157, 0.3421759009361267, -0.45741134881973267, 0.979942798614502, -0.4391257166862488, 0.1806425005197525, -0.7302637100219727, 0.1136387512087822, -0.40680864453315735, 0.049294259399175644, -0.6915557980537415, -0.09184946119785309, 0.2759762406349182, -0.757041871547699, 0.10729718953371048, 0.8650248050689697, 0.9690631628036499, 0.11467455327510834, -1.1861902475357056, -0.16101917624473572, -0.5530558228492737, 0.8811046481132507, -0.3126879334449768, 0.1285409778356552, 0.5560248494148254, 0.6698871850967407, -0.1998368501663208, -0.6865081787109375, -0.5697614550590515, 0.061448026448488235, -0.26873883605003357, -0.1755765825510025, -0.4310031533241272, -0.13121041655540466, 0.22111839056015015, 0.010512413457036018, -0.882645308971405, -0.040509577840566635, -0.3582398295402527, 0.030129458755254745, 1.181505799293518, 0.5409198999404907, 0.48474910855293274, -0.21390236914157867, 0.14002537727355957, 0.18938162922859192, -0.9017025232315063, -0.023442566394805908, 0.2920575737953186, 0.2887093722820282, 0.1848994791507721, 0.9527193307876587, -0.3772922158241272, 1.0944782495498657, 0.025847988203167915, 0.2132619023323059, -0.09777755290269852, -0.0274329986423254, -0.2596262991428375, 0.14099304378032684, 0.6222892999649048, 0.29695066809654236, 0.28288733959198, -0.03738512098789215, -0.17323902249336243, -0.1332818567752838, -0.011661972850561142, -0.6679480671882629, -0.294973760843277, 0.6572462320327759, -0.22964903712272644, -0.22580231726169586, -0.11422473937273026, -0.4740733504295349, -0.4357815086841583, -0.27415233850479126, 0.6230082511901855, -0.3514861464500427, -0.2220764458179474, 0.32366105914115906, -0.026830384507775307, 0.3240295350551605, 0.4167783856391907, -0.8382968902587891, 0.3554888367652893, 0.9629353880882263, 0.515820324420929, -0.27845942974090576, -0.32706552743911743, -0.3595329225063324, 0.07658328860998154, -0.6101098656654358, 0.9490249752998352, -0.758772075176239, -0.1131824180483818, -0.34948673844337463, 0.13843539357185364, -0.04174096882343292, -0.5238938927650452, 0.534548819065094, -0.6341342926025391, 0.2968662977218628, -0.40700069069862366, -0.7859077453613281, -0.267384797334671, 0.25562411546707153, -0.937021791934967, 0.6924291253089905, -0.07991797477006912, -0.7708384394645691, 0.26448458433151245, -0.5639294981956482, -0.7826780676841736, 0.3136465847492218, -0.2293594926595688, -0.3552568256855011, -0.18150772154331207, 0.2833632826805115, 0.39271071553230286, -0.7463967204093933, 0.5846314430236816, -0.16056938469409943, -0.38845643401145935, 0.24350950121879578, -0.3122327923774719, 1.1058909893035889, 0.4605734646320343, -0.18509024381637573, -0.1406933218240738, -0.8494671583175659, -0.012013483792543411, 0.35071995854377747, 0.06725585460662842, -0.199213445186615, 0.3353939354419708, -0.30889976024627686, -0.2792654037475586, 0.15780894458293915, -0.5009902119636536, 0.3118620216846466, -0.21707290410995483, 0.2855125069618225, 0.40100640058517456, 0.041127316653728485, 0.08608780056238174, -0.46261492371559143, 0.6478874087333679, 0.04292257875204086, -0.14828574657440186, -0.18471258878707886, -0.8564521670341492, -0.6366919279098511, -0.11634156852960587, 0.12934176623821259, 0.919033944606781, -0.734066367149353, 0.29831910133361816, -0.4373806118965149, -0.6074396967887878, -0.5217750072479248, -0.46796220541000366, 0.4492358863353729, 0.6783163547515869, 0.3449571132659912, 0.36175835132598877, -0.2772460877895355, -1.083442211151123, -0.5911049842834473, -0.023147685453295708, -0.024441668763756752, 0.4737990200519562, 0.8582332134246826, 0.2801249027252197, 0.8661743998527527, -0.8378692269325256, -0.355158269405365, -0.30946263670921326, 0.37736979126930237, 0.35852164030075073, 0.34569522738456726, 0.3118419945240021, -1.1348439455032349, -0.6122174263000488, 0.2394457757472992, -1.0367952585220337, 0.29489031434059143, -0.23751677572727203, 0.014951725490391254, 0.280696839094162, 0.06315983086824417, -0.6516663432121277, 0.4474518299102783, 0.2830018699169159, -0.7617648839950562, 0.7326511740684509, -0.0932183563709259, 0.631223738193512, -1.137848138809204, 0.15202440321445465, 0.05615970864892006, 0.009634893387556076, -0.7095197439193726, 0.17040474712848663, 0.00980184692889452, -0.4825633466243744, -0.5270050168037415, 0.5266358852386475, -0.45157966017723083, 0.019022131338715553, 0.27729305624961853, -0.05950659140944481, 0.18087564408779144, 0.47265568375587463, 0.05365968123078346, 1.0552468299865723, 0.6082721948623657, -0.24951492249965668, 0.8676227331161499, 0.31710392236709595, -0.42143720388412476, 0.9683490991592407, -1.0108425617218018, 0.10455529391765594, -0.38781529664993286, 0.16181541979312897, -1.0258885622024536, -0.6231867671012878, -0.2600468397140503, -0.6682178378105164, -0.020181525498628616, -0.19434015452861786, -0.5020463466644287, -0.14217166602611542, -0.03872096911072731, 0.708061933517456, 0.3229605257511139, -0.4647895395755768, 0.6278209090232849, 0.5612915754318237, -0.035337720066308975, -0.6895061731338501, -0.7185250520706177, 0.39848625659942627, -0.22935830056667328, -1.0530341863632202, 0.1175503060221672, 0.3592228889465332, -0.5306218266487122, 0.12245157361030579, 0.1740790754556656, -0.5105605125427246, -0.12064363807439804, -0.09124747663736343, 0.4485056400299072, -0.2580348253250122, 0.3192627429962158, 0.18676991760730743, 0.19842509925365448, 0.14279486238956451, -0.1371009200811386, -0.09500940144062042, -0.47461026906967163, -0.5518261194229126, -0.4706214964389801, 0.6281907558441162, 0.23951047658920288, -0.3188130259513855, 0.7334946990013123, -0.21265536546707153, -0.6435155272483826, -0.22794431447982788, -0.05364347994327545, 0.13008594512939453, -0.47517767548561096, 0.64263516664505, -0.8111929297447205, -0.6890974640846252, 0.35848626494407654, 0.1030908077955246, 0.1836315393447876, 0.6714514493942261, 0.19015872478485107, -0.16870048642158508, 1.536847472190857, -0.18429778516292572, 0.0770559012889862, -0.6536509394645691, -0.25653275847435, 0.33525440096855164, -0.2768785357475281, -0.5328482985496521, -0.6813586950302124, -0.26903706789016724, -0.438200443983078, -0.2807917594909668, 0.3172483444213867, -0.24982000887393951, -0.6288666725158691, 0.3334968388080597, -0.7398511171340942, 0.9121220111846924, 0.18502911925315857, 0.0583365224301815, 0.5684592723846436, -0.1493634283542633, 0.3791283667087555, -0.2389993816614151, -0.5167681574821472, -0.4657535254955292, 1.1839008331298828, -0.14056187868118286, 0.7221232652664185, 0.606904149055481, 0.10176634788513184, 0.7544384002685547, -0.07090052962303162, -0.6680892705917358, 0.7166497111320496, -0.32660767436027527, -1.2714767456054688, -0.5175108909606934, -0.46588483452796936, -1.2991023063659668, 0.24753513932228088, -0.30699223279953003, -0.7070009112358093, -0.11540156602859497, 0.2687658369541168, -0.13728930056095123, 0.3832024335861206, -0.996181845664978, 0.9697796106338501, -0.4983308017253876, -0.4478342831134796, -0.15655182301998138, -0.7586085200309753, 0.49536797404289246, -0.10681036114692688, 0.2422572523355484, -0.15097588300704956, -0.055878084152936935, 0.7580715417861938, -0.5659842491149902, 0.548604428768158, 0.05159372091293335, 0.2839840352535248, 0.4618234932422638, 0.2972576320171356, 0.7643257975578308, -0.14430974423885345, -0.21494083106517792, -0.07557042688131332, 0.3270213007926941, -0.7460917830467224, -0.6678979992866516, 0.43263691663742065, -0.6292280554771423, -0.7638145089149475, -0.9665176868438721, -0.44159579277038574, -0.4230908453464508, 0.3889516294002533, 0.07952693849802017, 0.7387256622314453, -0.049959853291511536, 0.2629397213459015, 0.7263201475143433, -0.2568325400352478, -0.1841006577014923, 0.32861563563346863, -0.29233071208000183, -0.2482711374759674, 1.2216671705245972, 0.18357734382152557, 0.12334281951189041, 0.5414807200431824, -0.00171692727599293, -0.3912191092967987, -0.46774283051490784, -0.700764000415802, 0.27822375297546387, -0.7090792059898376, -0.19504669308662415, -0.3501981496810913, -0.07106268405914307, -0.34852737188339233, -0.18402099609375, -0.19436565041542053, -0.7131645083427429, -0.35069841146469116, -0.07134494185447693, 0.4307226836681366, 0.9110907912254333, 0.6305065751075745, -0.08035917580127716, -0.6451377272605896, 0.36771705746650696, 0.48631221055984497, 0.2982727587223053, -0.014637577347457409, -0.5420353412628174, 0.08388474583625793, 0.15857702493667603, -0.07719859480857849, -1.0784010887145996, 0.3798670172691345, 0.36874493956565857, 0.3080691993236542, 0.16863596439361572, 0.43285223841667175, 0.7565127015113831, -0.4347398579120636, 0.8609236478805542, -0.06120846047997475, -0.8993995785713196, 0.5095441937446594, -0.48346447944641113, 0.17644532024860382, 0.4887809753417969, 0.9637390971183777, -0.2829495072364807, 0.04090569168329239, -0.45875847339630127, -0.4844444990158081, 0.7670720219612122, 0.19029177725315094, -0.1275181919336319, 0.20273999869823456, 0.17661046981811523, -0.07787667959928513, -0.03597631677985191, -0.37825119495391846, -0.33929702639579773, 0.04093479365110397, -0.28529560565948486, 0.20713485777378082, -0.04393449425697327, 0.028254084289073944, -0.5729457139968872, 0.5133218169212341, -0.027033288031816483, -0.08917637914419174, -0.028715256601572037, -0.058946408331394196, 0.2727968096733093, 0.2194778472185135, 0.3832719922065735, 0.858289361000061, -0.21306473016738892, 0.1529283970594406, 0.4334874451160431, -0.3609280288219452, 0.23069751262664795, -0.0013255778467282653, -0.1703222244977951, -0.22603513300418854, 0.5767616033554077, 0.6746577024459839, -0.14573954045772552, -1.0582548379898071, 0.5423089861869812, -0.04215719923377037, -0.25777098536491394, -0.3201535642147064, -0.10349184274673462, 0.23332251608371735, -0.21787168085575104, 0.7001999020576477, -0.0768028274178505, 0.3515494763851166, -0.5283758044242859, 0.24064235389232635, 0.3424334228038788, -0.17114853858947754, -0.2553010880947113, 0.8339749574661255, 0.46592023968696594, -0.6922548413276672, 0.7077605724334717, -0.4921472668647766, -0.42331624031066895, 0.8209987878799438, 0.44155153632164, 0.5629061460494995, 0.12817221879959106, 0.19445231556892395, 0.4472605288028717, 0.3473440408706665, 0.030250918120145798, 0.4434570372104645, 0.12656338512897491, -0.4616328477859497, -0.3752346634864807, -0.23298214375972748, -0.7519195675849915, -0.2654949128627777, -0.541610836982727, 0.5601284503936768, -0.30196288228034973, 0.03286684677004814, 0.4787847399711609, 0.15951040387153625, -0.2537297010421753, 0.31244415044784546, -0.48589885234832764, 1.0255506038665771, -0.8559602499008179, 0.8277250528335571, 0.7460523843765259, -0.3500637710094452, -0.8818878531455994, -0.4399926960468292, 0.2692956328392029, -0.7346391677856445, 0.7074828147888184, 0.16738642752170563, -0.3359315097332001, 0.03527037054300308, -0.6521868705749512, -0.706536591053009, 1.0910911560058594, 0.3387792706489563, -0.3216800093650818, -0.014795145951211452, 0.5214170813560486, 0.5898041725158691, -0.364430695772171, 0.1878025084733963, 0.7640436291694641, 0.4916994571685791, 0.4016718566417694, -0.7305817604064941, -0.06392338126897812, -0.47097843885421753, -0.3192756474018097, 0.25680917501449585, -0.5963984131813049, 0.9017598628997803, -0.4933702051639557, -0.2922423481941223, -0.21325966715812683, 0.7356939315795898, 0.38124001026153564, 0.5620546936988831, 0.2945275902748108, 0.48619917035102844, 0.8812840580940247, -0.13415022194385529, 0.8054251074790955, 0.12535010278224945, 0.2752612829208374, 1.178357720375061, -0.649303138256073, 0.8511666059494019, 0.07311059534549713, -0.641924262046814, 0.36584800481796265, 0.6027178168296814, -0.11763359606266022, 0.10311374813318253, 0.11030101776123047, -0.36523762345314026, -0.3836587965488434, -0.1236223429441452, -0.20068906247615814, 0.3534031808376312, 0.28924596309661865, 0.3413149118423462, -0.13461223244667053, -0.26742565631866455, 0.2005818486213684, 0.4362426698207855, -0.12097823619842529, 0.6536796689033508, -0.2260230928659439, -1.006195306777954, 0.6218852400779724, -0.017078157514333725, 0.29654720425605774, -0.45765846967697144, -0.40134090185165405, -0.3893963694572449, 0.06012509763240814, -0.46429136395454407, -1.210576057434082, 0.5855271220207214, 0.23167148232460022, 0.2693716585636139, 0.2093433290719986, 0.5236716270446777, -0.2266748696565628, -0.7770336270332336, -0.3501221537590027, 0.04505086690187454, 0.45439666509628296, -0.13030081987380981, -0.6755574941635132, -0.1317230463027954, 0.22325214743614197, -0.19579115509986877, 0.19406205415725708, 0.8084038496017456, -0.2605527937412262, 1.1259938478469849, 0.46414849162101746, 0.005582059267908335, 0.030692216008901596, -0.4622405767440796, 0.4965868890285492, -0.7036134600639343, -0.24500161409378052, -0.7130569815635681, 0.4479205310344696, -0.33309635519981384, -0.4194335341453552, 0.8365840911865234, 0.8584848046302795, 0.5106272101402283, -0.03390660136938095, 0.5506495237350464, -0.23779456317424774, 0.6421487927436829, -0.21214303374290466, 0.7755128741264343, -0.813568115234375, 0.37281110882759094, 0.010284841991961002, -0.25894010066986084, -0.6389697194099426, 0.22391434013843536, -0.20838522911071777, -0.17582669854164124, 0.7059890031814575, 0.8324930667877197, 0.10961124300956726, 0.38064393401145935, 0.33160799741744995, -0.01717262528836727, 0.4611886143684387, 0.9269881248474121, 0.5281720161437988, -0.39217308163642883, 0.7597976922988892, -0.05451073497533798, -0.23062008619308472, -0.1144571304321289, -0.811798632144928, -1.0124735832214355, -0.8137562274932861, -0.08240488171577454, -0.20666536688804626, 0.15858669579029083, 1.0161402225494385, 0.6268485188484192, -1.118828535079956, -0.38427045941352844, -0.10308142006397247, 0.3387656807899475, -0.08026855438947678, -0.22040516138076782, 0.6933621764183044, -0.051475636661052704, -0.634859025478363, -0.026485707610845566, 0.09916133433580399, -0.07575764507055283, -0.14754781126976013, 0.022001920267939568, -0.5193618535995483, 0.19986246526241302, 0.7156777381896973, 0.4374145269393921, -0.47333624958992004, -0.23458537459373474, 0.1819719821214676, -0.09258829802274704, -0.1412602663040161, 0.44588664174079895, -0.6591450572013855, 0.5682596564292908, 0.5807314515113831, 0.8535518646240234, 0.4591312110424042, 0.13879099488258362, 0.5011796355247498, -0.5390397906303406, 0.13591375946998596, 0.5515368580818176, 0.26326364278793335, 0.2610321342945099, -0.45200130343437195, 0.5520680546760559, 0.24988014996051788, -0.6621642708778381, -0.9871256351470947, 0.29768291115760803, -0.890568196773529, -0.4747263491153717, 0.8292127847671509, -0.1296427994966507, -0.22579282522201538, -0.4170754849910736, -0.3750312626361847, -0.3298109173774719, -0.18135428428649902, 0.6609636545181274, 0.8009695410728455, -0.5226284861564636, -0.006981194019317627, -0.13451677560806274, 0.48653751611709595, 0.51213538646698, -1.1374704837799072, 0.18310214579105377, 0.6822819113731384, 0.02811124362051487, -0.15575024485588074, 0.4635770916938782, 0.13745075464248657, 0.43408602476119995, 0.16763539612293243, -0.36452120542526245, -0.2072259932756424, -0.47578874230384827, -0.009473397396504879, 0.2821984887123108, 0.14359387755393982, 0.023266088217496872 ]
http://arxiv.org/abs/2402.12545v2
http://arxiv.org/pdf/2402.12545v2
TrustScore: Reference-Free Evaluation of LLM Response Trustworthiness
2024-02-19T21:12:14
2024-05-06T22:02:10
Danna Zheng, Danyang Liu, Mirella Lapata, Jeff Z. Pan
cs.CL
cs.CL
Large Language Models (LLMs) have demonstrated impressive capabilities across various domains, prompting a surge in their practical applications. However, concerns have arisen regarding the trustworthiness of LLMs outputs, particularly in closed-book question-answering tasks, where non-experts may struggle to identify inaccuracies due to the absence of contextual or ground truth information. This paper introduces TrustScore, a framework based on the concept of Behavioral Consistency, which evaluates whether an LLMs response aligns with its intrinsic knowledge. Additionally, TrustScore can seamlessly integrate with fact-checking methods, which assesses alignment with external knowledge sources. The experimental results show that TrustScore achieves strong correlations with human judgments, surpassing existing reference-free metrics, and achieving results on par with reference-based metrics.
[ -0.112652987241745, -0.6058506369590759, 0.8709999918937683, 0.05194281041622162, -0.0697876587510109, 0.2636331021785736, -0.28642162680625916, -0.4486066699028015, -0.0836908295750618, 0.2854761481285095, -0.39872679114341736, -0.5275017023086548, -0.8011173605918884, -0.08938784152269363, -0.5387185215950012, 0.9398767352104187, -0.15763621032238007, -0.007584774401038885, -0.9408342838287354, -0.28827735781669617, -0.23476359248161316, -0.4836503267288208, -0.5009341835975647, -0.6826038956642151, 0.09464186429977417, 0.34367063641548157, 0.854594349861145, 0.5553516149520874, 0.7200453281402588, 0.23009109497070312, -0.0032402349170297384, 0.42727309465408325, -0.5907237529754639, 0.21021467447280884, -0.5372487902641296, -0.3982396423816681, -0.6697885394096375, 0.24406255781650543, 0.5609126687049866, 0.23543690145015717, -0.32610735297203064, 0.4453754425048828, 0.24973416328430176, 0.6022347211837769, -0.6076875925064087, 0.25684964656829834, -0.6914900541305542, -0.040214311331510544, 0.0979977697134018, -0.19695034623146057, -0.3632356524467468, -0.7913577556610107, 0.0018316225614398718, -0.41470861434936523, -0.0011869370937347412, 0.3177874982357025, 0.8090757727622986, 0.3144803047180176, -0.3342406749725342, -0.350284606218338, -0.4698871076107025, 0.7529479265213013, -0.6225113272666931, 0.694567859172821, 0.5514630675315857, 0.16433632373809814, -0.03391840308904648, -0.45375725626945496, -0.6028525233268738, -0.5299695730209351, -0.10309276729822159, 0.2763158679008484, 0.015635734423995018, -0.2136562317609787, 0.05957407504320145, 0.45470622181892395, -0.45760464668273926, -0.2168012261390686, 0.06754173338413239, -0.5005165338516235, 0.53429114818573, 0.2760148346424103, 0.13181911408901215, 0.0033337976783514023, -0.5484957098960876, 0.05424090102314949, -0.6124143600463867, 0.08120878785848618, 0.22690467536449432, 0.2502220869064331, -0.2650526463985443, 0.7548112869262695, -0.24543705582618713, 0.46665120124816895, 0.3116990327835083, -0.44674503803253174, -0.017956459894776344, -0.41849762201309204, -0.2817736864089966, 0.06672944128513336, 0.683148980140686, 0.5538468956947327, 0.5003622174263, -0.4326111674308777, -0.17909331619739532, 0.2320934683084488, 0.23307327926158905, -0.637671709060669, 0.23616957664489746, 0.5191105604171753, -0.2757683992385864, -0.34770384430885315, 0.08767516165971756, -0.28691211342811584, -0.5477606654167175, -0.4254493713378906, 0.23257939517498016, -0.5609914064407349, -0.40181976556777954, 0.025607246905565262, 0.12442688643932343, 0.3677048087120056, 0.3559741973876953, -0.3318914473056793, 0.5167412757873535, 0.9956734776496887, 0.822163999080658, -0.5414921045303345, -0.17379289865493774, -0.8635578751564026, 0.37742310762405396, -0.3100435137748718, 0.7327145338058472, -0.480206161737442, -0.5238566994667053, 0.007276172749698162, -0.24637773633003235, 0.013964658603072166, -0.5669259428977966, 0.711270809173584, -0.7242737412452698, -0.1521623283624649, -0.30087271332740784, -0.8843638300895691, 0.11219481378793716, 0.8672770261764526, -0.3189811706542969, 1.1796042919158936, -0.017192061990499496, -0.7158228754997253, -0.06807151436805725, -0.28831958770751953, -0.22106264531612396, -0.1356157809495926, -0.2019355148077011, -0.12109801918268204, 0.1586141735315323, -0.18375878036022186, 0.21450600028038025, -0.408214271068573, 0.5033089518547058, -0.540170431137085, -0.283602237701416, 0.6812997460365295, -0.19848059117794037, 0.576624870300293, 0.22875480353832245, -0.1474323719739914, 0.11596215516328812, -0.6389235854148865, 0.4259878396987915, -0.05722949653863907, -0.1891075074672699, -0.2963216006755829, -0.07249810546636581, -0.2602333426475525, 0.15925002098083496, 0.6264217495918274, -0.7745270729064941, -0.22556404769420624, 0.045034632086753845, 0.12258424609899521, 0.9109373092651367, -0.07391319423913956, 0.17781083285808563, -0.6172910332679749, 0.2771119773387909, 0.4242621660232544, 0.2701543867588043, 0.3315831124782562, -0.2905816435813904, -0.7126353979110718, -0.07873865216970444, 0.1037796214222908, 0.5765860080718994, -0.26870712637901306, 0.42696037888526917, -0.5151817798614502, -0.5689736604690552, -0.34927651286125183, 0.31983619928359985, 0.7021862268447876, 0.9391204118728638, 0.2585490047931671, -0.4618130624294281, -0.40903133153915405, -1.0392000675201416, -0.4992506802082062, -0.5629891157150269, 0.1664305478334427, 0.3355565071105957, 0.31086233258247375, -0.13510698080062866, 1.0903809070587158, -0.5732964873313904, -0.13453078269958496, 0.2017211765050888, -0.1145576685667038, 0.028317101299762726, 0.3629910349845886, 0.08937622606754303, -0.4333307147026062, -0.37447699904441833, -0.05878589302301407, -0.9658092856407166, 0.03935994207859039, 0.4792777895927429, -0.15795908868312836, 0.035856686532497406, 0.42647454142570496, -0.7580423951148987, -0.004204199183732271, 0.6798479557037354, -0.2835681140422821, 0.685736894607544, 0.058059804141521454, 0.31126081943511963, -1.1098018884658813, 0.22098812460899353, 0.07536105811595917, -0.5400039553642273, -0.2604624927043915, 0.1866287887096405, 0.18757201731204987, 0.06187828257679939, -0.3546788692474365, 0.7466359734535217, -0.21432463824748993, -0.31191614270210266, -0.009175039827823639, 0.5112561583518982, -0.013592047616839409, 0.06607463955879211, 0.032718874514102936, 1.0824369192123413, 0.22868135571479797, -0.5650563836097717, 0.36778971552848816, 0.5492104291915894, -0.4297614097595215, 1.1691282987594604, -0.6539596319198608, 0.47871530055999756, 0.05115148052573204, -0.02384924329817295, -0.8398134112358093, -0.06674371659755707, -0.09325224906206131, -0.6564720273017883, -0.03793293237686157, -0.007176327519118786, -0.5711913704872131, -0.17666907608509064, -0.32615479826927185, 0.05435052886605263, 0.4434605538845062, -0.22506828606128693, 0.7348579168319702, 0.26569345593452454, 0.08678218722343445, -0.6901337504386902, -0.537695586681366, -0.14955417811870575, 0.14157742261886597, -0.5951682925224304, -0.05936254933476448, -0.5369150638580322, -0.5475179553031921, 0.15723644196987152, -0.34803542494773865, -0.20263731479644775, 0.2726213335990906, 0.3600812554359436, 0.24378354847431183, -0.3668232262134552, 0.06372632831335068, -0.38378578424453735, -0.04786481708288193, 0.24373272061347961, -0.12008345127105713, 0.2659896910190582, -0.562503457069397, -0.6183688044548035, -0.2934967279434204, 0.040050018578767776, 0.7236613631248474, -0.29261332750320435, 0.6177255511283875, 0.3498867154121399, -0.39082977175712585, 0.0005180284497328103, -0.632846474647522, -0.13700264692306519, -0.4894005358219147, 0.17293968796730042, -0.21781112253665924, -1.1082851886749268, 0.4504806399345398, 0.024827636778354645, -0.13509763777256012, 0.24788610637187958, 0.5212571024894714, -0.1785387396812439, 0.6204416751861572, 0.4333712160587311, -0.0977947860956192, -0.028289318084716797, 0.38852107524871826, 0.3461207151412964, -0.9973606467247009, -0.41361549496650696, -0.5596455335617065, 0.03184632584452629, -0.2599598169326782, -0.42666715383529663, 0.3684081733226776, 0.012902522459626198, -0.4799489676952362, 0.05460842326283455, -0.010839917697012424, 0.43906933069229126, 0.39496344327926636, 0.2219078689813614, 0.8319495320320129, -0.16237084567546844, -0.2977590262889862, 0.02463068999350071, -0.1818743199110031, -0.750209391117096, 1.0720463991165161, 0.25870445370674133, 0.7756126523017883, 0.41785508394241333, 0.4369529187679291, 0.5416948795318604, 0.7433079481124878, -0.8748282790184021, 0.6843609809875488, 0.11831033229827881, -0.7325716018676758, -0.051000937819480896, -0.3100236654281616, -0.2573671042919159, -0.1325991153717041, -0.39625731110572815, -0.6497918367385864, -0.3970586657524109, 0.18941421806812286, -0.28791922330856323, 0.25418931245803833, -0.5204784870147705, 0.3440472185611725, -0.3632979393005371, -0.6481095552444458, -0.1719692349433899, -0.36041226983070374, 0.5748139023780823, -0.10470779985189438, 0.016337275505065918, -0.3609068989753723, -0.05027533695101738, 0.6113789677619934, -0.17231900990009308, 0.8684110641479492, 0.07090198993682861, -0.2053723931312561, 0.4207439720630646, 0.4478296637535095, 0.6416226625442505, 0.2242572158575058, -0.22901469469070435, 0.1825682520866394, 0.15952113270759583, -0.21514195203781128, -0.7325557470321655, 0.9636262059211731, -0.9324949383735657, -0.8963617086410522, -0.537150502204895, -0.7152352929115295, -0.9889558553695679, 0.34009233117103577, -0.319683700799942, 0.2761616110801697, -0.5337586402893066, 0.18604515492916107, 1.0065324306488037, 0.0851043090224266, 0.016207169741392136, 1.0444364547729492, -0.17454273998737335, -0.304000586271286, 0.5136545896530151, -0.25297537446022034, 0.2169283777475357, 0.30640971660614014, 0.15503306686878204, -0.5388109683990479, -0.6031404137611389, -0.16025733947753906, 0.333351731300354, -0.7247611284255981, -0.503136932849884, -0.4952908754348755, -0.4532916247844696, -0.3910294771194458, 0.13027307391166687, -0.5715535283088684, -0.20759478211402893, 0.04631860554218292, -0.458487868309021, 0.38651394844055176, 0.7034852504730225, 0.21509386599063873, 0.1437271237373352, -1.0410356521606445, 0.03225415199995041, 0.3471197485923767, 0.8085078001022339, -0.04107094183564186, -0.48527243733406067, -0.24120058119297028, -0.015241952612996101, -0.3332407474517822, -0.5887026190757751, -0.23936201632022858, 0.057333704084157944, 0.6191797256469727, 0.4162939190864563, 0.16207456588745117, 0.6238906383514404, -0.3841157555580139, 0.863953173160553, 0.24595819413661957, -1.1645667552947998, 0.2589724361896515, -0.36413511633872986, 0.07268767803907394, 0.7875350713729858, 0.4390380382537842, -0.5755876898765564, -0.48558273911476135, -0.676904022693634, -0.2696349322795868, 0.16985385119915009, 0.17411930859088898, 0.0018407573224976659, -0.18341191112995148, 0.4358753561973572, -0.00287432549521327, 0.45330899953842163, -0.3361533582210541, -0.13578204810619354, -0.08742806315422058, -0.4545719623565674, -0.1478240191936493, -0.34443119168281555, -0.5146888494491577, 0.16510502994060516, 0.628501832485199, -0.20042575895786285, 0.1940128058195114, 0.31997358798980713, -0.3339950442314148, -0.25555071234703064, 0.45359504222869873, 0.6461795568466187, 0.9166426658630371, -0.3809487223625183, 0.46362316608428955, 0.048676542937755585, -0.47809872031211853, 0.28423789143562317, -0.27602025866508484, -0.10283344238996506, -0.3491750955581665, 0.45138368010520935, 0.19371193647384644, 0.1263786256313324, -0.7476983666419983, 0.7083054780960083, -0.06095145642757416, -0.05607376620173454, -0.37503713369369507, 0.17396095395088196, 0.36059874296188354, 0.2516561448574066, 0.14778508245944977, 0.07142242044210434, -0.15863052010536194, -0.4415005147457123, 0.549808144569397, 0.6427311897277832, -0.6418517827987671, -0.419663667678833, 0.5359585881233215, 0.2271302342414856, -0.17634335160255432, 0.8043401837348938, 0.10747849941253662, -0.43384960293769836, 0.4024626910686493, 0.574871301651001, 0.8106051087379456, -0.2985142469406128, 0.16490493714809418, 0.3757622539997101, 0.3689884543418884, -0.05959343537688255, 0.342982679605484, 0.11140468716621399, -1.1384663581848145, -0.2212224304676056, -0.6344236731529236, -0.837410569190979, 0.0992184653878212, -0.9409121870994568, -0.16229009628295898, -0.7806366682052612, -0.3072958290576935, -0.5557077527046204, 0.1359349638223648, -0.6690310835838318, 0.4243931174278259, -0.04237513616681099, 1.3236502408981323, -0.8452304601669312, 0.8302382826805115, 0.6678766012191772, -0.23471128940582275, -0.7883802056312561, 0.11192509531974792, 0.1214665025472641, -1.2025831937789917, 0.6063871383666992, -0.11794580519199371, -0.6622986793518066, -0.12292052060365677, -0.5441939830780029, -0.9771902561187744, 1.228339672088623, 0.5038687586784363, -0.4061200022697449, 0.24979354441165924, 0.09866992384195328, 0.5895184874534607, -0.34014958143234253, 0.23128578066825867, 0.497592955827713, 0.6145535707473755, -0.05802753195166588, -1.0101159811019897, 0.31515705585479736, -0.18245837092399597, -0.11066452413797379, -0.09240652620792389, -1.0242047309875488, 0.4703722298145294, -0.09459413588047028, -0.03289947658777237, 0.07914119213819504, 0.8840758204460144, 0.502752959728241, 0.1280379742383957, 0.3778749704360962, 0.7016560435295105, 1.1284841299057007, -0.02766496129333973, 1.1270588636398315, -0.6318073868751526, 0.3874252736568451, 1.3882465362548828, -0.6523889303207397, 1.0760877132415771, 0.5378007888793945, -0.14519861340522766, 0.6091073751449585, 0.4127686321735382, 0.2971667945384979, 0.390567809343338, -0.039622966200113297, -0.17605742812156677, -0.5200405716896057, -0.4694785177707672, -0.2913151681423187, 0.3825349509716034, 0.115167036652565, -0.14641152322292328, -0.15039266645908356, -0.7697992324829102, 0.15763959288597107, 0.3797898292541504, -0.26801836490631104, 0.5001481771469116, 0.29092979431152344, -0.7454783916473389, 0.26201531291007996, -0.11296231299638748, 0.4353136420249939, -0.7460882663726807, 0.19707438349723816, -0.42654871940612793, 0.32847416400909424, -0.3749335706233978, -1.0798826217651367, 0.512265145778656, 0.016412902623414993, -0.3974578082561493, -0.024069897830486298, 0.6015913486480713, -0.28421321511268616, -0.1928195357322693, 0.3228874206542969, 0.8789142966270447, -0.14248226583003998, 0.09444016218185425, -0.7114143371582031, 0.17731323838233948, -0.40157589316368103, -0.04815765470266342, 0.47076037526130676, 0.12328774482011795, -0.0009798434330150485, 0.8425126075744629, 0.5418272018432617, -0.018041107803583145, -0.3398604393005371, -0.25930848717689514, 0.624169647693634, -0.44672825932502747, -0.34166470170021057, -0.6906903386116028, 0.2273274064064026, -0.23856127262115479, -0.15450945496559143, 1.1015267372131348, 0.7178272008895874, 0.6748508810997009, 0.0386517159640789, 0.8764656186103821, 0.2684045732021332, 0.5511265397071838, -0.49601227045059204, 0.5448451638221741, -0.3039998710155487, 0.019790537655353546, -0.018266815692186356, -0.7416635155677795, 0.0361691415309906, 0.39659106731414795, -0.31465381383895874, 0.0839090421795845, 1.0392895936965942, 0.7532042860984802, -0.26149415969848633, 0.13237588107585907, 0.35945311188697815, 0.38014140725135803, 0.11779814958572388, 0.47855138778686523, 0.8817259669303894, -0.2331068217754364, 0.35863029956817627, 0.1744065135717392, -0.07267540693283081, -0.008406996726989746, -1.315841794013977, -0.7777704000473022, -0.34291309118270874, -0.3853430449962616, -0.8421292901039124, 0.18187592923641205, 0.8933898210525513, 0.5820488929748535, -1.0230424404144287, -0.3618680238723755, 0.3626636862754822, 0.19389136135578156, -0.2516288459300995, -0.1933681070804596, 0.24595515429973602, -0.20688319206237793, -0.4535766541957855, 0.2947622537612915, 0.3038782477378845, -0.03606577217578888, -0.2839915454387665, -0.26126769185066223, 0.06794434785842896, 0.4365198314189911, 0.5520169734954834, 0.03646048158407211, -0.5947504043579102, -0.6465506553649902, 0.24186256527900696, -0.40627914667129517, 0.11695364862680435, 0.863295316696167, -0.47852838039398193, 0.06202545017004013, 0.24123884737491608, 0.8137099146842957, 0.14176470041275024, 0.31634604930877686, 0.5211188793182373, -0.6497889161109924, -0.18591131269931793, 0.09013073146343231, 0.3040309548377991, 0.5749062895774841, -0.4415692090988159, 0.5208441615104675, 0.12647055089473724, -0.40081125497817993, -0.5899386405944824, 0.43095606565475464, -1.1932728290557861, 0.13473094999790192, 1.3142411708831787, -0.3658740222454071, -0.3611994981765747, -0.06316716969013214, 0.26032260060310364, 0.037024155259132385, -0.3968566358089447, 0.7450860738754272, 1.0532879829406738, -0.18713094294071198, -0.0169843640178442, -0.3283143937587738, 0.42516520619392395, 0.34314003586769104, -0.8120372295379639, 0.14925315976142883, 0.5383633375167847, 0.8365044593811035, 0.24222023785114288, 0.8485952615737915, -0.2758950889110565, 0.07266020029783249, -0.3432685434818268, -0.17874588072299957, -0.32187697291374207, -0.013937155716121197, 0.01099301129579544, 0.3538892865180969, 0.6368522047996521, 0.23458002507686615 ]
http://arxiv.org/abs/2402.12530v1
http://arxiv.org/pdf/2402.12530v1
Parallel Structures in Pre-training Data Yield In-Context Learning
2024-02-19T20:40:48
2024-02-19T20:40:48
Yanda Chen, Chen Zhao, Zhou Yu, Kathleen McKeown, He He
cs.CL
cs.CL, cs.AI, cs.LG
Pre-trained language models (LMs) are capable of in-context learning (ICL): they can adapt to a task with only a few examples given in the prompt without any parameter update. However, it is unclear where this capability comes from as there is a stark distribution shift between pre-training text and ICL prompts. In this work, we study what patterns of the pre-training data contribute to ICL. We find that LMs' ICL ability depends on $\textit{parallel structures}$ in the pre-training data -- pairs of phrases following similar templates in the same context window. Specifically, we detect parallel structures by checking whether training on one phrase improves prediction of the other, and conduct ablation experiments to study their effect on ICL. We show that removing parallel structures in the pre-training data reduces LMs' ICL accuracy by 51% (vs 2% from random ablation). This drop persists even when excluding common patterns such as n-gram repetitions and long-range dependency, showing the diversity and generality of parallel structures. A closer look at the detected parallel structures indicates that they cover diverse linguistic tasks and span long distances in the data.
[ -0.47183892130851746, -0.7507042288780212, 0.47305116057395935, 0.1912706196308136, -0.4157841205596924, -0.04090501740574837, -0.29995235800743103, -0.2300817370414734, -0.1034734845161438, 0.28664714097976685, -0.46516963839530945, -0.737195611000061, -0.5888470411300659, 0.17937617003917694, -0.5439519882202148, 1.0945765972137451, -0.24082112312316895, 0.14878076314926147, -0.4624320864677429, -0.21943560242652893, -0.26768264174461365, -0.7281069755554199, -0.24570541083812714, -0.16274498403072357, 0.5465470552444458, 0.5071182250976562, 0.29942309856414795, 0.9351240396499634, 0.30718934535980225, 0.3174462616443634, -0.1250472217798233, -0.24101893603801727, -0.45050063729286194, -0.03540729358792305, -0.04282986745238304, -0.7747172117233276, -0.16670554876327515, -0.08217623829841614, 1.1744296550750732, 1.153922200202942, 0.06319936364889145, 0.12141433358192444, 0.6231511831283569, 0.7544401288032532, -0.4118543267250061, 0.21533533930778503, -0.7723338007926941, -0.0963849350810051, -0.8957634568214417, -0.14910759031772614, -0.37529999017715454, 0.02570807933807373, 0.17905277013778687, -0.20454329252243042, 0.3900810480117798, 0.16971150040626526, 0.7815449237823486, 0.24674053490161896, -0.2818090617656708, -0.33540934324264526, -0.4083470106124878, 0.6068030595779419, -0.3595629632472992, 0.5087792277336121, 0.432678759098053, 0.03976192697882652, -0.2771865427494049, -0.5782685875892639, -0.3798305094242096, -0.30419549345970154, -0.3821687698364258, -0.14579792320728302, 0.37285342812538147, 0.11760923266410828, 0.4497886002063751, 0.2128073275089264, -0.4384227693080902, 0.34425997734069824, -0.4455857276916504, 0.0762023851275444, 0.039526522159576416, 0.16299767792224884, 0.33840546011924744, 0.14156687259674072, -0.3776381313800812, -0.1843879222869873, -1.1186507940292358, 0.39406830072402954, 0.23285232484340668, 0.40934857726097107, -0.48753640055656433, 0.37122032046318054, -0.03850380703806877, 0.8016603589057922, 0.1035551205277443, -0.05844934657216072, 0.48888111114501953, -0.22214826941490173, -0.25891605019569397, 0.2731168568134308, 0.5839388966560364, -0.1571718007326126, 0.2927316427230835, -0.24111558496952057, -0.09284887462854385, -0.1386432647705078, -0.017350902780890465, -0.7825547456741333, -0.2162926346063614, -0.093539297580719, -0.6324053406715393, 0.02298634499311447, 0.1416541337966919, -0.22811497747898102, 0.00839504599571228, -0.3873925805091858, 0.12084173411130905, -0.33833006024360657, 0.017286714166402817, 0.16757477819919586, -0.0724838450551033, 0.09117498993873596, 0.029856890439987183, -0.687404990196228, 0.37832802534103394, 0.4051021933555603, 0.8143311142921448, -0.243203267455101, -0.7651349306106567, -0.4481638967990875, 0.22358739376068115, -0.21084840595722198, 0.8974828720092773, -0.6683263778686523, -0.2409038543701172, -0.15628108382225037, 0.06621643900871277, -0.4092935621738434, -0.766893744468689, 0.2101617008447647, -0.3484569489955902, 0.09931334853172302, -0.5205550193786621, -0.7026317119598389, 0.028689740225672722, 0.19008642435073853, -0.5518313050270081, 0.6399606466293335, -0.11994178593158722, -0.9236634373664856, 0.4847177267074585, -0.5519315600395203, -0.49235790967941284, -0.04608243331313133, -0.6529792547225952, -0.44461432099342346, 0.28983938694000244, 0.12812280654907227, 0.3414613604545593, -0.09156651794910431, 0.06945696473121643, -0.4438883364200592, -0.5025519132614136, 0.397796094417572, -0.186509370803833, 0.6073469519615173, 0.013285699300467968, -0.4578191339969635, 0.1260080486536026, -0.6888402104377747, -0.2660696506500244, -0.0769210010766983, -0.4216028153896332, -0.5750312209129333, 0.26902082562446594, -0.20963747799396515, 0.31862276792526245, -0.1395094245672226, -0.5071518421173096, 0.07908176630735397, -0.5523754358291626, 0.030009498819708824, 0.7864903807640076, -0.19083765149116516, 0.3994036316871643, -0.4472363591194153, 0.38294652104377747, 0.5747547745704651, -0.07486671954393387, -0.33926910161972046, -0.2141948640346527, -0.6471298933029175, -0.4371736943721771, -0.03083033673465252, 0.29316243529319763, -0.5159854888916016, 0.17344097793102264, -0.1600988656282425, -0.23470808565616608, -0.2720080316066742, 0.1442401111125946, 0.7168866991996765, 0.8471545577049255, 0.4266011416912079, -0.2697804868221283, -0.5724868178367615, -0.9514064788818359, -0.5780534148216248, 0.12191988527774811, 0.14208358526229858, 0.17725533246994019, 0.322245329618454, 0.09800712764263153, 0.9646978378295898, -0.34138011932373047, -0.19848352670669556, -0.16156621277332306, 0.06352758407592773, 0.1906145215034485, 0.5318554043769836, 0.7412752509117126, -0.8171756863594055, -0.7985421419143677, -0.2609715461730957, -0.6213208436965942, -0.1386830359697342, -0.024065867066383362, 0.04986110329627991, 0.10189558565616608, 0.8897301554679871, -0.5111364126205444, 0.503637969493866, 0.2847168445587158, -0.19087693095207214, 0.46423354744911194, -0.14427174627780914, -0.08512858301401138, -1.081830382347107, -0.11108707636594772, -0.1205897405743599, 0.1255262792110443, -0.7094534039497375, -0.23651237785816193, 0.17378155887126923, 0.1917448490858078, -0.5097962617874146, 0.49495455622673035, -0.5528038144111633, -0.34804049134254456, -0.24187801778316498, -0.22347335517406464, -0.2769848704338074, 0.4115135371685028, 0.0449376106262207, 0.7746178507804871, 0.7336928248405457, -0.6909403204917908, -0.4941147565841675, 0.23453131318092346, -0.7835366725921631, 0.14724813401699066, -0.47313743829727173, 0.1296263039112091, -0.5073410272598267, 0.2872096300125122, -0.953160285949707, -0.11719562113285065, 0.16481836140155792, -0.11052346974611282, 0.13758040964603424, -0.008762691169977188, -0.5071701407432556, -0.02632187120616436, -0.04017987474799156, 0.7211667895317078, 0.27821993827819824, -0.564903199672699, 0.008370834402740002, 0.21803617477416992, -0.10644566267728806, -0.6939435601234436, -0.6326093077659607, -0.33930301666259766, -0.35174012184143066, -0.1942506581544876, 0.3945474624633789, -0.23862184584140778, -0.3287726044654846, 0.1526571810245514, -0.036385271698236465, -0.13854408264160156, 0.3492629826068878, 0.3804379403591156, 0.03131410479545593, -0.3728272020816803, 0.2868161201477051, 0.028142636641860008, 0.216657355427742, 0.11411663144826889, -0.34363827109336853, 0.884060800075531, -0.30859610438346863, -0.4377501308917999, -0.3710770606994629, 0.29360029101371765, 0.6024869680404663, -0.3985860049724579, 1.006739616394043, 0.2563360929489136, -0.19543126225471497, -0.29885047674179077, -0.3092806935310364, -0.08446704596281052, -0.4987890422344208, 0.5440196394920349, -0.6646744012832642, -0.8784051537513733, 0.6255401968955994, 0.05051953345537186, -0.0942942276597023, 0.17528319358825684, 0.46115028858184814, -0.31544792652130127, 0.9504874348640442, 0.5146229267120361, -0.07331610471010208, 0.7517530918121338, 0.013258629478514194, 0.058878280222415924, -0.6597768068313599, -0.3124901056289673, -0.6483182311058044, -0.3768276572227478, -0.3686133623123169, -0.1238846406340599, 0.24186579883098602, 0.5301539897918701, -0.24196772277355194, 0.08380135893821716, -0.18045088648796082, 0.6438741087913513, 0.46087342500686646, 0.14546559751033783, 0.036160312592983246, 0.2696152627468109, -0.2586227059364319, 0.12051974982023239, -0.515485942363739, -0.1037946566939354, 1.092409372329712, 0.13462477922439575, 0.4712531864643097, -0.21394206583499908, 0.8877670764923096, -0.06815429776906967, 0.523875892162323, -0.39694324135780334, 0.4679940938949585, -0.3705000877380371, -0.2690761983394623, -0.212172269821167, -0.3741242587566376, -0.927808403968811, 0.16696414351463318, -0.11024147272109985, -0.4733884632587433, 0.18389350175857544, 0.30913999676704407, -0.06619134545326233, 0.28953787684440613, -0.5737574100494385, 0.7639085650444031, -0.2668727934360504, -0.03744952753186226, -0.18352635204792023, -0.6162012815475464, 0.16473257541656494, -0.17655892670154572, 0.21447406709194183, -0.017824267968535423, 0.12254098802804947, 0.4911159574985504, -0.370853453874588, 0.8309555649757385, -0.18368451297283173, 0.24108704924583435, 0.1142791286110878, -0.23980729281902313, 0.5555004477500916, -0.1421266347169876, 0.06606706231832504, 0.1054566502571106, -0.40600597858428955, -0.5083500146865845, -0.5091193318367004, 0.5406612753868103, -0.7786194086074829, -0.6781918406486511, -0.14412976801395416, -0.7283672094345093, -0.13037775456905365, 0.24962662160396576, 0.5487760305404663, 0.672156572341919, -0.015243162401020527, 0.5005035400390625, 0.539848804473877, -0.16208995878696442, 0.5107606649398804, 0.36668866872787476, 0.002996521769091487, -0.01921878196299076, 0.49745288491249084, 0.3493032455444336, 0.30711203813552856, 0.48786792159080505, 0.15290014445781708, -0.25091657042503357, -1.119132399559021, -0.13514703512191772, 0.23785154521465302, -0.7062283754348755, 0.20285944640636444, -0.6329570412635803, -0.11896597594022751, -0.3860555589199066, -0.24810726940631866, -0.11342086642980576, -0.05931553244590759, -0.25814977288246155, -0.23667016625404358, 0.008412332274019718, 0.6934160590171814, 0.26302313804626465, 0.49705174565315247, -0.7590761184692383, 0.08003231883049011, 0.03312380239367485, 0.3837653398513794, -0.1723189651966095, -0.2955038845539093, -0.4984692335128784, -0.041888024657964706, 0.20795515179634094, -0.6761376261711121, 0.29477787017822266, 0.33128029108047485, 0.627391517162323, 0.3595927953720093, -0.14038752019405365, 0.942329466342926, -0.7240878939628601, 0.4378294050693512, 0.12401087582111359, -0.7913216948509216, 0.3756130337715149, -0.4088593125343323, 0.5608894228935242, 0.6510708332061768, 0.5668304562568665, -0.22301439940929413, -0.372062623500824, -0.4476121962070465, -0.5514827966690063, 0.8447033166885376, -0.04446284845471382, -0.12724871933460236, -0.23075808584690094, 0.518839955329895, 0.12256467342376709, 0.3409024477005005, -0.7050855755805969, -0.3962201476097107, -0.1457492709159851, -0.4162759482860565, -0.31766805052757263, -0.22140176594257355, -0.0371226966381073, -0.26842889189720154, -0.0027144935447722673, -0.05066888779401779, -0.10695873200893402, 0.044642940163612366, -0.5145595073699951, 0.1758861243724823, 0.20306004583835602, 0.6770058870315552, 0.6325054168701172, -0.28827446699142456, 0.19805432856082916, 0.08681023865938187, -0.45727622509002686, 0.06721370667219162, 0.04255646467208862, -0.09704603254795074, -0.056020647287368774, 0.3852904140949249, 1.0236541032791138, 0.3526865839958191, -0.5349755883216858, 0.41187620162963867, 0.029383307322859764, -0.05498551204800606, -0.26974570751190186, -0.04565838351845741, -0.12570734322071075, 0.16998617351055145, 0.20841237902641296, 0.2643703818321228, 0.05270545557141304, -0.6176695823669434, 0.45691224932670593, 0.2333168089389801, -0.13523319363594055, -0.5850781202316284, 0.3833164572715759, -0.04754454642534256, -0.27021121978759766, 0.7529151439666748, 0.03896404057741165, -0.37650489807128906, 0.7596104145050049, 0.8484907150268555, 0.8812437057495117, -0.27132391929626465, -0.05151832103729248, 0.1174774095416069, 0.08551431447267532, -0.10265765339136124, 0.11716461181640625, -0.3572964370250702, -0.7977247834205627, -0.2996453642845154, -0.6984285712242126, 0.03296518698334694, 0.18307124078273773, -0.7358845472335815, 0.3315846621990204, -0.5143799781799316, 0.33996888995170593, -0.27366170287132263, -0.4019705057144165, -0.8776240348815918, 0.1892591416835785, 0.35493335127830505, 0.7500032782554626, -0.9049856662750244, 1.389875888824463, 0.7785213589668274, -0.16978095471858978, -0.9130821824073792, 0.2896793782711029, -0.09593448042869568, -0.5773676037788391, 1.1468579769134521, 0.5465635657310486, 0.014151622541248798, 0.13759995996952057, -0.3836040496826172, -1.101320743560791, 0.8343778252601624, 0.5429741740226746, -0.6380104422569275, -0.23156720399856567, 0.5626600980758667, 0.41340455412864685, -0.6672394275665283, 0.09774713963270187, 0.3538505733013153, 0.07440550625324249, -0.2442706674337387, -0.8432213664054871, -0.09240361303091049, -0.11368274688720703, -0.10258987545967102, 0.335367888212204, -0.3887460231781006, 1.4215103387832642, 0.08759099245071411, -0.4393371343612671, -0.13395115733146667, 0.4626293182373047, 0.5051140785217285, 0.21596582233905792, 0.8008155822753906, 0.49589550495147705, 0.6066597104072571, 0.13653208315372467, 1.0219827890396118, -0.3394862115383148, 0.07236996293067932, 1.3330484628677368, -0.19215454161167145, 0.814917266368866, 0.5108049511909485, 0.21762138605117798, 0.7915812730789185, 0.5763748288154602, 0.29230573773384094, 0.762397050857544, 0.20213685929775238, -0.148203507065773, -0.17936068773269653, 0.006717788986861706, -0.4592759609222412, 0.43386101722717285, 0.6293003559112549, -0.3574525713920593, -0.43836095929145813, 0.373587429523468, -0.010461889207363129, 0.11204244196414948, -0.37686288356781006, 0.48764950037002563, 0.19624176621437073, -0.6470329761505127, 0.6011016964912415, -0.32517075538635254, 0.47865402698516846, -0.6508317589759827, 0.07514701783657074, -0.2607010304927826, 0.3765559494495392, -0.14751429855823517, -0.5323323011398315, 0.3949590027332306, -0.24501141905784607, -0.3706890940666199, -0.4439693093299866, 0.43672776222229004, -0.6877263188362122, -0.1410997360944748, 0.3927178978919983, 0.36249664425849915, 0.2519775331020355, -0.10615496337413788, -0.612678587436676, 0.0647592544555664, -0.09976722300052643, -0.3123236298561096, 0.756671130657196, 0.27868345379829407, -0.26718848943710327, 0.28444233536720276, 0.6419980525970459, 0.06992466747760773, 0.4083383083343506, 0.12655486166477203, 0.9957751035690308, -0.5805230140686035, -0.6390663385391235, -0.9929856061935425, 0.44740211963653564, -0.027635496109724045, -0.4198267161846161, 0.912513017654419, 0.5360433459281921, 1.4752405881881714, -0.12605053186416626, 0.6200439929962158, 0.17101094126701355, 0.41977110505104065, -0.7486061453819275, 0.601422131061554, -0.5314380526542664, 0.33927828073501587, -0.16805152595043182, -0.8398129940032959, -0.39024847745895386, 0.2099168300628662, -0.4516812264919281, -0.311792254447937, 0.9419455528259277, 0.7602030038833618, -0.08215010911226273, -0.13091768324375153, 0.18445923924446106, 0.3156220614910126, 0.24326997995376587, 0.3451046645641327, 0.8572826981544495, -0.004641145002096891, 0.40846794843673706, -0.27134212851524353, -0.11066161841154099, -0.00013162099639885128, -0.48284590244293213, -1.2337018251419067, -0.7731180787086487, -0.0023039928637444973, -0.012351492419838905, 0.11047616600990295, 0.9147613644599915, 0.6398642659187317, -0.8215619325637817, -0.5095243453979492, -0.4663909375667572, 0.005301908124238253, -0.10362707078456879, -0.11586406081914902, 0.6472817063331604, -0.8394179344177246, -0.6571084856987, 0.779610276222229, 0.24662832915782928, 0.11950377374887466, 0.2907553017139435, 0.030688833445310593, -0.15327738225460052, -0.20437225699424744, 0.48428305983543396, 0.3857805132865906, -0.5306035280227661, -0.31157898902893066, 0.011293996125459671, -0.09003156423568726, 0.20695392787456512, 1.001212239265442, -0.8205586671829224, 0.27570798993110657, 0.6693102121353149, 0.6547053456306458, 0.3281908333301544, 0.041997604072093964, 0.5831514000892639, -0.9994853734970093, 0.719954252243042, -0.02560250088572502, 0.43865934014320374, -0.034341588616371155, -0.23882195353507996, -0.03373090177774429, 0.23465101420879364, -0.4037091135978699, -0.973660409450531, 0.34520211815834045, -0.4642695486545563, -0.5079934597015381, 0.8055545091629028, -0.25845614075660706, -0.3756803572177887, -0.3228384256362915, 0.17760194838047028, 0.2524147033691406, 0.15325827896595, 0.7291428446769714, 0.6471396684646606, -0.2341623157262802, -0.14311784505844116, -0.10781848430633545, 0.8463465571403503, 0.7566031813621521, -0.8042891025543213, -0.19027480483055115, 0.2668110728263855, 0.3669988214969635, -0.07461800426244736, 0.7068645358085632, -0.12027747929096222, 0.06311806291341782, -0.2824351489543915, -0.17075049877166748, -0.17408540844917297, -0.6944573521614075, -0.4203571081161499, 0.4195326268672943, 0.10841794312000275, -0.4628094732761383 ]
http://arxiv.org/abs/2402.12513v1
http://arxiv.org/pdf/2402.12513v1
Induced Model Matching: How Restricted Models Can Help Larger Ones
2024-02-19T20:21:09
2024-02-19T20:21:09
Usama Muneeb, Mesrob I. Ohannessian
cs.LG
cs.LG, cs.CL
We consider scenarios where a very accurate predictive model using restricted features is available at the time of training of a larger, full-featured, model. This restricted model may be thought of as "side-information", derived either from an auxiliary exhaustive dataset or on the same dataset, by forcing the restriction. How can the restricted model be useful to the full model? We propose an approach for transferring the knowledge of the restricted model to the full model, by aligning the full model's context-restricted performance with that of the restricted model's. We call this methodology Induced Model Matching (IMM) and first illustrate its general applicability by using logistic regression as a toy example. We then explore IMM's use in language modeling, the application that initially inspired it, and where it offers an explicit foundation in contrast to the implicit use of restricted models in techniques such as noising. We demonstrate the methodology on both LSTM and transformer full models, using $N$-grams as restricted models. To further illustrate the potential of the principle whenever it is much cheaper to collect restricted rather than full information, we conclude with a simple RL example where POMDP policies can improve learned MDP policies via IMM.
[ -0.39560243487358093, -0.5806710124015808, 0.5442679524421692, -0.05798511207103729, -0.16722777485847473, -0.32144322991371155, -0.051086828112602234, -0.804533839225769, 0.049867384135723114, 0.9522712826728821, -0.4091030955314636, 0.006036142352968454, -0.48658305406570435, -0.036732014268636703, -0.6935806274414062, 0.754109799861908, -0.09533584117889404, 0.2642616033554077, -0.5961447954177856, -0.06562622636556625, -0.46512553095817566, -0.7221707701683044, -0.3622564673423767, -0.495218962430954, 0.411088764667511, 0.15304121375083923, 0.6474637985229492, 0.869979739189148, 0.5653811097145081, 0.202772855758667, -0.07318948954343796, 0.12184422463178635, -0.4080699384212494, 0.1420210301876068, -0.3030039072036743, -0.7077053785324097, 0.005385465454310179, 0.08949820697307587, 0.7545043230056763, 0.5579678416252136, 0.15219387412071228, -0.045719657093286514, 0.31639131903648376, 0.602110743522644, -0.7754766345024109, 0.07232025265693665, -0.7466862797737122, 0.13380753993988037, 0.0668836161494255, -0.24901245534420013, -0.48774266242980957, -0.1103324145078659, 0.31985512375831604, -0.43529319763183594, 0.39875534176826477, 0.09505956619977951, 0.9003751277923584, 0.27363938093185425, -0.6947368383407593, -0.31488412618637085, -1.1003100872039795, 0.5869600176811218, -0.725530743598938, 0.25607848167419434, 0.4309316873550415, 0.43692082166671753, -0.19947996735572815, -0.5627548694610596, -0.502613365650177, -0.32981809973716736, -0.5914602875709534, -0.009868374094367027, -0.12797516584396362, 0.2630236744880676, 0.6667697429656982, 0.24195314943790436, -0.3440384566783905, 0.2532849907875061, -0.47900640964508057, -0.012873640283942223, 0.6344666481018066, 0.16171151399612427, 0.12980756163597107, 0.16220085322856903, -0.4145084023475647, 0.041037771850824356, -1.0150361061096191, -0.3746243119239807, 0.4097864329814911, 0.6039000749588013, 0.0317530483007431, 0.9844832420349121, -0.09886673837900162, 0.8712376356124878, 0.057385753840208054, 0.026425017043948174, -0.05619488283991814, -0.31415292620658875, -0.32184168696403503, 0.01468301098793745, 0.41124260425567627, 0.26292654871940613, 0.34210360050201416, -0.08107023686170578, -0.30280354619026184, 0.03511039540171623, -0.10846109688282013, -0.8428949117660522, 0.08136653900146484, -0.12312053143978119, -0.31344011425971985, -0.07729615271091461, 0.17488417029380798, -0.7088266015052795, -0.6637288331985474, -0.5101919174194336, 0.7629826664924622, -0.009804172441363335, -0.39563289284706116, 0.02897036075592041, -0.25751200318336487, 0.7588034272193909, 0.09012876451015472, -1.05563485622406, 0.4143022298812866, 0.8199049830436707, 0.8767905831336975, 0.07090018689632416, -0.058406759053468704, -0.43978413939476013, 0.06642061471939087, -0.2858080565929413, 0.4866170287132263, -0.5481336116790771, -0.32083743810653687, 0.09474365413188934, -0.003908126149326563, -0.2896634042263031, -0.9227554798126221, 0.027518659830093384, -0.484500914812088, 0.2165810465812683, -0.03090624511241913, -0.7601239085197449, -0.07337135821580887, 0.02999044768512249, -0.7721115946769714, 0.6092166304588318, 0.07917880266904831, -0.7403531670570374, 0.43728119134902954, -0.6500921845436096, -0.46444153785705566, -0.3473412096500397, -0.2774611711502075, -0.38530686497688293, 0.2864221930503845, 0.03401944413781166, 0.4414307475090027, -0.45115581154823303, 0.1702665090560913, -0.5995301604270935, -0.08662985265254974, 0.4414261281490326, -0.18680186569690704, 0.6350054740905762, 0.2056230902671814, 0.06703591346740723, 0.3406006097793579, -0.5276147723197937, -0.35887905955314636, 0.14052562415599823, -0.06907658278942108, -0.5493155121803284, -0.08535762876272202, -0.11359838396310806, 0.3690829873085022, 0.044399239122867584, -0.3529830276966095, 0.24431173503398895, -0.17818725109100342, 0.5110111832618713, 0.7522764801979065, 0.12475846707820892, 0.6879744529724121, -0.4986822307109833, 0.6491246819496155, 0.050533000379800797, 0.172139972448349, 0.07993373274803162, -0.4247419238090515, -0.733284056186676, -0.37027671933174133, 0.6720574498176575, 0.5762351155281067, -0.57558274269104, 0.23785558342933655, 0.16363781690597534, -0.26936009526252747, -0.5263548493385315, -0.0199454203248024, 0.2198028415441513, 0.47547850012779236, 0.2570289373397827, -0.3194744288921356, -0.7707069516181946, -1.0019651651382446, -0.3734007179737091, 0.13359764218330383, -0.26373618841171265, 0.5506156086921692, 0.4067070782184601, -0.13678821921348572, 0.9236063361167908, -0.4417358636856079, -0.34191766381263733, -0.31212225556373596, -0.2864086925983429, 0.20743033289909363, 0.7677838206291199, 0.6686521768569946, -0.7701302170753479, -0.5642340779304504, -0.04427535459399223, -0.6747758984565735, -0.06572455167770386, -0.10445749014616013, -0.271642804145813, -0.16049474477767944, 0.5315914750099182, -0.6781441569328308, 0.5321496725082397, 0.606246829032898, -0.41268306970596313, 0.5247515439987183, -0.3672555685043335, -0.07844719290733337, -1.1452544927597046, -0.04956568777561188, 0.25266674160957336, -0.35640639066696167, -0.6886740326881409, 0.16081474721431732, 0.1981409192085266, -0.30597054958343506, -0.29134151339530945, 0.7711812853813171, -0.5854495167732239, -0.09717864543199539, -0.5885622501373291, 0.018855059519410133, -0.05488450080156326, 0.13520537316799164, 0.09324333816766739, 0.6087536215782166, 0.6085372567176819, -0.7102946043014526, 0.2728915512561798, 0.275052011013031, -0.5521864295005798, 0.40663501620292664, -0.35472607612609863, 0.036325715482234955, -0.16516341269016266, 0.08510803431272507, -0.5750714540481567, -0.344970166683197, 0.1335066258907318, -0.15152841806411743, 0.5059564113616943, -0.37354376912117004, -0.3373417854309082, -0.13766588270664215, 0.08562876284122467, 0.4076831042766571, 0.7764312624931335, -0.7712697982788086, 0.7567669153213501, 0.2643547058105469, 0.15397284924983978, -0.5586703419685364, -0.5589457750320435, -0.1733689308166504, -0.6368710398674011, -0.36744457483291626, 0.4145951569080353, -0.24805374443531036, -0.47245335578918457, 0.18517859280109406, -0.08499472588300705, -0.2054230123758316, 0.2969622313976288, 0.16068139672279358, 0.2208772450685501, -0.29683831334114075, 0.19253171980381012, 0.1031288355588913, 0.010561483912169933, -0.06467685103416443, -0.13118283450603485, 0.43685245513916016, 0.452696830034256, -0.29857921600341797, -0.3944690227508545, 0.4568807780742645, 0.38168954849243164, -0.09101233631372452, 1.0439523458480835, 0.12988099455833435, -0.5553932189941406, -0.22158282995224, -0.45905545353889465, -0.5468953251838684, -0.41717055439949036, 0.3984282314777374, -0.5567431449890137, -0.7843545079231262, 0.4572652578353882, 0.05203527212142944, -0.15363091230392456, 0.48797696828842163, 0.37658554315567017, 0.34315192699432373, 1.40131676197052, 1.1505600214004517, -0.12637436389923096, 0.9204986691474915, 0.06012370064854622, 0.07580440491437912, -0.8800899982452393, -0.14056384563446045, -0.6074212789535522, -0.31417685747146606, -0.6629111766815186, -0.1276833415031433, -0.07287300378084183, 0.21105293929576874, -0.022403327748179436, 0.4039148986339569, -0.25379467010498047, 0.5836705565452576, 0.7069409489631653, 0.4158343970775604, 0.32296818494796753, -0.24030467867851257, -0.013570591807365417, 0.10399606823921204, -0.8361626267433167, 0.017687752842903137, 1.222782015800476, 0.2762800455093384, 1.038098692893982, -0.03407119959592819, 0.33717191219329834, 0.18499106168746948, 0.6218291521072388, -0.8948712944984436, 0.41255632042884827, -0.043077725917100906, -0.7919497489929199, 0.02234727144241333, -0.6888081431388855, -0.7937262058258057, 0.15185628831386566, -0.5573403835296631, -0.572557806968689, 0.5106685757637024, 0.29698076844215393, -0.10035967081785202, 0.3003332018852234, -0.7646459341049194, 0.5394237041473389, -0.25735893845558167, -0.3156324625015259, -0.17750340700149536, -0.5231596231460571, 0.47912558913230896, -0.348916232585907, -0.018518537282943726, -0.24391265213489532, 0.14994464814662933, 0.785998523235321, -0.35945945978164673, 0.7147619128227234, -0.33451980352401733, 0.005116653628647327, 0.03303550183773041, 0.05283433198928833, 0.45531684160232544, -0.13939693570137024, -0.08408351242542267, -0.06039281189441681, 0.010526894591748714, -0.3858599364757538, -0.7243063449859619, 0.6393247842788696, -0.6553463935852051, -1.0456496477127075, -0.15172652900218964, -0.8666716814041138, -0.1734798550605774, 0.19003163278102875, 0.24000470340251923, 0.2136242687702179, 0.1639232635498047, 0.37558257579803467, 0.6189428567886353, 0.04223491623997688, 0.0046941074542701244, 0.6126480102539062, -0.555172860622406, -0.08427530527114868, 0.41940173506736755, 0.17604458332061768, 0.5651640892028809, 0.6597568988800049, 0.3903661072254181, -0.3121396601200104, -0.46964457631111145, 0.06229362264275551, 0.4000200033187866, -0.7169950604438782, -0.2883894741535187, -0.39509937167167664, -0.39830175042152405, -0.41742441058158875, 0.07694864273071289, -0.1337868571281433, -0.5711339712142944, -0.33373111486434937, -0.20732054114341736, 0.28215649724006653, 0.8137208223342896, -0.3070446848869324, 0.2942250370979309, -0.38207709789276123, 0.017854440957307816, 0.41246354579925537, 0.28987306356430054, -0.12553061544895172, -0.7599138021469116, -0.30880627036094666, 0.003963252529501915, 0.05474922060966492, -0.8910810947418213, 0.29748380184173584, 0.33760637044906616, 0.598046600818634, 0.49670904874801636, 0.21616867184638977, 0.5660707354545593, -0.39036354422569275, 0.1732705980539322, 0.0820847824215889, -0.8211730718612671, 0.3689202666282654, 0.05047321692109108, -0.05325959622859955, 0.13042579591274261, 0.5720080137252808, -0.402461975812912, -0.4251868426799774, -0.41228920221328735, -0.6582793593406677, 0.44127970933914185, -0.07338475435972214, 0.20622479915618896, 0.1589375138282776, 0.747307538986206, 0.17059077322483063, 0.20634905993938446, -0.9314090609550476, -0.007218027487397194, 0.07582230120897293, -0.34961193799972534, -0.15262773633003235, -0.46871232986450195, -0.40482592582702637, -0.11807502806186676, 0.7241612672805786, -0.14653380215168, 0.33422353863716125, 0.3112157881259918, -0.22516538202762604, 0.006206035614013672, 0.03740578517317772, 0.612406849861145, 0.7509649395942688, -0.2207004427909851, 0.12593959271907806, 0.049008555710315704, 0.01113164983689785, 0.05295049399137497, 0.3011724054813385, -0.23683585226535797, -0.21356280148029327, 0.20015449821949005, 0.870556652545929, -0.24187830090522766, -0.6759054064750671, 0.3000655472278595, -0.11167693138122559, -0.27719300985336304, -0.04045134410262108, 0.24972403049468994, -0.19289062917232513, 0.6952915191650391, 0.2224503457546234, -0.14788322150707245, -0.11407612264156342, -0.5329617261886597, 0.2567092776298523, 0.8212733864784241, -0.6621155738830566, -0.19783808290958405, 0.8277778625488281, -0.014385581947863102, -0.3673917055130005, 0.5874813199043274, 0.290517121553421, -0.3409385681152344, 0.7740206122398376, 0.9840952157974243, 0.7258877158164978, -0.308926522731781, -0.1411665976047516, 0.3327517509460449, 0.41061484813690186, -0.1450456976890564, -0.09969480335712433, -0.03406871482729912, -0.9605695605278015, -0.44720616936683655, -0.30655744671821594, -0.43646693229675293, 0.32894331216812134, -0.784477949142456, 0.4051327109336853, -0.4895632266998291, -0.07312256097793579, -0.11060385406017303, -0.38393160700798035, -0.7918569445610046, -0.01985306106507778, 0.08267290145158768, 1.0775651931762695, -1.1392693519592285, 0.8317837119102478, 0.3452679514884949, -0.40665385127067566, -0.6883355975151062, 0.014471800997853279, -0.35139358043670654, -0.9361470341682434, 0.3647177815437317, 0.30320489406585693, 0.37373265624046326, 0.05141255632042885, -0.5656291842460632, -0.7333666086196899, 1.0212936401367188, 0.3894633650779724, -0.6355783343315125, -0.0832221731543541, 0.0799998864531517, 0.32223623991012573, -0.5883776545524597, 0.09958835691213608, 0.5550082921981812, 0.1001034528017044, 0.002877701073884964, -0.8993858098983765, 0.35786640644073486, 0.0270003080368042, -0.1260906308889389, 0.4120129644870758, -0.3628428280353546, 0.8093029856681824, -0.2494058758020401, -0.27617841958999634, 0.35901492834091187, 0.4572620093822479, 0.01150564569979906, 0.17452117800712585, 0.5739898085594177, 0.25433358550071716, 0.5563033819198608, 0.02792028896510601, 0.8742576241493225, -0.3108522891998291, 0.5105592608451843, 1.0575135946273804, -0.5447410941123962, 0.6541622877120972, 0.5405744314193726, -0.04758286476135254, 0.11661706119775772, 0.6281564831733704, -0.04241272062063217, 0.7304173111915588, 0.26637423038482666, -0.31690558791160583, -0.11214832961559296, -0.34174996614456177, -0.5426515936851501, 0.23646342754364014, 0.35960695147514343, -0.6298567652702332, -0.10783747583627701, 0.3122211992740631, -0.19568097591400146, -0.05869119614362717, -0.3416714370250702, 1.1204642057418823, 0.2401248961687088, -0.43572095036506653, 0.26928988099098206, -0.1306285858154297, 0.4849798381328583, -0.8123795986175537, -0.019081581383943558, -0.35449743270874023, 0.2684589922428131, -0.1210334375500679, -0.4819711446762085, 0.30490830540657043, -0.27061226963996887, -0.2822524607181549, -0.09817789494991302, 1.0048706531524658, -0.5994939804077148, -0.35533782839775085, 0.48960745334625244, 0.5284255743026733, -0.15401123464107513, -0.10384541749954224, -0.513322114944458, -0.41668906807899475, 0.019632535055279732, -0.06519614160060883, 0.6546819806098938, 0.2541854977607727, 0.05856815725564957, 0.7261136174201965, 0.5075005292892456, 0.13055182993412018, -0.03767142444849014, -0.20252615213394165, 0.767288863658905, -0.6874037384986877, -0.3423265218734741, -0.9714482426643372, 0.18457211554050446, 0.05260070040822029, 0.1409022957086563, 0.7049441337585449, 0.5793055891990662, 0.8537464737892151, -0.06579644232988358, 0.9703245759010315, 0.03582621365785599, 0.4885396361351013, -0.8024505972862244, 0.40777191519737244, -0.6674981713294983, 0.2215137928724289, 0.05591324344277382, -1.0954806804656982, -0.4778948426246643, 0.39161917567253113, -0.5189306735992432, -0.08278696238994598, 0.49166712164878845, 0.8746318221092224, -0.312053382396698, -0.1939437836408615, 0.5215333104133606, 0.15981656312942505, 0.31775766611099243, 0.4105214476585388, 1.069769024848938, 0.05624724179506302, 0.3927901089191437, -0.41427522897720337, -0.4271972179412842, -0.28251737356185913, -0.8285630941390991, -0.9670138955116272, -0.49135875701904297, -0.19797031581401825, -0.6812186241149902, -0.05702042207121849, 0.8830671310424805, 0.6794481873512268, -0.6984965205192566, -0.2971458435058594, -0.12723545730113983, 0.3082823157310486, -0.15999871492385864, -0.21224583685398102, 0.09964097291231155, 0.03684429079294205, -0.5966901779174805, 0.2977645993232727, -0.05797470360994339, 0.3993698060512543, -0.22287197411060333, 0.10855825990438461, -0.18301783502101898, 0.2404552549123764, 0.4519656300544739, 0.4032531678676605, -0.17758551239967346, -0.3412081301212311, -0.1541701704263687, 0.1878252923488617, 0.1361057460308075, 1.2307246923446655, -0.6548182368278503, 0.4828607439994812, 0.45176512002944946, 0.7616987824440002, 0.7384767532348633, -0.11635448783636093, 0.8649240732192993, -0.7245797514915466, 0.4391462504863739, 0.1378132402896881, 0.5104586482048035, 0.2975631356239319, -0.39577534794807434, 0.5799076557159424, 0.1682136207818985, -0.5308383703231812, -0.9974969625473022, 0.6888013482093811, -0.5317309498786926, -0.2500746548175812, 1.087685465812683, -0.03755202889442444, -0.049696702510118484, 0.036053936928510666, -0.18397057056427002, 0.32459935545921326, 0.010250953026115894, 0.8097386956214905, 0.5697996616363525, -0.33717265725135803, -0.25619447231292725, -0.5913923978805542, 0.46557432413101196, 0.27889692783355713, -0.7977942824363708, 0.015398390591144562, 0.14596304297447205, 0.271519273519516, -0.08849971741437912, 0.2685880661010742, 0.12503473460674286, -0.11208739876747131, -0.0550304614007473, -0.1508735567331314, 0.024743251502513885, -0.25310513377189636, -0.5055940747261047, -0.08506268262863159, 0.396160364151001, -0.09435462951660156 ]
http://arxiv.org/abs/2402.12501v1
http://arxiv.org/pdf/2402.12501v1
Your Vision-Language Model Itself Is a Strong Filter: Towards High-Quality Instruction Tuning with Data Selection
2024-02-19T20:08:48
2024-02-19T20:08:48
Ruibo Chen, Yihan Wu, Lichang Chen, Guodong Liu, Qi He, Tianyi Xiong, Chenxi Liu, Junfeng Guo, Heng Huang
cs.CL
cs.CL
Data selection in instruction tuning emerges as a pivotal process for acquiring high-quality data and training instruction-following large language models (LLMs), but it is still a new and unexplored research area for vision-language models (VLMs). Existing data selection approaches on LLMs either rely on single unreliable scores, or use downstream tasks for selection, which is time-consuming and can lead to potential over-fitting on the chosen evaluation datasets. To address this challenge, we introduce a novel dataset selection method, Self-Filter, that utilizes the VLM itself as a filter. This approach is inspired by the observation that VLMs benefit from training with the most challenging instructions. Self-Filter operates in two stages. In the first stage, we devise a scoring network to evaluate the difficulty of training instructions, which is co-trained with the VLM. In the second stage, we use the trained score net to measure the difficulty of each instruction, select the most challenging samples, and penalize similar samples to encourage diversity. Comprehensive experiments on LLaVA and MiniGPT-4 show that Self-Filter can reach better results compared to full data settings with merely about 15% samples, and can achieve superior performance against competitive baselines.
[ -0.6037439107894897, -0.4053137004375458, 0.39263367652893066, -0.036063216626644135, -0.4520941972732544, 0.023657197132706642, -0.1315809041261673, -0.2725312411785126, 0.09382061660289764, 0.8472470641136169, -0.7099842429161072, -0.6159593462944031, -0.3873712122440338, -0.00958616565912962, -0.4763510227203369, 1.0029343366622925, 0.13459844887256622, 0.29966047406196594, -0.3175981938838959, -0.060215625911951065, -0.540055513381958, -0.26818931102752686, -0.5492572784423828, -0.41974103450775146, 0.4102412164211273, 0.37766674160957336, 0.2667061388492584, 1.0211186408996582, 0.6442822217941284, 0.2719089984893799, 0.128219872713089, 0.3370470404624939, -0.5608449578285217, 0.3322941064834595, -0.10719530284404755, -0.42187124490737915, -0.21365250647068024, 0.09543251246213913, 0.5064045786857605, 0.4029166102409363, -0.15390481054782867, 0.49725663661956787, 0.2932748794555664, 0.9355456829071045, -0.8376264572143555, -0.05501779913902283, -0.6362283825874329, 0.3316349685192108, -0.3309384286403656, -0.09625624120235443, -0.37272441387176514, -0.06766434758901596, -0.1991848647594452, -0.27104055881500244, 0.2902332544326782, 0.24146175384521484, 0.6619864702224731, 0.5446707010269165, -0.10749433189630508, 0.007345604710280895, -0.5950826406478882, 0.9040515422821045, -0.34593382477760315, 0.4752447307109833, 0.6543176174163818, 0.48280197381973267, 0.13484017550945282, -0.5299779772758484, -0.2516186237335205, -0.11971747875213623, 0.14230509102344513, 0.36572331190109253, 0.12096734344959259, 0.11238254606723785, 0.05781659856438637, 0.40712079405784607, -0.74808669090271, 0.3067481517791748, -0.6367759108543396, -0.2084030658006668, 0.614358127117157, 0.2493010014295578, -0.12460467964410782, -0.2259320467710495, -0.25373759865760803, -0.1994812935590744, -0.7246136665344238, -0.06889849156141281, 0.4343145489692688, 0.3068903982639313, 0.26921728253364563, 0.44704869389533997, -0.4639812707901001, 1.2599295377731323, 0.04844199866056442, 0.021400513127446175, 0.13722079992294312, -0.22385935485363007, -0.41735491156578064, -0.09537597000598907, 0.6457151770591736, 0.19924335181713104, 0.20921224355697632, 0.22206193208694458, -0.4760497212409973, -0.031251538544893265, 0.4549713134765625, -0.6951980590820312, -0.5925354361534119, -0.11944802850484848, -0.4719208776950836, -0.3140668570995331, -0.11124160140752792, -0.9317503571510315, -0.09192553907632828, -0.4891888499259949, 0.327287495136261, 0.025781864300370216, 0.09056288003921509, 0.04347200319170952, 0.2509499788284302, 0.2796700894832611, 0.2167547196149826, -0.9086439609527588, 0.24385079741477966, 0.4331135153770447, 0.6302980184555054, -0.4609118402004242, -0.3758001923561096, -0.8403184413909912, -0.24155773222446442, -0.5289974212646484, 0.8521470427513123, -0.8824992775917053, -0.3337758183479309, -0.2623872756958008, -0.31772035360336304, -0.06783280521631241, -0.5717076659202576, 0.3922063112258911, -0.6163944005966187, 0.21873830258846283, -0.0841938778758049, -0.5911549925804138, -0.019491855055093765, 0.04856804013252258, -0.6596955060958862, 1.2892932891845703, 0.3036019802093506, -0.26647940278053284, 0.5998085737228394, -0.2552698850631714, -0.4626706540584564, 0.20916114747524261, -0.26472190022468567, -0.6208910942077637, 0.13167905807495117, 0.5202098488807678, 0.4484351873397827, -0.13470496237277985, -0.10387896001338959, -0.556609570980072, -0.4349449872970581, -0.28576043248176575, -0.6403007507324219, 0.5260609984397888, 0.3008035719394684, -0.3910563886165619, 0.06567732989788055, -0.8807178139686584, 0.5495607256889343, -0.1121131107211113, -0.40857967734336853, -0.2639450132846832, 0.037642817944288254, -0.33264121413230896, 0.3521560728549957, 0.11946997791528702, -0.484578937292099, 0.13444297015666962, -0.25546374917030334, 0.15167993307113647, 1.0027859210968018, -0.16359956562519073, 0.1145978569984436, -0.10640273243188858, 0.5787354707717896, -0.2707882821559906, 0.6446647047996521, -0.00896076112985611, -0.4896886646747589, -1.0148216485977173, -0.16765354573726654, 0.16936281323432922, 0.5263586044311523, -0.9409908056259155, 0.5538874268531799, 0.034468621015548706, -0.4155347943305969, -0.9906736612319946, 0.8913964629173279, 0.5829620361328125, 0.4825967252254486, 0.6155683398246765, -0.3378085196018219, -0.3644261658191681, -0.7421676516532898, -0.05063041299581528, -0.04355667158961296, 0.20738312602043152, 0.4045148491859436, 0.26729753613471985, 0.16646212339401245, 0.8377701640129089, -0.6343731880187988, -0.5277037024497986, -0.25589048862457275, -0.28258657455444336, 0.3436569273471832, 0.32752034068107605, 0.4336474537849426, -0.8078038692474365, -0.5604419708251953, -0.19249588251113892, -0.754084587097168, -0.2823695242404938, 0.08155886828899384, -0.2487090677022934, 0.015227884985506535, 0.4611164927482605, -0.0011030721943825483, 0.501128077507019, 0.7431407570838928, -0.34094908833503723, 0.35544249415397644, -0.39740264415740967, 0.1148715391755104, -0.5269723534584045, -0.3336743116378784, 0.11528085917234421, -0.43056899309158325, -0.2472158521413803, -0.0461873896420002, 0.1714172512292862, 0.16287297010421753, -0.4526183605194092, 0.4578271806240082, -0.6383816599845886, -0.08190445601940155, -0.5104308128356934, -0.08978655189275742, 0.16235141456127167, 0.5144643783569336, -0.041029192507267, 0.6606646180152893, 0.834860622882843, -0.7517347931861877, 0.6424195766448975, 0.17877459526062012, -0.7299656271934509, 0.5592468976974487, -0.40967971086502075, 0.2853964567184448, -0.12929971516132355, -0.1639862358570099, -0.8301022052764893, 0.086271733045578, 0.18320360779762268, -0.0321505144238472, 0.42160892486572266, -0.46995845437049866, -0.14400748908519745, -0.6921855807304382, -0.11915016919374466, 0.16368485987186432, 0.4962684214115143, -0.887297511100769, 0.3597027361392975, 0.2907835841178894, 0.2253398895263672, -0.47837212681770325, -0.6210654973983765, 0.03070329874753952, -0.08300602436065674, -0.2383469045162201, -0.01860783062875271, -0.24409537017345428, 0.1478879153728485, -0.12778887152671814, -0.2835999131202698, -0.08351200819015503, 0.11109206825494766, 0.11098796874284744, 0.49859291315078735, -0.24233697354793549, 0.0825866162776947, 0.0024966271594166756, -0.20337021350860596, -0.058442577719688416, -0.43007031083106995, 0.39349719882011414, 0.005881637334823608, -0.6470937132835388, -0.3417375683784485, 0.1720900982618332, 0.292452335357666, -0.6230360269546509, 0.433188796043396, 0.5430975556373596, 0.16850119829177856, -0.7398725152015686, -0.5993674397468567, -0.35364383459091187, -0.5518712401390076, 0.4912068247795105, -0.466166228055954, -0.7970521450042725, -0.10037041455507278, 0.34038081765174866, 0.01225972082465887, 0.2058754563331604, 0.34100010991096497, -0.325626015663147, 1.078731894493103, 0.35943153500556946, -0.21880239248275757, 0.6896365880966187, -0.31305307149887085, 0.10422313213348389, -0.9178521633148193, -0.0854741781949997, -0.2844257354736328, -0.3108018934726715, -0.46233922243118286, -0.2683471143245697, 0.5616751313209534, -0.22265292704105377, -0.06647784262895584, 0.08713104575872421, -0.7700386047363281, 0.8142500519752502, 0.7522560954093933, 0.3913423418998718, 0.01205864641815424, 0.18168918788433075, 0.07442109286785126, -0.0765475258231163, -0.6597300171852112, -0.18005970120429993, 1.2085505723953247, 0.029332954436540604, 1.0258716344833374, -0.2607651650905609, 0.8708533048629761, 0.26119035482406616, 0.12450292706489563, -0.5553652048110962, 0.7082772850990295, -0.7896610498428345, -0.6132596731185913, -0.5205408930778503, -0.5237967371940613, -0.8789350986480713, 0.4545156955718994, -0.18903370201587677, -0.4939882159233093, -0.01071425061672926, 0.41265812516212463, -0.43574297428131104, 0.27773693203926086, -0.6536861658096313, 0.8338001370429993, -0.5497180819511414, -0.4570583701133728, -0.1946781873703003, -0.4885619282722473, 0.20251375436782837, -0.15954571962356567, 0.06789140403270721, -0.2693997919559479, 0.28315454721450806, 0.5782347321510315, -0.19330979883670807, 0.9144219160079956, -0.3131307363510132, 0.09922199696302414, 0.4170302450656891, 0.15203401446342468, 0.2635921239852905, -0.18319791555404663, -0.176200270652771, 0.17464950680732727, -0.22494299709796906, -0.32831987738609314, -0.7544359564781189, 0.7290465235710144, -0.6152956485748291, -0.7766278982162476, -0.22934484481811523, -0.0036635363940149546, -0.1670188456773758, 0.19614198803901672, 0.2870733141899109, 0.5884674787521362, 0.18645846843719482, 0.3211982548236847, 0.6146945953369141, 0.015621811151504517, 0.37947380542755127, 0.5540230870246887, -0.3359394371509552, -0.41070690751075745, 1.2754462957382202, 0.3112297058105469, 0.4793069362640381, 0.2703606188297272, 0.3868011236190796, -0.17260219156742096, -0.7857380509376526, -0.6170033812522888, -0.03028571978211403, -0.8794777989387512, -0.29878443479537964, -0.21972593665122986, -0.5049327611923218, -0.1993575096130371, 0.20693130791187286, -0.6591745018959045, -0.025560300797224045, -0.27229630947113037, 0.007161930203437805, 0.12580153346061707, 0.7687029838562012, -0.09370724856853485, 0.16224521398544312, -0.5549318790435791, 0.602191150188446, 0.6465712785720825, 0.682202160358429, -0.3736964464187622, -0.7404625415802002, -0.3424261212348938, -0.1556987166404724, -0.13637107610702515, -0.47584763169288635, 0.3567048907279968, 0.6588446497917175, 0.7528174519538879, 0.12444952130317688, 0.044172778725624084, 0.7884570956230164, -0.5842013955116272, 0.5064209699630737, -0.09290935099124908, -0.6999313235282898, 0.9227306842803955, 0.19383345544338226, 0.37101271748542786, 0.7899321913719177, 0.0015924160834401846, -0.15257221460342407, -0.38488155603408813, -0.12911120057106018, -0.8300691246986389, 0.8622041940689087, 0.19497670233249664, 0.14934714138507843, 0.18767954409122467, 0.4993208944797516, 0.04059648886322975, 0.15687914192676544, -0.5655979514122009, -0.5197038650512695, -0.4114955961704254, -0.3422935903072357, -0.07170334458351135, -0.14920806884765625, 0.1096084862947464, -0.3917779326438904, 0.6963998675346375, -0.27647337317466736, -0.06835787743330002, 0.13581155240535736, -0.03456724062561989, -0.2044059783220291, -0.1796608865261078, 0.12225686013698578, 0.49388444423675537, -0.010405503213405609, 0.0624697208404541, 0.1439102739095688, -0.6278947591781616, 0.021607665345072746, -0.2993023991584778, -0.3365020751953125, -0.18497633934020996, 0.4070809781551361, 1.1672031879425049, 0.1562340259552002, -0.2969229519367218, 0.5464373826980591, -0.06466248631477356, 0.02589629963040352, -0.06264492869377136, 0.8053129315376282, -0.5439717769622803, 0.108543261885643, 0.15288415551185608, 0.00044964163680560887, 0.3198307752609253, -0.2459193617105484, 0.37150251865386963, 0.3046357035636902, -0.46910375356674194, 0.03605718910694122, 0.42476940155029297, 0.19872929155826569, -0.2671484053134918, 0.7950706481933594, -0.25161078572273254, -0.48852604627609253, 0.572677493095398, 0.3486395478248596, 0.8165464401245117, -0.4874321222305298, 0.3637649416923523, 0.370066374540329, 0.2615090012550354, -0.16082356870174408, 0.26374122500419617, -0.20119883120059967, -0.695938766002655, -0.4843907058238983, -0.9757412672042847, -0.18782122433185577, 0.2022891342639923, -0.8614764213562012, 0.3113672733306885, -0.27772238850593567, 0.011566962115466595, -0.14433898031711578, 0.0675390213727951, -0.8181825876235962, 0.6853513717651367, 0.39358657598495483, 0.6821926832199097, -0.7156052589416504, 1.0532218217849731, 0.3853827118873596, 0.050133880227804184, -0.7156355977058411, -0.19770413637161255, -0.0372253954410553, -1.1794002056121826, 0.7530391812324524, 0.11536998301744461, -0.3072785437107086, 0.13604778051376343, -0.5396124720573425, -1.0209084749221802, 0.7467921376228333, 0.3706323206424713, -0.8400235772132874, 0.03408540040254593, -0.17232604324817657, 0.48714062571525574, -0.39946845173835754, 0.19719453155994415, 0.8109774589538574, 0.3721781373023987, 0.4322313070297241, -0.6977437734603882, -0.45376676321029663, -0.26643696427345276, 0.0323711521923542, 0.20342415571212769, -0.846222996711731, 0.5493245720863342, -0.05304329842329025, 0.08259603381156921, -0.20519253611564636, 0.6668350696563721, 0.12575483322143555, 0.2849489450454712, 0.7389847040176392, 0.4169504642486572, 0.5283482670783997, 0.06894034892320633, 0.9614579677581787, -0.3496808409690857, 0.36949506402015686, 1.3454471826553345, -0.24926967918872833, 0.7782382965087891, 0.3251815438270569, -0.2627701461315155, 0.23317892849445343, 0.7427608370780945, -0.6030145883560181, 0.7276553511619568, 0.1894376426935196, 0.052411384880542755, -0.7813092470169067, 0.27791035175323486, -0.07191870361566544, 1.0653122663497925, 0.13639268279075623, -0.23002882301807404, -0.1711496263742447, 0.17369678616523743, -0.5214329957962036, 0.02733786217868328, -0.4749753773212433, 0.7966386079788208, 0.08306168019771576, -0.8617678880691528, 0.5878875851631165, -0.4420106112957001, 0.3304058611392975, -0.6339820027351379, -0.10044209659099579, -0.2259899228811264, 0.08667243272066116, -0.14252647757530212, -1.0665339231491089, 0.15697753429412842, 0.025615360587835312, -0.02783993072807789, -0.29062631726264954, 0.6369597911834717, -0.49423179030418396, -0.7082386612892151, 0.4776988625526428, 0.5254198312759399, 0.2595060467720032, -0.09539450705051422, -0.7069938778877258, 0.07763419300317764, 0.19427785277366638, -0.6038515567779541, 0.25439074635505676, 0.2237389087677002, 0.18302759528160095, 0.910496175289154, 0.6241950392723083, 0.5199818015098572, 0.2022726684808731, 0.24167636036872864, 0.8625368475914001, -0.5891422033309937, -0.5567125082015991, -0.9547560214996338, 0.20454905927181244, -0.201450377702713, -0.5161791443824768, 0.5561724305152893, 0.5505560636520386, 0.9338836073875427, 0.08627082407474518, 0.6821507811546326, 0.23184217512607574, 0.4394535720348358, -0.8699421286582947, 0.6684542894363403, -0.7042734622955322, 0.30886468291282654, 0.003820565529167652, -0.9647464156150818, -0.19183005392551422, 0.8177191615104675, -0.44404274225234985, 0.31399720907211304, 0.40257561206817627, 0.8294314742088318, -0.1261933147907257, -0.15576328337192535, 0.7679227590560913, 0.044572774320840836, 0.18383648991584778, 0.577498733997345, 0.6320050358772278, -0.24338506162166595, 0.6487881541252136, -0.41379278898239136, -0.15655742585659027, -0.23619036376476288, -0.6306256055831909, -1.0913934707641602, -0.5731708407402039, -0.3419480323791504, -0.06935995817184448, 0.10963506251573563, 0.7202323079109192, 1.2179425954818726, -0.8095707893371582, -0.227054625749588, 0.0801059901714325, 0.23385915160179138, -0.2581375539302826, -0.1129082590341568, 0.2735854685306549, -0.5898798704147339, -0.6513864398002625, 0.7436888813972473, 0.392675518989563, -0.02886214666068554, -0.5296863317489624, -0.041770316660404205, 0.19485637545585632, -0.11733042448759079, 0.4021001160144806, 0.059634752571582794, -0.43561309576034546, -0.2746334671974182, -0.18069347739219666, -0.14061132073402405, 0.34375065565109253, 0.569038987159729, -0.8736521601676941, 0.9531496167182922, 0.0913548693060875, 0.5764883756637573, 0.7504509687423706, -0.29795098304748535, 0.30122822523117065, -0.6436424255371094, -0.21173478662967682, 0.31686708331108093, 0.3419084846973419, 0.4015185236930847, -0.4941600263118744, 0.5458019971847534, 0.16029760241508484, -0.601517915725708, -0.7234066724777222, 0.342083215713501, -0.5633458495140076, -0.23373252153396606, 1.0718634128570557, -0.0395229272544384, -0.46456393599510193, -0.02139206975698471, -0.12041627615690231, 0.09576559066772461, -0.19047226011753082, 0.9939733743667603, 0.6086834669113159, -0.17704391479492188, -0.37387681007385254, -0.7870400547981262, 0.5235410928726196, 0.40924564003944397, -0.6223182678222656, -0.060589808970689774, 0.4333352744579315, 0.25083035230636597, -0.2522718906402588, 0.26913365721702576, 0.2676122486591339, 0.29618483781814575, -0.17800720036029816, -0.14987409114837646, -0.26196545362472534, -0.7202771306037903, -0.3369138836860657, 0.2115546613931656, -0.07527859508991241, -0.4179133474826813 ]
http://arxiv.org/abs/2402.12486v2
http://arxiv.org/pdf/2402.12486v2
Do Pre-Trained Language Models Detect and Understand Semantic Underspecification? Ask the DUST!
2024-02-19T19:49:29
2024-06-12T09:09:47
Frank Wildenburg, Michael Hanna, Sandro Pezzelle
cs.CL
cs.CL
In everyday language use, speakers frequently utter and interpret sentences that are semantically underspecified, namely, whose content is insufficient to fully convey their message or interpret them univocally. For example, to interpret the underspecified sentence "Don't spend too much", which leaves implicit what (not) to spend, additional linguistic context or outside knowledge is needed. In this work, we propose a novel Dataset of semantically Underspecified Sentences grouped by Type (DUST) and use it to study whether pre-trained language models (LMs) correctly identify and interpret underspecified sentences. We find that newer LMs are reasonably able to identify underspecified sentences when explicitly prompted. However, interpreting them correctly is much harder for any LMs. Our experiments show that when interpreting underspecified sentences, LMs exhibit little uncertainty, contrary to what theoretical accounts of underspecification would predict. Overall, our study reveals limitations in current models' processing of sentence semantics and highlights the importance of using naturalistic data and communicative scenarios when evaluating LMs' language capabilities.
[ -0.27700215578079224, -0.606002926826477, 1.0065876245498657, -0.2740807831287384, -0.5014153718948364, -0.2967360019683838, -0.26716747879981995, -0.5933758020401001, 0.08659536391496658, 0.6929333806037903, -0.922534704208374, -0.42983609437942505, -0.7572503089904785, -0.08483169227838516, -0.8229435086250305, 1.009913682937622, 0.04219410941004753, -0.27233266830444336, -0.6273980140686035, 0.3611947298049927, -0.30325669050216675, -0.4439610242843628, 0.20528413355350494, -0.4270831048488617, 0.11977406591176987, 0.47512099146842957, 0.8428962230682373, 0.22947965562343597, 0.4117964208126068, 0.34718915820121765, -0.15141111612319946, 0.1628330498933792, -0.5474342107772827, -0.2280416041612625, -0.003995735198259354, -0.3693291246891022, 0.039934951812028885, 0.08957351744174957, 0.4460044205188751, 1.0286576747894287, -0.13550542294979095, 0.19798095524311066, 0.054517555981874466, 0.15655241906642914, -1.0252383947372437, 0.25118228793144226, -1.1738497018814087, 0.044293224811553955, -0.35332000255584717, -0.3305632770061493, -0.23405206203460693, -0.1131649985909462, 0.03407711535692215, -0.5797948241233826, 0.2093484103679657, -0.24297787249088287, 0.9147877097129822, 0.5726515054702759, -0.37127649784088135, -0.35681331157684326, -0.6254517436027527, 0.6594814658164978, -0.6712616682052612, 0.23416784405708313, 0.6316843032836914, 0.016002483665943146, -0.3050403594970703, -0.7570745348930359, -0.5870359539985657, -0.23090074956417084, -0.5847219228744507, -0.05787961184978485, -0.22584503889083862, 0.06891832500696182, 0.04012952744960785, 0.3294539153575897, -0.2934366762638092, 0.26711034774780273, -0.4128180146217346, -0.19116713106632233, 0.3466516435146332, 0.1769993007183075, 0.43323302268981934, -0.4413771331310272, -0.5445138216018677, 0.4123687744140625, -0.5360933542251587, -0.06944630295038223, 0.15670785307884216, 0.416515052318573, 0.10632488131523132, 0.5414324402809143, -0.31556734442710876, 0.6499929428100586, -0.2803429961204529, 0.4683293402194977, 0.14553596079349518, -0.2609859108924866, -0.4798837900161743, 0.008420553989708424, 0.6596082448959351, 0.10968159139156342, 0.7148572206497192, -0.3222956359386444, -0.2881728708744049, 0.33122575283050537, 0.5492110848426819, -0.6651192307472229, -0.3065575361251831, 0.22266146540641785, -0.309953510761261, -0.5253223776817322, 0.07451014220714569, -0.31189340353012085, -0.4802059531211853, -0.18312616646289825, 0.6216061115264893, -0.19233597815036774, -0.22857007384300232, 0.5676478743553162, -0.08295035362243652, -0.19256898760795593, 0.3440961241722107, -0.8103184103965759, 0.6622706055641174, 0.7340488433837891, 0.40404629707336426, 0.22658587992191315, -0.2998104393482208, -0.33498474955558777, -0.1537788063287735, -0.33998170495033264, 1.0105195045471191, -0.7771888375282288, -0.23582284152507782, 0.006619696505367756, -0.09629572927951813, -0.5131365656852722, -0.4212668836116791, 0.7891409993171692, -0.4783056974411011, 0.35728535056114197, 0.10790638625621796, -0.8102531433105469, -0.05556653067469597, -0.032853543758392334, -0.2690289318561554, 0.7176653146743774, -0.024500593543052673, -1.1190487146377563, 0.6706624031066895, -0.3450811207294464, -0.08108386397361755, 0.11627165973186493, -0.262798935174942, -0.16593919694423676, 0.38713982701301575, 0.24349454045295715, 0.622295081615448, -0.10265151411294937, 0.5553531050682068, -0.3256942331790924, -0.6208536028862, 0.6007764935493469, -0.504909336566925, 0.43650656938552856, 0.18178874254226685, -0.13462921977043152, -0.15160641074180603, -0.7204535007476807, 0.2514002323150635, -0.02325424551963806, 0.2142215222120285, -0.333265483379364, 0.2848042845726013, -0.1475144922733307, 0.25602394342422485, 0.4007132351398468, -0.6330444812774658, 0.08214271813631058, -0.46596720814704895, 0.31730028986930847, 0.6029408574104309, -0.10415970534086227, 0.21880578994750977, -0.0426955483853817, 0.2538783550262451, 0.09663897752761841, 0.11791732907295227, 0.05161016434431076, -0.16079235076904297, -0.98810875415802, 0.0936836302280426, 0.12560373544692993, 0.4654676914215088, -0.4150191843509674, 0.28782421350479126, -0.5637533068656921, -0.3808686137199402, -0.40888988971710205, 0.26941609382629395, 0.3149394989013672, 0.3848903477191925, 0.4803963899612427, -0.19307927787303925, -0.46225717663764954, -0.8203034996986389, -0.2861808240413666, -0.11047900468111038, -0.014059342443943024, 0.23447148501873016, 0.6175012588500977, -0.4823625087738037, 1.1663388013839722, -0.6903352737426758, -0.24336683750152588, -0.28306278586387634, 0.3749866783618927, 0.07002371549606323, 0.285017192363739, 0.20442332327365875, -0.7141388654708862, 0.1887763887643814, -0.28374624252319336, -0.5171036124229431, -0.37305915355682373, -0.04804690182209015, 0.20332202315330505, -0.11832068115472794, 0.7236882448196411, -0.8702397346496582, 0.576870322227478, 0.5044220685958862, -0.36301732063293457, 0.25872334837913513, -0.44725871086120605, -0.012325079180300236, -0.5407928228378296, 0.06900864094495773, -0.2839227020740509, -0.19010837376117706, -0.6886165738105774, -0.017695311456918716, 0.004892580211162567, -0.0771816074848175, -0.6448872685432434, 0.4648818075656891, -0.40796148777008057, -0.09882117807865143, -0.48778268694877625, 0.202989861369133, -0.20153021812438965, 0.47682324051856995, 0.44133514165878296, 0.40695300698280334, 0.40290483832359314, -0.6371268630027771, -0.14575918018817902, 0.08458106219768524, -0.733425498008728, -0.08660459518432617, -0.4852713644504547, 0.059707168489694595, -0.3532063663005829, 0.42553403973579407, -0.8747560381889343, -0.23333212733268738, 0.17590837180614471, -0.3290945887565613, 0.006125955376774073, -0.1890270709991455, -0.5975528955459595, -0.3943682610988617, 0.06938043981790543, 0.40128257870674133, 0.34770482778549194, -0.1048755794763565, 0.2628650665283203, 0.3677961528301239, 0.2483864277601242, -0.5425921678543091, -0.8142763376235962, -0.2531866431236267, -0.1937057077884674, -0.4826275706291199, 0.04620015248656273, 0.2901454567909241, -0.3729771375656128, 0.14528389275074005, -0.4063080847263336, -0.4343075454235077, 0.5443432331085205, 0.548384428024292, 0.1146634891629219, -0.29318132996559143, 0.3529222905635834, -0.12794147431850433, -0.16316059231758118, 0.06685363501310349, -0.28068646788597107, 0.49035778641700745, 0.0761144831776619, -0.34797200560569763, -0.5612521171569824, -0.0019536453764885664, 0.2956033945083618, -0.090826116502285, 0.8105844855308533, 0.37991341948509216, -0.42308956384658813, -0.19357091188430786, -0.43389996886253357, -0.3051846921443939, -0.4660510718822479, 0.16306398808956146, -0.40455248951911926, -0.7494335174560547, 0.41103988885879517, 0.06934519857168198, -0.2504599988460541, 0.6787436604499817, 0.20239490270614624, -0.20895196497440338, 0.6734148263931274, 0.6204298138618469, 0.0005255253054201603, 0.18937459588050842, -0.053665656596422195, 0.01927792653441429, -0.22941270470619202, -0.0645146444439888, -0.6091174483299255, 0.045716021209955215, -0.6005659699440002, -0.4410206377506256, -0.007167456205934286, -0.05496935173869133, -0.015606419183313847, 0.3464880585670471, -0.2138751894235611, 0.7985893487930298, 0.28840821981430054, 0.18370166420936584, 0.16055065393447876, -0.45260193943977356, 0.14891286194324493, 0.10513611137866974, -0.6227286458015442, -0.5631079077720642, 0.7788693904876709, 0.3811924457550049, 0.8032414317131042, -0.2727992534637451, 0.7553470730781555, 0.3443329930305481, 0.035110220313072205, -0.5028789639472961, 0.5378031730651855, -0.6564568877220154, -0.6689965724945068, -0.20798645913600922, -0.4787280857563019, -1.1559233665466309, 0.37976688146591187, -0.4828929603099823, -0.9659066200256348, 0.17219161987304688, 0.11412924528121948, -0.5740867853164673, 0.27913984656333923, -0.8038875460624695, 1.177747368812561, -0.09106318652629852, 0.3402697741985321, -0.29360339045524597, -0.849140465259552, 0.3713848292827606, -0.2871723771095276, 0.6208310127258301, -0.36726847290992737, 0.01240464299917221, 0.5954139828681946, -0.5812610387802124, 1.0673376321792603, -0.16694357991218567, -0.015681223943829536, 0.309468537569046, 0.11154055595397949, 0.27033743262290955, -0.2854965329170227, 0.1226469874382019, 0.10746089369058609, 0.1007472351193428, -0.3121193051338196, -0.7753832936286926, 0.45352116227149963, -0.831008791923523, -0.5473772883415222, -0.28986895084381104, -0.3256963789463043, -0.2855522036552429, 0.17049852013587952, 0.2567022442817688, 0.5980815887451172, -0.21722204983234406, 0.02179146371781826, 0.4254659414291382, -0.07309797406196594, 0.09858687967061996, 0.6254679560661316, -0.05252574756741524, 0.26586034893989563, 0.784960925579071, 0.09244772046804428, 0.40843167901039124, 0.5066818594932556, 0.400399386882782, -0.17574717104434967, -0.6606864333152771, -0.18738017976284027, 0.028652096167206764, -0.8534979820251465, -0.0003855549148283899, -0.996979296207428, -0.2904631495475769, -0.49568450450897217, 0.04299383983016014, -0.20626771450042725, -0.5729835033416748, -0.47376829385757446, -0.05663926899433136, 0.21193937957286835, 0.9511063694953918, 0.21943248808383942, 0.5404069423675537, -0.8910577893257141, 0.3735305666923523, 0.3267837166786194, 0.1627827286720276, -0.2511770725250244, -0.7087492346763611, -0.05654175952076912, 0.2187713235616684, 0.14625023305416107, -0.6345846056938171, 0.30606430768966675, 0.30136120319366455, 0.4984157085418701, 0.2872519791126251, 0.20416951179504395, 0.7386111617088318, -0.5975670218467712, 0.6618286371231079, -0.3634295165538788, -1.0861624479293823, 0.5567564368247986, -0.27237632870674133, 0.3600876033306122, 0.7598170638084412, 0.3920452296733856, -0.45697614550590515, -0.7990877032279968, -1.042237639427185, -0.775404691696167, 0.9914063215255737, 0.2544602155685425, 0.45613157749176025, -0.004784212913364172, 0.14442028105258942, 0.10232061892747879, 0.36561793088912964, -0.792319655418396, 0.15565799176692963, -0.17024916410446167, -0.26165109872817993, -0.4385911226272583, -0.4886268377304077, 0.2257438451051712, 0.10363662242889404, 0.43282732367515564, 0.06565169245004654, 0.06106618046760559, -0.16715146601200104, -0.5076602101325989, -0.12890562415122986, 0.5040233731269836, 0.6184895038604736, 0.4456263482570648, -0.4866388738155365, 0.27400413155555725, 0.29159167408943176, -0.29255855083465576, -0.21461960673332214, 0.12006751447916031, 0.044731657952070236, -0.07753236591815948, 0.7039291262626648, 0.9414850473403931, 0.6289402842521667, -0.7375759482383728, 0.9555959105491638, -0.05335456132888794, 0.057711441069841385, -0.3956088721752167, 0.12691788375377655, -0.1884990632534027, -0.09968803822994232, 0.1758643239736557, 0.09233821928501129, 0.26250243186950684, -0.6967623233795166, 0.42423832416534424, 0.38546788692474365, -0.42697373032569885, -0.06468331813812256, 0.3785664439201355, 0.14978735148906708, 0.3271515965461731, 0.6700648665428162, 0.14612184464931488, -0.7347036600112915, 0.3952178657054901, 0.1727576106786728, 0.7307676672935486, 0.27966946363449097, 0.2534451186656952, -0.2091323882341385, 0.4361536204814911, -0.04018045589327812, 0.07203711569309235, -0.3834863603115082, -1.1357723474502563, -0.4475538432598114, -0.7063780426979065, -0.23820467293262482, 0.09690339863300323, -0.5231156349182129, 0.3826701045036316, -0.09036903083324432, 0.06640627980232239, 0.13078853487968445, -0.03630318492650986, -0.5573694705963135, 0.6650940179824829, 0.4798390567302704, 0.7530456185340881, -1.4309486150741577, 0.8704392313957214, 0.3945372700691223, -0.3294495940208435, -0.7686014771461487, 0.2368619292974472, -0.014159954153001308, -0.9797961711883545, 0.8955227136611938, 0.2981397807598114, -0.3184875249862671, -0.13737806677818298, -0.4378223419189453, -0.7851037383079529, 0.4113963842391968, 0.43207424879074097, -0.13100114464759827, -0.1905018538236618, 0.2201089859008789, 0.7362135648727417, -0.08774523437023163, 0.5966672301292419, 0.5174136757850647, 0.2618776261806488, 0.2474425882101059, -1.091952919960022, -0.10619177669286728, -0.08510994911193848, -0.35995790362358093, 0.42992547154426575, -0.2015284299850464, 0.9314261674880981, -0.07792139053344727, -0.5347824692726135, 0.18393096327781677, 0.5831776261329651, -0.2959672510623932, 0.24736779928207397, 0.7120813727378845, 0.49787160754203796, 0.6949067115783691, -0.06541422009468079, 1.0804495811462402, -0.09332787245512009, 0.37158071994781494, 1.2217649221420288, -0.048448022454977036, 0.8739174008369446, 0.14816804230213165, 0.08821537345647812, 0.7170445919036865, 0.6648637652397156, 0.37786605954170227, 0.5513341426849365, 0.38226497173309326, -0.11478859186172485, -0.8672330379486084, -0.15849067270755768, -0.2024463266134262, 0.7029678225517273, 0.4968186616897583, -0.19887815415859222, -0.5179634690284729, 0.10705014318227768, -0.0692652240395546, 0.25235089659690857, -0.34893718361854553, 0.9010835289955139, 0.10174273699522018, -0.49939465522766113, 0.6193307638168335, -0.2756398022174835, 0.7011251449584961, -0.564213752746582, 0.33507272601127625, -0.010425057262182236, 0.2456246167421341, -0.46176692843437195, -0.9121361970901489, 0.34859785437583923, 0.025373876094818115, 0.11819671839475632, -0.31440696120262146, 0.9143300652503967, -0.594803512096405, -0.5875743627548218, 0.006869116332381964, 0.530565083026886, 0.6276560425758362, -0.15686346590518951, -0.4338328540325165, -0.03480702266097069, -0.16369661688804626, 0.12901657819747925, 0.08612912893295288, 0.6824837327003479, -0.20992645621299744, 0.8031048774719238, 0.2828275263309479, 0.16488026082515717, 0.05448785796761513, 0.16565951704978943, 0.8220822811126709, -0.41464388370513916, -0.3840571343898773, -0.7324018478393555, 0.5097009539604187, 0.1487194299697876, -0.2283572256565094, 0.5831544399261475, 0.24187129735946655, 0.9168803691864014, -0.08482012897729874, 0.35766202211380005, 0.19307862222194672, 0.6672323346138, -0.8114997148513794, 0.4805379807949066, -0.7874149084091187, 0.0625682920217514, -0.5066866874694824, -0.3221586346626282, -0.31294161081314087, 0.6251969933509827, -0.7662568092346191, -0.07400542497634888, 0.6362993717193604, 0.5276938080787659, -0.39253732562065125, 0.3179759383201599, 0.2676852345466614, 0.0638679713010788, -0.14426061511039734, 0.5461634397506714, 1.0954114198684692, -0.17383769154548645, 0.4525459110736847, -0.18225683271884918, 0.23796197772026062, -0.17354115843772888, -0.7761238813400269, -0.7836311459541321, -0.5239412784576416, -0.24719543755054474, 0.17785079777240753, 0.04220036044716835, 0.8733887672424316, 0.6607022285461426, -0.8273727297782898, -0.02729981020092964, -0.40458348393440247, -0.05993342772126198, 0.31950175762176514, -0.15575431287288666, 0.20390471816062927, -0.5939087867736816, -0.43706923723220825, 0.43575319647789, -0.24655307829380035, 0.2245538979768753, -0.030942553654313087, 0.40060144662857056, -0.07747424393892288, 0.28190699219703674, 0.24686254560947418, -0.09513061493635178, -0.6959495544433594, -0.4397004246711731, -0.2921193838119507, -0.14438334107398987, -0.1495547741651535, 0.9889901876449585, -0.9123640656471252, 0.3246433138847351, 0.4349363446235657, 0.5405129790306091, 0.2844126522541046, 0.1537613868713379, 0.3986506760120392, -0.9359048008918762, 0.43373584747314453, 0.3293628990650177, 0.3306683301925659, 0.1782335638999939, -0.31546252965927124, 0.1569780558347702, 0.1513783484697342, -0.4372101426124573, -0.8346552848815918, 0.20285865664482117, -0.5924456119537354, -0.690376877784729, 1.1700540781021118, -0.030592145398259163, -0.0921197161078453, -0.162588968873024, -0.07095959037542343, 0.0829337015748024, -0.09309525042772293, 0.5967305302619934, 0.7380906343460083, 0.024076202884316444, -0.13364648818969727, -0.37433844804763794, 0.6488674879074097, 0.5336575508117676, -0.7264440655708313, 0.20780302584171295, 0.7240643501281738, 0.17005108296871185, 0.1223895326256752, 0.6803476214408875, 0.2232360541820526, 0.20431090891361237, -0.07823244482278824, -0.30500662326812744, 0.09520149230957031, -0.3296971619129181, -0.2757248282432556, 0.07573623210191727, 0.13370835781097412, -0.27417877316474915 ]
http://arxiv.org/abs/2402.14849v1
http://arxiv.org/pdf/2402.14849v1
Asynchronous and Segmented Bidirectional Encoding for NMT
2024-02-19T19:48:02
2024-02-19T19:48:02
Jingpu Yang, Zehua Han, Mengyu Xiang, Helin Wang, Yuxiao Huang, Miao Fang
cs.CL
cs.CL, cs.AI, cs.LG
With the rapid advancement of Neural Machine Translation (NMT), enhancing translation efficiency and quality has become a focal point of research. Despite the commendable performance of general models such as the Transformer in various aspects, they still fall short in processing long sentences and fully leveraging bidirectional contextual information. This paper introduces an improved model based on the Transformer, implementing an asynchronous and segmented bidirectional decoding strategy aimed at elevating translation efficiency and accuracy. Compared to traditional unidirectional translations from left-to-right or right-to-left, our method demonstrates heightened efficiency and improved translation quality, particularly in handling long sentences. Experimental results on the IWSLT2017 dataset confirm the effectiveness of our approach in accelerating translation and increasing accuracy, especially surpassing traditional unidirectional strategies in long sentence translation. Furthermore, this study analyzes the impact of sentence length on decoding outcomes and explores the model's performance in various scenarios. The findings of this research not only provide an effective encoding strategy for the NMT field but also pave new avenues and directions for future studies.
[ 0.07999742031097412, -0.16861677169799805, 0.4014027714729309, 0.46550774574279785, -0.7085183262825012, 0.17788144946098328, -0.3857456147670746, -0.3100089430809021, 0.14617200195789337, 0.38877421617507935, -0.5328090190887451, -0.2832678258419037, -0.9332314729690552, 0.39520081877708435, -0.532214343547821, 0.6703678965568542, -0.10037077963352203, 0.334160715341568, -0.0759383887052536, 0.06265491992235184, -0.5491856336593628, -0.42787620425224304, -0.5276964902877808, -0.5154705047607422, 0.20608745515346527, 0.3341169059276581, 0.7079508304595947, 0.8027227520942688, 0.8532966375350952, 0.267513632774353, -0.19197940826416016, 0.09733579307794571, -0.18621554970741272, 0.16018497943878174, -0.046176016330718994, -0.17846974730491638, -0.4489734172821045, -0.2540208697319031, 0.6823466420173645, 0.6725425720214844, -0.16623380780220032, -0.15062858164310455, 0.15216709673404694, 0.7136009931564331, -0.2919754981994629, 0.12673453986644745, -0.37155604362487793, -0.020334485918283463, -0.05045507103204727, -0.4084603190422058, -0.7310665249824524, -0.1470060497522354, 0.16067712008953094, -0.18846487998962402, 0.13047479093074799, -0.19375121593475342, 0.7234959006309509, 0.39441442489624023, -0.6497282981872559, -0.3271258771419525, -0.5905613899230957, 0.4997864365577698, -0.9438076019287109, 0.6755390167236328, 0.14707908034324646, 0.2935192286968231, 0.13056398928165436, -0.9451236724853516, -0.279623419046402, -0.23742952942848206, -0.18346776068210602, 0.43192750215530396, -0.272716224193573, 0.23793832957744598, 0.06475967168807983, 0.17922085523605347, -0.4141733944416046, 0.04888540878891945, -0.3134101927280426, -0.010772439651191235, 0.508032500743866, 0.14371098577976227, 0.13891446590423584, -0.7012073993682861, -0.6507440209388733, -0.18038135766983032, -0.4850514531135559, -0.021355994045734406, 0.25766071677207947, 0.21754297614097595, 0.04099120572209358, 0.700761616230011, -0.4393906891345978, 0.342755526304245, 0.12758076190948486, 0.21253694593906403, 0.10202152281999588, -0.4703163504600525, 0.0894174799323082, 0.2720438241958618, 0.6600003838539124, 0.6856305003166199, -0.10928674787282944, -0.4012356400489807, -0.4674857556819916, -0.20225012302398682, 0.5003464818000793, -1.1254563331604004, 0.06277117878198624, 0.03890237957239151, -0.4344814419746399, -0.04464128613471985, 0.08706094324588776, -0.5760328769683838, 0.13827818632125854, -0.30012190341949463, 0.3560822308063507, -0.7481775879859924, 0.007286366540938616, 0.522178053855896, -0.07168892025947571, 0.10862120985984802, 0.21873514354228973, -0.7852855324745178, 0.07131443917751312, 0.6930874586105347, 0.9664510488510132, -0.4596950113773346, -0.3313116133213043, -0.24695436656475067, -0.09883243590593338, -0.11904852092266083, 0.3424263894557953, -0.23911994695663452, -0.2928394675254822, -0.014135871082544327, 0.05671186372637749, -0.3639277219772339, -0.12718935310840607, 0.7406625747680664, -1.0175668001174927, 0.21796268224716187, -0.09932960569858551, -0.390800416469574, -0.35743817687034607, 0.1537920981645584, -0.5383945107460022, 0.42918506264686584, 0.020733019337058067, -0.5971147418022156, -0.15174737572669983, -1.0725077390670776, -0.7815263271331787, 0.04164309799671173, 0.2500856816768646, -0.3695656657218933, 0.28695282340049744, 0.25892508029937744, 0.35822299122810364, -0.4022532105445862, 0.5385384559631348, 0.5553537607192993, -0.506839394569397, 0.4053005874156952, -0.9521340131759644, 0.6747900247573853, 0.16782435774803162, -0.5110824108123779, 0.2298373430967331, -0.6542103886604309, -0.1528955101966858, 0.16157251596450806, -0.6514269113540649, 0.05217525362968445, -0.04785817489027977, 0.24489150941371918, -0.0026454392354935408, 0.1720685064792633, -0.6176846623420715, -0.01657537743449211, -0.4393080472946167, 0.8132408857345581, 0.5839491486549377, -0.13016046583652496, 0.7316800951957703, 0.22473308444023132, 0.4363250732421875, 0.13944406807422638, 0.13385364413261414, -0.27197492122650146, -0.13037320971488953, -0.9286462068557739, -0.0022848283406347036, 0.6832817792892456, 0.35968688130378723, -1.231463074684143, 0.34028691053390503, -0.8074577450752258, 0.03172001615166664, -0.5923560261726379, -0.5700063705444336, 0.3705514967441559, 0.5967033505439758, 0.6876275539398193, -0.3999912142753601, -0.5253946781158447, -0.7479745149612427, -0.02781619504094124, 0.35270166397094727, -0.11045293509960175, -0.017634913325309753, 0.3779565989971161, -0.5656655430793762, 0.7405533194541931, -0.38493576645851135, 0.31246283650398254, -0.36442771553993225, 0.17192907631397247, 0.4394679367542267, 0.6419236063957214, -0.021425627171993256, -0.8608153462409973, -0.5217214822769165, 0.013311331160366535, -0.47357475757598877, 0.20917068421840668, -0.01277058944106102, -0.23038429021835327, 0.14025843143463135, 0.41973114013671875, -0.7363510727882385, 0.2906399071216583, 0.5660187005996704, -0.4997744560241699, 0.40840235352516174, -0.3490596115589142, 0.42448657751083374, -1.2307071685791016, 0.0013752623926848173, -0.45358991622924805, -0.3897656798362732, -0.8087719678878784, 0.09445468336343765, 0.6468410491943359, -0.06753265857696533, -0.3698241114616394, -0.3411043882369995, -0.6203860640525818, 0.13214237987995148, -0.4349907338619232, -0.10012523829936981, 0.21394771337509155, 0.44823408126831055, 0.12028113007545471, 0.9880883693695068, 0.00875595398247242, -0.24521298706531525, 0.21647867560386658, 0.3105594217777252, -0.22599957883358002, 0.34158673882484436, -0.7498857378959656, 0.27724960446357727, -0.3738866448402405, 0.20698271691799164, -0.5379838347434998, -0.02734300121665001, -0.026531200855970383, -0.4976162314414978, 0.49143290519714355, -0.14355768263339996, -0.2540093660354614, -0.6043683886528015, -0.10068638622760773, 0.42311540246009827, 0.6715285778045654, -0.630028486251831, 0.4644615054130554, -0.22091956436634064, 0.20786914229393005, -0.6914317607879639, -0.7335116863250732, 0.3188462257385254, -0.13062332570552826, -0.7073822617530823, 0.5192607641220093, 0.07003389298915863, 0.3356180191040039, -0.1788879632949829, -0.11775584518909454, 0.0645180270075798, -0.03834084793925285, 0.10838260501623154, 0.360970139503479, -0.4855521619319916, -0.07731474936008453, 0.19084087014198303, -0.5591461062431335, 0.11158179491758347, -0.5547762513160706, 0.7298009991645813, -0.014509680680930614, -0.3573343753814697, -0.5510018467903137, 0.41887301206588745, 0.7633393406867981, -0.3249221742153168, 0.7144384384155273, 0.6158971190452576, -0.10597892850637436, 0.0422237291932106, -0.3177878260612488, -0.48513147234916687, -0.47971686720848083, 0.5551885962486267, -0.41473451256752014, -0.9303196668624878, 0.2705615758895874, -0.11415525525808334, -0.34748363494873047, 0.35920295119285583, 0.2039956897497177, -0.15273314714431763, 0.9846169948577881, 0.69452303647995, 0.1537892371416092, 0.42205891013145447, -0.35704469680786133, 0.42976564168930054, -1.1215331554412842, -0.24437697231769562, -0.247321218252182, -0.30687418580055237, -0.36863675713539124, -0.9002971649169922, 0.28634366393089294, 0.0832889974117279, -0.02449840120971203, 0.8006711602210999, -0.6323570013046265, 0.4710530638694763, 0.6169573068618774, 0.2770822048187256, 0.4338536262512207, -0.17289504408836365, 0.047065138816833496, -0.20847052335739136, -0.6812822818756104, -0.37291887402534485, 0.9310970902442932, 0.49859336018562317, 0.4986673593521118, 0.17639213800430298, 0.3747902810573578, 0.3149670660495758, -0.14824005961418152, -0.7819443941116333, 0.392244815826416, -0.29206013679504395, -0.1576969176530838, -0.3301975429058075, -0.37248730659484863, -0.858506977558136, 0.277484267950058, 0.2603966295719147, -0.2556247115135193, 0.2578863203525543, -0.17200639843940735, -0.37497034668922424, 0.0940050557255745, -0.5500149130821228, 0.7641199231147766, -0.21573364734649658, -0.27046895027160645, -0.11443059891462326, -0.9334721565246582, 0.0009111750405281782, 0.17632274329662323, -0.5078189373016357, 0.008078979328274727, 0.10752792656421661, 0.838860809803009, -0.4339016377925873, 0.5032631158828735, -0.1885426789522171, 0.1721058338880539, 0.04573581740260124, -0.18193648755550385, 0.8369728326797485, 0.05054011195898056, -0.18557319045066833, 0.2716626822948456, -0.20499251782894135, -0.31701555848121643, -0.5698283314704895, 0.3665316700935364, -0.6759079098701477, -0.5030215382575989, -0.15732674300670624, -0.8313988447189331, -0.12019805610179901, 0.3299253582954407, 0.5036559104919434, 0.5246613621711731, -0.0934486910700798, 0.37911221385002136, 0.7020033597946167, 0.17704857885837555, 0.9164408445358276, 0.36297810077667236, 0.29833388328552246, -0.5232155323028564, 0.5574823617935181, -0.03867647051811218, 0.3250589966773987, 0.6451454758644104, -0.024980071932077408, -0.6555553078651428, -0.9678516983985901, -0.7027961015701294, 0.12210296839475632, -0.6593183279037476, -0.6609683632850647, -0.8457754254341125, -0.455307275056839, -0.3610261082649231, -0.2593037784099579, -0.8037240505218506, -0.3574114739894867, -0.17155112326145172, -0.008863480761647224, 0.26262515783309937, 0.537397027015686, 0.11126111447811127, 0.6641495823860168, -0.7581034898757935, 0.0813651978969574, 0.19750574231147766, 0.2487230747938156, 0.05115316063165665, -0.7159210443496704, -0.3950251340866089, 0.17984071373939514, 0.045484259724617004, -0.7872089743614197, 0.5004278421401978, -0.27146393060684204, 0.14226746559143066, 0.2281891405582428, 0.039054252207279205, 0.6313830614089966, -0.8592422604560852, 0.43462273478507996, 0.4047697186470032, -1.099606990814209, 0.3220497667789459, -0.22151458263397217, 0.5906835198402405, 0.6251131296157837, 0.23336070775985718, -0.6670021414756775, 0.17284582555294037, -0.20296114683151245, -0.8426265716552734, 0.8916515111923218, 0.4677278399467468, 0.2732425630092621, 0.1253817081451416, 0.12438302487134933, 0.011316231451928616, 0.2645794749259949, -0.5188361406326294, 0.11910471320152283, -0.4261890947818756, -0.31834831833839417, -0.28850382566452026, -0.6792616248130798, 0.21061323583126068, -0.36383259296417236, 0.5581852793693542, -0.20991984009742737, 0.6095839738845825, 0.33299964666366577, -0.4474489390850067, 0.12760215997695923, 0.41243892908096313, 0.7095924019813538, 0.3137022852897644, -0.2752475142478943, 0.38243958353996277, 0.16178405284881592, -0.6122620701789856, 0.14644530415534973, 0.2645450830459595, -0.28623101115226746, 0.1421092003583908, 0.25768712162971497, 1.0850324630737305, 0.23050746321678162, -0.369524747133255, 0.7540923953056335, -0.07989493757486343, 0.05625499412417412, 0.07651731371879578, -0.4872099459171295, 0.32416555285453796, 0.5413311123847961, 0.2620488107204437, 0.25661802291870117, 0.4860641062259674, -0.14721855521202087, 0.25064006447792053, 0.13725464046001434, -0.5541526079177856, -0.4094984233379364, 0.7286726832389832, 0.3936113119125366, -0.4967842698097229, 0.9764367341995239, -0.046469397842884064, -0.8740682601928711, 0.4690869152545929, 1.0069911479949951, 0.9730433821678162, -0.27504482865333557, 0.20908719301223755, 0.3950771689414978, 0.37091130018234253, -0.1828918755054474, -0.19419294595718384, -0.3948259651660919, -0.6026625037193298, -0.5521306991577148, -0.890945553779602, -0.11748933047056198, -0.40178531408309937, -0.8650330901145935, -0.1032077893614769, 0.20895753800868988, -0.10075319558382034, -0.3706580102443695, -0.24149730801582336, -0.30136242508888245, 0.09952884912490845, -0.006218244321644306, 0.8947515487670898, -0.44496220350265503, 1.0708039999008179, 0.3408813774585724, -0.101344995200634, -0.5179039835929871, 0.18353040516376495, -0.4727339446544647, -0.8172978162765503, 0.42619213461875916, 0.32651257514953613, -0.4315028488636017, 0.26978492736816406, 0.03043951280415058, -0.9537122249603271, 1.3330199718475342, 0.1164746806025505, -0.6144751906394958, -0.26055222749710083, 0.6281988024711609, 0.4775506854057312, -0.35638242959976196, 0.14731824398040771, 0.7444828152656555, 0.34003835916519165, 0.2773626148700714, -0.6684187054634094, 0.2416367530822754, -0.3871694803237915, 0.600722074508667, 0.16047781705856323, -0.49167200922966003, 0.6277396082878113, -0.15162554383277893, -0.3936343789100647, 0.020661545917391777, 0.8592861294746399, -0.41683030128479004, 0.12949955463409424, 0.17995084822177887, 0.18035604059696198, 0.38301870226860046, -0.15001356601715088, 0.9010077118873596, -0.31874266266822815, 0.36398401856422424, 1.0312464237213135, 0.19317340850830078, 0.9119573831558228, 0.5527713894844055, 0.007314654532819986, 0.2453179657459259, 0.34222495555877686, 0.1499132215976715, 0.8149362206459045, -0.23470427095890045, -0.08983459323644638, -0.16009946167469025, 0.017564663663506508, -0.3634898066520691, 0.599102258682251, 0.00959588773548603, -0.6180229783058167, -0.13079074025154114, 0.49150800704956055, 0.16488079726696014, 0.1199224516749382, -0.08868825435638428, 0.5245537757873535, -0.11555366218090057, -0.7251045107841492, 0.7441949248313904, 0.4169992506504059, 0.9470916986465454, -0.38305920362472534, 0.23867519199848175, -0.312336266040802, 0.24203723669052124, 0.08762851357460022, -0.7553755640983582, 0.44115355610847473, -0.17217615246772766, -0.33844950795173645, -0.5404111742973328, 0.6882514357566833, -0.6547688245773315, -0.2614313066005707, 0.2896178662776947, 0.35343673825263977, -0.08406993001699448, -0.2802513539791107, -0.46348097920417786, 0.13310182094573975, 0.2848035991191864, -0.15699759125709534, -0.03519425541162491, 0.23462265729904175, 0.18162190914154053, 0.2699199914932251, 0.5657585263252258, -0.3440878689289093, 0.14390911161899567, 0.26784202456474304, 0.7668665647506714, -0.8399372100830078, -0.5760853886604309, -0.9275871515274048, 0.7954699397087097, -0.21306025981903076, 0.06187015399336815, 0.9285977482795715, 0.5618146657943726, 0.5871706604957581, -0.2640071213245392, 0.18833427131175995, 0.12703052163124084, 0.17399629950523376, -0.5718251466751099, 0.8937284350395203, -0.2552412152290344, 0.12475962936878204, 0.3355487883090973, -0.691470742225647, -0.32348933815956116, 0.33405810594558716, -0.2933577597141266, -0.24840396642684937, 0.9216483235359192, 0.5785992741584778, -0.21734541654586792, 0.3367757499217987, 0.5032059550285339, 0.18924909830093384, 0.11438429355621338, 0.6088946461677551, 0.8135071992874146, -0.8739438056945801, 0.3005700409412384, -0.4961768090724945, 0.03740790858864784, -0.5157091021537781, -0.4967864155769348, -0.8200371861457825, -0.7630185484886169, -0.008321624249219894, -0.4124111533164978, 0.3399412930011749, 0.6994273066520691, 0.6931119561195374, -0.6110761165618896, -0.17208100855350494, -0.2411777675151825, -0.026929382234811783, -0.24937932193279266, -0.15116161108016968, 0.4167693555355072, -0.23854830861091614, -0.9123621582984924, 0.7100458741188049, 0.5442837476730347, -0.007843639701604843, 0.17085932195186615, -0.28226545453071594, -0.22999592125415802, 0.16236135363578796, 1.07230544090271, -0.2714369595050812, -0.42870333790779114, -0.17257840931415558, 0.17112334072589874, -0.276228129863739, 0.5893133282661438, 0.8445696830749512, -0.27210915088653564, 0.4109684228897095, 0.45533546805381775, 0.7346323728561401, 0.6628379821777344, 0.19401206076145172, 0.5756068229675293, -0.3959091305732727, -0.01272984966635704, 0.6069303750991821, 0.2427249699831009, 0.512301504611969, -0.5972549319267273, 0.4413808584213257, 0.1266545206308365, -0.48582321405410767, -0.6857741475105286, 0.012271711602807045, -1.051102638244629, -0.21069133281707764, 1.1071873903274536, -0.005812871269881725, -0.4022544324398041, 0.10728593170642853, -0.04034828394651413, 0.48358845710754395, -0.34012582898139954, 0.5246448516845703, 0.24585913121700287, -0.07247676700353622, -0.18800392746925354, -0.3003138601779938, 0.3125011920928955, 0.5035098195075989, -0.5720657706260681, 0.03440893441438675, 0.26476603746414185, 0.13813520967960358, 0.22156676650047302, 0.34060344099998474, -0.0980071872472763, 0.3387351632118225, 0.20986633002758026, -0.018791215494275093, -0.19684119522571564, -0.4575861692428589, -0.6797340512275696, 0.3179304301738739, -0.12366132438182831, -0.5247395634651184 ]
http://arxiv.org/abs/2402.12483v2
http://arxiv.org/pdf/2402.12483v2
Artifacts or Abduction: How Do LLMs Answer Multiple-Choice Questions Without the Question?
2024-02-19T19:38:58
2024-06-07T23:11:14
Nishant Balepur, Abhilasha Ravichander, Rachel Rudinger
cs.CL
cs.CL
Multiple-choice question answering (MCQA) is often used to evaluate large language models (LLMs). To see if MCQA assesses LLMs as intended, we probe if LLMs can perform MCQA with choices-only prompts, where models must select the correct answer only from the choices. In three MCQA datasets and four LLMs, this prompt bests a majority baseline in 11/12 cases, with up to 0.33 accuracy gain. To help explain this behavior, we conduct an in-depth, black-box analysis on memorization, choice dynamics, and question inference. Our key findings are threefold. First, we find no evidence that the choices-only accuracy stems from memorization alone. Second, priors over individual choices do not fully explain choices-only accuracy, hinting that LLMs use the group dynamics of choices. Third, LLMs have some ability to infer a relevant question from choices, and surprisingly can sometimes even match the original question. Inferring the original question is an impressive reasoning strategy, but it cannot fully explain the high choices-only accuracy of LLMs in MCQA. Thus, while LLMs are not fully incapable of reasoning in MCQA, we still advocate for the use of stronger baselines in MCQA benchmarks, the design of robust MCQA datasets for fair evaluations, and further efforts to explain LLM decision-making.
[ -0.5202035307884216, -0.8757832050323486, 1.0904324054718018, -0.24626287817955017, -0.0248248390853405, 0.3260236382484436, 0.08383218199014664, -0.1627441793680191, 0.008243048563599586, 0.6127228140830994, -0.9174726605415344, -0.1901332587003708, -0.42174622416496277, 0.20382286608219147, -0.2187609076499939, 0.8501071333885193, 0.025628570467233658, 0.1563141644001007, -0.6299436688423157, -0.2528144419193268, -0.2956140637397766, -0.6369489431381226, -0.7062767148017883, -0.21860437095165253, 0.6316190361976624, 0.6225820779800415, 0.7877849340438843, 0.7908775806427002, 0.10485947132110596, 0.21447043120861053, -0.295952707529068, 0.3116258680820465, -0.40855205059051514, -0.0644940659403801, -0.007295757997781038, -0.7865233421325684, -0.0998348593711853, 0.3111540675163269, 0.5615145564079285, 0.7916667461395264, -0.03983156755566597, 0.47497761249542236, -0.0011838292703032494, 0.5858210921287537, -0.6557151079177856, -0.31109359860420227, -0.7596410512924194, -0.08790158480405807, -0.04304030165076256, -0.24961566925048828, -0.426756888628006, -0.38058552145957947, 0.18592257797718048, -0.29360583424568176, 0.051609721034765244, 0.18369318544864655, 0.7042633891105652, 0.19836580753326416, -0.6606056094169617, -0.6351487040519714, -0.45504993200302124, 0.8333609700202942, -0.18520423769950867, 0.23609060049057007, 0.34987807273864746, 0.2737237513065338, -0.27017292380332947, -0.5919805765151978, -0.5573776364326477, -0.4994937479496002, 0.03386595845222473, 0.3225952088832855, -0.004354638978838921, 0.032287437468767166, 0.6801484227180481, 0.4633886218070984, -0.46519193053245544, 0.1170920729637146, -0.5960047245025635, -0.2557229995727539, 0.30426791310310364, 0.2016950398683548, 0.24160295724868774, -0.18014350533485413, -0.6434364914894104, 0.07365033775568008, -0.9212515950202942, 0.4088697135448456, 0.391266793012619, 0.15041914582252502, 0.2076931595802307, 1.0990519523620605, -0.07419097423553467, 0.681958019733429, 0.13388855755329132, -0.0776972696185112, 0.1868056207895279, -0.044007956981658936, -0.22765590250492096, -0.1301814615726471, 0.5541322827339172, 0.0905461385846138, 0.3119231164455414, -0.01795017533004284, -0.044015929102897644, -0.13292215764522552, 0.20856882631778717, -0.4453873634338379, 0.07046979665756226, 0.588681697845459, -0.36712542176246643, -0.057217806577682495, -0.19969409704208374, -0.6023977398872375, -0.3938237130641937, -0.2567926049232483, 0.6301650404930115, -0.13928380608558655, -0.14236649870872498, 0.05254308506846428, -0.3612445294857025, 0.3201828896999359, 0.29911667108535767, -0.5147385597229004, 0.37123140692710876, 0.4233481287956238, 0.6144150495529175, -0.43654942512512207, -0.5326841473579407, -0.6786397099494934, -0.058196280151605606, -0.568493664264679, 0.8396962285041809, -0.4951398968696594, -0.49671050906181335, -0.15209746360778809, 0.06159543991088867, -0.20454557240009308, -0.6641307473182678, 0.7495913505554199, -0.5782368779182434, 0.31109288334846497, -0.8225868344306946, -0.5600428581237793, -0.34868544340133667, 0.13071607053279877, -0.6390476822853088, 1.0718402862548828, -0.19260114431381226, -0.5506760478019714, 0.40074464678764343, -0.5985114574432373, 0.04773910343647003, -0.2275485396385193, -0.3421218991279602, 0.022077979519963264, 0.2152201384305954, 0.3423367738723755, 0.14215750992298126, -0.07016737014055252, 0.006695651914924383, -0.45268985629081726, -0.4843234419822693, 0.6945350766181946, -0.7449156045913696, 1.0733087062835693, 0.15886756777763367, -0.12836898863315582, -0.2692863643169403, -0.5613493919372559, 0.0036975156981498003, 0.14429974555969238, -0.49563854932785034, -0.05339910089969635, 0.08429864048957825, -0.6482810378074646, 0.4441610276699066, -0.021297995001077652, -0.571204423904419, 0.2777136266231537, -0.1015370711684227, -0.014928779564797878, 0.7720844745635986, 0.15106575191020966, 0.4887799918651581, -0.9212556481361389, 0.7576514482498169, 0.011925976723432541, -0.0777813121676445, -0.07977724820375443, -0.6122527122497559, -0.8912467360496521, -0.222152978181839, 0.07026821374893188, 0.6232679486274719, -0.828266441822052, -0.47604116797447205, -0.12297637015581131, -0.25821954011917114, -0.7550749182701111, 0.1604773849248886, 0.2246505618095398, 0.6365304589271545, 0.4272884726524353, 0.015397329814732075, -0.532150149345398, -0.9867941737174988, -0.2794378995895386, -0.3528747856616974, -0.008729001507163048, 0.5028932690620422, 0.4541719853878021, 0.25390690565109253, 0.8567439913749695, -0.28851422667503357, 0.2922414243221283, -0.13992124795913696, 0.02642211876809597, 0.31685546040534973, 0.14344742894172668, 0.3409619629383087, -0.8032787442207336, 0.15344136953353882, -0.4612875282764435, -0.7216202616691589, -0.2447873204946518, -0.30457067489624023, -0.20757879316806793, 0.18260246515274048, 0.39770039916038513, -0.9382489919662476, 0.22962018847465515, 0.39511752128601074, 0.0020574836526066065, 0.900327742099762, 0.03993302956223488, 0.1926725059747696, -0.5956712961196899, -0.07642862200737, -0.5184488296508789, -0.04782894253730774, -0.6823562979698181, 0.14139549434185028, 0.1922188550233841, 0.2542372941970825, -0.7995239496231079, 0.8074929118156433, -0.6892977952957153, -0.22783389687538147, -0.05791261047124863, 0.210153728723526, 0.012412402778863907, 0.5012228488922119, 0.08814013004302979, 1.0027196407318115, 0.3902605175971985, -0.9020573496818542, 0.06341490894556046, 0.25037679076194763, -0.38499653339385986, 0.5245705842971802, -0.22664380073547363, 0.44484490156173706, -0.35341566801071167, -0.09056977927684784, -1.1983624696731567, -0.029118280857801437, 0.34777113795280457, -0.5692270398139954, 0.006983909755945206, -0.18125373125076294, -0.17839260399341583, -0.4465204179286957, -0.3029797375202179, 0.20124275982379913, 0.45553603768348694, -0.5968080163002014, 0.7120710611343384, 0.12172599136829376, -0.13788557052612305, -1.0625665187835693, -0.7897845506668091, 0.029786331579089165, -0.27561601996421814, -0.0726236030459404, -0.1982104778289795, -0.6970849633216858, -0.5071182250976562, -0.27460184693336487, -0.49366340041160583, -0.22985857725143433, 0.3441321551799774, 0.38571083545684814, 0.4083757698535919, -0.3753538727760315, 0.3165472745895386, 0.10786851495504379, 0.15393471717834473, 0.30449336767196655, -0.010130343027412891, 0.2807135283946991, -0.01716979220509529, -0.6177403926849365, -0.09166263788938522, 0.21826152503490448, 0.6632881760597229, -0.1160687580704689, 0.5880426168441772, 0.11667396128177643, -0.21121779084205627, -0.03929224982857704, -0.8857609629631042, 0.09996289759874344, -0.4487614333629608, 0.05126287415623665, -0.7793367505073547, -0.9802168011665344, 0.6114374995231628, 0.06724265217781067, 0.20736773312091827, 0.3937939405441284, 0.699789822101593, -0.48459431529045105, 0.8211907148361206, -0.020589955151081085, 0.3355778455734253, 0.08152992278337479, 0.04712783917784691, -0.27695432305336, -0.9298925399780273, -0.24327482283115387, -0.6172363758087158, -0.23232460021972656, -0.31393998861312866, -0.3133348524570465, 0.13196934759616852, 0.11351552605628967, -0.3518563508987427, -0.170640230178833, -0.08758775889873505, 0.7846499681472778, 0.5833902955055237, 0.1896040290594101, 0.48328882455825806, -0.1965213567018509, -0.49229684472084045, 0.09218483418226242, -0.6851207613945007, -0.6813299655914307, 1.366135835647583, 0.09995544701814651, 0.4594763219356537, 0.20731188356876373, 0.7163451313972473, -0.0028196785133332014, 0.3445165753364563, -0.9168789982795715, 0.6408888697624207, 0.4204813539981842, -0.9434095621109009, -0.2598525285720825, -0.3312705159187317, -0.9626181125640869, 0.529190182685852, -0.29847046732902527, -0.7533347606658936, 0.20929507911205292, 0.07015572488307953, -0.5638919472694397, 0.20964887738227844, -0.5416871905326843, 0.6776236891746521, -0.37838315963745117, -0.14468742907047272, 0.3151512145996094, -0.50174480676651, 0.6865564584732056, -0.1331033855676651, 0.2920984625816345, 0.04467005655169487, -0.3642185628414154, 0.6202500462532043, 0.07952519506216049, 0.5492899417877197, -0.03201398253440857, 0.02705627679824829, 0.5914273858070374, 0.3665240705013275, 0.3055408000946045, 0.07652399688959122, -0.2852727770805359, -0.06642357259988785, 0.16848978400230408, -0.4637497663497925, -0.8264918923377991, 0.47389325499534607, -0.46781402826309204, -1.0704854726791382, -0.3981315493583679, -0.6419817209243774, -0.2569012939929962, 0.10442616790533066, 0.08880855143070221, 0.3099583089351654, -0.11842543631792068, 0.11975686252117157, 0.7629293203353882, -0.13526977598667145, 0.6055746078491211, 0.5272783637046814, -0.3464111387729645, -0.3006855547428131, 0.3859650194644928, 0.39667776226997375, 0.670723021030426, 0.23648075759410858, 0.1208885982632637, -0.5900445580482483, -0.8641155958175659, -0.6884818077087402, 0.25856244564056396, -0.9878060221672058, 0.17553959786891937, -0.8082970380783081, -0.09551242738962173, 0.12182179093360901, 0.09367319941520691, -0.02004440687596798, -0.5886396169662476, -0.41218113899230957, -0.5668777227401733, -0.23097310960292816, 0.6081110835075378, 0.07587853819131851, 0.03657408803701401, -0.6259588003158569, 0.5541698336601257, 0.6060519218444824, -0.09392618387937546, -0.05821959301829338, -0.5630596280097961, 0.2021118402481079, 0.3211360573768616, -0.2521350085735321, -1.0585025548934937, -0.04327710345387459, -0.019766459241509438, 0.9266259670257568, 0.16707924008369446, 0.0778447762131691, 0.9552463293075562, -0.5608938336372375, 0.9710783958435059, -0.4272918105125427, -0.8349236249923706, 0.12310702353715897, -0.12745167315006256, 0.40009167790412903, 0.6812109351158142, 0.49494385719299316, -0.3958301246166229, -0.5500697493553162, -0.7279821038246155, -0.15072819590568542, 0.598690390586853, 0.079421266913414, 0.23834356665611267, -0.2338234931230545, 0.5946276783943176, 0.12897330522537231, 0.31902799010276794, -0.8561125993728638, -0.5089632868766785, 0.1449202597141266, 0.0663265585899353, -0.13731306791305542, -0.47248125076293945, -0.23745021224021912, 0.05048109591007233, 0.3593212068080902, -0.12804098427295685, 0.29146578907966614, 0.3288482427597046, -0.3596396744251251, -0.14283934235572815, 0.39397475123405457, 0.7988228797912598, 0.959006667137146, -0.12459494173526764, 0.2678428888320923, 0.6835271120071411, -0.2522106468677521, 0.34194502234458923, -0.2804698646068573, -0.05004090070724487, -0.07282544672489166, 0.24915790557861328, 0.45775511860847473, 0.012158946134150028, -0.801433265209198, 0.5238116383552551, -0.10839437693357468, -0.38535287976264954, -0.273860365152359, 0.14564883708953857, 0.21469669044017792, 0.2722893953323364, 0.5704116821289062, 0.19809262454509735, 0.13792581856250763, -0.6314177513122559, 0.28320255875587463, 0.7210344076156616, -0.2536887228488922, -0.04135371372103691, 0.5947537422180176, -0.46148937940597534, -0.37659746408462524, 0.6295891404151917, -0.009758631698787212, -0.37442746758461, 0.7889798283576965, 0.4081154763698578, 0.5296980142593384, -0.3419526219367981, 0.3970893323421478, 0.2036086916923523, 0.6018988490104675, -0.13418449461460114, 0.5564028024673462, -0.11914990842342377, -0.8308780193328857, -0.4987168312072754, -0.403431236743927, -0.6741999387741089, 0.3733454942703247, -0.7984212040901184, 0.11721957474946976, -0.3947995901107788, 0.07654847949743271, -0.12181437015533447, -0.1100466325879097, -0.5700296759605408, 0.4158431887626648, 0.18151399493217468, 1.103083610534668, -0.646338164806366, 0.599431037902832, 0.4255247116088867, -0.272760272026062, -0.7258730530738831, -0.027894485741853714, 0.37597402930259705, -1.0447176694869995, 0.4039212167263031, 0.18398582935333252, -0.08770707249641418, -0.1576366424560547, -0.7464200854301453, -1.0525532960891724, 0.9152387380599976, 0.5690569281578064, -0.07852168381214142, 0.13199540972709656, 0.02006206475198269, 0.3109399676322937, -0.4175368547439575, 0.5446183681488037, 0.5988790988922119, 0.4230451285839081, 0.4632282555103302, -0.7257631421089172, -0.01840987801551819, 0.05632990598678589, -0.3889676332473755, 0.06074181944131851, -0.39744874835014343, 0.9242314696311951, -0.5124399662017822, -0.4211527109146118, 0.33162131905555725, 0.39648064970970154, 0.556932806968689, 0.2804088890552521, 0.32785990834236145, 0.3171796202659607, 1.019707202911377, -0.15652498602867126, 1.1762549877166748, 0.2126704603433609, -0.005980412941426039, 1.3198567628860474, -0.1764671951532364, 0.8741844892501831, 0.6756818294525146, -0.14102205634117126, 0.36666935682296753, 0.885459303855896, 0.14352597296237946, 0.21686895191669464, 0.19459979236125946, -0.11209901422262192, -0.44739440083503723, 0.10972873866558075, -0.09673616290092468, 0.41949597001075745, 0.32844841480255127, -0.2979063391685486, 0.01651359535753727, -0.026987606659531593, 0.07835029065608978, -0.3242571949958801, -0.36366310715675354, 0.6787981390953064, 0.08993268758058548, -0.9566851854324341, 0.7065354585647583, -0.4887438416481018, 0.05814588814973831, -0.5013508200645447, -0.04945046827197075, -0.2861284911632538, -0.4124752879142761, -0.1228564977645874, -0.9877318143844604, 0.08187992870807648, -0.17131328582763672, -0.08889766782522202, -0.15320086479187012, 0.3768802285194397, -0.38021120429039, -0.3330141305923462, -0.02644106186926365, 1.098684549331665, 0.43005746603012085, 0.04119459539651871, -0.6753014326095581, -0.32193389534950256, -0.011991633102297783, -0.5032882690429688, 0.2537568211555481, 0.3604004681110382, -0.047107767313718796, 1.0145232677459717, 0.7991518378257751, 0.13479554653167725, 0.27141544222831726, -0.19173572957515717, 0.6290149092674255, -0.5435039401054382, -0.02019989676773548, -1.0702753067016602, 0.7067928314208984, 0.015631623566150665, -0.23555970191955566, 0.8050965666770935, 0.6786096096038818, 0.7340214848518372, -0.026064924895763397, 0.71002197265625, 0.3968295753002167, 0.6250796318054199, -0.8830775022506714, 0.3087998032569885, -0.639767050743103, 0.3427765369415283, -0.2196483612060547, -0.8143427968025208, -0.21986038982868195, 0.26545822620391846, -0.4251948893070221, 0.0744488388299942, 0.9523150324821472, 0.8596305847167969, 0.08762720227241516, 0.13877850770950317, 0.42621976137161255, 0.1669885516166687, 0.03695528209209442, 0.5232506990432739, 1.4861551523208618, -0.11493343114852905, 0.8124508857727051, 0.01826314441859722, -0.05838523805141449, 0.2748998999595642, -0.7717946171760559, -1.0267528295516968, -0.418656587600708, -0.06119083613157272, -0.2707708179950714, -0.17198282480239868, 0.8993211984634399, 0.16178588569164276, -0.6340017318725586, -0.3650963008403778, 0.3927915394306183, 0.5316476821899414, -0.359331339597702, -0.1431625634431839, 0.30572575330734253, -0.281597763299942, -0.750735878944397, 0.5652239322662354, 0.14141330122947693, 0.3601648211479187, 0.14368782937526703, -0.024156862869858742, -0.28280743956565857, 0.3504750728607178, 0.3241109549999237, 0.284120112657547, -1.0480231046676636, -0.4669148027896881, 0.23171760141849518, 0.07741864025592804, 0.4308348298072815, 0.646393358707428, -0.7726359367370605, 0.43057873845100403, 0.1235693022608757, 0.7547473311424255, 0.3800509572029114, 0.23640798032283783, 0.27932679653167725, -0.47053641080856323, -0.21670269966125488, 0.29306548833847046, 0.3928084671497345, -0.004332391079515219, -0.1793030947446823, 0.2905537486076355, 0.028878314420580864, -0.6020106673240662, -0.865249752998352, 0.34863272309303284, -0.9438759088516235, -0.410820871591568, 1.1933135986328125, 0.04287112131714821, -0.13711364567279816, -0.34418433904647827, -0.5493285059928894, -0.06282607465982437, -0.09656447172164917, 0.48023512959480286, 1.261870265007019, -0.34534770250320435, -0.5692638754844666, -0.9662678241729736, 0.5015281438827515, 0.4195222854614258, -0.638448178768158, -0.007321320008486509, 0.6571557521820068, 0.3730902373790741, 0.17319335043430328, 0.7927385568618774, 0.05961975082755089, 0.46751290559768677, -0.11769385635852814, -0.3720056712627411, -0.23833605647087097, -0.29607024788856506, -0.5847423672676086, 0.486415296792984, 0.2053142488002777, -0.2538968324661255 ]
http://arxiv.org/abs/2402.12451v2
http://arxiv.org/pdf/2402.12451v2
The Revolution of Multimodal Large Language Models: A Survey
2024-02-19T19:01:01
2024-06-06T16:13:43
Davide Caffagni, Federico Cocchi, Luca Barsellotti, Nicholas Moratelli, Sara Sarto, Lorenzo Baraldi, Lorenzo Baraldi, Marcella Cornia, Rita Cucchiara
cs.CV
cs.CV, cs.AI, cs.CL, cs.MM
Connecting text and visual modalities plays an essential role in generative intelligence. For this reason, inspired by the success of large language models, significant research efforts are being devoted to the development of Multimodal Large Language Models (MLLMs). These models can seamlessly integrate visual and textual modalities, while providing a dialogue-based interface and instruction-following capabilities. In this paper, we provide a comprehensive review of recent visual-based MLLMs, analyzing their architectural choices, multimodal alignment strategies, and training techniques. We also conduct a detailed analysis of these models across a wide range of tasks, including visual grounding, image generation and editing, visual understanding, and domain-specific applications. Additionally, we compile and describe training datasets and evaluation benchmarks, conducting comparisons among existing models in terms of performance and computational requirements. Overall, this survey offers a comprehensive overview of the current state of the art, laying the groundwork for future MLLMs.
[ -0.6017910838127136, -0.8586606979370117, 0.5084202289581299, 0.1386663019657135, 0.09408853948116302, 0.051738884299993515, -0.39356037974357605, -0.3670433461666107, -0.1392485648393631, 0.5347274541854858, -0.4678584039211273, -0.5047016143798828, -0.5679755806922913, -0.16210436820983887, -0.4221857488155365, 0.6377872824668884, -0.02086344175040722, 0.264868825674057, -0.584252655506134, -0.38707292079925537, -0.620809018611908, -0.5717143416404724, -0.2414446324110031, 0.0076371789909899235, 0.7425710558891296, -0.05501160770654678, 0.7090244889259338, 0.3654724359512329, 0.561093270778656, 0.4333825707435608, -0.016163036227226257, 0.40779614448547363, -0.434344619512558, 0.36094602942466736, 0.009518111124634743, -0.17786185443401337, -0.4376603662967682, -0.07452642172574997, 0.6850184798240662, 0.7250936031341553, 0.16491220891475677, 0.09103658050298691, -0.11162006109952927, 0.5815942883491516, -0.6422830820083618, 0.2825697958469391, -0.4123874008655548, 0.062139417976140976, -0.11809778213500977, -0.1257631629705429, -0.6734670400619507, -0.023612763732671738, 0.19401684403419495, -0.37850937247276306, -0.051936738193035126, 0.039330895990133286, 0.4352164566516876, 0.10553484410047531, -0.7728471755981445, -0.3401775658130646, -0.832432210445404, 0.9499598741531372, -0.564674437046051, 0.8744314312934875, 0.08448915183544159, 0.3494039475917816, 0.03821016848087311, -0.7895843982696533, -0.5690765976905823, -0.4562437832355499, 0.17361263930797577, 0.16586944460868835, -0.07982919365167618, 0.044615790247917175, 0.2087608128786087, 0.29805201292037964, -0.777423620223999, 0.18230564892292023, -0.2738581895828247, 0.08703947812318802, 0.4437703788280487, 0.3490470051765442, 0.6041601896286011, -0.11795578896999359, -0.4984881281852722, -0.19320234656333923, -0.5371652841567993, -0.025091594085097313, 0.12271881848573685, 0.10727844387292862, -0.276144415140152, 0.8351961970329285, -0.08944614231586456, 1.1460230350494385, -0.4530542492866516, -0.45658355951309204, 0.20788419246673584, -0.79170161485672, -0.3141327202320099, -0.514155387878418, 0.9196573495864868, 0.636019229888916, 0.34362033009529114, 0.11281049251556396, -0.38482123613357544, -0.045752812176942825, 0.19985248148441315, -0.7221580743789673, -0.20073018968105316, 0.05724811553955078, -0.6927940845489502, -0.2214217633008957, -0.221144437789917, -0.8192684650421143, -0.5465349555015564, -0.7315695285797119, 0.21234063804149628, -0.6531562209129333, -0.32825785875320435, -0.05981528386473656, -0.15264029800891876, 0.17943185567855835, 0.6948643326759338, -0.9505563974380493, -0.2649499475955963, 0.4851803481578827, 0.662541925907135, 0.0038492674939334393, -0.4198780357837677, -0.3115859925746918, 0.06957664340734482, -0.40708816051483154, 0.7583351731300354, -0.7150939702987671, -0.18378978967666626, 0.4954647123813629, -0.09744677692651749, -0.1384802758693695, -0.19518490135669708, 0.15902701020240784, -0.5709629058837891, 0.3642512559890747, -0.1500573307275772, -0.32511579990386963, -0.4033322036266327, 0.6851306557655334, -0.7589784264564514, 0.6961945295333862, -0.0412481427192688, -0.7027468085289001, 0.30007264018058777, -0.4131030738353729, -0.21206508576869965, 0.1048385426402092, -0.4112372100353241, -0.2528766095638275, 0.06932453066110611, 0.2638694643974304, 0.6654977202415466, -0.4549270272254944, 0.37623077630996704, -0.34365126490592957, -0.0636339783668518, 0.47425487637519836, -0.8653921484947205, 0.6936839818954468, 0.18047916889190674, -0.1058635339140892, 0.5613939762115479, -0.808451235294342, 0.08921456336975098, 0.000594196782913059, -0.22788091003894806, -0.2349688559770584, 0.14450998604297638, 0.44980567693710327, 0.4354647696018219, 0.21063178777694702, -0.13925346732139587, 0.34348058700561523, 0.10523565113544464, 0.4734613597393036, 0.6127086281776428, -0.246034637093544, 0.47673338651657104, -0.01837722584605217, 0.4371691942214966, 0.04528912529349327, 0.41393110156059265, -0.7727914452552795, -0.45019710063934326, -0.7953593134880066, -0.5501053929328918, 0.20736190676689148, 0.4475362002849579, -1.0100080966949463, 0.15085813403129578, -0.37260767817497253, -0.6075325012207031, -0.30358144640922546, 0.2568801939487457, 0.294809490442276, 0.0032325121574103832, 0.2464793175458908, 0.003990502562373877, -0.4024204909801483, -0.8903782963752747, 0.18393374979496002, -0.07998351007699966, 0.2075788676738739, 0.2524753212928772, 0.459979385137558, -0.5207661390304565, 0.6424573063850403, -0.19039314985275269, -0.029721371829509735, -0.3495330512523651, 0.19593048095703125, -0.19325430691242218, 0.3462887108325958, 0.7270672917366028, -1.005424976348877, -0.37120550870895386, 0.3091839849948883, -0.9465088844299316, 0.39101913571357727, -0.1281091719865799, 0.13393692672252655, 0.10209842771291733, 0.6122511029243469, -0.7119397521018982, 0.2101055085659027, 0.8257231116294861, -0.15117597579956055, 0.5226906538009644, -0.09954854100942612, 0.36232855916023254, -0.9535850882530212, 0.16739113628864288, 0.09583398699760437, -0.09778734296560287, -0.7716346979141235, 0.17403265833854675, 0.12330157309770584, -0.3222377300262451, -0.4038308560848236, 0.4732837677001953, -0.867952823638916, 0.019569316878914833, -0.11895803362131119, 0.1087832897901535, -0.09388168156147003, 0.5068801641464233, -0.06434673815965652, 0.6609103679656982, 0.6260008215904236, -0.33393970131874084, 0.8829655647277832, 0.3317526876926422, -0.5636050701141357, 0.5761327743530273, -0.38834357261657715, -0.09143140912055969, -0.47904732823371887, 0.17648951709270477, -1.141247272491455, -0.35223376750946045, 0.07577542215585709, -0.21696600317955017, 0.2624138593673706, -0.050567448139190674, -0.48945945501327515, -0.33130455017089844, -0.3221314549446106, 0.5823556184768677, 0.4084088206291199, -0.3895774185657501, 0.9916124939918518, 0.20031319558620453, -0.39644038677215576, -0.6111912131309509, -0.4900074899196625, 0.3818705677986145, -0.032012857496738434, -0.6757667064666748, -0.023306988179683685, -0.10001958161592484, -0.32340487837791443, -0.2110956609249115, 0.6145045161247253, 0.07149367034435272, -0.35178306698799133, 0.12490987032651901, 0.4866349399089813, -0.32818806171417236, 0.28835174441337585, -0.429126113653183, 0.174855574965477, -0.2570028305053711, -0.010735027492046356, 0.6765018701553345, -0.1407604068517685, -0.5677751302719116, -0.3270740211009979, 0.5624532103538513, 1.1633833646774292, -0.8706102967262268, 0.7353300452232361, 0.8138404488563538, -0.10277263075113297, -0.013020522892475128, -0.7604114413261414, 0.20499876141548157, -0.3401488959789276, 0.7023796439170837, -0.2734307646751404, -0.8490317463874817, 0.09525381028652191, -0.057706717401742935, 0.2221314162015915, 0.21243667602539062, 0.8882766962051392, -0.22168096899986267, 1.1977506875991821, 0.8437102437019348, 0.1659902185201645, 0.7982991933822632, -0.14310568571090698, 0.24459221959114075, -0.7297155857086182, -0.5175458788871765, -0.29443708062171936, -0.11083455383777618, -0.509880542755127, -0.6783367991447449, 0.37638935446739197, -0.17321190237998962, -0.10803909599781036, -0.01974961906671524, -0.16621249914169312, 0.014192945323884487, 0.42072540521621704, -0.24520547688007355, 0.12686435878276825, 0.07233484089374542, -0.005630565341562033, -0.0164607185870409, -0.7708162069320679, -0.4753616452217102, 0.9344146847724915, 0.4212067723274231, 0.9280314445495605, 0.12267088890075684, -0.015756864100694656, -0.045696694403886795, 0.3811306357383728, -0.7870277762413025, 0.5738953351974487, -0.24260100722312927, -0.38843661546707153, -0.33653247356414795, -0.17417287826538086, -0.641216516494751, 0.4394386112689972, -0.48495838046073914, -0.37978294491767883, 0.14880383014678955, 0.06444714963436127, 0.013917587697505951, 0.3037835359573364, -0.702226996421814, 1.1239701509475708, -0.4657468795776367, -0.3154836893081665, -0.17831577360630035, -0.6260681748390198, 0.6015315055847168, 0.041512541472911835, 0.15606388449668884, 0.04733145236968994, 0.07884370535612106, 0.35296866297721863, -0.006052388343960047, 0.8891392946243286, -0.024594297632575035, -0.3874792754650116, 0.1661527305841446, -0.24465198814868927, 0.33200934529304504, -0.39840394258499146, 0.26289674639701843, 0.04496817663311958, -0.05400921404361725, -0.16702120006084442, -0.5893335938453674, 0.6192389130592346, -0.46265414357185364, -0.3404023349285126, -0.11924576759338379, -0.7041916251182556, -0.39312854409217834, 0.15505310893058777, 0.032144781202077866, 0.9737783670425415, -0.41204720735549927, 0.597670316696167, 0.7298478484153748, -0.34556999802589417, 0.6227964758872986, 0.02684488147497177, -0.6150238513946533, -0.6774846315383911, 1.0369138717651367, 0.025002039968967438, 0.36641913652420044, 0.5187109708786011, -0.2511340379714966, -0.34957200288772583, -0.5416290163993835, -0.7633209824562073, 0.13665549457073212, -0.7463003396987915, -0.06955213099718094, -0.734879732131958, -0.3262940049171448, -0.38886407017707825, -0.0765736773610115, -0.3549003005027771, 0.03275536000728607, -0.15491697192192078, 0.28750020265579224, 0.09453122317790985, 0.8940091133117676, 0.5084107518196106, 0.06823036819696426, -0.8583215475082397, 0.3518927991390228, 0.6304131746292114, 0.30337318778038025, 0.24653412401676178, -0.04927320405840874, -0.21579265594482422, 0.020784597843885422, -0.1773601472377777, -0.6968909502029419, 0.19334673881530762, 0.03996516019105911, 0.5137749314308167, 0.5756152272224426, -0.4699627459049225, 0.6392402052879333, -0.828123152256012, 0.9589003920555115, 0.6492936015129089, -0.5355790853500366, 0.22423486411571503, -0.4691338837146759, 0.4507129490375519, 0.11397138237953186, 0.30071020126342773, -0.8102464079856873, -0.1559608280658722, -0.05581975355744362, -0.5576947331428528, 0.17478768527507782, -0.04810551553964615, 0.30398356914520264, 0.11565911024808884, -0.28671616315841675, -0.023941349238157272, 0.39079445600509644, -0.6922986507415771, -0.015373432077467442, -0.40703895688056946, -0.4549095630645752, -0.09728077054023743, -0.33088240027427673, -0.23160918056964874, -0.19945834577083588, 0.32448285818099976, -0.329833060503006, 0.09860152006149292, -0.3004043996334076, -0.286593496799469, 0.3113919496536255, 0.35784322023391724, 0.8967971205711365, 0.8883134126663208, 0.22828209400177002, 0.19079087674617767, -0.16726885735988617, -0.24618351459503174, 0.09856929630041122, -0.053907353430986404, -0.054050520062446594, -0.035823624581098557, 0.6260340213775635, 1.228721261024475, 0.1457701027393341, -1.0370196104049683, 0.9011277556419373, 0.0034838614519685507, -0.10438254475593567, -0.30510467290878296, -0.11524362117052078, 0.11088523268699646, 0.45730942487716675, 0.1088838279247284, 0.1886722594499588, -0.04340009018778801, -0.7024524211883545, -0.23662744462490082, 0.923133909702301, -0.39287620782852173, -0.32479503750801086, 0.5078256130218506, 0.330859512090683, -0.09162264317274094, 0.6825394630432129, 0.25339275598526, -0.3797846734523773, 0.2220960557460785, 0.32625043392181396, 0.6903247237205505, -0.16740992665290833, 0.18106545507907867, 0.10651504248380661, 0.3978693187236786, 0.1665639877319336, 0.10302053391933441, -0.04091903194785118, -0.6204190254211426, -0.5483464002609253, -0.6004947423934937, -0.13068969547748566, 0.21979404985904694, -0.24905405938625336, 0.20803327858448029, -0.3023163676261902, -0.20891280472278595, 0.02067764848470688, -0.5772659182548523, -0.7375617623329163, 0.39802679419517517, 0.514523983001709, 0.8066174387931824, -0.7696497440338135, 0.6399626731872559, 0.9023778438568115, -0.5115489959716797, -0.22263064980506897, -0.2825879156589508, -0.007169246673583984, -0.550711452960968, 0.792615532875061, 0.14054159820079803, -0.14967218041419983, -0.10479188710451126, -0.63462233543396, -0.6630208492279053, 0.9072702527046204, 0.08201133459806442, -0.5589914917945862, -0.2269262671470642, 0.06763561069965363, 0.5340880155563354, -0.38129106163978577, 0.2816784977912903, 0.22324812412261963, 0.508452832698822, 0.0530807189643383, -0.7465095520019531, -0.3837473392486572, -0.4892398715019226, 0.4657527804374695, 0.1993081271648407, -0.6940137147903442, 0.832494854927063, 0.03359771519899368, -0.19142833352088928, 0.28717172145843506, 0.7476515173912048, 0.05785862356424332, 0.00953277014195919, 0.42889219522476196, 0.4763352572917938, 0.3627111315727234, -0.0644386038184166, 0.9190337657928467, -0.2448398917913437, 0.021200058981776237, 0.7054048180580139, -0.25813978910446167, 0.9122344255447388, 0.5040140748023987, -0.02114729955792427, 0.3710518777370453, 0.18818190693855286, -0.21729502081871033, 0.32471993565559387, -0.13239504396915436, -0.4289013147354126, -0.3391377925872803, -0.27046987414360046, -0.40996360778808594, 0.5554822087287903, 0.2890043556690216, -0.4512338638305664, -0.1440114676952362, 0.401040256023407, -0.2884063422679901, -0.010291898623108864, -0.286486953496933, 0.8545860052108765, -0.22882796823978424, -0.5928975343704224, 0.4722420871257782, -0.10191818326711655, 0.6148197650909424, -0.6538544297218323, -0.2237512320280075, -0.018820323050022125, 0.01396966353058815, 0.06751454621553421, -0.8007699847221375, -0.2523425817489624, -0.05324580892920494, -0.357871413230896, -0.5026379823684692, 0.635334312915802, -0.6778690814971924, -0.4331164062023163, 0.057858843356370926, 0.8106949329376221, -0.2771773338317871, 0.13044516742229462, -0.5141533613204956, 0.5648237466812134, -0.026680540293455124, -0.13452975451946259, 0.23461410403251648, 0.4612247943878174, -0.1581263691186905, 0.7710139751434326, 0.6633685231208801, -0.19128325581550598, 0.2837648093700409, 0.29325440526008606, 0.9339330196380615, -0.7842208743095398, -0.22103655338287354, -0.6870966553688049, 0.8780356049537659, -0.11158724129199982, -0.3435157835483551, 0.6808261871337891, 0.5717152953147888, 0.5874338150024414, -0.39920300245285034, 0.7610719203948975, 0.13975293934345245, 0.058330561965703964, -0.7659987807273865, 0.7357327938079834, -0.7004299163818359, -0.3418425917625427, -0.2220040112733841, -1.0335055589675903, -0.25921207666397095, 0.2380010336637497, -0.09954334795475006, 0.13730888068675995, 0.6040231585502625, 0.6973049640655518, -0.07776747643947601, -0.05965524539351463, 0.6068031191825867, 0.19128714501857758, 0.4360448122024536, 0.2403363585472107, 1.3535892963409424, -0.21829915046691895, 0.3398883640766144, 0.10981221497058868, -0.2440645396709442, -0.2802208960056305, -0.7349806427955627, -1.0774643421173096, -0.8791819214820862, -0.07277398556470871, 0.22124089300632477, -0.14368237555027008, 0.6826308369636536, 0.693838357925415, -0.4516480565071106, -0.20035487413406372, 0.18642954528331757, -0.2743610441684723, 0.02907409891486168, -0.13201482594013214, 0.12457054853439331, -0.3686242699623108, -0.9208265542984009, 0.39091503620147705, 0.6500746011734009, 0.22508573532104492, -0.7229692339897156, 0.07210849225521088, -0.3432103395462036, 0.031166039407253265, 1.2158795595169067, 0.14871978759765625, -1.039968490600586, -0.14365077018737793, 0.03222394362092018, -0.4432581663131714, 0.006999399047344923, 0.8370674848556519, -0.5440380573272705, 0.7074226140975952, 0.6112297177314758, 0.780552089214325, 0.2576795220375061, -0.2185845971107483, 0.5209802389144897, -0.3870779275894165, 0.2831091284751892, 0.11566519737243652, 0.461414098739624, 0.6215896010398865, 0.2074510157108307, 0.16806581616401672, 0.1400403380393982, -0.3860268294811249, -0.7644293308258057, 0.3158474862575531, -1.0087988376617432, -0.2451319545507431, 0.9846577048301697, 0.19113501906394958, -0.17443276941776276, 0.08565822243690491, -0.5163716673851013, -0.04568066820502281, 0.14811347424983978, 0.319486528635025, 0.9335672855377197, 0.05360443517565727, -0.5863239765167236, -0.7656388878822327, 0.26524290442466736, 0.153519406914711, -0.9342496395111084, 0.14298398792743683, 1.1021580696105957, -0.08676393330097198, 0.29371556639671326, 0.3444911241531372, -0.1376197338104248, 0.151896134018898, 0.026281554251909256, 0.2928837537765503, -0.004932906944304705, -0.6733071208000183, -0.2770681083202362, 0.4243423044681549, 0.06099680811166763, 0.054389677941799164 ]
http://arxiv.org/abs/2402.12431v1
http://arxiv.org/pdf/2402.12431v1
Understanding Fine-grained Distortions in Reports of Scientific Findings
2024-02-19T19:00:01
2024-02-19T19:00:01
Amelie Wührl, Dustin Wright, Roman Klinger, Isabelle Augenstein
cs.CL
cs.CL
Distorted science communication harms individuals and society as it can lead to unhealthy behavior change and decrease trust in scientific institutions. Given the rapidly increasing volume of science communication in recent years, a fine-grained understanding of how findings from scientific publications are reported to the general public, and methods to detect distortions from the original work automatically, are crucial. Prior work focused on individual aspects of distortions or worked with unpaired data. In this work, we make three foundational contributions towards addressing this problem: (1) annotating 1,600 instances of scientific findings from academic papers paired with corresponding findings as reported in news articles and tweets wrt. four characteristics: causality, certainty, generality and sensationalism; (2) establishing baselines for automatically detecting these characteristics; and (3) analyzing the prevalence of changes in these characteristics in both human-annotated and large-scale unlabeled data. Our results show that scientific findings frequently undergo subtle distortions when reported. Tweets distort findings more often than science news reports. Detecting fine-grained distortions automatically poses a challenging task. In our experiments, fine-tuned task-specific models consistently outperform few-shot LLM prompting.
[ -0.2727402150630951, -0.7346909046173096, 0.7004113793373108, 0.43658584356307983, -0.3036693036556244, -0.13028685748577118, -0.023930491879582405, -0.9665737748146057, 0.5375522971153259, 0.47323986887931824, -0.061627183109521866, -0.2523600161075592, -0.9639665484428406, 0.2853645980358124, -0.6373820900917053, 1.139967918395996, -0.09254278987646103, 0.3192708492279053, -0.1826961487531662, 0.13246996700763702, -0.14446844160556793, -0.013722368516027927, -0.2643924057483673, -0.45871320366859436, 0.44508787989616394, 0.30643773078918457, 0.6058579087257385, 0.5887110233306885, 0.552945613861084, 0.19268155097961426, -0.21678432822227478, 0.33484840393066406, -0.6500665545463562, -0.12026192247867584, -0.3111172914505005, -0.6229691505432129, -0.20663084089756012, 0.19669923186302185, 0.565092921257019, 0.8785340189933777, 0.35073909163475037, 0.4897266626358032, 0.5303640961647034, 0.5525550842285156, -0.3327406942844391, 0.4034404158592224, -0.49984464049339294, -0.042124416679143906, -0.49746716022491455, -0.5906585454940796, -0.3421439230442047, -0.1501448005437851, -0.045578181743621826, -0.6816229820251465, 0.5969443321228027, 0.0529024600982666, 0.7729061841964722, 0.33848321437835693, -0.4230777621269226, -0.4320770502090454, -0.9064939618110657, 0.5843856930732727, -0.43977785110473633, 0.06593714654445648, 0.5249279141426086, -0.13873101770877838, -0.4119156301021576, -0.6563382744789124, -0.24888822436332703, -0.20113857090473175, -0.263288676738739, -0.03486446663737297, -0.2304544299840927, -0.0758727639913559, 0.2857878804206848, 0.13840873539447784, -0.21102428436279297, -0.009137065149843693, -0.5632860660552979, -0.43304383754730225, 0.6724103689193726, 0.01902790181338787, 0.024616044014692307, -0.34188446402549744, 0.028868742287158966, -0.09921704977750778, -0.49287495017051697, -0.0786750465631485, 0.24944542348384857, 0.340844064950943, 0.006119917146861553, 0.7525249123573303, -0.3535960018634796, 0.4210505783557892, 0.4556114375591278, -0.019507996737957, 0.2325647622346878, -0.47659724950790405, -0.21360884606838226, 0.3670797646045685, 0.688338577747345, 0.6696518063545227, 0.03967362269759178, -0.28119954466819763, 0.0938030481338501, 0.2546508312225342, 0.1945246011018753, -0.6369682550430298, -0.277438759803772, -0.15769775211811066, -0.33325907588005066, -0.5006751418113708, 0.12197893112897873, -0.6866179704666138, -0.8775761127471924, -0.44176945090293884, 0.4757940173149109, -0.15995238721370697, 0.1381777822971344, 0.20895446836948395, -0.12506414949893951, -0.461338609457016, 0.606012761592865, -0.6686090230941772, 0.10762719810009003, 0.4769652187824249, 0.8049578666687012, -0.022856274619698524, -0.16850389540195465, -0.2911626994609833, 0.22647592425346375, -0.2902258336544037, 1.049696683883667, -0.41332679986953735, -0.38264521956443787, -0.4038105607032776, 0.08134308457374573, 0.3350149393081665, -0.3598891496658325, 0.6704379320144653, -0.1925901174545288, 0.03728213906288147, -0.48191291093826294, -0.32793885469436646, 0.019628075882792473, -0.020796598866581917, -0.4702436625957489, 0.5938661694526672, 0.0169582087546587, -1.0950769186019897, 0.48578399419784546, -0.526081919670105, -0.39451324939727783, -0.2981339395046234, 0.018689369782805443, -0.31234294176101685, 0.4976074695587158, 0.17681419849395752, 0.2880784273147583, -0.018001167103648186, 0.36088111996650696, -0.18933342397212982, -0.15455734729766846, 0.3285420536994934, -0.6506228446960449, 0.3287935256958008, 0.14992372691631317, -0.21719782054424286, 0.111396424472332, -0.6639189124107361, -0.25588101148605347, -0.048021648079156876, -0.2095309942960739, -0.609049916267395, 0.11840764433145523, 0.1983540952205658, -0.09606974571943283, -0.022143878042697906, -0.683862030506134, 0.3721681237220764, -0.32927513122558594, 0.42418649792671204, 0.5565707683563232, 0.25018876791000366, 0.3695155084133148, -0.4405541718006134, -0.2461049109697342, 0.3375050127506256, 0.3831048607826233, -0.0762002244591713, -0.4036175012588501, -0.36732321977615356, 0.15668700635433197, 0.24858355522155762, 0.11297273635864258, -0.23598185181617737, 0.006859237793833017, -0.2668911814689636, -0.5290459394454956, -0.6928116083145142, -0.021831678226590157, 0.22280597686767578, 0.6631215810775757, 0.7509421110153198, -0.40560808777809143, -0.5182446837425232, -0.9705796837806702, -0.9489198923110962, -0.009842442348599434, -0.30792468786239624, 0.07815602421760559, 0.5925368070602417, -0.25629866123199463, 0.8291866183280945, -0.45234036445617676, -0.33520910143852234, 0.47372356057167053, 0.9079089164733887, -0.2553761303424835, 0.5029083490371704, 0.1464526206254959, -0.7367802858352661, -0.33816230297088623, -0.2624034881591797, -0.534052312374115, -0.3740198612213135, -0.2641506493091583, 0.24540778994560242, 0.05090610682964325, 0.44638791680336, -0.3191532492637634, 0.608649492263794, 0.31288614869117737, -0.6770371198654175, 0.7515392899513245, -0.0032734121195971966, 0.48789259791374207, -0.5711917877197266, -0.003857487114146352, 0.35316312313079834, -0.22094739973545074, -0.5454382300376892, -0.5067607760429382, -0.1052861213684082, 0.5863282084465027, -0.1988869309425354, 0.28676095604896545, -0.4161573350429535, -0.002820159075781703, -0.26405373215675354, -0.051771700382232666, 0.1366795301437378, -0.2836689352989197, -0.2643890678882599, 0.41396448016166687, 0.15485259890556335, -0.42251527309417725, 0.133890300989151, 0.26867154240608215, -0.4232233762741089, 0.5140074491500854, -0.6230894923210144, -0.17679886519908905, -0.5160868167877197, 0.44790932536125183, -0.7465509176254272, -0.6296815276145935, 0.30126529932022095, -0.5318872332572937, 0.20259740948677063, -0.008960648439824581, -0.5761916637420654, -0.27945375442504883, -0.23492386937141418, 0.2460785210132599, 0.06054598465561867, -0.3062078654766083, 0.10098326951265335, 0.3424714505672455, 0.06743771582841873, -0.20531953871250153, -0.982315182685852, 0.21540610492229462, -0.07376783341169357, -0.5257453918457031, 0.5343058109283447, 0.05768397077918053, -0.5148269534111023, 0.13109281659126282, -0.6295337677001953, -0.09166543185710907, -0.02693386748433113, 0.4966338574886322, -0.09634572267532349, -0.025098321959376335, 0.07760879397392273, -0.03999033197760582, 0.08910191059112549, 0.30247417092323303, 0.11958102136850357, 0.34173160791397095, -0.20846354961395264, -0.23581799864768982, -0.5836212038993835, 0.17313995957374573, 0.6504955887794495, 0.19135244190692902, 0.561309278011322, 0.5370160341262817, -0.20487861335277557, 0.1695699840784073, -0.47884300351142883, -0.5501943230628967, -0.37870824337005615, 0.38235220313072205, 0.3018231987953186, -0.6633523106575012, 0.4408898651599884, -0.18202324211597443, -0.13985353708267212, 0.39759328961372375, 0.21051229536533356, -0.04778771474957466, 1.0544770956039429, 0.6570395827293396, 0.10015802830457687, 0.3256255090236664, 0.03928494453430176, 0.1118401363492012, -0.6744498610496521, -0.45264866948127747, -0.5224263072013855, -0.19923889636993408, -0.442943811416626, -0.4710700213909149, 0.5598192811012268, 0.16749076545238495, -0.2040313184261322, -0.15408554673194885, -0.8267919421195984, 0.6633159518241882, 0.40964028239250183, 0.2934836745262146, 0.6590451002120972, 0.05560366436839104, 0.37952324748039246, -0.031091153621673584, -0.33602669835090637, -0.7471874356269836, 0.9563078880310059, 0.47786587476730347, 1.0442157983779907, -0.41900208592414856, 0.6133220791816711, 0.47701123356819153, 0.4987703561782837, -0.7738490104675293, 0.022500863298773766, 0.1350400596857071, -0.4612874984741211, -0.2680942416191101, -0.35310661792755127, -0.897193968296051, 0.04068589210510254, -0.3438051640987396, -0.8365210890769958, 0.30251646041870117, 0.35952043533325195, -0.24236170947551727, 0.12938357889652252, -0.6680911779403687, 0.41401535272598267, -0.17655561864376068, -0.3032948076725006, -0.2690069377422333, -0.6811110377311707, 0.5418065786361694, -0.272611141204834, 0.37088748812675476, -0.16488252580165863, 0.33903902769088745, 0.9178653955459595, 0.17973075807094574, 1.1698004007339478, -0.11062192916870117, -0.020194411277770996, 0.0008282661437988281, 0.22709614038467407, 0.5863922238349915, 0.3963896632194519, 0.17478342354297638, 0.22315961122512817, 0.34174755215644836, -0.3311786651611328, -0.32666686177253723, 0.6127903461456299, -0.724120557308197, -0.6340553164482117, -0.5224432349205017, -0.8153562545776367, -0.24387703835964203, 0.20656868815422058, 0.47870975732803345, 0.3289414346218109, -0.29233404994010925, -0.005992505699396133, 0.56131511926651, 0.1417292058467865, 0.0966816246509552, 0.5811277627944946, -0.0018740115920081735, 0.17756162583827972, 0.6179360151290894, 0.3040015399456024, 0.15794532001018524, -0.04375389218330383, 0.2955806255340576, 0.11076588928699493, -0.6474167108535767, 0.22841733694076538, 0.25558215379714966, -0.4193060100078583, -0.3980588912963867, -0.3655755817890167, 0.025871051475405693, -0.5182733535766602, -0.03945840895175934, -0.5463890433311462, -0.34005436301231384, -0.7084161639213562, 0.06880056113004684, 0.129706010222435, 0.9746198654174805, -0.42436131834983826, 0.20663736760616302, -0.6830604076385498, 0.48551252484321594, -0.06333652883768082, 0.355477899312973, -0.08713052421808243, -0.43074831366539, -0.2878586947917938, 0.6907326579093933, -0.5192437171936035, -0.8238013982772827, 0.4068528115749359, 0.019796887412667274, 0.25031778216362, 0.6379162669181824, 0.23473428189754486, 0.7435490489006042, -0.420880526304245, 0.7002159357070923, 0.2313476800918579, -0.8618103861808777, 0.5939998626708984, -0.3051088750362396, 0.03000571019947529, 0.45248332619667053, 0.4832438826560974, -0.619242787361145, -0.5777562260627747, -0.7490517497062683, -0.6201322674751282, 0.5697680115699768, 0.026465050876140594, 0.011689755134284496, -0.06414070725440979, 0.21590018272399902, 0.3097158372402191, -0.07143077999353409, -0.5073453783988953, -0.07933627814054489, -0.43441835045814514, 0.0903041884303093, -0.16553683578968048, -0.26820945739746094, -0.738884449005127, -0.4003998637199402, 0.38706138730049133, -0.13530202209949493, 0.24645006656646729, 0.7512902617454529, -0.10160958021879196, -0.6627646684646606, 0.2919772267341614, 0.8175525069236755, 0.6143651604652405, -0.19888217747211456, 0.5045385360717773, -0.25604188442230225, -0.6478864550590515, -0.10261085629463196, 0.026043975725769997, -0.2714049518108368, 0.011916965246200562, 0.37993648648262024, 0.5558412671089172, 0.20965850353240967, -0.1976441890001297, 0.3156212568283081, 0.11231765896081924, -0.21547837555408478, 0.03420691564679146, 0.017050117254257202, -0.15058454871177673, 0.246073380112648, 0.5559611320495605, 0.6812847852706909, 0.3156943619251251, -0.6152599453926086, 0.19864648580551147, 0.3585127592086792, -0.24243728816509247, -0.7756927013397217, 0.6337409615516663, 0.0669076144695282, 0.1041007936000824, 0.15542104840278625, -0.08627039939165115, -0.26006829738616943, 0.3822285830974579, 0.5935040712356567, 0.3683260679244995, -0.19994866847991943, 0.54432213306427, 0.13623422384262085, 0.4858909249305725, -0.6073887944221497, -0.2893909811973572, 0.23332500457763672, -0.6627741456031799, -0.4760260581970215, -0.6024779677391052, -0.0662083551287651, 0.35856351256370544, -0.7220802903175354, 0.034695617854595184, -0.1914375275373459, -0.2650729715824127, 0.6438872218132019, -0.06831912696361542, -0.4034532308578491, -0.13861659169197083, 0.21161209046840668, 0.8337652087211609, -1.3048768043518066, 0.5663918852806091, 0.5033278465270996, -0.3507201671600342, -0.5680218935012817, 0.20808616280555725, 0.4646841585636139, -0.6461551785469055, 0.7190579175949097, -0.028335027396678925, -0.02345130406320095, -0.10802088677883148, -1.0553654432296753, -0.9692343473434448, 0.7043837308883667, 0.3632783889770508, -0.49495622515678406, -0.003440111642703414, 0.39827945828437805, 0.6082731485366821, -0.17173463106155396, 0.12950778007507324, 0.7453250288963318, 0.8771078586578369, 0.12107179313898087, -1.2961615324020386, 0.14823684096336365, 0.14617203176021576, -0.30230358242988586, 0.29562145471572876, -0.5206019878387451, 0.67768394947052, -0.230121910572052, -0.14115814864635468, -0.2533469796180725, 0.4749525785446167, -0.09398580342531204, 0.7573121190071106, 0.17051170766353607, 0.2062310129404068, 0.8520647883415222, -0.12851808965206146, 0.6416459679603577, 0.019552722573280334, 0.4067726135253906, 0.951283872127533, 0.13770972192287445, 0.358707457780838, 0.9094886183738708, 0.04450161010026932, 0.049425072968006134, 0.6309972405433655, -0.40846124291419983, 0.48428967595100403, 0.21629320085048676, -0.11736883223056793, -0.009883809834718704, -0.47055402398109436, -0.35275474190711975, 0.4001745879650116, 0.66148442029953, -0.4065442383289337, -0.5133446455001831, 0.17451739311218262, 0.2866765260696411, 0.05313700810074806, -0.5773999094963074, 0.3995477855205536, 0.11862698197364807, -0.46464911103248596, 0.5519827008247375, -0.030184926465153694, 0.8200246691703796, -0.18205921351909637, 0.014719415456056595, -0.06045990064740181, 0.014972847886383533, -0.6926536560058594, -0.8675787448883057, 0.799554705619812, -0.029103567823767662, -0.4140377342700958, -0.16708360612392426, 0.7283632159233093, -0.3550913631916046, -0.1761295199394226, -0.11252094805240631, 0.19875453412532806, 0.17397606372833252, -0.3092307448387146, -0.43241000175476074, 0.24390046298503876, 0.10044697672128677, -0.3149014115333557, 0.38769957423210144, 0.3994780480861664, -0.21331103146076202, 0.4776090979576111, 0.38873767852783203, 0.3536929190158844, -0.06502851098775864, -0.1607336848974228, 0.8259774446487427, -0.41994166374206543, -0.03205930441617966, -0.6182019710540771, 0.18521179258823395, -0.18089868128299713, -0.3039934039115906, 0.9685173630714417, 0.4828811585903168, 0.7432389259338379, -0.22855371236801147, 0.6441025137901306, 0.025602562353014946, 0.2896110415458679, -0.30021193623542786, 0.6897309422492981, -0.2491176426410675, 0.21265873312950134, -0.14038272202014923, -0.5318868160247803, -0.6266588568687439, 0.40614715218544006, -0.45329803228378296, -0.2492021918296814, 0.7611158490180969, 0.5203901529312134, -0.1659032106399536, 0.15786071121692657, -0.007778409868478775, 0.8052197098731995, 0.3546279966831207, 0.07309723645448685, 0.603102445602417, -0.22703352570533752, 0.27564510703086853, -0.3699040114879608, -0.24296928942203522, -0.5105380415916443, -0.9134289622306824, -0.6899175047874451, -0.5288459062576294, -0.5216944813728333, -0.5027973651885986, -0.02231881022453308, 0.5474197268486023, 0.41879454255104065, -0.7875426411628723, 0.27416113018989563, -0.4010726511478424, 0.07082019746303558, -0.11226571351289749, -0.2932763695716858, 0.46577537059783936, -0.2890925407409668, -0.5110914707183838, 0.12812048196792603, 0.09619466960430145, 0.2471207231283188, -0.11372887343168259, 0.31398165225982666, 0.20818200707435608, 0.23084378242492676, 0.5645511150360107, 0.45714953541755676, -0.7311742901802063, -0.5552147626876831, -0.343087375164032, -0.15572471916675568, 0.058001961559057236, 0.7408106327056885, -0.6997703313827515, 0.34261229634284973, 0.3546595871448517, 0.08409229665994644, 0.39784321188926697, 0.10090158134698868, 0.23060713708400726, -0.7651335597038269, 0.03692590072751045, 0.4136279225349426, 0.012105788104236126, 0.3729571998119354, -0.6626715660095215, 0.38146471977233887, 0.351352334022522, -0.8107227087020874, -1.103723168373108, -0.13109932839870453, -1.025310754776001, -0.5111348628997803, 1.034118890762329, 0.30613696575164795, -0.28303954005241394, -0.24756909906864166, -0.24583394825458527, 0.3709990084171295, -0.43609198927879333, 1.4265462160110474, 0.6661989688873291, -0.5987309217453003, 0.2697255313396454, -0.5923886299133301, 0.8017879128456116, 0.10886310786008835, -0.6870409846305847, 0.3375241458415985, 0.584389865398407, 0.4085236191749573, 0.527546763420105, 0.2024466097354889, -0.16109569370746613, 0.1636161059141159, 0.011153672821819782, -0.13906382024288177, -0.3129531443119049, -0.2827417552471161, -0.09605705738067627, -0.05586777254939079, -0.13405562937259674, 0.17261117696762085 ]
http://arxiv.org/abs/2402.12374v2
http://arxiv.org/pdf/2402.12374v2
Sequoia: Scalable, Robust, and Hardware-aware Speculative Decoding
2024-02-19T18:58:32
2024-02-29T18:48:38
Zhuoming Chen, Avner May, Ruslan Svirschevski, Yuhsun Huang, Max Ryabinin, Zhihao Jia, Beidi Chen
cs.CL
cs.CL
As the usage of large language models (LLMs) grows, performing efficient inference with these models becomes increasingly important. While speculative decoding has recently emerged as a promising direction for speeding up inference, existing methods are limited in their ability to scale to larger speculation budgets, and adapt to different hyperparameters and hardware. This paper introduces Sequoia, a scalable, robust, and hardware-aware algorithm for speculative decoding. To attain better scalability, Sequoia introduces a dynamic programming algorithm to find the optimal tree structure for the speculated tokens. To achieve robust speculative performance, Sequoia uses a novel sampling and verification method that outperforms prior work across different decoding temperatures. Finally, Sequoia introduces a hardware-aware tree optimizer that maximizes speculative performance by automatically selecting the token tree size and depth for a given hardware platform. Evaluation shows that Sequoia improves the decoding speed of Llama2-7B, Llama2-13B, and Vicuna-33B on an A100 by up to $4.04\times$, $3.73\times$, and $2.27\times$. For offloading setting on L40, Sequoia achieves as low as 0.56 s/token for exact Llama2-70B inference latency, which is $9.96\times$ on our optimized offloading system (5.6 s/token), $9.7\times$ than DeepSpeed-Zero-Inference, $19.5\times$ than Huggingface Accelerate.
[ 0.08146414160728455, -0.8822177648544312, 0.37870046496391296, 0.6274098753929138, -0.4665597975254059, 0.597652792930603, 0.2477683126926422, -0.7991569638252258, 0.6887220740318298, 0.4380257725715637, -0.5340492725372314, -0.2916313707828522, -0.4481338858604431, -0.11195777356624603, -0.5618427395820618, 0.4376614987850189, 0.04763809219002724, -0.39410969614982605, 0.08397410809993744, 0.018406780436635017, -0.08451344072818756, -0.5224326848983765, -0.5791164040565491, 0.3878537118434906, 0.11552847921848297, 0.26565083861351013, 0.6663629412651062, 0.9132063984870911, 0.2736743092536926, 0.34016939997673035, -0.3829222619533539, 0.16695109009742737, -0.5150186419487, 0.6159679889678955, 0.30909764766693115, -0.5062681436538696, -0.32517921924591064, -0.8027908205986023, 0.6362071633338928, 0.2555728852748871, -0.2889610826969147, 0.34573522210121155, -0.32483041286468506, 0.223098486661911, -0.7368797063827515, -0.12305953353643417, -1.0485225915908813, 0.14621128141880035, -0.6138396263122559, -0.7508436441421509, -0.47729164361953735, -0.22346027195453644, -0.2967716157436371, -0.9030269384384155, 0.2929772436618805, 0.5345485210418701, 0.6585448980331421, 0.5298112034797668, -0.44057050347328186, 0.0309497881680727, -0.4759713411331177, 0.8340277671813965, -0.7215254306793213, 0.23538587987422943, 0.4581139087677002, 0.1521834284067154, -0.11271242052316666, -0.7213342189788818, -0.3672950565814972, 0.15930385887622833, 0.261128306388855, -0.06255729496479034, -0.2754634916782379, 0.08866234123706818, 0.4132978022098541, 0.5047799348831177, -0.3201413154602051, 0.36480629444122314, 0.037154167890548706, -0.6730445623397827, 0.2742076516151428, 0.299793541431427, 0.08016315847635269, -0.2614913284778595, -0.0322379469871521, 0.0684226006269455, -0.6610482931137085, 0.016207151114940643, 0.31783321499824524, -0.14276964962482452, 0.09397459030151367, 0.3146878480911255, -0.2960435450077057, 0.18392491340637207, 0.043262843042612076, -0.016192486509680748, 0.23511777818202972, -0.32853084802627563, -0.3806690275669098, 0.3896639049053192, 0.43797293305397034, 0.17782334983348846, -0.7186097502708435, -0.3250402808189392, -0.22815391421318054, 0.25718265771865845, -0.127135768532753, -1.0733165740966797, -0.08257603645324707, 0.4344116449356079, -0.5812268853187561, -0.5428516268730164, -0.574940025806427, -0.7724023461341858, -0.3820618987083435, 0.3309168219566345, -0.026794271543622017, -0.4090898036956787, -0.386652410030365, 0.27461281418800354, -0.244354709982872, 0.2302922159433365, 0.33355167508125305, -1.3402067422866821, 0.39859679341316223, 0.8056175112724304, 0.8133090734481812, -0.12868158519268036, 0.005964151117950678, -0.6838523149490356, 0.3387441337108612, -0.5133278369903564, 0.6630874276161194, -0.49976661801338196, -0.3838809132575989, -0.26265576481819153, -0.01927785575389862, 0.2974252998828888, -0.06740555167198181, 0.8679770827293396, -0.836003303527832, -0.46650946140289307, -0.492168128490448, -0.36227938532829285, -0.21958138048648834, 0.16787561774253845, -0.6585005521774292, 1.225258231163025, -0.07929658889770508, -1.2349680662155151, 0.4416104257106781, -0.20880527794361115, -0.6524907350540161, 0.23276695609092712, -0.1543334722518921, -0.0559285543859005, 0.47011345624923706, 0.517478346824646, 0.3197864592075348, -0.4504096806049347, 0.20024916529655457, -0.4764389395713806, -0.9168381094932556, 0.010575476102530956, -0.7878439426422119, 0.7744264006614685, 0.49262920022010803, -0.44524696469306946, 0.009233192540705204, -0.6173014640808105, 0.1577979177236557, 0.12838110327720642, -0.07936970144510269, -0.2982059717178345, 0.07057712227106094, 0.0019529396668076515, -0.567571222782135, 0.29963400959968567, -0.6567080020904541, 0.10729275643825531, -0.5672778487205505, 0.7590674161911011, 0.8628409504890442, -0.08374758064746857, 0.1185833290219307, 0.1791110783815384, 0.6766973733901978, -0.08729048818349838, -0.024669233709573746, -0.5104678273200989, -0.04049421474337578, -0.7572396993637085, -0.28543809056282043, 0.19888237118721008, 0.38920706510543823, -0.8314380049705505, 0.17116566002368927, 0.08123244345188141, -0.41922447085380554, -0.5826900601387024, -0.2594462037086487, 0.1655137836933136, 0.35346826910972595, 0.18185023963451385, -0.06013757362961769, -0.8593511581420898, -0.5764243006706238, -0.2924535572528839, -0.26036426424980164, 0.5776959657669067, 0.3667634427547455, 0.15337210893630981, -0.3639417886734009, 0.33666980266571045, -0.3860709071159363, 0.5462700724601746, 0.16821900010108948, 0.0690152645111084, 0.6069779396057129, 0.52008455991745, 0.45699644088745117, -0.2411089390516281, -0.2177792638540268, 0.44396764039993286, -0.5631872415542603, 0.15376807749271393, -0.2098923623561859, -0.16859038174152374, 0.4508928954601288, 0.6123215556144714, -0.6201401948928833, 0.35616153478622437, 0.7631944417953491, -0.41704192757606506, 0.6810704469680786, -0.39769572019577026, 0.21505489945411682, -1.1004689931869507, 0.07731189578771591, -0.5517190098762512, -0.3090134561061859, -0.0826793760061264, 0.2530456781387329, -0.018041502684354782, 0.23803819715976715, -0.11741399765014648, 0.08422861248254776, -0.4770349860191345, -0.34467920660972595, -0.11553334444761276, -0.567809522151947, 0.01940598525106907, 0.1889469176530838, 0.07382456958293915, 1.032688021659851, 0.7787256836891174, -0.2191992998123169, 0.20649102330207825, -0.2455868124961853, -0.46154895424842834, -0.08040312677621841, -0.7660718560218811, 0.25052300095558167, -0.07033293694257736, 0.29614490270614624, -0.7290623784065247, -0.2317167967557907, 0.09005142003297806, -0.16191408038139343, 0.06145557761192322, -0.08606966584920883, -0.5021314024925232, -0.40041813254356384, -0.4079374670982361, 0.7430456280708313, 0.4526287019252777, -0.6728512644767761, 0.6314322352409363, 0.4565667510032654, 0.05358441174030304, -1.014916181564331, -0.9009937644004822, 0.26259633898735046, -0.2718968689441681, -0.5307601690292358, 0.5921267867088318, 0.12157956510782242, 0.030609695240855217, 0.15144070982933044, -0.2896703779697418, -0.13310867547988892, 0.3077456057071686, 0.4768884778022766, 0.20563945174217224, -0.4522537887096405, -0.1373291313648224, 0.6570501327514648, -0.159878671169281, 0.1110234335064888, -0.5520282983779907, 0.43858492374420166, -0.3703504800796509, -0.32068976759910583, -0.41033053398132324, 0.2619050443172455, 0.6570025682449341, -0.07407564669847488, 0.3582378029823303, 0.5989323258399963, -0.256178081035614, -0.3065307140350342, -0.6211143136024475, -0.12746302783489227, -0.5737674236297607, 0.4911974370479584, -0.7518600821495056, -1.2103564739227295, 0.4941970407962799, -0.18813522160053253, 0.14170107245445251, 0.46605801582336426, 0.3235224783420563, -0.012793687172234058, 0.9439342617988586, 0.4638204276561737, -0.16493971645832062, 0.2112717181444168, -0.3127885162830353, 0.0917927548289299, -0.6136086583137512, -0.25051236152648926, -0.5902431011199951, -0.2572367191314697, -0.39512306451797485, -0.8540478348731995, -0.0884675681591034, 0.093714639544487, -0.2290714532136917, 0.3172740042209625, -0.6498841643333435, 0.7079493403434753, 0.4327911138534546, -0.20450228452682495, 0.4535483717918396, 0.47536608576774597, -0.3272976279258728, -0.13036532700061798, -0.687024712562561, -0.10889313369989395, 0.7745599746704102, 0.6668106913566589, 0.9987383484840393, 0.10928701609373093, 0.6632747650146484, 0.41472065448760986, -0.18815593421459198, -0.647213339805603, 0.4898908734321594, -0.056557416915893555, -0.5350295901298523, -0.24565814435482025, -0.40080684423446655, -0.651607096195221, 0.1920168697834015, -0.09308937191963196, -0.8574299812316895, 0.2979547083377838, 0.35590216517448425, -0.4976622760295868, 0.4070422351360321, -0.44426846504211426, 0.44814661145210266, -0.40966665744781494, -0.4211507737636566, -0.7278112769126892, -0.2963348925113678, 0.5505979061126709, -0.03358345851302147, -0.08848723024129868, -0.17886973917484283, -0.12390054762363434, 0.6708881258964539, -0.5054968595504761, 0.7335451245307922, -0.13473856449127197, 0.19266432523727417, 0.26782578229904175, 0.45312169194221497, 0.8183817863464355, 0.36706647276878357, -0.47189056873321533, 0.08477704972028732, 0.8020684719085693, -0.44050636887550354, -0.2857898473739624, 0.76899254322052, -1.0346951484680176, -0.6050847768783569, -0.7554891705513, -0.413863867521286, -0.11876850575208664, 0.29777759313583374, 0.4170527458190918, 0.4615834057331085, -0.28230345249176025, 0.42417705059051514, 0.6481619477272034, -0.10246115922927856, 0.5169597268104553, 0.35826000571250916, -0.44505900144577026, -0.2553532123565674, 1.0714787244796753, -0.16564396023750305, -0.24359074234962463, 0.5201103091239929, -0.04484033212065697, -0.42249733209609985, -0.9728485345840454, -0.5507055521011353, 0.041123174130916595, -0.4752078652381897, -0.3189472258090973, -0.8116342425346375, -0.2227831482887268, -0.22661970555782318, -0.14284801483154297, -0.42544323205947876, -0.6432678699493408, -0.39788126945495605, -0.22977663576602936, 0.5764047503471375, 0.49440258741378784, 0.046664729714393616, 0.45007506012916565, -0.575889527797699, 0.030519617721438408, -0.026101790368556976, 0.05805908143520355, 0.3191920816898346, -0.6367440819740295, -0.11278314888477325, -0.27253299951553345, 0.11132253706455231, -0.5900671482086182, 0.39184531569480896, -0.14955255389213562, 0.33998027443885803, 0.6252861022949219, 0.21884393692016602, 1.0253934860229492, -0.049766264855861664, 0.4714905023574829, 0.15579873323440552, -1.2106397151947021, 0.20122165977954865, -0.1932429075241089, 0.31075817346572876, 0.6320188641548157, -0.0683465227484703, -0.5728002786636353, -0.11537724733352661, -0.4307005703449249, -0.8480004072189331, 0.9142505526542664, -0.14478035271167755, 0.18447384238243103, 0.062113672494888306, 0.18741990625858307, 0.24243049323558807, 0.06811601668596268, -0.2516700327396393, 0.07930917292833328, -0.36107927560806274, 0.025525109842419624, 0.17582756280899048, -0.6673567891120911, 0.17465908825397491, -0.27513277530670166, 0.5828263163566589, -0.3168030083179474, 0.20950189232826233, 0.07361508905887604, 0.06951620429754257, -0.14033862948417664, 0.149184450507164, 0.04739631712436676, 0.14814189076423645, -0.4369446039199829, 0.43160301446914673, 0.42726758122444153, -0.5432608127593994, -0.016544312238693237, 0.04214470461010933, -0.4769396483898163, -0.07200754433870316, 0.34882137179374695, 1.1267033815383911, 0.19052238762378693, -0.7492532730102539, 0.13660244643688202, -0.4201807379722595, -0.22994285821914673, -0.16353969275951385, 0.04452585056424141, 0.1470576971769333, 0.2733321487903595, 0.21960105001926422, 0.439883291721344, 0.4812634289264679, -0.3705412447452545, -0.15522879362106323, 0.4988604485988617, -0.032366570085287094, -0.4819783866405487, 0.676807165145874, 0.3606894910335541, 0.06832842528820038, 0.5920066237449646, -0.2315003126859665, -0.31957316398620605, 0.7581255435943604, 0.9313299059867859, 0.8940356373786926, 0.13209885358810425, 0.28453561663627625, 0.30613383650779724, 0.3397599756717682, -0.12625513970851898, 0.6082940101623535, -0.564391016960144, -0.6260669231414795, -0.6048668622970581, -0.9519046545028687, -0.32325586676597595, -0.33039021492004395, -0.3912866711616516, -0.10050748288631439, -0.8482514023780823, -0.1937495917081833, -0.20437727868556976, 0.12267838418483734, -0.5274510979652405, -0.1118195578455925, -0.07972441613674164, 1.2483603954315186, -0.37061551213264465, 1.1405556201934814, 0.18388032913208008, 0.406363308429718, -1.0833189487457275, 0.03919588774442673, -0.018056146800518036, -1.0100458860397339, 0.2711049020290375, 0.22969049215316772, -0.515848696231842, 0.1650094836950302, -0.08907914161682129, -1.2827491760253906, 1.2285488843917847, 0.5426595211029053, -0.8433126211166382, -0.13106711208820343, -0.3101990520954132, 0.26933106780052185, -0.16017551720142365, 0.5848693251609802, 0.6423113346099854, 0.2487502545118332, 0.7406023740768433, -0.46415597200393677, 0.3154434561729431, -0.24495714902877808, 0.09086699038743973, 0.16489467024803162, -0.6962648034095764, 0.5843814611434937, -0.3427453339099884, -0.35715198516845703, 0.4464523196220398, 0.8236787915229797, 0.18911214172840118, 0.28053179383277893, 0.4409094452857971, 0.5309820771217346, 1.4342386722564697, 0.0864994004368782, 0.9954376816749573, -0.6344844102859497, 0.029542241245508194, 0.8298606276512146, -0.17751669883728027, 1.0858315229415894, 0.5441839098930359, -0.21021798253059387, 0.4081021845340729, 0.8609091639518738, 0.21608032286167145, 0.4675447344779968, -0.18789783120155334, -0.3798013925552368, -0.38117435574531555, -0.40996864438056946, -0.6592007875442505, 0.34233349561691284, 0.5792952179908752, -0.23647116124629974, 0.2359522581100464, -0.6463983058929443, -0.10027217119932175, -0.4654061496257782, -0.23874810338020325, 0.14320482313632965, 0.007703978102654219, -0.7230340838432312, 0.6304957866668701, 0.2954186797142029, 0.799709141254425, -0.5704675316810608, 0.38491764664649963, -0.1544976681470871, 0.12172844260931015, -0.417452871799469, -0.4747278392314911, 0.4287286698818207, -0.14767234027385712, -0.07632660120725632, 0.01593717187643051, 0.8395531177520752, 0.002604958601295948, -0.6130645275115967, 0.04681813344359398, 0.02242322638630867, 0.20393960177898407, 0.13523295521736145, -0.5000264644622803, 1.0027509927749634, 0.2295372635126114, -0.13106578588485718, -0.06955147534608841, 0.5234739780426025, -0.1207808256149292, 0.5928694009780884, 0.9149145483970642, 0.1446623057126999, 0.08485794812440872, -0.08257921785116196, 0.9966127276420593, -0.8196955323219299, -0.8126967549324036, -0.702431321144104, 0.05699613690376282, -0.1599847376346588, -0.2876927852630615, 0.9582958817481995, 0.566477358341217, 0.1689070463180542, 0.20930172502994537, 0.5922883749008179, -0.08484406024217606, 0.14179189503192902, -0.5234278440475464, 0.23577554523944855, -0.31225576996803284, 0.606110155582428, -0.059352703392505646, -0.7105833888053894, -0.019274860620498657, 0.2859586179256439, -0.14500898122787476, -0.29651162028312683, 0.62762451171875, 0.9889351725578308, -0.006364127621054649, 0.5312684178352356, 0.126285582780838, 0.5011911392211914, 0.1733081191778183, 0.6261559724807739, 0.9261354804039001, -0.3016919791698456, 0.4478340446949005, -0.058020420372486115, -0.22803369164466858, -0.41420283913612366, -0.9328979253768921, -0.6259613037109375, -0.10970138758420944, -0.07317377626895905, -0.38991713523864746, 0.1326967179775238, 0.5924278497695923, 0.9477934241294861, -0.6875141263008118, -0.14399150013923645, -0.35175204277038574, 0.08858098834753036, -0.18077798187732697, -0.15432438254356384, 0.40495237708091736, -0.10900712758302689, -0.3923840820789337, 0.6048652529716492, 0.6228740811347961, -0.058016981929540634, -0.35097914934158325, -0.353540301322937, 0.39180436730384827, 0.27894315123558044, 0.5601853728294373, 0.5246047377586365, -0.7969380021095276, 0.0851028636097908, 0.3276650905609131, 0.01877021975815296, -0.30554336309432983, 0.8894180655479431, -0.8923265933990479, 0.36318472027778625, 0.665772020816803, 1.1023672819137573, 1.1473323106765747, -0.040201108902692795, 0.3758169114589691, -0.2892382740974426, 0.5297351479530334, 0.48287954926490784, 0.31416910886764526, 0.03349389135837555, -0.6569205522537231, 0.14229623973369598, 0.3404523730278015, -0.48002898693084717, -0.99886554479599, 0.02513587288558483, -0.9222024083137512, -0.38302502036094666, 0.8341029286384583, -0.003861011005938053, -0.6809607744216919, 0.046637628227472305, -0.35590484738349915, -0.22652330994606018, -0.6398661136627197, 0.4963121712207794, 0.39382264018058777, 0.006142161320894957, -0.32472115755081177, -0.05209444463253021, 0.41426199674606323, 0.7625154852867126, -0.6135461926460266, 0.15614910423755646, 0.3874117434024811, -0.060925792902708054, -0.1452530026435852, 0.9115267395973206, 0.10821733623743057, 0.33069130778312683, 0.7564693689346313, -0.48824983835220337, -0.03314019739627838, -0.2935069501399994, 0.03751946613192558, 0.3184383809566498, 0.5102280378341675, -0.07175315916538239 ]
http://arxiv.org/abs/2402.12372v2
http://arxiv.org/pdf/2402.12372v2
HunFlair2 in a cross-corpus evaluation of biomedical named entity recognition and normalization tools
2024-02-19T18:58:18
2024-02-20T13:10:27
Mario Sänger, Samuele Garda, Xing David Wang, Leon Weber-Genzel, Pia Droop, Benedikt Fuchs, Alan Akbik, Ulf Leser
cs.CL
cs.CL
With the exponential growth of the life science literature, biomedical text mining (BTM) has become an essential technology for accelerating the extraction of insights from publications. Identifying named entities (e.g., diseases, drugs, or genes) in texts and their linkage to reference knowledge bases are crucial steps in BTM pipelines to enable information aggregation from different documents. However, tools for these two steps are rarely applied in the same context in which they were developed. Instead, they are applied in the wild, i.e., on application-dependent text collections different from those used for the tools' training, varying, e.g., in focus, genre, style, and text type. This raises the question of whether the reported performance of BTM tools can be trusted for downstream applications. Here, we report on the results of a carefully designed cross-corpus benchmark for named entity extraction, where tools were applied systematically to corpora not used during their training. Based on a survey of 28 published systems, we selected five for an in-depth analysis on three publicly available corpora encompassing four different entity types. Comparison between tools results in a mixed picture and shows that, in a cross-corpus setting, the performance is significantly lower than the one reported in an in-corpus setting. HunFlair2 showed the best performance on average, being closely followed by PubTator. Our results indicate that users of BTM tools should expect diminishing performances when applying them in the wild compared to original publications and show that further research is necessary to make BTM tools more robust.
[ -0.1939612478017807, -0.6126306056976318, 0.20129461586475372, 0.20693166553974152, -0.2706215977668762, 0.19353190064430237, -0.19718727469444275, -0.9746869802474976, 0.18592838943004608, 0.5188112258911133, -0.10575253516435623, -0.6025757193565369, -0.7259026765823364, 0.48443374037742615, -0.5403794646263123, 1.1141248941421509, 0.019156713038682938, -0.05772579088807106, -0.4921317398548126, -0.34976834058761597, -0.1932094693183899, -0.35583770275115967, -0.4984954595565796, -0.3229673206806183, 0.7773364782333374, 0.19214767217636108, 0.6943018436431885, 0.5024595260620117, 0.8954954743385315, 0.1500665694475174, -0.265981525182724, 0.0986073836684227, -0.35285621881484985, 0.20244666934013367, -0.4042070209980011, -0.2974800169467926, -0.30791375041007996, -0.10531391948461533, 0.6183292269706726, 0.772861659526825, 0.20622333884239197, 0.15632084012031555, 0.1902080774307251, 0.6031025052070618, -0.7460916042327881, 0.005392937455326319, -0.5442602634429932, 0.08364603668451309, -0.5806734561920166, -0.1763252466917038, -0.19963639974594116, -0.3285984396934509, 0.4280542731285095, -0.5597094893455505, 0.3257935643196106, 0.08775223046541214, 1.1325541734695435, 0.15291139483451843, -0.42397016286849976, -0.2993433177471161, -0.6983534693717957, 0.696007490158081, -0.6252410411834717, 0.5571337938308716, 0.21378666162490845, 0.18632960319519043, -0.27030786871910095, -0.9622604250907898, -0.09943073987960815, 0.1277167946100235, -0.29764652252197266, 0.13546550273895264, -0.4044947028160095, 0.050089724361896515, 0.2595401704311371, 0.22617186605930328, -0.5799888372421265, 0.2906731963157654, -0.5233045220375061, -0.6449013352394104, 0.44736579060554504, -0.18422813713550568, 0.006805077660828829, -0.27476829290390015, -0.5898266434669495, -0.025774966925382614, -0.7193873524665833, 0.26058822870254517, 0.02105909213423729, 0.16474851965904236, 0.06143670901656151, 0.6310562491416931, 0.0068214149214327335, 0.44285619258880615, -0.11126634478569031, -0.19854696094989777, 0.3396261930465698, -0.2797069251537323, -0.42043793201446533, 0.3347896635532379, 0.7305507063865662, 0.1947353333234787, 0.08406160026788712, -0.5530169606208801, -0.15820589661598206, -0.08565545827150345, 0.2514987289905548, -1.0788781642913818, -0.26370033621788025, 0.34775617718696594, -0.4652300179004669, -0.38819465041160583, -0.02908654510974884, -0.9807878732681274, -0.42488715052604675, 0.06356127560138702, 0.382290780544281, -0.44010981917381287, -0.23635654151439667, -0.38066694140434265, -0.47576069831848145, 0.12808416783809662, 0.07937046140432358, -0.6319194436073303, 0.3580131232738495, 0.7636431455612183, 0.7713552117347717, -0.5511468648910522, -0.10170266032218933, -0.6926818490028381, 0.19969505071640015, -0.3876502513885498, 1.0390480756759644, -0.5577394962310791, -0.6972606778144836, 0.027024343609809875, 0.07022533565759659, -0.07749210298061371, -1.0015349388122559, 0.6585971713066101, -0.614082932472229, 0.061220090836286545, -0.39256012439727783, -0.8620476126670837, -0.13766223192214966, -0.08314020931720734, -0.7885751724243164, 1.2117880582809448, 0.3052799105644226, -1.1431374549865723, 0.7668784260749817, -0.5095714926719666, -0.49826130270957947, 0.24465864896774292, -0.26749467849731445, -0.5743266940116882, -0.0520910881459713, -0.06009596958756447, 0.44248706102371216, -0.2412414401769638, 0.08715970814228058, -0.6697639226913452, -0.4966667890548706, 0.20063094794750214, 0.020318884402513504, 0.8376893401145935, 0.11876378953456879, -0.5008493661880493, -0.059963490813970566, -0.6185527443885803, 0.0687868744134903, -0.3318268954753876, -0.3982941508293152, -0.7190224528312683, -0.18992306292057037, 0.4111064076423645, 0.12957164645195007, -0.1270708292722702, -0.7128362059593201, -0.11394961923360825, -0.5276813507080078, 0.1966812014579773, 0.3401242792606354, 0.19062525033950806, 0.32385995984077454, -0.20966529846191406, 0.3936373293399811, 0.15603366494178772, -0.12251824885606766, 0.22834524512290955, -0.6831835508346558, -0.3577243983745575, -0.49584922194480896, 0.8328565359115601, 0.4952150285243988, -0.38367196917533875, 0.4347119927406311, -0.29816943407058716, -0.6389670372009277, -0.4140477180480957, 0.2716814875602722, 0.35866454243659973, 0.5764332413673401, 0.4960722029209137, -0.19947175681591034, -0.7720603942871094, -1.0389760732650757, -0.7260716557502747, -0.09116437286138535, -0.07618622481822968, 0.3789048194885254, 0.49442538619041443, -0.7969620227813721, 1.0968220233917236, -0.08633440732955933, -0.11576563864946365, 0.08347971737384796, 0.3055803179740906, -0.22812581062316895, 0.4032230079174042, 0.6374873518943787, -0.7996715903282166, -0.2577369213104248, 0.12068036198616028, -0.7010377645492554, -0.3032311201095581, 0.16083957254886627, -0.36760520935058594, 0.30784502625465393, 0.4485381245613098, -0.4330676794052124, 0.6436831951141357, 0.5233639478683472, -0.24318699538707733, 0.4631730914115906, -0.032632943242788315, -0.07124107331037521, -0.8125701546669006, 0.6027824282646179, 0.016704784706234932, -0.29579970240592957, -0.4608561396598816, -0.1927473098039627, 0.17723442614078522, 0.10990950465202332, -0.39099887013435364, 0.916411280632019, -0.5071543455123901, -0.20257249474525452, -0.33459988236427307, 0.026196597144007683, 0.19205108284950256, -0.053903840482234955, 0.17268948256969452, 0.6030151844024658, 0.4413464069366455, -0.6553767323493958, 0.11015010625123978, 0.1888623833656311, -0.3162083327770233, 0.48285019397735596, -0.5923309922218323, -0.02883203700184822, 0.14954383671283722, 0.1615482121706009, -0.6486611366271973, -0.18060851097106934, 0.11484405398368835, -0.41189467906951904, 0.33728134632110596, 0.0566544272005558, -0.5412467122077942, -0.22198140621185303, -0.19987620413303375, 0.12804579734802246, 0.4112921357154846, -0.3798682689666748, 0.5054306983947754, 0.6075296401977539, -0.027337294071912766, -0.5159989595413208, -0.8988404273986816, 0.03798820823431015, -0.318387508392334, -0.47749921679496765, 0.7126640677452087, 0.24033120274543762, -0.30855828523635864, 0.2624465525150299, -0.5498091578483582, -0.3661055564880371, 0.12079659104347229, 0.5328327417373657, 0.350119948387146, -0.1347794532775879, 0.24231916666030884, 0.5380975604057312, 0.056770578026771545, 0.2619531750679016, -0.05985012277960777, -0.17714178562164307, 0.14468441903591156, 0.0349179171025753, -0.07385250926017761, 0.22551172971725464, 0.3838794231414795, -0.16110920906066895, 0.5774584412574768, 1.0091781616210938, -0.8086847066879272, 0.06044689565896988, -0.5174373388290405, -0.10489032417535782, -0.38346928358078003, 0.15369555354118347, -0.10235816240310669, -0.8832114338874817, 0.44753074645996094, -0.36918333172798157, 0.14363962411880493, 0.6156712770462036, 0.5538561344146729, -0.2619016468524933, 0.41752952337265015, 0.6719974279403687, 0.20065034925937653, 0.20624184608459473, -0.12018612027168274, 0.06479912996292114, -0.7705799341201782, -0.48972538113594055, -0.7142146825790405, -0.44980740547180176, -0.7842870354652405, -0.34607994556427, 0.3513743281364441, 0.21205414831638336, 0.18523883819580078, 0.5231783390045166, -0.2922181487083435, -0.06441222876310349, 0.5047322511672974, -0.07201826572418213, 0.21490515768527985, 0.16367939114570618, -0.39690345525741577, 0.041911277920007706, -0.5820651650428772, -0.5628491640090942, 1.1906273365020752, 0.2549933195114136, 0.35676896572113037, -0.18789182603359222, 0.9388766884803772, 0.2886457145214081, 0.6582532525062561, -0.7323658466339111, 0.16842947900295258, -0.12508231401443481, -1.0813103914260864, -0.2649597227573395, -0.44731974601745605, -1.3791179656982422, -0.006897263694554567, -0.3980734050273895, -0.6071786284446716, 0.5573924779891968, -0.18232659995555878, -0.5628554224967957, 0.1258271187543869, -0.6304419636726379, 0.8963074684143066, -0.022004857659339905, -0.2943601906299591, -0.061209045350551605, -0.7044574022293091, 0.14470326900482178, -0.43634840846061707, 0.22812139987945557, -0.08555791527032852, -0.2609599232673645, 1.2497104406356812, -0.3184496760368347, 0.3667157292366028, -0.11944008618593216, 0.12536241114139557, 0.4084930419921875, 0.031754348427057266, 0.21482762694358826, 0.24744346737861633, -0.15416912734508514, 0.6590155363082886, 0.5600035190582275, -0.49537497758865356, -0.32049405574798584, 0.8671054244041443, -0.5872798562049866, -0.17834271490573883, -0.48416271805763245, -0.24447742104530334, -0.39283573627471924, 0.5644903182983398, 0.5383845567703247, 0.33137091994285583, -0.25178062915802, 0.4550861120223999, 0.626535177230835, -0.0987951010465622, 0.36504343152046204, 0.34532463550567627, -0.24094349145889282, -0.4932635426521301, 0.5389729738235474, 0.21788351237773895, -0.007482205517590046, 0.6401828527450562, 0.11411761492490768, -0.34441640973091125, -0.5868544578552246, -0.2594441771507263, 0.09708472341299057, -0.39625442028045654, -0.4005867838859558, -0.824697732925415, -0.15724681317806244, -0.6023876070976257, 0.1255737543106079, -0.15566754341125488, -0.34911221265792847, -0.21567685902118683, -0.15211424231529236, 0.36883947253227234, 0.36542823910713196, -0.09442136436700821, -0.09149250388145447, -1.0801753997802734, 0.26692870259284973, 0.1339961737394333, 0.34648433327674866, -0.4539456367492676, -0.27078956365585327, -0.5821384787559509, -0.045086830854415894, -0.07973659783601761, -0.9110448956489563, 0.23740649223327637, 0.25942865014076233, 0.6958709359169006, 0.4717358350753784, 0.030221950262784958, 0.6218882203102112, -0.2023329883813858, 0.3824288547039032, -0.28762707114219666, -0.5462421774864197, 0.40833398699760437, -0.022380007430911064, -0.05370146781206131, 0.7433115839958191, 0.5020647644996643, -0.4286509156227112, -0.3021765649318695, -0.726775586605072, -0.7710193991661072, 0.4548022150993347, 0.563204288482666, -0.394964337348938, 0.10403329133987427, 0.47666752338409424, 0.4060516059398651, 0.18838390707969666, -0.11660239100456238, -0.3646475672721863, -0.0676453709602356, 0.016756301745772362, 0.14250436425209045, -0.1663590967655182, -0.16459804773330688, -0.12997573614120483, 0.5393762588500977, 0.06781184673309326, 0.37199777364730835, 0.5428755879402161, -0.19189824163913727, -0.16850025951862335, 0.08803167939186096, 0.13070650398731232, 0.3153868317604065, -0.49656376242637634, 0.11809161305427551, -0.026038339361548424, -0.8099875450134277, -0.2615882158279419, 0.4682462513446808, -0.1754641830921173, 0.40414100885391235, 0.6298822164535522, 0.4800665080547333, 0.4965885579586029, -0.831087589263916, 0.33534279465675354, 0.13803726434707642, -0.08319107443094254, -0.029604904353618622, 0.06658244878053665, -0.044812124222517014, 0.15292415022850037, 0.225385844707489, 0.4287433326244354, 0.6005749106407166, -0.3862685263156891, 0.40570366382598877, 0.32604146003723145, -0.6363229155540466, -0.3395291268825531, 0.559935986995697, 0.22259752452373505, -0.10595962405204773, 0.3631456196308136, -0.11190123856067657, -0.1380351483821869, 0.6064658761024475, 0.19943532347679138, 0.9961957931518555, 0.05975934490561485, -0.0014771451242268085, 0.22441060841083527, 0.14750048518180847, 0.1876201629638672, 0.10626037418842316, -0.008949563838541508, -0.5395527482032776, -0.20762161910533905, -0.6751329898834229, -0.45597830414772034, 0.10236630588769913, -0.8157334327697754, 0.44043394923210144, -0.16196522116661072, -0.5439878702163696, 0.5154039859771729, 0.2174527645111084, -0.8359745144844055, 0.2371281236410141, 0.18789803981781006, 1.2023351192474365, -0.5810259580612183, 0.922453761100769, 1.0666879415512085, -0.10483387857675552, -0.6193146109580994, 0.08991317451000214, 0.13310356438159943, -0.3051307201385498, 0.5528419613838196, 0.2631411552429199, 0.11690808087587357, -0.1795279085636139, -0.0735614225268364, -0.8040629625320435, 1.1962745189666748, 0.20429185032844543, -0.58905428647995, -0.24481922388076782, 0.044614873826503754, 0.7448742985725403, -0.14264796674251556, 0.36171042919158936, 0.5554759502410889, 0.6560123562812805, -0.0657150149345398, -1.093389630317688, 0.07073092460632324, -0.346809446811676, 0.05980546027421951, 0.03926889970898628, -0.371503621339798, 0.3602745532989502, -0.167945995926857, -0.34434688091278076, 0.006391465198248625, 0.5959973335266113, 0.24842461943626404, 0.7885307669639587, 0.3709737956523895, 0.47967976331710815, 0.8846611976623535, 0.032774683088064194, 0.7933727502822876, -0.30590227246284485, 0.3492336571216583, 0.7208110690116882, -0.4080624282360077, 0.7978081703186035, 0.5374005436897278, -0.25821828842163086, 0.7288435101509094, 0.7511691451072693, 0.06399326771497726, 0.49407604336738586, -0.0034887902438640594, 0.007188231218606234, -0.1653524786233902, -0.008727499283850193, -0.48465949296951294, 0.3831283152103424, 0.401364266872406, -0.419295072555542, -0.31270071864128113, 0.059867192059755325, 0.08858457952737808, -0.19847875833511353, -0.09325218200683594, 0.6857478618621826, 0.17181216180324554, -0.552478551864624, 0.4788990318775177, 0.03978541120886803, 0.6110825538635254, -0.38919156789779663, 0.09781378507614136, -0.10698910802602768, 0.13364236056804657, -0.49471089243888855, -0.573580801486969, 0.6478073596954346, 0.07339534908533096, -0.1637088656425476, 0.18216077983379364, 0.9629959464073181, -0.16813446581363678, -0.4752548038959503, 0.5106297731399536, 0.6169875264167786, 0.29783904552459717, -0.15102364122867584, -0.6197823882102966, -0.08578900247812271, -0.32254496216773987, -0.26860663294792175, 0.3998958170413971, 0.6824342608451843, -0.2926044166088104, 0.4269464313983917, 0.6628994941711426, 0.24829593300819397, -0.05093264579772949, -0.14231060445308685, 0.7065593004226685, -0.7308102250099182, -0.12936364114284515, -0.684304416179657, 0.10915210843086243, -0.20772887766361237, -0.3905687928199768, 0.7733951807022095, 1.0676920413970947, 0.7521873116493225, 0.11148018389940262, 0.7102202773094177, 0.0032121858093887568, 0.8405167460441589, -0.21735364198684692, 0.7841135263442993, -0.4096260070800781, 0.1372065395116806, -0.3165273368358612, -0.8300663232803345, -0.37903666496276855, 0.193275585770607, -0.07450684905052185, -0.016534294933080673, 0.98264479637146, 0.6693514585494995, 0.12253087013959885, 0.017629684880375862, 0.10356812179088593, 0.18783514201641083, 0.2727629840373993, 0.2825126349925995, 0.2516249716281891, -0.5029840469360352, 0.6839497685432434, -0.5151858925819397, -0.2159327119588852, -0.4346526265144348, -0.7857159376144409, -0.8702376484870911, -0.2595912516117096, -0.5074334144592285, -0.5039141178131104, 0.23618219792842865, 0.7039185762405396, 0.7452494502067566, -0.9812687039375305, 0.12631145119667053, 0.01288680825382471, 0.07987228035926819, -0.5149767994880676, -0.22361813485622406, 0.3398665487766266, -0.08430007100105286, -0.6032894849777222, 0.27780017256736755, 0.46703699231147766, -0.06237363442778587, -0.2053891122341156, 0.015204157680273056, 0.008779692463576794, 0.09266532212495804, 0.46833208203315735, 0.415746808052063, -0.6100755929946899, -0.07720986008644104, 0.35202327370643616, -0.4666326642036438, -0.030283501371741295, 0.7881702184677124, -1.0941736698150635, 0.3291124701499939, 0.5655027031898499, 0.8099156618118286, 0.44667595624923706, -0.07406141608953476, 0.1272897869348526, -0.43135958909988403, -0.11447382718324661, 0.4019218683242798, 0.28874021768569946, 0.29057565331459045, -0.4917565584182739, 0.5163684487342834, 0.5999793410301208, -0.599417507648468, -0.94980788230896, -0.3061942160129547, -1.1697403192520142, -0.06723331660032272, 1.3394901752471924, -0.1254749298095703, -0.29548338055610657, -0.3343658149242401, -0.04765996336936951, 0.4020366668701172, -0.494202196598053, 0.7606073617935181, 0.6135989427566528, -0.3398189842700958, 0.41824474930763245, -0.41116467118263245, 0.7166150212287903, 0.27491655945777893, -0.8354520797729492, -0.17716611921787262, 0.18618659675121307, 0.39464667439460754, 0.1918053776025772, 0.4813857078552246, -0.413432240486145, 0.3960729241371155, -0.14853015542030334, 0.06661409139633179, 0.015216855332255363, -0.2108638733625412, -0.1624489426612854, -0.02135750837624073, -0.14278346300125122, 0.035280030220746994 ]
http://arxiv.org/abs/2402.12370v1
http://arxiv.org/pdf/2402.12370v1
AnaloBench: Benchmarking the Identification of Abstract and Long-context Analogies
2024-02-19T18:56:44
2024-02-19T18:56:44
Xiao Ye, Andrew Wang, Jacob Choi, Yining Lu, Shreya Sharma, Lingfeng Shen, Vijay Tiyyala, Nicholas Andrews, Daniel Khashabi
cs.CL
cs.CL, cs.AI
Humans regularly engage in analogical thinking, relating personal experiences to current situations ($X$ is analogous to $Y$ because of $Z$). Analogical thinking allows humans to solve problems in creative ways, grasp difficult concepts, and articulate ideas more effectively. Can language models (LMs) do the same? To answer this question, we propose ANALOBENCH, a benchmark to determine analogical reasoning ability in LMs. Our benchmarking approach focuses on aspects of this ability that are common among humans: (i) recalling related experiences from a large amount of information, and (ii) applying analogical reasoning to complex and lengthy scenarios. We test a broad collection of proprietary models (e.g., GPT family, Claude V2) and open source models such as LLaMA2. As in prior results, scaling up LMs results in some performance boosts. Surprisingly, scale offers minimal gains when, (i) analogies involve lengthy scenarios, or (ii) recalling relevant scenarios from a large pool of information, a process analogous to finding a needle in a haystack. We hope these observations encourage further research in this field.
[ -0.3370867073535919, -0.5765161514282227, 0.6610744595527649, -0.1665436178445816, -0.1664789319038391, 0.07912315428256989, -0.20174580812454224, -0.6387680768966675, 0.04068930447101593, 0.22875458002090454, -0.3207109868526459, -0.32055169343948364, -0.10518350452184677, 0.10094290971755981, -0.5838062763214111, 0.6081959009170532, -0.08289644867181778, -0.05513450875878334, -0.0982845202088356, -0.465048611164093, -0.5193300247192383, -0.4137195348739624, -0.7821868062019348, -0.40950098633766174, 0.33982449769973755, -0.0666956752538681, 0.7839314341545105, 0.9488760828971863, 0.21623288094997406, 0.34840524196624756, -0.15832728147506714, -0.17516759037971497, -0.40063443779945374, 0.10917560011148453, -0.5761138200759888, -0.6522282361984253, -0.24223092198371887, -0.011441412381827831, 0.5330663323402405, 1.008204698562622, -0.3322809934616089, 0.32493293285369873, -0.12769301235675812, 0.5400218367576599, -0.8910227417945862, -0.0752943679690361, -0.85984206199646, -0.15188506245613098, 0.03892903029918671, 0.03547629341483116, -0.14846311509609222, -0.636102557182312, -0.009348297491669655, -0.774864912033081, -0.04298146814107895, 0.3511359393596649, 0.7109707593917847, 0.13554121553897858, -0.21989601850509644, -0.4933207333087921, -0.8327012062072754, 0.5920750498771667, -0.9387128353118896, 0.4406525194644928, 0.4050394594669342, 0.35102418065071106, -0.013610352762043476, -0.845603883266449, -0.6237562894821167, -0.26360154151916504, -0.29201123118400574, -0.06289646774530411, -0.45439302921295166, -0.13728900253772736, 0.36918896436691284, 0.22695069015026093, -0.7688769102096558, 0.19594985246658325, -0.5709639191627502, 0.19338539242744446, 0.43665528297424316, 0.3881993591785431, 0.026231564581394196, 0.006178324110805988, -0.35462209582328796, -0.19089758396148682, -0.6884773373603821, 0.18102742731571198, 0.32058990001678467, 0.01623530127108097, 0.09006797522306442, 0.20960943400859833, -0.27513718605041504, 0.6611829400062561, -0.08219175785779953, 0.19119992852210999, 0.28177863359451294, -0.12920072674751282, 0.025735387578606606, -0.08608528226613998, 0.5403001308441162, 0.5893905162811279, 0.37527963519096375, -0.2778970003128052, -0.3407147228717804, 0.22109338641166687, 0.4333401620388031, -0.6776619553565979, -0.2581270933151245, 0.19915270805358887, -0.4002751410007477, -0.032994356006383896, -0.10187045484781265, -0.7358692288398743, -0.6144996881484985, -0.4317750632762909, 0.7161815166473389, -0.5234882235527039, -0.24724696576595306, 0.11031055450439453, -0.17712610960006714, 0.05843394622206688, 0.007976852357387543, -0.8138042092323303, 0.8795115947723389, 0.8951718211174011, 0.8213740587234497, -0.09836886823177338, -0.37374457716941833, -0.29076632857322693, -0.07502585649490356, -0.6492223739624023, 1.0815393924713135, -0.6237333416938782, -0.3131564259529114, 0.01925259456038475, -0.38299083709716797, -0.010731769725680351, -1.2300394773483276, 0.5776070356369019, -0.21463008224964142, -0.17078115046024323, -0.14475712180137634, -0.7463518381118774, -0.18633589148521423, 0.3656473159790039, -0.7229596972465515, 1.1678322553634644, 0.032191477715969086, -0.6656061410903931, 0.1484723836183548, -0.3250378370285034, -0.09823688119649887, -0.049682050943374634, -0.421947717666626, -0.15053030848503113, 0.3395865559577942, -0.040811195969581604, 0.12007004022598267, -0.6864149570465088, 0.17791952192783356, -0.446039080619812, -0.662755012512207, 0.4805140793323517, 0.03181072697043419, 0.6438246965408325, 0.17316564917564392, -0.24855220317840576, 0.11571530252695084, -0.6978052854537964, 0.256671279668808, 0.1867062896490097, 0.09740637987852097, -0.9150056838989258, 0.042397916316986084, -0.21860823035240173, 0.18670915067195892, -0.0512591190636158, -0.40638086199760437, 0.1685926765203476, -0.4738081991672516, 0.4392322301864624, 0.677131175994873, -0.10434088110923767, 0.1090424656867981, -0.605523407459259, 0.6073477268218994, -0.15793226659297943, -0.3176264762878418, -0.4358876347541809, 0.014888332225382328, -0.6559799909591675, -0.29977139830589294, 0.4086516201496124, 0.40559646487236023, -0.37913957238197327, 0.38773781061172485, -0.3136396110057831, -0.6341574192047119, -0.6098840832710266, -0.014104987494647503, 0.4110567569732666, 0.44173505902290344, 0.15723687410354614, -0.45065295696258545, -0.5945719480514526, -1.1945011615753174, -0.5968278646469116, -0.41624972224235535, -0.5762817859649658, 0.25809457898139954, 0.5807549357414246, 0.07637681066989899, 0.9596754312515259, -0.553246021270752, -0.17620371282100677, 0.10049556940793991, 0.4635935425758362, 0.30098843574523926, -0.01995466649532318, 0.5136140584945679, -0.540798008441925, -0.2406771034002304, 0.02950979955494404, -0.8136210441589355, -0.5208631753921509, -0.12451204657554626, 0.10792515426874161, -0.1770913153886795, 0.860188364982605, -0.5475615859031677, 0.33201053738594055, 0.38204628229141235, -0.30397605895996094, 0.801231861114502, -0.28296998143196106, 0.02003324031829834, -0.7698746919631958, 0.681026816368103, -0.05670139938592911, -0.058484528213739395, -0.45471811294555664, 0.3072931170463562, 0.24451124668121338, -0.13754400610923767, -0.35559457540512085, 0.9982969760894775, -0.4554751217365265, -0.12627571821212769, -0.26389026641845703, 0.24874503910541534, -0.11235246062278748, 0.4301159977912903, 0.07047630846500397, 0.8654683828353882, 0.32328736782073975, -0.4388556480407715, 0.26899635791778564, -0.2503628730773926, -0.6860670447349548, 0.9205308556556702, -0.8107433915138245, 0.11677131801843643, -0.048833683133125305, 0.4693072736263275, -1.0478153228759766, 0.19689781963825226, -0.10022973269224167, -0.10934171080589294, -0.1778000444173813, 0.188264399766922, -0.7409548759460449, -0.4083315432071686, -0.48127850890159607, 0.721867561340332, 0.6320860981941223, -0.44048011302948, 0.8812428712844849, 0.15723173320293427, -0.482128769159317, -0.32848483324050903, -0.10109258443117142, -0.08278646320104599, -0.5727561116218567, 0.10761772841215134, 0.2121497243642807, -0.061304014176130295, -0.5775777697563171, 0.17831358313560486, -0.1338556706905365, -0.18109571933746338, 0.04887992888689041, 0.1998443305492401, 0.019266245886683464, -0.25409623980522156, 0.3732890784740448, -0.15344148874282837, -0.13504689931869507, 0.3743055760860443, 0.013425419107079506, 0.3406447172164917, -0.23485933244228363, -0.23129232227802277, 0.08433835208415985, 0.47842997312545776, 0.4318371117115021, -0.22694239020347595, 0.4208449721336365, 0.08323067426681519, -0.5797051191329956, -0.22008652985095978, -0.5719739198684692, -0.3052771985530853, -0.462706983089447, 0.478934109210968, -0.4573785662651062, -0.37916481494903564, 0.7822012305259705, -0.45603007078170776, 0.1675407588481903, -0.013561572879552841, 0.4332983195781708, -0.1849355846643448, 0.5892800688743591, 0.28010502457618713, -0.024364590644836426, 0.09159672260284424, -0.0021351762115955353, 0.3174273371696472, -0.9415218830108643, 0.17213726043701172, -0.4311518371105194, -0.5103784203529358, -0.2754764258861542, -0.41918063163757324, 0.41805124282836914, 0.14358946681022644, -0.26749375462532043, 0.45081546902656555, -0.12943479418754578, 0.6639878153800964, 0.4234476685523987, -0.11965516954660416, 0.47423693537712097, -0.4781271815299988, -0.41500571370124817, -0.03295837342739105, -0.49000421166419983, -0.5316744446754456, 1.2284159660339355, 0.23287208378314972, 0.7308557033538818, 0.04484928771853447, 0.3773968815803528, 0.08926386386156082, 0.7038163542747498, -0.5490962862968445, 0.7735975980758667, 0.09149085730314255, -0.9641719460487366, -0.11074532568454742, -0.21678584814071655, -1.1050225496292114, 0.664885401725769, -0.2799825966358185, -1.2700449228286743, 0.010802030563354492, 0.38846081495285034, -0.2594338357448578, 0.402874618768692, -0.5858460068702698, 0.7221314311027527, -0.154478520154953, -0.37349918484687805, -0.41593921184539795, -0.6502270698547363, 0.27283909916877747, -0.5367419123649597, 0.437477171421051, -0.26276835799217224, -0.16018420457839966, 0.7026068568229675, -0.015022117644548416, 0.7237625122070312, 0.3114606440067291, 0.1177951842546463, 0.24176150560379028, 0.4357213079929352, 0.33866775035858154, -0.42808082699775696, -0.25414708256721497, 0.20210057497024536, 0.2352854162454605, -0.14828543365001678, -0.9327104687690735, 0.678562343120575, -0.3781099319458008, -0.5551371574401855, -0.32314634323120117, -0.5822548866271973, -0.2694786787033081, 0.1897040158510208, 0.06680485606193542, 0.20707911252975464, -0.5200133919715881, 0.22967910766601562, 0.3687385618686676, 0.05742917209863663, 0.23770689964294434, 0.6347095966339111, -0.38955339789390564, -0.11459285020828247, 0.5927144289016724, 0.0637560486793518, 0.2031216025352478, 0.4336967468261719, 0.2922042906284332, -0.3872917592525482, -0.2432040125131607, -0.45270708203315735, 0.40533363819122314, -0.7814213037490845, -0.23564788699150085, -0.6185562610626221, 0.04811958596110344, 0.06735733151435852, -0.07754147797822952, -0.6960698366165161, -0.4079475700855255, 0.3103642463684082, -0.06491208076477051, 0.12434129416942596, 0.610942006111145, -0.11248413473367691, 0.09015549719333649, -0.1981315314769745, 0.5225019454956055, 0.34664419293403625, 0.6131203770637512, 0.4308529198169708, -0.44585567712783813, -0.2971738278865814, -0.12038888037204742, -0.6513699889183044, -0.8842021226882935, 0.16353172063827515, 0.12431976199150085, 0.6254832744598389, 0.510485827922821, 0.22864645719528198, 0.5734275579452515, -0.805427610874176, 0.3246651291847229, -0.0878046452999115, -0.9553634524345398, 0.18477870523929596, -0.26601842045783997, 0.5197325348854065, 0.5939211845397949, 0.6612190008163452, -0.7206705808639526, -0.4418832063674927, -0.48248302936553955, -1.0289242267608643, 0.18988783657550812, 0.3651273250579834, -0.14969171583652496, 0.1006159782409668, 0.2306063026189804, 0.3384871184825897, 0.292596697807312, -0.6968391537666321, -0.11706062406301498, 0.1446692943572998, -0.16159681975841522, -0.27445077896118164, 0.11753027141094208, -0.1294238269329071, -0.31018760800361633, 0.2422429621219635, 0.03213322535157204, 0.15354523062705994, -0.24455775320529938, 0.0877339243888855, -0.07686025649309158, 0.3965647518634796, 0.4187885522842407, 1.0080169439315796, -0.4360528886318207, 0.4977576732635498, 0.459106981754303, 0.041447438299655914, 0.27223140001296997, 0.29527920484542847, 0.1506023406982422, 0.005642757751047611, 0.48298218846321106, 0.43766528367996216, 0.5746493935585022, -1.3731553554534912, 0.29182443022727966, 0.09951120615005493, -0.0538240410387516, -0.4106307029724121, 0.04103946313261986, 0.4833885431289673, 0.24249760806560516, 0.5351301431655884, -0.3582773208618164, 0.4265936613082886, -0.9086258411407471, 0.04045994579792023, 0.37405267357826233, -0.09200284630060196, -0.5264225006103516, 0.7916746139526367, 0.09630955010652542, -0.5399863719940186, 0.3946652114391327, 0.16943047940731049, -0.2740997076034546, 0.6291994452476501, 0.5604938864707947, 0.8106501698493958, -0.38528352975845337, -0.35573193430900574, 0.5396462678909302, 0.17958712577819824, -0.058911655098199844, -0.09232018887996674, 0.03646456077694893, -0.47034668922424316, -0.07427461445331573, -0.4468165934085846, -0.46745580434799194, 0.5292829871177673, -0.9042672514915466, 0.24172809720039368, -0.35538405179977417, -0.1406896710395813, 0.3090454041957855, -0.31617996096611023, -0.7721781134605408, 0.16189876198768616, -0.03553427755832672, 0.9139712452888489, -1.3161511421203613, 0.5733129978179932, 0.857783317565918, 0.0661625787615776, -0.5354518890380859, -0.015299477614462376, 0.17577248811721802, -0.6426238417625427, 0.4372197091579437, 0.30207592248916626, -0.31518372893333435, -0.25342071056365967, -0.07174394279718399, -0.6871925592422485, 0.9000610709190369, 0.18083694577217102, -0.551719605922699, -0.08028803020715714, -0.15043911337852478, 0.9840143322944641, -0.5792104601860046, 0.5159958600997925, 0.8915237784385681, 0.2097366601228714, -0.15613210201263428, -1.266093134880066, 0.18129299581050873, -0.5145390033721924, 0.10144126415252686, 0.2935415208339691, -0.2307371348142624, 0.8656152486801147, -0.28171220421791077, -0.37520837783813477, 0.3762649595737457, 0.3680190443992615, 0.4946281611919403, 0.40934672951698303, 0.626528263092041, 0.5384091734886169, 0.3967722952365875, 0.37453389167785645, 0.9182344079017639, -0.15293113887310028, 0.0677822008728981, 1.5498732328414917, -0.5186828970909119, 1.2759047746658325, 0.5560541749000549, -0.19598469138145447, 0.5589997172355652, 0.3785441815853119, 0.3916875720024109, 0.5402945876121521, 0.4595364034175873, -0.04020315036177635, -0.009198956191539764, 0.0399734266102314, -0.40131399035453796, 0.36497825384140015, 0.4927368462085724, -0.41359570622444153, -0.3399057984352112, -0.30466020107269287, -0.013566335663199425, 0.5945740938186646, 0.0654539242386818, 0.8165913224220276, 0.11789672076702118, -0.7118751406669617, 0.8812887072563171, -0.17094743251800537, 0.28141719102859497, -0.5862402319908142, -0.23405048251152039, -0.31895962357521057, 0.40695610642433167, 0.3113897442817688, -0.7484180331230164, 0.17002306878566742, -0.08238881826400757, 0.06312654167413712, 0.21262100338935852, 0.21129581332206726, -0.2627570629119873, -0.46161845326423645, 0.38412123918533325, 0.4998040497303009, 0.2944386303424835, 0.1157703623175621, -0.4646959602832794, 0.23569256067276, -0.3200826346874237, -0.1507936418056488, 0.2636755108833313, 0.4944721460342407, -0.32729920744895935, 1.0790263414382935, 0.1303471326828003, 0.3115861713886261, -0.15754112601280212, -0.4400464594364166, 0.8995110988616943, -0.803815484046936, -0.6316238641738892, -0.6336504220962524, 0.24187812209129333, -0.12334057688713074, -0.5251277685165405, 0.4062430262565613, 0.8500804305076599, 1.1008729934692383, -0.11720525473356247, 0.5517720580101013, 0.24972887337207794, 0.9819849729537964, -0.359436571598053, 0.4190356731414795, -0.5823454856872559, 0.326805055141449, -0.3017745316028595, -1.106458306312561, -0.0552908219397068, 0.8436570167541504, -0.5301802754402161, -0.0010801473399624228, 0.9756441116333008, 0.822325587272644, -0.4818022549152374, -0.14133821427822113, 0.3645513355731964, 0.3372400403022766, 0.08343589305877686, 0.6975685954093933, 0.87099289894104, -0.24487519264221191, 0.5077745914459229, 0.01577639952301979, -0.23892779648303986, -0.36843377351760864, -0.9909726977348328, -0.9214086532592773, -0.7074851989746094, -0.09845991432666779, 0.0669298842549324, 0.3347417116165161, 0.991717517375946, 0.6912155151367188, -0.39462846517562866, -0.6731787919998169, 0.1762997806072235, -0.2332613319158554, -0.6153974533081055, -0.13289692997932434, 0.3700183629989624, 0.23151376843452454, -0.5286847352981567, -0.009213073179125786, 0.11137473583221436, -0.14709751307964325, -0.2093954086303711, 0.15042908489704132, -0.08323445171117783, 0.5079343318939209, 0.3968815803527832, 0.6113268733024597, -1.0674550533294678, -0.2556971609592438, -0.2868506610393524, -0.002064984291791916, 0.09412021934986115, 1.0160695314407349, -1.0508157014846802, 0.78416508436203, 0.06315906345844269, 0.4275773763656616, 0.4632655084133148, 0.2484741061925888, 0.6090805530548096, -0.48837897181510925, 0.3151330053806305, 0.34982267022132874, 0.22023089230060577, 0.22523130476474762, 0.2931457757949829, 0.6638559103012085, -0.28322964906692505, -0.35406726598739624, -0.9996324181556702, 0.34093767404556274, -0.7451758980751038, -0.7051483988761902, 0.9603743553161621, -0.26009148359298706, -0.051417384296655655, 0.0034941965714097023, -0.270816445350647, -0.2848481833934784, -0.17989970743656158, 1.1525540351867676, 0.6852527856826782, -0.21971395611763, -0.18121080100536346, -0.6240402460098267, 0.21670962870121002, 0.5465025901794434, -0.7954682111740112, 0.3262951672077179, 0.2986201345920563, 0.2990841269493103, 0.07689712196588516, 0.5834811329841614, 0.08013549447059631, 0.3679347038269043, 0.15500660240650177, -0.04127884656190872, 0.1529870480298996, -0.1394844651222229, -0.09173993021249771, -0.000384198734536767, 0.13908283412456512, 0.012760141864418983 ]
http://arxiv.org/abs/2402.12368v2
http://arxiv.org/pdf/2402.12368v2
A synthetic data approach for domain generalization of NLI models
2024-02-19T18:55:16
2024-06-28T10:36:27
Mohammad Javad Hosseini, Andrey Petrov, Alex Fabrikant, Annie Louis
cs.CL
cs.CL
Natural Language Inference (NLI) remains an important benchmark task for LLMs. NLI datasets are a springboard for transfer learning to other semantic tasks, and NLI models are standard tools for identifying the faithfulness of model-generated text. There are several large scale NLI datasets today, and models have improved greatly by hill-climbing on these collections. Yet their realistic performance on out-of-distribution/domain data is less well-understood. We explore the opportunity for synthetic high-quality datasets to adapt NLI models for zero-shot use in downstream applications across new and unseen text domains. We demonstrate a new approach for generating NLI data in diverse domains and lengths, so far not covered by existing training sets. The resulting examples have meaningful premises, the hypotheses are formed in creative ways rather than simple edits to a few premise tokens, and the labels have high accuracy. We show that models trained on this data ($685$K synthetic examples) have the best generalization to completely new downstream test settings. On the TRUE benchmark, a T5-small model trained with our data improves around $7\%$ on average compared to training on the best alternative dataset. The improvements are more pronounced for smaller models, while still meaningful on a T5 XXL model. We also demonstrate gains on test sets when in-domain training data is augmented with our domain-general synthetic data.
[ -0.26040899753570557, -0.6234541535377502, 0.6443449258804321, 0.00657301489263773, -0.05053981393575668, 0.13092128932476044, -0.2765827178955078, -0.4874533414840698, 0.06901621073484421, 0.7272015810012817, -0.7239658832550049, -0.7538809776306152, -0.3900772035121918, 0.23225390911102295, -0.48619580268859863, 0.8866308331489563, -0.013554548844695091, -0.2392626404762268, 0.06826747953891754, -0.2336111217737198, -0.3686014711856842, -0.5669527053833008, -0.434315025806427, -0.3662945628166199, 0.516840934753418, 0.03538285568356514, 0.5534330606460571, 0.6434481143951416, 0.2322261780500412, 0.14127792418003082, 0.16233399510383606, 0.5111532211303711, -0.5070222020149231, -0.019553715363144875, -0.38572800159454346, -0.47721102833747864, -0.4092463552951813, 0.211312398314476, 0.6751319169998169, 1.1916530132293701, 0.1464228481054306, 0.1890949159860611, -0.05726461485028267, 0.503322958946228, -0.7790966033935547, -0.11715476214885712, -0.872482180595398, 0.12941646575927734, -0.07378129661083221, -0.14504212141036987, -0.7030435800552368, -0.2930228114128113, 0.3011263906955719, -0.9892831444740295, 0.6663074493408203, 0.1643945723772049, 0.9349414110183716, 0.11382011324167252, -0.5607986450195312, -0.14965958893299103, -1.0655049085617065, 1.2608389854431152, -1.0290604829788208, 0.3851560354232788, 0.1278911530971527, 0.45520323514938354, -0.2981013059616089, -0.7562662363052368, -0.6811990141868591, -0.07853998988866806, -0.042939089238643646, 0.19007302820682526, -0.18138042092323303, -0.1049451157450676, 0.20618677139282227, 0.3121708631515503, -0.6429303884506226, 0.0863790512084961, -0.17955203354358673, 0.12279891967773438, 0.9256054162979126, 0.13518571853637695, 0.20388856530189514, 0.1628345400094986, -0.20585620403289795, -0.1421048641204834, -0.9614104628562927, -0.4308905005455017, 0.31862619519233704, 0.6248483657836914, -0.008248396217823029, 0.6261823177337646, -0.3519544303417206, 0.9011866450309753, -0.11011791974306107, 0.005980449263006449, 0.25368019938468933, -0.5215928554534912, -0.512757420539856, -0.08911021053791046, 0.5485608577728271, 0.31088829040527344, 0.5986146330833435, -0.5417513251304626, -0.2369813621044159, 0.1335022896528244, 0.3347451686859131, -0.5578500628471375, -0.08605348318815231, 0.20980437099933624, -0.29487326741218567, -0.29876410961151123, 0.02746802754700184, -0.5833396911621094, -0.21956926584243774, -0.8753109574317932, 0.38829684257507324, -0.5175310373306274, -0.17871703207492828, 0.19498763978481293, -0.3341553509235382, 0.4129619598388672, 0.18750368058681488, -0.8275014162063599, 0.4626626670360565, 0.6559325456619263, 0.7126790881156921, -0.43011513352394104, -0.1313149780035019, -0.4401850700378418, 0.493146151304245, -0.634609043598175, 0.8028901219367981, -0.39973026514053345, -0.3124982714653015, 0.11179221421480179, -0.018778033554553986, -0.3402841091156006, -0.9903019070625305, 0.5535593628883362, -0.4562358260154724, 0.08289483189582825, 0.2312147617340088, -0.8879411220550537, -0.03275620937347412, 0.15654370188713074, -0.62337726354599, 0.8803776502609253, 0.19551903009414673, -0.43400928378105164, 0.40375590324401855, -0.6214398145675659, -0.33839383721351624, -0.16231422126293182, 0.12501654028892517, -0.24658164381980896, 0.27758148312568665, 0.17120304703712463, 0.25702372193336487, -0.2576097846031189, 0.32055988907814026, -0.530579149723053, -0.44773492217063904, 0.2505693733692169, -0.452665776014328, 0.4969073235988617, 0.061803001910448074, -0.07124128937721252, -0.2072780877351761, -0.9983323216438293, 0.30895179510116577, -0.052065711468458176, -0.0493743009865284, -0.574985682964325, -0.14273789525032043, 0.03797538951039314, -0.21987706422805786, -0.35614854097366333, -0.6746999621391296, 0.24641364812850952, -0.6847291588783264, 0.23888026177883148, 0.4868173897266388, 0.3727251887321472, 0.6663652062416077, -0.3201703727245331, 0.34011152386665344, -0.07358455657958984, 0.02681204490363598, 0.20359750092029572, -0.43512052297592163, -0.8234359622001648, -0.18120445311069489, 0.6866070628166199, 0.4346316456794739, -0.7931851744651794, 0.3332020938396454, -0.5363895893096924, -0.3010837733745575, -0.4654529094696045, 0.012156210839748383, 0.004601211752742529, 0.37375345826148987, 0.4362889528274536, 0.045381203293800354, -0.6523812413215637, -1.0535129308700562, -0.4806094169616699, 0.19608339667320251, -0.541678249835968, 0.18270467221736908, 0.4721015393733978, -0.38904422521591187, 1.375174880027771, -0.6030262112617493, -0.13381510972976685, -0.5399492979049683, 0.35108786821365356, 0.47975075244903564, 0.3867025077342987, 0.6000231504440308, -0.6624097228050232, -0.4709922671318054, 0.04204973950982094, -0.7773387432098389, -0.18242357671260834, -0.3867127299308777, -0.4959404766559601, 0.20626193284988403, 0.08605135977268219, -0.5490241646766663, 0.43973278999328613, 0.6046501398086548, -0.06454449146986008, 0.4448424279689789, -0.06766607612371445, -0.24820032715797424, -1.1759917736053467, 0.060969240963459015, 0.22048072516918182, -0.193566232919693, -1.183226227760315, -0.06644376367330551, -0.1246117576956749, -0.05723663046956062, -0.5070193409919739, 0.8862600326538086, -0.2998826801776886, -0.004395711235702038, -0.28049761056900024, 0.13319149613380432, 0.2027188092470169, 0.44102761149406433, 0.16967375576496124, 0.8136414289474487, 0.33029380440711975, -0.7919798493385315, 0.11649647355079651, 0.29351887106895447, -0.22853681445121765, 0.22573766112327576, -0.7615371942520142, 0.12811091542243958, -0.058723147958517075, 0.31462499499320984, -0.6454482078552246, -0.2761150598526001, 0.0570145808160305, -0.4115155041217804, 0.24410122632980347, -0.2554972767829895, -0.3353756070137024, 0.019228944554924965, -0.20942972600460052, 0.2181873917579651, 0.6965163946151733, -0.7338367700576782, 0.7595099806785583, 0.18820951879024506, 0.1724303513765335, -0.2861905097961426, -0.8774760365486145, 0.1564931422472, -0.3174167275428772, -0.4393462538719177, 0.7565029859542847, -0.015561578795313835, -0.25201112031936646, 0.016004005447030067, -0.07346323132514954, -0.459661602973938, -0.19049468636512756, 0.04465082287788391, 0.3371467590332031, -0.36527523398399353, 0.05619950592517853, 0.09436564147472382, -0.002146647311747074, -0.040758419781923294, -0.4517489969730377, 0.134883314371109, 0.2915581464767456, -0.11005079001188278, -0.2884014844894409, 0.4299965500831604, 0.20647676289081573, 0.07497848570346832, 0.7553452849388123, 0.3014037013053894, -0.4891960024833679, -0.913966715335846, -0.3353826403617859, -0.1568061113357544, -0.4375937581062317, -0.07441405951976776, -0.3888096809387207, -0.5457797050476074, 0.10009723901748657, -0.33142539858818054, 0.16234642267227173, 0.40871676802635193, 0.20485807955265045, -0.10540767759084702, 0.8703189492225647, 0.6892240047454834, 0.08996356278657913, 0.10734330117702484, -0.6656379699707031, 0.5341736078262329, -0.8257960677146912, 0.227385476231575, -0.23687288165092468, -0.09542542695999146, -0.6409283876419067, -0.5108208060264587, 0.17134112119674683, 0.038261231034994125, -0.12691758573055267, 0.4165125787258148, -0.18210750818252563, 0.44168514013290405, 0.5367913246154785, -0.04937320202589035, 0.3776889443397522, 0.24194365739822388, 0.07369253784418106, -0.028624743223190308, -0.6419438719749451, -0.6519314646720886, 1.3538751602172852, 0.2096477448940277, 0.5377431511878967, 0.19537630677223206, 0.6969118714332581, 0.4779849648475647, 0.6850878000259399, -0.68372642993927, 0.3820646107196808, -0.44009140133857727, -0.4946022033691406, -0.19915224611759186, -0.44977954030036926, -0.8714668154716492, 0.17954039573669434, -0.21187493205070496, -0.3915046155452728, 0.3028215765953064, 0.07875913381576538, -0.3522314429283142, 0.2980771064758301, -0.9997549057006836, 0.5808331370353699, 0.22197183966636658, -0.25106751918792725, 0.1940382570028305, -0.3050576448440552, 0.5430653095245361, -0.3366119861602783, 0.07170936465263367, -0.3175429403781891, 0.110783651471138, 0.387735515832901, -0.4125276803970337, 0.9744547009468079, -0.12402497977018356, -0.15282587707042694, 0.5274038910865784, -0.13696126639842987, 0.45400020480155945, -0.013657821342349052, -0.39307451248168945, 0.23739516735076904, -0.1511252522468567, -0.42495325207710266, -1.1037862300872803, 0.5512498021125793, -0.62090665102005, -0.4594331681728363, -0.1654924899339676, -0.5463563799858093, -0.628928005695343, -0.052409425377845764, 0.11826525628566742, 0.568454384803772, -0.16603350639343262, 0.10665815323591232, 0.5905426144599915, -0.24728375673294067, 0.3624785840511322, 0.3631201684474945, 0.18362949788570404, -0.32040926814079285, 0.9423282742500305, -0.04380730539560318, 0.5709421038627625, 0.35407179594039917, -0.018894052132964134, -0.5006962418556213, -0.69692462682724, -0.5333260297775269, 0.2963378429412842, -0.5210898518562317, -0.24786484241485596, -0.526421844959259, -0.5199680328369141, -0.4377342164516449, -0.0661550834774971, -0.27634578943252563, -0.4553978741168976, -0.18687625229358673, -0.0826876312494278, 0.272656112909317, 0.5871965885162354, 0.1363999843597412, 0.23050068318843842, -0.8015737533569336, 0.462101548910141, 0.16286708414554596, 0.19874714314937592, -0.08610314875841141, -0.6686053276062012, -0.007554394658654928, 0.3075807988643646, -0.19267535209655762, -0.5179442167282104, 0.7691646218299866, 0.6778692603111267, 0.4966543912887573, -0.03790951892733574, 0.34354642033576965, 0.66922527551651, -0.6773726344108582, 0.7179436087608337, -0.14980028569698334, -0.779694676399231, 0.4936225116252899, -0.47468823194503784, 0.1495007872581482, 0.45958054065704346, 0.4676622450351715, -0.40163540840148926, -0.4808136224746704, -0.5249179601669312, -0.7614937424659729, 0.27061745524406433, 0.5645930767059326, 0.3523655831813812, 0.05045948922634125, 0.5929797291755676, 0.2821980118751526, 0.12555697560310364, -0.5756687521934509, -0.16606968641281128, -0.02591952495276928, -0.5546707510948181, -0.055498044937849045, 0.168288454413414, 0.04588109999895096, -0.2147386372089386, 0.6944283843040466, -0.5556473731994629, 0.34101200103759766, 0.28806185722351074, -0.10541872680187225, 0.23151616752147675, 0.2024906873703003, 0.401949018239975, 0.7377220392227173, -0.33468687534332275, 0.16611945629119873, 0.4269409775733948, -0.2920301854610443, 0.2548891305923462, -0.1710115373134613, -0.3276689648628235, 0.23556126654148102, 0.5388113260269165, 0.8126996755599976, -0.08061064779758453, -0.7316569089889526, 0.28706446290016174, 0.0521700456738472, -0.4137316048145294, -0.34086865186691284, 0.26132914423942566, -0.10735882818698883, 0.002592263976112008, 0.3259762227535248, 0.026512103155255318, 0.25076913833618164, -0.5909594297409058, 0.3073072135448456, 0.2687498927116394, -0.05679609626531601, -0.4558437764644623, 0.5071670413017273, -0.036174677312374115, -0.09315233677625656, 0.5365564227104187, -0.16354836523532867, -0.053761836141347885, 0.5007445812225342, 0.6342233419418335, 0.8394755721092224, 0.12936511635780334, 0.4006412625312805, 0.4428376257419586, -0.05734776705503464, 0.1012645736336708, 0.004851932171732187, 0.2395673543214798, -1.0260467529296875, -0.7299579381942749, -0.677038848400116, -0.6182190179824829, 0.4008485972881317, -0.5463659167289734, 0.21229079365730286, -0.44419267773628235, -0.13949693739414215, 0.1861712783575058, -0.23119023442268372, -0.5136029720306396, 0.5455502867698669, 0.188298761844635, 0.9265643954277039, -0.8755257725715637, 0.9615460634231567, 0.330682635307312, -0.14116592705249786, -0.506207287311554, 0.2879388928413391, -0.24783724546432495, -0.4444446563720703, 0.6594244837760925, 0.05394571274518967, -0.015843044966459274, 0.07989095151424408, -0.6018393635749817, -0.8910601139068604, 0.9805920124053955, 0.3435265123844147, -0.3924557566642761, -0.002979833632707596, 0.6878085136413574, 0.7517996430397034, -0.6938415765762329, 0.04161161929368973, 0.8461757898330688, 0.21586748957633972, 0.17511790990829468, -0.37750479578971863, -0.05107799172401428, -0.19741053879261017, 0.4431266188621521, 0.03524339199066162, -0.21750250458717346, 0.476715087890625, -0.08090737462043762, -0.38928306102752686, 0.14772383868694305, 0.6231932640075684, 0.5923656225204468, 0.37029924988746643, 0.3866562247276306, 0.485893189907074, 0.5379673838615417, -0.0930318683385849, 1.2346948385238647, -0.08150218427181244, 0.2593492865562439, 1.2723674774169922, -0.6230637431144714, 0.9744267463684082, 0.4380711615085602, -0.06408326327800751, 0.469231516122818, 0.5524610280990601, -0.16108442842960358, 0.5846158862113953, 0.3783767819404602, -0.47850194573402405, -0.1549568474292755, -0.49765196442604065, 0.004691059701144695, 0.14104680716991425, 0.21056802570819855, -0.2275737076997757, -0.21004261076450348, -0.07937997579574585, -0.37198930978775024, 0.06034056842327118, 0.1599418818950653, 0.6556553244590759, 0.0985366627573967, -0.4944785237312317, 0.9003580212593079, 0.05018141120672226, 0.5903128385543823, -0.5514495372772217, -0.23660802841186523, -0.46904054284095764, 0.30153754353523254, 0.022358743473887444, -0.5510499477386475, 0.672746479511261, 0.10488512367010117, -0.28429633378982544, -0.3931703269481659, 0.6180393695831299, -0.43344587087631226, -0.6482445597648621, 0.2479107677936554, 0.386583536863327, 0.0077308164909482, -0.09645014256238937, -0.24189242720603943, -0.16575855016708374, -0.029768558219075203, -0.14706943929195404, 0.26748695969581604, 0.33536866307258606, -0.09760084748268127, 0.5471245050430298, 0.9016594290733337, 0.2242923229932785, 0.25987082719802856, 0.4020870625972748, 0.7520355582237244, -0.6917378902435303, 0.014585494995117188, -0.5059407949447632, 0.5128161311149597, -0.33677998185157776, -0.3441449999809265, 0.628170907497406, 0.5554903149604797, 0.8947917819023132, -0.3823601305484772, 0.9878041744232178, 0.29502153396606445, 0.8344749212265015, -0.7196463346481323, 0.4240497052669525, -0.45227551460266113, 0.02573201060295105, 0.15553484857082367, -1.0477523803710938, -0.48834189772605896, 0.21789972484111786, -0.19708892703056335, -0.07264462858438492, 0.6692522168159485, 0.7935335636138916, -0.2982448637485504, 0.15385589003562927, 0.41708698868751526, 0.04273654893040657, 0.4324108362197876, 0.4980299472808838, 0.8217706680297852, -0.8325098156929016, 0.13980311155319214, -0.2364310324192047, -0.014244796708226204, 0.2627718448638916, -0.7927298545837402, -0.8185571432113647, -0.2287529706954956, -0.4390976130962372, 0.03164059296250343, 0.1895952820777893, 0.7387241721153259, 0.9652941823005676, -1.1437996625900269, -0.1707865297794342, -0.42238345742225647, -0.19748829305171967, -0.08852863311767578, -0.2803860008716583, 0.14442723989486694, -0.4006465971469879, -0.9674552083015442, 0.7842991352081299, 0.0195450522005558, 0.410108745098114, -0.01643489859998226, 0.08075464516878128, -0.17169226706027985, 0.43449848890304565, 0.7430052757263184, 0.12146159261465073, -0.6660804152488708, -0.32675787806510925, 0.1612759232521057, 0.2227320522069931, -0.08069200068712234, 0.8448276519775391, -0.7969534993171692, 0.010845242999494076, 0.18067115545272827, 0.8713949918746948, 0.5361021161079407, 0.12917250394821167, 0.9922640323638916, -1.0859084129333496, 0.10455837100744247, 0.15125352144241333, 0.06452181935310364, 0.3672230839729309, -0.193033829331398, 0.8542850613594055, 0.3256602883338928, -0.16231684386730194, -0.8275647759437561, 0.15376830101013184, -0.7508625388145447, -0.23373356461524963, 1.2607841491699219, -0.09288258105516434, -0.38029348850250244, -0.15520530939102173, 0.10834979265928268, 0.12664511799812317, -0.09410043060779572, 0.5695710778236389, 0.4746380150318146, -0.16487960517406464, 0.0662885308265686, -0.7910400032997131, 0.4588787853717804, 0.3251781761646271, -1.0768003463745117, 0.19057005643844604, 0.2659408450126648, 0.38706743717193604, 0.04957692325115204, 0.1485627442598343, 0.14250975847244263, -0.28595682978630066, -0.07753148674964905, 0.006489994470030069, 0.2904018759727478, -0.3533800542354584, -0.2269357293844223, 0.009661732241511345, -0.25525274872779846, -0.15351048111915588 ]
http://arxiv.org/abs/2402.12366v1
http://arxiv.org/pdf/2402.12366v1
A Critical Evaluation of AI Feedback for Aligning Large Language Models
2024-02-19T18:53:54
2024-02-19T18:53:54
Archit Sharma, Sedrick Keh, Eric Mitchell, Chelsea Finn, Kushal Arora, Thomas Kollar
cs.LG
cs.LG, cs.AI, cs.CL
Reinforcement learning with AI feedback (RLAIF) is a popular paradigm for improving the instruction-following abilities of powerful pre-trained language models. RLAIF first performs supervised fine-tuning (SFT) using demonstrations from a teacher model and then further fine-tunes the model with reinforcement learning (RL), using feedback from a critic model. While recent popular open-source models have demonstrated substantial improvements in performance from the RL step, in this paper we question whether the complexity of this RL step is truly warranted for AI feedback. We show that the improvements of the RL step are virtually entirely due to the widespread practice of using a weaker teacher model (e.g. GPT-3.5) for SFT data collection than the critic (e.g., GPT-4) used for AI feedback generation. Specifically, we show that simple supervised fine-tuning with GPT-4 as the teacher outperforms existing RLAIF pipelines. More generally, we find that the gains from RLAIF vary substantially across base model families, test-time evaluation protocols, and critic models. Finally, we provide a mechanistic explanation for when SFT may outperform the full two-step RLAIF pipeline as well as suggestions for making RLAIF maximally useful in practice.
[ -0.32002580165863037, -0.8359943628311157, 0.5000309348106384, -0.06217596307396889, 0.007168719545006752, 0.027458205819129944, -0.5644975900650024, -0.41774821281433105, -0.4010385572910309, 0.3304368555545807, -0.6385681629180908, -0.40988633036613464, -0.7608098387718201, 0.03059335984289646, -0.39842459559440613, 1.4784854650497437, -0.16590428352355957, 0.166202574968338, -0.05051284283399582, -0.21682590246200562, -0.571579098701477, -0.13322950899600983, -0.8148007988929749, -0.6061819791793823, 0.6390491127967834, 0.5884827971458435, 0.8801629543304443, 0.828816294670105, 0.5618104934692383, 0.2872198820114136, 0.3075844645500183, 0.41189292073249817, -0.6006945371627808, 0.11973848938941956, -0.3069103956222534, -0.5000693202018738, -0.16341394186019897, 0.1946955770254135, 0.7195324301719666, 0.5088363885879517, -0.2597687840461731, 0.17581801116466522, 0.15204384922981262, 0.9894661903381348, -0.7355960607528687, 0.2646462321281433, -0.06015671044588089, 0.16856032609939575, 0.15918616950511932, -0.015236646868288517, -0.7423529624938965, -0.45980679988861084, 0.16093997657299042, -0.5588335990905762, 0.08112936466932297, 0.07717613130807877, 0.7849903702735901, 0.8347101807594299, -0.24535080790519714, -0.2321285903453827, -1.1234174966812134, 0.7095962166786194, -0.5792124271392822, 0.5095445513725281, 0.32661402225494385, 0.34721845388412476, -0.05008603632450104, -0.6513124704360962, -0.33543670177459717, -0.8109428286552429, -0.2663571238517761, 0.24033015966415405, 0.06504844129085541, 0.3872770667076111, 0.5058171153068542, 0.23944531381130219, -0.3789622485637665, 0.28382936120033264, -0.5246069431304932, 0.033118464052677155, 0.655425488948822, 0.1586649864912033, 0.05402585119009018, 0.13327601552009583, -0.14165250957012177, -0.40281155705451965, -0.6488127708435059, 0.31657588481903076, 0.4553918242454529, 0.2458401322364807, -0.03606225550174713, 0.2752426266670227, -0.22694219648838043, 0.8610151410102844, 0.31344136595726013, -0.185696080327034, -0.06627769768238068, -0.03058517910540104, -0.07939961552619934, -0.1555614024400711, 0.9258948564529419, 0.27611249685287476, 0.5428664088249207, -0.03056483343243599, -0.42630890011787415, 0.0779058188199997, 0.4865448474884033, -0.832263708114624, -0.4607056677341461, 0.11860929429531097, -0.3690260648727417, -0.3429826498031616, 0.44264864921569824, -0.3932499885559082, -0.2851482331752777, -0.38702845573425293, 0.3753218948841095, -0.2791648507118225, -0.1812981814146042, -0.24795858561992645, 0.198197141289711, 0.03120058961212635, 0.5022359490394592, -0.8994886875152588, 0.2426050752401352, 1.0268150568008423, 0.5236545205116272, -0.2134457230567932, -0.7546302080154419, -1.0397653579711914, -0.29470449686050415, -0.7059521675109863, 0.7741328477859497, -0.6126865744590759, -0.2720184028148651, 0.11041730642318726, -0.1666775941848755, -0.2684611976146698, -0.7041857242584229, 0.2662962079048157, -0.3513512909412384, 0.16936588287353516, -0.09338875859975815, -0.5309011936187744, -0.2236206978559494, 0.19529098272323608, -0.6506999731063843, 1.0782328844070435, 0.16336092352867126, -0.7006895542144775, 0.5984521508216858, -0.5603378415107727, -0.46191614866256714, -0.01667974144220352, -0.2787521481513977, -0.5346720814704895, -0.07917972654104233, 0.38811296224594116, 0.33544930815696716, -0.24412314593791962, 0.3491438627243042, -0.30098477005958557, -0.8205533623695374, 0.2546212673187256, -0.6291661858558655, 0.2503145635128021, 0.19533461332321167, -0.7381083965301514, 0.43848541378974915, -0.580276370048523, 0.03449233993887901, -0.3252638876438141, -0.6277617812156677, 0.05975820869207382, 0.16203439235687256, -0.20616008341312408, -0.04033658653497696, -0.1226007267832756, -0.23116548359394073, 0.1949990838766098, -0.32845669984817505, 0.5256142616271973, 0.9980077743530273, -0.005635467823594809, 0.36486849188804626, -0.4398127794265747, 0.8955057859420776, -0.35074082016944885, 0.24014510214328766, -0.1399635374546051, -0.08586917072534561, -0.8380522131919861, -0.23935000598430634, 0.6384579539299011, 0.4737028479576111, -0.4817308783531189, -0.0015808306634426117, -0.17155766487121582, -0.4736601710319519, -1.0121526718139648, 0.1411387175321579, 0.7007368803024292, 0.39603474736213684, 0.32242414355278015, -0.2650326192378998, -0.1512521356344223, -0.9697139263153076, -0.296417772769928, -0.5588042736053467, 0.3324078917503357, 0.4845035970211029, 0.38483214378356934, -0.11414468288421631, 0.656531572341919, -0.18187549710273743, -0.15754574537277222, -0.33204981684684753, 0.24506576359272003, -0.05571631342172623, 0.5023379921913147, 0.23190774023532867, -0.3810541033744812, -0.5178069472312927, 0.11384420841932297, -0.5563858151435852, 0.012154973112046719, -0.13530239462852478, 0.1765158474445343, 0.43652576208114624, 0.7049926519393921, -0.42315542697906494, 0.3559645414352417, 0.5655556917190552, 0.06926672160625458, 0.5346555709838867, -0.33696475625038147, 0.32709112763404846, -0.42648565769195557, 0.007279003504663706, -0.16397108137607574, -0.3290727436542511, -0.3137281537055969, 0.44184571504592896, 0.05440136790275574, 0.1402559131383896, -0.34200340509414673, 0.290373295545578, -0.05259920656681061, 0.019177697598934174, -0.3675801455974579, 0.24215224385261536, -0.43819761276245117, 0.6348186731338501, -0.04090059548616409, 0.9711751341819763, 0.2253839522600174, -0.6037641763687134, 0.3674096465110779, -0.12327168881893158, -0.38141971826553345, 0.5355234146118164, -0.6910180449485779, 0.17631706595420837, -0.03427169471979141, 0.5499955415725708, -0.7593517899513245, -0.22721683979034424, 0.42255619168281555, -0.32469862699508667, 0.32895103096961975, -0.2069728970527649, -0.3205919563770294, -0.32867854833602905, -0.17997771501541138, 0.3659493327140808, 0.3579987585544586, -0.7807855606079102, 0.6037130951881409, -0.028742291033267975, 0.07946451753377914, -0.8374492526054382, -0.357654333114624, -0.25800779461860657, -0.0011871906463056803, -0.5096754431724548, -0.11754656583070755, -0.10534923523664474, -0.23764169216156006, 0.1489666849374771, -0.048164401203393936, 0.33191609382629395, 0.16610872745513916, 0.5110215544700623, 0.05618404597043991, -0.1483028084039688, 0.2457233965396881, -0.1427093893289566, -0.34494486451148987, 0.018338408321142197, -0.2216229885816574, 0.1861318200826645, -0.3611243963241577, -0.6231802701950073, -0.6364090442657471, 0.14955948293209076, 0.5200636386871338, -0.3403892517089844, 0.45692887902259827, 0.745843768119812, 0.059728942811489105, -0.6272670030593872, -0.3924391567707062, -0.4514264166355133, -0.38360458612442017, 0.5411600470542908, -0.1683192402124405, -1.1789041757583618, 0.1281292736530304, -0.04506731033325195, 0.2912875711917877, 0.4467483460903168, 0.4731588661670685, 0.05824192240834236, 1.3188953399658203, 0.6944287419319153, -0.1202075257897377, 0.45541906356811523, -0.3056396543979645, 0.40037134289741516, -0.6536699533462524, -0.21506507694721222, -0.5315728783607483, -0.26954084634780884, -0.9295300841331482, 0.07468532770872116, 0.10969085991382599, -0.07464330643415451, -0.4840005338191986, 0.030442481860518456, -0.4271102249622345, 0.5332951545715332, 0.8006973266601562, 0.14846426248550415, 0.2988252639770508, -0.2759256362915039, -0.0035051803570240736, 0.02945842035114765, -0.8503080606460571, -0.29013311862945557, 0.8660210371017456, 0.5546135902404785, 1.0262645483016968, -0.03711729869246483, 0.7853404879570007, 0.3191131055355072, 0.6095888614654541, -0.8440384864807129, 0.3211927115917206, -0.19983001053333282, -0.30775976181030273, -0.372227281332016, -0.39004039764404297, -0.624752402305603, 0.26457077264785767, -0.20230917632579803, -0.27713122963905334, -0.3171275854110718, 0.42289838194847107, -0.6174041628837585, 0.06771811842918396, -0.7645019888877869, 0.8676734566688538, -0.12912017107009888, -0.4559239447116852, -0.5283069014549255, -0.5520337224006653, 0.3912700414657593, 0.23429988324642181, 0.2894454300403595, 0.2878158986568451, 0.3787281811237335, 0.8221557140350342, -0.7252857685089111, 0.7746955752372742, -0.27946048974990845, -0.14399303495883942, 0.32458528876304626, 0.13942007720470428, 0.6363149285316467, 0.23690828680992126, 0.41479068994522095, -0.3190230131149292, 0.10724051296710968, -0.15886744856834412, -0.8915314078330994, 0.7515882253646851, -1.1293326616287231, -0.9284313321113586, -0.5094863772392273, -0.4684588611125946, -0.21962343156337738, -0.051769934594631195, 0.10249700397253036, 0.2837786078453064, 0.1411852240562439, 0.21056754887104034, 0.5627653002738953, 0.08294743299484253, 0.16194139420986176, 0.5321714878082275, -0.46481072902679443, -0.42983338236808777, 1.0568503141403198, 0.0797571912407875, 0.404420405626297, 0.24575243890285492, 0.11383873224258423, -0.027876432985067368, -0.3832029402256012, -0.6790201663970947, 0.2769697606563568, -0.6644323468208313, -0.07086724787950516, -0.3667958974838257, -0.28830990195274353, -0.2138526886701584, -0.043070413172245026, -0.5755659937858582, -0.27259883284568787, -0.19685980677604675, -0.3790319561958313, 0.15886473655700684, 1.3311853408813477, -0.313721626996994, 0.19082465767860413, -0.5431178212165833, -0.07377202063798904, 0.47924214601516724, 0.32073357701301575, 0.2473260909318924, -0.5275351405143738, -0.44781211018562317, -0.08468034863471985, -0.20484641194343567, -0.47304072976112366, -0.20929667353630066, 0.11610432714223862, 0.3253827393054962, 0.39829951524734497, -0.025471745058894157, 0.7718024849891663, -0.39908674359321594, 0.8817817568778992, -0.23901639878749847, -0.7115498185157776, 0.35121333599090576, -0.17752623558044434, 0.1666521579027176, 0.6483101844787598, 0.10263301432132721, -0.40178588032722473, -0.5770723819732666, -0.7227137088775635, -0.7579286098480225, 0.8684043884277344, -0.30691391229629517, -0.09627199918031693, 0.2467331737279892, 0.494846373796463, 0.057646043598651886, 0.12179706990718842, -0.7014057636260986, -0.10294187068939209, -0.1515589952468872, -0.03467855602502823, -0.10928796976804733, -0.0010697314282879233, -0.23214346170425415, -0.15546883642673492, 0.8681734800338745, -0.16608650982379913, -0.06584443151950836, 0.06648334860801697, -0.040691569447517395, -0.41983097791671753, 0.2794993221759796, 0.7056596875190735, 0.6304684281349182, -0.07632169872522354, 0.057280030101537704, 0.16413186490535736, -0.20404355227947235, 0.03917885571718216, 0.06504607945680618, -0.3109667897224426, -0.4217188358306885, 0.8182454109191895, 1.0699036121368408, 0.15438897907733917, -0.6536105275154114, 0.5368741154670715, -0.19423480331897736, -0.3574439287185669, -0.19163179397583008, 0.6027419567108154, -0.32918745279312134, 0.5014573335647583, 0.04059069976210594, 0.2066553831100464, -0.0869680643081665, -0.4193444550037384, 0.3293551802635193, 0.34841564297676086, -0.7703290581703186, -0.12051312625408173, 0.473315954208374, 0.03734685480594635, -0.3869946002960205, 0.9686498641967773, 0.057141054421663284, -0.6130837202072144, 0.45338964462280273, 0.42439258098602295, 0.7157987356185913, -0.17670324444770813, 0.5272578597068787, 0.5308150053024292, 0.4155561029911041, -0.27404239773750305, -0.2362680733203888, -0.36878666281700134, -0.2754354476928711, -0.7599241733551025, -0.4230273365974426, -0.6250001788139343, 0.09356383979320526, -0.8318184018135071, 0.09765493124723434, -0.8134678602218628, 0.04475383833050728, -0.31485626101493835, 0.02190912887454033, -0.4993603229522705, 0.298159122467041, -0.29759302735328674, 0.6264774203300476, -0.8041029572486877, 0.5961974859237671, 0.6249253749847412, -0.5237074494361877, -1.4424159526824951, 0.26816123723983765, -0.1097559854388237, -0.7758240103721619, 0.6985134482383728, 0.1554805189371109, -0.2798154354095459, -0.013397290371358395, -0.6291948556900024, -0.6194471120834351, 0.8501228094100952, 0.298742413520813, -0.674553632736206, 0.014016233384609222, -0.16471102833747864, 0.7872356176376343, -0.3733552098274231, 0.4949352741241455, 0.7503469586372375, 0.607989490032196, -0.04257667437195778, -0.8673291802406311, -0.0015663515077903867, -0.1136171743273735, 0.0538514070212841, 0.2558455169200897, -0.8498890995979309, 0.6899157762527466, -0.5637733340263367, -0.19674494862556458, 0.06581613421440125, 0.9322850108146667, 0.20185868442058563, -0.08241522312164307, 0.5869758129119873, 0.7401109933853149, 0.5682055354118347, -0.05918612703680992, 1.1876368522644043, -0.2725867033004761, 0.42013120651245117, 1.1365293264389038, 0.04885208234190941, 0.9765685796737671, 0.26992931962013245, -0.24339404702186584, 0.5666188597679138, 0.7227506637573242, -0.0499405562877655, 0.5141521096229553, 0.3131231963634491, 0.06425438076257706, -0.40553760528564453, -0.12402868270874023, -0.3741690516471863, 0.16040925681591034, 0.08006822317838669, -0.17036378383636475, -0.1501457840204239, -0.05092896521091461, 0.08575567603111267, 0.253065824508667, -0.2410232573747635, 0.8264573216438293, -0.012301743030548096, -1.424551010131836, 0.5973619818687439, 0.07098796218633652, 0.2931163012981415, -0.24352221190929413, -0.29466062784194946, -0.1824077069759369, 0.5104022026062012, -0.4044654667377472, -0.7091673016548157, 0.03787282109260559, -0.02162628434598446, -0.02156519889831543, -0.050813861191272736, 0.24809494614601135, -0.4777815341949463, -0.10869301110506058, 0.4117678701877594, 0.17735786736011505, -0.17182612419128418, 0.42173826694488525, -0.6789946556091309, 0.19220806658267975, 0.1508544385433197, -0.19824109971523285, 0.2945937216281891, 0.08010177314281464, 0.001314676832407713, 0.6374949216842651, 0.6040176749229431, 0.11829472333192825, -0.11863444745540619, 0.35316091775894165, 0.6169381141662598, -0.32461199164390564, -0.32588472962379456, -0.7625940442085266, 0.40764209628105164, 0.46423035860061646, -0.4787963926792145, 0.4370260536670685, 0.1266227662563324, 1.1938143968582153, 0.04795556142926216, 0.9247470498085022, 0.1364903748035431, 0.506510853767395, -0.6430911421775818, 0.46212223172187805, -0.4305705428123474, 0.19037874042987823, -0.24377329647541046, -0.834560751914978, -0.18865492939949036, 0.8905815482139587, -0.29993459582328796, 0.4744797646999359, 0.8381431698799133, 0.8518790006637573, 0.10888537019491196, 0.15064601600170135, 0.15073278546333313, 0.3035094141960144, 0.5110071301460266, 0.47599831223487854, 0.9547731876373291, -0.3411644995212555, 0.5027864575386047, -0.34588319063186646, -0.3998681306838989, -0.23587515950202942, -0.6208476424217224, -0.9231299757957458, -0.6118779182434082, -0.38368600606918335, -0.6231281161308289, 0.43909358978271484, 1.1165910959243774, 0.6758628487586975, -0.8791595697402954, -0.19774852693080902, -0.2413974106311798, 0.055358532816171646, -0.5451160073280334, -0.22693240642547607, 0.49889782071113586, -0.5942891240119934, -0.7563380002975464, 0.3770807683467865, 0.15648236870765686, -0.29678046703338623, -0.593995213508606, -0.5475878715515137, 0.13218234479427338, -0.09385787695646286, 0.28485140204429626, 0.39918282628059387, -0.8280906081199646, -0.6761298179626465, -0.12655793130397797, -0.06856614351272583, -0.2467794567346573, 0.8124343752861023, -0.7399260997772217, 0.2657804787158966, 0.3428160548210144, 0.8154183626174927, 0.3845566511154175, 0.08524269610643387, 0.6037789583206177, -0.32861223816871643, -0.17474719882011414, 0.0025323498994112015, 0.1266578584909439, 0.281724214553833, -0.16358928382396698, 0.5516975522041321, 0.04070248454809189, -0.9444475173950195, -0.8452852964401245, 0.3186596632003784, -0.5681344270706177, 0.036330439150333405, 1.0462121963500977, -0.2025759369134903, -0.1541980654001236, 0.3608029782772064, -0.2838364839553833, 0.022850241512060165, -0.6646709442138672, 0.9046321511268616, 0.8353656530380249, -0.31767433881759644, -0.3649865984916687, -0.5392342209815979, 0.6841516494750977, 0.7022767066955566, -0.4056239724159241, 0.1899949461221695, 0.5310934782028198, 0.22788164019584656, 0.09728716313838959, 0.5556827783584595, 0.05927548184990883, 0.5907081365585327, -0.31719541549682617, -0.4776087701320648, -0.21343672275543213, -0.7607550621032715, -0.449055939912796, 0.1828981339931488, 0.7153183221817017, 0.167533278465271 ]
http://arxiv.org/abs/2402.12363v2
http://arxiv.org/pdf/2402.12363v2
Emergent Word Order Universals from Cognitively-Motivated Language Models
2024-02-19T18:49:57
2024-06-07T18:21:47
Tatsuki Kuribayashi, Ryo Ueda, Ryo Yoshida, Yohei Oseki, Ted Briscoe, Timothy Baldwin
cs.CL
cs.CL
The world's languages exhibit certain so-called typological or implicational universals; for example, Subject-Object-Verb (SOV) languages typically use postpositions. Explaining the source of such biases is a key goal of linguistics. We study word-order universals through a computational simulation with language models (LMs). Our experiments show that typologically-typical word orders tend to have lower perplexity estimated by LMs with cognitively plausible biases: syntactic biases, specific parsing strategies, and memory limitations. This suggests that the interplay of cognitive biases and predictability (perplexity) can explain many aspects of word-order universals. It also showcases the advantage of cognitively-motivated LMs, typically employed in cognitive modeling, in the simulation of language universals.
[ -0.3475167751312256, -0.8800209760665894, 0.8587223887443542, 0.30596742033958435, -0.12366776913404465, -0.10630784928798676, -0.15613240003585815, -0.4527363181114197, 0.03432910516858101, 0.7256510257720947, -0.6174550652503967, -0.36476990580558777, -0.5047963857650757, -0.01619776338338852, -0.43043413758277893, 0.8616515398025513, 0.14161649346351624, 0.011941036209464073, -0.2500033974647522, -0.1672171950340271, -0.20950274169445038, -1.0088908672332764, -0.13192525506019592, -0.5341140031814575, 0.5039560794830322, 0.2393820732831955, 1.1210708618164062, 0.5467936992645264, 0.3439111113548279, 0.2738015949726105, -0.17529620230197906, -0.32071977853775024, -0.2950458228588104, 0.3269854784011841, -0.42567217350006104, -0.7361206412315369, -0.10835376381874084, 0.28308960795402527, 0.39026975631713867, 0.8938407301902771, -0.2388324737548828, 0.09463261812925339, -0.10536998510360718, 0.48971986770629883, -0.6026059985160828, 0.01626485399901867, -0.9051695466041565, 0.0811176523566246, -0.2235475480556488, -0.17853528261184692, -0.31553107500076294, -0.19094763696193695, 0.6563685536384583, -0.4986824691295624, 0.25473618507385254, 0.0716220811009407, 0.6756224036216736, -0.07931575179100037, 0.007854281924664974, -0.41690176725387573, -0.9561637043952942, 0.7735214233398438, -0.3824652135372162, 0.5365242958068848, -0.0750274807214737, 0.030139796435832977, -0.35352823138237, -0.5855882167816162, -0.7116816639900208, -0.23241984844207764, 0.2354990392923355, 0.2272910326719284, -0.04156158119440079, 0.3323071300983429, 0.33351340889930725, 0.09078755974769592, -0.46726033091545105, 0.3190215528011322, 0.02424885332584381, 0.05607078969478607, 0.5472963452339172, 0.30943313241004944, 0.601879894733429, -0.28530174493789673, -0.29472023248672485, -0.06844502687454224, -0.8381579518318176, 0.24392543733119965, 0.12973088026046753, 0.3566530644893646, 0.1888589709997177, 0.6649233102798462, -0.17183904349803925, 0.5698216557502747, -0.1302647590637207, 0.12789638340473175, -0.04317832365632057, -0.28096017241477966, -0.20108948647975922, 0.1954362988471985, 0.6580084562301636, 0.10264767706394196, 0.5022990703582764, -0.12017261236906052, -0.06965740025043488, 0.5388168692588806, 0.26090529561042786, -0.49375632405281067, 0.0247208084911108, 0.4551272392272949, -0.07949553430080414, -0.44659605622291565, 0.09358308464288712, -0.5769672989845276, -0.22154828906059265, -0.2194388210773468, 0.3288117051124573, -0.4128444790840149, -0.12572793662548065, 0.2866247892379761, -0.028597882017493248, 0.07554983347654343, 0.3983794152736664, -0.793615460395813, 0.13950727880001068, 0.6665170788764954, 0.315013587474823, -0.2206915020942688, -0.45344439148902893, -0.061711180955171585, 0.15202870965003967, -0.49440574645996094, 1.0276051759719849, -0.7354680895805359, -0.48172780871391296, 0.16367147862911224, -0.4208921194076538, 0.031350027769804, -0.6083576679229736, 0.5086183547973633, -0.6992334127426147, 0.3047811985015869, -0.3510970175266266, -0.5293354392051697, -0.12546640634536743, 0.043500691652297974, -0.3056640326976776, 0.8132693767547607, -0.31501856446266174, -0.6763331890106201, 0.4157398045063019, -0.4634661078453064, -0.25754669308662415, 0.1966487020254135, -0.534031093120575, 0.10406441241502762, 0.5174265503883362, -0.10107500851154327, 0.36210858821868896, -0.5202814340591431, 0.46385934948921204, -0.2852528989315033, -0.16340455412864685, 0.4864727258682251, -0.4259438216686249, 0.8888247609138489, 0.2210291177034378, -0.38126978278160095, 0.1729704737663269, -0.5048463940620422, 0.13233910501003265, 0.4096306264400482, -0.44473639130592346, -0.5856500864028931, 0.36293119192123413, -0.27687475085258484, 0.42730385065078735, 0.2070961445569992, -0.46849578619003296, 0.29363226890563965, -0.4436977505683899, 0.1901281774044037, 0.6814056038856506, -0.06773655861616135, 0.5376072525978088, -0.012564572505652905, 0.6033784747123718, 0.14226235449314117, 0.24486464262008667, 0.08839593082666397, -0.720515787601471, -0.5241792798042297, -0.11953884363174438, 0.2714496850967407, 0.7979574799537659, -0.5702515244483948, 0.15609480440616608, -0.3730226457118988, -0.15790671110153198, -0.24072910845279694, -0.05662500113248825, 0.5854902267456055, -0.06265172362327576, 0.03834756463766098, -0.11679157614707947, -0.4045482873916626, -0.7926521301269531, -0.592585027217865, -0.125889852643013, -0.188690185546875, 0.23446166515350342, 0.25777190923690796, -0.20227983593940735, 0.9548562169075012, -0.5626422762870789, 0.2063841074705124, -0.3569374084472656, 0.29542532563209534, 0.25643280148506165, 0.16549646854400635, 0.3236980736255646, -0.8535237312316895, -0.047307852655649185, -0.396137535572052, -0.7401824593544006, -0.2373160868883133, 0.09111723303794861, -0.1175924688577652, 0.20811988413333893, 0.7349013686180115, -0.7171484231948853, 0.5645166039466858, 0.3348495364189148, -0.2648698389530182, 0.971785843372345, -0.4747835099697113, -0.37081584334373474, -1.019755482673645, -0.30763205885887146, -0.33429569005966187, 0.1876937448978424, -0.8462075591087341, 0.4341614544391632, -0.27268439531326294, -0.04926494508981705, -0.3436622619628906, 0.2999628186225891, -0.6740149855613708, -0.10358801484107971, -0.11662548035383224, 0.25760775804519653, -0.12018900364637375, 0.20538830757141113, 0.2030358612537384, 0.47413769364356995, 0.43942227959632874, -0.86040860414505, -0.03281541168689728, -0.0031637665815651417, -0.4179079234600067, 0.13153445720672607, -0.5967428684234619, -0.10220709443092346, -0.43677034974098206, 0.09093372523784637, -1.104311466217041, -0.12894600629806519, -0.26477205753326416, -0.33701491355895996, 0.15145497024059296, 0.14317211508750916, -0.6739181876182556, -0.4901143014431, -0.13109278678894043, 0.5822155475616455, 0.3711990714073181, -0.3914753198623657, 0.3410859704017639, 0.34441643953323364, -0.03521254286170006, -0.34860947728157043, -0.6226994395256042, -0.15653105080127716, 0.08344770222902298, -0.34992361068725586, 0.40278545022010803, -0.4130275547504425, -0.642900288105011, -0.23989766836166382, -0.07406780868768692, 0.29289132356643677, 0.14648652076721191, 0.2777143716812134, 0.4483944773674011, -0.20443031191825867, 0.09498295187950134, -0.031010018661618233, 0.1592259556055069, 0.19761434197425842, -0.7425546646118164, 0.8666446805000305, 0.0076405382715165615, -0.22015248239040375, 0.045152533799409866, 0.34205979108810425, 0.7113934755325317, -0.10024535655975342, 0.6983301043510437, -0.18621747195720673, -0.2932737469673157, -0.07901216298341751, -0.6798613667488098, -0.021941017359495163, -0.48773902654647827, 0.28974294662475586, -0.5778447985649109, -0.8052525520324707, 0.6018878221511841, 0.01316410955041647, 0.1853586733341217, 0.34928688406944275, 0.5604366660118103, -0.16998247802257538, 1.3216724395751953, 0.30360379815101624, 0.11840231716632843, 0.6639793515205383, -0.09523127973079681, 0.006716972216963768, -0.575059711933136, -0.1266365945339203, -0.40501168370246887, 0.06884314864873886, -0.8780953288078308, -0.4375894069671631, 0.21953794360160828, 0.33993542194366455, -0.1988184154033661, 0.12732791900634766, -0.38854530453681946, 0.7544443607330322, 0.4094480872154236, -0.26747927069664, 0.220326766371727, 0.3399147391319275, -0.9541590213775635, 0.04975399747490883, -0.7280811667442322, -0.496761679649353, 1.115933895111084, -0.14588624238967896, 0.5816558599472046, 0.01708674430847168, 0.6679515242576599, 0.041614409536123276, 0.25063809752464294, -0.5501583218574524, 0.6886816024780273, -0.38802003860473633, -0.8696284890174866, -0.2427472472190857, -0.05658365786075592, -1.4057214260101318, 0.42161354422569275, -0.4431314170360565, -1.359921932220459, 0.12376148253679276, -0.08072944730520248, -0.4356883764266968, 0.054499778896570206, -0.549170732498169, 0.6860489249229431, -0.14178726077079773, -0.2134193629026413, -0.23316241800785065, -0.5609084367752075, 0.36148378252983093, 0.1625954955816269, 0.44871681928634644, -0.027915434911847115, 0.0990426316857338, 0.6246229410171509, -0.5856643319129944, 0.41060495376586914, 0.1617773324251175, -0.3534616231918335, 0.5042501091957092, 0.5049161911010742, 0.3973188102245331, -0.14590714871883392, -0.09576893597841263, 0.2396765500307083, -0.14890511333942413, -0.47217103838920593, -0.5563708543777466, 0.6913577318191528, -0.7986219525337219, -1.0027323961257935, -0.3408731520175934, -0.7267572283744812, -0.3118206560611725, 0.29327094554901123, 0.8351290225982666, 0.5053126811981201, -0.36316826939582825, -0.41715410351753235, 0.7121254801750183, -0.23575015366077423, 0.45069175958633423, 0.6557349562644958, -0.7756508588790894, -0.18514257669448853, 0.8394011855125427, 0.6123552918434143, 0.46099328994750977, 0.5148314833641052, 0.33913686871528625, -0.22243809700012207, -0.6085062026977539, -0.15777570009231567, 0.12574851512908936, -0.45060795545578003, 0.44654417037963867, -0.6332093477249146, -0.32299765944480896, -0.4449671804904938, -0.277344286441803, -0.281345009803772, -0.5461146831512451, -0.12614192068576813, -0.06758423149585724, -0.029860010370612144, 1.104585886001587, 0.16405977308750153, 0.2581692039966583, -0.6063715219497681, 0.3263491690158844, 0.47855275869369507, 0.2391890287399292, -0.08155243843793869, -0.5753815174102783, 0.2655391991138458, 0.033901628106832504, -0.2641254663467407, -0.9443325996398926, 0.06680411845445633, -0.275018572807312, 0.5535935163497925, 0.813663899898529, -0.11272478848695755, 0.508527934551239, -0.7269873023033142, 0.6816381812095642, 0.2592252194881439, -0.8621967434883118, 0.47854524850845337, -0.7291711568832397, 0.5945088863372803, 0.3572261929512024, 0.29454952478408813, -0.4863431751728058, -0.6437271237373352, -0.9444348216056824, -0.8732091784477234, 0.8039388656616211, 0.17819330096244812, 0.021705683320760727, -0.13049814105033875, 0.5609700083732605, 0.08227317780256271, 0.24566930532455444, -0.658851683139801, -0.343908429145813, 0.011683905497193336, -0.02928399108350277, -0.2673224210739136, -0.48582223057746887, 0.14024628698825836, -0.20312871038913727, 0.3299388587474823, 0.12635064125061035, 0.35054993629455566, 0.16776353120803833, -0.23904933035373688, 0.04226987063884735, 0.3996437191963196, 0.804520308971405, 0.5217863321304321, -0.19140146672725677, 0.33158376812934875, -0.003001016564667225, -0.46649250388145447, 0.26150286197662354, -0.03811134770512581, -0.4541991353034973, -0.09397944062948227, 0.19988933205604553, 0.5729871988296509, 0.25666141510009766, -0.648851752281189, 0.24452729523181915, 0.047852855175733566, 0.04564904794096947, -0.36273908615112305, 0.049477607011795044, 0.39895015954971313, 0.2914290428161621, 0.270258367061615, 0.06250610947608948, 0.1076975092291832, -0.7519385814666748, -0.07952265441417694, 0.7077843546867371, -0.19762800633907318, -0.6044027209281921, 0.6215340495109558, -0.20685195922851562, -0.48245885968208313, 0.4655010402202606, -0.28052181005477905, -0.770811915397644, 0.5016086101531982, 0.6978311538696289, 0.8110025525093079, -0.5184943079948425, 0.1380549967288971, 0.02807183936238289, 0.2920447885990143, -0.22932124137878418, 0.6155244708061218, 0.05028516799211502, -1.2030984163284302, -0.07628517597913742, -0.7572785019874573, -0.3400181829929352, 0.1647620052099228, -0.6686787009239197, 0.08926843106746674, -0.7863888740539551, -0.37217769026756287, 0.2243480682373047, -0.33560889959335327, -0.684201180934906, 0.1595381647348404, 0.5547081828117371, 0.7435493469238281, -0.6807212233543396, 0.8575807213783264, 0.9415217638015747, -0.36887481808662415, -0.7990805506706238, 0.3746758699417114, 0.09254876524209976, -0.9787801504135132, 0.7654545307159424, 0.22496043145656586, -0.17497915029525757, -0.005391051061451435, -0.6611889600753784, -1.126853346824646, 0.723483145236969, 0.42206379771232605, -0.3009408414363861, -0.22933277487754822, 0.380920946598053, 0.7480929493904114, -0.4951916038990021, 0.28761929273605347, 0.47029274702072144, 0.2252141684293747, -0.0666552484035492, -0.49198681116104126, 0.18075613677501678, -0.05497138202190399, 0.4972781240940094, 0.22893105447292328, -0.4590352177619934, 0.869912326335907, -0.3721255362033844, -0.3884999752044678, -0.09629931300878525, 0.6247378587722778, 0.5009212493896484, -0.012258635833859444, 0.4512277841567993, 0.5488506555557251, 0.5461947917938232, 0.039165198802948, 1.2421174049377441, -0.3618822991847992, 0.09525682777166367, 0.9209248423576355, -0.3510759174823761, 0.8718275427818298, 0.5102415680885315, -0.43031033873558044, 0.8793535232543945, 0.5123087167739868, 0.49269089102745056, 0.2486695498228073, 0.5399163961410522, -0.09060115367174149, -0.40303143858909607, -0.2510918974876404, -0.11044712364673615, 0.5155943632125854, 0.6705595254898071, -0.02585562691092491, -0.10945549607276917, -0.18698939681053162, 0.1259901523590088, -0.13580109179019928, -0.3253552317619324, 0.6991159915924072, 0.15914839506149292, -1.0171223878860474, 0.71852046251297, -0.17545241117477417, 0.6555140614509583, -0.5625212788581848, 0.38104674220085144, -0.04095577821135521, 0.18291214108467102, 0.013041525147855282, -0.751067042350769, -0.08393131196498871, -0.13037124276161194, -0.46391451358795166, -0.19406592845916748, 0.4948866069316864, -0.40060287714004517, -0.4721771478652954, 0.6932246685028076, 0.5586318373680115, 0.10129013657569885, -0.18177835643291473, -0.7155874371528625, -0.29108813405036926, -0.14214004576206207, -0.6257268190383911, 0.5589150190353394, 0.4549771249294281, -0.4099433124065399, 0.6164039969444275, 0.7163712382316589, 0.10586895793676376, 0.35026711225509644, 0.04185056313872337, 0.555479884147644, -0.6560847759246826, -0.6436517834663391, -0.9140998125076294, 0.08871696144342422, 0.13571830093860626, -0.12882910668849945, 0.6270068287849426, 0.14357690513134003, 0.6979291439056396, -0.06138656660914421, 0.7354384660720825, 0.2239583134651184, 0.12220003455877304, -0.39156147837638855, 0.5878092050552368, -0.6051375269889832, 0.32640770077705383, -0.49799391627311707, -0.9546563029289246, -0.37818941473960876, 0.0028012751135975122, -0.5888981819152832, -0.10504783689975739, 0.8472586870193481, 0.5045846700668335, 0.060135144740343094, 0.3692999482154846, 0.4423360526561737, 0.5105980634689331, -0.14914853870868683, 0.37359485030174255, 0.9296990036964417, 0.05750466510653496, 0.5000102519989014, -0.19637954235076904, -0.19690239429473877, -0.2291596531867981, -0.5949636697769165, -0.7782381176948547, -0.35174110531806946, -0.04330001026391983, -0.5064246654510498, 0.03600078821182251, 1.1328117847442627, 0.24989387392997742, -0.9701731204986572, -0.43275678157806396, -0.6377731561660767, 0.27217742800712585, 0.05686953663825989, -0.29110729694366455, 0.17481210827827454, -0.34513530135154724, -0.5267924070358276, 0.1539120376110077, 0.3075847923755646, 0.20954529941082, -0.13185906410217285, 0.1724468320608139, -0.4076799750328064, 0.7454832196235657, 0.7258968949317932, 0.22946850955486298, -1.060787320137024, -0.31866374611854553, -0.002044382970780134, -0.32365208864212036, 0.03295865282416344, 0.9884629845619202, -0.7371938228607178, 0.3871919810771942, 0.6471005082130432, 0.1757103055715561, 0.0211632139980793, -0.17730332911014557, 0.7668050527572632, -0.4388903081417084, 0.20398513972759247, -0.11552807688713074, 0.44341325759887695, -0.13574665784835815, -0.28690794110298157, 0.19516494870185852, 0.5223888754844666, -0.3017561137676239, -0.6547268629074097, 0.6875285506248474, -0.6401875615119934, -0.6429497599601746, 1.144191861152649, -0.07030569016933441, -0.2056940495967865, -0.09470561146736145, 0.060805514454841614, 0.28539690375328064, -0.14722800254821777, 0.9071715474128723, 0.8014690279960632, -0.2317572385072708, 0.328130841255188, -0.3707638084888458, 0.5046844482421875, 0.9621126055717468, -0.5940628051757812, 0.17139792442321777, 0.2542553246021271, 0.3700118362903595, 0.5638486742973328, 0.6146084070205688, -0.05797775834798813, 0.12025280296802521, -0.12746383249759674, 0.18047426640987396, 0.5325825214385986, -0.37348297238349915, -0.3699857294559479, 0.23908357322216034, 0.18509797751903534, 0.0839192196726799 ]
http://arxiv.org/abs/2402.12354v1
http://arxiv.org/pdf/2402.12354v1
LoRA+: Efficient Low Rank Adaptation of Large Models
2024-02-19T18:33:49
2024-02-19T18:33:49
Soufiane Hayou, Nikhil Ghosh, Bin Yu
cs.LG
cs.LG, cs.AI, cs.CL, stat.ML
In this paper, we show that Low Rank Adaptation (LoRA) as originally introduced in Hu et al. (2021) leads to suboptimal finetuning of models with large width (embedding dimension). This is due to the fact that adapter matrices A and B in LoRA are updated with the same learning rate. Using scaling arguments for large width networks, we demonstrate that using the same learning rate for A and B does not allow efficient feature learning. We then show that this suboptimality of LoRA can be corrected simply by setting different learning rates for the LoRA adapter matrices A and B with a well-chosen ratio. We call this proposed algorithm LoRA$+$. In our extensive experiments, LoRA$+$ improves performance (1-2 $\%$ improvements) and finetuning speed (up to $\sim$ 2X SpeedUp), at the same computational cost as LoRA.
[ -0.4143099784851074, -0.781254768371582, 0.4210978150367737, -0.04308588057756424, -0.2794540524482727, -0.2562713027000427, -0.058396920561790466, -0.6993684768676758, 0.6679301857948303, 0.3562459647655487, -0.3358480632305145, -0.09631973505020142, -0.5616989731788635, -0.3098967671394348, -0.27069875597953796, 0.824591875076294, 0.15247659385204315, 0.1760583221912384, 0.1237863302230835, -0.5910822749137878, -0.3065762519836426, -0.36744245886802673, -0.9222550392150879, -0.381123811006546, 1.2332098484039307, 0.6790004372596741, 0.8516666293144226, 0.7074151635169983, 0.7065626382827759, 0.3369255065917969, -0.280929297208786, 0.16806252300739288, -0.8448960781097412, -0.04601593315601349, -0.10621192306280136, -0.6456113457679749, -1.0556832551956177, -0.40021878480911255, 0.715653657913208, 0.8859160542488098, 0.03709699586033821, 0.3724409341812134, 0.17908862233161926, 1.1015112400054932, -0.9449551105499268, -0.34552139043807983, -0.7462538480758667, 0.10638907551765442, -0.10252396017313004, -0.2739883065223694, -0.3319385051727295, -0.5685392022132874, 0.0622129812836647, -0.8636690974235535, -0.07270549237728119, -0.1998903602361679, 0.5615361332893372, 0.4982348084449768, -0.16079872846603394, 0.004379274323582649, -0.7035627365112305, 0.7257511019706726, -0.5954614281654358, 0.19848956167697906, 0.021839071065187454, 0.6226717233657837, 0.11273561418056488, -0.5352959036827087, -0.16820180416107178, 0.06288468837738037, 0.4145618677139282, -0.05048022046685219, -0.36078792810440063, -0.11418579518795013, 0.6183627247810364, 0.3944671154022217, -0.008310269564390182, 0.6527751088142395, -0.6035818457603455, 0.1822453886270523, 0.7164625525474548, 0.02875848487019539, -0.2779993414878845, 0.19678105413913727, -0.2357119917869568, -0.2441554069519043, -0.9625481963157654, 0.20014090836048126, 0.3770749270915985, 0.5231064558029175, -0.19427435100078583, 0.5106955766677856, -0.07202145457267761, 0.5976741313934326, 0.10666090995073318, -0.26796048879623413, 0.45305755734443665, 0.1719718873500824, -0.2894567549228668, 0.23212040960788727, 0.21093212068080902, 0.19211651384830475, 0.20682138204574585, 0.31766560673713684, -0.0979209616780281, 0.02540605328977108, -0.05201326683163643, -0.9431732892990112, -0.09965591132640839, -0.12480087578296661, -0.6252617239952087, -0.28406980633735657, -0.23256158828735352, -0.6798027157783508, -0.830394446849823, -0.2713595926761627, 1.188422679901123, -0.009158557280898094, 0.019357679411768913, 0.17792090773582458, -0.1180344820022583, 0.4874424934387207, 0.852933406829834, -0.7226051092147827, 0.407120019197464, 0.544480562210083, 0.8605377078056335, -0.022254474461078644, -0.23918746411800385, -0.9856443405151367, -0.21836617588996887, -0.2990853488445282, 0.8262482285499573, -0.23606403172016144, -0.1355413943529129, -0.35746583342552185, -0.05770273134112358, -0.023296551778912544, -0.512148916721344, 0.3491820693016052, -0.5736812353134155, -0.13549092411994934, -0.4761578142642975, -0.22561781108379364, -0.31540319323539734, -0.06206372752785683, -0.9284201264381409, 0.6547024250030518, 0.23223373293876648, -0.6928028464317322, 0.34978872537612915, -1.2979198694229126, -0.4422740042209625, -0.39731961488723755, 0.4706467092037201, -0.5946819186210632, 0.2997165024280548, 0.1714591085910797, 0.19361811876296997, -0.15766999125480652, -0.4284656345844269, -0.7275097966194153, -0.7638779878616333, 0.22346231341362, -0.3618113100528717, 0.688430905342102, 0.14148250222206116, -0.01607067510485649, 0.3782788813114166, -0.9138718843460083, 0.09803441166877747, 0.08306977152824402, -0.44077298045158386, -0.47056257724761963, 0.038439005613327026, 0.02873053029179573, 0.00908423587679863, 0.22612781822681427, -0.4028240442276001, 0.44379663467407227, -0.4099283516407013, 0.6169686913490295, 0.9509455561637878, -0.011955121532082558, 0.6410523056983948, -0.46597278118133545, 0.3241789638996124, -0.08077642321586609, 0.336843341588974, 0.2060009241104126, -0.36557674407958984, -1.1290267705917358, -0.305265873670578, 0.6936236619949341, 0.3308503031730652, -0.4278101325035095, 0.3345578908920288, -0.4295026957988739, -0.5228488445281982, -0.527229905128479, 0.2748108506202698, 0.10853318870067596, 0.15472763776779175, 0.6547170281410217, -0.4759899377822876, -0.6522439122200012, -0.818675696849823, 0.13153430819511414, 0.21796748042106628, 0.1384059488773346, 0.20051251351833344, 0.48466041684150696, -0.08043476939201355, 0.5671527981758118, -0.718763530254364, -0.40597042441368103, -0.3236466646194458, -0.43601569533348083, 0.44672510027885437, 0.5442769527435303, 0.6983250975608826, -0.599892795085907, -0.5266077518463135, -0.022201525047421455, -0.5205863118171692, 0.2857590913772583, 0.3093748688697815, -0.15646903216838837, 0.05072048678994179, 0.49638617038726807, -0.2230248749256134, 0.37628376483917236, 0.8826792240142822, -0.23682206869125366, 0.015193336643278599, -0.5121666789054871, -0.29516327381134033, -1.2427996397018433, -0.027074094861745834, 0.17604708671569824, -0.42413395643234253, -0.30976787209510803, -0.007081691641360521, -0.10700606554746628, -0.30021435022354126, -0.48783937096595764, 0.4393453598022461, -0.22976994514465332, -0.5435923933982849, -0.21533100306987762, 0.2404979169368744, 0.05931217223405838, 0.6270527243614197, -0.4255504310131073, 0.5997930765151978, 0.5146519541740417, -0.6565060615539551, 0.20506775379180908, 0.20338399708271027, -0.3934707045555115, 0.6109678149223328, -0.5759370923042297, 0.06690759211778641, -0.08067511022090912, 0.352059543132782, -0.555173933506012, -0.12260091304779053, -0.04676949605345726, -0.02916247583925724, 0.08897242695093155, -0.30544227361679077, -0.04465894401073456, -0.20333290100097656, -0.6573047637939453, 0.38439324498176575, 0.7291527390480042, -0.8105388283729553, 0.5743392705917358, 0.4146590530872345, 0.2296157330274582, -0.5717016458511353, -0.6321897506713867, -0.3912840783596039, -0.4692510664463043, -0.436798095703125, 0.126469224691391, -0.24020308256149292, -0.21002909541130066, -0.03750719130039215, 0.10594236850738525, 0.03178348019719124, 0.513776421546936, 0.3271963894367218, -0.07063373923301697, -0.6968752145767212, -0.10962139070034027, 0.18055163323879242, -0.1926007717847824, -0.3792435824871063, -0.08839032053947449, 0.5158435702323914, 0.04317054897546768, -0.4412494897842407, -0.6229873895645142, 0.09296366572380066, 0.7940627932548523, -0.1166749969124794, 0.7582710385322571, 0.7174075841903687, -0.3611191213130951, -0.22650626301765442, -0.29049718379974365, -0.16579794883728027, -0.47947952151298523, 0.6713603138923645, -0.5499240159988403, -0.6204403042793274, 0.8303185105323792, -0.13387587666511536, -0.16096131503582, 0.6408297419548035, 0.2283780723810196, -0.06605570763349533, 0.9470164179801941, 1.1091772317886353, -0.26146766543388367, 0.8495868444442749, -0.6683309674263, 0.07543819397687912, -1.1115920543670654, 0.1878780871629715, -0.5006080865859985, -1.0812747478485107, -0.9110247492790222, -0.3549184501171112, 0.6147707104682922, 0.3562442362308502, -0.4823220670223236, 0.3565274775028229, -0.2608124017715454, 0.48921287059783936, 0.5436795353889465, 0.557506799697876, 0.43893298506736755, 0.1913851946592331, 0.40605002641677856, 0.18799829483032227, -0.9245876669883728, 0.24101388454437256, 1.0963109731674194, 0.5200403928756714, 1.1124756336212158, 0.43417343497276306, 0.5652508735656738, 0.41802915930747986, 0.42442458868026733, -1.146784782409668, 0.35845014452934265, -0.6515151858329773, -0.25935670733451843, -0.651374101638794, -0.37677907943725586, -1.014646053314209, 0.20372821390628815, -0.5530413389205933, -0.6497833132743835, 0.8038233518600464, 0.3015119135379791, -0.6157630681991577, 0.41059261560440063, -0.8262875080108643, 0.6230561137199402, -0.09395187348127365, -0.35361793637275696, -0.5697290897369385, -0.1959814578294754, 0.166334331035614, -0.37840530276298523, 0.10268638283014297, -0.08624057471752167, 0.027616752311587334, 0.9116362929344177, -0.4829665422439575, 0.6776788830757141, -0.6016330122947693, -0.1671951711177826, 0.06578227877616882, -0.08602315187454224, 0.632379412651062, 0.07700216770172119, -0.4460636377334595, -0.15526820719242096, -0.23436099290847778, -0.5676833987236023, -0.6405124664306641, 0.9770169258117676, -1.039332389831543, -0.401373028755188, -0.0411190502345562, -0.6322577595710754, -0.28140467405319214, 0.03358634561300278, 0.16727174818515778, 0.6957109570503235, -0.09753335267305374, 0.5764222741127014, 0.6989175081253052, -0.1215708926320076, 0.4098016023635864, 0.28429102897644043, -0.2551298141479492, -0.3936804533004761, 1.0752577781677246, 0.5426852703094482, 0.39757949113845825, 0.4540059268474579, 0.30430832505226135, 0.12775813043117523, -0.6046249270439148, -0.4117068350315094, 0.14261890947818756, -0.7752284407615662, -0.39103251695632935, -0.31510695815086365, -0.3777386248111725, 0.2574368119239807, -0.39519932866096497, -0.5552057027816772, -0.8035781979560852, -0.1254119575023651, 0.23154135048389435, 0.7372050881385803, 0.6239668130874634, -0.25157076120376587, 0.6111637949943542, -0.33022722601890564, 0.2408432960510254, 0.5482359528541565, 0.28069010376930237, 0.24035486578941345, -0.9393937587738037, -0.49137723445892334, -0.02428247779607773, -0.26542535424232483, -0.30234798789024353, -0.11291059106588364, 0.5068181157112122, 0.3695807456970215, 0.43396955728530884, -0.072221539914608, 0.8740149140357971, -0.32476359605789185, 0.34299081563949585, 0.24662451446056366, -0.8697876930236816, 0.3215388059616089, -0.27594882249832153, 0.36060070991516113, 0.42651867866516113, 0.23494172096252441, -0.09171729534864426, 0.24976155161857605, -0.4135873019695282, -0.66161048412323, 0.5777071714401245, -0.2636788785457611, 0.338595449924469, 0.7924256324768066, 0.36687037348747253, 0.09924328327178955, -0.26832470297813416, -0.6701957583427429, -0.17141258716583252, -0.16966572403907776, 0.022551052272319794, -0.3192531168460846, -0.42924678325653076, -0.19002652168273926, -0.42527487874031067, 0.756794810295105, -0.4653207063674927, 0.4184606373310089, 0.10847547650337219, -0.3437683880329132, -0.3601604700088501, 0.28163281083106995, 0.5610112547874451, 1.0266939401626587, -0.47356095910072327, -0.17588423192501068, 0.6630045771598816, -0.33434179425239563, 0.027706820517778397, 0.08762099593877792, -0.10866081714630127, -0.3801499605178833, 0.41938331723213196, 1.146788477897644, 0.3986639976501465, -0.13822412490844727, 0.45942458510398865, 0.047661591321229935, -0.27372661232948303, -0.04561982676386833, 0.462470144033432, 0.025100737810134888, 0.583516538143158, 0.5254432559013367, 0.40652599930763245, -0.023999430239200592, -0.5584263205528259, -0.20132380723953247, 0.4030005931854248, -0.46636566519737244, -0.3067803382873535, 0.33745336532592773, 0.1956217885017395, -0.23623712360858917, 0.11449237167835236, 0.07131557166576385, -0.21419134736061096, 0.6311727166175842, 0.5617200136184692, 0.5423979163169861, -0.2334001213312149, 0.02979813702404499, 0.45125824213027954, 0.021654147654771805, -0.26472559571266174, 0.21865256130695343, 0.18645638227462769, -0.670128583908081, -0.6062883138656616, -0.6939630508422852, -0.5361458659172058, 0.2646445631980896, -0.7506083250045776, 0.4675132632255554, -0.6069732308387756, -0.21546639502048492, 0.3795275092124939, 0.20378418266773224, -0.5472336411476135, 0.008059152401983738, 0.09559298306703568, 1.10557222366333, -0.9222907423973083, 0.9458874464035034, 0.5648391246795654, -0.1830974519252777, -0.7053011655807495, -0.16927362978458405, -0.28228887915611267, -0.7404311299324036, 0.37448418140411377, -0.059332843869924545, -0.23869439959526062, 0.32715803384780884, -0.32676199078559875, -1.1716938018798828, 1.2834837436676025, 0.5955673456192017, -0.5570417642593384, -0.08077100664377213, -0.2900843024253845, 0.48939749598503113, -0.47876057028770447, -0.10928381979465485, 0.2699163854122162, 0.3992209732532501, -0.026997709646821022, -0.9392514228820801, -0.061854079365730286, 0.03788721561431885, 0.01995307207107544, 0.24502672255039215, -0.7482694983482361, 1.071391224861145, -0.5544121265411377, 0.36112478375434875, 0.474697083234787, 0.5014188885688782, -0.05767152085900307, 0.12472986429929733, 0.6859990954399109, 0.5775794386863708, 0.776328444480896, 0.13193990290164948, 0.8261991739273071, 0.09610366076231003, 0.46383237838745117, 0.9170491099357605, -0.2597751319408417, 1.1325461864471436, 0.31752723455429077, -0.2776777744293213, 0.7057834267616272, 0.38770592212677, -0.04333416000008583, 0.5257200002670288, 0.06774803251028061, 0.11389364302158356, -0.24200479686260223, -0.025522619485855103, -0.73152756690979, 0.6488059759140015, 0.31819355487823486, -0.4275498390197754, -0.2680899500846863, 0.27012884616851807, -0.20278601348400116, -0.10693978518247604, -0.8991569876670837, 0.7371430397033691, 0.1690848171710968, -0.22311584651470184, 0.9523394107818604, -0.03176257386803627, 0.6556298136711121, -0.6140629649162292, 0.005676316563040018, -0.41046595573425293, 0.7194188237190247, -0.44040998816490173, -0.37901291251182556, -0.041980911046266556, -0.10627949982881546, -0.437040239572525, 0.3996441066265106, 0.576601505279541, 0.08656555414199829, -0.6455835103988647, 0.4471161961555481, 0.5780627727508545, -0.09360654652118683, 0.14070388674736023, -0.641889214515686, 0.24965250492095947, -0.12006661295890808, -0.29459109902381897, 0.6453272700309753, 0.2943900525569916, -0.40528005361557007, 0.6587705612182617, 0.8000137805938721, 0.0333855077624321, -0.16469930112361908, 0.2132052630186081, 1.1203690767288208, -0.5285561084747314, -0.5259479880332947, -0.6337077617645264, 0.28906571865081787, 0.05857907980680466, -0.10665351897478104, 0.5112073421478271, 0.47537291049957275, 0.5613741278648376, 0.030609048902988434, 0.4742908179759979, 0.015232104808092117, 0.34029191732406616, -0.745966911315918, 0.7201201915740967, -0.7800872325897217, 0.212502583861351, -0.31868356466293335, -1.4045695066452026, -0.26186689734458923, 0.6513662338256836, -0.4964523911476135, 0.032860059291124344, 0.6963768601417542, 0.6581785678863525, -0.5827900171279907, -0.38755685091018677, 0.40093860030174255, 0.40325435996055603, 0.05166787654161453, 0.7390923500061035, 0.5032671093940735, -0.8222091197967529, 0.37064433097839355, -0.1691315919160843, -0.15191398561000824, -0.6553656458854675, -0.8757314085960388, -0.6603413820266724, -0.29931893944740295, -0.28353452682495117, -0.4798240661621094, 0.28006893396377563, 0.880760133266449, 0.9153425097465515, -0.7410580515861511, -0.11603570729494095, 0.35290980339050293, 0.32651054859161377, -0.4615182876586914, -0.10464005917310715, 0.6604716181755066, 0.08931682258844376, -0.5827364325523376, 0.3510631024837494, -0.09315194934606552, -0.1370740830898285, -0.36541256308555603, -0.37495681643486023, -0.10778677463531494, 0.14583295583724976, 0.7349602580070496, 0.43697118759155273, -0.19592101871967316, -0.46530264616012573, -0.41341811418533325, 0.01484209019690752, 0.44090309739112854, 0.5988415479660034, -0.7853531837463379, 0.007440990302711725, 0.37684866786003113, 0.5353049635887146, 0.7344751358032227, -0.053610824048519135, 0.14811593294143677, -0.3821857273578644, 0.496379554271698, -0.23212938010692596, 0.42084380984306335, 0.4081053137779236, -0.16395409405231476, 0.5265050530433655, 0.019794447347521782, -0.4327737092971802, -0.9719666838645935, 0.18492941558361053, -1.2566189765930176, -0.08773442357778549, 0.9016491770744324, 0.039474375545978546, -0.4305083155632019, 0.3315887153148651, -0.22180241346359253, 0.05299660935997963, -0.28606122732162476, 0.5607517957687378, -0.11088407784700394, -0.19961482286453247, 0.025449585169553757, -0.5266817808151245, 0.4813638925552368, 0.1736985146999359, -0.795555830001831, -0.27777600288391113, 0.14459966123104095, 0.44668224453926086, 0.36387109756469727, 0.2733035683631897, 0.0027486272156238556, 0.4752798080444336, -0.16251590847969055, -0.2672296166419983, -0.16919493675231934, -0.3492000699043274, -0.623621940612793, 0.2209017425775528, 0.6673354506492615, -0.04600941762328148 ]
http://arxiv.org/abs/2402.12352v1
http://arxiv.org/pdf/2402.12352v1
Graph-Based Retriever Captures the Long Tail of Biomedical Knowledge
2024-02-19T18:31:11
2024-02-19T18:31:11
Julien Delile, Srayanta Mukherjee, Anton Van Pamel, Leonid Zhukov
cs.CL
cs.CL, cs.IR
Large language models (LLMs) are transforming the way information is retrieved with vast amounts of knowledge being summarized and presented via natural language conversations. Yet, LLMs are prone to highlight the most frequently seen pieces of information from the training set and to neglect the rare ones. In the field of biomedical research, latest discoveries are key to academic and industrial actors and are obscured by the abundance of an ever-increasing literature corpus (the information overload problem). Surfacing new associations between biomedical entities, e.g., drugs, genes, diseases, with LLMs becomes a challenge of capturing the long-tail knowledge of the biomedical scientific production. To overcome this challenge, Retrieval Augmented Generation (RAG) has been proposed to alleviate some of the shortcomings of LLMs by augmenting the prompts with context retrieved from external datasets. RAG methods typically select the context via maximum similarity search over text embeddings. In this study, we show that RAG methods leave out a significant proportion of relevant information due to clusters of over-represented concepts in the biomedical literature. We introduce a novel information-retrieval method that leverages a knowledge graph to downsample these clusters and mitigate the information overload problem. Its retrieval performance is about twice better than embedding similarity alternatives on both precision and recall. Finally, we demonstrate that both embedding similarity and knowledge graph retrieval methods can be advantageously combined into a hybrid model that outperforms both, enabling potential improvements to biomedical question-answering models.
[ -0.3491477966308594, -0.9236544370651245, 0.7432112097740173, -0.418671190738678, -0.28296107053756714, 0.5386821031570435, 0.09918413311243057, -0.6007189750671387, 0.670891523361206, 0.6591876745223999, -0.13270175457000732, -0.5374653935432434, -0.6602145433425903, 0.16402778029441833, -0.3574904799461365, 1.0676119327545166, 0.1561867743730545, -0.1097894161939621, -0.6965081095695496, -0.3142947256565094, -0.11947715282440186, -0.41162222623825073, -0.726152777671814, -0.7554048895835876, 0.7582007646560669, -0.13884571194648743, 0.3639017939567566, 0.5830118060112, 0.39788398146629333, 0.17625078558921814, -0.5198924541473389, 0.5242267847061157, -0.9109222292900085, 0.04426785558462143, -0.3716464042663574, -0.2613663375377655, -0.241123765707016, -0.3460012972354889, 0.7415508031845093, 0.9998222589492798, 0.19221344590187073, 0.18640562891960144, 0.05705302953720093, 0.9379903674125671, -0.6129584312438965, 0.21272321045398712, -0.6342624425888062, -0.12577946484088898, -0.3391417860984802, -0.5160319209098816, -0.4154983460903168, -0.32087287306785583, -0.04880639165639877, -0.6255795955657959, 0.20958685874938965, 0.206565260887146, 0.8163522481918335, 0.24719803035259247, -0.6465929746627808, -0.2847098708152771, -0.299858033657074, 0.5779876708984375, -0.4213106632232666, 0.3209904134273529, 0.2894131541252136, 0.22343580424785614, -0.3979446291923523, -0.8537497520446777, -0.4368584156036377, -0.04392240196466446, -0.42262062430381775, 0.11495505273342133, -0.22928324341773987, 0.045037608593702316, 0.33573001623153687, 0.21121183037757874, -0.5157402157783508, -0.08808904886245728, -0.5339605808258057, -0.17580914497375488, 0.31470414996147156, 0.06811806559562683, 0.23225918412208557, -0.43715184926986694, -0.3134927749633789, 0.006639379076659679, -0.961127758026123, -0.10707779228687286, -0.12063920497894287, 0.25143665075302124, 0.32600370049476624, 0.7597517967224121, -0.05206026881933212, 0.9639686346054077, 0.025598904117941856, -0.12485726177692413, 0.5977876782417297, -0.3008115589618683, 0.10979938507080078, 0.07046984881162643, 0.7105904817581177, 0.33604443073272705, -0.20809713006019592, -0.33152347803115845, 0.14433257281780243, -0.1896355301141739, 0.10508707910776138, -0.9349783658981323, 0.13110728561878204, 0.24273669719696045, -0.3994574248790741, -0.08043269068002701, -0.28649359941482544, -0.9547280073165894, -0.7372068166732788, 0.018420029431581497, 0.3646603524684906, -0.621483564376831, -0.04828799515962601, -0.061024975031614304, -0.6662216186523438, 0.08919233083724976, 0.0849573165178299, -0.3130733072757721, 0.19694066047668457, 0.7243884801864624, 0.967494010925293, -0.31198498606681824, 0.20795205235481262, -0.7179622650146484, 0.6288217902183533, -0.25457698106765747, 0.6882373094558716, -0.619908332824707, -0.6603904962539673, -0.26622891426086426, -0.03819025307893753, -0.08574815839529037, -0.6548969149589539, 0.2277660369873047, -0.8501212000846863, -0.002610319759696722, -0.4557529389858246, -0.8935772180557251, -0.16234788298606873, 0.3641318082809448, -0.636990487575531, 0.9685102701187134, 0.18111971020698547, -1.330701231956482, 0.38696300983428955, -0.45480799674987793, -0.5318726301193237, 0.19106832146644592, -0.6552501320838928, -0.4972246587276459, -0.22998853027820587, 0.2715059518814087, 0.2526059150695801, -0.35368436574935913, 0.26485052704811096, -0.523145318031311, -0.3338867127895355, 0.10220720618963242, 0.22201542556285858, 0.670581042766571, 0.05699349194765091, 0.09145552664995193, -0.08968774974346161, -0.7776477336883545, -0.03839980810880661, 0.2190515100955963, -0.3180798888206482, -0.844391942024231, -0.013516345992684364, -0.47984275221824646, 0.11348887532949448, 0.2998064458370209, -1.0509635210037231, 0.24758601188659668, -0.5237845778465271, 0.5100635886192322, 0.30811357498168945, 0.3469753563404083, 0.2647720277309418, -0.5358190536499023, 0.27330225706100464, 0.0279969684779644, -0.3324984312057495, -0.058594800531864166, -0.4871538281440735, -0.345994770526886, -0.39717748761177063, 0.26957130432128906, 0.33859744668006897, -0.9243051409721375, 0.43153706192970276, -0.5322064161300659, -0.41072550415992737, -0.6778656244277954, 0.08666756004095078, 0.30914306640625, 1.0528841018676758, 0.6688944697380066, -0.15789970755577087, -0.4553375840187073, -0.7663906812667847, -0.04383472353219986, 0.06327389180660248, -0.04534464329481125, 0.6866099238395691, 0.41753798723220825, -0.5117805004119873, 1.1468784809112549, -0.79668790102005, -0.2888981103897095, -0.33673563599586487, 0.1529446542263031, 0.4006136357784271, 0.27935388684272766, 0.5274523496627808, -0.8769310116767883, -0.24964813888072968, 0.17894510924816132, -0.7238754034042358, 0.02547762356698513, 0.3168475031852722, -0.3046773374080658, -0.004251942038536072, 0.7120417356491089, -0.7627032995223999, 0.38259610533714294, 0.3025208115577698, -0.17137424647808075, 0.26903101801872253, -0.328681081533432, 0.1433381289243698, -1.1879351139068604, 0.6912404298782349, -0.2820901572704315, -0.3675793409347534, -0.27927887439727783, -0.07253976166248322, 0.13789783418178558, -0.22557847201824188, 0.016939343884587288, 0.898046612739563, -0.48105520009994507, -0.22560742497444153, -0.3869244456291199, 0.24452455341815948, 0.4315585494041443, 0.09622174501419067, -0.019285183399915695, 0.6529485583305359, 0.26919445395469666, -0.5830242037773132, 0.15281419456005096, 0.4925687313079834, -0.03516925126314163, 0.3424453139305115, -0.5892961621284485, 0.2279028445482254, -0.6652752161026001, 0.5852328538894653, -0.8767988085746765, -0.17460748553276062, -0.03086896240711212, -0.5469382405281067, 0.6991832852363586, -0.29362982511520386, -0.49641427397727966, -0.8244205713272095, -0.28040239214897156, 0.4397171139717102, 0.6067605018615723, -0.5495761036872864, 0.6923725008964539, 0.7381138801574707, -0.23197174072265625, -0.7434130907058716, -0.4276871681213379, -0.12550826370716095, -0.11791376024484634, -0.4796272814273834, 0.4521549344062805, 0.1358148455619812, 0.03665550425648689, 0.1005367785692215, -0.0566401407122612, 0.06501094996929169, -0.2692214548587799, 0.042306240648031235, 0.2721230983734131, 0.046985089778900146, 0.5445988774299622, 0.22930686175823212, -0.16952577233314514, -0.13188184797763824, -0.27693822979927063, 0.5743647813796997, 0.33022764325141907, -0.3246782422065735, 0.22767353057861328, 0.38477566838264465, 0.3269602060317993, -0.3016328513622284, 0.6658332347869873, 0.5628485679626465, -0.3062129616737366, 0.04712216183543205, -0.5006425976753235, -0.3075074553489685, -0.43109869956970215, 0.6877807378768921, -0.15683601796627045, -1.0256410837173462, 0.5367241501808167, -0.45354753732681274, -0.16128435730934143, 0.4344014525413513, 0.2612852156162262, -0.14534957706928253, 0.9587316513061523, 0.44093212485313416, -0.17682842910289764, 0.15568594634532928, -0.38830652832984924, 0.06681327521800995, -1.0545703172683716, -0.319830983877182, -0.5374413728713989, -0.2171136885881424, -0.4219377040863037, -0.6366599202156067, 0.8038069605827332, 0.20173530280590057, -0.23850321769714355, 0.030506784096360207, -0.5521273016929626, 0.295378714799881, 0.5508989095687866, 0.42872220277786255, 0.4580218195915222, 0.00418620090931654, -0.2897784113883972, 0.1739259660243988, -0.9747949838638306, -0.1197294369339943, 1.0853512287139893, 0.11474881321191788, 0.7456870675086975, -0.10985805839300156, 0.9398183822631836, 0.058325767517089844, 0.296537846326828, -0.5778517723083496, 0.46658316254615784, -0.2521790862083435, -0.6360188126564026, -0.2853240370750427, -0.8665992617607117, -1.4386693239212036, 0.02271912433207035, -0.29667559266090393, -0.758880615234375, 0.1737174540758133, 0.1809038370847702, -0.27883613109588623, 0.47716617584228516, -0.23327359557151794, 0.5495985746383667, 0.011786391027271748, -0.335077166557312, -0.16691052913665771, -0.8537639379501343, 0.19975809752941132, -0.302257239818573, 0.45268672704696655, 0.012014244683086872, 0.002220590366050601, 0.7269498705863953, -0.38155144453048706, 0.6725870966911316, -0.1640859693288803, 0.16910722851753235, 0.4008115828037262, 0.032410360872745514, 0.6797234416007996, -0.2123626172542572, -0.07019796222448349, -0.10768284648656845, 0.07127498090267181, -0.45222967863082886, -0.5907933712005615, 0.7013958692550659, -0.5172388553619385, -0.5115863084793091, -0.17615440487861633, -0.6271746754646301, -0.3705774247646332, 0.4362265169620514, 0.4116494655609131, 0.49747776985168457, 0.046751055866479874, 0.2148314267396927, 0.6702391505241394, -0.6455835700035095, -0.08449078351259232, 0.44041985273361206, -0.529895007610321, -0.39275872707366943, 1.067344307899475, 0.2789471745491028, 0.3129843771457672, 0.5192863345146179, 0.26391810178756714, -0.46102777123451233, -0.511559784412384, -0.33990800380706787, 0.6088300347328186, -0.568784236907959, -0.46259093284606934, -1.0176737308502197, -0.29507309198379517, -0.4671343266963959, 0.0007570356247015297, -0.21092216670513153, -0.3239426016807556, -0.22799058258533478, -0.17076298594474792, 0.7723342180252075, 0.7066656947135925, -0.11096326261758804, -0.10505934059619904, -0.9891434907913208, 0.49677038192749023, 0.13808807730674744, 0.3498593866825104, -0.045316364616155624, -0.24826140701770782, -0.24128231406211853, -0.013983127661049366, -0.14615783095359802, -0.8914703130722046, 0.3658777177333832, 0.0699525848031044, 0.6278585195541382, 0.08650071918964386, 0.08535198122262955, 0.6249135136604309, -0.5060638189315796, 0.298513799905777, 0.2542876601219177, -0.2833878993988037, 0.4108448028564453, -0.4674757122993469, 0.038462068885564804, 0.4517282545566559, 0.4749876856803894, -0.3851207196712494, -0.42997369170188904, -0.6488454937934875, -1.1186240911483765, 0.2474808692932129, -0.015384256839752197, -0.19556541740894318, -0.3550921380519867, 0.40367332100868225, 0.08224774152040482, 0.2735976576805115, -0.2562743127346039, -0.2742094099521637, 0.183598130941391, -0.2935449182987213, -0.06468787044286728, -0.1671159565448761, -0.382391095161438, -0.18655487895011902, 0.5661494135856628, -0.25893649458885193, 0.35252901911735535, 0.3928394615650177, 0.03151870146393776, -0.1480543166399002, 0.20759443938732147, 0.027239803224802017, 0.4913148880004883, -0.37063083052635193, 0.10910916328430176, 0.11529483646154404, -0.36638376116752625, -0.15364272892475128, 0.5710707902908325, -0.4160659909248352, 0.11157013475894928, 0.23290042579174042, 0.4911779761314392, 0.04645822197198868, -0.813564121723175, 0.4273907542228699, 0.4791329503059387, 0.1378200799226761, -0.0047248778864741325, -0.09149370342493057, 0.26725906133651733, 0.28182655572891235, 0.6297809481620789, -0.18211892247200012, 0.4350864887237549, -0.4258953034877777, 0.5130518674850464, 0.6932005882263184, -0.3401690125465393, 0.15640321373939514, 0.5892956852912903, -0.015536817722022533, 0.09758701175451279, 0.327496200799942, -0.1472935825586319, -0.39525341987609863, 0.6609925627708435, 0.6718705296516418, 0.14739467203617096, 0.3480669856071472, 0.13445410132408142, 0.48922714591026306, -0.24276666343212128, 0.09041066467761993, 0.1517336219549179, 0.27681273221969604, -0.5469889044761658, -0.6643689870834351, -0.7001993060112, -0.1848686933517456, 0.08187444508075714, -0.6107574105262756, 0.10879258811473846, -0.11397643387317657, -0.5804049372673035, 0.08198703825473785, 0.08161522448062897, -0.4309770166873932, -0.02795792743563652, -0.0030914186500012875, 0.8386993408203125, -0.5075280070304871, 0.7241660356521606, 0.5971649885177612, -0.4827483296394348, -0.5957549810409546, -0.3503635823726654, -0.23322494328022003, -0.8979660272598267, 0.732050359249115, 0.013590112328529358, 0.01851819083094597, 0.32828694581985474, -0.38868194818496704, -1.103459358215332, 1.1390007734298706, 0.24922914803028107, -0.533448338508606, -0.410198450088501, -0.112066350877285, 0.6096932888031006, -0.20078548789024353, 0.11702678352594376, 0.42902788519859314, 0.3135458827018738, 0.46570056676864624, -0.8411420583724976, 0.11138083040714264, -0.19372601807117462, -0.29977336525917053, 0.646030068397522, -0.5721433758735657, 0.7424231767654419, -0.378450870513916, -0.1739753782749176, 0.13090473413467407, 0.28701052069664, 0.8003190159797668, 0.6340169310569763, 0.1426851451396942, 0.6091124415397644, 1.0446393489837646, 0.17824630439281464, 1.2648979425430298, -0.36467763781547546, 0.45259469747543335, 1.074347972869873, -0.25232064723968506, 0.6559106707572937, 0.6457715034484863, -0.20148587226867676, 0.4406873285770416, 0.337959885597229, 0.14473649859428406, 0.42601698637008667, 0.28187811374664307, -0.04853684827685356, -0.16154411435127258, -0.3753666877746582, -0.6923710107803345, -0.0879700779914856, 0.6799513697624207, -0.6695364713668823, -0.385346919298172, 0.0629473552107811, -0.010288452729582787, 0.09521655738353729, -0.4401892125606537, 0.8873720169067383, 0.2455463409423828, -0.4140945076942444, 0.6318663358688354, -0.514936625957489, 0.4915565848350525, -0.5918477177619934, -0.23379722237586975, -0.08427537232637405, 0.04977978765964508, -0.03866848349571228, -0.8293839693069458, 0.05926372483372688, -0.3190338909626007, -0.14596250653266907, 0.23404443264007568, 1.0165563821792603, -0.5120216608047485, -0.5970103144645691, 0.6667230725288391, 0.6633230447769165, 0.20248766243457794, 0.2604174315929413, -0.52696692943573, -0.18278566002845764, -0.10327260196208954, -0.032896775752305984, 0.3549904227256775, 0.45800381898880005, -0.006795960478484631, 0.8349891901016235, 0.5939385294914246, 0.4618886113166809, -0.1193738803267479, -0.02388933300971985, 1.2089636325836182, -0.6908137798309326, -0.3574715554714203, -0.5385347008705139, 0.039912283420562744, -0.4856247007846832, 0.18471385538578033, 0.5301284790039062, 0.8020154237747192, 0.46755361557006836, 0.16237786412239075, 0.8910717964172363, -0.013452309183776379, 1.3407396078109741, -0.3740249574184418, 0.7973722219467163, -0.6813042163848877, 0.05505596846342087, -0.32870543003082275, -0.4759244918823242, -0.2339978665113449, 0.29654499888420105, -0.41117557883262634, 0.07561001181602478, 0.4686805307865143, 0.5933992266654968, 0.00486032385379076, -0.25450026988983154, 0.17398306727409363, 0.42259472608566284, 0.2980960011482239, 0.5229905247688293, 0.510108470916748, -0.07465795427560806, 0.59923255443573, 0.15985897183418274, -0.16802391409873962, -0.22431211173534393, -0.6514942049980164, -0.8770761489868164, -0.30269473791122437, -0.07947256416082382, -0.6725449562072754, 0.33012476563453674, 0.7197529673576355, 0.4348284602165222, -0.5502907037734985, 0.20420286059379578, 0.046602435410022736, 0.0818396732211113, 0.10456398874521255, -0.20236778259277344, 0.7051316499710083, -0.3475673794746399, -0.3087005019187927, 0.34621673822402954, 0.17904040217399597, 0.14407789707183838, 0.08583498001098633, -0.013290378265082836, -0.33234649896621704, -0.05941259115934372, 0.5497479438781738, 0.5568341612815857, -0.2625983655452728, -0.1747836023569107, 0.049247849732637405, -0.24184668064117432, 0.2511841654777527, 0.6955356001853943, -1.2275612354278564, 0.5297111868858337, 0.5975852608680725, 0.9504356384277344, 0.9886900782585144, 0.23087498545646667, 0.5124485492706299, -0.8179543614387512, 0.17257902026176453, 0.41325291991233826, 0.35285940766334534, 0.4509151577949524, -0.4450961947441101, 0.520356297492981, 0.3365683853626251, -0.5444331765174866, -0.6685800552368164, 0.20993439853191376, -0.8898619413375854, -0.5267614722251892, 1.203536033630371, 0.10106144100427628, -0.3474302887916565, -0.2833481729030609, -0.2907624840736389, 0.5478252172470093, -0.3314434885978699, 0.8007634878158569, 0.23031404614448547, -0.27350226044654846, 0.30684828758239746, -0.4292057156562805, 0.5351154208183289, 0.1632419377565384, -0.6609178781509399, 0.037924736738204956, 0.5384373068809509, 0.2682461738586426, 0.42163020372390747, 0.8784834146499634, -0.3176671266555786, 0.011202382855117321, -0.1474432796239853, -0.0719013586640358, -0.08036582171916962, -0.02970750257372856, 0.13427570462226868, 0.2937059998512268, -0.10932183265686035, 0.09777769446372986 ]
http://arxiv.org/abs/2402.12348v2
http://arxiv.org/pdf/2402.12348v2
GTBench: Uncovering the Strategic Reasoning Limitations of LLMs via Game-Theoretic Evaluations
2024-02-19T18:23:36
2024-06-10T17:14:09
Jinhao Duan, Renming Zhang, James Diffenderfer, Bhavya Kailkhura, Lichao Sun, Elias Stengel-Eskin, Mohit Bansal, Tianlong Chen, Kaidi Xu
cs.CL
cs.CL, cs.AI, cs.LG
As Large Language Models (LLMs) are integrated into critical real-world applications, their strategic and logical reasoning abilities are increasingly crucial. This paper evaluates LLMs' reasoning abilities in competitive environments through game-theoretic tasks, e.g., board and card games that require pure logic and strategic reasoning to compete with opponents. We first propose GTBench, a language-driven environment composing 10 widely recognized tasks, across a comprehensive game taxonomy: complete versus incomplete information, dynamic versus static, and probabilistic versus deterministic scenarios. Then, we (1) Characterize the game-theoretic reasoning of LLMs; and (2) Perform LLM-vs.-LLM competitions as reasoning evaluation. We observe that (1) LLMs have distinct behaviors regarding various gaming scenarios; for example, LLMs fail in complete and deterministic games yet they are competitive in probabilistic gaming scenarios; (2) Most open-source LLMs, e.g., CodeLlama-34b-Instruct and Llama-2-70b-chat, are less competitive than commercial LLMs, e.g., GPT-4, in complex games, yet the recently released Llama-3-70b-Instruct makes up for this shortcoming. In addition, code-pretraining greatly benefits strategic reasoning, while advanced reasoning methods such as Chain-of-Thought (CoT) and Tree-of-Thought (ToT) do not always help. We further characterize the game-theoretic properties of LLMs, such as equilibrium and Pareto Efficiency in repeated games. Detailed error profiles are provided for a better understanding of LLMs' behavior. We hope our research provides standardized protocols and serves as a foundation to spur further explorations in the strategic reasoning of LLMs.
[ -0.3938387334346771, -0.89295494556427, 1.023330569267273, 0.339811235666275, -0.043759241700172424, 0.433217316865921, -0.46602046489715576, -0.34621772170066833, -0.02708066999912262, 0.31784045696258545, -0.6530382037162781, -0.6837594509124756, -0.3997332751750946, -0.21134494245052338, -0.07962293922901154, 0.7304520606994629, -0.0783654972910881, 0.0031468539964407682, -0.4154208302497864, -0.07199475169181824, -0.5481564998626709, -0.6784365177154541, -0.6599339246749878, -0.6249580979347229, 0.14885249733924866, 0.5070065259933472, 0.7937532067298889, 0.5433279871940613, 0.7180566191673279, 0.39548155665397644, -0.07056082040071487, -0.05759632587432861, -0.8241129517555237, 0.3706696033477783, -0.5326252579689026, -0.7364547252655029, -0.3485817611217499, 0.11630319803953171, 0.3706824779510498, 0.31458309292793274, -0.5286492705345154, 0.17699044942855835, 0.043965891003608704, 0.3874858021736145, -0.49397513270378113, 0.3502500653266907, -0.6895769238471985, 0.2186138927936554, -0.2825954556465149, -0.2448846846818924, -0.3980829119682312, -0.2949168086051941, 0.0949065238237381, -0.856590747833252, -0.1517239809036255, 0.11584378033876419, 0.8311812877655029, 0.1509401500225067, 0.028895307332277298, -0.546252429485321, -0.8262092471122742, 0.7015301585197449, -0.5196915864944458, 0.16774100065231323, -0.024223854765295982, 0.6078222990036011, -0.5172116756439209, -0.6230556964874268, -0.38669589161872864, -0.5034290552139282, 0.17473025619983673, 0.4976119101047516, -0.402192622423172, 0.30171796679496765, 0.4927773177623749, 0.04576651751995087, -0.5223198533058167, 0.15619821846485138, -0.056353989988565445, 0.1542130708694458, 0.6197183728218079, 0.35042881965637207, 0.2491832673549652, 0.01456457655876875, -0.5244465470314026, 0.05196177586913109, -0.6782343983650208, 0.014885511249303818, 0.3482603132724762, -0.3255990743637085, 0.14331291615962982, 0.4899793863296509, -0.05927233397960663, 0.3255748748779297, 0.07774166762828827, -0.26636356115341187, -0.2941242456436157, -0.2202824354171753, -0.1451951414346695, -0.05073960870504379, 0.6979508996009827, 0.42644867300987244, 0.34124383330345154, -0.432327538728714, -0.1058373898267746, 0.37571877241134644, 0.027172107249498367, -0.4230676591396332, -0.3275817036628723, 0.22192561626434326, -0.42370709776878357, -0.22264079749584198, -0.2595515549182892, -0.9175426959991455, -0.40549442172050476, -0.06363038718700409, 0.3610696494579315, -0.311745822429657, 0.02591334842145443, 0.30808642506599426, -0.5000974535942078, 0.3927983045578003, 0.1732555627822876, -0.70616614818573, 0.41718849539756775, 0.9029762148857117, 0.647877037525177, -0.2836616635322571, -0.3349350690841675, -0.39437392354011536, 0.4123096466064453, -0.328888863325119, 0.9939941167831421, -0.5781347751617432, -0.5313360691070557, -0.35189545154571533, -0.48785078525543213, 0.11204785108566284, -0.8279376029968262, 0.800309956073761, -0.4513251781463623, -0.09135955572128296, -0.5090800523757935, -0.5393077731132507, 0.1609765887260437, 0.6392898559570312, -0.4633576571941376, 0.8171991109848022, -0.3613194227218628, -0.4770461320877075, 0.37327754497528076, -0.6962933540344238, -0.43050897121429443, 0.4003901183605194, -0.4057564437389374, 0.09866394102573395, 0.19192172586917877, -0.04825897142291069, 0.08186092227697372, -0.6458351016044617, 0.4871877431869507, -0.6275030374526978, -0.5387362241744995, 0.2960628271102905, -0.30107560753822327, 0.8146457076072693, 0.08076582849025726, -0.6591554880142212, 0.32550880312919617, -0.3519810438156128, 0.47240298986434937, 0.3837731182575226, -0.4277109205722809, 0.06421178579330444, 0.7405194044113159, -0.6180610656738281, 0.37898939847946167, 0.10653345286846161, -0.19746768474578857, 0.22010537981987, -0.12892629206180573, 0.5863282680511475, 0.9106521010398865, -0.21015959978103638, 0.2234482616186142, -0.2873472571372986, 0.618879497051239, -0.4505928158760071, 0.3731743097305298, 0.5462170839309692, -0.43557217717170715, -0.7533823251724243, -0.242086261510849, 0.2326970249414444, 1.0025420188903809, -0.9165772199630737, 0.297775536775589, -0.44034644961357117, -0.6085731983184814, 0.02712702751159668, -0.012039032764732838, 0.2782776355743408, 0.179967001080513, 0.056669287383556366, -0.17658810317516327, -0.5597888231277466, -0.7123932838439941, -0.30129724740982056, -0.35579001903533936, 0.2083996832370758, 0.5764267444610596, 0.5405282974243164, -0.06674352288246155, 0.6041990518569946, -0.3346623182296753, -0.10339558869600296, -0.644016444683075, -0.08691123127937317, 0.14171835780143738, 0.20471441745758057, 0.2836839556694031, -0.08095338195562363, -0.091715008020401, -0.13098487257957458, -0.9746747016906738, -0.16581155359745026, -0.22564846277236938, -0.43866488337516785, -0.1901429295539856, 0.5654054284095764, -0.8165488243103027, 0.3475460708141327, 0.4718533754348755, -0.2913980185985565, 0.7579261064529419, -0.30423033237457275, -0.0715029165148735, -0.25264668464660645, -0.013815443962812424, -0.22446610033512115, 0.05160033330321312, -0.4000593423843384, 0.5705637335777283, -0.5670738220214844, 0.09352872520685196, 0.02123270183801651, 0.45581814646720886, -0.45681121945381165, -0.31501495838165283, -0.06553574651479721, 0.669096052646637, -0.13420873880386353, 0.33779868483543396, 0.28342923521995544, 0.740765392780304, 0.3385416865348816, -0.4624958038330078, 0.7909246683120728, 0.025016888976097107, -0.5940712690353394, 0.6488252878189087, -0.7284494042396545, 0.03331385552883148, 0.14052914083003998, 0.3454746901988983, -0.8951252102851868, 0.14577680826187134, 0.3740350008010864, -0.21582099795341492, -0.19486026465892792, 0.019689152017235756, -0.6519051194190979, -0.45362159609794617, -0.22486884891986847, 0.07527079433202744, 0.46140748262405396, -0.4517172873020172, 0.5952980518341064, 0.3455961346626282, -0.004285705275833607, -0.5318687558174133, -0.6799429059028625, 0.2421031892299652, -0.3690466284751892, -0.5932213068008423, 0.2474701702594757, -0.18266284465789795, -0.5566349625587463, 0.04400845617055893, -0.2924982011318207, 0.09937296062707901, 0.3382760286331177, 0.026363585144281387, 0.24520370364189148, -0.24312430620193481, -0.09649252146482468, -0.27559712529182434, -0.08388008922338486, 0.5355914235115051, -0.319935142993927, 0.3439144492149353, -0.46784690022468567, -0.5223108530044556, 0.26364681124687195, 0.1898583173751831, 0.12625102698802948, -0.12302358448505402, 0.3941720724105835, 0.2242521345615387, -0.012083220295608044, -0.42021870613098145, -0.6249021291732788, 0.0166726466268301, -0.48184502124786377, 0.4358617663383484, -0.473895788192749, -0.7893140912055969, 0.7278991937637329, -0.3849748373031616, -0.08877857029438019, 0.44100117683410645, 0.5252817273139954, -0.2570938169956207, 0.9225817322731018, 0.15640005469322205, 0.1600181758403778, 0.05207749456167221, -0.08949842303991318, 0.11782370507717133, -0.5008067488670349, -0.4459610879421234, -0.28848928213119507, -0.6293255090713501, -0.5554074048995972, -0.5439898371696472, 0.3149071931838989, 0.2131483405828476, -0.4894542396068573, -0.0868983343243599, -0.23719486594200134, 1.0639395713806152, 0.5878235101699829, 0.1773223876953125, 0.28648602962493896, -0.1604941189289093, -0.5474098920822144, -0.03585265949368477, -1.0612916946411133, -0.45577821135520935, 0.9231777787208557, 0.18077155947685242, 0.6563143134117126, 0.4246878921985626, 0.7059227824211121, 0.1525770127773285, 0.2801375985145569, -0.7338589429855347, 0.9949899315834045, 0.1188083067536354, -0.8839578032493591, -0.248372882604599, -0.6349723935127258, -0.741136908531189, 0.12903781235218048, -0.3057125210762024, -0.8355224132537842, 0.055726390331983566, -0.07538890093564987, -0.43350493907928467, 0.4798765480518341, -0.45840370655059814, 0.9882725477218628, -0.8191463947296143, -0.6563311815261841, -0.4053973853588104, -0.43807801604270935, 0.6749728322029114, 0.30729034543037415, 0.13692855834960938, -0.05046052113175392, -0.12648586928844452, 0.4776875376701355, -0.09599754214286804, 0.5488158464431763, 0.015363998711109161, 0.04146455600857735, 0.4525678753852844, 0.5021255612373352, 0.48861992359161377, 0.12634910643100739, 0.1775112897157669, 0.07738400250673294, 0.05096050724387169, -0.27334311604499817, -0.646315336227417, 0.7563925981521606, -0.6701940298080444, -1.0322173833847046, -0.7416969537734985, -0.4484536647796631, -0.5769240856170654, 0.06052813678979874, 0.2333342432975769, -0.03333795443177223, -0.5824661254882812, 0.07781964540481567, 0.7191486954689026, -0.3236981928348541, 0.13283534348011017, 0.2508310079574585, -0.1908475160598755, -0.2561427354812622, 0.953355073928833, -0.06298402696847916, 0.2796693742275238, 0.12821756303310394, 0.15472103655338287, -0.28468701243400574, -0.7352991700172424, -0.118744857609272, 0.052486781030893326, -0.9886852502822876, -0.061798907816410065, 0.07293038070201874, -0.24272532761096954, 0.4904932379722595, -0.15531834959983826, 0.02381005324423313, -0.3161299526691437, 0.09667441993951797, -0.222086101770401, -0.19627754390239716, 0.911106288433075, -0.3237014710903168, 0.3314040005207062, -0.3429199159145355, 0.14014987647533417, 0.293718159198761, 0.6319117546081543, 0.07294054329395294, -0.17397752404212952, 0.20671702921390533, -0.2036495953798294, -0.2296927273273468, -0.9624674916267395, -0.08828376978635788, -0.15130195021629333, 0.9814528822898865, 0.3740193843841553, -0.34071075916290283, 0.7956712245941162, -0.5075020790100098, 0.6247799396514893, -0.025946516543626785, -1.1399303674697876, 0.27486464381217957, -0.44624099135398865, 0.12483088672161102, 0.5541313886642456, 0.12008068710565567, -0.3168680965900421, -0.10476846992969513, -0.8106212019920349, -0.4571080803871155, 0.6855098009109497, 0.12258280813694, -0.33320754766464233, -0.20745855569839478, 0.2892530560493469, -0.337921679019928, 0.1874990463256836, -0.641855001449585, -0.20600341260433197, 0.15329770743846893, 0.14992466568946838, -0.028076037764549255, -0.33159691095352173, -0.2984117865562439, -0.2431599646806717, 0.5375575423240662, 0.19802387058734894, 0.37530094385147095, -0.08895863592624664, 0.042951155453920364, 0.11492729187011719, 0.42884185910224915, 0.6422203183174133, 0.7359948754310608, -0.14293767511844635, 0.0813836008310318, 0.37742987275123596, -0.10833757370710373, 0.3688619136810303, 0.1082204058766365, -0.08441178500652313, -0.245031476020813, 0.488007515668869, 0.5253127217292786, 0.3756057024002075, -1.0760242938995361, 0.3018324375152588, 0.03936421498656273, -0.3728479743003845, -0.04782998934388161, 0.11875775456428528, 0.30841901898384094, 0.5814188122749329, -0.049272432923316956, 0.0226468276232481, 0.14558163285255432, -0.8144845366477966, 0.010109659284353256, 0.8593104481697083, 0.06011887639760971, -0.04643682390451431, 0.610612690448761, 0.27582061290740967, 0.056767597794532776, 0.5117910504341125, -0.6696428060531616, -0.7548608183860779, 0.5662508606910706, 0.4784505367279053, 0.655479371547699, 0.11318264156579971, 0.3449101746082306, 0.11826883256435394, 0.5321357846260071, -0.2532701790332794, 0.4255824685096741, 0.026619112119078636, -0.6061394214630127, -0.5867316722869873, -0.1078941598534584, -0.6520247459411621, 0.09397478401660919, -0.2426377534866333, -0.15752814710140228, -0.9565690755844116, -0.5289074182510376, -0.2806338965892792, 0.2016848772764206, -0.6498837471008301, -0.2690071761608124, 0.4111289083957672, 0.8711944818496704, -0.3140181303024292, 0.32943588495254517, 0.4930651783943176, -0.18242201209068298, -0.6762728691101074, -0.15586353838443756, 0.19749955832958221, -0.8296270966529846, 0.8752966523170471, -0.3974478244781494, -0.30068930983543396, -0.12658736109733582, -0.6438853740692139, -0.7973815202713013, 1.107878565788269, 0.6162872910499573, -0.6898111701011658, -0.31101083755493164, 0.24543696641921997, 0.45032015442848206, -0.15575137734413147, 0.43793678283691406, 0.8737828731536865, 0.6825351119041443, 0.22255559265613556, -0.7184689044952393, 0.02529941126704216, -0.017988063395023346, -0.23846890032291412, -0.0036098002456128597, -0.7397928833961487, 0.5271888971328735, -0.42270684242248535, -0.4342765808105469, 0.10077665001153946, 0.47214674949645996, 0.6800215244293213, -0.0064508868381381035, 0.20929861068725586, 0.7783421277999878, 0.835838794708252, -0.5620901584625244, 0.9624709486961365, -0.20411811769008636, 0.17102302610874176, 1.0401095151901245, -0.5880962610244751, 0.8310865759849548, 0.1146906390786171, -0.2140653431415558, 0.7404412031173706, 0.388490229845047, -0.13665108382701874, 0.2575114965438843, 0.7526062726974487, -0.08757679164409637, -0.6625822186470032, 0.03422994539141655, -0.1541467308998108, 0.5491989850997925, 0.5870718955993652, 0.0322783887386322, -0.527584969997406, -0.45913732051849365, 0.10793532431125641, 0.0213349349796772, -0.26610690355300903, 0.6099900603294373, -0.060357626527547836, -0.6668900847434998, 0.2902734875679016, 0.04668635502457619, 0.5060716271400452, -0.6941876411437988, 0.13927975296974182, -0.22321954369544983, 0.43951037526130676, -0.0411948636174202, -1.068723440170288, -0.01357719860970974, 0.20008538663387299, 0.20802928507328033, 0.046158984303474426, 0.7250788807868958, -0.023481903597712517, -0.2919256389141083, 0.4765155017375946, 0.9090977311134338, 0.005102706607431173, -0.030864687636494637, -1.1598122119903564, 0.5030986666679382, -0.17300423979759216, -0.14203347265720367, 0.29292070865631104, 0.6709516644477844, 0.03429412096738815, 0.7957845330238342, 0.4822017550468445, 0.28657886385917664, -0.09438234567642212, -0.14387847483158112, 0.6686550974845886, -0.7442763447761536, -0.3827745020389557, -1.0674711465835571, -0.173846036195755, -0.25339508056640625, -0.17042842507362366, 0.7626495957374573, 0.5631508231163025, 0.7509405016899109, 0.12654060125350952, 0.8298869132995605, 0.01322909351438284, -0.13971661031246185, -0.5360502600669861, 0.47979050874710083, -0.0476938933134079, 0.4064381420612335, -0.03283865749835968, -0.8193917870521545, -0.06363878399133682, 0.5397820472717285, -0.7554672360420227, 0.04718286171555519, 0.6827151775360107, 0.3300577402114868, -0.013757560402154922, -0.0012458419660106301, 0.14467206597328186, 0.12720887362957, 0.3894849419593811, 1.2444082498550415, 1.2405555248260498, 0.13719938695430756, 0.8081281185150146, -0.02348584122955799, -0.34868529438972473, 0.03777751326560974, -1.049851655960083, -1.1583343744277954, -0.007388738915324211, -0.08018071949481964, -0.4162657558917999, 0.41127318143844604, 0.7288303971290588, 0.2909896969795227, -0.44969871640205383, -0.6852235198020935, -0.13645848631858826, 0.30722230672836304, -0.3314340114593506, -0.22979407012462616, 0.07322301715612411, -0.2397657036781311, -0.2012990117073059, 0.40704286098480225, 0.35641878843307495, -0.15878178179264069, -0.17706355452537537, -0.08187444508075714, -0.1662445068359375, 0.5351278781890869, 0.6685802936553955, 0.4561329782009125, -0.9241984486579895, -0.22267253696918488, 0.1168208122253418, -0.00590229406952858, 0.013662214390933514, 0.7528917193412781, -0.7121937274932861, 0.22719062864780426, 0.43764618039131165, 0.5500476360321045, 0.22350677847862244, 0.027767429128289223, 0.47264647483825684, -0.16634437441825867, -0.04418075457215309, 0.38230210542678833, 0.32174694538116455, -0.10650573670864105, 0.051070138812065125, 0.6844423413276672, 0.39393946528434753, -0.5179566740989685, -0.5760542750358582, 0.3152797222137451, -0.7655110359191895, -0.3039533495903015, 1.1830263137817383, -0.07838389277458191, -0.03820709139108658, 0.20796701312065125, -0.1428169459104538, -0.19069883227348328, -0.17114822566509247, 0.5200726985931396, 1.2481298446655273, -0.20114952325820923, 0.047313619405031204, -0.7683265805244446, 0.6608796715736389, 0.3468788266181946, -0.9830650091171265, 0.14736072719097137, 0.6142674088478088, 0.11982488632202148, 0.10414821654558182, 0.4659177362918854, 0.1186947226524353, 0.4122623801231384, 0.3228844106197357, -0.17659331858158112, -0.12194610387086868, -0.2389037013053894, 0.01660788059234619, 0.226973757147789, 0.15915842354297638, 0.22515732049942017 ]
http://arxiv.org/abs/2402.12343v4
http://arxiv.org/pdf/2402.12343v4
Emulated Disalignment: Safety Alignment for Large Language Models May Backfire!
2024-02-19T18:16:51
2024-06-06T12:54:48
Zhanhui Zhou, Jie Liu, Zhichen Dong, Jiaheng Liu, Chao Yang, Wanli Ouyang, Yu Qiao
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLMs) undergo safety alignment to ensure safe conversations with humans. However, this paper introduces a training-free attack method capable of reversing safety alignment, converting the outcomes of stronger alignment into greater potential for harm by accessing only LLM output token distributions. Specifically, our method achieves this reversal by contrasting the output token distribution of a safety-aligned language model (e.g., Llama-2-chat) against its pre-trained version (e.g., Llama-2), so that the token predictions are shifted towards the opposite direction of safety alignment. We name this method emulated disalignment (ED) because sampling from this contrastive distribution provably emulates the result of fine-tuning to minimize a safety reward. Our experiments with ED across three evaluation datasets and four model families (Llama-1, Llama-2, Mistral, and Alpaca) show that ED doubles the harmfulness of pre-trained models and outperforms strong baselines, achieving the highest harmful rates in 43 out of 48 evaluation subsets by a large margin. Eventually, given ED's reliance on language model output token distributions, which particularly compromises open-source models, our findings highlight the need to reassess the open accessibility of language models, even if they have been safety-aligned. Code is available at https://github.com/ZHZisZZ/emulated-disalignment.
[ 0.0848921462893486, -0.6678106188774109, 0.3539228141307831, 0.0481480211019516, -0.4645960032939911, 0.31015393137931824, -0.1546170562505722, -0.37662243843078613, 0.16615618765354156, 0.47000789642333984, -0.4819789528846741, -0.6291589736938477, -0.7960749864578247, -0.21844416856765747, -0.7182063460350037, 1.0995086431503296, 0.026647377759218216, -0.12751813232898712, 0.07372088730335236, -0.11077041923999786, -0.33709782361984253, -0.6288731694221497, -0.5865662097930908, -0.26806721091270447, 0.37560349702835083, 0.13541080057621002, 0.8019325733184814, 0.9007445573806763, 0.7047491669654846, 0.3775370419025421, -0.24294929206371307, -0.5432184338569641, -0.8097904920578003, 0.004041619598865509, -0.15847331285476685, -0.44484618306159973, -0.6380791664123535, 0.037140801548957825, 0.5467100143432617, 0.6422827243804932, -0.41874024271965027, 0.11593003571033478, 0.3216248154640198, 0.39069339632987976, -0.8153662085533142, -0.15804338455200195, -0.9689844846725464, -0.05386015772819519, -0.1477360874414444, -0.055140867829322815, -0.6877561807632446, -0.44422048330307007, -0.1420574188232422, -0.4428747594356537, -0.19737520813941956, 0.10384911298751831, 0.7441121935844421, 0.5512621402740479, -0.33327290415763855, -0.21042931079864502, -0.5838645696640015, 1.0077050924301147, -0.7527433633804321, 0.4686921536922455, 0.21542362868785858, 0.40681949257850647, -0.2951301038265228, -0.4573471248149872, -0.6232606768608093, -0.0029723886400461197, -0.10435272008180618, -0.08959181606769562, -0.3798525333404541, 0.1783299595117569, 0.0509529635310173, 0.04222379997372627, -0.26378360390663147, 0.6443265676498413, -0.34958764910697937, -0.1910843551158905, 0.569748044013977, 0.1893557757139206, 0.3585904538631439, 0.1497054249048233, -0.6205857396125793, -0.23633600771427155, -1.0762603282928467, -0.12982673943042755, 0.5937163233757019, 0.2709479331970215, -0.2956651747226715, 0.6322173476219177, -0.07161406427621841, 0.5288759469985962, 0.31986933946609497, -0.26158589124679565, 0.4162318706512451, -0.3090900182723999, -0.40083980560302734, 0.2910913825035095, 0.7330447435379028, 0.7358729243278503, 0.04126816242933273, -0.04372384771704674, -0.28348273038864136, 0.061365820467472076, 0.2946458160877228, -0.7149680256843567, -0.018368801102042198, 0.3337923586368561, -0.3123573064804077, -0.784339189529419, -0.2847859561443329, -0.9201321005821228, -0.5450266003608704, -0.10509610921144485, 0.3170120120048523, -0.2669827938079834, -0.35718294978141785, 0.04276184365153313, 0.07805117964744568, 0.28193801641464233, 0.20590484142303467, -1.1107292175292969, 0.20685890316963196, 1.0308932065963745, 0.7045354247093201, 0.12129273265600204, -0.4538167119026184, -0.6313828229904175, 0.32762423157691956, -0.3478411138057709, 0.306138813495636, -0.7495361566543579, -0.18100859224796295, -0.025036297738552094, -0.10981710255146027, 0.00798919890075922, -0.28327181935310364, 0.3491118848323822, -0.5264455676078796, -0.05061274766921997, 0.049539126455783844, -0.16821178793907166, -0.08515626192092896, 0.3506227135658264, -0.459371417760849, 0.5984458327293396, -0.21948829293251038, -1.1241624355316162, 0.30323171615600586, -0.36300894618034363, -0.12025976181030273, -0.6400236487388611, -0.1814093440771103, -0.5764039158821106, 0.06178570166230202, 0.33256182074546814, 0.233985036611557, -0.03807961568236351, 0.2546508312225342, -0.544891893863678, -0.48258620500564575, 0.3051510453224182, -0.6651017665863037, 1.0789836645126343, 0.2216673642396927, -0.4890996813774109, 0.1642080694437027, -0.690253734588623, -0.08196359127759933, 0.17194394767284393, -0.17717917263507843, -0.7583994269371033, 0.12256911396980286, -0.3570745289325714, 0.14251232147216797, 0.2010631561279297, -0.7062239646911621, 0.1212577223777771, -0.7124397158622742, 0.27111300826072693, 1.1003267765045166, -0.13492824137210846, 0.5424088835716248, -0.25326603651046753, 0.4095427989959717, 0.19628597795963287, 0.553233802318573, 0.17266662418842316, -0.1866888850927353, -0.5429524779319763, -0.49980074167251587, 0.3288852870464325, 0.5116357803344727, -0.5928381085395813, 0.46683692932128906, -0.40387752652168274, -0.4905385971069336, -0.9121716022491455, -0.03201349824666977, 0.7200374007225037, 0.3647405207157135, 0.20138899981975555, -0.28050535917282104, -0.4943448603153229, -0.8650308847427368, -0.2017829269170761, -0.44686758518218994, 0.14852924644947052, -0.283498078584671, 0.2592620253562927, -0.3223552405834198, 0.603159487247467, -0.4153992235660553, 0.07848962396383286, 0.07322174310684204, -0.016665568575263023, -0.11188703030347824, 0.6249443292617798, 0.6327804327011108, -0.4571969509124756, -0.12221376597881317, -0.07484464347362518, -0.5197096467018127, -0.3295036554336548, -0.1995398849248886, -0.4274364709854126, 0.15717557072639465, 0.5717023611068726, -0.15530189871788025, 0.5861057043075562, 0.857640266418457, -0.14892318844795227, 0.20165611803531647, 0.09148816764354706, 0.22594411671161652, -1.16655695438385, 0.06534580141305923, -0.4086739420890808, -0.04272938519716263, -0.7346611618995667, 0.3128150403499603, 0.08955053240060806, 0.06491533666849136, -0.6467331051826477, 0.30523598194122314, -0.38361817598342896, -0.0979025587439537, -0.23631295561790466, 0.21531268954277039, -0.1330147683620453, 0.28653720021247864, -0.23168949782848358, 0.5670427083969116, 0.42766624689102173, -0.4080585539340973, 0.005058016628026962, 0.47466811537742615, -0.18761125206947327, 0.5032862424850464, -0.571868360042572, 0.3975161910057068, -0.25982263684272766, 0.14995180070400238, -1.1586761474609375, -0.019870609045028687, 0.5227970480918884, -0.28842493891716003, 0.48462557792663574, -0.2227345108985901, -0.11989732086658478, -0.03220878541469574, -0.6811767220497131, 0.5842628479003906, 0.6363105773925781, -0.9254943132400513, 0.2060105800628662, 0.5360065698623657, -0.26435238122940063, -1.2878857851028442, -0.8372365236282349, -0.02407381869852543, -0.49010127782821655, -0.3594755232334137, 0.14423932135105133, 0.10658541321754456, -0.5443165898323059, -0.14541733264923096, 0.08000900596380234, 0.09087695926427841, 0.4929182231426239, 0.4192598760128021, 0.2535831332206726, 0.1280355304479599, -0.0028484556823968887, 0.4784429371356964, -0.1751043200492859, -0.08765491098165512, 0.19049113988876343, 0.6212359070777893, 0.2751305103302002, -0.8657208681106567, -0.4781048595905304, 0.35768982768058777, 0.5764139294624329, -0.21278879046440125, 0.8601298928260803, 0.06928633153438568, -0.5004454255104065, 0.17068719863891602, -0.32233941555023193, -0.32441583275794983, -0.5724608302116394, 0.5452697277069092, -0.06937815248966217, -0.6330567598342896, 0.3065565526485443, -0.032116860151290894, 0.7332538962364197, 0.24689790606498718, 0.5072290301322937, 0.04141102731227875, 1.1534085273742676, 0.7088372111320496, -0.20853856205940247, 0.48080727458000183, 0.27225854992866516, 0.3069094717502594, -0.7684854865074158, -0.09186497330665588, -0.639349639415741, -0.5061340928077698, -0.5149127840995789, -0.29890725016593933, 0.12351655215024948, 0.33632466197013855, -0.40683311223983765, 0.26720795035362244, -0.5046378374099731, 0.5978541970252991, 0.19546276330947876, -0.006189379841089249, 0.3652649521827698, 0.15173722803592682, -0.1518314778804779, -0.10370268672704697, -0.3654979169368744, -0.6256863474845886, 1.267641305923462, 0.5449848175048828, 0.990395724773407, 0.3228805363178253, 1.2591277360916138, -0.11830033361911774, 0.7607312798500061, -0.4939101040363312, 0.5084015727043152, -0.026429619640111923, -0.45430684089660645, -0.2933627665042877, -0.2980750501155853, -0.875720202922821, 0.1988641619682312, -0.11698292940855026, -0.8906021118164062, 0.12911182641983032, 0.28523313999176025, -0.3490449786186218, 0.4597148597240448, -0.759031355381012, 0.5822869539260864, -0.39659231901168823, -0.05765542760491371, -0.35438868403434753, -0.5962857604026794, 0.5566916465759277, -0.42341670393943787, 0.4951114058494568, -0.021717211231589317, -0.0722019150853157, 0.6448853611946106, -0.35623547434806824, 1.2991002798080444, -0.17752914130687714, -0.370800644159317, 0.1401520073413849, 0.26240575313568115, 0.6728406548500061, -0.2938731014728546, -0.19558990001678467, 0.33527258038520813, 0.037045106291770935, -0.38287633657455444, -0.5116411447525024, 0.8712287545204163, -0.7779126763343811, -1.0084011554718018, -0.3250465393066406, -0.2771490812301636, 0.07431722432374954, 0.09046807885169983, 0.05433852598071098, 0.2362709939479828, -0.34241732954978943, -0.04858171567320824, 0.057328879833221436, -0.5120365023612976, 0.4986889660358429, 0.3957326114177704, -0.48644718527793884, -0.48203426599502563, 0.7635269165039062, 0.00018108330550603569, 0.7327979207038879, 0.3152095675468445, 0.06397499889135361, -0.36893415451049805, -0.7932059168815613, -0.5417225360870361, 0.06940906494855881, -0.8414446711540222, -0.20513826608657837, -0.40702879428863525, -0.0533028170466423, -0.42735740542411804, -0.3912283182144165, -0.4320926070213318, -0.5384447574615479, -0.07263962179422379, -0.5162330865859985, 0.2889218330383301, 0.7484972476959229, -0.2558451294898987, 0.2846245765686035, -0.7232284545898438, -0.21145625412464142, 0.08312801271677017, 0.3875744342803955, 0.044827938079833984, -0.5639309883117676, 0.11016268283128738, 0.2152564376592636, -0.3962862491607666, -0.9363458752632141, 0.23258253931999207, -0.0811278447508812, 0.478485107421875, 0.612361490726471, 0.32252779603004456, 0.6428095698356628, -0.6215720772743225, 0.540336012840271, 0.6130845546722412, -0.8970849514007568, 0.26687848567962646, -0.04220157861709595, -0.19445575773715973, 0.6821693778038025, 0.25407350063323975, -0.452865868806839, -0.5851745009422302, -0.44454923272132874, -0.8678975701332092, 0.46688714623451233, 0.13212472200393677, 0.3450275659561157, -0.22670577466487885, 0.1903821974992752, 0.28504568338394165, 0.13843466341495514, -0.5890041589736938, -0.14780820906162262, -0.247991144657135, -0.5808495283126831, -0.024934589862823486, -0.33042746782302856, -0.44245004653930664, -0.06736826151609421, 0.5855122804641724, 0.008684991858899593, 0.26788049936294556, -0.10964372009038925, -0.1097196638584137, -0.13944803178310394, 0.4850355088710785, 0.5586450099945068, 0.3777097463607788, -0.09355101734399796, 0.42768776416778564, 0.2739378809928894, -0.4967338740825653, 0.5348361730575562, 0.08236516267061234, -0.22161297500133514, -0.33673733472824097, 0.1544853299856186, 0.5576004981994629, 0.4040324091911316, -0.5532920360565186, 0.5572274923324585, 0.07720911502838135, 0.04584495723247528, -0.03380807116627693, 0.05185426026582718, 0.012550867162644863, 0.2723732888698578, -0.1105489656329155, -0.14023390412330627, -0.10917530953884125, -0.4504358768463135, 0.27725106477737427, 0.4654095470905304, -0.403868168592453, -0.4289475083351135, 0.7451171875, 0.3540516197681427, -0.40565726161003113, 0.5356665253639221, -0.006070184521377087, -0.39651960134506226, 0.5564488172531128, 0.698922336101532, 0.9262866377830505, -0.3963509798049927, 0.0834944024682045, 0.34583452343940735, 0.648876965045929, 0.11433432996273041, 0.08757825195789337, 0.3678396940231323, -0.7707524299621582, -0.33455023169517517, -0.559825599193573, -0.27026766538619995, -0.07200634479522705, -0.7006041407585144, 0.1474916934967041, -0.6532483696937561, -0.13206379115581512, -0.19165484607219696, -0.5440902709960938, -0.4057334065437317, -0.12245917320251465, 0.11262255162000656, 0.7420796751976013, -0.9150694012641907, 0.7863819003105164, 0.4570349156856537, -0.20788778364658356, -0.5486307740211487, 0.40316879749298096, 0.2578601539134979, -0.9103974103927612, 0.4457717537879944, 0.14295171201229095, -0.19778455793857574, 0.081674724817276, -0.6233419179916382, -0.9142865538597107, 1.1746807098388672, 0.6482017040252686, -1.0866903066635132, 0.07939103990793228, 0.22804589569568634, 0.41009968519210815, -0.10335607826709747, 0.0785955861210823, 0.63828045129776, 0.21407073736190796, -0.18637004494667053, -1.095459222793579, 0.2823420763015747, 0.10546883195638657, -0.24062363803386688, 0.48224937915802, -0.725878894329071, 0.6681813597679138, -0.44099026918411255, -0.5057526230812073, 0.09016473591327667, 0.4017879068851471, 0.464040070772171, 0.2509855628013611, 0.7277073264122009, 0.6573089957237244, 0.7836589813232422, 0.011385377496480942, 0.9149829149246216, -0.2049066126346588, 0.28631386160850525, 1.0918132066726685, -0.42714923620224, 1.1278190612792969, 0.9420284032821655, -0.011465870775282383, 0.1805485635995865, 0.3471619784832001, 0.5292012095451355, 0.898324191570282, 0.25104206800460815, -0.14460216462612152, 0.03859410434961319, 0.09567903727293015, -0.4390171468257904, 0.41753023862838745, 0.17365770041942596, -0.5078399777412415, -0.3208542466163635, -0.18051409721374512, 0.14601173996925354, 0.08247508108615875, -0.2060597538948059, 0.7915195822715759, 0.05430924519896507, -0.37405452132225037, 0.9429055452346802, 0.04657678306102753, 0.7460969686508179, -0.2734360098838806, 0.027415284886956215, -0.19216009974479675, 0.31091099977493286, -0.12217064201831818, -0.6995251178741455, 0.6209849119186401, 0.20973724126815796, 0.23513855040073395, 0.005962788593024015, 0.3835190534591675, -0.43795260787010193, -0.38173696398735046, 0.5380353927612305, 0.20654642581939697, 0.10542234033346176, 0.4601488411426544, -0.6370424628257751, 0.35583898425102234, 0.19450566172599792, -0.39513126015663147, 0.644608736038208, 0.2295687347650528, -0.13750919699668884, 0.4846893846988678, 0.4720785617828369, -0.1991267204284668, 0.2419872134923935, -0.031560301780700684, 1.0248771905899048, -0.4428347051143646, -0.46108999848365784, -1.1192567348480225, 0.39355045557022095, -0.06241106986999512, -0.11396915465593338, 0.44344937801361084, 0.28361764550209045, 0.9411693215370178, 0.15779896080493927, 0.728313148021698, 0.15049953758716583, 0.2738296389579773, -0.5951089859008789, 0.9033892154693604, -0.46164456009864807, 0.45904192328453064, -0.5237655639648438, -0.5661666393280029, -0.3070436418056488, 0.43588748574256897, -0.5236018300056458, -0.3541729748249054, 0.4860035479068756, 1.0673061609268188, -0.11349119991064072, -0.12511251866817474, 0.3840502202510834, 0.3370932936668396, 0.47652915120124817, 0.4766850769519806, 1.0300830602645874, -0.3027462661266327, 0.6157153248786926, -0.4601544141769409, -0.3990907669067383, -0.18879739940166473, -1.067826747894287, -0.8791261911392212, -0.3758060038089752, -0.316543310880661, -0.35368672013282776, 0.34991878271102905, 1.0290852785110474, 0.26788705587387085, -0.8034445643424988, 0.18992730975151062, 0.20733006298542023, 0.06343104690313339, -0.2465432733297348, -0.06631529331207275, 0.3378567397594452, 0.06847251206636429, -0.7854911684989929, 0.3930298089981079, 0.1527397334575653, 0.304004430770874, -0.16215164959430695, -0.11116788536310196, 0.07866476476192474, 0.17143431305885315, 0.23453325033187866, 0.16705134510993958, -0.7291795015335083, -0.8436019420623779, -0.21092559397220612, -0.27391180396080017, -0.018265146762132645, 0.4368124008178711, -0.31007468700408936, 0.3602861166000366, 0.3731193542480469, 0.8381637930870056, -0.19219942390918732, 0.13052654266357422, 0.6289050579071045, -0.8960322737693787, 0.6501711010932922, 0.003605046309530735, 0.4236888587474823, 0.2791077196598053, -0.4752911329269409, 0.34984177350997925, -0.259473979473114, -0.3440300524234772, -1.200637936592102, 0.4185900390148163, -0.6152551174163818, -0.12148821353912354, 1.1501052379608154, -0.17352540791034698, -0.41882163286209106, -0.11606389284133911, -0.3381848931312561, 0.38456785678863525, -0.24840794503688812, 1.1240413188934326, 0.4765663146972656, 0.44466280937194824, 0.05158567056059837, -0.18327194452285767, 0.2789500057697296, 0.4564512372016907, -0.672794759273529, 0.4518682062625885, 0.3840269446372986, 0.47583135962486267, 0.009228088892996311, 0.6298465728759766, -0.37303680181503296, 0.07541858404874802, 0.05256655812263489, 0.2808460295200348, -0.039550770074129105, -0.23463667929172516, -0.6796166896820068, 0.003441942622885108, 0.36095213890075684, -0.5277560353279114 ]
http://arxiv.org/abs/2402.12332v1
http://arxiv.org/pdf/2402.12332v1
Triple-Encoders: Representations That Fire Together, Wire Together
2024-02-19T18:06:02
2024-02-19T18:06:02
Justus-Jonas Erker, Florian Mai, Nils Reimers, Gerasimos Spanakis, Iryna Gurevych
cs.CL
cs.CL
Search-based dialog models typically re-encode the dialog history at every turn, incurring high cost. Curved Contrastive Learning, a representation learning method that encodes relative distances between utterances into the embedding space via a bi-encoder, has recently shown promising results for dialog modeling at far superior efficiency. While high efficiency is achieved through independently encoding utterances, this ignores the importance of contextualization. To overcome this issue, this study introduces triple-encoders, which efficiently compute distributed utterance mixtures from these independently encoded utterances through a novel hebbian inspired co-occurrence learning objective without using any weights. Empirically, we find that triple-encoders lead to a substantial improvement over bi-encoders, and even to better zero-shot generalization than single-vector representation models without requiring re-encoding. Our code/model is publicly available.
[ -0.18781587481498718, -0.3748247027397156, 0.510651707649231, -0.04311243072152138, -0.08935828506946564, 0.2854306995868683, 0.0228167362511158, -0.3254544138908386, 0.04829246923327446, 0.5286910533905029, -0.5454585552215576, -0.6955143809318542, -0.331949919462204, 0.04670843482017517, -0.0473778061568737, 0.8343601226806641, 0.02793215960264206, 0.227054163813591, 0.017574556171894073, -0.23514942824840546, -0.34807130694389343, -0.45577511191368103, -0.589989960193634, -0.6104353070259094, 0.4361150860786438, 0.15059328079223633, 0.6044614315032959, 0.4609206020832062, 0.391226589679718, 0.31721392273902893, 0.10455245524644852, 0.20678673684597015, -0.6188957691192627, 0.017265815287828445, 0.43858855962753296, -0.5058655142784119, 0.008625845424830914, -0.07330814003944397, 0.4316651225090027, 1.0813206434249878, -0.5022189617156982, -0.3565690815448761, 0.17767424881458282, 0.5563227534294128, -0.44960370659828186, 0.2745222747325897, -0.5148292183876038, 0.17591989040374756, 0.24109914898872375, -0.3296085596084595, -0.46669328212738037, -0.5992600917816162, 0.4163748025894165, -0.7707401514053345, 0.5490717887878418, 0.18040360510349274, 0.7288519144058228, 0.05759171023964882, -0.5044413805007935, -0.64951491355896, -0.5825800895690918, 0.6858580112457275, -0.5591980814933777, 0.5186997056007385, -0.0009736398351378739, 0.2619018852710724, -0.1896914839744568, -0.5044113397598267, -0.5368629693984985, 0.1259942501783371, -0.12383156269788742, 0.30066657066345215, -0.11419139057397842, 0.3480776846408844, -0.13108189404010773, 0.7040697932243347, -0.42728477716445923, -0.029596030712127686, -0.6637276411056519, -0.007197939325124025, 0.3270401954650879, 0.3035707175731659, 0.09456674754619598, -0.1376917064189911, -0.23954840004444122, -0.1488931030035019, -0.5132438540458679, -0.12408097833395004, 0.45443224906921387, 0.387651264667511, -0.36126580834388733, 0.2826550006866455, -0.007369589526206255, 0.6626057624816895, 0.5083532333374023, 0.16160711646080017, 0.35038915276527405, -0.15959903597831726, -0.16912247240543365, 0.0968940407037735, 0.8220322132110596, 0.24546103179454803, -0.19645604491233826, -0.19158519804477692, 0.03354315087199211, -0.097519651055336, 0.30026113986968994, -0.9050502777099609, -0.2228696048259735, 0.18289527297019958, -0.4013642966747284, -0.03739422559738159, 0.16241484880447388, -0.6945449709892273, -0.35775667428970337, -0.1394163966178894, 0.3672950565814972, -0.641839861869812, -0.10246989130973816, 0.3881460130214691, -0.258620023727417, 0.06992380321025848, 0.2823216915130615, -0.9610045552253723, 0.32502859830856323, 0.6317283511161804, 0.8252031803131104, -0.08712393045425415, -0.13008449971675873, -0.4670346677303314, 0.2325754165649414, -0.3676910698413849, 0.5200579762458801, -0.8393608927726746, -0.5281469225883484, 0.07103368639945984, -0.36156538128852844, 0.06009596586227417, -0.7273944616317749, 0.31693944334983826, -0.7047180533409119, 0.4881908595561981, -0.15690632164478302, -0.6533176302909851, -0.6250771880149841, -0.12185946106910706, -0.6970900893211365, 0.8548828959465027, 0.11462661623954773, -0.5654683709144592, 0.574907660484314, -0.5780024528503418, -0.20514605939388275, 0.27493542432785034, -0.3927861154079437, -0.534928023815155, 0.24351927638053894, 0.3424150049686432, 0.4866690933704376, -0.13086335361003876, 0.23774142563343048, -0.4551510810852051, -0.6917501091957092, -0.19879268109798431, -0.3827873170375824, 0.6930097937583923, 0.09996320307254791, -0.2645290791988373, 0.17980560660362244, -0.6323691010475159, -0.3560176193714142, -0.00511383730918169, -0.4856422245502472, -0.3659795820713043, -0.2721707820892334, -0.3199369013309479, -0.010612793266773224, -0.00884659867733717, -0.5786452293395996, -0.11933191120624542, -0.5220677852630615, 0.12412063032388687, 0.6831403374671936, 0.053890161216259, 0.530580997467041, -0.2421821504831314, 0.12584277987480164, 0.3884511888027191, -0.237282395362854, -0.29655638337135315, -0.2004166543483734, -0.8838003277778625, -0.5799873471260071, -0.17586030066013336, 0.3226754367351532, -0.9832234382629395, 0.5775545835494995, -0.18992125988006592, -0.13327935338020325, -0.5366762280464172, 0.057052988559007645, 0.21301700174808502, 0.32284313440322876, 0.25056028366088867, -0.11294098198413849, -0.5139502882957458, -0.6642105579376221, -0.2594466507434845, -0.01354864239692688, -0.25012266635894775, 0.40241101384162903, 0.37627139687538147, -0.1616508960723877, 0.7598925232887268, -0.5892086029052734, -0.029559925198554993, -0.33415812253952026, 0.4704039692878723, 0.24156515300273895, 0.30460405349731445, 0.35287874937057495, -0.6727954745292664, -0.6158176064491272, 0.13888773322105408, -1.0623626708984375, 0.07517147809267044, -0.05039279907941818, 0.10399041324853897, 0.23556089401245117, 0.48444822430610657, -0.3535064458847046, 0.4434090852737427, 0.6580576300621033, -0.14814576506614685, 0.027667595073580742, -0.28071022033691406, 0.16955731809139252, -1.1596723794937134, -0.4181675314903259, -0.0038887239061295986, -0.12608113884925842, -0.7439098358154297, -0.21184220910072327, -0.10216591507196426, -0.37630367279052734, -0.2738589644432068, 0.32788416743278503, -0.7074429988861084, -0.11769671738147736, -0.06760723888874054, 0.17546553909778595, 0.16582661867141724, 1.0532771348953247, 0.14937935769557953, 0.825830340385437, 0.7072775959968567, -0.6851765513420105, 0.47829028964042664, 0.26232337951660156, -0.2399221658706665, 0.7910528779029846, -0.5742854475975037, 0.2570765018463135, -0.4476928412914276, 0.455074280500412, -0.786525309085846, -0.4807194769382477, 0.2288484424352646, -0.2558201253414154, 0.10048844665288925, 0.027341557666659355, -0.05584303289651871, -0.4717985689640045, -0.3127627372741699, 0.3517841398715973, 0.43633317947387695, -1.1139702796936035, 0.8106594681739807, 0.08736614882946014, -0.06006865203380585, -0.4113248884677887, -0.42051607370376587, -0.26930543780326843, -0.28188347816467285, -0.6288807392120361, 0.22310370206832886, 0.08219105750322342, -0.004590775351971388, -0.06563779711723328, -0.3648756742477417, 0.007562893442809582, -0.18751679360866547, 0.3286304473876953, 0.1413009613752365, -0.019258644431829453, 0.10296827554702759, -0.1603236198425293, 0.05624473839998245, -0.15396037697792053, -0.3742367923259735, 0.7493547797203064, -0.31056371331214905, -0.6551586389541626, -0.8703874945640564, 0.7931699156761169, 0.25209882855415344, 0.1904730200767517, 0.7175683975219727, 0.6737825870513916, -0.29808157682418823, 0.0021496100816875696, -0.6737274527549744, -0.2686561942100525, -0.5716632604598999, 0.3899350166320801, -0.5019843578338623, -1.2594093084335327, 0.5030826330184937, -0.08338949084281921, 0.11036469787359238, 0.12229258567094803, 0.40109381079673767, -0.19117721915245056, 0.8830077052116394, 0.5523315072059631, 0.32952889800071716, 0.6863887310028076, -0.17406001687049866, 0.38052529096603394, -0.6292158365249634, -0.5284816026687622, -0.2849288284778595, 0.10716862976551056, -0.6222947835922241, -0.41128653287887573, 0.7326674461364746, -0.013191320933401585, -0.27089110016822815, 0.2436157763004303, -0.22572457790374756, 0.43078529834747314, 0.7086414098739624, 0.4499867260456085, 0.09037532657384872, 0.26345953345298767, -0.1202368214726448, 0.06376241892576218, -0.7180157899856567, -0.2868759036064148, 0.8768755793571472, 0.25135287642478943, 0.7962570786476135, 0.29509931802749634, 1.2418240308761597, 0.1814558058977127, -0.06476937979459763, -0.820930540561676, 0.36741143465042114, -0.12153754383325577, -0.29458075761795044, -0.09708628803491592, -0.6235413551330566, -0.9398726224899292, 0.4587610065937042, -0.08397695422172546, -0.67182856798172, 0.41631028056144714, -0.0031310277990996838, -0.6243162751197815, 0.4133201837539673, -0.8022037148475647, 0.6011282801628113, -0.08800967037677765, -0.47979864478111267, -0.29190748929977417, -0.427916944026947, 0.1317129284143448, 0.19237403571605682, -0.019093498587608337, 0.049723636358976364, 0.3086698651313782, 0.683216392993927, -0.4086449146270752, 0.8997828364372253, -0.2959236800670624, 0.0419205017387867, 0.3604523241519928, 0.01744796335697174, 0.44200772047042847, -0.02227393537759781, -0.14996689558029175, 0.43394020199775696, -0.3779591917991638, -0.6068173050880432, -0.6537855863571167, 0.3836495280265808, -0.8447839021682739, -0.6272022724151611, -0.2939966320991516, -0.5505505800247192, -0.19625172019004822, 0.10765421390533447, 0.19304566085338593, 0.747036337852478, -0.36794593930244446, 0.3210337460041046, 0.6466217041015625, -0.2462097704410553, 0.6651023626327515, 0.07501102983951569, 0.014318615198135376, -0.6871808171272278, 0.7729455828666687, -0.3431953191757202, 0.361002653837204, 0.2599567472934723, -0.020776323974132538, -0.01963239535689354, -0.40150368213653564, -0.2806112766265869, 0.25758451223373413, -0.7751296758651733, -0.07538241147994995, -0.9563702940940857, -0.16339115798473358, -0.21517039835453033, -0.7453840970993042, -0.316977322101593, 0.09035751223564148, -0.6320136785507202, -0.1675412356853485, 0.08969983458518982, 0.9867066144943237, -0.34841591119766235, 0.7044389843940735, -0.7379501461982727, 0.5520472526550293, 0.7070353031158447, 0.47607287764549255, -0.06623709946870804, -0.3421884775161743, -0.34364861249923706, 0.10831496864557266, -0.2989526689052582, -0.6294870972633362, 0.6794801354408264, 0.14956125617027283, 0.5772345662117004, 0.36354193091392517, -0.10944889485836029, 0.7536307573318481, -0.4205010235309601, 0.8285229206085205, 0.6712532043457031, -1.0437496900558472, 0.038298334926366806, -0.5143458843231201, 0.3313343822956085, 0.6242237687110901, 0.4481073021888733, -0.49811628460884094, -0.02928982861340046, -0.42307141423225403, -0.6062142252922058, 0.9178479313850403, 0.16708137094974518, 0.17134571075439453, -0.012076142244040966, 0.2373410314321518, 0.5853896737098694, 0.048039305955171585, -0.5289490222930908, -0.004133710637688637, -0.5889415144920349, -0.5281044840812683, 0.25216642022132874, -0.399209201335907, -0.18569029867649078, -0.009802263230085373, 0.48509880900382996, -0.3292073905467987, 0.507788360118866, 0.050310589373111725, -0.05593031272292137, 0.14296984672546387, 0.4189644455909729, 0.3984488844871521, 0.19991354644298553, -0.5138199329376221, 0.14900407195091248, 0.09120814502239227, -0.4150441884994507, 0.022591350600123405, 0.12132003903388977, 0.17890015244483948, 0.08713223040103912, 0.12527327239513397, 1.3624547719955444, 0.16731667518615723, -0.1284627616405487, 0.5034991502761841, -0.11830464005470276, -0.16178888082504272, -0.2642230987548828, -0.11113077402114868, -0.018118690699338913, 0.41929566860198975, 0.5316219925880432, 0.07589463144540787, 0.4599936604499817, -0.6440767645835876, 0.17073680460453033, 0.3809897005558014, -0.5515591502189636, -0.2892410457134247, 0.39288148283958435, 0.7545782327651978, -0.29436424374580383, 0.6069631576538086, -0.22534619271755219, -0.5341130495071411, 0.2414286732673645, 0.5482575297355652, 1.0793867111206055, -0.07519315928220749, 0.22073759138584137, 0.40813347697257996, -0.09328842908143997, -0.05012596771121025, 0.16102084517478943, -0.35606998205184937, -0.9103190898895264, 0.10807020217180252, -0.4324883818626404, -0.6428793668746948, -0.23954139649868011, -0.8667251467704773, 0.26787540316581726, -0.4119901955127716, 0.11989504843950272, -0.22505521774291992, -0.16728965938091278, -0.7553895115852356, -0.1711677461862564, 0.30093204975128174, 0.309901624917984, -0.6610088348388672, 0.36442598700523376, 0.10871318727731705, -0.18002404272556305, -0.49264925718307495, 0.2548251450061798, 0.10059810429811478, -0.8024978041648865, 0.6029666662216187, 0.6582439541816711, -0.4715975821018219, -0.056353773921728134, -0.5121797323226929, -0.7129543423652649, 1.120356559753418, 0.20187240839004517, -0.7322505712509155, -0.18942669034004211, 0.13859759271144867, 0.3822624087333679, -0.5982574820518494, 0.44817376136779785, 0.5776252746582031, -0.08561930060386658, 0.46110522747039795, -0.7661256790161133, -0.18239831924438477, -0.04685565456748009, 0.2391781210899353, -0.04851676523685455, -0.7295008301734924, 0.853030264377594, -0.17346537113189697, -0.5084770321846008, -0.22266100347042084, 0.9461086392402649, 0.44801586866378784, 0.2942473292350769, 0.1893320083618164, 0.35889968276023865, 0.8392444252967834, -0.2354559749364853, 0.8920602202415466, -0.05792710930109024, 0.3410812020301819, 1.2494877576828003, -0.5943511128425598, 0.4290012717247009, 0.4169818162918091, 0.04884748533368111, 0.8554251790046692, 0.38473382592201233, 0.19561220705509186, 0.7353866100311279, 0.012074875645339489, -0.6793841123580933, -0.3048523962497711, 0.09945102035999298, -0.11678953468799591, 0.5689980387687683, 0.5732507109642029, -0.08962550759315491, -0.364603191614151, 0.09331439435482025, -0.013503232039511204, 0.07994875311851501, -0.24478422105312347, 1.1384509801864624, -0.021657241508364677, -0.407457560300827, 0.8241888284683228, -0.331088125705719, 1.1765058040618896, -0.35786738991737366, -0.27161505818367004, -0.2674058675765991, 0.1619955152273178, -0.21261605620384216, -0.5185156464576721, 0.30231162905693054, -0.2925630807876587, 0.019918352365493774, -0.16194316744804382, 0.3975486159324646, -0.669739305973053, -0.2990228831768036, 0.26524171233177185, 0.2180900126695633, 0.013063796795904636, 0.22208309173583984, -0.3603130877017975, 0.16387329995632172, 0.03329548239707947, -0.08013380318880081, -0.2208017259836197, 0.45567893981933594, 0.14332467317581177, 0.5185691118240356, 0.34323379397392273, -0.3583567440509796, 0.2772912085056305, 0.23532161116600037, 0.7712564468383789, -0.8953405022621155, -0.6084858179092407, -0.5532036423683167, 0.39498013257980347, -0.3214835524559021, 0.31398600339889526, 0.5100704431533813, 0.40977275371551514, 0.8481784462928772, 0.016369687393307686, 1.0537676811218262, 0.2087244838476181, 0.42153802514076233, -0.5083745718002319, 0.3669653832912445, -0.38207992911338806, 0.2682499289512634, 0.013279496692121029, -0.6622827053070068, -0.5151136517524719, 0.6144633293151855, -0.3047288954257965, 0.2683417499065399, 0.7203213572502136, 0.8332324028015137, -0.07982584089040756, 0.5181668400764465, 0.5002606511116028, -0.0901232361793518, 0.43101468682289124, 0.6283231377601624, 0.7672803401947021, -0.5529620051383972, 0.5340521931648254, -0.149113729596138, -0.09658109396696091, -0.4823610186576843, -0.532477855682373, -1.2837661504745483, -0.5207698941230774, -0.08323781937360764, -0.16618704795837402, 0.1265561729669571, 1.2043604850769043, 0.8230651617050171, -0.8298407196998596, -0.39850714802742004, -0.3221161663532257, 0.00738523667678237, -0.06620503216981888, -0.20137928426265717, 0.29576778411865234, -0.321643203496933, -0.896443247795105, 0.47542428970336914, 0.4434618353843689, 0.07091741263866425, -0.13273096084594727, -0.24339331686496735, -0.17863963544368744, 0.33076000213623047, 0.564079225063324, 0.10007433593273163, -0.8238269686698914, -0.5271093249320984, -0.20354622602462769, -0.21001677215099335, 0.42502641677856445, 0.749165952205658, -0.7741376161575317, 0.537804365158081, 0.41266530752182007, 0.6715384721755981, 0.8159893751144409, -0.09772686660289764, 0.7629938721656799, -0.8278448581695557, 0.3020878732204437, -0.013390985317528248, 0.3029879927635193, 0.7819426655769348, -0.37072351574897766, 0.33197468519210815, 0.2999825179576874, -0.262285053730011, -0.5470263361930847, 0.4301612973213196, -1.0085813999176025, -0.08496405929327011, 1.0010387897491455, -0.20614847540855408, -0.22688592970371246, -0.3396137058734894, -0.17390868067741394, 0.4222097098827362, -0.7373348474502563, 0.5913063883781433, 0.3534733057022095, -0.4422934651374817, -0.2910439372062683, -0.10094263404607773, 0.26520204544067383, 0.2117258906364441, -0.7701317667961121, -0.0432073175907135, 0.9116662740707397, 0.29253503680229187, 0.26334846019744873, 0.5143572688102722, -0.01164542231708765, 0.0879414975643158, 0.5090731382369995, 0.3811534345149994, -0.13114632666110992, -0.3772370517253876, -0.626820981502533, 0.5092195868492126, -0.49557289481163025, -0.24618664383888245 ]
http://arxiv.org/abs/2402.12329v1
http://arxiv.org/pdf/2402.12329v1
Query-Based Adversarial Prompt Generation
2024-02-19T18:01:36
2024-02-19T18:01:36
Jonathan Hayase, Ema Borevkovic, Nicholas Carlini, Florian Tramèr, Milad Nasr
cs.CL
cs.CL, cs.AI, cs.CR, cs.LG
Recent work has shown it is possible to construct adversarial examples that cause an aligned language model to emit harmful strings or perform harmful behavior. Existing attacks work either in the white-box setting (with full access to the model weights), or through transferability: the phenomenon that adversarial examples crafted on one model often remain effective on other models. We improve on prior work with a query-based attack that leverages API access to a remote language model to construct adversarial examples that cause the model to emit harmful strings with (much) higher probability than with transfer-only attacks. We validate our attack on GPT-3.5 and OpenAI's safety classifier; we can cause GPT-3.5 to emit harmful strings that current transfer attacks fail at, and we can evade the safety classifier with nearly 100% probability.
[ -0.06800753623247147, -1.1719967126846313, 0.37204670906066895, -0.31059715151786804, 0.03681417927145958, -0.16559375822544098, 0.1278858780860901, -0.5872182250022888, -0.08173469454050064, 0.6907414793968201, -0.5558373332023621, -0.23617719113826752, -0.5421446561813354, -0.13021473586559296, -0.5524701476097107, 1.1878770589828491, 0.3239942789077759, -0.1439671665430069, 0.18882595002651215, 0.10322190076112747, -0.43079888820648193, -0.6539233326911926, -1.0661076307296753, 0.2256542593240738, 0.6157257556915283, 0.034962888807058334, 0.9797820448875427, 0.251239150762558, 0.5127745270729065, 0.2869774103164673, 0.031135449185967445, -0.15459050238132477, -0.45971712470054626, 0.3546193838119507, -0.22891837358474731, -0.8687632083892822, -0.23802076280117035, -0.027487637475132942, 0.1510644555091858, 0.3266195058822632, -0.005508937407284975, -0.10115092247724533, -0.19938649237155914, 0.4531308710575104, -0.6371120810508728, -0.15964196622371674, -1.1274336576461792, -0.1478157639503479, -0.20538777112960815, -0.12087827175855637, -0.7026782631874084, -0.6162024140357971, 0.08018970489501953, -0.6628912091255188, 0.24948282539844513, 0.05271552875638008, 0.882817268371582, 0.21554051339626312, -0.5504704713821411, -0.5229192972183228, -0.49914106726646423, 0.4119078814983368, -0.528794527053833, -0.20310509204864502, 0.497000128030777, 0.6309090852737427, -0.42232775688171387, -0.7999369502067566, -0.34214508533477783, -0.43270519375801086, -0.03833991289138794, -0.04466754570603371, -0.6661252975463867, -0.010486236773431301, 0.4603748619556427, 0.027587875723838806, -0.7662147879600525, -0.042660582810640335, -0.5201368927955627, -0.22125446796417236, 0.5595722198486328, -0.04086203873157501, 0.7095174789428711, -0.22645221650600433, -0.48665961623191833, -0.24852275848388672, -1.0950117111206055, -0.047288041561841965, 0.696452796459198, 0.47117435932159424, 0.18613572418689728, 0.3925448954105377, 0.05083568021655083, 0.9293420910835266, 0.0046864100731909275, 0.4195001423358917, -0.42317458987236023, -0.3213634490966797, -0.06444942206144333, 0.17761659622192383, 1.0881271362304688, 0.29845932126045227, 0.24741072952747345, -0.1233971118927002, -0.08994852751493454, -0.07738711684942245, 0.5692080855369568, -0.736398458480835, -0.5032544732093811, 0.08084011822938919, -0.18894250690937042, -0.6993922591209412, 0.13193659484386444, -0.7598814964294434, -0.7328848242759705, 0.21895068883895874, 0.4472648799419403, -0.5689477324485779, -0.036790650337934494, -0.19334828853607178, -0.14983728528022766, 0.04100217670202255, 0.1677638441324234, -0.754160463809967, 0.09118073433637619, 0.562038779258728, 0.5978543758392334, -0.104566790163517, -0.14755477011203766, -0.7552587985992432, 0.16426022350788116, -0.17059706151485443, 0.6054666638374329, -0.3458997905254364, -0.567256510257721, 0.08167901635169983, 0.10868269205093384, -0.14521673321723938, -0.34264859557151794, 0.4951375722885132, -0.9272235035896301, 0.5442376732826233, -0.39474478363990784, -0.2548867166042328, -0.3207613229751587, 0.15364916622638702, -0.6877773404121399, 0.5374860167503357, 0.14474667608737946, -0.7191808223724365, 0.11381521075963974, -0.8024756908416748, -0.6760239005088806, 0.060664087533950806, 0.1412169486284256, -0.24412693083286285, -0.0719258114695549, 0.23814022541046143, 0.1396005004644394, -0.08832216262817383, -0.09634596854448318, -0.4992600977420807, -0.3121158480644226, 0.4181530773639679, -0.7075259685516357, 1.2977901697158813, 0.5794051885604858, -0.4106171429157257, 0.2379521280527115, -0.5513406991958618, 0.024053191766142845, 0.34498992562294006, 0.04815247654914856, -0.5658363103866577, -0.2903504967689514, -0.36703428626060486, 0.08740655332803726, 0.22649915516376495, -0.4517269432544708, 0.3501741588115692, -0.4285399615764618, 0.38168057799339294, 0.7670089602470398, 0.37031567096710205, 0.192671537399292, -0.2350969910621643, 0.8360435962677002, -0.2471739500761032, 0.31740283966064453, 0.049327701330184937, -0.6157785058021545, -0.2445107251405716, 0.005430232733488083, 0.10094591230154037, 0.8178446888923645, -1.1573923826217651, 0.1851845234632492, 0.020249536260962486, -0.5715438723564148, -0.3346981108188629, -0.10016153007745743, 0.4579697847366333, 0.60250324010849, 0.21523134410381317, 0.2898499667644501, -0.21220307052135468, -0.6134626269340515, -0.46776214241981506, -0.4524843394756317, -0.02048422396183014, 0.46109744906425476, 0.346952348947525, 0.18951308727264404, 0.4349094331264496, -0.8300086855888367, 0.19294913113117218, 0.028312543407082558, 0.1623559445142746, 0.14672887325286865, 0.4878256022930145, 0.8688074946403503, -0.8744983673095703, -0.4359816312789917, -0.2050471156835556, -0.7474740147590637, -0.06750790774822235, -0.18711620569229126, -0.4417007267475128, 0.027212249115109444, 0.49825990200042725, -0.6123793721199036, 0.3352649211883545, 0.25463294982910156, -0.5764021873474121, 0.553704559803009, -0.10747029632329941, 0.4267578423023224, -1.2901581525802612, -0.04269970580935478, -0.07122454792261124, -0.21487151086330414, -0.7851054072380066, 0.543403685092926, 0.10315387696027756, -0.5636054873466492, -0.9061641097068787, 0.39446237683296204, -0.03838841989636421, 0.2213570922613144, -0.25203946232795715, 0.12847353518009186, 0.03562997654080391, 0.28241676092147827, -0.44220849871635437, 1.1055024862289429, 0.6608385443687439, -0.7091202735900879, 0.7338442206382751, 0.1484629362821579, -0.02135591395199299, 0.7172825932502747, -0.7980868220329285, 0.13694800436496735, 0.0695318952202797, 0.17308388650417328, -1.0009040832519531, -0.205948606133461, 0.6968273520469666, -0.6963261961936951, 0.5305723547935486, -0.3250574469566345, -0.2438717931509018, -0.30657121539115906, -0.3461569845676422, 0.3615424335002899, 0.5820322632789612, -0.7638885974884033, 0.09429654479026794, 0.13065998256206512, -0.23947393894195557, -0.6507163643836975, -0.6434569358825684, 0.22747939825057983, -0.4605688154697418, -0.6878915429115295, 0.05081811919808388, 0.08028075844049454, -0.06551342457532883, 0.07319291681051254, 0.15366363525390625, 0.12284568697214127, 0.5978407859802246, 0.06362584978342056, 0.37914955615997314, -0.26378804445266724, -0.28897908329963684, -0.14338363707065582, 0.2620096206665039, 0.4047360122203827, -0.26897820830345154, 0.3388235569000244, -0.08847375959157944, -0.8174956440925598, -0.562829852104187, 0.41088584065437317, 0.6896636486053467, -0.169154092669487, 0.7115766406059265, 0.4143464267253876, -0.3759549856185913, -0.10518791526556015, -0.010112246498465538, -0.19380967319011688, -0.49907639622688293, 0.44905900955200195, -0.32903018593788147, -0.5874338150024414, 0.46603643894195557, 0.2771115303039551, -0.03355066850781441, 0.43959712982177734, 0.09993646293878555, 0.22187022864818573, 1.4261528253555298, 0.11014833301305771, -0.17997229099273682, 0.7292959094047546, -0.06474427133798599, 0.05707445740699768, -0.6511257290840149, -0.018251940608024597, -0.7444944977760315, 0.06948471814393997, -0.8312673568725586, 0.06580424308776855, 0.3080807626247406, 0.21709901094436646, -0.3716318607330322, 0.557127058506012, -0.5586071610450745, 0.3996026813983917, 0.8145051002502441, 0.20298464596271515, -0.2084529846906662, 0.10626871138811111, -0.1105448305606842, 0.2292180061340332, -0.5642139315605164, -0.31942689418792725, 1.1776518821716309, 0.042658817023038864, 0.9397118091583252, 0.5627870559692383, 0.3725110590457916, 0.5124292373657227, 0.34911873936653137, -0.3705037832260132, 0.5655296444892883, -0.2482401579618454, -0.7852948307991028, -0.2015153020620346, -0.6076824069023132, -1.1962896585464478, 0.14933915436267853, 0.09318266063928604, -1.0014424324035645, -0.15978498756885529, 0.16478978097438812, -0.3485340178012848, 0.5913637280464172, -1.0010920763015747, 0.8267621397972107, -0.4350435435771942, -0.41319653391838074, 0.2972603142261505, -0.560426652431488, 0.719108521938324, -0.019448740407824516, 0.025817451998591423, 0.2362896353006363, 0.3278679847717285, 0.39103689789772034, -0.40094244480133057, 0.8186602592468262, -0.5192117691040039, -0.19418120384216309, 0.46805402636528015, 0.364597350358963, 0.8217239379882812, 0.0853293314576149, -0.24958942830562592, -0.23811979591846466, -0.132846862077713, -0.4984678030014038, -0.8310878276824951, 0.7375001907348633, -0.5649910569190979, -0.9663061499595642, -0.4087185859680176, -0.3012537658214569, -0.05073091387748718, 0.2092577964067459, 0.41555413603782654, 0.4252678453922272, -0.12680566310882568, 0.06538131833076477, 0.6117175817489624, -0.5559632182121277, 0.2993730306625366, 0.44494548439979553, -0.1439436376094818, -0.3148523271083832, 1.28130304813385, -0.21998465061187744, 0.5659144520759583, 0.3141769468784332, 0.1386762410402298, -0.4679253101348877, -0.5795389413833618, -0.6581982374191284, -0.13158106803894043, -0.6796591877937317, -0.39001545310020447, -0.29868900775909424, -0.1855965256690979, -0.6968298554420471, -0.11750542372465134, 0.07741671800613403, -0.5167642831802368, -0.29047891497612, -0.05193925276398659, 0.5402774214744568, 0.8146116733551025, 0.16534076631069183, 0.4145447015762329, -0.8257485032081604, 0.1390388160943985, 0.47977614402770996, 0.07638021558523178, -0.09982678294181824, -0.4428631067276001, 0.21384823322296143, 0.24088770151138306, -0.5800692439079285, -1.2212395668029785, 0.23370565474033356, -0.13068895041942596, 0.5451025366783142, 0.512313187122345, 0.4976285398006439, 0.2629694640636444, -0.16549070179462433, 1.2294660806655884, 0.13899612426757812, -0.6196463704109192, 0.8583628535270691, -0.5970865488052368, 0.2083437442779541, 0.4618038237094879, 0.3915186822414398, -0.25733861327171326, -0.7526158690452576, -0.827687680721283, -0.6515223979949951, 0.8442695140838623, 0.3149803578853607, 0.03401054069399834, -0.21586008369922638, 0.273202121257782, 0.0455043651163578, 0.05963537096977234, -0.5709382891654968, -0.5413368344306946, -0.35300227999687195, -0.06688492000102997, 0.1931775063276291, -0.01793820597231388, -0.24379491806030273, 0.3102070689201355, 0.8581960201263428, -0.052794262766838074, 0.19177298247814178, 0.005246622022241354, -0.0017882672837004066, 0.1200210377573967, 0.30373889207839966, 0.6792548298835754, 0.23640507459640503, -0.11403465270996094, 0.19546812772750854, 0.01644332893192768, -0.4030102789402008, 0.16910438239574432, 0.5214142203330994, -0.6581313014030457, -0.36700668931007385, 0.16247917711734772, 0.7842609286308289, -0.18907515704631805, -0.3019948899745941, 0.6201993823051453, -0.5064124464988708, 0.033892955631017685, 0.05931119993329048, 0.31843966245651245, -0.2154804915189743, -0.10536811500787735, 0.26273098587989807, 0.3263232707977295, 0.26568618416786194, -0.5271070003509521, 0.29174134135246277, 0.8481338620185852, -0.6121737360954285, -0.34971606731414795, 0.9594109654426575, 0.2337685227394104, -0.3385337293148041, 0.426950067281723, -0.3315563499927521, -0.7236915230751038, 0.7521193623542786, 0.7868698239326477, 0.8225196003913879, -0.40898486971855164, 0.236472025513649, 0.21568842232227325, 0.3652009665966034, 0.2009030431509018, 0.23532222211360931, 0.039117421954870224, -0.297079861164093, -0.06557754427194595, -0.23766426742076874, -0.48115864396095276, 0.375811368227005, -0.7301649451255798, 0.04453757777810097, -0.36580121517181396, -0.09506102651357651, -0.037587374448776245, -0.22603993117809296, -0.3345772325992584, 0.16583290696144104, -0.031177595257759094, 0.5619838833808899, -0.7182193398475647, 0.43258583545684814, 0.8979177474975586, -0.4937216341495514, -0.6859897971153259, 0.09055972099304199, 0.1076168492436409, -0.8811734318733215, 0.42215391993522644, -0.020207272842526436, -0.03252479061484337, -0.25471410155296326, -0.5920515060424805, -0.7671663761138916, 0.7976562976837158, 0.423954039812088, -0.05505533888936043, -0.07821375876665115, -0.016191959381103516, 0.3623259961605072, 0.021388806402683258, 0.22490732371807098, 0.2549627721309662, 0.23800607025623322, 0.08882850408554077, -0.46710991859436035, 0.5708112120628357, -0.12471404671669006, -0.251753032207489, 0.30469876527786255, -0.47873011231422424, 0.7846705913543701, -0.2006496638059616, -0.40393877029418945, 0.14174054563045502, 0.619845449924469, 0.13421086966991425, 0.21513162553310394, 0.3986968994140625, 0.40390267968177795, 0.9961836934089661, -0.15553176403045654, 1.4979299306869507, -0.4577597677707672, -0.04187960922718048, 0.9841787815093994, -0.17931032180786133, 0.5521597266197205, 0.21261604130268097, -0.2649746835231781, 0.19098304212093353, 0.5253333449363708, -0.08418414741754532, 0.6326212286949158, 0.33620718121528625, -0.48737072944641113, 0.1751278042793274, -0.24685245752334595, -0.6146283149719238, 0.24260656535625458, 0.3644636869430542, -0.24762658774852753, -0.2798931300640106, 0.25211551785469055, 0.2800142168998718, 0.08132689446210861, -0.32142505049705505, 0.6985347867012024, -0.14811144769191742, -0.9719028472900391, 0.6662463545799255, -0.13230520486831665, 0.6789929270744324, -0.7490053772926331, 0.11174989491701126, -0.0626557469367981, 0.06521641463041306, -0.008593282662332058, -0.6282879710197449, 0.2826019823551178, 0.08485303074121475, 0.08821669965982437, -0.039077144116163254, 0.904163658618927, -0.19641347229480743, -0.3314864933490753, -0.07076157629489899, 0.31887325644493103, 0.14351192116737366, -0.07820932567119598, -0.7525206208229065, -0.43535152077674866, 0.32561829686164856, -0.22768352925777435, 0.5411349534988403, 0.4791446030139923, -0.05116109922528267, 0.5962756276130676, 0.8279519081115723, 0.37577053904533386, 0.14234356582164764, 0.14541929960250854, 0.7396469116210938, -0.454411119222641, -0.4975246489048004, -0.8420527577400208, 0.010596141219139099, -0.20232445001602173, -0.1266317367553711, 0.8833544850349426, 0.340669184923172, 0.6929770112037659, 0.02649095095694065, 1.0748015642166138, -0.12125029414892197, 0.3451679050922394, -0.5922735333442688, 0.9866076111793518, -0.4302695691585541, 0.5042418837547302, -0.30299392342567444, -0.40965673327445984, -0.19143657386302948, 0.1398557871580124, -0.39034202694892883, 0.058343518525362015, 0.7650777697563171, 0.8767156600952148, 0.11198267340660095, 0.23289410769939423, 0.15644149482250214, 0.04211565852165222, 0.7670122981071472, 0.7233936786651611, 1.000543475151062, -0.5536426901817322, 1.0179648399353027, -0.12051630020141602, -0.12603871524333954, -0.08010640740394592, -0.904312789440155, -0.8360831141471863, -0.29928386211395264, -0.289725661277771, -0.7799506783485413, 0.3570960462093353, 0.42883047461509705, 0.5514808297157288, -0.825556218624115, 0.25450456142425537, -0.28510814905166626, 0.39279118180274963, 0.037822794169187546, -0.34295105934143066, 0.5828704237937927, -0.23080681264400482, -0.6088332533836365, 0.5058509707450867, -0.34481263160705566, 0.41339054703712463, -0.1267087757587433, 0.2570447623729706, -0.07728362828493118, -0.020956149324774742, 0.2635306119918823, 0.6340841054916382, -0.5593577027320862, -0.48154976963996887, -0.09253192692995071, -0.2803237736225128, -0.37825217843055725, 0.586970865726471, -0.4909469187259674, 0.30867451429367065, 0.5032637119293213, 0.9069177508354187, -0.08296061307191849, 0.3158969581127167, 0.8112480640411377, -0.8591061234474182, -0.03514629974961281, 0.15962480008602142, 0.35188400745391846, 0.37204989790916443, -0.8209975361824036, 0.28233543038368225, 0.1635396033525467, -0.47458192706108093, -0.7836156487464905, 0.5214468836784363, -0.7478240132331848, -0.5417987704277039, 1.2116390466690063, -0.4417901933193207, -0.4433456361293793, 0.010525163263082504, -0.35353758931159973, 0.21539215743541718, -0.6636713147163391, 0.6866793036460876, 0.5236068964004517, -0.27408984303474426, 0.3572376072406769, -0.53204745054245, 0.7578540444374084, 0.3581094443798065, -0.9497511386871338, 0.12286641448736191, 0.3745674192905426, 0.2102721929550171, 0.20440451800823212, 0.13599766790866852, -0.22199015319347382, 0.48278093338012695, 0.15307432413101196, -0.4773887097835541, -0.4437754452228546, -0.04558277130126953, -0.3889389932155609, 0.5110709071159363, 0.0714559480547905, -0.5013507008552551 ]
http://arxiv.org/abs/2402.12327v2
http://arxiv.org/pdf/2402.12327v2
Shall We Team Up: Exploring Spontaneous Cooperation of Competing LLM Agents
2024-02-19T18:00:53
2024-07-02T17:56:09
Zengqing Wu, Run Peng, Shuyuan Zheng, Qianying Liu, Xu Han, Brian Inhyuk Kwon, Makoto Onizuka, Shaojie Tang, Chuan Xiao
cs.AI
cs.AI, cs.CL, cs.CY, cs.MA, econ.GN, q-fin.EC
Large Language Models (LLMs) have increasingly been utilized in social simulations, where they are often guided by carefully crafted instructions to stably exhibit human-like behaviors during simulations. Nevertheless, we doubt the necessity of shaping agents' behaviors for accurate social simulations. Instead, this paper emphasizes the importance of spontaneous phenomena, wherein agents deeply engage in contexts and make adaptive decisions without explicit directions. We explored spontaneous cooperation across three competitive scenarios and successfully simulated the gradual emergence of cooperation, findings that align closely with human behavioral data. This approach not only aids the computational social science community in bridging the gap between simulations and real-world dynamics but also offers the AI community a novel method to assess LLMs' capability of deliberate reasoning.
[ -0.2912639081478119, -0.8376968502998352, 0.7892892956733704, 0.6115334033966064, -0.030224457383155823, 0.5929058194160461, -0.3466038703918457, -0.5797405242919922, 0.43304625153541565, 0.2658652663230896, -0.7791119813919067, 0.03831515461206436, -0.2131798267364502, 0.28496265411376953, -0.07126486301422119, 0.364874929189682, 0.21972844004631042, 0.13569612801074982, -0.364234060049057, -0.06580616533756256, -0.5441513657569885, -0.6368891000747681, -0.9310245513916016, -0.6568478941917419, 0.6654532551765442, 0.5258930921554565, 0.7040231227874756, 0.11187613010406494, 0.2512354552745819, 0.5713338851928711, 0.11666245758533478, 0.39323893189430237, -0.6236150860786438, 0.5727099776268005, -0.231694296002388, -0.5440685153007507, -0.32251232862472534, 0.4361862540245056, 0.5734416842460632, 0.7816393971443176, -0.34395259618759155, -0.27540990710258484, 0.1258801966905594, 0.426866352558136, -0.0013329207431524992, 0.15554645657539368, -0.8154767751693726, 0.09443212300539017, -0.008719578385353088, -0.2001684606075287, -0.21680136024951935, -0.2670307457447052, 0.18607202172279358, -0.6789321303367615, 0.1875396966934204, 0.3109915852546692, 0.5890193581581116, 0.0857238620519638, -0.35340625047683716, -0.23360292613506317, -0.936733067035675, 0.616675853729248, -0.3188304603099823, -0.04648381844162941, 0.31715118885040283, 0.28585708141326904, -0.9072641134262085, -0.8347324132919312, -0.8389309048652649, -0.4541257321834564, 0.27804434299468994, 0.328061044216156, 0.05017167329788208, -0.008836778812110424, -0.04100043326616287, -0.0877593383193016, -0.3419205844402313, 0.2773781418800354, -0.23917312920093536, -0.09389390796422958, 1.0114246606826782, 0.4602227807044983, 0.4467034935951233, 0.46096163988113403, -0.4518502652645111, 0.052307963371276855, -0.3367463946342468, 0.11481370776891708, 0.06087259203195572, 0.33815470337867737, -0.3303746283054352, 0.5672754049301147, 0.06468208134174347, 0.3749263882637024, 0.23833394050598145, 0.2734321653842926, -0.21708059310913086, -0.45184510946273804, -0.3762848675251007, 0.06591667979955673, 0.7773576378822327, 0.5481612086296082, 0.29975324869155884, -0.4198862910270691, -0.18487314879894257, 0.4020436406135559, 0.20729634165763855, -0.20063531398773193, 0.024709518998861313, 0.02332357130944729, -0.21152548491954803, -0.5669054388999939, -0.046415604650974274, -0.5552608966827393, -0.4461187422275543, -0.4079042077064514, 0.3937903046607971, 0.06213346868753433, -0.3065469563007355, -0.09404006600379944, -0.35381171107292175, 0.34269654750823975, 0.6206609010696411, -0.5529836416244507, 0.5098803639411926, 0.8073722720146179, 0.8022810816764832, -0.19120964407920837, -0.8429241180419922, -0.4359253942966461, 0.1097574457526207, -0.5818328261375427, 0.7504775524139404, -0.23163862526416779, -0.5642264485359192, -0.0896090716123581, -0.07650730758905411, -0.06617693603038788, -0.27541399002075195, 0.2719460427761078, -0.5928764343261719, -0.04767056554555893, -0.6546632647514343, -0.559382438659668, 0.25139695405960083, 0.40670961141586304, -0.641273021697998, 0.7728382349014282, -0.021035565063357353, -0.5392888784408569, 0.5279040336608887, -0.4663471579551697, -0.3583325743675232, 0.46364331245422363, -0.3846932351589203, 0.061941422522068024, -0.0009707212448120117, -0.3901272416114807, 0.5016845464706421, -0.2051859200000763, 0.21809569001197815, -0.6823347806930542, -0.36790481209754944, 0.850568950176239, -0.11015824228525162, 0.7888603210449219, 0.0838952511548996, -0.17119967937469482, 0.31858715415000916, 0.01026742160320282, -0.2798370122909546, 0.28447794914245605, -0.06381908804178238, -0.29715317487716675, 0.2327001541852951, -0.32416000962257385, 0.36555540561676025, 0.16978363692760468, -0.17122866213321686, 0.6187137365341187, -0.18258854746818542, 0.45759159326553345, 1.0907655954360962, 0.18321079015731812, 0.8779141306877136, -0.8382633924484253, 0.5075908899307251, -0.3497862219810486, 0.21053478121757507, 0.4429799020290375, -0.7453100085258484, -0.5974275469779968, -0.1708552986383438, -0.07654976844787598, 0.4946982264518738, -0.8969195485115051, 0.15616318583488464, 0.03948543220758438, -0.3732089102268219, -0.07194685190916061, 0.08999881893396378, 0.050358254462480545, 0.12021379172801971, -0.11406393349170685, -0.21615061163902283, -0.6693763732910156, -0.3748059868812561, -0.11511056125164032, -0.24562673270702362, 0.07024717330932617, 0.47292622923851013, 0.24477005004882812, -0.2793818712234497, 1.0059926509857178, -0.010117970407009125, -0.25676339864730835, -0.6862725615501404, 0.21798844635486603, -0.0050188591703772545, 0.3565513789653778, 0.5020079612731934, -0.713081419467926, -0.5372792482376099, -0.09811607003211975, -1.0101245641708374, 0.042204536497592926, -0.26721060276031494, -0.35233673453330994, 0.2987552285194397, 0.6753690242767334, -0.5538941621780396, 0.14874474704265594, 0.709644615650177, -0.6199321746826172, 0.5572454333305359, -0.3555437922477722, 0.2621350884437561, -0.9848648905754089, -0.4120304584503174, -0.09027738124132156, -0.15589185059070587, -0.7122744917869568, -0.07209593057632446, -0.4540110230445862, 0.18155308067798615, -0.2620850205421448, 0.6467300653457642, -0.7457120418548584, -0.1321972906589508, -0.15646398067474365, 0.40261951088905334, -0.33942002058029175, 0.13564372062683105, 0.05984775349497795, 0.7426127195358276, 0.6623023748397827, -0.5952016115188599, 0.6129717826843262, -0.11063794046640396, -0.09123839437961578, 0.40160709619522095, -0.6272759437561035, 0.26963454484939575, 0.15227891504764557, 0.6082871556282043, -0.814698338508606, -0.6953011751174927, 0.1707811951637268, -0.48296040296554565, 0.04118656367063522, 0.06148483604192734, -0.7220538258552551, -0.3692914545536041, -0.2764240503311157, 0.3696571886539459, 0.465770959854126, -0.19617609679698944, 0.6218063235282898, 0.5988842844963074, -0.016342666000127792, -0.18032468855381012, -0.5777943730354309, 0.2836419641971588, -0.25746971368789673, -0.9440822601318359, 0.3364335894584656, -0.3099331259727478, -0.868829071521759, -0.06412076950073242, 0.20068761706352234, -0.16219936311244965, 0.2734680771827698, 0.44757503271102905, 0.4377760887145996, 0.09889867156744003, -0.26063627004623413, -0.1529621183872223, 0.311749666929245, 0.028923485428094864, -0.07402745634317398, 0.6343666315078735, -0.07441440224647522, -0.14706549048423767, -0.2975955605506897, 0.25408846139907837, 0.5934792757034302, 0.2522704005241394, 0.9825038909912109, 0.18725116550922394, -0.37527331709861755, -0.3581840395927429, -0.5822036266326904, -0.23271870613098145, -0.5983200669288635, -0.053846586495637894, -0.027885401621460915, -1.0804437398910522, 0.8128153085708618, -0.07698007673025131, -0.03854961320757866, -0.2677006721496582, 0.6169775128364563, -0.3151018023490906, 0.9143410921096802, 0.6765261292457581, -0.2605969309806824, 0.15867497026920319, 0.24279341101646423, -0.11917240917682648, -0.3367437720298767, -0.45312827825546265, -0.3517278730869293, -0.3621017038822174, -0.5998131632804871, -0.8423720598220825, 0.4978371560573578, 0.1724957823753357, 0.08440227806568146, 0.11214220523834229, -0.11187247186899185, 0.7264001965522766, 0.1542186737060547, 0.06317503750324249, 0.09135890752077103, -0.2721864581108093, -0.23212489485740662, -0.028310149908065796, -0.8942064046859741, -0.1875791847705841, 0.6290479898452759, -0.09761307388544083, 0.4214647710323334, 0.16667288541793823, 0.8282700777053833, 0.549945056438446, 0.5789849162101746, -0.5733955502510071, 0.8556127548217773, 0.5126598477363586, -0.4870293140411377, -0.44624853134155273, -0.42741528153419495, -1.388322114944458, 0.08480489253997803, -0.546442449092865, -0.7295225262641907, -0.08961750566959381, -0.10896263271570206, -0.37735700607299805, 0.1541975736618042, -0.4261866509914398, 0.4971640706062317, -0.1453210413455963, -0.6031097173690796, -0.36107614636421204, -0.6086891889572144, 0.6269999742507935, -0.02440328523516655, 0.5731238126754761, -0.07756417989730835, -0.2081640213727951, 0.4751006066799164, -0.17439094185829163, 0.9804971814155579, 0.16670666635036469, -0.06879398226737976, 0.43310731649398804, 0.4636649191379547, 0.611749529838562, 0.2893331050872803, -0.12321312725543976, -0.06744103878736496, -0.4054524302482605, -0.49467262625694275, -0.5207735896110535, 0.7971891164779663, -0.7757278680801392, -0.6103242635726929, -0.5567494034767151, -0.5147519111633301, -0.15101143717765808, -0.05615842342376709, 0.023660022765398026, 0.11630092561244965, -0.6353535056114197, -0.13880710303783417, 0.49742254614830017, 0.0642038881778717, 0.614826500415802, 0.5712941884994507, -0.2971944212913513, -0.2489643543958664, 0.740744948387146, -0.13300107419490814, 0.30658039450645447, -0.13971588015556335, 0.100592240691185, -0.034839726984500885, -0.32359814643859863, 0.05617733672261238, 0.2721171975135803, -0.2800564169883728, -0.0463411770761013, -0.23430629074573517, 0.06709903478622437, -0.4252021908760071, -0.7295843958854675, -0.1699598878622055, -0.08915028721094131, -0.08048687130212784, 0.03085392713546753, 0.1239720955491066, 1.070749044418335, -0.43172264099121094, -0.08693715929985046, -0.9062457084655762, 0.019392812624573708, 0.6300172805786133, -0.009406992234289646, 0.07283834367990494, -0.15225757658481598, 0.05337899923324585, -0.025303050875663757, 0.14577704668045044, -1.1484671831130981, 0.4027807116508484, -0.16079886257648468, 0.8760219812393188, 0.14732494950294495, 0.15670569241046906, 0.4322901666164398, -0.31340599060058594, 0.9173585772514343, 0.04274284839630127, -0.8151400685310364, 0.3409992456436157, -0.732852578163147, 0.0009280852973461151, 0.4319530129432678, 0.4222021996974945, -0.48935794830322266, -0.3575803339481354, -0.6797636151313782, -0.7154728770256042, 0.6694397926330566, 0.521401584148407, 0.054928530007600784, 0.010630381293594837, 0.4052155017852783, -0.35387665033340454, -0.15408670902252197, -0.579292893409729, -0.14854121208190918, 0.5072989463806152, 0.3242754340171814, -0.1546664535999298, 0.08090423047542572, -0.5758843421936035, -0.22562308609485626, 0.2186090499162674, 0.13079014420509338, 0.15323741734027863, 0.28284573554992676, 0.04163357615470886, -0.5033020973205566, -0.11294953525066376, 0.7632670402526855, 0.3523610234260559, 0.15324077010154724, 0.04394948482513428, 0.46275442838668823, -0.2046775072813034, 0.21573416888713837, -0.19959072768688202, 0.3552643060684204, -0.3815426826477051, 0.4328910708427429, 0.2002125233411789, 0.31243231892585754, -0.6398011445999146, 0.5075480937957764, -0.6136781573295593, -0.4742067754268646, -0.4475221633911133, 0.18657450377941132, 0.3831385374069214, 0.6972185373306274, 0.4368848204612732, 0.25375184416770935, -0.3089117109775543, -0.9227834939956665, 0.40214091539382935, 0.5291224718093872, -0.08053021132946014, -0.5442436337471008, 0.2761789560317993, 0.6121739745140076, -0.7684066891670227, 0.47389721870422363, -0.7033231258392334, -0.7825266122817993, 0.8613463640213013, 0.3093831241130829, 0.8001095056533813, -0.20367836952209473, 0.10845156013965607, 0.06482870876789093, 0.3145538866519928, -0.4511066973209381, -0.01029878854751587, -0.26027750968933105, -1.104409098625183, -0.3859913945198059, -0.44710421562194824, -0.6299003958702087, -0.18912377953529358, -0.2820163369178772, 0.22088393568992615, -0.4949952960014343, -0.03012942709028721, -0.20044001936912537, 0.25724896788597107, -0.6370277404785156, -0.33735209703445435, 0.380617618560791, 0.7319504022598267, -0.8001168966293335, 1.0361768007278442, 0.7064031362533569, -0.23530980944633484, -1.0612167119979858, 0.07701200246810913, 0.21999004483222961, -0.6312662959098816, 0.7028312683105469, -0.02660120092332363, -0.28026872873306274, 0.06291420012712479, -1.0679551362991333, -0.5316272974014282, 1.357772946357727, -0.004970291163772345, -0.5684313178062439, -0.13107344508171082, -0.14142177999019623, 0.3961038291454315, -0.3463952839374542, -0.03851800411939621, 0.3684306740760803, 0.44963914155960083, 0.2216111421585083, -1.0794165134429932, 0.3274593949317932, -0.22315993905067444, -0.23759035766124725, -0.16421301662921906, -1.0104782581329346, 0.8297930955886841, -0.32762113213539124, -0.13641619682312012, 0.18018043041229248, 0.8414517641067505, 0.6621080040931702, 0.5472615957260132, 0.6428225636482239, 0.11857511848211288, 0.7297922968864441, 0.12295038998126984, 0.7106977701187134, -0.040545281022787094, 0.22290053963661194, 0.7858763337135315, -1.0484734773635864, 0.42304396629333496, 0.3454928398132324, -0.29131120443344116, 0.34291595220565796, 0.4966687262058258, 0.0943002849817276, 0.03018082305788994, 0.24509510397911072, -0.6745603680610657, -0.7103350162506104, -0.07902485132217407, -0.1110026016831398, 0.49741634726524353, 0.5197206735610962, 0.22793006896972656, 0.0007927805418148637, -0.27198299765586853, -0.13777805864810944, 0.2665857672691345, -0.19600193202495575, 0.7250477075576782, 0.2000666856765747, -0.9117724299430847, 0.0004311800003051758, -0.2901252806186676, 0.9774280786514282, -0.3791520297527313, -0.10976585000753403, -0.3863339424133301, -0.06586722284555435, -0.07722393423318863, -0.6678359508514404, 0.048930492252111435, -0.16395513713359833, 0.05286207050085068, -0.09128658473491669, 0.7237553596496582, -0.31918615102767944, -0.12232325971126556, 0.5874252915382385, 0.5997864007949829, 0.04136442393064499, 0.2665531039237976, -0.7104992866516113, 0.2322317659854889, -0.33748775720596313, -0.13098669052124023, 0.7418145537376404, 0.7489870190620422, -0.08660083264112473, 0.7462680339813232, 0.9414394497871399, 0.1580771952867508, 0.0021137550938874483, 0.03167954832315445, 1.026276707649231, -0.5448833703994751, -0.39244621992111206, -0.9433406591415405, 0.32177573442459106, -0.38880664110183716, 0.06529700756072998, 0.8038854598999023, 0.13085904717445374, 0.6246311068534851, 0.2703413665294647, 0.5524948835372925, -0.10470448434352875, 0.024089308455586433, -0.3413628041744232, 0.8547559976577759, -0.4551249146461487, 0.2492433488368988, -0.24708981812000275, -0.6951753497123718, -0.2632104754447937, 0.3963242173194885, 0.21850168704986572, -0.022676873952150345, 0.43008214235305786, 0.8062773942947388, 0.21667809784412384, -0.0018523186445236206, 0.4878891110420227, 0.16824236512184143, 0.12922419607639313, 0.4352788031101227, 1.331555962562561, 0.24649016559123993, 0.30220165848731995, -0.014398062601685524, -0.5273705720901489, -0.1468534767627716, -0.9581254124641418, -1.04355788230896, -0.3772960305213928, -0.08829929679632187, -0.5346369743347168, 0.1180795431137085, 1.555449366569519, 0.4865090250968933, -0.19498448073863983, -0.6424748301506042, -0.3615683913230896, 0.2288595736026764, -0.07565108686685562, -0.28024017810821533, -0.5021109580993652, -0.45724502205848694, -0.6227930784225464, 0.8099197149276733, 0.1740986853837967, 0.25987184047698975, -0.3247717022895813, -0.4882170557975769, -0.3204936385154724, 0.48625892400741577, 0.449314683675766, 0.5469408631324768, -0.41551461815834045, 0.08082865178585052, 0.13176849484443665, -0.38096049427986145, -0.4125240445137024, 1.1154873371124268, -0.7051599621772766, 0.1178780347108841, 0.5919672846794128, 0.23456330597400665, 0.20210805535316467, -0.12704937160015106, 0.9832941293716431, -0.6156840920448303, 0.4183630347251892, 0.3937951922416687, 0.19654721021652222, 0.09052027016878128, -0.24098265171051025, 0.40420371294021606, 0.5306405425071716, -1.0062339305877686, -1.0754799842834473, 0.03773687407374382, -1.1440635919570923, -0.2886795997619629, 1.1504695415496826, -0.3073979914188385, -0.23623427748680115, -0.28335151076316833, -0.12649452686309814, 0.45338916778564453, -0.5670822858810425, 0.9322970509529114, 0.73816978931427, -0.5282565951347351, 0.11448788642883301, -0.394733726978302, 0.5897723436355591, 0.31200629472732544, -0.6408306360244751, -0.15365388989448547, 0.3800996243953705, 0.017919126898050308, -0.007412952836602926, 0.9620545506477356, 0.5755443572998047, 0.18512313067913055, 0.10534278303384781, -0.4003419876098633, 0.18197514116764069, -0.2731257379055023, -0.2877553105354309, -0.1419965624809265, 0.4161815643310547, 0.3563334345817566 ]
http://arxiv.org/abs/2402.12326v1
http://arxiv.org/pdf/2402.12326v1
LLM Agents for Psychology: A Study on Gamified Assessments
2024-02-19T18:00:30
2024-02-19T18:00:30
Qisen Yang, Zekun Wang, Honghui Chen, Shenzhi Wang, Yifan Pu, Xin Gao, Wenhao Huang, Shiji Song, Gao Huang
cs.CL
cs.CL, cs.CY, cs.HC, cs.LG, cs.MA
Psychological measurement is essential for mental health, self-understanding, and personal development. Traditional methods, such as self-report scales and psychologist interviews, often face challenges with engagement and accessibility. While game-based and LLM-based tools have been explored to improve user interest and automate assessment, they struggle to balance engagement with generalizability. In this work, we propose PsychoGAT (Psychological Game AgenTs) to achieve a generic gamification of psychological assessment. The main insight is that powerful LLMs can function both as adept psychologists and innovative game designers. By incorporating LLM agents into designated roles and carefully managing their interactions, PsychoGAT can transform any standardized scales into personalized and engaging interactive fiction games. To validate the proposed method, we conduct psychometric evaluations to assess its effectiveness and employ human evaluators to examine the generated content across various psychological constructs, including depression, cognitive distortions, and personality traits. Results demonstrate that PsychoGAT serves as an effective assessment tool, achieving statistically significant excellence in psychometric metrics such as reliability, convergent validity, and discriminant validity. Moreover, human evaluations confirm PsychoGAT's enhancements in content coherence, interactivity, interest, immersion, and satisfaction.
[ -0.6522185802459717, -0.7586725354194641, 0.7607553005218506, 0.7389428615570068, 0.026448316872119904, 0.6078019142150879, -0.28503960371017456, -0.26913830637931824, 0.40481656789779663, -0.005885764956474304, -0.811623752117157, -0.37130507826805115, -0.26770055294036865, 0.20375820994377136, 0.07057994604110718, 0.9643293023109436, 0.011995446868240833, 0.16089250147342682, -0.5530768632888794, 0.09006743133068085, -0.48011112213134766, -0.48453840613365173, -0.5335697531700134, -0.8355229496955872, 0.6452926993370056, 0.004621561616659164, 0.7525914311408997, 0.03152259439229965, 0.6557936668395996, 0.25513094663619995, 0.20902201533317566, 0.31884220242500305, -0.6480740904808044, 0.23384220898151398, -0.38907554745674133, -0.4918515086174011, -0.65121990442276, 0.4205077588558197, -0.07102574408054352, 0.03030768409371376, -0.4353751242160797, 0.5481611490249634, 0.04278438165783882, 0.10588507354259491, -0.6219692230224609, 0.1350623220205307, 0.21989597380161285, 0.30228886008262634, 0.31027135252952576, -0.3793163299560547, -0.22160476446151733, -0.7009524703025818, -0.3314622938632965, -0.5300383567810059, 0.1302458792924881, -0.17961835861206055, 0.6008572578430176, 0.10817690193653107, -0.2463098168373108, -0.5174357891082764, -0.9943898916244507, 0.4823514521121979, -0.4827311933040619, -0.1361628919839859, 0.4888327419757843, 0.38851943612098694, -0.3764510154724121, -0.2537730038166046, -0.40869975090026855, -0.5344599485397339, 0.11026515811681747, 0.5090683698654175, -0.2104903608560562, 0.2731792628765106, 0.05652890354394913, 0.3846357762813568, -0.5564157962799072, 0.169138565659523, -0.07079549878835678, -0.2584306299686432, 1.218332052230835, 0.8903625011444092, 0.5413222908973694, 0.23042014241218567, -0.264741450548172, 0.17320072650909424, -0.24385739862918854, 0.21669593453407288, 0.47079160809516907, -0.17144468426704407, -0.24242885410785675, 0.41557180881500244, -0.06435544043779373, 0.21180057525634766, 0.5052598118782043, -0.510563313961029, 0.11776178330183029, -0.12976548075675964, -0.024842791259288788, -0.2837021052837372, 0.8318684101104736, 0.7319738864898682, 0.15354880690574646, -0.3835597038269043, -0.13845127820968628, 0.4406495988368988, 0.5302198529243469, -0.6639087796211243, -0.4827687740325928, 0.6808843016624451, -0.3037395775318146, -0.4760415852069855, -0.14687791466712952, -0.9889875054359436, -0.8223161697387695, -0.1257951259613037, 0.4734397530555725, -0.30713334679603577, -0.24789007008075714, 0.13256891071796417, -0.08267832547426224, 0.333975613117218, 0.4659903943538666, -0.9941660165786743, 0.24623452126979828, 0.6491937041282654, 0.8666405081748962, -0.34392839670181274, -0.28053322434425354, -0.20866887271404266, -0.118953637778759, -0.5943935513496399, 0.9039789438247681, -0.269241064786911, -0.6295536756515503, -0.01388811320066452, -0.3351219892501831, 0.43889960646629333, -0.4405897855758667, 0.13511057198047638, -0.0677490308880806, 0.2604026198387146, -0.13722838461399078, -0.36264345049858093, -0.14323210716247559, 0.7345825433731079, -0.13583678007125854, 1.0217753648757935, 0.3837209641933441, 0.0702509805560112, 0.4567887783050537, -0.7945626378059387, -0.1443241834640503, 0.5475732088088989, -0.22022180259227753, 0.10758931934833527, 0.6048316359519958, 0.09510903805494308, 0.3252517282962799, -0.3938373029232025, 0.09437596052885056, -0.39741384983062744, -0.8315425515174866, 0.617084264755249, -0.1350673884153366, 0.777604341506958, 0.20740556716918945, -0.23758526146411896, 0.18079042434692383, -0.47518986463546753, 0.33016470074653625, -0.020995670929551125, -0.27383941411972046, -0.06015770509839058, 0.024452554062008858, -0.05759868398308754, 0.3349214196205139, 0.10250723361968994, -0.5092864036560059, 0.32923418283462524, 0.11249502003192902, 0.010294719599187374, 0.7994102239608765, 0.2825770676136017, 0.2738901972770691, -0.46548953652381897, 1.2897422313690186, -0.5679954290390015, 0.4496017098426819, 0.4949328303337097, -0.5698410272598267, -0.3002719283103943, -0.9622378945350647, 0.07776513695716858, 0.6244249939918518, -0.3062184453010559, 0.901025652885437, 0.0339030958712101, -1.012070655822754, -0.4010801315307617, 0.22797557711601257, 0.1358283907175064, 0.209762305021286, -0.18135660886764526, -0.6932217478752136, -0.307878315448761, -0.23414984345436096, -0.17345190048217773, -0.39723387360572815, -0.4840354919433594, 0.18679659068584442, 0.3803262412548065, -0.5495632290840149, 1.0120186805725098, -0.442209392786026, -0.6461251378059387, -0.12419961392879486, 0.4501902163028717, 0.12261074781417847, 0.06352302432060242, 0.5429147481918335, -0.3122352957725525, -0.29512181878089905, -0.2411486804485321, -1.280782699584961, -0.48138490319252014, -0.27070966362953186, 0.020751066505908966, -0.6000560522079468, 0.02277674339711666, -0.5075446963310242, 0.3841520845890045, 0.31445878744125366, -0.5706914067268372, 0.9658477306365967, -0.39032772183418274, 0.3832412660121918, -0.09307245910167694, -0.20577093958854675, -0.028835412114858627, -0.20560356974601746, -0.6750957369804382, 0.4852393865585327, -0.0917348563671112, -0.13624288141727448, -0.3936867117881775, 0.5738252401351929, -0.3873039484024048, 0.21653108298778534, -0.3353886008262634, 0.26729780435562134, -0.16266562044620514, 0.5513190031051636, -0.281980961561203, 0.7748265266418457, 0.47101855278015137, -0.6042671203613281, 0.8377854228019714, 0.2088679075241089, -0.20859676599502563, 1.1391966342926025, -0.4115120470523834, 0.3711710572242737, -0.05586167797446251, 0.1674305945634842, -1.0494393110275269, 0.022269466891884804, 0.5589565634727478, -0.6812663078308105, -0.41728901863098145, 0.616019606590271, -0.6098900437355042, -0.3689878582954407, -0.5685277581214905, -0.05822678282856941, 0.7078951001167297, -0.19731058180332184, 0.904365599155426, 0.23206186294555664, -0.04778299853205681, -0.10098619014024734, -0.6613810062408447, 0.24314408004283905, -0.649935245513916, -0.39672550559043884, -0.08836637437343597, -0.38900840282440186, -0.34367355704307556, -0.2192370444536209, 0.09439994394779205, 0.10091055929660797, 0.17684487998485565, 0.45222747325897217, 0.28179609775543213, 0.00580791337415576, 0.1765621453523636, -0.3290553390979767, -0.11192809045314789, 0.6413062810897827, 0.463175892829895, 0.6346919536590576, -0.3168802261352539, -0.23251135647296906, -0.18846239149570465, 0.22965393960475922, 0.32621753215789795, -0.3137829303741455, 0.22033844888210297, 1.1403439044952393, -0.2875054180622101, 0.06806893646717072, -0.7112250328063965, 0.03272236883640289, -0.480585515499115, 0.29224929213523865, -0.4196047782897949, -0.7715479135513306, 0.809787929058075, -0.20648667216300964, -0.11580485105514526, -0.15830446779727936, 1.0646284818649292, -0.3676513433456421, 1.2433463335037231, 0.3733704090118408, -0.020723378285765648, 0.09204614907503128, -0.00965769961476326, 0.37680524587631226, -0.8744145631790161, -0.3259098529815674, -0.10833289474248886, -0.7129731178283691, -0.3504224419593811, -0.3458101749420166, 0.30773529410362244, -0.17823097109794617, -0.41297632455825806, -0.3623604476451874, -0.6310323476791382, 0.39524826407432556, 0.21652568876743317, 0.34838664531707764, 0.36615532636642456, 0.011991248466074467, -0.09277674555778503, -0.30915266275405884, 0.039849717170000076, -0.48055022954940796, 1.014175534248352, 0.25584402680397034, 1.1271716356277466, 0.41666868329048157, 1.0574244260787964, 0.8863579034805298, 0.9037889838218689, -1.029025912284851, 0.6150273084640503, 0.558168351650238, -0.8901516199111938, -0.2568720579147339, -0.12138114869594574, -0.5828564167022705, 0.39753368496894836, -0.2239546924829483, -1.3322781324386597, 0.3251694142818451, -0.29806527495384216, -0.6457634568214417, -0.08417665958404541, -0.5452804565429688, 0.3495023846626282, -0.6464065313339233, -0.5322375297546387, -0.31587377190589905, -0.1186424046754837, 0.44571971893310547, -0.16669973731040955, 0.06335843354463577, -0.3842388391494751, -0.3148488998413086, 0.6109382510185242, -0.10826452821493149, 0.4534602165222168, -0.2851009964942932, -0.27242550253868103, 0.3406084179878235, 0.6166526079177856, 0.056668687611818314, 0.42296022176742554, 0.027126874774694443, -0.04591171443462372, 0.09170923382043839, -0.34309640526771545, -1.2325035333633423, 0.26928025484085083, -0.8586530685424805, -0.7760992646217346, -0.8223300576210022, -0.822538435459137, -0.5854259729385376, -0.0772828534245491, -0.056391630321741104, -0.1842830926179886, -0.621895968914032, -0.11976293474435806, 0.2861258387565613, -0.061203956604003906, -0.03290925547480583, 0.6398452520370483, -0.6174278855323792, -0.45045796036720276, 0.8643742203712463, -0.40697741508483887, 0.00231372588314116, -0.11931824684143066, 0.2578287422657013, -0.3123740255832672, -0.20118308067321777, 0.13701096177101135, 0.17059525847434998, -0.40941011905670166, 0.005093082785606384, -0.012001206167042255, 0.14214545488357544, -0.24005408585071564, -0.3621630370616913, 0.12254707515239716, 0.25606536865234375, -0.12055972218513489, -0.44266998767852783, 0.18805845081806183, 0.7620673179626465, -0.6495967507362366, 0.5466022491455078, -0.21001961827278137, 0.35029861330986023, 0.1980176866054535, 0.15256290137767792, 0.09596699476242065, -0.20348943769931793, 0.010995868593454361, -0.020163720473647118, -0.6374546885490417, -0.9907385110855103, 0.4342058300971985, 0.060488756746053696, 0.394172728061676, 0.8466594815254211, -0.23030255734920502, 0.7872603535652161, -0.08408714085817337, 0.9778234958648682, 0.4835872948169708, -0.7282339930534363, 0.20356318354606628, -0.42106080055236816, 0.12382762134075165, 0.6655746102333069, 0.47961801290512085, -0.6567262411117554, -0.46502935886383057, -0.3805737793445587, -0.24508263170719147, 0.42635321617126465, -0.030795292928814888, 0.30981096625328064, -0.04834188148379326, 0.36764687299728394, 0.02020968124270439, 0.2747252881526947, -0.501196563243866, -0.3092953562736511, 0.14977577328681946, -0.1860683560371399, -0.6512264609336853, -0.23382733762264252, -0.3202984035015106, -0.33521297574043274, 0.3762756586074829, 0.1436551958322525, 0.6916217803955078, 0.17921306192874908, 0.012349297292530537, -0.03556787967681885, 0.2691640853881836, 0.3653644323348999, 0.8476063013076782, -0.6807366609573364, 0.05020156130194664, 0.04183714836835861, -0.8095259666442871, 1.1787123680114746, -0.1495189219713211, 0.0034128434490412474, -0.2869708836078644, 0.07543708384037018, -0.07486999779939651, -0.2470434457063675, -0.8487144112586975, 0.33859628438949585, -0.31463271379470825, -0.29375889897346497, -0.2277894914150238, 0.3233156204223633, 0.14489001035690308, 0.4936582148075104, 0.32820260524749756, -0.376921683549881, 0.20149822533130646, -0.7734658122062683, 0.13115529716014862, 0.1850474774837494, -0.4959432780742645, -0.14778360724449158, 0.5465975999832153, 0.1208483874797821, -0.8483660221099854, 0.6651752591133118, -0.6957976818084717, -0.22900515794754028, 0.48899054527282715, 0.45355862379074097, 0.9976099729537964, -0.29662761092185974, 0.9885750412940979, -0.07195045053958893, 0.4584790766239166, 0.1051185131072998, 0.513325035572052, -0.03879258781671524, -0.6418599486351013, -0.06180277094244957, -0.23574621975421906, -0.6625367999076843, 0.2274412363767624, -0.5926114320755005, -0.06497673690319061, -0.7423127889633179, -0.679133951663971, -0.5705010294914246, 0.42888322472572327, -0.8219850659370422, 0.3519056737422943, 0.20963986217975616, 0.5461027026176453, -0.9389667510986328, 0.10247070342302322, 0.8141003847122192, -0.7815985679626465, -0.5745898485183716, -0.2914315164089203, 0.17565815150737762, -0.7071717381477356, 0.22371545433998108, -0.16985014081001282, -0.08517272025346756, -0.2592022716999054, -0.5198169946670532, -0.43008363246917725, 1.0970598459243774, 0.39869874715805054, 0.01176636666059494, -0.26542729139328003, 0.26229631900787354, 1.149202823638916, -0.4810561537742615, 0.8068253993988037, 0.46915701031684875, 0.5043359398841858, -0.28759801387786865, -0.3147810697555542, 0.1636851280927658, -0.23131096363067627, 0.033257149159908295, -0.3162446916103363, -0.7245712280273438, 0.5201485753059387, -0.1639404296875, -0.05031890049576759, 0.2790057063102722, 0.8724457025527954, 0.6780146956443787, 0.3201565444469452, 0.2437087893486023, 0.20474277436733246, 0.924095869064331, -0.04263189435005188, 0.8575333952903748, -0.017261888831853867, 0.5942864418029785, 0.9217289686203003, -0.5300043821334839, 0.3134594261646271, 0.48734521865844727, -0.49436599016189575, 0.6054732203483582, 0.9928951859474182, -0.5002573728561401, 0.4652097523212433, 0.8357890248298645, -0.36651375889778137, -0.38062047958374023, -0.14682075381278992, -0.01584620401263237, 0.5102460384368896, 0.5141152739524841, -0.030799541622400284, -0.35710757970809937, 0.2632986009120941, -0.03447550907731056, 0.18304744362831116, -0.25137415528297424, 0.16418902575969696, 0.08300633728504181, -0.48313984274864197, 0.2199985533952713, 0.01949404366314411, 0.79891437292099, -0.7929762601852417, 0.2569732964038849, -0.6017835736274719, 0.30242404341697693, -0.2784225642681122, -0.568526029586792, -0.3417520523071289, 0.10298755019903183, 0.35976603627204895, -0.12298385798931122, 0.8328285217285156, -0.024591445922851562, -0.43317702412605286, 0.33840861916542053, 0.9482631683349609, 0.36920270323753357, -0.09413088858127594, -0.6799653172492981, -0.10020174831151962, -0.37525373697280884, -0.17870664596557617, 0.5284826159477234, 0.14773954451084137, 0.26143503189086914, 1.0341458320617676, 0.33332476019859314, 0.5163033604621887, -0.19077906012535095, -0.12286287546157837, 0.05748780071735382, -0.5581886768341064, -0.7683417201042175, -0.8865252137184143, 0.17500104010105133, 0.11293955892324448, -0.5223371386528015, 0.945743203163147, 0.41001030802726746, 0.2754715383052826, -0.3071817457675934, 0.666721761226654, -0.1576257348060608, -0.14521384239196777, 0.02922775410115719, 0.8847958445549011, -0.456730455160141, -0.35735827684402466, -0.29054707288742065, -1.0188555717468262, -0.2761462926864624, 0.7150020599365234, -0.37371423840522766, 0.07524498552083969, 0.5279234647750854, 0.6951839327812195, 0.22189538180828094, -0.12660743296146393, 0.5096550583839417, -0.23492293059825897, 0.678718626499176, 0.7671838998794556, 1.356337308883667, -0.10244468599557877, 0.1396462470293045, -0.15590651333332062, -0.6368725895881653, -0.056202471256256104, -0.6198119521141052, -1.1690781116485596, -0.2903195917606354, -0.4155083894729614, -0.3814392685890198, 0.2039707750082016, 0.8528521060943604, 0.35124635696411133, -0.23485834896564484, -0.7517422437667847, 0.49465593695640564, -0.11876572668552399, -0.7005720734596252, -0.336372047662735, 0.08190634846687317, -0.12899592518806458, -0.39204174280166626, 0.0881340280175209, 0.26154568791389465, -0.4207293689250946, -0.846375584602356, -0.2500748932361603, -0.1874932050704956, 0.4231719970703125, 0.5178393125534058, 0.23037700355052948, -0.694976270198822, -0.4504299461841583, -0.007682338356971741, -0.2880608141422272, -0.017322594299912453, 0.7203016877174377, -0.6614269614219666, 0.6048721671104431, 0.44118595123291016, 0.41466280817985535, 0.21718406677246094, 0.26644954085350037, 0.7419742345809937, -0.10299710929393768, -0.05473173037171364, 0.23093898594379425, -0.03110566735267639, -0.04826580360531807, -0.6468154788017273, 0.8746136426925659, 0.0014461408136412501, -0.563041627407074, -0.8477005362510681, -0.12962111830711365, -0.951555609703064, 0.3730645477771759, 0.976365864276886, -0.4121228754520416, -0.13197292387485504, 0.046445026993751526, -0.35917091369628906, -0.12591737508773804, -0.3331207036972046, 1.0990979671478271, 1.1285772323608398, -0.7877830862998962, -0.13518399000167847, -0.37232860922813416, 0.3041045069694519, 0.302939236164093, -0.8325681686401367, -0.5360755920410156, 0.4371429979801178, 0.2896958887577057, 0.3391977548599243, 0.8791600465774536, -0.09161883592605591, 0.49373000860214233, -0.02302788756787777, 0.39824968576431274, -0.1364241987466812, 0.17239437997341156, -0.501120388507843, 0.14699019491672516, -0.02407238818705082, -0.12239865958690643 ]
http://arxiv.org/abs/2403.15401v2
http://arxiv.org/pdf/2403.15401v2
Large Language Model for Mental Health: A Systematic Review
2024-02-19T17:58:41
2024-05-29T21:55:17
Zhijun Guo, Alvina Lai, Johan Hilge Thygesen, Joseph Farrington, Thomas Keen, Kezhi Li
cs.CY
cs.CY, cs.AI, cs.CL
Large language models (LLMs) have attracted significant attention for potential applications in digital health, while their application in mental health is subject to ongoing debate. This systematic review aims to evaluate the usage of LLMs in mental health, focusing on their strengths and limitations in early screening, digital interventions, and clinical applications. Adhering to PRISMA guidelines, we searched PubMed, IEEE Xplore, Scopus, and the JMIR using keywords: 'mental health OR mental illness OR mental disorder OR psychiatry' AND 'large language models'. We included articles published between January 1, 2017, and December 31, 2023, excluding non-English articles. 30 articles were evaluated, which included research on mental illness and suicidal ideation detection through text (n=12), usage of LLMs for mental health conversational agents (CAs) (n=5), and other applications and evaluations of LLMs in mental health (n=13). LLMs exhibit substantial effectiveness in detecting mental health issues and providing accessible, de-stigmatized eHealth services. However, the current risks associated with the clinical use might surpass their benefits. The study identifies several significant issues: the lack of multilingual datasets annotated by experts, concerns about the accuracy and reliability of the content generated, challenges in interpretability due to the 'black box' nature of LLMs, and persistent ethical dilemmas. These include the lack of a clear ethical framework, concerns about data privacy, and the potential for over-reliance on LLMs by both therapists and patients, which could compromise traditional medical practice. Despite these issues, the rapid development of LLMs underscores their potential as new clinical aids, emphasizing the need for continued research and development in this area.
[ -0.2539989650249481, -0.6880477666854858, 1.069656252861023, 0.3209000527858734, -0.23607470095157623, -0.11119381338357925, -0.42477327585220337, -0.6528950929641724, 0.3653387129306793, 0.5479629635810852, -0.47317439317703247, -0.6206046938896179, -0.9829192161560059, 0.3461001515388489, -0.5392553210258484, 0.7745958566665649, -0.1742546260356903, 0.5905301570892334, 0.21658651530742645, 0.07094097882509232, -0.36458390951156616, -0.614946186542511, -0.7209431529045105, -0.42623013257980347, 0.7704702615737915, 0.12530656158924103, 0.6737773418426514, -0.02877146005630493, 0.8090150356292725, 0.24700917303562164, -0.3746946156024933, 0.06813684105873108, -0.5242734551429749, 0.2053215652704239, -0.1251523643732071, -0.3197092115879059, -0.7338024973869324, -0.14964129030704498, 0.5068919062614441, 0.7338012456893921, -0.36637890338897705, 0.2667470872402191, -0.0677892193198204, 0.6268506050109863, -0.4366210401058197, -0.03654922917485237, -0.22131934762001038, 0.25567924976348877, -0.2771698236465454, 0.05971121788024902, -0.2040480375289917, -0.2849786579608917, 0.07117811590433121, -0.35108837485313416, -0.3188791573047638, -0.12167070806026459, 0.24168594181537628, 0.1343395859003067, -0.6086211204528809, -0.2915832996368408, -0.9590018391609192, 0.556976318359375, -0.9504237174987793, 0.41050267219543457, 0.33839619159698486, 0.26470446586608887, -0.3325407803058624, -0.47999390959739685, -0.5489082336425781, -0.15231163799762726, 0.053408216685056686, 0.06764519959688187, -0.32683995366096497, 0.28043925762176514, 0.5925650000572205, 0.4205780029296875, -0.6281830668449402, 0.24048180878162384, -0.5221560001373291, -0.1066867932677269, 0.7658967971801758, 0.5366386771202087, 0.4804235100746155, -0.07259654253721237, 0.09465163201093674, 0.2380966991186142, -0.7043532133102417, -0.18988166749477386, 0.13552024960517883, 0.02970465086400509, -0.1418306678533554, 1.0902103185653687, -0.04568156599998474, 0.4070156216621399, -0.19604159891605377, -0.7098124623298645, 0.12078789621591568, -0.21462030708789825, -0.20952977240085602, 0.044109147042036057, 0.8446965217590332, 0.6458949446678162, 0.14618366956710815, -0.059849176555871964, -0.18364232778549194, 0.02564937062561512, 0.3281921446323395, -0.8511188626289368, 0.11888217180967331, 0.6209209561347961, -0.5717273950576782, 0.2520395815372467, -0.20609702169895172, -0.43371573090553284, -0.595984935760498, -0.304149329662323, -0.03658648207783699, -0.3410082757472992, -0.34612470865249634, 0.5028313398361206, 0.03231498971581459, 0.06394673138856888, 0.3123933970928192, -0.5346710085868835, 0.2678617238998413, 0.8001096844673157, 0.9283362030982971, -0.24104061722755432, -0.12041687965393066, 0.15370555222034454, 0.0294229406863451, -0.5871400833129883, 0.6278740167617798, -0.24632054567337036, -0.48531585931777954, 0.32624635100364685, 0.2095378190279007, 0.013733448460698128, -0.535424530506134, 0.5660900473594666, -0.16816134750843048, 0.12551507353782654, -0.40857237577438354, -0.3568170368671417, 0.04479432851076126, 0.11045493185520172, -0.6170269846916199, 0.4721115529537201, -0.0833868682384491, -0.8804254531860352, 0.16955694556236267, -0.40837401151657104, -0.4259447753429413, 0.134174183011055, -0.12457071244716644, -0.2163810133934021, 0.24473051726818085, 0.10124864429235458, 0.4604349136352539, -0.585261881351471, 0.6006724834442139, -0.6700165867805481, -0.515842080116272, 0.4784635901451111, -0.2383207380771637, 0.8043056130409241, 0.3743366599082947, -0.1933351308107376, 0.19855712354183197, -0.4523622393608093, -0.1875692456960678, 0.2569243907928467, -0.09610826522111893, -0.4672210216522217, 0.10064830631017685, 0.30060258507728577, 0.37629464268684387, 0.12009374052286148, -0.5907123684883118, -0.05140005052089691, -0.3902546167373657, 0.48500189185142517, 0.4109652042388916, 0.2813084125518799, -0.004667498171329498, -0.5299029350280762, 0.5892855525016785, -0.19356827437877655, 0.5085833072662354, 0.0023534775245934725, -0.5846589803695679, -0.23946896195411682, -0.6147414445877075, -0.026653477922081947, 0.5293851494789124, -0.479417622089386, 0.6356932520866394, -0.16844050586223602, -0.5170924663543701, -0.49456119537353516, 0.01928955875337124, 0.08899018913507462, 0.020107321441173553, 0.037640079855918884, -0.3220996856689453, -0.28554922342300415, -1.0503380298614502, 0.008424799889326096, -0.14600148797035217, -0.11691063642501831, 0.31327536702156067, 0.6267775297164917, -0.9937919974327087, 0.5455403327941895, -0.2656736671924591, -0.413750022649765, -0.32143059372901917, -0.09522777050733566, 0.04837827384471893, -0.12040828168392181, 0.1973903924226761, -0.39035022258758545, -0.34196069836616516, -0.1443922221660614, -0.9516568779945374, -0.3406673073768616, 0.12643001973628998, 0.14005182683467865, -0.1331678181886673, 0.10242857784032822, -0.8217255473136902, 0.019103454425930977, 0.6750309467315674, -0.07625093311071396, 0.3680564761161804, -0.07500942796468735, 0.07106231153011322, -0.7936756014823914, 0.13442718982696533, 0.2943304777145386, -0.011971726082265377, -0.508757472038269, -0.07394107431173325, -0.08322539180517197, -0.2882396876811981, -0.2870407998561859, 0.39847490191459656, -0.3224162757396698, 0.24251863360404968, -0.4837937653064728, 0.3148375153541565, -0.23866111040115356, -0.10763347893953323, -0.1691390722990036, 0.5765897631645203, 0.31065833568573, -0.1970272958278656, 0.490354061126709, 0.10921045392751694, -0.45229196548461914, 0.8220287561416626, -0.5649406313896179, -0.0365900844335556, -0.14517129957675934, 0.5903924107551575, -0.7200355529785156, -0.2503306567668915, 0.2266942411661148, -0.1259613335132599, 0.2966615855693817, 0.483386754989624, -0.6691146492958069, -0.5665578842163086, -0.395587682723999, 0.3814801573753357, 0.16282649338245392, 0.0463220551609993, 0.010175449773669243, 0.9297930598258972, -0.6589944958686829, -0.2648875117301941, -0.5392425656318665, 0.4644930958747864, -0.33456122875213623, -0.5221337676048279, 0.18898586928844452, -0.054018933326005936, -0.6100520491600037, -0.19346334040164948, -0.03214292973279953, 0.03425297513604164, 0.16663114726543427, 0.10948573052883148, 0.17031778395175934, 0.025947637856006622, 0.37519556283950806, -0.07951658219099045, 0.0019044154323637486, 0.4073566198348999, 0.18839292228221893, 0.44646257162094116, 0.06460320949554443, -0.5569150447845459, -0.48497211933135986, 0.7976220846176147, 0.6044990420341492, 0.05910945683717728, 0.6158369183540344, 0.47523391246795654, -0.6077207922935486, -0.11001661419868469, -0.6878367066383362, -0.2739209234714508, -0.29149022698402405, 0.5382121205329895, 0.06008952856063843, -1.0419306755065918, 0.2851525843143463, -0.07385960966348648, -0.08285665512084961, 0.38967928290367126, 0.8325435519218445, -0.21447844803333282, 1.1665034294128418, 0.5320674777030945, -0.12841328978538513, 0.3443439304828644, -0.07347145676612854, 0.7596628665924072, -0.9644359946250916, -0.21405594050884247, -0.3100241720676422, -0.200967937707901, -0.6756478548049927, -0.3000793755054474, 0.48704659938812256, -0.17230309545993805, -0.38495972752571106, -0.26549673080444336, -0.3750215172767639, -0.16106058657169342, -0.1403515636920929, 0.3990553021430969, 0.5400165319442749, -0.1462009698152542, -0.05664397031068802, -0.49305692315101624, -0.4447174072265625, -0.7418898940086365, 1.322993278503418, 0.6900946497917175, 1.2085034847259521, 0.14780639111995697, 0.4929671883583069, 0.3705000877380371, 0.6199344396591187, -0.9601788520812988, 0.5086889863014221, -0.005494852550327778, -0.7820739150047302, -0.35936102271080017, -0.3619978725910187, -0.9411477446556091, 0.21510758996009827, -0.17946550250053406, -1.0270127058029175, -0.014656087383627892, -0.2816386818885803, -0.28952884674072266, 0.2166588008403778, -0.4059928357601166, 0.4281712770462036, -0.7158179879188538, -0.2355145812034607, -0.4115917384624481, -0.431884765625, 0.8456323742866516, -0.5829417109489441, 0.45407575368881226, -0.2917923331260681, -0.05399376153945923, 0.87928706407547, -0.2676296532154083, 0.7314260005950928, 0.2549079656600952, -0.5735673904418945, -0.03887735307216644, -0.2099464237689972, 0.21013996005058289, 0.3144049048423767, 0.12317916005849838, 0.32451435923576355, 0.36109912395477295, -0.06669876724481583, -0.4673772156238556, 0.732385516166687, -0.6321148872375488, -0.9868804216384888, -0.7421365976333618, -0.42821383476257324, -0.3751722276210785, 0.2793956995010376, 0.029641244560480118, 0.14707086980342865, -0.32726699113845825, 0.12889258563518524, 0.5386763215065002, -0.459537148475647, -0.22537322342395782, 0.629158616065979, -0.5820236802101135, -0.5753518342971802, 0.5038905739784241, 0.21602416038513184, 0.039727140218019485, -0.08841457217931747, 0.04966298118233681, -0.28686267137527466, -0.8088342547416687, 0.02400418370962143, 0.6873825192451477, -0.4361884891986847, 0.2315622866153717, -0.5391324758529663, -0.504870593547821, -0.41152703762054443, 0.10101587325334549, -0.3503096401691437, 0.12796235084533691, -0.002971757436171174, 0.01675787940621376, 0.20869237184524536, 1.0070728063583374, 0.18512435257434845, 0.24882178008556366, -0.6485215425491333, 0.3851858675479889, -0.025520900264382362, 0.5536024570465088, 0.07055584341287613, -0.21398277580738068, -0.2258485108613968, 0.03360265865921974, -0.31487786769866943, -1.0485531091690063, 0.3587659001350403, -0.25251373648643494, 0.6259860992431641, 0.5958963632583618, 0.12305738776922226, 0.6559533476829529, -0.4527773857116699, 0.6163907647132874, 0.4480302929878235, -0.570096492767334, 0.43886446952819824, -0.4217507839202881, 0.45250359177589417, 0.49768033623695374, 0.8426114320755005, -1.0741240978240967, -0.37143826484680176, -0.3318813145160675, -0.9952643513679504, 0.46032941341400146, 0.18608178198337555, 0.039026498794555664, -0.14217104017734528, 0.1887129843235016, -0.15230399370193481, 0.2348390370607376, -0.6143932342529297, -0.40929701924324036, 0.5105499625205994, -0.1577918529510498, -0.3274160921573639, -0.5484961271286011, -0.5096456408500671, -0.11087702214717865, 0.6065757870674133, 0.04183583706617355, 0.4598838686943054, 0.4374658465385437, -0.05091862380504608, -0.3746036887168884, 0.48597434163093567, 0.31293365359306335, 0.7251172661781311, -0.3626123070716858, 0.028234370052814484, 0.13453909754753113, -0.6637665629386902, 0.3956283926963806, 0.2622607350349426, -0.220105841755867, -0.017954625189304352, 0.2889745831489563, 0.37619978189468384, 0.3680364191532135, -1.0398547649383545, 0.4531061053276062, -0.07091441750526428, -0.1618030071258545, -0.4777635633945465, -0.26812079548835754, 0.19313117861747742, 0.5663776993751526, 0.05456126853823662, -0.47119778394699097, 0.26224201917648315, -0.5482704043388367, -0.11580867320299149, 0.6616517901420593, -0.21527840197086334, -0.23107868432998657, 0.08253432810306549, 0.04006289318203926, -0.5216513276100159, 0.4251706600189209, 0.027687886729836464, -0.153231680393219, 0.13169080018997192, 0.5429853796958923, 0.6595262885093689, -0.12811079621315002, 0.14911580085754395, 0.07462439686059952, 0.654489278793335, -0.39224326610565186, 0.37297651171684265, 0.4155050814151764, -0.48928895592689514, -0.2578986883163452, -0.34603551030158997, -0.6142380237579346, 0.6458758115768433, -0.35200729966163635, 0.26705655455589294, -0.4568387269973755, -0.8443450927734375, -0.16967284679412842, 0.06433817744255066, -0.5280463695526123, -0.10815192759037018, 0.6433364748954773, 0.8314411640167236, -0.6315475106239319, 0.5999335050582886, 0.7283810377120972, -0.07556112110614777, -0.3113552927970886, 0.07181791216135025, 0.4335404336452484, -0.254271000623703, 0.04090261831879616, 0.1922721266746521, -0.025362325832247734, -0.3963387906551361, -0.35625651478767395, -1.0252050161361694, 1.1050313711166382, 0.5558291673660278, -0.7469536662101746, -0.3530961871147156, 0.2659206688404083, 0.7122194766998291, -0.41756340861320496, 0.4079588055610657, 0.5077816247940063, 0.5568612813949585, -0.06229746714234352, -1.000808596611023, 0.02672402746975422, -0.23575419187545776, 0.25263911485671997, -0.058143775910139084, -0.6689958572387695, 0.5461243987083435, -0.14077845215797424, -0.5135493278503418, 0.05587983876466751, 0.10226356983184814, 0.5165059566497803, 0.24811114370822906, 0.15137912333011627, 0.5484192967414856, 0.773479700088501, 0.18452371656894684, 0.9924911856651306, -0.2748276889324188, 0.35843876004219055, 0.8644258975982666, -0.9049530029296875, 0.8479489088058472, 0.34873002767562866, -0.4329592287540436, 0.09118813276290894, 0.7157393097877502, 0.08152160793542862, 0.1726648509502411, 0.34830546379089355, -0.27604496479034424, -0.1769145280122757, -0.22069694101810455, -0.42096635699272156, 0.08020972460508347, 0.6819373965263367, -0.44467484951019287, -0.11348865926265717, 0.11856178194284439, 0.1486799269914627, 0.011005432344973087, -0.10130704194307327, 0.5643738508224487, 0.71201092004776, -0.2679949998855591, 0.4640049636363983, 0.26454460620880127, 0.5794153809547424, -0.7571587562561035, 0.19867557287216187, -0.007888048887252808, 0.09113945811986923, -0.2954781651496887, -0.6185097098350525, 0.4129578471183777, 0.2004314363002777, 0.053365789353847504, -0.18040309846401215, 0.722355842590332, -0.05869606137275696, -0.7283905744552612, 0.6913124918937683, 0.7163926959037781, 0.14464275538921356, -0.11943617463111877, -0.6967609524726868, 0.15267430245876312, -0.4616571366786957, -0.4733085036277771, 0.5160356760025024, 0.3219071328639984, -0.25462016463279724, 0.6817620992660522, 0.6312276721000671, 0.6385964155197144, -0.24988748133182526, 0.15565553307533264, 0.6637961864471436, -0.9364786744117737, -0.03235093876719475, -0.7834569811820984, 0.07756564766168594, 0.016902392730116844, -0.2836989462375641, 0.7861379384994507, 0.37490928173065186, 0.6117222905158997, 0.2217567265033722, 0.7192806005477905, 0.3197746276855469, 0.2894396483898163, -0.267436683177948, 0.830682635307312, -0.5870659947395325, 0.22548428177833557, -0.2373984456062317, -0.943979024887085, -0.4791586399078369, 0.5882604122161865, -0.6807273030281067, 0.04891706258058548, 0.968940794467926, 0.6681717038154602, 0.27460551261901855, 0.12465278059244156, 0.3998803198337555, 0.4938032329082489, 0.2901877164840698, 0.5532774329185486, 0.9310190677642822, -0.09657730162143707, -0.16975334286689758, -0.19771865010261536, -0.27373093366622925, -0.2252839356660843, -0.5709570646286011, -0.9167921543121338, -0.37145814299583435, -0.14506886899471283, -0.16427774727344513, 0.13422377407550812, 1.1183886528015137, 0.4759359061717987, -0.5542562007904053, -0.40425100922584534, 0.507568359375, 0.2556932270526886, -0.1316007524728775, -0.13866405189037323, -0.07121710479259491, 0.1041686087846756, -0.36102262139320374, 0.15490677952766418, 0.5930835008621216, -0.13960394263267517, -0.7186276912689209, 0.09744467586278915, -0.1749005913734436, -0.031158294528722763, 0.85307377576828, -0.004772776737809181, -1.037505865097046, 0.19506077468395233, -0.061256423592567444, -0.6263251900672913, -0.1812916100025177, 0.8928560018539429, -0.10247177630662918, 0.16412879526615143, 0.37008073925971985, 0.48930656909942627, 0.3757425546646118, -0.4589213728904724, 0.552635908126831, 0.4250083267688751, -0.12498152256011963, 0.3810078501701355, 0.7747116684913635, 0.2703896462917328, -0.3900696635246277, 0.18243210017681122, 0.16752217710018158, -0.3730727732181549, -0.7532655596733093, 0.07759572565555573, -0.9878516793251038, -0.18473246693611145, 1.3496893644332886, -0.017106546089053154, -0.2999464273452759, -0.32491907477378845, -0.49907824397087097, 0.02822299115359783, -0.35150426626205444, 1.0281118154525757, 0.7801927924156189, 0.0534946545958519, -0.10451483726501465, -0.9957167506217957, 0.14575186371803284, 0.051630567759275436, -0.737823486328125, 0.015495727770030499, 0.5203098654747009, 0.1709400862455368, -0.09781020879745483, 0.9061289429664612, -0.5401067733764648, 0.14107587933540344, -0.5217366218566895, 0.17457275092601776, 0.26649025082588196, -0.09499898552894592, -0.7240175008773804, -0.10842414945363998, 0.3146745264530182, 0.7810688614845276 ]
http://arxiv.org/abs/2402.12317v1
http://arxiv.org/pdf/2402.12317v1
ARKS: Active Retrieval in Knowledge Soup for Code Generation
2024-02-19T17:37:28
2024-02-19T17:37:28
Hongjin Su, Shuyang Jiang, Yuhang Lai, Haoyuan Wu, Boao Shi, Che Liu, Qian Liu, Tao Yu
cs.CL
cs.CL, cs.AI
Recently the retrieval-augmented generation (RAG) paradigm has raised much attention for its potential in incorporating external knowledge into large language models (LLMs) without further training. While widely explored in natural language applications, its utilization in code generation remains under-explored. In this paper, we introduce Active Retrieval in Knowledge Soup (ARKS), an advanced strategy for generalizing large language models for code. In contrast to relying on a single source, we construct a knowledge soup integrating web search, documentation, execution feedback, and evolved code snippets. We employ an active retrieval strategy that iteratively refines the query and updates the knowledge soup. To assess the performance of ARKS, we compile a new benchmark comprising realistic coding problems associated with frequently updated libraries and long-tail programming languages. Experimental results on ChatGPT and CodeLlama demonstrate a substantial improvement in the average execution accuracy of ARKS on LLMs. The analysis confirms the effectiveness of our proposed knowledge soup and active retrieval strategies, offering rich insights into the construction of effective retrieval-augmented code generation (RACG) pipelines. Our model, code, and data are available at https://arks-codegen.github.io.
[ -0.06872665882110596, -0.8135970830917358, 0.25897216796875, 0.15216967463493347, -0.2505270540714264, 0.2505590319633484, -0.5085144639015198, -0.43666887283325195, 0.11344832181930542, 0.570404589176178, 0.06933782249689102, -0.6625877022743225, -0.29289907217025757, 0.16451546549797058, -0.6222959160804749, 0.6247257590293884, -0.11396098136901855, -0.05016950145363808, -0.041779350489377975, -0.10950737446546555, -0.1735084503889084, -0.14008009433746338, -0.33097079396247864, 0.11213063448667526, 0.4413333833217621, 0.42435505986213684, 0.5543361306190491, 0.9138896465301514, 0.5722748041152954, 0.28403130173683167, -0.09096427261829376, 0.24218210577964783, -0.4219224154949188, 0.822486937046051, -0.093903087079525, -0.5361281037330627, -0.0759592056274414, -0.3270031213760376, 0.7317802906036377, 0.4486245810985565, -0.40857791900634766, 0.345001757144928, -0.17465569078922272, 0.6810569167137146, -0.9362848401069641, 0.1525942087173462, -0.8269426226615906, 0.1337474137544632, -0.216219961643219, -0.32639676332473755, -0.45780423283576965, -0.40865522623062134, -0.02828088216483593, -0.20691096782684326, 0.333269327878952, 0.370073527097702, 0.3730267882347107, 0.20892244577407837, -0.3268618583679199, -0.5656686425209045, -0.6357972621917725, 0.8325457572937012, -0.697953999042511, 0.4115311801433563, 0.3926679193973541, 0.30637165904045105, -0.2215265929698944, -1.072021484375, -0.5557215809822083, -0.3739302158355713, 0.23896902799606323, -0.10253582149744034, -0.3637539744377136, -0.17337669432163239, 0.33158475160598755, 0.8303306698799133, -0.26545941829681396, -0.24858620762825012, -0.3406623899936676, -0.11475560814142227, 0.4946700930595398, -0.07626938819885254, 0.46400895714759827, -0.1783134788274765, -0.44726666808128357, -0.05541997402906418, -1.0562880039215088, -0.08771611750125885, 0.31764936447143555, 0.47875726222991943, 0.1275152862071991, 0.8084136843681335, -0.09787318110466003, 0.9135638475418091, -0.3208475708961487, 0.2159961611032486, 0.23614706099033356, -0.18734054267406464, 0.1292966902256012, -0.06663767248392105, 0.7420099973678589, 0.0053606824949383736, -0.04056582227349281, -0.36285778880119324, -0.6927299499511719, -0.09738415479660034, 0.6122940182685852, -0.5820456147193909, -0.15822111070156097, 0.009918172843754292, -0.32378390431404114, -0.4775761365890503, -0.07630560547113419, -0.6098731160163879, -0.4826373755931854, 0.09307961910963058, 0.3266488015651703, -0.4196222722530365, -0.3737049400806427, -0.08502090722322464, -0.4261131286621094, 0.3100350499153137, 0.03662605583667755, -0.4300931692123413, 0.1732204407453537, 0.48222431540489197, 0.9019306302070618, -0.1893562525510788, -0.04263288900256157, -0.782123327255249, 0.34002718329429626, -0.5430870056152344, 0.858688235282898, -0.6698604226112366, -0.16674156486988068, 0.171781986951828, -0.3652436137199402, 0.18363730609416962, -0.694625735282898, 0.12252070754766464, -0.9003254175186157, -0.19318115711212158, -0.06520946323871613, -0.5155247449874878, -0.015796802937984467, 0.3422575294971466, -0.8418793082237244, 0.9722492098808289, 0.3383735716342926, -0.7112608551979065, 0.03390497714281082, -0.6059166193008423, -0.6573227643966675, 0.24896812438964844, -0.32550838589668274, -0.31759199500083923, 0.029376329854130745, -0.056538574397563934, 0.34979334473609924, -0.4674031734466553, -0.021116670221090317, -0.20504571497440338, -0.4811673164367676, 0.0325438417494297, -0.049507688730955124, 0.3026971220970154, 0.5581409335136414, -0.4015684127807617, -0.02316368743777275, -0.5030511617660522, 0.20603512227535248, 0.2508792579174042, -0.7830630540847778, -0.3173963725566864, 0.25441470742225647, -0.3257768750190735, -0.2607238292694092, 0.23536212742328644, -0.41433075070381165, 0.5411158204078674, -0.12333584576845169, 0.35905665159225464, 0.5031729340553284, 0.14279034733772278, 0.6269786357879639, -0.20803244411945343, 0.6192154884338379, -0.1998385339975357, -0.07280734181404114, -0.3935815989971161, -0.46888041496276855, -0.5643103122711182, -0.12593437731266022, 0.36646655201911926, 0.4095228910446167, -1.0186797380447388, 0.05377940461039543, -0.18952718377113342, -0.3690979480743408, -0.5872375965118408, 0.5297298431396484, 0.5916212797164917, 0.2580307424068451, 0.49459293484687805, -0.32039570808410645, -0.6081662178039551, -0.7012728452682495, -0.5186053514480591, -0.08261610567569733, -0.17002876102924347, 0.38549038767814636, 0.10737870633602142, -0.2820442318916321, 0.8412094712257385, -0.532850444316864, 0.032325372099876404, -0.5956822633743286, 0.16190674901008606, 0.1286052018404007, 0.397220253944397, 0.3747333884239197, -0.9232773184776306, -0.43795689940452576, -0.023031312972307205, -0.5528784990310669, 0.004513895139098167, 0.4148561656475067, 0.018979957327246666, 0.07919992506504059, 0.42860183119773865, -0.4344608187675476, 0.2180688977241516, 0.6104933619499207, -0.3003036081790924, 0.5530474185943604, 0.038681093603372574, 0.12995892763137817, -0.9283135533332825, 0.4027077853679657, -0.209251269698143, -0.2012772560119629, -0.39699310064315796, 0.7506860494613647, 0.2987273037433624, -0.2545168399810791, -0.32900285720825195, 0.6182878613471985, -0.9294933080673218, -0.28089579939842224, -0.10071874409914017, -0.017339099198579788, -0.14045682549476624, 0.32084712386131287, -0.06932190805673599, 1.0699524879455566, 0.6444334983825684, -0.729218602180481, 0.7470798492431641, -0.006467332132160664, -0.6873605847358704, -0.2637198567390442, -0.5090632438659668, 0.40815970301628113, 0.13248227536678314, 0.14212924242019653, -0.585850715637207, 0.006797292735427618, 0.10434361547231674, -0.3552917540073395, 0.5306868553161621, -0.6731958985328674, -0.5598633885383606, -0.3038873076438904, -0.21547260880470276, 0.4098077416419983, 0.7113572359085083, -0.3874320983886719, 0.5785322189331055, 0.5098119974136353, -0.12195513397455215, -0.7778576612472534, -0.44864994287490845, 0.13501977920532227, 0.09964321553707123, -0.42983150482177734, 0.08415351063013077, 0.09179912507534027, -0.48973315954208374, 0.13302594423294067, -0.4704561233520508, -0.023815279826521873, -0.07436887174844742, -0.2791674733161926, -0.05440297722816467, -0.46118733286857605, -0.08051741868257523, -0.1823902726173401, 0.051326069980859756, -0.10841570049524307, -0.21593689918518066, 0.6728323698043823, -0.1780383139848709, -0.4677574336528778, 0.21450486779212952, 0.21292425692081451, 0.4715089201927185, -0.6198939085006714, 0.5735107064247131, 0.37906068563461304, -0.10264487564563751, -0.6102178692817688, -0.7378307580947876, -0.11677022278308868, -0.4621070325374603, 0.28593844175338745, -0.15079359710216522, -0.5498371720314026, 0.6342215538024902, -0.28073060512542725, 0.2538256347179413, 0.18414722383022308, 0.24747605621814728, 0.0705622136592865, 1.039949655532837, 0.486202597618103, 0.011703137308359146, 0.5968912243843079, -0.6704302430152893, 0.10295385867357254, -0.9571954607963562, -0.20820346474647522, -0.658496618270874, -0.2270231992006302, -0.2713332176208496, -0.9338756799697876, 0.1377914845943451, 0.36428701877593994, -0.09684779495000839, 0.42917120456695557, -0.41144296526908875, 0.4919956922531128, 0.5980827212333679, 0.15195654332637787, 0.3527275025844574, -0.13693682849407196, -0.2554250955581665, 0.4594227075576782, -1.0066725015640259, -0.2539099454879761, 1.1494027376174927, 0.08699537813663483, 0.974129319190979, 0.3128683567047119, 0.6343731880187988, 0.5660427808761597, 0.27597522735595703, -0.7005476355552673, 0.5003713965415955, 0.05983734875917435, -0.4455043375492096, -0.29574525356292725, -0.9312519431114197, -1.042317509651184, 0.06398481130599976, -0.12415941804647446, -0.14173442125320435, -0.12306110560894012, 0.2582336962223053, -0.2293277233839035, 0.46843022108078003, -0.7986687421798706, 0.633003830909729, -0.2521926462650299, -0.47808101773262024, -0.3378990590572357, -0.43333661556243896, 0.1725405901670456, 0.19098599255084991, 0.29415372014045715, 0.18179520964622498, -0.14190860092639923, 0.5328623056411743, -0.21997074782848358, 0.46695655584335327, -0.22709278762340546, -0.20332199335098267, 0.601049542427063, 0.3550192713737488, 0.8811917901039124, 0.031118856742978096, -0.36209818720817566, -0.045072488486766815, -0.35184118151664734, -0.4903978705406189, -0.6496135592460632, 0.7979461550712585, -0.46410635113716125, -0.6114805340766907, -0.3122573792934418, -0.4664117693901062, -0.13194409012794495, 0.5458778738975525, -0.05519120767712593, 0.7223501205444336, 0.14082024991512299, 0.49867868423461914, 0.8809966444969177, -0.4139834940433502, 0.21347163617610931, 0.7146015763282776, -0.3123294711112976, -0.20751217007637024, 0.8312041759490967, -0.03971094638109207, 0.1776646226644516, 0.3125161826610565, 0.12753376364707947, -0.09377194195985794, -0.8453291058540344, -0.6138874292373657, 0.05239170789718628, -0.5198423266410828, -0.7966495156288147, -0.4474404752254486, -0.1775471717119217, -0.5441042184829712, 0.06596509367227554, -0.5467211008071899, -0.3174465596675873, 0.1436690241098404, 0.045729704201221466, 0.5264922976493835, 1.0509847402572632, 0.10000298917293549, -0.27464091777801514, -0.9961988925933838, 0.6500533223152161, 0.2476896047592163, 0.8137795925140381, 0.15546122193336487, -0.22856585681438446, -0.37544140219688416, 0.2713443636894226, -0.24817194044589996, -1.000980257987976, 0.2375527024269104, 0.15294183790683746, 0.780817985534668, 0.37783896923065186, 0.47715136408805847, 0.6101369857788086, -0.49451154470443726, 0.6543585658073425, 0.017615698277950287, -0.6784675121307373, 0.6589668989181519, -0.4134182333946228, 0.37767940759658813, 0.29422062635421753, 0.07903128862380981, -0.47514423727989197, -0.673731803894043, -0.4456023573875427, -1.3242193460464478, 0.6496478319168091, 0.32760006189346313, 0.2416161596775055, -0.4357629716396332, 0.43087491393089294, -0.13407334685325623, 0.2564217448234558, -0.3708781599998474, -0.2699131667613983, 0.03926119953393936, 0.020055314525961876, 0.3796074390411377, -0.2671217620372772, -0.1434633731842041, -0.02655426226556301, 0.642883837223053, -0.0628976970911026, 0.3889034688472748, -0.032195158302783966, -0.29431384801864624, -0.5069732666015625, 0.11917383223772049, 0.09481412917375565, 0.6633210778236389, -0.13125090301036835, 0.3007288873195648, 0.05103547126054764, -0.5185895562171936, -0.34920474886894226, -0.13661882281303406, -0.05378256365656853, -0.04721524193882942, 0.44987940788269043, 0.5204369425773621, 0.655523419380188, -0.9725818634033203, 0.6458970904350281, -0.06322964280843735, 0.31146201491355896, -0.3342013657093048, 0.4817262589931488, -0.036994144320487976, 0.31659767031669617, 0.9142598509788513, 0.12089890241622925, 0.07216965407133102, -0.8935633897781372, 0.42057737708091736, 0.4247269332408905, -0.1377582848072052, -0.05457549914717674, 0.2929058372974396, 0.3519476652145386, -0.4927786588668823, 0.9914916157722473, -0.2668916583061218, -0.5555018782615662, 0.5222549438476562, 0.7878919243812561, 0.6608943939208984, -0.23099109530448914, -0.15361084043979645, 0.30850234627723694, -0.05512753129005432, -0.3631422221660614, 0.3400716781616211, -0.47940897941589355, -0.6879411339759827, -0.4403650462627411, -0.765394389629364, -0.32991597056388855, -0.1080896407365799, -0.8281806111335754, 0.39975234866142273, -0.2329942286014557, 0.09552372246980667, -0.563943088054657, 0.09363410621881485, -0.5597183704376221, -0.23995472490787506, 0.0005816928460262716, 1.272156000137329, -0.4006422758102417, 0.6861059665679932, 0.9946562647819519, -0.4524803161621094, -0.7404410243034363, -0.030552813783288002, -0.41203129291534424, -0.9157400131225586, 0.1935831606388092, -0.15422095358371735, -0.019569097086787224, 0.2783152163028717, -0.7449876666069031, -1.031906247138977, 1.1792112588882446, 0.2715492248535156, -0.4454311728477478, -0.22670277953147888, -0.3250392973423004, 0.40120258927345276, -0.15018251538276672, 0.13667744398117065, 0.16073808073997498, 0.3846897780895233, 0.31532061100006104, -0.7724758982658386, -0.07159443944692612, -0.5950911045074463, -0.06034749001264572, 0.4338536858558655, -0.4336790442466736, 0.4299347996711731, -0.5580261945724487, -0.3004433214664459, 0.07840332388877869, 0.6167738437652588, 0.48578041791915894, 0.12806522846221924, 0.370138943195343, 0.5804517269134521, 0.48961973190307617, 0.10670778155326843, 1.1962591409683228, -0.6794303059577942, 0.2595662772655487, 0.7619240880012512, 0.009422382339835167, 1.0327231884002686, 0.4196777045726776, -0.10925176739692688, 0.5885084867477417, 0.07193528115749359, -0.02579360641539097, 0.5594664216041565, 0.29715704917907715, -0.23152993619441986, -0.18672171235084534, 0.2842877209186554, -0.5079023838043213, 0.30177241563796997, 0.3552314341068268, -0.4449794292449951, -0.22755815088748932, -0.19115059077739716, -0.03330758586525917, 0.06647265702486038, -0.2659285366535187, 0.9122211933135986, 0.06957506388425827, -0.7131696939468384, 0.5982608795166016, 0.013074214570224285, 0.5396060347557068, -0.8276113271713257, -0.4833967685699463, -0.2986884117126465, 0.11959271132946014, -0.0921073630452156, -0.8077316284179688, 0.1905413717031479, 0.3227357566356659, -0.059956684708595276, -0.3781033754348755, 0.5849420428276062, -0.4482736885547638, -0.18155936896800995, 0.1750020980834961, 0.41058823466300964, 0.05281674861907959, -0.08452403545379639, -0.585004985332489, 0.14162082970142365, 0.0009005321189761162, -0.5180736184120178, 0.3983977735042572, 0.6287612318992615, 0.16842859983444214, 0.9586974382400513, 0.7613246440887451, 0.430177241563797, 0.20084893703460693, -0.06783387809991837, 1.0302871465682983, -0.7023150324821472, -0.40303120017051697, -0.38865530490875244, 0.18487660586833954, 0.10232693701982498, 0.026098432019352913, 0.9199188947677612, 0.8954119682312012, 0.665371835231781, -0.01926717907190323, 0.8345925807952881, -0.4802291989326477, 0.5846020579338074, -0.443013995885849, 0.8357087969779968, -0.383537232875824, 0.740397036075592, -0.234122171998024, -1.1666134595870972, -0.21742798388004303, 0.7763701677322388, -0.1035013496875763, -0.026695510372519493, 0.49601396918296814, 0.732221245765686, -0.09348687529563904, -0.18514692783355713, -0.0077570048160851, 0.34388336539268494, 0.1370672732591629, 0.08342182636260986, 0.9027676582336426, -0.2987688481807709, 0.7605128884315491, -0.31255003809928894, -0.16349489986896515, -0.17179980874061584, -0.7775163054466248, -0.45699894428253174, -0.5820843577384949, -0.07351712137460709, -0.36809924244880676, 0.358083039522171, 0.8599956631660461, 0.40364211797714233, -0.6255748271942139, -0.18819813430309296, -0.11243262141942978, 0.35858914256095886, -0.3474076986312866, -0.1963292509317398, 0.19409061968326569, -0.7568651437759399, -0.5181049704551697, 0.6325604915618896, 0.00871299672871828, -0.19639268517494202, -0.24083375930786133, -0.14756466448307037, -0.1808481216430664, -0.17995186150074005, 0.43966662883758545, 0.4159461259841919, -0.31952914595603943, -0.06861694902181625, 0.2752871811389923, -0.028201546519994736, -0.12675221264362335, 1.1543970108032227, -0.9667025208473206, 0.4576144814491272, 0.5464375615119934, 0.4390133321285248, 0.37832239270210266, 0.11524119973182678, 0.8921800851821899, -0.8324074745178223, -0.055569734424352646, 0.6707668900489807, 0.32057711482048035, 0.32107117772102356, -0.17225366830825806, 0.5076351165771484, 0.03764212876558304, -0.43330591917037964, -1.1436432600021362, 0.24761873483657837, -0.5364161729812622, -0.3693571388721466, 1.705256700515747, -0.1842339038848877, -0.3330846428871155, -0.26862776279449463, 0.10934282094240189, 0.4193597137928009, -0.47487130761146545, 1.0228172540664673, 0.11720890551805496, 0.08114269375801086, -0.18456494808197021, -0.4054965674877167, 0.5776355862617493, -0.09105238318443298, -0.309395432472229, 0.3734029233455658, 0.5383877158164978, 0.35323646664619446, 0.1817893385887146, 0.42277804017066956, -0.2553998827934265, 0.38625770807266235, 0.04842321574687958, 0.400336891412735, -0.31157186627388, -0.3440440595149994, 0.06715349107980728, 0.24651357531547546, 0.30107051134109497, 0.09274791926145554 ]
http://arxiv.org/abs/2402.12309v1
http://arxiv.org/pdf/2402.12309v1
TILP: Differentiable Learning of Temporal Logical Rules on Knowledge Graphs
2024-02-19T17:30:44
2024-02-19T17:30:44
Siheng Xiong, Yuan Yang, Faramarz Fekri, James Clayton Kerce
cs.CL
cs.CL
Compared with static knowledge graphs, temporal knowledge graphs (tKG), which can capture the evolution and change of information over time, are more realistic and general. However, due to the complexity that the notion of time introduces to the learning of the rules, an accurate graph reasoning, e.g., predicting new links between entities, is still a difficult problem. In this paper, we propose TILP, a differentiable framework for temporal logical rules learning. By designing a constrained random walk mechanism and the introduction of temporal operators, we ensure the efficiency of our model. We present temporal features modeling in tKG, e.g., recurrence, temporal order, interval between pair of relations, and duration, and incorporate it into our learning process. We compare TILP with state-of-the-art methods on two benchmark datasets. We show that our proposed framework can improve upon the performance of baseline methods while providing interpretable results. In particular, we consider various scenarios in which training samples are limited, data is biased, and the time range between training and inference are different. In all these cases, TILP works much better than the state-of-the-art methods.
[ 0.13458694517612457, -0.6975087523460388, 0.7780689001083374, -0.02004057914018631, -0.38153284788131714, -0.009063418954610825, -0.04974190145730972, -0.605625569820404, -0.014333476312458515, 0.0907319039106369, -0.8499734997749329, -0.7478647828102112, -0.5363985300064087, -0.040299784392118454, -0.029360098764300346, 0.48606741428375244, -0.0835629552602768, -0.1500043123960495, 0.171129047870636, -0.27531537413597107, -0.4873960018157959, 0.10430261492729187, -0.7253767848014832, -0.7676671743392944, 0.5074241161346436, 0.1010613963007927, 0.4862547516822815, 0.9717928767204285, -0.06647171080112457, 0.23651880025863647, 0.0851973444223404, 0.2119368314743042, -0.1681382805109024, 0.03216313570737839, -0.38505178689956665, -0.49111253023147583, -0.41003888845443726, 0.19123391807079315, 0.4187534749507904, 0.9080222845077515, -0.3669600188732147, 0.12118974328041077, -0.36009687185287476, 0.6763250231742859, -0.35747459530830383, 0.8151125311851501, -0.29409876465797424, 0.7431551218032837, -0.22522543370723724, -0.6404790878295898, -0.4084153175354004, -0.8187137246131897, 0.19167736172676086, -0.9981133937835693, -0.024036763235926628, 0.18884800374507904, 0.8447064757347107, 0.34430572390556335, -0.5583780407905579, 0.04756404832005501, -0.5603804588317871, 0.6669737100601196, -0.6644339561462402, 0.9516052007675171, 0.11031163483858109, 0.8639402985572815, -0.10391046106815338, -1.0551053285598755, -0.4538142681121826, -0.21052998304367065, 0.08045343309640884, -0.18535596132278442, 0.02432553470134735, -0.22488166391849518, 0.5758751034736633, -0.07779081165790558, -0.23260077834129333, -0.013898423872888088, -0.11459778249263763, 0.10537324100732803, 0.3634824752807617, 0.18950633704662323, 0.11282185465097427, -0.2165771722793579, -0.42938995361328125, -0.04815003275871277, -0.5478522181510925, 0.05860363692045212, 0.17439787089824677, 0.34173935651779175, -0.2201562225818634, 0.49149227142333984, -0.47135427594184875, 0.6894509792327881, 0.1847798228263855, -0.5939510464668274, 0.40478262305259705, 0.17000648379325867, -0.2488776594400406, -0.14427921175956726, 0.19230124354362488, 0.44847649335861206, 0.5464203953742981, -0.5180204510688782, -0.07999037206172943, -0.005435888655483723, -0.17587098479270935, -0.6463427543640137, -0.21447445452213287, 0.06932023912668228, -0.6102559566497803, -0.38465583324432373, -0.35293179750442505, -0.4734678566455841, -0.13812366127967834, -0.7451853156089783, 0.0994286835193634, -0.92725670337677, -0.2611386775970459, 0.23700958490371704, -0.305441677570343, 0.12867221236228943, 0.6758956909179688, -0.4300682842731476, 0.3034164011478424, 0.6335015892982483, 0.6369040608406067, 0.15357938408851624, -0.3516666889190674, -0.7214202880859375, 0.3211783468723297, -0.43884068727493286, 0.5571079850196838, -0.9112955331802368, -0.06842555850744247, -0.16651001572608948, -0.36721688508987427, -0.29688912630081177, -0.21752341091632843, 0.2558785080909729, -0.9033888578414917, 0.4642794728279114, -0.38636043667793274, -0.7133914232254028, -0.3170873820781708, 0.2674790620803833, -0.36167535185813904, 0.606823742389679, 0.3563846945762634, -1.009271264076233, 1.0584996938705444, -0.5862794518470764, -0.505486011505127, 0.047578759491443634, -0.19637861847877502, -0.13443228602409363, -0.33563053607940674, 0.18045839667320251, 0.397938996553421, -0.16628512740135193, 0.29747986793518066, -0.789090096950531, 0.23826003074645996, 0.02725077047944069, -0.04387572780251503, 1.0312354564666748, 0.6223559975624084, 0.0026032987516373396, -0.10660654306411743, -0.929079532623291, 0.3102327287197113, 0.18330439925193787, -0.47632333636283875, -0.09863568842411041, 0.4863390028476715, -0.22968704998493195, 0.44468411803245544, -0.13684432208538055, -0.5581459403038025, 0.43205541372299194, 0.04628521203994751, 0.612741231918335, 0.7662085890769958, 0.3990750014781952, 0.22071947157382965, -0.62702876329422, 0.2724795639514923, 0.04993993416428566, 0.2188037782907486, 0.4678363800048828, -0.2424144744873047, -0.18473507463932037, -0.14393648505210876, 0.4266979396343231, 0.5839741826057434, -0.7828830480575562, 0.15477171540260315, -0.3715270459651947, -0.18118993937969208, 0.2864830493927002, -0.12625837326049805, 0.15400710701942444, 0.9288781881332397, 0.4223126471042633, -0.35151490569114685, -0.5181317329406738, -0.18813812732696533, -0.2361447662115097, -0.465906023979187, -0.25519120693206787, 0.44234147667884827, 0.053973980247974396, -0.280195027589798, 1.0134705305099487, -0.6217835545539856, -0.09321225434541702, -0.2373657524585724, 0.14983594417572021, 0.03847963735461235, 0.1890794336795807, 0.6240084171295166, -0.7722300291061401, -0.1717126965522766, -0.22298362851142883, -0.9054617285728455, -0.29982826113700867, -0.07067552953958511, 0.20055124163627625, 0.02514679916203022, 0.7122176885604858, -0.5962948799133301, 0.37781980633735657, -0.1729770302772522, -0.39548882842063904, 0.4298489987850189, -0.06355730444192886, 0.21408264338970184, -0.7838537096977234, -0.215347021818161, 0.11209268122911453, -0.5317915081977844, -0.3063186705112457, -0.13767531514167786, -0.12639421224594116, -0.19342060387134552, -0.4142691493034363, 0.4855058193206787, -0.03252081573009491, 0.04707903042435646, 0.2859399616718292, 0.15290167927742004, -0.2522183656692505, 0.7000774145126343, 0.26114243268966675, -0.12808796763420105, 0.3007186949253082, -0.8240066766738892, 0.2507206201553345, 0.19647251069545746, -0.3931035101413727, 0.5975566506385803, -0.38289472460746765, -0.07524919509887695, -0.05453215166926384, 0.23632782697677612, -0.3599153757095337, -0.2171814888715744, 0.3409906327724457, -0.3895413279533386, 0.6744375228881836, -0.6469252109527588, -0.5617815256118774, -0.15427754819393158, 0.0481964647769928, 0.10525194555521011, 0.575802743434906, -0.5249053835868835, 0.9103482961654663, 0.10788331925868988, 0.3537631332874298, -0.46861210465431213, -0.45631006360054016, -0.3047359883785248, -0.3514138460159302, -0.7248246073722839, 0.2307555228471756, 0.27782633900642395, -0.4849828779697418, 0.2414921075105667, -0.6868394613265991, -0.0166472177952528, 0.07854175567626953, 0.1683570295572281, -0.17869384586811066, -0.14338210225105286, 0.45709165930747986, -0.10220775753259659, -0.364871621131897, 0.015589246526360512, -0.9149761199951172, 0.44430139660835266, -0.036537136882543564, -0.41011375188827515, -0.40153759717941284, -0.15047897398471832, 0.238251194357872, -0.02556386962532997, 0.4567285478115082, 0.544125497341156, -0.44278380274772644, -0.586304247379303, -0.2527358829975128, 0.014544043689966202, -0.4625312387943268, 0.06027856096625328, -0.4621957838535309, -0.5241047143936157, 0.1928901970386505, -0.3809373378753662, 0.2186003476381302, 0.5008163452148438, 0.06191537156701088, -0.26852574944496155, 0.4606093168258667, 0.9148056507110596, 0.15824225544929504, 0.748649001121521, -0.05247535929083824, -0.15745306015014648, -0.2702672779560089, -0.5485466718673706, -0.19308124482631683, -0.22184021770954132, -0.7614369988441467, -0.34444814920425415, 0.19525806605815887, 0.44031989574432373, -0.6943215727806091, 0.2272675335407257, 0.029487958177924156, 0.25329944491386414, 0.34950777888298035, 0.43131861090660095, 0.3810998201370239, 0.012646002694964409, -0.6095014214515686, -0.04256721958518028, -1.0785448551177979, -0.23720350861549377, 0.9873993992805481, 0.29699352383613586, 0.849080502986908, 0.01877056248486042, 0.7632516622543335, 0.6877867579460144, 0.0333385169506073, -0.2225656360387802, 0.6094396710395813, 0.01043299213051796, -0.22090047597885132, -0.3028853237628937, -0.7504509091377258, -0.6229019165039062, -0.3044789731502533, -0.2242487370967865, -0.9834234714508057, 0.3804454207420349, 0.28645652532577515, 0.10150668770074844, 0.8183189034461975, -0.8281247615814209, 0.4500837028026581, -0.2089553028345108, -0.2782456576824188, -0.2623828947544098, -0.8139076828956604, 0.08917597681283951, 0.1826665997505188, -0.0338924340903759, -0.4228730797767639, 0.08609647303819656, 0.7029903531074524, -0.548623263835907, 0.9164906740188599, -0.4767290949821472, 0.4181266725063324, 0.23596814274787903, 0.40438538789749146, 0.4608278274536133, 0.30603688955307007, 0.12227825820446014, 0.02971058152616024, 0.16260133683681488, -0.4750845730304718, -0.5663507580757141, 0.2685054540634155, -0.7072702050209045, -0.47125303745269775, -0.368303507566452, -0.5550189018249512, -0.48556384444236755, 0.4032694101333618, -0.011639243923127651, 0.49783986806869507, 0.0981520339846611, -0.045315008610486984, 0.6834306120872498, -0.08542990684509277, 0.48362451791763306, 0.508246660232544, -0.27397966384887695, -0.05799850448966026, 0.6502307057380676, 0.19125154614448547, 0.3382297158241272, 1.0563478469848633, 0.38330045342445374, -0.400393009185791, -0.4120177626609802, 0.155072882771492, 0.18551144003868103, -0.9294888973236084, -0.0437040813267231, -0.6078510284423828, -0.11644987761974335, -0.41942712664604187, 0.018524961546063423, -0.12414879351854324, -1.1970231533050537, 0.004392311442643404, -0.19963769614696503, 0.6117343902587891, 0.4109373688697815, -0.47113069891929626, -0.2581728994846344, -0.39942169189453125, 0.5211346745491028, 0.5773084163665771, 0.6082298755645752, -0.03152962774038315, -0.16674929857254028, 0.3039367198944092, -0.21317315101623535, -0.18931584060192108, -0.7206628918647766, 0.04484044387936592, 0.19529561698436737, 0.6245620250701904, 0.7140862941741943, 0.22013124823570251, 0.5028359889984131, -0.6713926196098328, 0.13848534226417542, 0.043387271463871, -0.7045095562934875, 0.4215256869792938, -0.44021880626678467, 0.012693289667367935, 0.13681571185588837, 0.47369763255119324, -0.7944322228431702, 0.16559910774230957, -0.9051831364631653, -0.4070661664009094, 0.5617528557777405, 0.1754794716835022, -0.6815311312675476, 0.07310421764850616, 0.40424877405166626, 0.04958758503198624, 0.3594099283218384, -0.5338590145111084, -0.050419606268405914, -0.3822363018989563, 0.06862793117761612, 0.25929775834083557, 0.007073486223816872, -0.22017231583595276, 0.09461769461631775, 0.3718116879463196, -0.010880905203521252, 0.41423964500427246, 0.09492295980453491, -0.17823055386543274, -0.12823820114135742, 0.4748069643974304, -0.0013123350217938423, 1.075337529182434, -0.5990846753120422, -0.01807909831404686, 0.347105473279953, -0.12410558015108109, -0.07044696807861328, 0.30895620584487915, -0.11035498231649399, -0.23395413160324097, 0.7953927516937256, 0.33175209164619446, -0.01692306250333786, -0.28458502888679504, 0.10212855041027069, 0.21797800064086914, -0.15563681721687317, -0.08004482835531235, 0.3430292308330536, 0.0005061978008598089, 0.762567400932312, 0.13621914386749268, 0.18926620483398438, -0.3273073136806488, -0.4292158782482147, 0.42305782437324524, -0.2260962277650833, -0.37406235933303833, -0.1558280736207962, 0.7758193016052246, -0.030630966648459435, -0.5225508213043213, 0.7032122611999512, -0.4008958637714386, -0.4341301918029785, 0.4871104061603546, 0.24003931879997253, 0.7304038405418396, 0.16860494017601013, 0.23610632121562958, 0.15640266239643097, 0.3420490622520447, 0.18265090882778168, 0.355242520570755, -0.47575733065605164, -0.752457320690155, -0.37127819657325745, -0.44698333740234375, -0.28561800718307495, -0.12408701330423355, -0.407754510641098, 0.12037144601345062, -0.8068134188652039, -0.07410774379968643, 0.024142414331436157, 0.34930822253227234, -0.9685357809066772, 0.32326266169548035, -0.18745461106300354, 1.4100708961486816, -0.9269828796386719, 0.8949891328811646, 0.3342295289039612, -0.5054901242256165, -0.7904368042945862, -0.12546831369400024, 0.23958978056907654, -0.8155480027198792, 0.8433523774147034, -0.19340452551841736, -0.09447439759969711, -0.28138038516044617, -0.5472955107688904, -0.44077175855636597, 1.2893263101577759, 0.19926656782627106, -0.5588239431381226, -0.370348185300827, 0.007094866596162319, 0.4942742586135864, -0.4531812071800232, -0.1241694912314415, 0.40670058131217957, 0.36496037244796753, -0.012615103274583817, -0.44705337285995483, 0.16878339648246765, -0.09630703926086426, -0.16184376180171967, 0.20230638980865479, -0.6487910747528076, 0.6914168000221252, -0.552354633808136, -0.43368321657180786, -0.41012001037597656, 0.578303337097168, 0.37557268142700195, 0.6805486679077148, 0.6732382774353027, 0.8589215874671936, 0.9038594365119934, -0.14917930960655212, 1.110086441040039, -0.03547678142786026, 0.18187275528907776, 1.339874267578125, -0.2586142420768738, 0.38925862312316895, 0.29952511191368103, -0.3819505274295807, 0.6874063014984131, 0.8030734062194824, 0.08298303931951523, 0.7177452445030212, 0.08969695121049881, 0.03130076825618744, -0.6530051827430725, 0.18769791722297668, -0.4335591495037079, -0.21556389331817627, 0.2709544897079468, -0.06778820604085922, -0.6916172504425049, -0.2923637628555298, -0.0212288498878479, 0.040073212236166, -0.2071792185306549, 0.3800073266029358, 0.15530569851398468, -0.0663737878203392, 0.06198148801922798, 0.24552273750305176, -0.04373132809996605, -0.7703210115432739, -0.2669678330421448, -0.1744338572025299, 0.14872774481773376, -0.24919946491718292, -0.6459212899208069, -0.004359448328614235, -0.2785019874572754, -0.2304488569498062, -0.36020779609680176, 0.49786055088043213, 0.010496534407138824, -0.12283273786306381, 0.3431704342365265, 0.4706282615661621, -0.1404426395893097, 0.6397071480751038, -0.8050997853279114, -0.5397874116897583, 0.050279222428798676, -0.0843854770064354, 0.08792302757501602, 1.0742708444595337, -0.39583778381347656, 1.244167447090149, 0.5552235841751099, 0.07915814965963364, 0.25157636404037476, 0.06139638274908066, 0.8111846446990967, -0.6058605909347534, -0.5160535573959351, -0.30461961030960083, 0.11859387904405594, -0.01453383732587099, -0.2655799984931946, 0.5283616185188293, 0.1899779736995697, 1.1644586324691772, 0.25927457213401794, 0.44713249802589417, -0.5253311395645142, 0.7276946902275085, -1.0826432704925537, 0.36002594232559204, -0.3161223232746124, 0.760949969291687, -0.1383482664823532, -0.6606689095497131, -0.1136932298541069, 0.2783578634262085, -0.6328437924385071, 0.2746717631816864, 0.8343814611434937, 0.2874228358268738, -0.40266290307044983, 0.1228199377655983, -0.02435149997472763, 0.13723191618919373, 0.4993947446346283, 0.8198378682136536, 0.6450873613357544, -0.012760289013385773, 0.45110535621643066, -0.5123011469841003, -0.04603416472673416, 0.12770694494247437, -1.341591238975525, -0.8760756850242615, -0.5077990293502808, -0.4184820055961609, -0.39072689414024353, 0.287973016500473, 1.2215036153793335, 0.8167595863342285, -0.5357576012611389, 0.016497453674674034, -0.1728293001651764, 0.5807638168334961, -0.5488376617431641, -0.212860569357872, 0.5675830245018005, -0.4437216818332672, -0.12870676815509796, 0.25148239731788635, 0.054312609136104584, 0.027713775634765625, 0.4723200798034668, -0.19558613002300262, -0.3474752902984619, -0.23001283407211304, 0.3870069682598114, 0.6895670294761658, -0.21509936451911926, -0.6788296103477478, -0.2838408350944519, 0.3551030158996582, 0.12126628309488297, 1.0015623569488525, -0.7450044751167297, 0.556661069393158, 0.621139407157898, 0.3745347857475281, 1.0360316038131714, -0.28427019715309143, 0.4583527445793152, -0.8695567846298218, 0.10638447850942612, 0.22659194469451904, 0.48023486137390137, 0.036568500101566315, 0.024108152836561203, 0.7804561853408813, 0.7440818548202515, -0.2401684671640396, -0.407970130443573, 0.5150406360626221, -0.9950469136238098, -0.4254676401615143, 1.0105929374694824, -0.16889774799346924, -0.13941706717014313, -0.27270543575286865, 0.5834682583808899, 0.5142883062362671, -0.3638761639595032, 0.8682082891464233, 0.2718765139579773, -0.3739336133003235, 0.00851709395647049, -0.5225112438201904, 0.6017597913742065, -0.2934408187866211, -0.7139021754264832, -0.1983959972858429, 0.5372406244277954, 0.9035295844078064, -0.06380345672369003, 0.5241235494613647, -0.2422182261943817, 0.34227439761161804, 0.2809951901435852, -0.4807356595993042, -0.556320309638977, -0.6470084190368652, 0.2875383198261261, 0.26347023248672485, -0.018932297825813293, -0.07086274772882462 ]
http://arxiv.org/abs/2402.12298v1
http://arxiv.org/pdf/2402.12298v1
Is Open-Source There Yet? A Comparative Study on Commercial and Open-Source LLMs in Their Ability to Label Chest X-Ray Reports
2024-02-19T17:23:10
2024-02-19T17:23:10
Felix J. Dorfner, Liv Jürgensen, Leonhard Donle, Fares Al Mohamad, Tobias R. Bodenmann, Mason C. Cleveland, Felix Busch, Lisa C. Adams, James Sato, Thomas Schultz, Albert E. Kim, Jameson Merkow, Keno K. Bressem, Christopher P. Bridge
cs.CL
cs.CL, cs.AI
Introduction: With the rapid advances in large language models (LLMs), there have been numerous new open source as well as commercial models. While recent publications have explored GPT-4 in its application to extracting information of interest from radiology reports, there has not been a real-world comparison of GPT-4 to different leading open-source models. Materials and Methods: Two different and independent datasets were used. The first dataset consists of 540 chest x-ray reports that were created at the Massachusetts General Hospital between July 2019 and July 2021. The second dataset consists of 500 chest x-ray reports from the ImaGenome dataset. We then compared the commercial models GPT-3.5 Turbo and GPT-4 from OpenAI to the open-source models Mistral-7B, Mixtral-8x7B, Llama2-13B, Llama2-70B, QWEN1.5-72B and CheXbert and CheXpert-labeler in their ability to accurately label the presence of multiple findings in x-ray text reports using different prompting techniques. Results: On the ImaGenome dataset, the best performing open-source model was Llama2-70B with micro F1-scores of 0.972 and 0.970 for zero- and few-shot prompts, respectively. GPT-4 achieved micro F1-scores of 0.975 and 0.984, respectively. On the institutional dataset, the best performing open-source model was QWEN1.5-72B with micro F1-scores of 0.952 and 0.965 for zero- and few-shot prompting, respectively. GPT-4 achieved micro F1-scores of 0.975 and 0.973, respectively. Conclusion: In this paper, we show that while GPT-4 is superior to open-source models in zero-shot report labeling, the implementation of few-shot prompting can bring open-source models on par with GPT-4. This shows that open-source models could be a performant and privacy preserving alternative to GPT-4 for the task of radiology report classification.
[ -0.035947997123003006, -0.20735076069831848, 0.9663217067718506, -0.1527881920337677, -0.33409106731414795, -0.28327110409736633, -0.037882011383771896, -0.8357365727424622, -0.11180442571640015, 0.36327189207077026, -0.17156335711479187, -0.8400910496711731, -0.7719964981079102, 0.16729597747325897, -0.29526758193969727, 1.021690011024475, -0.21587924659252167, 0.20799730718135834, 0.019572971388697624, -0.2454095184803009, -0.23546889424324036, -0.4298490285873413, -0.5203951001167297, -0.309173583984375, 0.5256028175354004, 0.03196112811565399, 0.8695992827415466, 0.6947107315063477, 0.7930673360824585, 0.2361859381198883, -0.056356031447649, -0.41926151514053345, -0.2454097867012024, -0.21154361963272095, -0.1621621698141098, -0.44218310713768005, -0.5149811506271362, 0.36323094367980957, 0.5560411810874939, 0.08571472018957138, 0.160304993391037, 0.061020128428936005, -0.22215542197227478, 0.5560320019721985, -0.5057660937309265, 0.26545828580856323, -0.1005065068602562, 0.13232076168060303, -0.2629256844520569, -0.15034614503383636, -0.4331742525100708, -0.5875966548919678, 0.37823235988616943, -0.6137403845787048, 0.07548810541629791, -0.02421921119093895, 0.9844799041748047, 0.05237426981329918, -0.15192659199237823, -0.6795802712440491, -0.6051369905471802, 0.6771429181098938, -0.7850025296211243, 0.477839857339859, 0.2769128978252411, 0.4504169821739197, 0.5332072973251343, -1.0223374366760254, -0.002687718253582716, -0.42577508091926575, -0.09698188304901123, 0.3971922695636749, -0.792961835861206, -0.008126786909997463, 0.04430300369858742, 0.5709239840507507, -0.799542248249054, 0.3738167881965637, -0.600313127040863, -0.15202666819095612, 0.2680400609970093, 0.06844998151063919, 0.10513217747211456, -0.1404052972793579, -0.7776216864585876, 0.03633716702461243, -0.9475796222686768, -0.39954543113708496, -0.12597821652889252, 0.13477756083011627, -0.1620030552148819, 0.7037228941917419, -0.29212939739227295, 0.5901655554771423, -0.21847844123840332, -0.29083213210105896, 0.4474191665649414, -0.43078523874282837, -0.4740155339241028, 0.3877323567867279, 0.9028379321098328, 0.26653817296028137, -0.007800867781043053, -0.011108539998531342, -0.14646239578723907, 0.13284023106098175, -0.13888145983219147, -0.6792131066322327, -0.23957830667495728, 0.20992785692214966, -0.6922125816345215, -0.6388084292411804, 0.0691799446940422, -0.3480062782764435, -0.4149046242237091, -0.012538019567728043, 0.6630314588546753, -0.3159988224506378, -0.1295706331729889, -0.0036248313263058662, -0.025593629106879234, 0.1812765896320343, 0.42490267753601074, -0.26551496982574463, 0.17915181815624237, 0.48269835114479065, 1.3582854270935059, 0.06707537174224854, -0.010211644694209099, -0.556532621383667, 0.106781005859375, -0.3969684839248657, 1.0219095945358276, -0.45069795846939087, -0.475334495306015, -0.15580399334430695, -0.04784382879734039, 0.1023968756198883, -0.6756296753883362, 0.4708913564682007, -0.47768744826316833, 0.3036983907222748, -0.29300743341445923, -0.41647371649742126, -0.1029292643070221, 0.35354262590408325, -0.8345857858657837, 0.6305018663406372, 0.43467485904693604, -0.689529538154602, 0.28184831142425537, -0.4680740535259247, 0.16933411359786987, 0.15580037236213684, -0.4904973804950714, -0.5141028165817261, 0.019486073404550552, 0.22154642641544342, 0.2784609794616699, -0.5687346458435059, 0.02286304347217083, -0.08359219878911972, -0.1996999979019165, 0.432941198348999, -0.2924664616584778, 0.7727160453796387, 0.3288792669773102, -0.3755825459957123, 0.09386931359767914, -0.6161482334136963, 0.11921799927949905, 0.14465738832950592, -0.33517882227897644, -0.22148950397968292, -0.395240843296051, -0.45557117462158203, 0.4879050850868225, -0.20502550899982452, -0.9021717309951782, 0.01881524547934532, -0.11576665937900543, 0.13705284893512726, 0.6703906059265137, -0.027646774426102638, 0.0008566832984797657, -0.6085329651832581, 0.9487961530685425, 0.05363955348730087, 0.15066979825496674, -0.26702451705932617, -0.8337824940681458, -0.17832070589065552, -0.5838147401809692, 0.3758561909198761, 0.5682224631309509, -0.45439571142196655, -0.16299785673618317, -0.04704726114869118, -0.5693776607513428, -0.7961151003837585, -0.21740838885307312, 0.7046085000038147, 0.7613930106163025, 0.2877500057220459, -0.28352147340774536, -0.308682918548584, -0.9125901460647583, -0.21022841334342957, -0.11426270008087158, -0.1709960252046585, 0.36466872692108154, 0.10397180169820786, 0.04367397353053093, 0.6070797443389893, -0.8437244296073914, -0.6538498997688293, -0.01084639597684145, 0.22352950274944305, 0.2795214056968689, -0.021332992240786552, 0.5723273158073425, -0.21862980723381042, -0.6837818026542664, 0.18944963812828064, -1.080916404724121, -0.27420830726623535, 0.38941481709480286, 0.16350413858890533, 0.4247541129589081, 0.4872366487979889, -0.3911767899990082, 0.6292390823364258, 0.7447348237037659, -0.0693933442234993, 0.5027074217796326, -0.17875342071056366, 0.30867624282836914, -0.7382831573486328, 0.06656806170940399, 0.30209434032440186, -0.28711721301078796, -0.6880391240119934, -0.08733198046684265, 0.19823679327964783, -0.32429373264312744, -0.8760563731193542, 0.5951768755912781, -0.7202730774879456, -0.07799159735441208, -0.24011923372745514, 0.05954257398843765, -0.018206294625997543, 0.017926236614584923, 0.3153679072856903, 0.5175358057022095, 0.565017580986023, -0.22713077068328857, 0.1296711266040802, 0.2292456179857254, -0.6219931244850159, 0.3969920873641968, -0.8172813057899475, 0.17427557706832886, 0.015115036629140377, 0.361788809299469, -0.9269421696662903, -0.03148762881755829, 0.5286571979522705, -0.33456742763519287, 0.2209969460964203, -0.23218148946762085, -0.3963836133480072, -0.5267634391784668, -0.4803996682167053, 0.35655421018600464, 0.6915786266326904, -0.4834285080432892, 0.11114772409200668, -0.04811648651957512, -0.38674184679985046, -0.3246927261352539, -0.9063591957092285, -0.17662638425827026, 0.19132237136363983, -0.5976161956787109, 0.19091998040676117, -0.18669675290584564, -0.24367131292819977, 0.3790280818939209, -0.19697394967079163, -0.20929859578609467, -0.4477936029434204, 0.24202871322631836, 0.4239877760410309, -0.4610874354839325, -0.109774149954319, -0.3191072642803192, -0.4367693364620209, -0.03189973905682564, -0.35538235306739807, 0.03787216544151306, -0.3863498568534851, -0.38917016983032227, -0.5045338273048401, 0.2307586520910263, 0.20998713374137878, -0.11020459979772568, 0.47323134541511536, 0.5035781860351562, -0.24819202721118927, 0.286171555519104, -0.4441920518875122, 0.10439786314964294, -0.4206845760345459, 0.08981367200613022, -0.20247958600521088, -1.0494028329849243, 0.20049557089805603, 0.14015686511993408, -0.09789014607667923, 0.4130285084247589, 0.7733253240585327, 0.08010246604681015, 0.8071536421775818, 0.4071823060512543, 0.10072942823171616, 0.08042729645967484, -0.12830102443695068, 0.28940698504447937, -0.6456487774848938, -0.16451554000377655, -0.6605664491653442, -0.03934936970472336, -0.5983626246452332, -0.3981133997440338, 0.8068287968635559, -0.37903428077697754, 0.026832060888409615, -0.2710088789463043, -0.8105002045631409, 0.6413049697875977, 0.31496286392211914, 0.23506700992584229, 0.6974753141403198, 0.05494621396064758, 0.2891577184200287, -0.0005104078445583582, -0.6604120135307312, -0.4299749433994293, 1.2821316719055176, 0.38842135667800903, 0.731096625328064, 0.23298975825309753, 0.8469181060791016, 0.11781974881887436, 0.6498981714248657, -0.7431207895278931, 0.33114826679229736, -0.3388907313346863, -0.8519285917282104, -0.0836082473397255, -0.21629859507083893, -1.1342957019805908, 0.2679453194141388, 0.06905949115753174, -0.5980473160743713, 0.15218384563922882, 0.03664593771100044, -0.5064202547073364, 0.3917251527309418, -0.6421467065811157, 0.5457425713539124, -0.245781809091568, -0.21506065130233765, 0.3040378987789154, -0.5871337652206421, 0.7383547425270081, -0.33683228492736816, 0.4559992253780365, -0.3105961084365845, -0.2616631090641022, 0.631022036075592, -0.6315528154373169, 0.8792685270309448, -0.19391362369060516, -0.3753851354122162, 0.5541231632232666, -0.04537089914083481, 0.2853670120239258, -0.1395641267299652, -0.1074552983045578, 0.4469446837902069, 0.09932509064674377, -0.0979914739727974, -0.2692407965660095, 0.9976066946983337, -0.9672523736953735, -0.47613465785980225, -0.8892186284065247, -0.3394985795021057, 0.16317927837371826, 0.4443638324737549, 0.6435420513153076, 0.8626090884208679, -0.08776143193244934, 0.025607893243432045, 0.6412485241889954, -0.4425729811191559, 0.16308757662773132, 0.8290096521377563, -0.15199939906597137, -0.6973683834075928, 0.8056352734565735, 0.5721220374107361, 0.355671226978302, 0.40396299958229065, 0.691154956817627, -0.23114262521266937, -0.5392066240310669, -0.21988078951835632, 0.5628267526626587, -0.8724275827407837, -0.44429898262023926, -0.5151671767234802, -0.29697278141975403, -0.3862279951572418, -0.3095070421695709, -0.24538907408714294, -0.37163645029067993, -0.10781361162662506, -0.16785486042499542, 0.38691428303718567, 1.2062022686004639, -0.22110974788665771, 0.11622466146945953, -0.9450049996376038, 0.1890127807855606, 0.08488977700471878, 0.611499011516571, -0.14207415282726288, -0.39146512746810913, -0.2701374590396881, -0.34242701530456543, -0.2712828516960144, -1.0716561079025269, 0.31406447291374207, -0.20085614919662476, 0.5100979804992676, 0.18494075536727905, 0.04949161037802696, 0.18502898514270782, -0.2574564516544342, 0.9193034768104553, 0.30623942613601685, -0.8489676117897034, 0.6590725183486938, -0.5561748147010803, 0.6668961048126221, 0.24077345430850983, 0.8548769354820251, -0.2042999416589737, -0.3910832703113556, -0.6822647452354431, -0.7498805522918701, 1.0450375080108643, 0.2009383738040924, -0.5236246585845947, -0.15428587794303894, 0.1416558474302292, 0.3776805102825165, 0.14592254161834717, -0.8666921854019165, -0.023538270965218544, -0.20999133586883545, -0.07580098509788513, -0.10428486764431, -0.28851187229156494, -0.2591349184513092, -0.006681540980935097, 0.6202399134635925, 0.02373490110039711, 0.5915025472640991, 0.4631894528865814, -0.011733212508261204, -0.12301433831453323, 0.3730473220348358, 0.6204657554626465, 0.7548301815986633, -0.5010022521018982, 0.24635101854801178, -0.28880077600479126, -0.38362687826156616, 0.3775128424167633, 0.08552008867263794, -0.17203688621520996, 0.21937696635723114, 0.3671967089176178, 0.6682782173156738, 0.2265556901693344, -0.28582173585891724, 0.656740665435791, -0.0326351597905159, -0.8069228529930115, -0.20432503521442413, -0.19222567975521088, 0.07493310421705246, 0.30625542998313904, -0.0939289852976799, -0.1660412847995758, 0.08702881634235382, -0.42057889699935913, 0.0047136456705629826, 0.09841854125261307, -0.5874569416046143, -0.31771454215049744, 0.8455597162246704, -0.07582999020814896, 0.05509096011519432, 0.7125310301780701, 0.026579290628433228, 0.17208577692508698, 0.4448833167552948, 0.5838826894760132, 0.8785946369171143, -0.44447094202041626, 0.4294862151145935, 0.4641484022140503, 0.41884756088256836, -0.059486791491508484, 0.3160652816295624, 0.21693019568920135, -0.367342472076416, -0.26817435026168823, -0.08440391719341278, -0.6020427942276001, 0.3723753094673157, -0.7666614651679993, 0.2222064733505249, -0.6609176993370056, -0.1860182285308838, 0.16817474365234375, -0.23952245712280273, -0.6401940584182739, 0.2984190285205841, 0.2775983512401581, 0.9792280197143555, -0.7970864176750183, 0.8280715942382812, 0.6616343855857849, -0.6820843815803528, -0.8136772513389587, -0.31205353140830994, 0.5537226796150208, -0.8034960031509399, 0.5154897570610046, 0.2149103581905365, 0.02798299305140972, -0.0527321919798851, -0.4563896358013153, -1.0964006185531616, 1.4226924180984497, 0.21406571567058563, -0.447016179561615, 0.06275052577257156, 0.11285743862390518, 0.4112798273563385, -0.15309277176856995, 0.48742249608039856, 0.5100942850112915, 0.48874431848526, 0.19047261774539948, -0.9900689125061035, 0.26458993554115295, -0.08269958198070526, -0.2569308876991272, 0.2979285418987274, -0.7791138887405396, 0.8379737138748169, -0.17499031126499176, -0.16857124865055084, 0.2157779335975647, 0.283894807100296, 0.5018885135650635, 0.6826462745666504, 0.10044699907302856, 0.5825902819633484, 0.7200244665145874, -0.08823354542255402, 1.4312803745269775, 0.050530318170785904, 0.14525055885314941, 0.9722190499305725, -0.5187686681747437, 0.6882498264312744, -0.027098773047327995, -0.09435329586267471, 0.4561944901943207, 0.4286191463470459, -0.11362985521554947, 0.5244786143302917, -0.037614814937114716, -0.2994168996810913, 0.2679119408130646, 0.010405024513602257, -0.653709352016449, 0.17136074602603912, 0.1273820847272873, -0.5302197933197021, -0.3616570830345154, 0.023216689005494118, 0.3325589895248413, -0.46768155694007874, -0.2935975193977356, 0.8402643799781799, 0.23661278188228607, -0.4763861298561096, 0.7967343926429749, -0.11096140742301941, 0.4084390103816986, -0.9603139758110046, 0.2710931897163391, -0.137419193983078, 0.25837770104408264, -0.4806854724884033, -0.9160100817680359, 0.34839415550231934, 0.24530915915966034, -0.15957821905612946, -0.0525486133992672, 0.7578492164611816, -0.22577868402004242, -0.27331995964050293, 0.21328607201576233, 0.5003622770309448, 0.4454774260520935, 0.04299484193325043, -0.5391107797622681, 0.4479864537715912, 0.11033972352743149, -0.2816051244735718, 0.6442880034446716, 0.18897265195846558, -0.15834400057792664, 0.3624608814716339, 0.3312632739543915, 0.19516949355602264, 0.047791995108127594, 0.008214033208787441, 0.9230020046234131, -0.635463297367096, -0.3613198697566986, -0.5145217180252075, 0.3544585108757019, 0.26501673460006714, -0.1767655313014984, 0.7400922775268555, 0.568020224571228, 0.7769949436187744, -0.12657535076141357, 1.1060020923614502, 0.2132670283317566, 0.4826679825782776, -0.7137038707733154, 0.3307284414768219, -0.3314540684223175, 0.324795126914978, -0.3585756719112396, -0.7657503485679626, -0.5783397555351257, 0.30065393447875977, -0.43479958176612854, 0.07474808394908905, 1.0470850467681885, 0.8682247400283813, -0.1292532980442047, 0.1482527256011963, 0.34517747163772583, 0.3656681180000305, 0.48529016971588135, 0.4761275053024292, 0.8443071246147156, -0.21505135297775269, 0.8244043588638306, -0.3517104387283325, -0.7144292593002319, -0.04711879417300224, -0.891776978969574, -0.6110013723373413, -0.2322934865951538, -0.7373850345611572, -0.3965674042701721, 0.15957802534103394, 0.446990430355072, 0.5669164061546326, -0.4804936647415161, -0.025957150384783745, 0.4028068780899048, -0.29278048872947693, -0.22823433578014374, -0.14618852734565735, 0.490431547164917, -0.054522931575775146, -0.34679627418518066, 0.5274211764335632, 0.531347930431366, 0.14162114262580872, -0.04336683452129364, -0.08366061747074127, -0.08420930057764053, 0.12120094150304794, 0.6930261850357056, 0.405099093914032, -0.7591379880905151, 0.011533770710229874, -0.09293118119239807, -0.08976307511329651, 0.34120267629623413, 0.815369725227356, -0.8047292232513428, 0.686779797077179, 0.5206661224365234, 0.2541320323944092, 0.5921093821525574, -0.14914703369140625, 0.25294479727745056, -0.5852392315864563, -0.07897218316793442, 0.07449828833341599, 0.1870133876800537, 0.21693114936351776, -0.4224020838737488, 0.689470648765564, 0.10408965498209, -0.9030013680458069, -0.6528732776641846, 0.08159942179918289, -0.8980711698532104, -0.4848593473434448, 1.0572973489761353, -0.2482070028781891, -0.2623380720615387, -0.016905266791582108, -0.2389606088399887, 0.03473949059844017, -0.30312901735305786, 0.2757405638694763, 0.46347957849502563, -0.4792782664299011, -0.3755340278148651, -0.6911832690238953, 0.23637856543064117, 0.04799987003207207, -0.7274929285049438, -0.27201011776924133, 0.5734109878540039, 0.48016491532325745, 0.07229356467723846, 1.3104820251464844, -0.7093923687934875, 0.44083642959594727, -0.0011611536610871553, -0.01566639356315136, -0.48521631956100464, -0.146993488073349, -0.741631805896759, 0.2781064510345459, 0.34590864181518555, -0.3071768283843994 ]
http://arxiv.org/abs/2402.12291v1
http://arxiv.org/pdf/2402.12291v1
KARL: Knowledge-Aware Retrieval and Representations aid Retention and Learning in Students
2024-02-19T17:05:29
2024-02-19T17:05:29
Matthew Shu, Nishant Balepur, Shi Feng, Jordan Boyd-Graber
cs.CL
cs.CL
Flashcard schedulers are tools that rely on 1) student models to predict the flashcards a student knows; and 2) teaching policies to schedule cards based on these predictions. Existing student models, however, only use flashcard-level features, like the student's past responses, ignoring the semantic ties of flashcards. Deep Knowledge Tracing (DKT) models can capture semantic relations with language models, but are inefficient, lack content-rich datasets for evaluation, and require robust teaching policies. To address these issues, we design KARL, a DKT-inspired student model that uses retrieval and BERT embeddings for efficient and accurate student recall predictions. To test KARL, we collect a new dataset of diverse study history on trivia questions. KARL bests existing student models in AUC and calibration error. Finally, we propose a novel teaching policy that exploits the predictive power of DKT models to deploy KARL online. Based on 27 learners and 32 6-day study trajectories, KARL shows the ability to enhance medium-term educational learning, proving its efficacy for scheduling.
[ -0.07760576158761978, -0.6554772853851318, 0.7778289318084717, -0.14101055264472961, -0.044331349432468414, 0.32339704036712646, -0.00029861342045478523, -0.1754344403743744, 0.09416445344686508, 0.46722328662872314, -0.3644088804721832, -0.6682303547859192, -0.17022740840911865, -0.22542963922023773, -0.4950657784938812, 1.0627421140670776, 0.015563998371362686, 0.009851166978478432, -0.3935096263885498, 0.125572070479393, -0.6142696738243103, -0.23435881733894348, -0.43996092677116394, -0.524152934551239, 0.572053074836731, 0.41241952776908875, 0.6998911499977112, 0.7250514626502991, 0.1546075940132141, 0.07687903940677643, -0.08920962363481522, -0.15383613109588623, -0.5461605191230774, -0.015171217732131481, -0.15867403149604797, -0.5571601986885071, -0.43948209285736084, -0.2789030969142914, 0.8694193959236145, 0.9145429730415344, -0.43443599343299866, 0.0909232497215271, 0.020754221826791763, 0.4877961277961731, -0.542214035987854, 0.1739778071641922, -0.4088166356086731, 0.055709108710289, 0.11021143198013306, -0.08454140275716782, -0.5007743239402771, -0.9306894540786743, 0.7443104982376099, -0.8798482418060303, 0.24250510334968567, -0.16487368941307068, 0.3997866213321686, 0.04250694438815117, -0.5505457520484924, -0.26908618211746216, -0.8130179047584534, 0.7846038341522217, -0.5808685421943665, 0.5412482619285583, 0.4884955585002899, 0.6900649070739746, 0.16563940048217773, -0.6481313109397888, -0.5793970823287964, -0.07124870270490646, -0.17543892562389374, 0.12491247802972794, 0.19901128113269806, 0.01498828548938036, 0.23904046416282654, -0.045968540012836456, -0.5219320058822632, -0.03441651538014412, -0.5237376689910889, -0.17784294486045837, 0.4358091950416565, 0.4917968511581421, -0.026276063174009323, 0.053300801664590836, -0.6372530460357666, -0.1540864259004593, -0.7865275144577026, -0.15701405704021454, 0.43053963780403137, 0.2018367350101471, 0.23431408405303955, 0.2441708743572235, 0.011808236129581928, 0.8416405320167542, -0.22822289168834686, -0.2213660627603531, -0.23112176358699799, -0.1835334300994873, 0.07858719676733017, 0.29623231291770935, -0.09988970309495926, 0.06381262093782425, 0.2537516951560974, -0.2589848041534424, -0.07998189330101013, -0.10640190541744232, 0.3020603060722351, -0.7185290455818176, -0.7184054255485535, -0.07087192684412003, -0.22004836797714233, -0.051052458584308624, -0.03203226625919342, -0.8865112662315369, -0.34276390075683594, -0.48511749505996704, 0.9412476420402527, -0.6878020763397217, -0.2560727596282959, 0.19152960181236267, -0.19471591711044312, 0.15976226329803467, 0.604518711566925, -0.760657787322998, 0.20014530420303345, 0.6314193606376648, 0.3378383219242096, -0.09465067088603973, -0.2650042176246643, -0.19332586228847504, 0.4864250123500824, -0.3443438708782196, 0.48745548725128174, -0.7853050231933594, -0.32710832357406616, 0.4725842773914337, -0.29526811838150024, -0.04863329604268074, -0.31042301654815674, -0.0105142742395401, -0.7357662916183472, 0.2554592490196228, -0.5530248880386353, -1.173357367515564, -0.4705088436603546, 0.11185217648744583, -0.6889591217041016, 0.9416657090187073, 0.20199783146381378, -0.30705806612968445, 0.47547540068626404, -0.27951735258102417, -0.44389253854751587, 0.35956791043281555, -0.15499715507030487, -0.22410684823989868, -0.21001392602920532, -0.14085331559181213, 0.6682588458061218, 0.07287633419036865, 0.6621219515800476, -0.3176664113998413, -0.6246647834777832, -0.021482426673173904, -0.06531678885221481, 0.7377324104309082, 0.08593427389860153, -0.19811664521694183, -0.11540365219116211, -0.8455671668052673, -0.06497755646705627, 0.05155123770236969, -0.6704007983207703, -0.7069292068481445, 0.10504820942878723, 0.01846698857843876, -0.07018059492111206, 0.10681718587875366, -0.5422004461288452, 0.3760069012641907, 0.04731638357043266, 0.07903879880905151, 0.911600649356842, -0.005877434276044369, 0.5209034085273743, -0.4587104022502899, 0.5550912022590637, -0.13100802898406982, 0.01826946809887886, -0.35286998748779297, -0.22218725085258484, -0.7723122239112854, 0.10462114214897156, 0.08562559634447098, 0.3355233371257782, -0.6829971075057983, 0.04796735197305679, -0.3139364421367645, -0.5441157221794128, -0.46802905201911926, 0.2674201428890228, 0.492368221282959, 0.5292463898658752, 0.4536451995372772, -0.019256478175520897, -0.235818549990654, -0.6048705577850342, -0.12709780037403107, 0.11117076128721237, 0.17363014817237854, 0.42168721556663513, 0.5084826350212097, 0.027316126972436905, 1.083327054977417, -0.682216227054596, -0.26233798265457153, -0.5431069135665894, 0.024444112554192543, 0.022065626457333565, 0.5353267192840576, 0.6376601457595825, -0.5869229435920715, -0.6893670558929443, -0.3634756803512573, -0.5901304483413696, 0.37467527389526367, -0.24117527902126312, -0.0169066209346056, 0.4529288113117218, 0.19947387278079987, -0.13388869166374207, 0.5349075794219971, -0.17925463616847992, -0.7532075643539429, 0.3244963586330414, -0.22323845326900482, -0.22297847270965576, -0.7314395904541016, 0.015989016741514206, -0.38873904943466187, -0.16189445555210114, -0.48197007179260254, -0.5018953084945679, 0.2005458027124405, -0.2558022141456604, -0.41944873332977295, 0.7106931209564209, -0.16388195753097534, -0.1863238364458084, -0.0070107607170939445, 0.06695140898227692, 0.1809055507183075, 0.36648890376091003, 0.032330408692359924, 0.5462266206741333, 0.5019114017486572, -0.9411638975143433, 0.04541415721178055, 0.3474719822406769, -0.48515287041664124, 0.8836699724197388, -0.4450390934944153, 0.08583123236894608, -0.27380090951919556, 0.2704203724861145, -0.9224740266799927, 0.02775183878839016, -0.23631209135055542, -0.1657041311264038, 0.5845531821250916, -0.1766899824142456, -0.4766407608985901, -0.2791542410850525, -0.059895627200603485, 0.3578989505767822, 0.7850115895271301, -0.9722914695739746, 0.8126960396766663, 0.24234500527381897, 0.1624041497707367, -0.6287533044815063, -0.12190733850002289, -0.4729393720626831, -0.2679547369480133, -0.27316391468048096, 0.22702611982822418, -0.12896335124969482, -0.05597173050045967, 0.3683578073978424, -0.28037187457084656, -0.20507249236106873, 0.18916310369968414, -0.06333905458450317, 0.48982471227645874, -0.07714074850082397, 0.6442379951477051, 0.01316931564360857, -0.02517322637140751, 0.10734158009290695, -0.6098005771636963, 0.45167076587677, 0.11231686919927597, -0.15161825716495514, -0.4441658556461334, 0.29293709993362427, 0.27960315346717834, 0.12946230173110962, 0.4433780014514923, 0.8356179594993591, -0.32420283555984497, -0.6171627044677734, -0.8329552412033081, -0.6475682258605957, -0.452984482049942, 0.27983132004737854, -0.02604166604578495, -0.92609041929245, 0.4831676483154297, 0.05757387354969978, 0.20194780826568604, 0.25090813636779785, -0.08602555096149445, -0.43423038721084595, 0.6171739101409912, 0.8823667764663696, 0.2211305797100067, 0.45832133293151855, -0.4684503376483917, -0.03012484312057495, -0.563029408454895, -0.5169624090194702, -0.04498816281557083, -0.3259638845920563, -0.13554759323596954, 0.025606559589505196, 0.188393697142601, -0.08858375996351242, -0.5078731775283813, 0.31912922859191895, -0.4080713987350464, 0.5544582009315491, 0.8807919025421143, 0.11662063747644424, 0.027088817209005356, -0.1698458194732666, -0.169931098818779, -0.048593923449516296, -0.982585608959198, -0.40426555275917053, 1.431755542755127, 0.11302518099546432, 0.8746363520622253, 0.02164464071393013, 0.9159591197967529, 0.3096575438976288, 0.060173701494932175, -0.3011592626571655, 0.7353381514549255, 0.06961724162101746, -1.0438944101333618, -0.36660853028297424, -0.3244791328907013, -0.8033924698829651, -0.10546702891588211, -0.22161619365215302, -0.7030522227287292, 0.10878488421440125, 0.35938549041748047, -0.7877401113510132, 0.5563714504241943, -0.5581299662590027, 0.8317760825157166, -0.29010218381881714, -0.7324210405349731, -0.6075912117958069, -0.6995935440063477, 0.0743272602558136, -0.05722625181078911, -0.18563425540924072, -0.2505478858947754, 0.2948329448699951, 1.144120216369629, -0.18575812876224518, 1.2013545036315918, -0.39658623933792114, 0.16186563670635223, 0.674357533454895, 0.459423303604126, 0.39739713072776794, -0.019519856199622154, 0.14013518393039703, -0.31820499897003174, 0.42649003863334656, -0.43530741333961487, -0.7212366461753845, 0.6775298118591309, -0.4785228371620178, -0.5576809048652649, -0.5064008831977844, -0.629178524017334, -0.019252749159932137, 0.14885751903057098, -0.2870385944843292, 0.5391367673873901, -0.07087067514657974, 0.13713078200817108, 1.0143241882324219, -0.2789369225502014, 0.6558476686477661, 0.8281466960906982, -0.2854228615760803, -0.16410700976848602, 1.3424476385116577, 0.4996047019958496, 0.27550143003463745, 0.4277729094028473, 0.357418954372406, -0.36625075340270996, -0.1284303516149521, -0.1353525072336197, 0.2456739842891693, -1.067469835281372, -0.17019236087799072, -0.5233033895492554, 0.08018403500318527, -0.5228714346885681, -0.5968812108039856, -0.3445042371749878, -0.6296082139015198, -0.4170287847518921, -0.30728235840797424, 0.5067702531814575, 1.075174331665039, -0.10008182376623154, 0.39106637239456177, -0.43172818422317505, -0.2301134169101715, 0.7237512469291687, 0.5467342734336853, 0.423799604177475, -0.35976943373680115, -0.1181369423866272, -0.3664747476577759, -0.38075149059295654, -0.7008479237556458, 0.3105449676513672, 0.20224256813526154, 0.6445756554603577, 0.41976025700569153, 0.21535144746303558, 0.47466471791267395, -0.1984153836965561, 0.5132591724395752, -0.11770819127559662, -0.7293246984481812, 0.7307600378990173, -0.4773792326450348, 0.13822463154792786, 0.5276821255683899, 0.5483410358428955, -0.3238580822944641, -0.025628404691815376, -0.878284752368927, -0.8445764780044556, 0.6694897413253784, -0.3508659303188324, 0.23886501789093018, 0.08954136073589325, 0.48309820890426636, 0.5126103162765503, 0.34003928303718567, -0.35068389773368835, -0.22152718901634216, -0.29407021403312683, -0.28287550806999207, -0.1200343668460846, -0.7586908936500549, 0.008561206981539726, -0.4662684202194214, 0.5725078582763672, 0.023109430447220802, 0.23114129900932312, 0.12744249403476715, 0.016134943813085556, 0.2934938669204712, 0.2660748362541199, 0.5416846871376038, 1.0138764381408691, -0.5517215728759766, 0.19114947319030762, 0.1892952024936676, -0.5619619488716125, -0.08029361069202423, 0.022739021107554436, -0.46567267179489136, 0.17529311776161194, 0.243351012468338, 0.3917173147201538, 0.7635261416435242, -0.5823957324028015, 0.3216801583766937, 0.3590097427368164, 0.007403079885989428, -0.8527417778968811, 0.22527508437633514, -0.009912828914821148, 0.29214781522750854, 0.4388381242752075, -0.4659593105316162, -0.0017023407854139805, -0.4771558344364166, 0.5491241216659546, 0.14571444690227509, -0.5088849663734436, -0.38289013504981995, 0.7308842539787292, 0.1699669510126114, -0.24705612659454346, 0.8222730159759521, -0.10891061276197433, -0.6406751871109009, 0.6661748290061951, 0.8213594555854797, 0.48903000354766846, -0.35654446482658386, 0.4827330708503723, 0.6832868456840515, 0.02010386250913143, -0.22090275585651398, 0.5682371258735657, -0.30637243390083313, -0.3077324628829956, 0.059623729437589645, -0.5311391949653625, -0.4520616829395294, -0.3851637840270996, -0.7854852676391602, 0.10706177353858948, -0.48667657375335693, -0.07647831737995148, -0.2533523440361023, 0.22867707908153534, -0.9831246137619019, -0.004649320617318153, -0.0014997739344835281, 0.8276587724685669, -0.8255158066749573, 1.1134566068649292, 0.48491254448890686, -0.3245009779930115, -0.8122853636741638, -0.4444672167301178, 0.006682687439024448, -0.7989214658737183, 0.7072815895080566, 0.13131682574748993, 0.44471925497055054, 0.3576219975948334, -0.3991679549217224, -0.9708791971206665, 1.5485163927078247, 0.21908646821975708, -0.4091622233390808, -0.10420800000429153, -0.08698483556509018, 0.28859490156173706, -0.3979841470718384, 0.10627596825361252, 0.5627522468566895, 0.37952691316604614, 0.37710803747177124, -0.6030229330062866, 0.0006754288915544748, 0.3550626337528229, -0.27534720301628113, 0.13110151886940002, -0.3125833570957184, 0.8195698857307434, -0.63688725233078, -0.2359386682510376, -0.42188405990600586, 0.5318730473518372, -0.018015336245298386, 0.7036268711090088, 0.1164245530962944, 0.7174156308174133, 0.9918006658554077, -0.14952664077281952, 1.0961114168167114, 0.0025629031006246805, 0.25689780712127686, 1.2870032787322998, -0.12841594219207764, 0.732020914554596, 0.4043242335319519, -0.03651425987482071, 0.5474949479103088, 0.33975890278816223, -0.2747504711151123, 0.8141521215438843, 0.1502818763256073, -0.212254136800766, -0.5728670954704285, -0.21944551169872284, -0.37275832891464233, 0.25058218836784363, 0.32869794964790344, -0.27214542031288147, -0.42406022548675537, 0.12371207773685455, 0.28644880652427673, 0.1728990375995636, -0.474720299243927, 0.5981596112251282, -0.1153845563530922, -0.7740281224250793, 0.2818819284439087, -0.6978246569633484, 0.29783761501312256, -0.5665594935417175, -0.32015010714530945, -0.2847796082496643, 0.5856116414070129, 0.05673416331410408, -0.7906537055969238, 0.02366335317492485, -0.64094477891922, 0.14919379353523254, -0.3046129047870636, 0.4947441518306732, -0.782784104347229, -0.5317789912223816, 0.29452621936798096, 0.3378503620624542, 0.026733148843050003, 0.5078447461128235, -0.3230709731578827, -0.07180190086364746, -0.07548688352108002, 0.02730627730488777, 0.3068041503429413, 0.06850779801607132, 0.17775149643421173, 0.9458841681480408, 0.31984177231788635, -0.19591957330703735, 0.2747364342212677, -0.12954922020435333, 0.6276735067367554, -0.6081312298774719, -0.3679240047931671, -0.7161242365837097, 0.41477084159851074, 0.07723803073167801, -0.28580960631370544, 0.8473107218742371, 0.6548401713371277, 1.0230849981307983, -0.08852599561214447, 0.6436042189598083, 0.2714919447898865, 0.5814018845558167, -0.3250036835670471, 0.9267147183418274, -0.3748414218425751, 0.2626054584980011, -0.20499946177005768, -0.7264849543571472, -0.039675384759902954, 0.7052948474884033, -0.23358510434627533, -0.0995224341750145, 0.5462658405303955, 0.17229898273944855, 0.13998855650424957, 0.14388248324394226, 0.2250644862651825, -0.15511159598827362, 0.360675185918808, 0.8287469148635864, 0.6397563219070435, -0.154697984457016, 0.5727130174636841, -0.6171376705169678, 0.007817881181836128, -0.3303077518939972, -0.62965989112854, -1.2575958967208862, -0.8363790512084961, -0.4486045241355896, -0.21644900739192963, 0.30133095383644104, 0.6685259342193604, 0.4755874574184418, -0.5650343298912048, -0.22474882006645203, 0.19155378639698029, 0.5720348954200745, -0.2610006034374237, -0.24280275404453278, 0.8269649147987366, -0.3735843598842621, -0.2926531732082367, 0.16231897473335266, -0.20023471117019653, 0.5083796381950378, -0.1976928561925888, 0.034150414168834686, -0.2184259444475174, -0.07093966007232666, 0.506860613822937, 0.2705346643924713, -0.5848677158355713, -0.5022790431976318, 0.3679831326007843, 0.023401882499456406, -0.3512561619281769, 0.7803801894187927, -1.0794531106948853, 0.7596628665924072, 0.41696426272392273, 0.6352453827857971, 0.5715675950050354, -0.14227820932865143, 0.5814542770385742, -0.3664838969707489, -0.25289034843444824, 0.6612173914909363, 0.13575959205627441, 0.1278788149356842, -0.29900842905044556, 0.5165759325027466, 0.27961552143096924, -0.47946470975875854, -0.942609429359436, 0.11641601473093033, -0.865895688533783, -0.22468918561935425, 1.0285818576812744, -0.20916831493377686, -0.05018831416964531, -0.4086046516895294, 0.2892070710659027, 0.05454877018928528, -0.3706275224685669, 1.089468002319336, 0.6581708192825317, -0.01104005053639412, 0.1215692013502121, -0.9172912240028381, 0.6401588320732117, 0.32995671033859253, -0.212424173951149, 0.16076286137104034, 0.3838202953338623, 0.47297099232673645, 0.1384040117263794, 0.6318623423576355, 0.20653711259365082, 0.2825886607170105, -0.05738373473286629, -0.09271465241909027, -0.30289262533187866, -0.8455798029899597, 0.031137924641370773, 0.2292003482580185, -0.3763592541217804, -0.13368956744670868 ]
http://arxiv.org/abs/2402.12282v1
http://arxiv.org/pdf/2402.12282v1
Ontology Enhanced Claim Detection
2024-02-19T16:50:58
2024-02-19T16:50:58
Zehra Melce Hüsünbeyi, Tatjana Scheffler
cs.CL
cs.CL
We propose an ontology enhanced model for sentence based claim detection. We fused ontology embeddings from a knowledge base with BERT sentence embeddings to perform claim detection for the ClaimBuster and the NewsClaims datasets. Our ontology enhanced approach showed the best results with these small-sized unbalanced datasets, compared to other statistical and neural machine learning models. The experiments demonstrate that adding domain specific features (either trained word embeddings or knowledge graph metadata) can improve traditional ML methods. In addition, adding domain knowledge in the form of ontology embeddings helps avoid the bias encountered in neural network based models, for example the pure BERT model bias towards larger classes in our small corpus.
[ -0.09072160720825195, -0.5721555352210999, 0.5178916454315186, 0.061261098831892014, 0.26531341671943665, -0.08269943296909332, -0.009695508517324924, -0.5991982817649841, 0.45902860164642334, 0.9493168592453003, -0.3520287573337555, -0.2537040114402771, -0.6883576512336731, -0.06290961802005768, -0.3410407304763794, 1.0242984294891357, 0.2760053277015686, 0.1043897345662117, -0.38062119483947754, 0.057597313076257706, -0.4499969482421875, -0.3722403347492218, -0.2219984084367752, -0.5561078786849976, 0.2285756766796112, 0.341417133808136, 0.7856729626655579, 0.18282610177993774, 0.5610539317131042, 0.21528127789497375, 0.010228455998003483, 0.26156187057495117, -0.01784955896437168, -0.007188199553638697, -0.18298448622226715, -0.8080732822418213, -0.613048255443573, -0.1385626196861267, 0.5351312160491943, 0.6126464009284973, -0.21282249689102173, 0.11970788240432739, -0.04103570803999901, 0.3238665461540222, -0.6886605024337769, 0.17577704787254333, -0.9210187792778015, 0.32550162076950073, -0.09178207069635391, -0.2782727777957916, -0.5016757249832153, -0.35824814438819885, 0.634829580783844, -0.5224749445915222, 0.2571053206920624, 0.18415336310863495, 0.9913216233253479, 0.10872340202331543, -0.503531813621521, -0.4195590019226074, -0.13110530376434326, 0.8821290135383606, -0.6959823369979858, 0.19374971091747284, 0.3213293254375458, 0.22379501163959503, -0.0897730216383934, -0.9554591178894043, -0.8438658714294434, -0.3470936417579651, -0.33348074555397034, 0.23261727392673492, -0.5379169583320618, 0.20627473294734955, 0.17820654809474945, 0.2432679533958435, -0.4227065145969391, 0.24538546800613403, 0.15810061991214752, -0.6922436952590942, 0.494586318731308, -0.025017552077770233, 0.387177050113678, -0.7004940509796143, -0.6715927124023438, -0.07410448044538498, -0.714694082736969, -0.1456267237663269, 0.33847638964653015, 0.5849847197532654, 0.21828842163085938, 0.7269089221954346, 0.018808137625455856, 0.8760159611701965, -0.15676267445087433, -0.09772290289402008, 0.19030579924583435, -0.11690612137317657, -0.2570657730102539, 0.4645569324493408, 0.33465835452079773, 0.23506541550159454, 0.1582399606704712, -0.3100971281528473, -0.3180719316005707, 0.23841355741024017, 0.2481670081615448, -0.5010465383529663, -0.16308394074440002, 0.1822866052389145, -0.7766659259796143, -0.5109030604362488, 0.12669704854488373, -0.5214946269989014, -0.8114331364631653, -0.061771780252456665, 0.7101027965545654, -0.5450465083122253, -0.2690455913543701, 0.2343246191740036, -0.565750002861023, 0.14996488392353058, 0.1500156968832016, -0.586388885974884, 0.30340269207954407, 0.5885975956916809, 0.5774141550064087, 0.26421165466308594, 0.19933021068572998, -0.4574885368347168, 0.3384486138820648, -0.01791882887482643, 1.1369119882583618, -0.5945722460746765, 0.1441318541765213, 0.48373180627822876, -0.18925753235816956, -0.02384156733751297, -0.5891702771186829, 0.951970636844635, -0.8131274580955505, 0.43998757004737854, -0.36245855689048767, -1.1194453239440918, -0.3042601943016052, 0.5796459913253784, -0.7506905794143677, 0.8651196360588074, 0.16565904021263123, -0.8805222511291504, 0.7910946607589722, -1.088301181793213, -0.3725728988647461, 0.2156742364168167, -0.03638870641589165, -0.45795485377311707, 0.07354942709207535, -0.0886455774307251, 0.41242632269859314, -0.14374494552612305, 0.27996826171875, -0.19799114763736725, 0.27993378043174744, 0.3220159411430359, -0.14577268064022064, 1.0095183849334717, 0.3065737187862396, -0.07148438692092896, -0.15357482433319092, -0.888382613658905, 0.30846574902534485, 0.11015995591878891, -0.4736121892929077, -0.6373790502548218, 0.06442783027887344, 0.19799864292144775, 0.09949702024459839, 0.3391810953617096, -1.1164343357086182, 0.2548210322856903, -0.47546613216400146, 0.33478647470474243, 0.49987468123435974, -0.31232160329818726, 0.04105004295706749, -0.30464306473731995, 0.22612392902374268, 0.0076929135248064995, -0.26154935359954834, -0.01977677270770073, -0.43287938833236694, -0.8480640649795532, -0.3105892837047577, 0.9075123071670532, 0.8118642568588257, -0.6872175335884094, 0.9963438510894775, -0.4358021318912506, 0.14553003013134003, -0.6242274045944214, 0.07775003463029861, 0.18037481606006622, 0.5265237092971802, 0.4291188716888428, -0.30152201652526855, -0.9017483592033386, -0.829952597618103, -0.49108824133872986, -0.140500009059906, -0.34503763914108276, 0.13784301280975342, 0.3666532635688782, -0.24700644612312317, 1.5941901206970215, -0.7441497445106506, -0.9627202749252319, -0.3496067523956299, 0.1887420266866684, -0.13874460756778717, 0.14510083198547363, 0.6750842928886414, -1.0180264711380005, -0.29803264141082764, -0.1807200014591217, -0.8378616571426392, -0.34913232922554016, -0.06260061264038086, 0.09444672614336014, 0.34703487157821655, 0.08801795542240143, -0.6174442172050476, 0.4682406187057495, 0.24618445336818695, -0.8136923909187317, 0.17929387092590332, -0.1452198475599289, -0.24943383038043976, -1.1092536449432373, -0.3151472806930542, -0.05862349644303322, -0.6107933521270752, -0.5737062692642212, -0.2009996920824051, 0.15764190256595612, 0.15095536410808563, -0.09290236234664917, 0.13733740150928497, -0.4290461838245392, -0.12049205601215363, -0.6171388030052185, 0.37614527344703674, 0.31640276312828064, 0.010797743685543537, 0.12244290858507156, 0.16535373032093048, 0.506958544254303, -0.4877685010433197, 0.5067541599273682, 0.8330410122871399, -0.4555830657482147, 0.4737147092819214, -0.5597106218338013, -0.2016279548406601, -0.005897267255932093, 0.3456297516822815, -1.1643710136413574, -0.05751065909862518, -0.07213813811540604, -0.664007306098938, 0.19052866101264954, 0.16841790080070496, -0.8774738311767578, -0.5828337669372559, -0.27609407901763916, -0.5070219039916992, 0.3884269893169403, -0.9533956050872803, 0.8452528119087219, 0.4497964084148407, -0.1755346655845642, -0.44549691677093506, -1.1731935739517212, 0.5012235045433044, -0.05939521640539169, -0.8676256537437439, 0.6578080058097839, 0.6084962487220764, -0.17619258165359497, 0.42685332894325256, 0.17418180406093597, -0.1801329255104065, -0.05468002334237099, -0.01916952058672905, 0.338081955909729, -0.34651774168014526, 0.6459943652153015, 0.04029649496078491, -0.021234964951872826, 0.10812776535749435, -0.577056348323822, 0.4777887165546417, -0.028142165392637253, -0.12347166985273361, -0.41657865047454834, 0.41520214080810547, -0.04897892102599144, -0.038616638630628586, 1.0911117792129517, 0.4926376938819885, -0.42356717586517334, -0.15081104636192322, -0.6215565800666809, -0.18431922793388367, -0.4388805329799652, 0.228906512260437, -0.1430588811635971, -1.0428431034088135, 0.4093599021434784, -0.2053324580192566, 0.12735001742839813, 0.7579914927482605, 0.5086014866828918, -0.10521119832992554, 0.8818811178207397, 0.9186619520187378, 0.02847777120769024, 0.4381961524486542, -0.18521057069301605, 0.4103201925754547, -0.4251364767551422, -0.10958636552095413, -0.38593238592147827, -0.1618713140487671, -0.52176833152771, -0.08148577809333801, 0.1342092603445053, -0.16589465737342834, 0.0650818943977356, 0.5254520177841187, -0.5085904598236084, 0.05798592045903206, 0.5389816761016846, 0.2730564475059509, 0.5562713146209717, 0.17016847431659698, -0.08474340289831161, -0.03351558744907379, -0.8531176447868347, -0.6406912803649902, 1.2105205059051514, 0.3216313421726227, 0.6073006987571716, 0.399199903011322, 0.3403353989124298, 0.9880056977272034, 0.35512009263038635, -0.7916064262390137, 0.40463849902153015, -0.16250985860824585, -0.9291436076164246, -0.11715540289878845, -0.39817482233047485, -0.897305428981781, 0.24723920226097107, -0.630044162273407, -0.6331861615180969, 0.23540854454040527, 0.2780957818031311, -0.5696911215782166, 0.382355272769928, -0.7520853877067566, 0.5346068143844604, -0.05307551100850105, 0.10605710744857788, -0.30609482526779175, -0.7081974744796753, 0.1595456302165985, 0.002687418833374977, -0.2607562243938446, 0.06473371386528015, 0.01288745366036892, 0.9476439952850342, -0.8346495628356934, 1.236440896987915, -0.38982993364334106, -0.33406364917755127, 0.7013850212097168, -0.39606964588165283, 0.6268583536148071, -0.17673082649707794, -0.040552347898483276, -0.11111702769994736, -0.09677904099225998, -0.42935803532600403, -0.5207985043525696, 0.3251760005950928, -0.500799298286438, -0.38940081000328064, -0.38197046518325806, -0.6422967314720154, -0.32606062293052673, 0.13008451461791992, 0.29132136702537537, 0.2467661052942276, -0.1951417624950409, 0.14520063996315002, 0.757945716381073, -0.31966760754585266, 0.37543773651123047, 0.800805389881134, -0.06663807481527328, -0.11032824963331223, 0.7344077825546265, 0.33678433299064636, 0.20753397047519684, 0.5577164888381958, 0.30490168929100037, -0.37522441148757935, -0.17386305332183838, -0.07813268154859543, -0.3493225574493408, -0.6761425137519836, -0.6465196013450623, -1.208433985710144, -0.1486620306968689, -0.9792364835739136, 0.21547773480415344, -0.2853268086910248, -0.8867703080177307, 0.23667562007904053, -0.24404840171337128, 0.7816272974014282, 0.4778794050216675, -0.10674254596233368, 0.6305103898048401, -0.9356310963630676, 0.317756325006485, 0.2849541902542114, 0.19036710262298584, -0.09733299165964127, -0.6990817189216614, -0.07381186634302139, -0.14655499160289764, -0.5585592985153198, -0.47545933723449707, 0.2555827498435974, 0.3811708390712738, 0.5616697072982788, 0.7488440275192261, 0.31969115138053894, 0.20755799114704132, -0.46686452627182007, 0.6487088799476624, 0.2916927933692932, -0.9756485223770142, 0.8152515292167664, -0.023670712485909462, -0.4406333267688751, 0.20001475512981415, 0.36841198801994324, -0.27188920974731445, -0.1530885398387909, -0.8399810791015625, -0.5113147497177124, 0.4467628598213196, 0.15056811273097992, 0.3038981854915619, 0.1205422580242157, 0.1763463318347931, 0.12371507287025452, 0.17008967697620392, -0.8757579326629639, -0.118472158908844, -0.008307967334985733, -0.34004077315330505, 0.6141229271888733, -0.48816192150115967, -0.2868020832538605, 0.0033210546243935823, 0.42676544189453125, -0.21101000905036926, 0.458355188369751, 0.2965179681777954, -0.38770630955696106, 0.15783102810382843, 0.41571760177612305, 0.10660330951213837, 0.42461106181144714, -0.16657330095767975, 0.007312565576285124, 0.24186880886554718, -0.3676191568374634, -0.22653482854366302, 0.40714728832244873, -0.15087059140205383, 0.22782033681869507, 0.6740454435348511, 0.7361461520195007, -0.06159956380724907, -0.8279435634613037, 0.7549468278884888, 0.19672463834285736, -0.1818731278181076, -0.4533727169036865, -0.044115204364061356, -0.2196645587682724, 0.2801153063774109, 0.428130179643631, 0.20355723798274994, 0.39217883348464966, -0.6275126338005066, 0.46159827709198, 0.3760150372982025, -0.4900785982608795, -0.0363883338868618, 0.41465651988983154, 0.14981535077095032, 0.03725408390164375, 0.28283342719078064, 0.00847355742007494, -0.9665688872337341, 0.5375449061393738, 0.7378892302513123, 0.42579036951065063, -0.05535617098212242, 0.25200095772743225, -0.23512400686740875, 0.36030521988868713, -0.01848975569009781, 0.4109884798526764, 0.030132589861750603, -1.352059245109558, -0.34255465865135193, -0.3271377384662628, -0.42358750104904175, -0.25275832414627075, -0.765486478805542, 0.14327387511730194, -0.20752693712711334, -0.35895150899887085, 0.23121853172779083, 0.14078082144260406, -0.4412066638469696, 0.3153582811355591, 0.2295716255903244, 1.0729029178619385, -1.0278136730194092, 0.8346408605575562, 0.7923116683959961, -0.4093051254749298, -0.5942304730415344, 0.14499448239803314, 0.01988971047103405, -0.9743430018424988, 1.0665161609649658, 0.11121083796024323, 0.1438814252614975, -0.11477744579315186, -0.5731769800186157, -0.5759492516517639, 0.9471748471260071, 0.4502982497215271, -0.18530982732772827, 0.050721004605293274, 0.19308951497077942, 0.45242419838905334, -0.504717230796814, 0.04120641574263573, 0.436542809009552, 0.5175855755805969, -0.03974080830812454, -0.7402639985084534, 0.1416795402765274, 0.14566487073898315, 0.041789066046476364, 0.14104817807674408, -0.6242764592170715, 0.7722814679145813, -0.20291456580162048, -0.05097544938325882, 0.08021242171525955, 1.0756417512893677, -0.002327905735000968, 0.24749495089054108, 0.6714617013931274, 0.949367880821228, 1.1049995422363281, -0.02435576729476452, 1.2546133995056152, 0.07389184832572937, 0.6338780522346497, 1.0874642133712769, -0.5853936672210693, 0.7903461456298828, 0.16153043508529663, -0.227819561958313, 0.7692887187004089, 0.41451701521873474, -0.35874176025390625, 0.6451930999755859, 0.3579581677913666, -0.32571151852607727, -0.3635508120059967, -0.6424621343612671, -0.4248402714729309, 0.7312554717063904, 0.4093549847602844, -0.6257280111312866, -0.2863365113735199, 0.35516586899757385, -0.03561294823884964, 0.14115116000175476, -0.35906291007995605, 0.6884055137634277, 0.003715785685926676, -0.4192449450492859, 0.04164277762174606, 0.06816312670707703, 0.9475914835929871, -0.5841919183731079, -0.07781338691711426, 0.30927252769470215, 0.524276614189148, -0.4489153027534485, -0.7844648957252502, 0.3438419997692108, 0.0102767338976264, -0.41292157769203186, -0.2740715742111206, 1.3777326345443726, -0.43978211283683777, -0.5217471122741699, 0.5426985621452332, 0.3375939428806305, -0.10403045266866684, -0.09388845413923264, -0.5195647478103638, -0.5166558623313904, -0.20423854887485504, -0.25413402915000916, 0.13915342092514038, 0.670927882194519, -0.0027184667997062206, 0.5949932932853699, 0.4354068338871002, 0.008527846075594425, 0.04177410528063774, 0.2379470020532608, 0.9744663238525391, -0.5728217363357544, -0.7323870062828064, -0.6055837869644165, 0.1717626452445984, -0.5798933506011963, -0.022919483482837677, 0.8891271948814392, 0.6136607527732849, 0.4904273450374603, -0.024594886228442192, 1.1184148788452148, -0.5019174218177795, 0.9540640711784363, -0.7196906208992004, 0.869149386882782, -0.4318940341472626, 0.09281109273433685, -0.18893155455589294, -0.5730554461479187, -0.3738562762737274, 0.6158555150032043, -0.22023457288742065, -0.07658679783344269, 0.510147213935852, 0.5171187520027161, 0.17247655987739563, 0.39863842725753784, 0.37155696749687195, 0.1301025003194809, 0.07846130430698395, 0.4299861192703247, 0.86753249168396, -0.5836076140403748, 0.6646096706390381, 0.3598098158836365, -0.33686351776123047, -0.3554403781890869, -1.0024280548095703, -0.9211587905883789, -0.02405500039458275, -0.4922305643558502, -0.7231253385543823, -0.182859867811203, 0.7427417635917664, 0.580481231212616, -1.1412047147750854, 0.3133615255355835, 0.053222186863422394, -0.09721212834119797, 0.04836426302790642, -0.31331667304039, 0.31269147992134094, -0.49065226316452026, -0.2857401371002197, 0.11008747667074203, 0.05485965684056282, -0.18203124403953552, 0.00877218134701252, 0.26788994669914246, -0.4703517258167267, 0.18927858769893646, 0.8051843643188477, -0.02136078104376793, -0.555972158908844, -0.48464298248291016, -0.15202634036540985, -0.16279302537441254, -0.03096383810043335, 0.9368840456008911, -0.815751850605011, 0.2586144208908081, 0.5195991396903992, 0.9204723238945007, 0.0738343596458435, -0.12055917084217072, 0.6030399799346924, -0.9773051738739014, 0.22066712379455566, 0.13209733366966248, 0.5983456373214722, 0.19404007494449615, -0.6827595233917236, 0.5448447465896606, 0.2782754600048065, -0.19622837007045746, -0.6996473670005798, 0.09702550619840622, -0.8856489658355713, -0.28983157873153687, 0.6981008052825928, -0.4477110207080841, -0.01632549613714218, -0.2846895158290863, -0.02548818103969097, 0.22814540565013885, -0.24588961899280548, 0.8039458990097046, 0.8623654246330261, -0.21535815298557281, 0.3155035078525543, -0.5015596747398376, 0.3145062029361725, 0.6900646090507507, -0.7390585541725159, -0.06361247599124908, 0.37914523482322693, 0.24239563941955566, 0.6710226535797119, 0.332028865814209, -0.13987690210342407, 0.06517326086759567, 0.09123914688825607, 0.41786491870880127, 0.10232783854007721, -0.04958465322852135, -0.04739941656589508, 0.262848824262619, -0.3439549505710602, -0.35992133617401123 ]
http://arxiv.org/abs/2402.12280v1
http://arxiv.org/pdf/2402.12280v1
Adaptive Skeleton Graph Decoding
2024-02-19T16:47:04
2024-02-19T16:47:04
Shuowei Jin, Yongji Wu, Haizhong Zheng, Qingzhao Zhang, Matthew Lentz, Z. Morley Mao, Atul Prakash, Feng Qian, Danyang Zhuo
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have seen significant adoption for natural language tasks, owing their success to massive numbers of model parameters (e.g., 70B+); however, LLM inference incurs significant computation and memory costs. Recent approaches propose parallel decoding strategies, such as Skeleton-of-Thought (SoT), to improve performance by breaking prompts down into sub-problems that can be decoded in parallel; however, they often suffer from reduced response quality. Our key insight is that we can request additional information, specifically dependencies and difficulty, when generating the sub-problems to improve both response quality and performance. In this paper, we propose Skeleton Graph Decoding (SGD), which uses dependencies exposed between sub-problems to support information forwarding between dependent sub-problems for improved quality while exposing parallelization opportunities for decoding independent sub-problems. Additionally, we leverage difficulty estimates for each sub-problem to select an appropriately-sized model, improving performance without significantly reducing quality. Compared to standard autoregressive generation and SoT, SGD achieves a 1.69x speedup while improving quality by up to 51%.
[ -0.0840110033750534, -0.49216940999031067, 0.38421252369880676, 0.5525242686271667, -0.6669809818267822, 0.38525959849357605, -0.057997312396764755, -0.5904061794281006, 0.43635496497154236, 0.5538290739059448, -0.5026960372924805, -0.5311275720596313, -0.7022846937179565, 0.37076491117477417, -0.0017002328531816602, 0.846077561378479, -0.20393584668636322, 0.3122309744358063, -0.10815798491239548, -0.18412555754184723, -0.5995103716850281, -0.4372689127922058, -1.028347373008728, -0.33867397904396057, 0.5051342248916626, 0.0856628343462944, 0.5875836610794067, 1.090428113937378, 0.4217272400856018, 0.2674787938594818, -0.07519497722387314, 0.14681175351142883, -0.6921432614326477, 0.14289291203022003, -0.4241759777069092, -0.5594521760940552, -0.6599397659301758, -0.41054821014404297, 0.5694471597671509, 0.8541741967201233, -0.10273706167936325, -0.023698652163147926, 0.13083751499652863, 0.9227356910705566, -0.4121452569961548, 0.8822847604751587, -0.5372859835624695, -0.18991497159004211, -0.07623257488012314, -0.22167344391345978, -0.36427006125450134, -0.159637913107872, 0.08843106031417847, -0.5932021141052246, 0.26811084151268005, 0.01252905186265707, 0.5034320950508118, 0.4965086877346039, 0.022162793204188347, -0.5987492203712463, -0.3276524543762207, 0.40749192237854004, -0.6732676029205322, 0.4957585036754608, 0.44864118099212646, 0.0060472190380096436, -0.4085397720336914, -0.7504668235778809, -0.26080000400543213, 0.1560060977935791, -0.014160984195768833, 0.14974215626716614, -0.2874978184700012, 0.25853100419044495, 0.14131830632686615, 0.30240732431411743, -0.5153272747993469, 0.04151526838541031, -0.1652357280254364, -0.3650921583175659, 0.6423386931419373, 0.4198671281337738, 0.3649623692035675, -0.37578538060188293, 0.10358066111803055, -0.3728516399860382, -0.4539009928703308, 0.14540976285934448, 0.47659826278686523, 0.552375078201294, 0.0037041925825178623, 0.44640663266181946, -0.4254719018936157, 0.7211927175521851, 0.15712401270866394, -0.2433609813451767, 0.22250117361545563, -0.40175679326057434, -0.09454432129859924, 0.16351978480815887, 0.3985084593296051, 0.2815220355987549, 0.2527047395706177, -0.2970430850982666, -0.172531396150589, 0.3269808888435364, 0.06453975290060043, -0.8214964270591736, -0.7486920356750488, 0.23170015215873718, -0.5491601228713989, 0.29486584663391113, -0.452927827835083, -0.8348157405853271, -0.3605938255786896, -0.13880838453769684, 0.1683608442544937, -0.6308894157409668, -0.324086457490921, 0.587910532951355, -0.16889245808124542, -0.23026451468467712, 0.3936019539833069, -0.9448021054267883, 0.34243857860565186, 0.40141886472702026, 0.8467774987220764, -0.1987241953611374, -0.16722917556762695, -0.619915246963501, 0.18634742498397827, -0.18632374703884125, 0.8179000616073608, -0.5022715926170349, -0.2051103413105011, -0.594836950302124, -0.013598849065601826, -0.23252065479755402, -0.5156100988388062, 0.39539092779159546, -0.44534438848495483, -0.4391903877258301, -0.33145469427108765, -0.4142661392688751, -0.1546923965215683, 0.15345053374767303, -0.7909417748451233, 0.7224096655845642, 0.32227182388305664, -1.1113839149475098, 0.040388040244579315, -0.2852953374385834, -0.6567531228065491, -0.02541007101535797, -0.12713417410850525, 0.004629144910722971, 0.34456706047058105, 0.7230318784713745, 0.5430468320846558, -0.43399688601493835, -0.013326335698366165, -0.2767530381679535, -0.07943148165941238, -0.43997523188591003, -0.20237132906913757, 0.5312737226486206, 0.09249213337898254, -0.17869515717029572, 0.0760837271809578, -1.0405353307724, 0.06278572976589203, 0.42347201704978943, -0.6502082943916321, -0.3550947904586792, 0.14760135114192963, -0.3567306101322174, -0.1520385891199112, 0.09628821164369583, -0.43606334924697876, 0.08860018849372864, -0.6810578107833862, 0.3941989541053772, 0.8911172151565552, -0.17128926515579224, 0.249635249376297, -0.1770518273115158, 0.4976138770580292, -0.0008727640379220247, -0.33408409357070923, -0.2025417536497116, -0.3781619071960449, -0.7096160054206848, -0.3634190261363983, 0.44263166189193726, 0.3731083869934082, -1.2814908027648926, 0.07148149609565735, -0.41543272137641907, -0.2968485653400421, -0.6895298361778259, 0.26895707845687866, 0.528719961643219, 0.42362311482429504, 0.5457808375358582, -0.5468582510948181, -0.5645163059234619, -0.4716327488422394, -0.2484835833311081, -0.42562592029571533, -0.014179568737745285, 0.4616653025150299, 0.0499887615442276, 0.03814326599240303, 0.783372700214386, -0.5275577902793884, -0.07167396694421768, -0.4985324442386627, 0.10302184522151947, 0.33712664246559143, 0.4817742109298706, 0.4863681495189667, -0.4328656792640686, -0.6132246255874634, -0.15367144346237183, -0.6127477884292603, -0.14360973238945007, 0.14939554035663605, -0.028233811259269714, 0.182830810546875, 0.40095624327659607, -0.8757591843605042, 0.27754703164100647, 0.6404278874397278, -0.05132263898849487, 0.39451366662979126, -0.35772472620010376, -0.15220744907855988, -1.115395188331604, -0.24301904439926147, -0.1259225308895111, -0.20432867109775543, -0.31823834776878357, 0.16797752678394318, -0.06624094396829605, 0.16224181652069092, 0.012438518926501274, 0.3290429413318634, -0.7742106914520264, -0.23541204631328583, -0.33371594548225403, 0.058471765369176865, -0.030714815482497215, 0.35899150371551514, 0.0661129429936409, 0.6723815202713013, 0.734978199005127, -0.47526004910469055, 0.5251805186271667, 0.014778069220483303, -0.1636480838060379, 0.42935463786125183, -0.563575804233551, 0.36087560653686523, -0.5947709083557129, 0.7047147750854492, -1.1636600494384766, -0.4846324026584625, 0.251345157623291, -0.2529717981815338, 0.36538276076316833, -0.4426654577255249, -0.5502345561981201, -0.47382596135139465, -0.17631883919239044, 0.6379380822181702, 0.3838455080986023, -0.8088670969009399, 0.8141278028488159, 0.29312828183174133, -0.37414076924324036, -0.6242244839668274, -0.4639050364494324, 0.046071067452430725, 0.18960489332675934, -0.8895366191864014, 0.17445969581604004, -0.12235420942306519, 0.11470586061477661, 0.13902316987514496, -0.4853838384151459, 0.16226370632648468, -0.21014973521232605, 0.0713714063167572, -0.2832912504673004, -0.4544411301612854, 0.056383777409791946, 0.09391660988330841, -0.4842720329761505, 0.07815716415643692, -0.6333920359611511, 0.9647213220596313, 0.32898420095443726, -0.3322819769382477, -0.4383077919483185, 0.3084748685359955, 0.5089954733848572, -0.1966487169265747, 0.5266708135604858, 0.47344934940338135, -0.4353645443916321, -0.31983569264411926, -0.3572198450565338, -0.14217424392700195, -0.4726073145866394, 0.5411405563354492, -0.5730889439582825, -0.7429404854774475, 0.7211924195289612, -0.10656566917896271, -0.2730594575405121, 0.21617870032787323, 0.46920961141586304, 0.10543853044509888, 1.2745097875595093, 0.47033509612083435, -0.304108589887619, 0.1717677265405655, -0.2929975092411041, 0.15591031312942505, -0.6811109185218811, -0.20372873544692993, -0.49513867497444153, -0.3160400688648224, -0.30626943707466125, -0.5494720935821533, 0.10131797194480896, 0.5068003535270691, 0.15253648161888123, 0.45086389780044556, -0.4001232087612152, 0.45468202233314514, 0.19035160541534424, 0.4829709231853485, 0.3387696146965027, 0.10924699157476425, -0.21825112402439117, -0.013345548883080482, -1.0556050539016724, -0.1081177294254303, 0.9496728181838989, 0.3264321982860565, 1.2637033462524414, 0.09574143588542938, 0.5660902261734009, 0.023496000096201897, 0.31523188948631287, -0.6667339205741882, 0.5356000065803528, -0.485289603471756, -0.17745906114578247, -0.18875762820243835, -0.6587874293327332, -1.0060937404632568, 0.2193555384874344, 0.05663538724184036, -0.8989606499671936, 0.07957111299037933, 0.3759065866470337, -0.3032132685184479, 0.2840416431427002, -0.6024715900421143, 0.4820600152015686, 0.14420565962791443, -0.06458371877670288, -0.23364202678203583, -0.5852526426315308, 0.14564961194992065, 0.04341387003660202, 0.026125041767954826, -0.1366102248430252, 0.23554229736328125, 0.6576470136642456, -0.29351651668548584, 0.8838346600532532, -0.22679853439331055, -0.14026100933551788, 0.1135961264371872, 0.052775684744119644, 1.1340142488479614, 0.247852623462677, -0.30593568086624146, -0.18081946671009064, -0.0885368138551712, -0.5862699747085571, -0.6529048085212708, 0.6803266406059265, -0.6916642785072327, -0.7630524039268494, -0.07988471537828445, -1.066087245941162, -0.3517685830593109, 0.21641215682029724, 0.3527754545211792, 0.5559597015380859, 0.28140944242477417, 0.11388890445232391, 0.553078830242157, -0.11617573350667953, 0.5451346039772034, 0.26748040318489075, -0.020084215328097343, -0.5521886348724365, 1.0407390594482422, 0.33256351947784424, 0.30462682247161865, 0.2129601240158081, 0.021988213062286377, -0.48524564504623413, -1.1977486610412598, -0.7197195291519165, 0.2772483229637146, -0.9544550180435181, -0.46619829535484314, -1.054595708847046, -0.1312803030014038, -0.4853569269180298, 0.08371283113956451, -0.4913412034511566, -0.1556917279958725, -0.4615335464477539, -0.05530809983611107, 0.40443217754364014, 0.671007513999939, 0.08392215520143509, 0.36221033334732056, -0.8326563835144043, 0.5271477103233337, 0.16451455652713776, 0.4639356732368469, 0.24727876484394073, -0.2571639120578766, -0.20320194959640503, 0.07487311214208603, 0.2348068207502365, -0.7189956307411194, 0.34510353207588196, -0.1859310418367386, 0.5155799388885498, -0.02898765169084072, 0.4490232765674591, 0.8264367580413818, -0.4458514153957367, 0.40522119402885437, 0.22025854885578156, -0.8639413714408875, 0.11639174818992615, -0.2568499743938446, 0.3421036899089813, 0.3187064826488495, 0.3264913260936737, -0.060477979481220245, -0.31540727615356445, -0.28638148307800293, -0.8950868248939514, 1.0220143795013428, 0.1776706427335739, 0.271099716424942, -0.16369733214378357, 0.6500914692878723, -0.009182059206068516, -0.12070543318986893, -0.55349200963974, -0.0025925172958523035, -0.3275350034236908, -0.48552727699279785, -0.12038591504096985, -0.24281932413578033, 0.129756361246109, -0.18802253901958466, 0.32692164182662964, -0.4567846953868866, 0.1570250689983368, 0.2915211319923401, -0.26040250062942505, -0.30276501178741455, -0.03032304160296917, 0.2969297766685486, 0.6614199280738831, -0.18679547309875488, 0.31425225734710693, 0.3439509868621826, -0.6093435287475586, 0.18030959367752075, 0.14416122436523438, 0.34677231311798096, -0.10016105324029922, 0.4916493892669678, 0.8872637748718262, -0.12452830374240875, -0.5225064158439636, 0.1979508101940155, -0.04447845369577408, 0.05382813513278961, 0.4321323335170746, 0.22647885978221893, 0.4758336544036865, 0.5737291574478149, 0.42243385314941406, -0.08832378685474396, -0.051141176372766495, -0.3477103114128113, 0.09722950309515, 0.24499177932739258, -0.24034835398197174, -0.4373483657836914, 0.5537474751472473, 0.1489204615354538, -0.3549247086048126, 0.5024092197418213, -0.1812635362148285, -0.4477473795413971, 0.7070285677909851, 1.0095999240875244, 0.6018456816673279, -0.2304040640592575, 0.10537165403366089, 0.23441995680332184, 0.25408995151519775, -0.3267630338668823, 0.5470584630966187, 0.1994381994009018, -0.7114790081977844, -0.78202885389328, -0.7756621837615967, -0.11718598753213882, 0.12950871884822845, -0.6599462628364563, -0.16442862153053284, -0.7666917443275452, -0.056704286485910416, -0.0015144700882956386, -0.14590033888816833, -0.44672664999961853, 0.289880633354187, -0.3747006952762604, 0.9792746901512146, -0.45837095379829407, 0.8597954511642456, 0.612212061882019, -0.09396626800298691, -0.9370962381362915, 0.2771318554878235, -0.2868582606315613, -0.7529199719429016, 0.5908071994781494, 0.10054893046617508, -0.4599374532699585, 0.5262869000434875, -0.23623685538768768, -1.0973715782165527, 0.9911438226699829, 1.024947166442871, -0.33227401971817017, -0.05163104087114334, 0.06723828613758087, 0.7119597792625427, -0.6583430767059326, 0.021915659308433533, 0.5726826786994934, 0.2565166652202606, 0.10734488815069199, -0.8773823380470276, 0.43905264139175415, -0.15416431427001953, 0.24367974698543549, 0.18359743058681488, -0.5997624397277832, 1.0536589622497559, -0.19499875605106354, -0.603658139705658, 0.19538460671901703, 0.5743821263313293, 0.15866900980472565, 0.33430400490760803, 0.543459415435791, 0.4476451873779297, 0.5624081492424011, 0.09000597149133682, 1.0992655754089355, -0.4100848436355591, 0.25821399688720703, 1.1113756895065308, -0.09440791606903076, 0.6845232844352722, 0.30496352910995483, -0.19849151372909546, 0.2322893589735031, 0.8543187975883484, 0.533566951751709, 0.5483996868133545, 0.4814978539943695, -0.07573797553777695, -0.3854124844074249, -0.13068464398384094, -0.46882811188697815, 0.4088050425052643, 0.4798468053340912, -0.30425068736076355, -0.5768776535987854, 0.08131136745214462, -0.1522853821516037, 0.14921356737613678, -0.30778783559799194, 0.6556344032287598, -0.1951790601015091, -0.5227431654930115, 0.758918821811676, 0.10719092190265656, 0.46547383069992065, -0.4584347903728485, -0.16082367300987244, -0.4217306971549988, 0.12871968746185303, -0.14606332778930664, -0.5863494277000427, 0.12280117720365524, -0.2839130461215973, -0.5739037394523621, 0.03433740884065628, 0.7196319699287415, -0.27350232005119324, -0.3807564973831177, 0.7515559792518616, 0.414156049489975, 0.16690394282341003, -0.10605623573064804, -0.6424458026885986, 0.3339707553386688, -0.04250040650367737, -0.18244527280330658, 0.3959445357322693, 0.4640793204307556, -0.09492809325456619, 0.7281527519226074, 0.7963246703147888, -0.06781626492738724, 0.13124120235443115, -0.12259670346975327, 1.3250732421875, -0.4088638126850128, -0.6506744623184204, -0.7419310808181763, 0.1238521859049797, 0.07815005630254745, -0.028151992708444595, 0.6252596378326416, 0.25243625044822693, 0.9614490866661072, 0.015459082089364529, 0.6117123961448669, 0.1271982192993164, 0.3891575336456299, -0.9386383891105652, 0.5097405910491943, -0.2894991338253021, 0.5586293935775757, -0.34069621562957764, -0.9977525472640991, -0.2708892822265625, 0.5137893557548523, -0.023088620975613594, -0.020058883354067802, 0.6145936846733093, 0.7856393456459045, -0.20656003057956696, 0.11347433924674988, 0.10292980074882507, 0.3215925693511963, 0.26195308566093445, 0.6285077929496765, 0.5461503267288208, -0.21519222855567932, 0.665230929851532, -0.07423331588506699, -0.14865025877952576, -0.08341892808675766, -0.7378782033920288, -1.0430047512054443, -0.2900570034980774, -0.1411553919315338, -0.720039427280426, 0.28281834721565247, 0.9434277415275574, 0.6917039155960083, -0.8124796748161316, -0.13439035415649414, -0.3210819661617279, 0.24237507581710815, -0.10764992982149124, -0.15478011965751648, 0.7102256417274475, -0.46252498030662537, -0.7804163694381714, 0.5274128913879395, 0.5051349401473999, 0.03930041566491127, -0.07641401141881943, -0.34036386013031006, -0.03882294148206711, 0.21402958035469055, 0.49077972769737244, 0.23306266963481903, -0.6383504867553711, -0.5756775736808777, -0.07606346905231476, -0.07125245034694672, 0.1924852877855301, 0.9809327721595764, -0.7066309452056885, 0.5838434100151062, 0.7602446675300598, 0.9847869873046875, 0.7601416707038879, 0.040498532354831696, 0.5357082486152649, -0.669494092464447, 0.14373864233493805, 0.08393768221139908, 0.31492429971694946, 0.2927128076553345, -0.47212809324264526, 0.5495989322662354, 0.539043128490448, 0.05560682341456413, -0.8186647295951843, 0.3992152512073517, -0.755875825881958, -0.3476128876209259, 0.927208423614502, -0.6278631687164307, -0.2735386788845062, -0.49843478202819824, -0.29560205340385437, 0.2855689227581024, -0.26773983240127563, 0.6121742129325867, 0.6506726145744324, -0.4594569206237793, -0.3630421757698059, -0.17411725223064423, 0.4562235176563263, 0.4790234863758087, -0.7621429562568665, 0.35726606845855713, 0.3678290843963623, 0.27235326170921326, 0.1857311874628067, 0.8698776364326477, 0.11700008809566498, 0.13414832949638367, 0.3881596624851227, -0.3497287929058075, -0.07026217132806778, -0.4262983202934265, -0.11944341659545898, 0.4223245084285736, -0.12629978358745575, -0.03413067385554314 ]
http://arxiv.org/abs/2402.12279v2
http://arxiv.org/pdf/2402.12279v2
Key ingredients for effective zero-shot cross-lingual knowledge transfer in generative tasks
2024-02-19T16:43:57
2024-04-22T17:32:00
Nadezhda Chirkova, Vassilina Nikoulina
cs.CL
cs.CL, cs.AI
Zero-shot cross-lingual knowledge transfer enables a multilingual pretrained language model, finetuned on a task in one language, make predictions for this task in other languages. While being broadly studied for natural language understanding tasks, the described setting is understudied for generation. Previous works notice a frequent problem of generation in a wrong language and propose approaches to address it, usually using mT5 as a backbone model. In this work we compare various approaches proposed from the literature in unified settings, also including alternative backbone models, namely mBART and NLLB-200. We first underline the importance of tuning learning rate used for finetuning, which helps to substantially alleviate the problem of generation in the wrong language. Then, we show that with careful learning rate tuning, the simple full finetuning of the model acts as a very strong baseline and alternative approaches bring only marginal improvements. Finally, we find that mBART performs similarly to mT5 of the same size, and NLLB-200 can be competitive in some cases. Our final zero-shot models reach the performance of the approach based on data translation which is usually considered as an upper baseline for zero-shot cross-lingual transfer in generation.
[ -0.41594406962394714, -0.5638545155525208, 0.42492860555648804, 0.13349181413650513, -0.26651161909103394, 0.07885751873254776, -0.13649684190750122, -0.5351928472518921, -0.3445996642112732, 0.4151248335838318, -0.4946381747722626, -0.2834642827510834, -0.4440097212791443, 0.06920527666807175, -0.38705480098724365, 1.1137999296188354, -0.16574332118034363, 0.12512563169002533, -0.059014707803726196, -0.2734088599681854, -0.710997998714447, -0.44324010610580444, -0.7456003427505493, -0.7673715353012085, 0.5816633701324463, 0.5270674824714661, 0.3513675332069397, 0.38611963391304016, 0.3865337073802948, 0.11145325005054474, 0.1550380289554596, -0.18026120960712433, -0.6694286465644836, -0.12435393035411835, -0.4885511100292206, -0.5770782828330994, -0.45891276001930237, -0.13217595219612122, 0.32229042053222656, 1.0756309032440186, -0.06712159514427185, 0.20778709650039673, 0.1742997169494629, 0.562716007232666, -0.6445501446723938, 0.018215740099549294, -0.7608173489570618, 0.39306777715682983, -0.1685427725315094, -0.3500916659832001, -0.5700007677078247, -0.01481546275317669, -0.08742056787014008, -0.7807366847991943, 0.5741251111030579, -0.028116848319768906, 0.9131543040275574, -0.05394810065627098, -0.5904954671859741, -0.019428588449954987, -0.8858668208122253, 0.9505273699760437, -0.5759362578392029, 0.552151083946228, 0.33809709548950195, 0.42947521805763245, 0.12398429214954376, -0.4049331843852997, -0.5480920672416687, -0.13856257498264313, 0.039899930357933044, 0.37970227003097534, -0.28116852045059204, 0.00020156906975898892, 0.1454983502626419, 0.3037826418876648, -0.6343250274658203, 0.3079565465450287, -0.5111568570137024, 0.005773909855633974, 0.3887411952018738, 0.11239438503980637, 0.30982705950737, -0.4409131109714508, -0.5243407487869263, 0.019789373502135277, -0.9171600341796875, 0.003878298681229353, 0.24282890558242798, 0.486306756734848, -0.13111473619937897, 0.48616233468055725, -0.4925287961959839, 1.0407499074935913, 0.4016185998916626, 0.013221606612205505, 0.020855100825428963, -0.7059178948402405, -0.4348786175251007, 0.03155365586280823, 0.5882865190505981, 0.28018245100975037, 0.5491845011711121, -0.5770662426948547, 0.0132075734436512, 0.003561126533895731, 0.3523200452327728, -0.7690778374671936, -0.18758834898471832, -0.037405792623758316, -0.05136622115969658, -0.28912442922592163, -0.17184171080589294, -0.44801658391952515, 0.10773251950740814, -0.5612348318099976, 0.7178320288658142, -0.8176547288894653, -0.2261892855167389, 0.12870028614997864, -0.0705612301826477, 0.5420427918434143, 0.38783830404281616, -1.1402531862258911, -0.07114429771900177, 0.3902800977230072, 0.5689677596092224, -0.06309140473604202, -0.40306544303894043, -0.4336705803871155, 0.31838324666023254, -0.5975507497787476, 0.8016838431358337, -0.04353814572095871, -0.27976253628730774, -0.2763720452785492, -0.06993138790130615, -0.4243300259113312, -0.35975196957588196, 0.4369935095310211, -0.2843732535839081, 0.5362668037414551, -0.4202577769756317, -0.35008278489112854, -0.3886133134365082, 0.21739447116851807, -0.3437771201133728, 0.7399146556854248, 0.34200772643089294, -0.7363607883453369, 0.666531503200531, -0.7638676762580872, -0.745764434337616, 0.09596388041973114, 0.11779218912124634, -0.07074079662561417, 0.22787532210350037, 0.31791889667510986, 0.7409908771514893, -0.1458730399608612, 0.2675936222076416, -0.18301714956760406, -0.28084519505500793, -0.0731038898229599, -0.5368590950965881, 0.9958780407905579, 0.3198529779911041, -0.4706510007381439, -0.26931434869766235, -0.9225253462791443, 0.015424148179590702, 0.20936289429664612, -0.2885134816169739, -0.32801133394241333, -0.5416542887687683, -0.0178439412266016, 0.28760039806365967, -0.16431082785129547, -0.6205644607543945, 0.03151070699095726, -0.3314577043056488, 0.0791192427277565, 0.4806002378463745, 0.012118736281991005, 0.6479259133338928, -0.3516252934932709, 0.5898638963699341, 0.2259739190340042, 0.0034494127612560987, -0.24275530874729156, -0.15332898497581482, -0.9656870365142822, 0.04995232820510864, 0.5347791910171509, 0.5991358757019043, -1.2834522724151611, -0.07267987728118896, -0.34206321835517883, -0.3840687870979309, -0.8804203271865845, 0.2970415949821472, 0.6128830313682556, 0.7601794004440308, 0.5359256863594055, -0.3905853033065796, -0.4250873327255249, -0.6598082184791565, -0.28314924240112305, 0.09068833291530609, -0.14168988168239594, -0.07476364821195602, 0.2367786318063736, 0.214735209941864, 0.7832797765731812, -0.15183323621749878, -0.31036823987960815, -0.6114753484725952, 0.6887580156326294, -0.015170714817941189, 0.6042773127555847, 0.9297122955322266, -0.4910042881965637, -0.8175014853477478, 0.5373222231864929, -0.8915231823921204, -0.06374599784612656, -0.31242796778678894, -0.21344134211540222, 0.4277629256248474, 0.18177613615989685, -0.5031577348709106, 0.24425706267356873, 0.6287596821784973, -0.06947055459022522, 0.3164183497428894, -0.10993662476539612, 0.27482813596725464, -1.2931870222091675, 0.2501969337463379, -0.07986088842153549, -0.33732879161834717, -1.13817298412323, 0.13767878711223602, 0.16042859852313995, -0.009106320329010487, -0.7377101182937622, 0.5148992538452148, -0.6517184972763062, 0.04369950667023659, -0.1559973657131195, 0.21567939221858978, 0.08997317403554916, 0.6276900172233582, 0.09151611477136612, 0.6224305033683777, 0.5657164454460144, -0.5239041447639465, 0.2240464836359024, 0.0375232920050621, -0.3603696823120117, 1.0869522094726562, -0.451158344745636, 0.14439591765403748, -0.22101657092571259, -0.09954747557640076, -0.8156995177268982, 0.10526980459690094, 0.25596967339515686, -0.6107650995254517, 0.6497510075569153, -0.19102860987186432, -0.19684657454490662, -0.11106362193822861, 0.0002655377902556211, 0.34058669209480286, 0.525996744632721, -0.44524461030960083, 0.2635757029056549, -0.27040937542915344, -0.12528598308563232, -0.7584666013717651, -0.8666610717773438, 0.12231968343257904, -0.21769991517066956, -0.4558408558368683, 0.27253225445747375, 0.05781202390789986, 0.09609438478946686, 0.01926279254257679, -0.0643736943602562, 0.020117992535233498, 0.03799113258719444, -0.08465668559074402, 0.22374817728996277, -0.43288132548332214, -0.21924768388271332, -0.04526962339878082, -0.2955663800239563, -0.3626307249069214, -0.30332279205322266, 0.2954229414463043, 0.22422127425670624, -0.31929659843444824, -0.22966569662094116, 0.22529008984565735, 0.5674777626991272, -0.17064107954502106, 0.7687724828720093, 0.9276426434516907, -0.01733275130391121, -0.17015564441680908, -0.4829462170600891, 0.03616611659526825, -0.3380139470100403, 0.14247509837150574, -0.6400560140609741, -0.6806814074516296, 0.40777698159217834, 0.10385875403881073, 0.1920013427734375, 0.5699136853218079, 0.4801445007324219, -0.15265418589115143, 0.8770418763160706, 1.0147944688796997, -0.06511791795492172, 0.4413957893848419, -0.2870882749557495, 0.29223206639289856, -0.8710170984268188, -0.13808976113796234, -0.4058583676815033, -0.1047271266579628, -0.19920675456523895, -0.36982461810112, 0.08157400041818619, 0.4516519606113434, -0.0036895177327096462, 0.8054882884025574, -0.03751493990421295, 0.23034358024597168, 0.5586295127868652, -0.26845648884773254, 0.5066399574279785, 0.1932671070098877, -0.5327053070068359, 0.04356684535741806, -1.2849667072296143, -0.042836710810661316, 1.145745038986206, -0.05870234966278076, 0.7177724242210388, 0.1289197951555252, 0.5501515865325928, -0.1701534241437912, 0.452299028635025, -0.5076166987419128, 0.31806597113609314, -0.3069496750831604, -0.7446449398994446, -0.3073832094669342, -0.6482587456703186, -1.124435305595398, 0.43608197569847107, -0.20378747582435608, -0.5270913243293762, 0.16632795333862305, 0.11607213318347931, -0.4336155354976654, 0.4600067436695099, -0.7442154884338379, 1.006808876991272, -0.25998684763908386, -0.3234870731830597, 0.03504006937146187, -0.6744227409362793, 0.5422530770301819, -0.25905749201774597, 0.15665243566036224, -0.14161881804466248, 0.6575163006782532, 0.3280962109565735, 0.022270578891038895, 0.7240892648696899, -0.15865908563137054, -0.20831625163555145, 0.06335851550102234, 0.2190094292163849, 0.18113839626312256, -0.46780383586883545, 0.004030230455100536, 0.20841491222381592, -0.015284652821719646, -0.4782763719558716, -0.6058659553527832, 0.41916197538375854, -0.6850515604019165, -0.42393574118614197, -0.06209974363446236, -0.7525161504745483, -0.202535018324852, 0.1474892497062683, 0.5962111949920654, 0.4672168493270874, -0.28715965151786804, 0.38293731212615967, 0.4502097964286804, -0.13937130570411682, 0.4141370952129364, 0.7299409508705139, -0.18876239657402039, -0.004835250321775675, 0.9808042049407959, 0.43396008014678955, 0.773112416267395, 0.6280260682106018, -0.12814752757549286, -0.10348636656999588, -0.43029794096946716, -0.9404160976409912, -0.000931746035348624, -0.5925572514533997, -0.38458460569381714, -0.5915333032608032, -0.241251140832901, -0.6386369466781616, -0.4104141891002655, -0.3790038228034973, -0.565069854259491, -0.3318997621536255, -0.3158988952636719, 0.18544746935367584, 0.34466931223869324, -0.3846619427204132, 0.248677596449852, -0.7437061071395874, 0.6028001308441162, 0.20202428102493286, 0.08965364843606949, 0.12025928497314453, -0.7426030039787292, -0.3388303518295288, 0.16910910606384277, -0.3009486198425293, -0.7635534405708313, 0.3091433048248291, 0.20855441689491272, 0.7726377844810486, 0.38499772548675537, 0.1466885656118393, 1.008291244506836, -0.41152700781822205, 0.5593429803848267, 0.4827112853527069, -0.9234245419502258, 0.3523547947406769, -0.3164758086204529, 0.6224772334098816, 0.5352761745452881, 0.594828724861145, -0.7791258692741394, -0.46851468086242676, -0.5663811564445496, -0.6944179534912109, 0.7405800819396973, 0.27456358075141907, 0.039802223443984985, 0.2805902361869812, 0.024840593338012695, 0.3726542890071869, 0.08124595135450363, -0.9289031028747559, 0.06087109446525574, -0.38402149081230164, -0.053532518446445465, -0.27714669704437256, 0.12218422442674637, 0.03426797688007355, -0.34701669216156006, 0.549247682094574, -0.21208031475543976, 0.1282772719860077, 0.08588076382875443, -0.38993164896965027, -0.44519051909446716, 0.534574031829834, 0.5317972302436829, 0.6951367259025574, -0.1927780658006668, 0.14867419004440308, 0.46919378638267517, -0.18101876974105835, 0.2651461064815521, -0.03996063768863678, -0.4638890027999878, -0.019307361915707588, 0.4769555330276489, 1.1179399490356445, 0.40648961067199707, -0.114600270986557, 0.3159356415271759, 0.31556078791618347, -0.45114266872406006, 0.18082310259342194, 0.11488321423530579, 0.06046026572585106, -0.052274566143751144, 0.17547239363193512, 0.03474085032939911, -0.07050006091594696, -0.750880777835846, 0.04850040376186371, 0.4301168620586395, -0.448518306016922, -0.5641869902610779, 0.7133731842041016, 0.12123890966176987, 0.11970297992229462, 0.6435724496841431, -0.22959917783737183, -0.3108203113079071, 0.4293801188468933, 0.7715257406234741, 0.7055696845054626, -0.43996289372444153, 0.45966851711273193, 0.34480610489845276, 0.3420172929763794, 0.1487751007080078, 0.015997610986232758, -0.407540500164032, -0.9226295948028564, -0.7610251903533936, -0.7879549264907837, -0.2790561318397522, -0.028309324756264687, -0.8061680197715759, 0.04466724395751953, 0.026204902678728104, 0.027102166786789894, 0.08437177538871765, -0.04730682447552681, -0.8923521637916565, 0.15811969339847565, 0.08674917370080948, 0.6027024984359741, -0.8736617565155029, 1.1086703538894653, 0.6271144151687622, -0.6676797270774841, -0.8426118493080139, -0.2706661522388458, -0.13745614886283875, -0.891274631023407, 0.7415056824684143, -0.25191938877105713, -0.13523410260677338, 0.22392721474170685, -0.15402935445308685, -0.6232617497444153, 1.2235537767410278, 0.5360184907913208, -0.37555935978889465, -0.1294700801372528, 0.4439963102340698, 0.5135220885276794, -0.16223149001598358, -0.029950624331831932, 0.46368321776390076, 0.4580305218696594, 0.5556786060333252, -1.144400954246521, -0.10679030418395996, 0.08464990556240082, 0.06337454169988632, 0.23008383810520172, -0.43554452061653137, 0.837750256061554, -0.2509380280971527, -0.4258657693862915, 0.09505393356084824, 0.40931519865989685, 0.03725859895348549, 0.3327840566635132, 0.12251096218824387, 0.7109813094139099, 0.24839714169502258, 0.036941979080438614, 0.9903294444084167, -0.28083541989326477, 0.3823230266571045, 0.9055335521697998, -0.3312491476535797, 0.7927544116973877, 0.5364338755607605, -0.06391091644763947, 0.3069680631160736, 0.34269794821739197, 0.01251905132085085, 0.5783612132072449, -0.051880113780498505, -0.1396835595369339, -0.09777958691120148, -0.14646176993846893, -0.39263826608657837, 0.46223410964012146, 0.057924844324588776, -0.09688573330640793, -0.5786565542221069, 0.3725818991661072, 0.2728427052497864, -0.20349149405956268, -0.37231940031051636, 0.7824949026107788, 0.22823874652385712, -0.7887023687362671, 0.8577342629432678, 0.09854307025671005, 0.6175307631492615, -0.5825896859169006, 0.022796252742409706, -0.5226916074752808, 0.13506777584552765, -0.09178976714611053, -0.6726372838020325, 0.40703919529914856, 0.11934143304824829, -0.09604871273040771, -0.5620830655097961, 0.8993703722953796, -0.6784224510192871, -0.5748376846313477, 0.3071082830429077, 0.8194713592529297, 0.0715077593922615, 0.05016694590449333, -0.5629399418830872, -0.47139972448349, 0.1391599327325821, -0.03714212775230408, 0.5875954627990723, 0.6696615815162659, -0.0030678603798151016, 0.3586015999317169, 0.7658782005310059, 0.11647965013980865, 0.2687329351902008, 0.11969859153032303, 0.37911495566368103, -0.6106090545654297, -0.13577596843242645, -0.5297219753265381, 0.49344924092292786, 0.25112485885620117, -0.16074076294898987, 1.006742000579834, 0.23695598542690277, 1.248169183731079, -0.2264566868543625, 0.6668992042541504, -0.040086157619953156, 0.2756578326225281, -0.6730186343193054, 0.7794838547706604, -0.6328287124633789, -0.27110329270362854, -0.30290380120277405, -0.9426560997962952, -0.49362456798553467, 0.5234610438346863, -0.21713826060295105, 0.07136642932891846, 0.6763790249824524, 0.5087124109268188, -0.3770221471786499, -0.2679097056388855, 0.8858730792999268, 0.17323754727840424, -0.017974354326725006, 0.8198099136352539, 0.7147449254989624, -0.42419520020484924, 0.6115617752075195, -0.3939218819141388, 0.12445801496505737, -0.12584739923477173, -0.8802818059921265, -0.7880701422691345, -0.39434894919395447, -0.16829659044742584, 0.1936744898557663, 0.265206515789032, 0.39377105236053467, 0.9129830598831177, -0.7481909394264221, -0.389201819896698, -0.14958073198795319, -0.1149878054857254, -0.4164580702781677, -0.23533806204795837, 0.09496468305587769, -0.5335205793380737, -0.5956531167030334, 0.3349871039390564, 0.3369617164134979, 0.18394437432289124, -0.26137274503707886, 0.026246657595038414, -0.232289120554924, 0.09861933439970016, 0.8937828540802002, 0.5068482756614685, -0.6640450954437256, -0.40745022892951965, 0.07747942209243774, -0.07460864633321762, 0.10739820450544357, 0.7542568445205688, -0.795121431350708, 0.39623725414276123, 0.5187293291091919, 0.6028019189834595, 0.706330418586731, 0.10226104408502579, 0.8365401029586792, -0.8315985202789307, 0.11129610240459442, -0.1702144742012024, 0.20207609236240387, 0.5245014429092407, -0.2212437242269516, 0.6562609076499939, 0.33396798372268677, -0.26469165086746216, -0.6101039052009583, 0.20961591601371765, -0.8874571919441223, -0.3592509627342224, 0.9013057947158813, -0.25877904891967773, -0.023554615676403046, -0.21322928369045258, -0.11026766896247864, 0.5148226022720337, 0.1756315678358078, 0.5760838389396667, 0.6584072709083557, -0.24070997536182404, -0.3476356267929077, -0.8796901106834412, 0.2604455053806305, 0.8063876628875732, -0.732751190662384, -0.07619167864322662, 0.2879595458507538, 0.3560243248939514, 0.12073369324207306, 0.5966622233390808, -0.08495739102363586, 0.1826619952917099, 0.10552971065044403, 0.27140843868255615, -0.0302861537784338, -0.5554897785186768, -0.3303314745426178, 0.2497514933347702, 0.03193879872560501, -0.09743748605251312 ]
http://arxiv.org/abs/2402.12275v2
http://arxiv.org/pdf/2402.12275v2
WorldCoder, a Model-Based LLM Agent: Building World Models by Writing Code and Interacting with the Environment
2024-02-19T16:39:18
2024-05-26T04:24:04
Hao Tang, Darren Key, Kevin Ellis
cs.AI
cs.AI, cs.CL
We give a model-based agent that builds a Python program representing its knowledge of the world based on its interactions with the environment. The world model tries to explain its interactions, while also being optimistic about what reward it can achieve. We define this optimism as a logical constraint between a program and a planner. We study our agent on gridworlds, and on task planning, finding our approach is more sample-efficient compared to deep RL, more compute-efficient compared to ReAct-style agents, and that it can transfer its knowledge across environments by editing its code.
[ -0.31545814871788025, -0.5987991094589233, 0.3998185098171234, 0.12620612978935242, 0.23826885223388672, 0.057467058300971985, 0.16467317938804626, -0.5499133467674255, -0.05099157616496086, 0.4989874064922333, -0.6204950213432312, -0.38851794600486755, -0.334553986787796, -0.0067940279841423035, 0.003991656005382538, 0.8281958699226379, -0.006096356548368931, -0.2862398326396942, -0.4396243095397949, 0.25620853900909424, -0.08098291605710983, -0.6961552500724792, -0.409332811832428, -0.8918002247810364, 0.47513285279273987, 0.20431555807590485, 0.9662727117538452, 0.628258466720581, 0.566299319267273, 0.33964619040489197, -0.14971716701984406, 0.2007572203874588, -0.47675955295562744, 0.39119288325309753, -0.28804484009742737, -0.6106377243995667, -0.33460015058517456, -0.10312233120203018, -0.10657524317502975, 0.05107986181974411, -0.08087042719125748, 0.17391295731067657, -0.17293906211853027, 0.3637908101081848, -0.6996950507164001, 0.5396641492843628, -0.4331474006175995, 0.5003681182861328, 0.5281348824501038, -0.33389154076576233, -0.23625093698501587, -0.25708380341529846, -0.3705364167690277, -0.7499708533287048, 0.03528808057308197, 0.03752918913960457, 0.5766541361808777, 0.5538247227668762, -0.5209901332855225, -0.26985278725624084, -1.0892672538757324, 0.5855661034584045, -0.5362080335617065, 0.24869434535503387, 0.10034766793251038, 0.3787936568260193, -0.5671526193618774, -0.6594762802124023, -0.7198941111564636, -0.09391596913337708, 0.12894710898399353, 0.07113991677761078, -0.03616104647517204, 0.19221587479114532, 0.5603386759757996, 0.14265649020671844, -0.34331074357032776, -0.12259183824062347, -0.393355131149292, -0.36964306235313416, 0.8138586282730103, 0.5826808214187622, 0.4799405634403229, -0.18418832123279572, -0.26391902565956116, 0.0397803969681263, -0.6242330074310303, 0.27568694949150085, 0.2727581262588501, 0.2584967315196991, -0.08532403409481049, 0.8118597865104675, -0.22788771986961365, 0.8066287040710449, -0.2983577251434326, -0.7052586078643799, -0.18077567219734192, 0.08023726940155029, 0.015204010531306267, -0.011970617808401585, 0.31835177540779114, 0.7190847992897034, 0.16242754459381104, -0.30662283301353455, -0.763942301273346, 0.3946700096130371, 0.46264174580574036, -0.8388874530792236, -0.1590958833694458, 0.30416572093963623, -0.6408219337463379, -0.4279341995716095, 0.07847980409860611, -0.3780210316181183, -0.5590576529502869, -0.2883448898792267, 0.2821508049964905, -0.13233721256256104, -0.11798735707998276, -0.07620697468519211, -0.3989974856376648, 0.33310970664024353, 0.36888107657432556, -0.4988304078578949, 0.34152472019195557, 0.995132327079773, 0.8660350441932678, 0.11321405321359634, -0.5617946982383728, -0.37137091159820557, 0.2371010035276413, -0.4290215075016022, 0.9551976919174194, -0.4491174817085266, -0.6022369265556335, 0.04014468193054199, -0.13550643622875214, 0.24251869320869446, -0.3043535649776459, 0.1265658736228943, -0.739646315574646, -0.2871537208557129, -0.11656884104013443, -0.7147481441497803, -0.18159174919128418, 0.5709693431854248, -0.7683572769165039, 0.9566208720207214, 0.3080452084541321, -0.5867497324943542, 0.3600645363330841, -0.7089285850524902, -0.18041470646858215, 0.04529045149683952, 0.1374787539243698, 0.008431973867118359, 0.04074462503194809, 0.06378229707479477, 0.5277109146118164, -0.07776506245136261, 0.19300881028175354, -0.2309599667787552, -0.6722424030303955, 0.48467695713043213, 0.07520507276058197, 0.4522808790206909, 0.7043628692626953, -0.006423918064683676, 0.11267739534378052, -0.7436209321022034, 0.3274068534374237, -0.027214176952838898, -0.6246551275253296, -0.08044517040252686, 0.3629002571105957, 0.060351595282554626, 0.45047837495803833, 0.3111916482448578, -0.7283113598823547, 0.5630029439926147, -0.30865418910980225, 0.6178192496299744, 0.5839957594871521, 0.1854497790336609, 0.4712403416633606, -0.8498327136039734, 0.8312371373176575, -0.2919851541519165, 0.07338796555995941, -0.0763234943151474, -0.47540467977523804, -0.7390495538711548, -0.07605612277984619, -0.1754845529794693, 0.7427891492843628, -0.6195611953735352, 0.12130063027143478, -0.2987748980522156, -0.6730995774269104, -0.23326453566551208, 0.16963115334510803, 0.3116552531719208, 0.04602736607193947, -0.014072444289922714, 0.22846993803977966, -0.9495450854301453, -0.7464501261711121, -0.11366445571184158, -0.12460807710886002, 0.43614068627357483, 0.18747469782829285, 0.9180030822753906, -0.44159844517707825, 1.2015786170959473, -0.5896482467651367, 0.11017763614654541, -0.7682390809059143, -0.42260414361953735, 0.46765562891960144, 0.5179767608642578, 0.10621440410614014, -0.8542791604995728, -0.7061566710472107, 0.09936423599720001, -0.9151219129562378, 0.17571136355400085, -0.09794238954782486, -0.13242676854133606, 0.0939689427614212, 0.6102190017700195, -0.9135131239891052, 0.6190711259841919, 0.37294888496398926, -0.3653251528739929, 0.5725095272064209, -0.4189033806324005, 0.05125968158245087, -0.9699908494949341, -0.0966576635837555, -0.12916120886802673, -0.3422990143299103, -0.7674127221107483, 0.47289618849754333, -0.05288411304354668, -0.38423842191696167, -0.6004886031150818, 0.7268612384796143, -0.5171525478363037, -0.2241562455892563, -0.47550496459007263, -0.23510797321796417, -0.00036260305205360055, 0.4842679798603058, 0.06434246152639389, 1.0411313772201538, 0.5134214758872986, -0.9233974814414978, 0.7230216860771179, 0.3500082194805145, -0.41073569655418396, 0.4035412073135376, -0.6029999852180481, 0.4227719306945801, -0.185594841837883, 0.20374760031700134, -0.4227370619773865, -0.24452964961528778, 0.11024267226457596, -0.2767498195171356, -0.07316716760396957, -0.3295042812824249, -0.5473150610923767, -0.644679605960846, -0.016872072592377663, -0.010479501448571682, 0.6648446321487427, -0.6524158120155334, 0.5307760834693909, 0.4372939467430115, 0.26117318868637085, -0.44187960028648376, -0.8436835408210754, 0.1790970414876938, -0.11240150034427643, -0.5910866260528564, 0.3689214289188385, -0.08727279305458069, -0.8330170512199402, 0.24767740070819855, -0.09262201189994812, -0.18256624042987823, 0.1499110758304596, 0.6230547428131104, 0.1794714629650116, -0.07968207448720932, -0.12559156119823456, -0.340345561504364, -0.2133411020040512, 0.26006653904914856, -0.3496880531311035, 0.44985949993133545, -0.13600946962833405, -0.29857906699180603, -0.3408908545970917, 0.22390833497047424, 0.5795120000839233, -0.02347818948328495, 0.6270198225975037, -0.046759504824876785, -0.38174957036972046, -0.6577754020690918, -0.16717444360256195, 0.3159204125404358, -0.548197865486145, 0.437909871339798, -0.8136622309684753, -0.665805995464325, 0.7624934315681458, 0.012155008502304554, -0.07188276946544647, 0.18003004789352417, 0.5412061810493469, 0.1408136934041977, 0.9076557159423828, 0.8940423130989075, -0.1217794269323349, 0.24833330512046814, -0.490404337644577, 0.14298729598522186, -0.876155436038971, -0.4476565420627594, -0.23844489455223083, -0.3457643687725067, -0.32546642422676086, -0.685039222240448, 0.1214064359664917, -0.10078396648168564, -0.6176854968070984, 0.3180350959300995, -0.8500153422355652, 0.6977260112762451, 0.6706064343452454, 0.03750883415341377, 0.17896609008312225, -0.316066175699234, 0.044082656502723694, 0.12058858573436737, -0.8777697682380676, -0.6627689003944397, 1.1164439916610718, 0.043985024094581604, 1.2989497184753418, 0.11798880249261856, 0.9920784831047058, 0.6088907122612, 0.2247438281774521, -0.750979483127594, 0.6729210615158081, 0.5869610905647278, -0.6590408086776733, -0.07626552879810333, -0.06885842978954315, -0.9047853350639343, 0.5270254015922546, -0.15536515414714813, -0.8478768467903137, -0.06301884353160858, 0.17468270659446716, -0.28153282403945923, 0.6778650283813477, -0.37234067916870117, 0.7605952620506287, -0.1770150363445282, -0.3608425557613373, -0.14171989262104034, -0.3139292299747467, 0.18274474143981934, 0.39674538373947144, 0.2910846769809723, -0.11986783146858215, -0.25066033005714417, 0.2757647633552551, -0.6720204949378967, 0.6843584775924683, -0.3506469428539276, -0.20341484248638153, 0.7225155234336853, 0.4023747146129608, 0.8374431133270264, -0.013544844463467598, -0.3067515194416046, -0.2712223529815674, 0.020863225683569908, -0.25259584188461304, -0.6223850846290588, 0.5906163454055786, -1.0572376251220703, -0.6951785683631897, -0.5404780507087708, -1.058258056640625, 0.11332666873931885, 0.045063745230436325, 0.15334643423557281, 0.37248408794403076, -0.6562706232070923, -0.28608790040016174, 0.40349528193473816, -0.2912711501121521, 0.4915734529495239, 0.39847826957702637, -0.6112557649612427, -0.16107983887195587, 0.9554682970046997, 0.00697368523105979, 0.10162149369716644, 0.5937867760658264, -0.11060461401939392, -0.024378139525651932, -0.3258211314678192, -0.0810718983411789, -0.2709837257862091, -1.0460633039474487, -0.3075564503669739, -0.6527376770973206, -0.572603702545166, -0.2917802035808563, -0.5654646158218384, -0.2754206657409668, -0.295543372631073, 0.031153511255979538, -0.04453577101230621, 0.43792420625686646, 1.2298998832702637, -0.20147064328193665, 0.3480713367462158, -0.7513456344604492, 0.2518194317817688, 0.3434276282787323, 0.08309769630432129, -0.14254185557365417, -0.08677415549755096, -0.4740365147590637, 0.0026125090662389994, -0.3197897672653198, -0.7182106971740723, 0.8139163851737976, 0.2680247128009796, 0.866863489151001, 0.09346611797809601, 0.09117399901151657, 0.5926390886306763, -0.29256027936935425, 0.8541849255561829, -0.15220852196216583, -0.9397981762886047, 0.6488504409790039, -0.17221689224243164, 0.3286866545677185, 0.016294250264763832, -0.15252713859081268, -0.7760483026504517, -0.5899884104728699, -0.5732638239860535, -0.364656001329422, 0.8555635809898376, 0.027941426262259483, 0.1430894136428833, 0.16511861979961395, 0.6745814085006714, 0.01283054519444704, 0.15678523480892181, -0.9229262471199036, -0.1461147516965866, -0.4492594003677368, -0.0010337561834603548, -0.25397399067878723, -0.3503282964229584, -0.1686875969171524, -0.11872278153896332, 0.5412057638168335, -0.3004712164402008, 0.58066725730896, 0.3701673150062561, -0.6059972047805786, 0.006960587110370398, 0.47266072034835815, 0.43875008821487427, 0.5953945517539978, -0.2203035205602646, 0.4012739658355713, 0.08865620940923691, -0.27688339352607727, 0.6647891998291016, -0.0857294425368309, -0.3026556372642517, -0.49317947030067444, 0.5292516946792603, 0.7494980692863464, -0.20152270793914795, -0.832427442073822, 0.36258256435394287, 0.09907346218824387, -0.3902606666088104, -0.35016629099845886, 0.6176957488059998, 0.25680264830589294, 0.6486431956291199, 0.1090879887342453, 0.23424862325191498, 0.17516811192035675, -0.4024924635887146, 0.09552392363548279, 0.2439844161272049, -0.44074901938438416, -0.33096638321876526, 0.7925342321395874, 0.23134684562683105, -0.7268757224082947, 0.8218063116073608, -0.536198079586029, -0.8788212537765503, 1.2719885110855103, 1.1313408613204956, 0.6697271466255188, 0.2701331675052643, 0.21677185595035553, 0.3111945688724518, 0.4114497900009155, -0.05534503981471062, 0.8397034406661987, 0.040672723203897476, -1.0624444484710693, -0.47259798645973206, -0.4908330738544464, -0.5209150910377502, -0.319112092256546, -0.5363675951957703, -0.15877021849155426, -0.6598439812660217, -0.142092764377594, -0.4134517014026642, 0.04140349105000496, -0.8240708708763123, 0.141386479139328, 0.2886606454849243, 1.0332456827163696, -0.5828965306282043, 0.9597298502922058, 1.170140266418457, -0.22255925834178925, -0.7470242977142334, -0.2078234702348709, 0.23071779310703278, -0.9921035766601562, 1.0581837892532349, 0.45331358909606934, -0.04258018359541893, 0.008410555310547352, -0.7395259737968445, -1.2571617364883423, 1.2377451658248901, 0.2060680240392685, -0.3820796012878418, 0.17452968657016754, -0.05911194160580635, 0.6353114247322083, -0.7276220917701721, 0.0059495544992387295, 0.2100573182106018, 0.4458097517490387, -0.2155742645263672, -0.5886563658714294, 0.16660571098327637, -0.7958409190177917, 0.48921728134155273, 0.23014791309833527, -0.6644915342330933, 0.9230212569236755, -0.7526633739471436, -0.09087955951690674, 0.14777572453022003, 0.7825981378555298, 0.16460713744163513, 0.180139422416687, 0.3205857276916504, 0.554957389831543, 0.6952638626098633, 0.16106893122196198, 1.3560454845428467, -0.8872936964035034, 0.48861727118492126, 0.8600450754165649, -0.4246997833251953, 0.4936549663543701, 0.33179232478141785, -0.3230794072151184, 0.6494083404541016, 0.6532184481620789, -0.18317434191703796, 0.620629608631134, 0.24364764988422394, -0.2617763578891754, -0.5139752626419067, -0.09837208688259125, -0.08694057166576385, 0.35039517283439636, 0.21782469749450684, 0.1853502243757248, -0.035258419811725616, 0.11465251445770264, -0.3445049226284027, 0.062121596187353134, -0.5206850171089172, 0.6494387984275818, 0.1110413670539856, -0.7919817566871643, 0.2229200005531311, -0.005382636561989784, 0.643527626991272, -0.4210962653160095, -0.1517421454191208, -0.09711730480194092, 0.5192750096321106, -0.37623846530914307, -0.7448893189430237, 0.41422924399375916, -0.13390278816223145, -0.22584904730319977, -0.28537461161613464, 0.9876064658164978, -0.12545989453792572, -0.28896862268447876, 0.1891993135213852, 0.5791658759117126, 0.1953989863395691, 0.050366781651973724, -0.8759161829948425, 0.10933107882738113, -0.01772874779999256, -0.427347332239151, 0.22968509793281555, 0.3853439390659332, 0.1402091085910797, 1.3954969644546509, 0.5739784240722656, 0.14737892150878906, -0.006921019405126572, -0.3101459741592407, 0.8473791480064392, -1.073451280593872, -0.789981484413147, -0.7785447239875793, 0.4062007963657379, 0.08815141022205353, -0.1556379199028015, 0.755496621131897, 0.8549720048904419, 0.554616391658783, -0.06681537628173828, 1.1899336576461792, -0.46193739771842957, 0.08977223187685013, -0.37590840458869934, 0.40862029790878296, -0.4735780954360962, 0.26033374667167664, 0.07178032398223877, -1.0638878345489502, -0.1600492000579834, 0.8338382840156555, 0.037444598972797394, -0.23219168186187744, 0.5939054489135742, 1.2513951063156128, 0.1456155776977539, -0.19435176253318787, 0.3954601287841797, -0.010171306319534779, 0.4641566574573517, 0.7142970561981201, 1.3883585929870605, -0.12339290976524353, 0.4634599983692169, -0.4312850534915924, 0.058414846658706665, 0.023467550054192543, -0.6311942934989929, -0.896440863609314, -0.09483035653829575, -0.20429126918315887, -0.652558445930481, 0.23347873985767365, 1.1802518367767334, 0.6158839464187622, -0.4730512201786041, -0.5445497632026672, -0.1681809425354004, 0.43868833780288696, -0.4004477858543396, -0.14678888022899628, -0.053704071789979935, -0.43629392981529236, -0.7115161418914795, 0.4068075120449066, 0.20447027683258057, 0.04725194349884987, -0.4821838438510895, -0.6767627000808716, 0.19355925917625427, 0.09041028469800949, 0.4471758008003235, 0.4251563549041748, -0.6252873539924622, -0.27750205993652344, -0.12977460026741028, -0.4937853217124939, 0.0965990424156189, 0.8671838045120239, -0.7531139850616455, 0.3925931751728058, 0.3313431143760681, 0.269441694021225, 0.5736778378486633, -0.18846595287322998, 0.8462002873420715, -0.24075596034526825, 0.5264034271240234, 0.052076756954193115, 0.3009844720363617, 0.2430320531129837, -0.6829113960266113, 0.6720287203788757, 0.11368115991353989, -0.9103941917419434, -0.4956832826137543, 0.21282558143138885, -0.7673065662384033, -0.5261156558990479, 1.3693889379501343, -0.19744592905044556, -0.4346652626991272, -0.19751548767089844, -0.25840112566947937, -0.07935211807489395, -0.45624226331710815, 0.418258398771286, 0.3794460892677307, -0.5267453193664551, -0.01714705489575863, -0.5711323618888855, 0.4491676688194275, -0.33594146370887756, -0.7494279742240906, -0.24141518771648407, 0.5984566807746887, 0.35961446166038513, -0.004565785638988018, 0.9761629104614258, 0.46980416774749756, 0.2670041024684906, 0.7551620006561279, 0.7870345711708069, -0.4792291224002838, -0.1394224613904953, -0.0360378623008728, 0.2173805683851242, 0.3860471546649933, 0.05485931783914566 ]
http://arxiv.org/abs/2402.12424v4
http://arxiv.org/pdf/2402.12424v4
Tables as Texts or Images: Evaluating the Table Reasoning Ability of LLMs and MLLMs
2024-02-19T16:34:50
2024-06-06T03:02:25
Naihao Deng, Zhenjie Sun, Ruiqi He, Aman Sikka, Yulong Chen, Lin Ma, Yue Zhang, Rada Mihalcea
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV
In this paper, we investigate the effectiveness of various LLMs in interpreting tabular data through different prompting strategies and data formats. Our analyses extend across six benchmarks for table-related tasks such as question-answering and fact-checking. We introduce for the first time the assessment of LLMs' performance on image-based table representations. Specifically, we compare five text-based and three image-based table representations, demonstrating the role of representation and prompting on LLM performance. Our study provides insights into the effective use of LLMs on table-related tasks.
[ -0.2658611834049225, -0.9977365136146545, 0.9287935495376587, 0.2060825675725937, -0.39825451374053955, -0.007037690840661526, 0.14001330733299255, -0.41838178038597107, -0.15841060876846313, 0.5840138792991638, -0.48373228311538696, -0.7788315415382385, -0.44462132453918457, 0.3683643937110901, -0.6981266140937805, 0.702095091342926, -0.3166569769382477, 0.4226657748222351, -0.9255236983299255, -0.094866082072258, -0.7141223549842834, -0.31143319606781006, -0.5644482374191284, -0.6558195948600769, 0.8534553647041321, 0.6992208361625671, 0.8326752185821533, 0.7590029239654541, 0.7166386842727661, 0.20606806874275208, 0.18184322118759155, 0.22442354261875153, -0.2004263699054718, 0.2895963788032532, 0.09799075871706009, -0.7632455229759216, -0.26284217834472656, 0.1256372034549713, 0.5306269526481628, 0.4573739767074585, -0.06271248310804367, 0.3530154824256897, 0.1292303055524826, 1.1868557929992676, -0.3068172335624695, 0.428440660238266, -0.6759781837463379, 0.4799288511276245, -0.0865604355931282, -0.4219202399253845, -0.7605705261230469, -0.6733565926551819, -0.013331453315913677, -0.5091557502746582, -0.10800512880086899, 0.43193694949150085, 0.5297184586524963, 0.23785342276096344, -0.4867619574069977, -0.7702434659004211, -0.6195128560066223, 0.4790419042110443, -0.33194077014923096, 0.6353002190589905, 0.22041386365890503, 0.348254919052124, -0.3050101399421692, -1.014897108078003, -0.6274576187133789, -0.667985737323761, -0.33148863911628723, 0.09521999210119247, -0.024225521832704544, -0.13761170208454132, 0.6980579495429993, 0.2760244905948639, -0.7239802479743958, 0.04071079194545746, -0.1344393491744995, -0.030279245227575302, 0.38268768787384033, 0.4058224558830261, 0.4420526325702667, -0.06648746877908707, -0.509848952293396, -0.0959482491016388, -0.8157374858856201, 0.12759332358837128, 0.007860517129302025, 0.02083025500178337, -0.03742659091949463, 0.8794127702713013, 0.056710708886384964, 1.0305025577545166, -0.4256646931171417, -0.2295602411031723, -0.17999327182769775, -0.14254841208457947, -0.39546409249305725, -0.08626803010702133, 0.4662878215312958, 0.6439802646636963, 0.25102418661117554, -0.1933298110961914, -0.21634520590305328, 0.28083425760269165, 0.13109654188156128, -0.24872846901416779, 0.04830664023756981, 0.04672059044241905, -0.650661826133728, -0.08185425400733948, -0.038762643933296204, -0.92253577709198, -0.7694564461708069, -0.46605584025382996, 0.6786379218101501, -0.20124785602092743, 0.3151071071624756, -0.22471027076244354, -0.30666735768318176, 0.4392797350883484, 0.6301883459091187, -0.6195542216300964, 0.43039798736572266, 0.3705788254737854, 0.7223125100135803, -0.5819031000137329, -0.06977713108062744, -0.38292479515075684, 0.27808505296707153, -0.6644816398620605, 1.126763105392456, -0.37115633487701416, -0.5234689116477966, 0.21370728313922882, -0.14204396307468414, -0.04584179073572159, -0.8212063312530518, 0.7032906413078308, -0.4735356271266937, -0.0030897643882781267, -0.8417729139328003, -0.7025416493415833, -0.25768381357192993, 0.5223142504692078, -1.1629351377487183, 1.0638229846954346, -0.050048746168613434, -0.4272637665271759, 0.8410927057266235, -0.8759850859642029, -0.450274795293808, -0.055632710456848145, -0.5620598793029785, -0.45937880873680115, -0.2018224000930786, 0.4135538935661316, 0.7366895079612732, -0.3670850694179535, -0.05187580734491348, -0.01657669059932232, -0.5156958103179932, 0.7255393266677856, -0.35825830698013306, 0.20984002947807312, 0.1540001779794693, -0.21066328883171082, 0.16656993329524994, -0.43658047914505005, 0.02174040488898754, 0.1702108383178711, -0.6512183547019958, 0.23708924651145935, 0.3568077087402344, -0.19085818529129028, -0.07711161673069, -0.023479340597987175, -0.129286989569664, 0.27495113015174866, 0.27883490920066833, 0.14081716537475586, 0.32623031735420227, -0.018380852416157722, 0.2697347104549408, -0.6111900210380554, 0.2529483735561371, 0.1964062601327896, -0.11998414993286133, -0.10677757859230042, -0.5709960460662842, -0.7731390595436096, 0.12480375915765762, 0.2492893785238266, 0.7209354639053345, -1.1898289918899536, -0.22702479362487793, -0.0714765340089798, -0.581157922744751, -0.006727855186909437, 0.19566288590431213, 0.33584368228912354, 0.8083688616752625, 0.4470921456813812, -0.02788507752120495, -0.36370038986206055, -0.8615196347236633, -0.5373750925064087, -0.19980618357658386, 0.07602271437644958, 0.38169142603874207, 0.6048384308815002, 0.225357323884964, 0.6320709586143494, -0.19051024317741394, -0.21822373569011688, -0.5133235454559326, 0.2507516145706177, 0.252976655960083, 0.36727777123451233, 0.4215616285800934, -0.5566287636756897, -0.6585384011268616, -0.0895862877368927, -1.0858896970748901, 0.01667778752744198, -0.30507391691207886, 0.10251449793577194, 0.5920473337173462, 0.5718560814857483, -0.5641067624092102, 0.8347979187965393, 0.009731206111609936, -0.5340268015861511, 0.5871894955635071, -0.09958944469690323, 0.4945026934146881, -0.1769300252199173, 0.0804540365934372, 0.12277337908744812, -0.2753605246543884, -0.7690653204917908, -0.3246447741985321, 0.21564312279224396, -0.17262762784957886, -0.4681154787540436, 0.4933631122112274, -0.8917939066886902, -0.6471502184867859, 0.08392346650362015, 0.1785016655921936, 0.032135721296072006, 0.2758294939994812, 0.07893440127372742, 0.9804466962814331, 0.4248799979686737, -0.5285244584083557, 0.3920697867870331, 0.1387772560119629, -0.7630612254142761, 0.7506163120269775, -0.5725617408752441, 0.17967680096626282, -0.2967199981212616, 0.07265084981918335, -1.2421787977218628, 0.06143096834421158, 0.44819703698158264, -0.08161941170692444, 0.46222302317619324, 0.14616337418556213, -0.6490116119384766, -0.5797774195671082, -0.360851913690567, -0.311428964138031, 0.5081977844238281, -0.4879706799983978, 0.6994658708572388, 0.050224605947732925, 0.0795755609869957, -0.7933049201965332, -0.8055157661437988, 0.24454209208488464, -0.38013768196105957, -0.3826662302017212, 0.3479696214199066, 0.15760834515094757, -0.4856635630130768, 0.22568254172801971, -0.27478858828544617, 0.008475092239677906, -0.11274693161249161, 0.2937247157096863, 0.4044644832611084, -0.1296926736831665, 0.0004271967918612063, -0.22775886952877045, 0.05327403545379639, 0.22459621727466583, 0.25132590532302856, 0.31665274500846863, -0.15006275475025177, -0.49367237091064453, -0.5528364181518555, 0.13591241836547852, 0.3276696503162384, 0.2979578971862793, 0.7134835720062256, 0.4973505437374115, -0.17908993363380432, 0.03661024942994118, -0.8251126408576965, -0.17655996978282928, -0.4228796064853668, 0.1102457121014595, -0.4014407992362976, -0.5044706463813782, 0.7627542614936829, -0.05421700328588486, 0.22209343314170837, 0.22894912958145142, 0.48113685846328735, -0.6703308820724487, 0.7920476794242859, -0.02077312581241131, 0.23726008832454681, 0.2655879855155945, -0.3094874918460846, -0.1785658597946167, -0.5465306639671326, -0.680252730846405, -0.7059140205383301, -0.6340423226356506, -0.3058457374572754, -0.5072532296180725, 0.41407451033592224, -0.12088888883590698, -0.14450183510780334, -0.051568154245615005, -0.49253690242767334, 0.6651050448417664, 0.4677084684371948, 0.45276138186454773, 0.5740563273429871, 0.14080722630023956, -0.1042630597949028, -0.1183350533246994, -0.7560594081878662, -0.883837103843689, 0.8837679028511047, 0.31359830498695374, 1.0979588031768799, -0.2848796844482422, 0.30595213174819946, 0.6246387958526611, 0.7071815729141235, -0.8059208393096924, 0.9058219790458679, -0.1356576830148697, -0.5931337475776672, -0.5136250853538513, -0.34169381856918335, -0.9819461107254028, 0.287423312664032, -0.4416802227497101, -0.8340010643005371, -0.1016351655125618, 0.11502140015363693, 0.06627747416496277, 0.38490384817123413, -0.767155647277832, 0.9738894701004028, -0.5129941701889038, -0.34508371353149414, -0.02966686524450779, -0.2628239393234253, 0.21156568825244904, 0.3975682258605957, 0.10420919954776764, -0.20058730244636536, -0.364031583070755, 0.9064137935638428, 0.030499326065182686, 0.7174416184425354, -0.30804306268692017, 0.19813470542430878, 0.5226389169692993, 0.2438054233789444, 0.45862269401550293, -0.11317551881074905, -0.30871573090553284, -0.044430673122406006, 0.20408837497234344, -0.1420278400182724, -1.0786473751068115, 0.35564589500427246, -0.36413347721099854, -0.8388227224349976, -0.28275492787361145, -0.7310193777084351, -0.422015517950058, -0.07561255991458893, 0.01866915263235569, 0.48623260855674744, -0.004750004503875971, 0.3046407103538513, 0.45757171511650085, -0.18619216978549957, 0.3818371295928955, 0.33033642172813416, -0.3843308389186859, -0.17382961511611938, 0.6582637429237366, 0.511911153793335, -0.08014439046382904, 0.4487539529800415, 0.03678686171770096, -0.8151331543922424, -0.7988526821136475, -0.6498529314994812, 0.010996486060321331, -1.0854947566986084, -0.223113015294075, -0.15924815833568573, -0.02522682212293148, 0.19936130940914154, -0.089584119617939, 0.3538582921028137, -0.40960246324539185, -0.5367941856384277, -0.14578209817409515, 0.3412647247314453, 0.9684818983078003, 0.33761560916900635, 0.19981183111667633, -0.5688285827636719, 0.2779231071472168, 0.4955675005912781, 0.44465988874435425, 0.08732359856367111, -0.17422854900360107, 0.12449672073125839, -0.3953538239002228, -0.3315284848213196, -1.500796914100647, 0.10060080885887146, -0.0966433584690094, 1.102887511253357, 0.19197826087474823, -0.307587593793869, 0.5470362305641174, -0.5187217593193054, 0.9140341877937317, 0.24794788658618927, -0.7775337100028992, 0.5514525175094604, 0.011594624258577824, 0.10585899651050568, 0.3936136066913605, 0.6284173130989075, -0.29985013604164124, -0.19527395069599152, -0.19004954397678375, -0.29593634605407715, 0.4642147123813629, 0.1294667273759842, -0.12986265122890472, 0.2982514500617981, 0.622520923614502, 0.14437918365001678, 0.2527052164077759, -1.045522689819336, -0.3930476903915405, 0.02492598071694374, -0.18318353593349457, 0.20426872372627258, -0.5867168307304382, -0.03560999408364296, -0.35622137784957886, 0.24447870254516602, 0.013551760464906693, 0.45248788595199585, 0.39958319067955017, -0.29175207018852234, 0.08280279487371445, 0.38383737206459045, 0.6418506503105164, 0.8038658499717712, 0.011471436358988285, 0.3780451714992523, 0.5749263763427734, -0.3280714452266693, 0.22341486811637878, -0.20868556201457977, -0.08287706226110458, 0.22720938920974731, 0.4187236428260803, 0.7973191738128662, 0.11805973201990128, -0.5602573156356812, -0.029117615893483162, -0.1425752341747284, -0.36566802859306335, 0.06274092197418213, 0.2648487091064453, 0.256026029586792, 0.12317958474159241, 0.4522002637386322, -0.6202014684677124, 0.18449611961841583, -0.8975849151611328, 0.25007036328315735, 0.5654833912849426, -0.38730934262275696, 0.31869783997535706, 0.4334423840045929, -0.03181985393166542, -0.43530064821243286, 0.4847015142440796, 0.028831718489527702, -0.23013034462928772, 0.8439502120018005, 0.5482046604156494, 0.13557328283786774, 0.0029626686591655016, 0.28516092896461487, 0.21042753756046295, 0.4801619052886963, 0.11027863621711731, 0.9053557515144348, -0.09614582359790802, -0.5796135663986206, -0.16323067247867584, -0.10543493926525116, -0.7211500406265259, 0.27625221014022827, -0.5086548328399658, 0.13627636432647705, -0.3764461576938629, -0.39294928312301636, 0.3278350532054901, 0.06932999193668365, -0.7582178711891174, 0.19191327691078186, -0.03775379806756973, 1.1083492040634155, -0.5201299786567688, 0.39553746581077576, 0.8622344732284546, -0.27020731568336487, -0.8679024577140808, -0.512873113155365, 0.003165682777762413, -0.8799003958702087, 0.8762326836585999, 0.09812215715646744, 0.3643992841243744, -0.17630839347839355, -0.7590774893760681, -0.5141420364379883, 1.2471904754638672, 0.4761640131473541, -0.5364729762077332, 0.1153457835316658, 0.70069420337677, 0.447986900806427, -0.30282557010650635, 0.3600129187107086, 0.8535088300704956, 0.9324403405189514, 0.2237912118434906, -0.5627029538154602, 0.17874497175216675, 0.08314984291791916, -0.10625099390745163, -0.0274087805300951, -0.01779010333120823, 0.5107570290565491, -0.18015022575855255, -0.33724603056907654, -0.19559045135974884, 0.5576506853103638, 0.4372698664665222, 0.757526159286499, 0.6265407800674438, 0.4340556561946869, 0.7086923718452454, -0.5995355844497681, 0.9550830721855164, 0.1563313603401184, -0.12003228813409805, 0.7917629480361938, -0.45861580967903137, 0.7618823051452637, 0.6510717868804932, -0.4132704436779022, 0.6802965402603149, 0.6418784856796265, -0.39572280645370483, 0.19856929779052734, 0.34762823581695557, 0.05126028507947922, -0.016281794756650925, -0.19714979827404022, -0.28063860535621643, 0.20959515869617462, 0.8137469291687012, -0.48272356390953064, -0.46442556381225586, -0.18458415567874908, -0.26034030318260193, 0.17609459161758423, -0.5568687915802002, 0.8240318894386292, 0.12166612595319748, -0.5806843638420105, 0.2714281678199768, -0.37494730949401855, 0.17374378442764282, -0.13956838846206665, -0.5128755569458008, -0.10879610478878021, -0.5237165689468384, -0.41781044006347656, -1.5509581565856934, 0.34641969203948975, 0.12564906477928162, 0.07364359498023987, -0.33812326192855835, 1.2402743101119995, -0.31574660539627075, -0.2854369878768921, -0.07521840184926987, 0.931948721408844, 0.38398879766464233, 0.24219153821468353, -0.9614708423614502, 0.3541789948940277, -0.09925477206707001, -0.3758678436279297, 0.042330097407102585, 0.3090325593948364, -0.0596347339451313, 0.8290079236030579, 0.5026747584342957, -0.046418413519859314, -0.10808572173118591, 0.21904350817203522, 0.6660709381103516, -0.8000063896179199, -0.10084090381860733, -1.1072137355804443, 0.4998134672641754, -0.09161991626024246, 0.13062873482704163, 0.6622856259346008, 0.5718019008636475, 0.22319577634334564, -0.4170152246952057, 0.3061704933643341, 0.1798953264951706, 0.397927463054657, -0.9371351599693298, 0.744848906993866, -0.38778749108314514, 0.08788615465164185, -0.3087785542011261, -0.8998742699623108, -0.32776474952697754, 0.6741161346435547, -0.6672824621200562, -0.0008408646681345999, 0.8414533734321594, 0.6112412810325623, 0.40347158908843994, 0.22365376353263855, 0.4684070348739624, -0.18405480682849884, 0.039129551500082016, 0.2407522201538086, 1.3846880197525024, -0.08717532455921173, 0.6597065329551697, -0.09301035106182098, 0.10955329984426498, -0.10683001577854156, -1.0830624103546143, -1.1724791526794434, -0.514814019203186, -0.20846132934093475, -0.23010319471359253, -0.051770903170108795, 0.4580244719982147, 0.43613243103027344, -0.5098671913146973, -0.408917635679245, -0.00082575244596228, 0.6710824370384216, -0.052403829991817474, -0.23843595385551453, 0.4226720929145813, -0.21084743738174438, -0.20142926275730133, 0.08339709043502808, 0.3618546724319458, 0.4792101979255676, -0.2507234215736389, 0.06645841151475906, -0.07815904170274734, -0.0185446348041296, 0.67190021276474, 0.0038866191171109676, -0.6786919832229614, -0.04814323037862778, 0.1315133422613144, -0.28917768597602844, 0.39443618059158325, 0.9041724801063538, -0.7422678470611572, 0.1363237500190735, 0.5180826783180237, 0.46110084652900696, 0.6105982661247253, 0.03047829493880272, 0.1684209555387497, -0.39695626497268677, -0.060128241777420044, 0.35237857699394226, 0.46797406673431396, 0.333429217338562, -0.40956684947013855, 0.7931185960769653, 0.016797473654150963, -0.5822950005531311, -0.8264741897583008, -0.1660480499267578, -1.0214591026306152, -0.20753222703933716, 0.9211491346359253, -0.0038751112297177315, -0.42389145493507385, -0.2041628509759903, -0.36060383915901184, 0.20073774456977844, -0.2854526937007904, 0.8148593902587891, 0.8166472911834717, -0.5774494409561157, -0.5323046445846558, -0.8666996359825134, 0.6680032014846802, 0.2980639338493347, -1.3677217960357666, -0.1576114147901535, 0.5407918095588684, -0.06971368938684464, 0.1584792584180832, 0.6328647136688232, -0.25753453373908997, 0.3850485384464264, -0.00650229724124074, -0.21117688715457916, -0.13241097331047058, -0.38371625542640686, 0.00697717722505331, 0.09370557963848114, 0.17058062553405762, 0.11424170434474945 ]
http://arxiv.org/abs/2402.12267v1
http://arxiv.org/pdf/2402.12267v1
High-quality Data-to-Text Generation for Severely Under-Resourced Languages with Out-of-the-box Large Language Models
2024-02-19T16:29:40
2024-02-19T16:29:40
Michela Lorandi, Anya Belz
cs.CL
cs.CL
The performance of NLP methods for severely under-resourced languages cannot currently hope to match the state of the art in NLP methods for well resourced languages. We explore the extent to which pretrained large language models (LLMs) can bridge this gap, via the example of data-to-text generation for Irish, Welsh, Breton and Maltese. We test LLMs on these under-resourced languages and English, in a range of scenarios. We find that LLMs easily set the state of the art for the under-resourced languages by substantial margins, as measured by both automatic and human evaluations. For all our languages, human evaluation shows on-a-par performance with humans for our best systems, but BLEU scores collapse compared to English, casting doubt on the metric's suitability for evaluating non-task-specific systems. Overall, our results demonstrate the great potential of LLMs to bridge the performance gap for under-resourced languages.
[ -0.2970081567764282, -0.3768378794193268, 0.573129415512085, 0.2804964482784271, -0.3196868300437927, 0.25323763489723206, -0.6982863545417786, -0.48236528038978577, 0.029179910197854042, 0.8251366019248962, -0.4389406740665436, -0.3248010277748108, -0.5523484349250793, 0.4453645646572113, -0.3944261372089386, 0.9088758230209351, -0.052091777324676514, 0.018200768157839775, -0.3370557129383087, 0.006694796495139599, -0.36882299184799194, -0.7623193860054016, -0.5479639172554016, -0.5384294390678406, 0.4149254858493805, 0.3322417736053467, 0.7051547765731812, 0.4832223951816559, 0.5592383742332458, 0.2811557948589325, -0.07651253789663315, 0.40429699420928955, -0.66822749376297, 0.03833717107772827, -0.3220311999320984, -0.2420796900987625, -0.5371595621109009, -0.02726231887936592, 0.6250627040863037, 0.9443125128746033, -0.11508875340223312, 0.14560027420520782, 0.36776068806648254, 0.7249460220336914, -0.4721461832523346, 0.028617126867175102, -0.8408735990524292, -0.06313931196928024, -0.45583969354629517, -0.311577707529068, -0.46783584356307983, -0.1943177878856659, -0.14430737495422363, -0.3817388415336609, 0.24836145341396332, 0.11621864885091782, 0.661246657371521, 0.3270459473133087, -0.2693461775779724, -0.3880237340927124, -0.9197185039520264, 0.8553861379623413, -0.802466094493866, 0.4777490794658661, 0.47966063022613525, -0.03902275487780571, -0.3940579295158386, -0.7110949754714966, -0.45240554213523865, -0.4436146020889282, -0.12228645384311676, 0.06507695466279984, -0.1671755164861679, -0.06748882681131363, 0.3431101143360138, 0.4668978750705719, -0.6175209879875183, 0.5103636384010315, -0.34217432141304016, 0.1407611221075058, 0.8716886043548584, 0.08610900491476059, 0.17570191621780396, -0.19187520444393158, -0.11865647882223129, 0.00535189313814044, -0.9947859048843384, -0.160902738571167, 0.5350592732429504, 0.6713632345199585, 0.017613695934414864, 0.7104765772819519, 0.0797886922955513, 0.6586557626724243, -0.052606966346502304, -0.004907774273306131, 0.09823562204837799, -0.28419506549835205, -0.2501939535140991, -0.026018312200903893, 1.0246015787124634, 0.19883742928504944, 0.49668699502944946, -0.3472369909286499, -0.5491836071014404, 0.15729062259197235, 0.15704800188541412, -0.6591683030128479, -0.09632060676813126, -0.0835888683795929, -0.19238899648189545, -0.027247242629528046, -0.3529509902000427, -0.6406463980674744, -0.20436608791351318, -0.06676800549030304, 0.3190516233444214, -0.0006855072570033371, -0.3706173598766327, 0.33630287647247314, 0.18665222823619843, -0.15364590287208557, 0.06673573702573776, -1.0492887496948242, 0.4565545916557312, 0.34968435764312744, 0.6003322005271912, -0.308890163898468, -0.18388104438781738, -0.3252143859863281, 0.0766603872179985, -0.6447905898094177, 0.517896831035614, -0.42777717113494873, -0.47813573479652405, 0.1637943685054779, -0.06045100465416908, 0.03636657074093819, -0.7822610139846802, 0.5485441088676453, -0.5124664902687073, 0.21068251132965088, -0.19633181393146515, -0.547153115272522, 0.33874577283859253, 0.06338562816381454, -0.7935774326324463, 1.175905466079712, 0.268883615732193, -0.7127648591995239, 0.3326466679573059, -0.5097138285636902, -0.6399422287940979, 0.31382161378860474, -0.07009188085794449, -0.10912430286407471, 0.4098796844482422, 0.17754973471164703, 0.6884336471557617, -0.7910138964653015, 0.35777872800827026, -0.05301492288708687, -0.2734072208404541, 0.17151996493339539, -0.6156554818153381, 0.5602865815162659, 0.18464121222496033, -0.19492553174495697, -0.3473518192768097, -0.7607963681221008, 0.3380151093006134, 0.2063838243484497, -0.6702888607978821, -0.22524917125701904, 0.01098113413900137, 0.34994998574256897, 0.42544081807136536, 0.24498774111270905, -0.5596732497215271, 0.04264327138662338, -0.5492264032363892, 0.6322829127311707, 0.38589978218078613, -0.5489749312400818, 0.23174794018268585, -0.15877769887447357, 0.6046077013015747, -0.2335262894630432, -0.262268990278244, -0.07629598677158356, -0.26093342900276184, -0.7847595810890198, -0.01323600672185421, 0.5196939706802368, 0.6130877733230591, -0.843275249004364, 0.6062437295913696, -0.21921059489250183, -0.4179387092590332, -0.6909289956092834, 0.5830628275871277, 0.5847228765487671, 0.31541723012924194, 0.4034631848335266, -0.524398148059845, -0.40531012415885925, -0.7275217175483704, -0.045476678758859634, -0.346915066242218, -0.268832266330719, 0.2839981019496918, 0.36992231011390686, -0.367386132478714, 0.7253944873809814, -0.17631536722183228, -0.05007215216755867, -0.5760115385055542, -0.04425087571144104, 0.15081976354122162, 0.5132743716239929, 0.25496456027030945, -0.5571019053459167, -0.23029504716396332, 0.09574391692876816, -0.43736299872398376, -0.3389623165130615, 0.10291324555873871, 0.045544903725385666, 0.43847617506980896, 0.6881359815597534, -0.520246684551239, 0.12082923203706741, 0.9078361392021179, -0.16632984578609467, 0.539071798324585, -0.4399828612804413, 0.09379351139068604, -1.1262632608413696, 0.1296169012784958, 0.021876009181141853, -0.2724124789237976, -0.3962368965148926, -0.18348917365074158, -0.06042669713497162, -0.3390062153339386, -0.4559963047504425, 0.7776103019714355, -0.44093674421310425, -0.27623528242111206, -0.19112344086170197, 0.08583203703165054, -0.00926816277205944, 0.0866951197385788, 0.2537960112094879, 0.7501980066299438, 0.262186199426651, -0.4291349947452545, 0.4352266490459442, 0.14235596358776093, -0.49448397755622864, 0.33871373534202576, -0.6319434642791748, 0.00006407630280591547, 0.07517934590578079, 0.2325230985879898, -0.7913048267364502, -0.3571442663669586, -0.36309975385665894, -0.20919737219810486, 0.5274927020072937, -0.1411786675453186, -0.5857455730438232, -0.48862630128860474, 0.17407658696174622, 0.5783936977386475, 0.5708959102630615, -0.6245998740196228, 0.13212399184703827, 0.2553572356700897, -0.4232676029205322, -0.42415574193000793, -0.9351436495780945, 0.32884255051612854, -0.24615980684757233, -0.6891314387321472, 0.298233300447464, 0.0332346186041832, -0.20590004324913025, -0.1241103857755661, 0.28477269411087036, -0.2316880077123642, 0.12996281683444977, -0.022531358525156975, 0.1021420806646347, -0.475960373878479, 0.23238827288150787, -0.2810024321079254, -0.11642167717218399, -0.003511085407808423, -0.3499637544155121, 0.6922777891159058, 0.01718338578939438, -0.4518476724624634, -0.27708035707473755, 0.45997822284698486, 0.398216187953949, -0.36602240800857544, 0.5900989174842834, 0.2855055332183838, -0.3327036201953888, -0.36554327607154846, -0.6285995841026306, -0.036518972367048264, -0.4878549873828888, 0.45359471440315247, -0.13973137736320496, -0.9485424160957336, 0.33383509516716003, -0.29574766755104065, 0.03434759005904198, 0.5600377321243286, 0.588827908039093, -0.30490684509277344, 0.8295885324478149, 0.814140260219574, 0.03523295000195503, 0.20562992990016937, -0.15407738089561462, 0.15596319735050201, -0.5677804350852966, 0.07731465995311737, -0.6962623596191406, -0.09819051623344421, -1.0036126375198364, -0.37272635102272034, 0.11587680876255035, 0.32550153136253357, -0.09273747354745865, 0.19309403002262115, -0.13218264281749725, 0.6100636720657349, 0.5362549424171448, -0.0804871991276741, 0.23951077461242676, 0.013474828563630581, 0.055566370487213135, -0.08687134832143784, -1.0544426441192627, -0.8897265791893005, 1.2180707454681396, 0.08045827597379684, 0.9091909527778625, -0.21578994393348694, 0.7620161175727844, 0.22642433643341064, 0.15442170202732086, -0.4962398111820221, 0.3682560920715332, -0.6994568109512329, -0.4894355833530426, -0.4337296485900879, -0.6304590702056885, -1.1048872470855713, -0.15950556099414825, -0.3380487561225891, -0.47576770186424255, -0.12635838985443115, 0.3210126757621765, -0.42412620782852173, 0.3432893455028534, -0.7080392837524414, 0.80641770362854, -0.49243125319480896, -0.436874657869339, -0.11908658593893051, -0.3877546489238739, 0.36074182391166687, -0.5154318809509277, 0.3028607964515686, 0.023329542949795723, 0.18412275612354279, 0.7869550585746765, -0.3586570918560028, 0.6666433811187744, 0.12861639261245728, -0.2869882881641388, 0.07436604797840118, -0.06433169543743134, 0.3192083239555359, -0.04360409453511238, -0.22904428839683533, 0.22496114671230316, -0.26783865690231323, -0.568759560585022, -0.41903552412986755, 0.6965036392211914, -0.5748580098152161, -0.4708836078643799, -0.06822330504655838, -0.4933856427669525, -0.389619916677475, 0.09930554777383804, 0.3939775824546814, 0.5478264093399048, -0.2819177508354187, 0.11614682525396347, 0.6119214296340942, -0.5427795052528381, 0.5650464296340942, 0.4123101234436035, -0.07457070052623749, -0.24419783055782318, 0.7192268967628479, 0.2597895860671997, 0.4684721827507019, 0.12852226197719574, 0.08784159272909164, -0.4356880486011505, -0.6959744691848755, -0.727353572845459, 0.23349331319332123, -0.2518673837184906, -0.16559502482414246, -0.27375757694244385, -0.3267168700695038, -0.1935662180185318, -0.46953505277633667, -0.6641846299171448, -0.38410353660583496, -0.24365898966789246, 0.049994733184576035, 0.01994640938937664, 1.0482559204101562, -0.1330655813217163, 0.48021191358566284, -0.8610329031944275, 0.2704950273036957, 0.32257509231567383, 0.3855000138282776, -0.08415510505437851, -0.48038893938064575, -0.4186319410800934, -0.0063012223690748215, -0.2537451982498169, -0.4371262192726135, 0.42185071110725403, 0.13176892697811127, 0.40407776832580566, 0.10757116973400116, 0.13086000084877014, 0.4740947484970093, -0.7791842818260193, 0.7605863213539124, 0.28305739164352417, -0.7397416234016418, 0.369550496339798, -0.25073572993278503, 0.20350781083106995, 0.36564046144485474, 0.3803546726703644, -0.5857191681861877, -0.5580695867538452, -0.5768187642097473, -1.030174970626831, 0.7323846220970154, 0.2213592529296875, 0.3208446204662323, -0.07228535413742065, 0.26932406425476074, 0.1772177368402481, 0.2723146677017212, -0.7693985104560852, 0.08864319324493408, 0.10085384547710419, -0.20673660933971405, -0.5999365448951721, -0.3422450125217438, 0.08067545294761658, 0.042374905198812485, 0.636959969997406, 0.05951721593737602, -0.024339696392416954, -0.04549065977334976, -0.13823865354061127, -0.3630536198616028, 0.38391250371932983, 0.38496509194374084, 0.9741800427436829, -0.13094158470630646, -0.016405750066041946, 0.2536162734031677, -0.4594854712486267, 0.40896934270858765, 0.14032703638076782, 0.022099779918789864, -0.14786049723625183, 0.7628216743469238, 0.7659417390823364, 0.06708995997905731, -0.6202638149261475, 0.457843154668808, -0.14521923661231995, 0.058376505970954895, -0.0606449730694294, 0.17658227682113647, 0.21304337680339813, 0.22307747602462769, 0.40196749567985535, -0.13483797013759613, -0.4885404706001282, -0.5505642890930176, 0.15399514138698578, 0.5016916990280151, -0.1350187361240387, -0.27002477645874023, 0.5287147760391235, 0.5928615927696228, -0.4941771626472473, 0.6368560194969177, -0.18892396986484528, -0.4041050970554352, 0.46662265062332153, 0.6751682162284851, 0.6237919926643372, -0.2809986174106598, 0.12040083855390549, 0.106228306889534, 0.5735698938369751, -0.32917076349258423, 0.36448296904563904, 0.1253589391708374, -0.7796858549118042, -0.9045819044113159, -0.9072080850601196, -0.25880447030067444, 0.4809877574443817, -0.6125975251197815, 0.1698104590177536, -0.24908779561519623, -0.33740416169166565, -0.13266603648662567, 0.33017948269844055, -0.9372150301933289, 0.4354304075241089, 0.2699747085571289, 0.8632247447967529, -1.1493864059448242, 0.7360602021217346, 0.6016055941581726, 0.010749484412372112, -0.6779187321662903, -0.04155702888965607, -0.49139195680618286, -0.651283860206604, 0.7013118267059326, -0.03216071426868439, -0.16244925558567047, 0.2092158943414688, -0.33749350905418396, -0.7376611232757568, 0.6202446818351746, 0.8366997241973877, -0.8296036124229431, -0.13518954813480377, 0.4756719470024109, 0.7384276390075684, -0.18834419548511505, 0.30645856261253357, 0.6635458469390869, 0.3492303490638733, -0.1010032445192337, -1.229261040687561, -0.24328680336475372, 0.03276589885354042, -0.008877216838300228, 0.311668336391449, -0.5818225741386414, 0.5483542084693909, -0.1390099823474884, -0.26104971766471863, -0.021293850615620613, 0.5103803873062134, 0.11030931770801544, 0.12628816068172455, 0.41196414828300476, 0.7259235978126526, 0.7651857733726501, -0.04858057200908661, 1.0609718561172485, -0.22774720191955566, 0.05992676317691803, 0.91957026720047, -0.4639792740345001, 0.9674850106239319, 0.32912713289260864, -0.25492605566978455, 0.06373509019613266, 0.4576791822910309, 0.3393092155456543, 0.24625365436077118, 0.45352739095687866, -0.14897464215755463, -0.5815736055374146, -0.22416436672210693, -0.33464711904525757, 0.5511002540588379, 0.33140406012535095, -0.2291553020477295, -0.2283826619386673, 0.007661424111574888, -0.11250327527523041, 0.31899401545524597, -0.47628238797187805, 0.7376614809036255, 0.12530185282230377, -0.5257923603057861, 0.9367251992225647, -0.052700936794281006, 0.8454649448394775, -0.5252198576927185, 0.19166529178619385, -0.2870670557022095, -0.03758034482598305, -0.30724480748176575, -0.7604515552520752, 0.14303924143314362, 0.46125683188438416, -0.28668835759162903, -0.5498753786087036, 0.4641576409339905, -0.6756858229637146, -0.8081910610198975, 0.6060300469398499, 0.786656379699707, 0.2993262708187103, 0.1882418990135193, -0.4069463610649109, -0.045751702040433884, -0.09313665330410004, -0.2813643515110016, 0.37498781085014343, 0.6419494152069092, -0.04525906965136528, 0.5814944505691528, 0.5051133036613464, 0.5861181020736694, 0.11212074756622314, -0.04718225076794624, 0.8109835386276245, -0.6723482012748718, -0.1933363974094391, -0.851097822189331, 0.23604288697242737, 0.22295568883419037, -0.4685439169406891, 0.47544434666633606, 0.6244235038757324, 1.225142478942871, 0.09559489041566849, 0.7706252932548523, 0.2192360907793045, 0.6229040622711182, -0.7712265849113464, 0.8988901376724243, -0.7036375999450684, 0.10923151671886444, -0.37133675813674927, -1.1001067161560059, -0.09109587967395782, 0.34498003125190735, -0.09834779798984528, -0.005881076212972403, 0.5856329202651978, 0.7042061686515808, -0.18165473639965057, -0.30780908465385437, 0.6358223557472229, 0.22772204875946045, 0.15234322845935822, 0.658715009689331, 1.0139302015304565, -0.09701674431562424, 0.4866969883441925, -0.0005335678579285741, -0.02542368695139885, 0.07095327973365784, -0.9621008634567261, -0.9004024863243103, -0.5129032731056213, -0.05311441421508789, -0.19866566359996796, 0.10300257802009583, 0.8933417797088623, 0.6303614377975464, -0.7076629996299744, -0.5244570970535278, 0.0739416629076004, -0.17143312096595764, 0.28343114256858826, -0.09131572395563126, 0.28314706683158875, -0.44701331853866577, -0.6958276629447937, 0.6003029942512512, 0.11843720078468323, 0.1501864492893219, -0.4447494447231293, -0.18383446335792542, 0.11094003170728683, 0.10050050169229507, 0.5683350563049316, 0.22238323092460632, -0.5360835790634155, 0.16396282613277435, -0.2712664008140564, -0.30416417121887207, 0.021498754620552063, 0.8253135085105896, -0.8632674217224121, 0.09708286821842194, 0.24225381016731262, 0.8764693737030029, 0.46474120020866394, -0.047825656831264496, 0.8034406304359436, -0.9762122631072998, 0.21242853999137878, 0.42790666222572327, 0.28136691451072693, 0.6990613341331482, -0.09619908034801483, 0.3274948298931122, 0.0023332720156759024, -0.6185007095336914, -1.048877239227295, 0.21973034739494324, -0.456967294216156, -0.03667820990085602, 1.0945544242858887, -0.1913168877363205, -0.05530274286866188, -0.02633870393037796, 0.04188087210059166, 0.2310606986284256, -0.17394471168518066, 0.7919998168945312, 0.835574746131897, 0.18552087247371674, 0.13912375271320343, -0.7464960217475891, 0.7794328927993774, 0.4289686977863312, -0.8883522152900696, 0.46050360798835754, 0.41806483268737793, -0.13581731915473938, 0.09859781712293625, 0.675027072429657, 0.08233825862407684, 0.10205602645874023, -0.2859760820865631, 0.06748302280902863, 0.11234895139932632, -0.4357318580150604, -0.24370869994163513, -0.1287788301706314, 0.33666449785232544, 0.30267050862312317 ]
http://arxiv.org/abs/2402.12264v1
http://arxiv.org/pdf/2402.12264v1
Uncertainty quantification in fine-tuned LLMs using LoRA ensembles
2024-02-19T16:26:00
2024-02-19T16:26:00
Oleksandr Balabanov, Hampus Linander
cs.LG
cs.LG, cs.AI, cs.CL, stat.ML
Fine-tuning large language models can improve task specific performance, although a general understanding of what the fine-tuned model has learned, forgotten and how to trust its predictions is still missing. We derive principled uncertainty quantification for fine-tuned LLMs with posterior approximations using computationally efficient low-rank adaptation ensembles. We analyze three common multiple-choice datasets using low-rank adaptation ensembles based on Mistral-7b, and draw quantitative and qualitative conclusions on their perceived complexity and model efficacy on the different target domains during and after fine-tuning. In particular, backed by the numerical experiments, we hypothesise about signals from entropic uncertainty measures for data domains that are inherently difficult for a given architecture to learn.
[ -0.4195261001586914, -0.9683201313018799, 0.5663995146751404, 0.07962411642074585, -0.08896631002426147, 0.05830537527799606, -0.4024569094181061, -0.40812745690345764, -0.18341514468193054, 0.22876547276973724, -0.49301645159721375, -0.4639117419719696, -0.7309041023254395, 0.07064075767993927, -0.3087542653083801, 0.6334109902381897, -0.0578017421066761, -0.07008957862854004, -0.08972413837909698, -0.11435505002737045, -0.23922966420650482, -0.12460564821958542, -0.62941575050354, -0.20178210735321045, 0.5719206929206848, 0.4761072099208832, 0.6941167116165161, 0.3597490191459656, 0.5384504199028015, 0.244332954287529, -0.15123683214187622, 0.4393632113933563, -0.578422486782074, -0.028183819726109505, -0.2935657799243927, -0.7264729738235474, -0.5493136048316956, -0.32061484456062317, 0.6287602782249451, 0.8755589723587036, -0.25120776891708374, 0.492533802986145, 0.3695754408836365, 0.6579693555831909, -1.0900543928146362, 0.00811783131211996, -0.9806511998176575, -0.04955299571156502, -0.005591182503849268, -0.22419485449790955, -0.26687443256378174, -0.2250736653804779, 0.07025305181741714, -0.871036171913147, -0.020789097994565964, 0.14799626171588898, 0.4834669530391693, 0.8156997561454773, -0.29310840368270874, -0.12178453803062439, -0.8978931307792664, 0.8575612902641296, -0.7286854982376099, 0.3018214702606201, 0.6671230792999268, 0.1907426416873932, -0.3399209678173065, -0.4230930209159851, -0.16334453225135803, 0.19540230929851532, 0.3308033347129822, 0.09548486769199371, -0.2850118577480316, 0.23271964490413666, 0.1400892585515976, 0.22635890543460846, -0.2131672501564026, 0.5875593423843384, -0.37237146496772766, -0.16630715131759644, 0.48116037249565125, 0.03849765285849571, -0.212357297539711, 0.14747558534145355, -0.15647491812705994, -0.04852294921875, -0.6378215551376343, 0.15760572254657745, 0.44059690833091736, 0.3119596242904663, -0.2955682575702667, 0.45432204008102417, -0.36831003427505493, 0.998137354850769, 0.3669619858264923, -0.18808402121067047, -0.0396617166697979, 0.06932755559682846, -0.5084310173988342, -0.12740372121334076, 0.4619823694229126, 0.04397987574338913, 0.3354749381542206, -0.13688801229000092, -0.19445033371448517, -0.10428060591220856, 0.19123776257038116, -0.46013787388801575, 0.04532262310385704, 0.3823353946208954, -0.22930563986301422, -0.2249322235584259, -0.1028575748205185, -0.4058073163032532, -0.4307240843772888, -0.48529019951820374, 0.8479086756706238, -0.4696252644062042, 0.11743896454572678, 0.36073824763298035, 0.0008961725980043411, 0.2997634708881378, 0.6721148490905762, -0.7802125811576843, 0.44019195437431335, 0.7030659914016724, 0.5757962465286255, -0.4638316333293915, -0.4039701819419861, -0.3343210816383362, 0.12304694205522537, -0.5576980113983154, 0.6087800860404968, -0.4907502830028534, -0.2925250232219696, -0.2121429145336151, -0.11957667768001556, -0.4453466832637787, -0.6529086232185364, 0.5860153436660767, -0.5504980683326721, -0.2845129370689392, -0.05909102037549019, -0.5262176990509033, -0.07243871688842773, 0.06958727538585663, -0.5864212512969971, 0.9007148146629333, 0.26641973853111267, -0.6507146954536438, 0.3168385624885559, -0.20521150529384613, -0.30138543248176575, -0.32273006439208984, 0.07725553214550018, -0.2787139415740967, 0.7184448838233948, 0.25812289118766785, 0.539360761642456, -0.41949230432510376, -0.13482071459293365, -0.6591766476631165, -0.5124717950820923, 0.5142438411712646, -0.6610751748085022, 0.3040349781513214, 0.3669242262840271, 0.091619111597538, -0.05147148668766022, -0.8542115092277527, 0.16787199676036835, -0.3618200719356537, -0.4469762444496155, -0.35600101947784424, 0.0253138430416584, -0.3110419511795044, -0.15601123869419098, 0.4448830187320709, -0.08629096299409866, 0.1371414214372635, -0.3391163647174835, 0.5874704122543335, 0.9573086500167847, 0.20357100665569305, 0.5539899468421936, -0.4243326187133789, 0.4940333664417267, 0.06833597272634506, 0.04413541778922081, 0.39382028579711914, -0.2939716577529907, -0.845399796962738, -0.25800856947898865, 0.4236903786659241, 0.42853376269340515, -0.6392449736595154, 0.2931778132915497, -0.35327643156051636, -0.6267333030700684, -0.5906240940093994, 0.19642390310764313, 0.18372781574726105, 0.1627928614616394, 0.27525636553764343, -0.032168321311473846, -0.034414589405059814, -0.7574975490570068, -0.25820857286453247, -0.1323719173669815, -0.02928118221461773, 0.27004873752593994, 0.5643753409385681, -0.17693760991096497, 0.6929644346237183, -0.3765853941440582, -0.015153837390244007, 0.24649329483509064, 0.12193881720304489, 0.165258526802063, 0.4843520224094391, 0.3012098968029022, -0.5877091288566589, -0.29846853017807007, 0.06151250749826431, -0.42103689908981323, 0.09447676688432693, 0.002961245831102133, -0.13150615990161896, 0.10781151056289673, 0.4906552731990814, -0.5049862265586853, 0.197470024228096, 0.7089572548866272, 0.1557675004005432, 0.3881418704986572, -0.47662147879600525, 0.17425671219825745, -0.8853104710578918, -0.19627083837985992, -0.017735494300723076, -0.10052469372749329, -0.4543798863887787, 0.0379653237760067, 0.05115118250250816, 0.1816258430480957, -0.3826278746128082, 0.40859436988830566, -0.3139879107475281, -0.2932080924510956, -0.1461140513420105, 0.07529926300048828, -0.2638542354106903, 0.5642812848091125, -0.04631418362259865, 0.735883355140686, 0.7599272131919861, -0.8777047395706177, -0.10269105434417725, -0.1384311020374298, -0.6564605832099915, 0.7831405997276306, -0.6208063364028931, -0.023011887446045876, -0.0870341882109642, -0.13411015272140503, -0.883174479007721, -0.5310055613517761, 0.010566569864749908, -0.3769368529319763, 0.2966737747192383, -0.2578323185443878, -0.23921538889408112, -0.026077179238200188, -0.0798833891749382, 0.49606117606163025, 0.38935738801956177, -0.28153306245803833, 0.40829551219940186, 0.2460508793592453, -0.053676918148994446, -0.4704601764678955, -0.6864288449287415, -0.4370098412036896, -0.463625431060791, -0.2748900055885315, 0.3243866264820099, -0.04772984981536865, -0.32321518659591675, -0.41548436880111694, -0.43536266684532166, -0.21087925136089325, 0.6031306982040405, 0.467314213514328, -0.21270617842674255, -0.1469597965478897, 0.21747753024101257, 0.39281418919563293, 0.155502587556839, -0.09272647649049759, -0.24251985549926758, 0.32591918110847473, -0.2622334957122803, -0.8323307633399963, -0.07623081654310226, -0.25385648012161255, 0.6390499472618103, -0.040922604501247406, 0.4698295295238495, 0.72599858045578, -0.6381693482398987, -0.5210368633270264, -0.34674859046936035, -0.13604295253753662, -0.48068857192993164, 0.2983350455760956, -0.45923852920532227, -0.9452688097953796, 0.7543467283248901, -0.28331258893013, -0.2557491064071655, 0.5518240332603455, 0.5858289003372192, -0.3231082260608673, 0.734095573425293, 0.43242397904396057, -0.1974141001701355, 0.21577762067317963, -0.040233463048934937, -0.14307314157485962, -0.7469935417175293, 0.12032971531152725, -0.6189102530479431, -0.5992382168769836, -0.9407667517662048, -0.5201667547225952, 0.6150238513946533, 0.44634297490119934, -0.5135964155197144, 0.011390464380383492, -0.2925918698310852, 0.21108734607696533, 0.6551262736320496, 0.4807405173778534, 0.3990800976753235, 0.16334453225135803, 0.29893994331359863, 0.1444227546453476, -0.706023097038269, -0.20245373249053955, 1.031704306602478, 0.3628690540790558, 1.272737741470337, 0.2644314467906952, 0.6261699199676514, 0.3201271891593933, -0.15667252242565155, -0.7449966073036194, 0.07617181539535522, -0.1125192791223526, -0.340638130903244, -0.6171336770057678, -0.40033936500549316, -1.0458441972732544, 0.23835596442222595, -0.2884604036808014, -0.9320400953292847, 0.5389865040779114, 0.30841633677482605, -0.9057649374008179, 0.03251110762357712, -0.5280501246452332, 0.43984565138816833, -0.1588306725025177, -0.28952130675315857, -0.2688697278499603, -0.528028130531311, 0.24718205630779266, -0.4355448782444, 0.43888193368911743, -0.1919519156217575, -0.07359176129102707, 0.7072399258613586, -0.08417325466871262, 1.0011850595474243, 0.03087020106613636, -0.3966328203678131, 0.24193115532398224, 0.28298524022102356, 0.6301817297935486, 0.20666813850402832, -0.35211220383644104, 0.12049011141061783, 0.31053417921066284, -0.34982550144195557, -0.604518473148346, 0.7560181021690369, -0.9409788846969604, -0.5446813702583313, -0.06753526628017426, -0.5029075741767883, -0.6563168168067932, 0.028256647288799286, 0.5253340601921082, 0.15675179660320282, -0.12979109585285187, 0.4038371443748474, 0.806799054145813, -0.1357734054327011, 0.29376229643821716, 0.371263325214386, 0.26466524600982666, -0.17738285660743713, 0.8684066534042358, 0.2614133656024933, 0.5006906390190125, 0.5831425189971924, -0.048891227692365646, 0.14450548589229584, -0.8587625622749329, -0.19558750092983246, -0.17991313338279724, -0.5082276463508606, -0.2585791051387787, -0.05382301285862923, -0.1009034588932991, -0.2292112410068512, -0.2109142392873764, -0.42610323429107666, -0.6081579327583313, -0.7217388153076172, -0.07999052852392197, 0.4355001449584961, 0.5836525559425354, -0.1112464889883995, 0.6437032222747803, -0.46394217014312744, 0.3300914168357849, 0.2649998664855957, 0.3522171080112457, -0.2239844799041748, -1.043508768081665, -0.32546454668045044, 0.4595811069011688, -0.05003136396408081, -0.5698857307434082, 0.23806212842464447, 0.6517734527587891, 0.618050754070282, 0.34936174750328064, 0.23924335837364197, 0.7025279402732849, -0.2007361352443695, 0.5224210619926453, -0.3470925986766815, -0.855790913105011, 0.475442111492157, -0.3939770460128784, 0.25887826085090637, 0.5639618039131165, 0.24086348712444305, 0.0894041433930397, -0.13568109273910522, -0.4746271073818207, -0.5277673602104187, 0.32546621561050415, 0.08495175838470459, -0.012439010664820671, 0.3751640319824219, 0.6469519734382629, 0.035583626478910446, 0.250160813331604, -0.26172131299972534, -0.2181941717863083, 0.22284561395645142, -0.29233312606811523, -0.3805290162563324, -0.08758927881717682, -0.1718607097864151, -0.2408367246389389, 0.36967533826828003, -0.4087681174278259, 0.32343047857284546, -0.018216541036963463, -0.26613569259643555, -0.260723739862442, 0.3819446563720703, 0.6823878288269043, 0.6980248093605042, -0.3860512971878052, 0.23103682696819305, 0.6461076736450195, -0.22455060482025146, 0.09022767096757889, -0.028005326166749, 0.007308322004973888, -0.42723381519317627, 0.5597113370895386, 0.9710163474082947, 0.47486355900764465, -0.4565543830394745, 0.25132277607917786, 0.24307659268379211, -0.23198416829109192, -0.25461649894714355, 0.3810831308364868, 0.021231776103377342, 0.3456486165523529, 0.30612456798553467, 0.4316554665565491, 0.20754995942115784, -0.2791145145893097, -0.14260606467723846, 0.5261449813842773, -0.5642878413200378, -0.3114566206932068, 0.44976234436035156, -0.09702374041080475, 0.0940699577331543, 0.12484142929315567, 0.1439872533082962, -0.044714536517858505, 0.6312786936759949, 0.3304438292980194, 0.5179876685142517, -0.07382305711507797, 0.04907028377056122, 0.06781452149152756, 0.4307458698749542, -0.3486502766609192, 0.3175393342971802, -0.06438504904508591, -0.9486197233200073, -0.35640260577201843, -0.8586946725845337, -0.5549909472465515, -0.07693920284509659, -1.0079678297042847, 0.09083374589681625, -0.40661337971687317, -0.38416948914527893, -0.09061969816684723, -0.18531057238578796, -0.7713979482650757, 0.23927007615566254, -0.03051988035440445, 1.0039180517196655, -0.7179067134857178, 0.7465470433235168, 0.4535602927207947, 0.09405988454818726, -0.6349064707756042, -0.124858558177948, -0.21677058935165405, -1.0055159330368042, 0.3376976549625397, -0.477907657623291, -0.40762054920196533, 0.21124863624572754, -0.7938446998596191, -1.175058364868164, 1.2116870880126953, 0.651726484298706, -0.5273778438568115, 0.03138190880417824, 0.1932039111852646, 0.5154581665992737, -0.06520441174507141, -0.1404748558998108, 0.7052079439163208, 0.4231063425540924, -0.06267683207988739, -1.0415927171707153, -0.3103388845920563, 0.23677466809749603, -0.11302737891674042, -0.04135441407561302, -0.6375729441642761, 0.9361361861228943, -0.3155505359172821, -0.023976417258381844, 0.17011015117168427, 0.5827001929283142, 0.16536934673786163, 0.1773720383644104, 0.3666433095932007, 0.4558761417865753, 1.0518699884414673, -0.0815616026520729, 0.8556928038597107, -0.4739016592502594, 0.44032999873161316, 1.3319289684295654, -0.059291284531354904, 1.1164826154708862, 0.589038610458374, -0.3337556719779968, 0.17023348808288574, 1.0586473941802979, 0.24865959584712982, 0.5039231181144714, 0.39237844944000244, -0.05866210535168648, -0.5975024700164795, 0.07607412338256836, -0.3820367157459259, 0.5498130321502686, 0.930273175239563, -0.20800259709358215, 0.0903574749827385, -0.010786356404423714, -0.39548438787460327, -0.17022903263568878, -0.595887303352356, 0.8461466431617737, 0.31673845648765564, -0.5788288116455078, 0.8742214441299438, 0.08363756537437439, 0.6490206718444824, -0.3909226059913635, 0.36895114183425903, -0.08048936724662781, 0.1773475855588913, -0.17714674770832062, -0.5686177611351013, -0.11159583926200867, -0.4973776042461395, -0.05648353695869446, 0.20834410190582275, 0.7593197822570801, -0.31910181045532227, -0.5735070109367371, -0.04585755616426468, 0.7612311840057373, 0.03622477501630783, -0.3342891037464142, -0.37989678978919983, 0.13430030643939972, -0.18838906288146973, -0.3585050702095032, 0.3759058117866516, 0.6563082337379456, -0.11140306293964386, 0.950760006904602, 0.284067839384079, 0.18015454709529877, 0.11817371100187302, -0.1972774863243103, 0.4328218102455139, -0.23448379337787628, -0.025463290512561798, -0.751998782157898, 0.02475317381322384, 0.37935391068458557, -0.5449556112289429, 0.568372368812561, 0.17043651640415192, 0.8947537541389465, -0.2747501730918884, 0.818329393863678, 0.3583480417728424, 0.3973809480667114, -0.8912209272384644, 0.535040557384491, -0.5963231325149536, 0.3011308014392853, -0.13045842945575714, -0.806476354598999, -0.22859817743301392, 0.6155996918678284, -0.22621479630470276, 0.09517349302768707, 0.3407090902328491, 0.8355156183242798, -0.27065175771713257, -0.14781835675239563, 0.5594930052757263, 0.2785949110984802, -0.3296204209327698, 0.659661591053009, 0.6804249882698059, -0.5117460489273071, 0.10737982392311096, -0.2649155557155609, -0.07386929541826248, -0.27751877903938293, -0.7519082427024841, -0.5964799523353577, -0.5675885677337646, -0.2954164743423462, -0.16738291084766388, 0.09769195318222046, 0.8409735560417175, 0.7421192526817322, -0.9269832968711853, -0.1598987877368927, -0.047517549246549606, 0.31044167280197144, -0.26789340376853943, -0.07070406526327133, 0.42880403995513916, -0.15548236668109894, -0.7318111062049866, 0.288648396730423, 0.008836407214403152, 0.25111111998558044, -0.09830974787473679, -0.21846766769886017, 0.17102597653865814, 0.24452908337116241, 0.5237603187561035, 0.24368909001350403, -0.8140975832939148, -0.4866909682750702, -0.09623125195503235, -0.14134258031845093, -0.28211650252342224, 0.44356825947761536, -0.43354225158691406, 0.045213889330625534, 0.32411977648735046, 0.60398930311203, 0.42894086241722107, 0.14765971899032593, 0.49562790989875793, -0.6714933514595032, -0.03845854848623276, -0.10809718817472458, 0.4376460015773773, 0.04895344376564026, -0.22026598453521729, 0.529818058013916, -0.048960644751787186, -0.5521711111068726, -0.7358424663543701, 0.11621194332838058, -1.0965536832809448, -0.4004223346710205, 1.3462246656417847, -0.07259313762187958, -0.2304854542016983, -0.016301121562719345, -0.04615580663084984, -0.01590144820511341, -0.3206648528575897, 0.6796284914016724, 0.6276046633720398, -0.05077574402093887, -0.04266807436943054, -0.5433400869369507, 0.7000768184661865, 0.3525390326976776, -0.721960186958313, -0.0003947298100683838, 0.37088698148727417, 0.21138428151607513, 0.01647007279098034, 0.17980122566223145, 0.3478020429611206, 0.16745495796203613, -0.23913514614105225, -0.302238404750824, 0.2707726061344147, -0.239276722073555, -0.43285706639289856, 0.25208330154418945, 0.5944680571556091, -0.05836102366447449 ]
http://arxiv.org/abs/2402.12423v2
http://arxiv.org/pdf/2402.12423v2
On the Semantic Latent Space of Diffusion-Based Text-to-Speech Models
2024-02-19T16:22:21
2024-06-04T11:03:57
Miri Varshavsky-Hassid, Roy Hirsch, Regev Cohen, Tomer Golany, Daniel Freedman, Ehud Rivlin
cs.SD
cs.SD, cs.CL, cs.LG, eess.AS
The incorporation of Denoising Diffusion Models (DDMs) in the Text-to-Speech (TTS) domain is rising, providing great value in synthesizing high quality speech. Although they exhibit impressive audio quality, the extent of their semantic capabilities is unknown, and controlling their synthesized speech's vocal properties remains a challenge. Inspired by recent advances in image synthesis, we explore the latent space of frozen TTS models, which is composed of the latent bottleneck activations of the DDM's denoiser. We identify that this space contains rich semantic information, and outline several novel methods for finding semantic directions within it, both supervised and unsupervised. We then demonstrate how these enable off-the-shelf audio editing, without any further training, architectural changes or data requirements. We present evidence of the semantic and acoustic qualities of the edited audio, and provide supplemental samples: https://latent-analysis-grad-tts.github.io/speech-samples/.
[ -0.4680165946483612, -0.9953663945198059, 0.7164159417152405, -0.06920907646417618, -0.16314101219177246, 0.21680065989494324, 0.05179116129875183, -0.02281128242611885, 0.16811127960681915, 0.6365768909454346, -0.689276933670044, -0.7390195727348328, -0.7809871435165405, -0.28640657663345337, -0.6591229438781738, 0.7861983776092529, 0.14528435468673706, -0.010980592109262943, -0.12499129772186279, 0.05635853484272957, -0.4052913784980774, -0.2436598688364029, -0.4313639998435974, 0.09940247237682343, 0.33500897884368896, 0.0441775918006897, 0.9916588664054871, 0.5926645398139954, -0.007478071842342615, 0.3089870512485504, -0.7096699476242065, -0.20422521233558655, -0.28494179248809814, 0.28564611077308655, -0.08246321231126785, -0.16135190427303314, -0.746736466884613, 0.3131777048110962, 0.877544641494751, 1.0708667039871216, -0.22507794201374054, -0.339964896440506, -0.16083361208438873, 0.5771629810333252, -0.36035430431365967, -0.16738516092300415, -0.8628936409950256, 0.1619442254304886, -0.1174783930182457, -0.04499214142560959, -0.25056877732276917, -0.10829989612102509, 0.5414671897888184, -0.7417884469032288, 0.4825386703014374, -0.473704993724823, 0.5852705836296082, 0.618400514125824, -0.375698059797287, -0.21748150885105133, -0.8572466373443604, 0.7213163375854492, -0.5035785436630249, 0.7720164656639099, 0.3338162899017334, 0.04483524709939957, -0.45178544521331787, -0.8043745756149292, -0.555931806564331, 0.23158013820648193, 0.26331016421318054, 0.27068644762039185, -0.49659493565559387, 0.06385143846273422, -0.11994735896587372, 0.19011546671390533, -0.3642904460430145, 0.17032290995121002, -0.2508813142776489, -0.2009909749031067, 0.3321709632873535, 0.024832837283611298, 0.501462459564209, -0.03429808095097542, -0.142209991812706, 0.06947898864746094, -0.5609995126724243, -0.3753335475921631, 0.24928145110607147, 0.2333393692970276, -0.15168042480945587, 0.7366814017295837, -0.01151073258370161, 0.915601372718811, -0.11522713303565979, -0.057242125272750854, 0.09905201941728592, -0.2606982886791229, -0.110826276242733, 0.10223756730556488, 0.39543768763542175, 0.3459392786026001, -0.36898067593574524, -0.5056039094924927, -0.3530139923095703, 0.1991099864244461, 0.1601237654685974, -0.5835461616516113, -0.2831512987613678, 0.2126130908727646, -0.30420365929603577, -0.09193674474954605, -0.30897438526153564, -0.6655149459838867, -0.20741620659828186, -0.3370407819747925, 0.37542590498924255, -0.2521941065788269, -0.42610475420951843, 0.10452854633331299, -0.7006023526191711, -0.03362629935145378, 0.5053215026855469, -0.6576005220413208, 0.4190370738506317, 0.4149940311908722, 0.9728900790214539, -0.29281502962112427, 0.0118936225771904, -0.41137102246284485, 0.32763049006462097, -0.8605970144271851, 0.822663426399231, -0.5588282346725464, -0.6576604843139648, -0.2747250497341156, -0.30735915899276733, 0.09592153877019882, -0.6866351366043091, 0.17719446122646332, -0.8324943780899048, 0.31431126594543457, 0.12565386295318604, -0.7303399443626404, -0.008289753459393978, -0.40832963585853577, -0.7305307984352112, 0.9182474613189697, 0.19665341079235077, -0.5012528896331787, 0.367160826921463, -0.695896327495575, -0.2922889292240143, -0.1979145109653473, 0.00472769420593977, -0.28489863872528076, 0.2948780357837677, 0.08442017436027527, 0.5025606155395508, -0.13924112915992737, 0.3798920810222626, -0.11500690132379532, -0.004073815885931253, 0.4930585026741028, -0.5199556350708008, 0.3862598240375519, 0.41924357414245605, -0.09665358811616898, 0.05934692174196243, -0.9359778761863708, -0.18131105601787567, -0.012351833283901215, -0.17068399488925934, -0.45548731088638306, 0.030685964971780777, 0.09697035700082779, 0.04723389446735382, -0.02478606253862381, -0.3853464424610138, -0.06795080751180649, -0.5293459892272949, 0.7853002548217773, 0.4651956856250763, 0.20446324348449707, 0.8072255849838257, -0.18845923244953156, 0.3805590867996216, 0.1431441754102707, -0.20439478754997253, 0.030860651284456253, -0.7608785629272461, -0.3454442620277405, -0.4877146780490875, 0.2905885577201843, 0.38115304708480835, -0.7213162779808044, 0.4752396047115326, -0.03692900389432907, -0.6051930785179138, -0.3730727434158325, -0.02057061530649662, -0.0695023387670517, 0.5488433241844177, 0.35722994804382324, -0.2220933586359024, -0.060280222445726395, -0.4988577365875244, 0.01566210575401783, 0.10116640478372574, -0.24095147848129272, 0.18013505637645721, 0.16602975130081177, -0.3487839996814728, 1.3613697290420532, -0.6097503304481506, -0.24171599745750427, 0.20232389867305756, 0.16291241347789764, -0.01485625933855772, 0.6442461013793945, 0.4590778648853302, -0.981722354888916, -0.0056939502246677876, -0.4792202413082123, -0.42827391624450684, -0.3915597200393677, 0.0548204630613327, -0.10752903670072556, 0.020900508388876915, 0.7702387571334839, -0.7831434011459351, 0.6216132640838623, 0.6431752443313599, -0.48543307185173035, 0.26334476470947266, -0.3502141237258911, 0.0979728177189827, -0.9235572218894958, -0.15357762575149536, -0.16939543187618256, -0.06715279072523117, -0.8175548911094666, -0.3801405727863312, -0.4618900418281555, -0.26553040742874146, -0.5280613899230957, 0.5002052187919617, -0.43807148933410645, -0.3613201379776001, -0.31046271324157715, 0.7506608963012695, 0.10732630640268326, 0.15586167573928833, 0.3051251769065857, 0.810198962688446, 0.5970540046691895, -0.6257163882255554, 0.14795371890068054, 0.46800315380096436, -0.31061798334121704, 0.5748803615570068, -0.6693568825721741, 0.15625500679016113, -0.15443874895572662, 0.2250807285308838, -1.3997584581375122, 0.0168941468000412, -0.018125589936971664, -0.39495956897735596, 0.28913354873657227, -0.485807329416275, -0.4551975727081299, 0.2597261965274811, 0.10507979243993759, 0.5416002869606018, 0.6432250738143921, -0.4168311357498169, 0.5832173824310303, 0.8347548842430115, -0.4872983396053314, -0.23894314467906952, -0.7006861567497253, 0.2145700305700302, -0.35709071159362793, -0.6919910311698914, 0.7543085813522339, -0.14761072397232056, -0.37268882989883423, 0.3552902042865753, -0.03113512136042118, -0.5931441783905029, 0.12846598029136658, 0.24166616797447205, 0.18861912190914154, -0.1182020828127861, 0.15709824860095978, 0.5798439979553223, -0.2384076714515686, -0.11528684943914413, -0.6761810779571533, 0.11696568876504898, 0.3708426058292389, 0.03561723604798317, -0.35007497668266296, 0.3694896996021271, 0.6639397740364075, 0.14015667140483856, 0.4223618507385254, 0.3536769151687622, -0.35862672328948975, -0.1654575616121292, -0.3460457921028137, -0.09265540540218353, -0.41069748997688293, 0.3328700065612793, -0.29682299494743347, -1.0892103910446167, 0.5594997406005859, -0.3226191997528076, -0.14672201871871948, 0.5652250051498413, 0.4072521924972534, 0.010800291784107685, 0.8398892879486084, 0.5333492159843445, 0.5317477583885193, 0.5819417238235474, -0.4450170397758484, -0.12343860417604446, -0.8694044947624207, -0.15047627687454224, -0.6779505610466003, 0.15315383672714233, -0.5849080681800842, -0.9005314111709595, 0.5005208849906921, 0.040906473994255066, 0.07409797608852386, 0.011884890496730804, -0.5531237721443176, 0.21309460699558258, 0.2549332082271576, -0.05184192955493927, 0.1066378802061081, 0.1282687783241272, -0.32373857498168945, -0.39793992042541504, -0.9093184471130371, -0.44247105717658997, 0.652449905872345, 0.39647603034973145, 0.6692880988121033, 0.16309206187725067, 0.3278048038482666, 0.3574908971786499, -0.3498211205005646, -0.6141581535339355, 0.547296941280365, -0.4938299059867859, -0.40214312076568604, -0.5107746720314026, -0.3875095546245575, -0.9412809610366821, 0.2585979402065277, -0.26176005601882935, -0.5521078109741211, 0.16928450763225555, -0.003465126035735011, -0.1957836151123047, 0.3411078155040741, -0.6226789951324463, 0.7504283785820007, 0.29757872223854065, -0.38476431369781494, -0.36423078179359436, -0.5893661379814148, -0.20615309476852417, -0.1524335741996765, 0.30779287219047546, -0.1918436884880066, -0.3800804316997528, 1.071799397468567, -0.5854485630989075, 0.8183060884475708, -0.4967389404773712, -0.3930928111076355, 0.4585474133491516, 0.2944682240486145, 0.01653887890279293, 0.03623205050826073, 0.18956038355827332, 0.3942891061306, 0.061081450432538986, -0.1798355132341385, -0.7170491814613342, 0.7229081988334656, -0.7345083951950073, -0.5121463537216187, -0.018776917830109596, -0.430459588766098, -0.39691123366355896, 0.22233378887176514, 0.2110585868358612, 0.6137911081314087, -0.3658837378025055, -0.06306419521570206, 0.8844271898269653, -0.5099763870239258, 0.3619798421859741, 0.37398719787597656, -0.04402134194970131, -0.4808860123157501, 0.6051780581474304, 0.31855693459510803, 0.26902809739112854, 0.4187115430831909, 0.42641302943229675, -0.5847252011299133, -0.7445909976959229, -0.5944938063621521, 0.12588417530059814, -0.884568989276886, 0.10358286648988724, -0.7648447751998901, -0.2664422392845154, -0.41383349895477295, -0.28961971402168274, -0.8166961073875427, -0.839942991733551, -0.7283222675323486, 0.07135529816150665, 0.5499680042266846, 0.8242071866989136, -0.20359493792057037, 0.4964696168899536, -0.7861961722373962, 0.48632004857063293, 0.2808745503425598, 0.41971829533576965, -0.003973825369030237, -0.6860889196395874, -0.033805008977651596, 0.02912307344377041, 0.06601469218730927, -0.8426918387413025, 0.3611483871936798, 0.015518954023718834, 0.4543050527572632, -0.03791128471493721, -0.1427910178899765, 0.6465992331504822, -0.5477710962295532, 1.1730223894119263, 0.1530061960220337, -1.0997827053070068, 0.593734085559845, -0.2825283706188202, 0.36760473251342773, -0.08785343915224075, 0.13426941633224487, -0.2780746519565582, -0.6964831948280334, -0.7583290934562683, -0.8944317102432251, 0.40537407994270325, 0.36096855998039246, 0.26818498969078064, 0.08741222321987152, 0.520007312297821, 0.07718892395496368, 0.3157883286476135, -0.22870343923568726, -0.21929116547107697, -0.43461933732032776, -0.04361690208315849, 0.007774286437779665, -0.4126838743686676, 0.04997335374355316, -0.06439922004938126, 0.4674334228038788, 0.2489084154367447, 0.3102688491344452, 0.3787270784378052, 0.1152300089597702, -0.05333926901221275, 0.3557659089565277, 0.5741980075836182, 0.4437321424484253, -0.04325392469763756, 0.17553237080574036, 0.0059120869264006615, -0.587089478969574, 0.28774595260620117, -0.04203413799405098, -0.27328386902809143, 0.31010952591896057, 0.17231710255146027, 0.8178126811981201, 0.12126529216766357, -0.34601259231567383, 0.4444112479686737, -0.14410178363323212, -0.19443216919898987, -0.30047643184661865, 0.10426460206508636, 0.04694577306509018, 0.1988266259431839, 0.27319735288619995, 0.15260197222232819, 0.29885321855545044, -0.08478538691997528, 0.284507691860199, 0.5191285610198975, -0.585388720035553, -0.3615022301673889, 0.9112898707389832, 0.025401931256055832, -0.12702307105064392, 0.5498388409614563, 0.0936850905418396, -0.1396561861038208, 0.21962760388851166, 0.24602067470550537, 0.998345136642456, -0.06519275903701782, 0.11337006092071533, -0.1273236870765686, -0.03032142110168934, 0.22077599167823792, 0.016400109976530075, -0.22568580508232117, -0.7454338073730469, -0.5730180144309998, -0.4739430546760559, -0.17599992454051971, -0.020938316360116005, -0.3486824631690979, 0.2010127604007721, -0.3399580717086792, -0.4787253141403198, 0.35010355710983276, -0.5044924020767212, -0.29557478427886963, 0.40174973011016846, -0.19885776937007904, 0.697360634803772, -0.585395872592926, 0.6702867746353149, 0.41970473527908325, 0.02543320693075657, -0.5916135907173157, 0.021915804594755173, -0.04840490221977234, -0.31599968671798706, 0.7360817193984985, -0.44491103291511536, -0.41799038648605347, 0.1888551115989685, -0.3730248212814331, -0.8145877718925476, 0.716189444065094, 0.3248206079006195, -0.2594621181488037, -0.08343803882598877, 0.052446238696575165, 0.6892540454864502, -0.2555922567844391, -0.005534517113119364, 0.43167176842689514, 0.12642312049865723, 0.5405852198600769, -0.5904786586761475, -0.26953694224357605, -0.018828479573130608, 0.2752825617790222, 0.06302695721387863, -0.1117531880736351, 0.7094578146934509, -0.18132109940052032, -0.16491274535655975, 0.13042648136615753, 0.4988659918308258, -0.11830158531665802, 0.3024800419807434, 0.5906032919883728, 0.6016519665718079, 0.4033600986003876, -0.17278797924518585, 0.6014338135719299, -0.16205933690071106, 0.019492290914058685, 0.8647884130477905, -0.11260378360748291, 0.7827615737915039, 0.5092137455940247, -0.014433127827942371, 0.5406887531280518, 0.4982447624206543, 0.17525102198123932, 0.838131308555603, 0.0853724479675293, -0.298681378364563, -0.10599366575479507, -0.1415424942970276, -0.2227238416671753, 0.5538133978843689, 0.663453221321106, -0.13470645248889923, -0.016615375876426697, 0.1203901395201683, 0.02908516488969326, 0.17004236578941345, 0.04226510599255562, 1.1192944049835205, -0.07882042974233627, -0.33553189039230347, 0.5329833030700684, 0.020245330408215523, 0.3984874188899994, -0.48144111037254333, -0.239471435546875, -0.03226622939109802, -0.31957438588142395, -0.06563200056552887, -0.9354095458984375, 0.6736310720443726, -0.02763773873448372, -0.257172167301178, -0.2656327486038208, 0.6119881272315979, -0.3768560588359833, -0.11671813577413559, 0.4009113013744354, 0.5947728753089905, 0.21848464012145996, 0.14832918345928192, -0.47375962138175964, 0.07926110178232193, -0.3926089406013489, -0.1678084135055542, 0.12638844549655914, 0.6675117015838623, 0.0915374606847763, 0.3581595718860626, 0.6580002307891846, 0.42378154397010803, 0.05035819113254547, 0.0999184250831604, 0.7155110836029053, -0.6432396173477173, -0.8331670165061951, -0.5854843258857727, 0.4567042887210846, 0.26433631777763367, -0.140176922082901, 0.5073035955429077, 0.48203548789024353, 0.7859017848968506, -0.06405472010374069, 0.7438881993293762, 0.13971666991710663, 0.6595878005027771, -0.9761778116226196, 0.7744846940040588, -0.6850054264068604, 0.4061695337295532, -0.7535837292671204, -0.713789165019989, -0.37673884630203247, 0.5291367769241333, -0.1555446833372116, 0.03830841928720474, 0.34051021933555603, 0.9777652621269226, 0.008873682469129562, -0.0778895691037178, 0.6615949273109436, 0.2852379381656647, 0.22415995597839355, 0.10055452585220337, 1.1976656913757324, -0.3264479339122772, 0.3649939298629761, -0.048567503690719604, -0.31372135877609253, 0.2530703842639923, -0.957726240158081, -0.5939245223999023, -0.9811331629753113, -0.7735857963562012, -0.38532671332359314, -0.054170574992895126, 0.3679574131965637, 0.8581244945526123, -0.30230817198753357, -0.20551393926143646, -0.30651700496673584, 0.3679670989513397, -0.037127651274204254, -0.15181590616703033, 0.4291916489601135, -0.022934120148420334, -0.7005231380462646, 0.5932317972183228, 0.5297344326972961, 0.7292639017105103, -0.1536194533109665, 0.042657144367694855, 0.13452407717704773, 0.20167914032936096, 0.6159965991973877, -0.237929567694664, -0.8430007100105286, 0.014357329346239567, -0.01724417880177498, -0.006157491356134415, 0.016466913744807243, 0.794220507144928, -0.7393766045570374, 0.697586178779602, 0.37625935673713684, 0.44996944069862366, 0.5270436406135559, -0.378569096326828, 0.4290226697921753, -0.7720133066177368, 0.4947469234466553, 0.1782202422618866, 0.10435447096824646, 0.40493252873420715, -0.11958792805671692, 0.2058975100517273, 0.5433383584022522, -0.4100414216518402, -0.6352503299713135, -0.02913825586438179, -0.9407235383987427, -0.6180760860443115, 1.067423701286316, 0.05563008040189743, -0.09635842591524124, -0.25086915493011475, -0.17531222105026245, 0.5234788656234741, -0.3298368752002716, 0.6140032410621643, 0.5758318901062012, -0.050298698246479034, -0.014242252334952354, -0.5169369578361511, 0.7226393222808838, 0.2452087104320526, -0.4537774324417114, 0.17784027755260468, 0.9181892275810242, 0.3500180244445801, 0.20739498734474182, 0.6265156269073486, -0.34548747539520264, 0.2069902867078781, 0.30226942896842957, -0.2882929742336273, 0.2536527216434479, -0.3732312321662903, -0.4743744730949402, 0.0703992247581482, 0.1272437572479248, -0.02042851597070694 ]
http://arxiv.org/abs/2402.12261v3
http://arxiv.org/pdf/2402.12261v3
NEO-BENCH: Evaluating Robustness of Large Language Models with Neologisms
2024-02-19T16:19:15
2024-06-05T17:12:23
Jonathan Zheng, Alan Ritter, Wei Xu
cs.CL
cs.CL
The performance of Large Language Models (LLMs) degrades from the temporal drift between data used for model training and newer text seen during inference. One understudied avenue of language change causing data drift is the emergence of neologisms -- new word forms -- over time. We create a diverse resource of recent English neologisms by using several popular collection methods. We analyze temporal drift using neologisms by comparing sentences containing new words with near-identical sentences that replace neologisms with existing substitute words. Model performance is nearly halved in machine translation when a single neologism is introduced in a sentence. Motivated by these results, we construct a benchmark to evaluate LLMs' ability to generalize to neologisms with various natural language understanding tasks and model perplexity. Models with later knowledge cutoff dates yield lower perplexities and perform better in downstream tasks. LLMs are also affected differently based on the linguistic origins of words, indicating that neologisms are complex for static LLMs to address. We will release our benchmark and code for reproducing our experiments.
[ -0.18009451031684875, -0.9030874967575073, 0.6281363368034363, 0.08793061226606369, -0.2905530035495758, 0.2021951973438263, -0.31754863262176514, -0.4775369465351105, 0.08533243089914322, 0.37661877274513245, -0.6463395953178406, -0.35068488121032715, -0.45078203082084656, 0.2590063810348511, -0.5969355702400208, 0.6684832572937012, 0.020578045397996902, 0.03034478984773159, -0.3383283019065857, -0.22292158007621765, -0.051675889641046524, -0.3669756352901459, -0.3459989130496979, -0.5486015677452087, 0.20429173111915588, -0.12425494939088821, 0.8372041583061218, 0.7917647361755371, 0.46523773670196533, 0.3091925084590912, -0.4018319845199585, 0.030096638947725296, -0.4673120677471161, 0.2787947654724121, -0.35122159123420715, -0.6575404405593872, -0.4896082580089569, 0.019232090562582016, 0.8222215175628662, 0.8828935623168945, -0.09431713074445724, 0.09021536260843277, -0.17502568662166595, 0.275714248418808, -0.6940215229988098, -0.05661081150174141, -0.9071794748306274, -0.2408875823020935, -0.267871618270874, -0.0415913350880146, -0.2433241903781891, -0.3328988254070282, 0.06673324108123779, -0.589125394821167, 0.341063529253006, -0.21460597217082977, 0.8549697399139404, 0.32628417015075684, 0.01766059547662735, -0.20232604444026947, -0.5998786091804504, 0.8348641395568848, -0.9177107214927673, 0.44034314155578613, 0.30656176805496216, 0.3893745541572571, -0.09994243085384369, -0.7743405103683472, -0.4757949411869049, -0.49020981788635254, 0.17754916846752167, -0.09196292608976364, -0.16807429492473602, -0.43103304505348206, 0.3457562029361725, 0.23729151487350464, -0.5906352996826172, 0.32911989092826843, 0.325775146484375, -0.10763360559940338, 0.4571399986743927, 0.35258543491363525, -0.08841612935066223, -0.27351856231689453, -0.2916359007358551, -0.282116174697876, -0.8386138677597046, -0.3292771279811859, 0.38375645875930786, 0.2946661710739136, -0.04414987936615944, 0.1828712671995163, -0.26113608479499817, 0.6100497245788574, -0.28855952620506287, -0.2654675543308258, 0.3725284934043884, -0.4231739938259125, -0.07309727370738983, -0.27385103702545166, 0.7194541692733765, 0.4164521396160126, 0.18237698078155518, -0.381041556596756, -0.30587777495384216, 0.30476242303848267, -0.049715325236320496, -0.7726137042045593, 0.044751714915037155, -0.030813027173280716, -0.34910470247268677, -0.20885872840881348, -0.31268370151519775, -0.6410263180732727, -0.5590816140174866, -0.20629140734672546, 0.10086289048194885, -0.425732284784317, -0.28544744849205017, 0.09365207701921463, -0.2043820023536682, -0.07776028662919998, 0.2346535325050354, -0.5574965476989746, 0.6438629031181335, 0.8569211959838867, 0.7731360793113708, -0.04940463975071907, -0.2638868987560272, -0.4930742681026459, 0.05781277269124985, -0.4574621915817261, 0.7657617926597595, -0.5486564636230469, -0.3044481873512268, 0.11108564585447311, 0.030954424291849136, -0.036505766212940216, -0.8687838912010193, 0.2796154320240021, -0.4342666268348694, 0.19975261390209198, -0.0865887999534607, -0.5728963613510132, 0.16489927470684052, 0.45404404401779175, -0.4247519373893738, 0.8305651545524597, 0.11006993055343628, -0.62894606590271, 0.40020230412483215, -0.2948310971260071, -0.16745296120643616, 0.20818506181240082, -0.05583569407463074, -0.04255104809999466, 0.27616819739341736, -0.05284865200519562, 0.21824710071086884, -0.49648788571357727, 0.21535909175872803, -0.6549304127693176, -0.18854697048664093, 0.5195567011833191, -0.3270092308521271, 0.6188204288482666, 0.09728172421455383, -0.27615538239479065, -0.25652050971984863, -0.7395840287208557, 0.08013585209846497, 0.21544300019741058, -0.09454113245010376, -0.5829117894172668, 0.36767885088920593, 0.17711582779884338, 0.2084803730249405, 0.2721061408519745, -0.33768635988235474, 0.23289775848388672, -0.4752468168735504, 0.5642008781433105, 0.708009660243988, -0.15487326681613922, 0.11194900423288345, -0.388747900724411, 0.603061318397522, -0.22892433404922485, 0.13181723654270172, 0.06897476315498352, -0.15608477592468262, -0.4517923593521118, -0.0037803668528795242, 0.4278944730758667, 0.5736600756645203, -0.4765726923942566, 0.15363815426826477, -0.5885049700737, -0.4486728310585022, -0.2789091467857361, 0.32109344005584717, 0.27143803238868713, 0.25119855999946594, 0.2568850517272949, -0.6187951564788818, -0.3215055763721466, -0.9974367022514343, -0.4153166711330414, -0.12117133289575577, -0.04375945031642914, 0.22907522320747375, 0.42096617817878723, -0.6113560199737549, 0.6360700130462646, -0.16743561625480652, 0.2693648338317871, -0.16364972293376923, 0.2637016177177429, 0.2542770206928253, 0.1475154608488083, 0.5663275718688965, -0.36733758449554443, -0.1609201729297638, -0.005268905311822891, -0.48424670100212097, -0.3031822741031647, -0.018783777952194214, 0.11488626152276993, 0.3478250503540039, 0.7147454619407654, -0.6128285527229309, 0.22550097107887268, 0.6623555421829224, -0.27300333976745605, 0.5716408491134644, 0.15993420779705048, -0.38831469416618347, -1.2189315557479858, 0.19596852362155914, -0.1807970553636551, -0.30510464310646057, -0.3222421109676361, -0.08789078146219254, 0.003127348842099309, 0.16848139464855194, -0.30647292733192444, 0.6478864550590515, -0.4550880789756775, -0.24764496088027954, -0.32503145933151245, 0.5975542664527893, -0.1896238923072815, -0.2776820659637451, 0.010256685316562653, 0.3511677086353302, 0.34392014145851135, -0.6372742056846619, 0.2388705015182495, 0.06363959610462189, -0.5170128345489502, 0.45806652307510376, -0.4169958531856537, 0.21345508098602295, -0.06299110502004623, 0.10390554368495941, -0.6823638677597046, -0.031238382682204247, -0.18530111014842987, -0.3254656195640564, 0.5738723874092102, -0.18061260879039764, -0.535640299320221, -0.12355706095695496, -0.2179684191942215, 0.13021035492420197, 0.3900224268436432, -0.14323274791240692, 0.3106725215911865, 0.20027990639209747, -0.14295455813407898, -0.7462353110313416, -0.6826679110527039, 0.3156779706478119, -0.1373327523469925, -0.46514537930488586, 0.36219626665115356, -0.05042571946978569, -0.6930050849914551, 0.2921696603298187, -0.3387604057788849, 0.0936564952135086, 0.5233840346336365, -0.046710655093193054, 0.017430933192372322, -0.19785970449447632, 0.21054093539714813, -0.17075511813163757, -0.0890517607331276, 0.270854651927948, -0.12762002646923065, 0.9347524642944336, -0.03887961059808731, -0.07277671247720718, -0.28638315200805664, 0.12423823773860931, 0.7196347713470459, -0.007343868725001812, 0.6852045655250549, 0.5970660448074341, -0.28708717226982117, -0.2853374183177948, -0.5395435690879822, -0.31523287296295166, -0.42795267701148987, 0.5700968503952026, -0.26563042402267456, -0.6927823424339294, 0.5668700933456421, -0.226068377494812, 0.20331349968910217, 0.574658215045929, 0.4753361642360687, 0.07966387271881104, 0.7936297059059143, 0.46571996808052063, -0.047738924622535706, 0.48785439133644104, -0.31022730469703674, -0.04293544590473175, -0.8822095394134521, -0.06467898190021515, -0.5588414669036865, -0.2952366769313812, -0.7618204951286316, -0.4056609570980072, -0.03338921442627907, -0.00493075093254447, 0.08017470687627792, 0.3657459616661072, -0.030351806432008743, 0.2630821168422699, 0.3059332072734833, -0.25664591789245605, 0.30960920453071594, -0.030896171927452087, -0.17065732181072235, -0.08779098838567734, -0.7238197922706604, -0.6068071126937866, 1.189191222190857, 0.24862301349639893, 0.9835543632507324, 0.2419077455997467, 0.5821908116340637, 0.10028620809316635, 0.5133630037307739, -0.6326993107795715, 0.6211668848991394, -0.20337343215942383, -0.6991714239120483, 0.08265120536088943, -0.6424316167831421, -0.9530068635940552, 0.02767917886376381, -0.2801942527294159, -0.7912165522575378, 0.018074601888656616, -0.041564736515283585, 0.0005320605123415589, 0.11542554944753647, -0.3662818968296051, 0.9623467922210693, -0.4462131857872009, -0.5997292995452881, -0.4528858959674835, -0.5419976711273193, 0.36778005957603455, -0.014909675344824791, 0.3502221405506134, -0.34040316939353943, -0.4400927424430847, 0.6946231126785278, -0.38595664501190186, 0.7071027159690857, 0.01959351822733879, 0.003915333189070225, -0.004200577270239592, 0.3772217333316803, 0.3400692045688629, 0.30071982741355896, -0.0694628357887268, -0.02540586143732071, 0.20064063370227814, -0.38295772671699524, -0.5277993083000183, 0.8223205804824829, -0.6571321487426758, -0.3978189527988434, -0.45459914207458496, -0.7325884699821472, -0.5025696158409119, 0.2802399694919586, 0.33032509684562683, 0.488918662071228, -0.5076287388801575, 0.16055291891098022, 0.5454984903335571, -0.01819472201168537, 0.6142611503601074, 0.703312873840332, -0.4422181248664856, -0.4188785254955292, 0.6001891493797302, 0.12966419756412506, 0.5663943290710449, 0.40015682578086853, 0.34818416833877563, -0.419442355632782, -0.8777493238449097, -0.1380208283662796, 0.40221548080444336, -0.44221383333206177, 0.029308656230568886, -0.46401703357696533, 0.12960216403007507, -0.5314526557922363, 0.05106749385595322, -0.5418606400489807, -0.551048994064331, 0.007712928578257561, 0.21524420380592346, 0.22790560126304626, 0.76554936170578, -0.05841951444745064, 0.20706439018249512, -0.6717470288276672, 0.10657408833503723, 0.26945072412490845, 0.1531757265329361, -0.42846184968948364, -0.7720184326171875, -0.2027634233236313, -0.16164785623550415, -0.1294897198677063, -0.8729929327964783, 0.28843021392822266, 0.2729959487915039, 0.673216700553894, 0.5186350345611572, -0.2817777991294861, 0.43460389971733093, -0.3178424537181854, 0.643153965473175, -0.00042115096584893763, -0.9521028399467468, 0.4583432674407959, -0.560555100440979, 0.6588132977485657, 0.5916631817817688, 0.4529843330383301, -0.8034851551055908, -0.2946328818798065, -0.8593751192092896, -0.8653069138526917, 0.3809870481491089, -0.14350441098213196, 0.0910135880112648, -0.09635372459888458, 0.3018023371696472, 0.10926315933465958, 0.3857569098472595, -0.5372689366340637, -0.0003375335072632879, 0.03181753307580948, 0.02153564989566803, -0.5364388227462769, -0.2442229837179184, -0.22991321980953217, -0.06862123310565948, 0.6215555667877197, -0.2997552156448364, -0.015399058349430561, -0.0635298416018486, -0.3114522695541382, -0.0604279451072216, 0.31138861179351807, 0.5331371426582336, 0.9895556569099426, -0.38605475425720215, 0.19331535696983337, 0.36394932866096497, -0.4904310405254364, -0.033149540424346924, 0.4010680913925171, -0.29365795850753784, 0.30434805154800415, 0.6481271386146545, 0.6282695531845093, 0.24963189661502838, -0.7901797890663147, 0.15599247813224792, -0.161371648311615, -0.06951519846916199, -0.2364480197429657, 0.008860220201313496, 0.386762797832489, 0.018576595932245255, 0.052326008677482605, 0.09289953112602234, -0.12006208300590515, -0.9459697008132935, 0.11187177151441574, 0.5733428001403809, -0.223482146859169, -0.43371033668518066, 0.40213459730148315, -0.06417249888181686, -0.24436156451702118, 0.5845058560371399, -0.3637959063053131, -0.5075651407241821, 0.2846134603023529, 0.6173239350318909, 0.8189964294433594, -0.4385697841644287, 0.09105589240789413, 0.1788761466741562, 0.6018292903900146, -0.12724412977695465, 0.10997555404901505, 0.25123876333236694, -0.6153207421302795, -0.6471002101898193, -0.6153888702392578, -0.5183289051055908, 0.4268609583377838, -0.6056541800498962, 0.028960032388567924, -0.6381427645683289, -0.509418249130249, -0.11826422810554504, 0.07442556321620941, -0.5113975405693054, -0.04262503981590271, 0.2942759394645691, 1.1258708238601685, -0.9675285816192627, 0.522104799747467, 0.9208377599716187, 0.1107332780957222, -0.30553221702575684, -0.04688884690403938, 0.13480883836746216, -0.6454578042030334, 0.38512122631073, 0.10771548002958298, -0.14553454518318176, -0.366599977016449, -0.4587746560573578, -0.9972791075706482, 0.8765178322792053, 0.5822330713272095, -0.6306483745574951, -0.011006426066160202, 0.10231318324804306, 0.5931344032287598, -0.19845028221607208, 0.30197325348854065, 0.6991565823554993, 0.333499550819397, -0.12057624012231827, -0.8870749473571777, -0.023545721545815468, -0.26841601729393005, -0.057877738028764725, 0.47815024852752686, -0.511145293712616, 0.8959413766860962, 0.17126628756523132, -0.3014407157897949, 0.27181941270828247, 0.2227209359407425, -0.07479578256607056, 0.40028876066207886, 0.5481583476066589, 1.0085980892181396, 0.8029618263244629, -0.1822933703660965, 1.1058558225631714, -0.1755577176809311, 0.22590212523937225, 1.2162588834762573, -0.30874374508857727, 1.000369906425476, 0.39359158277511597, -0.2787122428417206, 0.7606866955757141, 0.44213175773620605, 0.19284948706626892, 0.3418770432472229, 0.44170188903808594, -0.07060487568378448, -0.4491916596889496, -0.2613644301891327, -0.4465131163597107, 0.44699880480766296, 0.5445466637611389, -0.3160730004310608, -0.40649935603141785, -0.41465315222740173, 0.2653605043888092, 0.06266912817955017, -0.11417056620121002, 0.5954701900482178, 0.1753435730934143, -0.7040157318115234, 0.8491629958152771, -0.1381181925535202, 0.4642292559146881, -0.7035546898841858, 0.4069020450115204, -0.32943546772003174, 0.46284326910972595, -0.08263383060693741, -0.32503101229667664, 0.27240273356437683, 0.05464952811598778, -0.09712614864110947, -0.059501662850379944, 0.4357633888721466, -0.13643047213554382, -0.502878725528717, 0.3285112679004669, 0.683860719203949, 0.20057067275047302, 0.01388037484139204, -0.8067439198493958, 0.24431420862674713, -0.3203384578227997, -0.15689337253570557, 0.42216718196868896, 0.3354814946651459, -0.05046006664633751, 0.6621782183647156, 0.4652148187160492, 0.11880243569612503, 0.15471602976322174, 0.17528145015239716, 0.7277994155883789, -0.7297446131706238, -0.1406625211238861, -0.796314001083374, 0.08285635709762573, -0.27735891938209534, -0.6458539366722107, 0.7629678845405579, 0.567115306854248, 0.7363734245300293, 0.232071191072464, 0.5655142664909363, -0.09239193052053452, 0.570891261100769, -0.6282117962837219, 0.46553194522857666, -0.6870542764663696, 0.2674121558666229, -0.2986762821674347, -1.1433097124099731, -0.14605341851711273, 0.40749114751815796, -0.5229282975196838, -0.011527672410011292, 0.987086296081543, 0.7769741415977478, -0.02090001292526722, -0.19704321026802063, 0.10004172474145889, 0.404106467962265, 0.11663152277469635, 0.602640688419342, 1.206010341644287, -0.30349814891815186, 0.2957846522331238, -0.3528355360031128, -0.24866658449172974, -0.35142016410827637, -1.0204893350601196, -0.8867941498756409, -0.24693524837493896, -0.4241035282611847, -0.4303281307220459, 0.17484433948993683, 0.5910057425498962, 0.5892298817634583, -0.6651175022125244, -0.3954313397407532, -0.1939426213502884, -0.043692611157894135, -0.3548565208911896, -0.1787005066871643, 0.14360803365707397, -0.48938727378845215, -0.6323087215423584, 0.7610804438591003, -0.10787142068147659, -0.03274751827120781, -0.3441058397293091, 0.057403482496738434, -0.2619735300540924, -0.011483832262456417, 0.4447312653064728, 0.2567834258079529, -0.5126486420631409, -0.10252843052148819, 0.30965656042099, 0.033989317715168, -0.23748813569545746, 0.7034181356430054, -0.729189395904541, 0.4477839171886444, 0.56197190284729, 0.497004896402359, 0.6239142417907715, -0.053119298070669174, 0.4932153522968292, -0.33562371134757996, 0.11834823340177536, 0.574030876159668, 0.3325793147087097, 0.5973016619682312, 0.3318467438220978, 0.4901547431945801, 0.6016899347305298, -0.4212872087955475, -1.006295084953308, 0.37095773220062256, -0.7768092751502991, -0.41964682936668396, 1.092045783996582, 0.1658296436071396, -0.4478434920310974, 0.036401309072971344, 0.4632062613964081, 0.020054632797837257, -0.02569231204688549, 0.6259656548500061, 0.7995683550834656, 0.1073562279343605, 0.07372156530618668, -0.6299872994422913, 0.48158082365989685, 0.7785014510154724, -0.6756917238235474, 0.23246702551841736, 0.6171543002128601, 0.4448111057281494, 0.4743020832538605, 0.204236701130867, -0.1558915078639984, 0.3420420289039612, 0.16276521980762482, -0.10803442448377609, 0.08548907190561295, -0.16013893485069275, -0.34699997305870056, 0.01732085831463337, 0.41935500502586365, 0.07930759340524673 ]
http://arxiv.org/abs/2402.12255v1
http://arxiv.org/pdf/2402.12255v1
Shallow Synthesis of Knowledge in GPT-Generated Texts: A Case Study in Automatic Related Work Composition
2024-02-19T16:14:04
2024-02-19T16:14:04
Anna Martin-Boyle, Aahan Tyagi, Marti A. Hearst, Dongyeop Kang
cs.CL
cs.CL
Numerous AI-assisted scholarly applications have been developed to aid different stages of the research process. We present an analysis of AI-assisted scholarly writing generated with ScholaCite, a tool we built that is designed for organizing literature and composing Related Work sections for academic papers. Our evaluation method focuses on the analysis of citation graphs to assess the structural complexity and inter-connectedness of citations in texts and involves a three-way comparison between (1) original human-written texts, (2) purely GPT-generated texts, and (3) human-AI collaborative texts. We find that GPT-4 can generate reasonable coarse-grained citation groupings to support human users in brainstorming, but fails to perform detailed synthesis of related works without human intervention. We suggest that future writing assistant tools should not be used to draft text independently of the human author.
[ -0.06575032323598862, -0.6379784345626831, 0.8097852468490601, 0.13187135756015778, 0.014493278227746487, 0.24200339615345, 0.01909620873630047, -0.7472178936004639, 0.32104384899139404, 0.17787763476371765, -0.41872262954711914, -0.4651910960674286, -0.19710183143615723, 0.3765873908996582, -0.4329235255718231, 1.3972197771072388, -0.33636409044265747, -0.09969952702522278, -0.6069677472114563, -0.008111566305160522, -0.247250497341156, -0.23324283957481384, -0.4931127727031708, -0.2132175862789154, 0.5498340725898743, 0.06399054080247879, 0.40540316700935364, 0.5022408366203308, 0.8505325317382812, 0.43810632824897766, 0.25458618998527527, 0.27366772294044495, -0.2600800395011902, 0.48270517587661743, -0.34429439902305603, -0.06543999910354614, -0.7023608088493347, 0.1748901605606079, 0.4063267111778259, 0.6848059892654419, 0.44028106331825256, 0.19398006796836853, 0.28014326095581055, 0.7814151048660278, -0.49224570393562317, 0.23440907895565033, -0.6692636609077454, -0.0019425476202741265, -0.3192547857761383, -0.23426346480846405, -0.18501709401607513, -0.5272005200386047, 0.354024738073349, -0.6719830632209778, 0.4891115725040436, 0.12615950405597687, 0.5985594391822815, 0.35129284858703613, 0.10587616264820099, -0.9196210503578186, -0.8000208139419556, 0.49636536836624146, -0.482573539018631, -0.3088315427303314, 0.2997307777404785, -0.028662871569395065, 0.011933982372283936, -1.0971230268478394, -0.5442044138908386, -0.29991593956947327, -0.28880369663238525, 0.3822398781776428, -0.1582985371351242, 0.19884461164474487, -0.02143184095621109, 0.34492993354797363, -0.8847309947013855, -0.4113919734954834, -0.6784173846244812, -0.3772483468055725, 0.7664097547531128, 0.24412044882774353, 0.4516092538833618, -0.23185782134532928, -0.05993444100022316, 0.16836561262607574, -0.5082913637161255, -0.5328186750411987, 0.44513270258903503, 0.14228878915309906, 0.4514620304107666, 0.8663856387138367, -0.029167985543608665, 0.4149474799633026, -0.05001811683177948, 0.03021834045648575, 0.08130176365375519, -0.5549262762069702, -0.2839745283126831, 0.0770898312330246, 1.0315974950790405, 0.23941893875598907, 0.2555675506591797, -0.4720531404018402, -0.08685825020074844, 0.1604326367378235, 0.3080703318119049, -0.5506638884544373, -0.3926539421081543, 0.1585274338722229, -0.2595859467983246, -0.3784658908843994, 0.007420409005135298, -0.10780706256628036, -0.39645880460739136, -0.3347717523574829, 0.2708456516265869, -0.2500290274620056, 0.14776065945625305, -0.3711232841014862, -0.29894664883613586, -0.5243071913719177, 0.23436325788497925, -0.6400866508483887, 0.19419363141059875, 0.24796321988105774, 0.9072842001914978, -0.4248517155647278, -0.7441462874412537, -0.18798063695430756, 0.6499271988868713, -0.13121800124645233, 0.847343385219574, -0.22517910599708557, -0.5382074117660522, -0.053582243621349335, -0.2886113226413727, -0.10225429385900497, -0.25623607635498047, 0.46068888902664185, -0.3727845549583435, 0.4491563141345978, -0.21620586514472961, -0.5421826243400574, 0.062200963497161865, 0.07634001970291138, -0.6855108141899109, 1.0443822145462036, 0.4158133268356323, -1.2385575771331787, 0.45974209904670715, -0.7496475577354431, -0.6149320602416992, 0.1836014837026596, -0.3724811375141144, -0.1435183435678482, 0.002361232414841652, 0.008734792470932007, 0.4639344811439514, -0.31175559759140015, 0.26727983355522156, -0.12750713527202606, -0.59839928150177, 0.07630305737257004, -0.052893925458192825, 0.6116965413093567, 0.19856292009353638, -0.5304887294769287, 0.4194568693637848, -0.6287001967430115, -0.14697158336639404, -0.15257853269577026, -0.25362175703048706, -0.5137297511100769, -0.1541844606399536, 0.12401638925075531, -0.01386088877916336, 0.33831822872161865, -0.27850884199142456, 0.4793128967285156, -0.13340561091899872, 0.5351623892784119, 0.7306872606277466, 0.21985389292240143, 0.675720751285553, -0.2722562551498413, 0.4659057557582855, -0.5422309041023254, -0.07025957852602005, 0.12972095608711243, -0.3633422553539276, -0.6154689192771912, -0.15029512345790863, 0.38787922263145447, 0.4507197141647339, -1.0746370553970337, 0.2702552080154419, -0.3380242884159088, -0.5515012741088867, -0.24462781846523285, 0.05879456549882889, 0.33529919385910034, 0.3649000823497772, 0.39585986733436584, -0.2727431356906891, -0.4586387276649475, -0.9158543348312378, -0.5092930793762207, -0.4415810704231262, -0.09392015635967255, 0.16139928996562958, 0.6200832724571228, -0.20374318957328796, 0.8773053288459778, -0.5378991961479187, -0.5690342783927917, -0.07449258863925934, 0.47595903277397156, -0.4006446599960327, 0.4947986602783203, 0.5385449528694153, -0.2022935450077057, -0.8343605399131775, 0.09073130041360855, -1.0977283716201782, -0.11095533519983292, -0.30836743116378784, -0.2747616767883301, 0.11335878819227219, 0.8536862134933472, -0.6736630797386169, 0.4882357716560364, 0.10745447874069214, -0.0918208435177803, 0.5573893189430237, -0.2456122636795044, 0.11845719814300537, -0.6766492128372192, 0.4695006310939789, -0.25030943751335144, 0.3034040331840515, -0.4067816138267517, 0.08906672894954681, -0.378737211227417, -0.06314246356487274, 0.068377785384655, 0.3666553199291229, -0.6948117017745972, -0.16212181746959686, -0.29390400648117065, 0.34712469577789307, -0.04995216801762581, 0.45141690969467163, -0.010668493807315826, 0.9298985600471497, 0.055656641721725464, -0.12719343602657318, -0.11213798075914383, 0.08344930410385132, -0.1817196011543274, 0.5091714859008789, -0.8634951710700989, 0.45656564831733704, 0.1475355327129364, 0.29221150279045105, -0.7357895374298096, -0.5367962718009949, 0.3315349817276001, -0.2194424420595169, 0.0851936861872673, -0.13090050220489502, -0.603882908821106, -0.25674229860305786, -0.38830262422561646, 0.5393679738044739, 0.03781944513320923, 0.2739092707633972, 0.7857184410095215, 0.1390666961669922, -0.8198822736740112, -0.27047544717788696, -0.7638339400291443, 0.17806831002235413, -0.10978677123785019, -0.7368513345718384, 0.6341860890388489, -0.24679850041866302, -0.4670439064502716, 0.36511799693107605, 0.31950417160987854, -0.10878144204616547, -0.22172945737838745, 0.37234511971473694, 0.2762601673603058, 0.08720741420984268, 0.09562989324331284, 0.48621678352355957, 0.1487913578748703, 0.037200964987277985, -0.2198968231678009, 0.10417254269123077, -0.28202497959136963, -0.45489874482154846, -0.3575977385044098, 0.5043549537658691, 0.639826774597168, 0.05531108006834984, 0.24005773663520813, 0.8295490741729736, -0.025037556886672974, 0.09119463711977005, -0.30707255005836487, -0.09473708271980286, -0.4303622841835022, 0.07768672704696655, -0.1491086483001709, -0.7975730299949646, 0.5248531699180603, 0.22581113874912262, 0.22805079817771912, 0.7711973190307617, 0.41766712069511414, -0.15967650711536407, 0.6710915565490723, 0.3000251054763794, -0.11607712507247925, 0.3393729329109192, -0.23409460484981537, 0.10329470038414001, -0.7034373879432678, -0.09980255365371704, -0.6378588676452637, -0.2590083181858063, -0.5984011888504028, -0.14678660035133362, 0.5101460218429565, -0.14595383405685425, -0.203041210770607, 0.1604798436164856, -0.9545544981956482, 0.353936105966568, 0.7754603624343872, -0.14166121184825897, 0.4659731984138489, 0.22194626927375793, 0.02372266724705696, -0.19040845334529877, -0.6122578978538513, -0.5119668245315552, 1.0518136024475098, -0.17376980185508728, 0.3577454686164856, -0.22645607590675354, 1.0002803802490234, 0.680122971534729, 0.5949353575706482, -0.6178059577941895, 0.45617958903312683, 0.11616992950439453, -0.5549131035804749, -0.5186673998832703, -0.19218862056732178, -0.8106120228767395, 0.18614459037780762, -0.16492407023906708, -0.46549272537231445, 0.05044620484113693, -0.02821074239909649, -0.12839767336845398, -0.10672421008348465, -0.7199572324752808, 0.42497217655181885, 0.011530330404639244, -0.6672475337982178, -0.014920608140528202, -0.6290789842605591, 0.16750475764274597, 0.061089638620615005, 0.20784613490104675, 0.370382159948349, 0.2926484942436218, 0.9145559072494507, -0.46951955556869507, 0.6318725943565369, -0.15408402681350708, -0.03413475304841995, 0.8260126113891602, 0.3200156092643738, 0.6145594716072083, -0.032310355454683304, -0.24749866127967834, -0.20725248754024506, -0.2180187702178955, -0.4116405248641968, -0.39639273285865784, 0.9100125432014465, -0.584033727645874, -0.5165553689002991, -0.6355401873588562, -0.9227126240730286, -0.09916852414608002, 0.5521366000175476, 0.49450305104255676, 0.30361872911453247, -0.25507357716560364, -0.0882892981171608, -0.05108943581581116, 0.3752249777317047, 0.4588758945465088, -0.14773787558078766, 0.07592814415693283, -0.6238449811935425, 1.073867917060852, 0.28527331352233887, -0.158858060836792, -0.12207985669374466, -0.09555728733539581, 0.07614791393280029, -0.992980420589447, -0.6605029702186584, 0.29258668422698975, -0.7286344766616821, 0.012144501321017742, -0.44523924589157104, -0.14570939540863037, -0.3089537024497986, -0.48091548681259155, -0.016304612159729004, -0.517228901386261, -0.4135703146457672, -0.04680660367012024, -0.029104020446538925, 1.2139952182769775, -0.012927046045660973, -0.053920336067676544, -0.6962254643440247, -0.16622182726860046, 0.3120226263999939, -0.1410597711801529, 0.1508028209209442, 0.1269822120666504, -0.47721606492996216, -0.2284509837627411, -0.33063405752182007, -0.5945417284965515, 0.08318587392568588, 0.04780203104019165, 0.2981777489185333, 0.10003475099802017, -0.03829323872923851, 0.5240709185600281, -0.5135302543640137, 1.085394263267517, 0.02594822458922863, -0.9202471375465393, 0.3770309388637543, -0.6839861273765564, 0.23215606808662415, 1.117483139038086, 0.4130813181400299, 0.07493408024311066, -0.6454275250434875, -0.7098392844200134, -1.0660297870635986, 0.3029162287712097, 0.7434386610984802, -0.13797466456890106, 0.045562028884887695, 0.35449767112731934, 0.17374193668365479, 0.2739191949367523, -0.8149723410606384, -0.03220811486244202, -0.14885874092578888, -0.3286498188972473, 0.3199516534805298, -0.11441609263420105, -0.35919949412345886, -0.07009243220090866, 0.612895131111145, -0.17254117131233215, 0.18904255330562592, 0.46134406328201294, -0.23253172636032104, 0.08651480078697205, -0.0745578333735466, 0.6548386216163635, 0.9036113023757935, -0.12247616797685623, 0.16648879647254944, -0.21937504410743713, -0.6140640377998352, -0.21363364160060883, 0.27099117636680603, -0.5607430338859558, -0.031031345948576927, 1.0006142854690552, 0.27500680088996887, -0.1688331812620163, -0.31086093187332153, 0.25061437487602234, -0.08857180923223495, -0.6205419301986694, -0.17609544098377228, 0.18148359656333923, 0.08237534016370773, 0.16512137651443481, 0.43809774518013, 0.39020586013793945, 0.6526951193809509, -0.5175743699073792, -0.2729627788066864, 0.2813079357147217, -0.5688493847846985, -0.38022565841674805, 0.4775823950767517, 0.2340935468673706, -0.08764027804136276, 0.5011538863182068, -0.36142727732658386, -0.2847820520401001, 0.16174963116645813, 0.2271551787853241, 0.963922381401062, 0.1361500769853592, 0.22394104301929474, 0.06432727724313736, 0.2682901620864868, 0.2648209035396576, 0.1621209979057312, -0.21216587722301483, -0.10952898859977722, -0.36835139989852905, -0.4256012439727783, -0.13978494703769684, -0.022145992144942284, -0.47867950797080994, -0.2385171353816986, -0.2876296639442444, -0.1697077602148056, 0.24899029731750488, 0.008271765895187855, -0.5028875470161438, 0.028610333800315857, -0.7531722187995911, 0.23258773982524872, -0.8974756002426147, 0.4794211983680725, 0.9147888422012329, -0.7815534472465515, -0.6658416390419006, 0.17950071394443512, -0.20774833858013153, -0.24473462998867035, 0.5486428141593933, -0.2128845751285553, -0.432923287153244, -0.011476878076791763, -0.5048471689224243, -0.47434404492378235, 1.2894915342330933, 0.12531796097755432, -0.04139290004968643, -0.3295918405056, 0.011107658967375755, 0.9578750133514404, -0.20109528303146362, 0.2820369303226471, 0.2223479449748993, 0.6146851181983948, 0.0024188575334846973, -0.8742848038673401, 0.2662314474582672, -0.5326080322265625, -0.09093555063009262, -0.23033249378204346, -0.4447473883628845, 0.9352946877479553, 0.1759166717529297, -0.23724491894245148, 0.327426940202713, 0.7296808958053589, 0.10522015392780304, 0.48832839727401733, 0.27192869782447815, -0.0459737591445446, 0.8771899342536926, 0.21211232244968414, 0.9007343649864197, -0.2036660611629486, 0.0865219384431839, 1.2697322368621826, -0.4223387837409973, 0.3669629693031311, 0.6873559951782227, -0.2474164366722107, 0.8569427132606506, 0.40706315636634827, 0.11287345737218857, 0.441253125667572, 0.1567373424768448, -0.3328348696231842, 0.1889571100473404, -0.0991978868842125, -0.6480220556259155, 0.23952730000019073, 0.15395502746105194, -0.6800531148910522, 0.13077613711357117, -0.2584301233291626, 0.07318016141653061, 0.18298447132110596, 0.15515729784965515, 0.9163431525230408, -0.10753091424703598, -0.903069257736206, 0.3246246576309204, -0.10340391844511032, 0.24217377603054047, -0.25197216868400574, -0.017585400491952896, -0.2066650390625, -0.07399646937847137, -0.416197806596756, -0.6982467770576477, 0.4409745931625366, -0.05858606845140457, -0.343779981136322, 0.03604932874441147, 0.8397407531738281, -0.30391725897789, -0.4001927673816681, -0.16965942084789276, 0.7882042527198792, 0.27471724152565, -0.11780815571546555, -0.5482601523399353, 0.025661740452051163, -0.019996672868728638, -0.3084544539451599, 0.19280488789081573, 0.5253231525421143, -0.34184253215789795, 0.35099440813064575, 0.701657772064209, 0.07924287021160126, -0.35185015201568604, 0.2369699329137802, 0.9736676216125488, -0.34380286931991577, -0.4055914580821991, -0.7184081077575684, 0.3982313573360443, -0.3152807056903839, -0.28576430678367615, 0.9843586683273315, 0.5345913767814636, 0.5895489454269409, -0.3570157587528229, 1.3566060066223145, -0.3329000771045685, 0.12653285264968872, -0.38753366470336914, 0.8700816035270691, -0.3795912563800812, 0.20782095193862915, -0.894856333732605, -1.0528301000595093, -0.4367402195930481, 0.5296970009803772, -0.2948670983314514, 0.13658694922924042, 1.0131964683532715, 0.46504920721054077, 0.00004987205829820596, 0.18917402625083923, -0.21240349113941193, -0.14598993957042694, 0.2912038564682007, 0.038570668548345566, 0.6867212653160095, -0.20826299488544464, 0.6031498312950134, -0.0421861931681633, -0.16227814555168152, -0.19302427768707275, -0.9120884537696838, -1.0946869850158691, -0.7772484421730042, -0.07214108854532242, -0.3803279399871826, 0.06751351803541183, 0.4944026470184326, 0.3584958612918854, -0.5717688798904419, -0.13267207145690918, -0.5345304012298584, -0.04535358399152756, -0.07651842385530472, -0.19928260147571564, 0.9894253611564636, -0.13580206036567688, -0.6788498163223267, 0.4005199074745178, 0.2930922508239746, 0.02988387644290924, -0.6418665051460266, 0.03467541188001633, -0.10150282829999924, -0.0058457376435399055, 0.6059781312942505, -0.06702637672424316, -0.4002132713794708, -0.21713370084762573, 0.061184514313936234, -0.15473251044750214, -0.36215949058532715, 1.184138536453247, -0.48099496960639954, 0.37229275703430176, 0.7683472037315369, 0.3666366636753082, 0.7102956771850586, -0.02039838396012783, 0.5954886674880981, -0.5156081318855286, -0.008593762293457985, 0.2680080533027649, 0.19253642857074738, 0.4621218740940094, -0.38069844245910645, 0.794482409954071, 0.3933916985988617, -0.8541598916053772, -0.6660535931587219, -0.029707444831728935, -0.8267097473144531, -0.4528796076774597, 0.8010790348052979, -0.21845519542694092, -0.1028393805027008, -0.39926084876060486, -0.5820730328559875, 0.25970178842544556, -0.2930268347263336, 1.0106407403945923, 0.7335417866706848, -0.6142185926437378, 0.6926572918891907, -0.21031470596790314, 0.7556242942810059, 0.1406691074371338, -0.9074030518531799, -0.06303828209638596, 0.7842239141464233, 0.08931006491184235, 0.6151090264320374, 0.9850133061408997, 0.05583522096276283, 0.2362436056137085, 0.30080389976501465, 0.04035068675875664, -0.34283557534217834, -0.37455546855926514, 0.4312639832496643, 0.49919790029525757, 0.23065492510795593, 0.5014218688011169 ]
http://arxiv.org/abs/2402.12249v1
http://arxiv.org/pdf/2402.12249v1
Analysis of Levenshtein Transformer's Decoder and Its Variants
2024-02-19T16:05:28
2024-02-19T16:05:28
Ruiyang Zhou
cs.CL
cs.CL
Levenshtein transformer (LevT) is a non-autoregressive machine translation model with high decoding efficiency and comparable translation quality in terms of bleu score, due to its parallel decoding and iterative refinement procedure. Are there any deficiencies of its translations and what improvements could be made? In this report, we focus on LevT's decoder and analyse the decoding results length, subword generation, and deletion module's capability. We hope to identify weaknesses of the decoder for future improvements. We also compare translations of the original LevT, knowledge-distilled LevT, LevT with translation memory, and the KD-LevT with translation memory to see how KD and translation memory can help.
[ -0.3898836374282837, -0.6300374269485474, -0.05943918973207474, -0.1313685029745102, -0.24786965548992157, 0.08217839151620865, 0.05658045411109924, -0.48018428683280945, -0.055949047207832336, 0.15416136384010315, -0.26124995946884155, -0.032324038445949554, -0.8151246905326843, 0.46721240878105164, -0.8265097737312317, 1.1107796430587769, -0.1884184032678604, 0.21316787600517273, 0.3387376666069031, -0.11044599115848541, -0.6553945541381836, -0.13060982525348663, -0.5975604057312012, -0.2094781994819641, 0.36263421177864075, 0.3757961392402649, 0.6462405323982239, 0.496550053358078, 0.8330326080322266, 0.2585624158382416, -0.06688732653856277, -0.4213557243347168, -0.6434750556945801, 0.03704293817281723, -0.23303593695163727, -0.40225207805633545, -0.6254610419273376, -0.25444716215133667, 0.8592622876167297, 0.35938701033592224, -0.20283131301403046, 0.13871750235557556, 0.03434478119015694, 1.0003294944763184, -0.24304085969924927, -0.14999043941497803, -0.5576105117797852, 0.2110666185617447, -0.23485080897808075, -0.10641642659902573, -0.46821850538253784, -0.22445426881313324, 0.10383331775665283, 0.1073259562253952, 0.8155837059020996, 0.30776143074035645, 0.8066831827163696, 0.49627548456192017, -0.6362400650978088, 0.00594334676861763, -0.7550309896469116, 0.7600622177124023, -0.8693057298660278, 0.769834041595459, 0.09169444441795349, 0.6771160364151001, -0.1023024320602417, -0.48459339141845703, -0.6396404504776001, -0.12731516361236572, -0.34169742465019226, 0.20239543914794922, -0.05404939502477646, -0.012561757117509842, 0.2796883285045624, 1.1636266708374023, -1.0271157026290894, 0.03968515247106552, -0.4428577125072479, -0.08338096737861633, 0.489883691072464, 0.18787814676761627, 0.3134390413761139, -0.39429545402526855, -0.24058404564857483, -0.14783194661140442, -0.5322819948196411, -0.14497922360897064, 0.369700163602829, -0.20200257003307343, 0.03414127230644226, 0.807593047618866, -0.4044022262096405, 0.3956858813762665, 0.1765315681695938, 0.2930736243724823, 0.3215939402580261, -0.2726992070674896, -0.4517044723033905, 0.05045897886157036, 0.4809962809085846, 0.30796438455581665, 0.052947357296943665, -0.2815185785293579, -0.6981845498085022, -0.2343127280473709, 0.3297989070415497, -0.8301630020141602, -0.4613400995731354, 0.22566966712474823, -0.972922146320343, -0.1361500769853592, 0.06945321708917618, -0.7588889002799988, -0.04531720280647278, 0.22102905809879303, 0.41081804037094116, -0.7537362575531006, -0.4171483516693115, 0.11039800941944122, -0.47473499178886414, 0.4911535680294037, 0.08060727268457413, -0.9244199991226196, 0.3289439082145691, 0.08087199181318283, 0.4673968255519867, -0.474001407623291, -0.37241026759147644, -0.3452906608581543, -0.17131945490837097, -0.20068304240703583, 0.6392013430595398, -0.11288541555404663, -0.5262711644172668, -0.1669478565454483, 0.37704673409461975, -0.2391941398382187, -0.5172926783561707, 0.3647569715976715, -0.814175546169281, 0.04650642350316048, -0.486846923828125, -0.7967939972877502, -0.4456563889980316, 0.14063014090061188, -0.9987590312957764, 0.6846705079078674, 0.4514075219631195, -0.8184051513671875, 0.26154080033302307, -0.6482337713241577, -0.6364032030105591, 0.24932262301445007, 0.22948551177978516, -0.3755676746368408, 0.4633520841598511, 0.11328476667404175, -0.05699753761291504, -0.28972920775413513, 0.041816942393779755, 0.5220575332641602, -0.4484257698059082, 0.2686026096343994, -0.6788201928138733, 0.3518209755420685, 0.17624972760677338, -0.4487329423427582, -0.038137130439281464, -0.843005895614624, -0.12583327293395996, 0.34008553624153137, -0.6562581658363342, 0.36831745505332947, 0.1182570680975914, 0.4363185167312622, -0.06721504777669907, 0.41284874081611633, -0.7588043212890625, 0.06661857664585114, -0.4050312042236328, 0.22258174419403076, 0.6040678024291992, -0.00803721509873867, 0.35182496905326843, -0.4721793532371521, 0.5215640068054199, 0.22946012020111084, 0.2791557013988495, -0.1750592440366745, -0.6685261130332947, -0.8196021318435669, 0.23958058655261993, 0.6383140683174133, 0.6308206915855408, -0.8075137734413147, 0.17889495193958282, -0.2694620192050934, -0.2625390291213989, -0.48688092827796936, -0.047379620373249054, 0.4232138991355896, 0.4366195499897003, 0.7274996042251587, -0.3040771186351776, -0.3036445081233978, -1.2052520513534546, -0.48804792761802673, 0.17965827882289886, 0.16191673278808594, -0.31415775418281555, 0.5846002101898193, -0.3448464572429657, 0.39389634132385254, -0.12445960938930511, -0.039401665329933167, -0.40816548466682434, 0.10639659315347672, 0.04530346766114235, 0.6224057674407959, 0.3715149760246277, -0.9132183194160461, -0.7972078919410706, 0.2987687885761261, -0.34695902466773987, 0.1536557823419571, 0.10888101905584335, 0.2749980390071869, 0.540115237236023, 0.25512444972991943, -0.6010045409202576, 0.8855600953102112, 0.5726468563079834, -0.29933473467826843, 0.7135752439498901, -0.29826274514198303, 0.5853447914123535, -0.8723085522651672, 0.042598336935043335, -0.3503884971141815, -0.3747381269931793, -0.4830714762210846, 0.06200595945119858, 0.26667797565460205, 0.03646078705787659, -0.1659349799156189, 0.11652753502130508, -0.3656269311904907, -0.10285632312297821, -0.18017646670341492, -0.13876911997795105, -0.2024969607591629, 0.2242395132780075, -0.10435082763433456, 0.8228549957275391, 0.26117396354675293, -0.2758926451206207, 0.5938625335693359, 0.3280610740184784, -0.420225590467453, 0.46647879481315613, -0.7062200903892517, 0.12430144101381302, -0.1785849630832672, 0.03430427238345146, -1.0432335138320923, -0.15911652147769928, -0.04064872860908508, -0.3906131386756897, 0.5966538786888123, 0.018249064683914185, -0.6711960434913635, -0.43791696429252625, -0.16388817131519318, 0.7222597002983093, 0.8177415132522583, -0.35191673040390015, 0.13127222657203674, -0.20598062872886658, 0.13236232101917267, -0.6936631202697754, -0.8791955709457397, 0.033792559057474136, 0.055595122277736664, -0.20956330001354218, 0.2694539427757263, -0.2376585751771927, 0.2957479655742645, 0.38052108883857727, -0.4239805340766907, 0.055636752396821976, -0.33241868019104004, -0.22176243364810944, -0.0750250592827797, -0.4903546869754791, -0.0997534841299057, 0.15138272941112518, -0.3891851007938385, -0.20562328398227692, -0.05564076825976372, 0.49458047747612, -0.3283250331878662, -0.41721048951148987, -0.5652424097061157, 0.6135072708129883, 0.5865835547447205, -0.26352658867836, 0.5474576950073242, 0.6875470280647278, -0.16824863851070404, -0.1556212157011032, -0.5750325322151184, -0.07649540901184082, -0.48104771971702576, 0.4373704791069031, -0.5374212265014648, -0.6545422673225403, 0.5542898178100586, 0.16107037663459778, -0.19718848168849945, 0.7086148262023926, 0.46147212386131287, 0.026685034856200218, 0.8278582692146301, 0.6555246710777283, 0.13471044600009918, 0.23618996143341064, -0.2713161110877991, 0.5046767592430115, -0.8614020347595215, -0.1378554105758667, -0.1584443747997284, -0.6807025671005249, -0.8312917351722717, -0.02338731847703457, -0.028958147391676903, 0.07205487042665482, 0.010752726346254349, 0.6557337641716003, -0.5020743608474731, 0.5135453939437866, 0.47241640090942383, -0.18508946895599365, 0.2962004542350769, -0.20809593796730042, 0.0798335075378418, 0.053875114768743515, -0.5860992670059204, -0.29320308566093445, 0.9768914580345154, 0.39283496141433716, 0.6383078098297119, 0.1834714263677597, 0.6037525534629822, 0.27528661489486694, 0.04489710554480553, -0.7459814548492432, 0.3904831111431122, -0.37835773825645447, -0.6437295079231262, -0.334651380777359, -0.5009941458702087, -0.8690699338912964, -0.0653722882270813, 0.01255305390805006, -0.5708860754966736, 0.28345534205436707, 0.1302758753299713, 0.18734604120254517, 0.5670814514160156, -0.7648792862892151, 1.1082340478897095, -0.015117749571800232, 0.3851209580898285, -0.22714395821094513, -0.5795890092849731, 0.29798388481140137, -0.10718591511249542, -0.16816416382789612, 0.19376328587532043, 0.23940713703632355, 0.4549524784088135, -0.28879618644714355, 0.35264965891838074, 0.04254831373691559, -0.25020676851272583, 0.021287325769662857, 0.35932567715644836, 0.33254075050354004, -0.1858062893152237, -0.22299166023731232, 0.2443692982196808, 0.36379846930503845, -0.6314422488212585, -0.5400616526603699, 0.4970491826534271, -0.56154465675354, -0.5406799912452698, -0.16247788071632385, -0.713411271572113, 0.01463350746780634, 0.44055867195129395, 0.8062333464622498, 0.5768380761146545, -0.3728209435939789, 0.10979005694389343, 0.654636561870575, -0.4665275812149048, 0.601108193397522, 0.40975743532180786, -0.23292790353298187, -0.35527995228767395, 0.8652293682098389, 0.16657553613185883, 0.3986593186855316, 0.6546571850776672, 0.1986387073993683, -0.3319482207298279, -0.809685468673706, -0.4886075556278229, 0.02925688773393631, -0.8930959701538086, -0.3371518850326538, -0.2259051501750946, -0.3928942084312439, -0.4265460669994354, 0.1827753186225891, -0.4883231818675995, -0.3782970905303955, 0.35299524664878845, -0.06271245330572128, 0.3379316031932831, 1.2128713130950928, 0.024731934070587158, 0.37668856978416443, -0.9382520318031311, 0.6533209681510925, 0.27791517972946167, 0.44352173805236816, 0.007407601922750473, -0.48277637362480164, -0.37428390979766846, -0.07328299432992935, -0.2035277783870697, -1.1478641033172607, 0.27042558789253235, -0.08290582150220871, 0.41452014446258545, 0.02255389094352722, -0.043564509600400925, 0.2595006823539734, -0.6864708662033081, 0.9363793730735779, 0.09106891602277756, -0.9875973463058472, 0.4146342873573303, -0.19849711656570435, 0.4441854953765869, 0.2508377134799957, 0.08720988780260086, -0.555178701877594, -0.23772995173931122, -0.551434338092804, -0.44997888803482056, 0.5914661288261414, 0.3612695336341858, -0.10328374803066254, -0.13256117701530457, 0.4852031469345093, 0.4250822365283966, 0.1621169149875641, -0.5212166905403137, -0.385555237531662, -0.457887202501297, -0.19543656706809998, -0.2276279330253601, -0.451702743768692, 0.3644999861717224, -0.4494478106498718, 0.5763992667198181, 0.333306223154068, 0.3676118552684784, 0.34011977910995483, -0.41379934549331665, -0.3862569332122803, 0.37398311495780945, 0.36494436860084534, 0.3815719783306122, -0.18834815919399261, 0.29304665327072144, 0.4200267791748047, -0.618986189365387, 0.08338613063097, -0.18373124301433563, 0.006855091545730829, 0.07635383307933807, 0.22932472825050354, 0.543549656867981, -0.21489137411117554, -0.4218737781047821, 0.5953348278999329, -0.23321469128131866, -0.14465120434761047, 0.1706686019897461, -0.12932878732681274, 0.01284017227590084, 0.27916955947875977, 0.3217468559741974, 0.1642129272222519, 0.4440123438835144, -0.35781145095825195, 0.37836387753486633, 0.18871282041072845, -0.24642784893512726, -0.3729635775089264, 0.4733164608478546, -0.000690062646754086, -0.6374027132987976, 0.794268786907196, -0.5709857940673828, -0.6334164142608643, 0.5812134742736816, 0.7441027164459229, 0.9543181657791138, -0.7774753570556641, 0.12276463955640793, 0.15966510772705078, 0.592617928981781, -0.19758480787277222, 0.3528265357017517, -0.030196022242307663, -0.5010174512863159, -0.48830968141555786, -0.7450306415557861, -0.044045768678188324, 0.23961442708969116, -0.821715772151947, 0.17871560156345367, -0.011277019046247005, 0.03895650431513786, -0.280771404504776, -0.1257086843252182, -0.6577300429344177, 0.29078909754753113, -0.33591943979263306, 0.9861664175987244, -0.47349023818969727, 1.1293394565582275, 0.6663061380386353, -0.3144735097885132, -0.6015005111694336, 0.36880236864089966, -0.35913899540901184, -0.61954265832901, 0.8500959277153015, 0.07178615778684616, -0.13735529780387878, 0.29323694109916687, -0.10066678375005722, -0.5760360956192017, 0.8358019590377808, 0.19602718949317932, -0.6918990015983582, -0.062469907104969025, 0.4099343717098236, 0.4753977954387665, 0.17158962786197662, 0.011452672071754932, 0.7900779247283936, 0.5585114359855652, -0.3607703745365143, -1.4038604497909546, 0.3018750846385956, -0.40354305505752563, 0.38863155245780945, 0.37389931082725525, -0.4687964618206024, 0.8498620986938477, 0.1359693706035614, -0.45134857296943665, 0.3513573706150055, 0.24950724840164185, -0.6250419616699219, -0.026414604857563972, 0.11976106464862823, 0.7821692824363708, 0.30130234360694885, 0.11506164073944092, 1.189467430114746, -0.20583973824977875, 0.5813199877738953, 0.6503216624259949, 0.2225572019815445, 0.8762214779853821, 0.39363911747932434, -0.19182096421718597, 0.5049206018447876, 0.3537351191043854, -0.16854117810726166, 0.5567678213119507, 0.15600907802581787, 0.03358501195907593, 0.01726367697119713, 0.5911701321601868, -0.42622166872024536, 0.2207799106836319, 0.14697128534317017, -0.1648002415895462, -0.46545204520225525, 0.14968018233776093, -0.6765212416648865, -0.05166475847363472, 0.029311910271644592, 0.6439819931983948, 0.15190455317497253, -0.33648329973220825, 0.8932721018791199, 0.10867295414209366, 0.5228761434555054, -0.16957254707813263, -0.09813812375068665, -0.2900282144546509, 0.263742595911026, -0.32133427262306213, -0.7534213066101074, 0.6821982264518738, -0.30442312359809875, -0.3017062246799469, -0.05718093737959862, 0.6010099053382874, -0.3301694691181183, -0.18444828689098358, 0.28096452355384827, 0.4551951289176941, 0.34323787689208984, 0.060459431260824203, -0.6868341565132141, 0.07637087255716324, -0.07477181404829025, -0.3629540503025055, 0.08805955201387405, 0.5156329274177551, 0.2908618152141571, 0.38018494844436646, 0.1910528689622879, 0.012144128791987896, 0.36827802658081055, 0.05266286060214043, 0.463875412940979, -0.91334468126297, -0.14387764036655426, -0.7498835325241089, 0.4757311940193176, 0.06064358353614807, -0.15930543839931488, 0.9459874629974365, 0.6683294177055359, 0.6629149913787842, -0.4519057869911194, 0.6316342949867249, -0.20811204612255096, 0.3083863854408264, -0.45234519243240356, 0.7048735618591309, -0.4951378107070923, 0.05046309530735016, 0.015207565389573574, -1.1850918531417847, -0.05080312117934227, 0.5646989941596985, -0.21539272367954254, -0.03739329054951668, 1.2760686874389648, 0.6031203269958496, -0.15799857676029205, 0.24440045654773712, 0.47541430592536926, 0.23375998437404633, 0.23399841785430908, 0.5635768175125122, 0.9185479283332825, -1.0643786191940308, 0.5194671750068665, -0.09705173969268799, -0.011064453050494194, -0.24937236309051514, -0.6565636396408081, -0.8330771923065186, -0.7128915190696716, -0.3310839533805847, -0.23246443271636963, -0.09120329469442368, 0.13844166696071625, 0.3789728283882141, -0.9784956574440002, -0.12396291643381119, -0.5366499423980713, 0.2252153605222702, -0.3372633159160614, -0.2753988206386566, 0.36036473512649536, -0.5773947238922119, -0.6829164624214172, 0.49064409732818604, 0.2889343500137329, 0.37404513359069824, -0.13355141878128052, -0.07342787086963654, 0.11274538189172745, 0.002613217104226351, 0.4994278848171234, 0.18618926405906677, -0.5897442102432251, -0.5398356914520264, 0.2124810665845871, 0.10725511610507965, 0.3339459002017975, 0.8497002720832825, -0.37400293350219727, 0.1973751187324524, 0.8927221894264221, 0.6581147313117981, 0.6514505743980408, -0.1719331443309784, 0.6263983249664307, -0.3997008800506592, -0.13518808782100677, 0.010473170317709446, 0.44150713086128235, 0.2245030701160431, -0.41950416564941406, 0.043849874287843704, 0.246515691280365, -0.8152586817741394, -0.6172563433647156, 0.49783405661582947, -0.9547343254089355, -0.4104018807411194, 1.1066282987594604, 0.11773096770048141, -0.3121311068534851, -0.26716455817222595, -0.275855153799057, 0.43886566162109375, -0.030658746138215065, 0.6593197584152222, 0.6369159817695618, -0.06951301544904709, -0.33722129464149475, -0.8350943326950073, 0.5820304751396179, 0.4296764135360718, -0.3440145254135132, 0.06283717602491379, 0.11250773072242737, 0.683807373046875, 0.20607154071331024, 0.31774958968162537, -0.47477078437805176, 0.3806576430797577, 0.29682600498199463, 0.043728332966566086, 0.17520780861377716, -0.10994718223810196, -0.44922393560409546, -0.0974297747015953, 0.06276637315750122, -0.26831963658332825 ]
http://arxiv.org/abs/2402.14848v1
http://arxiv.org/pdf/2402.14848v1
Same Task, More Tokens: the Impact of Input Length on the Reasoning Performance of Large Language Models
2024-02-19T16:04:53
2024-02-19T16:04:53
Mosh Levy, Alon Jacoby, Yoav Goldberg
cs.CL
cs.CL, cs.AI
This paper explores the impact of extending input lengths on the capabilities of Large Language Models (LLMs). Despite LLMs advancements in recent times, their performance consistency across different input lengths is not well understood. We investigate this aspect by introducing a novel QA reasoning framework, specifically designed to assess the impact of input length. We isolate the effect of input length using multiple versions of the same sample, each being extended with padding of different lengths, types and locations. Our findings show a notable degradation in LLMs' reasoning performance at much shorter input lengths than their technical maximum. We show that the degradation trend appears in every version of our dataset, although at different intensities. Additionally, our study reveals that traditional perplexity metrics do not correlate with performance of LLMs' in long input reasoning tasks. We analyse our results and identify failure modes that can serve as useful guides for future research, potentially informing strategies to address the limitations observed in LLMs.
[ -0.39206430315971375, -0.7934795618057251, 1.151286244392395, 0.21044529974460602, -0.23945468664169312, 0.18273311853408813, -0.29673856496810913, -0.6403570175170898, 0.09262773394584656, 0.4341626763343811, -0.42544877529144287, -0.2526816129684448, -0.829355776309967, 0.46123161911964417, -0.3927857279777527, 0.6125516295433044, -0.13158850371837616, -0.10086727887392044, -0.4472070336341858, -0.29821401834487915, -0.5691571235656738, -0.7488855719566345, -0.5949265956878662, -0.32960572838783264, 0.7772461175918579, 0.4134806990623474, 0.8398127555847168, 0.5363881587982178, 0.6625801920890808, 0.2845935523509979, -0.4641917049884796, 0.27532798051834106, -0.35830381512641907, 0.16659937798976898, -0.1483144462108612, -0.6808876991271973, -0.3459532856941223, -0.34004923701286316, 1.0862188339233398, 0.8313271999359131, 0.23573631048202515, 0.07977841049432755, 0.08168177306652069, 0.3782343864440918, -0.5760887265205383, -0.02883042022585869, -0.3771044909954071, -0.0324297733604908, -0.18306130170822144, -0.04968291521072388, -0.3965679109096527, 0.06414162367582321, -0.00015520672604907304, -0.43404096364974976, -0.3026457130908966, -0.1563701331615448, 0.601958692073822, 0.14284686744213104, -0.40592673420906067, -0.13209208846092224, -0.8208156228065491, 0.7541537284851074, -0.980247974395752, 0.4425230622291565, 0.1539154201745987, 0.11870857328176498, -0.3354276120662689, -0.5995606184005737, -0.8524035811424255, -0.36148861050605774, -0.08013281971216202, -0.48413485288619995, 0.012826002202928066, 0.17654255032539368, 0.6121463775634766, 0.10196393728256226, -0.48565906286239624, 0.39866411685943604, -0.4272710084915161, -0.0009410888305865228, 0.5582041144371033, 0.2963324785232544, 0.17926211655139923, -0.08896417915821075, -0.152862548828125, -0.01178289670497179, -0.9341342449188232, 0.2880353331565857, 0.4087413549423218, 0.19499999284744263, 0.0960959866642952, 0.6375327110290527, -0.3619425594806671, 0.6238783597946167, -0.22194135189056396, -0.3423781991004944, 0.20240694284439087, -0.40199732780456543, -0.10722257941961288, -0.300302118062973, 0.7034912705421448, 0.03293713182210922, -0.12553706765174866, -0.06243418529629707, -0.29489246010780334, -0.2552136182785034, -0.17367589473724365, -0.6184864044189453, 0.25781553983688354, 0.25490492582321167, -0.266567200422287, 0.14295074343681335, -0.01978292502462864, -0.33232325315475464, -0.5941099524497986, -0.20998436212539673, 0.38935524225234985, -0.34856876730918884, -0.12310405820608139, 0.29359325766563416, -0.13359087705612183, 0.3502964675426483, 0.14420820772647858, -0.7193546891212463, 0.35186877846717834, 1.169501543045044, 0.834597647190094, -0.39261308312416077, -0.5117396116256714, -0.6064232587814331, -0.20675252377986908, -0.3045731484889984, 0.6207321882247925, -0.8636391162872314, -0.49266356229782104, 0.010047485120594501, 0.09287072718143463, -0.038953203707933426, -0.6717355251312256, 0.6208599209785461, -0.569912850856781, -0.020643820986151695, -0.4310009181499481, -0.5433176755905151, -0.051940444856882095, 0.14531733095645905, -0.697729766368866, 0.8045741319656372, 0.10658363997936249, -0.5583685040473938, 0.42431071400642395, -0.7101550698280334, -0.7395109534263611, 0.16625365614891052, -0.2765977680683136, -0.34291595220565796, 0.35741302371025085, -0.015185515396296978, 0.3124040365219116, -0.4530598521232605, 0.38367152214050293, -0.6644330024719238, -0.6838558316230774, 0.6142683029174805, -0.5762506723403931, 0.7813668847084045, 0.04817141592502594, -0.2431618869304657, 0.2520502805709839, -0.9809221029281616, -0.06000271439552307, 0.01906530186533928, -0.6072410941123962, -0.020068639889359474, -0.0021433874499052763, -0.1728106141090393, 0.41989728808403015, 0.2932281196117401, -0.7818419337272644, 0.21827469766139984, -0.3610926568508148, 0.7006900906562805, 0.7265232801437378, -0.21661972999572754, 0.2675732672214508, -0.4070742428302765, 0.8071590662002563, -0.08301184326410294, 0.22545109689235687, -0.19576887786388397, -0.23801936209201813, -0.6547088027000427, -0.28397896885871887, 0.4082586169242859, 0.43088003993034363, -0.6629559993743896, 0.35757383704185486, -0.5329336524009705, -0.2530553936958313, -0.14671841263771057, 0.17257322371006012, 0.41730430722236633, 0.09696142375469208, 0.17860715091228485, -0.41187968850135803, -0.6210815906524658, -0.9801493287086487, -0.29828375577926636, -0.30235567688941956, -0.18260912597179413, 0.1376989483833313, 0.634849488735199, -0.2418583333492279, 0.8520969748497009, -0.2791772186756134, 0.11895223706960678, -0.46019837260246277, -0.30124732851982117, 0.25352609157562256, 0.48800718784332275, 0.3044379651546478, -0.2384679913520813, 0.036063309758901596, -0.14895407855510712, -0.41970524191856384, 0.031324319541454315, -0.18534564971923828, 0.090680330991745, 0.27928176522254944, 0.47532981634140015, -0.9077754616737366, 0.3896048367023468, 0.6258863210678101, -0.5054059028625488, 1.0455060005187988, -0.029590412974357605, 0.0007114771869964898, -0.7693705558776855, -0.18742701411247253, -0.017717888578772545, -0.07528603076934814, -0.356995552778244, 0.19616807997226715, -0.12145454436540604, -0.029518218711018562, -0.3209819197654724, 0.7496321201324463, -0.2483544796705246, -0.24599683284759521, -0.25766998529434204, 0.07890326529741287, 0.28612807393074036, 0.44512778520584106, -0.2672700583934784, 0.8498244881629944, 0.37550461292266846, -0.3991246521472931, 0.5135931372642517, 0.009565114043653011, -0.4847337603569031, 0.3953707814216614, -0.8911808729171753, 0.11563567817211151, 0.14052388072013855, 0.3096841275691986, -1.012498378753662, -0.07051718235015869, -0.06340177357196808, -0.5662063360214233, 0.3024176359176636, 0.18137313425540924, -0.878678560256958, -0.33268243074417114, -0.3081323504447937, 0.6259190440177917, 0.4795447885990143, -0.5849407911300659, 0.6593815684318542, -0.052111949771642685, -0.18886181712150574, -0.504449725151062, -0.6537724137306213, 0.2628779709339142, -0.37975814938545227, -0.8399060964584351, 0.0027975577395409346, -0.02576080895960331, -0.3514663875102997, -0.11817401647567749, -0.1573311984539032, -0.06393126398324966, 0.39330676198005676, 0.3121410012245178, 0.1372845321893692, -0.4203023314476013, 0.4462328553199768, 0.1158640906214714, 0.25090292096138, 0.416738897562027, -0.18448977172374725, 0.6323558688163757, -0.04270818084478378, -0.6206416487693787, -0.6827123761177063, 0.5112411975860596, 0.7114289999008179, -0.23781748116016388, 1.0253889560699463, 0.15237097442150116, -0.15023291110992432, -0.1835823804140091, -0.6096165180206299, -0.20158471167087555, -0.5131042003631592, 0.6881511807441711, -0.7993829846382141, -1.2279514074325562, 0.7654765844345093, -0.042273931205272675, 0.027622291818261147, 0.49560412764549255, 0.3477736711502075, -0.023635493591427803, 1.022141456604004, 0.6698228120803833, 0.008567089214920998, 0.3626479208469391, 0.004572695586830378, 0.3867211937904358, -0.9445751309394836, -0.3022679090499878, -0.4775036871433258, -0.18611939251422882, -0.32105499505996704, -0.65920490026474, 0.06586632877588272, 0.07799021899700165, -0.34083136916160583, -0.025784911587834358, -0.052024852484464645, 0.4571908712387085, 0.3574814200401306, -0.09785743802785873, 0.338452011346817, -0.19032025337219238, -0.15903452038764954, 0.33813396096229553, -0.7349061369895935, -0.5631819367408752, 1.0736870765686035, 0.6371386647224426, 0.5160582661628723, 0.13154663145542145, 0.5609875321388245, 0.06057057902216911, -0.09257218986749649, -0.7197439074516296, 0.586452066898346, -0.057685162872076035, -0.36271727085113525, -0.6642557382583618, -0.45249009132385254, -1.0066919326782227, 0.1362227201461792, 0.07174350321292877, -0.8114466667175293, 0.21137568354606628, -0.10782764106988907, -0.41902589797973633, 0.32849791646003723, -0.39950448274612427, 0.6126948595046997, -0.28547000885009766, -0.3377441167831421, -0.1384982317686081, -0.3575884997844696, 0.36871621012687683, -0.019861450418829918, 0.18552225828170776, -0.00876852497458458, -0.003918678034096956, 0.9144981503486633, -0.671107828617096, 0.6781730651855469, 0.08019525557756424, -0.38329005241394043, 0.21039405465126038, -0.08468380570411682, 0.4590294361114502, 0.13886751234531403, -0.1194787472486496, 0.175982266664505, 0.2294570654630661, -0.6200100779533386, -0.8652259111404419, 0.8237747550010681, -0.6220117211341858, -1.012837290763855, -0.14311784505844116, -0.7141481041908264, -0.6675068140029907, 0.08013013005256653, -0.051093894988298416, 0.5385461449623108, 0.16189870238304138, 0.3827454149723053, 0.7159188985824585, -0.25094249844551086, 0.3544195294380188, 0.25961410999298096, -0.36911237239837646, -0.13581570982933044, 0.7079610824584961, 0.2526933252811432, 0.4791439175605774, 0.14881779253482819, 0.022706300020217896, -0.3792303502559662, -0.8145955801010132, -0.4108365774154663, 0.36087581515312195, -0.9314351677894592, 0.12177800387144089, -0.542051374912262, -0.13557498157024384, -0.5582895874977112, 0.03457130491733551, -0.2175576090812683, -0.5813209414482117, -0.3583829998970032, -0.2604166865348816, 0.2656184732913971, 0.7696015238761902, 0.09141421318054199, 0.2410164624452591, -0.7224043011665344, -0.0010588557925075293, 0.2704393267631531, 0.7556997537612915, 0.18541677296161652, -0.9312268495559692, -0.15278930962085724, -0.1890925168991089, -0.05682661384344101, -0.6771258115768433, -0.06646515429019928, -0.14809690415859222, 0.6237724423408508, 0.3277810215950012, -0.24832087755203247, 0.5318877100944519, -0.31409284472465515, 0.8697780966758728, 0.3330792784690857, -0.96208655834198, 0.04671551659703255, -0.21240636706352234, 0.816604495048523, 0.39409443736076355, 0.17396783828735352, -0.6441572308540344, -0.32929906249046326, -0.4535635709762573, -0.7726097702980042, 0.3433714509010315, -0.09102106839418411, 0.28329363465309143, 0.005821669474244118, 0.4548094868659973, 0.24669748544692993, -0.23507268726825714, -0.40897059440612793, -0.06240016967058182, 0.38683316111564636, -0.021048422902822495, -0.13676247000694275, -0.7116938829421997, -0.06569275259971619, -0.3873922526836395, 0.6425034999847412, -0.169463112950325, 0.06283193826675415, 0.06553198397159576, -0.0936262458562851, 0.2707766890525818, 0.4532036781311035, 0.7504370212554932, 1.2006419897079468, 0.34753674268722534, 0.10940596461296082, 0.5225929021835327, -0.04093734547495842, 0.11179901659488678, 0.07596399635076523, 0.06809690594673157, 0.015585269778966904, 0.7103567719459534, 0.9913862347602844, -0.012518304400146008, -1.1144791841506958, 0.40597841143608093, -0.040958721190690994, -0.39400461316108704, -0.402714341878891, 0.005340204108506441, 0.31934595108032227, 0.3780295252799988, 0.3788386881351471, -0.24759235978126526, 0.07733385264873505, -0.6950917840003967, 0.18025042116641998, 0.424432635307312, -0.4245666563510895, -0.21463577449321747, 0.23230358958244324, 0.06455370783805847, -0.42821234464645386, 0.48199182748794556, -0.2974420487880707, -0.48766806721687317, 0.8697043061256409, 0.4609123766422272, 0.6709765791893005, 0.11565689742565155, 0.0475449413061142, 0.09112625569105148, 0.33103811740875244, -0.09234727919101715, 0.31728923320770264, 0.0477101095020771, -0.5135145783424377, -0.9238125681877136, -0.7176873683929443, -0.25051334500312805, 0.3082444667816162, -0.40716132521629333, 0.17922092974185944, -0.6882231831550598, -0.1738106608390808, -0.20840178430080414, 0.023032447323203087, -0.6239932179450989, 0.029971979558467865, 0.22348523139953613, 0.8364401459693909, -0.6606332659721375, 0.5146211385726929, 0.6172021627426147, -0.22524628043174744, -0.9582995176315308, -0.12889619171619415, -0.12158246338367462, -0.554213285446167, 0.7754994630813599, 0.1383453607559204, -0.27831798791885376, -0.6132528185844421, -0.35423895716667175, -1.1320160627365112, 0.7469625473022461, 0.33060774207115173, -0.7360420823097229, -0.15285877883434296, 0.5566527843475342, 0.6544547080993652, -0.36041802167892456, 0.060202766209840775, 0.9322888255119324, 0.366629034280777, 0.03995516523718834, -1.3404326438903809, 0.22285300493240356, -0.09600913524627686, 0.08216352015733719, 0.038852546364068985, -0.6116677522659302, 0.8160263895988464, -0.32957303524017334, -0.24353177845478058, 0.29750898480415344, 0.5414246916770935, 0.41502895951271057, 0.16231557726860046, 0.3890063166618347, 0.6864807605743408, 0.7201951146125793, -0.013629457913339138, 1.131765604019165, -0.055917687714099884, 0.15453873574733734, 1.2214897871017456, -0.338006854057312, 0.8784100413322449, 0.37832775712013245, -0.40130162239074707, 0.6904762983322144, 0.43447747826576233, 0.1196262538433075, -0.10390757769346237, 0.7081988453865051, -0.23438717424869537, -0.39335915446281433, -0.12050845474004745, -0.20572979748249054, 0.5038332939147949, 0.3271128237247467, -0.37598520517349243, 0.11379163712263107, 0.3121761679649353, 0.09749840945005417, 0.11842282116413116, -0.19868731498718262, 0.6419579982757568, 0.11089828610420227, -0.6569867730140686, 0.779977560043335, 0.07132190465927124, 0.6877034306526184, -0.20924682915210724, 0.021566836163401604, -0.21812155842781067, 0.07960356771945953, -0.2372761070728302, -0.7207158207893372, 0.15551987290382385, -0.2183154970407486, -0.2458547204732895, 0.1442701369524002, 0.5081496238708496, -0.040683336555957794, -0.5181357860565186, 0.32012566924095154, 0.49220171570777893, 0.0656203031539917, -0.02527209185063839, -0.41340962052345276, 0.5762864351272583, -0.22575734555721283, -0.2931203246116638, 0.4458846151828766, 0.5667844414710999, -0.22867166996002197, 0.8864515423774719, 0.4730589985847473, 0.007804215885698795, 0.20615901052951813, 0.02880115434527397, 0.9227971434593201, -0.7084479928016663, -0.2354302853345871, -0.9656880497932434, 0.18014222383499146, -0.15256577730178833, -0.4468175172805786, 0.5951566100120544, 0.5865713357925415, 0.8608565926551819, 0.2589913606643677, 0.8269041776657104, 0.23708920180797577, 0.4915563762187958, -0.45698240399360657, 0.3591831922531128, -0.5176833271980286, 0.6754806041717529, 0.06993559747934341, -0.742662787437439, -0.25031065940856934, 0.11166229844093323, -0.5231616497039795, 0.07587910443544388, 0.9999120235443115, 0.6262879371643066, 0.3279830515384674, -0.08793815225362778, 0.4752517342567444, 0.21737496554851532, 0.5016456842422485, 0.7489898204803467, 1.054883360862732, 0.04096309840679169, 0.588378369808197, -0.08788929879665375, -0.01411121990531683, -0.16345800459384918, -0.4713688790798187, -0.8438053727149963, -0.6257230043411255, -0.22403420507907867, -0.35801106691360474, 0.1336667239665985, 0.6338207721710205, 0.46434974670410156, -0.6334434747695923, -0.10309116542339325, 0.14235709607601166, 0.34445205330848694, -0.021792007610201836, -0.2588280737400055, 0.37845319509506226, -0.34318023920059204, -0.5657190084457397, 0.26941341161727905, 0.3693300485610962, -0.3490743637084961, -0.5426316261291504, -0.06254228949546814, -0.20594929158687592, 0.29838821291923523, 0.8620485067367554, 0.42811107635498047, -1.142011284828186, -0.6287168860435486, 0.05804707482457161, 0.0010321445297449827, 0.03289179131388664, 0.8436357378959656, -0.7962907552719116, 0.23114733397960663, 0.5729107856750488, 0.9812788963317871, 0.11160412430763245, -0.2860417366027832, 0.6010044813156128, -0.5111805200576782, -0.18245358765125275, 0.29351353645324707, 0.5497763156890869, 0.2527874708175659, -0.2617577314376831, 0.1593012809753418, 0.1178589016199112, -0.4788875877857208, -1.0024409294128418, 0.4543403387069702, -0.8639941215515137, -0.5946345925331116, 1.523396372795105, -0.3906855881214142, -0.11543358862400055, -0.12977834045886993, -0.1251671463251114, 0.03498566523194313, -0.30173248052597046, 0.7923570871353149, 1.0004937648773193, -0.27668309211730957, -0.2895950675010681, -0.28585875034332275, 0.2974552810192108, 0.841861367225647, -0.7004086375236511, 0.15368041396141052, 0.5461028218269348, 0.3917793929576874, 0.2496158480644226, 0.45277318358421326, -0.15471449494361877, 0.4916696548461914, 0.12006818503141403, -0.3465557098388672, -0.1008429005742073, -0.2565637230873108, -0.5959341526031494, 0.40130940079689026, 0.5799263715744019, 0.16123434901237488 ]
http://arxiv.org/abs/2402.12243v4
http://arxiv.org/pdf/2402.12243v4
Understanding the Effects of Noise in Text-to-SQL: An Examination of the BIRD-Bench Benchmark
2024-02-19T15:58:15
2024-03-25T19:48:16
Niklas Wretblad, Fredrik Gordh Riseby, Rahul Biswas, Amin Ahmadi, Oskar Holmström
cs.CL
cs.CL
Text-to-SQL, which involves translating natural language into Structured Query Language (SQL), is crucial for enabling broad access to structured databases without expert knowledge. However, designing models for such tasks is challenging due to numerous factors, including the presence of 'noise,' such as ambiguous questions and syntactical errors. This study provides an in-depth analysis of the distribution and types of noise in the widely used BIRD-Bench benchmark and the impact of noise on models. While BIRD-Bench was created to model dirty and noisy database values, it was not created to contain noise and errors in the questions and gold queries. We found that noise in questions and gold queries are prevalent in the dataset, with varying amounts across domains, and with an uneven distribution between noise types. The presence of incorrect gold SQL queries, which then generate incorrect gold answers, has a significant impact on the benchmark's reliability. Surprisingly, when evaluating models on corrected SQL queries, zero-shot baselines surpassed the performance of state-of-the-art prompting methods. We conclude that informative noise labels and reliable benchmarks are crucial to developing new Text-to-SQL methods that can handle varying types of noise. All datasets, annotations, and code are available at https://github.com/niklaswretblad/the-effects-of-noise-in-text-to-SQL.
[ 0.018833868205547333, -1.1867460012435913, 0.38974887132644653, 0.4638267755508423, -0.3446976840496063, -0.5175700187683105, -0.07075638324022293, -0.8464447259902954, -0.4020387530326843, 0.7008331418037415, -0.6833662390708923, -0.5525397658348083, -0.33153200149536133, 0.37412992119789124, -0.9742183089256287, 1.084925651550293, 0.31788596510887146, 0.021482031792402267, -0.19903801381587982, 0.046103864908218384, -0.3924928307533264, -0.6060196757316589, -0.23924322426319122, 0.06974732875823975, 0.3192290663719177, -0.2779915928840637, 0.631085216999054, 0.5715354084968567, 0.6754657030105591, 0.07619573175907135, -0.376572847366333, 0.16856688261032104, -0.4166276156902313, 0.29942676424980164, -0.2221602499485016, -0.4302048087120056, -0.2093726545572281, -0.2514677047729492, 0.5139986872673035, 0.9800373911857605, -0.16625776886940002, 0.14900904893875122, 0.05484867841005325, 0.8672000169754028, -0.7226214408874512, 0.6033793687820435, -0.8856680393218994, 0.10574956983327866, -0.6882611513137817, -0.248462975025177, -0.3631259500980377, -0.0960763469338417, -0.19791138172149658, -0.6112536191940308, 0.15610088407993317, 0.1391567885875702, 0.8346374034881592, 0.42494675517082214, -0.4024178087711334, -0.32599103450775146, -0.9475407600402832, 0.7282222509384155, -0.6035819053649902, 0.2565261125564575, 0.4458374083042145, 0.14245298504829407, -0.3412307798862457, -0.5067892074584961, -0.23333506286144257, 0.16415263712406158, -0.1845567226409912, 0.03989694267511368, 0.10621228069067001, -0.0075475857593119144, 0.3919162154197693, 0.48111096024513245, -0.4949101507663727, -0.23683659732341766, -0.24304479360580444, 0.2643164396286011, 0.6807392239570618, -0.003950994927436113, 0.03201867267489433, 0.045024573802948, 0.2176615297794342, 0.0005929043982177973, -0.35668548941612244, 0.020619114860892296, 0.43036597967147827, 0.8998520970344543, 0.07277252525091171, 0.3820345401763916, -0.3829084634780884, 1.3400319814682007, -0.18149781227111816, 0.15378104150295258, 0.11992237716913223, -0.6930661797523499, -0.20054303109645844, 0.07221852988004684, 0.7179805636405945, 0.11901934444904327, 0.3772963285446167, -0.46349939703941345, -0.21182654798030853, -0.22560636699199677, 0.22740601003170013, -0.7425075769424438, -0.22248105704784393, 0.35004207491874695, -0.49221405386924744, -0.5408275723457336, -0.0137736015021801, -0.6902010440826416, -0.6350488662719727, -0.09136752784252167, 0.5616408586502075, -0.14120817184448242, -0.6026202440261841, 0.17090772092342377, -0.29967203736305237, -0.022057825699448586, 0.27063843607902527, -0.8567190170288086, 0.6352983713150024, 0.6764580607414246, 0.42998483777046204, 0.03961825743317604, -0.04474590718746185, -0.4219236969947815, 0.2501050531864166, -0.5470840334892273, 1.158803105354309, -0.5252312421798706, -0.5360148549079895, 0.10400845110416412, -0.08253783732652664, -0.4165832996368408, -0.8979971408843994, 0.7718732357025146, -0.2575029134750366, 0.0880478024482727, -0.6173014640808105, -0.4637035131454468, -0.03585514426231384, 0.05460860952734947, -0.6444036364555359, 1.2456899881362915, 0.21716047823429108, -0.8055758476257324, 0.5259233713150024, -0.7429885268211365, -0.7269372344017029, -0.1255139857530594, -0.36345553398132324, -0.5414746403694153, 0.25943565368652344, 0.11538466811180115, 0.0371006578207016, -0.3208158016204834, -0.025961143895983696, -0.13092973828315735, -0.8021883964538574, 0.521272599697113, -0.11299920082092285, 0.6928707957267761, 0.12694677710533142, -0.3251986503601074, -0.371893048286438, -0.9795820116996765, 0.06471095234155655, 0.08924297988414764, -0.08166081458330154, -0.22240914404392242, 0.36089026927948, 0.08904969692230225, 0.013356203213334084, -0.22930948436260223, -0.15140517055988312, -0.2920380234718323, -0.4033717215061188, 0.2942177653312683, 0.14866168797016144, 0.5244883894920349, -0.019808325916528702, -0.4594360291957855, 0.11462806165218353, 0.4747501015663147, 0.3147638142108917, 0.01821932941675186, -0.472001314163208, -0.2103251814842224, 0.05240003392100334, 0.16430234909057617, 0.3609559237957001, 0.05918934568762779, -0.09167976677417755, 0.1315108984708786, -0.20505136251449585, -0.3122711181640625, 0.2660616636276245, 0.11606356501579285, 0.6947243213653564, 0.3999841511249542, -0.10097741335630417, -0.47045812010765076, -0.6489041447639465, -0.8932134509086609, -0.41275477409362793, 0.2428044229745865, 0.4603171944618225, 0.34802183508872986, 0.11382877081632614, 0.847200870513916, -0.08592601120471954, -0.4923805892467499, 0.35958126187324524, 0.2852742671966553, 0.17501947283744812, 0.36458620429039, 0.5401394367218018, -0.7087001204490662, -0.41944199800491333, -0.29374992847442627, -0.664252519607544, -0.25939783453941345, -0.1533883512020111, -0.09256679564714432, 0.36313682794570923, 0.573051393032074, -0.567561686038971, 0.591884195804596, 0.259033739566803, -0.030173948034644127, 0.8334676027297974, 0.23975205421447754, 0.0355830043554306, -0.698966383934021, 0.3400668799877167, -0.013280997052788734, 0.289495050907135, -0.3501488268375397, -0.3226335644721985, -0.04958281293511391, -0.20728491246700287, -0.05409559980034828, 0.016921652480959892, -0.6102599501609802, -0.2568241059780121, 0.05371062830090523, 0.07364880293607712, 0.14544065296649933, 0.0016440836479887366, 0.029378782957792282, 1.078590750694275, 0.4989748001098633, -0.6541072726249695, -0.2561958134174347, 0.3485192656517029, -0.38302555680274963, 0.8579858541488647, -0.7249006032943726, -0.20535694062709808, -0.08444486558437347, 0.1057080626487732, -1.0827274322509766, -0.12613578140735626, 0.12317943572998047, -0.33308881521224976, 0.2130042463541031, -0.34906986355781555, -0.8205996155738831, -0.026782935485243797, -0.010131566785275936, 0.15115562081336975, 0.25189393758773804, -0.2780247628688812, -0.05009893327951431, 0.2610604763031006, -0.04351424425840378, -0.5019279718399048, -0.9734527468681335, 0.27177804708480835, 0.08546125888824463, -0.525138795375824, 0.2555601894855499, 0.03350327908992767, -0.5240540504455566, 0.07875730842351913, -0.2550106346607208, -0.6020022034645081, 0.017979657277464867, 0.3366440236568451, -0.0838502049446106, -0.3359263241291046, 0.5742914080619812, -0.11800408363342285, 0.2674673795700073, 0.49551376700401306, -0.1861366331577301, 0.08951413631439209, -0.23838002979755402, -0.2886732816696167, -0.45112279057502747, 0.40705522894859314, 0.39159250259399414, -0.4099118113517761, 0.8915711641311646, 0.39039376378059387, -0.09933172911405563, -0.36431291699409485, -0.3087136745452881, -0.27509960532188416, -0.38164839148521423, 0.5227860808372498, -0.2509050965309143, -0.09375845640897751, 0.3703579604625702, -0.24379272758960724, 0.25889256596565247, 0.6983308792114258, 0.030657196417450905, -0.47903695702552795, 1.067067265510559, 0.42461106181144714, 0.40332871675491333, 0.569405734539032, 0.10148470103740692, 0.0698828175663948, -0.5481171011924744, -0.23562945425510406, -1.0984333753585815, 0.08491896092891693, -0.3553004860877991, -0.3690173923969269, -0.023816049098968506, 0.07916679978370667, -0.32046961784362793, -0.07800465077161789, -0.7071390748023987, 0.4315139055252075, 0.0411531962454319, -0.04002239927649498, 0.587123453617096, 0.40446528792381287, 0.21971549093723297, -0.2966378331184387, -0.6298074722290039, -0.12484833598136902, 1.0345966815948486, -0.29791060090065, 0.7882463932037354, 0.15190191566944122, 0.5868996381759644, 0.31549039483070374, -0.05731581896543503, -0.3281363248825073, 0.27461153268814087, -0.3515684902667999, -0.8716191649436951, -0.19137993454933167, -0.4786421060562134, -1.0490962266921997, 0.051829997450113297, -0.4146603047847748, -0.7709919214248657, 0.2528913915157318, -0.0030212977435439825, -0.14537763595581055, 0.22241103649139404, -0.5630112290382385, 0.9523337483406067, -0.06882711499929428, -0.5707724690437317, 0.08674314618110657, -0.6715340614318848, 0.46878892183303833, -0.21606555581092834, 0.5279436707496643, -0.06344220787286758, 0.08289177715778351, 0.7069483995437622, -0.558843731880188, 0.8563393354415894, -0.06869709491729736, -0.03933098912239075, 0.44893506169319153, 0.1043647825717926, 0.7906794548034668, -0.32796141505241394, -0.6548378467559814, 0.23256178200244904, 0.4248213469982147, -0.27283787727355957, -0.4801733195781708, 0.3963537812232971, -0.9021860957145691, -0.2215016484260559, -0.4051259160041809, -0.6963921189308167, -0.25913649797439575, 0.08583192527294159, 0.142557755112648, 0.5475358366966248, -0.03791124373674393, 0.3550395369529724, 0.6888031959533691, -0.04248511418700218, 0.175942525267601, 0.7569279670715332, -0.2124880850315094, 0.11531505733728409, 0.7536121010780334, 0.6794347763061523, 0.02665821649134159, 0.24436166882514954, -0.024900663644075394, -0.6728231310844421, -0.7619931697845459, -0.15788567066192627, 0.29958200454711914, -0.5926611423492432, 0.03961701691150665, -0.8012439608573914, -0.38794243335723877, -0.290469765663147, 0.22420062124729156, -0.33935898542404175, -0.5454580187797546, -0.640495777130127, 0.1526726335287094, 0.4849279522895813, 0.7630681991577148, 0.21419788897037506, 0.22199204564094543, -0.5219601988792419, -0.01258306298404932, 0.04018119350075722, 0.6691438555717468, -0.15997208654880524, -0.4420807957649231, -0.22650036215782166, -0.13551007211208344, 0.0784088522195816, -1.1375290155410767, -0.0015935928095132113, 0.6306609511375427, 0.49177518486976624, -0.0007885212544351816, 0.6445268392562866, 0.8850540518760681, 0.0035087938886135817, 0.8724648356437683, -0.24526478350162506, -0.599380373954773, 0.6697660088539124, -0.6776109933853149, 0.20835809409618378, 0.8863088488578796, -0.26004326343536377, -0.29844722151756287, -0.5453625917434692, -0.659744918346405, -0.6885136961936951, 0.658477246761322, 0.4029131531715393, -0.2357049286365509, -0.15925952792167664, 0.5939337015151978, 0.003067441051825881, 0.42541006207466125, -0.6018218398094177, -0.1534135937690735, -0.20800809562206268, 0.10076795518398285, 0.160479336977005, -0.2253451645374298, -0.19270533323287964, -0.08529048413038254, 0.5337508916854858, 0.10425971448421478, 0.13563552498817444, 0.17207017540931702, -0.27557137608528137, -0.4437122344970703, 0.3697684705257416, 0.6135711073875427, 0.5427225232124329, -0.6524948477745056, 0.021029695868492126, -0.11048076301813126, -0.3456094264984131, -0.3860189616680145, 0.3028642535209656, -0.27740171551704407, 0.38829338550567627, 0.002917093923315406, 0.39065271615982056, 0.1713734120130539, -0.5735147595405579, 0.364060640335083, -0.16645961999893188, -0.36003851890563965, -0.17240950465202332, 0.059234749525785446, 0.13087022304534912, -0.27955910563468933, 0.38002365827560425, 0.4203583002090454, 0.2980669438838959, -0.4460142254829407, 0.12449857592582703, 0.3866826891899109, -0.6477096676826477, -0.2048506736755371, 0.864129900932312, 0.36722394824028015, -0.3600238561630249, 0.6766115427017212, -0.060947250574827194, 0.07821818441152573, 0.51950603723526, 0.6325129270553589, 0.5329917669296265, 0.301156222820282, 0.24615490436553955, 0.3449343144893646, 0.6016753911972046, -0.1553964465856552, 0.5508723855018616, -0.07693310081958771, -0.12710386514663696, -0.362846702337265, -0.5895606279373169, -0.5210340023040771, 0.07967875152826309, -0.9280022382736206, -0.1208396852016449, -0.40459755063056946, -0.3384605050086975, 0.16999280452728271, 0.24957212805747986, -0.33567163348197937, 0.1274484395980835, -0.335978627204895, 0.7783650159835815, -0.8499980568885803, 0.49108177423477173, 0.6285241842269897, -0.4115433990955353, -0.6589797735214233, 0.023562710732221603, 0.17191079258918762, -0.42355117201805115, 0.4138464331626892, 0.01624346524477005, 0.17209962010383606, -0.13467220962047577, -0.46209219098091125, -0.602537214756012, 0.5480690598487854, 0.3319219648838043, -0.46848300099372864, 0.46844473481178284, 0.68302983045578, 0.6496442556381226, 0.006806905847042799, 0.23257403075695038, 0.599636435508728, 0.578136682510376, 0.054685089737176895, -0.7686730027198792, 0.045187994837760925, -0.252810001373291, -0.12631534039974213, 0.27352339029312134, -0.7264254093170166, 1.041612148284912, -0.12897475063800812, -0.22140470147132874, -0.07109877467155457, 0.26113131642341614, 0.10762540251016617, 0.27328595519065857, 0.4021458029747009, 0.12310712039470673, 0.9930667877197266, -0.16974182426929474, 0.9479126930236816, -0.46785810589790344, 0.10897358506917953, 1.2860267162322998, -0.603690505027771, 1.0361273288726807, 0.5371629595756531, -0.4626498222351074, 0.4473167955875397, 0.6414210796356201, -0.09889689087867737, 0.18395908176898956, 0.3542339503765106, -0.3259211480617523, -0.1219072937965393, -0.4013032913208008, -0.8926418423652649, 0.05694892257452011, 0.5222486257553101, -0.2947610020637512, -0.5233637690544128, -0.6273350119590759, -0.3602222800254822, 0.12572337687015533, 0.08668573945760727, 0.8973548412322998, -0.06689304113388062, -0.3945200443267822, 0.502743124961853, -0.30434662103652954, 0.3108171224594116, -0.6442933082580566, 0.06627820432186127, -0.22234177589416504, 0.21778139472007751, -0.48988601565361023, -0.6788323521614075, 0.7970800399780273, -0.16815441846847534, -0.43353894352912903, 0.0019282173598185182, 0.6419878602027893, -0.4705623984336853, -0.5937244296073914, -0.02237900160253048, 0.44685742259025574, 0.5391591787338257, -0.6877012252807617, -0.9219241738319397, 0.35650500655174255, -0.22365731000900269, -0.10435067117214203, 0.5293946266174316, 0.5612472295761108, 0.03250781446695328, 0.23131316900253296, 0.7589776515960693, 0.1431676745414734, 0.09567944705486298, 0.3138884902000427, 0.5017472505569458, -0.5303782820701599, -0.3926250636577606, -0.5468829274177551, 0.2512894570827484, -0.20576122403144836, -0.17667096853256226, 0.8020012378692627, 0.8031783699989319, 0.22191567718982697, -0.029079115018248558, 0.5978827476501465, 0.2883140444755554, 0.6491168141365051, -0.08969628065824509, 1.022386908531189, -0.6770786046981812, 0.5805689692497253, -0.4719981551170349, -0.7888286709785461, -0.33156201243400574, 0.4077610969543457, -0.03362571820616722, 0.13016584515571594, 0.7370749711990356, 1.1365532875061035, 0.35095149278640747, 0.42270326614379883, 0.33623191714286804, 0.445240318775177, 0.1756560355424881, 0.06966935843229294, 0.6861765384674072, -0.8499619960784912, 1.3015375137329102, -0.20516075193881989, 0.23278120160102844, -0.3321749269962311, -0.7025140523910522, -0.6044650077819824, -0.4027613699436188, -0.8182775974273682, -0.6063538789749146, 0.600473165512085, 0.32849398255348206, 0.8171008825302124, -0.8077174425125122, -0.513023853302002, -0.3233707845211029, 0.06108143925666809, -0.7958478331565857, -0.2890816330909729, 0.4693149924278259, -0.6556857824325562, -0.37848588824272156, 0.19082215428352356, 0.2211240977048874, 0.15057800710201263, 0.2834237515926361, 0.26264455914497375, -0.23248977959156036, 0.2814009487628937, 0.45564886927604675, 0.5260618925094604, -0.3897133469581604, 0.17905350029468536, -0.054404038935899734, -0.3208475708961487, -0.019224321469664574, 0.4462483525276184, -0.729207456111908, 0.5274415016174316, 0.23328529298305511, 0.3293721377849579, 0.7362437844276428, 0.1428339034318924, 0.44825252890586853, -1.0063347816467285, 0.21655292809009552, 0.06071152910590172, -0.20302264392375946, 0.21515505015850067, -0.5450319647789001, 0.6587671041488647, 0.45676711201667786, -0.3984226584434509, -1.2285722494125366, -0.2819213271141052, -0.8849016427993774, -0.3951578438282013, 1.056053638458252, 0.32699888944625854, -0.42278245091438293, -0.5761310458183289, -0.10800407826900482, -0.054325126111507416, -0.30740323662757874, 0.8873408436775208, 0.7925934791564941, -0.25998905301094055, -0.3369625210762024, -0.6501297354698181, 0.8597142100334167, 0.4498292803764343, -0.8332110047340393, 0.5001292824745178, 0.35677051544189453, 0.268080472946167, -0.2520149350166321, 0.62690269947052, -0.45293793082237244, 0.28696098923683167, 0.5473103523254395, -0.2951561510562897, -0.20505961775779724, 0.1423409879207611, -0.1184123307466507, 0.2624730169773102, 0.07739734649658203, 0.014995456673204899 ]
http://arxiv.org/abs/2402.12234v1
http://arxiv.org/pdf/2402.12234v1
Task-Oriented Dialogue with In-Context Learning
2024-02-19T15:43:35
2024-02-19T15:43:35
Tom Bocklisch, Thomas Werkmeister, Daksh Varshneya, Alan Nichol
cs.CL
cs.CL
We describe a system for building task-oriented dialogue systems combining the in-context learning abilities of large language models (LLMs) with the deterministic execution of business logic. LLMs are used to translate between the surface form of the conversation and a domain-specific language (DSL) which is used to progress the business logic. We compare our approach to the intent-based NLU approach predominantly used in industry today. Our experiments show that developing chatbots with our system requires significantly less effort than established approaches, that these chatbots can successfully navigate complex dialogues which are extremely challenging for NLU-based systems, and that our system has desirable properties for scaling task-oriented dialogue systems to a large number of tasks. We make our implementation available for use and further study.
[ -0.02604593336582184, -1.0058788061141968, 0.6655765771865845, 0.26978880167007446, -0.01649131439626217, 0.19789037108421326, -0.21997316181659698, -0.3768964409828186, -0.13305318355560303, 0.8350131511688232, -0.7713172435760498, -0.4264585077762604, -0.31004756689071655, -0.014379121363162994, -0.17830346524715424, 0.8995468616485596, 0.25213873386383057, 0.1159466803073883, -0.23661747574806213, 0.06016487255692482, -0.7742316126823425, -0.6521722078323364, -1.0117268562316895, -0.5156204104423523, 0.10554489493370056, 0.3237725496292114, 0.45796599984169006, 0.10189934819936752, 0.2806347608566284, 0.3814161717891693, 0.04771393910050392, 0.12057634443044662, -0.4627539813518524, 0.5413872003555298, -0.376211017370224, -0.665139377117157, -0.4530135989189148, -0.3469158709049225, 0.27645742893218994, 0.9401588439941406, -0.23280221223831177, 0.04438863694667816, 0.08816734701395035, 0.5344770550727844, -0.3211779296398163, 0.589368999004364, -0.5790697932243347, 0.06243951618671417, 0.17723670601844788, -0.22226008772850037, -0.7581403255462646, -0.06571851670742035, 0.37933608889579773, -0.3753392696380615, -0.42461541295051575, 0.14563626050949097, 0.2857709527015686, 0.2128314971923828, -0.40382686257362366, -0.5233101844787598, -1.0375381708145142, 1.1780190467834473, -0.7703146934509277, 0.41279634833335876, 0.14899225533008575, 0.3654455542564392, -0.5343747735023499, -0.5975408554077148, -0.3914746344089508, -0.29430675506591797, 0.004304889589548111, 0.0759153813123703, -0.11400753259658813, 0.1965176910161972, 0.3464362323284149, 0.11441824585199356, -0.3171951472759247, 0.027609217911958694, -0.11547240614891052, 0.23825772106647491, 0.580507755279541, 0.5375799536705017, 0.12038891762495041, 0.048911720514297485, -0.4732317328453064, 0.3499540388584137, -0.6893352270126343, 0.12365308403968811, 0.07376831769943237, 0.6089105606079102, 0.1376330405473709, 0.3721500039100647, -0.36399760842323303, 0.9474058747291565, 0.07821796089410782, -0.5398120284080505, -0.09397528320550919, -0.18620461225509644, -0.5981307029724121, 0.08725370466709137, 0.6895937323570251, 0.232048898935318, -0.08537377417087555, -0.10803870111703873, -0.38400909304618835, -0.03914026543498039, 0.33215248584747314, -0.6119126081466675, 0.18545086681842804, 0.3896389901638031, -0.4788750112056732, -0.12485900521278381, -0.49722811579704285, -0.15693342685699463, -0.18826277554035187, -0.619339108467102, 0.43497079610824585, -0.38436099886894226, -0.04734063893556595, 0.11109024286270142, -0.018821213394403458, 0.23463617265224457, 0.776811420917511, -0.7279732823371887, 0.5997410416603088, 0.8033507466316223, 0.5426061749458313, -0.22517026960849762, 0.09246934950351715, -0.5843009948730469, 0.37284454703330994, -0.36765438318252563, 0.41578924655914307, -0.6289323568344116, -0.43476399779319763, -0.012149599380791187, -0.14531874656677246, -0.02638544887304306, -0.6157654523849487, 0.43205589056015015, -0.6300750374794006, 0.2760562300682068, 0.12677983939647675, -0.6984877586364746, -0.39084410667419434, 0.39099830389022827, -0.2445700764656067, 0.7067116498947144, 0.1573258340358734, -0.26318687200546265, 0.12114468216896057, -1.0713869333267212, -0.5840531587600708, 0.49434465169906616, -0.3212837874889374, 0.09334469586610794, -0.120768703520298, -0.10278574377298355, 0.6397987008094788, -0.46651941537857056, 0.39661461114883423, 0.03653079643845558, -0.3382134735584259, 0.35437142848968506, -0.42607998847961426, 0.9900554418563843, 0.3390561044216156, -0.6565180420875549, 0.15364710986614227, -0.43982720375061035, -0.02529943361878395, 0.04586140438914299, -0.38499781489372253, -0.1855245679616928, 0.4331003725528717, -0.03288445249199867, 0.25576478242874146, 0.39346930384635925, -0.5598589181900024, 0.1399894803762436, -0.3816702663898468, 0.4501500427722931, 0.5777745246887207, -0.2693055272102356, 0.40536513924598694, -0.2765616178512573, 0.4077838659286499, 0.1255003958940506, 0.2080141305923462, -0.2456703633069992, -0.5283564329147339, -0.9431700110435486, -0.20753461122512817, -0.2720881700515747, 0.8494715690612793, -0.7505236864089966, 0.5221900939941406, -0.12199439108371735, -0.2633345127105713, 0.0404510498046875, 0.18593132495880127, 0.4344516098499298, 0.5476282238960266, 0.1275036484003067, -0.4266366958618164, -0.2266780287027359, -0.7292178273200989, -0.02136114612221718, -0.19315892457962036, -0.14587758481502533, 0.6339020729064941, 0.1783536970615387, -0.3089295029640198, 0.9899013042449951, -0.44798851013183594, -0.378317266702652, -0.8111180067062378, -0.1593465805053711, 0.4899274408817291, 0.4004169702529907, 0.20913422107696533, -0.8298643231391907, -0.6570736169815063, 0.15426364541053772, -0.8081746697425842, 0.1250835657119751, -0.05578790232539177, -0.13449783623218536, 0.6194292902946472, 0.7186592221260071, -0.652877151966095, 0.4760948419570923, 0.37792548537254333, -0.1057821661233902, 0.3926101326942444, 0.0019324367167428136, 0.07583484053611755, -1.0935144424438477, -0.04506245255470276, 0.008792625740170479, -0.47928228974342346, -0.9877136945724487, -0.2620563507080078, -0.30349430441856384, -0.265571266412735, -0.614654541015625, 0.3675291836261749, -0.0911896675825119, -0.19945712387561798, -0.34570401906967163, 0.33410853147506714, -0.12712590396404266, 0.9270811676979065, 0.282432496547699, 0.5370984077453613, 0.453934907913208, -0.898297905921936, 0.44290652871131897, 0.48176783323287964, -0.45805907249450684, 0.9976301789283752, -0.5482523441314697, 0.06926251947879791, 0.10925333946943283, 0.5046798586845398, -0.6776124238967896, -0.016093233600258827, 0.2724965512752533, -0.17499274015426636, 0.19615218043327332, -0.1998366415500641, -0.3168761432170868, -0.11534462869167328, 0.433744341135025, 0.096242256462574, 0.42968082427978516, -0.3515690267086029, 0.6464511156082153, 0.4761195480823517, -0.5233679413795471, -0.5260392427444458, -0.47133782505989075, 0.212528258562088, -0.17724496126174927, -0.48049309849739075, 0.16551685333251953, -0.08209266513586044, -0.47884002327919006, -0.2525491416454315, -0.08694209158420563, -0.15341666340827942, 0.19528792798519135, 0.3021838665008545, 0.2968846559524536, -0.14107444882392883, 0.13028421998023987, -0.11260894685983658, 0.07132486253976822, 0.23785309493541718, -0.7244971990585327, 0.6651586294174194, -0.22322127223014832, -0.5041856169700623, -0.7287627458572388, 0.554291844367981, 0.6506982445716858, 0.034941013902425766, 0.43733543157577515, 0.05731171742081642, -0.30356690287590027, -0.4298253655433655, -0.43832477927207947, -0.09460648894309998, -0.5303165316581726, 0.43861180543899536, -0.48411932587623596, -1.007959008216858, 0.23116543889045715, -0.3315357267856598, 0.45383045077323914, 0.27342453598976135, 0.7674311399459839, -0.3402438163757324, 0.9690520763397217, 0.827398955821991, 0.04465256258845329, 0.7827902436256409, -0.13430067896842957, 0.5165696144104004, -0.7495397329330444, -0.2702706754207611, -0.2871982157230377, -0.3458894193172455, -0.21307237446308136, -0.40836307406425476, 0.24816669523715973, -0.11018820852041245, -0.390723317861557, 0.5741583704948425, -0.21858374774456024, 0.24908524751663208, 0.755744218826294, 0.12368401885032654, 0.4935234487056732, -0.22623777389526367, 0.06984595954418182, 0.19336235523223877, -0.7585805058479309, -0.6741458773612976, 0.9019389152526855, 0.2610524892807007, 0.846737802028656, 0.3103756904602051, 0.5316298604011536, 0.18317657709121704, 0.34222832322120667, -1.0593829154968262, 0.8028885722160339, -0.10946501046419144, -0.5823437571525574, -0.6708016395568848, -0.42239850759506226, -0.8399690985679626, 0.018666263669729233, 0.019011860713362694, -1.0812231302261353, -0.14048469066619873, -0.11954905837774277, -0.28317826986312866, 0.3038829267024994, -0.6888703107833862, 0.7914302349090576, -0.36664676666259766, -0.1582740992307663, -0.46680477261543274, -0.708784282207489, 0.11049027740955353, 0.020132457837462425, 0.06762991100549698, -0.2396746128797531, 0.16104626655578613, 0.5521988272666931, -0.4140962064266205, 1.1302305459976196, -0.24709245562553406, -0.38079309463500977, 0.39872732758522034, 0.12486626952886581, 0.39049333333969116, 0.0033575904089957476, 0.08016245812177658, -0.10721661895513535, -0.19272059202194214, -0.2208452671766281, -0.8740962147712708, 0.4657997786998749, -0.4214369058609009, -0.8834609985351562, -0.17187383770942688, -0.9517202973365784, -0.3901837170124054, 0.13856008648872375, -0.31341689825057983, 0.6793140769004822, -0.3497263193130493, 0.2740729749202728, 0.7290533185005188, -0.20206321775913239, 0.4208754003047943, 0.5881249308586121, -0.23700961470603943, 0.025438955053687096, 0.6943057179450989, -0.18498924374580383, 0.5770948529243469, 0.7574594020843506, -0.11864715814590454, -0.2352740466594696, -0.3974109888076782, -0.4592393636703491, -0.13477525115013123, -0.7500120997428894, -0.2838887572288513, -0.7622559070587158, -0.2980021834373474, -0.21670745313167572, -0.2796870470046997, -0.3328096866607666, -0.356999933719635, -0.10719191282987595, 0.3134462833404541, 0.3071199357509613, 0.8679482340812683, 0.5646249055862427, 0.3697965741157532, -0.8266797661781311, 0.04659685492515564, 0.48052388429641724, 0.3233780562877655, -0.17666614055633545, -0.45040184259414673, -0.37290874123573303, 0.1663818061351776, -0.5774298906326294, -0.5253613591194153, 0.3873592019081116, 0.10398795455694199, 0.7882586121559143, 0.461722195148468, 0.17183952033519745, 0.46377113461494446, -0.5516669154167175, 0.808245062828064, 0.25585678219795227, -1.122951865196228, 0.7259654402732849, -0.41906553506851196, 0.28464779257774353, 0.464078813791275, 0.4721698760986328, -0.6867446303367615, -0.6220375895500183, -0.4992508292198181, -0.6265086531639099, 0.9085441827774048, -0.005252039059996605, 0.24759574234485626, -0.034512512385845184, 0.1238587349653244, 0.03942134603857994, 0.3519761562347412, -0.39683929085731506, -0.24824583530426025, 0.14920656383037567, -0.330875039100647, -0.13894441723823547, 0.05775114521384239, -0.32050222158432007, 0.01659071445465088, 0.6396352052688599, -0.34610721468925476, 0.4200991690158844, 0.13740023970603943, -0.3867191672325134, 0.23137035965919495, 0.4224347174167633, 0.5614060759544373, 0.7288209199905396, -0.15747590363025665, -0.282441109418869, 0.14776915311813354, -0.27201762795448303, 0.17013287544250488, -0.2051856815814972, 0.06648936867713928, -0.19485929608345032, -0.1807248890399933, 0.9630225896835327, 0.3979948163032532, -1.1252121925354004, 0.5179690718650818, -0.03609250858426094, -0.16261251270771027, -0.3463491201400757, 0.233087420463562, 0.18599361181259155, 0.7309367656707764, 0.4422891139984131, -0.054556477814912796, 0.23201128840446472, -0.8012734651565552, 0.14969079196453094, 0.5107290148735046, -0.6501106023788452, 0.052405185997486115, 0.46153122186660767, 0.5736329555511475, -0.6967393159866333, 0.5802813768386841, -0.22983606159687042, -0.5399386882781982, 0.5229369401931763, 0.8527312278747559, 0.9665721654891968, -0.05661409720778465, 0.18133190274238586, 0.005878170486539602, -0.014298433437943459, -0.029940420761704445, 0.25174686312675476, -0.38389232754707336, -0.6954232454299927, -0.7488172054290771, -0.5336430072784424, -0.992522656917572, 0.02129056118428707, -0.3156140148639679, 0.14589597284793854, -0.43860766291618347, -0.12472932785749435, -0.2610469460487366, 0.015790769830346107, -0.6200207471847534, 0.22948797047138214, 0.09030453115701675, 0.748518168926239, -0.5007233619689941, 0.8414112329483032, 0.6854667663574219, -0.0007392132538370788, -0.4537813067436218, -0.1639171987771988, -0.06491262465715408, -0.3801320493221283, 1.1745153665542603, 0.17320431768894196, -0.40664342045783997, -0.0068453229032456875, -0.3713368773460388, -0.7122126817703247, 1.1535283327102661, 0.16140949726104736, -0.5983571410179138, 0.07810632139444351, 0.09920380264520645, 0.4264615476131439, -0.7116138935089111, 0.07812261581420898, 0.4545633792877197, -0.01201359461992979, 0.07275301218032837, -1.1080024242401123, 0.05643108859658241, -0.08215354382991791, -0.044676899909973145, 0.13094213604927063, -0.5994959473609924, 0.4653586745262146, -0.0057593584060668945, -0.2652920186519623, -0.08434275537729263, 0.7584393620491028, 0.13172438740730286, 0.3432871997356415, 0.6762784123420715, 0.2980600893497467, 0.5925097465515137, -0.025280043482780457, 0.5715755820274353, -0.3907466232776642, 0.14836138486862183, 1.2328295707702637, -0.5233905911445618, 0.9489328265190125, 0.37474751472473145, -0.21690793335437775, 0.6868605017662048, 0.16524523496627808, 0.4018416702747345, 0.242753803730011, 0.24190190434455872, -0.5150312781333923, -0.2717397212982178, -0.22921080887317657, 0.31922024488449097, 0.5336884260177612, 0.927423357963562, -0.05047226697206497, -0.02024213969707489, 0.10810154676437378, -0.1548817753791809, -0.05956657603383064, -0.24926918745040894, 1.0492990016937256, 0.23029100894927979, -0.707889974117279, 0.3626479208469391, -0.2069191038608551, 0.6911960244178772, -0.5779727101325989, 0.08330875635147095, -0.044572483748197556, 0.1383362114429474, -0.021105382591485977, -0.6396106481552124, 0.413889080286026, -0.014769676141440868, -0.01570926047861576, -0.472953200340271, 0.5854747295379639, -0.5505427122116089, -0.20430625975131989, 0.2706376910209656, 0.6202378273010254, 0.23066863417625427, 0.07505946606397629, -0.670878529548645, -0.08463425934314728, -0.10968364030122757, -0.2412850707769394, 0.21929971873760223, 0.39122605323791504, -0.17474719882011414, 1.0962834358215332, 0.4296305477619171, -0.3818449378013611, -0.21667559444904327, 0.0606868602335453, 0.6097842454910278, -0.636549174785614, -0.5120552778244019, -0.49317240715026855, 0.42741820216178894, -0.20752547681331635, 0.08451684564352036, 0.7241707444190979, 0.5839856266975403, 1.0238068103790283, 0.019932949915528297, 0.9766205549240112, -0.1900273710489273, 0.458481103181839, -0.4338925778865814, 0.43368470668792725, -0.39056697487831116, 0.21287396550178528, -0.295680433511734, -0.9493692517280579, -0.2172495573759079, 0.685415506362915, -0.25877395272254944, -0.11837927252054214, 0.7480419874191284, 0.680436909198761, 0.0328000970184803, 0.10992409288883209, 0.5762521624565125, -0.007437715772539377, 0.41210389137268066, 0.7373479008674622, 0.8966312408447266, -0.24293842911720276, 0.5015665292739868, -0.0736161321401596, -0.3950693607330322, -0.4119279384613037, -0.6060136556625366, -0.9165967106819153, -0.7460951805114746, -0.4622820317745209, -0.17063549160957336, 0.023087922483682632, 1.1273456811904907, 0.7039065361022949, -0.6439148783683777, -0.833895742893219, -0.09585519134998322, 0.10491921007633209, -0.4818238317966461, -0.2311309427022934, -0.01624397374689579, -0.8774377703666687, -1.16653311252594, 0.7347171902656555, 0.7337631583213806, -0.18947525322437286, -0.2655746042728424, -0.12383552640676498, -0.059155531227588654, 0.32736650109291077, 1.0913840532302856, 0.1940852403640747, -0.7659735679626465, -0.1218382865190506, 0.02964867278933525, -0.23729507625102997, 0.09973129630088806, 0.8700885772705078, -0.6625561714172363, 0.3877522945404053, 0.4244360625743866, 0.7867100238800049, 0.4685496687889099, -0.2775164246559143, 0.8462960124015808, -0.48482784628868103, 0.13989755511283875, 0.24450184404850006, 0.2174316793680191, 0.15244160592556, -0.25277143716812134, 0.34710222482681274, 0.04042576998472214, -0.6350375413894653, -0.475119948387146, 0.722671627998352, -1.1990700960159302, -0.3121911585330963, 0.9888523817062378, -0.19923369586467743, -0.09020890295505524, -0.5781604647636414, -0.3262071907520294, 0.09304123371839523, -0.4690793752670288, 0.40192413330078125, 0.4106135666370392, -0.41132450103759766, 0.1724042445421219, -0.784164309501648, 0.46583226323127747, 0.32205966114997864, -0.8638904094696045, 0.14043618738651276, 0.36095529794692993, 0.10817208886146545, 0.22457799315452576, 0.9323862195014954, -0.022771265357732773, 0.07781225442886353, -0.21597199141979218, 0.02580871433019638, 0.3515482246875763, -0.34958699345588684, -0.025760071352124214, -0.020409485325217247, -0.07733070850372314, -0.0151900053024292 ]
http://arxiv.org/abs/2402.12233v1
http://arxiv.org/pdf/2402.12233v1
Empirical Study on Updating Key-Value Memories in Transformer Feed-forward Layers
2024-02-19T15:42:54
2024-02-19T15:42:54
Zihan Qiu, Zeyu Huang, Youcheng Huang, Jie Fu
cs.CL
cs.CL
The feed-forward networks (FFNs) in transformers are recognized as a group of key-value neural memories to restore abstract high-level knowledge. In this work, we conduct an empirical ablation study on updating keys (the 1st layer in the FFNs layer) or values (the 2nd layer in the FFNs layer). We compare those two methods in various knowledge editing and fine-tuning tasks of large language models to draw insights to understand FFNs further. Code is available at $\href{https://github.com/qiuzh20/Tuning-keys-v.s.-values}{this\,repo}$.
[ -0.2313508838415146, -0.6419054269790649, 0.2723982632160187, 0.09292556345462799, 0.1002284362912178, 0.016385026276111603, -0.2682833969593048, -0.29818975925445557, -0.25623902678489685, 0.859023928642273, -0.5968589186668396, -0.06702741980552673, -0.3871319591999054, -0.04635487124323845, -0.6524415612220764, 0.9795835614204407, 0.15685446560382843, -0.046454884111881256, -0.04246518760919571, -0.13488943874835968, -0.3596142828464508, -0.2141508311033249, -1.2000563144683838, -0.5650730133056641, 0.5934938788414001, 0.23627117276191711, 0.9822595119476318, 0.9907886981964111, 0.7555301189422607, 0.40140771865844727, -0.5490618348121643, -0.174868643283844, -0.428324818611145, 0.24021539092063904, -0.42551189661026, -0.41870927810668945, -0.293699711561203, -0.1783341020345688, 0.6555412411689758, 0.7589040398597717, 0.09677321463823318, 0.055263809859752655, -0.1016424372792244, 0.9936546683311462, -0.5081320405006409, 0.18939359486103058, -0.7357928156852722, 0.14133290946483612, -0.004862270783632994, -0.23355340957641602, -0.6116030812263489, -0.387054979801178, 0.2867089509963989, -0.430406391620636, 0.5095117092132568, -0.07367412745952606, 0.9713274836540222, 0.5214601159095764, -0.2874152958393097, -0.20095330476760864, -1.008748173713684, 0.5891269445419312, -0.5723227858543396, 0.6973502039909363, 0.23964978754520416, 0.19334518909454346, 0.061382751911878586, -0.8739747405052185, -0.5242937803268433, 0.14210925996303558, -0.3260771930217743, 0.07097680866718292, -0.13748688995838165, 0.11080798506736755, 0.471600204706192, 0.7314872145652771, -0.007927479222416878, 0.058412227779626846, -0.7927013635635376, -0.12943634390830994, 0.4746699333190918, 0.13119341433048248, 0.10322058945894241, 0.08353716135025024, -0.23768994212150574, -0.5605856776237488, -0.7803377509117126, 0.17454646527767181, 0.30165931582450867, 0.24260810017585754, 0.10593394935131073, 0.422375351190567, -0.3034886121749878, 0.7046982049942017, 0.29639071226119995, 0.08386565744876862, 0.38372698426246643, -0.44011566042900085, -0.5356319546699524, 0.02709139697253704, 0.5756692886352539, 0.31969380378723145, 0.3407868444919586, -0.6101765632629395, -0.3395412266254425, -0.2837006151676178, 0.5804586410522461, -0.730379045009613, -0.42866572737693787, -0.07077239453792572, -0.6498345732688904, -0.749323308467865, -0.102425716817379, -0.4978169798851013, -0.35727477073669434, -0.2597685158252716, 0.7242639660835266, -0.5582188367843628, -0.294196218252182, 0.03830360621213913, -0.5409970283508301, 0.5452479124069214, 0.26527974009513855, -1.1995441913604736, 0.22270315885543823, 0.7747158408164978, 0.6191004514694214, 0.2643653154373169, -0.5372899770736694, 0.011704204604029655, -0.20717386901378632, -0.23889896273612976, 0.8214763402938843, -0.4045640528202057, -0.2712704837322235, -0.1831122785806656, 0.13519792258739471, -0.07051751762628555, -0.7292420268058777, 0.48332688212394714, -1.2422813177108765, 0.0026998003013432026, -0.7147927284240723, -0.5521669387817383, -0.2530441880226135, 0.023074913769960403, -0.8928559422492981, 1.050685167312622, 0.3957758843898773, -0.379157692193985, 0.3636377155780792, -0.5940120220184326, -0.543298065662384, -0.32562804222106934, 0.23365935683250427, -0.4107140302658081, 0.28331267833709717, 0.02162150666117668, 0.40139517188072205, -0.15335848927497864, 0.0801888033747673, 0.04381650686264038, -0.1526196002960205, 0.6746575832366943, -0.613632082939148, 0.7053417563438416, 0.2579643726348877, -0.15407267212867737, 0.16452619433403015, -0.7321229577064514, -0.21732968091964722, 0.04150864854454994, -0.14786551892757416, -0.22211414575576782, 0.0882500410079956, -0.42903465032577515, 0.5424498319625854, -0.09199085086584091, -0.530977725982666, 0.16083437204360962, -0.5903338193893433, 0.7028377652168274, 0.90743488073349, 0.3799663484096527, 0.6735199093818665, -0.53855299949646, 0.12677815556526184, 0.38128000497817993, 0.1623552292585373, -0.7431169152259827, -0.39193207025527954, -0.8648453950881958, 0.40509283542633057, 0.5333303213119507, 0.3914165794849396, -0.55588299036026, 0.27885133028030396, -0.21910643577575684, -0.4367663264274597, -0.7498093247413635, 0.015024441294372082, 0.2290421426296234, 0.937675952911377, 0.5454291105270386, 0.08972372859716415, -0.2194814831018448, -1.0348531007766724, -0.22158128023147583, -0.07527945190668106, -0.24554035067558289, 0.3115697503089905, 0.4497474431991577, -0.10916715860366821, 0.8673391342163086, -0.47256335616111755, -0.3099871277809143, 0.28163793683052063, 0.060184743255376816, 0.0966816395521164, 0.5207217931747437, 0.3872673809528351, -0.720720648765564, -0.3915143609046936, 0.1970309317111969, -0.5152762532234192, -0.0024312559980899096, -0.45436355471611023, -0.18926988542079926, 0.02740967646241188, 0.5375840663909912, -0.34725573658943176, 0.22133812308311462, 0.4093872308731079, -0.3755415976047516, 0.2594474256038666, -0.09312812238931656, 0.45246678590774536, -0.8760483860969543, 0.03698918968439102, -0.16857104003429413, -0.013805410824716091, -0.8214407563209534, 0.04035764932632446, 0.24332541227340698, 0.03717045858502388, -0.549595057964325, 0.46216028928756714, -0.22635799646377563, -0.1919737160205841, -0.3537682890892029, -0.16174469888210297, 0.2170208990573883, 0.6955341696739197, 0.013194392435252666, 0.9966869354248047, 0.461168110370636, -0.542971670627594, 0.39823466539382935, 0.33606624603271484, -0.316582053899765, 0.2594299614429474, -0.7028016448020935, 0.16703824698925018, -0.17613762617111206, -0.15441545844078064, -1.066272258758545, -0.00617592828348279, 0.16594365239143372, -0.46551990509033203, 0.296123743057251, -0.058175522834062576, -0.23472566902637482, -0.0857761949300766, -0.12391681969165802, 0.2828095257282257, 0.6322557926177979, -0.6157853603363037, 0.6548646688461304, 0.3119068145751953, -0.07065749168395996, -0.6348094940185547, -0.7340776324272156, -0.19940151274204254, 0.13872356712818146, -0.8624036908149719, 0.5745792984962463, 0.1835545301437378, -0.33492255210876465, 0.3509667217731476, -0.210880309343338, -0.02367917262017727, 0.19775432348251343, 0.10994268953800201, -0.02959500625729561, -0.5436640381813049, 0.22329218685626984, 0.4257839620113373, -0.2667142152786255, 0.28367891907691956, -0.270082026720047, 0.40569210052490234, -0.3631925880908966, -0.16965320706367493, -0.17733098566532135, 0.06499527394771576, 0.6202138066291809, -0.22790363430976868, 1.006286382675171, 0.40830153226852417, -0.4414212703704834, -0.22403694689273834, -0.6536921262741089, -0.4123128056526184, -0.593069851398468, 0.15258726477622986, -0.3753975033760071, -0.9493025541305542, 0.879174530506134, -0.2291700839996338, 0.0975189357995987, 0.8490298390388489, 0.5332995057106018, -0.2711021304130554, 0.7086847424507141, 0.34837910532951355, -0.1428014487028122, 0.3712952435016632, -0.406249463558197, 0.05278001353144646, -1.044811725616455, -0.24899370968341827, -0.6541150212287903, -0.6015564799308777, -0.1315452605485916, -0.2661516070365906, 0.10330430418252945, 0.24488678574562073, -0.25819772481918335, 0.3181338906288147, -0.5128676295280457, 0.7583780288696289, 0.40528610348701477, 0.23283147811889648, 0.20456171035766602, -0.25433987379074097, -0.06963507831096649, 0.18563629686832428, -0.4240216016769409, -0.1004607155919075, 0.9644144773483276, 0.5395432114601135, 0.6793777942657471, -0.2071642130613327, 0.2138012796640396, 0.2943383753299713, 0.3264366686344147, -0.8332617282867432, 0.32503625750541687, -0.1309470236301422, -0.7881816029548645, -0.6074362397193909, -0.34310677647590637, -0.630958080291748, 0.2062440663576126, -0.26639869809150696, -0.4236908555030823, 0.3133527338504791, 0.39902356266975403, -0.5342455506324768, 0.6105591654777527, -0.6207572221755981, 0.8571997284889221, -0.1330500692129135, -0.2401564121246338, -0.11901678889989853, -0.7793676853179932, 0.1211991161108017, -0.007690247148275375, -0.10919906198978424, 0.3604506850242615, 0.21524636447429657, 0.7454601526260376, -0.2540333569049835, 0.6591955423355103, -0.1113167256116867, -0.2343180626630783, 0.17710591852664948, -0.1664842814207077, 0.5095489025115967, -0.03963169455528259, -0.332374632358551, 0.20230165123939514, -0.314507395029068, 0.00024038930132519454, -0.8317452073097229, 0.575576663017273, -0.952582836151123, -0.4216579496860504, -0.2203770875930786, -0.4239770770072937, -0.024915972724556923, 0.30663251876831055, 0.22402143478393555, 0.5686936974525452, -0.07628582417964935, 0.5959613919258118, 1.1506754159927368, -0.2783434987068176, 0.33404964208602905, 0.38531529903411865, -0.08239641785621643, -0.21085253357887268, 0.6122907996177673, 0.21653394401073456, 0.34005656838417053, 0.7490904331207275, 0.2599670886993408, -0.13260987401008606, -0.6823017001152039, -0.5088998079299927, 0.085474893450737, -0.7453973889350891, -0.41170525550842285, -0.8685318231582642, -0.7688319683074951, -0.4100872874259949, -0.3635941743850708, -0.6673249006271362, -0.46813979744911194, -0.1999720185995102, -0.2556731700897217, 0.6454004645347595, 0.6281425952911377, -0.0012301316019147635, 0.6686773300170898, -1.0061768293380737, 0.43639466166496277, 0.3155357241630554, 0.8021456599235535, 0.2822551429271698, -0.6329329013824463, -0.6863109469413757, 0.30919334292411804, -0.2329409420490265, -0.9694640636444092, 0.16026562452316284, 0.12867605686187744, 0.4926186203956604, 0.43906232714653015, -0.19229228794574738, 0.5652512907981873, -0.512844443321228, 0.7666978240013123, -0.3358358144760132, -1.1209657192230225, 0.43590304255485535, -0.23711542785167694, 0.4117797315120697, 0.7554398775100708, 0.06277937442064285, -0.8946038484573364, -0.16807404160499573, -0.5397177934646606, -0.7183220386505127, 1.0474514961242676, 0.13957975804805756, 0.1583510786294937, 0.21216481924057007, 0.7689160108566284, -0.03560807555913925, 0.16290684044361115, -0.40856847167015076, -0.5253804922103882, -0.32707563042640686, -0.044709112495183945, 0.01964130811393261, -0.14470013976097107, -0.0014289610553532839, -0.4705577790737152, 0.7098278403282166, 0.07918785512447357, 0.7048880457878113, 0.022748654708266258, -0.32153818011283875, -0.40015774965286255, 0.2609602212905884, 0.8374529480934143, 0.45291006565093994, -0.3532162308692932, -0.047792356461286545, 0.4010367691516876, -0.5253472924232483, 0.08411486446857452, -0.25264495611190796, -0.3707754909992218, -0.38738933205604553, 0.28425538539886475, 1.3672791719436646, 0.45995885133743286, -0.06345170736312866, 0.38144370913505554, -0.11606115102767944, -0.582334578037262, -0.29023370146751404, 0.30026891827583313, 0.23789866268634796, 0.35610395669937134, 0.388350248336792, 0.8124647736549377, 0.05723490193486214, -0.4619198441505432, 0.3462161421775818, 0.19146983325481415, -0.5150614380836487, -0.5758875012397766, 0.6131910681724548, 0.08293114602565765, -0.5307005643844604, 0.9995800256729126, 0.14104624092578888, -0.6301419734954834, 0.5594943165779114, 0.5819632411003113, 0.9927645325660706, -0.2835986316204071, 0.16922661662101746, 0.254080206155777, 0.5598491430282593, -0.1031196117401123, 0.05696119740605354, -0.16288958489894867, -1.2034751176834106, -0.6322267651557922, -0.5591341853141785, -0.49516624212265015, 0.23668915033340454, -0.7167143225669861, 0.14078009128570557, -0.23753111064434052, 0.04808361083269119, 0.3270445168018341, -0.23638640344142914, -0.7786774635314941, 0.3808886706829071, -0.10850026458501816, 1.120547890663147, -0.9635207056999207, 1.0536364316940308, 0.5681038498878479, -0.15425001084804535, -0.9397656321525574, -0.19313344359397888, -0.13785919547080994, -0.6795102953910828, 0.6804848909378052, -0.22910231351852417, 0.015091423876583576, 0.2154601663351059, -0.13241910934448242, -1.0670443773269653, 1.2210577726364136, -0.02748899534344673, -0.3103548586368561, -0.3230765759944916, 0.47540539503097534, 0.7317847013473511, -0.0889388844370842, 0.286689817905426, 0.7401782870292664, 0.6652791500091553, 0.1345590204000473, -0.49009159207344055, -0.10494942963123322, -0.4567410349845886, -0.042627930641174316, 0.5860932469367981, -0.7067188024520874, 1.0196468830108643, 0.027628712356090546, -0.16544519364833832, -0.37273159623146057, 0.7655462026596069, -0.41883522272109985, -0.024669775739312172, 0.6018087267875671, 0.671329140663147, 0.5159679651260376, -0.36577335000038147, 0.6904994249343872, -0.5663324594497681, 0.187481090426445, 0.8223856687545776, -0.2749130427837372, 0.5694782137870789, 0.4171200096607208, -0.05783761292695999, 0.2866557240486145, 0.20541420578956604, -0.3226807415485382, 0.7248888611793518, -0.10039528459310532, 0.06827760487794876, 0.17110861837863922, 0.4407510459423065, -0.42725419998168945, 0.3910680413246155, 0.4455382525920868, -0.7936109304428101, -0.03213771432638168, 0.20789161324501038, 0.12965048849582672, -0.26589980721473694, -0.2385794222354889, 1.1167351007461548, -0.0383206270635128, -0.7613036036491394, 0.22897425293922424, 0.17922775447368622, 0.485149085521698, -0.4619966447353363, 0.1271790713071823, -0.2057778537273407, 0.4213516116142273, -0.11420600116252899, -1.0376776456832886, 0.8478150367736816, -0.15561412274837494, -0.44528207182884216, -0.6000892519950867, 1.0868406295776367, -0.3621293902397156, -0.34079238772392273, 0.20693771541118622, 0.28757408261299133, -0.466791033744812, -0.04289252683520317, -0.5737847685813904, 0.07206479460000992, -0.07372891902923584, -0.6302471160888672, 0.3052135705947876, 0.3654906451702118, 0.2962692975997925, 0.4149269461631775, 0.6181883215904236, 0.1303614377975464, 0.19877031445503235, 0.08623465150594711, 1.0078498125076294, -0.8413774371147156, -0.30429792404174805, -0.8575307130813599, 0.7300136685371399, 0.004765696357935667, -0.5179120302200317, 0.6496103405952454, 0.5403149127960205, 1.1889898777008057, -0.2963601052761078, 0.6298233270645142, 0.20579220354557037, 0.43220311403274536, -0.6269779801368713, 0.9962912201881409, -0.23851698637008667, 0.285368412733078, -0.31409159302711487, -0.8091037273406982, -0.2734679877758026, 0.6231318712234497, -0.08420605212450027, -0.1953376680612564, 0.6156539916992188, 0.9306720495223999, 0.017980175092816353, 0.5127178430557251, 0.19295653700828552, 0.4279557168483734, 0.19128721952438354, 0.1822812408208847, 0.89731764793396, -0.9096693992614746, 0.2895714044570923, -0.9704767465591431, -0.04402526840567589, 0.05237305164337158, -0.6791849732398987, -0.5870108604431152, -0.7812997102737427, -0.3069743514060974, -0.3163672387599945, 0.046788740903139114, 0.6105955839157104, 0.4155831038951874, -0.889354944229126, -0.11846135556697845, -0.013556808233261108, 0.17620255053043365, -0.7512902617454529, -0.23427753150463104, 0.2756570875644684, -0.36000120639801025, -0.2950213849544525, 0.3425137996673584, 0.25427520275115967, -0.23853617906570435, -0.1516929268836975, 0.04839292913675308, -0.04015873745083809, 0.277691513299942, 0.6782823204994202, 0.15066219866275787, -0.2912370264530182, -0.5600793361663818, 0.6528998017311096, -0.030917678028345108, 0.1987462043762207, 0.9771840572357178, -0.8873030543327332, 0.20293308794498444, 0.9289559721946716, 0.77534019947052, 0.473951131105423, -0.06308688968420029, 0.511911153793335, -0.8008699417114258, -0.14267531037330627, 0.05744378641247749, 0.3423786759376526, 0.11518647521734238, -0.4838135540485382, 0.2991611659526825, 0.028716973960399628, -0.9277299046516418, -0.7194519639015198, 0.03928894177079201, -1.0202380418777466, -0.13456688821315765, 0.8775200247764587, 0.0031088530085980892, -0.3749336898326874, 0.01864074356853962, -0.11238094419240952, 0.4894349277019501, -0.13980735838413239, 0.707432210445404, 0.6283648610115051, 0.10355885326862335, -0.37662917375564575, -0.1585121601819992, 0.8104835152626038, 0.13896511495113373, -0.4894300103187561, 0.14270921051502228, 0.22763408720493317, 0.08723068982362747, 0.29326191544532776, 0.47381699085235596, -0.22491128742694855, 0.2720305323600769, 0.03908952698111534, -0.20210319757461548, -0.397315114736557, -0.4964364469051361, -0.5745992064476013, 0.2500072121620178, -0.14197015762329102, 0.13035684823989868 ]
http://arxiv.org/abs/2402.12226v3
http://arxiv.org/pdf/2402.12226v3
AnyGPT: Unified Multimodal LLM with Discrete Sequence Modeling
2024-02-19T15:33:10
2024-03-07T06:31:46
Jun Zhan, Junqi Dai, Jiasheng Ye, Yunhua Zhou, Dong Zhang, Zhigeng Liu, Xin Zhang, Ruibin Yuan, Ge Zhang, Linyang Li, Hang Yan, Jie Fu, Tao Gui, Tianxiang Sun, Yugang Jiang, Xipeng Qiu
cs.CL
cs.CL, cs.AI, cs.CV, cs.LG
We introduce AnyGPT, an any-to-any multimodal language model that utilizes discrete representations for the unified processing of various modalities, including speech, text, images, and music. AnyGPT can be trained stably without any alterations to the current large language model (LLM) architecture or training paradigms. Instead, it relies exclusively on data-level preprocessing, facilitating the seamless integration of new modalities into LLMs, akin to the incorporation of new languages. We build a multimodal text-centric dataset for multimodal alignment pre-training. Utilizing generative models, we synthesize the first large-scale any-to-any multimodal instruction dataset. It consists of 108k samples of multi-turn conversations that intricately interweave various modalities, thus equipping the model to handle arbitrary combinations of multimodal inputs and outputs. Experimental results demonstrate that AnyGPT is capable of facilitating any-to-any multimodal conversation while achieving performance comparable to specialized models across all modalities, proving that discrete representations can effectively and conveniently unify multiple modalities within a language model. Demos are shown in https://junzhan2000.github.io/AnyGPT.github.io/
[ -0.18556401133537292, -0.8190914988517761, 0.675123929977417, 0.058443404734134674, -0.21228718757629395, -0.21333163976669312, -0.2927623689174652, -0.10196717828512192, 0.02511187270283699, 0.4481240510940552, -0.7527023553848267, -0.7119714021682739, -0.24122865498065948, -0.17181654274463654, -0.6011592745780945, 1.1240803003311157, 0.18344679474830627, 0.30163663625717163, -0.058643799275159836, -0.01215438824146986, -0.39189934730529785, -0.534636914730072, -0.5065643787384033, -0.2503853440284729, 0.5978097319602966, 0.32915547490119934, 0.6743349432945251, 0.9119206070899963, 0.2280270755290985, 0.32956403493881226, 0.3692082464694977, -0.12183010578155518, -0.3145380914211273, 0.21363629400730133, -0.04399116337299347, -0.13367630541324615, -0.5821052193641663, -0.07457294315099716, 0.9413376450538635, 0.57224440574646, -0.36909061670303345, 0.04119656980037689, -0.3930554986000061, 0.3002597391605377, -0.43068793416023254, 0.1167900338768959, -0.5899882316589355, 0.15604057908058167, -0.4450986087322235, -0.13039004802703857, -0.5251765847206116, -0.24408787488937378, 0.15430836379528046, -0.4599015414714813, -0.08185942471027374, -0.15114031732082367, 0.3160676062107086, 0.21870891749858856, -0.6902047395706177, 0.03130413964390755, -0.6324425935745239, 0.5154920220375061, -0.49993056058883667, 0.8023591637611389, -0.04509466513991356, 0.1830107718706131, 0.04481188580393791, -0.9475307464599609, -0.8266322612762451, -0.28986939787864685, 0.17081671953201294, 0.1916516274213791, 0.07853581756353378, 0.3769317865371704, 0.13038991391658783, 0.2945159077644348, -1.0519014596939087, 0.012163308449089527, 0.042833734303712845, 0.07551786303520203, 0.357418030500412, 0.2558991611003876, 0.5297826528549194, -0.295293390750885, -0.6692131757736206, -0.24079781770706177, -0.607960045337677, -0.07073353976011276, -0.054800428450107574, 0.2574548125267029, -0.30796003341674805, 0.6980881690979004, 0.19066664576530457, 0.9073044657707214, -0.19118966162204742, -0.34201180934906006, -0.12559065222740173, -0.41652581095695496, -0.4629982113838196, 0.04092518612742424, 1.080553412437439, -0.16871406137943268, 0.16475000977516174, -0.19777034223079681, -0.06647367030382156, 0.24136890470981598, 0.34985992312431335, -0.650653600692749, -0.5630163550376892, -0.18702316284179688, -0.3130890130996704, -0.06648893654346466, 0.10807932913303375, -0.6910480856895447, -0.3305160701274872, -0.3486955761909485, 0.35175296664237976, -0.61330246925354, -0.22971785068511963, 0.16752062737941742, 0.34624940156936646, 0.25950396060943604, 0.21980249881744385, -1.1048558950424194, 0.07156287878751755, 0.3750373125076294, 0.447860449552536, -0.16755452752113342, -0.5888081192970276, -0.11474967002868652, 0.2540585398674011, -0.22686512768268585, 0.9857650995254517, -0.8388384580612183, -0.5012123584747314, -0.04124728590250015, -0.2654849588871002, -0.5473363995552063, 0.14656388759613037, 0.537653386592865, -0.4831576645374298, 0.20476941764354706, 0.05489885061979294, -0.47522157430648804, -0.25449037551879883, 0.2653469741344452, -0.5234130024909973, 0.6243585348129272, -0.07919321209192276, -0.544452965259552, -0.07035359740257263, -1.033420443534851, -0.3387954831123352, -0.06611669808626175, -0.7135015726089478, -0.28926488757133484, -0.036578238010406494, 0.15210218727588654, 0.3268890082836151, -0.4448428750038147, 0.15899839997291565, -0.2888699769973755, -0.03259529173374176, 0.4242565631866455, -1.0462294816970825, 0.44180455803871155, 0.1197376698255539, -0.0979403629899025, 0.2991178333759308, -0.8171544671058655, 0.16031195223331451, 0.006979730911552906, -0.4401092529296875, 0.27055951952934265, -0.07997287809848785, 0.5742949843406677, 0.39310866594314575, 0.18827782571315765, -0.6421935558319092, 0.610511064529419, 0.3138686716556549, 0.5871360898017883, 0.9180415272712708, -0.25224849581718445, 0.7319573760032654, -0.39486372470855713, 0.5904941558837891, -0.30858689546585083, 0.278758704662323, -0.9080785512924194, -0.4732549488544464, -0.6255578398704529, -0.5817586183547974, 0.6343218088150024, 0.6347558498382568, -0.8518146276473999, 0.14145641028881073, -0.7822352647781372, -0.14298087358474731, -0.418517529964447, -0.05698380246758461, 0.44342896342277527, 0.36511117219924927, 0.0013219427783042192, -0.6458507776260376, -0.6936460733413696, -0.5216215252876282, 0.28778207302093506, -0.17812134325504303, 0.0742516741156578, 0.0004439829208422452, 0.23506727814674377, -0.27852505445480347, 1.0861774682998657, -0.21112319827079773, -0.23285025358200073, -0.14783194661140442, 0.33944928646087646, -0.17028355598449707, 0.57551109790802, 0.20105156302452087, -0.962323784828186, -0.4917677044868469, 0.039737164974212646, -0.7778140902519226, 0.1458176225423813, -0.2856921851634979, 0.013012846931815147, 0.24805128574371338, 0.396765798330307, -0.8927050232887268, 0.23218004405498505, 0.8536863327026367, -0.2512425184249878, 0.4808971583843231, -0.06777527183294296, 0.28883618116378784, -1.1992154121398926, 0.05371250584721565, -0.36325520277023315, -0.4047378897666931, -0.7400192618370056, -0.13920240104198456, 0.0838257446885109, -0.5189392566680908, -0.5743032693862915, 0.37102222442626953, -0.3172125220298767, -0.15924616158008575, 0.13312825560569763, 0.1691965013742447, -0.16473929584026337, 0.580542266368866, 0.1786796748638153, 0.8110345005989075, 0.7453395128250122, -0.19774721562862396, 0.5211779475212097, 0.4228770136833191, -0.40116187930107117, 0.7131581902503967, -0.325052410364151, 0.4122808873653412, -0.14534087479114532, 0.43702858686447144, -1.2380338907241821, -0.42777371406555176, 0.1083744540810585, -0.5344065427780151, 0.4660378098487854, -0.2186635136604309, -0.5573382377624512, 0.09538783133029938, -0.17073281109333038, 0.5693375468254089, 0.3367919325828552, -0.5856242775917053, 0.9265516400337219, 0.06336919963359833, -0.3233341574668884, -0.3911908268928528, -0.605475127696991, 0.08247993886470795, 0.04245562106370926, -0.7834151387214661, 0.3833082616329193, -0.3422633409500122, 0.39613601565361023, 0.06686999648809433, -0.23293718695640564, -0.230143204331398, -0.4934535622596741, 0.3199314773082733, 0.3891723155975342, -0.22453604638576508, 0.2640792429447174, -0.31369030475616455, -0.23338879644870758, -0.25573286414146423, -0.5254879593849182, 0.7606911063194275, -0.1304096132516861, -0.7568233013153076, -0.4183136820793152, 0.3983577489852905, 0.6877962350845337, -0.3743392825126648, 0.1601143181324005, 0.7923195362091064, 0.08707073330879211, 0.03835355117917061, -0.5760745406150818, 0.03801233693957329, -0.4580552577972412, 0.44005683064460754, -0.47248053550720215, -1.1249101161956787, 0.23668107390403748, 0.047408170998096466, -0.07513967156410217, -0.07622824609279633, 0.40393751859664917, -0.023243216797709465, 1.396842122077942, 0.7586414217948914, -0.22182564437389374, 0.880065381526947, -0.07706861943006516, 0.2754136323928833, -0.5802193880081177, -0.22459524869918823, -0.12026054412126541, -0.18511901795864105, -0.6606709361076355, -0.4926101267337799, 0.47574108839035034, -0.14821018278598785, -0.4819895029067993, 0.3125753104686737, -0.29561713337898254, 0.6160531640052795, 0.4566895663738251, 0.05722960829734802, 0.4086180031299591, 0.02088901586830616, -0.09474311023950577, -0.000010269204722135328, -0.8989778161048889, -0.2995617091655731, 1.1510229110717773, 0.01672566868364811, 1.1244086027145386, 0.1414347141981125, 0.4761160612106323, 0.18765133619308472, 0.40670475363731384, -0.6690059900283813, 0.6487884521484375, -0.25660353899002075, -0.5431361794471741, -0.2876461148262024, -0.5417380928993225, -0.7632512450218201, 0.33766818046569824, -0.26383909583091736, -0.7623049020767212, -0.039889201521873474, -0.08947791904211044, -0.3997232913970947, 0.5811797976493835, -0.5818380117416382, 1.1835402250289917, -0.34184351563453674, 0.09577781707048416, 0.25862228870391846, -0.735888659954071, 0.45739102363586426, 0.0034276749938726425, 0.04830748960375786, -0.0223713181912899, -0.014627465046942234, 0.339282363653183, 0.11028426140546799, 0.9528347253799438, 0.45930638909339905, -0.30551666021347046, 0.053022727370262146, 0.22835402190685272, 0.30336374044418335, 0.20912012457847595, 0.21981552243232727, -0.020429959520697594, 0.01088313665241003, -0.40796083211898804, -0.6913750171661377, 0.7532687187194824, -0.6399409770965576, -0.20032626390457153, -0.3474818766117096, -0.8566853404045105, -0.08394955843687057, 0.2066497802734375, 0.2826407551765442, 0.6870812773704529, -0.33600980043411255, 0.07938654720783234, 0.8222407698631287, 0.019512897357344627, 0.5733532905578613, 0.7514153718948364, -0.2334301620721817, -0.5813443660736084, 1.0700007677078247, -0.18021610379219055, 0.16080711781978607, 0.7086909413337708, -0.17827413976192474, -0.49436914920806885, -0.1896539181470871, -0.6571930646896362, 0.06044112518429756, -0.8228755593299866, -0.2123710811138153, -0.5426036715507507, -0.12103313207626343, -0.5287691354751587, -0.06411178410053253, -0.6780800223350525, -0.4948694705963135, -0.022114384919404984, 0.06875588744878769, 0.23835529386997223, 0.7686610817909241, -0.15079765021800995, 0.4659774601459503, -0.9251397252082825, 0.3059113919734955, 0.8539558053016663, 0.3293907046318054, -0.30066317319869995, -0.5174152851104736, 0.1676701307296753, 0.06097474321722984, -0.6830341815948486, -0.7869225740432739, 0.255479097366333, 0.3638365566730499, 0.2643110156059265, 0.702828049659729, -0.3488595485687256, 0.7565158605575562, -0.7843917608261108, 0.9682592153549194, 0.5190302133560181, -1.103170394897461, 0.21869142353534698, -0.5971831679344177, 0.3696531653404236, 0.2498677521944046, 0.41567933559417725, -0.9001977443695068, 0.244672030210495, -0.4987381398677826, -0.507659375667572, 0.7429242134094238, 0.03861692175269127, 0.22018298506736755, -0.07390640676021576, 0.032919421792030334, -0.1184624508023262, 0.3319121301174164, -1.028773307800293, -0.342342346906662, -0.32474949955940247, -0.2126457244157791, -0.22341673076152802, -0.10356973111629486, -0.047614142298698425, -0.23609744012355804, 0.2139187902212143, 0.035259559750556946, 0.6491326093673706, -0.16770149767398834, -0.19607138633728027, 0.006663828622549772, 0.619495153427124, 0.8201547265052795, 0.6522208452224731, -0.14897529780864716, 0.31324976682662964, -0.06338623911142349, -0.22492660582065582, 0.26753440499305725, 0.21391773223876953, 0.02750615030527115, -0.01643112115561962, 0.25062212347984314, 0.9063987135887146, 0.5200162529945374, -0.6882753372192383, 0.5540290474891663, -0.061119336634874344, -0.17075730860233307, -0.22817209362983704, -0.26288527250289917, -0.17704255878925323, 0.2931422293186188, -0.019679924473166466, 0.1636059284210205, -0.004914079327136278, -0.6516832709312439, 0.3480432331562042, 0.22624963521957397, -0.5164413452148438, -0.5658658146858215, 0.7438401579856873, -0.018598899245262146, -0.1368464082479477, 0.8134337663650513, -0.12331858277320862, -0.44413962960243225, 0.10745541006326675, 0.6402897834777832, 0.8510302901268005, -0.5631886124610901, 0.4567992091178894, -0.0999285951256752, 0.15705740451812744, -0.052889250218868256, 0.21073298156261444, -0.285601943731308, -0.866072416305542, -0.761650800704956, -0.5150976777076721, -0.4770755171775818, 0.19087094068527222, -0.4190177321434021, -0.09903447329998016, -0.2066073715686798, 0.0056511759757995605, -0.12433911114931107, -0.6565426588058472, -0.39981701970100403, 0.1356719434261322, 0.3880978524684906, 0.5578995943069458, -0.8711100816726685, 1.2071453332901, 1.023943305015564, -0.6122109889984131, -0.6597385406494141, -0.22120997309684753, 0.1969483345746994, -0.8198485374450684, 0.5981875658035278, -0.10981273651123047, 0.07635795325040817, 0.2328425645828247, -0.5326592922210693, -0.8269773721694946, 1.0722103118896484, 0.628371000289917, -0.24403135478496552, -0.20510318875312805, 0.46619564294815063, 0.16146089136600494, -0.48213642835617065, 0.267128050327301, 0.6434090733528137, 0.455249160528183, 0.28195875883102417, -0.8622498512268066, -0.22035002708435059, -0.35496753454208374, 0.47205209732055664, 0.3955921232700348, -0.3748858571052551, 1.08254873752594, 0.05750104784965515, -0.3672233521938324, 0.3360777497291565, 0.43995022773742676, 0.06253070384263992, -0.10267861187458038, 0.28514334559440613, 0.8451913595199585, 0.37376001477241516, -0.22095023095607758, 1.2493542432785034, -0.28102123737335205, 0.21883632242679596, 1.1463279724121094, -0.13306821882724762, 0.8010705709457397, 0.34166255593299866, -0.07260426878929138, 0.27025043964385986, 0.4849224388599396, 0.19526825845241547, 0.6230157613754272, 0.03392192721366882, -0.8085429668426514, -0.477462500333786, -0.18448026478290558, -0.40627747774124146, 0.7069838047027588, 0.20489118993282318, -0.18037836253643036, -0.4621116816997528, 0.2532593011856079, -0.12007099390029907, -0.03554912284016609, -0.17768119275569916, 0.8205093741416931, -0.010335247032344341, -0.46504247188568115, 0.7230650782585144, 0.07891490310430527, 0.7913114428520203, -0.9721252918243408, -0.13607415556907654, -0.25588753819465637, -0.023603923618793488, -0.09439674019813538, -0.5097689032554626, -0.06182471290230751, -0.08752807974815369, -0.3599499464035034, -0.5332656502723694, 0.46224507689476013, -0.9488139748573303, -0.18899637460708618, -0.026886552572250366, 0.3230418562889099, 0.05862199142575264, -0.22665709257125854, -0.7614187002182007, 0.20189999043941498, 0.03429573401808739, -0.1874944567680359, 0.5711906552314758, 0.5210968852043152, 0.001185799017548561, 0.6529683470726013, 0.6938958168029785, -0.16354511678218842, 0.31702956557273865, 0.22168618440628052, 0.9701768755912781, -0.5089366436004639, -0.19688282907009125, -0.8136979341506958, 0.6314876079559326, 0.41002973914146423, -0.21574713289737701, 0.7742570638656616, 0.3055756688117981, 1.0562938451766968, -0.22235864400863647, 0.816937267780304, -0.231902077794075, -0.07472150027751923, -0.6725601553916931, 0.5500301718711853, -0.3414458632469177, 0.08024279028177261, -0.22662217915058136, -1.0897506475448608, -0.23453828692436218, 0.83056640625, -0.17290371656417847, 0.2695818543434143, 0.7582255005836487, 0.8399263620376587, -0.2840624451637268, 0.3430336117744446, 0.6796197891235352, 0.08013621717691422, 0.2833687365055084, 0.5891695618629456, 0.9460280537605286, -0.3410509526729584, 0.8481546640396118, -0.21799780428409576, -0.16327857971191406, 0.3081910014152527, -0.9963608384132385, -0.771388828754425, -0.5563316345214844, 0.02653108909726143, 0.12157642096281052, 0.08953941613435745, 1.1054048538208008, 0.8209183216094971, -0.5870103240013123, -0.4537886679172516, -0.10070188343524933, -0.14414983987808228, 0.019064679741859436, -0.1552646905183792, 0.2592070400714874, -0.5001848936080933, -0.7155801057815552, 0.6714255809783936, 0.409474641084671, 0.1412210762500763, -0.1098114475607872, -0.0017814282327890396, -0.2395130693912506, -0.0738389864563942, 0.8869431614875793, 0.4526703357696533, -0.4994083642959595, -0.08163920044898987, -0.029557323083281517, 0.025809243321418762, 0.18877986073493958, 1.0281873941421509, -0.23777414858341217, 0.7118116021156311, 0.3598603308200836, 0.7325655221939087, 0.6648500561714172, 0.004879997577518225, 0.5967974662780762, -1.0920330286026, 0.17067936062812805, 0.08802976459264755, 0.18891160190105438, 0.3342683017253876, 0.25477784872055054, 0.3662237823009491, 0.10120794177055359, -0.623564600944519, -0.6095441579818726, 0.5197430849075317, -1.1381938457489014, -0.06607576459646225, 1.0174250602722168, -0.18175269663333893, 0.01859782263636589, 0.07590915262699127, -0.34762680530548096, 0.24985218048095703, -0.46750161051750183, 0.6446291208267212, 0.35285815596580505, -0.15805011987686157, -0.6957964301109314, -0.5455542206764221, 0.37912440299987793, 0.43509137630462646, -0.7374101877212524, -0.12437290698289871, 0.4139055609703064, 0.21412543952465057, 0.10654781758785248, 0.8883901834487915, -0.3072964549064636, 0.38743895292282104, -0.16061055660247803, 0.5033950805664062, -0.17690874636173248, -0.39248713850975037, -0.511667788028717, -0.0005181302549317479, -0.19659069180488586, -0.23060473799705505 ]
http://arxiv.org/abs/2402.12222v1
http://arxiv.org/pdf/2402.12222v1
CovRL: Fuzzing JavaScript Engines with Coverage-Guided Reinforcement Learning for LLM-based Mutation
2024-02-19T15:30:40
2024-02-19T15:30:40
Jueon Eom, Seyeon Jeong, Taekyoung Kwon
cs.CR
cs.CR, cs.CL, cs.LG, cs.SE, D.4.6; I.2.5; D.2.4
Fuzzing is an effective bug-finding technique but it struggles with complex systems like JavaScript engines that demand precise grammatical input. Recently, researchers have adopted language models for context-aware mutation in fuzzing to address this problem. However, existing techniques are limited in utilizing coverage guidance for fuzzing, which is rather performed in a black-box manner. This paper presents a novel technique called CovRL (Coverage-guided Reinforcement Learning) that combines Large Language Models (LLMs) with reinforcement learning from coverage feedback. Our fuzzer, CovRL-Fuzz, integrates coverage feedback directly into the LLM by leveraging the Term Frequency-Inverse Document Frequency (TF-IDF) method to construct a weighted coverage map. This map is key in calculating the fuzzing reward, which is then applied to the LLM-based mutator through reinforcement learning. CovRL-Fuzz, through this approach, enables the generation of test cases that are more likely to discover new coverage areas, thus improving vulnerability detection while minimizing syntax and semantic errors, all without needing extra post-processing. Our evaluation results indicate that CovRL-Fuzz outperforms the state-of-the-art fuzzers in terms of code coverage and bug-finding capabilities: CovRL-Fuzz identified 48 real-world security-related bugs in the latest JavaScript engines, including 39 previously unknown vulnerabilities and 11 CVEs.
[ -0.44949477910995483, -1.0681272745132446, 0.14581872522830963, 0.3524000346660614, 0.16646459698677063, 0.48747360706329346, -0.09148300439119339, -0.005334271118044853, 0.21554724872112274, 0.48381465673446655, -0.891671895980835, -0.7651404142379761, -0.21690580248832703, -0.2431657612323761, -0.5386245250701904, 1.0412734746932983, -0.0013022099155932665, -0.301482617855072, -0.35192418098449707, 0.23308846354484558, -0.38146406412124634, -0.5018752217292786, -0.36217212677001953, -0.17646408081054688, 0.5360226035118103, 0.6279295682907104, 0.48928266763687134, -0.009341937489807606, 0.5704001188278198, 0.26685285568237305, 0.019085807725787163, 0.26080992817878723, -0.6886200308799744, 0.007746862713247538, 0.07375427335500717, -0.5323805809020996, -0.10552053153514862, -0.49378031492233276, 0.1876857578754425, 0.28293484449386597, -0.4661796987056732, -0.09328554570674896, -0.489885151386261, 0.35054469108581543, -0.7890806794166565, -0.02779047004878521, -0.6344736814498901, 0.14264418184757233, -0.013110163621604443, -0.39745864272117615, -0.8674249649047852, -0.14326372742652893, -0.24906718730926514, -0.6807541847229004, 0.32686498761177063, 0.353285014629364, 0.6451138854026794, 0.47139567136764526, -0.4149612486362457, -0.07040946930646896, -0.7132859826087952, 0.6655096411705017, -0.38035696744918823, 0.26873779296875, 0.30510884523391724, 0.454994261264801, -0.8164273500442505, -0.4951488971710205, -0.5358926653862, -0.42479437589645386, 0.13397997617721558, 0.17876654863357544, -0.20911309123039246, 0.02573345974087715, 0.2568482756614685, 0.23506587743759155, -0.7729843258857727, 0.03722698241472244, -0.23429447412490845, -0.5414829850196838, 0.7983542680740356, -0.026378484442830086, 0.3445814251899719, 0.23035143315792084, -0.5888115167617798, -0.1576794534921646, -0.6729309558868408, 0.30228927731513977, 0.3892924189567566, -0.17139975726604462, -0.005162583664059639, 0.21074266731739044, -0.27880406379699707, 0.8716965913772583, -0.055610109120607376, 0.08615491539239883, 0.20284992456436157, -0.09967544674873352, -0.3425509035587311, -0.12121419608592987, 0.4862808883190155, -0.10059088468551636, 0.058123499155044556, -0.3880593180656433, -0.2770238220691681, -0.044186532497406006, 0.5228257179260254, -0.4952608644962311, -0.3026502728462219, 0.2556348145008087, 0.28627386689186096, -0.5778273344039917, 0.2663852274417877, -0.765714168548584, -0.26445841789245605, 0.32234737277030945, 0.4804398715496063, -0.3491694927215576, -0.28024718165397644, 0.3139919936656952, -0.5648046731948853, 0.25655344128608704, 0.2669614851474762, -0.7557753324508667, 0.22692863643169403, 0.6779810786247253, 0.6480460166931152, -0.18057408928871155, -0.1802579164505005, -0.9431752562522888, 0.2289985567331314, -0.21628057956695557, 0.7925788760185242, -0.359536737203598, -0.5219754576683044, 0.06505290418863297, -0.13463738560676575, 0.09091617166996002, -0.4005974233150482, -0.08950340747833252, -0.7200201749801636, 0.11110615730285645, 0.012241446413099766, -0.45469430088996887, -0.11115115135908127, 0.5516873002052307, -0.7213823199272156, 1.1094987392425537, 0.31822097301483154, -0.4652344584465027, 0.08049696683883667, -0.6299167275428772, -0.5754169225692749, 0.1531924307346344, -0.027459818869829178, -0.9725686311721802, -0.09443448483943939, 0.20237179100513458, 0.25313690304756165, 0.05064941942691803, 0.10891932249069214, -0.6186748743057251, -0.7281340956687927, 0.5040369629859924, -0.17740055918693542, 0.5347216129302979, -0.10736511647701263, -0.5028943419456482, 0.5361868739128113, -0.4728035628795624, 0.07274708151817322, 0.0644763931632042, -0.11044307798147202, -0.1323174238204956, -0.08733798563480377, 0.0646996945142746, 0.11469989269971848, -0.19405597448349, -0.47149211168289185, 0.32746216654777527, -0.6586030721664429, 0.14385738968849182, 0.558984100818634, 0.38176801800727844, 0.28677400946617126, -0.626297652721405, 0.8520150780677795, -0.2119663804769516, 0.29911911487579346, -0.3442195653915405, -0.18319480121135712, -0.8828860521316528, -0.5167677998542786, 0.050742533057928085, 0.4923054873943329, -0.881024956703186, 0.36025646328926086, -0.1743897944688797, -0.7015448212623596, -0.3251776099205017, 0.008880900219082832, 0.5807578563690186, 0.1483466774225235, 0.47927263379096985, -0.1121857762336731, -0.364439994096756, -0.5747852325439453, -0.13825058937072754, -0.06071479246020317, 0.21331076323986053, 0.2936614453792572, 0.6949620842933655, -0.18708333373069763, 0.7708681225776672, -0.6431079506874084, -0.2245209515094757, -0.24170412123203278, 0.06857918202877045, -0.26688167452812195, 0.19819454848766327, 0.4198879599571228, -0.7464921474456787, -0.231876939535141, 0.05613737925887108, -0.09967350959777832, -0.15331821143627167, -0.07924891263246536, -0.06384626030921936, 0.39396148920059204, 0.6762492060661316, 0.012901048175990582, 0.5102792382240295, 0.8011132478713989, -0.49468255043029785, 0.48264750838279724, -0.11693935841321945, 0.133816659450531, -0.7280478477478027, -0.06966160237789154, -0.3484099507331848, -0.7229154706001282, -0.3719450533390045, 0.5310975909233093, 0.042933110147714615, 0.10122964531183243, -0.6491929888725281, 0.5403731465339661, -0.24489861726760864, 0.06705425679683685, -0.10705339163541794, -0.23411013185977936, 0.10529791563749313, 0.7555552124977112, -0.4454672038555145, 0.8512920141220093, 0.20426365733146667, -0.4818084239959717, 0.7597729563713074, -0.1705242097377777, -0.19056816399097443, 0.2471732646226883, -0.35970538854599, 0.22158902883529663, 0.2047048807144165, 0.4556522071361542, -0.9625864624977112, -0.2485974133014679, 0.15060284733772278, -0.32927799224853516, 0.12142027169466019, -0.2116599678993225, -0.5301878452301025, -0.470615953207016, -0.3171764016151428, 0.16026759147644043, 0.6712433695793152, -0.6011409163475037, 0.11847677081823349, 0.3497615158557892, 0.13325363397598267, -0.4693734049797058, -0.6001206636428833, -0.3103892207145691, -0.05400129035115242, -0.765063464641571, 0.4628889262676239, -0.3404553234577179, -0.047738026827573776, -0.15015633404254913, -0.24627262353897095, -0.27820244431495667, 0.6213281750679016, 0.39161840081214905, -0.06720922887325287, 0.02928360551595688, 0.3004646301269531, 0.06961983442306519, -0.02236079052090645, 0.04183939844369888, -0.29116854071617126, 0.8320445418357849, -0.38429081439971924, -0.829775333404541, -0.01945894956588745, 0.1642996072769165, 0.4209810495376587, -0.5448622703552246, 0.27231594920158386, 0.6887200474739075, -0.11186873912811279, -0.8422467112541199, -0.42458269000053406, -0.048551056534051895, -0.46098294854164124, 0.38232487440109253, -0.20220528542995453, -1.050427794456482, 0.4513978362083435, -0.1982841193675995, -0.28105971217155457, 0.38882550597190857, 0.6446069478988647, -0.19468441605567932, 0.6311231255531311, 0.6103731989860535, 0.008780360221862793, 0.6885355114936829, -0.590222179889679, -0.125512033700943, -0.2944251596927643, -0.4821992516517639, -0.27693748474121094, -0.31115296483039856, -0.2386748194694519, -0.5759561061859131, 0.4760431945323944, -0.1388418823480606, 0.055650074034929276, 0.10368236154317856, -0.2667359709739685, 0.6500436067581177, 0.5084202289581299, 0.21017992496490479, 0.2546826899051666, 0.0297157671302557, -0.4491073787212372, 0.4038665294647217, -0.5810285806655884, 0.31131312251091003, 0.7414665222167969, 0.10632961243391037, 0.8697205781936646, 0.30044281482696533, 0.9344057440757751, 0.49087563157081604, 0.3228018581867218, -0.6575316786766052, 0.32334664463996887, 0.23871301114559174, -0.5903438925743103, -0.4496517479419708, -0.2938354015350342, -0.9575880765914917, 0.24952471256256104, -0.032693050801754, -0.3509635627269745, -0.24534659087657928, 0.3577997088432312, -0.3338210880756378, 0.21859286725521088, -0.6573485136032104, 0.8779115080833435, -0.20312853157520294, -0.4601059854030609, -0.47778236865997314, -0.33318591117858887, 0.3583770990371704, 0.07457960397005081, 0.2588593661785126, 0.038702018558979034, 0.09682268649339676, 0.2582373321056366, -0.6739128232002258, 0.572329580783844, -0.2476784735918045, -0.13120236992835999, 0.17275549471378326, 0.2735792100429535, 0.6094430088996887, 0.3559907376766205, 0.01226609293371439, -0.18745099008083344, 0.15814915299415588, -0.5662550926208496, -0.8354729413986206, 0.5663564801216125, -0.3835272192955017, -0.5910763144493103, -0.7282877564430237, -0.6066439151763916, -0.08449061214923859, 0.1979074627161026, 0.00015948731743264943, 0.27956438064575195, -0.5092760920524597, 0.30063101649284363, 0.8400797247886658, -0.3194287121295929, 0.41519203782081604, 0.8500434160232544, -0.6661117076873779, -0.18993906676769257, 0.8659252524375916, -0.184869647026062, 0.3833930492401123, 0.6380307674407959, -0.006104852072894573, 0.24511468410491943, -0.5602688789367676, -0.40181949734687805, -0.24428431689739227, -0.26890936493873596, -0.39148208498954773, -0.449304461479187, -0.3523305654525757, -0.04388413205742836, -0.37267279624938965, -0.2106158584356308, -0.013319319114089012, 0.11851371824741364, 0.010675574652850628, 0.6472296714782715, 0.38870641589164734, 0.44766339659690857, 0.48240384459495544, -0.3522596061229706, 0.23998260498046875, -0.011098022572696209, 0.39981144666671753, -0.42623648047447205, -0.2696055769920349, -0.3312571048736572, 0.14161480963230133, -0.42340219020843506, -0.9022250771522522, 0.6184768080711365, -0.14237064123153687, 0.3569371700286865, -0.24272704124450684, 0.11376561969518661, 0.7094687819480896, -0.2281339019536972, 0.5333670377731323, -0.056454528123140335, -0.8302167654037476, 0.49815598130226135, -0.35907870531082153, 0.4615768492221832, 0.3595059812068939, -0.12664224207401276, -0.7092054486274719, -0.8104941248893738, -0.7677204012870789, -0.8263838887214661, 0.44691890478134155, 0.04886885732412338, 0.004307481925934553, 0.07691152393817902, 0.14639133214950562, 0.09125171601772308, 0.17508402466773987, -0.5351461172103882, -0.08715154975652695, -0.00655214861035347, -0.23470991849899292, -0.06115998327732086, -0.028428249061107635, -0.1038714051246643, -0.2600109279155731, 0.7537470459938049, -0.1967628449201584, 0.36270514130592346, 0.25267279148101807, -0.6165220737457275, -0.09626450389623642, 0.5008684396743774, 0.7947277426719666, 0.10172288119792938, -0.42242732644081116, 0.0864471048116684, 0.33297908306121826, -0.2794550061225891, 0.18587684631347656, -0.006615359801799059, -0.27546456456184387, -0.08094606548547745, 0.2883989214897156, 0.8288455605506897, 0.4729853868484497, -0.8551279902458191, 0.9234402775764465, -0.20560374855995178, -0.18317684531211853, -0.6165179014205933, 0.7463568449020386, -0.010432964190840721, 0.10417509824037552, 0.11825593560934067, 0.1372477263212204, 0.12344445288181305, -0.31435173749923706, 0.5289678573608398, 0.6378787159919739, -0.6142500638961792, -0.15797129273414612, 0.26361164450645447, 0.2963170111179352, -0.36207637190818787, 0.5087283253669739, -0.5302991271018982, -0.5486339926719666, 1.0291943550109863, 0.6680401563644409, 0.7320912480354309, -0.0952075943350792, 0.3150516450405121, -0.11810116469860077, 0.3995456397533417, 0.06919452548027039, 0.4572513699531555, -0.03147679939866066, -0.32404088973999023, -0.36490777134895325, -0.40193989872932434, -0.5064793825149536, 0.04121922701597214, -0.45908698439598083, 0.5692600011825562, -0.4812591075897217, 0.3203205466270447, -0.09525734931230545, 0.012885593809187412, -0.7667426466941833, 0.09039557725191116, -0.0832841545343399, 1.0452263355255127, -0.5747193098068237, 0.8999366164207458, 0.36366143822669983, -0.42242270708084106, -0.6127147078514099, 0.2053009271621704, 0.12824423611164093, -0.7054909467697144, 0.168728768825531, 0.29542306065559387, -0.2408544272184372, 0.4039113521575928, -0.4111296236515045, -0.853386402130127, 1.2337092161178589, 0.5176803469657898, -0.6242008209228516, 0.22906748950481415, -0.1999623030424118, 0.602879524230957, -0.11021630465984344, 0.4772908389568329, 0.06828629225492477, 0.36851412057876587, 0.2192518264055252, -0.5567805171012878, -0.1226762980222702, -0.23603862524032593, -0.32893234491348267, 0.4191444218158722, -0.8071123361587524, 0.12414885312318802, -0.3765437602996826, 0.06882121413946152, -0.08887626975774765, 0.4113529920578003, 0.06186012551188469, 0.5339922904968262, 0.48128941655158997, 0.5325557589530945, 0.8053163886070251, -0.17552416026592255, 1.507527470588684, 0.04601287841796875, 0.4602121412754059, 0.9197962284088135, -0.06184186041355133, 0.8646745085716248, 0.3060576319694519, -0.015487434342503548, 0.8810098767280579, 0.34155452251434326, -0.3425700068473816, 0.5299729108810425, 0.7142912745475769, -0.24306122958660126, -0.17304092645645142, 0.02246236428618431, -0.18321596086025238, 0.3942990303039551, 0.26975834369659424, 0.060497406870126724, 0.015115509741008282, 0.12432461231946945, 0.08809898793697357, -0.029736939817667007, -0.1802237331867218, 0.8202988505363464, -0.26985296607017517, -0.7763605713844299, 0.6227251291275024, 0.21624350547790527, 0.6260009407997131, -0.6578211188316345, 0.10253331810235977, -0.27944156527519226, 0.16753913462162018, -0.22663342952728271, -0.49909013509750366, 0.5530067682266235, -0.1946416050195694, -0.20354120433330536, -0.255770742893219, 0.7004379630088806, -0.5109012722969055, -0.30942225456237793, 0.40415939688682556, -0.0071146017871797085, -0.20282773673534393, -0.1951432228088379, -0.2045896053314209, 0.22274747490882874, -0.004789396654814482, -0.31031692028045654, 0.133321613073349, -0.04036872833967209, -0.1877255141735077, 0.8400124311447144, 0.7788374423980713, -0.0727248266339302, 0.2639820873737335, 0.048369430005550385, 0.787787139415741, -0.6661019325256348, -0.5745551586151123, -0.8964023590087891, 0.5942664742469788, -0.0619511678814888, 0.11119081825017929, 0.6903947591781616, 0.6152719259262085, 1.0788270235061646, -0.15888085961341858, 0.8578168153762817, 0.10894173383712769, 0.0777936726808548, -0.538650393486023, 0.6685407757759094, -0.47419512271881104, 0.2236332893371582, 0.001984434435144067, -0.27786046266555786, -0.6685678958892822, 0.30189985036849976, -0.324696809053421, 0.0010616087820380926, 0.6645354628562927, 1.2079682350158691, -0.06783916056156158, -0.3683790862560272, 0.42267534136772156, 0.2640424072742462, 0.6354174017906189, 0.8119284510612488, 0.7137516140937805, -0.3004191517829895, 0.6427999138832092, -0.1041085422039032, -0.19959762692451477, -0.6975250840187073, -0.6611100435256958, -0.8850558400154114, -0.3443658947944641, -0.21040883660316467, -0.5460668206214905, 0.3714202642440796, 0.8075290322303772, 0.7680195569992065, -0.700020432472229, 0.07774492353200912, -0.3596184253692627, 0.5480964779853821, -0.4023441672325134, -0.20382677018642426, -0.12181071192026138, -0.4444994628429413, -0.3885245621204376, 0.5508168339729309, 0.6378235220909119, -0.17373384535312653, -0.4634726345539093, -0.3255997598171234, -0.07500991970300674, 0.19207173585891724, 0.19611017405986786, 0.3916216194629669, -0.727459728717804, -0.2495701164007187, 0.08411361277103424, -0.2216864973306656, -0.1725306361913681, 0.7512364387512207, -0.9297905564308167, 0.7012432813644409, 0.47888222336769104, 0.7142335176467896, 0.7593875527381897, -0.359378844499588, 0.5840154886245728, -1.1328777074813843, 0.23793406784534454, 0.07912192493677139, 0.06760693341493607, 0.10176662355661392, -0.44305843114852905, 0.2582281529903412, 0.3583424985408783, -0.3424893915653229, -0.9162237644195557, 0.5703795552253723, -1.0175458192825317, -0.2000972330570221, 1.3096357583999634, 0.015661802142858505, -0.3779359459877014, -0.06666067242622375, -0.36056220531463623, 0.23662754893302917, -0.3289443254470825, 0.8135175108909607, 0.6337735652923584, 0.2122432142496109, -0.16105520725250244, -0.17653541266918182, 0.596218466758728, 0.4106948673725128, -1.0577665567398071, -0.3006783127784729, 0.2674359977245331, 0.4747205078601837, -0.07996644824743271, 0.4137449860572815, 0.02859797328710556, 0.6694625020027161, -0.1737726777791977, 0.3707614541053772, -0.5766372680664062, -0.3711617887020111, -0.45941081643104553, 0.20644237101078033, 0.004679822828620672, 0.0421605110168457 ]
http://arxiv.org/abs/2402.12219v2
http://arxiv.org/pdf/2402.12219v2
Reformatted Alignment
2024-02-19T15:21:58
2024-04-17T15:03:19
Run-Ze Fan, Xuefeng Li, Haoyang Zou, Junlong Li, Shwai He, Ethan Chern, Jiewen Hu, Pengfei Liu
cs.CL
cs.CL, cs.AI, cs.LG
The quality of finetuning data is crucial for aligning large language models (LLMs) with human values. Current methods to improve data quality are either labor-intensive or prone to factual errors caused by LLM hallucinations. This paper explores elevating the quality of existing instruction data to better align with human values, introducing a simple and effective approach named ReAlign, which reformats the responses of instruction data into a format that better aligns with pre-established criteria and the collated evidence. This approach minimizes human annotation, hallucination, and the difficulty in scaling, remaining orthogonal to existing alignment techniques. Experimentally, ReAlign significantly boosts the general alignment ability, math reasoning, factuality, and readability of the LLMs. Encouragingly, without introducing any additional data or advanced training techniques, and merely by reformatting the response, LLaMA-2-13B's mathematical reasoning ability on GSM8K can be improved from 46.77% to 56.63% in accuracy. Additionally, a mere 5% of ReAlign data yields a 67% boost in general alignment ability measured by the Alpaca dataset. This work highlights the need for further research into the science and mechanistic interpretability of LLMs. We have made the associated code and data publicly accessible to support future studies at https://github.com/GAIR-NLP/ReAlign.
[ -0.2130916267633438, -0.6509371399879456, 0.35935911536216736, -0.06288900226354599, -0.18308214843273163, 0.1793973743915558, -0.31924891471862793, -0.5966256856918335, 0.2758929431438446, 0.3167021572589874, -0.5568100810050964, -0.46011099219322205, -0.4416515529155731, -0.08156395703554153, -0.230963334441185, 0.7985017895698547, -0.11428259313106537, 0.07872632145881653, -0.16916531324386597, -0.29532089829444885, -0.575016438961029, -0.4047940969467163, -0.3767188489437103, -0.406617671251297, 0.4638785719871521, 0.7510294318199158, 1.2057340145111084, 1.1954807043075562, 0.6856587529182434, 0.23296748101711273, 0.12354312837123871, 0.497246652841568, -0.702838122844696, -0.03749282658100128, -0.1300126612186432, -0.618868887424469, -0.5383294820785522, 0.22941088676452637, 0.5712997317314148, 0.6125885248184204, -0.5189522504806519, 0.3524572551250458, 0.0018436146201565862, 0.7943870425224304, -0.36565789580345154, 0.07217542082071304, -0.5295001268386841, -0.1478917896747589, -0.11759166419506073, -0.093651682138443, -0.3963155746459961, -0.8088776469230652, -0.18492473661899567, -0.8468778133392334, 0.03609730675816536, 0.2336457371711731, 1.4334917068481445, 0.5500943660736084, -0.04199657961726189, -0.43055444955825806, -0.7479446530342102, 0.9060105681419373, -0.8340965509414673, 0.6334205269813538, 0.3381592929363251, 0.507948100566864, -0.43197566270828247, -0.5122145414352417, -0.8098521828651428, -0.07175139337778091, -0.11130271852016449, 0.16390015184879303, 0.17081204056739807, -0.22134585678577423, 0.004793148022145033, 0.4265686273574829, -0.6173943877220154, 0.3959674537181854, -0.5519970655441284, -0.28899309039115906, 0.6639480590820312, 0.3144071400165558, 0.4574389159679413, 0.27319636940956116, -0.2159425914287567, -0.45171070098876953, -0.9679322242736816, 0.15512341260910034, 0.7320000529289246, 0.35524871945381165, -0.03903041034936905, 0.6716829538345337, -0.09709449857473373, 0.7921901941299438, 0.16711360216140747, -0.5239089131355286, 0.1343199461698532, -0.34844425320625305, -0.26872357726097107, 0.42035752534866333, 0.5290393829345703, 0.4553731381893158, 0.17959463596343994, -0.1221531555056572, -0.2768475115299225, 0.026155659928917885, 0.625025749206543, -0.8343505263328552, -0.06638806313276291, 0.22886952757835388, -0.4658340513706207, -0.25574687123298645, 0.29294630885124207, -0.6504773497581482, -0.13413111865520477, -1.013554334640503, 0.40336623787879944, -0.31182119250297546, -0.0398312546312809, 0.3568672835826874, 0.5054603219032288, 0.5885774493217468, 0.3580631911754608, -1.1513277292251587, 0.32725027203559875, 1.1738053560256958, 0.6637960076332092, 0.11910934746265411, -0.2783052325248718, -0.3154269754886627, -0.039321932941675186, -0.7012282609939575, 0.6945046186447144, -0.4777972996234894, 0.056638285517692566, -0.11381068080663681, 0.09172939509153366, 0.031538043171167374, -0.7327364087104797, 0.7538031339645386, -0.5670973062515259, 0.4362967014312744, -0.36386623978614807, -0.47980427742004395, -0.13351590931415558, 0.25897693634033203, -0.6747382879257202, 0.9118418097496033, 0.14257076382637024, -0.3942944407463074, 0.10383060574531555, -0.25388798117637634, -0.22182349860668182, -0.41963908076286316, -0.2881214916706085, -0.7726960182189941, 0.060352835804224014, 0.19628795981407166, 0.24574734270572662, -0.20694893598556519, 0.5110788941383362, -0.029635384678840637, -0.644687831401825, 0.4844836890697479, -0.47368890047073364, 0.6180142164230347, 0.34102970361709595, -0.17612694203853607, 0.07093621045351028, -0.8704034686088562, 0.10001832991838455, 0.18201936781406403, -0.3921484649181366, 0.039629604667425156, -0.02289305441081524, -0.5231415629386902, 0.14003217220306396, 0.17650404572486877, -0.4012976586818695, 0.49917542934417725, -0.6066805124282837, 0.1836737096309662, 0.749732494354248, -0.4529911279678345, 0.6701762676239014, -0.4571389853954315, 0.4619583785533905, -0.18879404664039612, 0.18361355364322662, 0.0958806574344635, -0.3615328371524811, -0.800622284412384, -0.26593297719955444, 0.4833361804485321, 0.6343263983726501, -0.33932074904441833, 0.6139754056930542, -0.5274195075035095, -0.5275601148605347, -1.2604165077209473, 0.16511817276477814, 0.46192076802253723, 0.7563526630401611, 0.5230405926704407, -0.19521811604499817, -0.5401832461357117, -0.9304808378219604, 0.07207388430833817, -0.029922975227236748, -0.20699533820152283, -0.08276722580194473, 0.07070194184780121, -0.4428851902484894, 0.7886066436767578, -0.6426036357879639, -0.20293286442756653, 0.055176787078380585, 0.09328003227710724, 0.1346377432346344, 0.5734302401542664, 0.2194218933582306, -0.29515212774276733, -0.024716755375266075, -0.0012070814846083522, -0.6038755774497986, -0.26141196489334106, -0.35579487681388855, -0.6000058650970459, -0.05384590104222298, 0.3077249526977539, -0.4223920702934265, 0.19184203445911407, 0.520397424697876, -0.15317247807979584, 0.6997933983802795, -0.05509117245674133, 0.2630659341812134, -0.9585410356521606, -0.18587346374988556, -0.1784338355064392, -0.011995038948953152, -0.559665858745575, -0.039733659476041794, 0.21282872557640076, 0.041915636509656906, -0.18097417056560516, 0.3180583119392395, -0.46556568145751953, -0.12825942039489746, -0.27936863899230957, 0.1401941031217575, 0.18339186906814575, 0.23409304022789001, -0.22162017226219177, 1.176406741142273, -0.07250925898551941, -0.34613028168678284, 0.37396523356437683, 0.3546293079853058, -0.4869200587272644, 0.4415440857410431, -0.4790477454662323, 0.00828242115676403, -0.21122997999191284, 0.14144732058048248, -0.9637514352798462, -0.4867979884147644, 0.37044021487236023, -0.3593037724494934, 0.5159989595413208, 0.16897127032279968, -0.1852872520685196, -0.01946091093122959, -0.37141531705856323, 0.36233580112457275, 0.49646449089050293, -0.8025808930397034, 0.40057259798049927, 0.23553290963172913, -0.10681398957967758, -0.7297253012657166, -0.5136579275131226, 0.15981628000736237, -0.23527292907238007, -0.7040367126464844, 0.47278112173080444, 0.1696949452161789, -0.23627062141895294, -0.17892354726791382, -0.31178537011146545, 0.058473147451877594, 0.035432763397693634, 0.08280867338180542, 0.4633714258670807, -0.5351132750511169, 0.0777927115559578, 0.08678191900253296, -0.3987445533275604, -0.053454626351594925, 0.01593267358839512, 0.5372688174247742, -0.07656979560852051, -0.4142566919326782, -0.9428189992904663, -0.12513968348503113, 0.4422905445098877, -0.18980595469474792, 0.833344042301178, 0.42698192596435547, -0.4257490932941437, 0.09445395320653915, -0.5312921404838562, -0.29877969622612, -0.4666995108127594, 0.1563900113105774, -0.25809094309806824, -0.576493501663208, 0.47301822900772095, -0.02072984352707863, 0.2890002727508545, 0.13699059188365936, 0.35198095440864563, -0.24511952698230743, 0.9065688848495483, 0.4811868369579315, 0.07144010066986084, 0.3478044271469116, -0.07979805022478104, 0.6223543286323547, -0.8709656000137329, -0.47980666160583496, -0.6186310052871704, -0.6000162363052368, -0.3450027406215668, -0.3363032639026642, -0.2418525218963623, 0.2631274163722992, -0.3367554843425751, 0.471134752035141, -0.8103671073913574, 0.5857160091400146, 0.3252352774143219, 0.219265416264534, 0.21150627732276917, 0.11603342741727829, 0.25936126708984375, -0.31656497716903687, -0.31788280606269836, -1.257508397102356, 0.9728168845176697, 0.583099365234375, 1.1076219081878662, 0.30472472310066223, 0.6256541609764099, -0.14685997366905212, 0.4897429347038269, -0.8623032569885254, 0.36133667826652527, 0.028009414672851562, -0.1496535986661911, -0.3305036723613739, -0.2994295358657837, -0.8751557469367981, 0.18260017037391663, -0.2712828814983368, -0.5007798671722412, 0.12999264895915985, 0.23788030445575714, -0.6028489470481873, 0.04763534665107727, -0.889348566532135, 0.6976791620254517, -0.5085945129394531, -0.27545052766799927, 0.010225352831184864, -0.6370797753334045, 0.46493595838546753, -0.11187876015901566, 0.30617278814315796, -0.22203300893306732, 0.0011164649622514844, 0.9213775396347046, -0.502716600894928, 0.7644301056861877, 0.14416883885860443, -0.6295965909957886, 0.23783330619335175, 0.03795270249247551, 0.5241521000862122, -0.10932844877243042, -0.08914535492658615, -0.04821084812283516, 0.003901510266587138, -0.4345538318157196, -0.8460238575935364, 0.8144710063934326, -0.9327267408370972, -0.705675482749939, -0.12127737700939178, -0.6207188367843628, -0.13801881670951843, -0.150716632604599, -0.11636906862258911, 0.3997076153755188, 0.024665003642439842, 0.01084761880338192, 0.7366822957992554, -0.050750043243169785, -0.06069936603307724, 0.22395731508731842, -0.01639210432767868, -0.5594791173934937, 1.2792844772338867, 0.40873685479164124, 0.4137142300605774, 0.2122913897037506, 0.1864529848098755, -0.3805435597896576, -0.3247791528701782, -0.7169700860977173, 0.32843202352523804, -0.6357764601707458, -0.41568103432655334, -0.2564326822757721, -0.08885519951581955, -0.34614989161491394, -0.3573659658432007, -0.5236214399337769, -0.638733983039856, -0.5594428181648254, -0.3137454390525818, 0.09157553315162659, 0.5005517601966858, 0.18525244295597076, 0.6394873261451721, -0.6245115399360657, 0.4098875820636749, 0.3106584846973419, 0.3257375955581665, -0.029794687405228615, -0.9116480350494385, -0.17245842516422272, 0.4084816873073578, -0.3901239037513733, -0.6617234349250793, 0.232940673828125, 0.09904489666223526, 0.4174331724643707, 0.652703046798706, -0.18497197329998016, 1.173535704612732, -0.3923985958099365, 0.5369381308555603, 0.09099742770195007, -0.6887465119361877, 0.20171572268009186, 0.14229829609394073, -0.07848335057497025, 0.6543793678283691, 0.28707432746887207, -0.46410492062568665, -0.17123496532440186, -0.5155338644981384, -0.5601509809494019, 0.5754981637001038, 0.06054331362247467, 0.09864263981580734, 0.3705962002277374, 0.6575123071670532, 0.2776802182197571, -0.10272988677024841, -0.2064983993768692, 0.03939906507730484, -0.4059405028820038, -0.9954383373260498, 0.298161119222641, -0.29580384492874146, -0.32168570160865784, -0.32886847853660583, 0.7608779668807983, -0.10959386080503464, 0.14468130469322205, -0.07796620577573776, -0.04136735200881958, -0.09026877582073212, 0.34633493423461914, 1.0075918436050415, 0.9577152729034424, -0.04854952543973923, 0.36994680762290955, 0.09978528320789337, -0.6554162502288818, 0.4880467653274536, -0.15487278997898102, -0.21211141347885132, -0.3418270945549011, 0.5603293180465698, 0.5118697881698608, 0.0646439716219902, -0.6057226657867432, 0.24854274094104767, -0.018616942688822746, -0.06696745753288269, 0.19919347763061523, 0.35131654143333435, 0.18306483328342438, 0.03486671298742294, 0.17493148148059845, -0.22369319200515747, -0.26450231671333313, -0.5250157117843628, 0.1134549230337143, 0.23756487667560577, -0.21671932935714722, -0.4417879283428192, 0.5700754523277283, 0.13084013760089874, -0.4466027319431305, 0.7847567796707153, -0.1703789383172989, -0.30520185828208923, 0.7425084710121155, 0.8577031493186951, 0.2795059382915497, -0.31948715448379517, 0.027972977608442307, 0.5370813012123108, 0.4279420077800751, -0.4022810459136963, 0.19404542446136475, 0.28582483530044556, -0.8447242975234985, -0.6030167937278748, -0.5925436615943909, -0.47111764550209045, 0.043813884258270264, -0.688930094242096, 0.2642458975315094, -0.46019765734672546, 0.08189009130001068, -0.16460593044757843, 0.09216335415840149, -0.21440330147743225, 0.44589197635650635, 0.002314163837581873, 0.5855076909065247, -0.9657700657844543, 0.7831084132194519, 0.521011233329773, -0.40961915254592896, -1.04045569896698, -0.10772416740655899, 0.024539494886994362, -1.106134295463562, 0.3757579028606415, 0.25798898935317993, -0.17622776329517365, 0.03243538737297058, -0.7183595299720764, -0.8962284326553345, 1.145266056060791, 0.5661497116088867, -0.9903745651245117, 0.1467127948999405, 0.2556443214416504, 0.5018420219421387, -0.3346058130264282, 0.07936245203018188, 0.888995349407196, 0.5373930335044861, 0.08036787807941437, -0.5335691571235657, 0.2175857573747635, 0.11047950387001038, -0.09857110679149628, 0.34597352147102356, -0.5543687343597412, 0.2804919183254242, -0.3486471176147461, -0.4481929540634155, 0.01463557593524456, 0.9862034320831299, 0.3203620910644531, 0.15871696174144745, 0.10323674231767654, 0.8848195672035217, 1.215241551399231, -0.3891183137893677, 0.4965522885322571, -0.15158291161060333, 0.11159959435462952, 1.1478034257888794, -0.19085031747817993, 0.7976582646369934, 0.6098978519439697, -0.2703501284122467, 0.40076401829719543, 0.693537175655365, 0.06487501412630081, 0.33246511220932007, 0.3380694091320038, -0.13906548917293549, -0.19594648480415344, -0.00983711238950491, -0.21791529655456543, 0.3834608495235443, 0.33095136284828186, 0.14404328167438507, -0.05949806049466133, -0.1719786524772644, 0.2922455370426178, 0.5284733772277832, 0.026144834235310555, 0.7388293743133545, -0.09792761504650116, -0.6014216542243958, 0.8808217644691467, 0.05044747516512871, 0.6832966208457947, -0.2894667387008667, -0.2434316724538803, -0.42232850193977356, 0.0951247364282608, -0.6177103519439697, -0.921783983707428, 0.5614667534828186, -0.09308400750160217, -0.18186770379543304, -0.08867865055799484, 0.3405757248401642, -0.6092550158500671, -0.4000725746154785, -0.2530401945114136, -0.014810184016823769, 0.2258530706167221, 0.38590896129608154, -0.6097217202186584, 0.4686833322048187, 0.09408115595579147, -0.017006278038024902, 0.3083597421646118, 0.23893335461616516, -0.2710201144218445, 0.7048786878585815, 0.7768968939781189, 0.06988687813282013, 0.04024164751172066, 0.12105797976255417, 0.7648437023162842, -0.7143006920814514, 0.042520731687545776, -0.8873892426490784, 0.3625548779964447, 0.01729007251560688, -0.2769470512866974, 0.3330044746398926, 0.6694549918174744, 0.9224494695663452, 0.13625994324684143, 0.20800313353538513, 0.35051295161247253, 0.3429689109325409, -0.7157272696495056, 0.6206177473068237, -0.21365709602832794, 0.30131295323371887, 0.22728031873703003, -0.7943431735038757, -0.4251493215560913, 0.8311265707015991, -0.3301542103290558, -0.41560909152030945, 0.43067315220832825, 1.2306392192840576, -0.2738483250141144, -0.07492305338382721, 0.11380579322576523, -0.06671664118766785, 0.5626936554908752, 0.21321339905261993, 0.7922542095184326, -0.675460934638977, 0.4983396828174591, -0.29547855257987976, -0.2734818160533905, -0.22277918457984924, -0.6423095464706421, -0.4213506281375885, -0.287449449300766, -0.33282941579818726, -0.3668445944786072, 0.04261656105518341, 1.0844875574111938, 0.37175992131233215, -0.8234522342681885, -0.15206246078014374, 0.15057700872421265, 0.23837074637413025, -0.3473028242588043, -0.18231642246246338, 0.5949417352676392, -0.4155198633670807, -0.6312239766120911, 0.3853779435157776, 0.22607964277267456, 0.3491773009300232, -0.060801755636930466, -0.3301512598991394, 0.017684541642665863, 0.2349947839975357, 0.42371994256973267, 0.3856167495250702, -0.8427761197090149, -0.41809093952178955, 0.08667290955781937, -0.5077064037322998, 0.34838441014289856, 0.4276556372642517, -0.44192633032798767, 0.27619507908821106, 0.43379566073417664, 0.9365137815475464, -0.140730619430542, 0.6270105838775635, 0.4746309816837311, -0.3509595990180969, 0.0809718444943428, 0.023018071427941322, 0.16970257461071014, 0.5113839507102966, -0.47344669699668884, 0.5094322562217712, -0.15461024641990662, -0.7093108296394348, -0.8777145147323608, 0.08244533836841583, -0.9702237844467163, -0.025253089144825935, 0.7818909883499146, 0.08756562322378159, -0.4235999286174774, 0.030480533838272095, -0.7002648115158081, 0.42446744441986084, -0.25567030906677246, 1.2303377389907837, 0.6614315509796143, -0.11650028079748154, 0.07557771354913712, -0.4722561538219452, 0.36886587738990784, 0.4847879409790039, -1.0741651058197021, 0.15571436285972595, 0.5046323537826538, 0.12273453921079636, 0.13654965162277222, 0.2046801745891571, -0.24887436628341675, 0.14799916744232178, -0.30659356713294983, 0.22953619062900543, -0.145083948969841, -0.37766411900520325, -0.2662687301635742, -0.07831058651208878, 0.20556151866912842, -0.3144887387752533 ]
http://arxiv.org/abs/2402.12212v1
http://arxiv.org/pdf/2402.12212v1
Polarization of Autonomous Generative AI Agents Under Echo Chambers
2024-02-19T15:14:15
2024-02-19T15:14:15
Masaya Ohagi
cs.CL
cs.CL
Online social networks often create echo chambers where people only hear opinions reinforcing their beliefs. An echo chamber often generates polarization, leading to conflicts caused by people with radical opinions, such as the January 6, 2021, attack on the US Capitol. The echo chamber has been viewed as a human-specific problem, but this implicit assumption is becoming less reasonable as large language models, such as ChatGPT, acquire social abilities. In response to this situation, we investigated the potential for polarization to occur among a group of autonomous AI agents based on generative language models in an echo chamber environment. We had AI agents discuss specific topics and analyzed how the group's opinions changed as the discussion progressed. As a result, we found that the group of agents based on ChatGPT tended to become polarized in echo chamber environments. The analysis of opinion transitions shows that this result is caused by ChatGPT's high prompt understanding ability to update its opinion by considering its own and surrounding agents' opinions. We conducted additional experiments to investigate under what specific conditions AI agents tended to polarize. As a result, we identified factors that strongly influence polarization, such as the agent's persona. These factors should be monitored to prevent the polarization of AI agents.
[ -0.7261354923248291, -0.911842405796051, 0.6398528218269348, -0.016629062592983246, -0.20310844480991364, 0.35806751251220703, -0.1573420614004135, -0.23562580347061157, 0.1663305014371872, 0.4221230447292328, -0.4524444341659546, -0.2960074543952942, -0.6697229146957397, 0.03782239928841591, -0.4433552324771881, 1.3260570764541626, 0.41889089345932007, 0.12506894767284393, -0.004802047275006771, -0.24740102887153625, -0.3395635485649109, -0.9000751972198486, -0.9930844902992249, -0.4482381045818329, 0.48785901069641113, 0.045202020555734634, 1.0204505920410156, 0.26878803968429565, 0.5267915725708008, 0.3845710754394531, -0.04121012985706329, -0.40416374802589417, -0.33816611766815186, 0.06827782839536667, 0.00824078917503357, -0.6219453811645508, -0.5540452599525452, 0.14623801410198212, 0.43219250440597534, 0.32573384046554565, -0.24059508740901947, -0.18836849927902222, 0.20896555483341217, 0.6819881796836853, 0.07887201756238937, 0.5210082530975342, -0.6272512078285217, -0.0029167591128498316, 0.01595856435596943, -0.24935922026634216, -0.35382336378097534, -0.3293110430240631, 0.09471170604228973, -0.44424188137054443, 0.6157383918762207, -0.12772278487682343, 0.6248137950897217, 0.48395588994026184, -0.40605151653289795, -0.2116263508796692, -0.9398191571235657, 0.5187773108482361, -0.5331422090530396, 0.03580562770366669, 0.22861318290233612, 0.1819901466369629, -0.12489728629589081, -0.2908506393432617, -0.7262279391288757, -0.22125735878944397, 0.166865274310112, 0.31073835492134094, -0.6666597127914429, 0.3284020721912384, 0.07197313755750656, 0.09020253270864487, -0.5071436762809753, -0.19254553318023682, -0.25533726811408997, 0.09275694191455841, 0.7076129913330078, 0.1312965303659439, 0.5840991139411926, -0.22756798565387726, -0.32239678502082825, -0.40438786149024963, -0.4119158387184143, 0.12249976396560669, 0.622627854347229, 0.23262783885002136, -0.18913857638835907, 0.5647821426391602, -0.07570557296276093, 0.23562757670879364, 0.510857880115509, 0.492150217294693, 0.14254988729953766, -0.2551301121711731, -0.11712265759706497, 0.10345573723316193, 1.0155528783798218, 0.39599645137786865, 0.2634245455265045, 0.004176381975412369, -0.189315527677536, 0.07751293480396271, 0.5875600576400757, -0.6277854442596436, -0.09729990363121033, 0.5382584929466248, -0.5960692167282104, -0.5847833752632141, 0.20016147196292877, -0.7942522764205933, -0.9495910406112671, -0.25039389729499817, 0.3242349922657013, -0.08105013519525528, -0.43800634145736694, -0.2788459062576294, -0.3352561891078949, 0.4448704421520233, 0.2594181299209595, -0.5505092740058899, 0.1793806552886963, 0.8522576689720154, 0.8241474628448486, 0.026313673704862595, -0.36038991808891296, -0.2665855586528778, -0.2881835401058197, -0.2745664119720459, 1.0356855392456055, -0.32011744379997253, -0.44715163111686707, -0.09177733212709427, -0.09389747679233551, -0.05530906841158867, -0.5470770001411438, 0.09329644590616226, -0.7529875636100769, 0.24599212408065796, -0.18695493042469025, -0.29667264223098755, -0.13332408666610718, 0.3042716979980469, -0.34456029534339905, 0.125936821103096, -0.13063597679138184, -0.7498480677604675, 0.210137739777565, -0.6022511124610901, -0.32491856813430786, 0.19292311370372772, -0.5727174282073975, -0.5891929864883423, 0.02271214872598648, 0.26525816321372986, 0.4547000229358673, -0.10790865123271942, 0.17886200547218323, -0.20542658865451813, 0.008973412215709686, 0.50132817029953, -0.479480504989624, 1.0366261005401611, -0.03836163878440857, -0.8452074527740479, 0.6122164130210876, -0.1509062647819519, -0.19424374401569366, 0.21611431241035461, -0.013310287147760391, 0.0901326984167099, 0.5036150813102722, -0.1909162551164627, -0.07707005739212036, 0.08827530592679977, -0.3882144093513489, 0.20861110091209412, -0.322651743888855, 0.3633327782154083, 1.1513816118240356, 0.519812285900116, 0.5152841806411743, -0.6007421016693115, 0.7468384504318237, 0.12327683717012405, 0.556236207485199, 0.26061221957206726, -1.0772970914840698, -0.9351558089256287, -0.11266828328371048, -0.5314589142799377, 0.5828817486763, -0.6846845149993896, 0.5508443117141724, -0.03053286112844944, -0.525444746017456, -0.6192330718040466, -0.06694856286048889, 0.009767362847924232, 0.09300429373979568, 0.34526482224464417, -0.16389398276805878, -0.10206521302461624, -0.8644559383392334, -0.19531287252902985, -0.7020242214202881, -0.0015719921793788671, 0.4851358234882355, 0.09634743630886078, -0.6014355421066284, 1.028490662574768, -0.22435316443443298, -0.4805612564086914, -0.5424337983131409, 0.6582304835319519, 0.17071139812469482, 0.20924606919288635, 0.3578692078590393, -0.8402113914489746, -0.7115129232406616, 0.2068631947040558, -0.7817501425743103, -0.01881839893758297, -0.38198167085647583, 0.09391860663890839, 0.20460394024848938, 0.3924103081226349, -0.7109763622283936, 0.4869881868362427, 0.5593740344047546, -0.23327434062957764, 0.36533448100090027, 0.03712930530309677, 0.2747219204902649, -1.0581008195877075, -0.30919864773750305, -0.23764798045158386, -0.009666714817285538, -0.7653306722640991, -0.1505526751279831, -0.5338774919509888, -0.24203093349933624, -0.17003308236598969, 0.12013688683509827, -0.25226280093193054, 0.16369740664958954, -0.5515448451042175, 0.1762361377477646, -0.17066511511802673, 0.3958200216293335, 0.07760480791330338, 0.7115551233291626, 0.6550999283790588, -0.11764562129974365, 0.48713114857673645, 0.18767479062080383, -0.1395687758922577, 0.3239457905292511, -0.7712047100067139, 0.49279722571372986, -0.3965606391429901, 0.3965045213699341, -0.8614410161972046, -0.1982569694519043, 0.4565628468990326, -0.6371530294418335, -0.08908876776695251, -0.2846023738384247, -0.14251267910003662, 0.17024563252925873, -0.25559285283088684, 0.4109947681427002, 0.5718532800674438, -0.31585413217544556, 0.8699593544006348, 0.46013548970222473, -0.372873455286026, -0.38326549530029297, -0.2924087345600128, 0.2726544737815857, -0.2061278373003006, -0.548273503780365, -0.16491231322288513, -0.05558596923947334, -0.766663134098053, 0.11534330248832703, 0.5508229732513428, 0.14599408209323883, 0.003838596399873495, 0.46602338552474976, 0.18396690487861633, -0.19833402335643768, -0.02070426195859909, -0.164199098944664, -0.11956949532032013, 0.4510142505168915, 0.021026385948061943, 0.8669254779815674, -0.6000717282295227, -0.5563962459564209, -0.7794180512428284, 0.5024828910827637, 1.0455093383789062, -0.2181917279958725, 1.0860384702682495, 0.45685920119285583, -0.02972823567688465, -0.23029109835624695, -0.5749757885932922, -0.5416238307952881, -0.46472489833831787, 0.4544751048088074, 0.1319051831960678, -0.4671589732170105, 0.7567937970161438, 0.47143298387527466, 0.05227376148104668, 0.3724084794521332, 0.9602648615837097, -0.21537114679813385, 1.4724639654159546, 0.32490089535713196, -0.4471423029899597, 0.6915976405143738, -0.21643966436386108, 0.46131476759910583, -0.7214840650558472, -0.08528319746255875, -0.45631200075149536, -0.05863551050424576, -0.8386114239692688, -0.39877787232398987, 0.5573075413703918, -0.45387065410614014, 0.04136085510253906, -0.01871553063392639, -0.7041957974433899, 0.2572808861732483, 0.40168774127960205, 0.20405665040016174, 0.03697327524423599, -0.07772056758403778, 0.5724667906761169, 0.47834140062332153, -0.6321502923965454, -0.42839929461479187, 1.1256778240203857, 0.38786548376083374, 0.5415407419204712, 0.21187691390514374, 0.6257879137992859, 0.6550323367118835, 0.7394869923591614, -0.8804446458816528, 0.5097107291221619, 0.2670373022556305, -0.58502596616745, -0.46566709876060486, -0.3995979428291321, -1.2245396375656128, 0.23407655954360962, -0.10677193850278854, -0.2867158055305481, 0.324510782957077, -0.041953206062316895, -0.15793682634830475, 0.2002965807914734, -0.6076731085777283, 0.6566705107688904, -0.15265697240829468, 0.06837493926286697, -0.6195626854896545, -0.46413296461105347, -0.127607062458992, 0.0964706763625145, 0.19449158012866974, -0.16352598369121552, 0.3786586821079254, 0.5847312808036804, -0.32284101843833923, 1.2433708906173706, -0.3479805588722229, 0.1522253006696701, 0.6893190741539001, -0.07606314867734909, 0.6040335297584534, 0.10102083534002304, 0.053627222776412964, 0.443405419588089, -0.40547993779182434, -0.44248849153518677, -0.5813318490982056, 0.4342074692249298, -1.4804317951202393, -1.0011029243469238, -0.6001057624816895, -0.33685407042503357, 0.14365074038505554, -0.08995306491851807, 0.5570797324180603, 0.2991534173488617, -0.36435389518737793, 0.18035756051540375, 0.44074898958206177, -0.0928243026137352, 0.40021902322769165, 0.28374049067497253, 0.03740259259939194, -0.48078224062919617, 0.8883941173553467, 0.18706724047660828, 0.42786628007888794, -0.0809292197227478, 0.3567301332950592, 0.07468611747026443, -0.44483476877212524, -0.36120349168777466, 0.07329486310482025, -0.5434958338737488, -0.05257323011755943, -0.6706483960151672, -0.3410428464412689, -0.5897200703620911, -0.2486318051815033, -0.386569619178772, 0.005439849570393562, -0.26714420318603516, -0.026249416172504425, 0.06093524768948555, 1.0754048824310303, 0.1589888036251068, 0.37356722354888916, -0.5112277269363403, 0.06428011506795883, 0.676009476184845, -0.07988569140434265, 0.04609650745987892, -0.3963685631752014, -0.018070662394165993, 0.04327867180109024, -0.33280858397483826, -1.1771206855773926, 0.2449343055486679, -0.11123156547546387, 0.5579959154129028, 0.8328143954277039, 0.26099932193756104, -0.005076689645648003, -0.14734794199466705, 0.8163081407546997, -0.11035429686307907, -0.665109395980835, 0.49407607316970825, -0.7844337821006775, 0.3333446979522705, 0.2584647834300995, 0.13852903246879578, -0.4770086109638214, -0.9558790922164917, -0.9516125321388245, -0.582489550113678, 0.4825412631034851, 0.46411603689193726, 0.28555527329444885, -0.14075900614261627, 0.11161000281572342, -0.05144013091921806, 0.3552897870540619, -0.9115674495697021, -0.14480775594711304, -0.5198795795440674, -0.10446230322122574, -0.21289215981960297, -0.04429718106985092, -0.5089481472969055, 0.00687368493527174, 0.5512152314186096, -0.08753787726163864, 0.5110436081886292, 0.19211754202842712, 0.35837700963020325, -0.2133101373910904, 0.4167355000972748, 0.487778902053833, 0.36200737953186035, -0.18599902093410492, 0.12805455923080444, -0.08017585426568985, -0.4117183983325958, 0.15294747054576874, -0.02609885111451149, -0.4142090976238251, -0.26593369245529175, 0.5826839804649353, 0.6535244584083557, -0.6079347729682922, -0.46131521463394165, 0.9580512046813965, -0.2664858102798462, 0.1937434822320938, -0.6881895065307617, 0.09343598037958145, -0.25055715441703796, 0.5327388048171997, 0.3610377907752991, 0.5145028233528137, 0.0933501198887825, -0.8537387251853943, -0.08827952295541763, 0.9696870446205139, -0.4931439161300659, -0.6983206272125244, 0.4372590482234955, 0.3255713880062103, -0.6404948234558105, 0.7973531484603882, -0.3358030319213867, -0.9179668426513672, 0.8747802376747131, 0.25744006037712097, 1.5064828395843506, -0.39818158745765686, 0.46532920002937317, 0.04737916588783264, 0.693271815776825, 0.3921276032924652, -0.15080896019935608, -0.2885007858276367, -1.168869972229004, 0.15590447187423706, -0.24719785153865814, -0.5972661972045898, -0.023215822875499725, -0.7043024301528931, 0.03781815245747566, -0.748009443283081, -0.6775315999984741, -0.3397587835788727, -0.2579106092453003, -0.5167038440704346, -0.057108424603939056, 0.25065889954566956, -0.19181515276432037, -1.054736852645874, 0.39092308282852173, 0.8163701891899109, -0.3662145137786865, -0.4093683362007141, 0.5265131592750549, 0.15354858338832855, -0.6632792949676514, 0.33641791343688965, -0.023810820654034615, -0.32376188039779663, -0.10158541798591614, -0.5743147730827332, -0.6810652017593384, 0.8290908932685852, 0.04330098628997803, -0.10869640111923218, 0.37702634930610657, 0.4179099500179291, 0.9815866351127625, -0.4464297592639923, 0.15569524466991425, 0.358783096075058, 0.3741777241230011, -0.38062044978141785, -0.6392361521720886, -0.1649530678987503, -0.3128512501716614, -0.4260841906070709, -0.016893187537789345, -1.1830416917800903, 1.015394926071167, -0.07959102094173431, -0.37882199883461, -0.361593633890152, 0.44512292742729187, -0.07139032334089279, 0.4279434084892273, 0.7049708962440491, 0.1748502254486084, 0.5094203352928162, 0.09132708609104156, 1.0009219646453857, -0.3503338694572449, 0.2197577953338623, 0.6610895395278931, -0.24447879195213318, 0.7787392735481262, 0.39324694871902466, 0.032723817974328995, 0.5906682014465332, 0.13178019225597382, 0.009517069905996323, 0.3176463842391968, -0.1681910902261734, -0.6629189252853394, -0.2388611137866974, -0.24011865258216858, -0.3487417697906494, 0.42994236946105957, 0.156228706240654, -0.1613321453332901, 0.21317338943481445, 0.3387114405632019, 0.05989415571093559, -0.18197320401668549, -0.12443902343511581, 1.2225165367126465, -0.1311396211385727, -0.7211033701896667, 0.12499888986349106, -0.12476500123739243, 0.07333602011203766, -0.2556276321411133, 0.243779256939888, -0.25001177191734314, 0.07209107279777527, -0.2120657116174698, -0.6200180649757385, 0.1887742131948471, -0.040979769080877304, -0.30770254135131836, -0.38410624861717224, 0.28388547897338867, -0.10379461199045181, -0.3963932394981384, 0.5760497450828552, 0.550470232963562, 0.05159139260649681, -0.43911212682724, -0.7109596133232117, 0.08366778492927551, 0.1453973799943924, -0.5356686115264893, 0.43340936303138733, 0.16341964900493622, -0.047342896461486816, 0.657016396522522, 0.683500349521637, 0.1996518224477768, 0.09707523882389069, 0.2758297026157379, 1.1100205183029175, -0.22048990428447723, -0.44242823123931885, -0.8161402344703674, 0.36488717794418335, -0.17719626426696777, -0.02643551304936409, 0.5815340876579285, 0.3001564145088196, 0.47183898091316223, 0.050074562430381775, 1.007878303527832, -0.18504290282726288, 0.27377045154571533, -0.2080717831850052, 1.1255335807800293, -0.3598102033138275, 0.360131174325943, -0.16325567662715912, -0.9542470574378967, 0.07232213020324707, 0.5902236104011536, -0.4788895845413208, 0.09500818699598312, 0.5329922437667847, 0.9648197293281555, 0.4157976806163788, 0.07553983479738235, 0.16073374450206757, 0.6570291519165039, 0.7485909461975098, 0.06062716990709305, 1.0329982042312622, -0.0883328840136528, 0.5440105199813843, -0.3186291456222534, -0.6258912682533264, -0.17376106977462769, -0.3309165835380554, -1.2546526193618774, -0.7790144085884094, -0.5185865759849548, -0.33846524357795715, -0.05079428106546402, 0.9231039881706238, 0.50846266746521, -0.8678112626075745, -0.29451921582221985, -0.27229824662208557, 0.17783522605895996, -0.12646865844726562, -0.34905141592025757, 0.3158954381942749, -0.3129974603652954, -0.6898735165596008, 0.42142558097839355, 0.32454660534858704, 0.042971421033144, -0.5462945699691772, 0.2034294605255127, 0.2163725346326828, 0.4849646985530853, 0.36517074704170227, 0.3000739812850952, -0.820960283279419, -0.5386332869529724, -0.1133173406124115, -0.1809128075838089, 0.2351728081703186, 0.7532523274421692, -0.6167237758636475, 0.538970947265625, 0.5161222815513611, 0.44043639302253723, 0.03023793175816536, 0.645828902721405, 0.6469564437866211, -0.28614723682403564, 0.25358864665031433, 0.6271376013755798, 0.021424997597932816, 0.1328517645597458, -0.6939046382904053, 0.04888143017888069, 0.2886049151420593, -1.0047152042388916, -0.582225501537323, 0.12555940449237823, -0.9445493221282959, 0.04544675722718239, 1.0197738409042358, 0.08848383277654648, 0.009966699406504631, -0.2617129385471344, -0.36952802538871765, 0.22365617752075195, -0.6125340461730957, 1.438554286956787, 0.6691128015518188, -0.6962164044380188, -0.1703394502401352, -0.35638320446014404, 0.5151491165161133, 0.5771633982658386, -0.9947665929794312, 0.055839307606220245, 0.2074011117219925, -0.10666944086551666, 0.25034329295158386, 0.6703738570213318, 0.12874452769756317, 0.2513372600078583, 0.10018842667341232, 0.047839999198913574, 0.29738134145736694, -0.2988928258419037, -0.48288634419441223, 0.43550315499305725, 0.11469098925590515, -0.04598028212785721 ]
http://arxiv.org/abs/2402.12204v1
http://arxiv.org/pdf/2402.12204v1
Enhancing Multilingual Capabilities of Large Language Models through Self-Distillation from Resource-Rich Languages
2024-02-19T15:07:32
2024-02-19T15:07:32
Yuanchi Zhang, Yile Wang, Zijun Liu, Shuo Wang, Xiaolong Wang, Peng Li, Maosong Sun, Yang Liu
cs.CL
cs.CL
While large language models (LLMs) have been pre-trained on multilingual corpora, their performance still lags behind in most languages compared to a few resource-rich languages. One common approach to mitigate this issue is to translate training data from resource-rich languages into other languages and then continue training. However, using the data obtained solely relying on translation while ignoring the original capabilities of LLMs across languages is not always effective, which we show will limit the performance of cross-lingual knowledge transfer. In this work, we propose SDRRL, a method based on Self-Distillation from Resource-Rich Languages that effectively improve multilingual performance by leveraging the internal capabilities of LLMs on resource-rich languages. We evaluate on different LLMs (LLaMA-2 and SeaLLM) and source languages across various comprehension and generation tasks, experimental results demonstrate that SDRRL can significantly enhance multilingual capabilities while minimizing the impact on original performance in resource-rich languages.
[ -0.43350550532341003, -0.40885475277900696, 0.49320027232170105, 0.34080618619918823, -0.44750404357910156, 0.5429619550704956, -0.5860025882720947, -0.48262810707092285, 0.14890660345554352, 0.5849190354347229, -0.4321054220199585, -0.09649493545293808, -0.5256837606430054, 0.4570125937461853, 0.04750680550932884, 1.2924524545669556, -0.08321096748113632, 0.21723519265651703, -0.1383153349161148, -0.3485294580459595, -0.351078063249588, -0.6166144609451294, -0.3526811897754669, -0.36941835284233093, 0.6695603728294373, 0.3380337953567505, 0.30749547481536865, 0.6022242903709412, 0.5010058283805847, 0.29491496086120605, -0.08183814585208893, 0.3424525856971741, -0.6635035872459412, 0.2238685041666031, -0.4784102141857147, -0.42266643047332764, -0.2293287217617035, -0.32180488109588623, 0.8808304071426392, 0.560810923576355, -0.1875552088022232, 0.36679938435554504, 0.4004085659980774, 0.74027419090271, -0.5985889434814453, 0.2819693684577942, -0.6023266315460205, 0.020107483491301537, -0.2747746706008911, -0.225661039352417, -0.28675389289855957, -0.1178167387843132, -0.12310639768838882, -0.3965216875076294, 0.17220360040664673, -0.16867277026176453, 0.2521405518054962, 0.45958712697029114, -0.14698046445846558, -0.22324813902378082, -0.7359451651573181, 0.9577308893203735, -0.7574461102485657, 0.6768814921379089, 0.3722814619541168, 0.25296562910079956, 0.26978984475135803, -0.5416457056999207, -0.4753907322883606, -0.2166430801153183, -0.2452293038368225, -0.13210012018680573, -0.0046052648685872555, -0.27421367168426514, 0.22773562371730804, 0.08552499860525131, -0.3930050730705261, 0.2747346758842468, -0.6695528626441956, -0.17247307300567627, 0.6831710338592529, -0.08184254169464111, 0.08661817759275436, -0.10819989442825317, -0.4392941892147064, -0.2526297867298126, -0.7288194298744202, -0.11185405403375626, 0.1556326299905777, 0.7125065326690674, -0.0864432230591774, 0.5468471646308899, -0.02638905495405197, 0.46769046783447266, -0.16503283381462097, -0.6088632345199585, 0.32680219411849976, -0.6495620012283325, -0.06945732235908508, 0.22534891963005066, 0.6568295359611511, -0.04474543780088425, 0.24559564888477325, -0.1805286556482315, -0.2841561734676361, -0.34140557050704956, -0.23903854191303253, -0.8624945282936096, -0.159323588013649, 0.0600363165140152, -0.3312743008136749, 0.1218988224864006, -0.5077275633811951, -0.7962966561317444, -0.2713831961154938, -0.4939477741718292, 0.08198351413011551, -0.31320711970329285, -0.7265965938568115, -0.04887991398572922, -0.053650613874197006, -0.15697044134140015, 0.12665559351444244, -0.9997228384017944, -0.056037042289972305, 0.2838822305202484, 0.9002019166946411, -0.2987041473388672, -0.5742860436439514, -0.5937695503234863, 0.448684960603714, -0.23637571930885315, 0.6400134563446045, -0.2973090410232544, -0.36364278197288513, -0.12976188957691193, -0.15076841413974762, -0.005577614530920982, -0.6992464065551758, 0.21546722948551178, -0.5102218985557556, -0.24008949100971222, -0.5082420706748962, -0.1788351684808731, 0.04360612854361534, 0.13001509010791779, -0.7753868699073792, 1.0153030157089233, -0.04055885598063469, -0.6845155954360962, 0.26182475686073303, -0.5616108179092407, -0.6192658543586731, 0.09332051128149033, -0.18938490748405457, -0.04420119896531105, 0.1553795486688614, 0.3234162926673889, 0.4789678156375885, -0.26047223806381226, 0.19939261674880981, -0.34233713150024414, 0.06712152808904648, 0.23152635991573334, -0.4659019410610199, 0.6875901818275452, 0.539007842540741, -0.015239282511174679, -0.12182595580816269, -0.7526218891143799, 0.2055174857378006, 0.16553084552288055, -0.5685204267501831, -0.5608888268470764, -0.4321548640727997, 0.0423511303961277, 0.5005667805671692, 0.504536509513855, -0.4298451244831085, 0.17233477532863617, -0.09060616791248322, 0.30883488059043884, 0.7530932426452637, -0.40232187509536743, 0.48398417234420776, -0.10177463293075562, 0.6429938077926636, 0.04525573551654816, -0.1665521264076233, -0.12616340816020966, -0.05596962198615074, -0.7641379833221436, -0.638733446598053, 0.3337997496128082, 0.43528518080711365, -1.0653859376907349, 0.06836172193288803, -0.3575429618358612, -0.334615558385849, -0.9007711410522461, 0.8688273429870605, 0.38102033734321594, 0.3084620535373688, 0.5802753567695618, -0.06880946457386017, -0.6001176834106445, -0.7869094014167786, -0.08459099382162094, -0.21699167788028717, 0.21657688915729523, -0.0012332123005762696, 0.2318560928106308, -0.1024855375289917, 0.8334583044052124, -0.29735803604125977, -0.4599321782588959, -0.7899914979934692, 0.010058857500553131, 0.18986643850803375, 0.3661893904209137, 0.5470067858695984, -0.6205998063087463, -0.7490146160125732, 0.2314092367887497, -0.7275028228759766, -0.31974196434020996, -0.10604306310415268, 0.03603019937872887, 0.4376000165939331, 0.562618613243103, -0.2153354436159134, -0.07079654932022095, 0.8779235482215881, -0.019809411838650703, 0.5535986423492432, -0.5901244282722473, -0.006990854628384113, -0.9199312925338745, 0.18058131635189056, -0.04625683277845383, -0.1326904445886612, -0.6379669904708862, 0.08966164290904999, 0.18342795968055725, 0.051492851227521896, -0.579733669757843, 0.8361557722091675, -0.7395999431610107, -0.21995031833648682, -0.36809515953063965, 0.08546308428049088, 0.09332553297281265, 0.341970831155777, 0.27787208557128906, 0.800099790096283, 0.3567220866680145, -0.5086565017700195, 0.25891852378845215, 0.1704547256231308, -0.34713804721832275, 0.4752489924430847, -0.3925723731517792, -0.13411405682563782, -0.24072983860969543, -0.023284059017896652, -0.7928364872932434, 0.09596060961484909, -0.1582205891609192, 0.0797782689332962, 0.5698040127754211, -0.3710666596889496, -0.4283907413482666, -0.21580453217029572, 0.07039405405521393, 0.43294835090637207, 0.3366004526615143, -0.7801706790924072, 0.5390222668647766, 0.12658025324344635, -0.36717653274536133, -0.7981563806533813, -1.0941276550292969, 0.060989584773778915, -0.44371265172958374, -0.5047245025634766, 0.06593664735555649, -0.2713528275489807, -0.29317668080329895, -0.16750779747962952, 0.10255858302116394, -0.1616661250591278, 0.05957955867052078, -0.26820775866508484, 0.27899664640426636, -0.09521985799074173, 0.3190831243991852, 0.05134696885943413, -0.03422421216964722, -0.18641549348831177, -0.1513441950082779, 0.613007128238678, -0.05426012724637985, -0.4724079370498657, -0.3628198802471161, 0.3735716640949249, 0.6325351595878601, -0.6534875631332397, 0.8084402680397034, 0.7854073643684387, 0.16274887323379517, -0.5351653099060059, -0.8245499134063721, -0.20773161947727203, -0.48567482829093933, 0.48805779218673706, -0.6300186514854431, -0.9198797345161438, 0.5929175019264221, -0.15586571395397186, 0.010756568983197212, 0.27886223793029785, 0.6695763468742371, 0.046278394758701324, 0.6677642464637756, 0.7703734636306763, -0.294494092464447, 0.5184701085090637, -0.31617555022239685, 0.16963934898376465, -0.8815308809280396, -0.15103895962238312, -0.422627717256546, -0.08479723334312439, -0.4924917221069336, -0.7020035982131958, 0.26739707589149475, 0.3051033914089203, 0.07276272773742676, 0.3072861135005951, -0.22316356003284454, 0.3893144130706787, 0.4366426467895508, -0.18709464371204376, 0.6233839392662048, 0.33823278546333313, -0.30986687541007996, -0.18669402599334717, -0.9432747960090637, -0.31424546241760254, 1.0332282781600952, 0.4245270788669586, 1.0171232223510742, 0.1974778026342392, 0.9535600543022156, 0.19212695956230164, 0.2671729624271393, -0.360174298286438, 0.3425571918487549, -0.3662366569042206, -0.42128413915634155, -0.4871934950351715, -0.670871913433075, -0.5739082098007202, 0.6548922657966614, -0.0700172483921051, -0.24693487584590912, 0.08311358094215393, -0.0480429083108902, -0.27404531836509705, 0.38721829652786255, -0.5843793153762817, 0.6496598720550537, -0.7760397791862488, -0.6301244497299194, -0.27320942282676697, -0.2039637565612793, 0.263593465089798, -0.5397903323173523, 0.49923622608184814, -0.2712554633617401, 0.020358571782708168, 0.5132012963294983, -0.14270375669002533, 0.7845551371574402, -0.13068681955337524, -0.5885652899742126, 0.25042325258255005, 0.1230422630906105, 0.5508821606636047, 0.09440535306930542, -0.18150544166564941, 0.4676629900932312, 0.00834066141396761, -0.2916441261768341, -0.5406566858291626, 0.7226774096488953, -0.7498815059661865, -0.6049429774284363, -0.20338179171085358, -0.6336460709571838, -0.16773642599582672, 0.21235322952270508, -0.045045893639326096, 0.1329750269651413, -0.07662798464298248, 0.09816493839025497, 0.43294814229011536, -0.15807555615901947, 0.7765118479728699, 0.8654189705848694, -0.2734210789203644, -0.3966916501522064, 0.9592897295951843, 0.3584604263305664, 0.5012738108634949, 0.21748919785022736, 0.24034906923770905, -0.828265905380249, -0.6154592633247375, -0.7613576650619507, 0.4847719669342041, -0.7923927307128906, -0.21948747336864471, -0.6680297255516052, -0.17807963490486145, -0.4631713926792145, -0.002878273604437709, -0.6340567469596863, -0.4126940071582794, -0.3350766897201538, 0.014933940954506397, 0.2421252727508545, 0.5832067728042603, -0.6058805584907532, -0.023020632565021515, -0.9900339245796204, 0.2514825761318207, 0.25306203961372375, 0.37872079014778137, 0.15757843852043152, -0.6795966625213623, -0.49741294980049133, 0.23336099088191986, 0.011965018697082996, -0.3168286681175232, 0.7035738229751587, 0.4046368896961212, 0.8656359910964966, 0.19887949526309967, 0.15631172060966492, 0.9776915311813354, -0.516703188419342, 0.44947028160095215, 0.44341427087783813, -0.7467223405838013, 0.3550131916999817, -0.049943435937166214, 0.29109886288642883, 0.5195578932762146, 0.4495801627635956, -0.5456326603889465, -0.39606866240501404, -0.1375613510608673, -0.5475988984107971, 0.6692473292350769, -0.026952771469950676, 0.06225476413965225, 0.03062664344906807, 0.08372654020786285, 0.19216375052928925, 0.11580902338027954, -0.9015306234359741, -0.017824403941631317, -0.24484698474407196, 0.013632928021252155, -0.34911710023880005, -0.3367512822151184, -0.1356092393398285, -0.09738575667142868, 0.5119292736053467, -0.3929682970046997, -0.3626388907432556, 0.23805436491966248, -0.3502150774002075, -0.054766684770584106, 0.3238637447357178, 0.3686910569667816, 0.9158614873886108, 0.0863921195268631, 0.3279572129249573, 0.48939943313598633, -0.24805861711502075, 0.3293857276439667, 0.05106120929121971, 0.26029595732688904, -0.2413913607597351, 0.49996763467788696, 0.6211118698120117, 0.06988474726676941, -0.7890757918357849, 0.09325762093067169, 0.05674850195646286, 0.12864629924297333, 0.021580154076218605, 0.016315340995788574, 0.19998984038829803, 0.6570025682449341, 0.4796639680862427, -0.3289131820201874, -0.16238799691200256, -0.4778801202774048, 0.13529489934444427, 0.35905715823173523, 0.08855685591697693, -0.16448333859443665, 0.5203424692153931, 0.11222797632217407, 0.18127655982971191, 0.5976263880729675, -0.0496002659201622, -0.35294049978256226, 0.31795385479927063, 0.8973677754402161, 0.56893390417099, -0.4916746914386749, 0.1952461153268814, 0.5693594217300415, 0.2776075303554535, -0.30749645829200745, 0.12457317113876343, -0.18502703309059143, -0.7679911851882935, -0.8269402980804443, -0.9596598148345947, -0.043528370559215546, 0.07621464878320694, -0.6220899820327759, 0.10567449778318405, -0.18153057992458344, -0.11193974316120148, -0.16106531023979187, 0.07826488465070724, -0.7319760322570801, -0.1123451367020607, 0.3385419249534607, 0.7563860416412354, -0.8852359652519226, 1.1910929679870605, 0.3827093243598938, -0.4311579167842865, -0.4767098128795624, -0.40123632550239563, -0.3802933692932129, -0.7820017337799072, 1.2324270009994507, -0.1734023094177246, -0.15531346201896667, -0.08832364529371262, -0.0710320845246315, -1.1072601079940796, 1.057713270187378, 0.6748048663139343, -0.8398180603981018, 0.12226401269435883, 0.6285425424575806, 0.6751044392585754, -0.3010137379169464, 0.09393803030252457, 0.5070161819458008, 0.48912397027015686, 0.1494365781545639, -1.254866123199463, -0.0721808522939682, 0.013553907163441181, 0.2926945388317108, -0.08525753766298294, -0.6982052326202393, 0.7971426248550415, -0.4733630418777466, -0.2622182369232178, -0.19833256304264069, 0.7468290328979492, 0.43707191944122314, -0.06429750472307205, 0.40602776408195496, 0.4895836114883423, 0.8427128791809082, 0.2877417504787445, 0.7015340328216553, -0.4620455801486969, 0.32599279284477234, 1.4031827449798584, -0.6096900701522827, 0.9264234900474548, 0.6563976407051086, -0.10009981691837311, 0.2152620255947113, 0.19557695090770721, -0.006816258653998375, 0.7965092658996582, 0.06717521697282791, -0.42505910992622375, -0.40970978140830994, -0.35019442439079285, -0.4950380027294159, 0.7215949892997742, 0.24150246381759644, -0.33659565448760986, -0.4784449636936188, 0.2597652077674866, -0.0911613330245018, 0.13176396489143372, -0.2463754266500473, 0.7416173219680786, 0.11996928602457047, -0.6146513819694519, 0.9480330944061279, -0.08815169334411621, 0.7580994367599487, -0.764484703540802, -0.08086976408958435, -0.4335772395133972, 0.30355119705200195, -0.04488009214401245, -0.8017809391021729, 0.35129058361053467, 0.14733624458312988, -0.2301405817270279, -0.6107136011123657, 0.6691610217094421, -0.8782939910888672, -0.630283772945404, 0.7298560738563538, 0.9843130111694336, 0.1982302963733673, 0.19796162843704224, -0.6075124144554138, 0.21510927379131317, 0.15377476811408997, 0.060974884778261185, 0.6137425899505615, 0.5972162485122681, 0.1721680611371994, 0.8889254331588745, 0.9419189095497131, 0.4221797585487366, 0.12311463057994843, 0.0581999272108078, 0.9180136322975159, -0.38346466422080994, -0.4977743327617645, -0.9605838060379028, 0.3072957992553711, -0.00330002186819911, -0.05372348800301552, 0.9193524718284607, 0.5179877281188965, 1.1019366979599, -0.05499178171157837, 1.0383256673812866, -0.04612521827220917, 0.4313231408596039, -0.5289344787597656, 0.9972182512283325, -0.6383015513420105, 0.35199427604675293, 0.04126327484846115, -0.9584304094314575, -0.00442548468708992, 0.5596336722373962, -0.09709290415048599, -0.008151747286319733, 0.4856722056865692, 0.6870999336242676, -0.03816825523972511, -0.36217278242111206, 0.6450369954109192, 0.1830829381942749, 0.40398046374320984, 0.29748594760894775, 0.7589375972747803, 0.12869828939437866, 0.6104245781898499, -0.45460543036460876, -0.12537607550621033, 0.009379545226693153, -0.9976779222488403, -1.0753713846206665, -0.6056463718414307, -0.12476447224617004, -0.185576394200325, -0.07226705551147461, 0.7909226417541504, 0.6000357866287231, -0.6141130328178406, -0.5288534164428711, 0.37207135558128357, 0.10012788325548172, -0.06292318552732468, -0.11344756931066513, 0.30982014536857605, -0.7159725427627563, -0.6380497217178345, 0.7182716727256775, 0.1400860846042633, 0.11971882730722427, -0.8244971036911011, -0.17011475563049316, -0.18184421956539154, -0.22305597364902496, 0.7177482843399048, 0.3168947100639343, -0.5986206531524658, 0.014714066870510578, -0.20023776590824127, -0.09740064293146133, 0.0223228856921196, 0.7938562631607056, -0.7016739249229431, 0.6026338338851929, 0.37167888879776, 0.6145815253257751, 0.4339171051979065, -0.22624781727790833, 0.46572497487068176, -0.837151288986206, 0.2971791923046112, 0.015288607217371464, 0.44082513451576233, 0.6166859865188599, -0.21280606091022491, 0.5626123547554016, -0.006505734287202358, -0.38505175709724426, -0.76518714427948, 0.011395714245736599, -0.5624613761901855, -0.5288524031639099, 1.3815531730651855, -0.30596402287483215, -0.10153313726186752, -0.09927920997142792, -0.06244295462965965, 0.3035300374031067, -0.2595459520816803, 0.7297988533973694, 0.5366917252540588, 0.10951989144086838, -0.23988986015319824, -0.5716158151626587, 0.5612674355506897, 0.18139679729938507, -0.7129033207893372, 0.49483585357666016, 0.2901671230792999, 0.5073061585426331, 0.26143231987953186, 0.6406839489936829, -0.05148207023739815, -0.05095604062080383, -0.22728589177131653, 0.203578382730484, -0.2546694874763489, -0.5377303957939148, -0.3651373088359833, 0.025027329102158546, 0.10946636646986008, 0.218482106924057 ]
http://arxiv.org/abs/2402.12198v1
http://arxiv.org/pdf/2402.12198v1
Zero shot VLMs for hate meme detection: Are we there yet?
2024-02-19T15:03:04
2024-02-19T15:03:04
Naquee Rizwan, Paramananda Bhaskar, Mithun Das, Swadhin Satyaprakash Majhi, Punyajoy Saha, Animesh Mukherjee
cs.CL
cs.CL, cs.CV, cs.LG
Multimedia content on social media is rapidly evolving, with memes gaining prominence as a distinctive form. Unfortunately, some malicious users exploit memes to target individuals or vulnerable communities, making it imperative to identify and address such instances of hateful memes. Extensive research has been conducted to address this issue by developing hate meme detection models. However, a notable limitation of traditional machine/deep learning models is the requirement for labeled datasets for accurate classification. Recently, the research community has witnessed the emergence of several visual language models that have exhibited outstanding performance across various tasks. In this study, we aim to investigate the efficacy of these visual language models in handling intricate tasks such as hate meme detection. We use various prompt settings to focus on zero-shot classification of hateful/harmful memes. Through our analysis, we observe that large VLMs are still vulnerable for zero-shot hate meme detection.
[ -0.4403586685657501, -0.8504916429519653, 0.4324672818183899, 0.05447535589337349, -0.37214040756225586, 0.19910626113414764, 0.15099148452281952, -0.4205223619937897, 0.16562841832637787, 0.3891809284687042, -0.7759808301925659, -0.5715385675430298, -0.7456112504005432, 0.09638220816850662, -0.6486436724662781, 0.7311217784881592, 0.1971215009689331, -0.16635346412658691, -0.09326150268316269, -0.48878854513168335, -0.5973369479179382, -0.6323262453079224, -0.6055235862731934, 0.08320708572864532, 0.9761348962783813, 0.444995641708374, 0.4441009759902954, 0.5106499791145325, 0.5288786888122559, 0.2488361895084381, 0.15290787816047668, -0.2638998329639435, -0.5710209608078003, 0.4651440680027008, -0.2335793673992157, -0.2926715910434723, -0.0270353052765131, 0.056028030812740326, 0.3415554165840149, 0.2509728670120239, 0.1454751342535019, 0.3704160749912262, -0.31783026456832886, 0.1874210238456726, -0.8283314108848572, -0.3717704117298126, -0.9048128724098206, 0.2880729138851166, -0.39131221175193787, -0.22972366213798523, -0.43372994661331177, -0.061741914600133896, 0.05489351227879524, -0.12477627396583557, 0.06008068099617958, -0.013843473047018051, 0.6199366450309753, 0.13147616386413574, -0.30591240525245667, -0.24004100263118744, -0.7329753637313843, 1.2263717651367188, -0.9143247008323669, 0.2267039716243744, -0.03993969038128853, 0.4751713275909424, 0.03125937655568123, -0.2827432155609131, -0.7318386435508728, -0.25835487246513367, 0.3355953097343445, -0.08845692873001099, -0.8931480646133423, -0.2803981304168701, 0.3894394040107727, 0.02696690894663334, -0.8713018298149109, 0.7103094458580017, -0.5178501009941101, -0.27797064185142517, 0.4804137647151947, 0.5535517930984497, 0.5546686053276062, -0.3411509692668915, -0.5866591334342957, 0.10611151903867722, -0.44978392124176025, -0.13680399954319, 0.18744701147079468, 0.22467593848705292, 0.03019195795059204, 0.8253485560417175, -0.3001187741756439, 0.9952037334442139, -0.33750489354133606, -0.19407354295253754, 0.0075934710912406445, 0.08881942927837372, -0.485721617937088, -0.193034827709198, 0.8765645027160645, 0.571988046169281, 0.5526857376098633, 0.043028172105550766, -0.1038912907242775, 0.4480750858783722, 0.5424429774284363, -1.008034348487854, 0.06862610578536987, -0.03827599436044693, -0.2989566922187805, -0.7361869812011719, -0.4478878080844879, -0.6176512241363525, -0.573844313621521, -0.18747515976428986, 0.4414689540863037, -0.2779511511325836, -0.26197928190231323, -0.14307208359241486, -0.28884193301200867, 0.24558353424072266, 0.7185488939285278, -0.47815820574760437, -0.04483836144208908, 0.2732386589050293, 0.7792637944221497, -0.08992860466241837, -0.07139144092798233, -0.5652011632919312, -0.08776727318763733, -0.4125247895717621, 0.812644898891449, -0.6143295764923096, -0.014706355519592762, 0.21842323243618011, -0.028387587517499924, 0.11455431580543518, -0.39778295159339905, 0.5115447640419006, -0.5486010909080505, 0.03324046730995178, -0.32390180230140686, -0.5493481159210205, -0.34269559383392334, 0.5975531339645386, -0.4521491229534149, 0.33801308274269104, 0.35904210805892944, -0.5984432697296143, 0.471212774515152, -0.46510735154151917, -0.2708549499511719, 0.34443631768226624, -0.2490638792514801, -0.6591112017631531, 0.21353912353515625, -0.36584293842315674, 0.9280604124069214, -0.03242771700024605, -0.18875502049922943, -0.9699707627296448, -0.1949751228094101, 0.1814591884613037, -0.593012809753418, 0.8393256068229675, 0.5242542028427124, -0.418686181306839, 0.2643827497959137, -0.5892104506492615, -0.2167653888463974, 0.4741363823413849, 0.03281071037054062, -0.581890881061554, -0.30125826597213745, 0.11954189091920853, 0.6236335635185242, -0.14890408515930176, -0.8071500062942505, 0.16816945374011993, 0.3348104655742645, 0.16252543032169342, 0.9065280556678772, -0.1499023288488388, 0.255487322807312, 0.05137027055025101, 0.7135056257247925, 0.2582739591598511, 0.39483270049095154, 0.016800396144390106, -0.5770379304885864, -0.5896763801574707, -0.24691839516162872, -0.23990969359874725, 0.48720428347587585, -0.97339928150177, 0.054111167788505554, 0.13675858080387115, -0.5254973769187927, -0.25721707940101624, 0.203163281083107, 0.2755998373031616, 0.5741428136825562, 0.492603063583374, -0.26533371210098267, -0.6394864320755005, -0.9436498284339905, -0.0908549353480339, -0.10835974663496017, -0.0879567489027977, 0.40160804986953735, 0.32939037680625916, -0.3339647054672241, 0.5480049252510071, -0.3481411933898926, -0.3566865622997284, -0.21483184397220612, 0.2676546275615692, 0.020101012662053108, 0.06935286521911621, 1.143180012702942, -0.5988189578056335, -0.6433858275413513, -0.3856077790260315, -1.1508750915527344, -0.4397289454936981, -0.010211139917373657, 0.2416844218969345, 0.2065654993057251, 0.4349309802055359, -0.009579190984368324, 0.5900964736938477, 0.5510425567626953, -0.584044873714447, 0.6685741543769836, 0.3707667887210846, 0.364666223526001, -0.5008179545402527, -0.3112662732601166, 0.30732306838035583, -0.506515383720398, -0.9380717873573303, -0.24870836734771729, -0.159002885222435, -0.030930425971746445, -0.8680905103683472, 0.522066056728363, -0.32902997732162476, 0.09368370473384857, -0.41740384697914124, -0.128352552652359, -0.42151501774787903, 0.35633668303489685, -0.034259289503097534, 0.32805564999580383, 0.723089873790741, -0.5062224268913269, 0.317839652299881, -0.08288716524839401, -0.22872959077358246, 0.9048839211463928, -0.41401758790016174, -0.0716012641787529, -0.33098965883255005, -0.2759782075881958, -0.8692629933357239, 0.060103725641965866, 0.8267612457275391, -0.487920880317688, 0.3771761953830719, -0.1325901448726654, -0.2743270695209503, -0.622860312461853, -0.43124860525131226, 0.48052024841308594, 0.5585969686508179, -0.2643336057662964, 0.11375703662633896, 0.20854441821575165, 0.20241490006446838, -0.7408835291862488, -0.5039170980453491, 0.16981202363967896, -0.35456961393356323, -0.36853551864624023, -0.343612939119339, -0.1771073192358017, -0.28327450156211853, 0.09242022782564163, 0.010126407258212566, -0.09678689390420914, 0.13996316492557526, 0.44843167066574097, 0.08359669893980026, -0.44182005524635315, -0.13588455319404602, -0.300448477268219, -0.12394200265407562, -0.3637015223503113, -0.0835663452744484, 0.5433381795883179, -0.02589145116508007, -0.5411911606788635, -0.28000426292419434, 0.4246983826160431, 1.04377281665802, -0.1566491723060608, 0.8483903408050537, 0.7450771927833557, -0.3504442870616913, -0.3553302586078644, -0.7058653831481934, 0.10268394649028778, -0.4567078948020935, 0.31685301661491394, -0.11846613883972168, -1.3734546899795532, 0.38752761483192444, 0.3036811351776123, -0.026649953797459602, 0.44872501492500305, 0.578294038772583, -0.2697352468967438, 0.7900501489639282, 0.6483024954795837, -0.29702338576316833, 0.6645421385765076, -0.1425935924053192, 0.22451885044574738, -0.316898912191391, -0.0075790127739310265, -0.38618209958076477, -0.3668837547302246, -0.17507429420948029, -0.6545970439910889, 0.2789655327796936, 0.047404926270246506, -0.042176105082035065, 0.4224369525909424, -0.5466983318328857, 0.27391523122787476, 0.32128167152404785, -0.0431353822350502, -0.08627749234437943, 0.34136462211608887, 0.2693387269973755, -0.36860546469688416, -0.5573604106903076, -0.24924929440021515, 1.0377854108810425, 0.35890263319015503, 0.8016005158424377, 0.053934577852487564, 0.29151472449302673, 0.8425689339637756, 0.47877007722854614, -0.7384209036827087, 0.5706727504730225, -0.32724156975746155, -0.550457239151001, -0.4787273108959198, -0.08753704279661179, -0.8817617893218994, -0.01853330247104168, -0.20644892752170563, -0.6794097423553467, -0.09564975649118423, 0.14577093720436096, -0.09079748392105103, 0.6432673335075378, -0.20891030132770538, 1.1353734731674194, -0.21017800271511078, -0.21112319827079773, -0.269559770822525, -0.3987109065055847, 0.3268812298774719, 0.0022347436752170324, 0.15306168794631958, -0.4831525981426239, 0.15093062818050385, 0.5631412267684937, -0.3126718997955322, 0.971415638923645, -0.39224258065223694, 0.07401110231876373, 0.6556481719017029, 0.3359571695327759, 0.025915812700986862, -0.5666138529777527, -0.00015771180915180594, 0.4676854908466339, -0.420534610748291, -0.744044303894043, -0.5124770998954773, 0.7325924634933472, -0.2973586618900299, -0.3274042308330536, -0.3971911370754242, -0.13338139653205872, 0.24237380921840668, 0.22593086957931519, 0.12754276394844055, 0.39101654291152954, -0.2289423644542694, 0.2610081732273102, 0.7186826467514038, -0.3663557469844818, 0.5104756355285645, 0.803412675857544, -0.4218604266643524, -0.061615318059921265, 1.2443459033966064, 0.5514945983886719, 0.19558829069137573, 0.19002842903137207, -0.13102294504642487, -0.04468372091650963, -0.8971554040908813, -0.7166618704795837, -0.04151752218604088, -0.5596573948860168, -0.37626051902770996, -0.7521371245384216, -0.18583671748638153, -0.2912779152393341, -0.3854057490825653, -0.2107766568660736, -0.1560165137052536, -0.3446626663208008, -0.1108943372964859, 0.349862664937973, 1.0040907859802246, -0.043171226978302, 0.26869308948516846, -0.7201107144355774, 0.40460720658302307, 0.4501354992389679, 0.47322261333465576, 0.15532593429088593, -0.7354757785797119, -0.21922558546066284, -0.1333366483449936, -0.20809873938560486, -1.1599950790405273, 0.3779750168323517, -0.20075906813144684, 0.5030234456062317, 0.6255553960800171, 0.07261105626821518, 0.4869800806045532, -0.5253766775131226, 0.7718760967254639, 0.41870343685150146, -0.5236912965774536, 0.5222523808479309, -0.450421541929245, 0.13556842505931854, 0.27303946018218994, 0.6413064002990723, -0.6133992075920105, -0.5616335272789001, -0.5849468111991882, -0.324503630399704, 0.37931057810783386, 0.23705048859119415, 0.4949464797973633, -0.20722422003746033, 0.16102725267410278, 0.0676041767001152, 0.3380686938762665, -0.8526307940483093, -0.4482233226299286, -0.2666163146495819, 0.1397618055343628, 0.09262919425964355, -0.7946555018424988, 0.35883015394210815, -0.3243783116340637, 0.44705089926719666, 0.0776536613702774, -0.0879475325345993, -0.03941631689667702, -0.2310018241405487, -0.46987849473953247, 0.2354612946510315, 0.6904967427253723, 0.431695818901062, -0.269349068403244, 0.2294798195362091, 0.04052434861660004, -0.20048147439956665, 0.2774818241596222, -0.4890837073326111, -0.5105728507041931, 0.31881237030029297, 0.3692343831062317, 0.8701339364051819, 0.08217019587755203, -0.7915878891944885, 0.8487482070922852, -0.03018324263393879, -0.17996928095817566, -0.39682435989379883, 0.04799164459109306, -0.23552870750427246, 0.23711438477039337, 0.14313122630119324, 0.10507618635892868, 0.20350462198257446, -0.4820510745048523, 0.5206805467605591, 0.7231617569923401, -0.7923961877822876, -0.43334561586380005, 0.7139251828193665, -0.06306478381156921, -0.29422223567962646, 0.3707202970981598, -0.2961413264274597, -0.6258343458175659, 0.587365984916687, 0.4442204236984253, 0.8745344877243042, -0.5247961282730103, 0.5714234113693237, 0.38046595454216003, 0.4903102517127991, 0.5033037066459656, 0.03121430054306984, 0.0884234681725502, -0.7232218384742737, -0.08488380163908005, -1.0223883390426636, -0.24679015576839447, 0.6168977618217468, -0.2800118625164032, 0.5240293145179749, -0.6353719830513, 0.12989898025989532, 0.40327712893486023, -0.44071900844573975, -0.7135072946548462, 0.41058918833732605, 0.7338300943374634, 0.7074509263038635, -1.1924091577529907, 0.5402169823646545, 0.4924217462539673, -0.628035306930542, -0.5264632701873779, -0.4998572766780853, 0.35825303196907043, -0.8258882761001587, 0.41613709926605225, 0.300542414188385, 0.06189887970685959, -0.06501159071922302, -1.03231942653656, -0.4239291250705719, 0.6096630692481995, 0.3088042736053467, -0.5184428691864014, 0.4113924503326416, 0.13418763875961304, 0.7365877628326416, -0.4883945882320404, 0.08928340673446655, 0.1094544529914856, 0.3094937801361084, 0.34067589044570923, -0.49568939208984375, -0.07737970352172852, -0.16266758739948273, -0.262427419424057, 0.12276920676231384, -0.3786405622959137, 0.9714017510414124, -0.15408773720264435, 0.04331459105014801, -0.2626483738422394, 0.51829594373703, -0.002547463169321418, 0.6357264518737793, 0.7166454792022705, 0.5760560035705566, 0.1470819115638733, 0.4605485200881958, 0.8942910432815552, 0.5139106512069702, 0.2280423939228058, 0.8944664001464844, -0.10692402720451355, 0.7162819504737854, 0.3399762213230133, -0.17278075218200684, 0.4712633788585663, 0.44982412457466125, -0.5582602620124817, 0.30825483798980713, 0.4449220299720764, -0.525467574596405, -0.5704199075698853, -0.541335940361023, -0.10165228694677353, 0.4099327325820923, 0.336977481842041, -0.4120030999183655, -0.543854832649231, 0.34463539719581604, 0.32153794169425964, 0.1510002613067627, -0.5541382431983948, 0.7293859720230103, -0.015735862776637077, -0.031664952635765076, 0.816303551197052, -0.17155732214450836, 0.8319395184516907, -0.5440836548805237, -0.07813594490289688, 0.09119248390197754, -0.13709433376789093, -0.3293437361717224, -0.7756224870681763, 0.40648260712623596, 0.349704772233963, -0.41936060786247253, -0.007415127474814653, 1.19748854637146, -0.3910590708255768, -0.5299310088157654, 0.6749598383903503, 0.5604001879692078, 0.35493654012680054, -0.33445265889167786, -0.7457761168479919, 0.17587773501873016, 0.22118037939071655, -0.2612728178501129, 0.4694012403488159, 0.3370746076107025, -0.30820050835609436, 0.7344948053359985, 0.6284191608428955, -0.20548787713050842, 0.541767418384552, 0.36230340600013733, 0.7287535667419434, -0.6887967586517334, 0.09032553434371948, -1.255474328994751, 0.6035942435264587, -0.2489859014749527, 0.16752615571022034, 0.986701250076294, 0.3160398602485657, 0.8280970454216003, -0.4206845462322235, 0.9075117111206055, -0.10911814123392105, 0.5564031004905701, 0.117091104388237, 0.7110579609870911, -0.9650223851203918, -0.12646688520908356, -0.44092464447021484, -0.6797661185264587, -0.6564461588859558, 0.1330409049987793, -0.20797835290431976, -0.2857109010219574, 0.10594558715820312, 0.5958862900733948, -0.11504705995321274, -0.37612584233283997, 0.9938144683837891, 0.3727191984653473, 0.5340067148208618, 0.32757481932640076, 0.8925082683563232, -0.22823494672775269, 0.5830380916595459, -0.48842301964759827, -0.30071085691452026, -0.5404089689254761, -0.8850594162940979, -1.1393659114837646, -0.33049774169921875, -0.36249664425849915, -0.19757279753684998, -0.04591888561844826, 0.5492081046104431, 0.49457675218582153, -1.0095603466033936, 0.05036027729511261, 0.16345156729221344, 0.33627966046333313, 0.2562776505947113, -0.19751235842704773, -0.14469240605831146, -0.14515160024166107, -0.4322837293148041, 0.28449535369873047, 0.8305375576019287, 0.2302280068397522, -0.280860036611557, 0.01877398043870926, -0.3301176428794861, 0.24544046819210052, 0.941545844078064, 0.6248969435691833, -0.7976067662239075, -0.47668343782424927, 0.06400124728679657, -0.305101215839386, -0.1259716898202896, 0.6063045859336853, -0.6086827516555786, 0.5397910475730896, 0.3929542303085327, 0.5399250984191895, 0.15118299424648285, -0.09258526563644409, 0.21730473637580872, -0.5733526945114136, 0.23098842799663544, 0.33421561121940613, 0.2216300219297409, 0.34532612562179565, -0.1906459480524063, 0.5897808074951172, 0.5699477195739746, -0.3016273081302643, -1.0072948932647705, 0.16416694223880768, -1.1601322889328003, -0.4387073516845703, 0.8832743763923645, -0.0011243001790717244, -0.25923338532447815, -0.20089633762836456, -0.19462376832962036, 0.15522131323814392, -0.2521621286869049, 0.5830962657928467, 0.4582067131996155, -0.04058891907334328, -0.3464571535587311, -0.7187208533287048, 0.24700221419334412, 0.5066100358963013, -0.479665607213974, -0.20647048950195312, 0.6371936798095703, 0.40458646416664124, 0.27638885378837585, 0.7858202457427979, 0.20960167050361633, 0.42257219552993774, -0.1278434842824936, 0.2734566032886505, -0.10233937203884125, -0.41775912046432495, -0.43983152508735657, 0.39791804552078247, -0.06971532851457596, -0.35267746448516846 ]
http://arxiv.org/abs/2402.12195v2
http://arxiv.org/pdf/2402.12195v2
Browse and Concentrate: Comprehending Multimodal Content via prior-LLM Context Fusion
2024-02-19T14:59:07
2024-06-08T03:04:30
Ziyue Wang, Chi Chen, Yiqi Zhu, Fuwen Luo, Peng Li, Ming Yan, Ji Zhang, Fei Huang, Maosong Sun, Yang Liu
cs.CL
cs.CL
With the bloom of Large Language Models (LLMs), Multimodal Large Language Models (MLLMs) that incorporate LLMs with pre-trained vision models have recently demonstrated impressive performance across diverse vision-language tasks. However, they fall short to comprehend context involving multiple images. A primary reason for this shortcoming is that the visual features for each images are encoded individually by frozen encoders before feeding into the LLM backbone, lacking awareness of other images and the multimodal instructions. We term this issue as prior-LLM modality isolation and propose a two phase paradigm, browse-and-concentrate, to enable in-depth multimodal context fusion prior to feeding the features into LLMs. This paradigm initially "browses" through the inputs for essential insights, and then revisits the inputs to "concentrate" on crucial details, guided by these insights, to achieve a more comprehensive understanding of the multimodal inputs. Additionally, we develop training strategies specifically to enhance the understanding of multi-image inputs. Our method markedly boosts the performance on 7 multi-image scenarios, contributing to increments on average accuracy by 2.13% and 7.60% against strong MLLMs baselines with 3B and 11B LLMs, respectively.
[ -0.6235098242759705, -0.7184427380561829, 0.8318760991096497, 0.24755264818668365, -0.43977847695350647, -0.07212655246257782, -0.1165364682674408, -0.3674211800098419, 0.10044664144515991, 0.5582555532455444, -0.5937707424163818, -0.3279118537902832, -0.6531391143798828, 0.07287590205669403, -0.23917388916015625, 0.38496869802474976, -0.20719066262245178, 0.23443320393562317, -0.6185051798820496, -0.11378432810306549, -0.7042030096054077, -0.2786930203437805, -0.45492348074913025, -0.21746088564395905, 0.5468289256095886, 0.18170206248760223, 0.2857412099838257, 0.3468165397644043, 0.5095009207725525, 0.3410629332065582, -0.07098059356212616, 0.5349048972129822, -0.5909339189529419, 0.39770522713661194, -0.21267811954021454, -0.558963418006897, -0.023293133825063705, -0.0636138916015625, 0.7446427345275879, 0.5870798826217651, 0.20818541944026947, -0.20789146423339844, 0.2981932461261749, 0.5963738560676575, -1.1942602396011353, -0.0010341490851715207, -0.6151217222213745, 0.006011880934238434, -0.19850358366966248, -0.3057776391506195, -0.6109374761581421, 0.3226519823074341, 0.42334944009780884, -0.8298419117927551, 0.18511001765727997, -0.03550875559449196, 0.8767603635787964, 0.42643308639526367, -0.6697191596031189, 0.1510317176580429, -0.4822806119918823, 0.8483445048332214, -0.17623575031757355, 0.6662050485610962, 0.5432149767875671, 0.19979746639728546, 0.1425512433052063, -0.874546229839325, -0.6000941395759583, 0.06466905772686005, -0.18695130944252014, 0.3701907694339752, 0.008097360841929913, 0.027774028480052948, 0.14953908324241638, 0.31731703877449036, -0.4541036784648895, -0.08966110646724701, -0.2820762097835541, -0.2957356572151184, 0.17735080420970917, 0.21281443536281586, 0.19740672409534454, -0.09516815096139908, -0.5691137909889221, -0.21130098402500153, -0.6928943395614624, 0.05460410565137863, -0.42417585849761963, -0.1440621167421341, -0.03359992057085037, 0.5898796319961548, -0.22502750158309937, 0.6158777475357056, 0.33428001403808594, -0.6884331703186035, 0.28843191266059875, -0.678527295589447, -0.477517306804657, -0.3241610527038574, 0.46128931641578674, 0.353934645652771, -0.12565653026103973, -0.1451655924320221, -0.16233645379543304, 0.09252790361642838, 0.3375508487224579, -0.7913147807121277, -0.1002359539270401, 0.229750394821167, -0.7218306064605713, 0.010757384821772575, -0.146286278963089, -0.5579481720924377, -0.5421187281608582, -0.4543597400188446, 0.5652896761894226, -0.3696308732032776, -0.26877838373184204, -0.07637456804513931, -0.19525201618671417, 0.3860780894756317, 0.5440741181373596, -0.701702356338501, -0.0005364136886782944, 0.3558044135570526, 0.9616663455963135, -0.4809064567089081, -0.5453785061836243, -0.6174703240394592, 0.6300368905067444, -0.11788062006235123, 0.8745777606964111, -0.6088979840278625, -0.3724856674671173, 0.28117799758911133, 0.29552730917930603, -0.43504032492637634, -0.5541257858276367, 0.22056463360786438, -0.8380945920944214, 0.24935343861579895, -0.21718080341815948, -0.3986521065235138, -0.6620187759399414, 0.4613945484161377, -0.57856285572052, 0.6337113380432129, 0.00985837820917368, -0.7533097863197327, 0.5581422448158264, -0.3513237237930298, -0.5500630736351013, -0.0411570705473423, -0.21697744727134705, 0.06509674340486526, 0.09413495659828186, 0.5348033308982849, 0.5417858362197876, -0.05222149193286896, 0.17494146525859833, -0.5126246809959412, -0.17650477588176727, 0.22831325232982635, -0.35214149951934814, 0.41068241000175476, 0.09515808522701263, -0.20638471841812134, 0.4075705111026764, -0.348545640707016, -0.16786210238933563, 0.017177149653434753, -0.34188637137413025, -0.27114808559417725, 0.050279516726732254, 0.050367798656225204, 0.3110165596008301, 0.18091677129268646, -0.19727295637130737, -0.10653939843177795, -0.30774161219596863, 0.44866883754730225, 0.6045109033584595, -0.1477707475423813, 0.8261098861694336, -0.2180602252483368, 0.5397297143936157, 0.40265002846717834, 0.12360727041959763, -0.9147439002990723, -0.20872317254543304, -0.9180658459663391, -0.4906021058559418, 0.021974390372633934, 0.6811796426773071, -1.1487221717834473, 0.01304271724075079, -0.18931737542152405, 0.04973848909139633, -0.425629198551178, 0.38371923565864563, 0.4785161018371582, 0.5100036263465881, 0.46127238869667053, -0.6128627061843872, -0.2633036971092224, -1.137162446975708, 0.34445711970329285, 0.32658588886260986, -0.13870969414710999, 0.45024779438972473, 0.2938055396080017, -0.3671383559703827, 0.8581658601760864, -0.4987078607082367, -0.6308248043060303, -0.33020633459091187, -0.12296020239591599, -0.08149118721485138, 0.517886221408844, 0.3098073899745941, -1.072199821472168, -0.5289189219474792, -0.178237646818161, -0.7529089450836182, 0.28571900725364685, -0.07801369577646255, -0.2627321779727936, 0.14147573709487915, 0.6661134958267212, -0.5778754353523254, 0.3941591680049896, 0.44596749544143677, -0.08988971263170242, 0.3081631660461426, -0.06672943383455276, 0.27260342240333557, -1.0617344379425049, 0.06841598451137543, 0.0897892490029335, -0.20947574079036713, -0.6212103366851807, 0.12217845767736435, 0.23009243607521057, -0.12890537083148956, -0.6883732676506042, 0.47676920890808105, -0.7899196147918701, 0.06111174449324608, -0.3283036947250366, 0.2688335180282593, 0.5061818957328796, 0.4946328401565552, 0.370076984167099, 0.7695716023445129, 0.9546880722045898, -0.536969780921936, -0.045086439698934555, 0.28463882207870483, -0.30513349175453186, 0.60768723487854, -0.48658958077430725, 0.18026018142700195, -0.2641110420227051, 0.36559465527534485, -1.19483482837677, -0.5081177949905396, 0.23103338479995728, -0.0033562148455530405, 0.6993287205696106, -0.27160656452178955, -0.333834171295166, -0.09954030066728592, -0.3435957729816437, 0.7538694739341736, 0.3602246642112732, -0.4898509979248047, 0.9758033752441406, 0.500873863697052, -0.22870579361915588, -0.5664495825767517, -0.6847315430641174, -0.00019624062406364828, -0.16205886006355286, -0.9567276835441589, 0.5015457272529602, -0.0974375307559967, -0.11800318956375122, -0.07569459825754166, 0.02452518790960312, -0.3081204891204834, -0.0911576971411705, 0.2854994535446167, 0.23449039459228516, -0.2774465084075928, -0.06409970670938492, 0.062335021793842316, 0.006743894424289465, -0.1914655566215515, -0.16107358038425446, 0.5853240489959717, 0.08848761022090912, -0.5294942855834961, -0.5377978086471558, 0.5828065872192383, 0.588699996471405, -0.38694339990615845, 0.46028125286102295, 0.9392678141593933, -0.025686750188469887, 0.24225488305091858, -0.8672013282775879, -0.3559423089027405, -0.5187095403671265, 0.41071709990501404, -0.47732260823249817, -1.0537809133529663, 0.27647241950035095, -0.07320726662874222, -0.10912664979696274, 0.1067248284816742, 0.48824724555015564, -0.3196297883987427, 1.1176332235336304, 0.9609213471412659, 0.09991461783647537, 0.7432981133460999, -0.24662691354751587, -0.01796756312251091, -1.182738184928894, -0.5602350234985352, 0.14330840110778809, -0.36736226081848145, -0.06647907197475433, -0.6940774917602539, 0.5139513611793518, 0.3015374541282654, 0.31053051352500916, -0.21559923887252808, -0.20904073119163513, 0.6310375928878784, 0.6957336664199829, 0.46954384446144104, 0.07262716442346573, 0.13233670592308044, -0.3657519817352295, -0.08664627373218536, -0.62907475233078, -0.11586327105760574, 0.9999017119407654, 0.19105088710784912, 0.6612251400947571, -0.0033505908213555813, 0.44393718242645264, -0.10183275490999222, 0.11822394281625748, -0.8964381814002991, 0.4552586078643799, -0.16242548823356628, -0.5233202576637268, -0.04423484578728676, 0.09963508695363998, -0.9714573621749878, 0.8189651370048523, -0.3320826292037964, -0.670880913734436, 0.3619414269924164, 0.25375181436538696, -0.31045740842819214, -0.08477162569761276, -0.7692187428474426, 0.9775425791740417, -0.10977009683847427, -0.7397571206092834, -0.47235172986984253, -0.847278892993927, 0.7440697550773621, 0.04324039816856384, 0.277058482170105, 0.010176003910601139, -0.19499263167381287, 0.3345015347003937, -0.04131561517715454, 0.9892646670341492, 0.05116996541619301, -0.015275860205292702, 0.07077233493328094, 0.20235484838485718, 0.12202055752277374, 0.016535446047782898, 0.6234487295150757, -0.03364655002951622, 0.06100944057106972, -0.3044660985469818, -0.38211876153945923, 0.47727158665657043, -0.44589558243751526, -0.6906984448432922, -0.1446269452571869, -0.5619181990623474, -0.28400373458862305, 0.37459638714790344, 0.28335440158843994, 0.8756176233291626, 0.062132127583026886, 0.3830811679363251, 0.957963228225708, -0.012542246840894222, 0.5553439259529114, 0.4485224485397339, -0.32463768124580383, -0.7542556524276733, 0.8159039616584778, -0.2646419405937195, 0.3275097906589508, 0.5608593821525574, -0.1662847399711609, -0.42031407356262207, -0.7454972267150879, -0.3237355351448059, 0.2414582073688507, -0.9964784979820251, -0.05194533243775368, -0.8103252053260803, 0.07556889951229095, -0.5046654343605042, -0.36201879382133484, 0.10039796680212021, 0.10432130843400955, -0.5396126508712769, 0.43556392192840576, -0.1906019002199173, 0.47739148139953613, -0.012917516753077507, 0.4322702884674072, -1.0150030851364136, 0.5957134962081909, 0.4461328089237213, 0.033243682235479355, 0.019069025292992592, -0.43245401978492737, -0.3366093039512634, -0.15888334810733795, -0.4372100532054901, -0.8682610392570496, 0.30852973461151123, 0.35166653990745544, 0.76800137758255, 0.841705322265625, -0.35314053297042847, 0.870401918888092, -0.42040884494781494, 0.8661580085754395, 0.4881068766117096, -0.7022866606712341, 0.5869600176811218, -0.15748928487300873, 0.7468007802963257, 0.6422936320304871, 0.46347013115882874, -0.4030585289001465, -0.33781686425209045, -0.14119070768356323, -0.9344030022621155, 0.8190937638282776, -0.18099230527877808, -0.10204135626554489, -0.00724200950935483, 0.06906897574663162, -0.006155795883387327, 0.18396496772766113, -0.7607524394989014, -0.08913063257932663, -0.22254173457622528, 0.04051033407449722, -0.28583577275276184, -0.6549327969551086, -0.4065832197666168, -0.23293353617191315, 0.3198275864124298, -0.20583264529705048, -0.06698624044656754, 0.35596367716789246, -0.7087955474853516, 0.1479872614145279, -0.022671004757285118, 0.704866886138916, 0.8159387707710266, 0.0006702321115881205, 0.4920993745326996, 0.03300989046692848, -0.5999675393104553, 0.018802953884005547, -0.060856614261865616, -0.24669131636619568, -0.2113935649394989, 0.47008955478668213, 0.7127650380134583, 0.4522385597229004, -0.7329619526863098, 0.5441187620162964, -0.055702999234199524, -0.15844327211380005, -0.03584790602326393, -0.10916236788034439, 0.00939695630222559, 0.4156010150909424, 0.25422996282577515, 0.25148263573646545, 0.25957155227661133, -0.42909425497055054, 0.2262134999036789, 0.5192340016365051, -0.27917540073394775, -0.207642063498497, 0.5164548754692078, 0.3915075957775116, 0.34951332211494446, 0.5451126098632812, 0.0412532277405262, -0.504207968711853, 0.314224511384964, 0.5879732966423035, 0.9829530715942383, 0.21264173090457916, -0.029503140598535538, 0.196177676320076, 0.1561013013124466, -0.0821438729763031, 0.14839069545269012, -0.3878302574157715, -0.9849487543106079, -0.7890520095825195, -0.5813509821891785, -0.15006005764007568, 0.10102500766515732, -0.5776593685150146, 0.03813061863183975, -0.1826622486114502, -0.13277019560337067, -0.14842216670513153, -0.3344862461090088, -0.7061581015586853, -0.017979595810174942, 0.3957756459712982, 0.6969032883644104, -0.5823237299919128, 0.8940622806549072, 0.6998587846755981, -0.4069575369358063, -0.587505042552948, 0.09238096326589584, 0.18594101071357727, -0.8860574960708618, 0.8176230788230896, 0.5257191061973572, -0.2847748398780823, -0.009815727360546589, -0.3968565762042999, -0.9836611151695251, 1.1189419031143188, 0.10523009300231934, -0.4730254113674164, 0.14723064005374908, -0.38154491782188416, -0.02040359005331993, -0.4315935969352722, 0.25672537088394165, 0.4523954689502716, 0.4818803369998932, 0.35137447714805603, -0.8551428318023682, -0.0065855407156050205, -0.1406080722808838, 0.08246178179979324, 0.1557435840368271, -0.530346691608429, 0.6991328597068787, -0.1847735196352005, -0.5004310607910156, -0.11805044114589691, 0.43280720710754395, 0.0915343388915062, 0.38963133096694946, 0.6206274032592773, 0.6475446820259094, 0.4267898201942444, 0.07657832652330399, 0.9629335403442383, -0.253246545791626, -0.08878348022699356, 1.0671939849853516, -0.4147575795650482, 0.9339391589164734, 0.6173428893089294, 0.07427775114774704, 0.17491279542446136, 0.7471909523010254, 0.06819573044776917, 1.0631219148635864, -0.35959625244140625, -0.4302627146244049, -0.647854745388031, -0.37253859639167786, -0.4215116798877716, 0.563132107257843, 0.3939798176288605, -0.32975566387176514, -0.2344902902841568, 0.4262799024581909, -0.25773245096206665, -0.1661037653684616, -0.42070120573043823, 1.0358387231826782, 0.1536322832107544, -0.7217476963996887, 0.6079531908035278, -0.2672693133354187, 0.7864181399345398, -0.6760916113853455, 0.06700929254293442, -0.17515495419502258, 0.037215206772089005, -0.13285547494888306, -0.7053827047348022, 0.1090116873383522, -0.4269842505455017, -0.4376853406429291, -0.4113978445529938, 0.9067874550819397, -0.6195349097251892, -0.2542576789855957, 0.2320520430803299, 0.6657320261001587, 0.10644485056400299, -0.29163888096809387, -0.5049824118614197, 0.27423977851867676, -0.008919569663703442, -0.09612841159105301, 0.49838539958000183, 0.24137115478515625, 0.2118208259344101, 0.6727134585380554, 0.7058178782463074, -0.22459428012371063, 0.054117392748594284, 0.2753957211971283, 1.1331226825714111, -0.4325101971626282, -0.35149088501930237, -0.8927076458930969, 0.44584164023399353, 0.03997061774134636, -0.21137642860412598, 0.5945723652839661, 0.47378289699554443, 0.9416545033454895, -0.21091514825820923, 0.5554376244544983, 0.03457765281200409, 0.11222915351390839, -0.9560772776603699, 0.5076081156730652, -0.9472061395645142, -0.16528217494487762, 0.027473177760839462, -0.8833027482032776, -0.28146591782569885, 0.395021915435791, -0.19269956648349762, -0.3019036054611206, 1.0533115863800049, 0.7926792502403259, -0.10008877515792847, -0.31544744968414307, 0.5077604055404663, 0.008810955099761486, 0.11377767473459244, 0.46476343274116516, 1.147373080253601, 0.11748841404914856, 0.6429430842399597, -0.4603174924850464, -0.17847402393817902, -0.33544042706489563, -0.684974193572998, -1.0094232559204102, -0.520864725112915, -0.1287037432193756, -0.1396947056055069, -0.325526624917984, 0.45458313822746277, 1.1370797157287598, -0.6083245277404785, -0.07212594896554947, 0.21954812109470367, 0.11235176026821136, -0.14499223232269287, -0.21494802832603455, 0.21767865121364594, -0.6127683520317078, -0.768993616104126, 0.7674739360809326, 0.7246190309524536, 0.1152416244149208, -0.5581508874893188, 0.08666336536407471, -0.21200378239154816, -0.26933011412620544, 1.0210283994674683, -0.04259289801120758, -1.0478743314743042, -0.003897822694852948, 0.1289960741996765, -0.09487145394086838, 0.29023921489715576, 1.0763229131698608, -0.8636319041252136, 0.6495497226715088, 0.4858419597148895, 0.48933476209640503, 0.8264086842536926, 0.03696262091398239, 0.5286059379577637, -0.468598335981369, 0.5550668835639954, 0.1114741712808609, 0.6781064867973328, 0.2752141058444977, -0.10730268061161041, 0.17941252887248993, 0.25436025857925415, -0.29455527663230896, -0.5502170920372009, 0.4944487512111664, -1.4228330850601196, -0.6227591633796692, 1.033504843711853, -0.18951447308063507, -0.20514528453350067, -0.2958579659461975, -0.3874121308326721, -0.12621648609638214, -0.1935565322637558, 0.5108868479728699, 0.6001091599464417, -0.01180983055382967, -0.5681352615356445, -0.44345298409461975, 0.32099995017051697, 0.5354770421981812, -0.5639238357543945, -0.360462486743927, 0.8645236492156982, 0.12538790702819824, 0.2423035204410553, 0.6719287037849426, 0.012595652602612972, 0.30274367332458496, 0.15155437588691711, -0.19974590837955475, -0.08183920383453369, -0.5935086607933044, -0.2241068184375763, 0.5619320273399353, -0.06006799265742302, -0.37967759370803833 ]
http://arxiv.org/abs/2402.12193v2
http://arxiv.org/pdf/2402.12193v2
A Chinese Dataset for Evaluating the Safeguards in Large Language Models
2024-02-19T14:56:18
2024-05-26T17:15:44
Yuxia Wang, Zenan Zhai, Haonan Li, Xudong Han, Lizhi Lin, Zhenxuan Zhang, Jingru Zhao, Preslav Nakov, Timothy Baldwin
cs.CL
cs.CL
Many studies have demonstrated that large language models (LLMs) can produce harmful responses, exposing users to unexpected risks when LLMs are deployed. Previous studies have proposed comprehensive taxonomies of the risks posed by LLMs, as well as corresponding prompts that can be used to examine the safety mechanisms of LLMs. However, the focus has been almost exclusively on English, and little has been explored for other languages. Here we aim to bridge this gap. We first introduce a dataset for the safety evaluation of Chinese LLMs, and then extend it to two other scenarios that can be used to better identify false negative and false positive examples in terms of risky prompt rejections. We further present a set of fine-grained safety assessment criteria for each risk type, facilitating both manual annotation and automatic evaluation in terms of LLM response harmfulness. Our experiments on five LLMs show that region-specific risks are the prevalent type of risk, presenting the major issue with all Chinese LLMs we experimented with. Our data is available at https://github.com/Libr-AI/do-not-answer. Warning: this paper contains example data that may be offensive, harmful, or biased.
[ 0.09213777631521225, -0.8548737168312073, 0.376364141702652, 0.23860172927379608, -0.09107612818479538, -0.2973312437534332, -0.21759678423404694, -0.6007570624351501, -0.3463783860206604, 0.5602248311042786, -0.30344250798225403, -0.5304369926452637, -0.4650919735431671, 0.01814647577702999, -0.43069955706596375, 1.0184177160263062, -0.01323188841342926, 0.11780264973640442, 0.18437258899211884, 0.16651812195777893, -0.6449418067932129, -0.6444088816642761, -0.8809007406234741, -0.08861898630857468, 0.7504244446754456, 0.24649466574192047, 0.6775081157684326, 0.48887720704078674, 0.675602376461029, 0.19097629189491272, -0.09578125178813934, 0.02794644609093666, -0.3075668513774872, -0.06613387912511826, -0.07941681891679764, -0.35864633321762085, -0.4365037679672241, -0.10059282183647156, 0.6208104491233826, 0.6362137794494629, -0.02178841643035412, 0.10681600868701935, 0.15643656253814697, 0.29878172278404236, -0.5761433243751526, 0.09227614104747772, -0.7087294459342957, 0.18243460357189178, -0.33909159898757935, -0.14768725633621216, -0.6385115385055542, -0.6570096611976624, 0.24782031774520874, -0.2055622637271881, -0.38449010252952576, 0.1895272582769394, 0.8008671402931213, -0.11809144169092178, -0.677632749080658, -0.30602386593818665, -0.5011394023895264, 0.8053457140922546, -0.7254500389099121, -0.10147832334041595, 0.48043709993362427, 0.44570764899253845, -0.28649336099624634, -0.2433885782957077, -0.39495760202407837, -0.43255096673965454, -0.2013111412525177, -0.015107210725545883, -0.057960715144872665, 0.10851976275444031, 0.24319101870059967, 0.25334298610687256, -0.8416178226470947, 0.5923412442207336, -0.22929725050926208, -0.5681054592132568, 1.021977424621582, 0.48488160967826843, 0.8501153588294983, -0.27033531665802, -0.44548115134239197, -0.23786230385303497, -1.4027416706085205, 0.1485094130039215, 0.47246047854423523, 0.6771888732910156, -0.3215256333351135, 0.42718368768692017, 0.17432217299938202, 0.5190953016281128, -0.4575468599796295, -0.20144082605838776, 0.24563010036945343, -0.4516010880470276, -0.15152885019779205, 0.10090211778879166, 1.0643757581710815, 0.6455825567245483, 0.4416969418525696, -0.03456275910139084, -0.4055498242378235, -0.23127712309360504, -0.1264113336801529, -0.7254400849342346, 0.050163283944129944, 0.33971941471099854, -0.4080575108528137, -0.3084491491317749, 0.11975914239883423, -0.6932358741760254, -0.7107048630714417, 0.19825701415538788, 0.4126231074333191, -0.295136958360672, -0.21515528857707977, 0.1587812453508377, 0.1847534328699112, 0.5887752175331116, 0.051886722445487976, -0.6595103144645691, 0.009749574586749077, 0.6121072173118591, 0.6783202290534973, -0.30427905917167664, -0.2824335992336273, -0.5828121304512024, 0.10160055011510849, -0.6559081077575684, 0.6148720383644104, -0.17588944733142853, -0.5634140968322754, 0.5075277090072632, 0.3187253773212433, 0.18207499384880066, -0.5366016626358032, 0.9016974568367004, -0.3389601409435272, 0.12632109224796295, -0.4297889769077301, -0.20864342153072357, -0.25349941849708557, 0.3607787489891052, -0.6777490973472595, 0.5828506350517273, -0.288085013628006, -0.9197961688041687, 0.3006986379623413, -0.2897990942001343, -0.9009337425231934, -0.01733993925154209, -0.1248910203576088, -0.47127699851989746, -0.3252745270729065, -0.08476611971855164, 0.5724541544914246, -0.41626664996147156, 0.3672880530357361, -0.539096474647522, -0.2808258831501007, 0.3218516707420349, -0.858194887638092, 1.131611943244934, 0.34831541776657104, -0.04101654142141342, 0.36215656995773315, -0.4776400923728943, -0.07268374413251877, 0.3087681531906128, -0.30576804280281067, -0.628136932849884, -0.05849166586995125, 0.12221875041723251, 0.4868209660053253, 0.3568362891674042, -0.45615553855895996, -0.16282884776592255, -0.4124133288860321, 0.3778513967990875, 0.7678017616271973, 0.1310657262802124, 0.08817309886217117, -0.48095789551734924, 0.3228107988834381, 0.13595269620418549, 0.365793377161026, -0.23289410769939423, -0.19231218099594116, -0.5598648190498352, 0.10754042863845825, 0.0061778537929058075, 0.8515382409095764, -0.9474595189094543, 0.5923413038253784, -0.11918871849775314, -0.5854278206825256, -0.053430184721946716, -0.0211227647960186, 0.6482505202293396, 0.26524147391319275, -0.07201596349477768, 0.07165198028087616, -0.3214026093482971, -0.9793637990951538, -0.11047743260860443, -0.5748307108879089, -0.11486378312110901, 0.3821733891963959, 0.3242366313934326, -0.13831540942192078, 0.44619038701057434, -0.42735329270362854, -0.06938525289297104, -0.21302156150341034, -0.16678182780742645, 0.1430327594280243, 0.462372750043869, 0.7741127610206604, -0.6576656103134155, -0.4162910282611847, -0.010410956107079983, -0.8541082143783569, -0.179550439119339, -0.27571821212768555, -0.1462518274784088, 0.30005455017089844, 0.37693583965301514, -0.5412890315055847, 0.13929837942123413, 0.5892412066459656, -0.16670475900173187, 0.6981946229934692, 0.027063315734267235, -0.026778629049658775, -1.1385772228240967, 0.24209930002689362, 0.18807417154312134, 0.09450597316026688, -0.8012539148330688, 0.19286073744297028, 0.19202950596809387, 0.019078616052865982, -0.9327380061149597, 0.7187537550926208, -0.2000323385000229, 0.1524355411529541, -0.11975707858800888, 0.21213588118553162, -0.12843546271324158, 0.017219074070453644, 0.14670883119106293, 0.7809821963310242, 0.6701956391334534, -0.7817879319190979, 0.3398880660533905, 0.2532811760902405, -0.5077154636383057, 0.10140757262706757, -0.6929649114608765, 0.032165512442588806, 0.052908141165971756, 0.0672847107052803, -0.7488779425621033, -0.3273804187774658, 0.3292704224586487, -0.19660139083862305, 0.27148714661598206, 0.06199967861175537, -0.5577181577682495, -0.47439271211624146, -0.6799651980400085, 0.22764301300048828, 0.3522019684314728, -0.5477269291877747, 0.057943254709243774, 0.6610031127929688, -0.3781541883945465, -0.8177372813224792, -0.9258162975311279, 0.22446869313716888, -0.7043492794036865, -0.5375037789344788, -0.1659005582332611, -0.20369373261928558, -0.4489578306674957, -0.2193581610918045, 0.15632499754428864, -0.1190907210111618, 0.6541563272476196, 0.2524529993534088, 0.5695197582244873, -0.0007374576525762677, 0.1375349760055542, -0.10816924273967743, -0.03171242028474808, 0.32848992943763733, 0.18590691685676575, 0.4385533332824707, -0.04055563732981682, -0.36046895384788513, -0.23780211806297302, 0.2340659499168396, 0.2083897441625595, -0.07298341393470764, 0.6802029013633728, 0.25660035014152527, -0.7081863284111023, -0.25398221611976624, -0.14412592351436615, -0.11687445640563965, -0.5239701867103577, 0.5194050669670105, -0.0352945551276207, -0.7102441191673279, 0.5250743627548218, 0.3190425634384155, 0.4616967439651489, 0.35888922214508057, 0.667860209941864, 0.09473398327827454, 0.8730655312538147, 0.479781836271286, -0.6134595274925232, 0.29360857605934143, 0.27038055658340454, 0.3445630371570587, -0.3045571446418762, -0.13535460829734802, -0.6161754727363586, 0.2915485203266144, -0.7465961575508118, -0.1245952621102333, 0.48599591851234436, -0.2597621977329254, -0.4612535536289215, 0.3780933916568756, -0.021870678290724754, 0.4243043065071106, 0.17826707661151886, -0.11661208420991898, 0.27869561314582825, -0.15173448622226715, 0.012960197404026985, 0.1306331902742386, -0.5536381602287292, -0.7970729470252991, 0.8240845203399658, 0.6338915228843689, 1.3244951963424683, 0.2986288368701935, 0.39273133873939514, 0.26168322563171387, 0.39564967155456543, -0.8136391639709473, 0.6335268616676331, -0.29713174700737, -0.8259852528572083, -0.44124746322631836, -0.5702301859855652, -0.9970810413360596, 0.05566488206386566, -0.21213054656982422, -0.6784875392913818, -0.2914395034313202, -0.04035693779587746, -0.6519023776054382, 0.22744528949260712, -0.6086494326591492, 0.570865273475647, -0.7115728259086609, -0.13305659592151642, 0.18424813449382782, -0.6150282621383667, 0.8489363193511963, -0.5015024542808533, 0.2839205861091614, -0.1391490399837494, 0.20125293731689453, 0.5388229489326477, 0.0422261506319046, 1.0186516046524048, 0.030026428401470184, -0.6192019581794739, 0.4227489233016968, 0.22910204529762268, 0.3884386420249939, 0.03700684756040573, -0.3690745532512665, 0.20540815591812134, 0.1439533680677414, -0.20368443429470062, -0.19671641290187836, 0.8287275433540344, -0.6609522700309753, -0.7805615067481995, -0.4363479018211365, -0.5855342745780945, -0.1882070004940033, 0.45049402117729187, 0.17697401344776154, 0.2071293592453003, -0.2578909695148468, 0.11116897314786911, 0.5728219151496887, -1.0552750825881958, 0.5621231198310852, 0.7754729390144348, -0.2718394100666046, -0.00984750036150217, 0.9544590711593628, 0.22447098791599274, 0.3856099843978882, 0.23067565262317657, 0.3223862648010254, -0.3666832149028778, -0.6782613396644592, -0.37662267684936523, 0.023530520498752594, -0.8195184469223022, -0.16496068239212036, -0.18800942599773407, -0.5640352368354797, -0.364964097738266, 0.11999112367630005, -0.03678138181567192, 0.07047954946756363, -0.0419897623360157, -0.4265609085559845, 0.07800310850143433, 0.6325053572654724, -0.0032342823687940836, 0.04321905970573425, -1.0699667930603027, -0.11440794914960861, 0.15068656206130981, 0.3528801202774048, 0.08367060124874115, -0.43555736541748047, -0.2539389133453369, -0.05839868634939194, -0.13542820513248444, -0.5688438415527344, 0.421140193939209, -0.08276732265949249, 0.9117330312728882, 0.5889939069747925, 0.663880467414856, 0.21992862224578857, -0.6195102334022522, 0.9883497357368469, -0.006598203908652067, -0.644176185131073, 0.4316033124923706, -0.5290828347206116, -0.19155524671077728, 0.35928860306739807, 0.5937832593917847, -0.8191904425621033, -0.16383087635040283, -0.1385626345872879, -0.9539766907691956, 0.4607686996459961, -0.11565634608268738, 0.4847396910190582, -0.21568414568901062, 0.22375567257404327, 0.13478030264377594, -0.12410815805196762, -1.0087987184524536, -0.339426726102829, 0.2946731448173523, -0.05458306893706322, -0.11475100368261337, -0.4187912940979004, -0.3548918664455414, 0.3535875380039215, 0.7859733700752258, -0.08206507563591003, -0.1660657823085785, -0.0008224712801165879, -0.11693691462278366, -0.1930742859840393, 0.42373985052108765, 0.47053563594818115, 0.16914211213588715, -0.0012040415313094854, 0.28690093755722046, 0.45775777101516724, -0.3973686397075653, 0.2172810584306717, -0.011684892699122429, -0.34148404002189636, -0.3886397182941437, 0.6598725914955139, 0.5288333296775818, -0.18791629374027252, -0.9346701502799988, 0.5349810123443604, -0.115638367831707, 0.09806406497955322, -0.5054033398628235, 0.03360164165496826, -0.13216876983642578, -0.25480490922927856, 0.11816398054361343, -0.5172478556632996, 0.18636086583137512, -0.5330526828765869, 0.3007982671260834, 0.5642312169075012, -0.3391156792640686, -0.34089353680610657, 0.3307929039001465, 0.4590769410133362, -0.11294087767601013, 0.32231080532073975, -0.029252735897898674, -0.4996929466724396, 0.6287928223609924, 0.4023577570915222, 0.8550357818603516, -0.2534961402416229, 0.07273375242948532, 0.3856404721736908, 0.7587363123893738, 0.0804852768778801, 0.36971473693847656, 0.7102370858192444, -0.8588488698005676, -0.20854642987251282, -0.30120623111724854, -0.4549620747566223, 0.5991344451904297, -0.5171324610710144, 0.3577788472175598, -0.6785222887992859, -0.0759376585483551, -0.33163395524024963, 0.02679888717830181, -0.18584054708480835, 0.0906461700797081, 0.6379333138465881, 1.011136770248413, -1.1977976560592651, 0.7668569087982178, 0.5228741765022278, -0.3094102144241333, -0.8943520784378052, 0.31125739216804504, 0.23213568329811096, -0.8361729979515076, 0.5068172216415405, 0.3631865382194519, -0.06533285230398178, -0.6492142081260681, -0.40663397312164307, -0.6346114277839661, 0.9521719813346863, 0.45448341965675354, -0.8288113474845886, 0.14536553621292114, 0.46684741973876953, 0.4627322852611542, 0.0854625552892685, 0.10589563846588135, 0.6623926758766174, 0.48597031831741333, -0.31171876192092896, -1.0340105295181274, 0.27202996611595154, -0.09375918656587601, -0.04527163505554199, -0.13444356620311737, -0.9547455906867981, 0.8969264030456543, -0.22738675773143768, -0.5180919170379639, 0.22221694886684418, 0.26547563076019287, 0.4154130816459656, 0.31068676710128784, 0.5780275464057922, 0.06563811004161835, 0.6737334728240967, -0.09664390236139297, 1.308398723602295, -0.3489263951778412, 0.1300542801618576, 0.9383547306060791, -0.5497439503669739, 0.78973388671875, 0.16781973838806152, -0.12210125476121902, -0.02346235141158104, 0.8781231045722961, 0.06699314713478088, 0.2929234802722931, 0.35969844460487366, -0.20697684586048126, -0.2732726037502289, -0.487581729888916, -0.20523804426193237, 0.2803202271461487, 0.41421064734458923, -0.2659570574760437, -0.23072607815265656, -0.05852974206209183, 0.22960412502288818, -0.044612105935811996, -0.36591169238090515, 0.5643011331558228, 0.36508363485336304, -0.4823274314403534, 0.4119001626968384, 0.0032467059791088104, 0.745547890663147, -0.575727105140686, 0.029846517369151115, -0.31366831064224243, 0.05514897406101227, -0.24715197086334229, -1.2214741706848145, 0.25790777802467346, 0.1511603146791458, 0.1696864813566208, 0.18435831367969513, 0.7761189341545105, -0.4329192340373993, -0.36005762219429016, 0.4517335295677185, 0.323220431804657, 0.16805711388587952, 0.3108997046947479, -0.617396354675293, 0.07502514123916626, -0.12423822283744812, -0.3215751051902771, 0.4592093527317047, 0.38219958543777466, -0.6319840550422668, 1.0247682332992554, 0.5094608664512634, 0.09690529108047485, -0.15385037660598755, 0.19854359328746796, 0.7435352206230164, -0.6224034428596497, -0.31431350111961365, -1.0023022890090942, 0.2155434936285019, 0.1294780671596527, -0.13083001971244812, 0.9874067306518555, 0.3377026319503784, 0.6149185299873352, 0.08456346392631531, 1.094252347946167, 0.08326257020235062, 0.31954482197761536, -0.6924937963485718, 1.0760083198547363, -0.40573522448539734, 0.5263185501098633, -0.39076536893844604, -0.5820005536079407, -0.6145447492599487, 0.30112406611442566, -0.494937002658844, -0.04728683456778526, 0.4007473587989807, 0.8537440299987793, 0.5121342539787292, -0.1673814207315445, 0.6193330883979797, 0.40864434838294983, 0.6878972053527832, 0.841386616230011, 1.1479979753494263, -0.3187227249145508, 0.6376755833625793, -0.2548674941062927, -0.04577562212944031, -0.07837476581335068, -1.1416651010513306, -1.1007261276245117, -0.35777461528778076, -0.11398100852966309, -0.3921421468257904, 0.04672776907682419, 0.9594838619232178, 0.456582635641098, -1.1015117168426514, -0.22691646218299866, 0.49594512581825256, 0.16130317747592926, 0.2891274094581604, -0.17202460765838623, 0.5809338092803955, -0.11826514452695847, -0.6890602111816406, 0.2738856077194214, 0.12505009770393372, 0.32303586602211, -0.4043876826763153, -0.01996660605072975, 0.18368376791477203, 0.10547004640102386, 0.6497577428817749, 0.3059469759464264, -0.6124017238616943, -0.7968540191650391, -0.11862428486347198, -0.5028408765792847, -0.41621890664100647, 0.38506606221199036, -0.03372512012720108, 0.022241108119487762, 0.5325385332107544, 0.8130560517311096, -0.4392361640930176, -0.3253308832645416, 0.6863106489181519, -0.5387834906578064, 0.2642342448234558, 0.12872691452503204, 0.6741674542427063, 0.4464988708496094, -0.6484167575836182, 0.420188844203949, -0.17361916601657867, -0.46007177233695984, -0.8965197205543518, 0.2929166257381439, -0.8601022958755493, -0.2637203633785248, 1.5281460285186768, -0.5497230887413025, -0.15387918055057526, -0.20903107523918152, -0.3781573176383972, 0.10010261833667755, -0.19827285408973694, 0.8799781203269958, 0.8217318058013916, 0.26537638902664185, 0.02342444285750389, -0.691525936126709, 0.5276241302490234, 0.24070750176906586, -0.9583778381347656, 0.5604670643806458, 0.4660552442073822, 0.4957207143306732, -0.02628251351416111, 0.22668366134166718, -0.291742742061615, 0.3129385709762573, -0.24018387496471405, -0.08676576614379883, 0.07071173191070557, -0.3563776910305023, -0.6238102912902832, -0.18269051611423492, 0.4335646331310272, 0.046994876116514206 ]
http://arxiv.org/abs/2402.14846v3
http://arxiv.org/pdf/2402.14846v3
Stick to Your Role! Context-dependence and Stability of Personal Value Expression in Large Language Models
2024-02-19T14:53:01
2024-04-30T07:09:22
Grgur Kovač, Rémy Portelas, Masataka Sawayama, Peter Ford Dominey, Pierre-Yves Oudeyer
cs.CL
cs.CL, cs.AI, cs.LG, 68T07, I.2.7
The standard way to study Large Language Models (LLMs) with benchmarks or psychology questionnaires is to provide many different queries from similar minimal contexts (e.g. multiple choice questions). However, due to LLMs' highly context-dependent nature, conclusions from such minimal-context evaluations may be little informative about the model's behavior in deployment (where it will be exposed to many new contexts). We argue that context-dependence (specifically, value stability) should be studied a specific property of LLMs and used as another dimension of LLM comparison (alongside others such as cognitive abilities, knowledge, or model size). We present a case-study on the stability of value expression over different contexts (simulated conversations on different topics) as measured using a standard psychology questionnaire (PVQ) and on behavioral downstream tasks. Reusing methods from psychology, we study Rank-order stability on the population (interpersonal) level, and Ipsative stability on the individual (intrapersonal) level. We consider two settings (with and without instructing LLMs to simulate particular personas), two simulated populations, and three downstream tasks. We observe consistent trends in the stability of models and model families - Mixtral, Mistral, GPT-3.5 and Qwen families are more stable than LLaMa-2 and Phi. The consistency of these trends implies that some models exhibit higher value-stability than others, and that value stability can be estimated with the set of introduced methodological tools. When instructed to simulate particular personas, LLMs exhibit low Rank-Order stability, which further diminishes with conversation length. This highlights the need for future research on LLMs that coherently simulate different personas. This paper provides a foundational step in that direction, and, to our knowledge, it is the first study of value stability in LLMs.
[ -0.5671635270118713, -0.7302538156509399, 0.48827943205833435, 0.384765088558197, 0.12004844844341278, -0.053169313818216324, -0.2344696968793869, -0.3307017982006073, 0.16431987285614014, 0.5982906222343445, -0.2940119206905365, -0.08675111830234528, -0.7022743225097656, 0.010560075752437115, -0.09219279885292053, 0.8567274808883667, 0.3219341039657593, 0.018387319520115852, -0.6932130455970764, -0.5085484385490417, -0.6445152759552002, -1.1093502044677734, -0.6716752052307129, -0.1794833391904831, 0.6584993600845337, 0.23942837119102478, 0.5216646194458008, 0.24943001568317413, 0.37843382358551025, 0.30270928144454956, -0.25988444685935974, -0.3284328281879425, -0.8538267016410828, 0.6092430353164673, -0.09254612773656845, -0.34424495697021484, -0.4202735722064972, 0.17796887457370758, 0.5503267645835876, 0.7735800743103027, -0.2557241916656494, 0.14823250472545624, 0.1333950310945511, 0.3291894495487213, -0.6425341963768005, 0.1819154918193817, -0.5766266584396362, -0.5103101134300232, -0.12991179525852203, -0.15822328627109528, -0.4538739323616028, -0.10676787048578262, 0.29689261317253113, 0.006193657871335745, -0.3466826379299164, -0.16525226831436157, 0.841645359992981, 0.15656466782093048, -0.6761797666549683, 0.00029849770362488925, -0.7092278599739075, 0.8210619688034058, -0.49536412954330444, 0.16693028807640076, 0.5065622925758362, 0.2575152516365051, -0.16283459961414337, -0.4667551517486572, -0.398681104183197, -0.344801127910614, -0.12757638096809387, 0.19474898278713226, 0.16317875683307648, 0.015085908584296703, 0.23630592226982117, 0.06997708976268768, 0.18187201023101807, 0.3572709858417511, -0.4154278635978699, 0.0010628250893205404, 0.5551314353942871, 0.3234933316707611, 0.05574525520205498, -0.05956439673900604, -0.3067704141139984, -0.16367922723293304, -1.0594898462295532, 0.40917012095451355, 0.021424589678645134, 0.1568104326725006, -0.047279126942157745, 0.5878435969352722, -0.10880854725837708, 0.19820931553840637, 0.35917556285858154, -0.5398953557014465, -0.1506996899843216, -0.027325838804244995, 0.012669761665165424, -0.03196059912443161, 0.5266827940940857, 0.4927125871181488, 0.20984004437923431, 0.04862533137202263, -0.11532570421695709, -0.06536570191383362, 0.3406572639942169, -0.902867317199707, 0.21646425127983093, 0.15919451415538788, -0.4709721803665161, -0.19894744455814362, -0.12188609689474106, -0.5114820599555969, -0.39720618724823, -0.09547549486160278, 0.3100951015949249, -0.03294089436531067, -0.21005162596702576, -0.34153085947036743, 0.44629260897636414, 0.31542959809303284, 0.4749491810798645, -1.1291598081588745, 0.5524563193321228, 0.5496115684509277, 0.7419917583465576, -0.33713963627815247, -0.5099733471870422, -0.8560723066329956, 0.051256269216537476, -0.22901590168476105, 0.5403842329978943, -0.4305863678455353, -0.591712236404419, 0.03478957340121269, 0.05089152231812477, -0.11520963162183762, -0.6552984118461609, 0.27190208435058594, -0.5387897491455078, 0.28662893176078796, -0.5628488063812256, -0.5458092093467712, 0.19888941943645477, 0.30001184344291687, -0.4461982250213623, 0.8681022524833679, 0.18840214610099792, -0.6338446140289307, 0.4343816041946411, -0.4959537982940674, -0.2848826050758362, -0.05037856847047806, -0.4622962772846222, -0.14938975870609283, 0.19638237357139587, -0.32759538292884827, 0.4992712140083313, -0.2756473124027252, 0.13084420561790466, -0.5671902894973755, -0.3737805187702179, 0.5181423425674438, -0.3322637379169464, 0.8033304810523987, -0.1264430731534958, -0.17398090660572052, 0.06637713313102722, -0.526517391204834, -0.018859218806028366, -0.13649673759937286, -0.490753173828125, -0.4178287982940674, 0.3004470765590668, -0.1159517839550972, 0.6898296475410461, 0.11767323315143585, -0.49027082324028015, 0.18898673355579376, -0.2230454385280609, 0.3524821996688843, 0.8494642376899719, 0.3055879473686218, 0.26664698123931885, -0.3571856617927551, 0.6191702485084534, 0.09782920777797699, -0.12385306507349014, 0.005798756144940853, -0.49207016825675964, -0.5397577881813049, -0.18984226882457733, 0.15254050493240356, 0.44993463158607483, 0.00639793137088418, 0.2267739623785019, -0.4088071286678314, -0.12854254245758057, -0.27196136116981506, -0.046943653374910355, 0.27428558468818665, 0.49968773126602173, 0.10858506709337234, -0.2584843337535858, -0.24789853394031525, -0.9086004495620728, 0.008094887249171734, -0.43018820881843567, 0.04951079934835434, 0.24978692829608917, 0.5617986917495728, -0.27086275815963745, 1.2097429037094116, -0.3365732431411743, -0.13542461395263672, -0.2514307200908661, 0.08143536001443863, -0.09467747062444687, 0.34286391735076904, 0.5429632663726807, -0.8143898248672485, -0.3932400345802307, -0.20191368460655212, -0.5047900080680847, -0.23940211534500122, -0.01074572280049324, -0.1499045044183731, 0.46628227829933167, 0.3533381521701813, -0.4797782897949219, 0.22656062245368958, 0.9661101698875427, -0.5210936069488525, 0.441123366355896, -0.12160911411046982, -0.02675323188304901, -1.1500880718231201, 0.15214554965496063, 0.06316542625427246, -0.26257675886154175, -0.7389444708824158, -0.16204789280891418, -0.08436468988656998, 0.1425657570362091, -0.2773987352848053, 0.624194860458374, -0.07689294964075089, -0.12181270867586136, -0.24252957105636597, -0.033543169498443604, -0.1002637967467308, 0.1934628188610077, 0.17342889308929443, 0.8987928628921509, 0.3003518879413605, -0.7179842591285706, -0.08639450371265411, 0.42226994037628174, -0.18148638308048248, 0.7007787823677063, -0.7470401525497437, 0.11190178990364075, 0.03170608729124069, 0.09430915117263794, -0.8475794792175293, -0.2810462713241577, 0.14769481122493744, -0.18598903715610504, 0.17915299534797668, -0.22117732465267181, -0.46900495886802673, 0.3189948797225952, -0.02923278696835041, 0.24133539199829102, 0.7007784247398376, -0.3703289031982422, 0.3768594563007355, 0.727375328540802, -0.3586871027946472, -0.39822906255722046, -0.4999742805957794, -0.008658111095428467, -0.47337058186531067, -0.7487277984619141, 0.369790643453598, -0.24674122035503387, -0.7483704686164856, -0.19664952158927917, -0.28285712003707886, -0.3365718424320221, 0.274742066860199, 0.5759158730506897, 0.15834744274616241, 0.04183802008628845, 0.11921843141317368, 0.11500141024589539, -0.049725063145160675, 0.1629491001367569, 0.2697423994541168, 0.38432806730270386, -0.4117119610309601, -0.12352156639099121, 0.05300217866897583, 0.3244865834712982, 0.8284003138542175, -0.16384315490722656, 1.1141443252563477, 0.1402013748884201, -0.1698645055294037, 0.17446739971637726, -0.6352264881134033, -0.2105097770690918, -0.49279043078422546, 0.19285719096660614, -0.4916702210903168, -1.2263591289520264, 0.7695348858833313, -0.1268547624349594, 0.03415355086326599, 0.21364301443099976, 0.756460964679718, -0.332161545753479, 0.9184390306472778, 0.8147993683815002, 0.0680166482925415, 0.2565819025039673, 0.09994927048683167, 0.13836660981178284, -0.8855965733528137, -0.08549462258815765, -0.1469285637140274, -0.17404396831989288, -0.6487457156181335, -0.19180305302143097, 0.6028839945793152, 0.15582136809825897, -0.2709008753299713, -0.15555070340633392, -0.044725582003593445, 0.2741158604621887, 0.15797758102416992, -0.18702615797519684, 0.25528275966644287, -0.3154923915863037, 0.1886933594942093, -0.1483372449874878, -0.486837238073349, -0.7057512998580933, 0.8374789953231812, 0.3444017767906189, 0.7564552426338196, 0.2561732828617096, 0.6036436557769775, 0.09029895067214966, 0.5582882165908813, -0.6942087411880493, 0.6330627202987671, -0.012951855547726154, -0.5912708640098572, -0.44413381814956665, -0.3592066168785095, -1.01930570602417, 0.4378049373626709, -0.05823130160570145, -1.0209723711013794, 0.2432093471288681, 0.14411887526512146, -0.36577191948890686, -0.3859196603298187, -0.4960857927799225, 1.044578194618225, -0.4165407121181488, -0.5415427684783936, -0.09171715378761292, -0.7684744000434875, 0.3516387641429901, -0.006858694367110729, 0.05952773243188858, -0.30470210313796997, -0.16767540574073792, 0.4912807047367096, -0.44424086809158325, 0.977681577205658, -0.06991863250732422, -0.3129459023475647, 0.11954296380281448, 0.09055157005786896, 0.2185654491186142, 0.27888432145118713, -0.22947539389133453, 0.004828875418752432, 0.5429949760437012, -0.3158451318740845, -0.6230223178863525, 0.8852056860923767, -0.819647490978241, -0.8895928263664246, -0.5330525636672974, -0.3619479537010193, -0.27795329689979553, 0.2770666182041168, 0.2257523238658905, 0.30401360988616943, -0.4051975905895233, 0.5789332985877991, 0.7043001055717468, -0.075804203748703, 0.35654592514038086, 0.3179716467857361, -0.37598472833633423, -0.2926480174064636, 0.5073753595352173, 0.5341132879257202, 0.7515430450439453, 0.2602672576904297, 0.2817656695842743, -0.1695883721113205, -0.18547064065933228, -0.08087529242038727, 0.08310072869062424, -0.7439090013504028, 0.10718043893575668, -0.30807408690452576, -0.08030793815851212, -0.24822354316711426, -0.13293571770191193, -0.4780339002609253, -0.1928311437368393, 0.05205117166042328, 0.06637336313724518, 0.12590129673480988, 0.615345299243927, 0.3711518347263336, 0.16673873364925385, -0.5424100160598755, 0.03493190184235573, 0.43392542004585266, 0.3068547546863556, -0.32061314582824707, -0.35479405522346497, -0.3388756215572357, -0.09633044898509979, -0.26200294494628906, -0.9061782956123352, 0.26158618927001953, 0.11557170003652573, 0.6390025019645691, 0.520776093006134, 0.20681875944137573, 0.5893958806991577, -0.13527192175388336, 0.9236814975738525, -0.087397001683712, -1.161094307899475, 0.2621113061904907, -0.6523337364196777, 0.2775163948535919, 0.7617450952529907, 0.17203788459300995, -0.8986528515815735, -0.26152923703193665, -0.5077613592147827, -0.834929347038269, 0.7266503572463989, 0.1723650097846985, 0.33984193205833435, -0.09067762643098831, 0.5774295926094055, -0.08041932433843613, 0.3947512209415436, -0.920871913433075, -0.23970113694667816, -0.12199222296476364, 0.09926049411296844, 0.11234557628631592, -0.543663501739502, -0.40270230174064636, -0.3576175272464752, 0.32997575402259827, -0.2844059467315674, 0.3014138340950012, -0.06511636823415756, -0.0044173295609653, 0.08138685673475266, 0.07318519055843353, 0.6823814511299133, 0.9400591850280762, -0.29032212495803833, 0.18956731259822845, 0.46060436964035034, -0.27288374304771423, 0.29769381880760193, -0.4044418931007385, -0.07767676562070847, -0.3878333270549774, 0.07519856095314026, 0.6498816013336182, 0.6051873564720154, -0.8255285620689392, 0.6810210347175598, -0.060423120856285095, 0.01742224395275116, -0.5715680122375488, -0.0066063422709703445, 0.3780430257320404, 0.03489398583769798, -0.013385911472141743, -0.07536845654249191, -0.36255234479904175, -0.8509069681167603, 0.03280146047472954, 0.47089704871177673, -0.09476516395807266, -0.23464740812778473, 0.642461895942688, 0.1832031011581421, -0.12819088995456696, 0.5982425212860107, -0.16416631639003754, -0.2509395182132721, 0.4782419502735138, 0.6126960515975952, 0.8478126525878906, -0.19906625151634216, 0.12347862869501114, -0.07750211656093597, 0.09017175436019897, -0.2755242884159088, 0.14026160538196564, 0.1167823076248169, -0.8793621063232422, -0.28215253353118896, -0.4846874177455902, -0.6506898999214172, 0.2128952294588089, -0.7730081081390381, 0.20895841717720032, -0.6475520133972168, -0.3613838255405426, -0.5131440162658691, 0.017576664686203003, -0.2824360132217407, 0.07783807069063187, 0.1171487495303154, 0.4845128357410431, -0.6390542387962341, 1.0668221712112427, 0.6241446733474731, -0.2425202578306198, -0.4603908658027649, 0.4616846442222595, -0.05135597661137581, -0.39516568183898926, 0.9936999082565308, 0.3127609193325043, -0.3944449722766876, -0.15426309406757355, -0.35155120491981506, -1.2271677255630493, 1.2952208518981934, 0.5213050842285156, -0.26858747005462646, 0.1402459293603897, -0.05724993348121643, 0.7382199764251709, -0.7519614696502686, 0.1036299616098404, 0.49800485372543335, 0.4360651671886444, 0.11872866004705429, -0.9102156758308411, 0.034370534121990204, -0.16762320697307587, 0.27513283491134644, -0.01271733921021223, -1.1107300519943237, 0.8238061666488647, 0.05908900871872902, -0.07993242144584656, 0.21294507384300232, 0.3901160955429077, 0.44575637578964233, 0.05403660610318184, 0.4605049192905426, 0.22118477523326874, 0.632531464099884, 0.004893484991043806, 1.0615079402923584, -0.6809362173080444, 0.3348608911037445, 0.9864012002944946, -0.4457685947418213, 1.083189606666565, 0.6084579825401306, 0.028395796194672585, 0.42515894770622253, 0.5466822981834412, -0.04091294854879379, 0.2709776759147644, 0.1595717817544937, -0.23583269119262695, -0.2783811092376709, 0.14155665040016174, -0.12848301231861115, 0.6052898168563843, 0.3583734333515167, -0.3280177414417267, 0.20839063823223114, -0.18046687543392181, 0.2199542373418808, -0.14942215383052826, -0.03533531352877617, 0.5038430094718933, 0.22763307392597198, -0.7484011054039001, 0.6139008402824402, 0.0021995396818965673, 0.3463234603404999, -0.7464343905448914, 0.2652384340763092, -0.19879260659217834, 0.08109231293201447, -0.1487320065498352, -0.5887331366539001, 0.27098673582077026, -0.08932936936616898, -0.26164835691452026, -0.6261525750160217, 0.5534822344779968, -0.3161499798297882, -0.29561254382133484, 0.4429747760295868, 0.645853579044342, 0.08451061695814133, 0.14629217982292175, -0.2908068597316742, 0.33123958110809326, -0.5289989709854126, -0.5977534651756287, 0.8664267659187317, 0.2313888818025589, -0.20930516719818115, 0.6775823831558228, 0.16220661997795105, 0.02872326411306858, 0.16470582783222198, -0.06704289466142654, 0.7232052683830261, -0.5560288429260254, -0.29161450266838074, -0.8774653077125549, 0.6542447209358215, -0.11433662474155426, -0.7085968255996704, 0.9631345868110657, 0.2818896174430847, 0.806109607219696, 0.18568523228168488, 0.7557593584060669, -0.1858712136745453, 0.08212704956531525, -0.4266221821308136, 0.722626805305481, -0.3834023177623749, 0.5589175820350647, -0.2592003643512726, -0.928920567035675, -0.09722138196229935, 0.5891162753105164, -0.5381556749343872, 0.19803792238235474, 0.6095045208930969, 0.5629067420959473, 0.223247691988945, -0.315936803817749, 0.48046809434890747, 0.37528905272483826, 0.5409441590309143, 0.10862098634243011, 0.8362529873847961, 0.13006457686424255, 0.29363811016082764, -0.42217740416526794, -0.19822347164154053, -0.32709717750549316, -0.8747321367263794, -0.8525388836860657, -0.6124135255813599, -0.4365612268447876, -0.39397040009498596, -0.047349367290735245, 1.0354626178741455, 0.8526137471199036, -0.49172496795654297, -0.6430809497833252, 0.004502991214394569, 0.0050058625638484955, -0.3206596374511719, -0.22676067054271698, 0.03666350618004799, -0.39031827449798584, -0.6305148005485535, 0.329555869102478, 0.4778498709201813, -0.08696901798248291, -0.49735990166664124, -0.1752825230360031, 0.03083270974457264, 0.20607008039951324, 0.874018669128418, 0.4120016098022461, -0.737852931022644, -0.5152179002761841, -0.027315830811858177, -0.11311421543359756, 0.3038851320743561, 0.7136369943618774, -0.696575939655304, 0.293139785528183, 0.356953889131546, 0.5894157886505127, 0.4030243754386902, 0.3195042908191681, 0.6756088733673096, -0.6286944150924683, -0.10837382823228836, 0.1620113104581833, 0.3415464162826538, 0.16055412590503693, -0.4172993302345276, 0.26531827449798584, 0.259358286857605, -0.8451849818229675, -0.7864506840705872, 0.5489576458930969, -1.0437511205673218, -0.03308822587132454, 1.2970176935195923, -0.21656695008277893, 0.0713525339961052, 0.007493995130062103, -0.2245379239320755, -0.15984903275966644, -0.44575411081314087, 1.048163890838623, 0.8320260047912598, -0.6599498391151428, -0.4113357663154602, -0.5072811841964722, 0.38537847995758057, 0.49621185660362244, -0.7179574370384216, 0.12421449273824692, 0.5006060600280762, 0.43588751554489136, 0.21173095703125, 0.8011268377304077, -0.05202217027544975, -0.08779575675725937, -0.1252623051404953, -0.3896297216415405, 0.221316859126091, -0.22840307652950287, -0.4839741885662079, 0.42562946677207947, 0.46804654598236084, 0.05619366094470024 ]
http://arxiv.org/abs/2402.12189v1
http://arxiv.org/pdf/2402.12189v1
Amplifying Training Data Exposure through Fine-Tuning with Pseudo-Labeled Memberships
2024-02-19T14:52:50
2024-02-19T14:52:50
Myung Gyo Oh, Hong Eun Ahn, Leo Hyun Park, Taekyoung Kwon
cs.CL
cs.CL, cs.CR, cs.LG, I.2.7; K.6.5
Neural language models (LMs) are vulnerable to training data extraction attacks due to data memorization. This paper introduces a novel attack scenario wherein an attacker adversarially fine-tunes pre-trained LMs to amplify the exposure of the original training data. This strategy differs from prior studies by aiming to intensify the LM's retention of its pre-training dataset. To achieve this, the attacker needs to collect generated texts that are closely aligned with the pre-training data. However, without knowledge of the actual dataset, quantifying the amount of pre-training data within generated texts is challenging. To address this, we propose the use of pseudo-labels for these generated texts, leveraging membership approximations indicated by machine-generated probabilities from the target LM. We subsequently fine-tune the LM to favor generations with higher likelihoods of originating from the pre-training data, based on their membership probabilities. Our empirical findings indicate a remarkable outcome: LMs with over 1B parameters exhibit a four to eight-fold increase in training data exposure. We discuss potential mitigations and suggest future research directions.
[ -0.3741707503795624, -0.676213264465332, 0.16807863116264343, -0.4785674512386322, -0.35919833183288574, -0.03808671236038208, -0.2460443675518036, -0.42829495668411255, 0.08265350759029388, 0.46479618549346924, -0.5078400373458862, -0.19320495426654816, -0.6326649188995361, -0.1736876219511032, -0.4658088684082031, 1.2373126745224, 0.5244185328483582, -0.1697510927915573, -0.038203395903110504, -0.026396481320261955, -0.3680184781551361, -0.9834495186805725, -0.4067595899105072, -0.18990583717823029, 0.728870689868927, 0.23467133939266205, 0.861122727394104, 0.7269009947776794, 0.19554702937602997, 0.30943912267684937, 0.08696232736110687, 0.14921927452087402, -0.7704442739486694, -0.06846024096012115, 0.04926304519176483, -0.8285956978797913, -0.3662143051624298, 0.06875661760568619, 0.7790185213088989, 0.6731352806091309, 0.16476702690124512, 0.08399317413568497, 0.02298368327319622, 0.5821075439453125, -0.6310902833938599, -0.2876090705394745, -1.262853741645813, 0.038583751767873764, -0.3828478753566742, -0.4915195405483246, -0.5001225471496582, -0.14990663528442383, 0.1139523833990097, -0.3914192318916321, 0.20160776376724243, -0.07054179161787033, 0.9255385994911194, 0.21525155007839203, 0.01825897768139839, -0.24945972859859467, -0.7302548885345459, 0.6159025430679321, -0.7962822914123535, 0.27558714151382446, 0.5961750745773315, 0.16507300734519958, -0.31581783294677734, -0.7933428883552551, -0.4979921281337738, -0.1554848849773407, -0.18999062478542328, -0.1600576937198639, -0.1499510556459427, 0.07691145688295364, 0.2830118238925934, 0.4459865987300873, -0.4604068994522095, 0.4172080457210541, -0.456233412027359, -0.2894209027290344, 0.5254943370819092, 0.05777634307742119, 0.5009439587593079, 0.17590464651584625, -0.21782755851745605, -0.14759907126426697, -0.9135395884513855, -0.09618016332387924, 0.8053112626075745, 0.48898202180862427, 0.0728788748383522, 0.5656518340110779, 0.09649395942687988, 1.002065658569336, 0.019370360299944878, 0.2120356261730194, 0.13380122184753418, -0.366083562374115, -0.2677355408668518, 0.27360981702804565, 0.8200388550758362, 0.11510627716779709, 0.45629993081092834, -0.3293101489543915, -0.2611841857433319, -0.03227052837610245, 0.5929229259490967, -0.8933321833610535, -0.6722791194915771, -0.03484639897942543, -0.331266850233078, -0.5950531363487244, 0.006771468557417393, -0.7194699048995972, -0.3017726540565491, -0.2530892789363861, 0.6893677115440369, -0.39652368426322937, -0.13091523945331573, -0.040467310696840286, -0.031167976558208466, -0.05789710953831673, -0.3037470281124115, -0.8991302847862244, -0.03012496419250965, 0.44302254915237427, 0.6167888641357422, 0.20864903926849365, -0.10780636966228485, -0.3572731018066406, 0.039126913994550705, -0.4392368197441101, 0.3132942020893097, -0.4733172059059143, -0.2626655697822571, -0.05433937907218933, -0.27124953269958496, -0.17909537255764008, -0.5701819062232971, 0.2940622866153717, -0.8610153794288635, 0.16248181462287903, 0.10797454416751862, -0.6798229217529297, 0.36301469802856445, 0.33962002396583557, -0.6189978718757629, 0.8460623621940613, 0.14835521578788757, -0.7707902789115906, 0.27664193511009216, -0.3053376078605652, -0.31945639848709106, -0.029027575626969337, -0.0528906024992466, -0.8300804495811462, 0.24429866671562195, 0.13540305197238922, 0.37299844622612, 0.11456677317619324, 0.0035604515578597784, -0.37690532207489014, -0.29857033491134644, 0.6505987644195557, -0.5193619132041931, 0.6082460284233093, 0.22029247879981995, -0.15287667512893677, 0.11852971464395523, -1.0395087003707886, 0.347873330116272, 0.10439250618219376, -0.2524934411048889, -0.7244464159011841, 0.04801586642861366, -0.46630555391311646, 0.3270106613636017, 0.13583046197891235, -0.19749000668525696, 0.19324274361133575, -0.9417886137962341, 0.2561148703098297, 0.7411516904830933, 0.2563691735267639, 0.5047578811645508, -0.17822417616844177, 0.44267144799232483, -0.10758227854967117, 0.11557181924581528, -0.22018291056156158, -0.08882170170545578, -0.695965051651001, -0.3631111681461334, 0.5731918811798096, 0.20279835164546967, -0.952656090259552, 0.624068558216095, -0.34343624114990234, -0.7774470448493958, -0.5761157870292664, 0.26111918687820435, 0.5199406147003174, 0.5960612893104553, 0.5368321537971497, -0.0739268958568573, -0.7182281613349915, -0.9203903675079346, -0.5584086775779724, -0.17438571155071259, -0.2226075679063797, 0.30507877469062805, 0.15394726395606995, -0.13701876997947693, 0.9783431887626648, -0.5834357738494873, -0.37627384066581726, -0.2126532644033432, 0.13324390351772308, 0.17330218851566315, 0.5734803080558777, 0.7333546280860901, -0.63326495885849, -0.344598650932312, -0.1994662582874298, -0.4921531677246094, -0.03887411579489708, -0.44712069630622864, -0.020738694816827774, -0.27013006806373596, 0.7000780701637268, -0.21969468891620636, 0.4462767541408539, 0.4296642243862152, -0.061490193009376526, 0.4531126320362091, -0.22154968976974487, -0.34032881259918213, -1.0612345933914185, -0.02652818150818348, -0.12935040891170502, -0.1174587681889534, -0.995739758014679, 0.053994059562683105, 0.15220195055007935, -0.0994110181927681, -0.45412519574165344, 0.2226221263408661, -0.5651096105575562, 0.1596074253320694, -0.3996756374835968, -0.17504924535751343, -0.314601331949234, 0.3517466187477112, -0.15366651117801666, 0.8265868425369263, 0.6164147257804871, -0.7452970147132874, -0.0640590712428093, 0.13251730799674988, -0.3540450632572174, 0.11197302490472794, -0.5480773448944092, 0.4775228798389435, -0.05783700570464134, 0.1062278300523758, -0.7676310539245605, -0.09794062376022339, 0.27977466583251953, -0.6712799072265625, 0.656595766544342, -0.3638272285461426, -0.4750806391239166, -0.24153269827365875, -0.21190865337848663, 0.43105244636535645, 0.3592537045478821, -0.5448383092880249, 0.24415762722492218, 0.5359207391738892, 0.12987467646598816, -0.6044819951057434, -0.6818296313285828, 0.33969494700431824, -0.46957260370254517, -0.1331876963376999, 0.3004893362522125, -0.020440462976694107, 0.18623554706573486, -0.22510682046413422, -0.05072026699781418, 0.0298421923071146, 0.4504256844520569, 0.11714866012334824, 0.19848091900348663, -0.2014223337173462, -0.007428640034049749, -0.13931764662265778, -0.07869578152894974, 0.24664466083049774, -0.4139247536659241, 0.648525595664978, 0.059252504259347916, -0.11018075793981552, -0.3275417685508728, 0.003649727674201131, 0.2384999692440033, -0.3090214431285858, 1.1250429153442383, 0.30706048011779785, -0.44572320580482483, -0.510517418384552, -0.0024725596886128187, -0.48537570238113403, -0.5539948344230652, 0.7363962531089783, -0.37519413232803345, -0.5720347166061401, 0.34319832921028137, -0.08951256424188614, -0.004063143394887447, 0.2044362723827362, 0.5049939155578613, -0.34233391284942627, 0.998891294002533, 0.5121772289276123, -0.37667620182037354, 0.6852377653121948, -0.25638148188591003, 0.25282764434814453, -0.5510546565055847, -0.16284537315368652, -0.581381618976593, -0.553523600101471, -0.36812251806259155, -0.11512427031993866, 0.14151352643966675, 0.4115157127380371, 0.1831178367137909, 0.5906235575675964, -0.48817622661590576, 0.5598905086517334, 0.4452981948852539, 0.20646512508392334, -0.25861236453056335, 0.0549963116645813, 0.08237463980913162, -0.12948884069919586, -0.9000452160835266, -0.3498718738555908, 1.3471271991729736, 0.39900222420692444, 0.553928017616272, 0.09841252118349075, 0.7786529660224915, 0.23301327228546143, 0.4348767399787903, -0.6316614747047424, 0.4864329993724823, -0.047302357852458954, -0.6358367800712585, -0.1470123678445816, -0.7373363971710205, -1.0708824396133423, -0.003537744050845504, -0.4336904287338257, -0.8175544142723083, 0.32513296604156494, 0.4656302332878113, -0.267638623714447, 0.30306392908096313, -0.7166529893875122, 0.7663361430168152, -0.3780500888824463, -0.14845946431159973, 0.06756199896335602, -0.8359155058860779, 0.38918739557266235, -0.5261811017990112, 0.18972228467464447, 0.2835995554924011, 0.23375143110752106, 0.8318738341331482, -0.5539602041244507, 1.0322265625, -0.26225537061691284, -0.06480977684259415, 0.21928249299526215, -0.03913058713078499, 0.6150403022766113, -0.13767051696777344, -0.05970879644155502, 0.09765087813138962, -0.24059586226940155, -0.274830162525177, -0.5991930961608887, 0.6014223098754883, -0.8681541681289673, -0.4911485016345978, -0.25338655710220337, -0.46351930499076843, -0.5022148489952087, 0.34092599153518677, 0.45393016934394836, 0.41859614849090576, -0.13443762063980103, 0.358970046043396, 0.6254358291625977, -0.18422497808933258, 0.4371277689933777, 0.323471337556839, 0.09102237969636917, -0.509198009967804, 1.4584304094314575, 0.2800508439540863, 0.6530812978744507, 0.13656745851039886, 0.08225889503955841, -0.29234248399734497, -0.9906080961227417, -0.3503986597061157, -0.06041434779763222, -0.5196978449821472, -0.36539608240127563, -0.5651123523712158, -0.37531623244285583, -0.1405366212129593, 0.23733849823474884, -0.29129135608673096, -0.3338281512260437, -0.7103468179702759, -0.2333415001630783, 0.06937212496995926, 0.16019009053707123, 0.0984659418463707, 0.9170597195625305, -0.8913934230804443, 0.36014610528945923, 0.16945567727088928, 0.273306667804718, -0.1481999307870865, -0.8014053702354431, -0.4853920042514801, 0.23588542640209198, -0.10438627749681473, -1.1088364124298096, 0.4205990433692932, 0.6221317052841187, 0.5563448667526245, 0.5460571646690369, 0.16371223330497742, 0.7848063707351685, -0.5474068522453308, 0.5783320069313049, 0.15665780007839203, -0.5514461994171143, 0.45058873295783997, -0.3027358651161194, 0.06974542886018753, 0.7809281945228577, 0.3437507450580597, -0.057298384606838226, -0.48467016220092773, -0.7915038466453552, -0.9728142023086548, 0.9873694777488708, 0.34870246052742004, 0.5635015368461609, 0.0404883474111557, 0.5934715867042542, -0.2110784351825714, 0.17150522768497467, -0.7632460594177246, -0.6701734662055969, -0.36707639694213867, -0.33903899788856506, -0.12087316066026688, -0.3056349754333496, -0.040181342512369156, -0.18939828872680664, 0.6777839064598083, -0.040272608399391174, -0.05385212600231171, -0.13493934273719788, -0.34188008308410645, 0.08072898536920547, 0.1064796969294548, 0.501230001449585, 0.4844079613685608, -0.13620972633361816, 0.36968374252319336, -0.0038709540385752916, -0.5586901307106018, 0.0878889411687851, 0.1877683848142624, -0.4016988277435303, 0.056121740490198135, 0.4078526794910431, 0.8330517411231995, 0.15061388909816742, -0.41204774379730225, 0.2937392592430115, -0.11497558653354645, -0.10764019936323166, -0.11338142305612564, 0.2919676899909973, 0.05230800434947014, -0.16489645838737488, 0.4122428297996521, 0.2817457318305969, -0.13151560723781586, -0.5482379794120789, 0.7043723464012146, 0.5466910600662231, -0.564828634262085, -0.5230029821395874, 0.6152166128158569, -0.12991632521152496, -0.4694303274154663, 0.43665197491645813, 0.21303020417690277, -0.7049645185470581, 0.5056296586990356, 0.7188272476196289, 0.5497596263885498, -0.4844840466976166, -0.0760352686047554, 0.40722325444221497, 0.5567644238471985, 0.21216152608394623, -0.2484988272190094, 0.03726925700902939, -0.7533190846443176, -0.05554865300655365, -0.6831075549125671, 0.17856745421886444, 0.6170014142990112, -0.7348839044570923, 0.17431771755218506, -0.5934293866157532, -0.2587130665779114, 0.2102339267730713, -0.3049550950527191, -0.38244134187698364, 0.6196485161781311, 0.22771722078323364, 0.5034461617469788, -0.8403925895690918, 1.1740427017211914, 0.39830324053764343, -0.27859872579574585, -0.7967326641082764, 0.10132580250501633, -0.20630903542041779, -0.6938996315002441, 0.3966979682445526, 0.04627605155110359, 0.21191993355751038, 0.1962762475013733, -0.33325010538101196, -0.6160659193992615, 0.3643024265766144, 0.6022616028785706, -0.7202081680297852, -0.027702245861291885, 0.5302690863609314, 0.6993786692619324, 0.03246122971177101, -0.02022663503885269, 0.7492853999137878, 0.2564418613910675, -0.2595843970775604, -0.4233679175376892, -0.21653532981872559, -0.2832586169242859, -0.2851989269256592, 0.2651556134223938, -0.0847424790263176, 0.5998747944831848, 0.007846253924071789, -0.1908619999885559, -0.10361278057098389, 0.8113107085227966, 0.09748547524213791, 0.08745638281106949, 0.7294779419898987, 0.3962669372558594, 0.6818415522575378, 0.03223932161927223, 1.02816903591156, -0.23038367927074432, 0.080646812915802, 1.5676168203353882, 0.22075019776821136, 0.5724661946296692, 0.5786389708518982, -0.011082310229539871, -0.04697709530591965, 0.683586061000824, -0.01764741539955139, 0.7814859747886658, 0.5371108651161194, -0.2149098962545395, -0.17063255608081818, 0.08765086531639099, -0.5327724814414978, 0.32455676794052124, 0.5467674136161804, -0.779063880443573, -0.04567084088921547, -0.0651785135269165, -0.02557753399014473, 0.21022090315818787, -0.35444480180740356, 1.1559209823608398, 0.2096855193376541, -0.44574105739593506, 0.766669511795044, 0.08349078893661499, 0.3976931571960449, -0.823911190032959, 0.10388895124197006, -0.034698497503995895, 0.3277387320995331, -0.28078606724739075, -0.40626272559165955, 0.34976670145988464, -0.01071560475975275, -0.08110959082841873, -0.07398679107427597, 0.8491048216819763, -0.6360861659049988, -0.5108562111854553, 0.15270446240901947, 0.04236597567796707, 0.025188438594341278, -0.12202296406030655, -0.655276894569397, -0.09748309850692749, 0.19806089997291565, -0.36258864402770996, 0.7859919667243958, 0.275281697511673, -0.011426816694438457, 0.3319767713546753, 0.9141671657562256, 0.4046526849269867, 0.4352526366710663, 0.04849955067038536, 1.2018988132476807, -0.13979150354862213, -0.34353652596473694, -1.223894715309143, 0.2988485097885132, -0.15386974811553955, -0.3893331289291382, 0.7623050212860107, 0.602651834487915, 0.8526540994644165, -0.10062523931264877, 0.6288084387779236, 0.21137233078479767, 0.21103963255882263, -0.530474066734314, 1.1601896286010742, -0.5175898671150208, 0.4828311502933502, -0.3295411765575409, -0.8529428243637085, -0.3865039050579071, 0.313317209482193, -0.339493066072464, 0.013749988749623299, 0.15627379715442657, 1.0343891382217407, -0.14580334722995758, -0.19731177389621735, 0.4345856010913849, 0.27156925201416016, 0.4580968916416168, 0.3922700583934784, 0.8308694362640381, -0.42991527915000916, 0.7286038398742676, -0.2508658170700073, -0.09682700037956238, -0.0006149603868834674, -0.7352434992790222, -1.2131255865097046, -0.3795487582683563, -0.2089744359254837, -0.264614462852478, 0.08597273379564285, 0.47035980224609375, 0.7514432072639465, -0.8945774435997009, 0.3607727289199829, -0.13637562096118927, -0.20179806649684906, 0.0883387103676796, -0.18460704386234283, 0.5432008504867554, -0.3903433382511139, -0.46687453985214233, 0.7553507685661316, -0.20817600190639496, 0.15471181273460388, -0.021808182820677757, -0.033495593816041946, -0.17871135473251343, 0.15539678931236267, 0.12425380945205688, 0.43775543570518494, -0.2613678574562073, -0.2949989438056946, -0.2955351769924164, -0.08613473176956177, 0.016708100214600563, 0.8431714177131653, -0.7251890301704407, 0.592024028301239, 0.30622121691703796, 0.9909713864326477, 0.30783259868621826, 0.12266363203525543, 0.7002004981040955, -1.4479113817214966, 0.3047234117984772, 0.4182475507259369, 0.21590615808963776, 0.18099629878997803, -0.530212938785553, 0.08930022269487381, 0.028081532567739487, -0.135112926363945, -1.2709662914276123, 0.16220872104167938, -0.5117034912109375, -0.4690140187740326, 0.7007585167884827, -0.303438276052475, -0.18388378620147705, -0.1734372079372406, -0.09092593938112259, 0.4435999393463135, 0.15668043494224548, 0.7963930368423462, 0.34221765398979187, 0.40746867656707764, -0.025822505354881287, -0.36031007766723633, 0.8298943042755127, 0.6212225556373596, -0.8356040120124817, 0.19125376641750336, 0.28811532258987427, 0.2101077139377594, 0.09241835027933121, 0.37449535727500916, -0.16888642311096191, 0.05432244390249252, -0.2194427102804184, -0.18870623409748077, -0.40448445081710815, -0.4992991089820862, -0.35232052206993103, 0.27940231561660767, 0.006456774193793535, -0.35630810260772705 ]
http://arxiv.org/abs/2402.12177v4
http://arxiv.org/pdf/2402.12177v4
Mafin: Enhancing Black-Box Embeddings with Model Augmented Fine-Tuning
2024-02-19T14:33:24
2024-03-12T16:04:23
Mingtian Zhang, Shawn Lan, Peter Hayes, David Barber
cs.LG
cs.LG, cs.AI, cs.CL
Retrieval Augmented Generation (RAG) has emerged as an effective solution for mitigating hallucinations in Large Language Models (LLMs). The retrieval stage in RAG typically involves a pre-trained embedding model, which converts queries and passages into vectors to capture their semantics. However, a standard pre-trained embedding model may exhibit sub-optimal performance when applied to specific domain knowledge, necessitating fine-tuning. This paper addresses scenarios where the embeddings are only available from a black-box model. We introduce Model augmented fine-tuning (Mafin) -- a novel approach for fine-tuning a black-box embedding model by augmenting it with a trainable embedding model. Our results demonstrate that Mafin significantly enhances the performance of the black-box embeddings by only requiring the training of a small augmented model. We validate the effectiveness of our method on both labeled and unlabeled datasets, illustrating its broad applicability and efficiency.
[ -0.7868673801422119, -1.0405585765838623, 0.36587944626808167, -0.3792279064655304, -0.5025632381439209, 0.18105395138263702, -0.18826377391815186, -0.4084734320640564, 0.1717837154865265, 0.7978247404098511, -0.2069496512413025, -0.35508793592453003, -0.6855599284172058, -0.05948364734649658, -0.0981823205947876, 0.9028979539871216, 0.1766008734703064, -0.15631891787052155, -0.1251286119222641, -0.1463133841753006, -0.5890399813652039, -0.5524646639823914, -0.6230974197387695, -0.3803843557834625, 0.25396454334259033, 0.3975306451320648, 0.8443974852561951, 0.8140407204627991, 0.301196426153183, 0.1704055219888687, -0.06079929322004318, 0.952867865562439, -0.7973108887672424, 0.13223303854465485, -0.41152340173721313, -0.2963072955608368, -0.4993375837802887, -0.08952879160642624, 0.46543240547180176, 0.5690125823020935, -0.17620114982128143, 0.29522982239723206, 0.03669562190771103, 0.4342727065086365, -1.069623589515686, -0.04744185134768486, -0.9588097333908081, 0.12288022041320801, -0.038412705063819885, -0.5023984909057617, -0.2951348125934601, 0.040872830897569656, -0.1692177951335907, -0.6625299453735352, 0.28831836581230164, 0.556290328502655, 0.7859869003295898, 0.516114354133606, -0.3736833930015564, -0.07867559045553207, -0.6505496501922607, 0.7976575493812561, -0.684958815574646, 0.6084193587303162, 0.6113920211791992, 0.35275182127952576, -0.30572620034217834, -0.35739174485206604, -0.4732586145401001, -0.1465308666229248, -0.0734645277261734, -0.34808313846588135, -0.049130942672491074, 0.08875338733196259, 0.2870638072490692, 0.5918602347373962, -0.05244598537683487, 0.008103354834020138, -0.29385778307914734, -0.17385652661323547, 0.5759866833686829, 0.020150624215602875, 0.06908359378576279, -0.12723039090633392, -0.16228847205638885, -0.16032811999320984, -0.7287158966064453, -0.30838829278945923, 0.2694036066532135, 0.6110836267471313, 0.24343368411064148, 0.9454528093338013, -0.12480582296848297, 0.8238064050674438, 0.23122669756412506, -0.0355805829167366, 0.1347796618938446, -0.040856845676898956, -0.38640469312667847, 0.0643344521522522, 0.28097015619277954, 0.2574251890182495, 0.271013468503952, -0.26497265696525574, -0.6689308881759644, 0.13262778520584106, 0.5842359066009521, -0.717144250869751, -0.24422472715377808, -0.053758710622787476, -0.2046111822128296, -0.32112258672714233, 0.0941038429737091, -0.720345675945282, -0.4893035888671875, -0.42895275354385376, 0.7959643602371216, -0.1847313940525055, -0.3446745276451111, 0.435342401266098, -0.10873743146657944, 0.1620877981185913, 0.1301870048046112, -0.8359206914901733, 0.26304107904434204, 1.0359405279159546, 0.6622747182846069, 0.02110682800412178, 0.03185007721185684, -1.057602882385254, 0.3751384913921356, -0.5806813836097717, 0.7682173848152161, -1.01497220993042, -0.42231300473213196, 0.06000089272856712, -0.011066182516515255, 0.08908465504646301, -0.7048315405845642, 0.41053876280784607, -0.5330052375793457, -0.28757530450820923, 0.062024664133787155, -0.5905950665473938, -0.1996416449546814, 0.28494611382484436, -0.5187044739723206, 1.0848432779312134, 0.03370067477226257, -0.4869934022426605, 0.22232328355312347, -0.4677661657333374, -0.42948514223098755, -0.11688343435525894, -0.0889371857047081, -0.7035015225410461, 0.5323392748832703, 0.48769739270210266, 0.779470682144165, -0.22496594488620758, 0.09758821874856949, -0.5432486534118652, -0.5653076171875, 0.043385300785303116, -0.12885405123233795, 0.09483402222394943, 0.293877512216568, -0.23074255883693695, -0.25604432821273804, -0.9719796776771545, -0.12331653386354446, -0.027259116992354393, -0.12302114814519882, -0.7744224667549133, -0.175608292222023, -0.2961258590221405, 0.03576139733195305, 0.15232700109481812, -0.49311456084251404, 0.22774386405944824, -0.6282157301902771, 0.19288402795791626, 0.6442294120788574, 0.30758145451545715, 0.5853160619735718, -0.4272092878818512, 0.5958879590034485, -0.03851399943232536, -0.051625922322273254, -0.08132348209619522, -0.24678534269332886, -0.9201841354370117, -0.2763676643371582, 0.5855657458305359, 0.3632137179374695, -0.7782208919525146, 0.21734192967414856, -0.026203341782093048, -0.2687408924102783, -1.0826220512390137, 0.29538482427597046, 0.5394393801689148, 0.32988297939300537, 0.47655460238456726, -0.17357470095157623, -0.3814341425895691, -1.0070619583129883, -0.16954739391803741, 0.5507612228393555, 0.13311098515987396, 0.6545030474662781, 0.4265979528427124, -0.46473971009254456, 0.4832349717617035, -0.6697784662246704, -0.3667741119861603, 0.15884080529212952, 0.15297865867614746, -0.10357718169689178, 0.6719166040420532, 0.3276768624782562, -0.7225604057312012, -0.24895566701889038, 0.23846693336963654, -0.3819240629673004, 0.04287354275584221, 0.14121031761169434, -0.5290969014167786, 0.051773834973573685, 0.6607645153999329, -0.19853487610816956, 0.5137374997138977, 0.50658118724823, -0.4130100607872009, 0.3649585545063019, -0.42710140347480774, 0.1936739981174469, -0.97885662317276, 0.02638169750571251, -0.23267079889774323, -0.5697612166404724, -0.39994439482688904, 0.27634140849113464, 0.1461847871541977, -0.2762993276119232, -0.332235723733902, 0.7921645641326904, -0.5991997718811035, -0.09254555404186249, -0.5398373603820801, 0.0784953385591507, 0.0994783341884613, 0.5233091711997986, -0.2862895131111145, 1.0937780141830444, 0.30035948753356934, -0.8733108043670654, -0.10143439471721649, 0.4217093884944916, -0.34136849641799927, 0.495680034160614, -0.630283772945404, 0.3541843295097351, -0.16830052435398102, -0.43089553713798523, -0.7103100419044495, -0.033608634024858475, 0.18181255459785461, -0.2514877915382385, 0.6114254593849182, -0.43292850255966187, -0.46848994493484497, -0.06608202308416367, -0.2821294665336609, 0.40174317359924316, 0.42468783259391785, -0.7349703311920166, 0.5710274577140808, 0.6671138405799866, 0.09470194578170776, -0.661827027797699, -0.5063944458961487, -0.14995737373828888, -0.06680016219615936, -0.1926986128091812, 0.34348130226135254, 0.056992821395397186, 0.008237357251346111, 0.06558835506439209, -0.1230345368385315, 0.25067824125289917, 0.23730924725532532, 0.12600350379943848, -0.023054422810673714, -0.23375822603702545, 0.1983606219291687, 0.4278755486011505, -0.20093397796154022, -0.3497520685195923, -0.2826088070869446, 0.43108347058296204, 0.09124770760536194, -0.2893693149089813, 0.1487688571214676, 0.36830639839172363, 0.3366073668003082, -0.7915474772453308, 0.8775174617767334, 0.5961402058601379, -0.5447893738746643, -0.6411249041557312, -0.7525923252105713, -0.2877250909805298, -0.5040157437324524, 0.16587957739830017, -0.63877934217453, -1.232861876487732, 0.39520201086997986, -0.4649200141429901, -0.06149248778820038, 0.28628984093666077, 0.4044078290462494, 0.0978827178478241, 1.3493332862854004, 0.9728014469146729, 0.27594900131225586, 0.5324956178665161, -0.4346920847892761, 0.15461227297782898, -1.2426837682724, -0.08725843578577042, -0.41803646087646484, -0.27619388699531555, -0.5104857683181763, -0.5490891933441162, 0.3403744101524353, 0.29805639386177063, -0.3891681134700775, -0.07185610383749008, -0.6769712567329407, 0.6585373878479004, 0.42712488770484924, 0.25030630826950073, 0.30918699502944946, 0.1617973893880844, -0.40382280945777893, 0.15240859985351562, -0.7863032221794128, -0.5238687992095947, 1.1965378522872925, 0.23259471356868744, 0.6038051843643188, -0.00033309304853901267, 0.6061305999755859, 0.3823678493499756, 0.16039548814296722, -0.6430721879005432, 0.3436436951160431, -0.3165106475353241, -0.6460705399513245, -0.18280364573001862, -0.35526955127716064, -1.0777536630630493, 0.4563640356063843, -0.7762385606765747, -0.49034225940704346, 0.48041096329689026, 0.3317011296749115, -0.522429347038269, 0.46750667691230774, -0.6063628196716309, 0.7868115901947021, 0.07358115911483765, -0.3672531247138977, -0.31104421615600586, -0.043155182152986526, 0.48722636699676514, -0.2916807234287262, 0.17830199003219604, -0.2587936818599701, -0.1690700501203537, 0.531252920627594, -0.42076465487480164, 0.6240397095680237, -0.1814655065536499, -0.12304629385471344, -0.039540134370326996, 0.266641229391098, 0.7156296968460083, 0.17538119852542877, -0.12528933584690094, -0.1632898896932602, -0.0013606937136501074, -0.5550369024276733, -0.828652560710907, 0.7584230303764343, -0.6979250907897949, -0.8379737138748169, -0.1930747926235199, -0.5215042233467102, -0.4707064628601074, 0.23493649065494537, -0.18255440890789032, 0.6199325323104858, -0.03163992241024971, 0.30680060386657715, 0.9242262244224548, -0.28037044405937195, -0.10600493848323822, 0.44478461146354675, -0.3653522729873657, -0.5750810503959656, 1.0319204330444336, 0.12194152176380157, 0.12190798670053482, 0.381285697221756, 0.04933302477002144, -0.12953625619411469, -0.8020206689834595, -0.2793566584587097, 0.46553218364715576, -0.5025054812431335, -0.569108247756958, -0.6581407785415649, -0.10542500764131546, -0.21619895100593567, -0.16242104768753052, -0.5204293131828308, -0.4525211453437805, -0.4622831642627716, -0.1640951931476593, 0.537276566028595, 0.7982557415962219, -0.13819119334220886, 0.344271719455719, -0.6741873025894165, 0.5823575258255005, 0.3540279269218445, 0.7973801493644714, 0.21107208728790283, -0.6668172478675842, -0.5933860540390015, 0.3167782723903656, -0.2087966352701187, -0.4878957271575928, 0.483540803194046, 0.34213557839393616, 0.5572470426559448, 0.28331729769706726, 0.20466084778308868, 0.9789325594902039, -0.6642465591430664, 0.4067362844944, -0.35665300488471985, -0.7299241423606873, 0.6054705381393433, -0.37431037425994873, 0.03108828328549862, 0.5703908801078796, 0.21043752133846283, -0.02114207297563553, -0.44926902651786804, -0.6087967157363892, -0.583586573600769, 0.36364850401878357, -0.13270002603530884, 0.22163072228431702, 0.008460002951323986, 0.678870677947998, 0.23620247840881348, 0.4107903242111206, -0.12697668373584747, -0.2579711377620697, -0.01548180915415287, 0.028549540787935257, -0.5663416981697083, -0.5162525773048401, -0.19194357097148895, -0.4743165373802185, 0.7186275124549866, -0.09469104558229446, 0.3348221182823181, 0.01880800910294056, -0.3057458698749542, -0.28562429547309875, 0.08327393978834152, 0.6425277590751648, 0.5728694796562195, -0.43254274129867554, 0.27489033341407776, 0.22496184706687927, -0.27909335494041443, 0.06871537119150162, 0.2827703654766083, -0.17175346612930298, -0.06530960649251938, -0.07281960546970367, 1.062591314315796, 0.6934608221054077, -0.41696783900260925, 0.16166354715824127, 0.146589457988739, -0.06334136426448822, -0.011253958567976952, 0.3616931736469269, -0.24046282470226288, 0.5070279836654663, 0.3341604769229889, 0.1179860308766365, 0.20231546461582184, -0.4209637939929962, 0.39976468682289124, 0.7044078707695007, -0.1607077270746231, 0.026130402460694313, 0.7652223706245422, -0.022833241149783134, -0.42198464274406433, 0.28783655166625977, -0.32860812544822693, -0.3879861533641815, 0.16209706664085388, 0.6860280632972717, 0.6508612632751465, -0.05793871730566025, 0.06370268762111664, 0.23650579154491425, 0.3059733510017395, -0.13378669321537018, 0.26385483145713806, -0.056317318230867386, -0.7809869050979614, -0.4727201461791992, -0.9429800510406494, -0.4136846661567688, 0.09461156278848648, -0.7207201719284058, 0.2871708273887634, -0.4976296126842499, -0.24440886080265045, -0.03803058713674545, 0.38956746459007263, -0.7789345383644104, 0.14357686042785645, -0.0018168981187045574, 0.8274679183959961, -0.6196272969245911, 0.7318530678749084, 0.7347077131271362, -0.22400659322738647, -0.6761429309844971, -0.3692016303539276, -0.4516333341598511, -0.7478022575378418, 0.030215393751859665, -0.1526244878768921, -0.1159885972738266, 0.4370298981666565, -0.513992190361023, -0.827885091304779, 0.9693779349327087, 0.5002443790435791, -0.6069620251655579, 0.27334508299827576, -0.10090680420398712, 0.44830045104026794, -0.622805118560791, -0.06319865584373474, 0.6437076926231384, 0.3653582036495209, -0.04761096462607384, -0.7405430674552917, 0.02480302006006241, -0.31635019183158875, 0.13374796509742737, 0.47455015778541565, -0.36597147583961487, 0.6224649548530579, -0.06761571019887924, -0.21039733290672302, -0.13945400714874268, 0.6752466559410095, 0.3829374611377716, 0.2271137833595276, 0.4272370934486389, 0.7159891128540039, 1.0225493907928467, 0.1495601087808609, 1.2975565195083618, -0.36077529191970825, 0.17474710941314697, 1.0070066452026367, 0.13678085803985596, 1.1963529586791992, 0.3206856846809387, 0.18663646280765533, 0.10310384631156921, 0.4591027498245239, -0.10352379828691483, 0.702338695526123, -0.02576933056116104, -0.028795519843697548, -0.5600899457931519, -0.15203239023685455, -0.4834098517894745, 0.3257139325141907, 0.6557452082633972, -0.24019074440002441, 0.05596018582582474, 0.48633986711502075, -0.13422904908657074, 0.2829064130783081, -0.5888320207595825, 0.8209311962127686, 0.235609233379364, -0.5030480027198792, 1.0634640455245972, 0.11690916121006012, 0.8760979771614075, -0.20807914435863495, -0.2345045655965805, -0.20538370311260223, 0.21893246471881866, -0.04104474186897278, -0.3635602593421936, 0.3026152551174164, -0.22126230597496033, -0.19311903417110443, 0.05819867551326752, 0.9334139227867126, -0.7057207226753235, -0.645505428314209, 0.18936169147491455, 0.6315522789955139, -0.02504175342619419, -0.09203182905912399, -0.6546059250831604, 0.09650614857673645, -0.14109687507152557, -0.047455355525016785, 0.4285871088504791, 0.6173830628395081, 0.12585332989692688, 0.6829388737678528, 0.8954806327819824, 0.30215078592300415, 0.11882111430168152, -0.11659568548202515, 0.980588436126709, -0.6296040415763855, -0.31874722242355347, -0.5786898136138916, 0.3272079825401306, 0.039853472262620926, -0.10901486128568649, 0.6754981279373169, 0.5113889575004578, 0.8242659568786621, -0.14812910556793213, 0.5473125576972961, 0.5448970198631287, 0.7967700958251953, -0.5940903425216675, 0.8128361105918884, -1.0090383291244507, 0.2669481635093689, -0.19678276777267456, -0.9861484169960022, -0.38634243607521057, 0.7446028590202332, -0.35574138164520264, -0.08353656530380249, 0.17372143268585205, 1.2389339208602905, -0.5643521547317505, -0.23007646203041077, 0.6570094227790833, 0.176370769739151, 0.11922543495893478, 0.29116490483283997, 0.667218029499054, -0.4636573791503906, 0.32604655623435974, -0.2964703142642975, -0.039196811616420746, -0.40715986490249634, -0.772871732711792, -1.221992015838623, -0.5622429847717285, -0.23822766542434692, -0.2332594394683838, 0.39817726612091064, 0.8771970868110657, 0.7036069631576538, -0.891412615776062, 0.09795142710208893, 0.392900675535202, 0.2193189561367035, -0.12324575334787369, -0.138252854347229, 0.26859599351882935, -0.4077933728694916, -0.7076573371887207, 0.3887353241443634, 0.11859389394521713, 0.25981613993644714, -0.278993159532547, -0.04791204631328583, -0.3784453272819519, 0.3785930871963501, 0.7122315764427185, 0.19601117074489594, -0.443899005651474, -0.3939500153064728, -0.1930876076221466, 0.04908093065023422, -0.0008183251484297216, 0.6585286855697632, -0.8593767881393433, 0.5971184968948364, 0.1688235104084015, 1.0276376008987427, 0.7241023182868958, 0.18244504928588867, 0.898145854473114, -0.958713948726654, 0.3835879862308502, 0.13356901705265045, 0.2771301567554474, 0.40086841583251953, -0.46353229880332947, 0.5163536667823792, -0.2291135936975479, -0.49587318301200867, -1.2373048067092896, -0.0017754518194124103, -0.646884024143219, -0.31969529390335083, 1.1004897356033325, 0.2715701758861542, -0.28344017267227173, -0.15200582146644592, -0.3231314718723297, 0.31411978602409363, -0.3213775157928467, 0.7523856163024902, 0.5134463906288147, 0.2460578978061676, -0.3953680694103241, -0.8259945511817932, 0.7743898630142212, 0.40805119276046753, -0.35237425565719604, -0.039784498512744904, 0.3500664234161377, 0.0019462046911939979, 0.03340843692421913, 0.1644013673067093, 0.040831323713064194, 0.17334116995334625, -0.136363223195076, -0.18851159512996674, -0.7102278470993042, -0.378948837518692, -0.3948289752006531, 0.2212509661912918, 0.18534305691719055, -0.2500646710395813 ]
http://arxiv.org/abs/2402.12174v2
http://arxiv.org/pdf/2402.12174v2
BIDER: Bridging Knowledge Inconsistency for Efficient Retrieval-Augmented LLMs via Key Supporting Evidence
2024-02-19T14:28:31
2024-05-30T11:26:58
Jiajie Jin, Yutao Zhu, Yujia Zhou, Zhicheng Dou
cs.CL
cs.CL
Retrieval-augmented large language models (LLMs) have demonstrated efficacy in knowledge-intensive tasks such as open-domain QA, addressing inherent challenges in knowledge update and factual inadequacy. However, inconsistencies between retrieval knowledge and the necessary knowledge for LLMs, leading to a decline in LLM's answer quality. This paper introduces BIDER, an approach that refines retrieval documents into Key Supporting Evidence (KSE) through knowledge synthesis, supervised fine-tuning (SFT), and preference alignment. We train BIDER by learning from crafting KSE, while maximizing its output to align with LLM's information acquisition preferences through reinforcement learning. Evaluations across five datasets show BIDER boosts LLMs' answer quality by 7% while reducing input content length in retrieval documents by 80%, outperforming existing methods. The proposed KSE simulation effectively equips LLMs with essential information for accurate question answering.
[ -0.23191174864768982, -0.5192922949790955, 0.9181112051010132, -0.32467523217201233, -0.19314785301685333, 0.176921546459198, 0.06905978173017502, -0.12488231062889099, 0.07262657582759857, 0.480974406003952, -0.3612043559551239, -0.41567352414131165, -0.6969879865646362, -0.16946345567703247, 0.050787873566150665, 0.9521835446357727, -0.23493435978889465, 0.18282562494277954, -0.6160512566566467, -0.21604569256305695, -0.3253100514411926, -0.19169066846370697, -0.7004267573356628, -0.35829055309295654, 0.5583106875419617, 0.6588848233222961, 0.5647307634353638, 0.3827870190143585, 0.4883507788181305, 0.1920347362756729, 0.037166446447372437, 0.5768816471099854, -0.5483161211013794, 0.38044655323028564, -0.5296697020530701, -0.6764930486679077, -0.43796399235725403, -0.04107551649212837, 0.34027233719825745, 0.4867822825908661, -0.15046557784080505, 0.1445085108280182, -0.04891541972756386, 0.7450087070465088, -0.8537713885307312, 0.1514265537261963, -0.8451738953590393, -0.2884228527545929, 0.04143669456243515, -0.17617526650428772, -0.4307138919830322, -0.33903610706329346, 0.36961740255355835, -0.7694511413574219, 0.35744619369506836, -0.023979688063263893, 0.9318562150001526, 0.5496987104415894, -0.5819901823997498, -0.4324689209461212, -0.5815184116363525, 0.493708997964859, -1.0012513399124146, 0.46535125374794006, 0.2291615605354309, 0.36642539501190186, -0.22553898394107819, -0.5773110389709473, -0.6553655862808228, -0.09283189475536346, -0.08993612974882126, 0.4097347557544708, 0.29536741971969604, 0.3029147684574127, 0.12854577600955963, 0.18580034375190735, -0.3211921751499176, -0.1899113804101944, -0.27430182695388794, -0.2109403908252716, 0.515940248966217, -0.14607200026512146, 0.04358578100800514, -0.24701201915740967, -0.3450518846511841, -0.3548349440097809, -0.8179584741592407, 0.2782551050186157, 0.24251636862754822, 0.1067110076546669, 0.35464879870414734, 0.7075567245483398, -0.2517792582511902, 0.5062553882598877, 0.348639577627182, -0.16154508292675018, -0.028568683192133904, -0.11985575407743454, -0.1648765504360199, 0.16987650096416473, 0.46247613430023193, 0.33604198694229126, -0.21245214343070984, -0.35755470395088196, -0.24819208681583405, -0.2561858296394348, 0.36292287707328796, -0.8866392374038696, -0.16823694109916687, 0.3713570535182953, -0.12467854470014572, -0.12177138030529022, 0.01019330881536007, -0.4761350154876709, -0.43425309658050537, -0.23482559621334076, 0.6924988031387329, -0.5440487861633301, 0.025116296485066414, 0.14259374141693115, -0.20374731719493866, 0.43539518117904663, 0.5347161293029785, -0.5227178335189819, 0.1965876966714859, 0.551826536655426, 0.341839462518692, -0.1245049461722374, -0.011451508849859238, -0.8354542851448059, 0.35944023728370667, -0.36279430985450745, 0.9710814952850342, -0.5422998070716858, -0.26274192333221436, -0.05621058866381645, 0.08624851703643799, -0.08539298921823502, -0.6288426518440247, 0.7298061847686768, -1.1741061210632324, 0.5068219900131226, -0.4374864101409912, -0.900626003742218, -0.1623750627040863, 0.5092825889587402, -0.7023307085037231, 0.8616476058959961, 0.1370537281036377, -0.6693686842918396, 0.4685000777244568, -0.4939267337322235, -0.24520979821681976, 0.050345174968242645, -0.1907188445329666, -0.3534137010574341, 0.18411417305469513, 0.2762031555175781, 0.15283390879631042, -0.14448164403438568, 0.4125747084617615, -0.17545169591903687, -0.40233102440834045, 0.11355147510766983, -0.22938528656959534, 0.20584920048713684, 0.05302244424819946, 0.025667399168014526, 0.008282236754894257, -0.6909225583076477, -0.1721477061510086, 0.07337847352027893, -0.7371220588684082, -0.3899330198764801, 0.27002957463264465, -0.32871735095977783, 0.22177866101264954, 0.4770874083042145, -0.762224555015564, 0.1246059238910675, -0.6086235642433167, 0.038268618285655975, 0.6814723610877991, 0.2240632176399231, 0.5644418001174927, -0.6425467729568481, 0.535046398639679, 0.25898003578186035, 0.0001115751510951668, 0.06292904168367386, -0.13384874165058136, -0.8225721716880798, 0.09491564333438873, 0.5041275024414062, 0.5338379740715027, -1.1401804685592651, -0.13503585755825043, -0.49613210558891296, -0.1515398770570755, -0.9476078152656555, 0.2044975906610489, 0.3208066523075104, 0.5934054255485535, 0.46926525235176086, -0.11530213057994843, -0.6056637763977051, -0.8510119915008545, -0.3919472396373749, -0.3419627547264099, -0.11823272705078125, 0.6098392009735107, 0.18864649534225464, -0.06867775321006775, 1.0447182655334473, -0.32782548666000366, -0.15186968445777893, 0.0987023189663887, -0.06362242251634598, 0.21093200147151947, 0.312002032995224, 0.06988696753978729, -0.745863139629364, -0.2867162525653839, -0.12306377291679382, -0.5552771091461182, 0.051739323884248734, -0.05488039180636406, -0.20268669724464417, 0.30892419815063477, 0.48049798607826233, -0.6018173694610596, 0.007353263441473246, 0.16214917600154877, -0.06976239383220673, 0.40157991647720337, -0.2269153743982315, 0.3584100902080536, -1.1773936748504639, -0.03171321004629135, -0.20144818723201752, -0.24535208940505981, -0.3484589755535126, 0.06937587261199951, 0.17155511677265167, 0.135581836104393, -0.25415873527526855, 0.6251826882362366, -0.2563161849975586, 0.24952241778373718, -0.3131301999092102, 0.5807945132255554, 0.2309987097978592, 0.31192412972450256, 0.04918188601732254, 1.1153960227966309, -0.1283506602048874, -0.46177107095718384, 0.30455923080444336, 0.45985788106918335, -0.2407751828432083, 0.5981898903846741, -0.7225526571273804, 0.15103478729724884, -0.336978942155838, -0.10256276279687881, -1.0264276266098022, -0.3345648944377899, -0.043171536177396774, -0.5087119936943054, 0.44259512424468994, -0.5855029225349426, -0.4374609887599945, -0.110786072909832, -0.33008360862731934, 0.3003769814968109, 0.44639959931373596, -0.564683198928833, 0.7666184306144714, 0.2704370617866516, -0.26009586453437805, -0.6427093744277954, -0.009715733118355274, -0.06285736709833145, 0.06201380863785744, -0.640878438949585, 0.46574801206588745, -0.0547030009329319, 0.004778972361236811, 0.12619635462760925, -0.5647770762443542, -0.03593771159648895, 0.06215931102633476, -0.07292104512453079, 0.34057846665382385, -0.24995312094688416, 0.4662236273288727, 0.25575047731399536, -0.005990280769765377, 0.2069154530763626, -0.28609946370124817, 0.14570128917694092, 0.17724724113941193, -0.5770501494407654, 0.11486414819955826, 0.06490195542573929, 0.6959653496742249, -0.10928256064653397, 0.6655784845352173, 0.3139949142932892, -0.17636004090309143, -0.024407435208559036, -0.8620708584785461, -0.3170868158340454, -0.40019726753234863, 0.23973122239112854, -0.5213059782981873, -1.101824164390564, 0.36580607295036316, -0.4007188677787781, 0.19869662821292877, 0.31640419363975525, 0.07148867845535278, -0.36410340666770935, 1.104143500328064, 0.3997064530849457, 0.0978965237736702, 0.29547515511512756, -0.00474773533642292, 0.34439438581466675, -1.0965237617492676, -0.3897583782672882, -0.20147590339183807, -0.1937144696712494, -0.525446891784668, -0.511215329170227, 0.6488131284713745, 0.28768524527549744, -0.3368159830570221, -0.000060357422626111656, -0.1764402836561203, 0.43756893277168274, 0.6787580847740173, 0.4401206076145172, 0.3032841980457306, -0.16849420964717865, -0.27381014823913574, 0.07014276087284088, -0.841118335723877, -0.5150346159934998, 1.1677066087722778, 0.02071351930499077, 0.7096970081329346, 0.1508534699678421, 0.6332368850708008, 0.20830047130584717, 0.11302259564399719, -0.7282522320747375, 0.37923523783683777, 0.15383759140968323, -0.5616976022720337, -0.2975013256072998, -0.34624743461608887, -0.5996012091636658, 0.1950613260269165, -0.20066513121128082, -0.1549222618341446, 0.0988006666302681, 0.1355721801519394, -0.3179466128349304, 0.1530509889125824, -0.47667115926742554, 0.7657049894332886, -0.08457506448030472, -0.668663501739502, -0.2991636395454407, -0.6614960432052612, 0.35040491819381714, 0.0933007225394249, -0.010485555045306683, 0.07106013596057892, -0.14121778309345245, 0.7885974049568176, -0.40644580125808716, 0.5820745825767517, -0.3651997745037079, -0.2577395737171173, 0.13486072421073914, 0.1904955357313156, 0.9329717755317688, 0.2341376543045044, -0.1550954282283783, -0.677267849445343, 0.17608396708965302, -0.6810433864593506, -0.8348680138587952, 0.6062765717506409, -0.7365651726722717, -0.9771513938903809, -0.2936685383319855, -0.6635473370552063, -0.6422428488731384, 0.055023420602083206, -0.000635878590401262, 0.25819846987724304, -0.18785803020000458, 0.14303478598594666, 1.2266302108764648, -0.05717150866985321, -0.06484176963567734, 0.8122313022613525, 0.12666188180446625, -0.659985363483429, 0.804739773273468, 0.052487559616565704, 0.15096396207809448, 0.5985405445098877, 0.0005940085393376648, -0.4772239625453949, -0.6803173422813416, -0.4523560404777527, 0.39053139090538025, -0.6881977319717407, -0.39425382018089294, -0.5614905953407288, -0.4069896936416626, -0.3234066963195801, -0.05965249240398407, -0.21065764129161835, -0.45685508847236633, -0.0839504674077034, -0.2900262475013733, 0.3474968373775482, 0.5515742897987366, 0.054207175970077515, 0.20189225673675537, -0.8132601380348206, 0.21867218613624573, 0.7018037438392639, 0.3795616626739502, -0.16539373993873596, -0.6810290217399597, -0.33368924260139465, 0.2700513005256653, -0.2771763503551483, -0.7558882236480713, -0.09284429252147675, 0.07833845168352127, 0.6598556637763977, 0.2859690189361572, 0.416583389043808, 0.5920630097389221, -0.31095820665359497, 0.7521209120750427, -0.19400468468666077, -0.7413975596427917, 0.8228915333747864, -0.22526755928993225, 0.15373681485652924, 0.8086989521980286, 0.3650049865245819, -0.4637630879878998, -0.3821799159049988, -0.7019961476325989, -0.9001168608665466, 0.608079195022583, -0.10632085800170898, -0.04373897984623909, -0.18179558217525482, 0.5071210861206055, 0.06702952086925507, 0.40919002890586853, -0.3904702663421631, 0.03604807332158089, -0.06507665663957596, -0.40886300802230835, 0.24955907464027405, -0.6121189594268799, -0.15526404976844788, -0.061511654406785965, 1.2047932147979736, -0.37738409638404846, -0.057378653436899185, 0.48524990677833557, -0.4612921178340912, -0.009970512241125107, 0.4454805254936218, 0.40106216073036194, 0.6383717060089111, -0.4471418559551239, 0.31910839676856995, 0.35148870944976807, -0.2512667775154114, 0.1889321357011795, 0.14303326606750488, -0.36079761385917664, -0.17305314540863037, 0.19791847467422485, 0.6832190752029419, 0.25964081287384033, -0.8400987982749939, 0.6960577368736267, 0.07327768206596375, -0.23914863169193268, -0.011879452504217625, 0.1691359132528305, 0.2058248668909073, 0.3433007597923279, 0.3181910216808319, 0.01791091449558735, 0.18151609599590302, -0.13470809161663055, 0.16233336925506592, 0.5309478640556335, -0.5814399123191833, -0.05638320744037628, 0.592698335647583, 0.22370362281799316, 0.05604373663663864, 0.5481981635093689, -0.20420603454113007, -0.49211496114730835, 0.29302623867988586, 0.33762606978416443, 0.45654892921447754, -0.1843252032995224, 0.22531549632549286, 0.338634729385376, 0.18909572064876556, 0.0013652064371854067, 0.322747141122818, -0.274377703666687, -0.7829380631446838, -0.615419864654541, -0.5389091968536377, -0.6923403739929199, 0.04889446869492531, -0.7465407848358154, 0.03628583997488022, -0.20291925966739655, 0.19116224348545074, -0.431908518075943, 0.2040913999080658, -0.6086718440055847, 0.052634283900260925, -0.1728208214044571, 1.048608422279358, -0.6310674548149109, 0.6680899262428284, 0.9426711201667786, -0.5860067009925842, -0.7032767534255981, 0.008137108758091927, -0.36582648754119873, -0.7940399050712585, 0.5815241932868958, -0.32582396268844604, -0.17795689404010773, 0.14193016290664673, -0.6939271688461304, -0.7546394467353821, 1.2134371995925903, 0.3498457372188568, -0.3544226586818695, -0.20338988304138184, 0.05910386145114899, 0.260917991399765, -0.07809845358133316, 0.4454437494277954, 0.49519434571266174, 0.3560961186885834, 0.44122549891471863, -0.5845413208007812, 0.08128883689641953, -0.2597280740737915, 0.07748576253652573, 0.16405527293682098, -0.6292619109153748, 0.23575638234615326, -0.29474955797195435, -0.2111024558544159, -0.11161977052688599, 0.6977671384811401, 0.5796616077423096, 0.2480422854423523, 0.3388039469718933, 0.7361204028129578, 0.9583318829536438, 0.05721521005034447, 0.5970597267150879, -0.32774579524993896, 0.1425614356994629, 1.3401193618774414, -0.435970276594162, 0.9533729553222656, 0.6887269616127014, -0.24612653255462646, 0.6903653144836426, 0.5268847346305847, 0.27820125222206116, 0.6598458290100098, 0.01234872080385685, -0.5575600862503052, -0.6034294962882996, -0.21180161833763123, -0.17220549285411835, 0.24609796702861786, 0.21220041811466217, -0.1202704980969429, -0.3871002197265625, -0.050498779863119125, 0.012140989303588867, 0.1244860589504242, -0.05324530601501465, 1.1551005840301514, -0.16468876600265503, -0.8312972784042358, 0.500791609287262, -0.20622791349887848, 0.42097213864326477, -0.44941815733909607, -0.20083405077457428, -0.4042263925075531, 0.16463690996170044, -0.06389706581830978, -0.8322663307189941, 0.01683630421757698, -0.2619505226612091, -0.6513454914093018, -0.009685240685939789, 0.8073608875274658, -0.539110004901886, -0.2715364396572113, 0.11383195221424103, 0.7378188967704773, -0.14297102391719818, -0.1520576775074005, -0.3248244822025299, -0.3354473412036896, -0.02222605235874653, -0.143016055226326, 0.3893575966358185, 0.6924348473548889, 0.21028612554073334, 0.6378653645515442, 0.7133744955062866, 0.11641848832368851, 0.04127096012234688, -0.03319280594587326, 1.0612664222717285, -0.41662102937698364, -0.12513047456741333, -0.5164082050323486, 0.431100457906723, -0.37588804960250854, 0.18962471187114716, 0.6475947499275208, 0.77447509765625, 0.9310117363929749, -0.02785206213593483, 0.8947134613990784, 0.14211063086986542, 0.6902646422386169, -0.6122534871101379, 0.6181182265281677, -0.42329514026641846, 0.47547078132629395, 0.1979827731847763, -0.5529226064682007, 0.11501114070415497, 0.4005275368690491, -0.38844969868659973, -0.23616845905780792, 0.5587650537490845, 0.8266376852989197, -0.19787228107452393, -0.16049699485301971, 0.22093547880649567, 0.2901552617549896, 0.39292845129966736, 0.7917559742927551, 0.777260422706604, -0.8344559669494629, 0.7113727331161499, -0.05461929365992546, -0.09333795309066772, -0.25744882225990295, -0.6756226420402527, -0.7223230004310608, -0.6275297403335571, -0.364836186170578, -0.44592350721359253, 0.38094988465309143, 0.9052891135215759, 0.5982723832130432, -0.9581195712089539, -0.011584552936255932, -0.05568002909421921, 0.5006195902824402, -0.026161378249526024, -0.2209872305393219, 0.32935813069343567, -0.795957088470459, -0.4187502861022949, 0.5016536712646484, 0.0963682010769844, 0.03126726299524307, 0.1259855329990387, -0.14738604426383972, -0.23683662712574005, 0.3038941025733948, 0.5910035967826843, 0.07934828847646713, -0.7265561819076538, -0.33828943967819214, 0.19728991389274597, -0.06177764758467674, 0.15285305678844452, 0.6306254863739014, -1.1484533548355103, 0.5594502687454224, 0.6123234629631042, 0.9423091411590576, 0.5670387744903564, 0.17497804760932922, 0.6274851560592651, -0.6475703716278076, -0.46509674191474915, 0.2076806277036667, 0.29888105392456055, 0.256246954202652, -0.3293723464012146, 0.3771074414253235, 0.17451481521129608, -0.7024810910224915, -0.6186201572418213, 0.21380512416362762, -0.9389457106590271, -0.3037397265434265, 0.9010168313980103, -0.11025455594062805, -0.33541932702064514, -0.11270660161972046, -0.3030162453651428, 0.3213382065296173, -0.34177109599113464, 0.9441425800323486, 0.8293876051902771, 0.08910281211137772, -0.3517809808254242, -0.4034630060195923, 0.6056815981864929, 0.28112345933914185, -0.6855401992797852, 0.03323135897517204, 0.5425344109535217, 0.5825177431106567, 0.10985089838504791, 0.5039607286453247, -0.09103912115097046, 0.49358922243118286, -0.3149307668209076, 0.11675792187452316, -0.16472139954566956, -0.12958508729934692, 0.02173912338912487, 0.29404985904693604, 0.5281020402908325, -0.2139909416437149 ]
http://arxiv.org/abs/2402.12168v3
http://arxiv.org/pdf/2402.12168v3
Defending Against Weight-Poisoning Backdoor Attacks for Parameter-Efficient Fine-Tuning
2024-02-19T14:22:54
2024-03-29T12:12:30
Shuai Zhao, Leilei Gan, Luu Anh Tuan, Jie Fu, Lingjuan Lyu, Meihuizi Jia, Jinming Wen
cs.CR
cs.CR, cs.AI, cs.CL
Recently, various parameter-efficient fine-tuning (PEFT) strategies for application to language models have been proposed and successfully implemented. However, this raises the question of whether PEFT, which only updates a limited set of model parameters, constitutes security vulnerabilities when confronted with weight-poisoning backdoor attacks. In this study, we show that PEFT is more susceptible to weight-poisoning backdoor attacks compared to the full-parameter fine-tuning method, with pre-defined triggers remaining exploitable and pre-defined targets maintaining high confidence, even after fine-tuning. Motivated by this insight, we developed a Poisoned Sample Identification Module (PSIM) leveraging PEFT, which identifies poisoned samples through confidence, providing robust defense against weight-poisoning backdoor attacks. Specifically, we leverage PEFT to train the PSIM with randomly reset sample labels. During the inference process, extreme confidence serves as an indicator for poisoned samples, while others are clean. We conduct experiments on text classification tasks, five fine-tuning strategies, and three weight-poisoning backdoor attack methods. Experiments show near 100% success rates for weight-poisoning backdoor attacks when utilizing PEFT. Furthermore, our defensive approach exhibits overall competitive performance in mitigating weight-poisoning backdoor attacks.
[ 0.018791936337947845, -0.530786395072937, 0.4776209890842438, -0.08812688291072845, -0.06772751361131668, -0.015338384546339512, -0.21214605867862701, -0.11932998895645142, -0.5075517892837524, 0.6779251098632812, -0.3066554069519043, -0.6515101790428162, -0.6031204462051392, -0.08008132874965668, -0.4856358468532562, 1.2949073314666748, 0.0898125171661377, -0.11353729665279388, 0.32561033964157104, 0.13417497277259827, -0.5014530420303345, -0.7243362069129944, -0.9483540654182434, -0.19894656538963318, 0.790826678276062, 0.3330352306365967, 0.5921437740325928, 0.21094588935375214, 0.21808214485645294, 0.1961793750524521, 0.12603162229061127, -0.1989286094903946, -0.49505385756492615, 0.11826226860284805, -0.5638348460197449, -0.755818784236908, -0.36859267950057983, 0.12409009039402008, 0.37412935495376587, 0.10760445147752762, -0.17578409612178802, 0.16029322147369385, 0.16637656092643738, 0.7070479393005371, -1.1383585929870605, -0.29755231738090515, -1.1015660762786865, 0.13328513503074646, -0.3149462938308716, -0.5473819375038147, -0.8503614068031311, 0.14535394310951233, -0.3179207742214203, -0.24461029469966888, 0.0589321069419384, 0.24253694713115692, 0.9094036221504211, 0.21653445065021515, -0.21535885334014893, 0.18369866907596588, -0.44668805599212646, 0.7444480657577515, -0.7734628915786743, 0.4453962445259094, 0.4487985074520111, 0.22229695320129395, -0.3736213445663452, -0.4055866599082947, -0.17322580516338348, -0.13042570650577545, 0.01200416311621666, -0.0014423643006011844, -0.25629520416259766, 0.20200641453266144, 0.2650059461593628, 0.09608989208936691, -0.7338809370994568, 0.24245621263980865, -0.1225196048617363, -0.4657866358757019, 0.7599100470542908, 0.19212132692337036, 0.35953518748283386, 0.025780165567994118, -0.3285401165485382, -0.3346613347530365, -0.8629074096679688, -0.0790390893816948, 0.8961443305015564, 0.5027171969413757, -0.017976945266127586, 0.3724362254142761, -0.1324334591627121, 0.6344295144081116, 0.23444589972496033, 0.20861294865608215, 0.008690746501088142, 0.013879361562430859, -0.3479929268360138, 0.24546363949775696, 0.7828835844993591, 0.4145401418209076, 0.4364519715309143, -0.23623009026050568, -0.36707940697669983, -0.4090220034122467, 0.4326353967189789, -1.0630899667739868, -0.6120558977127075, 0.577008843421936, -0.39045217633247375, -0.634052038192749, 0.1079801395535469, -0.829271674156189, -0.33696290850639343, 0.6273306608200073, 1.1110365390777588, -0.6814890503883362, -0.17643891274929047, 0.16756601631641388, -0.48507848381996155, 0.3306671380996704, 0.2543430030345917, -1.030815601348877, 0.4118932783603668, 1.10006582736969, 0.7216591835021973, -0.21367350220680237, -0.3287287652492523, -0.9737192392349243, 0.2575596570968628, -0.38019123673439026, 0.5031358003616333, -0.5171493291854858, -0.22384919226169586, -0.2415531426668167, 0.15854839980602264, 0.046123016625642776, -0.5080344080924988, 0.44036927819252014, -0.5529247522354126, 0.08532136678695679, -0.2572381794452667, -0.23856057226657867, 0.04434351623058319, 0.44213661551475525, -0.41685739159584045, 0.8816499710083008, -0.1701342761516571, -1.0038248300552368, 0.3990548551082611, 0.13793306052684784, -0.5451919436454773, -0.00006310013850452378, 0.08109297603368759, -0.599768340587616, 0.22874514758586884, 0.042745962738990784, 0.6016992330551147, 0.21449972689151764, -0.26124608516693115, -0.41204071044921875, -0.47418755292892456, 0.0893913209438324, -0.487406849861145, 0.6355026364326477, 0.27170899510383606, -0.026796627789735794, -0.002668000292032957, -0.6938524842262268, 0.06362287700176239, 0.1477910578250885, -0.4763142764568329, -0.6578311324119568, 0.16078250110149384, -0.08408822119235992, -0.008891829289495945, 0.21050630509853363, -0.7868871688842773, 0.051171090453863144, -0.8147816061973572, 0.28495141863822937, 0.8361549973487854, 0.3072485029697418, 0.2666948437690735, -0.4306817948818207, 0.2666216194629669, 0.003511368529871106, 0.28247374296188354, -0.25170665979385376, -0.45672324299812317, -0.11306089162826538, -0.2646137773990631, 0.42673736810684204, 0.7205495238304138, -0.2704583704471588, 0.5801461338996887, 0.05384582281112671, -0.7830276489257812, 0.006192311178892851, 0.061629053205251694, 0.5549204349517822, 0.5120954513549805, 0.3552817404270172, 0.0189377274364233, -0.06397394090890884, -0.6798200607299805, -1.081681251525879, -0.13476048409938812, -0.4465694725513458, 0.28756454586982727, 0.6124792695045471, 0.14740683138370514, 0.5994871854782104, -0.6257635951042175, -0.19451181590557098, 0.12855808436870575, -0.003163493936881423, 0.09599929302930832, 0.7655128240585327, 0.7016644477844238, -0.6258947849273682, -0.5258005857467651, -0.1529553234577179, -0.018117956817150116, -0.25383269786834717, -0.19247180223464966, -0.14198291301727295, -0.09270673990249634, 0.3443049192428589, -0.21855710446834564, 0.244558647274971, 0.4638959765434265, -0.3365633487701416, 0.4542330205440521, -0.22739221155643463, 0.045403167605400085, -0.9613538980484009, -0.0663251206278801, 0.053502775728702545, -0.12426074594259262, -0.6028016805648804, 0.3883335590362549, 0.46132901310920715, -0.40536609292030334, -0.49425408244132996, 0.7093912959098816, 0.021968098357319832, 0.4467483162879944, -0.06972559541463852, -0.39967766404151917, 0.14993569254875183, 0.6183308362960815, -0.28475499153137207, 0.596569836139679, 0.5920451283454895, -0.32289960980415344, 0.15340614318847656, -0.2761172652244568, 0.12966066598892212, 0.6517555117607117, -0.5817911624908447, 0.19305802881717682, 0.22062474489212036, 0.17999431490898132, -1.1811636686325073, -0.1717442125082016, 0.5187220573425293, -0.4569143056869507, 0.6406614780426025, -0.5226836204528809, -0.6362294554710388, -0.025379464030265808, -0.6435538530349731, 0.17545907199382782, 0.41523921489715576, -0.49437838792800903, 0.7752655148506165, -0.17673122882843018, -0.048022352159023285, -0.5357035994529724, -0.779896080493927, -0.08004293590784073, -0.3782784044742584, -0.35544106364250183, 0.3262294828891754, -0.12502515316009521, -0.07438310235738754, -0.3847026228904724, -0.545401394367218, -0.02034919522702694, 0.5254360437393188, 0.2022092491388321, -0.3000187277793884, 0.17810110747814178, 0.04134014993906021, 0.4565044045448303, -0.10019475221633911, 0.08419081568717957, -0.41391482949256897, 0.5752291083335876, 0.1309269815683365, -0.4217127561569214, -0.610460638999939, 0.4806581735610962, 0.4553777575492859, -0.32213711738586426, 0.7688945531845093, 0.37234485149383545, -0.5172455906867981, -0.3636176288127899, -0.4725774824619293, -0.4814292788505554, -0.5211893320083618, 0.43233180046081543, -0.5781402587890625, -0.37585246562957764, 0.4642806351184845, -0.003097166772931814, 0.1713828444480896, 0.28015565872192383, 0.47172296047210693, 0.00845820177346468, 1.2733343839645386, 0.613282322883606, -0.1295987218618393, 0.37969332933425903, 0.2526054084300995, -0.2131374478340149, -0.6490341424942017, -0.08345042914152145, -0.7421533465385437, -0.39527735114097595, -0.31731611490249634, 0.3287076950073242, 0.23220017552375793, 0.005886996630579233, -0.5192089080810547, 0.31356608867645264, -0.5362944602966309, 0.5259281396865845, 0.3742046356201172, 0.3321181535720825, 0.34947991371154785, 0.014731606468558311, -0.3076077997684479, 0.07911284267902374, -0.41469433903694153, -0.23936931788921356, 1.3649606704711914, 0.3782981336116791, 1.2282546758651733, -0.05765363946557045, 0.9360657930374146, 0.18471559882164001, 0.04240494221448898, -0.6052860021591187, 0.41118019819259644, -0.10725751519203186, -0.7997450828552246, -0.14224006235599518, -0.4598008394241333, -0.8390219211578369, 0.105523020029068, -0.13848240673542023, -0.9294209480285645, 0.16701149940490723, 0.42114537954330444, -0.61859530210495, 0.4371490180492401, -0.9289246201515198, 0.8396300673484802, -0.35026007890701294, -0.24548467993736267, -0.23528076708316803, -0.46910789608955383, 0.19202445447444916, -0.6770790219306946, -0.10826877504587173, -0.14321687817573547, -0.17705334722995758, 0.7788563370704651, -0.6321524977684021, 0.7772064208984375, -0.2464405596256256, -0.5073682069778442, -0.30453771352767944, 0.3514704704284668, 0.6133437752723694, 0.3930332064628601, -0.3262466490268707, 0.3262133300304413, 0.4168150722980499, -0.5274884104728699, -0.4654035270214081, 0.5595653653144836, -0.5245500802993774, -0.8426912426948547, -0.45144423842430115, -0.23732095956802368, -0.32954925298690796, 0.38251644372940063, 0.6890921592712402, 0.20001013576984406, 0.3179751932621002, 0.17841346561908722, 0.7862157821655273, -0.6159483790397644, 0.3259284496307373, 0.74001145362854, 0.13926781713962555, -0.2019302099943161, 0.8345611095428467, 0.1850433051586151, 0.5240240097045898, 0.7281039953231812, 0.616839587688446, 0.3589875400066376, -0.6947904229164124, -0.2110985368490219, -0.013452399522066116, -0.12608680129051208, -0.5460984110832214, -0.537756621837616, -0.22587142884731293, -0.35180041193962097, -0.058188650757074356, -0.5252160429954529, 0.030724305659532547, 0.014209113083779812, 0.13687847554683685, 0.6240432858467102, 0.029028186574578285, 0.0756751224398613, 0.49923163652420044, -0.7328165173530579, 0.12207910418510437, 0.47396498918533325, 0.42776384949684143, 0.02950616553425789, -0.587452232837677, -0.21528252959251404, -0.04726953059434891, -0.2854330837726593, -1.3407223224639893, 0.33396995067596436, 0.279815137386322, 0.35869723558425903, 0.4092603921890259, 0.39681804180145264, 0.3031262457370758, -0.6846411824226379, 0.6818875074386597, -0.1655554175376892, -0.8992996215820312, 0.6528775095939636, -0.3342898190021515, 0.24134944379329681, 0.5481359958648682, 0.2642589807510376, -0.5409461855888367, -0.6209913492202759, -0.4117523431777954, -0.8122411966323853, 0.4913868308067322, -0.006022718735039234, 0.430281400680542, 0.26986581087112427, 0.5565497875213623, 0.19489166140556335, 0.3807562291622162, -0.32512637972831726, 0.030574582517147064, -0.1539228856563568, -0.2034667432308197, 0.16483701765537262, -0.2215126007795334, -0.21563906967639923, -0.19148994982242584, 0.6124788522720337, -0.038274407386779785, -0.19583450257778168, 0.05995313823223114, -0.021210718899965286, -0.3299875855445862, 0.3465041220188141, 0.22990338504314423, 0.21740037202835083, -0.29111772775650024, 0.3280949294567108, 0.388051301240921, -0.7419348359107971, 0.04261140525341034, 0.2662822902202606, -0.08896679431200027, -0.4820592403411865, 0.26335975527763367, 0.1769724041223526, 0.23655177652835846, -0.7635936141014099, 0.6064584255218506, -0.16570188105106354, -0.14524583518505096, 0.007367840502411127, 0.5443302392959595, -0.28759729862213135, 0.1521240770816803, 0.7811365723609924, -0.0319676399230957, -0.03621833398938179, -0.5735684037208557, 0.2472306489944458, 0.7431077361106873, -0.3094588816165924, -0.2907651364803314, 0.5535803437232971, 0.034856799989938736, -0.4368830621242523, 0.27830758690834045, 0.15720321238040924, -0.570597231388092, 0.41162851452827454, 0.35906848311424255, 0.7409622669219971, -0.5503147840499878, -0.3066781759262085, -0.07599139958620071, 0.644791305065155, 0.055971600115299225, 0.39989760518074036, -0.2067718505859375, -0.7457805275917053, 0.03136379271745682, -0.7845335006713867, -0.27771759033203125, 0.30308544635772705, -0.5160195827484131, 0.2397676706314087, -0.9564836025238037, 0.055101435631513596, -0.13246510922908783, 0.08714780956506729, -0.07944844663143158, 0.17912153899669647, 0.07957664877176285, 1.105143427848816, -1.0559488534927368, 0.751937747001648, 0.352690190076828, -0.14975537359714508, -1.030113697052002, 0.5164629817008972, 0.11717653274536133, -0.569542646408081, 0.3387117087841034, 0.01619018241763115, -0.0012510862434282899, 0.16185471415519714, -0.7531349658966064, -0.6606553196907043, 0.6027827262878418, 0.4578850567340851, -0.46888938546180725, -0.07548292726278305, -0.3278125524520874, 0.3048783242702484, 0.3692333698272705, -0.35057181119918823, 0.4570913016796112, 0.5902144312858582, -0.2199743688106537, -0.772731363773346, 0.3374651372432709, -0.14244210720062256, -0.3616732060909271, 0.38530433177948, -0.7892200350761414, 0.8906066417694092, 0.1403965801000595, -0.1820298433303833, 0.1909990906715393, 0.34208226203918457, 0.3462439179420471, 0.20148660242557526, 0.5407736301422119, 0.7906715869903564, 0.5300959944725037, -0.10087356716394424, 0.6364240646362305, -0.29482170939445496, 0.11747706681489944, 1.1504815816879272, -0.4461766481399536, 1.0537351369857788, 0.29603055119514465, 0.12526781857013702, 0.38904938101768494, 0.5650202631950378, -0.6225683689117432, 0.5673776865005493, 0.20439493656158447, 0.027534078806638718, -0.25023093819618225, 0.4579985439777374, -0.44972068071365356, 0.42399299144744873, 0.40349388122558594, -0.47302788496017456, -0.34770333766937256, 0.26985931396484375, 0.4642282724380493, 0.03424825519323349, -0.5425088405609131, 0.6361678242683411, 0.13639451563358307, -0.49256187677383423, 0.5418189167976379, 0.24369929730892181, 0.7769208550453186, -0.6794220209121704, 0.20844389498233795, 0.044190414249897, 0.3087565004825592, -0.4157152473926544, -0.715901255607605, 0.18466371297836304, 0.033176861703395844, 0.12167452275753021, -0.18246148526668549, 0.9005886912345886, -0.19932742416858673, -0.06836697459220886, 0.11901971697807312, -0.09862266480922699, -0.11888743191957474, -0.7692606449127197, -0.6315522789955139, 0.0393475741147995, -0.4395127296447754, -0.45421645045280457, 0.5477038621902466, 0.2928737699985504, 0.10616108030080795, 0.4945595860481262, 0.6069943308830261, 0.4253854751586914, -0.08863747119903564, -0.21353808045387268, 0.7028183937072754, -0.35373955965042114, -0.639694094657898, -1.1993814706802368, 0.18726877868175507, -0.07114044576883316, -0.048052266240119934, 1.032782793045044, 0.6652691960334778, 0.8774237632751465, 0.1173306405544281, 0.5356931090354919, 0.283137708902359, 0.23838621377944946, -0.5233938097953796, 1.3022431135177612, -0.7373313903808594, 0.1193842887878418, -0.535392165184021, -0.4112434685230255, -0.25667113065719604, 0.09677887707948685, -0.3880419433116913, 0.13341151177883148, 0.5550072193145752, 0.9208781719207764, 0.006272752769291401, -0.23786556720733643, 0.24702128767967224, 0.4173664450645447, 0.3071434795856476, 0.6828820109367371, 0.4145680069923401, -0.3936953544616699, 0.7842779755592346, -0.19809161126613617, -0.355632483959198, -0.2559637427330017, -0.8986364603042603, -1.045669436454773, -0.33677589893341064, -0.20062069594860077, -0.5791352391242981, 0.3630369007587433, 0.508730411529541, 0.8996025919914246, -0.9023512601852417, 0.28711119294166565, 0.09463677555322647, 0.11355660110712051, -0.4758712649345398, -0.21800197660923004, 0.08093587309122086, -0.15273071825504303, -0.48104244470596313, 0.2242869734764099, 0.48182806372642517, -0.20407326519489288, -0.2538168132305145, 0.21952089667320251, 0.05658053234219551, 0.4112907350063324, 0.09748481959104538, 0.5686401724815369, -0.4064086377620697, -0.6177130937576294, -0.4188254177570343, -0.16864360868930817, -0.19072622060775757, 0.5565577149391174, -0.7341022491455078, 0.2108050435781479, 0.6771568059921265, 0.6547525525093079, 0.16974101960659027, -0.017796112224459648, 0.7806681394577026, -1.174302339553833, 0.16961930692195892, 0.26217901706695557, 0.2661099433898926, 0.064476378262043, -0.8423797488212585, -0.02629110775887966, 0.1834215223789215, -0.32772576808929443, -1.0837931632995605, 0.39920592308044434, -0.7004048824310303, -0.6920313835144043, 0.9691306352615356, -0.044017594307661057, -0.4807020425796509, 0.0008221542811952531, -0.13899226486682892, 0.104532390832901, -0.43431809544563293, 0.8289027214050293, 0.641832172870636, 0.24582043290138245, -0.06833542138338089, -0.18189220130443573, 0.6422050595283508, 0.38162949681282043, -0.6407750248908997, 0.17112299799919128, -0.0761919915676117, 0.7150409817695618, 0.05275942385196686, 0.04550333693623543, -0.24478471279144287, 0.3028147220611572, -0.20870286226272583, -0.4213966727256775, 0.02700594812631607, -0.4193669557571411, -0.459637314081192, 0.48869484663009644, -0.06461795419454575, -0.08174449950456619 ]
http://arxiv.org/abs/2402.12151v2
http://arxiv.org/pdf/2402.12151v2
Transformer-based Causal Language Models Perform Clustering
2024-02-19T14:02:31
2024-03-03T20:06:24
Xinbo Wu, Lav R. Varshney
cs.CL
cs.CL, cs.AI
Even though large language models (LLMs) have demonstrated remarkable capability in solving various natural language tasks, the capability of an LLM to follow human instructions is still a concern. Recent works have shown great improvements in the instruction-following capability via additional training for instruction-following tasks. However, the mechanisms responsible for effective instruction-following capabilities remain inadequately understood. Here, we introduce a simplified instruction-following task and use synthetic datasets to analyze a Transformer-based causal language model. Our findings suggest that the model learns task-specific information by clustering data within its hidden space, with this clustering process evolving dynamically during learning. We also demonstrate how this phenomenon assists the model in handling unseen instances, and validate our results in a more realistic setting. Furthermore, we present inspired applications regarding pre-training and alignment.
[ 0.0858931690454483, -0.7549160122871399, 0.7299786806106567, 0.10514796525239944, 0.060071006417274475, 0.07794796675443649, -0.23270493745803833, -0.1676476150751114, -0.05722036585211754, 0.5699380040168762, -0.8996054530143738, -0.5035896897315979, -0.8082481026649475, -0.01907828077673912, -0.7441580891609192, 0.9699965119361877, 0.12296318262815475, -0.2402563840150833, -0.25675952434539795, 0.12182261049747467, -0.9617201089859009, -0.22069843113422394, -0.45349159836769104, -0.3574804961681366, 0.8244078159332275, 0.5455580353736877, 0.5569048523902893, 1.0195387601852417, 0.5454233884811401, 0.2988463044166565, 0.1862894743680954, -0.09283827990293503, -0.6745866537094116, 0.04749568551778793, -0.04404161125421524, -0.8792272806167603, -0.0702442079782486, -0.13302354514598846, 1.014850378036499, 1.053978443145752, -0.1589861363172531, -0.016691824421286583, 0.17275694012641907, 0.3944275975227356, -0.3180137872695923, 0.4682338237762451, -0.6204126477241516, -0.108423613011837, 0.037948090583086014, 0.006062871310859919, -0.7402430772781372, -0.3299166262149811, 0.28985410928726196, -0.5903099179267883, 0.6384866833686829, 0.12811514735221863, 0.5169287323951721, 0.5030943155288696, -0.42618024349212646, -0.3379260003566742, -0.987140953540802, 0.6991848349571228, -0.5451546907424927, 0.5146791338920593, 0.33628296852111816, 0.4894700050354004, -0.23948927223682404, -0.7986794710159302, -0.6090640425682068, -0.2075955718755722, -0.5913703441619873, 0.0005711389239877462, -0.3453255891799927, -0.2832328975200653, 0.24041341245174408, -0.1512451022863388, -0.48889434337615967, 0.3761535584926605, -0.5158082842826843, 0.3236047029495239, 0.19747333228588104, 0.2830337882041931, 0.40317854285240173, 0.04328714683651924, -0.22244793176651, -0.31599918007850647, -0.9337384700775146, 0.07755814492702484, 0.11189877241849899, 0.4779856503009796, -0.30637845396995544, 0.4733121991157532, 0.0436396524310112, 0.7604150772094727, 0.2670065462589264, 0.09746719896793365, 0.03760860115289688, 0.004519099369645119, -0.14926832914352417, 0.10180382430553436, 0.378580242395401, -0.16730333864688873, -0.060025494545698166, -0.46845826506614685, 0.054700177162885666, 0.1762726604938507, 0.7258508205413818, -0.550273597240448, -0.29377514123916626, -0.192262664437294, -0.280438631772995, -0.33388766646385193, 0.3094247281551361, -0.4528528153896332, -0.2248479723930359, -0.592485249042511, 0.38470518589019775, -0.3972203731536865, 0.05607312172651291, -0.10891103744506836, 0.148911252617836, 0.3437367081642151, 0.1097138524055481, -0.9296945929527283, 0.5084689855575562, 0.8520151972770691, 0.44320249557495117, -0.5803937315940857, -0.4435249865055084, -0.5526469945907593, 0.38945963978767395, -0.36227887868881226, 0.8695338368415833, -0.9420125484466553, -0.3727823793888092, 0.0024062928277999163, 0.591905415058136, -0.5062811970710754, -0.4986325800418854, 0.3596281111240387, -0.6190715432167053, 0.2502672076225281, -0.3238285183906555, -0.6443633437156677, -0.38529664278030396, -0.20322422683238983, -0.7512645125389099, 0.887141764163971, -0.07972803711891174, -0.5865218639373779, 0.353281706571579, -0.3842763304710388, -0.565472424030304, 0.011219561100006104, -0.3167109787464142, -0.46022576093673706, 0.415313720703125, 0.01970915123820305, 0.49773529171943665, -0.17035937309265137, 0.5362327694892883, -0.10005243867635727, -0.5883704423904419, 0.10531216859817505, -0.4954853057861328, 0.47431090474128723, -0.45586371421813965, -0.7155195474624634, 0.3367060124874115, -0.9357346296310425, -0.5337408781051636, 0.08592426776885986, -0.048588573932647705, -0.45464712381362915, 0.47434771060943604, -0.5566558241844177, 0.07081523537635803, 0.0026412757579237223, -0.36911916732788086, 0.17717859148979187, -0.08977984637022018, -0.030416909605264664, 0.8184393644332886, 0.003467814065515995, 0.5668001770973206, -0.05801193416118622, 0.5048888921737671, 0.0038569066673517227, 0.034581735730171204, -0.3754067122936249, -0.4232426881790161, -1.0686925649642944, 0.100998155772686, -0.1846417337656021, 0.663657546043396, -0.6334161758422852, 0.5169206261634827, -0.3899705111980438, -0.6487552523612976, -0.2828562557697296, -0.06422947347164154, 0.2861911356449127, 0.7761825919151306, 0.5658895969390869, 0.19716869294643402, -0.3030749261379242, -0.8811777830123901, -0.1290961354970932, 0.06559579074382782, 0.016794946044683456, 0.17249208688735962, 0.22565175592899323, -0.5554761290550232, 0.8584821224212646, -0.8928039073944092, -0.09202080219984055, -0.3074280321598053, 0.12472837418317795, 0.37237221002578735, 0.5716791152954102, 0.2646254897117615, -0.6378240585327148, -0.4304180145263672, 0.12572352588176727, -0.8048098087310791, -0.32562315464019775, -0.3231038749217987, -0.1850944608449936, -0.05601166933774948, 0.9835308194160461, -0.47134074568748474, 0.5519813895225525, 0.5834527611732483, -0.33498215675354004, 0.5163969397544861, -0.22182628512382507, -0.05709110200405121, -0.9114206433296204, 0.05388585478067398, 0.0017731423722580075, 0.0016148294089362025, -0.912973165512085, -0.03965311869978905, 0.13712142407894135, -0.03913063183426857, -0.20801828801631927, 0.42744967341423035, -0.5275518894195557, -0.010372988879680634, -0.6451318860054016, -0.08841036260128021, -0.3847114145755768, 0.670978844165802, 0.34437766671180725, 0.5893878936767578, 0.7908414006233215, -0.6074910163879395, 0.025083810091018677, 0.2020336389541626, 0.05084715411067009, 0.3281596302986145, -0.7023453116416931, 0.031255241483449936, -0.3584023118019104, 0.04030710458755493, -0.9610713720321655, -0.1847236007452011, -0.03927288204431534, 0.03617836907505989, 0.5380988121032715, -0.012609078548848629, -0.5721007585525513, -0.48069140315055847, 0.23070919513702393, 0.27309077978134155, 0.7181949615478516, -0.5947993993759155, 0.7348909974098206, 0.17478519678115845, -0.1534595787525177, -0.30158641934394836, -0.4443100690841675, -0.2688223421573639, -0.3035019338130951, -0.17459741234779358, 0.31021392345428467, 0.16359961032867432, 0.05655691772699356, 0.1612405925989151, -0.21585392951965332, -0.009407352656126022, -0.057945579290390015, 0.5809531211853027, 0.38263562321662903, -0.07943087071180344, 0.229944109916687, 0.2452314794063568, -0.297556072473526, 0.1437433958053589, -0.3131435811519623, 0.3588520288467407, 0.024394702166318893, -0.5461606383323669, -0.5362861752510071, 0.2752985656261444, 0.2282429337501526, -0.01227292139083147, 1.043437123298645, 0.5681468844413757, -0.29620954394340515, -0.4120009243488312, -0.45189863443374634, -0.6009331941604614, -0.5389511585235596, 0.3755337595939636, -0.009437713772058487, -1.2375307083129883, 0.4512121379375458, -0.05372758209705353, 0.1632431149482727, 0.420187771320343, 0.3478085994720459, -0.2969381511211395, 0.8355307579040527, 1.0836420059204102, -0.047913625836372375, 0.5792329907417297, 0.08591127395629883, 0.35260307788848877, -0.5548914074897766, -0.3496372401714325, -0.48827117681503296, -0.2679721713066101, -0.8161060214042664, -0.6339911222457886, 0.4998247027397156, 0.08093610405921936, -0.16665028035640717, 0.8022558689117432, -0.30142366886138916, 0.42413392663002014, 0.6991257667541504, 0.20581290125846863, 0.13787192106246948, -0.013568015769124031, -0.011394000612199306, 0.07845741510391235, -0.9911704659461975, -0.2935366630554199, 0.6436155438423157, 0.18163956701755524, 0.9307350516319275, -0.1130317747592926, 0.4787728786468506, 0.20928694307804108, 0.6651222109794617, -0.36995410919189453, 0.6042026281356812, -0.3449094891548157, -0.1331155002117157, -0.3088543117046356, -0.49300017952919006, -1.2662220001220703, 0.15245585143566132, -0.20393049716949463, -0.7783750295639038, -0.04496598243713379, 0.20574045181274414, 0.01762535609304905, 0.2223053127527237, -0.7268585562705994, 0.8035001754760742, 0.04898649826645851, -0.2365494966506958, -0.37654024362564087, -0.7777925133705139, 0.09933483600616455, -0.35482361912727356, 0.21235816180706024, 0.25383874773979187, 0.2802354693412781, 0.6412637233734131, -0.18246382474899292, 1.4234333038330078, -0.04142085090279579, -0.11292263865470886, 0.39510488510131836, 0.11229240149259567, 0.6487147212028503, -0.41730523109436035, 0.3300599455833435, -0.10379243642091751, -0.5004845261573792, -0.3124946653842926, -0.9050571918487549, 0.7281249761581421, -0.4917922616004944, -0.9789471626281738, -0.026582859456539154, -0.5915700197219849, -0.27773135900497437, 0.3817059099674225, 0.044289566576480865, 0.3956095576286316, -0.09654413163661957, 0.2413422167301178, 0.6895632743835449, -0.34107476472854614, 0.5747679471969604, 0.6996990442276001, 0.04372792690992355, 0.1614769548177719, 0.8228096961975098, -0.022829683497548103, 0.19725589454174042, 0.7128890156745911, 0.3348231315612793, -0.23365920782089233, -0.17539067566394806, -0.1421336531639099, 0.5403532385826111, -0.5309113264083862, -0.025768762454390526, -0.649554967880249, -0.06590214371681213, -0.2800609767436981, -0.32937055826187134, -0.14956295490264893, -0.13282015919685364, -0.4455440044403076, -0.40895867347717285, 0.08739754557609558, 0.9878988265991211, 0.329448938369751, 0.6606550812721252, -1.0010803937911987, 0.061996039003133774, 0.4864236116409302, 0.3716718554496765, 0.34744614362716675, -0.5235168933868408, -0.30893996357917786, -0.22495901584625244, -0.1443607658147812, -0.8895230889320374, 0.21936024725437164, 0.008963960222899914, 0.7491159439086914, 0.36958497762680054, -0.2871432900428772, 0.6137151718139648, -1.0346819162368774, 0.49743589758872986, 0.023380622267723083, -0.725653350353241, 0.5936339497566223, -0.41224998235702515, 0.567419707775116, 0.2439199686050415, 0.5202034711837769, -0.45032998919487, -0.5816470980644226, -0.5620363354682922, -0.44313710927963257, 0.7666980028152466, 0.1952618956565857, 0.1430986225605011, -0.1620635837316513, 0.42997366189956665, 0.14947839081287384, 0.11771445721387863, -0.7674880623817444, -0.20677924156188965, 0.20018529891967773, -0.21308284997940063, -0.21331176161766052, -0.038933828473091125, 0.14574779570102692, -0.24366292357444763, 0.5745381116867065, -0.10327840596437454, 0.32114559412002563, -0.23795731365680695, -0.10238096117973328, -0.028737006708979607, -0.02364790439605713, 0.5340266227722168, 0.3273046016693115, 0.2952076196670532, 0.20716258883476257, 0.16387854516506195, -0.4213489592075348, 0.07443563640117645, 0.15793508291244507, -0.2639766335487366, -0.1747237592935562, 0.7255303263664246, 0.9937286972999573, 0.7018665671348572, -0.6617807149887085, 0.37944114208221436, 0.11776239424943924, 0.19082173705101013, -0.2578904628753662, 0.42106208205223083, 0.2222091108560562, 0.4019933342933655, 0.5074449181556702, 0.018987318500876427, 0.010019474662840366, -0.41503041982650757, 0.47181904315948486, 0.22509333491325378, -0.7109960913658142, -0.6978167295455933, 0.6640335917472839, -0.17316637933254242, -0.2767449617385864, 0.5646363496780396, 0.11641150712966919, -0.46737906336784363, 0.6488670706748962, 0.8504434823989868, 0.6837968826293945, -0.5703624486923218, 0.2186068594455719, 0.14411702752113342, 0.407423734664917, -0.21923837065696716, -0.16822662949562073, -0.10158809274435043, -0.5516376495361328, -0.4816010296344757, -0.4450228810310364, -0.08305945247411728, -0.3300289511680603, -0.7520673274993896, 0.26950374245643616, 0.011613426730036736, 0.2012757956981659, -0.18717746436595917, -0.5577830076217651, -0.818267822265625, 0.21999862790107727, -0.08827561885118484, 0.5659763813018799, -1.0274730920791626, 0.9335422515869141, 0.4146338105201721, -0.01992957852780819, -1.0217249393463135, 0.1441388875246048, -0.0787937194108963, -0.8283425569534302, 0.6222442388534546, 0.3978121280670166, -0.09106458723545074, 0.14051952958106995, -0.43282175064086914, -0.9926535487174988, 1.0756837129592896, 0.19778011739253998, -0.6894734501838684, -0.21748962998390198, 0.24786385893821716, 0.7404559850692749, -0.37570375204086304, -0.14068418741226196, 0.642448902130127, 0.17123614251613617, 0.08846902847290039, -0.3611806333065033, 0.14987634122371674, -0.012197080999612808, -0.22742289304733276, 0.3052155375480652, -0.4068681597709656, 0.5768134593963623, -0.15189489722251892, -0.3328007757663727, -0.25208941102027893, 0.6911201477050781, 0.02389737404882908, 0.04652725160121918, 0.42573657631874084, 0.5146191716194153, 0.6404052376747131, 0.07500872015953064, 1.138798713684082, -0.09707672894001007, 0.18919917941093445, 1.37089204788208, -0.2561124265193939, 0.8204418420791626, 0.30205804109573364, -0.004189683124423027, 1.0088796615600586, 0.06710494309663773, -0.1506059616804123, 0.6296685934066772, 0.05744186416268349, -0.11917299777269363, -0.0154721075668931, 0.09424683451652527, 0.12566913664340973, 0.3047195374965668, 0.3590873181819916, -0.46284669637680054, -0.2726055681705475, -0.02965681627392769, -0.07740699499845505, 0.026219315826892853, -0.2835903763771057, 0.8037713170051575, 0.024983972311019897, -0.7984681725502014, 0.19079285860061646, -0.20641638338565826, 0.25426164269447327, -0.5266209244728088, -0.3140001595020294, -0.09043635427951813, -0.02653910219669342, -0.06530505418777466, -0.5503510236740112, 0.4703376293182373, 0.013039801269769669, -0.33731380105018616, -0.17050360143184662, 0.6842203140258789, -0.4913012683391571, -0.8020754456520081, 0.36983874440193176, 0.573460042476654, -0.15457461774349213, 0.23112665116786957, -0.21789433062076569, -0.029390640556812286, -0.04706953465938568, -0.15688566863536835, 0.3016350567340851, 0.3264895975589752, -0.4704959988594055, 0.6663745045661926, 0.6248251795768738, -0.14211846888065338, 0.38647255301475525, 0.31685805320739746, 0.7915535569190979, -0.6345672011375427, -0.6796262264251709, -0.8603255748748779, 0.389656662940979, 0.08282164484262466, 0.20969918370246887, 0.7977492213249207, 0.29157376289367676, 0.751972496509552, -0.23582758009433746, 0.5181589126586914, 0.17038394510746002, 0.622890055179596, -0.46886447072029114, 0.5251600742340088, -0.1337757259607315, 0.3208202123641968, -0.2949941158294678, -1.0506993532180786, -0.4751964211463928, 0.4277079999446869, -0.5012564659118652, -0.12346898764371872, 0.844708263874054, 0.6981695294380188, -0.22454172372817993, 0.21082250773906708, 0.24963484704494476, 0.3516596257686615, 0.3671249747276306, 0.29466700553894043, 0.6337481141090393, -0.0456557497382164, 0.23173478245735168, 0.014770236797630787, -0.39411571621894836, 0.1513018012046814, -0.7861320376396179, -1.1021023988723755, -0.7368623614311218, -0.07334289699792862, 0.032718926668167114, -0.11633516848087311, 0.6515509486198425, 0.7519985437393188, -0.8213542103767395, -0.24506907165050507, -0.6302395462989807, 0.02455694042146206, -0.43016135692596436, -0.24951335787773132, 0.5644019246101379, -0.43064314126968384, -0.49301278591156006, 0.5606266856193542, 0.15613485872745514, 0.09805907309055328, -0.05730891227722168, 0.2900172770023346, 0.01988978683948517, 0.0718262568116188, 0.656065821647644, 0.16016420722007751, -0.5743238925933838, -0.5149300694465637, 0.3245687782764435, 0.07010220736265182, -0.07591164112091064, 1.1261862516403198, -0.8913714289665222, 0.23124796152114868, 0.12936794757843018, 0.8609343767166138, 0.5936621427536011, 0.032778169959783554, 0.5979127287864685, -0.7337449789047241, -0.00431481096893549, -0.006825055927038193, 0.21977095305919647, 0.1666327267885208, -0.4716348350048065, 0.28932705521583557, 0.29135623574256897, -0.38695695996284485, -0.5468035340309143, 0.15439210832118988, -0.8123905062675476, -0.29155826568603516, 0.8878151178359985, -0.08992160111665726, -0.18209417164325714, 0.1851484328508377, 0.07618042826652527, 0.4407612383365631, -0.12563693523406982, 0.9340546131134033, 0.42063403129577637, -0.3593769371509552, -0.3576667606830597, -0.3556655943393707, 0.265752375125885, 0.30612194538116455, -1.0587215423583984, 0.10508575290441513, 0.42195427417755127, 0.2151171863079071, 0.13312473893165588, 0.23611469566822052, 0.02844334952533245, 0.03722861409187317, -0.15131983160972595, -0.3408704102039337, 0.24929307401180267, -0.771489679813385, -0.3968409299850464, 0.2237362116575241, -0.3674176037311554, 0.05821941792964935 ]
http://arxiv.org/abs/2402.12150v1
http://arxiv.org/pdf/2402.12150v1
Your Large Language Model is Secretly a Fairness Proponent and You Should Prompt it Like One
2024-02-19T14:02:22
2024-02-19T14:02:22
Tianlin Li, Xiaoyu Zhang, Chao Du, Tianyu Pang, Qian Liu, Qing Guo, Chao Shen, Yang Liu
cs.CL
cs.CL, cs.AI, I.2; J.4
The widespread adoption of large language models (LLMs) underscores the urgent need to ensure their fairness. However, LLMs frequently present dominant viewpoints while ignoring alternative perspectives from minority parties, resulting in potential biases. We hypothesize that these fairness-violating behaviors occur because LLMs express their viewpoints using a human personality that represents the majority of training data. In response to this, we validate that prompting LLMs with specific roles can allow LLMs to express diverse viewpoints. Building on this insight and observation, we develop FairThinking, a pipeline designed to automatically generate roles that enable LLMs to articulate diverse perspectives for fair expressions. To evaluate FairThinking, we create a dataset with a thousand items covering three fairness-related topics and conduct experiments on GPT-3.5, GPT-4, Llama2, and Mistral to demonstrate its superior performance.
[ -0.422941118478775, -0.3128319978713989, 0.8552660942077637, 0.23928368091583252, -0.1378282755613327, -0.12128326296806335, -0.11679114401340485, -0.2656536400318146, -0.13646066188812256, 0.5153009295463562, -0.4452337622642517, -0.07988578826189041, -0.8322691917419434, 0.046041570603847504, -0.35314157605171204, 1.2097655534744263, 0.2511514723300934, 0.43779370188713074, -0.007412523962557316, -0.12120615690946579, -0.6714483499526978, -0.4569781720638275, -0.7859668135643005, -0.685774028301239, 0.7909029126167297, 0.4080978035926819, 0.726486086845398, 0.6404474377632141, 0.13527974486351013, 0.2880842387676239, -0.13923722505569458, -0.30151617527008057, -0.4878217875957489, 0.11949004977941513, -0.40815243124961853, -0.9518771767616272, -0.48040971159935, 0.3399892747402191, 0.7252551913261414, 0.8663303256034851, -0.3692154288291931, 0.19316346943378448, 0.10912922769784927, 0.6764654517173767, -0.5915605425834656, 0.036880794912576675, -0.9756909608840942, 0.40826964378356934, -0.5010113716125488, 0.12688468396663666, -0.34496185183525085, -0.4566391110420227, 0.05595555528998375, -0.23105908930301666, 0.2757677733898163, 0.009970176964998245, 0.5474459528923035, 0.09156032651662827, -0.49099791049957275, 0.038692813366651535, -0.3156490921974182, 0.921889066696167, -0.7823406457901001, 0.2275048941373825, 0.26817119121551514, 0.5070714950561523, -0.14499743282794952, -0.4172604978084564, -0.9577195048332214, 0.021983010694384575, 0.014842885546386242, -0.07865381985902786, 0.012297998182475567, 0.13770611584186554, 0.5452594757080078, 0.405368834733963, -0.4850037693977356, 0.46150943636894226, -0.21536047756671906, -0.26370617747306824, 0.4969342052936554, 0.2234472781419754, -0.037077754735946655, -0.30291593074798584, -0.08607039600610733, 0.1026374101638794, -0.7533389925956726, 0.31174468994140625, 0.7750684022903442, 0.274278849363327, -0.13986371457576752, 0.6141524910926819, -0.15293988585472107, 0.5178812146186829, 0.1926620453596115, 0.1855918914079666, 0.19630630314350128, 0.26650089025497437, -0.4376298189163208, 0.11855640262365341, 0.5545676946640015, 0.6567258238792419, 0.4634232521057129, -0.11420458555221558, -0.3847840428352356, 0.12826333940029144, 0.1926070600748062, -0.7464846968650818, 0.0873870700597763, 0.2627299726009369, -0.668601393699646, -0.5149155259132385, -0.03842932730913162, -0.6229763627052307, -0.9816321730613708, -0.5332143306732178, 0.2847232222557068, 0.12715764343738556, -0.37484097480773926, 0.21884630620479584, -0.19161860644817352, 0.40107542276382446, 0.4534022808074951, -0.9960968494415283, 0.14206917583942413, 0.8939809799194336, 0.4110337793827057, -0.2538136839866638, -0.26099878549575806, -1.0403950214385986, 0.13273154199123383, -0.23461569845676422, 0.578350841999054, -0.6370476484298706, -0.3294867277145386, -0.12595194578170776, 0.07888099551200867, 0.20545694231987, -0.6121279001235962, 0.5757570266723633, -0.4849247336387634, 0.5476204752922058, -0.6856867671012878, -0.5177964568138123, 0.07645252346992493, 0.4492984116077423, -0.6349595189094543, 0.4317155182361603, -0.02433215267956257, -1.0101898908615112, 0.6677074432373047, -0.7546851634979248, -0.2307351678609848, 0.02625095471739769, -0.6472665071487427, -0.29621854424476624, 0.338055819272995, 0.1887395977973938, 0.462742418050766, -0.07787644863128662, 0.6963756680488586, -0.4826960563659668, -0.29253074526786804, 0.46822038292884827, -0.6829830408096313, 0.9288482666015625, 0.3244073987007141, -0.39195215702056885, 0.012980623170733452, -0.2763556241989136, -0.10622166842222214, 0.06212076544761658, -0.352933794260025, -0.009642647579312325, -0.05771463364362717, -0.09958787262439728, 0.4608408510684967, -0.0877678170800209, -0.4958399534225464, 0.05137861892580986, -0.5630849003791809, 0.29138410091400146, 1.3724128007888794, -0.4715104103088379, 0.7121334075927734, -0.5319652557373047, 0.4452928304672241, 0.10408756881952286, 0.08831898868083954, 0.24874641001224518, -0.4943661391735077, -0.6036032438278198, -0.1568589210510254, 0.145936980843544, 0.49450236558914185, -0.48343613743782043, 0.17866049706935883, -0.18758843839168549, -0.02241618186235428, -0.7076954245567322, 0.10192669928073883, 0.049015652388334274, 0.5238637924194336, -0.003626288613304496, -0.3759872317314148, -0.6034627556800842, -1.3075952529907227, -0.6555167436599731, -0.03817526623606682, -0.16083268821239471, 0.21698178350925446, 0.257904976606369, 0.0021213807631284, 1.1431419849395752, -0.09892039000988007, -0.16722416877746582, -0.35124707221984863, -0.12642081081867218, 0.3942461609840393, 0.35751771926879883, 0.6082412004470825, -0.907016932964325, -0.2605401873588562, -0.3607163429260254, -0.7357457280158997, -0.3176805377006531, 0.09465739876031876, -0.10517500340938568, 0.11785853654146194, 0.4184281826019287, -0.5623826384544373, 0.3062218129634857, 0.54177325963974, -0.3795263171195984, 0.3268977403640747, 0.21202433109283447, 0.1570521742105484, -0.9482138156890869, 0.03331276401877403, -0.14017009735107422, -0.44533756375312805, -0.26141542196273804, -0.0055753374472260475, -0.30239126086235046, 0.10050266981124878, -0.6106395721435547, 0.693912923336029, -0.12511828541755676, -0.14330410957336426, -0.350364625453949, 0.15655721724033356, -0.019473908469080925, 0.15035639703273773, -0.23142652213573456, 0.4055316150188446, 0.6305239200592041, -0.3816186785697937, 0.15550735592842102, -0.10211413353681564, -0.21626092493534088, 0.8467917442321777, -0.5201848149299622, 0.06479734927415848, -0.6443607211112976, 0.6190065741539001, -0.7178054451942444, -0.23099060356616974, 0.23446853458881378, -0.18287062644958496, -0.05751911178231239, -0.4415813088417053, -0.5198567509651184, -0.25786879658699036, -0.327186644077301, 0.38588663935661316, 0.4550379514694214, -0.5536422729492188, 0.6898947358131409, 0.679969072341919, -0.2320868968963623, -0.9206525683403015, -0.8889843821525574, 0.17512449622154236, -0.5610949397087097, -0.5447185635566711, 0.26617854833602905, -0.23320862650871277, -0.5157373547554016, -0.17755979299545288, -0.07139842212200165, 0.19382666051387787, 0.2725578546524048, 0.2626393735408783, 0.10819781571626663, 0.07127305120229721, -0.12386764585971832, 0.06694527715444565, -0.02717452310025692, 0.1294758915901184, -0.23090508580207825, 0.5202077627182007, -0.09348957985639572, -0.48701125383377075, -0.36821192502975464, 0.3684796690940857, 0.33320721983909607, -0.09245175868272781, 0.4750092029571533, 0.6305769681930542, -0.3827819228172302, -0.3523334860801697, -0.6528872847557068, -0.2126099318265915, -0.5366864204406738, 0.34474819898605347, -0.11251501739025116, -1.218727946281433, 0.4941290020942688, 0.3054037094116211, 0.5091646313667297, 0.1091826781630516, 0.7378496527671814, 0.00025893241399899125, 1.2291593551635742, 0.6729016304016113, -0.05982150509953499, 0.4491124451160431, 0.059732355177402496, 0.3200567066669464, -0.4902200698852539, -0.18002508580684662, -0.4853741526603699, -0.5677422285079956, -0.7569050192832947, -0.477634996175766, 0.08913872390985489, -0.04059198126196861, -0.405115008354187, -0.331127792596817, -0.3826140761375427, 0.8053048849105835, 0.36218470335006714, -0.15696942806243896, 0.3897273540496826, 0.07621734589338303, -0.06316497176885605, -0.23172537982463837, -0.4467361569404602, -0.7832939624786377, 1.0773969888687134, 0.519736111164093, 0.7189965844154358, 0.3046393096446991, 0.6866982579231262, 0.37013697624206543, 0.7251932621002197, -0.7125140428543091, 0.6128677725791931, -0.31092336773872375, -0.8278910517692566, -0.017414484173059464, -0.5337628722190857, -0.7236828804016113, 0.4435255825519562, -0.007368908729404211, -0.6417821645736694, 0.06109416484832764, 0.3392565846443176, -0.11819279938936234, 0.431987464427948, -0.7150432467460632, 0.6957308053970337, -0.021116936579346657, -0.24654003977775574, -0.3669738173484802, -0.6201830506324768, 0.49028638005256653, 0.05297541990876198, 0.42218226194381714, -0.30234453082084656, 0.07928330451250076, 0.6448430418968201, -0.0900244489312172, 0.9851554036140442, -0.6317296624183655, -0.3914293348789215, 0.04437130689620972, 0.32297563552856445, 0.19429868459701538, 0.38416826725006104, -0.525726854801178, 0.04822539538145065, -0.33766040205955505, -0.4585999846458435, -0.4462442994117737, 0.8019217848777771, -0.5668506622314453, -0.877532958984375, -0.5414171814918518, -0.553255558013916, -0.3526637554168701, 0.11641178280115128, 0.18121060729026794, -0.0569177009165287, -0.16653157770633698, 0.09707776457071304, 0.6263155341148376, -0.13705895841121674, 0.4495863616466522, 0.3786467909812927, -0.3900674283504486, 0.19810181856155396, 0.5420133471488953, -0.03710446134209633, 0.2730695307254791, 0.026356946676969528, 0.22532659769058228, -0.31576868891716003, -0.5118123888969421, -0.38178059458732605, 0.03829670324921608, -0.6755049824714661, -0.12009705603122711, -0.7190878987312317, -0.07187473028898239, -0.32799458503723145, -0.11852194368839264, -0.2241622805595398, -0.4293798804283142, 0.17099997401237488, -0.19760969281196594, 0.05748596042394638, 0.7114055752754211, -0.28584086894989014, 0.3309139013290405, -0.4227893054485321, 0.3051934540271759, 0.7197375297546387, 0.6066668033599854, 0.29349061846733093, -0.6246366500854492, 0.10379699617624283, 0.1459551602602005, -0.5531643033027649, -0.340863436460495, -0.05769640579819679, -0.12307160347700119, 0.9375123977661133, 0.3074009120464325, -0.29832348227500916, 0.2473321259021759, -0.8199223875999451, 0.7840853929519653, 0.2347794622182846, -1.0192970037460327, 0.4425811767578125, -0.32725754380226135, -0.0433981753885746, 0.3805875778198242, 0.14811831712722778, -0.6588825583457947, -0.753178060054779, -0.5221507549285889, -0.5515838265419006, 0.7951523065567017, 0.18716394901275635, 0.32227495312690735, -0.007646400947123766, 0.13096675276756287, 0.3713592290878296, 0.4741697311401367, -1.244482398033142, -0.10564635694026947, -0.33149537444114685, -0.24380137026309967, 0.1096997782588005, 0.05114473029971123, -0.3965749144554138, 0.04820391163229942, 0.2202168107032776, -0.16694219410419464, 0.050885558128356934, -0.014589516445994377, -0.056714728474617004, -0.1458699107170105, 0.5994331240653992, 0.2136126458644867, 0.6810081005096436, 0.044999148696660995, 0.296139121055603, 0.11886654049158096, -0.27154549956321716, 0.015361127443611622, 0.04050692170858383, 0.0266021229326725, -0.22444620728492737, 0.04769358038902283, 0.5731611251831055, -0.3473372459411621, -0.5997950434684753, 0.7375620007514954, -0.24438245594501495, -0.05337882786989212, -0.035560671240091324, 0.3447522222995758, 0.2268914133310318, 0.45316678285598755, 0.26902809739112854, 0.13345807790756226, 0.23587244749069214, -0.7078248262405396, 0.06500706821680069, 0.470057874917984, -0.1757534295320511, -0.20193631947040558, 0.7481409907341003, 0.2127574235200882, -0.17611083388328552, 0.3983479142189026, -0.2949853241443634, -0.5286905765533447, 0.5901252627372742, 0.17206649482250214, 0.6729320883750916, -0.027598930522799492, 0.07051631063222885, -0.10132037103176117, 0.23892217874526978, -0.27694857120513916, 0.22353467345237732, 0.307304710149765, -0.8418118953704834, -0.6127541661262512, -0.6892209053039551, -0.2335951179265976, 0.1151377335190773, -0.3727411925792694, 0.4409090578556061, -0.4758007526397705, -0.23198212683200836, 0.009710793383419514, -0.16790665686130524, -0.9560477137565613, 0.04543716087937355, 0.5800026655197144, 0.7485186457633972, -0.9058468341827393, 0.6360342502593994, 0.4014054834842682, -0.20853011310100555, -0.7457531094551086, 0.18141068518161774, 0.22151263058185577, -0.9075940251350403, 0.7419320940971375, 0.2828175127506256, 0.07259432971477509, -0.2474767416715622, -0.8212761282920837, -0.1092664822936058, 0.927827775478363, 0.7896187901496887, -0.7383444905281067, -0.2537568211555481, 0.2834469676017761, 0.224182590842247, -0.4865914583206177, 0.09522762149572372, 0.26705652475357056, 0.4895588159561157, -0.22648438811302185, -1.0734803676605225, 0.12410325556993484, 0.0519230030477047, -0.02586323581635952, -0.28698956966400146, -0.5677040815353394, 1.075247883796692, -0.2988995909690857, 0.10028740763664246, -0.1292881965637207, 0.3846380412578583, 0.6579090356826782, 0.41932278871536255, 0.9860994815826416, 0.5341378450393677, 0.9035749435424805, 0.05685871094465256, 0.9247554540634155, 0.35640180110931396, 0.036884188652038574, 1.0889679193496704, -0.619965136051178, 0.37030214071273804, 0.5956283807754517, 0.0046846382319927216, 0.43161386251449585, 0.4295831620693207, -0.045172784477472305, 0.4018653333187103, 0.6379306316375732, -0.30367645621299744, -0.4061218500137329, -0.2537247836589813, -0.4277755618095398, 0.46021291613578796, 0.1266442835330963, -0.2857629060745239, -0.36144307255744934, 0.12259169667959213, 0.14839227497577667, 0.35077574849128723, -0.45655807852745056, 0.3918713629245758, 0.41364526748657227, -0.5822649002075195, 0.008217201568186283, 0.2206277996301651, 1.0128173828125, -0.2783636748790741, -0.04842821881175041, -0.26122546195983887, 0.04935844615101814, -0.33672481775283813, -1.2483049631118774, 0.1132209300994873, 0.18031570315361023, -0.36404672265052795, -0.48212292790412903, 0.3168542981147766, -0.20422795414924622, -0.24038346111774445, 0.2854713201522827, 0.740847110748291, 0.03335981070995331, 0.05258877947926521, -0.6945502758026123, 0.10059590637683868, 0.12546958029270172, -0.1287955939769745, 0.5164250731468201, 0.8240041136741638, -0.305732399225235, 0.6024837493896484, 0.5336204171180725, 0.19636431336402893, -0.17026327550411224, 0.5226075053215027, 0.8365543484687805, -0.619365394115448, -0.7191046476364136, -0.961673378944397, 0.7245981097221375, -0.3063998520374298, -0.06820208579301834, 0.431741327047348, 0.5228199362754822, 0.8406631350517273, 0.21950706839561462, 0.9079747796058655, -0.11345036327838898, 0.5143452882766724, -0.4655282199382782, 0.9608303904533386, -0.5212900638580322, 0.5320488810539246, -0.24724790453910828, -0.8819431662559509, -0.0685507133603096, 0.6032112836837769, -0.35156628489494324, 0.34963545203208923, 0.23771578073501587, 0.8031629323959351, -0.20960772037506104, 0.2164766639471054, 0.13427484035491943, 0.3705749213695526, 0.8045141696929932, 0.589261531829834, 1.0650960206985474, -0.029464155435562134, 0.492874413728714, 0.3174374997615814, -0.2367876172065735, -0.03932096064090729, -1.2807594537734985, -0.948057234287262, -0.18689000606536865, 0.03557535633444786, -0.5479317307472229, -0.08250734955072403, 1.0288442373275757, 0.7218143343925476, -0.5222674012184143, -0.3084152638912201, 0.02348063699901104, 0.31717389822006226, 0.3812890350818634, -0.26797106862068176, -0.1158837154507637, -0.16614671051502228, -0.7249311208724976, -0.046982187777757645, -0.09306961297988892, -0.11532024294137955, -0.34192290902137756, -0.06636815518140793, 0.2046724110841751, -0.10422442108392715, 0.6237456798553467, -0.12154969573020935, -0.6504689455032349, -0.43402159214019775, -0.24478527903556824, -0.30284804105758667, -0.017312413081526756, 0.866278886795044, -0.8540825247764587, 0.16358080506324768, 0.319655179977417, 0.6275841593742371, 0.05247596651315689, -0.39841824769973755, 0.8185404539108276, -0.655482828617096, 0.2666129469871521, 0.5831013917922974, 0.35586240887641907, 0.578654408454895, -0.27920103073120117, 0.24027258157730103, 0.22600817680358887, -0.5639925599098206, -1.0467637777328491, 0.4259880483150482, -0.8489930033683777, -0.27238497138023376, 0.869185209274292, 0.22680343687534332, -0.035715553909540176, 0.022658025845885277, -0.29558897018432617, 0.035993173718452454, -0.6744901537895203, 0.9320196509361267, 0.7850608229637146, -0.11132466048002243, 0.044809285551309586, -0.7697192430496216, 0.6142160892486572, 0.5840065479278564, -0.6931963562965393, 0.1875002086162567, 0.4299762547016144, 0.594149112701416, -0.28161388635635376, 0.9186707735061646, -0.3744180500507355, 0.20488356053829193, -0.5642017126083374, -0.2148306518793106, 0.29332104325294495, 0.11990024894475937, -0.376598060131073, 0.1006941944360733, 0.3335128724575043, 0.28721821308135986 ]
http://arxiv.org/abs/2402.14845v1
http://arxiv.org/pdf/2402.14845v1
Purifying Large Language Models by Ensembling a Small Language Model
2024-02-19T14:00:39
2024-02-19T14:00:39
Tianlin Li, Qian Liu, Tianyu Pang, Chao Du, Qing Guo, Yang Liu, Min Lin
cs.CL
cs.CL, cs.AI, cs.LG, I.2
The emerging success of large language models (LLMs) heavily relies on collecting abundant training data from external (untrusted) sources. Despite substantial efforts devoted to data cleaning and curation, well-constructed LLMs have been reported to suffer from copyright infringement, data poisoning, and/or privacy violations, which would impede practical deployment of LLMs. In this study, we propose a simple and easily implementable method for purifying LLMs from the negative effects caused by uncurated data, namely, through ensembling LLMs with benign and small language models (SLMs). Aside from theoretical guarantees, we perform comprehensive experiments to empirically confirm the efficacy of ensembling LLMs with SLMs, which can effectively preserve the performance of LLMs while mitigating issues such as copyright infringement, data poisoning, and privacy violations.
[ -0.22950193285942078, -0.7943061590194702, 0.6840054988861084, -0.24470378458499908, -0.4989137053489685, 0.049435731023550034, -0.5604498386383057, -0.4193006753921509, 0.12770263850688934, 1.0649231672286987, -0.14360743761062622, -0.3140869438648224, -0.49940669536590576, -0.1270531266927719, -0.7072639465332031, 0.9604294896125793, 0.17928992211818695, 0.01033172570168972, -0.31950902938842773, 0.11776559054851532, -0.28473371267318726, -0.4453396201133728, -0.6663994193077087, -0.5644951462745667, 0.2285938262939453, 0.5461276173591614, 0.580580472946167, 0.8157629370689392, 0.3209146559238434, 0.2951984405517578, -0.379111111164093, 0.3976666331291199, -0.8325200080871582, 0.12585805356502533, -0.3409166932106018, -0.6520305871963501, -0.13944706320762634, 0.0018345846328884363, 0.7558131814002991, 0.6602880358695984, -0.231362447142601, 0.27788469195365906, 0.5304142236709595, 0.589738130569458, -0.6753649711608887, -0.20391538739204407, -0.9506542682647705, -0.14843040704727173, -0.49648013710975647, -0.2629636824131012, -0.8248237371444702, -0.4645492434501648, -0.3847121000289917, -0.191334068775177, 0.08338623493909836, 0.10381985455751419, 0.7414873242378235, 0.2925623953342438, -0.19694945216178894, -0.1213194876909256, -0.9617286324501038, 1.0425904989242554, -1.1942023038864136, 0.35703733563423157, 0.4894648492336273, 0.16088560223579407, -0.2762928903102875, -0.4827161431312561, -0.4895520806312561, -0.12173930555582047, -0.1683930605649948, -0.3093951642513275, -0.18668557703495026, -0.10928384214639664, 0.291015088558197, 0.2566240131855011, -0.5138947367668152, 0.42089077830314636, -0.4280339479446411, -0.23896200954914093, 0.7376213073730469, 0.17078913748264313, 0.26581576466560364, -0.060576241463422775, -0.22801943123340607, 0.24094462394714355, -1.4389981031417847, -0.16520068049430847, 0.6705453395843506, 0.5633125901222229, 0.20863528549671173, 0.9068800210952759, -0.07354403287172318, 0.574077308177948, -0.023456614464521408, -0.28769978880882263, 0.00028759113047271967, -0.17651714384555817, -0.394111305475235, 0.015453959815204144, 0.6136879324913025, -0.03498781844973564, 0.3421618342399597, -0.41996508836746216, -0.41261810064315796, -0.07352201640605927, 0.28099358081817627, -0.8447285294532776, -0.1898416429758072, 0.4103815257549286, -0.525897204875946, -0.3176043927669525, -0.24480684101581573, -0.8325745463371277, -0.7693054676055908, -0.5540755391120911, 0.4236343801021576, -0.1326626092195511, -0.19731256365776062, 0.2087482362985611, 0.12231051921844482, -0.06692549586296082, 0.2710523307323456, -0.7454508543014526, 0.25994381308555603, 0.968211829662323, 0.6836576461791992, -0.09703019261360168, 0.10451693087816238, -0.7038958072662354, 0.4402216672897339, -0.20051728188991547, 0.5852766036987305, -0.5214848518371582, -0.3551441431045532, 0.16181610524654388, 0.0638069361448288, 0.24215573072433472, -1.0070689916610718, 0.4374023973941803, -0.6590190529823303, -0.06346652656793594, 0.152499258518219, -0.7392833828926086, -0.03188184276223183, 0.39115986227989197, -0.7466710805892944, 0.5539705157279968, -0.41284850239753723, -0.7509031891822815, -0.17016293108463287, -0.12369736284017563, -0.4591316878795624, 0.015822868794202805, -0.034733038395643234, -0.4831690788269043, 0.33773741126060486, 0.029439348727464676, 0.46574702858924866, -0.293505996465683, 0.3625926673412323, -0.5806916952133179, -0.3423568904399872, 0.34161677956581116, -0.4420732259750366, 1.0387403964996338, 0.39779749512672424, 0.006240454036742449, -0.002705484628677368, -0.7163931131362915, -0.027099523693323135, 0.1791200041770935, -0.47696977853775024, -0.7983248829841614, 0.2132129669189453, -0.241818368434906, 0.10934764891862869, 0.34845590591430664, -0.7393223643302917, 0.07528339326381683, -0.6583409309387207, 0.4799838066101074, 0.7641779184341431, 0.0863896831870079, 0.7390099167823792, -0.30056002736091614, 0.4296245872974396, 0.13333359360694885, 0.190921351313591, 0.19835874438285828, -0.4954341650009155, -0.833534300327301, -0.2516886591911316, 0.125258207321167, 0.22526751458644867, -0.8293015360832214, 0.2221013307571411, -0.43883997201919556, -0.5852878093719482, -0.5324445962905884, 0.46535730361938477, 0.31034258008003235, 0.43731486797332764, 0.12746717035770416, -0.07181009650230408, -0.4150606095790863, -0.998609185218811, -0.47563520073890686, -0.009791177697479725, -0.05556198209524155, 0.20589682459831238, 0.5211393237113953, -0.3149867653846741, 0.9770626425743103, -0.44988128542900085, -0.3014243245124817, -0.1448434591293335, -0.14186955988407135, 0.12187772989273071, 0.7229697704315186, 0.1715632975101471, -0.40439704060554504, -0.3671320676803589, -0.21126291155815125, -0.4557643532752991, -0.19504481554031372, 0.14927883446216583, -0.05579560995101929, 0.02146795392036438, 0.6767591238021851, -0.6034733057022095, 0.35058125853538513, 0.3866916000843048, -0.12508870661258698, 0.5749121904373169, -0.11934266239404678, -0.07848364114761353, -0.7505868673324585, 0.12903207540512085, -0.11765076965093613, -0.4653882086277008, -0.812534749507904, 0.46698108315467834, 0.13081501424312592, -0.2797304093837738, -0.7665907740592957, 0.752165675163269, -0.3382710814476013, 0.27692726254463196, -0.4253685176372528, 0.11867132782936096, 0.12467976659536362, 0.1540268212556839, -0.030550241470336914, 0.33394232392311096, 0.23324157297611237, -0.5727093815803528, 0.09646379202604294, 0.039655305445194244, -0.40480390191078186, 0.30558666586875916, -0.4439810514450073, 0.20944419503211975, -0.3101588189601898, -0.05540992319583893, -0.8738234639167786, -0.02867261879146099, 0.233719140291214, -0.05611850321292877, 0.5184569358825684, -0.5127875208854675, -0.803699254989624, -0.09287369251251221, -0.2770080864429474, 0.3809782862663269, 0.6500776410102844, -0.9012608528137207, 0.4262946844100952, 0.6984140872955322, -0.12887197732925415, -0.4078509509563446, -0.9095653891563416, 0.06929360330104828, -0.7862980365753174, -0.5325669646263123, 0.039723899215459824, -0.003311674576252699, -0.3584311604499817, -0.020899102091789246, 0.025849778205156326, -0.08251119405031204, 0.24728350341320038, 0.2757861018180847, 0.18444791436195374, 0.020616482943296432, 0.006684329826384783, -0.11725891381502151, -0.07840894907712936, 0.06050679087638855, -0.017967717722058296, 0.7035225629806519, 0.08531930297613144, -0.49785029888153076, -0.047910384833812714, 0.29309794306755066, 0.4411555230617523, -0.3380856215953827, 0.79841148853302, -0.0033367020078003407, -0.7383534908294678, -0.5245817303657532, -0.726161539554596, -0.35478806495666504, -0.5522288084030151, 0.13050496578216553, 0.03925022855401039, -0.9020090103149414, 0.4887482225894928, -0.1949649304151535, 0.23191078007221222, 0.10730191320180893, 0.40081965923309326, -0.1119789257645607, 1.030136227607727, 0.4816499352455139, -0.23922301828861237, 0.35676586627960205, -0.12101911753416061, 0.5186749696731567, -0.7682278156280518, -0.17236945033073425, -0.7479614615440369, -0.43190425634384155, -0.4258557856082916, -0.40906983613967896, 0.11187222599983215, 0.20605997741222382, -0.4840952157974243, 0.28946760296821594, -0.3646523058414459, 0.7503478527069092, 0.45302578806877136, 0.2135736644268036, 0.7570614814758301, 0.15289638936519623, 0.07109943777322769, -0.1957687884569168, -0.4345732033252716, -0.838428258895874, 1.0298625230789185, 0.551814079284668, 1.3856806755065918, 0.2085442841053009, 1.172000765800476, -0.1800079196691513, 0.49688586592674255, -0.6265363693237305, 0.7486886382102966, -0.4545970559120178, -0.67432701587677, -0.3039536476135254, -0.47994738817214966, -0.9166547060012817, 0.20185482501983643, 0.003540592035278678, -0.9168241620063782, 0.22259892523288727, 0.15260718762874603, -0.2937188744544983, 0.5142139196395874, -0.7022801041603088, 0.7147918939590454, -0.12189053744077682, -0.5843908190727234, -0.39166009426116943, -0.20995517075061798, 0.8402489423751831, -0.4863232970237732, 0.5401524305343628, -0.12090147286653519, -0.025603797286748886, 0.6825148463249207, -0.6195349097251892, 0.9645554423332214, -0.31373047828674316, -0.4521733820438385, 0.2963506877422333, 0.5484064817428589, 0.741620659828186, 0.015500984154641628, -0.014230805449187756, 0.1366719752550125, -0.012707924470305443, -0.03237944468855858, -0.5660069584846497, 0.9180087447166443, -0.47083380818367004, -0.7817203998565674, -0.10508141666650772, -0.39601054787635803, -0.18496188521385193, 0.33577612042427063, 0.04449239745736122, 0.177638441324234, 0.10151781886816025, 0.27275824546813965, 0.7853362560272217, -0.3268411159515381, 0.46524590253829956, 0.89452064037323, -0.4478395879268646, 0.0005400073132477701, 1.1459287405014038, 0.06043117493391037, 0.33492574095726013, 0.1154017224907875, 0.2561650276184082, -0.32752615213394165, -0.8841646909713745, -0.1418030709028244, 0.4329216778278351, -0.6173346042633057, -0.3832278549671173, -0.3638453781604767, -0.23235680162906647, -0.19667915999889374, 0.06951399892568588, -0.697181224822998, -0.28187501430511475, -0.36099061369895935, 0.27656349539756775, 0.09917306154966354, 0.5863597393035889, 0.001697783125564456, 0.3690655529499054, -0.9069114327430725, 0.1737583577632904, 0.0726868212223053, 0.4945552945137024, 0.11621662229299545, -0.8712945580482483, -0.3333534598350525, 0.40737074613571167, -0.22566714882850647, -0.5474509596824646, 0.6533659100532532, 0.16470417380332947, 0.39840346574783325, 0.6194056272506714, 0.033992912620306015, 0.8168675899505615, -0.825661301612854, 0.6790525317192078, -0.02880510315299034, -0.7535824775695801, 0.6375046372413635, -0.13759659230709076, 0.036280557513237, 0.5355455279350281, 0.10185246914625168, -0.49094992876052856, -0.8325625658035278, -0.4585537314414978, -0.8910452127456665, 0.6506369709968567, 0.0003274114860687405, 0.1751818209886551, -0.010320986621081829, 0.2794245779514313, -0.013972458429634571, 0.24741359055042267, -0.6721622943878174, -0.07726826518774033, 0.18189097940921783, -0.21317829191684723, -0.26522383093833923, -0.2621525824069977, -0.38220053911209106, -0.018516968935728073, 1.0318496227264404, 0.3191457688808441, -0.05379856750369072, -0.4565317630767822, -0.49744513630867004, -0.09347502887248993, 0.41099345684051514, 0.22506465017795563, 0.10031478852033615, -0.0361885204911232, 0.5646178722381592, -0.19484350085258484, -0.26406410336494446, 0.4337579905986786, -0.18597412109375, -0.5077593326568604, -0.2656514346599579, 0.06552312523126602, 0.03706580400466919, 0.29081425070762634, -0.9782949686050415, 0.4560350179672241, 0.05629132315516472, 0.3317246735095978, -0.22922345995903015, 0.12740707397460938, 0.43678387999534607, 0.15611311793327332, -0.06418056041002274, -0.05531906709074974, 0.07315337657928467, -0.4427890479564667, 0.24221494793891907, 0.5796339511871338, 0.09716996550559998, -0.09007179737091064, 0.6412562727928162, 0.12655657529830933, -0.09478647261857986, 0.6718831062316895, -0.1627172976732254, -0.2448110431432724, 0.3028676509857178, 0.7278061509132385, 0.6464404463768005, -0.2699964642524719, -0.0467965230345726, 0.27737706899642944, 0.5218154788017273, -0.5419074296951294, 0.08520463854074478, 0.2655922770500183, -0.9980457425117493, -0.4586620628833771, -0.716178834438324, -0.1916881948709488, 0.4857286810874939, -0.5809530019760132, 0.026466824114322662, -0.4219149351119995, -0.07343080639839172, -0.19973519444465637, -0.02251088060438633, -0.7005359530448914, -0.008800551295280457, 0.45743268728256226, 0.8783554434776306, -1.0238229036331177, 0.9617048501968384, 0.4465695917606354, -0.3611951470375061, -0.8521592020988464, -0.276030570268631, 0.14383016526699066, -0.7856046557426453, 0.5152204632759094, 0.052571993321180344, 0.02165747620165348, -0.008010484278202057, -0.7040901184082031, -0.9400261640548706, 0.5134583115577698, 0.7679851651191711, -0.859359085559845, 0.1065884679555893, 0.5042865872383118, 0.43768632411956787, 0.06981027871370316, -0.22468918561935425, 0.8315689563751221, 0.4061051607131958, -0.28114309906959534, -0.6096208095550537, 0.24847640097141266, -0.33684638142585754, -0.06307771056890488, 0.2064802646636963, -0.4716566801071167, 0.6147114634513855, 0.0067594014108181, -0.4474113881587982, 0.17862756550312042, 0.3733728229999542, 0.3901948630809784, -0.00014898877998348325, 0.5387532711029053, 0.7245120406150818, 0.8872959017753601, -0.08989818394184113, 0.6873555183410645, -0.23370417952537537, 0.4108161926269531, 1.4314624071121216, -0.5322644114494324, 0.9829832911491394, 0.7232187390327454, 0.01848476193845272, 0.08295250684022903, 0.4604002833366394, -0.023173745721578598, 0.7275399565696716, 0.36158159375190735, -0.3511301875114441, -0.2670089602470398, -0.1793590486049652, -0.1318448930978775, 0.4748058021068573, 0.41093340516090393, -0.2696709632873535, -0.44520553946495056, 0.22816799581050873, 0.09387046843767166, 0.13933230936527252, -0.37318655848503113, 0.6381782293319702, 0.2863934338092804, -0.6334156394004822, 0.4704301357269287, 0.2233743816614151, 0.8280702829360962, -0.28511497378349304, 0.20139238238334656, -0.17483358085155487, 0.40615081787109375, -0.4385825991630554, -0.8002493977546692, 0.46736955642700195, 0.208354651927948, 0.007561295758932829, -0.33098113536834717, 1.0253924131393433, -0.8358181715011597, -0.27072998881340027, 0.3357425332069397, 0.5367094278335571, 0.366067111492157, -0.08748339861631393, -0.19219885766506195, 0.1986176073551178, -0.0017273499397560954, -0.25960174202919006, 0.5394001603126526, 0.16094902157783508, 0.08469805121421814, 0.8201733231544495, 0.6316384673118591, 0.47686654329299927, 0.04244198650121689, 0.11271373927593231, 0.8819781541824341, -0.4264349043369293, -0.4067622721195221, -1.1235581636428833, 0.5218863487243652, 0.04102003946900368, 0.29466816782951355, 0.9063626527786255, 0.82903653383255, 0.9003987312316895, -0.1046920046210289, 0.6740533113479614, 0.3200218677520752, 0.5679787397384644, -0.4449102580547333, 1.0365887880325317, -0.5779592394828796, 0.7419995069503784, -0.02728024497628212, -0.8034259080886841, -0.25417619943618774, 0.4340577721595764, -0.28406834602355957, -0.1626533418893814, 0.31957197189331055, 1.092349886894226, -0.20803888142108917, 0.11848475784063339, 0.34068211913108826, 0.46312376856803894, 0.6762619614601135, 0.5228356122970581, 0.9365442395210266, 0.015534302219748497, 0.3985406160354614, -0.5676853656768799, -0.09797166287899017, -0.1455526351928711, -0.9279902577400208, -0.9308469891548157, -0.19864614307880402, -0.22935405373573303, -0.44565337896347046, -0.13120020925998688, 0.6593602895736694, 0.5129138827323914, -0.8241303563117981, -0.12416784465312958, 0.15671558678150177, 0.24272362887859344, 0.06391939520835876, -0.18462510406970978, 0.21920844912528992, -0.1495678424835205, -0.8196547627449036, 0.5407742261886597, 0.022811539471149445, 0.12513969838619232, -0.4609520137310028, -0.0796019658446312, 0.17122353613376617, 0.18965524435043335, 0.5920796394348145, 0.2608337700366974, -0.7737117409706116, -0.5210500955581665, -0.42889344692230225, -0.25513848662376404, -0.22552478313446045, 0.7845389246940613, -0.688737690448761, 0.4432193636894226, 0.4753299951553345, 0.7612351775169373, 0.3811720907688141, -0.04896235093474388, 0.40685978531837463, -0.98650723695755, 0.1501428186893463, 0.2943345606327057, 0.6372262239456177, 0.32852163910865784, -0.3571537435054779, 0.4152243733406067, -0.08084911108016968, -0.6131225228309631, -1.2901030778884888, 0.12420903146266937, -0.675449788570404, -0.3339819610118866, 1.4550169706344604, -0.1910330206155777, -0.1546182632446289, -0.1392824649810791, 0.07285679876804352, 0.23390227556228638, -0.10133640468120575, 0.8328747749328613, 0.5774791836738586, 0.25585466623306274, 0.2694830596446991, -0.549220085144043, 0.34263497591018677, 0.16557425260543823, -0.8896075487136841, 0.3815518915653229, 0.4927753806114197, 0.5991557836532593, -0.1053893119096756, 0.4828971028327942, -0.45244595408439636, -0.16179019212722778, -0.26055026054382324, -0.20055872201919556, -0.1947319358587265, -0.28143924474716187, -0.6276384592056274, 0.13725578784942627, 0.03425157070159912, 0.05464620888233185 ]
http://arxiv.org/abs/2402.12147v3
http://arxiv.org/pdf/2402.12147v3
Surprising Efficacy of Fine-Tuned Transformers for Fact-Checking over Larger Language Models
2024-02-19T14:00:35
2024-04-30T08:56:18
Vinay Setty
cs.CL
cs.CL, cs.AI
In this paper, we explore the challenges associated with establishing an end-to-end fact-checking pipeline in a real-world context, covering over 90 languages. Our real-world experimental benchmarks demonstrate that fine-tuning Transformer models specifically for fact-checking tasks, such as claim detection and veracity prediction, provide superior performance over large language models (LLMs) like GPT-4, GPT-3.5-Turbo, and Mistral-7b. However, we illustrate that LLMs excel in generative tasks such as question decomposition for evidence retrieval. Through extensive evaluation, we show the efficacy of fine-tuned models for fact-checking in a multilingual setting and complex claims that include numerical quantities.
[ -0.5029720067977905, -0.7554183602333069, 0.8844845294952393, -0.050509992986917496, -0.16611944139003754, 0.019718360155820847, -0.33914127945899963, -0.5074089169502258, -0.39896300435066223, 0.49624279141426086, -0.351300984621048, -0.3608178496360779, -0.9299159049987793, 0.30905869603157043, -0.7043445706367493, 1.1919702291488647, -0.10442352294921875, -0.17881830036640167, -0.062202051281929016, -0.11658147722482681, -0.08894365280866623, -0.42022761702537537, -0.452730655670166, -0.5141799449920654, 0.361556738615036, 0.37862318754196167, 0.8739416003227234, 0.3994106948375702, 0.59346604347229, 0.3226444721221924, -0.16520565748214722, 0.6894772052764893, -0.354836642742157, 0.044589001685380936, -0.4376666843891144, -0.8025903105735779, -0.12300116568803787, 0.07874936610460281, 0.4332491457462311, 0.21722088754177094, -0.1577187180519104, 0.41499394178390503, -0.2858225703239441, 0.3727596700191498, -0.6979538202285767, 0.5025746822357178, -0.8588974475860596, -0.020476464182138443, -0.09858690947294235, 0.02249983698129654, -0.6177393198013306, -0.5135854482650757, 0.09327348321676254, -0.2826312780380249, 0.7133747935295105, 0.17576348781585693, 1.2739442586898804, 0.521396815776825, -0.6204221844673157, -0.30289384722709656, -0.9694303870201111, 0.5490593910217285, -0.612838625907898, 0.6482735872268677, 0.27398839592933655, 0.4617033898830414, -0.01067262515425682, -0.8162564039230347, -0.7948616743087769, -0.12717977166175842, -0.41549691557884216, 0.08962895721197128, -0.3280443847179413, 0.09133300930261612, 0.5747817158699036, 0.4219495952129364, -0.4055579900741577, 0.12784403562545776, -0.2896447777748108, -0.4798889756202698, 0.37126854062080383, 0.021317370235919952, 0.09634707123041153, -0.23179270327091217, 0.0009935415582731366, 0.06353641301393509, -0.8787996172904968, -0.061595357954502106, 0.2611227035522461, 0.218685582280159, -0.1037612035870552, 0.6323516368865967, -0.45421141386032104, 0.693525493144989, 0.03527750447392464, -0.11507901549339294, -0.24344219267368317, -0.4949095845222473, -0.21004286408424377, -0.07285350561141968, 0.5636852979660034, 0.22158898413181305, 0.23129858076572418, -0.41988348960876465, -0.3294479250907898, 0.2631740868091583, 0.11723895370960236, -1.0517929792404175, -0.09719259291887283, 0.1443934440612793, -0.12604211270809174, -0.1431414783000946, 0.047032374888658524, -0.38027700781822205, -0.34192872047424316, -0.44568464159965515, 0.5368189811706543, -0.2628224790096283, -0.13764941692352295, 0.4400493800640106, -0.03181205317378044, 0.3051265776157379, 0.3085072636604309, -0.7407343983650208, -0.08384409546852112, 0.9944961667060852, 0.8118728995323181, 0.18437516689300537, -0.08166032284498215, -0.8589745759963989, -0.19453895092010498, -0.40345388650894165, 1.0558024644851685, -0.5515481233596802, 0.19345079362392426, 0.13757608830928802, 0.2581586241722107, -0.02392180822789669, -0.540429413318634, 1.1713342666625977, -0.7300629019737244, 0.12177377939224243, -0.4921635091304779, -0.5594469308853149, -0.17165593802928925, 0.6419569849967957, -0.707144021987915, 0.8173485994338989, 0.02307734452188015, -0.6839278340339661, 0.5448625683784485, -0.3983948826789856, -0.5918001532554626, -0.19308950006961823, -0.08009838312864304, -0.6835446357727051, 0.33095163106918335, 0.129480242729187, 0.58453768491745, -0.6962839365005493, 0.658085286617279, 0.024949481710791588, -0.1739208847284317, 0.24376577138900757, -0.7140771150588989, 0.4881556034088135, 0.20356899499893188, -0.4230479896068573, 0.03868471086025238, -0.8042479157447815, -0.3390516936779022, -0.1780208945274353, -0.424911230802536, -0.03761889040470123, 0.12701137363910675, -0.16044458746910095, 0.23700982332229614, 0.1329929083585739, -0.8965153694152832, 0.1557837873697281, -0.1870606690645218, 0.4158954322338104, 0.2774803042411804, -0.30959373712539673, -0.14670026302337646, -0.3652191162109375, 0.28334784507751465, 0.1057811975479126, 0.054529160261154175, -0.32075369358062744, -0.34814193844795227, -1.1858500242233276, -0.19000206887722015, 0.6694456338882446, 0.5608318448066711, -0.792309045791626, 0.34222498536109924, -0.4088161289691925, -0.6303076148033142, -0.607872486114502, -0.23062990605831146, 0.35355672240257263, 0.5195125341415405, 0.42221948504447937, 0.20049655437469482, -0.4440700113773346, -1.0950204133987427, -0.5014442801475525, -0.2100631594657898, -0.08378790318965912, -0.0630752295255661, 0.5501869320869446, -0.13468553125858307, 1.014807105064392, -0.5934748649597168, -0.1180066168308258, -0.08719776570796967, 0.3215702772140503, 0.33158546686172485, 0.044385313987731934, 0.41060298681259155, -0.8467919230461121, -0.482412189245224, 0.32747164368629456, -0.660362184047699, 0.02669755183160305, -0.30406272411346436, 0.28668278455734253, 0.18366557359695435, 0.44268977642059326, -1.1763910055160522, 0.15030361711978912, 0.471361368894577, -0.4369620680809021, 0.7037924528121948, -0.2690017819404602, 0.39267635345458984, -0.7480871081352234, -0.06269572675228119, 0.1984405815601349, -0.5685939788818359, -0.5723787546157837, 0.2407539039850235, 0.3970097005367279, 0.20728699862957, -0.4234590530395508, 0.10488297790288925, -0.22799289226531982, 0.19110052287578583, -0.13512730598449707, -0.1944662183523178, -0.1474980115890503, 0.2256052941083908, -0.09185820072889328, 0.8645814657211304, 0.5678313374519348, -0.6523230075836182, 0.30291426181793213, 0.13783623278141022, -0.7015905976295471, 0.4925958216190338, -0.6432309150695801, -0.21818280220031738, -0.25430893898010254, 0.18217507004737854, -0.8187596201896667, -0.3340897858142853, -0.3482520580291748, -0.11866281181573868, 0.3433460593223572, -0.48427075147628784, -0.8323469758033752, -0.2442832589149475, -0.03311905264854431, -0.0016549854772165418, 0.5225673913955688, -0.8143439888954163, 0.8213599324226379, 0.17710915207862854, -0.027703268453478813, -0.5975052118301392, -0.437193900346756, 0.225505530834198, -0.1806563138961792, -0.5870200395584106, 0.20857496559619904, 0.29766449332237244, -0.3743756115436554, -0.27967527508735657, -0.27803441882133484, 0.08007916808128357, 0.0842345729470253, -0.06862235814332962, 0.04320196807384491, -0.25086185336112976, 0.047141119837760925, 0.12786747515201569, -0.24115820229053497, 0.1663554608821869, -0.13795895874500275, 0.2739671766757965, -0.2868409752845764, -0.7285787463188171, -0.13633982837200165, 0.011444620788097382, 0.9748340249061584, -0.36941903829574585, 0.7741724252700806, 0.8687647581100464, -0.33851900696754456, -0.15662820637226105, -1.1001113653182983, -0.25723081827163696, -0.43601226806640625, 0.42890167236328125, -0.3503568470478058, -1.139203667640686, 0.5972043871879578, -0.40614262223243713, 0.3120255172252655, 0.6910220980644226, 0.6802626252174377, 0.17836645245552063, 1.0395019054412842, 0.5315843820571899, 0.01817629486322403, 0.028905928134918213, -0.11925671994686127, 0.6658358573913574, -0.4589366614818573, -0.1892353594303131, -0.7716639041900635, -0.0063377548940479755, -0.7023594379425049, -0.5026443004608154, 0.5799587368965149, -0.11293968558311462, -0.19697439670562744, 0.38048848509788513, -0.21106979250907898, 0.6764353513717651, 0.2574024200439453, 0.0622519925236702, 0.7834358811378479, -0.10321271419525146, 0.06318635493516922, 0.04812903702259064, -0.601712167263031, -0.47208651900291443, 0.7860916256904602, 0.425810843706131, 0.6775492429733276, 0.31875815987586975, 0.09016630798578262, 0.2603641152381897, 0.47411251068115234, -0.8156516551971436, 0.2709820866584778, -0.3433970808982849, -0.7147320508956909, -0.2857816815376282, -0.34018078446388245, -0.5492580533027649, 0.5129397511482239, -0.26375052332878113, -0.2727046608924866, 0.16708220541477203, 0.2057604044675827, -0.4288536012172699, 0.5299350023269653, -0.6924758553504944, 0.521203875541687, -0.1351190060377121, -0.3714151978492737, -0.4601466655731201, -0.4130863547325134, 0.5564807653427124, -0.19297188520431519, 0.22870327532291412, -0.18265873193740845, 0.3856728672981262, 0.2430599331855774, -0.45251229405403137, 0.815234363079071, -0.00027923411107622087, -0.517583429813385, 0.2923196852207184, 0.20137734711170197, 0.9782862663269043, 0.3272888958454132, -0.09225821495056152, 0.2121206521987915, 0.00524609349668026, -0.0013664041180163622, -0.6238873600959778, 0.4126574397087097, -0.584440290927887, -0.8427005410194397, -0.3487912714481354, -0.43680301308631897, -0.2578030228614807, 0.2494274526834488, 0.4309890568256378, 0.6440644264221191, -0.12196337431669235, 0.5492612719535828, 1.094827651977539, -0.06686179339885712, 0.3195275366306305, 1.044702410697937, 0.07890208810567856, 0.1744416058063507, 0.9084728360176086, 0.18522347509860992, 0.23032958805561066, 0.5770695209503174, 0.17658467590808868, -0.3759194016456604, -0.6306661367416382, -0.6479163765907288, 0.16569195687770844, -0.6569471955299377, -0.4881596863269806, -0.895679771900177, -0.28104615211486816, -0.0987364873290062, 0.30256015062332153, -0.7618787288665771, -0.4114127457141876, 0.20891879498958588, -0.17397157847881317, 0.3778631389141083, 0.848803699016571, 0.03756320849061012, 0.04031066223978996, -0.7448554635047913, 0.6743544340133667, 0.4768884479999542, 0.6858677864074707, -0.36697712540626526, -0.6989215016365051, -0.3794107437133789, 0.07916046679019928, -0.32846391201019287, -0.3579083979129791, 0.04518313705921173, 0.24026204645633698, 0.3275350332260132, 0.18277260661125183, 0.13968919217586517, 0.4702187180519104, -0.6291255950927734, 0.6545639634132385, -0.16091981530189514, -0.827141284942627, 0.16442613303661346, -0.20674560964107513, 0.10065750032663345, 0.2924260199069977, 0.38629886507987976, -0.5617811679840088, -0.4852921962738037, -0.45795881748199463, -0.49403849244117737, 0.5590345859527588, 0.3260245621204376, 0.05077511444687843, -0.026490768417716026, 0.41166892647743225, 0.24950391054153442, 0.07414339482784271, -0.4559119939804077, -0.23740339279174805, -0.0721193253993988, -0.11336690932512283, -0.004934834316372871, -0.3697947859764099, -0.2332087606191635, -0.2585254907608032, 0.7429211735725403, -0.4960351586341858, -0.026684002950787544, 0.34706640243530273, -0.30157315731048584, -0.09477928280830383, 0.7593810558319092, 0.6973125338554382, 0.6156439185142517, 0.04775545746088028, 0.42349448800086975, 0.4455784857273102, -0.364204466342926, 0.12891744077205658, 0.16039425134658813, -0.44081753492355347, 0.18112389743328094, 0.35107144713401794, 0.7907067537307739, 0.29759809374809265, -0.5148385167121887, 0.4015527665615082, -0.23244398832321167, -0.2636619210243225, -0.06677189469337463, 0.11472700536251068, 0.09458265453577042, 0.26711082458496094, 0.3131493330001831, 0.23046183586120605, 0.13483116030693054, -0.553431510925293, 0.30981072783470154, 0.5795983672142029, -0.1966780722141266, -0.48292675614356995, 0.5872387886047363, -0.04002031683921814, 0.08534134924411774, 0.4963380694389343, -0.3610456585884094, -0.8685631155967712, 0.5661396980285645, 0.4505484104156494, 0.665494441986084, 0.008698483929038048, 0.21320100128650665, 0.4053530991077423, 0.6967767477035522, -0.5368717908859253, 0.011019989848136902, 0.09565010666847229, -0.7990269660949707, -0.8971066474914551, -0.5935308933258057, -0.5914789438247681, 0.17992448806762695, -0.4151885211467743, 0.44128772616386414, -0.06931551545858383, -0.0553131029009819, 0.12831982970237732, -0.17643745243549347, -0.8957302570343018, 0.25520962476730347, 0.03916361927986145, 0.8890060186386108, -0.9825683236122131, 0.6432200074195862, 0.46777647733688354, -0.08242814242839813, -0.7165571451187134, -0.0565529502928257, -0.1148153692483902, -0.5885151028633118, 0.5828816294670105, 0.007045922335237265, -0.30260229110717773, -0.10022958368062973, -0.6025805473327637, -0.9069204926490784, 0.8610593676567078, 0.9113662838935852, -0.7592868804931641, 0.11774378269910812, 0.3424031138420105, 0.7619113922119141, 0.09906088560819626, 0.41779378056526184, 0.9505439400672913, 0.5924996137619019, 0.02047145739197731, -1.2551125288009644, 0.05007593333721161, 0.08721888065338135, -0.5104689002037048, 0.31980815529823303, -0.9141743779182434, 0.8441046476364136, -0.24637560546398163, -0.20733660459518433, -0.279565691947937, 0.8305881023406982, 0.09255558252334595, 0.0397321991622448, 0.5930135250091553, 0.5395552515983582, 0.7778701782226562, -0.44168734550476074, 1.0865834951400757, -0.45348942279815674, 0.7724868655204773, 0.8826728463172913, -0.15409305691719055, 0.4979971945285797, 0.10623408854007721, -0.23919576406478882, 0.5308059453964233, 0.40505701303482056, -0.2011292427778244, 0.15306726098060608, -0.08595455437898636, -0.18269076943397522, -0.680492103099823, -0.4106018841266632, -0.12261886894702911, 0.5399191379547119, 0.47461479902267456, 0.011846113950014114, -0.4730095863342285, -0.3904416561126709, 0.16313017904758453, -0.0757371038198471, 0.005626834463328123, 0.5255084037780762, -0.1632452756166458, -1.0834749937057495, 0.6050548553466797, 0.1549587845802307, 0.7106185555458069, -0.4606047570705414, -0.13489505648612976, -0.06577448546886444, 0.2725437581539154, -0.41970619559288025, -0.9188669323921204, 0.3316185772418976, 0.252249151468277, -0.284298300743103, -0.02783205173909664, 0.7987747192382812, -0.5277978181838989, -0.3658216595649719, -0.096468985080719, 0.45276546478271484, -0.31082218885421753, -0.3979843258857727, -0.2838175594806671, 0.05602671578526497, -0.008435473777353764, -0.30997151136398315, 0.09934324026107788, 0.546931266784668, -0.21036165952682495, 0.8516412973403931, 0.5215796828269958, -0.14001421630382538, -0.166600301861763, 0.3126533329486847, 0.6137253046035767, -0.3668600916862488, -0.30792495608329773, -0.9733567833900452, 0.4688742756843567, 0.017915578559041023, -0.014657549560070038, 0.8121443390846252, 0.7687983512878418, 0.7787030935287476, -0.12140873819589615, 0.9209104776382446, -0.08940289169549942, 0.3784140944480896, -0.5515803098678589, 0.6910998821258545, -0.16020365059375763, 0.1021914854645729, 0.04254940524697304, -0.7183168530464172, -0.3827767074108124, 0.37743479013442993, -0.11444669961929321, -0.18337449431419373, 0.6919965744018555, 0.7981352210044861, -0.35362520813941956, 0.22678814828395844, 0.4311070740222931, 0.4203032851219177, 0.6386469006538391, 0.2236424684524536, 0.8104788661003113, -0.5668285489082336, 0.5162525177001953, -0.14250726997852325, -0.024321509525179863, -0.08364497125148773, -1.048915982246399, -1.0113962888717651, -0.4906955063343048, -0.423875093460083, -0.40024277567863464, -0.3821987211704254, 0.7062525153160095, 0.7111610174179077, -1.1059086322784424, 0.26533567905426025, -0.03515055775642395, 0.24419954419136047, 0.040023285895586014, -0.13489817082881927, 0.33493828773498535, -0.41744929552078247, -0.5995014309883118, 0.25557824969291687, 0.21577291190624237, -0.23797720670700073, -0.3246583640575409, 0.16002875566482544, 0.053478121757507324, 0.14094948768615723, 0.8848845958709717, 0.06018727645277977, -0.8975959420204163, -0.6242729425430298, 0.02269444614648819, 0.034254856407642365, -0.12350650131702423, 1.1934536695480347, -0.6270711421966553, 0.3225187361240387, 0.5231801867485046, 0.8033114671707153, 0.6443904042243958, 0.03207150474190712, 0.4862408936023712, -0.6502767205238342, -0.18715800344944, -0.18265610933303833, 0.6705299019813538, 0.5160321593284607, -0.3825819194316864, 0.5858278870582581, 0.16076388955116272, -0.5687928795814514, -0.8185091018676758, 0.37897878885269165, -0.5757539868354797, -0.004314938094466925, 1.0626341104507446, -0.043540872633457184, 0.12777602672576904, -0.40291628241539, -0.0770096555352211, 0.4522765874862671, -0.03444240987300873, 1.0222125053405762, 0.9330769777297974, 0.05570090562105179, 0.020345980301499367, -0.6469216346740723, 0.7375191450119019, 0.5266204476356506, -0.6582785844802856, 0.5212996006011963, 0.3414420783519745, 0.4085363447666168, 0.4004264175891876, -0.08419448882341385, -0.10142447799444199, 0.2298620492219925, -0.2556315064430237, -0.18598614633083344, -0.11159636080265045, -0.38467273116111755, -0.109734445810318, 0.236545130610466, 0.1464192420244217, 0.40610769391059875 ]
http://arxiv.org/abs/2402.12146v3
http://arxiv.org/pdf/2402.12146v3
Enabling Weak LLMs to Judge Response Reliability via Meta Ranking
2024-02-19T13:57:55
2024-05-31T03:25:42
Zijun Liu, Boqun Kou, Peng Li, Ming Yan, Ji Zhang, Fei Huang, Yang Liu
cs.CL
cs.CL, cs.AI, cs.LG
Despite the strong performance of large language models (LLMs) across a wide range of tasks, they still have reliability issues. Previous studies indicate that strong LLMs like GPT-4-turbo excel in evaluating the reliability of responses from LLMs, but face efficiency and local deployment issues. Thus, to enable weak LLMs to effectively assess the reliability of LLM responses, we propose a novel cross-query-comparison-based method called $\textit{Meta Ranking}$ (MR). Unlike previous few-shot methods that solely based on in-context learning capabilities in LLMs, MR assesses reliability by pairwisely ranking the target query-response pair with multiple reference query-response pairs. We found that MR is highly effective in error detection for LLM responses, where weak LLMs, such as Phi-2, could surpass strong baselines like GPT-3.5-turbo, requiring only five reference samples and significantly improving efficiency. We further demonstrate that MR can enhance strong LLMs' performance in two practical applications: model cascading and instruction tuning. In model cascading, we combine open- and closed-source LLMs to achieve performance comparable to GPT-4-turbo with lower costs. In instruction tuning, we use MR for iterative training data filtering, significantly reducing data processing time and enabling LLaMA-7B and Phi-2 to surpass Alpaca-13B with fewer training tokens. These results underscore the high potential of MR in both efficiency and effectiveness.
[ -0.3832935690879822, -0.6465327143669128, 0.5931375026702881, 0.2476252168416977, -0.3518303334712982, 0.24444355070590973, -0.38160550594329834, -0.34039241075515747, 0.15326720476150513, 0.20541943609714508, -0.29927054047584534, -0.6067003607749939, -0.7583795189857483, 0.2373494803905487, -0.16199228167533875, 1.04556405544281, 0.1673174500465393, 0.25469350814819336, -0.3751564919948578, -0.39676544070243835, -0.5673990249633789, -0.27176403999328613, -0.6122466921806335, -0.3423944115638733, 0.600797712802887, 0.5013631582260132, 0.7181986570358276, 0.3402875065803528, 0.8100095391273499, 0.32430997490882874, -0.031541354954242706, 0.23857305943965912, -0.5793272852897644, 0.033100150525569916, -0.32460036873817444, -0.47412049770355225, -0.8471367955207825, -0.05587974563241005, 0.5515575408935547, 0.5415844321250916, -0.1790088266134262, 0.20380668342113495, 0.44014912843704224, 0.44383496046066284, -0.8964881300926208, 0.05285635590553284, -0.9214460849761963, -0.17924843728542328, -0.38122621178627014, -0.4185609817504883, -0.41883420944213867, -0.4042031764984131, -0.1584077775478363, -0.13283926248550415, 0.1838051676750183, -0.00005901517943129875, 0.46501046419143677, 0.292867511510849, -0.3120623826980591, -0.16033628582954407, -0.6834897398948669, 0.8607062697410583, -0.8998597264289856, 0.4295596778392792, 0.5947425961494446, 0.42563754320144653, -0.16216106712818146, -0.6509095430374146, -0.3662075996398926, -0.16183622181415558, -0.08931451290845871, 0.2653210759162903, 0.06884369254112244, -0.004321932327002287, 0.08800098299980164, 0.3035160005092621, -0.7609971165657043, 0.05654387176036835, -0.1907559335231781, -0.2755124866962433, 0.2466222643852234, 0.261781245470047, 0.08550260961055756, -0.09301675856113434, -0.24295097589492798, -0.008472012355923653, -0.8683236837387085, -0.18086883425712585, 0.18379609286785126, 0.5239726305007935, 0.15441618859767914, 0.6017810106277466, -0.10391606390476227, 0.6525719165802002, 0.0969824269413948, -0.42213088274002075, 0.31649771332740784, -0.4646906852722168, -0.25407546758651733, -0.2536756694316864, 0.8020033836364746, 0.15718279778957367, -0.02036404237151146, -0.24353305995464325, -0.34312641620635986, -0.20731373131275177, 0.25654706358909607, -0.7005607485771179, 0.09289421141147614, -0.02161065675318241, -0.3834947347640991, -0.08954232186079025, 0.026549560949206352, -0.716768741607666, -0.1080707460641861, 0.06463067978620529, 0.5932003855705261, -0.16670046746730804, -0.09703177213668823, -0.08620814234018326, 0.1856744885444641, 0.15981091558933258, 0.01831457018852234, -0.9474717378616333, 0.2013198584318161, 0.6797370910644531, 0.867263674736023, -0.1418238878250122, -0.46106845140457153, -0.8121264576911926, 0.1163019984960556, -0.1970156878232956, 0.823772132396698, -0.7105937600135803, -0.35536569356918335, -0.1536686271429062, 0.021559929475188255, -0.18027456104755402, -0.7451104521751404, 0.7546433806419373, -0.5467521548271179, 0.0905819907784462, -0.32706862688064575, -0.22565338015556335, 0.11844948679208755, 0.435287743806839, -0.5513224005699158, 1.1242878437042236, 0.11828477680683136, -0.9606659412384033, 0.28063079714775085, -0.14924034476280212, -0.5755009055137634, -0.16497395932674408, -0.10371661186218262, -0.6792014837265015, 0.10728480666875839, 0.24223089218139648, 0.4116588234901428, -0.5125171542167664, -0.05007459595799446, -0.7644729018211365, -0.7430935502052307, -0.164798766374588, -0.46991753578186035, 0.3642875850200653, -0.09330630302429199, -0.557532012462616, 0.010584725998342037, -0.6617125868797302, 0.29165807366371155, 0.05754813179373741, -0.6718698740005493, -0.3699021637439728, 0.08583822101354599, -0.4027981460094452, 0.12861628830432892, 0.15030962228775024, -0.24025197327136993, 0.07330174744129181, -0.39357730746269226, 0.19621407985687256, 0.5431742072105408, -0.12363644689321518, 0.3565656840801239, -0.08389078825712204, 0.5307143926620483, -0.24069549143314362, 0.1989753544330597, 0.022781752049922943, -0.513072669506073, -0.7521084547042847, -0.21902798116207123, 0.31461867690086365, 0.5770456790924072, -0.7752470374107361, 0.44173765182495117, -0.43733394145965576, -0.42437443137168884, -0.4990706741809845, 0.4318045973777771, 0.5608900785446167, 0.7151374816894531, 0.703537106513977, -0.19476407766342163, -0.4781827926635742, -0.8233652114868164, -0.27583274245262146, -0.3512659966945648, -0.05817738175392151, 0.4138798713684082, 0.4078804552555084, -0.2447885125875473, 0.7422964572906494, -0.26279836893081665, -0.06302091479301453, -0.3904563784599304, 0.21391603350639343, 0.2279110997915268, 0.10289622843265533, 0.4244990348815918, -0.3540976047515869, -0.3745228052139282, -0.26739415526390076, -0.6017257571220398, -0.21116691827774048, 0.4598119556903839, -0.022426970303058624, 0.1562839299440384, 0.09783037006855011, -0.4951309561729431, 0.3751375079154968, 0.5890510678291321, -0.06873513013124466, 0.31098952889442444, -0.00044870961573906243, 0.33200275897979736, -0.917427659034729, 0.14381182193756104, -0.27368077635765076, -0.3422071635723114, -0.14271853864192963, -0.11544525623321533, 0.1465476006269455, 0.08839873969554901, -0.3980547785758972, 0.30889490246772766, -0.3044697940349579, -0.46564993262290955, -0.534005343914032, -0.011866956017911434, -0.152220219373703, 0.3793480098247528, -0.0409194678068161, 0.8610367774963379, 0.22499065101146698, -0.4557490050792694, 0.23475034534931183, 0.04047521576285362, -0.11129451543092728, 0.6772592663764954, -0.8076184988021851, 0.30528101325035095, 0.16148126125335693, 0.4895855486392975, -0.9356451034545898, -0.015916205942630768, 0.15176235139369965, -0.3326818645000458, 0.32555028796195984, -0.4463973641395569, -0.4692925810813904, -0.38937246799468994, -0.5115898251533508, 0.5152316093444824, 0.20718424022197723, -0.6017678380012512, 0.5586095452308655, -0.012721349485218525, -0.13795392215251923, -0.9114199876785278, -0.6988005638122559, 0.09641733020544052, -0.051797252148389816, -0.5839616060256958, 0.19970859587192535, -0.11369409412145615, 0.07459084689617157, 0.05243782326579094, -0.34321293234825134, 0.08872038871049881, 0.1552201360464096, 0.05244597792625427, 0.11301752924919128, -0.2668686807155609, 0.06253854185342789, -0.06013137102127075, -0.3006872534751892, -0.07164984196424484, -0.13211588561534882, 0.4007556140422821, -0.20966912806034088, -0.6325360536575317, 0.013543807901442051, 0.05383443459868431, 0.7884731292724609, -0.29679402709007263, 0.7585523128509521, 0.663294792175293, -0.1479644477367401, -0.34665486216545105, -0.4906467795372009, -0.3552177846431732, -0.4614158570766449, 0.20977170765399933, -0.3453618884086609, -0.8013669848442078, 0.2828432321548462, -0.00983472727239132, -0.05746109411120415, 0.37807023525238037, 0.583648681640625, -0.08461634069681168, 0.8910598158836365, 0.48392558097839355, -0.37554696202278137, 0.24647046625614166, -0.09977857768535614, 0.09436200559139252, -0.7063050866127014, -0.24988162517547607, -0.6249361634254456, -0.41944727301597595, -0.4868749678134918, -0.4634911119937897, 0.6432070136070251, 0.06523320823907852, -0.2611040771007538, 0.253222793340683, -0.24847093224525452, 0.6632968187332153, 0.4363027513027191, 0.2632571756839752, 0.4742666184902191, -0.13612864911556244, -0.33345136046409607, 0.053440310060977936, -0.626041829586029, -0.4622967541217804, 1.2631226778030396, 0.2600499391555786, 0.9952952265739441, 0.17694708704948425, 0.5792398452758789, 0.08607056736946106, 0.4382922053337097, -0.604648232460022, 0.6002007126808167, -0.12610962986946106, -0.4469274878501892, -0.24932193756103516, -0.7280765175819397, -0.695803701877594, 0.310308575630188, -0.18383190035820007, -0.2110128551721573, -0.1377428025007248, 0.06200769171118736, -0.2648233473300934, 0.3758177161216736, -0.4240638017654419, 0.6940985918045044, -0.5105628371238708, -0.6928731799125671, -0.24362432956695557, -0.6070590615272522, 0.6257324814796448, -0.08236104995012283, -0.06654725223779678, -0.10646022111177444, -0.16404694318771362, 0.4711448848247528, -0.5955231785774231, 0.756668210029602, -0.017880357801914215, -0.027187654748558998, 0.17001661658287048, -0.06841307878494263, 0.5868051648139954, 0.18901631236076355, -0.28419360518455505, 0.16700708866119385, -0.35826951265335083, -0.48264482617378235, -0.890038251876831, 0.9794837832450867, -0.5278409719467163, -0.4603242874145508, -0.4076545536518097, -0.1905204802751541, -0.5474100708961487, 0.13934221863746643, 0.2798357903957367, 0.24616344273090363, 0.021971235051751137, 0.4027360677719116, 0.6239011883735657, -0.1280682533979416, 0.4564407765865326, 0.7424730658531189, -0.01825793646275997, -0.6841611266136169, 0.7591359615325928, 0.13066036999225616, 0.22913271188735962, 0.44806066155433655, 0.1789764165878296, -0.40287691354751587, -0.7313921451568604, -0.40187209844589233, 0.2037155032157898, -0.6574928760528564, -0.584673285484314, -0.40319496393203735, -0.19819730520248413, -0.17179100215435028, 0.224501833319664, -0.598392128944397, -0.26606810092926025, 0.02429385855793953, -0.1810348778963089, 0.06386484205722809, 0.636359691619873, 0.002861040411517024, 0.0694439634680748, -0.7231097221374512, 0.26426637172698975, 0.5644081830978394, 0.5969422459602356, -0.022125383839011192, -0.5996169447898865, -0.42697274684906006, -0.16732627153396606, -0.5290489196777344, -0.7349891662597656, -0.05434070900082588, 0.2252005636692047, 0.7312435507774353, 0.24763110280036926, -0.10785066336393356, 0.707944929599762, -0.4666421711444855, 0.6367506980895996, -0.23369373381137848, -0.8921239376068115, 0.7023413777351379, -0.2837616801261902, 0.2658236026763916, 0.8110818862915039, 0.41335511207580566, 0.06843335181474686, -0.5172444581985474, -0.3518807590007782, -0.9055589437484741, 0.5235533714294434, 0.25223779678344727, -0.041367869824171066, -0.08189937472343445, 0.517185389995575, -0.06948348134756088, 0.14122143387794495, -0.6081863045692444, -0.28504008054733276, -0.26313045620918274, -0.1039818599820137, -0.17753441631793976, -0.24652637541294098, -0.038045793771743774, -0.21375583112239838, 0.7078200578689575, -0.3462370038032532, 0.22211603820323944, -0.08589502424001694, -0.1727415770292282, -0.1460026353597641, 0.3325115144252777, 0.6538891196250916, 0.7506958842277527, -0.44216957688331604, 0.4575304388999939, 0.5415453910827637, -0.3832259476184845, 0.2043227255344391, -0.118867427110672, 0.07056693732738495, 0.01894373446702957, 0.6500152349472046, 0.5158881545066833, 0.6153711676597595, -0.31996509432792664, 0.5641278028488159, -0.06429507583379745, 0.1845078021287918, 0.31347331404685974, 0.05619555711746216, 0.19063222408294678, 0.172285258769989, 0.3673560917377472, -0.047078054398298264, 0.15045976638793945, -0.5743188858032227, 0.33908626437187195, 0.6524390578269958, -0.003808829002082348, -0.3862602114677429, 0.5142466425895691, 0.39557868242263794, -0.07207454741001129, 0.501010000705719, -0.1831246316432953, -0.5557530522346497, 0.457550972700119, 0.6623238921165466, 0.829748809337616, -0.4063066840171814, 0.022381536662578583, 0.5028679966926575, 0.5616481304168701, -0.2918296158313751, 0.28849539160728455, -0.09970851242542267, -0.46075883507728577, -0.4157654941082001, -0.5486355423927307, -0.7427048683166504, 0.28818899393081665, -0.522634744644165, 0.30302315950393677, -0.5419934391975403, -0.33936992287635803, -0.5650930404663086, 0.09096816182136536, -0.5443620085716248, 0.24633334577083588, -0.00661518843844533, 0.8287249803543091, -0.8496279120445251, 0.7120752930641174, 0.6282745599746704, -0.44200173020362854, -0.7038753628730774, 0.2550305426120758, 0.028475843369960785, -0.7243642807006836, 0.5396037697792053, 0.07750705629587173, -0.4978587031364441, -0.3411056101322174, -0.2911020815372467, -0.8876786231994629, 1.3286455869674683, 0.6709541082382202, -0.6432918906211853, 0.2806502878665924, 0.210378497838974, 0.4691815972328186, -0.14929325878620148, 0.8894398808479309, 0.5814310312271118, 0.5170089602470398, 0.31210649013519287, -1.1236003637313843, 0.09378495067358017, -0.013503371737897396, -0.169094055891037, 0.21319591999053955, -0.9054352045059204, 0.48038312792778015, -0.19898276031017303, -0.025994516909122467, -0.10587064921855927, 0.6414596438407898, 0.42820650339126587, 0.5932243466377258, 0.48032256960868835, 0.800735354423523, 0.7995368838310242, -0.04786650463938713, 0.8695463538169861, -0.33355847001075745, 0.38103142380714417, 1.2689871788024902, -0.331493616104126, 1.157683253288269, 0.16374796628952026, -0.175315722823143, 0.5519134998321533, 0.545209527015686, 0.18179918825626373, 0.6065887808799744, 0.028470998629927635, -0.23889684677124023, -0.3567422330379486, 0.18473339080810547, -0.43932196497917175, 0.47385168075561523, 0.08598466962575912, -0.3594370186328888, -0.41665393114089966, -0.12685315310955048, -0.03786405548453331, -0.2920911908149719, -0.19997438788414001, 0.5531098246574402, 0.2574503719806671, -0.5454122424125671, 0.7943955659866333, 0.11020522564649582, 0.7063074111938477, -0.6572913527488708, 0.04929041862487793, -0.6329438090324402, 0.2179916501045227, -0.43933624029159546, -0.6223465800285339, 0.48355552554130554, 0.1602410525083542, -0.3938816785812378, 0.06520109623670578, 0.8483521342277527, -0.3020787537097931, -0.4911656379699707, 0.47549673914909363, 0.5817146301269531, 0.07189150154590607, 0.030000785365700722, -0.6956539750099182, 0.3641732931137085, -0.4195951819419861, -0.3772256672382355, 0.4901156723499298, 0.201481431722641, 0.004259246867150068, 0.8291932940483093, 0.38934633135795593, 0.0869927778840065, -0.08345046639442444, 0.0753902941942215, 0.798294723033905, -0.5780067443847656, -0.006072131916880608, -0.9493380784988403, 0.26784515380859375, 0.19218158721923828, -0.13996991515159607, 0.7623599767684937, 0.633572518825531, 0.6961851716041565, 0.2967996299266815, 0.8073465824127197, 0.2022572159767151, 0.4154631197452545, -0.5877697467803955, 0.5219352841377258, -0.5213744640350342, 0.7508150935173035, -0.18103010952472687, -1.1752753257751465, -0.3198106586933136, 0.39778685569763184, -0.4614160358905792, 0.44660744071006775, 0.7581255435943604, 0.885185956954956, -0.4783059358596802, -0.31700754165649414, 0.31663715839385986, 0.17437060177326202, 0.1760488748550415, 0.7227545976638794, 0.7605114579200745, -0.32064270973205566, 0.9837900996208191, -0.03964545205235481, -0.2495974749326706, -0.258105993270874, -0.894607663154602, -0.967125654220581, -0.08962016552686691, -0.02011856622993946, -0.47899651527404785, 0.19186775386333466, 0.7045958638191223, 0.8737438321113586, -0.6560516953468323, -0.048152998089790344, 0.1532318890094757, 0.42987751960754395, -0.11999378353357315, -0.19626261293888092, 0.33530640602111816, -0.6647621393203735, -0.6202018857002258, 0.8581283688545227, 0.3770976960659027, -0.17552584409713745, -0.41203686594963074, -0.23964273929595947, 0.1556715965270996, 0.1724861115217209, 0.496825248003006, 0.20924179255962372, -0.5032407641410828, -0.1969335824251175, -0.07277218252420425, -0.25016161799430847, 0.04890710487961769, 0.8341397643089294, -0.7779927253723145, 0.13259583711624146, 0.6308130025863647, 0.8036487102508545, 0.3455379605293274, 0.090455561876297, 0.4685693383216858, -0.6983214020729065, -0.3191918134689331, 0.285593181848526, 0.3519152104854584, 0.47951096296310425, -0.1279406100511551, 0.745520830154419, 0.4069785475730896, -0.6853997111320496, -0.7371233701705933, 0.01841905526816845, -0.8126325607299805, -0.041160713881254196, 1.1670782566070557, -0.27334725856781006, 0.0008950935443863273, -0.022794529795646667, 0.12122482806444168, 0.03199412673711777, -0.25938934087753296, 0.8143793344497681, 0.6084791421890259, -0.17650863528251648, -0.13374093174934387, -0.4725038409233093, 0.3073066473007202, 0.5721794962882996, -0.8905439376831055, -0.15181633830070496, 0.1425020694732666, 0.6365801095962524, -0.009328098967671394, 0.6349734663963318, -0.12103794515132904, 0.1849033087491989, -0.3040373623371124, -0.3096421957015991, -0.11983469128608704, -0.4734788239002228, -0.2920435070991516, 0.3452732563018799, 0.145210400223732, -0.2520233392715454 ]
http://arxiv.org/abs/2402.12121v1
http://arxiv.org/pdf/2402.12121v1
Evaluating Image Review Ability of Vision Language Models
2024-02-19T13:16:10
2024-02-19T13:16:10
Shigeki Saito, Kazuki Hayashi, Yusuke Ide, Yusuke Sakai, Kazuma Onishi, Toma Suzuki, Seiji Gobara, Hidetaka Kamigaito, Katsuhiko Hayashi, Taro Watanabe
cs.CL
cs.CL, cs.AI, cs.CV, cs.MM
Large-scale vision language models (LVLMs) are language models that are capable of processing images and text inputs by a single model. This paper explores the use of LVLMs to generate review texts for images. The ability of LVLMs to review images is not fully understood, highlighting the need for a methodical evaluation of their review abilities. Unlike image captions, review texts can be written from various perspectives such as image composition and exposure. This diversity of review perspectives makes it difficult to uniquely determine a single correct review for an image. To address this challenge, we introduce an evaluation method based on rank correlation analysis, in which review texts are ranked by humans and LVLMs, then, measures the correlation between these rankings. We further validate this approach by creating a benchmark dataset aimed at assessing the image review ability of recent LVLMs. Our experiments with the dataset reveal that LVLMs, particularly those with proven superiority in other evaluative contexts, excel at distinguishing between high-quality and substandard image reviews.
[ -0.38104429841041565, -0.3128162622451782, 0.45569688081741333, 0.18118537962436676, -0.558831512928009, 0.07988070696592331, -0.10070081055164337, -0.6204729080200195, -0.1019257977604866, 0.7561541795730591, 0.08996077626943588, -0.6171305775642395, -0.4236941933631897, 0.12348715960979462, -0.7078198194503784, 0.992608368396759, -0.020654883235692978, 0.3057881295681, -0.5461639165878296, -0.3555082380771637, -0.560060441493988, -0.33771634101867676, -0.500143826007843, -0.07379329204559326, 0.5771864056587219, -0.2055605798959732, 0.8496255278587341, 0.13432173430919647, 1.3511099815368652, 0.2979110777378082, -0.24648012220859528, 0.4738200306892395, -0.63870769739151, 0.082744300365448, 0.054924555122852325, -0.1175108477473259, -0.38151776790618896, -0.053248874843120575, 0.9516736268997192, 0.46475037932395935, 0.13898591697216034, 0.32662349939346313, 0.08446485549211502, 1.0933107137680054, -0.6442398428916931, 0.1083231121301651, -0.6545274257659912, 0.20122428238391876, -0.005045259837061167, -0.3046928346157074, -0.5171580910682678, -0.5269243717193604, 0.2572598457336426, -0.265937477350235, -0.032164398580789566, 0.24723055958747864, 0.8439128994941711, 0.1746491640806198, -0.06299532949924469, -0.1487978994846344, -0.6092224717140198, 0.8042075037956238, -0.6245455145835876, 0.474452942609787, 0.2115325927734375, 0.41769710183143616, 0.1266314536333084, -0.5226906538009644, -0.46455076336860657, -0.42373448610305786, -0.23551493883132935, 0.3091672956943512, -0.021866802126169205, -0.24892032146453857, 0.07651284337043762, 0.47549575567245483, -0.3488406836986542, 0.11610078811645508, -0.539275050163269, -0.04427511617541313, 0.7741820216178894, 0.3057189881801605, 0.14472413063049316, -0.23529407382011414, -0.5397372245788574, -0.45975878834724426, -0.46867260336875916, 0.4743369221687317, 0.1425970494747162, -0.11369822919368744, 0.23348961770534515, 0.6167444586753845, -0.182401642203331, 1.005957007408142, -0.33340802788734436, -0.5120811462402344, 0.2858346104621887, -0.431123822927475, -0.4468768835067749, -0.469209760427475, 0.9732481837272644, 1.131961464881897, 0.1678398996591568, 0.048613835126161575, -0.6192554831504822, -0.05904385820031166, 0.37229281663894653, -0.7264924049377441, 0.1650945544242859, 0.19585217535495758, -1.0006611347198486, -0.7710426449775696, 0.20294028520584106, -0.8931447863578796, -0.8011247515678406, -0.17731916904449463, 0.5806375741958618, -0.1117900088429451, 0.047337014228105545, 0.011940629221498966, -0.14770324528217316, 0.22749552130699158, 0.4259897470474243, -0.4562614858150482, 0.1037149578332901, 0.40342751145362854, 0.6539181470870972, -0.5697308778762817, -0.506747841835022, -0.5077280402183533, -0.4034730792045593, -0.6890983581542969, 1.0441172122955322, -0.3804282546043396, -0.4774543046951294, 0.2557445466518402, -0.21992148458957672, 0.14016343653202057, -0.6583477258682251, 0.4962853789329529, -0.7437258958816528, -0.07655461132526398, -0.012316754087805748, -0.3768550455570221, 0.028293687850236893, 0.28333359956741333, -0.7901456356048584, 0.9822092056274414, 0.01312216091901064, -0.9203582406044006, 0.5866125226020813, -0.24328996241092682, -0.2808707654476166, 0.3218381106853485, -0.3248847723007202, -0.8562479615211487, 0.20901800692081451, 0.48508739471435547, 0.5530388355255127, -0.4261399507522583, 0.20032478868961334, -0.12802961468696594, -0.48735421895980835, 0.4688700735569, -0.15629291534423828, 0.4441012144088745, 0.09422943741083145, 0.03966214135289192, 0.41012752056121826, -0.7025717496871948, 0.18064886331558228, 0.09557189047336578, -0.2668486535549164, -0.5753975510597229, 0.26555201411247253, -0.03189669921994209, -0.13797634840011597, 0.21133632957935333, -0.3345736265182495, 0.011420666240155697, -0.03399667516350746, 0.054509520530700684, 0.574652373790741, 0.11810965090990067, 0.2938856780529022, -0.2015438973903656, 0.25121015310287476, -0.036291785538196564, 0.5831928253173828, -0.3992457687854767, -0.6673482060432434, -0.9356529712677002, 0.0058763944543898106, 0.09866481274366379, 0.35451459884643555, -0.9213507771492004, 0.28968775272369385, -0.4472922682762146, -0.739310622215271, -0.6759403944015503, 0.30202868580818176, 0.8228529095649719, 0.2875092923641205, 0.33693742752075195, -0.7863379716873169, -0.2537539005279541, -1.0332181453704834, -0.15147234499454498, -0.3720742166042328, 0.1019422858953476, 0.4956994950771332, 0.424023300409317, -0.025948384776711464, 0.6645689010620117, -0.339327871799469, -0.5304164886474609, 0.023290032520890236, 0.055525775998830795, 0.07121434062719345, 0.10400441288948059, 0.5044475793838501, -0.7738732099533081, -0.3291330337524414, 0.22060100734233856, -1.003978967666626, 0.04956657811999321, -0.04136067256331444, 0.017714371904730797, 0.2910816967487335, 0.5378298759460449, -0.0017500694375485182, 0.6342569589614868, 0.6702880859375, -0.24435408413410187, 0.5465901494026184, -0.32672619819641113, 0.5937414765357971, -0.4282640814781189, -0.0026713130064308643, 0.18562771379947662, -0.13936373591423035, -0.4079815149307251, 0.37744104862213135, 0.07545678317546844, -0.008484386838972569, -0.41295912861824036, 0.3473672866821289, -0.4573926031589508, -0.5837121605873108, -0.05616283789277077, 0.06312711536884308, 0.07925782352685928, 0.07408640533685684, 0.30956652760505676, 0.5305865406990051, 0.6116726398468018, -0.34303534030914307, 0.5306708216667175, 0.14557257294654846, -1.0581821203231812, 0.7356593608856201, -0.6155836582183838, -0.015122713521122932, -0.25785186886787415, -0.020530033856630325, -1.1404476165771484, 0.05840904638171196, -0.22240707278251648, -0.18627972900867462, -0.04108308255672455, 0.10016998648643494, -0.45844629406929016, -0.586769163608551, -0.2949400544166565, 0.26144471764564514, 0.7147020697593689, -0.5698944926261902, 0.28368261456489563, 0.44220367074012756, 0.10732221603393555, -0.5419021844863892, -0.4205337464809418, 0.1566886454820633, 0.07757864147424698, -0.5205573439598083, -0.04709314554929733, -0.026769232004880905, -0.5235023498535156, 0.016835961490869522, 0.22134627401828766, -0.026546137407422066, -0.27283939719200134, 0.25273218750953674, 0.43246516585350037, -0.057644858956336975, -0.04696327820420265, -0.5547462701797485, 0.15340834856033325, -0.2044479101896286, 0.10285039246082306, 0.19436651468276978, -0.39436236023902893, -0.3268802762031555, -0.28050750494003296, 0.039072804152965546, 0.7873445749282837, -0.46259260177612305, 0.29308682680130005, 0.5495818853378296, 0.0822090432047844, -0.16691291332244873, -0.7778887748718262, 0.040362872183322906, -0.35739925503730774, 0.5062242746353149, -0.23964866995811462, -0.539196789264679, 0.34337571263313293, 0.5076795816421509, 0.14738185703754425, 0.35176077485084534, 0.6253871917724609, -0.3893674910068512, 0.7903061509132385, 0.48546677827835083, 0.13589179515838623, 0.5241373777389526, -0.09022892266511917, 0.20802704989910126, -0.8868483304977417, -0.3708272874355316, -0.2004910707473755, -0.2575482726097107, -0.3557868003845215, -0.7078439593315125, 0.5474277138710022, -0.1885164976119995, 0.15072889626026154, 0.12122318148612976, -0.6912090182304382, 0.729779839515686, 0.44963905215263367, 0.3006431758403778, 0.46766436100006104, 0.3179175555706024, -0.12518881261348724, -0.04393641650676727, -0.26039668917655945, -0.5391987562179565, 1.1064597368240356, 0.49647217988967896, 0.9116086363792419, -0.2987520396709442, 0.4220872223377228, 0.40705016255378723, 0.425169438123703, -0.8178026080131531, 0.8052617311477661, -0.4954203963279724, -0.1540083885192871, -0.45168328285217285, -0.10297811031341553, -0.7236676216125488, 0.5550867319107056, -0.571699321269989, -0.44799771904945374, 0.03149886801838875, -0.10870678722858429, -0.11493543535470963, 0.374345600605011, -0.3808746039867401, 0.6307346224784851, -0.3937778174877167, -0.4800877571105957, -0.21756592392921448, -0.5488259196281433, 0.5660855770111084, -0.28045105934143066, 0.3054153621196747, 0.12248366326093674, 0.19636468589305878, 0.8028364181518555, -0.26571303606033325, 0.7041292190551758, 0.17908073961734772, -0.2417934238910675, 0.44875144958496094, 0.20002080500125885, 0.010568800382316113, -0.20248381793498993, 0.02812322974205017, 0.3691742718219757, 0.12433694303035736, 0.015913208946585655, -0.5409800410270691, 0.5918814539909363, -0.7686156034469604, -0.3652326166629791, -0.33257976174354553, -0.3893645107746124, -0.18984581530094147, 0.11336543411016464, 0.0786757692694664, 0.4815126061439514, -0.06955403089523315, 0.3968188166618347, 0.31816911697387695, -0.42809826135635376, 0.4493468701839447, 0.472842812538147, -0.8985656499862671, -0.5712383985519409, 0.9167886972427368, -0.004773250315338373, 0.298050194978714, 0.35380375385284424, 0.1856582909822464, -0.11936091631650925, -0.7247646450996399, -0.42659732699394226, -0.025188392028212547, -1.0567137002944946, -0.14712019264698029, -0.30098214745521545, -0.45580369234085083, -0.020106932148337364, 0.05024519935250282, -0.3932492434978485, 0.046537090092897415, 0.2534236013889313, 0.3898530602455139, -0.046703238040208817, 1.1018917560577393, 0.4750044643878937, -0.04891559109091759, -0.6053646206855774, 0.4345109164714813, 0.5893396139144897, 0.47949445247650146, 0.1906462460756302, -0.3868742287158966, -0.2288714051246643, -0.4241493046283722, -0.23521773517131805, -0.6732786893844604, 0.43141061067581177, -0.11447162181138992, 0.6791075468063354, 0.2893493175506592, -0.24915435910224915, 0.621403694152832, -0.5712475776672363, 1.1240683794021606, 0.34721270203590393, -0.674913227558136, 0.469871461391449, -0.06459709256887436, 0.15180842578411102, 0.33391040563583374, -0.03155803680419922, -0.24785494804382324, -0.6253266930580139, -0.29174530506134033, -0.6631207466125488, 0.1836111843585968, 0.4855688512325287, -0.09004215896129608, 0.32312852144241333, 0.06660544872283936, -0.07349805533885956, 0.275043249130249, -0.9137625694274902, -0.04922940954566002, -0.21835453808307648, 0.21725299954414368, -0.20843321084976196, -0.43997424840927124, -0.27433425188064575, -0.2532021105289459, 0.3582003712654114, 0.0226319320499897, 0.11672165244817734, 0.3410550057888031, -0.1316782832145691, -0.19111160933971405, 0.10715262591838837, 0.6075461506843567, 0.7977567911148071, -0.38157063722610474, 0.1553395837545395, -0.02859792672097683, -0.516262948513031, -0.07779494673013687, -0.5511388182640076, -0.34078460931777954, 0.1229202076792717, 0.6188378930091858, 0.8764224648475647, 0.08086229860782623, -0.6723448038101196, 0.8028032183647156, -0.3775951862335205, -0.17549081146717072, -0.05162370577454567, -0.17004971206188202, -0.1891777217388153, 0.02601766586303711, 0.33574000000953674, 0.24491624534130096, 0.17100036144256592, -0.3153854012489319, 0.08203154057264328, 0.6005392074584961, -0.4228600561618805, 0.08905567228794098, 0.31912532448768616, 0.35378411412239075, -0.22662167251110077, 0.5182559490203857, 0.16290594637393951, -0.40358301997184753, 0.7944793105125427, 0.23934930562973022, 0.7187835574150085, 0.07494542747735977, 0.17876224219799042, 0.6476207971572876, 0.5293782353401184, -0.06805772334337234, 0.07757418602705002, 0.21076437830924988, -0.768225908279419, -0.2980954945087433, -0.9287582039833069, -0.6061804890632629, 0.2250194251537323, -0.6766538023948669, 0.3618694543838501, -0.32207241654396057, -0.18482428789138794, 0.15459305047988892, -0.43750327825546265, -0.6966009736061096, 0.5175254940986633, 0.3398873209953308, 0.5940611958503723, -0.8540335297584534, 0.6223230957984924, 0.622791588306427, -0.6053935885429382, -0.5208832025527954, -0.027273669838905334, -0.3310939073562622, -0.9866337776184082, 1.1309962272644043, 0.19978821277618408, -0.3207959234714508, -0.3061034679412842, -0.554088830947876, -0.5671831369400024, 0.919003963470459, -0.23920443654060364, -0.5478618144989014, 0.31494036316871643, -0.0959642082452774, 1.0113133192062378, -0.6023514270782471, 0.3694992959499359, 0.346419095993042, 0.26215142011642456, 0.1652289777994156, -1.1046874523162842, -0.30394992232322693, -0.25423967838287354, 0.42661914229393005, -0.22100061178207397, -0.6168672442436218, 0.7807598114013672, -0.4021874666213989, -0.1151546984910965, 0.31004589796066284, 0.38760119676589966, 0.30208081007003784, 0.15299418568611145, 0.7298957705497742, 0.3598580062389374, 0.37974560260772705, 0.042861055582761765, 1.383250117301941, -0.19519269466400146, 0.5092425346374512, 0.8261193633079529, -0.4156183898448944, 1.467387318611145, 0.6488887071609497, -0.3199208974838257, 0.5408020615577698, 0.3649578392505646, -0.42513319849967957, 0.6316460967063904, 0.23745647072792053, 0.10494183748960495, -0.38751935958862305, -0.16623474657535553, -0.2069934457540512, 0.4139336347579956, 0.03932510316371918, -0.7357543110847473, 0.011029830202460289, -0.00039169672527350485, -0.6835392713546753, 0.17291440069675446, -0.6717720031738281, 0.9109576940536499, -0.034163910895586014, -1.0085256099700928, 0.7025775909423828, -0.3355756402015686, 0.47120577096939087, -0.23594804108142853, -0.056526560336351395, -0.017923908308148384, 0.2264602929353714, -0.35025742650032043, -1.4374231100082397, 0.05310818925499916, 0.15397155284881592, -0.1535540521144867, -0.2392905354499817, 0.7196176648139954, -0.20115675032138824, -0.7676268219947815, 0.38965916633605957, 0.406586617231369, 0.4274331331253052, 0.4044191539287567, -0.5152648091316223, 0.37771156430244446, -0.05954912677407265, -0.10012667626142502, 0.17972058057785034, -0.25476518273353577, -0.2859302759170532, 0.6679897904396057, 0.6519508957862854, 0.3128020167350769, -0.065413698554039, 0.4211254417896271, 0.6647207736968994, -0.3936759829521179, -0.4046515226364136, -0.7426757216453552, 0.5675172805786133, -0.3046620488166809, -0.2656586468219757, 0.6447248458862305, 0.5102910399436951, 0.6818117499351501, -0.3918151557445526, 0.7479292750358582, 0.2111060619354248, 0.35063061118125916, -0.6460397243499756, 0.8278318047523499, -0.6871234178543091, 0.30658242106437683, -0.4293863773345947, -0.962464451789856, -0.6549012064933777, 0.9265025854110718, -0.35801172256469727, -0.10662999749183655, 0.9318163990974426, 0.749504566192627, 0.19448132812976837, -0.20775346457958221, 0.8133563995361328, 0.18349778652191162, 0.2121160924434662, 0.40975135564804077, 1.0859692096710205, -0.5654328465461731, 0.5761682987213135, -0.20503419637680054, -0.15439444780349731, -0.1938590705394745, -1.2210018634796143, -1.2862926721572876, -0.6518750190734863, -0.2867513597011566, -0.5796433687210083, -0.012758822180330753, 0.2911907732486725, 0.6015530824661255, -0.7152782082557678, -0.3509514629840851, 0.22469203174114227, 0.0935993641614914, -0.26200374960899353, -0.1555054485797882, 0.5750258564949036, -0.31799575686454773, -0.7283297181129456, 0.019199363887310028, 0.5611061453819275, 0.013111788779497147, -0.8500576019287109, -0.13749763369560242, 0.40606576204299927, -0.07253177464008331, 0.7325166463851929, -0.14819687604904175, -1.0674769878387451, -0.10833215713500977, -0.20819668471813202, -0.4722515046596527, 0.10328695178031921, 0.6671005487442017, -0.6507512927055359, 1.0112756490707397, 0.6741223931312561, 0.4166766405105591, 0.18698008358478546, -0.12284335494041443, 0.24431294202804565, -0.44032832980155945, 0.025905460119247437, 0.022879863157868385, 0.6284029483795166, 0.5500180721282959, -0.02686549350619316, 0.4954777956008911, 0.10561966896057129, -0.7463542819023132, -0.874341607093811, 0.007925250567495823, -1.3448470830917358, -0.02308070845901966, 1.4431264400482178, -0.17941920459270477, -0.413883239030838, 0.3582923710346222, -0.5474303364753723, -0.40127676725387573, -0.017279891297221184, 0.7408424615859985, 0.7449849247932434, 0.10244514793157578, -0.3671993017196655, -0.44429486989974976, 0.4173806607723236, 0.20029409229755402, -0.8507375121116638, -0.14074259996414185, 0.40787240862846375, 0.288114994764328, 0.45200538635253906, 0.5590176582336426, -0.45642805099487305, 0.42497721314430237, -0.17947980761528015, 0.17032675445079803, 0.09298893809318542, -0.13598157465457916, -0.3973424732685089, 0.3302256464958191, 0.19841860234737396, -0.1277269870042801 ]
http://arxiv.org/abs/2402.12102v1
http://arxiv.org/pdf/2402.12102v1
Is It a Free Lunch for Removing Outliers during Pretraining?
2024-02-19T12:45:52
2024-02-19T12:45:52
Baohao Liao, Christof Monz
cs.CL
cs.CL, cs.AI
With the growing size of large language models, the role of quantization becomes increasingly significant. However, outliers present in weights or activations notably influence the performance of quantized models. Recently, \citet{qtransformer} introduced a novel softmax function aimed at pretraining models in an outlier-free manner, thereby enhancing their suitability for quantization. Interestingly, we observed that such an approach leads to performance degradation in full precision. Building on this insight, we enhance the method by ensuring its normalization is invariant to sequence length, a crucial factor for bridging the gap between pretraining and fine-tuning. Moreover, this improved method also facilitates successful pretraining of causal language models.
[ 0.0527002215385437, -0.6223016381263733, 0.4036221206188202, -0.0028023775666952133, -0.4261420667171478, -0.28357386589050293, -0.2545522451400757, 0.06937726587057114, -0.12367769330739975, 0.3681359887123108, -0.38594764471054077, -0.18105533719062805, -0.7158486247062683, -0.2088712751865387, -0.574368417263031, 1.2850408554077148, 0.05618960037827492, 0.22936798632144928, -0.3483472466468811, -0.2855537533760071, -0.3204002380371094, -0.3441527187824249, -0.6876330375671387, -0.13880321383476257, 0.47995465993881226, 0.42424944043159485, 0.8831907510757446, 0.8184250593185425, 0.16716618835926056, 0.2991194725036621, 0.003168209921568632, -0.2211609184741974, -0.5314769744873047, 0.17792727053165436, 0.24565958976745605, -0.9022632241249084, -0.386406809091568, 0.02004552073776722, 1.0713273286819458, 0.7639231085777283, -0.19589345157146454, 0.13980405032634735, 0.41714027523994446, 0.8327518105506897, -0.742292046546936, -0.02698133885860443, -0.24442780017852783, -0.0050322068855166435, -0.6129692196846008, -0.1246948391199112, -0.3310167193412781, -0.6580535173416138, -0.0707608312368393, -0.7812985777854919, 0.3403192162513733, -0.3040219843387604, 0.9248910546302795, 0.4619584381580353, -0.4895058572292328, 0.271191269159317, -0.7443098425865173, 0.7522991299629211, -0.6709842681884766, 0.36335405707359314, 0.28491201996803284, 0.25419631600379944, -0.16679303348064423, -0.7713013887405396, -0.49361005425453186, 0.23628704249858856, -0.06713217496871948, -0.26617535948753357, -0.16813157498836517, 0.16559143364429474, 0.3660367727279663, 0.48134559392929077, -0.872482419013977, 0.12396371364593506, -0.3568030595779419, -0.11366389691829681, 0.5166748762130737, -0.10290700197219849, 0.2642829120159149, 0.2800925672054291, 0.022802293300628662, -0.1908417046070099, -0.9204164147377014, 0.26026079058647156, 0.39744460582733154, 0.1996629536151886, 0.21204784512519836, 0.24741514027118683, -0.22513052821159363, 0.4976711571216583, -0.18178969621658325, 0.15953329205513, 0.2764885723590851, -0.22763970494270325, -0.25055429339408875, 0.012094758450984955, 0.5467232465744019, 0.06599094718694687, 0.8267173171043396, -0.26564136147499084, -0.3846251666545868, -0.31338489055633545, -0.13263574242591858, -1.0817863941192627, -0.4201997220516205, 0.0398872047662735, -0.44189345836639404, 0.004681886173784733, 0.03200709819793701, -0.24693767726421356, -0.18352214992046356, -0.11741622537374496, 0.8844372630119324, -0.4438880980014801, -0.30564120411872864, 0.19587312638759613, -0.29898083209991455, -0.03853346034884453, -0.08736727386713028, -0.8474954962730408, 0.44925040006637573, 0.535197913646698, 0.7690936923027039, 0.37538468837738037, -0.14028728008270264, -0.965117335319519, 0.19733558595180511, -0.2858763039112091, 0.5454981327056885, -0.36469924449920654, -0.34660398960113525, -0.21094270050525665, 0.1454971879720688, -0.17548255622386932, -0.7270038723945618, 0.24416205286979675, -0.7279894948005676, 0.07562528550624847, -0.28114619851112366, -0.789434015750885, -0.23034189641475677, -0.0653771460056305, -0.6801096200942993, 0.7588405013084412, 0.41468489170074463, -0.3851466476917267, 0.5621674656867981, -0.5809455513954163, -0.4266890585422516, 0.25309908390045166, 0.22914008796215057, -0.5943722724914551, 0.3379403352737427, 0.24145889282226562, 0.09620458632707596, -0.2379593551158905, 0.37477385997772217, -0.16960804164409637, -0.7741841077804565, 0.30782178044319153, -0.3012444078922272, 0.938216507434845, 0.09412414580583572, -0.43335050344467163, 0.5214971303939819, -0.8839846253395081, 0.430291086435318, 0.046014364808797836, -0.12830471992492676, -0.616570770740509, -0.16078400611877441, -0.24723300337791443, 0.1657560020685196, -0.13288874924182892, -0.2085319459438324, 0.11096612364053726, -0.7478615045547485, 0.42353135347366333, 0.9717629551887512, 0.05533391609787941, 0.6983283758163452, -0.14304272830486298, 0.7122284770011902, 0.4288833737373352, 0.42569756507873535, -0.3066769540309906, -0.11769749224185944, -0.9127793908119202, -0.545212984085083, 0.7665511965751648, 0.6229817271232605, -0.6045100688934326, 0.4703095853328705, -0.12832148373126984, -0.4434998333454132, -0.417729914188385, 0.4275006353855133, 0.4509533941745758, 0.35519787669181824, 0.5937073230743408, -0.3440576493740082, -0.4585134983062744, -0.7565355896949768, -0.7077140212059021, 0.5876822471618652, -0.2181238979101181, -0.5595526695251465, 0.25467994809150696, -0.2567410171031952, 1.105921983718872, -0.4093227982521057, -0.17245960235595703, -0.1571582406759262, 0.12578262388706207, 0.35925182700157166, 1.0114625692367554, 0.5880605578422546, -0.7179625034332275, -0.5110439658164978, -0.623533308506012, -0.3372751474380493, 0.08076990395784378, 0.2870372533798218, -0.32844242453575134, -0.11325626075267792, 0.655493438243866, -0.6030712127685547, 0.6479116678237915, 0.27035143971443176, -0.30020418763160706, 0.42054739594459534, -0.06172648072242737, -0.09413852542638779, -0.8023264408111572, 0.08642411977052689, 0.015197801403701305, -0.2935928404331207, -0.7413597106933594, -0.19000732898712158, 0.2431441992521286, -0.09570705145597458, -0.3196226954460144, 0.45707011222839355, -0.3555985689163208, 0.20639635622501373, 0.017392173409461975, -0.1403934806585312, -0.04303540289402008, 0.22792105376720428, -0.3329423666000366, 0.7452833652496338, 0.6004019975662231, -0.7214462757110596, -0.012371237389743328, -0.07415717840194702, -0.3372446894645691, 0.21699590981006622, -0.837565004825592, -0.01376728992909193, -0.3387327194213867, 0.11595012247562408, -0.8812502026557922, 0.1437322348356247, 0.170453280210495, -0.17820221185684204, 0.30934786796569824, -0.17225386202335358, -0.5693972706794739, -0.08492898941040039, -0.4810919761657715, 0.9076986908912659, 0.4919523298740387, -0.36839067935943604, 0.130268394947052, 0.033556174486875534, -0.024541106075048447, -0.4206991195678711, -0.3012292683124542, -0.5788248777389526, -0.39879006147384644, -0.48041462898254395, -0.005262524820864201, -0.3620222508907318, -0.001450028852559626, -0.05387970432639122, -0.10843044519424438, -0.3817691206932068, 0.34224405884742737, 0.14708653092384338, 0.010314952582120895, -0.36405616998672485, 0.31863102316856384, 0.1800013780593872, -0.38936901092529297, -0.06824058294296265, -0.409430593252182, 0.45262569189071655, -0.07975012809038162, 0.08348967880010605, -0.3269825577735901, 0.27642759680747986, 0.34898728132247925, -0.5743632912635803, 0.8810142278671265, 0.7888311147689819, -0.42588087916374207, -0.08327911049127579, -0.22954247891902924, -0.4223988652229309, -0.5634913444519043, 0.35782909393310547, -0.17893964052200317, -0.9870707988739014, 0.2725657820701599, -0.05275021120905876, -0.28504112362861633, 0.3412240445613861, -0.020445290952920914, 0.35409775376319885, 1.4206514358520508, 1.0321794748306274, 0.13035444915294647, 0.7249934077262878, -0.38741016387939453, 0.46290692687034607, -0.6931406259536743, 0.03849417716264725, -0.44166430830955505, -0.3172743022441864, -0.532342255115509, -0.1638672947883606, 0.5099168419837952, 0.4106309413909912, -0.42463552951812744, 0.09983360022306442, -0.1705392748117447, 0.911397397518158, 0.7064783573150635, 0.022765474393963814, -0.027660707011818886, -0.09067614376544952, 0.08885535597801208, -0.15748561918735504, -0.6879710555076599, -0.08850979804992676, 1.0715279579162598, 0.009314765222370625, 0.5674641132354736, 0.05330703780055046, 0.6991801261901855, -0.06816935539245605, 0.48149463534355164, -0.6101126074790955, 0.3777444660663605, -0.2335391342639923, -0.5840144753456116, -0.7215734720230103, -0.775555431842804, -1.0162880420684814, 0.09096571058034897, -0.12246416509151459, -0.6880001425743103, 0.11528021097183228, 0.46567967534065247, -0.8711737394332886, 0.13644179701805115, -0.9556222558021545, 1.361962080001831, -0.14346542954444885, -0.37185296416282654, -0.13290178775787354, -0.6256427764892578, 0.3650631904602051, 0.05290258675813675, 0.29994434118270874, -0.14695914089679718, 0.18912367522716522, 0.9775468111038208, -0.7455052733421326, 0.5150828957557678, -0.4669446051120758, 0.1407613754272461, 0.0687059685587883, 0.19318228960037231, 0.2706981897354126, 0.0912640243768692, 0.15320375561714172, -0.06307752430438995, 0.21633702516555786, -0.8532857298851013, -0.7841227650642395, 0.2950007915496826, -0.6212442517280579, -0.541300356388092, -0.22168557345867157, -0.3686244487762451, -0.4411643445491791, 0.5422028303146362, 0.570979118347168, 0.6261627078056335, -0.09427228569984436, 0.3538376986980438, 0.6670756340026855, -0.07641156017780304, 0.6743143796920776, 0.4399568438529968, 0.21342720091342926, -0.3371295630931854, 0.9733173847198486, 0.3899429440498352, 0.06646958738565445, 0.4004904329776764, 0.2638187110424042, -0.31668978929519653, -0.428535133600235, -0.09319495409727097, 0.24803000688552856, -0.5246340036392212, -0.4796682894229889, -0.3839349150657654, -0.3091634213924408, -0.7580267786979675, -0.08241020888090134, -0.39557504653930664, -0.6358039975166321, -0.37205687165260315, -0.07144489139318466, 0.1292388141155243, 0.33448219299316406, -0.15643244981765747, 0.7701160907745361, -1.1533842086791992, -0.0475500114262104, 0.4898395836353302, 0.36793088912963867, -0.014572900719940662, -0.5951348543167114, -0.7458922266960144, 0.0062149083241820335, -0.35603079199790955, -0.6427269577980042, 0.5104809403419495, 0.6969002485275269, 0.3791806697845459, 0.70707768201828, -0.053252995014190674, 0.8543094396591187, -0.2868702709674835, 0.549566388130188, 0.2615186870098114, -1.3410956859588623, 0.5179731845855713, 0.05597463995218277, 0.4991456866264343, 0.4491539001464844, 0.7236687541007996, -0.5838416814804077, -0.22713209688663483, -0.6927039623260498, -1.1604795455932617, 0.3948730528354645, -0.26338809728622437, 0.07103516906499863, 0.02331976406276226, 0.5606254935264587, 0.13970278203487396, 0.4663791358470917, -0.7006772756576538, -0.1762065440416336, -0.29597508907318115, -0.22490905225276947, -0.7139133214950562, -0.6083841323852539, 0.04140947386622429, -0.6689411401748657, 0.6733370423316956, -0.24839147925376892, -0.12542489171028137, -0.17849017679691315, -0.669198215007782, -0.42537567019462585, 0.22569409012794495, 0.5299404263496399, 0.8130677938461304, -0.07692484557628632, 0.1492483764886856, 0.035420116037130356, -0.334576815366745, 0.26149076223373413, 0.1602059304714203, -0.14631283283233643, -0.29129940271377563, 0.29258713126182556, 0.6057778000831604, 0.5318651795387268, -0.7240933179855347, 0.8550000190734863, -0.14000505208969116, 0.05110544338822365, -0.180341899394989, 0.24563688039779663, -0.3684120774269104, 0.2799699604511261, 0.34867945313453674, 0.006788375787436962, 0.23241132497787476, -0.38071760535240173, 0.2710064649581909, 0.21276357769966125, -0.475796639919281, -0.6166735291481018, 0.7383275032043457, -0.06270230561494827, -0.062188003212213516, 0.9554606080055237, -0.3383544087409973, -0.5636552572250366, 0.32612478733062744, 0.6539970636367798, 0.8437159061431885, -0.5539848208427429, 0.1253596544265747, 0.4311753809452057, 0.17707522213459015, -0.15286441147327423, -0.031362537294626236, -0.18763253092765808, -0.7591744661331177, -0.53089439868927, -0.5083615779876709, 0.12512287497520447, 0.006104477681219578, -0.7822251319885254, 0.17766869068145752, -0.3811302185058594, -0.03273158520460129, -0.18065574765205383, -0.11245794594287872, -0.6110440492630005, 0.4856555759906769, -0.05358951911330223, 0.6713029742240906, -0.9491142630577087, 1.1000494956970215, 0.45787936449050903, -0.25943461060523987, -0.9453963041305542, -0.06344172358512878, -0.2280268520116806, -0.45781210064888, 0.6078898906707764, 0.24516408145427704, 0.2027103453874588, 0.3019394278526306, -0.5064886808395386, -0.9247924089431763, 0.7263931035995483, 0.750410795211792, -0.5341548919677734, -0.14541278779506683, 0.07593967020511627, 0.19278529286384583, 0.1753515750169754, 0.34258365631103516, 0.8691746592521667, 0.2835359573364258, -0.27347978949546814, -0.686357855796814, 0.24490632116794586, -0.3833121657371521, 0.07989578694105148, 0.5221594572067261, -0.5622201561927795, 1.2114427089691162, -0.17869944870471954, -0.16989827156066895, 0.0389312244951725, 0.6328158974647522, -0.14327561855316162, 0.11572694033384323, 0.7036030292510986, 0.6299762725830078, 0.9736614227294922, -0.09559659659862518, 0.6609004139900208, -0.17304514348506927, 0.19544708728790283, 0.8873191475868225, -0.004246114287525415, 0.5057299137115479, 0.41428038477897644, -0.029547713696956635, 0.4193691611289978, 0.4946664273738861, 0.3896890878677368, 0.7513218522071838, 0.4903225600719452, -0.24108748137950897, -0.3517639935016632, 0.34477800130844116, -0.5721966028213501, 0.3205682933330536, 0.1839866042137146, -0.04990581050515175, -0.3194705843925476, 0.10379289835691452, 0.27257952094078064, -0.0894189178943634, -0.3195842206478119, 0.49990391731262207, 0.046752579510211945, -0.5033993721008301, 0.7073009014129639, -0.05259209871292114, 0.6886425018310547, -0.7167626023292542, 0.10493570566177368, -0.3447447717189789, 0.4562457501888275, -0.13613781332969666, -0.16165439784526825, 0.3645050823688507, -0.43985214829444885, -0.1870909035205841, -0.3200329840183258, 0.48110508918762207, -0.5361997485160828, -0.0589786134660244, 0.0850268229842186, 0.5858965516090393, -0.026093078777194023, -0.4863527715206146, -0.4123550355434418, -0.19710470736026764, -0.14901907742023468, -0.3316742479801178, 0.5166222453117371, 0.5678715109825134, -0.23059605062007904, 0.44082799553871155, 0.6779868006706238, -0.08939335495233536, 0.1993623822927475, 0.07021601498126984, 0.8985613584518433, -0.764420747756958, -0.7942898869514465, -1.0369740724563599, 0.5546072721481323, 0.058380212634801865, -0.5378326177597046, 0.7867263555526733, 0.8141546845436096, 0.8781009316444397, -0.19579000771045685, 0.2174864560365677, 0.2945157587528229, 0.3556489050388336, -0.4612891376018524, 0.8270171284675598, -0.6486853957176208, -0.007248717360198498, -0.2717725336551666, -0.8169459700584412, -0.47942909598350525, 0.46254801750183105, -0.4155513644218445, 0.09269049018621445, 0.6487988233566284, 0.9637619853019714, 0.05090362951159477, -0.09128022193908691, 0.46520665287971497, 0.10657940059900284, 0.4190475046634674, 0.4931112825870514, 0.7660103440284729, -0.5255407691001892, 0.6314110159873962, -0.3899109661579132, -0.4677864611148834, -0.27176937460899353, -0.8461247086524963, -0.49330514669418335, -0.7171832323074341, -0.42466387152671814, -0.29346299171447754, 0.27091607451438904, 0.7195349335670471, 1.015541672706604, -0.8347694873809814, -0.25766611099243164, -0.015137855894863605, 0.24197712540626526, -0.42466843128204346, -0.23766742646694183, 0.17843276262283325, -0.6180663108825684, -0.4112526774406433, 0.2729834318161011, 0.1483190953731537, 0.27071285247802734, 0.29753226041793823, -0.08138303458690643, 0.04326436668634415, 0.19436366856098175, 0.5193498730659485, 0.515970766544342, 0.13300779461860657, -0.29470428824424744, -0.23289991915225983, 0.21525613963603973, 0.093653105199337, 1.1885197162628174, -0.8294557332992554, 0.14685609936714172, 0.21934235095977783, 0.2306152731180191, 0.6031856536865234, -0.06498159468173981, 0.6114934682846069, -1.1141157150268555, 0.7631271481513977, 0.18732450902462006, 0.08537159860134125, 0.2525344491004944, -0.3616790771484375, 0.2976406514644623, 0.44528111815452576, -0.6418898105621338, -1.1097748279571533, -0.030057040974497795, -0.3954671621322632, -0.10953621566295624, 0.7630906105041504, -0.04422881826758385, -0.5265805125236511, 0.1752285212278366, 0.14052443206310272, 0.6623181104660034, -0.11927726119756699, 0.5380679368972778, 0.28925570845603943, 0.028439836576581, -0.26646217703819275, -0.33016449213027954, 0.8709475994110107, 0.5970238447189331, -0.5496381521224976, -0.17429204285144806, 0.14517825841903687, 0.5495090484619141, -0.15097446739673615, 0.7418734431266785, -0.1316026747226715, 0.46488288044929504, -0.19630658626556396, -0.04600052535533905, 0.11339719593524933, -0.28505373001098633, -0.46200838685035706, 0.06109455227851868, 0.32437729835510254, -0.36151909828186035 ]
http://arxiv.org/abs/2402.12100v1
http://arxiv.org/pdf/2402.12100v1
Groot: Adversarial Testing for Generative Text-to-Image Models with Tree-based Semantic Transformation
2024-02-19T12:31:56
2024-02-19T12:31:56
Yi Liu, Guowei Yang, Gelei Deng, Feiyue Chen, Yuqi Chen, Ling Shi, Tianwei Zhang, Yang Liu
cs.CL
cs.CL, cs.AI, cs.CR, cs.SE
With the prevalence of text-to-image generative models, their safety becomes a critical concern. adversarial testing techniques have been developed to probe whether such models can be prompted to produce Not-Safe-For-Work (NSFW) content. However, existing solutions face several challenges, including low success rate and inefficiency. We introduce Groot, the first automated framework leveraging tree-based semantic transformation for adversarial testing of text-to-image models. Groot employs semantic decomposition and sensitive element drowning strategies in conjunction with LLMs to systematically refine adversarial prompts. Our comprehensive evaluation confirms the efficacy of Groot, which not only exceeds the performance of current state-of-the-art approaches but also achieves a remarkable success rate (93.66%) on leading text-to-image models such as DALL-E 3 and Midjourney.
[ -0.3695697784423828, -1.2782059907913208, 0.30724775791168213, -0.06870818883180618, -0.40075623989105225, 0.008727088570594788, 0.24512581527233124, -0.4719448983669281, -0.08127927780151367, 0.4810228645801544, -0.5703497529029846, -0.6453192830085754, -0.84068763256073, 0.00018641422502696514, -0.9667990207672119, 1.052776575088501, -0.06324132531881332, -0.33975499868392944, -0.28823593258857727, -0.09850431233644485, -0.2963610291481018, -0.08076747506856918, -0.6168224811553955, 0.055190593004226685, 0.47327524423599243, 0.10708939284086227, 1.1527040004730225, 0.4672451913356781, 0.8149755001068115, 0.23322813212871552, -0.1080622673034668, 0.029195493087172508, -0.41968628764152527, 0.3303648829460144, -0.21799272298812866, -0.34176546335220337, -0.1518249660730362, 0.025257742032408714, 0.3598038852214813, 0.2884116470813751, -0.012220563367009163, -0.022183774039149284, -0.13221260905265808, 0.6715744137763977, -0.7233769297599792, -0.013268430717289448, -1.0217169523239136, 0.06448665261268616, -0.20589907467365265, -0.2495822161436081, -0.716908872127533, -0.46244698762893677, -0.37086454033851624, -0.8615692853927612, 0.6444405317306519, 0.2535818815231323, 1.0868281126022339, 0.4043892025947571, -0.634968101978302, -0.3055150806903839, -0.4460560977458954, 0.4510209262371063, -0.3295169174671173, 0.2335776537656784, 0.19618107378482819, 0.47113415598869324, -0.5556957125663757, -0.953812301158905, -0.5983867645263672, -0.44255489110946655, -0.0905737653374672, 0.048747748136520386, -0.2909352481365204, 0.17018401622772217, 0.08303434401750565, 0.29782921075820923, -0.8031180500984192, -0.11473651230335236, 0.03298047184944153, -0.13933584094047546, 0.5761594176292419, 0.028416885063052177, 0.8776631355285645, 0.11956262588500977, -0.6169912219047546, -0.7177106738090515, -0.7537298798561096, -0.12441502511501312, 0.4243398904800415, 0.2413957118988037, 0.3128761053085327, 0.7403527498245239, 0.05768463760614395, 0.3717617988586426, 0.02833501249551773, -0.07007890939712524, 0.029431678354740143, 0.004718415439128876, -0.2845250070095062, -0.07494129985570908, 0.7216789126396179, 0.48896145820617676, 0.0398634672164917, -0.24337007105350494, -0.3772891163825989, 0.7038030624389648, 0.29502907395362854, -0.7678084373474121, -0.4081966280937195, -0.020139163359999657, -0.23282527923583984, -0.7718936204910278, -0.2719663977622986, -0.9909170866012573, -0.7949175834655762, 0.30947408080101013, 0.4303770065307617, -0.61130690574646, -0.10892974585294724, 0.20312847197055817, -0.3517457842826843, 0.3425286114215851, 0.5071057081222534, -0.8198660612106323, 0.07524231821298599, 0.6066563129425049, 0.7095752954483032, -0.17173928022384644, -0.42921262979507446, -0.6925233006477356, 0.18752332031726837, -0.6970582604408264, 0.8524800539016724, -0.3355027437210083, -0.6491579413414001, 0.0476524718105793, 0.3503596782684326, -0.2920788824558258, -0.22973351180553436, 0.5137962698936462, -0.7147880792617798, 0.2514907717704773, -0.03334084898233414, -0.29469117522239685, -0.29950618743896484, 0.5833555459976196, -0.6327273845672607, 0.893731415271759, 0.2400815337896347, -1.0388747453689575, 0.32098400592803955, -0.8868246078491211, -0.8733603358268738, 0.07435298711061478, -0.17318232357501984, -0.5204722881317139, -0.1771409809589386, 0.4319065809249878, 0.45924490690231323, -0.46221065521240234, 0.19734233617782593, -0.4625222384929657, -0.272603303194046, -0.21045438945293427, -0.45205453038215637, 0.8410045504570007, 0.06085249409079552, -0.5019178986549377, 0.15523375570774078, -0.37858375906944275, 0.026047008112072945, 0.8918616771697998, 0.07075808197259903, -0.3990207016468048, -0.18026535212993622, 0.009961051866412163, -0.04850548133254051, -0.0977788046002388, -0.49215129017829895, 0.2349083423614502, -0.2607306241989136, 0.2947228252887726, 0.6772329211235046, 0.06932024657726288, 0.3454791009426117, -0.3947707712650299, 0.7892575263977051, -0.3048718571662903, 0.27409279346466064, -0.3680914640426636, -0.727056086063385, -0.49917393922805786, -0.20301221311092377, 0.043914709240198135, 0.6246862411499023, -1.2040846347808838, 0.17279665172100067, -0.2544742524623871, -0.6236030459403992, -0.1661565601825714, -0.23983922600746155, 0.3525366187095642, 0.6050017476081848, 0.37328219413757324, -0.31150466203689575, 0.15587499737739563, -0.6713861227035522, -0.21014493703842163, -0.5770476460456848, 0.06381843239068985, 0.1449504792690277, 0.694750189781189, -0.5316697359085083, 0.5914307236671448, -0.3347313106060028, -0.24180875718593597, 0.006799893919378519, 0.3267366290092468, -0.31685471534729004, 0.3557147979736328, 0.827266275882721, -0.9654824733734131, -0.35571709275245667, 0.0352945402264595, -0.6066973209381104, 0.08709992468357086, -0.20216549932956696, -0.15236380696296692, 0.3554570972919464, 0.5170676708221436, -0.8290810585021973, 0.6361247301101685, 0.6186789274215698, -0.5910255312919617, 0.6678761839866638, -0.24900344014167786, 0.47822582721710205, -0.5915243029594421, 0.23229622840881348, -0.2407228946685791, -0.3715590834617615, -0.3142980933189392, 0.8015061616897583, 0.26888546347618103, -0.3723057508468628, -0.5659047365188599, 0.6004781126976013, -0.2906441390514374, -0.08588436990976334, -0.07999730110168457, -0.07478947192430496, 0.2029581218957901, 0.23097479343414307, -0.3679574728012085, 0.9017125964164734, 0.6211257576942444, -0.5701844692230225, 0.4712468981742859, 0.5054618120193481, -0.017353715375065804, 0.683560311794281, -0.7147838473320007, 0.43983349204063416, -0.23789826035499573, 0.24358588457107544, -1.0810737609863281, -0.3689299523830414, 0.416638046503067, -0.556959331035614, 0.36161378026008606, -0.2999909818172455, -0.6813417077064514, -0.28549298644065857, -0.3899387717247009, 0.13919129967689514, 0.7033652067184448, -0.7429167032241821, 0.6778289079666138, 0.30684205889701843, -0.18817104399204254, -0.43635690212249756, -0.6972836852073669, 0.31465277075767517, -0.3771326541900635, -1.0132383108139038, 0.4874573349952698, 0.052087292075157166, -0.020409420132637024, 0.13095898926258087, 0.17648473381996155, -0.009942587465047836, 0.30873817205429077, 0.2390134036540985, 0.3100823760032654, 0.16038066148757935, 0.014390526339411736, -0.02832244336605072, -0.31898003816604614, 0.10147599130868912, -0.07240662723779678, 0.32587310671806335, -0.15465885400772095, -0.8590015769004822, 0.02504519373178482, 0.37378349900245667, 0.8907043933868408, -0.30427736043930054, 0.3053581416606903, 0.7743315100669861, -0.391094446182251, -0.15090394020080566, -0.18789227306842804, -0.03866443783044815, -0.5050100088119507, 0.5314359664916992, -0.10792165994644165, -0.48607373237609863, 0.3261035084724426, -0.1925009787082672, 0.08070211112499237, 0.586500883102417, 0.2748950123786926, 0.08304884284734726, 1.1807801723480225, 0.5525431632995605, -0.013843796215951443, 0.31971031427383423, -0.275699645280838, 0.08428428322076797, -0.3873542845249176, -0.14108207821846008, -0.3634810447692871, -0.011640605516731739, -0.40165987610816956, -0.385636568069458, 0.5627355575561523, -0.251473069190979, -0.3204052746295929, 0.3089790642261505, -0.6236542463302612, 0.5649345517158508, 0.46149715781211853, 0.030008025467395782, 0.14468872547149658, -0.012165611609816551, -0.18526403605937958, 0.2015015184879303, -0.4889552593231201, -0.4470914602279663, 0.8370225429534912, 0.43890416622161865, 1.0732475519180298, -0.008279560133814812, 0.32525113224983215, 0.4758613109588623, 0.4013638496398926, -0.7635062336921692, 0.844931960105896, -0.40024498105049133, -0.6268669962882996, -0.49791720509529114, -0.1006336510181427, -0.945564866065979, 0.2900083065032959, -0.06056557968258858, -0.3742676377296448, -0.07728154212236404, 0.05735153704881668, 0.10308261215686798, 0.543416440486908, -0.6783923506736755, 0.9328336119651794, -0.3359619379043579, -0.26392996311187744, 0.0008574399398639798, -0.7687912583351135, 0.6204105615615845, -0.007168984040617943, 0.1086447611451149, -0.22690702974796295, 0.04091989994049072, 0.574907660484314, -0.2568962872028351, 0.6442767381668091, -0.4614126682281494, -0.02124103158712387, 0.26124098896980286, 0.5152484178543091, 1.181397795677185, -0.05594958737492561, 0.30612409114837646, -0.13100290298461914, -0.10932151973247528, -0.33457261323928833, -0.6996887922286987, 0.5398274064064026, -0.5593721866607666, -0.5691503286361694, -0.5104378461837769, -0.5196356177330017, -0.23563270270824432, 0.2699245512485504, 0.2575623691082001, 0.09593913704156876, -0.22932572662830353, 0.11203933507204056, 0.8100879192352295, -0.3227722942829132, 0.2867894470691681, 0.20934294164180756, -0.48577797412872314, -0.45369264483451843, 0.7789625525474548, -0.37479203939437866, 0.4034648835659027, 0.013251992873847485, 0.11289923638105392, -0.5641611218452454, -0.8048198819160461, -0.748625636100769, -0.13710182905197144, -1.1280453205108643, -0.2541743516921997, -0.5743706822395325, -0.06166987866163254, -0.4297660291194916, -0.45838817954063416, -0.392707496881485, -0.19385972619056702, -0.2650482654571533, 0.016505394130945206, 0.3847685754299164, 0.5326918959617615, 0.388531893491745, 0.056220367550849915, -0.6292352676391602, 0.5300297141075134, 0.5873542428016663, -0.03960670158267021, -0.3927372097969055, -0.5273044109344482, 0.4524178206920624, -0.1220969706773758, -0.46007293462753296, -0.8117131590843201, 0.4984678626060486, 0.229557067155838, 0.3817305266857147, 0.16370631754398346, 0.4187024235725403, 0.6177836656570435, -0.3606641888618469, 0.8719772696495056, 0.30020493268966675, -0.7338072657585144, 0.6407164335250854, -0.6134543418884277, -0.18506543338298798, 0.41239500045776367, 0.17947369813919067, -0.43693283200263977, -0.42611807584762573, -0.8197311758995056, -1.0710123777389526, 0.1049247682094574, 0.31344497203826904, 0.14669856429100037, 0.05829142779111862, 0.0945344865322113, 0.13268056511878967, 0.0014275290304794908, -0.37127670645713806, -0.1210530698299408, -0.2837144136428833, -0.022630682215094566, -0.15055406093597412, -0.04862659424543381, -0.2946145534515381, 0.09267891198396683, 0.6995427012443542, -0.3778778910636902, 0.3343086540699005, 0.31637728214263916, -0.19911617040634155, -0.19217991828918457, 0.12964680790901184, 0.37334340810775757, 0.10010962188243866, -0.09183492511510849, 0.3173512816429138, 0.08837816119194031, -0.49641963839530945, 0.4923154413700104, 0.3573312759399414, -0.30837032198905945, 0.017095070332288742, 0.4627573490142822, 0.6493356227874756, -0.15893201529979706, -0.5042822957038879, 0.8036413192749023, -0.30568575859069824, -0.2859010696411133, -0.15719301998615265, 0.2146121859550476, -0.2667674124240875, -0.09741933643817902, 0.36856380105018616, 0.2492089718580246, 0.1399303674697876, -0.4028368294239044, 0.4054686427116394, 0.586037278175354, -0.3157489001750946, -0.13036030530929565, 0.9869657754898071, 0.1790093630552292, 0.054802071303129196, 0.3934863805770874, -0.6147507429122925, -0.483847975730896, 0.8652899861335754, 0.6431803107261658, 1.164036512374878, -0.17201799154281616, 0.4789036810398102, -0.017078110948204994, 0.5945128202438354, -0.03200331702828407, 0.023503733798861504, 0.43729251623153687, -0.5542311072349548, -0.03095081076025963, -0.10165829956531525, -0.5459986329078674, 0.08875761181116104, -0.4593942165374756, 0.3485630750656128, -0.4689698815345764, 0.018017515540122986, -0.04910812899470329, -0.29808077216148376, -0.35027867555618286, 0.4467078149318695, -0.09028589725494385, 0.8289492130279541, -1.074323296546936, 0.5415039658546448, 1.0016810894012451, -0.15078842639923096, -0.32178783416748047, 0.18585652112960815, 0.14784173667430878, -1.1957550048828125, 0.4444482624530792, 0.2967354655265808, -0.10681532323360443, 0.18330208957195282, -0.6849450469017029, -0.5806008577346802, 1.3253501653671265, 0.8277461528778076, -0.22237832844257355, -0.010856668464839458, 0.04727904498577118, 0.22575128078460693, -0.11245817691087723, 0.20515358448028564, 0.21663379669189453, 0.528761088848114, 0.5733982920646667, -0.47609058022499084, 0.26353344321250916, -0.43406444787979126, 0.22151465713977814, 0.3191964328289032, -0.34556886553764343, 0.7008208632469177, -0.4138387441635132, -0.7024194002151489, -0.039008256047964096, 0.39304500818252563, 0.29812300205230713, 0.4462539553642273, 0.9337170124053955, 0.7688692212104797, 0.8012978434562683, -0.1282137781381607, 1.286198616027832, -0.31603917479515076, 0.4415215849876404, 0.7721132040023804, -0.34004777669906616, 0.49353349208831787, 0.37232381105422974, -0.14286349713802338, 0.24504604935646057, 0.682304322719574, 0.05908938869833946, 0.7801344394683838, 0.07559768855571747, -0.14402543008327484, -0.26866579055786133, -0.2550658583641052, -0.4876292645931244, 0.08825662732124329, 0.2971007525920868, -0.25118204951286316, -0.531467616558075, 0.1823774129152298, 0.005376489367336035, 0.04139046370983124, -0.08252856880426407, 0.514456033706665, -0.27838608622550964, -0.40230944752693176, 0.6691497564315796, 0.038726337254047394, 0.4757322669029236, -0.4986852705478668, -0.07350122183561325, -0.1343456506729126, 0.06746088713407516, 0.003112364560365677, -0.7913391590118408, 0.4272136390209198, -0.0668700635433197, 0.2185102254152298, -0.15778714418411255, 1.3281257152557373, -0.1504533290863037, -0.4393950402736664, 0.3366985023021698, 0.08247264474630356, -0.11388615518808365, -0.35942691564559937, -0.8620673418045044, -0.1076597273349762, -0.17378129065036774, -0.32534730434417725, 0.33519449830055237, 0.3829766809940338, -0.040256571024656296, 0.9365617036819458, 0.7771517634391785, -0.29265835881233215, 0.00002281430715811439, -0.15485721826553345, 0.9767004251480103, -0.5473167300224304, -0.7029810547828674, -0.7401785850524902, 0.5866981148719788, 0.16734974086284637, -0.14147479832172394, 0.5919094681739807, 0.2559933066368103, 0.6469113230705261, -0.16937853395938873, 1.0680627822875977, -0.18459340929985046, 0.033491626381874084, -0.6623390913009644, 0.7544723749160767, -0.5113462805747986, -0.0730484277009964, -0.26459816098213196, -0.3955616056919098, -0.4701636731624603, 0.23184195160865784, -0.08830060809850693, -0.07119058072566986, 0.9260327219963074, 0.9962328672409058, -0.03611218184232712, 0.12870708107948303, 0.5514556169509888, -0.1963634043931961, 0.6827392578125, 0.6317448616027832, 0.969817042350769, -0.6207128763198853, 0.701862096786499, -0.23438192903995514, -0.23413914442062378, -0.23209086060523987, -1.165469765663147, -0.8767111301422119, -0.5092277526855469, -0.6081364750862122, -0.4598851799964905, 0.35846206545829773, 0.41087043285369873, 0.5844409465789795, -0.5202773213386536, 0.6588484644889832, -0.6398102641105652, 0.041299931704998016, -0.11206427216529846, -0.20069363713264465, 0.4386569857597351, -0.4220477044582367, -0.4564548134803772, 0.31089603900909424, 0.249635711312294, 0.5854336619377136, -0.2592417895793915, -0.06698549538850784, 0.21260729432106018, -0.1523115634918213, 0.2797488272190094, 0.212798610329628, -0.585563063621521, -0.3556167483329773, -0.016296587884426117, -0.24180690944194794, -0.09533272683620453, 0.4719180464744568, -0.5409728288650513, 0.5540185570716858, 0.5726156234741211, 0.9566298127174377, 0.21541336178779602, 0.05718040466308594, 0.3068538308143616, -0.594186007976532, 0.1573837697505951, 0.27143746614456177, 0.3529849946498871, 0.4273991584777832, -0.6434316039085388, 0.6956354975700378, 0.5892019271850586, -0.5880936980247498, -0.8408697247505188, 0.224779412150383, -0.682243824005127, -0.13014385104179382, 1.3710633516311646, -0.3997284471988678, -0.378214955329895, 0.08888265490531921, -0.30644550919532776, 0.1453617364168167, -0.11963912099599838, 0.8243765234947205, 0.37388235330581665, 0.25208383798599243, -0.030678248032927513, -0.4941610097885132, 0.2992207109928131, 0.2962993085384369, -0.9369112253189087, 0.12548017501831055, 0.16161036491394043, 0.17038442194461823, 0.18427345156669617, 0.4743778705596924, -0.29549887776374817, 0.369739294052124, 0.29896730184555054, 0.08768351376056671, -0.3372286856174469, -0.3834898769855499, -0.24505206942558289, 0.20291565358638763, 0.09539936482906342, -0.5672677755355835 ]
http://arxiv.org/abs/2402.12091v1
http://arxiv.org/pdf/2402.12091v1
Do Large Language Models Understand Logic or Just Mimick Context?
2024-02-19T12:12:35
2024-02-19T12:12:35
Junbing Yan, Chengyu Wang, Jun Huang, Wei Zhang
cs.CL
cs.CL, cs.AI
Over the past few years, the abilities of large language models (LLMs) have received extensive attention, which have performed exceptionally well in complicated scenarios such as logical reasoning and symbolic inference. A significant factor contributing to this progress is the benefit of in-context learning and few-shot prompting. However, the reasons behind the success of such models using contextual reasoning have not been fully explored. Do LLMs have understand logical rules to draw inferences, or do they ``guess'' the answers by learning a type of probabilistic mapping through context? This paper investigates the reasoning capabilities of LLMs on two logical reasoning datasets by using counterfactual methods to replace context text and modify logical concepts. Based on our analysis, it is found that LLMs do not truly understand logical rules; rather, in-context learning has simply enhanced the likelihood of these models arriving at the correct answers. If one alters certain words in the context text or changes the concepts of logical terms, the outputs of LLMs can be significantly disrupted, leading to counter-intuitive responses. This work provides critical insights into the limitations of LLMs, underscoring the need for more robust mechanisms to ensure reliable logical reasoning in LLMs.
[ -0.3002271354198456, -1.192376732826233, 1.1247570514678955, -0.27057209610939026, -0.3042796552181244, -0.3279813826084137, -0.12660379707813263, -0.43105456233024597, -0.1859041005373001, 0.655873715877533, -0.7865936756134033, -0.1467175930738449, -0.49608558416366577, 0.1612323373556137, -0.39260274171829224, 0.7042913436889648, -0.0005946408491581678, 0.09401042014360428, -0.26140880584716797, -0.14240720868110657, -0.6454497575759888, -0.6629828214645386, -0.35912078619003296, -0.6588217616081238, 0.2730298340320587, 0.24956153333187103, 0.7125654816627502, 0.4367949664592743, 0.15215319395065308, 0.342189222574234, -0.053024161607027054, 0.08772248774766922, -0.47161898016929626, 0.1237981989979744, -0.5502243041992188, -0.6796640753746033, -0.24938587844371796, 0.02238794043660164, 0.5974419713020325, 0.8395252823829651, 0.03993748128414154, 0.02928350679576397, -0.09215134382247925, 0.3606099784374237, -0.5431117415428162, 0.2879480719566345, -1.0578502416610718, -0.0759768933057785, -0.017160218209028244, -0.3229028880596161, -0.5758092403411865, 0.06768226623535156, 0.3151245713233948, -0.5830259919166565, -0.17114539444446564, 0.1254914253950119, 0.444203644990921, 0.29706916213035583, -0.6388033628463745, -0.3136754631996155, -0.6227779388427734, 0.9834446310997009, -0.8008381128311157, 0.2007313221693039, 0.22990934550762177, 0.4172716438770294, -0.5344651341438293, -0.43177706003189087, -0.793441116809845, -0.13042289018630981, -0.3748205304145813, -0.11308871954679489, -0.12413214892148972, -0.17206116020679474, 0.691672682762146, -0.1379765272140503, -0.4880027770996094, 0.0823315978050232, -0.051593951880931854, 0.0003032185777556151, 0.39048275351524353, 0.22777339816093445, 0.3756316006183624, -0.09223733842372894, -0.4497164189815521, 0.0422828309237957, -1.1295961141586304, -0.08893095701932907, -0.12675841152668, 0.1709846556186676, 0.04994887858629227, 0.5624241828918457, -0.05925705283880234, 1.0929148197174072, -0.25361910462379456, -0.2721027433872223, -0.08798161894083023, -0.21623815596103668, -0.5867053270339966, 0.06693198531866074, 0.48312273621559143, 0.26489192247390747, 0.7912095189094543, 0.0016350166406482458, -0.34830930829048157, 0.10626087337732315, -0.02683393284678459, -0.5711618065834045, 0.08880700916051865, 0.18870289623737335, -0.3547331690788269, 0.07062651962041855, -0.02508476935327053, -0.19546346366405487, -0.34831589460372925, -0.6079875230789185, 0.6743209958076477, -0.4251421093940735, -0.17654818296432495, 0.2834688723087311, -0.1546241194009781, 0.41160401701927185, 0.7118150591850281, -0.5028862953186035, 0.06375490128993988, 0.7436901330947876, 0.4214384853839874, 0.15853317081928253, -0.25663071870803833, -0.6493964195251465, 0.1455184817314148, -0.6412740349769592, 0.8293672204017639, -0.7522251009941101, -0.21381142735481262, -0.05817999318242073, 0.03405353054404259, -0.2399948388338089, -0.7214539051055908, 0.20775479078292847, -0.7682538032531738, 0.11670627444982529, -0.6755287647247314, -0.7155797481536865, -0.40899765491485596, 0.3390016257762909, -0.4074556529521942, 0.38923802971839905, -0.10921715199947357, -0.7160141468048096, 0.4325869679450989, -0.2562817335128784, -0.43001288175582886, 0.02139546535909176, -0.23300939798355103, 0.06810197979211807, 0.242935910820961, 0.17082244157791138, 0.5283249020576477, -0.3523710370063782, 0.4333594739437103, -0.47689422965049744, -0.5432141423225403, 0.6633301377296448, -0.40666431188583374, 0.8903324007987976, 0.1414308249950409, -0.32040202617645264, 0.07136239856481552, -0.5105251669883728, -0.1417553573846817, 0.24856723845005035, -0.045234449207782745, -0.40502822399139404, 0.26717251539230347, -0.18416322767734528, 0.6246541142463684, -0.1526014357805252, -0.31792452931404114, 0.1376548558473587, -0.37245261669158936, 0.5604100227355957, 0.7016211152076721, -0.09553655236959457, 0.43933290243148804, -0.4331555962562561, 0.33513912558555603, 0.15515248477458954, -0.32406970858573914, -0.4174446165561676, -0.4371629059314728, -0.532850444316864, -0.24089504778385162, -0.05646331235766411, 0.7079750895500183, -0.8519079089164734, 0.16713900864124298, -0.14122986793518066, -0.18093888461589813, -0.0741901621222496, 0.2579673230648041, 0.30125632882118225, 0.9728046655654907, 0.4968019127845764, 0.17917752265930176, -0.5082385540008545, -0.8143407702445984, -0.5365882515907288, -0.1442219316959381, -0.04376489296555519, 0.3238303065299988, 0.7576143145561218, -0.25257521867752075, 1.0289891958236694, -0.28694620728492737, -0.13807974755764008, -0.5965585112571716, -0.13207697868347168, 0.26729616522789, 0.24652709066867828, 0.6244518160820007, -0.698857307434082, -0.16335929930210114, -0.32851022481918335, -0.9228014349937439, -0.443320631980896, -0.3670940101146698, 0.2168772667646408, 0.3521319031715393, 0.8604367971420288, -0.7640484571456909, 0.44904330372810364, 0.39377784729003906, -0.37382104992866516, 0.5658614039421082, -0.08046077191829681, -0.029255548492074013, -0.5744343400001526, -0.13448284566402435, -0.06265754252672195, -0.3875519633293152, -0.6702917814254761, 0.09161578863859177, -0.07504145801067352, 0.2044883519411087, -0.6302242875099182, 0.9055786728858948, -0.30032485723495483, -0.14208638668060303, -0.36237630248069763, 0.40972670912742615, -0.04739951342344284, 0.2637067437171936, 0.4022827744483948, 0.5493296384811401, 0.5371055603027344, -0.5979018211364746, 0.3223038613796234, -0.010992893017828465, -0.5995641946792603, 0.6734919548034668, -0.6963315010070801, -0.13519608974456787, -0.2952856421470642, 0.7642006874084473, -0.9982497096061707, -0.25200849771499634, 0.23936621844768524, -0.1375291794538498, 0.021526260301470757, -0.09927412867546082, -0.6904961466789246, -0.02911616675555706, 0.10376360267400742, 0.25099197030067444, 0.5384194850921631, -0.6740373373031616, 0.6665933728218079, 0.12208189815282822, 0.18534600734710693, -0.4291036128997803, -0.9005770087242126, 0.02797779068350792, -0.34573596715927124, -0.4678255319595337, -0.11516730487346649, 0.03536372631788254, -0.8904631733894348, -0.11534922569990158, -0.14192111790180206, 0.19900955259799957, 0.19184459745883942, 0.21024084091186523, 0.24599674344062805, -0.2351323813199997, 0.2607254981994629, -0.16472479701042175, -0.08757885545492172, 0.3177514672279358, -0.3462689518928528, 0.3448128402233124, -0.09886182844638824, -0.5033604502677917, -0.40616533160209656, 0.11876898258924484, 0.5101033449172974, -0.1038525253534317, 1.0690891742706299, 0.1467140018939972, -0.45029130578041077, -0.4334307014942169, -0.5353096723556519, -0.4319384694099426, -0.4076043963432312, 0.11420278996229172, -0.7405149936676025, -0.8923211097717285, 0.5953577160835266, -0.1520361602306366, -0.13769759237766266, 0.4953683018684387, 0.6069697737693787, -0.24650274217128754, 0.8666061162948608, 0.06593894213438034, 0.27563920617103577, 0.13548524677753448, 0.07097580283880234, 0.19863882660865784, -0.5288417935371399, -0.15686148405075073, -0.37219923734664917, -0.10735075175762177, -0.5641303658485413, -0.42223766446113586, 0.2350572943687439, 0.08015899360179901, -0.37552136182785034, 0.17811088263988495, 0.10615918040275574, 0.5356746315956116, 0.3860085606575012, 0.09004652500152588, 0.33392027020454407, -0.12798255681991577, -0.19627724587917328, 0.08836765587329865, -0.7555939555168152, -0.5986319184303284, 0.7969621419906616, 0.2579437792301178, 0.9737412929534912, 0.25277063250541687, 0.291065514087677, -0.08685167878866196, 0.26325199007987976, -0.7940757274627686, 0.818085253238678, 0.013644300401210785, -0.7221493721008301, -0.22812595963478088, -0.4263714849948883, -0.6106802821159363, 0.5023142099380493, -0.39112263917922974, -0.7782611846923828, 0.05431891605257988, 0.3003305196762085, -0.06972609460353851, 0.4873374104499817, -0.6082881689071655, 0.8008387684822083, -0.12681074440479279, -0.3355053961277008, -0.30411258339881897, -0.6628978252410889, 0.45917144417762756, -0.308792382478714, 0.4168412387371063, 0.13860052824020386, 0.14858588576316833, 0.4420534670352936, -0.37444978952407837, 1.004473090171814, -0.1266804337501526, -0.36220523715019226, 0.45427292585372925, 0.5423384308815002, 0.4949423670768738, -0.00006454707181546837, -0.1024165078997612, 0.01979040913283825, 0.057615119963884354, -0.39347514510154724, -0.7787674069404602, 0.7085033059120178, -0.3828483819961548, -1.0099531412124634, -0.4205314815044403, -0.6766839623451233, -0.3304615318775177, 0.10299566388130188, 0.07160992175340652, 0.5263568758964539, -0.009225411340594292, 0.3106154501438141, 0.7978323101997375, -0.4835444688796997, 0.32771947979927063, 0.5177431106567383, -0.1740269660949707, 0.2690376341342926, 0.4086671471595764, 0.20991648733615875, 0.5024358630180359, 0.4802272617816925, 0.33792009949684143, -0.3424828052520752, -0.17392845451831818, -0.3870013952255249, 0.1969527006149292, -1.0356836318969727, 0.17825883626937866, -0.5120601654052734, -0.0658363550901413, -0.20040321350097656, -0.3036627471446991, 0.0323336087167263, -0.326675683259964, -0.17088885605335236, -0.17089278995990753, 0.04833792522549629, 0.7661616206169128, 0.07609228044748306, 0.18919330835342407, -0.5823593139648438, 0.350273460149765, 0.5484404563903809, -0.10262659937143326, 0.11537085473537445, -0.7828934192657471, 0.2707827091217041, 0.046609409153461456, 0.16663779318332672, -1.037785291671753, 0.179095059633255, -0.0030241007916629314, 0.5981228947639465, 0.4159906208515167, -0.02759336121380329, 0.6325379610061646, -0.7240442633628845, 0.5822930932044983, -0.1497475653886795, -0.9631009697914124, 0.5715023875236511, -0.428348571062088, 0.6097704768180847, 0.11562052369117737, 0.2949097752571106, -0.368348628282547, -0.221662238240242, -0.40185222029685974, -0.29911139607429504, 0.6025573015213013, -0.1493772268295288, 0.26903828978538513, -0.08140600472688675, 0.38309770822525024, 0.032928843051195145, 0.14014044404029846, -0.6839749813079834, 0.03000975400209427, -0.10302591323852539, -0.09327040612697601, -0.24692831933498383, -0.2921927571296692, -0.18746109306812286, -0.20450221002101898, 0.5116873979568481, -0.2194705307483673, -0.08157232403755188, 0.1146451011300087, -0.4234774112701416, -0.12462001293897629, 0.5103269219398499, 0.8000062704086304, 1.077033519744873, -0.18046835064888, 0.42449694871902466, 0.3496314287185669, 0.10486136376857758, 0.049630675464868546, -0.19579093158245087, -0.19687697291374207, -0.25341323018074036, 0.9192367196083069, 0.7405417561531067, 0.18806932866573334, -1.0464588403701782, 0.4315147399902344, 0.16767241060733795, -0.18708761036396027, -0.2560931444168091, 0.2827167510986328, 0.19666047394275665, 0.2718387544155121, 0.31648531556129456, -0.09198347479104996, -0.08115844428539276, -1.0103284120559692, 0.09818130731582642, 0.7309597134590149, -0.1579916775226593, -0.22854109108448029, 0.5817193388938904, -0.27000775933265686, -0.06895793229341507, 0.5799024105072021, 0.046411026269197464, -0.7135787010192871, 0.678472101688385, 0.8683045506477356, 0.41320717334747314, 0.03193557634949684, -0.04997921362519264, 0.17384891211986542, 0.39448773860931396, -0.21723634004592896, 0.12288293242454529, 0.03271043300628662, -1.1065477132797241, -0.584030032157898, -0.38452109694480896, -0.40472254157066345, 0.338247686624527, -0.21005895733833313, 0.09807562828063965, -0.4349447786808014, 0.13933241367340088, -0.1856161653995514, -0.2778160274028778, -0.7409781813621521, 0.5585008859634399, 0.13584710657596588, 1.0924431085586548, -1.0649560689926147, 0.8681651949882507, 0.8073078989982605, -0.20459602773189545, -0.6702096462249756, 0.030728504061698914, 0.36967113614082336, -0.7786398530006409, 1.0136774778366089, 0.23015253245830536, -0.33077800273895264, -0.2511005699634552, -0.7521011233329773, -0.5134494304656982, 0.6491226553916931, 0.42736244201660156, -0.6264649629592896, 0.2681668996810913, 0.07978136837482452, 0.5492725968360901, -0.49022188782691956, 0.23159915208816528, 0.5437753796577454, 0.5594527721405029, 0.23550035059452057, -0.7898641228675842, 0.3136632442474365, 0.25926464796066284, -0.1701950877904892, -0.20531991124153137, -0.3498504161834717, 0.781495988368988, -0.3633265197277069, 0.01162087731063366, -0.22204725444316864, 0.39475467801094055, 0.5856234431266785, 0.2358679622411728, 0.6407033205032349, 0.6299974918365479, 0.4178984463214874, -0.09438785910606384, 1.1509547233581543, -0.06489689648151398, 0.06214125081896782, 1.2676819562911987, -0.5499365329742432, 0.8995593786239624, 0.5428472757339478, 0.12486164271831512, 0.7102121710777283, 0.48455217480659485, 0.23214606940746307, 0.318143755197525, 0.19158156216144562, -0.1462095081806183, -0.8517683744430542, -0.0151675408706069, -0.07161988317966461, 0.5982033014297485, 0.5934783220291138, -0.2461465448141098, -0.2326936423778534, -0.10915164649486542, 0.06475046277046204, 0.2257859706878662, -0.22357000410556793, 0.6349056959152222, 0.38210612535476685, -0.8178308606147766, 0.4594748616218567, 0.006808382458984852, 0.3339734673500061, -0.462340384721756, -0.11026941984891891, -0.10784920305013657, 0.2085702270269394, -0.17393328249454498, -0.869159996509552, 0.35131263732910156, -0.15228019654750824, -0.006542574614286423, -0.282100111246109, 0.7401483058929443, -0.25655972957611084, -0.24781274795532227, 0.44456595182418823, 0.6829477548599243, 0.04938243329524994, 0.027404380962252617, -0.5889134407043457, 0.06939122080802917, -0.3290773928165436, -0.3959192633628845, 0.28965631127357483, 0.6252886056900024, -0.3583119511604309, 0.8648512363433838, 0.5353379249572754, 0.09057486802339554, -0.2519192099571228, 0.12381076067686081, 0.642199695110321, -0.5315830111503601, -0.2655937969684601, -1.1641732454299927, 0.2489987462759018, 0.20882898569107056, 0.13376648724079132, 0.743025541305542, 0.11861054599285126, 0.9628170728683472, -0.1876390129327774, 0.6470274329185486, 0.22152079641819, 0.33973437547683716, -0.811100423336029, 0.42672815918922424, -0.7641313076019287, 0.4683648943901062, -0.2686041593551636, -0.822708010673523, -0.36285120248794556, 0.7941319346427917, -0.7535543441772461, 0.1859438419342041, 0.6537647247314453, 0.7426974177360535, -0.20617051422595978, -0.12499874085187912, 0.4539143443107605, 0.5126774311065674, 0.24443498253822327, 0.6780553460121155, 0.8691725730895996, -0.06678422540426254, 0.21385113894939423, 0.29766425490379333, -0.23691032826900482, -0.09635844826698303, -1.0217314958572388, -1.1219679117202759, -0.3627571165561676, -0.12959013879299164, -0.22708982229232788, -0.0011682376498356462, 0.8713838458061218, 0.5637102723121643, -0.9180416464805603, -0.037285465747117996, -0.14814132452011108, 0.3872039020061493, -0.00937788188457489, -0.2128438502550125, 0.24351133406162262, -0.3145163655281067, -0.45174774527549744, 0.48877644538879395, 0.3745879828929901, -0.10220371186733246, -0.10204267501831055, -0.0009385959128849208, -0.4042512774467468, 0.5567396283149719, 0.7102628350257874, 0.1684248298406601, -1.0237598419189453, -0.3560023903846741, -0.10705891251564026, -0.07003120332956314, -0.2504293620586395, 0.661078155040741, -1.111376404762268, 0.32706418633461, 0.7983720302581787, 0.5594214200973511, 0.08420084416866302, 0.02473735250532627, 0.4424456059932709, -0.3291434645652771, 0.22337888181209564, -0.2061774879693985, 0.6439321041107178, 0.29480481147766113, -0.032850395888090134, 0.33981969952583313, 0.46756798028945923, -0.3659804165363312, -0.6592376232147217, 0.519631028175354, -0.6200776100158691, -0.8891952037811279, 1.2915641069412231, -0.08645685762166977, -0.15549884736537933, -0.10823626816272736, -0.10398582369089127, 0.00794085394591093, 0.15766002237796783, 0.4405476450920105, 0.834232747554779, -0.20384566485881805, -0.2818564772605896, -0.8455424308776855, 0.3518938422203064, 0.6118103265762329, -0.6964778900146484, -0.13547027111053467, 0.6457230448722839, 0.5080025792121887, -0.13196875154972076, 0.5860194563865662, 0.08755453675985336, 0.15764498710632324, -0.2897307276725769, -0.6189036965370178, 0.2350100576877594, -0.35289624333381653, -0.31594228744506836, 0.06249994784593582, 0.0015302887186408043, 0.3577645719051361 ]
http://arxiv.org/abs/2402.12080v1
http://arxiv.org/pdf/2402.12080v1
Can LLMs Compute with Reasons?
2024-02-19T12:04:25
2024-02-19T12:04:25
Harshit Sandilya, Peehu Raj, Jainit Sushil Bafna, Srija Mukhopadhyay, Shivansh Sharma, Ellwil Sharma, Arastu Sharma, Neeta Trivedi, Manish Shrivastava, Rajesh Kumar
cs.CL
cs.CL, 68T50, I.2.7
Large language models (LLMs) often struggle with complex mathematical tasks, prone to "hallucinating" incorrect answers due to their reliance on statistical patterns. This limitation is further amplified in average Small LangSLMs with limited context and training data. To address this challenge, we propose an "Inductive Learning" approach utilizing a distributed network of SLMs. This network leverages error-based learning and hint incorporation to refine the reasoning capabilities of SLMs. Our goal is to provide a framework that empowers SLMs to approach the level of logic-based applications achieved by high-parameter models, potentially benefiting any language model. Ultimately, this novel concept paves the way for bridging the logical gap between humans and LLMs across various fields.
[ -0.21699710190296173, -0.5644043684005737, 0.8726990818977356, 0.2593744099140167, 0.005484078079462051, -0.0003119270841125399, -0.45063117146492004, -0.09882109612226486, 0.14349399507045746, 0.4657359719276428, -0.8440198302268982, -0.4912039637565613, -0.47091972827911377, 0.19426760077476501, -0.4322410225868225, 0.7160365581512451, 0.0799512267112732, 0.30226436257362366, -0.6343841552734375, -0.06340859830379486, -0.39902356266975403, -0.38812822103500366, -0.8507564067840576, -0.6633868217468262, 0.6526002287864685, 0.5125430822372437, 0.5953132510185242, 0.3580348789691925, 0.4970826804637909, 0.306639164686203, 0.2757898271083832, 0.7228506207466125, -0.17088650166988373, 0.4944191575050354, -0.4527730643749237, -0.982912003993988, -0.05194162577390671, -0.12610246241092682, 0.49819156527519226, 1.0920814275741577, -0.27699214220046997, 0.10163690149784088, -0.05900728330016136, 0.7795743942260742, -0.4917635917663574, 0.23132842779159546, -0.8547608256340027, 0.10055588185787201, -0.06204802915453911, -0.4292994737625122, -0.7816586494445801, -0.46632859110832214, -0.11257512122392654, -0.5856510996818542, 0.3307192027568817, -0.10398586839437485, 0.6610419154167175, 0.48555102944374084, -0.06010293960571289, -0.6065106987953186, -0.7446564435958862, 0.6703975796699524, -0.6988640427589417, 0.2463173270225525, 0.3124969005584717, 0.3518679440021515, -0.38728031516075134, -0.5420728921890259, -0.41047078371047974, 0.005700377281755209, -0.18191762268543243, -0.10870550572872162, 0.16187651455402374, -0.0022288996260613203, 0.5003430843353271, -0.12423966825008392, -0.34771183133125305, 0.23356670141220093, -0.21672527492046356, 0.06637295335531235, 0.6770631074905396, 0.3551139831542969, 0.3639441132545471, 0.07865491509437561, -0.07219460606575012, 0.19344426691532135, -0.9621112942695618, -0.08801186084747314, 0.11881183087825775, 0.7209806442260742, 0.05300498008728027, 0.6345692873001099, -0.1690356582403183, 0.6675771474838257, -0.10359985381364822, -0.2758287191390991, 0.04643554985523224, 0.1863217055797577, -0.39794492721557617, 0.22107422351837158, 0.6403639316558838, 0.052026621997356415, 0.1506391167640686, -0.26893123984336853, -0.5852421522140503, 0.12726299464702606, -0.12095078080892563, -0.6729051470756531, -0.18804803490638733, 0.15463203191757202, -0.18894478678703308, -0.1551155298948288, -0.1546991914510727, -0.4643084406852722, -0.8609718680381775, -0.642633318901062, 0.48975569009780884, -0.22952382266521454, -0.3658725917339325, 0.3382119834423065, 0.009687613695859909, -0.02072998881340027, 0.7346689105033875, -0.7944919466972351, 0.45062917470932007, 0.7644618153572083, 0.8367586135864258, -0.1677873134613037, -0.35062503814697266, -0.6314398646354675, -0.11684942245483398, -0.5988255739212036, 0.6045762300491333, -0.4327734112739563, -0.055994730442762375, 0.0288431067019701, -0.12446407228708267, -0.20143699645996094, -0.942855954170227, 0.4135245680809021, -0.6325550675392151, -0.03209801763296127, -0.42683595418930054, -0.6210147738456726, -0.03856101632118225, 0.133863627910614, -0.6919093132019043, 0.8490716814994812, -0.01932433992624283, -0.6316571831703186, 0.12483909726142883, -0.6330701112747192, -0.5781776905059814, 0.2634393572807312, -0.6114192008972168, -0.24168507754802704, 0.3022727072238922, 0.032054100185632706, 0.6869680285453796, -0.657203197479248, 0.4265219569206238, -0.3076833188533783, -0.2912002503871918, 0.47936582565307617, -0.25944074988365173, 0.9990123510360718, 0.3347971439361572, -0.4278157353401184, 0.2189486026763916, -0.7394555807113647, 0.016345705837011337, 0.4207281768321991, -0.3793063759803772, -0.45248469710350037, 0.3549055755138397, -0.621166467666626, 0.34002721309661865, 0.10878967493772507, -0.36553752422332764, 0.07491801679134369, -0.36697548627853394, 0.4438062012195587, 0.8146607875823975, -0.3158346116542816, 0.40900254249572754, -0.3264238238334656, 0.5415726900100708, 0.20614710450172424, -0.26505041122436523, -0.09905790537595749, -0.2748323082923889, -1.1926791667938232, -0.1805301010608673, -0.11528342217206955, 0.5306013226509094, -0.8201212882995605, 0.20392301678657532, -0.11159726977348328, -0.20644071698188782, -0.4999573826789856, 0.42915078997612, 0.09965815395116806, 0.388430655002594, 0.2483585923910141, 0.24642962217330933, -0.6241196393966675, -0.48447054624557495, -0.049811530858278275, 0.06225009635090828, 0.0062336390838027, 0.42612865567207336, 0.35367125272750854, -0.25318437814712524, 0.9534845352172852, -0.21190664172172546, -0.0887896940112114, -0.4838629364967346, -0.17452947795391083, 0.34118080139160156, 0.24177253246307373, 0.13448098301887512, -0.5671752095222473, -0.28780174255371094, 0.11080578714609146, -1.1604779958724976, -0.24638278782367706, -0.28541409969329834, -0.09669685363769531, 0.1508403718471527, 0.7685751914978027, -0.9726375341415405, 0.359582781791687, 0.23795481026172638, -0.16021203994750977, 0.6799603700637817, -0.15993525087833405, -0.4095209538936615, -0.8356859087944031, -0.46494317054748535, 0.09463024884462357, -0.17889560759067535, -0.3653704822063446, 0.09038350731134415, -0.11252705752849579, -0.15918175876140594, -0.21666957437992096, 0.35721316933631897, -0.39453762769699097, -0.3651604950428009, -0.28633353114128113, 0.34631434082984924, 0.06726619601249695, 0.21547092497348785, -0.06771348416805267, 0.623677670955658, 0.7515624165534973, -0.8353064656257629, 0.8277642130851746, -0.14778821170330048, -0.2761209309101105, 0.5588414072990417, -0.71680748462677, -0.16714522242546082, -0.3569777309894562, 0.08220238983631134, -0.7570748329162598, -0.3059455156326294, 0.04400118440389633, -0.47183385491371155, 0.10380317270755768, 0.1702885776758194, -0.72459477186203, -0.13017398118972778, 0.2151227742433548, 0.2057344615459442, 0.29476413130760193, -0.9617363810539246, 0.72248774766922, 0.19271360337734222, 0.11150030046701431, -0.34790512919425964, -0.5847516655921936, 0.02501741796731949, -0.3054245114326477, -0.6770171523094177, 0.008985863998532295, 0.03487836942076683, -0.7300917506217957, -0.007267857436090708, 0.24938146770000458, 0.23871144652366638, 0.31958916783332825, 0.45587050914764404, 0.1958855241537094, -0.25593215227127075, 0.7561867833137512, -0.14078980684280396, 0.07013978064060211, 0.4608626961708069, -0.5273227691650391, 0.6140241622924805, -0.2398342341184616, -0.6792733669281006, -0.3284546732902527, 0.3485974073410034, 0.6921367049217224, -0.38607820868492126, 0.7105841040611267, 0.1714431196451187, -0.6410583853721619, -1.0996594429016113, -0.40655598044395447, -0.4902169704437256, -0.521263837814331, 0.24766142666339874, -0.4497259259223938, -0.9891983866691589, 0.6142438054084778, -0.3739754259586334, -0.14760644733905792, 0.24642181396484375, 0.6859898567199707, -0.06198545917868614, 1.1004152297973633, 0.3481194078922272, 0.09529069811105728, 0.06200222671031952, -0.07102879881858826, 0.31209102272987366, -0.48323431611061096, -0.4176425337791443, -0.5179142355918884, -0.16618035733699799, -0.4745290279388428, -0.5074346661567688, 0.19185124337673187, 0.2045540064573288, -0.4789264500141144, -0.0726444274187088, -0.5026739835739136, 0.45983296632766724, 0.42742082476615906, 0.2447405308485031, 0.19332562386989594, 0.14776523411273956, -0.6104772686958313, 0.0097971735522151, -0.8199315071105957, -0.20401696860790253, 0.7565550208091736, 0.4467897117137909, 1.1970698833465576, 0.19186389446258545, 0.7824888229370117, 0.07487986236810684, 0.2913607060909271, -0.9274634122848511, 0.7378084659576416, 0.02317657694220543, -0.45061981678009033, -0.3574830889701843, -0.6423583030700684, -0.7190783023834229, 0.11318185925483704, -0.026819121092557907, -0.6587694883346558, -0.023734645918011665, -0.1577783226966858, -0.16672855615615845, 0.4495602548122406, -0.6093842387199402, 0.5192136168479919, -0.37208831310272217, -0.38874801993370056, -0.12587830424308777, -0.42198190093040466, 0.4352458417415619, 0.15618334710597992, 0.3931249678134918, -0.28900447487831116, 0.2134299874305725, 0.5778223872184753, -0.7140535712242126, 1.102429747581482, -0.2234063297510147, -0.06184890866279602, 0.4658164978027344, 0.20022761821746826, 0.677106499671936, 0.11203094571828842, -0.16206224262714386, -0.269980788230896, -0.5113253593444824, -0.21444779634475708, -0.9016715288162231, 0.8408625721931458, -0.8387370109558105, -0.6321836113929749, -0.3187415897846222, -0.7267851233482361, -0.2240632176399231, 0.06781083345413208, 0.09967751801013947, 0.5013241767883301, 0.5312291383743286, 0.02928074635565281, 1.0323289632797241, -0.09293778985738754, 0.48625051975250244, 0.3697414696216583, -0.46238332986831665, -0.0757354199886322, 0.8539588451385498, -0.04935859888792038, 0.3903438150882721, 0.2342752367258072, 0.2845951318740845, -0.28646835684776306, -0.5625403523445129, -0.2617452144622803, 0.4520033299922943, -1.2847552299499512, -0.20271795988082886, -0.3616475760936737, -0.3841513991355896, -0.20530322194099426, -0.20781035721302032, -0.3072589039802551, -0.23319174349308014, -0.6255797147750854, -0.35853832960128784, 0.5294966101646423, 0.9342188239097595, 0.07101806253194809, 0.1321815401315689, -0.42864707112312317, -0.07919961959123611, 0.3514609634876251, 0.40675678849220276, 0.18822917342185974, -0.3851495087146759, -0.3117125332355499, -0.052086081355810165, 0.1469680815935135, -0.673976480960846, 0.41627293825149536, 0.2181551605463028, 0.6914989352226257, 0.2367718368768692, 0.2226438969373703, 0.5548744797706604, -0.4793005585670471, 0.3977341055870056, 0.3999386429786682, -0.8611128330230713, 0.6500899195671082, -0.16675087809562683, 0.08538005501031876, 0.4104991555213928, 0.5175500512123108, -0.39966434240341187, -0.3143933117389679, -0.3871101140975952, -0.5758461356163025, 0.4641433358192444, -0.22489936649799347, -0.06100522726774216, -0.24096500873565674, 0.6841278076171875, -0.14361150562763214, 0.053552430123090744, -0.7944933176040649, -0.2497124820947647, 0.02558206394314766, -0.33238378167152405, 0.11592116206884384, 0.052227966487407684, -0.3770327568054199, -0.37388962507247925, 0.6216587424278259, -0.4721268117427826, 0.16654923558235168, 0.23362772166728973, -0.2741398811340332, -0.17216311395168304, 0.16093052923679352, 0.7098833918571472, 1.0200146436691284, 0.12258149683475494, 0.6363409757614136, 0.13014502823352814, -0.025079233571887016, 0.19604818522930145, -0.15225690603256226, -0.2410559058189392, 0.15681272745132446, 0.19961895048618317, 0.8647258281707764, -0.09164590388536453, -0.8803208470344543, 0.44446954131126404, -0.17289525270462036, -0.162105992436409, -0.43448778986930847, 0.07823533564805984, 0.46579641103744507, 0.33957841992378235, 0.5248454809188843, 0.035885777324438095, -0.15660999715328217, -0.3327690362930298, 0.38799241185188293, 0.645131528377533, -0.5075271725654602, -0.1451939195394516, 0.44701316952705383, 0.09964501857757568, -0.42687323689460754, 0.5791632533073425, -0.5953899621963501, -0.6006525754928589, 0.7570808529853821, 0.8932178020477295, 0.7049275040626526, -0.1165279969573021, 0.311466246843338, 0.3798583447933197, 0.39052820205688477, -0.20975066721439362, 0.1754518300294876, 0.13683372735977173, -1.119341492652893, -0.6791117787361145, -0.6875377297401428, -0.35972580313682556, 0.010693957097828388, -0.4275072515010834, 0.3218255639076233, -0.9416049718856812, 0.07745083421468735, -0.09301333874464035, -0.16287869215011597, -0.5580426454544067, 0.35081443190574646, 0.2198808193206787, 0.7094378471374512, -0.852824866771698, 0.8955078125, 0.6793981194496155, -0.3604496419429779, -1.13090980052948, -0.48178067803382874, -0.04441084340214729, -0.8706251978874207, 1.2040278911590576, 0.31122517585754395, -0.3218195140361786, -0.013331768102943897, -0.7183555960655212, -0.6871786117553711, 1.068862795829773, 0.5145493745803833, -0.6380353569984436, -0.03449885547161102, 0.27613359689712524, 0.17896591126918793, -0.7924867868423462, 0.19310948252677917, 0.5717729926109314, 0.05806432664394379, 0.2646901309490204, -0.6062221527099609, 0.29309627413749695, -0.07221586257219315, -0.10248181968927383, 0.2381899356842041, -0.34201931953430176, 1.1780933141708374, -0.4733850359916687, -0.2004140466451645, -0.39992275834083557, 0.6106077432632446, 0.5753850936889648, 0.39159896969795227, 0.4239383935928345, 0.8335892558097839, 1.24048912525177, -0.04785989597439766, 0.758468508720398, -0.030520346015691757, 0.4853448271751404, 1.2284221649169922, -0.5577774047851562, 0.6549891233444214, 0.3933238387107849, -0.25863373279571533, 0.6666731834411621, 0.5662120580673218, 0.3396763801574707, 0.30708757042884827, 0.5832477807998657, -0.7329267859458923, -0.5014168620109558, -0.20269033312797546, -0.05812996253371239, 0.1220858246088028, 0.9510217308998108, -0.30220887064933777, -0.45248040556907654, 0.07055418938398361, 0.038699835538864136, 0.3111344873905182, -0.6630593538284302, 0.5801583528518677, 0.2954319715499878, -0.5590625405311584, 0.5902413725852966, -0.043103933334350586, 0.6599859595298767, -0.48118218779563904, -0.050436485558748245, -0.04234379157423973, 0.3892151415348053, -0.6408258080482483, -0.43510547280311584, 0.2658597528934479, -0.30390655994415283, -0.18971896171569824, -0.002238753717392683, 0.8713708519935608, -0.3972185552120209, -0.6508001089096069, 0.35979509353637695, 0.5307018756866455, 0.03705649822950363, 0.06783460080623627, -0.584348201751709, 0.11284840106964111, -0.14264173805713654, 0.14675770699977875, 0.3332120478153229, 0.7550475597381592, -0.0875270739197731, 0.9755405187606812, 0.703813374042511, 0.2547934055328369, 0.30888670682907104, 0.3957900106906891, 0.8220909833908081, -0.5645576119422913, -0.2653140723705292, -1.1426470279693604, 0.27140191197395325, -0.029422268271446228, 0.009690266102552414, 0.8495151996612549, 0.3155638575553894, 0.8289188146591187, 0.18087518215179443, 1.0110762119293213, 0.20925359427928925, 0.6426217555999756, -0.6461650133132935, 0.5313674211502075, -0.5426363945007324, 0.6053650379180908, 0.16142654418945312, -0.5510406494140625, -0.5560070872306824, 0.8170596957206726, -0.277447909116745, -0.16393692791461945, 0.7983489632606506, 0.7308102250099182, 0.26345449686050415, 0.03465411812067032, 0.3349529504776001, 0.026864226907491684, 0.5176481008529663, 0.6315569281578064, 0.9390812516212463, -0.03746241331100464, 0.20268963277339935, -0.2775813341140747, -0.2129814773797989, -0.2922254800796509, -0.8774198293685913, -1.1156315803527832, -0.4323329031467438, -0.30786412954330444, -0.6116264462471008, -0.1475299596786499, 1.33298921585083, 0.5144578218460083, -0.7766189575195312, -0.508006751537323, -0.6067332029342651, 0.5530821681022644, -0.07448992133140564, -0.2557741403579712, 0.17581652104854584, -1.0149497985839844, -0.35751914978027344, 0.4073633849620819, 0.3136977553367615, -0.16386675834655762, -0.6420039534568787, -0.3076508939266205, -0.0875144898891449, 0.16872616112232208, 0.6487274765968323, 0.21706527471542358, -0.6509846448898315, -0.10639221966266632, 0.13344374299049377, -0.34689560532569885, -0.04083426296710968, 0.9448437690734863, -0.812642514705658, 0.3766033947467804, 0.4281172454357147, 1.169613242149353, 0.29836544394493103, -0.27025705575942993, 0.3410381078720093, -0.7324603796005249, 0.19655679166316986, 0.3243890702724457, 0.4449477195739746, 0.6227231621742249, -0.4745858311653137, 0.3346620500087738, 0.4907439649105072, -0.6860548853874207, -0.8584733605384827, 0.4139389395713806, -0.6998357772827148, -0.26617273688316345, 1.2234660387039185, -0.16966880857944489, -0.21615613996982574, -0.012111802585422993, 0.23460574448108673, 0.0027332990430295467, -0.14802196621894836, 0.516413688659668, 0.6815087199211121, -0.20560744404792786, -0.450347900390625, -0.783029317855835, 0.5429932475090027, 0.4169571101665497, -0.9041815996170044, 0.10962259769439697, 0.42767655849456787, 0.2685028612613678, 0.23152725398540497, 0.570684552192688, 0.09478816390037537, 0.2084699422121048, -0.27429813146591187, 0.09138619899749756, 0.06893806904554367, -0.6231221556663513, -0.3638473153114319, 0.14522135257720947, 0.4142051339149475, 0.07015717774629593 ]
http://arxiv.org/abs/2402.12079v1
http://arxiv.org/pdf/2402.12079v1
LVCHAT: Facilitating Long Video Comprehension
2024-02-19T11:59:14
2024-02-19T11:59:14
Yu Wang, Zeyuan Zhang, Julian McAuley, Zexue He
cs.CV
cs.CV, cs.CL
Enabling large language models (LLMs) to read videos is vital for multimodal LLMs. Existing works show promise on short videos whereas long video (longer than e.g.~1 minute) comprehension remains challenging. The major problem lies in the over-compression of videos, i.e., the encoded video representations are not enough to represent the whole video. To address this issue, we propose Long Video Chat (LVChat), where Frame-Scalable Encoding (FSE) is introduced to dynamically adjust the number of embeddings in alignment with the duration of the video to ensure long videos are not overly compressed into a few embeddings. To deal with long videos whose length is beyond videos seen during training, we propose Interleaved Frame Encoding (IFE), repeating positional embedding and interleaving multiple groups of videos to enable long video input, avoiding performance degradation due to overly long videos. Experimental results show that LVChat significantly outperforms existing methods by up to 27\% in accuracy on long-video QA datasets and long-video captioning benchmarks. Our code is published at https://github.com/wangyu-ustc/LVChat.
[ -0.3886038064956665, -0.9622539281845093, 0.5881072282791138, 0.5894711017608643, -0.6515177488327026, 0.4885560870170593, -0.512573778629303, -0.34625938534736633, 0.4733050465583801, 0.30082905292510986, -0.675404965877533, -0.240228533744812, -0.566298246383667, -0.156534805893898, -0.5235207676887512, 0.5219180583953857, -0.04607938975095749, 0.07058349996805191, -0.39349082112312317, -0.32008615136146545, -0.5392048358917236, -0.4006313383579254, -0.34524771571159363, 0.04115186259150505, 0.39056745171546936, 0.6062920689582825, 0.762769341468811, 0.5028402209281921, 0.5771546363830566, 0.3194432854652405, 0.023900415748357773, 0.3446188271045685, -0.5757806897163391, 0.3271874785423279, 0.13112770020961761, -0.4517817199230194, -0.3739895224571228, -0.5107119679450989, 0.9820452332496643, 0.3030543327331543, -0.1091335266828537, 0.34470415115356445, 0.02864071913063526, 0.7199972867965698, -0.6413408517837524, 0.405286580324173, -0.39986351132392883, 0.089898481965065, -0.13729655742645264, -0.5196607112884521, -0.3655017912387848, 0.0642898678779602, -0.16221731901168823, -0.5857959985733032, -0.18187052011489868, 0.17222177982330322, 0.3646780848503113, 0.703104555606842, -0.3432311415672302, -0.05880174785852432, -0.5887489318847656, 0.6856209635734558, -0.5521283149719238, 0.6834945678710938, 0.585378885269165, 0.5892961621284485, -0.1223527118563652, -0.4940359592437744, -0.8689137697219849, -0.25223690271377563, 0.24551934003829956, 0.053518038243055344, -0.229740709066391, 0.28198301792144775, 0.5171865224838257, 0.4960184097290039, -0.4802702069282532, 0.4196925759315491, -0.38868263363838196, -0.12165006995201111, 0.3652734160423279, 0.13403616845607758, 0.2501599192619324, -0.25855228304862976, -0.3574432134628296, -0.1739576905965805, -0.3315388858318329, 0.44935113191604614, 0.21760492026805878, 0.03977397829294205, -0.13998126983642578, 0.7009207010269165, -0.5572453141212463, 0.5639033913612366, -0.056052953004837036, -0.4130938649177551, 0.2632363438606262, -0.041969940066337585, -0.6749963164329529, -0.0017861730884760618, 0.5463930368423462, 0.6301369667053223, 0.100039042532444, 0.16112029552459717, 0.11436448246240616, 0.20720508694648743, 0.01975356973707676, -0.9323651790618896, 0.021866964176297188, 0.4349513053894043, -0.33615949749946594, -0.16688968241214752, 0.014804516918957233, -1.0072057247161865, -0.3743468225002289, -0.3328939974308014, 0.43242499232292175, -0.294113427400589, -0.16686762869358063, 0.22056694328784943, 0.02365051582455635, 0.6090871095657349, 0.30988064408302307, -0.937519371509552, 0.33819010853767395, 0.5558808445930481, 0.8335734605789185, -0.24484708905220032, -0.41707083582878113, -1.0382376909255981, 0.08381470292806625, -0.14022383093833923, 0.40140560269355774, -0.4167109429836273, -0.12587465345859528, 0.30696383118629456, 0.3037254810333252, 0.5099586844444275, -0.0362226776778698, 0.2971464693546295, -0.631283700466156, 0.06398550420999527, -0.08666592091321945, -0.6167566180229187, -0.09416785836219788, 0.46113279461860657, -0.5250759124755859, 0.7598918676376343, -0.1922179013490677, -0.6289390921592712, 0.2765790820121765, -0.4965935945510864, -0.13803552091121674, 0.04225161299109459, -0.3621968924999237, -0.33731669187545776, -0.04702134057879448, 0.695993959903717, 0.8184006214141846, -0.14298655092716217, 0.32694268226623535, -0.3499044179916382, -0.41606077551841736, 0.2489689290523529, -0.7989284992218018, 0.23618336021900177, 0.13633127510547638, -0.09498629719018936, 0.4125250577926636, -0.5181171298027039, 0.036776795983314514, -0.11382081359624863, -0.12116922438144684, 0.029282398521900177, -0.011224023997783661, -0.20151054859161377, -0.055639561265707016, -0.13655398786067963, -0.5903050303459167, 0.234204962849617, -0.11579455435276031, 0.9851404428482056, 0.7837114334106445, -0.24695292115211487, 0.5374778509140015, -0.0643046498298645, 0.7918973565101624, -0.14895644783973694, 0.3196277618408203, -0.5489891171455383, -0.1736050844192505, -0.6810430288314819, -0.34322914481163025, -0.15006303787231445, 0.4356082081794739, -1.2709537744522095, -0.03584762290120125, -0.5751217007637024, -0.3327063322067261, -0.4925323724746704, 0.26372775435447693, 0.19051165878772736, 0.08968424797058105, 0.48571091890335083, -0.25039899349212646, -0.31707102060317993, -0.7419217228889465, 0.25831684470176697, -0.09998852014541626, -0.09558400511741638, 0.11303199827671051, 0.4749029874801636, -0.37097638845443726, 0.8140752911567688, -0.5336134433746338, -0.2446809560060501, -0.19140581786632538, -0.34366002678871155, 0.10024527460336685, 0.12660066783428192, 0.4007563889026642, -0.6556009650230408, -0.43832823634147644, -0.23385173082351685, -0.6315529942512512, 0.4888163208961487, -0.25431081652641296, 0.019760990515351295, 0.12025284022092819, 1.0229684114456177, -0.483551025390625, 0.4010002911090851, 1.0480871200561523, 0.05064370855689049, 0.3555102050304413, -0.40579545497894287, 0.4467194378376007, -0.9918294548988342, -0.5177923440933228, -0.2371566891670227, -0.7457723617553711, -0.2743716239929199, 0.18150480091571808, 0.21191315352916718, -0.4493091106414795, -0.7889153361320496, 0.22880715131759644, -0.524664044380188, -0.16265030205249786, -0.22090956568717957, 0.34578344225883484, -0.04614512622356415, 0.7947272062301636, 0.07670727372169495, 0.9025325179100037, 0.7412816286087036, -0.4944641888141632, 0.8358571529388428, 0.31748518347740173, -0.6091529726982117, 0.6057893633842468, -0.5984062552452087, -0.017128614708781242, -0.29088354110717773, 0.6615516543388367, -0.8841253519058228, -0.7063463926315308, 0.06467723846435547, -0.5465670228004456, 0.35889115929603577, -0.0839250385761261, -0.17367075383663177, -0.3764491379261017, -0.637701690196991, 0.667905867099762, 0.5045295357704163, -0.9994252920150757, 0.3519258499145508, 0.39390331506729126, 0.0027550950180739164, -0.8436103463172913, -0.783864438533783, 0.23567096889019012, -0.4424471855163574, -0.8774015307426453, 0.37812539935112, -0.3410481810569763, 0.06676650792360306, -0.3243557810783386, -0.12044209241867065, -0.2220027893781662, -0.49247831106185913, 0.43753737211227417, -0.04279564693570137, -0.2808423936367035, 0.5120894908905029, 0.0270707905292511, -0.0013933181762695312, -0.03823859244585037, -0.011684280820190907, 0.48240354657173157, -0.2234421670436859, -0.4773741662502289, -0.559575617313385, 0.6834183931350708, 0.7725900411605835, -0.16606836020946503, 0.6239039897918701, 0.7504668235778809, -0.13236917555332184, -0.41831353306770325, -0.6156026721000671, -0.1492026448249817, -0.5397961735725403, 0.7182034850120544, -0.23705311119556427, -1.4197903871536255, 0.29289743304252625, 0.17109033465385437, -0.13914355635643005, -0.12614132463932037, 0.4165577292442322, -0.5832830667495728, 0.5378639698028564, 0.7357854247093201, -0.21000857651233673, 0.7620773315429688, -0.09536134451627731, 0.11986976861953735, -0.5138181447982788, -0.09145183861255646, 0.08385486155748367, -0.2492421418428421, -0.5658324956893921, -1.0680416822433472, 0.37454551458358765, -0.06665337085723877, -0.19077160954475403, 0.173859104514122, -0.2631094455718994, 0.8638558387756348, 0.3737998604774475, 0.30363786220550537, 0.11578904837369919, -0.050792016088962555, 0.6929412484169006, -0.2693106532096863, -0.5200454592704773, -0.08516957610845566, 0.47451987862586975, 0.8789213299751282, 1.024803638458252, 0.34951165318489075, 0.3592973053455353, 0.4200502634048462, -0.4247910678386688, -1.0970414876937866, 0.7772371172904968, -0.10884550958871841, -0.12353914231061935, -0.5471909642219543, -0.12126346677541733, -0.8187636137008667, -0.04032989218831062, -0.04604057967662811, -0.4478605389595032, -0.1334618479013443, 0.23524683713912964, -0.4838356673717499, 0.48282355070114136, -0.3152465224266052, 0.5088737607002258, -0.3097648620605469, -0.4313276410102844, -0.5549731850624084, -0.8127239942550659, 0.5448475480079651, 0.18357570469379425, 0.32661429047584534, 0.04263068735599518, 0.039442844688892365, 0.7466509342193604, -0.5235519409179688, 0.8376129269599915, 0.004845993593335152, 0.02985856868326664, 0.43181681632995605, -0.00003672787352115847, 0.3221319317817688, 0.5059318542480469, 0.5179589986801147, -0.0749698132276535, 0.23338887095451355, -0.5491307973861694, -0.7588145732879639, 0.484403520822525, -0.6750214695930481, -0.7028504014015198, -0.3847458064556122, -0.3776609003543854, -0.29263055324554443, -0.2292269617319107, -0.058309901505708694, 0.4671877920627594, 0.10462048649787903, 0.862260103225708, 0.912456214427948, -0.5282524824142456, 0.7010220289230347, -0.018042992800474167, -0.458163857460022, -0.6039389371871948, 0.829928457736969, -0.4409652054309845, 0.6189854145050049, 0.6195089221000671, -0.09323783963918686, -0.10861367732286453, -0.4029238820075989, -0.4118620455265045, 0.06740673631429672, -0.9871184229850769, -0.3195444643497467, -0.26441916823387146, -0.25215697288513184, -0.2253098338842392, -0.1640104204416275, -0.4685826599597931, -0.1993769258260727, -0.18389657139778137, -0.34180182218551636, 0.645008385181427, 0.24746587872505188, -0.018097959458827972, 0.6623983383178711, -1.0237419605255127, 0.5895984768867493, 0.7694899439811707, 0.4143686890602112, -0.20331332087516785, -0.846483588218689, -0.2571740448474884, -0.13505451381206512, -0.059128619730472565, -0.7301247715950012, 0.24977387487888336, 0.17867621779441833, 0.3523108959197998, 0.28996071219444275, -0.093824103474617, 1.1048625707626343, -0.40016525983810425, 0.92293381690979, 0.4581454396247864, -1.0285578966140747, 0.37460634112358093, -0.4326648414134979, 0.3456226587295532, 0.49650368094444275, 0.3263663351535797, -0.7337466478347778, 0.03980347886681557, -0.016515135765075684, -0.7159729599952698, 0.3021903932094574, 0.20908871293067932, 0.5351499915122986, 0.14024582505226135, 0.1578904390335083, 0.09053979814052582, 0.007464825641363859, -0.7960864901542664, 0.16828598082065582, -0.4376550614833832, 0.028319304808974266, -0.08029284328222275, -0.5487897396087646, 0.13443827629089355, -0.2489306628704071, 0.5528277158737183, -0.3053823709487915, 0.2964402437210083, 0.267564982175827, -0.39219745993614197, 0.07079660147428513, 0.3829156756401062, 0.7642238140106201, 0.5997956991195679, -0.23646074533462524, -0.10067705810070038, 0.44239217042922974, -0.4873614013195038, 0.0671813040971756, -0.41641485691070557, 0.5935357213020325, -0.2060733288526535, 0.5634650588035583, 0.993499755859375, 0.22588084638118744, -0.8859316110610962, 0.6556499004364014, -0.21156875789165497, -0.207044780254364, -0.5550982356071472, -0.14957788586616516, -0.016025273129343987, 0.5549411177635193, 0.0359019860625267, -0.4576066732406616, -0.25067636370658875, -0.81849604845047, 0.30620813369750977, 0.2847532331943512, -0.32061681151390076, -0.047037895768880844, 0.6110115051269531, 0.4053191542625427, -0.4333646893501282, 0.8198810815811157, -0.03439771384000778, -0.4236626625061035, 0.2415226697921753, 0.12093651294708252, 0.4855330288410187, -0.027676057070493698, 0.21983572840690613, 0.44376519322395325, 0.19147498905658722, -0.24015676975250244, 0.10707587003707886, -0.46582701802253723, -0.3465491533279419, -0.9730947017669678, -0.5902866125106812, -0.5807721018791199, 0.057610202580690384, -0.7679154872894287, 0.5378512740135193, -0.1208028569817543, 0.044024478644132614, -0.40587618947029114, -0.23691526055335999, -0.5502109527587891, 0.06947394460439682, 0.5050487518310547, 0.9063854217529297, -0.5918452739715576, 1.1424946784973145, -0.05083092674612999, -0.42560669779777527, -0.6145191192626953, -0.18526595830917358, -0.2731616795063019, -0.9658393859863281, 0.39362800121307373, 0.15351201593875885, -0.09987238794565201, -0.40754932165145874, -0.6718241572380066, -0.7600806951522827, 1.2473056316375732, 0.1909884661436081, -1.214182734489441, -0.3419901132583618, 0.2829229533672333, 0.3031238913536072, -0.05492144823074341, 0.07119215279817581, 0.36389920115470886, 0.16387954354286194, 0.21726354956626892, -1.005884051322937, -0.26901450753211975, 0.031243344768881798, -0.33086705207824707, 0.05354926735162735, -0.7590799927711487, 0.45806241035461426, -0.24574075639247894, 0.17440544068813324, 0.0870758518576622, 1.0810997486114502, 0.23279178142547607, 0.31497707962989807, 0.7528619170188904, 0.1339356154203415, 0.6303529143333435, 0.3315417468547821, 0.6900156140327454, 0.05092170462012291, 0.13340824842453003, 1.4340788125991821, 0.3234240710735321, 1.0648458003997803, 0.8363820910453796, -0.2884105443954468, 0.32921695709228516, 0.6615443825721741, 0.12147900462150574, 0.36492016911506653, 0.29177042841911316, -0.09676717221736908, -0.5683001279830933, 0.20994922518730164, -0.3703809678554535, 0.7120292782783508, 0.5093967914581299, -0.17783212661743164, 0.138422429561615, 0.5212370753288269, -0.22024784982204437, 0.17758361995220184, -0.459171861410141, 0.44275420904159546, 0.29699617624282837, -0.5919899344444275, 0.47695475816726685, -0.42781922221183777, 0.955697774887085, -0.6782121658325195, 0.02104753628373146, -0.11084798723459244, 0.08784133195877075, -0.20369945466518402, -1.1532260179519653, 0.21627762913703918, 0.04756766930222511, -0.06406598538160324, -0.29417380690574646, 0.4076877236366272, -0.5837224721908569, -0.30685922503471375, 0.32905715703964233, 0.2598811686038971, 0.2878175675868988, -0.0875520408153534, -0.31104642152786255, 0.5218228697776794, 0.0863468125462532, -0.12864497303962708, 0.40426674485206604, 0.23319275677204132, -0.2534523606300354, 0.7855467796325684, 0.4102666676044464, -0.23234044015407562, -0.03487752750515938, 0.21859408915042877, 0.8178135752677917, -0.7090913653373718, -0.5783340930938721, -0.9842514395713806, 0.6001726984977722, -0.012560609728097916, 0.011551662348210812, 0.5636412501335144, 0.13377924263477325, 0.735037624835968, -0.0010028043761849403, 0.3309582471847534, 0.1833210438489914, 0.06227078661322594, -0.780511736869812, 0.35772842168807983, -0.6043795347213745, 0.11922036856412888, -0.1976950764656067, -0.810806930065155, -0.3117303252220154, 0.3111220598220825, 0.08187995105981827, -0.48500198125839233, 0.6508992314338684, 0.6275209188461304, -0.2877650558948517, 0.045218680053949356, 0.6722297072410583, 0.2421981692314148, 0.7944177985191345, 0.6958908438682556, 1.0535916090011597, -0.31581008434295654, 0.8979939222335815, -0.23154553771018982, -0.0960724875330925, -0.14940692484378815, -1.1202995777130127, -1.0827796459197998, -0.7787531018257141, -0.20182932913303375, -0.09970086812973022, 0.010377091355621815, 0.8931524157524109, 0.7872580289840698, -0.28436771035194397, -0.1321641504764557, 0.2839255630970001, -0.10736369341611862, 0.08583904057741165, -0.12742109596729279, 0.34754690527915955, -0.06028998643159866, -0.6889441013336182, 0.6284137964248657, 0.3005952835083008, -0.16580989956855774, -0.5649271011352539, -0.15237899124622345, 0.16484515368938446, -0.00009011336078401655, 1.037894606590271, 0.3811315894126892, -0.8023590445518494, -0.66975998878479, 0.09897806495428085, 0.24855512380599976, 0.27499309182167053, 0.730449378490448, -0.6898782253265381, 0.6101986169815063, 0.6216105818748474, 0.7827460169792175, 0.8536966443061829, -0.06459391862154007, 0.3354666829109192, -0.7694231867790222, 0.44362205266952515, 0.140518456697464, 0.518578290939331, 0.35063180327415466, -0.1894047111272812, 0.4023638367652893, -0.28488028049468994, -0.8560189604759216, -1.105918049812317, 0.10501649230718613, -1.6694324016571045, -0.2831171751022339, 1.2638245820999146, -0.027919750660657883, -0.3109564781188965, 0.20448961853981018, -0.35458871722221375, 0.18443763256072998, -0.3916516602039337, 0.6062518358230591, 0.6895999908447266, -0.05282076075673103, -0.5221480131149292, -0.8066061735153198, 0.36815619468688965, 0.3070397675037384, -0.7337039709091187, 0.1832726150751114, 0.3286912143230438, 0.18021583557128906, -0.13861189782619476, 0.746880054473877, 0.37186771631240845, 0.531940221786499, -0.1357135772705078, -0.3493685722351074, -0.14073100686073303, -0.33116641640663147, -0.27708879113197327, 0.038749583065509796, -0.11984767764806747, -0.546316921710968 ]
http://arxiv.org/abs/2402.12071v2
http://arxiv.org/pdf/2402.12071v2
EmoBench: Evaluating the Emotional Intelligence of Large Language Models
2024-02-19T11:48:09
2024-06-07T07:43:45
Sahand Sabour, Siyang Liu, Zheyuan Zhang, June M. Liu, Jinfeng Zhou, Alvionna S. Sunaryo, Juanzi Li, Tatia M. C. Lee, Rada Mihalcea, Minlie Huang
cs.CL
cs.CL, cs.AI
Recent advances in Large Language Models (LLMs) have highlighted the need for robust, comprehensive, and challenging benchmarks. Yet, research on evaluating their Emotional Intelligence (EI) is considerably limited. Existing benchmarks have two major shortcomings: first, they mainly focus on emotion recognition, neglecting essential EI capabilities such as emotion regulation and thought facilitation through emotion understanding; second, they are primarily constructed from existing datasets, which include frequent patterns, explicit information, and annotation errors, leading to unreliable evaluation. We propose EmoBench, a benchmark that draws upon established psychological theories and proposes a comprehensive definition for machine EI, including Emotional Understanding and Emotional Application. EmoBench includes a set of 400 hand-crafted questions in English and Chinese, which are meticulously designed to require thorough reasoning and understanding. Our findings reveal a considerable gap between the EI of existing LLMs and the average human, highlighting a promising direction for future research. Our code and data are publicly available at https://github.com/Sahandfer/EmoBench.
[ -0.3624767065048218, -0.7592397928237915, 0.44231802225112915, 0.37022411823272705, 0.08466069400310516, -0.06635196506977081, -0.4646434485912323, -0.5064736604690552, 0.06074727699160576, -0.015095232054591179, -0.683847963809967, -0.3703373372554779, -0.3386263847351074, 0.25558656454086304, -0.2857706844806671, 0.5476062297821045, -0.015793172642588615, -0.269654244184494, 0.028701769188046455, -0.27894774079322815, 0.03610934317111969, -0.6367295384407043, -0.4223501980304718, -0.45897582173347473, 0.5943153500556946, 0.4156530797481537, 0.31227195262908936, 0.3723914921283722, 0.3359425961971283, 0.2636067569255829, -0.08879546076059341, 0.106783427298069, -0.6359794735908508, 0.2215508073568344, 0.16453193128108978, -0.5170519351959229, -0.4741901755332947, -0.0020735193975269794, 0.36170271039009094, 0.5423119068145752, -0.27631285786628723, 0.28464365005493164, -0.014831078238785267, 0.8069409728050232, -0.8854153752326965, -0.0834348127245903, -0.2734077572822571, 0.3675130307674408, -0.15761718153953552, -0.009150000289082527, -0.4649496376514435, -0.49097031354904175, 0.04426056519150734, -0.40869852900505066, -0.2769022285938263, 0.46798208355903625, 0.670754075050354, 0.38915878534317017, -0.41871359944343567, -0.3694366216659546, -0.3308190703392029, 0.6301017999649048, -0.6046739220619202, 0.5816056728363037, 0.38265201449394226, 0.06672168523073196, 0.1883503794670105, -0.45862433314323425, -0.2792932391166687, -0.3034602701663971, 0.15145689249038696, 0.35081472992897034, -0.6227377653121948, -0.0067567299120128155, 0.46576735377311707, 0.1301611363887787, -0.6969980001449585, 0.2826825678348541, -0.08854428678750992, 0.27555927634239197, 0.5450891256332397, 0.43701761960983276, 0.12222765386104584, 0.0036161092575639486, 0.018747111782431602, -0.01058043073862791, -0.49467575550079346, 0.22579894959926605, 0.3450911343097687, -0.10421635210514069, -0.0355137437582016, 0.5755012631416321, -0.27627745270729065, 0.302030473947525, 0.21940302848815918, 0.3600357174873352, 0.47307997941970825, 0.2882363498210907, -0.2919856607913971, -0.010544268414378166, 0.566621720790863, 0.5101132392883301, 0.2745911777019501, -0.23909635841846466, -0.20998188853263855, -0.2724856734275818, 0.1596067249774933, -1.0189688205718994, -0.09858284145593643, 0.664124608039856, -0.5133148431777954, -0.06405341625213623, 0.0038054909091442823, -1.017179012298584, -0.5713902711868286, -0.11015629023313522, 0.18639101088047028, -0.5741204619407654, -0.3772328197956085, -0.1547062247991562, 0.00989637803286314, 0.3749309778213501, 0.15055759251117706, -0.8986908197402954, 0.1201409175992012, 1.099583387374878, 0.781929612159729, 0.35104960203170776, -0.4403916001319885, -0.2482575923204422, -0.012365961447358131, -0.39233139157295227, 0.7412377595901489, -0.687343955039978, -0.13932520151138306, 0.29880207777023315, -0.1028110533952713, -0.05016058310866356, -0.5129718780517578, 0.7559089660644531, -0.16976208984851837, -0.2842424809932709, -0.26503443717956543, -0.6668282151222229, -0.44939935207366943, 0.4426187574863434, -0.5669193267822266, 1.2339311838150024, -0.061794213950634, -0.5784673690795898, 0.12453582137823105, -0.4741050601005554, -0.4254704713821411, -0.1138802021741867, 0.0750654861330986, -0.09175137430429459, 0.6180610656738281, 0.2576848864555359, 0.5310160517692566, -0.6806445717811584, 0.21615730226039886, -0.809372067451477, -0.34689033031463623, 0.6209647059440613, -0.2330428957939148, 0.7152596116065979, 0.19422246515750885, -0.4381157457828522, -0.2752353250980377, -0.6435276865959167, 0.34997794032096863, 0.019347166642546654, 0.0015524367336183786, -0.388010174036026, -0.05570114403963089, 0.04312203824520111, 0.14883773028850555, 0.32257014513015747, -0.532723069190979, -0.18546055257320404, -0.22966012358665466, 0.3671571910381317, 0.9171726703643799, -0.44162020087242126, 0.17477798461914062, -0.288187712430954, 0.4915466904640198, -0.5771820545196533, 0.12589406967163086, -0.18087178468704224, -0.06395597010850906, -0.958177387714386, -0.44524821639060974, 0.03291873261332512, 0.4698600172996521, 0.0067634922452270985, 0.5862182974815369, -0.0867019072175026, -1.0528450012207031, -0.7947641015052795, 0.12199561297893524, 0.3922862112522125, -0.008475301787257195, -0.0447533018887043, 0.07224883139133453, -0.5246242880821228, -0.8826024532318115, -0.5036770105361938, -0.18038798868656158, -0.2874668836593628, 0.6249023079872131, 0.6187753677368164, -0.24935461580753326, 0.6399396061897278, -0.2581334412097931, 0.055019840598106384, -0.20089556276798248, 0.4179248809814453, 0.11648479849100113, 0.19084076583385468, 0.4266655147075653, -0.45591527223587036, -0.2504250705242157, 0.06192771717905998, -0.9420326352119446, -0.6062905192375183, 0.19304686784744263, -0.331179141998291, -0.0031051128171384335, 0.41810014843940735, -0.30636194348335266, 0.1007138267159462, 0.6201770305633545, -0.28404486179351807, 0.2755908668041229, 0.003945576027035713, 0.4377554655075073, -0.6218770742416382, 0.5073737502098083, 0.09610234946012497, 0.12679478526115417, -0.6497689485549927, -0.05354198068380356, 0.24213925004005432, -0.2390916496515274, -0.2886987328529358, 0.45943742990493774, -0.41403353214263916, -0.12210152298212051, -0.07019510865211487, 0.31252044439315796, -0.06230931356549263, 0.4565281569957733, -0.3744036555290222, 0.13493458926677704, 0.16444702446460724, -0.3816794157028198, 0.6290373206138611, 0.0432126447558403, -0.33558762073516846, 0.991043746471405, -0.7052739262580872, 0.432904452085495, 0.01576862670481205, 0.049940697848796844, -0.636902928352356, -0.24536320567131042, -0.0071786572225391865, -0.39944732189178467, 0.18739773333072662, 0.3374747037887573, -0.4833321273326874, -0.4168592095375061, -0.43599095940589905, 0.18084555864334106, 0.6187828183174133, -0.6290808916091919, 1.0707848072052002, 0.4584202766418457, -0.32023829221725464, -0.44419798254966736, -0.5380247831344604, -0.044044576585292816, -0.1720828264951706, -0.6096950769424438, 0.1151944175362587, -0.09147138893604279, -0.42378395795822144, 0.1284647434949875, 0.07138071954250336, -0.17347130179405212, 0.4551423490047455, 0.46254080533981323, -0.2594812512397766, -0.1259019523859024, 0.4389028251171112, -0.034702710807323456, -0.00038692279485985637, 0.26901161670684814, 0.4363510012626648, 0.3724870979785919, -0.6080021262168884, -0.40517571568489075, -0.2948938012123108, 0.31447842717170715, 0.6466911435127258, -0.3163861334323883, 0.5703694224357605, 0.6528804898262024, -0.6900362372398376, -0.45839160680770874, -0.6931277513504028, -0.05005894973874092, -0.42485469579696655, 0.8621219396591187, -0.5008059740066528, -0.870796263217926, 0.5227892398834229, -0.402241975069046, 0.18491888046264648, 0.14784909784793854, 0.7161887884140015, -0.30021682381629944, 1.1403175592422485, 0.5896958112716675, 0.07587966322898865, 0.3615491986274719, 0.1996425986289978, 0.2941432297229767, -1.0487481355667114, -0.29305770993232727, -0.6986396312713623, -0.46327531337738037, -0.27419134974479675, -0.20319469273090363, -0.10859851539134979, -0.05885839834809303, -0.7473165392875671, -0.1271027773618698, -0.159908264875412, 0.25099849700927734, 0.31519636511802673, 0.12889552116394043, -0.09888304024934769, -0.30350735783576965, -0.03630021587014198, -0.2064971625804901, -0.4425516426563263, -0.6331828236579895, 0.8823152184486389, 0.5054436922073364, 0.9140751361846924, 0.17988382279872894, 0.4536684453487396, 0.1836448311805725, 0.7473294138908386, -0.7128658890724182, 0.5781548023223877, -0.007773782592266798, -0.7284501194953918, -0.09833356738090515, -0.33194324374198914, -0.6280583739280701, 0.34362509846687317, -0.13527946174144745, -1.0119868516921997, 0.02185095101594925, 0.006006239913403988, -0.22235436737537384, 0.15393923223018646, -0.6570155024528503, 0.8934186100959778, -0.8449108004570007, -0.42110201716423035, -0.48943737149238586, -0.25439199805259705, 0.2707352042198181, -0.4059111773967743, 0.17397816479206085, -0.705366849899292, -0.24691708385944366, 1.0127981901168823, -0.11997605860233307, 0.7283602952957153, 0.04072599112987518, 0.07635480910539627, 0.03623056784272194, 0.05684845522046089, 0.2323002964258194, -0.2834107279777527, -0.652348518371582, 0.03189585730433464, -0.25008872151374817, -0.2885655462741852, -0.7150938510894775, 0.457526296377182, -0.6462023258209229, -0.5445457696914673, -0.4341762661933899, -0.344430536031723, -0.2164631187915802, -0.1150251179933548, -0.10088453441858292, 0.14562925696372986, -0.5965715050697327, 0.5680218935012817, 0.13033707439899445, -0.43215253949165344, 0.12203063815832138, 0.7829471826553345, -0.21852830052375793, -0.48255017399787903, 0.7282934784889221, 0.07247452437877655, -0.08247268199920654, 0.2790030241012573, 0.13265755772590637, -0.25970470905303955, 0.0985412672162056, -0.20255790650844574, 0.26221004128456116, -0.8119984865188599, 0.04099256917834282, -0.5586559176445007, 0.14969852566719055, -0.10262523591518402, -0.42544153332710266, -0.553688645362854, 0.006886095739901066, -0.12770682573318481, -0.26004162430763245, 0.48192042112350464, 0.8614624738693237, -0.1876116693019867, -0.12417078763246536, -0.8158152103424072, -0.22032102942466736, 0.1486552655696869, 0.2522561252117157, 0.48150625824928284, -0.6642524003982544, -0.545122504234314, -0.1203409880399704, -0.3500535190105438, -0.9919753670692444, 0.5980521440505981, 0.49221768975257874, 0.6618865728378296, 0.8110920190811157, 0.37868210673332214, 0.7242136597633362, -0.4839845597743988, 0.3156396746635437, 0.04778515174984932, -1.3524388074874878, 0.5671200156211853, 0.02000328339636326, 0.028096871450543404, 0.5005602240562439, 0.5051314830780029, -0.7928710579872131, -0.42714717984199524, -0.37640076875686646, -0.8678795099258423, 0.5127933621406555, 0.06550439447164536, -0.08011927455663681, 0.19903649389743805, 0.14374107122421265, 0.033151596784591675, 0.1929120123386383, -0.5061402320861816, -0.08931578695774078, 0.13151001930236816, -0.5953835844993591, -0.07323107123374939, -0.2544931173324585, 0.005728616379201412, -0.18079426884651184, 0.516611635684967, 0.04729616641998291, 0.34344297647476196, 0.05588819459080696, -0.28917059302330017, -0.21110209822654724, 0.39395958185195923, 0.04256635531783104, 0.3418096601963043, -0.4246087372303009, 0.09422063082456589, 0.5077365040779114, -0.11284574121236801, 0.30876386165618896, 0.18319010734558105, 0.12866568565368652, -0.3296002447605133, 0.31536105275154114, 0.6792404651641846, 0.5329452157020569, -1.188263177871704, 0.2554417550563812, -0.0045155733823776245, 0.0025083383079618216, -0.426358163356781, -0.2423492968082428, 0.17464111745357513, 0.6351435780525208, 0.43113890290260315, -0.358662486076355, 0.11091534048318863, -0.547002911567688, 0.05376264825463295, 0.07592575997114182, -0.5522836446762085, -0.6054078936576843, 0.3383307456970215, 0.6110588312149048, -0.3504480719566345, 0.9026921391487122, -0.0978766456246376, -0.9600411057472229, 0.7746158838272095, 0.4431666135787964, 1.1526726484298706, -0.34781673550605774, -0.07374497503042221, 0.4060947000980377, 0.7877455949783325, 0.11041661351919174, 0.40862205624580383, 0.24524734914302826, -0.6312158107757568, -0.05667194351553917, -0.4006781578063965, -0.789705216884613, -0.16767476499080658, -0.727806806564331, 0.13937966525554657, -0.45647212862968445, -0.28491315245628357, -0.32597166299819946, 0.06400542706251144, -0.9069136381149292, 0.16109474003314972, 0.5252757668495178, 0.7473270893096924, -1.0044548511505127, 0.30581462383270264, 0.8512165546417236, -0.10356150567531586, -0.715655505657196, -0.1440129578113556, 0.18202896416187286, -0.6731687188148499, 0.6576592326164246, 0.8561881184577942, -0.03344332054257393, -0.04548129066824913, -0.23625685274600983, -0.5968335270881653, 0.9186269044876099, 0.32998353242874146, -0.4986465871334076, 0.2651488482952118, -0.26963722705841064, 0.5219475626945496, -0.5631979703903198, 0.9964060187339783, 0.7329433560371399, 0.6306201815605164, -0.45394212007522583, -0.6592432260513306, 0.1618800312280655, -0.7832251787185669, -0.3431706130504608, 0.13083547353744507, -1.0007685422897339, 0.8338260054588318, -0.3156542181968689, -0.2831917703151703, 0.056428421288728714, 0.48637887835502625, 0.21943381428718567, 0.4999220669269562, 0.3883596956729889, 0.8848674297332764, 1.0791294574737549, -0.26036614179611206, 0.8305016756057739, -0.44844284653663635, 0.4329913556575775, 0.7298761010169983, -0.8383376002311707, 1.2822798490524292, 0.1092299148440361, -0.1997067630290985, 0.26711660623550415, 0.8337005376815796, -0.2001248151063919, 0.17228391766548157, 0.2941645681858063, -0.07176776975393295, -0.3556000888347626, -0.3492400050163269, -0.3312869668006897, 0.48716312646865845, 0.5524758696556091, -0.30633366107940674, 0.24929659068584442, 0.052985381335020065, 0.06958209723234177, -0.23152437806129456, -0.1961023509502411, 0.47882381081581116, 0.22893263399600983, -0.3963042199611664, 0.42499589920043945, -0.15504127740859985, 0.6016045212745667, -0.2802101671695709, 0.2888634502887726, -0.231668159365654, 0.40450519323349, -0.19355817139148712, -0.6993237137794495, -0.06886719167232513, 0.5857358574867249, 0.2479030042886734, 0.017682913690805435, 0.31702521443367004, -0.11755366623401642, -0.40029376745224, 0.695290207862854, 0.6583519577980042, 0.32683345675468445, 0.08281400799751282, -0.7772930860519409, 0.2527656853199005, -0.02410714514553547, -0.7039300203323364, 0.0644034594297409, 0.9406631588935852, 0.6260337829589844, 0.9038151502609253, 0.352066308259964, -0.20862847566604614, -0.004432424437254667, 0.0768011063337326, 0.6704499125480652, -0.9381130337715149, -0.371823787689209, -0.9624278545379639, 0.28532761335372925, -0.15074847638607025, -0.5849704146385193, 0.6748442053794861, 0.4401859939098358, 0.5244688987731934, 0.17672263085842133, 0.6980748772621155, -0.1806851029396057, 0.444282591342926, -0.09568055719137192, 0.7136180400848389, -0.9171174168586731, -0.1819753497838974, -0.4160977303981781, -0.8645321726799011, -0.12170110642910004, 0.8585350513458252, -0.47963857650756836, 0.15455278754234314, 0.8032875061035156, 0.7728039026260376, 0.28107360005378723, 0.2988013029098511, 0.5368061065673828, 0.4686492681503296, 0.16065391898155212, 1.0241833925247192, 1.2584879398345947, -0.1848871409893036, 0.5185835957527161, -0.3263168931007385, -0.4305417835712433, -0.6648986339569092, -0.9206671118736267, -1.0016781091690063, -0.22333675622940063, -0.22224968671798706, -0.07253638654947281, 0.19793958961963654, 1.283181071281433, 0.48099949955940247, -0.5564579367637634, -0.3224567770957947, 0.327789843082428, -0.19061245024204254, -0.20699448883533478, -0.09611836075782776, 0.3237031400203705, -0.034308187663555145, -0.8209287524223328, -0.025386624038219452, 0.5069852471351624, -0.2347700148820877, -0.08664056658744812, -0.27995380759239197, 0.09162735193967819, 0.31377676129341125, 0.46253305673599243, 0.3698333501815796, -0.7248967289924622, -0.1341128647327423, 0.2714807391166687, -0.25971850752830505, -0.19334577023983002, 0.6026402711868286, -0.1451396495103836, 0.4652373492717743, 0.40708667039871216, 0.8473180532455444, 0.16475293040275574, -0.12096288800239563, 0.6935100555419922, -0.1850183606147766, 0.1624293029308319, 0.4100918769836426, 0.6537114977836609, 0.2934046983718872, 0.00135290517937392, 0.7039535641670227, -0.21006597578525543, -0.6968153715133667, -0.9846944808959961, -0.011207341216504574, -0.6455697417259216, 0.0032762906048446894, 0.8970713019371033, -0.5430054068565369, -0.5023428797721863, 0.12803266942501068, -0.16510459780693054, 0.31084075570106506, -0.5679227113723755, 0.7002706527709961, 0.8034550547599792, -0.14626270532608032, -0.4807118773460388, -0.5355063676834106, -0.02859589084982872, 0.8698403835296631, -0.8752173781394958, 0.35611391067504883, 0.4071061313152313, -0.26346954703330994, -0.13719096779823303, 0.28426530957221985, 0.27199259400367737, 0.32593807578086853, 0.14455898106098175, 0.433450847864151, 0.1590123176574707, -0.11564946174621582, -0.3929153382778168, 0.21300174295902252, 0.14989709854125977, 0.27236706018447876 ]
http://arxiv.org/abs/2402.12065v2
http://arxiv.org/pdf/2402.12065v2
WKVQuant: Quantizing Weight and Key/Value Cache for Large Language Models Gains More
2024-02-19T11:33:21
2024-02-20T08:48:24
Yuxuan Yue, Zhihang Yuan, Haojie Duanmu, Sifan Zhou, Jianlong Wu, Liqiang Nie
cs.LG
cs.LG, cs.AI, cs.CL
Large Language Models (LLMs) face significant deployment challenges due to their substantial memory requirements and the computational demands of auto-regressive text generation process. This paper addresses these challenges by focusing on the quantization of LLMs, a technique that reduces memory consumption by converting model parameters and activations into low-bit integers. We critically analyze the existing quantization approaches, identifying their limitations in balancing the accuracy and efficiency of the quantized LLMs. To advance beyond these limitations, we propose WKVQuant, a PTQ framework especially designed for quantizing weights and the key/value (KV) cache of LLMs. Specifically, we incorporates past-only quantization to improve the computation of attention. Additionally, we introduce two-dimensional quantization strategy to handle the distribution of KV cache, along with a cross-block reconstruction regularization for parameter optimization. Experiments show that WKVQuant achieves almost comparable memory savings to weight-activation quantization, while also approaching the performance of weight-only quantization.
[ -0.06215449795126915, -0.4301626980304718, 0.4951431155204773, 0.1977563202381134, -0.47560107707977295, 0.019719673320651054, -0.15705035626888275, -0.033116184175014496, -0.22886821627616882, 0.4247184693813324, -0.23113659024238586, -0.40095430612564087, -0.5139217972755432, -0.30731913447380066, -0.2497047781944275, 0.6436825394630432, -0.011336668394505978, 0.030341750010848045, -0.506783664226532, -0.1546856015920639, -0.3505280315876007, -0.5805933475494385, -0.7006208300590515, -0.22647543251514435, 0.4325798451900482, 0.1951562464237213, 0.7010927200317383, 0.573429524898529, 0.32601305842399597, 0.22485962510108948, -0.04635694995522499, -0.29531630873680115, -0.5570769309997559, 0.4281911849975586, 0.24643445014953613, -0.6220652461051941, -0.40232473611831665, -0.2802771329879761, 0.7963188886642456, 0.6164280772209167, -0.2419307380914688, 0.2739235460758209, -0.21955618262290955, 0.9885682463645935, -1.2105247974395752, 0.19246406853199005, -0.4698309302330017, 0.12725955247879028, -0.13455823063850403, -0.03087041899561882, -0.25508633255958557, -0.36941346526145935, 0.20588237047195435, -0.5805404782295227, -0.09773822873830795, -0.10917370766401291, 0.5284938812255859, 0.4933488368988037, -0.6026222109794617, 0.10089025646448135, -0.7403995394706726, 1.0451172590255737, -0.9739335775375366, 0.6529360413551331, 0.5061625242233276, 0.002524860668927431, 0.02350841648876667, -0.7410345673561096, -0.41445192694664, -0.19508805871009827, 0.4418797791004181, 0.10784374922513962, -0.16134320199489594, 0.11385621875524521, 0.2605537176132202, 0.4221753180027008, -0.6298658847808838, -0.09797404706478119, -0.17722809314727783, -0.2883540093898773, 0.3745483160018921, 0.142618790268898, -0.17631535232067108, -0.005883757956326008, -0.07951747626066208, -0.39493492245674133, -0.8379005789756775, 0.1690206676721573, 0.3206120729446411, -0.04980781301856041, 0.21364419162273407, 0.6438860297203064, -0.5509938597679138, 0.5848591923713684, 0.0537012442946434, -0.3347072899341583, -0.010927476920187473, -0.21217027306556702, -0.3556385338306427, 0.05268065631389618, 0.8547303676605225, 0.20631839334964752, 0.1906006634235382, -0.10072186589241028, -0.18002179265022278, -0.15937086939811707, 0.17154061794281006, -1.2024903297424316, -0.45794621109962463, 0.2545526921749115, -0.5700070858001709, -0.29285305738449097, -0.38391807675361633, -0.35995784401893616, -0.15484872460365295, -0.14631031453609467, 0.5520899891853333, -0.4628443121910095, -0.2768407464027405, 0.17443467676639557, -0.03707147762179375, 0.15334737300872803, 0.275939017534256, -0.7404693961143494, 0.08729801326990128, 0.5439790487289429, 0.627661943435669, 0.045210354030132294, 0.17267361283302307, -0.5356349349021912, 0.22013550996780396, -0.3517265319824219, 0.39215293526649475, -0.3756875991821289, -0.2774654030799866, -0.0009402667637914419, -0.28843873739242554, 0.43357598781585693, -0.2900354266166687, 0.31470558047294617, -0.8680163621902466, -0.07947035133838654, -0.4423532783985138, -0.49222680926322937, 0.05456066131591797, 0.2019936591386795, -0.8023748397827148, 1.2267621755599976, 0.1896941363811493, -0.7420700192451477, 0.20998059213161469, -0.051188092678785324, -0.4945313036441803, 0.1846439093351364, 0.2147270143032074, -0.5845901966094971, 0.5317952632904053, 0.008433008566498756, 0.19974473118782043, -0.5027430057525635, 0.1306595802307129, -0.2857138514518738, -0.311277836561203, 0.23907515406608582, -0.5849339962005615, 0.5455821752548218, 0.2886413335800171, -0.1365661919116974, -0.1044296994805336, -0.7861237525939941, 0.3509068191051483, 0.16172392666339874, -0.42012956738471985, -0.7670356631278992, 0.3135729134082794, -0.1341884881258011, 0.15650798380374908, 0.5199078321456909, -0.3045651912689209, 0.3416789174079895, -0.473367303609848, 0.5938816666603088, 0.4828238785266876, -0.06407521665096283, 0.5286621451377869, 0.011686176992952824, 0.5759173631668091, -0.006671286653727293, 0.2180316001176834, -0.0954967811703682, -0.35995492339134216, -0.8923384547233582, -0.19761349260807037, 0.46632131934165955, 0.36304381489753723, -0.8094697594642639, 0.2731356620788574, -0.4491601884365082, -0.308113694190979, -0.5367564558982849, -0.07077771425247192, 0.5068018436431885, 0.1635386347770691, 0.07832233607769012, -0.21484273672103882, -0.40091750025749207, -0.8430526256561279, -0.07244925200939178, -0.41822418570518494, -0.20474104583263397, 0.13271917402744293, 0.2104647308588028, 0.06518009305000305, 1.0115854740142822, -0.5102631449699402, 0.07338128238916397, 0.17534057796001434, 0.37104591727256775, -0.21265850961208344, 0.4309055507183075, 0.047361429780721664, -0.8490371704101562, -0.6285803914070129, -0.06889944523572922, -0.15669526159763336, -0.33523282408714294, 0.15939952433109283, 0.005281312856823206, 0.3655085563659668, 0.5640382170677185, -0.6970880627632141, 0.3011295795440674, 0.709322988986969, 0.015025709755718708, 0.44421300292015076, -0.1462995409965515, 0.13972586393356323, -1.0562857389450073, 0.23140613734722137, -0.29320910573005676, -0.42573463916778564, -0.3145498037338257, -0.09068979322910309, 0.4042397141456604, -0.09627664089202881, -0.44868335127830505, 0.5404741764068604, -0.35863131284713745, -0.1294415444135666, -0.35332387685775757, 0.0852397233247757, 0.23874343931674957, 0.4604048728942871, -0.09351517260074615, 0.7220911979675293, 0.2656742036342621, -0.5028871893882751, 0.5214994549751282, -0.07213868945837021, -0.13673143088817596, 0.6934608221054077, -0.5772261023521423, 0.0854806900024414, -0.14656662940979004, 0.19516901671886444, -1.0786964893341064, 0.208674818277359, -0.05825674161314964, -0.37690269947052, 0.28406810760498047, -0.43156179785728455, -0.8563600182533264, -0.3050616681575775, -0.5540090799331665, 0.8578425645828247, 0.6802698969841003, -0.14389576017856598, 0.3423210680484772, 0.3205093443393707, -0.10015104711055756, -0.4737218916416168, -0.5386093258857727, -0.012433917261660099, -0.1415654420852661, -0.48835909366607666, 0.36526116728782654, -0.10668991506099701, -0.13433174788951874, 0.08772385120391846, -0.31258171796798706, -0.09678640961647034, -0.056818731129169464, 0.030936207622289658, -0.043098971247673035, -0.3072836995124817, 0.47401294112205505, 0.15996114909648895, -0.2319761961698532, 0.03517899662256241, -0.8680185079574585, 0.5846408605575562, -0.0582050159573555, -0.22000521421432495, -0.1891866773366928, 0.3769235908985138, 0.631110429763794, -0.5134090185165405, 0.6931361556053162, 0.6454757452011108, -0.3606216311454773, -0.08319873362779617, -0.6409682631492615, 0.027988389134407043, -0.47617682814598083, 0.6638339757919312, -0.36473849415779114, -1.1243808269500732, 0.4185839295387268, -0.17867448925971985, -0.09319280087947845, 0.4060477018356323, 0.9263532757759094, -0.04626177251338959, 1.2840512990951538, 0.5449817776679993, -0.14083245396614075, 0.49308446049690247, -0.10767125338315964, 0.31089645624160767, -0.8985528945922852, -0.03437700867652893, -0.39919230341911316, -0.2688475549221039, -0.4721534550189972, -0.5265958905220032, 0.4327505826950073, 0.38838958740234375, -0.24219335615634918, 0.09078377485275269, -0.3929955065250397, 0.3784118592739105, 0.4934782385826111, -0.16821493208408356, 0.35735389590263367, -0.035659536719322205, -0.04046342894434929, -0.3094389736652374, -0.6100702285766602, -0.08896361291408539, 1.1605089902877808, 0.21767853200435638, 0.9901854991912842, 0.10556977242231369, 0.3779142498970032, 0.12342311441898346, 0.23874105513095856, -1.1010619401931763, 0.41172337532043457, -0.1754535585641861, -0.2609086036682129, -0.5401043891906738, -0.731120765209198, -0.8596625328063965, 0.4103944003582001, 0.061584439128637314, -0.5627155303955078, -0.04809493198990822, 0.2048066109418869, -0.434839129447937, 0.10346584022045135, -0.6351786255836487, 0.8821490406990051, -0.13519391417503357, -0.3121689558029175, -0.2825089693069458, -0.4983941316604614, 0.4805201292037964, -0.19307398796081543, -0.071881502866745, -0.04720800742506981, -0.3853091597557068, 0.6778200268745422, -0.5483963489532471, 0.7191258072853088, -0.09879416227340698, -0.5344765782356262, 0.2414388209581375, 0.13429296016693115, 0.937828779220581, 0.09654296934604645, 0.23773284256458282, -0.18032997846603394, 0.3005150258541107, -0.4368508458137512, -0.5615372657775879, 0.7903534173965454, -0.6710714101791382, -0.36549293994903564, -0.22012309730052948, -0.8106133341789246, -0.3876326084136963, 0.20498062670230865, 0.1408235728740692, 0.2509911060333252, -0.0382123664021492, 0.38875487446784973, 1.1520265340805054, -0.30183708667755127, 0.4142594039440155, 0.5905928015708923, 0.09706182777881622, -0.5967737436294556, 0.9152774810791016, 0.17683133482933044, 0.5573845505714417, 0.7862746715545654, 0.3500240445137024, -0.27835339307785034, -0.5179448127746582, 0.007247273810207844, 0.18222084641456604, -0.7078763246536255, -0.5443403720855713, -0.7342149019241333, -0.1587066352367401, -0.47640472650527954, 0.2267218828201294, -0.8220142126083374, -0.8327925205230713, -0.13153398036956787, 0.3146905303001404, 0.5008877515792847, 0.09441723674535751, 0.0987425222992897, 0.5573282241821289, -0.8742102384567261, 0.28760257363319397, 0.5560973882675171, 0.25448185205459595, 0.21099399030208588, -0.38251885771751404, -0.7145548462867737, 0.036007367074489594, -0.4061414897441864, -0.5407649874687195, 0.5042731761932373, 0.16450084745883942, 0.049894705414772034, 0.3056373596191406, 0.33227020502090454, 0.7234761118888855, -0.5307137370109558, 0.6465067267417908, -0.005689927842468023, -1.0943607091903687, 0.2584759294986725, -0.0677303597331047, 0.6879094839096069, 0.45248523354530334, 0.23473848402500153, -0.8240495920181274, -0.4142017662525177, -0.5226495862007141, -1.1409494876861572, 0.5109338164329529, 0.191002756357193, 0.12212231755256653, 0.1824537068605423, 0.5350069403648376, -0.39771950244903564, 0.4553307890892029, -0.7427466511726379, -0.13028788566589355, -0.13336098194122314, -0.38163238763809204, 0.3208756148815155, -0.45776063203811646, 0.16793951392173767, -0.015928413718938828, 0.603828489780426, -0.18528251349925995, 0.1645750105381012, -0.014506232924759388, -0.3172937035560608, -0.4083079397678375, 0.19532838463783264, 0.6265133023262024, 0.45585402846336365, -0.1454097479581833, 0.20830506086349487, 0.16241666674613953, -0.6282956600189209, 0.1660218983888626, -0.11043905466794968, -0.17099754512310028, -0.2572758197784424, 0.16887755692005157, 0.6680267453193665, 0.35443469882011414, -0.7643227577209473, 0.6939479112625122, -0.11655716598033905, -0.07532700896263123, -0.20054876804351807, -0.15986497700214386, 0.2425183355808258, 0.38249868154525757, 0.48885679244995117, -0.49458879232406616, 0.06700772047042847, -0.12643253803253174, 0.14696581661701202, 0.7711538672447205, -0.2523464560508728, -0.3672480881214142, 0.6475808024406433, 0.02409548871219158, -0.03486495465040207, 0.616396427154541, -0.17377182841300964, -0.5246173143386841, 0.5481516122817993, 0.3782452940940857, 0.9771630167961121, -0.341277152299881, -0.02473464421927929, 0.3022620379924774, 0.313191294670105, -0.14456172287464142, 0.31004956364631653, -0.27581164240837097, -0.4672289490699768, -0.9016864895820618, -0.7086257338523865, -0.23473700881004333, 0.34298527240753174, -0.6260712742805481, 0.03145281597971916, -0.2542972266674042, -0.348103404045105, -0.4431733787059784, 0.1968383938074112, -0.38341420888900757, 0.11890644580125809, 0.17176195979118347, 0.5175837278366089, -0.5878540277481079, 1.2243653535842896, 0.2592661380767822, -0.01986866630613804, -0.47347384691238403, -0.002623244421556592, -0.2873168885707855, -0.6961395740509033, 0.7898321151733398, -0.2769767940044403, 0.20417550206184387, 0.4159447252750397, -0.47810521721839905, -1.151917815208435, 1.1113983392715454, 0.29453131556510925, -0.7463045716285706, -0.08048554509878159, 0.30336299538612366, 0.3965720534324646, 0.15284287929534912, -0.022847026586532593, 0.4285111129283905, 0.4509427547454834, 0.2867453694343567, -0.8022404313087463, 0.11784372478723526, 0.031517285853624344, 0.4537486732006073, 0.6603015065193176, -0.7240942716598511, 0.8801459074020386, 0.04328138753771782, -0.20242473483085632, 0.2121170163154602, 0.6635167598724365, 0.3253591060638428, -0.2715919017791748, 0.33710718154907227, 0.8873661160469055, 0.46860039234161377, 0.05904817581176758, 0.9625133872032166, -0.33062633872032166, 0.5362419486045837, 0.7535769939422607, -0.30828312039375305, 0.9093638062477112, 0.7106304168701172, -0.47556689381599426, -0.08465025573968887, 0.5260569453239441, 0.15569503605365753, 0.7258692383766174, 0.5249059200286865, -0.36366578936576843, -0.25068727135658264, 0.028723785653710365, -0.23208239674568176, 0.0008473070920445025, 0.2498149275779724, 0.04322608932852745, -0.11180076003074646, 0.12548084557056427, 0.00984202791005373, -0.5768557190895081, -0.23652711510658264, 0.6744159460067749, 0.2209911048412323, -0.5050632953643799, 0.7873550057411194, 0.21730898320674896, 0.46068239212036133, -0.7425788044929504, 0.0644216313958168, -0.19060739874839783, 0.2889269292354584, 0.12767931818962097, -0.2895660996437073, 0.02140706405043602, -0.2943888306617737, -0.4146895110607147, -0.32656168937683105, 0.4104037880897522, -0.6927127838134766, -0.605685293674469, -0.1283850371837616, 0.29774561524391174, -0.22325710952281952, -0.43982285261154175, -0.42993319034576416, 0.25144898891448975, -0.16351787745952606, -0.5212076902389526, 0.5558420419692993, 0.9335472583770752, -0.3272930681705475, 0.759369969367981, 0.6277801394462585, 0.23299627006053925, 0.2536032199859619, -0.000017506736185168847, 0.7527179718017578, -0.6045781373977661, -0.4008607268333435, -0.8423903584480286, 0.41806402802467346, 0.41259288787841797, -0.15735375881195068, 0.5994908213615417, 0.620526134967804, 0.5838780403137207, 0.0355546697974205, 0.6629218459129333, 0.0806160718202591, 0.027582647278904915, -0.6738842725753784, 0.7566383481025696, -0.6550256609916687, 0.17158785462379456, -0.12409587949514389, -0.9684279561042786, -0.2646350562572479, 0.5952639579772949, 0.0002240468456875533, -0.05219535529613495, 0.7650294303894043, 0.5589851140975952, 0.17029348015785217, -0.5467554330825806, 0.48920953273773193, 0.24578578770160675, 0.43577009439468384, 0.8511773347854614, 0.8130238652229309, -0.6580659747123718, 0.8282860517501831, -0.23312507569789886, -0.15878620743751526, -0.24963977932929993, -1.0154637098312378, -0.7208237051963806, -0.7012820243835449, -0.4898376762866974, -0.2392343282699585, -0.019518841058015823, 0.5224645733833313, 0.8585151433944702, -0.5533779859542847, -0.26412394642829895, -0.17028509080410004, 0.010368216782808304, 0.015360766090452671, -0.25955820083618164, 0.5600404739379883, -0.4400809407234192, -0.6854342818260193, 0.06364447623491287, 0.3829152584075928, 0.1395200490951538, -0.6283038854598999, -0.19718500971794128, 0.21460509300231934, 0.179905965924263, 0.8381984829902649, 0.1830630600452423, -0.6311931014060974, -0.03300844505429268, 0.06950247287750244, -0.36049529910087585, -0.015753572806715965, 1.0528334379196167, -0.941253125667572, 0.40526968240737915, 0.7251308560371399, 0.7140958905220032, 0.8543869256973267, -0.17203764617443085, 0.7039305567741394, -0.851999044418335, 0.4097873568534851, 0.4581897556781769, 0.03498381748795509, 0.22328299283981323, -0.2617233991622925, 0.052046921104192734, 0.2583277225494385, -0.4949173629283905, -0.8723963499069214, 0.20550499856472015, -0.849265456199646, -0.2523477077484131, 1.0510101318359375, 0.10150493681430817, -0.37433651089668274, 0.05501537024974823, -0.025415237993001938, 0.17302611470222473, -0.4038602113723755, 0.7131885290145874, 0.8602666258811951, 0.3159931004047394, -0.5901201963424683, -0.7169607281684875, 0.655433714389801, 0.5041027069091797, -0.5907207727432251, 0.2646030783653259, 0.4241301715373993, 0.0758582353591919, -0.09363607317209244, 0.5683914422988892, -0.18607263267040253, 0.17632639408111572, -0.22308248281478882, 0.3284291625022888, 0.09897313266992569, 0.03639693558216095, -0.2247055172920227, -0.06725156307220459, 0.19856669008731842, -0.018626028671860695 ]
http://arxiv.org/abs/2402.12061v2
http://arxiv.org/pdf/2402.12061v2
All Language Models Large and Small
2024-02-19T11:28:20
2024-06-05T15:08:28
Zhixun Chen, Yali Du, David Mguni
cs.LG
cs.LG, cs.AI, cs.CL
Many leading language models (LMs) use high-intensity computational resources both during training and execution. This poses the challenge of lowering resource costs for deployment and faster execution of decision-making tasks among others. We introduce a novel plug-and-play LM framework named Language Optimising Network Distribution (LONDI) framework. LONDI learns to selectively employ large LMs only where complex decision-making and reasoning are required while using low-resource LMs (i.e. LMs require less GPU usage, but may not be able to solve the problem alone) everywhere else. LONDI consists of a system of two (off-)policy networks, an LM, a large LM (LLM), and a reinforcement learning module that uses switching controls to quickly learn which system states to call the LLM. We then introduce a variant of LONDI that maintains budget constraints on LLM calls and hence its resource usage. Theoretically, we prove LONDI learns the subset of system states to activate the LLM required to solve the task. We then prove that LONDI converges to optimal solutions while also preserving budgetary constraints on LLM calls almost surely enabling it to solve various tasks while significantly lowering computational costs. We test LONDI's performance in a range of tasks in ScienceWorld and BabyAI-Text and demonstrate that LONDI can solve tasks only solvable by resource-intensive LLMs while reducing GPU usage by up to 30%.
[ -0.42378056049346924, -0.6864511370658875, 0.4131503105163574, 0.43178489804267883, 0.027143988758325577, -0.03273828700184822, -0.39417168498039246, -0.1288418471813202, 0.19919948279857635, 0.8357650637626648, -0.5709501504898071, -0.16591353714466095, -0.19126178324222565, -0.07489559054374695, -0.24746619164943695, 0.8222935795783997, 0.02099638618528843, -0.26952388882637024, -0.09478304535150528, -0.16899248957633972, -0.0952439084649086, -0.08682812750339508, -1.1495869159698486, -0.6359851956367493, 0.6620863676071167, 0.22346356511116028, 0.7592538595199585, 0.7554929852485657, 0.45267412066459656, 0.29487907886505127, -0.42347222566604614, 0.4701477289199829, -0.7037186026573181, -0.22078001499176025, -0.3579707741737366, -0.5822758078575134, -0.21895095705986023, -0.30407559871673584, 0.6212766766548157, 0.7071771025657654, -0.6005250811576843, 0.06521252542734146, -0.1180391013622284, 0.7128965258598328, -0.9291549324989319, 0.20981194078922272, -0.5874600410461426, 0.1955799162387848, -0.05938726291060448, -0.03673999011516571, -0.6588119864463806, -0.07222477346658707, -0.05459956079721451, -0.673389196395874, -0.1508636474609375, 0.09124169498682022, 0.7424682974815369, 0.45429015159606934, -0.2424190491437912, -0.1791679412126541, -0.8740102648735046, 0.8075416684150696, -0.4285801947116852, 0.18953952193260193, 0.14402203261852264, 0.2632995843887329, -0.12137430161237717, -0.4879986047744751, -0.5673500299453735, 0.01902877911925316, 0.05606614425778389, -0.020904971286654472, -0.3208431005477905, 0.07240424305200577, 0.2653564214706421, 0.11810231953859329, -0.34665611386299133, 0.4343529939651489, -0.3357752561569214, 0.06081359088420868, 0.3752996325492859, 0.1774490773677826, 0.0965830534696579, -0.12417400628328323, -0.32194405794143677, 0.026259416714310646, -0.8853617906570435, -0.044900018721818924, 0.26114797592163086, 0.5242632031440735, -0.11498723179101944, 0.3414786756038666, 0.13110247254371643, 0.6421731114387512, -0.31273403763771057, -0.446677029132843, 0.18131807446479797, 0.03677381947636604, -0.5413978695869446, -0.08477029949426651, 1.0060991048812866, -0.19399620592594147, 0.08784788101911545, 0.14518015086650848, -0.3054763078689575, -0.023156745359301567, 0.0856608971953392, -0.6595683097839355, -0.000987323233857751, -0.052501317113637924, -0.2998834252357483, -0.5137797594070435, -0.7031832337379456, -0.5545070171356201, -0.5092918276786804, -0.043964684009552, 0.29590949416160583, -0.21870122849941254, -0.35656553506851196, 0.17694206535816193, 0.23810029029846191, -0.08740835636854172, 0.18435686826705933, -0.9881801009178162, 0.5141726732254028, 0.5445384979248047, 0.9928520321846008, -0.308685839176178, -0.18502561748027802, -0.6156379580497742, 0.11878380179405212, -0.5075007081031799, 0.567939043045044, -0.20134581625461578, -0.45299166440963745, 0.0012490764493122697, 0.0669410452246666, -0.12492246925830841, -0.6819033026695251, 0.09429238736629486, -0.6424084305763245, 0.042242344468832016, -0.13616123795509338, -0.16842350363731384, 0.19042490422725677, 0.08027102053165436, -0.8948782086372375, 0.8879424333572388, 0.19805774092674255, -0.6237924695014954, 0.09867947548627853, -0.9665547013282776, -0.5376536846160889, -0.08360739797353745, -0.08909241855144501, -0.43760257959365845, -0.18735088407993317, -0.12636303901672363, 0.25891318917274475, -0.5572146773338318, 0.048260439187288284, -0.21382078528404236, -0.253346711397171, 0.02750280871987343, -0.35508960485458374, 0.8780496716499329, 0.46705806255340576, -0.4300265908241272, 0.12698622047901154, -0.5712100863456726, 0.011195157654583454, 0.3429298400878906, -0.6458152532577515, -0.11439065635204315, 0.2716946601867676, 0.07911406457424164, 0.07173556834459305, 0.12765666842460632, -0.3411109149456024, 0.28067201375961304, -0.48914143443107605, 0.7362720370292664, 0.772132396697998, -0.28987476229667664, 0.7880386710166931, -0.015178539790213108, 0.631238579750061, -0.05250873416662216, 0.28737857937812805, 0.15616026520729065, -0.3168310225009918, -0.8449868559837341, -0.3553808927536011, 0.12363279610872269, 0.7232222557067871, -0.8981385827064514, -0.004088841378688812, -0.060868021100759506, -0.2176135629415512, -0.36997538805007935, 0.40328314900398254, 0.4878523647785187, 0.14987531304359436, 0.11956918984651566, 0.0776456743478775, -0.38604411482810974, -0.997929573059082, 0.2883705496788025, -0.3141200840473175, 0.33688294887542725, 0.5484396815299988, 0.3810798227787018, -0.24079062044620514, 0.9350534081459045, -0.7206289172172546, -0.21722713112831116, -0.6760502457618713, -0.2560310363769531, 0.44927290081977844, 0.10820610821247101, 0.45696553587913513, -0.7668437957763672, -0.37456977367401123, 0.2865074872970581, -0.5474944114685059, -0.1856539100408554, -0.10818509012460709, -0.08414296060800552, 0.543468713760376, 0.5087600350379944, -0.6242580413818359, 0.08631764352321625, 0.7209223508834839, -0.10172736644744873, 0.5114498138427734, -0.43397587537765503, -0.5022546052932739, -0.9831735491752625, 0.07530317455530167, -0.1773432344198227, -0.2377728521823883, -0.31222817301750183, 0.24226683378219604, -0.1401163935661316, -0.43980497121810913, -0.5420405864715576, 0.6228650808334351, -0.3160721957683563, -0.19030208885669708, -0.14299096167087555, 0.3343357741832733, 0.18814800679683685, 0.5767605900764465, -0.1072637140750885, 0.9419533014297485, 0.30074745416641235, -0.6560794115066528, 0.4494217038154602, 0.09981989115476608, -0.38161444664001465, 0.27418190240859985, -0.5551920533180237, -0.34009304642677307, -0.15677082538604736, 0.11613196134567261, -0.5121408104896545, 0.01673245243728161, 0.07563085854053497, 0.23852664232254028, 0.13843631744384766, 0.0041536069475114346, -0.47099289298057556, -0.27924421429634094, 0.18292643129825592, 0.1784803569316864, 0.688184380531311, -0.7137935757637024, 0.5390216112136841, 0.495831161737442, 0.21726292371749878, -0.7033064961433411, -0.7724125385284424, -0.16236896812915802, -0.18453778326511383, -0.3638114631175995, 0.2545699179172516, -0.10838142037391663, -0.35860171914100647, 0.14262966811656952, 0.2249235212802887, -0.08555516600608826, 0.22303898632526398, 0.09667619317770004, 0.07902351021766663, -0.2904388904571533, 0.31643396615982056, -0.3215079605579376, -0.02710200846195221, 0.07995052635669708, -0.560699462890625, 0.6402541399002075, -0.20233741402626038, -0.5022770762443542, -0.06598930060863495, 0.2141389548778534, 0.42713385820388794, -0.09967188537120819, 0.9148091077804565, 0.5487390756607056, -0.047284599393606186, -0.8247520327568054, -0.22376221418380737, 0.13767458498477936, -0.49711498618125916, 0.6970465183258057, -0.28944265842437744, -0.6980176568031311, 0.3497081995010376, -0.1754741221666336, 0.2583722472190857, 0.1560533344745636, 0.46760469675064087, -0.01945810765028, 0.8287043571472168, 0.7121385931968689, -0.424140989780426, 0.6153246164321899, -0.5945949554443359, 0.5117465853691101, -0.5435263514518738, 0.028174251317977905, -0.21967312693595886, -0.25513213872909546, -0.7097706198692322, -0.6345784068107605, 0.411894291639328, 0.1758405566215515, -0.41471001505851746, 0.20957261323928833, -0.4552886188030243, 0.8785815238952637, 0.4869591295719147, 0.08807826787233353, 0.13238760828971863, 0.19495262205600739, -0.2408999502658844, 0.2910376191139221, -1.134250521659851, -0.20630037784576416, 0.7279099822044373, 0.2721174359321594, 0.7404084801673889, 0.4251958727836609, 0.7155670523643494, 0.2156887948513031, 0.2968813180923462, -0.7790369987487793, 0.7227272391319275, -0.40069854259490967, -0.44893327355384827, -0.535433292388916, -0.82879638671875, -0.8985897898674011, 0.17285789549350739, -0.1633143275976181, -0.6184098124504089, -0.06526839733123779, 0.20159399509429932, -0.3794806897640228, 0.7619261741638184, -0.6213063597679138, 0.6351422071456909, -0.11455266922712326, -0.5906690359115601, -0.32567471265792847, -0.07972550392150879, 0.35525432229042053, -0.047894928604364395, 0.5075975060462952, -0.0504131056368351, -0.1472192406654358, 0.5374090671539307, -0.45881325006484985, 0.7524932622909546, -0.12187059968709946, -0.22020676732063293, 0.39270734786987305, 0.15501663088798523, 0.5732547640800476, -0.018708446994423866, -0.1516079157590866, -0.25248509645462036, -0.30612912774086, -0.4627758860588074, -0.6249023079872131, 0.9318180680274963, -1.0697015523910522, -0.4814588725566864, -0.15234020352363586, -0.36784645915031433, -0.10511213541030884, 0.14720559120178223, 0.1574721783399582, 0.4014352262020111, -0.2950983941555023, -0.03460560739040375, 1.0324658155441284, -0.4817403256893158, 0.615959644317627, 0.3767527639865875, -0.6160879135131836, -0.34942156076431274, 1.0744047164916992, -0.03819507360458374, 0.6844130158424377, 0.4888487160205841, 0.3213145136833191, -0.045281097292900085, -0.2672075927257538, -0.5021528005599976, 0.2971411347389221, -0.9204325079917908, 0.04723235219717026, -0.4952094256877899, -0.47204160690307617, 0.10548704117536545, -0.15339402854442596, -0.6108946800231934, -0.29684701561927795, -0.2695613205432892, 0.03360975161194801, 0.2593469023704529, 0.7922304272651672, -0.18680638074874878, 0.6150444149971008, -0.16289682686328888, 0.0415339395403862, 0.3577169179916382, 0.490285187959671, -0.005377833265811205, -0.12442385405302048, -0.453472763299942, -0.1783948689699173, -0.2998979985713959, -0.45209354162216187, 0.37114471197128296, 0.291224867105484, 0.27449512481689453, 0.5858587622642517, -0.12453364580869675, 0.46789222955703735, -0.5558254718780518, 0.6506288051605225, 0.3957551419734955, -0.7658048868179321, 0.32829001545906067, -0.39360305666923523, 0.3416385054588318, 0.2078544944524765, 0.16718409955501556, -0.4327591061592102, 0.13575097918510437, -0.4763142764568329, -0.8360281586647034, 0.862375020980835, 0.09322729706764221, -0.05353850871324539, -0.14208343625068665, 0.05098036304116249, -0.3031308948993683, 0.08732351660728455, -0.7683656215667725, -0.22844481468200684, 0.22960682213306427, -0.016476519405841827, -0.2440025955438614, -0.08936768770217896, -0.23652000725269318, 0.07546471059322357, 0.8602086305618286, -0.313019335269928, 0.31884071230888367, -0.24440757930278778, 0.04081041365861893, 0.021237531676888466, 0.25390008091926575, 0.5857928991317749, 0.541923999786377, 0.01555756013840437, 0.07579491287469864, 0.2988061308860779, -0.18314339220523834, 0.23995757102966309, -0.35747143626213074, -0.35043618083000183, 0.0680835172533989, 0.2511923611164093, 1.2226150035858154, 0.44271591305732727, -0.8592104315757751, 0.4113762676715851, 0.07026468217372894, -0.19828233122825623, -0.4079151153564453, 0.3548634350299835, 0.5492538809776306, 0.3674006164073944, -0.059372782707214355, 0.13998332619667053, -0.2413714975118637, -0.39267852902412415, -0.2552438974380493, 0.4246634244918823, -0.2288282811641693, -0.015930963680148125, 0.304605633020401, 0.2534944713115692, -0.5079950094223022, 0.5207179188728333, -0.4794485569000244, -0.42897024750709534, 0.7277030348777771, 0.6878622770309448, 0.5980373024940491, 0.059291526675224304, 0.57940673828125, 0.044273655861616135, 0.2555820047855377, -0.33958253264427185, 0.40615683794021606, -0.002094476018100977, -0.8459742665290833, -0.6050562858581543, -0.7597425580024719, -0.5188823938369751, 0.19263599812984467, -0.3965495824813843, 0.3129776418209076, -0.7728578448295593, -0.21511287987232208, -0.1704455018043518, -0.03803171217441559, -0.6496607065200806, -0.06315542012453079, 0.192459836602211, 0.8972035050392151, -0.7312948107719421, 0.7427962422370911, 0.4695679545402527, -0.12863272428512573, -0.8528316020965576, -0.4954170286655426, 0.00144601846113801, -0.8278318047523499, 1.0053908824920654, -0.2485739290714264, -0.2540256381034851, 0.03203394636511803, -0.31411921977996826, -1.0316407680511475, 0.925164520740509, 0.57514888048172, -0.6098994016647339, -0.16368785500526428, 0.2168629914522171, 0.35237449407577515, -0.3786652386188507, 0.2836951017379761, 0.4745551347732544, 0.23737001419067383, 0.07462023943662643, -0.9836557507514954, -0.24739426374435425, -0.11857747286558151, 0.09308963268995285, 0.5884300470352173, -0.8088932633399963, 1.0337027311325073, -0.3842332065105438, -0.23020106554031372, -0.1883479356765747, 0.3168857991695404, 0.41154471039772034, 0.10352262109518051, 0.7221890687942505, 0.5883852243423462, 0.7480531334877014, 0.06228271871805191, 0.8749040365219116, -0.2107793241739273, 0.3829331398010254, 0.8505869507789612, -0.45182350277900696, 1.0113357305526733, 0.5565513372421265, -0.41362616419792175, 0.5616544485092163, 0.49379387497901917, 0.30132603645324707, 0.5874156951904297, 0.5472672581672668, -0.39775606989860535, -0.22530823945999146, -0.2811012864112854, -0.06240605190396309, 0.29774680733680725, 0.37864211201667786, -0.2711799740791321, -0.17641940712928772, 0.20719285309314728, 0.1480693370103836, -0.02434099093079567, -0.35707563161849976, 0.6929423809051514, 0.19596076011657715, -0.558158814907074, 0.9085490703582764, -0.01557327900081873, 0.4395444691181183, -0.747314453125, 0.305801123380661, -0.31200823187828064, 0.6307187676429749, -0.18806906044483185, -0.4715392291545868, 0.21323701739311218, -0.1717248111963272, -0.4159563481807709, -0.3636421263217926, 0.3379533290863037, -0.2938540577888489, -0.3746083974838257, 0.6160698533058167, 0.38134393095970154, 0.03432324156165123, 0.31352728605270386, -0.5681793689727783, 0.20166268944740295, 0.026999978348612785, -0.3967560827732086, 0.4885968863964081, 0.5201660990715027, -0.09377177804708481, 1.0500004291534424, 0.6004286408424377, 0.6894749402999878, -0.15238209068775177, 0.08507849276065826, 0.9254258871078491, -0.3500286042690277, -0.8157005310058594, -0.7618445158004761, -0.043585482984781265, -0.23725995421409607, -0.20268785953521729, 0.2341708242893219, 0.29957857728004456, 0.6687698364257812, 0.07640448957681656, 0.9118646383285522, 0.005464114248752594, 0.10030093789100647, -0.6594883799552917, 0.6427342295646667, -0.6297887563705444, 0.5064542889595032, -0.02687191218137741, -0.909451961517334, -0.00015322367835324258, 0.5980808734893799, -0.30465173721313477, -0.25169822573661804, 0.8195792436599731, 0.8604364395141602, -0.2764948904514313, -0.004877022001892328, 0.4055599868297577, 0.08192607760429382, 0.3066268265247345, 0.7252687811851501, 0.5368829369544983, -0.08165459334850311, 0.6065083146095276, -0.20318295061588287, -0.22638505697250366, -0.2464025914669037, -0.8221503496170044, -0.8890687823295593, -0.42156121134757996, -0.20373831689357758, -0.41452398896217346, 0.29438483715057373, 1.1499820947647095, 0.8803785443305969, -0.668432891368866, -0.6501713991165161, -0.16897377371788025, 0.31428900361061096, -0.19278323650360107, -0.2090899795293808, 0.259794682264328, -0.44429415464401245, -0.3921370804309845, 0.4273424446582794, 0.3110331594944, -0.39279627799987793, -0.6854652166366577, -0.3569755554199219, -0.1901017278432846, 0.17773014307022095, 0.6570794582366943, 0.3537144958972931, -0.5268886089324951, 0.08747724443674088, -0.057893697172403336, -0.32526832818984985, -0.10753133893013, 0.7745744585990906, -0.6852871775627136, 0.0861702412366867, 0.3708646595478058, 0.8974748849868774, 0.5490164160728455, -0.47848042845726013, 0.38496026396751404, -0.7332200407981873, 0.3170062005519867, 0.07830727100372314, 0.4159088432788849, 0.17712745070457458, -0.13857348263263702, 0.4587439298629761, 0.2323816865682602, -0.5446224808692932, -0.8580648303031921, 0.6216006875038147, -0.5897559523582458, -0.43226298689842224, 1.245908498764038, -0.10004378110170364, -0.5993272066116333, 0.1447153240442276, -0.03553585708141327, -0.12139036506414413, -0.3435913920402527, 0.5362544059753418, 0.372749924659729, 0.04307973384857178, -0.29285430908203125, -0.5705925226211548, 0.5709806680679321, 0.4826158881187439, -0.7109569907188416, -0.0037347599864006042, 0.11692365258932114, 0.2057938277721405, 0.37794744968414307, 0.622357964515686, 0.4708303213119507, -0.08036722242832184, -0.11883018910884857, 0.09510182589292526, -0.13804695010185242, -0.34692415595054626, 0.0010102808009833097, 0.2252029925584793, 0.04019443690776825, 0.06774614006280899 ]
http://arxiv.org/abs/2402.12058v1
http://arxiv.org/pdf/2402.12058v1
Scaffolding Coordinates to Promote Vision-Language Coordination in Large Multi-Modal Models
2024-02-19T11:23:53
2024-02-19T11:23:53
Xuanyu Lei, Zonghan Yang, Xinrui Chen, Peng Li, Yang Liu
cs.CV
cs.CV, cs.CL
State-of-the-art Large Multi-Modal Models (LMMs) have demonstrated exceptional capabilities in vision-language tasks. Despite their advanced functionalities, the performances of LMMs are still limited in challenging scenarios that require complex reasoning with multiple levels of visual information. Existing prompting techniques for LMMs focus on either improving textual reasoning or leveraging tools for image preprocessing, lacking a simple and general visual prompting scheme to promote vision-language coordination in LMMs. In this work, we propose Scaffold prompting that scaffolds coordinates to promote vision-language coordination. Specifically, Scaffold overlays a dot matrix within the image as visual information anchors and leverages multi-dimensional coordinates as textual positional references. Extensive experiments on a wide range of challenging vision-language tasks demonstrate the superiority of Scaffold over GPT-4V with the textual CoT prompting. Our code is released in https://github.com/leixy20/Scaffold.
[ -0.19158363342285156, -0.7886068224906921, 0.9643086791038513, 0.37977537512779236, -0.5079775452613831, -0.25567880272865295, -0.13446849584579468, -0.08552349358797073, 0.22413557767868042, 0.20747865736484528, -0.5182300209999084, -0.6801892518997192, -0.40093085169792175, -0.027622807770967484, -0.199960395693779, 0.7205528020858765, -0.22170338034629822, 0.2783282697200775, -0.5056222677230835, -0.13596315681934357, -0.4841840863227844, -0.35267895460128784, -0.25780701637268066, -0.17640627920627594, 1.0541510581970215, 0.5595230460166931, 0.6214135885238647, 0.692716658115387, 0.2651582360267639, 0.3419760465621948, 0.21404597163200378, 0.3101321756839752, -0.07534515112638474, 0.6341950297355652, -0.1880808025598526, -0.437528133392334, -0.4019251763820648, -0.17180387675762177, 0.6667765974998474, 0.7319263219833374, -0.28067803382873535, 0.17340189218521118, 0.11385489255189896, 0.7456826567649841, -0.7948718070983887, 0.39068132638931274, -0.3920511305332184, -0.23649387061595917, -0.2697954773902893, -0.5581294894218445, -0.37664616107940674, -0.28151842951774597, 0.10558868944644928, -0.7200011014938354, -0.05812736973166466, -0.008174045011401176, 0.8294957876205444, 0.3079962730407715, -0.44883063435554504, -0.03194661810994148, -0.23161722719669342, 0.5829579830169678, -0.16371209919452667, 0.5951699614524841, 0.5854551792144775, 0.4085312485694885, -0.07813846319913864, -0.5250060558319092, -0.5253039002418518, -0.16031698882579803, 0.21903474628925323, 0.21007202565670013, 0.08452912420034409, 0.15737086534500122, 0.42810121178627014, -0.321578711271286, -0.4465014338493347, -0.07591550052165985, -0.6337715983390808, -0.07473937422037125, 0.12333230674266815, 0.03722887858748436, 0.12758779525756836, -0.05548437312245369, -0.8604949116706848, -0.2449730634689331, -0.8190798759460449, 0.27368155121803284, 0.20676003396511078, 0.33467528223991394, -0.24555470049381256, 0.768034040927887, -0.3771442174911499, 0.9941026568412781, 0.2440960705280304, -0.04970363527536392, 0.4002818167209625, -0.37184709310531616, -0.27210551500320435, -0.13827094435691833, 0.3980121910572052, 0.9431276321411133, 0.27746355533599854, 0.2635354995727539, -0.09322311729192734, 0.3188629150390625, 0.2671293020248413, -0.6982640624046326, -0.2604658305644989, 0.2007836252450943, -0.4142133593559265, 0.006113843992352486, -0.2482302486896515, -0.6239640712738037, -0.435905784368515, -0.6097679734230042, 0.7018296122550964, -0.6325949430465698, 0.07418099045753479, 0.37110328674316406, -0.19476744532585144, 0.36807671189308167, 0.7278652787208557, -0.8687712550163269, -0.4499574601650238, 0.20507723093032837, 0.6294763088226318, -0.11957462131977081, -0.5472022891044617, -0.6812778115272522, 0.6883450150489807, -0.30134251713752747, 1.0053679943084717, -0.4799324572086334, -0.057754721492528915, 0.1865486353635788, 0.12711651623249054, -0.32411640882492065, 0.10133111476898193, 0.2919541597366333, -0.30096399784088135, 0.3683593273162842, -0.5947428941726685, 0.016741162165999413, -0.22102248668670654, 0.5638170838356018, -0.576860785484314, 0.8798296451568604, -0.13919763267040253, -0.6593648791313171, 0.43445903062820435, -0.5201242566108704, -0.266735702753067, 0.05905495211482048, -0.6267051696777344, -0.23582147061824799, -0.04535417631268501, 0.5267319679260254, 0.478301078081131, -0.09448599070310593, 0.12056898325681686, -0.1915382742881775, -0.25551968812942505, 0.005370332859456539, -0.24774158000946045, 0.30157992243766785, 0.0767999142408371, -0.12564067542552948, 0.5222172737121582, -0.4282064139842987, -0.012868770398199558, 0.10652942210435867, -0.2988640069961548, -0.21408911049365997, 0.04801252856850624, -0.25887399911880493, 0.30803969502449036, 0.3501850366592407, -0.07313986122608185, 0.4935401380062103, 0.06982991844415665, 0.054359957575798035, 0.8117331862449646, -0.11005400121212006, 0.7143060564994812, -0.10570719093084335, 0.6819552779197693, -0.04533056169748306, 0.26896753907203674, -0.7906838059425354, -0.6535802483558655, -0.8315533399581909, -0.3336843252182007, -0.1263137310743332, 0.4271443784236908, -1.553585171699524, -0.16888687014579773, -0.2687106728553772, -0.22873516380786896, -0.035842932760715485, -0.048662763088941574, 0.5924455523490906, 0.4884682297706604, 0.40274909138679504, -0.24841149151325226, -0.25850149989128113, -0.993980884552002, 0.14915962517261505, -0.17151109874248505, -0.04653901979327202, 0.014943975955247879, 0.27129262685775757, 0.18597380816936493, 0.7270681262016296, -0.30006179213523865, -0.36628079414367676, -0.06319703161716461, 0.05850644037127495, 0.034237515181303024, 0.4017833471298218, 0.759272038936615, -0.7911196351051331, -0.23408809304237366, -0.11373193562030792, -0.8359477519989014, -0.33549025654792786, -0.04097074642777443, -0.2739067077636719, 0.31423911452293396, 0.9759974479675293, -0.8686922192573547, 0.5782214999198914, 0.7457301616668701, -0.32829520106315613, 0.8520728945732117, -0.28874504566192627, 0.4624978303909302, -1.0195714235305786, 0.21586069464683533, -0.34546297788619995, 0.04461747780442238, -0.6166423559188843, 0.1560615450143814, 0.21440644562244415, -0.026148056611418724, -0.5707030296325684, 0.1547781527042389, -0.6272890567779541, 0.06933809071779251, -0.014575137756764889, 0.2625575065612793, 0.34781819581985474, 0.6245628595352173, -0.049941278994083405, 0.700893223285675, 0.8684871196746826, -0.3191241919994354, 0.29217565059661865, 0.25120770931243896, -0.21298491954803467, 1.1630972623825073, -0.710412859916687, -0.12524627149105072, -0.29768362641334534, 0.4223073422908783, -0.9912266731262207, -0.46026846766471863, 0.30704233050346375, -0.21839205920696259, 0.22283482551574707, -0.36033621430397034, -0.3777773976325989, -0.2706295847892761, -0.4479229152202606, 0.7436250448226929, -0.1901244968175888, -0.46030697226524353, 0.7717325687408447, 0.1471519023180008, -0.09773685038089752, -0.5720195174217224, -0.6443430185317993, 0.07095462083816528, -0.06773924082517624, -0.6836926937103271, 0.2247604876756668, -0.2533939480781555, 0.14756570756435394, -0.3282794654369354, -0.09312139451503754, 0.06761352717876434, -0.4382742643356323, 0.523206353187561, 0.5112345218658447, -0.1747279018163681, 0.25118640065193176, -0.04379653185606003, -0.3797738552093506, -0.10152440518140793, -0.4264833927154541, 0.5684041976928711, -0.1382523626089096, -0.8276251554489136, -0.43536654114723206, 0.5004271864891052, 0.7948481440544128, -0.43798238039016724, 0.469392329454422, 0.3023073673248291, -0.18377159535884857, 0.07200751453638077, -0.5847668647766113, -0.24531863629817963, -0.5040634870529175, 0.15054528415203094, -0.6150376200675964, -0.7464238405227661, 0.13513116538524628, -0.13264328241348267, -0.30343520641326904, -0.2321578860282898, 0.6108288764953613, -0.26114368438720703, 1.2974371910095215, 0.5047914981842041, 0.33259767293930054, 0.7541258931159973, -0.164680615067482, 0.12089506536722183, -0.5686801671981812, -0.39356550574302673, -0.2806817293167114, -0.24345286190509796, 0.21092478930950165, -1.0659950971603394, 0.7281234860420227, 0.16786669194698334, -0.15892228484153748, 0.3563758134841919, -0.3231009542942047, 0.6638436317443848, 0.490744411945343, 0.26515093445777893, 0.023541223257780075, 0.3296394348144531, -0.8734093308448792, 0.05676613375544548, -0.9496511220932007, -0.24329961836338043, 0.46573156118392944, 0.20243513584136963, 0.693069577217102, -0.2787679135799408, 0.27653768658638, -0.3613228499889374, -0.2587617337703705, -0.5782022476196289, 0.723352313041687, 0.20787128806114197, -0.31114697456359863, -0.17238740622997284, 0.17814692854881287, -0.9369143843650818, 0.23029141128063202, -0.6044741868972778, -0.8245740532875061, 0.4871557056903839, 0.3515573740005493, -0.3959302008152008, 0.1170525774359703, -0.8125638961791992, 0.7531260848045349, -0.12634479999542236, -0.5127667784690857, -0.28753072023391724, -0.743314266204834, 0.06045376881957054, 0.14741292595863342, 0.3419158458709717, 0.030568888410925865, -0.14628809690475464, 0.0699702650308609, -0.2465372532606125, 0.9860953688621521, -0.1071419045329094, -0.2816993296146393, 0.04299576207995415, 0.26088598370552063, 0.5706070065498352, -0.3424769639968872, -0.10005516558885574, 0.09616032987833023, -0.023614663630723953, -0.2855958640575409, -0.516835629940033, 0.6724804639816284, -0.12096676230430603, -0.5752507448196411, -0.2707348167896271, -0.6973933577537537, -0.019715404137969017, 0.3149467408657074, 0.25184133648872375, 0.5460933446884155, 0.31046828627586365, 0.5035215616226196, 0.23893442749977112, -0.0434034988284111, 0.4475403130054474, 0.3204365670681, -0.48912447690963745, -0.4493975043296814, 0.7636492252349854, 0.061179019510746, 0.5789052844047546, 0.03945524990558624, -0.09629680216312408, -0.21172450482845306, -0.478135883808136, -0.7902968525886536, 0.06345409154891968, -0.9130961298942566, -0.4210303723812103, -0.2512318193912506, 0.0936141312122345, -0.05439028888940811, -0.5632080435752869, -0.2179134339094162, -0.5092334747314453, 0.2907813787460327, -0.17072857916355133, 0.34024837613105774, 0.48250308632850647, -0.04456678777933121, 0.3821832537651062, -0.5303879380226135, 0.5256888270378113, 0.4349336326122284, 0.5222564935684204, -0.2761593163013458, 0.12454507499933243, -0.49166715145111084, 0.08992860466241837, -0.06933119148015976, -0.8683774471282959, -0.1534043401479721, 0.012418843805789948, 0.46916717290878296, 0.5136920809745789, -0.06800568103790283, 0.8960473537445068, -0.7607082724571228, 0.8598612546920776, 0.6147539615631104, -0.7422024011611938, 0.7692426443099976, -0.7529645562171936, 0.5751616954803467, 0.41363388299942017, 0.16099022328853607, -0.17867819964885712, -0.4193398058414459, -0.16179344058036804, -0.9771772027015686, 0.5852961540222168, 0.24986664950847626, -0.2828892767429352, -0.03208782151341438, 0.13845378160476685, -0.2593560814857483, 0.2292523980140686, -0.5726949572563171, -0.040461279451847076, -0.2103782445192337, -0.038357026875019073, 0.3255367875099182, -0.2233927696943283, -0.5813097357749939, -0.151371568441391, 0.11957848072052002, -0.6584981679916382, -0.03726101294159889, 0.25832247734069824, -0.16137582063674927, -0.3360149562358856, -0.1494530588388443, 0.6517056822776794, 0.8430763483047485, 0.27174094319343567, 0.34424909949302673, 0.2941744923591614, -0.2695550322532654, -0.10413262248039246, 0.0573665052652359, -0.3954918086528778, -0.2399093061685562, 0.20479369163513184, 0.7829342484474182, 0.5226146578788757, -0.2505510449409485, 0.821073591709137, -0.00817161425948143, -0.3284569978713989, 0.12340184301137924, -0.028619004413485527, 0.10909224301576614, 0.5987462401390076, 0.3961716592311859, 0.15305563807487488, -0.3376780152320862, -0.1904321163892746, 0.2077297866344452, 0.4453580975532532, -0.27536675333976746, -0.2836143672466278, 0.7729390859603882, 0.14142628014087677, -0.09272681921720505, 0.018931103870272636, 0.30588021874427795, -0.6171846389770508, 0.25415170192718506, 0.45388147234916687, 0.4535256326198578, -0.5295959115028381, 0.3181721866130829, 0.3750995099544525, 0.1512928009033203, -0.13100665807724, 0.5890123248100281, -0.4051702618598938, -0.43894410133361816, -0.5217850208282471, -0.4532558023929596, -0.2799304127693176, -0.4974040985107422, -0.26933491230010986, 0.6681941747665405, -0.38850459456443787, -0.0686967596411705, -0.24466238915920258, -0.6725443005561829, -0.5292275547981262, 0.23225539922714233, 0.43197378516197205, 0.8656519651412964, -0.5620778203010559, 1.0506279468536377, 0.7822495102882385, -0.6345988512039185, -0.8515721559524536, -0.08515103906393051, 0.2981557250022888, -0.9000349640846252, 0.49493440985679626, 0.39316022396087646, -0.6635934710502625, -0.08011268079280853, -0.755430281162262, -0.8076531291007996, 1.317908525466919, 0.5511624813079834, -0.19148845970630646, -0.12057743221521378, 0.17015181481838226, 0.22880695760250092, -0.3484309911727905, 0.010480502620339394, 0.017704373225569725, 0.6643011569976807, 0.3244688808917999, -0.9091266989707947, 0.18395055830478668, -0.3558051884174347, -0.09939809143543243, 0.025777507573366165, -0.35736340284347534, 0.7249449491500854, -0.4180099666118622, -0.3542875051498413, 0.2323734611272812, 0.33754682540893555, 0.6727457642555237, 0.26021692156791687, 1.0191389322280884, 0.31409239768981934, 0.42072224617004395, -0.14865230023860931, 0.6716285943984985, -0.569352924823761, -0.11984716355800629, 0.9599324464797974, -0.12427318096160889, 0.9359504580497742, 0.9009460806846619, 0.29440179467201233, 0.7962742447853088, 0.26181361079216003, 0.23445454239845276, 0.3397563397884369, -0.26213163137435913, -0.164678156375885, -0.5381997227668762, -0.39902958273887634, -0.5515725612640381, 0.525976836681366, 0.5940231680870056, -0.12814165651798248, -0.514779806137085, 0.05311685428023338, -0.16641348600387573, 0.0697326585650444, -0.06260461360216141, 0.37645336985588074, 0.1302349716424942, -0.8412349820137024, 0.5687946081161499, -0.5541447401046753, 0.06552691012620926, -0.8528338074684143, -0.24995869398117065, 0.1421700417995453, 0.09996123611927032, -0.09486721456050873, -0.9613549113273621, -0.0016999966464936733, -0.39567744731903076, -0.2631830871105194, -0.6810086965560913, 0.643735408782959, -0.940097451210022, -0.11508208513259888, 0.47449633479118347, 0.5145392417907715, -0.08843334019184113, -0.09541428834199905, -0.5254352688789368, 0.31202834844589233, -0.18831855058670044, -0.2753402888774872, 0.18497294187545776, 0.6471094489097595, -0.5094503164291382, 0.7855959534645081, 1.218843698501587, -0.17203471064567566, -0.16071239113807678, 0.5069268941879272, 1.1428029537200928, -0.5206208825111389, -0.6765636205673218, -0.6007143259048462, 0.8036268949508667, -0.031459130346775055, -0.16597165167331696, 0.738896906375885, 0.25921908020973206, 0.3994981050491333, -0.19820243120193481, 0.19187365472316742, 0.0544460229575634, -0.004598578903824091, -0.7884131073951721, 0.623602569103241, -0.6485286951065063, 0.138133704662323, -0.36057162284851074, -1.037074089050293, -0.8360105752944946, 0.6744805574417114, -0.183126762509346, -0.20633907616138458, 0.8100835680961609, 1.0970678329467773, -0.07747434824705124, -0.28053930401802063, 0.4196585416793823, 0.11465699970722198, 0.1898433119058609, 0.43844300508499146, 0.9239174723625183, 0.018779318779706955, 0.6864087581634521, -0.0020945859141647816, -0.3176027536392212, -0.353551983833313, -1.3011913299560547, -0.8832131028175354, -0.8320968747138977, 0.037956174463033676, -0.34331876039505005, 0.181392639875412, 0.8402461409568787, 0.802131712436676, -0.5045902132987976, -0.10591627657413483, 0.044182613492012024, 0.030380424112081528, -0.1078893393278122, -0.06205587461590767, 0.4383019208908081, -0.3471689820289612, -0.5393560528755188, 0.6429805159568787, 0.7446579933166504, 0.14228534698486328, -0.2611922323703766, -0.11049051582813263, -0.5186757445335388, -0.04572143033146858, 0.745537519454956, 0.15826907753944397, -0.6796514391899109, -0.6070963144302368, 0.10518667846918106, -0.2856748402118683, -0.08168753981590271, 0.8478326201438904, -0.9320593476295471, 0.8453590273857117, 0.8034276962280273, -0.05978726968169212, 0.44355401396751404, 0.14436790347099304, 0.9832502603530884, -0.8449579477310181, 0.5247971415519714, -0.2643376290798187, 0.7104484438896179, 0.3121640980243683, -0.028107017278671265, 0.3890703320503235, 0.012360656633973122, -0.5259173512458801, -0.5175191164016724, 0.5519553422927856, -1.1197161674499512, -0.1195618212223053, 1.0704967975616455, -0.010512602515518665, -0.3934269845485687, -0.16477756202220917, -0.8839724063873291, 0.06740359961986542, -0.18533934652805328, 0.5345966815948486, 0.4875042140483856, 0.06034909188747406, -0.34007081389427185, -0.4740683436393738, 0.5917719602584839, 0.6025980114936829, -0.4459512233734131, 0.0647321343421936, 0.7688521146774292, -0.1851886659860611, 0.2871434688568115, 0.5912940502166748, -0.05881170555949211, 0.708562433719635, -0.21158656477928162, 0.157024085521698, -0.19880948960781097, -0.7397843599319458, -0.2463912069797516, 0.08768767863512039, -0.3560236990451813, -0.46611055731773376 ]
http://arxiv.org/abs/2402.12055v2
http://arxiv.org/pdf/2402.12055v2
Are LLM-based Evaluators Confusing NLG Quality Criteria?
2024-02-19T11:19:02
2024-06-28T14:53:35
Xinyu Hu, Mingqi Gao, Sen Hu, Yang Zhang, Yicheng Chen, Teng Xu, Xiaojun Wan
cs.CL
cs.CL
Some prior work has shown that LLMs perform well in NLG evaluation for different tasks. However, we discover that LLMs seem to confuse different evaluation criteria, which reduces their reliability. For further verification, we first consider avoiding issues of inconsistent conceptualization and vague expression in existing NLG quality criteria themselves. So we summarize a clear hierarchical classification system for 11 common aspects with corresponding different criteria from previous studies involved. Inspired by behavioral testing, we elaborately design 18 types of aspect-targeted perturbation attacks for fine-grained analysis of the evaluation behaviors of different LLMs. We also conduct human annotations beyond the guidance of the classification system to validate the impact of the perturbations. Our experimental results reveal confusion issues inherent in LLMs, as well as other noteworthy phenomena, and necessitate further research and improvements for LLM-based evaluation.
[ -0.3729270398616791, -1.0972554683685303, 0.60741126537323, 0.5044761896133423, -0.2800920903682709, 0.16499322652816772, 0.00798660609871149, -0.7885498404502869, -0.018114246428012848, 0.47935280203819275, -0.47330164909362793, -0.5330284237861633, -0.9354959726333618, 0.31350913643836975, -0.5238715410232544, 1.2914206981658936, -0.1537025421857834, 0.17000479996204376, -0.39532190561294556, -0.2688024342060089, -0.3870449960231781, -0.6743309497833252, -0.8214605450630188, -0.8162745833396912, 0.7060678005218506, 0.029659610241651535, 0.8725533485412598, 0.2317492663860321, 0.9049402475357056, 0.23726573586463928, -0.5751585364341736, 0.24405227601528168, -0.2961687445640564, -0.19165557622909546, -0.14254359900951385, -0.5041571855545044, -0.9694518446922302, 0.22075660526752472, 0.21046268939971924, 0.8639917969703674, -0.17342673242092133, 0.36560869216918945, 0.503659188747406, 0.6537705063819885, -0.5583575367927551, -0.13775040209293365, -0.4918723702430725, 0.4686695337295532, -0.06789615750312805, -0.4350801706314087, -0.30640628933906555, -0.1293119192123413, -0.010249614715576172, -0.26997020840644836, 0.2199283242225647, 0.17252418398857117, 0.8847569823265076, 0.5152444243431091, -0.21498703956604004, -0.26838964223861694, -0.7602957487106323, 0.7374858260154724, -0.7646329402923584, 0.3295086920261383, 0.5318701863288879, 0.18119773268699646, -0.390108197927475, -0.39477062225341797, -0.24197961390018463, -0.3183194398880005, -0.28286269307136536, 0.12073276191949844, -0.25055402517318726, 0.5858338475227356, 0.4256604313850403, 0.548190176486969, -0.47445568442344666, 0.5120629072189331, -0.1126108467578888, -0.35598140954971313, 0.6743793487548828, 0.35695207118988037, -0.049418237060308456, -0.6114169359207153, -0.5766816735267639, 0.1771063208580017, -0.8996198177337646, 0.33149656653404236, 0.6322765946388245, 0.0787230134010315, -0.04683740437030792, 0.627498984336853, -0.23099450767040253, 0.7409877777099609, 0.5282881259918213, -0.26665201783180237, 0.10065998882055283, -0.3766213655471802, -0.4427492320537567, -0.07464056462049484, 0.8179641366004944, 0.5330796241760254, -0.30114367604255676, -0.31397661566734314, -0.5682743787765503, -0.2832581102848053, 0.6319409012794495, -0.36063048243522644, -0.030354438349604607, 0.4837839603424072, -0.5849577784538269, -0.4946521520614624, 0.02580440230667591, -0.5139943361282349, -0.5139733552932739, -0.3839801549911499, 0.659815788269043, -0.24745579063892365, 0.12295827269554138, 0.2570832371711731, 0.061840590089559555, 0.16862353682518005, 0.504270076751709, -0.6630802750587463, 0.3463924527168274, 0.9513997435569763, 0.4257868230342865, -0.5021072626113892, -0.3848319351673126, -0.44622603058815, -0.3190927505493164, -0.2632650136947632, 0.7982705235481262, -0.52494877576828, -0.3970966041088104, -0.23137545585632324, -0.2995520234107971, 0.20410875976085663, -0.7357719540596008, 0.5992581248283386, -0.5464811325073242, 0.37879663705825806, -0.42844995856285095, -0.4540952444076538, -0.3417861759662628, 0.5986289978027344, -0.42477843165397644, 0.9977315664291382, 0.2222270965576172, -0.7413126230239868, 0.6835139393806458, -0.465079128742218, -0.2036990374326706, 0.08990009874105453, -0.1933358758687973, -0.284422904253006, 0.3683101236820221, 0.020046327263116837, 0.4651843309402466, -0.20165720582008362, 0.2066047340631485, -0.07964939624071121, -0.6542285680770874, 0.4103218615055084, -0.5930260419845581, 0.5058184862136841, 0.13396653532981873, -0.24458889663219452, 0.3661346733570099, -0.9885563850402832, 0.16473549604415894, -0.3154809772968292, -0.6006953716278076, -0.16755947470664978, 0.18165454268455505, -0.13434264063835144, -0.024500539526343346, 0.4175262451171875, -0.32860150933265686, 0.2244134545326233, -0.1891487091779709, 0.17171691358089447, 0.6562891602516174, 0.17442530393600464, 0.32612091302871704, -0.5566064119338989, 0.6368442177772522, -0.09484978020191193, 0.553974449634552, 0.3504028022289276, -0.42080822587013245, -0.9640281796455383, 0.053728554397821426, 0.283254474401474, 0.5269260406494141, -0.6076071858406067, 0.9678565859794617, 0.24494631588459015, -0.4522891938686371, -0.33098292350769043, 0.13518337905406952, 0.5515606999397278, 0.19791510701179504, 0.47316038608551025, -0.39597606658935547, -0.41122081875801086, -0.6420705914497375, -0.3404548466205597, -0.522331178188324, -0.06490448117256165, 0.08962331712245941, 0.3509223759174347, -0.2104727029800415, 0.824887752532959, 0.030805503949522972, -0.28525668382644653, -0.2863118648529053, 0.17431727051734924, 0.2481280416250229, 0.2662622034549713, 0.6028150320053101, -0.39496034383773804, -0.04073954373598099, -0.056545890867710114, -0.5853738188743591, -0.42894428968429565, -0.2781212031841278, 0.07352835685014725, -0.004171065520495176, 0.6047477722167969, -0.22987708449363708, 0.4444202184677124, 0.7301812171936035, -0.2420606166124344, 0.8199336528778076, -0.0022180431988090277, 0.3305652141571045, -0.3731505870819092, -0.34389227628707886, 0.08200625330209732, -0.168411523103714, -0.5554744601249695, 0.27765974402427673, -0.2282440960407257, 0.49532192945480347, -0.6448525786399841, 0.36549872159957886, -0.061310309916734695, -0.022372694686055183, -0.34464746713638306, -0.12371283769607544, 0.23027409613132477, 0.506592333316803, -0.5942546725273132, 0.39195361733436584, 0.4618379771709442, -0.7666777968406677, 0.35026565194129944, -0.16872437298297882, -0.1072922945022583, 0.8411336541175842, -0.6936824321746826, 0.3390793800354004, -0.053822532296180725, 0.20001418888568878, -0.8347440361976624, -0.11568952351808548, 0.627940833568573, -0.342619389295578, 0.3744610548019409, -0.2342929095029831, -0.6232579946517944, -0.0019072559662163258, -0.43101295828819275, 0.37621134519577026, 0.3429284691810608, -0.5570567846298218, 0.5788564682006836, -0.185772106051445, 0.39569297432899475, -0.5688880681991577, -0.714825451374054, -0.03732115030288696, -0.6004924774169922, -0.5160090327262878, 0.32799360156059265, 0.07923460751771927, -0.3255797028541565, 0.05105118453502655, -0.6055610775947571, 0.11305645853281021, 0.38099682331085205, 0.3540530502796173, 0.10706225782632828, -0.02398574724793434, -0.2493308186531067, -0.09287533164024353, 0.07551358640193939, 0.3016960620880127, 0.07799233496189117, 0.37089356780052185, -0.14153021574020386, -0.8963704109191895, -0.42419466376304626, -0.05925896391272545, 0.178084596991539, 0.1243402510881424, 0.13866955041885376, 0.7901182770729065, -0.216166689991951, -0.007689100690186024, -0.6743476390838623, -0.018693719059228897, -0.5257632732391357, 0.5364131927490234, -0.35038280487060547, -1.0104314088821411, 0.7385569214820862, 0.16846251487731934, 0.19033150374889374, 0.49961185455322266, 0.14274722337722778, -0.5539290308952332, 0.8593520522117615, 0.4973600208759308, 0.3241288363933563, 0.28778842091560364, 0.018789231777191162, 0.2647583484649658, -1.2625068426132202, -0.3306007385253906, -0.48872607946395874, -0.6741150617599487, -0.7770932912826538, -0.28172755241394043, 0.28864240646362305, 0.7214871644973755, -0.100969098508358, 0.21189332008361816, -0.5584167242050171, 0.5340219736099243, -0.08216649293899536, 0.16615134477615356, 0.3823027014732361, 0.009229878894984722, -0.161799818277359, -0.056971870362758636, -0.5575007200241089, -0.8459268808364868, 1.0426336526870728, 0.6152072548866272, 1.0531245470046997, 0.18991367518901825, 0.7893233299255371, 0.4762735962867737, 0.4280548393726349, -1.0698024034500122, 0.6941262483596802, -0.29419058561325073, -0.4386258125305176, -0.26292920112609863, -0.49201324582099915, -1.0854017734527588, 0.41959577798843384, -0.1799929141998291, -0.9932955503463745, 0.07229501754045486, 0.04848116636276245, -0.5284883379936218, 0.2762335538864136, -0.49230432510375977, 0.6059866547584534, -0.6246004104614258, -0.043133318424224854, -0.11154165863990784, -0.16564607620239258, 0.42972293496131897, -0.15723897516727448, 0.09048301726579666, -0.4012024998664856, 0.0788249745965004, 0.7812373638153076, -0.417019784450531, 0.8410799503326416, -0.02857971377670765, -0.19354937970638275, 0.207136332988739, 0.22014345228672028, 0.17795491218566895, 0.12003421038389206, -0.05045255273580551, 0.6340140104293823, -0.11866133660078049, -0.24044933915138245, -0.8964623808860779, 0.41944679617881775, -0.7254698276519775, -1.0629174709320068, -0.5202140212059021, -0.14651936292648315, -0.43462899327278137, -0.1376282423734665, 0.3928165137767792, 0.1438629925251007, -0.033601224422454834, 0.15674349665641785, 0.46118640899658203, -0.27517154812812805, 0.19968588650226593, 0.42849692702293396, -0.4947572946548462, -0.14544770121574402, 0.7215574383735657, -0.040168456733226776, 0.48329031467437744, 0.16017195582389832, 0.10298269987106323, -0.016075214371085167, -1.144296646118164, -0.12101130932569504, -0.010485602542757988, -0.7111733555793762, -0.11632347106933594, -0.06202905252575874, -0.4767508804798126, 0.1946841925382614, 0.08100695163011551, -0.16628916561603546, -0.07798043638467789, -0.4264683723449707, -0.05786086991429329, 0.13018453121185303, 1.0057823657989502, 0.18523341417312622, 0.47552430629730225, -0.7250208258628845, 0.2533566653728485, 0.25676852464675903, 0.6190540194511414, -0.05790037289261818, -0.8388893604278564, -0.10408174246549606, -0.23957067728042603, -0.6010933518409729, -0.8598178029060364, -0.29075783491134644, -0.025853849947452545, 0.8152387142181396, 0.5693795680999756, -0.2532361149787903, 0.6922733187675476, -0.36696428060531616, 1.0335009098052979, 0.21937094628810883, -0.9320704936981201, 0.35920196771621704, -0.0379294790327549, 0.1020844355225563, 0.4856593608856201, 0.22479939460754395, -0.5590560436248779, -0.6958826780319214, -0.5878669023513794, -0.8491472005844116, 0.7083220481872559, 0.24088416993618011, -0.014582385309040546, 0.07110579311847687, 0.7196168303489685, 0.308506041765213, -0.04124259576201439, -0.6447650790214539, -0.4631778597831726, -0.11272221803665161, 0.24673961102962494, 0.31738707423210144, -0.37884584069252014, -0.2717163562774658, -0.1146870031952858, 0.2665071487426758, -0.014420349150896072, 0.07550521194934845, 0.2463364154100418, -0.0447794646024704, -0.13950325548648834, 0.4549104869365692, 0.48017290234565735, 0.8082942366600037, -0.3418140113353729, 0.20366144180297852, 0.42727959156036377, -0.3953101933002472, 0.31011494994163513, -0.07860834896564484, -0.10988350212574005, 0.016479922458529472, 0.49928656220436096, 0.8771135807037354, 0.2711564004421234, -0.1620393544435501, 0.2538849115371704, -0.1729639321565628, -0.33165067434310913, -0.046594683080911636, 0.44109341502189636, -0.28585299849510193, 0.29797372221946716, 0.45058611035346985, 0.3151187002658844, 0.22357459366321564, -0.372433066368103, -0.03647971525788307, 0.47655853629112244, -0.4753076732158661, -0.3773137032985687, 0.46032479405403137, 0.2122863531112671, -0.5408697724342346, 0.20222942531108856, -0.5575639605522156, -0.41906487941741943, 0.5268324017524719, 0.008287591859698296, 0.9517822265625, -0.0044989753514528275, 0.033798884600400925, 0.08117996156215668, 0.5936728715896606, -0.019619673490524292, 0.28231796622276306, 0.13284370303153992, -0.7114220857620239, -0.7713441252708435, -0.8559271693229675, -0.7716790437698364, 0.5000866651535034, -0.7674081325531006, 0.17831969261169434, -0.7185566425323486, -0.5212619304656982, -0.0005558874108828604, -0.05236232280731201, -0.7326066493988037, 0.26123857498168945, 0.23224100470542908, 0.5237987637519836, -0.5713465809822083, 0.410976380109787, 0.9123079180717468, -0.20892629027366638, -0.7153938412666321, 0.2191956341266632, 0.024530131369829178, -0.5904939770698547, 0.6825793385505676, -0.13346992433071136, -0.1024562194943428, -0.6762769222259521, -0.3991619348526001, -0.8975762724876404, 0.7828797698020935, 0.051653169095516205, -0.48973578214645386, -0.12937919795513153, 0.3529616594314575, 0.7706456780433655, -0.040233347564935684, 0.31985893845558167, 0.7468114495277405, 0.643306314945221, -0.01975497230887413, -1.301766037940979, -0.0053119719959795475, 0.1578114777803421, -0.03795815259218216, 0.09457402676343918, -0.6310262680053711, 0.6520867347717285, -0.003470699768513441, -0.20831531286239624, -0.017794683575630188, 0.5422985553741455, 0.4662768840789795, 0.3906973898410797, 0.6036452651023865, 0.5106502771377563, 0.6640873551368713, -0.45095714926719666, 1.0733962059020996, -0.08304119855165482, 0.44636642932891846, 1.0922702550888062, -0.13034923374652863, 0.6707980632781982, 0.4871922433376312, -0.6653594374656677, 0.17558957636356354, 0.9441028833389282, -0.13413064181804657, 0.021455109119415283, 0.40654757618904114, 0.10283143818378448, -0.04032524302601814, 0.14399272203445435, -0.18425296247005463, 0.6430476307868958, 0.46819621324539185, 0.004376627039164305, -0.32788020372390747, -0.3266105353832245, -0.20523601770401, -0.17473748326301575, -0.3830326199531555, 0.6148616075515747, 0.10252124071121216, -0.4971739649772644, 0.6300733685493469, 0.33171606063842773, 1.1680070161819458, -0.4867950975894928, 0.16438797116279602, -0.39169445633888245, -0.2957054674625397, -0.966965913772583, -0.9220470786094666, 0.5037906169891357, 0.08897654712200165, 0.03772857412695885, -0.4271804988384247, 0.5777158737182617, -0.07812879979610443, -0.19136951863765717, 0.21487919986248016, 0.58354651927948, 0.3819168210029602, -0.0855119451880455, -0.7362911701202393, 0.18465842306613922, 0.0634535625576973, -0.26939037442207336, 0.43370646238327026, 0.4094131588935852, -0.05180811509490013, 0.3429458439350128, 0.5003150105476379, 0.17850732803344727, 0.14129994809627533, 0.37201642990112305, 0.385021448135376, -0.6965258717536926, -0.01482191402465105, -1.027145504951477, 0.2509271204471588, 0.26025688648223877, -0.4702550768852234, 0.8724258542060852, 0.23758526146411896, 0.8922074437141418, 0.3352343440055847, 0.38351166248321533, 0.23385244607925415, 0.08221028000116348, -0.8599145412445068, 0.7138494253158569, -0.6019085049629211, 0.7581918239593506, -0.24897754192352295, -1.2507655620574951, -0.23574823141098022, 0.46012717485427856, -0.12443672120571136, 0.4223015010356903, 0.9298722743988037, 0.37689507007598877, 0.12036437541246414, -0.08855053782463074, 0.5279558897018433, 0.1554195135831833, 0.5453921556472778, 0.44067850708961487, 1.2707980871200562, -0.4696042835712433, 0.36595970392227173, -0.24807608127593994, -0.018093079328536987, -0.32678139209747314, -0.9225072264671326, -0.762205958366394, -0.19984859228134155, -0.7711201310157776, -0.43697482347488403, -0.11045964062213898, 0.9163271188735962, 0.6341190338134766, -0.6374342441558838, -0.07662419974803925, 0.05826445668935776, 0.33384257555007935, -0.16407880187034607, -0.2971969544887543, 0.126381516456604, -0.42912253737449646, -0.5718516111373901, 0.3637040853500366, 0.422056645154953, 0.10750875622034073, -0.6530795097351074, -0.08254242688417435, 0.38489264249801636, 0.04953218251466751, 0.6097798943519592, -0.030594415962696075, -1.2883615493774414, -0.685832679271698, -0.2426023781299591, -0.24800115823745728, 0.17181816697120667, 0.6952908635139465, -0.6414591073989868, 0.04840541258454323, 0.405070424079895, 0.5793572068214417, -0.046370964497327805, 0.11449739336967468, 0.027989182621240616, -0.8420352935791016, -0.201645627617836, 0.2765580117702484, 0.36556869745254517, 0.25977587699890137, -0.6444137096405029, 0.35647618770599365, -0.08891177177429199, -0.649683952331543, -0.7227199077606201, 0.28142133355140686, -1.1950576305389404, -0.09393269568681717, 1.502537727355957, -0.09097246080636978, -0.09549372643232346, -0.15160074830055237, -0.09070096909999847, -0.18536074459552765, -0.17516334354877472, 1.0793554782867432, 1.0729485750198364, -0.8384345769882202, 0.15422195196151733, -0.40062278509140015, 0.692104697227478, 0.6066678762435913, -0.871694028377533, -0.36072254180908203, 0.2647688090801239, 0.3599281311035156, 0.433632493019104, 0.261043906211853, -0.23964905738830566, 0.43421557545661926, -0.4177125096321106, -0.02874714322388172, 0.1032639741897583, -0.1498481035232544, -0.6449152231216431, 0.22317597270011902, 0.5859582424163818, -0.00460455846041441 ]
http://arxiv.org/abs/2402.12052v3
http://arxiv.org/pdf/2402.12052v3
Small Models, Big Insights: Leveraging Slim Proxy Models To Decide When and What to Retrieve for LLMs
2024-02-19T11:11:08
2024-05-30T12:03:51
Jiejun Tan, Zhicheng Dou, Yutao Zhu, Peidong Guo, Kun Fang, Ji-Rong Wen
cs.CL
cs.CL
The integration of large language models (LLMs) and search engines represents a significant evolution in knowledge acquisition methodologies. However, determining the knowledge that an LLM already possesses and the knowledge that requires the help of a search engine remains an unresolved issue. Most existing methods solve this problem through the results of preliminary answers or reasoning done by the LLM itself, but this incurs excessively high computational costs. This paper introduces a novel collaborative approach, namely SlimPLM, that detects missing knowledge in LLMs with a slim proxy model, to enhance the LLM's knowledge acquisition process. We employ a proxy model which has far fewer parameters, and take its answers as heuristic answers. Heuristic answers are then utilized to predict the knowledge required to answer the user question, as well as the known and unknown knowledge within the LLM. We only conduct retrieval for the missing knowledge in questions that the LLM does not know. Extensive experimental results on five datasets with two LLMs demonstrate a notable improvement in the end-to-end performance of LLMs in question-answering tasks, achieving or surpassing current state-of-the-art models with lower LLM inference costs.
[ -0.5093223452568054, -0.43246835470199585, 1.2745728492736816, -0.2837360203266144, -0.08084489405155182, 0.2271965742111206, -0.0894717276096344, -0.31390610337257385, 0.49424171447753906, 0.5605974793434143, -0.7594817280769348, -0.39290955662727356, -0.6504269242286682, -0.040638767182826996, -0.0875851958990097, 0.6310564279556274, 0.3192560076713562, 0.09923383593559265, -0.5791127681732178, 0.049483541399240494, -0.24529163539409637, -0.13334231078624725, -0.6292924880981445, -0.19389089941978455, 0.5137932300567627, 0.6130093336105347, 0.7209786772727966, 0.7616435885429382, 0.3860391676425934, 0.2815970778465271, -0.36300262808799744, 0.635027289390564, -0.5967204570770264, -0.1595413088798523, -0.6124985218048096, -0.8555516004562378, -0.4311883747577667, 0.013303964398801327, 0.24746806919574738, 1.1883362531661987, -0.1941716969013214, 0.3593595623970032, 0.008973522111773491, 0.5582443475723267, -0.7802658081054688, 0.2342417687177658, -0.7605912089347839, -0.13511502742767334, -0.19017045199871063, 0.04163854941725731, -0.22733928263187408, -0.3428170382976532, 0.3223934471607208, -0.7566748261451721, 0.2927301526069641, 0.12429779767990112, 0.4942760169506073, 0.34130197763442993, -0.3779313266277313, -0.5297914147377014, -0.343707799911499, 0.805013120174408, -0.7775838971138, 0.5630810856819153, 0.3626681864261627, 0.1548060178756714, -0.5505021810531616, -0.8045424818992615, -0.6382575035095215, 0.12544551491737366, -0.07945597916841507, 0.24020516872406006, 0.09013382345438004, -0.10794274508953094, 0.00048163498286157846, 0.3386247158050537, -0.4516716003417969, 0.14069059491157532, -0.5896949768066406, -0.3863431215286255, 0.605352520942688, 0.2236337661743164, 0.23654864728450775, -0.29971417784690857, -0.1768742799758911, 0.159257173538208, -0.7065739631652832, -0.2254474014043808, 0.24252870678901672, 0.3598402142524719, -0.17916364967823029, 0.5636276602745056, -0.22556884586811066, 0.528593897819519, 0.06108248978853226, -0.39210471510887146, 0.06961273401975632, -0.22332032024860382, 0.018548600375652313, -0.08966490626335144, 0.6493584513664246, 0.019690977409482002, 0.22844748198986053, -0.2606823742389679, -0.1672150194644928, -0.38188284635543823, -0.07719528675079346, -0.6487059593200684, -0.38493722677230835, 0.07895852625370026, -0.4092128574848175, 0.21966321766376495, -0.037421949207782745, -0.8085877895355225, -0.7535132169723511, -0.2457427680492401, 0.47878125309944153, -0.17220653593540192, -0.24313612282276154, 0.2175094336271286, -0.48903384804725647, 0.1094575822353363, 0.6295425295829773, -0.6044816970825195, 0.5305157899856567, 0.9221978783607483, 0.909122109413147, -0.28836560249328613, -0.09546881914138794, -0.7685025930404663, 0.3631006181240082, -0.16516819596290588, 0.6766442656517029, -0.35267794132232666, -0.3431603014469147, -0.04317581281065941, 0.07862825691699982, -0.09780614823102951, -0.6831727027893066, 0.2999686300754547, -0.7806413769721985, 0.5720037221908569, -0.28967776894569397, -0.9582482576370239, -0.1907956451177597, 0.18024012446403503, -0.75553959608078, 0.6417520046234131, 0.0005818877834826708, -0.6686161756515503, 0.10689686983823776, -0.37427711486816406, -0.16080370545387268, 0.3901800811290741, -0.1809561401605606, -0.04380128160119057, 0.5285068154335022, 0.38144251704216003, 0.5473328232765198, -0.5529439449310303, -0.05129325017333031, -0.6043416261672974, -0.3763434588909149, 0.09225241839885712, 0.06988847255706787, 0.7642983198165894, 0.19910921156406403, 0.0654371827840805, -0.38258394598960876, -0.6465351581573486, 0.09446483105421066, 0.36421722173690796, -0.3430059552192688, -0.6570058465003967, 0.14715223014354706, -0.6889157295227051, 0.17272831499576569, 0.6463059186935425, -0.48160549998283386, 0.15689578652381897, -0.6016853451728821, 0.1892983317375183, 0.6719992160797119, 0.2210700511932373, 0.6332712769508362, -0.15897120535373688, 0.4293663799762726, -0.06983344256877899, 0.12309403717517853, -0.036990437656641006, -0.5965772867202759, -0.861445963382721, -0.34151148796081543, 0.3200008273124695, 0.4086797833442688, -0.8973276615142822, 0.121123768389225, -0.3203614056110382, -0.3199656307697296, -0.6602949500083923, 0.6868409514427185, 0.09755443036556244, 0.39061376452445984, 0.27963465452194214, -0.29635927081108093, -0.40214747190475464, -0.8164151906967163, -0.23153060674667358, -0.42012932896614075, -0.36692315340042114, 0.5508165955543518, 0.5199301242828369, -0.2722434103488922, 1.0072373151779175, -0.9974235892295837, -0.3562805950641632, -0.43951791524887085, -0.1518900990486145, 0.3569653034210205, 0.028078993782401085, 0.19585895538330078, -0.7660005688667297, -0.33948299288749695, -0.0785803273320198, -0.7176797389984131, -0.23461052775382996, 0.22406905889511108, -0.03282831236720085, -0.31334856152534485, 0.4879736602306366, -0.7463487982749939, -0.008010733872652054, 0.539232611656189, 0.08959179371595383, 0.26231053471565247, -0.13501542806625366, -0.3573046028614044, -1.1081953048706055, -0.09273044019937515, 0.00026631512446329, -0.4389890730381012, -0.38608407974243164, 0.1881345808506012, 0.2130572646856308, 0.133745938539505, -0.4277118444442749, 0.9449200630187988, -0.6917822360992432, -0.1356772929430008, -0.22185054421424866, 0.7667660117149353, 0.015697194263339043, 0.42234620451927185, 0.10966364294290543, 0.8748763799667358, 0.16209574043750763, -0.5371204614639282, 0.21546155214309692, 0.20686347782611847, -0.11021027714014053, 0.4584338963031769, -0.46083372831344604, 0.3529929220676422, -0.13162705302238464, -0.06852257996797562, -0.987276017665863, -0.565621554851532, -0.13640551269054413, -0.35979723930358887, -0.004244140349328518, -0.3858610987663269, -0.702466607093811, -0.6199957132339478, -0.3355715274810791, 0.004715545568615198, 0.5843938589096069, -0.7289952039718628, 0.7246461510658264, 0.7523478865623474, -0.4074789881706238, -0.2167261838912964, -0.2557547390460968, -0.10186059772968292, -0.09757333248853683, -0.6378230452537537, 0.0037318437825888395, -0.16578051447868347, -0.38681885600090027, -0.09828449040651321, -0.41854551434516907, -0.26115846633911133, 0.18947315216064453, 0.03156966716051102, 0.20313037931919098, -0.24848023056983948, 0.12948782742023468, 0.0903933048248291, 0.15649142861366272, 0.15615475177764893, -0.4641793370246887, 0.4707002639770508, 0.11464156955480576, -0.27136585116386414, -0.17989379167556763, 0.05435976758599281, 0.7078816890716553, -0.11651016771793365, 0.8323778510093689, 0.3301498293876648, -0.3479161560535431, -0.6093368530273438, -0.9356008768081665, -0.48572269082069397, -0.5323567390441895, 0.15480254590511322, -0.19223135709762573, -0.9308940768241882, 0.645241379737854, -0.6123677492141724, -0.2282208502292633, 0.22662341594696045, 0.48777908086776733, -0.1383924037218094, 1.086473822593689, 1.0658905506134033, -0.1566002070903778, 0.21737726032733917, -0.14136463403701782, 0.07967124134302139, -0.7545259594917297, -0.45626571774482727, -0.4270564019680023, -0.04229012131690979, -0.49280574917793274, -0.4292319416999817, 0.5299803614616394, 0.1856144219636917, 0.12298090010881424, 0.044056545943021774, 0.007065740879625082, 0.5919185876846313, 0.6512040495872498, 0.34069719910621643, 0.584692120552063, -0.1593390554189682, -0.4572478234767914, -0.04601166397333145, -0.8876252770423889, -0.25525084137916565, 0.9955905079841614, 0.2476600855588913, 0.6548118591308594, 0.30240440368652344, 0.7445300221443176, 0.1305377334356308, 0.21207143366336823, -0.9295233488082886, 0.7486863136291504, -0.11387312412261963, -0.49104657769203186, -0.08843236416578293, -0.6640146970748901, -0.6659491062164307, 0.39035314321517944, 0.1834925413131714, -0.8016245365142822, 0.1321389526128769, -0.051601581275463104, -0.4221945106983185, 0.212217316031456, -0.8262459635734558, 0.5076823830604553, -0.2748815715312958, -0.7348445653915405, -0.07313425838947296, -0.5428414940834045, 0.5441381335258484, -0.5110472440719604, 0.4088701903820038, 0.0652155801653862, -0.5199252367019653, 0.8936823010444641, -0.6173961162567139, 0.8545427918434143, -0.11653365194797516, -0.0869399756193161, 0.2564599812030792, 0.2571013867855072, 0.6803318858146667, 0.1587119847536087, -0.1593918800354004, 0.03983914852142334, -0.08080994337797165, -0.2911539375782013, -0.6491480469703674, 0.770719051361084, -0.7462629675865173, -0.8891469836235046, -0.18193002045154572, -0.5814769268035889, -0.5460364818572998, 0.2736208736896515, -0.11650525778532028, -0.20021143555641174, 0.14107219874858856, -0.0767846405506134, 0.9885896444320679, -0.2517872154712677, 0.3257668614387512, 1.0101500749588013, -0.20558448135852814, -0.33628028631210327, 0.6947299838066101, -0.0032367308158427477, 0.28160980343818665, 0.10455775260925293, 0.3580152094364166, -0.34553009271621704, -0.5492157340049744, -0.2109997421503067, 0.843490719795227, -0.5980222225189209, -0.2425687164068222, -0.6789910793304443, -0.17844076454639435, -0.29981356859207153, 0.08447521179914474, -0.4858994483947754, -0.3380904793739319, -0.37650609016418457, 0.0007358043803833425, 0.12192562222480774, 0.7103724479675293, -0.2101997286081314, 0.5388343334197998, -0.9477956295013428, 0.06363452225923538, 0.49984559416770935, 0.04750121012330055, 0.05828392878174782, -0.4724288880825043, -0.3296089768409729, 0.0837683454155922, -0.174924835562706, -0.9845806360244751, 0.5285758376121521, -0.04295656830072403, 0.7106176614761353, 0.3943437933921814, -0.06428532302379608, 0.9239414930343628, -0.363144189119339, 0.7415291666984558, 0.033476874232292175, -0.850733757019043, 0.6112791895866394, -0.330613911151886, 0.3777768611907959, 0.6053164005279541, 0.7936257123947144, -0.36536872386932373, -0.26354745030403137, -0.6764400005340576, -0.5624639391899109, 0.6293314099311829, -0.194626122713089, -0.16773639619350433, 0.06379356235265732, 0.6317956447601318, 0.11654587835073471, 0.6092139482498169, -0.28155866265296936, 0.07544125616550446, 0.6021902561187744, -0.2838934361934662, 0.08332572132349014, -0.19353142380714417, -0.03474678471684456, -0.17262613773345947, 0.5190435647964478, -0.4104277789592743, 0.004339868202805519, -0.07053687423467636, -0.31061145663261414, -0.09998925030231476, 0.04819447174668312, 0.02873976342380047, 0.693999171257019, -0.16737672686576843, 0.2610017955303192, 0.32095324993133545, -0.4821164011955261, -0.3120966851711273, -0.025565896183252335, 0.014809316024184227, -0.08958087861537933, 0.3754563331604004, 0.17772994935512543, 0.11959821730852127, -0.9088488221168518, 0.8067854642868042, 0.002507877303287387, -0.07445528358221054, -0.30743172764778137, 0.26634615659713745, 0.3553411662578583, 0.5677943825721741, 0.4184061884880066, -0.2861974835395813, 0.15352661907672882, -0.5349742770195007, 0.2661171555519104, 0.5785530209541321, -0.18769873678684235, -0.4278068542480469, 0.5765944719314575, 0.08045168220996857, -0.15590804815292358, 0.7369856834411621, -0.2535347640514374, -0.700038731098175, 0.4743780791759491, 0.48223504424095154, 0.4925014078617096, -0.19712595641613007, 0.31378763914108276, -0.05040394142270088, 0.2814326286315918, -0.3679969906806946, 0.42488229274749756, -0.07077968865633011, -0.6573693156242371, -0.524720311164856, -0.6049562096595764, -0.6260575652122498, 0.47666093707084656, -0.4918288290500641, 0.16099780797958374, -0.46011704206466675, 0.15852180123329163, -0.10599339753389359, 0.45573359727859497, -0.8669723272323608, -0.0725574940443039, 0.0599929504096508, 1.035103440284729, -0.8538729548454285, 0.6286206245422363, 0.6420682668685913, -0.4792272746562958, -0.8568885326385498, 0.18353012204170227, 0.4463646113872528, -1.0652557611465454, 0.7489829063415527, -0.1300402730703354, -0.06320668756961823, 0.10624286532402039, -0.7678727507591248, -1.011812686920166, 1.1194754838943481, 0.4871635437011719, -0.7467278242111206, -0.13143756985664368, 0.16849227249622345, 0.5398612022399902, -0.18202756345272064, 0.2094305008649826, 0.5626010894775391, 0.27283740043640137, 0.35649070143699646, -1.0354501008987427, -0.025589367374777794, 0.14542606472969055, -0.3480623662471771, 0.17823533713817596, -0.7980716824531555, 0.9558145403862, -0.4087996184825897, -0.2246212661266327, 0.25550588965415955, 0.5732333064079285, 0.24918308854103088, 0.4548563063144684, 0.3156132102012634, 0.46681103110313416, 1.351386308670044, 0.24983857572078705, 0.8985963463783264, -0.1893262267112732, 0.2667323648929596, 1.213194727897644, -0.44072335958480835, 1.0094882249832153, 0.5167214870452881, -0.05426899343729019, 0.2912694215774536, 0.4619462490081787, 0.188456192612648, 0.6617682576179504, 0.11157513409852982, -0.27996712923049927, -0.5180056095123291, -0.30199331045150757, 0.053678881376981735, 0.3407728374004364, 0.7359659075737, -0.22993479669094086, -0.2928313612937927, -0.04214844852685928, 0.29206785559654236, 0.03700973466038704, -0.5370113849639893, 0.9939176440238953, 0.36385172605514526, -0.5270521640777588, 0.09021368622779846, -0.06155622750520706, 0.5397895574569702, -0.5053660273551941, 0.06273911148309708, -0.7509196996688843, 0.45481064915657043, -0.12668348848819733, -0.636896550655365, -0.086543969810009, -0.27991509437561035, -0.20155425369739532, 0.015519868582487106, 0.8639069199562073, -0.3130669891834259, -0.4574185609817505, 0.39847472310066223, 1.4654686450958252, 0.1547049880027771, -0.11872434616088867, -0.43030980229377747, -0.1037345603108406, -0.09100551903247833, 0.07318849861621857, 0.360395610332489, 0.6839268803596497, 0.033214882016181946, 0.856169581413269, 0.6061260104179382, 0.48753300309181213, 0.23794089257717133, -0.18215587735176086, 0.9637806415557861, -0.3550897538661957, -0.47770509123802185, -0.7559877038002014, 0.11106691509485245, -0.3446090817451477, 0.1561029851436615, 1.0363816022872925, 0.6667090058326721, 0.8905654549598694, 0.11299441754817963, 0.791041374206543, 0.2916754484176636, 0.7597516179084778, -0.49672508239746094, 0.6111159324645996, -0.9156014919281006, 0.6268683671951294, -0.13893577456474304, -0.7307432293891907, -0.12403611093759537, 0.3742375075817108, -0.5262195467948914, -0.11670393496751785, 0.6391996145248413, 0.9449663758277893, -0.4731288552284241, 0.10525870323181152, 0.23899292945861816, 0.2517244517803192, 0.2272893339395523, 0.6852314472198486, 0.9796719551086426, -0.09737668931484222, 0.4176943302154541, -0.18536238372325897, -0.1667308658361435, -0.06400872021913528, -0.605131208896637, -1.1218535900115967, -0.3952094316482544, -0.17296528816223145, -0.0635865181684494, 0.24113893508911133, 0.7816693186759949, 0.716611385345459, -0.49689680337905884, -0.33268752694129944, 0.08833806216716766, 0.5496500134468079, 0.08603272587060928, -0.23061415553092957, 0.3270127475261688, -0.3551042675971985, -0.7150332927703857, 0.575741171836853, 0.1328132301568985, -0.15295633673667908, -0.36065223813056946, -0.06506884098052979, -0.16368110477924347, 0.3178344666957855, 0.4021744728088379, 0.22506636381149292, -0.4857654869556427, -0.08071120828390121, 0.08254006505012512, 0.08103370666503906, -0.22928433120250702, 0.7703992128372192, -1.048629641532898, 0.1763065606355667, 0.5762043595314026, 0.8528352975845337, 0.5531042814254761, -0.11894450336694717, 0.4782628118991852, -0.9501726031303406, 0.014074613340198994, 0.011425557546317577, 0.42736005783081055, 0.25689661502838135, -0.38498133420944214, 0.6249854564666748, 0.4481528699398041, -0.35425612330436707, -0.7507374882698059, -0.01538920309394598, -0.7178077697753906, -0.5477278828620911, 1.0438319444656372, -0.13887746632099152, -0.3723777234554291, -0.15617509186267853, 0.06008186191320419, -0.09907719492912292, -0.38852640986442566, 0.7585071921348572, 0.5222963094711304, 0.0042200577445328236, -0.2598731815814972, -0.7697349786758423, 0.25623220205307007, 0.24781587719917297, -0.7643110156059265, -0.22282825410366058, 0.6501232385635376, 0.6022800803184509, 0.3802747428417206, 0.3454340100288391, 0.12924739718437195, 0.11733729392290115, -0.23182161152362823, -0.4202967584133148, -0.12146903574466705, -0.31649258732795715, -0.03067193739116192, 0.6058424115180969, -0.004284295253455639, 0.023104730993509293 ]
http://arxiv.org/abs/2402.12048v1
http://arxiv.org/pdf/2402.12048v1
Model Tailor: Mitigating Catastrophic Forgetting in Multi-modal Large Language Models
2024-02-19T11:02:05
2024-02-19T11:02:05
Didi Zhu, Zhongyi Sun, Zexi Li, Tao Shen, Ke Yan, Shouhong Ding, Kun Kuang, Chao Wu
cs.CL
cs.CL
Catastrophic forgetting emerges as a critical challenge when fine-tuning multi-modal large language models (MLLMs), where improving performance on unseen tasks often leads to a significant performance drop on the original tasks. This paper presents a comprehensive analysis of catastrophic forgetting in MLLMs and introduces a post-training adjustment method called Model Tailor. Our method primarily preserves the pre-trained parameters while replacing a small number ($\leq$ 10\%) of fine-tuned parameters, maintaining $\sim$ 99\% effectiveness on original tasks versus pre-training, and achieving $\sim$ 97\% on new tasks compared to standard fine-tuning. Specifically, we derive a sparse mask to identify the "model patch", based on a fusion strategy that integrates salience and sensitivity analysis. Subsequently, a compensation mechanism is introduced to "decorate the patch", enhancing the model's performance on both target and original tasks. Additionally, our method is adaptable to multi-task scenarios. Through extensive experiments on InstructBLIP and LLaVA-1.5 in both image captioning and visual question answering tasks, our approach demonstrates significant task adaptability while preserving inherent pre-trained capabilities.
[ -0.45592230558395386, -0.6650696992874146, 0.26242437958717346, 0.14878863096237183, -0.19981911778450012, -0.07226769626140594, -0.19836784899234772, -0.0058743637055158615, 0.022969093173742294, 0.6696804761886597, -0.9230070114135742, -0.059130795300006866, -0.4318697452545166, -0.17494720220565796, 0.14491252601146698, 0.9678462743759155, -0.09283668547868729, 0.03187742456793785, -0.40683475136756897, -0.3344815969467163, -0.9192473292350769, -0.38172513246536255, -0.7963644862174988, -0.07782979309558868, 0.6283316016197205, 0.4086793065071106, 0.3182065784931183, 0.3820768892765045, 0.4654594361782074, 0.2793646454811096, -0.14146509766578674, 0.4782741963863373, -0.8592724800109863, 0.0802873969078064, -0.33755433559417725, -0.4643453061580658, -0.6200132966041565, -0.14945156872272491, 0.8509209156036377, 0.5415523648262024, -0.19474591314792633, 0.4367499351501465, 0.23893973231315613, 0.6813740134239197, -1.0309224128723145, -0.17551395297050476, -0.9483209848403931, -0.10109785944223404, -0.12301938980817795, -0.32097452878952026, -0.5771468877792358, 0.1917663961648941, -0.1711219847202301, -0.54173743724823, 0.37001872062683105, 0.12800736725330353, 0.5622648596763611, 0.4635442793369293, -0.0023776404559612274, 0.13565491139888763, -0.7490751147270203, 0.9236443638801575, -0.8826469779014587, 0.392624169588089, 0.548213005065918, 0.26761701703071594, -0.19159351289272308, -0.4446790814399719, -0.32371464371681213, -0.1997440904378891, 0.1285303831100464, 0.03854656592011452, -0.06419425457715988, -0.14731387794017792, 0.4151398241519928, 0.2307349145412445, -0.608387291431427, 0.21955426037311554, -0.2480570524930954, -0.4244983494281769, 0.4270424246788025, 0.27445927262306213, 0.2023879587650299, 0.1440601944923401, -0.10392438620328903, 0.046209633350372314, -0.72588050365448, -0.09976352751255035, 0.14390721917152405, 0.28815531730651855, 0.05778753384947777, 0.3457848131656647, -0.11220906674861908, 0.8794896006584167, -0.03877374529838562, -0.29876160621643066, -0.03677305206656456, -0.3700873553752899, -0.30486196279525757, -0.45171666145324707, 0.4245314598083496, 0.2916765809059143, 0.2760597765445709, -0.04058501869440079, -0.37764495611190796, -0.292052686214447, 0.48056671023368835, -0.5064562559127808, -0.5274756550788879, -0.07139474153518677, -0.4012112319469452, -0.0003884645411744714, -0.32259732484817505, -0.5084877014160156, -0.4700433313846588, -0.3724210858345032, 0.7411988973617554, -0.37068215012550354, -0.235753133893013, 0.19001716375350952, 0.023399563506245613, -0.1430671066045761, 0.35492515563964844, -0.8593611121177673, -0.08324635028839111, 0.22417251765727997, 0.8410266041755676, 0.08049872517585754, -0.7332944869995117, -0.643839418888092, 0.4110134541988373, -0.23424816131591797, 0.9711097478866577, -0.4427359700202942, -0.11563056707382202, -0.06291943788528442, 0.041056837886571884, -0.5495469570159912, -0.47589850425720215, 0.3826257586479187, -0.3876809775829315, 0.13960771262645721, -0.404593825340271, -0.4201870858669281, -0.1166912168264389, 0.5336377024650574, -0.6959324479103088, 0.719460666179657, 0.11779594421386719, -0.8092634081840515, 0.2842518091201782, -0.53246009349823, -0.28631454706192017, -0.30535921454429626, 0.4697611629962921, -0.8438843488693237, 0.314339280128479, 0.4667809009552002, 0.4370993673801422, -0.23661841452121735, 0.04434971138834953, -0.7048858404159546, -0.46858248114585876, 0.2254132181406021, -0.37721195816993713, 0.43984663486480713, -0.1596604436635971, 0.02125784382224083, 0.4919450283050537, -0.7344486117362976, -0.018149588257074356, 0.15768462419509888, -0.2716364860534668, -0.3758902847766876, 0.03531833738088608, 0.26016712188720703, 0.3317124545574188, 0.18498292565345764, -0.2106727659702301, 0.1917961984872818, -0.3516356945037842, 0.7061675190925598, 0.9792900681495667, 0.15151801705360413, 0.3821030259132385, -0.7406066656112671, 0.508241593837738, -0.0062631880864501, 0.45862850546836853, -0.655461847782135, -0.015916481614112854, -0.9467161297798157, -0.4975753128528595, 0.15236559510231018, 0.3314113914966583, -0.5732154846191406, 0.1725115180015564, -0.04696832224726677, -0.6397984027862549, -0.47953927516937256, 0.12054777145385742, 0.43974775075912476, 0.5005576610565186, 0.4394519329071045, -0.35279950499534607, -0.6482975482940674, -0.9639286398887634, -0.3539290130138397, 0.06087571382522583, -0.08392369002103806, 0.28476482629776, 0.4156743884086609, -0.3293919861316681, 0.5396856069564819, -0.44331708550453186, -0.6153331995010376, -0.19327013194561005, -0.12078807502985, -0.08740683645009995, 0.7054733633995056, 0.4849961996078491, -0.6237062811851501, -0.1970718950033188, -0.22837431728839874, -0.327146977186203, 0.046367645263671875, -0.4410136044025421, -0.09206142276525497, 0.3761390447616577, 0.6286250352859497, -0.529297411441803, 0.2120533138513565, 0.36889830231666565, -0.25339752435684204, 0.8371903896331787, -0.5234077572822571, 0.1796213537454605, -1.069893717765808, 0.34134387969970703, -0.20825424790382385, -0.14074420928955078, -0.4782317876815796, 0.2395140677690506, 0.2742638885974884, 0.016584495082497597, -0.32911035418510437, 0.5445479154586792, -0.48208120465278625, 0.19439680874347687, -0.33498066663742065, -0.238280788064003, -0.06971960514783859, 0.5984393954277039, -0.43971681594848633, 0.6529926061630249, 0.5926356315612793, -0.4677836000919342, 0.05483757704496384, 0.2423190325498581, -0.055934906005859375, 0.622162938117981, -0.4153658449649811, 0.2894645929336548, -0.3732718825340271, 0.20425018668174744, -1.157365322113037, -0.33315664529800415, 0.22489047050476074, -0.13926038146018982, 0.39994892477989197, -0.12799791991710663, -0.3866328001022339, -0.43940240144729614, -0.352239727973938, 0.45913711190223694, 0.27298247814178467, -0.14092719554901123, 0.7282966375350952, 0.25945720076560974, -0.35953786969184875, -0.30037885904312134, -0.29273170232772827, 0.14943340420722961, -0.40784528851509094, -0.27828919887542725, 0.1960659772157669, -0.5375597476959229, 0.26743167638778687, -0.2885187268257141, -0.13262827694416046, -0.30798304080963135, 0.21354788541793823, 0.07961097359657288, 0.29234299063682556, -0.3091113269329071, 0.13239817321300507, 0.1499648541212082, -0.16733914613723755, -0.22132447361946106, -0.22369596362113953, 0.6887280344963074, 0.012876949273049831, -0.5248445272445679, -0.2845902740955353, 0.41545987129211426, 1.0478869676589966, -0.5934121608734131, 0.7180469036102295, 0.6645408272743225, -0.5064902305603027, -0.08788327872753143, -0.997186005115509, -0.24730180203914642, -0.4064662456512451, 0.7926123142242432, -0.20922359824180603, -0.8894301056861877, 0.7063825726509094, 0.005081153009086847, 0.18229971826076508, 0.2887336015701294, 0.6382598876953125, -0.14668725430965424, 0.9289037585258484, 0.9397031664848328, -0.30822572112083435, 0.5504051446914673, 0.13420164585113525, 0.07825219631195068, -0.9179133772850037, -0.15498895943164825, -0.2568559944629669, -0.35556527972221375, 0.0011077140225097537, -0.4168497323989868, 0.3027850389480591, 0.29360663890838623, -0.4076481759548187, 0.2763768136501312, -0.3123611509799957, 0.48571905493736267, 0.6598171591758728, 0.42625999450683594, 0.13273102045059204, -0.26826193928718567, 0.2533396780490875, -0.31214556097984314, -0.9825729727745056, -0.18780383467674255, 0.9908174872398376, 0.14824452996253967, 0.5587390065193176, -0.050678376108407974, 0.38611000776290894, 0.09265449643135071, 0.33276158571243286, -0.4206182062625885, 0.3681515157222748, -0.09890446811914444, -0.33786439895629883, -0.40101170539855957, -0.2280658632516861, -0.5838105082511902, 0.1443672776222229, -0.39244508743286133, -0.6754633188247681, -0.11379969120025635, 0.6956632137298584, -0.539429783821106, 0.36089175939559937, -0.7029536366462708, 1.0299322605133057, 0.006956445053219795, -0.26697617769241333, -0.42696258425712585, -0.37999796867370605, 0.47792041301727295, -0.49361997842788696, 0.12028691917657852, -0.10456184297800064, 0.12351026386022568, 0.6434699892997742, 0.10830123722553253, 0.984548032283783, -0.13097602128982544, 0.15929102897644043, -0.14401531219482422, 0.21417707204818726, 0.6163263916969299, -0.17942962050437927, -0.017428474500775337, -0.13526573777198792, 0.11060550808906555, -0.6495447754859924, -0.49597516655921936, 0.6400244235992432, -0.2929039001464844, -0.5710753798484802, 0.05760367959737778, -1.1264055967330933, -0.4568915367126465, 0.34809547662734985, 0.29611676931381226, 0.33248257637023926, -0.16001494228839874, 0.04501928389072418, 0.8621477484703064, -0.3667079210281372, 0.6119655966758728, 0.6546062231063843, 0.05705930292606354, -0.5330270528793335, 0.9561487436294556, 0.16104140877723694, 0.3794412910938263, 0.1870596557855606, 0.13142728805541992, 0.04180101677775383, -0.7290311455726624, -0.4419352412223816, 0.2830006778240204, -0.5092393159866333, -0.4423268437385559, -0.5194622278213501, -0.15189334750175476, -0.34187018871307373, -0.34728315472602844, -0.5349302887916565, -0.12249075621366501, -0.41565608978271484, 0.3296690583229065, 0.17459224164485931, 0.42903685569763184, 0.08937422931194305, 0.28970736265182495, -0.8004077076911926, 0.18865929543972015, 0.22980664670467377, 0.4650322198867798, 0.19129152595996857, -0.9371070861816406, -0.37172791361808777, 0.056209370493888855, -0.33062905073165894, -0.48119980096817017, 0.21051937341690063, 0.5889363288879395, 0.5476307272911072, 0.23347771167755127, 0.056734904646873474, 1.0104597806930542, -0.69161057472229, 0.5514606833457947, 0.2422109991312027, -0.7401915192604065, 0.6256065368652344, -0.4829995632171631, 0.7825185656547546, 0.35951894521713257, 0.06891601532697678, -0.4921603500843048, -0.5398401618003845, -0.4963594079017639, -0.8575019240379333, 0.5671752691268921, -0.14643846452236176, 0.29843488335609436, 0.28032177686691284, 0.4593857526779175, 0.04371342808008194, -0.01428980566561222, -0.6542617082595825, -0.12248332798480988, 0.027397962287068367, 0.04391423985362053, -0.2532193958759308, -0.6510543823242188, -0.21357952058315277, -0.36833035945892334, 0.7032186388969421, -0.2087525874376297, -0.014275792054831982, -0.050628677010536194, -0.3972472846508026, -0.14314186573028564, 0.044973503798246384, 1.2352371215820312, 1.0405641794204712, 0.048212967813014984, -0.038876552134752274, 0.5647127032279968, -0.2805978059768677, -0.11121834069490433, 0.07046707719564438, -0.010086014866828918, -0.18756717443466187, 0.7025206685066223, 0.9382937550544739, 0.6350910067558289, -0.7738469839096069, 0.3760242164134979, 0.15575112402439117, 0.018668660894036293, -0.12919844686985016, 0.11032119393348694, 0.1412678211927414, 0.3083403408527374, 0.19840888679027557, 0.6287192106246948, -0.07662155479192734, -0.3079881966114044, 0.4236331880092621, 0.4387321174144745, -0.533687949180603, -0.31812185049057007, 0.8032786846160889, -0.23448622226715088, -0.5041854977607727, 0.47328945994377136, 0.3072035312652588, -0.4901733994483948, 0.3776439428329468, 0.8066084980964661, 0.711911141872406, -0.6137151122093201, 0.06497398018836975, 0.45553645491600037, 0.4632706046104431, -0.2766436040401459, -0.07275134325027466, 0.08227075636386871, -0.4228065013885498, -0.5627760887145996, -0.6253101229667664, -0.018787192180752754, 0.17445725202560425, -0.7587361335754395, 0.20246875286102295, -0.5351508855819702, 0.08366943895816803, -0.11385621875524521, -0.5937908291816711, -0.6107357740402222, 0.18450239300727844, 0.007254625204950571, 0.9491822123527527, -1.0426197052001953, 0.6224647164344788, 0.6523535251617432, -0.4193632900714874, -0.6409598588943481, 0.07999997586011887, -0.009342892095446587, -0.8317908048629761, -0.015521923080086708, 0.03361564874649048, 0.22205643355846405, 0.10824684798717499, -0.26568031311035156, -0.985932469367981, 0.8494912385940552, 0.7774802446365356, -0.596200704574585, -0.03867871314287186, -0.13725468516349792, 0.4120253920555115, -0.13547423481941223, 0.12571416795253754, 0.5895326733589172, 0.32782188057899475, 0.11099965125322342, -1.2447986602783203, 0.020018618553876877, -0.11893924325704575, 0.03508752956986427, 0.2450864613056183, -0.5643552541732788, 0.6954212784767151, -0.396657794713974, 0.21420495212078094, 0.19929338991641998, 0.23242798447608948, 0.2540335953235626, 0.20578956604003906, 0.5464206337928772, 0.5538370013237, 0.7563372850418091, 0.24344748258590698, 0.8309402465820312, 0.06631223112344742, 0.4934842586517334, 1.3538918495178223, 0.048092521727085114, 0.9257964491844177, 0.6119495034217834, 0.004530542995780706, -0.02142762765288353, 0.7341660857200623, 0.033153604716062546, 0.6937187314033508, 0.08409110456705093, -0.14830613136291504, -0.6215080618858337, -0.017255309969186783, -0.2931760847568512, 0.4207087755203247, 0.12573175132274628, -0.2874681055545807, -0.17828597128391266, 0.4866625964641571, -0.03706992417573929, 0.04264575615525246, -0.5848463177680969, 0.8863422870635986, -0.03888939321041107, -0.6537324786186218, 0.8255098462104797, -0.17837132513523102, 0.36129307746887207, -0.6462562084197998, 0.028981713578104973, -0.29383477568626404, 0.4224878251552582, 0.07568160444498062, -0.2237791270017624, 0.4923212230205536, -0.41543760895729065, -0.6975212097167969, -0.09039568156003952, 0.5181612968444824, -0.6140314340591431, -0.7498722076416016, -0.06819042563438416, 0.14851050078868866, -0.3650989234447479, -0.4880927503108978, -0.767867386341095, 0.3670922815799713, 0.09739521145820618, -0.15862593054771423, 0.4576692581176758, 0.18753492832183838, -0.21706320345401764, 0.895466148853302, 0.5396652221679688, -0.007492842618376017, -0.026135576888918877, 0.08480342477560043, 1.020716667175293, -0.45028579235076904, -0.4468194544315338, -0.9639321565628052, 0.8656346797943115, -0.029860807582736015, -0.4662880301475525, 0.6803804636001587, 0.383231520652771, 0.7171430587768555, -0.451803058385849, 0.563587486743927, 0.17897993326187134, 0.43945783376693726, -0.5905439853668213, 1.069454550743103, -0.6669780015945435, 0.17214342951774597, -0.4814824163913727, -1.0479655265808105, -0.8052449822425842, 0.41537877917289734, -0.12497090548276901, -0.14822155237197876, 0.5468460917472839, 1.1091808080673218, -0.2586829662322998, -0.4737141728401184, 0.5392828583717346, 0.24619826674461365, 0.14253443479537964, 0.7989243268966675, 0.6477852463722229, -0.4203668534755707, 0.48036694526672363, -0.006237974390387535, -0.31534504890441895, -0.2585051655769348, -0.7973926067352295, -0.9946567416191101, -0.819045901298523, -0.3967096209526062, -0.1891644299030304, 0.15354417264461517, 0.5494265556335449, 0.8622730374336243, -0.8317739963531494, 0.26783499121665955, 0.1909390538930893, 0.021163692697882652, -0.3252011835575104, -0.08772315084934235, 0.4518609344959259, -0.46427232027053833, -0.4553820788860321, 0.218796044588089, 0.5692794322967529, -0.07434776425361633, -0.2237502485513687, 0.008078431710600853, -0.053754229098558426, 0.04122497886419296, 0.6356462240219116, 0.3227992653846741, -0.9378257393836975, -0.4942946135997772, -0.07639866322278976, 0.1979505717754364, -0.1289006471633911, 0.9162135720252991, -0.5366077423095703, 0.6690440773963928, -0.023374667391180992, 0.7366632223129272, 0.32134076952934265, -0.34923726320266724, 0.6676903367042542, -0.6936699748039246, 0.39312034845352173, 0.2334672063589096, 0.4858456254005432, 0.4447537064552307, -0.22182238101959229, -0.021153083071112633, 0.20110370218753815, -0.5327046513557434, -1.0764617919921875, 0.34085798263549805, -0.8778098821640015, -0.3033220171928406, 0.7143742442131042, -0.17849622666835785, 0.1139383390545845, -0.11471644788980484, -0.5563967227935791, 0.026701796799898148, 0.2788793742656708, 1.148024559020996, 0.7037665843963623, 0.23172126710414886, -0.5745841264724731, -0.37383684515953064, 0.3937462568283081, 0.6570978164672852, -0.46837887167930603, 0.3432130217552185, 0.5335764288902283, 0.47810089588165283, -0.21211880445480347, 0.6394200325012207, 0.1641116738319397, 0.5146586298942566, -0.16205884516239166, 0.009492580778896809, -0.29383522272109985, -0.3814537525177002, -0.2593832314014435, 0.2412586808204651, 0.1857403665781021, -0.0926605612039566 ]
http://arxiv.org/abs/2402.12046v1
http://arxiv.org/pdf/2402.12046v1
Citation Amnesia: NLP and Other Academic Fields Are in a Citation Age Recession
2024-02-19T10:59:29
2024-02-19T10:59:29
Jan Philip Wahle, Terry Ruas, Mohamed Abdalla, Bela Gipp, Saif M. Mohammad
cs.DL
cs.DL, cs.CL
This study examines the tendency to cite older work across 20 fields of study over 43 years (1980--2023). We put NLP's propensity to cite older work in the context of these 20 other fields to analyze whether NLP shows similar temporal citation patterns to these other fields over time or whether differences can be observed. Our analysis, based on a dataset of approximately 240 million papers, reveals a broader scientific trend: many fields have markedly declined in citing older works (e.g., psychology, computer science). We term this decline a 'citation age recession', analogous to how economists define periods of reduced economic activity. The trend is strongest in NLP and ML research (-12.8% and -5.5% in citation age from previous peaks). Our results suggest that citing more recent works is not directly driven by the growth in publication rates (-3.4% across fields; -5.2% in humanities; -5.5% in formal sciences) -- even when controlling for an increase in the volume of papers. Our findings raise questions about the scientific community's engagement with past literature, particularly for NLP, and the potential consequences of neglecting older but relevant research. The data and a demo showcasing our results are publicly available.
[ -0.4533917009830475, -0.36868688464164734, 0.6698817014694214, 0.4459092319011688, 0.06346799433231354, -0.10426091402769089, 0.24350446462631226, -0.8456288576126099, 0.3094375729560852, 0.23717057704925537, -0.24821916222572327, -0.24944829940795898, -0.5540502667427063, 0.4988076984882355, -0.12280527502298355, 0.957234799861908, 0.29282742738723755, -0.0832531675696373, -0.4476560354232788, -0.20852850377559662, -0.417901873588562, -0.5450496673583984, -0.8327182531356812, -0.45675957202911377, 0.7598880529403687, -0.14293453097343445, 0.4680315852165222, 0.31206101179122925, 0.6044957041740417, 0.1541362702846527, -0.6745060086250305, -0.1342611312866211, -0.4991382658481598, 0.3154250681400299, -0.4092167913913727, -0.3908239006996155, -0.5748476982116699, -0.18964159488677979, 0.6143826246261597, 1.0463896989822388, 0.28776776790618896, 0.1210634782910347, -0.21643808484077454, 1.263298511505127, -0.8734285831451416, -0.006130595691502094, -0.773678183555603, -0.06386300921440125, -0.34012696146965027, -0.7103620171546936, -0.6616935729980469, -0.48216286301612854, 0.22865590453147888, -0.3939857482910156, 0.38979458808898926, 0.20196539163589478, 0.6061646342277527, 0.01283558551222086, -0.11537458747625351, -0.14370504021644592, -0.7116504311561584, 0.7907001376152039, -0.5249848961830139, 0.10094455629587173, 0.5846102833747864, 0.041080351918935776, 0.06834463030099869, -0.9370037317276001, -0.20452675223350525, 0.04711442068219185, 0.014186123386025429, 0.0736236572265625, -0.5820705890655518, -0.4852067232131958, 0.35822275280952454, 0.17909733951091766, -0.6183214783668518, -0.07732707262039185, -0.9172943234443665, -0.06182452663779259, 0.19810280203819275, 0.06093687191605568, 0.08527371287345886, -0.09325602650642395, -0.5607408881187439, 0.26803064346313477, -1.0525401830673218, -0.2543097734451294, 0.09195105731487274, 0.023122960701584816, 0.5789504647254944, 0.6226263642311096, 0.06325540691614151, 0.2959083020687103, -0.08042041212320328, 0.34905314445495605, 0.3290848731994629, -0.39528438448905945, -0.2181193232536316, 0.1175108402967453, 0.6154312491416931, 0.49906569719314575, 0.23314806818962097, -0.32139286398887634, 0.3077065646648407, -0.34112000465393066, 0.24213482439517975, -0.5317592620849609, -0.2539227604866028, -0.11840928345918655, -0.6127110719680786, 0.19286206364631653, 0.014754817821085453, -0.7990414500236511, -0.5571972727775574, 0.0522279217839241, -0.0732346624135971, -0.5665667057037354, -0.1771935075521469, -0.019815165549516678, -0.6687428951263428, -0.005932212807238102, 0.07042688876390457, -0.7406545877456665, 0.08137962967157364, 0.5519065856933594, 1.2050025463104248, -0.09432206302881241, -0.46826767921447754, 0.02459551766514778, 0.11256133764982224, -0.3420760929584503, 0.8250089883804321, -0.6901455521583557, -0.6081535220146179, 0.022556982934474945, 0.10343366861343384, -0.2859427034854889, -0.6147468686103821, 0.46127843856811523, -0.75472092628479, 0.19181793928146362, -0.3292404115200043, -0.22481387853622437, -0.15066806972026825, -0.04458107426762581, -0.7494661808013916, 0.9111523032188416, 0.21591246128082275, -0.996845006942749, 0.738939642906189, -0.45450353622436523, 0.019103890284895897, -0.13460665941238403, 0.11097530275583267, -0.5532522797584534, 0.13077516853809357, 0.005755103193223476, 0.03969572111964226, -0.31323137879371643, 0.306956946849823, -0.6467510461807251, -0.37655866146087646, 0.19203999638557434, -0.352702796459198, 1.3097561597824097, 0.4045969247817993, -0.06501630693674088, -0.465873658657074, -0.8323841691017151, -0.15460504591464996, -0.17368580400943756, -0.0655144602060318, -0.9538305997848511, 0.12482845783233643, -0.19262832403182983, 0.16100388765335083, 0.06452013552188873, -0.563044548034668, 0.41548940539360046, -0.38859057426452637, 0.6642405390739441, 0.1437983214855194, 0.5310114026069641, 0.5307213664054871, -0.7033288478851318, 0.5516056418418884, -0.11382998526096344, -0.1020393967628479, -0.22981928288936615, -0.7016574740409851, -0.40272653102874756, 0.135501429438591, -0.16001193225383759, 0.2487589567899704, -0.23273371160030365, 0.10696055740118027, -0.36578911542892456, -0.3701585531234741, -0.1701297014951706, -0.01355281937867403, -0.1935807466506958, 0.6304466128349304, 0.7833302021026611, -0.1698721945285797, -0.8610906004905701, -0.685521125793457, -0.6325887441635132, -0.6019631028175354, -0.2369319349527359, 0.2502214312553406, 0.6011631488800049, -0.08566369116306305, 1.0043858289718628, -0.20990560948848724, -0.4564493000507355, 0.32507750391960144, 0.7276642918586731, 0.07222600281238556, 0.5526283383369446, 0.8062763810157776, -0.7184829115867615, -0.06829904019832611, -0.37501198053359985, -0.49941784143447876, -0.19661039113998413, -0.30661559104919434, 0.09105773270130157, 0.4675731658935547, 0.789512038230896, -0.46299612522125244, 0.3210451304912567, 0.06802988797426224, -0.6615394949913025, 0.5815958380699158, 0.05234929546713829, -0.06524474918842316, -0.27536964416503906, 0.7330716252326965, -0.21949702501296997, 0.3770621716976166, -0.0906582698225975, -0.5271188020706177, -0.0465276800096035, -0.24653953313827515, -0.027492349967360497, 0.1834435760974884, -0.8273160457611084, 0.06558524817228317, -0.22669298946857452, -0.07973097264766693, 0.2447894811630249, -0.18116481602191925, 0.1413835883140564, 0.5883983969688416, 0.3308331072330475, -0.4397396743297577, -0.23889371752738953, -0.10322288423776627, -0.22859513759613037, 0.4910584092140198, -0.5632405877113342, 0.13864238560199738, -0.4087259769439697, 0.3524370789527893, -0.699928879737854, 0.40654152631759644, -0.24875886738300323, -0.3493327498435974, 0.08765754848718643, -0.12632738053798676, -0.08803246170282364, -0.34920448064804077, -0.43383628129959106, 0.37056899070739746, 0.22600704431533813, 0.03841825947165489, 0.5578137040138245, -0.04772500693798065, -0.8271774649620056, -0.8669068217277527, -0.7015164494514465, 0.10808441787958145, -0.41991126537323, -0.5460063219070435, 0.6225801110267639, 0.06797736138105392, -0.6647898554801941, 0.32669922709465027, -0.2667786180973053, -0.1391630470752716, 0.2752707600593567, 0.25547048449516296, 0.2531719505786896, -0.5061361193656921, 0.15764428675174713, -0.03890686854720116, -0.010044089518487453, 0.3800346553325653, -0.3373037576675415, 0.5965057015419006, -0.2540019750595093, -0.008513703010976315, 0.07401428371667862, 0.5226256251335144, 0.6157335042953491, -0.13173671066761017, 0.8902559280395508, 0.3419627845287323, -0.12920071184635162, 0.22024299204349518, -0.4426760971546173, 0.04180040955543518, -0.321180135011673, 0.15658313035964966, 0.12225141376256943, -0.62725430727005, 0.3958958685398102, -0.02262638695538044, 0.24183343350887299, 0.8601610660552979, 0.30035385489463806, -0.20156347751617432, 0.38928109407424927, 0.598487913608551, -0.04743000864982605, 0.568503201007843, -0.28706324100494385, 0.17560921609401703, -0.7864852547645569, -0.4834279417991638, -0.8467839956283569, -0.3439810872077942, -0.29274484515190125, -0.36100634932518005, 0.05357567220926285, 0.42349496483802795, -0.17723716795444489, 0.11726759374141693, -0.4535965323448181, 0.47373735904693604, 0.48449134826660156, -0.2717449963092804, 0.61170893907547, -0.2661314606666565, 0.39931172132492065, -0.26309508085250854, -0.4522292912006378, -0.45982056856155396, 0.9907987117767334, 0.23839688301086426, 0.45859500765800476, 0.1798064410686493, 0.7184291481971741, 0.4939168691635132, 0.48949506878852844, -0.5894016027450562, 0.16954746842384338, 0.24295192956924438, -0.8098121881484985, -0.4163516163825989, -0.25239014625549316, -1.3796498775482178, 0.07513239234685898, -0.18332083523273468, -0.665304958820343, 0.9188628792762756, 0.03619028255343437, -0.3024002015590668, 0.03093935176730156, -0.28776881098747253, 0.49403494596481323, 0.29619115591049194, -0.34861448407173157, -0.07300464063882828, -0.7939609885215759, 0.5497398376464844, 0.07353422790765762, 0.3058667778968811, -0.19271959364414215, 0.18920040130615234, 0.921725869178772, -0.23202882707118988, 0.58323734998703, -0.2962348163127899, 0.27138808369636536, 0.36037570238113403, 0.19076091051101685, 0.3757588863372803, 0.12696616351604462, -0.1813296377658844, -0.2592170238494873, 0.39174678921699524, -0.5175259113311768, -0.2667801082134247, 0.8560020327568054, -0.33728209137916565, -0.3927553594112396, -0.9256899356842041, -0.6001877188682556, -0.10267068445682526, 0.1961221992969513, 0.36441221833229065, 0.05554195120930672, -0.29430466890335083, 0.6087509989738464, 0.5365606546401978, -0.1151994988322258, 0.7550382018089294, 0.5195140838623047, -0.28084099292755127, -0.3385513722896576, 0.6927258968353271, 0.3900456428527832, 0.21045838296413422, 0.17952916026115417, 0.07636140286922455, 0.011495806276798248, -0.6624466776847839, -0.00016102891822811216, 0.36667731404304504, -0.503662645816803, -0.21641910076141357, -0.9109510183334351, 0.2128966599702835, -0.715997040271759, -0.14526090025901794, -0.026629377156496048, -0.6085934638977051, -0.48931777477264404, 0.10521295666694641, 0.4247293770313263, 0.24743284285068512, -0.013344737701117992, -0.15354277193546295, -0.41476455330848694, -0.08242177218198776, 0.1208517849445343, 0.041335221379995346, 0.15346913039684296, -0.3641435205936432, -0.09746234118938446, -0.542291522026062, -0.3617348074913025, -0.8767697215080261, 0.5699364542961121, 0.6249294877052307, 0.2775484323501587, 0.49917158484458923, 0.07619832456111908, 0.5803120136260986, -0.5326584577560425, 0.9131348729133606, 0.10948780179023743, -0.45880240201950073, 0.19020414352416992, -0.3709966838359833, 0.5950264930725098, 0.9350330829620361, 0.9228803515434265, -0.4939686059951782, -0.369848370552063, -0.9691281318664551, -1.4907560348510742, 0.21737271547317505, -0.23485296964645386, -0.06646472215652466, -0.16948463022708893, 0.1494656205177307, 0.23353078961372375, 0.00003573150388547219, -0.7480522394180298, -0.5088930130004883, -0.20154044032096863, 0.32533928751945496, 0.28681492805480957, -0.43658697605133057, -0.15982145071029663, -0.17373879253864288, 0.49985870718955994, 0.1689511090517044, 0.43029752373695374, 0.47978675365448, -0.09094583243131638, 0.00984852947294712, 0.3143492043018341, 0.737888753414154, 1.3312443494796753, -0.44775521755218506, 0.5539336800575256, -0.2576628625392914, -0.5587871074676514, -0.17398478090763092, 0.23109430074691772, -0.5465301871299744, 0.32749781012535095, 0.45323246717453003, 0.3982183039188385, 0.30957239866256714, -0.466562956571579, 0.15029796957969666, 0.47452113032341003, -0.18666934967041016, -0.7292829751968384, -0.3044539988040924, 0.17787398397922516, 0.13851705193519592, 1.0534664392471313, 0.4411654472351074, 0.31944867968559265, -0.9689257740974426, 0.1438499540090561, 0.2577224671840668, -0.33550894260406494, -0.25586700439453125, 0.8657060265541077, -0.22016361355781555, -0.030303707346320152, 0.25711581110954285, 0.07892550528049469, -0.049021489918231964, 0.5028787851333618, 0.8256233334541321, 0.6144096255302429, 0.24624425172805786, 0.22044895589351654, 0.41414856910705566, 0.3720274269580841, -0.276615172624588, 0.10574938356876373, 0.16005180776119232, -0.10116815567016602, -0.4434794783592224, -0.678429126739502, -0.023079441860318184, 0.36587291955947876, -0.7814327478408813, -0.028558922931551933, -0.18997034430503845, -0.6552914381027222, 0.17509014904499054, -0.1749848574399948, -0.6964904069900513, 0.0540362149477005, -0.16106407344341278, 0.7787272930145264, -1.0014538764953613, 0.534905731678009, 0.418937623500824, -0.6027495861053467, 0.29620078206062317, -0.3404439687728882, 0.09755601733922958, -0.4484993815422058, 1.0089527368545532, -0.03100823052227497, -0.26239755749702454, -0.029934372752904892, -0.48249390721321106, -1.1417211294174194, 1.1627169847488403, -0.017863502725958824, -0.48777392506599426, -0.3619851768016815, -0.5244090557098389, 0.7579831480979919, -0.27151888608932495, 0.01373316254466772, 0.49830541014671326, 0.5014190673828125, -0.15418986976146698, -0.6240202188491821, -0.049030374735593796, -0.38059839606285095, -0.18312858045101166, 0.38230016827583313, -0.45357319712638855, 0.8931840658187866, -0.28472650051116943, -0.5233309268951416, 0.22242122888565063, 1.0031087398529053, 0.29533836245536804, 1.0915111303329468, 0.24650901556015015, 0.2083224356174469, 0.78443443775177, 0.058864396065473557, 0.6577872037887573, 0.05803043395280838, 0.05536375194787979, 1.0406663417816162, -0.12318692356348038, 0.8711272478103638, 1.076000690460205, -0.3187731206417084, 0.7457066178321838, 0.10447467118501663, -0.3265446424484253, 0.4985044300556183, 0.027280064299702644, -0.11625264585018158, 0.18833792209625244, -0.04509073123335838, -0.7735511064529419, -0.08389993757009506, 0.22352099418640137, -1.1459075212478638, -0.16467797756195068, 0.09135020524263382, 0.5280656814575195, 0.13139575719833374, -0.19031062722206116, 0.4271164536476135, 0.25545641779899597, -0.6444555521011353, 0.5998929738998413, -0.42354169487953186, 0.4777767062187195, -0.47079890966415405, 0.15969131886959076, -0.24413339793682098, -0.1365702748298645, -0.1952056735754013, -0.42247581481933594, 0.6523991823196411, 0.08854862302541733, -0.6333603858947754, -0.15098293125629425, 0.5226352214813232, -0.22285987436771393, -0.3119335472583771, 0.1344609409570694, 0.6268765926361084, 0.4234292209148407, 0.1030125692486763, -0.2424006313085556, -0.032023996114730835, -0.26218605041503906, -0.3633061945438385, 0.5485284924507141, 0.7634024620056152, -0.07717383652925491, 0.5828090906143188, 0.24490442872047424, 0.4063014090061188, 0.22120167315006256, 0.0590846948325634, 0.5139074325561523, -0.8787449598312378, 0.1984999030828476, -0.8451058268547058, 0.06455762684345245, -0.3785717189311981, -0.8694527745246887, 0.989185631275177, 0.6412133574485779, 0.6326536536216736, -0.056877732276916504, 0.5925476551055908, -0.3828260004520416, 0.385672926902771, -0.5479528903961182, 0.6391612887382507, -0.35113832354545593, 0.35835692286491394, -0.3599461019039154, -0.8209620118141174, -0.5743204355239868, 0.44344261288642883, -0.4060834050178528, 0.13745655119419098, 0.9739933013916016, 0.15619473159313202, 0.4053652882575989, 0.18501271307468414, -0.08733943849802017, 0.07379467785358429, 0.1446874737739563, 0.03975379094481468, 0.5751535296440125, 0.08078035712242126, 0.6108021140098572, -0.3478667140007019, 0.06671799719333649, -0.4897598922252655, -1.0348211526870728, -0.45510393381118774, -0.588252604007721, -0.3640945255756378, -0.42749452590942383, 0.10907354950904846, 0.33992651104927063, -0.1355178952217102, -0.7247053384780884, 0.31959259510040283, -0.1102982610464096, -0.07970474660396576, -0.954375684261322, -0.33362215757369995, 0.6993746161460876, -0.321961373090744, -0.6271759867668152, 0.45740848779678345, 0.20995193719863892, -0.0787665992975235, -0.2541608214378357, 0.4954681992530823, -0.4567352831363678, -0.10044875741004944, 0.6234327554702759, 0.8390347957611084, -0.5294804573059082, -0.14128993451595306, 0.5535217523574829, 0.014872324652969837, 0.164581760764122, 1.2898483276367188, -0.8923207521438599, 0.4100745916366577, 0.7792419195175171, 0.24449867010116577, 0.606231689453125, 0.20914612710475922, 0.5381418466567993, -0.3215474784374237, -0.1310817152261734, 0.8337972164154053, 0.4293302595615387, 0.3717578053474426, 0.11798924952745438, 0.5730493664741516, 0.6059385538101196, -0.9553090333938599, -1.1501456499099731, -0.0992710217833519, -0.8115187883377075, -0.59071946144104, 0.49973490834236145, -0.09358207136392593, -0.15750348567962646, -0.8712087273597717, 0.08596108108758926, -0.11725334823131561, -0.37736600637435913, 1.3067611455917358, 0.8682337403297424, -0.3915479779243469, -0.2362729012966156, -0.496412456035614, 0.6197329163551331, 0.6644067764282227, -0.24838976562023163, 0.369217187166214, 0.6290618777275085, -0.062466736882925034, 0.7011235356330872, 0.6526510715484619, -0.43869686126708984, 0.3233183026313782, 0.3077126145362854, -0.23769481480121613, -0.052544888108968735, -0.46746447682380676, 0.03727457672357559, 0.6200946569442749, 0.26879575848579407, 0.6181372404098511 ]
http://arxiv.org/abs/2402.12038v3
http://arxiv.org/pdf/2402.12038v3
Self-AMPLIFY: Improving Small Language Models with Self Post Hoc Explanations
2024-02-19T10:47:09
2024-06-17T08:52:29
Milan Bhan, Jean-Noel Vittaut, Nicolas Chesneau, Marie-Jeanne Lesot
cs.LG
cs.LG, cs.CL
Incorporating natural language rationales in the prompt and In-Context Learning (ICL) have led to a significant improvement of Large Language Models (LLMs) performance. However, generating high-quality rationales require human-annotation or the use of auxiliary proxy models. In this work, we propose Self-AMPLIFY to automatically generate rationales from post hoc explanation methods applied to Small Language Models (SLMs) to improve their own performance. Self-AMPLIFY is a 3-step method that targets samples, generates rationales and builds a final prompt to leverage ICL. Self-AMPLIFY performance is evaluated on four SLMs and five datasets requiring strong reasoning abilities. Self-AMPLIFY achieves good results against competitors, leading to strong accuracy improvement. Self-AMPLIFY is the first method to apply post hoc explanation methods to autoregressive language models to generate rationales to improve their own performance in a fully automated manner.
[ -0.5783311724662781, -0.7431364059448242, 0.6087645292282104, 0.34931111335754395, -0.24691495299339294, -0.29910963773727417, -0.2487751841545105, -0.12168567627668381, -0.0690494030714035, 0.5091449618339539, -0.5827277898788452, -0.23444849252700806, -0.17465545237064362, 0.41047537326812744, -0.2935834527015686, 0.769756555557251, 0.12446706742048264, 0.23744842410087585, -0.20822837948799133, -0.08663608878850937, -0.43968406319618225, -0.44866663217544556, -0.5860287547111511, -0.3733576834201813, 0.3512446880340576, 0.6396287083625793, 0.3701016902923584, 0.8729134202003479, 0.18977341055870056, 0.3172634243965149, 0.23193950951099396, 0.2919940948486328, -0.16111412644386292, 0.2838762402534485, -0.27306097745895386, 0.0007661464624106884, -0.32636764645576477, -0.008063497953116894, 0.6648887395858765, 0.6578684449195862, -0.12961775064468384, 0.37293174862861633, 0.11054126918315887, 0.4465674161911011, -0.3123573362827301, -0.20547866821289062, -0.5374717712402344, -0.3453928828239441, 0.07773932814598083, -0.3978559970855713, -0.4955926537513733, -0.2564718425273895, -0.07653703540563583, -0.3416414260864258, 0.23630191385746002, 0.39250272512435913, 0.4436669945716858, 0.3933810591697693, -0.32687467336654663, -0.27900999784469604, -0.7427303791046143, 0.7865750789642334, -1.0714352130889893, 0.2589496076107025, 0.37600305676460266, 0.41581639647483826, -0.2325523942708969, -0.7951217889785767, -0.5943114161491394, -0.1954449862241745, -0.4116010069847107, -0.324867308139801, 0.1300625503063202, 0.2073548138141632, 0.43026068806648254, 0.4781706929206848, -0.468769371509552, -0.03237323835492134, -0.33800679445266724, -0.27062615752220154, 0.9096716642379761, 0.01418315526098013, 0.24189268052577972, -0.3726378083229065, -0.2777499854564667, -0.0495307594537735, -0.8934534192085266, -0.06650512665510178, 0.1387598216533661, 0.2947731018066406, 0.2105780839920044, 0.5614011287689209, -0.24122542142868042, 0.6973821520805359, 0.4190668761730194, -0.1970294564962387, -0.003622962161898613, -0.38541051745414734, -0.435314804315567, 0.31725141406059265, 0.6479052305221558, -0.11597204953432083, -0.1294681280851364, 0.10505653917789459, -0.3105173408985138, -0.13342225551605225, 0.074666827917099, -0.8003948330879211, -0.3107243776321411, 0.3218986988067627, -0.3748009502887726, -0.08626286685466766, -0.3931489586830139, -0.7030778527259827, -0.04683254286646843, -0.5039004683494568, 0.8455247282981873, -0.1861700713634491, -0.038135990500450134, 0.18809562921524048, 0.15496249496936798, 0.009399551898241043, 0.33887046575546265, -0.9447423219680786, 0.14037197828292847, 0.3028146028518677, 0.6863518953323364, 0.007700291462242603, -0.4541456699371338, -0.7693701982498169, 0.28472158312797546, -0.40270474553108215, 0.9628667235374451, -0.10845310240983963, -0.3978630006313324, -0.12203774601221085, -0.05640086531639099, 0.1562136560678482, -0.4134233593940735, 0.6269281506538391, -0.2644270360469818, 0.49819204211235046, -0.3153628408908844, -0.6886533498764038, 0.0768285021185875, -0.030417807400226593, -0.4062572717666626, 1.0324499607086182, -0.031193282455205917, -0.4270675778388977, 0.10651282966136932, -0.8679563403129578, -0.5147371292114258, 0.20027312636375427, 0.0009563102503307164, -0.13443836569786072, 0.20754410326480865, 0.6627477407455444, 0.3543333411216736, -0.17812924087047577, 0.2614339292049408, -0.13530774414539337, -0.1756436675786972, -0.0008502849377691746, -0.3712943494319916, 0.5911941528320312, 0.27739256620407104, -0.4534638226032257, 0.4271864891052246, -0.6186619997024536, -0.01944444142282009, 0.07005070894956589, -0.18216758966445923, -0.2733944356441498, -0.13269449770450592, -0.6601239442825317, 0.43921899795532227, 0.10264581441879272, -0.2619346082210541, -0.004608886316418648, -0.7637568712234497, 0.24357642233371735, 0.74442058801651, 0.14774805307388306, 0.6778948307037354, -0.14960618317127228, 0.5824164748191833, -0.07895705103874207, 0.08342860639095306, -0.6664361357688904, -0.34788769483566284, -0.7224653363227844, -0.27037402987480164, 0.0996098592877388, 0.02844403125345707, -0.7314608097076416, 0.16875794529914856, 0.06854984164237976, -0.3327449858188629, -0.7282381057739258, 0.35476240515708923, 0.1846240907907486, 1.0102249383926392, 0.7008209824562073, 0.30097854137420654, -0.6892405152320862, -0.9828891754150391, -0.6243457198143005, -0.20623210072517395, -0.029978156089782715, 0.25300997495651245, 0.3401012122631073, -0.25649696588516235, 1.0428751707077026, -0.11114411801099777, -0.1750687211751938, -0.3376888930797577, 0.6091840267181396, 0.0014591572107747197, 0.5871667265892029, 0.251071035861969, -0.34515711665153503, -0.42779242992401123, -0.3085842728614807, -0.5746821761131287, -0.6013967990875244, -0.1633012294769287, -0.09757271409034729, 0.13511349260807037, 0.5821890234947205, -0.4464535713195801, 0.3436245620250702, 0.49323272705078125, -0.45010632276535034, 0.7425142526626587, -0.3017388880252838, 0.2687896192073822, -0.5139561295509338, -0.10272747278213501, -0.050215404480695724, -0.3753848373889923, -0.5188373923301697, -0.15156127512454987, 0.0632854625582695, -0.21535243093967438, -0.3075096905231476, 0.871780514717102, -0.6401258111000061, -0.11178162693977356, -0.5769671201705933, 0.4643986225128174, 0.11625733226537704, 0.3200550973415375, -0.07459854334592819, 0.9902342557907104, 0.5169587135314941, -0.7685925364494324, 0.14286726713180542, 0.07564866542816162, 0.04305324703454971, 0.22591540217399597, -0.7605526447296143, -0.021844210103154182, -0.1795610785484314, 0.2682356834411621, -1.2609938383102417, -0.5518989562988281, 0.12661528587341309, -0.22205160558223724, 0.011883096769452095, -0.16154561936855316, -0.31109389662742615, -0.6405640244483948, 0.051027219742536545, 0.42167726159095764, 0.5782479643821716, -1.2027214765548706, 0.6951161026954651, 0.31021296977996826, -0.12873215973377228, -0.13312768936157227, -0.5551652312278748, -0.05459309369325638, -0.3638856112957001, -0.680570125579834, 0.12398310005664825, -0.4852425754070282, -0.37098389863967896, -0.32988297939300537, -0.007785195019096136, 0.156808540225029, -0.0032164589501917362, 0.08919449150562286, 0.08092399686574936, -0.2823178768157959, 0.714674711227417, 0.31496334075927734, -0.13003364205360413, 0.284186452627182, -0.4595591425895691, 0.2814750373363495, -0.307073712348938, -0.39072728157043457, -0.5137863755226135, 0.3219885528087616, 0.2621431350708008, -0.15145859122276306, 0.5579665899276733, 0.36539125442504883, -0.23976637423038483, -0.44665613770484924, -0.730533242225647, -0.8481422662734985, -0.5391297936439514, -0.2941048741340637, -0.46438783407211304, -0.9741955399513245, 0.32091042399406433, -0.28715065121650696, -0.057084761559963226, 0.7451379895210266, 0.5831251740455627, -0.052529700100421906, 1.5279003381729126, 0.1668313890695572, 0.35668686032295227, 0.21586637198925018, 0.09400279819965363, 0.28061750531196594, -0.6482508182525635, -0.02168893814086914, -0.5099080801010132, 0.10313030332326889, -0.09217476844787598, -0.44101956486701965, 0.09099768847227097, 0.24602121114730835, -0.05176765099167824, 0.2384006232023239, -0.660219132900238, 0.49220648407936096, 0.45526668429374695, -0.3326876759529114, 0.3389785885810852, 0.04926932603120804, -0.24545057117938995, -0.22759829461574554, -0.8049948811531067, -0.6357925534248352, 0.7611927390098572, 0.4338548183441162, 0.8161334991455078, -0.0013892739079892635, 0.8074581623077393, 0.29395028948783875, 0.5810540914535522, -0.5770860314369202, 0.49049174785614014, 0.38670381903648376, -0.7129992246627808, -0.6505323052406311, -0.42569446563720703, -0.6436915397644043, 0.3169320523738861, -0.014665927737951279, -0.5377230048179626, 0.2044098824262619, 0.7440257668495178, -0.3963243067264557, -0.20964747667312622, -0.9096549153327942, 0.9467054009437561, -0.31616678833961487, -0.472625732421875, -0.22912919521331787, -0.3323349356651306, 0.5259125828742981, 0.0012808488681912422, 0.4899372160434723, -0.13112974166870117, 0.05447471886873245, 0.5354758501052856, -0.6272672414779663, 0.6428146958351135, -0.22406907379627228, -0.140587717294693, 0.49832043051719666, 0.22932592034339905, 0.8173139095306396, 0.24359175562858582, -0.26862961053848267, -0.07943733036518097, -0.2778533101081848, -0.3471216559410095, -0.7773318886756897, 0.8850786089897156, -0.36214184761047363, -1.0108410120010376, -0.06967594474554062, -0.3087843358516693, -0.12347825616598129, 0.13788560032844543, 0.2049238234758377, 0.5706000924110413, 0.19687137007713318, 0.11967532336711884, 0.5639632344245911, -0.05922940373420715, 0.691505491733551, 0.5715138912200928, -0.4508931040763855, -0.4908895492553711, 0.6060882806777954, 0.09989221394062042, 0.3168385922908783, -0.2103770226240158, 0.5970191955566406, -0.7885317206382751, -0.4823119342327118, -0.6495276689529419, 0.4016074240207672, -0.9417903423309326, -0.1591472178697586, -0.7971028685569763, 0.02032584510743618, -0.7656862735748291, -0.1878044456243515, -0.34958189725875854, -0.5399309992790222, -0.3687435984611511, -0.08028043061494827, 0.2784885764122009, 0.7196316123008728, -0.5208712816238403, 0.5305286049842834, -0.39210978150367737, 0.4042101800441742, 0.6777905225753784, 0.12104243785142899, -0.024887481704354286, -0.8592424392700195, -0.4651678502559662, 0.1000458151102066, -0.006622160319238901, -1.0673048496246338, 0.6493051052093506, 0.31274545192718506, 0.7233641743659973, 0.15402555465698242, 0.2608366310596466, 1.097415566444397, -0.4323332905769348, 0.8494041562080383, 0.08730883151292801, -1.3955620527267456, 1.0713417530059814, -0.28870266675949097, 0.3763106167316437, 0.4037708640098572, 0.3466631770133972, -0.11802814155817032, -0.4141116440296173, -0.8287371397018433, -0.8211309313774109, 0.6907385587692261, 0.2776065170764923, -0.18395762145519257, -0.26260313391685486, 0.5224517583847046, -0.08524692803621292, 0.08128465712070465, -0.9357663989067078, -0.21042418479919434, -0.5113198161125183, -0.2275332808494568, -0.12058740854263306, -0.49437421560287476, -0.2052004486322403, -0.37470024824142456, 1.1185585260391235, -0.6127116084098816, 0.024082865566015244, 0.6645448207855225, -0.23908931016921997, -0.4846402108669281, 0.12521657347679138, 0.5600613355636597, 0.6909827589988708, 0.16846054792404175, 0.39155077934265137, 0.5130941867828369, 0.2827063500881195, 0.2010183334350586, 0.08036961406469345, -0.005950593855232, 0.11287006735801697, 0.30580395460128784, 0.5765023231506348, 0.17894788086414337, -0.6419752240180969, 0.4736737012863159, -0.30214181542396545, 0.03922662138938904, -0.29365241527557373, 0.1634625792503357, 0.06482519209384918, 0.13870610296726227, 0.551507830619812, -0.24658825993537903, 0.4277147650718689, -0.2964327931404114, 0.39801692962646484, 0.3727547228336334, -0.04319305345416069, -0.18989896774291992, 0.6741534471511841, 0.1841258853673935, -0.5171154737472534, 0.13325698673725128, -0.3135834038257599, -0.26021742820739746, 0.28840115666389465, 0.8710523843765259, 0.7284546494483948, -0.7155534625053406, 0.22516484558582306, 0.8300228118896484, 0.2044043242931366, -0.26854193210601807, 0.0372898131608963, -0.4009394943714142, -0.3492169976234436, -0.7893665432929993, -0.6806824207305908, -0.16142310202121735, 0.12201950699090958, -0.3969421684741974, 0.23543605208396912, -0.3313586711883545, 0.07962042093276978, 0.05886780470609665, -0.09115592390298843, -0.27486637234687805, 0.44827860593795776, -0.05560285970568657, 0.7292419672012329, -0.8220041394233704, 0.8470607995986938, 0.49075210094451904, -0.30061593651771545, -1.0789717435836792, -0.0008282461785711348, -0.18471617996692657, -0.5214083194732666, 0.8173589110374451, 0.18034130334854126, -0.2758365273475647, 0.31620773673057556, -0.6743983626365662, -1.0225027799606323, 0.9001513123512268, 0.3454301655292511, -0.55729740858078, 0.3122160732746124, -0.10744829475879669, 0.616884708404541, -0.8371827602386475, 0.29311516880989075, 0.49239176511764526, 0.5228287577629089, 0.15903986990451813, -0.520065426826477, 0.1405528336763382, 0.03332686424255371, -0.00952827651053667, -0.10478419810533524, -0.08248525112867355, 0.5887606143951416, -0.23698924481868744, -0.3392777144908905, -0.01230439729988575, 0.9773963689804077, 0.46467071771621704, 0.269212543964386, 0.6255188584327698, 0.25016865134239197, 0.6594254374504089, 0.021668901666998863, 0.941670835018158, -0.5232574343681335, 0.4498006999492645, 1.4607731103897095, 0.030857199802994728, 0.6600738763809204, 0.6012395620346069, 0.29423797130584717, 0.6862552165985107, 0.6786555647850037, 0.27427902817726135, 0.32388758659362793, -0.018979836255311966, -0.43336647748947144, -0.7027694582939148, -0.011189845390617847, -0.23225842416286469, 0.22058667242527008, 0.43373364210128784, -0.5939593315124512, -0.243418887257576, 0.3318992555141449, -0.2747959792613983, 0.10034088045358658, -0.29590871930122375, 0.7770459055900574, 0.09960200637578964, -1.1246263980865479, 0.5185540318489075, -0.10490383207798004, 0.08891257643699646, -0.42972081899642944, 0.01812281645834446, -0.21690621972084045, 0.07267216593027115, -0.15374161303043365, -0.4865541458129883, 0.4971606135368347, -0.3277643918991089, -0.11175242811441422, -0.48670661449432373, 1.0807323455810547, -0.6476055979728699, -0.3391043245792389, 0.43656158447265625, 0.4067372977733612, 0.28379184007644653, -0.055244337767362595, -0.7363601326942444, -0.11763796210289001, -0.017143575474619865, -0.3587004840373993, -0.0168687142431736, 0.5124446749687195, 0.13510896265506744, 0.7837445139884949, 0.8739917278289795, 0.05982498452067375, 0.11971651017665863, 0.19892242550849915, 0.8195914626121521, -0.5362298488616943, -0.5549073219299316, -1.016777753829956, 0.657669723033905, -0.11502039432525635, -0.12110528349876404, 1.2395848035812378, 0.28132104873657227, 0.49000775814056396, -0.14960798621177673, 0.5735852122306824, 0.23849786818027496, 0.8012754321098328, -0.38673728704452515, 0.30716922879219055, -0.7553660273551941, 0.5612143278121948, -0.018989307805895805, -0.5549853444099426, -0.17125535011291504, 0.7350031137466431, -0.5791732668876648, 0.04486461356282234, 0.6204693913459778, 0.918655514717102, 0.06717148423194885, 0.01560808252543211, 0.5292648673057556, 0.4340895116329193, 0.271345853805542, -0.2918816804885864, 0.8668422698974609, -0.24739126861095428, 0.4549785256385803, -0.47981807589530945, -0.1400570124387741, -0.3281351625919342, -0.9662808179855347, -1.1436865329742432, -0.48623496294021606, -0.4722771644592285, -0.4321359694004059, -0.09763925522565842, 0.9553461074829102, 1.038985013961792, -0.7169806361198425, -0.20398284494876862, -0.40873628854751587, 0.24344587326049805, -0.09940584748983383, -0.3007358908653259, 0.23122155666351318, -0.9045252799987793, -0.48307207226753235, 0.849626362323761, 0.47412246465682983, 0.17917625606060028, -0.7062376737594604, -0.4022608995437622, -0.12256040424108505, 0.44303038716316223, 0.7018603086471558, 0.39522650837898254, -0.9676322937011719, -0.3016333281993866, -0.18082551658153534, -0.08978984504938126, 0.12194334715604782, 0.8948096632957458, -1.1021533012390137, 0.5573005080223083, 0.4523680508136749, 0.25181493163108826, 0.3684965670108795, 0.34445685148239136, 0.6700133681297302, -0.7625955939292908, -0.09195683151483536, 0.20965160429477692, 0.46644943952560425, 0.48030123114585876, -0.5223901271820068, 0.3531631529331207, 0.11102765053510666, -0.8858709931373596, -0.8389378190040588, 0.23041954636573792, -0.4309747517108917, -0.33428266644477844, 1.1414726972579956, -0.1702916920185089, -0.31975218653678894, -0.2583814263343811, -0.31291475892066956, 0.12970905005931854, -0.2783832252025604, 0.8093428611755371, 0.37019801139831543, -0.302146315574646, -0.5452611446380615, -0.20271943509578705, 0.9506858587265015, 0.43404823541641235, -0.984815239906311, 0.20082411170005798, 0.6279895901679993, 0.11620382219552994, 0.2050757110118866, 0.6079800128936768, 0.036690376698970795, 0.29061299562454224, -0.10319165140390396, 0.03832678869366646, 0.0524863563477993, -0.47888925671577454, -0.5726170539855957, 0.18884187936782837, 0.17160621285438538, 0.2684837281703949 ]
http://arxiv.org/abs/2402.12036v2
http://arxiv.org/pdf/2402.12036v2
Language Model Adaptation to Specialized Domains through Selective Masking based on Genre and Topical Characteristics
2024-02-19T10:43:27
2024-02-26T16:47:36
Anas Belfathi, Ygor Gallina, Nicolas Hernandez, Richard Dufour, Laura Monceaux
cs.CL
cs.CL
Recent advances in pre-trained language modeling have facilitated significant progress across various natural language processing (NLP) tasks. Word masking during model training constitutes a pivotal component of language modeling in architectures like BERT. However, the prevalent method of word masking relies on random selection, potentially disregarding domain-specific linguistic attributes. In this article, we introduce an innovative masking approach leveraging genre and topicality information to tailor language models to specialized domains. Our method incorporates a ranking process that prioritizes words based on their significance, subsequently guiding the masking procedure. Experiments conducted using continual pre-training within the legal domain have underscored the efficacy of our approach on the LegalGLUE benchmark in the English language. Pre-trained language models and code are freely available for use.
[ -0.4432433545589447, -0.6960790157318115, 0.38406771421432495, 0.32378777861595154, -0.5645084977149963, 0.328017920255661, -0.2458646297454834, -0.45775654911994934, 0.4033370316028595, 0.9787646532058716, -0.3574991226196289, -0.7439074516296387, -0.8772452473640442, -0.31987759470939636, -0.27655789256095886, 1.095655083656311, 0.2765941917896271, -0.07815293222665787, -0.2077254354953766, -0.2917770445346832, -0.6084723472595215, -0.9067659974098206, -0.604325532913208, -0.26243075728416443, 0.2299644649028778, -0.18481358885765076, 0.4932834208011627, 0.43953657150268555, 0.5558112859725952, 0.2583017349243164, 0.1458907425403595, -0.12825751304626465, -0.4278452694416046, 0.14513789117336273, -0.416561484336853, -0.5341605544090271, -0.4185589551925659, 0.17099769413471222, 0.5322736501693726, 0.6415706872940063, -0.27277514338493347, 0.004919430706650019, -0.29800641536712646, 0.44200366735458374, -0.6026387810707092, -0.26377958059310913, -1.2244752645492554, 0.09059450775384903, -0.5294200778007507, -0.2890988290309906, -0.38981640338897705, -0.10590445250272751, 0.21367821097373962, -0.5584221482276917, 0.4875984191894531, 0.1730988770723343, 0.9693247079849243, 0.12121134996414185, -0.017756791785359383, -0.11540215462446213, -0.7563941478729248, 0.6382726430892944, -0.6986116766929626, 0.35946670174598694, 0.5270400047302246, 0.3217827081680298, 0.12069129198789597, -0.9566448330879211, -0.2823653221130371, -0.3723267614841461, 0.04948240891098976, 0.03188799321651459, -0.1626468300819397, 0.13869096338748932, -0.01794629916548729, 0.09619662165641785, -0.5107242465019226, 0.130263552069664, -0.2530193328857422, -0.2804548740386963, 0.570955753326416, -0.3019336760044098, 0.42875444889068604, 0.24231138825416565, -0.39898574352264404, 0.09774935990571976, -0.7092452645301819, 0.060565125197172165, 0.33601367473602295, 0.30782637000083923, 0.4440442621707916, 0.2217683494091034, -0.11311115324497223, 0.6969832181930542, 0.029016297310590744, -0.13507291674613953, 0.1213471069931984, 0.1621205359697342, -0.34664738178253174, 0.011737908236682415, 0.2645566463470459, 0.009180576540529728, 0.2274319976568222, -0.38416820764541626, -0.5413780808448792, -0.07545125484466553, 0.7761827111244202, -0.5868325233459473, -0.25857776403427124, 0.11029200255870819, -0.2613731026649475, -0.24483709037303925, 0.01303823385387659, -0.3808085024356842, -0.32011452317237854, -0.3255631625652313, 0.6214441657066345, -0.21612471342086792, -0.1443592756986618, 0.40447506308555603, -0.0328449010848999, -0.15151430666446686, 0.2673598527908325, -0.889365553855896, 0.5726847648620605, 0.7579215168952942, 0.5224634408950806, -0.46839383244514465, -0.04339132085442543, -0.45172321796417236, 0.24942725896835327, -0.29778727889060974, 0.8730345368385315, -1.053931474685669, -0.12466142326593399, 0.11941290646791458, -0.02839653193950653, -0.21310004591941833, -0.7374053001403809, 0.4181058704853058, -1.0740362405776978, -0.0671592652797699, 0.2014024257659912, -0.38884052634239197, -0.35613521933555603, 0.06053725257515907, -0.5028941631317139, 0.9000245928764343, 0.23868334293365479, -0.5287074446678162, 0.7057161927223206, -0.4966205954551697, -0.42208167910575867, 0.4441385269165039, 0.06701803207397461, -0.5205857157707214, 0.12033822387456894, 0.21325933933258057, 0.3727315068244934, 0.09183920174837112, 0.5702998042106628, -0.1591891497373581, -0.22152745723724365, 0.18286840617656708, 0.09723863750696182, 0.673816442489624, 0.27124476432800293, -0.3210310935974121, 0.4363718032836914, -0.6637358665466309, -0.04947875067591667, -0.059244684875011444, -0.04937246814370155, -0.6021364331245422, 0.04807686433196068, 0.1491529643535614, 0.26603350043296814, 0.05652473866939545, -0.29090264439582825, -0.06974464654922485, -0.43867817521095276, 0.27942898869514465, 0.6367467045783997, 0.07685970515012741, 0.5501851439476013, -0.3485845625400543, 0.9119722247123718, 0.08948677033185959, -0.09411989897489548, 0.30608949065208435, -0.650189220905304, -0.7677603960037231, -0.5903688669204712, 0.8043447732925415, 0.7084716558456421, -0.6113085746765137, 0.5013332962989807, -0.30395424365997314, -0.4731670618057251, -0.6796364784240723, 0.04199860990047455, 0.25058022141456604, 0.047203078866004944, 0.23925144970417023, -0.9231154918670654, -0.5032161474227905, -0.9250169396400452, -0.416598916053772, 0.11307795345783234, -0.27180129289627075, 0.28679266571998596, 0.31043541431427, -0.22117936611175537, 1.0905979871749878, -0.5418886542320251, -0.6023091673851013, -0.34595125913619995, 0.39247024059295654, 0.06105770170688629, 0.42687833309173584, 0.9639685153961182, -0.7933179140090942, -0.5069025158882141, -0.13027308881282806, -0.12297877669334412, -0.4227532744407654, -0.1591164916753769, -0.26268354058265686, -0.024239588528871536, 0.5897846221923828, -0.2812979519367218, 0.25792181491851807, 0.2826472818851471, -0.07159028947353363, 0.510879397392273, -0.20034192502498627, 0.02799890749156475, -0.6642746925354004, 0.032063618302345276, -0.029907558113336563, -0.7184105515480042, -0.8785439729690552, 0.47591397166252136, -0.37549227476119995, -0.17474660277366638, -0.46926388144493103, 0.6163960695266724, -0.4638240337371826, 0.022628754377365112, -0.3988601267337799, 0.06850515305995941, -0.029320180416107178, 0.4778830409049988, 0.5309504866600037, 0.6204319596290588, 0.7520917654037476, -0.6173185110092163, -0.08477079123258591, -0.04991724714636803, -0.5533034205436707, 0.22650499641895294, -0.4483262002468109, 0.34446990489959717, -0.12503179907798767, 0.049378350377082825, -0.633500337600708, 0.07917077094316483, 0.2102309614419937, -0.10492264479398727, 0.549289345741272, -0.3519684374332428, -0.2631421983242035, -0.234203040599823, -0.1314319223165512, 0.4322296679019928, 0.6314639449119568, -0.03759458661079407, 0.4538869857788086, 0.8770748376846313, -0.5063591003417969, -0.4709850549697876, -0.3720725476741791, 0.23681595921516418, -0.4319474399089813, -0.36515727639198303, 0.7928658723831177, -0.0938708707690239, -0.059521161019802094, -0.08148469030857086, -0.012301298789680004, -0.6150732636451721, 0.33154532313346863, 0.028795583173632622, -0.07069461792707443, -0.38287296891212463, 0.025449085980653763, 0.024043399840593338, 0.07977425307035446, 0.023700373247265816, -0.40111756324768066, 0.5441939830780029, 0.15808835625648499, -0.1412949115037918, 0.2081281691789627, 0.42241278290748596, 0.24418282508850098, -0.5773038864135742, 0.6701753735542297, 0.5245128870010376, -0.485307514667511, -0.7225613594055176, -0.6565864086151123, -0.1199592724442482, -0.5055868029594421, 0.509861171245575, -0.4250059723854065, -1.0813945531845093, 0.5364223718643188, -0.009377297013998032, -0.07884460687637329, 0.3311014175415039, 0.571454644203186, 0.1985483020544052, 0.6468778848648071, 1.140689492225647, -0.07291753590106964, 0.6346179246902466, 0.31029197573661804, 0.5903818607330322, -0.4364400804042816, 0.06870760023593903, -0.4512631595134735, -0.05984066426753998, -0.4774603247642517, -0.655151903629303, 0.2434355467557907, 0.16001710295677185, 0.16951964795589447, 0.48089560866355896, -0.686658501625061, 0.5564489960670471, 0.6193942427635193, 0.12151122093200684, 0.07383628189563751, 0.3568236231803894, -0.015243113972246647, -0.22725550830364227, -0.6215880513191223, -0.5578280091285706, 1.0156573057174683, 0.3689865469932556, 0.39683425426483154, -0.024615855887532234, 0.7199627161026001, 0.522091269493103, 0.67447429895401, -0.5456154346466064, 0.5715361833572388, -0.45839983224868774, -0.8814630508422852, -0.38314270973205566, 0.06585026532411575, -0.9547539353370667, 0.4317834973335266, -0.3650802969932556, -0.9182764887809753, 0.1849275827407837, -0.16327491402626038, -0.5024994611740112, 0.18195906281471252, -0.3197411596775055, 0.6136215925216675, 0.1946837157011032, -0.059927575290203094, -0.30213209986686707, -0.6065608263015747, 0.34091559052467346, -0.6095983982086182, 0.4002588391304016, -0.31325259804725647, 0.14796039462089539, 0.9039639234542847, -0.03896008059382439, 0.8593263030052185, -0.15402598679065704, 0.06648934632539749, 0.31274378299713135, 0.15972104668617249, 0.06972727924585342, 0.03936522826552391, -0.016028687357902527, 0.17800574004650116, -0.01082072127610445, -0.36925601959228516, -0.3888208270072937, 0.4392869472503662, -0.543764054775238, -1.0873432159423828, -0.38348662853240967, -0.5107072591781616, -0.3292538821697235, 0.3638407289981842, 0.11039154976606369, 0.1804661750793457, -0.3253892958164215, 0.02821209467947483, 0.8868056535720825, -0.26428118348121643, 0.24725115299224854, 0.7267326712608337, -0.28168386220932007, -0.16999511420726776, 1.0058211088180542, 0.22986803948879242, 0.09988005459308624, 0.5174834132194519, 0.050059664994478226, -0.09406786412000656, -1.0146489143371582, -0.09644874930381775, 0.21723268926143646, -0.8471384644508362, -0.06580118089914322, -0.9235305786132812, -0.5898728370666504, -0.5626784563064575, -0.29447662830352783, -0.06605435162782669, -0.4233313500881195, -0.10145356506109238, -0.011167858727276325, 0.03917935490608215, 0.7072814702987671, 0.27619031071662903, 0.20672845840454102, -0.7189167141914368, 0.4479573667049408, 0.5164206624031067, 0.4533117115497589, -0.3692325949668884, -0.8357467651367188, -0.14734716713428497, -0.2149355411529541, -0.21499356627464294, -0.591198742389679, 0.43956923484802246, 0.5495302677154541, 0.8313102126121521, 0.22352385520935059, 0.09644593298435211, 0.3087192177772522, -0.9587752223014832, 0.8448383212089539, -0.0961797907948494, -1.0225416421890259, 0.690495491027832, -0.3760858476161957, -0.003323107725009322, 0.5996220707893372, 0.3321719765663147, -0.41148364543914795, -0.8989420533180237, -0.5953200459480286, -1.002747654914856, 0.5459769368171692, 0.12450236082077026, 0.48131871223449707, 0.08389068394899368, 0.2774066627025604, 0.32094743847846985, 0.45504507422447205, -1.145174503326416, 0.03824011608958244, -0.13534535467624664, 0.059586551040410995, 0.06370490044355392, -0.3932347595691681, -0.36149862408638, -0.1914038509130478, 0.6434632539749146, 0.10058265924453735, 0.2775944173336029, -0.04457587003707886, -0.5756329894065857, 0.2284761667251587, 0.26429036259651184, 0.9638969898223877, 0.8847187161445618, -0.28795796632766724, -0.005135487765073776, -0.14899349212646484, -0.7110628485679626, 0.09085646271705627, -0.020699268206954002, -0.08693023771047592, 0.3513942360877991, 0.43569719791412354, 0.7478739619255066, 0.16642005741596222, -0.4768674075603485, 0.6528261303901672, 0.2922344505786896, -0.1670946478843689, -0.01924961246550083, 0.23075547814369202, -0.05923276022076607, -0.10312846302986145, 0.3119250237941742, 0.19651035964488983, 0.2528049051761627, -0.4745437502861023, 0.4830605089664459, 0.35057929158210754, -0.28482016921043396, -0.2651648223400116, 0.751842737197876, 0.19588884711265564, -0.37370434403419495, 0.11981348693370819, -0.1653863936662674, -0.6489437818527222, 0.679853618144989, 0.6396862268447876, 1.0956546068191528, -0.40302228927612305, 0.31473544239997864, 0.13063058257102966, 0.3423948585987091, 0.04820971563458443, -0.044164158403873444, 0.1337701976299286, -0.7946243286132812, -0.28643426299095154, -0.9051458835601807, -0.1981644183397293, 0.16048890352249146, -0.6000774502754211, 0.19164271652698517, -0.7153186798095703, -0.30525830388069153, 0.13748429715633392, -0.32883647084236145, -0.6728139519691467, 0.5403710007667542, 0.37471380829811096, 0.8894739151000977, -1.0208182334899902, 1.1924047470092773, 0.7533566951751709, -0.13187436759471893, -0.2564474940299988, 0.19140298664569855, -0.39989736676216125, -0.8736948370933533, 0.9111526012420654, 0.11439186334609985, -0.14891228079795837, 0.024696076288819313, -0.4083578884601593, -0.8257788419723511, 0.5647220611572266, 0.28035983443260193, -0.37214162945747375, 0.1983378380537033, 0.2780579626560211, 0.7294698357582092, -0.7944192886352539, -0.056956373155117035, 0.5566295385360718, 0.17006532847881317, -0.13087667524814606, -0.749165415763855, 0.04599187523126602, -0.2697252631187439, 0.27915534377098083, -0.021922387182712555, -0.22324635088443756, 0.5122406482696533, 0.21258848905563354, -0.19395482540130615, -0.22639165818691254, 0.5356353521347046, 0.244139164686203, 0.16959470510482788, 0.6234843730926514, 0.48120516538619995, 0.6899927854537964, -0.06094012036919594, 0.7285960912704468, -0.32322269678115845, 0.16185933351516724, 0.9888544678688049, -0.48824799060821533, 0.845592200756073, 0.23645727336406708, -0.3407140076160431, 0.6542956829071045, 0.7040536999702454, -0.014931697398424149, 1.0233279466629028, 0.5973937511444092, -0.3223397433757782, -0.3800102770328522, -0.20591284334659576, -0.36687609553337097, 0.41010576486587524, 0.4085704982280731, -0.15551576018333435, 0.03412863612174988, 0.20522113144397736, -0.177283376455307, 0.253644734621048, -0.3288091719150543, 0.7528743147850037, 0.1594618409872055, -0.666390597820282, 0.3925720453262329, 0.3307516574859619, 0.7245628833770752, -0.8242161870002747, 0.06725523620843887, -0.1551954746246338, -0.270435631275177, 0.027663694694638252, -0.3899939954280853, 0.3482937216758728, -0.1766745150089264, -0.33422598242759705, -0.5419796109199524, 0.8745690584182739, -0.574277937412262, -0.5282729268074036, 0.2657053768634796, 0.22948212921619415, 0.1578291952610016, -0.18826600909233093, -0.6439611315727234, -0.1730777621269226, -0.3622712194919586, -0.16342943906784058, 0.629294216632843, 0.4223755896091461, -0.44856777787208557, 0.6190751194953918, 0.583037257194519, 0.22287623584270477, 0.24538210034370422, 0.4663204252719879, 0.8560081124305725, -0.4824240207672119, -0.9810915589332581, -0.41064226627349854, 0.5028689503669739, -0.07197356224060059, -0.16365866363048553, 0.35798728466033936, 0.25500181317329407, 0.7664811015129089, -0.4187438488006592, 0.5675384402275085, 0.1257277876138687, 0.3812326490879059, -0.754455029964447, 1.070833683013916, -0.3938593864440918, 0.43571117520332336, -0.283370703458786, -1.1348117589950562, -0.5778301358222961, 0.5555833578109741, -0.2860557436943054, 0.13718028366565704, 0.7286202311515808, 0.8141124844551086, -0.19239190220832825, -0.46157190203666687, 0.7367714047431946, -0.036918312311172485, 0.22064557671546936, 0.1998690962791443, 0.35726404190063477, -0.015101240016520023, -0.00029089945019222796, -0.10679567605257034, -0.253544420003891, -0.2769092321395874, -1.0007154941558838, -1.0750869512557983, -0.6189821362495422, -0.5538425445556641, -0.0506482757627964, 0.16391479969024658, 0.6051439046859741, 1.1305394172668457, -1.1974726915359497, -0.020413996651768684, 0.1562930941581726, -0.003863070858642459, -0.292474627494812, -0.2264401912689209, 0.23435553908348083, -0.5878717303276062, -0.4793088138103485, 0.3779471814632416, 0.3489835858345032, -0.1221710592508316, -0.06505873799324036, 0.3501408100128174, -0.1958225518465042, 0.46025362610816956, 0.5880579948425293, -0.036714714020490646, -0.9836760759353638, -0.4655386209487915, -0.2957775592803955, -0.13417910039424896, 0.14333757758140564, 1.250601887702942, -0.5644522905349731, 0.5360145568847656, 0.17862339317798615, 0.7623737454414368, 0.30113327503204346, -0.14479632675647736, 0.7590367197990417, -1.088335394859314, 0.4539601504802704, 0.5839661955833435, 0.17213338613510132, 0.20023183524608612, -0.5045557022094727, 0.47731831669807434, 0.33941134810447693, -0.34293943643569946, -0.8859139680862427, 0.17734479904174805, -0.8091605305671692, -0.6192923784255981, 0.9145689606666565, -0.40419790148735046, -0.018049847334623337, -0.39495038986206055, -0.06980644911527634, -0.06422697752714157, -0.04085639491677284, 0.9407414793968201, 0.9944872260093689, 0.3750319182872772, -0.1686895489692688, -0.7426760196685791, 0.720222532749176, 0.5528110861778259, -0.6463796496391296, -0.28157830238342285, -0.0340629518032074, 0.5365941524505615, 0.0762045606970787, 0.9040442705154419, -0.007907300256192684, 0.18627439439296722, -0.22190314531326294, 0.13893207907676697, 0.22993414103984833, -0.4782475233078003, -0.3923131823539734, 0.32167884707450867, 0.2745407223701477, -0.0615399032831192 ]
http://arxiv.org/abs/2402.12030v2
http://arxiv.org/pdf/2402.12030v2
Towards Cross-Tokenizer Distillation: the Universal Logit Distillation Loss for LLMs
2024-02-19T10:37:29
2024-02-20T14:46:03
Nicolas Boizard, Kevin El Haddad, Céline Hudelot, Pierre Colombo
cs.CL
cs.CL
Deploying large language models (LLMs) of several billion parameters can be impractical in most industrial use cases due to constraints such as cost, latency limitations, and hardware accessibility. Knowledge distillation (KD) offers a solution by compressing knowledge from resource-intensive large models to smaller ones. Various strategies exist, some relying on the text generated by the teacher model and optionally utilizing his logits to enhance learning. However, these methods based on logits often require both teacher and student models to share the same tokenizer, limiting their applicability across different LLM families. In this paper, we introduce Universal Logit Distillation (ULD) loss, grounded in optimal transport, to address this limitation. Our experimental results demonstrate the effectiveness of ULD loss in enabling distillation across models with different architectures and tokenizers, paving the way to a more widespread use of distillation techniques.
[ -0.0544387586414814, -0.3411961793899536, 0.8998410701751709, 0.05944822356104851, -0.5448194742202759, 0.1969662755727768, -0.10718713700771332, -0.14234879612922668, -0.13439054787158966, 0.28304895758628845, -0.08354395627975464, -0.28714877367019653, -0.5878526568412781, -0.16430270671844482, -0.5582830309867859, 1.0037782192230225, -0.3009299039840698, 0.25465497374534607, -0.4701094627380371, -0.19466382265090942, -0.6485726237297058, -0.9737868905067444, -0.6941399574279785, -0.6680075526237488, 0.5328083038330078, 0.20469006896018982, 0.3695966899394989, 0.35008183121681213, 0.22008126974105835, 0.16511164605617523, -0.4041588306427002, -0.1561574935913086, -0.4500744044780731, 0.017663339152932167, -0.3598339557647705, -0.9621908664703369, -0.027880892157554626, -0.17132948338985443, 0.5602227449417114, 0.8844298124313354, -0.27919402718544006, 0.11277267336845398, 0.34553423523902893, 0.7021567821502686, -0.7139863967895508, -0.1722448766231537, -0.7751187086105347, 0.3300873339176178, -0.043661706149578094, -0.13942191004753113, -0.44911104440689087, -0.12498265504837036, 0.008771798573434353, -0.31632715463638306, 0.12724518775939941, 0.22024677693843842, 0.6492157578468323, 0.30085834860801697, -0.8382353782653809, -0.22168999910354614, -1.0356204509735107, 0.709780216217041, -0.7233021855354309, 0.5810467600822449, -0.04444633051753044, 0.39558473229408264, -0.07417720556259155, -0.7247716188430786, -0.4115416407585144, 0.16390296816825867, -0.23339974880218506, -0.07128151506185532, -0.33959218859672546, 0.23519670963287354, -0.2144092321395874, 0.19474686682224274, -0.251050740480423, 0.253936767578125, -0.37666112184524536, -0.1613011658191681, 0.24791763722896576, 0.3161652386188507, 0.03301478177309036, 0.09349564462900162, -0.5572997331619263, -0.010896255262196064, -0.8819582462310791, -0.07454334199428558, 0.2881407141685486, 0.09329544752836227, 0.2791779339313507, 0.3253641724586487, 0.008259231224656105, 0.5254817008972168, -0.05285080149769783, -0.24463948607444763, -0.26290184259414673, -0.48586568236351013, -0.35706761479377747, 0.3248288035392761, 0.72016441822052, 0.3751106262207031, 0.003477168269455433, -0.22632041573524475, -0.29024747014045715, -0.29579514265060425, -0.2025829553604126, -1.0097352266311646, -0.3057190179824829, -0.0731964036822319, -0.4072169065475464, -0.36973556876182556, -0.14284691214561462, -0.4668329060077667, -0.35724326968193054, -0.2503100633621216, 0.5678094029426575, -0.023623069748282433, -0.2580220103263855, 0.12920932471752167, -0.497043639421463, -0.02403273433446884, 0.00005407940625445917, -1.1813795566558838, 0.3229631781578064, 0.45009928941726685, 1.1139174699783325, -0.30512988567352295, -0.014806875959038734, -0.18458010256290436, 0.5443498492240906, -0.19137650728225708, 0.5330970883369446, -0.3328120708465576, -0.7301964163780212, -0.41068944334983826, -0.21338438987731934, -0.034233514219522476, -0.7785338759422302, 0.5402166247367859, -0.3879458010196686, -0.05065850540995598, -0.23137697577476501, -0.7765948176383972, -0.29260075092315674, -0.1446933001279831, -0.5107220411300659, 0.8787903785705566, 0.049153443425893784, -0.7026484608650208, 0.5438714027404785, -0.5093467831611633, -0.4404170513153076, -0.11789561808109283, -0.2744695842266083, -0.3131202459335327, 0.6252706050872803, 0.09481615573167801, 0.7661646604537964, -0.4215681552886963, 0.6294650435447693, -0.21520859003067017, -0.14889438450336456, -0.08375368267297745, -0.8823645114898682, 0.9002164602279663, 0.26666197180747986, -0.2977580726146698, -0.11545826494693756, -0.726912796497345, -0.34715738892555237, 0.0009204795933328569, -0.6388823986053467, -0.954216480255127, -0.1736065298318863, 0.37397366762161255, -0.058423977345228195, 0.1244763731956482, -0.640354573726654, 0.33560997247695923, 0.10387194156646729, 0.6090835928916931, 1.1191030740737915, -0.1558089554309845, 0.5196271538734436, -0.21426130831241608, 0.4839445948600769, 0.24746525287628174, 0.3005744218826294, 0.11985955387353897, -0.3236185908317566, -0.7980185747146606, -0.21416808664798737, 0.3393097519874573, 0.3280216455459595, -0.4197115898132324, 0.19345028698444366, -0.3276682496070862, -0.485734224319458, -0.3872138559818268, 0.2474384605884552, 0.09193217009305954, 0.5251372456550598, 0.05912451073527336, 0.033352650701999664, -0.7518764734268188, -0.7510588765144348, -0.14970816671848297, -0.3832094073295593, -0.003801463870331645, 0.05624651908874512, 0.3265087604522705, -0.1766810268163681, 0.9825894236564636, -0.4536156952381134, -0.4942646622657776, -0.48087847232818604, -0.165866419672966, 0.21329031884670258, 0.44300150871276855, 0.5915715098381042, -0.7439618110656738, -0.7431696057319641, 0.37618759274482727, -0.614937961101532, -0.13091686367988586, -0.2416670322418213, -0.15455390512943268, 0.259657621383667, 0.6327410340309143, -0.6641176342964172, 0.48734357953071594, 0.8128306269645691, -0.44750311970710754, 0.46553748846054077, -0.2554042339324951, 0.026945464313030243, -1.2506464719772339, 0.12455830723047256, -0.4065404236316681, -0.33145853877067566, -0.5044899582862854, -0.1193157210946083, -0.19412726163864136, -0.07986199855804443, -0.4920179545879364, 0.6497591137886047, -0.29818153381347656, 0.024209337309002876, -0.16854827105998993, 0.008208392187952995, 0.4194822907447815, 0.20301014184951782, -0.0712021216750145, 0.7165216207504272, 0.45875516533851624, -0.5098654627799988, 0.6413365006446838, -0.010686449706554413, -0.2363058179616928, 0.6944020986557007, -0.7654355764389038, -0.1525869071483612, -0.048912547528743744, 0.4256194233894348, -1.1924586296081543, 0.296599805355072, 0.010801471769809723, -0.12807610630989075, 0.2775692939758301, -0.17045378684997559, -0.47689953446388245, -0.20312675833702087, -0.07474926859140396, 0.4144849181175232, 0.8277310729026794, -0.8310938477516174, 0.9919514060020447, 0.08641993254423141, 0.13110114634037018, -0.43157389760017395, -0.9201900362968445, 0.3010939061641693, -0.702769935131073, -0.6259931325912476, 0.16612297296524048, -0.2403092235326767, -0.08599599450826645, 0.22499315440654755, -0.5505366921424866, -0.10811308026313782, 0.17271104454994202, 0.2824888527393341, 0.3387274444103241, -0.11677437275648117, 0.35132649540901184, 0.31277987360954285, -0.060188744217157364, 0.0613522082567215, -0.7278755307197571, 0.5777087807655334, 0.2646794319152832, -0.4539419114589691, -0.7209396958351135, 0.3056894838809967, 0.6294383406639099, 0.24989354610443115, 0.9427617788314819, 0.5219041109085083, -0.021205324679613113, -0.187498539686203, -0.7151103019714355, -0.07307037711143494, -0.5245711803436279, 0.44720226526260376, -0.6569297313690186, -0.864401638507843, 0.5566604733467102, -0.4162222445011139, 0.08304804563522339, 0.21495716273784637, 0.35100311040878296, -0.06360436975955963, 0.8597328662872314, 0.9539077281951904, -0.5513936877250671, 0.24940846860408783, -0.26267796754837036, 0.5056065320968628, -0.6786295771598816, -0.41593804955482483, -0.6664790511131287, -0.4178868532180786, -0.10445348173379898, -0.2420676201581955, 0.4028152823448181, 0.34515345096588135, 0.04543137922883034, 0.21204933524131775, -0.4558562636375427, 0.7944005131721497, 0.798071026802063, -0.20634928345680237, 0.8637392520904541, 0.18107952177524567, -0.588729739189148, 0.20708715915679932, -1.2712959051132202, -0.48711884021759033, 1.269023060798645, 0.3275865614414215, 1.0019283294677734, -0.14643116295337677, 1.191148042678833, 0.17820896208286285, 0.3010014295578003, -0.6830229163169861, 0.5819242596626282, -0.17791345715522766, -0.8316420912742615, -0.4204270839691162, -0.5275647640228271, -0.752669632434845, 0.4344697594642639, 0.1918049454689026, -0.44507768750190735, 0.1793373078107834, 0.18925443291664124, -0.2016887068748474, 1.075308084487915, -0.787520706653595, 0.8642145395278931, -0.1803182065486908, 0.06175411865115166, -0.25072914361953735, -0.38778144121170044, 0.4256146252155304, -0.26264363527297974, 0.4346528947353363, 0.031774044036865234, -0.11490320414304733, 0.6997337937355042, -0.7269687056541443, 0.8350135087966919, -0.2814028263092041, -0.3972732126712799, 0.31159403920173645, 0.07343021780252457, 0.39480844140052795, -0.22367791831493378, 0.13569775223731995, 0.27626630663871765, 0.2200353592634201, -0.35242336988449097, -0.8208092451095581, 0.7817056775093079, -0.7545859813690186, -0.7478381395339966, -0.13588343560695648, -0.28668665885925293, 0.13657213747501373, 0.10093015432357788, 0.2702743411064148, 0.15194816887378693, -0.17400123178958893, 0.12716205418109894, 0.6639143824577332, 0.04030054807662964, 0.7123187184333801, 0.3610077202320099, -0.3152901530265808, -0.09502597153186798, 0.8989466428756714, 0.10451829433441162, 0.5357216596603394, 0.3711797893047333, 0.4783543050289154, -0.4289887547492981, -0.7543288469314575, -0.5360345840454102, 0.059478044509887695, -1.1884633302688599, -0.12123458832502365, -0.44934794306755066, -0.13160531222820282, -0.30730557441711426, -0.29678672552108765, -0.39609819650650024, -0.5186012387275696, -0.5273194313049316, -0.4066554605960846, 0.3005158007144928, 0.8053487539291382, -0.3670380115509033, 0.3523375689983368, -0.8763943910598755, 0.0033640337642282248, 0.5156285166740417, 0.29116401076316833, 0.34952256083488464, -0.6712625622749329, -0.2836284935474396, 0.034516341984272, -0.22150766849517822, -0.5401629209518433, 0.04949047043919563, 0.4414685070514679, 0.5920194983482361, 0.5161649584770203, 0.2753388583660126, 0.872329831123352, -0.6231685280799866, 0.6252646446228027, 0.625153660774231, -1.0614895820617676, 0.28166463971138, 0.15040840208530426, 0.24011771380901337, 0.47975069284439087, 0.6571488976478577, -0.7812352180480957, -0.4153003990650177, -0.30877557396888733, -1.0551706552505493, 0.2483331859111786, -0.0012417719699442387, 0.45351698994636536, 0.31818994879722595, 0.206919863820076, 0.3354053497314453, 0.04547114297747612, -0.8886464834213257, -0.3406549394130707, 0.060819707810878754, -0.3514000177383423, -0.10972899943590164, -0.11125244200229645, -0.03196648508310318, -0.3979507386684418, 0.925481379032135, 0.355351060628891, -0.32728275656700134, 0.13487648963928223, -0.0256025567650795, 0.09878991544246674, 0.3350880742073059, 0.09172073751688004, 0.4859338402748108, 0.03704587370157242, 0.4831676185131073, 0.18218225240707397, -0.5088592171669006, 0.8378003835678101, -0.2984883189201355, -0.31510356068611145, 0.332934707403183, 0.017276376485824585, 0.9265009164810181, -0.011966903693974018, -0.6816412806510925, 0.32314425706863403, -0.12913502752780914, -0.31878364086151123, -0.057199764996767044, 0.11336521059274673, 0.38032588362693787, 0.45321446657180786, 0.576323390007019, -0.006039730738848448, 0.20197877287864685, -0.5092962980270386, 0.05025425925850868, 0.3655998408794403, -0.42841655015945435, -0.07991237193346024, 1.1168451309204102, 0.4035384953022003, -0.14249464869499207, 0.40261319279670715, -0.016359418630599976, -0.2785223424434662, 0.3066515326499939, 0.3804682493209839, 0.9813649654388428, -0.21162500977516174, 0.09562171250581741, 0.03649430349469185, 0.2733563482761383, -0.19353824853897095, -0.31790608167648315, -0.15337811410427094, -0.5297428965568542, -0.2580164670944214, -0.7425384521484375, -0.200819194316864, -0.06277205049991608, -0.3822787404060364, 0.18229807913303375, -0.41768190264701843, -0.24053184688091278, -0.10998298227787018, -0.427980899810791, -0.5319147706031799, -0.2685917019844055, -0.002816353226080537, 0.6520097851753235, -1.051881194114685, 0.8895111083984375, 0.5292173624038696, -0.2862742841243744, -0.8422989845275879, -0.31304582953453064, -0.0853428989648819, -0.5020938515663147, 1.1281256675720215, -0.08205854892730713, -0.002128089312463999, 0.09844375401735306, -0.33559781312942505, -0.5160029530525208, 1.3404109477996826, 0.40640565752983093, -1.002146601676941, -0.22803236544132233, 0.5550088882446289, 0.16708914935588837, -0.12297683954238892, 0.026683559641242027, 0.6572725772857666, 0.380228728055954, 0.2386225461959839, -1.1741702556610107, 0.20472507178783417, 0.11837013065814972, 0.3021864593029022, 0.26003605127334595, -0.7422412633895874, 0.7703295350074768, -0.10409755259752274, -0.25110509991645813, -0.1257825493812561, 0.47334185242652893, 0.04652323201298714, 0.38017451763153076, 0.5409731864929199, 0.7301790714263916, 0.5675534009933472, 0.13958406448364258, 0.5738239884376526, -0.1550314873456955, 0.33669331669807434, 0.987987220287323, -0.19438692927360535, 0.6811314225196838, 1.0557212829589844, -0.4038768410682678, 0.2378033846616745, 0.3505621552467346, 0.17068488895893097, 0.5893117189407349, 0.5843539237976074, -0.6794676780700684, -0.09197817742824554, -0.20541362464427948, -0.19880566000938416, 0.21669204533100128, -0.04121960699558258, -0.12302917242050171, -0.3839392364025116, 0.40991735458374023, 0.22599507868289948, 0.0006187352701090276, -0.19098161160945892, 0.653135359287262, 0.150514617562294, -0.22999653220176697, 0.9112209677696228, -0.08366315811872482, 0.9125658869743347, -0.5295186638832092, 0.15319128334522247, -0.5217860341072083, 0.14714640378952026, -0.08285033702850342, -0.2767956256866455, 0.3303038477897644, -0.14274811744689941, -0.09628492593765259, -0.3501793444156647, 0.5198904871940613, -0.6003419160842896, -0.6183918118476868, 0.3965110182762146, 0.2894209027290344, 0.30696216225624084, -0.009852822870016098, -0.18387958407402039, 0.17717933654785156, 0.22479552030563354, -0.19612954556941986, 0.5334399938583374, 0.6498185396194458, 0.18354520201683044, 0.9277804493904114, 0.4587222635746002, 0.13083477318286896, 0.32847902178764343, -0.05191740021109581, 1.0852333307266235, -0.3386031687259674, -0.3061101734638214, -1.147887110710144, 0.5302181243896484, 0.08105245977640152, 0.016680974513292313, 0.8172048926353455, 0.6805554628372192, 1.003355622291565, -0.0910327136516571, 1.082909107208252, 0.015154303051531315, 0.16584445536136627, -0.5983716249465942, 0.8624582886695862, -0.6999726295471191, 0.5438355207443237, -0.22248363494873047, -1.183209776878357, -0.12406989932060242, 0.3673407733440399, 0.3381153345108032, -0.2674218714237213, 0.7635108232498169, 0.4510852098464966, -0.1893436163663864, -0.30488863587379456, 0.6718180775642395, 0.008915677666664124, 0.6080018281936646, 0.7839696407318115, 0.6638075709342957, -0.4372900426387787, 0.8356226682662964, -0.2252262532711029, -0.025724653154611588, -0.31053584814071655, -0.9042063355445862, -1.2426371574401855, -0.6050059199333191, -0.30745837092399597, 0.02439774200320244, 0.2734031081199646, 0.6514442563056946, 0.7022733688354492, -0.5858389139175415, -0.5497734546661377, -0.2817646861076355, 0.26897749304771423, 0.20461530983448029, -0.1769970953464508, 0.3296985924243927, -0.2940298914909363, -0.7427673935890198, 0.08764200657606125, 0.13833817839622498, 0.48763903975486755, -0.4968315660953522, -0.03811212629079819, -0.10467472672462463, 0.09773945063352585, 0.5147588849067688, -0.06810852140188217, -0.6040168404579163, -0.2365758717060089, -0.20430269837379456, 0.22916002571582794, -0.10161099582910538, 1.0246398448944092, -0.7627922892570496, 0.25638705492019653, 0.46249401569366455, 0.7822314500808716, 0.5118811130523682, -0.28218168020248413, 0.5712927579879761, -0.7464190125465393, 0.30130642652511597, 0.0824388712644577, 0.2949964106082916, 0.06931643187999725, -0.27643314003944397, 0.4119971692562103, 0.48694315552711487, -0.598619282245636, -0.9651541113853455, 0.08221614360809326, -0.5668542385101318, -0.546306848526001, 1.0253870487213135, -0.38738682866096497, -0.0155590008944273, -0.1582099050283432, -0.38090643286705017, 0.16005362570285797, -0.36346006393432617, 0.7307575345039368, 0.9052234292030334, -0.0030561296734958887, -0.12055755406618118, -0.4478452205657959, 0.3882178068161011, 0.5618867874145508, -0.5464758276939392, 0.2856626808643341, 0.3112858533859253, 0.48302653431892395, -0.11082233488559723, 0.6180423498153687, 0.13474665582180023, -0.3673907220363617, 0.03710132837295532, 0.1829390823841095, -0.10618056356906891, -0.4389570653438568, -0.24082902073860168, -0.10266511887311935, 0.20386169850826263, -0.20434437692165375 ]
http://arxiv.org/abs/2402.12026v3
http://arxiv.org/pdf/2402.12026v3
Acquiring Clean Language Models from Backdoor Poisoned Datasets by Downscaling Frequency Space
2024-02-19T10:34:48
2024-06-02T10:28:13
Zongru Wu, Zhuosheng Zhang, Pengzhou Cheng, Gongshen Liu
cs.CL
cs.CL, cs.AI, cs.CR
Despite the notable success of language models (LMs) in various natural language processing (NLP) tasks, the reliability of LMs is susceptible to backdoor attacks. Prior research attempts to mitigate backdoor learning while training the LMs on the poisoned dataset, yet struggles against complex backdoor attacks in real-world scenarios. In this paper, we investigate the learning mechanisms of backdoor LMs in the frequency space by Fourier analysis. Our findings indicate that the backdoor mapping presented on the poisoned datasets exhibits a more discernible inclination towards lower frequency compared to clean mapping, resulting in the faster convergence of backdoor mapping. To alleviate this dilemma, we propose Multi-Scale Low-Rank Adaptation (MuScleLoRA), which deploys multiple radial scalings in the frequency space with low-rank adaptation to the target model and further aligns the gradients when updating parameters. Through downscaling in the frequency space, MuScleLoRA encourages the model to prioritize the learning of relatively high-frequency clean mapping, consequently mitigating backdoor learning. Experimental results demonstrate that MuScleLoRA outperforms baselines significantly. Notably, MuScleLoRA reduces the average success rate of diverse backdoor attacks to below 15\% across multiple datasets and generalizes to various backbone LMs, including BERT, RoBERTa, GPT2-XL, and Llama2. The codes are publicly available at https://github.com/ZrW00/MuScleLoRA.
[ -0.3064526319503784, -0.4535144567489624, 0.23845252394676208, 0.015493424609303474, 0.1444612294435501, -0.13023212552070618, -0.5017589330673218, -0.17571382224559784, -0.21878588199615479, 0.5757207274436951, -0.4368158280849457, -0.7913634777069092, -0.48901212215423584, -0.10988357663154602, -0.20430727303028107, 1.0587794780731201, 0.41847360134124756, 0.09363463521003723, 0.5271428227424622, -0.22995729744434357, -0.7810143828392029, -0.5660646557807922, -0.6081041693687439, -0.31251028180122375, 0.6386725306510925, 0.5184751152992249, 0.8285265564918518, 0.22021810710430145, 0.326787531375885, 0.29648256301879883, 0.15701864659786224, -0.2775724530220032, -0.9018807411193848, 0.2671249806880951, -0.3338148891925812, -0.5015636682510376, -0.39576929807662964, 0.010502059943974018, 0.4792868196964264, 0.4491748511791229, -0.41844117641448975, 0.37051209807395935, -0.12528462707996368, 0.8095297813415527, -0.6629403233528137, 0.056585147976875305, -1.006345510482788, 0.02913891151547432, -0.2744814455509186, -0.26337680220603943, -0.5972829461097717, -0.20497027039527893, -0.36228615045547485, -0.43643996119499207, 0.016199296340346336, 0.15827716886997223, 0.6097151637077332, 0.26837876439094543, -0.21402142941951752, 0.009404984302818775, -0.6295745372772217, 0.6822643280029297, -0.8207699656486511, 0.8136123418807983, 0.3779420554637909, 0.4397868514060974, -0.5202081203460693, -0.390288770198822, -0.40752580761909485, -0.2479768842458725, 0.01659344509243965, -0.12583570182323456, -0.26072996854782104, -0.09092891961336136, 0.2999132573604584, 0.10795188695192337, -0.7628406286239624, 0.3752669394016266, -0.6685926914215088, -0.14720883965492249, 0.5257793068885803, -0.10412278026342392, 0.36657020449638367, -0.16626328229904175, -0.192264586687088, -0.5115095973014832, -0.9082574248313904, 0.020451214164495468, 0.3919821083545685, 0.7269081473350525, -0.33194026350975037, 0.1785546839237213, 0.10798995941877365, 0.5014341473579407, -0.00786648876965046, -0.15891703963279724, 0.38880252838134766, -0.12093088775873184, -0.2946707010269165, 0.20678727328777313, 0.4267127811908722, -0.006953694391995668, 0.47757747769355774, -0.20907534658908844, -0.2801356315612793, -0.2646237313747406, 0.5647003650665283, -0.8071311712265015, -0.22634148597717285, 0.5014935731887817, -0.4996097981929779, -0.19360317289829254, -0.2527889311313629, -1.0647101402282715, -0.4288620352745056, -0.007765441667288542, 0.6087503433227539, -0.40719902515411377, -0.2354336380958557, 0.11938174068927765, -0.24969114363193512, 0.22527804970741272, 0.23302294313907623, -1.0659407377243042, 0.5224327445030212, 0.78174889087677, 0.7772515416145325, 0.140655979514122, -0.16739241778850555, -0.6351487636566162, -0.03275177627801895, -0.33695563673973083, 0.2749423384666443, -0.4582294523715973, -0.23252667486667633, -0.19325414299964905, -0.11669757217168808, -0.36592087149620056, -0.6356538534164429, 0.09327830374240875, -0.9630054235458374, 0.10027133673429489, 0.11847888678312302, 0.08126895129680634, -0.6061409115791321, 0.11828447878360748, -0.7507531642913818, 0.9970749020576477, 0.13844531774520874, -0.53655606508255, 0.2069852352142334, -0.3858940899372101, -0.2846219539642334, -0.27672266960144043, 0.18399782478809357, -0.5037049055099487, 0.35677632689476013, 0.07505375891923904, 0.4625173807144165, -0.011523702181875706, 0.004585143644362688, -0.685602068901062, -0.4740254878997803, 0.3412175178527832, -0.3368809223175049, 0.7967842817306519, 0.3328592777252197, -0.2200949639081955, 0.14613984525203705, -0.8495526313781738, 0.0014730652328580618, -0.11939849704504013, -0.27480924129486084, -0.49195748567581177, -0.023292575031518936, -0.014608354307711124, 0.5231660008430481, -0.32776740193367004, -0.32597818970680237, 0.12714388966560364, -0.7606127262115479, 0.03824024647474289, 0.7449038624763489, 0.1649799644947052, 0.3346465826034546, -0.49676668643951416, 0.3184177577495575, -0.268128901720047, 0.11648859083652496, -0.059413716197013855, -0.45086202025413513, -0.3669838309288025, -0.46521639823913574, 0.15623638033866882, 0.5594683885574341, -0.49453940987586975, 0.29901185631752014, -0.6581458449363708, -0.754838228225708, -0.28984153270721436, 0.33627772331237793, 0.4988766014575958, 0.370665967464447, 0.6503670811653137, -0.39668217301368713, -0.1128685399889946, -0.5574143528938293, -0.40856173634529114, 0.06148253008723259, -0.2697141766548157, 0.17064465582370758, 0.7532755732536316, -0.0726025402545929, 0.7004351019859314, -0.38169628381729126, -0.7833746671676636, -0.08034314960241318, -0.0409063845872879, 0.4722837507724762, 0.45093584060668945, 0.6884586215019226, -0.6803880333900452, -0.3397008776664734, -0.10326115041971207, -0.36384469270706177, -0.09625264257192612, -0.10235048830509186, 0.1098163053393364, -0.006193382665514946, 0.40401604771614075, -0.10264942049980164, 0.3007632791996002, 1.0345135927200317, -0.05405464395880699, 0.1471537947654724, -0.07786915451288223, 0.09867411106824875, -1.0565690994262695, 0.19711855053901672, 0.12094037979841232, -0.1418459713459015, -1.066740870475769, 0.33631259202957153, 0.08274360746145248, -0.3859823942184448, -0.5048069953918457, 0.4879935383796692, -0.2278328239917755, -0.23549483716487885, -0.003995311912149191, 0.13964438438415527, -0.22177226841449738, 1.1236010789871216, -0.23284165561199188, 0.6493045091629028, 0.21720759570598602, -0.31750231981277466, 0.10267598181962967, 0.10638425499200821, 0.1432528793811798, 0.25081494450569153, -0.320295512676239, 0.21235278248786926, 0.09460337460041046, 0.3058066666126251, -1.0914983749389648, -0.10885890573263168, 0.6057159900665283, -0.39912357926368713, 0.602459192276001, -0.46762529015541077, -0.33206403255462646, 0.031200310215353966, -0.7564743757247925, 0.4030620753765106, 0.5698434710502625, -0.5456017255783081, 0.6107385158538818, 0.384884238243103, -0.20735187828540802, -0.39256981015205383, -0.4782380759716034, -0.12320315092802048, -0.190656840801239, -0.536685049533844, -0.06515605747699738, 0.21415938436985016, -0.3245304822921753, -0.4701426923274994, -0.2599470615386963, -0.080074243247509, 0.5442909002304077, 0.4992193281650543, -0.04573860391974449, -0.30052557587623596, 0.4372892677783966, -0.09905406087636948, 0.051612574607133865, -0.07038833200931549, -0.29644665122032166, 0.7562034726142883, -0.1575932800769806, -0.3540930449962616, -0.47822150588035583, 0.058981239795684814, 0.5310624837875366, -0.12799978256225586, 0.7906951308250427, 0.3510461747646332, -0.3389582931995392, -0.447385311126709, -0.24059802293777466, -0.55232834815979, -0.5668519735336304, 0.42410731315612793, -0.31371545791625977, -0.5748029947280884, 0.5458386540412903, -0.13258369266986847, -0.0029041862580925226, 0.3244129717350006, 0.5820965766906738, 0.1288776695728302, 0.44197583198547363, 0.5779294371604919, -0.24016019701957703, 0.4532782733440399, -0.09132878482341766, 0.09484272450208664, -0.7239475250244141, 0.02402600832283497, -0.7708012461662292, -0.3815082311630249, -0.7117713093757629, -0.2660762369632721, 0.5616737604141235, -0.06329822540283203, -0.43417003750801086, 0.2152082622051239, -0.2022010236978531, 0.1033233255147934, 0.35148119926452637, 0.1871856302022934, 0.3377237319946289, 0.25865495204925537, 0.12584605813026428, 0.06094904616475105, -0.7416408658027649, -0.06168455258011818, 1.2214009761810303, 0.705464243888855, 0.9109721183776855, 0.3737576901912689, 0.7965325117111206, 0.3751843273639679, 0.6923273801803589, -0.5528236627578735, 0.256366491317749, -0.35006338357925415, -0.7543883919715881, -0.5638477802276611, -0.3574475944042206, -0.9242530465126038, 0.6315661072731018, -0.2531001567840576, -0.9604988694190979, 0.4859716296195984, 0.15066148340702057, -0.4441799819469452, 0.3063088655471802, -0.6178844571113586, 0.7508403062820435, -0.04484066367149353, -0.1836753785610199, -0.3910053074359894, -0.6182157397270203, 0.6260521411895752, -0.6972637176513672, 0.6447522640228271, -0.21224455535411835, 0.22508099675178528, 0.7770273685455322, -0.29097434878349304, 1.0906630754470825, -0.3100373148918152, -0.6617757081985474, -0.3525691330432892, 0.17666873335838318, 0.3484859764575958, 0.08070758730173111, -0.19521674513816833, 0.7102850675582886, -0.07489055395126343, -0.31266510486602783, -0.5405066013336182, 0.34554368257522583, -0.6516388654708862, -0.7162250876426697, -0.3881036937236786, -0.3788343071937561, -0.40762099623680115, 0.15120817720890045, 0.01829906553030014, 0.4799037575721741, 0.23520585894584656, 0.2857312262058258, 0.5885313749313354, -0.3828365206718445, 0.37829700112342834, 0.6216184496879578, -0.14594727754592896, -0.40517479181289673, 0.9640605449676514, 0.006547645665705204, 0.3947620391845703, 0.4227583408355713, 0.1902649700641632, -0.0064040799625217915, -0.7463216185569763, -0.28725025057792664, 0.22248616814613342, -0.609463632106781, -0.4587538540363312, -0.2810731828212738, -0.13208486139774323, -0.548607349395752, -0.035809226334095, -0.42411258816719055, -0.26873600482940674, -0.05297939106822014, 0.2182501256465912, 0.44028931856155396, 0.4232536554336548, -0.2022404819726944, 0.5412658452987671, -0.9786285758018494, 0.5500709414482117, 0.15089358389377594, 0.21251939237117767, 0.1993427872657776, -0.7852314710617065, -0.32037585973739624, 0.1271129697561264, -0.10394658893346786, -1.194433331489563, 0.7210524678230286, 0.36164388060569763, 0.35380008816719055, 0.12939736247062683, 0.06770366430282593, 0.3914410471916199, -0.4527530074119568, 0.3961234390735626, 0.007655788213014603, -0.9620482921600342, 0.31681615114212036, -0.41488686203956604, 0.18212904036045074, 0.5575112104415894, 0.2357683628797531, -0.8919190764427185, -0.7167754769325256, -0.10088863968849182, -0.8825406432151794, 0.8372162580490112, 0.017483774572610855, 0.22728778421878815, 0.5379876494407654, 0.3035132586956024, 0.09632615745067596, 0.28995105624198914, -0.7138619422912598, -0.10647442191839218, -0.41580817103385925, -0.32172492146492004, -0.20736423134803772, -0.05675822123885155, -0.44166290760040283, 0.045596376061439514, 0.7174862027168274, -0.3380048871040344, 0.0001237895485246554, -0.1522645205259323, -0.4014956057071686, -0.09903333336114883, 0.6375364065170288, 0.7360305190086365, 0.380650132894516, -0.28846073150634766, 0.08260494470596313, 0.4466295540332794, -0.7555259466171265, 0.2305840104818344, 0.1956101804971695, 0.07843849062919617, -0.4016280770301819, 0.6892532706260681, 0.33822283148765564, 0.656257152557373, -0.3962119519710541, 0.49222609400749207, 0.031947240233421326, 0.13654620945453644, 0.024193082004785538, 0.3897246718406677, -0.21498313546180725, 0.3105502426624298, 0.6624845266342163, 0.044695932418107986, -0.1787295639514923, -0.5078245401382446, 0.4535519778728485, 0.30448511242866516, -0.25822100043296814, -0.4322310984134674, 0.41673544049263, 0.11668750643730164, -0.23246464133262634, 0.7194800972938538, 0.1394701898097992, -0.585542619228363, 0.39418351650238037, 0.41495949029922485, 0.8506882190704346, -0.3983128070831299, 0.03881903365254402, 0.1048850566148758, 0.5039308667182922, 0.10826122760772705, 0.3085235059261322, -0.06017475947737694, -0.8417432308197021, -0.09563077986240387, -0.7495200037956238, -0.0374377965927124, 0.0669376328587532, -0.5775492191314697, -0.03875832259654999, -0.5841673612594604, 0.0350855253636837, -0.15964022278785706, 0.21286554634571075, -0.2667349874973297, 0.03494926914572716, 0.23505529761314392, 1.0162246227264404, -1.1420854330062866, 1.1628201007843018, -0.05555281788110733, -0.43462154269218445, -0.9989668726921082, 0.34519219398498535, 0.23462867736816406, -0.9681333303451538, 1.0103263854980469, -0.030811674892902374, -0.20374451577663422, 0.2332460582256317, -0.24401342868804932, -0.9404937028884888, 0.8050652742385864, 0.2797187566757202, -0.4871346354484558, 0.05595358833670616, -0.11925441026687622, 0.6622170805931091, 0.05825933814048767, -0.20415760576725006, 0.3943327069282532, 0.6125094294548035, -0.21469587087631226, -1.0047874450683594, 0.4046855866909027, 0.007176985498517752, -0.04401802271604538, 0.19776800274848938, -0.5907660126686096, 0.9491784572601318, -0.13384369015693665, -0.3756779432296753, 0.014787094667553902, 0.43478772044181824, 0.3857002854347229, 0.24244153499603271, 0.3836682140827179, 0.4673294723033905, 0.5578135251998901, -0.04850758612155914, 0.8060391545295715, -0.23970335721969604, 0.35685715079307556, 1.1156667470932007, -0.4205225110054016, 0.9596283435821533, 0.36076754331588745, -0.015817774459719658, 0.6011140942573547, 0.4123023748397827, -0.5257428884506226, 0.5644495487213135, 0.4240807592868805, 0.28846222162246704, 0.07539766281843185, 0.4054050147533417, -0.5920446515083313, 0.6393285989761353, 0.5123441219329834, -0.157444566488266, -0.5869017243385315, 0.3180631101131439, 0.27122631669044495, 0.04993939772248268, -0.4184601604938507, 0.6420255899429321, 0.14355352520942688, -0.38741132616996765, 0.9050105214118958, 0.19922102987766266, 0.5228241682052612, -0.6787972450256348, -0.0747348740696907, -0.3169916272163391, 0.22769539058208466, -0.23755818605422974, -0.19225087761878967, 0.10139276087284088, -0.3257614076137543, 0.010716005228459835, -0.3383786976337433, 0.6656097173690796, -0.47249674797058105, -0.11790963262319565, 0.3662126958370209, 0.2536334991455078, -0.0418202169239521, -0.05802616477012634, -0.5106950402259827, 0.21877585351467133, -0.32402393221855164, -0.4384731948375702, 0.5789932012557983, 0.011973990127444267, -0.2304438054561615, 0.7472959756851196, 0.8864598870277405, 0.36258020997047424, 0.1846415251493454, -0.03769739344716072, 0.9601165056228638, -0.5333075523376465, -0.3780588209629059, -0.706562876701355, 0.04481786489486694, 0.21084846556186676, 0.06961284577846527, 1.0086696147918701, 0.4283158481121063, 0.799148440361023, -0.08455973863601685, 0.2677045166492462, 0.4526825547218323, 0.24215996265411377, -0.8100650310516357, 1.0804879665374756, -0.563267171382904, 0.5318542122840881, -0.07244738936424255, -0.47687438130378723, -0.4548480212688446, 0.23702643811702728, -0.30887481570243835, 0.2233457714319229, 0.5300069451332092, 1.1455402374267578, -0.05672258138656616, -0.11177118122577667, 0.3535323739051819, 0.4838688373565674, 0.39595526456832886, 0.6111832857131958, 0.42724087834358215, -0.37545090913772583, 0.3713263273239136, -0.08206257969141006, -0.17771483957767487, -0.3509035110473633, -0.5410915017127991, -0.8747950792312622, -0.32474610209465027, 0.04814408719539642, -0.4652043282985687, 0.3284159302711487, 0.6856500506401062, 0.7953323125839233, -1.0161930322647095, -0.28515657782554626, 0.4073065519332886, 0.4796656668186188, -0.40569719672203064, -0.2264661341905594, 0.3776529133319855, -0.5517411828041077, -0.4453437626361847, 0.46509408950805664, 0.37647607922554016, -0.2674696445465088, -0.2947273850440979, -0.003988569136708975, -0.1721494048833847, 0.12124425917863846, 0.18462632596492767, 0.5939182639122009, -0.43584758043289185, -0.5133646130561829, -0.4000695049762726, -0.3124774396419525, 0.0618094876408577, 0.7916037440299988, -0.8797914385795593, 0.08718486875295639, 0.5291674137115479, 0.38255953788757324, 0.10615331679582596, -0.2078925520181656, 0.6191497445106506, -1.1434816122055054, 0.21305744349956512, 0.05691468343138695, 0.11629290133714676, 0.10431164503097534, -0.34437859058380127, 0.39345598220825195, 0.22886137664318085, -0.179158017039299, -1.0114262104034424, 0.16145917773246765, -0.7510954737663269, -0.802297055721283, 1.3255555629730225, 0.014515946619212627, -0.348722368478775, -0.40685826539993286, 0.06016874313354492, 0.1745530068874359, -0.37291765213012695, 0.961264431476593, 0.36049509048461914, 0.1873505860567093, 0.14235885441303253, -0.46620458364486694, 0.760674774646759, 0.06288696825504303, -0.7537299990653992, 0.19452887773513794, 0.327499121427536, 0.4489184319972992, 0.23160378634929657, 0.45099547505378723, -0.06158509850502014, 0.3430766761302948, -0.09927424043416977, -0.13277556002140045, -0.1287832409143448, -0.461351215839386, -0.9156644344329834, 0.7418771982192993, -0.1424121856689453, -0.06422354280948639 ]
http://arxiv.org/abs/2402.12025v2
http://arxiv.org/pdf/2402.12025v2
Speech Translation with Speech Foundation Models and Large Language Models: What is There and What is Missing?
2024-02-19T10:34:13
2024-05-17T14:46:32
Marco Gaido, Sara Papi, Matteo Negri, Luisa Bentivogli
cs.CL
cs.CL
The field of natural language processing (NLP) has recently witnessed a transformative shift with the emergence of foundation models, particularly Large Language Models (LLMs) that have revolutionized text-based NLP. This paradigm has extended to other modalities, including speech, where researchers are actively exploring the combination of Speech Foundation Models (SFMs) and LLMs into single, unified models capable of addressing multimodal tasks. Among such tasks, this paper focuses on speech-to-text translation (ST). By examining the published papers on the topic, we propose a unified view of the architectural solutions and training strategies presented so far, highlighting similarities and differences among them. Based on this examination, we not only organize the lessons learned but also show how diverse settings and evaluation approaches hinder the identification of the best-performing solution for each architectural building block and training choice. Lastly, we outline recommendations for future works on the topic aimed at better understanding the strengths and weaknesses of the SFM+LLM solutions for ST.
[ -0.3856927752494812, -0.8048946261405945, 0.4213887155056, 0.3590569496154785, -0.3788721263408661, 0.28120964765548706, -0.22206826508045197, -0.6549175977706909, 0.041993845254182816, 0.6333245635032654, -0.28872594237327576, -0.275770902633667, -0.8464219570159912, 0.17040131986141205, -0.8391172289848328, 0.9011021256446838, -0.14436641335487366, 0.3253467082977295, -0.4070000648498535, -0.04358752816915512, -0.5875333547592163, -0.461057186126709, -0.5509976148605347, -0.3987029194831848, 0.08607160300016403, 0.007319326046854258, 0.5311656594276428, 0.7434135675430298, 0.5277705788612366, 0.2546406686306, -0.42487072944641113, -0.09060007333755493, -0.2164251059293747, -0.08389011770486832, -0.08678992092609406, -0.10839477181434631, -0.44567111134529114, -0.15481382608413696, 0.9698749780654907, 1.0599414110183716, -0.04053608328104019, 0.146463543176651, 0.16660934686660767, 0.7110670804977417, -0.2324153631925583, -0.04265308007597923, -0.479968786239624, 0.33486849069595337, -0.10331334918737411, -0.2605602443218231, -0.4723827838897705, -0.093536876142025, 0.25704747438430786, 0.0040001170709729195, 0.14307920634746552, -0.21923087537288666, 0.355448842048645, 0.4607481062412262, -0.7293145060539246, -0.3622480034828186, -1.1335841417312622, 0.7459985613822937, -0.7824718952178955, 0.653477132320404, -0.03299807757139206, 0.21180561184883118, -0.38744646310806274, -0.7027536630630493, -0.19063334167003632, -0.24717247486114502, 0.14734908938407898, -0.11236881464719772, -0.30729547142982483, 0.13225002586841583, -0.07539603859186172, 0.41711723804473877, -0.6262992024421692, 0.18459726870059967, -0.3135302662849426, -0.04001357778906822, 0.6075581312179565, -0.036616601049900055, 0.2509535551071167, -0.14926974475383759, -0.6177554130554199, -0.028942521661520004, -0.7279699444770813, 0.07651056349277496, -0.09284620732069016, 0.52618807554245, -0.2599763572216034, 0.49551302194595337, 0.0809779018163681, 0.8606953620910645, -0.2744845449924469, -0.28951218724250793, 0.30143117904663086, -0.45795324444770813, -0.49397507309913635, 0.0751400887966156, 0.7029811143875122, -0.20571069419384003, 0.20523713529109955, -0.3403457701206207, -0.21132223308086395, -0.12027838826179504, 0.2570880651473999, -0.4308268129825592, 0.23293830454349518, 0.020245401188731194, -0.3740808963775635, -0.2658199667930603, -0.30269211530685425, -0.7056394219398499, -0.11608453094959259, -0.49037814140319824, 0.07440777122974396, -0.07953833788633347, -0.3822656273841858, 0.2352200746536255, -0.03788405656814575, 0.37404340505599976, 0.27873465418815613, -0.9816430807113647, 0.3742395043373108, 0.7806347608566284, 0.7461228370666504, -0.5002390146255493, -0.11807083338499069, -0.5205931663513184, 0.0701499804854393, -0.5835421085357666, 0.7674827575683594, -0.4031064212322235, -0.5924117565155029, 0.12068600952625275, -0.299089640378952, -0.1541866511106491, -0.4060373604297638, 0.7393878698348999, -0.15615925192832947, 0.26084408164024353, -0.14630909264087677, -0.36677786707878113, -0.0043857465498149395, 0.0881674662232399, -0.48993706703186035, 0.9934963583946228, -0.11425964534282684, -0.45347461104393005, -0.061527837067842484, -0.5950013995170593, -0.703079342842102, -0.04713951051235199, -0.2460487335920334, -0.039310209453105927, 0.6321251392364502, 0.12081371992826462, 0.5585857629776001, -0.5037708282470703, 0.47093719244003296, 0.011570113711059093, -0.2276344895362854, 0.12900827825069427, -0.4890699088573456, 0.6124996542930603, 0.14638862013816833, -0.27852579951286316, 0.29805341362953186, -0.7735720872879028, -0.085373155772686, 0.12011796236038208, -0.6263716220855713, -0.1186152994632721, 0.14488041400909424, 0.35975420475006104, 0.474010705947876, 0.09835640341043472, -0.23963160812854767, -0.20086738467216492, -0.5223882794380188, 0.8528051376342773, 0.649767279624939, -0.3332351744174957, 0.6999921202659607, -0.10478620231151581, 0.39704185724258423, -0.07412838190793991, -0.09150929003953934, 0.038884151726961136, -0.4957239627838135, -0.5538977980613708, -0.07816793024539948, 0.15428148210048676, 0.376945823431015, -0.5216004848480225, 0.1541484296321869, -0.4551865756511688, -0.5061993598937988, -0.5864320993423462, 0.05546455457806587, 0.3009217381477356, 0.5311006307601929, 0.4986433684825897, -0.1714315563440323, -0.520073413848877, -0.8733530640602112, -0.28984197974205017, -0.050113704055547714, 0.17510558664798737, 0.032078955322504044, 0.5810420513153076, -0.3110765218734741, 0.7438147068023682, 0.03511669859290123, -0.29991796612739563, -0.4019187092781067, 0.005748842842876911, -0.009077413007616997, 0.42565029859542847, 0.6424090266227722, -1.0902005434036255, -0.33154812455177307, -0.004239381290972233, -0.44540607929229736, 0.07016675174236298, -0.031048744916915894, 0.3680267930030823, 0.2070738971233368, 0.5809352993965149, -0.6779217720031738, 0.28316420316696167, 0.864355742931366, 0.06308736652135849, 0.7419978976249695, 0.03371075913310051, 0.06297791004180908, -1.344124674797058, 0.20523931086063385, -0.056294530630111694, -0.3050000071525574, -1.033382773399353, 0.14265553653240204, -0.23741735517978668, -0.3431822657585144, -0.510699450969696, 0.6414287090301514, -0.36920684576034546, -0.6482767462730408, -0.32171252369880676, 0.342769593000412, -0.05235319212079048, 0.4834270179271698, 0.16411389410495758, 0.8032668232917786, 0.30081233382225037, -0.5530933737754822, 0.44809848070144653, 0.47222888469696045, -0.2964821755886078, 0.5543022155761719, -0.6918547749519348, 0.2574423849582672, -0.08800207823514938, 0.35745593905448914, -1.043042540550232, -0.20741240680217743, 0.14394338428974152, -0.4398478865623474, 0.3315964639186859, -0.028047697618603706, -0.3552229404449463, -0.36606118083000183, -0.11073055118322372, 0.1993715614080429, 0.18997910618782043, -0.3567894995212555, 0.7729350328445435, 0.4263259470462799, -0.42029905319213867, -0.6594782471656799, -0.9168978929519653, 0.5283457040786743, -0.12182754278182983, -0.7057675719261169, 0.5461679697036743, -0.18388226628303528, -0.23374296724796295, -0.05028052628040314, -0.34206247329711914, -0.258192241191864, 0.2768242359161377, 0.15375284850597382, 0.10998021811246872, -0.594244122505188, 0.11991717666387558, -0.011113209649920464, -0.1664348691701889, 0.01614772155880928, -0.23147623240947723, 0.45862144231796265, -0.32712721824645996, -0.28318163752555847, -0.3017149269580841, 0.7140973806381226, 0.7188119888305664, -0.48001915216445923, 0.518678605556488, 0.5051968693733215, -0.4014301300048828, -0.14090578258037567, -0.3671410083770752, 0.09760577976703644, -0.3476434648036957, 0.6210773587226868, -0.38936910033226013, -1.0771585702896118, 0.2102486789226532, -0.2103147953748703, 0.35997727513313293, 0.3852716088294983, 0.5489333271980286, -0.14313016831874847, 0.9909331202507019, 0.78964763879776, -0.15815065801143646, 0.5919827818870544, 0.15486255288124084, 0.28063637018203735, -0.8407303690910339, -0.21922902762889862, -0.8638817071914673, -0.3336128890514374, -0.2195313274860382, -0.3130820691585541, 0.1713208258152008, 0.1321508139371872, 0.16555631160736084, 0.5392532348632812, -0.43065035343170166, 0.10092995315790176, 0.23015975952148438, -0.4579216539859772, 0.4735065996646881, 0.2578880488872528, 0.05978310480713844, -0.06677251309156418, -0.7000283598899841, -0.5058151483535767, 0.7863330245018005, 0.4355353116989136, 0.35298314690589905, 0.050626758486032486, 0.40859392285346985, 0.10603626072406769, 0.21523158252239227, -0.7981862425804138, 0.6291000843048096, -0.5389718413352966, -0.47390294075012207, -0.21449026465415955, -0.5484105348587036, -0.739660918712616, 0.6319342255592346, -0.4111478924751282, -0.37626534700393677, 0.15579324960708618, -0.08316358923912048, -0.11534681916236877, 0.1781018227338791, -0.45696160197257996, 1.0413999557495117, -0.6385535001754761, 0.07999755442142487, -0.2794255018234253, -0.6008492708206177, 0.25233644247055054, -0.12789388000965118, 0.47773006558418274, 0.02097470685839653, 0.14542457461357117, 0.5105306506156921, 0.1697726994752884, 0.6875066757202148, 0.09832703322172165, -0.2595907747745514, -0.098049096763134, -0.23861445486545563, 0.3783230781555176, -0.46207326650619507, 0.039292365312576294, 0.21869292855262756, 0.0403849333524704, -0.19516080617904663, -0.29757794737815857, 0.5464848875999451, -0.6151769161224365, -0.4497322142124176, -0.28713247179985046, -0.4948907792568207, -0.4818212687969208, 0.2362307459115982, 0.12150608003139496, 0.4940561354160309, -0.6984542012214661, 0.7027485966682434, 0.80423504114151, -0.09803406149148941, 0.4813431203365326, 0.3834773004055023, -0.19836652278900146, -0.39585256576538086, 0.35747331380844116, -0.0734391063451767, 0.3338186740875244, 0.5645753741264343, 0.17582319676876068, -0.38479095697402954, -0.9592078924179077, -0.6856366395950317, 0.21010097861289978, -0.6392472982406616, 0.09715569764375687, -0.651746392250061, -0.32849568128585815, -0.7210084795951843, -0.22474685311317444, -0.5515475869178772, -0.275674432516098, -0.5375732779502869, -0.22006168961524963, -0.22135597467422485, 0.6315882205963135, 0.13685575127601624, 0.2362048327922821, -0.8577634692192078, 0.3775058686733246, 0.3287888467311859, 0.060366980731487274, -0.008385937660932541, -0.7066028118133545, -0.3414541184902191, 0.22456064820289612, -0.1306743025779724, -0.8395106196403503, 0.21273939311504364, 0.34655627608299255, 0.5850626826286316, 0.054683882743120193, -0.30987539887428284, 0.7087484002113342, -0.6740473508834839, 0.7485749125480652, 0.2969776690006256, -0.8465139269828796, 0.5003560185432434, -0.21672849357128143, 0.06458058208227158, 0.3573262095451355, 0.1422594040632248, -0.7874223589897156, -0.1397131234407425, -0.4002631902694702, -0.8902602791786194, 0.40912652015686035, -0.035637129098176956, 0.3476494550704956, 0.20386067032814026, 0.18765108287334442, -0.19854776561260223, 0.5685566663742065, -0.8577533960342407, -0.02874004654586315, -0.07867829501628876, -0.16573816537857056, -0.2916080355644226, -0.15804918110370636, -0.3422798216342926, 0.026484819129109383, 0.4378957450389862, -0.0015502885216847062, 0.20828746259212494, -0.07553926110267639, -0.2783889174461365, -0.2471264898777008, 0.5861354470252991, 0.824774444103241, 0.5596454739570618, 0.029125340282917023, -0.009350067935883999, -0.08799143880605698, -0.14004844427108765, 0.08724755793809891, 0.15621398389339447, -0.13296931982040405, 0.2021138221025467, 0.6139878630638123, 1.085951328277588, 0.7944705486297607, -0.6112143993377686, 0.5288557410240173, 0.23811811208724976, -0.27557647228240967, -0.24489101767539978, 0.04989730939269066, 0.30027085542678833, 0.19808001816272736, 0.4062047302722931, 0.4338880181312561, -0.1033359244465828, -0.7393617630004883, 0.07510677725076675, 0.5318469405174255, -0.4425961673259735, -0.36301738023757935, 0.6646049618721008, 0.4373839795589447, -0.5760155320167542, 0.3031021058559418, 0.42373764514923096, -0.317227840423584, 0.4257238507270813, 0.7534001469612122, 1.116473913192749, -0.2691865563392639, 0.4314190149307251, -0.13241170346736908, 0.42628583312034607, -0.42114192247390747, -0.13476544618606567, -0.08095405250787735, -0.6251031756401062, -0.6503520607948303, -0.8004329204559326, -0.32941433787345886, 0.15508688986301422, -0.6271204352378845, -0.08189265429973602, -0.3038393259048462, -0.00461842305958271, -0.033965665847063065, -0.20396558940410614, -0.4924347996711731, 0.12722836434841156, 0.21549925208091736, 1.0859003067016602, -0.9184945821762085, 0.862206757068634, 0.9201778173446655, -0.22431597113609314, -0.5243691802024841, -0.3051654100418091, -0.05557386949658394, -0.48822808265686035, 0.4172018766403198, -0.16859683394432068, -0.31022191047668457, 0.16348309814929962, -0.3331395387649536, -0.7488016486167908, 0.8155947923660278, 0.6687955260276794, -0.36528703570365906, -0.4237597584724426, 0.519559383392334, 0.8637495636940002, -0.6206195950508118, -0.5291837453842163, 0.40375471115112305, 0.35091426968574524, 0.2450770139694214, -1.020678162574768, -0.3738054931163788, 0.02072909288108349, 0.2427106350660324, 0.18201389908790588, -0.28365999460220337, 0.5871463418006897, 0.05621149390935898, -0.30347031354904175, 0.0868043601512909, 0.5505802035331726, 0.0444653294980526, 0.24856022000312805, 0.21864742040634155, 0.47549542784690857, 0.38408851623535156, -0.14045961201190948, 0.8271191716194153, -0.00007766952330712229, 0.024352658540010452, 1.0555410385131836, -0.2234799563884735, 1.3685858249664307, 0.7013146281242371, -0.1775234341621399, 0.23173333704471588, 0.5752162337303162, 0.2102697789669037, 0.4440377652645111, -0.0870424136519432, -0.13105511665344238, -0.2162618339061737, -0.04638433828949928, -0.6487452387809753, 0.5695722103118896, 0.3294697701931, -0.3030782639980316, -0.3099854588508606, 0.2012689858675003, -0.3380246162414551, 0.28667470812797546, -0.3405739963054657, 0.8188492655754089, 0.5219427943229675, -0.4697395861148834, 0.3810614347457886, 0.25572556257247925, 0.5931357741355896, -0.8454846143722534, 0.18091458082199097, -0.25999823212623596, -0.14708057045936584, -0.11116795986890793, -0.5295528173446655, 0.5984766483306885, 0.056913819164037704, -0.30720755457878113, -0.8121031522750854, 0.6623581051826477, -0.5431898236274719, -0.27745911478996277, 0.5324761271476746, 0.5861575603485107, 0.058705613017082214, -0.08135560154914856, -0.8399434685707092, 0.21194912493228912, 0.07275582104921341, -0.10231304168701172, 0.46943947672843933, 0.24385124444961548, 0.07770462334156036, 0.6874440312385559, 0.8462597131729126, 0.2158675491809845, 0.1277533769607544, -0.14253273606300354, 0.5835824012756348, -0.5721848607063293, -0.48607832193374634, -0.7339584231376648, 0.5541532635688782, 0.23123548924922943, -0.39632099866867065, 0.5730295181274414, 0.4762212634086609, 0.7484989762306213, -0.07063675671815872, 0.5787880420684814, 0.23432524502277374, 0.34021422266960144, -0.4955874979496002, 0.38825222849845886, -0.6119775772094727, 0.1770462691783905, -0.3873170018196106, -1.246071219444275, -0.23418767750263214, 0.6176048517227173, -0.04713572561740875, -0.21508194506168365, 0.5368200540542603, 0.352642297744751, 0.04960879683494568, 0.16989468038082123, 0.2839953899383545, 0.22966131567955017, 0.3919272720813751, 0.4905942678451538, 0.6604142189025879, -0.5067498683929443, 0.6451823711395264, 0.2377961277961731, -0.11162251234054565, -0.42147883772850037, -0.9729076027870178, -0.5229506492614746, -0.6416783332824707, -0.1684967577457428, -0.06275172531604767, -0.03494011610746384, 0.876550555229187, 0.6427597403526306, -0.7619415521621704, -0.4258551597595215, -0.07045447826385498, 0.2746720314025879, -0.3953894376754761, -0.10360277444124222, 0.22110334038734436, -0.019146133214235306, -0.5974206924438477, 0.9906205534934998, 0.5378612279891968, 0.2248348742723465, -0.3303164541721344, -0.08222386986017227, -0.20587597787380219, 0.07870393246412277, 0.7276620268821716, 0.48554521799087524, -0.7627867460250854, -0.2230534851551056, -0.06763289868831635, -0.23395730555057526, 0.20892634987831116, 0.7403811812400818, -0.427527517080307, 0.24784398078918457, 0.5843122601509094, 1.1882975101470947, 0.5149148106575012, -0.2566506862640381, 0.6518985629081726, -0.9215407371520996, 0.15432685613632202, 0.31402429938316345, 0.2647693157196045, 0.5361078381538391, 0.17669999599456787, 0.47582048177719116, 0.34319278597831726, -0.4132481813430786, -1.1435694694519043, 0.422687292098999, -0.8430342674255371, -0.3017697334289551, 0.9460984468460083, 0.20114298164844513, 0.02314833179116249, -0.05208359286189079, 0.110356405377388, 0.009172813035547733, 0.024516792967915535, 0.6085148453712463, 0.9437698721885681, 0.0040895226411521435, -0.2827607989311218, -0.7584624886512756, 0.47024857997894287, 0.37112516164779663, -0.7894173264503479, 0.011441100388765335, 0.5629316568374634, 0.17087163031101227, 0.36481714248657227, 0.7291128635406494, -0.1286327838897705, 0.08915655314922333, -0.27659133076667786, -0.23886848986148834, -0.036432743072509766, -0.47086045145988464, -0.5313470363616943, 0.22435981035232544, 0.016775595024228096, 0.003074659500271082 ]
http://arxiv.org/abs/2402.12022v1
http://arxiv.org/pdf/2402.12022v1
Distilling Large Language Models for Text-Attributed Graph Learning
2024-02-19T10:31:53
2024-02-19T10:31:53
Bo Pan, Zheng Zhang, Yifei Zhang, Yuntong Hu, Liang Zhao
cs.CL
cs.CL, cs.LG
Text-Attributed Graphs (TAGs) are graphs of connected textual documents. Graph models can efficiently learn TAGs, but their training heavily relies on human-annotated labels, which are scarce or even unavailable in many applications. Large language models (LLMs) have recently demonstrated remarkable capabilities in few-shot and zero-shot TAG learning, but they suffer from scalability, cost, and privacy issues. Therefore, in this work, we focus on synergizing LLMs and graph models with their complementary strengths by distilling the power of LLMs to a local graph model on TAG learning. To address the inherent gaps between LLMs (generative models for texts) and graph models (discriminative models for graphs), we propose first to let LLMs teach an interpreter with rich textual rationale and then let a student model mimic the interpreter's reasoning without LLMs' textual rationale. Extensive experiments validate the efficacy of our proposed framework.
[ 0.033053215593099594, -0.5733680129051208, 0.7058426737785339, -0.1578940749168396, -0.43345075845718384, 0.5552141666412354, -0.3697248697280884, -0.5108445286750793, 0.10982276499271393, 0.5637296438217163, -0.3407323658466339, -0.6356515884399414, -0.5981807112693787, 0.2392258495092392, -0.21982868015766144, 1.0383108854293823, -0.1571069359779358, 0.0296044759452343, -0.2812458276748657, -0.14124193787574768, -0.33881694078445435, -0.44084736704826355, -0.5113564729690552, -0.7030309438705444, 0.7360210418701172, 0.16554082930088043, 0.4212220311164856, 0.7619034051895142, 0.1291407197713852, 0.3241885304450989, 0.013038049452006817, 0.3370445668697357, -0.5213015079498291, 0.18030473589897156, -0.3387266993522644, -0.6000111699104309, -0.4319300353527069, 0.08600970357656479, 0.8612969517707825, 0.9642003178596497, 0.09298555552959442, 0.02450345642864704, 0.002071492839604616, 0.30511924624443054, -0.314514696598053, 0.407917857170105, -1.0176085233688354, -0.3493613600730896, -0.12187075614929199, 0.08525066822767258, -1.000952959060669, -0.2722319960594177, 0.056280717253685, -0.6735320687294006, 0.1524563431739807, 0.04487348347902298, 0.8991946578025818, 0.1844768226146698, -0.6102291345596313, -0.23232139647006989, -0.6138349771499634, 0.8035690784454346, -0.519822359085083, 0.198148712515831, 0.4893052875995636, 0.22559252381324768, -0.10152571648359299, -0.9972139000892639, -0.5068417191505432, -0.1976989209651947, -0.2648179233074188, -0.11139730364084244, -0.31629031896591187, 0.0421903133392334, 0.31468942761421204, 0.205458864569664, -0.44140926003456116, 0.47790923714637756, -0.042043887078762054, -0.07376717031002045, 0.4877946078777313, 0.017096025869250298, 0.2560121715068817, -0.339053750038147, -0.5013986229896545, 0.05518864840269089, -0.7471192479133606, -0.38051506876945496, 0.3266355097293854, 0.5303394794464111, 0.07665201276540756, 0.5002556443214417, 0.14095932245254517, 0.9139442443847656, -0.18160632252693176, -0.34657442569732666, 0.31288498640060425, -0.05270984396338463, -0.17662665247917175, -0.14096184074878693, 0.8932456970214844, 0.01026354543864727, 0.4118088185787201, -0.49858716130256653, -0.09739284217357635, 0.21172665059566498, -0.19388531148433685, -0.8869605660438538, -0.4228889048099518, -0.04735133424401283, -0.1999383568763733, -0.09196358174085617, -0.26801198720932007, -0.4521784484386444, -0.4983503222465515, -0.39389273524284363, 0.2902483344078064, -0.5680350065231323, -0.30244728922843933, 0.01103541161864996, -0.30301111936569214, -0.03828364610671997, 0.23515799641609192, -0.7547962665557861, 0.19441892206668854, 0.6405724287033081, 0.9263763427734375, 0.025682948529720306, -0.43755677342414856, -0.4654754400253296, 0.45239609479904175, -0.11126752942800522, 0.684176504611969, -0.7689803242683411, -0.3144305348396301, -0.15419521927833557, 0.05551344156265259, -0.11677117645740509, -0.3758232891559601, 0.4163213074207306, -0.4821624159812927, -0.07219739258289337, -0.13523578643798828, -0.783278226852417, -0.17057523131370544, 0.16507922112941742, -0.7809558510780334, 0.9074509739875793, 0.31375786662101746, -0.9397179484367371, 0.2375498116016388, -0.2112855762243271, -0.7631763219833374, 0.321050226688385, -0.12277280539274216, -0.35846641659736633, -0.0434085875749588, 0.26713743805885315, 0.6239306926727295, -0.3462187647819519, 0.38650110363960266, -0.40066057443618774, -0.21241401135921478, 0.1890241801738739, -0.3108370006084442, 0.8552832007408142, 0.16181054711341858, 0.05997775122523308, 0.044438496232032776, -0.7969392538070679, -0.13782797753810883, 0.40893059968948364, -0.2766735553741455, -0.7065579295158386, 0.1468733251094818, -0.24855230748653412, 0.09079762548208237, 0.1560606211423874, -0.5778084397315979, 0.44861066341400146, -0.6009471416473389, 0.8288841843605042, 0.7301655411720276, -0.19071772694587708, 0.614169716835022, -0.1978980004787445, 0.4460509121417999, -0.2554723918437958, -0.4437228739261627, -0.45684540271759033, -0.28830787539482117, -0.569290280342102, -0.7963891625404358, 0.38713550567626953, 0.17916615307331085, -1.039368748664856, 0.3797326683998108, -0.4645174741744995, -0.614047646522522, -0.418363094329834, 0.27826663851737976, 0.2315675914287567, 0.6398729681968689, 0.16629937291145325, -0.1725849062204361, -0.4281920790672302, -0.4569230079650879, -0.31188902258872986, -0.30375343561172485, 0.02619084343314171, 0.3168562650680542, 0.4515642821788788, -0.11979201436042786, 1.160069465637207, -0.6720054149627686, -0.4394652545452118, -0.6754509806632996, 0.13998614251613617, 0.0380328968167305, 0.2055634707212448, 0.7082949876785278, -0.583895742893219, -0.7332756519317627, 0.0765068531036377, -0.6428743004798889, -0.18252579867839813, 0.023945361375808716, -0.13479836285114288, 0.15729299187660217, 0.43932995200157166, -0.6761716604232788, 0.16141237318515778, 0.5076271891593933, -0.08839866518974304, 0.28034278750419617, -0.13882073760032654, -0.47489407658576965, -1.304402470588684, -0.017957502976059914, 0.24107597768306732, -0.570634126663208, -0.4095950126647949, 0.09691475331783295, -0.12699638307094574, -0.22320657968521118, -0.1496952921152115, 0.6487860083580017, -0.6679258346557617, -0.00008295705629279837, -0.3402191698551178, 0.44100460410118103, 0.3354351222515106, 0.44328734278678894, 0.09984763711690903, 0.4103308320045471, 0.6532291173934937, -0.22094625234603882, 0.487220823764801, 0.10564127564430237, -0.21973004937171936, 0.4650931656360626, -0.5877915024757385, 0.13297566771507263, -0.3549089729785919, 0.7193886637687683, -1.088252305984497, -0.31170350313186646, 0.007738327607512474, -0.33475759625434875, 0.5388036966323853, -0.5193013548851013, -0.7145847082138062, -0.3888881504535675, -0.1529858559370041, 0.35432636737823486, 0.5605512261390686, -0.7672065496444702, 0.8443199396133423, 0.4540427327156067, -0.0662553459405899, -0.46529242396354675, -0.511186957359314, 0.12435687333345413, -0.1051139160990715, -0.4645635485649109, 0.2580382525920868, 0.18299023807048798, -0.043044690042734146, 0.14377811551094055, 0.10460475087165833, -0.15184436738491058, 0.27893927693367004, 0.26831281185150146, 0.4055887460708618, -0.039936844259500504, 0.5380403399467468, -0.055462636053562164, -0.27293652296066284, -0.18051283061504364, -0.6245822310447693, 0.71026611328125, 0.010051621124148369, -0.2873452305793762, -0.209659606218338, 0.2265540063381195, 0.3508418798446655, -0.6861820220947266, 0.9090452194213867, 0.468144953250885, -0.39685365557670593, -0.6255212426185608, -0.09415023028850555, -0.03737827017903328, -0.46243566274642944, 0.5234496593475342, -0.27694588899612427, -1.076792597770691, 0.4671882390975952, -0.413811057806015, -0.10665537416934967, 0.35560184717178345, 0.6984294056892395, -0.041836872696876526, 0.9938170909881592, 0.5852963924407959, -0.2556624710559845, 0.6396971344947815, -0.3714241683483124, 0.32848799228668213, -0.6010891199111938, -0.05641033500432968, -0.62883061170578, -0.17429497838020325, -0.518588662147522, -0.4176439940929413, 0.03941827639937401, 0.15137314796447754, -0.2094649225473404, 0.3587091267108917, -0.44356438517570496, 0.916609525680542, 0.3339114785194397, 0.06490227580070496, 0.3978428244590759, 0.15872366726398468, -0.10339884459972382, 0.08213750272989273, -0.6194107532501221, -0.5475407242774963, 1.0836800336837769, 0.42443764209747314, 1.056470513343811, 0.04415321722626686, 0.8544639945030212, -0.14605776965618134, 0.666620135307312, -0.9107994437217712, 0.5243512392044067, -0.3451991081237793, -0.5692358613014221, -0.17493446171283722, -0.6935036778450012, -1.0138118267059326, 0.37518227100372314, -0.0520872063934803, -1.0036053657531738, -0.2667037844657898, 0.1523459553718567, 0.10823921859264374, 0.5156948566436768, -0.9456056952476501, 0.9692541360855103, -0.02838427759706974, -0.23189745843410492, 0.06900397688150406, -0.49238553643226624, 0.27872487902641296, -0.1652321219444275, 0.3480220437049866, -0.27340933680534363, 0.18507020175457, 0.4838508367538452, -0.3760252594947815, 1.2959084510803223, -0.046717531979084015, -0.1828036904335022, 0.5027710795402527, 0.22797295451164246, 0.7566859722137451, -0.12336476892232895, -0.017844973132014275, 0.031092248857021332, -0.26390108466148376, -0.288554847240448, -0.39483439922332764, 0.7487408518791199, -0.6768783330917358, -0.4105292856693268, -0.2881059944629669, -0.6655116677284241, -0.11717111617326736, 0.4123932123184204, 0.12913309037685394, 0.5360212922096252, -0.05953548103570938, -0.017949970439076424, 0.38109225034713745, -0.03130513057112694, 0.3426940143108368, 0.3492622375488281, -0.4128337502479553, -0.2977622449398041, 1.1845228672027588, 0.18426966667175293, 0.5818262696266174, 0.34802281856536865, 0.23265743255615234, -0.28138524293899536, -0.38259977102279663, -0.16995082795619965, 0.6909085512161255, -1.0795022249221802, -0.3250580132007599, -0.586363673210144, -0.10105148702859879, -0.3604864776134491, -0.11426674574613571, -0.1518426537513733, -0.472159743309021, -0.5406518578529358, -0.2867506742477417, 0.41475167870521545, 0.683077871799469, 0.15242284536361694, 0.5197383761405945, -0.5884842276573181, 0.25640374422073364, 0.11996324360370636, 0.33620011806488037, 0.24417012929916382, -0.44836777448654175, -0.17023569345474243, -0.04590227082371712, -0.348840594291687, -0.8148722052574158, 0.3781466484069824, 0.3155917823314667, 0.40522316098213196, 0.18399961292743683, 0.18999391794204712, 0.48282840847969055, -0.665277361869812, 0.496297687292099, 0.2910689413547516, -1.073935627937317, 0.3398391306400299, -0.3483788073062897, -0.09808036684989929, 0.23169675469398499, 0.5919798612594604, -0.37173038721084595, -0.6435737013816833, -0.43284815549850464, -0.8689513802528381, 0.691167950630188, -0.06549976766109467, 0.27861663699150085, -0.21898037195205688, 0.3620033264160156, 0.051543161273002625, 0.052572544664144516, -1.25481116771698, -0.16760574281215668, -0.17513689398765564, -0.5866352319717407, -0.23005184531211853, 0.006632000673562288, -0.052652034908533096, -0.3753012418746948, 0.5734314322471619, -0.4788662791252136, -0.27019912004470825, -0.0685122162103653, -0.37782320380210876, 0.012280418537557125, 0.16866086423397064, -0.056683458387851715, 0.6514133810997009, 0.01375949289649725, 0.659958004951477, 0.0557844303548336, -0.17635411024093628, 0.14434564113616943, 0.16132129728794098, -0.1467423439025879, 0.053168561309576035, 0.6054337620735168, 0.8408191204071045, 0.009232335723936558, -0.5877299308776855, 0.5609322190284729, 0.18166381120681763, -0.036138225346803665, 0.12593655288219452, -0.11412966251373291, 0.4941401183605194, 0.11529721319675446, 0.1550714075565338, -0.3027638792991638, -0.30651137232780457, -0.4937482476234436, 0.09259803593158722, 0.5078624486923218, -0.2627667784690857, -0.3768274486064911, 0.5994513630867004, 0.2599010765552521, -0.27386751770973206, 0.4265637993812561, -0.3789811432361603, -0.7446261644363403, 0.4992017149925232, 0.953518807888031, 0.7204671502113342, -0.12534253299236298, 0.45640692114830017, 0.3812420070171356, 0.31451481580734253, 0.029871784150600433, -0.21446576714515686, 0.0001361290633212775, -0.7186516523361206, -0.7093594670295715, -0.6128499507904053, -0.2122226059436798, -0.15159930288791656, -0.4077913165092468, 0.3399506211280823, -0.3775244355201721, -0.26816707849502563, 0.5180060863494873, -0.07396408915519714, -0.39629030227661133, -0.10243197530508041, 0.18220360577106476, 0.6294133067131042, -1.0358752012252808, 1.1670396327972412, 0.5566720962524414, -0.5792864561080933, -1.0362862348556519, -0.11973220854997635, -0.35071346163749695, -0.8637101650238037, 0.8509528040885925, 0.25975391268730164, -0.009751970879733562, 0.4297280013561249, -0.7151062488555908, -0.5868716239929199, 1.0287333726882935, 0.807909369468689, -0.5430127382278442, -0.16907022893428802, 0.10734859853982925, 0.537574052810669, -0.4120655059814453, 0.13780845701694489, 0.39702051877975464, 0.05022904649376869, 0.3647327423095703, -0.8009015321731567, 0.05814974009990692, 0.31344014406204224, 0.0031506626401096582, 0.43221044540405273, -0.6090788841247559, 1.0670706033706665, -0.23511523008346558, -0.47270089387893677, -0.06472073495388031, 0.44998234510421753, -0.01761596091091633, 0.1631496101617813, 0.33064284920692444, 0.6667884588241577, 1.0059436559677124, -0.0437740720808506, 1.0230860710144043, -0.12302136421203613, 0.7435153722763062, 1.378699541091919, -0.7232078909873962, 0.7943987250328064, 0.3437957167625427, -0.0889056846499443, 0.7767524719238281, 0.38916343450546265, -0.007428391836583614, 0.26268547773361206, 0.2556145191192627, -0.3781597912311554, -0.5548970699310303, -0.3524932563304901, -0.03712256997823715, 0.37593507766723633, 0.1775737851858139, -0.4940836727619171, -0.6115434169769287, -0.09244894981384277, 0.19670747220516205, 0.30483996868133545, -0.23517972230911255, 0.7555228471755981, 0.2927563488483429, -0.46727168560028076, 0.5577495694160461, 0.17928937077522278, 0.23774360120296478, -0.5819247961044312, -0.004454063717275858, 0.04661779850721359, 0.3276718258857727, -0.1806698888540268, -0.7213063836097717, 0.08163903653621674, 0.23254188895225525, -0.176541268825531, -0.21210941672325134, 0.8878450393676758, -0.5793014168739319, -0.5772899389266968, 0.42213085293769836, 0.31488779187202454, 0.012245242483913898, 0.23099979758262634, -0.38394895195961, -0.017640916630625725, -0.1211857795715332, 0.012945626862347126, 0.3096669316291809, 0.5834178328514099, -0.017994431778788567, 0.7734357118606567, 0.5936965346336365, 0.028903212398290634, -0.08058766275644302, 0.2803729176521301, 1.1581244468688965, -0.4277071952819824, -0.40576159954071045, -1.2389531135559082, 0.3381447494029999, -0.17213116586208344, 0.1803121715784073, 0.9309319257736206, 0.4956134259700775, 0.8592586517333984, 0.2347227782011032, 0.8286322951316833, 0.10845500975847244, 0.3656400144100189, -0.4444029927253723, 0.6938573122024536, -0.39898985624313354, 0.16087248921394348, -0.3801359534263611, -0.9012373685836792, -0.34974610805511475, 0.6999155282974243, -0.31388208270072937, -0.03602822124958038, 0.5750887989997864, 0.3894936740398407, 0.07818039506673813, -0.19953718781471252, 0.1707378476858139, 0.32604819536209106, 0.5191882848739624, 0.7722293138504028, 0.9306374788284302, -0.15966114401817322, 0.4176896810531616, 0.14417359232902527, -0.2745211720466614, 0.02998272329568863, -1.1315345764160156, -1.4051244258880615, -0.5051689147949219, -0.3620014786720276, -0.4613647758960724, -0.5081941485404968, 0.8535045981407166, 0.5154892206192017, -0.24651987850666046, -0.05857783555984497, -0.1134469136595726, 0.46272212266921997, 0.19613946974277496, -0.14573031663894653, 0.3420535624027252, -0.30918997526168823, -0.7143833637237549, 0.015403250232338905, 0.2735568881034851, 0.16561390459537506, -0.26395905017852783, -0.08395237475633621, -0.16411429643630981, 0.17814971506595612, 0.5811582207679749, 0.09465067088603973, -0.7092400789260864, -0.39594972133636475, -0.18987983465194702, -0.2535199820995331, 0.11358463019132614, 0.7256656289100647, -0.8210879564285278, 0.5087637901306152, 0.35356536507606506, 0.5747037529945374, 0.6357589960098267, -0.022298825904726982, 0.3217259645462036, -1.1477538347244263, 0.4225674271583557, 0.19994370639324188, 0.5356274247169495, 0.43776223063468933, 0.035856787115335464, 0.3295556306838989, 0.4681083559989929, -0.3742358386516571, -1.256395936012268, 0.5930966138839722, -0.8989188075065613, -0.46799442172050476, 1.221070408821106, -0.5999479293823242, -0.2552904784679413, 0.10673414170742035, -0.2700938880443573, 0.39239078760147095, -0.006506358273327351, 0.24639661610126495, 0.6811467409133911, 0.3602907955646515, 0.05617471784353256, -0.054805416613817215, 0.22135362029075623, -0.07020362466573715, -0.7118769884109497, 0.5069183707237244, 0.5835102796554565, 0.36418765783309937, 0.08337585628032684, 0.685387909412384, 0.18314097821712494, -0.25735801458358765, 0.012550650164484978, 0.07274632900953293, -0.24448300898075104, -0.37328818440437317, -0.20230267941951752, 0.11030979454517365, 0.41078120470046997, 0.10492361336946487 ]
http://arxiv.org/abs/2402.12011v3
http://arxiv.org/pdf/2402.12011v3
A Systematic Comparison of Contextualized Word Embeddings for Lexical Semantic Change
2024-02-19T10:04:59
2024-03-08T14:50:40
Francesco Periti, Nina Tahmasebi
cs.CL
cs.CL
Contextualized embeddings are the preferred tool for modeling Lexical Semantic Change (LSC). Current evaluations typically focus on a specific task known as Graded Change Detection (GCD). However, performance comparison across work are often misleading due to their reliance on diverse settings. In this paper, we evaluate state-of-the-art models and approaches for GCD under equal conditions. We further break the LSC problem into Word-in-Context (WiC) and Word Sense Induction (WSI) tasks, and compare models across these different levels. Our evaluation is performed across different languages on eight available benchmarks for LSC, and shows that (i) APD outperforms other approaches for GCD; (ii) XL-LEXEME outperforms other contextualized models for WiC, WSI, and GCD, while being comparable to GPT-4; (iii) there is a clear need for improving the modeling of word meanings, as well as focus on how, when, and why these meanings change, rather than solely focusing on the extent of semantic change.
[ -0.20691922307014465, -0.6245787143707275, 0.7277845740318298, -0.029128391295671463, -0.2568683624267578, -0.26766932010650635, -0.3859187662601471, -0.46266070008277893, -0.03841005638241768, 0.04991629347205162, -0.39410141110420227, -0.7380778789520264, -0.8241742253303528, 0.1705550253391266, -0.469196617603302, 0.6771525740623474, -0.4659324884414673, 0.23076468706130981, -0.13994118571281433, -0.40596890449523926, -0.7637456655502319, -0.1902204304933548, -0.35911670327186584, -0.3963123559951782, 0.38130590319633484, -0.008319678716361523, 0.8235064148902893, 0.349899023771286, 0.4665343463420868, 0.26320281624794006, -0.5195203423500061, 0.12094531953334808, -0.10793405026197433, 0.11590921133756638, -0.4781133830547333, -0.1545102894306183, -0.17897844314575195, 0.19885830581188202, 0.48272162675857544, 0.9595844149589539, -0.3958137333393097, -0.0033769775182008743, 0.03433948755264282, 0.4030541181564331, -1.1231096982955933, 0.3052537739276886, -0.816550612449646, 0.13452430069446564, 0.07727659493684769, 0.09080947190523148, -0.3802223801612854, -0.16729441285133362, 0.10937807708978653, -0.7726976275444031, 0.10005677491426468, -0.07836773246526718, 0.6529843211174011, 0.2666708528995514, -0.39801985025405884, -0.7029218077659607, -0.43930426239967346, 0.7039812207221985, -0.7508443593978882, 0.8437700867652893, 0.22646982967853546, 0.16392016410827637, -0.038218434900045395, -0.7194510102272034, -0.609049916267395, -0.4664500951766968, 0.06555387377738953, 0.3830706775188446, -0.15982644259929657, -0.04447343200445175, 0.300850510597229, 0.33355712890625, -0.12014991790056229, 0.1177678257226944, -0.0906987115740776, -0.14894598722457886, 0.2990204989910126, 0.18660709261894226, 0.34877344965934753, -0.1690259426832199, -0.352904736995697, -0.41320160031318665, -0.6461302638053894, 0.1475185602903366, -0.030726570636034012, 0.21130679547786713, -0.07757788151502609, 0.5234605669975281, -0.3554580807685852, 0.7650901079177856, 0.049228403717279434, -0.23795640468597412, 0.278474360704422, -0.595170795917511, -0.30897870659828186, 0.18905693292617798, 0.05735952779650688, 0.602776825428009, 0.163974329829216, -0.3070215582847595, -0.43345046043395996, 0.7666061520576477, 0.06348808109760284, -0.6572301983833313, 0.055022358894348145, -0.04341157153248787, -0.3806515038013458, -0.11581463366746902, 0.050504136830568314, -0.148838073015213, -0.46399790048599243, -0.6924777626991272, 0.3076768219470978, -0.6112012267112732, -0.18897251784801483, 0.3579084575176239, -0.3603948652744293, 0.3598726987838745, 0.6360906362533569, -0.7308576703071594, 0.2491084188222885, 0.7637518644332886, 0.822078287601471, -0.4410640299320221, -0.22373908758163452, -0.26022711396217346, 0.00003998163447249681, -0.7576420903205872, 0.817692756652832, -0.8025813698768616, -0.4095451831817627, 0.2812260091304779, 0.0777142122387886, -0.2777995765209198, -0.6500061750411987, 0.38394007086753845, -0.5124949812889099, 0.09606204926967621, -0.6303631663322449, -0.9043177366256714, 0.15340636670589447, 0.4523388147354126, -0.4369482696056366, 1.097880244255066, 0.2809198200702667, -1.034559965133667, 0.9715693593025208, -0.7184965014457703, -0.07417701184749603, 0.0227041095495224, 0.139903724193573, -0.0049735442735254765, 0.4552168846130371, 0.2157776802778244, 0.1768580973148346, 0.18272490799427032, 0.3594186007976532, -0.158196359872818, -0.5773053765296936, 0.1506783813238144, -0.04741790518164635, 0.4033167362213135, 0.2902728021144867, -0.3821939527988434, 0.1218772605061531, -0.5211184620857239, 0.019494257867336273, -0.11297252774238586, -0.21771404147148132, -0.8061479330062866, 0.2604748010635376, -0.10304040461778641, 0.2617419958114624, 0.11223362386226654, -0.8806926012039185, 0.09775058925151825, -0.2734934389591217, 0.5088448524475098, 0.6958400011062622, -0.228504478931427, 0.560675859451294, -0.0687231495976448, 0.14850452542304993, 0.38666221499443054, 0.14343330264091492, -0.171260803937912, -0.5407332181930542, -0.49699994921684265, -0.08821435272693634, 0.4242573082447052, 0.34410959482192993, -0.7316873073577881, 0.2483910620212555, -0.25139954686164856, -0.2943418323993683, -0.3975367546081543, -0.15005141496658325, 0.17472489178180695, 0.4027253985404968, 0.6999103426933289, -0.4456525146961212, 0.04206472262740135, -0.600315511226654, -0.5462198257446289, -0.005496553611010313, -0.11374656111001968, 0.10636026412248611, 0.5228273868560791, -0.4154658913612366, 1.0227375030517578, -0.4310508370399475, -0.2321772426366806, -0.1341804563999176, 0.04020356386899948, -0.15497322380542755, 0.210836261510849, 0.3195517063140869, -0.5749876499176025, -0.19036300480365753, 0.06888556480407715, -0.5497905015945435, -0.21845802664756775, 0.060366902500391006, 0.04508179798722267, 0.16580316424369812, 0.8136196732521057, -0.22834210097789764, 0.8550341725349426, 0.5934575200080872, -0.7169790267944336, 0.43765655159950256, -0.27774420380592346, 0.19073639810085297, -0.780559241771698, -0.27968916296958923, -0.06414063274860382, -0.08538567274808884, -0.6521291136741638, 0.3064277470111847, 0.6055029034614563, 0.08722828328609467, -0.6597962379455566, 0.5819381475448608, -0.37639448046684265, -0.3525262773036957, -0.1085948497056961, 0.49977439641952515, -0.05061246454715729, 0.20904070138931274, 0.11637243628501892, 0.6868353486061096, 0.3208138346672058, -0.560352087020874, 0.05164787545800209, 0.14772929251194, -0.8236211538314819, 0.5006564855575562, -0.5535473227500916, -0.02117127552628517, -0.16560664772987366, 0.42165350914001465, -0.7961700558662415, 0.18156754970550537, 0.09417854994535446, -0.1489514261484146, 0.06617087870836258, 0.2632884085178375, -0.5989638566970825, -0.151800274848938, -0.32417985796928406, 0.5563670992851257, 0.2625020444393158, -0.8246948719024658, 0.2783055305480957, 0.01509418897330761, 0.1221727505326271, -0.19028884172439575, -0.6562477946281433, 0.10839521139860153, -0.16336777806282043, -0.6131486892700195, 0.9765084385871887, -0.07000108808279037, -0.528907060623169, 0.24493204057216644, -0.1642245650291443, 0.13912971317768097, 0.14953076839447021, -0.030847106128931046, -0.07234536111354828, -0.02600068226456642, 0.3733663856983185, 0.21269679069519043, -0.0361739806830883, -0.191885307431221, -0.18421171605587006, 0.40842634439468384, -0.14227959513664246, -0.43303826451301575, -0.35046544671058655, 0.30493810772895813, 0.31919553875923157, -0.2712160348892212, 0.8302599191665649, 0.7163211107254028, -0.47268491983413696, -0.08669223636388779, -0.4920157194137573, -0.15645726025104523, -0.38433268666267395, 0.36496230959892273, -0.29200759530067444, -0.9567623138427734, 0.4666222631931305, -0.2059134691953659, 0.02114040218293667, 0.29184091091156006, 0.5776272416114807, 0.2181205302476883, 1.1019097566604614, 0.7143897414207458, 0.2175453007221222, 0.6779347062110901, -0.01433700229972601, 0.2915586233139038, -1.1810792684555054, -0.08264372497797012, -0.2651820778846741, -0.19913940131664276, -0.6710635423660278, -0.471666157245636, 0.48317694664001465, 0.1962609589099884, -0.11904499679803848, 0.23449544608592987, -0.40556320548057556, 0.2155231386423111, 0.042895931750535965, -0.035358916968107224, 0.3045399785041809, -0.05385322868824005, -0.48474815487861633, -0.0948144868016243, -0.4633742868900299, -0.41577717661857605, 0.9122441411018372, 0.21737511456012726, 0.675239086151123, 0.2556226849555969, 0.5555073618888855, 0.34698668122291565, 0.7172945141792297, -0.8907397389411926, 0.4728780686855316, -0.184645876288414, -0.10238564759492874, -0.28957808017730713, -0.04594863951206207, -0.9267816543579102, 0.7915090918540955, -0.11806339025497437, -0.7060593962669373, 0.2372330129146576, -0.13813528418540955, 0.07464396953582764, 0.49084410071372986, -0.707433819770813, 0.7880059480667114, 0.2988815903663635, -0.13710923492908478, -0.4346136450767517, -0.07631586492061615, 0.1266838163137436, 0.10107538849115372, 0.31288594007492065, -0.24742986261844635, -0.2283172309398651, 0.6574686169624329, -0.6042149662971497, 0.5261613130569458, -0.4653797447681427, -0.48089471459388733, 0.24938002228736877, 0.08890122920274734, 0.43530070781707764, -0.054923318326473236, -0.2184617668390274, 0.17678789794445038, 0.27352920174598694, -0.27379149198532104, -0.5619825720787048, 0.7085953950881958, -0.555633008480072, -0.5402597188949585, -0.35786888003349304, -0.6375685334205627, -0.2314162254333496, -0.23508520424365997, 0.18496179580688477, 0.6933994889259338, -0.3022094964981079, -0.04859089478850365, 0.26166123151779175, -0.35158923268318176, 0.5497615337371826, 0.37759900093078613, -0.08662375062704086, 0.07764969766139984, 0.39433637261390686, 0.14694662392139435, 0.46988800168037415, 0.045601192861795425, 0.3922620713710785, -0.2940867841243744, -0.3332826495170593, -0.24836745858192444, 0.07411780953407288, -0.9766627550125122, 0.033934835344552994, -0.33844611048698425, 0.1989860236644745, -0.5701968669891357, -0.49921637773513794, -0.23388554155826569, -0.15106931328773499, 0.06544271856546402, -0.05093184486031532, 0.2542833983898163, 0.8865962624549866, -0.10856803506612778, -0.025121480226516724, -0.20557455718517303, 0.07728066295385361, 0.2344202995300293, 0.2858227491378784, -0.08485262095928192, -0.5031133890151978, -0.10501742362976074, 0.09700668603181839, -0.3430182635784149, -1.0229870080947876, 0.32926785945892334, 0.29835522174835205, 0.44183021783828735, 0.34380942583084106, -0.049580395221710205, 0.6147237420082092, -0.5739624500274658, 0.9717490673065186, 0.25316399335861206, -1.2786179780960083, 0.551361620426178, 0.018223175778985023, 0.6766487956047058, 0.3649316728115082, 0.11186350882053375, -0.9770918488502502, -0.3553307354450226, -0.4032304584980011, -0.6735705137252808, 0.3687079846858978, -0.12687447667121887, 0.12914495170116425, -0.38740456104278564, 0.24476005136966705, 0.06385928392410278, -0.007448744494467974, -0.5022898316383362, 0.22478380799293518, -0.3025408983230591, -0.11473356187343597, -0.006543364841490984, -0.14748097956180573, 0.101217120885849, -0.37203043699264526, 0.20846550166606903, -0.2548844814300537, 0.24446268379688263, 0.5296591520309448, -0.6126646995544434, 0.2011754810810089, 0.5252259969711304, 0.5924768447875977, 0.8117821216583252, -0.06561361998319626, 0.22232858836650848, 0.6580431461334229, -0.37434837222099304, -0.11613570153713226, -0.30945512652397156, -0.25077319145202637, 0.20054754614830017, 0.6283106207847595, 0.853801965713501, 0.763371467590332, -0.4449393153190613, 0.633140504360199, -0.07167856395244598, -0.2147323042154312, -0.16144759953022003, -0.11917704343795776, 0.06819169968366623, -0.08533644676208496, 0.0013372546527534723, -0.03718046844005585, 0.1790887713432312, -0.6744269132614136, -0.06095058470964432, 0.3654995858669281, -0.6658372282981873, -0.3001621663570404, 0.2896825075149536, -0.1889907270669937, 0.11149023473262787, 0.5140916705131531, -0.47606921195983887, -0.5248396992683411, 0.5159426927566528, 0.6971040964126587, 0.5790677666664124, -0.36583206057548523, 0.20617394149303436, 0.4021545946598053, 0.1273183971643448, -0.10316193848848343, -0.060737378895282745, -0.45783475041389465, -1.1985430717468262, -0.22728681564331055, -0.5366697907447815, -0.470750093460083, -0.2034132331609726, -0.9043790102005005, 0.2383614331483841, -0.3459654748439789, -0.16822820901870728, -0.03766530379652977, -0.2468436360359192, -0.9313536882400513, 0.16069957613945007, 0.2509199380874634, 1.0443472862243652, -0.8735830187797546, 0.8658121824264526, 0.8402047753334045, 0.045639898627996445, -0.6623489856719971, 0.21979595720767975, -0.034357327967882156, -0.6881095170974731, 0.7392765283584595, 0.2766313850879669, -0.15172359347343445, -0.20927047729492188, -0.45532700419425964, -0.758848249912262, 1.3492112159729004, -0.15948769450187683, -0.42761772871017456, 0.185085728764534, 0.0056629423052072525, 0.6339513063430786, -0.5094226002693176, 0.37209683656692505, 0.7898722290992737, 0.5589773058891296, -0.07229769229888916, -0.773855984210968, -0.052622102200984955, 0.04327232390642166, 0.4310041666030884, 0.11084321141242981, -0.1027783751487732, 1.0373950004577637, -0.05097261071205139, -0.6837753057479858, -0.030355023220181465, 0.5118419528007507, 0.2652498185634613, 0.27901214361190796, 0.8787484765052795, 0.7942735552787781, 0.6601102948188782, -0.36658188700675964, 1.2232463359832764, -0.48502761125564575, 0.4497428238391876, 0.7541868090629578, -0.5726632475852966, 0.9634616374969482, 0.3638107180595398, -0.16538317501544952, 0.7345921397209167, 0.6851232051849365, 0.3209291696548462, 0.8565061688423157, 0.3727743625640869, -0.22749318182468414, -0.24517062306404114, -0.2853306829929352, -0.5563284158706665, 0.3860452473163605, 0.6539047956466675, -0.11697071045637131, -0.6288731694221497, 0.08252492547035217, 0.16265685856342316, 0.21726444363594055, -0.5733984708786011, 0.7372056245803833, 0.0895964577794075, -0.7855716943740845, 0.5812731385231018, 0.5011417865753174, 0.9848700761795044, -0.48381394147872925, 0.2643031179904938, -0.3806473910808563, 0.30515041947364807, -0.03607102483510971, -0.5616899132728577, 0.352139949798584, -0.051073428243398666, -0.012722654268145561, -0.23829640448093414, 0.773003101348877, -0.46880918741226196, -0.47300243377685547, 0.8276476860046387, 0.38037383556365967, -0.23843300342559814, 0.000783750438131392, -0.7123494148254395, 0.32264959812164307, -0.3645888566970825, -0.06366937607526779, 0.38787245750427246, 0.28089913725852966, -0.5517340898513794, 0.32847651839256287, 0.5830535292625427, 0.07751204073429108, 0.1340942531824112, 0.5426547527313232, 0.7806649208068848, -0.5558778047561646, -0.6512212753295898, -0.4468592703342438, 0.16810105741024017, 0.03348004072904587, -0.5339957475662231, 0.4694264829158783, -0.022431835532188416, 1.0166932344436646, -0.04476913437247276, 0.41435614228248596, 0.13488858938217163, 0.17123186588287354, -0.7474824786186218, 0.268270343542099, -0.6838821172714233, 0.06997977197170258, -0.5793076157569885, -1.0474224090576172, -0.3039517104625702, 0.6892114281654358, -0.4673895239830017, -0.06522843986749649, 1.1993346214294434, 0.8373656272888184, -0.028485629707574844, 0.22309529781341553, 0.44922199845314026, 0.10629995912313461, 0.26263123750686646, 0.47626641392707825, 0.9762887954711914, -0.373531311750412, -0.13183778524398804, -0.10214832425117493, -0.302525132894516, 0.012059512548148632, -0.9911061525344849, -0.512053906917572, -0.7878270149230957, -0.6039546728134155, -0.14235904812812805, 0.2057795524597168, 0.7278406620025635, 0.440286248922348, -0.8354530930519104, 0.06206320598721504, -0.1009964793920517, -0.007978479377925396, -0.5138214230537415, -0.16845542192459106, 0.4666634798049927, -0.5752245783805847, -0.6361536383628845, 0.6517166495323181, 0.3001798093318939, -0.3890823721885681, -0.1971297264099121, -0.02215699478983879, 0.07494732737541199, 0.23297560214996338, 0.9609946012496948, -0.18391095101833344, -1.1741455793380737, -0.7986221313476562, -0.23588816821575165, -0.1996322125196457, -0.140735924243927, 0.896312415599823, -0.8406951427459717, 0.3261777460575104, 0.46609070897102356, 0.40653637051582336, 0.3940943777561188, -0.1504746675491333, 0.14717254042625427, -0.4520799517631531, 0.2621404528617859, -0.33965086936950684, 0.6878134608268738, 0.503746509552002, 0.024947479367256165, 0.6320970058441162, 0.3070526421070099, -0.21853403747081757, -0.6668140888214111, 0.3136163353919983, -0.7211731672286987, -0.48852968215942383, 1.3409305810928345, -0.11261104047298431, -0.04914591833949089, 0.0268313717097044, 0.008786767721176147, 0.09044381231069565, -0.12130142003297806, 0.5662080645561218, 0.7864382266998291, 0.08541170507669449, 0.27632731199264526, -0.40033701062202454, 0.482716828584671, 0.5265528559684753, -0.5514917373657227, -0.21212004125118256, 0.4063152074813843, 0.40076279640197754, 0.1063712015748024, 0.44198328256607056, -0.38011229038238525, 0.10953693836927414, -0.1832991987466812, 0.12229182571172714, 0.09319280833005905, -0.14273250102996826, -0.4063614308834076, -0.045454755425453186, -0.05967753008008003, 0.06297101080417633 ]
http://arxiv.org/abs/2402.12419v1
http://arxiv.org/pdf/2402.12419v1
EBFT: Effective and Block-Wise Fine-Tuning for Sparse LLMs
2024-02-19T09:55:32
2024-02-19T09:55:32
Song Guo, Fan Wu, Lei Zhang, Xiawu Zheng, Shengchuan Zhang, Fei Chao, Yiyu Shi, Rongrong Ji
cs.LG
cs.LG, cs.AI, cs.CL
Existing methods for fine-tuning sparse LLMs often suffer from resource-intensive requirements and high retraining costs. Additionally, many fine-tuning methods often rely on approximations or heuristic optimization strategies, which may lead to suboptimal solutions. To address these issues, we propose an efficient and fast framework for fine-tuning sparse LLMs based on minimizing reconstruction error. Our approach involves sampling a small dataset for calibration and utilizing backpropagation to iteratively optimize block-wise reconstruction error, on a block-by-block basis, aiming for optimal solutions. Extensive experiments on various benchmarks consistently demonstrate the superiority of our method over other baselines. For instance, on the Wikitext2 dataset with LlamaV1-7B at 70% sparsity, our proposed EBFT achieves a perplexity of 16.88, surpassing the state-of-the-art DSnoT with a perplexity of 75.14. Moreover, with a structured sparsity ratio of 26\%, EBFT achieves a perplexity of 16.27, outperforming LoRA (perplexity 16.44). Furthermore, the fine-tuning process of EBFT for LlamaV1-7B only takes approximately 30 minutes, and the entire framework can be executed on a single 16GB GPU. The source code is available at https://github.com/sunggo/EBFT.
[ -0.5604568123817444, -1.0243512392044067, 0.33959758281707764, 0.2970329225063324, -0.6502369046211243, 0.05769135430455208, -0.19113174080848694, -0.16009892523288727, 0.34165704250335693, 0.19376394152641296, -0.9682802557945251, -0.15735630691051483, -0.4710802733898163, 0.01975979097187519, -0.2367068976163864, 0.8414925336837769, -0.10403510183095932, -0.13648882508277893, 0.226236030459404, 0.01481582596898079, -0.461119681596756, 0.19486400485038757, -0.7212467789649963, -0.2494579255580902, 0.5782052278518677, 0.4969455599784851, 0.3015604615211487, 0.7806938886642456, 0.3334069550037384, 0.27250009775161743, -0.18947432935237885, 0.6472232341766357, -1.2129735946655273, -0.06516443192958832, -0.14122048020362854, 0.08912325650453568, -0.2701936662197113, -0.6043222546577454, 0.4743649959564209, 0.6584491729736328, -0.44175079464912415, 0.2941574454307556, 0.2279682457447052, 0.8893844485282898, -0.5018376708030701, -0.10164907574653625, -0.8385358452796936, -0.12147469073534012, 0.06276688724756241, -0.5930129885673523, 0.08019648492336273, -0.32974153757095337, -0.20228268206119537, -0.8592966198921204, 0.5454962849617004, 0.4820239543914795, 0.9056789875030518, 0.937993049621582, -0.015784326940774918, 0.3515267074108124, -0.24287474155426025, 0.6567438244819641, -0.33250692486763, 0.3480978012084961, 0.34359490871429443, 0.18289385735988617, -0.40790247917175293, -0.5316208004951477, -0.10306110978126526, 0.21159067749977112, 0.11362600326538086, 0.09627219289541245, -0.1661534607410431, 0.32226231694221497, 0.4179527163505554, 0.3451424539089203, -0.6678946018218994, 0.21388041973114014, -0.1499917358160019, -0.38701462745666504, 0.2896878719329834, 0.24247244000434875, -0.4856150150299072, -0.014699469320476055, -0.4456454813480377, 0.2475103735923767, -0.8939245939254761, -0.30852991342544556, 0.39351218938827515, 0.31636255979537964, -0.005373372696340084, 0.3795090615749359, -0.37031126022338867, 1.0725921392440796, 0.4577828347682953, -0.24064867198467255, -0.01784181222319603, -0.3703422546386719, -0.5063469409942627, 0.036274611949920654, 0.16286127269268036, 0.3182229697704315, 0.04518163576722145, 0.014730822294950485, -0.5562624931335449, -0.1584528237581253, 0.17983250319957733, -1.1111406087875366, -0.3167227804660797, 0.15215744078159332, -0.22158965468406677, -0.1798924058675766, -0.31382206082344055, -0.6553540825843811, -0.34807226061820984, -0.41470134258270264, 0.7366620898246765, -0.2408958524465561, -0.005496918223798275, 0.29756230115890503, 0.2189699113368988, 0.16170231997966766, 0.7223936915397644, -1.0026187896728516, 0.43497514724731445, 0.7590963840484619, 0.856235682964325, -0.06458819657564163, -0.10291490703821182, -0.7872166037559509, -0.04920840635895729, -0.33994126319885254, 0.9423971772193909, 0.2707976698875427, -0.23821769654750824, -0.3927880525588989, -0.040437258780002594, 0.019465729594230652, -0.6261943578720093, 0.27243077754974365, -0.21064159274101257, -0.6942845582962036, -0.11712317913770676, -0.3293244540691376, -0.15856778621673584, 0.36612531542778015, -0.5446584224700928, 0.9819610714912415, 0.3335641026496887, -0.37939774990081787, 0.2799294590950012, -0.022674918174743652, -0.42891138792037964, -0.1752738207578659, 0.08449950814247131, -0.6230362057685852, 0.3612200915813446, 0.3003578186035156, 0.4599091112613678, -0.43923714756965637, 0.09321439266204834, -0.2979908287525177, -0.9803892970085144, -0.13621185719966888, -0.4386615455150604, 0.2695996165275574, 0.2089887112379074, -0.34060171246528625, 0.017425894737243652, -1.0716670751571655, 0.12525856494903564, -0.003147813957184553, -0.36654067039489746, -0.08580541610717773, -0.3330278992652893, 0.2550881505012512, -0.347859650850296, 0.08719654381275177, -0.5358378887176514, 0.15091373026371002, -0.5114036202430725, 0.36795729398727417, 1.1102772951126099, -0.004685576073825359, 0.05804278701543808, -0.6806305646896362, 0.19544604420661926, -0.49256569147109985, 0.04834844172000885, -0.021854693070054054, -0.24445562064647675, -0.6617385745048523, -0.9158260822296143, 0.27191779017448425, 0.3747880160808563, -0.2980978488922119, 0.47516340017318726, -0.17030586302280426, -0.2502101957798004, -0.587647020816803, 0.36654505133628845, 0.3766358196735382, 0.5828078985214233, 0.4510221481323242, -0.2032560408115387, -0.6328431963920593, -0.7896644473075867, -0.025947535410523415, 0.16706636548042297, 0.2667197287082672, 0.503401517868042, 0.4817558825016022, -0.10612305998802185, 0.5185156464576721, -0.5867645144462585, -0.39796820282936096, 0.17221781611442566, -0.04854196682572365, 0.3295402526855469, 0.6998196244239807, 0.16034668684005737, -0.5438309907913208, -0.3651904761791229, -0.034190259873867035, -0.17525604367256165, -0.36041292548179626, -0.12941253185272217, -0.2463717758655548, 0.11430982500314713, 0.290802001953125, -0.290397584438324, 0.43767881393432617, 0.43447861075401306, -0.06957309693098068, 0.2437911033630371, -0.3681955337524414, 0.1371680349111557, -1.0066992044448853, -0.022180356085300446, -0.14073900878429413, -0.626492440700531, -0.1176254153251648, -0.0879797711968422, 0.06829420477151871, 0.2014445811510086, -0.22803129255771637, 0.28844863176345825, -0.4169924557209015, -0.21893100440502167, -0.29470503330230713, -0.06362614035606384, -0.005797242280095816, 0.6340937614440918, -0.2755686640739441, 0.5113980174064636, 0.16207699477672577, -0.23304975032806396, 0.5398580431938171, 0.09282451868057251, -0.33857017755508423, 0.7878788709640503, -0.6258687973022461, 0.1467587947845459, -0.19364629685878754, 0.10032390803098679, -1.0820765495300293, -0.2721692621707916, 0.20609717071056366, -0.22711396217346191, 0.8374107480049133, -0.4268732964992523, -0.40241187810897827, 0.0057858857326209545, -0.38695693016052246, 0.441774845123291, 0.42393383383750916, -0.7795013785362244, 0.4332975149154663, 0.13902372121810913, 0.04514855146408081, -0.7651311159133911, -0.6373375654220581, -0.39298808574676514, -0.026133019477128983, -0.5642544627189636, 0.3411780893802643, -0.19079165160655975, 0.12535922229290009, -0.004557518288493156, -0.6166958212852478, -0.11574672907590866, 0.2423378825187683, 0.30310899019241333, -0.032306719571352005, -0.012380829080939293, -0.2493966519832611, 0.35722681879997253, -0.26785406470298767, -0.6461975574493408, -0.33697575330734253, 0.4516153931617737, -0.32469430565834045, -0.5298842787742615, -0.2971091568470001, 0.11712635308504105, 0.04445028677582741, 0.32507553696632385, 0.33894118666648865, 0.6112199425697327, -0.6934618949890137, -0.4907180070877075, -0.8095756769180298, -0.20876936614513397, -0.4596436321735382, 0.7754484415054321, -0.4283434748649597, -0.8820340037345886, 0.38367751240730286, -0.2211805284023285, -0.03999544680118561, -0.015352335758507252, 0.6469270586967468, -0.2891903221607208, 0.5851136445999146, 0.649197518825531, 0.058477066457271576, 0.42043960094451904, -0.4791429340839386, -0.15415680408477783, -0.787161648273468, -0.10520778596401215, -0.37311503291130066, -0.6194132566452026, -0.3319288492202759, -0.47167497873306274, 0.26452815532684326, 0.21117334067821503, -0.45334258675575256, 0.3332814872264862, -0.47883865237236023, 0.690870463848114, 0.25781479477882385, 0.42556512355804443, 0.2768735885620117, 0.3793502151966095, 0.06949275732040405, -0.11723539978265762, -0.8199931383132935, 0.0013403575867414474, 0.8239825367927551, 0.036812618374824524, 1.2138171195983887, -0.11505894362926483, 0.9108597040176392, -0.06877487152814865, 0.17005369067192078, -0.7374081611633301, 0.332678884267807, 0.03813575208187103, -0.4787599444389343, -0.3784465193748474, -0.5321157574653625, -0.8080189228057861, 0.4796462953090668, -0.1573515683412552, -0.5470454692840576, 0.24768343567848206, 0.6005677580833435, -0.631752610206604, 0.354931503534317, -0.6034014225006104, 0.6538617610931396, 0.009680399671196938, -0.794901967048645, -0.5225598812103271, -0.5710976719856262, 0.19936013221740723, -0.5151417851448059, 0.09074320644140244, -0.37526553869247437, -0.29563000798225403, 0.17075777053833008, -0.5890771746635437, 0.6926304697990417, -0.2051597386598587, 0.044740237295627594, 0.020965103060007095, 0.18869100511074066, 0.6422539949417114, 0.23031552135944366, 0.09651049971580505, -0.02334040403366089, 0.14457418024539948, -0.5189688205718994, -0.40647780895233154, 0.9942890405654907, -0.6721426248550415, -0.3282023072242737, -0.2155337631702423, -0.7358872890472412, -0.230818971991539, 0.13301917910575867, 0.12232847511768341, 0.5438759922981262, -0.16245557367801666, 0.19771191477775574, 0.8327402472496033, -0.08027822524309158, 0.12800249457359314, 0.470094233751297, 0.24541784822940826, -0.5768100023269653, 1.3117015361785889, 0.06674907356500626, 0.17231106758117676, 0.5517643094062805, -0.01615574210882187, -0.15294115245342255, -0.9019721746444702, -0.6856241822242737, 0.38604670763015747, -0.4604938328266144, -0.8192533254623413, -0.00042963100713677704, 0.20977434515953064, 0.019175732508301735, -0.39324048161506653, -0.5620388388633728, -0.530125081539154, -0.3813905417919159, -0.08957436680793762, 0.4198078215122223, 0.5761922001838684, -0.5285921096801758, 0.3848988115787506, -0.44782498478889465, 0.4475354552268982, 0.07162079960107803, 0.6121863722801208, -0.2501380741596222, -0.7154421806335449, -0.31474268436431885, -0.12524005770683289, -0.19534385204315186, -0.4675116539001465, 0.3577747344970703, 0.462473601102829, 0.32433921098709106, 0.12927131354808807, -0.14727994799613953, 1.3995814323425293, -0.3188389241695404, 0.16940131783485413, 0.026899054646492004, -0.662101686000824, 0.38593506813049316, -0.18646317720413208, -0.07879271358251572, 0.7148166298866272, -0.06300143897533417, -0.02624121680855751, 0.012310299091041088, -0.3426366150379181, -0.9254583716392517, 0.7074455618858337, -0.02571546845138073, -0.3181197941303253, 0.468824177980423, 0.6051515936851501, 0.3210539221763611, 0.289397656917572, -0.23970207571983337, -0.248369500041008, -0.3067893981933594, -0.34267690777778625, -0.036877259612083435, -0.13812674582004547, -0.3242156207561493, -0.2845662832260132, 0.8644097447395325, -0.5276283621788025, 0.19495561718940735, 0.26566922664642334, -0.4557011127471924, -0.6254361271858215, -0.1768009066581726, 0.6239470839500427, 0.510293185710907, -0.5006081461906433, -0.026409855112433434, 0.4440421164035797, -0.4186801612377167, 0.2771904766559601, 0.5419597029685974, -0.3226729929447174, -0.35540664196014404, -0.07415261119604111, 0.8432040214538574, 0.5643959045410156, -0.4593549072742462, 0.45838692784309387, -0.009156676009297371, -0.31878310441970825, -0.06660305708646774, -0.2659738063812256, -0.06848923861980438, 0.5095140337944031, 0.3134039044380188, 0.3346119225025177, 0.02265007048845291, 0.11261659115552902, 0.13169638812541962, 0.4840664267539978, 0.16112254559993744, -0.1929292529821396, 0.5559589266777039, 0.028881516307592392, 0.13973760604858398, 0.38704466819763184, 0.027801141142845154, -0.0327928364276886, 0.5238638520240784, 0.5854358673095703, 0.6460504531860352, 0.11690493673086166, -0.18768250942230225, 0.5079716444015503, 0.519320011138916, -0.16221968829631805, 0.4166203439235687, -0.22191978991031647, -0.5700660943984985, -0.7440446019172668, -0.8910011649131775, -0.24141131341457367, -0.024287624284625053, -0.4492016136646271, 0.27018481492996216, -0.787784993648529, 0.20333494246006012, -0.4661686420440674, 0.21778613328933716, -0.6018083691596985, 0.158527672290802, 0.030235381796956062, 0.9855820536613464, -0.38217371702194214, 0.6992351412773132, 0.40317463874816895, -0.07780615985393524, -0.8927803039550781, -0.3965766727924347, 0.07065382599830627, -1.0865960121154785, 0.1488119214773178, 0.004258890636265278, -0.32808491587638855, 0.587961733341217, -0.49560317397117615, -0.9204833507537842, 1.276206612586975, 0.6880469918251038, -1.0131986141204834, 0.09627912938594818, -0.36871567368507385, 0.20369504392147064, 0.039737503975629807, -0.034506749361753464, 0.6644855737686157, 0.5157465934753418, 0.15631909668445587, -0.9939938187599182, 0.27134719491004944, 0.11230102181434631, 0.20592288672924042, 0.2939288318157196, -0.890857994556427, 0.333179771900177, -0.4738953113555908, -0.06657344847917557, 0.6190131902694702, 0.4923968017101288, 0.34603360295295715, 0.07299461960792542, 0.6055797338485718, 0.8997301459312439, 0.827407717704773, -0.44859156012535095, 0.7246984243392944, -0.36196351051330566, 0.6086459755897522, 0.7223184108734131, 0.15806913375854492, 0.4216557443141937, 0.7934155464172363, -0.05104094743728638, -0.10971587151288986, 1.0714519023895264, -0.12630876898765564, 0.9183152318000793, 0.5835772752761841, -0.13000084459781647, -0.3724479377269745, 0.1541142612695694, -0.32809683680534363, 0.036977071315050125, 0.48475244641304016, 0.20777609944343567, -0.32531169056892395, -0.1278490424156189, -0.3645658493041992, -0.27277010679244995, -0.6938316822052002, 0.5803285241127014, 0.15868687629699707, -0.4128263592720032, 1.0243711471557617, -0.0534418448805809, 0.8215623497962952, -0.6048399806022644, -0.0997239202260971, -0.500003457069397, 0.413999080657959, -0.4995505213737488, -0.20249786972999573, 0.13541269302368164, -0.2709299325942993, 0.11964275687932968, -0.1996898651123047, 0.854524552822113, -0.38170701265335083, -0.05180904641747475, 0.0046877614222466946, 0.5261229276657104, 0.19351530075073242, -0.059179872274398804, -0.5931147336959839, 0.41986793279647827, 0.1511375904083252, -0.5263856053352356, 0.4345035254955292, 0.27833205461502075, 0.29560959339141846, 0.5644264817237854, 0.5451561212539673, 0.3918428421020508, 0.15034925937652588, -0.051536399871110916, 0.9704933762550354, -0.45608654618263245, -0.17798617482185364, -0.543746829032898, 0.32035791873931885, 0.2727436423301697, -0.2579502761363983, 0.24490748345851898, 0.6480536460876465, 0.9110081791877747, 0.0971805527806282, 0.49359965324401855, -0.09599773585796356, 0.5287895202636719, -0.6085869073867798, 0.44250354170799255, -0.8061646819114685, 0.3306215703487396, -0.22793641686439514, -0.8950576186180115, -0.40066584944725037, 1.1052042245864868, 0.3448362648487091, 0.027961857616901398, 0.46893131732940674, 1.414749026298523, -0.21124137938022614, -0.05064989626407623, 0.5395401120185852, 0.2581559121608734, -0.0916425958275795, 0.761341392993927, 0.7426354885101318, -0.5380375385284424, 0.7343012690544128, -0.4136348366737366, -0.4521482586860657, -0.3710836172103882, -0.8185136914253235, -0.5069289207458496, -0.26700159907341003, -0.25770556926727295, -0.3951551616191864, 0.4015117883682251, 1.2424592971801758, 0.8058760166168213, -0.6930407285690308, 0.026621555909514427, -0.1464310884475708, 0.2108294665813446, -0.3501942455768585, -0.10489600151777267, 0.29710111021995544, -0.18549314141273499, -0.715975821018219, 0.47208476066589355, 0.23828715085983276, 0.08148643374443054, -0.15203703939914703, -0.20507153868675232, 0.09757471084594727, -0.12392916530370712, 0.41189998388290405, 0.3977130949497223, -0.5542660355567932, -0.4061264991760254, -0.13301798701286316, -0.021709393709897995, 0.013736732304096222, 0.7569231986999512, -0.777365505695343, 0.38187718391418457, 0.3259044587612152, 0.9080066680908203, 1.077304720878601, 0.02338510751724243, 0.17257428169250488, -0.9200262427330017, 0.22037172317504883, 0.19246746599674225, 0.5176513195037842, 0.4356154799461365, -0.24329957365989685, 0.7040164470672607, 0.6009697318077087, -0.616672694683075, -1.109792709350586, 0.12478183954954147, -1.2613917589187622, -0.09593569487333298, 1.072053074836731, -0.06348244845867157, -0.2184714674949646, -0.1574307084083557, -0.5273512601852417, 0.19987988471984863, -0.39492055773735046, 0.6201099753379822, 0.17325520515441895, -0.27357301115989685, -0.11483076959848404, -0.41083067655563354, 0.40423324704170227, 0.4070166349411011, -0.45464280247688293, -0.034380827099084854, 0.6728295087814331, 0.6704340577125549, -0.44664767384529114, 0.7775232791900635, 0.16373364627361298, 0.4682989716529846, -0.024046175181865692, -0.24780011177062988, -0.5407910943031311, -0.24174782633781433, -0.44018715620040894, 0.003959219437092543, -0.011006162501871586, 0.0007002764032222331 ]
http://arxiv.org/abs/2402.11997v1
http://arxiv.org/pdf/2402.11997v1
Remember This Event That Year? Assessing Temporal Information and Reasoning in Large Language Models
2024-02-19T09:43:03
2024-02-19T09:43:03
Himanshu Beniwal, Kowsik Nandagopan D, Mayank Singh
cs.CL
cs.CL, cs.AI, cs.LG
Large Language Models (LLMs) are increasingly becoming ubiquitous, yet their ability to reason about and retain temporal information remains limited. This hinders their application in real-world scenarios where understanding the sequential nature of events is crucial. This paper experiments with state-of-the-art models on a novel, large-scale temporal dataset, \textbf{TempUN}, to reveal significant limitations in temporal retention and reasoning abilities. Interestingly, closed-source models indicate knowledge gaps more frequently, potentially suggesting a trade-off between uncertainty awareness and incorrect responses. Further, exploring various fine-tuning approaches yielded no major performance improvements. The associated dataset and code are available at the following URL (https://github.com/lingoiitgn/TempUN).
[ -0.19554337859153748, -0.6409724950790405, 1.0103293657302856, 0.02164686843752861, -0.19770018756389618, -0.19839611649513245, -0.3209016025066376, -0.5282336473464966, -0.2660106420516968, 0.03322204202413559, -0.6479238271713257, -0.26561012864112854, -0.3187931478023529, -0.1585731953382492, -0.4031284749507904, 0.5915159583091736, -0.1536475569009781, -0.3319351375102997, -0.014719394966959953, -0.23442307114601135, -0.31152695417404175, -0.7197071313858032, -0.807765007019043, -0.5405418276786804, 0.6979631781578064, 0.5229383111000061, 0.5536016821861267, 0.3706595003604889, 0.42290017008781433, 0.14276601374149323, -0.2164412885904312, 0.1251508891582489, -0.562567949295044, 0.06701367348432541, -0.4248420000076294, -0.2095852941274643, -0.44809800386428833, -0.045651212334632874, 1.1126668453216553, 0.7070233821868896, -0.15490855276584625, 0.26722952723503113, -0.2804568111896515, 0.2956730127334595, -0.8664478063583374, 0.12965278327465057, -0.883999228477478, -0.0028049449902027845, -0.33215266466140747, -0.3696519136428833, -0.429433137178421, -0.24278675019741058, 0.19980685412883759, -0.4502770006656647, 0.030135657638311386, 0.09627948701381683, 1.0644681453704834, 0.22845497727394104, -0.30827611684799194, 0.08756161481142044, -1.040817141532898, 0.8377742171287537, -0.9531291723251343, 0.5183162093162537, 0.5890747308731079, 0.3038577139377594, -0.19741855561733246, -0.7236481308937073, -0.6401042342185974, -0.2547490894794464, 0.28981295228004456, -0.06910273432731628, 0.06362904608249664, -0.34693092107772827, 0.4454691708087921, 0.1805114597082138, -0.4631805121898651, 0.283091276884079, -0.26963821053504944, -0.08085697144269943, 0.3730262815952301, 0.48165494203567505, 0.17403265833854675, -0.0774984061717987, -0.2230387181043625, 0.03171604871749878, -0.7980802655220032, -0.07722202688455582, 0.2934701144695282, 0.02549789473414421, 0.06298694014549255, 0.7140089869499207, -0.1590694636106491, 0.5021649599075317, -0.2155621349811554, 0.10352970659732819, -0.032046929001808167, -0.27743321657180786, -0.24524115025997162, 0.004669888876378536, 0.5254026055335999, 0.3922777473926544, 0.49417898058891296, -0.3871595561504364, -0.04012785106897354, -0.13049958646297455, 0.04223909229040146, -0.7527255415916443, -0.1609489768743515, 0.32797694206237793, -0.14184004068374634, 0.10075867176055908, 0.08761922270059586, -0.585781991481781, -0.23456689715385437, -0.1666741967201233, 0.24939917027950287, -0.5534316301345825, -0.3018520772457123, 0.28903907537460327, -0.18114160001277924, 0.23916293680667877, 0.3079051375389099, -0.4750158488750458, -0.14249831438064575, 0.8969606161117554, 0.8573455810546875, -0.20093931257724762, -0.5438748598098755, -0.41422945261001587, 0.34652867913246155, -0.47458916902542114, 0.6945750117301941, -0.7258949875831604, -0.19116050004959106, -0.2539023458957672, 0.03591044992208481, -0.14720964431762695, -0.4650174081325531, 0.35481125116348267, -0.7861440181732178, 0.13144735991954803, -0.2539450228214264, -0.5604328513145447, 0.08198076486587524, 0.1603555679321289, -0.6129180192947388, 0.945349395275116, -0.060453832149505615, -0.8576498031616211, 0.4330873191356659, -0.08301153779029846, -0.16173920035362244, -0.10341338813304901, -0.1800469309091568, -0.44028329849243164, 0.20293481647968292, -0.04850231111049652, 0.28279995918273926, -0.1718614399433136, 0.537026584148407, -0.5846233367919922, -0.5043611526489258, 0.546340823173523, -0.3107101023197174, 0.5741333365440369, 0.24448971450328827, 0.029024319723248482, 0.005282704718410969, -0.7911198139190674, -0.24436865746974945, 0.38394245505332947, -0.3853127062320709, -0.4198669493198395, 0.2965376377105713, -0.08798157423734665, 0.12192004173994064, 0.4420449137687683, -0.42299890518188477, 0.2929091453552246, -0.2303740382194519, 0.6457061171531677, 0.7459198236465454, 0.3064199388027191, 0.423838347196579, -0.5829952359199524, 0.30284443497657776, 0.29876941442489624, 0.16356441378593445, -0.39896902441978455, -0.21935409307479858, -0.7110147476196289, 0.30057013034820557, 0.049362581223249435, 0.6361130475997925, -0.5516645908355713, 0.15984325110912323, -0.5143957138061523, -0.29534631967544556, 0.12864041328430176, -0.11498549580574036, -0.08410748839378357, 0.5137172937393188, 0.036250289529561996, 0.04388294368982315, -0.636137068271637, -0.8264089822769165, -0.19367912411689758, -0.47114917635917664, -0.1376575529575348, 0.09463303536176682, 0.5120879411697388, -0.043925441801548004, 0.8342545628547668, -0.2590714395046234, 0.14172856509685516, -0.1100843995809555, 0.051389388740062714, 0.1651482731103897, 0.3569413125514984, 0.47243598103523254, -0.39597541093826294, 0.2929426431655884, -0.13758598268032074, -0.7890458703041077, -0.09783978015184402, -0.3520045876502991, 0.04684925451874733, 0.35927408933639526, 0.6235371232032776, -0.469308078289032, 0.4767915904521942, 0.3258918523788452, -0.608244001865387, 0.5320166945457458, -0.2363334447145462, 0.2099309265613556, -0.8305844664573669, 0.1978624314069748, -0.08058536052703857, -0.11080566048622131, -0.5004489421844482, -0.07208238542079926, 0.2776091992855072, -0.010698026046156883, -0.4918162524700165, 0.8519389033317566, -0.41832271218299866, 0.11130207777023315, -0.24262163043022156, 0.027239618822932243, -0.1847241073846817, 0.31941190361976624, 0.08869063854217529, 0.5850042700767517, 0.23520895838737488, -0.7570262551307678, 0.08696410804986954, -0.0262648556381464, -0.7325222492218018, 0.41756731271743774, -0.43648889660835266, 0.36527562141418457, -0.21550682187080383, -0.03020665980875492, -0.678497314453125, -0.47055190801620483, 0.06439252197742462, -0.38543975353240967, 0.4489913880825043, -0.20526601374149323, -0.7880004048347473, -0.3342926800251007, -0.12085854262113571, 0.4614512622356415, 0.39826515316963196, -0.40283867716789246, 0.6998350620269775, 0.2810971736907959, -0.2841951251029968, -0.4314216077327728, -0.7494567632675171, 0.1978183090686798, -0.3799188435077667, -0.4216749370098114, -0.10601543635129929, -0.0662635862827301, -0.6021342277526855, 0.0936056524515152, -0.49413010478019714, -0.024269400164484978, 0.21093323826789856, 0.196747288107872, 0.31268057227134705, -0.2853907644748688, 0.4448775053024292, -0.18530084192752838, 0.08082633465528488, 0.13784195482730865, -0.42319256067276, 0.4825189709663391, -0.24419674277305603, -0.4657009541988373, -0.4499214291572571, 0.1296916902065277, 0.6408116817474365, 0.12603113055229187, 1.0195376873016357, 0.2706884741783142, -0.7825672626495361, -0.07370404154062271, -0.9115733504295349, -0.193809375166893, -0.39033305644989014, 0.43291130661964417, -0.2525976598262787, -0.9662652015686035, 0.6337850093841553, 0.0778503492474556, 0.19866354763507843, 0.4176313281059265, 0.3775135576725006, -0.19788068532943726, 0.516266942024231, 0.09306521713733673, -0.0374133475124836, 0.6815829873085022, 0.04910990223288536, 0.09882794320583344, -0.7113014459609985, -0.4187605679035187, -0.37851953506469727, -0.27951744198799133, -0.13218724727630615, -0.2720296084880829, 0.2767946422100067, 0.09842242300510406, -0.6927423477172852, -0.12098023295402527, 0.16189439594745636, 0.5012516975402832, 0.27958235144615173, 0.1838342845439911, 0.4756215810775757, -0.13080430030822754, 0.19832921028137207, -0.10061183571815491, -0.9127662777900696, -0.5817288160324097, 0.7819880247116089, 0.34568724036216736, 0.7602988481521606, -0.05831867828965187, 0.20928075909614563, 0.08834321796894073, -0.013058026321232319, -0.4663531482219696, 0.7711133360862732, 0.1680021435022354, -0.5904102325439453, -0.5400393009185791, -0.7531125545501709, -1.0471433401107788, -0.16114577651023865, -0.1539309322834015, -0.9545183777809143, 0.2537626624107361, 0.019167516380548477, -0.3715548515319824, 0.7109528183937073, -0.6129921674728394, 0.5192626118659973, -0.11247823387384415, -0.3734174966812134, -0.2213171273469925, -0.3258541226387024, 0.3242983818054199, -0.324593186378479, 0.28080326318740845, -0.5631552934646606, -0.2119176834821701, 0.8425979018211365, -0.183237224817276, 0.7691265344619751, 0.055730871856212616, 0.03797588124871254, 0.33643925189971924, 0.3917677700519562, 0.5225002765655518, 0.16409121453762054, -0.3094883859157562, 0.1299479752779007, 0.2758919894695282, -0.5761615037918091, -0.4852849245071411, 0.9535722732543945, -0.5301343202590942, -0.7287930250167847, -0.5062925219535828, -0.6337106227874756, -0.3470118045806885, 0.05760035663843155, 0.09598405659198761, 0.5330971479415894, -0.3017771542072296, 0.1657596081495285, 0.7556357383728027, -0.40125998854637146, 0.5493430495262146, 0.7113739252090454, -0.1972726583480835, -0.11183347553014755, 0.5639228820800781, 0.3722468912601471, 0.23379826545715332, 0.3117448091506958, 0.33582720160484314, 0.03463825210928917, -0.5618357062339783, -0.1392328441143036, 0.4650764763355255, -0.6354588866233826, -0.047735944390296936, -0.5751796960830688, -0.1869632452726364, -0.3097246289253235, 0.13422517478466034, -0.19048582017421722, -0.8341939449310303, -0.34695565700531006, -0.21359962224960327, 0.45189905166625977, 0.6176952719688416, 0.049867864698171616, 0.21671520173549652, -0.7023424506187439, 0.15601332485675812, 0.05786324664950371, 0.49040400981903076, 0.3545055687427521, -0.6572113037109375, -0.2704404592514038, -0.24446704983711243, 0.14763925969600677, -0.9959933161735535, 0.09908076375722885, 0.2037343829870224, 0.6220047473907471, 0.3025657534599304, 0.20805111527442932, 0.4855065941810608, -0.43970930576324463, 0.843940794467926, -0.10638605058193207, -0.6858869194984436, 0.855545699596405, -0.4767608940601349, 1.088474988937378, 0.2570326030254364, 0.28871551156044006, -0.5323241949081421, -0.4677346646785736, -0.7823765873908997, -0.9988762736320496, 0.8340470194816589, 0.06171029061079025, -0.30694612860679626, 0.005637912079691887, 0.6420283317565918, -0.043628837913274765, -0.08046536892652512, -0.2933046221733093, -0.005569444969296455, 0.1873929500579834, 0.03509796783328056, -0.1414104551076889, -0.557650089263916, 0.07465042918920517, -0.12588249146938324, 0.5942217707633972, 0.19590893387794495, -0.0173251461237669, 0.179814875125885, -0.01848980039358139, -0.12927626073360443, 0.4397084414958954, 0.5644073486328125, 1.0688860416412354, -0.38775092363357544, 0.2797011137008667, 0.7437646389007568, -0.38263770937919617, -0.09302186965942383, 0.1185089498758316, -0.2339295744895935, -0.19837012887001038, 0.6345013380050659, 0.6609497666358948, 0.40278956294059753, -0.8150503635406494, 0.11324257403612137, -0.07492697238922119, 0.14311262965202332, -0.6781280040740967, 0.007511741016060114, 0.2794758379459381, 0.4193574786186218, 0.4014264941215515, -0.2751816511154175, -0.18037745356559753, -0.8204673528671265, 0.036966536194086075, 0.08801934123039246, -0.1996026635169983, -0.3391569256782532, 0.6603333950042725, -0.29014694690704346, -0.06431551277637482, 0.8911759257316589, 0.03399326652288437, -0.41447049379348755, 0.6082972288131714, 0.21567875146865845, 0.6131395101547241, -0.25140029191970825, -0.346556156873703, 0.5594763159751892, 0.5432775020599365, -0.30859026312828064, 0.4263351559638977, 0.08200147747993469, -0.6344737410545349, -0.5074930191040039, -0.40682142972946167, -0.3841484487056732, 0.37878307700157166, -0.5470345616340637, 0.05469036474823952, -0.5717279314994812, -0.5740782618522644, -0.2514856159687042, -0.09859355539083481, -0.8448988199234009, -0.07532148063182831, 0.14722687005996704, 1.2279819250106812, -0.6777869462966919, 0.920211136341095, 0.5746152400970459, -0.24857133626937866, -0.40959304571151733, -0.0033032118808478117, 0.04140248894691467, -0.59906405210495, 0.49352583289146423, -0.20668284595012665, -0.05879838019609451, -0.3881623148918152, -0.4959900379180908, -0.7651429176330566, 1.0703667402267456, 0.24172726273536682, -0.9349879622459412, -0.4315382242202759, -0.005654658190906048, 0.44858279824256897, -0.07471752911806107, 0.058046855032444, 0.9009350538253784, 0.56711345911026, 0.2879953682422638, -1.1178385019302368, -0.07336953282356262, -0.1416604220867157, -0.09549185633659363, 0.3669489920139313, -0.643734872341156, 0.5584040880203247, -0.44552770256996155, -0.6677113175392151, 0.08664976805448532, 0.8146314024925232, 0.2698999345302582, 0.8060093522071838, 0.3951234221458435, 0.704627275466919, 0.947690486907959, -0.36556607484817505, 1.1485651731491089, 0.13012777268886566, 0.02980385161936283, 1.5693800449371338, -0.3195473849773407, 0.9369590878486633, 0.39444079995155334, 0.14741815626621246, 0.09673602133989334, 0.6869461536407471, 0.14392058551311493, 0.22531022131443024, 0.034538112580776215, -0.2723276615142822, -0.5987713932991028, 0.024124491959810257, -0.3852190673351288, 0.0012925652554258704, 0.6657117605209351, -0.02760343998670578, -0.22816230356693268, 0.022315738722682, 0.19009405374526978, -0.14586468040943146, -0.3719773292541504, 0.6087439656257629, 0.2539672255516052, -0.4857730567455292, 0.2657780051231384, -0.30577728152275085, 0.24492309987545013, -0.5860722661018372, 0.23228327929973602, -0.24006491899490356, 0.3719867169857025, -0.0034255424980074167, -1.0656925439834595, 0.49129387736320496, 0.10227559506893158, -0.05795908346772194, -0.008803710341453552, 0.5313597917556763, -0.24662820994853973, -0.5560797452926636, 0.23242206871509552, 0.5159831047058105, 0.24102988839149475, 0.017693201079964638, -0.29492881894111633, 0.5307124853134155, -0.32945796847343445, -0.39006954431533813, 0.20490555465221405, 0.9926839470863342, -0.14921525120735168, 0.9921903610229492, 0.13536956906318665, 0.4003450572490692, 0.0807337686419487, 0.24285167455673218, 0.5349501371383667, -0.9966124892234802, -0.18715204298496246, -0.9322748780250549, -0.04348263144493103, 0.03792724758386612, -0.3323827385902405, 0.7115382552146912, 0.7250579595565796, 0.9300982356071472, 0.18952509760856628, 0.5599556565284729, 0.35461416840553284, 0.5678946375846863, -0.7131353616714478, 0.3983117341995239, -0.5447206497192383, 0.3639937937259674, 0.16345109045505524, -0.6157587170600891, -0.21193450689315796, 0.24110153317451477, -0.5162310004234314, 0.035037457942962646, 0.7168603539466858, 0.4882339537143707, -0.07268458604812622, 0.12408635765314102, 0.3997710645198822, 0.43832430243492126, 0.1817210465669632, 1.0641772747039795, 1.4712063074111938, -0.08180546015501022, 0.4788135886192322, -0.10040698945522308, -0.17550645768642426, -0.33889782428741455, -1.1069812774658203, -1.096400499343872, -0.8920886516571045, -0.4507530629634857, -0.45850127935409546, 0.4583779275417328, 0.981693685054779, 0.5240386128425598, -0.8305587768554688, -0.07668136805295944, 0.4516347348690033, -0.10007224977016449, 0.11785466969013214, -0.1616637408733368, 0.28221815824508667, -0.09432458877563477, -0.5283867120742798, 0.43470895290374756, 0.23321522772312164, 0.2906411588191986, 0.06188253313302994, 0.1868923157453537, -0.1997484564781189, 0.20313000679016113, 0.4911805987358093, 0.4897976219654083, -0.715313732624054, -0.4877701699733734, 0.05055109038949013, 0.033577319234609604, -0.05910927429795265, 0.975315272808075, -0.6995753645896912, 0.28634315729141235, 0.634200930595398, 0.3991680145263672, 0.715822160243988, -0.22215652465820312, 0.5457582473754883, -0.3352503776550293, 0.11493203043937683, 0.25851181149482727, 0.7209874391555786, 0.32427072525024414, -0.30944275856018066, 0.4835594594478607, 0.07599906623363495, -0.6607192754745483, -0.8206996321678162, 0.24674125015735626, -1.1785966157913208, -0.5524695515632629, 1.2306394577026367, 0.10838726907968521, -0.09973493963479996, -0.1558389514684677, 0.05778372660279274, 0.33569279313087463, -0.37491196393966675, 0.8817322850227356, 1.1827056407928467, 0.028578320518136024, -0.3707233965396881, -0.7786915898323059, 0.18782295286655426, 0.15446488559246063, -0.5750607848167419, 0.14417718350887299, 0.6197656989097595, 0.4216112494468689, -0.08706524223089218, 0.4441773593425751, -0.10429179668426514, 0.26357871294021606, -0.08374150842428207, -0.40525466203689575, -0.23728016018867493, -0.6555269360542297, -0.362945020198822, 0.16646546125411987, 0.2210497111082077, 0.17560236155986786 ]
http://arxiv.org/abs/2402.14843v1
http://arxiv.org/pdf/2402.14843v1
Text Diffusion with Reinforced Conditioning
2024-02-19T09:24:02
2024-02-19T09:24:02
Yuxuan Liu, Tianchi Yang, Shaohan Huang, Zihan Zhang, Haizhen Huang, Furu Wei, Weiwei Deng, Feng Sun, Qi Zhang
cs.CL
cs.CL, cs.AI, cs.LG
Diffusion models have demonstrated exceptional capability in generating high-quality images, videos, and audio. Due to their adaptiveness in iterative refinement, they provide a strong potential for achieving better non-autoregressive sequence generation. However, existing text diffusion models still fall short in their performance due to a challenge in handling the discreteness of language. This paper thoroughly analyzes text diffusion models and uncovers two significant limitations: degradation of self-conditioning during training and misalignment between training and sampling. Motivated by our findings, we propose a novel Text Diffusion model called TREC, which mitigates the degradation with Reinforced Conditioning and the misalignment by Time-Aware Variance Scaling. Our extensive experiments demonstrate the competitiveness of TREC against autoregressive, non-autoregressive, and diffusion baselines. Moreover, qualitative analysis shows its advanced ability to fully utilize the diffusion process in refining samples.
[ -0.4369581639766693, -1.0375010967254639, 0.43251925706863403, 0.37895306944847107, -0.11972072720527649, 0.2902965545654297, -0.024073995649814606, -0.14027062058448792, -0.08859739452600479, 0.23597782850265503, -0.4640991687774658, -0.402092844247818, -0.7355131506919861, 0.177116259932518, -0.8742969632148743, 1.0772360563278198, -0.1891099512577057, -0.17143256962299347, -0.04723573103547096, -0.4684637486934662, -0.5702014565467834, -0.14389437437057495, -0.9217186570167542, -0.5331259965896606, 0.031938336789608, 0.2737894654273987, 0.4956211447715759, 0.5809962749481201, 0.16633665561676025, 0.26066482067108154, -0.10614609718322754, -0.05611942708492279, -0.45637616515159607, 0.34275883436203003, -0.2672004997730255, 0.07450036704540253, -0.0986197292804718, -0.07981834560632706, 0.965715765953064, 0.6036993861198425, -0.5127330422401428, -0.24174682796001434, 0.17780856788158417, 0.8215304613113403, -0.5449519753456116, -0.537954568862915, -0.37968406081199646, 0.1174299418926239, -0.07560605555772781, -0.13968005776405334, -0.576545238494873, -0.3385966122150421, 0.16892723739147186, -0.5748381018638611, 0.7967186570167542, -0.027991509065032005, 0.6843743324279785, 0.3726019561290741, -0.5260487198829651, -0.11920370906591415, -0.934904158115387, 0.7466811537742615, -0.5514856576919556, 0.2948739528656006, 0.3756776452064514, 0.08623071014881134, 0.10688493400812149, -0.6340290904045105, -0.608138918876648, -0.046387773007154465, 0.34133589267730713, 0.12621016800403595, -0.126482293009758, -0.15838153660297394, -0.04300776496529579, 0.38250866532325745, -0.7037814855575562, 0.06200720742344856, -0.1544119417667389, 0.11967457830905914, 0.31119194626808167, 0.12263736873865128, 0.2786596417427063, -0.03461401164531708, -0.5351935625076294, -0.1529718041419983, -0.27156415581703186, -0.19917288422584534, 0.3661535680294037, -0.12183624505996704, -0.061090126633644104, 0.26836439967155457, 0.06560839712619781, 0.4391660690307617, 0.3785940408706665, 0.022836074233055115, 0.17537616193294525, -0.3151315450668335, -0.28245991468429565, -0.005117674358189106, 0.8789623379707336, 0.09127994626760483, 0.1557134985923767, -0.08878796547651291, -0.2724590301513672, -0.12583403289318085, 0.547316312789917, -0.695730447769165, -0.2804432809352875, 0.05613170191645622, -0.6128503680229187, -0.2805090844631195, -0.34989088773727417, -0.912915050983429, -0.0637832060456276, 0.1523059606552124, 0.34768572449684143, -0.5676007270812988, -0.4562174081802368, 0.2544134557247162, -0.3282358944416046, -0.2075534462928772, 0.11631249636411667, -0.9629546999931335, 0.4287315607070923, 0.11247672885656357, 1.2011597156524658, -0.4707012474536896, 0.02808382548391819, -0.015871088951826096, 0.18964485824108124, -0.39655470848083496, 1.0438472032546997, -0.5621040463447571, -0.8740269541740417, -0.008261580020189285, -0.14130885899066925, -0.10068565607070923, -0.494416207075119, 0.447815865278244, -0.5092787742614746, 0.17245422303676605, 0.24732236564159393, -0.4022599160671234, 0.11550810933113098, 0.08451557159423828, -0.9324185252189636, 1.3660354614257812, 0.24597524106502533, -0.9270270466804504, 0.2290414571762085, -0.4274240732192993, -0.6682177186012268, -0.2500579357147217, 0.31068482995033264, -0.7856627702713013, 0.1072874441742897, 0.08393093943595886, 0.23474489152431488, -0.1339808851480484, 0.46826767921447754, -0.5037247538566589, -0.15457022190093994, 0.3310205042362213, -0.7010955810546875, 0.1927836537361145, 0.5555886626243591, -0.2257082760334015, -0.3712003231048584, -0.6816060543060303, -0.25677719712257385, -0.14704309403896332, -0.4453739523887634, -0.5152175426483154, 0.04298057034611702, 0.1283845454454422, 0.32091808319091797, -0.24594920873641968, -0.3290988504886627, 0.2441689819097519, -0.3740667998790741, 0.6279467940330505, 0.7004284858703613, 0.39098384976387024, 0.9078121781349182, -0.34160560369491577, 0.5891486406326294, 0.1611255407333374, 0.032103125005960464, -0.05961340293288231, -0.2791699469089508, -0.7839155793190002, 0.0003884565958287567, 0.4005764126777649, 0.39827239513397217, -1.1825755834579468, -0.04118403419852257, -0.19091182947158813, -0.3479177951812744, -0.4280335605144501, -0.013986560516059399, 0.3255099952220917, 0.5955875515937805, 0.6164501309394836, -0.4349786043167114, -0.2831166386604309, -0.8207478523254395, -0.3301108479499817, 0.13110612332820892, 0.08070321381092072, -0.09062224626541138, 0.46866294741630554, -0.23868116736412048, 0.8304010629653931, -0.2610938847064972, -0.10202735662460327, -0.21408705413341522, 0.8474158644676208, -0.15095075964927673, 0.8431815505027771, 0.5441222190856934, -0.7500461339950562, -0.4843744933605194, -0.3505101501941681, -0.11726860702037811, -0.32785359025001526, -0.48956099152565, -0.2397177368402481, 0.41036444902420044, 0.5282394289970398, -0.2211935967206955, 0.6203688979148865, 0.6865943670272827, -0.3104599714279175, 0.3911200761795044, -0.3842397630214691, 0.4157814383506775, -1.0605359077453613, 0.01523401215672493, 0.6722922325134277, -0.4728003442287445, -0.5451189875602722, -0.493865966796875, -0.028181113302707672, -0.014588287100195885, -0.21796204149723053, 0.6711302399635315, -0.2223503142595291, 0.2958780527114868, -0.460053950548172, 0.2091001570224762, 0.16529777646064758, 0.3608180582523346, 0.38165247440338135, 0.8099390268325806, 0.18183672428131104, -1.0717289447784424, -0.2149847447872162, 0.17647871375083923, -0.23561103641986847, 0.9064837694168091, -0.7118502259254456, -0.11888047307729721, -0.21524286270141602, 0.324280321598053, -1.331382393836975, 0.09666542708873749, 0.02706894837319851, -0.4883624017238617, 0.7314375042915344, 0.10454803705215454, -0.2819744944572449, -0.3436998724937439, -0.11386356502771378, 0.8647528290748596, 0.48313021659851074, -0.34023064374923706, 0.45289942622184753, 0.10548091679811478, -0.13320621848106384, -0.6323230266571045, -1.1043506860733032, -0.10166719555854797, -0.17079617083072662, -0.4038669168949127, 0.6661584377288818, -0.33316853642463684, -0.05969463661313057, -0.042131975293159485, -0.2754898965358734, -0.428201824426651, -0.024812445044517517, 0.07746005803346634, -0.10946548730134964, 0.18626552820205688, 0.54139643907547, 0.17629866302013397, -0.1091427430510521, -0.27356967329978943, -0.6375083327293396, 0.3017455041408539, 0.3751535415649414, -0.15831603109836578, -0.5149198770523071, 0.5508809685707092, 0.38682612776756287, 0.10119263827800751, 0.7711476683616638, 0.5507674217224121, -0.1447865515947342, -0.34394916892051697, -0.7024364471435547, 0.18405640125274658, -0.4830399453639984, 0.2256532907485962, -0.27762359380722046, -0.7997865080833435, 0.19689546525478363, -0.13923422992229462, -0.054471563547849655, 0.6850057244300842, 0.5726578235626221, -0.3599115312099457, 0.9383332133293152, 0.8017277717590332, 0.19570758938789368, 0.7793453931808472, -0.2942979037761688, -0.019297363236546516, -0.6556075215339661, -0.2230343371629715, -0.8138354420661926, -0.39923685789108276, -0.5662404894828796, -0.4498502016067505, 0.10280540585517883, -0.30188196897506714, -0.3820476830005646, 0.24198085069656372, -0.5515888333320618, 0.32908305525779724, 0.4724617302417755, 0.06914947181940079, 0.38245993852615356, 0.03753478452563286, -0.4226115047931671, -0.07899416238069534, -0.6646111011505127, -0.46263259649276733, 0.6212198734283447, 0.47838500142097473, 0.9801344871520996, 0.008888517506420612, 0.49904417991638184, 0.8721804022789001, 0.3161645531654358, -0.3885049819946289, 0.17692475020885468, -0.282550185918808, -0.6304997205734253, -0.263347327709198, -0.6117151975631714, -0.9482877850532532, -0.08163616806268692, -0.10872431844472885, -0.3075905740261078, 0.367824912071228, 0.1316968947649002, -0.16457699239253998, 0.3970308005809784, -0.5935667157173157, 0.7492288947105408, 0.2080937623977661, -0.4936322867870331, -0.2933448851108551, -0.4337030351161957, 0.30098024010658264, -0.18306821584701538, 0.41709572076797485, 0.0939684584736824, -0.09574154019355774, 0.6242760419845581, -0.4068383276462555, 0.5341920852661133, -0.12109741568565369, -0.11330700665712357, 0.4700033664703369, 0.5822029709815979, 0.2216852754354477, 0.001938121858984232, -0.08974775671958923, -0.4029046893119812, -0.048391956835985184, -0.630591094493866, -0.5450044870376587, 0.623790979385376, -0.6393457651138306, -0.3573629856109619, -0.3223055899143219, -0.23179471492767334, -0.21358034014701843, -0.04678673669695854, 0.6516610980033875, 0.3000883162021637, -0.4976349174976349, 0.11592990905046463, 1.054320216178894, -0.28115928173065186, 0.9683386087417603, 0.4952656924724579, 0.27462849020957947, -0.5992275476455688, 0.7125906944274902, -0.009467238560318947, 0.5794559717178345, 0.4524288475513458, 0.0005895006470382214, -0.5344210267066956, -0.7240826487541199, -0.05460153892636299, 0.2590217888355255, -0.5269149541854858, -0.19763517379760742, -0.7491635084152222, -0.09244728833436966, -0.4654654562473297, -0.1820811629295349, -0.4762190580368042, -0.6602948904037476, -0.6083736419677734, -0.22003620862960815, 0.12300585955381393, 0.8324456214904785, -0.02448873221874237, 0.7430180311203003, -0.7315101027488708, 0.3706084191799164, 0.14381267130374908, 0.5537319183349609, 0.09762914478778839, -0.8821915984153748, -0.43491309881210327, -0.2504303455352783, -0.5534626841545105, -0.8846872448921204, 0.6459085941314697, 0.25669562816619873, 0.37343308329582214, 0.3035792410373688, 0.004527560900896788, 0.512451171875, -0.48834705352783203, 0.9124385714530945, 0.2937871813774109, -1.0681843757629395, 0.4364854395389557, -0.20690058171749115, 0.546061098575592, 0.5634526014328003, 0.4003645181655884, -0.6503970623016357, -0.47971639037132263, -0.7929940819740295, -0.7675492763519287, 0.3800813555717468, 0.3613273501396179, 0.14488884806632996, -0.29491496086120605, 0.5455731749534607, 0.020044056698679924, 0.11293860524892807, -1.0637586116790771, 0.015092868357896805, -0.6209310293197632, -0.34311631321907043, 0.13352303206920624, -0.47522175312042236, 0.21482908725738525, 0.06389863789081573, 0.9967682361602783, 0.10574054718017578, 0.16619034111499786, 0.47231248021125793, -0.25206536054611206, -0.005112909246236086, 0.1907832771539688, 0.5889941453933716, -0.0855570137500763, 0.29942142963409424, 0.06892204284667969, 0.12466773390769958, -0.526619017124176, 0.5641126036643982, -0.21267755329608917, -0.11993588507175446, 0.10835807770490646, 0.30640947818756104, 0.6581867337226868, 0.15519964694976807, -0.26223108172416687, 0.4197312891483307, -0.2041025012731552, -0.49810120463371277, 0.05539028346538544, -0.03113400936126709, -0.20036327838897705, 0.13273781538009644, 0.43749260902404785, 0.2853373885154724, 0.2793685793876648, -0.07102669030427933, 0.3505532443523407, 0.24451373517513275, -0.40759971737861633, -0.08260215073823929, 0.887229859828949, 0.3762722909450531, -0.21459367871284485, 0.6465157270431519, -0.11866804212331772, -0.17668572068214417, 0.5602984428405762, 0.5208866596221924, 0.9339452385902405, -0.45219162106513977, 0.5041782855987549, 0.5170250535011292, 0.29302260279655457, -0.6129133701324463, -0.16409818828105927, -0.41708657145500183, -0.390277624130249, -0.3061580955982208, -0.45847851037979126, -0.020066319033503532, -0.3023613393306732, -0.5097768306732178, 0.03380371630191803, -0.41674309968948364, -0.7497248649597168, -0.3888324797153473, -0.17237944900989532, -0.5058944225311279, 0.41217273473739624, -0.09881816059350967, 1.0486571788787842, -0.8466849327087402, 0.9399096965789795, 0.1323586404323578, -0.30478137731552124, -0.48787227272987366, 0.1227228194475174, -0.35073912143707275, -0.362976610660553, 0.5212175846099854, -0.1147860512137413, -0.17886993288993835, -0.0015696421032771468, -0.48061177134513855, -0.678077220916748, 0.8779605031013489, -0.006966172251850367, -0.35606393218040466, -0.3393084704875946, -0.016765723004937172, 0.7318118810653687, -0.21986591815948486, 0.2556391954421997, 0.6808139681816101, 0.4377567768096924, 0.46078070998191833, -0.594523012638092, -0.1733207106590271, -0.25065016746520996, 0.544426441192627, 0.156866192817688, -0.8328697681427002, 0.6355165839195251, 0.08824437111616135, -0.5428364872932434, 0.2892158031463623, 0.7094094753265381, -0.1919594258069992, 0.28608912229537964, 0.3636537194252014, 0.9118079543113708, 0.48020145297050476, -0.12934985756874084, 0.9133657813072205, 0.05083547532558441, 0.4157397449016571, 1.086085557937622, -0.013623365201056004, 0.5846851468086243, 0.3038707971572876, 0.003646594937890768, 1.0092227458953857, 0.8643474578857422, 0.10185971111059189, 0.7347069382667542, 0.023159360513091087, -0.34877315163612366, -0.16017979383468628, -0.014816628769040108, -0.19979490339756012, 0.04200415313243866, 0.3735194504261017, -0.49740123748779297, -0.1875981092453003, 0.27322062849998474, -0.3155686557292938, 0.34613871574401855, -0.16656941175460815, 0.6258140802383423, -0.027189401909708977, -0.8960264325141907, 0.5402072668075562, 0.16120363771915436, 0.7309868335723877, -0.44658809900283813, 0.1948121190071106, -0.5050029754638672, -0.023454241454601288, -0.1736278086900711, -0.7967144250869751, 0.5103519558906555, -0.10109799355268478, -0.38018539547920227, -0.6506009101867676, 0.5412769317626953, -0.6090555191040039, -0.12555062770843506, 0.13249751925468445, 0.27832308411598206, -0.19391800463199615, 0.10364662855863571, -0.5899952054023743, -0.12001876533031464, -0.12128481268882751, -0.4163821041584015, 0.0683244988322258, 0.8413311243057251, 0.21395906805992126, 0.9299891591072083, 0.22822058200836182, -0.008716583251953125, 0.05363846942782402, 0.15623340010643005, 0.395579069852829, -0.6451724171638489, -0.49578770995140076, -0.9927608370780945, 0.5155314803123474, 0.00579460896551609, -0.15438848733901978, 0.5291322469711304, 0.35252928733825684, 0.46506640315055847, -0.05601595342159271, 0.6930041313171387, 0.33948302268981934, 0.4074723720550537, -0.6180768609046936, 0.5498296618461609, -0.549735426902771, 0.280291348695755, -0.3027680516242981, -0.5879154801368713, -0.10719963908195496, 0.5019630193710327, -0.1100996658205986, 0.3484703004360199, 0.9608097672462463, 0.39560458064079285, 0.0827215388417244, -0.0783582329750061, 0.13825060427188873, 0.1032632365822792, 0.45429784059524536, 0.6767987608909607, 0.7219597697257996, -0.376972496509552, 0.8329469561576843, 0.05868378281593323, -0.020652692764997482, -0.044934600591659546, -0.9563683271408081, -0.9352095723152161, -0.8606109023094177, -0.5827280879020691, -0.573990523815155, -0.059804901480674744, 0.4272383153438568, 0.9344830513000488, -0.3987124264240265, -0.004041826818138361, -0.4581202268600464, 0.2297145426273346, -0.05241600424051285, -0.2910214364528656, 0.038760002702474594, -0.42405083775520325, -0.8594948649406433, 0.0497114360332489, 0.29434674978256226, 0.9300636053085327, -0.379930317401886, 0.17436325550079346, -0.38488131761550903, 0.3375839293003082, 0.25004690885543823, 0.36884841322898865, -0.2404644936323166, -0.04787575080990791, -0.1025891974568367, -0.34867092967033386, 0.30367785692214966, 1.1463747024536133, -1.0364292860031128, 0.5721728801727295, 0.5133140683174133, 0.5114986896514893, 0.8602722883224487, 0.20285770297050476, 0.6924541592597961, -1.0847278833389282, 0.1512255221605301, 0.2873572111129761, 0.15060696005821228, 0.3310995399951935, -0.2979608476161957, 0.39502182602882385, 0.37843066453933716, -0.7205049991607666, -0.5466560125350952, 0.1622932106256485, -0.6767786145210266, -0.6707932353019714, 1.0524734258651733, 0.16663455963134766, -0.16913673281669617, -0.26232847571372986, -0.10740746557712555, 0.5481895208358765, -0.556262195110321, 0.9610777497291565, 1.176988959312439, 0.04545683041214943, -0.25780460238456726, -0.37365996837615967, 0.589178204536438, 0.4622199535369873, -0.5926901698112488, -0.05017848312854767, 0.4390425384044647, 0.3814534842967987, -0.06855183839797974, 0.8375442624092102, -0.09029929339885712, 0.09892620146274567, 0.03591601923108101, -0.09806306660175323, 0.25864142179489136, -0.4743293523788452, -0.528588056564331, 0.17763759195804596, -0.03242850676178932, -0.06542804092168808 ]
http://arxiv.org/abs/2402.11975v2
http://arxiv.org/pdf/2402.11975v2
Compress to Impress: Unleashing the Potential of Compressive Memory in Real-World Long-Term Conversations
2024-02-19T09:19:50
2024-07-01T09:38:06
Nuo Chen, Hongguang Li, Juhua Huang, Baoyuan Wang, Jia Li
cs.CL
cs.CL
Existing retrieval-based methods have made significant strides in maintaining long-term conversations. However, these approaches face challenges in memory database management and accurate memory retrieval, hindering their efficacy in dynamic, real-world interactions. This study introduces a novel framework, COmpressive Memory-Enhanced Dialogue sYstems (COMEDY), which eschews traditional retrieval modules and memory databases. Instead, COMEDY adopts a "One-for-All" approach, utilizing a single language model to manage memory generation, compression, and response generation. Central to this framework is the concept of compressive memory, which intergrates session-specific summaries, user-bot dynamics, and past events into a concise memory format. To support COMEDY, we curated a large-scale Chinese instruction-tuning dataset, Dolphin, derived from real user-chatbot interactions. Comparative evaluations demonstrate COMEDY's superiority over traditional retrieval-based methods in producing more nuanced and human-like conversational experiences. Our codes are available at https://github.com/nuochenpku/COMEDY.
[ -0.2858440577983856, -1.026324987411499, 0.27615877985954285, 0.3793349862098694, -0.41075244545936584, 0.08509884774684906, -0.6288496255874634, -0.26535600423812866, 0.6751745343208313, 0.2937251925468445, -0.5327389240264893, -0.12313509732484818, -0.17572008073329926, -0.15035110712051392, -0.3407222330570221, 0.5956405997276306, 0.6199325323104858, -0.37823033332824707, -0.13073554635047913, -0.24241453409194946, -0.6277899742126465, -0.7923608422279358, -0.839868426322937, -0.18266034126281738, 0.4475604295730591, 0.4511019289493561, 1.0498664379119873, 0.32430538535118103, 0.2869148552417755, 0.24217674136161804, 0.05216414853930473, 0.25385376811027527, -0.8798313736915588, 0.22930988669395447, 0.08834287524223328, -0.27271610498428345, -0.34869664907455444, -0.36624816060066223, 0.44627365469932556, 0.7182427048683167, -0.6512474417686462, -0.3223464787006378, 0.19519101083278656, 0.5223298072814941, -0.8682904243469238, 0.20633040368556976, -0.490863174200058, 0.3269505798816681, 0.23446336388587952, -0.5464840531349182, -0.7383801937103271, -0.3295234441757202, -0.09039300680160522, -0.6319124102592468, -0.21299952268600464, -0.01556011289358139, 0.8018426299095154, 0.36307263374328613, 0.08168520033359528, -0.3484535813331604, -0.7019253373146057, 0.6789396405220032, -0.5754392743110657, 0.05917247757315636, 0.2245350331068039, 0.3194696605205536, -0.3479035198688507, -0.7069039940834045, -0.489511102437973, -0.15422916412353516, 0.07741930335760117, 0.355607271194458, -0.13203296065330505, 0.16221514344215393, 0.1971447467803955, 0.3913319706916809, -0.5185232162475586, -0.10746071487665176, -0.11929056793451309, 0.019121918827295303, 0.3600951135158539, 0.11805842071771622, 0.5100047588348389, -0.2785112261772156, -0.1646539717912674, -0.1353798657655716, -0.4779646396636963, -0.1686539202928543, 0.17127706110477448, 0.29367420077323914, -0.03714531660079956, 0.09539338201284409, -0.24894815683364868, 0.44167962670326233, -0.1058172956109047, 0.00389310484752059, -0.15335401892662048, 0.009119566529989243, -0.2762867212295532, 0.2022072672843933, 0.9358121752738953, 0.39316967129707336, 0.3919866979122162, -0.20329347252845764, 0.1470755934715271, -0.2611265778541565, 0.3126794993877411, -0.7534896731376648, -0.5583387613296509, 0.06505030393600464, -0.4893524646759033, -0.24821974337100983, 0.16432474553585052, -0.7986425757408142, -0.3377961814403534, 0.12553003430366516, 0.504649817943573, -0.6431819796562195, -0.21901994943618774, 0.3318789303302765, -0.45915067195892334, -0.16361309587955475, 0.45775002241134644, -0.659547746181488, 0.5856907367706299, 0.6545876264572144, 0.8152095675468445, 0.009921073913574219, 0.06419962644577026, -0.8277701735496521, 0.28789496421813965, -0.2339351326227188, 0.7308886647224426, -0.6785501837730408, -0.2427247017621994, 0.16938887536525726, -0.19494324922561646, 0.1852700412273407, -0.8937576413154602, 0.6412594318389893, -0.19683216512203217, 0.2562802731990814, 0.11400705575942993, -0.3410155773162842, 0.09343782067298889, 0.2588483691215515, -0.6059314608573914, 0.8888062834739685, 0.06706403195858002, -0.43518704175949097, -0.1209111288189888, -0.3091304898262024, -0.5721783638000488, 0.12593062222003937, -0.2691075801849365, -0.04189058393239975, 0.31720247864723206, 0.18380360305309296, 0.35227739810943604, -0.37392765283584595, 0.388859361410141, -0.372043251991272, -0.9273365139961243, 0.40295958518981934, -0.7775142788887024, 0.39889511466026306, 0.3307841122150421, 0.07545893639326096, -0.4248653054237366, -0.6649484038352966, 0.13955549895763397, 0.10752684623003006, -0.49142077565193176, -0.2723478674888611, 0.14664100110530853, -0.32943615317344666, 0.18629638850688934, 0.16813303530216217, -0.3981655240058899, 0.11569322645664215, -0.5154332518577576, 0.5942755341529846, 0.46775487065315247, -0.036419522017240524, -0.005782345775514841, -0.4733178913593292, 0.3953654170036316, 0.1540413349866867, 0.26788821816444397, -0.8301650285720825, -0.20346969366073608, -0.8798984885215759, -0.03139349818229675, -0.039932701736688614, 0.7062692046165466, -0.7940949201583862, 0.4937736690044403, -0.6163368225097656, -0.15818095207214355, -0.2224823236465454, -0.06510917842388153, 0.2569486200809479, 0.2886425256729126, 0.35131481289863586, -0.703503429889679, -0.49812594056129456, -0.5929836630821228, -0.10862153768539429, -0.29924365878105164, -0.19516421854496002, 0.6621811389923096, -0.32388731837272644, 0.6073764562606812, 0.5754181146621704, -0.6063203811645508, -0.037626758217811584, -0.4348357319831848, 0.02549363300204277, 0.3468019366264343, 0.4797370731830597, 0.15232887864112854, -0.5287197828292847, -0.4354609549045563, -0.5266300439834595, -0.6398895382881165, 0.13694453239440918, -0.4669297933578491, 0.0676569938659668, 0.184871643781662, 0.41675809025764465, -0.8012309670448303, 0.457309752702713, 0.17770566046237946, 0.07395027577877045, 0.5512549877166748, -0.3653368353843689, 0.3555225133895874, -0.9565719366073608, -0.037535008043050766, -0.30984535813331604, -0.3240604102611542, -0.3558887839317322, -0.029752325266599655, -0.10465668886899948, -0.4662012755870819, -0.47837886214256287, 0.49222275614738464, -0.3694416284561157, 0.024581147357821465, -0.2204395979642868, 0.42389175295829773, -0.01717579923570156, 0.6582265496253967, 0.00751920323818922, 0.6493383646011353, 0.49437829852104187, -0.6243312358856201, 0.473215788602829, 0.25854626297950745, -0.3840183615684509, 0.6289185285568237, -0.5857277512550354, 0.4036140739917755, 0.09288286417722702, 0.46985310316085815, -1.0445139408111572, -0.33908164501190186, 0.24260979890823364, -0.4709939658641815, 0.5169470310211182, -0.14947089552879333, -0.802008867263794, -0.39723989367485046, -0.4200144112110138, 0.03581246733665466, 0.7814075946807861, -0.5668372511863708, 0.3348691165447235, 0.19696561992168427, -0.5480046272277832, -0.6245228052139282, -0.5996865034103394, 0.6587116122245789, -0.37411004304885864, -0.5391555428504944, 0.3088351786136627, -0.3029651641845703, 0.039897289127111435, -0.23923322558403015, -0.10154540836811066, -0.20948541164398193, 0.1252278983592987, 0.05625293031334877, 0.07509694248437881, -0.29386642575263977, 0.25818535685539246, 0.06287547200918198, 0.10977312922477722, -0.15967513620853424, -0.03650657460093498, 0.9339442253112793, 0.3299531638622284, -0.202133446931839, -0.7417984008789062, 0.4565921723842621, 0.2410024255514145, 0.40268775820732117, 0.5386415719985962, 0.29911863803863525, -0.10124475508928299, -0.19864441454410553, -0.5309656262397766, -0.263338565826416, -0.5446955561637878, 0.45611321926116943, -0.3356417417526245, -0.7129910588264465, 0.27872949838638306, -0.44749876856803894, -0.3274290859699249, -0.1169256865978241, 0.12568841874599457, -0.24105985462665558, 0.927189290523529, 0.4540940821170807, -0.1576036959886551, 0.6250880360603333, 0.1309358775615692, 0.2713398039340973, -0.693341851234436, 0.1832135170698166, -0.2815953493118286, -0.518737256526947, -0.12910591065883636, -0.4184422791004181, 0.2254648655653, 0.14152538776397705, -0.35094916820526123, 0.33067044615745544, -0.5073601603507996, 0.6710245013237, 0.3181396424770355, 0.26071932911872864, 0.12110274285078049, 0.15793320536613464, 0.09135988354682922, -0.06623853743076324, -0.8930106163024902, -0.35206103324890137, 0.512734055519104, 0.13617444038391113, 1.0814963579177856, 0.25999557971954346, 0.6779249906539917, 0.32624515891075134, -0.14418919384479523, -0.6838663220405579, 0.8754720091819763, -0.44941097497940063, -0.04925255477428436, -0.07460083067417145, -0.5763282775878906, -1.0315680503845215, -0.1869642734527588, 0.09209001064300537, -1.1928646564483643, -0.08226362615823746, 0.03747514262795448, -0.7603816390037537, 0.12537778913974762, -0.507102906703949, 0.5881619453430176, -0.094788558781147, -0.6488445401191711, -0.66566002368927, -0.7397508025169373, 0.308523029088974, 0.31978005170822144, 0.07372485101222992, 0.01777035929262638, 0.2380753755569458, 0.4676830470561981, -0.16798776388168335, 0.9460974335670471, -0.02369806356728077, 0.18940316140651703, 0.29548147320747375, 0.36406630277633667, 0.3122372031211853, 0.12168239057064056, -0.24183081090450287, -0.1298515796661377, 0.09376887232065201, -0.30045610666275024, -1.078185796737671, 0.7701940536499023, -0.5300548076629639, -0.7248038649559021, -0.0882803425192833, -0.6832111477851868, -0.14383898675441742, -0.16669799387454987, -0.17006205022335052, 0.7137600779533386, -0.396397203207016, 0.3931601345539093, 0.5334821939468384, -0.8577844500541687, 0.4944583475589752, 0.3356151580810547, -0.10121071338653564, -0.5882382392883301, 1.0486433506011963, 0.07082436233758926, 0.39741095900535583, 0.4478762149810791, 0.1882304847240448, -0.0578889399766922, 0.15455681085586548, -0.28202033042907715, 0.12077070772647858, -0.7647061347961426, -0.26600563526153564, -0.6568694710731506, -0.3024446964263916, -0.519094705581665, -0.09207633882761002, -0.33077511191368103, -0.9566607475280762, -0.15567797422409058, 0.1841031163930893, 0.06036379933357239, 0.42407968640327454, -0.13630571961402893, 0.2906263470649719, -0.8896445035934448, 0.27202683687210083, -0.016105160117149353, 0.20637081563472748, 0.20695292949676514, -0.5339931845664978, -0.32701754570007324, -0.03703400865197182, -0.7100251913070679, -0.7185230851173401, 0.6691095232963562, 0.7621247172355652, 0.4154496192932129, 0.5218769311904907, 0.4125341475009918, 1.1083861589431763, -0.31032252311706543, 0.9610311388969421, 0.29359203577041626, -0.5877749919891357, 0.7405872941017151, 0.06599355489015579, 0.23690955340862274, 0.3746866285800934, 0.08063129335641861, -0.6924031972885132, -0.43455204367637634, -0.8638755083084106, -0.8246283531188965, 0.7932183742523193, 0.012070761993527412, 0.7794473171234131, -0.39455142617225647, 0.629615306854248, 0.04372552037239075, 0.23783402144908905, -0.3095199167728424, -0.22142037749290466, -0.1031874492764473, -0.34542596340179443, 0.010231174528598785, -0.23732078075408936, -0.12030687928199768, -0.1075260117650032, 0.29840266704559326, -0.17492081224918365, 0.5863710641860962, 0.10331370681524277, 0.04202207922935486, 0.04883129894733429, 0.4278687834739685, 0.5130758285522461, 0.14322182536125183, -0.3481953740119934, 0.25943899154663086, -0.009144226089119911, -0.33409547805786133, -0.0519871786236763, 0.04920763894915581, 0.17121215164661407, 0.025244377553462982, -0.05621581897139549, 0.8204888701438904, 0.5981666445732117, -0.9828819036483765, 0.40380528569221497, -0.2764742076396942, 0.32435739040374756, -0.36245638132095337, 0.5433821082115173, 0.017838750034570694, 0.034738101065158844, 0.3787062168121338, -0.18614046275615692, 0.22967000305652618, -1.0891785621643066, 0.4151935577392578, 0.2576066255569458, -0.585217297077179, -0.22413191199302673, 0.39700600504875183, 0.27004119753837585, -0.4321885108947754, 0.9060463905334473, -0.1735641062259674, -0.43350863456726074, 0.4149101674556732, 0.8619332313537598, 0.6181172132492065, 0.019502058625221252, 0.1996498554944992, 0.6287694573402405, -0.17884543538093567, -0.2506762444972992, 0.33721020817756653, -0.5352003574371338, -0.5771123766899109, -0.4508608281612396, -0.2746823728084564, -0.5228137969970703, 0.01039083767682314, -0.7137072086334229, 0.2724952697753906, -0.5085561275482178, -0.0584540069103241, -0.5725997686386108, 0.12226246297359467, -0.12958969175815582, 0.09578032046556473, 0.33828672766685486, 1.0608370304107666, -0.3225352466106415, 0.9624811410903931, 0.28452056646347046, -0.39109161496162415, -0.6478174328804016, 0.12148699164390564, -0.2056031972169876, -0.769570529460907, 0.47196924686431885, 0.3732885718345642, 0.11317835003137589, 0.03583601117134094, -0.6366819143295288, -0.4243038594722748, 0.9342361688613892, 0.6934247016906738, -0.40994593501091003, -0.11008496582508087, 0.14352107048034668, 0.41513708233833313, -0.22789199650287628, 0.4926803410053253, 0.4688602089881897, 0.07343816757202148, 0.4566769301891327, -0.9896559119224548, 0.10193496942520142, -0.2945793867111206, -0.34369784593582153, 0.05112572759389877, -1.1036059856414795, 0.3294999301433563, -0.29473045468330383, -0.5063594579696655, 0.29886069893836975, 0.7877830266952515, 0.3831537961959839, 0.2558668553829193, 0.2833287715911865, 0.6866101622581482, 0.8439232110977173, -0.06763026863336563, 0.9950747489929199, -0.4935373067855835, 0.0624198280274868, 1.5311601161956787, -0.30602967739105225, 0.9738956093788147, 0.36271345615386963, -0.0013124288525432348, 0.6147763133049011, 0.31512975692749023, 0.29384875297546387, 0.46738073229789734, 0.330128937959671, -0.23968034982681274, -0.4385453760623932, -0.3008025288581848, -0.05029842630028725, 0.08001797646284103, 0.6162502765655518, -0.0005115119274705648, -0.08205889165401459, -0.06067649647593498, -0.019101794809103012, 0.0961238443851471, 0.12670853734016418, 0.8995934128761292, 0.40173470973968506, -0.8147972226142883, 0.7409027218818665, -0.5206389427185059, 0.8103018403053284, -0.452174574136734, -0.3045012354850769, -0.4408574104309082, 0.10551204532384872, 0.12959261238574982, -0.8822326064109802, 0.20324017107486725, -0.17396460473537445, 0.3686639070510864, -0.08743027597665787, 0.8612546324729919, -0.406817227602005, -0.028972355648875237, 0.20091724395751953, 0.2555854022502899, 0.610317051410675, -0.10581488907337189, -0.8230026960372925, 0.4157963693141937, -0.265348345041275, -0.12829527258872986, 0.40972912311553955, 0.6588952541351318, 0.3841122090816498, 0.9976281523704529, 0.2063474953174591, 0.11555908620357513, -0.16742192208766937, 0.27793464064598083, 0.7494633197784424, -0.8817784786224365, -0.5023833513259888, -0.7391590476036072, 0.26558393239974976, -0.3964124917984009, 0.009964266791939735, 0.4508378803730011, 0.7137207984924316, 0.26288115978240967, 0.1743364781141281, 0.6886335015296936, -0.1430860310792923, 0.40875566005706787, -0.40640929341316223, 0.6265682578086853, -0.58890300989151, 0.3042784333229065, -0.16534638404846191, -0.5485002398490906, -0.2480866014957428, 0.6551199555397034, 0.17968669533729553, -0.06187635287642479, 0.541357696056366, 0.8031390905380249, -0.24820424616336823, 0.06046626344323158, 0.8502491116523743, 0.3318901062011719, 0.3317554295063019, 1.0215996503829956, 1.086166501045227, -0.44470497965812683, 0.9092282652854919, -0.15186147391796112, -0.010554568842053413, -0.3047275245189667, -0.742205023765564, -0.5288936495780945, -0.3975227177143097, -0.4808642566204071, -0.3746248781681061, 0.2612147331237793, 0.9628797173500061, 0.7064931392669678, -0.34313979744911194, -0.2978236675262451, 0.13196153938770294, -0.0999809205532074, -0.242955282330513, -0.293483167886734, 0.2875955402851105, -0.6437755227088928, -0.8387883305549622, 0.5584270358085632, 0.7561054825782776, -0.252862811088562, -0.13424152135849, -0.15267153084278107, 0.19972926378250122, 0.5120615363121033, 0.4989725351333618, 0.43908393383026123, -0.4197089970111847, -0.37836748361587524, -0.05857807770371437, -0.10960054397583008, 0.4556286931037903, 0.6278091073036194, -1.1162469387054443, 0.438498318195343, 0.33887287974357605, 0.3387598395347595, 0.1758168786764145, 0.08099376410245895, 0.7823701500892639, -0.7549506425857544, 0.4173000156879425, 0.11703875660896301, 0.282910019159317, 0.3883030116558075, -0.3940899968147278, 0.5173999071121216, 0.17778898775577545, -0.6554513573646545, -0.9097647070884705, 0.05925176665186882, -1.185158371925354, -0.4072195589542389, 0.9078853726387024, -0.48368966579437256, -0.24791169166564941, -0.16431647539138794, -0.3687155544757843, 0.2973771393299103, -0.6229106187820435, 1.1538974046707153, 0.728805422782898, -0.34749603271484375, -0.505142092704773, -0.496815949678421, 0.30327174067497253, 0.5331316590309143, -0.6292099952697754, 0.2712406814098358, 0.5888242721557617, -0.09562068432569504, 0.20795927941799164, 0.7608024477958679, -0.02305557206273079, 0.43581050634384155, 0.010552231222391129, -0.12864996492862701, 0.2753422260284424, -0.2715313136577606, -0.047957103699445724, 0.507231593132019, -0.1100689172744751, 0.16957151889801025 ]
http://arxiv.org/abs/2402.11968v2
http://arxiv.org/pdf/2402.11968v2
What Do Dialect Speakers Want? A Survey of Attitudes Towards Language Technology for German Dialects
2024-02-19T09:15:28
2024-06-07T13:05:01
Verena Blaschke, Christoph Purschke, Hinrich Schütze, Barbara Plank
cs.CL
cs.CL
Natural language processing (NLP) has largely focused on modelling standardized languages. More recently, attention has increasingly shifted to local, non-standardized languages and dialects. However, the relevant speaker populations' needs and wishes with respect to NLP tools are largely unknown. In this paper, we focus on dialects and regional languages related to German -- a group of varieties that is heterogeneous in terms of prestige and standardization. We survey speakers of these varieties (N=327) and present their opinions on hypothetical language technologies for their dialects. Although attitudes vary among subgroups of our respondents, we find that respondents are especially in favour of potential NLP tools that work with dialectal input (especially audio input) such as virtual assistants, and less so for applications that produce dialectal output such as machine translation or spellcheckers.
[ -1.0435186624526978, -0.703554630279541, 0.5611987709999084, 0.24314765632152557, -0.04984385147690773, -0.2627178430557251, -0.3607831299304962, -0.5250166058540344, 0.709923505783081, 0.6312073469161987, -0.338339626789093, -0.27550041675567627, -0.3563099801540375, 0.2113122045993805, -0.5575911998748779, 0.6212794184684753, 0.4160904288291931, -0.06955868005752563, 0.00987014826387167, 0.028650417923927307, -0.3453504145145416, -0.9222590923309326, -0.5426051616668701, -0.5140202641487122, 0.6074460744857788, 0.5945427417755127, 1.0633822679519653, 0.2729948163032532, 0.16176651418209076, 0.4153635501861572, -0.21783031523227692, -0.4938306510448456, 0.2711392939090729, 0.19920894503593445, -0.24995148181915283, -0.3371354937553406, -0.6959558129310608, 0.04396761953830719, 0.3054562509059906, 1.0188781023025513, 0.014061790890991688, 0.07944300025701523, -0.281239777803421, 0.6860467195510864, -0.1719183772802353, 0.09535116702318192, -0.3421285152435303, 0.38216888904571533, -0.4484841227531433, -0.10465489327907562, -0.20048826932907104, -0.566819429397583, 0.17211969196796417, -0.3530932068824768, 0.5130600333213806, -0.06443791091442108, 0.9873321652412415, -0.0965833067893982, -0.7532528042793274, -0.08283933252096176, -0.9515122175216675, 0.5486121773719788, -0.8736985921859741, 0.6856182813644409, 0.6236579418182373, 0.41142433881759644, 0.08490193635225296, -0.5750499963760376, -0.5072398781776428, -0.22342213988304138, -0.14329072833061218, 0.1512659192085266, -0.22838512063026428, 0.254980206489563, 0.11310546845197678, 0.5539699196815491, -0.5358825922012329, 0.44722941517829895, 0.021107420325279236, 0.10795347392559052, 0.5044105052947998, -0.19061633944511414, 0.11089091002941132, -0.1805494725704193, 0.30028748512268066, 0.048792459070682526, -0.20581448078155518, -0.02675740234553814, 0.5860173106193542, 0.5081700086593628, -0.06623945385217667, 0.5052229166030884, -0.532391369342804, 1.1468759775161743, 0.3275696337223053, 0.05995564162731171, 0.42909157276153564, -0.17541302740573883, -0.05375528335571289, -0.09661390632390976, 0.3710345923900604, 0.2124139666557312, 0.49124231934547424, -0.30949121713638306, -0.49687814712524414, -0.34853342175483704, 0.27684733271598816, -0.3519126772880554, -0.16913753747940063, 0.44189080595970154, -0.24963253736495972, 0.05882536992430687, 0.07078400999307632, -0.989368736743927, -0.2428443878889084, -0.417468786239624, 0.16729971766471863, -0.4134496748447418, -0.564826488494873, 0.34369030594825745, -0.7171231508255005, 0.10396668314933777, 0.3870581388473511, -1.4674779176712036, 0.32644087076187134, 0.6408441662788391, 0.5816042423248291, 0.0016617742367088795, 0.06568702310323715, -0.20478737354278564, -0.26584699749946594, -0.2849818170070648, 0.914097011089325, -0.4842384457588196, -0.7761110067367554, 0.4120892286300659, -0.011756522580981255, 0.10336978733539581, -0.7449798583984375, 0.3729283809661865, -0.6100839376449585, 0.6609857082366943, -0.33888813853263855, -0.32687878608703613, 0.016563689336180687, 0.13159963488578796, -0.6734949946403503, 0.8738471269607544, 0.213975191116333, -0.5063589215278625, 0.5950661897659302, -0.5309794545173645, -0.680269181728363, 0.3034936487674713, 0.0023321176413446665, 0.23822341859340668, 0.4300306439399719, 0.051522716879844666, 0.35653162002563477, -0.12282732129096985, 0.2834472954273224, -0.3511069416999817, -0.08941306173801422, 0.22126656770706177, -0.3832513093948364, 0.4949897527694702, 0.42344608902931213, -0.42650067806243896, -0.2104238122701645, -0.5955079793930054, 0.3440690338611603, -0.16230742633342743, -0.21777671575546265, -0.279619038105011, 0.21172817051410675, 0.30203646421432495, 0.4646741449832916, 0.3228825032711029, -0.657968282699585, -0.07932215929031372, -0.5828863382339478, 0.07068028301000595, 0.8541699647903442, -0.2219649702310562, 0.7141884565353394, -0.23048865795135498, 0.5181116461753845, -0.08893799781799316, 0.053974926471710205, 0.3805379569530487, -0.5580284595489502, -1.0094321966171265, -0.07524049282073975, 0.46289876103401184, 0.3550712466239929, -0.6248563528060913, 0.7434833645820618, -0.2199275940656662, -0.6910845637321472, -0.27013149857521057, -0.08794880658388138, 0.03775760158896446, 0.4056548774242401, -0.023471806198358536, -0.4595072865486145, -0.35027480125427246, -1.2635219097137451, -0.05378936603665352, -0.45508259534835815, -0.38621142506599426, 0.3931877315044403, -0.07725948840379715, -0.06359395384788513, 1.2422451972961426, -0.30068257451057434, -0.05026702582836151, -0.4478840231895447, -0.005744414869695902, 0.2603400945663452, 0.06970253586769104, 0.9350245594978333, -1.0632582902908325, -0.5437051653862, 0.48451000452041626, -0.6587110757827759, -0.4289332628250122, 0.35650134086608887, 0.4425821900367737, 0.558571994304657, 0.31626611948013306, -0.2773241102695465, -0.09808952361345291, 0.758027195930481, -0.03768499940633774, 0.38533729314804077, -0.009600978344678879, 0.2200806736946106, -0.8037521839141846, 0.052963610738515854, 0.38202372193336487, -0.1574629694223404, -1.014214038848877, 0.09648700058460236, -0.4212269186973572, -0.06846155971288681, -0.34579023718833923, 0.6640397906303406, -0.11286193877458572, -0.35464051365852356, -0.1809133142232895, 0.201707661151886, -0.045993249863386154, 0.09144850820302963, 0.7631127834320068, 0.722449779510498, 0.17801332473754883, -0.5629603862762451, 0.44816654920578003, -0.058745380491018295, -0.14005395770072937, 0.524568498134613, -0.6129863858222961, 0.35659417510032654, 0.06622113287448883, -0.09081102162599564, -0.47195205092430115, -0.5014634132385254, -0.20522907376289368, -0.592231273651123, 0.11206213384866714, 0.004973142873495817, -0.4088784158229828, -0.3014783561229706, 0.14746129512786865, -0.2526528835296631, 0.6813802123069763, -0.20642182230949402, 0.5233259797096252, 0.560470461845398, -0.6142880320549011, -0.17397041618824005, -0.9052313566207886, 0.19399882853031158, -0.3165847957134247, -0.7042474150657654, -0.02147097699344158, 0.3237384855747223, -0.7215554118156433, 0.0688151866197586, 0.034413691610097885, -0.4517175853252411, -0.015227166935801506, 0.14678610861301422, -0.05022791773080826, -0.497952938079834, 0.04962947964668274, -0.049215901643037796, -0.24963907897472382, -0.2432468831539154, -0.4331950843334198, 0.831534743309021, -0.4544315040111542, -0.37610524892807007, -0.043426599353551865, 0.8072174787521362, 0.22366197407245636, 0.03637928143143654, 0.31287050247192383, 0.49707335233688354, -0.011581292375922203, -0.14310401678085327, -0.6763002872467041, -0.2834414541721344, -0.554965615272522, 0.5071932077407837, -0.516944944858551, -1.1649807691574097, 0.18194837868213654, -0.09328632801771164, 0.039978284388780594, 0.4048856198787689, 0.7485494017601013, -0.4565972685813904, 0.6720438003540039, 0.7461454272270203, -0.28822869062423706, 0.545137345790863, 0.32742854952812195, 0.4136017858982086, 0.18518896400928497, 0.2035292536020279, -1.0393234491348267, -0.04717770591378212, -0.6711103916168213, 0.1106574758887291, 0.4830889105796814, -0.3289523124694824, 0.05775909498333931, 0.5387932658195496, -0.23890690505504608, -0.0538882240653038, 1.0886131525039673, -0.25037673115730286, 0.21300823986530304, 0.0628398209810257, 0.2213500589132309, -0.17882443964481354, -0.7871257662773132, -0.6580497026443481, 0.4037542939186096, 0.19190053641796112, 0.3590313792228699, 0.11547467857599258, 0.9225664734840393, 0.5979800224304199, -0.45717719197273254, -0.8726564049720764, 0.6463951468467712, -0.2533820867538452, -0.7983464002609253, -0.3587203919887543, -0.14947205781936646, -0.8543024659156799, 0.10704907774925232, 0.05060483142733574, -0.7419925928115845, 0.3913673162460327, 0.43466609716415405, 0.10816925019025803, 0.4602508842945099, -0.873984158039093, 0.7676942944526672, -0.02453349158167839, 0.2937270700931549, -0.2674390971660614, -0.7899695634841919, -0.0038862985093146563, -0.1837848573923111, 0.3739401400089264, 0.058510672301054, 0.26819878816604614, 0.15342944860458374, -0.2618100941181183, 0.593146026134491, -0.22575105726718903, -0.15877537429332733, 0.10604476928710938, 0.029492314904928207, 0.03135156258940697, -0.37557828426361084, -0.5195493102073669, 0.4551423490047455, 0.3093410134315491, -0.42149287462234497, -0.38103559613227844, 0.4000537693500519, -0.6499890685081482, -1.0961235761642456, -0.5354509949684143, -0.3748146891593933, -0.6067668795585632, 0.1092585101723671, 0.32911011576652527, 0.35317808389663696, -0.4850848913192749, -0.014051114208996296, 0.4305647611618042, -0.16137970983982086, 0.43837541341781616, 0.2715499699115753, -0.4344301223754883, 0.19018582999706268, 1.0082770586013794, 0.2716559171676636, 0.7887680530548096, 0.09598571807146072, -0.01702778786420822, -0.03792664781212807, -0.3631259500980377, -0.7190189957618713, 0.0776163637638092, -0.6174874305725098, 0.5849131345748901, -0.4814448952674866, -0.3142428696155548, -0.7060171365737915, -0.42984190583229065, -0.3207285404205322, -0.7763971090316772, -0.056950539350509644, -0.14657041430473328, 0.1295499950647354, 0.7864739894866943, -0.21843773126602173, 0.2703574001789093, -0.6298338174819946, 0.25976118445396423, 0.3768500089645386, 0.18592405319213867, -0.5807263851165771, -0.5373730659484863, -0.0760306641459465, -0.011603632010519505, 0.09562718123197556, -0.6175982356071472, 0.45470306277275085, 0.10760832577943802, 0.3843217194080353, 0.36184605956077576, 0.0661839172244072, 0.18999208509922028, -0.40679994225502014, 1.0747264623641968, -0.1727571040391922, -0.7864267230033875, 0.31117546558380127, -0.3209463357925415, 0.2200155109167099, 0.39043310284614563, 0.10538242757320404, -1.360646367073059, -0.5468195080757141, -0.585207998752594, -0.6143620014190674, 0.8339576125144958, -0.28595900535583496, 0.5581527352333069, 0.1044904887676239, -0.17572952806949615, 0.1972135454416275, 0.5260813236236572, -0.48152267932891846, -0.12396058440208435, -0.39731258153915405, 0.2161695659160614, -0.1841474324464798, -0.06954052299261093, -0.16457770764827728, -0.00041693192906677723, 0.5567757487297058, 0.03136751055717468, 0.3548162281513214, -0.1424872875213623, 0.4349639117717743, 0.10869963467121124, 0.8850072026252747, 0.027913061901926994, 0.2825458347797394, -0.36926817893981934, 0.29731714725494385, -0.06423451006412506, -0.2419712245464325, 0.3837890326976776, 0.0473562553524971, -0.680246889591217, 0.6297224164009094, 0.08687983453273773, 0.6405218243598938, -0.45525577664375305, -0.2891807556152344, 0.2657092213630676, 0.2785598039627075, -0.12679454684257507, -0.3951806128025055, -0.011856716126203537, 0.28397634625434875, -0.17414048314094543, -0.03281809389591217, 0.2743018567562103, 0.31834590435028076, -0.6696452498435974, -0.039109859615564346, 0.3538353145122528, -0.7159963846206665, -0.5739848017692566, 0.17011837661266327, 0.33107003569602966, -0.6188291311264038, 0.39044973254203796, -0.3430512249469757, -0.26853013038635254, 0.4400421380996704, 0.4891955554485321, 1.0354533195495605, -0.06235133484005928, 0.6417322158813477, -0.09371224045753479, 0.23931394517421722, 0.33172333240509033, 0.16961753368377686, -0.06949391216039658, -0.8908182978630066, 0.1813630312681198, -0.6518182158470154, -0.6156198382377625, -0.31192973256111145, -0.48847687244415283, 0.4340533912181854, -0.3796648383140564, -0.6489306092262268, -0.09440342336893082, -0.7101649045944214, -0.479342520236969, 0.1977091282606125, 0.1866442710161209, 0.9423514604568481, -0.91219162940979, 1.1199071407318115, 0.8557832837104797, -0.1274973303079605, -0.30654099583625793, 0.18346433341503143, 0.26085883378982544, -0.46223002672195435, 0.5955125689506531, -0.3785679042339325, -0.15472328662872314, -0.12895607948303223, -0.18559414148330688, -0.5788975954055786, 0.13779723644256592, 0.32627469301223755, -0.2692953944206238, -0.2783221900463104, 0.6119740009307861, 0.6441104412078857, 0.22033855319023132, -0.007904352620244026, 0.7441090941429138, 0.7032442092895508, -0.2390465885400772, -1.1814839839935303, -0.7017952799797058, -0.3984925150871277, 0.040698014199733734, 0.3124058246612549, -0.6263028383255005, 0.6985700130462646, 0.3832698166370392, -0.0349605455994606, -0.14798367023468018, 0.40922001004219055, -0.1819513589143753, 0.29318591952323914, 0.5279167890548706, 0.09456462413072586, 0.22006256878376007, -0.2955131232738495, 1.1300795078277588, -0.2794497311115265, -0.24046814441680908, 0.9272245764732361, -0.47521984577178955, 0.6428353190422058, 0.6125853657722473, -0.3507169187068939, 0.4019051492214203, 0.6493716239929199, 0.30539417266845703, 0.3918765187263489, -0.10817091912031174, -0.5042195320129395, -0.3333103060722351, -0.3899867832660675, -0.3878072202205658, 0.49260714650154114, 0.2217288613319397, -0.022797290235757828, -0.19661490619182587, -0.07235398143529892, 0.2164287567138672, 0.21290025115013123, 0.09745053201913834, 0.7411631941795349, 0.033961620181798935, -0.6933789849281311, 0.1174839586019516, 0.3356291949748993, 0.6569228768348694, -0.9702000617980957, 0.4032655954360962, -0.252627968788147, -0.07764583826065063, -0.1883276402950287, -0.8607008457183838, 0.3093712627887726, -0.10164927691221237, -0.19189560413360596, -0.3055572807788849, 0.6547277569770813, -0.08121175318956375, -0.2483639121055603, 0.22452399134635925, 0.8285507559776306, 0.3613557815551758, -0.15960875153541565, -0.2903071939945221, -0.466739684343338, 0.08565287292003632, -0.32839086651802063, 0.39004960656166077, 0.47104784846305847, -0.17141804099082947, 0.4654240310192108, 0.22000780701637268, 0.4207290709018707, 0.18200793862342834, 0.1406286060810089, 0.6968068480491638, -0.49368318915367126, -0.18945743143558502, -0.42368578910827637, 0.22867225110530853, -0.008415532298386097, -0.5851571559906006, 1.1763341426849365, 0.43911415338516235, 0.9455581903457642, -0.16401714086532593, 1.0210729837417603, -0.5350183248519897, 0.3845635652542114, -0.23582443594932556, 0.2567456066608429, -0.5171732902526855, -0.2171313613653183, -0.5113070607185364, -0.8401860594749451, 0.09397412091493607, 0.240229532122612, -0.27094078063964844, 0.14125418663024902, 0.4395885765552521, 0.6448497772216797, -0.10236725956201553, 0.6139507293701172, 0.5848901271820068, -0.08770470321178436, 0.1160159781575203, 0.1529160439968109, 0.48345619440078735, 0.2684357464313507, -0.07588963955640793, -0.5856668949127197, -0.13999541103839874, 0.06833236664533615, -0.5456804037094116, -0.3050117790699005, -0.7976722121238708, 0.047912873327732086, -0.29292207956314087, -0.004946084227412939, 0.8865779042243958, 0.5647812485694885, -1.0184673070907593, -0.7143834233283997, 0.20805777609348297, -0.16473963856697083, -0.08191376179456711, -0.24348728358745575, -0.22349359095096588, -0.5941676497459412, -1.1115955114364624, 0.35647961497306824, 0.4636646807193756, 0.03853940963745117, -0.2908988893032074, 0.10591597855091095, -0.04605570062994957, 0.08082671463489532, 0.4802808165550232, 0.6187241673469543, -0.8212336897850037, -0.5471857190132141, 0.256693035364151, -0.25143516063690186, 0.21855250000953674, 0.6676822900772095, -0.6005407571792603, 0.5801479816436768, 0.28223350644111633, 0.3149036169052124, 0.48662927746772766, -0.04728398844599724, 0.7818357348442078, -0.679844319820404, 0.6502346992492676, 0.49027493596076965, 0.404911607503891, 0.22673262655735016, 0.0194858405739069, 0.42386138439178467, 0.4062669277191162, -0.6397613286972046, -0.3914654552936554, 0.37105515599250793, -0.8047084212303162, -0.2510603368282318, 1.305342674255371, 0.027170561254024506, 0.03463535010814667, -0.4677598476409912, -0.23523111641407013, -0.18928387761116028, -0.4533611834049225, 0.32349681854248047, 0.9225149750709534, -0.08491994440555573, 0.11509774625301361, -0.8234850764274597, 0.3009392023086548, 0.5510194897651672, -0.6245785355567932, -0.13891415297985077, 0.8539811968803406, -0.08483118563890457, 0.2697255611419678, 0.9469148516654968, -0.04945606738328934, 0.1225232258439064, 0.31076347827911377, 0.23334616422653198, 0.36758953332901, -0.2021128088235855, -0.5309468507766724, 0.35014277696609497, 0.377765417098999, 0.03382761403918266 ]
http://arxiv.org/abs/2402.13284v2
http://arxiv.org/pdf/2402.13284v2
Structure Guided Large Language Model for SQL Generation
2024-02-19T09:07:59
2024-03-27T14:30:44
Qinggang Zhang, Junnan Dong, Hao Chen, Wentao Li, Feiran Huang, Xiao Huang
cs.DB
cs.DB, cs.AI, cs.CL
Generating accurate Structured Querying Language (SQL) is a long-standing problem, especially in matching users' semantic queries with structured databases and then generating structured SQL. Existing models typically input queries and database schemas into the LLM and rely on the LLM to perform semantic-structure matching and generate structured SQL. However, such solutions overlook the structural information within user queries and databases, which can be utilized to enhance the generation of structured SQL. This oversight can lead to inaccurate or unexecutable SQL generation. To fully exploit the structure, we propose a structure-to-SQL framework, which leverages the inherent structure information to improve the SQL generation of LLMs. Specifically, we introduce our Structure Guided SQL~(SGU-SQL) generation model. SGU-SQL first links user queries and databases in a structure-enhanced manner. It then decomposes complicated linked structures with grammar trees to guide the LLM to generate the SQL step by step. Extensive experiments on two benchmark datasets illustrate that SGU-SQL can outperform sixteen SQL generation baselines.
[ 0.19486822187900543, -0.9958615899085999, 0.6784895062446594, 0.1637742966413498, -0.2452857494354248, -0.07303395867347717, 0.05803203210234642, -0.29271838068962097, 0.20189498364925385, 0.8334261178970337, -0.7513197660446167, -0.7475560903549194, 0.05408768728375435, 0.029016511514782906, -0.46279171109199524, 0.7811574935913086, 0.4775177836418152, 0.19869138300418854, -0.17368629574775696, 0.19387252628803253, -0.36323094367980957, -0.7492071986198425, -0.506145179271698, -0.06981362402439117, 0.3544534742832184, 0.26664936542510986, 0.6600002646446228, 0.9078105688095093, 0.2576579749584198, 0.20144438743591309, -0.35742679238319397, 0.22333134710788727, -0.7227667570114136, 0.42643409967422485, -0.16154108941555023, -0.6079517006874084, -0.7460176348686218, -0.5984636545181274, 0.8085795640945435, 1.0768640041351318, -0.4746250808238983, 0.12348003685474396, 0.010185642167925835, 0.9402171969413757, -0.27289697527885437, 0.36183249950408936, -1.025312066078186, -0.024128906428813934, -0.49561819434165955, -0.3003276586532593, -0.5386607646942139, -0.39576420187950134, -0.5689824223518372, -0.30239787697792053, 0.3506767749786377, 0.3786831498146057, 0.5639600157737732, 0.15720683336257935, -0.6377846002578735, -0.2570135295391083, -0.6209309697151184, 0.32723116874694824, -0.6949176788330078, 0.47825929522514343, 0.1396600902080536, 0.3679018020629883, -0.9542198777198792, -0.5437994599342346, -0.22560515999794006, -0.5182558298110962, -0.2179802805185318, -0.16125519573688507, 0.399705171585083, 0.18123194575309753, 0.41539278626441956, 0.39782413840293884, -0.764153778553009, 0.05278778448700905, -0.3725394010543823, 0.07335847616195679, 0.7822977304458618, 0.35758689045906067, 0.27562621235847473, -0.5246511101722717, -0.3151725232601166, 0.23735153675079346, -1.4060308933258057, -0.2681799829006195, 0.4501303732395172, 0.765378475189209, 0.4870358109474182, 0.9959774613380432, -0.39527440071105957, 1.0063591003417969, 0.08464014530181885, 0.16600564122200012, -0.13058459758758545, -0.5812817215919495, -0.29539796710014343, 0.22559240460395813, 0.685454785823822, 0.24577611684799194, 0.1260230541229248, -0.09072259068489075, -0.28755608201026917, 0.055401310324668884, 0.07302337139844894, -1.0039854049682617, -0.3004091680049896, 0.29365184903144836, -0.27318835258483887, -0.37695640325546265, -0.0815856084227562, -0.4138498306274414, -0.34014731645584106, 0.052359890192747116, -0.08483172953128815, -0.3332165777683258, -0.3619121313095093, -0.20344044268131256, 0.08143714815378189, 0.39335712790489197, 0.029616380110383034, -0.9269816279411316, 0.33477890491485596, 0.5597500205039978, 0.5717741847038269, -0.30094391107559204, 0.11327449232339859, -0.7695618867874146, 0.7876375913619995, -0.4747813940048218, 0.6768213510513306, -0.5760722160339355, -0.643301248550415, -0.09826012700796127, -0.10481778532266617, 0.18898069858551025, -0.5983866453170776, 0.35598814487457275, -0.3866135776042938, 0.3774007260799408, -0.3086246848106384, -0.8028564453125, 0.3275885283946991, 0.03099958226084709, -0.6397005319595337, 1.1587350368499756, 0.19165566563606262, -0.3350059986114502, 0.6009111404418945, -0.6517590284347534, -0.7200995683670044, 0.47874170541763306, -0.6319762468338013, -0.4765188694000244, 0.40711694955825806, 0.2313467264175415, 0.4926057755947113, -0.36797547340393066, 0.5755103230476379, -0.2704538106918335, -0.3002586364746094, -0.2764493525028229, 0.1825650930404663, 0.7288079261779785, 0.23758433759212494, -0.029197515919804573, 0.30129384994506836, -1.0763922929763794, 0.20686151087284088, 0.4200271964073181, -0.6372385025024414, -0.10975773632526398, 0.3065791428089142, -0.056575994938611984, 0.08363715559244156, 0.05213053524494171, -0.447122186422348, 0.2402665615081787, -0.7736983299255371, 0.5420820713043213, 0.4794270694255829, 0.060204122215509415, 0.49801507592201233, 0.21940472722053528, 0.38877153396606445, 0.146505206823349, -0.028072480112314224, -0.3437061905860901, -0.29751721024513245, -0.36480772495269775, 0.06416598707437515, -0.08886400610208511, 0.39953312277793884, -0.43005821108818054, 0.5316882729530334, -0.1643189638853073, -0.34490442276000977, 0.0872858315706253, 0.20562008023262024, 0.30136972665786743, 0.5614997148513794, 0.23602963984012604, -0.23896217346191406, -0.534049928188324, -0.7353730797767639, -0.5071336627006531, -0.3529568612575531, -0.16002152860164642, 0.6406907439231873, 0.20692378282546997, 0.18260031938552856, 0.7001819014549255, -0.7913921475410461, -0.36744892597198486, -0.2775198817253113, -0.42020487785339355, 0.2838377058506012, 0.4677639305591583, 0.422656774520874, -0.5665428638458252, -0.34124794602394104, 0.13308772444725037, -0.7309686541557312, 0.059329766780138016, 0.0259333997964859, -0.30372071266174316, 0.37439417839050293, 0.7258036136627197, -0.7157290577888489, 0.09322081506252289, 0.10051510483026505, -0.5556787848472595, 0.5777941942214966, -0.0379452258348465, -0.24205850064754486, -1.5025657415390015, 0.015657585114240646, -0.22899062931537628, -0.24372096359729767, -0.45050331950187683, 0.2893850803375244, 0.06945905834436417, -0.48640671372413635, -0.18032488226890564, 0.24526089429855347, -0.8477732539176941, -0.4105575680732727, 0.08238884806632996, -0.00256362440995872, 0.0006069822702556849, 0.33216047286987305, -0.06535904109477997, 0.7857440114021301, 0.43164339661598206, -0.5015972852706909, 0.3510878384113312, 0.2992895543575287, -0.3954814672470093, 0.7155156135559082, -0.8320813179016113, 0.11130319535732269, -0.05347457155585289, 0.27438777685165405, -0.9507008790969849, -0.721160352230072, -0.0666579157114029, -0.24362923204898834, 0.4606100916862488, -0.4480363130569458, -0.3954388201236725, -0.3134981393814087, -0.0007610117318108678, 0.05925222113728523, 0.3259618580341339, -0.5128268599510193, 0.6972679495811462, 0.25954312086105347, -0.17492933571338654, -0.5498489737510681, -0.726593554019928, 0.2849625051021576, -0.1350809782743454, -0.951557993888855, 0.5041969418525696, 0.14361906051635742, -0.07553680986166, 0.0666448101401329, -0.21478863060474396, -0.11254636943340302, 0.052580706775188446, 0.25329747796058655, 0.29864436388015747, -0.6831850409507751, 0.14238956570625305, 0.15940532088279724, 0.33658647537231445, 0.19193756580352783, -0.3950038552284241, 0.5854401588439941, -0.0529562272131443, -0.3814055621623993, -0.07157240808010101, 0.4883149266242981, 0.2860673666000366, -0.30071184039115906, 0.7601999640464783, 0.0977153480052948, -0.17873349785804749, -0.5681132674217224, -0.3829682767391205, -0.3272697925567627, -0.43860164284706116, 0.8013224005699158, -0.6988630294799805, -0.8228535652160645, 0.37192395329475403, -0.20981889963150024, 0.07078016549348831, 0.4813114106655121, 0.49833840131759644, -0.09212445467710495, 1.2298692464828491, 0.6030019521713257, 0.38880017399787903, 0.5862339735031128, 0.207396000623703, 0.08348259329795837, -0.47022607922554016, -0.39559465646743774, -0.6073926687240601, 0.04009125009179115, -0.31180906295776367, -0.259794145822525, 0.07466171681880951, 0.37543973326683044, -0.26956942677497864, 0.4334760308265686, -0.6514912247657776, 0.7525340914726257, 0.22763603925704956, -0.0549430288374424, 0.43230772018432617, 0.3993772864341736, -0.16148222982883453, 0.19274869561195374, -0.8116636872291565, -0.25799328088760376, 0.9901341199874878, -0.15552671253681183, 0.9049406051635742, 0.19820134341716766, 0.9008362889289856, 0.07140713930130005, 0.05212579667568207, -0.6486243605613708, 0.8204001784324646, -0.12163794785737991, -0.6511098742485046, -0.2740291655063629, -0.8050884008407593, -0.7763573527336121, 0.14830411970615387, -0.13238267600536346, -0.42579519748687744, 0.013439774513244629, 0.3338834047317505, -0.02633695863187313, 0.05292399972677231, -0.8966091275215149, 0.8108316659927368, -0.3495948910713196, -0.45053961873054504, -0.047404780983924866, -0.5386627316474915, 0.6228971481323242, -0.002532549435272813, -0.1414705067873001, 0.04267285764217377, 0.26186320185661316, 0.33210697770118713, -0.6723780035972595, 0.7370272874832153, -0.33274272084236145, -0.08161206543445587, 0.20358256995677948, 0.3059501349925995, 0.7207444310188293, -0.06538953632116318, -0.3309883773326874, -0.03941720724105835, -0.11295872181653976, -0.39621514081954956, -0.5398193001747131, 0.8505483269691467, -0.1233338788151741, -0.8933860063552856, -0.1509070098400116, -0.5066230297088623, -0.08835437148809433, 0.22664090991020203, 0.043298810720443726, 0.3279033303260803, -0.44907325506210327, 0.21651707589626312, 0.402457594871521, -0.018194355070590973, -0.03375113010406494, 0.2933891713619232, -0.4382331073284149, -0.06161254644393921, 0.5981835722923279, 0.04621697962284088, 0.282261461019516, 0.3065774738788605, 0.06676546484231949, -0.5798749327659607, -0.7080175876617432, -0.7154818773269653, 0.36910203099250793, -0.4580294191837311, -0.3005349636077881, -0.37353137135505676, -0.2005366086959839, -0.40805408358573914, 0.013376050628721714, -0.18362867832183838, -0.6543293595314026, -0.011545199900865555, -0.24570557475090027, 0.18006828427314758, 0.9548285007476807, 0.5529536008834839, 0.32117533683776855, -0.6187165379524231, 0.08862613141536713, -0.031199751421809196, 0.3363626301288605, -0.3370370864868164, -0.10120409727096558, 0.08047995716333389, -0.22960685193538666, -0.07388445734977722, -1.0858285427093506, 0.15540549159049988, 0.5634384751319885, 0.5107086300849915, 0.13832387328147888, -0.0987328439950943, 0.7269555926322937, -0.7528007626533508, 0.8918468952178955, 0.14429545402526855, -0.7255346775054932, 1.1923068761825562, -0.3270663022994995, 0.004115636460483074, 0.2552392780780792, 0.027774572372436523, 0.05699713155627251, -0.3519692122936249, -0.3030129373073578, -0.9262341856956482, 0.7375097870826721, 0.2647351920604706, -0.003569262567907572, -0.18936297297477722, 0.7439636588096619, -0.12387033551931381, 0.18613697588443756, -0.8688382506370544, 0.06440317630767822, -0.09409964084625244, -0.17667943239212036, 0.27578452229499817, -0.38797369599342346, -0.12272574752569199, 0.022435104474425316, 0.48929962515830994, -0.36081042885780334, -0.16912896931171417, -0.016955673694610596, -0.15541847050189972, -0.25105300545692444, 0.3514825105667114, 0.17090436816215515, 0.7679105401039124, -0.2786960303783417, -0.16510483622550964, -0.06778012216091156, -0.2190253883600235, -0.15667575597763062, 0.10085244476795197, -0.45800459384918213, -0.06719816476106644, -0.10292307287454605, 0.7308812141418457, -0.13851892948150635, -0.547431230545044, 0.2182336449623108, 0.05635775625705719, -0.13122157752513885, -0.18125738203525543, 0.3800433576107025, 0.46104708313941956, 0.16130533814430237, 0.3078092932701111, -0.3612399101257324, 0.13649921119213104, -0.6711350083351135, 0.17039506137371063, 0.8230640292167664, -0.1623692661523819, -0.15707260370254517, 1.0285990238189697, 0.243048757314682, -0.41168323159217834, 0.7393482327461243, 0.03161448612809181, -0.198172464966774, 0.3895181119441986, 0.9581875205039978, 0.5730530619621277, -0.4832450747489929, 0.014521707780659199, 0.5581350922584534, 0.28654247522354126, -0.06361474096775055, 0.6838480234146118, -0.1373278796672821, -0.3437424302101135, -0.5707201957702637, -0.983533501625061, -0.1192261278629303, -0.14869841933250427, -0.5247987508773804, 0.31114235520362854, -0.4286060929298401, 0.042895570397377014, -0.10920340567827225, -0.04282551258802414, -0.1952085793018341, 0.14439429342746735, -0.10766206681728363, 0.8061837553977966, -0.7045663595199585, 1.0458353757858276, 0.6492406725883484, -0.5411231517791748, -0.9328738451004028, -0.29703107476234436, -0.11935832351446152, -0.6866797208786011, 0.6787257194519043, 0.03480861708521843, -0.22665449976921082, 0.028895391151309013, -0.5754798054695129, -0.6958534717559814, 1.152718186378479, 0.6779402494430542, -0.7406420707702637, -0.3873072862625122, 0.3843528628349304, 0.5222125053405762, -0.6450640559196472, -0.2552627921104431, 0.5178014039993286, 0.05490905046463013, 0.5073429942131042, -0.3297554850578308, 0.37949880957603455, -0.10564768314361572, 0.2389058917760849, 0.5026142597198486, -0.19165067374706268, 0.6263672709465027, -0.450050950050354, -0.4779543876647949, 0.048852503299713135, 0.7760987281799316, 0.5360651016235352, 0.06485256552696228, 0.48112326860427856, 0.3323042392730713, 0.8698474764823914, -0.118338443338871, 1.0401513576507568, -0.39941439032554626, 0.0018457286059856415, 1.2941923141479492, -0.6817870736122131, 1.0394706726074219, 0.3385827839374542, -0.14167547225952148, 0.5282666087150574, 0.46045196056365967, -0.07652459293603897, 0.10741505026817322, 0.2663786709308624, -0.0058133951388299465, -0.32266655564308167, -0.12906983494758606, -0.5445482730865479, 0.3208300471305847, 0.6287335753440857, -0.54985111951828, -0.22204627096652985, -0.7808358073234558, -0.09863794595003128, 0.22139643132686615, -0.2218899428844452, 0.8076638579368591, 0.11654893308877945, -0.5076054334640503, 0.5792509913444519, -0.01896035112440586, 0.08830137550830841, -0.8657416105270386, -0.10126189142465591, -0.5090882182121277, -0.06758183240890503, -0.4799298644065857, -0.7320152521133423, 0.4943472146987915, -0.08066761493682861, -0.10954010486602783, 0.003984785173088312, 1.04389226436615, -0.7168476581573486, -0.5818871259689331, 0.16858458518981934, 0.6640047430992126, 0.3161287009716034, -0.29089120030403137, -0.5373311042785645, -0.22714458405971527, 0.04844994843006134, -0.33084896206855774, 0.344260573387146, 0.43418824672698975, -0.27847403287887573, 0.35321083664894104, 0.9045334458351135, 0.24581435322761536, 0.1752711832523346, 0.2705010175704956, 0.9088632464408875, -0.9033249616622925, -0.5562018156051636, -0.9015660285949707, 0.11294068396091461, -0.4038745164871216, -0.04989318177103996, 0.7036367654800415, 0.8973647356033325, 0.5858801603317261, -0.06741814315319061, 0.269433856010437, -0.04623328149318695, 0.2121366709470749, -0.6532395482063293, 0.7402710914611816, -0.7852796912193298, 0.4669121503829956, -0.1391366422176361, -1.533453345298767, -0.41947701573371887, 0.36905840039253235, 0.14192618429660797, 0.08634969592094421, 0.5063726902008057, 1.1955528259277344, 0.102859728038311, -0.04527606442570686, 0.44054868817329407, 0.6148805618286133, 0.44901877641677856, 0.5114685297012329, 0.7572516202926636, -0.11547943949699402, 0.7737252712249756, 0.3018246591091156, -0.03089749440550804, -0.19647541642189026, -0.7885376214981079, -0.8445568084716797, -0.3692793846130371, 0.002404408995062113, -0.5559736490249634, 0.18027327954769135, 0.640112578868866, 0.70833420753479, -0.7714208364486694, -0.5098091959953308, -0.5268701910972595, 0.05649475008249283, -0.004109442699700594, -0.2287604659795761, 0.4816230833530426, -0.44822296500205994, -0.5457805395126343, 0.9200767874717712, 0.5270954370498657, -0.18629473447799683, -0.40348973870277405, 0.07086581736803055, -0.0622379407286644, 0.08041469007730484, 0.8069890141487122, 0.13652895390987396, -0.6558298468589783, 0.029169410467147827, 0.08864101022481918, -0.29896336793899536, 0.17056934535503387, 0.7055497169494629, -0.6223360300064087, 0.10733404755592346, 0.48200392723083496, 0.5339623689651489, 0.7168036699295044, 0.17827768623828888, 0.8611966371536255, -1.168099045753479, -0.17908449470996857, 0.1545562446117401, 0.4960397183895111, 0.4154784083366394, -0.7889987826347351, 0.8416018486022949, 0.17310424149036407, -0.4368802607059479, -0.9547803997993469, 0.7703006863594055, -1.0331320762634277, -0.37999245524406433, 1.1326791048049927, 0.2157014161348343, -0.568787157535553, 0.005353468935936689, -0.10990434139966965, -0.08812779188156128, -0.2981724441051483, 0.3526788651943207, 0.35001131892204285, -0.17688338458538055, 0.1813684105873108, -0.0574045367538929, 0.6346095204353333, 0.45819970965385437, -0.9286195635795593, 0.38744744658470154, 1.1051133871078491, 0.37978604435920715, -0.10152977705001831, 0.6300004720687866, -0.3935311436653137, 0.010466515086591244, 0.1841340959072113, -0.11753075569868088, -0.21989306807518005, -0.38136258721351624, -0.06941059231758118, 0.5400878190994263, 0.10741803050041199, 0.23513072729110718 ]
http://arxiv.org/abs/2402.11960v1
http://arxiv.org/pdf/2402.11960v1
DB-LLM: Accurate Dual-Binarization for Efficient LLMs
2024-02-19T09:04:30
2024-02-19T09:04:30
Hong Chen, Chengtao Lv, Liang Ding, Haotong Qin, Xiabin Zhou, Yifu Ding, Xuebo Liu, Min Zhang, Jinyang Guo, Xianglong Liu, Dacheng Tao
cs.LG
cs.LG, cs.AI, cs.CL
Large language models (LLMs) have significantly advanced the field of natural language processing, while the expensive memory and computation consumption impede their practical deployment. Quantization emerges as one of the most effective methods for improving the computational efficiency of LLMs. However, existing ultra-low-bit quantization always causes severe accuracy drops. In this paper, we empirically relieve the micro and macro characteristics of ultra-low bit quantization and present a novel Dual-Binarization method for LLMs, namely DB-LLM. For the micro-level, we take both the accuracy advantage of 2-bit-width and the efficiency advantage of binarization into account, introducing Flexible Dual Binarization (FDB). By splitting 2-bit quantized weights into two independent sets of binaries, FDB ensures the accuracy of representations and introduces flexibility, utilizing the efficient bitwise operations of binarization while retaining the inherent high sparsity of ultra-low bit quantization. For the macro-level, we find the distortion that exists in the prediction of LLM after quantization, which is specified as the deviations related to the ambiguity of samples. We propose the Deviation-Aware Distillation (DAD) method, enabling the model to focus differently on various samples. Comprehensive experiments show that our DB-LLM not only significantly surpasses the current State-of-The-Art (SoTA) in ultra-low bit quantization (eg, perplexity decreased from 9.64 to 7.23), but also achieves an additional 20\% reduction in computational consumption compared to the SOTA method under the same bit-width. Our code will be released soon.
[ -0.40118208527565, -1.1349753141403198, 0.4148690700531006, 0.2063213288784027, -0.6844564080238342, 0.19591417908668518, -0.29654642939567566, -0.39169344305992126, 0.07909651845693588, 0.44916027784347534, -0.5051846504211426, -0.48015129566192627, -0.5312740802764893, 0.20339754223823547, -0.10046985745429993, 0.4854738712310791, 0.18491385877132416, 0.3148859739303589, -0.005502788815647364, -0.019825758412480354, -0.21197211742401123, -0.5812837481498718, -0.5709134936332703, -0.008043513633310795, 0.2613693177700043, 0.2597692608833313, 0.6388204097747803, 0.5594817996025085, 0.47694259881973267, 0.22853045165538788, -0.5776909589767456, 0.21383389830589294, -0.3592088520526886, 0.06240908056497574, 0.1313628852367401, -0.7075208425521851, -0.48409661650657654, -0.303573876619339, 0.8662570714950562, 0.6433873176574707, -0.3580058217048645, -0.06132956221699715, 0.09126091748476028, 0.9727039933204651, -0.3634912967681885, 0.11721187829971313, -0.641532301902771, -0.003588894149288535, -0.3098987638950348, 0.07393907755613327, -0.16096268594264984, -0.3212662637233734, -0.2803955376148224, -0.2634768784046173, 0.14900335669517517, -0.027681101113557816, 0.4934406280517578, 0.4719151258468628, -0.5393385291099548, -0.1674451380968094, -0.9469047784805298, 0.802407443523407, -0.8048000931739807, 0.5487952828407288, 0.1653348207473755, 0.3289969861507416, -0.1693299263715744, -0.41803285479545593, -0.5614372491836548, 0.03315417468547821, 0.2858630418777466, -0.10646478831768036, -0.20267514884471893, 0.050282835960388184, 0.05325230211019516, 0.5551398992538452, -0.1822851151227951, 0.28228089213371277, -0.19598335027694702, -0.13202448189258575, 0.47678467631340027, 0.18408262729644775, -0.23068486154079437, -0.06188635155558586, -0.4687480926513672, 0.09384121745824814, -0.8130561113357544, -0.0833323523402214, 0.49587172269821167, 0.28064271807670593, 0.012006806209683418, 0.5206697583198547, 0.009322570636868477, 0.43366020917892456, 0.19072914123535156, -0.1706388145685196, -0.10706698149442673, -0.5569154620170593, -0.36080265045166016, 0.04601744934916496, 0.8216961026191711, 0.2337867021560669, -0.002163529396057129, 0.17162905633449554, -0.2505924701690674, -0.015071392990648746, -0.07027225941419601, -1.2086697816848755, -0.131470188498497, 0.24276219308376312, -0.2562081515789032, -0.32203689217567444, -0.27863258123397827, -0.9065387845039368, -0.6048756241798401, -0.1550579071044922, 0.20020882785320282, -0.6946585774421692, -0.3569745719432831, 0.09695153683423996, 0.29509449005126953, -0.14101774990558624, 0.20435099303722382, -1.054466962814331, 0.2688104808330536, 0.7226783037185669, 0.7831944823265076, 0.17475423216819763, 0.32603690028190613, -0.45299065113067627, 0.1966741532087326, -0.4384613335132599, 0.6807400584220886, -0.23930062353610992, -0.3627520799636841, -0.4132802486419678, -0.5859840512275696, 0.3712235391139984, -0.8594932556152344, 0.4389113485813141, -0.5950612425804138, -0.2542533576488495, -0.012888636440038681, -0.49654653668403625, -0.1932082176208496, -0.03245239704847336, -0.7887704372406006, 0.9794443249702454, 0.1113809123635292, -0.6554535031318665, 0.34127387404441833, -0.3356057405471802, -0.1841767132282257, -0.06405827403068542, -0.19630871713161469, -0.5914166569709778, 0.43632158637046814, 0.18859636783599854, 0.25759437680244446, -0.5176372528076172, 0.37423253059387207, -0.387333482503891, -0.5543199181556702, 0.4450518488883972, -0.9464862942695618, 0.9277330636978149, 0.00386426760815084, -0.21017101407051086, -0.07975103706121445, -0.8527067303657532, -0.0017389525892212987, 0.034761134535074234, -0.54827880859375, -0.4995386302471161, -0.04024510458111763, -0.19376356899738312, 0.03410232067108154, 0.3150663673877716, -0.3826604187488556, 0.18273542821407318, -0.6834714412689209, 0.29887011647224426, 0.8100239038467407, -0.1390020102262497, 0.3947535455226898, 0.07934528589248657, 0.32267338037490845, 0.1446460336446762, 0.05052188038825989, 0.29611557722091675, -0.2971935570240021, -0.5119628310203552, -0.820774257183075, 0.7992902994155884, 0.5309717059135437, -0.46849292516708374, 0.9368038773536682, -0.2548618018627167, -0.22836434841156006, -0.5498345494270325, 0.21791160106658936, 0.3218546211719513, 0.18659110367298126, 0.19634918868541718, -0.34876275062561035, -0.5934473276138306, -0.7169131636619568, -0.10671143233776093, -0.0026299795135855675, -0.19545391201972961, 0.11379639059305191, 0.17728954553604126, -0.4036289155483246, 0.9240702986717224, -0.3363293707370758, -0.29222139716148376, -0.2678251564502716, 0.12894250452518463, 0.2691877782344818, 0.17955493927001953, 0.35869234800338745, -0.6767610311508179, -0.705356240272522, -0.16331392526626587, -0.34145841002464294, -0.2947549819946289, 0.17193078994750977, -0.13138733804225922, 0.813775360584259, 0.15569894015789032, -0.43195268511772156, 0.4657069146633148, 0.6694749593734741, -0.4106907248497009, 0.6315854787826538, -0.27875369787216187, -0.09193476289510727, -1.0233674049377441, -0.1315125823020935, -0.15804935991764069, -0.4821323752403259, -0.5748451352119446, -0.2259841412305832, 0.36928820610046387, 0.4308558404445648, -0.22976481914520264, 0.20465798676013947, -0.5909810066223145, 0.006587275769561529, -0.23757511377334595, 0.07455242425203323, 0.0015422053402289748, 0.38606324791908264, -0.10786734521389008, 0.6584205627441406, 0.5204418301582336, -0.4682079255580902, 0.5880700349807739, -0.13301806151866913, -0.41741836071014404, 0.7931257486343384, -0.302382230758667, 0.017048895359039307, -0.09730963408946991, 0.12072470039129257, -0.937588632106781, 0.3475398123264313, 0.1767473667860031, -0.255459725856781, 0.6932584047317505, -0.26393547654151917, -0.6302412152290344, -0.13948577642440796, -0.630663275718689, 0.019885554909706116, 0.5463924407958984, -0.4957936406135559, 0.5557342171669006, 0.2796038091182709, -0.13318343460559845, -0.6234025359153748, -0.8552002310752869, -0.02992537058889866, -0.3850163519382477, -0.5843998193740845, 0.3035474419593811, -0.36800965666770935, -0.3627583384513855, -0.03611934185028076, -0.6027342677116394, -0.26323747634887695, 0.07537446916103363, -0.049378424882888794, 0.34552839398384094, -0.20823971927165985, 0.03276902064681053, 0.3037445545196533, -0.23926982283592224, 0.02191573567688465, -0.3164484202861786, 0.6078338623046875, -0.2915000021457672, 0.13926038146018982, -0.3708401918411255, 0.2742515206336975, 0.2433067262172699, 0.11332671344280243, 0.9179173111915588, 0.6482133269309998, -0.38214585185050964, -0.28769150376319885, -0.49127495288848877, -0.11451247334480286, -0.4826192557811737, 0.4193704128265381, -0.5914006233215332, -0.8636051416397095, 0.38399896025657654, -0.19350916147232056, -0.09778599441051483, 0.16413567960262299, 0.5654375553131104, -0.25057926774024963, 0.7476849555969238, 0.6412845253944397, 0.14610646665096283, 0.3071563243865967, -0.3048470616340637, 0.48457029461860657, -0.9600629210472107, 0.020829619839787483, -0.33554548025131226, -0.28177931904792786, -0.38877156376838684, -0.6860345602035522, 0.3524799644947052, 0.7504462599754333, 0.11945740878582001, 0.04093386232852936, -0.300957590341568, 0.3800297975540161, 0.5969650745391846, 0.019319474697113037, 0.581961452960968, 0.2453785389661789, -0.3385525047779083, -0.2173919826745987, -0.4197337031364441, -0.5569254159927368, 1.1094704866409302, 0.2142549604177475, 0.8440700769424438, 0.3785914480686188, 0.6718605756759644, 0.18457333743572235, 0.05783539265394211, -0.8309323787689209, 0.6052129864692688, -0.49957379698753357, -0.5269729495048523, -0.5515584945678711, -0.7403544783592224, -0.7025225162506104, 0.5037323236465454, -0.2156682014465332, -0.4314039349555969, 0.04644966498017311, 0.22368304431438446, -0.4979027807712555, 0.42952921986579895, -0.6169499158859253, 0.664993405342102, -0.3365512490272522, -0.3445960283279419, -0.30476734042167664, -0.6563560366630554, 0.42219778895378113, -0.4324941337108612, 0.2884696125984192, -0.34998542070388794, -0.3735547661781311, 0.4198627769947052, -0.6090154051780701, 0.686942994594574, -0.22091896831989288, -0.3653811514377594, 0.2654866874217987, 0.18624815344810486, 0.5139454007148743, 0.27104422450065613, -0.11566553264856339, 0.5264309048652649, 0.17533206939697266, -0.12183438241481781, -0.6466291546821594, 0.4687017500400543, -0.38676220178604126, -0.4880727231502533, -0.28007858991622925, -0.47241345047950745, -0.16374632716178894, 0.2318655103445053, 0.04875650629401207, 0.3326600193977356, -0.15139932930469513, 0.31902027130126953, 0.8784075379371643, 0.0009696328197605908, 0.3518262207508087, 0.7182140946388245, -0.1921120584011078, -0.4798363447189331, 0.49084004759788513, 0.14129838347434998, 0.31611138582229614, 0.8019843697547913, 0.4738004207611084, -0.6173446774482727, -0.8512812852859497, -0.6567255854606628, 0.3226625323295593, -0.4094807505607605, -0.3632391691207886, -0.39937418699264526, 0.08462295681238174, -0.44119641184806824, 0.18090179562568665, -0.5842025876045227, -0.6788484454154968, -0.29164186120033264, -0.06523356586694717, 0.33975639939308167, 0.27333346009254456, -0.29695841670036316, 0.2513790428638458, -0.7130025625228882, 0.4714304804801941, 0.2925044894218445, 0.49407079815864563, -0.4513964354991913, -0.5089454650878906, -0.1921534389257431, 0.3150114119052887, -0.025588175281882286, -0.8649824261665344, 0.33787164092063904, 0.12935292720794678, 0.16158463060855865, 0.37239912152290344, 0.07950925081968307, 0.6238990426063538, -0.37662944197654724, 0.45966798067092896, 0.20427206158638, -1.0318297147750854, 0.30433189868927, -0.008961350657045841, -0.09469258040189743, 0.5404170751571655, 0.09847651422023773, -0.3195488452911377, -0.2686915099620819, -0.2455846518278122, -0.9039795994758606, 0.8581752181053162, 0.017172032967209816, -0.03499098867177963, 0.40686681866645813, 0.17156276106834412, 0.16154639422893524, 0.3527035117149353, -0.6231487393379211, -0.6291345357894897, 0.09510928392410278, -0.4410540461540222, 0.12163429707288742, -0.6753730773925781, 0.10545889288187027, -0.23104213178157806, 0.787868320941925, -0.04604509100317955, 0.2315589189529419, -0.20491063594818115, -0.08198820799589157, -0.08400033414363861, 0.4621039628982544, 0.27565664052963257, 0.4227103292942047, -0.5301612615585327, 0.39513182640075684, 0.26868191361427307, -0.6778148412704468, 0.3189985156059265, 0.36724230647087097, -0.25663846731185913, 0.0574728362262249, -0.19858132302761078, 0.6818951964378357, 0.156400665640831, -0.7100717425346375, 0.4644128680229187, -0.18622945249080658, -0.15535743534564972, -0.1921331137418747, 0.03551572561264038, 0.5030162930488586, 0.3973047435283661, 0.18769477307796478, -0.05054668337106705, 0.16963829100131989, -0.4503762722015381, -0.13896596431732178, 0.5797600150108337, -0.0037619394715875387, -0.1325387954711914, 0.6108156442642212, 0.13724660873413086, -0.19293786585330963, 0.5487173795700073, -0.35983219742774963, -0.2248370498418808, 0.5089651346206665, 0.5682850480079651, 0.7479385733604431, -0.4293404519557953, -0.07439626008272171, 0.1118955910205841, 0.27528703212738037, 0.043605562299489975, 0.29813504219055176, -0.2199002206325531, -0.7371147871017456, -0.2084210067987442, -0.9180750846862793, -0.3518785536289215, 0.00006924245826667175, -0.40714231133461, 0.23439064621925354, -0.3931400775909424, -0.14288973808288574, -0.07191548496484756, 0.408606618642807, -0.2178419828414917, 0.1264263093471527, 0.26192790269851685, 0.6988376379013062, -0.3063892722129822, 1.1984394788742065, 0.4124317169189453, 0.0015501950401812792, -0.6590599417686462, -0.06522973626852036, -0.004380013793706894, -0.5264484286308289, 0.24666453897953033, 0.11883801966905594, -0.3231279253959656, 0.003581365803256631, -0.0025641347747296095, -0.7693050503730774, 1.1803369522094727, 0.5067266225814819, -1.0423998832702637, 0.13547101616859436, 0.41547146439552307, 0.5371021032333374, 0.07137541472911835, 0.1575743556022644, 0.9072766304016113, 0.4791315197944641, 0.16454468667507172, -0.6581805348396301, 0.08429143577814102, 0.03587118908762932, 0.3850134015083313, 0.5817724466323853, -0.5667864084243774, 0.5818840265274048, -0.2815452218055725, -0.3373895585536957, 0.026725484058260918, 0.598064124584198, 0.34942489862442017, 0.2361462563276291, 0.5259566307067871, 0.41996681690216064, 0.8885303735733032, -0.19051428139209747, 0.5577751994132996, -0.1972334086894989, 0.42474430799484253, 0.8093047142028809, -0.3228626251220703, 0.7980664968490601, 0.6064677238464355, -0.7222457528114319, 0.4048587679862976, 0.32134202122688293, 0.21811950206756592, 0.5452084541320801, 0.3620079755783081, -0.5765288472175598, 0.023239564150571823, 0.379698783159256, -0.050715867429971695, 0.19008992612361908, 0.5238048434257507, -0.11192531883716583, 0.12354356050491333, -0.28494229912757874, 0.12898887693881989, 0.020221102982759476, -0.14126744866371155, 0.6310107707977295, 0.2169020026922226, -0.1769047975540161, 0.9924100041389465, 0.48204514384269714, 1.2746918201446533, -0.6891176104545593, 0.29672643542289734, -0.435437947511673, 0.2819288969039917, -0.0402463935315609, -0.5708271265029907, 0.625444769859314, 0.20918095111846924, -0.24624645709991455, -0.194440096616745, 0.48154449462890625, -0.6375645399093628, -0.6869964003562927, 0.23760119080543518, 0.253264844417572, 0.22250498831272125, -0.3302851617336273, -0.5910341143608093, 0.04970941320061684, 0.16020584106445312, -0.3734912872314453, 0.1912647932767868, 0.6743019223213196, 0.01635206863284111, 0.4654906690120697, 0.38238003849983215, 0.36572179198265076, 0.30942320823669434, 0.12464652955532074, 0.4443805515766144, -0.7802440524101257, -0.4525783360004425, -1.0780664682388306, 0.1696174293756485, 0.009541207924485207, 0.15767045319080353, 0.5387281179428101, 0.7007541060447693, 0.6026984453201294, 0.038425277918577194, 0.5771403312683105, -0.15838120877742767, 0.6063191890716553, -0.6724039912223816, 0.462894469499588, -0.5264431238174438, 0.6597570180892944, 0.05690402537584305, -0.9250603318214417, -0.510517418384552, 0.5866081118583679, -0.06997308880090714, 0.08433867245912552, 0.7462819814682007, 0.9364299178123474, 0.0047814068384468555, -0.04968539625406265, 0.3620336055755615, 0.31972771883010864, 0.178498312830925, 0.7787254452705383, 0.7287020683288574, -0.2796989679336548, 0.8322589993476868, -0.7212872505187988, -0.34639108180999756, -0.34401950240135193, -0.770082950592041, -0.767177164554596, -0.16981841623783112, -0.30783411860466003, -0.07882633805274963, 0.10823771357536316, 0.6559897065162659, 0.5696216821670532, -0.5775368809700012, -0.17592059075832367, -0.19044610857963562, 0.29144373536109924, -0.36475905776023865, -0.23324576020240784, 0.4618694484233856, 0.043984461575746536, -0.9888125061988831, 0.30071473121643066, 0.540610134601593, 0.23126284778118134, -0.27882882952690125, -0.06092904880642891, -0.004779066890478134, 0.2849389314651489, 0.5657185912132263, -0.29453492164611816, -0.6206037402153015, 0.055891577154397964, -0.2624916732311249, -0.37257710099220276, 0.37650224566459656, 0.550575852394104, -0.5438867211341858, 0.287371426820755, 0.39314913749694824, 0.3441593050956726, 0.5664348602294922, 0.1431746482849121, 0.2079533338546753, -0.8267189264297485, 0.05676707997918129, 0.2666482627391815, 0.16029761731624603, 0.44889870285987854, -0.4531019330024719, 0.5270944833755493, 0.43264392018318176, -0.27728670835494995, -0.7864170670509338, 0.1541314423084259, -0.9797062277793884, -0.45361411571502686, 1.0098339319229126, 0.03326130285859108, -0.21789292991161346, 0.0000839048734633252, -0.3003773093223572, 0.4272487461566925, -0.31969913840293884, 0.7672175765037537, 0.5319737195968628, -0.05606753006577492, -0.1493723839521408, -0.3015463948249817, 0.3692150413990021, 0.493678480386734, -0.6641753911972046, 0.2879757285118103, 0.6791985630989075, 0.4292158782482147, -0.1963064968585968, 0.6772814989089966, -0.2772834300994873, -0.028241613879799843, 0.07041097432374954, 0.155342698097229, -0.280496209859848, -0.16102339327335358, -0.6420974135398865, -0.048665110021829605, 0.13155709207057953, -0.03941085934638977 ]
http://arxiv.org/abs/2402.11958v1
http://arxiv.org/pdf/2402.11958v1
Automatic Evaluation for Mental Health Counseling using LLMs
2024-02-19T09:00:10
2024-02-19T09:00:10
Anqi Li, Yu Lu, Nirui Song, Shuai Zhang, Lizhi Ma, Zhenzhong Lan
cs.CL
cs.CL
High-quality psychological counseling is crucial for mental health worldwide, and timely evaluation is vital for ensuring its effectiveness. However, obtaining professional evaluation for each counseling session is expensive and challenging. Existing methods that rely on self or third-party manual reports to assess the quality of counseling suffer from subjective biases and limitations of time-consuming. To address above challenges, this paper proposes an innovative and efficient automatic approach using large language models (LLMs) to evaluate the working alliance in counseling conversations. We collected a comprehensive counseling dataset and conducted multiple third-party evaluations based on therapeutic relationship theory. Our LLM-based evaluation, combined with our guidelines, shows high agreement with human evaluations and provides valuable insights into counseling scripts. This highlights the potential of LLMs as supervisory tools for psychotherapists. By integrating LLMs into the evaluation process, our approach offers a cost-effective and dependable means of assessing counseling quality, enhancing overall effectiveness.
[ -0.29142504930496216, -0.3816918730735779, 0.8817197680473328, 0.6174749135971069, -0.3703116178512573, 0.025632981210947037, -0.3937090039253235, -0.5394584536552429, 0.08851679414510727, 0.45468461513519287, -0.6168995499610901, -0.5120976567268372, -0.8709573149681091, 0.3161126375198364, -0.018087781965732574, 0.5938052535057068, -0.20061802864074707, 0.672419011592865, -0.2298719435930252, -0.11127498000860214, -0.5469520092010498, -0.22358906269073486, -0.9592024683952332, -0.7177281379699707, 0.45440366864204407, 0.13953690230846405, 0.7311687469482422, 0.42146405577659607, 0.7646732330322266, 0.3607199192047119, -0.06978345662355423, 0.2818590998649597, -0.54303377866745, -0.02483241818845272, -0.24270932376384735, -0.1754024177789688, -0.9569041132926941, 0.25774797797203064, 0.5285207629203796, 0.7011879086494446, -0.4641158878803253, 0.4832371771335602, 0.1569206416606903, 0.5813613533973694, -0.4358050525188446, 0.18191979825496674, -0.495391309261322, 0.1921231895685196, 0.36228126287460327, -0.22905196249485016, -0.18358531594276428, -0.5173145532608032, 0.23765802383422852, -0.1562773883342743, -0.13440166413784027, -0.1313820630311966, 0.5143078565597534, 0.2629733979701996, -0.6722587943077087, -0.11168733239173889, -0.7523199319839478, 0.542382001876831, -0.7406110167503357, 0.5432573556900024, 0.5619403719902039, 0.4079490005970001, -0.44737616181373596, -0.46315205097198486, -0.2923094630241394, -0.45053526759147644, -0.2563416361808777, 0.18616002798080444, -0.39820337295532227, 0.18598346412181854, 0.15718340873718262, 0.4983728229999542, -0.3131251931190491, 0.19596680998802185, -0.15373726189136505, -0.034694328904151917, 0.9017236828804016, 0.6567018032073975, 0.2981508672237396, 0.11130407452583313, -0.13707774877548218, 0.29250696301460266, -0.23607926070690155, -0.25594210624694824, 0.03191669285297394, -0.06675004214048386, -0.11810584366321564, 0.5343354344367981, 0.14207638800144196, 0.5157781839370728, 0.17837080359458923, -0.7141731381416321, -0.3253341019153595, -0.12395181506872177, -0.15919670462608337, -0.12104598432779312, 0.9515274167060852, 1.0798968076705933, -0.11632071435451508, -0.4288412034511566, -0.17377464473247528, 0.10812710970640182, 0.3359627425670624, -0.6487902402877808, -0.023613400757312775, 0.11819429695606232, -0.6741979122161865, -0.07913953810930252, -0.24361038208007812, -0.8351019024848938, -0.4151151180267334, -0.6515882611274719, 0.23080974817276, -0.28541749715805054, -0.24025608599185944, -0.06530261039733887, 0.17134572565555573, 0.1059531718492508, 0.29993966221809387, -0.45787936449050903, 0.48054563999176025, 0.6313904523849487, 0.9670745730400085, -0.5147958397865295, -0.2505587637424469, -0.6086025834083557, 0.16905447840690613, -0.3862137496471405, 0.7455875873565674, -0.4458393454551697, -0.4976758658885956, -0.12438930571079254, 0.15886305272579193, 0.022713469341397285, -0.48379236459732056, 0.5155826807022095, -0.33034685254096985, 0.261821985244751, -0.10754141211509705, -0.7226489186286926, 0.3294341564178467, 0.2733790874481201, -0.4223737418651581, 0.850355863571167, 0.4288216531276703, -0.5729360580444336, 0.33560335636138916, -0.7064850330352783, -0.23902368545532227, 0.21387706696987152, 0.10749178379774094, -0.23928973078727722, -0.04529271647334099, 0.2184182107448578, 0.35310661792755127, -0.683139979839325, 0.4098328649997711, -0.5334692001342773, -0.4247307777404785, 0.352859228849411, -0.22467130422592163, 0.5631727576255798, 0.03753076121211052, -0.06771139055490494, 0.4247867166996002, -0.7455731630325317, 0.08027203381061554, 0.009456622414290905, -0.3053717315196991, -0.26213338971138, -0.24070751667022705, -0.14281439781188965, 0.18536706268787384, 0.1495712399482727, -0.43041273951530457, 0.06214108690619469, -0.43312177062034607, 0.08274630457162857, 0.7584695816040039, 0.449990838766098, 0.10721012949943542, -0.29141879081726074, 0.8087486624717712, -0.47518330812454224, 0.4081679582595825, 0.22683817148208618, -0.2489130049943924, -0.3886307179927826, -0.463786244392395, -0.22105053067207336, 0.4167182743549347, -0.49236127734184265, 0.9608503580093384, -0.06424769014120102, -0.8789786696434021, -0.4550420641899109, 0.33551961183547974, 0.4116910398006439, 0.493114709854126, 0.2304016500711441, -0.3523935377597809, -0.3105117976665497, -0.6800357103347778, -0.4963873326778412, -0.02478930726647377, -0.07224638760089874, 0.08487340807914734, 0.35680991411209106, -0.5373668074607849, 0.9611425399780273, -0.5626198649406433, -0.2825726866722107, -0.3261799216270447, 0.01349322497844696, 0.1772630512714386, 0.223133847117424, 0.3587249219417572, -0.009306933730840683, -0.5612648129463196, -0.2953088581562042, -0.7034733295440674, -0.45965147018432617, 0.16256080567836761, -0.5804601907730103, -0.08627265691757202, 0.19109174609184265, -0.18372024595737457, 0.1562916785478592, 0.6038145422935486, -0.5119715332984924, 0.695837140083313, -0.3102686405181885, 0.035249557346105576, -0.7908413410186768, 0.006360411643981934, 0.18122482299804688, -0.3445555865764618, -0.212803453207016, -0.3350088596343994, -0.1883503496646881, -0.11620137840509415, -0.2940196692943573, 0.5626599192619324, -0.40660321712493896, -0.168633833527565, -0.23936757445335388, 0.23046088218688965, -0.12536239624023438, 0.5633831024169922, -0.36755672097206116, 0.5986459851264954, 0.36473390460014343, -0.2788827419281006, 0.8812617659568787, 0.2852383852005005, -0.2271876037120819, 1.1864811182022095, -0.5444959998130798, 0.124742291867733, 0.27453362941741943, 0.6665686368942261, -0.5712769627571106, -0.255301833152771, 0.3021790683269501, 0.183230459690094, 0.020650826394557953, -0.23251238465309143, -0.38763001561164856, -0.3490919768810272, -0.19393151998519897, 0.10965850204229355, 0.29897361993789673, -0.47199246287345886, 0.18939612805843353, 0.5037411451339722, -0.2595762014389038, -0.21468771994113922, -0.1019657626748085, 0.3403729498386383, -0.38559389114379883, -0.5503684878349304, 0.236898273229599, 0.10771308839321136, -0.4110446870326996, 0.02158164046704769, -0.1738147735595703, -0.011434925720095634, -0.008976725861430168, 0.41594332456588745, 0.5517466068267822, 0.12514732778072357, 0.00816491711884737, 0.04093679413199425, -0.4870368540287018, 0.4178386330604553, -0.23241320252418518, 0.3241444230079651, -0.5033542513847351, -0.6618801951408386, -0.6427919268608093, 0.37386903166770935, 0.6357777714729309, -0.23652352392673492, 0.6170287728309631, 0.6822024583816528, -0.40729376673698425, -0.02410893142223358, -0.641801118850708, -0.14319194853305817, -0.4138018786907196, 0.3409380316734314, 0.1649746149778366, -0.6598395705223083, 0.1972319483757019, -0.1721181720495224, -0.05680996924638748, 0.2581707239151001, 0.6947376728057861, -0.019306378439068794, 1.2284928560256958, 0.488861083984375, 0.07173851132392883, 0.34430572390556335, -0.13895368576049805, 0.3195030987262726, -0.7924439311027527, -0.05195877328515053, -0.046047911047935486, -0.1422996073961258, -0.27907595038414, -0.27644017338752747, 0.8448026776313782, 0.011578795500099659, -0.26669198274612427, 0.13907191157341003, -0.595361053943634, 0.29014748334884644, 0.004706108942627907, 0.22548618912696838, 0.653113842010498, -0.2591497302055359, -0.22364413738250732, -0.2630256116390228, -0.3348994553089142, -0.8691075444221497, 0.8986908793449402, 0.6275185942649841, 0.6892725229263306, -0.01870599389076233, 0.6476411819458008, 0.2460286021232605, 0.9184547066688538, -0.9901519417762756, 0.6011634469032288, 0.226058691740036, -0.23070789873600006, -0.41059789061546326, -0.39818572998046875, -0.8622483611106873, 0.47655364871025085, -0.23059946298599243, -1.0259758234024048, 0.024198248982429504, -0.04666903614997864, -0.40076175332069397, 0.0892246812582016, -0.3685157597064972, 0.8170709609985352, -0.5433465242385864, -0.27555933594703674, -0.5016782283782959, -0.4920394718647003, 0.6281006336212158, -0.23921336233615875, 0.10858608782291412, -0.6780682802200317, -0.013005098327994347, 1.0831260681152344, -0.5789271593093872, 0.4681493937969208, -0.1812017410993576, -0.4642077088356018, 0.000033439977414673194, 0.13026143610477448, 0.2412581890821457, 0.23552745580673218, -0.19518250226974487, -0.046631667762994766, 0.6630698442459106, -0.11622995138168335, -1.0834506750106812, 0.5542871356010437, -0.7055212259292603, -0.3786523938179016, -0.3179653584957123, -0.47908341884613037, -0.8989498019218445, 0.33440855145454407, 0.024122178554534912, 0.44305333495140076, -0.47437989711761475, -0.4079342186450958, -0.06126220524311066, -0.2729770839214325, -0.007054299581795931, 0.7549659609794617, -0.5158012509346008, -0.7433837056159973, 0.7227628231048584, -0.0665973424911499, 0.1544181853532791, -0.4807867705821991, 0.33422136306762695, -0.3335466682910919, -0.22172856330871582, -0.052066244184970856, 0.5835835933685303, -0.8881244659423828, -0.2626514732837677, -0.5544478893280029, -0.05397225543856621, -0.18652404844760895, -0.19572384655475616, -0.39362743496894836, -0.06542579084634781, 0.12848816812038422, -0.18934614956378937, 0.280405193567276, 0.7079099416732788, -0.1465909630060196, 0.5191008448600769, -1.0185856819152832, 0.41011878848075867, 0.3441314995288849, 0.7795207500457764, 0.28400298953056335, -0.14087750017642975, -0.347462922334671, -0.06284178048372269, -0.6217861175537109, -1.0562998056411743, 0.47553545236587524, -0.05820966139435768, 0.5480553507804871, 0.5921367406845093, 0.14502398669719696, 0.7960973381996155, -0.21517854928970337, 0.47243431210517883, 0.3503575325012207, -0.9234638810157776, 0.3857048451900482, -0.385897159576416, -0.019007796421647072, 0.7744376063346863, 0.28154030442237854, -0.6523521542549133, -0.43623116612434387, -0.5040127038955688, -0.7134933471679688, 0.7364895343780518, 0.023750973865389824, -0.190480574965477, 0.08908123522996902, 0.2736539840698242, -0.14395320415496826, -0.019735271111130714, -0.48971667885780334, -0.06490808725357056, 0.26089128851890564, -0.11610928177833557, 0.17974859476089478, -0.16988758742809296, -0.801963746547699, -0.44658270478248596, 0.6891269683837891, -0.007165263406932354, 0.5443547368049622, 0.27146854996681213, 0.007727370597422123, -0.5578069686889648, 0.4107874631881714, 0.16876812279224396, 0.9894515872001648, -0.2922632694244385, 0.07136602699756622, 0.6417575478553772, -0.163212388753891, 0.42531219124794006, 0.029655149206519127, 0.7080011367797852, 0.07948094606399536, 0.6464414596557617, 0.4909486174583435, 0.21753449738025665, -0.580668568611145, 0.6789430379867554, -0.3643888235092163, 0.010107000358402729, -0.36989378929138184, 0.12910772860050201, 0.22416383028030396, 0.37757548689842224, 0.07326047122478485, -0.4059038758277893, 0.06644852459430695, -0.4320339560508728, 0.2635677754878998, 0.39961525797843933, -0.6335674524307251, -0.032227739691734314, 0.1060018464922905, 0.2299404740333557, -0.5263757109642029, 0.5902538895606995, -0.019314821809530258, -0.30295509099960327, 0.5515357851982117, 0.6242377161979675, 0.8758881092071533, -0.14334215223789215, -0.01893606223165989, 0.09808695316314697, 0.03332700580358505, -0.2140250951051712, 0.16408586502075195, 0.10531270503997803, -0.3472958505153656, -0.4605711102485657, -0.759433388710022, -0.8310340642929077, 0.04500852897763252, -1.0455193519592285, 0.33035221695899963, -0.4799264669418335, -0.4712975323200226, -0.2965945601463318, -0.015992460772395134, -0.7022109031677246, 0.08234886080026627, 0.15074372291564941, 0.8378816246986389, -0.6438639163970947, 0.6034679412841797, 0.5611412525177002, -0.00556958606466651, -0.761321485042572, 0.05605602264404297, 0.16847527027130127, -0.7497729063034058, 0.15391607582569122, 0.16718792915344238, -0.5132800936698914, -0.22107867896556854, -0.44164004921913147, -0.7057285308837891, 1.1866998672485352, 0.7464525699615479, -0.4554447531700134, -0.15067292749881744, 0.02187919057905674, 0.9798470735549927, -0.5288468599319458, 0.5127654671669006, 1.0497897863388062, 0.7467247247695923, -0.0423639677464962, -1.0862605571746826, 0.23136739432811737, -0.19239039719104767, -0.007660218980163336, -0.018194468691945076, -0.46735578775405884, 0.027010628953576088, 0.07644054293632507, -0.23840369284152985, -0.12572449445724487, 0.4482991099357605, 0.18505457043647766, 0.2823021709918976, 0.6855312585830688, 0.08721690624952316, 0.7810349464416504, 0.28904053568840027, 0.7121336460113525, -0.6982809901237488, 0.4552423059940338, 1.2873356342315674, -0.4848695397377014, 0.47366923093795776, 0.19218237698078156, -0.5889044404029846, 0.39155763387680054, 0.6391684412956238, -0.5063759684562683, 0.014710131101310253, 0.15953058004379272, -0.2365066558122635, -0.2790732979774475, -0.37782448530197144, -0.20617415010929108, 0.4099259078502655, 0.40448394417762756, -0.31160351634025574, -0.3864130973815918, -0.021929290145635605, 0.09424574673175812, 0.01635485514998436, -0.0024357361253350973, 0.8826655149459839, 0.5787748098373413, -0.8069807291030884, 0.5742815136909485, 0.14895488321781158, 0.26427048444747925, -0.560854971408844, -0.00044735026312991977, -0.07562360912561417, 0.20950797200202942, -0.5907725095748901, -0.6455793976783752, 0.6308339834213257, 0.3159693479537964, 0.33645564317703247, -0.3667522370815277, 0.5556989908218384, -0.32060694694519043, -0.6501376628875732, 0.744891345500946, 0.6182976365089417, 0.11091010272502899, 0.15068313479423523, -0.6498449444770813, -0.2108781337738037, -0.6350969076156616, -0.20580165088176727, 0.38731586933135986, 0.1528826504945755, 0.07864069938659668, 0.6546400189399719, 0.6611897945404053, 0.3502681851387024, -0.46192795038223267, -0.014206935651600361, 0.7651346325874329, -0.5380221605300903, -0.5125215649604797, -1.0700634717941284, 0.06326129287481308, -0.07076326012611389, -0.13445143401622772, 0.7017547488212585, 0.17173294723033905, 0.1483461707830429, 0.37883710861206055, 0.7091459631919861, 0.37604665756225586, 0.44807958602905273, -0.2833334505558014, 0.7466715574264526, -0.42011645436286926, 0.22217631340026855, -0.5458754897117615, -0.99972003698349, -0.3002285659313202, 0.42544928193092346, -0.5999430418014526, -0.2106955647468567, 0.8206122517585754, 0.5864444971084595, -0.03807032108306885, 0.057855237275362015, 0.2193039357662201, 0.1699855923652649, 0.6811130046844482, 0.2859261929988861, 1.0587056875228882, 0.16404591500759125, 0.3783523142337799, -0.24924899637699127, -0.39992183446884155, 0.005452100653201342, -0.9462981224060059, -0.747958779335022, -0.17740821838378906, -0.16863802075386047, -0.3967577815055847, -0.09473653137683868, 1.5852464437484741, 0.49425914883613586, -0.38320696353912354, -0.5016053318977356, 0.33696675300598145, 0.14997103810310364, -0.313459575176239, -0.20629671216011047, 0.4466016888618469, -0.14013445377349854, -0.35158804059028625, 0.6020131707191467, 0.5546371340751648, -0.12019659578800201, -0.5825632810592651, -0.15303626656532288, 0.18900297582149506, 0.03248133882880211, 0.4760296046733856, -0.15600058436393738, -0.6468491554260254, 0.020987778902053833, -0.4939309358596802, -0.31810468435287476, 0.18808677792549133, 0.7988342642784119, -0.3765254318714142, 0.3324468731880188, 0.12329021096229553, 0.39814332127571106, 0.2545436918735504, 0.08375103771686554, 1.0395355224609375, -0.058947619050741196, -0.12392614036798477, 0.283184289932251, 0.46153679490089417, 0.2573886513710022, -0.5906904339790344, 0.5904778242111206, -0.01810872182250023, -0.604149341583252, -0.9790468215942383, -0.04184473678469658, -0.7032389640808105, 0.054343823343515396, 1.0434813499450684, -0.5870591402053833, -0.06386986374855042, -0.267760694026947, -0.5866010189056396, 0.5304052233695984, -0.3024037480354309, 0.8867961764335632, 0.67367023229599, -0.7527920007705688, 0.0886731669306755, -0.48231545090675354, 0.5423265695571899, 0.3544684946537018, -0.9259580373764038, 0.06462353467941284, 0.39853954315185547, 0.3734968304634094, -0.17579792439937592, 0.7245842814445496, -0.13847129046916962, 0.11060111224651337, -0.3483216166496277, -0.05912236124277115, 0.00110567023511976, 0.04833396151661873, -0.48468464612960815, -0.12753057479858398, 0.06220889836549759, 0.3693755865097046 ]
http://arxiv.org/abs/2402.11955v1
http://arxiv.org/pdf/2402.11955v1
Analysis of Multidomain Abstractive Summarization Using Salience Allocation
2024-02-19T08:52:12
2024-02-19T08:52:12
Tohida Rehman, Raghubir Bose, Soumik Dey, Samiran Chattopadhyay
cs.CL
cs.CL, cs.AI
This paper explores the realm of abstractive text summarization through the lens of the SEASON (Salience Allocation as Guidance for Abstractive SummarizatiON) technique, a model designed to enhance summarization by leveraging salience allocation techniques. The study evaluates SEASON's efficacy by comparing it with prominent models like BART, PEGASUS, and ProphetNet, all fine-tuned for various text summarization tasks. The assessment is conducted using diverse datasets including CNN/Dailymail, SAMSum, and Financial-news based Event-Driven Trading (EDT), with a specific focus on a financial dataset containing a substantial volume of news articles from 2020/03/01 to 2021/05/06. This paper employs various evaluation metrics such as ROUGE, METEOR, BERTScore, and MoverScore to evaluate the performance of these models fine-tuned for generating abstractive summaries. The analysis of these metrics offers a thorough insight into the strengths and weaknesses demonstrated by each model in summarizing news dataset, dialogue dataset and financial text dataset. The results presented in this paper not only contribute to the evaluation of the SEASON model's effectiveness but also illuminate the intricacies of salience allocation techniques across various types of datasets.
[ -0.3199279010295868, -0.3202078938484192, 0.23834329843521118, 0.42368772625923157, -0.41189274191856384, 0.0003892483364325017, -0.10431699454784393, -0.784317135810852, 0.5973280072212219, 0.1845952272415161, -0.6047501564025879, -0.38349562883377075, -0.5245620608329773, 0.18343085050582886, -0.6582897305488586, 1.7786809206008911, 0.17595328390598297, -0.34735146164894104, -0.416806161403656, -0.1128891110420227, -0.2817254960536957, -0.5244352221488953, -0.4357399642467499, -0.04861462116241455, 0.5863119959831238, 0.1685917228460312, 0.35986313223838806, 0.5695950984954834, 0.8555247187614441, 0.3381294012069702, -0.11972474306821823, 0.1255824863910675, -0.4368990659713745, 0.26917505264282227, 0.03760487213730812, -0.012094858102500439, -0.8632373213768005, 0.01391167938709259, 0.47882863879203796, 0.7002848386764526, -0.2159641981124878, 0.6087898015975952, 0.009499872103333473, 0.6880404949188232, -0.6752466559410095, 0.17236994206905365, -0.6483972072601318, -0.015065258368849754, -0.1818130612373352, -0.5914733409881592, -0.10251589864492416, -0.3079110383987427, 0.7479062676429749, -0.6186754107475281, 0.4881560504436493, -0.0009496336570009589, 0.6506235599517822, 0.21657446026802063, -0.48356178402900696, -0.2757677137851715, -0.47609177231788635, 1.0350209474563599, -0.7672660946846008, -0.18129755556583405, 0.05190505087375641, 0.22875063121318817, 0.48333126306533813, -0.5828447341918945, -0.044605810195207596, -0.0266718827188015, -0.11730542778968811, 0.472854346036911, -0.06881742924451828, -0.13425658643245697, -0.22257989645004272, 0.3881690800189972, -0.3768615424633026, -0.17307941615581512, -0.564598560333252, 0.13178685307502747, 0.8137949109077454, 0.38661178946495056, 0.09147468954324722, -0.445712149143219, -0.4701763093471527, 0.15672054886817932, -0.2992155849933624, 0.1284654587507248, 0.5339890122413635, 0.5149775147438049, -0.2797076404094696, 0.4584692120552063, -0.10348241776227951, 0.5274032354354858, -0.23257681727409363, -0.4276207983493805, 0.04362199455499649, -0.7267020344734192, 0.031649958342313766, 0.20276518166065216, 0.2802461087703705, 1.0742179155349731, 0.11713350564241409, -0.16314709186553955, -0.16599632799625397, -0.37319523096084595, 0.39881694316864014, -0.8113889098167419, -0.41420894861221313, 0.3916679918766022, -0.7031246423721313, -0.4806901216506958, 0.21497076749801636, -0.9701013565063477, -0.3624717891216278, -0.498771607875824, -0.029105406254529953, -0.33180415630340576, -0.26627206802368164, -0.1655472368001938, -0.7190031409263611, -0.22882579267024994, 0.3450482189655304, -1.146828055381775, 0.3426516354084015, 0.7007967233657837, 0.9738776087760925, -0.37718886137008667, -0.32865238189697266, 0.03119315393269062, 0.33985692262649536, 0.006644158624112606, 0.9760487675666809, -0.4555591940879822, -0.1791858971118927, -0.3955511450767517, -0.17014658451080322, -0.5305567979812622, -0.17028483748435974, 0.1585066169500351, -0.48913058638572693, 0.06458309292793274, -0.24595175683498383, -0.20208314061164856, -0.5033432245254517, 0.12110162526369095, -0.7173230051994324, 0.5768340229988098, 0.10301650315523148, -1.133374810218811, 0.5169814229011536, -1.1735527515411377, -0.4733618199825287, -0.3926672041416168, 0.2962675988674164, -0.46139127016067505, 0.09724520891904831, 0.1887892633676529, 0.40534868836402893, -0.09327129274606705, 0.20036272704601288, 0.07853689789772034, -0.13919787108898163, 0.5072451233863831, -0.4149908721446991, 0.2981679439544678, 0.2538250982761383, -0.12002997100353241, 0.29620152711868286, -0.7302098870277405, -0.2664344310760498, -0.027809690684080124, 0.20128677785396576, -0.7360039353370667, 0.17781731486320496, 0.3252127766609192, 0.12562616169452667, 0.3916521668434143, -0.15238694846630096, 0.11213964968919754, -0.578145444393158, 0.30469298362731934, 0.8496589660644531, 0.2692206799983978, 0.37959226965904236, -0.3940577208995819, 0.8377839922904968, 0.12393879890441895, 0.23632773756980896, -0.606584370136261, -0.14566999673843384, -0.274407297372818, -0.6073127388954163, 0.4628903567790985, 0.48230138421058655, -0.3013220429420471, 0.02740619145333767, -0.2771441638469696, -0.3130277693271637, -0.3087579309940338, -0.39552590250968933, 0.21812666952610016, 0.4105488359928131, 0.43538615107536316, -0.3599109649658203, -0.518997848033905, -1.1245166063308716, -0.03315623477101326, 0.23378564417362213, 0.2835112512111664, 0.06756804138422012, 0.4823710024356842, 0.30303555727005005, 0.9546496868133545, -0.7010375261306763, 0.07451152056455612, -0.45514005422592163, 0.36520248651504517, 0.2326577603816986, 0.2729855477809906, 1.1103625297546387, -0.7377590537071228, -0.20733307301998138, -0.034458111971616745, -0.7474866509437561, -0.20029717683792114, -0.2522352337837219, 0.00016171984316315502, 0.10348988324403763, -0.1009276807308197, -0.1445159614086151, 0.6062865853309631, 0.5128517150878906, -0.647081732749939, 0.6395158171653748, -0.028453031554818153, 0.391588032245636, -1.0540046691894531, 0.39227020740509033, 0.3763502240180969, -0.3148520886898041, -0.5394936800003052, 0.2215842306613922, -0.3494325876235962, 0.1554977297782898, -0.08136331290006638, 0.3018563985824585, -0.45503494143486023, -0.2455930858850479, -0.617615818977356, 0.16348734498023987, 0.018326090648770332, 0.34487634897232056, -0.08632805198431015, 0.8951455950737, 0.25263768434524536, -0.8060848712921143, 0.15602481365203857, 0.007000204641371965, -0.16323477029800415, 0.3604777753353119, -0.7310423851013184, -0.5626748204231262, -0.5029594898223877, 0.13665147125720978, -1.0791082382202148, -0.13368339836597443, 0.3989713191986084, -0.22943967580795288, -0.17044638097286224, 0.1185794249176979, -0.005331561900675297, 0.009433504194021225, -0.7476824522018433, 0.6510916352272034, 0.13083821535110474, -0.23667480051517487, 0.44464072585105896, 0.3140203654766083, -0.9981200098991394, -0.7853521704673767, -0.2958814203739166, 0.013197721913456917, -0.6197694540023804, -0.23668769001960754, 0.4181787669658661, 0.0942700058221817, -0.4391365945339203, 0.1220766007900238, -0.21336263418197632, 0.07209379971027374, 0.3615033030509949, 0.24173450469970703, 0.513495922088623, 0.10496789962053299, -0.3014015257358551, 0.33154433965682983, -0.3832363486289978, 0.04569651558995247, -0.20664267241954803, 0.2820066213607788, 0.14135406911373138, -0.28535300493240356, -0.4550113081932068, 0.41553860902786255, 0.5071517825126648, -0.22632233798503876, 0.8376481533050537, 0.18130233883857727, 0.0016503059305250645, 0.18672889471054077, -0.20082078874111176, -0.2566763162612915, -0.3412435054779053, 0.5657534599304199, -0.07275278121232986, -0.4242793023586273, 0.8985845446586609, 0.14337939023971558, 0.6202589869499207, 0.8160598278045654, 0.20088417828083038, 0.1574859917163849, 0.8281388282775879, 0.6746746301651001, -0.08574351668357849, 0.3536561131477356, -0.3583822548389435, 0.1902712881565094, -0.7411377429962158, -0.32236039638519287, -0.47527873516082764, -0.5989111065864563, -0.35440465807914734, 0.06376296281814575, 0.5347737073898315, -0.2808653712272644, 0.07052990794181824, 0.08193448930978775, -0.4556151330471039, 0.5292161703109741, 0.46837112307548523, -0.036186106503009796, 0.7029789090156555, 0.14337216317653656, 0.1850319355726242, -0.2987947463989258, -0.686445951461792, -0.5981490015983582, 1.1882843971252441, 0.3853031098842621, 0.48927542567253113, 0.2548297941684723, 0.3565428555011749, 0.4085142910480499, 0.42533764243125916, -0.6705952286720276, 0.29982373118400574, -0.31208592653274536, -0.19038598239421844, -0.34315046668052673, -0.350742369890213, -0.8526459336280823, 0.553547739982605, -0.0668940469622612, -0.6438539028167725, 0.3348487615585327, -0.04294027015566826, -0.6014326214790344, 0.10643931478261948, -0.48080992698669434, 0.5681090354919434, -0.01530557218939066, -0.19161240756511688, -0.3591455817222595, -0.5639458894729614, 0.6947658061981201, -0.13355925679206848, 0.2868882119655609, -0.24325446784496307, -0.07500960677862167, 0.8943002223968506, -0.2630651891231537, 0.8891521096229553, -0.025138244032859802, -0.2669295370578766, -0.027754181995987892, -0.3863019347190857, 0.03573030233383179, 0.3631526529788971, -0.17190176248550415, -0.0035671249497681856, 0.3865550458431244, -0.5349966883659363, -0.3900145888328552, 0.5720483064651489, -0.6437784433364868, -0.28537634015083313, -0.8351640105247498, -0.9344528317451477, 0.10627620667219162, -0.16217315196990967, 0.15403981506824493, 0.7829993367195129, -0.2353907823562622, -0.077836774289608, 0.22450488805770874, -0.05716659873723984, 0.849795401096344, 0.38259369134902954, -0.3055278956890106, -0.47170642018318176, 0.974828839302063, 0.11346083134412766, 0.18386563658714294, 0.20550546050071716, -0.10598577558994293, -0.2555873692035675, -0.6446649432182312, -0.381535142660141, -0.13083583116531372, -0.49530869722366333, -0.2859649360179901, -0.7725127339363098, -0.2136208415031433, -0.3273577392101288, -0.169524148106575, -0.254578173160553, -0.8015738725662231, 0.0005256563890725374, -0.16376270353794098, 0.5751060843467712, 0.5411443114280701, 0.16408021748065948, 0.3729608952999115, -0.6773042678833008, 0.313027024269104, 0.08955278992652893, -0.013164693489670753, 0.4773114323616028, -0.4785901606082916, -0.5856149792671204, 0.0493931919336319, -0.5019770264625549, -0.7592971324920654, 0.6535166501998901, 0.09224554151296616, 0.39392977952957153, 0.7129151225090027, 0.09137444943189621, 0.7036671042442322, -0.22909514605998993, 0.9793509244918823, 0.2665715217590332, -0.864722490310669, 0.2597527503967285, -0.5356810092926025, 0.496025413274765, 0.6842408180236816, 0.243062362074852, -0.4474349617958069, -0.8251979351043701, -0.616782546043396, -1.4219934940338135, 0.7536606788635254, 0.23510198295116425, 0.1542963683605194, 0.033466290682554245, 0.40681707859039307, 0.561512291431427, 0.7961516380310059, -0.6163115501403809, -0.4351038336753845, -0.3889997899532318, -0.2016495317220688, 0.09773734956979752, -0.3449164628982544, -0.2947409451007843, -0.3804666996002197, 0.56708824634552, -0.07368701696395874, 0.14998933672904968, 0.07123198360204697, 0.09666664898395538, 0.141055628657341, 0.17531728744506836, 0.8230836391448975, 1.366760492324829, -0.3335930109024048, -0.12990304827690125, -0.03187332674860954, -0.5257394909858704, -0.18016865849494934, 0.5462179183959961, -0.333344429731369, 0.13930237293243408, 0.6772885918617249, 0.6190657019615173, 0.4703150689601898, -0.6701372861862183, 0.5126404166221619, -0.007657620590180159, -0.13946805894374847, -0.35852310061454773, -0.0634264349937439, -0.34846922755241394, 0.2498973309993744, 0.8109701871871948, 0.3563885986804962, 0.7780798673629761, -0.387343168258667, -0.04949361830949783, 0.36036819219589233, 0.003574465634301305, -0.4993237257003784, 0.8084537982940674, 0.2189202457666397, 0.6604154109954834, 0.37670135498046875, 0.03233934938907623, -0.41628628969192505, 1.0082861185073853, 0.4197388291358948, 0.8997640609741211, -0.23975740373134613, 0.31066012382507324, 0.2186778485774994, 0.19723039865493774, 0.10120195150375366, 0.2506171762943268, 0.19949029386043549, -0.42923209071159363, -0.7421114444732666, -0.4488055109977722, -0.2865844964981079, -0.1650589406490326, -0.8059844374656677, -0.16023631393909454, -0.11079274863004684, -0.28059715032577515, 0.41362202167510986, -0.2419554889202118, -0.25471770763397217, -0.0076831793412566185, -0.4246949851512909, 0.6965588331222534, -0.8916590213775635, -0.03504182770848274, 0.9308912754058838, -0.37812554836273193, -0.1805519461631775, 0.25636813044548035, 0.05391920730471611, -0.3578035831451416, 0.6010083556175232, 0.09084606170654297, 0.013275811448693275, -0.08408332616090775, -0.22672803699970245, -0.7014898657798767, 1.2534841299057007, -0.029569735750555992, -0.19622904062271118, 0.2534511089324951, -0.3418329954147339, 0.4364328682422638, -0.4533552825450897, 0.48819321393966675, 0.5847406983375549, 0.5870100259780884, 0.2417912632226944, -1.041991114616394, -0.20433256030082703, -0.40315183997154236, 0.03252842649817467, 0.30016863346099854, -0.7978845238685608, 0.8029569387435913, -0.3427743911743164, -0.07149224728345871, 0.12424670904874802, 0.8956984877586365, 0.3604169189929962, 0.9349024891853333, 0.31780749559402466, 0.22248539328575134, 0.6305063366889954, 0.009485766291618347, 1.1774297952651978, -0.5080653429031372, 0.2961364686489105, 0.789188802242279, -0.042347200214862823, 0.546380341053009, 0.6166155934333801, -0.1843835413455963, 0.327547550201416, 0.525593638420105, 0.07015968859195709, 0.932845950126648, 0.17270927131175995, -0.466517835855484, 0.2840050756931305, -0.3831048607826233, -0.6081714630126953, 0.48263001441955566, 0.050631456077098846, -0.362091064453125, -0.41317835450172424, 0.024524115025997162, 0.05309419333934784, 0.09816700965166092, -0.44743260741233826, 0.9936813116073608, -0.03701615333557129, -0.6375406384468079, -0.01959633082151413, 0.4864942133426666, 0.694985032081604, -0.5789104104042053, 0.0441695936024189, -0.3070240616798401, -0.17024728655815125, -0.23704320192337036, -0.33055537939071655, 0.5430454015731812, 0.17978176474571228, -0.44210878014564514, -0.14718782901763916, 0.49201011657714844, -0.45891571044921875, -0.6235334277153015, -0.21205244958400726, 0.5206400752067566, -0.01613793335855007, 0.1447051614522934, -0.43549224734306335, -0.3684152662754059, -0.18628492951393127, -0.22949433326721191, 0.42360392212867737, 0.4597334563732147, 0.0108173917979002, 0.5525941252708435, 0.5708755254745483, 0.2171378880739212, -0.31632182002067566, 0.2892560660839081, 0.8169886469841003, -0.7730015516281128, -0.845610499382019, -1.0548487901687622, 0.6353779435157776, -0.3016318678855896, -0.34104737639427185, 1.0793627500534058, 0.84767085313797, 0.04747378081083298, -0.3064679801464081, 1.0119818449020386, 0.08824191242456436, 0.40466874837875366, -0.6390882730484009, 0.458434522151947, -0.36936917901039124, 0.4813994765281677, -0.5990576148033142, -0.8870768547058105, -0.15249833464622498, 0.49019336700439453, -0.44967466592788696, 0.14720043540000916, 0.7161423563957214, 0.3206232190132141, -0.10542207211256027, 0.48217839002609253, -0.2690235674381256, -0.2528857886791229, -0.09789934009313583, 0.18023011088371277, 0.7511166334152222, -0.22086918354034424, 0.026848573237657547, -0.2542547881603241, -0.3253927230834961, -0.44221463799476624, -1.1045762300491333, -0.800520122051239, -0.657882571220398, -0.47181466221809387, -0.002309831790626049, 0.38936692476272583, 1.0649292469024658, 0.5069801211357117, -0.8180413842201233, -0.2547245919704437, 0.41473767161369324, 0.04735318943858147, -0.7228946685791016, -0.30936485528945923, 0.6608042120933533, -0.3384595215320587, -0.9688329100608826, 0.051743920892477036, 0.46936869621276855, 0.12318827956914902, -0.15866313874721527, 0.44261395931243896, -0.022893443703651428, -0.059209756553173065, 0.8740261793136597, -0.0389912985265255, -0.3577265441417694, 0.10926082730293274, -0.027431190013885498, 0.15442748367786407, -0.40183591842651367, 0.9695653915405273, -0.3178307116031647, 0.021908948197960854, 0.3576267957687378, 0.46758291125297546, 0.10757990926504135, 0.7691229581832886, 0.6868657469749451, -0.8889066576957703, 0.28668951988220215, -0.1430332064628601, 0.026514502242207527, -0.021479055285453796, -0.48664888739585876, 0.39236295223236084, 0.08774831891059875, -0.3986266851425171, -0.545936644077301, -0.3166039288043976, -0.928161084651947, -0.5228949785232544, 0.7765117287635803, 0.24472805857658386, 0.07642021775245667, -0.19551461935043335, -0.1523679941892624, -0.11259140819311142, -0.6516774892807007, 1.3151984214782715, 0.8679566979408264, -0.35448047518730164, -0.26815271377563477, -1.0409011840820312, 0.47499313950538635, 0.2843470573425293, -0.8411145210266113, 0.15461161732673645, 0.7066134214401245, 0.03876696899533272, 0.11020184308290482, 0.5039845108985901, -0.1357065886259079, 0.20400013029575348, -0.352696031332016, 0.008190198801457882, -0.33319950103759766, -0.5662643909454346, -0.14247095584869385, 0.34696531295776367, -0.12778659164905548, -0.22409047186374664 ]
http://arxiv.org/abs/2402.11943v2
http://arxiv.org/pdf/2402.11943v2
LEMMA: Towards LVLM-Enhanced Multimodal Misinformation Detection with External Knowledge Augmentation
2024-02-19T08:32:27
2024-06-20T20:20:30
Keyang Xuan, Li Yi, Fan Yang, Ruochen Wu, Yi R. Fung, Heng Ji
cs.CL
cs.CL
The rise of multimodal misinformation on social platforms poses significant challenges for individuals and societies. Its increased credibility and broader impact compared to textual misinformation make detection complex, requiring robust reasoning across diverse media types and profound knowledge for accurate verification. The emergence of Large Vision Language Model (LVLM) offers a potential solution to this problem. Leveraging their proficiency in processing visual and textual information, LVLM demonstrates promising capabilities in recognizing complex information and exhibiting strong reasoning skills. In this paper, we first investigate the potential of LVLM on multimodal misinformation detection. We find that even though LVLM has a superior performance compared to LLMs, its profound reasoning may present limited power with a lack of evidence. Based on these observations, we propose LEMMA: LVLM-Enhanced Multimodal Misinformation Detection with External Knowledge Augmentation. LEMMA leverages LVLM intuition and reasoning capabilities while augmenting them with external knowledge to enhance the accuracy of misinformation detection. Our method improves the accuracy over the top baseline LVLM by 7% and 13% on Twitter and Fakeddit datasets respectively.
[ -0.33934125304222107, -0.743013858795166, 0.6929736733436584, 0.021528733894228935, -0.26064276695251465, 0.03467131778597832, -0.22388403117656708, -0.7192615270614624, 0.07401397824287415, 0.4265156090259552, -0.43532609939575195, -0.4216902554035187, -0.5444872975349426, -0.12183037400245667, -0.2405126392841339, 0.45076674222946167, 0.22369609773159027, 0.0697399452328682, -0.3671090006828308, -0.20975147187709808, -0.2911408543586731, -0.4168905019760132, -0.3068002164363861, 0.04085277393460274, 0.7005042433738708, 0.3540196418762207, 0.3799625635147095, 0.2130688577890396, 0.4648996591567993, 0.3116894066333771, 0.07684217393398285, 0.9584379196166992, -0.411761611700058, 0.3378485143184662, -0.06356845796108246, -0.4995640218257904, -0.08125608414411545, -0.3361145555973053, 0.7504009008407593, 0.042894262820482254, -0.07290758192539215, 0.07833188027143478, -0.04355459660291672, 0.67850261926651, -0.8154019713401794, 0.08647306263446808, -0.9420074224472046, -0.14101585745811462, -0.16896246373653412, -0.37376901507377625, -0.5791579484939575, 0.05050979182124138, -0.22880341112613678, -0.48906955122947693, -0.09887909144163132, 0.09913312643766403, 0.6656261682510376, 0.31176748871803284, -0.412847101688385, -0.19051699340343475, -0.6337360143661499, 0.6600280404090881, -0.6113656759262085, 0.8199941515922546, 0.272190123796463, 0.46233299374580383, 0.20420998334884644, -0.7540138363838196, -0.8708889484405518, -0.1741267740726471, 0.023394789546728134, 0.0516100712120533, -0.3472866117954254, -0.18168888986110687, 0.46049609780311584, 0.016923483461141586, -0.408051997423172, 0.07486764341592789, -0.40664732456207275, -0.5262333154678345, 0.2697344124317169, -0.08992868661880493, 0.19712182879447937, -0.1651618480682373, -0.5105200409889221, 0.02021379955112934, -0.5444197058677673, 0.03183145448565483, 0.25777050852775574, 0.19192008674144745, -0.16503052413463593, 0.7131815552711487, -0.1905464231967926, 0.573026716709137, -0.08481235802173615, -0.5862504243850708, 0.5771636366844177, -0.5923172831535339, -0.39876148104667664, -0.0036850094329565763, 0.6275519132614136, 0.7496058940887451, 0.22302541136741638, 0.23689016699790955, -0.2606276273727417, 0.10855436325073242, 0.007297048810869455, -0.6202558279037476, 0.10377143323421478, 0.06843485683202744, -0.610609769821167, 0.005354164633899927, -0.03164173662662506, -0.7338800430297852, -0.9969775080680847, -0.36522823572158813, 0.47037312388420105, -0.592211127281189, -0.3852027952671051, -0.054070599377155304, -0.31613144278526306, 0.14103776216506958, 0.8696361780166626, -0.368606299161911, -0.5760855674743652, 0.4993986189365387, 0.7839524149894714, 0.012193541042506695, -0.022413725033402443, -0.768776535987854, 0.2481652945280075, -0.12753134965896606, 0.9128259420394897, -0.5370784401893616, 0.10383067280054092, 0.24027112126350403, 0.06470853090286255, 0.04663942754268646, -0.3623504638671875, 0.5082381367683411, -0.4794865846633911, 0.08420547097921371, -0.40466490387916565, -0.40007272362709045, -0.28930237889289856, 0.5527679920196533, -0.5857557058334351, 0.7328264713287354, -0.12904705107212067, -0.9182968735694885, 0.621372401714325, -0.4215995669364929, -0.27675506472587585, 0.16707879304885864, -0.20427517592906952, -0.347953736782074, -0.17384734749794006, 0.5487613677978516, 0.5956271290779114, -0.06276815384626389, 0.11369286477565765, -0.5569410920143127, -0.0679674744606018, 0.35728099942207336, -0.8094332218170166, 0.589987576007843, 0.2023322433233261, -0.13281205296516418, 0.2710253894329071, -0.7012537717819214, -0.2039133459329605, -0.09798163920640945, -0.40416985750198364, -0.7050095200538635, -0.022010257467627525, -0.12361226230859756, 0.23002347350120544, 0.29748329520225525, -0.4989202320575714, 0.2315758913755417, -0.029249954968690872, 0.03724571689963341, 0.7714605927467346, -0.04590911790728569, 0.38775545358657837, -0.09321238845586777, 0.04692910984158516, 0.3834877014160156, 0.4902617633342743, -0.4053475856781006, -0.5760276913642883, -0.8115611672401428, -0.4478622078895569, -0.05826154351234436, 0.5890665650367737, -1.4834872484207153, 0.03353115916252136, -0.2026887834072113, -0.2465495467185974, -0.653386652469635, 0.4833917021751404, 0.0557982362806797, 0.4549639821052551, 0.5233265161514282, 0.15935449302196503, -0.7950137853622437, -1.0222307443618774, -0.4995443522930145, 0.004968428052961826, 0.20518851280212402, 0.19775573909282684, 0.4660817086696625, -0.526167094707489, 0.7778550386428833, -0.09417782723903656, -0.5414618849754333, -0.3860121965408325, -0.17173032462596893, 0.16370730102062225, 0.07951485365629196, 0.46427685022354126, -1.2040303945541382, -0.45577725768089294, 0.2390095591545105, -0.9276202321052551, -0.023357443511486053, -0.15652203559875488, 0.15857046842575073, 0.4713743031024933, 0.573894739151001, -0.5983176231384277, 0.41342422366142273, 0.43813246488571167, -0.28869521617889404, 0.40515419840812683, -0.23753060400485992, 0.3611718416213989, -0.8977864384651184, -0.35779714584350586, 0.39788317680358887, -0.5028244853019714, -0.6408700346946716, -0.07958797365427017, 0.37057316303253174, 0.5829278826713562, -0.5985714197158813, 0.3873624801635742, -0.6048469543457031, -0.034175798296928406, -0.1703723818063736, 0.2622894048690796, -0.10728439688682556, 0.19350291788578033, -0.12645184993743896, 0.4985986053943634, 0.5373083353042603, -0.5602366328239441, 0.7221895456314087, -0.20458818972110748, -0.623014509677887, 0.647640585899353, -0.17990441620349884, -0.3446657955646515, -0.4238002896308899, 0.2150866687297821, -0.9237090349197388, -0.14400723576545715, 0.48540401458740234, -0.49907246232032776, 0.1426529586315155, -0.09749248623847961, -0.8429039120674133, -0.4346218705177307, -0.41386905312538147, 0.13460901379585266, 0.4241975247859955, -0.6909769177436829, 0.8491888642311096, 0.30922114849090576, 0.29759660363197327, -0.7375439405441284, -0.7408025860786438, -0.007261072751134634, -0.18417857587337494, -0.8658117055892944, -0.10331760346889496, -0.16965393722057343, -0.5665522813796997, -0.07598993182182312, 0.015860863029956818, 0.1185133308172226, -0.3861379325389862, 0.168864443898201, 0.19650521874427795, -0.3628532588481903, 0.4514739215373993, -0.26138970255851746, 0.10397153347730637, -0.3643788993358612, -0.2345057725906372, 0.4416448771953583, -0.2098708152770996, -0.5980508923530579, -0.490805983543396, 0.0328681543469429, 0.8099687695503235, -0.1255943477153778, 0.914807915687561, 1.2263946533203125, -0.40864917635917664, -0.1774354726076126, -1.0011138916015625, -0.10845721513032913, -0.4558611214160919, 0.39216554164886475, -0.08059275150299072, -0.7483991384506226, 0.2584547698497772, 0.13732533156871796, -0.19100143015384674, 0.5694991946220398, 0.6112626791000366, -0.08500437438488007, 0.8664093613624573, 0.6008610725402832, 0.12208631634712219, 0.5595347881317139, -0.22260691225528717, 0.15684275329113007, -0.623772382736206, -0.4963603615760803, 0.003720003180205822, -0.12467929720878601, -0.27309224009513855, -0.9520033597946167, 0.43407824635505676, -0.08383201062679291, 0.06578949093818665, -0.10631075501441956, -0.31465423107147217, 0.3592710793018341, 0.49427950382232666, 0.3497410714626312, 0.5757340788841248, 0.18167737126350403, -0.16976507008075714, -0.24824240803718567, -0.7240273952484131, -0.07576341181993484, 0.7975151538848877, 0.6457625031471252, 0.8803778290748596, 0.18938452005386353, 0.04754374176263809, 0.5773597955703735, 0.3966124355792999, -0.5987837910652161, 0.45284709334373474, -0.0643465518951416, -0.33064037561416626, -0.24117539823055267, -0.33026108145713806, -0.308271199464798, 0.6527126431465149, -0.5730423331260681, -0.5899234414100647, 0.2512337267398834, 0.13114875555038452, -0.07796092331409454, 0.5561566352844238, -0.7269551157951355, 0.42915332317352295, -0.3946600556373596, -0.48414793610572815, -0.36773741245269775, -0.5446280241012573, 0.6509697437286377, -0.1251085251569748, 0.7150638103485107, -0.08405842632055283, -0.17532943189144135, 0.41147080063819885, -0.13924640417099, 1.1519981622695923, -0.2982235252857208, -0.4428415298461914, 0.29043683409690857, -0.209395170211792, 0.6583632826805115, 0.07179633527994156, 0.22120638191699982, 0.0847281664609909, -0.4422777593135834, -0.03949863836169243, -0.45571157336235046, 0.6965274214744568, -0.31598961353302, -0.4292767643928528, -0.33231106400489807, -0.7089064717292786, -0.15914243459701538, 0.10117275267839432, 0.19859948754310608, 0.4319864511489868, 0.308922678232193, 0.6840863227844238, 0.7959975600242615, -0.33941128849983215, 0.5255692601203918, 0.6085546016693115, -0.40668758749961853, -0.3630632162094116, 0.9260168671607971, 0.12247764319181442, 0.2849796712398529, 0.6139732003211975, 0.16943207383155823, -0.4005546569824219, -0.3918769657611847, -0.5048094987869263, 0.19318857789039612, -1.265726089477539, -0.26702356338500977, -0.7955909371376038, -0.21977190673351288, -0.38903072476387024, 0.14023807644844055, -0.23101726174354553, -0.07239717990159988, -0.0728181004524231, 0.12139015644788742, 0.42386654019355774, 0.5340880155563354, -0.2923523187637329, 0.15370824933052063, -0.8504650592803955, 0.5986317992210388, 0.3813937306404114, 0.03152185305953026, -0.0860658586025238, -0.47342297434806824, -0.32574549317359924, 0.4548354148864746, -0.08595772087574005, -0.7502949833869934, 0.4235052466392517, 0.08002471178770065, 0.8732094168663025, 0.6467486023902893, -0.20677310228347778, 0.6629669666290283, -0.21402283012866974, 0.7451151609420776, 0.48755693435668945, -0.6354978084564209, 0.412506639957428, -0.22025033831596375, 0.152016744017601, 0.09431750327348709, 0.31887468695640564, -0.48919522762298584, -0.35147690773010254, -0.3030908405780792, -0.6448156237602234, 0.3218473792076111, -0.0669887438416481, -0.001986860763281584, 0.267692506313324, -0.13236220180988312, 0.1978069543838501, 0.3128839135169983, -1.2785245180130005, -0.24091924726963043, -0.13451185822486877, -0.1726740300655365, -0.004795743152499199, -0.41397708654403687, 0.02351418323814869, -0.40668514370918274, 0.6013808846473694, -0.18993030488491058, 0.1610320657491684, 0.26844313740730286, -0.4897822141647339, -0.02446720562875271, 0.16147075593471527, 0.9799379706382751, 0.7634357213973999, 0.07241524010896683, 0.25240233540534973, 0.21266743540763855, -0.3882587254047394, -0.27184367179870605, -0.2000267654657364, -0.09905880689620972, 0.11384760588407516, 0.7487009167671204, 0.7811699509620667, -0.030116645619273186, -0.7811561822891235, 0.7797396779060364, -0.0014619975117966533, -0.3212527930736542, -0.29204708337783813, -0.09662095457315445, 0.1398409903049469, 0.7650971412658691, 0.7526044249534607, 0.3857114911079407, -0.08865676820278168, -0.5749803781509399, 0.1551123410463333, 0.7247375249862671, -0.38619205355644226, 0.030384259298443794, 0.33014801144599915, 0.18180295825004578, -0.00020679953740909696, 0.057202987372875214, -0.0307439174503088, -0.5823471546173096, 0.3365604281425476, 0.31979477405548096, 0.3478187024593353, -0.2524174749851227, 0.13099822402000427, 0.11908574402332306, 0.7785250544548035, -0.12754686176776886, 0.1561894714832306, -0.11748415976762772, -0.9942473769187927, -0.5012363195419312, -0.5868671536445618, 0.02186400815844536, 0.42373126745224, 0.06719465553760529, 0.33539077639579773, -0.23854874074459076, 0.042232710868120193, 0.00016743133892305195, -0.5906840562820435, -0.5912278890609741, 0.1267525553703308, 0.4503181576728821, 0.8850452303886414, -0.618939220905304, 0.7374144196510315, 0.3046500086784363, -0.4370943605899811, -0.3265284299850464, 0.18163567781448364, 0.12397730350494385, -1.025917410850525, 0.9975358247756958, 0.3372971713542938, -0.16628628969192505, -0.3454589545726776, -0.6774012446403503, -0.6610116958618164, 1.0588369369506836, 0.33716216683387756, -0.9181244373321533, 0.1384974718093872, 0.01324698980897665, 0.3738280236721039, -0.6186438798904419, 0.13041073083877563, -0.012105163186788559, 0.8082411289215088, 0.2535378932952881, -0.9190171360969543, -0.2306186854839325, -0.06508278101682663, -0.2792697548866272, 0.0604521781206131, -0.36288636922836304, 0.9598070979118347, -0.33784374594688416, -0.12062487006187439, -0.35394346714019775, 0.5558484196662903, -0.0880238488316536, 0.696264922618866, 0.7186671495437622, 0.33454829454421997, 0.8205649256706238, 0.09538451582193375, 1.0248719453811646, -0.038302741944789886, 0.2031247764825821, 0.8383917808532715, -0.17171841859817505, 0.7911243438720703, 0.6059362292289734, 0.16049620509147644, 0.5431063175201416, 0.4083320200443268, 0.0419541671872139, 0.5284985899925232, -0.15781989693641663, -0.34698259830474854, -0.6562447547912598, -0.11404768377542496, -0.5793074369430542, 0.43377986550331116, 0.7184324860572815, -0.6242987513542175, -0.1427011936903, 0.47727057337760925, -0.340119868516922, 0.005343510769307613, -0.7506235837936401, 0.6508956551551819, -0.002962604397907853, -0.2911090552806854, 0.6480847001075745, -0.17607133090496063, 1.0425198078155518, -0.5224942564964294, -0.06907029449939728, 0.21216776967048645, 0.437871515750885, -0.2918032109737396, -0.8606941103935242, 0.14589709043502808, -0.15997600555419922, -0.15293759107589722, -0.1823256015777588, 1.4392828941345215, -0.6994060277938843, -0.5014607310295105, 0.47476786375045776, 0.814222514629364, -0.23523211479187012, -0.2761770188808441, -0.5219669342041016, 0.12930549681186676, 0.2199777364730835, 0.011264960281550884, 0.049282997846603394, 0.49782803654670715, -0.06457574665546417, 0.9774895906448364, 0.95665442943573, -0.017634907737374306, 0.08420276641845703, 0.2981705069541931, 0.915522038936615, -0.29248476028442383, -0.5339128971099854, -1.2085052728652954, 0.5617350339889526, -0.545819103717804, 0.18351809680461884, 1.0133599042892456, 0.3864825367927551, 0.6738275289535522, -0.270324170589447, 1.0806447267532349, 0.1508604735136032, 0.5736601948738098, -0.7760241627693176, 0.5825594067573547, -0.9480782747268677, 0.33589786291122437, -0.19722220301628113, -0.7805891036987305, -0.3890894949436188, 0.5464669466018677, -0.26736536622047424, -0.08882774412631989, 0.714277982711792, 0.7629886269569397, -0.19376762211322784, -0.1968546211719513, 0.6871410012245178, 0.48497524857521057, 0.17986468970775604, 0.39744970202445984, 1.1675069332122803, -0.12884803116321564, 0.674461841583252, 0.05106298625469208, -0.026295935735106468, -0.6239575743675232, -0.9107133746147156, -1.104856252670288, -0.6956144571304321, 0.0007634714129380882, -0.4880293905735016, 0.043621718883514404, 0.7917192578315735, 0.5995550155639648, -0.33415675163269043, 0.3340222239494324, 0.2758931517601013, 0.4392249584197998, 0.05843080207705498, -0.2628575563430786, -0.03368860483169556, -0.023039506748318672, -0.31299206614494324, 0.43012410402297974, 0.5318183302879333, 0.03654630482196808, -0.47784098982810974, -0.2513501048088074, -0.43421608209609985, 0.08602174371480942, 1.027601718902588, 0.012541120871901512, -1.0293859243392944, -0.35728970170021057, -0.10186221450567245, -0.16271090507507324, 0.1503027230501175, 0.7080593705177307, -0.7766522765159607, 0.5282162427902222, 0.46083468198776245, 0.5331504940986633, 0.38869428634643555, -0.08171474188566208, 0.1352495700120926, -0.8368101716041565, 0.31295648217201233, -0.11361120641231537, 0.6079599261283875, 0.655911386013031, -0.41342294216156006, 0.22857287526130676, 0.6345813274383545, -0.1547096073627472, -0.8151952028274536, 0.2729196846485138, -1.0768589973449707, -0.37086206674575806, 1.532389521598816, 0.25346097350120544, -0.32405778765678406, -0.26849207282066345, -0.5863783359527588, 0.04574204608798027, -0.5622571110725403, 0.4332970678806305, 0.5164832472801208, 0.12313912808895111, -0.5511658191680908, -0.7965578436851501, 0.43439286947250366, -0.1569022536277771, -0.9084692001342773, -0.045071374624967575, 0.6006524562835693, 0.2332133650779724, 0.47616249322891235, 0.6651474237442017, 0.2951696813106537, 0.4913802742958069, 0.007711133919656277, -0.002609885996207595, -0.4013665020465851, -0.2722105383872986, 0.042708493769168854, 0.3322684168815613, -0.4095284640789032, -0.2136908322572708 ]
http://arxiv.org/abs/2402.11941v3
http://arxiv.org/pdf/2402.11941v3
CoCo-Agent: A Comprehensive Cognitive MLLM Agent for Smartphone GUI Automation
2024-02-19T08:29:03
2024-06-02T13:25:05
Xinbei Ma, Zhuosheng Zhang, Hai Zhao
cs.CL
cs.CL
Multimodal large language models (MLLMs) have shown remarkable potential as human-like autonomous language agents to interact with real-world environments, especially for graphical user interface (GUI) automation. However, those GUI agents require comprehensive cognition ability including exhaustive perception and reliable action response. We propose a Comprehensive Cognitive LLM Agent, CoCo-Agent, with two novel approaches, comprehensive environment perception (CEP) and conditional action prediction (CAP), to systematically improve the GUI automation performance. First, CEP facilitates the GUI perception through different aspects and granularity, including screenshots and complementary detailed layouts for the visual channel and historical actions for the textual channel. Second, CAP decomposes the action prediction into sub-problems: action type prediction and action target conditioned on the action type. With our technical design, our agent achieves new state-of-the-art performance on AITW and META-GUI benchmarks, showing promising abilities in realistic scenarios. Code is available at https://github.com/xbmxb/CoCo-Agent.
[ -0.4388541281223297, -1.1390454769134521, 0.5714877247810364, 0.4411628544330597, 0.21121591329574585, 0.25860121846199036, -0.4277987480163574, -0.5488703846931458, 0.17301838099956512, 0.6396445631980896, -0.436716765165329, -0.6088693737983704, -0.3196672797203064, -0.15952478349208832, -0.21945104002952576, 0.5957379341125488, 0.06435481458902359, -0.44836559891700745, -0.38310885429382324, 0.04799911379814148, -0.5915699601173401, -0.2838558852672577, -0.8001388907432556, -0.3339264988899231, 0.6914207935333252, 0.4922123849391937, 0.7519745230674744, -0.08835889399051666, 0.214241161942482, 0.45770299434661865, 0.4834125339984894, 0.24530565738677979, -0.17277884483337402, 0.2677863538265228, -0.08734315633773804, -0.3054829239845276, -0.8762415051460266, -0.20689891278743744, 0.05943814665079117, -0.01184843759983778, -0.09726832807064056, -0.1350587159395218, 0.24325548112392426, 0.5252765417098999, -0.8114544749259949, 0.6162478923797607, -0.5333254337310791, -0.036519791930913925, 0.3075733482837677, 0.011126001365482807, -0.543728768825531, 0.06633470207452774, -0.10438364744186401, -0.9540663361549377, -0.14804136753082275, 0.09586215764284134, 0.4459846019744873, 0.3567548096179962, -0.4952780604362488, -0.07861480861902237, -0.6321792602539062, 0.7952990531921387, -0.37797629833221436, 0.3286025822162628, 0.4445343613624573, 0.4739997386932373, -0.1881929636001587, -0.8080462217330933, -0.5981003642082214, -0.5650284886360168, 0.023256586864590645, 0.34167593717575073, -0.1062108725309372, 0.38939258456230164, 0.33097386360168457, -0.006574066821485758, -0.7385103106498718, 0.01538543775677681, -0.00773787684738636, -0.5383865237236023, 0.710798978805542, 0.3650393784046173, 0.6639522314071655, 0.14471127092838287, -0.3783288896083832, 0.15874440968036652, -0.21794676780700684, 0.4050568640232086, -0.1960240602493286, 0.09989166259765625, -0.32385164499282837, 0.5576825737953186, -0.5601427555084229, 0.7862933278083801, -0.2505847215652466, -0.366998553276062, 0.056348271667957306, -0.3262612223625183, -0.5128272175788879, 0.08290988206863403, 0.9552608728408813, 0.40675634145736694, 0.41951504349708557, -0.16866064071655273, -0.09388219565153122, 0.25354093313217163, 0.408633291721344, -0.3924349248409271, -0.45782366394996643, 0.5582714676856995, -0.07766705751419067, -0.21574871242046356, -0.12236467748880386, -0.5027285814285278, -0.4233877658843994, -0.5298721790313721, 0.041197407990694046, -0.397701233625412, -0.2432774305343628, -0.04620426148176193, 0.11834875494241714, 0.2972685694694519, 0.7083399891853333, -0.7011131048202515, 0.3435313403606415, 0.3952282965183258, 0.6757265329360962, -0.5154223442077637, -0.2699747383594513, -0.546289324760437, 0.33920183777809143, -0.23638665676116943, 0.9042035341262817, -0.5948169827461243, -0.3611947298049927, -0.16132302582263947, -0.09966529160737991, -0.3644917905330658, -0.1737387627363205, 0.6863350868225098, -0.4943922162055969, -0.25480929017066956, -0.013444598764181137, -0.06495045870542526, -0.3419327437877655, 0.6150704026222229, -0.7955058217048645, 0.8178436160087585, 0.2293863445520401, -0.6103250980377197, 0.4059259295463562, -0.9029660820960999, -0.5387114882469177, 0.04906472563743591, -0.03300425782799721, -0.261374831199646, -0.2174580693244934, 0.4513172209262848, 0.4700051546096802, 0.05527108907699585, 0.16769301891326904, -0.7660993337631226, -0.33542224764823914, 0.3745419681072235, -0.5947805643081665, 0.7327898740768433, 0.23339664936065674, -0.3813477158546448, 0.38408806920051575, -0.48532772064208984, 0.46359795331954956, -0.18860794603824615, -0.10269059985876083, 0.050703104585409164, -0.14653699100017548, 0.33938321471214294, 0.5565221905708313, 0.39593029022216797, -0.563788890838623, 0.331438273191452, 0.03768640384078026, 0.1284606009721756, 0.5955721139907837, -0.15914598107337952, 0.5963383913040161, -0.17802847921848297, 0.6181139945983887, -0.18839262425899506, 0.5319758653640747, -0.17360389232635498, -0.701797366142273, -0.6879028677940369, -0.6965351700782776, -0.019436093047261238, 0.8343465924263, -0.8254743218421936, 0.4264640808105469, -0.23179727792739868, -0.31172817945480347, 0.10291042178869247, 0.27875271439552307, 0.28493061661720276, 0.31300532817840576, 0.16966736316680908, -0.19201166927814484, -0.5500262379646301, -0.7568561434745789, -0.10308775305747986, -0.1657276153564453, -0.009167036041617393, 0.44506457448005676, 0.20479600131511688, -0.7396279573440552, 1.3408046960830688, -0.42836183309555054, -0.5069145560264587, -0.3942291736602783, -0.039967380464076996, -0.015249897725880146, 0.2458217591047287, 0.3862324059009552, -0.9173430800437927, -0.6902786493301392, 0.46950337290763855, -0.9205067157745361, 0.018962373957037926, -0.12508302927017212, -0.085601806640625, 0.2676449120044708, 0.4445580542087555, -0.7771997451782227, 0.7686386704444885, 0.5654783844947815, 0.009317097254097462, 0.6064916849136353, -0.25045761466026306, 0.046376436948776245, -0.7904618382453918, 0.09867412596940994, 0.02553004026412964, -0.41165679693222046, -0.5560657978057861, -0.03720913827419281, 0.31609490513801575, -0.21351206302642822, -0.5471422076225281, 0.8118521571159363, -0.3281385600566864, -0.2595091164112091, -0.5516256093978882, -0.028513407334685326, -0.0571150928735733, 0.9607275724411011, 0.27206891775131226, 0.8149845004081726, 0.6275794506072998, -1.001103162765503, 0.5820870399475098, -0.018853848800063133, -0.2663252353668213, 0.41071444749832153, -0.5173839926719666, -0.11412380635738373, 0.23518496751785278, 0.6790102124214172, -0.870637834072113, -0.39045023918151855, 0.16669318079948425, -0.3358387053012848, 0.08821456134319305, 0.2226913571357727, -0.4333660304546356, -0.4881609380245209, -0.3513525128364563, 0.26823562383651733, 0.28239554166793823, -0.13822101056575775, 1.0531340837478638, 0.328784704208374, -0.23160043358802795, -0.6386250257492065, -0.5356523394584656, 0.36225688457489014, 0.03870347887277603, -0.5204724073410034, 0.14823324978351593, -0.0694243311882019, -0.2915850579738617, -0.4028758108615875, 0.018725818023085594, -0.021722372621297836, 0.21407009661197662, 0.6990883350372314, 0.24248647689819336, 0.14955517649650574, -0.20841915905475616, 0.16175363957881927, -0.22598697245121002, 0.015535471960902214, -0.22259347140789032, 0.4783076345920563, -0.22198152542114258, -0.36430054903030396, -0.565604567527771, -0.007927853614091873, 0.8641130328178406, -0.2842191755771637, 0.06201053038239479, 0.8508688807487488, -0.18876275420188904, -0.061197735369205475, -0.4585331082344055, 0.018367353826761246, -0.5377964973449707, 0.25320911407470703, -0.6493110060691833, -0.27136096358299255, 0.39867866039276123, -0.11096920073032379, 0.22758804261684418, -0.0022782133892178535, 0.7345389127731323, -0.21370546519756317, 1.207358956336975, 0.4935290515422821, -0.3636760115623474, 0.6936636567115784, -0.501133918762207, 0.04683135449886322, -1.0141788721084595, -0.25492674112319946, -0.10908812284469604, -0.12173116952180862, -0.34225475788116455, -0.37388384342193604, 0.529955267906189, -0.13993090391159058, -0.4860348701477051, 0.33533748984336853, -0.1780034452676773, 0.1686391681432724, 0.510589599609375, 0.3354603052139282, 0.3614627718925476, 0.10889041423797607, -0.37835609912872314, 0.33698558807373047, -0.6845318078994751, -0.6255776286125183, 1.0498104095458984, 0.07326363027095795, 0.8176340460777283, 0.0027372916229069233, 0.25988486409187317, 0.6270048022270203, 0.5804771184921265, -0.72383713722229, 0.6632212400436401, 0.3982934057712555, -0.48376303911209106, -0.4565895199775696, 0.035270653665065765, -1.0138005018234253, 0.348650187253952, -0.20363812148571014, -1.051363468170166, -0.08269483596086502, 0.14650915563106537, -0.2325144112110138, 0.015311772003769875, -0.6749878525733948, 0.8354654908180237, -0.4388178288936615, -0.5999296307563782, -0.2813952565193176, -0.45287030935287476, 0.6155852675437927, 0.004060089122503996, 0.30058982968330383, -0.19666288793087006, -0.33624494075775146, 0.048189327120780945, -0.19602225720882416, 0.8908439874649048, -0.027684686705470085, -0.26646214723587036, 0.5164059400558472, 0.2937093675136566, 0.6447446942329407, 0.33810558915138245, -0.0828118845820427, -0.007470106240361929, -0.2831883430480957, -0.590299129486084, -0.8223173022270203, 0.862919807434082, -0.648595929145813, -0.43229857087135315, -0.36111781001091003, -0.5832720398902893, -0.4693787395954132, 0.16623280942440033, 0.2174169272184372, 0.31262773275375366, -0.5538601279258728, -0.16175781190395355, 0.38215935230255127, -0.25942903757095337, 0.6790858507156372, 0.4814600944519043, -0.495695561170578, -0.3822501301765442, 0.8809110522270203, -0.3418390154838562, 0.06832273304462433, 0.602661669254303, -0.3809199631214142, -0.47649306058883667, -0.31991395354270935, -0.5749679207801819, -0.23852349817752838, -0.3175446391105652, -0.11346102505922318, -0.9260466694831848, -0.05871869996190071, -0.35760849714279175, -0.38880935311317444, -0.05157237499952316, -0.19729265570640564, -0.201003760099411, 0.04529254510998726, 0.1185859888792038, 0.26901891827583313, 0.252175897359848, 0.2248847484588623, -0.5292912721633911, 0.6467924118041992, 0.5446411967277527, 0.005580613389611244, 0.02223735675215721, -0.0010375275742262602, -0.10487711429595947, 0.33911317586898804, -0.7048630118370056, -0.4328663647174835, 0.36892837285995483, 0.1986106038093567, 0.4566664397716522, 0.7188263535499573, 0.2883836328983307, 0.6076276302337646, -0.1604851335287094, 0.7263703942298889, 0.39911144971847534, -0.7141621112823486, 0.4847339391708374, -0.4694596230983734, 0.5145886540412903, 0.3162042498588562, -0.13524533808231354, -0.41542765498161316, -0.7920475006103516, -0.47290295362472534, -0.4621420204639435, 0.5215273499488831, 0.4177713990211487, 0.040873706340789795, 0.2508695721626282, -0.11825406551361084, -0.05781415477395058, 0.023476291447877884, -0.64475017786026, 0.0909305065870285, -0.21914151310920715, -0.0557682067155838, -0.33665531873703003, 0.1590447574853897, 0.16250360012054443, -0.19449304044246674, 0.5013399720191956, -0.551708459854126, 0.38154616951942444, 0.18147477507591248, -0.5705190300941467, 0.19303059577941895, 0.20817884802818298, 0.692791223526001, 0.5764365792274475, -0.04648671671748161, -0.09958086907863617, 0.3396534323692322, -0.5953219532966614, 0.19345051050186157, -0.30659905076026917, 0.04914753511548042, -0.2747202217578888, 0.5265128016471863, 0.5583309531211853, 0.3355438709259033, -0.9538906216621399, 0.4603028893470764, -0.1570277363061905, 0.09634517133235931, -0.6630746722221375, 0.45959609746932983, -0.05260780081152916, 0.15431776642799377, 0.2194461077451706, 0.1286756694316864, 0.3526748716831207, -0.6410983800888062, 0.26145675778388977, 0.38176560401916504, -0.5253915190696716, -0.2161993682384491, 0.7303702235221863, 0.4070473611354828, -0.05880605801939964, 0.6702344417572021, -0.07972677797079086, -0.5603244304656982, 0.9649472236633301, 0.40271687507629395, 0.8838247060775757, -0.10627555847167969, 0.4109542667865753, 0.2845534682273865, 0.13724713027477264, 0.25224652886390686, 0.257013201713562, -0.47158384323120117, -0.639409601688385, -0.3872833549976349, -0.2916581928730011, -0.37541449069976807, -0.31482502818107605, -0.4171171188354492, 0.34175240993499756, -0.44906631112098694, -0.3892741799354553, -0.1939888596534729, 0.1786062866449356, -0.8146092891693115, 0.5294092297554016, 0.16543862223625183, 0.8459320664405823, -0.3151301145553589, 1.281276822090149, 0.520444393157959, -0.2841237783432007, -0.40310946106910706, -0.06979234516620636, -0.11568243056535721, -0.6358293890953064, 0.497526079416275, 0.1903095692396164, -0.2526368498802185, -0.3041408658027649, -0.2991091310977936, -0.6215127110481262, 1.329925298690796, 0.31987637281417847, -0.8726653456687927, 0.09946975111961365, 0.10969730466604233, 0.42272278666496277, -0.37785202264785767, 0.7468101978302002, 0.5567886829376221, 0.7555497884750366, -0.18651364743709564, -1.0256415605545044, 0.05083531141281128, -0.17720650136470795, 0.19040875136852264, -0.027583463117480278, -0.6985986828804016, 0.4492139220237732, -0.4902890920639038, -0.005833257921040058, 0.3046838045120239, 0.6301583647727966, 0.34914687275886536, 0.9228530526161194, 0.4129055142402649, 0.26095184683799744, 0.6501787900924683, 0.07428722083568573, 1.2855393886566162, -0.5273177623748779, 0.17123419046401978, 0.9054698348045349, -0.5554060339927673, 0.6710729002952576, 0.1083284243941307, -0.13563981652259827, 0.6105586886405945, 0.7900052666664124, 0.49869582056999207, 0.46474355459213257, -0.11111672967672348, -0.5034711956977844, -0.33552294969558716, 0.10126781463623047, -0.05721646547317505, 0.5269215703010559, 0.7064969539642334, -0.10158485174179077, 0.07137426733970642, 0.5663020014762878, -0.22807404398918152, -0.08745025843381882, -0.523481011390686, 0.8177340030670166, 0.0916876494884491, -0.7708348035812378, 0.5027382969856262, -0.003958581015467644, 0.6349714994430542, -0.6109381318092346, 0.06500804424285889, -0.15413179993629456, 0.16425666213035583, -0.35920250415802, -0.6022577881813049, -0.016161160543560982, -0.23642194271087646, 0.06542620807886124, 0.04977157711982727, 0.9814342856407166, -0.17875097692012787, -0.3421485424041748, 0.31265512108802795, 0.22637011110782623, 0.02398274466395378, -0.5557147264480591, -1.0695881843566895, 0.23775099217891693, -0.07147791981697083, -0.13928408920764923, 0.21919962763786316, 0.12057086080312729, -0.5561299920082092, 1.2288143634796143, 0.7413811683654785, -0.3319932818412781, -0.10703080147504807, -0.29017937183380127, 0.8037030696868896, -0.5900360345840454, -0.5184522271156311, -0.6750327348709106, 0.4631160795688629, -0.3196640908718109, -0.21965089440345764, 0.6116520166397095, 0.864148736000061, 0.3735450804233551, -0.13461890816688538, 1.0674784183502197, -0.05291200801730156, -0.24589519202709198, -0.47130101919174194, 0.49089866876602173, -0.3730049729347229, 0.13134342432022095, -0.4097411334514618, -1.1026785373687744, -0.2688577473163605, 0.3738485276699066, -0.3541388511657715, 0.18681392073631287, 0.657492458820343, 0.8758808374404907, -0.37122973799705505, -0.09766028821468353, 0.7831841111183167, 0.003020194824784994, 0.3400997519493103, 0.7681295275688171, 0.6100157499313354, -0.23647437989711761, 0.5798037052154541, -0.09730244427919388, -0.18388278782367706, -0.5087979435920715, -0.5246214270591736, -0.8021900653839111, -0.5305203795433044, -0.30427315831184387, -0.19676975905895233, -0.06324934214353561, 0.7555840611457825, 0.9176007509231567, -0.6548842191696167, -0.14640599489212036, -0.32433080673217773, 0.32555606961250305, -0.5466883778572083, -0.2434217780828476, 0.13995592296123505, -0.3945033848285675, -0.8820412158966064, 0.26880526542663574, 0.5377844572067261, -0.1291530877351761, -0.2695327699184418, -0.44458699226379395, 0.2958434224128723, 0.18923333287239075, 1.0779789686203003, 0.6256526708602905, -1.021188735961914, 0.020873339846730232, -0.1418841928243637, -0.4486848711967468, -0.12484654039144516, 1.011256456375122, -1.0202492475509644, 0.5524115562438965, 0.199887216091156, 0.20193569362163544, 0.6922000646591187, -0.018180282786488533, 0.7789337038993835, -0.28773602843284607, 0.3538478910923004, 0.19201725721359253, 0.3755653202533722, -0.058242350816726685, -0.4088958501815796, 0.43166130781173706, -0.18261197209358215, -0.2676713168621063, -0.45716214179992676, 0.4564052224159241, -1.516783595085144, -0.34987571835517883, 1.2011386156082153, -0.1812654584646225, -0.45864346623420715, -0.5004754066467285, -0.8872343897819519, -0.13013063371181488, -0.7102069854736328, 0.5663811564445496, 0.28235185146331787, -0.37569281458854675, -0.42285919189453125, -0.4547438323497772, 0.3376820385456085, 0.11362273246049881, -1.040392518043518, 0.02350916899740696, 0.42330724000930786, 0.1185048297047615, 0.011167109943926334, 0.8252367377281189, 0.17745830118656158, 0.5936312079429626, -0.06633693724870682, 0.2867267429828644, -0.2062128484249115, -0.3472483456134796, 0.16975130140781403, 0.052975479513406754, -0.04693296551704407, -0.23817966878414154 ]
http://arxiv.org/abs/2402.11934v1
http://arxiv.org/pdf/2402.11934v1
Team QUST at SemEval-2024 Task 8: A Comprehensive Study of Monolingual and Multilingual Approaches for Detecting AI-generated Text
2024-02-19T08:22:51
2024-02-19T08:22:51
Xiaoman Xu, Xiangrun Li, Taihang Wang, Jianxiang Tian, Ye Jiang
cs.CL
cs.CL, cs.AI
This paper presents the participation of team QUST in Task 8 SemEval 2024. We first performed data augmentation and cleaning on the dataset to enhance model training efficiency and accuracy. In the monolingual task, we evaluated traditional deep-learning methods, multiscale positive-unlabeled framework (MPU), fine-tuning, adapters and ensemble methods. Then, we selected the top-performing models based on their accuracy from the monolingual models and evaluated them in subtasks A and B. The final model construction employed a stacking ensemble that combined fine-tuning with MPU. Our system achieved 8th (scored 8th in terms of accuracy, officially ranked 13th) place in the official test set in multilingual settings of subtask A. We release our system code at:https://github.com/warmth27/SemEval2024_QUST
[ -0.31485751271247864, -0.5558993816375732, 0.37100303173065186, 0.014177784323692322, -0.37202703952789307, 0.284178763628006, -0.10655848681926727, -0.5509599447250366, -0.10708033293485641, 0.45177924633026123, -0.4943227767944336, -0.6147345304489136, -0.5483684539794922, 0.5144319534301758, -0.38463306427001953, 1.030312418937683, 0.004947985056787729, 0.1183718591928482, -0.3756066858768463, -0.47686484456062317, -0.3952004015445709, -0.548557460308075, -0.9867455959320068, -0.21981778740882874, 0.4356893002986908, 0.5678471922874451, 0.3576548397541046, 0.32715871930122375, 0.4128260612487793, 0.32493478059768677, 0.15264499187469482, 0.34064632654190063, -0.27200832962989807, 0.05777555704116821, -0.2697846293449402, -0.3568471670150757, -0.5774643421173096, -0.07042044401168823, 0.43282389640808105, 0.10861140489578247, 0.134630024433136, 0.2974594831466675, 0.1472490429878235, 0.24883346259593964, -0.34410515427589417, 0.22163814306259155, -0.5478625893592834, -0.03227647393941879, -0.22246506810188293, -0.1710248589515686, -0.43528807163238525, 0.1023915633559227, -0.04680928215384483, -0.4392865300178528, 0.1331394612789154, 0.07534291595220566, 0.7680578231811523, 0.46680721640586853, -0.7196348905563354, -0.19822704792022705, -0.39377668499946594, 0.9059867262840271, -0.851195752620697, 0.38536205887794495, 0.4498266577720642, -0.006356320809572935, 0.12521381676197052, -0.5410237908363342, -0.6295315027236938, 0.04538284242153168, 0.1522054523229599, 0.19310565292835236, 0.015561308711767197, -0.0526178702712059, 0.16963618993759155, 0.24586573243141174, -0.7178518772125244, 0.23766382038593292, -0.4143332839012146, -0.5005409717559814, 0.8657475113868713, 0.046331968158483505, 0.6016783714294434, 0.07877521961927414, -0.476164847612381, 0.014475954696536064, -0.39551860094070435, 0.1099979355931282, 0.3664945363998413, 0.24793079495429993, -0.13448351621627808, 0.38025593757629395, -0.23696452379226685, 0.20863847434520721, 0.0006666016997769475, 0.04967733472585678, 0.655304491519928, -0.8335414528846741, -0.06591243296861649, 0.22430488467216492, 0.8486790657043457, 0.011181650683283806, 0.13344740867614746, 0.14246219396591187, -0.3815421164035797, 0.0311116985976696, 0.17935001850128174, -0.5789305567741394, -0.3017148971557617, 0.11850390583276749, -0.30809485912323, -0.5423955917358398, -0.21083690226078033, -0.5292686223983765, -0.5321312546730042, -0.3684457540512085, 0.6806244850158691, -0.5636404752731323, -0.35129621624946594, 0.08252333104610443, -0.030562611296772957, 0.0670698955655098, 0.5486767292022705, -0.5173813700675964, -0.12776778638362885, 0.5005061030387878, 0.29587018489837646, -0.2424476146697998, -0.6359429359436035, -0.5016767382621765, -0.21512629091739655, -0.3190498948097229, 0.9891526699066162, -0.3041777014732361, -0.06392568349838257, -0.3009541630744934, 0.14006030559539795, 0.0008753296569921076, -0.4595640003681183, 0.9406314492225647, -0.31476205587387085, 0.4370407164096832, -0.13497339189052582, -0.512954592704773, -0.5108827352523804, 0.5697505474090576, -0.6929105520248413, 1.2392840385437012, 0.06616152077913284, -0.7674875259399414, 0.46488580107688904, -0.5706678628921509, -0.5569360852241516, 0.519614577293396, -0.1345498263835907, -0.6404707431793213, -0.165411114692688, 0.4696193039417267, 0.38746440410614014, -0.03462139889597893, 0.10219964385032654, -0.018420472741127014, -0.30865687131881714, -0.1684345006942749, -0.6466109156608582, 0.85779869556427, 0.1271035373210907, -0.6257445216178894, 0.3919253945350647, -0.706305205821991, -0.013328278437256813, 0.05978648364543915, -0.41305696964263916, -0.4199507534503937, -0.14926087856292725, 0.002344889799132943, 0.1538671851158142, 0.6472824215888977, -0.6734665036201477, -0.02458333969116211, -0.2942520081996918, 0.14907367527484894, 0.7850208878517151, 0.06271132826805115, 0.3994331657886505, -0.15181864798069, 0.7671011090278625, 0.2550598382949829, 0.10740991681814194, -0.5509045124053955, -0.3639852702617645, -0.9172362685203552, -0.22404438257217407, 0.49468931555747986, 0.7025150656700134, -1.1488302946090698, 0.2534857988357544, -0.13218891620635986, -0.5062286257743835, -0.4350599944591522, -0.06861580908298492, 0.2945045232772827, 0.40637147426605225, 0.32118847966194153, 0.13473211228847504, -0.674129068851471, -0.9863708019256592, -0.18233442306518555, -0.16696995496749878, 0.36132606863975525, -0.09214635193347931, 0.7699116468429565, -0.2614338994026184, 0.28279849886894226, 0.12861038744449615, 0.04097088426351547, -0.35299769043922424, 0.3003941476345062, 0.14943096041679382, 0.604142963886261, 0.4820520877838135, -0.9374988079071045, -0.6203046441078186, 0.231898233294487, -0.9191750884056091, -0.008094578050076962, 0.009488405659794807, -0.04696701094508171, 0.44647854566574097, 0.5197256207466125, -0.18939334154129028, 0.489227831363678, 0.35113853216171265, -0.4914016127586365, 0.6479544639587402, -0.06933461874723434, 0.641135573387146, -1.3111436367034912, -0.1745530217885971, 0.010871979407966137, -0.6654946804046631, -0.6227267980575562, 0.27873694896698, 0.20093178749084473, -0.19456112384796143, -0.4351678192615509, 0.4495805501937866, -0.39197981357574463, 0.2973940670490265, -0.2883952856063843, -0.39330732822418213, 0.1095007136464119, 0.3605988323688507, -0.15055584907531738, 1.0996869802474976, 0.3921854496002197, -0.5076438784599304, 0.23781508207321167, 0.06133747845888138, -0.33642473816871643, 0.548535943031311, -0.45546385645866394, 0.2178211361169815, -0.11157810688018799, -0.18055830895900726, -0.927791953086853, -0.008254182524979115, 0.22203050553798676, -0.8001196384429932, 0.10455328226089478, 0.08021225035190582, -0.616672694683075, -0.34982141852378845, -0.20559194684028625, 0.6404998898506165, 0.298095166683197, -0.4076516330242157, 0.5204457640647888, 0.7187753915786743, -0.3983989655971527, -0.3992786109447479, -0.4956429898738861, 0.20484738051891327, -0.42466285824775696, -0.6980230212211609, 0.06339521706104279, -0.07452991604804993, -0.040295086801052094, -0.24143868684768677, -0.02590429037809372, -0.0933898389339447, 0.19738782942295074, -0.16472914814949036, 0.11160772293806076, -0.2836000621318817, 0.13788415491580963, 0.1978391706943512, -0.07744155079126358, 0.00201611896045506, -0.25638943910598755, 0.5432314276695251, -0.24860508739948273, -0.19962793588638306, -0.4101274907588959, 0.388499915599823, 0.6306191086769104, -0.6538903117179871, 0.4823262393474579, 0.9983131289482117, -0.5878500938415527, -0.2519051730632782, -0.35090017318725586, -0.06030910834670067, -0.452609121799469, 0.46617352962493896, -0.4256373643875122, -1.20003080368042, 0.4568135738372803, 0.10230033099651337, 0.0858239158987999, 0.656770646572113, 0.5980511903762817, -0.11945590376853943, 1.5114428997039795, 0.6901078820228577, -0.17981752753257751, 0.273472398519516, -0.17582771182060242, 0.37692493200302124, -0.49128100275993347, -0.1399519145488739, -0.5991747975349426, -0.1916443407535553, -0.6880785822868347, -0.3487405776977539, 0.648520827293396, -0.16202312707901, -0.2065782994031906, 0.46648281812667847, -0.5271052122116089, 0.25707852840423584, 0.6534343361854553, 0.056688129901885986, 0.1638719141483307, -0.028085777536034584, -0.11233314871788025, 0.05897011235356331, -0.5808103680610657, -0.43640682101249695, 0.9508713483810425, 0.20476360619068146, 0.26422491669654846, -0.023272426798939705, 0.8250289559364319, 0.625154435634613, -0.22513504326343536, -0.5103760361671448, 0.6649789810180664, -0.11866314709186554, -0.41549399495124817, -0.524994432926178, -0.15772394835948944, -1.0323772430419922, 0.2526017725467682, -0.16113123297691345, -0.5176024436950684, 0.11380929499864578, 0.017517147585749626, -0.3186863958835602, 0.08554738759994507, -0.5883491039276123, 1.0484052896499634, -0.31189587712287903, -0.27907317876815796, -0.30808186531066895, -0.3893778324127197, 0.15570643544197083, -0.09501877427101135, 0.49907392263412476, -0.18111592531204224, -0.054070211946964264, 0.6397409439086914, -0.18677303194999695, 0.6208696961402893, -0.10640290379524231, -0.17572888731956482, 0.41146138310432434, -0.060734719038009644, 0.5497028827667236, 0.09460976719856262, -0.32563310861587524, 0.15177391469478607, 0.07378032058477402, -0.5793534517288208, -0.19106340408325195, 0.5148870944976807, -0.5233319401741028, -0.19594933092594147, -0.6003578901290894, -0.5272799730300903, 0.014843672513961792, 0.5596429109573364, 0.4051043391227722, 0.61196368932724, -0.19655409455299377, 0.2656618654727936, 0.7566043138504028, -0.34463128447532654, 0.3588956594467163, 0.3993939161300659, -0.18862266838550568, -0.3309582769870758, 1.1606992483139038, -0.10582949966192245, -0.24258196353912354, 0.3477005958557129, 0.15600043535232544, -0.2514166235923767, -0.8447226285934448, -0.5719555020332336, -0.1745891124010086, -0.4467445909976959, -0.18163423240184784, -0.6540451049804688, -0.2953835427761078, -0.8587357401847839, 0.27631914615631104, -0.2325441986322403, -0.17856980860233307, -0.3472138047218323, -0.1974947154521942, -0.004551625344902277, 0.5791046023368835, 0.17484663426876068, 0.07263969630002975, -1.0428231954574585, 0.022496795281767845, -0.13722747564315796, -0.24455589056015015, -0.3635411858558655, -0.4911431074142456, -0.6299048662185669, 0.13751491904258728, -0.1847681999206543, -0.5610083937644958, 0.5004412531852722, 0.18150241672992706, 0.6503564715385437, 0.022206472232937813, 0.1450236588716507, 0.2905898094177246, -0.3996819257736206, 0.8835815787315369, -0.16889449954032898, -0.7377573251724243, 0.5645641088485718, -0.698318362236023, 0.8463669419288635, 0.8644158840179443, 0.23661169409751892, -0.41012707352638245, -0.503339409828186, -0.643993079662323, -0.7998052835464478, 0.5527042150497437, 0.222584530711174, 0.1584489494562149, 0.08478914946317673, 0.029377460479736328, 0.21040041744709015, 0.4295714199542999, -0.6818795204162598, 0.0730571523308754, 0.05068863183259964, -0.5577489137649536, -0.12355604767799377, -0.15729855000972748, 0.39845675230026245, -0.28698500990867615, 0.9515960812568665, -0.23954007029533386, 0.053069498389959335, 0.10921420156955719, -0.2678680717945099, 0.2011244297027588, 0.31076258420944214, 0.6792951822280884, 0.5093773007392883, 0.34756070375442505, 0.0911577120423317, 0.34621384739875793, -0.30019086599349976, 0.004435353446751833, 0.21742042899131775, -0.38082870841026306, -0.1325155347585678, 0.6011514067649841, 0.9443013072013855, 0.023317251354455948, -0.7040549516677856, 0.46552786231040955, -0.161229208111763, -0.3174682855606079, -0.5769137740135193, -0.09731954336166382, -0.13603860139846802, 0.3610994219779968, 0.28462889790534973, 0.2427401840686798, 0.6698663234710693, -0.393669992685318, 0.38096973299980164, 0.23181848227977753, -0.45611572265625, -0.5652077198028564, 0.5386266708374023, 0.329120010137558, -0.29696333408355713, 0.4597383141517639, -0.7191305160522461, -1.1022642850875854, 0.8267508745193481, 0.2469681054353714, 0.7281279563903809, -0.3711588680744171, 0.2324550896883011, 0.5710171461105347, 0.5146461129188538, 0.1490338295698166, 0.6164955496788025, -0.0032877707853913307, -0.9432309865951538, -0.458511084318161, -0.4686961770057678, -0.1570068597793579, 0.2754612863063812, -0.3775235712528229, 0.5018214583396912, -0.02892165817320347, -0.011851109564304352, 0.028293531388044357, 0.10220644623041153, -0.604742169380188, 0.34826162457466125, 0.3447229564189911, 0.7387027740478516, -0.774932861328125, 0.7719038128852844, 1.1286163330078125, -0.30628669261932373, -0.8248332142829895, -0.20748916268348694, 0.23291265964508057, -0.5476298928260803, 0.13631297647953033, 0.3404725193977356, -0.053964026272296906, 0.2207750827074051, -0.5971881747245789, -0.7000072002410889, 0.8704671859741211, 0.13668303191661835, -0.28746363520622253, 0.07879234850406647, 0.11827180534601212, 0.6083514094352722, -0.18744297325611115, 0.19515854120254517, 0.38510170578956604, 0.5728157162666321, -0.19390490651130676, -1.0175213813781738, -0.269722580909729, -0.6813220381736755, -0.44224685430526733, 0.3455600142478943, -0.7288641929626465, 0.8048301935195923, 0.13041308522224426, -0.12889781594276428, 0.15268200635910034, 0.8028733134269714, 0.10957033187150955, 0.5017410516738892, 0.7154704332351685, 0.7430723905563354, 0.8302950263023376, 0.09515473991632462, 0.8336437344551086, -0.2506735920906067, 0.2526693642139435, 1.161879539489746, -0.31108608841896057, 0.5531653165817261, 0.21410036087036133, -0.0200290996581316, 0.34274545311927795, 0.8194682598114014, -0.008493278175592422, 0.33474165201187134, -0.20403170585632324, -0.4797854721546173, -0.5033922791481018, -0.31310728192329407, -0.11503371596336365, 0.6788128018379211, 0.2896454632282257, -0.02793981321156025, -0.2528633177280426, 0.49778544902801514, -0.0616261251270771, 0.144558846950531, -0.3931649327278137, 0.838108241558075, -0.11617723107337952, -0.8103316426277161, 0.1740754097700119, 0.04175705090165138, 0.8327970504760742, -0.21907545626163483, -0.1688104122877121, -0.06620543450117111, 0.4027602970600128, -0.15047377347946167, -0.6637599468231201, 0.11846457421779633, -0.10882912576198578, -0.1288842260837555, -0.2230692058801651, 1.0400714874267578, -0.7296399474143982, -0.8030092120170593, 0.09942139685153961, 0.4095107316970825, 0.21987846493721008, -0.23730243742465973, -0.7875869274139404, -0.03994156792759895, 0.35415059328079224, -0.015349378809332848, 0.2775300443172455, 0.5934766530990601, -0.36835843324661255, 0.4074878394603729, 0.551673173904419, -0.23629750311374664, 0.14321941137313843, 0.14417758584022522, 0.4256882965564728, -0.21764005720615387, -0.5459584593772888, -0.7600201964378357, 0.5696685910224915, -0.16958485543727875, -0.43250390887260437, 0.9691328406333923, 0.9356178045272827, 1.0819742679595947, 0.002036534482613206, 0.983756422996521, 0.12200424075126648, 0.7281582355499268, -0.3335570991039276, 0.728480339050293, -0.8028922080993652, 0.09099804610013962, -0.05312960967421532, -0.6508393883705139, 0.06381005048751831, 0.360975444316864, -0.04460908845067024, -0.1573464721441269, 0.7705113291740417, 0.5689318180084229, -0.019611960276961327, 0.1611746996641159, 0.4015200734138489, 0.020746655762195587, 0.2966620624065399, 0.43906766176223755, 0.763056755065918, -0.6988002061843872, 0.36989834904670715, -0.3609350621700287, -0.04702270030975342, 0.09950633347034454, -0.6178960800170898, -0.8681693077087402, -0.7413497567176819, -0.47942915558815, -0.03726828470826149, 0.07009672373533249, 0.7779116034507751, 0.5899278521537781, -1.0592172145843506, -0.10002792626619339, -0.024751702323555946, 0.07804358005523682, -0.06523063778877258, -0.2625109553337097, 0.09974107146263123, -0.36616143584251404, -1.0220365524291992, 0.6750367283821106, 0.2907675802707672, -0.1327168047428131, -0.050512708723545074, 0.05291474238038063, -0.6606482267379761, -0.17222703993320465, 0.5964675545692444, -0.10869815200567245, -0.25528204441070557, -0.5018181204795837, 0.1351344883441925, -0.10504378378391266, 0.07888653874397278, 0.5328008532524109, -0.5799687504768372, 0.3492610454559326, 0.84814453125, 0.738792359828949, 0.37125736474990845, 0.0831843763589859, 0.638222336769104, -0.5231889486312866, 0.1595449596643448, 0.5290154814720154, 0.4046882390975952, 0.26701653003692627, -0.5388614535331726, 0.7434728741645813, 0.18656104803085327, -0.8428384065628052, -0.8670534491539001, -0.05429815128445625, -0.6493610739707947, -0.17178472876548767, 0.9158689975738525, -0.18510079383850098, -0.3605242669582367, -0.20545454323291779, -0.3539699614048004, 0.360416054725647, -0.4519228935241699, 0.2676461637020111, 0.8447745442390442, -0.029698161408305168, -0.4983288645744324, -0.414919376373291, 0.22481679916381836, 0.46579980850219727, -1.0748199224472046, -0.5620265007019043, 0.5056893825531006, 0.141999289393425, 0.1260751485824585, 0.7107428312301636, 0.08658823370933533, 0.4877792000770569, -0.1579645574092865, 0.39007946848869324, -0.005938575137406588, -0.3753955662250519, -0.4223978519439697, -0.018554776906967163, -0.05134899914264679, -0.16913996636867523 ]
http://arxiv.org/abs/2402.11924v3
http://arxiv.org/pdf/2402.11924v3
Evaluating LLMs' Inherent Multi-hop Reasoning Ability
2024-02-19T08:12:30
2024-07-03T15:50:48
Jian Wu, Linyi Yang, Zhen Wang, Manabu Okumura, Yue Zhang
cs.CL
cs.CL
While Large Language Models (LLMs) excel in question-answering (QA) tasks, their multi-step reasoning abilities on multiple evidence integration on Multi-hop QA tasks remain underexplored. LLMs sometimes generate answers that rely on internal memory rather than reasoning given context, which brings concerns about the evaluation quality of real reasoning abilities. The counterfactual QA task can separate internal memory from reasoning abilities, but focusing solely on final-QA performance without evaluating the multi-step reasoning process is insufficient for reporting LLMs' real reasoning abilities. Current Multi-hop QA (MHQA) benchmarks are factual and annotated on open-source corpora such as Wikipedia, although useful for multi-step reasoning evaluation, showing limitations due to potential data contamination in LLMs pre-training stage. To address this issue, we introduce the Inherent Reasoning Evaluation (IRE) method, a novel evaluation way that jointly evaluates the LLMs' chain-of-reasoning performance based on the first knowledge-edited counterfactual multi-hop QA data which involves editing the original Wikipedia passages, reducing data contamination risks. The IRE comprehensively assesses reasoning chains through sub-QA and final-QA evaluations. Our comparisons reveal significant performance gaps for several LLMs between Wikipedia-based benchmarks and IRE, deeming data contamination issues in existing benchmarks. We believe that the IRE benchmark will enhance and facilitate trustworthy LLM evaluations.
[ -0.5877847671508789, -0.8509347438812256, 0.7789515852928162, -0.05072558671236038, -0.2654312252998352, 0.1927795708179474, 0.03800172358751297, -0.5583629608154297, -0.0682331845164299, 0.28652071952819824, -0.613215446472168, -0.277109831571579, -0.5825077295303345, 0.07906629145145416, -0.17381606996059418, 0.6645023822784424, -0.19601836800575256, 0.14117683470249176, -0.4681970477104187, -0.17385084927082062, -0.4093948006629944, -0.3626563549041748, -0.43537676334381104, -0.25212791562080383, 0.5568113923072815, 0.460417240858078, 0.5246534943580627, 0.4178222417831421, 0.5976648330688477, 0.29936668276786804, -0.015170690603554249, 0.46310800313949585, -0.46925652027130127, 0.06239470839500427, -0.5470008850097656, -0.4051856994628906, -0.4169885218143463, 0.20306189358234406, 0.6802326440811157, 0.31638824939727783, 0.13889819383621216, 0.38525816798210144, -0.14609834551811218, 0.7233319878578186, -0.7922572493553162, -0.19300827383995056, -0.8522108197212219, -0.17103274166584015, 0.021975118666887283, -0.2903412878513336, -0.42325687408447266, -0.4547026455402374, 0.2306603044271469, -0.40482497215270996, -0.34202003479003906, -0.0036785195115953684, 0.7973755598068237, 0.2707195580005646, -0.36464551091194153, -0.3559076189994812, -0.5456951260566711, 0.5245929956436157, -0.7743860483169556, 0.40486621856689453, 0.11559236794710159, 0.31390029191970825, -0.18685370683670044, -0.5609294772148132, -0.6890643835067749, -0.40808409452438354, 0.1369769275188446, 0.025005057454109192, -0.21736173331737518, -0.05444139242172241, 0.32767096161842346, 0.23679690062999725, -0.49832236766815186, -0.040355831384658813, -0.21342425048351288, -0.07260771840810776, 0.470865935087204, 0.015599804930388927, 0.39568451046943665, -0.07074005156755447, -0.616866409778595, -0.07466738671064377, -0.6332250833511353, 0.09839089214801788, 0.18306778371334076, -0.03457684442400932, 0.2084505558013916, 0.7231503129005432, -0.36389774084091187, 0.29371070861816406, -0.1478545218706131, -0.281681090593338, 0.3649264872074127, -0.4195259213447571, -0.23709557950496674, -0.23924939334392548, 0.7552533745765686, 0.1627911776304245, 0.45984944701194763, -0.38214924931526184, 0.005946787539869547, -0.07357266545295715, 0.362724632024765, -0.7060946822166443, 0.017185429111123085, 0.3308733403682709, -0.28919610381126404, 0.08723052591085434, 0.2216261327266693, -0.7035555243492126, -0.14870601892471313, -0.21690843999385834, 0.9173434376716614, -0.5168449878692627, -0.17008879780769348, -0.007314514368772507, -0.14866966009140015, 0.22912321984767914, 0.2845296263694763, -0.19546760618686676, 0.17721666395664215, 0.6895166039466858, 0.6468468904495239, -0.10395250469446182, -0.6493000984191895, -0.800609290599823, 0.006511971820145845, -0.219964861869812, 0.9595134258270264, -0.5400193333625793, -0.11438173055648804, -0.24323627352714539, -0.10125017911195755, -0.3620375990867615, -0.4535074234008789, 0.650407075881958, -0.8393052220344543, -0.10789477825164795, -0.26334139704704285, -0.7168666124343872, -0.2850217819213867, 0.44528961181640625, -0.45862141251564026, 0.9839141368865967, 0.001451085670851171, -0.9609012603759766, 0.3451234698295593, -0.6660671234130859, -0.30306291580200195, -0.07781824469566345, -0.05588847026228905, -0.13544850051403046, -0.1100352555513382, 0.33734986186027527, 0.10305974632501602, -0.24308402836322784, 0.27974337339401245, -0.4087475538253784, -0.6065698266029358, 0.38061967492103577, -0.711832582950592, 0.8020955920219421, 0.001909477636218071, -0.2996510863304138, 0.08518286049365997, -0.6782420873641968, 0.34394189715385437, -0.043915458023548126, -0.38103553652763367, -0.4190514087677002, -0.07193256914615631, -0.6808460354804993, 0.5697340369224548, 0.25375428795814514, -0.4280577003955841, 0.24039436876773834, -0.19772908091545105, -0.04613113030791283, 0.8437426686286926, 0.1872849315404892, 0.10476672649383545, -0.47304198145866394, 0.4619503319263458, 0.11061815917491913, 0.45536553859710693, -0.23630750179290771, -0.6017206907272339, -0.8326910734176636, -0.24405984580516815, 0.23022352159023285, 0.8666049838066101, -0.7584715485572815, 0.371764212846756, -0.3824070394039154, -0.7337576746940613, -0.5234644412994385, 0.29818806052207947, 0.43324124813079834, 0.47939765453338623, 0.5847113728523254, -0.14387492835521698, -0.33305060863494873, -0.7956146001815796, -0.3929712176322937, -0.301861435174942, -0.12317342311143875, 0.3148338794708252, 0.6836657524108887, -0.34215718507766724, 0.6369562149047852, -0.10645613074302673, 0.20989039540290833, 0.054015908390283585, 0.2702973186969757, 0.09851542115211487, 0.43145254254341125, 0.06780602782964706, -0.36808887124061584, -0.3326619863510132, -0.2707657217979431, -0.8402814269065857, -0.2012186348438263, -0.20186911523342133, -0.5917379856109619, 0.009984704665839672, 0.3211594223976135, -0.8127391338348389, 0.34112557768821716, 0.3244624435901642, -0.43687883019447327, 0.8274743556976318, -0.11866119503974915, 0.5743606686592102, -0.5672099590301514, -0.05520906299352646, -0.04882669821381569, 0.15253666043281555, -0.3123649060726166, 0.16907382011413574, 0.15460439026355743, 0.3507022261619568, -0.38934245705604553, 0.5379683375358582, -0.4338787794113159, -0.2225096970796585, -0.05491923540830612, 0.3795219659805298, 0.25289615988731384, 0.3284916877746582, -0.09684298932552338, 0.8467175364494324, 0.5457774996757507, -0.5416633486747742, 0.2170788198709488, 0.12535212934017181, -0.39482155442237854, 0.627424418926239, -0.3925139605998993, 0.38656893372535706, 0.08544722199440002, 0.13805299997329712, -0.928400456905365, 0.32701990008354187, 0.23574022948741913, -0.3849559426307678, 0.16245977580547333, -0.15568342804908752, -0.5087632536888123, -0.4276357591152191, -0.5353438258171082, 0.3356906473636627, 0.14850378036499023, -0.6466349363327026, 0.6099661588668823, 0.05010783672332764, 0.015116618946194649, -0.8199047446250916, -0.39688965678215027, 0.2198116034269333, -0.24538663029670715, -0.8681997656822205, 0.0665266141295433, -0.32442551851272583, -0.37417954206466675, 0.09164262562990189, -0.4061315655708313, -0.12019996345043182, 0.11465181410312653, -0.050938837230205536, 0.42616257071495056, -0.38681715726852417, 0.16733260452747345, 0.024417264387011528, -0.11731497943401337, 0.3150537312030792, -0.1257997751235962, 0.25354883074760437, -0.1881541907787323, -0.7032229900360107, -0.4190827012062073, 0.09596990793943405, 0.6514067649841309, -0.34573376178741455, 0.7316224575042725, 0.4278513193130493, -0.24745847284793854, -0.10131261497735977, -0.8267555832862854, -0.069601871073246, -0.3780330717563629, 0.24638919532299042, -0.6426039338111877, -0.5987964868545532, 0.36007797718048096, -0.29686489701271057, 0.049513690173625946, 0.5216418504714966, 0.09882325679063797, -0.24787664413452148, 0.5781830549240112, 0.12758733332157135, 0.16381649672985077, 0.04282490164041519, -0.1286822259426117, 0.2865549921989441, -0.9824243783950806, -0.33446913957595825, -0.6764602661132812, 0.0030657851602882147, -0.4744229018688202, -0.7770410180091858, 0.4413994550704956, 0.5070228576660156, -0.49516910314559937, 0.00812515988945961, -0.03334425017237663, 0.5312155485153198, 0.6301501393318176, 0.16237875819206238, 0.6496841311454773, -0.13858234882354736, -0.3910331726074219, 0.1840393841266632, -0.5671163201332092, -0.797378659248352, 1.2242099046707153, 0.44068387150764465, 0.6383581757545471, -0.01972183771431446, 0.4483785033226013, 0.3053145706653595, 0.32125556468963623, -0.5802313685417175, 0.514966607093811, 0.10577452927827835, -0.547122061252594, -0.46094444394111633, -0.5959136486053467, -0.32767051458358765, 0.5413733124732971, -0.3329266309738159, -0.8338867425918579, -0.09961298108100891, -0.2078479528427124, -0.058696769177913666, 0.5709973573684692, -0.6743220090866089, 0.7545491456985474, -0.5139662027359009, -0.3826518952846527, -0.3083648681640625, -0.5498607754707336, 0.5720606446266174, -0.12781117856502533, 0.22912028431892395, -0.16649740934371948, 0.07344890385866165, 0.6295236349105835, -0.2437850832939148, 0.3912818729877472, -0.15182055532932281, -0.08832960575819016, 0.46081510186195374, 0.19039563834667206, 0.4990212023258209, 0.24060334265232086, -0.12865881621837616, 0.4993934631347656, 0.10354451090097427, -0.21977752447128296, -0.6072710156440735, 0.5881064534187317, -0.6853677034378052, -0.6391176581382751, -0.4279232621192932, -0.37125957012176514, -0.7753064632415771, 0.16496191918849945, 0.019287483766674995, 0.20755191147327423, -0.0827300101518631, 0.03868008032441139, 0.7951788306236267, -0.4142581522464752, 0.18808656930923462, 0.7326104640960693, 0.08902397006750107, -0.4200647175312042, 0.5465648770332336, 0.06639634072780609, 0.32335135340690613, 0.4901354908943176, 0.3454507887363434, -0.528756856918335, -0.5961700677871704, -0.6088758111000061, 0.29688313603401184, -0.9291221499443054, -0.15224285423755646, -0.6971545815467834, -0.433612197637558, -0.028811858966946602, 0.0745556652545929, -0.3471057116985321, -0.17639246582984924, 0.13326118886470795, -0.07888399064540863, 0.1096283420920372, 0.6148829460144043, -0.2417759895324707, -0.008689461275935173, -0.9057434797286987, 0.7783647179603577, 0.5711875557899475, 0.4970402717590332, 0.1376914232969284, -0.5109490752220154, -0.18327975273132324, 0.03118746541440487, -0.21577253937721252, -0.8491681218147278, -0.3328837454319, -0.08226639777421951, 0.9627291560173035, 0.3108678460121155, -0.05725228041410446, 0.7432103753089905, -0.49545615911483765, 0.5260850191116333, 0.08267677575349808, -1.0025783777236938, 0.5280841588973999, -0.03967861458659172, 0.24380095303058624, 0.6473803520202637, 0.4151524305343628, -0.2555590867996216, -0.46803727746009827, -0.45794734358787537, -0.7269159555435181, 0.5028102993965149, 0.09625484049320221, -0.1697443425655365, -0.12976637482643127, 0.3126976788043976, 0.09419199824333191, 0.10499148070812225, -0.731149435043335, -0.2672346532344818, -0.053672101348638535, 0.14971581101417542, 0.3148605227470398, -0.5209671854972839, 0.019276384264230728, -0.2763723134994507, 0.8641077280044556, 0.002681198064237833, -0.030217792838811874, 0.2599177658557892, -0.2988995313644409, -0.14781776070594788, 0.5182700753211975, 0.26475512981414795, 1.027422308921814, -0.23427791893482208, 0.184410959482193, 0.2950185239315033, -0.31816565990448, 0.2416377067565918, -0.013197147287428379, -0.12263667583465576, -0.24257339537143707, 0.5247039198875427, 0.42649784684181213, 0.05315932631492615, -0.8386923670768738, 0.5502386093139648, -0.1154501810669899, -0.008715472184121609, -0.0673677995800972, 0.22479933500289917, 0.26331639289855957, 0.4555127024650574, 0.5324774980545044, 0.012438285164535046, 0.18665559589862823, -0.4245491921901703, 0.43929818272590637, 0.4571874141693115, -0.03083539381623268, 0.06515996903181076, 0.3933749794960022, -0.04535526782274246, 0.007834373041987419, 0.7643409967422485, -0.2252255231142044, -0.38248559832572937, 0.6281334757804871, 0.3086848258972168, 0.852374792098999, -0.28936952352523804, 0.13296319544315338, 0.48098498582839966, 0.8322330117225647, 0.16031187772750854, 0.31519731879234314, 0.09289027750492096, -0.7668302655220032, -0.7527952790260315, -0.5239300727844238, -0.39837193489074707, 0.2801956832408905, -0.4357534348964691, 0.10496404767036438, -0.14477242529392242, 0.1387808471918106, -0.2793048024177551, 0.04242869094014168, -0.6416912078857422, 0.32762381434440613, 0.12190789729356766, 1.2519803047180176, -0.6651719212532043, 0.7352243065834045, 0.5302519798278809, -0.42434918880462646, -0.6439439654350281, 0.2409568727016449, -0.2332082837820053, -0.6702917814254761, 0.5495988726615906, 0.2679837942123413, -0.4567689895629883, -0.39403361082077026, -0.30216607451438904, -0.7224199175834656, 0.962968647480011, 0.49765545129776, -0.46229615807533264, 0.09508427232503891, 0.12912960350513458, 0.3481169044971466, -0.22559399902820587, 0.6432046890258789, 0.6091306805610657, 0.615787923336029, 0.10635139048099518, -0.9562677145004272, 0.020085111260414124, -0.2466670423746109, -0.27528297901153564, -0.1349329650402069, -0.5758833885192871, 0.6187641620635986, -0.37653207778930664, -0.060958076268434525, -0.20021764934062958, 0.3505975306034088, 0.5996426939964294, 0.36300987005233765, 0.6259933710098267, 0.7873261570930481, 0.817857563495636, 0.07796787470579147, 0.6956480145454407, -0.226492777466774, 0.12021876871585846, 1.3591279983520508, -0.34488359093666077, 0.9312113523483276, 0.49978768825531006, -0.3490605056285858, 0.6139739155769348, 0.38819456100463867, 0.20645363628864288, 0.2962022125720978, 0.36017948389053345, -0.22482801973819733, -0.3379402756690979, 0.11436888575553894, -0.24955376982688904, 0.6610584259033203, 0.2356628030538559, -0.08295796066522598, -0.32035115361213684, -0.27733752131462097, 0.02880914695560932, -0.02749151550233364, -0.254218190908432, 0.7183769345283508, -0.09557471424341202, -0.7032938599586487, 0.4575789272785187, -0.1665295511484146, 0.48621490597724915, -0.5988852381706238, -0.25296223163604736, -0.26383140683174133, -0.18771572411060333, -0.12485070526599884, -0.9317771792411804, 0.2526310384273529, 0.23965516686439514, 0.01627967692911625, 0.1425590217113495, 0.6547823548316956, -0.052703119814395905, -0.35831841826438904, 0.6276034116744995, 0.9175546169281006, 0.233465313911438, -0.22451825439929962, -0.7270572185516357, -0.1128765419125557, -0.1959451138973236, -0.4207926392555237, 0.1847454458475113, 0.6757356524467468, 0.05172261223196983, 0.8859493136405945, 0.6186346411705017, 0.0415375642478466, 0.21428030729293823, 0.2750368118286133, 0.8851208090782166, -0.6545164585113525, -0.3172313868999481, -0.9438096880912781, 0.5518375635147095, -0.02923482656478882, -0.15284587442874908, 0.7169844508171082, 0.6049792766571045, 0.7580296397209167, 0.1366836279630661, 0.8126209378242493, 0.07553394138813019, 0.47320204973220825, -0.6758313775062561, 0.3561805784702301, -0.4350021481513977, 0.35587185621261597, -0.4181026518344879, -0.80301433801651, 0.1704959273338318, 0.5244280099868774, -0.23067381978034973, 0.06722592562437057, 0.9741073846817017, 0.5065517425537109, -0.08038581907749176, 0.07248427718877792, 0.3000214695930481, 0.2458900511264801, 0.2070469707250595, 0.7279572486877441, 1.141589641571045, -0.47108885645866394, 0.60163414478302, -0.3008982241153717, -0.3254263401031494, 0.17293977737426758, -1.0764424800872803, -0.8314695954322815, -0.3020345866680145, -0.3514982759952545, -0.15725359320640564, 0.01459698099642992, 0.6276544332504272, 0.44847992062568665, -0.7257879972457886, 0.001893063192255795, 0.08032596856355667, 0.3899747133255005, -0.38151055574417114, -0.27078768610954285, 0.36465972661972046, -0.41162294149398804, -0.4695635437965393, 0.7351768612861633, 0.4345410168170929, -0.24365606904029846, -0.4043935537338257, -0.09723598510026932, -0.4701894521713257, 0.22700858116149902, 0.6458005905151367, -0.0007239904371090233, -0.6409372091293335, -0.3486928939819336, -0.026187464594841003, 0.050795212388038635, 0.18063725531101227, 0.44796130061149597, -0.7252252697944641, 0.5455806255340576, 0.5178893804550171, 0.791728138923645, 0.3322567045688629, 0.16961073875427246, 0.22339430451393127, -0.22392190992832184, -0.27844300866127014, 0.1185334101319313, 0.41291344165802, 0.08312780410051346, -0.31379401683807373, 0.640023410320282, 0.052575238049030304, -0.51767897605896, -0.6661330461502075, -0.05697127804160118, -0.7866730093955994, -0.37266507744789124, 1.124719500541687, -0.4647802412509918, 0.09217563271522522, -0.17783883213996887, 0.0440836027264595, 0.30795812606811523, -0.09000156074762344, 0.7420482039451599, 0.8865405917167664, -0.27493470907211304, -0.09565123915672302, -0.8275880217552185, 0.048228565603494644, 0.06574961543083191, -1.15896475315094, -0.13790108263492584, 0.6404980421066284, 0.4372352063655853, 0.08024850487709045, 0.7477247714996338, -0.3098931312561035, 0.30802682042121887, 0.052815936505794525, -0.004926272667944431, -0.03742596507072449, -0.6316444277763367, -0.13207745552062988, 0.1937049776315689, 0.2933037579059601, -0.23210567235946655 ]