id
stringlengths
33
33
doc_url
stringlengths
33
33
title
stringlengths
13
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
6
16.6k
category_primary
stringclasses
60 values
category_all
stringlengths
5
132
abstract
stringlengths
123
1.99k
embeddings
listlengths
768
768
http://arxiv.org/abs/2402.17914v2
http://arxiv.org/pdf/2402.17914v2
Extracting Lexical Features from Dialects via Interpretable Dialect Classifiers
2024-02-27T22:06:55
2024-03-23T20:21:04
Roy Xie, Orevaoghene Ahia, Yulia Tsvetkov, Antonios Anastasopoulos
cs.CL
cs.CL, cs.AI
Identifying linguistic differences between dialects of a language often requires expert knowledge and meticulous human analysis. This is largely due to the complexity and nuance involved in studying various dialects. We present a novel approach to extract distinguishing lexical features of dialects by utilizing interpretable dialect classifiers, even in the absence of human experts. We explore both post-hoc and intrinsic approaches to interpretability, conduct experiments on Mandarin, Italian, and Low Saxon, and experimentally demonstrate that our method successfully identifies key language-specific lexical features that contribute to dialectal variations.
[ -0.6002749800682068, -0.4126055836677551, 0.5856265425682068, 0.11619962751865387, -0.04654591158032417, -0.03730266913771629, -0.4209751486778259, -0.7777549624443054, 0.5027620792388916, 0.5971255302429199, -0.23679715394973755, -0.16195303201675415, -0.468946635723114, 0.0650983601808548, -0.2078130841255188, 0.697729766368866, 0.5088021755218506, -0.06049676612019539, 0.26941776275634766, -0.31429460644721985, -0.21051698923110962, -0.5894141793251038, -0.3404642939567566, -0.2008287012577057, 0.29215067625045776, 0.38858556747436523, 0.9607763886451721, 0.47466734051704407, 0.2507736384868622, 0.31822603940963745, -0.5035790801048279, 0.2076505422592163, -0.026220310479402542, -0.10151597112417221, -0.3394034802913666, -0.5797811150550842, -0.3380943238735199, -0.2503824234008789, 0.5158414244651794, 1.0260082483291626, 0.09125760197639465, -0.09031503647565842, 0.10420358180999756, 0.5761186480522156, -0.5525326132774353, 0.40819892287254333, -0.8689159750938416, -0.017748981714248657, -0.715572714805603, -0.03562154248356819, -0.3040059506893158, -0.3496145009994507, 0.3228118419647217, -0.48939743638038635, 0.6514379382133484, -0.241119846701622, 0.8938882946968079, -0.1825558990240097, -0.21971064805984497, -0.15534861385822296, -0.485859751701355, 0.5700081586837769, -0.8059242963790894, 0.41134998202323914, 0.21308286488056183, 0.43956300616264343, 0.08240222185850143, -0.4988376796245575, -0.4700978696346283, -0.28405192494392395, -0.3941279649734497, 0.06051735579967499, 0.26337510347366333, -0.01121179573237896, 0.07068289816379547, 0.5322041511535645, -0.26730167865753174, 0.02934439107775688, -0.1851058155298233, -0.23758581280708313, 0.6182929873466492, 0.051923878490924835, 0.2506321370601654, -0.4725588858127594, 0.13022039830684662, 0.18084800243377686, -0.5875314474105835, 0.3243478238582611, 0.2660323679447174, 0.6555275321006775, 0.04519789293408394, 0.1714194267988205, -0.5049466490745544, 0.4631032645702362, 0.009177396073937416, 0.16219104826450348, 0.2378488928079605, -0.09353365749120712, 0.27568018436431885, -0.01606130413711071, 0.37680932879447937, -0.20590560138225555, 0.38755592703819275, -0.16904211044311523, -0.4403766393661499, -0.47993651032447815, 0.10341234505176544, -0.36092454195022583, -0.539886474609375, -0.16328172385692596, -0.49303165078163147, -0.5200082659721375, 0.36618712544441223, -1.0473451614379883, -0.5908809900283813, 0.02040938101708889, 0.2707599699497223, -0.2933439314365387, -0.8280174732208252, -0.011982958763837814, -0.5750746726989746, 0.5110064148902893, 0.22658413648605347, -1.3264219760894775, 0.4592038094997406, 0.7380087375640869, 0.8587023615837097, -0.06856614351272583, -0.2123342752456665, -0.19747500121593475, -0.17996329069137573, -0.4880521893501282, 0.6872208118438721, -0.8017089366912842, -0.2873261570930481, -0.10529165714979172, 0.04678195342421532, -0.04350629821419716, -0.8402923941612244, 0.18193641304969788, -0.6067121624946594, -0.2375718653202057, -0.21702945232391357, -0.30999499559402466, -0.407840758562088, -0.10990401357412338, -0.9338107109069824, 0.9976977109909058, 0.6266202926635742, -0.6901131868362427, 0.23326905071735382, -0.42040976881980896, -0.49462035298347473, 0.2701131999492645, -0.12495462596416473, -0.0402289479970932, 0.7508112192153931, 0.192278191447258, 0.17773066461086273, -0.2216903418302536, 0.18470431864261627, -0.1926177442073822, -0.18993599712848663, 0.515410840511322, -0.4449951946735382, 0.9152485132217407, 0.2492271363735199, -0.5575944781303406, -0.030552878975868225, -1.1066256761550903, 0.3043287694454193, 0.10341163724660873, 0.03105347976088524, -0.42335131764411926, 0.2871432304382324, 0.22186219692230225, -0.029752254486083984, 0.23901337385177612, -0.3135262131690979, -0.07664458453655243, -0.6259832382202148, 0.4625954329967499, 0.6252214312553406, -0.24738480150699615, 0.4643044173717499, -0.15635304152965546, 0.46842333674430847, -0.03289744630455971, -0.23453237116336823, 0.055471207946538925, -0.38804569840431213, -0.9396969079971313, -0.34858429431915283, 0.4113553762435913, 0.5478742122650146, -0.8049650192260742, 0.5367515087127686, -0.20873777568340302, -0.8104913234710693, -0.2710801661014557, 0.1632366180419922, 0.5025640726089478, 0.26558011770248413, 0.3225085437297821, -0.49936532974243164, -0.24540382623672485, -0.7064651250839233, -0.41353338956832886, -0.3139585852622986, -0.14537860453128815, 0.2763429284095764, 0.1265089511871338, -0.022511832416057587, 1.0739189386367798, -0.6074326634407043, 0.023945199325680733, -0.7634171843528748, 0.2270333170890808, 0.1356988102197647, 0.1018378734588623, 0.7045088410377502, -0.67579585313797, -0.3790236711502075, 0.6455027461051941, -0.5551087856292725, -0.7177209854125977, -0.16528581082820892, 0.03401428088545799, 0.01663525216281414, 0.617050051689148, -0.16337786614894867, 0.3085562288761139, 0.17138230800628662, -0.22614210844039917, 0.7388185262680054, 0.06081199273467064, -0.11683180928230286, -0.57502681016922, -0.18144376575946808, -0.09159763157367706, -0.3240862786769867, -0.8081450462341309, 0.22383959591388702, 0.1826547533273697, 0.05411198362708092, -0.33417412638664246, 0.7574647665023804, -0.4436875283718109, -0.07133892923593521, 0.05394024774432182, 0.08131927251815796, 0.18743647634983063, 0.2943529486656189, 0.561854362487793, 0.3996635973453522, 0.4520597755908966, -0.3438888192176819, 0.18553940951824188, 0.09341220557689667, -0.4702036380767822, 0.3312269449234009, -0.4516352117061615, 0.04236253350973129, 0.0013000589096918702, -0.3727918267250061, -1.068428874015808, -0.4096260666847229, -0.01482953317463398, -0.49269187450408936, 0.15626117587089539, -0.2770921587944031, 0.1406245231628418, 0.23702141642570496, -0.06000401824712753, 0.23355846107006073, 0.3610116243362427, -0.5326330661773682, 0.6278218626976013, 0.2606586813926697, -0.5259817838668823, -0.23421160876750946, -0.5223878026008606, -0.07596306502819061, -0.37180811166763306, -0.38956186175346375, -0.09540484100580215, 0.6115867495536804, -0.6303344964981079, -0.025706520304083824, -0.0912875086069107, -0.5774233341217041, 0.3197886049747467, 0.12048415094614029, 0.030475903302431107, -0.5905314683914185, 0.13591621816158295, -0.011714411899447441, -0.07578805834054947, -0.029776571318507195, -0.19719943404197693, 0.43168550729751587, -0.22653836011886597, -0.09501815587282181, -0.48470181226730347, 0.37020012736320496, 0.46703481674194336, -0.29313740134239197, 0.5601716637611389, 0.6304635405540466, -0.1864784210920334, -0.34580135345458984, -0.5938552618026733, -0.07935632020235062, -0.5094346404075623, 0.5321515202522278, -0.7156596183776855, -0.547286868095398, 0.7052325010299683, -0.16518262028694153, -0.28210216760635376, 0.4618079960346222, 0.20242148637771606, 0.008079900406301022, 0.7331305146217346, 0.6266266703605652, -0.16204625368118286, 0.7448136210441589, 0.2682335376739502, 0.04819667339324951, -0.3828746974468231, 0.0645136684179306, -0.7299684286117554, 0.07385382056236267, -0.5991787314414978, -0.11902855336666107, 0.44572779536247253, 0.07325072586536407, 0.07519789040088654, 0.25509974360466003, -0.11251747608184814, 0.6567643880844116, 0.45726919174194336, 0.1561516970396042, 0.1340503990650177, -0.20037372410297394, -0.13067154586315155, -0.1267104595899582, -0.22342701256275177, -0.46735289692878723, 0.7144164443016052, 0.15480326116085052, 0.6729361414909363, 0.5386520624160767, 0.5990400314331055, 0.3582572042942047, -0.032653626054525375, -1.008942723274231, 0.506506085395813, -0.22941534221172333, -0.5295959711074829, -0.44529229402542114, -0.5942866206169128, -0.6434845924377441, 0.5403181910514832, -0.3089344799518585, -0.6009796857833862, 0.34646305441856384, 0.07611232250928879, -0.20830129086971283, 0.16376233100891113, -0.9429114460945129, 0.9415131211280823, -0.3362312614917755, 0.09027544409036636, 0.0335552915930748, -0.7692670226097107, -0.10002120584249496, -0.2725326120853424, 0.5975853800773621, 0.08857033401727676, 0.078241728246212, 0.4240911304950714, -0.5799711346626282, 0.8602018356323242, -0.3283239006996155, 0.06228093430399895, 0.1244802251458168, 0.37904196977615356, 0.004218386951833963, -0.06476399302482605, -0.31555622816085815, 0.578080415725708, 0.3617171049118042, -0.5278151035308838, -0.7159504890441895, 0.06009748578071594, -0.8424978256225586, -0.7404285073280334, -0.3695317804813385, -0.35099244117736816, -0.39001885056495667, 0.4284226596355438, 0.27807292342185974, 0.7972177267074585, -0.5126326680183411, -0.24891261756420135, 0.39986929297447205, -0.12421288341283798, 0.4061543941497803, 0.47208142280578613, -0.15122757852077484, -0.3002467453479767, 1.1572917699813843, 0.12015610188245773, 0.6439172625541687, 0.4196643531322479, 0.5495687127113342, -0.13485465943813324, -0.9943376779556274, -0.5771619081497192, 0.10914970934391022, -0.636033833026886, 0.491561621427536, -0.13874496519565582, -0.3632661998271942, -0.60801762342453, -0.32849788665771484, -0.44590896368026733, -0.8260027170181274, -0.20706428587436676, 0.08747425675392151, -0.04287853464484215, 1.187387466430664, -0.17368043959140778, 0.5123119950294495, -1.0827598571777344, 0.037042923271656036, 0.35933852195739746, -0.17046700417995453, -0.00742625817656517, -0.6317864656448364, -0.13411659002304077, -0.17396362125873566, -0.020960064604878426, -1.1021496057510376, 0.5516037344932556, 0.6424187421798706, 0.6680924296379089, 0.9752184152603149, 0.08617375791072845, 0.7337656021118164, -0.3280940353870392, 0.8334530591964722, -0.07655283063650131, -1.456419587135315, 0.47822102904319763, -0.12932676076889038, 0.06741757690906525, 0.621465265750885, 0.30270108580589294, -0.674554705619812, -0.43518686294555664, -0.3155716359615326, -0.8218125104904175, 0.8134722709655762, 0.09258227795362473, 0.007013168651610613, -0.06049658730626106, 0.4460548162460327, 0.30369389057159424, 0.08433420211076736, -0.5305795073509216, 0.13121728599071503, -0.2113209217786789, -0.20677302777767181, -0.3347702622413635, -0.29389023780822754, 0.020507188513875008, -0.22880670428276062, 0.1915663778781891, -0.16691799461841583, -0.09157964587211609, 0.08742981404066086, -0.5989300012588501, 0.34485676884651184, 0.4370768666267395, 0.16912899911403656, 0.7854414582252502, -0.14961133897304535, 0.673831582069397, 0.2243436723947525, -0.5386959910392761, 0.007274278439581394, 0.00119216984603554, 0.040762364864349365, 0.19388309121131897, 0.7939773201942444, 0.5137493014335632, 0.060493964701890945, -0.69572913646698, 0.5338240265846252, 0.008789105340838432, 0.18559283018112183, -0.43387115001678467, 0.1691845953464508, -0.11772409826517105, 0.347173810005188, 0.08061530441045761, 0.18806175887584686, 0.44678422808647156, -0.7213897705078125, 0.11293918639421463, 0.26077792048454285, -0.7021692991256714, -0.5865710377693176, 0.24748358130455017, 0.23105672001838684, -0.09394019097089767, 0.45708948373794556, -0.4753277003765106, -0.7701573371887207, 0.8423572182655334, 0.33166682720184326, 0.6975792646408081, -0.2853643596172333, 0.27670034766197205, 0.030989162623882294, 0.10801825672388077, 0.11659567803144455, 0.03860848397016525, -0.36094173789024353, -1.0049834251403809, 0.1779244840145111, -0.5561978220939636, -0.5737207531929016, -0.3321433663368225, -1.2784940004348755, 0.309333473443985, -0.2956046462059021, 0.21802948415279388, 0.5592538714408875, -0.42405760288238525, -0.30401191115379333, 0.004517919383943081, 0.25598543882369995, 0.6742165088653564, -1.1006276607513428, 0.7980250716209412, 0.6877070665359497, -0.03024008497595787, -0.7220431566238403, 0.2670997381210327, 0.3957204818725586, -0.8449216485023499, 0.6831766366958618, 0.16484951972961426, -0.3370581567287445, -0.17289379239082336, -0.17138974368572235, -0.516507089138031, 0.31245630979537964, 0.11923205852508545, -0.2993803322315216, 0.07218526303768158, 0.502718985080719, 0.6622989773750305, -0.03843535855412483, 0.6574878692626953, 1.0440986156463623, 0.27657341957092285, 0.2011907994747162, -1.040902018547058, -0.11620587855577469, -0.350119024515152, 0.024533966556191444, 0.2733948528766632, -0.488237202167511, 0.9646404385566711, -0.047198984771966934, -0.12194962799549103, 0.1526164412498474, 0.4643789827823639, -0.31333547830581665, 0.35381680727005005, 0.6932469606399536, 0.27734723687171936, 0.8573459982872009, -0.21214640140533447, 0.46114349365234375, -0.20234251022338867, 0.44426167011260986, 1.0491890907287598, -0.24683965742588043, 0.8985387682914734, 0.09601152688264847, -0.3323170244693756, 0.39684584736824036, 0.7388294339179993, 0.40032362937927246, 0.6237830519676208, 0.03360174223780632, -0.6499442458152771, -0.5251103639602661, 0.10773007571697235, -0.3619323968887329, 0.8870657086372375, 0.6925824284553528, -0.16344504058361053, -0.12787485122680664, -0.13252639770507812, 0.22237591445446014, -0.08997388929128647, -0.36963796615600586, 0.9514248967170715, -0.11786860972642899, -0.4855632483959198, 0.664746880531311, -0.34146153926849365, 0.5827071666717529, -0.6124446392059326, -0.10020395368337631, -0.21553513407707214, 0.27828940749168396, -0.516135573387146, -0.7005284428596497, 0.5537050366401672, -0.10433387011289597, 0.04796156659722328, 0.09401531517505646, 0.515015721321106, -0.1562402993440628, -0.3608757555484772, 0.3515596389770508, 0.7976038455963135, 0.3496640920639038, -0.1766926646232605, -0.1139092668890953, -0.26443877816200256, 0.10203259438276291, -0.10831742733716965, 0.1115216538310051, 0.8105475902557373, -0.055312033742666245, 0.2538102865219116, 0.2190820276737213, 0.5167530179023743, 0.0729529857635498, 0.027875039726495743, 0.801500678062439, -1.077886700630188, -0.45031723380088806, -0.7892386317253113, 0.1788606345653534, 0.016552122309803963, -0.38349270820617676, 0.571544885635376, 0.13024668395519257, 0.8723589777946472, -0.10219013690948486, 0.9981616735458374, -0.4747747480869293, 0.5868726968765259, -0.5548270344734192, 0.7256858348846436, -0.6022981405258179, 0.40819403529167175, -0.19072431325912476, -0.6204153299331665, -0.233669713139534, 0.7620286345481873, -0.2676049470901489, -0.10438740253448486, 0.7053114175796509, 0.9488775134086609, 0.0325520783662796, 0.382673978805542, 0.31749850511550903, 0.34032899141311646, 0.3225403130054474, 0.20376868546009064, 1.2026211023330688, 0.3608097434043884, 0.300956666469574, -0.42697620391845703, -0.47597476840019226, -0.05228875204920769, -0.633133053779602, -0.9865260720252991, -0.4554991126060486, 0.09287437796592712, -0.3685985207557678, 0.032909002155065536, 0.9209755659103394, 0.7468767166137695, -1.2220863103866577, -0.28049954771995544, 0.09082301706075668, 0.35698094964027405, -0.6208154559135437, -0.3303879201412201, 0.21553988754749298, -0.5018782615661621, -0.789644181728363, 0.29540133476257324, 0.016332292929291725, -0.3345794081687927, -0.11985447257757187, 0.38408422470092773, 0.310585081577301, 0.2571428716182709, 0.49686768651008606, 0.37874534726142883, -0.698747456073761, -0.7447392344474792, -0.27311891317367554, 0.1214994415640831, 0.1663951724767685, 0.9306448698043823, -0.5051242113113403, 0.7554032802581787, 0.5904144048690796, 0.45035964250564575, 0.23596736788749695, -0.03494421765208244, 0.3099067509174347, -0.7300100326538086, 0.4741896688938141, 0.16899289190769196, 0.3858662545681, 0.11193139106035233, -0.26510050892829895, 0.5339559316635132, 0.499634712934494, -0.3100492060184479, -0.4089675545692444, 0.2976985275745392, -1.229621410369873, -0.22039806842803955, 1.079842448234558, -0.5977699756622314, -0.003161064349114895, -0.7461473345756531, -0.23086631298065186, -0.15008601546287537, -0.09624892473220825, 0.7596734166145325, 0.7397561073303223, -0.34547796845436096, -0.22946268320083618, -0.475873738527298, 0.4473738372325897, 0.21062307059764862, -0.6969967484474182, -0.02408272959291935, 0.375392884016037, 0.43891066312789917, 0.2582363188266754, 0.2853512763977051, -0.18391208350658417, 0.11941596865653992, 0.23317979276180267, -0.08491875976324081, 0.22241979837417603, -0.35248079895973206, -0.5763750076293945, 0.09869588166475296, 0.49701762199401855, 0.10187259316444397 ]
http://arxiv.org/abs/2402.17897v2
http://arxiv.org/pdf/2402.17897v2
A Language Model based Framework for New Concept Placement in Ontologies
2024-02-27T21:27:35
2024-03-04T14:06:42
Hang Dong, Jiaoyan Chen, Yuan He, Yongsheng Gao, Ian Horrocks
cs.CL
cs.CL, cs.IR, I.2.7; I.2.4
We investigate the task of inserting new concepts extracted from texts into an ontology using language models. We explore an approach with three steps: edge search which is to find a set of candidate locations to insert (i.e., subsumptions between concepts), edge formation and enrichment which leverages the ontological structure to produce and enhance the edge candidates, and edge selection which eventually locates the edge to be placed into. In all steps, we propose to leverage neural methods, where we apply embedding-based methods and contrastive learning with Pre-trained Language Models (PLMs) such as BERT for edge search, and adapt a BERT fine-tuning-based multi-label Edge-Cross-encoder, and Large Language Models (LLMs) such as GPT series, FLAN-T5, and Llama 2, for edge selection. We evaluate the methods on recent datasets created using the SNOMED CT ontology and the MedMentions entity linking benchmark. The best settings in our framework use fine-tuned PLM for search and a multi-label Cross-encoder for selection. Zero-shot prompting of LLMs is still not adequate for the task, and we propose explainable instruction tuning of LLMs for improved performance. Our study shows the advantages of PLMs and highlights the encouraging performance of LLMs that motivates future studies.
[ -0.42164185643196106, -0.8823781609535217, 0.7288405895233154, -0.28153613209724426, 0.0028270245529711246, 0.04741023853421211, -0.06232787296175957, -0.33888670802116394, 0.13384464383125305, 0.8573314547538757, -0.502776563167572, -0.7922679781913757, -0.47078490257263184, -0.04712036997079849, -0.3586452603340149, 0.8614475727081299, 0.09556348621845245, 0.012845726683735847, -0.0770854726433754, 0.08465565741062164, -0.264769583940506, -0.3477284610271454, -0.6354176998138428, -0.583171546459198, 0.32542097568511963, 0.311200886964798, 0.7499253749847412, 1.0399935245513916, 0.6551442742347717, 0.2668835520744324, -0.4780605137348175, 0.19964268803596497, -0.25281083583831787, 0.006524316500872374, -0.4905099868774414, -0.46600037813186646, -0.44231486320495605, -0.040391068905591965, 0.5685523748397827, 0.6631805300712585, -0.13995234668254852, -0.2708510756492615, -0.22207005321979523, 0.15521502494812012, -0.47224584221839905, -0.12950344383716583, -0.8122613430023193, 0.11847442388534546, -0.17507560551166534, -0.18612869083881378, -0.20254164934158325, -0.3892788290977478, 0.7008503079414368, -0.7234949469566345, 0.09511787444353104, -0.19231106340885162, 0.8983787298202515, 0.08928114175796509, -0.2742593288421631, -0.6772738695144653, -0.29013651609420776, 0.8449772000312805, -0.741085946559906, 0.4895559549331665, 0.07147234678268433, 0.06607446819543839, -0.11453292518854141, -0.9487278461456299, -0.6238086223602295, -0.12551207840442657, 0.20417755842208862, -0.0744747743010521, 0.21051251888275146, 0.17475344240665436, -0.13116106390953064, 0.2576688826084137, -0.24376581609249115, 0.5510225892066956, 0.0940946415066719, -0.049323949962854385, 0.5237293243408203, 0.11642832309007645, 0.42874497175216675, -0.24195744097232819, -0.4408092200756073, -0.23627208173274994, -0.8917192816734314, -0.29039332270622253, 0.23050527274608612, 0.7347974181175232, 0.08630625903606415, 0.530985951423645, -0.0969613641500473, 0.6975067257881165, -0.13478662073612213, -0.3984878659248352, 0.2812672257423401, -0.5347039699554443, 0.13223066926002502, 0.07064522802829742, 0.41723495721817017, 0.36588403582572937, 0.08417720347642899, -0.11073598265647888, -0.3439100384712219, 0.17946600914001465, 0.11397408694028854, -0.5379234552383423, -0.18629030883312225, 0.15288978815078735, -0.4382365942001343, -0.45098963379859924, -0.27741706371307373, -0.39720556139945984, -0.4041133224964142, -0.20375317335128784, 0.47613638639450073, -0.7649475932121277, -0.3676685094833374, 0.14279651641845703, -0.24949398636817932, 0.2539163827896118, 0.2882479429244995, -0.8773767352104187, 0.4071945548057556, 0.8109649419784546, 0.6829564571380615, -0.12773673236370087, -0.14425018429756165, -0.09814581274986267, 0.23947186768054962, -0.3718295097351074, 1.0586903095245361, -0.8138294816017151, -0.3587593734264374, 0.4109000861644745, -0.2727137804031372, 0.13532043993473053, -0.3603213131427765, 0.5738320350646973, -0.675723671913147, 0.16553346812725067, -0.26496613025665283, -0.8935078978538513, -0.3042627274990082, 0.3562001585960388, -0.4197320342063904, 1.0375115871429443, 0.06600986421108246, -0.7082116603851318, 0.1377418488264084, -1.0572209358215332, -0.380339652299881, 0.08573015034198761, -0.296487957239151, -0.05976749584078789, -0.06197762116789818, -0.06239404156804085, 0.42828133702278137, -0.3744943141937256, -0.07733103632926941, -0.017063982784748077, -0.14698275923728943, 0.3356829881668091, 0.039926134049892426, 0.7734547853469849, 0.34473371505737305, -0.03681883215904236, -0.06672132760286331, -0.534487247467041, 0.24399103224277496, 0.09442973881959915, -0.14113149046897888, -0.5661874413490295, 0.12092951685190201, -0.003026955993846059, 0.38726261258125305, 0.31343895196914673, -0.6850282549858093, 0.3631220757961273, -0.6065444350242615, 0.570299506187439, 0.5238232612609863, -0.13017906248569489, 0.5673326849937439, -0.17029894888401031, 0.3126896917819977, -0.022717365995049477, 0.04036194458603859, -0.2572675049304962, -0.27175089716911316, -0.6867760419845581, 0.17132370173931122, 0.561332643032074, 0.6195924878120422, -0.8529455065727234, 0.5845469832420349, -0.33575350046157837, -0.23973555862903595, -0.5327332019805908, 0.26153844594955444, 0.4092477858066559, 0.5419577956199646, 0.37340790033340454, -0.27622100710868835, -0.32222044467926025, -0.6579881906509399, 0.37820965051651, 0.09045585989952087, 0.10473031550645828, 0.18108929693698883, 0.28900930285453796, -0.38975989818573, 1.1402156352996826, -0.8553038239479065, -0.5003613233566284, -0.24062596261501312, 0.047718510031700134, -0.012445544824004173, 0.4037727415561676, 0.19214773178100586, -1.0478242635726929, -0.20264966785907745, 0.1159868910908699, -0.6785913109779358, -0.11811472475528717, 0.3009646236896515, -0.03506152331829071, 0.12690337002277374, 0.62689608335495, -0.4337027072906494, 0.205022394657135, 0.48045048117637634, -0.0370652973651886, 0.23420779407024384, -0.235158309340477, -0.3085848093032837, -1.4759087562561035, -0.21825610101222992, -0.03129768744111061, 0.1451708972454071, -0.6867572069168091, 0.2539600729942322, -0.15080809593200684, 0.019316300749778748, -0.6793823838233948, 0.6350780129432678, -0.3981104791164398, -0.10538601875305176, -0.4689598083496094, 0.8082476854324341, 0.19023343920707703, 0.09989974647760391, 0.38578733801841736, 0.25550606846809387, 0.578734815120697, -0.8982272148132324, 0.199720099568367, 0.8360224366188049, -0.39376184344291687, 0.4749547839164734, -0.4362264573574066, 0.036869388073682785, 0.06914142519235611, 0.19985082745552063, -0.7856062650680542, 0.28209614753723145, 0.06346756964921951, -0.3191261887550354, 0.1803482472896576, -0.1825741082429886, -0.4767661392688751, -0.09774602949619293, -0.14989015460014343, 0.17005106806755066, 0.4475756287574768, -0.5223086476325989, 0.4593431055545807, 0.6615853905677795, -0.41766226291656494, -0.5364174246788025, -0.7564904689788818, 0.020594069734215736, 0.08323079347610474, -0.7323082089424133, 0.922389805316925, 0.20607921481132507, -0.2364496886730194, 0.31706422567367554, 0.14315545558929443, -0.04343447834253311, 0.13832497596740723, -0.04607580602169037, 0.09028863161802292, -0.32612308859825134, 0.6609426736831665, 0.15958981215953827, -0.2597309648990631, -0.160262331366539, -0.6311937570571899, 0.5748122930526733, 0.138137087225914, -0.18729422986507416, -0.14135096967220306, 0.3355587422847748, -0.13399361073970795, -0.5042914152145386, 0.4933891296386719, 0.3951658308506012, -0.4048635959625244, -0.3150699734687805, -0.6123613715171814, -0.3570849895477295, -0.4684096872806549, 0.5090171098709106, -0.49021056294441223, -0.9537291526794434, 0.40731504559516907, -0.3979531228542328, 0.27511948347091675, 0.37032005190849304, 0.3284425735473633, -0.17215490341186523, 1.0540353059768677, 0.9756596684455872, 0.446841835975647, 0.5911972522735596, -0.5371608734130859, 0.3185337781906128, -0.9391419291496277, -0.15860161185264587, -0.4629453420639038, -0.04751453921198845, -0.9461196064949036, -0.6240599155426025, 0.1630876660346985, 0.1076062023639679, 0.1368485987186432, 0.08986347913742065, -0.483977347612381, 0.25284966826438904, 0.39444059133529663, -0.11565949767827988, 0.3801285922527313, -0.02769876830279827, -0.5145640969276428, 0.11596529930830002, -0.8942373394966125, -0.708385705947876, 1.0807054042816162, 0.39162641763687134, 0.8273459076881409, 0.06515072286128998, 0.7437799572944641, -0.10683896392583847, 0.2714097201824188, -0.5803308486938477, 0.6015123724937439, -0.6314132213592529, -0.5520938038825989, -0.6900597810745239, -0.1828380972146988, -0.9300746917724609, 0.054534733295440674, -0.43803292512893677, -0.767299473285675, 0.04051833972334862, -0.011410211212933064, -0.5366246104240417, 0.39570242166519165, -0.32088702917099, 0.6055171489715576, -0.3797050714492798, -0.20006178319454193, -0.19088634848594666, -0.7393582463264465, -0.005059551913291216, 0.03496653959155083, 0.0693657174706459, -0.26344677805900574, -0.21091490983963013, 0.5201286673545837, -0.38429030776023865, 0.6533468961715698, -0.03290931135416031, -0.5289580821990967, 0.3491685390472412, -0.17859748005867004, 0.41128942370414734, -0.15617415308952332, -0.38861191272735596, 0.05375991016626358, -0.12022370845079422, -0.12849530577659607, -0.7463751435279846, 0.7982986569404602, -0.6334303617477417, -0.6532307267189026, -0.058134034276008606, -0.5658139586448669, -0.09835661202669144, 0.13174575567245483, 0.388962060213089, 0.40616047382354736, -0.18582652509212494, 0.002118511125445366, 1.0183497667312622, -0.36696329712867737, 0.3869534432888031, 0.5769065618515015, -0.3898148238658905, -0.17442023754119873, 1.0429085493087769, 0.48045897483825684, 0.2983255684375763, 0.7729683518409729, 0.3304346203804016, -0.6733980774879456, -0.6867080330848694, -0.18188446760177612, 0.09103097766637802, -0.8197824954986572, -0.16367031633853912, -1.0074951648712158, -0.5227991342544556, -0.6747373342514038, -0.2725328505039215, -0.5202068090438843, -0.37745019793510437, -0.025582384318113327, -0.1589951068162918, 0.5451456904411316, 0.7047035694122314, -0.052865710109472275, 0.6467222571372986, -0.8309747576713562, -0.05771153047680855, 0.1835087388753891, 0.42832106351852417, -0.06990903615951538, -0.5190512537956238, -0.3116969168186188, 0.017613966017961502, -0.4025038778781891, -0.46811267733573914, 0.19862721860408783, 0.07391265779733658, 0.7346617579460144, 0.5264975428581238, -0.03551192954182625, 0.26904532313346863, -0.44105204939842224, 0.47344839572906494, 0.11203103512525558, -0.9952359795570374, 0.7537599205970764, -0.33932244777679443, 0.15482759475708008, 0.506377637386322, 0.5321733355522156, -0.6451290845870972, -0.1280795782804489, -0.6358910202980042, -0.6863811016082764, 0.45898935198783875, 0.03779991343617439, 0.30413153767585754, -0.05100689455866814, 0.47595688700675964, 0.1662183552980423, 0.14347371459007263, -0.7508838176727295, -0.21569058299064636, -0.055793292820453644, -0.25733682513237, 0.11557426303625107, -0.2291666716337204, -0.07062380760908127, 0.14970368146896362, 0.6151605248451233, -0.32173559069633484, 0.14725792407989502, 0.08350051939487457, -0.14643338322639465, 0.2384696751832962, 0.1351500302553177, 0.3433741629123688, 0.6948011517524719, -0.08775938302278519, 0.09531433135271072, 0.2539407014846802, -0.05099093168973923, 0.16948910057544708, 0.28632235527038574, -0.36764776706695557, -0.0003763860440813005, 0.23209154605865479, 0.7141281366348267, 0.2463843822479248, -0.6140121221542358, 0.38181811571121216, 0.22286835312843323, -0.17569398880004883, -0.22171750664710999, 0.04448717460036278, 0.24208274483680725, 0.21197931468486786, 0.15067532658576965, -0.46834248304367065, 0.17537131905555725, -0.4920822083950043, 0.31651070713996887, 0.37895750999450684, -0.4043421745300293, -0.19825784862041473, 0.1939462125301361, 0.4531576633453369, -0.44426238536834717, 0.7141085267066956, -0.36188048124313354, -0.6748498678207397, 0.32916128635406494, 0.5485684275627136, 0.5983565449714661, -0.5402081608772278, 0.4635217785835266, -0.028607018291950226, 0.11453821510076523, -0.10899903625249863, 0.48562759160995483, 0.28936585783958435, -1.4074058532714844, -0.4859757125377655, -0.5584514737129211, -0.43793782591819763, -0.031861793249845505, -0.34087666869163513, 0.4703507125377655, -0.3125498592853546, -0.3702647387981415, 0.03285370394587517, 0.15376663208007812, -0.5671230554580688, 0.40737229585647583, 0.29050546884536743, 1.0259615182876587, -0.9104112982749939, 0.8994696140289307, 0.8199759125709534, -0.4821920692920685, -0.5775771737098694, -0.016833648085594177, -0.12488166987895966, -0.6220045685768127, 0.6913797855377197, -0.006466403137892485, -0.10024365037679672, 0.2064255326986313, -0.28092828392982483, -1.1908754110336304, 0.9948962330818176, 0.1090380996465683, -0.24524874985218048, -0.31311529874801636, 0.11629480868577957, 0.6531380414962769, -0.7634507417678833, 0.30156853795051575, 0.39407289028167725, 0.3324766755104065, 0.1923423409461975, -0.4227060377597809, -0.055406928062438965, -0.04882356524467468, 0.39677074551582336, 0.25094103813171387, -0.564117431640625, 1.1151511669158936, -0.22988052666187286, -0.09288542717695236, 0.15873999893665314, 0.46107396483421326, 0.26982492208480835, 0.0025086975656449795, 0.5054874420166016, 0.8290952444076538, 0.6335905194282532, -0.004589438438415527, 0.930940568447113, -0.4153911769390106, 0.048574917018413544, 1.1165357828140259, -0.619123637676239, 0.9806771874427795, 0.4026011526584625, 0.09786460548639297, 0.7947334051132202, 0.7604079842567444, 0.03429071232676506, 0.7543578147888184, 0.4836357533931732, -0.11803390830755234, -0.15440988540649414, -0.7774487137794495, -0.4536983370780945, 0.6805829405784607, 0.7482808232307434, -0.4405275881290436, -0.17172661423683167, 0.14605717360973358, -0.13817864656448364, 0.16480813920497894, -0.1483745276927948, 0.8646882176399231, 0.2263297587633133, -0.5178530812263489, 0.1404161900281906, 0.25671955943107605, 0.6489740014076233, -0.6965977549552917, -0.21947814524173737, -0.15119174122810364, 0.09012337774038315, -0.1774909645318985, -0.7334982752799988, 0.01846746727824211, -0.40964773297309875, -0.09039746969938278, -0.2527986168861389, 0.7812085747718811, -0.4634413719177246, -0.5709524750709534, 0.6510356068611145, 0.656364917755127, 0.051572974771261215, 0.3455730080604553, -0.6609549522399902, 0.02599543146789074, -0.22531920671463013, -0.07930681854486465, 0.21838465332984924, 0.6372203826904297, -0.20475877821445465, 0.7380626201629639, 0.6979004144668579, 0.10141948610544205, -0.184414803981781, 0.20377469062805176, 0.8461127877235413, -0.7514387369155884, -0.788320004940033, -0.5751082301139832, 0.3204113841056824, -0.10420374572277069, -0.5266245603561401, 0.4609064757823944, 0.3721114695072174, 0.9395615458488464, 0.41434192657470703, 0.8716447949409485, 0.030663147568702698, 0.6071484088897705, -0.8191980719566345, 0.49702131748199463, -0.525780439376831, 0.3785209059715271, -0.42101940512657166, -0.9598144292831421, -0.12471926212310791, 0.5989943146705627, -0.2985796630382538, -0.003826512023806572, 0.6551922559738159, 1.0328137874603271, 0.17229513823986053, 0.043207671493291855, 0.28384220600128174, 0.04578543081879616, 0.07518824934959412, 0.2835013270378113, 0.9122442603111267, -0.3422309458255768, 0.5592281818389893, -0.13957548141479492, -0.1522379219532013, -0.3264910876750946, -0.8986280560493469, -0.5427902340888977, -0.49845656752586365, -0.424742728471756, -0.07794984430074692, 0.21552126109600067, 1.04583740234375, 0.792453408241272, -0.7544214129447937, -0.3995441198348999, -0.04604239761829376, 0.391930490732193, -0.12236671149730682, -0.1619003266096115, 0.31817004084587097, -0.44046667218208313, -0.7577436566352844, 0.39869990944862366, 0.2823966145515442, 0.19816778600215912, -0.38881415128707886, -0.10589834302663803, -0.6741396188735962, -0.04084177315235138, 0.5965282320976257, -0.09797168523073196, -0.8208935260772705, -0.3277474641799927, 0.06226874142885208, -0.26646316051483154, 0.10509850829839706, 0.6627138257026672, -0.5223889946937561, 0.3354521691799164, 0.49451944231987, 0.9426272511482239, 0.2626553475856781, -0.15700624883174896, 0.8280554413795471, -0.7116572260856628, -0.019388895481824875, 0.21755863726139069, 0.1689477562904358, 0.49230632185935974, -0.09365705400705338, 0.6969999670982361, -0.012916715815663338, -0.09049200266599655, -0.7728845477104187, 0.25316211581230164, -0.4729992747306824, -0.5547416806221008, 1.0449942350387573, -0.1055595874786377, 0.04157533869147301, -0.2439539134502411, 0.03786604106426239, 0.3730473220348358, -0.09655369073152542, 0.5915994048118591, 0.5859016180038452, -0.3373206555843353, -0.04568387195467949, -0.2395561784505844, 0.5525947213172913, 0.5424659252166748, -0.684583306312561, -0.2874460220336914, 0.08226161450147629, 0.24552324414253235, 0.7188746929168701, 0.452729195356369, -0.09979413449764252, 0.014012759551405907, 0.055277708917856216, 0.6434950232505798, 0.08205052465200424, -0.14923754334449768, -0.24631719291210175, 0.06947600096464157, 0.042925529181957245, -0.14002403616905212 ]
http://arxiv.org/abs/2402.17896v1
http://arxiv.org/pdf/2402.17896v1
Researchy Questions: A Dataset of Multi-Perspective, Decompositional Questions for LLM Web Agents
2024-02-27T21:27:16
2024-02-27T21:27:16
Corby Rosset, Ho-Lam Chung, Guanghui Qin, Ethan C. Chau, Zhuo Feng, Ahmed Awadallah, Jennifer Neville, Nikhil Rao
cs.CL
cs.CL, cs.AI
Existing question answering (QA) datasets are no longer challenging to most powerful Large Language Models (LLMs). Traditional QA benchmarks like TriviaQA, NaturalQuestions, ELI5 and HotpotQA mainly study ``known unknowns'' with clear indications of both what information is missing, and how to find it to answer the question. Hence, good performance on these benchmarks provides a false sense of security. A yet unmet need of the NLP community is a bank of non-factoid, multi-perspective questions involving a great deal of unclear information needs, i.e. ``unknown uknowns''. We claim we can find such questions in search engine logs, which is surprising because most question-intent queries are indeed factoid. We present Researchy Questions, a dataset of search engine queries tediously filtered to be non-factoid, ``decompositional'' and multi-perspective. We show that users spend a lot of ``effort'' on these questions in terms of signals like clicks and session length, and that they are also challenging for GPT-4. We also show that ``slow thinking'' answering techniques, like decomposition into sub-questions shows benefit over answering directly. We release $\sim$ 100k Researchy Questions, along with the Clueweb22 URLs that were clicked.
[ -0.6637935042381287, -0.8821631073951721, 0.7099366784095764, -0.07720290869474411, -0.07044100016355515, 0.091681107878685, 0.08369548618793488, -0.5728252530097961, 0.37833526730537415, 0.3343997299671173, -0.8790174126625061, -0.26042088866233826, -0.07758232951164246, 0.21730314195156097, -0.35060128569602966, 0.930152416229248, 0.053796570748090744, -0.17316417396068573, -0.3392105996608734, -0.1233230009675026, 0.10786884278059006, -0.44960400462150574, -0.7816720008850098, 0.0945228561758995, 0.9722354412078857, 0.06178447604179382, 0.6104981899261475, 0.5676842927932739, 0.6733028292655945, 0.24455063045024872, -0.08555679768323898, 0.22508782148361206, -0.5107748508453369, 0.2613874673843384, -0.2292427271604538, -0.744212806224823, -0.13966502249240875, 0.2748759090900421, 0.19347409904003143, 0.7836385369300842, -0.19491419196128845, 0.3148340582847595, -0.13252845406532288, 0.5423948764801025, -0.7592852711677551, 0.0007122937822714448, -0.595714271068573, -0.06683851033449173, -0.00860906857997179, -0.30775371193885803, -0.11859363317489624, -0.5098440647125244, 0.34137162566185, -0.7284656763076782, 0.5506316423416138, 0.07846822589635849, 0.8186866641044617, 0.2831943929195404, -0.49926379323005676, -0.4100249409675598, -0.7105213403701782, 0.7882792353630066, -0.5378353595733643, 0.24321898818016052, 0.4302295744419098, 0.17942850291728973, -0.2501111328601837, -0.5673704743385315, -0.35329508781433105, 0.09656360000371933, -0.08077727258205414, 0.09695974737405777, -0.2317970097064972, -0.05467939376831055, 0.18740931153297424, 0.3571951687335968, -0.8233634829521179, -0.17180387675762177, -0.24680718779563904, -0.23115479946136475, 0.6180475354194641, 0.2331971675157547, 0.3836948573589325, -0.044667404145002365, -0.24796150624752045, -0.1728925108909607, -0.5287192463874817, 0.06772609800100327, 0.4101925194263458, -0.008885516785085201, 0.2529691159725189, 0.4757494032382965, -0.21577195823192596, 0.5960337519645691, -0.043706152588129044, -0.21636836230754852, 0.13022363185882568, -0.626591145992279, 0.05667053908109665, -0.4807918071746826, 0.502210259437561, 0.3073740303516388, 0.05135369300842285, -0.43773460388183594, -0.042039673775434494, -0.0781746581196785, 0.4379546344280243, -0.6504549980163574, -0.21603985130786896, 0.6723049283027649, -0.2656109929084778, -0.03711400181055069, -0.11569872498512268, -0.5511427521705627, -0.2456924021244049, -0.023882241919636726, 0.34055742621421814, -0.3233564496040344, -0.5190802812576294, 0.06157999858260155, -0.5188159346580505, 0.7757741212844849, 0.4258267879486084, -0.6284670233726501, 0.2195902317762375, 0.5605009198188782, 0.506131112575531, -0.22400951385498047, -0.24053099751472473, -0.10536836087703705, -0.01996559649705887, -0.45681115984916687, 0.8090519905090332, -0.44590288400650024, -0.17661358416080475, 0.12436718493700027, 0.07355084270238876, -0.32143399119377136, -0.6193017363548279, 0.40732043981552124, -1.0433722734451294, 0.5427286624908447, -0.525981605052948, -0.44465672969818115, -0.1640165001153946, 0.7478957772254944, -0.785575270652771, 0.8837075233459473, -0.09703045338392258, -0.9835596680641174, 0.10823678225278854, -0.6491303443908691, -0.12302222102880478, 0.011207075789570808, -0.047017455101013184, 0.16589613258838654, 0.061706945300102234, 0.33263450860977173, 0.2959408760070801, -0.3466449975967407, 0.12753891944885254, -0.4056343734264374, 0.03473413735628128, 0.6106318235397339, -0.4366532564163208, 0.6306055188179016, 0.26665744185447693, -0.1250206083059311, -0.24605031311511993, -0.8871105909347534, 0.3882753849029541, 0.1925548017024994, -0.34602615237236023, -0.5574179887771606, -0.23288001120090485, -0.15159349143505096, 0.15460333228111267, 0.4124022126197815, -0.490579217672348, 0.07232342660427094, -0.45864322781562805, 0.3334508538246155, 0.5602505207061768, 0.2688840329647064, 0.17801257967948914, -0.33632558584213257, 0.8933594822883606, -0.12019960582256317, 0.3310815393924713, 0.19942550361156464, -0.5511835217475891, -0.7598642110824585, 0.05502841994166374, 0.1369718611240387, 0.389676034450531, -0.8386602997779846, -0.2551215887069702, 0.08391023427248001, -0.4283595383167267, -0.7404510974884033, -0.02604271098971367, 0.3063373863697052, 0.4449112117290497, 0.33750560879707336, 0.07801160961389542, -0.19564507901668549, -1.1494816541671753, -0.46499553322792053, -0.12314125895500183, -0.2834785282611847, 0.40561237931251526, 0.4635697603225708, 0.1391860395669937, 0.685846209526062, -0.5848963260650635, 0.12639494240283966, -0.059502679854631424, 0.17021889984607697, 0.15088891983032227, -0.02409636229276657, 0.16830426454544067, -1.1562684774398804, -0.23806385695934296, -0.4275538921356201, -0.7857380509376526, 0.169916570186615, 0.12497424334287643, -0.08771472424268723, -0.1453419029712677, 0.29944100975990295, -1.0425459146499634, 0.1665068119764328, 0.3904059827327728, -0.06031769514083862, 0.42246198654174805, -0.13824151456356049, 0.047026026993989944, -0.9284190535545349, 0.17540857195854187, -0.03071437031030655, -0.005113800521939993, -0.7329737544059753, 0.4336791932582855, -0.009201710112392902, -0.03959427773952484, -0.5760108232498169, 0.4136243462562561, -0.5857506394386292, -0.06602112203836441, -0.20853163301944733, 0.3602474629878998, 0.09799762815237045, 0.5277143716812134, -0.12176261097192764, 0.9592273235321045, 0.48671698570251465, -0.7662515640258789, 0.2229902297258377, 0.1483280211687088, 0.014088652096688747, 0.22012068331241608, -0.46256154775619507, 0.5072711110115051, -0.20465542376041412, 0.10049106180667877, -1.089511752128601, -0.30054420232772827, 0.15182580053806305, -0.5040058493614197, -0.07397894561290741, -0.18781882524490356, -0.4012453556060791, -0.24753324687480927, -0.6357396245002747, 0.6135934591293335, 0.2298659235239029, -0.42206043004989624, 0.6245196461677551, 0.5412943363189697, -0.11274966597557068, -0.9809538722038269, -0.40712544322013855, 0.07252492755651474, -0.2928577661514282, -0.6590742468833923, 0.13092337548732758, -0.25002700090408325, -0.4690345525741577, 0.3712526857852936, -0.1613067239522934, -0.21451781690120697, 0.16001594066619873, 0.04672965779900551, 0.19376613199710846, -0.1794721782207489, 0.006238746922463179, -0.4434816539287567, -0.01616596058011055, 0.4839423894882202, -0.16767266392707825, 0.5250859260559082, 0.01942375861108303, -0.2502809762954712, -0.14382174611091614, 0.3839481770992279, 0.2933388948440552, -0.221002459526062, 0.4069240093231201, 0.6014562249183655, -0.27365079522132874, -0.3019137382507324, -0.7137550115585327, -0.14391925930976868, -0.4196774959564209, 0.023637477308511734, -0.42892029881477356, -1.129722237586975, 0.6737409830093384, -0.045818526297807693, 0.18131715059280396, 0.5324366092681885, 0.5323309898376465, -0.3008463680744171, 0.939498245716095, 0.441114604473114, 0.036263223737478256, 0.02014726586639881, -0.32090070843696594, 0.20043621957302094, -0.6673780083656311, -0.3678117096424103, -0.6048486828804016, -0.24488089978694916, -0.8366760611534119, -0.6278990507125854, 0.43872687220573425, -0.2085506170988083, 0.3008361756801605, -0.07852496206760406, -0.3286568820476532, 0.4821546673774719, 0.8356521129608154, 0.06565168499946594, 0.17406423389911652, -0.30653125047683716, 0.2065868079662323, 0.1514711230993271, -0.573784589767456, -0.3668668866157532, 1.400124192237854, 0.08389051258563995, 0.9322826862335205, 0.15458622574806213, 0.744199275970459, 0.10424242913722992, -0.17321796715259552, -0.7409265637397766, 0.5786054730415344, 0.4600837528705597, -1.1289162635803223, -0.4699598252773285, -0.445214182138443, -1.1739068031311035, 0.4742736220359802, 0.1860365867614746, -0.6505561470985413, 0.21141164004802704, 0.03358519822359085, -0.4456888437271118, 0.23217549920082092, -0.6270244717597961, 0.4915233552455902, -0.13762791454792023, -0.5656203627586365, -0.23201696574687958, -0.7836942076683044, 0.3827667832374573, 0.18622498214244843, 0.2072131633758545, -0.19328923523426056, -0.1510525494813919, 0.9822980165481567, -0.3849107623100281, 0.6163925528526306, -0.2916375994682312, -0.07060936093330383, 0.5346624255180359, 0.01290587056428194, 0.4461904466152191, 0.2541294991970062, 0.2827267348766327, -0.2054605484008789, 0.31899359822273254, -0.5244101285934448, -0.6221136450767517, 0.6449690461158752, -0.8152984976768494, -0.8902689218521118, -0.5801234841346741, -0.5700070261955261, -0.543775737285614, 0.03347148001194, -0.08739880472421646, 0.16736607253551483, -0.19025903940200806, 0.06507762521505356, 1.1956957578659058, -0.17320206761360168, 0.3658250570297241, 0.5069639682769775, -0.14573907852172852, -0.14348608255386353, 0.5991625189781189, -0.03688311576843262, 0.024910682812333107, 0.5802360773086548, 0.09063897281885147, -0.55074143409729, -0.7248952388763428, -0.3285973370075226, 0.4669341444969177, -0.5988740921020508, -0.004609364550560713, -0.8577703833580017, -0.16773878037929535, -0.36458131670951843, 0.2787112891674042, -0.3228231370449066, -0.5262147784233093, -0.21388322114944458, -0.27781325578689575, 0.1277269721031189, 0.6831310391426086, -0.15369801223278046, -0.17834043502807617, -0.3717156946659088, 0.8443989157676697, 0.714322030544281, 0.10491921007633209, -0.1504007875919342, -0.23836275935173035, -0.09775621443986893, -0.23334580659866333, -0.06205298379063606, -0.8470902442932129, 0.21139143407344818, -0.13196292519569397, 0.5778080224990845, 0.284803569316864, 0.27602696418762207, 0.5154366493225098, -0.2095918506383896, 0.6446273922920227, -0.15306662023067474, -0.2649455964565277, 0.4531647562980652, -0.42887091636657715, 0.09623336046934128, 0.8208311200141907, 0.9511275291442871, -0.4167231321334839, -0.4067431092262268, -0.6118674874305725, -0.8970690965652466, 0.83311527967453, 0.13037815690040588, 0.10885835438966751, 0.19429922103881836, 0.4731542766094208, 0.18770931661128998, 0.265489399433136, -0.6407107710838318, -0.5406153202056885, -0.07552118599414825, 0.23202712833881378, 0.15582944452762604, -0.49817439913749695, -0.49277567863464355, -0.06849846988916397, 0.5333390831947327, -0.18970099091529846, 0.277506023645401, 0.22584117949008942, -0.07347643375396729, 0.007992960512638092, 0.5354535579681396, 0.14347463846206665, 1.0718380212783813, -0.701647162437439, 0.2653111517429352, -0.13557696342468262, -0.36337578296661377, 0.28033584356307983, 0.14705023169517517, -0.28000378608703613, -0.19693981111049652, 0.24726594984531403, 0.3458655774593353, -0.15668796002864838, -0.6278817653656006, 0.4976924955844879, -0.5348036289215088, -0.4699787497520447, -0.5286924839019775, 0.15267926454544067, 0.4603062868118286, 0.2377900332212448, 0.6280711889266968, -0.3024007976055145, 0.35568302869796753, -0.714556097984314, 0.05205680802464485, 0.5733503699302673, -0.22905582189559937, -0.42545849084854126, 0.5755760669708252, 0.0505361407995224, -0.27546608448028564, 0.5464356541633606, -0.2495371401309967, -0.29850926995277405, 0.4692642390727997, 0.3388259708881378, 0.747519850730896, 0.03240911662578583, 0.5788030624389648, 0.15518303215503693, 0.4796777665615082, 0.1881047785282135, 0.7672609090805054, 0.10823676735162735, -0.7546504735946655, -0.2796383500099182, -0.5073962211608887, -0.7337250113487244, 0.700907826423645, -0.7441048622131348, -0.22786162793636322, -0.5479873418807983, -0.06232175976037979, 0.22140301764011383, 0.14521990716457367, -0.9370718598365784, 0.3528699576854706, -0.04840634763240814, 0.8083909153938293, -0.5555906295776367, 0.6238093376159668, 0.7445385456085205, -0.5678806304931641, -0.8129493594169617, 0.11361497640609741, -0.09616635739803314, -0.9230318665504456, 0.4156796932220459, 0.11351828277111053, -0.12382010370492935, -0.06269707530736923, -0.7625577449798584, -1.0467276573181152, 0.9203799366950989, 0.21136899292469025, -0.23500694334506989, -0.4452059864997864, 0.34446388483047485, 0.6506707072257996, 0.015431457199156284, 0.5041260123252869, 0.3534996807575226, 0.5689648985862732, -0.0181867778301239, -0.5903989672660828, 0.08246742188930511, -0.40396779775619507, -0.3991740345954895, 0.004180150106549263, -0.8135231137275696, 1.0286424160003662, -0.06891915202140808, -0.279867947101593, -0.29711148142814636, 0.272698312997818, 0.05923555791378021, 0.5832847952842712, 0.4358076751232147, 0.5373270511627197, 0.7951382994651794, 0.06635811179876328, 1.0032744407653809, -0.27632611989974976, 0.13464514911174774, 0.8625388145446777, -0.1379617601633072, 0.6511701345443726, 0.7146235108375549, -0.454653799533844, 0.351142019033432, 0.7792876958847046, 0.23447798192501068, 0.5227976441383362, 0.27745288610458374, -0.1022190973162651, -0.39577072858810425, -0.21067281067371368, -0.33232519030570984, 0.43177029490470886, 0.25991976261138916, 0.05915815010666847, -0.3215233087539673, -0.28661400079727173, 0.11845569312572479, -0.10776731371879578, 0.11376368999481201, 0.9542012810707092, 0.03432512283325195, -0.6902281641960144, 0.5048370361328125, 0.010637159459292889, 0.5838952660560608, -0.8630948662757874, 0.15184500813484192, -0.7305485010147095, -0.041345156729221344, -0.08320735394954681, -0.6216665506362915, -0.021700190380215645, -0.17143738269805908, -0.24210327863693237, -0.05712013319134712, 0.7647802829742432, -0.1617235243320465, -0.24971480667591095, 0.40573686361312866, 1.1663784980773926, 0.4010581374168396, -0.4126676023006439, -0.860028862953186, -0.3669706881046295, -0.07475514709949493, -0.5419507622718811, 0.5469526648521423, 0.6237270832061768, 0.022771338000893593, 0.9941686391830444, 0.627899169921875, 0.0003912246902473271, 0.33587977290153503, -0.042807042598724365, 1.0322723388671875, -0.821863055229187, -0.25433817505836487, -0.5082318782806396, 0.058599360287189484, -0.02152111381292343, -0.37838277220726013, 1.0434976816177368, 0.7031891345977783, 0.9740917682647705, 0.17716248333454132, 0.9535903930664062, -0.061525095254182816, 0.7377008199691772, -0.5073272585868835, 0.3841637969017029, -0.7908958196640015, 0.05533383786678314, 0.025002434849739075, -0.812743604183197, 0.013409765437245369, 0.027429286390542984, -0.11437752097845078, -0.05604882538318634, 0.9071739912033081, 0.8569207787513733, -0.0623774528503418, 0.17552678287029266, 0.3260539174079895, -0.03133781999349594, 0.36813974380493164, 0.5312626957893372, 1.2828941345214844, -0.3511022627353668, 0.8697574138641357, -0.39980748295783997, 0.027231495827436447, -0.1435737907886505, -0.36339905858039856, -0.9010669589042664, -0.5018054842948914, -0.2569573223590851, -0.16746214032173157, 0.0980176106095314, 0.6308659911155701, 0.48930075764656067, -0.783150315284729, -0.17699244618415833, 0.2951171398162842, 0.30954262614250183, -0.1027076467871666, -0.21748843789100647, 0.4784867465496063, -0.405565083026886, -0.5889196991920471, 0.567655086517334, 0.12450709939002991, -0.2329791933298111, -0.5798330307006836, 0.28137072920799255, -0.6326816082000732, 0.10415011644363403, 0.2328120470046997, 0.25006017088890076, -0.5867885947227478, -0.17295290529727936, 0.38161441683769226, 0.07500975579023361, 0.1556948870420456, 0.9614894986152649, -0.582155168056488, 0.21562425792217255, 0.4335172474384308, 0.8650928139686584, 0.7509079575538635, 0.19593007862567902, 0.18626460433006287, -0.6769933104515076, -0.12869183719158173, 0.4347456097602844, 0.02207898162305355, 0.21376723051071167, -0.33115437626838684, 0.677313506603241, 0.3003246784210205, -0.44159287214279175, -0.6440380811691284, 0.07994326949119568, -0.8066242933273315, -0.518183708190918, 1.1002378463745117, -0.1504954993724823, -0.43861672282218933, -0.41230422258377075, 0.11347585916519165, -0.08287106454372406, -0.4311448335647583, 0.8473933339118958, 0.7903608679771423, -0.5078938007354736, -0.15339501202106476, -0.7909822463989258, 0.6733856201171875, 0.4027683734893799, -0.9197431206703186, 0.10848578065633774, 0.6509000062942505, 0.3991307020187378, 0.3456917703151703, 0.8902969360351562, -0.06345149874687195, 0.006138897966593504, 0.1354874074459076, -0.06439091265201569, 0.12419898808002472, -0.2989788055419922, -0.012990128248929977, 0.7815897464752197, 0.2607935667037964, -0.3532394766807556 ]
http://arxiv.org/abs/2402.17887v4
http://arxiv.org/pdf/2402.17887v4
JMLR: Joint Medical LLM and Retrieval Training for Enhancing Reasoning and Professional Question Answering Capability
2024-02-27T21:01:41
2024-06-28T13:23:31
Junda Wang, Zhichao Yang, Zonghai Yao, Hong Yu
cs.CL
cs.CL, cs.IR
Large Language Models (LLMs) have demonstrated a remarkable potential in medical knowledge acquisition and question-answering. However, LLMs can potentially hallucinate and yield factually incorrect outcomes, even with domain-specific pretraining. Previously, retrieval augmented generation (RAG) has limited success in addressing hallucinations. Unlike previous methods in RAG where the retrieval model was trained separately from the LLM, we introduce JMLR (for Jointly trains LLM and information Retrieval) during the fine-tuning phase. The synchronized training mechanism enhances JMLR's ability to retrieve clinical guidelines and leverage medical knowledge to reason and answer questions and reduces the demand for computational resources. We evaluated JMLR on the important medical question-answering application. Our experimental results demonstrate that JMLR-13B (70.5%) outperforms a previous state-of-the-art open-source model using conventional pre-training and fine-tuning Meditron-70B (68.9%) and Llama2-13B with RAG (67.7%) on a medical question-answering dataset. Comprehensive evaluations reveal JMLR-13B enhances reasoning quality and reduces hallucinations better than Claude3-Opus. Additionally, JMLR-13B (148 GPU hours) also trains much faster than Meditron-70B (42630 GPU hours). Through this work, we provide a new and efficient knowledge enhancement method for healthcare, demonstrating the potential of integrating retrieval and LLM training for medical question-answering systems.
[ -0.3559751808643341, -0.9117727875709534, 0.7797756791114807, -0.1803756058216095, -0.36242663860321045, 0.14808489382266998, -0.21787086129188538, -0.5671244263648987, 0.06066140532493591, 0.690523624420166, -0.37788715958595276, -0.28358376026153564, -0.6737135648727417, 0.1702120304107666, -0.08204090595245361, 0.9505352973937988, -0.010487865656614304, 0.7740013003349304, -0.3867761790752411, -0.1327110230922699, -0.5828314423561096, -0.6199572086334229, -0.6862631440162659, -0.46387025713920593, 0.6723310947418213, -0.006695874966681004, 0.5875715017318726, 0.452072411775589, 0.996621310710907, 0.26046183705329895, -0.0804702565073967, 0.5809115171432495, -0.441910982131958, 0.32082492113113403, -0.11997295171022415, -0.4406493008136749, -0.37508752942085266, -0.4485017657279968, 0.34841302037239075, 0.7349843978881836, -0.35988450050354004, 0.1387014091014862, -0.15317662060260773, 0.8278509378433228, -0.7450417876243591, -0.07620320469141006, -0.601418673992157, 0.22157840430736542, 0.04342736676335335, -0.7760834097862244, -0.4024968147277832, -0.4821317493915558, 0.13218535482883453, -0.6548010110855103, 0.09598308056592941, 0.23193880915641785, 0.7445518970489502, 0.6130937337875366, -0.1319963037967682, -0.3489069938659668, -0.636385977268219, 0.48168906569480896, -0.45774367451667786, 0.6247382164001465, 0.2849052846431732, 0.5487631559371948, -0.08658940345048904, -0.8178441524505615, -0.653499960899353, -0.20232300460338593, -0.2399621307849884, 0.29897192120552063, 0.31927692890167236, 0.19936636090278625, 0.31570059061050415, 0.4193432033061981, -0.649934709072113, -0.33554965257644653, -0.5478450655937195, -0.005637486930936575, 0.4856215715408325, 0.4866119623184204, 0.2930730879306793, -0.044018812477588654, -0.3104649782180786, 0.04531126841902733, -0.6136269569396973, -0.2571014165878296, -0.3433985412120819, 0.09232790768146515, 0.28370070457458496, 0.6215803623199463, -0.053015824407339096, 0.7903216481208801, 0.1377866268157959, -0.6147796511650085, 0.19595319032669067, -0.2849756181240082, -0.23521549999713898, 0.06962794810533524, 0.45184701681137085, 0.36406564712524414, 0.0330035574734211, -0.38915205001831055, -0.19439424574375153, -0.04514307156205177, 0.5298511981964111, -0.6835306882858276, -0.2574600279331207, 0.14815157651901245, -0.5546695590019226, -0.018902253359556198, 0.08266649395227432, -0.5636758804321289, -0.6754071116447449, -0.610103964805603, 0.7595040202140808, -0.41621047258377075, -0.21300429105758667, 0.39977338910102844, -0.16422539949417114, 0.4619124233722687, 0.5580873489379883, -0.5849471688270569, 0.4237763583660126, 0.7855062484741211, 0.34474942088127136, -0.41974300146102905, -0.04889434576034546, -0.4427020847797394, 0.17128467559814453, -0.2906888723373413, 0.5860021114349365, -0.49920234084129333, -0.376775860786438, -0.15490804612636566, -0.0019261641427874565, -0.3508296310901642, -1.0693823099136353, 0.3500763177871704, -0.7049657106399536, 0.3706108331680298, -0.28347650170326233, -0.6274033188819885, -0.02404850721359253, 0.3700389862060547, -0.2739790678024292, 0.6807206273078918, 0.026393037289381027, -0.8246099352836609, 0.35911935567855835, -0.4550650119781494, -0.3874729573726654, 0.209579199552536, -0.35450026392936707, -0.39788612723350525, -0.07633551955223083, 0.4292174279689789, 0.3388296067714691, -0.39043039083480835, 0.37295907735824585, -0.028256114572286606, -0.5836572647094727, 0.35092613101005554, -0.2845458686351776, 0.4707724452018738, 0.2622038424015045, -0.027421848848462105, -0.03993558883666992, -0.592690110206604, 0.10417649149894714, 0.2606763243675232, -0.45436277985572815, -0.38108816742897034, -0.2983393967151642, -0.24700996279716492, 0.11800503730773926, 0.30433547496795654, -0.362727552652359, -0.08305749297142029, -0.5101615786552429, -0.31747937202453613, 0.29332825541496277, 0.4231624901294708, 0.2286319136619568, -0.701456606388092, 0.5544467568397522, 0.12319863587617874, 0.27493417263031006, 0.036587975919246674, -0.23496891558170319, -0.9514294266700745, -0.043363187462091446, 0.0353471003472805, 0.7110992670059204, -0.9760758876800537, 0.35495999455451965, -0.08184217661619186, -0.29758572578430176, -1.1267893314361572, -0.010313628241419792, 0.7281205654144287, 0.912239134311676, 0.8540052175521851, -0.18378843367099762, -0.6981512904167175, -0.6144964098930359, -0.2622000277042389, -0.005708301439881325, -0.0044707972556352615, 0.5085505247116089, 0.24339312314987183, -0.06337250769138336, 0.4049980640411377, -0.432539165019989, -0.3807333707809448, -0.4431949257850647, -0.18227504193782806, 0.26287853717803955, 0.265895277261734, -0.07688193023204803, -0.7362220883369446, -0.4109596908092499, -0.030605081468820572, -0.9387565851211548, 0.0031993011943995953, -0.24752452969551086, -0.1258646845817566, 0.3241982161998749, 0.47414517402648926, -0.6195058822631836, 0.18355539441108704, 0.14888295531272888, -0.14147797226905823, 0.39976710081100464, -0.3090090751647949, 0.4610985517501831, -1.3034391403198242, 0.23178501427173615, -0.47151196002960205, -0.16211529076099396, -0.5526685118675232, 0.2632294297218323, -0.02072960138320923, 0.20240239799022675, -0.3286454379558563, 0.5587881207466125, -0.4813533127307892, 0.09135663509368896, -0.2920735478401184, 0.2947845160961151, 0.10587743669748306, 0.14209729433059692, -0.13159742951393127, 0.9959957599639893, 0.35903945565223694, -0.5196071863174438, 0.11125068366527557, 0.47525984048843384, -0.3369462788105011, 0.5320903062820435, -0.5971748232841492, 0.2391194850206375, -0.4157813787460327, -0.10865660756826401, -0.4852372407913208, -0.3502659201622009, 0.2089937925338745, -0.41916900873184204, 0.5943054556846619, 0.0679258406162262, -0.3972041606903076, -0.518106997013092, 0.025329388678073883, 0.053495991975069046, 0.7020182609558105, -0.6255044937133789, 0.4860912263393402, 0.5025108456611633, -0.05590342357754707, -0.8280239701271057, -0.4725281596183777, -0.18410515785217285, -0.033045340329408646, -0.3129708766937256, 0.17376463115215302, -0.08507537096738815, -0.25971633195877075, -0.07841052114963531, -0.4360460340976715, -0.058279283344745636, -0.028459457680583, 0.1256490796804428, 0.41614675521850586, -0.1935698688030243, 0.15320205688476562, 0.17962586879730225, -0.17621572315692902, 0.2432393729686737, 0.153916597366333, 0.6742997169494629, 0.15051808953285217, -0.5252854824066162, -0.4210318922996521, 0.15312735736370087, 0.2914541959762573, -0.2649495303630829, 0.8012896776199341, 0.5992077589035034, -0.2151414304971695, 0.06866589188575745, -0.9141730666160583, -0.49065127968788147, -0.4436213970184326, 0.4202500581741333, -0.33019617199897766, -1.116422176361084, 0.12517352402210236, -0.04095396399497986, -0.23318655788898468, 0.2736145257949829, 0.7341582775115967, -0.11970821022987366, 1.061358094215393, 0.13633987307548523, 0.16614069044589996, -0.029446939006447792, 0.08712778985500336, 0.08988457173109055, -0.9412218332290649, -0.5242546200752258, -0.20783977210521698, 0.016515983268618584, -0.2522486746311188, -0.5472008585929871, 0.7936962842941284, 0.22271624207496643, -0.1359831690788269, -0.2484586387872696, -0.7288097143173218, 0.7543771266937256, 0.3555760383605957, 0.5193054676055908, 0.5065184235572815, -0.16326190531253815, -0.25699180364608765, -0.06616094708442688, -0.5810828804969788, -0.20126648247241974, 1.0783785581588745, 0.11321047693490982, 0.7712153196334839, -0.04813387617468834, 0.7595449686050415, -0.1244746670126915, 0.1702233850955963, -0.47853830456733704, 0.6892011165618896, -0.05359097942709923, -0.6410751938819885, -0.05486685037612915, -0.44546398520469666, -0.8456666469573975, 0.23180438578128815, -0.5040076375007629, -0.3902815878391266, -0.26850295066833496, 0.1443583071231842, -0.3747803866863251, 0.27405887842178345, -0.4587976932525635, 0.47866418957710266, -0.09242507070302963, -0.27926087379455566, -0.26561498641967773, -0.9918390512466431, 0.38112756609916687, -0.15258602797985077, -0.2027878761291504, 0.04051222652196884, 0.0349346362054348, 0.4740244150161743, -0.2331990748643875, 0.443154901266098, -0.41025522351264954, 0.22665251791477203, 0.06087251752614975, -0.01930064894258976, 0.40200284123420715, 0.19343693554401398, 0.030129708349704742, -0.1443810760974884, 0.14975398778915405, -0.03606293722987175, -0.8015884757041931, 0.44394776225090027, -0.7603633999824524, -0.8901914954185486, -0.3663562536239624, -0.7545686960220337, -0.4203055799007416, 0.06162998080253601, 0.0870741680264473, 0.19751282036304474, -0.050539419054985046, 0.25580883026123047, 0.899655282497406, -0.36945152282714844, -0.09224491566419601, 0.5748028755187988, -0.4608977138996124, -0.6742057800292969, 0.6857427358627319, -0.057533059269189835, 0.281798392534256, 0.6341267824172974, 0.11770129203796387, -0.3348820209503174, -0.6974173188209534, -0.2959308922290802, 0.5097557902336121, -0.622491717338562, -0.3255903720855713, -1.0326085090637207, -0.79262375831604, -0.18654264509677887, -0.01172271091490984, -0.09048289805650711, -0.33772367238998413, -0.3253832459449768, 0.16327373683452606, 0.3981022834777832, 0.4731704890727997, 0.21249888837337494, 0.02744404971599579, -0.8531058430671692, 0.5618900656700134, 0.16697198152542114, 0.2049206793308258, -0.09800829738378525, -0.5549184083938599, -0.21037854254245758, -0.19462670385837555, -0.12623395025730133, -0.5165026187896729, 0.3004380762577057, -0.10851606726646423, 0.5342617034912109, 0.19967776536941528, 0.1549559235572815, 1.077666163444519, -0.5397852659225464, 0.47411131858825684, 0.110305555164814, -0.4002176821231842, 0.556643545627594, -0.07151348143815994, 0.2604420781135559, 0.8582318425178528, 0.5986769199371338, -0.4114317297935486, -0.5622678399085999, -0.3140816390514374, -0.5824607610702515, 0.3802565634250641, -0.16111290454864502, -0.07604113966226578, -0.1426694244146347, 0.6283017992973328, 0.28816863894462585, 0.1653682291507721, -0.3157864511013031, -0.28718695044517517, 0.27159184217453003, -0.3232724070549011, 0.12903977930545807, -0.2621612846851349, -0.3592519164085388, -0.6452810168266296, 0.6517136693000793, -0.04135281220078468, 0.43537020683288574, 0.6161041259765625, -0.1701868325471878, -0.06962259858846664, 0.3682762682437897, 0.41941651701927185, 0.6752421855926514, -0.3589336574077606, 0.08923766016960144, 0.48102787137031555, -0.6937353014945984, 0.011243438348174095, 0.3308984041213989, -0.05016687884926796, -0.09806828945875168, 0.13221648335456848, 0.716484546661377, -0.2928759455680847, -0.8076990842819214, 0.45381441712379456, -0.20807543396949768, -0.30792704224586487, -0.5235034823417664, 0.4578002691268921, 0.05673787742853165, 0.5387421250343323, 0.1641649454832077, 0.04456036165356636, 0.3076372742652893, 0.010648900642991066, 0.39012327790260315, 0.4722524583339691, -0.29865872859954834, 0.12962308526039124, 0.9086114764213562, -0.19875358045101166, -0.09088634699583054, 0.4420003592967987, -0.10551973432302475, -0.129907488822937, 0.26518210768699646, 0.8806958794593811, 0.46513187885284424, -0.09535149484872818, -0.11002229154109955, 0.4071041941642761, 0.07086663693189621, -0.18358370661735535, 0.784354567527771, 0.09748642146587372, -0.6431912183761597, -0.4525038003921509, -0.6999233961105347, -0.619661271572113, 0.13181687891483307, -0.8229246139526367, 0.17929667234420776, -0.5402076840400696, -0.049983393400907516, -0.18925395607948303, -0.02720729634165764, -0.3827935755252838, 0.19267205893993378, -0.03263230249285698, 0.8044642210006714, -0.17805643379688263, 0.9314519166946411, 0.6716728806495667, -0.3798719644546509, -0.8474588394165039, 0.08027583360671997, -0.07899824529886246, -0.9773286581039429, 0.4889359176158905, 0.07348155230283737, -0.055272772908210754, 0.0875253826379776, -0.2688557505607605, -0.7230522632598877, 1.3374912738800049, 0.10596811771392822, -0.5999016165733337, -0.07724476605653763, 0.19641521573066711, 0.7216820120811462, -0.2696259319782257, 0.12951971590518951, 0.5954099893569946, 0.1869708150625229, 0.2125808298587799, -0.8876635432243347, 0.17816990613937378, -0.24950508773326874, -0.09347784519195557, 0.37462928891181946, -0.3631962835788727, 0.46529629826545715, -0.5674396753311157, -0.10733912140130997, 0.28877195715904236, 0.2678132951259613, 0.7563917636871338, 0.4536389410495758, 0.31175777316093445, 0.6261354088783264, 1.0167756080627441, -0.19563889503479004, 1.1502740383148193, -0.542945384979248, 0.037576206028461456, 1.0981099605560303, -0.3724411427974701, 0.8736276030540466, 0.7871948480606079, -0.04967176541686058, 0.19919858872890472, 0.1846354752779007, 0.0189785435795784, 0.5921370387077332, 0.10427165776491165, -0.5856094360351562, -0.34284329414367676, -0.3036193549633026, -0.622434139251709, 0.0819622054696083, 0.3966163992881775, -0.4418611526489258, 0.1793484091758728, 0.1563846468925476, 0.18275021016597748, 0.06530752778053284, -0.19787587225437164, 1.128937840461731, 0.24046598374843597, -0.7122103571891785, 0.8101149797439575, -0.47963905334472656, 0.35310280323028564, -0.4958585202693939, -0.0060745603404939175, -0.22485190629959106, 0.39227503538131714, -0.007470312062650919, -0.6409990787506104, 0.38195541501045227, -0.18411120772361755, -0.10065733641386032, 0.05487468093633652, 0.941497266292572, -0.46229788661003113, -0.39437147974967957, 0.25944316387176514, 0.8506817817687988, 0.08706923574209213, 0.2988762855529785, -0.6887173056602478, -0.1348770558834076, -0.14626362919807434, -0.03720635548233986, 0.35501179099082947, 0.41530534625053406, 0.3797096908092499, 0.6954747438430786, 0.6587143540382385, 0.30187952518463135, 0.030318252742290497, 0.3754488527774811, 1.104466438293457, -0.6548129320144653, 0.08448905497789383, -0.638283371925354, 0.3264468014240265, -0.14515449106693268, -0.06867879629135132, 0.46958068013191223, 0.5588479042053223, 0.8777737021446228, -0.19301147758960724, 0.5492116212844849, 0.09468920528888702, 0.9798073768615723, -0.7367717027664185, 0.9759100079536438, -0.8213432431221008, 0.30098626017570496, -0.0869268849492073, -0.6657117009162903, -0.7846981287002563, 0.5408766269683838, -0.26429206132888794, 0.045646969228982925, 0.8344390392303467, 1.0515131950378418, 0.07532728463411331, -0.043157704174518585, 0.4654853343963623, 0.2702348530292511, 0.01188181433826685, 0.5550882816314697, 0.9983315467834473, -0.34151631593704224, 0.46961238980293274, -0.3101441264152527, 0.12068182975053787, -0.12103408575057983, -0.23773550987243652, -1.1451658010482788, -0.2168601006269455, -0.1185823380947113, -0.5644232630729675, 0.6131848096847534, 1.2813432216644287, 0.45801112055778503, -0.7491697072982788, 0.07188870757818222, -0.04471404850482941, -0.10981640219688416, -0.048329468816518784, -0.21075336635112762, 0.32483604550361633, -0.6801807284355164, -0.25786131620407104, 0.4423677623271942, 0.35624659061431885, 0.06094985082745552, -0.061931878328323364, -0.4284234344959259, -0.1137871965765953, -0.09740016609430313, 0.3760039508342743, -0.04200078174471855, -0.7773441672325134, -0.10051525384187698, 0.3821103274822235, -0.2963694930076599, 0.37374347448349, 0.6836771965026855, -0.7580888271331787, 0.5335550308227539, 0.3438471257686615, 1.0278425216674805, 0.4304066300392151, 0.15650853514671326, 0.28496053814888, -0.4853682816028595, 0.027659622952342033, 0.33301910758018494, 0.21708710491657257, 0.25522759556770325, -0.38756129145622253, 0.5065695643424988, 0.19646690785884857, -0.8217700123786926, -0.6329492330551147, -0.10338771343231201, -1.016190767288208, -0.3494824469089508, 0.985321581363678, 0.1578671932220459, -0.0241987407207489, -0.3537871241569519, -0.4513686001300812, 0.38958704471588135, -0.09695398807525635, 1.0277704000473022, 0.22375653684139252, -0.2946362793445587, -0.4412716329097748, -0.7520766258239746, 0.6004385352134705, 0.6163625717163086, -1.0308842658996582, -0.13620375096797943, 0.3027935028076172, 0.18032018840312958, 0.019595971331000328, 0.8245403170585632, -0.5098698735237122, 0.4519559144973755, -0.14294683933258057, 0.06596013903617859, -0.14439953863620758, -0.4573383927345276, -0.21480722725391388, 0.13901516795158386, 0.2678982615470886, 0.013872294686734676 ]
http://arxiv.org/abs/2402.17882v2
http://arxiv.org/pdf/2402.17882v2
BlendSQL: A Scalable Dialect for Unifying Hybrid Question Answering in Relational Algebra
2024-02-27T20:48:24
2024-06-10T20:27:28
Parker Glenn, Parag Pravin Dakle, Liang Wang, Preethi Raghavan
cs.CL
cs.CL
Many existing end-to-end systems for hybrid question answering tasks can often be boiled down to a "prompt-and-pray" paradigm, where the user has limited control and insight into the intermediate reasoning steps used to achieve the final result. Additionally, due to the context size limitation of many transformer-based LLMs, it is often not reasonable to expect that the full structured and unstructured context will fit into a given prompt in a zero-shot setting, let alone a few-shot setting. We introduce BlendSQL, a superset of SQLite to act as a unified dialect for orchestrating reasoning across both unstructured and structured data. For hybrid question answering tasks involving multi-hop reasoning, we encode the full decomposed reasoning roadmap into a single interpretable BlendSQL query. Notably, we show that BlendSQL can scale to massive datasets and improve the performance of end-to-end systems while using 35% fewer tokens. Our code is available and installable as a package at https://github.com/parkervg/blendsql.
[ -0.3285570740699768, -1.076491117477417, 0.7718557119369507, 0.4072449803352356, -0.2743724584579468, 0.6818565726280212, 0.05256526917219162, -0.21845325827598572, 0.46096715331077576, 0.6639514565467834, -0.7746614217758179, -0.331501305103302, -0.11849839985370636, 0.1481202393770218, -0.49382340908050537, 0.9592552781105042, 0.10470167547464371, -0.0068672290071845055, -0.6896743178367615, -0.38380488753318787, -0.31580018997192383, -0.5458939075469971, -0.40589216351509094, -0.30738601088523865, 0.07134350389242172, 0.30204829573631287, 1.1063836812973022, 0.18233516812324524, 0.16628003120422363, 0.2065056711435318, -0.1725822389125824, 0.2400520145893097, -0.5560556650161743, 0.5156658291816711, -0.230591282248497, -0.5249297022819519, -0.13346822559833527, -0.4325067102909088, 0.5040531754493713, 1.0380858182907104, -0.42775288224220276, 0.0065622832626104355, -0.26512110233306885, 0.5065627098083496, -0.49646756052970886, -0.10714326053857803, -0.6445425748825073, 0.1964433491230011, -0.06035606935620308, -0.08726107329130173, -0.2233608514070511, -0.26317745447158813, -0.009343639016151428, -0.8880064487457275, -0.19053183495998383, 0.3165312111377716, 0.4213767349720001, 0.036404095590114594, -0.5961307287216187, 0.282105416059494, -0.7836577892303467, 0.833774983882904, -0.23673929274082184, 0.17930306494235992, -0.15852998197078705, 0.6739842295646667, -0.38009363412857056, -0.6857587099075317, -0.6870492100715637, 0.3204277753829956, -0.18159730732440948, 0.18603922426700592, -0.013239807449281216, 0.21995046734809875, 0.11458604782819748, 0.6849125027656555, -0.7295495867729187, -0.48049721121788025, -0.09347248822450638, -0.13870806992053986, 0.4989057779312134, 0.496119886636734, 0.3001924455165863, 0.08609123528003693, -0.22058233618736267, 0.19056783616542816, -0.7177821397781372, -0.1813712865114212, -0.11155220866203308, 0.192949116230011, 0.2279881089925766, 0.5836862921714783, -0.538344144821167, 0.9884501695632935, 0.012333068065345287, 0.19983869791030884, -0.25666898488998413, -0.4774581491947174, -0.28966596722602844, -0.23675577342510223, 0.9378295540809631, 0.33458977937698364, 0.08862152695655823, -0.3847590684890747, -0.09317478537559509, 0.11780980974435806, 0.03488195687532425, -0.562436044216156, -0.13294608891010284, 0.5547003149986267, -0.11810518801212311, 0.1254209578037262, -0.24676325917243958, -0.8043918013572693, -0.36297643184661865, -0.39510849118232727, 0.5338892936706543, -0.37750110030174255, -0.1463165581226349, 0.21309179067611694, -0.1021660715341568, 0.4064197540283203, 0.4427343010902405, -0.8167740702629089, 0.7249915599822998, 0.5824408531188965, 0.6896660327911377, -0.10613636672496796, -0.06205351650714874, -0.3761804401874542, 0.10256487131118774, -0.49295875430107117, 0.9080806970596313, -0.6384841203689575, -0.6284971833229065, -0.10598396509885788, -0.44117432832717896, -0.2624289393424988, -0.7481437921524048, 0.1934906542301178, -0.701619029045105, 0.40396058559417725, -0.123499296605587, -0.5219060182571411, 0.0003511293325573206, 0.3068447709083557, -0.2504550814628601, 1.3804502487182617, 0.5070276260375977, -0.22967734932899475, 0.11476040631532669, -0.5485036969184875, -0.6548065543174744, 0.4201345443725586, -0.5093864798545837, 0.08123154193162918, 0.08438216149806976, 0.31161025166511536, 0.07195769250392914, -0.7717500329017639, 0.3504585921764374, -0.2927597463130951, -0.38273802399635315, 0.29355770349502563, 0.1088637262582779, 0.8603583574295044, 0.31208276748657227, 0.10235462337732315, 0.16119614243507385, -0.6249456405639648, 0.41045454144477844, 0.21526944637298584, -0.22318828105926514, -0.06480024009943008, -0.17341667413711548, 0.021028144285082817, 0.24313300848007202, 0.1625385582447052, -0.679199755191803, 0.2710893452167511, -0.20855394005775452, 0.39477965235710144, 0.4929285943508148, -0.05656416714191437, 0.4933124780654907, -0.20652854442596436, 0.7410023808479309, -0.10272512584924698, 0.24209491908550262, -0.2373838871717453, -0.41919538378715515, -0.6615521311759949, -0.14645400643348694, 0.1276681125164032, 0.7560008764266968, -0.9660305976867676, 0.2375425398349762, -0.23427334427833557, -0.12797050178050995, -0.42667731642723083, 0.14713191986083984, 0.21588024497032166, 0.5134595632553101, 0.5830141305923462, -0.052878204733133316, -0.5485792756080627, -1.0186885595321655, -0.5507351756095886, 0.06139325350522995, -0.18969586491584778, 0.512535810470581, 0.41802746057510376, 0.09072152525186539, 1.1610080003738403, -0.667336642742157, -0.020708434283733368, -0.47365379333496094, -0.06335989385843277, 0.5620157718658447, 0.245928093791008, 0.20423440635204315, -0.755961000919342, -0.7806340456008911, 0.08938713371753693, -1.0496002435684204, 0.14447122812271118, -0.16012071073055267, -0.5740703344345093, -0.24811863899230957, 0.4047155976295471, -1.0286916494369507, -0.041454024612903595, 0.25200361013412476, -0.3279828131198883, 0.5563843250274658, 0.06826689839363098, 0.16787585616111755, -1.1111265420913696, -0.1396915763616562, -0.39286819100379944, -0.21411415934562683, -0.564941942691803, 0.3384040296077728, -0.20283225178718567, -0.2587648034095764, -0.24075870215892792, 0.2880944013595581, -0.32950833439826965, -0.2017814815044403, 0.17902110517024994, -0.07741555571556091, 0.1471826285123825, 0.3177602291107178, 0.10510020703077316, 0.997003436088562, 0.8300905227661133, -0.3073643743991852, 0.7083743810653687, 0.4433421790599823, -0.009429543279111385, 0.9535150527954102, -0.6928231120109558, 0.04284822940826416, -0.14159762859344482, 0.5510023236274719, -0.897912859916687, -0.32653847336769104, -0.05963236466050148, -0.21724969148635864, 0.11256399005651474, -0.2711019814014435, -0.4626922607421875, -0.23001354932785034, -0.22863873839378357, 0.3526889681816101, 0.4314539432525635, -0.558194637298584, 1.1195085048675537, 0.2523748278617859, 0.053507253527641296, -0.34493568539619446, -0.46188944578170776, 0.25915369391441345, -0.1288875937461853, -0.8701695203781128, 0.29106417298316956, -0.2254241555929184, -0.30987489223480225, 0.08543451875448227, -0.35980531573295593, -0.33043840527534485, -0.03820059448480606, 0.018335238099098206, 0.4275382459163666, -0.3448258638381958, 0.023280831053853035, 0.37798845767974854, -0.14839337766170502, 0.10347573459148407, -0.5646399259567261, 0.33173584938049316, -0.2193412333726883, -0.10995830595493317, 0.007320272270590067, 0.8496454954147339, 0.7618755102157593, -0.08565612137317657, 0.9209948182106018, -0.20909123122692108, -0.186687633395195, -0.3043106496334076, -0.1733078807592392, -0.26683199405670166, -0.42869627475738525, 0.0033144690096378326, -0.4169575273990631, -1.0776572227478027, 0.4141709506511688, -0.33512312173843384, 0.15416774153709412, 0.41689422726631165, 0.3741576671600342, -0.3505944311618805, 0.8225691914558411, 0.20017413794994354, 0.2067301720380783, -0.0025448808446526527, -0.18136583268642426, 0.2529657185077667, -0.6815596222877502, -0.40101078152656555, -0.33333268761634827, -0.1934119462966919, -0.1273762285709381, -0.6990458369255066, 0.7736576795578003, 0.14751410484313965, -0.1876707226037979, 0.1485462486743927, -0.41859662532806396, 1.0955700874328613, 0.510972797870636, -0.1211518943309784, 0.5770437717437744, -0.09312475472688675, -0.19260622560977936, 0.16262951493263245, -0.7335614562034607, -0.030794532969594002, 1.1700925827026367, -0.4066154360771179, 0.7910860180854797, 0.23394618928432465, 0.6178810596466064, 0.09448149800300598, -0.025045959278941154, -0.5155601501464844, 0.6366186738014221, 0.15895144641399384, -0.9990708827972412, -0.22682970762252808, -0.5228092670440674, -0.6837989687919617, 0.6971232295036316, -0.5036671161651611, -0.7100496292114258, -0.09954722225666046, 0.34078195691108704, -0.6938486099243164, 0.17362380027770996, -0.5774485468864441, 0.9087924361228943, -0.18612225353717804, -0.28939950466156006, 0.02313200756907463, -0.8535465002059937, 0.4394397735595703, 0.07450151443481445, 0.12156759202480316, 0.06537225842475891, 0.24065181612968445, 0.3814921975135803, -0.618649959564209, 0.2796771228313446, 0.2608988285064697, 0.38175228238105774, 0.5578541159629822, 0.48445025086402893, 0.30315032601356506, 0.09674318134784698, 0.3083173632621765, 0.0785166323184967, 0.3553787171840668, -0.5118570327758789, -1.0392777919769287, 0.6934148073196411, -0.4626029133796692, -0.5217280387878418, -0.5066704750061035, -0.7881468534469604, -0.6113536953926086, -0.04691071808338165, 0.27063441276550293, 0.34969374537467957, 0.052889350801706314, 0.3876590430736542, 0.9621909260749817, 0.06365008652210236, 0.019432267174124718, 0.2344246357679367, -0.5404765605926514, -0.16029107570648193, 0.8105400800704956, -0.10348392277956009, 0.4613509476184845, 0.6451177000999451, -0.024489955976605415, -0.6960415244102478, -0.3096235394477844, -0.9028567671775818, 0.1807115077972412, -0.5193610191345215, -0.2091342657804489, -0.6120648980140686, -0.10196073353290558, -0.19471710920333862, -0.31612545251846313, -0.4099123179912567, -0.9527679085731506, -0.007637035101652145, 0.03446301817893982, 0.3843950927257538, 0.3931101858615875, 0.3029225766658783, 0.30604618787765503, -0.7451170682907104, 0.35545361042022705, 0.5330032706260681, 0.3751150667667389, -0.31826111674308777, -0.4109446704387665, 0.008019457571208477, -0.33701854944229126, -0.1559300720691681, -0.8112927675247192, 0.02479533851146698, 0.3220486044883728, 0.3761366307735443, 0.1556985229253769, 0.19624049961566925, 0.5782759785652161, -0.33097848296165466, 0.7106433510780334, 0.24658462405204773, -0.7446948885917664, 0.5172538161277771, -0.4485401213169098, 0.3105922043323517, 0.7165165543556213, 0.5046495795249939, -0.7358556985855103, -0.30338308215141296, -0.39730361104011536, -0.7979754209518433, 0.6364703178405762, 0.19557222723960876, 0.01667041704058647, 0.11693446338176727, 0.22306133806705475, 0.050774965435266495, 0.3059413433074951, -0.5842151045799255, -0.4826098084449768, -0.20956097543239594, -0.2897508442401886, 0.1536012589931488, -0.09178225696086884, -0.519312858581543, -0.27361148595809937, 0.4006916284561157, -0.32714956998825073, 0.06651996076107025, -0.12653017044067383, -0.1159651130437851, -0.27809467911720276, 0.5947432518005371, -0.0022104973904788494, 0.6893246173858643, -0.2609054744243622, 0.10015092045068741, 0.10042668133974075, -0.07763750851154327, 0.07782862335443497, 0.21993570029735565, -0.4875291883945465, -0.270300030708313, 0.11732801049947739, 0.3989124298095703, 0.017857136204838753, -0.984843373298645, 0.2071751356124878, -0.02579806186258793, -0.23227350413799286, 0.04189587011933327, 0.08854706585407257, 0.2600201666355133, 0.17733100056648254, 0.3949626684188843, -0.2472267895936966, 0.41706937551498413, -0.6986253261566162, -0.14528271555900574, 0.6782577037811279, -0.08714501559734344, -0.058329589664936066, 0.6888128519058228, 0.16408248245716095, -0.011821737512946129, 0.8037179112434387, -0.16504837572574615, -0.463072806596756, 0.24910815060138702, 0.6702048182487488, 0.5294599533081055, -0.09678571671247482, 0.34448426961898804, 0.028733639046549797, 0.23703999817371368, 0.19914674758911133, 0.5895691514015198, -0.17692968249320984, -0.732820451259613, -0.5764209032058716, -0.857191264629364, -0.612372875213623, -0.10344699770212173, -0.4504106938838959, -0.39565542340278625, -0.5918297171592712, 0.3126768171787262, 0.08918686211109161, -0.37031811475753784, -0.06667454540729523, 0.14243049919605255, -0.17074497044086456, 0.7194800972938538, -0.9287571310997009, 0.3577933609485626, 0.871807336807251, -0.2791770100593567, -0.6802999973297119, -0.5006013512611389, 0.2757907509803772, -0.5569591522216797, 0.07744510471820831, -0.24777047336101532, -0.09966068714857101, -0.04992182180285454, -0.4484120309352875, -0.7933286428451538, 0.934052050113678, 0.4231385588645935, -0.26494479179382324, 0.14420771598815918, 0.3731083273887634, 0.5261810421943665, -0.3087625801563263, 0.3726973235607147, 0.8963044285774231, 0.1407516896724701, 0.765792727470398, -0.7391205430030823, -0.08088283985853195, -0.07009187340736389, -0.06441206485033035, 0.7214124202728271, -0.397578626871109, 0.9229342341423035, -0.1589260995388031, -0.2116777002811432, -0.09236511588096619, 0.5339380502700806, 0.17371615767478943, 0.2778700888156891, 0.263881117105484, 0.7837300300598145, 0.5270047187805176, -0.37638941407203674, 1.331716537475586, -0.0806054025888443, 0.34538549184799194, 1.138060212135315, -0.33071014285087585, 0.431907594203949, 0.4758342206478119, -0.7243672013282776, 0.664545476436615, 0.5415626764297485, 0.5513623356819153, 0.25649023056030273, -0.08337855339050293, -0.7344253063201904, -0.7982139587402344, -0.2548906207084656, -0.26980748772621155, 0.13243427872657776, 0.4167923033237457, 0.14638903737068176, -0.5291129946708679, -0.4616255760192871, -0.14135871827602386, 0.25163257122039795, -0.21815437078475952, 0.5516212582588196, 0.16028796136379242, -0.6641442179679871, 0.4302472472190857, -0.3465559482574463, 0.13335828483104706, -0.636407196521759, -0.15994548797607422, -0.5527405142784119, -0.14614395797252655, -0.24318505823612213, -1.0525486469268799, 0.43284329771995544, -0.38678786158561707, -0.0444161631166935, -0.13633817434310913, 0.4437859356403351, -0.460106760263443, -0.31238681077957153, 0.029108339920639992, 0.686459481716156, 0.06374185532331467, -0.28396785259246826, -0.8245653510093689, -0.20572730898857117, -0.2235565483570099, -0.03469563275575638, 0.5061363577842712, 0.5774446129798889, -0.22819849848747253, 0.6913708448410034, 0.8894059062004089, -0.21354365348815918, 0.12961460649967194, -0.012011043727397919, 1.119893193244934, -0.5412388443946838, -0.4224250018596649, -0.4821579158306122, 0.32680124044418335, -0.26040780544281006, -0.3105398118495941, 0.7669932842254639, 0.7852610945701599, 0.4912046194076538, 0.04548348858952522, 0.49351534247398376, -0.209123894572258, 0.49024492502212524, -0.36990460753440857, 0.14512386918067932, -0.5531564354896545, 0.13188466429710388, 0.020286163315176964, -0.9513654112815857, -0.6173875331878662, 0.43668755888938904, -0.007001813035458326, 0.045265067368745804, 0.7237156629562378, 0.7756012082099915, -0.156558558344841, 0.2702661454677582, 0.4012700319290161, 0.15137508511543274, 0.08179686218500137, 0.6913811564445496, 1.042544960975647, -0.05143618956208229, 0.6572772264480591, -0.018770501017570496, -0.17654335498809814, -0.20678210258483887, -0.45909398794174194, -0.5105796456336975, -0.15311984717845917, -0.2042321413755417, -0.5683563351631165, -0.01597921922802925, 0.8025450110435486, 0.5938348174095154, -0.8660094141960144, -0.38431859016418457, -0.19911353290081024, 0.3134249746799469, -0.30941063165664673, -0.2582184076309204, 0.22377435863018036, -0.10981331020593643, -0.28315451741218567, 0.5550478100776672, 0.8179274797439575, -0.21935994923114777, -0.07957623898983002, 0.03250698745250702, -0.2883746027946472, 0.355855256319046, 0.7738536596298218, 0.6793924570083618, -0.5091903209686279, 0.0691162496805191, 0.3163640797138214, 0.19074063003063202, 0.13378652930259705, 0.8068658113479614, -0.9481539726257324, 0.6901640295982361, 0.2792406976222992, 0.7563037872314453, 0.6576176285743713, 0.07384486496448517, 0.3895655870437622, -0.649558961391449, -0.2914196848869324, 0.5304098725318909, 0.2320973128080368, 0.14366872608661652, -0.4139460623264313, 0.5460224151611328, 0.5214186906814575, -0.4172555208206177, -0.39946287870407104, 0.4235107898712158, -1.1977747678756714, -0.3898601830005646, 0.8287639617919922, 0.28393056988716125, -0.23151534795761108, -0.42995381355285645, -0.15707902610301971, -0.42178475856781006, -0.42779356241226196, 0.32590699195861816, 0.43836379051208496, -0.7714576125144958, -0.1916297823190689, -0.30083853006362915, 0.14582706987857819, 0.5817238688468933, -1.0228453874588013, 0.033817365765571594, 0.9776440262794495, 0.21701741218566895, 0.11703083664178848, 0.8880301713943481, -0.06442443281412125, 0.45006585121154785, 0.21287479996681213, -0.21718794107437134, 0.17369577288627625, -0.44855111837387085, -0.10564262419939041, 0.19473068416118622, -0.1439589112997055, 0.05936853587627411 ]
http://arxiv.org/abs/2402.17879v2
http://arxiv.org/pdf/2402.17879v2
Automated Statistical Model Discovery with Language Models
2024-02-27T20:33:22
2024-06-22T05:08:30
Michael Y. Li, Emily B. Fox, Noah D. Goodman
cs.LG
cs.LG, cs.CL
Statistical model discovery is a challenging search over a vast space of models subject to domain-specific constraints. Efficiently searching over this space requires expertise in modeling and the problem domain. Motivated by the domain knowledge and programming capabilities of large language models (LMs), we introduce a method for language model driven automated statistical model discovery. We cast our automated procedure within the principled framework of Box's Loop: the LM iterates between proposing statistical models represented as probabilistic programs, acting as a modeler, and critiquing those models, acting as a domain expert. By leveraging LMs, we do not have to define a domain-specific language of models or design a handcrafted search procedure, which are key restrictions of previous systems. We evaluate our method in three settings in probabilistic modeling: searching within a restricted space of models, searching over an open-ended space, and improving expert models under natural language constraints (e.g., this model should be interpretable to an ecologist). Our method identifies models on par with human expert designed models and extends classic models in interpretable ways. Our results highlight the promise of LM-driven model discovery.
[ -0.22502487897872925, -0.9903642535209656, 0.9753172993659973, -0.13235868513584137, 0.05783114582300186, 0.0748448371887207, -0.17186537384986877, -0.09188287705183029, 0.09593621641397476, 0.970065176486969, -0.5989293456077576, -0.7879042625427246, -0.5007010102272034, 0.06551390141248703, -0.4645879864692688, 0.4671385884284973, -0.27168798446655273, 0.21721208095550537, -0.09824606776237488, 0.1751721203327179, -0.4454120397567749, -0.4547320604324341, -0.2363343983888626, -0.35073181986808777, 0.20763498544692993, 0.2110571563243866, 0.8924741744995117, 0.8326236605644226, 0.6804201006889343, 0.3426922559738159, 0.13959519565105438, 0.3019033670425415, -0.2589437663555145, 0.17533889412879944, -0.27525943517684937, -0.7055919766426086, -0.511220395565033, -0.15650352835655212, 0.4591057300567627, 0.9552756547927856, -0.3098941147327423, 0.07649175077676773, -0.17525595426559448, 0.4431973993778229, -0.4340507686138153, 0.5748947262763977, -0.8094135522842407, -0.0016706729074940085, -0.34413254261016846, -0.5818239450454712, -0.5162951946258545, -0.35731011629104614, 0.19862793385982513, -0.5820634365081787, 0.7447192072868347, 0.19922737777233124, 0.42360493540763855, 0.16053622961044312, -0.4666118919849396, -0.4442286491394043, -0.8546469211578369, 0.8708061575889587, -0.5939241051673889, 0.40869271755218506, 0.6824542284011841, 0.5201564431190491, -0.5972294807434082, -0.20318257808685303, -0.3696856200695038, -0.3312133848667145, -0.04494456201791763, -0.4001131057739258, -0.18527540564537048, -0.09808279573917389, 0.10787400603294373, 0.07282718271017075, -0.7919958233833313, -0.08364689350128174, -0.32932063937187195, -0.19209372997283936, 0.8300914168357849, 0.29283618927001953, 0.23891617357730865, 0.08047918230295181, 0.19637571275234222, -0.049986738711595535, -0.5100371241569519, -0.2680763900279999, 0.2609296143054962, 0.6288040280342102, 0.2798191010951996, 0.8444846272468567, -0.27507367730140686, 0.7255126237869263, -0.520800769329071, 0.0281800776720047, -0.1441185623407364, 0.012388196773827076, -0.05445261299610138, -0.3383341133594513, 0.6330676078796387, 0.11439897119998932, 0.4401514232158661, -0.08468154817819595, -0.46877002716064453, 0.07055621594190598, 0.10633675009012222, -0.3292447626590729, -0.6227167248725891, 0.08524513989686966, -0.4712192714214325, -0.21408063173294067, 0.0799391120672226, -0.7186472415924072, -0.39316901564598083, -0.3623235523700714, 0.5346403121948242, -0.2902566194534302, -0.4171806275844574, 0.25946763157844543, -0.1621907651424408, -0.2771911025047302, 0.1859186887741089, -0.5215983390808105, 0.41734984517097473, 0.6963152885437012, 0.6890133023262024, 0.008282188326120377, 0.027594363316893578, -0.44096240401268005, 0.1560084968805313, -0.9928861856460571, 0.8863487839698792, -0.9366649389266968, -0.2663699984550476, 0.08712324500083923, 0.28141289949417114, 0.09277013689279556, -0.849195659160614, 0.11104107648134232, -0.828915536403656, -0.17629371583461761, -0.10520075261592865, -0.8438061475753784, -0.28839242458343506, -0.4279592037200928, -0.6521270871162415, 0.7759858965873718, 0.02386552281677723, -0.3303738832473755, 0.4450783133506775, -0.7249606251716614, -0.10202978551387787, 0.2515791356563568, -0.23814435303211212, -0.5919945240020752, 0.1445721983909607, 0.16241741180419922, 0.6662392020225525, -0.3499482572078705, 0.6703673005104065, -0.7568053603172302, -0.17132796347141266, 0.4541414976119995, -0.10085561871528625, 0.7791481018066406, 0.3176994025707245, -0.23923176527023315, 0.06353170424699783, -0.9117552638053894, 0.042786356061697006, 0.3750765323638916, 0.11624611169099808, -0.47958043217658997, 0.405952513217926, -0.03036547638475895, -0.3993445932865143, -0.06308146566152573, -0.09428868442773819, 0.3766225278377533, -0.10049145668745041, 0.3310183882713318, 0.6441563963890076, -0.13376384973526, 0.5841262340545654, -0.14848938584327698, 0.689883828163147, -0.13335175812244415, -0.0721062421798706, -0.34244877099990845, -0.395287424325943, -0.6039037704467773, -0.2421705424785614, 0.1704397201538086, 0.6718990802764893, -0.3735215663909912, 0.6615729331970215, 0.1211225837469101, -0.4179656207561493, -0.5311866998672485, 0.192238450050354, 0.10564051568508148, 0.0009520233143121004, 0.36931222677230835, -0.3420362174510956, -0.4971851706504822, -0.9754905700683594, -0.13434287905693054, 0.0456300787627697, -0.22287417948246002, 0.2732512950897217, 0.6656086444854736, -0.5995242595672607, 1.1777111291885376, -0.7868298888206482, -0.39358505606651306, -0.247417151927948, 0.23277318477630615, 0.3392500579357147, 0.29636746644973755, 0.33495858311653137, -0.4869532585144043, -0.2118385136127472, 0.0013355069095268846, -0.9013832211494446, -0.35064956545829773, 0.3173351287841797, -0.06980700045824051, 0.10698636621236801, 0.465041846036911, -0.42195919156074524, 0.6533472537994385, 0.18048132956027985, -0.08382044732570648, 0.49885526299476624, -0.4072217643260956, -0.05200562998652458, -0.6980423927307129, -0.01895306259393692, 0.20769596099853516, -0.13635115325450897, -0.6268244981765747, 0.38644686341285706, 0.1626962274312973, -0.34611913561820984, 0.2842135727405548, 0.631875216960907, -0.6547636985778809, -0.22489163279533386, -0.39972543716430664, -0.14107972383499146, -0.24156533181667328, 0.16368404030799866, 0.47860804200172424, 0.515501081943512, 0.8647530674934387, -0.7168881297111511, 0.3338903486728668, 0.04582794010639191, -0.4087042212486267, 0.2608465850353241, -0.5122299790382385, 0.06989757716655731, -0.26427552103996277, 0.3204778730869293, -0.8543927073478699, -0.3614402115345001, 0.03202133625745773, -0.15365265309810638, 0.02628074400126934, -0.1017901822924614, -0.40575796365737915, -0.36940866708755493, 0.21104328334331512, 0.39232298731803894, 0.47831058502197266, -0.45713010430336, 0.37987595796585083, 0.6025839447975159, -0.34304168820381165, -0.16418328881263733, -0.05683330073952675, 0.14767636358737946, -0.10743637382984161, -0.5117304921150208, 0.026917193084955215, -0.16255038976669312, -0.6346836686134338, -0.15468628704547882, -0.0745048001408577, -0.30831947922706604, 0.20088787376880646, -0.07659850269556046, 0.060212891548871994, -0.3082403838634491, 0.24484054744243622, -0.2708035111427307, -0.2655799984931946, 0.04288192093372345, -0.2930043041706085, 0.5153906941413879, -0.01863349787890911, -0.4407937526702881, -0.2514660656452179, 0.614324152469635, 0.16329242289066315, -0.34451329708099365, 0.32118260860443115, 0.13810379803180695, -0.7489530444145203, -0.7275437116622925, -0.5291269421577454, -0.36873698234558105, -0.43935370445251465, 0.4605098068714142, -0.5753276944160461, -0.5878135561943054, 0.5389259457588196, 0.011071250773966312, -0.29883334040641785, 0.3451547920703888, 0.5088220238685608, -0.02588551491498947, 1.5124287605285645, 1.1447510719299316, 0.042931169271469116, 0.16581209003925323, -0.2808109223842621, 0.5945959687232971, -0.17247124016284943, -0.09989761561155319, -0.6862592101097107, 0.17082177102565765, -0.38543474674224854, -0.7171025276184082, 0.49733251333236694, 0.1676293909549713, -0.1544109284877777, 0.37936580181121826, -0.5486893057823181, 0.5179108381271362, 0.7150100469589233, 0.298391193151474, 0.35849887132644653, -0.12741319835186005, -0.12671412527561188, 0.053396958857774734, -0.8348248600959778, -0.8218136429786682, 1.1591558456420898, 0.5094394683837891, 1.1281344890594482, -0.15521353483200073, 0.7311574816703796, 0.3224242925643921, 0.3572753369808197, -0.6123672723770142, 0.6787954568862915, 0.022655079141259193, -0.6843421459197998, -0.4214836657047272, -0.5400039553642273, -0.9945328235626221, -0.18510591983795166, 0.04117323458194733, -0.7782643437385559, 0.23358848690986633, 0.35037338733673096, -0.2718234956264496, 0.18190650641918182, -0.44995298981666565, 0.8249348998069763, -0.2930924594402313, -0.17130394279956818, -0.3890824019908905, -0.26458510756492615, 0.40235161781311035, -0.2982986569404602, 0.6287559866905212, -0.14361096918582916, 0.14826703071594238, 0.5700019001960754, -0.566214919090271, 0.859228253364563, -0.11441877484321594, -0.2845830023288727, 0.16732345521450043, 0.699853241443634, 0.6227570176124573, -0.061075564473867416, -0.05694146454334259, -0.07234614342451096, 0.1514679491519928, -0.3414415717124939, -0.48357638716697693, 0.2430468499660492, -0.4027647376060486, -0.6774569153785706, -0.3915909230709076, -0.5815027356147766, -0.13293679058551788, 0.1313575804233551, -0.16308477520942688, 0.3663969337940216, -0.17144469916820526, 0.07631054520606995, 0.8302173614501953, -0.4329220652580261, 0.03735475242137909, 0.8083108067512512, -0.5354211330413818, 0.0840769037604332, 0.7564228773117065, 0.1586277186870575, -0.11705290526151657, 0.6030107736587524, 0.33510729670524597, -0.3250214457511902, -0.4526481032371521, -0.22734925150871277, 0.09360118955373764, -0.6555719375610352, -0.33067670464515686, -0.7513689994812012, -0.1071930080652237, -0.4200604259967804, -0.14617805182933807, -0.2649661898612976, -0.021351389586925507, -0.19365571439266205, 0.01904144510626793, 0.594395637512207, 0.750914990901947, 0.036397431045770645, 0.30230021476745605, -0.6184764504432678, 0.47735047340393066, 0.18536390364170074, 0.6223419308662415, -0.1514255255460739, -0.18743428587913513, -0.34000539779663086, 0.004083320498466492, -0.13115669786930084, -1.1807891130447388, 0.8400777578353882, 0.12905414402484894, 0.6879033446311951, 0.4549109935760498, 0.13787150382995605, 0.6566163301467896, -0.491871178150177, 0.35459572076797485, -0.27518582344055176, -0.8575118184089661, 0.6791673302650452, -0.5236525535583496, -0.06356684118509293, -0.14714987576007843, 0.4945412874221802, -0.1337316781282425, -0.6396552920341492, -0.5671132206916809, -0.6726722717285156, 0.4370310306549072, -0.0641612559556961, -0.3767258822917938, -0.09297437965869904, 0.10802420228719711, 0.405462384223938, 0.2681691646575928, -0.573988139629364, 0.007017223164439201, 0.24720172584056854, -0.2526402771472931, -0.43952372670173645, -0.06832293421030045, -0.24490410089492798, -0.20584169030189514, 0.7829029560089111, -0.36880844831466675, 0.2496856451034546, 0.16233906149864197, -0.26203352212905884, -0.529570460319519, 0.0789169892668724, 0.3209978938102722, 0.9358157515525818, -0.3682992458343506, 0.24036464095115662, -0.032990843057632446, 0.19633261859416962, 0.02768995426595211, 0.23903189599514008, -0.12850165367126465, 0.26621702313423157, 0.43649834394454956, 0.7710919380187988, 0.24117544293403625, -0.9757145047187805, 0.10620593279600143, 0.1841239482164383, -0.10914436727762222, -0.6060585379600525, 0.2795988619327545, -0.05508608743548393, 0.5499504804611206, 0.596933126449585, -0.11438606679439545, 0.290446013212204, -0.7992894053459167, 0.5245418548583984, 0.7713017463684082, 0.18425986170768738, -0.2807905972003937, 0.9460957050323486, -0.24508216977119446, -0.7414185404777527, 0.3224145472049713, -0.23175399005413055, -0.6234936118125916, 0.8612818121910095, 0.4892190098762512, 0.9138188362121582, -0.2932291626930237, 0.39666157960891724, 0.17625129222869873, 0.18230852484703064, -0.47697553038597107, 0.3217901587486267, -0.012944351881742477, -0.7797699570655823, -0.03673413768410683, -0.554021418094635, -0.46092480421066284, 0.18635837733745575, -0.5499367117881775, 0.5025482773780823, -0.02787581831216812, -0.04396672919392586, 0.2369263768196106, 0.06942326575517654, -0.9150204062461853, 0.1782434582710266, -0.0760844424366951, 0.7646355628967285, -1.0182143449783325, 0.7577129602432251, 0.4262999892234802, -0.08064815402030945, -0.520050585269928, -0.24936281144618988, 0.07980170100927353, -1.0447065830230713, 0.7007318139076233, -0.03842240199446678, 0.2234058976173401, -0.09807167947292328, -0.551389217376709, -0.9534152150154114, 0.8039427399635315, 0.06313084810972214, -0.8869843482971191, 0.2646695673465729, 0.2062826156616211, 0.7023147344589233, -0.7184725999832153, 0.4901820719242096, 0.6845670938491821, 0.2992534637451172, -0.3506467342376709, -0.9581219553947449, -0.043699391186237335, -0.15538573265075684, 0.11550458520650864, 0.19969667494297028, -0.053160279989242554, 0.7648186683654785, -0.393012136220932, -0.03961719200015068, 0.23616230487823486, 0.5610122084617615, 0.4295349717140198, 0.7048045992851257, 0.4868687689304352, 0.32097408175468445, 0.8741194605827332, 0.1383027732372284, 0.8082473874092102, -0.2662551701068878, 0.47876036167144775, 0.8086287379264832, -0.6093586683273315, 0.9450562596321106, 0.062478598207235336, -0.4489125609397888, 0.20568054914474487, 0.8774297833442688, -0.11941710114479065, 0.4024977385997772, 0.6099459528923035, -0.12843996286392212, -0.48429444432258606, 0.1660938858985901, -0.10900551825761795, 0.10644343495368958, 0.3793744146823883, -0.48771923780441284, -0.2217050939798355, -0.09604140371084213, -0.1816013753414154, 0.3499627411365509, -0.2677062451839447, 0.6921889185905457, -0.06633055210113525, -0.6923153400421143, 0.4693475365638733, 0.1470528095960617, 0.2355407476425171, -0.4942144453525543, -0.20502984523773193, -0.19530250132083893, 0.3502589762210846, 0.049334459006786346, -0.6106257438659668, 0.23022709786891937, -0.02681022323668003, -0.2736310362815857, -0.2015029937028885, 0.7322736978530884, -0.7199844717979431, -0.9656772017478943, 0.3605952560901642, 0.6889916658401489, 0.3551325500011444, -0.08924733102321625, -0.3722272217273712, -0.06214561685919762, -0.2057914137840271, -0.24669282138347626, 0.058709923177957535, 0.5876178741455078, -0.47036489844322205, 1.0204654932022095, 0.45682767033576965, 0.12366586923599243, 0.04938632994890213, 0.0896555483341217, 0.35863399505615234, -0.796494722366333, -0.45038968324661255, -0.6875420808792114, 0.12096764892339706, 0.14859764277935028, 0.3092938959598541, 0.4355218708515167, 0.7203460335731506, 0.7452160120010376, -0.3880217671394348, 1.1578291654586792, 0.15674810111522675, 0.8258138298988342, -0.5265001654624939, 0.39478349685668945, -0.5143944025039673, 0.47096163034439087, -0.2902844548225403, -0.8418110013008118, -0.32241711020469666, 0.8641364574432373, -0.3379429280757904, -0.01943536289036274, 0.5654592514038086, 1.3496580123901367, -0.23618288338184357, -0.0035910531878471375, 0.225486159324646, 0.3046015202999115, 0.3797191381454468, 0.1994827538728714, 0.6650566458702087, -0.0506257601082325, 0.2522631287574768, -0.3086993396282196, -0.660106360912323, -0.32499831914901733, -0.9599425196647644, -0.8547297120094299, -0.8946931958198547, -0.45055854320526123, -0.030573157593607903, 0.25889164209365845, 1.088600516319275, 0.7840792536735535, -0.9109400510787964, -0.6532419323921204, -0.2676839232444763, 0.19757165014743805, -0.4547475576400757, -0.314932256937027, 0.25991007685661316, -0.3325902819633484, -0.6760967373847961, 0.5552860498428345, 0.19525189697742462, -0.16214774549007416, -0.4471643269062042, 0.020292749628424644, 0.24170473217964172, 0.29057320952415466, 0.36293280124664307, 0.2229773998260498, -0.6834208965301514, -0.10243818908929825, 0.18747469782829285, 0.2712893784046173, -0.22074009478092194, 1.0587189197540283, -0.5690082907676697, 0.5316146016120911, 0.417440801858902, 0.5407682657241821, 0.3118438720703125, -0.3459375202655792, 1.0916551351547241, -0.4597707986831665, -0.11329919099807739, 0.18231937289237976, 0.5062419772148132, -0.009270306676626205, -0.19918027520179749, 0.584353506565094, 0.33438265323638916, -0.7325642108917236, -1.1838891506195068, 0.3056710958480835, -0.7996343970298767, -0.47413766384124756, 1.026731014251709, 0.23879899084568024, -0.08399353176355362, -0.21584446728229523, -0.20810410380363464, 0.12979981303215027, -0.2658683955669403, 1.0652073621749878, 0.5300431847572327, -0.11882057785987854, -0.2555203437805176, -0.976324737071991, 0.4498348832130432, 0.1537165641784668, -0.48663821816444397, 0.2647222578525543, 0.2559215724468231, 0.32615652680397034, -0.029030311852693558, 0.5693828463554382, 0.16196146607398987, 0.032082054764032364, -0.1516120582818985, 0.22595982253551483, 0.25546973943710327, -0.5003839731216431, -0.05207689106464386, 0.09582362323999405, -0.022365357726812363, 0.286159485578537 ]
http://arxiv.org/abs/2403.00828v1
http://arxiv.org/pdf/2403.00828v1
Deep Learning Detection Method for Large Language Models-Generated Scientific Content
2024-02-27T19:16:39
2024-02-27T19:16:39
Bushra Alhijawi, Rawan Jarrar, Aseel AbuAlRub, Arwa Bader
cs.CL
cs.CL, cs.AI, cs.LG
Large Language Models (LLMs), such as GPT-3 and BERT, reshape how textual content is written and communicated. These models have the potential to generate scientific content that is indistinguishable from that written by humans. Hence, LLMs carry severe consequences for the scientific community, which relies on the integrity and reliability of publications. This research paper presents a novel ChatGPT-generated scientific text detection method, AI-Catcher. AI-Catcher integrates two deep learning models, multilayer perceptron (MLP) and convolutional neural networks (CNN). The MLP learns the feature representations of the linguistic and statistical features. The CNN extracts high-level representations of the sequential patterns from the textual content. AI-Catcher is a multimodal model that fuses hidden patterns derived from MLP and CNN. In addition, a new ChatGPT-Generated scientific text dataset is collected to enhance AI-generated text detection tools, AIGTxt. AIGTxt contains 3000 records collected from published academic articles across ten domains and divided into three classes: Human-written, ChatGPT-generated, and Mixed text. Several experiments are conducted to evaluate the performance of AI-Catcher. The comparative results demonstrate the capability of AI-Catcher to distinguish between human-written and ChatGPT-generated scientific text more accurately than alternative methods. On average, AI-Catcher improved accuracy by 37.4%.
[ -0.14981374144554138, -1.0260906219482422, 0.49188488721847534, 0.14156189560890198, -0.41881877183914185, 0.40325167775154114, -0.32328134775161743, -0.7016152143478394, 0.07388587296009064, 0.4938097894191742, -0.19362519681453705, -0.7687883973121643, -0.7990257740020752, 0.4876062273979187, -0.6044963002204895, 0.9639508724212646, 0.24025487899780273, -0.05819717049598694, -0.23261673748493195, 0.4146210849285126, -0.24664723873138428, -0.24646762013435364, -0.7395281195640564, -0.39388081431388855, 0.4250485897064209, 0.2504909932613373, 0.41392889618873596, 0.5435188412666321, 0.7803075313568115, 0.3510439991950989, -0.15008316934108734, 0.433845192193985, -0.2321273386478424, 0.22307385504245758, 0.04091667756438255, -0.4038707911968231, -0.0954747200012207, -0.12233079224824905, 0.8592085838317871, 0.15276624262332916, 0.1385926902294159, -0.07659868896007538, 0.18340688943862915, 0.3676668405532837, -0.17692461609840393, 0.36617961525917053, -0.8745237588882446, 0.2868029475212097, -0.43279245495796204, -0.3084094226360321, -0.6542177796363831, -0.15020766854286194, -0.019945694133639336, -0.4444042444229126, 0.4559328258037567, 0.15443198382854462, 0.7252687215805054, 0.18441513180732727, -0.41444236040115356, -0.4647705554962158, -0.4201982021331787, 0.8116334676742554, -0.9137807488441467, 0.16827858984470367, 0.3070681691169739, 0.13346338272094727, -0.45193952322006226, -0.6748889088630676, -1.1853803396224976, -0.4527803361415863, -0.17832191288471222, 0.21924355626106262, -0.046810299158096313, -0.19871950149536133, 0.008408721536397934, 0.025280889123678207, -0.9843306541442871, 0.36391469836235046, -0.25442832708358765, -0.1491614282131195, 0.6295892000198364, -0.04960981756448746, 0.4441179037094116, -0.3583289086818695, -0.16672803461551666, -0.3940839171409607, -0.5920114517211914, -0.21684321761131287, 0.27395549416542053, 0.15948358178138733, 0.06896641850471497, 0.6047295928001404, 0.13059741258621216, 0.23329868912696838, -0.21879498660564423, -0.19113686680793762, 0.2531055212020874, -0.2090311050415039, -0.031149493530392647, 0.3493652939796448, 1.2832344770431519, 0.10122829675674438, 0.24265743792057037, 0.1274760216474533, 0.026107972487807274, -0.05383792519569397, -0.14162395894527435, -0.9336898326873779, -0.3153579533100128, -0.10382341593503952, -0.6661749482154846, -0.5339162945747375, -0.09639724344015121, -0.6295986175537109, -0.7380567193031311, 0.016960011795163155, -0.04811495915055275, -0.49387112259864807, -0.39231741428375244, 0.18338793516159058, 0.01589309051632881, 0.20077592134475708, 0.23737847805023193, -0.8062645792961121, -0.0034324571024626493, 0.8589573502540588, 1.1194894313812256, -0.2882130742073059, -0.13844239711761475, -0.4269806146621704, 0.09393662214279175, -0.06335091590881348, 1.0967004299163818, -0.5724614262580872, -0.21512925624847412, -0.28548771142959595, -0.1165228933095932, 0.07047662138938904, -0.3040800392627716, 0.4889328181743622, -0.6695366501808167, 0.2303808331489563, 0.24899955093860626, -0.7953725457191467, -0.3558267056941986, 0.3835233747959137, -0.6505173444747925, 0.8605945110321045, -0.39091524481773376, -0.8406803607940674, 0.5455958843231201, -0.6584975123405457, -0.5104921460151672, 0.4573281705379486, -0.25598856806755066, -0.9296853542327881, -0.33776628971099854, 0.4012854993343353, 0.6606229543685913, -0.1795715093612671, 0.578781247138977, -0.40716153383255005, -0.3582667410373688, 0.5469301342964172, -0.9631903767585754, 0.6827570199966431, 0.3682008683681488, -0.26363125443458557, 0.06838510185480118, -0.7566030621528625, -0.16311021149158478, 0.20470833778381348, -0.43431469798088074, -0.3729284703731537, 0.299293577671051, 0.22822539508342743, -0.09944556653499603, 0.12027544528245926, -0.9968879222869873, 0.298951655626297, -0.30452606081962585, 0.5070796012878418, 0.522098183631897, 0.04628615081310272, 0.013626900501549244, 0.06706445664167404, 0.2386041134595871, -0.039054255932569504, -0.1204589307308197, -0.31278344988822937, -0.7095133662223816, -0.3468022346496582, -0.48167306184768677, 0.1935904622077942, 0.564206600189209, -0.7132375240325928, 0.801148533821106, -0.01663186401128769, -0.5352146029472351, -0.5421319603919983, 0.10512476414442062, 0.2973988652229309, 0.421171635389328, 0.4351530373096466, -0.14301910996437073, -0.43446674942970276, -0.6171839833259583, -0.4189258813858032, -0.07433325797319412, -0.1459536850452423, 0.12996987998485565, 0.7975786924362183, -0.3168758749961853, 0.5950191617012024, -0.3829665780067444, -0.3424421548843384, 0.033304303884506226, 0.43800172209739685, 0.4467223286628723, 0.59296053647995, 0.40764448046684265, -0.9221006035804749, -0.8794622421264648, 0.2752487361431122, -1.0115753412246704, 0.05760439485311508, -0.07891099900007248, 0.2353462427854538, 0.14494159817695618, 0.693992555141449, -0.6830790638923645, 0.29000186920166016, 0.3642212748527527, -0.3958994746208191, 0.4923725724220276, -0.148626908659935, 0.22400817275047302, -0.9418574571609497, 0.162643164396286, 0.2017473429441452, -0.2962963879108429, -0.38759714365005493, -0.06308910250663757, 0.14823660254478455, -0.07467170804738998, -0.3067590594291687, 0.5383639335632324, -0.3012332320213318, 0.3763425648212433, -0.5890805721282959, -0.023916326463222504, 0.09161657840013504, -0.019450457766652107, 0.3442534804344177, 0.7465588450431824, 0.22109954059123993, -0.32860857248306274, 0.38211601972579956, 0.31672289967536926, -0.5855012536048889, 0.21298950910568237, -0.6805298328399658, 0.18221233785152435, -0.3114889860153198, 0.4891429543495178, -1.0963431596755981, -0.20575039088726044, 0.405944287776947, -0.6522156000137329, 0.34759530425071716, -0.016215315088629723, -0.8032363057136536, -0.3775745630264282, -0.2459731251001358, 0.38250023126602173, 0.2915092408657074, -0.4770241379737854, 0.39696627855300903, 0.09804630279541016, -0.5002870559692383, -0.6981931924819946, -0.6846062541007996, 0.4423535168170929, 0.0167501550167799, -0.5243273377418518, 0.23912853002548218, -0.09987045079469681, -0.07047943025827408, 0.0984988883137703, 0.09330534189939499, 0.005656518507748842, 0.14415836334228516, 0.03374005854129791, 0.2573891580104828, -0.3370463252067566, 0.1617821753025055, 0.3160742521286011, -0.04322657734155655, -0.023716462776064873, -0.21734261512756348, 0.7052619457244873, -0.152548149228096, -0.35796597599983215, -0.626789927482605, 0.3549466133117676, 0.48027509450912476, -0.23222289979457855, 0.7390100955963135, 1.0938390493392944, -0.1842387616634369, 0.02427135407924652, -0.489013671875, -0.3256073296070099, -0.5183089971542358, 0.5726484656333923, -0.09339474141597748, -0.8867580890655518, 0.2340250462293625, 0.27848517894744873, -0.02835831791162491, 0.5554944276809692, 0.5134971737861633, -0.23846955597400665, 1.1841849088668823, 0.42187780141830444, -0.15779978036880493, 0.4694928228855133, -0.05691654607653618, 0.47504791617393494, -0.5996009707450867, -0.3544299006462097, -0.8095139861106873, -0.11827730387449265, -0.5212554335594177, -0.14989420771598816, 0.21183648705482483, -0.17282941937446594, -0.3783068358898163, 0.20243804156780243, -1.014373540878296, 0.6987576484680176, 0.7852782011032104, 0.19997915625572205, 0.673577606678009, 0.16721533238887787, 0.08542601019144058, 0.026551295071840286, -0.32769614458084106, -0.6751922369003296, 1.1119369268417358, 0.3474881649017334, 0.6973066329956055, -0.10740545392036438, 0.5691449046134949, 0.514645516872406, 0.5402327179908752, -0.6869004368782043, 0.41205963492393494, -0.2398843616247177, -0.431178480386734, -0.2819870710372925, -0.4841533899307251, -1.0725078582763672, 0.4540538787841797, -0.4940606951713562, -0.459400475025177, -0.1630590260028839, -0.08232332020998001, -0.08535937964916229, 0.4440838396549225, -0.6789884567260742, 0.562279999256134, -0.289268434047699, -0.09465166926383972, -0.25760143995285034, -0.4307445287704468, 0.39454203844070435, -0.19195933640003204, 0.14488071203231812, -0.21469815075397491, 0.202370285987854, 0.8037391304969788, 0.11462408304214478, 0.967753529548645, -0.11022932082414627, -0.1283867508172989, 0.32763704657554626, 0.10664303600788116, 0.68947833776474, 0.4229806959629059, -0.016708340495824814, 0.323912650346756, -0.12181336432695389, -0.21430763602256775, -0.027398731559515, 0.6432257890701294, -0.7381656169891357, -0.5091195702552795, -0.7184361815452576, -0.6606382131576538, 0.28640326857566833, 0.6624617576599121, 0.2613030672073364, -0.09373965859413147, -0.03695405647158623, 0.47059130668640137, 0.6794732213020325, -0.5870146155357361, 0.6449228525161743, 0.7892863750457764, 0.003647773526608944, -0.2167890965938568, 0.8439651727676392, -0.3052651882171631, -0.21857531368732452, 0.5334340929985046, 0.2692188620567322, -0.1765294224023819, -0.9764547348022461, -0.22644484043121338, 0.15554334223270416, -0.3168588876724243, -0.5563807487487793, -0.9327316880226135, -0.4318966865539551, -0.5675598382949829, -0.013345293700695038, -0.11727192252874374, 0.06553570926189423, -0.48372408747673035, 0.0485316701233387, 0.5101904273033142, 0.44350361824035645, 0.19701199233531952, 0.4451489746570587, -0.9353333711624146, 0.29715943336486816, -0.12559276819229126, 0.11027783155441284, 0.059404727071523666, -0.2856875956058502, -0.013115567155182362, 0.0772104412317276, -0.37559500336647034, -0.4450429379940033, 0.7780060172080994, 0.20682194828987122, 0.2992734909057617, 0.5318169593811035, -0.2602488398551941, -0.0011197056155651808, -0.48808151483535767, 0.6349136233329773, 0.2864401936531067, -0.6889472603797913, 0.4120049774646759, -0.4154461920261383, 0.3074263334274292, 0.2632100284099579, 0.29521581530570984, -0.621738612651825, -0.6109906435012817, -0.18444311618804932, -0.6770122051239014, 0.3711278438568115, 0.03049156442284584, 0.17579154670238495, -0.1586211919784546, 0.22139234840869904, 0.3738943040370941, 0.1911858320236206, -1.099299430847168, 0.20020586252212524, -0.17805922031402588, -0.47247669100761414, -0.08596961200237274, 0.006402045022696257, 0.19289752840995789, -0.1345488280057907, 0.7458595037460327, -0.18392416834831238, 0.25421324372291565, 0.14499406516551971, -0.1424860656261444, 0.09318343549966812, 0.1357908993959427, 0.5729997158050537, 0.17017081379890442, -0.17937126755714417, 0.1745835840702057, -0.27821940183639526, -0.9400587677955627, -0.04799482226371765, 0.3188084065914154, -0.4876892566680908, -0.061072345823049545, 0.6851087212562561, 0.4309622645378113, -0.27691414952278137, -0.7168578505516052, 0.42039626836776733, -0.16370777785778046, -0.2574767470359802, -0.32110145688056946, 0.16667307913303375, -0.040481407195329666, 0.5102092027664185, 0.6121063828468323, 0.2491329461336136, 0.37016260623931885, -0.3626985549926758, 0.19943834841251373, 0.692257285118103, -0.04769088700413704, -0.1469721496105194, 0.6434247493743896, -0.04503145068883896, -0.22034096717834473, 0.7483201622962952, 0.0005223356420174241, -0.49549993872642517, 0.8268965482711792, 0.7234800457954407, 0.6695371270179749, -0.035524964332580566, 0.3114856481552124, 0.17269764840602875, 0.2752329111099243, 0.049543511122465134, 0.0712701827287674, -0.05757748335599899, -0.8656620979309082, -0.6619290113449097, -0.7252481579780579, -0.30101096630096436, 0.4535958766937256, -0.14367838203907013, 0.2076999396085739, -0.3014468252658844, 0.06906569749116898, 0.4456680715084076, 0.1546347737312317, -0.6067953109741211, -0.12335377931594849, 0.2778584659099579, 0.6262583136558533, -0.8225613832473755, 0.8229784965515137, 0.2507621645927429, -0.3308910131454468, -0.4046810567378998, -0.18174047768115997, 0.04979785904288292, -0.8721848130226135, 0.5796153545379639, 0.2834075689315796, -0.028683476150035858, 0.037868253886699677, -0.9316562414169312, -0.8402718901634216, 0.8574610352516174, 0.15210644900798798, -0.8204019665718079, 0.2105688899755478, 0.0931968167424202, 0.6174735426902771, -0.08481656759977341, 0.34550929069519043, 0.31169790029525757, 0.7479454278945923, -0.004158482886850834, -0.751130998134613, -0.026093805208802223, -0.39582929015159607, -0.4258410632610321, 0.11962588876485825, -0.5783147215843201, 0.7614733576774597, 0.1147531196475029, -0.0488148108124733, 0.2214241623878479, 0.7499725818634033, 0.5286044478416443, 0.42153283953666687, 0.21819312870502472, 0.24340103566646576, 0.992996335029602, 0.014433912932872772, 0.7563633322715759, 0.1504381150007248, 0.45587074756622314, 0.7987914681434631, -0.4669141471385956, 0.6600484848022461, 0.3645949959754944, -0.03965175524353981, 0.47568243741989136, 0.5568752288818359, -0.7365090847015381, 0.505768895149231, 0.26522091031074524, -0.5379014015197754, 0.04404545575380325, -0.17034903168678284, -0.5016649961471558, 0.5712988972663879, 0.5716111063957214, -0.503938615322113, -0.07575317472219467, 0.423052042722702, 0.2507575452327728, 0.10548118501901627, -0.1901945322751999, 0.7811727523803711, 0.17282801866531372, -0.650759220123291, 0.34208422899246216, 0.13439376652240753, 0.9969193935394287, -0.39887735247612, -0.23359709978103638, 0.004272032994776964, 0.4620206654071808, -0.2505834102630615, -1.044682502746582, 0.04223271459341049, 0.15947574377059937, -0.13768959045410156, 0.04745260253548622, 1.0667954683303833, -0.5471515655517578, -0.6199687719345093, 0.11511069536209106, 0.17836350202560425, 0.28694596886634827, -0.13758224248886108, -0.5741979479789734, -0.019871070981025696, -0.14935101568698883, -0.4932134747505188, 0.17057250440120697, 0.4303862750530243, -0.042850058525800705, 0.6020840406417847, 1.0003437995910645, 0.06355711817741394, 0.009902875870466232, 0.0647503063082695, 0.6530209183692932, -0.5044952034950256, -0.38092243671417236, -1.0477714538574219, 0.00989642646163702, -0.3757554292678833, -0.020257355645298958, 0.7949594259262085, 0.6851733326911926, 0.7014670968055725, -0.23822656273841858, 1.0395427942276, -0.04188186302781105, 0.3568130135536194, -0.5360345840454102, 1.1914165019989014, -0.14579838514328003, 0.18123255670070648, -0.35356244444847107, -0.8263626098632812, -0.8802223205566406, 0.7043424248695374, -0.10413286834955215, -0.1799042522907257, 0.7324126958847046, 0.5888205170631409, -0.10831210017204285, 0.1432267278432846, -0.006243405397981405, 0.22999022901058197, 0.8051342964172363, 0.3433718681335449, 0.7817916870117188, -0.317423939704895, 0.6275317668914795, 0.09683717787265778, -0.16292919218540192, -0.1906481236219406, -1.0462592840194702, -1.1510629653930664, -0.27820995450019836, -0.30071794986724854, -0.2666665017604828, -0.024106301367282867, 0.5897433161735535, 0.5744948983192444, -1.0038211345672607, 0.12528003752231598, -0.29907190799713135, 0.08689620345830917, -0.1745501309633255, -0.2923058867454529, 0.7964125275611877, -0.21458221971988678, -0.7118239402770996, 0.5501719117164612, 0.18924134969711304, 0.00487428018823266, -0.20967397093772888, 0.17667889595031738, -0.3967253565788269, -0.08277643471956253, 0.642733097076416, 0.276862233877182, -0.4711693227291107, -0.2852812707424164, 0.08301365375518799, -0.17039579153060913, 0.003487466601654887, 0.578151524066925, -0.602901816368103, 0.24871879816055298, 0.5392076373100281, 0.7276857495307922, 0.8717788457870483, -0.3434976041316986, 0.17881576716899872, -0.6920045018196106, 0.23452895879745483, 0.5520415306091309, 0.31478098034858704, 0.3094639480113983, -0.7316315174102783, 0.34035372734069824, 0.27202191948890686, -0.9032158255577087, -0.8377320766448975, -0.14454619586467743, -0.9559504985809326, -0.5361199975013733, 0.8204615712165833, -0.08068273961544037, -0.17943315207958221, -0.0774681493639946, -0.2559686303138733, 0.3666672110557556, -0.5979582071304321, 1.1188040971755981, 0.560147225856781, 0.018466051667928696, -0.2470623403787613, -0.520015299320221, 0.26836976408958435, 0.2226806879043579, -0.7290674448013306, -0.24067015945911407, 0.32274332642555237, 0.14453142881393433, 0.1902778297662735, 0.33181846141815186, -0.1611170917749405, 0.16529220342636108, -0.06335284560918808, 0.2761511206626892, -0.35666173696517944, -0.3017965853214264, 0.103152796626091, 0.2334236353635788, -0.21122266352176666, 0.08433225750923157 ]
http://arxiv.org/abs/2403.00827v1
http://arxiv.org/pdf/2403.00827v1
Self-Refinement of Language Models from External Proxy Metrics Feedback
2024-02-27T19:13:01
2024-02-27T19:13:01
Keshav Ramji, Young-Suk Lee, Ramón Fernandez Astudillo, Md Arafat Sultan, Tahira Naseem, Asim Munawar, Radu Florian, Salim Roukos
cs.CL
cs.CL, cs.AI, cs.LG
It is often desirable for Large Language Models (LLMs) to capture multiple objectives when providing a response. In document-grounded response generation, for example, agent responses are expected to be relevant to a user's query while also being grounded in a given document. In this paper, we introduce Proxy Metric-based Self-Refinement (ProMiSe), which enables an LLM to refine its own initial response along key dimensions of quality guided by external metrics feedback, yielding an overall better final response. ProMiSe leverages feedback on response quality through principle-specific proxy metrics, and iteratively refines its response one principle at a time. We apply ProMiSe to open source language models Flan-T5-XXL and Llama-2-13B-Chat, to evaluate its performance on document-grounded question answering datasets, MultiDoc2Dial and QuAC, demonstrating that self-refinement improves response quality. We further show that fine-tuning Llama-2-13B-Chat on the synthetic dialogue data generated by ProMiSe yields significant performance improvements over the zero-shot baseline as well as a supervised fine-tuned model on human annotated data.
[ -0.31516969203948975, -0.5082935690879822, 0.6653923988342285, -0.013655541464686394, 0.004268107935786247, 0.3425482511520386, -0.13544894754886627, -0.4951062798500061, 0.3895987868309021, 0.7380220293998718, -0.7250871062278748, -0.48518043756484985, -0.21709086000919342, 0.15491893887519836, -0.4085839092731476, 0.9782801866531372, 0.09288220852613449, 0.11871686577796936, -0.2084520161151886, -0.2443884313106537, -0.6311768889427185, -0.2963842451572418, -0.7363294363021851, -0.2183723747730255, 0.4909093677997589, 0.6763099431991577, 0.7210100889205933, 0.7730364799499512, 0.4049285650253296, 0.3516780138015747, 0.2793017029762268, 0.19435258209705353, -0.6500089168548584, 0.20078082382678986, -0.4526086747646332, -0.6279333233833313, -0.4984070956707001, 0.11083566397428513, 0.5578634142875671, 0.47494736313819885, -0.07769345492124557, 0.48723873496055603, 0.25439512729644775, 0.5832063555717468, -0.2285510152578354, 0.24019160866737366, -0.7141196727752686, -0.3061160743236542, 0.11175467073917389, -0.08015532046556473, -0.24700582027435303, -0.21699583530426025, 0.06336183100938797, -0.6755449175834656, 0.7402582764625549, 0.04923401027917862, 0.9218499660491943, 0.3125952482223511, -0.04754439741373062, -0.30077898502349854, -0.6670824885368347, 0.511890709400177, -0.9267358779907227, 0.4090729355812073, 0.341495543718338, 0.45954495668411255, -0.4747816026210785, -0.857403039932251, -0.48763737082481384, -0.35618990659713745, -0.2220153659582138, 0.14478833973407745, 0.19513148069381714, 0.09416135400533676, -0.04403473809361458, 0.5026643872261047, -0.3078113794326782, 0.33999550342559814, -0.5043261051177979, -0.4250362515449524, 0.6594694256782532, 0.20501820743083954, -0.10320846736431122, -0.0011981078423559666, -0.1546546369791031, -0.16385607421398163, -0.6952402591705322, 0.21435698866844177, 0.4588983356952667, 0.7611852884292603, 0.05917781963944435, 0.5076444149017334, -0.7090166807174683, 0.2498323619365692, 0.10339446365833282, -0.263306200504303, 0.1797599494457245, -0.37998104095458984, 0.09062571078538895, -0.2876995801925659, 0.7408462762832642, 0.35194820165634155, 0.11226508766412735, -0.07822408527135849, -0.38182345032691956, 0.08225837349891663, 0.4193425178527832, -0.7364705801010132, 0.07788492739200592, 0.5574641227722168, -0.5377572774887085, -0.10677090287208557, -0.08365984261035919, -0.7237856984138489, -0.2035631239414215, -0.4875211715698242, 0.29710501432418823, -0.20240843296051025, -0.3174237012863159, 0.08114197105169296, 0.21502785384655, 0.11274862289428711, 0.5405747294425964, -0.5784950852394104, 0.5157991647720337, 0.7566992044448853, 0.8012067079544067, 0.1428157538175583, -0.2869938313961029, -0.8282678127288818, -0.16693666577339172, -0.5562450289726257, 0.8065218329429626, -0.3370770812034607, -0.361614853143692, 0.2743304967880249, 0.014440436847507954, 0.32424819469451904, -0.34869781136512756, 0.6253156065940857, -0.37733685970306396, 0.26740890741348267, -0.21625906229019165, -0.4973048269748688, 0.00455891527235508, 0.2943360209465027, -0.5624313950538635, 1.0166212320327759, 0.0836493968963623, -0.45009738206863403, 0.1004224643111229, -0.5502528548240662, -0.15299920737743378, -0.09062733501195908, -0.182164266705513, -0.18498677015304565, 0.4972677230834961, 0.1915615200996399, 0.2465635985136032, -0.6497207283973694, 0.2671886682510376, -0.5175235867500305, -0.2196195423603058, 0.22735804319381714, -0.25558432936668396, -0.029754120856523514, 0.4104692041873932, -0.1675792634487152, 0.3370349705219269, -1.017327070236206, 0.3264142572879791, 0.16757631301879883, -0.08976906538009644, 0.036810316145420074, 0.12490428239107132, -0.3966778814792633, 0.28266045451164246, 0.3247382938861847, -0.7897322773933411, 0.06304764747619629, -0.7347795963287354, 0.3734898567199707, 0.7088895440101624, -0.2769933342933655, 0.2168733775615692, -0.43725472688674927, 0.44626978039741516, -0.16443808376789093, 0.12211983650922775, -0.6408842206001282, -0.3438263237476349, -0.9826967120170593, -0.11925414204597473, 0.22470822930335999, 0.12556788325309753, -0.4953521192073822, 0.011413284577429295, -0.3143256902694702, -0.4335289001464844, -1.249617099761963, 0.2815980017185211, 0.57156902551651, 0.6704638600349426, 0.4536841809749603, -0.3896699845790863, -0.19735130667686462, -1.0729758739471436, -0.2580901086330414, -0.6331326961517334, -0.10175908356904984, 0.21922096610069275, 0.2062397599220276, 0.07352445274591446, 1.211603045463562, -0.4959935247898102, -0.5202975869178772, 0.03478151187300682, 0.16680288314819336, 0.15043388307094574, 0.2925463914871216, 0.3785379230976105, -0.40238597989082336, -0.3830474615097046, -0.14006307721138, -0.3566236197948456, -0.538806676864624, -0.09170155227184296, 0.06994215399026871, 0.2510659098625183, 0.5918205380439758, -0.4669893682003021, 0.39772829413414, 0.5423918962478638, -0.2707558870315552, 0.5446149706840515, -0.30817943811416626, 0.17393730580806732, -1.0951467752456665, -0.04818161576986313, -0.18663905560970306, -0.3736034333705902, -0.5893861055374146, 0.32812291383743286, 0.0483689047396183, -0.12242735177278519, -0.40912750363349915, 0.958125650882721, -0.3508962392807007, -0.13292759656906128, -0.7087647914886475, 0.39296817779541016, 0.12865199148654938, 0.31434181332588196, -0.04253575950860977, 0.7351782321929932, 0.41181981563568115, -0.5799007415771484, 0.25868740677833557, 0.23429547250270844, 0.06715711951255798, 0.41195058822631836, -0.8985018134117126, 0.42089933156967163, -0.22976164519786835, 0.3322784900665283, -1.363816261291504, -0.10319705307483673, 0.16040721535682678, -0.5345495343208313, -0.037386998534202576, -0.2134985327720642, -0.5494413375854492, -0.5311883687973022, -0.28225967288017273, 0.1065969318151474, 0.3340376913547516, -0.7221693396568298, 0.6055889129638672, -0.028405241668224335, -0.036354243755340576, -0.4257698357105255, -0.4140297472476959, -0.02648618072271347, -0.01157582737505436, -0.611737072467804, 0.3522704541683197, -0.3504992425441742, -0.17287832498550415, -0.07664821296930313, -0.17934033274650574, 0.2042909860610962, -0.07387024909257889, 0.3202953636646271, -0.08339979499578476, -0.17258217930793762, 0.29156455397605896, -0.060201145708560944, -0.2713432013988495, 0.03166868910193443, -0.42370134592056274, 0.6535905599594116, -0.14696325361728668, -0.47141650319099426, -0.4899430572986603, 0.2112164944410324, 0.634685218334198, -0.45837709307670593, 0.5778157114982605, 0.4342692196369171, -0.06774595379829407, -0.1371936947107315, -0.9694427251815796, -0.5293749570846558, -0.5358251929283142, -0.04161250963807106, -0.8854313492774963, -1.1634094715118408, 0.9180088639259338, -0.08376295864582062, 0.1769091933965683, 0.47051382064819336, 0.40970396995544434, 0.045444000512361526, 0.8606815338134766, 0.6770870089530945, -0.08327378332614899, 0.18710047006607056, -0.06500670313835144, 0.051063962280750275, -0.6541274189949036, -0.09988779574632645, -0.8527180552482605, -0.02118060737848282, -0.8281997442245483, -0.2560425400733948, -0.003457837738096714, -0.027330253273248672, -0.01967857964336872, 0.2664632797241211, -0.2381017804145813, 0.2309747040271759, 0.5926361680030823, -0.06381616741418839, 0.31017398834228516, -0.0683053731918335, -0.34864258766174316, -0.07927464693784714, -0.3764105439186096, -0.6472790837287903, 1.0594452619552612, 0.8052589297294617, 0.8474525809288025, 0.06337040662765503, 0.7793267965316772, 0.08943920582532883, 0.3251647353172302, -0.5225476622581482, 0.5892471671104431, 0.04651439189910889, -0.45552751421928406, -0.19586996734142303, -0.5285927653312683, -0.784758985042572, 0.3959536552429199, -0.015324710868299007, -0.6753553152084351, -0.1589168906211853, 0.24496877193450928, -0.25227925181388855, -0.10112737864255905, -0.5618715882301331, 0.5806143283843994, -0.10129047185182571, -0.39456233382225037, -0.4713239073753357, -0.4684409499168396, 0.035686030983924866, -0.2328086495399475, 0.1880725920200348, -0.6514809131622314, 0.13731108605861664, 0.30743128061294556, -0.6747618913650513, 1.0108222961425781, -0.13151563704013824, -0.4641529321670532, 0.5369440913200378, 0.3671621084213257, 0.5187033414840698, 0.29699796438217163, -0.16952039301395416, 0.11917149275541306, 0.12001938372850418, -0.2452615201473236, -0.8970608711242676, 0.8295230269432068, -0.641545832157135, -1.134966254234314, -0.07613696902990341, -0.3184413015842438, -0.341373473405838, 0.2644024193286896, -0.012762508355081081, 0.4536649286746979, -0.13975246250629425, 0.014947446063160896, 0.10021620988845825, -0.20650018751621246, 0.41806191205978394, 1.270339012145996, -0.555536687374115, -0.49307626485824585, 0.5114401578903198, 0.02382293902337551, 0.5251405835151672, 0.14556071162223816, 0.3609370291233063, -0.6514438986778259, -0.36571210622787476, -0.31039851903915405, 0.43087413907051086, -0.6744111180305481, -0.43981197476387024, -0.2956570088863373, -0.24569745361804962, -0.7302129864692688, 0.17918971180915833, -0.8461683392524719, -0.4607868790626526, -0.25199100375175476, -0.12655915319919586, 0.3346171975135803, 0.6301754117012024, -0.12576135993003845, 0.5321480631828308, -0.8274475336074829, 0.4210880696773529, -0.01143310684710741, 0.627524733543396, -0.21014630794525146, -0.879917562007904, -0.10513785481452942, 0.3088688254356384, -0.2036437839269638, -0.5234106779098511, 0.39707085490226746, 0.3205224275588989, 0.46247220039367676, 0.20158298313617706, 0.17557509243488312, 0.7436274886131287, -0.7377116084098816, 0.7368916273117065, -0.03501687943935394, -0.8242394924163818, 0.7973232865333557, -0.26802682876586914, 0.43173110485076904, 0.6192864179611206, 0.16128304600715637, -0.486386775970459, -0.8257006406784058, -0.5339833498001099, -0.6149525046348572, 0.5988218188285828, 0.24163176119327545, 0.5278408527374268, -0.05713299661874771, 0.8904610276222229, 0.26590093970298767, 0.27480125427246094, -0.5249434113502502, -0.17146627604961395, -0.20221397280693054, -0.09732401371002197, -0.1339147835969925, -0.1938520222902298, -0.1867399662733078, 0.12226755172014236, 0.6151076555252075, -0.6887810230255127, 0.16460473835468292, 0.3196529448032379, 0.29203730821609497, -0.27017074823379517, 0.3160422742366791, 0.32125556468963623, 0.638641893863678, -0.05761593207716942, -0.11568037420511246, 0.025062320753932, -0.042955994606018066, 0.27644655108451843, 0.047696348279714584, -0.06274502724409103, -0.13145479559898376, 0.21511264145374298, 0.5485069751739502, -0.09614778310060501, -0.5083602666854858, 0.21037817001342773, -0.2985863983631134, 0.0041625299490988255, -0.22339674830436707, 0.1836228370666504, -0.28992143273353577, 0.40119025111198425, 0.33057576417922974, -0.39032530784606934, 0.13889369368553162, -0.5983024835586548, 0.2753079831600189, 0.44728171825408936, -0.16707433760166168, -0.33279216289520264, 0.7095217108726501, 0.17474786937236786, -0.40802669525146484, 0.536868155002594, -0.09046149253845215, -0.26901090145111084, 0.29375067353248596, 0.9122506976127625, 0.8492136001586914, -0.37535616755485535, 0.5388493537902832, 0.5043637752532959, 0.13085415959358215, -0.09005031734704971, 0.2332385629415512, 0.15934135019779205, -0.8379071354866028, -0.5603580474853516, -0.7460520267486572, -0.31137073040008545, 0.3514648377895355, -0.5748995542526245, 0.15383215248584747, -0.5902402400970459, -0.37531352043151855, -0.25368085503578186, 0.07826605439186096, -0.7307109832763672, 0.3854060769081116, -0.19772900640964508, 0.8169475197792053, -0.43513554334640503, 0.6901225447654724, 0.4954581558704376, -0.5668532848358154, -0.8390082716941833, 0.1073608249425888, 0.06433213502168655, -0.7874571084976196, 0.6680168509483337, 0.35939884185791016, -0.4385994076728821, 0.01636037789285183, -0.3963156044483185, -1.2944133281707764, 0.8578111529350281, 0.5775779485702515, -0.7066030502319336, 0.07551178336143494, 0.5280100107192993, 0.9359880685806274, -0.5017295479774475, 0.4165620803833008, 0.4955996572971344, 0.03814629837870598, 0.1435302048921585, -1.2414416074752808, 0.06693083047866821, -0.13989025354385376, 0.17652180790901184, -0.03718895837664604, -1.0773873329162598, 0.42195215821266174, -0.04573674499988556, -0.23741982877254486, 0.36397239565849304, 1.0644301176071167, 0.07591234147548676, 0.021770738065242767, 0.32198622822761536, 0.6300303936004639, 0.6520847678184509, -0.13528664410114288, 0.926170289516449, -0.5892850160598755, 0.25436899065971375, 1.40053391456604, -0.3511591851711273, 0.9390270709991455, 0.20395135879516602, 0.11113173514604568, 0.456468403339386, 0.5350821018218994, 0.22399351000785828, 0.3591082990169525, 0.28087955713272095, -0.001076974323950708, 0.11174487322568893, -0.34300318360328674, -0.15978945791721344, 0.6367747187614441, 0.35663098096847534, -0.14980971813201904, -0.20847943425178528, -0.11353439837694168, -0.1349489837884903, 0.3403439521789551, -0.32635706663131714, 0.732789158821106, 0.02439238131046295, -1.0173968076705933, 0.5113264322280884, 0.2554619312286377, 0.24824069440364838, -0.4994826018810272, -0.003546680323779583, -0.6702091097831726, 0.27708324790000916, -0.0671263337135315, -0.7052024602890015, 0.1818162351846695, -0.07102018594741821, -0.06589566916227341, -0.12769395112991333, 0.6620513796806335, -0.482580304145813, -0.2437385767698288, 0.6677031517028809, 0.45067352056503296, 0.05217723548412323, -0.04641520604491234, -0.813165545463562, 0.10932774841785431, -0.17840979993343353, -0.15388043224811554, 0.17816320061683655, 0.33810028433799744, 0.10039196163415909, 1.1080865859985352, 0.7199299931526184, 0.09340343624353409, 0.01582796312868595, 0.36259037256240845, 0.9043649435043335, -0.4101603627204895, -0.5468926429748535, -0.5519493222236633, 0.48513373732566833, 0.11660834401845932, -0.1871240735054016, 0.7494309544563293, 0.3982042372226715, 0.956247091293335, 0.054547786712646484, 0.46724313497543335, 0.2973591387271881, 0.9545696377754211, -0.7003478407859802, 0.3847988545894623, -0.5941635966300964, 0.34822916984558105, -0.0903240218758583, -0.9611267447471619, 0.04190497472882271, 0.3576032817363739, -0.09760591387748718, 0.13418595492839813, 0.5169863104820251, 1.0504417419433594, 0.09856685996055603, -0.27321502566337585, 0.36787843704223633, 0.17030777037143707, 0.7083193063735962, -0.12535373866558075, 0.7520747780799866, -0.3660787343978882, 0.5207565426826477, -0.09450263530015945, 0.02262442745268345, -0.051536642014980316, -0.7078020572662354, -0.796590268611908, -0.7470638751983643, -0.42896223068237305, -0.579470694065094, 0.05885741114616394, 0.8351859450340271, 0.7691411375999451, -0.725411057472229, -0.3148030638694763, -0.013927924446761608, -0.29378843307495117, 0.18930847942829132, -0.27598807215690613, 0.20972681045532227, -1.0479034185409546, -0.6611153483390808, 0.7159718871116638, 0.11220267415046692, 0.06338028609752655, -0.5173963904380798, -0.16095633804798126, 0.20797725021839142, 0.3879166543483734, 0.3432283401489258, 0.4387495517730713, -1.0442005395889282, -0.5379989743232727, -0.04245343059301376, -0.11885761469602585, 0.23371487855911255, 0.8815085291862488, -0.9522767663002014, 0.7002997398376465, 0.1669173240661621, 0.7020947337150574, 0.4543807804584503, 0.20665094256401062, 0.8106876611709595, -0.9686434268951416, 0.0533662885427475, -0.17450278997421265, 0.2914867401123047, 0.3802306056022644, -0.4098968505859375, 0.6070964336395264, -0.07051686942577362, -0.5486397743225098, -0.5361745953559875, 0.3231711983680725, -0.4063483774662018, -0.17595668137073517, 1.0613980293273926, -0.31882500648498535, -0.12322430312633514, 0.08509594947099686, -0.34486109018325806, 0.14299625158309937, -0.5955432653427124, 0.8384554982185364, 0.7359257340431213, -0.010743636637926102, -0.289255291223526, -0.5429551005363464, 0.4774242043495178, 0.5179775953292847, -0.8700730204582214, 0.22349290549755096, 0.7222210168838501, 0.36069387197494507, 0.4199579656124115, 0.9024093747138977, -0.1287223845720291, -0.04059452936053276, -0.17931391298770905, -0.03212011232972145, 0.044231582432985306, -0.650648295879364, -0.3049536347389221, 0.14540626108646393, 0.3998730480670929, -0.1035454049706459 ]
http://arxiv.org/abs/2402.17840v2
http://arxiv.org/pdf/2402.17840v2
Follow My Instruction and Spill the Beans: Scalable Data Extraction from Retrieval-Augmented Generation Systems
2024-02-27T19:08:05
2024-06-20T21:32:35
Zhenting Qi, Hanlin Zhang, Eric Xing, Sham Kakade, Himabindu Lakkaraju
cs.CL
cs.CL, cs.AI, cs.CR, cs.LG
Retrieval-Augmented Generation (RAG) improves pre-trained models by incorporating external knowledge at test time to enable customized adaptation. We study the risk of datastore leakage in Retrieval-In-Context RAG Language Models (LMs). We show that an adversary can exploit LMs' instruction-following capabilities to easily extract text data verbatim from the datastore of RAG systems built with instruction-tuned LMs via prompt injection. The vulnerability exists for a wide range of modern LMs that span Llama2, Mistral/Mixtral, Vicuna, SOLAR, WizardLM, Qwen1.5, and Platypus2, and the exploitability exacerbates as the model size scales up. Extending our study to production RAG models GPTs, we design an attack that can cause datastore leakage with a 100% success rate on 25 randomly selected customized GPTs with at most 2 queries, and we extract text data verbatim at a rate of 41% from a book of 77,000 words and 3% from a corpus of 1,569,000 words by prompting the GPTs with only 100 queries generated by themselves.
[ -0.21501798927783966, -0.8032982349395752, 0.5525835156440735, -0.06590424478054047, 0.0660397857427597, 0.13429686427116394, 0.20389829576015472, -0.4681030809879303, -0.08462438732385635, 1.1227631568908691, -0.4153798520565033, -0.03541514277458191, -0.7901589870452881, -0.2361600399017334, -0.6777675151824951, 1.3167544603347778, 0.07305559515953064, -0.21492093801498413, -0.1895243525505066, 0.2158927023410797, -0.8694947361946106, -0.5163456797599792, -0.49627411365509033, 0.30517128109931946, 0.28002044558525085, 0.36779308319091797, 0.7370298504829407, 0.6021752953529358, 0.5563536286354065, 0.295943021774292, 0.08523932099342346, 0.12778683006763458, -0.6582006812095642, 0.5752376317977905, -0.40928131341934204, -0.575023889541626, -0.3344053328037262, -0.044321537017822266, 0.38305017352104187, 0.21896976232528687, -0.14342303574085236, 0.4010171592235565, 0.09114129841327667, 0.7781913876533508, -0.8609707951545715, -0.12403731048107147, -1.0242952108383179, -0.10822966694831848, -0.40071457624435425, -0.3972075283527374, -0.9730443954467773, -0.19609178602695465, 0.05672850459814072, -0.4748431146144867, 0.30387237668037415, 0.12355184555053711, 0.8281059265136719, 0.25203076004981995, -0.05727946013212204, -0.5678259134292603, -0.7408642768859863, 0.7312051057815552, -0.24040180444717407, 0.24418234825134277, 0.4990757703781128, 0.5694897770881653, -0.35113346576690674, -0.946484386920929, -0.32110193371772766, -0.10231227427721024, -0.22286134958267212, -0.09792392700910568, -0.07641912251710892, -0.22541792690753937, 0.5391128063201904, 0.40258780121803284, -0.5989232659339905, -0.2546272575855255, -0.28246021270751953, 0.26939722895622253, 0.46513569355010986, 0.1783670336008072, 0.36446675658226013, -0.4338630437850952, -0.6615113615989685, -0.2789933979511261, -0.8113360404968262, -0.4604973793029785, 0.3090253174304962, 0.4781516492366791, 0.15160107612609863, 0.4572506844997406, 0.32063186168670654, 0.7778854370117188, 0.03704691305756569, 0.15066108107566833, -0.0800822451710701, -0.2531402111053467, -0.3535180687904358, -0.3574298024177551, 0.6574988961219788, -0.17299704253673553, 0.08219793438911438, -0.5583134889602661, -0.5048722624778748, -0.6082273721694946, 0.8271133303642273, -0.8435505032539368, -0.07088369131088257, 0.18749038875102997, -0.13566595315933228, -0.5755353569984436, 0.2255687564611435, -1.2158212661743164, -0.7098388671875, 0.16114801168441772, 0.8475667238235474, -0.42150431871414185, -0.08178921043872833, -0.06732570379972458, -0.3321596086025238, 0.3337959945201874, -0.0928509309887886, -1.0804998874664307, 0.4429558515548706, 0.8399203419685364, 0.8576062917709351, -0.2897966504096985, 0.03159711882472038, -0.8870325088500977, 0.5146867036819458, -0.3851262629032135, 0.5619611740112305, -0.5137374401092529, -0.7664966583251953, 0.01884760893881321, 0.19922351837158203, -0.1421317756175995, -0.7356377243995667, 0.5032854676246643, -1.0187768936157227, 0.20780012011528015, -0.4191715717315674, -0.6830140948295593, 0.28640317916870117, 0.012718944810330868, -0.7820141315460205, 0.7987737059593201, 0.23544734716415405, -0.8463618755340576, 0.2426317185163498, -0.45663905143737793, -0.262683629989624, 0.14263854920864105, -0.2215864062309265, -0.17554940283298492, 0.07663197070360184, 0.28393417596817017, 0.41816800832748413, -0.09154274314641953, -0.10384984314441681, -0.11561208963394165, -0.41999655961990356, 0.2665470838546753, -0.6615869998931885, 0.8171721696853638, 0.1915062963962555, -0.3084487020969391, -0.46182042360305786, -0.6010952591896057, 0.21992184221744537, 0.23078469932079315, -0.1293308585882187, -0.5231738686561584, -0.09058056771755219, -0.14031267166137695, -0.25010451674461365, 0.22954894602298737, -0.2086811512708664, 0.43549931049346924, -0.23518183827400208, -0.16832289099693298, 0.9663510918617249, 0.4975471794605255, 0.5755842328071594, -0.3052205443382263, 0.7345946431159973, -0.23857994377613068, 0.07987990230321884, -0.3527143895626068, -0.17404885590076447, -0.4235813617706299, -0.4084881544113159, 0.34769901633262634, 0.7004212141036987, -1.0915570259094238, 0.01892707683146, -0.25772446393966675, -0.5143744349479675, -0.27349740266799927, 0.05550428107380867, 0.45713016390800476, 0.7530583739280701, 0.3373293876647949, 0.14111527800559998, -0.2221602201461792, -0.6060172915458679, -0.8114022016525269, 0.06434040516614914, -0.3171592354774475, 0.5176581740379333, 0.32052409648895264, -0.21466359496116638, 0.8380082845687866, -0.7475089430809021, -0.08841779083013535, -0.016579553484916687, -0.059657417237758636, 0.3663126528263092, 0.7178093791007996, 0.5440218448638916, -0.74635910987854, -0.4602125585079193, 0.04407916218042374, -0.734181821346283, -0.143785759806633, -0.23365609347820282, -0.42579585313796997, 0.20079028606414795, 0.4663679301738739, -0.7324369549751282, 0.4191620647907257, 0.40085265040397644, -0.3099154829978943, 0.7734665870666504, -0.2777380347251892, 0.20059503614902496, -1.2111626863479614, -0.048296768218278885, -0.37048062682151794, -0.2638068199157715, -0.6180823445320129, 0.4981611669063568, 0.2622283697128296, -0.26054617762565613, -0.25280770659446716, 0.47267481684684753, -0.6515815258026123, -0.3120802938938141, -0.28233182430267334, 0.02834189683198929, 0.18615826964378357, -0.06973868608474731, -0.3056632876396179, 1.211427092552185, 0.39037957787513733, -0.8447914123535156, 0.07427956163883209, 0.27997463941574097, -0.26435932517051697, 0.183663472533226, -0.5900365710258484, 0.5479838848114014, -0.014283002354204655, -0.020938357338309288, -0.492825448513031, -0.3570849597454071, 0.1887878030538559, -0.46782219409942627, 0.9925283193588257, -0.4211914837360382, -0.41532352566719055, -0.023956917226314545, -0.25319749116897583, -0.12791307270526886, 0.5762247443199158, -0.9328505396842957, 0.4449155628681183, 0.45327383279800415, -0.2912778854370117, -0.8117076754570007, -0.8668784499168396, 0.11450833827257156, -0.26570719480514526, -0.4913608431816101, 0.1352677047252655, 0.09592349082231522, -0.18225178122520447, 0.023232830688357353, -0.0462970994412899, -0.13509605824947357, 0.027919650077819824, 0.17635560035705566, 0.41959142684936523, -0.033492494374513626, 0.29034045338630676, 0.1312064528465271, -0.02230675332248211, 0.10892196744680405, -0.1579844355583191, 0.41184699535369873, -0.04545329138636589, -0.5240564346313477, -0.005082142539322376, 0.5167669653892517, 0.32560136914253235, -0.04174055904150009, 0.9452682137489319, 0.3884226083755493, -0.2933442294597626, -0.307893306016922, -0.35558444261550903, -0.341996431350708, -0.6132761240005493, 0.5270767211914062, -0.4610496461391449, -0.2901260256767273, 0.28805312514305115, -0.013177704997360706, 0.15184536576271057, 0.25505468249320984, 0.12502259016036987, -0.06924069672822952, 0.8222395777702332, 0.7352215051651001, -0.05054055526852608, 0.5876070261001587, -0.39041778445243835, -0.08661018311977386, -0.7215015292167664, -0.10454554855823517, -0.5940646529197693, -0.0278164092451334, -0.8477288484573364, -0.743410587310791, 0.20843520760536194, 0.12115779519081116, -0.2601083219051361, 0.4282912015914917, -0.44443461298942566, 0.7988225221633911, 0.23904843628406525, 0.07252811640501022, 0.11342727392911911, 0.22463293373584747, 0.2487054020166397, -0.17722898721694946, -0.5538743734359741, -0.6629367470741272, 1.2222851514816284, 0.2865915894508362, 1.019455909729004, 0.32798171043395996, 0.9501378536224365, 0.5250635147094727, 0.2933618128299713, -0.5716502070426941, 0.43213945627212524, -0.22290779650211334, -0.7685956358909607, -0.17836551368236542, -0.5675769448280334, -0.8847285509109497, 0.15767692029476166, 0.07128001004457474, -0.7927839159965515, 0.3854575753211975, -0.007636728696525097, 0.05409833416342735, 0.3699830174446106, -1.1026217937469482, 0.5998837947845459, -0.10838158428668976, -0.482094943523407, 0.18104445934295654, -0.40876200795173645, 0.46277233958244324, -0.2796803414821625, 0.2537480890750885, 0.3426893353462219, -0.32614269852638245, 0.5927124619483948, -0.5134552121162415, 0.5758986473083496, -0.41214945912361145, 0.07100678980350494, 0.3275974690914154, 0.3942066431045532, 0.9925044775009155, 0.12280864268541336, -0.046345073729753494, -0.20360863208770752, -0.015078634954988956, -0.5882086157798767, -0.7882800698280334, 0.663715124130249, -0.4948575496673584, -0.9078714847564697, -0.4991273283958435, -0.4926213026046753, -0.46008726954460144, 0.13684934377670288, 0.4592379927635193, 0.4253266155719757, -0.0738518014550209, 0.12400344014167786, 1.011918306350708, -0.18599796295166016, 0.4240249991416931, 0.45804405212402344, -0.26962727308273315, -0.2375308871269226, 1.2990769147872925, 0.15500763058662415, 0.7109884023666382, 0.16834984719753265, 0.212535560131073, -0.10170811414718628, -0.398518443107605, -0.7551487684249878, 0.04642178490757942, -0.6444078683853149, -0.4498956501483917, -0.5821981430053711, -0.24097831547260284, -0.21928520500659943, -0.09557120501995087, -0.3959096372127533, -0.34637486934661865, -0.5185064673423767, -0.13241484761238098, 0.5709693431854248, 1.0507651567459106, 0.2261294722557068, 0.37796321511268616, -1.0980982780456543, 0.25966668128967285, 0.30854901671409607, 0.08802887797355652, -0.10772128403186798, -0.8803249001502991, -0.07702858746051788, -0.1102110743522644, -0.34222540259361267, -1.3956525325775146, 0.5480702519416809, 0.03465284779667854, 0.37077540159225464, 0.32632046937942505, 0.02939019724726677, 0.7210955023765564, -0.6906042695045471, 0.7374908328056335, -0.2567359507083893, -0.7712708115577698, 0.4926982820034027, -0.4044365882873535, 0.15022872388362885, 0.4467925429344177, 0.6363847255706787, -0.18351587653160095, -0.5298233032226562, -0.6945231556892395, -0.9479326605796814, 0.6711977124214172, -0.11044199019670486, 0.33714568614959717, -0.1438373476266861, 0.5768822431564331, 0.314413845539093, 0.0857778862118721, -0.3866196274757385, -0.1968628168106079, 0.07306628674268723, -0.022586936131119728, 0.28259050846099854, -0.4168406128883362, -0.05944548919796944, 0.22069522738456726, 0.6365809440612793, 0.10282491147518158, 0.17190803587436676, 0.07782027125358582, -0.25304532051086426, 0.11849013715982437, 0.19193515181541443, 0.15002073347568512, 0.43939632177352905, -0.09933606535196304, 0.10924959927797318, 0.15113620460033417, -0.9746454954147339, 0.05255768075585365, 0.14283780753612518, -0.43213748931884766, 0.07612664997577667, 0.36251527070999146, 0.5832957625389099, 0.10546404868364334, -0.6309347152709961, 0.32267749309539795, -0.17139998078346252, 0.3154231607913971, -0.20879565179347992, 0.05767783150076866, -0.13518951833248138, 0.265972375869751, 0.5762403607368469, 0.0027424627915024757, 0.33009418845176697, -0.3858354687690735, 0.5342485308647156, 0.4903191030025482, -0.24095137417316437, -0.07274312525987625, 0.417631059885025, -0.20656006038188934, -0.08978793025016785, 0.2620827257633209, -0.17036746442317963, -0.20063242316246033, 0.45826485753059387, 0.7527663707733154, 0.920322597026825, -0.4265405535697937, 0.12180931866168976, 0.2711474299430847, 0.4394543468952179, 0.010917996987700462, 0.07079653441905975, 0.1847497522830963, -0.2061326652765274, -0.24791842699050903, -0.6298537850379944, -0.42090940475463867, 0.13331511616706848, -0.8708421587944031, 0.22733040153980255, -0.33834707736968994, -0.029659809544682503, -0.29320216178894043, -0.24139267206192017, -0.5041393637657166, -0.15253424644470215, -0.2634522318840027, 0.7709833383560181, -0.5649608373641968, 0.5204662084579468, 0.27888157963752747, -0.38397613167762756, -0.8227829933166504, 0.3059194087982178, -0.2071024477481842, -0.8019282817840576, 0.5493127107620239, -0.08185781538486481, 0.13386432826519012, -0.16759039461612701, -0.4897787570953369, -1.0284734964370728, 1.0208081007003784, 0.5389377474784851, -0.4364783465862274, -0.13001039624214172, -0.024849986657500267, 0.1940162181854248, -0.15289556980133057, 0.23006734251976013, 0.8156916499137878, 0.1501224935054779, 0.02252900041639805, -0.4319356381893158, 0.10529137402772903, 0.22936317324638367, -0.021668151021003723, 0.33811965584754944, -0.23698842525482178, 0.8596050143241882, -0.34702450037002563, -0.46085813641548157, 0.0048025185242295265, 0.5201537013053894, 0.21800942718982697, 0.04295411333441734, 0.36546480655670166, 0.4246067404747009, 0.8922438025474548, 0.22926859557628632, 1.5061148405075073, 0.0883774533867836, 0.10702456533908844, 1.3889832496643066, -0.10180158913135529, 1.1255489587783813, 0.5203782320022583, -0.11982809007167816, 0.3507886826992035, 0.31719720363616943, 0.23032228648662567, 0.6039881110191345, 0.001072941580787301, -0.4361954927444458, 0.4283638000488281, 0.16276735067367554, -0.5260354280471802, 0.18882440030574799, 0.6091837882995605, -0.5465964078903198, 0.01712980680167675, -0.06215658038854599, 0.2307145893573761, -0.08539729565382004, -0.18013913929462433, 0.8722661733627319, 0.07883651554584503, -0.38177603483200073, 0.7150309681892395, -0.4122407138347626, 0.16433626413345337, -0.4738173186779022, -0.056408271193504333, -0.18417316675186157, 0.06841479241847992, -0.29191088676452637, -0.7445129752159119, 0.4613616466522217, 0.40183091163635254, -0.26813754439353943, -0.20312075316905975, 1.0373204946517944, -0.26100730895996094, -0.2892139256000519, 0.1565687209367752, 0.5292887687683105, 0.22843003273010254, -0.13671104609966278, -0.35689544677734375, 0.12526819109916687, -0.09483186155557632, -0.8185365796089172, 0.7102662920951843, 0.5712093710899353, -0.043453115969896317, 0.6234499216079712, 0.6058405637741089, 0.22887125611305237, 0.45727524161338806, -0.11323234438896179, 1.0728611946105957, -0.5961624383926392, -0.09998530149459839, -0.8058414459228516, 0.2441263198852539, -0.2539461851119995, 0.2540315091609955, 0.9003159403800964, 0.416355162858963, 0.5641148686408997, -0.2808719277381897, 0.7682502865791321, -0.0747266411781311, 0.6613733768463135, -0.5254600048065186, 0.9744205474853516, -0.3394845426082611, 0.5443218350410461, -0.17152726650238037, -0.7624585628509521, 0.4009323716163635, -0.00355508946813643, -0.30594566464424133, 0.1387416124343872, 0.653957188129425, 0.7454422116279602, 0.056885674595832825, -0.024212244898080826, 0.23997625708580017, 0.2876083552837372, 0.5459277629852295, 0.13340505957603455, 0.48628026247024536, -0.4963241517543793, 0.7161146998405457, -0.05857338756322861, -0.43223538994789124, 0.054930221289396286, -0.8168824315071106, -0.5106900930404663, -0.3112851679325104, 0.022024990990757942, -0.34703004360198975, 0.26141640543937683, 0.08251335471868515, 0.3945924937725067, -0.6445351839065552, 0.005574497394263744, -0.27915817499160767, 0.23106206953525543, 0.052977465093135834, -0.3362884819507599, 0.3475685119628906, -0.8070207238197327, -0.8442420363426208, 0.578244686126709, -0.08126237988471985, 0.153892382979393, -0.2214231938123703, 0.1571660041809082, -0.05442025139927864, 0.15201765298843384, 0.3752419948577881, 0.382414311170578, -0.18769432604312897, -0.3774356544017792, 0.1212635338306427, -0.1858844757080078, -0.4409041702747345, 0.5922282934188843, -0.8005452752113342, 0.6195917725563049, 0.6178497672080994, 1.1746103763580322, 0.5640411972999573, 0.12155629694461823, 0.5910501480102539, -1.1524657011032104, 0.2887296974658966, 0.4782182276248932, 0.10419289022684097, 0.17054003477096558, -0.704633891582489, 0.4614499807357788, 0.16607555747032166, -0.8467823266983032, -1.1829568147659302, 0.3294980823993683, -0.5626534223556519, -0.23665504157543182, 1.1724581718444824, -0.3035234808921814, -0.4975903332233429, 0.08392859250307083, -0.024785229936242104, -0.05654394254088402, -0.21252039074897766, 0.5564627051353455, 0.45335081219673157, 0.11643858999013901, 0.04317657649517059, -1.3402847051620483, 0.6525394320487976, 0.24132926762104034, -0.9220077395439148, 0.27984675765037537, 0.28271055221557617, 0.2309388369321823, 0.1800890564918518, 0.3671708405017853, -0.4399983882904053, 0.20643943548202515, 0.3539084196090698, -0.11481047421693802, 0.06478597968816757, -0.29363763332366943, -0.26829975843429565, 0.18115226924419403, 0.0705328956246376, -0.4921732246875763 ]
http://arxiv.org/abs/2402.17834v1
http://arxiv.org/pdf/2402.17834v1
Stable LM 2 1.6B Technical Report
2024-02-27T19:00:07
2024-02-27T19:00:07
Marco Bellagente, Jonathan Tow, Dakota Mahan, Duy Phung, Maksym Zhuravinskyi, Reshinth Adithyan, James Baicoianu, Ben Brooks, Nathan Cooper, Ashish Datta, Meng Lee, Emad Mostaque, Michael Pieler, Nikhil Pinnaparju, Paulo Rocha, Harry Saini, Hannah Teufel, Niccolo Zanichelli, Carlos Riquelme
cs.CL
cs.CL, stat.ML
We introduce StableLM 2 1.6B, the first in a new generation of our language model series. In this technical report, we present in detail the data and training procedure leading to the base and instruction-tuned versions of StableLM 2 1.6B. The weights for both models are available via Hugging Face for anyone to download and use. The report contains thorough evaluations of these models, including zero- and few-shot benchmarks, multilingual benchmarks, and the MT benchmark focusing on multi-turn dialogues. At the time of publishing this report, StableLM 2 1.6B was the state-of-the-art open model under 2B parameters by a significant margin. Given its appealing small size, we also provide throughput measurements on a number of edge devices. In addition, we open source several quantized checkpoints and provide their performance metrics compared to the original model.
[ -0.1904618889093399, -0.9801200032234192, 0.11445359140634537, 0.17060191929340363, -0.2573241889476776, -0.0811738520860672, -0.07020401954650879, -0.7833393216133118, -0.025963081046938896, 0.6848618984222412, -0.4628826975822449, -0.404163122177124, -0.45294633507728577, -0.3692416548728943, -0.2724063992500305, 0.8493746519088745, 0.0761774331331253, 0.3881852328777313, -0.1666688621044159, -0.562949001789093, -0.47670382261276245, -0.6044754981994629, -0.8324622511863708, -0.4181988537311554, 0.7168084383010864, 0.33816877007484436, 0.97678542137146, 0.5333411693572998, 0.5538944005966187, 0.16089153289794922, -0.28751057386398315, -0.3009069561958313, -0.6696962714195251, 0.24630378186702728, 0.04829768091440201, -0.18785180151462555, -0.8550902009010315, -0.03663155063986778, 0.8803315162658691, 0.6035189032554626, -0.2985536754131317, 0.2741580307483673, -0.23550674319267273, 0.8533363342285156, -0.2894552946090698, 0.020760947838425636, -0.8482071161270142, -0.14617037773132324, -0.39804649353027344, 0.4142604470252991, -0.8512919545173645, -0.18853266537189484, -0.06547485291957855, -0.314227432012558, -0.21479256451129913, -0.3710072934627533, 0.9112192988395691, 0.2510969340801239, -0.3588962256908417, -0.08919618278741837, -0.41668394207954407, 0.7381801009178162, -0.7341352105140686, 0.6551792621612549, 0.44985881447792053, 0.5325644612312317, 0.027740688994526863, -0.9969637393951416, -0.06460295617580414, -0.35633569955825806, 0.15506142377853394, -0.10983242839574814, -0.22266964614391327, 0.03134920075535774, 0.13288378715515137, 0.11544156074523926, -0.5384259819984436, 0.4854813516139984, -0.6272712349891663, -0.26315680146217346, 0.49394986033439636, 0.24928432703018188, -0.004004600923508406, 0.333517462015152, -0.3195466697216034, 0.06482737511396408, -0.8093294501304626, 0.10848864167928696, 0.07907312363386154, 0.47204554080963135, -0.33193904161453247, 0.39342427253723145, -0.29076260328292847, 0.707282543182373, -0.278889536857605, -0.14451837539672852, 0.17488491535186768, -0.4677601754665375, -0.07257857173681259, 0.07453318685293198, 0.5588408708572388, 0.5904221534729004, -0.03706961125135422, -0.13143682479858398, -0.4064050018787384, -0.05348594859242439, 0.07551498711109161, -1.069831371307373, -0.31423237919807434, 0.2738129794597626, -0.6187822818756104, -0.22761744260787964, -0.21777409315109253, -0.35886746644973755, -0.32144173979759216, -0.12004730850458145, 0.462541401386261, -0.2678881287574768, -0.6629700660705566, -0.03354146331548691, 0.15133941173553467, 0.2586677670478821, 0.42352160811424255, -0.8876524567604065, 0.5016174912452698, 0.6315006017684937, 0.8729076385498047, -0.16315822303295135, -0.05982576310634613, -0.7571954131126404, -0.13417506217956543, -0.27418753504753113, 0.5412968993186951, -0.16930735111236572, -0.2714834213256836, 0.24770362675189972, -0.12417297810316086, 0.16986975073814392, -0.542137861251831, 0.4765915870666504, -0.6381804347038269, 0.16985836625099182, -0.19892653822898865, -0.3829435408115387, -0.03613588958978653, 0.40757742524147034, -0.7603566646575928, 1.2249865531921387, 0.4767652750015259, -0.6250045895576477, 0.11814769357442856, -0.4664718806743622, -0.3227600157260895, 0.13262994587421417, 0.041977617889642715, -0.5580936074256897, -0.048666033893823624, -0.34696677327156067, -0.08155470341444016, -0.196146622300148, 0.010625534690916538, -0.4528304934501648, -0.13906055688858032, 0.1116371899843216, -0.10806445777416229, 0.804493248462677, 0.3521070182323456, -0.06411837041378021, 0.23181861639022827, -0.643668532371521, 0.4761875867843628, 0.07224816083908081, -0.4377749264240265, 0.20086301863193512, 0.28605881333351135, 0.1782449334859848, 0.3644987642765045, 0.45522457361221313, -0.37505459785461426, 0.12987613677978516, -0.19643473625183105, 0.41417863965034485, 0.3736055791378021, -0.25927168130874634, 0.32276055216789246, -0.1746937483549118, 0.2796630859375, 0.13282053172588348, 0.30480116605758667, -0.40984857082366943, -0.46695518493652344, -0.7840672731399536, -0.1929939091205597, 0.47478726506233215, 0.6108670234680176, -0.292515367269516, 0.10082834959030151, -0.1693417727947235, -0.5009715557098389, -0.6454243659973145, 0.257686972618103, 0.5751508474349976, 0.38043051958084106, 0.28084003925323486, -0.10920549184083939, -0.5681362152099609, -1.027794361114502, -0.03783748298883438, -0.4076707065105438, 0.20955713093280792, -0.24948494136333466, 0.06959385424852371, -0.1530941128730774, 0.9086282849311829, -0.02832062728703022, 0.08486834168434143, -0.4181217849254608, 0.12832330167293549, 0.026876751333475113, 0.5171574354171753, 0.7052410840988159, -0.3865634799003601, -0.49512913823127747, 0.016596734523773193, -0.7520246505737305, -0.1070682555437088, 0.24341709911823273, -0.14625221490859985, 0.7384589910507202, 0.571648120880127, -0.5658267736434937, 0.13137999176979065, 0.7132908701896667, -0.4286954402923584, 0.2644428014755249, 0.16628585755825043, -0.30532306432724, -0.9311398267745972, -0.09130226820707321, -0.16448800265789032, -0.5903437733650208, -0.7216687798500061, 0.1693081259727478, 0.3063433766365051, -0.021855086088180542, -0.8010470867156982, 0.6742076277732849, -0.58551025390625, -0.137562558054924, -0.304219126701355, 0.24206815659999847, -0.16615375876426697, 0.175012469291687, -0.22628581523895264, 0.5549938082695007, 0.6306548118591309, -0.4524111747741699, -0.001346756354905665, 0.06856060028076172, -0.26118725538253784, -0.04552992805838585, -0.8758885860443115, 0.4582124352455139, -0.015899449586868286, 0.1348131150007248, -0.825756311416626, 0.030921442434191704, 0.2066238969564438, -0.49071812629699707, 0.513867974281311, -0.32403993606567383, -0.4637352526187897, -0.20341338217258453, -0.28040099143981934, 0.029768915846943855, 0.9345504641532898, -0.12226483970880508, 0.23930814862251282, 0.8153062462806702, -0.28540584444999695, -0.2133340835571289, -0.6063125133514404, -0.1172153502702713, 0.16536679863929749, -0.8211274147033691, -0.015858953818678856, -0.07812205702066422, -0.5800549983978271, -0.2584752142429352, -0.06786864250898361, -0.23062342405319214, 0.31630778312683105, 0.27005645632743835, 0.21057377755641937, -0.42949995398521423, -0.10622577369213104, 0.047488629817962646, -0.2615959942340851, 0.13276955485343933, -0.19368316233158112, 0.4941551983356476, -0.28569087386131287, 0.014304101467132568, -0.4046763777732849, 0.23265361785888672, 0.6946122646331787, -0.3543223440647125, 1.057541847229004, 0.5615783929824829, -0.6113776564598083, 0.0683770552277565, -0.3070050776004791, -0.08496110141277313, -0.4736555814743042, 0.5258256793022156, -0.3183971047401428, -0.780799388885498, 0.6822274327278137, 0.15931466221809387, 0.4425651431083679, 0.42175453901290894, 0.7397540807723999, 0.007327521685510874, 1.206131935119629, 0.6264833807945251, 0.06671293824911118, 0.5307450890541077, -0.036072712391614914, -0.1663552075624466, -0.425106018781662, -0.44125598669052124, -0.5897138714790344, -0.25351259112358093, -0.22157227993011475, -0.3413509726524353, 0.2570353150367737, 0.8015486598014832, -0.3271040916442871, 0.14230488240718842, -0.15905006229877472, 0.37232035398483276, 0.40474194288253784, 0.11641598492860794, 0.06602701544761658, 0.022751322016119957, -0.15120792388916016, -0.13204166293144226, -0.7395969033241272, -0.7824580669403076, 0.916876494884491, 0.810630738735199, 0.6691833138465881, 0.28068608045578003, 0.19499839842319489, 0.24241290986537933, 0.5392685532569885, -0.6168088912963867, 0.6015930771827698, -0.22959931194782257, -0.8062965869903564, -0.2774040102958679, -0.24674318730831146, -0.6813708543777466, 0.151047021150589, 0.031055714935064316, -0.7442307472229004, -0.5630909204483032, 0.3170328140258789, -0.060913603752851486, 0.2458520233631134, -0.5598728656768799, 1.02256178855896, -0.3485769033432007, -0.5421503186225891, -0.32314783334732056, -1.0578258037567139, 0.4884607195854187, 0.16993042826652527, -0.06549961864948273, -0.4953670799732208, 0.08419142663478851, 0.6632885932922363, -0.4969833493232727, 0.5533818006515503, -0.4943361282348633, -0.1017008051276207, 0.3500508964061737, 0.17976370453834534, 0.4797295033931732, 0.09165756404399872, -0.6205666661262512, 0.4816989600658417, 0.042703911662101746, -0.45247793197631836, -0.26133155822753906, 0.5867002010345459, -0.7447357773780823, -0.259143590927124, -0.24004676938056946, -0.489931583404541, -0.05102268606424332, 0.39477941393852234, 0.15558429062366486, 0.7501147389411926, -0.3245483338832855, 0.40607208013534546, 0.6843307018280029, 0.04143950343132019, 0.4741716682910919, 0.8328078985214233, -0.7924680709838867, -0.5225911140441895, 0.504278302192688, 0.22306102514266968, 0.8060986399650574, 0.2963801920413971, -0.1638122797012329, -0.4291422367095947, -0.7866798043251038, -0.7554882764816284, 0.01834462210536003, -0.8123040795326233, -0.2088540494441986, -0.752069354057312, -0.39180871844291687, -0.3999881148338318, 0.15070660412311554, -0.741421103477478, -0.7056035995483398, -0.10990250110626221, -0.023090025410056114, 0.34670162200927734, 0.8084036111831665, 0.20272588729858398, 0.4316771328449249, -0.8864164352416992, 0.20540277659893036, -0.17314933240413666, 0.441763311624527, -0.3985942602157593, -0.5889689922332764, -0.6597321629524231, 0.3326108455657959, -0.4384116530418396, -0.6958888173103333, -0.03454208746552467, 0.28902462124824524, 0.7039061784744263, 0.4408653676509857, 0.07514534145593643, 0.25932034850120544, -0.4302442669868469, 0.9840448498725891, 0.22627590596675873, -0.797577977180481, 0.598051905632019, -0.4921807646751404, 0.4595004618167877, 0.8281451463699341, 0.044508542865514755, -0.35356637835502625, -0.36762118339538574, -0.120550736784935, -0.6593232154846191, 0.7602564096450806, 0.12301196157932281, 0.1587752401828766, -0.04423179477453232, 0.2963283956050873, 0.3085900545120239, 0.09986907988786697, -0.6888097524642944, -0.47238388657569885, -0.22066131234169006, -0.2291494607925415, 0.03276079148054123, -0.45011335611343384, -0.04932132363319397, -0.3220728635787964, 0.6072059273719788, 0.07654890418052673, 0.16205376386642456, -0.12390203773975372, -0.2981497347354889, -0.4108336567878723, 0.07347036898136139, 0.8692877888679504, 1.0243374109268188, -0.45917120575904846, 0.11582645773887634, 0.1448567807674408, -0.5175089836120605, -0.027671480551362038, 0.09244309365749359, -0.4918125867843628, 0.3458544611930847, 0.07495370507240295, 1.0674302577972412, 0.3190096914768219, -0.6413588523864746, 0.10856085270643234, 0.04881050065159798, -0.2972392439842224, -0.15504874289035797, -0.07979891449213028, 0.1378796100616455, 0.12062929570674896, 0.16026104986667633, -0.08912880718708038, -0.25047609210014343, -0.5936279892921448, 0.323623389005661, 0.5554733276367188, -0.636134147644043, -0.4949272572994232, 0.8755851984024048, 0.39531227946281433, -0.4523879885673523, 0.8494934439659119, -0.4008445143699646, -0.5164818167686462, 0.30182215571403503, 0.774648129940033, 0.8861021995544434, -0.15223585069179535, 0.24240772426128387, 0.43236809968948364, 0.5662434101104736, -0.23751194775104523, 0.5422092080116272, 0.3853883743286133, -0.4847278594970703, -0.060937535017728806, -0.6387240886688232, -0.5424556136131287, -0.021617596969008446, -0.801887571811676, 0.5425871014595032, -0.5677751898765564, -0.26741671562194824, -0.35926389694213867, 0.08196678012609482, -0.14764833450317383, -0.06736315041780472, 0.2787255346775055, 1.3328102827072144, -0.4053114950656891, 1.2550700902938843, 0.80048006772995, -0.22631783783435822, -0.6097701787948608, -0.4711677134037018, 0.05005723983049393, -0.5687186121940613, 0.46974918246269226, 0.34462618827819824, -0.15882886946201324, 0.0836104229092598, -0.568292498588562, -0.8002997636795044, 1.2379871606826782, 0.4654054641723633, -0.6392803192138672, 0.2309356927871704, -0.06430276483297348, 0.3194262981414795, -0.2798910439014435, 0.20421692728996277, 0.27881959080696106, 0.381835401058197, -0.04774695634841919, -1.0878928899765015, -0.09188612550497055, -0.4557945728302002, -0.05866739898920059, 0.6225805878639221, -0.828381359577179, 1.1747887134552002, -0.1922050565481186, -0.2154664695262909, 0.3695620894432068, 0.8005319237709045, 0.37856391072273254, 0.5683279633522034, 0.379635751247406, 0.6999980211257935, 0.5683577656745911, -0.14893391728401184, 0.8299649357795715, -0.6137539148330688, 0.3888758420944214, 1.2580790519714355, -0.6671398878097534, 1.210303544998169, 0.35485556721687317, -0.09518507122993469, 0.5084835290908813, 0.6926528811454773, 0.15401750802993774, 0.6346628665924072, 0.056832216680049896, -0.16124747693538666, -0.1710001826286316, -0.0872265100479126, -0.622857928276062, 0.0006348888855427504, 0.16881000995635986, -0.14156274497509003, -0.22346842288970947, -0.1125483363866806, 0.14032307267189026, -0.17721164226531982, -0.5119577050209045, 0.7668105959892273, 0.08983052521944046, -0.7186363935470581, 0.7943937182426453, 0.30087804794311523, 0.36691221594810486, -0.9643680453300476, 0.15472152829170227, -0.3354637622833252, 0.3958587646484375, 0.048157982528209686, -0.7474033236503601, 0.3219839036464691, -0.01741393655538559, -0.3097364604473114, -0.36466729640960693, 0.8569968342781067, -0.4996776580810547, -0.47205495834350586, 0.274808794260025, 0.2728017270565033, 0.3481066823005676, 0.12309983372688293, -0.6961765289306641, 0.560672402381897, -0.14416678249835968, -0.21319586038589478, 0.3043466806411743, 0.04879584535956383, -0.21206016838550568, 0.7052735686302185, 0.2401655912399292, -0.2656441330909729, 0.47260984778404236, 0.34832578897476196, 0.7673987150192261, -0.5885130763053894, -0.253119558095932, -0.6090789437294006, 0.971123218536377, 0.02416353113949299, -0.39053210616111755, 0.7187096476554871, 0.8162997364997864, 0.710448145866394, 0.17889007925987244, 0.6176972389221191, -0.10952624678611755, 0.5019811987876892, -0.7560165524482727, 0.7601262331008911, -0.44248852133750916, 0.17177964746952057, 0.2349366396665573, -0.6964312791824341, 0.002640875056385994, 0.2965679466724396, 0.3179366886615753, 0.10500185936689377, 0.6349179148674011, 0.8012381196022034, 0.1707887053489685, -0.012790719047188759, 0.2891111969947815, 0.3933389186859131, 0.11966290324926376, 0.41050294041633606, 0.7426515221595764, -0.7691080570220947, 0.57656329870224, -0.13953769207000732, -0.12074849009513855, -0.3375193476676941, -0.740895688533783, -0.9584822654724121, -0.2375296652317047, -0.42579329013824463, -0.7101699709892273, 0.14690133929252625, 0.7070984840393066, 0.8933330178260803, -0.7499626874923706, -0.28912553191185, -0.05547076836228371, 0.1143239364027977, 0.020087605342268944, -0.12479960173368454, -0.25898945331573486, -0.32942596077919006, -0.4992155432701111, 0.5486091375350952, 0.44620323181152344, 0.11686064302921295, -0.46746426820755005, -0.6908459067344666, -0.1659194380044937, -0.1040671095252037, 0.5477190613746643, 0.2903757393360138, -0.7673353552818298, -0.07154379040002823, 0.19665786623954773, -0.5124062299728394, 0.09858854115009308, 0.6232600808143616, -0.5278094410896301, 0.25307273864746094, 0.4749303460121155, 0.3029285967350006, 0.5056326985359192, -0.03045308217406273, 0.5032715797424316, -0.5571635961532593, 0.3946724534034729, 0.037180639803409576, 0.2194816768169403, 0.2943257987499237, 0.13881056010723114, 0.514637291431427, -0.08554582297801971, -0.5746344327926636, -1.2446006536483765, 0.44281354546546936, -1.3389002084732056, -0.033206138759851456, 1.0462507009506226, -0.1418636590242386, 0.19681397080421448, 0.021706415340304375, -0.06883276998996735, 0.265713095664978, -0.22952881455421448, 0.20354071259498596, 0.7099210023880005, 0.13974246382713318, -0.5029548406600952, -0.6941226720809937, 0.21339739859104156, 0.442949116230011, -0.7599019408226013, -0.01854461245238781, 0.4809184670448303, 0.2683459222316742, -0.1089363694190979, 0.7775783538818359, -0.3891505002975464, 0.3252319395542145, 0.292688250541687, 0.04440221190452576, -0.20783881843090057, -0.3538053631782532, -0.40487897396087646, 0.06451623886823654, 0.42169496417045593, -0.09998387843370438 ]
http://arxiv.org/abs/2402.17826v2
http://arxiv.org/pdf/2402.17826v2
Prediction-Powered Ranking of Large Language Models
2024-02-27T19:00:01
2024-05-23T16:50:21
Ivi Chatzi, Eleni Straitouri, Suhas Thejaswi, Manuel Gomez Rodriguez
cs.LG
cs.LG, cs.AI, cs.CL, cs.CY, cs.HC, stat.ML
Large language models are often ranked according to their level of alignment with human preferences -- a model is better than other models if its outputs are more frequently preferred by humans. One of the popular ways to elicit human preferences utilizes pairwise comparisons between the outputs provided by different models to the same inputs. However, since gathering pairwise comparisons by humans is costly and time-consuming, it has become a common practice to gather pairwise comparisons by a strong large language model -- a model strongly aligned with human preferences. Surprisingly, practitioners cannot currently measure the uncertainty that any mismatch between human and model preferences may introduce in the constructed rankings. In this work, we develop a statistical framework to bridge this gap. Given a (small) set of pairwise comparisons by humans and a large set of pairwise comparisons by a model, our framework provides a rank-set -- a set of possible ranking positions -- for each of the models under comparison. Moreover, it guarantees that, with a probability greater than or equal to a user-specified value, the rank-sets cover the true ranking consistent with the distribution of human pairwise preferences asymptotically. Using pairwise comparisons made by humans in the LMSYS Chatbot Arena platform and pairwise comparisons made by three strong large language models, we empirically demonstrate the effectivity of our framework and show that the rank-sets constructed using only pairwise comparisons by the strong large language models are often inconsistent with (the distribution of) human pairwise preferences.
[ -0.2693311274051666, -0.35923877358436584, 0.5965223908424377, 0.32590293884277344, 0.023912327364087105, 0.09663612395524979, -0.5964455008506775, -0.5618854761123657, 0.29011300206184387, 0.36076265573501587, -0.011780530214309692, -0.4198077321052551, -0.7418321967124939, -0.10488226264715195, -0.2803565263748169, 0.7408118844032288, 0.4211159646511078, 0.07197673618793488, -0.35567882657051086, -0.18790777027606964, -0.3498457372188568, -0.6368991136550903, -0.43766987323760986, -0.44477176666259766, 0.5860642790794373, 0.3828788995742798, 1.3865306377410889, 0.5200238823890686, 0.6781811118125916, 0.26443102955818176, -0.03284880518913269, -0.061519574373960495, -0.46413078904151917, 0.434621125459671, -0.13213440775871277, -0.26640456914901733, -0.6303630471229553, 0.05232726410031319, 0.7868406772613525, 0.9121649861335754, -0.08929464221000671, 0.17191731929779053, 0.12367188185453415, 0.5103955268859863, -0.6030684113502502, 0.17247192561626434, -0.846347451210022, -0.19942903518676758, -0.4351155757904053, -0.10435277968645096, -0.5273438692092896, -0.3527807295322418, 0.10432346910238266, -0.25128522515296936, -0.0970190167427063, 0.42254748940467834, 0.7949174046516418, 0.1461835652589798, -0.3185676038265228, 0.25410938262939453, -0.5665371417999268, 0.94541996717453, -0.8205233216285706, 0.5912365913391113, 0.7642868161201477, 0.399114727973938, -0.27327826619148254, -0.19364458322525024, -0.37417230010032654, -0.3940960764884949, -0.07748471200466156, -0.1309850960969925, -0.047375816851854324, 0.16921435296535492, 0.11703244596719742, 0.17383962869644165, -0.6936774253845215, 0.5483377575874329, -0.04451732337474823, -0.02514905296266079, 0.9444637894630432, -0.035462819039821625, 0.15408073365688324, -0.1897180825471878, -0.011828325688838959, -0.3843633234500885, -0.7390074729919434, 0.05960948392748833, 0.6188773512840271, 0.7353036403656006, 0.19971835613250732, 0.6472716927528381, -0.4392085075378418, 0.8952907919883728, 0.024840187281370163, -0.07992672920227051, 0.27627211809158325, -0.04699665307998657, -0.037209730595350266, 0.1382049322128296, 1.0185920000076294, 0.7426721453666687, 0.2917994260787964, -0.42027515172958374, -0.37584495544433594, -0.0007242492283694446, -0.034819044172763824, -0.7912645936012268, -0.33709943294525146, 0.3192583918571472, -0.4618895351886749, -0.5442933440208435, 0.19957882165908813, -0.76313316822052, -0.7118091583251953, -0.16287091374397278, 0.6303958892822266, 0.07860890030860901, -0.38458362221717834, 0.08467227965593338, 0.07496191561222076, -0.22613117098808289, 0.07815981656312943, -1.0797157287597656, 0.33457711338996887, 0.845032811164856, 0.7566699981689453, -0.32298552989959717, -0.3615940511226654, -0.5048056244850159, -0.1524006575345993, -0.45086249709129333, 0.7618560791015625, -0.8474267721176147, -0.2356872856616974, -0.07481656223535538, -0.409288614988327, 0.1467301994562149, -0.6010364294052124, 0.5550299882888794, -0.5509485006332397, 0.18898123502731323, -0.2610337734222412, -0.7907585501670837, 0.31561020016670227, 0.04126153886318207, -0.5844224691390991, 0.9548195004463196, -0.22695116698741913, -0.7515892386436462, 0.5782716274261475, -0.28695419430732727, -0.33508995175361633, -0.03281371295452118, -0.12193730473518372, -0.5403825044631958, -0.14621204137802124, 0.03682722896337509, 0.7369365692138672, -0.4831770062446594, 0.5763062834739685, -0.7579097747802734, -0.33514195680618286, 0.42940554022789, -0.24642248451709747, 0.6826104521751404, 0.15135455131530762, -0.32840752601623535, 0.318173348903656, -0.5042029023170471, 0.2564188241958618, 0.04682259261608124, -0.11914914846420288, -0.47918567061424255, 0.3340989947319031, -0.0975499078631401, 0.24994586408138275, 0.3045675456523895, -0.25619322061538696, 0.4277394413948059, -0.40150517225265503, 0.30830898880958557, 0.8472535610198975, -0.17389129102230072, 0.7134131789207458, -0.29658299684524536, 0.3122739791870117, -0.3255663216114044, 0.17568419873714447, 0.46776458621025085, -0.7509835362434387, -0.5680266618728638, 0.02627432532608509, 0.5498512387275696, 0.43093180656433105, -0.18217334151268005, 0.6534997224807739, -0.5639246106147766, -0.6930556893348694, -0.6131689548492432, 0.09599147737026215, 0.4361487329006195, 0.11704988032579422, 0.18347106873989105, 0.033279139548540115, -0.3823637068271637, -1.0421171188354492, -0.3347851634025574, -0.4536029100418091, -0.12970636785030365, 0.21555021405220032, 0.221322163939476, 0.11198100447654724, 0.8599567413330078, -0.624916672706604, 0.09206244349479675, -0.023853929713368416, -0.03650146350264549, 0.4833568036556244, 0.42441901564598083, 0.3892841935157776, -0.7992868423461914, -0.43413397669792175, 0.007096942514181137, -0.4296521544456482, -0.0792514830827713, 0.3862425982952118, -0.28207311034202576, 0.19029392302036285, 0.2606622874736786, -0.41446593403816223, 0.2761259078979492, 0.8160868883132935, -0.36042192578315735, 0.4967042803764343, -0.2550605237483978, 0.3976418972015381, -1.2267467975616455, 0.18112455308437347, -0.004993135575205088, -0.19079461693763733, -0.36214175820350647, -0.23418746888637543, -0.00820457749068737, -0.0005716598243452609, 0.07410909980535507, 0.7727965116500854, -0.03888368606567383, -0.4032672941684723, 0.023702217265963554, 0.10676228255033493, -0.11230926215648651, 0.283277690410614, 0.3286907970905304, 0.5866004824638367, 0.5154038667678833, -0.45713239908218384, 0.36606451869010925, 0.35339921712875366, -0.460286021232605, 0.357756644487381, -0.736382007598877, 0.07300398498773575, 0.2574496567249298, 0.17884381115436554, -0.9810739755630493, -0.30303677916526794, -0.07348144054412842, -0.5811987519264221, 0.18958327174186707, -0.20845818519592285, -0.6530094146728516, -0.09340077638626099, -0.23890657722949982, 0.5110289454460144, 0.44596537947654724, -0.5385099649429321, -0.036487288773059845, 0.6147512793540955, -0.3699222803115845, -0.6993699073791504, -0.24487483501434326, 0.1227465495467186, -0.29971063137054443, -0.7746909260749817, 0.38942408561706543, -0.2663635015487671, -0.7083237767219543, -0.18780946731567383, 0.0884384736418724, 0.19201815128326416, 0.19491516053676605, 0.42634317278862, 0.3039913475513458, 0.025904811918735504, 0.3896584212779999, -0.2188313603401184, -0.2295416295528412, -0.2347695380449295, -0.3243568539619446, 0.61014723777771, -0.34143587946891785, -0.4250670373439789, 0.0892305001616478, 0.13785094022750854, 0.7092236876487732, -0.2933202385902405, 0.7270743250846863, 0.17090468108654022, -0.41950729489326477, -0.04687174782156944, -0.6194499731063843, -0.3058854937553406, -0.4186144471168518, 0.39096319675445557, -0.33495819568634033, -0.654329240322113, 0.5584224462509155, 0.5853639841079712, 0.159096822142601, 0.3717038631439209, 0.5065281391143799, -0.04401503503322601, 1.6413280963897705, 0.29007866978645325, -0.4406413733959198, 0.4575011730194092, 0.23758895695209503, 0.2814309000968933, -0.3265702426433563, 0.018451450392603874, -0.7913782000541687, -0.5470109581947327, -0.9469491243362427, -0.12963378429412842, 0.4429619312286377, 0.06871752440929413, -0.35927754640579224, 0.33107757568359375, -0.39061859250068665, 0.5707625150680542, 0.7508646249771118, -0.05453191697597504, 0.312408983707428, -0.04879968240857124, -0.08331265300512314, 0.008437030017375946, -0.7072538733482361, -0.3587273359298706, 1.2264195680618286, 0.1794779896736145, 0.6762589812278748, 0.4611389935016632, 0.6899621486663818, 0.3375481367111206, 0.05000396445393562, -0.7055012583732605, 0.45739737153053284, -0.10771068185567856, -0.5942129492759705, -0.7640155553817749, -0.6576871275901794, -1.1803480386734009, 0.277251273393631, -0.6484164595603943, -0.9320763945579529, -0.09662681818008423, 0.2807515263557434, -0.4322406053543091, 0.3907255232334137, -0.5634404420852661, 1.0140901803970337, -0.337363064289093, -0.5470120906829834, -0.25592705607414246, -0.8123248815536499, 0.19913364946842194, 0.025674128904938698, 0.21371503174304962, -0.1537269949913025, 0.35407015681266785, 0.8490692377090454, -0.38517093658447266, 0.42982810735702515, 0.08360005915164948, -0.026851249858736992, -0.2890978753566742, 0.31525763869285583, 0.424662709236145, 0.08939312398433685, -0.45708829164505005, 0.16464033722877502, 0.07615920901298523, -0.45684096217155457, -0.5427672266960144, 0.9115418791770935, -0.8648279905319214, -0.5680434703826904, -0.3967767655849457, -0.47582581639289856, -0.46804162859916687, 0.24163639545440674, 0.34401556849479675, 0.5391339063644409, -0.00639640586450696, 0.24323365092277527, 0.5469806790351868, -0.18259458243846893, 0.17242075502872467, 0.1378350853919983, -0.6697781682014465, -0.2614251375198364, 1.048196792602539, 0.22505535185337067, 0.42213767766952515, 0.5651912689208984, 0.4300272464752197, -0.4852844476699829, -0.4936613142490387, -0.2400752156972885, 0.08515828847885132, -0.4696958661079407, -0.27532899379730225, -0.2504807710647583, -0.16147640347480774, -0.618735134601593, -0.16582904756069183, -0.34290140867233276, -0.5923647284507751, 0.2057114541530609, -0.024227628484368324, 0.25358766317367554, 0.7994074821472168, 0.05662635713815689, -0.05051947385072708, -0.5899748206138611, 0.067509226500988, 0.45128896832466125, 0.7833377718925476, 0.01824021339416504, -0.4534119665622711, -0.13709014654159546, 0.0018253129674121737, -0.013799134641885757, -0.6051139235496521, 0.35839205980300903, 0.0683021992444992, 0.6892425417900085, 0.5285451412200928, 0.16565990447998047, 0.4614356458187103, -0.2605368196964264, 0.5699201226234436, 0.14921413362026215, -0.7157535552978516, 0.38932856917381287, -0.5851372480392456, 0.06374168395996094, 0.613759458065033, 0.06463275104761124, -0.6767181754112244, -0.41140878200531006, -0.9002640843391418, -0.7806580066680908, 0.6540634632110596, 0.3292981684207916, -0.295261949300766, 0.045704327523708344, -0.04090048745274544, 0.09391292929649353, 0.29167816042900085, -0.5149657726287842, -0.21629521250724792, 0.06803415715694427, -0.20496788620948792, -0.47391775250434875, -0.09470410645008087, 0.039949916303157806, -0.28329798579216003, 0.8695514798164368, 0.025935906916856766, 0.10638599097728729, -0.4937146008014679, 0.011401576921343803, -0.2608436048030853, 0.26582100987434387, 0.39795154333114624, 0.7201513648033142, -0.6715803742408752, 0.37321770191192627, 0.04400169849395752, -0.1203508973121643, -0.10192573070526123, 0.21835225820541382, -0.09170456975698471, -0.1563977152109146, 0.15522749722003937, 0.8078916668891907, 0.5756742358207703, -0.7766377329826355, 0.6207173466682434, -0.055061642080545425, 0.20228463411331177, -0.31398648023605347, -0.06467278301715851, 0.3181011974811554, 0.208563894033432, 0.1288495659828186, 0.19499340653419495, 0.12519998848438263, -0.4308909773826599, 0.05954534932971001, 0.5761452913284302, -0.26806187629699707, -0.2578248679637909, 0.49720802903175354, 0.2790825068950653, -0.53631991147995, 0.5380803942680359, -0.2453957051038742, -0.7072809934616089, 0.4364468455314636, 0.2537698745727539, 0.49150964617729187, -0.279669851064682, 0.12900018692016602, 0.434660404920578, 0.0708223506808281, -0.5845637321472168, -0.04636087268590927, 0.008719238452613354, -0.924800455570221, -0.1260118931531906, -0.7430957555770874, -0.5620346665382385, -0.07357556372880936, -0.693126380443573, 0.4747573137283325, -0.19361501932144165, -0.32286587357521057, 0.1948670595884323, 0.1951056867837906, -0.55533766746521, -0.039499398320913315, 0.2955784201622009, 0.5416339039802551, -0.8733924031257629, 0.7545213103294373, 0.54269939661026, -0.2676548659801483, -0.698416531085968, 0.08507675677537918, -0.07831018418073654, -0.7006801962852478, 0.4075988531112671, 0.08930297195911407, -0.09623073786497116, -0.12985630333423615, -0.42143163084983826, -1.1446284055709839, 0.995598316192627, 0.4194604456424713, -0.5867940187454224, 0.10256409645080566, -0.04970690980553627, 0.41447004675865173, -0.18068040907382965, 0.3396146893501282, 0.46459320187568665, 0.5138243436813354, -0.05391603708267212, -1.371288776397705, -0.06171950697898865, -0.27633896470069885, -0.2581130862236023, 0.5452996492385864, -0.6044707298278809, 0.6729626059532166, -0.2271139919757843, 0.036442432552576065, 0.012428861111402512, 0.5577809810638428, 0.5071170926094055, 0.26657989621162415, 0.8014362454414368, 0.3102978765964508, 0.9989948272705078, 0.004670893307775259, 1.006564736366272, -0.4429247975349426, 0.4759778380393982, 1.1532015800476074, -0.39651069045066833, 1.2673892974853516, 0.21456803381443024, -0.4046207368373871, 0.1737828254699707, 0.7664162516593933, 0.12370288372039795, 0.2587917447090149, 0.11279784888029099, 0.0523531399667263, -0.8545221090316772, -0.06880220770835876, -0.4129015803337097, 0.39739474654197693, 0.15345045924186707, -0.3096711039543152, 0.13027864694595337, -0.47331663966178894, 0.017304837703704834, 0.13035999238491058, -0.2095666527748108, 0.6810024380683899, 0.020190317183732986, -1.0101585388183594, 0.5940708518028259, -0.09785885363817215, 0.7228320837020874, -0.4737633764743805, 0.10455246269702911, -0.03208763524889946, 0.03208553045988083, -0.2432073950767517, -1.024759292602539, -0.2836530804634094, -0.1182384043931961, -0.29125434160232544, -0.24496330320835114, 0.6752020716667175, -0.6862599849700928, -0.5888901948928833, 0.3203040063381195, 0.41912180185317993, 0.17061886191368103, -0.24065543711185455, -0.40344640612602234, -0.013859854079782963, -0.21502062678337097, -0.2724264860153198, 0.6583326458930969, -0.14026673138141632, -0.357095867395401, 0.6758642792701721, 0.5141660571098328, 0.1618785560131073, -0.23013520240783691, 0.19849851727485657, 0.4825669229030609, -0.31845366954803467, -0.6766782402992249, -0.9385947585105896, 0.11852528899908066, -0.36659476161003113, -0.2485780417919159, 0.614285945892334, 0.55967777967453, 0.5712655186653137, 0.3673573136329651, 0.8650729060173035, 0.09900553524494171, 0.3918253481388092, -0.33220145106315613, 0.939242959022522, -0.5677843689918518, 0.28730258345603943, -0.4479275047779083, -1.1464909315109253, -0.2988680899143219, 0.6184912919998169, -0.5919113755226135, -0.006975934375077486, 0.3054775297641754, 0.9625144600868225, -0.11210097372531891, -0.11796992272138596, 0.6195944547653198, 0.23659993708133698, 0.18059271574020386, 0.3787940442562103, 0.6305006742477417, -0.015295435674488544, 0.3477467894554138, -0.2647322118282318, -0.3798730671405792, -0.5099477767944336, -0.9440802931785583, -0.7913799285888672, -0.7890725135803223, 0.0067947967909276485, -0.6627885103225708, 0.022456059232354164, 1.4976900815963745, 0.8696905374526978, -0.8993083834648132, -0.42090341448783875, 0.449468731880188, 0.3364730179309845, -0.36678004264831543, -0.14180085062980652, 0.4740275740623474, 0.10823562741279602, -0.8239536285400391, 0.32682421803474426, 0.04494696483016014, -0.16649122536182404, -0.33118483424186707, -0.27981746196746826, -0.0018157000886276364, -0.014997770078480244, 0.3695990741252899, 0.14552399516105652, -0.7424117922782898, -0.524645984172821, 0.036621686071157455, -0.21621909737586975, -0.026902560144662857, 0.4944995939731598, -0.5348861813545227, 0.4429665207862854, 0.707472026348114, 0.3909044861793518, 0.16528944671154022, -0.0001889361592475325, 0.7849549055099487, -0.888334333896637, -0.04939619079232216, 0.09395474195480347, 0.49728548526763916, 0.44871318340301514, -0.20926833152770996, 0.3422538638114929, -0.034470755606889725, -0.7790536284446716, -0.9893917441368103, 0.22760865092277527, -1.1286782026290894, -0.2156299352645874, 1.4559569358825684, 0.12171408534049988, 0.17463216185569763, 0.11770826578140259, -0.02605811506509781, 0.05236480385065079, -0.7049566507339478, 1.0074151754379272, 0.7857418656349182, -0.09467480331659317, 0.3200993239879608, -0.40130379796028137, 0.5138197541236877, 0.38732123374938965, -0.5843116641044617, 0.29515498876571655, 0.34754398465156555, 0.2838689982891083, 0.14394822716712952, 0.36472880840301514, 0.2011525183916092, 0.029517164453864098, -0.20010246336460114, 0.02728375606238842, 0.13085536658763885, -0.26342207193374634, -0.23963312804698944, 0.2513490915298462, 0.5579860210418701, 0.1927674412727356 ]
http://arxiv.org/abs/2402.17764v1
http://arxiv.org/pdf/2402.17764v1
The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bits
2024-02-27T18:56:19
2024-02-27T18:56:19
Shuming Ma, Hongyu Wang, Lingxiao Ma, Lei Wang, Wenhui Wang, Shaohan Huang, Li Dong, Ruiping Wang, Jilong Xue, Furu Wei
cs.CL
cs.CL, cs.LG
Recent research, such as BitNet, is paving the way for a new era of 1-bit Large Language Models (LLMs). In this work, we introduce a 1-bit LLM variant, namely BitNet b1.58, in which every single parameter (or weight) of the LLM is ternary {-1, 0, 1}. It matches the full-precision (i.e., FP16 or BF16) Transformer LLM with the same model size and training tokens in terms of both perplexity and end-task performance, while being significantly more cost-effective in terms of latency, memory, throughput, and energy consumption. More profoundly, the 1.58-bit LLM defines a new scaling law and recipe for training new generations of LLMs that are both high-performance and cost-effective. Furthermore, it enables a new computation paradigm and opens the door for designing specific hardware optimized for 1-bit LLMs.
[ -0.3678825795650482, -0.6067934036254883, 0.29912373423576355, 0.5040371417999268, -0.3904808461666107, -0.16221199929714203, -0.28678256273269653, -0.37950292229652405, 0.38778072595596313, 0.6921868920326233, -0.46816834807395935, -0.2111353874206543, -0.6688393950462341, -0.13627435266971588, -0.4032219350337982, 0.4388726055622101, 0.2787844240665436, 0.014140152372419834, 0.10467085242271423, -0.01867484487593174, -0.08470956236124039, -0.4460277259349823, -0.856432318687439, -0.44148796796798706, 0.7243406176567078, 0.4810830354690552, 0.7808610796928406, 0.7909300327301025, 0.7155303359031677, 0.28382933139801025, -0.17791005969047546, -0.3621099591255188, -0.3179154098033905, -0.02594161219894886, 0.03655325621366501, -0.5761412382125854, -0.8311813473701477, -0.026222681626677513, 0.8818172216415405, 0.9391308426856995, -0.05754701420664787, 0.37197238206863403, -0.34938302636146545, 1.0036752223968506, -0.3077526092529297, -0.1984158307313919, -0.8593876361846924, 0.12116854637861252, -0.2613043189048767, -0.255304217338562, -0.5593723654747009, -0.2153775990009308, -0.06127650663256645, -0.4114072322845459, 0.1773548424243927, 0.10544024407863617, 0.7025541067123413, 0.30127376317977905, -0.16600745916366577, 0.08177623152732849, -0.6132773160934448, 0.6985033750534058, -0.9300069808959961, 0.6257109642028809, -0.04303492605686188, 0.3351772427558899, -0.0504242405295372, -0.804382860660553, -0.3666995167732239, 0.11196602880954742, 0.24623547494411469, -0.5256562232971191, -0.6230016350746155, 0.2561880350112915, 0.13261868059635162, 0.45503515005111694, -0.49291637539863586, 0.37130215764045715, -0.5286524295806885, -0.012124869972467422, 0.39383840560913086, 0.2191707044839859, -0.12992718815803528, 0.08694279938936234, -0.45351892709732056, 0.2519083619117737, -1.034912109375, -0.1829189658164978, 0.44275689125061035, 0.6808898448944092, -0.23627705872058868, 0.19215869903564453, -0.22784140706062317, 0.5238131284713745, 0.21911394596099854, -0.07945585995912552, 0.11026304960250854, -0.10873442143201828, -0.28789225220680237, 0.309260755777359, 0.8386914730072021, 0.12933793663978577, 0.39219439029693604, -0.2664174437522888, -0.17580123245716095, -0.15869688987731934, 0.43957626819610596, -1.0820550918579102, -0.19823795557022095, 0.019292742013931274, -0.4341801702976227, -0.5893735289573669, -0.07505030184984207, -0.37398165464401245, -0.3469310402870178, -0.14301401376724243, 0.6248809695243835, -0.17990988492965698, -0.476922869682312, 0.5390880107879639, -0.019445929676294327, 0.4084930121898651, 0.3648737370967865, -0.9929506182670593, 0.531425416469574, 0.9286134243011475, 0.6952924728393555, -0.000004119343429920264, -0.029694464057683945, -0.15079791843891144, -0.2907106280326843, -0.5202397108078003, 0.24411389231681824, -0.49915528297424316, -0.18871262669563293, -0.13811679184436798, -0.07005885988473892, 0.4892812967300415, -0.6362965703010559, -0.09761674702167511, -0.8009772896766663, -0.10079367458820343, -0.1216612383723259, -0.4387456178665161, -0.08826035261154175, 0.34648820757865906, -0.9100366830825806, 0.9244543313980103, 0.3029358685016632, -0.7166756391525269, 0.24528256058692932, -0.5453289747238159, -0.6079041957855225, 0.2876089811325073, -0.08341174572706223, -0.36331966519355774, 0.3408798575401306, -0.3138042390346527, 0.3153352439403534, -0.7481849789619446, 0.14801932871341705, -0.27898353338241577, -0.7031540870666504, 0.2533932030200958, -0.9555365443229675, 1.1144816875457764, 0.005426454357802868, -0.45406869053840637, -0.09548180550336838, -0.7730276584625244, 0.021718915551900864, 0.13142593204975128, -0.6983819007873535, 0.22706468403339386, -0.15130004286766052, -0.12072497606277466, 0.2057001143693924, 0.6921407580375671, -0.7254010438919067, 0.21081379055976868, -0.45060786604881287, 0.4713427722454071, 0.9342091679573059, -0.2961153984069824, 0.33242782950401306, -0.3080326318740845, 0.5659741759300232, 0.041506800800561905, 0.3415524661540985, -0.3132933974266052, -0.2024616152048111, -1.0139917135238647, -0.17227371037006378, 0.5601798892021179, 0.26803526282310486, -0.405135840177536, 0.5348449945449829, -0.7372165322303772, -0.5895199179649353, -0.6191375851631165, 0.04862181842327118, 0.21573519706726074, 0.08576750755310059, 0.27850696444511414, -0.14863114058971405, -0.6688846945762634, -1.0447626113891602, 0.19288761913776398, -0.30671632289886475, -0.04473329707980156, 0.2355271279811859, 0.12944680452346802, -0.00570961507037282, 0.8577771782875061, -0.15275368094444275, 0.2848207652568817, -0.38147208094596863, -0.11930568516254425, 0.44468656182289124, 0.6502442359924316, 0.24083009362220764, -0.7525497674942017, -0.38828983902931213, -0.04580191150307655, -0.5102773308753967, -0.09557090699672699, 0.0021685860119760036, 0.07514271140098572, 0.3730979263782501, 0.5865203738212585, -0.3371926546096802, 0.3140648603439331, 0.6012126207351685, -0.4019297957420349, 0.6013013124465942, -0.1975403130054474, -0.07407402992248535, -0.9401341676712036, 0.0025201928801834583, -0.004956102464348078, -0.404552161693573, -0.6610184907913208, -0.008119996637105942, 0.22600650787353516, 0.20164898037910461, -0.8579139709472656, 0.599917471408844, -0.21936966478824615, 0.08107729256153107, -0.26701703667640686, -0.24995264410972595, -0.19626609981060028, 0.4770963788032532, -0.34309032559394836, 0.9979051947593689, 0.7486681938171387, -0.598567545413971, 0.3790551722049713, -0.1927327811717987, 0.002242480404675007, 0.3152287006378174, -0.8353158235549927, 0.09829653054475784, -0.2175266146659851, 0.02780694141983986, -0.8045526742935181, 0.389213889837265, -0.2260800153017044, -0.5119232535362244, 0.594169020652771, -0.3146389126777649, -0.6157964468002319, -0.12032143771648407, -0.46006208658218384, 0.5116420984268188, 0.48816820979118347, -0.5576027631759644, 0.7112287878990173, 0.1983800232410431, 0.001708716037683189, -0.4890781342983246, -0.9424455165863037, 0.2894470691680908, -0.1933138370513916, -0.7245712876319885, 0.2336941510438919, -0.05579846352338791, -0.15913531184196472, -0.1782863289117813, -0.23929302394390106, 0.014569655060768127, 0.3116505742073059, 0.18160834908485413, 0.41206228733062744, -0.7187191843986511, 0.06721705943346024, -0.1950540691614151, -0.3814237117767334, 0.27545392513275146, -0.6987752914428711, 0.7778679728507996, -0.3127739131450653, -0.07394169270992279, 0.023713404312729836, 0.2666112780570984, 0.5627456307411194, -0.009650046937167645, 0.617810845375061, 0.308224618434906, -0.4115186929702759, -0.061689890921115875, -0.7140301465988159, -0.018219729885458946, -0.6177977919578552, 0.4632617235183716, -0.5256028771400452, -1.1845365762710571, 0.2815379202365875, -0.005327844526618719, 0.1399165391921997, 0.3698567748069763, 0.4141387343406677, 0.00272879539988935, 0.3039149045944214, 0.7126977443695068, -0.24270187318325043, 0.5990082025527954, -0.2308601438999176, 0.2721734046936035, -0.7619608044624329, 0.11609269678592682, -0.45679447054862976, -0.6761584877967834, -1.0675263404846191, -0.5422627925872803, 0.5386149883270264, -0.165963277220726, -0.79001784324646, 0.5437320470809937, -0.2918745279312134, 0.7443990111351013, 0.6523089408874512, 0.3911314606666565, 0.1689305603504181, -0.022627918049693108, 0.10100935399532318, 0.11430329084396362, -0.8065697550773621, -0.6556711196899414, 1.3176906108856201, 0.5852290391921997, 0.9390102028846741, 0.28610533475875854, 0.5669552087783813, 0.2410079389810562, 0.023003648966550827, -0.6602376103401184, 0.9254666566848755, -0.7204304933547974, -0.983231246471405, -0.5826745629310608, -0.6104816794395447, -1.0526185035705566, 0.11158409714698792, -0.06514051556587219, -0.7391311526298523, -0.1697680801153183, 0.13163040578365326, -0.1589687466621399, 0.8215982913970947, -0.403604120016098, 0.9611569046974182, -0.05948460102081299, -0.30368906259536743, -0.3542584180831909, -0.8415441513061523, -0.0181711595505476, 0.10362069308757782, -0.2874077558517456, -0.2625022828578949, -0.21577446162700653, 0.5816952586174011, -0.1221916675567627, 0.812030553817749, -0.03940463066101074, -0.06441480666399002, 0.19036062061786652, 0.5420693159103394, 0.48975756764411926, -0.2161640077829361, -0.2293754518032074, 0.4754486680030823, -0.24554456770420074, -0.5901172161102295, -0.3548959493637085, 0.6303622722625732, -0.5800511837005615, -0.5960229635238647, -0.037014808505773544, -0.5058915019035339, -0.051747359335422516, 0.04902990162372589, 0.1486770063638687, 0.7774054408073425, -0.056847602128982544, 0.5513159036636353, 1.161399245262146, -0.07783083617687225, 0.6191151738166809, 0.6215579509735107, -0.10007689893245697, -0.23423020541667938, 0.9326326251029968, 0.12012705206871033, 0.5990464687347412, 0.9319809079170227, 0.26841509342193604, -0.0414184033870697, -0.6455153822898865, -0.42487719655036926, 0.15604038536548615, -0.8015254139900208, -0.22011764347553253, -0.4439813494682312, -0.32329854369163513, -0.24573513865470886, -0.27312275767326355, -0.6697937250137329, -0.7051012516021729, -0.2970143258571625, 0.012024608440697193, 0.2650885581970215, 0.5431798696517944, -0.028622057288885117, 0.5384633541107178, -0.6182628870010376, -0.1348855048418045, 0.5530024170875549, 0.8005229234695435, -0.060052625834941864, -0.9039360880851746, -0.3038683533668518, -0.36042365431785583, -0.17647740244865417, -0.5757753252983093, -0.2173255980014801, -0.010055800899863243, 0.24671022593975067, 0.3753424882888794, -0.35344651341438293, 0.10653626918792725, -0.6680061221122742, 0.7722516059875488, 0.40081357955932617, -0.8968330025672913, 0.052428558468818665, -0.20917943120002747, 0.4442129135131836, 0.5242490768432617, 0.3054884374141693, -0.7122876644134521, 0.018535848706960678, -0.7196794748306274, -0.8016253113746643, 0.6118912696838379, -0.1353953778743744, 0.41760480403900146, 0.14874546229839325, 0.2365380823612213, 0.2991526424884796, 0.3811136782169342, -0.7134292721748352, -0.8516968488693237, 0.13028664886951447, -0.4129536747932434, 0.12746009230613708, -0.3648777902126312, 0.3736519515514374, -0.2114260345697403, 0.798947811126709, -0.15414774417877197, 0.45851412415504456, -0.3265046179294586, 0.03774840757250786, -0.25156310200691223, 0.410092294216156, 0.339018851518631, 0.7681407332420349, -0.17948158085346222, 0.659252941608429, 0.3330574929714203, -0.4092455506324768, 0.36768975853919983, 0.051129791885614395, -0.2619577944278717, 0.007120937574654818, 0.2482234388589859, 0.9512845873832703, 0.4004438817501068, -0.4568833112716675, 0.4900830090045929, 0.16411161422729492, -0.23521031439304352, -0.1397661715745926, 0.20911112427711487, 0.14849846065044403, 0.3174113929271698, 0.3214475214481354, -0.34409308433532715, 0.08633258193731308, -0.30382686853408813, 0.22981254756450653, 0.5501217842102051, -0.39352288842201233, -0.3995515704154968, 0.2957880198955536, 0.16032296419143677, -0.5549051761627197, 0.39252498745918274, -0.503266453742981, -0.5810079574584961, 0.4960804283618927, 0.5902162790298462, 0.9763026833534241, 0.05821874365210533, 0.06170681118965149, 0.3270881772041321, 0.7249683141708374, 0.20565766096115112, 0.37231016159057617, 0.10019981861114502, -0.5696339011192322, -0.41436946392059326, -0.7413729429244995, -0.41664424538612366, -0.06964684277772903, -0.19453594088554382, 0.3593898117542267, -0.7155810594558716, -0.0512407049536705, 0.13267819583415985, 0.16395916044712067, -0.638704776763916, 0.42364659905433655, 0.44396135210990906, 1.1355805397033691, -0.4425564110279083, 0.7480499148368835, 0.5881304740905762, 0.010903229005634785, -0.5768505334854126, -0.5211536884307861, -0.13979744911193848, -0.8701491355895996, 0.46809062361717224, -0.002916766330599785, -0.021395135670900345, 0.03752801939845085, -0.7218761444091797, -0.8804859519004822, 0.957532525062561, 0.5824703574180603, -0.7995656132698059, -0.1114514172077179, 0.5653777718544006, 0.13354411721229553, -0.15261565148830414, 0.27424564957618713, 0.6862092614173889, 0.4222317039966583, 0.12294259667396545, -0.9967567324638367, 0.16838836669921875, -0.12389067560434341, 0.1191745176911354, 0.8854427933692932, -0.7831437587738037, 1.0829881429672241, 0.003276411909610033, -0.0267011858522892, -0.23225001990795135, 0.6972344517707825, 0.05514029040932655, -0.1112893596291542, 0.5878127217292786, 0.5257683396339417, 0.5042863488197327, -0.206620454788208, 0.6302051544189453, -0.5211724042892456, 0.19072650372982025, 1.0879366397857666, 0.2071993201971054, 0.740906834602356, 0.6987794041633606, -0.6770646572113037, 0.22907525300979614, 0.2847302556037903, 0.22333620488643646, -0.012530376203358173, 0.5342392921447754, -0.4357715845108032, -0.5786910653114319, 0.09129607677459717, -0.02912932075560093, 0.18044261634349823, 0.06727191060781479, -0.15969769656658173, -0.12327010929584503, -0.3816527724266052, 0.18594537675380707, -0.29502567648887634, -0.35328954458236694, 0.7477756142616272, -0.0016102653462439775, -0.09812702238559723, 0.4699687957763672, 0.16893525421619415, 1.0297479629516602, -0.7309156656265259, 0.17984440922737122, -0.36967840790748596, -0.0524999164044857, 0.025877458974719048, -0.836615264415741, 0.0174347423017025, 0.02330409176647663, -0.35824358463287354, -0.06616732478141785, 0.6203268766403198, -0.34472477436065674, -0.8240370154380798, -0.014881686307489872, 0.2372875064611435, 0.20928184688091278, -0.2728121876716614, -0.39263567328453064, 0.3760650157928467, -0.11672188341617584, -0.20801028609275818, 0.18931619822978973, 0.7715262174606323, 0.32706496119499207, 0.7605920433998108, 0.1753343939781189, 0.312730073928833, 0.4853147864341736, -0.10046800225973129, 0.8564779758453369, -0.958899199962616, -0.4000775218009949, -0.8948222398757935, 0.40444132685661316, 0.31817784905433655, -0.40704622864723206, 0.2251182496547699, 0.6320843696594238, 0.6969755291938782, 0.336729496717453, 0.667851448059082, -0.12332307547330856, 0.0814506858587265, -0.3635271489620209, 0.31569477915763855, -0.6479397416114807, 0.25020840764045715, 0.14158110320568085, -0.6677449345588684, -0.06339941173791885, 0.3653825521469116, 0.08930801600217819, 0.23880857229232788, 0.48886966705322266, 0.9262484312057495, -0.08663627505302429, 0.12558165192604065, 0.4463534355163574, 0.024144381284713745, 0.4246448576450348, 0.6937474012374878, 0.25466153025627136, -0.7583242654800415, 0.5626052021980286, -0.3772667646408081, -0.13738605380058289, -0.25303053855895996, -1.06361722946167, -0.6751336455345154, -0.3474898934364319, -0.4150852560997009, -0.28361502289772034, -0.037128642201423645, 1.451645016670227, 0.8666742444038391, -0.5925667881965637, -0.3716343939304352, -0.05586102977395058, 0.06986778974533081, 0.08826056867837906, -0.15511375665664673, -0.12288879603147507, -0.41772979497909546, -0.3037828505039215, 0.25954341888427734, 0.5288418531417847, 0.311122328042984, -0.7559205889701843, -0.23687823116779327, -0.057964250445365906, 0.3913566470146179, 0.47344887256622314, -0.09887970238924026, -0.5605818033218384, -0.1457756757736206, 0.10905961692333221, -0.24681641161441803, 0.6057643890380859, 0.865653932094574, -0.5767093300819397, 0.29497915506362915, 0.2299528568983078, 0.8335253000259399, 0.7019391655921936, -0.4794386923313141, 0.23046550154685974, -0.8780617713928223, 0.07371378690004349, 0.25321587920188904, 0.26194876432418823, 0.45933911204338074, -0.05817803740501404, 0.4495435357093811, 0.013927768915891647, -0.4430992007255554, -0.6283155679702759, 0.15026473999023438, -1.007045865058899, -0.13408078253269196, 1.158754587173462, 0.1240011602640152, -0.3991619646549225, 0.3279586136341095, 0.052433159202337265, 0.08809459209442139, -0.3073073625564575, 0.5112572908401489, 0.5844915509223938, 0.459490567445755, -0.14311908185482025, -0.2548266351222992, -0.0784672275185585, 0.40099024772644043, -0.6327018737792969, 0.19960738718509674, 0.14168310165405273, 0.25792834162712097, 0.03405498340725899, 0.5751268267631531, -0.008627171628177166, 0.2738739252090454, 0.2930443286895752, 0.24476474523544312, -0.21710219979286194, -0.6435860395431519, -0.48712754249572754, 0.16319407522678375, 0.23690825700759888, -0.21422623097896576 ]
http://arxiv.org/abs/2402.17762v1
http://arxiv.org/pdf/2402.17762v1
Massive Activations in Large Language Models
2024-02-27T18:55:17
2024-02-27T18:55:17
Mingjie Sun, Xinlei Chen, J. Zico Kolter, Zhuang Liu
cs.CL
cs.CL, cs.LG
We observe an empirical phenomenon in Large Language Models (LLMs) -- very few activations exhibit significantly larger values than others (e.g., 100,000 times larger). We call them massive activations. First, we demonstrate the widespread existence of massive activations across various LLMs and characterize their locations. Second, we find their values largely stay constant regardless of the input, and they function as indispensable bias terms in LLMs. Third, these massive activations lead to the concentration of attention probabilities to their corresponding tokens, and further, implicit bias terms in the self-attention output. Last, we also study massive activations in Vision Transformers.
[ -0.45345839858055115, -0.8534539937973022, 0.844787061214447, 0.328335702419281, 0.12866704165935516, -0.18345588445663452, -0.4264085292816162, -0.5371899604797363, 0.416878342628479, 0.42094549536705017, -0.39833635091781616, -0.08449316024780273, -0.8526118993759155, -0.06163005903363228, -0.7403650879859924, 0.6334484219551086, 0.16139371693134308, 0.1582292914390564, -0.1034708321094513, -0.4094561040401459, -0.20933189988136292, -0.7372375726699829, -0.5745518207550049, -0.41391927003860474, 0.7761554718017578, -0.03483255207538605, 0.40892940759658813, 0.2781982123851776, 0.4413171410560608, 0.33508503437042236, -0.21386726200580597, -0.2428409606218338, -0.6134628057479858, 0.14835278689861298, -0.09317250549793243, -0.4906063377857208, -0.25760066509246826, -0.09829527884721756, 1.1952950954437256, 1.1251462697982788, 0.18323352932929993, 0.16256384551525116, 0.05072683468461037, 0.6165064573287964, -0.5680345892906189, 0.22564010322093964, -0.6574146747589111, -0.006858928129076958, -0.12864889204502106, -0.1180136501789093, -0.5785521268844604, -0.2608480453491211, 0.16132819652557373, -0.08985378593206406, 0.0040787807665765285, -0.13125480711460114, 0.5596415400505066, 0.23089182376861572, -0.4684615135192871, -0.069005087018013, -0.7237048745155334, 0.9049004912376404, -0.470089316368103, 0.35559871792793274, 0.0669940710067749, -0.036745619028806686, -0.26601412892341614, -0.5078914761543274, -0.5230062007904053, -0.5610989332199097, -0.12218064814805984, -0.1444898545742035, -0.34341689944267273, 0.2797966003417969, 0.7896308898925781, 0.4337325096130371, -0.1939850002527237, 0.4003724455833435, -0.30228090286254883, -0.011157607659697533, 0.4372825026512146, 0.319064199924469, 0.3723445534706116, 0.19913499057292938, -0.22767949104309082, 0.18995091319084167, -0.9783971905708313, -0.2909136414527893, 0.31615281105041504, 0.017386125400662422, 0.0018088013166561723, 0.8641564846038818, -0.12161444127559662, 0.7275773882865906, 0.32343024015426636, 0.005250985734164715, 0.2717110216617584, -0.19223496317863464, -0.3732522130012512, -0.007477230858057737, 0.7060770988464355, 0.11018683016300201, 0.5030810832977295, -0.18953749537467957, -0.21813172101974487, -0.018310407176613808, 0.12106308341026306, -0.7213743925094604, 0.26044750213623047, 0.3096286654472351, -0.40408751368522644, -0.20057271420955658, -0.14811107516288757, -0.3732888400554657, -0.45030567049980164, -0.25370585918426514, 0.5272279381752014, 0.044022612273693085, -0.372672438621521, -0.01957770064473152, -0.14929042756557465, 0.40663155913352966, -0.07862813770771027, -1.3105027675628662, 0.19583241641521454, 0.4495512843132019, 0.6888124346733093, -0.23010505735874176, -0.42716899514198303, -0.5239103436470032, 0.060184936970472336, -0.4630233645439148, 0.7174243927001953, -0.5788252949714661, -0.21874041855335236, 0.3942224681377411, 0.14594697952270508, -0.05789274722337723, -0.7576076984405518, 0.18354426324367523, -0.9037151336669922, -0.11818896979093552, -0.2949835956096649, -0.5634332299232483, -0.12510213255882263, 0.09886009991168976, -0.8101855516433716, 0.989606499671936, 0.056430332362651825, -0.4023105800151825, 0.5263159275054932, -0.7665678262710571, -0.3900015354156494, 0.2010495364665985, -0.07309138029813766, -0.11437665671110153, 0.6276195049285889, -0.27207157015800476, 0.5477359294891357, -0.2240469604730606, 0.2379533350467682, -0.44593262672424316, -0.2619140148162842, 0.6530720591545105, -0.5298519134521484, 0.6925947070121765, -0.19709868729114532, -0.5312387943267822, 0.34634050726890564, -0.4009353816509247, -0.19958120584487915, 0.1575496941804886, -0.3346744477748871, -0.30276986956596375, -0.0101857865229249, -0.027562113478779793, 0.32346057891845703, 0.27400773763656616, -0.3808598220348358, 0.42876216769218445, -0.3622462749481201, 0.4211045205593109, 0.6800892949104309, 0.21807220578193665, 0.6496140360832214, 0.22894111275672913, 0.46551138162612915, 0.23473376035690308, 0.0039620003663003445, -0.2889605760574341, -0.43045100569725037, -0.9882055521011353, -0.3946359157562256, 0.20780478417873383, 0.07242559641599655, -0.25696438550949097, 0.5105284452438354, -0.32842543721199036, -0.20248165726661682, 0.01290934905409813, 0.30541279911994934, 0.107492595911026, 0.12470301240682602, -0.03191240131855011, -0.12246646732091904, -0.2352149486541748, -1.2651267051696777, -0.16795094311237335, 0.1952866017818451, -0.24603624641895294, 0.18028393387794495, 0.5398810505867004, -0.5490942597389221, 0.852545440196991, -0.4484088718891144, -0.4243621826171875, -0.44007202982902527, 0.23954910039901733, 0.31801366806030273, 0.19090916216373444, 0.48772040009498596, -0.6683072447776794, -0.3301035761833191, -0.1364019811153412, -0.6786889433860779, -0.36597371101379395, -0.3946211338043213, 0.046231430023908615, 0.29607290029525757, 0.8516713976860046, -0.6419643759727478, 0.2909621298313141, 0.6946863532066345, -0.28437885642051697, 0.47639307379722595, -0.2036365419626236, -0.15920259058475494, -0.7242446541786194, 0.10783582180738449, 0.2944314181804657, -0.18253272771835327, -0.7806861996650696, 0.003194183809682727, 0.16529060900211334, 0.2785102427005768, -0.5782923698425293, 0.658017098903656, -0.638216495513916, -0.5128050446510315, -0.4009130001068115, 0.15903976559638977, -0.40252798795700073, 0.5359774231910706, 0.01022398006170988, 0.5913618206977844, 0.7164704203605652, -0.5906372666358948, 0.5306124091148376, -0.05186332017183304, -0.5737080574035645, 0.16204865276813507, -0.7426905035972595, -0.18158477544784546, -0.29341474175453186, 0.3899001479148865, -1.185397982597351, -0.4144468307495117, -0.10821500420570374, -0.04986954480409622, 0.3115864396095276, -0.22646324336528778, -0.8333334922790527, -0.3963167369365692, -0.2588452398777008, 0.5654699802398682, 0.4426536560058594, -0.5500236749649048, 0.5878894925117493, 0.584137499332428, -0.08827672153711319, -0.48066070675849915, -0.6656718254089355, 0.09947068244218826, -0.3009287714958191, -0.4660739004611969, -0.17624270915985107, 0.014953448437154293, -0.41448482871055603, -0.011381596326828003, 0.13341861963272095, 0.09256915748119354, 0.013058848679065704, 0.605251133441925, 0.26517003774642944, -0.15520384907722473, 0.19266967475414276, -0.0635964572429657, -0.0744391530752182, 0.35204723477363586, -0.4371972680091858, 0.9526790380477905, -0.050422463566064835, -0.5704073309898376, -0.3787829577922821, 0.3259161114692688, 1.0391554832458496, -0.20949538052082062, 0.8593351244926453, 0.4201596677303314, -0.3901664614677429, -0.02031240612268448, -0.7830673456192017, -0.3273894786834717, -0.5028865337371826, 0.7060216069221497, -0.21919044852256775, -1.1593992710113525, 0.9199811816215515, -0.0619395449757576, 0.03588314354419708, 0.6447056531906128, 1.1214139461517334, 0.29518604278564453, 1.444375991821289, 0.3553024232387543, -0.08919510245323181, 0.920001745223999, -0.20382492244243622, 0.1826697587966919, -1.1832154989242554, -0.25190097093582153, -0.08957145363092422, -0.49426931142807007, -0.35597744584083557, -0.37170982360839844, 0.46410226821899414, -0.1451554149389267, -0.23952631652355194, -0.11769167333841324, -0.149673730134964, 0.7234185338020325, 0.48300716280937195, -0.11725263297557831, -0.07414092868566513, 0.15281344950199127, 0.0547403022646904, -0.010522015392780304, -0.6174640655517578, -0.13003970682621002, 1.2537096738815308, 0.5956895351409912, 0.7896292209625244, 0.010907638818025589, 0.2842743694782257, 0.2787229120731354, 0.7104461193084717, -0.9923835396766663, 0.5868393182754517, 0.1451951563358307, -0.9976723194122314, -0.5200324058532715, -0.16008880734443665, -1.1280996799468994, 0.1481279581785202, -0.3084723949432373, -0.858966052532196, 0.14375802874565125, -0.049108315259218216, -0.2521025240421295, 0.09132764488458633, -0.6571725606918335, 0.8021542429924011, -0.24196670949459076, -0.6322661638259888, -0.4433634877204895, -0.20874105393886566, 0.5004323124885559, -0.24762628972530365, 0.04532017558813095, -0.03099067322909832, -0.10159668326377869, 0.6653239130973816, -0.03917146846652031, 0.9465087652206421, -0.09100248664617538, -0.44489577412605286, 0.23479868471622467, -0.020367367193102837, 0.6566280126571655, -0.11203265190124512, 0.34092533588409424, 0.2771279513835907, -0.6569716930389404, -0.5072373747825623, -0.36260268092155457, 0.955886960029602, -0.6311163902282715, -0.7080588936805725, -0.27628418803215027, -0.6516194343566895, -0.16119129955768585, 0.34488463401794434, 0.1971278041601181, 0.7065230011940002, -0.09802859276533127, 0.3012259304523468, 0.9350276589393616, -0.19660502672195435, 0.43515631556510925, 0.33168619871139526, -0.4955902695655823, -0.07396657764911652, 0.7676542401313782, 0.3631656765937805, 0.6886685490608215, 0.06747298687696457, 0.005407476332038641, -0.35598137974739075, -0.5422433018684387, -0.2729872167110443, 0.4869323670864105, -0.7663823962211609, 0.25530704855918884, -0.9012747406959534, -0.19117861986160278, -0.046937622129917145, -0.17266206443309784, -0.21678118407726288, -0.35562241077423096, -0.11521433293819427, -0.21877436339855194, 0.028754977509379387, 0.8856631517410278, -0.018002640455961227, 0.37641024589538574, -0.7248842120170593, 0.3789210319519043, 0.724825382232666, 0.48748108744621277, 0.2175823450088501, -0.6476501822471619, -0.4938860535621643, -0.13381703197956085, 0.028597990050911903, -0.8147956132888794, 0.3769993484020233, -0.019227853044867516, 0.6934439539909363, 0.8952210545539856, -0.5477671027183533, 0.32141366600990295, -0.6841859221458435, 0.8803852200508118, 0.30512893199920654, -0.8213251233100891, -0.06552557647228241, -0.6650125980377197, 0.5430225729942322, 0.18067556619644165, 0.36882150173187256, -0.5677475929260254, -0.5884971022605896, -0.684028148651123, -0.9344078302383423, 0.6673616766929626, -0.23611889779567719, 0.6545528173446655, -0.09951362758874893, 0.3678518533706665, -0.1804572492837906, 0.10995546728372574, -0.9134118556976318, -0.41382643580436707, 0.43284857273101807, -0.019743124023079872, -0.03167720139026642, -0.811566174030304, -0.3154732584953308, -0.1288326531648636, 0.35667359828948975, -0.07074489444494247, 0.34176892042160034, -0.1813891977071762, -0.25915199518203735, -0.3661753535270691, 0.12413285672664642, 0.8149654865264893, 0.8322410583496094, -0.03777552768588066, 0.2423180639743805, 0.502851128578186, -0.5314162969589233, 0.034351080656051636, -0.41682061553001404, 0.017182165756821632, -0.15856994688510895, 0.4047483205795288, 0.8031243681907654, 0.4667978286743164, -0.7750735282897949, 0.5791666507720947, 0.11434070765972137, -0.2686828076839447, -0.6507338881492615, 0.13938717544078827, 0.2826799154281616, 0.301477313041687, 0.6281179189682007, -0.1736726611852646, 0.0455961748957634, -0.6926147937774658, 0.06838425993919373, 0.7940787076950073, -0.5301032066345215, -0.37066954374313354, 0.7398639917373657, 0.2711566984653473, 0.11861400306224823, 0.5212289094924927, -0.15369386970996857, -0.8753094673156738, 0.7108122110366821, 0.5847130417823792, 1.1422452926635742, -0.04307674244046211, -0.12527288496494293, 0.2782551944255829, 0.4860615134239197, -0.19916965067386627, -0.029758989810943604, 0.148267462849617, -0.6652937531471252, -0.911008894443512, -0.5514775514602661, -0.15977634489536285, 0.4108133316040039, -0.3893863260746002, 0.16370472311973572, -0.39156386256217957, -0.051294516772031784, 0.3358493149280548, -0.2839914560317993, -0.47884100675582886, 0.09604038298130035, 0.6869555711746216, 0.6816442608833313, -1.1969265937805176, 0.8819407224655151, 0.5892009735107422, -0.13986830413341522, -0.43652525544166565, -0.007989156059920788, -0.16229955852031708, -0.88718181848526, 1.2767796516418457, 0.21807411313056946, 0.12685388326644897, 0.04503675550222397, -0.7536435723304749, -1.103333830833435, 0.7196477651596069, 0.24251689016819, -0.567442774772644, 0.12843795120716095, 0.4154503643512726, 0.667138397693634, -0.49092647433280945, 0.2042951136827469, 0.5852990746498108, 0.6269649863243103, 0.004898194223642349, -0.5786060690879822, 0.03186902776360512, 0.06866376847028732, -0.07896630465984344, 0.47896912693977356, -0.7647502422332764, 0.7143958806991577, -0.07819931209087372, -0.12109684944152832, -0.2676791846752167, 0.46025803685188293, 0.010093459859490395, -0.20745469629764557, 0.5405282974243164, 0.5879855751991272, 0.33778172731399536, -0.10593380779027939, 1.2451494932174683, -0.4665922522544861, 0.35931694507598877, 0.5764368176460266, -0.16370443999767303, 0.5831841826438904, 0.45167016983032227, -0.22260072827339172, 0.21018560230731964, 0.29387861490249634, -0.009884935803711414, 0.08648218214511871, 0.28180253505706787, -0.42325466871261597, -0.6260421872138977, -0.14325019717216492, -0.22442270815372467, 0.0495116300880909, 0.6672991514205933, -0.5629847645759583, 0.1177898645401001, 0.02351425401866436, 0.0795782133936882, -0.5406932830810547, -0.529101550579071, 0.6687155365943909, 0.06042252853512764, -0.5561351776123047, 0.5761593580245972, -0.3634313642978668, 0.5022374391555786, -0.7869884967803955, 0.24369747936725616, -0.22121624648571014, 0.20008842647075653, -0.30208197236061096, -0.8763009905815125, 0.045757271349430084, 0.030307427048683167, -0.4784366488456726, -0.14846272766590118, 0.6084892749786377, -0.40268635749816895, -0.384568452835083, 0.4115288555622101, 0.10081187635660172, 0.03775423765182495, -0.3394796848297119, -0.19848935306072235, 0.24050875008106232, -0.019978713244199753, -0.6950278282165527, 0.7274691462516785, 0.41000688076019287, -0.09167013317346573, 0.6490443348884583, 0.8154211640357971, 0.16253532469272614, 0.5582156777381897, 0.1028054803609848, 0.9041981101036072, -0.6914868354797363, -0.25069111585617065, -0.9746561646461487, 0.41784363985061646, -0.19345982372760773, -0.2248399555683136, 0.9187885522842407, 0.5952290296554565, 0.4604102075099945, -0.15118929743766785, 0.6768271923065186, 0.1368752419948578, -0.05399724468588829, -0.276851087808609, 0.5732606649398804, -0.6065963506698608, 0.12891432642936707, -0.11373064666986465, -1.4840809106826782, -0.468892365694046, 0.18687929213047028, -0.6634477376937866, -0.14388969540596008, 0.6404850482940674, 0.5808049440383911, 0.12637916207313538, -0.32914724946022034, 0.5514214038848877, 0.6246589422225952, 0.21776387095451355, 0.35250937938690186, 1.0087463855743408, 0.0037456639111042023, 0.2571955621242523, 0.3209802210330963, -0.37291398644447327, -0.6096047759056091, -0.7237374186515808, -0.8604700565338135, -0.48550739884376526, -0.2699154317378998, -0.35469985008239746, -0.38302499055862427, 0.7877129316329956, 0.5758630037307739, -0.8511378765106201, -0.1073034405708313, -0.00908895954489708, 0.11532723903656006, -0.010250196792185307, -0.17327474057674408, 0.23944605886936188, -0.47655078768730164, -1.0466587543487549, 0.1688210517168045, 0.5702212452888489, 0.02792692743241787, -0.6677268743515015, 0.26280951499938965, -0.0392843633890152, 0.4034622311592102, 0.9050478935241699, 0.3656150698661804, -0.45550718903541565, -0.32193389534950256, -0.09041384607553482, -0.35483017563819885, -0.017596587538719177, 0.7310556173324585, -0.7230684757232666, 0.22577844560146332, 0.5305176377296448, 0.4922278821468353, 0.5666606426239014, -0.2254582792520523, 0.394736111164093, -0.6259739398956299, 0.48694509267807007, -0.002386883134022355, 0.5273323059082031, 0.011315392330288887, -0.001977180363610387, 0.34233492612838745, 0.07639176398515701, -0.6824679374694824, -0.9777542352676392, 0.45309025049209595, -1.1724263429641724, -0.04455964267253876, 1.6871155500411987, 0.20873580873012543, -0.2553447484970093, 0.09664943814277649, -0.1840893030166626, -0.13738319277763367, -0.11267063021659851, 0.7537274360656738, 0.9170271754264832, -0.12462867796421051, 0.09985804557800293, -0.7598071098327637, 0.30350348353385925, 0.6729156970977783, -0.6048009991645813, 0.32637664675712585, 0.7174049615859985, 0.2261296808719635, 0.4850142002105713, 0.139044851064682, -0.15835623443126678, 0.17485514283180237, 0.011074479669332504, -0.05028987675905228, 0.3150945007801056, -0.12680475413799286, -0.6802924871444702, 0.42769521474838257, 0.2558148205280304, 0.15380455553531647 ]
http://arxiv.org/abs/2402.17759v2
http://arxiv.org/pdf/2402.17759v2
Towards Optimal Learning of Language Models
2024-02-27T18:52:19
2024-03-03T15:07:50
Yuxian Gu, Li Dong, Yaru Hao, Qingxiu Dong, Minlie Huang, Furu Wei
cs.CL
cs.CL
This work studies the general principles of improving the learning of language models (LMs), which aims at reducing the necessary training steps for achieving superior performance. Specifically, we present a theory for the optimal learning of LMs. We first propose an objective that optimizes LM learning by maximizing the data compression ratio in an "LM-training-as-lossless-compression" view. Then, we derive a theorem, named Learning Law, to reveal the properties of the dynamics in the optimal learning process under our objective. The theorem is then validated by experiments on a linear classification and a real-world language modeling task. Finally, we empirically verify that the optimal learning of LMs essentially stems from the improvement of the coefficients in the scaling law of LMs, indicating great promise and significance for designing practical learning acceleration methods. Our code can be found at https://aka.ms/LearningLaw.
[ -0.18452633917331696, -0.664453387260437, 0.4667874276638031, -0.11430712789297104, -0.13430190086364746, -0.1256507784128189, -0.5527751445770264, -0.12471999228000641, -0.10169251263141632, 0.345950722694397, -0.4509570002555847, -0.3275085687637329, -0.450182169675827, -0.17143847048282623, -0.47548946738243103, 0.7609059810638428, 0.09960302710533142, 0.4141993224620819, -0.21833384037017822, 0.03896592929959297, -0.14278125762939453, -0.3779436945915222, -0.767207682132721, -0.3680596649646759, 0.4194931983947754, 0.39071905612945557, 0.47259142994880676, 1.135706901550293, 0.28067049384117126, 0.24949480593204498, -0.23850950598716736, -0.0007437625899910927, -0.761307954788208, 0.18469740450382233, 0.05051069334149361, -0.7744891047477722, 0.007353435270488262, -0.08237842470407486, 0.6732322573661804, 0.7919893860816956, -0.5392156839370728, 0.06284637004137039, 0.26286426186561584, 0.8407008647918701, -0.5617668628692627, 0.2974125146865845, -0.46009066700935364, -0.03420987352728844, 0.17659738659858704, -0.44570034742355347, -0.524074912071228, -0.5439339876174927, -0.08165103197097778, -0.43671149015426636, 0.2526834011077881, 0.10328014194965363, 0.869486927986145, 0.0793958455324173, -0.3247303366661072, -0.37292858958244324, -0.624997615814209, 0.775017261505127, -0.3607375919818878, 0.682030439376831, 0.33332252502441406, 0.3814884126186371, -0.026499120518565178, -0.36654195189476013, -0.1844056248664856, -0.4019486904144287, 0.21262721717357635, -0.2738029658794403, -0.09629279375076294, 0.33198678493499756, 0.24932682514190674, 0.430587500333786, -0.6174803376197815, 0.3163378834724426, -0.5502640604972839, -0.18228620290756226, 0.5686127543449402, 0.17161960899829865, 0.43585577607154846, 0.5102013349533081, 0.0148775028064847, -0.06593924015760422, -0.8277246952056885, 0.19504527747631073, 0.4075303077697754, 0.5423744916915894, -0.14576421678066254, 0.11184164136648178, -0.1842464953660965, 0.6566088795661926, -0.3003515899181366, -0.4622124135494232, 0.29723864793777466, -0.03907214105129242, -0.13526833057403564, -0.32066312432289124, 0.40185457468032837, 0.18510881066322327, 0.4644722044467926, -0.3939376771450043, -0.505676805973053, -0.021980494260787964, 0.31669387221336365, -0.7559384703636169, -0.049246419221162796, -0.11257190257310867, -0.422104150056839, -0.5368170142173767, -0.2358418107032776, -0.3891608715057373, -0.2041131556034088, -0.7142811417579651, 0.6979599595069885, -0.22257062792778015, -0.33540594577789307, 0.3243860602378845, 0.20555199682712555, 0.0036659601610153913, 0.1600738763809204, -1.1475000381469727, 0.5852113962173462, 0.5376318097114563, 0.6132969856262207, 0.18852782249450684, -0.12075124680995941, -0.5694566369056702, -0.28270411491394043, -0.5757746696472168, 0.4362512230873108, -0.38002267479896545, -0.24250026047229767, 0.42903751134872437, -0.23546931147575378, 0.008886865340173244, -0.5794029831886292, 0.6918762922286987, -0.6457544565200806, 0.08153541386127472, -0.17271003127098083, -0.9541376829147339, -0.19416166841983795, -0.07811544090509415, -0.4919363558292389, 0.8050910830497742, -0.002786681056022644, -0.17699119448661804, 0.3487870395183563, -0.9314079880714417, -0.40896162390708923, -0.0895838662981987, 0.0299278162419796, -0.360678493976593, 0.5019803047180176, -0.2908746898174286, 0.514339804649353, -0.35020336508750916, 0.14489005506038666, -0.11900997906923294, -0.20395813882350922, -0.016933755949139595, -0.03419367969036102, 0.6928387880325317, 0.61320960521698, -0.026000333949923515, -0.04144260659813881, -0.7973242998123169, 0.026606416329741478, 0.5018008351325989, -0.8565590381622314, -0.37510791420936584, 0.24512989819049835, -0.2122388631105423, -0.17040926218032837, -0.07166209071874619, -0.3850380778312683, 0.27853530645370483, -0.4909144341945648, 0.15565183758735657, 0.8530621528625488, -0.19147102534770966, 0.7781814932823181, -0.19032719731330872, 0.49472329020500183, -0.27966833114624023, 0.2894037663936615, -0.1665443331003189, 0.1174059584736824, -0.9136927723884583, -0.06773118674755096, 0.4792923927307129, 0.3153064548969269, -0.35340526700019836, 0.046887874603271484, -0.16082260012626648, -0.07111108303070068, -0.32531479001045227, 0.5291004776954651, 0.3966479003429413, 0.2791139781475067, 0.37687936425209045, -0.2867586314678192, -0.6650494933128357, -0.5416608452796936, -0.4967021048069, -0.2261800915002823, 0.15608592331409454, 0.10214290022850037, 0.19953231513500214, -0.046913888305425644, 0.7195054888725281, -0.37764254212379456, 0.18839378654956818, -0.48039135336875916, -0.10700155049562454, 0.218192920088768, 0.35915607213974, 0.6858921647071838, -0.7857955098152161, -0.6190311908721924, -0.16090941429138184, -0.5809402465820312, -0.49517735838890076, 0.23863175511360168, 0.05737600848078728, 0.15556281805038452, 0.6836973428726196, -0.21651659905910492, 0.18798016011714935, 0.24440985918045044, -0.008322302252054214, 0.5589028596878052, -0.4074659049510956, -0.3099146783351898, -0.7654978036880493, -0.40267014503479004, 0.2959078252315521, -0.45548683404922485, -1.1235809326171875, 0.3755722939968109, 0.19699643552303314, 0.12134551256895065, -0.36603426933288574, 0.4729095697402954, -0.606511652469635, 0.14225202798843384, -0.664472222328186, 0.12488140165805817, -0.4095700681209564, 0.625988245010376, -0.06656697392463684, 0.5235521793365479, 0.9334976077079773, -1.0964765548706055, 0.16037216782569885, -0.46459078788757324, -0.4323650300502777, 0.14789286255836487, -0.4766194820404053, -0.044316671788692474, -0.4643348753452301, -0.5297929644584656, -0.6744814515113831, 0.09962533414363861, 0.0283235851675272, -0.3038020133972168, 0.6196675300598145, -0.11866452544927597, -0.42532211542129517, -0.17169952392578125, 0.0016733972588554025, 0.08087113499641418, 0.9169023633003235, -0.6212646961212158, 0.481444388628006, 0.5773977041244507, 0.20112749934196472, -0.6396351456642151, -0.2843792736530304, -0.4105125069618225, -0.2910270690917969, -0.055884748697280884, 0.06801404058933258, -0.25881966948509216, -0.4340847432613373, -0.19409115612506866, -0.04777910187840462, -0.13948024809360504, 0.2578483521938324, -0.07072915881872177, 0.07281757146120071, -0.27118197083473206, 0.48079144954681396, -0.21461854875087738, -0.05965733528137207, 0.1652282029390335, -0.511002242565155, 0.6405332684516907, -0.12906132638454437, -0.03906279057264328, -0.2842659056186676, -0.09677816182374954, 0.20560868084430695, 0.12641088664531708, 0.8112363219261169, 0.3052305579185486, -0.290033757686615, -0.5061511397361755, -0.4425594210624695, -0.13059088587760925, -0.4726581871509552, 0.6140316724777222, -0.4785628318786621, -0.7409153580665588, 0.1527927964925766, -0.2669966220855713, 0.22680014371871948, 0.39666470885276794, 0.6076846122741699, 0.006048102863132954, 1.101047158241272, 1.2465403079986572, -0.5091394186019897, 0.6857895851135254, -0.3830937445163727, 0.07021251320838928, -0.4356280267238617, -0.09219247102737427, -0.8067179918289185, -0.0751555860042572, -0.3282622992992401, -0.3801501393318176, 0.16912446916103363, 0.5023897290229797, -0.371736615896225, 0.39374107122421265, -0.1618553251028061, 0.8996040225028992, 0.36417093873023987, 0.15513594448566437, 0.049437135457992554, 0.21927055716514587, -0.6320276260375977, 0.008209338411688805, -0.9560783505439758, -0.45243996381759644, 1.050391674041748, 0.6211678385734558, 0.8866190910339355, 0.2591123878955841, 0.7636054158210754, 0.1934085190296173, 0.20210252702236176, -0.8725866079330444, 0.6018199920654297, 0.1678590178489685, -0.4519084095954895, -0.3320515751838684, -0.7808147072792053, -0.9727995991706848, 0.2659110724925995, -0.13382111489772797, -0.7029955983161926, -0.10153087973594666, 0.31872448325157166, 0.10019618272781372, 0.5380207896232605, -0.523827314376831, 0.606697678565979, -0.3851161599159241, -0.3953762352466583, -0.6186042428016663, -0.551733672618866, -0.04593723267316818, -0.10717073082923889, 0.5652281045913696, -0.03575048968195915, -0.20160047709941864, 0.58062744140625, -0.4499179422855377, 0.904405951499939, -0.4510350525379181, -0.06974686682224274, 0.29093044996261597, 0.2613722085952759, 0.34074780344963074, -0.427432119846344, 0.12549977004528046, -0.26635757088661194, -0.3107365369796753, -0.4777994751930237, -0.6341155171394348, 0.15661177039146423, -0.6988192200660706, -0.3179590106010437, -0.049286942929029465, -0.4925568997859955, -0.11141181737184525, 0.1412791758775711, -0.0033952316734939814, 0.5265994071960449, -0.30650344491004944, 0.16959184408187866, 0.8569959402084351, -0.13959971070289612, 0.44822439551353455, 0.8582102060317993, -0.6928326487541199, -0.020484041422605515, 1.1152702569961548, 0.07047238945960999, 0.5122208595275879, 0.6931803226470947, 0.532651424407959, -0.3455979526042938, -0.9722317457199097, -0.026862984523177147, 0.3885752260684967, -0.9839439392089844, 0.06451798975467682, -0.22753746807575226, -0.13087594509124756, -0.2279234677553177, 0.23293709754943848, -0.3570784330368042, -0.3124128580093384, -0.25468626618385315, -0.13813461363315582, 0.08414781093597412, 0.7753632068634033, -0.4684070944786072, 0.355599045753479, -0.49067792296409607, -0.09274203330278397, 0.2848615348339081, 0.20613829791545868, -0.10353446751832962, -0.8878286480903625, -0.6007182002067566, 0.13579800724983215, -0.46432948112487793, -0.39864832162857056, 0.41216179728507996, 0.5740808844566345, 0.8995022177696228, 0.5622743368148804, -0.10333909839391708, 0.40013858675956726, -0.6617927551269531, 0.35807499289512634, 0.4250287711620331, -0.7955655455589294, 0.5394641160964966, -0.06690973788499832, -0.09273243695497513, 0.30154550075531006, 0.6970847249031067, -0.5716890096664429, -0.25180724263191223, -0.5718920230865479, -0.5516126751899719, 0.3831348121166229, 0.01780807226896286, 0.5024508833885193, 0.23120614886283875, 0.760351836681366, 0.08082686364650726, 0.2252444177865982, -0.9198011159896851, -0.4744504690170288, 0.33233773708343506, -0.4305516481399536, -0.267609179019928, -0.29949766397476196, 0.16862769424915314, -0.2786920964717865, 0.902726411819458, -0.2764948904514313, 0.24448765814304352, -0.18104377388954163, -0.4402906000614166, -0.25689616799354553, 0.06036519631743431, 0.8369061946868896, 0.8233538269996643, 0.01855509728193283, 0.07955429702997208, 0.26168638467788696, -0.3666130304336548, 0.2592446208000183, -0.47737258672714233, -0.20267164707183838, -0.08860696107149124, 0.1831740140914917, 1.1575367450714111, 0.15854576230049133, -0.6788370013237, 0.43329471349716187, -0.16827715933322906, -0.24035440385341644, -0.04490057751536369, 0.4148719608783722, -0.05090958625078201, 0.345647394657135, 0.48886942863464355, -0.10500334948301315, -0.04943171143531799, -0.5229601263999939, 0.2768236994743347, 0.32074636220932007, -0.29687488079071045, -0.3561556339263916, 0.6050507426261902, 0.033542782068252563, -0.6518223285675049, 0.1813228726387024, -0.07561922073364258, -0.6376418471336365, 0.28424644470214844, 0.5439761281013489, 0.6388911008834839, -0.4478018581867218, 0.1113448515534401, 0.4599419832229614, 0.29131564497947693, -0.39814043045043945, 0.12327006459236145, -0.2111152857542038, -0.8344029784202576, -0.29363617300987244, -0.8415517807006836, -0.38979825377464294, -0.04665755107998848, -0.5872308611869812, 0.43042436242103577, -0.36534324288368225, 0.10453929007053375, -0.17237728834152222, -0.018437601625919342, -0.41447558999061584, 0.34864214062690735, 0.11441666632890701, 0.9834927320480347, -0.6090610027313232, 0.956974446773529, 0.25051480531692505, -0.3899648189544678, -0.8621960282325745, -0.25847604870796204, 0.12789781391620636, -1.1834285259246826, 0.8645797967910767, -0.0581817589700222, -0.09283918142318726, 0.06744381040334702, -0.801512598991394, -0.608255922794342, 0.5040758848190308, 0.7351095080375671, -0.6962484121322632, -0.11122751981019974, 0.13872437179088593, 0.5170006155967712, -0.695124089717865, 0.0506725013256073, 0.36028242111206055, -0.09450501948595047, -0.09497646242380142, -0.7855743169784546, -0.5191168785095215, -0.26560425758361816, -0.05808183178305626, 0.4476105868816376, -0.368270605802536, 0.6621246337890625, -0.4188039004802704, -0.17536886036396027, 0.13157203793525696, 0.6342524886131287, -0.12710104882717133, 0.05450346693396568, 0.5503908395767212, 0.6322069764137268, 0.8008180856704712, -0.14483389258384705, 1.196483850479126, -0.41446632146835327, 0.7960809469223022, 0.8400487899780273, 0.0926804170012474, 0.7607335448265076, 0.2839440405368805, -0.3918966054916382, 0.4202561378479004, 0.7151442766189575, 0.2089233547449112, 0.6061334609985352, 0.6178767681121826, -0.2503513693809509, -0.15557333827018738, 0.05478232726454735, -0.17692622542381287, 0.12481226027011871, 0.21133564412593842, -0.6254993081092834, -0.01766054891049862, 0.1171458289027214, 0.1310841143131256, 0.3008344769477844, -0.5941183567047119, 0.7957255840301514, 0.0031024347990751266, -0.20297446846961975, 1.0118135213851929, 0.06987695395946503, 0.3971661925315857, -0.5778895616531372, 0.2684584856033325, -0.07448536157608032, 0.3301423192024231, 0.13002696633338928, -0.24449290335178375, 0.04348685219883919, -0.061782389879226685, -0.1274467408657074, -0.2235352098941803, 0.6007354259490967, -0.7139177918434143, -0.3159635365009308, 0.47226816415786743, 0.3611820340156555, 0.5330457091331482, 0.30514389276504517, -0.7783174514770508, 0.11169696599245071, 0.033147815614938736, -0.24188834428787231, 0.4381824731826782, 0.053150445222854614, 0.5181194543838501, 0.9499737620353699, 0.4615538418292999, 0.5040193200111389, 0.23399123549461365, 0.2431328445672989, 0.5726034641265869, -0.49169984459877014, -0.5046457052230835, -0.9851250052452087, 0.3108046054840088, -0.015377696603536606, 0.08483555167913437, 0.5163917541503906, 0.5692894458770752, 1.0498687028884888, 0.04857476428151131, 0.6782709956169128, 0.23812715709209442, 0.7115938663482666, -0.7775803208351135, 0.42356234788894653, -0.8263306617736816, 0.3043297827243805, 0.033794939517974854, -0.8855745792388916, -0.4338161051273346, 0.8036051988601685, -0.12516264617443085, 0.26369377970695496, 0.7108362913131714, 0.9870343208312988, 0.04486473649740219, 0.06765187531709671, 0.5567864179611206, 0.16931162774562836, 0.11927521973848343, 0.630734920501709, 0.6784114241600037, -0.5677750110626221, 0.4220220744609833, -0.44850239157676697, -0.09934467077255249, -0.15663684904575348, -0.727595329284668, -0.8746442198753357, -0.6201543211936951, -0.4506225883960724, -0.3161660134792328, 0.15736079216003418, 1.263507604598999, 0.8280621767044067, -0.5691161155700684, -0.8861954212188721, -0.3473154902458191, 0.09678911417722702, -0.14499357342720032, -0.11998856067657471, 0.07827159017324448, -0.9300760626792908, -0.8296804428100586, 0.3789260685443878, 0.1587735265493393, 0.19509173929691315, -0.18768273293972015, -0.8033151626586914, -0.07238230109214783, 0.14350533485412598, 0.566216766834259, 0.5742839574813843, -0.40438297390937805, 0.009120275266468525, -0.23898933827877045, -0.20012913644313812, 0.25072935223579407, 1.0827467441558838, -0.37970492243766785, 0.5346002578735352, 0.3871495723724365, 0.7550433278083801, 0.36401569843292236, -0.39982977509498596, 0.5012356042861938, -0.6446139812469482, 0.16553694009780884, -0.06527771055698395, 0.47960221767425537, 0.06763800233602524, -0.04605304077267647, 0.7253015637397766, 0.4132658839225769, -0.5966806411743164, -1.2486194372177124, 0.15284475684165955, -0.39182141423225403, -0.2861871123313904, 1.0474681854248047, -0.02770139090716839, -0.4715966284275055, 0.08098827302455902, -0.01676534302532673, 0.3163869380950928, -0.16044726967811584, 0.5353835821151733, 0.49471229314804077, -0.16230066120624542, -0.44813305139541626, -0.7960637807846069, 0.6817023754119873, 0.4301503598690033, -0.5594415664672852, 0.0471370592713356, 0.17227435111999512, 0.46992555260658264, 0.04938679188489914, 0.3401409089565277, 0.0675293579697609, 0.1667138636112213, -0.21978026628494263, 0.09317941218614578, 0.08747422695159912, -0.5097941160202026, -0.7437636852264404, 0.25295281410217285, 0.4276588559150696, -0.07535145431756973 ]
http://arxiv.org/abs/2402.17753v1
http://arxiv.org/pdf/2402.17753v1
Evaluating Very Long-Term Conversational Memory of LLM Agents
2024-02-27T18:42:31
2024-02-27T18:42:31
Adyasha Maharana, Dong-Ho Lee, Sergey Tulyakov, Mohit Bansal, Francesco Barbieri, Yuwei Fang
cs.CL
cs.CL, cs.AI, cs.LG
Existing works on long-term open-domain dialogues focus on evaluating model responses within contexts spanning no more than five chat sessions. Despite advancements in long-context large language models (LLMs) and retrieval augmented generation (RAG) techniques, their efficacy in very long-term dialogues remains unexplored. To address this research gap, we introduce a machine-human pipeline to generate high-quality, very long-term dialogues by leveraging LLM-based agent architectures and grounding their dialogues on personas and temporal event graphs. Moreover, we equip each agent with the capability of sharing and reacting to images. The generated conversations are verified and edited by human annotators for long-range consistency and grounding to the event graphs. Using this pipeline, we collect LoCoMo, a dataset of very long-term conversations, each encompassing 300 turns and 9K tokens on avg., over up to 35 sessions. Based on LoCoMo, we present a comprehensive evaluation benchmark to measure long-term memory in models, encompassing question answering, event summarization, and multi-modal dialogue generation tasks. Our experimental results indicate that LLMs exhibit challenges in understanding lengthy conversations and comprehending long-range temporal and causal dynamics within dialogues. Employing strategies like long-context LLMs or RAG can offer improvements but these models still substantially lag behind human performance.
[ -0.3132176101207733, -0.8749807476997375, 0.6852900385856628, 0.08892222493886948, -0.2575215995311737, 0.22259929776191711, -0.45593416690826416, -0.6286720633506775, 0.1927991509437561, 0.7694324254989624, -0.5492315292358398, -0.4294070303440094, -0.02917836792767048, -0.09018748253583908, -0.20742011070251465, 0.8590059280395508, 0.22344478964805603, -0.15145404636859894, -0.3102824091911316, -0.2588658034801483, -0.5735507011413574, -0.7754650712013245, -0.850059986114502, -0.44010108709335327, 0.6775348782539368, -0.07476026564836502, 0.6323245763778687, 0.29803529381752014, 0.07621577382087708, 0.27360445261001587, -0.2808472216129303, 0.5146477818489075, -0.8582637310028076, 0.4722811281681061, -0.1921650618314743, -0.2838223874568939, -0.7127130627632141, -0.11129473894834518, 0.6377406120300293, 0.5035456418991089, -0.09977588802576065, -0.11505813896656036, -0.031704727560281754, 0.49192550778388977, -0.5644412040710449, 0.14698903262615204, -0.7039387226104736, 0.042564041912555695, 0.019280390813946724, -0.42271262407302856, -0.7634935975074768, 0.13309375941753387, 0.12545311450958252, -0.2780042886734009, -0.18804657459259033, -0.04358379915356636, 0.825259268283844, -0.01607486605644226, -0.43154048919677734, -0.41555890440940857, -1.03026282787323, 0.7914977669715881, -0.5734462738037109, 0.260518342256546, 0.5068478584289551, 0.44695916771888733, -0.48472779989242554, -0.6129970550537109, -0.2999213933944702, -0.5964932441711426, 0.18075037002563477, 0.12311286479234695, -0.14131443202495575, 0.03424876928329468, 0.22718171775341034, -0.11982318758964539, -0.27422279119491577, 0.12535962462425232, -0.12751436233520508, -0.2042969912290573, 0.5407165884971619, 0.6098271012306213, -0.022635135799646378, -0.08952055871486664, -0.520106852054596, 0.12773887813091278, -0.5227179527282715, -0.13792328536510468, 0.2896917462348938, 0.11287613213062286, 0.0780046358704567, 0.39909470081329346, -0.01486778911203146, 0.4854772984981537, -0.11199761182069778, -0.2661444842815399, -0.006929398979991674, -0.2945566475391388, -0.08606722950935364, -0.370484322309494, 0.9610867500305176, 0.5917463302612305, 0.2970718741416931, -0.5877460837364197, -0.2460605651140213, -0.19964253902435303, 0.232490673661232, -0.9006316661834717, 0.1531965136528015, 0.23364707827568054, -0.23694641888141632, -0.07090667635202408, -0.31452324986457825, -0.670648992061615, -0.42847761511802673, -0.04598841443657875, 0.16335730254650116, -0.2999652028083801, 0.019084306433796883, 0.08493099361658096, -0.04509132355451584, 0.4105769395828247, 0.30776962637901306, -0.4621149003505707, 0.32430148124694824, 0.6067960262298584, 0.6267570853233337, -0.3434664011001587, -0.37511152029037476, -0.7713676691055298, 0.3453817069530487, -0.387360155582428, 0.7711387276649475, -0.5253560543060303, -0.5162439942359924, 0.1401297003030777, 0.11927574127912521, 0.07390643656253815, -0.722570538520813, 0.5708015561103821, -0.6368216276168823, 0.14382362365722656, 0.1973724663257599, -0.4716452360153198, 0.21161296963691711, 0.5078076720237732, -0.39257916808128357, 0.8556457757949829, -0.052746303379535675, -0.36942026019096375, 0.007631557062268257, -0.5669925212860107, -0.2209034264087677, 0.09257004410028458, -0.25115469098091125, -0.5076624155044556, -0.01984258182346821, 0.06684701889753342, 0.6991521716117859, -0.6148918271064758, 0.5915509462356567, -0.19849881529808044, -0.34697410464286804, 0.6507231593132019, -0.7102241516113281, 0.2977229058742523, 0.08850887417793274, -0.18818926811218262, 0.017050879076123238, -0.6674113273620605, -0.1410069465637207, 0.14267706871032715, -0.2755715847015381, -0.17745868861675262, 0.14921200275421143, -0.1349857598543167, 0.20040743052959442, 0.13407503068447113, -0.4178994297981262, 0.11142154037952423, -0.26045191287994385, 0.7565317749977112, 0.8015855550765991, 0.0994507297873497, 0.23138216137886047, -0.495950311422348, 0.3354797959327698, 0.24033232033252716, 0.09407419711351395, -0.7898043394088745, -0.2314734011888504, -0.9765589833259583, -0.18362678587436676, -0.2531711459159851, 0.30233603715896606, -0.49834108352661133, 0.2648829519748688, -0.5431801080703735, -0.2562205493450165, -0.03431115299463272, 0.14411872625350952, 0.4953552186489105, 0.3518140912055969, 0.19493050873279572, -0.5156973600387573, -0.32647407054901123, -0.797011137008667, 0.047325555235147476, -0.30367764830589294, -0.09299931675195694, 0.9145344495773315, 0.4044455289840698, -0.5050686001777649, 1.0615575313568115, -0.29530325531959534, 0.05359592288732529, -0.06949636340141296, 0.2056041955947876, -0.05852493643760681, 0.05459048971533775, 0.24570345878601074, -0.37889522314071655, -0.13920365273952484, -0.1791255921125412, -0.671576738357544, 0.26496565341949463, -0.42073869705200195, -0.18046462535858154, 0.6627638936042786, 0.509127140045166, -1.0958129167556763, 0.2772921323776245, 0.3799251616001129, -0.36139023303985596, 0.4744096100330353, -0.1431311070919037, 0.05522708594799042, -1.0478922128677368, 0.09828750789165497, -0.25461527705192566, -0.5361731052398682, -0.4749818444252014, -0.3010665774345398, -0.13293865323066711, -0.2948738634586334, -0.6968116164207458, 0.9076303243637085, -0.6701963543891907, -0.26004737615585327, -0.2415546476840973, 0.39774760603904724, -0.09000886976718903, 0.8160881400108337, 0.04090888425707817, 0.757031261920929, 0.18805307149887085, -0.6457518339157104, 0.3999497890472412, 0.06914564967155457, -0.38910821080207825, 0.4509046673774719, -0.6138431429862976, 0.8730509281158447, -0.10180447995662689, 0.7113007307052612, -1.0553717613220215, -0.12518051266670227, 0.1562550961971283, -0.33451852202415466, 0.27059638500213623, -0.2863824963569641, -0.4058235287666321, -0.24887798726558685, -0.23063838481903076, 0.20969337224960327, 0.5535159111022949, -0.314939945936203, 0.6997117400169373, 0.3355100750923157, -0.1322387456893921, -0.5026969909667969, -0.23320892453193665, 0.576411247253418, -0.41297397017478943, -0.6957957148551941, 0.0712718665599823, -0.15207399427890778, -0.20749545097351074, -0.32726845145225525, 0.06468761712312698, 0.1332429200410843, -0.020131312310695648, 0.49191713333129883, 0.1660577356815338, -0.07435142993927002, 0.2004731446504593, -0.31594279408454895, -0.1268806904554367, 0.21111299097537994, -0.2158031314611435, 0.9211583137512207, -0.0071643684059381485, -0.3619661033153534, -0.29644179344177246, 0.2817752957344055, 0.8282178044319153, -0.03563430905342102, 0.6590532660484314, 0.5290864109992981, -0.08919402956962585, -0.14527422189712524, -0.8422771096229553, -0.10087496042251587, -0.40836167335510254, 0.44922178983688354, -0.35328802466392517, -0.8929193019866943, 0.7156415581703186, -0.2539982199668884, 0.1222522035241127, 0.08481654524803162, 0.7762799859046936, -0.30530956387519836, 0.6841372847557068, 0.07494309544563293, -0.30628010630607605, 0.41211992502212524, -0.35966894030570984, -0.023959001526236534, -0.9377903938293457, -0.2505970001220703, -0.18433530628681183, -0.12417498975992203, -0.29097405076026917, -0.9246702790260315, 0.1873401254415512, -0.016216397285461426, -0.3513982594013214, 0.059477582573890686, 0.01684417948126793, 0.5716431140899658, 0.13864068686962128, 0.10866574943065643, 0.09716513007879257, -0.19056881964206696, 0.2569015324115753, 0.09748572111129761, -0.36710068583488464, -0.7430661916732788, 1.141000509262085, 0.5441884994506836, 0.7730391621589661, -0.09626378864049911, 0.464295893907547, 0.3041013181209564, 0.10249926894903183, -0.7995880246162415, 0.877263069152832, 0.33971619606018066, -0.43790075182914734, -0.4446089267730713, -0.24542298913002014, -1.2576940059661865, 0.10761956870555878, 0.007514765951782465, -0.7509313821792603, -0.3224024176597595, -0.0990152657032013, -0.1938672661781311, 0.14845474064350128, -0.3350498378276825, 0.5609644651412964, -0.3255394399166107, -0.77126544713974, -0.3144598603248596, -0.8056279420852661, 0.13892516493797302, 0.16930262744426727, -0.050959404557943344, -0.19664494693279266, 0.0219174362719059, 0.6378828883171082, -0.1759270429611206, 0.9467243552207947, -0.03929376229643822, -0.17082156240940094, 0.681398332118988, -0.025985591113567352, 0.7780628204345703, 0.048408593982458115, 0.1176706999540329, 0.17227217555046082, -0.3971257209777832, -0.35510194301605225, -0.5812692046165466, 0.6747198104858398, -0.7935566306114197, -0.6294734477996826, -0.10571657866239548, -0.5090723037719727, -0.3909838795661926, -0.21320265531539917, -0.28194063901901245, 0.4371607005596161, -0.5450180172920227, 0.2880478799343109, 0.704642653465271, -0.4008685052394867, 0.5116729140281677, 0.5168796181678772, -0.32405930757522583, -0.3706272840499878, 0.7102727293968201, -0.17073334753513336, 0.4433524012565613, 0.3054918944835663, 0.06960008293390274, -0.10097290575504303, -0.3299148678779602, -0.4465019702911377, 0.2969324290752411, -0.5133610367774963, -0.19070878624916077, -0.8642659187316895, -0.271720826625824, -0.10281941294670105, 0.12566712498664856, -0.3729080855846405, -0.22002777457237244, -0.35243529081344604, 0.11275535076856613, 0.22655406594276428, 0.3905445635318756, 0.3289589583873749, 0.02901502698659897, -0.8648127913475037, 0.44338181614875793, 0.4953392446041107, -0.037084128707647324, 0.07836928218603134, -0.49120989441871643, -0.407781183719635, 0.2445976585149765, -0.5348982214927673, -0.6538312435150146, 0.4522475004196167, 0.20747923851013184, 0.4091406762599945, 0.2929709255695343, -0.2203998863697052, 0.9038399457931519, -0.5627235174179077, 0.9918415546417236, 0.06630989909172058, -0.5486665368080139, 0.3636658787727356, -0.5895919799804688, 0.22493937611579895, 0.12325131893157959, 0.1438649594783783, -0.5356312990188599, -0.4733102023601532, -0.46693089604377747, -0.8731883764266968, 0.4887230694293976, 0.14150819182395935, 0.5246369242668152, -0.3528240919113159, 0.3589904308319092, -0.14821748435497284, 0.07124435901641846, -0.31469815969467163, 0.008393033407628536, 0.1866569072008133, 0.37991228699684143, -0.3090723156929016, -0.530485212802887, -0.4062083065509796, 0.16076794266700745, 0.2707189917564392, -0.20463241636753082, 0.5082274079322815, 0.010550476610660553, -0.06635463237762451, -0.0460381954908371, 0.5662220120429993, 0.8020030856132507, 0.7765871286392212, -0.33532923460006714, -0.10477703809738159, 0.3100767433643341, -0.07241056859493256, 0.0174937155097723, -0.16821159422397614, 0.3950170576572418, 0.018602609634399414, 0.27416473627090454, 0.9803810119628906, 0.24836471676826477, -1.0594624280929565, 0.415621817111969, -0.07789386808872223, 0.02928873524069786, -0.6838908195495605, -0.005973020102828741, 0.5789756774902344, 0.43562212586402893, 0.44895675778388977, -0.41384702920913696, -0.11674299091100693, -0.984520435333252, 0.12412683665752411, 0.5446071028709412, -0.3664743900299072, -0.2563730776309967, 0.5238351225852966, 0.4310765862464905, -0.4823942482471466, 0.8676503896713257, -0.09327714145183563, -0.2939021587371826, 0.46787792444229126, 0.6260645389556885, 0.9539077877998352, 0.0911123976111412, 0.05614333227276802, 0.13874326646327972, -0.19406767189502716, -0.002056955825537443, -0.16557924449443817, -0.3094893991947174, -0.5334084630012512, -0.5668949484825134, -0.46675243973731995, -0.49005958437919617, 0.39460474252700806, -0.42983222007751465, 0.17344777286052704, -0.161179319024086, -0.48005980253219604, -0.34359535574913025, 0.1411459743976593, -0.571169912815094, -0.07706447690725327, 0.30653154850006104, 0.6196710467338562, -0.5717040300369263, 0.8559508323669434, 0.46380749344825745, -0.00047128807636909187, -0.3227583169937134, -0.24855944514274597, -0.2810373604297638, -0.7841006517410278, 0.8151968717575073, 0.192723348736763, -0.4865930676460266, -0.3395247757434845, -0.6694719791412354, -0.34072086215019226, 1.4136171340942383, 0.35999175906181335, -0.7100174427032471, -0.35947951674461365, 0.21680158376693726, 0.9042628407478333, -0.46669140458106995, 0.47036924958229065, 0.35073310136795044, 0.03975123539566994, 0.4327538013458252, -1.0113753080368042, -0.29224535822868347, -0.07891212403774261, 0.006620342377573252, 0.3015914261341095, -0.973114013671875, 0.5255951285362244, -0.14095301926136017, -0.3221137821674347, 0.2555883228778839, 0.7586786150932312, 0.4196810722351074, 0.585789144039154, 0.3635094463825226, 0.5100150108337402, 0.57296222448349, 0.2554912269115448, 0.8240653276443481, -0.45859912037849426, 0.16140666604042053, 1.4207085371017456, -0.3450269401073456, 0.7736358046531677, 0.5163021087646484, 0.1007903441786766, 0.35452261567115784, 0.16364769637584686, 0.33831438422203064, 0.20281122624874115, 0.3707180619239807, -0.3105672001838684, -0.519900381565094, -0.27967342734336853, -0.10315662622451782, 0.35161659121513367, 0.4334481954574585, -0.36727768182754517, 0.03697352483868599, 0.01285762432962656, 0.14271055161952972, -0.05467638000845909, -0.01628524623811245, 0.8875922560691833, 0.17027145624160767, -0.7952442765235901, 0.7549751996994019, -0.23900216817855835, 0.5428244471549988, -0.4138047397136688, -0.18304003775119781, -0.5174714922904968, 0.08575809001922607, 0.241734579205513, -0.7039759755134583, -0.03374359756708145, 0.16061478853225708, 0.06886924803256989, -0.2508018910884857, 0.6247941255569458, -0.4588431715965271, -0.019519200548529625, 0.41854768991470337, 0.5987218022346497, 0.5300711989402771, 0.12963637709617615, -0.46629059314727783, 0.3095025420188904, -0.24286659061908722, -0.47889113426208496, 0.5439354777336121, 0.5276091694831848, -0.24373432993888855, 1.1847978830337524, 0.4138217568397522, -0.12749232351779938, -0.07162076979875565, 0.13495299220085144, 0.9766560196876526, -0.8405294418334961, -0.04776160046458244, -0.8699449300765991, 0.48609763383865356, 0.005882429890334606, -0.24063444137573242, 0.4815613925457001, 0.7831280827522278, 0.5261038541793823, 0.11929207295179367, 0.449555903673172, 0.3884432017803192, 0.3141513764858246, -0.5593764185905457, 0.49348005652427673, -0.2655458450317383, 0.31749269366264343, -0.1224977895617485, -0.8677160143852234, 0.14993301033973694, 0.30809181928634644, -0.10475841164588928, -0.04503287002444267, 0.4107682704925537, 0.8666998147964478, -0.015132836066186428, -0.3567295968532562, 0.6471838355064392, 0.35180339217185974, 0.5833624601364136, 0.9378671646118164, 1.4399619102478027, -0.3447062373161316, 0.6934854984283447, 0.18425843119621277, 0.2202930450439453, -0.31641703844070435, -0.7620723247528076, -1.2261162996292114, -0.6807413101196289, -0.11635012924671173, -0.4515816867351532, 0.5060489177703857, 0.9222939610481262, 0.6155496835708618, -0.20236986875534058, -0.5199309587478638, 0.25511640310287476, -0.1373409628868103, 0.257768839597702, -0.17728941142559052, 0.21937033534049988, -0.3281245529651642, -0.8667219877243042, 0.5174306035041809, 0.5282449126243591, -0.011870305053889751, -0.515457272529602, -0.42627274990081787, 0.06797969341278076, 0.2842569053173065, 0.8615322113037109, 0.37019607424736023, -0.5865694880485535, -0.3975861668586731, 0.09368053078651428, -0.3813522458076477, 0.2856060862541199, 0.7927038073539734, -0.9544369578361511, 0.5208896398544312, 0.16412505507469177, 0.5416902899742126, 0.8069040179252625, 0.11615577340126038, 0.602932870388031, -0.37461864948272705, 0.2173786759376526, 0.4826262891292572, 0.029062112793326378, 0.29516714811325073, 0.06081204116344452, 0.4530114233493805, -0.133627250790596, -0.902836263179779, -0.8867588639259338, 0.13875968754291534, -1.123457670211792, -0.10627236217260361, 1.4085525274276733, -0.3399006724357605, -0.24221333861351013, -0.12796379625797272, -0.37312084436416626, 0.18659161031246185, -0.5194087624549866, 0.7624732851982117, 0.7281563878059387, -0.3056243658065796, -0.13277508318424225, -0.5220628380775452, 0.2576397955417633, 0.17690636217594147, -0.7415944933891296, 0.29228368401527405, 0.8150061964988708, 0.0507369339466095, 0.20375967025756836, 0.8935132026672363, -0.0939728319644928, 0.006039003375917673, -0.20516924560070038, -0.16045428812503815, 0.005044171586632729, -0.503690242767334, -0.04146425426006317, 0.05456463620066643, 0.08632688224315643, 0.05161866173148155 ]
http://arxiv.org/abs/2402.17733v1
http://arxiv.org/pdf/2402.17733v1
Tower: An Open Multilingual Large Language Model for Translation-Related Tasks
2024-02-27T18:09:36
2024-02-27T18:09:36
Duarte M. Alves, José Pombal, Nuno M. Guerreiro, Pedro H. Martins, João Alves, Amin Farajian, Ben Peters, Ricardo Rei, Patrick Fernandes, Sweta Agrawal, Pierre Colombo, José G. C. de Souza, André F. T. Martins
cs.CL
cs.CL
While general-purpose large language models (LLMs) demonstrate proficiency on multiple tasks within the domain of translation, approaches based on open LLMs are competitive only when specializing on a single task. In this paper, we propose a recipe for tailoring LLMs to multiple tasks present in translation workflows. We perform continued pretraining on a multilingual mixture of monolingual and parallel data, creating TowerBase, followed by finetuning on instructions relevant for translation processes, creating TowerInstruct. Our final model surpasses open alternatives on several tasks relevant to translation workflows and is competitive with general-purpose closed LLMs. To facilitate future research, we release the Tower models, our specialization dataset, an evaluation framework for LLMs focusing on the translation ecosystem, and a collection of model generations, including ours, on our benchmark.
[ -0.11061395704746246, -0.5190883278846741, 0.2123648226261139, 0.348844438791275, -0.06023770570755005, -0.09305663406848907, -0.5831859111785889, -0.2102462649345398, 0.1887413114309311, 0.9661492109298706, -0.4956606328487396, -0.7041819095611572, -0.5466834902763367, 0.18596602976322174, -0.3905726373195648, 1.1476608514785767, -0.34832167625427246, 0.044653359800577164, -0.10701420158147812, -0.2605832815170288, -0.5443539023399353, -0.7644296884536743, -0.33954358100891113, -0.33467602729797363, 0.5124698877334595, 0.6609421968460083, 0.8366719484329224, 0.6349067687988281, 0.6247043013572693, 0.2797991633415222, 0.0899457111954689, 0.010003688745200634, -0.7263872027397156, 0.1550063043832779, -0.14296677708625793, -0.3872002363204956, -0.8050833344459534, -0.005085980053991079, 0.6567491888999939, 0.8089740872383118, -0.250403493642807, 0.40665844082832336, 0.17621032893657684, 0.6882501840591431, -0.40252235531806946, 0.14153549075126648, -0.7790518403053284, 0.07859821617603302, -0.5246272683143616, -0.03681522235274315, -0.4090822637081146, -0.06936489045619965, -0.005893563851714134, -0.49348214268684387, 0.29664796590805054, 0.22570759057998657, 0.5609409213066101, 0.0533718504011631, -0.42192909121513367, -0.21564806997776031, -0.531785786151886, 0.908636212348938, -0.406326562166214, 0.5384162068367004, 0.08587048202753067, 0.41948872804641724, 0.024726802483201027, -0.7524716258049011, -0.12860871851444244, -0.3922603130340576, 0.08420366793870926, 0.24403825402259827, 0.00016192741168197244, -0.018443699926137924, -0.03333691507577896, 0.4512694180011749, -0.6430325508117676, 0.24932363629341125, -0.2603233754634857, 0.2407120317220688, 0.3781525492668152, 0.17583197355270386, 0.31716758012771606, 0.019951818510890007, -0.3297843337059021, -0.026121484115719795, -0.9344412088394165, 0.049187663942575455, 0.37184473872184753, 0.4636591970920563, -0.18047425150871277, 0.6059004068374634, -0.20171743631362915, 0.6942493319511414, -0.3366243839263916, -0.24847747385501862, 0.34693583846092224, -0.20995678007602692, -0.39688459038734436, -0.07009072601795197, 0.719394862651825, 0.11562289297580719, 0.6490383744239807, -0.4848954677581787, -0.1508997231721878, -0.24767537415027618, 0.42079442739486694, -0.8218712210655212, 0.06588120013475418, 0.3269156515598297, -0.47221845388412476, -0.16587281227111816, -0.12650485336780548, -0.5138081312179565, 0.12172076851129532, -0.3866983652114868, 0.09167028963565826, -0.02407473884522915, -0.37986481189727783, 0.353569358587265, 0.12553104758262634, -0.3530750870704651, 0.16878709197044373, -0.8425047993659973, 0.3013581335544586, 0.5672172904014587, 1.0332961082458496, -0.5476234555244446, -0.7394643425941467, -0.7770556807518005, 0.45417383313179016, -0.3810727596282959, 0.5121239423751831, -0.4858011305332184, -0.3893533945083618, 0.42745280265808105, 0.08464816957712173, -0.09034845978021622, -0.6932331323623657, 0.802850604057312, -0.5731976628303528, -0.13922008872032166, 0.013671607710421085, -0.06591670215129852, -0.05319402739405632, 0.45546239614486694, -0.6749643087387085, 0.9941452741622925, -0.02934424951672554, -0.6212051510810852, 0.01464123371988535, -0.6788470149040222, -0.6560401320457458, 0.09499464184045792, -0.005404963623732328, -0.2630387246608734, 0.29269346594810486, 0.15073274075984955, 0.6881241798400879, -0.6231368780136108, 0.44289231300354004, -0.33034512400627136, -0.021239910274744034, -0.15181265771389008, 0.009793483652174473, 0.6421571373939514, 0.39271360635757446, 0.16766807436943054, 0.41846948862075806, -0.33591169118881226, -0.09668287634849548, -0.12113166600465775, -0.41549375653266907, -0.08781887590885162, 0.12320372462272644, 0.16031233966350555, 0.3062330186367035, 0.31236889958381653, -0.4279279112815857, 0.2968783676624298, -0.13930824398994446, 0.5633870363235474, 0.3413555324077606, -0.5537816286087036, 0.30104267597198486, -0.467864990234375, 0.7106132507324219, 0.17923660576343536, 0.016954919323325157, -0.06025580316781998, -0.3967369794845581, -0.6517690420150757, -0.4144643545150757, 0.008933459408581257, 0.6950167417526245, -0.5008822679519653, 0.15522025525569916, -0.7425363659858704, -0.5943488478660583, -0.4483394920825958, 0.25676143169403076, 0.4413331151008606, 0.31219589710235596, 0.4903714954853058, -0.15439791977405548, -0.3424987494945526, -0.9916335344314575, -0.16646894812583923, 0.3552872836589813, 0.09074756503105164, -0.18288925290107727, 0.6192176342010498, -0.010149342007935047, 0.4276891052722931, -0.3915958106517792, -0.8023686408996582, -0.441423624753952, 0.0657571405172348, 0.6168443560600281, 0.5040199160575867, 0.582416296005249, -0.648250937461853, -0.7414398789405823, 0.4900108873844147, -0.7916402816772461, -0.13551464676856995, 0.17308154702186584, -0.1919238567352295, -0.32250627875328064, 0.814647912979126, -0.5622008442878723, 0.12730291485786438, 0.8200641870498657, 0.33482593297958374, 0.710340678691864, -0.2784743309020996, 0.2897703945636749, -1.3792943954467773, 0.06853702664375305, -0.09153906255960464, -0.055513471364974976, -0.8909463286399841, 0.3951677978038788, 0.05642766132950783, -0.3017462491989136, -0.5185116529464722, 0.5500045418739319, -0.6845476031303406, -0.15377576649188995, -0.24619148671627045, 0.14026038348674774, -0.11506353318691254, 0.36300480365753174, 0.3973067104816437, 0.5831480026245117, 0.8492417931556702, -0.4186340570449829, 0.2495240569114685, 0.3495439887046814, -0.5542638897895813, 0.5428109169006348, -0.7358814477920532, 0.0480152852833271, -0.13710056245326996, 0.11043396592140198, -0.7894676923751831, -0.24213577806949615, -0.22868269681930542, -0.14526154100894928, 0.021013958379626274, -0.43361055850982666, -0.7006782293319702, -0.45855462551116943, -0.02960188314318657, 0.5240267515182495, 0.3163174092769623, -0.4748149812221527, 0.6075767874717712, 0.14762142300605774, -0.32570821046829224, -0.767560601234436, -0.8809329271316528, 0.14324593544006348, -0.2668299078941345, -0.9188737273216248, 0.6935985684394836, -0.10404446721076965, -0.14184588193893433, -0.18574725091457367, 0.2140728086233139, -0.28013157844543457, -0.019683778285980225, 0.2805974781513214, -0.011842962354421616, -0.42563655972480774, 0.14054323732852936, -0.20301030576229095, 0.05637061595916748, -0.25181108713150024, -0.5361641049385071, 0.3411388695240021, -0.1034141257405281, -0.4958115816116333, -0.15133844316005707, 0.6488291025161743, 0.8993120193481445, -0.8346010446548462, 0.6867815852165222, 0.4567130506038666, -0.4811227321624756, -0.30646127462387085, -0.644565224647522, 0.26298609375953674, -0.4202897548675537, 0.6364486217498779, -0.9305189251899719, -1.0353894233703613, 0.5671449303627014, -0.046307288110256195, 0.4258173704147339, 0.2607312500476837, 0.879642128944397, 0.1698637157678604, 0.9000067710876465, 0.6550597548484802, -0.1396009624004364, 0.25210773944854736, -0.01561715081334114, 0.28501424193382263, -0.7658040523529053, -0.09061379730701447, -0.8031787872314453, -0.25795674324035645, -0.2626570165157318, -0.5263602137565613, 0.6803008913993835, 0.4587576389312744, -0.21749520301818848, 0.3705834448337555, -0.28152310848236084, 0.42435142397880554, 0.41489484906196594, -0.23963956534862518, 0.5975818037986755, 0.3015066087245941, -0.27781832218170166, -0.03625205531716347, -0.8911384344100952, -0.5441524982452393, 1.0913749933242798, 0.09917459636926651, 0.5016385912895203, 0.43450257182121277, 0.5674874782562256, -0.07768038660287857, 0.8300513029098511, -0.5472456812858582, 0.2935769557952881, -0.6434381008148193, -0.7633718848228455, -0.20419025421142578, -0.35895201563835144, -1.0797654390335083, 0.5000351667404175, -0.08529181033372879, -0.6522767543792725, -0.457593709230423, -0.011891243048012257, -0.06597962230443954, 0.5131428241729736, -0.5027202367782593, 1.2918215990066528, -0.44868770241737366, -0.25467005372047424, -0.5022757053375244, -0.22015461325645447, 0.4986202120780945, -0.3922605812549591, 0.5412408709526062, -0.20804379880428314, 0.10982994735240936, 0.3662947118282318, -0.36611711978912354, 0.6127127408981323, 0.1541961431503296, 0.07637906074523926, 0.18942566215991974, 0.1399078518152237, 0.45219358801841736, -0.09386314451694489, -0.5316908955574036, 0.16109655797481537, -0.01290049683302641, -0.46318942308425903, -0.17081798613071442, 0.8234366178512573, -0.7987493276596069, -0.6371459364891052, -0.10326919704675674, -0.7306480407714844, -0.2304256558418274, 0.3066053092479706, 0.24795424938201904, 0.32978180050849915, -0.5464679002761841, 0.2988038659095764, 0.37485596537590027, -0.12443345785140991, 0.3718600869178772, 0.5008753538131714, -0.4514966309070587, -0.31898048520088196, 0.5408861041069031, 0.019888006150722504, 0.35354506969451904, 0.6874495148658752, 0.05707605928182602, -0.19024775922298431, -1.0967110395431519, -0.4574313461780548, 0.05247969925403595, -0.6059592366218567, -0.03897220641374588, -0.5827369689941406, 0.035816553980112076, -0.3890233337879181, -0.42409080266952515, -0.4269098937511444, 0.010813173837959766, -0.08179141581058502, 0.05188721790909767, 0.014302347786724567, 0.8393290042877197, 0.10983699560165405, 0.4491056799888611, -1.0886766910552979, 0.4802631139755249, 0.12709183990955353, 0.3055168092250824, 0.024834029376506805, -0.5842231512069702, -0.536823570728302, -0.05351916328072548, -0.16940736770629883, -0.7470415234565735, 0.41525834798812866, 0.1856033205986023, 0.6785555481910706, 0.2028210610151291, -0.28638067841529846, 0.5525954365730286, -0.9318835735321045, 0.5520926117897034, 0.5270318984985352, -0.8121171593666077, 0.19611826539039612, -0.5109747648239136, 0.5027645826339722, 0.5457329750061035, 0.631641149520874, -0.6915353536605835, -0.18468528985977173, -0.0894017443060875, -0.5277479290962219, 0.507727861404419, 0.11554458737373352, 0.183481365442276, -0.0394737534224987, 0.2360527664422989, 0.16545096039772034, 0.3512864112854004, -0.9714248180389404, 0.060475904494524, -0.10786736756563187, -0.12664909660816193, -0.30511799454689026, 0.013400574214756489, -0.12573294341564178, -0.1531762182712555, 0.5354858636856079, -0.1893727034330368, -0.23713603615760803, -0.18076111376285553, -0.31311073899269104, -0.0246965903788805, 0.2649548053741455, 0.4362371563911438, 0.6428807973861694, 0.052201155573129654, 0.04774845764040947, 0.15262751281261444, -0.22316506505012512, 0.08223845064640045, -0.018729643896222115, 0.10715534538030624, -0.11378730833530426, 0.5601345896720886, 0.6266120672225952, 0.06280170381069183, -0.5299584269523621, 0.4264678657054901, 0.3504219651222229, -0.36243775486946106, -0.25630754232406616, -0.23012788593769073, 0.3415887653827667, 0.08270364254713058, 0.22902832925319672, -0.029952673241496086, -0.3505328893661499, -0.5962390899658203, 0.10805045813322067, 0.4253062605857849, -0.2506251633167267, -0.4277591407299042, 0.8129419684410095, 0.36996644735336304, -0.30259206891059875, 0.5245749354362488, -0.06383969634771347, -0.5223163366317749, 0.43084895610809326, 0.2827855944633484, 1.0324156284332275, -0.3830179274082184, 0.015080696903169155, 0.4850497841835022, 0.547249436378479, -0.49406418204307556, 0.2058754712343216, 0.3523702025413513, -0.7197951078414917, -0.6837913990020752, -0.8065359592437744, -0.05979600548744202, 0.16984407603740692, -0.5897554159164429, 0.4595281481742859, -0.11752349138259888, -0.037850625813007355, -0.0796143114566803, -0.4515171945095062, -0.9114302396774292, 0.1101125031709671, -0.0038369002286344767, 1.0845715999603271, -0.6920808553695679, 1.2417683601379395, 0.8386415243148804, -0.3270477056503296, -0.33485373854637146, -0.145351380109787, -0.18720462918281555, -0.7784662842750549, 0.815479040145874, 0.21855077147483826, -0.21886245906352997, 0.044799476861953735, -0.027716966345906258, -0.8580394983291626, 0.7293717265129089, 0.3862447142601013, -0.6270391941070557, -0.15654341876506805, 0.5876701474189758, 0.5574483275413513, -0.7979825139045715, 0.15786907076835632, 0.2592843472957611, 0.4860678017139435, -0.18941350281238556, -1.2720447778701782, -0.25875967741012573, -0.24035167694091797, -0.04811733216047287, 0.19421318173408508, -0.7943634390830994, 0.8975025415420532, -0.14999721944332123, 0.036669645458459854, 0.2584705352783203, 0.602057695388794, 0.011294921860098839, -0.27201536297798157, 0.41244858503341675, 0.732219934463501, 0.514415442943573, -0.0884089469909668, 1.0018619298934937, -0.5504155158996582, 0.08796598762273788, 1.252557635307312, -0.44663989543914795, 1.0988610982894897, 0.3202510178089142, 0.05641835555434227, 0.4255087077617645, 0.6206901669502258, 0.08253473043441772, 0.39885836839675903, 0.6445801258087158, -0.0016769651556387544, -0.3843294382095337, -0.2550216019153595, -0.469328910112381, 0.3360552489757538, 0.26793625950813293, -0.1279892474412918, -0.3452809154987335, 0.09912828356027603, 0.15547874569892883, 0.1505943089723587, -0.4058375358581543, 0.23318782448768616, 0.1306953728199005, -1.2184163331985474, 0.7024850249290466, 0.37808066606521606, 0.5239660739898682, -0.9280937910079956, 0.2689998149871826, -0.16091369092464447, 0.1575351059436798, -0.22178615629673004, -0.6330533623695374, 0.3530007004737854, -0.005720952525734901, -0.2804459035396576, -0.7263646721839905, 0.25095146894454956, -0.6903111338615417, -0.5492780804634094, 0.43393051624298096, 0.7786686420440674, 0.19296734035015106, -0.4324760138988495, -0.5698402523994446, 0.14734669029712677, -0.1364169865846634, -0.17046891152858734, 0.30860063433647156, 0.536327600479126, -0.15484128892421722, 0.6381607055664062, 0.5748393535614014, 0.08456292748451233, 0.21240517497062683, 0.3701845407485962, 0.45636725425720215, -0.44965001940727234, -0.5208616852760315, -0.5989614129066467, 0.4882015883922577, 0.1036483570933342, -0.6604284644126892, 0.6141178607940674, 0.8165252804756165, 0.9565352201461792, -0.3336675763130188, 0.8843506574630737, 0.1941312551498413, 0.2739841639995575, -0.5661121010780334, 0.4621962010860443, -0.780561089515686, 0.009706512093544006, -0.03020639531314373, -1.171776294708252, -0.26269614696502686, 0.038351744413375854, -0.23985746502876282, -0.06498944759368896, 1.046654462814331, 0.6975321173667908, -0.42510107159614563, -0.0426451601088047, 0.36574438214302063, 0.13181890547275543, 0.12652038037776947, 0.8741343021392822, 0.6641799807548523, 0.003506458131596446, 0.8572659492492676, 0.1804761439561844, -0.3672850430011749, -0.19887256622314453, -1.045064926147461, -1.3297035694122314, -0.5413461923599243, -0.21628570556640625, 0.052120961248874664, 0.01731839030981064, 0.5849888324737549, 1.1005545854568481, -0.8930369019508362, -0.9476975202560425, 0.011602207086980343, -0.11078138649463654, -0.45547613501548767, -0.06787468492984772, 0.26849064230918884, -0.49839428067207336, -0.8202648162841797, 0.5994009971618652, 0.37408697605133057, 0.014108957722783089, -0.2981323301792145, -0.05939109995961189, -0.08993257582187653, -0.21280217170715332, 0.6179887652397156, -0.010605319403111935, -0.7505313158035278, -0.06241872161626816, 0.07688849419355392, -0.17175772786140442, 0.30581340193748474, 1.0419154167175293, -0.08918877691030502, 0.4071544110774994, 0.4254535436630249, 0.7446008920669556, 0.8533445596694946, -0.3503476679325104, 0.6903390884399414, -0.8404770493507385, 0.3685373067855835, -0.01414137240499258, 0.47537195682525635, 0.2905539274215698, 0.041946928948163986, 0.6105406284332275, 0.012121173553168774, -0.41187649965286255, -0.5134157538414001, 0.5667490363121033, -0.8541020154953003, -0.33852601051330566, 1.0025336742401123, -0.20317815244197845, 0.19168440997600555, -0.048909395933151245, 0.24114343523979187, 0.028090286999940872, -0.0007312772213481367, 0.42365068197250366, 1.1649357080459595, 0.2076330929994583, 0.15168865025043488, -1.187727928161621, 0.4378921091556549, 0.708129346370697, -0.9837766289710999, 0.16100311279296875, 0.2983093857765198, 0.059341881424188614, 0.10628978163003922, 0.578330934047699, -0.10267744958400726, 0.021294331178069115, -0.2782312035560608, 0.12771689891815186, -0.14939521253108978, -0.6801221966743469, 0.009409666992723942, 0.6293652057647705, 0.21342293918132782, 0.017849333584308624 ]
http://arxiv.org/abs/2402.17717v1
http://arxiv.org/pdf/2402.17717v1
AmbigNLG: Addressing Task Ambiguity in Instruction for NLG
2024-02-27T17:52:33
2024-02-27T17:52:33
Ayana Niwa, Hayate Iso
cs.CL
cs.CL
In this study, we introduce AmbigNLG, a new task designed to tackle the challenge of task ambiguity in instructions for Natural Language Generation (NLG) tasks. Despite the impressive capabilities of Large Language Models (LLMs) in understanding and executing a wide range of tasks through natural language interaction, their performance is significantly hindered by the ambiguity present in real-world instructions. To address this, AmbigNLG seeks to identify and mitigate such ambiguities, aiming to refine instructions to match user expectations better. We introduce a dataset, AmbigSNI-NLG, consisting of 2,500 instances, and develop an ambiguity taxonomy for categorizing and annotating instruction ambiguities. Our approach demonstrates substantial improvements in text generation quality, highlighting the critical role of clear and specific instructions in enhancing LLM performance in NLG tasks.
[ -0.1367766559123993, -1.3078358173370361, 0.17693959176540375, 0.4975963234901428, -0.2976256310939789, 0.3073604702949524, -0.20612747967243195, -0.5567129850387573, -0.03981634974479675, 0.5222911834716797, -1.1510957479476929, -0.805668830871582, -0.8803361654281616, 0.149656742811203, -0.16383883357048035, 0.6270758509635925, -0.138161763548851, -0.17269815504550934, -0.2562068998813629, 0.3160594701766968, -0.8465251326560974, -0.1573987752199173, -0.8213456869125366, -0.5762819051742554, 0.30601128935813904, 0.6004558205604553, 1.0241527557373047, 0.8225473761558533, 0.4209006130695343, 0.28265783190727234, 0.060767583549022675, 0.6082099080085754, -0.3369797170162201, 0.37434783577919006, 0.009378086775541306, -0.30170443654060364, -0.5555348992347717, -0.1494731307029724, 0.5768578052520752, 0.7572357058525085, -0.1387641578912735, 0.3520931601524353, -0.040679942816495895, 0.5949802994728088, -0.6321085691452026, 0.11148564517498016, -0.36025774478912354, 0.31881222128868103, -0.35121819376945496, -0.22821755707263947, -0.45063281059265137, -0.13451510667800903, 0.13285253942012787, -0.8272618055343628, 0.4368104338645935, 0.38109636306762695, 0.8831593990325928, 0.5625568628311157, -0.3409184515476227, -0.6615943312644958, -0.596371054649353, 0.7900100350379944, -0.980931282043457, 0.21388064324855804, 0.00931182038038969, 0.007797862868756056, -0.524036169052124, -0.5763309001922607, -0.5185239911079407, 0.12282917648553848, -0.11308956146240234, 0.07131952047348022, -0.4563436806201935, 0.3282260596752167, 0.4831570088863373, 0.1309777796268463, -0.8100315928459167, 0.3265610933303833, -0.3032362461090088, -0.1985771358013153, 0.6530128121376038, 0.21358942985534668, 0.3449530005455017, -0.5319355130195618, -0.636797308921814, 0.2401166707277298, -0.7405838966369629, -0.028532152995467186, 0.9036204814910889, 0.23379528522491455, -0.009329489432275295, 0.779553234577179, -0.22604823112487793, 1.1095319986343384, 0.09120400249958038, 0.22505682706832886, 0.3145347237586975, -0.2803443670272827, -0.1956859678030014, 0.5871955156326294, 0.7593722343444824, 0.4369545876979828, -0.010517526417970657, -0.1690794825553894, -0.03836870938539505, -0.2849436402320862, 0.7149567604064941, -0.3221496343612671, -0.04827645421028137, -0.013960964977741241, -0.2756476402282715, -0.037388719618320465, -0.05105022341012955, -0.8778408765792847, -0.3209647834300995, -0.5224302411079407, 0.4469151794910431, -0.28328877687454224, 0.040851254016160965, 0.22866611182689667, 0.010088709183037281, 0.27409854531288147, 0.4150049686431885, -0.899505078792572, -0.014638797380030155, 0.8405770063400269, 0.4182634651660919, -0.08354457467794418, -0.09552835673093796, -0.6844291090965271, 0.4863261878490448, 0.0806020125746727, 0.44773784279823303, -0.8139696717262268, -0.47285935282707214, -0.08665907382965088, -0.1222473531961441, -0.14152875542640686, -0.436185359954834, 0.6604070067405701, -0.2532872259616852, 0.5197486281394958, -0.16482526063919067, -0.7027254700660706, -0.3068256080150604, 0.27376124262809753, -0.5076846480369568, 1.178056001663208, 0.14202652871608734, -0.7670521140098572, 0.21824227273464203, -0.8632997870445251, -0.4911622703075409, 0.46965813636779785, -0.2826383411884308, -0.43868714570999146, 0.19352079927921295, 0.15664131939411163, 0.32661569118499756, -0.3574214577674866, 0.24519957602024078, 0.1939679980278015, -0.49877551198005676, -0.07676275074481964, -0.5668449997901917, 0.7132934927940369, 0.027135426178574562, -0.4536839425563812, 0.2620212733745575, -0.6066979169845581, 0.2436230182647705, -0.08374404907226562, -0.5389559864997864, -0.07867875695228577, -0.0348798930644989, -0.26010504364967346, -0.04696453735232353, 0.6131616830825806, -0.45668110251426697, 0.35832786560058594, -0.5429753065109253, 0.1485130488872528, 0.5153203010559082, 0.08682755380868912, 0.38691529631614685, -0.18613795936107635, 0.8774576187133789, -0.08700889348983765, 0.1251426488161087, -0.05003120005130768, -0.8724965453147888, -0.9491336345672607, 0.3366089165210724, 0.45955759286880493, 0.870140552520752, -0.7881740927696228, 0.656213641166687, -0.19638699293136597, -0.13500387966632843, -0.9185311198234558, 0.39967775344848633, 0.6763419508934021, 0.46961551904678345, 0.46398642659187317, -0.16538730263710022, -0.6916114091873169, -1.0381108522415161, -0.35384050011634827, -0.12966971099376678, -0.19832485914230347, 0.27836331725120544, 0.13631145656108856, -0.3802765905857086, 0.7850714921951294, -0.46561142802238464, 0.011607274413108826, -0.07509832084178925, 0.9510064125061035, -0.08389584720134735, 0.49815699458122253, 0.06359860301017761, -0.8001809120178223, -0.28898006677627563, -0.16207130253314972, -0.7453460097312927, -0.536919891834259, -0.34968772530555725, -0.34159669280052185, 0.27455803751945496, 0.7197916507720947, -0.5608240365982056, 0.45593640208244324, 0.6137381196022034, -0.13757698237895966, 0.5434666275978088, -0.36034446954727173, 0.12368650734424591, -0.7986225485801697, -0.2852633595466614, -0.21258610486984253, 0.029481306672096252, -0.7507827281951904, -0.06374423950910568, 0.10721929371356964, -0.039774153381586075, -0.462215393781662, 0.6290771961212158, -0.6529830694198608, 0.24094370007514954, -0.28835219144821167, 0.3758001923561096, 0.09716462343931198, 0.4229162633419037, -0.2290864884853363, 0.5224224925041199, 0.4365200400352478, -0.48846322298049927, 0.5999560356140137, 0.344155490398407, -0.035550542175769806, 0.348768025636673, -0.36950406432151794, 0.053542282432317734, -0.16465948522090912, -0.1446794718503952, -0.8988625407218933, -0.39343106746673584, 0.7694389820098877, -0.3887976109981537, 0.693778395652771, -0.026515664532780647, -0.5800794363021851, -0.5454062223434448, 0.2332964986562729, 0.413663387298584, 0.27600470185279846, -0.42966780066490173, 0.5368736982345581, -0.015682758763432503, -0.028460295870900154, -0.9352765083312988, -0.4766755700111389, 0.17706209421157837, -0.24365109205245972, -0.8080978989601135, 0.3414475619792938, 0.11389625072479248, -0.14434263110160828, 0.15572893619537354, -0.3153291642665863, 0.2522788345813751, 0.13901078701019287, 0.3559151589870453, -0.016861222684383392, -0.2273237407207489, 0.2726961672306061, 0.12800808250904083, -0.19751770794391632, 0.30862337350845337, -0.03145091235637665, 0.3202117085456848, 0.17298832535743713, -0.6241795420646667, 0.10748659074306488, 0.4713974893093109, -0.2041017711162567, -0.3570535480976105, 0.45287835597991943, 1.064926028251648, -0.36695247888565063, -0.5108855962753296, -0.325569748878479, 0.18828526139259338, -0.5631045699119568, 0.2302936315536499, -0.005219995975494385, -0.7152193784713745, 0.29953882098197937, -0.163368359208107, 0.2236764132976532, 0.07600723952054977, 0.30086734890937805, -0.13759002089500427, 0.9234351515769958, 0.442960262298584, 0.5428637862205505, 0.2782970368862152, 0.2626666724681854, 0.6729280948638916, -0.8911512494087219, -0.3567233979701996, -0.0918181762099266, -0.7287405133247375, -0.519271731376648, -0.7317373156547546, 0.18305015563964844, 0.37889009714126587, 0.1934237778186798, 0.16696178913116455, -0.7679348587989807, 0.5377317667007446, 0.8064320087432861, 0.1342877745628357, 0.031058356165885925, -0.2743007242679596, 0.1120542511343956, 0.03339404612779617, -0.8116714358329773, -0.8113369941711426, 0.9495894908905029, 0.03817593306303024, 0.7368683218955994, 0.3032822012901306, 0.8884966373443604, 0.4577292203903198, 0.09373123943805695, -0.6540187001228333, 0.6291808485984802, -0.3089650273323059, -0.6055096983909607, -0.2749624252319336, -0.5605911016464233, -1.313614010810852, 0.12997816503047943, -0.43999212980270386, -0.7171540260314941, -0.18124738335609436, 0.40286484360694885, -0.45116934180259705, 0.18775969743728638, -1.1144837141036987, 1.2835444211959839, -0.46235665678977966, -0.3609888255596161, 0.21173512935638428, -0.803311824798584, 0.6225664615631104, 0.2565637230873108, 0.08480901271104813, -0.383722186088562, -0.11180480569601059, 0.5968433618545532, -0.09685156494379044, 0.8363720774650574, -0.08930402249097824, -0.24087682366371155, 0.44640180468559265, -0.022784169763326645, 0.4473247528076172, -0.13592422008514404, -0.17952552437782288, -0.07551737874746323, -0.5564899444580078, -0.40377601981163025, -0.5482825636863708, 0.65130215883255, -0.35370635986328125, -0.997593343257904, -0.1269546002149582, -0.9231148362159729, -0.14558762311935425, 0.10165908187627792, 0.44305163621902466, 0.4752941131591797, -0.05456574633717537, 0.01871969923377037, 0.9147722721099854, -0.5568881630897522, 0.3250732719898224, 0.2201274037361145, 0.05697673559188843, 0.21447035670280457, 0.8518640995025635, 0.027086690068244934, 0.2881031334400177, 0.5181131362915039, 0.005028308369219303, -0.3405565917491913, -0.6780785322189331, -0.6387016773223877, -0.04558311030268669, -0.8261213302612305, -0.30626559257507324, -0.4639434516429901, -0.22167426347732544, -0.31552428007125854, -0.25863128900527954, 0.0703866258263588, -0.3084407448768616, -0.64858078956604, 0.01759178750216961, 0.2619253396987915, 0.7961146831512451, 0.1735868602991104, 0.8525469303131104, -0.7871487140655518, 0.3934984803199768, 0.12245431542396545, 0.26804307103157043, -0.23644515872001648, -0.3544761836528778, -0.17602501809597015, 0.28096988797187805, -0.5313619375228882, -1.1858434677124023, 0.2798222601413727, 0.1432211995124817, 0.7734304666519165, 0.17121373116970062, 0.19933727383613586, 0.7074214220046997, -0.7176476120948792, 0.7974507212638855, 0.20197072625160217, -1.0399442911148071, 0.5610887408256531, -0.358913391828537, 0.7754109501838684, 0.09850342571735382, 0.2372022122144699, -0.6097564697265625, -0.7388131022453308, -0.8135823607444763, -1.4355554580688477, 0.8091881275177002, 0.22393213212490082, -0.029730837792158127, -0.10190407186746597, 0.545708179473877, 0.04250115901231766, 0.4420842230319977, -0.6105096340179443, -0.4573415219783783, -0.07948148995637894, -0.434878945350647, 0.19052046537399292, -0.31374821066856384, -0.25516849756240845, 0.33039921522140503, 0.5595108270645142, 0.04025891423225403, 0.2436867505311966, -0.16133853793144226, -0.1886412501335144, -0.3329998850822449, 0.5020194053649902, 0.7300987243652344, 0.5545408725738525, -0.03856385871767998, 0.3425595760345459, 0.0889497771859169, -0.27162352204322815, 0.03255871310830116, 0.1506773978471756, -0.16627587378025055, 0.14164908230304718, 0.42409148812294006, 0.9279552102088928, 0.6217491030693054, -0.8370157480239868, 0.3014011085033417, 0.04235050454735756, -0.2849023640155792, -0.1514652520418167, 0.48743322491645813, 0.06754351407289505, 0.1396545171737671, 0.27568328380584717, 0.02596895769238472, 0.15988685190677643, -0.05566564202308655, 0.2555888295173645, 0.455132395029068, -0.19145852327346802, 0.13585194945335388, 0.7188725471496582, 0.4292641580104828, -0.777391791343689, 0.6177741289138794, -0.8073379397392273, -0.456849068403244, 0.6291193962097168, 0.4205169379711151, 0.7027568221092224, -0.020418940111994743, 0.2249303013086319, 0.3092430531978607, 0.5304818749427795, 0.14851880073547363, 0.2690817713737488, 0.2240770310163498, -0.4758414030075073, -0.4973977506160736, -0.5323588252067566, -0.569938600063324, -0.12435270845890045, -0.6807220578193665, 0.27968886494636536, -0.38501104712486267, -0.128750279545784, -0.07216162979602814, -0.09653396159410477, -0.5277612805366516, 0.10301613062620163, 0.5199661254882812, 0.5870644450187683, -0.6377953290939331, 0.4458317756652832, 0.7307032346725464, 0.013593930751085281, -0.6864707469940186, -0.0586712546646595, 0.18701030313968658, -0.728661298751831, 0.5909056663513184, 0.2939361333847046, -0.10868160426616669, 0.06846083700656891, -0.29884856939315796, -0.5265350937843323, 1.063088297843933, 0.38313615322113037, -0.4626654088497162, -0.3278849422931671, 0.39392396807670593, 0.40363192558288574, -0.4073903262615204, -0.025987472385168076, 0.38268721103668213, 0.7445055246353149, 0.1725315898656845, -0.6344059705734253, 0.11444082111120224, -0.16674304008483887, -0.1385132372379303, 0.6473300457000732, -0.3305782079696655, 0.4861016571521759, -0.2345615178346634, -0.4816758632659912, -0.049569450318813324, 0.6476132273674011, 0.18825462460517883, 0.21881000697612762, 0.45547041296958923, 0.518021821975708, 1.072061538696289, -0.6432034373283386, 0.7329625487327576, -0.05687626078724861, -0.1186109110713005, 1.489599585533142, -0.0014015220804139972, 0.5426815152168274, 0.48198431730270386, 0.18030613660812378, 0.33855438232421875, 0.7704260945320129, -0.23326441645622253, -0.11027956753969193, 0.5578407645225525, -0.48823055624961853, -0.4472573399543762, 0.05677755922079086, -0.18840473890304565, 0.4585689306259155, 0.5608760118484497, -0.2223600298166275, -0.5673662424087524, -0.04681246727705002, -0.02649477869272232, 0.27754420042037964, -0.22589543461799622, 0.48918676376342773, -0.3541682958602905, -0.6151830554008484, 0.43703120946884155, 0.21445640921592712, 0.6998547911643982, -0.7065737843513489, -0.23882001638412476, 0.24416178464889526, -0.11002187430858612, -0.35001564025878906, -0.8929899334907532, 0.328998863697052, 0.016005389392375946, -0.19274228811264038, -0.611457109451294, 0.47728413343429565, -0.7628549933433533, -0.5300232768058777, 0.17200128734111786, 0.38593149185180664, 0.12923340499401093, 0.3356417715549469, -1.0019245147705078, 0.1910676807165146, 0.37275412678718567, -0.12846022844314575, -0.1196853294968605, 0.8757951855659485, 0.07609938830137253, 0.7101240158081055, 0.12871426343917847, -0.2429049164056778, 0.9167636036872864, -0.21949833631515503, 0.2880362570285797, -0.5387443900108337, -0.01883070357143879, -0.7095184326171875, 0.6306238174438477, 0.022782256826758385, -0.4250389039516449, 0.9629636406898499, 0.5282946228981018, 0.7691779136657715, 0.0474141463637352, 0.6061563491821289, -0.32186979055404663, 0.3537972867488861, -0.6839631795883179, 0.2085396647453308, -0.4444471001625061, 0.6338944435119629, 0.07685354351997375, -0.6520221829414368, -0.4030721187591553, 0.5689358115196228, -0.5014777183532715, -0.11095508188009262, 0.3752492070198059, 0.8721386790275574, -0.16645042598247528, 0.27276208996772766, 0.10127515345811844, 0.014134314842522144, 0.3317973017692566, 0.6582212448120117, 0.8173514604568481, -0.41071367263793945, 0.6878411173820496, -0.13515296578407288, 0.06865032762289047, -0.22336697578430176, -1.121554970741272, -0.8239283561706543, -0.15434445440769196, -0.6734099388122559, 0.009672020561993122, 0.13070473074913025, 1.035541296005249, 0.4994862675666809, -0.4531654715538025, -0.21656829118728638, -0.17420220375061035, 0.5482457876205444, -0.2540338933467865, -0.23640117049217224, 0.05710182711482048, -0.6227442026138306, -0.889361560344696, 0.43339794874191284, 0.06387471407651901, 0.14781484007835388, -0.12340790033340454, -0.15230412781238556, -0.5106702446937561, -0.028333107009530067, 0.26589441299438477, 0.21410934627056122, -0.8136445879936218, -0.3987188935279846, -0.11648865044116974, 0.02040410228073597, -0.03309270367026329, 0.6856516003608704, -0.35102128982543945, 0.7262418866157532, 0.37913960218429565, 0.675929069519043, 0.17046119272708893, 0.2925117313861847, 0.8544183969497681, -1.6457239389419556, -0.06504273414611816, 0.15872900187969208, -0.019811827689409256, 0.4009230136871338, -0.5554073452949524, 0.41883769631385803, -0.14826679229736328, -0.5161346197128296, -0.7753669023513794, 0.478340744972229, -1.012925386428833, -0.30719563364982605, 1.1732782125473022, -0.11941356211900711, -0.1769263595342636, -0.18920040130615234, -0.2620558440685272, 0.49909231066703796, -0.30839991569519043, 0.6285527944564819, 0.9109407663345337, -0.43071606755256653, -0.2747058570384979, -0.8621087074279785, 0.5236379504203796, 0.4751014709472656, -0.7849366068840027, 0.38225626945495605, 0.5455167293548584, -0.3198898732662201, 0.2727137506008148, -0.04257066547870636, 0.1656944453716278, 0.357327401638031, -0.12029056996107101, 0.2407873123884201, -0.24952825903892517, -0.10934086889028549, -0.1646696925163269, 0.21088187396526337, -0.04193202778697014, -0.23841577768325806 ]
http://arxiv.org/abs/2402.17709v2
http://arxiv.org/pdf/2402.17709v2
Case-Based or Rule-Based: How Do Transformers Do the Math?
2024-02-27T17:41:58
2024-06-26T09:25:07
Yi Hu, Xiaojuan Tang, Haotong Yang, Muhan Zhang
cs.AI
cs.AI, cs.CL
Despite the impressive performance in a variety of complex tasks, modern large language models (LLMs) still have trouble dealing with some math problems that are simple and intuitive for humans, such as addition. While we can easily learn basic rules of addition and apply them to new problems of any length, LLMs struggle to do the same. Instead, they may rely on similar cases seen in the training corpus for help. We define these two different reasoning mechanisms as "rule-based reasoning" and "case-based reasoning". Since rule-based reasoning is essential for acquiring systematic generalization ability, we aim to explore exactly whether transformers use rule-based or case-based reasoning for math problems. Through carefully designed intervention experiments on five math tasks, we confirm that transformers are performing case-based reasoning, no matter whether scratchpad is used, which aligns with the previous observations that transformers use subgraph matching/shortcut learning to reason. To mitigate such problems, we propose a Rule-Following Fine-Tuning (RFFT) technique to teach transformers to perform rule-based reasoning. Specifically, we provide explicit rules in the input and then instruct transformers to recite and follow the rules step by step. Through RFFT, we successfully enable LLMs fine-tuned on 1-5 digit addition to generalize to up to 12-digit addition with over 95% accuracy, which is over 40% higher than scratchpad. The significant improvement demonstrates that teaching LLMs to use rules explicitly helps them learn rule-based reasoning and generalize better in length.
[ -0.6316529512405396, -0.9678695201873779, 0.7236247658729553, 0.23746658861637115, -0.24992837011814117, 0.19433002173900604, -0.21134677529335022, -0.07381434738636017, -0.0458899550139904, 0.6913027763366699, -0.8132807612419128, -0.1684361696243286, -0.536590576171875, 0.07010797411203384, -0.35993778705596924, 1.0637654066085815, -0.004356473684310913, 0.10914594680070877, -0.4709891974925995, -0.06556915491819382, -0.7302713990211487, -0.7391795516014099, -0.49505889415740967, -0.677574098110199, 0.41027629375457764, 0.8189021348953247, 0.9250643849372864, 0.5666924715042114, 0.984437882900238, 0.25608888268470764, -0.04904565587639809, 0.11972299963235855, -0.16439922153949738, -0.19048811495304108, -0.26947495341300964, -0.8441224098205566, -0.3155129551887512, -0.1647353619337082, -0.030196094885468483, 0.8687825798988342, -0.4481172561645508, 0.10223405063152313, -0.5311716198921204, 0.7576920986175537, -0.2656954824924469, 0.15717297792434692, -0.4867704510688782, 0.3824214041233063, 0.026418296620249748, -0.45418328046798706, -0.5349776744842529, -0.3047938346862793, 0.002118132309988141, -0.5292909741401672, 0.5748211741447449, -0.018441570922732353, 0.5717031955718994, 0.49202391505241394, -0.3408895432949066, -0.5072872638702393, -1.0921125411987305, 0.8880752921104431, -0.35496896505355835, 0.5283022522926331, 0.35215914249420166, 0.4323444664478302, -0.15276741981506348, -0.5311778783798218, -0.5526195764541626, -0.012318980880081654, -0.32092538475990295, 0.09444176405668259, -0.2169579416513443, 0.07197966426610947, 0.9628282785415649, 0.1331859529018402, -0.13701537251472473, -0.14139628410339355, -0.5695711374282837, -0.06627468019723892, 0.41158151626586914, 0.09374524652957916, 0.17891956865787506, 0.0926654189825058, -0.14030909538269043, -0.24994222819805145, -0.8115980625152588, 0.07043693214654922, 0.10742795467376709, 0.25654399394989014, -0.04766975715756416, 0.7949199080467224, -0.01770447939634323, 0.5935652852058411, 0.3389938473701477, -0.17570340633392334, -0.11653556674718857, -0.09180065244436264, -0.2818719446659088, 0.06238994002342224, 0.13387656211853027, 0.40886518359184265, 1.0282599925994873, -0.14630120992660522, -0.2830376923084259, 0.2672054171562195, 0.3428342044353485, -0.7019210457801819, 0.024094732478260994, -0.18419428169727325, -0.41323381662368774, -0.2324865609407425, -0.0649222806096077, -0.5524485111236572, -0.21719355881214142, -0.8085902333259583, 0.7720198631286621, -0.3857118785381317, 0.09672139585018158, 0.5436710119247437, -0.3572794497013092, 0.4578566551208496, 0.5850110054016113, -1.02682626247406, 0.5563315153121948, 0.9477974772453308, 0.3725298047065735, 0.18868419528007507, -0.07624036818742752, -0.7466999292373657, -0.013272510841488838, -0.33395665884017944, 1.1042356491088867, -0.5267543792724609, -0.41579607129096985, -0.017619663849473, -0.2192346453666687, -0.09405586123466492, -0.8102807402610779, 0.817450761795044, -0.45745062828063965, 0.18717549741268158, -0.20257896184921265, -0.5119167566299438, 0.02740643173456192, -0.011491739191114902, -0.3678032457828522, 0.7241960167884827, 0.09634248912334442, -0.28980621695518494, 0.5235936045646667, -0.658303439617157, -0.9856904745101929, -0.06535304337739944, -0.04437868669629097, -0.5190867781639099, 0.3911873996257782, 0.308133065700531, 0.4452594220638275, -0.2839275598526001, 0.3072650730609894, -0.16151487827301025, -0.7325703501701355, 0.21297039091587067, -0.4025895893573761, 0.47242113947868347, 0.1116950511932373, -0.27098217606544495, 0.012246362864971161, -0.42718976736068726, -0.2069331705570221, 0.10841885209083557, -0.18066824972629547, -0.1439584493637085, 0.32138076424598694, -0.43437084555625916, 0.1675756275653839, -0.14279569685459137, -0.37574106454849243, 0.3820241093635559, -0.18265880644321442, 0.3503766655921936, 0.6750310659408569, -0.1601325124502182, 0.5045840740203857, -0.6785728335380554, 0.35014408826828003, -0.04402649775147438, 0.2231549322605133, -0.22079169750213623, -0.4412148594856262, -1.269216775894165, -0.08235402405261993, 0.3248225450515747, 0.7085648775100708, -0.6483421325683594, 0.44831934571266174, -0.1948401778936386, -0.2803736925125122, -0.1829061508178711, -0.004292892757803202, -0.09547457844018936, 0.5921680927276611, 0.822314441204071, -0.11850185692310333, -0.5227741003036499, -0.8895256519317627, -0.24542342126369476, 0.08881007879972458, -0.08539358526468277, 0.2304256558418274, 0.46589577198028564, -0.2023264765739441, 0.9881284832954407, -0.6756290793418884, -0.42578503489494324, -0.44673264026641846, -0.022182539105415344, 0.4603174328804016, 0.1965399533510208, 0.42508208751678467, -0.6225041151046753, -0.40717658400535583, -0.19630584120750427, -0.5300887823104858, -0.2542332410812378, -0.5217231512069702, 0.024193502962589264, 0.1016993448138237, 0.7556519508361816, -0.6864686012268066, 0.5359095931053162, -0.16799390316009521, -0.490584135055542, 0.4142201840877533, -0.20536425709724426, -0.12863986194133759, -0.5229597687721252, -0.5202666521072388, 0.24959370493888855, -0.2783602178096771, -0.6429609656333923, 0.03822450339794159, 0.0461377315223217, 0.06500387191772461, -0.25230681896209717, 0.25616511702537537, -0.07915263622999191, -0.04135974869132042, -0.26151978969573975, -0.3029322624206543, -0.02122020162642002, 0.6516731381416321, 0.078136146068573, 0.8196597099304199, 0.365163654088974, -0.5559167265892029, 0.3493214547634125, 0.029861312359571457, -0.23252205550670624, 0.7623512744903564, -0.6350077390670776, -0.08053858578205109, -0.1771230399608612, 0.1333639770746231, -0.5461302995681763, 0.21041597425937653, 0.06408829241991043, -0.14884750545024872, 0.23862046003341675, -0.3063403367996216, -0.7451062798500061, -0.42932164669036865, -0.11023955047130585, 0.07704955339431763, 0.9451519846916199, -0.7052684426307678, 1.0373066663742065, -0.04271650314331055, 0.006626779213547707, -0.34179145097732544, -0.45104703307151794, -0.1551092267036438, -0.3538520932197571, -0.5722678899765015, 0.47354552149772644, -0.1852087378501892, -0.5467603802680969, -0.15274688601493835, -0.3886193335056305, -0.1681952327489853, 0.19700752198696136, 0.04100538417696953, 0.12798702716827393, -0.11992548406124115, 0.06427620351314545, 0.3429158627986908, -0.20689657330513, 0.31372755765914917, 0.33050718903541565, 0.5454316735267639, -0.1300029158592224, -0.5853390693664551, -0.08055691421031952, 0.3874412178993225, 0.6218918561935425, -0.19872796535491943, 0.35335472226142883, 0.20100893080234528, -0.2741762697696686, -0.539963960647583, -0.6425774097442627, -0.5644946694374084, -0.5461614727973938, 0.07089775800704956, -0.5637855529785156, -0.7576783895492554, 0.39496538043022156, -0.3048318922519684, 0.13355350494384766, 0.5139243006706238, 0.598449170589447, -0.41891372203826904, 1.001902461051941, 0.6182802319526672, 0.29816046357154846, 0.4709450900554657, -0.1859891265630722, 0.22377587854862213, -0.47983893752098083, -0.16984957456588745, -0.4519033133983612, -0.2734220623970032, -0.27146944403648376, -0.528474748134613, 0.20613384246826172, 0.13274221122264862, -0.2487022876739502, 0.43362778425216675, -0.4704929292201996, 0.7313711643218994, 0.6721084117889404, 0.10838520526885986, 0.40965035557746887, 0.19379715621471405, -0.32065972685813904, -0.02353750728070736, -0.6297159194946289, -0.0770791620016098, 0.928865373134613, 0.2942051291465759, 0.9747181534767151, 0.1530909687280655, 0.58613520860672, 0.46480995416641235, 0.4351571798324585, -1.2649331092834473, 0.6911630630493164, -0.2098439484834671, -0.4088383615016937, -0.09062573313713074, -0.5168958902359009, -0.7384706735610962, 0.15650025010108948, -0.32455140352249146, -0.12535834312438965, 0.029335225000977516, -0.07970843464136124, -0.2389499843120575, 0.18021132051944733, -1.0550901889801025, 0.4733622670173645, -0.34719181060791016, -0.07300586998462677, -0.5139715075492859, -0.3709542155265808, 0.11366986483335495, -0.07838823646306992, 0.33126354217529297, -0.023810893297195435, 0.41019555926322937, 0.5202056765556335, -0.7855095863342285, 0.7711728811264038, -0.03492233157157898, -0.09788617491722107, 0.2907451391220093, 0.17232546210289001, 0.363294392824173, -0.1467830240726471, 0.30750927329063416, 0.06076149642467499, 0.026744922623038292, -0.08863551169633865, -0.97784823179245, 0.327814519405365, -0.6322293877601624, -0.9224737286567688, -0.5536571145057678, -0.5333894491195679, -0.37433865666389465, 0.08436161279678345, -0.05300283804535866, 0.4158489406108856, 0.26668182015419006, 0.3044845163822174, 0.8687531352043152, -0.054316196590662, 0.3716679811477661, 0.7203266620635986, -0.15487024188041687, -0.15682832896709442, 0.9602124691009521, 0.15745112299919128, 0.126443013548851, 0.6303573250770569, 0.45210888981819153, -0.2929636538028717, -0.14613798260688782, -0.46657299995422363, 0.35564014315605164, -0.7134345769882202, -0.21852819621562958, -0.2881300151348114, -0.3573305904865265, 0.05104997381567955, -0.47428837418556213, 0.021636437624692917, -0.5985868573188782, 0.0017361972713842988, -0.05881190299987793, 0.5495771169662476, 0.42230042815208435, 0.016256771981716156, 0.22162598371505737, -0.5837928652763367, 0.6788325309753418, 0.6787285804748535, 0.5709118843078613, -0.2397059053182602, -0.5794139504432678, -0.08690725266933441, -0.08734838664531708, -0.35222765803337097, -0.4498867094516754, -0.1622471660375595, 0.01828467845916748, 0.4438667893409729, 0.13279257714748383, -0.21741078794002533, 0.7308581471443176, -0.8608314394950867, 0.042137596756219864, 0.03445840999484062, -0.964539110660553, 0.31045788526535034, -0.2565203011035919, 0.06244748458266258, 0.24793562293052673, -0.0718599185347557, -0.6853024959564209, -0.09644214808940887, -0.6237748861312866, -0.3525819778442383, 0.6821197271347046, 0.1596771478652954, 0.31425395607948303, 0.07380855083465576, 0.49606606364250183, -0.0902736634016037, 0.19230340421199799, -0.2490871548652649, -0.397229939699173, -0.2776721715927124, -0.3661682605743408, 0.14126434922218323, -0.05459372699260712, -0.1653585135936737, -0.6861218214035034, 0.2314358353614807, -0.2696392834186554, 0.48682719469070435, -0.026442036032676697, -0.17167502641677856, -0.2732873260974884, 0.3552151024341583, 0.9564604759216309, 0.5084711313247681, -0.20604629814624786, -0.041711241006851196, 0.28027987480163574, -0.3760817050933838, 0.04822149500250816, 0.1406162828207016, -0.20227117836475372, -0.14114521443843842, 0.40339937806129456, 0.5516953468322754, 0.14675240218639374, -0.7654783725738525, 0.44452157616615295, -0.23783987760543823, -0.6574841141700745, -0.40346115827560425, 0.36182329058647156, 0.16986915469169617, 0.08030405640602112, 0.5317493677139282, 0.29590728878974915, -0.02032935619354248, -0.5745469331741333, 0.3818013370037079, 0.5067564249038696, -0.10987690836191177, -0.0789150819182396, 0.3058401346206665, 0.1926107257604599, -0.6374778747558594, 0.5540916919708252, 0.26881086826324463, -0.5939729809761047, 1.0793660879135132, 0.5683945417404175, 0.5928056836128235, 0.2598229646682739, 0.23351837694644928, 0.05972130969166756, 0.5066916346549988, -0.20345348119735718, 0.33115866780281067, -0.14869636297225952, -1.0823431015014648, -0.8255016207695007, -0.39914920926094055, -0.8964446187019348, -0.15426090359687805, -0.6226500272750854, 0.45432522892951965, -0.7835583090782166, 0.08457369357347488, 0.1510424017906189, -0.15258294343948364, -0.7232155799865723, 0.35653144121170044, -0.06002800539135933, 0.9694344401359558, -0.5906791687011719, 0.47164013981819153, 0.5909883379936218, -0.1624632328748703, -0.8057149052619934, -0.10203977674245834, -0.24752284586429596, -0.9377322793006897, 0.5275364518165588, 0.2545637786388397, -0.09662030637264252, -0.09988296777009964, -0.4833163619041443, -0.5802503824234009, 0.7054156064987183, 0.24513453245162964, -0.5684732794761658, 0.09695978462696075, 0.377259224653244, 0.7864632606506348, -0.1404997706413269, 0.36994364857673645, 0.631694495677948, 0.5041890740394592, 0.37150707840919495, -0.7447201013565063, -0.22473680973052979, -0.10385316610336304, -0.5116310715675354, 0.678337037563324, -0.6947358846664429, 0.5444774627685547, -0.4703245162963867, 0.018015174195170403, -0.3077901303768158, 0.40878546237945557, 0.1580495685338974, 0.34491848945617676, 0.5499270558357239, 0.8223439455032349, 0.4209812879562378, -0.4399150609970093, 0.9868698716163635, -0.13335131108760834, 0.379119873046875, 0.8521156907081604, -0.20668764412403107, 0.462958425283432, 0.4840970039367676, -0.2695431709289551, 0.773760974407196, 0.2089364230632782, -0.40626978874206543, 0.3184938132762909, 0.26601287722587585, -0.08241133391857147, -0.6742269992828369, -0.011670314706861973, -0.14751343429088593, 0.41952356696128845, 0.5556672215461731, -0.22533144056797028, -0.32863298058509827, -0.15618544816970825, 0.010542741976678371, 0.09100086241960526, -0.40933001041412354, 0.7430889010429382, 0.11460166424512863, -0.6891564726829529, 0.2893413305282593, 0.25214746594429016, 0.6122338771820068, -0.46063315868377686, -0.3813035786151886, -0.31700772047042847, 0.3350038528442383, -0.21328315138816833, -0.8678644299507141, 0.5065493583679199, -0.02940373867750168, -0.4154740273952484, -0.40302178263664246, 0.6668541431427002, -0.1293705403804779, -0.8427767753601074, 0.031064212322235107, 0.6594613194465637, -0.246133953332901, 0.18457667529582977, -0.6087731122970581, -0.25368833541870117, -0.07344922423362732, 0.1296968311071396, 0.31186559796333313, 0.439241498708725, -0.4455154538154602, 0.8084751963615417, 0.8218516707420349, -0.13383136689662933, -0.13145874440670013, 0.5067451000213623, 0.7950573563575745, -0.8106632232666016, 0.03004574589431286, -0.9458276033401489, 0.32798781991004944, 0.1727253645658493, -0.1687510907649994, 0.470435231924057, 0.49990054965019226, 0.8474888801574707, -0.21956662833690643, 0.5720186829566956, 0.19668860733509064, 0.544826090335846, -0.5659059286117554, 0.2464347630739212, -0.4337601065635681, 0.21095587313175201, -0.16444820165634155, -0.9386038184165955, -0.6524642705917358, 1.0236480236053467, -0.3657090961933136, 0.16918730735778809, 0.757952868938446, 0.5665109157562256, -0.2676931917667389, 0.10554684698581696, 0.2555617690086365, -0.14741714298725128, 0.43512865900993347, 0.5169998407363892, 0.7799561619758606, -0.17164762318134308, 0.6819944977760315, -0.43201881647109985, -0.07557957619428635, -0.21968480944633484, -0.6489980816841125, -1.0700925588607788, 0.00012583154602907598, -0.22285553812980652, -0.07787473499774933, -0.3243027925491333, 0.8866037130355835, 0.39391183853149414, -0.7236192226409912, -0.2858482897281647, -0.37273216247558594, 0.5630726218223572, -0.3928822875022888, -0.27668625116348267, 0.1301761269569397, -0.21917660534381866, -0.5269287824630737, 0.31939804553985596, 0.2898186445236206, 0.10046060383319855, 0.12077872455120087, 0.1619420051574707, 0.21092446148395538, 0.49225717782974243, 0.6863171458244324, 0.14605627954006195, -0.5127509832382202, -0.4928658604621887, 0.3952904939651489, 0.04033758491277695, 0.202004075050354, 1.1465282440185547, -0.8060417175292969, 0.2204122543334961, 0.3092878758907318, 0.4524765610694885, 0.5183994174003601, 0.19663354754447937, 0.45876234769821167, -0.37055304646492004, -0.06736887991428375, 0.08583540469408035, 0.5543238520622253, 0.21199236810207367, -0.16934171319007874, 0.5209017395973206, 0.49148914217948914, -0.38552066683769226, -0.6766455173492432, 0.47610801458358765, -0.8257337212562561, -0.19733937084674835, 1.0173263549804688, 0.49537575244903564, 0.14425483345985413, -0.10749442130327225, -0.39193522930145264, -0.05534739047288895, -0.35376134514808655, 0.8375738859176636, 0.695885419845581, -0.3224581778049469, -0.30101966857910156, -0.17316481471061707, 0.4852010905742645, 0.6824022531509399, -0.6920457482337952, -0.1765112429857254, 0.3425123989582062, 0.34246179461479187, 0.3338184058666229, 0.19472280144691467, 0.11040390282869339, 0.45509573817253113, -0.3165587782859802, -0.20795567333698273, -0.1552627980709076, -0.521797776222229, -0.13743148744106293, 0.055003419518470764, -0.07188389450311661, 0.43714600801467896 ]
http://arxiv.org/abs/2402.17700v1
http://arxiv.org/pdf/2402.17700v1
RAVEL: Evaluating Interpretability Methods on Disentangling Language Model Representations
2024-02-27T17:25:37
2024-02-27T17:25:37
Jing Huang, Zhengxuan Wu, Christopher Potts, Mor Geva, Atticus Geiger
cs.CL
cs.CL, cs.LG
Individual neurons participate in the representation of multiple high-level concepts. To what extent can different interpretability methods successfully disentangle these roles? To help address this question, we introduce RAVEL (Resolving Attribute-Value Entanglements in Language Models), a dataset that enables tightly controlled, quantitative comparisons between a variety of existing interpretability methods. We use the resulting conceptual framework to define the new method of Multi-task Distributed Alignment Search (MDAS), which allows us to find distributed representations satisfying multiple causal criteria. With Llama2-7B as the target language model, MDAS achieves state-of-the-art results on RAVEL, demonstrating the importance of going beyond neuron-level analyses to identify features distributed across activations. We release our benchmark at https://github.com/explanare/ravel.
[ -0.1678406149148941, -0.7552892565727234, 0.7335905432701111, 0.6002447009086609, 0.06044280529022217, 0.3513747453689575, -0.18909722566604614, -0.5116113424301147, 0.06772200018167496, 0.09939765185117722, -0.3843795359134674, -0.3142704963684082, -0.9997285008430481, 0.14802156388759613, -0.6445127129554749, 0.6582321524620056, -0.23401890695095062, 0.05690966919064522, -0.40216299891471863, -0.23193252086639404, -0.31283101439476013, -0.21918606758117676, -0.5235055088996887, -0.6716023087501526, 0.7301895618438721, 0.11612613499164581, 0.5980279445648193, 0.6574096083641052, 0.940199613571167, 0.28414446115493774, -0.3166428208351135, 0.2926907539367676, -0.3242514133453369, 0.33252766728401184, -0.2874789535999298, -0.5705695152282715, -0.5884211659431458, 0.1955619752407074, 0.6388639211654663, 0.7080990672111511, -0.5802187323570251, 0.26443058252334595, 0.05899422615766525, 0.7960510849952698, -0.7846957445144653, 0.19926676154136658, -0.6233385801315308, -0.13182465732097626, -0.4705955386161804, 0.0037684051785618067, -0.6406503915786743, -0.27180808782577515, 0.1760830283164978, -0.48720404505729675, -0.0023842588998377323, -0.05048522353172302, 0.7698941826820374, 0.33265382051467896, -0.5474050641059875, -0.4917943775653839, -0.600543200969696, 0.8596173524856567, -0.6859155297279358, 0.4315929412841797, 0.3494868874549866, 0.4189346432685852, -0.006007803604006767, -0.5957270860671997, -0.665540337562561, -0.11752676218748093, -0.06749897450208664, 0.09431091696023941, -0.3710479736328125, -0.07946933060884476, 0.2409374862909317, 0.3220910429954529, -0.4753643274307251, 0.010255430825054646, -0.2523864805698395, 0.05412794649600983, 0.6835550665855408, 0.1635531634092331, 0.3058713376522064, 0.05804011970758438, -0.2193465530872345, -0.07880449295043945, -0.49919942021369934, -0.13032126426696777, 0.34818217158317566, 0.11747356504201889, -0.1604853719472885, 0.6240602731704712, -0.005446137394756079, 0.6666810512542725, 0.3571186065673828, 0.12275972962379456, 0.3385477662086487, -0.11933423578739166, -0.02401985228061676, -0.03884612023830414, 0.5731006860733032, 0.04376295953989029, 0.04821318760514259, -0.288069486618042, -0.30233585834503174, 0.10763764381408691, 0.40209832787513733, -0.4411872625350952, -0.06222511827945709, 0.4408983588218689, -0.6417043209075928, -0.2993582785129547, -0.1241772472858429, -0.8203979730606079, -0.9639525413513184, -0.42714980244636536, 0.22243180871009827, -0.21098704636096954, -0.5638396143913269, 0.2788776755332947, -0.03823096305131912, 0.22542402148246765, 0.14349626004695892, -0.9275328516960144, 0.4870685935020447, 0.5457391738891602, 0.8794971108436584, -0.5680611729621887, -0.5204411745071411, -0.29689207673072815, 0.0009089310769923031, -0.5821326971054077, 0.7934377193450928, -0.6952985525131226, 0.1606484204530716, -0.1798952966928482, -0.31211212277412415, -0.3276683986186981, -0.6709272265434265, 0.3946931064128876, -0.8905201554298401, -0.2942348122596741, -0.1609344333410263, -0.4525510370731354, -0.24281561374664307, 0.23796838521957397, -0.865889847278595, 0.88285893201828, 0.00111846299842, -0.7126145362854004, 0.22628344595432281, -0.6733954548835754, -0.3430284261703491, -0.40869417786598206, -0.13809004426002502, -0.31105107069015503, 0.35511401295661926, 0.21231575310230255, 0.4261997640132904, -0.5390749573707581, 0.40175727009773254, -0.22768113017082214, -0.24566201865673065, 0.6188896894454956, -0.4888109266757965, 0.5871191024780273, 0.4601042866706848, -0.3717697262763977, 0.19392140209674835, -0.7703580260276794, 0.022077340632677078, 0.15404528379440308, -0.18270224332809448, -0.26615431904792786, 0.3994504511356354, 0.010298196226358414, 0.3352304697036743, 0.48645636439323425, -0.3478076159954071, 0.1631157547235489, -0.23834961652755737, 0.2771792709827423, 0.8179388642311096, -0.23394733667373657, 0.47594526410102844, 0.03866201639175415, 0.3818679749965668, 0.6227521300315857, 0.21896986663341522, 0.2641812860965729, -0.40064504742622375, -0.6993921399116516, -0.30686289072036743, -0.02366556040942669, 0.25635552406311035, -0.48484012484550476, 0.1958356648683548, -0.16737090051174164, -0.5434780716896057, -0.7373245358467102, 0.08153007924556732, 0.4098680913448334, -0.041505828499794006, 0.3862125873565674, -0.17069363594055176, -0.5783168077468872, -1.1351745128631592, -0.4115232825279236, 0.01782846450805664, 0.2356358915567398, 0.026451686397194862, 0.3487323522567749, -0.5514952540397644, 0.8202031850814819, -0.49956396222114563, -0.12949994206428528, -0.2806580364704132, 0.2970411479473114, 0.6191887855529785, 0.20865757763385773, 0.30171331763267517, -0.7336437702178955, -0.5381854176521301, 0.4583419859409332, -0.922132134437561, -0.09037002921104431, -0.2468869388103485, -0.009496473707258701, -0.18882228434085846, 0.25415825843811035, -0.5054497718811035, 0.3335212767124176, 0.8901128768920898, -0.26032593846321106, 0.3644181191921234, -0.10893456637859344, 0.3099374771118164, -0.9863353371620178, 0.04223807528614998, 0.08634041994810104, 0.056537993252277374, -0.734378457069397, 0.116582952439785, 0.30477046966552734, 0.15679052472114563, -0.15817512571811676, 0.2802186608314514, -0.6541053652763367, -0.20798027515411377, -0.351805180311203, 0.307024747133255, -0.11088354885578156, 0.2181837260723114, -0.18273496627807617, 0.8461127877235413, 0.987022340297699, -0.5692102313041687, 0.28624796867370605, 0.21467506885528564, -0.2086157202720642, 0.7591667175292969, -0.789480984210968, 0.28605785965919495, -0.23986920714378357, -0.021777458488941193, -0.8279733657836914, -0.08790581673383713, 0.12241992354393005, -0.284381240606308, 0.2030942738056183, -0.042364515364170074, -0.26477134227752686, 0.057830810546875, 0.06574644893407822, 0.5946982502937317, 0.277914434671402, -0.6666750907897949, 0.7937666773796082, 0.44602903723716736, 0.2517490088939667, -0.8401854634284973, -0.595418393611908, 0.04938511550426483, -0.2766803205013275, -0.35489600896835327, 0.22100579738616943, 0.06896785646677017, -0.5276358127593994, -0.19906391203403473, -0.3693886399269104, -0.31526145339012146, 0.1481824666261673, 0.2509964108467102, 0.06019943580031395, -0.056712716817855835, 0.04924270883202553, -0.011034688912332058, -0.14483799040317535, 0.04974990338087082, 0.04472924768924713, 0.556511640548706, -0.2024616003036499, -0.6313007473945618, -0.32858365774154663, 0.34117740392684937, 0.6416897773742676, -0.5184457898139954, 0.9243941307067871, 0.41544458270072937, -0.35488906502723694, -0.4011133909225464, -0.4037012457847595, 0.05537819862365723, -0.5167789459228516, 0.3853531777858734, -0.5928915143013, -0.4778338670730591, 0.7591384649276733, -0.23513424396514893, -0.063939169049263, 0.4810025691986084, 0.6494208574295044, -0.15774673223495483, 1.217590570449829, 0.49286949634552, 0.10363109409809113, 0.4306517243385315, -0.18659541010856628, 0.32842570543289185, -1.065990924835205, -0.3079868257045746, -0.48364323377609253, -0.4069139063358307, -0.43823927640914917, -0.598385214805603, 0.16437622904777527, 0.24796046316623688, -0.013011534698307514, 0.44264480471611023, -0.5532026886940002, 0.5528356432914734, 0.15430764853954315, 0.11882703006267548, 0.4184649884700775, -0.11019851267337799, 0.01585930958390236, -0.06610751897096634, -0.2900656759738922, -0.5859735608100891, 1.0826997756958008, 0.47337865829467773, 1.0566179752349854, 0.34369900822639465, 0.603407621383667, 0.2705202102661133, 0.32280653715133667, -0.7253698706626892, 0.4228580892086029, -0.09463806450366974, -0.6949657797813416, -0.08757097274065018, -0.41172492504119873, -0.9931727647781372, 0.4941459596157074, 0.007474813610315323, -0.9303212761878967, 0.39888355135917664, -0.04773786664009094, 0.22120055556297302, 0.19883984327316284, -0.5628751516342163, 0.6037564277648926, -0.20261496305465698, -0.0927138477563858, -0.648148238658905, -0.30556297302246094, 0.34571778774261475, -0.08759399503469467, 0.14457766711711884, -0.293418288230896, -0.012308758683502674, 0.7751776576042175, 0.47835150361061096, 0.7428240776062012, 0.0124666104093194, -0.36284562945365906, -0.11037591844797134, 0.1180698424577713, 0.5667170286178589, -0.05760953947901726, -0.2657572031021118, 0.4562883675098419, 0.24252890050411224, -0.3972920775413513, -0.8130828142166138, 0.7542747259140015, -0.857204258441925, -0.3265930712223053, -0.7257897257804871, -0.7758176326751709, -0.2954971194267273, 0.10605604946613312, -0.08772298693656921, 0.36204782128334045, -0.13579711318016052, -0.03301963210105896, 0.6557145714759827, 0.06199008226394653, 0.2922753095626831, 0.46559131145477295, -0.29813116788864136, -0.14269226789474487, 1.0169155597686768, -0.06820540875196457, 0.23661735653877258, 0.30182120203971863, -0.09104274213314056, -0.27318432927131653, -0.8802935481071472, -0.12355364114046097, 0.25630277395248413, -0.8989130854606628, 0.15381640195846558, -0.4144551157951355, -0.19273580610752106, -0.08469876646995544, 0.11984683573246002, -0.6161698698997498, -0.22807736694812775, -0.3727709650993347, 0.014454315416514874, 0.06937254220247269, 1.31146240234375, -0.06016835570335388, 0.19654540717601776, -0.562065064907074, 0.4422418475151062, 0.046263597905635834, 0.6360324025154114, 0.19793523848056793, -0.32573023438453674, -0.5450050830841064, 0.1253354847431183, -0.322026789188385, -1.1122642755508423, 0.11045684665441513, 0.19813689589500427, 0.9112533926963806, 0.38150495290756226, -0.10328034311532974, 0.7683789134025574, -0.44163942337036133, 0.4838739335536957, 0.3123025894165039, -1.2154905796051025, 0.5118575692176819, -0.055522371083498, 0.03468036651611328, 0.26480692625045776, 0.43658456206321716, -0.7298678755760193, -0.3143131136894226, -0.33134570717811584, -0.6738914847373962, 0.5285884141921997, 0.2909560203552246, -0.10614708065986633, -0.14131386578083038, 0.2826131284236908, 0.12439564615488052, -0.10715296119451523, -0.4853316843509674, -0.4646550118923187, 0.28244295716285706, -0.47514617443084717, -0.2330935150384903, -0.17803290486335754, -0.3648359179496765, -0.08124686032533646, 0.380288690328598, -0.22486038506031036, 0.3812873661518097, 0.09476105868816376, -0.36937227845191956, -0.03684726357460022, 0.3338167667388916, 0.27678582072257996, 1.1077866554260254, 0.028657086193561554, 0.47498181462287903, 0.0430673249065876, -0.5703759789466858, 0.4413246810436249, -0.08200204372406006, 0.09516674280166626, -0.20406214892864227, 0.586300253868103, 0.6960539221763611, -0.0837085023522377, -0.5888940691947937, 0.17658551037311554, -0.08462534844875336, 0.0340229757130146, 0.17265118658542633, -0.0311653483659029, 0.10453817993402481, 0.5340109467506409, 0.35619908571243286, 0.2863423824310303, 0.27444079518318176, -0.36408111453056335, 0.3534168004989624, 0.3814146816730499, -0.5237635970115662, -0.47512131929397583, 0.5281230211257935, -0.008826438337564468, 0.008182198740541935, 0.5885751843452454, -0.016582921147346497, -0.1616390198469162, 0.5170110464096069, 0.5169774889945984, 0.9792953729629517, -0.302224725484848, 0.4273461699485779, 0.2164287120103836, 0.3200315237045288, -0.12784500420093536, 0.33958593010902405, 0.15727819502353668, -1.0202430486679077, -0.46549326181411743, -0.4325962960720062, -0.38990455865859985, -0.46447980403900146, -1.1442720890045166, -0.3321833610534668, -0.007998907007277012, -0.22182290256023407, 0.30767518281936646, -0.11652601510286331, -0.5005999207496643, -0.11772753298282623, -0.04497026652097702, 0.5938118696212769, -0.9651148319244385, 0.8708279132843018, 0.7303546071052551, -0.4372393786907196, -0.5120487809181213, 0.1878919154405594, 0.07950397580862045, -0.7512179017066956, 0.8237527012825012, -0.055177029222249985, -0.3196249008178711, -0.007257495075464249, -0.5401673316955566, -1.0076555013656616, 1.030531644821167, 0.5711542963981628, -0.570521891117096, 0.09813040494918823, 0.18543238937854767, 0.5469434857368469, -0.20514561235904694, 0.35064706206321716, 0.9815706610679626, 0.45955660939216614, -0.029951684176921844, -0.9476784467697144, 0.044280268251895905, -0.22953888773918152, -0.06857532262802124, 0.04654546082019806, -0.29759344458580017, 0.9058815240859985, -0.12298231571912766, -0.3526245653629303, -0.2954482138156891, 0.649043083190918, 0.3795822262763977, 0.27663618326187134, 0.447046160697937, 0.47873467206954956, 1.0444554090499878, -0.13648511469364166, 0.9500827193260193, -0.028635941445827484, 0.7406406998634338, 1.0007728338241577, -0.3390040993690491, 0.8883824348449707, 0.7912356853485107, -0.495599627494812, 0.39460575580596924, 0.6604008674621582, 0.38442206382751465, 0.7174714803695679, 0.31831982731819153, -0.17058183252811432, -0.28415653109550476, -0.024484796449542046, -0.0349675789475441, 0.3112197816371918, 0.31005144119262695, -0.2341390699148178, -0.1971987783908844, 0.07069943845272064, -0.33744144439697266, 0.10598122328519821, -0.04770614579319954, 0.768054187297821, 0.19026930630207062, -0.37869560718536377, 0.5756585597991943, -0.23473979532718658, 0.6285879015922546, -0.45712602138519287, -0.14177167415618896, -0.26004016399383545, 0.5573591589927673, -0.3260696530342102, -0.9872849583625793, 0.4200303554534912, -0.1346871256828308, -0.3577076494693756, -0.2156682163476944, 0.4546203911304474, -0.4370349943637848, -0.3200465142726898, 0.5451569557189941, 0.6760826110839844, 0.0666608139872551, -0.0913313552737236, -0.7637499570846558, 0.3087741434574127, -0.29309359192848206, -0.39618948101997375, 0.3684804141521454, 0.2899404764175415, -0.007944880053400993, 1.103503704071045, 0.3629254102706909, 0.13917940855026245, 0.24017183482646942, 0.06467001140117645, 0.9438648223876953, -0.5872173309326172, -0.03262268006801605, -0.9070677757263184, 0.4501533806324005, -0.13633114099502563, -0.25440576672554016, 0.7799452543258667, 0.32503241300582886, 0.46715694665908813, 0.008864768780767918, 0.5052852630615234, -0.293707013130188, 0.13418442010879517, -0.5099765658378601, 0.7972976565361023, -0.5230962634086609, 0.3110838234424591, -0.23503609001636505, -0.9029489159584045, -0.21684464812278748, 0.6953924894332886, -0.20596033334732056, -0.12101656943559647, 1.036763310432434, 0.8153383731842041, -0.21472439169883728, -0.09776336699724197, 0.3828507661819458, 0.23875465989112854, 0.45687106251716614, 0.3595203161239624, 1.137325406074524, -0.38409101963043213, 0.17942221462726593, -0.08879179507493973, -0.24114903807640076, 0.16795967519283295, -0.737002968788147, -0.8169419765472412, -0.9848378300666809, -0.39050570130348206, -0.2568722069263458, 0.0824112817645073, 0.6851218938827515, 0.8114919662475586, -1.014845848083496, -0.471958726644516, -0.0011408579302951694, 0.37664923071861267, -0.9070023894309998, -0.14800357818603516, 0.43947550654411316, -0.4815930128097534, -0.8139469027519226, 0.6451653838157654, 0.24267734587192535, -0.38235074281692505, -0.4443637430667877, -0.11108795553445816, -0.3523639142513275, 0.22267678380012512, 0.4014102518558502, -0.20920969545841217, -0.8372114896774292, -0.10808432102203369, 0.07938390225172043, -0.23968949913978577, 0.101048044860363, 0.8400464057922363, -0.21455352008342743, 0.6076145172119141, 0.4999886453151703, 0.6376376152038574, 0.45723313093185425, -0.2041967362165451, 0.682625949382782, -0.5253003239631653, -0.08208393305540085, 0.1867850124835968, 0.29344019293785095, 0.0653899684548378, -0.2372758984565735, 0.5245651006698608, -0.2149520218372345, -0.5362277030944824, -0.7428234219551086, 0.3158639073371887, -1.2475506067276, -0.0632781907916069, 1.061083436012268, -0.2287551313638687, -0.1229967474937439, -0.20335344970226288, -0.14968588948249817, 0.14440011978149414, -0.12752015888690948, 0.714168906211853, 0.819014310836792, -0.21014228463172913, -0.40458664298057556, -0.47931021451950073, 0.3341498374938965, 0.07994965463876724, -0.9104980230331421, 0.31795457005500793, 0.26977917551994324, 0.11186373978853226, 0.2943107783794403, 0.3361702859401703, -0.16004678606987, 0.15273897349834442, 0.051003579050302505, 0.23029258847236633, 0.11072831600904465, -0.34640344977378845, -0.49580273032188416, -0.11707340180873871, 0.25219160318374634, -0.22059017419815063 ]
http://arxiv.org/abs/2402.17682v2
http://arxiv.org/pdf/2402.17682v2
NextLevelBERT: Masked Language Modeling with Higher-Level Representations for Long Documents
2024-02-27T16:56:30
2024-06-13T10:21:03
Tamara Czinczoll, Christoph Hönes, Maximilian Schall, Gerard de Melo
cs.CL
cs.CL
While (large) language models have significantly improved over the last years, they still struggle to sensibly process long sequences found, e.g., in books, due to the quadratic scaling of the underlying attention mechanism. To address this, we propose NextLevelBERT, a Masked Language Model operating not on tokens, but on higher-level semantic representations in the form of text embeddings. We pretrain NextLevelBERT to predict the vector representation of entire masked text chunks and evaluate the effectiveness of the resulting document vectors on three types of tasks: 1) Semantic Textual Similarity via zero-shot document embeddings, 2) Long document classification, 3) Multiple-choice question answering. We find that next-level Masked Language Modeling is an effective technique to tackle long-document use cases and can outperfor much larger embedding models as long as the required level of detail of semantic information is not too fine. Our models and code are publicly available online.
[ -0.31989577412605286, -0.4379350543022156, 0.5171813368797302, 0.25587910413742065, 0.07869813591241837, 0.32473811507225037, -0.1129114180803299, -0.570168673992157, 0.1730327606201172, 0.9149628281593323, -0.3655117452144623, -0.9520780444145203, -0.8472424149513245, -0.08665312826633453, -0.760803759098053, 0.8560313582420349, 0.017134511843323708, -0.13719657063484192, -0.6796522736549377, 0.16467900574207306, -0.4544127285480499, -0.6760267615318298, -0.5408426523208618, -0.3722204864025116, 0.5874180197715759, 0.39141222834587097, 0.5780798196792603, 0.38313785195350647, 0.35535362362861633, 0.2402435839176178, -0.10907477140426636, -0.2815752625465393, -0.5981263518333435, 0.3090105950832367, 0.09606669098138809, -0.530823290348053, -0.34726911783218384, 0.10972259938716888, 0.9167541265487671, 0.5365011096000671, 0.1510644257068634, 0.05466405302286148, -0.06356073170900345, 0.43253573775291443, -0.6364204287528992, 0.34312835335731506, -0.4585513174533844, 0.2128571718931198, -0.026921089738607407, -0.09269969910383224, -0.5290046334266663, -0.14082619547843933, 0.18347680568695068, -0.5836686491966248, 0.13398055732250214, 0.11952077597379684, 0.5781721472740173, 0.051097240298986435, -0.3035075068473816, -0.3419002294540405, -0.6360265016555786, 0.8174833059310913, -0.5591464042663574, 0.6016210317611694, 0.8104498982429504, 0.15231800079345703, 0.11023811250925064, -0.8699848651885986, -0.4979749619960785, -0.6990442276000977, -0.06024349853396416, -0.0009635112364776433, -0.227892205119133, 0.053747378289699554, 0.3228439688682556, -0.005962220020592213, -0.5696383118629456, 0.15708762407302856, -0.30558350682258606, -0.22123704850673676, 0.3398283123970032, -0.0059451456181705, 0.11244422942399979, -0.09855034202337265, -0.45519834756851196, -0.03240257874131203, -0.6115671992301941, -0.039934273809194565, 0.4498797655105591, -0.02817550115287304, 0.24264396727085114, 0.6070786118507385, -0.2866557836532593, 0.7629491686820984, -0.07741879671812057, 0.02060745842754841, 0.3111002445220947, 0.18850933015346527, -0.08297757059335709, 0.12170334160327911, 0.2819611728191376, 0.3414137065410614, 0.18658241629600525, -0.07367876172065735, -0.3821318745613098, -0.30477890372276306, 0.21172182261943817, -0.9039549827575684, -0.38558128476142883, 0.45879465341567993, -0.3998514413833618, -0.40440282225608826, -0.3106706738471985, -0.46332311630249023, -0.6390753984451294, -0.27595585584640503, 0.5237666964530945, -0.35246652364730835, -0.07846034318208694, 0.3560827672481537, -0.10223157703876495, 0.2717825174331665, 0.40237632393836975, -0.6867642402648926, 0.3609391748905182, 0.866037130355835, 0.9547461867332458, -0.01621357351541519, -0.18410129845142365, -0.8772116899490356, 0.27394407987594604, -0.35247427225112915, 0.6968489289283752, -1.048560380935669, -0.22754845023155212, 0.3915707468986511, 0.04781137406826019, 0.0923021212220192, -0.2819031774997711, 0.7278191447257996, -0.80584317445755, 0.3707698583602905, 0.037285979837179184, -0.7466536164283752, -0.0596819706261158, 0.41126593947410583, -0.65389084815979, 1.235437273979187, 0.1912705898284912, -0.7628937363624573, 0.027504626661539078, -0.47994011640548706, -0.2291989028453827, 0.36687344312667847, -0.10020309686660767, -0.4096573293209076, 0.01193266175687313, 0.3326798975467682, 0.8427162170410156, -0.2834726572036743, -0.015638934448361397, -0.18451115489006042, -0.3010697364807129, 0.014292328618466854, -0.060237254947423935, 0.6736543774604797, -0.27018189430236816, -0.14058917760849, 0.22379645705223083, -0.7845210433006287, -0.13401439785957336, -0.06832633167505264, -0.03096097521483898, -0.633216381072998, -0.10374519973993301, 0.09181787818670273, 0.5031417012214661, 0.6078325510025024, -0.8240410685539246, 0.01650644652545452, -0.15973110496997833, 0.47833287715911865, 0.5885546803474426, -0.25814345479011536, 0.4807851016521454, -0.19663377106189728, 0.735470175743103, -0.09653052687644958, 0.13752363622188568, -0.42293858528137207, -0.6343330144882202, -0.785271167755127, -0.30624282360076904, 0.4614976644515991, 0.41723501682281494, -0.6822448968887329, 0.2738298177719116, -0.3318409025669098, -0.43264174461364746, -0.22846579551696777, -0.024061784148216248, 0.39050036668777466, 0.366951048374176, 0.27079978585243225, -0.3041779696941376, -0.27096688747406006, -0.8813080787658691, -0.028973672538995743, -0.056755367666482925, -0.21663187444210052, 0.1067809909582138, 0.6647807955741882, -0.3297640085220337, 0.758424699306488, -0.5770324468612671, -0.5559297800064087, -0.18521533906459808, 0.351829469203949, -0.047378942370414734, 0.33185216784477234, 0.4491373300552368, -0.66432785987854, -0.3828555941581726, -0.07917451858520508, -0.5429917573928833, -0.033746764063835144, 0.006324790418148041, -0.10235888510942459, 0.20970377326011658, 1.2641913890838623, -0.5629003643989563, 0.11074899137020111, 0.6341610550880432, -0.08727815747261047, 0.10835740715265274, -0.32621729373931885, -0.3567378520965576, -0.8981783986091614, -0.23442372679710388, 0.03472434729337692, -0.5277247428894043, -0.790442168712616, 0.034373991191387177, 0.5294785499572754, -0.6180000901222229, -0.4693392217159271, 0.5439443588256836, -0.639422595500946, -0.2200668454170227, -0.2839675843715668, 0.3557251989841461, 0.25257864594459534, 0.6137509942054749, 0.16696979105472565, 0.3209460973739624, 0.7945536375045776, -0.1604534089565277, 0.518894612789154, 0.11184454709291458, -0.4930494725704193, 0.398539274930954, -0.7471677660942078, 0.18015076220035553, -0.5573046803474426, 0.6288781762123108, -0.8647606372833252, -0.23991389572620392, 0.0869765430688858, -0.5438443422317505, 0.5358338356018066, -0.1923922300338745, -0.5191602110862732, -0.400804340839386, -0.5210179686546326, 0.45831412076950073, 0.47755298018455505, -0.3371448814868927, 0.6630364060401917, 0.49680230021476746, -0.4150962829589844, -0.6724290251731873, -0.4833630621433258, 0.2421361207962036, 0.05700015276670456, -0.5527172684669495, 0.5334746241569519, 0.15026487410068512, 0.1590280681848526, -0.030811132863163948, 0.011622784659266472, -0.03872767835855484, -0.2878742516040802, 0.2002483755350113, -0.0015470152720808983, -0.14748702943325043, 0.4295758306980133, -0.09569523483514786, -0.20999115705490112, 0.13083671033382416, -0.9340661764144897, 0.7719146609306335, -0.08078468590974808, -0.28616803884506226, -0.058096133172512054, 0.8994627594947815, 0.5524320602416992, -0.7387804985046387, 0.8658590316772461, 0.8466218709945679, -0.8047768473625183, -0.19859567284584045, -0.5095245242118835, 0.232490673661232, -0.43388134241104126, 0.6901504397392273, -0.18959635496139526, -1.249098777770996, 0.41685354709625244, 0.26044514775276184, 0.008124585263431072, 0.4281489849090576, 0.6427891850471497, -0.13142997026443481, 0.941860020160675, 0.9776025414466858, 0.04002659022808075, 0.6112962365150452, -0.29308146238327026, 0.27074679732322693, -0.7893825173377991, -0.6981164216995239, -0.6014540195465088, 0.10879865288734436, -0.4778761565685272, -0.8288821578025818, 0.2408723384141922, 0.07670774310827255, -0.32935163378715515, 0.5574513673782349, -0.40215855836868286, 0.6949692368507385, 0.6523966789245605, -0.11417490243911743, 0.06287269294261932, 0.04903153330087662, 0.11536227911710739, 0.19373397529125214, -0.629696786403656, -0.39751502871513367, 1.000990390777588, 0.6910660266876221, 0.7658033967018127, -0.18151523172855377, 0.9992671012878418, 0.4427408277988434, 0.18313704431056976, -0.8199071884155273, 0.49676936864852905, -0.05906137079000473, -0.49450477957725525, -0.5861018896102905, -0.0369185172021389, -0.8643409013748169, 0.3071671426296234, -0.2650400400161743, -0.7039540410041809, 0.33312612771987915, -0.11302098631858826, -0.20475007593631744, 0.11675886809825897, -0.5529013276100159, 0.8700634241104126, 0.03738928586244583, -0.1558091789484024, -0.05511198192834854, -0.6560712456703186, 0.16688407957553864, -0.3281650245189667, 0.1187087669968605, -0.23923441767692566, -0.38430255651474, 0.788578450679779, -0.1331818550825119, 0.8005868792533875, 0.0709538385272026, -0.4678409695625305, 0.13699020445346832, -0.007883407175540924, 0.6909887194633484, 0.1522301286458969, -0.0449102446436882, 0.3064468801021576, -0.03532613441348076, -0.6903327107429504, -0.705769956111908, 0.8345478177070618, -0.7774920463562012, -0.6953933238983154, -0.5861650109291077, -0.45710670948028564, -0.21169637143611908, 0.3044305741786957, 0.25369688868522644, 0.7651897072792053, 0.14043234288692474, 0.4814828038215637, 0.8287984728813171, -0.3144362270832062, 0.36252856254577637, 0.25942280888557434, -0.3694458305835724, -0.12918470799922943, 1.1261569261550903, -0.011804379522800446, 0.17814551293849945, 0.950289249420166, -0.053827084600925446, -0.4294777512550354, -0.6372849345207214, -0.03534075617790222, 0.020508792251348495, -1.046739935874939, -0.14634962379932404, -1.1862471103668213, -0.36562392115592957, -0.5569882988929749, -0.16359765827655792, -0.18521742522716522, -0.5763029456138611, -0.3102879226207733, 0.056638576090335846, 0.1859571635723114, 0.8253647089004517, 0.07644340395927429, 0.11148595064878464, -0.7513299584388733, 0.3689510226249695, 0.29717135429382324, 0.41900789737701416, -0.11700575798749924, -0.5050185322761536, -0.5556744933128357, -0.40253767371177673, -0.18086853623390198, -0.6500917077064514, 0.4387509226799011, 0.10687467455863953, 0.40275681018829346, -0.08574413508176804, 0.09889248758554459, 0.01934371143579483, -0.5861467719078064, 0.6355575323104858, 0.221907839179039, -0.9185605645179749, 0.24735775589942932, -0.4522349238395691, 0.37780240178108215, 0.2521871328353882, 0.756669819355011, -0.6710246801376343, -0.6592898368835449, -0.3736720681190491, -0.9790226221084595, 0.5900917053222656, 0.46789950132369995, 0.4986061155796051, 0.10028652846813202, 0.10384932160377502, -0.06153062358498573, 0.3354765772819519, -0.8684146404266357, 0.18091639876365662, -0.34342825412750244, -0.03163771703839302, -0.3228113353252411, -0.5001273155212402, 0.08200259506702423, -0.20647048950195312, 0.4830678403377533, 0.04095495492219925, 0.582190990447998, 0.0014539830153807998, -0.3046998381614685, 0.24962709844112396, 0.09335187822580338, 0.7761967778205872, 0.603827178478241, -0.34993574023246765, 0.19248250126838684, 0.05668488144874573, -0.5570650100708008, -0.12019280344247818, 0.33627548813819885, 0.14404788613319397, 0.12007148563861847, 0.7970095276832581, 0.6693284511566162, 0.15908782184123993, -0.556160032749176, 0.7982378005981445, -0.04223843663930893, -0.32422345876693726, -0.6577831506729126, -0.23480214178562164, 0.22977584600448608, 0.3395346701145172, 0.2555684447288513, -0.27985110878944397, -0.0005671517574228346, -0.4930609166622162, 0.19282424449920654, 0.2363322675228119, -0.6474355459213257, 0.23791229724884033, 0.604773759841919, 0.19240756332874298, -0.4693949818611145, 0.4698632061481476, -0.004668405745178461, -0.6481422185897827, 0.49096018075942993, 0.3578948378562927, 0.8015451431274414, -0.15226419270038605, 0.5290459394454956, 0.16241875290870667, 0.4538000524044037, 0.05358900502324104, -0.04306177794933319, -0.14562420547008514, -0.3723953664302826, -0.4558779001235962, -0.7336905002593994, -0.4462645351886749, 0.20471762120723724, -0.38696348667144775, 0.25752291083335876, -0.4158610999584198, 0.07571028918027878, -0.010895667597651482, -0.09614674746990204, -0.5553739070892334, 0.20900660753250122, 0.27496370673179626, 0.8901826739311218, -0.5769729018211365, 1.0155973434448242, 0.3018253743648529, -0.3985385000705719, -0.2366088181734085, 0.24864909052848816, -0.48549020290374756, -0.7759108543395996, 0.755895733833313, 0.3706231415271759, -0.15419802069664001, 0.049160171300172806, -0.5081159472465515, -1.1299580335617065, 0.8309336304664612, 0.2751431465148926, -0.6397390961647034, -0.3884037435054779, 0.23944365978240967, 0.651831328868866, -0.5384949445724487, 0.2752368450164795, 0.270652711391449, 0.21092389523983002, 0.04547155275940895, -0.3104872703552246, -0.12378951162099838, -0.2665136456489563, 0.3232805132865906, 0.16455574333667755, -0.3422870337963104, 1.1428476572036743, 0.12967047095298767, 0.04737177491188049, -0.04994459077715874, 0.827379047870636, -0.24070318043231964, 0.06173630803823471, 0.3191315829753876, 0.3528805673122406, 0.7421724200248718, 0.15414321422576904, 1.2132295370101929, -0.4469776451587677, 0.3577689230442047, 1.1716282367706299, -0.31822559237480164, 0.9200285077095032, -0.03231899067759514, 0.33381587266921997, 0.7004497647285461, 0.5490375757217407, 0.01537097617983818, 0.45554202795028687, 0.4958423674106598, -0.48387327790260315, -0.48290377855300903, -0.17866577208042145, -0.4230891764163971, 0.2707838714122772, 0.3628551959991455, -0.40951478481292725, -0.19020408391952515, 0.31957584619522095, -0.13884097337722778, 0.05417928844690323, -0.39864906668663025, 0.44645801186561584, 0.07674099504947662, -0.5422453284263611, 0.8200150728225708, 0.3908739387989044, 0.4385973811149597, -0.3176703155040741, -0.1469065099954605, -0.14618097245693207, 0.012278074398636818, -0.10677781701087952, -0.9010878205299377, -0.010075831785798073, -0.06835247576236725, -0.12664459645748138, -0.4944942891597748, 0.9775017499923706, -0.658352792263031, -0.7675167322158813, 0.4813082814216614, 0.10032303631305695, 0.08838630467653275, -0.2947271466255188, -0.4514791965484619, -0.017231326550245285, -0.4695534408092499, -0.18522021174430847, 0.2532452642917633, 0.41037890315055847, -0.4389447271823883, 0.7259284853935242, 0.4409753978252411, -0.33056578040122986, 0.33328869938850403, 0.28488263487815857, 0.8872766494750977, -0.5836701989173889, -0.5241253972053528, -0.45368507504463196, 0.22574445605278015, -0.23063382506370544, -0.176200732588768, 0.6642531752586365, 0.5814707279205322, 1.0560907125473022, -0.02364594303071499, 0.7358925342559814, 0.32773783802986145, 0.3734517991542816, -0.5606951713562012, 0.6023173332214355, -0.5751882791519165, -0.015794772654771805, -0.3450629711151123, -1.1603498458862305, -0.49037253856658936, 0.5067082047462463, -0.3328501880168915, 0.11906341463327408, 0.756510317325592, 0.7500852942466736, -0.07355540990829468, 0.0251094251871109, 0.7196499705314636, 0.09309055656194687, 0.31752651929855347, 0.7274652719497681, 0.9120755791664124, -0.19664731621742249, 0.6080437302589417, 0.01360560767352581, -0.2586655616760254, -0.30416131019592285, -0.9246870279312134, -1.3620909452438354, -0.8371159434318542, -0.18755322694778442, -0.2580929100513458, 0.0797768160700798, 0.7284716963768005, 0.586277425289154, -0.4973720908164978, 0.012936897575855255, -0.08321111649274826, 0.15420885384082794, 0.3206102252006531, -0.07541835308074951, 0.505319356918335, -0.32333600521087646, -0.7008518576622009, 0.08761969208717346, 0.4616148769855499, -0.04483840987086296, -0.580525279045105, 0.015343048609793186, -0.1117066890001297, 0.15247489511966705, 1.0795950889587402, 0.15074458718299866, -0.563642680644989, -0.426135778427124, 0.03520087152719498, -0.293296217918396, -0.036389369517564774, 0.9573203325271606, -0.7256940007209778, 0.4189584255218506, 0.5796248912811279, 0.7220508456230164, 0.8873888850212097, -0.4927767217159271, 0.5656018853187561, -0.6963165402412415, 0.16708123683929443, 0.48937904834747314, 0.23670750856399536, 0.41439101099967957, -0.19830240309238434, 0.08659110218286514, -0.07870558649301529, -0.27772530913352966, -0.7056481242179871, 0.36316829919815063, -0.7013209462165833, -0.21473011374473572, 1.222273588180542, -0.3383435308933258, -0.1430177390575409, -0.23485904932022095, -0.2851421535015106, 0.20541544258594513, -0.2948093116283417, 0.3781609833240509, 0.8471240401268005, 0.09141889959573746, -0.5611836910247803, -0.7885167002677917, 0.44815653562545776, 0.3203106224536896, -0.6816354990005493, 0.060569390654563904, 0.34325000643730164, -0.017127200961112976, 0.25850456953048706, 0.6310258507728577, -0.20594476163387299, 0.07887674123048782, -0.09795799106359482, -0.14067725837230682, -0.16193528473377228, -0.8388070464134216, -0.32947856187820435, 0.4102695882320404, -0.06169771030545235, 0.0004540668160188943 ]
http://arxiv.org/abs/2402.17649v2
http://arxiv.org/pdf/2402.17649v2
Beyond prompt brittleness: Evaluating the reliability and consistency of political worldviews in LLMs
2024-02-27T16:19:37
2024-06-03T22:25:08
Tanise Ceron, Neele Falk, Ana Barić, Dmitry Nikolaev, Sebastian Padó
cs.CL
cs.CL, cs.CY
Due to the widespread use of large language models (LLMs) in ubiquitous systems, we need to understand whether they embed a specific worldview and what these views reflect. Recent studies report that, prompted with political questionnaires, LLMs show left-liberal leanings (Feng et al., 2023; Motoki et al., 2024). However, it is as yet unclear whether these leanings are reliable (robust to prompt variations) and whether the leaning is consistent across policies and political leaning. We propose a series of tests which assess the reliability and consistency of LLMs' stances on political statements based on a dataset of voting-advice questionnaires collected from seven EU countries and annotated for policy domains. We study LLMs ranging in size from 7B to 70B parameters and find that their reliability increases with parameter count. Larger models show overall stronger alignment with left-leaning parties but differ among policy programs: They evince a (left-wing) positive stance towards environment protection, social welfare state and liberal society but also (right-wing) law and order, with no consistent preferences in foreign policy and migration.
[ -0.18418346345424652, -0.679412841796875, 0.9350801706314087, 0.3755553066730499, -0.13798312842845917, -0.05698743835091591, -0.21907323598861694, -0.03962027654051781, 0.17734208703041077, 0.4047686755657196, -0.5711793303489685, -0.39906665682792664, -0.6849119067192078, 0.3171173930168152, -0.07164556533098221, 0.8195210695266724, 0.2370985746383667, 0.25797975063323975, -0.23825792968273163, -0.4168342053890228, -0.3353302776813507, -0.2523330748081207, -0.24005424976348877, -0.6412570476531982, 0.4234480559825897, 0.48421019315719604, 1.2970178127288818, 0.4637001156806946, 0.522933304309845, 0.21660304069519043, -0.4676195979118347, -0.019002795219421387, -0.34575843811035156, 0.2742563486099243, -0.6119150519371033, -0.5934901237487793, -0.26920875906944275, 0.25891730189323425, 0.6790966391563416, 0.6631253361701965, -0.14505207538604736, -0.20582394301891327, 0.38840436935424805, 0.43331822752952576, -0.428401380777359, -0.05456962063908577, -0.9310556650161743, -0.09364520013332367, 0.015563659369945526, -0.071808360517025, -0.5880900621414185, -0.42048123478889465, 0.16048675775527954, -0.17303498089313507, -0.31714606285095215, 0.15922148525714874, 0.9869247674942017, 0.036919109523296356, -0.7447046041488647, -0.3275482952594757, -0.6042073369026184, 1.0726854801177979, -0.7388098835945129, 0.653060257434845, 0.29187458753585815, -0.05720251798629761, -0.7078300714492798, -0.2350902557373047, -0.4951063394546509, -0.5429185628890991, 0.2663506269454956, 0.0977470874786377, 0.05086039751768112, 0.0651843473315239, -0.00886901281774044, 0.07739610224962234, -0.557771623134613, 0.1593645066022873, 0.26325723528862, -0.228017657995224, 0.45584046840667725, 0.2540237009525299, 0.2910216152667999, -0.5639602541923523, -0.5725996494293213, 0.17106887698173523, -1.099710464477539, -0.08679135143756866, 0.5350233912467957, 0.5474284291267395, -0.305796355009079, 0.6966331005096436, 0.13051314651966095, 0.6658727526664734, 0.20955562591552734, -0.42186298966407776, -0.19092600047588348, -0.38366007804870605, 0.03653089702129364, -0.4055810868740082, 0.6911817789077759, 0.5666488409042358, 0.2882418632507324, 0.03998896852135658, -0.21867206692695618, 0.05573974549770355, -0.031676385551691055, -0.44786325097084045, 0.0372716560959816, 0.5187766551971436, -0.5971006751060486, -0.2688380181789398, 0.3122093975543976, -0.5696170926094055, -0.812988817691803, -0.4126794636249542, -0.0995110496878624, -0.27572229504585266, -0.3957045078277588, -0.15727499127388, 0.057538170367479324, 0.4677894413471222, 0.23937714099884033, -0.5003756880760193, -0.09145942330360413, 0.9678609371185303, 0.9275470972061157, -0.5343203544616699, -0.197535440325737, -0.6243467926979065, -0.21598057448863983, -0.49801144003868103, 0.9805622696876526, -0.8386659622192383, -0.4222349226474762, 0.3263665735721588, 0.35450422763824463, 0.14773055911064148, -0.5459588170051575, 0.661037266254425, -0.42104557156562805, 0.03939960151910782, -0.7110283970832825, -0.6421462893486023, 0.20272143185138702, 0.7725141644477844, -0.6953978538513184, 0.9825589656829834, -0.2192121148109436, -0.9420413374900818, 0.5976855158805847, -0.2095782309770584, 0.06400464475154877, -0.33872905373573303, -0.4201086461544037, -0.10400959104299545, 0.09300433844327927, -0.30430012941360474, 0.5976139903068542, -0.21948842704296112, 0.7191546559333801, -1.0994240045547485, -0.14123181998729706, 0.5534903407096863, -0.7679386734962463, 0.9955641031265259, -0.07385160028934479, -0.4302249252796173, 0.21531958878040314, -0.945924699306488, -0.21843846142292023, -0.043576017022132874, -0.4348295032978058, -0.2974374294281006, 0.4778357744216919, 0.07520917803049088, 0.413300096988678, 0.36102333664894104, -0.8136922121047974, 0.43390393257141113, -0.26652398705482483, 0.43792852759361267, 1.1167858839035034, 0.055092569440603256, 0.38830462098121643, -0.3822091817855835, 0.38586005568504333, 0.0971871092915535, 0.22704170644283295, 0.1433459371328354, -0.5097358226776123, -0.5991617441177368, 0.15568313002586365, 0.06663021445274353, 0.9441405534744263, -0.5688495635986328, 0.5078157186508179, -0.2900223135948181, -0.3643399477005005, 0.2226104885339737, 0.11688767373561859, 0.12108203023672104, 0.11606604605913162, -0.14706385135650635, 0.14003494381904602, -0.46841633319854736, -0.9699369072914124, -0.536440908908844, -0.7640056014060974, 0.2135729193687439, 0.25493478775024414, 0.7964791059494019, -0.285920113325119, 0.9210204482078552, 0.1437189280986786, 0.4566064774990082, -0.29611489176750183, -0.31229665875434875, 0.33344370126724243, 0.08684331923723221, 0.14292772114276886, -0.6861423850059509, -0.2700148820877075, -0.15755414962768555, -0.5429110527038574, -0.010679472237825394, -0.053036436438560486, 0.09253699332475662, 0.5392481088638306, 0.2236839085817337, -0.6091024279594421, 0.1846802532672882, 0.8598939180374146, -0.7676944732666016, 0.5494934320449829, 0.04756278172135353, 0.06365744024515152, -1.1455719470977783, -0.0851779356598854, 0.1028270423412323, -0.3515124022960663, -0.36657825112342834, -0.1305316835641861, -0.1354897916316986, 0.30985966324806213, -0.6027919054031372, 0.7255185842514038, -0.24416127800941467, 0.0157413799315691, 0.008597353473305702, 0.297861248254776, -0.0718483179807663, -0.2925080955028534, -0.19771641492843628, 0.5643789172172546, 0.3567745089530945, -0.32096701860427856, 0.2725767195224762, 0.09344128519296646, -0.29771801829338074, 1.1041810512542725, -0.627544105052948, 0.14547884464263916, -0.031302087008953094, 0.2536313533782959, -1.196795105934143, -0.38709235191345215, 0.11234782636165619, 0.03849834203720093, -0.012579773552715778, -0.3384822607040405, -0.6084212064743042, -0.1122405156493187, -0.3077255189418793, -0.22641591727733612, 0.2754574716091156, -0.53883957862854, 0.7169822454452515, 0.24995487928390503, -0.2555636465549469, -0.8570356369018555, -0.5811540484428406, 0.1383446305990219, -0.4274255633354187, -0.6596384048461914, 0.0012480122968554497, -0.10274117439985275, -0.9295542240142822, -0.09171431511640549, 0.01460673101246357, 0.1957620084285736, 0.06690549850463867, 0.48530563712120056, 0.30522409081459045, 0.06502952426671982, 0.14631298184394836, -0.1963438242673874, 0.10318321734666824, -0.021940497681498528, -0.3136337697505951, 0.3528018593788147, -0.34186241030693054, -0.4818606674671173, -0.4071705639362335, 0.40776363015174866, 1.0463591814041138, 0.19120049476623535, 0.7667784690856934, 0.0884905755519867, -0.17185069620609283, -0.0917050912976265, -0.5527843236923218, -0.035796280950307846, -0.4540671706199646, 0.21117135882377625, -0.23940573632717133, -0.782080352306366, 0.8219903707504272, -0.013055556453764439, 0.3871080279350281, 0.4378588795661926, 0.5716699957847595, -0.07084034383296967, 0.8929584622383118, 0.7225739359855652, -0.1362706571817398, 0.19108512997627258, 0.1579303741455078, -0.0906754806637764, -0.36593931913375854, -0.36409974098205566, -0.5477060079574585, 0.003436480648815632, -0.7617513537406921, -0.3019088804721832, 0.25310182571411133, -0.17654697597026825, -0.5186037421226501, -0.21002495288848877, -0.2743080258369446, 0.4615626931190491, 0.1307232677936554, -0.015145624987781048, 0.23397277295589447, -0.10248887538909912, -0.3065808415412903, -0.23091326653957367, -0.6687142848968506, -1.066325068473816, 0.9404521584510803, 0.455791711807251, 0.993550181388855, 0.08511751890182495, 0.5143508911132812, 0.38687559962272644, 0.35576146841049194, -0.672313928604126, 0.6942175030708313, -0.009237910620868206, -0.47724151611328125, -0.20921897888183594, -0.33445048332214355, -0.75882887840271, 0.10440007597208023, -0.3481973707675934, -0.562592089176178, 0.3846897780895233, 0.16649229824543, -0.2079700380563736, 0.7390362620353699, 0.04596668481826782, 0.5981610417366028, -0.38841745257377625, -0.5182244777679443, 0.04596814140677452, -0.70383220911026, 0.2039937824010849, 0.32371893525123596, 0.25113996863365173, -0.31767281889915466, -0.4689936637878418, 0.6025819778442383, -0.1835516393184662, 1.054451823234558, -0.2522946298122406, -0.6687144041061401, 0.28207018971443176, 0.19187836349010468, 0.7590197324752808, 0.1707010269165039, -0.3745603561401367, 0.21659140288829803, 0.17187054455280304, -0.4278503954410553, -0.3549131751060486, 0.8289695382118225, -0.7769608497619629, -0.647438108921051, -0.5028916597366333, -0.6467267870903015, -0.2383461445569992, 0.09353452175855637, 0.32538577914237976, 0.5375808477401733, -0.6581533551216125, 0.3926880657672882, 0.9590988755226135, -0.059960681945085526, 0.36267349123954773, 0.32023885846138, -0.2837059497833252, -0.4862612187862396, 0.44073423743247986, 0.4760577082633972, 0.5566785931587219, 0.10593213140964508, 0.33522284030914307, -0.44903457164764404, -0.3246283233165741, -0.44883981347084045, 0.1584859937429428, -0.8292328119277954, -0.039437659084796906, -0.3129344880580902, 0.24455052614212036, 0.11181426793336868, -0.16216696798801422, -0.5191298127174377, -0.32544147968292236, -0.1916377693414688, -0.032165031880140305, 0.40873152017593384, 0.9895240068435669, 0.024334797635674477, 0.014761609025299549, -0.6121683716773987, -0.0971047654747963, -0.004710621200501919, 0.3770483732223511, -0.5020598769187927, -0.6216630339622498, 0.3167720139026642, -0.05256237834692001, -0.22978344559669495, -1.3364074230194092, -0.14892840385437012, 0.18245011568069458, 0.40905511379241943, 0.7152552008628845, 0.23188932240009308, 0.17549897730350494, -0.6282567977905273, 1.2159900665283203, -0.011832226067781448, -0.7418237328529358, 0.4265337884426117, -0.5671970248222351, 0.08107886463403702, 0.5834676027297974, 0.5574012994766235, -0.19470316171646118, -0.718160092830658, -0.7795096039772034, -0.5361592173576355, 0.07438680529594421, -0.2852438986301422, 0.38458266854286194, -0.1687503159046173, 0.5363110899925232, 0.22925013303756714, -0.1612844169139862, -0.5959595441818237, -0.24306052923202515, -0.01298572774976492, -0.1614912748336792, 0.02005377784371376, -0.44438669085502625, -0.49152418971061707, 0.23821166157722473, 0.5388880372047424, -0.2741686999797821, -0.018951255828142166, 0.357683926820755, 0.3579683303833008, 0.08388892561197281, 0.8125184178352356, 0.5800614356994629, 1.0806119441986084, -0.11094965785741806, 0.4399341344833374, 0.06644278764724731, -0.24766884744167328, 0.6279817223548889, -0.25397989153862, -0.2930018901824951, 0.23487542569637299, 0.3001125454902649, 0.32492128014564514, -0.009630734100937843, -0.4622032046318054, 0.5980383157730103, 0.1495722085237503, -0.051948294043540955, -0.4029981791973114, -0.0950923040509224, 0.20454198122024536, 0.25151121616363525, 0.11889488995075226, 0.02398802526295185, -0.19237589836120605, -1.0470236539840698, 0.21493293344974518, 0.883396565914154, -0.5368512868881226, -0.45261088013648987, 0.47145384550094604, 0.25164347887039185, -0.41378533840179443, 0.37151679396629333, -0.2948865592479706, -0.5457640290260315, 0.3762021064758301, 0.5417395830154419, 0.660313069820404, -0.1465398073196411, 0.29372599720954895, -0.03555547818541527, 0.5957736968994141, -0.1762377768754959, 0.7939302921295166, 0.43464016914367676, -0.6433864831924438, -0.394069641828537, -0.22568155825138092, -0.8121967911720276, 0.04462635889649391, -0.6527774930000305, 0.1513381153345108, -0.6128944158554077, -0.6572934985160828, -0.5615947246551514, 0.2749260663986206, -0.27507448196411133, 0.034052297472953796, -0.0059367879293859005, 1.089799165725708, -1.2810986042022705, 0.5543944835662842, 0.7364915013313293, 0.11752720922231674, -0.7246638536453247, 0.26234206557273865, 0.4607032835483551, -0.4637536406517029, 0.2762407958507538, -0.07222680747509003, -0.17928673326969147, -0.722490131855011, -0.8904378414154053, -0.8797650933265686, 0.8208452463150024, 0.6200346946716309, -0.8365594148635864, 0.029970936477184296, 0.07066527754068375, 0.05912451073527336, -0.271867960691452, 0.063742995262146, 0.5561069250106812, 0.6762137413024902, -0.14471758902072906, -0.8585637211799622, 0.15859805047512054, -0.06948257237672806, -0.15928806364536285, 0.05754146724939346, -0.9404647946357727, 0.7267112731933594, -0.2535172998905182, -0.07187283784151077, 0.14256678521633148, 0.7350360155105591, 0.7979716658592224, 0.28813424706459045, 0.7969428896903992, 0.3265306353569031, 0.9742753505706787, -0.25223711133003235, 1.043883204460144, -0.7024221420288086, 0.23872613906860352, 0.8615489602088928, -0.5754151344299316, 1.0189499855041504, 0.7360683679580688, -0.09644532203674316, 0.888322651386261, 0.6738907694816589, 0.007471179123967886, 0.09440713375806808, -0.027887530624866486, 0.016230205073952675, -0.4568083584308624, -0.30149045586586, -0.08519791066646576, 0.25849613547325134, 0.25431057810783386, -0.10683277994394302, -0.050665244460105896, -0.16823558509349823, 0.3576105833053589, 0.08462172001600266, -0.17046742141246796, 0.4102972447872162, 0.33969926834106445, -0.8025937676429749, 0.38934656977653503, -0.2833198606967926, 0.7605672478675842, -0.530668318271637, -0.06749995052814484, -0.24651825428009033, 0.04789824038743973, -0.42524439096450806, -1.155498743057251, 0.28167155385017395, 0.1029425859451294, -0.2669563293457031, -0.0072241416200995445, 0.5745390057563782, -0.0801909789443016, -0.4412727653980255, 0.2736358344554901, 0.6636452078819275, 0.14672444760799408, 0.32393625378608704, -0.8992462754249573, 0.5239375829696655, -0.041845306754112244, -0.5716009736061096, 0.14846143126487732, 0.5052825808525085, -0.0228553656488657, 0.8790689706802368, 0.34911811351776123, 0.40237534046173096, -0.1039947122335434, -0.1908414512872696, 0.6057702302932739, -0.4486830532550812, -0.22017014026641846, -0.9839376211166382, 0.5735898613929749, -0.07590749859809875, -0.34916070103645325, 0.9158140420913696, 0.30992889404296875, 0.43056273460388184, 0.4078063368797302, 0.6992387175559998, -0.09639468789100647, 0.24320779740810394, -0.6150377988815308, 0.5922725796699524, -0.49270761013031006, 0.3501369059085846, -0.08685050904750824, -1.0343657732009888, -0.2467712014913559, 0.5351994633674622, -0.40999889373779297, -0.01404558215290308, 0.3452143371105194, 0.8854734897613525, -0.07532022148370743, -0.25539830327033997, 0.23616749048233032, 0.3033590018749237, 0.2467503696680069, 0.30497869849205017, 1.2003952264785767, 0.14570985734462738, 0.43562307953834534, 0.0715593695640564, -0.035259705036878586, 0.01344104204326868, -1.1551662683486938, -0.8837344646453857, -0.30300188064575195, -0.3703891336917877, -0.8913203477859497, 0.1000150665640831, 1.103007435798645, 0.5890713334083557, -0.663212239742279, -0.18469440937042236, 0.025238756090402603, 0.3486380875110626, 0.26991990208625793, -0.2608112692832947, 0.4669104516506195, -0.024163242429494858, -0.5700988173484802, 0.23200082778930664, 0.4598001539707184, -0.021196989342570305, -0.7133207321166992, -0.08632069081068039, -0.042412012815475464, 0.676642894744873, 0.4783785343170166, 0.2623191177845001, -1.2272299528121948, -0.7042247653007507, 0.16680563986301422, -0.18921197950839996, 0.09684370458126068, 0.4448917508125305, -0.32277315855026245, 0.17984774708747864, 0.47192028164863586, 0.25738653540611267, -0.7415780425071716, 0.053167685866355896, 0.4770753085613251, -0.2524522840976715, 0.10309712588787079, 0.26053398847579956, 0.5913581252098083, 0.612427294254303, -0.01694733090698719, 0.26199662685394287, 0.15809276700019836, -0.8547640442848206, -1.089888572692871, 0.5380281805992126, -0.9398202896118164, 0.04495137184858322, 1.5931316614151, -0.3494483530521393, -0.1300814300775528, -0.32506686449050903, -0.006020439323037863, -0.21927645802497864, -0.2998766005039215, 0.3716500401496887, 0.8301948308944702, -0.16681329905986786, -0.013470137491822243, -0.603419840335846, 0.23796074092388153, 0.4016089141368866, -0.4652445912361145, 0.19509364664554596, 0.42561450600624084, 0.5948918461799622, 0.2505676746368408, 0.5211908221244812, -0.11286163330078125, -0.06847920268774033, -0.058610815554857254, -0.44824185967445374, 0.5523258447647095, -0.5072280764579773, -0.5282415747642517, 0.2014533281326294, 0.3835379183292389, 0.3368690609931946 ]
http://arxiv.org/abs/2402.17645v1
http://arxiv.org/pdf/2402.17645v1
SongComposer: A Large Language Model for Lyric and Melody Composition in Song Generation
2024-02-27T16:15:28
2024-02-27T16:15:28
Shuangrui Ding, Zihan Liu, Xiaoyi Dong, Pan Zhang, Rui Qian, Conghui He, Dahua Lin, Jiaqi Wang
cs.SD
cs.SD, cs.AI, cs.CL, eess.AS
We present SongComposer, an innovative LLM designed for song composition. It could understand and generate melodies and lyrics in symbolic song representations, by leveraging the capability of LLM. Existing music-related LLM treated the music as quantized audio signals, while such implicit encoding leads to inefficient encoding and poor flexibility. In contrast, we resort to symbolic song representation, the mature and efficient way humans designed for music, and enable LLM to explicitly compose songs like humans. In practice, we design a novel tuple design to format lyric and three note attributes (pitch, duration, and rest duration) in the melody, which guarantees the correct LLM understanding of musical symbols and realizes precise alignment between lyrics and melody. To impart basic music understanding to LLM, we carefully collected SongCompose-PT, a large-scale song pretraining dataset that includes lyrics, melodies, and paired lyrics-melodies in either Chinese or English. After adequate pre-training, 10K carefully crafted QA pairs are used to empower the LLM with the instruction-following capability and solve diverse tasks. With extensive experiments, SongComposer demonstrates superior performance in lyric-to-melody generation, melody-to-lyric generation, song continuation, and text-to-song creation, outperforming advanced LLMs like GPT-4.
[ -0.15064941346645355, -0.36087676882743835, 0.35096675157546997, 0.977249801158905, -0.1996563971042633, 0.26272052526474, -0.21951361000537872, -0.4411904811859131, 0.2623549997806549, 0.5951299667358398, -0.6137480735778809, -0.49184152483940125, -0.24085895717144012, -0.000014439977348956745, -0.25603583455085754, 0.8862395286560059, 0.008176805451512337, 0.05861157178878784, -0.30855482816696167, 0.13679897785186768, -0.7655094265937805, -0.388598769903183, -0.7619937658309937, -0.3991605043411255, 0.6695292592048645, 0.38031211495399475, 0.1495572030544281, 0.3540402054786682, 0.4455210864543915, 0.40163418650627136, -0.014276495203375816, -0.02045566774904728, -0.6144832372665405, 0.24125799536705017, 0.20677721500396729, -0.6540730595588684, -0.6501473188400269, 0.4127722382545471, 0.6232508420944214, 0.5982176661491394, -0.06331459432840347, 0.36977264285087585, 0.05481475964188576, 0.768513560295105, -0.15480472147464752, 0.19439376890659332, -0.7110432982444763, 0.2659079134464264, -0.27825647592544556, -0.2795259952545166, -0.31938979029655457, -0.615792453289032, 0.14991043508052826, -1.0297659635543823, 0.12333925813436508, 0.07007349282503128, 0.502314567565918, 0.22666360437870026, -0.17911966145038605, -0.4370273947715759, -0.820359468460083, 0.7010977864265442, -0.24768836796283722, 0.17032599449157715, -0.019310032948851585, 0.5131595730781555, -0.24903486669063568, -0.9216873645782471, -0.3080144226551056, -0.2105303257703781, 0.19083049893379211, 0.4229458272457123, 0.12824930250644684, 0.029110513627529144, 0.30976831912994385, 0.6424816846847534, -0.6713722348213196, -0.33074572682380676, -0.28157326579093933, -0.26199448108673096, 0.6849819421768188, 0.14265161752700806, 0.5138376951217651, -0.16948486864566803, -0.5723557472229004, -0.002534009050577879, -1.027445912361145, 0.11889669299125671, 0.4617701470851898, 0.15891461074352264, -0.1902473270893097, 0.5661548972129822, 0.38089045882225037, 0.7301530838012695, 0.33139216899871826, -0.2731552720069885, 0.11482863128185272, -0.15470649302005768, -0.181404247879982, 0.35506322979927063, 1.0166658163070679, 0.10246413201093674, 0.11447881907224655, -0.33431556820869446, -0.4272143840789795, 0.04380935803055763, 0.11867118626832962, -0.6584132313728333, -0.46087872982025146, 0.09019608795642853, -0.39404362440109253, -0.09650936722755432, 0.19573672115802765, -0.37190964818000793, -0.3748965561389923, -0.6277053952217102, 0.9342475533485413, -0.6384480595588684, -0.09270649403333664, 0.16605563461780548, -0.30576321482658386, 0.004399367142468691, -0.07812993228435516, -0.9308954477310181, 0.11399094015359879, 0.7639586925506592, 0.9078159332275391, -0.08610344678163528, -0.3869571089744568, -0.5019166469573975, 0.5897255539894104, -0.3090628683567047, 0.6722419857978821, -0.16445417702198029, -0.4327184557914734, -0.2593013048171997, -0.11064908653497696, -0.2418474406003952, -0.7320360541343689, 0.35190775990486145, -0.37108638882637024, 0.4288462996482849, -0.31116214394569397, -0.7030678391456604, -0.2219826728105545, -0.1542723923921585, -1.050789475440979, 0.6058303117752075, 0.36895185708999634, -0.5995309352874756, 0.2599313259124756, -0.6520484089851379, -0.6408398747444153, 0.1538805365562439, -0.135442852973938, -0.48336663842201233, 0.48854967951774597, -0.09973420947790146, 0.3227008581161499, -0.27205196022987366, 0.15665166079998016, 0.10546676814556122, -0.773127019405365, 0.4898203909397125, -0.08866589516401291, 0.6747305393218994, 0.4346862733364105, -0.02733033522963524, 0.1694231778383255, -0.824441134929657, -0.051998578011989594, 0.35976457595825195, -0.5601515173912048, -0.23209385573863983, -0.011773926205933094, 0.5089524388313293, 0.20140327513217926, 0.5511802434921265, -0.4724310636520386, -0.017244840040802956, -0.37425363063812256, 0.7521688342094421, 0.529880166053772, -0.13107708096504211, 0.5232386589050293, -0.6990432143211365, 0.7983211278915405, -0.3115280568599701, -0.051927175372838974, -0.20077987015247345, -0.125993013381958, -0.42111527919769287, -0.08335542678833008, 0.364469438791275, 0.22027122974395752, -0.3532995879650116, 0.5479745864868164, -0.3041470944881439, -0.33855709433555603, -0.4685700237751007, 0.3593595325946808, 0.31243327260017395, 0.22600987553596497, 0.10379543155431747, -0.16201715171337128, -0.9084768295288086, -0.5351625084877014, -0.20146754384040833, -0.16333718597888947, -0.2595732808113098, -0.05898614972829819, -0.01063078735023737, 0.24687351286411285, 0.8139638304710388, -0.2897050082683563, -0.710068941116333, -0.8056854605674744, 0.04353659600019455, 0.2802186906337738, 0.6661426424980164, 0.603976845741272, -0.6978756785392761, -0.49019619822502136, -0.2605355381965637, -0.4959326982498169, -0.5115978717803955, -0.36876532435417175, -0.2708037793636322, -0.13074661791324615, 0.37973177433013916, -0.6027830243110657, -0.6802082657814026, 0.7885786294937134, -0.3397219479084015, 0.3888562023639679, 0.0838063657283783, -0.03496725857257843, -1.2269223928451538, 0.17532557249069214, -0.1740916669368744, -0.013039766810834408, -0.5754339098930359, -0.1323431134223938, -0.009960973635315895, -0.1784459948539734, -0.37255850434303284, 0.04670257493853569, -0.4552164375782013, -0.17875413596630096, -0.37774258852005005, 0.2744430601596832, 0.23347242176532745, 0.19584961235523224, 0.19294501841068268, 0.7572157979011536, 0.25563639402389526, -0.21123236417770386, 0.44823962450027466, 0.2364986389875412, -0.5570283532142639, 0.7850452661514282, -0.884743869304657, 0.1673775464296341, -0.024088086560368538, 0.20044198632240295, -0.9110451936721802, -0.2642308175563812, -0.004255962558090687, -0.39888057112693787, 0.39273661375045776, -0.11444304883480072, -0.5294976830482483, -0.47319138050079346, 0.033994391560554504, 0.37801235914230347, 0.39743977785110474, -0.397388756275177, 0.6834641695022583, 0.36341047286987305, -0.13852061331272125, 0.12387944012880325, -0.5887151956558228, 0.08424679934978485, -0.6151100993156433, -0.7941067814826965, 0.563025712966919, -0.0672655999660492, -0.014630786143243313, -0.1689586043357849, -0.3295649290084839, 0.35894137620925903, 0.1255386471748352, 0.45777231454849243, 0.18054817616939545, -0.25280964374542236, 0.3584676682949066, -0.15596328675746918, -0.343865305185318, 0.3672511875629425, -0.44697391986846924, 0.9374701976776123, 0.173191100358963, -0.18963474035263062, -0.23296289145946503, 0.537756085395813, 0.376258909702301, -0.40445470809936523, 0.10691215842962265, 0.41351762413978577, -0.0018101099412888288, -0.27371206879615784, -0.3896532952785492, 0.27265480160713196, -0.5191994905471802, 0.35660356283187866, -0.5241422653198242, -0.8464740514755249, 0.46228858828544617, -0.20122525095939636, 0.2440163493156433, 0.3532504439353943, 0.37684914469718933, -0.4755958020687103, 0.920566976070404, 0.6928316950798035, -0.1649918407201767, 0.6963903903961182, -0.5479964017868042, -0.33901000022888184, -0.9166956543922424, -0.3772013485431671, -0.33128711581230164, -0.8263499736785889, -0.47348782420158386, -0.25389862060546875, 0.42557209730148315, 0.005725097842514515, -0.6395609974861145, 0.24231964349746704, -0.6245592832565308, 0.4900636076927185, 0.6284237504005432, -0.030019233003258705, 0.10948450863361359, -0.2152119129896164, 0.015369516797363758, -0.06867874413728714, -0.4508552551269531, -0.32973888516426086, 1.0739505290985107, 0.2145659625530243, 0.8989349007606506, 0.022973155602812767, 0.9857014417648315, -0.17440080642700195, -0.06702803075313568, -0.9573821425437927, 0.4454789161682129, -0.4041175842285156, -0.42711132764816284, -0.05730966851115227, -0.3392435312271118, -0.7094449996948242, 0.11015289276838303, -0.040024831891059875, -0.43268871307373047, -0.34276503324508667, 0.09588015824556351, -0.39615315198898315, 0.05424400791525841, -0.708171010017395, 0.9303869605064392, -0.6040699481964111, 0.03984478861093521, 0.07106408476829529, -0.37233835458755493, 0.4211806356906891, -0.18524976074695587, -0.04634253680706024, -0.22652478516101837, -0.10702777653932571, 0.8211526274681091, -0.24771516025066376, 0.7165205478668213, -0.2626849114894867, -0.4053918421268463, 0.2069835662841797, 0.14531034231185913, 0.31694573163986206, -0.09925582259893417, 0.07218988239765167, -0.2847798764705658, -0.2390047311782837, -0.1820923238992691, -0.5838297605514526, 0.8073962926864624, -0.8600239753723145, -0.6663680076599121, -0.11654219776391983, -0.8965957760810852, -0.2731531262397766, 0.02725195325911045, 0.5112109184265137, 0.22041472792625427, -0.192328080534935, 0.3316713869571686, 0.4760901927947998, -0.0852837860584259, 0.3967485725879669, 0.24150604009628296, -0.29878318309783936, -0.7656823992729187, 0.9875482320785522, -0.024813314899802208, 0.35216233134269714, 0.6205354928970337, 0.33935222029685974, -0.46685606241226196, -0.5284754633903503, -0.36260175704956055, 0.24670499563217163, -0.374260276556015, 0.017146261408925056, -0.37576165795326233, -0.2864256501197815, 0.11404062062501907, -0.07460653781890869, -0.32328733801841736, -0.46031907200813293, -0.15298038721084595, 0.16724878549575806, 0.5246163606643677, 0.5895730257034302, -0.08475803583860397, 0.6165602207183838, -0.8116930723190308, 0.5689122080802917, 0.4249095320701599, 0.33400094509124756, -0.19233980774879456, -0.4606795012950897, -0.3654787242412567, -0.18621203303337097, -0.4938308894634247, -0.8084312081336975, 0.1777794063091278, 0.3243260979652405, 0.39489346742630005, 0.5064135193824768, -0.2974642813205719, 0.814629316329956, -0.5640119910240173, 0.7816897034645081, 0.44078725576400757, -1.0143513679504395, 0.6752391457557678, -0.36294302344322205, 0.2517637610435486, 0.387092262506485, 0.05015233904123306, -0.8320448994636536, -0.42134538292884827, -0.060418691486120224, -0.7710002660751343, 0.5562768578529358, 0.3000549376010895, 0.1553112119436264, 0.2789616584777832, 0.286329984664917, 0.16756831109523773, 0.1823805868625641, -0.761696994304657, -0.2817392945289612, -0.7336397767066956, -0.4922836720943451, -0.4389951527118683, -0.02816227823495865, -0.061542805284261703, -0.0639977976679802, 0.4739209711551666, -0.09285716712474823, 0.24794265627861023, -0.016615986824035645, 0.052708856761455536, -0.36368420720100403, 0.14495596289634705, 0.2800382971763611, 0.34880372881889343, 0.014297221787273884, 0.12621383368968964, -0.29567578434944153, -0.6795541048049927, 0.3968897759914398, 0.22567380964756012, -0.43639490008354187, -0.24557343125343323, 0.37404635548591614, 0.7392234802246094, 0.40317678451538086, -0.5348713397979736, 0.24318240582942963, 0.019007377326488495, -0.20352023839950562, -0.6277661919593811, 0.29742535948753357, 0.7320146560668945, 0.17710690200328827, 0.2947199046611786, -0.27436816692352295, 0.0662541389465332, -0.3550509512424469, 0.10642551630735397, 0.4221495985984802, -0.5533725023269653, -0.4471878409385681, 1.154545545578003, -0.030566170811653137, -0.17121586203575134, 0.24578382074832916, 0.1435132771730423, -0.3324110805988312, 0.6407294273376465, 0.9910082221031189, 1.069376826286316, -0.23375758528709412, 0.2672154903411865, 0.1471206694841385, -0.1118214949965477, 0.17296241223812103, 0.7742197513580322, -0.09313453733921051, -0.395903080701828, -0.6748560667037964, -0.7618547677993774, 0.01635642722249031, 0.39725908637046814, -0.4202312231063843, 0.02709123119711876, -0.42304015159606934, 0.017150213941931725, 0.13948097825050354, 0.300979346036911, -0.3748665452003479, 0.05365989729762077, 0.0367201492190361, 0.8697543740272522, -0.7869952917098999, 0.6838272213935852, 0.9423174858093262, -0.6026899814605713, -1.185076117515564, -0.024537982419133186, 0.14005343616008759, -0.5668976306915283, 0.6760843396186829, 0.32583341002464294, 0.03353908658027649, 0.24799364805221558, -0.5678956508636475, -0.6755638122558594, 1.2542628049850464, 0.40881913900375366, -0.7989730834960938, 0.030543779954314232, 0.5948428511619568, 0.5554432272911072, -0.41000187397003174, -0.2841569185256958, 0.5642220377922058, 0.4552574157714844, 0.6473497748374939, -0.5148939490318298, -0.09673766046762466, -0.40602681040763855, 0.18737860023975372, 0.2641312777996063, -0.8467735648155212, 0.9541441202163696, 0.08412235975265503, -0.2196628749370575, 0.6925036907196045, 0.6723455190658569, 0.6845297813415527, 0.16463115811347961, 0.49359455704689026, 0.5374655723571777, 0.47085046768188477, -0.39507925510406494, 0.7096773386001587, -0.2901618182659149, -0.18785294890403748, 1.1932142972946167, -0.2400486171245575, 0.4420821964740753, 0.5104700922966003, -0.16946153342723846, 0.18401922285556793, 0.6368679404258728, -0.0661398321390152, 0.5094076991081238, 0.6524789929389954, -0.47489133477211, -0.54060298204422, -0.11004895716905594, -0.22372110188007355, 0.7496334910392761, 0.19037668406963348, -0.43513256311416626, 0.09642229229211807, -0.08988617360591888, -0.2814589738845825, 0.2923506200313568, -0.34873735904693604, 0.996868908405304, 0.31896594166755676, -0.5563650131225586, 0.19732092320919037, -0.37896543741226196, 0.4712769389152527, -0.6222426295280457, 0.03215070441365242, -0.23542413115501404, 0.09158234298229218, -0.11167953908443451, -0.8372560143470764, -0.09109765291213989, -0.27274659276008606, -0.053096670657396317, -0.12696833908557892, 0.4645381569862366, -0.5858359932899475, -0.5138770341873169, 0.16541369259357452, 0.44316163659095764, -0.1460341066122055, -0.2585403621196747, -0.5135961771011353, 0.07606078684329987, -0.19123882055282593, 0.042864229530096054, 0.16097238659858704, 0.8258168697357178, 0.11422747373580933, 0.555456280708313, 0.6195030808448792, 0.6334396600723267, 0.15031909942626953, 0.5797496438026428, 0.6638832688331604, -0.8956118822097778, -0.6388384103775024, -0.4941612780094147, 0.33572882413864136, 0.07818230986595154, 0.04600079730153084, 0.5417422652244568, 0.9276453852653503, 0.8046664595603943, -0.3584744334220886, 1.0494195222854614, -0.038731932640075684, 0.44298288226127625, -0.6664068102836609, 0.7921650409698486, -0.5947885513305664, 0.3279607594013214, -0.5000212788581848, -1.191316843032837, -0.2438649833202362, 0.45208287239074707, 0.11823812127113342, -0.0011274373391643167, 0.19747117161750793, 0.4115326702594757, -0.1353529989719391, 0.24408094584941864, 0.2003604620695114, -0.01801619678735733, 0.3842126727104187, 1.1920087337493896, 1.3748948574066162, -0.3333752155303955, 0.6573370099067688, -0.44710835814476013, 0.11474486440420151, 0.16096821427345276, -0.6857234835624695, -0.8439525961875916, -0.6175724864006042, -0.13284075260162354, 0.20423540472984314, -0.268513560295105, 1.0313608646392822, 0.48944297432899475, -0.7295337915420532, -0.4970422089099884, -0.1902303844690323, 0.07907912135124207, -0.44924941658973694, -0.20810724794864655, 0.44562292098999023, -0.38956964015960693, -0.9219673871994019, 0.35778987407684326, 0.16064095497131348, 0.32103103399276733, -0.4216589033603668, -0.35598352551460266, 0.48809823393821716, -0.1323956847190857, 0.6703389883041382, 0.034890349954366684, -0.6844994425773621, -0.22016538679599762, 0.183242067694664, -0.05078013241291046, 0.12920932471752167, 1.1898750066757202, -0.40729185938835144, 0.375671923160553, 0.650660514831543, 0.11739481985569, 0.18205899000167847, 0.009969711303710938, 0.8015542030334473, -0.567132830619812, -0.12305019050836563, 0.09802864491939545, 0.49952447414398193, 0.29982131719589233, -0.04826119914650917, 0.3093927800655365, 0.09959293156862259, -0.4392964243888855, -0.15539616346359253, 0.2544414699077606, -1.3519163131713867, 0.03900373354554176, 1.007271409034729, -0.20082934200763702, -0.02270149067044258, -0.047604769468307495, -0.5769848823547363, 0.4355699419975281, -0.2849806249141693, 0.823853611946106, 0.2927207350730896, -0.00025910077965818346, -0.2255200445652008, -0.3719324767589569, 0.5657255053520203, -0.11569378525018692, -0.5273153781890869, 0.023317459970712662, 0.7566205263137817, 0.3380874693393707, 0.13046567142009735, 0.45320454239845276, -0.42768365144729614, 0.5906009078025818, -0.14609992504119873, 0.26542696356773376, -0.33789777755737305, -0.19158093631267548, -0.0824744775891304, 0.4965302348136902, 0.18636709451675415, -0.43849337100982666 ]
http://arxiv.org/abs/2402.17644v2
http://arxiv.org/pdf/2402.17644v2
Are LLMs Capable of Data-based Statistical and Causal Reasoning? Benchmarking Advanced Quantitative Reasoning with Data
2024-02-27T16:15:03
2024-06-09T13:54:09
Xiao Liu, Zirui Wu, Xueqing Wu, Pan Lu, Kai-Wei Chang, Yansong Feng
cs.CL
cs.CL, cs.AI
Quantitative reasoning is a critical skill to analyze data, yet the assessment of such ability remains limited. To address this gap, we introduce the Quantitative Reasoning with Data (QRData) benchmark, aiming to evaluate Large Language Models' capability in statistical and causal reasoning with real-world data. The benchmark comprises a carefully constructed dataset of 411 questions accompanied by data sheets from textbooks, online learning materials, and academic papers. To compare models' quantitative reasoning abilities on data and text, we enrich the benchmark with an auxiliary set of 290 text-only questions, namely QRText. We evaluate natural language reasoning, program-based reasoning, and agent reasoning methods including Chain-of-Thought, Program-of-Thoughts, ReAct, and code interpreter assistants on diverse models. The strongest model GPT-4 achieves an accuracy of 58%, which has much room for improvement. Among open-source models, Deepseek-coder-instruct, a code LLM pretrained on 2T tokens, gets the highest accuracy of 37%. Analysis reveals that models encounter difficulties in data analysis and causal reasoning, and struggle in using causal knowledge and provided data simultaneously. Code and data are in https://github.com/xxxiaol/QRData.
[ -0.01929876022040844, -0.7457659840583801, 0.9093054533004761, 0.2471173107624054, -0.041741665452718735, 0.2215137928724289, -0.017918286845088005, -0.3412174582481384, -0.49940863251686096, 0.386520117521286, -0.5036656260490417, -0.6843632459640503, -0.16968394815921783, 0.16270112991333008, -0.40629443526268005, 0.6525418758392334, -0.07376105338335037, 0.48176655173301697, -0.5009868741035461, -0.18925297260284424, -0.6158556938171387, -0.5709836483001709, -0.5681275725364685, -0.16565445065498352, 0.5643822550773621, 0.4255109429359436, 0.8138757348060608, 0.5619770288467407, 0.7625252604484558, 0.22660312056541443, 0.21521399915218353, 0.3371598720550537, -0.5887743830680847, 0.31925392150878906, -0.4591314196586609, -0.7034918665885925, -0.5517740845680237, 0.10492576658725739, 0.7422264814376831, 0.5363969206809998, -0.030634980648756027, 0.3534109592437744, -0.265960693359375, 0.7023797035217285, -0.5465234518051147, 0.2467910349369049, -0.6723162531852722, -0.21509473025798798, 0.11045544594526291, -0.1322399526834488, -0.42061111330986023, -1.04745352268219, -0.1204567477107048, -0.6387825608253479, -0.022403588518500328, 0.23122721910476685, 0.7433240413665771, 0.6743097901344299, -0.7355831861495972, -0.07562731206417084, -0.7181402444839478, 0.7907885909080505, -0.6347227692604065, 0.6654230356216431, 0.5518344640731812, 0.6787726283073425, -0.25135570764541626, -0.7860178351402283, -0.4834859371185303, -0.5182365775108337, 0.19348154962062836, 0.0940217673778534, -0.46850261092185974, -0.2121025025844574, 0.5948381423950195, 0.003865695558488369, -0.9215189814567566, 0.09392373263835907, -0.338949978351593, -0.03576967492699623, 0.6789762377738953, 0.5379630327224731, 0.07954631000757217, 0.1504565179347992, -0.4465329945087433, -0.1798686981201172, -0.9076403975486755, -0.1871873289346695, 0.29411330819129944, 0.02307194098830223, -0.09806019067764282, 0.6424354910850525, -0.4622950553894043, 0.46033936738967896, -0.47402751445770264, 0.23721560835838318, -0.037441108375787735, -0.3766820728778839, -0.2791467607021332, -0.3788085877895355, 0.6890000700950623, 0.2766948938369751, 0.6567206382751465, -0.25399670004844666, -0.06236937642097473, 0.23609110713005066, 0.15084291994571686, -0.7248206734657288, -0.3833980858325958, 0.34672313928604126, -0.09188627451658249, -0.003137113293632865, -0.19647297263145447, -0.6465234160423279, -0.38712483644485474, -0.4714115262031555, 0.4267187714576721, -0.26380547881126404, -0.057267192751169205, 0.3167819380760193, -0.06706328690052032, 0.2804342806339264, 0.39836397767066956, -0.37723779678344727, 0.460824579000473, 0.7540351152420044, 0.5848593711853027, -0.09634384512901306, -0.223910391330719, -0.46951958537101746, 0.10827196389436722, -0.5641955733299255, 1.2460891008377075, -0.3090102970600128, -0.058194514364004135, -0.2400999218225479, -0.2886257767677307, -0.04839879274368286, -0.6847956776618958, 0.6550015211105347, -0.6807305216789246, -0.007384488824754953, -0.4620552062988281, -0.8227972984313965, -0.20386596024036407, 0.2063128501176834, -0.6999912858009338, 1.1634498834609985, 0.10415121912956238, -0.6738361120223999, 0.561745822429657, -0.01523936539888382, -0.003614414017647505, 0.004107320681214333, -0.40527233481407166, -0.45977842807769775, -0.302480012178421, 0.06864498555660248, 0.41108953952789307, -1.0377469062805176, 0.773708164691925, -0.7571314573287964, -0.39277565479278564, 0.7135325074195862, -0.5054957270622253, 0.6947697997093201, 0.17654815316200256, -0.25548675656318665, 0.1931937038898468, -1.0701289176940918, 0.3481164276599884, 0.09940913319587708, -0.21159221231937408, -0.10455168038606644, 0.09822805225849152, -0.17896921932697296, 0.16035884618759155, -0.035570498555898666, -0.15279722213745117, 0.37037843465805054, 0.22894585132598877, 0.27169445157051086, 0.6734657883644104, -0.05625879019498825, 0.12389251589775085, -0.3172851502895355, 0.6186910271644592, -0.2116628885269165, 0.11098794639110565, 0.38267219066619873, -0.4872027039527893, -0.4671820104122162, -0.33657169342041016, 0.307503879070282, 0.835999071598053, -0.8280931115150452, 0.0919659361243248, -0.22370049357414246, -0.639122724533081, -0.3699484169483185, -0.05775405839085579, 0.5201719999313354, 0.6269164085388184, 0.426165372133255, 0.14220871031284332, -0.5082609057426453, -0.8672329783439636, -0.4511213004589081, -0.458930104970932, -0.03699704259634018, 0.05662981793284416, 0.6673478484153748, -0.1343783736228943, 0.9557029604911804, -0.6729339957237244, 0.23886077105998993, -0.09506000578403473, 0.1181555837392807, 0.17066124081611633, 0.30396631360054016, 0.26934656500816345, -0.687007486820221, -0.17404209077358246, -0.1361996829509735, -1.2525036334991455, -0.5282754898071289, 0.10939938575029373, -0.27359938621520996, -0.21722787618637085, 0.59850013256073, -0.5932453274726868, 0.38512352108955383, 0.2160630226135254, -0.5185396075248718, 0.961754322052002, -0.25846579670906067, 0.26703327894210815, -0.589605450630188, 0.11863622069358826, 0.11134592443704605, -0.09335359930992126, -0.7219148278236389, -0.08547452837228775, 0.33975955843925476, -0.009937984868884087, -0.3265119194984436, 0.8414309024810791, -0.3197856843471527, -0.3717953562736511, -0.11292339861392975, -0.12373507767915726, 0.10071918368339539, 0.3513944149017334, -0.028628285974264145, 0.9821397662162781, 0.4587601125240326, -0.5945525765419006, 0.509989321231842, 0.19946877658367157, -0.5836878418922424, 0.52286297082901, -0.8250114321708679, 0.08376128226518631, 0.12664073705673218, 0.17831909656524658, -1.0081822872161865, -0.07761970907449722, 0.13865093886852264, -0.45557713508605957, -0.12672457098960876, -0.05773351714015007, -0.783737301826477, -0.22905372083187103, -0.06839197129011154, 0.5743690729141235, 0.3939388394355774, -0.34808069467544556, 0.24585436284542084, 0.1378544569015503, -0.07037579268217087, -0.42751917243003845, -0.6179890632629395, 0.018710684031248093, -0.45122435688972473, -0.5215843915939331, -0.07238803803920746, -0.19760479032993317, -0.7391278743743896, 0.09087323397397995, 0.035984233021736145, -0.5239983201026917, 0.048203788697719574, -0.03549836203455925, 0.30506977438926697, -0.2565833330154419, 0.4436595141887665, 0.005951675586402416, -0.3342163562774658, 0.18019241094589233, -0.1230262890458107, 0.17065617442131042, -0.1571238934993744, -0.42183688282966614, -0.3941420614719391, 0.11778534203767776, 0.4303116798400879, -0.20987604558467865, 0.5953580141067505, 0.49580079317092896, -0.2652427852153778, -0.10474355518817902, -0.6834889054298401, -0.06892041116952896, -0.3795147240161896, 0.21570390462875366, -0.46217861771583557, -0.9291532039642334, 0.6975008845329285, -0.002703616861253977, -0.28797581791877747, 0.25863733887672424, 0.6520245671272278, 0.02201094850897789, 1.0795884132385254, 0.16088645160198212, -0.03971751034259796, 0.11382822692394257, -0.1605035364627838, -0.003863327903673053, -0.5285051465034485, -0.15250356495380402, -0.6653236746788025, 0.17334553599357605, -0.5750138163566589, -0.6593660116195679, 0.3656308948993683, 0.1439025104045868, -0.8588860034942627, 0.08140639960765839, -0.16950896382331848, 0.26450449228286743, 0.654831051826477, 0.2566036880016327, 0.47464367747306824, -0.3715435266494751, 0.11955957859754562, 0.044357359409332275, -0.6644838452339172, -0.7199690937995911, 1.1683754920959473, 0.37371277809143066, 0.9660187363624573, 0.08630891144275665, 0.3622789978981018, 0.38884201645851135, 0.2358202040195465, -0.46329793334007263, 0.7888929843902588, 0.18094073235988617, -0.5666226148605347, -0.23291198909282684, -0.8766706585884094, -0.7326802611351013, 0.35991209745407104, -0.09261193871498108, -0.513748824596405, 0.35620585083961487, 0.040256667882204056, -0.29297780990600586, 0.1375609040260315, -0.7492141127586365, 0.8650009632110596, -0.3752424716949463, -0.8516805171966553, -0.19673308730125427, -0.39599087834358215, 0.5477615594863892, -0.1150587648153305, 0.314986914396286, -0.5759869813919067, -0.11129940301179886, 0.6668187975883484, -0.461147665977478, 0.7774636149406433, -0.11493772268295288, -0.15119226276874542, 0.4768733084201813, 0.1639787256717682, 0.5056740641593933, 0.11387154459953308, -0.3181039094924927, 0.1366419494152069, 0.2171907126903534, -0.6287098526954651, -0.7572762370109558, 0.27165406942367554, -0.5623466968536377, -0.5198253393173218, -0.444772869348526, -0.4985869526863098, -0.4961772859096527, 0.007854120805859566, -0.23100626468658447, 0.4275282025337219, -0.18504254519939423, 0.014682112261652946, 0.5775301456451416, -0.20826955139636993, -0.18897180259227753, 0.783393919467926, -0.031061045825481415, -0.5270938873291016, 0.7435120940208435, -0.002403455786406994, 0.3007149398326874, 0.4851061999797821, 0.3609437644481659, -0.4477654993534088, -0.48536890745162964, -0.42850372195243835, 0.2198890894651413, -0.7849687933921814, -0.4676295816898346, -0.471455842256546, 0.07428676635026932, -0.2517189085483551, 0.25316163897514343, -0.10109592229127884, -0.4827638864517212, -0.0405978225171566, -0.17063693702220917, 0.6191710829734802, 0.7403498291969299, -0.11448245495557785, 0.10785237699747086, -0.6771233677864075, 0.4621199369430542, 0.5676303505897522, 0.20009437203407288, 0.008209588006138802, -0.3371388018131256, -0.3425773084163666, -0.023041721433401108, 0.04349015653133392, -1.015673041343689, 0.34882423281669617, -0.17725509405136108, 0.599632740020752, 0.22587330639362335, -0.08356017619371414, 0.5210832953453064, -0.44224488735198975, 0.41133973002433777, -0.18661129474639893, -0.7732240557670593, 0.38223007321357727, -0.5907796621322632, 0.19205641746520996, 0.5710052251815796, 0.45969510078430176, -0.1023683175444603, -0.4250117540359497, -0.2577756643295288, -0.48715195059776306, 0.3031056523323059, 0.20565785467624664, -0.5862756967544556, -0.04518045857548714, 0.39327263832092285, 0.04347121715545654, 0.20140889286994934, -0.5172234773635864, 0.07377267628908157, 0.15258033573627472, -0.1863517463207245, -0.04246283322572708, -0.25090184807777405, 0.0943930521607399, -0.4671671688556671, 0.4059861898422241, -0.2869165241718292, 0.13521838188171387, 0.0031771676149219275, -0.03652479499578476, 0.09037857502698898, 0.23380866646766663, 0.4976002871990204, 0.9697020053863525, -0.3097531795501709, 0.22684502601623535, 0.22455070912837982, -0.3717021346092224, 0.3980655074119568, 0.20839497447013855, 0.04567242041230202, -0.4337427616119385, 0.5594730973243713, 0.489489883184433, 0.5974522233009338, -1.0282535552978516, 0.23469343781471252, -0.26482847332954407, -0.18000733852386475, -0.04003891721367836, 0.05265039950609207, 0.1420212835073471, 0.6732836365699768, 0.4186469316482544, -0.5725386142730713, 0.23429548740386963, -0.6155163645744324, 0.21683864295482635, 0.29625657200813293, -0.045181673020124435, -0.25797775387763977, 0.9220641851425171, -0.23607340455055237, 0.21409961581230164, 0.628068208694458, -0.17688803374767303, -0.44055670499801636, 0.9394848942756653, 0.32293885946273804, 0.7077893018722534, -0.16232699155807495, 0.20355774462223053, 0.37564295530319214, 0.2870730757713318, -0.2477315217256546, 0.6918805241584778, -0.000008701032129465602, -0.8271148800849915, -0.48396265506744385, -0.2825917899608612, -0.9060137271881104, -0.2342892438173294, -0.7803102731704712, 0.11231029778718948, -0.2703671455383301, -0.2031058818101883, -0.012144391424953938, 0.15994563698768616, -0.8076736927032471, 0.550980806350708, -0.3936847448348999, 0.7961812019348145, -0.9970934987068176, 0.9997841715812683, 0.4664621353149414, -0.5815733075141907, -0.7516216039657593, -0.2829945385456085, -0.04059388116002083, -0.9823724031448364, 0.8706433176994324, -0.2622830867767334, 0.0024499204009771347, 0.023348482325673103, -0.5959020853042603, -0.8698095083236694, 1.103311538696289, 0.4426913261413574, -0.5567492842674255, 0.26042577624320984, 0.16674989461898804, 0.7001190185546875, -0.040001604706048965, 0.5433914065361023, 0.8359127640724182, 0.5668675303459167, -0.08466409891843796, -0.7245877385139465, 0.19841277599334717, -0.10239511728286743, -0.2317909449338913, 0.09098862111568451, -0.6653544306755066, 0.9578271508216858, -0.19635874032974243, -0.11998714506626129, -0.007354205474257469, 0.779059112071991, 0.6094295382499695, 0.7048583626747131, 0.13604751229286194, 0.6450428366661072, 1.0492684841156006, -0.04036782681941986, 1.0263268947601318, -0.08814238756895065, 0.17456704378128052, 1.2105953693389893, -0.766893208026886, 0.9087087512016296, 0.18963272869586945, -0.5576822757720947, 0.4625128209590912, 0.6938186287879944, -0.14840909838676453, 0.4302729666233063, 0.3550708591938019, -0.2705995738506317, -0.34102439880371094, 0.029320739209651947, -0.39940252900123596, 0.24903523921966553, 0.3001221716403961, 0.10342194139957428, -0.09800820052623749, -0.23572902381420135, -0.05662401020526886, 0.14081014692783356, -0.2381495237350464, 0.6324005722999573, 0.25353291630744934, -0.3991294503211975, 0.6214776635169983, -0.21753661334514618, 0.049140576273202896, -0.5405824780464172, -0.11231876164674759, -0.4198375940322876, 0.1520056426525116, -0.08303122222423553, -0.9352833032608032, 0.24183611571788788, 0.23850026726722717, -0.037946928292512894, -0.0090572414919734, 0.7508503794670105, -0.2763831317424774, -0.5091103911399841, 0.21624553203582764, 0.9832767844200134, 0.3601953685283661, -0.13361236453056335, -0.630469024181366, 0.05880172550678253, -0.26680272817611694, -0.10888539254665375, 0.2624412178993225, 0.6696873307228088, -0.3895375430583954, 1.1147794723510742, 0.6417341232299805, 0.18034537136554718, 0.07646859437227249, 0.45951321721076965, 0.9606042504310608, -1.0345337390899658, -0.3225681483745575, -0.8793163895606995, 0.12386023998260498, 0.06130627170205116, -0.26348018646240234, 0.9249058961868286, 0.7053532004356384, 0.5495796203613281, 0.11443173140287399, 0.6672884225845337, 0.4275611340999603, 0.7115698456764221, -0.8150890469551086, 0.49030131101608276, -0.33568546175956726, 0.2181083858013153, -0.15767517685890198, -0.7833667397499084, -0.30808958411216736, 0.42636966705322266, -0.7331083416938782, 0.21060054004192352, 0.7653136849403381, 0.7354071140289307, 0.1355954259634018, 0.001865991740487516, 0.48647746443748474, 0.18547844886779785, 0.33222293853759766, 0.6277446746826172, 1.2287895679473877, -0.27125880122184753, 0.3700466752052307, 0.036886606365442276, -0.24099184572696686, -0.026130134239792824, -0.8631131649017334, -0.8739767074584961, -0.34624749422073364, -0.36731526255607605, -0.14917981624603271, 0.41672444343566895, 0.5554730892181396, 0.435449481010437, -0.5895029306411743, -0.3860583007335663, -0.19768160581588745, 0.3504139482975006, -0.19042736291885376, -0.2742643356323242, 0.5170773267745972, -0.1580180674791336, -0.28923019766807556, 0.4838380217552185, 0.22500185668468475, -0.015012837015092373, -0.29925665259361267, 0.09117518365383148, -0.13193827867507935, 0.1357249766588211, 0.5245358943939209, 0.2817685902118683, -0.3108019232749939, -0.1513035148382187, -0.007796377409249544, -0.23656615614891052, -0.12837433815002441, 0.9823142886161804, -0.8218059539794922, 0.18878453969955444, 0.6566305756568909, 0.528207540512085, 0.43290194869041443, 0.1822395920753479, 0.6814966797828674, -0.14401845633983612, 0.008394877426326275, 0.3300425708293915, 0.25763946771621704, 0.19826538860797882, -0.2034374624490738, 0.805600106716156, 0.06817027926445007, -0.8680297136306763, -1.0382729768753052, 0.057296499609947205, -0.7819855213165283, -0.3097839951515198, 1.1416481733322144, -0.11947543919086456, -0.12152882665395737, -0.3082348704338074, -0.03479081019759178, 0.2913590967655182, -0.16944564878940582, 0.5642823576927185, 0.487387478351593, -0.27526286244392395, -0.22899115085601807, -1.1006048917770386, 0.44400179386138916, 0.39172083139419556, -1.3296579122543335, 0.13015475869178772, 0.6135939955711365, 0.1454877108335495, -0.6765626072883606, 0.7891271114349365, 0.07967038452625275, 0.46260571479797363, 0.22522477805614471, 0.027325669303536415, 0.1294950246810913, -0.389434278011322, -0.3071703314781189, -0.10320927947759628, 0.0672101378440857, 0.06964967399835587 ]
http://arxiv.org/abs/2402.17641v2
http://arxiv.org/pdf/2402.17641v2
Variational Learning is Effective for Large Deep Networks
2024-02-27T16:11:05
2024-06-06T04:31:43
Yuesong Shen, Nico Daheim, Bai Cong, Peter Nickl, Gian Maria Marconi, Clement Bazan, Rio Yokota, Iryna Gurevych, Daniel Cremers, Mohammad Emtiyaz Khan, Thomas Möllenhoff
cs.LG
cs.LG, cs.AI, cs.CL, math.OC, stat.ML
We give extensive empirical evidence against the common belief that variational learning is ineffective for large neural networks. We show that an optimizer called Improved Variational Online Newton (IVON) consistently matches or outperforms Adam for training large networks such as GPT-2 and ResNets from scratch. IVON's computational costs are nearly identical to Adam but its predictive uncertainty is better. We show several new use cases of IVON where we improve finetuning and model merging in Large Language Models, accurately predict generalization error, and faithfully estimate sensitivity to data. We find overwhelming evidence that variational learning is effective.
[ -0.366393119096756, -0.4334031939506531, 0.37661054730415344, -0.028685007244348526, -0.1893891841173172, 0.355747789144516, -0.5097125768661499, -0.5737606287002563, 0.08818434178829193, -0.13379837572574615, -0.07273780554533005, -0.19138313829898834, -0.5625623464584351, 0.15142719447612762, -0.4012053310871124, 0.6629154086112976, 0.06292107701301575, 0.4596169590950012, -0.14549677073955536, -0.1594255417585373, 0.20813782513141632, 0.0027371584437787533, -1.1005030870437622, -0.48425841331481934, 0.9339432716369629, -0.15820547938346863, 0.6339555978775024, 0.523948609828949, 0.6172261834144592, 0.3493448793888092, -0.4611870050430298, 0.3668825626373291, -0.6008942127227783, 0.15796056389808655, -0.15775279700756073, -0.6467946171760559, 0.04087105765938759, -0.5186814069747925, 0.8631592988967896, 0.9492924213409424, -0.5079492926597595, -0.5045130252838135, 0.19049464166164398, 0.8459336161613464, -0.5588043332099915, -0.24987249076366425, -0.694329023361206, 0.34364208579063416, -0.11787217110395432, 0.42339351773262024, -0.020484652370214462, -0.44951891899108887, 0.3175401985645294, -0.811438262462616, 0.3063110113143921, -0.043994925916194916, 0.8428179621696472, 0.24744519591331482, -0.4151805341243744, -0.01722990721464157, -0.965027391910553, 0.8801237344741821, -0.8142092823982239, 0.333955317735672, 0.3927011489868164, 0.35399019718170166, -0.31018945574760437, -0.8514133095741272, -0.33534085750579834, -0.5910030603408813, 0.39581191539764404, 0.26393646001815796, -0.06820103526115417, 0.4672182500362396, 0.393137663602829, 0.8151965737342834, -0.3977322578430176, 0.39834195375442505, -0.4123091399669647, 0.030971400439739227, 0.5413171648979187, -0.061217520385980606, 0.0839020386338234, 0.4462951421737671, -0.2293727546930313, -0.13786467909812927, -0.7780691385269165, 0.13798829913139343, 0.7956496477127075, 0.20543180406093597, 0.0465131439268589, 0.35894906520843506, 0.09139402955770493, 0.7246501445770264, 0.1273244172334671, 0.07051298767328262, 0.19487076997756958, 0.10937244445085526, -0.2529388666152954, -0.3924834728240967, 0.7320626974105835, 0.08444447070360184, -0.10223892331123352, -0.3721112012863159, -0.34870219230651855, -0.4864514470100403, 0.26136720180511475, -0.7851273417472839, -0.274508535861969, 0.16452272236347198, -0.26193293929100037, -0.2182885706424713, 0.1802278608083725, -0.47181233763694763, -0.5666020512580872, -0.40787073969841003, 0.14232823252677917, -0.4794800579547882, -0.19514422118663788, -0.13641729950904846, -0.052556250244379044, 0.12021935731172562, 0.5457705855369568, -0.9129656553268433, 0.3527602255344391, 0.7291295528411865, 1.0275988578796387, -0.4085945785045624, -0.21655820310115814, -0.443177193403244, -0.4438059628009796, -0.7854340076446533, 0.47171738743782043, -0.26514095067977905, -0.07299574464559555, 0.040998611599206924, -0.25123631954193115, -0.03963364660739899, -0.767421543598175, 0.3076184093952179, -0.6045638918876648, -0.09715433418750763, -0.05516352131962776, -0.9420320987701416, -0.3309229910373688, 0.28381434082984924, -0.8426305651664734, 0.6358701586723328, 0.26610222458839417, -0.5369336605072021, 0.42246437072753906, -0.5586276650428772, -0.5292043685913086, -0.05532911792397499, -0.29387542605400085, -0.71978759765625, 0.3555600345134735, -0.04030809551477432, 0.2475440502166748, -0.5075701475143433, 0.31781989336013794, -0.5254177451133728, -0.38472437858581543, 0.37335777282714844, -0.5456470847129822, 0.6876165866851807, 0.537766695022583, -0.6287196278572083, -0.003258266020566225, -0.706087052822113, -0.23684121668338776, 0.02924368530511856, -0.6300767064094543, -0.08400198817253113, 0.20777177810668945, -0.25220346450805664, -0.20301009714603424, -0.16543152928352356, -0.6000720858573914, 0.09038905799388885, -0.8719577789306641, 0.4242839217185974, 0.6414544582366943, -0.3260166347026825, 0.36339133977890015, -0.3249845802783966, 0.6311668753623962, -0.1805156171321869, -0.14937154948711395, 0.26462963223457336, -0.498973548412323, -0.6026999950408936, -0.017998764291405678, 0.9211483001708984, 0.27873629331588745, -0.6426457166671753, 0.5282880663871765, -0.06294135749340057, -0.31794339418411255, -0.08844604343175888, 0.035843707621097565, 0.2966988682746887, 0.09637650102376938, 0.1624089479446411, -0.4828283190727234, -0.35207557678222656, -0.7848625183105469, -0.3250904083251953, 0.1468244194984436, -0.27198418974876404, 0.6608472466468811, 0.19414596259593964, -0.15783625841140747, 0.44763752818107605, -0.01657971367239952, 0.2440822273492813, -0.011514989659190178, 0.4864385724067688, 0.16899943351745605, 0.6038859486579895, 0.47623246908187866, -0.9472550749778748, -0.6042523980140686, 0.41203439235687256, -0.636266827583313, 0.5072246789932251, -0.14670683443546295, 0.46878781914711, 0.042985133826732635, 0.32508552074432373, -0.26544809341430664, 0.45670560002326965, 0.4664718806743622, 0.31009921431541443, 0.14578726887702942, -0.2656834125518799, -0.0026008395943790674, -1.1001863479614258, -0.03485092893242836, 0.07123296707868576, -0.6619224548339844, -0.2628958821296692, 0.11468036472797394, -0.11015937477350235, -0.15518949925899506, -0.4881075322628021, -0.06991640478372574, -0.3582828640937805, -0.12769906222820282, -0.2580370604991913, -0.11723308265209198, -0.2002566009759903, 0.08009110391139984, -0.38939136266708374, 1.0622498989105225, 0.6896102428436279, -0.39287856221199036, 0.7234826683998108, -0.02133994549512863, -0.5597299933433533, 0.11045226454734802, -0.7108616232872009, 0.2325650006532669, -0.30732548236846924, 0.22439326345920563, -0.9536734223365784, -0.41977596282958984, 0.04762014374136925, -0.26126256585121155, 0.8109011650085449, -0.16268058121204376, 0.22268147766590118, -0.41938793659210205, -0.38012024760246277, 0.40972641110420227, 0.43948137760162354, -0.7350726127624512, 0.9066394567489624, -0.03727450594305992, 0.1664341688156128, -0.9622735977172852, -0.8890613913536072, 0.11546003073453903, -0.1671149581670761, -0.27313661575317383, 0.21915161609649658, -0.15920381247997284, -0.09606573730707169, 0.017155511304736137, -0.15825210511684418, -0.22428171336650848, 0.30222147703170776, 0.09271717816591263, -0.20908094942569733, -0.5652749538421631, 0.22500763833522797, -0.12931205332279205, 0.04813616722822189, -0.11470773071050644, -0.6275867223739624, 0.39520516991615295, -0.24189960956573486, -0.338044136762619, -0.48548418283462524, 0.24668554961681366, 0.38766518235206604, 0.06979408115148544, 0.9166470766067505, 0.6228684782981873, -0.4723343849182129, -0.22638021409511566, -0.41255074739456177, -0.15522198379039764, -0.4379582107067108, 0.577748715877533, -0.39380136132240295, -0.9290640950202942, 0.6499128937721252, -0.6168868541717529, -0.25095856189727783, 0.7902147173881531, -0.016361424699425697, -0.12716780602931976, 0.9335976839065552, 0.4210359454154968, 0.054953962564468384, 0.5778001546859741, -0.6491715908050537, 0.07186667621135712, -0.988211452960968, -0.06174415349960327, -0.24746344983577728, -0.45039358735084534, -0.8107618093490601, 0.10313418507575989, 0.03202584385871887, 0.3277372717857361, -0.3478727340698242, 0.2502080798149109, -0.38026973605155945, 0.9034255743026733, 0.5963149070739746, 0.3048543334007263, -0.3721274137496948, 0.10151051729917526, -0.14789026975631714, 0.14692921936511993, -0.72650146484375, -0.0063289497047662735, 1.3468245267868042, 0.3443320393562317, 0.9317681789398193, 0.23551227152347565, 0.5632847547531128, 0.13212034106254578, 0.1948079913854599, -0.7590150237083435, -0.0016835627611726522, -0.466915488243103, -0.6880351305007935, -0.5772538781166077, -0.755669355392456, -1.2050203084945679, 0.14510440826416016, -0.34691113233566284, -0.7700583934783936, 0.4824003577232361, 0.29081258177757263, -0.6920552253723145, 0.8424642086029053, -0.5844544172286987, 0.49632692337036133, -0.2075796127319336, -0.4660753309726715, -0.2460271716117859, -0.880098283290863, 0.17338557541370392, -0.20761534571647644, -0.2469569444656372, 0.03754013776779175, -0.10664084553718567, 0.6219339966773987, -0.4601230323314667, 0.8000099658966064, -0.06415493041276932, 0.07433116436004639, 0.2580847144126892, 0.05359235405921936, 0.6813134551048279, 0.1390542834997177, -0.32135048508644104, 0.23623666167259216, -0.6155904531478882, -0.35808852314949036, -0.6636515855789185, 0.6834661960601807, -0.9685646891593933, -0.3172522485256195, -0.3902254104614258, -0.328117311000824, 0.03023441880941391, 0.06639622896909714, 0.7051377892494202, 0.7009672522544861, -0.22000408172607422, 0.6936259865760803, 0.8586437702178955, 0.03698641434311867, 0.4563078284263611, -0.17420589923858643, -0.021188262850046158, -0.8761111497879028, 0.9228166341781616, 0.22673285007476807, 0.3796248137950897, 0.466866135597229, 0.465930312871933, -0.008638575673103333, -0.9127634763717651, -0.49811187386512756, -0.1655752807855606, -0.7049740552902222, -0.31814464926719666, -0.32234105467796326, -0.3711405396461487, 0.08959892392158508, -0.16707712411880493, -0.6525058150291443, -0.4754849970340729, -0.2813541293144226, -0.008250538259744644, 0.030721260234713554, 1.0596277713775635, -0.3736835718154907, 0.4391026794910431, -0.3492783010005951, -0.02481084130704403, 0.6991488933563232, 0.4261297881603241, 0.11491668224334717, -0.47326430678367615, -0.27485960721969604, 0.13751520216464996, -0.33122333884239197, -0.37247616052627563, -0.094068244099617, 0.6170302629470825, 0.5121583938598633, 0.7885069251060486, -0.29706355929374695, 0.18062403798103333, -0.516011655330658, 0.861002504825592, 0.5585293173789978, -0.826336145401001, 0.18200962245464325, -0.4383150041103363, 0.01021328940987587, 0.5505030155181885, 0.6597802042961121, -0.05608798563480377, -0.05128766596317291, -0.7066466808319092, -1.0715941190719604, 0.5943444967269897, 0.3712689280509949, 0.19332881271839142, 0.3220270276069641, 0.6570865511894226, 0.29923388361930847, 0.33147192001342773, -0.6584870219230652, -0.4177533984184265, -0.0574239045381546, -0.12839221954345703, -0.14258527755737305, -0.11874420940876007, -0.291098415851593, -0.5595583319664001, 0.690715491771698, -0.15199027955532074, 0.5022572875022888, 0.153402179479599, 0.2161286324262619, -0.24383975565433502, -0.09383214265108109, 0.9417030811309814, 1.0793110132217407, -0.19828511774539948, 0.27188217639923096, 0.7174620032310486, -0.36849603056907654, 0.21115757524967194, 0.3491145372390747, -0.19347386062145233, -0.2409346103668213, 0.39790958166122437, 1.017366647720337, -0.1275629848241806, -0.2880985736846924, 0.764549732208252, -0.25986266136169434, -0.4862176477909088, -0.5340613722801208, 0.28569358587265015, 0.005732829682528973, 0.33450961112976074, 0.21412016451358795, 0.5571994781494141, 0.28068315982818604, -0.2013951539993286, 0.14757026731967926, 0.33545398712158203, -0.5628740787506104, -0.19895127415657043, 0.7074726819992065, 0.09365426003932953, -0.5387097001075745, 0.31343117356300354, -0.34144628047943115, -0.549418032169342, 0.8932121992111206, 0.7694842219352722, 0.9842950701713562, -0.35677996277809143, 0.0345405675470829, 0.28680819272994995, 0.04930473491549492, -0.12051910161972046, 0.10764746367931366, -0.07065608352422714, -0.6597714424133301, -0.7637702822685242, -0.26117613911628723, -0.6512215733528137, 0.28651922941207886, -0.3930877149105072, -0.16126799583435059, -0.7368770241737366, -0.18900932371616364, 0.35879844427108765, -0.21268439292907715, -0.6498861312866211, 0.451469361782074, 0.006456564646214247, 0.4359727203845978, -0.3874686360359192, 0.4037976861000061, 0.7119835615158081, -0.30064359307289124, -0.9982374310493469, 0.14263269305229187, -0.19822663068771362, -0.5755722522735596, 0.4201827347278595, 0.22759094834327698, -0.17852367460727692, -0.1549765169620514, -0.8934564590454102, -0.971520185470581, 0.8518669009208679, 0.6528496146202087, -1.003689169883728, 0.47776174545288086, -0.09820841997861862, 0.4278932511806488, -0.3384990692138672, 0.43388059735298157, 0.08540879935026169, 0.16325296461582184, 0.34380799531936646, -0.543672502040863, -0.30337387323379517, -0.12869171798229218, 0.24705612659454346, 0.47675296664237976, -0.7747135758399963, 0.9499186873435974, -0.050208400934934616, 0.07599037885665894, 0.19760610163211823, 0.6400845646858215, -0.5557315945625305, 0.20116661489009857, 0.6571539640426636, 0.7827873229980469, 1.1616501808166504, -0.1292860358953476, 1.2507275342941284, 0.009443276561796665, 0.5434989929199219, 0.9143843650817871, -0.16437652707099915, 0.583894670009613, 0.0652000680565834, -0.598059892654419, 0.4567943811416626, 0.8375276923179626, 0.06279923766851425, 0.5295482873916626, 0.6446588039398193, -0.54843670129776, -0.42147889733314514, 0.16725720465183258, -0.5047485828399658, 0.09659052640199661, 0.17480529844760895, -0.33553245663642883, 0.07705509662628174, 0.328819215297699, -0.14153994619846344, -0.09008394926786423, -0.20083248615264893, 0.8723720908164978, 0.125668004155159, -0.24552039802074432, 0.725507378578186, -0.1350003182888031, 0.5774616003036499, -0.4276098310947418, 0.2709484100341797, -0.2457531988620758, 0.39141377806663513, -0.09522689878940582, -0.32033810019493103, 0.06451794505119324, -0.45413029193878174, 0.10373903065919876, 0.6052587032318115, 0.6777807474136353, -0.3438822329044342, -0.3888545334339142, 0.15005426108837128, 0.09489914029836655, 0.32960888743400574, 0.012282120995223522, -0.6245336532592773, -0.41893312335014343, -0.022002212703227997, -0.3361866772174835, 0.15940099954605103, 0.278687983751297, 0.4338446259498596, 0.5945753455162048, 0.6436587572097778, 0.1871139109134674, -0.1668635606765747, 0.12072964012622833, 1.0224183797836304, -0.3660999834537506, -0.3615645170211792, -0.70735102891922, 0.3436955511569977, -0.5046603083610535, -0.5632258653640747, 0.23781797289848328, 0.7176759243011475, 0.8217628002166748, 0.27685028314590454, 0.6714703440666199, 0.17202609777450562, 0.3421570062637329, -0.5187422037124634, 0.5626950263977051, -0.8006055951118469, 0.14784008264541626, 0.271186888217926, -1.2339423894882202, -0.7799822092056274, 0.8520182967185974, -0.23811089992523193, 0.38413774967193604, 0.8500261306762695, 0.5012185573577881, -0.46979013085365295, 0.24491840600967407, 0.5232349634170532, -0.010246897116303444, 0.336646169424057, 0.2915068566799164, 1.0098106861114502, -0.48995816707611084, 0.22255364060401917, -0.2791166305541992, -0.29541105031967163, -0.22801005840301514, -0.9456053972244263, -1.0861897468566895, -0.36594918370246887, -0.27085164189338684, -0.5026414394378662, 0.42394933104515076, 1.2910454273223877, 0.842978298664093, -1.1842297315597534, 0.10543588548898697, -0.7748969793319702, 0.05513294041156769, -0.3062302768230438, -0.06773747503757477, 0.5053207874298096, -0.40669891238212585, -0.5494263172149658, 0.6254778504371643, 0.002384145511314273, 0.2632525563240051, -0.07492031157016754, -0.23818108439445496, -0.13400539755821228, 0.04679931700229645, 0.27746057510375977, 0.5033647418022156, -0.6591311097145081, -0.3616500496864319, -0.20833629369735718, -0.01701817847788334, 0.3625781536102295, 0.786709725856781, -0.23302224278450012, 0.6509851813316345, 0.336320161819458, 1.279612421989441, 0.8399831056594849, -0.024416759610176086, 0.6510648131370544, -0.5198532342910767, 0.07171208411455154, 0.4087575376033783, 0.4788596034049988, 0.5315229892730713, -0.41885724663734436, 0.728399395942688, 0.294849693775177, -0.8822018504142761, -0.43053436279296875, 0.20729142427444458, -0.5599389672279358, -0.1569562405347824, 1.0571683645248413, -0.5424847602844238, -0.2880839705467224, -0.013271227478981018, -0.04215901345014572, 0.22745215892791748, -0.4286479949951172, 0.7118672728538513, 0.5069892406463623, -0.07978008687496185, 0.14197823405265808, -0.42510029673576355, 0.5587591528892517, 0.7267480492591858, -0.6238442659378052, -0.39834263920783997, 0.11172059923410416, 0.11651694029569626, 0.2043740600347519, -0.13943226635456085, 0.419342964887619, 0.19174858927726746, 0.12491326034069061, -0.0027683330699801445, -0.12981976568698883, -0.454228013753891, -0.8074796199798584, -0.04442787170410156, 0.32426121830940247, -0.2606201767921448 ]
http://arxiv.org/abs/2402.17633v1
http://arxiv.org/pdf/2402.17633v1
From Text Segmentation to Smart Chaptering: A Novel Benchmark for Structuring Video Transcriptions
2024-02-27T15:59:37
2024-02-27T15:59:37
Fabian Retkowski, Alexander Waibel
cs.CL
cs.CL
Text segmentation is a fundamental task in natural language processing, where documents are split into contiguous sections. However, prior research in this area has been constrained by limited datasets, which are either small in scale, synthesized, or only contain well-structured documents. In this paper, we address these limitations by introducing a novel benchmark YTSeg focusing on spoken content that is inherently more unstructured and both topically and structurally diverse. As part of this work, we introduce an efficient hierarchical segmentation model MiniSeg, that outperforms state-of-the-art baselines. Lastly, we expand the notion of text segmentation to a more practical "smart chaptering" task that involves the segmentation of unstructured content, the generation of meaningful segment titles, and a potential real-time application of the models.
[ -0.19160108268260956, -0.8134215474128723, 0.34319278597831726, -0.019957223907113075, -0.7306784391403198, 0.15396146476268768, -0.0815533772110939, -0.3854205310344696, 0.11103666573762894, 0.5388258099555969, -0.8315196633338928, -0.7375747561454773, -0.45614537596702576, 0.1312302052974701, -0.6765623688697815, 0.9326762557029724, 0.44845810532569885, 0.04571621119976044, -0.17344696819782257, -0.37304726243019104, -0.4521447718143463, -0.22451184689998627, -0.24034541845321655, 0.030920889228582382, 0.1859973818063736, 0.41493600606918335, 0.5103034377098083, 1.4088094234466553, 0.46300598978996277, 0.3480033278465271, -0.20448662340641022, 0.28727850317955017, 0.030557572841644287, 0.45517581701278687, 0.04243519529700279, -0.37766292691230774, -0.06559500843286514, -0.24464865028858185, 0.9562569260597229, 0.8012540340423584, 0.04735076054930687, 0.14747653901576996, -0.1432419866323471, 0.7591033577919006, -0.36265453696250916, -0.033677808940410614, -0.5329663157463074, 0.1954025775194168, -0.24841183423995972, -0.1819525957107544, -0.3247011601924896, -0.44342201948165894, 0.32744893431663513, -0.3656955063343048, 0.4896186590194702, -0.12576134502887726, 0.6877066493034363, 0.42146918177604675, -0.4482472836971283, -0.08983006328344345, -0.681452214717865, 0.7464529871940613, -0.5457008481025696, 0.7499224543571472, 0.13016335666179657, 0.34237784147262573, 0.12312201410531998, -1.034280776977539, -0.2240409255027771, 0.10762079060077667, 0.22646598517894745, -0.27193745970726013, -0.06728008389472961, 0.17642343044281006, 0.12774690985679626, 0.5455285310745239, -0.6177076101303101, -0.08118325471878052, -0.22020062804222107, -0.2707447111606598, 0.2704329788684845, 0.17412027716636658, 0.6292333006858826, -0.45322856307029724, -0.2919580340385437, -0.23001907765865326, -0.12178820371627808, 0.05061408877372742, 0.3638702929019928, 0.38505440950393677, 0.16217859089374542, 0.559661865234375, -0.1244271993637085, 0.6839873790740967, -0.11001955717802048, -0.612504243850708, 0.012427356094121933, -0.43990781903266907, -0.4728587567806244, 0.15103015303611755, 0.8792750835418701, 0.4714933931827545, 0.08014927804470062, -0.13243180513381958, -0.06473053246736526, -0.06400284916162491, 0.5103343725204468, -1.0072306394577026, -0.39967113733291626, -0.1071130707859993, -0.5780308246612549, -0.0983797162771225, 0.08091377466917038, -0.9519974589347839, -0.2849369943141937, -0.3211170732975006, 0.15208375453948975, -0.5588506460189819, 0.4635831117630005, -0.02936847135424614, -0.12882758677005768, -0.014071683399379253, 0.22822299599647522, -1.110921859741211, 0.6750862002372742, 0.7416641712188721, 1.1233505010604858, -0.38926446437835693, 0.05538887903094292, -0.695492684841156, 0.09799102693796158, -0.19825974106788635, 1.0696353912353516, -0.3644304871559143, -0.36252561211586, 0.023152252659201622, -0.0798824355006218, -0.021294860169291496, -0.6171758770942688, 0.6123312711715698, -0.40726497769355774, 0.22111567854881287, -0.08558064699172974, -0.5129167437553406, -0.15533897280693054, 0.35141998529434204, -0.794134795665741, 1.1264586448669434, -0.002463334007188678, -0.570568323135376, 0.43520915508270264, -0.26987406611442566, -0.6374239921569824, 0.03816619887948036, -0.4609788954257965, -0.5890288949012756, 0.07747344672679901, 0.4091343581676483, 0.21239358186721802, -0.5296704769134521, 0.2988341152667999, 0.09402868896722794, -0.0503273643553257, 0.17551755905151367, -0.5176045894622803, 0.25580453872680664, 0.04910498112440109, -0.19203002750873566, 0.2836623191833496, -0.8990465998649597, 0.1928035169839859, -0.16958951950073242, -0.09937320649623871, -0.496418297290802, 0.217038094997406, 0.42323240637779236, -0.14186714589595795, 0.08106143027544022, -0.4944452941417694, 0.41660335659980774, -0.29790225625038147, 0.5511309504508972, 0.4205375611782074, 0.2520752251148224, 0.6788674592971802, -0.1603439897298813, 0.23971182107925415, -0.27292943000793457, 0.2081805020570755, -0.4690362513065338, -0.23947489261627197, -0.5314842462539673, -0.7330571413040161, 0.2504412829875946, 0.3163559138774872, -0.569959282875061, 0.38800638914108276, -0.316952109336853, -0.6290684938430786, -0.30689507722854614, 0.031417202204465866, 0.500713050365448, 0.6035604476928711, 0.5648188591003418, -0.5811894536018372, -0.6449373364448547, -1.1375834941864014, -0.36819708347320557, -0.1515740305185318, -0.06410620361566544, 0.042111836373806, 0.20648404955863953, -0.36867544054985046, 1.0504975318908691, -0.8351144790649414, -0.5913976430892944, -0.4319770634174347, 0.542609691619873, 0.02364903688430786, 0.4408513307571411, 0.3016650080680847, -1.040306806564331, -0.5366334915161133, -0.06147743761539459, -0.5574354529380798, -0.04953612759709358, -0.21367250382900238, 0.3604545295238495, -0.19551712274551392, 0.7824511528015137, -0.38890281319618225, 0.28719383478164673, 0.20777703821659088, -0.10516887158155441, 0.4408313035964966, -0.45268797874450684, 0.2681424617767334, -0.9266088604927063, -0.2477819174528122, 0.013479040004312992, -0.3933393359184265, -0.7130783200263977, -0.14686773717403412, 0.08935649693012238, -0.09871002286672592, -0.3927176296710968, 0.1422865390777588, -0.2833435833454132, -0.42099475860595703, -0.23484468460083008, 0.0018163213972002268, -0.07839605957269669, 0.6231485605239868, 0.15264809131622314, 0.6686905026435852, 0.2910016179084778, -0.5182088613510132, 0.03227127715945244, 0.517228901386261, -0.7873278260231018, 0.4208146035671234, -0.6712011694908142, 0.07368911802768707, -0.020887337625026703, 0.19181224703788757, -0.9093059301376343, -0.3319617211818695, -0.13047944009304047, -0.1906479150056839, 0.08997263014316559, -0.24813660979270935, -0.6610472798347473, 0.14829307794570923, -0.41996124386787415, 0.8891105055809021, 0.4158848226070404, -0.17735767364501953, 0.5021778345108032, 0.7558325529098511, -0.4979485273361206, -0.15766775608062744, -0.7031587362289429, 0.05704101175069809, -0.2281481921672821, -0.6687452793121338, 0.8388451337814331, -0.06507766991853714, -0.20647522807121277, -0.05362512171268463, -0.5554845333099365, -0.6356174945831299, -0.31345149874687195, 0.1897604614496231, 0.07444020360708237, -0.2872692048549652, 0.0011694831773638725, 0.2419223040342331, -0.07236999273300171, -0.3522411584854126, -0.6138224005699158, 0.36525988578796387, -0.018844209611415863, -0.24677512049674988, -0.4609474241733551, 0.5449535250663757, 0.6943753361701965, -0.2843799591064453, 0.3385958969593048, 0.3097415864467621, -0.48103001713752747, -0.5711727142333984, -0.3477965295314789, -0.026573477312922478, -0.4811164140701294, 0.5755247473716736, 0.033622097223997116, -1.0528243780136108, 0.31969037652015686, 0.09700143337249756, 0.1463511884212494, 0.35542407631874084, 0.2966639995574951, -0.09093267470598221, 0.9182572364807129, 0.8871092200279236, -0.005372980143874884, 0.758592426776886, -0.05087090656161308, 0.12061047554016113, -0.46389615535736084, -0.31900492310523987, -0.8388428092002869, -0.17985884845256805, -0.8463852405548096, -0.7551632523536682, 0.5643678307533264, -0.08814288675785065, 0.127934992313385, 0.6563109755516052, -0.5430042743682861, 0.6556942462921143, 0.4411802291870117, -0.09541867673397064, 0.3895786702632904, -0.054503314197063446, -0.10434305667877197, -0.3909102976322174, -0.6582921147346497, -0.5665112733840942, 0.5842453837394714, 0.32333001494407654, 0.4134153127670288, -0.09545740485191345, 0.582985520362854, 0.8084855079650879, 0.07876168191432953, -1.0690193176269531, 0.710180938243866, -0.6120781898498535, -0.3210945427417755, -0.599480926990509, -0.3734109103679657, -0.7591072916984558, 0.5124689340591431, 0.07926911115646362, -0.9201918840408325, 0.04586665332317352, -0.09158352762460709, -0.4248327910900116, 0.3817438781261444, -0.519982099533081, 0.9247101545333862, -0.08353474736213684, -0.12176473438739777, 0.04184509068727493, -0.7021237015724182, -0.03240276873111725, 0.041565120220184326, 0.5149439573287964, -0.029283901676535606, 0.019553132355213165, 1.1506609916687012, -0.8087053298950195, 0.481552392244339, -0.007070562336593866, 0.15464822947978973, 0.6689227819442749, 0.015941189602017403, 0.22256766259670258, -0.052385956048965454, 0.17099185287952423, -0.2603274881839752, 0.28296172618865967, -0.07209194451570511, -0.5919928550720215, 0.27845796942710876, -0.5067216753959656, -0.11681132018566132, -0.38510966300964355, -0.40665361285209656, -0.5149388313293457, 0.4741295278072357, 0.2642829120159149, 0.8124523758888245, -0.5466136932373047, 0.5551281571388245, 0.9440369009971619, -0.10492745786905289, 0.5096668601036072, 0.18298807740211487, 0.21043896675109863, -0.7103622555732727, 0.8595250844955444, 0.015667326748371124, -0.08394160121679306, 0.9101910591125488, 0.2313767820596695, -0.5075277090072632, -0.8613147139549255, -0.39911362528800964, 0.045202117413282394, -0.7585487365722656, -0.0989626944065094, -0.7263460159301758, -0.040849778801202774, -0.4205232560634613, -0.10585705190896988, -0.859902560710907, -0.28761300444602966, -0.08948483318090439, -0.270008385181427, -0.21425218880176544, 0.6230235695838928, 0.2526414096355438, 0.4753446578979492, -1.2564125061035156, 0.7488583326339722, 0.6338281035423279, 0.2557668089866638, -0.28513428568840027, -0.468381404876709, -0.3961714208126068, -0.4057781994342804, -0.23620758950710297, -0.8005428314208984, 0.3941120207309723, 0.24024826288223267, 0.41484853625297546, 0.36540162563323975, 0.1458863914012909, 0.6682868003845215, -0.7490934133529663, 0.8394623398780823, 0.3021616041660309, -0.9858234524726868, 0.3199933171272278, -0.6109922528266907, 0.4867352545261383, 1.077589511871338, 0.018132930621504784, -0.7555914521217346, -0.13577844202518463, -0.41296228766441345, -1.0850387811660767, 0.6621348857879639, 0.29852643609046936, -0.23027321696281433, -0.10259763896465302, -0.06314186006784439, 0.2967967987060547, 0.18753676116466522, -0.7251673340797424, -0.01265647355467081, -0.033593930304050446, -0.2441786378622055, 0.0941811203956604, -0.2751273810863495, 0.10158565640449524, -0.09689958393573761, 0.37898263335227966, -0.18725454807281494, 0.17482352256774902, 0.34761351346969604, -0.3552151322364807, 0.07867152988910675, 0.4671732485294342, 0.5495399236679077, 0.11904873698949814, -0.2828220725059509, 0.2533644139766693, -0.2045799344778061, -0.7788186073303223, 0.2041352242231369, -0.029137514531612396, -0.33899596333503723, 0.16139978170394897, 0.869162917137146, 0.6522887945175171, 0.5250384211540222, -0.8355292081832886, 0.37016475200653076, -0.18486495316028595, -0.28235501050949097, 0.10545753687620163, -0.11242199689149857, -0.31164318323135376, 0.20194193720817566, 0.5102041959762573, 0.045799002051353455, 0.32953906059265137, -0.7349079251289368, 0.49002644419670105, -0.02030722238123417, -0.68840491771698, -0.27901026606559753, 0.525363564491272, 0.3198283612728119, -0.5037078261375427, 0.43167784810066223, -0.04406880587339401, -0.5203022956848145, 0.6779022216796875, 0.0701642706990242, 1.215788722038269, 0.192380890250206, 0.3901362419128418, 0.20735284686088562, 0.33769941329956055, -0.2624286711215973, 0.024456443265080452, -0.5166803598403931, -0.23901991546154022, -0.3993757665157318, -0.6839618682861328, -0.4221658706665039, -0.0755891427397728, -0.8320068120956421, -0.09765064716339111, -0.39385247230529785, -0.1291014552116394, 0.12680979073047638, -0.20916177332401276, -0.36140885949134827, 0.7252122759819031, -0.09167356789112091, 0.942401647567749, -0.6810837984085083, 0.9466399550437927, 0.5173592567443848, 0.13727222383022308, -0.5072162747383118, 0.34576281905174255, 0.0018342093098908663, -0.11292026937007904, 0.32895541191101074, 0.38450077176094055, -0.27191686630249023, -0.3845391571521759, -0.18882684409618378, -0.37271350622177124, 0.9908738732337952, 0.14147715270519257, -0.42037639021873474, -0.2158311903476715, 0.4957858920097351, 0.7490530014038086, -0.21150296926498413, -0.09515548497438431, 0.5875469446182251, 0.22808104753494263, 0.11361492425203323, -0.5555269122123718, -0.37410467863082886, -0.24282164871692657, -0.07499995827674866, 0.3221345543861389, -0.4601070284843445, 0.7023739814758301, 0.15081492066383362, -0.30462419986724854, 0.16019998490810394, 0.925917387008667, -0.15107998251914978, 0.5992400646209717, 0.7064381241798401, 0.34806206822395325, 0.7334938049316406, -0.09433694183826447, 0.7976908087730408, 0.0938873291015625, 0.05374230444431305, 1.3692467212677002, -0.011713046580553055, 0.5097362399101257, 0.46997883915901184, -0.08356751501560211, 0.5287850499153137, 0.5025418996810913, -0.02797326073050499, 0.9714095592498779, -0.04233841598033905, -0.12442423403263092, -0.3147495985031128, -0.41273072361946106, -0.18362262845039368, 0.5839665532112122, 0.03027620166540146, -0.2000655084848404, -0.18107502162456512, -0.15375971794128418, -0.30885106325149536, 0.505459189414978, -0.31321945786476135, 1.0530527830123901, 0.025727318599820137, -0.8326706290245056, -0.17539577186107635, 0.4314945340156555, 0.3995780646800995, -0.913885772228241, 0.17198097705841064, -0.22387345135211945, 0.002155332127586007, -0.004033498000353575, -0.5202184915542603, 0.49151110649108887, 0.3744020164012909, -0.32269617915153503, -0.5782999992370605, 0.7804184556007385, -0.37105321884155273, -0.2300584465265274, 0.08446396142244339, 0.3406118154525757, -0.24472956359386444, -0.13192829489707947, -0.271345317363739, 0.06466418504714966, 0.105243019759655, -0.14091555774211884, 0.42460837960243225, 0.7292065620422363, -0.24986843764781952, 0.49359819293022156, 0.47454801201820374, -0.20890112221240997, -0.05550080165266991, 0.17380566895008087, 0.7276417016983032, -0.8745259642601013, -1.0667964220046997, -0.897330105304718, 0.563270092010498, -0.05826587975025177, -0.4397912323474884, 0.761940598487854, 0.8904145359992981, 0.6775423288345337, -0.17198528349399567, 0.7326705455780029, 0.093231201171875, 0.2134043425321579, -0.5274786353111267, 0.44723841547966003, -0.4891321361064911, 0.044128645211458206, -0.6193250417709351, -0.8586819767951965, -0.2934456169605255, 0.3304985463619232, -0.189561128616333, -0.29337745904922485, 0.806491494178772, 0.426131010055542, -0.09301246702671051, 0.23981794714927673, 0.2982780337333679, -0.23119524121284485, 0.4020874798297882, -0.021473869681358337, 0.5838935971260071, -0.4191352427005768, 0.7473495006561279, -0.3105429410934448, -0.10187382251024246, -0.13496509194374084, -0.873738169670105, -0.9854775667190552, -0.7616685628890991, -0.41360822319984436, 0.2702232897281647, -0.09811078011989594, 0.9456503987312317, 0.9244576096534729, -0.6988193988800049, -0.30616340041160583, -0.18224026262760162, 0.1585814356803894, -0.39735451340675354, -0.13388124108314514, 0.5033426880836487, 0.12937994301319122, -0.6357557773590088, 0.7472137808799744, 0.6086757779121399, 0.035162266343832016, 0.20668520033359528, 0.08158933371305466, -0.18431763350963593, 0.26058346033096313, 0.4764808714389801, 0.3994705080986023, -0.060988135635852814, -0.12667600810527802, 0.061442211270332336, -0.25848257541656494, 0.22907675802707672, 1.3219512701034546, -0.33362093567848206, 0.4094279408454895, 0.6730430722236633, 0.8310585618019104, 0.829623281955719, 0.29978957772254944, 0.3414749801158905, -1.0918700695037842, 0.08083948493003845, 0.4048486053943634, 0.1773322969675064, 0.3848363161087036, 0.05263359844684601, 0.3746008276939392, 0.4447775185108185, -0.2871338129043579, -0.8386186957359314, 0.2063172310590744, -1.3064825534820557, -0.3863004446029663, 0.8356967568397522, 0.033480845391750336, -0.2609175741672516, -0.07322290539741516, -0.3090669810771942, 0.48414790630340576, -0.43441054224967957, 0.6324353218078613, 0.4994879961013794, -0.13862037658691406, -0.0800577774643898, -0.32583045959472656, 0.5045294165611267, 0.40502724051475525, -1.1446378231048584, 0.1085396334528923, 0.6184324026107788, 0.050812702625989914, 0.15504056215286255, 0.7027992606163025, -0.07463423907756805, 0.27514076232910156, 0.11344737559556961, -0.33400657773017883, -0.2389817237854004, -0.7757815718650818, -0.09194405376911163, 0.6057937145233154, -0.21418549120426178, -0.3549550771713257 ]
http://arxiv.org/abs/2402.17630v1
http://arxiv.org/pdf/2402.17630v1
Fine-Grained Natural Language Inference Based Faithfulness Evaluation for Diverse Summarisation Tasks
2024-02-27T15:57:11
2024-02-27T15:57:11
Huajian Zhang, Yumo Xu, Laura Perez-Beltrachini
cs.CL
cs.CL
We study existing approaches to leverage off-the-shelf Natural Language Inference (NLI) models for the evaluation of summary faithfulness and argue that these are sub-optimal due to the granularity level considered for premises and hypotheses. That is, the smaller content unit considered as hypothesis is a sentence and premises are made up of a fixed number of document sentences. We propose a novel approach, namely InFusE, that uses a variable premise size and simplifies summary sentences into shorter hypotheses. Departing from previous studies which focus on single short document summarisation, we analyse NLI based faithfulness evaluation for diverse summarisation tasks. We introduce DiverSumm, a new benchmark comprising long form summarisation (long documents and summaries) and diverse summarisation tasks (e.g., meeting and multi-document summarisation). In experiments, InFusE obtains superior performance across the different summarisation tasks. Our code and data are available at https://github.com/HJZnlp/infuse.
[ -0.39111679792404175, -0.6857917308807373, 0.441772997379303, 0.41203543543815613, -0.5020469427108765, 0.03360721096396446, -0.24121065437793732, -0.4323209524154663, 0.34583884477615356, 0.5913825035095215, -0.571309506893158, -0.4287756681442261, -0.4611833691596985, 0.42455095052719116, -0.37610453367233276, 1.0597962141036987, -0.0024042713921517134, 0.03437526896595955, -0.7189804315567017, -0.3770328164100647, -0.24069124460220337, -0.12804317474365234, -0.22314199805259705, -0.43039435148239136, 0.0008945677545852959, 0.36391371488571167, 0.6919428110122681, 0.21688608825206757, 0.724639356136322, 0.1954566240310669, -0.2847231328487396, 0.6965777277946472, -0.5967772603034973, -0.011140907183289528, -0.26081857085227966, -0.4975290894508362, -0.2955077290534973, -0.049621544778347015, 0.7107239365577698, 0.9087581634521484, 0.004968808498233557, 0.1644158959388733, 0.5050786137580872, 0.7194052338600159, -0.9434008598327637, -0.12020247429609299, -0.4682101011276245, -0.1467159241437912, -0.02669503167271614, 0.031356193125247955, -0.4512367844581604, -0.48171451687812805, 0.3488650321960449, -0.5100001692771912, 0.3744029104709625, -0.016492627561092377, 1.0078411102294922, 0.24424132704734802, -0.13629871606826782, -0.41716980934143066, -0.4887041747570038, 1.0111780166625977, -1.3171334266662598, 0.1851157695055008, 0.4423215091228485, 0.13580523431301117, -0.16659444570541382, -0.8169936537742615, -0.31269991397857666, -0.22866091132164001, -0.28205159306526184, 0.36115387082099915, -0.012922517023980618, 0.015148618258535862, 0.1169307753443718, 0.7963674068450928, -0.5091845393180847, -0.17290820181369781, 0.25863802433013916, -0.04704475775361061, 0.7332560420036316, 0.1374790221452713, 0.21039989590644836, -0.2160661220550537, -0.290487140417099, 0.10878214240074158, -0.36040690541267395, -0.12340537458658218, 0.46925216913223267, 0.19637992978096008, -0.2151164561510086, 0.6766120791435242, -0.4248933494091034, 0.4447537958621979, -0.03424782678484917, -0.4703555107116699, 0.13719356060028076, -0.917169988155365, -0.3870760202407837, 0.07516969740390778, 0.8025944232940674, 0.4733060896396637, 0.3177679181098938, -0.432788610458374, 0.01651834510266781, 0.01719670183956623, 0.10689307004213333, -1.1591461896896362, -0.002761265728622675, 0.4803515672683716, -0.5133371353149414, -0.12873439490795135, 0.33033260703086853, -0.7380778193473816, -0.24976353347301483, -0.15664039552211761, 0.37767672538757324, -0.7697678208351135, 0.09814892709255219, 0.34049317240715027, -0.6603926420211792, 0.13166454434394836, 0.31803104281425476, -0.8994688987731934, 0.7609556317329407, 0.8510252833366394, 0.8926763534545898, -0.4252656400203705, -0.5287577509880066, -0.515673816204071, 0.24938862025737762, 0.02637418918311596, 0.9121877551078796, -0.41143402457237244, -0.5961902141571045, -0.20288623869419098, -0.29673177003860474, -0.11231604218482971, -0.7139396667480469, 0.8212918639183044, -0.11346450448036194, 0.419744610786438, -0.1802694946527481, -0.9167876243591309, -0.15235300362110138, 0.28230318427085876, -0.6288570761680603, 0.8998258709907532, 0.27337148785591125, -1.0522888898849487, 0.6159610152244568, -0.6112907528877258, -0.5914268493652344, -0.19436711072921753, 0.032039202749729156, -0.6648930311203003, 0.26403912901878357, 0.45546239614486694, 0.18907666206359863, -0.10217195004224777, 0.30528467893600464, -0.6032832860946655, -0.4801875650882721, 0.18633264303207397, -0.7415118217468262, 0.651669442653656, 0.055407024919986725, -0.10853083431720734, 0.03662034869194031, -0.6109829545021057, -0.18411146104335785, -0.16871652007102966, -0.21740922331809998, -0.48957180976867676, 0.104336217045784, 0.14050889015197754, -0.40281665325164795, 0.12842002511024475, -0.5106427669525146, 0.18819399178028107, -0.8103610277175903, 0.15677863359451294, 0.03884577006101608, 0.4440729320049286, 0.6906867623329163, -0.4645026922225952, 0.16328133642673492, -0.19707868993282318, 0.2524155378341675, -0.3310420513153076, -0.583815336227417, -0.2608564794063568, -0.7426205277442932, 0.5027579665184021, 0.430486261844635, -0.4859451651573181, 0.33418455719947815, -0.5662524104118347, -0.32636699080467224, -0.4220825433731079, 0.2542399764060974, 0.3414265513420105, 0.308571994304657, 0.25588491559028625, -0.3735325336456299, -0.29110342264175415, -1.0106719732284546, -0.7921074628829956, -0.027883553877472878, -0.3613004982471466, 0.01568368636071682, 0.8382054567337036, -0.44015389680862427, 1.2818142175674438, -0.394111692905426, -0.2637079656124115, -0.5239177942276001, 0.4687269926071167, 0.4162842631340027, 0.3222995698451996, 0.6160452365875244, -0.7963175773620605, -0.48331549763679504, -0.057696253061294556, -0.7535180449485779, -0.05211122706532478, -0.4128670394420624, -0.08377867192029953, 0.09691593796014786, 0.27463826537132263, -0.677834689617157, 0.5251736044883728, 0.3206590414047241, -0.22917355597019196, 0.4449083209037781, -0.10666722804307938, 0.16150064766407013, -1.1168171167373657, -0.021695131435990334, -0.12858617305755615, -0.5424962043762207, -0.4990312159061432, 0.33582550287246704, 0.21980316936969757, 0.15562878549098969, -0.3445589244365692, 0.5306090116500854, -0.4637278914451599, 0.0576666034758091, -0.368642121553421, 0.23647010326385498, 0.49581027030944824, 0.2838199734687805, -0.19133467972278595, 0.7110205888748169, 0.2753927707672119, -0.41877445578575134, -0.1661754846572876, 0.440084308385849, -0.2607981562614441, 0.3715841770172119, -0.6915008425712585, -0.2301083356142044, -0.13346318900585175, 0.30196455121040344, -1.0164504051208496, -0.48043861985206604, -0.11220169067382812, -0.3554578125476837, 0.3116197884082794, -0.13305014371871948, -0.5400405526161194, -0.01790950447320938, -0.7898233532905579, 0.4637305736541748, 0.33336716890335083, -0.42835626006126404, 1.0310351848602295, 0.063421830534935, 0.025873545557260513, -0.4369727373123169, -1.004956603050232, 0.3293500542640686, -0.34922176599502563, -0.7314302325248718, 0.49070483446121216, -0.0725586786866188, -0.639821469783783, 0.028047198429703712, -0.2574580907821655, -0.16730713844299316, 0.12945596873760223, 0.09530971199274063, -0.07348448783159256, -0.26226910948753357, -0.33091363310813904, 0.271345853805542, 0.08519275486469269, -0.012029997073113918, -0.20297682285308838, 0.24236923456192017, -0.34674084186553955, -0.47931817173957825, -0.37871062755584717, 0.5673057436943054, 0.5317344069480896, -0.3038012683391571, 0.5967382788658142, 0.39759746193885803, -0.3965650498867035, -0.3210076689720154, -0.5432615280151367, -0.06439098715782166, -0.388997882604599, 0.12305279076099396, -0.12817461788654327, -0.4380660355091095, 0.7564347386360168, -0.09207230061292648, 0.2779885232448578, 0.5818889737129211, 0.2200000286102295, -0.09762275964021683, 0.48373943567276, 0.3963004946708679, -0.05801418423652649, 0.1888342946767807, -0.498358815908432, 0.0916673094034195, -0.5939850807189941, 0.07983586192131042, -0.3406386077404022, 0.01377895288169384, -0.5101745128631592, -0.35398492217063904, 0.2796226441860199, 0.3814517557621002, 0.3312753140926361, 0.1362445056438446, -0.03352620080113411, 0.6646229028701782, 0.4251856505870819, 0.07327913492918015, 0.5866862535476685, -0.14559462666511536, 0.2050757110118866, 0.0287946630269289, -0.6177891492843628, -0.7331673502922058, 0.9656255841255188, 0.23776763677597046, 0.6725102663040161, 0.29894840717315674, 0.949590802192688, 0.19783852994441986, 0.4717727601528168, -0.8984625935554504, 0.24711281061172485, -0.2013673037290573, -0.36129188537597656, -0.42441174387931824, -0.43123507499694824, -0.7477218508720398, 0.4146467447280884, -0.24902009963989258, -0.6008157730102539, 0.15031149983406067, -0.09397327154874802, -0.4099741280078888, 0.21270421147346497, -0.7588534355163574, 0.6553214192390442, 0.17310717701911926, -0.3760624825954437, -0.1062101200222969, -0.7092911601066589, 0.5718468427658081, -0.19974985718727112, 0.14782831072807312, -0.10796184092760086, 0.00590785825625062, 0.5330082178115845, -0.6134088635444641, 0.734817624092102, 0.22778639197349548, -0.0773920938372612, 0.4256848990917206, -0.04979406297206879, 0.4280264675617218, 0.7164664268493652, -0.39726951718330383, 0.3168255388736725, 0.012176339514553547, -0.5487607717514038, -0.8822930455207825, 0.4321484863758087, -0.3345509171485901, -0.32877781987190247, -0.3058854937553406, -0.5658908486366272, -0.2794233560562134, 0.4133319854736328, 0.5457961559295654, 0.7995991110801697, -0.5495829582214355, 0.2194126397371292, 0.8366047143936157, 0.060283150523900986, 0.7367590069770813, 0.05680936947464943, -0.09568341821432114, -0.6235901713371277, 0.6340057253837585, -0.07552270591259003, 0.6434509754180908, 0.5495358109474182, 0.40395689010620117, -0.2781417965888977, -0.9327793717384338, -0.4919077754020691, 0.17106319963932037, -0.541784942150116, -0.13114193081855774, -0.6945906281471252, -0.02635079436004162, -0.3064500093460083, -0.20047523081302643, -0.4134737253189087, -0.31829315423965454, -0.3125736713409424, 0.20929299294948578, 0.13436131179332733, 0.522659420967102, 0.29509228467941284, 0.2945158779621124, -0.8501649498939514, 0.7878017425537109, 0.176895871758461, 0.4977411925792694, -0.3941580653190613, -0.6006068587303162, -0.1349823921918869, 0.2619767487049103, -0.3712397813796997, -0.7759106159210205, 0.2358824908733368, 0.5722232460975647, 0.5770004391670227, 0.6445490121841431, 0.16647766530513763, 0.7994630932807922, -0.35739514231681824, 0.8775936961174011, -0.018366705626249313, -0.8711677193641663, 0.5104362368583679, -0.3237423300743103, 0.5479562878608704, 1.2978423833847046, 0.11950749158859253, -0.16182267665863037, -0.8860034942626953, -0.7114893198013306, -0.9693819880485535, 0.17062997817993164, 0.671550452709198, -0.037139590829610825, -0.03413946181535721, 0.17294470965862274, 0.5756835341453552, 0.2811405062675476, -0.36223191022872925, -0.21438221633434296, -0.1967916339635849, -0.32884541153907776, -0.057187821716070175, -0.26789548993110657, 0.004665096290409565, -0.04228191077709198, 0.6080329418182373, -0.35401207208633423, -0.0403921902179718, 0.5392494797706604, -0.2870651185512543, 0.3743438124656677, 0.1709955483675003, 0.5781915783882141, 0.900318443775177, -0.6569508910179138, -0.026154376566410065, 0.6402778625488281, -0.6725656986236572, -0.34348586201667786, 0.07867349684238434, -0.2835150957107544, 0.5451933741569519, 0.9249858260154724, 0.5011324882507324, 0.36303776502609253, -0.6367003321647644, 0.7811965346336365, -0.4349932074546814, -0.31884607672691345, -0.07657980918884277, -0.0797581598162651, -0.09168412536382675, -0.05961023271083832, 0.3258267045021057, 0.352144330739975, 0.6742847561836243, -0.5980072617530823, 0.27232101559638977, 0.574759840965271, -0.19826966524124146, -0.013852270320057869, 0.5688119530677795, -0.04467618837952614, -0.2061586230993271, 0.3443502187728882, -0.3325602114200592, -0.08980197459459305, 0.4043751657009125, 0.33003470301628113, 1.1560198068618774, 0.2634766697883606, 0.08263569325208664, 0.20823721587657928, 0.3453085720539093, -0.24309995770454407, 0.28188690543174744, -0.04609967768192291, -0.4128172993659973, -0.7786269783973694, -0.7500623464584351, -0.7545414566993713, -0.1766151487827301, -0.6738600730895996, 0.10966615378856659, 0.023039663210511208, 0.12419300526380539, 0.05911441147327423, 0.03801647201180458, -0.2230067402124405, 0.13869130611419678, 0.0017922957194969058, 1.229612946510315, -0.7646963596343994, 0.4705829620361328, 0.21915479004383087, -0.2868613600730896, -0.3643082082271576, 0.3431008458137512, -0.30558258295059204, -0.13747838139533997, -0.2331514209508896, 0.1737886369228363, -0.24256005883216858, -0.4124489426612854, -0.48843297362327576, -0.6764364242553711, 0.8506688475608826, 0.650614857673645, -0.1486574411392212, 0.14353539049625397, 0.21917824447155, 0.502615749835968, -0.1902662217617035, 0.3948534429073334, 0.7019897103309631, 0.4888743460178375, -0.08306929469108582, -0.7188873291015625, -0.1954362541437149, -0.2719734311103821, -0.06147921457886696, 0.16719171404838562, -0.4400958716869354, 0.4097795784473419, -0.25009647011756897, -0.26323673129081726, 0.29954028129577637, 1.0683225393295288, 0.27794864773750305, 0.587538480758667, 0.3330676257610321, 0.6174529790878296, 0.8519119620323181, -0.0662592425942421, 1.5237022638320923, 0.0024990765377879143, 0.4208114445209503, 1.4326804876327515, -0.05749380588531494, 0.6897383332252502, 0.6903932690620422, -0.16882315278053284, 0.40957745909690857, 0.4469945430755615, -0.09615458548069, 0.6273389458656311, 0.0852208212018013, -0.19882091879844666, 0.10169003158807755, -0.12403511255979538, -0.15374024212360382, 0.3480410575866699, 0.15797743201255798, -0.0977378860116005, -0.4716876149177551, -0.16094247996807098, -0.11290239542722702, 0.2497561275959015, -0.20870020985603333, 0.9850794076919556, 0.1892079859972, -0.7318041920661926, 0.5759812593460083, -0.06363363564014435, 0.7216203212738037, -0.7788716554641724, -0.020802589133381844, -0.5096259713172913, 0.18330228328704834, -0.4764169454574585, -0.7612367272377014, 0.6540073156356812, -0.2154017686843872, -0.1813991367816925, -0.08590979874134064, 0.6580549478530884, -0.39668482542037964, -0.6186931729316711, 0.0000019015570842384477, 0.27390292286872864, 0.06815216690301895, -0.3215344548225403, -0.17186585068702698, -0.4717878997325897, -0.13375936448574066, -0.31997695565223694, 0.17780476808547974, 0.5712345242500305, -0.13144250214099884, 0.5196874141693115, 0.5139988660812378, -0.005049507133662701, -0.14524075388908386, 0.47247058153152466, 0.722425639629364, -0.20956900715827942, -0.5856598019599915, -1.2478783130645752, 0.5364220142364502, -0.44406622648239136, -0.5742427110671997, 1.1997735500335693, 1.0683221817016602, 0.5904960632324219, -0.130324125289917, 0.6787205338478088, 0.4346939027309418, 0.11749999970197678, -0.47566208243370056, 0.6177572011947632, -0.4825119078159332, -0.01496480219066143, -0.5574419498443604, -0.9727172255516052, -0.40909603238105774, 0.1348804384469986, -0.1581571102142334, -0.3100326657295227, 0.8622623682022095, 0.5451316833496094, -0.4311031401157379, 0.46546250581741333, 0.07761311531066895, -0.1848689764738083, 0.16226613521575928, 0.24090135097503662, 0.7348259687423706, -0.5776910185813904, 0.2589828073978424, -0.30161720514297485, -0.1738717406988144, -0.12287525832653046, -1.0218701362609863, -1.0533236265182495, -0.034413911402225494, -0.3402405381202698, -0.23313677310943604, -0.24948705732822418, 0.7166633009910583, 0.3920955955982208, -0.9346786737442017, -0.14658910036087036, -0.28481701016426086, 0.12271042168140411, -0.4983147084712982, -0.1982116401195526, 0.3831453323364258, -0.34519651532173157, -0.6988377571105957, 0.44251009821891785, 0.5516492128372192, 0.07230152189731598, -0.038363780826330185, 0.029907632619142532, -0.17179444432258606, 0.3350655734539032, 0.6463177800178528, -0.05770852044224739, -0.6318184733390808, 0.008006894960999489, -0.2760831415653229, -0.045490067452192307, 0.17789192497730255, 0.6951410174369812, -0.42431241273880005, 0.25701308250427246, 0.6071774959564209, 0.8944209814071655, 0.7679422497749329, 0.26603221893310547, 0.4705421030521393, -0.8505846261978149, 0.02517453394830227, 0.3456742763519287, 0.5783748626708984, 0.3903399407863617, -0.37664780020713806, 0.6475639939308167, 0.0021505814511328936, -0.2924356460571289, -0.8821874260902405, 0.10734762996435165, -1.1881928443908691, -0.377887099981308, 1.2223814725875854, -0.14770323038101196, -0.3539375066757202, -0.24696774780750275, -0.28456488251686096, 0.1516646295785904, -0.2477286458015442, 0.6184079647064209, 0.5210558176040649, -0.02873803861439228, 0.3968660533428192, -0.4304378926753998, 0.5124964714050293, 0.42194458842277527, -1.0343997478485107, 0.16694897413253784, 0.14609254896640778, 0.20248675346374512, 0.30101922154426575, 0.3741796314716339, -0.03472625091671944, 0.16277237236499786, 0.06265458464622498, -0.18504798412322998, 0.07681964337825775, -0.1796461045742035, -0.29292696714401245, 0.35847657918930054, -0.1741078644990921, -0.09280534833669662 ]
http://arxiv.org/abs/2402.17613v2
http://arxiv.org/pdf/2402.17613v2
Neural Automated Writing Evaluation with Corrective Feedback
2024-02-27T15:42:33
2024-05-06T10:02:08
Izia Xiaoxiao Wang, Xihan Wu, Edith Coates, Min Zeng, Jiexin Kuang, Siliang Liu, Mengyang Qiu, Jungyeul Park
cs.CL
cs.CL
The utilization of technology in second language learning and teaching has become ubiquitous. For the assessment of writing specifically, automated writing evaluation (AWE) and grammatical error correction (GEC) have become immensely popular and effective methods for enhancing writing proficiency and delivering instant and individualized feedback to learners. By leveraging the power of natural language processing (NLP) and machine learning algorithms, AWE and GEC systems have been developed separately to provide language learners with automated corrective feedback and more accurate and unbiased scoring that would otherwise be subject to examiners. In this paper, we propose an integrated system for automated writing evaluation with corrective feedback as a means of bridging the gap between AWE and GEC results for second language learners. This system enables language learners to simulate the essay writing tests: a student writes and submits an essay, and the system returns the assessment of the writing along with suggested grammatical error corrections. Given that automated scoring and grammatical correction are more efficient and cost-effective than human grading, this integrated system would also alleviate the burden of manually correcting innumerable essays.
[ -0.0006816834793426096, -0.9778938889503479, 0.4420062005519867, 0.3967686891555786, 0.390047162771225, 0.4950442314147949, -0.4686996340751648, -0.4382390081882477, 0.21836763620376587, 0.13637734949588776, -0.3403586149215698, -0.46882739663124084, -0.36357811093330383, 0.29675352573394775, -0.3117973506450653, 0.8938722014427185, -0.26365453004837036, 0.2917957007884979, -0.4844959080219269, 0.005295679904520512, -0.5021724104881287, -0.4704548716545105, -1.0166748762130737, -0.36543551087379456, 0.45487067103385925, 0.4619756042957306, 0.3414905071258545, 0.11594800651073456, 0.5855918526649475, 0.5166703462600708, 0.521087646484375, 0.33987417817115784, 0.16220153868198395, -0.06217337027192116, -0.3139232099056244, -0.4076199233531952, -0.5197017192840576, 0.003365332493558526, 0.6161268353462219, 0.6963131427764893, -0.043954428285360336, 0.07624618709087372, 0.33415812253952026, 0.5789729356765747, -0.573199450969696, 0.007394828833639622, -0.12113980203866959, 0.2679187059402466, 0.26600074768066406, -0.076743483543396, -0.6118656396865845, -0.7988066673278809, -0.016299204900860786, -0.3974507451057434, -0.06243740767240524, -0.266679972410202, 0.6567541360855103, 0.2654736042022705, -0.04933791607618332, -0.5066756010055542, -0.7667672634124756, 0.6031959652900696, -0.7800659537315369, -0.07737076282501221, 0.19639135897159576, 0.18093731999397278, 0.10450911521911621, -0.5718953609466553, -0.8658438324928284, -0.661308228969574, -0.1421450823545456, 0.5342728495597839, -0.039326246827840805, 0.2931126356124878, -0.01674594357609749, 0.32788288593292236, -0.466973215341568, 0.26568281650543213, -0.05862611159682274, -0.24102473258972168, 0.7379146814346313, 0.043589092791080475, 0.6656808257102966, 0.03469584882259369, -0.017056509852409363, -0.023302771151065826, -0.036597490310668945, 0.06235434487462044, 0.7368374466896057, 0.3129274249076843, 0.13141700625419617, 0.6414201259613037, 0.0901399776339531, 0.5997247099876404, -0.027260545641183853, 0.09769150614738464, 0.1431494951248169, -0.054200317710638046, -0.1914421021938324, -0.17134758830070496, 0.9004619121551514, 0.6184159517288208, 0.4103294312953949, -0.18875528872013092, -0.5067397356033325, 0.581719160079956, 0.5033668875694275, -0.22043514251708984, -0.03731405362486839, 0.09341499954462051, -0.21778610348701477, -0.4347376227378845, 0.2437949925661087, -0.8636509776115417, -0.06300490349531174, -0.607957124710083, 0.9032126069068909, -0.20181144773960114, 0.01866314187645912, -0.05066831782460213, -0.19347378611564636, -0.12952174246311188, 0.37058931589126587, -0.9103001952171326, 0.8382324576377869, 0.529776930809021, 0.7900205850601196, -0.1521761268377304, -0.5315067768096924, -0.4339585304260254, -0.4227549135684967, -0.40695202350616455, 0.8846848607063293, -0.3442152738571167, -0.3060321509838104, 0.3422512412071228, -0.08871403336524963, -0.33402758836746216, -0.38595882058143616, 0.3683813810348511, -0.5131345987319946, 0.6278411746025085, 0.20593762397766113, -0.695097029209137, -0.19291742146015167, 0.18912026286125183, -0.49837246537208557, 1.2431375980377197, 0.3251807987689972, -0.3929910361766815, -0.032326776534318924, -0.8093317747116089, -0.6459829211235046, 0.0600675605237484, 0.02089565247297287, -0.32141628861427307, -0.010102265514433384, 0.09254717826843262, 0.29068928956985474, 0.049952395260334015, 0.1508498340845108, 0.04104037582874298, -0.5940790176391602, 0.10089161247015, -0.2342648208141327, 0.521202802658081, -0.14885839819908142, -0.9197101593017578, 0.26786231994628906, -0.9190394878387451, 0.5066680312156677, -0.17732453346252441, -0.6859705448150635, -0.0751701220870018, -0.3097979724407196, 0.180449977517128, -0.04670080542564392, 0.2275007665157318, -0.49281617999076843, 0.19821318984031677, -0.457577645778656, 0.02469911053776741, 0.870574414730072, -0.11992380768060684, 0.5232574343681335, -0.2506023347377777, 0.6547815203666687, -0.5903985500335693, -0.11893901228904724, 0.14054006338119507, -0.3312591016292572, -1.169013500213623, 0.2404475212097168, 0.47376537322998047, 1.1199296712875366, -0.5197080373764038, 0.9082749485969543, 0.13242362439632416, -0.3192300498485565, -0.8279889225959778, 0.2603907287120819, 0.67369544506073, 0.5888854265213013, 0.3181236982345581, -0.22615380585193634, -0.7225111126899719, -0.498241662979126, -0.28694960474967957, -0.426165372133255, -0.11472702026367188, -0.026357902213931084, 0.48778533935546875, -0.32216760516166687, 0.6339667439460754, -0.3948224186897278, -0.5383263230323792, -0.4150391221046448, 0.3565378189086914, -0.14400143921375275, 0.6527174115180969, 0.21842654049396515, -0.07587244361639023, -0.7906535863876343, 0.3100883364677429, -0.7853162884712219, -0.6004564166069031, -0.37322402000427246, -0.02455228939652443, 0.6070359349250793, 0.4322110414505005, -0.10836586356163025, 0.44271615147590637, 0.44761669635772705, -0.380584716796875, 0.8302204608917236, -0.5152856111526489, 0.42520812153816223, -0.7451052665710449, 0.09561651945114136, -0.09546877443790436, -0.04554207995533943, -0.22032849490642548, 0.02646540105342865, 0.09299878031015396, 0.09506435692310333, 0.31143221259117126, 0.3792806565761566, -0.16714924573898315, 0.08128482103347778, -0.3950638771057129, 0.16892392933368683, 0.10304446518421173, 0.6253818869590759, -0.16022087633609772, 0.6964731812477112, 0.2414524257183075, -0.2979496717453003, 0.486921489238739, -0.04869099333882332, -0.18006008863449097, 0.5938952565193176, -0.5053135752677917, 0.4297002851963043, -0.10679420083761215, 0.06744831800460815, -1.0188384056091309, -0.2642527222633362, -0.010429631918668747, -0.7129996418952942, 0.3282899856567383, 0.39082854986190796, -0.17114344239234924, -0.4134993255138397, -0.25591546297073364, -0.3214128911495209, 0.4968889355659485, -0.4779186248779297, 0.7120857238769531, 0.061017632484436035, -0.4585220515727997, -0.7552807927131653, -0.7446165084838867, 0.31118205189704895, 0.4057360291481018, -0.5865669250488281, 0.10794670879840851, -0.07154776155948639, -0.4412304759025574, 0.25504347681999207, 0.44989287853240967, -0.0283456202596426, -0.09043341875076294, 0.3460409939289093, 0.5438791513442993, -0.2117171287536621, 0.36505523324012756, 0.2535208463668823, -0.20429225265979767, 0.056581079959869385, -0.5731421709060669, 0.2996642291545868, -0.4600781202316284, -0.5088927149772644, -0.6969246864318848, 0.7249935865402222, 0.555698573589325, -0.05382288247346878, 0.3277023136615753, 0.4897579550743103, -0.6462734341621399, -0.4528477191925049, -0.7942669987678528, -0.05280715227127075, -0.40678462386131287, 0.3629246652126312, -0.16515028476715088, -0.7203284502029419, 0.3327348828315735, 0.12761250138282776, 0.06350769102573395, 0.6254457235336304, 0.535811185836792, -0.32753676176071167, 0.8944143056869507, 0.7546437978744507, -0.05472968518733978, 0.21775352954864502, -0.20293587446212769, 0.294437050819397, -0.46710023283958435, -0.36768484115600586, -0.7082458138465881, -0.3781936764717102, -0.009980776347219944, -0.07910051196813583, -0.018961390480399132, -0.07193629443645477, -0.07368781417608261, 0.0729580819606781, -0.6142042875289917, 0.6298105716705322, 0.7250162959098816, -0.08603490144014359, 0.24301289021968842, -0.027016036212444305, -0.6721201539039612, -0.35861456394195557, -0.33613118529319763, -0.831051766872406, 0.9036604762077332, 0.10758902877569199, 0.5160984396934509, -0.13178998231887817, 0.522500216960907, 0.6304501295089722, 0.6265046000480652, -0.9145802855491638, 0.5764056444168091, -0.33770081400871277, -0.06222983077168465, -0.28280526399612427, -0.18233788013458252, -0.21976354718208313, 0.10397990792989731, -0.16761614382266998, -0.539016604423523, -0.0618133544921875, 0.07073097676038742, -0.7239468693733215, 0.3122076988220215, -1.112769603729248, 0.7423685789108276, -0.26871737837791443, -0.46412497758865356, -0.16976626217365265, -0.6367072463035583, -0.20298220217227936, 0.15038925409317017, -0.04995644837617874, 0.38985395431518555, 0.10593114793300629, 0.8028333783149719, -0.689210832118988, 0.9133079051971436, -0.24381275475025177, 0.03711077570915222, 0.5214319229125977, -0.06181171536445618, 0.332958847284317, -0.114301398396492, -0.2717874348163605, -0.22016017138957977, -0.48713621497154236, 0.11998078972101212, -0.7737306952476501, 0.8155230283737183, -0.8424277901649475, -0.23650327324867249, -0.4892258942127228, -0.15515470504760742, -0.21710626780986786, 0.08858051151037216, 0.19296620786190033, 0.3101927936077118, -0.4178347885608673, -0.38133540749549866, 0.21367712318897247, 0.0766436830163002, 0.5097082257270813, 0.638016402721405, -0.24499669671058655, -0.7453411817550659, 0.8416218161582947, 0.15605583786964417, 0.025649933144450188, 0.3321842849254608, 0.1309995800256729, -0.4478617310523987, -0.3165619373321533, -0.765833854675293, 0.07249531149864197, -0.9009124040603638, 0.03209945559501648, -0.7901753783226013, -0.1895923912525177, -0.6291761994361877, -0.758240282535553, -0.14445924758911133, -0.4130415916442871, -0.2893202304840088, -0.3279343247413635, -0.11366677284240723, 0.8491618633270264, -0.416221559047699, 0.3620529770851135, -0.6728496551513672, 0.0783454105257988, 0.41658085584640503, 0.39370185136795044, 0.148380845785141, -0.41721490025520325, -0.15206275880336761, -0.33040228486061096, -0.3483441472053528, -0.5461242198944092, 0.22212578356266022, 0.3760286569595337, 0.1014166921377182, 0.12874451279640198, -0.6341768503189087, 0.7269720435142517, -0.6337299346923828, 0.7491315603256226, 0.2336277961730957, -1.2663668394088745, 0.6538880467414856, -0.010827691294252872, 0.33452853560447693, 0.9603244066238403, 0.02755892276763916, -0.9332261681556702, -0.4995286464691162, -0.29532390832901, -0.6615515351295471, 0.5361273288726807, -0.17473961412906647, 0.0848982110619545, -0.002893960103392601, 0.40001538395881653, 0.15836642682552338, 0.01914147473871708, -0.7291410565376282, 0.28367236256599426, 0.03143669664859772, -0.6515167951583862, 0.07245387136936188, -0.08520686626434326, -0.03560220077633858, -0.3323670029640198, 1.0803792476654053, -0.26733335852622986, 0.16176269948482513, 0.4088267982006073, -0.05641384795308113, -0.3960210680961609, 0.3528457581996918, 0.35379713773727417, 0.2845747172832489, 0.07492329180240631, 0.008367455564439297, 0.3456011712551117, -0.6206629872322083, 0.24876104295253754, 0.03436479717493057, -0.2979736030101776, 0.2457844614982605, 0.5290741920471191, 0.3670608401298523, 0.026312440633773804, -0.7327585816383362, 0.5446327924728394, -0.218543142080307, -0.2734862267971039, -0.5272215604782104, 0.1691937893629074, -0.027345603331923485, 0.05081126093864441, 0.16463002562522888, 0.7565818428993225, 0.15273359417915344, -0.32042327523231506, 0.22772017121315002, 0.20608361065387726, -0.6126092076301575, -0.29383933544158936, 0.4150615930557251, 0.499740868806839, -0.7291173338890076, 0.690485954284668, -0.16966713964939117, -0.7171671986579895, 0.6966766715049744, 0.6642912030220032, 1.1946570873260498, -0.5769965052604675, 0.46983015537261963, 0.5953495502471924, 0.4551243484020233, -0.013551786541938782, 0.5114293694496155, 0.05193256214261055, -0.3689023554325104, -0.5767040848731995, -0.7048182487487793, -0.5341538190841675, -0.07189089059829712, -0.5291475057601929, 0.28618916869163513, -0.7179145216941833, -0.034285079687833786, -0.121271513402462, 0.08834115415811539, -0.3355053663253784, 0.5853787660598755, 0.12481401115655899, 0.4532149136066437, -0.8664142489433289, 0.4007711410522461, 1.0853443145751953, -0.37410053610801697, -0.8670154809951782, -0.13715364038944244, 0.11796045303344727, -0.49586763978004456, 0.5103237628936768, 0.4846484065055847, -0.640910267829895, -0.1826128214597702, -0.21227334439754486, -0.26524072885513306, 0.5126195549964905, 0.11438294500112534, -0.4846712052822113, 0.10267040133476257, 0.30276045203208923, 1.0870976448059082, -0.2993376851081848, 0.619318962097168, 0.481661319732666, 0.4988012909889221, -0.2855317294597626, -0.9031543135643005, -0.19262178242206573, -0.7241173386573792, -0.013717103749513626, -0.02878427878022194, -0.4492810368537903, 0.42115503549575806, -0.40791741013526917, -0.32786285877227783, 0.15393486618995667, 0.6655199527740479, -0.507321834564209, 0.4281280040740967, 0.4207730293273926, 0.8326748013496399, 0.873081386089325, -0.11741475015878677, 0.7508827447891235, 0.05223819613456726, 0.22801078855991364, 1.0659023523330688, -0.4050035774707794, 1.0339782238006592, 0.37473711371421814, -0.293913871049881, 0.8764135837554932, 0.2915841341018677, 0.03757908195257187, 0.13628903031349182, 0.38339143991470337, -0.6638213396072388, 0.06823348253965378, -0.0483957976102829, -0.02984011545777321, 0.340241402387619, 0.14360041916370392, -0.28081706166267395, 0.04287385568022728, 0.08166413754224777, 0.09057151526212692, 0.7132470607757568, -0.1890343725681305, 1.0310858488082886, -0.13388089835643768, -1.283596158027649, 0.09090451151132584, 0.22997720539569855, 0.7857013940811157, -0.6451808214187622, -0.20388104021549225, -0.17368723452091217, 0.5433915257453918, -0.6099079847335815, -0.7006734609603882, 0.5730694532394409, 0.35705140233039856, -0.24892114102840424, -0.19221097230911255, 0.8593454957008362, -0.6140632629394531, -0.6080260276794434, 0.5435518026351929, 0.25021713972091675, -0.2200380563735962, 0.2646477520465851, -0.4032284915447235, -0.1527090221643448, -0.06772221624851227, -0.01592255011200905, -0.1439094990491867, 0.02148319035768509, 0.22050093114376068, 0.351260244846344, 0.6807106137275696, 0.224261075258255, -0.07071173191070557, 0.5906064510345459, 0.35250070691108704, -0.4382171630859375, -0.6212640404701233, -0.8133425712585449, 0.6643338799476624, -0.26359379291534424, -0.4926435351371765, 0.5992675423622131, 0.4628797769546509, 0.7808017730712891, -0.3354710638523102, 1.2779213190078735, -0.1054726243019104, 0.5900104641914368, -0.3776465654373169, 0.7812625169754028, -0.42032167315483093, -0.07095279544591904, -0.4246706962585449, -0.7582480311393738, -0.6371224522590637, 0.7096870541572571, -0.09592953324317932, -0.10190778970718384, 1.0480308532714844, 0.6759945154190063, 0.43476322293281555, 0.3429633378982544, 0.1555185168981552, -0.12353819608688354, 0.0815517008304596, 0.4007691740989685, 0.944384753704071, -0.5997194647789001, 0.13417014479637146, -0.37724635004997253, -0.5956985950469971, -0.23166492581367493, -0.48590099811553955, -0.7331360578536987, -0.4814072549343109, -0.4499659538269043, -0.5093390941619873, 0.27324727177619934, 0.9697287678718567, 0.05859290063381195, -0.9503987431526184, -0.331753134727478, -0.19275815784931183, 0.017124490812420845, -0.3670719861984253, -0.3384845554828644, 0.38480132818222046, -0.7187701463699341, -1.0423816442489624, 0.29029613733291626, 0.7573635578155518, -0.03150128200650215, -0.2793404459953308, -0.04111922159790993, -0.11540356278419495, 0.15582308173179626, 0.5195391774177551, 0.0703517496585846, -0.4806136190891266, -0.45336294174194336, 0.0837588682770729, -0.34743690490722656, -0.0734580010175705, 0.7685889601707458, -0.573138415813446, 0.6367886066436768, 0.5737082958221436, 1.0040444135665894, -0.3275293707847595, -0.15900081396102905, 0.701967716217041, -0.5548995733261108, -0.21737147867679596, 0.5414392352104187, 0.24825380742549896, 0.5061568021774292, -0.6182462573051453, 0.5064116716384888, 0.22398942708969116, -0.7424497604370117, -0.42271143198013306, -0.3101954162120819, -0.6633332371711731, -0.013808914460241795, 0.7200773358345032, -0.37939852476119995, 0.01588602364063263, -0.03405481576919556, -0.5285570025444031, 0.3139285743236542, -0.15684683620929718, 1.0511510372161865, 1.0059596300125122, -0.17428280413150787, 0.265063613653183, -0.30001553893089294, 0.33186426758766174, 0.9258692264556885, -1.2260693311691284, -0.3181225061416626, 0.6079983711242676, -0.007008114829659462, 0.41579318046569824, 0.6366622447967529, -0.0025613000616431236, 0.47773149609565735, 0.14546100795269012, 0.3194699287414551, 0.26218754053115845, -0.5564457178115845, -0.6308901309967041, 0.33562490344047546, -0.18470647931098938, -0.1420275717973709 ]
http://arxiv.org/abs/2402.17608v1
http://arxiv.org/pdf/2402.17608v1
Linguistic Knowledge Can Enhance Encoder-Decoder Models (If You Let It)
2024-02-27T15:34:15
2024-02-27T15:34:15
Alessio Miaschi, Felice Dell'Orletta, Giulia Venturi
cs.CL
cs.CL
In this paper, we explore the impact of augmenting pre-trained Encoder-Decoder models, specifically T5, with linguistic knowledge for the prediction of a target task. In particular, we investigate whether fine-tuning a T5 model on an intermediate task that predicts structural linguistic properties of sentences modifies its performance in the target task of predicting sentence-level complexity. Our study encompasses diverse experiments conducted on Italian and English datasets, employing both monolingual and multilingual T5 models at various sizes. Results obtained for both languages and in cross-lingual configurations show that linguistically motivated intermediate fine-tuning has generally a positive impact on target task performance, especially when applied to smaller models and in scenarios with limited data availability.
[ -0.2988584041595459, -0.5797131657600403, 0.5106054544448853, -0.06620168685913086, -0.08684972673654556, -0.18090364336967468, -0.3603309094905853, -0.7388596534729004, -0.1878112107515335, 0.44947895407676697, -0.47904837131500244, -0.3966630697250366, -0.9971258640289307, 0.3431199789047241, -0.3777220547199249, 0.9232609868049622, 0.22037355601787567, 0.23420186340808868, -0.07131900638341904, 0.07087323069572449, -0.5952628254890442, -0.3662666082382202, -0.5891496539115906, -0.4635685384273529, 0.5538657307624817, 0.39961203932762146, 0.6397936344146729, 0.7140721082687378, 0.5177904963493347, 0.3038020730018616, -0.24200232326984406, 0.17120246589183807, -0.6212589740753174, -0.04023927450180054, -0.4849833548069, -0.9509125351905823, -0.3383166491985321, -0.3980032503604889, 0.38110458850860596, 0.9777762293815613, 0.20113658905029297, 0.06673084199428558, 0.23422126471996307, 0.44337114691734314, -0.6029413342475891, 0.3114318549633026, -0.7504710555076599, -0.12520553171634674, -0.11699683219194412, -0.27688348293304443, -0.4227510988712311, 0.04682191461324692, 0.0684448629617691, -0.5213558673858643, 0.320339560508728, -0.046143244951963425, 0.9769178032875061, 0.7782427072525024, -0.3665849268436432, -0.29576101899147034, -0.7614327073097229, 0.5158758163452148, -0.729427695274353, 0.5492705702781677, 0.6385732293128967, 0.0534796416759491, -0.07001281529664993, -0.5277307629585266, -0.3377552330493927, -0.06112876534461975, -0.417391300201416, -0.029558077454566956, 0.05910880118608475, 0.494218111038208, 0.5931739807128906, 0.3056962192058563, -0.18073531985282898, 0.12732674181461334, -0.8435254693031311, 0.0348023883998394, 0.3471386134624481, 0.15851984918117523, 0.5746265649795532, -0.017126034945249557, 0.37005680799484253, 0.32010549306869507, -0.6457041501998901, 0.16475972533226013, 0.30992716550827026, 0.38584578037261963, -0.059618160128593445, 0.7444031834602356, -0.4649657905101776, 0.8974853754043579, 0.3858598470687866, 0.045401494950056076, 0.19158761203289032, -0.5945618748664856, -0.22351744771003723, 0.18169228732585907, 0.3874090611934662, 0.02776901237666607, 0.4726075530052185, -0.34905508160591125, -0.20772700011730194, 0.27703770995140076, 0.33972054719924927, -0.7670965194702148, -0.28673961758613586, 0.03855184093117714, -0.19544169306755066, -0.062033411115407944, -0.011578149162232876, -0.1783273071050644, -0.11688769608736038, -0.34739676117897034, 0.45604684948921204, -0.7870992422103882, 0.03611387312412262, 0.6293520331382751, -0.19198915362358093, -0.01683001220226288, 0.1812652349472046, -1.0471620559692383, 0.17003735899925232, 0.7662555575370789, 0.6016691327095032, 0.4224005341529846, -0.45441362261772156, -0.5451692938804626, 0.2761740982532501, -0.38175827264785767, 0.5340080857276917, -1.1166311502456665, -0.086310014128685, -0.13970470428466797, 0.1130947396159172, -0.08903621137142181, -0.32052159309387207, 0.579896092414856, -0.39634430408477783, 0.08378824591636658, -0.3215462267398834, -0.609371542930603, -0.14640362560749054, 0.2501900792121887, -0.8877428770065308, 0.6873260736465454, -0.009708017110824585, -0.7515684962272644, 0.703283965587616, -0.6867926716804504, -0.7865272760391235, -0.06174755096435547, 0.08128099143505096, -0.17875488102436066, 0.5276957750320435, 0.4960649907588959, 0.5545694828033447, -0.08271443098783493, 0.12239570915699005, -0.2664962410926819, -0.4324248135089874, 0.11782310903072357, -0.12117863446474075, 0.3005737066268921, 0.021641019731760025, -0.2002163976430893, -0.025494752451777458, -0.7806743383407593, -0.19809502363204956, -0.4045494496822357, -0.4687682092189789, -0.23818857967853546, 0.09260722994804382, -0.3303587734699249, 0.11494959890842438, 0.41896384954452515, -0.6067904233932495, 0.022838162258267403, -0.767734944820404, 0.5069485902786255, 0.4038381278514862, 0.03074437566101551, 0.5178125500679016, -0.32281574606895447, 0.5132898688316345, 0.32789701223373413, 0.04417725279927254, -0.4030184745788574, -0.2877993583679199, -1.008601427078247, 0.1324491947889328, 0.6285502910614014, 0.3431258797645569, -1.0645413398742676, 0.2973669171333313, -0.5055509805679321, -0.41172361373901367, -0.7592352032661438, 0.09621794521808624, 0.5676084160804749, 0.13785871863365173, 0.4287370443344116, -0.12573473155498505, -0.7602283358573914, -0.8436840176582336, -0.65559983253479, 0.029911218211054802, -0.05140986293554306, 0.06325540691614151, 0.4453909993171692, -0.130597785115242, 0.6514432430267334, -0.2714945077896118, -0.48258742690086365, -0.5047099590301514, -0.0034681428223848343, 0.3284228444099426, 0.6102256178855896, 0.3482380211353302, -0.6376720666885376, -0.47239914536476135, 0.22819091379642487, -0.6187023520469666, -0.020513834431767464, 0.0755220502614975, 0.16388066112995148, 0.018764929845929146, 0.5183982849121094, -0.5920481085777283, 0.2512863576412201, 0.41900405287742615, -0.5154238939285278, 0.24483999609947205, -0.6544886231422424, 0.27838730812072754, -1.1697189807891846, -0.2221704125404358, 0.10042225569486618, 0.06838344782590866, -0.9185903668403625, 0.013132310472428799, 0.11673959344625473, 0.03136347234249115, -0.19063197076320648, 0.1753203272819519, -0.5192744135856628, -0.03567982092499733, -0.06271082907915115, -0.501742422580719, -0.07404311746358871, 0.31292182207107544, 0.1506212055683136, 0.8319334983825684, 0.431703120470047, -0.5721069574356079, -0.1903432458639145, 0.043242841958999634, -0.7372773885726929, 0.15080615878105164, -0.9272252917289734, 0.07744881510734558, -0.35425037145614624, -0.3469947278499603, -0.7109413146972656, -0.5433247089385986, -0.25837093591690063, -0.6906708478927612, 0.31010350584983826, -0.2275034487247467, -0.47118350863456726, -0.06250640004873276, 0.2761218249797821, 0.40443557500839233, 0.36089277267456055, -0.2878860831260681, 0.7773739099502563, 0.17783749103546143, 0.04702230542898178, -0.47664910554885864, -0.9194068908691406, 0.01317298598587513, -0.1593160182237625, -0.5708951354026794, 0.411531001329422, 0.05586588755249977, -0.027410408481955528, -0.03727467358112335, 0.11566722393035889, -0.11828342080116272, 0.028541207313537598, 0.2704719603061676, -0.14502134919166565, -0.1081322431564331, 0.37032464146614075, 0.26732808351516724, -0.04005361720919609, 0.022738348692655563, -0.3471187353134155, 0.5082990527153015, -0.14723606407642365, -0.04384225979447365, -0.15161274373531342, 0.04659522697329521, 0.5383804440498352, -0.4377850592136383, 0.8662307858467102, 0.5194580554962158, -0.4882257282733917, -0.2147141993045807, -0.5427705645561218, -0.25597572326660156, -0.5101404190063477, 0.6278181672096252, -1.048710584640503, -0.9010758399963379, 0.3834950923919678, 0.21571281552314758, -0.23650602996349335, 0.3258335590362549, 0.36528587341308594, -0.12703433632850647, 1.0585801601409912, 0.9970360994338989, -0.14962781965732574, 0.632814884185791, -0.21841420233249664, 0.2491237372159958, -0.57563316822052, -0.2696661949157715, -0.5820505619049072, -0.42737001180648804, -0.5859967470169067, -0.3335779011249542, 0.48387911915779114, 0.07402370125055313, -0.3609147369861603, 0.4525812864303589, -0.24479781091213226, 0.7039514183998108, 0.33790650963783264, 0.6688734292984009, 0.43452829122543335, -0.09196718782186508, 0.110060915350914, -0.025833215564489365, -1.0520542860031128, -0.24680687487125397, 1.1646195650100708, 0.2642327547073364, 0.7252247929573059, -0.06967556476593018, 0.46112269163131714, 0.10004410892724991, -0.35321566462516785, -0.5492238402366638, 0.3186374008655548, -0.5615843534469604, -0.48315319418907166, -0.3913063406944275, -0.3194839060306549, -0.8609264492988586, -0.17910656332969666, -0.23109018802642822, -0.47204717993736267, 0.34763845801353455, 0.18149471282958984, -0.457669198513031, 0.031039265915751457, -0.8473884463310242, 0.8062137365341187, -0.09144379198551178, -0.33190372586250305, -0.4543774127960205, -0.3988196849822998, -0.09427236020565033, 0.018273817375302315, 0.2128268927335739, -0.04500504955649376, -0.30092930793762207, 0.5862563252449036, -0.19919003546237946, 0.97354656457901, -0.08027868717908859, 0.06572441756725311, -0.25159627199172974, 0.07752805948257446, 0.4408056437969208, -0.12462642788887024, -0.39594948291778564, 0.09124815464019775, -0.1188463494181633, -0.5066301822662354, -0.7678266167640686, 0.464711457490921, -0.9137652516365051, -0.6611686944961548, 0.25784367322921753, -0.7318904399871826, -0.36702123284339905, 0.3420273959636688, 0.5269426703453064, 0.5373178124427795, 0.01848633587360382, 0.46304064989089966, 0.7125421166419983, 0.13860774040222168, 0.28547370433807373, 0.4131348431110382, 0.4313402473926544, -0.11924547702074051, 0.6442573666572571, 0.4551469087600708, 0.33946123719215393, 0.6063545942306519, -0.06616508215665817, 0.09257445484399796, -0.791801929473877, -0.2134680300951004, -0.01981285959482193, -0.8310747146606445, -0.03904076665639877, -0.769110381603241, -0.0762718990445137, -0.2108345925807953, -0.09656371176242828, -0.3688526451587677, -0.36091285943984985, -0.43412724137306213, -0.43990957736968994, 0.3120107054710388, 0.9721084237098694, 0.13325977325439453, 0.25812965631484985, -0.745943546295166, 0.08800870925188065, -0.1939757615327835, 0.5436100363731384, -0.3441130220890045, -0.7121701240539551, -0.7458710670471191, 0.25864529609680176, 0.24127152562141418, -0.5870187282562256, 0.4440329372882843, 0.5101989507675171, 0.4212612509727478, 0.24008114635944366, -0.06990405172109604, 0.7378939390182495, -0.47877806425094604, 0.7272855639457703, 0.0018920381553471088, -1.062739610671997, 0.6426665186882019, -0.4564608633518219, 0.7614240050315857, 0.5341504216194153, 0.5387647747993469, -0.06375202536582947, -0.49204444885253906, -0.49540865421295166, -0.4418093264102936, 0.6881085634231567, 0.14460749924182892, 0.17472602427005768, 0.1402289718389511, 0.46407559514045715, 0.194924995303154, 0.13087975978851318, -0.6085454821586609, 0.35495567321777344, -0.0953885093331337, -0.4554382860660553, -0.4529828131198883, -0.4456387460231781, 0.24820607900619507, -0.4975612461566925, 0.5260392427444458, -0.13444000482559204, 0.18189650774002075, 0.13020643591880798, -0.2717578113079071, -0.06803099811077118, 0.32317882776260376, 0.4836634397506714, 0.6253573894500732, 0.014675683341920376, -0.008997409604489803, 0.5751866102218628, -0.25533103942871094, -0.014674066565930843, -0.13841262459754944, -0.20719000697135925, -0.06404486298561096, 0.7260486483573914, 1.1513328552246094, 0.43186885118484497, -0.46030738949775696, 0.02000501938164234, 0.12165485322475433, -0.28377407789230347, -0.11409879475831985, 0.33745765686035156, -0.05097523704171181, 0.3787911534309387, 0.10909168422222137, 0.21391353011131287, 0.30449986457824707, -0.79753577709198, 0.12677326798439026, 0.04454030469059944, -0.5209518074989319, -0.5244511365890503, 0.6145721077919006, 0.08477012813091278, -0.19671101868152618, 0.30418598651885986, 0.17321822047233582, -0.748959481716156, 0.7352056503295898, 0.48550257086753845, 0.6494439244270325, -0.24393118917942047, -0.3282977342605591, 0.5420819520950317, 0.5308624505996704, -0.12978684902191162, 0.34118223190307617, -0.04132765531539917, -0.9950355887413025, -0.600812554359436, -0.5687989592552185, -0.049307022243738174, -0.26591092348098755, -0.5555986166000366, 0.46804752945899963, -0.07174600660800934, -0.08322089165449142, 0.13233976066112518, -0.0075942534022033215, -0.8647159934043884, 0.5406590104103088, -0.07155037671327591, 0.8026635646820068, -0.5898914933204651, 1.1365854740142822, 0.7943673729896545, -0.4309702217578888, -0.8951393365859985, 0.11287558823823929, -0.6549697518348694, -0.416980504989624, 0.8806585669517517, 0.10332059860229492, -0.10093861073255539, 0.14639827609062195, -0.235731840133667, -0.9526238441467285, 0.8106439113616943, 0.5932433009147644, -0.6444220542907715, -0.5028347373008728, 0.5706911683082581, 0.8430720567703247, -0.56355220079422, 0.4074561893939972, 0.8607227802276611, 0.43880027532577515, 0.0021881037391722202, -1.331578016281128, -0.13031788170337677, -0.4513590931892395, 0.1371365785598755, 0.19968336820602417, -0.26424360275268555, 0.751857340335846, -0.41160932183265686, -0.2217061072587967, -0.10618895292282104, 0.689117968082428, -0.40492185950279236, -0.11469355970621109, 0.4083351492881775, 0.5454736948013306, 0.5468940734863281, -0.31608909368515015, 1.1195683479309082, -0.7807777523994446, 0.08379331231117249, 1.0866615772247314, 0.2342517226934433, 0.8852176666259766, 0.3233524262905121, 0.04282532259821892, 0.4960254430770874, 0.6555967926979065, 0.10358840227127075, 0.7086653709411621, -0.25075098872184753, -0.005134998820722103, -0.45863279700279236, -0.14624187350273132, -0.2929152846336365, 0.5535770058631897, 0.7235761880874634, -0.5046476721763611, 0.11695413291454315, 0.3653111457824707, -0.23913049697875977, 0.1760561615228653, -0.6191678643226624, 1.0899032354354858, -0.048747576773166656, -0.8962560892105103, 0.7105187177658081, 0.06144478917121887, 0.6495212912559509, -0.39574167132377625, 0.15588079392910004, -0.04031876102089882, 0.4669577181339264, -0.4150334298610687, -0.828836977481842, 0.6371066570281982, -0.2273533046245575, -0.44149452447891235, -0.052663471549749374, 1.008942723274231, -0.866399347782135, -0.5188989043235779, 0.3774424195289612, 0.3105686902999878, -0.1853368729352951, -0.12027385830879211, -0.26156002283096313, 0.09744349867105484, 0.0712338462471962, -0.04206348583102226, 0.16760137677192688, 0.615598201751709, 0.27911263704299927, 0.792875349521637, 0.48139724135398865, 0.16666638851165771, 0.13925202190876007, -0.022033492103219032, 0.9089359045028687, -0.5815586447715759, -0.5914396047592163, -0.8799474835395813, 0.5860663652420044, -0.0012044785544276237, -0.09383484721183777, 0.5801610350608826, 0.5341039896011353, 1.1854087114334106, -0.3644593060016632, 0.9483977556228638, -0.05094311013817787, 0.4432472586631775, -0.7209165096282959, 0.6147164702415466, -0.6249681115150452, 0.3219565153121948, 0.09802919626235962, -0.5039985775947571, -0.14212779700756073, 0.21310396492481232, -0.7633873224258423, 0.06055770069360733, 0.6389318108558655, 0.9538552165031433, -0.044410720467567444, 0.11265219002962112, 0.6214780807495117, 0.4143562912940979, 0.0010667548049241304, 0.8547030091285706, 0.5152261853218079, -0.45161205530166626, 0.4746600389480591, -0.45274877548217773, 0.15625809133052826, 0.15789031982421875, -0.46217289566993713, -1.3295018672943115, -0.6908466815948486, -0.005489693023264408, -0.20382322371006012, 0.5953401923179626, 0.7414405345916748, 0.6331408023834229, -0.7049239277839661, -0.24350164830684662, -0.37518298625946045, -0.05866143852472305, -0.04700983315706253, -0.09255705773830414, -0.0627574622631073, -0.7352850437164307, -0.9406248927116394, 0.36823123693466187, 0.15163221955299377, -0.16238735616207123, 0.09227140247821808, -0.07275272905826569, -0.01803593710064888, 0.07142362743616104, 0.6993910670280457, -0.23733140528202057, -0.7134836912155151, -0.32685279846191406, 0.0039460440166294575, 0.033929456025362015, 0.020785223692655563, 0.7208136320114136, -0.6372905969619751, 0.47029995918273926, 0.6883574724197388, 0.6098970770835876, 0.4990829825401306, -0.05309133976697922, 1.2217819690704346, -0.7390584945678711, 0.21540431678295135, 0.09790218621492386, 0.5985165238380432, 0.13441778719425201, -0.6906906962394714, 0.6390854120254517, -0.027927938848733902, -0.22480934858322144, -0.48399898409843445, 0.10608243942260742, -0.3898897171020508, -0.35085421800613403, 1.071856141090393, -0.21962806582450867, -0.2538796067237854, -0.25365152955055237, -0.07239705324172974, 0.32224228978157043, -0.19446338713169098, 0.7303330302238464, 0.931435227394104, 0.2593870162963867, -0.6488279700279236, -0.48164623975753784, 0.7726570963859558, 0.6108740568161011, -0.7375361323356628, -0.23519645631313324, 0.23622336983680725, 0.18044927716255188, -0.11896122246980667, 0.24802909791469574, 0.1597907841205597, 0.43406942486763, 0.023947272449731827, -0.1402769684791565, -0.31359171867370605, -0.5343949794769287, -0.25913310050964355, 0.431824266910553, 0.15690362453460693, 0.1863725632429123 ]
http://arxiv.org/abs/2402.17583v1
http://arxiv.org/pdf/2402.17583v1
FaultProfIT: Hierarchical Fault Profiling of Incident Tickets in Large-scale Cloud Systems
2024-02-27T15:14:19
2024-02-27T15:14:19
Junjie Huang, Jinyang Liu, Zhuangbin Chen, Zhihan Jiang, Yichen LI, Jiazhen Gu, Cong Feng, Zengyin Yang, Yongqiang Yang, Michael R. Lyu
cs.SE
cs.SE, cs.CL, cs.LG
Postmortem analysis is essential in the management of incidents within cloud systems, which provides valuable insights to improve system's reliability and robustness. At CloudA, fault pattern profiling is performed during the postmortem phase, which involves the classification of incidents' faults into unique categories, referred to as fault pattern. By aggregating and analyzing these fault patterns, engineers can discern common faults, vulnerable components and emerging fault trends. However, this process is currently conducted by manual labeling, which has inherent drawbacks. On the one hand, the sheer volume of incidents means only the most severe ones are analyzed, causing a skewed overview of fault patterns. On the other hand, the complexity of the task demands extensive domain knowledge, which leads to errors and inconsistencies. To address these limitations, we propose an automated approach, named FaultProfIT, for Fault pattern Profiling of Incident Tickets. It leverages hierarchy-guided contrastive learning to train a hierarchy-aware incident encoder and predicts fault patterns with enhanced incident representations. We evaluate FaultProfIT using the production incidents from CloudA. The results demonstrate that FaultProfIT outperforms state-of-the-art methods. Our ablation study and analysis also verify the effectiveness of hierarchy-guided contrastive learning. Additionally, we have deployed FaultProfIT at CloudA for six months. To date, FaultProfIT has analyzed 10,000+ incidents from 30+ cloud services, successfully revealing several fault trends that have informed system improvements.
[ -0.487348735332489, -0.6913560628890991, 0.3810068666934967, 0.44508883357048035, -0.3210529088973999, 0.06385768949985504, 0.5727562308311462, -0.4881354868412018, 0.1993281990289688, 0.41908907890319824, -0.8803926110267639, -0.24759553372859955, -0.31332746148109436, -0.28933966159820557, -0.4603438675403595, 1.171021819114685, 0.014226301573216915, 0.04946990683674812, -0.49490538239479065, 0.08649562299251556, -0.3574961721897125, -1.0259391069412231, -0.9600132703781128, -0.18128898739814758, 0.33073362708091736, 0.36689284443855286, 0.5588368773460388, 0.6111515760421753, 0.9182230830192566, 0.424774706363678, -0.03425120562314987, 0.10002116113901138, -0.0909700021147728, 0.06511471420526505, -0.05718338489532471, -0.1748374104499817, -0.3675626814365387, -0.37526601552963257, 0.35616806149482727, 0.6344742774963379, -0.30326980352401733, -0.006047237664461136, 0.2315194457769394, 0.3740980923175812, -0.8532384037971497, 0.14092114567756653, -0.5840270519256592, 0.18898263573646545, -0.08210194855928421, -0.29533469676971436, 0.003491794690489769, -0.4217536449432373, -0.15189577639102936, -0.5320391654968262, 0.477335661649704, -0.09903885424137115, 0.7202019691467285, 0.428272008895874, -0.20909295976161957, -0.13911749422550201, -0.6571149826049805, 0.6113225817680359, -0.3278746008872986, 0.13322360813617706, 0.33510637283325195, 0.4777664840221405, -0.23299148678779602, -0.6008110642433167, -0.25631776452064514, 0.13674522936344147, -0.15275809168815613, 0.12692904472351074, 0.19603970646858215, -0.03535861521959305, 0.14820073544979095, 0.46606355905532837, -0.7536177635192871, 0.414845734834671, -0.006182805635035038, -0.4300346374511719, 0.606909990310669, 0.4677310287952423, -0.0494980625808239, -0.056511107832193375, -0.5323824286460876, -0.13468106091022491, -0.4484977126121521, 0.0025263286661356688, 0.24990494549274445, -0.16880211234092712, 0.07526139914989471, -0.24761724472045898, -0.2341814935207367, 0.4183572232723236, 0.13998501002788544, -0.08543793112039566, 0.4781583249568939, -0.03556514531373978, -0.505643367767334, 0.20251208543777466, 0.7362857460975647, 0.07214604318141937, -0.2504635751247406, -0.27647367119789124, -0.33615148067474365, -0.057009730488061905, 0.7064263224601746, -0.9302921295166016, -0.5517305135726929, 0.39897608757019043, -0.28797775506973267, -0.5331344604492188, 0.38407766819000244, -1.0908936262130737, -0.91309654712677, -0.1914481669664383, 0.46514207124710083, -0.37957048416137695, -0.32256782054901123, -0.02711676061153412, 0.04590635001659393, 0.20856721699237823, 0.3095977008342743, -0.3066534399986267, 0.09943630546331406, 0.834044873714447, 0.760831356048584, 0.014321286231279373, -0.3558768332004547, -0.7846782207489014, 0.14541684091091156, -0.5044047236442566, 1.005914568901062, -0.23773515224456787, -0.21484778821468353, 0.3943343460559845, 0.1301185041666031, 0.04442513361573219, -0.8463316559791565, 0.8402518033981323, -0.5693350434303284, -0.3107500970363617, -0.20822837948799133, -0.15443484485149384, -0.27155372500419617, 0.3829244077205658, -0.48081016540527344, 0.8828822374343872, 0.1504373997449875, -0.5407302975654602, 0.29558104276657104, -0.43574318289756775, -0.44007763266563416, 0.3255370557308197, -0.2484235316514969, -0.8835950493812561, 0.022983599454164505, 0.17642086744308472, 0.5592766404151917, -0.004766936879605055, 0.35981106758117676, -0.1957148313522339, -0.17031899094581604, -0.24409706890583038, 0.2920316755771637, 0.6242627501487732, 0.2860821485519409, -0.5146187543869019, 0.10685256868600845, -0.9900467991828918, -0.16248708963394165, 0.13262861967086792, -0.04550717771053314, -0.46634969115257263, 0.2618333399295807, 0.12007926404476166, 0.28620725870132446, 0.14808204770088196, -0.5660598278045654, -0.13621871173381805, -0.16280044615268707, 0.0346740186214447, 0.6994257569313049, 0.3162291944026947, 0.03150058910250664, -0.41236287355422974, 0.49398186802864075, 0.6323639750480652, 0.7319985628128052, -0.32603925466537476, -0.026497088372707367, -0.9138538837432861, -0.0637514591217041, -0.295684814453125, 0.7275177836418152, -0.6966878771781921, 0.6797865033149719, 0.04411396011710167, -0.5954291224479675, 0.00696147046983242, -0.05128968507051468, 0.4943395256996155, 0.7447382807731628, 0.5735867619514465, -0.4596162438392639, -1.1281793117523193, -1.1979079246520996, -0.013238327577710152, -0.30693304538726807, -0.0698581263422966, 0.04083767160773277, 0.494986355304718, -0.4776683449745178, 0.7710732221603394, -0.5954751372337341, -0.6176876425743103, 0.2793318033218384, 0.6029605865478516, -0.07527121156454086, 0.746052622795105, 0.5206875801086426, -0.8575938940048218, 0.10705221444368362, 0.18564744293689728, -0.7623724341392517, -0.19331957399845123, -0.3705877661705017, -0.026481816545128822, 0.2617323398590088, 0.7180604338645935, 0.003349082777276635, 0.06390417367219925, 0.5386760234832764, -0.48656755685806274, 0.6033905744552612, -0.005117871332913637, 0.47134771943092346, -0.7789138555526733, 0.16059251129627228, -0.14433354139328003, -0.07347043603658676, -0.6364350318908691, 0.0917302668094635, 0.23319071531295776, -0.08857312798500061, -0.339095801115036, -0.37243229150772095, -0.3007836937904358, -0.3990359902381897, -0.2881797254085541, -0.4352874755859375, -0.24936453998088837, 0.5109879970550537, -0.037694673985242844, 0.4237079620361328, 0.5432812571525574, -0.5992159843444824, 0.1446765661239624, 0.19899976253509521, -0.47047561407089233, 0.6942062973976135, -0.375413715839386, 0.22533351182937622, -0.2359171360731125, 0.0013472806895151734, -0.9591695070266724, -0.16354914009571075, -0.05497366935014725, 0.010429111309349537, -0.0002182409807574004, -0.1724534034729004, -0.5338852405548096, -0.05882054939866066, -0.049015067517757416, 0.19177158176898956, 0.39857977628707886, -0.326406329870224, 0.7597081065177917, 0.42953118681907654, -0.37078994512557983, -0.3665032982826233, -0.38612866401672363, 0.10096454620361328, -0.21695926785469055, -0.6868346333503723, 0.345302551984787, -0.0248055849224329, -0.2531111538410187, -0.2686724066734314, -0.24579888582229614, -0.4618675112724304, 0.5389646887779236, 0.7828122973442078, -0.03631281107664108, -0.3197852671146393, -0.05477771908044815, -0.09559503942728043, -0.20866453647613525, 0.09552343934774399, -0.08134883642196655, 0.728291928768158, -0.3064256012439728, -0.17286226153373718, -0.5021346807479858, 0.6077957153320312, 0.6796165704727173, -0.14806261658668518, 0.5997304320335388, 0.3802761435508728, -0.48919677734375, -0.2078259140253067, -0.681137204170227, -0.04249413684010506, -0.5043224096298218, 0.47413498163223267, -0.2647795081138611, -0.6469572186470032, 0.8207195997238159, -0.3441518247127533, 0.1553277224302292, 0.6921787261962891, 0.14961077272891998, -0.21594437956809998, 0.8089914917945862, 0.8287396430969238, -0.16530553996562958, 0.6002798676490784, -0.19177982211112976, -0.03609928488731384, -0.32373765110969543, -0.5023910999298096, -0.8817946910858154, -0.09792406111955643, -0.15196166932582855, -0.10604757070541382, 0.5657333731651306, 0.3561844527721405, -0.5949115753173828, 0.11564270406961441, -0.18063795566558838, 0.5379061102867126, 0.007654794491827488, 0.05422540009021759, 0.33383139967918396, -0.12358906120061874, 0.3318779766559601, 0.1760106384754181, -0.44003862142562866, -0.18303282558918, 0.13700434565544128, 0.19574181735515594, 0.17039881646633148, -0.054619595408439636, 0.6823687553405762, 0.3070659041404724, 0.42658668756484985, -0.5417740345001221, 0.3615853786468506, -0.2312278300523758, -0.23168599605560303, -0.22419612109661102, -0.391861230134964, -0.7405197620391846, 0.09857747703790665, 0.02852223813533783, -0.29639774560928345, 0.723615825176239, 0.25972428917884827, -0.2986198961734772, 0.1182505190372467, -0.6462771892547607, 0.8548726439476013, -0.11160661280155182, 0.13238446414470673, -0.14288701117038727, -0.40486007928848267, 0.2743918299674988, -0.561865508556366, 0.4624254107475281, 0.561735987663269, 0.008879709988832474, 1.028481364250183, -0.8407341241836548, 0.8882238268852234, -0.3756358325481415, -0.19235070049762726, 0.10509604215621948, 0.2517774999141693, 0.8889294862747192, -0.31486010551452637, -0.09639859199523926, 0.280695378780365, -0.215582937002182, -0.34352752566337585, -0.5241737365722656, 0.5772200226783752, -0.7719721794128418, -0.35091543197631836, -0.3238774240016937, -0.22996437549591064, -0.4313378930091858, 0.030945973470807076, 0.2046460211277008, 0.4034983813762665, -0.06069157272577286, 0.2293192744255066, 0.675206184387207, -0.1915891468524933, 0.6864408850669861, 0.7496512532234192, 0.24416449666023254, -0.3948206305503845, 0.7838507294654846, 0.31007179617881775, -0.20960219204425812, 0.19254904985427856, 0.1134505420923233, 0.16325195133686066, -0.969088077545166, -0.18861204385757446, -0.07976537197828293, -0.5902425050735474, -0.45985016226768494, -0.8847359418869019, -0.26098668575286865, -0.25916343927383423, -0.4892001748085022, -0.4014381766319275, -0.07565199583768845, 0.013713853433728218, -0.20051458477973938, 0.22033266723155975, 0.414379358291626, 0.032249871641397476, 0.7028598785400391, -0.7655479907989502, 0.19951483607292175, 0.11840158700942993, 0.3341810703277588, -0.12053413689136505, -0.30688875913619995, -0.2847021818161011, -0.4014436602592468, -0.5502917766571045, -0.7918628454208374, 0.33536314964294434, 0.42683669924736023, 0.5357157588005066, 0.689653217792511, 0.07016012817621231, 1.0961703062057495, -0.4115760028362274, 0.8749943971633911, 0.26971912384033203, -1.0464532375335693, 0.8992699384689331, -0.38766810297966003, -0.023814326152205467, 0.6615965962409973, 0.6037255525588989, -0.4725773334503174, -0.5308579206466675, -0.7430421113967896, -1.0310782194137573, 0.7712485194206238, -0.07750387489795685, -0.24037715792655945, 0.2451542168855667, 0.45136719942092896, 0.13449575006961823, 0.1294703185558319, -0.2160874307155609, -0.29624828696250916, -0.45851871371269226, -0.01910058967769146, -0.3126746118068695, -0.18163201212882996, -0.05608587712049484, -0.03378462791442871, 0.591827929019928, -0.1726345717906952, -0.06255433708429337, 0.33644747734069824, -0.1877257078886032, -0.4246889352798462, -0.13105368614196777, 0.5436127781867981, 0.6327221393585205, -0.18921639025211334, 0.20362581312656403, 0.07480712234973907, -0.7329344153404236, -0.06576789170503616, 0.15229034423828125, -0.08801211416721344, -0.06248954311013222, 0.555410623550415, 0.3794519901275635, 0.04196057841181755, -0.6119070649147034, 0.5107869505882263, 0.3048080801963806, -0.45536500215530396, -0.5868222117424011, 0.05146680399775505, -0.21946030855178833, 0.25587159395217896, 0.7014506459236145, -0.10062510520219803, 0.4927372634410858, -0.6519747972488403, 0.5804969072341919, 0.28061404824256897, -0.53046715259552, -0.055350303649902344, 0.3452785313129425, 0.1741819530725479, -0.3149608075618744, 0.5472859740257263, 0.156169593334198, -0.7053679823875427, 1.138669729232788, 0.22214031219482422, 1.0893491506576538, -0.8365248441696167, 0.3313353955745697, 0.3429413139820099, 0.3979112207889557, -0.004171090666204691, 0.19678494334220886, -0.024580983445048332, -0.6131707429885864, -0.2788596451282501, -0.9674011468887329, -0.33810123801231384, 0.6981661319732666, -0.5555332899093628, -0.019981469959020615, -0.7503453493118286, 0.30295413732528687, 0.006437042728066444, -0.011626146733760834, -0.34951329231262207, 0.5121912360191345, -0.1245744377374649, 0.6556231379508972, -1.23073410987854, 0.43672701716423035, 0.7914350628852844, -0.2957504987716675, -0.7011019587516785, -0.018745286390185356, 0.042431216686964035, -0.39565509557724, 0.5872359275817871, 0.17257361114025116, 0.21845687925815582, -0.038881585001945496, -0.3079526126384735, -0.615073025226593, 1.0945039987564087, 0.25639280676841736, -0.7317423224449158, 0.41887396574020386, 0.18782316148281097, 0.6095550060272217, -0.2848549485206604, 0.1241353377699852, 0.5633664131164551, 0.3795013129711151, 0.22855359315872192, -0.5525815486907959, 0.1275615692138672, -0.30057215690612793, -0.2282349318265915, 0.4973965585231781, -0.5736076235771179, 0.6774161458015442, 0.18930397927761078, -0.18031226098537445, -0.41892287135124207, 0.44174689054489136, 0.013345791958272457, 0.5923432111740112, 0.9379780888557434, 0.5339395403862, 0.6503962874412537, -0.0740472599864006, 0.9434954524040222, -0.023040959611535072, 0.16922447085380554, 0.8008648157119751, -0.10085846483707428, 0.6115410923957825, 0.5348513126373291, 0.09416934102773666, 0.7756344676017761, 0.8783947825431824, -0.20079410076141357, 0.512547492980957, 0.08342339843511581, -0.10184736549854279, -0.5909905433654785, -0.03281480446457863, -0.2978266477584839, 0.08512653410434723, 0.12509262561798096, -0.3573133945465088, -0.38317352533340454, 0.08933469653129578, -0.03916078060865402, -0.4162779450416565, -0.6918455958366394, 1.1133010387420654, -0.08575080335140228, -0.5715628862380981, 0.5952189564704895, -0.14443635940551758, 0.47165951132774353, -0.6124047040939331, 0.0016914826119318604, -0.5886442065238953, 0.3114640712738037, -0.6675384640693665, -0.4636381268501282, 0.7922353148460388, -0.041502732783555984, -0.1688441038131714, -0.16302490234375, 0.44986289739608765, 0.022642703726887703, -0.2197524458169937, 0.22602050006389618, 0.16653841733932495, 0.1324552595615387, -0.5200949907302856, -0.34879499673843384, 0.11495479196310043, -0.2540576457977295, -0.13051526248455048, 0.543240487575531, 0.30181989073753357, -0.4782909154891968, 0.4536755383014679, 0.5176646113395691, -0.1794607788324356, -0.1559993475675583, 0.04419777914881706, 0.9528868794441223, -0.4782806634902954, -0.7651816010475159, -0.6794686317443848, 0.8771185278892517, -0.1710098385810852, -0.4113958775997162, 0.38994890451431274, 0.6134650111198425, 0.6014274954795837, -0.14426127076148987, 0.5993970036506653, 0.061671093106269836, 0.016095055267214775, -0.4225659966468811, 0.46030643582344055, -0.638020932674408, 0.2521909773349762, -0.32158589363098145, -0.6011544466018677, -0.4157193601131439, 0.414863258600235, -0.0875084176659584, -0.2487095147371292, 0.7612103223800659, 0.9094269871711731, 0.050514332950115204, 0.20077025890350342, 0.16906213760375977, 0.3497907221317291, 0.3958364725112915, 0.5135579109191895, 0.9862387776374817, -0.5245917439460754, 0.6870596408843994, -0.3052789270877838, -0.629889965057373, -0.440839946269989, -0.8726863861083984, -0.3929069936275482, -0.7601208686828613, -0.7961557507514954, -0.08333519846200943, 0.15899713337421417, 0.21219682693481445, 0.8264731168746948, -1.0360803604125977, 0.05277576297521591, -0.4704248011112213, -0.05647166445851326, -0.5382059812545776, -0.24030421674251556, 0.5152941942214966, -0.5406572222709656, -0.24415543675422668, 0.36032843589782715, 0.14167597889900208, -0.1059369370341301, -0.01987575739622116, 0.07179997861385345, 0.32205936312675476, -0.1001715213060379, 0.6568878889083862, 0.1251872330904007, 0.021842727437615395, -0.30562248826026917, -0.4788792133331299, -0.03889867290854454, -0.1281621754169464, 1.174445390701294, -0.7285589575767517, -0.3203316628932953, 0.6596091389656067, 0.781252384185791, 0.3711899220943451, 0.1542660892009735, 0.3472871780395508, -0.9015650153160095, 0.0676494836807251, 0.37958669662475586, 0.3489934504032135, 0.15942074358463287, -0.8363139033317566, 0.4562450051307678, 0.49116575717926025, -0.6448496580123901, -1.0102221965789795, 0.30664563179016113, -1.0838123559951782, -0.5927513241767883, 0.9287896156311035, -0.1012134701013565, 0.06690964102745056, -0.6745719909667969, -0.032777298241853714, 0.1567111760377884, 0.14888665080070496, 1.0844011306762695, 0.3727090358734131, -0.28776460886001587, -0.5086503028869629, -0.18546205759048462, 0.8326575756072998, 0.29850754141807556, -1.3172485828399658, -0.06605733931064606, 0.6062840223312378, 0.10946639627218246, 0.543512761592865, 0.2757154703140259, -0.31309351325035095, 0.4050537347793579, 0.06168505176901817, 0.15783926844596863, -0.3231070637702942, -0.50468909740448, -0.671342670917511, 0.9092180132865906, -0.35213160514831543, -0.2804976999759674 ]
http://arxiv.org/abs/2402.17574v3
http://arxiv.org/pdf/2402.17574v3
Agent-Pro: Learning to Evolve via Policy-Level Reflection and Optimization
2024-02-27T15:09:20
2024-06-06T18:40:47
Wenqi Zhang, Ke Tang, Hai Wu, Mengna Wang, Yongliang Shen, Guiyang Hou, Zeqi Tan, Peng Li, Yueting Zhuang, Weiming Lu
cs.AI
cs.AI, cs.CL
Large Language Models (LLMs) exhibit robust problem-solving capabilities for diverse tasks. However, most LLM-based agents are designed as specific task solvers with sophisticated prompt engineering, rather than agents capable of learning and evolving through interactions. These task solvers necessitate manually crafted prompts to inform task rules and regulate LLM behaviors, inherently incapacitating to address complex dynamic scenarios e.g., large interactive games. In light of this, we propose Agent-Pro: an LLM-based Agent with Policy-level Reflection and Optimization that can learn a wealth of expertise from interactive experiences and progressively elevate its behavioral policy. Specifically, it involves a dynamic belief generation and reflection process for policy evolution. Rather than action-level reflection, Agent-Pro iteratively reflects on past trajectories and beliefs, fine-tuning its irrational beliefs for a better policy. Moreover, a depth-first search is employed for policy optimization, ensuring continual enhancement in policy payoffs. Agent-Pro is evaluated across two games: Blackjack and Texas Hold'em, outperforming vanilla LLM and specialized models. Our results show Agent-Pro can learn and evolve in complex and dynamic scenes, which also benefits numerous LLM-based applications.
[ -0.36616674065589905, -0.8321251273155212, 0.7122511863708496, 0.21553832292556763, 0.04546785354614258, 0.6739734411239624, -0.24397717416286469, -0.2936484217643738, 0.04387505725026131, 0.5503230690956116, -0.7451245188713074, -0.3363848328590393, -0.27440404891967773, 0.08132237941026688, 0.5902596712112427, 1.11263906955719, 0.034359317272901535, -0.14706605672836304, -0.0155512485653162, 0.26985621452331543, -0.6509355306625366, 0.02421778254210949, -1.0707457065582275, -0.5750826001167297, 0.3417666554450989, 0.3434910476207733, 0.78073650598526, 0.4072239398956299, 0.14162330329418182, 0.3308948576450348, 0.12474462389945984, 0.8548586964607239, -0.6891844868659973, 0.378808856010437, -0.46578195691108704, -0.4167669415473938, -0.5855311155319214, 0.012033852748572826, 0.46368205547332764, 0.10073983669281006, -0.21187782287597656, -0.21889813244342804, 0.05990981310606003, 0.2395118623971939, -0.611526608467102, 0.5708529949188232, -0.6734473705291748, 0.08483382314443588, 0.4768750071525574, -0.4420703947544098, -0.4374946653842926, -0.3267342448234558, 0.23487594723701477, -0.9238941669464111, -0.17307578027248383, -0.09458119422197342, 0.7005183100700378, 0.2422439157962799, -0.3844497501850128, -0.33385559916496277, -1.0372899770736694, 0.5923306345939636, -0.30809587240219116, 0.08666300773620605, -0.05514707416296005, 0.5792887806892395, -0.7026066184043884, -0.3918367028236389, -0.5962216258049011, -0.6139597296714783, 0.3692706227302551, 0.2706804871559143, 0.0659606084227562, 0.40550097823143005, -0.006257920991629362, -0.0695747584104538, -0.08675320446491241, 0.14511169493198395, 0.2923595905303955, -0.019683636724948883, 0.7591047286987305, 0.3094354271888733, 0.11465790122747421, 0.4681073725223541, -0.1172356829047203, -0.3003433644771576, -0.7028862237930298, 0.3288048207759857, 0.4189225733280182, 0.3700653612613678, 0.22561277449131012, 0.025471670553088188, -0.07250688970088959, 0.29759734869003296, 0.14997775852680206, -0.496598482131958, 0.10281979292631149, 0.18019971251487732, 0.28437885642051697, -0.03553609922528267, 0.4481460750102997, 0.025030717253684998, 0.4362982213497162, -0.23600903153419495, -0.5267480611801147, -0.07889792323112488, 0.6195855736732483, -0.4054161310195923, 0.024915721267461777, 0.21366919577121735, -0.07485795766115189, -0.4571598470211029, -0.008753130212426186, -0.848106861114502, -0.767741322517395, -0.35661908984184265, 0.7864847779273987, -0.1771736890077591, -0.30150213837623596, 0.3481614589691162, -0.12156923860311508, 0.3304609954357147, 0.5944527387619019, -0.5192957520484924, 0.31419873237609863, 0.9014990925788879, 0.5757625102996826, -0.207839235663414, -0.30606609582901, -0.773948609828949, 0.22237171232700348, -0.52521812915802, 0.7485120296478271, -0.8398249745368958, -0.5518603920936584, 0.36729320883750916, -0.034347645938396454, 0.12303006649017334, -0.6904533505439758, 0.2609715461730957, -0.6106317043304443, -0.20650087296962738, -0.22410209476947784, -0.30456358194351196, -0.022807233035564423, 0.5183779001235962, -0.4564410448074341, 0.8492609858512878, 0.0848684310913086, -0.06450130045413971, 0.6059380769729614, -1.0938087701797485, -0.24763710796833038, 0.4587755799293518, -0.39076581597328186, -0.3568415641784668, 0.3856233060359955, -0.04814706742763519, 0.015099280513823032, -0.1975613236427307, 0.23721836507320404, -0.34231245517730713, -0.3459315299987793, 0.17681054770946503, -0.1710626184940338, 0.3165789842605591, 0.08851774036884308, -0.5646765828132629, 0.21328578889369965, -0.5013914704322815, -0.23483982682228088, 0.2659291625022888, -0.43046823143959045, -0.06722047924995422, 0.6705000996589661, -0.5679276585578918, 0.2658320665359497, 0.4084464907646179, -0.6016703844070435, 0.5362949371337891, -0.379087895154953, 0.1537030190229416, 0.8211259841918945, 0.29545268416404724, 0.34231287240982056, -0.49747031927108765, 0.7761385440826416, -0.08446891605854034, 0.43313172459602356, 0.03992437571287155, -0.23834265768527985, -0.6044765710830688, -0.2315901815891266, -0.3204750418663025, 0.7118832468986511, -0.9500015377998352, 0.16304588317871094, -0.15080814063549042, -0.36168715357780457, -0.4003288745880127, -0.031614743173122406, 0.323611319065094, 0.29446157813072205, 0.38233235478401184, -0.183913916349411, -0.10607586055994034, -0.6603338718414307, -0.4083411693572998, -0.13329315185546875, 0.2966544032096863, 0.6578526496887207, 0.5231568813323975, -0.14744225144386292, 0.9044044613838196, -0.5906835198402405, -0.393261581659317, -0.32325538992881775, 0.11150448769330978, 0.07232026755809784, 0.32721662521362305, 0.4235411584377289, -0.49078020453453064, -0.6034609079360962, 0.21113704144954681, -0.5853849649429321, -0.010074399411678314, -0.4881858825683594, -0.13214924931526184, 0.016018666326999664, 0.19013303518295288, -0.7122606635093689, 0.11775168031454086, -0.01983514428138733, -0.4775633215904236, 0.7563918828964233, -0.569955050945282, -0.13851866126060486, -0.5892452001571655, -0.36248791217803955, -0.14719800651073456, -0.4571830928325653, -0.5312671065330505, 0.2848655581474304, -0.4502740800380707, 0.030130742117762566, -0.19868870079517365, 0.7455745935440063, -0.5806474685668945, -0.16297698020935059, -0.6939570307731628, 0.13643048703670502, -0.04944981634616852, 0.42318353056907654, 0.3947733938694, 0.9173758625984192, 0.6925532817840576, -0.6128631830215454, 0.2914482057094574, 0.07255272567272186, -0.17714419960975647, 0.3047046363353729, -0.4433309733867645, 0.20185305178165436, -0.27869608998298645, 0.05712044611573219, -0.5333588719367981, 0.07475366443395615, 0.14667272567749023, -0.03804323822259903, 0.3851078450679779, 0.16632850468158722, -0.40845340490341187, -0.23706308007240295, -0.35982295870780945, -0.03410191461443901, 0.6203604936599731, -0.3478243350982666, 0.9335025548934937, 0.4193674921989441, -0.06500543653964996, -0.7407722473144531, 0.12365268170833588, 0.0752716138958931, -0.0346912145614624, -0.18247665464878082, 0.3404596149921417, -0.024645483121275902, -0.34498217701911926, -0.15203016996383667, -0.19712340831756592, 0.4007919430732727, 0.1659332662820816, -0.07367893308401108, -0.05165046080946922, -0.10386858880519867, 0.021342808380723, 0.3217617869377136, -0.11676184087991714, 0.1547061949968338, -0.40121397376060486, 0.5898162722587585, -0.35096603631973267, -0.04735209420323372, -0.021758509799838066, 0.2115546315908432, 0.364911288022995, -0.48109182715415955, 0.7161139845848083, 0.23365084826946259, -0.039072275161743164, -0.8666887879371643, -0.4268793761730194, -0.2868993878364563, -0.6069657802581787, 0.5802038311958313, -0.668671727180481, -0.8700892329216003, 0.6885807514190674, -0.6501312255859375, 0.4359957277774811, 0.07298257201910019, 0.42609167098999023, -0.19139187037944794, 1.2175567150115967, 0.5890643000602722, 0.5761196613311768, 0.6043214201927185, -0.2417420744895935, -0.11445528268814087, -0.4029029607772827, -0.39908596873283386, -0.0237595085054636, -0.36478933691978455, -0.6784618496894836, -0.4689428508281708, 0.5385299921035767, -0.17357824742794037, -0.6622024774551392, -0.009158434346318245, -0.35444897413253784, 0.7809023857116699, 0.2989060580730438, 0.384244441986084, 0.08204320818185806, -0.3226413428783417, 0.019588062539696693, 0.13190512359142303, -0.38041648268699646, -0.5411832332611084, 0.769384503364563, 0.5134817361831665, 0.5936663150787354, 0.22338630259037018, 0.8042688965797424, 0.628292977809906, 0.27910131216049194, -0.6512301564216614, 0.6645694375038147, -0.11574426293373108, -0.4229298532009125, -0.38481107354164124, -0.10206247866153717, -0.9095242023468018, 0.2868591248989105, -0.501186192035675, -0.6448033452033997, 0.45377853512763977, 0.3296361267566681, -0.330425888299942, 0.05964157357811928, -0.21562087535858154, 0.8212780356407166, -0.49280741810798645, -0.6237010955810547, -0.4078148603439331, -0.3488214612007141, -0.008851070888340473, -0.1048927903175354, 0.1843026876449585, -0.08171748369932175, -0.5483956336975098, 0.19160319864749908, -0.38806986808776855, 0.7749404311180115, -0.6792582273483276, -0.316058874130249, 0.47609055042266846, 0.5851136445999146, 0.9710265398025513, 0.1216629147529602, -0.03909733146429062, -0.4660581350326538, -0.21648970246315002, -0.3088860511779785, -0.754166305065155, 0.33834514021873474, -0.9860970377922058, -0.9487395882606506, -0.29398319125175476, -0.5732895731925964, -0.4515845477581024, 0.12230177223682404, -0.3157791793346405, 0.21205492317676544, -0.24422606825828552, -0.05323933809995651, 0.7762730121612549, -0.3605602979660034, 0.2963675856590271, 0.8787006735801697, -0.30678802728652954, -0.21330325305461884, 1.2112778425216675, -0.045564863830804825, 0.15728142857551575, 0.2903795838356018, 0.46518293023109436, -0.3089529871940613, -0.6657935976982117, 0.09222644567489624, 0.28641924262046814, -0.5392935276031494, -0.16306760907173157, -0.2946683466434479, 0.013949807733297348, 0.0546882189810276, -0.2430027425289154, -0.5315515995025635, 0.21353919804096222, -0.2048354595899582, -0.17348600924015045, 0.18440929055213928, 0.6316196918487549, -0.09673691540956497, 0.6262540817260742, -0.43542587757110596, -0.002431242261081934, 0.2734683156013489, 0.22190357744693756, -0.20163245499134064, -0.3578996956348419, -0.2075798362493515, 0.004926380701363087, -0.5275623798370361, -1.0505794286727905, 0.4421359598636627, 0.803013265132904, 0.791751503944397, 0.6509310603141785, 0.2322694957256317, 0.2687075138092041, -0.46798986196517944, 0.6334762573242188, -0.2946469485759735, -0.7534080743789673, 0.5376906991004944, -0.5598846673965454, 0.07315365970134735, 0.6636834144592285, 0.260288268327713, -0.10725835710763931, -0.576022744178772, -0.22576464712619781, -0.43171244859695435, 0.6912035346031189, -0.30164268612861633, 0.4280071556568146, -0.20479898154735565, 0.7096256017684937, 0.4624128043651581, 0.48009809851646423, -0.6628921627998352, -0.04154323413968086, -0.22692209482192993, 0.0016167907742783427, -0.15600213408470154, -0.06910507380962372, -0.15705671906471252, -0.14692702889442444, 0.4711308479309082, -0.5894170999526978, 0.38061144948005676, 0.048234693706035614, -0.058124955743551254, 0.1378311812877655, 0.09707820415496826, 0.7736993432044983, 0.5579028725624084, -0.10423550754785538, 0.1572371870279312, 0.21302226185798645, -0.4922347962856293, 0.34136998653411865, -0.09493320435285568, -0.1901630461215973, -0.4303601086139679, 0.34394341707229614, 0.9765950441360474, 0.03747599944472313, -0.9629817008972168, 0.496231347322464, 0.25957274436950684, -0.3793877363204956, -0.45322832465171814, 0.663714587688446, -0.1758718192577362, 0.8362805843353271, 0.40541666746139526, -0.36431851983070374, 0.08553174883127213, -0.9039372205734253, 0.2517646551132202, 0.5383747220039368, -0.3848389983177185, -0.33385366201400757, 0.639898419380188, 0.2830997109413147, -0.6627166867256165, 0.3280191421508789, -0.6500304341316223, -0.6043067574501038, 0.6283803582191467, 0.7549796104431152, 0.9537013173103333, -0.2348414659500122, 0.8141814470291138, 0.0767064169049263, 0.1133294627070427, -0.12135599553585052, 0.7331768274307251, -0.1357351690530777, -0.9359443783760071, -0.4856661856174469, -0.604168176651001, -0.3798059821128845, -0.017809784039855003, -0.26181837916374207, 0.2180682271718979, -0.6745693683624268, -0.45332878828048706, -0.37803253531455994, 0.3761293292045593, -0.6217549443244934, 0.05452745407819748, 0.06004386395215988, 0.8092870712280273, -0.691490888595581, 0.6419016122817993, 0.8820518255233765, -0.42732444405555725, -0.4764053523540497, -0.05834595486521721, -0.15599365532398224, -1.003116250038147, 0.6435692310333252, -0.03488399088382721, -0.3428212106227875, 0.15289893746376038, -0.6883494257926941, -0.5501833558082581, 1.0713465213775635, 0.6156433820724487, -0.5221701860427856, -0.32169875502586365, 0.17563821375370026, 0.835008978843689, -0.8303993940353394, 0.3293823301792145, 0.5979459285736084, 0.39212360978126526, 0.008923375979065895, -0.6760736107826233, -0.06327243149280548, 0.05705823749303818, -0.19467033445835114, 0.13460305333137512, -0.8982397317886353, 0.7052187323570251, -0.3390029966831207, 0.12491237372159958, -0.5148116946220398, 0.7291075587272644, 0.48116686940193176, 0.24699151515960693, 0.6620802283287048, 0.087950699031353, 0.5249629616737366, 0.0773102343082428, 0.7034296989440918, -0.323727011680603, 0.1302763670682907, 1.0686144828796387, -0.5227956175804138, 0.6877070069313049, 0.15979863703250885, 0.03868357837200165, 0.8861730098724365, 0.5954593420028687, -0.04168666899204254, 0.74245285987854, 0.2875676453113556, -0.5416895747184753, -0.8181768655776978, -0.2537461221218109, 0.25674858689308167, 0.7189419269561768, 0.4914103150367737, -0.06428754329681396, -0.23183777928352356, 0.12094666808843613, 0.005138323176652193, 0.2552652060985565, -0.35716864466667175, 1.094261646270752, -0.0765409842133522, -0.8334071040153503, 0.029139768332242966, -0.21062533557415009, 0.4410272538661957, -0.5971711874008179, -0.4416600465774536, -0.23168592154979706, 0.3075888752937317, 0.15838725864887238, -0.7690944075584412, -0.041386160999536514, -0.3659316301345825, 0.21259330213069916, -0.2540301978588104, 0.7191745042800903, -0.38170045614242554, 0.0684431791305542, 0.4437321722507477, 0.5794572830200195, 0.13479658961296082, -0.032000832259655, -0.8291751742362976, -0.03540126234292984, -0.33957260847091675, -0.5507609844207764, 0.3579505383968353, 0.4245538115501404, -0.07364426553249359, 0.9737509489059448, 0.2513570487499237, 0.2869158685207367, -0.16754747927188873, -0.21076956391334534, 0.7911388278007507, -0.3100329339504242, -0.7331492304801941, -0.727027416229248, 0.4445820748806, -0.2226337194442749, -0.12482722848653793, 0.21285870671272278, 0.4185332655906677, 0.526073157787323, -0.11203970015048981, 0.7083560824394226, 0.2642959654331207, 0.17623010277748108, -0.2810800075531006, 0.6143251061439514, -0.8111704587936401, 0.20222924649715424, -0.05692940205335617, -1.2026185989379883, 0.06631182879209518, 0.6831647157669067, -0.4248942732810974, 0.2424573451280594, 0.29259464144706726, 0.6836363077163696, 0.25735169649124146, -0.35583019256591797, 0.3145788609981537, 0.12564559280872345, 0.65840083360672, 0.4963747560977936, 0.9491569399833679, 0.1979682594537735, 0.38204720616340637, 0.1810896247625351, -0.3859069347381592, -0.18145102262496948, -0.75819993019104, -0.8204389810562134, -0.38211673498153687, -0.49604517221450806, -0.26049843430519104, 0.3537304103374481, 1.211390495300293, 0.4824411869049072, -0.5121411085128784, -0.2603205442428589, -0.2789078652858734, 0.029275944456458092, -0.595656156539917, -0.23632080852985382, 0.2046307921409607, -0.710810661315918, -0.6582558155059814, 0.6776424050331116, 0.2859070897102356, -0.12735848128795624, -0.48718059062957764, -0.537593424320221, 0.05398344248533249, 0.6576878428459167, 0.6802628636360168, 0.6192955374717712, -0.4897826910018921, -0.6194226145744324, 0.05095379799604416, 0.09951727092266083, -0.04660487547516823, 0.7092921137809753, -0.7566465735435486, 0.7086920738220215, 0.24316085875034332, 0.614923894405365, 0.384901762008667, -0.044938091188669205, 0.864287793636322, -0.4573928415775299, -0.14208777248859406, 0.47042158246040344, -0.08179247379302979, -0.26546958088874817, -0.3119039833545685, 0.2804780900478363, 0.11159158498048782, -0.6456080079078674, -0.9831122756004333, 0.3914380371570587, -0.7208036184310913, -0.4375564455986023, 1.0645036697387695, -0.2445032000541687, -0.11655760556459427, -0.24113303422927856, -0.39163723587989807, 0.09016429632902145, -0.6023357510566711, 0.7683575749397278, 0.34265774488449097, -0.5008550882339478, -0.5256057977676392, -0.4432787597179413, 0.9970722198486328, 0.14227190613746643, -0.7964481115341187, 0.035695869475603104, 0.363229364156723, 0.09086491912603378, 0.06477435678243637, 0.6099591255187988, 0.2519538998603821, 0.2273338884115219, 0.3749191164970398, 0.14395096898078918, -0.4689202904701233, -0.8292376399040222, 0.0022266069427132607, 0.3227244019508362, 0.4922550618648529, -0.08748149871826172 ]
http://arxiv.org/abs/2402.17564v2
http://arxiv.org/pdf/2402.17564v2
Unleashing the Potential of Large Language Models as Prompt Optimizers: An Analogical Analysis with Gradient-based Model Optimizers
2024-02-27T15:05:32
2024-04-17T03:17:58
Xinyu Tang, Xiaolei Wang, Wayne Xin Zhao, Siyuan Lu, Yaliang Li, Ji-Rong Wen
cs.CL
cs.CL
Automatic prompt optimization is an important approach to improving the performance of large language models (LLMs). Recent research demonstrates the potential of using LLMs as prompt optimizers, which can generate improved task prompts via iterative refinement. In this paper, we propose a novel perspective to investigate the design of LLM-based prompt optimizers, by drawing an analogy with gradient-based model optimizers. To connect these two approaches, we identify two pivotal factors in model parameter learning: update direction and update method. Focused on the two aspects, we borrow the theoretical framework and learning methods from gradient-based optimization to design improved strategies for LLM-based prompt optimizers. By systematically analyzing a rich set of improvement strategies, we further develop a capable Gradient-inspired LLM-based Prompt Optimizer called GPO. At each step, it first retrieves relevant prompts from the optimization trajectory as the update direction. Then, it utilizes the generation-based refinement strategy to perform the update, while controlling the edit distance through a cosine-based decay strategy. Extensive experiments demonstrate the effectiveness and efficiency of GPO. In particular, GPO brings an additional improvement of up to 56.8% on Big-Bench Hard and 55.3% on MMLU compared to baseline methods.
[ -0.29710692167282104, -0.7566826939582825, 0.7931931614875793, 0.015898190438747406, -0.38113877177238464, 0.019585156813263893, -0.3530873656272888, -0.00711627583950758, -0.10651221871376038, 0.15217754244804382, -0.9672020077705383, -0.34603142738342285, -0.19962584972381592, 0.2741932272911072, 0.19884860515594482, 0.8813712000846863, -0.037984441965818405, 0.2954828441143036, -0.09041028469800949, 0.05831526964902878, -0.666907548904419, -0.16393452882766724, -1.30202317237854, -0.09847883135080338, 0.6701390743255615, 0.13873206079006195, 0.5993061065673828, 0.9021768569946289, 0.08345039188861847, 0.3228931427001953, -0.2706865966320038, 0.06113485246896744, -0.515057384967804, 0.32780638337135315, -0.01976761780679226, -0.475266695022583, -0.1817346215248108, -0.0428931899368763, 0.7338050007820129, 0.7198529839515686, -0.2947079539299011, -0.03751540556550026, 0.1606651097536087, 0.751355767250061, -0.5895037651062012, 0.24818721413612366, -0.6342674493789673, -0.006611361633986235, 0.20459884405136108, -0.42233380675315857, -0.2437134087085724, -0.49781790375709534, -0.09904807060956955, -0.7767088413238525, 0.16609589755535126, 0.289614200592041, 0.46767285466194153, 0.30020982027053833, 0.09523118287324905, -0.4494551718235016, -0.3899822235107422, 1.0126187801361084, -0.8368045687675476, 0.2405945211648941, -0.19101062417030334, 0.4485280513763428, -0.5426372289657593, -0.450897216796875, -0.3707362711429596, -0.6969804763793945, 0.09884583950042725, -0.1511552929878235, -0.09851609915494919, 0.2256070077419281, 0.44214171171188354, 0.13906651735305786, -0.49185237288475037, 0.5741747617721558, -0.007793717086315155, -0.06596128642559052, 0.5010294914245605, 0.2842614948749542, 0.4238309860229492, 0.051093462854623795, -0.3475912809371948, 0.011330311186611652, -0.8027943968772888, 0.46909385919570923, 0.44735923409461975, 0.4185566306114197, 0.10657890141010284, 0.06446845829486847, -0.21169814467430115, 0.9421484470367432, 0.42511096596717834, -0.22700351476669312, 0.18428458273410797, -0.22909198701381683, -0.0031363232992589474, -0.22254543006420135, 0.7493932247161865, 0.41652244329452515, 0.24566051363945007, -0.1503789722919464, -0.5797517895698547, -0.38179323077201843, 0.08973158895969391, -0.730471134185791, 0.17863263189792633, 0.17406898736953735, -0.4434521496295929, -0.3238012194633484, -0.21869155764579773, -0.8794201016426086, -0.4229145646095276, -0.6965832114219666, 0.26565489172935486, -0.16777247190475464, 0.12312351912260056, 0.07547464221715927, 0.009481087327003479, 0.11756271123886108, 0.5990452766418457, -1.0119740962982178, -0.0034640999510884285, 0.8028444051742554, 0.7526790499687195, -0.07186154276132584, -0.2980121076107025, -0.9474074244499207, -0.10012611746788025, -0.4740605652332306, 0.4046609699726105, -0.8189747333526611, -0.5890934467315674, 0.1498197764158249, -0.19985218346118927, -0.033164408057928085, -0.47216248512268066, 0.4925253987312317, -0.598797082901001, 0.442059189081192, -0.44694775342941284, -0.4002200663089752, -0.06436613202095032, 0.12394311279058456, -0.5468372702598572, 1.0607402324676514, 0.11122161895036697, -0.3752386271953583, 0.2054418921470642, -0.579393744468689, -0.03500295802950859, -0.01112296711653471, -0.21824337542057037, -0.2366936206817627, 0.34063518047332764, 0.4184506833553314, 0.2940672039985657, -0.7552663683891296, 0.4400154948234558, -0.12421373277902603, -0.4076610207557678, 0.15773367881774902, -0.2970614433288574, 0.8449167013168335, 0.09260843694210052, -0.13061648607254028, 0.5017445683479309, -0.7583996057510376, -0.12313567847013474, -0.0051391045562922955, -0.31832772493362427, -0.1475433111190796, -0.05385236442089081, -0.46614059805870056, 0.19294236600399017, 0.2312886118888855, -0.3755743205547333, 0.38949376344680786, -0.33418649435043335, 0.5002468228340149, 0.9477782845497131, 0.1940184086561203, 0.601806640625, -0.3213545083999634, 0.931762158870697, -0.35498836636543274, 0.3562183976173401, -0.5653401017189026, -0.3023568093776703, -0.5363590121269226, -0.4482671022415161, 0.2688421905040741, 0.49010294675827026, -0.7291284203529358, 0.3602598011493683, 0.020094698294997215, -0.3261132538318634, -0.5412085652351379, 0.10942558199167252, 0.3096190094947815, 0.9925815463066101, 0.31647369265556335, 0.08715587854385376, -0.158058300614357, -0.715523898601532, -0.4365119934082031, -0.2548092305660248, -0.17055511474609375, 0.3214268982410431, 0.0782843753695488, -0.042802222073078156, 0.8756280541419983, -0.4135916233062744, 0.2334962636232376, -0.2609667181968689, -0.06607901304960251, 0.514203667640686, 0.49602073431015015, 0.762836754322052, -0.47776076197624207, -0.5213785171508789, -0.17100463807582855, -0.6008672118186951, -0.5469504594802856, -0.4077746272087097, -0.06352671980857849, -0.026408527046442032, 0.8597716689109802, -0.7328567504882812, -0.020693840458989143, 0.07942122966051102, 0.0068592834286391735, 0.7627424001693726, -0.32692694664001465, 0.0553724505007267, -0.804817259311676, -0.04823599383234978, 0.23403097689151764, 0.12735410034656525, -0.740534782409668, 0.4054943919181824, -0.03581804782152176, -0.46474069356918335, -0.48328056931495667, 1.008466362953186, -0.7596221566200256, 0.35434019565582275, -0.2977824807167053, 0.17181740701198578, -0.1026306301355362, 0.7322661876678467, -0.44853127002716064, 0.8877123594284058, 0.8470688462257385, -0.5699757933616638, 0.5168363451957703, -0.18496441841125488, -0.059852201491594315, 0.4658660888671875, -0.8017003536224365, 0.2793724536895752, -0.6266612410545349, 0.20187079906463623, -1.2093794345855713, 0.15518444776535034, 0.464999258518219, -0.15201452374458313, 0.5370227694511414, -0.15287812054157257, -0.38458481431007385, -0.4432794749736786, -0.7354883551597595, 0.303918719291687, 0.6860923171043396, -0.7608802914619446, 0.778649628162384, -0.10337469726800919, -0.511500358581543, -0.6146613359451294, -0.00763679901137948, 0.08154593408107758, -0.4329354166984558, -0.4465647041797638, 0.1316525638103485, -0.1818002164363861, -0.40443381667137146, -0.4073807895183563, -0.00806595291942358, 0.3644191026687622, 0.20371860265731812, -0.22226804494857788, 0.46295416355133057, -0.06520052999258041, 0.2922324538230896, 0.15886473655700684, -0.2876183092594147, 0.18940848112106323, -0.43057873845100403, 0.5854794383049011, 0.27867573499679565, -0.12157540023326874, -0.5977910161018372, 0.33408984541893005, 0.31657934188842773, -0.22113355994224548, 0.508295476436615, 0.2812727987766266, -0.050739213824272156, -0.49042537808418274, -0.5454762578010559, -0.350177139043808, -0.605857789516449, 0.44859156012535095, -0.6063189506530762, -0.5669497847557068, 0.6157110929489136, -0.20041069388389587, 0.11063656955957413, 0.22092199325561523, 0.4271271824836731, 0.06650593876838684, 0.8521155118942261, 0.485610693693161, -0.2080523818731308, 0.7495675683021545, 0.06287843734025955, -0.05061616376042366, -0.8676655292510986, -0.10863889008760452, -0.7147306799888611, -0.2187918722629547, -0.35898634791374207, -0.43707573413848877, 0.21043260395526886, 0.41794484853744507, -0.36570844054222107, 0.11530829221010208, -0.2724510729312897, 0.4255889654159546, 0.5803804993629456, -0.0011307880049571395, 0.052027687430381775, 0.01391239371150732, -0.2812884747982025, -0.08523107320070267, -0.7899719476699829, -0.5346494317054749, 0.9518871307373047, 0.3174726963043213, 0.7395750880241394, -0.16793884336948395, 0.4689933657646179, 0.12399700284004211, 0.18285784125328064, -0.8461495637893677, 0.7563748955726624, 0.216909259557724, -0.028665538877248764, -0.28548988699913025, -0.433916300535202, -0.714216947555542, 0.4220879077911377, 0.009734692052006721, -0.6303183436393738, 0.2194107323884964, 0.34575435519218445, -0.2612307071685791, 0.07516732811927795, -0.6241695284843445, 0.7719012498855591, -0.10038232803344727, -0.32110822200775146, -0.10454003512859344, -0.5424589514732361, -0.1482793241739273, -0.22118708491325378, 0.1159471943974495, 0.10842661559581757, -0.4216735064983368, 0.3353246748447418, -0.550156831741333, 0.7682428956031799, -0.49574562907218933, -0.34545227885246277, 0.3387046456336975, 0.019287405535578728, 0.9604043364524841, 0.015977391973137856, -0.4696992337703705, -0.08814884722232819, -0.6631079316139221, -0.38252222537994385, -1.0720158815383911, 0.7526156306266785, -0.43234869837760925, -1.089033603668213, -0.04016390070319176, -0.5157947540283203, -0.42964795231819153, 0.04866815730929375, 0.07031194865703583, 0.7550603747367859, -0.08430739492177963, -0.25360795855522156, 0.48076704144477844, -0.31983059644699097, 0.8786332607269287, 0.6084998250007629, -0.01335305254906416, -0.3146422505378723, 0.7312057018280029, -0.2670145332813263, 0.3303877115249634, 0.5704058408737183, 0.41476425528526306, -0.32297444343566895, -0.8769426345825195, -0.6901645660400391, 0.44164973497390747, -0.7119461894035339, 0.02583366259932518, -0.37254324555397034, 0.24419407546520233, -0.06610070168972015, -0.447437584400177, 0.12113127112388611, -0.16869023442268372, -0.6809583902359009, 0.07281190901994705, 0.1939404159784317, 0.22667381167411804, 0.06886016577482224, 0.3713066875934601, -0.4464765787124634, 0.07033035904169083, 0.27129048109054565, -0.016511602327227592, 0.4066397547721863, -0.5805759429931641, -0.0515066534280777, 0.0935540422797203, -0.20409676432609558, -0.7734814286231995, 0.3848896622657776, 0.05701405555009842, 0.7643148899078369, 0.49095162749290466, -0.16548939049243927, 0.4660719633102417, -0.9155385494232178, 0.7590165734291077, 0.316721647977829, -0.8728039860725403, 0.5571926236152649, -0.6244193315505981, 0.3456422984600067, 0.5482931733131409, 0.3299351632595062, -0.5179073214530945, -0.18014311790466309, -0.27829813957214355, -0.5882925987243652, 0.6010133624076843, -0.19751685857772827, 0.2796821594238281, 0.024564646184444427, 0.8851473331451416, 0.3104044198989868, 0.48709312081336975, -0.329210102558136, -0.2497883290052414, 0.06560204178094864, -0.3054693043231964, -0.13174884021282196, -0.2506621778011322, -0.0024157180450856686, 0.019115639850497246, 0.6687840819358826, -0.34554946422576904, 0.15789014101028442, -0.08660318702459335, 0.11337549984455109, -0.17060260474681854, 0.3135143220424652, 0.6436856985092163, 0.7825180888175964, 0.006839302834123373, -0.3794777989387512, 0.13181553781032562, -0.23364858329296112, 0.1657859981060028, 0.1623297780752182, -0.452358216047287, 0.05822013318538666, 0.26340121030807495, 1.0660167932510376, -0.01801777072250843, -0.6616705060005188, 0.38418614864349365, 0.2294892519712448, 0.17107540369033813, 0.11519750207662582, 0.3710894286632538, -0.10069359838962555, 0.32550761103630066, 0.6745954751968384, -0.04876844957470894, 0.18625104427337646, -0.4867614209651947, -0.14691972732543945, 0.6444928646087646, -0.3723255395889282, -0.4363152086734772, 0.7719213366508484, 0.33215099573135376, -0.7048201560974121, 0.279314786195755, -0.22506801784038544, -0.45928314328193665, 0.7397723197937012, 0.5502652525901794, 1.0224426984786987, -0.4360005259513855, 0.18539343774318695, 0.4088330566883087, 0.12172453850507736, -0.12848521769046783, 0.17662861943244934, -0.014806053601205349, -0.3602437376976013, -0.5536216497421265, -0.48284757137298584, -0.27301350235939026, 0.039475616067647934, -0.48745813965797424, 0.46611568331718445, -0.6591970324516296, 0.0428428053855896, -0.19143997132778168, -0.011934395879507065, -0.4564482271671295, 0.20383337140083313, -0.1344553530216217, 0.8642646074295044, -0.5217238068580627, 0.4421536326408386, 0.6185725927352905, -0.18935269117355347, -0.6826939582824707, 0.16853079199790955, 0.021655915305018425, -1.0227857828140259, 0.7335044741630554, 0.08549876511096954, -0.14674800634384155, 0.08274001628160477, -0.3583129942417145, -0.7847850918769836, 0.9589760303497314, 0.5097705125808716, -1.063889741897583, -0.2902730703353882, -0.1871541142463684, 0.6498421430587769, -0.5610312819480896, 0.4131508767604828, 0.15971580147743225, 0.27488091588020325, 0.08502539247274399, -0.7603806257247925, 0.32144540548324585, -0.09746655821800232, 0.46747535467147827, 0.35960209369659424, -0.6351553797721863, 0.8880134224891663, -0.46169570088386536, -0.2722001075744629, 0.36577266454696655, 0.5511749982833862, 0.3183460831642151, -0.02802233025431633, 0.435641348361969, 0.3506585359573364, 0.6937233805656433, 0.13341666758060455, 1.2598377466201782, -0.3998083174228668, 0.2995466887950897, 1.090316891670227, -0.14221283793449402, 0.4434526860713959, 0.6060736775398254, -0.04543573036789894, 0.3887734115123749, 0.7277396321296692, 0.006100943777710199, 0.6954355835914612, 0.51191246509552, -0.3563053011894226, 0.06400220096111298, -0.09784100204706192, -0.2213520109653473, -0.17673125863075256, 0.06661485880613327, -0.5529381036758423, -0.317123681306839, 0.04556109011173248, 0.19366313517093658, 0.0743071436882019, -0.6969403624534607, 0.5954949259757996, -0.020517760887742043, -0.6850517988204956, 0.7147126197814941, 0.08440373092889786, 0.4570590555667877, -0.4827965497970581, 0.04528278484940529, -0.2699154317378998, -0.11085107177495956, 0.26420536637306213, -0.2718439996242523, -0.4449361562728882, -0.12374867498874664, -0.15706861019134521, -0.19726955890655518, 0.3524819016456604, -0.5090079307556152, -0.3865988552570343, 0.1779380738735199, 0.4447964131832123, -0.2802630066871643, 0.03535544127225876, -0.9095812439918518, 0.06970088183879852, 0.1739535927772522, -0.35305702686309814, 0.08860748261213303, 0.44453954696655273, -0.006483768578618765, 0.8868342638015747, 0.7195661664009094, 0.2253006249666214, -0.20272135734558105, 0.21523535251617432, 0.9509692192077637, -0.6689331531524658, -0.6919147968292236, -1.075823426246643, 0.44906333088874817, 0.08657654374837875, -0.4645530581474304, 0.6870713829994202, 0.24450644850730896, 0.49332714080810547, -0.2413569986820221, 0.5786082148551941, 0.4946137070655823, 0.43129584193229675, -0.9106495380401611, 0.2114177942276001, -0.5445517301559448, 0.49726518988609314, -0.22297018766403198, -1.362789511680603, -0.16527286171913147, 0.3702227771282196, -0.45669811964035034, 0.28026583790779114, 0.690336287021637, 1.0271960496902466, 0.19625961780548096, 0.023522594943642616, 0.08456233888864517, 0.12097598612308502, 0.39077019691467285, 0.4665217399597168, 0.8870261907577515, -0.12666009366512299, 0.110341876745224, 0.15674404799938202, -0.3736113905906677, -0.13057708740234375, -0.9457502365112305, -1.1410386562347412, -0.3916111886501312, -0.3763335645198822, -0.0693276897072792, 0.30218008160591125, 1.0964075326919556, 0.34021615982055664, -0.5354562401771545, -0.15893705189228058, -0.26208579540252686, -0.13448423147201538, -0.06997504830360413, -0.2122509926557541, 0.41817155480384827, -0.7505174875259399, -0.9151265025138855, 0.585849404335022, 0.22646355628967285, 0.06631751358509064, -0.3611980378627777, -0.034937724471092224, 0.15830731391906738, 0.16257542371749878, 0.41401389241218567, 0.3111143410205841, -0.8587635159492493, -0.13566268980503082, -0.009234481491148472, -0.07807816565036774, 0.14082472026348114, 0.9425463676452637, -0.8509783148765564, 0.5257269144058228, 0.469553679227829, 0.8143748044967651, 0.10356089472770691, 0.19609494507312775, 0.8252042531967163, -0.580596387386322, 0.18502183258533478, 0.16661114990711212, 0.4456009268760681, 0.38660019636154175, -0.4542195200920105, 0.2167610079050064, 0.08178617060184479, -0.37601417303085327, -0.7006902098655701, 0.2717847228050232, -0.7043973803520203, -0.38358670473098755, 1.3267948627471924, -0.04304959997534752, -0.2993321418762207, 0.18800358474254608, -0.5478267073631287, -0.060224223881959915, -0.8806101083755493, 0.7871240973472595, 0.5586481094360352, 0.018264135345816612, -0.2531142830848694, -0.43691420555114746, 0.7535147666931152, 0.430491179227829, -0.6301766633987427, 0.12574656307697296, 0.6596547365188599, 0.13866664469242096, -0.07770004123449326, 0.4600610136985779, 0.12875433266162872, 0.1833483725786209, -0.23604491353034973, -0.20646853744983673, -0.2630751132965088, -0.15059414505958557, -0.8817681074142456, 0.18781951069831848, 0.010113469325006008, -0.09749127924442291 ]
http://arxiv.org/abs/2402.17812v1
http://arxiv.org/pdf/2402.17812v1
DropBP: Accelerating Fine-Tuning of Large Language Models by Dropping Backward Propagation
2024-02-27T14:51:11
2024-02-27T14:51:11
Sunghyeon Woo, Baeseong Park, Byeongwook Kim, Minjung Jo, Sejung Kwon, Dongsuk Jeon, Dongsoo Lee
cs.LG
cs.LG, cs.CL
Training deep neural networks typically involves substantial computational costs during both forward and backward propagation. The conventional layer dropping techniques drop certain layers during training for reducing the computations burden. However, dropping layers during forward propagation adversely affects the training process by degrading accuracy. In this paper, we propose Dropping Backward Propagation (DropBP), a novel approach designed to reduce computational costs while maintaining accuracy. DropBP randomly drops layers during the backward propagation, which does not deviate forward propagation. Moreover, DropBP calculates the sensitivity of each layer to assign appropriate drop rate, thereby stabilizing the training process. DropBP is designed to enhance the efficiency of the training process with backpropagation, thereby enabling the acceleration of both full fine-tuning and parameter-efficient fine-tuning using backpropagation. Specifically, utilizing DropBP in QLoRA reduces training time by 44%, increases the convergence speed to the identical loss level by 1.5$\times$, and enables training with a 6.2$\times$ larger sequence length on a single NVIDIA-A100 80GiB GPU in LLaMA2-70B. The code is available at https://github.com/WooSunghyeon/dropbp.
[ -0.6260133385658264, -0.7967642545700073, 0.13151255249977112, 0.4926334619522095, -0.2658423185348511, 0.028830109164118767, -0.5399695038795471, -0.3583855926990509, -0.22928670048713684, 0.3174006938934326, -0.7293557524681091, -0.4952183663845062, -0.57988041639328, -0.4045127034187317, -0.25519707798957825, 0.8159451484680176, 0.2985743284225464, 0.07706020772457123, 0.18826274573802948, 0.10327330976724625, -0.8707078695297241, -0.03945543244481087, -1.0426911115646362, -0.7156315445899963, 0.7575814127922058, 0.44925209879875183, 0.7384252548217773, 0.6547528505325317, 0.4234348237514496, 0.241374209523201, -0.613426685333252, 0.2156940996646881, -0.6273635625839233, -0.052234143018722534, -0.23932147026062012, -0.5088157057762146, -0.13654260337352753, -0.11413920670747757, 0.7643937468528748, 0.6656477451324463, -0.43930888175964355, 0.14148147404193878, -0.0735902264714241, 0.7655691504478455, -0.8989871144294739, 0.07672896981239319, -0.527161717414856, 0.2139359563589096, -0.1451285034418106, -0.31803208589553833, -0.3372458219528198, -0.3080947995185852, 0.003249154891818762, -0.35527822375297546, 0.2391616851091385, -0.3255648910999298, 0.8581710457801819, 0.13159942626953125, 0.14408470690250397, 0.4167931079864502, -0.8217161893844604, 0.42890673875808716, -0.80340176820755, 0.649777352809906, 0.17036837339401245, 0.18536989390850067, -0.18208131194114685, -0.6197670102119446, -0.5964628458023071, -0.19194164872169495, 0.3990499973297119, -0.025305241346359253, 0.12597458064556122, 0.24003522098064423, 0.34412452578544617, 0.40613648295402527, -0.2804657816886902, 0.4346838593482971, -0.4167228639125824, -0.05374877154827118, 0.46765607595443726, 0.07750497758388519, 0.11601119488477707, 0.2367488294839859, -0.04047900065779686, -0.12304592877626419, -0.9820465445518494, -0.02898191288113594, 0.3997708261013031, 0.47754907608032227, -0.13917841017246246, 0.060581885278224945, -0.3262034058570862, 0.3967220187187195, 0.18815752863883972, 0.11944674700498581, 0.33660948276519775, 0.08785192668437958, -0.34390774369239807, 0.0053855739533901215, 0.3025488555431366, 0.3352178633213043, 0.07769269496202469, -0.14485861361026764, 0.15357129275798798, -0.05414724722504616, 0.07254265248775482, -1.2204586267471313, -0.7226464152336121, 0.1536322981119156, -0.5902671813964844, -0.44565513730049133, -0.4759295880794525, -0.5154967904090881, -0.4759248197078705, -0.16858088970184326, 0.2765550911426544, -0.3319537937641144, -0.33023688197135925, 0.22297771275043488, -0.10853195190429688, 0.1891424059867859, 0.45506492257118225, -0.9038399457931519, 0.271624356508255, 0.7675052881240845, 0.8903887867927551, -0.08039778470993042, -0.29764536023139954, -0.6947223544120789, 0.16012877225875854, -0.5727885365486145, 0.35677090287208557, -0.41932451725006104, -0.31044548749923706, -0.11725687980651855, -0.22099584341049194, 0.09201718866825104, -0.6079341769218445, 0.5531687140464783, -0.622292697429657, -0.037623681128025055, -0.033451106399297714, -0.47308415174484253, -0.5390836596488953, -0.0807267352938652, -0.3938455581665039, 0.7521382570266724, -0.1648537963628769, -0.45012927055358887, 0.3108389973640442, -0.3207748234272003, -0.7778481245040894, 0.20324194431304932, -0.06608975678682327, -0.42718571424484253, 0.3508163392543793, 0.30876344442367554, 0.5166285634040833, -0.3402073085308075, 0.20186418294906616, -0.3289584517478943, -0.5463958382606506, -0.35022151470184326, -0.4997524619102478, 0.8631803393363953, 0.23288600146770477, -0.5773295164108276, -0.27375441789627075, -1.0112757682800293, 0.3621653616428375, -0.09751944243907928, -0.668816328048706, -0.21619652211666107, -0.09110553562641144, 0.3374204933643341, 0.40507858991622925, -0.2405170202255249, -0.5535574555397034, 0.4327799379825592, -0.7902814149856567, 0.4660668969154358, 0.6447814106941223, -0.11713061481714249, 0.37724119424819946, 0.10376860201358795, 0.42658695578575134, -0.05523194000124931, 0.12932142615318298, 0.045209337025880814, -0.5473095178604126, -0.5873638987541199, -0.27924710512161255, 0.25757378339767456, 0.5895939469337463, -0.5969870090484619, 0.31465041637420654, -0.30537277460098267, -0.7130983471870422, -0.5346717834472656, 0.16864019632339478, 0.822364330291748, 0.7110598087310791, 0.46445232629776, -0.20049360394477844, -0.43541646003723145, -0.8962293863296509, -0.2922091484069824, 0.009612396359443665, 0.04676699638366699, 0.22827552258968353, 0.1068088635802269, -0.1209789589047432, 0.5687580704689026, -0.6906731724739075, -0.442052960395813, -0.16879622638225555, 0.09969314187765121, 0.14943844079971313, 0.984643280506134, 0.4261501133441925, -0.5456836223602295, -0.04413976892828941, 0.03457488492131233, -0.29829487204551697, -0.14372389018535614, 0.054301731288433075, -0.22532159090042114, 0.42090269923210144, 0.3042169511318207, -0.8592907786369324, 0.5319021940231323, 0.6160879731178284, 0.07553640753030777, 0.4084579348564148, -0.13729317486286163, -0.12042097002267838, -1.1254684925079346, 0.2279924750328064, -0.1556372493505478, -0.006842193193733692, -0.5346564650535583, 0.2988273501396179, 0.18965955078601837, -0.17809240520000458, -0.5859256982803345, 0.4191755950450897, -0.3865495026111603, 0.11422890424728394, -0.3187660574913025, 0.03035692498087883, 0.3170427978038788, 0.4708593785762787, 0.12067733705043793, 0.5382615923881531, 0.3401035964488983, -0.6743407845497131, 0.25796544551849365, 0.3259584307670593, -0.13921810686588287, 0.13529546558856964, -0.48120880126953125, 0.19437851011753082, 0.018680136650800705, 0.2852066159248352, -0.7334353923797607, 0.2915530502796173, 0.40049195289611816, -0.29862090945243835, 0.5523696541786194, -0.46409356594085693, -0.4029754102230072, -0.36173275113105774, -0.3264494240283966, 0.34073206782341003, 0.5180407166481018, -0.7861398458480835, 0.330238401889801, 0.16152888536453247, -0.10016731172800064, -0.8200557231903076, -1.105854868888855, 0.18212610483169556, 0.0750063881278038, -0.47612622380256653, 0.505541205406189, -0.19816434383392334, 0.29014715552330017, -0.19723357260227203, -0.2102789580821991, -0.03180168196558952, 0.21801942586898804, 0.29643431305885315, -0.14531512558460236, -0.30602023005485535, 0.44081026315689087, 0.47132018208503723, 0.0009554413263686001, -0.07771625369787216, -0.584563136100769, 0.8580654263496399, -0.0479116253554821, 0.026005974039435387, -0.951491117477417, 0.1790597289800644, -0.07070252299308777, -0.185902401804924, 0.87047278881073, 0.7774831652641296, -0.3579610586166382, -0.5145683288574219, -0.42593878507614136, -0.3105272352695465, -0.5428886413574219, 0.7517232894897461, -0.563322126865387, -0.6281750798225403, 0.4919743537902832, -0.14401541650295258, 0.11077026277780533, 0.20841112732887268, 0.5300611853599548, 0.09148350358009338, 0.793937087059021, 0.7952871322631836, -0.3260853588581085, 0.6769763827323914, -0.7329749464988708, 0.17106041312217712, -0.7062682509422302, -0.2819955050945282, -0.5155022740364075, -0.40365883708000183, -0.5265235900878906, -0.33030155301094055, -0.29212820529937744, 0.4926561415195465, -0.22458207607269287, 0.0615241602063179, -0.4786035418510437, 0.6438104510307312, 0.4647420346736908, 0.366351842880249, 0.19544093310832977, -0.06793443858623505, 0.133210688829422, 0.1196172758936882, -0.7484773397445679, 0.01823100633919239, 0.7430850863456726, 0.48249033093452454, 0.772849440574646, -0.0818391889333725, 0.6944007873535156, 0.17001421749591827, 0.07520321011543274, -0.6397748589515686, 0.5663481950759888, -0.321837455034256, -0.3251631557941437, -0.3561178147792816, -0.6212650537490845, -0.6131146550178528, 0.05846161022782326, -0.21259236335754395, -0.4293219745159149, 0.344307541847229, 0.5963760018348694, -0.3999215364456177, 0.43199846148490906, -0.36103329062461853, 0.7179480195045471, 0.08083919435739517, -0.39732682704925537, -0.7055006623268127, -0.6668437123298645, 0.15784958004951477, 0.3258841633796692, -0.25688740611076355, -0.21036265790462494, 0.007136721163988113, 0.352383017539978, -0.4979027211666107, 0.6313446164131165, -0.5092709064483643, -0.5039354562759399, 0.02626950666308403, 0.4559308886528015, 0.527546226978302, 0.3645067811012268, -0.08531610667705536, 0.5227298736572266, -0.40735045075416565, -0.3870954215526581, -0.8041306138038635, 0.7526700496673584, -0.6987372636795044, -0.30314117670059204, 0.077372245490551, -0.5163602828979492, -0.06032462790608406, 0.2568413019180298, 0.2717032730579376, 0.6513505578041077, 0.22732162475585938, 0.03603256493806839, 0.42443224787712097, -0.35610583424568176, 0.5650896430015564, 0.2750920057296753, -0.12015368044376373, -0.5414929389953613, 0.9455640912055969, 0.11719468235969543, 0.33250534534454346, 0.49439066648483276, 0.3632049560546875, -0.24632839858531952, -1.260265827178955, -0.49831709265708923, 0.08827559649944305, -0.7700483202934265, -0.3574242889881134, -0.32036370038986206, -0.32510700821876526, -0.2967463433742523, 0.06919753551483154, -0.6450685262680054, -0.7743968367576599, -0.15163445472717285, -0.1528022438287735, 0.29899024963378906, 0.1865929514169693, -0.07979129254817963, 0.7697219252586365, -0.7125793695449829, 0.21295152604579926, 0.10096915066242218, 0.5939581394195557, 0.1531945765018463, -0.7653471231460571, -0.4822157323360443, 0.07250507920980453, -0.2411903738975525, -0.35053181648254395, 0.5218449831008911, 0.6598871350288391, 0.19469963014125824, 0.4048859477043152, -0.2608237862586975, 1.0422457456588745, -0.5574607849121094, 0.571071982383728, 0.12126708775758743, -1.089818000793457, 0.6797710061073303, -0.48306843638420105, 0.45255008339881897, 0.5536792874336243, 0.014246098697185516, -0.46828266978263855, -0.23578914999961853, -0.4107195734977722, -1.0639954805374146, 0.6818240284919739, 0.12734833359718323, 0.16758514940738678, 0.25793418288230896, 0.7215843200683594, 0.11801815778017044, 0.539173424243927, -0.27964335680007935, -0.4290326237678528, 0.07790890336036682, -0.02851499430835247, -0.24264247715473175, -0.0009350522886961699, 0.07486560940742493, -0.43771982192993164, 0.9145376682281494, -0.14706456661224365, -0.10243391245603561, -0.10900331288576126, -0.22215348482131958, -0.14400269091129303, -0.1503492295742035, 0.6126078367233276, 0.7510853409767151, -0.15407095849514008, -0.07631468027830124, 0.16456931829452515, -0.7574992179870605, -0.030457628890872, 0.1475229412317276, -0.680608332157135, -0.16817106306552887, 0.12872855365276337, 0.9369977712631226, 0.08499103039503098, -0.47865110635757446, 0.24005302786827087, -0.0527404248714447, -0.029092978686094284, 0.016258399933576584, -0.021675698459148407, 0.17353278398513794, 0.41355401277542114, 0.30259308218955994, 0.39061403274536133, 0.31261882185935974, -0.26682189106941223, 0.23972469568252563, 0.18714754283428192, -0.04956386238336563, -0.22457443177700043, 0.6244257092475891, 0.4268413782119751, -0.3354656994342804, 1.0439035892486572, 0.21366088092327118, -0.3911627531051636, 0.6086353063583374, 0.585004985332489, 1.1115556955337524, -0.13927118480205536, 0.24226492643356323, 0.0023039341904222965, 0.12864600121974945, -0.11428982019424438, 0.3609509766101837, 0.03492086008191109, -0.637506902217865, -0.7600801587104797, -0.6620913743972778, -0.30610963702201843, 0.2874915897846222, -0.498823881149292, 0.0910836011171341, -0.837925374507904, -0.04268748313188553, 0.15576209127902985, 0.2991293668746948, -0.5039026737213135, 0.4245724081993103, 0.5632895231246948, 0.9367994070053101, -0.6132587790489197, 0.9913991093635559, 0.3810109496116638, -0.42545491456985474, -1.0038061141967773, 0.09627913683652878, -0.41165122389793396, -0.5152086615562439, 1.0278388261795044, 0.34449371695518494, -0.35174235701560974, 0.13981893658638, -0.5634987354278564, -0.8085468411445618, 0.6930291056632996, 0.9697321653366089, -0.8152244091033936, -0.00137419777456671, -0.2301209568977356, 0.5448499917984009, -0.14210696518421173, 0.09229494631290436, 0.566033124923706, 0.2900506854057312, -0.11394334584474564, -0.7588592171669006, 0.14400960505008698, -0.28721630573272705, 0.5190134644508362, 0.27781328558921814, -0.8157371282577515, 0.9728328585624695, -0.34182289242744446, -0.13812468945980072, 0.30116772651672363, 0.6823737621307373, 0.11197300255298615, 0.3054971396923065, 0.24473074078559875, 0.7880839705467224, 0.6263750195503235, 0.07895627617835999, 0.759918212890625, -0.3240388035774231, 0.3610711097717285, 0.9963734745979309, 0.043861377984285355, 1.045686960220337, 0.3975490927696228, 0.026876727119088173, 0.2809438705444336, 0.754256546497345, -0.0313270278275013, 0.5841621160507202, 0.6016896367073059, -0.09851490706205368, -0.18769632279872894, 0.06923665851354599, -0.469340056180954, 0.28042325377464294, 0.12704025208950043, -0.14996054768562317, 0.07450953871011734, 0.23444174230098724, 0.29419633746147156, 0.08359742909669876, -0.730912446975708, 0.3453719913959503, 0.13696981966495514, -0.5117555260658264, 1.0360209941864014, 0.0810287669301033, 0.5813503265380859, -0.25165748596191406, -0.19802959263324738, -0.46676018834114075, 0.6499387621879578, -0.5561174154281616, -0.4527337849140167, 0.009640933945775032, -0.5660775899887085, -0.155962273478508, -0.034020692110061646, 0.5558985471725464, -0.5018025636672974, -0.34408479928970337, 0.5291936993598938, 0.2611682713031769, 0.1908426433801651, -0.15489162504673004, -0.5795572996139526, 0.11688832938671112, -0.37438079714775085, -0.45052260160446167, 0.2323465496301651, 0.17230847477912903, -0.005975440144538879, 0.9181109666824341, 0.7213300466537476, 0.4960803985595703, 0.3616049587726593, 0.5678078532218933, 1.1675162315368652, -0.5175784230232239, -0.4757823646068573, -0.8714352250099182, 0.005105162970721722, 0.060600604861974716, -0.3360738456249237, 0.615654706954956, 0.6126037240028381, 0.9441291093826294, -0.15639376640319824, 0.6479275226593018, 0.03663068264722824, 0.2950490713119507, -0.619765043258667, 0.9369838833808899, -0.4927806556224823, 0.3215106427669525, -0.45450666546821594, -0.8700491786003113, -0.4375747740268707, 0.5897417664527893, -0.018395189195871353, 0.17025215923786163, 0.3031308948993683, 0.7310190796852112, 0.05307167023420334, 0.027710307389497757, 0.23384302854537964, 0.32744044065475464, 0.5017532706260681, 0.5823391079902649, 0.5835380554199219, -0.5880870223045349, 0.6297942996025085, -0.8025718331336975, 0.12993796169757843, -0.2470460683107376, -0.7856037020683289, -0.8397766351699829, -0.11585520952939987, -0.4385029375553131, -0.2714212238788605, 0.766391932964325, 0.798803448677063, 0.999237060546875, -0.787623941898346, -0.2664887011051178, -0.40820029377937317, 0.024022651836276054, -0.5303347706794739, -0.1909177452325821, 0.5644052028656006, -0.32395127415657043, -0.7365180253982544, 0.401271253824234, 0.14879833161830902, -0.24973443150520325, -0.28264275193214417, -0.08611331880092621, -0.30738571286201477, -0.359689325094223, 0.5913796424865723, 0.44324320554733276, -0.48437100648880005, -0.3679477274417877, -0.5052646398544312, 0.10890710353851318, 0.19070106744766235, 0.6205781698226929, -1.0166631937026978, 0.1252027153968811, 0.7809739708900452, 0.9797027707099915, 0.5925511121749878, 0.14607462286949158, 0.6859301328659058, -0.9666911363601685, 0.4472299814224243, 0.4025733768939972, -0.24249105155467987, 0.23411811888217926, -0.5150077939033508, 0.46708187460899353, 0.31077709794044495, -0.4003489911556244, -0.9996170997619629, 0.23503245413303375, -0.7882437705993652, -0.274203896522522, 0.9645130634307861, -0.22180911898612976, -0.2686137557029724, 0.2240949273109436, -0.3092966675758362, 0.36943501234054565, -0.6199939846992493, 0.800596296787262, 0.11581311374902725, -0.04036130756139755, -0.5782067775726318, -0.39060521125793457, 0.626520037651062, 0.5992583632469177, -0.6093086004257202, 0.2525466978549957, 0.49044254422187805, 0.245680570602417, 0.12703140079975128, 0.27361464500427246, 0.2501169443130493, 0.45858168601989746, -0.0712914913892746, 0.39707857370376587, -0.4087454676628113, -0.6055757999420166, -0.7191711068153381, 0.3570399880409241, -0.06216415762901306, -0.48467472195625305 ]
http://arxiv.org/abs/2402.17553v2
http://arxiv.org/pdf/2402.17553v2
OmniACT: A Dataset and Benchmark for Enabling Multimodal Generalist Autonomous Agents for Desktop and Web
2024-02-27T14:47:53
2024-02-28T17:27:39
Raghav Kapoor, Yash Parag Butala, Melisa Russak, Jing Yu Koh, Kiran Kamble, Waseem Alshikh, Ruslan Salakhutdinov
cs.AI
cs.AI, cs.CL, cs.CV, cs.HC
For decades, human-computer interaction has fundamentally been manual. Even today, almost all productive work done on the computer necessitates human input at every step. Autonomous virtual agents represent an exciting step in automating many of these menial tasks. Virtual agents would empower users with limited technical proficiency to harness the full possibilities of computer systems. They could also enable the efficient streamlining of numerous computer tasks, ranging from calendar management to complex travel bookings, with minimal human intervention. In this paper, we introduce OmniACT, the first-of-a-kind dataset and benchmark for assessing an agent's capability to generate executable programs to accomplish computer tasks. Our scope extends beyond traditional web automation, covering a diverse range of desktop applications. The dataset consists of fundamental tasks such as "Play the next song", as well as longer horizon tasks such as "Send an email to John Doe mentioning the time and place to meet". Specifically, given a pair of screen image and a visually-grounded natural language task, the goal is to generate a script capable of fully executing the task. We run several strong baseline language model agents on our benchmark. The strongest baseline, GPT-4, performs the best on our benchmark However, its performance level still reaches only 15% of the human proficiency in generating executable scripts capable of completing the task, demonstrating the challenge of our task for conventional web agents. Our benchmark provides a platform to measure and evaluate the progress of language model agents in automating computer tasks and motivates future work towards building multimodal models that bridge large language models and the visual grounding of computer screens.
[ -0.5905871987342834, -0.675529956817627, 0.575130045413971, 0.05316716432571411, 0.2153622806072235, -0.07395440340042114, -0.3779394328594208, -0.5022863149642944, 0.08553966134786606, 0.3790434002876282, -0.6723148822784424, -0.5542556643486023, -0.15554676949977875, 0.2219015210866928, -0.5251757502555847, 0.645071804523468, 0.08474235981702805, -0.4517013430595398, -0.4114754796028137, -0.2602960467338562, -0.2892177999019623, -0.4895313084125519, -0.38605645298957825, 0.0658959224820137, 0.41346120834350586, 0.2748158276081085, 0.7912704944610596, 0.662807285785675, 0.34364771842956543, 0.5496959686279297, 0.7986131906509399, 0.18290358781814575, -0.34406664967536926, 0.19337530434131622, -0.19178228080272675, -0.2146793156862259, -0.3967539072036743, 0.1905546337366104, 0.42429620027542114, 0.49330881237983704, -0.024307362735271454, 0.12569734454154968, 0.06615179777145386, 0.3680681884288788, -0.860207200050354, 0.2794611155986786, -0.2558777332305908, -0.011246965266764164, -0.05355672910809517, -0.02228950336575508, -0.18373875319957733, -0.711836576461792, 0.0897531658411026, -0.7867451906204224, 0.08553999662399292, -0.2727189064025879, 0.6004923582077026, 0.4776211082935333, -0.4415680170059204, -0.08338715881109238, -0.8001967668533325, 0.6684812903404236, -0.4472321569919586, 0.4338575303554535, 0.23934811353683472, 0.5817961692810059, -0.04476061463356018, -0.8442337512969971, -0.7245976328849792, -0.7495302557945251, 0.18785707652568817, 0.014794787392020226, -0.25255152583122253, -0.06013667583465576, 0.11169736832380295, 0.15300442278385162, -0.8031188249588013, -0.1691744476556778, -0.06711310893297195, -0.18402652442455292, 0.12381611764431, 0.37749359011650085, 0.32339411973953247, 0.118615061044693, -0.2426677793264389, -0.45832324028015137, -0.3126453757286072, 0.17512266337871552, 0.35300204157829285, 0.32584455609321594, -0.11756941676139832, 0.6410108208656311, -0.43514305353164673, 0.7860182523727417, -0.07758524268865585, 0.0048973835073411465, 0.4289156496524811, -0.5190473794937134, -0.41519322991371155, -0.33034923672676086, 0.8491681814193726, 0.30924877524375916, 0.27899059653282166, -0.2113610953092575, -0.10312721133232117, 0.4242246747016907, 0.5376060009002686, -0.5643560886383057, -0.33545154333114624, 0.21010784804821014, -0.26165255904197693, -0.19016322493553162, 0.30036699771881104, -0.6801242232322693, -0.5906752943992615, -0.7524388432502747, 0.5804513692855835, -0.47628191113471985, -0.2758885324001312, -0.033662233501672745, -0.05967786908149719, 0.3010777235031128, 0.4513975977897644, -0.5161176323890686, 0.3988844156265259, 0.46825042366981506, 0.5913913249969482, -0.17755717039108276, -0.6682799458503723, -0.6582939028739929, -0.006949419621378183, -0.226552352309227, 0.8660300970077515, -0.5061693787574768, -0.06494320183992386, 0.2762015759944916, 0.05883963033556938, -0.20288638770580292, -0.3406122624874115, 0.3006571829319, -0.14075736701488495, 0.06390843540430069, -0.10498273372650146, -0.13922280073165894, -0.15377216041088104, 0.4903697073459625, -0.778901219367981, 0.631521999835968, 0.288412868976593, -0.07763618230819702, 0.45818662643432617, -0.818285346031189, -0.2980034053325653, -0.022788353264331818, -0.5151538252830505, 0.05390334129333496, -0.007205040659755468, 0.061005979776382446, 0.3372287154197693, -0.37142255902290344, -0.23616734147071838, -0.44565311074256897, -0.10375989973545074, 0.21910566091537476, -0.412650465965271, 0.43097150325775146, -0.003256610594689846, -0.6386308073997498, 0.19115447998046875, -0.830549418926239, 0.4149050712585449, 0.06642040610313416, -0.45843225717544556, -0.15433956682682037, -0.03335757181048393, 0.4116010367870331, 0.2912547290325165, 0.43502727150917053, -0.5739302635192871, 0.34052684903144836, -0.03499900549650192, 0.24120689928531647, 0.7778573036193848, -0.514686107635498, 0.20326431095600128, -0.17487381398677826, 0.4216667115688324, -0.4904022514820099, 0.5256549715995789, -0.12910664081573486, -0.24352286756038666, -0.6663637161254883, -0.5372253656387329, 0.17980308830738068, 0.47995468974113464, -0.8025594353675842, 0.4250015616416931, -0.3753899037837982, -0.5566604137420654, -0.4533092677593231, 0.32145848870277405, 0.47034016251564026, 0.0809931606054306, 0.1912841796875, -0.3982801139354706, -0.4534229338169098, -1.0728380680084229, -0.03158917278051376, -0.07471877336502075, -0.1376068890094757, 0.28681543469429016, 0.4628150761127472, -0.6319616436958313, 1.1433420181274414, -0.26686468720436096, -0.616997241973877, -0.10882902890443802, 0.4815607964992523, 0.0857984647154808, 0.33149632811546326, 0.5484550595283508, -0.8019804954528809, -0.5382623076438904, 0.2744831144809723, -1.1664061546325684, -0.18897800147533417, -0.033727459609508514, 0.03040793165564537, 0.3029719293117523, 0.46574005484580994, -0.4986729919910431, 0.39818084239959717, 0.657595694065094, -0.27735066413879395, 0.6707579493522644, -0.5493443012237549, 0.48133429884910583, -0.41698119044303894, 0.4906582534313202, -0.08666732162237167, -0.5205329060554504, -0.6037948131561279, 0.08247201144695282, 0.12347491085529327, -0.0875726118683815, -0.4634294807910919, 0.2733965218067169, -0.5013038516044617, -0.1830178201198578, -0.39234891533851624, 0.0172564834356308, -0.27677983045578003, 0.6635814905166626, -0.09091942012310028, 0.8450552225112915, 0.365041047334671, -0.7621971964836121, 0.5694895386695862, 0.12913310527801514, -0.13523641228675842, 0.9673986434936523, -0.5692757368087769, 0.24930059909820557, 0.10619041323661804, -0.10456866770982742, -0.902156412601471, -0.4262027144432068, 0.08978211879730225, -0.40468764305114746, -0.21106956899166107, 0.25206413865089417, -0.8567648530006409, -0.3860624134540558, -0.2507697343826294, 0.3165832459926605, 0.2600241005420685, -0.4734249711036682, 0.9396757483482361, 0.3639143705368042, 0.02685404010117054, -0.3031235635280609, -0.32281434535980225, 0.37386226654052734, 0.09635978192090988, -0.690666139125824, 0.17280195653438568, -0.3047330677509308, -0.23134425282478333, 0.10472739487886429, 0.01281180139631033, -0.1382373571395874, -0.10346467792987823, 0.5963237881660461, 0.22339113056659698, -0.13682463765144348, -0.14725296199321747, -0.26923978328704834, -0.253104031085968, -0.08586040139198303, -0.31958460807800293, 0.5098862648010254, -0.4888039529323578, -0.6219125390052795, -0.48591405153274536, 0.3170565068721771, 0.8704817891120911, -0.24697600305080414, 0.3238442838191986, 0.5685245394706726, -0.28121402859687805, -0.030908526852726936, -0.765941858291626, 0.10468675941228867, -0.48121577501296997, 0.06945938616991043, -0.5456017851829529, -0.49057716131210327, 0.2366364449262619, -0.03264492750167847, 0.2817603051662445, 0.31220874190330505, 0.6181263327598572, 0.22684504091739655, 1.1829800605773926, 0.9648797512054443, -0.21545028686523438, 0.49703308939933777, -0.13287527859210968, -0.3668215870857239, -0.2658904492855072, -0.0644766092300415, -0.5849835872650146, -0.09181690961122513, -0.34390753507614136, -0.29182887077331543, 0.5951575040817261, -0.590376615524292, -0.3315896689891815, 0.7175416350364685, -0.5338025689125061, 0.3580625057220459, 0.891327977180481, 0.07988753169775009, 0.22901540994644165, -0.1613042801618576, -0.1556638479232788, 0.2558412253856659, -0.10336732119321823, -0.5391077399253845, 1.204554796218872, -0.10180865973234177, 0.8249543309211731, 0.2580426335334778, 0.2665451169013977, 0.938150942325592, 0.13898725807666779, -0.26342064142227173, 0.5702386498451233, 0.15483497083187103, -0.5164347887039185, -0.4213365614414215, -0.18402643501758575, -1.0712991952896118, 0.41590529680252075, -0.11890638619661331, -0.8140252232551575, 0.21202825009822845, 0.10224807262420654, -0.3848763108253479, -0.0356285460293293, -0.6946542859077454, 1.2138704061508179, -0.3621080219745636, -0.6379224061965942, -0.24836739897727966, -0.6093220710754395, 0.1810447871685028, -0.07108820974826813, 0.06974029541015625, 0.011834327131509781, -0.22636307775974274, 0.320317804813385, -0.37854811549186707, 0.7953377962112427, -0.12538741528987885, 0.16422957181930542, 0.017894268035888672, 0.20196178555488586, 0.4891776740550995, -0.37472063302993774, 0.10023747384548187, 0.002411406487226486, 0.027468089014291763, -0.27906468510627747, -0.37770214676856995, 0.8344005942344666, -0.8841049671173096, -0.12441809475421906, -0.46116721630096436, -0.2411634922027588, -0.26343321800231934, 0.2638383209705353, 0.018163306638598442, 0.5066525936126709, -0.5956686735153198, 0.1895846426486969, 0.233994260430336, -0.1371697634458542, 0.43072235584259033, 0.6754907369613647, -0.11018743366003036, -0.5126009583473206, 0.9341368079185486, -0.21500657498836517, 0.239649698138237, 0.37855735421180725, -0.1558840125799179, -0.4948814809322357, -0.23223663866519928, -0.5515589714050293, 0.013584009371697903, -0.7230188846588135, 0.15487340092658997, -0.7700817584991455, 0.21113069355487823, -0.4458673298358917, -0.20743277668952942, -0.45088884234428406, 0.03236953914165497, -0.025430021807551384, 0.20614315569400787, -0.16094447672367096, 0.8429040908813477, -0.3103800415992737, 0.06843286752700806, -0.45262396335601807, 0.5744847655296326, 0.7343887686729431, 0.27722060680389404, -0.30606186389923096, 0.13814345002174377, -0.29806917905807495, -0.10294221341609955, -0.5481999516487122, -0.6417621374130249, 0.3038438558578491, 0.1966245323419571, 0.9312453866004944, 0.6851726770401001, 0.006898859050124884, 0.6842752695083618, -0.31976184248924255, 0.6725010275840759, 0.21645861864089966, -1.016330599784851, 0.4440203011035919, -0.49896472692489624, 0.37468165159225464, 0.8663516640663147, 0.054301198571920395, -0.4280010163784027, -0.45452094078063965, -0.3655035197734833, -0.6760859489440918, 0.5900115370750427, 0.4807737171649933, -0.2768738865852356, 0.07862690091133118, -0.3258841633796692, 0.3318358361721039, 0.6907157301902771, -0.6976549029350281, -0.12150008976459503, -0.4170619249343872, -0.036950722336769104, -0.580955445766449, 0.28102606534957886, -0.04731938987970352, -0.025454740971326828, 0.26668429374694824, -0.4570233225822449, 0.47762244939804077, 0.2835283875465393, -0.466789573431015, -0.016850808635354042, 0.060499854385852814, 0.6902239918708801, 0.7670134902000427, -0.40224558115005493, 0.19917750358581543, -0.2915665805339813, -0.399640828371048, 0.173710435628891, 0.2902502119541168, 0.23981963098049164, -0.10928960889577866, 0.20691101253032684, 0.33756452798843384, 0.025124408304691315, -1.04391348361969, 0.6512357592582703, -0.2862294018268585, -0.09637688100337982, -0.8218602538108826, 0.13970139622688293, -0.3463083505630493, 0.3209526538848877, 0.3511321544647217, 0.11436143517494202, 0.370252400636673, -0.7383468747138977, 0.18884088099002838, 0.4079010486602783, -0.5271416902542114, -0.4188227951526642, 0.911069929599762, 0.3662489056587219, -0.22018255293369293, 0.5063658356666565, -0.20394568145275116, -0.170039102435112, 0.7244828939437866, 0.04318278655409813, 1.0846890211105347, -0.1593150645494461, 0.23738616704940796, 0.12303879857063293, 0.6025577187538147, 0.001039476366713643, 0.150785431265831, -0.2857317626476288, -0.33066731691360474, -0.14152847230434418, -0.3801248371601105, -0.5327540040016174, 0.20429714024066925, -0.30998238921165466, 0.014117876999080181, -0.4667867422103882, -0.2665848731994629, 0.13192321360111237, -0.28659239411354065, -1.1360300779342651, 0.14206549525260925, 0.28598394989967346, 0.7526488304138184, -0.6642267107963562, 0.6052641868591309, 0.7290191054344177, -0.5466873049736023, -0.24897107481956482, -0.196564182639122, 0.4416446089744568, -0.4492218792438507, 0.39036500453948975, 0.5384068489074707, -0.284890353679657, -0.18859031796455383, -0.4661075472831726, -0.5861886739730835, 0.939615786075592, 0.2930009067058563, -0.1833977997303009, 0.13900506496429443, 0.4386586546897888, 0.5840877890586853, -0.506024956703186, 0.6165745854377747, 0.5755449533462524, 0.8324953317642212, -0.26488256454467773, -1.1881169080734253, 0.1564123034477234, -0.6110801100730896, -0.157944455742836, 0.018530482426285744, -0.14980103075504303, 1.2160948514938354, 0.07664650678634644, -0.19054250419139862, 0.3775721490383148, 0.37448349595069885, -0.14742541313171387, 0.25984153151512146, 0.8313300013542175, 0.3259979486465454, 0.47853943705558777, 0.033020034432411194, 1.063198447227478, -0.22804643213748932, 0.007356260437518358, 0.9344359636306763, -0.5764846801757812, 0.684130072593689, 0.2497061789035797, -0.054047659039497375, 0.4462081789970398, 0.23188269138336182, 0.006511115003377199, 0.662153959274292, -0.02999580278992653, -0.27740731835365295, -0.48806336522102356, -0.021930066868662834, -0.22783398628234863, 0.4927419424057007, 0.10376449674367905, -0.09719504415988922, -0.4048425257205963, 0.5273398160934448, -0.26953232288360596, 0.15068843960762024, -0.15244200825691223, 0.8781548738479614, -0.42966732382774353, -0.9165989756584167, 0.6004723906517029, -0.07399052381515503, 0.5410488247871399, -0.8739544749259949, -0.05267632007598877, 0.11981005221605301, 0.6354820132255554, 0.0399305634200573, -0.5151403546333313, -0.12602892518043518, -0.004397707525640726, -0.03450753912329674, -0.15246453881263733, 0.49157676100730896, -0.05940051004290581, -0.2133408635854721, 0.38761961460113525, 0.6691980361938477, 0.18907782435417175, -0.6525295376777649, -0.590977668762207, 0.13904277980327606, -0.05294913426041603, -0.1356636881828308, 0.3425540626049042, 0.33984822034835815, 0.10683102160692215, 0.9309729337692261, 0.8003544807434082, -0.15290366113185883, 0.12660540640354156, -0.17894247174263, 0.8817608952522278, -0.7065887451171875, -0.6258524656295776, -0.655293345451355, 0.5478810667991638, -0.2243994027376175, -0.34228435158729553, 0.7994183897972107, 0.8106165528297424, 0.5931662917137146, -0.3409230709075928, 1.2006809711456299, -0.4377816617488861, 0.3778980076313019, -0.14577215909957886, 0.4440220892429352, -0.7614160776138306, -0.2941199243068695, -0.3373894691467285, -0.8129400610923767, 0.09126227349042892, 0.3504035472869873, -0.11528035998344421, 0.029168477281928062, 0.7921268343925476, 0.8950760364532471, -0.2556573748588562, -0.13656891882419586, 0.6416504383087158, -0.015103434212505817, 0.4267715811729431, 0.632038414478302, 0.8526761531829834, -0.07451613992452621, 0.8752800822257996, -0.15234334766864777, -0.568839967250824, -0.3867197036743164, -0.631534993648529, -1.0381211042404175, -0.7377983927726746, -0.1286497414112091, -0.07813885062932968, 0.2294229418039322, 1.1406922340393066, 0.9057053327560425, -0.49589458107948303, -0.4500075876712799, -0.09886962920427322, -0.33274656534194946, -0.6917322874069214, -0.13964758813381195, 0.15647807717323303, -0.23864145576953888, -0.8314726948738098, 0.5737636685371399, 0.23495952785015106, -0.07252563536167145, -0.5350452661514282, -0.02636345662176609, 0.03292614221572876, 0.06942444294691086, 0.6179761290550232, 0.6999284625053406, -0.5718858242034912, -0.2207777053117752, -0.016306940466165543, -0.484459787607193, -0.027497995644807816, 0.7773824334144592, -1.0348942279815674, 0.5669785737991333, 0.25188305974006653, 0.4365396201610565, 0.21460095047950745, 0.05532976612448692, 0.6004561185836792, -0.4909220337867737, -0.018366290256381035, 0.12620599567890167, 0.17737224698066711, 0.08866036683320999, 0.03851759433746338, 0.5661303400993347, 0.13809941709041595, -0.5704894065856934, -0.5326446294784546, -0.01886841468513012, -1.2197030782699585, -0.34056538343429565, 0.9588074684143066, 0.1341002881526947, -0.3747566044330597, -0.4281202554702759, -0.29119932651519775, -0.16644683480262756, -0.6748325228691101, 0.7936758995056152, 0.2292293757200241, -0.031180694699287415, 0.03157564252614975, -0.8738649487495422, 0.3782956898212433, -0.05677652731537819, -1.2454966306686401, 0.05776691809296608, 0.8815683126449585, -0.007313861045986414, 0.35970231890678406, 0.6954758167266846, 0.19137029349803925, 0.589191198348999, 0.1239396408200264, 0.6322954297065735, -0.4257679879665375, -0.5038554072380066, -0.021405627951025963, 0.5827072262763977, -0.2286849319934845, -0.5735642313957214 ]
http://arxiv.org/abs/2402.17811v2
http://arxiv.org/pdf/2402.17811v2
TruthX: Alleviating Hallucinations by Editing Large Language Models in Truthful Space
2024-02-27T14:45:04
2024-06-05T11:15:04
Shaolei Zhang, Tian Yu, Yang Feng
cs.CL
cs.CL, cs.AI, cs.LG
Large Language Models (LLMs) sometimes suffer from producing hallucinations, especially LLMs may generate untruthful responses despite knowing the correct knowledge. Activating the truthfulness within LLM is the key to fully unlocking LLM's knowledge potential. In this paper, we propose TruthX, an inference-time intervention method to activate the truthfulness of LLM by identifying and editing the features within LLM's internal representations that govern the truthfulness. TruthX employs an auto-encoder to map LLM's representations into semantic and truthful latent spaces respectively, and applies contrastive learning to identify a truthful editing direction within the truthful space. During inference, by editing LLM's internal representations in truthful space, TruthX effectively enhances the truthfulness of LLM. Experiments show that TruthX improves the truthfulness of 13 advanced LLMs by an average of 20% on TruthfulQA benchmark. Further analyses suggest that TruthX can control LLM to produce truthful or hallucinatory responses via editing only one vector in LLM's internal representations.
[ -0.1434847116470337, -0.7963476777076721, 0.9553682208061218, 0.22877034544944763, -0.07659917324781418, 0.18254804611206055, -0.3994673788547516, -0.3301122188568115, 0.1658639758825302, 0.5674719214439392, -0.4699946939945221, -0.6149410009384155, -0.48992738127708435, 0.1275758445262909, -0.31596243381500244, 0.6515628695487976, -0.006210002116858959, -0.08245620131492615, -0.010580717585980892, -0.16309557855129242, -0.4120076596736908, -0.7602858543395996, -0.3986389636993408, -0.23101863265037537, 0.3631591796875, 0.05762479454278946, 0.9996296763420105, 0.8027492165565491, 0.30045416951179504, 0.3879038691520691, -0.162872776389122, 0.20560458302497864, -0.5740976929664612, 0.10011374205350876, -0.2679300010204315, -0.664733350276947, -0.4785784184932709, 0.10873573273420334, 0.7901349663734436, 0.8224180340766907, -0.2741405963897705, -0.14280372858047485, 0.002886464586481452, 0.4616522789001465, -0.7180609703063965, 0.043842773884534836, -0.6757288575172424, 0.3250780403614044, 0.2535363733768463, -0.200275719165802, -0.3648657500743866, -0.5864746570587158, -0.20121638476848602, -0.6043981313705444, 0.059445951133966446, 0.04507403075695038, 0.44086796045303345, 0.7366918921470642, -0.18926186859607697, -0.2574935257434845, -0.8502089381217957, 0.7369589805603027, -0.9921891689300537, 0.7183150053024292, 0.0013997448841109872, 0.03455949202179909, -0.31500786542892456, -0.48294851183891296, -1.1019245386123657, -0.16456235945224762, -0.19723644852638245, 0.11567315459251404, -0.26390063762664795, 0.16896575689315796, 0.5824458599090576, 0.10235819965600967, -0.4608863592147827, -0.0067887213081121445, -0.10896924883127213, -0.2796000838279724, 0.4202592968940735, 0.23938988149166107, 0.1397973597049713, 0.00172789569478482, -0.21325552463531494, 0.02906513214111328, -0.47604259848594666, -0.30961093306541443, 0.38006842136383057, -0.006476493552327156, 0.16185370087623596, 0.7165181636810303, -0.024745645001530647, 0.5439413189888, 0.18730896711349487, -0.4247044324874878, 0.3296452462673187, 0.04880684241652489, -0.2944568693637848, 0.43786364793777466, 0.5393915176391602, 0.510966420173645, -0.11480862647294998, -0.2699222266674042, -0.43162742257118225, 0.35837703943252563, 0.27055424451828003, -0.9325952529907227, 0.025511659681797028, 0.4259049892425537, -0.5029365420341492, -0.3232700526714325, -0.04193072021007538, -0.7792086601257324, -0.7182683944702148, -0.5033743977546692, 0.581733226776123, -0.43329086899757385, -0.4486258029937744, 0.5679477453231812, -0.04838818311691284, 0.16434864699840546, 0.39308035373687744, -0.3356798589229584, 0.37136009335517883, 0.4532628059387207, 0.7567600607872009, -0.12574931979179382, -0.12616953253746033, -0.5365496277809143, 0.1880909502506256, -0.5671532154083252, 0.4662826955318451, -0.9581228494644165, -0.4670909643173218, -0.05029956251382828, -0.13942505419254303, 0.09421131014823914, -0.7279521226882935, 0.5741333365440369, -0.6918638348579407, 0.10410162061452866, -0.2112293541431427, -0.6650669574737549, -0.24561257660388947, 0.076231949031353, -0.6409603357315063, 0.743084192276001, 0.02181624248623848, -0.6249726414680481, -0.012447012588381767, -0.8561785817146301, -0.22932694852352142, -0.31956636905670166, -0.051851578056812286, -0.35172080993652344, 0.40842655301094055, 0.35046419501304626, 0.243644118309021, 0.4462241232395172, 0.275925874710083, -0.24094538390636444, -0.29373878240585327, 0.7854142189025879, -0.40051916241645813, 0.4090307354927063, 0.1490352302789688, -0.38674071431159973, 0.211568221449852, -0.8052033185958862, -0.1671406626701355, 0.13503992557525635, -0.1477804183959961, -0.38850393891334534, -0.1652931272983551, -0.16116629540920258, 0.25757989287376404, 0.2054436355829239, -0.6828344464302063, 0.28510239720344543, -0.5494232773780823, 0.09963823854923248, 0.8740594387054443, 0.23746941983699799, 0.29333117604255676, -0.2626497149467468, 0.3261147737503052, 0.26133033633232117, 0.2732584774494171, 0.03601991757750511, -0.12305569648742676, -0.9939272403717041, -0.11862228065729141, 0.2464209496974945, 0.46777671575546265, -0.978579580783844, 0.5960501432418823, -0.12434525787830353, -0.1431242972612381, -0.7970840930938721, 0.20682358741760254, 0.3952825665473938, 0.6137405633926392, 0.5935888290405273, -0.19470390677452087, -0.4658662974834442, -0.7925148010253906, -0.25316599011421204, -0.11654990166425705, 0.06280294805765152, 0.11799242347478867, 0.4650259017944336, -0.5229055881500244, 0.9034543037414551, -0.6646474003791809, -0.28909987211227417, -0.02680850960314274, 0.32341939210891724, 0.21841707825660706, 0.32965582609176636, 0.36718064546585083, -0.7800167202949524, -0.05681656301021576, -0.38375720381736755, -0.8244978785514832, -0.46832361817359924, -0.5281127691268921, -0.02477617748081684, 0.2527637481689453, 0.45751437544822693, -0.3601076304912567, 0.6418067216873169, 0.4826188385486603, -0.373017817735672, 0.6341946721076965, -0.34822699427604675, 0.3225184381008148, -0.8047208189964294, -0.2230234146118164, -0.46974706649780273, -0.13206364214420319, -0.4626769721508026, -0.09319859743118286, 0.13624021410942078, 0.06381556391716003, -0.3259854316711426, 0.5174285769462585, -0.3959592878818512, 0.04299606382846832, -0.5220579504966736, 0.359279602766037, 0.0346735417842865, 0.7886766195297241, 0.3404904901981354, 0.7619368433952332, 0.37944668531417847, -0.48847994208335876, 0.2243553251028061, 0.437427282333374, -0.25631415843963623, 0.4183385968208313, -0.398853063583374, 0.5108479261398315, -0.321056067943573, 0.09756676107645035, -0.7553114295005798, -0.0020011321175843477, 0.3111744523048401, -0.34931761026382446, 0.0555226169526577, 0.16650131344795227, -0.5177293419837952, 0.08396467566490173, -0.2279604971408844, 0.18415215611457825, 0.42497289180755615, -0.7835312485694885, 0.9005452394485474, 0.14750701189041138, -0.02173169143497944, -0.6071242094039917, -0.7660446763038635, 0.45013007521629333, -0.01900326833128929, -0.25643813610076904, 0.20125392079353333, -0.45073381066322327, -0.6373535990715027, 0.14710307121276855, -0.18713326752185822, 0.19256183505058289, -0.10186705738306046, 0.41149988770484924, 0.246846541762352, -0.053525086492300034, 0.15377308428287506, 0.31818464398384094, -0.2789083421230316, 0.12304689735174179, -0.3504107594490051, 0.33232495188713074, -0.007243709173053503, -0.41266825795173645, -0.43377116322517395, 0.4171499013900757, 0.4525088369846344, -0.3523520827293396, 0.7905575037002563, 0.31369513273239136, -0.3692322373390198, -0.332570344209671, -0.8529600501060486, -0.43380996584892273, -0.49536630511283875, 0.31063610315322876, -0.4591027498245239, -1.0771769285202026, 0.372744083404541, -0.4245374798774719, -0.12068231403827667, -0.057388439774513245, 0.5044298768043518, 0.18651695549488068, 0.8831354379653931, 0.6453601121902466, -0.008783984929323196, 0.2145881950855255, -0.20851251482963562, 0.3388015329837799, -1.0097978115081787, -0.017575956881046295, -0.299829363822937, -0.26805710792541504, -0.2785585820674896, -0.8332797288894653, 0.5724218487739563, -0.28215715289115906, 0.12951967120170593, -0.14558781683444977, -0.4470560848712921, 0.5597934722900391, 0.19592440128326416, 0.35874536633491516, 0.5169207453727722, -0.27592581510543823, -0.07109718769788742, -0.460519403219223, -0.5226610898971558, -0.42596304416656494, 1.0638058185577393, 0.25234583020210266, 1.0291430950164795, 0.18307846784591675, 0.5219660997390747, 0.2148892730474472, 0.20947881042957306, -0.7643930912017822, 0.627739429473877, 0.14372345805168152, -0.3517019748687744, -0.2091343104839325, -0.3629150986671448, -0.46690672636032104, 0.0664563924074173, -0.45400092005729675, -0.4439547061920166, 0.5859983563423157, 0.03911783918738365, -0.5758243203163147, 0.5008828639984131, -0.42832472920417786, 0.4814852476119995, -0.2309778481721878, -0.5005296468734741, -0.552084743976593, -0.6147568821907043, 0.30878910422325134, -0.3832468092441559, 0.3437323570251465, 0.3017767071723938, -0.2934074103832245, 0.5873035192489624, -0.12393227964639664, 1.0463134050369263, -0.17704345285892487, -0.2884405553340912, -0.15804442763328552, 0.5112131834030151, 0.6826843023300171, 0.02185029722750187, -0.22436106204986572, 0.2803991734981537, -0.39447399973869324, -0.01904628425836563, -1.125045895576477, 0.6143333911895752, -0.7659744024276733, -0.7396548986434937, -0.3319578468799591, -0.6578013896942139, -0.4070422053337097, -0.06556744128465652, -0.15058617293834686, 0.36829671263694763, -0.17308969795703888, 0.1339520812034607, 1.201658844947815, -0.49563077092170715, 0.47166046500205994, 0.6414068341255188, -0.5237483382225037, -0.4277195632457733, 0.6909403800964355, 0.0644725114107132, 0.316587895154953, 0.4184510409832001, 0.3497184216976166, -0.4636814594268799, -0.6158849596977234, 0.15119566023349762, 0.39276325702667236, -0.8786018490791321, 0.04231489822268486, -1.0059126615524292, -0.272299200296402, -0.4534982144832611, -0.2501634955406189, -0.4692896902561188, -0.5007874369621277, 0.04046548530459404, -0.2898891568183899, 0.13653779029846191, 0.6013618111610413, -0.5243906378746033, 0.3962371051311493, -0.6098105907440186, 0.6361235976219177, 0.6059012413024902, 0.28386759757995605, -0.25057053565979004, -0.6955606341362, -0.1744617521762848, -0.15406768023967743, -0.011147948913276196, -0.8236914873123169, 0.4315158724784851, 0.026769645512104034, 0.42861539125442505, 0.5357319712638855, 0.18403597176074982, 0.6615430116653442, -0.4519977569580078, 0.7230846285820007, 0.046085502952337265, -1.351770043373108, 0.5144360065460205, 0.14388634264469147, 0.29921984672546387, 0.16983217000961304, 0.20941853523254395, -0.7217592597007751, -0.7050014138221741, -0.4555385708808899, -0.39497292041778564, 0.4102989435195923, 0.20232681930065155, 0.24095332622528076, 0.3564684987068176, 0.5469923615455627, 0.3653396666049957, 0.44181138277053833, -0.7194432616233826, -0.16362306475639343, -0.5330133438110352, -0.0703100860118866, 0.21477676928043365, -0.6199313998222351, -0.4403710663318634, -0.3023332357406616, 0.7390393018722534, -0.3019416034221649, 0.2833639979362488, 0.4434095323085785, -0.069186732172966, -0.24362419545650482, 0.43413135409355164, 0.5691617727279663, 0.7684433460235596, -0.1471295803785324, 0.39225757122039795, 0.3019106388092041, -0.4089745879173279, 0.05701807141304016, -0.07212658226490021, -0.14362823963165283, 0.051012493669986725, 0.5571551322937012, 1.0437290668487549, 0.016317641362547874, -0.5005043148994446, 0.3901258409023285, -0.2741129398345947, -0.17823879420757294, -0.13946901261806488, 0.44979649782180786, -0.1550702452659607, 0.5821685791015625, 0.10238315910100937, 0.1267448216676712, 0.2669590711593628, -0.3991018533706665, 0.111642986536026, 0.31023913621902466, -0.38787946105003357, -0.161719411611557, 0.8352575898170471, -0.1991938054561615, -0.24673926830291748, 0.514290452003479, 0.01237795501947403, -0.6818678379058838, 0.08561383187770844, 0.7056449055671692, 1.0132375955581665, -0.5727897882461548, 0.09407833963632584, 0.3968464136123657, 0.43452873826026917, 0.3423174023628235, 0.17318996787071228, 0.049774110317230225, -1.0791069269180298, -0.5358618497848511, -0.5729048252105713, -0.5276815295219421, 0.3835599422454834, -0.3899248242378235, -0.07003215700387955, -0.4759352207183838, 0.056673381477594376, -0.30722805857658386, -0.16674970090389252, -0.16569900512695312, 0.37691187858581543, 0.225858673453331, 0.842490553855896, -0.6465928554534912, 0.9858753085136414, 0.30697813630104065, -0.10590151697397232, -0.803226113319397, 0.3850668966770172, 0.09685737639665604, -0.6880449652671814, 0.4489947557449341, -0.10168072581291199, -0.44901835918426514, -0.03529410436749458, -1.0813894271850586, -0.5661999583244324, 0.7280480861663818, 0.5459538698196411, -0.7576162219047546, 0.2395402193069458, 0.3589908182621002, 0.4348430633544922, -0.3781110644340515, -0.01142159104347229, 0.6942315697669983, 0.7716270685195923, 0.402188777923584, -0.5981587767601013, 0.35083311796188354, -0.23497870564460754, 0.056003887206315994, -0.13475477695465088, -0.4597243666648865, 0.5095941424369812, -0.4400264620780945, -0.09646013379096985, -0.14720463752746582, 0.860780656337738, 0.2168942242860794, -0.127619668841362, 0.8380374908447266, 0.5582541823387146, 0.9094440340995789, -0.03921116515994072, 0.6432917714118958, -0.4820508062839508, -0.09628251940011978, 1.2325807809829712, -0.41203534603118896, 0.5872673988342285, 0.6176825165748596, 0.17548617720603943, 0.5030090808868408, 0.23695392906665802, 0.006828341633081436, 0.5691887140274048, 0.0817948505282402, -0.5826401114463806, -0.5030221939086914, -0.09342142939567566, -0.42873072624206543, 0.2607593536376953, 0.533376157283783, -0.013617228716611862, -0.06898391991853714, 0.42345836758613586, 0.4730512499809265, 0.30530232191085815, -0.0547543540596962, 0.8623689413070679, 0.04529073089361191, -0.39722341299057007, 0.49836674332618713, -0.02323773317039013, 0.41392311453819275, -0.6737198233604431, -0.49541378021240234, -0.30601319670677185, 0.1807309091091156, -0.2018217146396637, -0.9195561408996582, 0.27985745668411255, -0.10633032023906708, -0.0048487368039786816, -0.1637675166130066, 0.6520863175392151, -0.5951402187347412, -0.41207000613212585, 0.564594030380249, 0.23643085360527039, -0.042323242872953415, -0.37632572650909424, -0.5613155364990234, 0.4890879988670349, 0.0100464578717947, -0.2897713780403137, -0.10619570314884186, 0.6763498783111572, 0.20145578682422638, 0.6146130561828613, 0.7483148574829102, 0.3970884680747986, -0.0638885647058487, 0.06281769275665283, 1.0557531118392944, -0.7956405282020569, -0.4779980480670929, -0.8402820825576782, 0.5152884125709534, -0.14043188095092773, 0.12070544809103012, 0.6537487506866455, 0.5551884174346924, 0.6305663585662842, -0.09277861565351486, 1.041712999343872, 0.0843375027179718, 0.42523276805877686, -0.8532283902168274, 0.7049846053123474, -0.5828362107276917, 0.2604025900363922, -0.12105009704828262, -0.832868218421936, -0.39022096991539, 0.5507974028587341, -0.43514344096183777, -0.3419722020626068, 0.9236977696418762, 1.3285971879959106, 0.1477516144514084, 0.10831208527088165, 0.662573516368866, 1.1028192043304443, 0.3222610056400299, 0.431143194437027, 0.9647711515426636, -0.11168167740106583, 0.39212486147880554, -0.44022735953330994, -0.5028907656669617, 0.05399651452898979, -0.8186241984367371, -1.0557671785354614, -0.5535072684288025, -0.4227310121059418, -0.43254122138023376, 0.16782541573047638, 1.0745552778244019, 0.4521925449371338, -0.8190736770629883, -0.14181141555309296, 0.3050726652145386, 0.2971924841403961, -0.28626105189323425, -0.21472926437854767, 0.4992353916168213, -0.3898971974849701, -0.7454462647438049, 0.6524435877799988, 0.5076889395713806, -0.05687211826443672, -0.417263001203537, -0.15784575045108795, 0.08573497831821442, 0.4030516743659973, 0.448265939950943, -0.20404647290706635, -0.5846534967422485, -0.4881156384944916, -0.005304605700075626, -0.029870325699448586, 0.3417063057422638, 0.8003240823745728, -0.9014797806739807, 0.7776461839675903, 0.11485008895397186, 0.48244965076446533, 0.29500216245651245, -0.18516887724399567, 0.4879903197288513, -0.6446865797042847, 0.22928950190544128, 0.24584993720054626, 0.2793421447277069, 0.39144834876060486, -0.6202109456062317, 0.4961299002170563, 0.48761436343193054, -0.33306455612182617, -0.6707115769386292, 0.09855759143829346, -0.9444320201873779, -0.5137828588485718, 1.1838046312332153, 0.18263675272464752, -0.40400999784469604, -0.20238521695137024, -0.6246879696846008, 0.35606110095977783, -0.2791523039340973, 1.1168272495269775, 0.7017581462860107, -0.08226746320724487, -0.16508892178535461, -0.5851287841796875, 0.575262188911438, 0.19528348743915558, -0.870580792427063, 0.2925606966018677, 0.6870719790458679, 0.01814824715256691, 0.33335474133491516, 0.2929932475090027, -0.19769684970378876, 0.041316621005535126, 0.02356051281094551, 0.41432878375053406, -0.21299603581428528, -0.38821762800216675, -0.42156895995140076, 0.20071521401405334, -0.23975570499897003, 0.010275577194988728 ]
http://arxiv.org/abs/2402.17546v1
http://arxiv.org/pdf/2402.17546v1
COCOA: CBT-based Conversational Counseling Agent using Memory Specialized in Cognitive Distortions and Dynamic Prompt
2024-02-27T14:38:47
2024-02-27T14:38:47
Suyeon Lee, Jieun Kang, Harim Kim, Kyoung-Mee Chung, Dongha Lee, Jinyoung Yeo
cs.AI
cs.AI, cs.CL
The demand for conversational agents that provide mental health care is consistently increasing. In this work, we develop a psychological counseling agent, referred to as CoCoA, that applies Cognitive Behavioral Therapy (CBT) techniques to identify and address cognitive distortions inherent in the client's statements. Specifically, we construct a memory system to efficiently manage information necessary for counseling while extracting high-level insights about the client from their utterances. Additionally, to ensure that the counseling agent generates appropriate responses, we introduce dynamic prompting to flexibly apply CBT techniques and facilitate the appropriate retrieval of information. We conducted dialogues between CoCoA and characters from Character.ai, creating a dataset for evaluation. Then, we asked GPT to evaluate the constructed counseling dataset, and our model demonstrated a statistically significant difference from other models.
[ -0.32996928691864014, -1.3518521785736084, 0.7089865803718567, 0.6405923962593079, 0.09010089188814163, 0.5155231356620789, -0.046938762068748474, -0.5380262136459351, 0.36489278078079224, 0.49597522616386414, -0.7246657013893127, -0.2459937483072281, -0.5157460570335388, -0.2002972960472107, -0.141191303730011, 0.9350994229316711, 0.1738373190164566, 0.06592950224876404, -0.15671834349632263, 0.19289301335811615, -1.440906286239624, -0.47311314940452576, -1.2735263109207153, -0.46907415986061096, 0.2762593924999237, 0.4236389696598053, 1.0897611379623413, 0.069871686398983, 0.09125789999961853, 0.34290453791618347, -0.04217751696705818, 0.14353211224079132, -0.3874029517173767, 0.43211695551872253, -0.21888095140457153, -0.38747021555900574, -0.7574611902236938, -0.10361067950725555, 0.09706968069076538, 0.41345566511154175, -0.5087692141532898, -0.02115953527390957, -0.21427074074745178, 0.3257299065589905, -0.48543840646743774, 0.5061202645301819, -0.7691648602485657, 0.1613115817308426, 0.18905162811279297, -0.23102176189422607, -0.5920438766479492, -0.40019312500953674, 0.1586843729019165, -0.7217082381248474, 0.44587549567222595, 0.060700710862874985, 0.5970677137374878, 0.21813815832138062, -0.5482274889945984, -0.5248677134513855, -0.8515661358833313, 0.5340456962585449, -0.376620352268219, 0.1402868777513504, 1.0223188400268555, 0.6056404709815979, -0.2520447075366974, -0.6111487150192261, -0.16107089817523956, -0.6142960786819458, -0.022709188982844353, 0.35569387674331665, 0.04843929037451744, 0.11808588355779648, 0.2467510998249054, 0.2771914303302765, -0.41219866275787354, -0.3021102845668793, -0.021957315504550934, -0.3860098421573639, 0.5793936848640442, 0.5865772366523743, 0.422292560338974, 0.15884356200695038, 0.07401371002197266, 0.048572003841400146, 0.027274342253804207, -0.1285974234342575, 0.1278723031282425, 0.021225452423095703, 0.20405229926109314, 0.4026000499725342, 0.2260477989912033, 0.47437649965286255, 0.39747223258018494, -0.19200433790683746, -0.2645871341228485, 0.12073919177055359, -0.31262698769569397, 0.6868341565132141, 0.6043905019760132, 0.4534144103527069, 0.34548550844192505, -0.14960184693336487, 0.0329626128077507, 0.20279072225093842, 0.7934495210647583, -0.5564789175987244, -0.44322869181632996, 0.07122047245502472, -0.2690146863460541, -0.25071579217910767, -0.20231030881404877, -0.6512346267700195, -0.5604225993156433, -0.2706158757209778, -0.2588854432106018, -0.9338692426681519, -0.357411652803421, -0.02390524558722973, -0.280880331993103, -0.058433838188648224, 0.5049712061882019, -1.0677196979522705, 0.5850773453712463, 0.25779351592063904, 0.7049556970596313, 0.01382263284176588, 0.18540292978286743, -0.16544198989868164, 0.4123116135597229, -0.38210922479629517, 0.7872690558433533, -0.8013099431991577, -0.781960129737854, -0.05774668976664543, 0.025499600917100906, -0.004402401857078075, -0.6190509796142578, 0.31135043501853943, -0.4327784776687622, -0.18892474472522736, -0.6561211347579956, -0.24786952137947083, -0.006635128520429134, 0.7965543866157532, -0.5960355997085571, 1.3278394937515259, 0.5444471836090088, -0.5734142661094666, 0.19758161902427673, -0.6876862049102783, -0.4748819172382355, 0.22972793877124786, -0.17583972215652466, 0.04123178496956825, 0.1950192153453827, 0.39033210277557373, 0.061906274408102036, -0.4172367751598358, 0.27462756633758545, -0.24349237978458405, -0.2806738018989563, 0.8033055663108826, -0.8726299405097961, 0.5078747868537903, 0.2707371413707733, -0.04481646046042442, -0.03624192997813225, -0.8886673450469971, 0.1404981017112732, 0.36921975016593933, -0.371201753616333, -0.3957134485244751, -0.1659749150276184, 0.061158593744039536, -0.016677582636475563, 0.0639449954032898, -0.4371175467967987, 0.4618525207042694, -0.01083163358271122, 0.44135648012161255, 0.6170063018798828, 0.3786913752555847, -0.09462746232748032, -0.47604992985725403, 0.8077401518821716, -0.03768961504101753, 0.29545629024505615, -0.16033336520195007, -0.7610600590705872, -0.45928290486335754, -0.42583638429641724, -0.2810891568660736, 0.7171965837478638, -0.7997236847877502, 0.2971234619617462, 0.2089024782180786, -0.3814558982849121, -0.4125838279724121, -0.27829787135124207, 0.31534627079963684, 0.6770082116127014, 0.4257346987724304, -0.500959575176239, -0.2669743001461029, -0.6229400038719177, -0.15367546677589417, -0.13467197120189667, 0.33318132162094116, 0.33407631516456604, -0.027463769540190697, -0.3841985762119293, 1.1523550748825073, -0.6454598307609558, -0.02998184598982334, -0.11446115374565125, 0.4351610839366913, -0.03612161800265312, 0.4086151123046875, 0.6059296131134033, -0.491108775138855, -0.7154077291488647, -0.1005413681268692, -0.7330759167671204, -0.2431180626153946, -0.4088703393936157, -0.22876815497875214, -0.1782996952533722, 0.4389961063861847, -0.6494886875152588, 0.6133620142936707, 0.18619875609874725, -0.5072120428085327, 1.0125948190689087, -0.4438256323337555, 0.20587033033370972, -0.8324549198150635, -0.17930808663368225, -0.5087845325469971, -0.4649103581905365, -0.393971711397171, -0.5987565517425537, -0.11003105342388153, -0.29997897148132324, -0.3909401595592499, 0.5088660717010498, -0.69586181640625, 0.06206771358847618, -0.414471298456192, 0.04075043275952339, -0.08030103147029877, 0.5013196468353271, -0.04596230760216713, 0.7894416451454163, 0.5357451438903809, -0.5717644095420837, 0.8193843364715576, 0.5377480387687683, -0.06562936305999756, 1.0945910215377808, -0.41899409890174866, 0.42939621210098267, 0.0620252750813961, 0.4503551721572876, -0.6801928281784058, 0.04865320399403572, 0.49039116501808167, -0.09996677190065384, 0.338401198387146, 0.03633248060941696, -0.2894744277000427, -0.49559587240219116, 0.10945530235767365, 0.6747371554374695, 0.18404924869537354, -0.14745748043060303, 0.4268758296966553, -0.008724060840904713, -0.3585531413555145, -0.5026053786277771, -0.8829625248908997, 0.23154424130916595, 0.06617335975170135, -0.46169719099998474, 0.2619938552379608, -0.38538092374801636, -0.061719849705696106, 0.19885680079460144, -0.15296107530593872, 0.04780242592096329, -0.05545305833220482, 0.3276927173137665, 0.06843197345733643, -0.1345454305410385, 0.18252508342266083, 0.33753302693367004, -0.31416285037994385, 0.18779534101486206, -0.2002827674150467, 0.9449244141578674, -0.2713494896888733, -0.5301661491394043, -0.47750982642173767, 0.4768478274345398, 0.6278132200241089, -0.28073838353157043, 0.8802834153175354, 0.47884005308151245, -0.18458835780620575, 0.07059991359710693, -0.6784193515777588, -0.005935508292168379, -0.5045800805091858, 0.26604974269866943, -0.4848014712333679, -0.4009121358394623, 0.8351672291755676, -0.039793144911527634, -0.4704624116420746, -0.20582044124603271, 0.7472105026245117, 0.2346011996269226, 1.3083888292312622, 0.14040890336036682, 0.09926721453666687, 0.9534648060798645, -0.29816266894340515, 0.126190185546875, -0.8673581480979919, -0.09940781444311142, 0.02005036547780037, -0.19956590235233307, -0.10903140157461166, -0.2365216463804245, 0.10282585769891739, 0.05290700122714043, -0.5658909678459167, 0.10967107117176056, -0.821972131729126, 0.34125375747680664, 0.524575412273407, 0.39033764600753784, 0.2323748618364334, -0.30724313855171204, -0.40323367714881897, -0.010540228337049484, -0.4201202690601349, -0.46882468461990356, 0.7164230942726135, 0.2341081202030182, 0.7201982736587524, 0.14476506412029266, 0.1903054267168045, 0.4618731439113617, 0.5390714406967163, -1.040514349937439, 0.6021089553833008, 0.49681350588798523, -0.9062308073043823, -0.02615446411073208, -0.220052570104599, -1.1324964761734009, 0.0015580280451104045, -0.0592648945748806, -1.049979329109192, 0.21604812145233154, 0.11906106024980545, -0.22999697923660278, -0.18814365565776825, -0.5248943567276001, 0.8177511692047119, -0.5976760983467102, -0.04076788201928139, -0.3597927689552307, -0.49587830901145935, 0.3066781163215637, -0.14477679133415222, -0.11394912004470825, -0.2827240824699402, 0.3116368353366852, 0.46865835785865784, -0.8294088840484619, 0.8600137233734131, -0.25488150119781494, 0.06500175595283508, 0.5221565961837769, 0.5331832766532898, 0.5076642036437988, 0.4161764085292816, -0.20648837089538574, -0.2833734452724457, 0.5396815538406372, -0.5795026421546936, -1.072497844696045, 0.42639222741127014, -0.7397453784942627, -0.5136561393737793, -0.5660627484321594, -0.962454080581665, -0.578744113445282, 0.2769968807697296, 0.03800490126013756, 0.3598777949810028, -0.8364187479019165, -0.10477017611265182, 0.33602023124694824, -0.5568630695343018, 0.1252710074186325, 0.7581230998039246, -0.2626597285270691, -0.45927995443344116, 0.7623826265335083, 0.0040646200068295, 0.36463090777397156, -0.06868868321180344, 0.27795395255088806, 0.05534602329134941, -0.3806704580783844, 0.06698804348707199, 0.35197436809539795, -0.7245997190475464, -0.15920992195606232, -0.3895737826824188, -0.16276930272579193, -0.6173074841499329, -0.4745161831378937, -0.5439292192459106, -0.11760184913873672, -0.11103778332471848, -0.2878335118293762, 0.46368318796157837, 0.5428040623664856, 0.2833225727081299, 0.7988451719284058, -0.8395297527313232, 0.28292369842529297, 0.17988252639770508, 0.0989580824971199, 0.1738228052854538, 0.2083004117012024, -0.2109290063381195, 0.25968703627586365, -0.8838536739349365, -1.3320295810699463, 0.5890364050865173, -0.026857398450374603, 0.5585665106773376, 0.6429610848426819, 0.25519147515296936, 0.9533880949020386, -0.20140472054481506, 0.8900063037872314, 0.42492514848709106, -0.950125515460968, 0.7344184517860413, -0.3792852759361267, 0.33665165305137634, 0.611821174621582, -0.02512800320982933, -0.9308497905731201, -0.6910367608070374, -0.7631361484527588, -0.6664481163024902, 0.9067817330360413, 0.1775839924812317, 0.12061567604541779, -0.49429458379745483, 0.6542266607284546, -0.10841812193393707, 0.26903435587882996, -0.20617353916168213, -0.07584947347640991, -0.4367351531982422, -0.495400995016098, 0.23816733062267303, -0.21629005670547485, -0.30157092213630676, -0.16564792394638062, 0.6626231670379639, -0.2992633879184723, 0.7570123672485352, 0.29042327404022217, -0.10718236118555069, -0.1990266740322113, 0.14450305700302124, 0.3494454324245453, 0.4639619290828705, -0.3621085584163666, -0.024016130715608597, 0.32060685753822327, -0.934777021408081, 0.2704307734966278, -0.0740627646446228, 0.09745702147483826, -0.26921916007995605, 0.2947867810726166, 0.8827123641967773, 0.15805643796920776, -0.6707689166069031, 0.2737756669521332, -0.4757365584373474, 0.07870234549045563, -0.5000309348106384, 0.19683526456356049, -0.014031892642378807, 0.26822710037231445, -0.10605258494615555, -0.04989790916442871, 0.027745641767978668, -1.0935388803482056, 0.004240215290337801, 0.3739134967327118, -0.7291564345359802, -0.142078697681427, 0.5913698673248291, -0.09464605152606964, -0.7134888768196106, 1.2280253171920776, 0.0084846131503582, -0.4217015504837036, 0.7574058175086975, 1.184836983680725, 0.7648642659187317, -0.45626088976860046, 0.48632800579071045, -0.18666891753673553, 0.03949901834130287, -0.224859818816185, 0.25405430793762207, -0.24644869565963745, -0.8016538619995117, 0.04607006162405014, -0.22067660093307495, -0.5456971526145935, -0.04705863073468208, -1.0516270399093628, 0.07035324722528458, -0.7953452467918396, -0.5785638093948364, -0.2893025279045105, 0.0038071677554398775, -0.698470413684845, 0.2836121618747711, -0.026503300294280052, 0.8759188055992126, -0.5747500658035278, 1.1063132286071777, 0.7291461825370789, -0.6759157180786133, -0.9487414956092834, -0.06001269444823265, 0.15879462659358978, -1.0030466318130493, 0.3103172779083252, 0.02570893056690693, -0.11311175674200058, -0.13957718014717102, -0.3624037802219391, -0.7418004274368286, 1.3402812480926514, 0.8203561902046204, -0.25036072731018066, -0.20802317559719086, 0.2619716227054596, 0.6318169832229614, -0.3263586163520813, 0.8138787150382996, 0.7963022589683533, 0.7179690003395081, 0.3610343337059021, -0.7820680141448975, 0.3811989724636078, -0.314498633146286, 0.1316867470741272, -0.0471377931535244, -0.7205532789230347, 0.42349910736083984, 0.21690939366817474, -0.04450539872050285, 0.18472403287887573, 0.47045400738716125, 0.26771852374076843, 0.49668464064598083, 0.32576245069503784, 0.08813928812742233, 1.3372511863708496, 0.05771132931113243, 1.033860445022583, -0.27880242466926575, 0.22489289939403534, 1.343115210533142, -0.2478284239768982, 0.12869279086589813, 0.16210034489631653, 0.17012812197208405, 0.5117385983467102, 0.8313179016113281, -0.014849724248051643, 0.3509650230407715, 0.01020723395049572, -0.19907592236995697, -0.09112033247947693, -0.1724315881729126, -0.23818425834178925, 0.01270234677940607, 0.8183824419975281, -0.2500911056995392, 0.20968933403491974, 0.4365224838256836, 0.12928298115730286, -0.15212482213974, -0.07748091965913773, 0.6824073791503906, 0.3221071660518646, -0.7935135364532471, 0.698422908782959, -0.21767139434814453, -0.0025748845655471087, -0.7898101806640625, 0.08200347423553467, -0.20057612657546997, 0.390421062707901, -0.13411641120910645, -0.4751516878604889, 0.5345922708511353, -0.2376377135515213, -0.18278390169143677, -0.3343294858932495, 0.7055395245552063, -0.3016745150089264, -0.42449232935905457, 0.42270174622535706, 0.17516842484474182, 0.2207212746143341, -0.3958674967288971, -1.2161513566970825, 0.06518041342496872, -0.42236754298210144, -0.34374919533729553, 0.20546549558639526, 0.6339060068130493, -0.3768065571784973, 0.7879051566123962, 0.5085057020187378, 0.11357221752405167, 0.004853540565818548, 0.1828932911157608, 0.6872082948684692, -0.8206064701080322, -0.6341078281402588, -0.5400190949440002, 0.23372940719127655, -0.21044383943080902, -0.15548020601272583, 0.708653450012207, 0.321274071931839, 0.05919855460524559, 0.027284933254122734, 0.7326585650444031, -0.14196814596652985, 0.15846355259418488, -0.36167028546333313, 0.4732900559902191, -0.2547401189804077, 0.23636354506015778, -0.3844740092754364, -1.0236315727233887, -0.18718063831329346, 0.7466463446617126, -0.5389140248298645, 0.20276299118995667, 1.0524128675460815, 0.8543183207511902, -0.14578627049922943, 0.3587600290775299, 0.3574014902114868, 0.4813840985298157, 0.9437518119812012, 0.4899449944496155, 1.0858210325241089, -0.07876696437597275, 0.4196690320968628, 0.21272604167461395, -0.3190615773200989, -0.3819277882575989, -0.7685127854347229, -0.7792676091194153, -0.2692985534667969, -0.37193092703819275, -0.5541006326675415, 0.21301484107971191, 0.97374027967453, 0.8088982105255127, -0.625934898853302, 0.037072863429784775, -0.32250821590423584, -0.17202310264110565, -0.8121512532234192, -0.2979313135147095, 0.26556649804115295, -0.31785982847213745, -0.4049949049949646, 0.6334722638130188, 0.1233043223619461, -0.01480139885097742, -0.0672084167599678, -0.2093474566936493, -0.04948509857058525, 0.6671994924545288, 0.43543359637260437, 0.2957766652107239, -0.500787615776062, -0.364483118057251, -0.3401055932044983, -0.0691143348813057, 0.2964954078197479, 1.2259695529937744, -0.7065039277076721, 0.653532087802887, 0.07810628414154053, 0.44248080253601074, 1.0151045322418213, 0.17689363658428192, 0.8715106844902039, -0.5759086608886719, 0.33850595355033875, 0.32202351093292236, 0.1587393432855606, 0.2619002163410187, -0.8610814809799194, 0.2712405323982239, 0.215066596865654, -0.6621373891830444, -0.543222188949585, 0.32957568764686584, -1.391283631324768, -0.4489319622516632, 0.9230833053588867, -0.21854664385318756, -0.17401690781116486, -0.6065222024917603, -1.2100504636764526, 0.5400059223175049, -0.6924704313278198, 0.7479233145713806, 0.8321380615234375, -0.5795904994010925, -0.19401153922080994, -0.5131971836090088, 0.2820121645927429, 0.3120131492614746, -0.6879284381866455, 0.08704832196235657, 0.40707796812057495, 0.32684919238090515, 0.10671740025281906, 1.1025112867355347, -0.0728149265050888, 0.035301417112350464, 0.22578974068164825, -0.059404414147138596, -0.24869683384895325, -0.019911177456378937, 0.1603570133447647, 0.07849184423685074, 0.08757883310317993, 0.073660708963871 ]
http://arxiv.org/abs/2402.17532v3
http://arxiv.org/pdf/2402.17532v3
Retrieval is Accurate Generation
2024-02-27T14:16:19
2024-03-16T04:31:47
Bowen Cao, Deng Cai, Leyang Cui, Xuxin Cheng, Wei Bi, Yuexian Zou, Shuming Shi
cs.CL
cs.CL
Standard language models generate text by selecting tokens from a fixed, finite, and standalone vocabulary. We introduce a novel method that selects context-aware phrases from a collection of supporting documents. One of the most significant challenges for this paradigm shift is determining the training oracles, because a string of text can be segmented in various ways and each segment can be retrieved from numerous possible documents. To address this, we propose to initialize the training oracles using linguistic heuristics and, more importantly, bootstrap the oracles through iterative self-reinforcement. Extensive experiments show that our model not only outperforms standard language models on a variety of knowledge-intensive tasks but also demonstrates improved generation quality in open-ended text generation. For instance, compared to the standard language model counterpart, our model raises the accuracy from 23.47% to 36.27% on OpenbookQA, and improves the MAUVE score from 42.61% to 81.58% in open-ended text generation. Remarkably, our model also achieves the best performance and the lowest latency among several retrieval-augmented baselines. In conclusion, we assert that retrieval is more accurate generation and hope that our work will encourage further research on this new paradigm shift.
[ -0.07013607025146484, -0.6982883214950562, 0.5385597944259644, 0.08043942600488663, -0.38616421818733215, -0.05252447351813316, -0.32095953822135925, -0.23951782286167145, 0.12287072837352753, 0.6337078213691711, -0.369234561920166, -0.41187578439712524, -0.3036595284938812, 0.15045873820781708, -0.6707204580307007, 0.9229772090911865, 0.12662220001220703, -0.1128983348608017, -0.18765608966350555, -0.17969807982444763, -0.4779106080532074, -0.35702797770500183, -0.40980643033981323, -0.30115774273872375, 0.24752801656723022, 0.183688685297966, 0.35410386323928833, 0.9872028827667236, 0.19216808676719666, 0.17820027470588684, -0.16061317920684814, 0.08462713658809662, -0.40839022397994995, 0.5160546898841858, -0.24210795760154724, -0.2641032934188843, 0.10767584294080734, -0.07757043093442917, 0.7072679400444031, 0.6250535249710083, -0.43795785307884216, 0.10865375399589539, 0.026737820357084274, 0.766261875629425, -0.9211733937263489, -0.09980190545320511, -1.184789776802063, -0.16955846548080444, -0.3693324625492096, -0.30199354887008667, -0.8213449120521545, -0.15125463902950287, 0.23023302853107452, -0.8650451302528381, 0.3707379400730133, 0.05236629769206047, 0.9065229296684265, 0.33932989835739136, -0.3135887086391449, -0.5253732204437256, -0.49303704500198364, 0.9259499311447144, -0.4719754457473755, 0.4080697298049927, 0.31854262948036194, 0.39580923318862915, 0.003639772767201066, -1.07083261013031, -0.4714825749397278, -0.33876100182533264, -0.0957612618803978, -0.014664627611637115, 0.0783078521490097, -0.19100219011306763, 0.010262973606586456, 0.3310917913913727, -0.2715320289134979, -0.14442797005176544, -0.4586537480354309, -0.1412401795387268, 0.539204478263855, 0.01951279118657112, 0.1656307727098465, -0.6365992426872253, -0.5823084712028503, -0.1826905459165573, -0.8319302201271057, -0.2219964861869812, 0.08038776367902756, 0.7452262043952942, 0.4680272936820984, 0.4989594519138336, -0.35709133744239807, 0.9168803095817566, 0.06081851199269295, -0.012883891351521015, 0.2676035165786743, -0.5023168325424194, -0.24232475459575653, 0.11643823236227036, 0.6258809566497803, 0.04506092146039009, 0.0249098502099514, -0.14507627487182617, -0.38818681240081787, -0.21147239208221436, 0.669538676738739, -0.653352677822113, -0.027123847976326942, 0.07083097845315933, -0.3368791341781616, -0.3895095884799957, -0.15491417050361633, -0.607321560382843, -0.1921476423740387, -0.31774526834487915, 0.44084399938583374, -0.8852745890617371, 0.033098943531513214, 0.03985416516661644, -0.08762174844741821, 0.29661068320274353, 0.23470163345336914, -1.0409702062606812, 0.10930255055427551, 0.5130180716514587, 0.6844131350517273, -0.17416398227214813, -0.1447342336177826, -0.7572673559188843, 0.16473551094532013, -0.5683481693267822, 0.6471583843231201, -0.5884400606155396, -0.4385000765323639, 0.28250277042388916, -0.3834252953529358, -0.14856205880641937, -0.6697537302970886, 0.49663951992988586, -0.5730039477348328, 0.48071786761283875, -0.40894001722335815, -0.6418388485908508, 0.23348915576934814, 0.3091762363910675, -0.6110066771507263, 1.5713788270950317, 0.14093030989170074, -0.689190685749054, 0.6323562860488892, -0.4807039499282837, -0.36556801199913025, 0.14588545262813568, -0.3790566921234131, -0.13207754492759705, 0.07646943628787994, 0.2064051479101181, 0.30790725350379944, -0.4086382985115051, 0.2860003113746643, 0.3163018524646759, -0.28112247586250305, -0.19095635414123535, -0.03881298750638962, 0.6968633532524109, 0.525772750377655, -0.40508800745010376, -0.059455081820487976, -0.9455639719963074, 0.30497318506240845, 0.048595722764730453, -0.6451650857925415, -0.8139875531196594, 0.03633587434887886, 0.01378188282251358, 0.14511838555335999, 0.17884007096290588, -0.6167032122612, 0.26209691166877747, -0.5981712937355042, 0.22794035077095032, 0.6642888784408569, 0.07795243710279465, 0.6987732648849487, 0.06632354855537415, 0.17673183977603912, -0.20319189131259918, -0.13470222055912018, -0.7021400332450867, -0.19192038476467133, -0.734667181968689, -0.28175923228263855, 0.38450199365615845, 0.27064409852027893, -0.9970920085906982, 0.5296630263328552, -0.2343495488166809, -0.38046589493751526, -0.6169558763504028, 0.03987598046660423, 0.659479558467865, 0.7682735919952393, 0.6631511449813843, -0.2731039226055145, -0.40749600529670715, -0.8512119650840759, -0.39909887313842773, -0.25113654136657715, -0.04197606444358826, 0.24217964708805084, 0.47841838002204895, 0.13257603347301483, 1.1498576402664185, -0.4479498565196991, -0.012438199482858181, -0.11004484444856644, 0.40158671140670776, -0.11325953900814056, 0.5311170816421509, 0.45521286129951477, -0.7051823735237122, -0.6276144981384277, -0.147576704621315, -0.7343284487724304, -0.030918316915631294, -0.2005438357591629, -0.23626044392585754, 0.37422260642051697, 0.7084577679634094, -0.42903563380241394, 0.2751748561859131, -0.04054740071296692, -0.3007277548313141, 0.4680187702178955, -0.20364795625209808, -0.12397827953100204, -1.3102716207504272, 0.3905732333660126, -0.22373323142528534, -0.0801408588886261, -0.5246347784996033, 0.47341305017471313, 0.27852749824523926, 0.1291934996843338, -0.3773033618927002, 0.8578230142593384, -0.6466847658157349, -0.005215638782829046, -0.2239920198917389, 0.2594977617263794, -0.00946475937962532, 0.10618215054273605, 0.08077188581228256, 1.0032724142074585, 0.251273512840271, -0.7490909099578857, -0.13601826131343842, 0.45405474305152893, -0.5820962190628052, 0.5007116198539734, -0.443210244178772, 0.20366963744163513, -0.2505916953086853, 0.07914922386407852, -0.813237190246582, -0.08172868937253952, -0.09771155565977097, -0.29955142736434937, 0.3327281177043915, 0.23243407905101776, -0.48442304134368896, -0.19832104444503784, -0.01919066347181797, 0.15640586614608765, 0.6224062442779541, -0.8124514222145081, 0.5069788694381714, 0.1397901475429535, 0.06140775978565216, -1.0007741451263428, -0.29478946328163147, 0.12858878076076508, 0.004217722453176975, -0.4025585353374481, 0.4020993113517761, 0.0558091476559639, -0.19494858384132385, -0.17657417058944702, -0.1995910257101059, 0.00962760578840971, 0.08677923679351807, -0.30896085500717163, 0.07246094942092896, -0.165303573012352, 0.4717690944671631, 0.09910694509744644, -0.023188985884189606, -0.20735794305801392, -0.5530314445495605, 0.6312694549560547, 0.026854300871491432, -0.03205331042408943, 0.06967850029468536, 0.21473878622055054, 0.14274030923843384, -0.5661957263946533, 0.7723597884178162, 0.5190765857696533, -0.2554212510585785, -0.4117581248283386, -0.5733164548873901, -0.34905797243118286, -0.46805089712142944, 0.3434402644634247, -0.3619425892829895, -0.7378606796264648, 0.19002853333950043, 0.0931781604886055, 0.15321263670921326, 0.35370975732803345, 0.4505864381790161, 0.17153698205947876, 0.7261987924575806, 0.9075498580932617, 0.20026706159114838, 0.5744780898094177, -0.0454239547252655, -0.04905491694808006, -0.8110321164131165, -0.25667744874954224, -0.6831246614456177, 0.11919822543859482, -0.3625795841217041, -0.44184330105781555, 0.2923804223537445, 0.21369847655296326, -0.23981043696403503, 0.41357341408729553, -0.7334837317466736, 0.4628695249557495, 0.7390161752700806, -0.06282331049442291, 0.3115091025829315, 0.11608365178108215, -0.7180464267730713, -0.07694579660892487, -0.6409475207328796, -0.7193180918693542, 1.1608381271362305, -0.050949450582265854, 0.42662230134010315, -0.0317520797252655, 0.9917069673538208, 0.06116591393947601, 0.4350770115852356, -0.4599912166595459, 0.6199678182601929, -0.07366947829723358, -0.9471702575683594, -0.43045708537101746, -0.34157103300094604, -1.217880129814148, 0.2597210705280304, -0.19333188235759735, -0.8913792371749878, 0.018877560272812843, 0.09130717813968658, -0.3169460594654083, -0.03613791987299919, -0.29183468222618103, 0.8417162895202637, -0.07777391374111176, -0.5544893741607666, -0.08989901840686798, -0.8890028595924377, 0.3189661502838135, -0.20631064474582672, -0.035975709557533264, 0.03932972624897957, -0.13944558799266815, 0.6378292441368103, -0.4404664635658264, 0.5210521221160889, -0.12859198451042175, -0.0641108825802803, 0.5862340927124023, 0.16187462210655212, 0.2936803102493286, -0.2192317396402359, -0.42365825176239014, -0.445736825466156, -0.0700744092464447, -0.49556681513786316, -0.5338224172592163, 0.4507324695587158, -0.430955171585083, -0.5193647146224976, -0.39600661396980286, -0.4139138460159302, -0.11507164686918259, 0.5617672204971313, 0.47209644317626953, 0.334258109331131, -0.5435227751731873, 0.4386639893054962, 0.7082788944244385, -0.3447587192058563, 0.46613314747810364, 0.5943818688392639, -0.317232608795166, -0.31946438550949097, 0.7749249339103699, 0.13071869313716888, 0.33018532395362854, 0.5749842524528503, 0.12867330014705658, -0.39246299862861633, -0.42280682921409607, -0.6994584202766418, 0.15970103442668915, -0.80743408203125, -0.17839311063289642, -0.6253069043159485, -0.09181588143110275, -0.24413403868675232, -0.060023657977581024, -0.5291615724563599, -0.45179739594459534, -0.17849521338939667, -0.1568102240562439, 0.09349675476551056, 0.676578938961029, 0.12576356530189514, 0.45428597927093506, -0.796644389629364, -0.11670327186584473, 0.24403677880764008, 0.1236022338271141, -0.08080007880926132, -0.43432408571243286, -0.2887018322944641, -0.2975989878177643, -0.305775910615921, -1.0573269128799438, 0.5234531760215759, 0.2921770513057709, 0.6467618942260742, 0.06888747215270996, 0.1431872546672821, 0.41788962483406067, -0.7422297596931458, 0.9804681539535522, 0.06661658734083176, -0.8805675506591797, 0.7208380103111267, -0.5500788688659668, 0.2185823619365692, 0.941002607345581, 0.3072715401649475, -0.41445958614349365, -0.14787495136260986, -0.7706179618835449, -1.1159522533416748, 0.643099308013916, 0.2969617247581482, 0.2990218997001648, -0.5373053550720215, 0.7169514894485474, 0.14523430168628693, 0.6069196462631226, -0.5512150526046753, -0.16924574971199036, -0.2191910743713379, -0.26917946338653564, 0.04478744789958, -0.16357959806919098, -0.07477709650993347, 0.0731205940246582, 0.7708196640014648, -0.3597089350223541, 0.19334323704242706, 0.2443609982728958, -0.09928284585475922, -0.1546294093132019, 0.33035629987716675, 0.2098856419324875, 0.618466854095459, -0.20425300300121307, -0.050465475767850876, -0.08788346499204636, -0.27227887511253357, 0.0692346915602684, 0.14778630435466766, -0.6798588037490845, 0.25934308767318726, 0.12075808644294739, 0.7060422897338867, 0.2931424379348755, -0.8150522112846375, 0.5508758425712585, 0.12148727476596832, -0.0729897990822792, -0.3179234266281128, 0.09676912426948547, -0.12031721323728561, -0.025281492620706558, 0.6138458847999573, -0.11616384238004684, 0.1644601821899414, -0.5876626968383789, 0.5807234644889832, 0.6061047911643982, -0.32559090852737427, -0.04023316875100136, 0.8493792414665222, 0.18924883008003235, -0.2535780072212219, 0.8520607352256775, -0.30184608697891235, -0.20448970794677734, 0.3307284414768219, 0.7029598951339722, 0.7748839855194092, -0.28415340185165405, 0.37235409021377563, 0.7200937867164612, 0.24265407025814056, -0.4290415644645691, 0.17196807265281677, -0.2064427137374878, -0.7263925075531006, -0.2951619625091553, -0.9659191966056824, -0.17367543280124664, 0.009459936991333961, -0.8869066834449768, 0.20054596662521362, -0.37361830472946167, -0.058115217834711075, -0.14031270146369934, -0.07583580911159515, -0.4502148926258087, 0.36676985025405884, 0.01820647343993187, 1.319779396057129, -0.5395934581756592, 0.9206882119178772, 0.6817815899848938, -0.7120388150215149, -0.8415160179138184, 0.16719651222229004, -0.14437657594680786, -0.777225136756897, 0.6570031046867371, 0.1931867152452469, 0.15049846470355988, 0.196560800075531, -0.5829047560691833, -1.0712306499481201, 1.2152715921401978, 0.21665646135807037, -0.37357816100120544, -0.29487869143486023, -0.26276829838752747, 0.664094090461731, -0.5359665751457214, 0.22505879402160645, 0.6648605465888977, 0.25489088892936707, 0.24249276518821716, -0.8848686814308167, 0.1428772211074829, -0.25205889344215393, 0.16352544724941254, 0.28606659173965454, -0.6209215521812439, 0.9806957840919495, 0.05450114980340004, -0.3712470233440399, 0.5389973521232605, 0.7785217761993408, 0.45171111822128296, 0.15625077486038208, 0.44342663884162903, 0.4808846414089203, 0.9996481537818909, 0.0936022624373436, 1.269008994102478, -0.47135862708091736, 0.1361108273267746, 1.1472222805023193, -0.2876484990119934, 1.1515824794769287, 0.68262779712677, 0.3095746338367462, 0.7122541666030884, 0.4293045401573181, 0.38957419991493225, 0.702532172203064, 0.0863044485449791, -0.3079124093055725, -0.3158077001571655, -0.0900360494852066, -0.33319684863090515, 0.4680357277393341, 0.25686609745025635, -0.6380637884140015, -0.3063443899154663, -0.09844273328781128, 0.012100107036530972, 0.600913405418396, -0.00908738188445568, 0.7741298675537109, -0.07743921875953674, -1.1790305376052856, 0.8572760820388794, 0.13757063448429108, 0.45600971579551697, -0.5908606648445129, 0.0589757077395916, -0.16714680194854736, 0.08412162214517593, 0.13765013217926025, -0.36990320682525635, 0.20221944153308868, -0.07562179863452911, -0.011462828144431114, -0.34038814902305603, 0.7208942174911499, -0.5154521465301514, -0.3071495592594147, 0.19033971428871155, 0.9156977534294128, 0.08686584234237671, -0.038890257477760315, -0.6325779557228088, -0.12692709267139435, 0.11939872056245804, -0.4445028603076935, 0.4018583595752716, 0.374711811542511, -0.11284682154655457, 0.4161335825920105, 0.5309951901435852, -0.12164035439491272, 0.2932334244251251, -0.10404618829488754, 0.8850589990615845, -0.6780617237091064, -0.6011503338813782, -0.5981975197792053, 0.5862370729446411, -0.3129693567752838, -0.5150930285453796, 0.6880981922149658, 0.5606780052185059, 0.8628491163253784, 0.011900615878403187, 0.8861597776412964, -0.19095946848392487, 0.6929057836532593, -0.6942936778068542, 0.5180082321166992, -0.7552691102027893, 0.3861692249774933, -0.2061740756034851, -1.037047266960144, -0.0821201354265213, 0.8069750666618347, -0.31930944323539734, 0.0015947523061186075, 0.8316468000411987, 0.6709364652633667, 0.023121284320950508, -0.012353403493762016, 0.0718669518828392, 0.1014203280210495, 0.2846681475639343, 0.1025005355477333, 0.6342529058456421, -0.5800275206565857, 0.6139612197875977, -0.15148863196372986, -0.06635597348213196, -0.1355160027742386, -0.9397299885749817, -0.7295389771461487, -0.8051884770393372, 0.03962605074048042, -0.4869435727596283, 0.3280251920223236, 1.036731481552124, 0.7204309105873108, -0.5032444596290588, -0.22649520635604858, -0.2923315465450287, -0.12424702942371368, -0.15392908453941345, -0.21144849061965942, 0.24386930465698242, -1.01809823513031, -0.6864742040634155, 0.7499756217002869, 0.05103112384676933, -0.3001435697078705, -0.15495431423187256, -0.12105508893728256, -0.5275194048881531, 0.28826630115509033, 0.510678768157959, 0.4002155363559723, -0.6389360427856445, -0.4190763533115387, 0.20983479917049408, -0.44968509674072266, 0.12961024045944214, 0.7923851609230042, -1.1124669313430786, 0.6773732900619507, 0.4419931471347809, 0.8506730794906616, 0.6591498851776123, 0.19869494438171387, 0.7415199875831604, -1.3170827627182007, 0.1116393432021141, 0.3154698312282562, 0.2673642933368683, 0.5417789220809937, -0.23316740989685059, 0.7362987995147705, 0.2258455902338028, -0.45241600275039673, -0.9579141139984131, 0.3520168364048004, -0.5705600380897522, -0.43095582723617554, 1.063869595527649, 0.12938633561134338, -0.49593526124954224, 0.0980156660079956, -0.1851327270269394, 0.21801090240478516, -0.4098784923553467, 0.9137550592422485, 0.4210723042488098, 0.007739709690213203, 0.07477252930402756, -0.3952937126159668, 0.6477922201156616, 0.7334063053131104, -0.5396798849105835, 0.13313741981983185, 0.6075854301452637, 0.24310238659381866, 0.5441629886627197, 1.090796709060669, -0.07618822902441025, 0.19262966513633728, 0.10980487614870071, 0.22626391053199768, 0.08763644844293594, -0.43635794520378113, -0.12752781808376312, 0.2986195981502533, 0.13363216817378998, -0.03673412278294563 ]
http://arxiv.org/abs/2402.17531v2
http://arxiv.org/pdf/2402.17531v2
Nissist: An Incident Mitigation Copilot based on Troubleshooting Guides
2024-02-27T14:14:23
2024-05-10T11:57:46
Kaikai An, Fangkai Yang, Junting Lu, Liqun Li, Zhixing Ren, Hao Huang, Lu Wang, Pu Zhao, Yu Kang, Hua Ding, Qingwei Lin, Saravan Rajmohan, Dongmei Zhang, Qi Zhang
cs.SE
cs.SE, cs.AI, cs.CL
Effective incident management is pivotal for the smooth operation of enterprises-level cloud services. In order to expedite incident mitigation, service teams compile troubleshooting knowledge into Troubleshooting Guides (TSGs) accessible to on-call engineers (OCEs). While automated pipelines are enabled to resolve the most frequent and easy incidents, there still exist complex incidents that require OCEs' intervention. However, TSGs are often unstructured and incomplete, which requires manual interpretation by OCEs, leading to on-call fatigue and decreased productivity, especially among new-hire OCEs. In this work, we propose Nissist which leverages TSGs and incident mitigation histories to provide proactive suggestions, reducing human intervention. Leveraging Large Language Models (LLM), Nissist extracts insights from unstructured TSGs and historical incident mitigation discussions, forming a comprehensive knowledge base. Its multi-agent system design enhances proficiency in precisely discerning user queries, retrieving relevant information, and delivering systematic plans consecutively. Through our user case and experiment, we demonstrate that Nissist significant reduce Time to Mitigate (TTM) in incident mitigation, alleviating operational burdens on OCEs and improving service reliability. Our demo is available at https://aka.ms/nissist_demo.
[ -0.5288981199264526, -0.6798128485679626, 0.4721072018146515, 0.20160475373268127, -0.4698077142238617, 0.328887015581131, 0.22085416316986084, -0.26613688468933105, 0.3667134940624237, 0.5101114511489868, -1.214568018913269, -0.12035162001848221, -0.003422846319153905, -0.1823149174451828, -0.3031882047653198, 1.260900855064392, 0.01481153815984726, -0.1596061885356903, 0.10220303386449814, 0.23982828855514526, -0.40243661403656006, -0.38436123728752136, -1.2644760608673096, 0.17594176530838013, 0.42413681745529175, 0.7144505977630615, 0.46318769454956055, -0.042429856956005096, 0.4439178705215454, 0.16526292264461517, -0.21045289933681488, 0.2306615710258484, -0.12051036953926086, 0.25615939497947693, 0.08271501213312149, -0.1739264577627182, -0.517515242099762, -0.7647607326507568, 0.573189914226532, 0.4560753107070923, -0.47598767280578613, -0.22334519028663635, 0.26596522331237793, 0.41752269864082336, -0.7115829586982727, -0.07773127406835556, -0.45935651659965515, 0.061644189059734344, 0.04639056324958801, -0.36491289734840393, -0.09859675168991089, -0.18127073347568512, 0.3210701048374176, -0.7545190453529358, 0.35948872566223145, -0.10650940984487534, 0.6851555705070496, 0.42394500970840454, -0.3226848542690277, 0.014133070595562458, -0.7554477453231812, 0.8299772143363953, -0.6087352633476257, -0.11492353677749634, 0.40180426836013794, 0.7053061127662659, -0.22591359913349152, -0.36949819326400757, -0.13012373447418213, 0.05923495814204216, -0.1534949541091919, 0.2516317665576935, -0.04920240491628647, 0.05349542945623398, 0.24530570209026337, -0.04458361119031906, -0.5128083825111389, 0.015166188590228558, -0.11854465305805206, -0.5459678173065186, 0.6110641360282898, 0.674494206905365, 0.26055148243904114, -0.08642888814210892, -0.5968592166900635, 0.21763747930526733, -0.6164440512657166, -0.09195543825626373, 0.37355008721351624, -0.04991062358021736, 0.044155627489089966, -0.06758236885070801, -0.283496230840683, 0.6978617310523987, 0.020530706271529198, -0.09869050979614258, -0.2337215542793274, -0.38617855310440063, -0.12218543887138367, 0.361079603433609, 0.5387240052223206, 0.3886323869228363, -0.27990514039993286, -0.6262655854225159, -0.09585360437631607, -0.27538028359413147, 0.7725391983985901, -0.8892210721969604, -0.13291093707084656, 0.19762910902500153, 0.07185107469558716, -0.3348122835159302, 0.06791321188211441, -0.7954039573669434, -0.5597404837608337, -0.08707574754953384, 0.2500426769256592, -0.6537768840789795, -0.49948999285697937, 0.11263100057840347, -0.2857416272163391, -0.002867697039619088, 0.582859456539154, -0.012964384630322456, 0.14024411141872406, 0.6901118159294128, 0.9893069267272949, 0.5117220282554626, -0.14157520234584808, -0.9085411429405212, 0.6419432163238525, -0.3297783136367798, 0.9780562520027161, 0.018536077812314034, -0.3449750542640686, 0.00829297211021185, 0.047752395272254944, 0.050335843116045, -0.24414986371994019, 0.8610348701477051, -0.20102046430110931, 0.0881950780749321, -0.11286929994821548, -0.40768498182296753, -0.1688976138830185, 0.3143126964569092, -0.5591989159584045, 0.6483720541000366, -0.025716952979564667, -0.8661923408508301, 0.2813142240047455, -1.074138879776001, -0.1673542857170105, 0.5839228630065918, -0.22754189372062683, -0.6528765559196472, 0.09065842628479004, 0.08750876039266586, 0.2710609436035156, -0.3951941132545471, 0.32907524704933167, -0.1784220188856125, -0.18112900853157043, -0.3288847804069519, 0.156251460313797, 0.9983556270599365, 0.09038335084915161, -0.4530647397041321, -0.06317010521888733, -0.4275050759315491, 0.2743673324584961, 0.010220125317573547, 0.03750133141875267, -0.49054741859436035, 0.048622552305459976, -0.008904499933123589, 0.0771036297082901, -0.17917606234550476, -0.6077088713645935, 0.050308503210544586, -0.08124980330467224, 0.5808865427970886, 0.5870146155357361, 0.6108499765396118, 0.3421546518802643, -0.5757471323013306, 0.6727563142776489, -0.09205709397792816, 0.5499818325042725, 0.07135026901960373, -0.14437447488307953, -0.7894502282142639, -0.2767406105995178, -0.3389453589916229, 0.5608761310577393, -1.2252483367919922, 0.2707507312297821, -0.1999650001525879, -0.5946752429008484, -0.17508986592292786, -0.0973285436630249, 0.5356746315956116, 0.5837415456771851, 0.20302094519138336, -0.10074391961097717, -0.6906204223632812, -1.0904428958892822, -0.30599772930145264, -0.15202432870864868, -0.22823619842529297, 0.0828453078866005, 0.09698199480772018, -0.1791176050901413, 1.109526515007019, -0.5069724321365356, -0.49753817915916443, -0.2721060514450073, 0.5946683287620544, -0.1784438192844391, 0.11609853804111481, 0.9215513467788696, -0.6941968202590942, -0.34636735916137695, -0.2760533392429352, -0.40772128105163574, -0.28242361545562744, -0.14691683650016785, -0.14963087439537048, 0.5010754466056824, 0.4723835289478302, -0.1604502946138382, 0.4827800691127777, 0.07014482468366623, -0.6163192391395569, 0.68535315990448, -0.17653034627437592, 0.10533516854047775, -0.9578257203102112, 0.1529380828142166, -0.2043347954750061, -0.06507135927677155, -0.908109724521637, -0.118393674492836, 0.27640673518180847, -0.1956319361925125, -0.6523218154907227, 0.3300655782222748, -0.39701980352401733, 0.004614793695509434, -0.024094533175230026, 0.1282798945903778, 0.06360651552677155, 0.5304850935935974, 0.14838241040706635, 0.781256914138794, 0.2714349627494812, -0.8535885214805603, -0.0009901244193315506, 0.3149191737174988, -0.45891645550727844, 1.074555516242981, -0.4102652072906494, 0.29375481605529785, -0.28490450978279114, -0.07308194786310196, -0.733768105506897, -0.13402852416038513, 0.06301163136959076, -0.16724427044391632, -0.13958469033241272, -0.5826612114906311, -0.7049182653427124, -0.07639801502227783, -0.36011195182800293, 0.006259221117943525, -0.05214688181877136, -0.3178884983062744, 0.7687973976135254, 0.2799520194530487, -0.5767636299133301, -0.05996982380747795, -0.6250287890434265, 0.264156699180603, -0.3815693259239197, -0.8862658739089966, 0.4416187107563019, -0.3915369510650635, -0.24580548703670502, -0.03970556706190109, -0.3002378046512604, -0.7559670805931091, 0.5407516956329346, 0.38897156715393066, 0.3406262695789337, -0.03969758376479149, 0.40883517265319824, -0.08436554670333862, -0.31847333908081055, 0.006632643286138773, -0.019333988428115845, 0.5835660099983215, -0.28980669379234314, -0.1714726984500885, -0.26051783561706543, 0.7220923900604248, 0.526394784450531, 0.06755968928337097, 0.8027604222297668, 0.44279250502586365, -0.37483859062194824, 0.06238279864192009, -0.6463987231254578, -0.5387499928474426, -0.4359199106693268, 0.2655929625034332, -0.014265828765928745, -0.635516345500946, 0.3678532838821411, -0.12941376864910126, 0.5922592878341675, 0.36957183480262756, -0.11480637639760971, -0.2772357761859894, 0.7291383743286133, 0.6176773309707642, -0.22814501821994781, 0.811040461063385, -0.4029291570186615, 0.5337892770767212, -0.8114258050918579, -0.23875881731510162, -0.8291007280349731, 0.016877073794603348, 0.20456217229366302, 0.10856698453426361, 0.963901698589325, 0.21024829149246216, -0.3931845724582672, 0.3760857582092285, -0.11044908314943314, 0.42513635754585266, 0.12753793597221375, 0.0324103981256485, 0.39617273211479187, 0.03572374954819679, 0.05837392061948776, -0.07650882005691528, -1.0388561487197876, -0.4301034212112427, 0.28535500168800354, -0.06030448153614998, 0.359849750995636, 0.5279259085655212, 0.7551456689834595, 0.3621024489402771, 0.08479852229356766, -0.5179129242897034, 0.5424250364303589, 0.06132419407367706, -0.7182230353355408, -0.298170268535614, -0.5089756846427917, -0.755024254322052, -0.20058593153953552, -0.08794091641902924, -0.7212969660758972, 0.037552978843450546, 0.35977038741111755, -0.7230595350265503, 0.33738258481025696, -0.8326321840286255, 0.5825363993644714, -0.37760481238365173, -0.3278184235095978, -0.2407076060771942, -0.26125550270080566, 0.18775396049022675, 0.02390262857079506, 0.5191468596458435, 0.21502068638801575, -0.16543449461460114, 0.835522472858429, -0.7803466320037842, 0.8280186653137207, -0.28878918290138245, 0.1304260790348053, 0.16589856147766113, 0.207595556974411, 0.719826877117157, -0.08411520719528198, -0.16019533574581146, -0.007542104460299015, -0.07331550866365433, -0.4272529184818268, -0.5738821625709534, 0.6210992932319641, -0.4761509299278259, -0.23881347477436066, -0.1237008199095726, -0.40379178524017334, -0.10294487327337265, 0.10943746566772461, 0.315911203622818, 0.81488037109375, 0.01627461612224579, 0.347036749124527, 0.49152636528015137, -0.008552618324756622, 0.7753731608390808, 1.0194541215896606, 0.04007531329989433, -0.5267112255096436, 0.6958144307136536, 0.5032558441162109, 0.42070481181144714, 0.017140833660960197, 0.11928819864988327, -0.06516093760728836, -0.24751552939414978, -0.44901421666145325, 0.021977461874485016, -0.3984481394290924, -0.45496657490730286, -0.8054379820823669, -0.27962547540664673, -0.17732428014278412, -0.33568525314331055, -0.15624862909317017, -0.6035257577896118, 0.024566011503338814, -0.20101693272590637, 0.6023766994476318, 0.36220741271972656, 0.2004561722278595, 0.809829831123352, -0.8248450756072998, 0.12765564024448395, 0.0830591470003128, 0.34577128291130066, -0.10237407684326172, -0.28589513897895813, -0.45611658692359924, -0.085953488945961, -0.4722606837749481, -0.8612695336341858, 0.4013636112213135, 0.35116395354270935, 0.752251923084259, 0.3975101709365845, 0.5889599323272705, 0.8308632373809814, -0.059002045542001724, 0.6719534993171692, 0.20514558255672455, -0.8787800073623657, 0.6429346203804016, -0.4447628855705261, 0.12617000937461853, 0.5367363095283508, 0.268887460231781, -0.646355152130127, -0.5077636241912842, -1.0103793144226074, -1.088174819946289, 0.9692068696022034, 0.27158740162849426, -0.6347024440765381, 0.23335273563861847, 0.19946108758449554, -0.19544284045696259, 0.3533858358860016, -0.014360794797539711, -0.1572711318731308, 0.03266482055187225, 0.15944314002990723, -0.17227540910243988, -0.39193081855773926, -0.26346614956855774, 0.2583581805229187, 0.9607831835746765, -0.11501876264810562, 0.24265769124031067, 0.1766813099384308, -0.22108349204063416, -0.11083504557609558, 0.5237221717834473, 0.6730507016181946, 0.311898797750473, -0.2615913450717926, -0.16297923028469086, 0.22916889190673828, -0.38480910658836365, -0.20621170103549957, -0.04740586131811142, -0.40975499153137207, 0.14546886086463928, 0.28860586881637573, 0.6369234323501587, 0.31888067722320557, -0.6152425408363342, 0.23855261504650116, -0.15261302888393402, -0.3135799467563629, -0.635272204875946, 0.2644929587841034, -0.008443295024335384, 0.0776931643486023, 0.5593504905700684, -0.2950915992259979, 0.25757575035095215, -0.40899473428726196, -0.027098190039396286, 0.44859227538108826, -0.4399804472923279, 0.07555239647626877, -0.08483101427555084, 0.3387753367424011, -0.6546923518180847, 0.30611640214920044, -0.1815822422504425, -0.6413413882255554, 0.8784619569778442, 0.16873937845230103, 1.081363320350647, -0.38812991976737976, 0.3152829706668854, 0.27947095036506653, 0.6556320190429688, 0.005170080345124006, 0.31022757291793823, 0.024027731269598007, -0.2571156620979309, -0.26011350750923157, -0.05989956483244896, -0.6138352155685425, 0.34399211406707764, -0.7920877933502197, 0.36951565742492676, -0.7828868627548218, -0.10606200248003006, -0.09065565466880798, 0.13774681091308594, -0.5864327549934387, -0.20043177902698517, -0.554731547832489, 1.0026906728744507, -0.7903807759284973, 0.22605803608894348, 0.8829705119132996, -0.31909170746803284, -0.8719758987426758, 0.16531020402908325, 0.15959161520004272, -0.12491028755903244, 0.10886010527610779, -0.04114188253879547, -0.10029692202806473, 0.01226666010916233, -0.30554336309432983, -0.4211011528968811, 1.2713693380355835, 0.6716071963310242, -0.6296342015266418, 0.27833637595176697, -0.09657271951436996, 0.38587135076522827, 0.025071104988455772, 0.6002360582351685, 0.3388623595237732, 0.4887523949146271, -0.10995914787054062, -0.9031500816345215, -0.1957516372203827, -0.2498861402273178, -0.42760950326919556, 0.7740086317062378, -0.5550870299339294, 0.53778475522995, 0.05453948676586151, -0.33716848492622375, -0.19043521583080292, -0.17071864008903503, -0.021673765033483505, 0.5155425667762756, 0.8061462640762329, 0.48344793915748596, 0.6464046835899353, 0.004814725834876299, 1.1335995197296143, 0.04333914816379547, 0.05640866979956627, 1.2897419929504395, 0.1507679522037506, 0.41029754281044006, 0.7856752276420593, 0.16300068795681, 0.6204914450645447, 0.3596123456954956, 0.5803937911987305, 0.6984912753105164, -0.3066631853580475, -0.6293322443962097, -0.6344271302223206, -0.4566006362438202, -0.27376124262809753, -0.2386871874332428, 0.2759767472743988, 0.24214161932468414, -0.8031887412071228, 0.10045935958623886, 0.39301490783691406, -0.34027349948883057, -0.39152953028678894, 1.1342958211898804, -0.16330201923847198, -0.5138732194900513, 0.4724808633327484, -0.13470643758773804, 0.23291631042957306, -0.6856613755226135, 0.057804957032203674, -0.3788180649280548, 0.22558096051216125, -0.42115458846092224, -0.617801308631897, 0.7880902290344238, 0.241559699177742, -0.24152833223342896, -0.1577126681804657, 0.5910945534706116, -0.1399068683385849, -0.2644575536251068, 0.36841368675231934, 0.10342550277709961, 0.13940584659576416, -0.56298828125, -0.3324553966522217, -0.13064849376678467, 0.016319410875439644, 0.21328125894069672, 0.3201894164085388, 0.4858866333961487, -0.41985875368118286, 0.9138027429580688, 0.42321261763572693, -0.027630968019366264, 0.05243191495537758, -0.059003110975027084, 1.0178366899490356, -0.3672499656677246, -0.786687433719635, -0.5569329261779785, 0.8786255717277527, -0.5905121564865112, -0.009358493611216545, 0.3273843824863434, 0.5096557140350342, 0.42330533266067505, -0.005283970385789871, 0.9801464080810547, -0.019838932901620865, 0.8274218440055847, -0.43146589398384094, 0.5792250633239746, -0.6313995718955994, 0.44375789165496826, -0.3851153552532196, -0.3474661409854889, -0.13135582208633423, 0.5811343193054199, -0.34556835889816284, -0.5522611737251282, 0.5951082110404968, 0.8647224307060242, 0.0058321827091276646, 0.13555073738098145, 0.14545942842960358, 0.11461664736270905, 0.6477507948875427, 0.495391845703125, 0.9208564162254333, -0.353117972612381, 0.8227034211158752, -0.5079804062843323, -0.30646082758903503, -0.6366736888885498, -1.3105920553207397, -0.6434053182601929, -0.4278668165206909, -0.5706309676170349, 0.13063940405845642, 0.356387197971344, 0.593846321105957, 0.6307376027107239, -0.495366632938385, 0.039536427706480026, -0.39915135502815247, 0.171741783618927, -0.2724493145942688, -0.251016229391098, -0.004121948499232531, -0.3063122034072876, -0.011466949246823788, 0.35231471061706543, 0.25016289949417114, 0.022938737645745277, -0.18206055462360382, -0.330625057220459, 0.027259401977062225, -0.17961356043815613, 0.21577776968479156, 0.06130988523364067, -0.30371901392936707, -0.3361704349517822, -0.19304022192955017, 0.01967644691467285, -0.2729467749595642, 1.061176061630249, -0.5382526516914368, -0.05111076310276985, 0.2950466573238373, 0.5531085133552551, 0.3164100646972656, -0.3749576508998871, 0.48137229681015015, -1.046636700630188, 0.2720482051372528, 0.4444355070590973, 0.40298089385032654, 0.1087624654173851, -0.6142511963844299, 0.7430127263069153, 0.057303279638290405, -0.26893696188926697, -0.9608168601989746, 0.3101351261138916, -0.7699580192565918, -0.11641999334096909, 0.8388860821723938, -0.33159273862838745, 0.05186675861477852, -0.7505292296409607, -0.6342549920082092, 0.09607406705617905, -0.5264025330543518, 0.9760240316390991, 0.5333722233772278, 0.03226926550269127, -0.4941956400871277, -0.5696181058883667, 0.46607571840286255, 0.6253827214241028, -1.289167881011963, -0.16807959973812103, 0.5216554999351501, 0.3158389627933502, 0.4431830048561096, 0.4263668954372406, 0.2966066300868988, 0.5547888875007629, -0.5080791115760803, 0.04494772106409073, -0.22987426817417145, -0.6840416193008423, -0.21083572506904602, 0.04825533926486969, -0.05308258533477783, -0.26511698961257935 ]
http://arxiv.org/abs/2402.17527v2
http://arxiv.org/pdf/2402.17527v2
Predict the Next Word: Humans exhibit uncertainty in this task and language models _____
2024-02-27T14:11:32
2024-03-18T16:21:24
Evgenia Ilia, Wilker Aziz
cs.CL
cs.CL, cs.AI
Language models (LMs) are statistical models trained to assign probability to human-generated text. As such, it is reasonable to question whether they approximate linguistic variability exhibited by humans well. This form of statistical assessment is difficult to perform at the passage level, for it requires acceptability judgements (i.e., human evaluation) or a robust automated proxy (which is non-trivial). At the word level, however, given some context, samples from an LM can be assessed via exact matching against a prerecorded dataset of alternative single-word continuations of the available context. We exploit this fact and evaluate the LM's ability to reproduce variability that humans (in particular, a population of English speakers) exhibit in the 'next word prediction' task. This can be seen as assessing a form of calibration, which, in the context of text classification, Baan et al. (2022) termed calibration to human uncertainty. We assess GPT2, BLOOM and ChatGPT and find that they exhibit fairly low calibration to human uncertainty. We also verify the failure of expected calibration error (ECE) to reflect this, and as such, advise the community against relying on it in this setting.
[ -0.08762027323246002, -0.531745433807373, 0.6100170016288757, -0.02945193462073803, 0.015926865860819817, 0.10516606271266937, -0.1718222051858902, -0.5474841594696045, -0.19067151844501495, 0.6076917052268982, -0.701589047908783, -0.4363866150379181, -0.5351075530052185, 0.1913524568080902, -0.32297787070274353, 0.7196027636528015, -0.0996076837182045, 0.10943599045276642, -0.24992923438549042, 0.12850874662399292, -0.7949398159980774, -0.4706670343875885, -0.6868985891342163, -0.6025600433349609, 0.5784608721733093, 0.4846263527870178, 1.0132595300674438, 0.44411471486091614, 0.3893798291683197, 0.27352380752563477, -0.003648974932730198, -0.23235298693180084, -0.4722403287887573, -0.014288904145359993, -0.1710534691810608, -0.7865588068962097, -0.17864741384983063, 0.28055882453918457, 0.3042815625667572, 0.8856590390205383, -0.03153945878148079, 0.13331447541713715, 0.02635737508535385, 0.5128116607666016, -0.47128212451934814, 0.06722943484783173, -0.9102215766906738, -0.08274352550506592, -0.3243621289730072, -0.154783234000206, -0.4360422194004059, -0.3589210510253906, 0.41526705026626587, -0.3881778419017792, 0.22305786609649658, 0.1961393803358078, 0.7448179721832275, 0.33300039172172546, -0.20035934448242188, -0.22024528682231903, -0.7212974429130554, 0.7218115329742432, -0.7153390049934387, 0.4499017894268036, 1.056261658668518, 0.21075472235679626, -0.35415998101234436, -0.6861248016357422, -0.6988648772239685, -0.3616240322589874, 0.14079460501670837, 0.1293390691280365, 0.1365160495042801, 0.013872958719730377, -0.14010103046894073, 0.057878438383340836, -0.7650527954101562, 0.21709701418876648, -0.48873573541641235, -0.39362937211990356, 0.47914353013038635, 0.2098427563905716, 0.23632144927978516, 0.07901141047477722, -0.20049089193344116, -0.2838272452354431, -0.6608467102050781, -0.03571563586592674, 0.4844971299171448, 0.40410661697387695, 0.23549556732177734, 0.5674149990081787, -0.04022878035902977, 0.6325694918632507, -0.2692236006259918, 0.11486455798149109, 0.381736695766449, -0.19538861513137817, -0.13709613680839539, -0.1220070868730545, 0.7094403505325317, 0.5443882942199707, 0.24653351306915283, -0.004373128060251474, -0.17114439606666565, 0.23390372097492218, 0.28497689962387085, -0.41187483072280884, -0.3892465829849243, 0.27096882462501526, -0.07144658267498016, -0.35628512501716614, -0.017866546288132668, -0.8407453298568726, -0.41928428411483765, -0.08185166865587234, 0.7196847796440125, -0.4195629060268402, -0.00704170111566782, 0.12805229425430298, 0.010882977396249771, 0.09801512211561203, 0.253307580947876, -0.7656335234642029, 0.400790274143219, 0.6423747539520264, 0.7155069708824158, -0.046342190355062485, -0.6161377429962158, -0.11665642261505127, -0.1967354267835617, -0.6649745106697083, 0.8286907076835632, -0.46851876378059387, -0.6988893747329712, -0.019876467064023018, 0.050240278244018555, 0.06528899818658829, -0.2948209345340729, 0.8698880076408386, -0.5305406451225281, 0.6225309371948242, -0.4296163022518158, -0.8166145086288452, -0.3943292200565338, -0.004467040300369263, -0.6001553535461426, 0.8215548992156982, 0.36687198281288147, -0.9078102111816406, 0.5749461054801941, -0.37152546644210815, -0.10934391617774963, 0.375172883272171, -0.16146717965602875, -0.372301310300827, 0.09082084894180298, -0.11523668467998505, 0.2689042091369629, -0.1303890347480774, -0.14636188745498657, -0.46023643016815186, -0.5001657605171204, 0.34266775846481323, -0.6484849452972412, 0.38371649384498596, 0.06560105830430984, -0.24544328451156616, -0.1470639407634735, -0.5561732649803162, 0.21578995883464813, -0.02925826609134674, -0.3237498104572296, -0.3257615864276886, 0.5332187414169312, 0.1419755220413208, 0.1019480973482132, 0.22368811070919037, -0.40610867738723755, -0.08545812219381332, -0.6469495296478271, 0.15966632962226868, 0.8200951218605042, -0.06832636147737503, 0.3137325644493103, -0.6569861173629761, 0.7347807884216309, -0.3086392879486084, -0.1456940919160843, -0.1752447932958603, -0.783500075340271, -0.3710312843322754, 0.28538957238197327, 0.3786593973636627, 0.9165424704551697, -0.4096328914165497, 0.35579121112823486, -0.4831186830997467, -0.6793980598449707, -0.42075493931770325, 0.27270057797431946, 0.44786667823791504, 0.39436501264572144, 0.19246824085712433, -0.3566875457763672, -0.7065006494522095, -0.5886534452438354, -0.5930368304252625, -0.5384680032730103, -0.15043312311172485, 0.20322276651859283, 0.356649786233902, -0.3698623776435852, 1.0201671123504639, -0.40269923210144043, -0.2324441373348236, -0.08224695175886154, 0.4863109588623047, 0.14797177910804749, 0.2080685794353485, 0.10054891556501389, -0.7082957029342651, -0.41027846932411194, 0.023967979475855827, -0.2684887647628784, -0.16730207204818726, 0.0947633609175682, 0.09987706691026688, 0.23576731979846954, 0.5506432056427002, -0.2957249581813812, 0.5429650545120239, 0.6932703852653503, -0.4528667628765106, 0.6917943358421326, -0.43757978081703186, 0.06237276270985603, -1.0315431356430054, -0.2574247717857361, -0.045672304928302765, -0.2783108651638031, -0.5758891701698303, -0.23873312771320343, -0.026470443233847618, 0.19845546782016754, -0.1344470977783203, 0.7258330583572388, -0.3568505048751831, -0.01855156384408474, -0.40512505173683167, 0.09449821710586548, -0.305213063955307, 0.039462704211473465, 0.07468757778406143, 0.8576784133911133, 0.40373408794403076, -0.412448525428772, 0.25604307651519775, 0.052116166800260544, -0.5119699835777283, 0.21016322076320648, -0.5466349720954895, 0.19701898097991943, -0.16824030876159668, 0.23616427183151245, -1.2476942539215088, -0.5210781097412109, -0.14917965233325958, -0.8260715007781982, 0.20398695766925812, 0.42510250210762024, -0.360773503780365, -0.7350227236747742, -0.22776299715042114, 0.31999483704566956, 0.6837261915206909, -0.13563810288906097, 0.20754581689834595, 0.3258220851421356, -0.32759031653404236, -0.5356155633926392, -1.0054525136947632, 0.14731204509735107, -0.17889739573001862, -0.3094128370285034, 0.09402300417423248, -0.2381058782339096, -0.39321351051330566, -0.05529410019516945, 0.13030663132667542, -0.1337646245956421, 0.10663657635450363, 0.36168819665908813, 0.32790815830230713, -0.008610909804701805, 0.2879159450531006, -0.2716919183731079, 0.017105091363191605, 0.128132164478302, -0.1972123682498932, 0.5218191146850586, 0.06230275705456734, -0.47268402576446533, -0.4295232594013214, 0.18166391551494598, 0.41943204402923584, 0.19483591616153717, 0.5619418025016785, 0.5714166164398193, -0.7047060132026672, 0.10307444632053375, -0.6647869348526001, -0.09909316897392273, -0.4567682147026062, 0.9320752024650574, -0.4801526963710785, -0.5602707266807556, 0.35871756076812744, 0.2935000956058502, -0.056058939546346664, 0.5258216857910156, 0.6866478323936462, -0.17052891850471497, 1.0821293592453003, 0.7425369620323181, -0.21627715229988098, 0.2860076129436493, 0.28589630126953125, -0.0026450464501976967, -0.42984670400619507, -0.06095631793141365, -0.5665347576141357, 0.012593637220561504, -0.7583945393562317, -0.5470417141914368, 0.020006386563181877, 0.11169753223657608, -0.1774621158838272, 0.5503947734832764, -0.16524477303028107, 0.5980177521705627, 0.5018689036369324, 0.2139277160167694, 0.055903661996126175, -0.11151862144470215, -0.0942005142569542, -0.2557348310947418, -0.42390570044517517, -0.754396378993988, 1.2830629348754883, 0.3044692575931549, 0.7118415832519531, -0.007444984279572964, 0.5632906556129456, 0.30935052037239075, 0.5351805686950684, -0.8050619959831238, 0.43473929166793823, -0.15839572250843048, -0.6842517256736755, -0.5043947100639343, -0.35470664501190186, -0.9879173636436462, 0.0532766692340374, -0.14363038539886475, -1.3024202585220337, -0.029589353129267693, 0.06087571009993553, -0.5504701137542725, 0.21355439722537994, -0.8117703795433044, 0.6696817874908447, -0.05012195184826851, -0.17657692730426788, -0.11414966732263565, -0.6716716289520264, 0.20188409090042114, -0.6446980237960815, 0.5980157256126404, -0.20012575387954712, -0.44509240984916687, 0.6293274164199829, -0.2213762402534485, 0.7545202374458313, 0.2531103193759918, -0.10713832825422287, 0.3209640383720398, 0.2795904576778412, 0.33710235357284546, -0.23241116106510162, -0.3385162055492401, -0.16749145090579987, 0.22497183084487915, -0.3055611848831177, -0.3428007662296295, 0.38198089599609375, -0.7282015085220337, -0.5452798008918762, -0.4495130181312561, -0.4863206446170807, -0.5809134244918823, 0.05408032238483429, 0.7279828190803528, 0.1899639070034027, -0.45850884914398193, -0.14147523045539856, 0.23183369636535645, -0.1673615276813507, 0.3939895033836365, 0.30025559663772583, -0.4555310904979706, -0.34535300731658936, 0.8423284292221069, 0.0734538584947586, 0.44859614968299866, 0.39400532841682434, 0.4158906638622284, -0.6079738140106201, -0.44716355204582214, 0.01524598989635706, 0.08401362597942352, -0.6602684855461121, -0.03035891242325306, -0.2949749827384949, -0.09439082443714142, -0.4618646204471588, -0.04575096443295479, -0.14617976546287537, 0.01339748129248619, -0.5374190807342529, -0.09705333411693573, 0.1893729865550995, 1.0544586181640625, 0.020230159163475037, 0.5640304684638977, -0.8260408043861389, -0.1574811190366745, 0.43598225712776184, 0.23401907086372375, -0.44691652059555054, -0.9749311804771423, 0.03472290560603142, 0.2252635955810547, -0.2694168984889984, -1.1945607662200928, 0.5285142660140991, 0.44807809591293335, 0.39476117491722107, 0.2686397433280945, -0.22421595454216003, 0.5964843034744263, -0.6995237469673157, 0.9396337270736694, 0.20170286297798157, -0.9567788243293762, 0.47237804532051086, -0.21479898691177368, 0.4322245717048645, 0.7966902256011963, 0.5553693771362305, -0.7017742991447449, -0.44284144043922424, -0.6684752702713013, -0.7870396971702576, 0.5706977248191833, 0.07928773015737534, 0.41111165285110474, -0.0355885811150074, 0.4402218759059906, 0.11518736928701401, 0.09900536388158798, -0.6670188307762146, -0.004386629909276962, 0.19309541583061218, -0.2503089904785156, -0.6452553868293762, -0.43478861451148987, 0.3119100332260132, -0.14015817642211914, 0.7256676554679871, -0.08374157547950745, 0.19638244807720184, 0.1431082785129547, 0.049870725721120834, -0.3323827385902405, 0.18548502027988434, 0.6103183627128601, 0.7500967979431152, -0.33792033791542053, 0.0411406010389328, 0.4642193913459778, -0.7350764870643616, 0.02403891086578369, 0.03062734380364418, -0.1007646843791008, 0.29122307896614075, 0.49621275067329407, 0.729873776435852, 0.16739358007907867, -0.8147695064544678, 0.7626470327377319, -0.149551659822464, -0.2306213676929474, -0.5580477714538574, -0.15725953876972198, 0.10179547220468521, 0.04030967503786087, 0.33925244212150574, 0.23043718934059143, 0.1093917042016983, -0.7176660299301147, 0.43379244208335876, 0.2878481447696686, -0.7334340810775757, -0.4954206645488739, 0.6794780492782593, -0.18652452528476715, -0.7171039581298828, 0.28644242882728577, -0.4649564027786255, -0.8785718083381653, 0.4600750207901001, 0.41856473684310913, 0.846935510635376, -0.6475204229354858, 0.03029334917664528, 0.4898623526096344, 0.42604777216911316, -0.5169346332550049, 0.476502388715744, 0.5322499871253967, -0.9514405131340027, -0.5388244390487671, -0.7220973372459412, -0.48812347650527954, 0.19810113310813904, -0.5643756985664368, 0.49597102403640747, -0.15754534304141998, -0.40878549218177795, -0.20428656041622162, 0.03206367418169975, -0.7538507580757141, 0.4331580102443695, 0.40562987327575684, 0.9195224046707153, -1.0115278959274292, 0.8190751671791077, 0.6887256503105164, -0.16150100529193878, -0.9310213327407837, 0.30209973454475403, 0.20990006625652313, -0.7840374112129211, 0.4607045650482178, 0.2817956209182739, 0.07173173874616623, -0.16278982162475586, -0.36446720361709595, -0.7720680236816406, 0.9771397113800049, 0.1782233864068985, -0.6462793350219727, -0.1011158898472786, 0.14175058901309967, 0.7014135718345642, -0.12157446891069412, 0.5090794563293457, 0.7354041934013367, 0.5010594725608826, 0.13857446610927582, -1.1144448518753052, -0.15857529640197754, 0.0423334576189518, 0.2854028642177582, -0.10576266795396805, -0.13338689506053925, 0.8975481390953064, -0.5339403748512268, -0.20483985543251038, 0.4883301854133606, 0.7588114142417908, -0.03945436701178551, 0.10728772729635239, 0.7487817406654358, 0.38784468173980713, 1.0090423822402954, -0.15983064472675323, 1.1571166515350342, -0.1924172341823578, 0.4924525320529938, 1.514115333557129, -0.16182605922222137, 1.3407585620880127, 0.37535011768341064, -0.7220984101295471, 0.47331422567367554, 1.0411702394485474, 0.18029408156871796, 0.5145955681800842, 0.42588287591934204, -0.3915131092071533, -0.142172172665596, 0.16037854552268982, -0.24106600880622864, 0.7396840453147888, 0.5081639289855957, -0.35226157307624817, -0.015444980934262276, -0.13004758954048157, -0.127470463514328, 0.2428015172481537, -0.34782958030700684, 0.6575402021408081, -0.0039446549490094185, -0.7968747615814209, 0.27933868765830994, -0.13209789991378784, 0.6748300790786743, -0.44398632645606995, 0.17050381004810333, 0.01055966131389141, 0.26696211099624634, -0.10068484395742416, -0.8786284923553467, 0.3004387617111206, -0.2957102954387665, 0.10127907246351242, 0.21738189458847046, 0.5757825970649719, -0.5434980988502502, -0.6773437261581421, 0.30447226762771606, 0.5962667465209961, 0.43535444140434265, -0.11321988701820374, -0.6390748023986816, -0.23332224786281586, 0.05545936897397041, -0.39152082800865173, 0.15530139207839966, 0.29959404468536377, 0.06570899486541748, 0.8740342855453491, 0.3981812596321106, 0.3614382743835449, 0.24163968861103058, -0.026704734191298485, 0.24502091109752655, -0.5236393213272095, -0.34721797704696655, -0.9566522240638733, 0.14018107950687408, 0.16503308713436127, -0.4643137454986572, 0.5127878785133362, 0.3801429271697998, 0.8246793150901794, 0.12153568118810654, 0.8709183931350708, 0.1980467289686203, 0.7451468110084534, -0.19853027164936066, 0.5272905230522156, -0.5468257069587708, 0.21373052895069122, -0.42125487327575684, -0.7834203839302063, -0.2783803641796112, 0.6257116198539734, -0.3551127016544342, 0.11925668269395828, 0.8690977692604065, 0.8674301505088806, 0.28766730427742004, 0.28716525435447693, 0.6279790997505188, 0.2502492368221283, -0.12040970474481583, 0.6219351291656494, 0.5970055460929871, -0.4273739159107208, 0.5328917503356934, -0.1548748016357422, -0.3303550183773041, 0.05765480175614357, -0.9296199083328247, -0.5878524780273438, -0.8180466294288635, -0.16750027239322662, -0.5886402130126953, -0.027732500806450844, 1.0172374248504639, 0.5045967698097229, -0.9075360298156738, -0.29056763648986816, -0.4502117335796356, -0.1316646933555603, 0.004087128676474094, -0.22002387046813965, 0.18377970159053802, -0.35834529995918274, -0.9161767959594727, 0.10253464430570602, -0.01942359283566475, 0.25677821040153503, -0.3097411096096039, -0.11127348989248276, -0.008105695247650146, 0.24027886986732483, 0.34497177600860596, 0.2350817769765854, -0.8842679858207703, -0.5492808818817139, -0.12653790414333344, -0.33345159888267517, -0.10719463974237442, 0.3050863742828369, -0.7063649892807007, 0.5413777232170105, 0.4486997425556183, 0.7362684011459351, 0.13959971070289612, -0.14063729345798492, 0.8796439170837402, -0.4483685791492462, -0.05663503333926201, 0.34648382663726807, 0.5396649837493896, 0.39871838688850403, -0.20525236427783966, 0.42605531215667725, 0.2942907512187958, -0.7050909399986267, -0.6341167688369751, 0.2755751311779022, -0.7014740705490112, -0.20542699098587036, 1.2466264963150024, -0.2731618285179138, -0.2906687259674072, -0.23406697809696198, -0.21416544914245605, 0.18595238029956818, -0.17493461072444916, 0.676950216293335, 1.1594351530075073, 0.16977769136428833, -0.06905245035886765, -0.804551899433136, 0.5296300053596497, 0.5525208115577698, -0.6268571019172668, 0.0017910217866301537, 0.23369722068309784, 0.4325237274169922, 0.20377209782600403, 0.6408487558364868, 0.06638742983341217, 0.165084108710289, 0.13469000160694122, -0.02451428398489952, 0.4908662736415863, 0.1517023891210556, -0.43322861194610596, -0.06848093867301941, 0.27006611227989197, -0.14453570544719696 ]
http://arxiv.org/abs/2402.17512v2
http://arxiv.org/pdf/2402.17512v2
Latent Attention for Linear Time Transformers
2024-02-27T13:54:48
2024-03-04T12:21:52
Rares Dolga, Marius Cobzarenco, David Barber
cs.CL
cs.CL, stat.ML
The time complexity of the standard attention mechanism in a transformer scales quadratically with the length of the sequence. We introduce a method to reduce this to linear scaling with time, based on defining attention via latent vectors. The method is readily usable as a drop-in replacement for the standard attention mechanism. Our "Latte Transformer" model can be implemented for both bidirectional and unidirectional tasks, with the causal version allowing a recurrent implementation which is memory and time-efficient during inference of language generation tasks. Whilst next token prediction scales linearly with the sequence length for a standard transformer, a Latte Transformer requires constant time to compute the next token. The empirical performance of our method is comparable to standard attention, yet allows scaling to context windows much larger than practical in standard attention.
[ -0.16118016839027405, -0.5958685874938965, 0.4445874094963074, 0.455486536026001, -0.041766200214624405, 0.06098567694425583, -0.12337793409824371, -0.18666818737983704, 0.2605205774307251, 0.2595409154891968, -0.7330631613731384, 0.29722100496292114, -0.5027254819869995, -0.11409733444452286, -0.4528313875198364, 1.230300784111023, -0.20079529285430908, -0.28634703159332275, -0.027299175038933754, 0.01434954535216093, -0.2404865324497223, -0.3588317632675171, -0.9232946038246155, -0.5809974074363708, 1.1462719440460205, 0.10076020658016205, 0.8400417566299438, 0.45735788345336914, 0.7022535800933838, 0.2508343756198883, -0.3290086090564728, -0.229847714304924, -0.9087520241737366, -0.17341509461402893, -0.3177303671836853, -0.7083481550216675, -0.4725267291069031, 0.20119847357273102, 0.5796343088150024, 1.0235403776168823, 0.2044392228126526, 0.5484790802001953, 0.10733428597450256, 0.5725674629211426, -0.5736867189407349, 0.16812075674533844, -0.4994814097881317, 0.4318132698535919, -0.04545974358916283, -0.4546419680118561, -0.4894523024559021, -0.21237565577030182, 0.22031861543655396, -0.4222804307937622, 0.6271246075630188, 0.0024476461112499237, 0.5708909630775452, 0.6576159000396729, -0.3261603116989136, 0.2640160620212555, -1.2528009414672852, 1.0868055820465088, -0.23552732169628143, 0.4072644114494324, 0.07857296615839005, 0.3559080958366394, 0.043256498873233795, -1.145126461982727, -0.5551881790161133, -0.18701443076133728, -0.250057190656662, -0.03897901996970177, -0.351766973733902, -0.03332674875855446, 0.5278566479682922, 0.39840981364250183, -0.369431734085083, -0.2393236607313156, -0.43331485986709595, -0.08754239231348038, 0.23276762664318085, 0.36652565002441406, 0.05520607903599739, 0.06916360557079315, -0.31505087018013, 0.1995783895254135, -0.7020164728164673, 0.2534918487071991, 0.1643306016921997, 0.14615309238433838, -0.052737727761268616, 0.4921785295009613, 0.021452154964208603, 0.4738331735134125, 0.5755864977836609, 0.04472770169377327, 0.1271980255842209, -0.318841814994812, -0.0758940652012825, -0.07229385524988174, 0.47988468408584595, 0.4542126953601837, 0.1133042424917221, -0.5011563301086426, -0.10632652789354324, 0.2311653345823288, 0.5876946449279785, -0.8530677556991577, -0.15973158180713654, 0.11782176047563553, -0.49603742361068726, -0.37943750619888306, -0.46939533948898315, -0.6848381161689758, 0.16468064486980438, -0.3580559194087982, 0.4819447696208954, 0.11639101803302765, 0.11911718547344208, -0.11514680832624435, 0.17260822653770447, 0.3233131468296051, 0.3435361087322235, -0.9853502511978149, 0.366351455450058, 0.5416402220726013, 0.9832079410552979, -0.2922782599925995, 0.11629333347082138, -0.8211632966995239, 0.04975660517811775, -0.3241150677204132, 0.6370636224746704, -0.48031991720199585, -0.25207290053367615, -0.11021058261394501, 0.2032443732023239, -0.20722290873527527, -0.16928541660308838, 0.5896077752113342, -0.6962130069732666, 0.45723897218704224, -0.08322247862815857, -0.25055408477783203, -0.04531586170196533, -0.17467239499092102, -0.7426692247390747, 1.153366208076477, 0.4645315110683441, -0.8450406789779663, 0.04286620393395424, -0.7254632711410522, -0.6378893852233887, 0.10241208970546722, -0.005215054377913475, -0.5235338807106018, 0.22348350286483765, 0.3187560439109802, 0.4346827268600464, -0.30550503730773926, 0.030556749552488327, -0.04350942000746727, -0.4791680872440338, 0.20992235839366913, -0.540959894657135, 0.6002339124679565, 0.2285851687192917, -0.6751267313957214, 0.13378728926181793, -0.749301552772522, -0.13563568890094757, 0.3673767149448395, -0.1876600682735443, 0.0265522263944149, 0.14982429146766663, 0.33562254905700684, 0.2504483163356781, 0.5065512657165527, -0.5366316437721252, 0.03763405606150627, -0.792806088924408, 0.7758690118789673, 0.7794252634048462, 0.0032909978181123734, 0.7974052429199219, -0.05383048206567764, 0.5525209307670593, -0.02613731659948826, 0.41723692417144775, -0.1935543715953827, -0.21674862504005432, -1.3342149257659912, 0.239040806889534, 0.18596184253692627, 0.38955116271972656, -0.5701249241828918, 0.40487682819366455, -0.4584467113018036, -0.3041874170303345, -0.2932845652103424, -0.06915586441755295, 0.38625526428222656, 0.5449930429458618, 0.2995936870574951, -0.14747771620750427, -0.21112480759620667, -0.946156919002533, 0.016965990886092186, -0.020998090505599976, -0.3905194401741028, 0.2575762867927551, 0.30008047819137573, -0.07507315278053284, 0.9731961488723755, -0.6847704648971558, -0.05112230032682419, -0.09560685604810715, 0.29852181673049927, 0.36415547132492065, 0.19214418530464172, 0.5905755162239075, -0.761664867401123, -0.43995600938796997, 0.06919921934604645, -0.4139736294746399, -0.009841270744800568, -0.06282392889261246, 0.19264428317546844, 0.2083330750465393, 0.7780932188034058, -0.46609658002853394, 0.6565253734588623, 0.4425911009311676, -0.35980868339538574, 0.04335097223520279, 0.006991582456976175, -0.06611626595258713, -1.0692875385284424, 0.22486090660095215, -0.1708758920431137, -0.3500000238418579, -0.852137565612793, -0.29380738735198975, 0.20993682742118835, -0.314672589302063, -0.638950526714325, 0.5225276947021484, -0.23820683360099792, -0.06781750917434692, -0.1691131442785263, 0.05157284438610077, -0.0042759510688483715, 0.9304569959640503, -0.07160309702157974, 0.8053057193756104, -0.13026151061058044, -0.5352843403816223, 0.310392290353775, -0.13255232572555542, 0.039970822632312775, 0.516934871673584, -1.1975568532943726, 0.44970130920410156, -0.21368177235126495, 0.02013454958796501, -1.232630729675293, 0.09290005266666412, 0.17533107101917267, -0.46242889761924744, 0.34161436557769775, 0.035907547920942307, -0.28580835461616516, -0.6971051096916199, -0.13540300726890564, 0.5733833312988281, 0.41054677963256836, -0.5632724165916443, 0.5999261736869812, -0.08305417001247406, -0.3313271105289459, -0.5773714780807495, -0.5402824878692627, -0.1199222281575203, -0.2300463765859604, -0.4919934868812561, 0.516946017742157, -0.07053399831056595, 0.00184701441321522, 0.05729255452752113, -0.19110596179962158, 0.2212614268064499, -0.16365227103233337, 0.09305458515882492, 0.06312882155179977, -0.21504414081573486, 0.2423243522644043, -0.07577056437730789, -0.38217851519584656, 0.08581502735614777, -0.2829435169696808, 0.5800588726997375, 0.03272279351949692, -0.09092185646295547, -0.49017781019210815, 0.4179709553718567, 0.8152468204498291, -0.41063180565834045, 0.6533722281455994, 0.812056303024292, -0.3646211326122284, -0.04637761414051056, -0.5063981413841248, -0.3674718141555786, -0.4744529128074646, 0.3707137405872345, -0.30484476685523987, -0.9430667161941528, 0.5753477811813354, 0.12980498373508453, 0.17484615743160248, 0.5212184190750122, 0.7364547848701477, 0.0035459273494780064, 0.9904745221138, 0.883728563785553, -0.1852903813123703, 0.6425940990447998, -0.2418680340051651, 0.753445565700531, -0.8390470147132874, -0.10786819458007812, -0.5377298593521118, -0.6082563996315002, -0.3038737177848816, -0.6965286731719971, 0.3294643759727478, -0.1573382467031479, -0.20125387609004974, 0.3463778793811798, -0.6230693459510803, 0.3969641625881195, 0.33440810441970825, 0.097127765417099, 0.0773402601480484, -0.03650841861963272, 0.28599831461906433, -0.4174467623233795, -0.5139569044113159, -0.35054507851600647, 1.1466426849365234, 0.5846552848815918, 0.8008487224578857, 0.05974583327770233, 0.3361107110977173, 0.34215113520622253, 0.210597425699234, -0.9087300300598145, 0.3552038073539734, -0.004754586610943079, -0.40641099214553833, -0.5321943163871765, -0.4114611744880676, -1.2093364000320435, -0.0658239871263504, 0.04033217951655388, -0.8235204815864563, 0.038364630192518234, 0.19736437499523163, -0.6471372842788696, 0.16898252069950104, -0.6411334276199341, 0.7760587334632874, -0.08171812444925308, -0.6112388968467712, -0.2589609622955322, -0.7395180463790894, -0.11678731441497803, -0.1454094797372818, -0.17390525341033936, -0.07146596163511276, -0.22469082474708557, 0.8734582662582397, -0.39093300700187683, 0.996502697467804, -0.053930968046188354, -0.09934911131858826, 0.07453251630067825, -0.04507069289684296, 0.7669075131416321, 0.053415246307849884, 0.5737191438674927, -0.03902891278266907, -0.5124684572219849, -0.5411858558654785, -0.927272617816925, 0.5890279412269592, -0.9075471758842468, -0.523040235042572, -0.276095449924469, -0.7161914110183716, -0.026082709431648254, 0.09997682273387909, 0.31047916412353516, 0.34523093700408936, -0.274541974067688, 0.2235053926706314, 0.9630897045135498, 0.12143338471651077, 0.806701123714447, 0.3141726553440094, -0.05828777700662613, -0.098099485039711, 0.6463753581047058, 0.2650983929634094, 0.1952962875366211, 0.8359361886978149, 0.1088762953877449, -0.4175441265106201, -0.13500694930553436, 0.00415731081739068, 0.19852988421916962, -0.42019733786582947, 0.08454375714063644, -0.9779238700866699, -0.42112821340560913, -0.3951528072357178, -0.2344582974910736, -0.6398652195930481, -0.7048990726470947, -0.45928943157196045, 0.1585516333580017, 0.2492729276418686, 0.6853325963020325, 0.29737529158592224, 0.5640587210655212, -0.43748408555984497, 0.39359670877456665, 0.7689219117164612, 0.31749090552330017, 0.07566175609827042, -0.9631978869438171, -0.2900002896785736, -0.38226860761642456, -0.43453389406204224, -0.5589738488197327, 0.26430973410606384, 0.028300832957029343, 0.5054875016212463, 0.5811399221420288, -0.18589067459106445, 0.2337508499622345, -0.9196122288703918, 0.7771525382995605, 0.503757655620575, -0.9455158710479736, 0.5757479071617126, -0.38372349739074707, 0.4518035054206848, -0.07215887308120728, 0.46125805377960205, -0.5749576687812805, -0.158877894282341, -0.7133926749229431, -0.8641605973243713, 0.6377990245819092, 0.6095249652862549, 0.2867441475391388, 0.1322568655014038, 0.48226532340049744, -0.2582952082157135, 0.08515595644712448, -0.7574829459190369, -0.39039739966392517, -0.04817700758576393, -0.04747984930872917, -0.7521497011184692, -0.5091322660446167, -0.08704055845737457, -0.19335757195949554, 0.2572461664676666, -0.0015203412622213364, 0.627497136592865, 0.17425034940242767, 0.031149491667747498, -0.3527486324310303, 0.2529223561286926, 0.7612807154655457, 0.6079280376434326, -0.2592748999595642, 0.17393220961093903, 0.14917457103729248, -0.4879160225391388, 0.3336855471134186, 0.039528828114271164, -0.24762801826000214, 0.09870290756225586, 0.2635778784751892, 0.8449403643608093, 0.49192875623703003, -0.1143946424126625, 0.40963321924209595, -0.23738089203834534, -0.1071169376373291, -0.42648693919181824, -0.1371157169342041, 0.2206660807132721, 0.344841867685318, 0.3557138442993164, 0.07271324098110199, 0.19686557352542877, -0.04378790780901909, 0.2662498652935028, -0.05349985137581825, -0.842800498008728, -0.41719722747802734, 1.0434470176696777, 0.4533504247665405, -0.6684325337409973, 0.3714018166065216, 0.07944680750370026, -0.232480987906456, 0.6186130046844482, 0.5522745251655579, 0.9802875518798828, -0.6412442326545715, 0.051580995321273804, 0.33389025926589966, 0.44515275955200195, 0.14507976174354553, -0.03905334323644638, -0.07466588169336319, -0.4220639765262604, -0.5792713761329651, -0.6766143441200256, -0.12040597200393677, 0.40261805057525635, -0.6807277798652649, 0.17598305642604828, -0.58441561460495, -0.5372171998023987, 0.4527130126953125, -0.18048475682735443, -0.7111866474151611, 0.061710380017757416, -0.047167934477329254, 0.3710364103317261, -0.8406468629837036, 0.6059707999229431, 0.5266619920730591, -0.33465850353240967, -0.5127739310264587, 0.05798867344856262, -0.1503959447145462, -0.5862537622451782, 0.8574811816215515, 0.15640486776828766, -0.3178096115589142, -0.06943215429782867, -0.31836482882499695, -1.0877203941345215, 0.780338704586029, 0.26707080006599426, -0.8095374703407288, -0.21187390387058258, 0.1950579732656479, 0.7057693600654602, -0.3198521137237549, 0.09906592220067978, 0.6257010102272034, 0.06565707921981812, 0.14031486213207245, -0.9012526273727417, -0.1372489631175995, -0.2823883891105652, 0.4746772348880768, 0.4119810461997986, -0.8457197546958923, 1.1777397394180298, -0.29889124631881714, -0.13599535822868347, -0.22563251852989197, 0.9875794053077698, -0.521417498588562, 0.17837701737880707, 0.5486225485801697, 0.47043338418006897, 0.4896460175514221, -0.1191682294011116, 0.8087353706359863, -0.39050155878067017, 0.5530049800872803, 1.1442240476608276, -0.14860403537750244, 0.6934272050857544, 0.8558104038238525, -0.5851017236709595, 0.30289220809936523, 0.5079557299613953, 0.20625820755958557, 0.4869478642940521, 0.2806988060474396, -0.2858192026615143, -0.08742289990186691, -0.16877681016921997, -0.29252544045448303, 0.30135196447372437, 0.35586851835250854, -0.508941113948822, -0.16132718324661255, -0.0982714369893074, 0.1504967361688614, 0.12896116077899933, -0.4541398882865906, 0.45402470231056213, 0.03577326983213425, -0.7077962756156921, 0.6873618364334106, -0.1956411898136139, 0.2822090983390808, -0.2376781553030014, -0.08080596476793289, -0.24673619866371155, 0.5440419316291809, -0.06807231158018112, -0.4988100826740265, 0.3860321342945099, -0.2216101884841919, -0.6208799481391907, -0.12976111471652985, 0.4899035394191742, -0.3221241235733032, -0.7218398451805115, 0.4285368025302887, 0.14555767178535461, -0.03905104100704193, 0.07940920442342758, -0.46354395151138306, -0.1109066903591156, 0.06753335893154144, -0.5167440176010132, -0.04357514530420303, 0.28721538186073303, -0.04760201275348663, 0.6175041198730469, 0.4278090000152588, -0.2665942907333374, 0.26942798495292664, 0.36607325077056885, 0.8456502556800842, -0.5692511796951294, -0.5938823819160461, -0.5711537003517151, 0.27584609389305115, -0.039465077221393585, -0.06232607737183571, 0.47767969965934753, 0.5112136006355286, 0.6146718859672546, -0.19893589615821838, 0.6817458271980286, 0.05632222816348076, 0.6010128259658813, -0.3658114969730377, 0.4782232642173767, -0.6644538640975952, 0.04384373500943184, -0.11720514297485352, -1.2240341901779175, -0.2857487201690674, 0.586266279220581, -0.45037513971328735, 0.11558359116315842, 0.9768760204315186, 0.7049155235290527, -0.10382954776287079, -0.2050863802433014, 0.4249846339225769, 0.11361771821975708, 0.23814435303211212, 0.9390293955802917, 0.5618124604225159, -0.4991413652896881, 0.7165402770042419, -0.2863311767578125, -0.39406466484069824, -0.33886247873306274, -0.6630426049232483, -1.345280408859253, -0.5733623504638672, -0.2415710985660553, -0.3366064429283142, -0.01549671869724989, 0.5273104906082153, 0.6074009537696838, -0.779011607170105, 0.02815011702477932, 0.05282860994338989, -0.05370543524622917, -0.16661426424980164, -0.25550347566604614, 0.6022577285766602, -0.7227312922477722, -1.054339051246643, -0.11669038981199265, 0.5460619330406189, 0.01712709292769432, -0.579613447189331, 0.22969874739646912, 0.04073014855384827, 0.11603374779224396, 0.8467084169387817, 0.1776190549135208, -0.7142722606658936, -0.44440844655036926, 0.24395975470542908, -0.20166170597076416, 0.1548537313938141, 1.112222671508789, -0.4550706148147583, 0.36356449127197266, 0.49488773941993713, 0.4026277959346771, 0.8342714309692383, -0.36935722827911377, 0.6170401573181152, -0.8737941980361938, 0.6996190547943115, 0.3510713577270508, 0.3060917854309082, 0.11458612233400345, -0.606950044631958, 0.512401282787323, 0.3516498804092407, -0.6653681993484497, -0.396236777305603, 0.348305344581604, -1.065568447113037, 0.10150160640478134, 0.9441701769828796, -0.13761785626411438, -0.6325598359107971, -0.32219794392585754, -0.1212378442287445, 0.3225640654563904, -0.4221927523612976, 0.66135174036026, 0.4102633595466614, -0.027029018849134445, -0.4138694703578949, -0.40765783190727234, 0.45651671290397644, 0.568420946598053, -0.3990509510040283, 0.20559416711330414, 0.08743442595005035, 0.07555454969406128, 0.7050366401672363, 0.5975048542022705, -0.2521646022796631, 0.29851722717285156, 0.02384556271135807, 0.1150187999010086, 0.496502548456192, -0.5808799862861633, -0.2901252210140228, 0.18592147529125214, -0.17858992516994476, -0.17657679319381714 ]
http://arxiv.org/abs/2402.17509v2
http://arxiv.org/pdf/2402.17509v2
Extreme Miscalibration and the Illusion of Adversarial Robustness
2024-02-27T13:49:12
2024-05-31T00:09:56
Vyas Raina, Samson Tan, Volkan Cevher, Aditya Rawal, Sheng Zha, George Karypis
cs.CL
cs.CL
Deep learning-based Natural Language Processing (NLP) models are vulnerable to adversarial attacks, where small perturbations can cause a model to misclassify. Adversarial Training (AT) is often used to increase model robustness. However, we have discovered an intriguing phenomenon: deliberately or accidentally miscalibrating models masks gradients in a way that interferes with adversarial attack search methods, giving rise to an apparent increase in robustness. We show that this observed gain in robustness is an illusion of robustness (IOR), and demonstrate how an adversary can perform various forms of test-time temperature calibration to nullify the aforementioned interference and allow the adversarial attack to find adversarial examples. Hence, we urge the NLP community to incorporate test-time temperature scaling into their robustness evaluations to ensure that any observed gains are genuine. Finally, we show how the temperature can be scaled during \textit{training} to improve genuine robustness.
[ -0.3631174862384796, -0.8767176270484924, -0.0009482032619416714, -0.19357527792453766, -0.07554083317518234, 0.0768350139260292, -0.06201743334531784, -0.4203108549118042, -0.15714818239212036, 0.35126689076423645, -0.367190957069397, 0.011714671738445759, -0.7515745759010315, -0.254382848739624, -0.4858466684818268, 1.0998945236206055, 0.28572985529899597, 0.2936412990093231, 0.07326699048280716, -0.2820312976837158, -0.14908315241336823, -0.7187542915344238, -0.5961146950721741, -0.5083917379379272, 0.16891780495643616, -0.1721513420343399, 1.4252969026565552, 0.5939475893974304, 0.5796219110488892, 0.2156766802072525, -0.05071672797203064, -0.021395578980445862, -0.5652260184288025, 0.20820626616477966, 0.020047767087817192, -0.896833062171936, -0.3282974660396576, 0.0819191038608551, 0.5601897835731506, 0.6507530212402344, -0.09093385189771652, -0.07726917415857315, 0.3075372874736786, 0.6750102043151855, -0.9333186149597168, -0.3244520425796509, -1.1170755624771118, 0.31952422857284546, -0.08585620671510696, -0.23985715210437775, -0.2927379906177521, -0.08242963254451752, 0.11111760884523392, -0.3945674002170563, 0.6198708415031433, -0.11074917763471603, 0.9175524115562439, 0.655310332775116, -0.15616363286972046, -0.12916815280914307, -0.9310228824615479, 0.8769456148147583, -0.8192527890205383, 0.20358306169509888, 0.5189386606216431, 0.25682124495506287, -0.25293660163879395, -0.4450702369213104, -0.5407882928848267, -0.16262957453727722, 0.20351064205169678, 0.11761545389890671, -0.6040914058685303, 0.09709884971380234, 0.5441760420799255, 0.3780581057071686, -0.6750015020370483, 0.07782917469739914, 0.03382569178938866, -0.28421223163604736, 0.3534769117832184, 0.16205008327960968, 0.4132380485534668, 0.19233746826648712, -0.33793631196022034, -0.38023287057876587, -0.43948784470558167, -0.03739098832011223, 0.6840912103652954, 0.42102333903312683, 0.20153771340847015, 0.4306788444519043, 0.33697274327278137, 0.5986743569374084, -0.09053122252225876, 0.26608994603157043, -0.1143689751625061, -0.14724552631378174, -0.4267579913139343, -0.010994919575750828, 0.6868963241577148, 0.3778316378593445, 0.13829642534255981, -0.360202431678772, -0.2688665986061096, 0.4065648019313812, 0.5234180092811584, -0.5972687602043152, -0.42645367980003357, -0.007846410386264324, -0.04872952774167061, -0.786232590675354, -0.12370864301919937, -0.7294448614120483, -0.5450419783592224, 0.025388745591044426, 0.4444567561149597, -0.21648110449314117, -0.10341419279575348, 0.13725367188453674, -0.2576838433742523, 0.04199141636490822, 0.09228940308094025, -0.8626810312271118, 0.2608228027820587, 0.5397136807441711, 0.5945996642112732, 0.3256424069404602, -0.38873815536499023, -0.304691344499588, -0.12551161646842957, -0.5560246109962463, 0.41229021549224854, -0.5693360567092896, -0.3757433593273163, -0.05384215712547302, -0.2799173593521118, -0.17018276453018188, -0.5147789120674133, 0.5176430344581604, -0.8119617700576782, 0.20186693966388702, -0.09211303293704987, -0.10327954590320587, -0.15818944573402405, 0.631466269493103, -0.6684239506721497, 1.107118010520935, -0.24352292716503143, -0.9522552490234375, 0.4164612293243408, -0.6104294061660767, -0.19336573779582977, -0.2853505313396454, 0.10000447183847427, -0.5379723310470581, 0.18332797288894653, 0.35791853070259094, 0.2865540087223053, -0.22265757620334625, -0.12332549691200256, -0.6584209203720093, -0.20971868932247162, 0.49129465222358704, -1.0972422361373901, 1.034631609916687, 0.19574882090091705, -0.46864813566207886, -0.21565118432044983, -0.8756102323532104, 0.22799386084079742, 0.27564963698387146, -0.2485484778881073, -0.6232121586799622, -0.0011767405085265636, -0.2519143521785736, -0.09125708788633347, 0.10177864134311676, -0.20080441236495972, 0.13772502541542053, -0.8882739543914795, 0.417743444442749, 0.6877695322036743, -0.046814605593681335, 0.6074324250221252, -0.38406333327293396, 0.5758877396583557, -0.06974198669195175, 0.1487210988998413, 0.1204923763871193, -0.3693735599517822, -0.8315584659576416, 0.14084085822105408, 0.17697688937187195, 0.8718628883361816, -0.6589551568031311, 0.19040006399154663, -0.031114770099520683, -0.656348466873169, -0.4590592682361603, 0.2444256842136383, 0.40201056003570557, 0.6988996267318726, 0.40459224581718445, -0.047866594046354294, -0.34587180614471436, -0.7443106174468994, -0.6956840753555298, -0.1667296588420868, -0.2885514497756958, -0.005761061795055866, 0.4635540544986725, -0.21977470815181732, 0.6474514603614807, -0.30589625239372253, -0.12423311918973923, 0.0862472653388977, 0.2623636722564697, 0.009184828959405422, 0.6212000250816345, 0.6366658210754395, -0.9929601550102234, -0.19082647562026978, -0.19541306793689728, -0.6824239492416382, 0.21626321971416473, -0.1953740417957306, -0.08378857374191284, 0.08603814244270325, 0.5869068503379822, -0.2130175530910492, 0.6201688647270203, 0.44479280710220337, -0.1024177223443985, 0.4976262152194977, -0.27559006214141846, 0.04350799694657326, -0.9747190475463867, 0.014503688551485538, 0.06801410019397736, -0.29275044798851013, -0.8476751446723938, 0.42709997296333313, 0.076970174908638, -0.07831089943647385, -0.35494744777679443, 0.14602841436862946, -0.2480325996875763, 0.25071007013320923, -0.2506110966205597, -0.04403078183531761, 0.20519192516803741, 0.21506693959236145, -0.4600902497768402, 0.6872140169143677, 0.7048763036727905, -0.5034707188606262, 0.46692776679992676, -0.062404487282037735, 0.021852953359484673, 0.588217556476593, -0.5323541760444641, 0.23494067788124084, -0.12231268733739853, 0.15204478800296783, -0.7533659934997559, -0.15131627023220062, 0.1745147556066513, -0.6584966778755188, 0.5862782597541809, -0.210563063621521, -0.44680002331733704, -0.09544435143470764, -0.47900334000587463, 0.43028753995895386, 0.20675604045391083, -0.6108763813972473, 0.6641257405281067, 0.14382044970989227, 0.45699062943458557, -0.9652659893035889, -1.1348685026168823, 0.26450926065444946, -0.4452924132347107, -0.48443320393562317, 0.21639634668827057, -0.16207964718341827, -0.44161859154701233, -0.21098178625106812, -0.029278339818120003, -0.1957983374595642, 0.47781217098236084, 0.14768610894680023, 0.23820891976356506, -0.30995774269104004, -0.2723511755466461, -0.3991362154483795, -0.016487475484609604, 0.41623038053512573, -0.16135025024414062, 0.5022322535514832, -0.4114309847354889, -0.46625417470932007, -0.46780166029930115, 0.2837444543838501, 0.6407734155654907, 0.08639082312583923, 0.8393354415893555, 0.7070546746253967, -0.8548553586006165, -0.14552128314971924, -0.47998684644699097, -0.31248727440834045, -0.5025883913040161, 0.4737767279148102, -0.2619571089744568, -0.29639187455177307, 0.7554392218589783, 0.24709591269493103, 0.11393849551677704, 0.634145975112915, 0.10659539699554443, -0.11407224833965302, 1.561279296875, 0.6782638430595398, -0.1731307953596115, 0.40869349241256714, -0.40032005310058594, 0.11958186328411102, -0.8944030404090881, -0.09925609827041626, -0.7178255319595337, -0.32809656858444214, -0.49436530470848083, -0.15043407678604126, 0.268541157245636, 0.16990189254283905, -0.4114730954170227, 0.23171715438365936, -0.43160685896873474, 0.7942128777503967, 0.7378541827201843, 0.34042540192604065, -0.1263696253299713, 0.032010436058044434, -0.13157539069652557, -0.5488669872283936, -0.8189619779586792, -0.3912983536720276, 1.150024652481079, 0.3727007508277893, 0.9964465498924255, 0.1884356588125229, 0.18061745166778564, 0.3290092349052429, 0.09585734456777573, -0.7349762916564941, 0.2884334325790405, -0.3033335506916046, -0.7637178301811218, -0.18449018895626068, -0.4045190215110779, -0.8184967041015625, 0.1092313826084137, -0.3014894723892212, -0.7336477041244507, 0.23709586262702942, 0.3429635763168335, -0.3905080556869507, 0.707701563835144, -0.7456053495407104, 0.8641477823257446, -0.221878319978714, -0.23571963608264923, 0.09597405046224594, -0.7278065085411072, 0.15921801328659058, -0.07858563959598541, 0.20616135001182556, 0.2657405436038971, 0.06259093433618546, 0.5919499397277832, -0.24950067698955536, 1.015423059463501, -0.22184480726718903, 0.06296280026435852, -0.15584437549114227, 0.6291808485984802, 0.6249171495437622, 0.06864727288484573, -0.19935019314289093, 0.01899639517068863, -0.1856304407119751, -0.7122469544410706, -0.7438625693321228, 0.6794613003730774, -0.8180714249610901, -0.7523953914642334, -0.576050341129303, -0.6842840909957886, -0.3882724940776825, 0.16055908799171448, 0.5267555713653564, 0.480368047952652, -0.2399330735206604, 0.16799692809581757, 0.812085747718811, -0.00828943308442831, 0.41544052958488464, 0.21000434458255768, 0.21530066430568695, -0.22918061912059784, 0.91574627161026, 0.06530579924583435, 0.7440850138664246, 0.3350154757499695, 0.2352680116891861, -0.046042367815971375, -0.6863455772399902, -0.42215725779533386, -0.21533575654029846, -0.873068630695343, -0.2636599838733673, -0.34282422065734863, -0.3178943395614624, -0.5663711428642273, -0.4137859344482422, -0.49621832370758057, -0.34355628490448, -0.7411477565765381, 0.04093430936336517, -0.05176829919219017, 0.498242050409317, -0.19836926460266113, 0.4019048511981964, -0.508418619632721, 0.13408255577087402, 0.3571208417415619, -0.13257350027561188, -0.19979090988636017, -0.8645213842391968, -0.11684620380401611, 0.4127820134162903, -0.4462415874004364, -0.7098684906959534, 0.42472848296165466, 0.5097395777702332, 0.4298526644706726, 0.7352137565612793, 0.3212863802909851, 0.7105550169944763, -0.22675447165966034, 0.8739222884178162, 0.18590736389160156, -0.7897659540176392, 0.5812314748764038, -0.18645508587360382, 0.6335140466690063, 0.5265253782272339, 0.29499152302742004, -0.17664876580238342, -0.6664369106292725, -0.793730616569519, -0.9507855772972107, 0.4849805533885956, 0.042482730001211166, 0.48600903153419495, 0.3786967694759369, 0.3402344584465027, -0.08491513133049011, -0.07813365012407303, -0.8890438675880432, -0.5918737053871155, -0.545799732208252, 0.12526829540729523, -0.03701067715883255, -0.3175157904624939, -0.6191044449806213, 0.08086537569761276, 0.8276033401489258, -0.2667238116264343, 0.13996101915836334, 0.24765844643115997, -0.08843744546175003, -0.09064324200153351, 0.1548675298690796, 0.5733398199081421, 0.4438058137893677, -0.26753926277160645, 0.4427081346511841, 0.4529123604297638, -0.5753605961799622, -0.07477036863565445, 0.27763932943344116, -0.18220177292823792, -0.2238781601190567, 0.4689677655696869, 0.7555903792381287, -0.03998304158449173, -0.24556484818458557, 0.487188458442688, -0.4315575957298279, -0.05865595117211342, -0.22801539301872253, 0.23434554040431976, -0.4008534848690033, 0.2458709478378296, 0.5152505040168762, 1.059107780456543, 0.15137465298175812, -0.463291734457016, 0.03534412756562233, 0.9116746783256531, -0.6984606981277466, -0.33691948652267456, 1.0257270336151123, -0.38041502237319946, -0.28126174211502075, 0.4232398569583893, -0.017096631228923798, -1.010697841644287, 0.5884512066841125, 0.6584921479225159, 0.7803503274917603, -0.3786337673664093, -0.033996596932411194, 0.1507001668214798, 0.9225512146949768, 0.005067100282758474, -0.0457666739821434, 0.04632033407688141, -0.8181059956550598, 0.08464166522026062, -0.38275039196014404, -0.35371971130371094, 0.26986032724380493, -0.9328524470329285, 0.07160603255033493, -0.6443310976028442, -0.26194486021995544, 0.14558352530002594, -0.28472599387168884, -0.6303318738937378, 0.5093042254447937, 0.06394456326961517, 0.6719200015068054, -0.8432409763336182, 0.5872750282287598, 0.5949108600616455, 0.039197541773319244, -0.4145798981189728, 0.29781877994537354, 0.2861914038658142, -0.9979322552680969, 0.2830633819103241, 0.002692094538360834, -0.27114808559417725, -0.3611399233341217, -0.5588439702987671, -0.5744668841362, 0.5948898792266846, 0.7997178435325623, -0.14685505628585815, -0.30469995737075806, 0.32261744141578674, 0.6667077541351318, 0.06917346268892288, 0.11537083983421326, 0.5225505828857422, 0.18524715304374695, -0.1052660271525383, -0.7107316851615906, -0.010280914604663849, -0.3649725914001465, -0.08909609913825989, 0.16283674538135529, -0.38186514377593994, 0.6069127917289734, -0.1945047825574875, -0.19263336062431335, -0.1633455753326416, 0.5120358467102051, -0.39277732372283936, 0.3589758574962616, 0.5816595554351807, 0.7994069457054138, 0.7714048624038696, -0.19813016057014465, 1.0940279960632324, -0.25385990738868713, 0.13098900020122528, 1.070891261100769, 0.1156875267624855, 0.6678868532180786, 0.44252827763557434, -0.07292221486568451, -0.09435262531042099, 0.5294234156608582, -0.10423269867897034, 0.5543510317802429, 0.05632306635379791, -0.35790467262268066, -0.2569155991077423, -0.05210423097014427, -0.5958895087242126, 0.2565881013870239, 0.5392479300498962, -0.2926749885082245, -0.1292056143283844, 0.29288384318351746, 0.3764139711856842, 0.2226923257112503, -0.21880459785461426, 0.5450778007507324, -0.11476246267557144, -0.37721624970436096, 0.8530086874961853, -0.14013458788394928, 0.7724103331565857, -0.5913795232772827, 0.3874976634979248, 0.011696276254951954, 0.4952649772167206, -0.29274848103523254, -0.47145235538482666, 0.46213066577911377, -0.08680936694145203, -0.22181960940361023, -0.058882687240839005, 0.5459215044975281, -0.03525124117732048, -0.5305608510971069, 0.2853006422519684, 0.03934371843934059, -0.0688289999961853, -0.20280197262763977, -0.981519341468811, -0.17123089730739594, 0.12125157564878464, -0.47666704654693604, 0.43279585242271423, 0.2423599362373352, 0.47371089458465576, 0.7703684568405151, 0.709122896194458, 0.3355772793292999, 0.21592164039611816, 0.0027169506065547466, 0.8919888734817505, -0.25993362069129944, -0.2082061767578125, -1.094874382019043, 0.15430013835430145, 0.018560437485575676, -0.44344189763069153, 0.8197495937347412, 0.6129385828971863, 0.9955987334251404, 0.3561386168003082, 0.7047675848007202, 0.28937506675720215, 0.26287639141082764, -0.5585538148880005, 0.8831132650375366, -0.6852848529815674, 0.5251628160476685, -0.21950525045394897, -0.7536199688911438, -0.7945299744606018, 0.41485315561294556, -0.25932231545448303, 0.015358895994722843, 0.5188460350036621, 1.0263237953186035, -0.1330132633447647, 0.1505228728055954, 0.4289153814315796, 0.3850383460521698, 0.49411845207214355, 0.2857707440853119, 0.6169871091842651, -0.7611499428749084, 0.8682708144187927, -0.6553848385810852, -0.29473814368247986, 0.09196455776691437, -0.8351961374282837, -0.9984492063522339, -0.5096709728240967, -0.3867979645729065, -0.7819055318832397, 0.190462127327919, 0.6128092408180237, 0.6286478042602539, -0.8177604675292969, 0.20865607261657715, -0.15664225816726685, -0.1222572848200798, -0.17960400879383087, -0.27341529726982117, 0.22113850712776184, -0.19202959537506104, -0.7557052969932556, 0.5754712820053101, -0.0783139169216156, 0.38895004987716675, -0.5081772804260254, 0.28473684191703796, 0.01876768097281456, 0.26850512623786926, 0.014977398328483105, 0.38897210359573364, -0.4543130695819855, -0.06721004843711853, -0.18992620706558228, -0.16555249691009521, 0.07454145699739456, 0.46341055631637573, -0.5750275254249573, 0.774038553237915, 0.23616290092468262, 0.7527499198913574, 0.0666465312242508, -0.2885774075984955, 0.6293095946311951, -0.7621698975563049, 0.196097269654274, 0.5321106910705566, 0.32977360486984253, 0.4264198839664459, -0.6198257803916931, 0.27256542444229126, 0.21346978843212128, -0.6419022679328918, -1.3514506816864014, 0.2486153542995453, -0.5501828789710999, -0.26027023792266846, 0.7989468574523926, -0.22130133211612701, -0.29031091928482056, 0.02679525315761566, -0.04249100759625435, 0.1942252516746521, -0.2579455077648163, 1.1003013849258423, 0.7458663582801819, 0.10927047580480576, 0.37502583861351013, -0.8395106196403503, 0.5999578237533569, 0.6323861479759216, -0.43425703048706055, 0.1106305867433548, 0.06727752089500427, 0.017799491062760353, 0.3882509768009186, -0.14331717789173126, 0.13596776127815247, 0.18918776512145996, 0.3196326494216919, -0.5253869891166687, -0.04359269142150879, -0.1865144968032837, -0.5430354475975037, 0.2721722722053528, 0.03321686014533043, -0.1272510439157486 ]
http://arxiv.org/abs/2402.17505v1
http://arxiv.org/pdf/2402.17505v1
BASES: Large-scale Web Search User Simulation with Large Language Model based Agents
2024-02-27T13:44:09
2024-02-27T13:44:09
Ruiyang Ren, Peng Qiu, Yingqi Qu, Jing Liu, Wayne Xin Zhao, Hua Wu, Ji-Rong Wen, Haifeng Wang
cs.IR
cs.IR, cs.CL
Due to the excellent capacities of large language models (LLMs), it becomes feasible to develop LLM-based agents for reliable user simulation. Considering the scarcity and limit (e.g., privacy issues) of real user data, in this paper, we conduct large-scale user simulation for web search, to improve the analysis and modeling of user search behavior. Specially, we propose BASES, a novel user simulation framework with LLM-based agents, designed to facilitate comprehensive simulations of web search user behaviors. Our simulation framework can generate unique user profiles at scale, which subsequently leads to diverse search behaviors. To demonstrate the effectiveness of BASES, we conduct evaluation experiments based on two human benchmarks in both Chinese and English, demonstrating that BASES can effectively simulate large-scale human-like search behaviors. To further accommodate the research on web search, we develop WARRIORS, a new large-scale dataset encompassing web search user behaviors, including both Chinese and English versions, which can greatly bolster research in the field of information retrieval. Our code and data will be publicly released soon.
[ -0.48372071981430054, -0.8016424179077148, 0.33211037516593933, 0.334559828042984, 0.22497038543224335, 0.09318733960390091, -0.2391253113746643, -0.22445261478424072, 0.46974050998687744, 0.6337863206863403, -0.4986790716648102, -0.24341891705989838, -0.11160928755998611, 0.08877169340848923, -0.36048424243927, 0.1329464465379715, 0.15328294038772583, -0.035130538046360016, -0.12527787685394287, 0.1583101749420166, -0.14443160593509674, -0.9338906407356262, -0.47742947936058044, -0.023460514843463898, 0.4022643268108368, 0.4574296772480011, 0.9252466559410095, 0.5460199117660522, 0.4583289623260498, 0.35894259810447693, -0.0018629702972248197, 0.1464054137468338, -0.8878999948501587, 0.49703308939933777, -0.5027393102645874, -0.4163212478160858, -0.5000790953636169, -0.09298697113990784, 0.7781587839126587, 0.6142335534095764, -0.3721699118614197, -0.04424077644944191, -0.3285994231700897, 0.5847971439361572, -0.6809932589530945, 0.015176762826740742, -0.3148433268070221, -0.03429006040096283, -0.09788128733634949, -0.3407604396343231, -0.5577995181083679, -0.21488401293754578, 0.18194115161895752, -0.5398491621017456, 0.21544170379638672, 0.10820437967777252, 0.5595857501029968, -0.19661641120910645, -0.7801356315612793, 0.16069479286670685, -0.48070597648620605, 0.7118495106697083, -0.7665479779243469, 0.6328562498092651, 0.3672758936882019, 0.3970676362514496, -0.7440468668937683, -0.7244817614555359, -0.5589028596878052, -0.5058717727661133, 0.28441908955574036, -0.29020851850509644, -0.03333744779229164, -0.04814724251627922, 0.4311012029647827, 0.18848860263824463, -0.7156107425689697, 0.10386966168880463, -0.16048046946525574, -0.003678129054605961, 0.8507123589515686, 0.30501753091812134, 0.5109310746192932, 0.1639918088912964, -0.27947163581848145, -0.38023364543914795, -0.7946375608444214, 0.06682660430669785, 0.3618524372577667, 0.4598294496536255, -0.04383385181427002, 0.6629523634910583, -0.856755793094635, 0.4555061459541321, 0.08778079599142075, -0.3335799276828766, 0.4787038564682007, 0.09361112117767334, -0.04686189070343971, -0.2984525263309479, 0.5358679294586182, 0.7563972473144531, 0.6141965389251709, -0.4256443381309509, -0.25000467896461487, -0.11972811073064804, 0.15259021520614624, -1.2411986589431763, 0.03964140638709068, 0.21402862668037415, -0.7973511219024658, -0.14375120401382446, 0.06896376609802246, -0.6985015273094177, -0.7379530668258667, -0.24900946021080017, 0.23110508918762207, -0.20792712271213531, -0.6636561751365662, 0.1757500320672989, -0.15011294186115265, 0.14689061045646667, 0.23266206681728363, -0.8397283554077148, 0.7423655986785889, 0.31766918301582336, 0.4251094460487366, -0.5090465545654297, -0.6499490737915039, -0.681857705116272, 0.10811544209718704, -0.13991108536720276, 0.36613887548446655, -0.610830545425415, -0.64167320728302, 0.20051845908164978, 0.017598610371351242, 0.21697087585926056, -0.6245423555374146, -0.0715365931391716, -1.0369881391525269, -0.30849385261535645, -0.4747920334339142, -0.426814466714859, -0.1339876651763916, 0.4695548415184021, -1.1243982315063477, 0.9305185079574585, 0.12267255038022995, -0.35051339864730835, -0.20449082553386688, -0.6745437979698181, -0.5130103230476379, 0.13198398053646088, 0.0007174867205321789, 0.07332181930541992, -0.02747263014316559, -0.07640576362609863, 0.5708848834037781, -0.38401246070861816, 0.138156458735466, -0.40925970673561096, -0.7013307213783264, 0.364275187253952, -0.08925570547580719, 0.7833223342895508, 0.06966911256313324, -0.36038127541542053, -0.15645328164100647, -0.553364098072052, 0.18628869950771332, 0.32287177443504333, -0.3967917263507843, -0.12930691242218018, 0.23789949715137482, 0.37066349387168884, 0.22950077056884766, 0.5587974190711975, -0.4489828646183014, 0.6183177828788757, -0.324480801820755, 0.030076278373599052, 0.5086201429367065, 0.03371867537498474, 0.4890371859073639, 0.03358430415391922, 0.6810187101364136, -0.3863052725791931, 0.08392176777124405, 0.005381317343562841, -0.43197742104530334, -0.20196078717708588, 0.11316078901290894, 0.19197459518909454, 0.4694109857082367, -0.40350455045700073, 0.2532579302787781, -0.40999478101730347, -0.4662329852581024, 0.24115414917469025, 0.23454272747039795, 0.2034687101840973, -0.011164401657879353, 0.19344809651374817, -0.45747557282447815, -0.7251086831092834, -0.7355475425720215, -0.16681258380413055, -0.302407443523407, -0.023329008370637894, 0.5294655561447144, 0.38893938064575195, -0.7262733578681946, 1.0865275859832764, -0.6007269024848938, 0.0584934800863266, -0.35428136587142944, -0.09348254650831223, -0.1559530794620514, 0.23363621532917023, 0.5653461813926697, -1.3036813735961914, -0.5355368852615356, -0.1579218953847885, -0.6980140209197998, 0.06885344535112381, 0.2582072615623474, -0.21671360731124878, 0.07438193261623383, 0.5580474138259888, -0.7229731678962708, 0.2816866934299469, 0.4941014349460602, -0.2904331088066101, 0.6284886598587036, 0.09166093915700912, 0.17154225707054138, -0.9829294681549072, 0.30606770515441895, 0.20369479060173035, -0.21316838264465332, -0.478904128074646, 0.5993037223815918, 0.17764067649841309, -0.13338132202625275, -0.3851228654384613, 0.904395580291748, -0.5297605395317078, -0.19966550171375275, -0.46317657828330994, -0.21202842891216278, -0.19843733310699463, 0.41487595438957214, -0.05682205781340599, 1.168426275253296, 0.3114820718765259, -0.7335636019706726, 0.5759456753730774, 0.03315466642379761, 0.09708293527364731, 0.09072685241699219, -0.346794456243515, 0.05259421840310097, 0.05936344340443611, 0.5566579103469849, -0.901675820350647, -0.6774305701255798, -0.3157627582550049, -0.3871608078479767, 0.08910282701253891, -0.1730419546365738, -0.9676026701927185, -0.5512546896934509, -0.6188161373138428, 0.3219601809978485, 0.580137312412262, -0.5022225975990295, 0.6382370591163635, 0.6603270173072815, -0.014331764541566372, -0.7637220025062561, -0.22263240814208984, 0.41557034850120544, -0.018892817199230194, -0.6826401352882385, 0.31375452876091003, -0.48651373386383057, -0.42902886867523193, -0.18502335250377655, 0.06610412150621414, -0.36269572377204895, 0.5029425024986267, 0.18302059173583984, 0.11630067974328995, -0.2554129362106323, -0.18444521725177765, -0.3455953896045685, 0.2378678172826767, 0.08161146193742752, -0.04141611233353615, 0.8525170087814331, -0.201760396361351, -0.2976478338241577, -0.15639418363571167, 0.3874487280845642, 0.6995111107826233, -0.17289569973945618, 0.5762572884559631, 0.14571939408779144, -0.4662168323993683, -0.2319793850183487, -0.7009596824645996, -0.19931957125663757, -0.5334636569023132, 0.4097023904323578, -0.3749198019504547, -0.9166306257247925, 0.5960707068443298, -0.4025244116783142, -0.06302940845489502, 0.29034024477005005, 0.7356128096580505, -0.016313521191477776, 1.251868724822998, 0.8424187898635864, -0.30545100569725037, 0.23599402606487274, -0.1300549954175949, -0.12190172076225281, -0.5129876136779785, -0.10317924618721008, -0.25029951333999634, -0.363114595413208, -0.5769522190093994, -0.2861112654209137, 0.14903727173805237, -0.0023036946076899767, -0.4157028794288635, 0.3133220076560974, -0.2844458818435669, 0.6144636869430542, 0.5819521546363831, 0.05547745153307915, 0.033114202320575714, 0.3506963849067688, -0.25266844034194946, -0.03264965862035751, -0.021383609622716904, -0.18699480593204498, 1.0765295028686523, -0.07556930929422379, 1.038759708404541, 0.3486400544643402, 0.4061858057975769, 0.5558854937553406, 0.02552403137087822, -0.7263182401657104, 0.660110354423523, 0.008131897076964378, -0.9338154792785645, -0.46607840061187744, -0.39362144470214844, -1.0249559879302979, 0.34783047437667847, 0.19196489453315735, -0.8510460257530212, 0.007459232583642006, 0.07651536166667938, 0.04809188470244408, 0.375669926404953, -0.49563127756118774, 0.6232041120529175, -0.4201984107494354, -0.5207816958427429, -0.17591211199760437, -0.7633974552154541, 0.1977219432592392, 0.11817333102226257, 0.04017926752567291, 0.09745466709136963, 0.010498072020709515, 0.5249791741371155, -0.38220569491386414, 0.8905159831047058, -0.35007765889167786, 0.09210161119699478, 0.22336262464523315, 0.3534933626651764, 0.8316178321838379, -0.14946042001247406, -0.23044222593307495, -0.18432924151420593, -0.42595845460891724, -0.3676990270614624, -0.3730619251728058, 0.7554693222045898, -0.7806094288825989, -0.6722922325134277, -0.19310452044010162, -0.3424391448497772, -0.3807084560394287, 0.496171236038208, -0.024422574788331985, 0.01878936216235161, -0.4756237864494324, 0.3876245319843292, 0.7436575889587402, -0.06766551733016968, 0.08218755573034286, 0.9198870658874512, -0.5344900488853455, -0.09523782134056091, 0.8505722880363464, 0.039868585765361786, -0.3254031538963318, 0.47422313690185547, 0.15224631130695343, -0.2404332458972931, -0.39552947878837585, -0.5816360712051392, 0.3350748121738434, -0.48587411642074585, -0.1448046714067459, -0.5073197484016418, -0.32266515493392944, -0.44352152943611145, -0.15877623856067657, -0.36443570256233215, -0.0757802277803421, 0.06099608168005943, -0.010418944992125034, 0.4179891049861908, 0.5570627450942993, 0.15634405612945557, 0.5744456648826599, -0.48496147990226746, 0.581585705280304, 0.23163136839866638, 0.5431960225105286, 0.28109636902809143, -0.13485115766525269, -0.516778826713562, -0.04748000204563141, -0.21404899656772614, -0.7875015735626221, 0.5337787866592407, -0.34763410687446594, 0.6899967193603516, 0.42588818073272705, -0.06488285958766937, 0.5702193379402161, -0.5458540320396423, 0.8703125715255737, -0.000005416667136159958, -0.6944509148597717, 0.16092278063297272, -0.5060024261474609, -0.021665118634700775, 0.7089025974273682, 0.32907742261886597, -0.6728017330169678, 0.2337878942489624, -0.38855084776878357, -0.8001978397369385, 0.7545960545539856, 0.17640210688114166, 0.1396275758743286, 0.15895210206508636, 0.341905802488327, -0.05934318155050278, 0.1804010421037674, -0.371577650308609, -0.5107805728912354, 0.11323394626379013, 0.13036270439624786, 0.1564161777496338, -0.44594982266426086, 0.2445896416902542, -0.05237732082605362, 0.6958663463592529, -0.09856011718511581, -0.027115246281027794, -0.14243635535240173, -0.26353710889816284, -0.32685086131095886, -0.06571882218122482, 0.2666008174419403, 0.649942934513092, -0.4704037606716156, 0.028634965419769287, 0.2405042052268982, -0.7334205508232117, 0.3464234471321106, 0.20801258087158203, -0.03705852851271629, -0.15937425196170807, -0.2533285915851593, 0.18249298632144928, 0.17945517599582672, -1.2175637483596802, 0.682235598564148, -0.3407960832118988, 0.002728383056819439, -0.6062729358673096, 0.14305758476257324, 0.5462900400161743, 0.1294136792421341, 0.5535139441490173, -0.13968762755393982, 0.6403152942657471, -0.4623335301876068, 0.3131387233734131, 0.2753106951713562, 0.08491690456867218, -0.29806846380233765, 0.5812950134277344, 0.3422071635723114, -0.4356798231601715, 0.6041690111160278, -0.22441093623638153, -0.5549048185348511, 0.8498125672340393, 0.6714184880256653, 0.6429840922355652, -0.6470374464988708, -0.20717164874076843, 0.2174258679151535, 0.06185419112443924, -0.7492654919624329, 0.41587573289871216, 0.05016235262155533, -0.560093879699707, -0.3178510069847107, -0.35639631748199463, -0.8463807702064514, 0.40673312544822693, -0.3486957252025604, 0.1664624810218811, -0.38957977294921875, -0.09816723316907883, -0.18837112188339233, 0.4846794903278351, -0.5791351199150085, 0.2741026282310486, 0.4209790825843811, 1.0510921478271484, -0.36167699098587036, 0.75909423828125, 1.0452147722244263, -0.35108235478401184, -0.6107737421989441, 0.13247203826904297, 0.15634948015213013, -0.6486900448799133, 0.6831367611885071, 0.33933043479919434, -0.45966026186943054, -0.07576476037502289, -0.8201099634170532, -1.1793829202651978, 0.9984806776046753, 0.4236130714416504, -0.45492544770240784, -0.3172907531261444, 0.02454792521893978, 0.4463236331939697, -0.17614427208900452, 0.28154873847961426, 0.18990053236484528, 0.4330287575721741, 0.030900366604328156, -0.9456435441970825, 0.12266968935728073, -0.5500569343566895, 0.13648714125156403, -0.16001540422439575, -0.8989131450653076, 1.2254371643066406, 0.08429501205682755, -0.07000184804201126, 0.2579820454120636, 0.51669842004776, 0.605178713798523, 0.24328337609767914, 0.5500723719596863, 0.31489619612693787, 0.7290982604026794, 0.7514364719390869, 1.0113825798034668, -0.3473491966724396, 0.3740444779396057, 0.6860532760620117, -0.9746109247207642, 0.9821312427520752, 0.058906346559524536, -0.15854386985301971, 0.44996821880340576, 0.2692002058029175, -0.04278526455163956, 0.2001449316740036, 0.4586383104324341, -0.3605991303920746, -0.34593942761421204, 0.07595553249120712, -0.3462473154067993, 0.49399131536483765, 0.43634581565856934, -0.25234898924827576, -0.2767183482646942, -0.2306508868932724, 0.16076040267944336, 0.21444553136825562, -0.15444634854793549, 0.4148998260498047, -0.18447118997573853, -0.5191694498062134, 0.5515455603599548, 0.5890492796897888, 0.8332542777061462, -0.6105231642723083, -0.04712173715233803, -0.27538079023361206, 0.11364946514368057, -0.2022017240524292, -0.6798073649406433, -0.5113644599914551, 0.13872167468070984, -0.524341344833374, -0.05339774861931801, 0.9745115637779236, 0.06262160837650299, -0.0869809091091156, 0.558740496635437, 0.6914873719215393, 0.4199720323085785, -0.5038995742797852, -0.5436643958091736, 0.13548791408538818, 0.024382587522268295, -0.7262405753135681, 0.5991860032081604, 0.3614547848701477, -0.5047233700752258, 0.7149629592895508, 0.8457017540931702, -0.05897624418139458, 0.10523992776870728, -0.008178682997822762, 0.9641890525817871, -0.981295108795166, -0.6763221621513367, -0.711636483669281, -0.0629846379160881, -0.32281509041786194, 0.040916621685028076, 0.7977666854858398, 1.018225073814392, 0.6288473606109619, -0.22733095288276672, 1.06996750831604, 0.03295183926820755, 0.5731500387191772, -0.06099405512213707, 0.9365716576576233, -0.5716221332550049, -0.1530131846666336, 0.10671422630548477, -0.8773278594017029, -0.10217112302780151, 0.4108692705631256, 0.23479042947292328, 0.2725408673286438, 0.19010990858078003, 0.7646167278289795, -0.4696394205093384, -0.21885213255882263, 0.41530898213386536, 0.2366468608379364, 0.27716416120529175, 0.3300156593322754, 0.6468355655670166, -0.2604726552963257, 0.47305360436439514, -0.06842314451932907, -0.08460462838411331, -1.0187665224075317, -0.32666170597076416, -0.949479877948761, -0.3270038664340973, 0.3746829032897949, -0.43564584851264954, 0.04106313735246658, 1.0970383882522583, 0.8717274069786072, -0.5994952321052551, -0.6998258829116821, 0.18410678207874298, -0.16976000368595123, 0.07007413357496262, -0.18978184461593628, 0.1576595902442932, -0.08617917448282242, -0.7073430418968201, 0.5575690269470215, -0.08646684139966965, -0.09069531410932541, -0.42130574584007263, -0.40734127163887024, -0.19226709008216858, 0.09650539606809616, 0.6034501194953918, 0.7428156137466431, -0.6284663677215576, 0.06965503841638565, 0.40369534492492676, -0.6086426973342896, 0.006032231729477644, 0.7367533445358276, -1.1845496892929077, 0.4945966899394989, 0.47690582275390625, 0.6868970990180969, 0.5021756887435913, 0.34325724840164185, 0.692745566368103, -0.7597731351852417, 0.0015722924144938588, 0.04943060129880905, 0.3338873088359833, 0.2667710781097412, -0.6066400408744812, 0.635395348072052, 0.07836563140153885, -0.24604183435440063, -0.7968615889549255, 0.047773443162441254, -1.2427335977554321, -0.47674891352653503, 1.4554568529129028, 0.08240992575883865, -0.1461622714996338, 0.06467989832162857, -0.23090611398220062, 0.16092446446418762, -0.71996009349823, 0.6515881419181824, 0.6124582886695862, -0.024094214662909508, 0.22960616648197174, -0.6058060526847839, 0.1909194141626358, 0.09618953615427017, -0.6179102063179016, 0.16229766607284546, 0.5213913321495056, 0.4315420687198639, 0.16462910175323486, 0.703828752040863, 0.14857839047908783, 0.5878638625144958, -0.010637505911290646, 0.37345483899116516, -0.11348938941955566, -0.16066652536392212, 0.07005658000707626, 0.4061238169670105, 0.1537662297487259, 0.2418527901172638 ]
http://arxiv.org/abs/2402.17497v1
http://arxiv.org/pdf/2402.17497v1
REAR: A Relevance-Aware Retrieval-Augmented Framework for Open-Domain Question Answering
2024-02-27T13:22:51
2024-02-27T13:22:51
Yuhao Wang, Ruiyang Ren, Junyi Li, Wayne Xin Zhao, Jing Liu, Ji-Rong Wen
cs.CL
cs.CL, cs.IR
Considering the limited internal parametric knowledge, retrieval-augmented generation (RAG) has been widely used to extend the knowledge scope of large language models (LLMs). Despite the extensive efforts on RAG research, in existing methods, LLMs cannot precisely assess the relevance of retrieved documents, thus likely leading to misleading or even incorrect utilization of external knowledge (i.e., retrieved documents). To address this issue, in this paper, we propose REAR, a RElevance-Aware Retrieval-augmented approach for open-domain question answering (QA). As the key motivation, we aim to enhance the self-awareness of source relevance for LLMs, so as to adaptively utilize external knowledge in RAG systems. Specially, we develop a new architecture for LLM based RAG system, by incorporating a specially designed rank head that precisely assesses the relevance of retrieved documents. Furthermore, we propose an improved training method based on bi-granularity relevance fusion and noise-resistant training. By combining the improvements in both architecture and training, our proposed REAR can better utilize external knowledge by effectively perceiving the relevance of retrieved documents. Experiments on four open-domain QA tasks show that REAR significantly outperforms previous a number of competitive RAG approaches. Our code and data can be accessed at https://github.com/RUCAIBox/REAR.
[ -0.4543779790401459, -0.430263489484787, 0.45520249009132385, 0.05138397961854935, 0.024128897115588188, 0.17112527787685394, -0.18787534534931183, -0.36361414194107056, 0.2852309048175812, 0.41316139698028564, -0.4057334363460541, -0.32101693749427795, -0.3365532457828522, 0.1243365928530693, -0.23657843470573425, 0.8432343006134033, 0.1558665633201599, 0.00516451196745038, -0.47802677750587463, -0.49852433800697327, -0.7322843670845032, -0.4672052562236786, -0.5820596814155579, 0.12862394750118256, 0.5232467651367188, 0.2554033696651459, 0.4191906154155731, 0.1453140527009964, 0.4899964928627014, 0.2136659026145935, -0.02338753081858158, 0.21531203389167786, -0.7509946823120117, 0.4518831968307495, -0.7395474314689636, -0.3193420171737671, -0.3756618797779083, -0.18573793768882751, 0.7769007682800293, 0.34250539541244507, -0.061549294739961624, 0.40889987349510193, -0.1896371990442276, 0.6520631909370422, -1.0513617992401123, -0.21895107626914978, -0.8889409899711609, -0.365423321723938, -0.13389143347740173, -0.4986060857772827, -0.3482068181037903, -0.16266559064388275, -0.1624654084444046, -0.7366262674331665, 0.04491399973630905, 0.35645437240600586, 0.8298248052597046, 0.31985628604888916, -0.10038943588733673, -0.17451339960098267, -0.6322482824325562, 0.610032856464386, -0.5897126197814941, 0.9023417830467224, 0.32849037647247314, 0.5622789859771729, -0.07977817952632904, -0.7491761445999146, -0.6813241243362427, 0.22994907200336456, -0.01660507544875145, 0.44738924503326416, 0.09147991985082626, -0.32481780648231506, -0.09423699229955673, 0.5795847177505493, -0.6815113425254822, -0.06271862238645554, -0.1728685200214386, 0.04344668239355087, 0.31093668937683105, -0.07076121866703033, 0.1988678276538849, 0.1426176130771637, -0.3023786246776581, -0.006870393641293049, -0.8222464323043823, -0.01924811862409115, 0.10477396845817566, 0.611737847328186, 0.19138188660144806, 0.7035229206085205, -0.39012402296066284, 0.717028021812439, 0.33969783782958984, -0.11217828094959259, 0.1542205512523651, -0.34014418721199036, -0.16262175142765045, -0.2502887547016144, 0.3826506435871124, -0.06252646446228027, -0.19633546471595764, -0.4209314286708832, -0.34137511253356934, -0.5901059508323669, 0.658630907535553, -0.6951233148574829, 0.2726299464702606, 0.2132669985294342, -0.18641482293605804, 0.13325290381908417, 0.06343923509120941, -0.8572906851768494, -0.2815106511116028, -0.1648705005645752, 0.8433699011802673, -0.39175188541412354, -0.2069837749004364, -0.11007502675056458, 0.016603941097855568, 0.486404150724411, 0.33372169733047485, -0.5738860964775085, 0.097060427069664, 0.8278723955154419, 0.4112772047519684, -0.09315326064825058, -0.08687743544578552, -0.8912127614021301, 0.2925609350204468, -0.4140918254852295, 0.9344971179962158, -0.735266387462616, -0.37319549918174744, 0.11687476187944412, -0.15003374218940735, -0.049621693789958954, -0.5974178314208984, 0.6830103993415833, -1.3963731527328491, 0.5342733263969421, -0.24980933964252472, -0.26238957047462463, -0.11038552969694138, 0.5140876173973083, -0.30696746706962585, 1.0557918548583984, 0.40924015641212463, -0.8741737604141235, 0.20554697513580322, -0.20917527377605438, -0.28229036927223206, 0.14143462479114532, -0.12107988446950912, -0.3115442395210266, 0.03613179177045822, 0.28099119663238525, 0.15739639103412628, -0.2877344787120819, 0.029091544449329376, -0.09872802346944809, -0.47746995091438293, -0.05638355761766434, -0.021266376599669456, 0.3554746210575104, 0.20731128752231598, 0.20495590567588806, 0.029090406373143196, -0.6028860807418823, 0.07506395876407623, 0.09815113991498947, -0.43645942211151123, -0.7988115549087524, -0.41722872853279114, -0.6130790710449219, 0.07778584957122803, 0.4465850293636322, -0.537729799747467, 0.1583375781774521, -0.7446839809417725, -0.34323447942733765, 0.5827479362487793, 0.3464173674583435, 0.5991089940071106, -0.39689120650291443, 0.5101535320281982, -0.07447714358568192, -0.1603602021932602, -0.012885336764156818, -0.5072519183158875, -0.44888508319854736, -0.23499158024787903, 0.3205462396144867, 0.5503516793251038, -0.822781503200531, 0.19835498929023743, -0.33795809745788574, -0.16969065368175507, -0.5648087859153748, -0.030688317492604256, 0.6493647694587708, 0.7599159479141235, 0.6295503973960876, -0.24454672634601593, -0.5315473675727844, -0.42866915464401245, -0.4429517090320587, -0.07075893878936768, 0.06345203518867493, 0.6024309992790222, 0.26715368032455444, -0.16776150465011597, 1.099725365638733, -0.48913517594337463, -0.40359434485435486, 0.062352534383535385, -0.14915944635868073, 0.11157736927270889, 0.24010735750198364, 0.28785672783851624, -1.070178747177124, -0.4467356204986572, 0.0330299474298954, -0.6699075698852539, -0.17142605781555176, 0.23575285077095032, -0.5647230744361877, 0.1655678153038025, 0.340572714805603, -0.5533630847930908, 0.2572452127933502, 0.3046964704990387, -0.12817466259002686, 0.6872093677520752, -0.22383305430412292, 0.4442863166332245, -1.3280434608459473, 0.39236798882484436, -0.20075233280658722, -0.03909580409526825, -0.35283416509628296, 0.38372746109962463, 0.057008448988199234, -0.20079076290130615, -0.2797222435474396, 1.056448221206665, -0.40936753153800964, -0.5298966765403748, -0.3992329239845276, 0.5985704064369202, 0.1752929985523224, 0.5327189564704895, -0.06458871811628342, 1.418670892715454, 0.21955928206443787, -0.7217661142349243, -0.10632390528917313, 0.5671179890632629, 0.03265201672911644, 0.818313717842102, -0.20815590023994446, 0.07890605926513672, -0.2781696617603302, -0.021890468895435333, -0.9822269082069397, -0.199855238199234, 0.19629929959774017, -0.7308260202407837, 0.6442242860794067, -0.25501927733421326, -0.24572300910949707, -0.33067619800567627, -0.07897248864173889, 0.5407872796058655, 0.44429895281791687, -0.7080348134040833, 0.6928442716598511, 0.5161707997322083, -0.31599387526512146, -0.9755392670631409, -0.27596697211265564, -0.19010421633720398, -0.04370648041367531, -0.37889230251312256, 0.45090705156326294, -0.0841996893286705, -0.2963741421699524, -0.05992968752980232, -0.4767357110977173, -0.23089271783828735, -0.11381080001592636, 0.033996861428022385, 0.01562790386378765, -0.3225712776184082, 0.44324880838394165, 0.12253457307815552, 0.0031350268982350826, -0.22364018857479095, -0.44856834411621094, 0.3385685086250305, -0.09574992954730988, -0.33239877223968506, 0.04094051197171211, 0.24397166073322296, 0.2339925616979599, -0.7832768559455872, 0.725975513458252, 0.4936682879924774, -0.3313828706741333, -0.14085310697555542, -0.6190270185470581, -0.17958785593509674, -0.4718701243400574, 0.11868216097354889, -0.6214030385017395, -1.0136029720306396, 0.4795462489128113, -0.19979555904865265, 0.08116932213306427, 0.4657214283943176, 0.618852972984314, -0.0973963588476181, 0.5198962688446045, 0.6130561232566833, 0.1375923603773117, 0.33124345541000366, -0.04523753002285957, 0.2729896306991577, -1.333788514137268, -0.25132226943969727, -0.7763252854347229, 0.19002743065357208, -0.29477763175964355, -0.6021367907524109, 0.5109224915504456, 0.4173465371131897, -0.4688607156276703, 0.2416180819272995, -0.5499821901321411, 0.20911386609077454, 0.5462737083435059, 0.005500664934515953, 0.5121745467185974, -0.19339771568775177, -0.086066335439682, 0.22401943802833557, -0.71075040102005, -0.1738312840461731, 0.8686953783035278, -0.058587271720170975, 0.7234217524528503, 0.22834272682666779, 0.6731705069541931, 0.16029852628707886, 0.4289732575416565, -0.47115251421928406, 0.5219641923904419, -0.08586989343166351, -0.567655622959137, -0.2823292315006256, -0.43188002705574036, -1.0731122493743896, 0.373934805393219, -0.1350158005952835, -0.5564654469490051, 0.33147692680358887, 0.028068451210856438, -0.44996774196624756, 0.20401108264923096, -0.39333397150039673, 0.7726099491119385, -0.05176911875605583, -0.5159542560577393, -0.1041235476732254, -0.6214215755462646, 0.30697473883628845, -0.16506731510162354, 0.26382946968078613, 0.20797058939933777, -0.279350608587265, 0.6194109916687012, -0.15338706970214844, 0.4434528052806854, -0.13665896654129028, -0.40465402603149414, 0.5341646671295166, 0.19179998338222504, 0.47219592332839966, 0.3259492516517639, -0.28829023241996765, -0.1571331024169922, -0.02198674902319908, -0.14450478553771973, -0.7972888946533203, 0.8955310583114624, -0.5891242623329163, -0.9275356531143188, -0.30664145946502686, -0.6535758376121521, -0.733891487121582, 0.4234781563282013, -0.05798235535621643, 0.48238688707351685, -0.08358587324619293, 0.05155657231807709, 0.8249407410621643, -0.41545426845550537, 0.0377320870757103, 0.7903508543968201, -0.4797202944755554, -0.496359646320343, 1.09718656539917, -0.030036795884370804, 0.09828734397888184, 0.9181124567985535, 0.21959933638572693, -0.4699733555316925, -0.5449188947677612, -0.4490199685096741, 0.29355210065841675, -0.7170277833938599, -0.5431460738182068, -0.7043991684913635, -0.1656820923089981, -0.8322188258171082, -0.05520213395357132, -0.2213488072156906, -0.3607689142227173, -0.2099175900220871, 0.35574740171432495, 0.38324254751205444, 0.39663925766944885, 0.05337315797805786, 0.09451814740896225, -0.8236387372016907, 0.5686309337615967, 0.36567556858062744, 0.6974453926086426, -0.16545218229293823, -0.9729470610618591, -0.3560144603252411, 0.14457297325134277, -0.26882511377334595, -0.5947721004486084, 0.4068601727485657, 0.17681929469108582, 0.706586480140686, -0.04046459496021271, 0.27187079191207886, 0.46007096767425537, -0.4460332691669464, 0.589756190776825, -0.3251798748970032, -0.47155240178108215, 0.5263794660568237, -0.4932084381580353, 0.23276551067829132, 0.7046198844909668, 0.5489830374717712, -0.2666953504085541, -0.40454015135765076, -0.4414031207561493, -0.6970555186271667, 0.4296579658985138, -0.11423566937446594, -0.11452747136354446, -0.04211563244462013, 0.672075629234314, 0.1703273206949234, 0.3897154927253723, -0.2769424617290497, 0.01820017211139202, -0.19334450364112854, -0.21241135895252228, 0.2031211107969284, -0.17261531949043274, -0.12502805888652802, 0.0748741552233696, 1.0678058862686157, -0.3457968533039093, 0.5010536909103394, 0.36659660935401917, -0.06543336063623428, -0.19476427137851715, 0.3267320990562439, 0.43984001874923706, 0.784582257270813, -0.2933107614517212, -0.21820533275604248, 0.20005381107330322, -0.4161209166049957, -0.011930553242564201, 0.09369752556085587, -0.31499192118644714, -0.234201118350029, -0.06463681161403656, 0.38706082105636597, 0.22323232889175415, -0.7603663802146912, 0.5704977512359619, 0.07078820466995239, 0.18193688988685608, -0.20198020339012146, -0.06953427940607071, -0.06149984151124954, 0.42959654331207275, 0.5920817852020264, 0.0020524582359939814, 0.15453267097473145, -0.5301277041435242, 0.4101192057132721, 0.6410345435142517, -0.2468804121017456, -0.09166029840707779, 0.6827713847160339, 0.05501663312315941, -0.45715779066085815, 0.2547997534275055, -0.1507834941148758, -0.43970248103141785, 0.22011709213256836, 0.6065486073493958, 0.6430113315582275, -0.28978240489959717, -0.07162298262119293, 0.3632291257381439, -0.038347817957401276, 0.20765134692192078, 0.41224703192710876, 0.08473453670740128, -0.6471368074417114, -0.5817630290985107, -0.9024173021316528, -0.5243792533874512, -0.10798197984695435, -0.5964431166648865, 0.02537573128938675, -0.17882205545902252, 0.00975931715220213, -0.44954606890678406, 0.046895161271095276, -0.38944727182388306, 0.45343631505966187, -0.38784295320510864, 0.9995256662368774, 0.060984041541814804, 0.6328794956207275, 0.8476612567901611, -0.5909891724586487, -0.5167052149772644, 0.4366825222969055, -0.560050368309021, -0.8015233874320984, 0.7198294401168823, -0.12371953576803207, -0.3373016119003296, 0.2377714365720749, -0.1995418518781662, -1.0965572595596313, 1.0733634233474731, 0.20330841839313507, -0.07870730757713318, -0.10758320987224579, -0.26877108216285706, 0.6263834834098816, -0.26362547278404236, 0.18360523879528046, 0.0015465962933376431, 0.29612213373184204, 0.38982924818992615, -0.8087807297706604, -0.026597801595926285, 0.04028361663222313, -0.03414077311754227, 0.34843677282333374, -0.8533773422241211, 0.5193246006965637, -0.3851795792579651, -0.34616056084632874, 0.362984836101532, 1.035262107849121, 0.2906170189380646, 0.5118678212165833, 0.10555046796798706, 0.7585566639900208, 0.6409704089164734, 0.050591714680194855, 0.9940925240516663, -0.49919384717941284, 0.15757055580615997, 1.3604340553283691, -0.44122371077537537, 1.2441465854644775, 0.3628319203853607, 0.009570782072842121, 0.617206335067749, 0.27489879727363586, 0.43628743290901184, 0.7022013068199158, -0.03868689760565758, -0.33757656812667847, -0.23379531502723694, -0.0824216827750206, -0.5139567852020264, 0.3383652865886688, 0.36546891927719116, -0.08312375843524933, -0.32503247261047363, 0.26123738288879395, -0.4750975966453552, 0.4488981068134308, -0.5700888633728027, 0.9507859945297241, 0.059138644486665726, -0.867240309715271, 0.5940157771110535, 0.0672779306769371, 0.5129958987236023, -0.6225289702415466, -0.10455939173698425, -0.326243132352829, 0.13344517350196838, -0.043430961668491364, -0.930802583694458, 0.4926680624485016, -0.21955819427967072, -0.18790610134601593, -0.05654700845479965, 1.0529191493988037, -0.4073921740055084, -0.02986060455441475, 0.12374985963106155, 0.7593629360198975, 0.03251085430383682, -0.33682799339294434, -0.36309945583343506, -0.11054760962724686, -0.33700472116470337, -0.14560261368751526, 0.6801608800888062, 0.5760560631752014, -0.0932028517127037, 0.795803964138031, 0.5129918456077576, -0.20268525183200836, 0.05590450018644333, -0.05974269658327103, 0.9922413229942322, -0.4409065246582031, -0.42013540863990784, -0.041463401168584824, 0.23364882171154022, 0.05135923996567726, -0.14840875566005707, 0.8517845869064331, 0.690606415271759, 0.9393076300621033, -0.021015886217355728, 0.5019418597221375, -0.08691304922103882, 1.1610108613967896, -0.3500255346298218, 0.5661582946777344, -0.8877635598182678, 0.2691655457019806, -0.017305908724665642, -0.8033220171928406, -0.19882656633853912, 0.35443755984306335, -0.5478552579879761, 0.35237807035446167, 0.3800680637359619, 0.9156793355941772, -0.07092203199863434, 0.004905573558062315, 0.46883681416511536, 0.2141263335943222, -0.049012668430805206, 0.2864554226398468, 0.5563536286354065, -0.6050412654876709, 0.6504582762718201, -0.04367377609014511, -0.06599044799804688, -0.23158623278141022, -0.531594455242157, -0.5571225881576538, -0.7411728501319885, -0.058723580092191696, -0.5410251617431641, 0.46240562200546265, 0.476434588432312, 0.45628267526626587, -0.6994526982307434, 0.1590055525302887, 0.12931174039840698, 0.17835645377635956, -0.2741115689277649, -0.26983100175857544, 0.3985113799571991, -0.6942551136016846, -0.5511341691017151, 0.7224053740501404, 0.3236110806465149, -0.25127169489860535, -0.22636915743350983, -0.06510340422391891, -0.638708770275116, 0.19825997948646545, 0.7293617129325867, 0.6733987927436829, -0.39484065771102905, -0.41451624035835266, 0.11452221125364304, -0.20174355804920197, 0.259156733751297, 0.7783825397491455, -1.1846450567245483, 0.3923831284046173, 0.7112711668014526, 1.184101939201355, 0.18615686893463135, 0.4906034469604492, 0.4722011983394623, -0.9854657053947449, -0.1951475888490677, 0.4450189769268036, 0.1554941087961197, 0.31219547986984253, -0.6049208641052246, 0.6117688417434692, 0.3064686059951782, -0.7055090069770813, -0.7414681911468506, 0.15684011578559875, -0.9254144430160522, -0.33408868312835693, 1.1822477579116821, -0.17651426792144775, -0.1918201744556427, -0.11495354771614075, -0.2628858685493469, 0.27821964025497437, -0.2628658711910248, 0.6127074360847473, 0.062046218663454056, 0.07156385481357574, -0.21838943660259247, -0.3839941918849945, 0.2917231321334839, 0.3593279719352722, -0.8730037212371826, 0.09898185729980469, 0.38891661167144775, 0.15140090882778168, 0.35547664761543274, 0.6169218420982361, -0.32397475838661194, 0.2989492118358612, -0.17075714468955994, -0.08126690238714218, -0.11390358954668045, -0.474139004945755, -0.13545574247837067, 0.46567657589912415, 0.09764881432056427, -0.111394003033638 ]
http://arxiv.org/abs/2402.17496v2
http://arxiv.org/pdf/2402.17496v2
Emotional Voice Messages (EMOVOME) database: emotion recognition in spontaneous voice messages
2024-02-27T13:22:47
2024-06-13T13:09:48
Lucía Gómez Zaragozá, Rocío del Amor, Elena Parra Vargas, Valery Naranjo, Mariano Alcañiz Raya, Javier Marín-Morales
cs.SD
cs.SD, cs.AI, cs.CL, eess.AS, I.5.1; I.5.4; I.2.7
Emotional Voice Messages (EMOVOME) is a spontaneous speech dataset containing 999 audio messages from real conversations on a messaging app from 100 Spanish speakers, gender balanced. Voice messages were produced in-the-wild conditions before participants were recruited, avoiding any conscious bias due to laboratory environment. Audios were labeled in valence and arousal dimensions by three non-experts and two experts, which were then combined to obtain a final label per dimension. The experts also provided an extra label corresponding to seven emotion categories. To set a baseline for future investigations using EMOVOME, we implemented emotion recognition models using both speech and audio transcriptions. For speech, we used the standard eGeMAPS feature set and support vector machines, obtaining 49.27% and 44.71% unweighted accuracy for valence and arousal respectively. For text, we fine-tuned a multilingual BERT model and achieved 61.15% and 47.43% unweighted accuracy for valence and arousal respectively. This database will significantly contribute to research on emotion recognition in the wild, while also providing a unique natural and freely accessible resource for Spanish.
[ -0.36222487688064575, -0.7506246566772461, 0.40088316798210144, 0.7141970992088318, -0.18837417662143707, -0.06109850853681564, -0.3735949397087097, -0.4325858950614929, 0.5545138120651245, 0.32783806324005127, -0.7824914455413818, -0.8182963728904724, -0.3566080331802368, 0.27418917417526245, -0.3014950752258301, 0.6480002403259277, 0.21363237500190735, 0.3913019597530365, 0.10094942897558212, -0.18521279096603394, -0.3439953625202179, -0.5485032796859741, -0.5537630915641785, 0.07092946767807007, 0.4710642993450165, 0.662680983543396, 0.007598866242915392, 0.06382440775632858, 0.12044565379619598, 0.34073737263679504, -0.06092994660139084, -0.05093466117978096, -0.5171859264373779, 0.6102074384689331, 0.21886716783046722, -0.5863727331161499, -0.5972705483436584, -0.14250439405441284, 0.440483033657074, 0.020019792020320892, -0.4644385874271393, -0.0885571613907814, -0.12780511379241943, 0.5566814541816711, -0.5193167328834534, 0.01907302439212799, -0.5120394229888916, 0.5825427174568176, 0.04379810765385628, -0.30360788106918335, -0.5035610198974609, -0.6248205900192261, 0.27835559844970703, -0.154835507273674, -0.04740911349654198, 0.1450963169336319, 0.5063963532447815, 0.17822740972042084, -0.6575684547424316, -0.7075997591018677, -0.8946471810340881, 0.6493625044822693, -0.41796189546585083, 0.4364785850048065, 0.42990750074386597, 0.34037113189697266, -0.134467214345932, -0.1580173820257187, -0.47525474429130554, -0.16917169094085693, 0.32752087712287903, 0.441208153963089, -0.729293942451477, 0.15221373736858368, 0.08920896798372269, 0.3908120095729828, -0.4760400056838989, 0.3414459228515625, -0.07407142221927643, -0.13630501925945282, 0.47547125816345215, 0.4663325250148773, 0.4701439440250397, -0.21703201532363892, -0.24769404530525208, -0.16711071133613586, -0.5639530420303345, -0.023731820285320282, 0.4733829200267792, 0.18458522856235504, -0.2637884020805359, 0.6921421885490417, 0.08825048804283142, 0.4616553783416748, -0.0068919723853468895, -0.0638003721833229, 0.2434123009443283, 0.22708001732826233, -0.5363652110099792, 0.5011498332023621, 0.9293828010559082, 0.26097390055656433, -0.035481009632349014, 0.03680159151554108, -0.09452750533819199, -0.10157328099012375, 0.1690518856048584, -0.8289443254470825, 0.138437882065773, 0.640125572681427, -0.3390199840068817, -0.31720873713493347, -0.22539940476417542, -1.1705827713012695, -0.5270310044288635, -0.16805920004844666, 0.30843454599380493, -0.37644052505493164, -0.20161983370780945, -0.08402823656797409, 0.10326968133449554, -0.02587740309536457, 0.5795719623565674, -0.7882746458053589, 0.2560388147830963, 0.4137198030948639, 0.9200212955474854, 0.36258167028427124, 0.12974987924098969, -0.12163371592760086, -0.262585312128067, -0.15549829602241516, 0.5889433026313782, -0.466471403837204, -0.5865984559059143, 0.07832591235637665, 0.3153218626976013, -0.17147459089756012, -0.4977085590362549, 0.8014591336250305, 0.06320343911647797, 0.2187984734773636, -0.25862622261047363, -0.7171558141708374, -0.3582758903503418, 0.08090101927518845, -0.5874053239822388, 1.0663989782333374, -0.24126602709293365, -0.35724809765815735, 0.081741563975811, -0.3431317210197449, -0.1788967400789261, -0.13391296565532684, -0.3105323910713196, -0.34764713048934937, 0.33361709117889404, -0.030356889590620995, 0.726625382900238, -0.4163171947002411, -0.05244670808315277, -0.1690046191215515, 0.01264791190624237, 0.5310443639755249, -0.27944397926330566, 0.610282301902771, 0.3821221590042114, -0.5328552722930908, -0.11951218545436859, -0.9494844079017639, 0.012123921886086464, -0.025642871856689453, -0.24626654386520386, -0.3471853733062744, -0.06502652168273926, 0.12254338711500168, 0.4901885986328125, -0.018405288457870483, -1.0356940031051636, -0.0013261946151033044, -0.22001507878303528, 0.27124056220054626, 0.5431938767433167, -0.052399877458810806, 0.2720358967781067, 0.04754207655787468, 0.7625042796134949, 0.09219914674758911, 0.11624138057231903, -0.37094178795814514, -0.6563096642494202, -0.6464591026306152, -0.3748762905597687, -0.36008745431900024, 0.9818211793899536, 0.10772491991519928, 0.6070654392242432, -0.0020441915839910507, -0.9397401809692383, -0.8061928153038025, -0.1893148124217987, 0.40003976225852966, 0.5503573417663574, 0.0822124034166336, 0.20725278556346893, -0.7962436676025391, -0.9057444930076599, -0.08567887544631958, -0.35551396012306213, -0.13006432354450226, 1.1249127388000488, 0.24182423949241638, -0.29694992303848267, 0.6273354291915894, -0.3127191960811615, -0.39248836040496826, 0.023103218525648117, 0.5491818785667419, 0.07543659210205078, 0.3799871802330017, 0.6227299571037292, -0.48307856917381287, -0.37678855657577515, 0.1556054800748825, -0.8089657425880432, -0.4963947832584381, -0.006045708432793617, -0.11567173153162003, 0.10315648466348648, 0.08149164915084839, -0.40111014246940613, 0.3606798052787781, 0.6314393877983093, -0.37910205125808716, 0.0676131546497345, -0.0330493189394474, 0.740532636642456, -1.2272754907608032, -0.2954240143299103, 0.10351096838712692, -0.12191420048475266, -0.7263050079345703, -0.7547647356987, 0.10767335444688797, -0.23128516972064972, -0.8010205626487732, 0.23363329470157623, -0.48662206530570984, -0.2041102945804596, 0.0026737393345683813, 0.25179392099380493, -0.18983227014541626, 0.31388500332832336, -0.05717381462454796, 0.355146586894989, 0.6660184264183044, -0.3517034351825714, 0.8648547530174255, 0.5199162364006042, -0.1783381998538971, 0.9968758821487427, -0.5630019903182983, 0.49393853545188904, -0.192862868309021, 0.1488412320613861, -1.074353575706482, -0.26406562328338623, 0.05531312897801399, -0.5262671113014221, 0.2222413271665573, -0.24544982612133026, -0.13642771542072296, -0.21273553371429443, -0.13394831120967865, 0.023745324462652206, 0.5278627872467041, -0.5419997572898865, 0.8480313420295715, 0.6914752125740051, -0.42986610531806946, -0.2977231442928314, -0.8331647515296936, 0.23675985634326935, -0.31564876437187195, -0.7828091979026794, 0.029519101604819298, 0.22546258568763733, -0.13987098634243011, -0.08483227342367172, 0.16100701689720154, -0.1626613885164261, -0.031748395413160324, 0.9261351227760315, -0.04164279252290726, -0.1031435877084732, 0.36351174116134644, 0.2274370789527893, 0.4061344861984253, 0.1499338448047638, 0.10989370942115784, 0.5645999312400818, -0.4603038430213928, 0.045683130621910095, -0.5170719027519226, 0.5435601472854614, 0.7194016575813293, 0.22585387527942657, 0.9432759284973145, 0.6536449790000916, -0.7690094113349915, -0.2696917951107025, -0.6180402040481567, -0.016491906717419624, -0.3830499053001404, 0.24276192486286163, -0.32778188586235046, -1.0200486183166504, 0.981052577495575, -0.1624290943145752, -0.22228600084781647, 0.23015882074832916, 0.8064590096473694, -0.26253542304039, 1.2081612348556519, 0.2431817352771759, -0.07601488381624222, 0.4713168442249298, 0.17293226718902588, 0.010245868004858494, -0.6773087382316589, -1.0038729906082153, -1.0816166400909424, -0.3105754554271698, -0.5283958911895752, -0.19396670162677765, 0.23113484680652618, -0.34074166417121887, -0.03276539593935013, 0.19356858730316162, -0.41484275460243225, 0.23606081306934357, 0.14815303683280945, 0.1787051111459732, -0.1411849409341812, 0.07846853882074356, 0.024929579347372055, -0.48260989785194397, -0.35951074957847595, -0.7211704850196838, 0.8719038963317871, 0.33368372917175293, 0.9301825761795044, 0.303377628326416, 0.5548642873764038, 0.324813574552536, 0.2099904865026474, -0.8665894865989685, 0.5862986445426941, -0.06648507714271545, -0.6793675422668457, -0.08576728403568268, -0.606173038482666, -0.9557682871818542, 0.09373095631599426, -0.3623964190483093, -1.095842957496643, 0.42664870619773865, 0.028440777212381363, -0.2995220422744751, 0.18324407935142517, -0.7413005828857422, 0.7136589884757996, -0.44325682520866394, -0.1887771487236023, -0.14739878475666046, -0.5323094129562378, 0.24370825290679932, -0.05978835001587868, 0.1655196249485016, -0.5399580001831055, -0.044543758034706116, 1.0025032758712769, -0.6248050332069397, 0.8026764988899231, -0.12573015689849854, -0.20622409880161285, 0.34592297673225403, 0.1952023059129715, 0.3901746869087219, -0.016240067780017853, -0.0663863867521286, 0.10521109402179718, -0.2568912208080292, -0.14104340970516205, -0.4940109848976135, 0.8772051930427551, -0.9887462258338928, -0.16959236562252045, -0.3403657376766205, 0.07416784763336182, -0.1364215612411499, -0.01838567852973938, 0.4469127058982849, 0.4103294909000397, -0.7579779028892517, 0.34693560004234314, 0.6875109076499939, -0.7745169401168823, 0.12784284353256226, 0.8368002772331238, -0.13184690475463867, -0.6438381671905518, 0.6350235939025879, 0.1141444519162178, -0.06809762120246887, 0.4220440983772278, 0.09861460328102112, -0.3582511246204376, 0.13689330220222473, -0.26837095618247986, -0.050009116530418396, -0.7122112512588501, -0.1942070573568344, -1.21993887424469, 0.28726962208747864, -0.42037880420684814, -0.05784046649932861, -0.6009683012962341, -0.46522432565689087, -0.4266248047351837, -0.41213077306747437, 0.6934839487075806, 0.8317130208015442, -0.06081710383296013, 0.30109357833862305, -1.0850359201431274, 0.045073699206113815, 0.4180091917514801, -0.009865696541965008, -0.22916065156459808, -0.4885614514350891, -0.07426179200410843, 0.18252448737621307, -0.07159053534269333, -1.6397981643676758, 0.8299341201782227, 0.5814669132232666, 0.23245668411254883, 0.58668452501297, -0.00429524015635252, 0.5310216546058655, -0.3131285011768341, 0.7737091183662415, 0.09604267030954361, -1.220296859741211, 1.090720534324646, -0.35888350009918213, -0.11308779567480087, 0.3341973125934601, 0.48954689502716064, -0.7600919008255005, -0.29225337505340576, -0.6444916129112244, -0.9385848045349121, 0.7775272130966187, 0.5331586599349976, 0.2188236266374588, -0.06465782970190048, 0.1552060842514038, -0.007484623230993748, 0.3615032434463501, -0.2567231357097626, -0.3769613802433014, -0.1541294902563095, -0.48566558957099915, 0.2266865372657776, -0.3146582841873169, -0.0027038936968892813, -0.35946813225746155, 0.5979042649269104, 0.2923228144645691, 0.9543054103851318, 0.2642899751663208, -0.1052783876657486, -0.4274247884750366, 0.503363311290741, 0.677312433719635, -0.23180963099002838, -0.6821251511573792, 0.2145785689353943, 0.30250614881515503, -0.768587052822113, 0.4592647850513458, -0.17528077960014343, 0.32605603337287903, 0.2850431203842163, -0.0036024325527250767, 1.274099349975586, 0.3251364529132843, -0.8617083430290222, 0.47981634736061096, -0.4311927855014801, 0.07313574850559235, -0.6338436603546143, -0.16520053148269653, -0.03169392794370651, 0.13036738336086273, 0.4039077162742615, -0.031613074243068695, 0.3538624346256256, -0.6253894567489624, -0.0655231848359108, -0.07291191071271896, -0.5892104506492615, -0.6717803478240967, 0.6783807277679443, 0.43215715885162354, -0.2847905158996582, 0.7303926944732666, 0.05554597079753876, -0.7128153443336487, 0.9781977534294128, 0.48717209696769714, 1.2720727920532227, -0.838398814201355, 0.36522790789604187, 0.5577728152275085, 0.40554097294807434, 0.015044055879116058, 0.7465076446533203, 0.13607220351696014, -0.8415831327438354, 0.22380591928958893, -0.4384794533252716, -0.8452989459037781, -0.044302187860012054, -0.9357681274414062, 0.1832474172115326, -0.554871678352356, -0.4264424741268158, 0.01012287475168705, -0.32058948278427124, -0.7946412563323975, 0.45797669887542725, 0.35843977332115173, 0.5465443730354309, -1.2786104679107666, 0.4179714024066925, 0.9541007280349731, -0.1096561849117279, -0.8361730575561523, -0.746589720249176, 0.3999875485897064, -0.604578971862793, 0.48042577505111694, 0.259804904460907, -0.213423490524292, 0.017580877989530563, -0.5149072408676147, -0.38980528712272644, 0.960307240486145, 0.4492759704589844, -0.8435511589050293, 0.688187837600708, -0.07011179625988007, 0.8318499326705933, -0.6308482885360718, 0.6565143465995789, 0.37182605266571045, 0.3180241882801056, 0.01873188093304634, -0.770363986492157, -0.08162055164575577, -0.6686635613441467, -0.4692411422729492, 0.1958719789981842, -0.6883184313774109, 0.7233296036720276, 0.026669248938560486, -0.35509228706359863, -0.2576506733894348, 0.39056289196014404, 0.06508111208677292, 0.511186420917511, 0.48543182015419006, 0.6783630847930908, 1.1132806539535522, -0.3713815212249756, 0.842136800289154, -0.07317948341369629, 0.23998808860778809, 0.8341565132141113, -0.4745537340641022, 0.914006769657135, 0.08624459058046341, -0.2737995386123657, 0.41463932394981384, 0.7808500528335571, 0.1625073105096817, 0.17393086850643158, -0.07253047823905945, -0.6685938239097595, -0.12164688110351562, -0.3869032561779022, -0.3589472472667694, 0.4207008183002472, 0.6817455291748047, -0.5273631811141968, 0.4308655858039856, 0.5150637030601501, 0.29010313749313354, -0.3875860273838043, -0.1597871035337448, 0.8697571158409119, 0.22670908272266388, -0.28297847509384155, 0.4038451910018921, -0.2271367609500885, 0.4075395166873932, -0.1441088169813156, 0.23748904466629028, -0.2945138216018677, 0.03540962561964989, -0.5461245179176331, -0.6303285956382751, 0.04251120984554291, 0.569354772567749, 0.06624738872051239, -0.1732843518257141, 0.6154221892356873, -0.7070116400718689, -0.36075595021247864, 0.36168721318244934, 0.439458966255188, 0.6193379759788513, -0.05624578148126602, -0.6011215448379517, 0.20558200776576996, 0.03894270956516266, -0.3738171458244324, -0.006453399546444416, 0.9902505874633789, 0.4382748007774353, 0.6898899078369141, 0.3573499321937561, 0.26069724559783936, 0.43724849820137024, 0.31853219866752625, 0.6829105019569397, -0.883418619632721, -0.7941060066223145, -0.82496577501297, 0.3126417398452759, -0.2082289308309555, -0.4707035720348358, 0.9341702461242676, 0.5489564538002014, 0.22664380073547363, -0.21751795709133148, 0.6468947529792786, -0.020381668582558632, 0.4113488793373108, -0.3128703236579895, 0.40875014662742615, -0.5914803743362427, 0.15850308537483215, -0.7155545353889465, -0.9022420644760132, -0.10777419805526733, 0.7450072169303894, 0.011142155155539513, -0.10096991062164307, 0.38671228289604187, 0.8107293844223022, 0.3197547197341919, 0.49025294184684753, 0.3402232229709625, 0.5487680435180664, 0.09062075614929199, 0.7477419972419739, 1.193942904472351, -0.28525596857070923, 0.22312994301319122, -0.2269354611635208, -0.1966557502746582, -0.5332347750663757, -0.7783150672912598, -0.7677410840988159, -0.46846213936805725, -0.5288582444190979, -0.3700208067893982, -0.013827992603182793, 1.3699873685836792, 0.49634987115859985, -0.8954739570617676, -0.15771575272083282, 0.027626344934105873, -0.1255110800266266, 0.22185301780700684, -0.1773136407136917, -0.011963718570768833, 0.3349702060222626, -0.87496417760849, 0.5758272409439087, 0.5485626459121704, 0.4860144555568695, -0.004889515228569508, -0.3288830518722534, 0.12341234087944031, 0.4021015465259552, 0.4315052628517151, 0.465825617313385, -0.3275296986103058, 0.060637909919023514, 0.22001364827156067, -0.3314568102359772, 0.08266334235668182, 0.7816808819770813, -0.30970847606658936, 0.6468802094459534, 0.7125185132026672, 0.28771668672561646, 0.5467715263366699, -0.2144206166267395, 0.5660045146942139, -0.8465957045555115, 0.5361406803131104, 0.5035853981971741, 0.5612483024597168, 0.406011164188385, -0.5816701650619507, 0.37627488374710083, 0.03312226012349129, -0.6130321025848389, -1.083093285560608, -0.0969124436378479, -1.2268071174621582, 0.30083736777305603, 1.0036121606826782, -0.4316490888595581, -0.3059293329715729, -0.08443808555603027, -0.5613628625869751, 0.392560750246048, -0.8003973960876465, 0.5728415250778198, 0.7611352205276489, -0.1464124321937561, -0.4820261597633362, -0.49867233633995056, 0.42747998237609863, 0.5742024779319763, -0.9962381720542908, -0.2529686391353607, 0.7374317049980164, -0.08463118970394135, -0.05544118583202362, 0.5871821045875549, -0.10744225233793259, 0.1566842496395111, -0.02184463106095791, 0.43728017807006836, 0.3099389374256134, -0.2878134548664093, -0.6677119135856628, 0.17491886019706726, -0.43254005908966064, -0.17564737796783447 ]
http://arxiv.org/abs/2402.17493v4
http://arxiv.org/pdf/2402.17493v4
Predicting postoperative risks using large language models
2024-02-27T13:18:00
2024-05-05T04:07:44
Bing Xue, Charles Alba, Joanna Abraham, Thomas Kannampallil, Chenyang Lu
cs.CL
cs.CL, J.3; I.2.7
Predicting postoperative risk can inform effective care management & planning. We explored large language models (LLMs) in predicting postoperative risk through clinical texts using various tuning strategies. Records spanning 84,875 patients from Barnes Jewish Hospital (BJH) between 2018 & 2021, with a mean duration of follow-up based on the length of postoperative ICU stay less than 7 days, were utilized. Methods were replicated on the MIMIC-III dataset. Outcomes included 30-day mortality, pulmonary embolism (PE) & pneumonia. Three domain adaptation & finetuning strategies were implemented for three LLMs (BioGPT, ClinicalBERT & BioClinicalBERT): self-supervised objectives; incorporating labels with semi-supervised fine-tuning; & foundational modelling through multi-task learning. Model performance was compared using the AUROC & AUPRC for classification tasks & MSE & R2 for regression tasks. Cohort had a mean age of 56.9 (sd: 16.8) years; 50.3% male; 74% White. Pre-trained LLMs outperformed traditional word embeddings, with absolute maximal gains of 38.3% for AUROC & 14% for AUPRC. Adapting models through self-supervised finetuning further improved performance by 3.2% for AUROC & 1.5% for AUPRC Incorporating labels into the finetuning procedure further boosted performances, with semi-supervised finetuning improving by 1.8% for AUROC & 2% for AUPRC & foundational modelling improving by 3.6% for AUROC & 2.6% for AUPRC compared to self-supervised finetuning. Pre-trained clinical LLMs offer opportunities for postoperative risk predictions with unseen data, & further improvements from finetuning suggests benefits in adapting pre-trained models to note-specific perioperative use cases. Incorporating labels can further boost performance. The superior performance of foundational models suggests the potential of task-agnostic learning towards the generalizable LLMs in perioperative care.
[ 0.0492134690284729, -0.4753505289554596, 0.6873392462730408, -0.07333988696336746, -0.3114999234676361, 0.003778262296691537, -0.10431621968746185, -0.6046095490455627, 0.060151707381010056, 0.9209849238395691, -0.5264055132865906, -0.7537964582443237, -0.8911507725715637, -0.1211429014801979, -0.05394267663359642, 1.3189973831176758, -0.18224669992923737, 0.3166014850139618, -0.012055045925080776, 0.1493884027004242, -0.5648435354232788, -0.7801351547241211, -0.43532201647758484, -0.16624654829502106, 0.5520209074020386, 0.3289085030555725, 0.6094737648963928, 0.5003042817115784, 0.7464460730552673, 0.2410704642534256, 0.13271625339984894, -0.011930891312658787, -0.362235963344574, -0.2522754371166229, 0.03625469282269478, -0.5981821417808533, -0.2021801471710205, -0.22645708918571472, 0.3311510980129242, 0.8904741406440735, -0.42685121297836304, 0.008559650741517544, -0.0794440507888794, 0.6676928400993347, -0.5140025019645691, 0.13038015365600586, -0.7831510901451111, 0.3450087904930115, -0.08917007595300674, -0.45314034819602966, -0.16899557411670685, -0.3447937071323395, 0.3842735290527344, -0.5575135350227356, -0.2472677379846573, 0.08840687572956085, 0.4960325062274933, 0.390979140996933, -0.3923361301422119, -0.39750513434410095, -0.7332572340965271, 0.5437130331993103, -0.5569856762886047, 0.5706762075424194, 0.45207929611206055, 0.2988494038581848, 0.028953248634934425, -0.656631588935852, -0.041399504989385605, -0.29093265533447266, -0.04515281692147255, 0.15318050980567932, -0.18253453075885773, 0.39673227071762085, 0.3968462347984314, 0.3976077139377594, -0.4540042281150818, 0.26590457558631897, -0.47632619738578796, -0.26746925711631775, 0.5136222243309021, 0.276406466960907, 0.13026177883148193, 0.051486264914274216, -0.6365470886230469, 0.008737015537917614, -0.7963749766349792, 0.04484356567263603, 0.2708072364330292, 0.13633228838443756, -0.1702164262533188, 0.5519677400588989, -0.20325271785259247, 0.5449353456497192, 0.1342509239912033, -0.05380208417773247, 0.44011545181274414, -0.25526323914527893, -0.2235558032989502, 0.07545076310634613, 0.682320773601532, 0.3506786823272705, 0.704944908618927, -0.10257812589406967, -0.07642035186290741, 0.06610476970672607, 0.49127599596977234, -0.655796468257904, -0.42412418127059937, 0.0012802992714568973, -0.4928085207939148, -0.38047805428504944, -0.11867235600948334, -0.4254942536354065, -0.45169925689697266, -0.3193061351776123, 0.4296371042728424, -0.4769391119480133, -0.05776333063840866, 0.36231380701065063, 0.4700745940208435, 0.008805935271084309, 0.40414994955062866, -0.6236869096755981, 0.35401496291160583, 0.4141153395175934, 0.7423704266548157, -0.10321241617202759, -0.09944834560155869, -0.4967631995677948, 0.1742277890443802, -0.5917501449584961, 0.6728650331497192, -0.15918298065662384, -0.5159584879875183, 0.3125576972961426, 0.18893277645111084, -0.08412648737430573, -0.4148917496204376, 0.6857182383537292, -0.15504370629787445, -0.14892861247062683, 0.16965261101722717, -0.5542604923248291, -0.12324830144643784, -0.01609422266483307, -0.6649352312088013, 0.33804771304130554, 0.05382045730948448, -0.5956117510795593, 0.37695401906967163, -0.4251510798931122, -0.8466421961784363, -0.12000594288110733, -0.11175537109375, -0.6977285146713257, 0.1346329003572464, 0.3389585316181183, 0.8534247279167175, -0.07886795699596405, 0.2753526568412781, -0.10337141901254654, -0.07667297124862671, 0.2705092132091522, -0.18482623994350433, 0.22001798450946808, 0.23712463676929474, 0.001985788345336914, 0.22222992777824402, -0.4467996060848236, -0.17442235350608826, -0.1835072785615921, -0.21541844308376312, -0.09745568782091141, -0.027807192876935005, -0.08024389296770096, 0.34916359186172485, 0.18378353118896484, -0.5553743243217468, 0.06523346900939941, -0.49838659167289734, 0.328134685754776, 0.3526187241077423, 0.3394286036491394, 0.3370124399662018, -0.5440788865089417, 0.7279554009437561, -0.17308947443962097, 0.3835732638835907, 0.15010987222194672, -0.14137914776802063, -0.286803662776947, 0.11030822992324829, 0.23473115265369415, 0.8294349908828735, -0.6060044169425964, 0.2689540684223175, -0.20329535007476807, -0.6821425557136536, -0.3338557183742523, 0.06264090538024902, 0.6191167831420898, 0.5637266039848328, 0.3226603865623474, -0.2819890081882477, -0.7540584802627563, -0.8307818174362183, -0.1020897775888443, -0.23470567166805267, -0.10352708399295807, 0.5739302039146423, 0.17705991864204407, -0.5486515760421753, 0.016675064340233803, -0.9006572961807251, -0.6863541007041931, -0.24430958926677704, 0.15508882701396942, 0.3298523724079132, 0.49970129132270813, 0.23272690176963806, -0.43875250220298767, -0.38289499282836914, 0.3129449784755707, -0.5900945663452148, -0.040701888501644135, -0.19477789103984833, -0.06338424235582352, 0.46127551794052124, 0.7594875693321228, -0.37479692697525024, 0.4533465802669525, 0.7333402633666992, 0.22466878592967987, 0.47867754101753235, -0.3227185606956482, 0.14625120162963867, -0.8610726594924927, -0.0002167906059185043, 0.15067173540592194, -0.12124393880367279, -0.6669424772262573, -0.298697292804718, -0.05785856023430824, -0.32173243165016174, -0.5221300721168518, 0.23870714008808136, -0.5431761741638184, 0.31063005328178406, -0.019821319729089737, -0.4668363034725189, -0.20278142392635345, 0.2058921903371811, 0.4106126129627228, 0.3058749735355377, 0.6005234122276306, -0.49943023920059204, -0.18108364939689636, 0.15894576907157898, -0.638299822807312, -0.0004634857177734375, -0.7947989702224731, -0.11582959443330765, 0.26914557814598083, 0.2538740336894989, -1.03042733669281, -0.1161845326423645, -0.1289406567811966, -0.273069828748703, 0.7258452773094177, -0.20462462306022644, -0.2026701271533966, -0.43602871894836426, -0.057204388082027435, 0.16220252215862274, 0.3291275203227997, 0.14522989094257355, 0.5916413068771362, 0.4768591523170471, -0.6147022843360901, -0.41208961606025696, -0.667236328125, -0.0712263360619545, -0.15877950191497803, -0.27840131521224976, 0.22678616642951965, -0.21114090085029602, 0.08717931807041168, -0.1627683937549591, -0.18835046887397766, 0.0641494020819664, 0.15408430993556976, 0.4921761155128479, 0.43941572308540344, 0.03900755196809769, 0.41916030645370483, 0.042310625314712524, -0.15637342631816864, -0.11298590898513794, -0.3076629638671875, 0.5661052465438843, -0.13922737538814545, -0.04948621988296509, -0.4848394989967346, 0.3098001480102539, 0.41732004284858704, -0.19416801631450653, 0.7551842927932739, 0.7783307433128357, -0.6143297553062439, 0.20946185290813446, -0.9577447175979614, -0.25994187593460083, -0.2650543749332428, 0.4876365661621094, -0.20081058144569397, -0.9999062418937683, 0.6084489822387695, -0.24089522659778595, -0.08707093447446823, 0.44467490911483765, 0.6662343144416809, -0.3312811255455017, 0.73841392993927, 0.7051478028297424, -0.04955197498202324, 0.5307692885398865, -0.2929043173789978, 0.170828178524971, -0.739272952079773, -0.1837131679058075, -0.2933904230594635, 0.020368749275803566, -0.8545055389404297, -0.6894600987434387, 0.6080536246299744, 0.039192501455545425, -0.014507626183331013, 0.2634080946445465, -0.39204010367393494, 0.08788247406482697, 0.048525381833314896, 0.2615337669849396, 0.030883654952049255, 0.07577991485595703, -0.04078639671206474, 0.15953633189201355, -0.6410576701164246, -0.1317710280418396, 1.6587105989456177, 0.6166990399360657, 0.9997667670249939, -0.35929393768310547, 0.6915990114212036, 0.0691148117184639, 0.1996842473745346, -0.7340296506881714, 0.09436126053333282, -0.5099443197250366, -0.3798326551914215, -0.33501318097114563, -0.361734539270401, -0.8798208236694336, -0.20979520678520203, -0.5798243284225464, -0.566317081451416, -0.03903204947710037, 0.24476221203804016, -0.7346819043159485, 0.18697714805603027, -0.7109895348548889, 0.7427430152893066, -0.4765704572200775, -0.33112335205078125, -0.27515071630477905, -0.8922789692878723, 0.025405725464224815, -0.3625957667827606, 0.33278486132621765, 0.07355058193206787, -0.17894664406776428, 0.6060876846313477, -0.33954042196273804, 0.8000572323799133, 0.17669232189655304, -0.15612711012363434, 0.05583791062235832, -0.018716616556048393, 0.5988858342170715, 0.09085315465927124, -0.16518042981624603, 0.5906942486763, 0.24631479382514954, -0.0029244464822113514, -0.4337513744831085, 0.8768075108528137, -0.9044073820114136, -0.5264278650283813, -0.3884497284889221, -0.5573393702507019, -0.3774232864379883, -0.06019672378897667, 0.4068755805492401, 0.5635725855827332, -0.27986642718315125, 0.34822699427604675, 0.5905709862709045, -0.5024126172065735, -0.049161262810230255, 0.6482497453689575, 0.14056755602359772, -0.5126767158508301, 0.5500565767288208, 0.40751102566719055, 0.20627839863300323, 0.7935484051704407, 0.37655144929885864, -0.5548161268234253, -0.9321420788764954, -0.08686874061822891, 0.17482028901576996, -0.36567988991737366, -0.39383962750434875, -1.0032769441604614, -0.38248422741889954, -0.5315315127372742, -0.40274718403816223, -0.1200173944234848, -0.04549547657370567, -0.18950478732585907, -0.38039630651474, 0.3205493986606598, 0.4974348843097687, 0.008050577715039253, 0.37742456793785095, -0.802614688873291, 0.04909989982843399, 0.030334651470184326, 0.4020102322101593, -0.3857128322124481, -0.3758079409599304, -0.4836232364177704, -0.21102401614189148, -0.08100520074367523, -0.7647944688796997, 0.4276371896266937, 0.2575445771217346, 0.6271376013755798, 0.43472984433174133, 0.04105503112077713, 0.5826534628868103, -0.8063993453979492, 0.44426366686820984, 0.5279898643493652, -0.7377610802650452, 0.7293146848678589, -0.42150360345840454, 0.25676968693733215, 0.7021424174308777, 0.6825207471847534, -0.3937097191810608, 0.06389699131250381, -0.5513038635253906, -0.8245569467544556, 0.5279068946838379, -0.2527596056461334, -0.06363343447446823, -0.11414463818073273, 0.4411875605583191, 0.19682295620441437, 0.5675297379493713, -0.6847496032714844, 0.0523841418325901, 0.10877282172441483, -0.0955343022942543, -0.589042603969574, -0.28303012251853943, -0.2969713807106018, -0.17912575602531433, 0.41949892044067383, -0.3767738938331604, 0.1806638240814209, 0.2277267873287201, -0.12653762102127075, -0.47496455907821655, 0.2312641441822052, 0.5852621793746948, 0.6226682662963867, -0.21571294963359833, -0.11745993047952652, 0.4104691445827484, -0.38382357358932495, -0.24959686398506165, 0.28911834955215454, 0.3788764178752899, -0.3590715825557709, 0.6956272125244141, 1.0766496658325195, 0.3745926320552826, -0.6565049290657043, 0.4728719890117645, 0.05454353243112564, -0.22690686583518982, -0.5607491731643677, -0.1301233023405075, -0.06160920113325119, 0.07231957465410233, -0.0070413947105407715, 0.2727208137512207, 0.3252387046813965, -0.48134613037109375, 0.34925270080566406, 0.28847917914390564, -0.6692447662353516, -0.19245359301567078, 0.4628320336341858, 0.11869557946920395, 0.006478582043200731, 0.03380408510565758, 0.31497570872306824, -0.31303444504737854, 0.49584367871284485, 0.4530913531780243, 0.5530695915222168, -0.5092916488647461, 0.22523066401481628, 0.40505948662757874, 0.37657779455184937, -0.14429764449596405, 0.14594261348247528, 0.21611140668392181, -0.4716813862323761, -0.6065598130226135, -0.703313946723938, -0.12180139869451523, 0.15313686430454254, -0.5779026746749878, 0.3148258626461029, -0.6369052529335022, -0.1462099701166153, -0.20842565596103668, 0.23617932200431824, -0.8870965242385864, 0.41325268149375916, 0.3412002921104431, 0.6563124060630798, -0.9312225580215454, 0.7119359374046326, 0.9108678102493286, -0.20908787846565247, -1.1398131847381592, 0.15834994614124298, -0.019821403548121452, -0.7530435919761658, 0.31575292348861694, 0.21077097952365875, -0.024178961291909218, -0.2103917896747589, 0.0002934123913291842, -0.9439629316329956, 0.9426335096359253, 0.16762587428092957, -1.0037784576416016, -0.08205860108137131, 0.016944294795393944, 0.9045460820198059, -0.5691004395484924, 0.0920042023062706, 0.36236026883125305, 0.02195589803159237, 0.21821260452270508, -1.0515519380569458, -0.05867581441998482, 0.0930757150053978, -0.09181319177150726, 0.3672676086425781, -0.34303611516952515, 0.550495445728302, -0.6655953526496887, -0.0007974521140567958, 0.012818814255297184, 0.2730570137500763, -0.058630041778087616, 0.30043476819992065, 0.6293163299560547, 0.7470889687538147, 0.3859270513057709, -0.14702865481376648, 1.36162269115448, -0.43600019812583923, 0.05633895844221115, 0.865213930606842, -0.3372077941894531, 0.9117927551269531, 0.32110947370529175, -0.1790391355752945, 0.49742522835731506, 0.428088903427124, 0.17971304059028625, 0.6845363974571228, 0.3604631721973419, 0.05323700234293938, -0.3604063093662262, -0.23801982402801514, -0.454556405544281, 0.4791968762874603, 0.64216548204422, -0.42816904187202454, 0.27591344714164734, 0.2913915812969208, -0.008460789918899536, 0.06880108267068863, -0.5012189149856567, 1.1283906698226929, 0.2723354399204254, -0.8673582077026367, 0.6521314382553101, -0.37605491280555725, 0.4354341924190521, -0.7948506474494934, -0.05144822970032692, 0.20858609676361084, 0.41564151644706726, -0.38129550218582153, -0.7998056411743164, 0.26572591066360474, -0.45186296105384827, -0.056237395852804184, -0.11113099008798599, 0.7094963788986206, -0.6020540595054626, -0.8258365988731384, 0.47269752621650696, 0.3791218101978302, -0.12594076991081238, 0.012922270223498344, -0.5994474291801453, 0.2361501157283783, 0.09378739446401596, -0.022153019905090332, 0.3514203429222107, 0.38233646750450134, -0.21810045838356018, 0.6869516372680664, 0.6720712780952454, 0.5776503682136536, -0.3525589108467102, 0.20509997010231018, 0.8695374727249146, -0.06727628409862518, -0.43080443143844604, -0.4376334547996521, 0.3168509304523468, 0.3970017433166504, -0.3512153625488281, 0.34148693084716797, 0.16577064990997314, 0.8189885020256042, -0.3548927903175354, 0.5773249864578247, 0.4202449917793274, 0.6296156644821167, -0.7876189351081848, 0.6085849404335022, -0.6883424520492554, 0.10583126544952393, -0.700994610786438, -0.36991724371910095, -0.53790283203125, 0.5730227828025818, -1.0001630783081055, -0.16978542506694794, 0.6750662922859192, 0.6359299421310425, 0.24095021188259125, -0.4161011278629303, 0.5924476981163025, 0.20995715260505676, 0.09997106343507767, 0.7507969737052917, 0.5005543828010559, -0.2502000033855438, 0.44910186529159546, -0.21700818836688995, -0.3321073055267334, -0.5780354738235474, -0.6923168301582336, -0.7554717659950256, -0.30461087822914124, -0.41332751512527466, -0.1025572419166565, 0.344632089138031, 0.7500002980232239, 0.8648134469985962, -0.6909685134887695, -0.10030519962310791, 0.08193280547857285, -0.36871522665023804, -0.1971362978219986, -0.07250792533159256, 0.5686485171318054, -0.09742578119039536, -0.21416155993938446, 0.06538068503141403, 0.2719893753528595, 0.017474237829446793, 0.16515834629535675, 0.001461286679841578, -0.2747783064842224, -0.24619150161743164, 0.6202346086502075, 0.017177574336528778, -0.7607453465461731, -0.33483365178108215, 0.15440978109836578, -0.042546071112155914, -0.21773584187030792, 0.7711164355278015, -0.39969635009765625, 0.37370565533638, 0.19985727965831757, 0.7092441916465759, 0.44752851128578186, 0.032867930829524994, 0.5957416892051697, -0.5377628803253174, -0.016235368326306343, 0.41007599234580994, 0.6394625902175903, 0.2615606486797333, -0.8732181191444397, 0.44710037112236023, 0.04740196838974953, -0.7471615672111511, -0.43539127707481384, 0.27375367283821106, -0.9706550240516663, -0.07989392429590225, 1.0753414630889893, -0.3200860023498535, 0.22308483719825745, -0.020287882536649704, -0.2635374367237091, 0.42973724007606506, -0.35905489325523376, 0.5999364256858826, 0.5318591594696045, -0.3025088310241699, -0.1866120547056198, -0.7489289045333862, 0.7599087953567505, 0.5060631036758423, -0.7938808798789978, -0.21371492743492126, 0.49385547637939453, 0.5378214120864868, 0.21847017109394073, 0.628802478313446, -0.3227100372314453, 0.38214948773384094, -0.5203438401222229, 0.20498976111412048, -0.053962234407663345, -0.5720900893211365, -0.35924801230430603, 0.12081358581781387, 0.14950008690357208, -0.07337602227926254 ]
http://arxiv.org/abs/2402.17478v1
http://arxiv.org/pdf/2402.17478v1
Can GPT-4 Identify Propaganda? Annotation and Detection of Propaganda Spans in News Articles
2024-02-27T13:02:19
2024-02-27T13:02:19
Maram Hasanain, Fatema Ahmed, Firoj Alam
cs.CL
cs.CL
The use of propaganda has spiked on mainstream and social media, aiming to manipulate or mislead users. While efforts to automatically detect propaganda techniques in textual, visual, or multimodal content have increased, most of them primarily focus on English content. The majority of the recent initiatives targeting medium to low-resource languages produced relatively small annotated datasets, with a skewed distribution, posing challenges for the development of sophisticated propaganda detection models. To address this challenge, we carefully develop the largest propaganda dataset to date, ArPro, comprised of 8K paragraphs from newspaper articles, labeled at the text span level following a taxonomy of 23 propagandistic techniques. Furthermore, our work offers the first attempt to understand the performance of large language models (LLMs), using GPT-4, for fine-grained propaganda detection from text. Results showed that GPT-4's performance degrades as the task moves from simply classifying a paragraph as propagandistic or not, to the fine-grained task of detecting propaganda techniques and their manifestation in text. Compared to models fine-tuned on the dataset for propaganda detection at different classification granularities, GPT-4 is still far behind. Finally, we evaluate GPT-4 on a dataset consisting of six other languages for span detection, and results suggest that the model struggles with the task across languages. Our dataset and resources will be released to the community.
[ -0.560824990272522, -0.943468451499939, 0.5559840798377991, 0.24207456409931183, -0.3189280927181244, 0.018506305292248726, -0.30519095063209534, -0.5410176515579224, 0.010609469376504421, 0.4323410391807556, -0.24698902666568756, -0.4255654811859131, -1.0068100690841675, 0.4651561379432678, -0.5769426822662354, 1.2602696418762207, -0.2029396891593933, -0.24262268841266632, 0.23589394986629486, -0.01781395822763443, 0.2415488064289093, -0.49346908926963806, -0.6648007035255432, -0.24373503029346466, 0.6322916150093079, 0.220449298620224, 0.6220837235450745, 0.8222731947898865, 0.40577903389930725, 0.25349268317222595, 0.09793537855148315, 0.2372574806213379, -0.45053917169570923, -0.3434157073497772, -0.10453782975673676, -0.3125677704811096, -0.13846032321453094, 0.46388277411460876, 0.7876103520393372, 0.0736982673406601, 0.23571385443210602, 0.18875187635421753, 0.018478998914361, 0.3868403434753418, -0.36664915084838867, 0.18073709309101105, -0.6646215915679932, -0.1732603907585144, -0.7087417840957642, -0.13599734008312225, -0.2618497312068939, -0.17399491369724274, 0.03853311389684677, -0.5648053884506226, 0.33126309514045715, 0.18419991433620453, 1.0672290325164795, -0.009824290871620178, -0.5576441884040833, -0.4566690921783447, -0.6449990272521973, 0.7350135445594788, -0.4469694495201111, 0.24898703396320343, 0.42875662446022034, 0.019626310095191002, 0.1170821562409401, -0.7801586985588074, -0.6923465132713318, -0.14610682427883148, 0.011341093108057976, 0.02673681266605854, -0.5237124562263489, -0.14768622815608978, 0.24189725518226624, 0.3328215777873993, -0.7233728170394897, 0.10548161715269089, -0.6602091193199158, -0.6595074534416199, 0.3835862874984741, -0.21936434507369995, 0.37132760882377625, -0.4095326066017151, -0.6125604510307312, 0.08934736996889114, -0.6879813075065613, -0.4737666845321655, 0.8784161806106567, 0.009967515245079994, -0.09480713307857513, 0.6937251091003418, -0.12612108886241913, 0.7091082334518433, 0.019836431369185448, -0.28505751490592957, 0.24388115108013153, -0.31717702746391296, -0.08816301822662354, -0.07587193697690964, 0.97928786277771, 0.38646918535232544, 0.3760877251625061, 0.18096891045570374, -0.30914437770843506, 0.3903768062591553, 0.20978830754756927, -0.5186957716941833, -0.46330758929252625, -0.26422014832496643, -0.30161938071250916, -0.4386311173439026, -0.14997607469558716, -0.8118844628334045, -0.290188729763031, 0.10725420713424683, 0.5230916142463684, -0.518696129322052, -0.22170977294445038, 0.012994089163839817, -0.1437070518732071, 0.2941378355026245, 0.04009076580405235, -0.8122814893722534, 0.22857946157455444, 0.7054167985916138, 1.1327738761901855, -0.26961320638656616, -0.31023284792900085, -0.47026094794273376, -0.009654136374592781, -0.4966920018196106, 1.218130350112915, -0.6815336346626282, -0.00467686215415597, 0.2529047131538391, 0.02882940135896206, -0.09167342633008957, -0.37838175892829895, 0.8348866105079651, -0.5493212342262268, 0.34003397822380066, -0.3504778742790222, -0.5412194132804871, -0.039729103446006775, 0.5767436623573303, -1.0733249187469482, 0.8040682673454285, 0.3661206066608429, -0.9947988986968994, 0.32546183466911316, -0.3966464400291443, -0.4693548083305359, -0.08324645459651947, -0.09636477380990982, -0.7026869654655457, -0.03405218943953514, 0.4075835049152374, 0.359574556350708, -0.006961598061025143, -0.06387872248888016, -0.04195738956332207, -0.38810044527053833, 0.1698717474937439, -0.8747040033340454, 0.161738783121109, 0.3417621850967407, -0.17715638875961304, -0.12953956425189972, -0.45798438787460327, -0.43365147709846497, -0.032726600766181946, -0.49715718626976013, -0.37320762872695923, -0.239778071641922, 0.05146931856870651, 0.3355734348297119, 0.34067484736442566, -0.4008335471153259, 0.3194361627101898, -0.14679794013500214, 0.3199028968811035, 0.6856785416603088, 0.20309166610240936, 0.36665138602256775, -0.26130834221839905, 0.6326765418052673, 0.05191425606608391, 0.1301621049642563, -0.19634400308132172, -0.6312940120697021, -0.4985032081604004, -0.23958396911621094, 0.10256625711917877, 0.46443066000938416, -1.0262974500656128, -0.22852207720279694, -0.14710882306098938, -0.3321620523929596, -0.18783697485923767, 0.07017924636602402, 0.4412636160850525, 0.556620717048645, 0.4577544927597046, 0.07698559015989304, -0.6695159077644348, -1.2181199789047241, -0.6265156269073486, -0.2652031183242798, 0.03425988554954529, -0.3667232394218445, 0.6553366184234619, -0.08206956833600998, 0.5305448174476624, -0.4370003342628479, -0.4584639072418213, -0.46649327874183655, 0.542156994342804, -0.01453690230846405, -0.032320890575647354, 0.4305402636528015, -0.9654350876808167, -0.4974881708621979, -0.03728501871228218, -0.5351805686950684, -0.4273472726345062, -0.04651173576712608, 0.031173434108495712, 0.37619876861572266, 0.32884788513183594, -0.49561235308647156, 0.1260550171136856, 0.7707957625389099, -0.32354187965393066, 0.8308562636375427, 0.01908775046467781, 0.2564825117588043, -0.7864894270896912, -0.14677761495113373, 0.5303473472595215, -0.14043399691581726, -0.8705071210861206, -0.4580192565917969, 0.26400065422058105, 0.19063670933246613, -0.375828355550766, 0.45088329911231995, -0.3130171597003937, -0.06753600388765335, -0.2913627326488495, 0.12975595891475677, 0.2035788893699646, 0.26614537835121155, 0.019384516403079033, 0.928397536277771, 0.29199114441871643, -0.2579481601715088, 0.2523247301578522, 0.14282839000225067, -0.5070014595985413, 0.6873464584350586, -0.2394692599773407, -0.21416117250919342, 0.009603476151823997, 0.42887789011001587, -0.829179048538208, -0.5973871946334839, 0.672271192073822, -0.24273772537708282, 0.22433309257030487, -0.3311154246330261, -0.5458908677101135, -0.32720649242401123, -0.40386757254600525, 0.18866674602031708, 0.28148743510246277, -0.36485329270362854, 0.38059908151626587, 0.3231937885284424, -0.0337434783577919, -0.6611614227294922, -0.5232364535331726, 0.15521368384361267, -0.5085780024528503, -0.3735952377319336, 0.16108231246471405, 0.3662700057029724, -0.1585853099822998, -0.012536723166704178, -0.35841622948646545, -0.19958361983299255, -0.31453022360801697, -0.2043508142232895, 0.17215390503406525, -0.04437265917658806, 0.10991749167442322, -0.07882843911647797, -0.04552194103598595, 0.12617835402488708, -0.3086720407009125, 0.46608367562294006, -0.21682323515415192, -0.3453187048435211, -0.42302051186561584, 0.29372158646583557, 0.5865077376365662, -0.3469866216182709, 0.5193243026733398, 1.105421781539917, -0.16148506104946136, -0.021358607336878777, -0.7664318680763245, 0.05715946480631828, -0.4186513423919678, 0.5204450488090515, -0.22438599169254303, -0.7202271819114685, 0.42273619771003723, 0.008853066712617874, -0.13036814332008362, 0.7120972871780396, 0.47285139560699463, 0.20936109125614166, 1.106755256652832, 0.5083763003349304, -0.37007761001586914, 0.46502256393432617, -0.27507302165031433, 0.08229853957891464, -0.706660807132721, -0.1508042812347412, -0.3551993668079376, -0.16901570558547974, -0.528793215751648, -0.3787600100040436, 0.4596607983112335, -0.21116942167282104, -0.23628056049346924, 0.05447620898485184, -0.4620628356933594, 0.35031673312187195, 0.3352952003479004, -0.11727434396743774, 0.44526243209838867, 0.16263335943222046, 0.3896200656890869, 0.07589629292488098, -0.4638013243675232, -0.7699214220046997, 0.9724825024604797, 0.5066357254981995, 0.6211943626403809, -0.16040818393230438, 0.4389888048171997, 0.428540974855423, 0.7160962820053101, -0.6002647280693054, 0.4740769565105438, -0.21081392467021942, -0.6244628429412842, 0.007543659303337336, -0.3752981424331665, -0.8139363527297974, 0.22099368274211884, 0.059539545327425, -0.47859475016593933, -0.08857958763837814, 0.23880158364772797, -0.04961959645152092, 0.40789929032325745, -0.7668563723564148, 0.9442883133888245, -0.17109712958335876, -0.11010625213384628, 0.011675362475216389, -0.31463250517845154, 0.5675260424613953, -0.33510342240333557, 0.4448104798793793, -0.2794325351715088, -0.27476581931114197, 0.8635676503181458, 0.11121617257595062, 0.7246970534324646, -0.12349572032690048, -0.3457885682582855, 0.2148543745279312, -0.17504075169563293, 0.609978437423706, -0.06092797964811325, 0.13135188817977905, 0.1878904104232788, -0.14952075481414795, -0.3665968179702759, -0.21173128485679626, 0.7605369687080383, -0.7538180351257324, -0.5833457112312317, -0.5758938789367676, -0.46445319056510925, -0.01654989644885063, 0.2652439475059509, 0.64510178565979, 0.4990549683570862, -0.10625872761011124, -0.008359532803297043, 0.5626132488250732, -0.1104835495352745, 0.2758553922176361, 0.42373204231262207, -0.23099716007709503, -0.31396958231925964, 0.9809832572937012, 0.40800940990448, 0.2555958032608032, 0.11152574419975281, 0.10588488727807999, -0.42330560088157654, -0.6988486647605896, -0.3808458745479584, 0.3979651927947998, -0.6538895964622498, -0.16410543024539948, -0.4288344085216522, -0.0052558546885848045, -0.1442323625087738, -0.053445182740688324, -0.38133934140205383, -0.03535103425383568, -0.24330849945545197, -0.1947793960571289, 0.28332722187042236, 0.9064232707023621, -0.1215164065361023, 0.521097719669342, -0.46247342228889465, 0.4951070547103882, 0.04132893681526184, 0.3838433027267456, -0.6607507467269897, -0.5102487206459045, -0.5082775354385376, -0.05566655099391937, -0.40273532271385193, -1.1192165613174438, 0.5742104053497314, 0.059470321983098984, 0.3598572909832001, 0.6015045046806335, -0.050751086324453354, 0.42305824160575867, -0.5797441601753235, 0.9656988978385925, -0.13228139281272888, -0.715747058391571, 0.1743878424167633, -0.6271822452545166, 0.07893260568380356, 0.0614386647939682, 0.714719831943512, -0.40983596444129944, -0.6390628218650818, -0.5474055409431458, -0.635216474533081, 0.5540937781333923, 0.26092293858528137, 0.14759179949760437, -0.47176817059516907, 0.186642587184906, 0.06997030228376389, 0.11431729048490524, -0.8868729472160339, 0.02145317569375038, -0.4274660646915436, -0.19007116556167603, -0.09793228656053543, -0.3772831857204437, -0.24683265388011932, 0.16810937225818634, 0.7078719139099121, -0.2044186294078827, 0.35762590169906616, 0.2840283215045929, -0.1012786477804184, -0.11291738599538803, 0.23167161643505096, 0.6480439901351929, 0.7342877388000488, 0.09556184709072113, 0.35130739212036133, 0.010887164622545242, -0.735190212726593, 0.0022772233933210373, 0.3381305932998657, -0.00945900846272707, 0.15883807837963104, 0.6111778616905212, 0.664117157459259, 0.16604435443878174, -0.4188668131828308, 0.6837336421012878, 0.0990588590502739, -0.46893739700317383, -0.6178567409515381, -0.19784240424633026, -0.1706065684556961, 0.43434426188468933, 0.7189076542854309, -0.09134304523468018, 0.102935791015625, -0.44613245129585266, 0.32144826650619507, 0.5678020715713501, -0.06018685922026634, -0.6364142298698425, 0.5957570672035217, -0.01392589882016182, -0.0164143405854702, 0.3636764883995056, -0.11970777064561844, -0.779481053352356, 0.3778056204319, 0.5257557034492493, 0.4061463475227356, -0.30982252955436707, 0.54151451587677, 0.01001085713505745, 0.6504148840904236, -0.5423534512519836, 0.07495318353176117, 0.4223528206348419, -0.8341043591499329, -0.6834356188774109, -0.5224593877792358, -0.1948675662279129, 0.7903414368629456, -0.5138238072395325, 0.11418037116527557, -0.10210642218589783, -0.07719346880912781, 0.1396147459745407, 0.1392388641834259, -0.5007991194725037, 0.16718000173568726, 0.5182440876960754, 0.8604468703269958, -1.444059133529663, 0.8573400974273682, 0.4969644546508789, -0.3626188039779663, -0.6916102170944214, 0.26870056986808777, 0.2497311234474182, -0.6472183465957642, 0.40209946036338806, 0.4557674825191498, 0.040843259543180466, 0.15187615156173706, -0.7246390581130981, -0.7443845868110657, 0.7483639121055603, 0.34100401401519775, -0.1477614790201187, -0.17992627620697021, 0.20405535399913788, 0.5129995346069336, -0.3076973855495453, -0.05787979066371918, 0.8546836972236633, 0.8159486055374146, -0.18041157722473145, -0.8115027546882629, -0.2184567153453827, 0.023645058274269104, -0.19752274453639984, 0.32427114248275757, -0.607878565788269, 1.0237585306167603, 0.4261058568954468, -0.14626272022724152, -0.05912347882986069, 0.5040004849433899, 0.04017991945147514, 0.39909791946411133, 0.5050404071807861, 0.4352436065673828, 0.42567160725593567, -0.2925194203853607, 1.0614057779312134, -0.17448385059833527, 0.3641396164894104, 0.5187983512878418, -0.034511104226112366, 0.5762015581130981, 0.39648303389549255, 0.08359631896018982, 0.503566563129425, 0.5675970315933228, -0.20535989105701447, 0.4487290680408478, -0.17949871718883514, -0.4901542067527771, -0.05704926326870918, 0.08945277333259583, 0.013653848320245743, 0.4753049612045288, 0.6899173259735107, -0.5649471282958984, -0.413640558719635, 0.37660908699035645, 0.48359283804893494, 0.048031557351350784, -0.4779135584831238, 0.4579337239265442, -0.1049904152750969, -0.7392163872718811, 0.5631337761878967, 0.09502887725830078, 0.572854220867157, -0.7796819806098938, -0.026548603549599648, -0.11024057865142822, 0.18801337480545044, -0.12398959696292877, -0.8520599603652954, 0.41858741641044617, 0.077776700258255, 0.08855870366096497, -0.21124687790870667, 0.9638203382492065, -0.5414600372314453, -0.2761684060096741, -0.0035228251945227385, 0.5814778208732605, 0.2515614330768585, -0.27462342381477356, -0.47631537914276123, 0.4843118488788605, 0.06844580173492432, -0.7002277374267578, 0.39664018154144287, 0.5445812940597534, -0.2771978974342346, 0.5205858945846558, 0.6219581961631775, 0.13508488237857819, -0.025219477713108063, -0.15824970602989197, 0.8950492143630981, -0.24930919706821442, -0.2552022635936737, -0.9861931204795837, 0.07999058812856674, -0.29944106936454773, -0.12488660961389542, 1.0003107786178589, 0.6697832345962524, 0.9800832271575928, -0.16105933487415314, 1.0440181493759155, -0.008943001739680767, 0.4054478704929352, -0.5064921379089355, 0.5287860035896301, -0.2634102702140808, 0.16379182040691376, -0.2807765603065491, -0.7695987224578857, -0.4359387159347534, 0.6705940365791321, -0.6984987854957581, -0.12210577726364136, 0.7279849052429199, 0.7010130882263184, -0.1898023933172226, -0.11118526756763458, 0.2915555536746979, 0.31649571657180786, 0.46356073021888733, 0.26374638080596924, 0.8972697854042053, -0.0012533284025266767, 1.0211087465286255, -0.19894999265670776, -0.23749513924121857, -0.08904770016670227, -0.936670184135437, -0.90423184633255, -0.7288907170295715, -0.10753414034843445, -0.13120968639850616, 0.16938579082489014, 0.5023975968360901, 0.3943770229816437, -0.30822423100471497, 0.19736777245998383, 0.018298480659723282, -0.07180110365152359, -0.2712472677230835, -0.22684995830059052, 0.5044004321098328, -0.3045693635940552, -0.9382418990135193, 0.3048112988471985, 0.2777128219604492, -0.09020769596099854, -0.4763554632663727, 0.1761409044265747, -0.30892476439476013, 0.18951310217380524, 0.4802987575531006, 0.36939752101898193, -0.7057530879974365, -0.7166141271591187, -0.1773844212293625, 0.07583572715520859, -0.0327080637216568, 0.688100278377533, -0.6530709862709045, 0.24680151045322418, 0.18266727030277252, 0.3178061544895172, 0.39276018738746643, 0.3067970275878906, 0.35519152879714966, -1.0607022047042847, 0.09408687800168991, 0.10313963145017624, 0.2966057360172272, 0.4831984341144562, -0.32633519172668457, 0.38118669390678406, 0.3744805157184601, -0.8424155712127686, -0.6761304140090942, 0.319389671087265, -0.6801024675369263, -0.06892877072095871, 1.5136915445327759, -0.2634170353412628, -0.20595286786556244, -0.3879305422306061, -0.39612114429473877, 0.37013569474220276, -0.41698378324508667, 0.6921464800834656, 0.8977590203285217, -0.15932582318782806, -0.3583270311355591, -0.8937640190124512, 0.7383118271827698, -0.14552122354507446, -0.6279399394989014, -0.014267200604081154, 0.7946957349777222, 0.5328296422958374, 0.2137179672718048, 0.6417574882507324, 0.0012462146114557981, 0.03586069494485855, -0.164383202791214, -0.37047621607780457, -0.18535126745700836, -0.2947920560836792, -0.10554230213165283, 0.35612887144088745, -0.20977118611335754, -0.13965022563934326 ]
http://arxiv.org/abs/2402.17463v2
http://arxiv.org/pdf/2402.17463v2
Training-Free Long-Context Scaling of Large Language Models
2024-02-27T12:39:23
2024-05-29T05:44:58
Chenxin An, Fei Huang, Jun Zhang, Shansan Gong, Xipeng Qiu, Chang Zhou, Lingpeng Kong
cs.CL
cs.CL
The ability of Large Language Models (LLMs) to process and generate coherent text is markedly weakened when the number of input tokens exceeds their pretraining length. Given the expensive overhead of finetuning large-scale models with longer sequences, we propose Dual Chunk Attention (DCA), which enables Llama2 70B to support context windows of more than 100k tokens without continual training. By decomposing the attention computation for long sequences into chunk-based modules, DCA manages to effectively capture the relative positional information of tokens within the same chunk (Intra-Chunk) and across distinct chunks (Inter-Chunk), as well as integrates seamlessly with Flash Attention. In addition to its impressive extrapolation capability, DCA achieves performance on practical long-context tasks that is comparable to or even better than that of finetuned models. When compared with proprietary models, our training-free 70B model attains 94% of the performance of gpt-3.5-16k, indicating it is a viable open-source alternative. All code and data used in this work are released at \url{https://github.com/HKUNLP/ChunkLlama}.
[ -0.2771061062812805, -0.6709014773368835, 0.6389859318733215, 0.531389594078064, -0.6759850382804871, -0.18756787478923798, -0.5150617361068726, -0.6288865208625793, 0.19455213844776154, 0.42849868535995483, -0.4461837112903595, -0.190603107213974, -0.5884056091308594, -0.06101042404770851, -0.5386434197425842, 0.8116769194602966, 0.0007890281267464161, -0.020366886630654335, -0.06610139459371567, -0.06274957954883575, -0.5292508006095886, -0.3568738102912903, -0.8918384909629822, -0.028819503262639046, 0.7185286283493042, 0.2742363512516022, 0.40687042474746704, 0.7714239954948425, 0.43196216225624084, 0.2605220079421997, -0.33344000577926636, 0.05105876550078392, -0.553022563457489, 0.030615314841270447, -0.22455258667469025, -0.364265501499176, -0.8190381526947021, -0.17971114814281464, 0.8813987970352173, 0.44078874588012695, 0.008337710984051228, 0.3264121413230896, 0.08860006928443909, 0.847274899482727, -0.4534206986427307, 0.27486222982406616, -0.8885458111763, -0.23976144194602966, -0.3000662624835968, -0.0005656667053699493, -0.5210602879524231, 0.17761974036693573, 0.14878065884113312, -0.4111308157444, 0.13534563779830933, -0.07150690257549286, 0.558150589466095, 0.43299975991249084, -0.6590330004692078, -0.10756540298461914, -0.42928802967071533, 0.8356688618659973, -0.600174605846405, 0.22216320037841797, 0.27277320623397827, 0.20737943053245544, -0.049507420510053635, -0.5761691927909851, -0.4100051522254944, -0.0780278667807579, 0.23883822560310364, -0.2143847942352295, -0.03821055218577385, 0.17703649401664734, 0.13579173386096954, 0.4746544361114502, -0.44444552063941956, 0.18994243443012238, -0.4720941483974457, -0.01119988039135933, 0.5297238230705261, 0.011609562672674656, 0.13374216854572296, 0.15654298663139343, -0.5189098119735718, -0.03446643427014351, -0.9163128137588501, -0.1406628042459488, 0.13806188106536865, 0.49358069896698, -0.3717277944087982, 0.44143810868263245, -0.2565575838088989, 0.7491331100463867, 0.33893021941185, -0.02681613713502884, 0.09719991683959961, -0.2807864546775818, -0.47481945157051086, 0.11426272243261337, 0.637834370136261, 0.19537782669067383, 0.15260092914104462, -0.26103514432907104, -0.11916244029998779, -0.011523202061653137, 0.3545801341533661, -0.8718796968460083, 0.194291889667511, 0.5007281303405762, -0.12145448476076126, 0.006806476972997189, -0.26150643825531006, -0.7618662118911743, -0.23131242394447327, -0.5751673579216003, 0.19511522352695465, -0.07993953675031662, -0.3340606689453125, -0.018292032182216644, 0.1747240424156189, 0.20377254486083984, 0.43760260939598083, -1.0860689878463745, 0.0151382926851511, 0.8042846918106079, 1.0757092237472534, -0.35024964809417725, -0.23506779968738556, -0.6501321792602539, 0.304936945438385, -0.33287313580513, 0.8001706600189209, -0.36376678943634033, -0.07275344431400299, -0.017440490424633026, 0.07630960643291473, 0.13652895390987396, -0.6572920083999634, 0.07468365132808685, -0.7630653381347656, -0.202421173453331, -0.18855425715446472, -0.3208504617214203, -0.18951334059238434, 0.21298564970493317, -0.7275489568710327, 0.9932340383529663, 0.24979962408542633, -0.6923936605453491, 0.3856833279132843, -0.4146527051925659, -0.5759406685829163, 0.0399068184196949, 0.006019434425979853, -0.09415694326162338, 0.289685994386673, 0.1894340217113495, 0.5719010829925537, -0.37712404131889343, 0.5003507137298584, -0.42703545093536377, -0.38523125648498535, -0.10253629833459854, -0.5145881772041321, 0.5019176602363586, 0.04815319553017616, -0.6035256385803223, 0.4897081255912781, -0.7981374859809875, -0.10241539031267166, 0.10201840102672577, -0.6720690131187439, -0.3098795413970947, -0.2144240140914917, 0.27558818459510803, 0.38629570603370667, 0.37269100546836853, -0.3061542510986328, 0.15659959614276886, -0.44064319133758545, 0.5158501267433167, 0.9097946882247925, -0.5384902358055115, 0.42531710863113403, 0.027719363570213318, 0.45187655091285706, 0.22507457435131073, -0.1476827710866928, -0.21137188374996185, -0.24595189094543457, -0.8845561146736145, -0.5455005764961243, 0.2128789871931076, 0.1700170785188675, -0.4153294861316681, 0.5146787762641907, -0.5067678093910217, -0.21927446126937866, -0.45361828804016113, 0.2587748169898987, 0.3297971785068512, 0.2494306117296219, 0.4789304733276367, -0.7020937204360962, -0.4753706753253937, -0.8501948118209839, 0.10239089280366898, 0.026226796209812164, -0.19155319035053253, 0.15307600796222687, 0.3065633475780487, -0.20694157481193542, 0.9285446405410767, -0.2772631347179413, -0.41987404227256775, -0.44632604718208313, -0.20994600653648376, -0.010295231826603413, 0.28283360600471497, 0.26559069752693176, -0.6848902702331543, -0.5679909586906433, -0.009050731547176838, -0.4102366864681244, 0.03060324117541313, -0.08307318389415741, -0.17843450605869293, 0.46431368589401245, 0.5551560521125793, -0.6270552277565002, 0.22841483354568481, 0.9411800503730774, -0.3536017835140228, 0.4607868194580078, -0.09785207360982895, -0.23499415814876556, -1.4279145002365112, 0.3636913001537323, 0.021679053083062172, -0.5404656529426575, -0.5634446144104004, 0.22520819306373596, 0.4680896997451782, 0.11742629110813141, -0.77568519115448, 0.812958300113678, -0.700588583946228, -0.17524681985378265, -0.5942760109901428, 0.31412118673324585, -0.10445640236139297, 0.6290891170501709, 0.24080964922904968, 0.9090238213539124, 0.4336218535900116, -0.567631721496582, 0.2167709469795227, -0.1620146632194519, -0.4928622245788574, 0.41959431767463684, -0.7271808981895447, 0.31002265214920044, -0.10136646032333374, 0.626981794834137, -0.9916685819625854, -0.41875848174095154, -0.09299764782190323, 0.05056115612387657, 0.6894809007644653, -0.20506742596626282, -0.4384286105632782, -0.38659408688545227, -0.3709792196750641, 0.7832732200622559, 0.3543549180030823, -0.7218814492225647, 0.3466702401638031, 0.512527346611023, -0.20178665220737457, -0.6986427903175354, -0.6822282671928406, 0.2174796760082245, -0.32047387957572937, -0.541276752948761, 0.10989228636026382, -0.13287633657455444, -0.08509226143360138, -0.3097228705883026, -0.15669234097003937, -0.14804208278656006, -0.02430051565170288, 0.2831374704837799, 0.16880396008491516, -0.1554141789674759, 0.12881998717784882, 0.183290034532547, 0.029011892154812813, -0.10620175302028656, -0.3562728762626648, 0.8994200229644775, -0.011571657843887806, -0.083293616771698, -0.5498303174972534, 0.38292285799980164, 0.7850243449211121, -0.202515110373497, 0.8312748670578003, 0.49074381589889526, -0.2527667284011841, -0.28834623098373413, -0.6080968976020813, 0.008284689858555794, -0.4878690242767334, 0.7315000891685486, -0.25689399242401123, -1.1593807935714722, 0.3824545443058014, 0.18123508989810944, -0.0027602945920079947, 0.4354570508003235, 0.9107494950294495, 0.43709152936935425, 0.7641496658325195, 0.7862938642501831, -0.485440194606781, 0.5693625211715698, -0.03408633545041084, -0.04352244734764099, -1.1844013929367065, -0.027228476479649544, -0.17733411490917206, -0.2878207564353943, -0.04612097889184952, -0.8993783593177795, 0.15478743612766266, 0.04679849371314049, -0.15795858204364777, 0.31223446130752563, -0.4581568241119385, 0.6510651111602783, 0.4078643321990967, -0.11881858855485916, 0.2437441200017929, 0.013884483836591244, 0.15365146100521088, 0.38743680715560913, -0.4251427948474884, -0.37806129455566406, 1.220797061920166, 0.5306190252304077, 0.7384974360466003, 0.03703365474939346, 0.4293108284473419, -0.04577241092920303, 0.44789910316467285, -0.9735830426216125, 0.5404913425445557, -0.10172572731971741, -0.8521140813827515, -0.38219884037971497, -0.4267781674861908, -0.7605571150779724, 0.4917686879634857, 0.48266130685806274, -0.7494761347770691, -0.19426260888576508, 0.24742069840431213, -0.38900837302207947, 0.3693045973777771, -0.6706770658493042, 0.731108546257019, 0.08012991398572922, -0.4132833182811737, -0.5056201815605164, -0.7001605033874512, 0.5623406767845154, -0.3477543294429779, 0.17520390450954437, -0.33021074533462524, -0.09929937869310379, 0.7286815643310547, -0.09352052211761475, 1.129259705543518, -0.07101795077323914, -0.6121647357940674, 0.4877999722957611, -0.1293698102235794, 0.5633114576339722, 0.18727648258209229, 0.23822717368602753, 0.14515557885169983, 0.0016297014662995934, -0.5165127515792847, -0.04530609771609306, 0.8508139848709106, -0.5676233768463135, -0.6125357151031494, -0.3936273753643036, -0.9078947901725769, -0.24980191886425018, 0.30690982937812805, -0.029572386294603348, 0.46602287888526917, -0.11791098862886429, 0.27537739276885986, 0.5746368169784546, 0.07218607515096664, 0.6233952045440674, 0.39095115661621094, -0.03995540738105774, -0.3801749646663666, 0.5953460335731506, 0.060023605823516846, 0.48067110776901245, 0.4906156063079834, -0.11575780063867569, -0.35271644592285156, -0.572959840297699, -0.6812761425971985, 0.4630557894706726, -0.5907844305038452, -0.31219246983528137, -0.6673246026039124, 0.01902436651289463, -0.512712299823761, -0.028556281700730324, -0.5521936416625977, -0.3569715917110443, -0.4797767996788025, 0.0004108409339096397, 0.03695838153362274, 0.7324172854423523, 0.08320958912372589, 0.28434163331985474, -0.6883475184440613, 0.20301975309848785, 0.5295953154563904, 0.3439386785030365, 0.45902344584465027, -0.6791770458221436, -0.5764404535293579, -0.06861267983913422, -0.24972465634346008, -0.48513472080230713, 0.41046038269996643, 0.022327451035380363, -0.054057277739048004, 0.4774566888809204, -0.25124356150627136, 0.767428457736969, -0.7967430353164673, 0.8532159924507141, 0.3259374797344208, -0.970393717288971, 0.17679060995578766, -0.5014830231666565, 0.749197244644165, 0.5489354729652405, 0.15325069427490234, -0.6061742305755615, -0.39253735542297363, -0.17191046476364136, -1.10470712184906, 0.9444694519042969, -0.30320245027542114, 0.32453250885009766, -0.1845972239971161, 0.4447559416294098, 0.1253790259361267, 0.12913595139980316, -0.6617108583450317, 0.023593734949827194, 0.11017730832099915, -0.39747047424316406, -0.317952036857605, -0.6816669702529907, -0.22964546084403992, -0.07936354726552963, 0.6445788145065308, -0.5142458081245422, 0.19473223388195038, 0.12018068879842758, -0.2565709352493286, -0.17046219110488892, 0.30163541436195374, 0.8268826603889465, 0.7842687368392944, -0.07455474138259888, 0.34537070989608765, 0.24342888593673706, -0.6318683624267578, 0.2090791016817093, 0.014329595491290092, 0.040108129382133484, -0.41435813903808594, 0.34253939986228943, 0.7179158329963684, 0.29091426730155945, -0.899273157119751, 0.38492679595947266, -0.035595428198575974, 0.04868113994598389, -0.15799887478351593, -0.1133742406964302, 0.4538221061229706, 0.3309207260608673, 0.3725346326828003, -0.4449034333229065, -0.031284645199775696, -0.529361367225647, 0.1611941009759903, 0.48808082938194275, -0.6707454323768616, -0.6782296895980835, 0.8093959093093872, 0.2681082785129547, 0.17128753662109375, 0.5295798182487488, 0.004059650003910065, -0.24437347054481506, 0.7937338948249817, 0.7975730299949646, 0.928141176700592, -0.11394968628883362, -0.029194556176662445, 0.26504433155059814, 0.16504831612110138, -0.3652540445327759, -0.017120573669672012, -0.16166388988494873, -0.318172812461853, -0.7012444138526917, -0.8422612547874451, -0.24708835780620575, 0.32953155040740967, -0.5775126814842224, 0.13784795999526978, -0.45948413014411926, -0.13377486169338226, -0.2786310315132141, -0.030056454241275787, -0.509763240814209, 0.3449477255344391, 0.3920169174671173, 1.0369715690612793, -0.5113638639450073, 1.2632101774215698, 0.5104430913925171, -0.08761106431484222, -0.7646023035049438, 0.10145396739244461, -0.022056203335523605, -0.7903856635093689, 0.47456949949264526, 0.7526745796203613, -0.023474665358662605, -0.062456704676151276, -0.3357371389865875, -1.094366192817688, 1.2037887573242188, 0.4483303129673004, -0.9146695733070374, -0.2830915153026581, 0.003688654163852334, 0.4085814654827118, -0.2593678832054138, -0.004370420705527067, 0.536848783493042, 0.11254379898309708, 0.01079182792454958, -1.082502841949463, 0.22583188116550446, 0.12933559715747833, 0.04960458725690842, 0.30706799030303955, -1.2826077938079834, 0.7692942023277283, -0.1941598355770111, -0.2705683708190918, 0.09659890830516815, 0.9752398133277893, 0.14602437615394592, 0.05280667915940285, 0.5279104709625244, 0.6716819405555725, 0.5632524490356445, 0.1812983602285385, 1.037135362625122, -0.3420274257659912, 0.44448891282081604, 1.2804784774780273, -0.31453973054885864, 1.0658798217773438, 0.7696075439453125, -0.25487497448921204, 0.3211687207221985, 0.6363275051116943, 0.4761541485786438, 0.5889626145362854, 0.27286168932914734, -0.38509270548820496, -0.16369369626045227, -0.01721942238509655, -0.38287442922592163, 0.19143350422382355, 0.10562330484390259, -0.31181827187538147, -0.019933389499783516, -0.21715499460697174, 0.1367311328649521, -0.3771273195743561, -0.4662140905857086, 0.6316490173339844, 0.3907128572463989, -0.7310904860496521, 0.6364662051200867, 0.10530418157577515, 0.8808040618896484, -0.7685737609863281, 0.42675355076789856, -0.3791691064834595, 0.29980844259262085, 0.06294452399015427, -0.3633406460285187, 0.31136152148246765, 0.1508236974477768, -0.2944333553314209, -0.02010492794215679, 0.32786825299263, -0.7223408818244934, -0.3716253340244293, 0.4049380123615265, 0.02535228431224823, 0.05502401664853096, -0.4471292197704315, -0.2777997851371765, 0.2102234661579132, -0.08057332038879395, -0.6052769422531128, 0.8564324378967285, 0.3253669738769531, -0.11196906119585037, 0.619694173336029, 0.445273220539093, 0.020686697214841843, 0.2591204345226288, -0.0071620699018239975, 0.9323559403419495, -0.627804696559906, -0.5524991154670715, -0.8944421410560608, 0.3826447129249573, 0.1646534502506256, -0.2392806112766266, 0.5728976130485535, 0.5850203037261963, 0.7442797422409058, -0.0583987757563591, 0.5764330625534058, 0.07563918083906174, 0.14165127277374268, -0.5620490908622742, 0.6430202722549438, -0.7149316668510437, -0.11243123561143875, 0.018728386610746384, -1.0716067552566528, -0.3479236662387848, 0.1995835155248642, -0.20381714403629303, -0.0221567265689373, 0.7252313494682312, 0.5487923622131348, -0.29304346442222595, -0.30638816952705383, 0.3776487112045288, 0.12036421149969101, 0.44695141911506653, 0.8725393414497375, 0.454572856426239, -0.16176852583885193, 0.5044217705726624, -0.07928863167762756, -0.3122197091579437, -0.3056367039680481, -0.7800152897834778, -1.0775291919708252, -0.4599206745624542, -0.1480586677789688, -0.22319377958774567, -0.22364774346351624, 0.9031206965446472, 1.0124144554138184, -0.7951192259788513, -0.25141921639442444, 0.05575447157025337, -0.1422262191772461, -0.10884279012680054, -0.2020965814590454, 0.6081782579421997, -0.5529006123542786, -1.094580888748169, 0.7584049701690674, 0.5289573669433594, 0.1349039524793625, -0.5250675082206726, 0.09480014443397522, -0.020086169242858887, 0.3342558741569519, 0.8241316676139832, 0.1263311356306076, -0.7353397011756897, -0.3295104205608368, -0.3422659933567047, -0.24735216796398163, 0.09937601536512375, 0.7300698161125183, -0.6046028137207031, 0.3448345363140106, 0.3231635093688965, 0.6809921264648438, 0.5359764695167542, 0.10129448026418686, 0.5106906294822693, -0.7965218424797058, 0.6546294689178467, -0.056900374591350555, 0.18560023605823517, 0.43965160846710205, -0.3674018383026123, 0.4101862609386444, -0.02992013469338417, -0.5867884159088135, -0.9289848804473877, 0.20040009915828705, -1.3406569957733154, -0.24960243701934814, 1.5795798301696777, -0.17958012223243713, -0.49315345287323, 0.06298010796308517, -0.2599230110645294, 0.20116005837917328, -0.5702062845230103, 0.832234263420105, 0.6926813125610352, 0.2795410454273224, 0.13101935386657715, -0.4301953613758087, 0.41204744577407837, 0.49543049931526184, -0.8167886137962341, 0.4658016264438629, 0.4471128284931183, 0.415935218334198, -0.03152533248066902, 0.860385537147522, -0.127888485789299, 0.09514911472797394, -0.09410469979047775, -0.004226893186569214, -0.07587108761072159, -0.657168984413147, -0.6320297718048096, 0.42739835381507874, 0.1816420555114746, 0.030076611787080765 ]
http://arxiv.org/abs/2402.17456v1
http://arxiv.org/pdf/2402.17456v1
A Piece of Theatre: Investigating How Teachers Design LLM Chatbots to Assist Adolescent Cyberbullying Education
2024-02-27T12:27:51
2024-02-27T12:27:51
Michael A. Hedderich, Natalie N. Bazarova, Wenting Zou, Ryun Shim, Xinda Ma, Qian Yang
cs.HC
cs.HC, cs.AI, cs.CL
Cyberbullying harms teenagers' mental health, and teaching them upstanding intervention is crucial. Wizard-of-Oz studies show chatbots can scale up personalized and interactive cyberbullying education, but implementing such chatbots is a challenging and delicate task. We created a no-code chatbot design tool for K-12 teachers. Using large language models and prompt chaining, our tool allows teachers to prototype bespoke dialogue flows and chatbot utterances. In offering this tool, we explore teachers' distinctive needs when designing chatbots to assist their teaching, and how chatbot design tools might better support them. Our findings reveal that teachers welcome the tool enthusiastically. Moreover, they see themselves as playwrights guiding both the students' and the chatbot's behaviors, while allowing for some improvisation. Their goal is to enable students to rehearse both desirable and undesirable reactions to cyberbullying in a safe environment. We discuss the design opportunities LLM-Chains offer for empowering teachers and the research opportunities this work opens up.
[ -0.23040442168712616, -0.8879682421684265, 0.25846269726753235, 0.23839904367923737, -0.16414955258369446, 0.7187755107879639, 0.08852941542863846, -0.15873827040195465, 0.4118390679359436, 0.5749255418777466, -0.5834034085273743, -0.26579341292381287, -0.5494886636734009, -0.015600841492414474, -0.6994800567626953, 0.915988028049469, 0.14134445786476135, 0.21597912907600403, -0.22119353711605072, 0.5827094912528992, -0.6409698128700256, -0.03685503453016281, -0.7735592126846313, -0.17255036532878876, 0.7094584703445435, 0.8261330723762512, 0.6311813592910767, 0.04918624088168144, 0.5521995425224304, 0.4069160521030426, 0.12315066903829575, 0.027767568826675415, -0.7742172479629517, 0.26632559299468994, -0.37509986758232117, -0.47086191177368164, -0.20584484934806824, -0.22383852303028107, 0.3194289803504944, 0.42527833580970764, -0.0885627269744873, -0.1214347630739212, 0.2891409695148468, 0.3117409646511078, -0.27196744084358215, -0.29322734475135803, -0.4102136492729187, 0.48842933773994446, 0.16846725344657898, -0.14753387868404388, -0.26435285806655884, -0.6918118000030518, -0.10369595140218735, -0.499137818813324, -0.31445735692977905, 0.0046347202733159065, 0.4003210961818695, 0.17875513434410095, -0.502142608165741, -0.3479149639606476, -0.7944841980934143, 0.2868332266807556, -0.3795221149921417, 0.020346641540527344, 0.37955284118652344, 0.5001456141471863, -0.42063742876052856, -0.8385573029518127, -0.3127111792564392, 0.03290492296218872, 0.14765532314777374, 0.1892792135477066, -0.16003447771072388, 0.3645463287830353, 0.014769886620342731, 0.4199606776237488, -0.583755612373352, 0.392640084028244, -0.7670437693595886, -0.2680390477180481, 0.575475811958313, 0.4381944537162781, 0.49943339824676514, -0.1664716601371765, -0.4456087052822113, -0.10435811430215836, -0.5304268002510071, 0.11940028518438339, 0.4758678078651428, 0.20195849239826202, -0.45665067434310913, 0.46589896082878113, 0.19675876200199127, 0.40914425253868103, 0.018731802701950073, -0.3088085353374481, -0.4482404589653015, -0.028859933838248253, -0.046460725367069244, 0.27851399779319763, 0.9097049832344055, 0.6978126168251038, 0.5459466576576233, -0.13575966656208038, 0.01401269156485796, 0.3153322637081146, 0.6075804233551025, -0.9795588254928589, -0.554793655872345, 0.1372915655374527, -0.06602557003498077, -0.764664888381958, -0.19863872230052948, -0.8992114663124084, -0.8837927579879761, -0.11885835230350494, 0.8186007738113403, -0.2990274727344513, -0.36453089118003845, -0.26883506774902344, -0.47069862484931946, -0.3024860620498657, 0.10028401762247086, -0.7646514773368835, 0.4717029333114624, 0.5723301768302917, 0.7716224789619446, 0.16502745449543, -0.015870312228798866, -0.16108225286006927, -0.230177640914917, -0.5540978312492371, 0.7681103944778442, -0.8195527791976929, -0.7853887677192688, 0.07940151542425156, 0.15506309270858765, 0.07528553158044815, -0.34546276926994324, 0.31631097197532654, -0.0007276892429217696, 0.22153343260288239, 0.5915787220001221, -0.5080527663230896, 0.17682744562625885, 0.2003365457057953, -0.2509269118309021, 0.44879263639450073, -0.02291073463857174, -0.31988829374313354, -0.10002855956554413, -0.4847024083137512, -0.45287635922431946, 0.17842356860637665, -0.2509159743785858, -0.08636961877346039, 0.17004184424877167, 0.18242545425891876, 0.33701324462890625, -0.2850528359413147, 0.1274442821741104, -0.30150070786476135, -0.6585760712623596, 0.5887169241905212, -0.35929128527641296, 0.5961778163909912, 0.11638019979000092, -0.016612738370895386, 0.2740546464920044, -0.5581446290016174, 0.1995747983455658, 0.08353623747825623, 0.04052908346056938, 0.13854975998401642, -0.06705846637487411, 0.13098302483558655, 0.3839249908924103, -0.03723035007715225, -0.4673548638820648, 0.02823791839182377, -0.29513078927993774, 0.49244993925094604, 1.0670135021209717, 0.011955632828176022, 0.278469979763031, -0.8257486820220947, 1.0647215843200684, -0.2429570108652115, 0.3016495406627655, -0.17104534804821014, -0.3971644639968872, -0.5026261210441589, -0.30588287115097046, 0.10968682169914246, 0.5557907819747925, -0.8319053649902344, 0.031054195016622543, 0.1072477474808693, -0.6846743822097778, -0.8576867580413818, 0.0955968052148819, 0.3578532934188843, 0.36172497272491455, -0.19134345650672913, -0.5063463449478149, -0.8355779647827148, -0.642629086971283, -0.1334168016910553, -0.1524922251701355, -0.24803033471107483, 0.2563934028148651, 0.13547611236572266, 0.15917982161045074, 0.8366006016731262, -0.31467410922050476, -0.28713053464889526, -0.12583528459072113, -0.030821021646261215, 0.18362171947956085, 0.3487388789653778, 0.24924252927303314, -0.5296042561531067, -0.7946360111236572, -0.17818668484687805, -0.5852047204971313, -0.3714107871055603, -0.10797477513551712, -0.011042920872569084, -0.360580712556839, 0.3416993319988251, -0.34099242091178894, 0.5761072635650635, 0.5604882836341858, -0.29513153433799744, 0.5803035497665405, 0.08783760666847229, 0.18926310539245605, -0.7920161485671997, -0.16551421582698822, -0.23642760515213013, -0.3081366717815399, -0.9502744078636169, -0.16996625065803528, -0.400823175907135, -0.723166286945343, -0.7085962295532227, 0.4113224446773529, 0.03837545961141586, 0.23660044372081757, -0.7254610061645508, 0.8192770481109619, -0.10148738324642181, 0.3891752064228058, -0.1600356101989746, 0.592348039150238, 0.6342145204544067, -0.7221847772598267, 0.4953811764717102, 0.19015754759311676, -0.3567010760307312, 1.2540074586868286, -0.7187174558639526, 0.36431995034217834, 0.08737952262163162, 0.2474619448184967, -1.153266191482544, -0.23138569295406342, 0.5996952652931213, -0.7217710018157959, 0.05345843732357025, -0.28912267088890076, -0.5465690493583679, -0.7218818664550781, -0.26488959789276123, -0.13613057136535645, 0.3700794577598572, -0.37610000371932983, 0.180694118142128, 0.9690840840339661, -0.2540139853954315, -0.19204501807689667, -0.60822993516922, 0.2867254316806793, -0.3666518032550812, -0.6485428214073181, 0.48435381054878235, -0.46813488006591797, -0.24750089645385742, -0.12217117100954056, -0.1582069844007492, -0.363138347864151, 0.36056968569755554, 0.5705116987228394, 0.005498962011188269, 0.05150304734706879, 0.13514123857021332, 0.015018829144537449, -0.08158273994922638, 0.16570250689983368, 0.12089552730321884, 0.7255670428276062, 0.22768165171146393, -0.1446996033191681, -0.6507709622383118, 0.18058475852012634, 0.2987036108970642, 0.4588336944580078, 0.2235526442527771, 0.6040872931480408, -0.33625808358192444, -0.13077613711357117, -0.24250398576259613, -0.4323071241378784, -0.5664076209068298, -0.04603787511587143, -0.04170902445912361, -1.191581130027771, 0.1191708967089653, -0.22929511964321136, 0.08525782078504562, -0.3665434718132019, 0.5508800745010376, -0.3022237718105316, 0.6540755033493042, 0.37078818678855896, 0.13812491297721863, 0.6451520323753357, 0.10019930452108383, 0.38886070251464844, -0.5467584133148193, -0.099677175283432, -0.15250030159950256, -0.7657578587532043, -0.6348878741264343, -0.10116998106241226, 0.40875089168548584, -0.2229813188314438, -0.3057604134082794, 0.414657324552536, -0.7141596674919128, 0.5259596705436707, 0.4266318678855896, 0.34088999032974243, -0.06916320323944092, -0.19598035514354706, -0.1153397485613823, 0.028795655816793442, -0.5860827565193176, -0.4743204712867737, 0.8343133926391602, 0.15006664395332336, 0.8962924480438232, 0.46149367094039917, 0.7254924178123474, 0.25183790922164917, 0.06446363776922226, -0.5894029140472412, 0.6688445210456848, 0.14734597504138947, -0.95694500207901, -0.3440690338611603, -0.06543630361557007, -1.2212474346160889, 0.4528231918811798, -0.3029612898826599, -1.0949876308441162, -0.20091310143470764, 0.05127366632223129, -0.456732839345932, 0.2870248258113861, -0.7012168765068054, 0.7729767560958862, 0.06911742687225342, -0.6943295001983643, -0.480891615152359, -0.5773099064826965, 0.26614752411842346, -0.016759412363171577, 0.4736882448196411, 0.04622996971011162, 0.3560660481452942, 0.5158804059028625, -0.5495632290840149, 1.4884846210479736, 0.13714538514614105, -0.12088586390018463, 0.7449427843093872, 0.4621695876121521, 0.22291134297847748, -0.20763874053955078, 0.12592431902885437, -0.5646256804466248, 0.07947922497987747, -0.20428180694580078, -0.5778049826622009, 0.8963457942008972, -0.609725832939148, -0.9550758004188538, -0.15949039161205292, -0.40618330240249634, -0.03730234131217003, 0.04109884798526764, -0.3028406798839569, 0.24547654390335083, -0.180044025182724, 0.4841327369213104, 0.3018280267715454, -0.06991515308618546, 0.6636106967926025, 0.4045000970363617, -0.5333610773086548, -0.6532997488975525, 1.0940781831741333, 0.07601408660411835, 0.21325670182704926, 0.34792259335517883, 0.4656199812889099, -0.1938820481300354, 0.172074556350708, -0.23060840368270874, -0.17863129079341888, -0.48565420508384705, -0.18866126239299774, -0.34490424394607544, -0.44691002368927, -0.4773070514202118, -0.5545492768287659, -0.008620933629572392, -0.5663673281669617, -0.32724490761756897, -0.35374850034713745, 0.6185774207115173, 0.9163496494293213, -0.6036831140518188, 0.8561875224113464, -0.5299581289291382, 0.08539928495883942, 0.6761531233787537, 0.24700190126895905, 0.18320046365261078, -0.6633779406547546, -0.1440805047750473, -0.31540536880493164, -1.0957268476486206, -0.8928322196006775, 0.41263920068740845, -0.006173199974000454, 0.09618520736694336, 0.48490145802497864, 0.22824285924434662, 0.6270140409469604, -0.5532315373420715, 0.8542554378509521, 0.4313175082206726, -0.6201885938644409, 0.4946194589138031, -0.27253851294517517, 0.16312354803085327, 0.08976482599973679, 0.4557797312736511, -1.0910332202911377, -0.46229708194732666, -0.8063092827796936, -0.5202681422233582, 0.7287212610244751, 0.17009671032428741, 0.5473782420158386, -0.09844927489757538, -0.38919198513031006, 0.03138675540685654, 0.7355794906616211, -0.5976712107658386, -0.29921022057533264, -0.25761616230010986, -0.21260733902454376, 0.1171475276350975, -0.3864278793334961, -0.35045135021209717, 0.22721002995967865, 0.3934566080570221, 0.1424771398305893, 0.27139320969581604, -0.17882351577281952, 0.012113851495087147, -0.18106715381145477, 0.3181430995464325, 0.3637629449367523, 0.5260488390922546, 0.15300004184246063, 0.3794715702533722, 0.14937493205070496, -0.3918171525001526, 0.22704418003559113, -0.3253343999385834, 0.39025554060935974, -0.20852454006671906, 0.004937283229082823, 0.7375098466873169, 0.6185435056686401, -0.701721727848053, 0.5257344245910645, 0.04652821645140648, -0.1766027957201004, -0.45963969826698303, 0.41093847155570984, 0.13716979324817657, 0.5505725145339966, -0.018963675945997238, -0.5074028968811035, 0.010609732940793037, -0.4793913960456848, 0.5162565112113953, 0.14952081441879272, -0.494394987821579, -0.3442275822162628, 0.5205267667770386, 0.3846913278102875, -1.260272741317749, 0.46953386068344116, 0.06698182225227356, -0.3386934697628021, 0.5690987706184387, 0.8631468415260315, 0.7411780953407288, -0.35533109307289124, 0.7954823970794678, -0.006676367949694395, 0.17948344349861145, 0.5878371000289917, 0.21226516366004944, 0.048365917056798935, -0.41761454939842224, -0.04227564111351967, 0.025870315730571747, -0.866962194442749, 0.00803012028336525, 0.003288552165031433, 0.4475727081298828, -0.9912410378456116, -0.21566618978977203, -0.1578679382801056, -0.13961338996887207, -0.4399483799934387, 0.251393586397171, 0.19611965119838715, 0.3477071523666382, -0.5026023983955383, 0.2879195511341095, 0.3800555169582367, -0.27376487851142883, -0.24382904171943665, -0.36071857810020447, 0.5986831784248352, -0.9236319661140442, 0.3305874466896057, 0.07774277776479721, 0.15043020248413086, 0.1068163588643074, -0.5876038074493408, -0.576752245426178, 0.8312767148017883, 0.024958431720733643, -0.5876982808113098, 0.07813294231891632, 0.525296151638031, 0.6797229647636414, -0.3664223253726959, 0.7384012937545776, 0.01868588849902153, 0.17648561298847198, 0.3338872194290161, -0.8065735697746277, -0.19505047798156738, -0.09319762140512466, -0.16748546063899994, 0.12572599947452545, -0.7939900159835815, 0.27946868538856506, 0.056049346923828125, -0.25454702973365784, 0.14226001501083374, 0.3335767984390259, 0.18648599088191986, 0.2966342866420746, 0.3320516347885132, 0.31559035181999207, 0.8168357610702515, 0.07517340034246445, 0.6264609694480896, -0.471517950296402, -0.1548977941274643, 0.9293598532676697, 0.252442866563797, 0.5115450024604797, 0.31231874227523804, -0.1998300552368164, 0.6219404339790344, 0.5849765539169312, 0.14930200576782227, 0.33106181025505066, 0.963931679725647, -0.5731610655784607, -0.23823174834251404, -0.6759907603263855, 0.024197926744818687, 0.18254803121089935, 0.5194942951202393, 0.03240356594324112, -0.06905078142881393, 0.25551384687423706, 0.47966471314430237, 0.19098369777202606, -0.3599655330181122, 0.48863887786865234, 0.5798733830451965, -0.384124219417572, 0.19251494109630585, -0.4678068459033966, 0.3966677784919739, -0.3685143291950226, 0.1414996236562729, -0.09883909672498703, 0.11415419727563858, -0.1772432029247284, -1.0381041765213013, -0.02844603918492794, -0.09109368920326233, 0.4193137288093567, -0.2138405740261078, 0.7450443506240845, -0.25922465324401855, -0.47533118724823, 0.026923589408397675, 0.12818150222301483, 0.5381123423576355, 0.31610390543937683, -0.7375789284706116, 0.25108465552330017, -0.28992995619773865, 0.31103718280792236, 0.4907223880290985, 0.6437361240386963, 0.20297761261463165, 0.8630285263061523, 0.3954397141933441, -0.2178608477115631, -0.2685624957084656, 0.08053924143314362, 0.9048080444335938, -0.5609286427497864, -0.27472230792045593, -0.753863513469696, 1.0211032629013062, -0.23194535076618195, -0.35394567251205444, 0.6233212351799011, 0.1957276314496994, 0.6857990026473999, -0.04552702233195305, 0.43736377358436584, -0.13340358436107635, 0.5053558945655823, -0.09107522666454315, 0.5673273801803589, -0.35301145911216736, -0.1466587483882904, -0.5205391645431519, -0.48583507537841797, -0.23146028816699982, 0.5909368395805359, -0.06546490639448166, -0.13431237637996674, 0.5816158056259155, 0.9626864790916443, 0.31169742345809937, 0.2422838658094406, 0.7889358997344971, 0.19665424525737762, 0.5208286643028259, 0.501794695854187, 1.197453260421753, -0.28064531087875366, 0.7694618105888367, -0.40184080600738525, -0.16791629791259766, -0.273641437292099, -0.4917917847633362, -1.4172509908676147, -0.39222899079322815, -0.38279029726982117, -0.3576848804950714, 0.37547391653060913, 1.0570621490478516, 0.4694381654262543, -0.3303731083869934, -0.6454195380210876, 0.031349457800388336, 0.6711417436599731, 0.12869328260421753, -0.23986247181892395, -0.2273494154214859, -0.35372406244277954, -0.7823801040649414, 0.7515053153038025, -0.022158917039632797, 0.09271565079689026, -0.4347403645515442, 0.3343961536884308, -0.13440914452075958, 0.3045707643032074, 0.703571081161499, 0.17596246302127838, -0.45535141229629517, -0.41243332624435425, -0.14659996330738068, 0.06518664956092834, -0.061320893466472626, 0.5146197080612183, -0.5475978851318359, 0.5763232111930847, 0.33914265036582947, 0.591956377029419, 0.2910641133785248, -0.4177001416683197, 0.5936415195465088, -0.6984384655952454, -0.0827992707490921, 0.11590401083230972, -0.01950312778353691, 0.25160372257232666, -0.1085517406463623, 0.660716712474823, 0.3032689690589905, -0.7261508107185364, -0.9309942722320557, 0.09633253514766693, -0.41057559847831726, -0.2247576266527176, 0.7884052991867065, 0.04666983708739281, -0.33290109038352966, 0.07821924984455109, -0.6235929131507874, 0.01354662049561739, -0.4176686108112335, 0.8199904561042786, 0.7708297967910767, 0.20143766701221466, -0.6358565092086792, -0.33671119809150696, 0.2870982885360718, -0.021240416914224625, -0.36388736963272095, -0.46578794717788696, 0.16665448248386383, 0.010490466840565205, -0.04781518876552582, 0.34071919322013855, 0.06493350863456726, 0.1409408450126648, 0.07469726353883743, 0.12411605566740036, 0.26160967350006104, -0.5851989984512329, -0.12251927703619003, 0.22600407898426056, -0.09440533816814423, -0.18373465538024902 ]
http://arxiv.org/abs/2402.17447v2
http://arxiv.org/pdf/2402.17447v2
Deep Learning Based Named Entity Recognition Models for Recipes
2024-02-27T12:03:56
2024-06-06T07:41:21
Mansi Goel, Ayush Agarwal, Shubham Agrawal, Janak Kapuriya, Akhil Vamshi Konam, Rishabh Gupta, Shrey Rastogi, Niharika, Ganesh Bagler
cs.CL
cs.CL, cs.AI, cs.IR
Food touches our lives through various endeavors, including flavor, nourishment, health, and sustainability. Recipes are cultural capsules transmitted across generations via unstructured text. Automated protocols for recognizing named entities, the building blocks of recipe text, are of immense value for various applications ranging from information extraction to novel recipe generation. Named entity recognition is a technique for extracting information from unstructured or semi-structured data with known labels. Starting with manually-annotated data of 6,611 ingredient phrases, we created an augmented dataset of 26,445 phrases cumulatively. Simultaneously, we systematically cleaned and analyzed ingredient phrases from RecipeDB, the gold-standard recipe data repository, and annotated them using the Stanford NER. Based on the analysis, we sampled a subset of 88,526 phrases using a clustering-based approach while preserving the diversity to create the machine-annotated dataset. A thorough investigation of NER approaches on these three datasets involving statistical, fine-tuning of deep learning-based language models and few-shot prompting on large language models (LLMs) provides deep insights. We conclude that few-shot prompting on LLMs has abysmal performance, whereas the fine-tuned spaCy-transformer emerges as the best model with macro-F1 scores of 95.9%, 96.04%, and 95.71% for the manually-annotated, augmented, and machine-annotated datasets, respectively.
[ -0.2265147566795349, -0.9411356449127197, 0.4240563213825226, -0.015070650726556778, 0.08783723413944244, 0.006889153737574816, -0.2853337228298187, -0.48907268047332764, 0.14476266503334045, 0.7727283835411072, -0.5967525839805603, -0.604408323764801, -0.6948833465576172, 0.5262681245803833, -0.45537030696868896, 0.9203735589981079, -0.1149320900440216, 0.28151947259902954, 0.051527198404073715, 0.042352233082056046, -0.5602594614028931, -0.28406932950019836, -0.7431058883666992, -0.29057687520980835, 0.5885687470436096, 0.5433517098426819, 0.29350998997688293, 0.7107851505279541, 0.5110158920288086, 0.21591167151927948, -0.28619760274887085, 0.4785793423652649, -0.17728397250175476, 0.4105500876903534, 0.06734105944633484, -0.307168185710907, -0.21136189997196198, -0.11338665336370468, 0.37060078978538513, 0.8311227560043335, 0.22301456332206726, 0.20939359068870544, 0.11390427500009537, 0.684072732925415, -0.40204527974128723, 0.19093438982963562, -0.8817062377929688, 0.273500919342041, -0.16425791382789612, -0.07883298397064209, -0.3119352161884308, -0.33887025713920593, 0.23765867948532104, -0.5359230041503906, 0.23151127994060516, -0.02707313559949398, 0.7339691519737244, 0.22291800379753113, -0.2971176505088806, -0.5384203195571899, -0.8664900064468384, 0.7979521155357361, -0.7784504890441895, 0.36002418398857117, 0.3849804103374481, 0.22472220659255981, -0.7246054410934448, -0.6796682476997375, -0.7605524063110352, -0.16721946001052856, 0.1277061402797699, -0.1849484145641327, -0.031682226806879044, -0.18157722055912018, 0.3575342297554016, 0.31741002202033997, -0.4040854573249817, 0.5188287496566772, -0.07190254330635071, 0.1499517858028412, 0.5176100134849548, 0.39816203713417053, 0.3932991623878479, -0.2827405035495758, -0.43991634249687195, 0.0673026591539383, -0.7871645092964172, 0.04942421615123749, 0.007291450630873442, 0.5508397817611694, 0.15376032888889313, 0.6691464185714722, -0.4110017418861389, 0.7260109186172485, 0.23809216916561127, -0.19895990192890167, 0.0909094586968422, -0.1012883260846138, -0.475673645734787, 0.2119457870721817, 0.8098096251487732, 0.48183760046958923, 0.3745914697647095, -0.15263287723064423, -0.11534108966588974, -0.16615650057792664, -0.12918981909751892, -0.8173059821128845, -0.48890459537506104, -0.12955377995967865, -0.19805507361888885, -0.1620595008134842, -0.00199852604418993, -0.6901524066925049, -0.7836062908172607, -0.2556021809577942, 0.07579092681407928, -0.35777321457862854, -0.0010993669275194407, -0.205314040184021, -0.24269960820674896, 0.5449167490005493, 0.32905644178390503, -1.0791919231414795, 0.43219026923179626, 0.7492333054542542, 0.6402336359024048, -0.002981716999784112, -0.21612033247947693, -0.4559352993965149, 0.16374142467975616, -0.3870391845703125, 0.9033677577972412, -0.7874097228050232, -0.32108813524246216, -0.3487624526023865, 0.3679075241088867, -0.061554960906505585, -0.8474596738815308, 0.4170294404029846, -0.5060596466064453, -0.21665485203266144, -0.6464975476264954, -1.150006890296936, -0.2191716879606247, 0.2783430814743042, -0.8998633623123169, 0.859055757522583, -0.26919126510620117, -0.48668214678764343, 0.9325965046882629, -0.3228745460510254, -0.6078473329544067, 0.4563024044036865, -0.4306650757789612, -0.30521586537361145, 0.28510504961013794, 0.41552993655204773, 0.6725117564201355, -0.5177971124649048, 0.32220035791397095, -0.2262386530637741, -0.24678435921669006, 0.44485965371131897, -0.6041585803031921, 0.24953757226467133, 0.24854688346385956, -0.21535907685756683, -0.08980834484100342, -0.8214854598045349, 0.023049021139740944, 0.2915964126586914, -0.37000489234924316, -0.3687259554862976, -0.014371920377016068, 0.0926399677991867, -0.08289873600006104, -0.24088917672634125, -0.3534599840641022, 0.3239216208457947, -0.5099962949752808, 0.4992036521434784, 0.5414415597915649, 0.29505929350852966, 0.4921918213367462, -0.03396189585328102, 0.2079296112060547, 0.18011526763439178, -0.2478005737066269, -0.2988262176513672, -0.6232876181602478, -0.7917437553405762, -0.2025945484638214, 0.607609748840332, 0.7550747394561768, -0.5303031802177429, 0.5227178931236267, -0.18943668901920319, -0.4640752375125885, -0.38097482919692993, 0.2616659998893738, 0.13665243983268738, 0.6445322036743164, 0.3868952989578247, -0.1140783503651619, -0.6392905712127686, -0.7686851024627686, -0.35246598720550537, 0.3512173593044281, -0.021803172305226326, 0.407362163066864, 0.590499758720398, -0.17012782394886017, 0.6913378238677979, -0.4697425961494446, -0.3043056130409241, -0.5394517779350281, 0.16480402648448944, 0.43103480339050293, 0.507662296295166, 0.1557171493768692, -0.6580929756164551, -0.7777166962623596, 0.16046245396137238, -0.7978124618530273, 0.23052768409252167, -0.08744573593139648, 0.2925559878349304, 0.14327780902385712, 0.4455891251564026, -0.6659790277481079, 0.3971238136291504, 0.16025160253047943, 0.02786145731806755, 0.17717790603637695, 0.20702765882015228, 0.16710691154003143, -1.2228306531906128, -0.2535948157310486, 0.1432853788137436, 0.17705745995044708, -0.559662938117981, -0.27511411905288696, 0.04996862635016441, -0.10676605999469757, -0.580426037311554, 0.8013705015182495, -0.655036985874176, 0.04973939061164856, -0.24012944102287292, -0.398815780878067, 0.15809959173202515, 0.21537695825099945, 0.3085549771785736, 0.5231824517250061, 0.4912545084953308, -0.675404965877533, 0.5362016558647156, -0.03773169964551926, -0.5509366989135742, 0.4852139949798584, -0.5873128771781921, 0.16146142780780792, -0.14500348269939423, 0.2334941327571869, -0.7782477140426636, -0.40534165501594543, 0.5098932981491089, -0.3349384367465973, 0.5393210053443909, -0.37083864212036133, -0.7826186418533325, -0.2525271773338318, 0.09027456492185593, 0.21740299463272095, 0.15732188522815704, -0.5343636870384216, 0.5664699077606201, 0.3030277192592621, -0.04114706814289093, -0.3293580412864685, -0.7124821543693542, 0.31925463676452637, -0.271568238735199, -0.1668190211057663, 0.2167399823665619, 0.05524712800979614, -0.017427871003746986, 0.0902094915509224, -0.15305571258068085, -0.27261996269226074, 0.07837066054344177, 0.49893370270729065, 0.07600029557943344, -0.2722092568874359, 0.2625025808811188, 0.20059169828891754, -0.1465618759393692, -0.18231232464313507, -0.2606975734233856, 0.4027198255062103, -0.11539582908153534, 0.17483305931091309, -0.5792489051818848, 0.3369068503379822, 0.2392551600933075, -0.14061596989631653, 0.9281348586082458, 0.695868968963623, -0.7706300020217896, -0.10804261267185211, -0.554787278175354, -0.21824109554290771, -0.42790690064430237, 0.10052941739559174, -0.5542224645614624, -0.761457085609436, 0.3901049494743347, -0.25841081142425537, -0.18893343210220337, 0.4380796551704407, 0.26704874634742737, -0.20472389459609985, 0.5960298776626587, 0.3110347092151642, -0.13763172924518585, 0.22363105416297913, -0.12425294518470764, 0.12491996586322784, -0.7502697706222534, -0.4497031271457672, -0.48199284076690674, -0.3246884047985077, -0.6803022623062134, -0.36503866314888, 0.0538872666656971, -0.08850681036710739, -0.15459232032299042, 0.5084112286567688, -0.6099114418029785, 0.8948801159858704, 0.4809119403362274, -0.09435171633958817, 0.17560915648937225, 0.10832127928733826, -0.3505408465862274, -0.26459360122680664, -0.40838566422462463, -0.5536653995513916, 0.8563540577888489, 0.2662545442581177, 0.9222011566162109, -0.18900614976882935, 0.9875303506851196, 0.2246372401714325, -0.03240402415394783, -1.0010507106781006, 0.6568373441696167, -0.287180095911026, -0.5842396020889282, -0.3463512659072876, -0.5530980229377747, -0.8957613110542297, -0.11563447117805481, -0.4310009181499481, -0.6420408487319946, 0.14229074120521545, -0.002513699699193239, -0.48444104194641113, 0.3787462115287781, -0.9706220626831055, 0.9026406407356262, -0.5789617896080017, -0.17187006771564484, 0.6155107617378235, -0.4854849874973297, -0.012424297630786896, 0.14354602992534637, -0.03592357784509659, -0.08910343050956726, 0.1789536029100418, 0.6965274810791016, -0.05648162215948105, 0.9781844615936279, 0.028959322720766068, 0.13679754734039307, 0.04172179102897644, 0.13312527537345886, 0.55329829454422, 0.19347022473812103, -0.05473214015364647, 0.2489490658044815, -0.12288167327642441, -0.06841880828142166, -0.7528383135795593, 1.0729584693908691, -0.39472562074661255, -0.2545771598815918, -0.44109874963760376, -0.1580454260110855, 0.13258446753025055, 0.49896591901779175, 0.44315654039382935, 0.13286535441875458, -0.21428711712360382, 0.18985670804977417, 0.7304872274398804, -0.27984654903411865, 0.31645381450653076, 0.43662673234939575, 0.04634614661335945, -0.4345884621143341, 0.9347144365310669, 0.3239920735359192, -0.26142725348472595, 0.7511072754859924, -0.021694306284189224, 0.10635346919298172, -0.3997277021408081, -0.5107113718986511, -0.020198766142129898, -0.5720791816711426, -0.4254801571369171, -0.7262884378433228, -0.2754126787185669, -0.3542514741420746, -0.12723219394683838, -0.36006978154182434, -0.22594991326332092, -0.7934085130691528, -0.3704928457736969, 0.33382704854011536, 0.7064904570579529, 0.3585428297519684, -0.01449656579643488, -0.8158606886863708, 0.32312482595443726, 0.1615583300590515, 0.3434308171272278, 0.13786429166793823, -0.17298391461372375, -0.13312365114688873, -0.05828232690691948, -0.10655554383993149, -1.0626721382141113, 0.6871356964111328, 0.3469643294811249, 0.43867069482803345, 0.24875518679618835, -0.06907764822244644, 0.6474793553352356, -0.6427249312400818, 0.7052710652351379, 0.04513337090611458, -0.6911088228225708, 0.68968266248703, 0.14569814503192902, 0.26521432399749756, 0.5906394720077515, 0.5485073328018188, -0.5069658756256104, -0.02334684692323208, -0.24976931512355804, -1.1109898090362549, 0.260701060295105, -0.07134956121444702, 0.18218128383159637, -0.45525017380714417, 0.45726194977760315, 0.46422070264816284, 0.13329719007015228, -0.7345786094665527, -0.21005018055438995, 0.037361036986112595, -0.2061557173728943, 0.243909552693367, -0.1756228506565094, 0.2659907639026642, -0.43228062987327576, 0.6308329105377197, 0.11781291663646698, 0.07046400755643845, -0.019292550161480904, -0.16236133873462677, -0.18433719873428345, 0.5732231140136719, 0.36093834042549133, 0.118811696767807, -0.19169659912586212, 0.17847470939159393, 0.3865397572517395, -0.1526276022195816, 0.08604808896780014, 0.22687917947769165, -0.22161047160625458, -0.03479912132024765, 0.33084312081336975, 0.8539171814918518, 0.18053872883319855, -0.45860642194747925, 0.08348336815834045, -0.3917383551597595, 0.05750351771712303, -0.5854360461235046, 0.23904649913311005, 0.012712722644209862, 0.4121590554714203, 0.3798351287841797, -0.08566861599683762, 0.4609619081020355, -0.3629712760448456, 0.1410723179578781, 0.47245293855667114, -0.3738471269607544, -0.229622483253479, 0.3111162781715393, 0.13949157297611237, -0.12932491302490234, 0.9470914006233215, -0.19554340839385986, -0.23636537790298462, 0.6871652603149414, 0.5892008543014526, 0.8518357276916504, -0.07973584532737732, 0.2245209962129593, 0.35994577407836914, 0.31263086199760437, -0.038045160472393036, 0.04678255692124367, -0.11009448766708374, -0.7149568796157837, -0.008447782136499882, -0.7887821793556213, -0.28561002016067505, 0.5047376155853271, -0.49778327345848083, 0.2755040228366852, -0.48639586567878723, -0.24911068379878998, 0.5641391277313232, 0.034571580588817596, -1.0758851766586304, 0.3385607600212097, 0.48859739303588867, 0.7391861081123352, -1.0093601942062378, 0.5817849040031433, 0.8689191937446594, -0.5019477605819702, -0.8812467455863953, 0.037328384816646576, 0.09483308345079422, -0.5810742378234863, 0.8207817077636719, 0.4343256950378418, 0.29754841327667236, -0.094678595662117, -0.5659693479537964, -0.8139957189559937, 0.8521901965141296, 0.22508729994297028, -0.710324764251709, -0.25839248299598694, 0.23418423533439636, 0.5030784010887146, -0.534076452255249, 0.09052246809005737, 0.4346581697463989, 0.5320878624916077, 0.38227060437202454, -0.6531965136528015, 0.03315078839659691, -0.3213062584400177, 0.16067814826965332, 0.21895837783813477, -0.07860209047794342, 0.6100803017616272, -0.3612936735153198, -0.3723757863044739, 0.19403116405010223, 0.717099666595459, 0.07051747292280197, 0.6517788767814636, -0.03673018515110016, 0.6325827240943909, 0.7048512101173401, -0.1536758542060852, 0.8111522197723389, 0.10760150104761124, 0.2599993646144867, 1.40567946434021, -0.6191375255584717, 0.7320431470870972, 0.4521881341934204, 0.051578786224126816, 0.3428560793399811, 0.77681565284729, -0.5172597765922546, 0.71225506067276, 0.21641486883163452, -0.09455131739377975, -0.038500119000673294, -0.3056665062904358, -0.3500697910785675, 0.3720395565032959, 0.5576483011245728, -0.8691479563713074, -0.156183660030365, 0.08779188990592957, 0.07676266878843307, -0.1458105742931366, -0.0734785869717598, 1.2055398225784302, 0.3779202401638031, -0.45593011379241943, 0.4507458806037903, 0.03036459907889366, 0.2761368751525879, -0.1524423360824585, -0.4430396556854248, -0.2162577211856842, -0.03557615727186203, -0.34015724062919617, -0.7716507911682129, -0.03341285139322281, 0.0404379665851593, -0.4272342920303345, 0.19253811240196228, 0.7407936453819275, -0.4118143916130066, -0.8110557794570923, 0.10776901245117188, 0.33577120304107666, 0.08471734076738358, 0.0248962864279747, -0.5962977409362793, 0.09795424342155457, -0.4216981530189514, -0.09485477209091187, 0.1848427802324295, 0.5932934880256653, 0.23392435908317566, 0.345401406288147, 0.5550829768180847, 0.10454639047384262, 0.08994635939598083, 0.1464899182319641, 0.8951833844184875, -0.9726974368095398, -0.3407846987247467, -1.0234181880950928, 0.3061138987541199, 0.07022595405578613, -0.13932247459888458, 0.7461453080177307, 0.45073288679122925, 1.0064752101898193, -0.3446080982685089, 0.6757102012634277, 0.09513682872056961, 0.46201014518737793, -0.8323620557785034, 0.43936750292778015, -0.40892788767814636, 0.584743857383728, -0.394193559885025, -0.927913248538971, -0.44395703077316284, 0.4585503041744232, -0.49757805466651917, 0.19300076365470886, 0.3568306267261505, 0.7304287552833557, -0.06164238601922989, 0.035923071205616, 0.2800365090370178, 0.13615766167640686, 0.132308229804039, 0.498494952917099, 0.8458142280578613, -0.40226098895072937, -0.07548737525939941, -0.10122819989919662, 0.053568385541439056, -0.32914403080940247, -0.9502149224281311, -0.9020707011222839, -0.3595470190048218, -0.2963370084762573, -0.018333453685045242, 0.3079831004142761, 1.2247940301895142, 0.6831244230270386, -0.9928506016731262, 0.08098237216472626, -0.26817166805267334, 0.21939508616924286, -0.4201655387878418, -0.27185553312301636, 0.21982704102993011, -0.09722109884023666, -0.49848055839538574, 0.6248651146888733, 0.3020550310611725, 0.07513891160488129, 0.17359983921051025, 0.03739859163761139, -0.0713610053062439, 0.03555045276880264, 0.5704872608184814, 0.511457085609436, -0.8966900110244751, 0.05997774004936218, 0.08497364819049835, 0.04558252543210983, -0.01965838111937046, 0.6253295540809631, -0.6864298582077026, 0.46717897057533264, 0.23013301193714142, 0.8297070860862732, 0.27292102575302124, -0.26445433497428894, 0.19949576258659363, -0.8374394178390503, -0.29555651545524597, 0.2065252959728241, 0.2965594530105591, 0.5666204690933228, -0.6338364481925964, 0.2747482359409332, 0.10061141103506088, -0.5210581421852112, -0.7051279544830322, 0.25489866733551025, -0.8909282684326172, -0.12042036652565002, 1.0794036388397217, 0.0010627933079376817, -0.4043600857257843, 0.15366651117801666, 0.10159725695848465, 0.397040992975235, -0.6275726556777954, 0.5144343972206116, 0.369046688079834, -0.21279031038284302, -0.4917546808719635, -0.4931538701057434, 0.3027871549129486, -0.004454050213098526, -0.746540904045105, -0.20401650667190552, 0.6241523623466492, 0.4928024113178253, -0.040506936609745026, 0.23756855726242065, 0.10639632493257523, 0.061983343213796616, -0.2906469404697418, -0.09572156518697739, -0.08497685939073563, -0.6915208697319031, -0.23531298339366913, 0.1523849368095398, 0.2004963457584381, -0.10595472157001495 ]
http://arxiv.org/abs/2402.17437v1
http://arxiv.org/pdf/2402.17437v1
Exploiting Emotion-Semantic Correlations for Empathetic Response Generation
2024-02-27T11:50:05
2024-02-27T11:50:05
Zhou Yang, Zhaochun Ren, Yufeng Wang, Xiaofei Zhu, Zhihao Chen, Tiecheng Cai, Yunbing Wu, Yisong Su, Sibo Ju, Xiangwen Liao
cs.CL
cs.CL, cs.AI
Empathetic response generation aims to generate empathetic responses by understanding the speaker's emotional feelings from the language of dialogue. Recent methods capture emotional words in the language of communicators and construct them as static vectors to perceive nuanced emotions. However, linguistic research has shown that emotional words in language are dynamic and have correlations with other grammar semantic roles, i.e., words with semantic meanings, in grammar. Previous methods overlook these two characteristics, which easily lead to misunderstandings of emotions and neglect of key semantics. To address this issue, we propose a dynamical Emotion-Semantic Correlation Model (ESCM) for empathetic dialogue generation tasks. ESCM constructs dynamic emotion-semantic vectors through the interaction of context and emotions. We introduce dependency trees to reflect the correlations between emotions and semantics. Based on dynamic emotion-semantic vectors and dependency trees, we propose a dynamic correlation graph convolutional network to guide the model in learning context meanings in dialogue and generating empathetic responses. Experimental results on the EMPATHETIC-DIALOGUES dataset show that ESCM understands semantics and emotions more accurately and expresses fluent and informative empathetic responses. Our analysis results also indicate that the correlations between emotions and semantics are frequently used in dialogues, which is of great significance for empathetic perception and expression.
[ -0.32045069336891174, -1.0727791786193848, 0.6804972290992737, 0.3190300762653351, -0.26995861530303955, 0.011605772189795971, -0.09515951573848724, -0.28718504309654236, 0.5716455578804016, 0.20167681574821472, -0.916438102722168, -0.3662211000919342, -0.514159619808197, 0.2732182443141937, -0.30308857560157776, 0.9121523499488831, -0.07560819387435913, -0.0761556327342987, -0.3560957908630371, -0.1736549288034439, -0.19837477803230286, -0.5260835289955139, -0.48453065752983093, -0.19771456718444824, 0.7122538685798645, 0.4040027856826782, 0.25513654947280884, 0.24408477544784546, 0.46135085821151733, 0.42425090074539185, -0.23824411630630493, 0.0531826950609684, -0.29441311955451965, 0.9047515392303467, 0.16299445927143097, -0.16094940900802612, -0.5010902285575867, -0.1860400289297104, 0.26847606897354126, 0.20870256423950195, -0.17930138111114502, -0.02886723354458809, -0.11285041272640228, 0.46757203340530396, -0.6124793887138367, 0.48849567770957947, -0.5148059725761414, 0.4457639455795288, 0.2770288586616516, -0.6658182740211487, -0.3458867073059082, -0.16230660676956177, 0.3450847566127777, -0.48448121547698975, -0.16784365475177765, -0.020404918119311333, 0.632497251033783, 0.3139970600605011, -0.7534133195877075, -0.6616536378860474, -0.3979763388633728, 0.6104212403297424, -0.384287029504776, 0.06953340768814087, 0.08108040690422058, 0.19780799746513367, -0.02406219206750393, -0.5293038487434387, -0.48429328203201294, -0.2675217092037201, -0.09777559340000153, 0.6138200163841248, -0.07564355432987213, 0.12395578622817993, 0.3489672839641571, 0.046725962311029434, -0.24291138350963593, -0.24055688083171844, 0.3009774386882782, 0.08959305286407471, 0.37750133872032166, 0.7012597918510437, 0.4142199754714966, -0.38887470960617065, -0.1980302333831787, -0.18625757098197937, -0.30965039134025574, -0.12228729575872421, 0.2276078313589096, 0.3929026126861572, -0.30165114998817444, 0.5387603044509888, -0.013790742494165897, 0.7053514122962952, 0.36367708444595337, -0.20373126864433289, 0.16789130866527557, -0.35753753781318665, -0.25169020891189575, 0.35009852051734924, 0.7990535497665405, 0.5807827711105347, 0.24281130731105804, -0.009024364873766899, 0.29383584856987, 0.460678368806839, 0.29743489623069763, -1.1032384634017944, -0.04939329996705055, 0.444602906703949, -0.2940406799316406, -0.7245509028434753, -0.27965015172958374, -1.1600139141082764, -0.07246293872594833, -0.24031683802604675, 0.09437011927366257, -0.4163445234298706, -0.3382432460784912, -0.1376701295375824, -0.20310479402542114, 0.23799017071723938, 0.32312342524528503, -0.8688107132911682, 0.36098048090934753, 0.4448663294315338, 0.5605151653289795, 0.3332148492336273, -0.17828518152236938, -0.7189316153526306, 0.21489638090133667, 0.2654111981391907, 0.7193964123725891, -0.8262460827827454, -0.40943601727485657, 0.18251387774944305, 0.05310288444161415, -0.08070481568574905, -0.04283291473984718, 0.42504584789276123, -0.15359294414520264, 0.0411643423140049, -0.1484432816505432, -0.5258552432060242, -0.08973611146211624, 0.36967000365257263, -0.5522320866584778, 0.5388807058334351, 0.028663605451583862, -1.0731511116027832, 0.0737294852733612, -0.24030593037605286, -0.4536101520061493, -0.21533136069774628, -0.24995167553424835, -0.45048990845680237, 0.17952071130275726, -0.20159155130386353, 0.5342886447906494, -0.35787656903266907, 0.282438725233078, -0.4522738456726074, 0.2559032142162323, 0.4682239592075348, -0.12362395972013474, 0.2988302707672119, 0.4276774525642395, -0.35114312171936035, -0.28090521693229675, -0.9757023453712463, 0.043263550847768784, 0.09735961258411407, -0.08934549987316132, -0.2767435908317566, 0.3145073354244232, -0.12904566526412964, 0.5617566108703613, -0.04368205368518829, -0.7388209104537964, -0.5148818492889404, -0.29190903902053833, 0.2728496491909027, 0.4361031949520111, 0.22164444625377655, 0.388442724943161, 0.036999814212322235, 0.48940321803092957, 0.37665989995002747, -0.03720260411500931, -0.4721607267856598, -0.2441309243440628, -0.7456347346305847, 0.003729109186679125, -0.38986384868621826, 0.44664284586906433, -0.26528170704841614, 0.7132968902587891, 0.025257986038923264, -0.5540057420730591, -0.29972225427627563, -0.370519757270813, 0.539772093296051, 0.8752488493919373, 0.1553184539079666, -0.24792523682117462, -0.5539747476577759, -0.5040010213851929, -0.17365825176239014, -0.3353954255580902, 0.2865271270275116, 0.6759074926376343, 0.13098251819610596, -0.09869597107172012, 0.7903130054473877, -0.60152667760849, 0.03187326714396477, -0.04886756092309952, 0.37630391120910645, -0.23164133727550507, 0.29220542311668396, 0.45916640758514404, -0.7589330673217773, -0.4959656596183777, 0.048237595707178116, -0.7468711137771606, -0.47747308015823364, -0.05014771968126297, -0.43164825439453125, 0.09009698778390884, 0.3713386058807373, -0.5654535293579102, 0.2608690559864044, 0.7234392762184143, -0.6066596508026123, 0.0764523297548294, 0.15825125575065613, 0.10474268347024918, -1.317209005355835, -0.031172901391983032, -0.2636951506137848, 0.018927913159132004, -0.5167710781097412, -0.13278144598007202, -0.22648407518863678, -0.08711431175470352, -0.6310577392578125, 0.3430216312408447, -0.26650482416152954, 0.08924546092748642, 0.04260602965950966, 0.41453564167022705, 0.1645790934562683, 0.34784770011901855, 0.11419916898012161, -0.17197410762310028, 0.6780673861503601, -0.44290706515312195, 0.8661968111991882, 0.6731038093566895, 0.11269973963499069, 0.9825723171234131, -0.39207568764686584, -0.1542762964963913, -0.20264828205108643, 0.48469096422195435, -0.8754730224609375, -0.27085310220718384, 0.1254018396139145, -0.45812222361564636, 0.303728848695755, 0.15832000970840454, -0.35769668221473694, -0.2305857390165329, -0.04689989238977432, 0.3940284550189972, 0.4712238311767578, -0.34961578249931335, 1.039139747619629, 0.28082743287086487, -0.1021503210067749, -0.18196186423301697, -0.9556148648262024, -0.3081890642642975, -0.2730189263820648, -0.8475241661071777, -0.10166032612323761, -0.058526162058115005, -0.30377766489982605, 0.025909816846251488, 0.14703890681266785, 0.2189633548259735, 0.19173979759216309, 0.48545145988464355, -0.1582111120223999, 0.02923945151269436, 0.27056363224983215, 0.1734405905008316, -0.2069264054298401, 0.39214181900024414, 0.3192934989929199, 0.5744712948799133, -0.12041176855564117, -0.40611597895622253, -0.28869131207466125, 0.5080214142799377, 0.6810281276702881, -0.25513795018196106, 0.640599250793457, 0.6104611754417419, 0.0396340973675251, 0.1214217096567154, -0.07634077221155167, -0.3447243273258209, -0.4070785343647003, 0.3672807216644287, -0.45991989970207214, -0.7378961443901062, 0.7119783759117126, -0.2606203556060791, -0.32207268476486206, 0.2393357753753662, 1.0088938474655151, 0.16059306263923645, 1.2436363697052002, -0.04746447876095772, 0.39263901114463806, 0.6455012559890747, 0.12047649919986725, 0.5849498510360718, -0.9449676871299744, -0.32079482078552246, -0.4181396961212158, -0.25130796432495117, -0.977857232093811, 0.03713776543736458, 0.1922602504491806, -0.492474228143692, -0.43354833126068115, 0.12167120724916458, -0.21067659556865692, -0.1547187715768814, 0.09357895702123642, 0.11019445955753326, -0.048893846571445465, -0.0049461605958640575, -0.2966335713863373, -0.08511059731245041, -0.522691547870636, -0.2732962369918823, 0.5326934456825256, 0.27844375371932983, 0.9680687189102173, 0.27162331342697144, 0.8079578280448914, -0.3604990839958191, 0.07771838456392288, -0.9738737344741821, 0.5447147488594055, 0.006820411421358585, -0.0834197923541069, 0.07074710726737976, -0.3213418126106262, -0.9658483862876892, 0.12665677070617676, -0.35261332988739014, -0.8767937421798706, -0.02060193009674549, 0.14669007062911987, -0.4929778277873993, -0.03067924827337265, -0.7206620573997498, 0.6079162955284119, -0.22026920318603516, -0.49522000551223755, -0.11392264068126678, -0.980937659740448, 0.18257948756217957, -0.30207931995391846, -0.010283895768225193, -0.37913548946380615, 0.19382122159004211, 0.3239702582359314, -0.8047933578491211, 0.9385265111923218, 0.05595996230840683, -0.004971054382622242, 0.40109482407569885, 0.5217273831367493, 0.5327842831611633, -0.13217954337596893, -0.1450756937265396, -0.4960289001464844, -0.06646095216274261, -0.10459554195404053, -0.7402462959289551, 0.9059038758277893, -0.6634125709533691, -0.3171710968017578, -0.37461405992507935, -0.4851083755493164, -0.22300377488136292, -0.2169354259967804, -0.025334976613521576, 0.5920558571815491, -0.49161723256111145, 0.02369224838912487, 0.30093619227409363, -0.449239045381546, 0.12659041583538055, 0.6615033745765686, -0.055346373468637466, -0.23507659137248993, 0.6535131335258484, -0.20893506705760956, 0.5256032943725586, 0.46015238761901855, 0.4156252443790436, 0.026220016181468964, 0.575835645198822, -0.10911014676094055, 0.1654389202594757, -0.5336707830429077, -0.30256450176239014, -1.157158613204956, -0.11408539116382599, -0.28401288390159607, -0.4112279415130615, -0.2708158791065216, -0.3449609875679016, -0.1816433221101761, -0.2921735942363739, 0.9690396785736084, 0.5787798762321472, -0.07405471801757812, 0.21189771592617035, -0.9871656894683838, -0.024941466748714447, 0.43006306886672974, 0.05862037464976311, 0.35705727338790894, -0.25070852041244507, -0.0745428279042244, -0.053196534514427185, -0.46777328848838806, -1.0245708227157593, 0.8052456378936768, 0.19776904582977295, 0.10806619375944138, 0.4058976173400879, 0.07011616230010986, 0.5432637929916382, -0.6759649515151978, 0.779041051864624, 0.35066497325897217, -0.9716129302978516, 0.7000197768211365, -0.33344224095344543, 0.14847411215305328, 0.20518118143081665, 0.11975973844528198, -0.7629168033599854, -0.792134702205658, -1.0494924783706665, -1.051005244255066, 0.7090343832969666, 0.2757413387298584, 0.36898139119148254, -0.5459606647491455, 0.07893425226211548, -0.25396019220352173, 0.19795407354831696, -0.11572019755840302, 0.009147374890744686, -0.07950416952371597, -0.6253352761268616, 0.20194780826568604, -0.3516857326030731, -0.2821730077266693, -0.03413825109601021, 0.13997270166873932, -0.09098519384860992, 0.6793550252914429, 0.0528394877910614, 0.07997628301382065, -0.6608161330223083, -0.07459847629070282, 0.4002954363822937, -0.27660876512527466, -0.3703966438770294, 0.3936401605606079, 0.13784052431583405, -0.1137724444270134, 0.06169027462601662, -0.10617229342460632, 0.3670381009578705, -0.054708331823349, 0.2753758132457733, 0.991240382194519, 0.5574746131896973, -0.6139695644378662, 0.7132683396339417, -0.19951705634593964, 0.20330314338207245, -0.28018903732299805, -0.11418550461530685, 0.33063238859176636, 0.22480730712413788, -0.5693072080612183, -0.1453273594379425, 0.15538741648197174, -0.6425829529762268, 0.4342508912086487, 0.16943082213401794, -0.3544539213180542, -0.4783492684364319, 0.4226178228855133, 0.5137784481048584, -0.2571756839752197, 0.586985170841217, 0.2421121597290039, -0.7483483552932739, 0.8241380453109741, 0.8063340187072754, 0.9715550541877747, -0.5197259187698364, 0.21394288539886475, 0.5062764286994934, -0.6023091673851013, 0.2894414961338043, 0.4851452112197876, -0.21597765386104584, -0.824815034866333, 0.04965967684984207, -0.703088104724884, -0.596781849861145, -0.5934181213378906, -0.9039607644081116, 0.2544908821582794, -0.29030174016952515, -0.10931109637022018, -0.07651905715465546, -0.274038165807724, -0.7420398592948914, 0.36889562010765076, 0.17054657638072968, 0.6258072257041931, -1.1126142740249634, 0.45982420444488525, 0.541777491569519, -0.6899061799049377, -0.9788150787353516, -0.0843387246131897, 0.21466708183288574, -0.8009846806526184, 0.945763111114502, 0.15588833391666412, -0.3066476285457611, 0.041436173021793365, -0.3126109540462494, -0.7492645978927612, 1.12801992893219, -0.03754387050867081, -0.3186533749103546, 0.24402232468128204, 0.08846415579319, 0.9072021245956421, -0.7639098763465881, 0.7726900577545166, 0.3862677812576294, 0.4307900369167328, 0.37834200263023376, -0.4299585223197937, 0.24901431798934937, -0.2979210615158081, 0.06544532626867294, 0.3902117908000946, -1.0293335914611816, 0.8491970300674438, 0.12835432589054108, -0.16844230890274048, 0.2751297056674957, 0.21906697750091553, 0.31302163004875183, 0.10164110362529755, 0.3357880413532257, 0.630231499671936, 0.372178852558136, -0.0862026959657669, 1.1764310598373413, -0.8413273096084595, 0.34980541467666626, 0.951153576374054, -0.47251471877098083, 0.864126443862915, 0.617721676826477, 0.19300676882266998, 0.7764376401901245, 0.5818579196929932, 0.16142910718917847, 0.4995841383934021, 0.3461821377277374, -0.680916428565979, -0.26144152879714966, -0.4867553114891052, -0.020344672724604607, 0.5432145595550537, 0.5843735933303833, -0.7473376393318176, -0.37007829546928406, -0.12175767868757248, 0.20392073690891266, -0.12149430811405182, 0.08671906590461731, 0.9533523321151733, 0.44011032581329346, -0.6109563708305359, 0.10044396668672562, -0.46227675676345825, 0.11153652518987656, -0.6024193167686462, -0.0418187640607357, -0.1644228845834732, 0.09658621996641159, -0.17410807311534882, -0.9499673247337341, 0.38784918189048767, 0.2513986825942993, 0.08407816290855408, -0.22564809024333954, 0.6591041088104248, -0.794910192489624, -0.24862037599086761, 0.8595974445343018, 0.5889627933502197, 0.24031098186969757, 0.42670366168022156, -0.4955172538757324, 0.15539172291755676, -0.2838195860385895, -0.37255942821502686, 0.3617272973060608, 1.0433039665222168, 0.4117301404476166, 0.40367391705513, 0.2695372402667999, -0.1453123241662979, -0.20804789662361145, 0.2698216438293457, 0.947997510433197, -0.693329393863678, -0.39080336689949036, -0.8465577363967896, 0.6016585826873779, 0.0022562139201909304, -0.06556495279073715, 0.4242005944252014, 0.02194811962544918, 0.3265138864517212, 0.026324179023504257, 0.578531801700592, -0.3203669786453247, 0.29196617007255554, -0.4150391221046448, 0.26591506600379944, -0.6861343383789062, -0.29757165908813477, -0.6245870590209961, -0.6442731022834778, -0.41283300518989563, 0.6728390455245972, -0.1788938343524933, -0.01859816163778305, 0.8696860074996948, 0.8530344367027283, 0.15084294974803925, 0.1912025362253189, 0.4035820960998535, 0.5303792953491211, 0.27961698174476624, 0.8399703502655029, 1.0591309070587158, -0.14274415373802185, 0.1489523947238922, -0.02361089549958706, -0.1557873785495758, -0.3112473785877228, -1.170419454574585, -0.6372003555297852, -0.48086461424827576, -0.21722029149532318, -0.6491654515266418, -0.11005067825317383, 1.1261216402053833, 0.0907546877861023, -0.656236469745636, -0.08799687772989273, -0.32727137207984924, -0.15143759548664093, 0.18898582458496094, -0.273490309715271, 0.13713350892066956, -0.5364658236503601, -0.8295076489448547, -0.178022101521492, 0.5599337816238403, 0.0898643508553505, -0.038043223321437836, -0.2848748564720154, -0.0030229880940169096, 0.3758920729160309, 0.7715033888816833, 0.04459456354379654, -0.450546532869339, -0.4079568684101105, -0.15779945254325867, -0.259728342294693, 0.0034642734099179506, 0.8217779397964478, -0.49307000637054443, 0.7142081260681152, 0.697628915309906, 0.40991243720054626, 0.24131248891353607, -0.11119871586561203, 0.8763455748558044, -0.5149307250976562, 0.30311232805252075, 0.029453350231051445, 0.4330652356147766, 0.3752548396587372, -0.4120030403137207, 0.33646827936172485, 0.2385009080171585, -0.5915245413780212, -0.4460279643535614, 0.7216759920120239, -1.2633862495422363, 0.23311705887317657, 1.4254076480865479, -0.3269956111907959, -0.39188897609710693, 0.2797451913356781, -0.33187565207481384, 0.6928585171699524, -0.4997057616710663, 0.514202892780304, 0.6585203409194946, -0.536942720413208, -0.0029810015112161636, 0.09929624944925308, 0.42272886633872986, 0.627888023853302, -0.7830699682235718, 0.17941750586032867, 0.4597727954387665, -0.16489294171333313, 0.13611124455928802, 0.300845742225647, -0.08078286796808243, 0.04818882420659065, 0.1709766834974289, 0.05185016989707947, 0.43301379680633545, 0.13651984930038452, -0.14028343558311462, -0.1739906519651413, -0.10262097418308258, -0.06262975931167603 ]
http://arxiv.org/abs/2402.17433v3
http://arxiv.org/pdf/2402.17433v3
Enhancing EEG-to-Text Decoding through Transferable Representations from Pre-trained Contrastive EEG-Text Masked Autoencoder
2024-02-27T11:45:21
2024-06-10T09:51:50
Jiaqi Wang, Zhenxi Song, Zhengyu Ma, Xipeng Qiu, Min Zhang, Zhiguo Zhang
cs.CL
cs.CL
Reconstructing natural language from non-invasive electroencephalography (EEG) holds great promise as a language decoding technology for brain-computer interfaces (BCIs). However, EEG-based language decoding is still in its nascent stages, facing several technical issues such as: 1) Absence of a hybrid strategy that can effectively integrate cross-modality (between EEG and text) self-learning with intra-modality self-reconstruction of EEG features or textual sequences; 2) Under-utilization of large language models (LLMs) to enhance EEG-based language decoding. To address above issues, we propose the Contrastive EEG-Text Masked Autoencoder (CET-MAE), a novel model that orchestrates compound self-supervised learning across and within EEG and text through a dedicated multi-stream encoder. Furthermore, we develop a framework called E2T-PTR (EEG-to-Text decoding using Pretrained Transferable Representations), which leverages pre-trained modules alongside the EEG stream from CET-MAE and further enables an LLM (specifically BART) to decode text from EEG sequences. Comprehensive experiments conducted on the popular text-evoked EEG database, ZuCo, demonstrate the superiority of E2T-PTR, which outperforms the state-of-the-art in ROUGE-1 F1 and BLEU-4 scores by 8.34% and 32.21%, respectively. These results indicate significant advancements in the field and underscores the proposed framework's potential to enable more powerful and widespread BCI applications.
[ -0.19876575469970703, -0.6875084042549133, 0.5220988988876343, 0.5464103817939758, -0.22206732630729675, 0.11741535365581512, -0.23951782286167145, -0.5954464077949524, 0.3932642340660095, 0.23696868121623993, -0.22078397870063782, -0.4133055508136749, -0.71299147605896, 0.3552148640155792, -0.439802885055542, 0.6981030702590942, -0.2560848295688629, -0.11761583387851715, 0.031424377113580704, 0.021998967975378036, -0.6834991574287415, -0.7503156065940857, -0.5425550937652588, -0.24982592463493347, 0.21481508016586304, 0.04787040129303932, -0.011711194179952145, 0.3335484266281128, 0.1630074381828308, 0.24331068992614746, 0.1787245124578476, 0.1718922108411789, -0.2781536877155304, -0.09228888899087906, -0.11218123883008957, -0.38508522510528564, -0.6056069135665894, -0.4320172369480133, 0.4113239049911499, 0.5914344191551208, -0.1462087780237198, -0.37222060561180115, 0.5386292934417725, 0.5832225680351257, -0.8366760015487671, 0.27523481845855713, -0.40392187237739563, -0.16530771553516388, 0.1719607412815094, -0.14885832369327545, -0.7046213746070862, 0.054275043308734894, 0.12264146655797958, -0.4984683692455292, 0.032216258347034454, -0.021307647228240967, 0.5691380500793457, -0.0201703067868948, -0.6057901382446289, -0.19762229919433594, -0.5608503222465515, 0.5322211980819702, -0.6161444783210754, 0.6057769656181335, 0.5262048244476318, -0.06484844535589218, 0.021030711010098457, -0.7211682200431824, -0.541718065738678, -0.1379249095916748, -0.2822589874267578, 0.4645674526691437, -0.2517949342727661, 0.12561023235321045, -0.19617947936058044, 0.3897192180156708, -0.6829503774642944, 0.17580144107341766, -0.1040613204240799, -0.26482895016670227, 0.28553125262260437, 0.07822813838720322, 0.3317347764968872, -0.09007225185632706, -0.2522539794445038, -0.21519923210144043, -0.4077148735523224, -0.24863937497138977, 0.0179551113396883, -0.17130912840366364, -0.2980288565158844, 0.18750227987766266, -0.06427246332168579, 0.3008965849876404, 0.4066118001937866, 0.23715616762638092, 0.5562279224395752, -0.39157211780548096, -0.11906293034553528, 0.2035003900527954, 0.8153243064880371, 0.3683862090110779, 0.005217146128416061, -0.3768644630908966, -0.3350346088409424, 0.22398485243320465, -0.010464638471603394, -0.7600604295730591, -0.5672931671142578, 0.13820365071296692, -0.6961248517036438, 0.11511199921369553, -0.04773055016994476, -0.913651704788208, -0.11020809412002563, -0.2567537724971771, 0.6702076196670532, -0.5217139720916748, -0.5047553181648254, 0.4093624949455261, 0.19866158068180084, 0.3567388355731964, 0.16765621304512024, -0.9363405704498291, 0.4065648913383484, 0.10752244293689728, 0.6781371831893921, -0.5322306156158447, -0.15421004593372345, -0.2947697937488556, 0.35578951239585876, -0.14079037308692932, 0.6784258484840393, -0.27022168040275574, -0.52712082862854, 0.019702963531017303, 0.2088695913553238, -0.29706382751464844, -0.30336621403694153, 0.42868053913116455, -0.43042412400245667, 0.30080753564834595, -0.11610309779644012, -0.6576481461524963, 0.08733205497264862, 0.013723066076636314, -0.7282334566116333, 0.7241955995559692, -0.2859303057193756, -0.592377245426178, -0.08003462851047516, -0.6833775043487549, -0.6888291835784912, -0.07943590730428696, -0.20297911763191223, -0.32682809233665466, 0.08195064961910248, 0.5969882607460022, 0.47781968116760254, -0.11725135147571564, 0.12310124933719635, -0.08172015845775604, -0.30691996216773987, 0.24537107348442078, -0.6062881350517273, 0.4978828430175781, 0.2714546024799347, -0.47889673709869385, -0.33436185121536255, -0.9225882291793823, -0.044827383011579514, 0.09976856410503387, -0.1905195116996765, -0.32843419909477234, -0.12254513800144196, 0.3580392897129059, 0.14773975312709808, 0.27737101912498474, -0.6043615341186523, -0.3659531772136688, -0.39728212356567383, 0.46852296590805054, 0.47984588146209717, -0.022321294993162155, 0.5073601007461548, -0.04894062131643295, 0.18160992860794067, 0.13010971248149872, -0.18397684395313263, -0.7312475442886353, -0.23560674488544464, -0.9332961440086365, -0.25740334391593933, 0.30721384286880493, 0.7025042772293091, -0.9344640970230103, 0.8397459983825684, -0.19409841299057007, -0.091037318110466, -0.6324357390403748, -0.21043497323989868, 0.3892360329627991, 0.6394166946411133, 0.718428373336792, -0.2764620780944824, -0.3887113630771637, -0.947359561920166, -0.1633053570985794, -0.10741090029478073, -0.14720554649829865, 0.02485319972038269, 0.30674096941947937, -0.5947900414466858, 0.6690942645072937, -0.1959090679883957, -0.33818337321281433, -0.17561690509319305, 0.5405049920082092, -0.07536818087100983, 0.7015452980995178, 0.31545400619506836, -0.5386237502098083, -0.5774962902069092, 0.25650858879089355, -0.7689480185508728, -0.36739957332611084, -0.2762008309364319, 0.03746116906404495, 0.3336375057697296, 0.7792882919311523, -0.13951341807842255, 0.2556408643722534, 0.6154872179031372, -0.3923895061016083, 0.26617592573165894, -0.6165611743927002, 0.5138832330703735, -0.9820165038108826, 0.18032941222190857, -0.1044287383556366, -0.2488512098789215, -0.6172131299972534, -0.39298176765441895, 0.40514251589775085, 0.09215984493494034, -0.045407991856336594, 0.3395114243030548, -0.7100813388824463, 0.3099816143512726, -0.6001347899436951, 0.040081292390823364, 0.1597558856010437, 0.47825169563293457, 0.35981979966163635, 0.8326845169067383, 0.5874976515769958, -0.6292779445648193, -0.11667705327272415, 0.2671894431114197, 0.1923912912607193, 0.6243854761123657, -0.5731885433197021, 0.38191404938697815, -0.26243487000465393, 0.16193737089633942, -0.7465937733650208, 0.022961217910051346, -0.042432740330696106, -0.29394951462745667, 0.7308895587921143, 0.14230889081954956, -0.3898645341396332, 0.004696990828961134, -0.15022221207618713, 0.7726911902427673, 0.8167637586593628, -0.7473521828651428, 0.8322743773460388, 0.3887745440006256, -0.2003527581691742, -0.24542094767093658, -1.1369649171829224, 0.42466679215431213, 0.21277309954166412, -0.42169299721717834, 0.6675887107849121, -0.06194589287042618, 0.3182642161846161, 0.011082842014729977, -0.1768920123577118, -0.031801410019397736, -0.2735150158405304, -0.1454298347234726, 0.18175636231899261, -0.059271544218063354, 0.05014284327626228, 0.29083698987960815, -0.4091397821903229, 0.2736274302005768, -0.42929932475090027, 0.33834564685821533, -0.13944678008556366, -0.3919045925140381, -0.27868932485580444, 0.5228464603424072, 0.16312363743782043, -0.2528846859931946, 0.5378015637397766, 0.5400469899177551, -0.42532843351364136, -0.21227839589118958, -0.7062007784843445, -0.23814044892787933, -0.49399280548095703, 0.6123977899551392, -0.4815047085285187, -0.9853721261024475, 0.2556588649749756, -0.1916113644838333, -0.32745206356048584, 0.3237871527671814, 0.5252257585525513, -0.24755366146564484, 0.822943925857544, 0.8008961081504822, 0.053359996527433395, 0.5017536282539368, -0.01262388750910759, 0.18515203893184662, -0.7437493801116943, -0.3980944752693176, -0.010462986305356026, 0.08560781925916672, -0.5827142596244812, -0.20979556441307068, 0.1666143387556076, -0.14678247272968292, 0.2154240608215332, 0.41625112295150757, -0.46068382263183594, 0.5140179991722107, 0.1994720995426178, 0.3699527680873871, 0.32023903727531433, 0.17275770008563995, -0.15737229585647583, -0.2540091872215271, -0.6300265192985535, -0.37672269344329834, 1.1170847415924072, 0.35271039605140686, 0.7704232335090637, -0.28867894411087036, 0.7616860270500183, 0.4011525809764862, 0.032109521329402924, -0.2968124747276306, 0.4676457345485687, -0.2825677990913391, -0.14160604774951935, 0.20961658656597137, -0.37280914187431335, -0.9272825121879578, 0.30276042222976685, -0.18089662492275238, -0.6045017242431641, 0.5671817064285278, 0.19895686209201813, -0.11268288642168045, 0.23458991944789886, -0.9546777606010437, 0.6822227835655212, -0.27959707379341125, -0.5191228985786438, -0.30050933361053467, -0.6602742075920105, 0.10087721049785614, -0.23323339223861694, 0.11460838466882706, 0.38346827030181885, -0.10120406001806259, 0.702285647392273, -0.11299396306276321, 0.7367702722549438, 0.05193283036351204, -0.28709447383880615, 0.20299024879932404, 0.13710112869739532, 0.4054854214191437, -0.18862316012382507, 0.07948392629623413, 0.2779746949672699, 0.06803732365369797, -0.4792870283126831, -0.5113773941993713, 0.8251454830169678, -0.7604621052742004, -0.23646636307239532, -0.41131648421287537, -0.10962452739477158, -0.3053613305091858, 0.05167268216609955, 0.42403656244277954, 0.44000187516212463, -0.45834001898765564, -0.014376213774085045, 0.9727720022201538, -0.366155207157135, 0.6767520308494568, 0.32214227318763733, -0.023549241945147514, -0.7187824249267578, 1.0988438129425049, -0.15565817058086395, 0.18985706567764282, 0.6794752478599548, -0.3643925189971924, -0.3223347067832947, -0.6042946577072144, -0.09737534075975418, 0.3268919289112091, -0.7187991738319397, -0.06662079691886902, -0.8518726229667664, -0.2237730622291565, -0.1654474437236786, -0.3538910448551178, -0.48676925897598267, -0.05028331279754639, -0.3554098904132843, -0.128839910030365, 0.0009234806057065725, 0.4530312716960907, -0.29490724205970764, 0.3223280906677246, -0.7568356990814209, 0.5881556272506714, 0.35057878494262695, 0.4898008704185486, -0.26387643814086914, -0.49751609563827515, -0.4102177023887634, -0.08865267038345337, 0.07668346911668777, -0.9986916780471802, 0.6146326661109924, 0.021725500002503395, 0.3629782497882843, 0.14383763074874878, 0.0794157087802887, 0.41171133518218994, -0.4194658696651459, 0.5156149864196777, 0.6009521484375, -1.0199321508407593, 0.4334535002708435, -0.10241580754518509, 0.33611446619033813, 0.6204582452774048, -0.0005774510791525245, -0.31187552213668823, -0.14467492699623108, -0.21267607808113098, -0.8852586150169373, 0.6662812232971191, 0.6770675778388977, 0.18610824644565582, -0.17665770649909973, 0.2921047508716583, 0.31276774406433105, -0.02497924491763115, -1.0215821266174316, -0.35400474071502686, -0.5468719005584717, -0.5526074767112732, 0.096482053399086, -0.43893030285835266, 0.2955278754234314, -0.05218593403697014, 0.39329928159713745, -0.046560581773519516, 0.8593713641166687, 0.49958476424217224, -0.503685474395752, 0.20579388737678528, 0.5285595059394836, 0.10991514474153519, 0.25391677021980286, -0.16867589950561523, 0.36091700196266174, 0.4156251549720764, -0.6911336779594421, 0.1551634967327118, 0.4661862850189209, 0.021475965157151222, 0.02176823280751705, 0.21141935884952545, 0.7065633535385132, 0.10451691597700119, -0.5010309219360352, 0.5958959460258484, -0.10271307826042175, -0.18836820125579834, -0.042489875108003616, -0.27726873755455017, -0.09893901646137238, 0.05215815082192421, 0.31592753529548645, -0.15612369775772095, 0.3926936089992523, -0.2156556397676468, 0.07259918749332428, 0.08796540647745132, -0.12978656589984894, -0.4957585632801056, 0.7140085101127625, 0.5648565292358398, -0.1344147026538849, 0.22889238595962524, -0.17708854377269745, -0.3766315281391144, 0.41243791580200195, 0.9482540488243103, 1.2030460834503174, -0.2223532497882843, -0.1482403725385666, 0.33200979232788086, 0.3883293867111206, -0.1584136188030243, 0.2899217903614044, -0.14388740062713623, -0.5855526924133301, -0.5096153020858765, -0.2778587341308594, -0.1631912738084793, 0.20525045692920685, -0.45486706495285034, 0.1394743174314499, -0.042034395039081573, 0.0050715371035039425, -0.6206248998641968, -0.38779473304748535, -0.6523945331573486, 0.2753193974494934, 0.37279829382896423, 0.6345435976982117, -0.6282348036766052, 0.9577338099479675, 0.5006253123283386, -0.2324845939874649, -0.3171989917755127, 0.2162860482931137, -0.5988009572029114, -0.4262843430042267, 0.3308408558368683, 0.2458336502313614, -0.46136391162872314, 0.2522793412208557, -0.26804783940315247, -0.48717761039733887, 1.0918622016906738, 0.4281432628631592, -0.9305883646011353, -0.05628914758563042, 0.12546956539154053, 0.5054178833961487, -0.3108847737312317, 0.3629879951477051, 0.4768311679363251, 0.259950190782547, -0.31981608271598816, -0.8922510743141174, 0.13659341633319855, -0.4688963294029236, 0.0559065155684948, 0.17890508472919464, -0.4717577397823334, 0.4626450836658478, 0.2594478130340576, -0.3430246412754059, -0.23121976852416992, 0.8788324594497681, 0.014062418602406979, 0.3666914105415344, 0.2162853330373764, 0.30378440022468567, 0.401375412940979, 0.1339966058731079, 0.794115424156189, -0.5092738270759583, 0.13778865337371826, 0.8817529678344727, -0.11760689318180084, 0.8164445757865906, 0.4641697406768799, -0.018966348841786385, 0.5693864822387695, 0.21623966097831726, 0.12273591011762619, 0.8057799339294434, -0.2798437178134918, -0.38363730907440186, -0.27280378341674805, 0.44444531202316284, -0.43066808581352234, 0.12477832287549973, 0.35952091217041016, -0.37481752038002014, -0.15435148775577545, 0.29169243574142456, -0.25436052680015564, 0.3684616982936859, -0.26896950602531433, 0.7030786275863647, 0.3370199203491211, -0.33528703451156616, 0.3373107314109802, 0.17610721290111542, 1.0232110023498535, -0.5346731543540955, -0.20166529715061188, -0.17079146206378937, 0.1865261048078537, -0.026128418743610382, -0.5507718920707703, 0.11120212823152542, 0.00907857809215784, 0.03665410354733467, -0.3349374234676361, 0.9992668628692627, -0.6453201770782471, -0.20508027076721191, 0.7246706485748291, 0.7289487719535828, -0.17882628738880157, 0.03904308006167412, -0.4550167918205261, -0.1638001650571823, -0.22228772938251495, -0.050506725907325745, 0.40508782863616943, 0.49182453751564026, 0.25777655839920044, 0.3498736619949341, 0.4057605564594269, -0.20013993978500366, 0.08034755289554596, -0.021137217059731483, 0.7930721640586853, -0.7869471907615662, -0.8635892868041992, -0.9410679936408997, 0.44171249866485596, -0.0268092043697834, 0.12619179487228394, 0.5773682594299316, 0.4611662030220032, 0.6623879075050354, -0.19181960821151733, 0.8316515684127808, 0.05109095945954323, 0.13478948175907135, -0.7199801802635193, 0.6794565320014954, -0.2826836407184601, 0.2240041196346283, -0.19749581813812256, -0.7255917191505432, -0.15176811814308167, 0.6153034567832947, -0.1263565570116043, 0.18028292059898376, 0.9992580413818359, 0.6896578669548035, -0.14657902717590332, -0.05228045582771301, 0.46040818095207214, 0.19697819650173187, 0.09506070613861084, 0.8221248984336853, 0.712792158126831, -0.5895944833755493, 0.7414697408676147, 0.08054307848215103, -0.3354809880256653, -0.17373323440551758, -0.9060509204864502, -0.9091286659240723, -0.5270236730575562, -0.5671105980873108, -0.3628741502761841, 0.28180354833602905, 0.8791438341140747, 0.4385751187801361, -0.9873316884040833, -0.1656021922826767, -0.5007317066192627, -0.3561885356903076, 0.014789722859859467, -0.12101862579584122, 0.5664826035499573, -0.3961198031902313, -0.5862950682640076, 0.5066186785697937, 0.47479939460754395, 0.21046681702136993, -0.1298549920320511, -0.25821343064308167, -0.016196055337786674, 0.14616899192333221, 0.8439593315124512, 0.35609951615333557, -0.3791409730911255, 0.06045160070061684, 0.22089527547359467, -0.3033005893230438, 0.27391570806503296, 0.624954104423523, -0.9630482196807861, 0.5499619245529175, 0.37266451120376587, 0.9771491885185242, 0.859440803527832, -0.4337056279182434, 0.7438226938247681, -0.464286208152771, -0.18173223733901978, 0.07113125920295715, 0.4429777264595032, 0.3993850648403168, -0.28105810284614563, 0.1907271146774292, 0.18170464038848877, -0.42989692091941833, -0.4382517635822296, 0.08560989797115326, -1.0765645503997803, -0.33266937732696533, 1.2168235778808594, -0.09083741903305054, -0.12721386551856995, -0.42132219672203064, -0.43118545413017273, 0.14409784972667694, -0.37280017137527466, 0.7896057963371277, 0.5723040103912354, -0.17595991492271423, -0.5083149075508118, -0.14101752638816833, 0.27577105164527893, 0.6593512892723083, -1.0322656631469727, -0.035613130778074265, 0.5121805667877197, 0.1706158071756363, -0.11879924684762955, 0.7777838110923767, -0.2976625859737396, 0.3086422085762024, 0.09211763739585876, 0.2326175421476364, -0.16531766951084137, -0.12135057151317596, -0.6508849263191223, 0.12395123392343521, -0.11882100254297256, -0.38710132241249084 ]
http://arxiv.org/abs/2402.17411v2
http://arxiv.org/pdf/2402.17411v2
Consistency Matters: Explore LLMs Consistency From a Black-Box Perspective
2024-02-27T11:02:12
2024-03-02T14:08:06
Fufangchen Zhao, Guoqiang Jin, Jiaheng Huang, Rui Zhao, Fei Tan
cs.CL
cs.CL
Nowadays both commercial and open-source academic LLM have become the mainstream models of NLP. However, there is still a lack of research on LLM consistency, meaning that throughout the various stages of LLM research and deployment, its internal parameters and capabilities should remain unchanged. This issue exists in both the industrial and academic sectors. The solution to this problem is often time-consuming and labor-intensive, and there is also an additional cost of secondary deployment, resulting in economic and time losses. To fill this gap, we build an LLM consistency task dataset and design several baselines. Additionally, we choose models of diverse scales for the main experiments. Specifically, in the LightGBM experiment, we used traditional NLG metrics (i.e., ROUGE, BLEU, METEOR) as the features needed for model training. The final result exceeds the manual evaluation and GPT3.5 as well as other models in the main experiment, achieving the best performance. In the end, we use the best performing LightGBM model as the base model to build the evaluation tool, which can effectively assist in the deployment of business models. Our code and tool demo are available at https://github.com/heavenhellchen/Consistency.git
[ -0.0753619372844696, -0.6136144399642944, 0.5692682266235352, 0.4411951005458832, -0.11838822811841965, -0.01899535395205021, -0.4160815477371216, -0.7967196702957153, -0.028550561517477036, 0.45021721720695496, -0.25511351227760315, -0.5354098081588745, -0.5397993922233582, 0.1649227738380432, -0.3167131245136261, 1.1770758628845215, -0.26246148347854614, 0.060264602303504944, -0.33479732275009155, -0.4699721038341522, -0.7024370431900024, -0.16221986711025238, -0.6822721362113953, -0.706749677658081, 0.4728451371192932, 0.13316981494426727, 1.0813928842544556, 0.7777657508850098, 0.5872266888618469, 0.15631020069122314, -0.294185608625412, 0.2201632708311081, -0.625338613986969, 0.09956210851669312, -0.45434141159057617, -0.5340883731842041, -0.42895567417144775, -0.007977615110576153, 0.5391539335250854, 0.7443552613258362, -0.5760483741760254, 0.1490207016468048, 0.31303369998931885, 0.5249105095863342, -0.44576185941696167, 0.11495059728622437, -0.8202798366546631, 0.000595632242038846, 0.08130916953086853, 0.09728974103927612, -0.33713266253471375, -0.32492151856422424, -0.20745868980884552, -0.6959130764007568, 0.37078097462654114, 0.048284273594617844, 1.100330114364624, 0.28087353706359863, -0.34887614846229553, 0.06678878515958786, -1.0189180374145508, 0.7642660140991211, -0.8803215622901917, 0.4354895353317261, 0.14410661160945892, 0.08450259268283844, -0.30435454845428467, -0.6299523115158081, -0.4099935293197632, -0.21191120147705078, 0.03480023890733719, 0.1814102679491043, -0.12397576868534088, -0.060300737619400024, 0.14713354408740997, 0.24028491973876953, -0.5095320343971252, 0.42062661051750183, -0.20005574822425842, -0.0756116658449173, 0.6403831243515015, 0.25664395093917847, -0.03163555637001991, 0.25259894132614136, -0.39457976818084717, 0.17708934843540192, -0.8819255828857422, -0.14431537687778473, 0.28797292709350586, 0.03982838988304138, -0.08886421471834183, 0.7931897640228271, -0.12127858400344849, 0.6382664442062378, 0.12570446729660034, -0.12645676732063293, 0.03847438097000122, -0.5777611136436462, -0.32542097568511963, -0.17259815335273743, 0.7307581901550293, 0.4378216564655304, -0.06941370666027069, -0.4679080843925476, -0.5000556707382202, 0.2561209201812744, 0.7289889454841614, -0.480453222990036, -0.19858418405056, 0.26582255959510803, -0.3283001184463501, -0.11584147065877914, -0.34264421463012695, -0.2549743056297302, -0.5157074332237244, -0.6814591884613037, 0.7325600385665894, -0.22564801573753357, -0.36873379349708557, 0.2699335217475891, 0.17770926654338837, 0.23820188641548157, 0.5664848685264587, -1.0165283679962158, 0.2529580593109131, 1.0699870586395264, 0.8822878003120422, -0.36491137742996216, -0.22484363615512848, 0.03009287267923355, 0.19642405211925507, -0.5774734616279602, 0.33696499466896057, 0.091315358877182, -0.2635786235332489, 0.03510843217372894, 0.0659075528383255, 0.07617641240358353, -0.8891223669052124, 0.43715032935142517, -0.23771923780441284, -0.13900426030158997, -0.15183459222316742, -0.8264495134353638, -0.001718967454507947, 0.4754829704761505, -0.2608697712421417, 1.0051288604736328, 0.06277848780155182, -0.6361403465270996, 0.516785740852356, -0.37673085927963257, 0.08440344035625458, 0.33658871054649353, -0.44108089804649353, -0.7763370275497437, 0.32693710923194885, -0.47279125452041626, 0.44795024394989014, 0.016028137877583504, 0.5416674017906189, -0.32066190242767334, -0.6273811459541321, 0.14492614567279816, -0.22552070021629333, 0.8215514421463013, 0.05126345530152321, -0.42098408937454224, 0.08251754194498062, -0.8545522093772888, -0.04577090963721275, 0.14513427019119263, -0.4022897481918335, -0.01926981471478939, 0.19626116752624512, 0.13778547942638397, -0.01419264730066061, 0.4959239959716797, -0.6567844748497009, 0.32475268840789795, 0.010696619749069214, 0.2835511863231659, 0.8050771355628967, -0.1650954782962799, 0.31665924191474915, -0.5643459558486938, 0.3970905542373657, -0.03177988901734352, 0.1303388923406601, 0.14523668587207794, -0.5901368856430054, -0.7682555317878723, 0.0429387129843235, 0.3219245970249176, 0.34789544343948364, -0.27559521794319153, 0.4958270490169525, -0.2777867615222931, -0.588618278503418, -0.7861796021461487, 0.3862684369087219, 0.13114778697490692, 0.6033021807670593, 0.2756424844264984, -0.23342689871788025, -0.4348519742488861, -1.0758790969848633, -0.07481854408979416, -0.2776498794555664, -0.1487124264240265, 0.06635165959596634, 0.46345117688179016, -0.6910276412963867, 1.1198207139968872, -0.3228995203971863, -0.21100148558616638, -0.13268283009529114, 0.03906342759728432, 0.3703153431415558, 0.6056501865386963, 0.34995630383491516, -0.7142740488052368, -0.4065295159816742, 0.14151832461357117, -0.9674949049949646, -0.1853335052728653, -0.13074557483196259, -0.24276426434516907, 0.16621065139770508, 0.35505038499832153, -0.5723533034324646, 0.35217684507369995, 0.7873290181159973, -0.2456691563129425, 0.7503600716590881, -0.45505622029304504, -0.07207344472408295, -0.8313778042793274, 0.03460489958524704, 0.27933162450790405, -0.3766171336174011, -0.6557457447052002, -0.015460497699677944, 0.37622231245040894, 0.026065468788146973, -0.41275086998939514, 0.6121343970298767, -0.2506525218486786, -0.045181017369031906, -0.3637296259403229, 0.03999035805463791, 0.32654574513435364, 0.3654794991016388, 0.04166245087981224, 0.8880718946456909, 0.3907967507839203, -0.6283823847770691, -0.02994040958583355, 0.21213775873184204, -0.2582884132862091, 0.7592922449111938, -1.0102710723876953, 0.17398948967456818, 0.2024524062871933, -0.07977902889251709, -0.7745323181152344, 0.15903595089912415, 0.29924580454826355, -0.08002809435129166, 0.3704689145088196, -0.27463850378990173, -0.9340787529945374, 0.12763138115406036, 0.043900564312934875, 0.04894213750958443, 0.6164505481719971, -0.41997045278549194, 0.456855446100235, 0.3570546507835388, 0.025107920169830322, -0.5532039999961853, -0.8098903894424438, 0.10019887238740921, -0.0007229564944282174, -0.7067394256591797, 0.463221937417984, -0.3911367654800415, -0.30614519119262695, -0.005397050175815821, -0.5582693219184875, 0.017360461875796318, 0.36188530921936035, 0.30029812455177307, 0.24928319454193115, -0.2536051571369171, -0.04369869455695152, -0.3589881658554077, 0.06788545101881027, 0.028933394700288773, -0.42161476612091064, 0.061221811920404434, -0.1755473017692566, -0.5430441498756409, -0.3888837695121765, -0.024447904899716377, 0.21253463625907898, 0.2666532099246979, 0.9538324475288391, 0.5603306889533997, -0.31110256910324097, -0.29189178347587585, -0.5749748945236206, 0.0010068068513646722, -0.49889814853668213, 0.1426447033882141, -0.005553844850510359, -0.6648747324943542, 0.5534660816192627, 0.1387997716665268, 0.5725648403167725, 0.17312131822109222, 0.42828568816185, -0.3344341516494751, 0.7366105318069458, 1.1263790130615234, 0.23845012485980988, 0.33779215812683105, -0.1370343714952469, 0.22520317137241364, -0.8763351440429688, -0.4250408411026001, -0.3875909447669983, -0.3147341012954712, -0.4983314573764801, -0.2566950023174286, 0.31839829683303833, 0.468522846698761, -0.06711431592702866, 0.4000566601753235, -0.5406498312950134, 0.4214155375957489, 0.23789682984352112, 0.15676890313625336, 0.494377076625824, -0.10935023427009583, -0.07676699757575989, -0.15294687449932098, -0.778572142124176, -0.7975893616676331, 1.132092833518982, 0.4280267059803009, 0.874352216720581, 0.11228860914707184, 0.8079841136932373, 0.16688860952854156, 0.5180744528770447, -0.6283687949180603, 0.5973359942436218, 0.0650472566485405, -0.5887443423271179, -0.1640905737876892, -0.6312665343284607, -1.3844681978225708, 0.38929060101509094, -0.23991622030735016, -0.6082413196563721, 0.12995794415473938, 0.3046971261501312, 0.08396929502487183, 0.30524519085884094, -0.5616152286529541, 0.9223551750183105, -0.40094462037086487, -0.7805836796760559, -0.018197916448116302, -0.34601426124572754, 0.18403229117393494, -0.11163081228733063, 0.05198918282985687, -0.37509509921073914, -0.19525587558746338, 0.6235868334770203, -0.20681942999362946, 0.8506028056144714, 0.07468216121196747, -0.31705525517463684, -0.0330563485622406, 0.13054440915584564, 0.5630355477333069, 0.1193370372056961, -0.05207688733935356, 0.7143442034721375, -0.2505352199077606, -0.5933827757835388, -0.5269073247909546, 0.5637906193733215, -0.7930967211723328, -0.6322471499443054, -0.26526641845703125, -0.6118434071540833, -0.17374259233474731, 0.2535146176815033, 0.11965036392211914, 0.013516251929104328, -0.31072020530700684, 0.4489355981349945, 1.0744348764419556, 0.013207264244556427, 0.3587482273578644, 0.74336177110672, -0.3290571868419647, -0.1178092509508133, 0.5548191666603088, 0.3575611412525177, 0.4315268099308014, 0.09613542258739471, 0.01742534153163433, -0.26539918780326843, -1.1291272640228271, -0.27787235379219055, 0.20161162316799164, -0.7064921259880066, -0.1683463752269745, -0.5826500058174133, -0.2773473560810089, -0.2157982438802719, -0.3200226426124573, -0.518108069896698, -0.150506854057312, -0.29484260082244873, -0.03455163165926933, 0.16437208652496338, 0.9036172032356262, 0.03545112907886505, 0.282328337430954, -0.4798530042171478, 0.4588980972766876, 0.07517989724874496, 0.6796109676361084, -0.28110772371292114, -0.6090824007987976, -0.6929399967193604, 0.1215754896402359, -0.5428098440170288, -0.5433235168457031, 0.10430503636598587, -0.06989273428916931, 0.8231398463249207, 0.1108887791633606, -0.20929758250713348, 0.4975934624671936, -0.44226059317588806, 0.7154839634895325, 0.2049407660961151, -0.8357293605804443, 0.37429186701774597, -0.5985767841339111, 0.38917097449302673, 0.6934964656829834, 0.24146103858947754, -0.6874325275421143, -0.591773509979248, -0.9581500291824341, -1.0055030584335327, 0.3889633119106293, 0.37531617283821106, -0.2083568423986435, 0.32316505908966064, 0.46552595496177673, 0.261487752199173, 0.4506481885910034, -1.1103185415267944, -0.3390003442764282, -0.023527471348643303, -0.3284603953361511, -0.2584819793701172, -0.11673005670309067, -0.40598464012145996, 0.19986791908740997, 0.6569575071334839, 0.02352754957973957, -0.08974610269069672, -0.09586349874734879, -0.18949291110038757, 0.11039570719003677, 0.18199273943901062, 0.5644316077232361, 1.1784553527832031, -0.3246707022190094, 0.08959022909402847, 0.025149067863821983, -0.4464145004749298, 0.4558066725730896, -0.07250677049160004, -0.6577708125114441, 0.21573331952095032, 0.1579902470111847, 0.5209792852401733, 0.4095715284347534, -0.45553597807884216, 0.30926546454429626, 0.11027120053768158, -0.3159571886062622, -0.23067030310630798, 0.35205718874931335, 0.23516878485679626, 0.17209593951702118, 0.2254510521888733, 0.2711353302001953, -0.2323610782623291, -0.4605698883533478, 0.12274186313152313, 0.3588706851005554, -0.11830510944128036, -0.05036443844437599, 0.9110382795333862, -0.051048342138528824, -0.4214329719543457, 0.4079764485359192, -0.21117240190505981, -0.013316873461008072, 0.726799488067627, 0.4501730799674988, 0.7426363825798035, 0.15112608671188354, 0.21564926207065582, -0.10663611441850662, 0.5908564925193787, -0.763392984867096, 0.20035456120967865, 0.29128071665763855, -0.8035610318183899, -0.3142092227935791, -0.5220940113067627, -0.9211643934249878, 0.17486447095870972, -0.5340359807014465, 0.3834356963634491, -0.6429742574691772, -0.12975521385669708, -0.10891293734312057, 0.2842056155204773, -0.7775880098342896, 0.14119969308376312, 0.08523764461278915, 0.7291763424873352, -0.744749128818512, 0.7251793146133423, 0.4778101146221161, -0.30938684940338135, -0.6226760149002075, -0.3591693043708801, 0.12531715631484985, -0.5277798771858215, 0.23718802630901337, 0.03727753087878227, 0.0033112468663603067, -0.27106133103370667, -0.5309751033782959, -0.757724940776825, 1.2193015813827515, 0.6181307435035706, -1.0108108520507812, 0.33535638451576233, -0.03586577624082565, 0.7434764504432678, -0.3242328464984894, 0.10182961821556091, 0.22753296792507172, 0.45695415139198303, -0.3143950402736664, -0.9150276184082031, -0.24001498520374298, 0.10946173220872879, 0.09500842541456223, 0.14886988699436188, -0.6633050441741943, 0.5057843923568726, -0.0037404673639684916, -0.1803734451532364, -0.2003488391637802, 0.6350484490394592, 0.7294765114784241, 0.5821685194969177, 0.17223016917705536, 0.6795230507850647, 0.932304322719574, -0.1729978322982788, 0.9001561403274536, -0.2393961399793625, 0.3350525200366974, 1.334599494934082, -0.569244921207428, 0.7415463924407959, 0.3720315992832184, -0.2070847600698471, 0.1428464949131012, 0.6493500471115112, -0.5640121698379517, 0.15321046113967896, 0.2925429940223694, 0.025814177468419075, 0.20790815353393555, -0.06152097508311272, -0.2940478026866913, 0.07928112149238586, -0.017297042533755302, -0.015437861904501915, -0.043310921639204025, -0.28561776876449585, 0.10071239620447159, 0.11687327176332474, -0.3561747372150421, 0.6084047555923462, 0.13643644750118256, -0.421592116355896, 0.6334272623062134, -0.005351785104721785, 0.8312714099884033, -0.865523636341095, 0.18364331126213074, -0.3487924039363861, 0.23425620794296265, -0.35285842418670654, -0.8621380925178528, 0.4361988604068756, -0.17767402529716492, -0.2655637264251709, -0.5504975318908691, 0.4078797399997711, -0.7790542840957642, -0.3906044363975525, 0.4330134987831116, 0.4463612735271454, 0.16666391491889954, 0.24352174997329712, -0.7937278747558594, 0.3036845922470093, -0.19636249542236328, -0.08609259128570557, 0.6034397482872009, 0.5389002561569214, 0.2593281865119934, 0.7766938209533691, 0.4684434235095978, 0.47215476632118225, 0.20016203820705414, 0.05695457383990288, 0.29035672545433044, -0.5166128873825073, -0.16098226606845856, -0.7057187557220459, 0.5657482147216797, -0.009691414423286915, -0.27835896611213684, 1.0168735980987549, 0.7092100381851196, 0.9154544472694397, 0.13165844976902008, 0.5583720803260803, 0.3166266679763794, 0.1565537303686142, -0.5549396276473999, 0.5878457427024841, -0.5593109726905823, 0.5669658184051514, -0.12236284464597702, -1.1368392705917358, -0.13522721827030182, 0.4785178005695343, 0.11101004481315613, -0.0419401153922081, 0.45368754863739014, 0.8018181324005127, -0.16005438566207886, -0.23733261227607727, 0.5464871525764465, 0.1578557938337326, 0.37953925132751465, 0.28129997849464417, 0.6620452404022217, -0.3904491364955902, 0.38384708762168884, -0.17914870381355286, 0.07278051972389221, -0.2632181644439697, -1.2109885215759277, -0.3987925052642822, -0.20919571816921234, -0.9613456726074219, -0.61854088306427, 0.11492294818162918, 0.7348973155021667, 0.887102484703064, -0.5561821460723877, -0.49335628747940063, -0.2707720100879669, 0.3350560963153839, -0.5024813413619995, -0.23265321552753448, -0.06290717422962189, -0.4423712193965912, -0.49173036217689514, 0.30344754457473755, 0.488386332988739, 0.340588241815567, -0.3419433832168579, 0.0512569285929203, -0.15276499092578888, 0.05665956065058708, 0.26897820830345154, 0.1881154179573059, -0.603725254535675, -0.15716169774532318, -0.21022938191890717, -0.3681483268737793, 0.4293869435787201, 0.6779004335403442, -0.36910480260849, 0.2702084481716156, 0.25198543071746826, 0.9171306490898132, 0.5464839935302734, -0.1383781135082245, 0.7186340689659119, -0.7526793479919434, 0.022460009902715683, 0.2480551153421402, 0.5287682414054871, 0.5898134708404541, -0.5056232213973999, 0.886432409286499, 0.23168706893920898, -0.9541109204292297, -0.8561035394668579, 0.2332700788974762, -1.0633145570755005, -0.25430023670196533, 1.103041648864746, -0.2937522530555725, 0.05587446317076683, -0.33410316705703735, 0.0833497866988182, -0.021430589258670807, -0.19267506897449493, 0.937431812286377, 0.8740655779838562, -0.19282051920890808, -0.18582385778427124, -0.7635548114776611, 0.3734510540962219, 0.5570595860481262, -0.6163478493690491, 0.09852317720651627, 0.2908925712108612, 0.5738234519958496, 0.22077889740467072, 0.6466503143310547, 0.13952374458312988, -0.02773275226354599, 0.039765674620866776, 0.2463933229446411, 0.012750637717545033, -0.383240669965744, -0.6641106009483337, 0.17670129239559174, 0.1261482685804367, 0.046205032616853714 ]
http://arxiv.org/abs/2402.17407v1
http://arxiv.org/pdf/2402.17407v1
A Neural Rewriting System to Solve Algorithmic Problems
2024-02-27T10:57:07
2024-02-27T10:57:07
Flavio Petruzzellis, Alberto Testolin, Alessandro Sperduti
cs.NE
cs.NE, cs.AI, cs.CL
Modern neural network architectures still struggle to learn algorithmic procedures that require to systematically apply compositional rules to solve out-of-distribution problem instances. In this work, we propose an original approach to learn algorithmic tasks inspired by rewriting systems, a classic framework in symbolic artificial intelligence. We show that a rewriting system can be implemented as a neural architecture composed by specialized modules: the Selector identifies the target sub-expression to process, the Solver simplifies the sub-expression by computing the corresponding result, and the Combiner produces a new version of the original expression by replacing the sub-expression with the solution provided. We evaluate our model on three types of algorithmic tasks that require simplifying symbolic formulas involving lists, arithmetic, and algebraic expressions. We test the extrapolation capabilities of the proposed architecture using formulas involving a higher number of operands and nesting levels than those seen during training, and we benchmark its performance against the Neural Data Router, a recent model specialized for systematic generalization, and a state-of-the-art large language model (GPT-4) probed with advanced prompting strategies.
[ 0.1439383327960968, -0.7310764789581299, 0.4609013795852661, 0.1808253675699234, -0.13113266229629517, 0.08031608909368515, -0.06850374490022659, -0.19090530276298523, 0.5953060388565063, 0.3915129005908966, -0.7913693785667419, -0.2502761781215668, -0.43660682439804077, 0.09485705941915512, -0.39575543999671936, 0.8354570269584656, -0.292202889919281, 0.0579226016998291, 0.008213702589273453, 0.11475326120853424, -0.5325562357902527, -0.45056504011154175, -0.8177348375320435, -0.664686918258667, 0.6185894012451172, 0.0753188356757164, 0.44165030121803284, 0.8450888991355896, 0.4438396394252777, 0.49972930550575256, 0.06363103538751602, 0.1306988149881363, -0.051316458731889725, 0.29027312994003296, 0.03974708542227745, -0.7443436980247498, -0.3173072934150696, -0.32515406608581543, 0.5694666504859924, 0.7879312634468079, -0.4614063501358032, 0.10076254606246948, -0.32222115993499756, 0.6748631596565247, -0.39952540397644043, 0.580379068851471, -0.7002204060554504, 0.2578571140766144, 0.24807806313037872, -0.23674297332763672, -0.38012295961380005, -0.2950912415981293, 0.11025667190551758, -0.7965825200080872, 0.20301346480846405, -0.23391114175319672, 0.21567392349243164, 0.6089950799942017, -0.019627513363957405, -0.29348495602607727, -0.5898671746253967, 0.6087138056755066, -0.4535098671913147, 0.2286369502544403, -0.016995083540678024, 0.5287162065505981, -0.23985081911087036, -0.860511302947998, -0.3361242413520813, -0.2794520854949951, -0.003571279812604189, -0.12812559306621552, -0.38233673572540283, -0.08313657343387604, 0.14111028611660004, 0.09712822735309601, -0.3561755418777466, -0.31550076603889465, -0.6447136402130127, -0.10514584928750992, 0.6399062275886536, 0.36249980330467224, 0.19719946384429932, 0.05895290896296501, -0.06468448042869568, 0.0401945561170578, -0.7429069876670837, -0.2298283576965332, 0.2722789943218231, 0.11517000198364258, 0.3867698907852173, 0.3421139419078827, -0.26859691739082336, 0.4983406364917755, -0.02654162235558033, 0.3379581868648529, 0.3128673732280731, 0.04715466871857643, -0.37469327449798584, -0.08849339187145233, 0.364151269197464, -0.10661284625530243, 0.4184158444404602, -0.2535130977630615, -0.6117274761199951, 0.02073233760893345, 0.6357371211051941, -0.41470223665237427, -0.4295859932899475, -0.12776388227939606, -0.5298687815666199, -0.22284923493862152, -0.46540769934654236, -0.24508757889270782, -0.11453798413276672, -0.7112507820129395, 0.649560272693634, -0.49395301938056946, 0.12230697274208069, 0.252973347902298, -0.16908851265907288, 0.003245340660214424, 0.3688773810863495, -0.9103261232376099, 0.44758546352386475, 0.8944177627563477, 0.7245447039604187, 0.16382694244384766, -0.48879939317703247, -0.1875630021095276, -0.036861009895801544, -0.36495742201805115, 0.5790101885795593, -0.5373438000679016, 0.0731404572725296, -0.1207229495048523, -0.24651393294334412, -0.2647225558757782, -0.45449531078338623, 0.21248775720596313, -0.8273361921310425, -0.24244874715805054, 0.029557377099990845, -0.4304446578025818, -0.28229331970214844, 0.2846134305000305, -0.8323673009872437, 0.45935389399528503, 0.08866029232740402, -0.24761374294757843, -0.14964158833026886, -0.6932212114334106, -0.6113996505737305, -0.024572795256972313, -0.2117987871170044, -0.3505689203739166, 0.5936892032623291, 0.01928684674203396, 0.10221163183450699, -0.2981721758842468, 0.35249757766723633, 0.2280057966709137, -0.6214999556541443, 0.12821771204471588, -0.5645648837089539, 0.5436335206031799, 0.15362520515918732, -0.5237129330635071, 0.3671010732650757, -0.6525973677635193, 0.2522681653499603, 0.07863223552703857, -0.49572640657424927, -0.09642726927995682, 0.16018374264240265, -0.39063113927841187, 0.13664031028747559, 0.38934317231178284, -0.5904302597045898, 0.32565709948539734, -0.5567573308944702, 0.8395904898643494, 0.8800503611564636, -0.3046007454395294, 0.35974758863449097, -0.43188509345054626, 0.5019156336784363, -0.2077244371175766, -0.035258952528238297, -0.2683112323284149, -0.48353245854377747, -0.8159642219543457, 0.06721178442239761, 0.11781691759824753, 0.4898947477340698, -0.8793370723724365, 0.20664316415786743, -0.27511289715766907, -0.5456815958023071, -0.5466475486755371, 0.04595840349793434, 0.6990626454353333, 0.31511390209198, 0.36448442935943604, 0.00018872351211030036, -0.5179682970046997, -1.2348524332046509, -0.30105525255203247, -0.01820683293044567, 0.04375004023313522, 0.21178826689720154, 0.521504282951355, 0.07827930152416229, 0.2844945788383484, -0.5702505111694336, -0.07497026026248932, -0.17092575132846832, 0.11155011504888535, 0.3164505362510681, 0.5759508013725281, -0.15396571159362793, -0.5931122303009033, -0.2717711627483368, 0.04277927428483963, -0.7384560108184814, -0.007802248932421207, -0.15412865579128265, 0.04477468505501747, 0.0057412744499742985, 0.761124849319458, -0.7777104377746582, 0.46809807419776917, 0.14671827852725983, 0.003685661358758807, 0.6104012727737427, -0.5581273436546326, -0.21233385801315308, -0.9000770449638367, -0.04891947656869888, -0.24736791849136353, 0.28629475831985474, -0.5706428289413452, 0.577582061290741, -0.13747242093086243, -0.14637868106365204, -0.332650750875473, 0.11559002101421356, -0.3405747413635254, -0.04261650890111923, -0.42307770252227783, -0.39326685667037964, -0.2710692286491394, 0.8254042267799377, -0.013837437145411968, 0.4336087703704834, 0.5757114291191101, -0.3786679208278656, 0.6429295539855957, 0.12195072323083878, -0.05825062841176987, 0.13431231677532196, -0.9584317207336426, 0.1990060806274414, -0.4534081518650055, 0.39775869250297546, -0.7547205686569214, -0.02761744149029255, 0.2800612151622772, -0.1777980625629425, -0.059926457703113556, -0.0659402459859848, -0.31466543674468994, -0.09769152849912643, -0.05064192786812782, 0.7393821477890015, 0.4950362741947174, -0.30804574489593506, 1.1287187337875366, -0.08853941410779953, 0.022805295884609222, -0.5997248888015747, -0.7025581002235413, 0.12796640396118164, 0.075712189078331, -0.5766952633857727, 0.6343027353286743, 0.04499073699116707, -0.08986365795135498, 0.04690691828727722, 0.04503689706325531, -0.11892127990722656, 0.034606460481882095, 0.09059067815542221, -0.10219242423772812, -0.340539813041687, 0.13893134891986847, 0.17979131639003754, -0.26678889989852905, 0.3012215793132782, -0.524090588092804, 0.7632438540458679, 0.0005814442993141711, -0.5939410924911499, -0.7189568281173706, 0.7433992624282837, 0.610399067401886, -0.4051489531993866, 0.35838156938552856, 0.014648889191448689, -0.5539354085922241, -0.6131565570831299, -0.05296802520751953, -0.22725781798362732, -0.5065919756889343, 0.6045889258384705, -0.727862536907196, -0.4455450177192688, 0.4546454846858978, 0.22109955549240112, 0.28068625926971436, 0.3263498544692993, 0.5519040822982788, 0.20211881399154663, 0.9064757227897644, 0.5147464871406555, 0.015894856303930283, 0.522226095199585, -0.34305229783058167, 0.2666056752204895, -0.5257365703582764, -0.3789873421192169, -0.2592279613018036, -1.0080162286758423, -0.49307066202163696, -0.20940163731575012, 0.20823706686496735, -0.2990027964115143, -0.31978315114974976, 0.4591175317764282, -0.6104104518890381, 0.5707229375839233, 0.9563330411911011, 0.3772541880607605, 0.022442903369665146, 0.2595968246459961, -0.01875944994390011, 0.3050726354122162, -0.6479176878929138, -0.22148889303207397, 1.1001983880996704, 0.10981854051351547, 0.7377885580062866, 0.06103060394525528, 0.8325290679931641, 0.11591272056102753, 0.4701240360736847, -0.7338634729385376, 0.6259046792984009, -0.4222528040409088, -0.39046549797058105, -0.23925895988941193, -0.4512619972229004, -0.7793938517570496, 0.1923888772726059, 0.28076136112213135, -0.4353101849555969, 0.13013629615306854, 0.22933615744113922, -0.3596557378768921, 0.24643826484680176, -0.8449522852897644, 0.5163812637329102, -0.231734037399292, -0.04370106756687164, -0.45838794112205505, -0.5261467695236206, 0.13731132447719574, -0.008989677764475346, -0.22865986824035645, 0.3842218220233917, -0.09937155991792679, 0.610275149345398, -0.5838050842285156, 1.035690188407898, -0.13489937782287598, -0.03586674854159355, 0.15951956808567047, 0.22248417139053345, 0.4544200003147125, -0.26652365922927856, -0.35181987285614014, -0.1883375644683838, -0.19466643035411835, -0.2747941315174103, -1.0775213241577148, 0.6944872736930847, -0.6955386996269226, -0.7256131172180176, -0.027556249871850014, -0.7616519331932068, 0.16566281020641327, 0.20377130806446075, -0.01384015940129757, 0.5248098969459534, -0.005541843827813864, -0.042138490825891495, 0.34237051010131836, 0.14380259811878204, 0.3891565203666687, 0.22256499528884888, 0.2950775921344757, -0.4060088098049164, 1.0351890325546265, 0.11310570687055588, 0.07549920678138733, 0.44436222314834595, 0.1762736290693283, -0.12513838708400726, -0.767595112323761, -0.5221306085586548, -0.04130258411169052, -0.8630589842796326, -0.21396520733833313, -0.520783543586731, -0.3230655789375305, -0.1842019110918045, -0.16681332886219025, -0.18968042731285095, -0.45599719882011414, -0.13286374509334564, 0.04778525233268738, 0.07229509949684143, 0.8693334460258484, 0.14212310314178467, 0.4356476962566376, -0.5281842947006226, 0.19932526350021362, 0.2618766129016876, 0.3693811297416687, 0.2460397481918335, -0.25504088401794434, -0.08292459696531296, 0.03313940763473511, -0.34967800974845886, -0.7420310974121094, 0.3771817684173584, 0.2477312684059143, 0.49161821603775024, 0.04101810231804848, -0.35121050477027893, 0.5274964570999146, -1.0645729303359985, 0.23602032661437988, -0.08579783886671066, -0.844167172908783, 0.12936349213123322, -0.12365559488534927, -0.027252554893493652, 0.4964519143104553, 0.09521948546171188, -0.47080546617507935, 0.039354924112558365, -0.5685856342315674, -0.7013835906982422, 0.4376737177371979, 0.18776382505893707, 0.36641791462898254, -0.06238038092851639, 0.9168321490287781, -0.08319540321826935, 0.34850186109542847, -0.5132545232772827, -0.3088424503803253, -0.2502252161502838, -0.5060870051383972, -0.08610446751117706, 0.12525980174541473, 0.014089254662394524, -0.21320542693138123, 0.5108345150947571, -0.11304298043251038, 0.4026382565498352, 0.10144566744565964, -0.025529785081744194, 0.11935949325561523, 0.16852182149887085, 0.637441873550415, 0.5264942646026611, 0.2832881212234497, 0.21519310772418976, -0.08199123293161392, -0.18394193053245544, 0.31881773471832275, 0.11825380474328995, -0.4988800287246704, -0.1548302322626114, 0.3896348178386688, 0.6595199704170227, 0.22807763516902924, -0.5547891855239868, 0.1487545371055603, 0.11123722791671753, -0.44200897216796875, -0.3551214039325714, 0.3400707244873047, 0.2762981057167053, 0.4014183282852173, 0.23608572781085968, 0.2660037875175476, 0.25129926204681396, -0.4679153561592102, 0.37595927715301514, 0.4392975866794586, -0.19810539484024048, -0.5174170732498169, 0.4119580090045929, -0.0000222915241465671, -1.0514061450958252, 0.7224293947219849, -0.034878864884376526, -0.7287429571151733, 0.9464183449745178, 1.001804232597351, 0.9069028496742249, -0.17874844372272491, 0.19887632131576538, -0.059578802436590195, 0.44211968779563904, -0.04718305170536041, 0.5850028991699219, -0.12461164593696594, -0.5736808776855469, -0.5419053435325623, -0.6230089068412781, -0.08888591825962067, -0.1087823212146759, -0.15318119525909424, -0.13370823860168457, -0.7721722722053528, 0.3311578333377838, 0.27658611536026, -0.28160950541496277, -0.4434703290462494, 0.18486130237579346, -0.23916606605052948, 0.9259263873100281, -0.7345232963562012, 0.44885262846946716, 0.8729783296585083, -0.4052075445652008, -1.1071118116378784, -0.3418527841567993, -0.21273668110370636, -0.8166466355323792, 0.9577608108520508, 0.03420117124915123, -0.22074437141418457, 0.060200285166502, -0.2842172384262085, -0.8936913013458252, 0.8499904870986938, 0.6242395043373108, -0.3488695025444031, -0.44026660919189453, 0.0922061949968338, 0.80406254529953, -0.6254624128341675, 0.16997623443603516, 0.4529323875904083, 0.34862056374549866, 0.07646884024143219, -0.7259159088134766, 0.1399429440498352, -0.699334442615509, -0.22506152093410492, 0.2580551505088806, -0.440055251121521, 1.3765819072723389, 0.04436349496245384, 0.13763634860515594, 0.4455747902393341, 0.5081450343132019, 0.08481210470199585, 0.22457578778266907, 0.3442206382751465, 0.624815046787262, 0.38546156883239746, 0.10818690806627274, 0.9871448278427124, -0.11844814568758011, -0.08480578660964966, 1.0219051837921143, -0.07531414926052094, 0.8256808519363403, 0.5831058621406555, 0.1641169935464859, 0.6538482904434204, 0.19357067346572876, 0.048536285758018494, 0.42937585711479187, 1.0007174015045166, -0.3362603187561035, -0.23511870205402374, 0.2094278484582901, -0.018193040043115616, 0.5648994445800781, 0.08952051401138306, -0.6970441937446594, -0.5247437357902527, -0.1993827223777771, -0.40712523460388184, 0.13908633589744568, -0.3844755291938782, 0.6470391154289246, -0.027826722711324692, -0.9112429618835449, 0.4783782958984375, 0.27836117148399353, 0.39705750346183777, -0.4934453070163727, -0.3894699513912201, -0.0023962499108165503, 0.5511513948440552, -0.12570755183696747, -0.3338961899280548, 0.6259118914604187, -0.3560754060745239, -0.24110683798789978, -0.22506676614284515, 0.38519155979156494, -0.1631087213754654, -0.7765335440635681, -0.07231862843036652, 0.478196918964386, 0.13742683827877045, -0.3230474293231964, -0.6114005446434021, -0.11087805777788162, 0.06476228684186935, -0.13474756479263306, 0.0036978810094296932, 0.3963903486728668, -0.3121773302555084, 0.9159579277038574, 0.7406168580055237, 0.08750364929437637, 0.3538162112236023, -0.04128937050700188, 1.0770819187164307, -0.5691649913787842, -0.5771880149841309, -0.7612870931625366, 0.12114559859037399, 0.19439274072647095, -0.35814371705055237, 0.3112359642982483, 0.2901730239391327, 0.6454966068267822, -0.172405406832695, 0.6136143803596497, 0.16158635914325714, -0.11679898202419281, -0.46880990266799927, 0.6388100385665894, -0.4833788573741913, 0.32153064012527466, 0.044454582035541534, -0.8249730467796326, -0.5394800901412964, 0.6896702647209167, -0.3393601179122925, 0.10046019405126572, 0.5332273840904236, 0.8767141103744507, -0.1552295833826065, 0.15028198063373566, 0.1795325130224228, -0.04128574579954147, 0.4631381630897522, 0.9442713260650635, 0.8406535983085632, -0.3320923447608948, 0.409566193819046, -0.16886687278747559, -0.1982848048210144, 0.1208857074379921, -0.5308956503868103, -0.5722320675849915, -0.4559069871902466, -0.10382448881864548, -0.0696418434381485, 0.36185571551322937, 0.9286003708839417, 0.5133107900619507, -0.5542554259300232, -0.0800841897726059, -0.5596812963485718, 0.14350765943527222, -0.48269397020339966, -0.11446753144264221, 0.584669291973114, -0.474388062953949, -0.5989844799041748, 0.6157556772232056, 0.07333506643772125, -0.42370593547821045, -0.3362393379211426, 0.05316421017050743, 0.06777707487344742, 0.2075510025024414, 0.45565685629844666, 0.2418491393327713, -0.5555735230445862, -0.19924050569534302, 0.348676860332489, 0.15585535764694214, -0.1047823429107666, 1.2412493228912354, -0.6957629323005676, 0.108546681702137, 0.5454888343811035, 1.083545207977295, 0.10330616682767868, -0.2691915035247803, 0.6482350826263428, -0.5338216423988342, -0.2730574309825897, 0.33322855830192566, 0.5665093064308167, 0.02950657159090042, -0.2838502526283264, -0.0591520257294178, 0.17500296235084534, -0.27094602584838867, -0.3858361840248108, 0.6527625918388367, -0.43487349152565, -0.3820112645626068, 0.6141521334648132, -0.16597017645835876, -0.7124118208885193, -0.11018109321594238, -0.200643390417099, 0.15714141726493835, -0.22298218309879303, 0.9693921804428101, 0.28534048795700073, -0.2822875380516052, 0.008059671148657799, -0.04363870993256569, 0.14995239675045013, 0.6965031027793884, -0.6285494565963745, 0.22921496629714966, 0.5312684178352356, 0.3753592371940613, 0.4177769720554352, 0.6181777715682983, 0.05961023271083832, 0.5356754064559937, 0.017892420291900635, 0.008635696023702621, -0.5547424554824829, -0.6297565698623657, -0.4513348937034607, 0.4718126654624939, -0.4283998906612396, -0.17235302925109863 ]
http://arxiv.org/abs/2402.17400v1
http://arxiv.org/pdf/2402.17400v1
Investigating Continual Pretraining in Large Language Models: Insights and Implications
2024-02-27T10:47:24
2024-02-27T10:47:24
Çağatay Yıldız, Nishaanth Kanna Ravichandran, Prishruit Punia, Matthias Bethge, Beyza Ermis
cs.CL
cs.CL
This paper studies the evolving domain of Continual Learning (CL) in large language models (LLMs), with a focus on developing strategies for efficient and sustainable training. Our primary emphasis is on continual domain-adaptive pretraining, a process designed to equip LLMs with the ability to integrate new information from various domains while retaining previously learned knowledge and enhancing cross-domain knowledge transfer without relying on domain-specific identification. Unlike previous studies, which mostly concentrate on a limited selection of tasks or domains and primarily aim to address the issue of forgetting, our research evaluates the adaptability and capabilities of LLMs to changing data landscapes in practical scenarios. To this end, we introduce a new benchmark designed to measure the adaptability of LLMs to these evolving data environments, offering a comprehensive framework for evaluation. We examine the impact of model size on learning efficacy and forgetting, as well as how the progression and similarity of emerging domains affect the knowledge transfer within these models. Our findings uncover several key insights: (i) when the sequence of domains shows semantic similarity, continual pretraining enables LLMs to better specialize in the current domain compared to stand-alone fine-tuning, (ii) training across a diverse range of domains enhances both backward and forward knowledge transfer, and (iii) smaller models are particularly sensitive to continual pretraining, showing the most significant rates of both forgetting and learning. We posit that our research marks a shift towards establishing a more realistic benchmark for investigating CL in LLMs, and has the potential to play a key role in guiding the direction of future research in the field.
[ -0.30693984031677246, -0.5687798857688904, 0.6052701473236084, 0.07035765051841736, -0.21983931958675385, 0.14066773653030396, -0.5862367749214172, -0.34806981682777405, -0.2950306236743927, 0.3758768141269684, -0.5809034705162048, -0.27710089087486267, -0.7023613452911377, 0.043364621698856354, -0.28546878695487976, 0.8775129318237305, -0.26447802782058716, -0.03688506409525871, -0.41781601309776306, -0.2696426808834076, -0.9251760244369507, -0.7046297192573547, -0.8215802907943726, -0.3722416162490845, 0.6449764966964722, 0.2115674763917923, 0.19237326085567474, 0.370903879404068, 0.29355841875076294, 0.21431905031204224, 0.09074122458696365, -0.017433932051062584, -1.0849708318710327, 0.15224426984786987, -0.4659755825996399, -0.39925989508628845, -0.4300267696380615, -0.07466110587120056, 1.1905878782272339, 1.050873041152954, -0.12759394943714142, 0.23349373042583466, 0.4608810842037201, 0.7255027890205383, -0.6924197673797607, -0.09914145618677139, -1.0997198820114136, -0.1695718914270401, -0.2790026068687439, -0.22050537168979645, -0.4188551604747772, -0.13703610002994537, 0.4338566064834595, -0.7089941501617432, 0.023063594475388527, 0.03140346333384514, 0.6680927276611328, 0.17562875151634216, -0.14286848902702332, -0.37662968039512634, -0.7645941376686096, 0.9755162000656128, -0.5732325911521912, 0.6262922883033752, 0.03371206298470497, 0.17037063837051392, -0.2446962296962738, -0.9281468391418457, -0.3961597681045532, -0.27487608790397644, 0.25462326407432556, -0.01242833398282528, -0.05008154362440109, -0.33372750878334045, 0.09506513178348541, 0.10478043556213379, -0.6256346106529236, 0.2920547127723694, -0.1251729279756546, -0.03941157087683678, 0.38840365409851074, 0.14476463198661804, 0.2955862283706665, 0.8296410441398621, -0.35552340745925903, 0.09712520241737366, -1.0996530055999756, -0.17509759962558746, -0.06359069794416428, 0.07653836905956268, -0.08128151297569275, -0.08687951415777206, 0.07046095281839371, 0.6742591261863708, -0.11931922286748886, -0.062200333923101425, 0.1817542314529419, -0.3392648696899414, -0.072390615940094, -0.11195304244756699, 0.39985111355781555, 0.1133786290884018, 0.6890910267829895, -0.30040040612220764, -0.276985764503479, -0.2307143211364746, 0.5379577875137329, -0.5941480994224548, -0.3676433265209198, -0.20363260805606842, -0.26344603300094604, 0.285366952419281, -0.1987970471382141, -0.5515437126159668, -0.02590046264231205, -0.579633891582489, 0.5587329864501953, -0.5285914540290833, -0.38466495275497437, 0.3347083032131195, 0.24517495930194855, 0.20448455214500427, 0.4130549132823944, -0.815963625907898, 0.42524173855781555, 0.66761714220047, 0.9890589714050293, -0.7106726169586182, -0.7550594806671143, -0.28332385420799255, 0.17514431476593018, -0.5434314608573914, 0.6996865272521973, -0.48854127526283264, -0.4313274025917053, 0.04442640021443367, 0.2586316466331482, -0.6085326075553894, -0.9069337248802185, 0.007571736350655556, -0.7220662832260132, -0.2142389863729477, -0.2890987694263458, -0.670955240726471, 0.06983551383018494, 0.3442099690437317, -0.3576522469520569, 0.7735641598701477, 0.20245356857776642, -0.3849369287490845, 0.580793023109436, -0.43027356266975403, -0.2122601866722107, 0.10021600127220154, 0.21891750395298004, -0.6092607975006104, 0.1673167198896408, -0.31644612550735474, 0.3159753680229187, -0.22035062313079834, 0.33069688081741333, -0.5784510374069214, -0.2425099015235901, 0.3369767665863037, -0.28479358553886414, 0.403838574886322, -0.029442554339766502, -0.14690159261226654, 0.011706454679369926, -0.6552063226699829, -0.05960414186120033, 0.293811172246933, -0.12572504580020905, -0.42484530806541443, 0.04843740910291672, -0.2838866114616394, 0.3425178825855255, 0.33039769530296326, -0.27359703183174133, 0.3129469156265259, -0.1028871089220047, 0.28095588088035583, 0.8438186645507812, 0.3747923970222473, 0.4051631689071655, -0.57209712266922, 0.4261559545993805, 0.11185816675424576, 0.15215826034545898, -0.22349432110786438, 0.05645051598548889, -0.8482751846313477, 0.02668141946196556, 0.3671625852584839, 0.2515835464000702, -0.5473551750183105, 0.26506149768829346, -0.6789201498031616, -0.48028019070625305, -0.003764009801670909, 0.48157498240470886, 0.30106133222579956, 0.25389572978019714, 0.4221982955932617, -0.7104074954986572, -0.4789443910121918, -0.38224098086357117, -0.21143141388893127, 0.08906751126050949, 0.19684387743473053, 0.22356285154819489, 0.8563721776008606, -0.34620070457458496, 0.7440689206123352, -0.17332035303115845, -0.19795285165309906, -0.21025577187538147, -0.11463713645935059, -0.015672238543629646, 0.5975425243377686, 0.7138535976409912, -0.4986407458782196, -0.5997162461280823, 0.030564114451408386, -0.7573343515396118, 0.11739027500152588, -0.40511655807495117, -0.1464054137468338, 0.04469403997063637, 0.5635792016983032, -0.4475836455821991, -0.015610736794769764, 0.530938982963562, -0.029408972710371017, 0.8768451809883118, -0.15880779922008514, -0.17043568193912506, -0.5651892423629761, 0.2157570868730545, -0.3248334228992462, -0.16536836326122284, -0.794616162776947, -0.19849158823490143, 0.010429969988763332, 0.17761391401290894, -0.42262881994247437, 0.8386107683181763, -0.613567054271698, -0.08478306978940964, -0.2880687415599823, 0.24252896010875702, -0.3177144229412079, 0.33145463466644287, 0.08735080808401108, 0.9123347401618958, 0.7849445343017578, -1.1084840297698975, -0.06089940294623375, 0.01400295365601778, -0.45042884349823, 0.4507519602775574, -0.5636070370674133, 0.3206070363521576, 0.1524219959974289, 0.2909356653690338, -0.7082977294921875, 0.1712644398212433, -0.042401667684316635, -0.3105883002281189, 0.44095689058303833, -0.019870376214385033, -0.35776907205581665, -0.3041718304157257, 0.09999146312475204, 0.4561055600643158, 0.560980498790741, -0.4464612603187561, 0.44856423139572144, 0.26926010847091675, -0.5093790292739868, -0.35096144676208496, -0.23696483671665192, 0.032294951379299164, -0.3441210389137268, -0.3621232509613037, 0.3713712692260742, -0.28036192059516907, -0.09915433824062347, -0.1429489701986313, -0.36363843083381653, 0.022586263716220856, 0.48172256350517273, 0.058895379304885864, 0.20124760270118713, -0.46614813804626465, 0.28027719259262085, -0.2705793082714081, -0.06103155389428139, 0.23916572332382202, -0.8763071298599243, 0.7227462530136108, -0.005090752150863409, -0.21445180475711823, -0.24542605876922607, -0.029040582478046417, 0.5320988297462463, -0.15431031584739685, 1.0650644302368164, 0.329619824886322, -0.25590717792510986, -0.5828834176063538, -0.5354044437408447, -0.06716258078813553, -0.4480276107788086, 0.4519661068916321, -0.4840938150882721, -1.1155421733856201, 0.49419906735420227, -0.669036328792572, 0.09780377149581909, 0.5695377588272095, 0.5780764222145081, -0.10226620733737946, 0.3656471371650696, 1.0291218757629395, -0.17420923709869385, 0.5386974811553955, -0.17089161276817322, -0.048867903649806976, -0.9083603024482727, -0.1361059993505478, -0.2757650911808014, -0.04945937171578407, -0.07454543560743332, -0.2798900902271271, 0.0804114043712616, 0.3575023114681244, -0.4589071273803711, 0.12164449691772461, 0.04260052368044853, 0.3778885304927826, -0.006806544028222561, -0.087075375020504, 0.0812101811170578, -0.2183784693479538, 0.07946163415908813, 0.08724826574325562, -0.8652544021606445, -0.36313191056251526, 1.2550419569015503, 0.34253108501434326, 0.5496618747711182, 0.0697626918554306, 0.5293021202087402, 0.2641952931880951, 0.5981727838516235, -0.36069321632385254, 0.3906136453151703, -0.06465526670217514, -0.2650693356990814, -0.3875042796134949, -0.34527692198753357, -1.1339778900146484, 0.010253055021166801, -0.03853267803788185, -0.6137223839759827, 0.07285250723361969, 0.27518653869628906, -0.22168058156967163, 0.33082154393196106, -0.38300684094429016, 0.9830561876296997, -0.5502893328666687, -0.45885390043258667, -0.2913280725479126, -0.44073787331581116, 0.13428018987178802, -0.76814866065979, 0.10250433534383774, -0.07609020173549652, 0.006091982126235962, 0.8638629913330078, -0.019962184131145477, 0.9096817374229431, -0.2292102426290512, -0.20341196656227112, 0.306375116109848, -0.019714612513780594, 0.39310309290885925, -0.14665931463241577, 0.063077911734581, 0.3523558974266052, -0.008420988917350769, -0.5777364373207092, -0.4649119973182678, 0.6821805238723755, -0.8043016791343689, -0.5790511965751648, -0.2733480632305145, -0.42213642597198486, -0.6635371446609497, 0.38986119627952576, 0.03185329958796501, 0.2525440454483032, -0.5049245357513428, 0.3532834053039551, 1.147886872291565, -0.2703497111797333, 0.16097187995910645, 0.6852231025695801, -0.22268158197402954, 0.05012156441807747, 1.0983152389526367, 0.31650030612945557, 0.6895964741706848, 0.1956762671470642, -0.011571894399821758, -0.1804586946964264, -0.9701639413833618, -0.11833219975233078, 0.4021703898906708, -0.6338621973991394, 0.014809940941631794, -0.6336009502410889, -0.2662194073200226, -0.3796367943286896, -0.2544926702976227, -0.5043472051620483, 0.14153744280338287, -0.39978697896003723, 0.16912642121315002, 0.08448220044374466, 0.7157254219055176, 0.14202557504177094, 0.4057549238204956, -0.77787184715271, 0.012902741320431232, 0.3260919153690338, 0.4551386535167694, 0.25814348459243774, -1.0877822637557983, -0.505795419216156, -0.0779281035065651, -0.20822186768054962, -0.2389584481716156, 0.280475378036499, 0.5694639086723328, 0.9109322428703308, 0.08802089095115662, -0.17645250260829926, 0.6863183379173279, -0.7435881495475769, 0.8587622046470642, 0.19105775654315948, -0.8181270360946655, 0.316855251789093, -0.32588523626327515, 0.6060493588447571, 0.6681445837020874, 0.7488583326339722, -0.5205037593841553, -0.048339199274778366, -0.48553815484046936, -0.7372413873672485, 0.3884825110435486, -0.25693076848983765, 0.21136139333248138, 0.23401738703250885, 0.618155837059021, 0.3523724377155304, 0.07507486641407013, -0.5679844617843628, -0.13465212285518646, 0.10826267302036285, 0.05759407579898834, -0.3856585919857025, -0.3442540764808655, 0.05453348159790039, -0.2319924384355545, 0.7449539303779602, -0.11660570651292801, 0.26527345180511475, -0.2643031179904938, -0.6249762177467346, 0.20982587337493896, 0.12111197412014008, 0.5916759967803955, 1.2375357151031494, 0.0015257474733516574, -0.04362178593873978, 0.7093415260314941, -0.5898048877716064, 0.18677806854248047, -0.23842313885688782, 0.10954277962446213, -0.11863669008016586, 0.6118119955062866, 0.8678858876228333, 0.40524059534072876, -0.6757075786590576, 0.3580282926559448, 0.08995676040649414, -0.30256736278533936, -0.6184942722320557, 0.24283497035503387, 0.01039390079677105, -0.028650937601923943, 0.2944488525390625, 0.11159908026456833, -0.4241275191307068, -0.6251511573791504, 0.45789116621017456, 0.22239220142364502, -0.46172356605529785, -0.449054479598999, 0.3481239974498749, -0.050706811249256134, -0.039530232548713684, 0.6551089286804199, -0.003092055441811681, -0.4804498255252838, 0.39050397276878357, 0.7139132618904114, 0.6992456316947937, -0.33239245414733887, -0.19940851628780365, 0.3134535253047943, 0.2126416265964508, -0.39087262749671936, -0.23317277431488037, -0.08081367611885071, -0.8400511741638184, -0.3435439467430115, -0.8047699928283691, -0.33000051975250244, 0.24107886850833893, -0.6534537076950073, 0.01862434297800064, -0.4798291325569153, -0.0666787177324295, -0.18454666435718536, -0.08616901189088821, -0.8547512888908386, 0.3681175112724304, 0.2005850225687027, 0.9041798114776611, -0.7442662715911865, 1.254170298576355, 0.4044383764266968, 0.006655667908489704, -0.4829142391681671, 0.08363732695579529, 0.045347701758146286, -0.8112832307815552, 0.6771288514137268, 0.1261598765850067, -0.40503546595573425, 0.23000122606754303, -0.5893549919128418, -1.104800820350647, 1.1887869834899902, 0.17477285861968994, -0.8650011420249939, 0.02331986464560032, 0.009130860678851604, 0.5476863384246826, -0.6271108388900757, -0.23934000730514526, 0.8328968286514282, 0.2001313418149948, -0.04147438332438469, -0.8599681854248047, -0.16388919949531555, -0.1713627725839615, 0.05633793771266937, 0.16189521551132202, -0.6168442368507385, 0.704798698425293, -0.04732726514339447, -0.3532423675060272, 0.21371708810329437, 0.6508965492248535, 0.20778776705265045, 0.266886830329895, 0.4973243474960327, 0.4300627112388611, 0.7529574036598206, -0.12032832950353622, 0.8275914192199707, -0.439914345741272, 0.3301630914211273, 1.2687128782272339, -0.6012396812438965, 0.8375022411346436, 0.2783658504486084, -0.25666993856430054, 0.5620915293693542, 0.597007691860199, -0.0031014459673315287, 0.4816008508205414, 0.39845719933509827, -0.2406255304813385, -0.34762153029441833, 0.07796519994735718, -0.5005105137825012, 0.09172596037387848, 0.6407663822174072, -0.10691336542367935, 0.03603556752204895, 0.31724196672439575, -0.06285228580236435, -0.05610794946551323, -0.5023276805877686, 0.7727623581886292, 0.3660997450351715, -0.6826050281524658, 0.7412217259407043, -0.394095242023468, 0.6527979969978333, -1.0277013778686523, 0.23316356539726257, -0.21466121077537537, 0.33753570914268494, 0.19258618354797363, -0.5171679854393005, 0.24431832134723663, -0.07637801766395569, -0.18326404690742493, -0.43281474709510803, 0.6046280264854431, -0.34659019112586975, -0.05884750187397003, 0.48382559418678284, 0.5111048817634583, 0.1884484887123108, 0.06322886049747467, -0.7863067984580994, 0.43438711762428284, -0.11663450300693512, -0.23432797193527222, 0.8204966187477112, 0.5751986503601074, -0.09273936599493027, 0.8414379954338074, 0.6199108362197876, 0.29691752791404724, 0.19032931327819824, 0.1102236732840538, 0.8888171911239624, -0.5945324301719666, -0.26604244112968445, -0.6982094049453735, 0.2764612138271332, 0.17114776372909546, -0.5875825881958008, 0.8161849975585938, 0.3539862632751465, 1.171250581741333, -0.15329618752002716, 0.7725898027420044, 0.306804358959198, 0.37034401297569275, -0.7998203635215759, 0.7085152268409729, -0.5733020305633545, 0.33156511187553406, -0.0037107188254594803, -1.0483230352401733, -0.18737858533859253, 0.31098267436027527, -0.6328992247581482, 0.2784714698791504, 0.8399232029914856, 0.4659706652164459, -0.019384169951081276, -0.31390380859375, 0.39587393403053284, 0.3424914479255676, 0.16250890493392944, 0.7035749554634094, 0.922789454460144, -0.029554370790719986, 0.16747084259986877, 0.204970121383667, 0.008282067254185677, 0.015928486362099648, -0.6768476366996765, -0.8263760805130005, -0.6825856566429138, -0.40889081358909607, -0.10076717287302017, 0.5088562369346619, 0.6598100662231445, 0.6266301870346069, -0.8508942723274231, -0.22857995331287384, -0.10148292034864426, -0.23981189727783203, -0.28426429629325867, -0.11345157772302628, 0.34153106808662415, -0.6841704249382019, -0.2604255974292755, 0.2910875380039215, 0.3708522319793701, 0.011111223138868809, -0.20948462188243866, -0.23882828652858734, -0.29324254393577576, 0.01958867721259594, 0.661420464515686, 0.5713112354278564, -0.38096749782562256, -0.4600468575954437, -0.11047224700450897, 0.056559063494205475, -0.03249813988804817, 0.925011932849884, -0.7025738954544067, 0.30671927332878113, -0.17005765438079834, 1.0459730625152588, 0.522781252861023, -0.20379768311977386, 0.5810864567756653, -0.48110032081604004, -0.0385376438498497, 0.17663703858852386, 0.24354730546474457, 0.35092005133628845, 0.025601407513022423, 0.3125481903553009, 0.4602835774421692, -0.8245535492897034, -0.7590892910957336, 0.17361415922641754, -0.7307736277580261, -0.390208899974823, 1.0998727083206177, -0.5360668301582336, -0.13045594096183777, -0.4246513843536377, 0.2753152847290039, -0.0025453204289078712, 0.19377443194389343, 0.5952479839324951, 0.7285345792770386, 0.026762573048472404, -0.24969521164894104, -0.6838575601577759, 0.46955016255378723, 0.46823933720588684, -0.7718396782875061, 0.2097148299217224, 0.2786913514137268, 0.7728543281555176, -0.12246137112379074, 0.7730116844177246, 0.05114619806408882, 0.27421125769615173, 0.12454536557197571, -0.13155129551887512, 0.24850623309612274, -0.7285822033882141, -0.46777334809303284, -0.056586772203445435, 0.33995214104652405, 0.22336719930171967 ]
http://arxiv.org/abs/2402.17396v1
http://arxiv.org/pdf/2402.17396v1
Benchmarking GPT-4 on Algorithmic Problems: A Systematic Evaluation of Prompting Strategies
2024-02-27T10:44:52
2024-02-27T10:44:52
Flavio Petruzzellis, Alberto Testolin, Alessandro Sperduti
cs.CL
cs.CL, cs.AI, cs.NE
Large Language Models (LLMs) have revolutionized the field of Natural Language Processing thanks to their ability to reuse knowledge acquired on massive text corpora on a wide variety of downstream tasks, with minimal (if any) tuning steps. At the same time, it has been repeatedly shown that LLMs lack systematic generalization, which allows to extrapolate the learned statistical regularities outside the training distribution. In this work, we offer a systematic benchmarking of GPT-4, one of the most advanced LLMs available, on three algorithmic tasks characterized by the possibility to control the problem difficulty with two parameters. We compare the performance of GPT-4 with that of its predecessor (GPT-3.5) and with a variant of the Transformer-Encoder architecture recently introduced to solve similar tasks, the Neural Data Router. We find that the deployment of advanced prompting techniques allows GPT-4 to reach superior accuracy on all tasks, demonstrating that state-of-the-art LLMs constitute a very strong baseline also in challenging tasks that require systematic generalization.
[ -0.31132176518440247, -0.8831399083137512, 0.7934876680374146, 0.3686382472515106, -0.09953586012125015, 0.034661177545785904, -0.5549153685569763, -0.15147078037261963, -0.26268529891967773, 0.07924254983663559, -0.5645023584365845, -0.5620629787445068, -0.6804550886154175, 0.6466438174247742, -0.3551389276981354, 1.0057554244995117, -0.3873451054096222, 0.2015472650527954, -0.039665695279836655, 0.10833370685577393, -0.6651296019554138, -0.38134676218032837, -0.9097476005554199, -0.413419246673584, 0.5352314710617065, 0.16478155553340912, 0.5624752044677734, 0.5215233564376831, 0.6195691227912903, 0.3319987952709198, -0.030504057183861732, -0.14021167159080505, -0.3648393452167511, 0.36022672057151794, -0.0024730199947953224, -0.4797224700450897, -0.27484914660453796, -0.05455571785569191, 0.6967960000038147, 0.6588543057441711, -0.22560715675354004, -0.0012640058994293213, 0.11847223341464996, 0.7305421829223633, -0.2354782074689865, 0.3178676962852478, -0.531108021736145, 0.050146594643592834, -0.2731274664402008, -0.14994320273399353, -0.14164254069328308, -0.7090266942977905, 0.1970982700586319, -0.743101954460144, 0.5281916260719299, -0.01861354522407055, 0.6095757484436035, 0.4825344383716583, -0.12225346267223358, -0.4869441092014313, -0.7331652045249939, 0.6252820491790771, -0.5156040787696838, 0.5610278248786926, 0.37309759855270386, 0.32143479585647583, -0.1422831267118454, -0.8820869326591492, -0.4453245997428894, -0.34018197655677795, 0.37210217118263245, 0.045907068997621536, -0.4606359601020813, 0.06582196056842804, 0.6237701177597046, 0.276603102684021, -0.6486284136772156, 0.08263851702213287, -0.36703377962112427, -0.207168310880661, 0.1888439655303955, 0.07322172075510025, -0.048288412392139435, 0.16025111079216003, -0.178294375538826, -0.1603350043296814, -0.7694485783576965, -0.06720093637704849, 0.4483036398887634, 0.07027868926525116, 0.1640446037054062, 0.20833100378513336, -0.48222672939300537, 0.6941043734550476, 0.1775975227355957, 0.3053124248981476, 0.4358411729335785, -0.38523927330970764, 0.053692903369665146, -0.3603386878967285, 0.9087277054786682, 0.32303449511528015, 0.4418458044528961, -0.1967255026102066, -0.4342055320739746, 0.1205519288778305, 0.27463412284851074, -0.6454367637634277, -0.42174988985061646, 0.01009401585906744, -0.22699026763439178, 0.057947419583797455, -0.37372174859046936, -0.883086085319519, -0.24356141686439514, -0.25147321820259094, 0.34759587049484253, -0.4141710102558136, 0.015951478853821754, 0.08642950654029846, -0.08424896746873856, 0.43972527980804443, 0.20306913554668427, -1.1581882238388062, 0.6085827350616455, 0.8306959271430969, 1.0775753259658813, -0.4287314713001251, -0.2196846455335617, -0.6309103965759277, -0.12976953387260437, -0.4413006603717804, 0.7558890581130981, -0.6266652345657349, -0.2448405921459198, 0.12720683217048645, -0.2141076773405075, -0.13457250595092773, -0.6463743448257446, 1.0426453351974487, -0.593398928642273, 0.13844777643680573, -0.6669745445251465, -0.6191514134407043, -0.09407024830579758, 0.5738357901573181, -0.6981928944587708, 1.0527927875518799, 0.057597726583480835, -0.627580463886261, 0.253740131855011, -0.6578654646873474, -0.20859117805957794, 0.22228743135929108, -0.3482508659362793, -0.2672383785247803, 0.13341926038265228, 0.42603951692581177, 0.33321380615234375, -0.5171887874603271, 0.2518337070941925, 0.013513429090380669, -0.49651116132736206, -0.13020963966846466, -0.581608235836029, 0.2400396168231964, 0.030115162953734398, -0.6446139216423035, 0.18641120195388794, -0.430845707654953, -0.005999648477882147, 0.18308673799037933, -0.4583219587802887, -0.07026921212673187, -0.03584873676300049, -0.41993826627731323, 0.10654762387275696, 0.3038053810596466, -0.38359200954437256, 0.3067438304424286, -0.21938331425189972, 0.5194810032844543, 0.7320030927658081, -0.034716833382844925, 0.17762576043605804, -0.34078317880630493, 0.7126594185829163, -0.29901066422462463, 0.08432751148939133, -0.14979007840156555, -0.7657686471939087, -0.631607174873352, -0.01791219599545002, 0.43652868270874023, 0.6026190519332886, -0.9104508757591248, 0.0955016016960144, -0.35843709111213684, -0.30013009905815125, -0.41787803173065186, 0.29048168659210205, 0.35524043440818787, 0.44463050365448, 0.49717018008232117, -0.24922725558280945, -0.2231760323047638, -0.863784909248352, -0.3704962730407715, 0.07005702704191208, -0.28961583971977234, 0.16861045360565186, 0.25338974595069885, -0.10846817493438721, 0.683718740940094, -0.20700526237487793, -0.06454616039991379, -0.2622207999229431, 0.3464503288269043, 0.38018694519996643, 0.2715614140033722, 0.08277314901351929, -0.5806424021720886, -0.4728860855102539, -0.17016971111297607, -0.7175164818763733, -0.3655882477760315, 0.10946089029312134, 0.329013466835022, 0.12636569142341614, 0.6580830812454224, -0.7289912104606628, 0.08064620941877365, 0.6097297072410583, 0.08980783820152283, 0.6158461570739746, -0.42233914136886597, 0.12051189690828323, -0.5655383467674255, 0.022558340802788734, 0.09272526204586029, 0.05477549508213997, -0.9695903062820435, -0.19895122945308685, 0.19748380780220032, -0.029479123651981354, -0.04332256689667702, 0.26121246814727783, -0.5410950183868408, -0.05909413844347, -0.1252135932445526, 0.12506194412708282, -0.2905122935771942, 0.5253055691719055, 0.032519977539777756, 0.8078643083572388, 0.6260042786598206, -0.5702481269836426, 0.6403961777687073, 0.12566350400447845, -0.08676939457654953, 0.39214780926704407, -0.8989644050598145, 0.5738791227340698, -0.046089209616184235, 0.26800957322120667, -1.0588815212249756, -0.06717187166213989, 0.2056317925453186, -0.272783100605011, 0.1989208608865738, 0.018449584022164345, -0.6714937090873718, -0.5494587421417236, -0.3779508173465729, 0.4895569980144501, 0.680747389793396, -0.4331282377243042, 0.43592238426208496, -0.22488585114479065, -0.5405539274215698, -0.25013306736946106, -0.30412757396698, 0.30322501063346863, -0.2635192275047302, -0.32881560921669006, 0.40060320496559143, -0.1974625438451767, -0.016776137053966522, -0.2586747407913208, -0.041960347443819046, 0.11446285247802734, -0.19170553982257843, -0.041091348975896835, 0.0649278312921524, -0.0717104822397232, -0.006673565600067377, -0.17114998400211334, -0.31399601697921753, 0.3513396382331848, -0.30772683024406433, 0.6654008626937866, -0.2155381143093109, -0.5894923210144043, -0.3852469325065613, 0.15967032313346863, 0.14868740737438202, -0.09201841801404953, 0.06281936168670654, 0.4379715025424957, -0.20565295219421387, -0.06565554440021515, -0.7360033988952637, -0.34153398871421814, -0.49920132756233215, 0.2564889192581177, -0.49226635694503784, -0.8010926246643066, 0.4645337760448456, -0.3443402349948883, 0.08888323605060577, 0.17427892982959747, 0.4807700216770172, 0.2784474492073059, 1.1603940725326538, 0.3342002332210541, -0.35122331976890564, 0.40658366680145264, -0.0927780419588089, 0.145578995347023, -0.7133354544639587, -0.11534296721220016, -0.6249571442604065, -0.32206815481185913, -0.6943829655647278, -0.3830282390117645, 0.49155861139297485, -0.00700445007532835, -0.28109055757522583, 0.13544093072414398, -0.4701860547065735, 0.4209909439086914, 0.69378262758255, -0.10088260471820831, 0.36184439063072205, -0.09389971196651459, -0.2207293063402176, -0.008303183130919933, -0.7957886457443237, -0.4214245676994324, 1.1435096263885498, 0.3903909921646118, 0.6389904618263245, 0.021838078275322914, 0.6793124079704285, -0.09700825065374374, 0.287759929895401, -0.6686725616455078, 0.5586333870887756, 0.10135718435049057, -0.2512178122997284, -0.28006452322006226, -0.5996518731117249, -1.0915250778198242, 0.07346510142087936, 0.09342989325523376, -0.5489817261695862, -0.1220499724149704, 0.2727057635784149, -0.2766432464122772, 0.062217772006988525, -0.5832227468490601, 0.7064405679702759, -0.12430772930383682, -0.2996421456336975, -0.002453651512041688, -0.5367162823677063, 0.15757471323013306, -0.24942849576473236, 0.2470821887254715, 0.055254675447940826, -0.2842479348182678, 0.7344503402709961, 0.008425381034612656, 0.6678429245948792, -0.3336024284362793, -0.05855286121368408, -0.033864375203847885, 0.019254254177212715, 0.8923740386962891, -0.29346999526023865, -0.1369589865207672, 0.17193974554538727, -0.34711921215057373, -0.2718801498413086, -0.6397389769554138, 0.7074348330497742, -0.5404094457626343, -0.5637130737304688, -0.38548389077186584, -0.43264040350914, -0.5287675261497498, 0.29239264130592346, 0.5026010274887085, 0.5860825777053833, -0.15302713215351105, 0.07136178761720657, 0.8015649914741516, -0.08242854475975037, 0.6153350472450256, 0.2567899823188782, 0.08882059901952744, -0.3650631904602051, 0.8508719801902771, 0.10594535619020462, 0.2645697593688965, 0.15018750727176666, 0.30859702825546265, -0.5100759863853455, -1.0617111921310425, -0.5768337249755859, 0.08729824423789978, -0.648478627204895, -0.17201223969459534, -0.47374075651168823, -0.008554704487323761, -0.1777624636888504, 0.0324145182967186, -0.1967952996492386, 0.015601939521729946, 0.0006607103277929127, -0.03796585649251938, 0.3252764642238617, 1.1821411848068237, 0.1154547929763794, 0.19510619342327118, -0.5884957313537598, 0.2901020646095276, 0.4740188717842102, 0.667290449142456, -0.1892782300710678, -0.4720456600189209, -0.004109813366085291, -0.2970276474952698, -0.49430230259895325, -0.8793182969093323, 0.15095803141593933, 0.054475776851177216, 0.6920490264892578, 0.1521395593881607, -0.13182279467582703, 0.28030872344970703, -0.8871712684631348, 0.8009645938873291, 0.02972347103059292, -0.8589097857475281, 0.380963534116745, -0.6476996541023254, 0.6267680525779724, 0.5944799184799194, 0.5715728998184204, -0.5195772647857666, -0.32285380363464355, -0.5329980254173279, -0.8012783527374268, 0.40319353342056274, 0.3091743290424347, 0.05456101521849632, -0.15662045776844025, 0.4962500333786011, -0.010324105620384216, 0.2306714951992035, -0.5433271527290344, 0.026835089549422264, -0.23957344889640808, -0.3469940423965454, -0.06102270632982254, -0.059379540383815765, -0.01592716947197914, -0.021065570414066315, 0.5362566113471985, -0.17907647788524628, 0.3082415461540222, 0.1465112566947937, 0.04732751473784447, 0.10911443084478378, 0.30363988876342773, 0.5988149642944336, 0.6774007081985474, -0.010474562644958496, 0.14748413860797882, 0.5070143938064575, -0.508201539516449, 0.09229535609483719, 0.39062219858169556, -0.20977945625782013, -0.0016377173596993089, 0.39528679847717285, 0.7554662227630615, 0.31439366936683655, -0.4609871506690979, 0.4655596613883972, -0.23458261787891388, -0.5388533473014832, 0.07974187284708023, 0.040226537734270096, 0.07865140587091446, 0.17998239398002625, 0.5339451432228088, -0.26994588971138, 0.38520848751068115, -0.11940474063158035, 0.016833381727337837, 0.452724426984787, -0.27580031752586365, -0.48348718881607056, 0.4838606119155884, 0.2622119188308716, -0.5415265560150146, 0.5715288519859314, -0.3582291603088379, -0.646895706653595, 0.3139270842075348, 0.5617252588272095, 0.9159880876541138, -0.32489827275276184, -0.05975664407014847, 0.34728777408599854, 0.3804805874824524, -0.5221090912818909, 0.3314242660999298, -0.10037466883659363, -0.558221161365509, -0.6576166749000549, -0.3229881227016449, -0.6785528659820557, 0.1827821433544159, -0.5646325945854187, 0.03183500096201897, -0.5266432166099548, -0.15002453327178955, -0.07477430999279022, 0.05820614472031593, -0.7976000905036926, -0.09634663164615631, -0.05119672790169716, 0.9641147255897522, -0.6477522253990173, 0.5838012099266052, 0.49950656294822693, -0.015160271897912025, -0.8299965858459473, 0.14028702676296234, 0.12628912925720215, -0.6807741522789001, 0.44443294405937195, 0.267213374376297, -0.1233665943145752, 0.21346761286258698, -0.4166408181190491, -0.7318049073219299, 0.9569507837295532, 0.34386131167411804, -0.857735276222229, 0.03218812867999077, 0.0048820385709404945, 0.5894140601158142, -0.023262890055775642, 0.3497348427772522, 0.8662348389625549, 0.6703501343727112, 0.04448273405432701, -1.0445460081100464, 0.1734791249036789, -0.21490147709846497, 0.16259726881980896, 0.3005010783672333, -0.4524499475955963, 0.7969616055488586, 0.08793208748102188, -0.08878710865974426, 0.021594829857349396, 0.4802256226539612, 0.3723360598087311, 0.18329907953739166, 0.6367078423500061, 0.3310195803642273, 0.8751549124717712, -0.23872920870780945, 0.983244776725769, -0.2687968909740448, 0.16411732137203217, 0.8774985074996948, -0.41223111748695374, 0.736201822757721, 0.3012728989124298, -0.2935381531715393, 0.3116511106491089, 0.5755285024642944, 0.007168869487941265, 0.4650270342826843, 0.5187502503395081, -0.4307217001914978, 0.19401568174362183, 0.27788886427879333, -0.36155930161476135, 0.12047171592712402, 0.23004403710365295, -0.05754997581243515, -0.4014458954334259, -0.07335154712200165, -0.03311607986688614, -0.020910929888486862, -0.3137315511703491, 1.0098801851272583, -0.07595837861299515, -0.9851120710372925, 0.6172800660133362, -0.1499919593334198, 0.7477083206176758, -0.7428970336914062, -0.06659327447414398, -0.32316458225250244, 0.046399638056755066, 0.05791091546416283, -0.6288800835609436, 0.14739938080310822, 0.13962090015411377, -0.09306371212005615, -0.2777683436870575, 0.515929102897644, -0.3461194336414337, -0.2511803209781647, 0.22446508705615997, 0.44018882513046265, 0.25968366861343384, -0.22751128673553467, -0.7319270372390747, 0.3924623429775238, -0.14011093974113464, -0.4388659596443176, 0.22806580364704132, 0.4976552426815033, -0.1782885491847992, 0.6975080370903015, 0.6099737286567688, 0.16476193070411682, 0.16868256032466888, 0.4084740877151489, 0.9412858486175537, -0.7329891324043274, -0.2532529830932617, -0.9030439853668213, -0.14569911360740662, -0.0431026816368103, -0.34298744797706604, 0.8241159915924072, 0.3659806549549103, 0.6255766749382019, 0.1957809329032898, 0.8168984055519104, 0.16651105880737305, 0.48790687322616577, -0.6237509250640869, 0.021022459492087364, 0.07308736443519592, 0.30595308542251587, -0.23775921761989594, -1.175857424736023, -0.332154244184494, 0.5289242267608643, -0.5604154467582703, 0.4212798476219177, 0.7674785852432251, 0.7527751922607422, 0.05691371485590935, 0.2755686342716217, 0.16046501696109772, 0.09541688114404678, 0.46035709977149963, 0.6305866837501526, 0.9253405332565308, -0.12575408816337585, 0.6465396285057068, 0.05409717187285423, -0.45619699358940125, 0.06697448343038559, -0.9989439845085144, -0.7870854735374451, -0.42594102025032043, -0.07476659119129181, -0.01737823896110058, 0.3182480037212372, 0.8006852269172668, 0.5957496166229248, -0.774904727935791, -0.11438050866127014, -0.41597095131874084, -0.07143829017877579, -0.32801148295402527, -0.10376424342393875, 0.2571367025375366, -0.6139075756072998, -0.752239465713501, 0.707165539264679, 0.14110295474529266, -0.10739533603191376, -0.2861298620700836, -0.15985162556171417, 0.0683424174785614, -0.14381223917007446, 0.27103424072265625, 0.23049408197402954, -0.5786581039428711, -0.2788065969944, 0.02607857994735241, 0.10038980841636658, 0.09738010168075562, 0.9470561742782593, -0.7140487432479858, 0.34752023220062256, 0.5218939781188965, 0.8416070938110352, 0.6342369914054871, 0.15744969248771667, 0.7977129817008972, -0.6209231019020081, -0.3790178596973419, 0.2872161269187927, 0.2652422785758972, 0.5976930856704712, -0.13939444720745087, 0.500278651714325, 0.0852850079536438, -0.8807455897331238, -0.6134113073348999, 0.14201560616493225, -0.5258931517601013, 0.0385623574256897, 1.1764439344406128, -0.020018991082906723, 0.105172298848629, -0.36455079913139343, -0.16986140608787537, -0.004629010800272226, -0.5688602328300476, 0.4652531147003174, 0.8135419487953186, -0.3309091627597809, -0.2559073567390442, -1.1035783290863037, 0.7673975825309753, 0.5796107649803162, -0.7448451519012451, 0.1714920997619629, 0.3904414176940918, 0.4515182375907898, 0.0024028748739510775, 0.9009611010551453, 0.0388995036482811, 0.16426412761211395, -0.1495724618434906, -0.1290436089038849, -0.0370422899723053, -0.3368295431137085, -0.8733747601509094, 0.14383549988269806, 0.13839538395404816, -0.02560087852180004 ]
http://arxiv.org/abs/2402.17392v1
http://arxiv.org/pdf/2402.17392v1
Spot the bot: Coarse-Grained Partition of Semantic Paths for Bots and Humans
2024-02-27T10:38:37
2024-02-27T10:38:37
Vasilii A. Gromov, Alexandra S. Kogan
cs.CL
cs.CL
Nowadays, technology is rapidly advancing: bots are writing comments, articles, and reviews. Due to this fact, it is crucial to know if the text was written by a human or by a bot. This paper focuses on comparing structures of the coarse-grained partitions of semantic paths for human-written and bot-generated texts. We compare the clusterizations of datasets of n-grams from literary texts and texts generated by several bots. The hypothesis is that the structures and clusterizations are different. Our research supports the hypothesis. As the semantic structure may be different for different languages, we investigate Russian, English, German, and Vietnamese languages.
[ -0.14881981909275055, -1.0887407064437866, 0.7739606499671936, -0.007007706444710493, 0.05293819308280945, 0.1568002998828888, -0.10331554710865021, -0.4131583273410797, 0.2702116072177887, 0.47889748215675354, -0.5628477334976196, -0.7136936783790588, -0.4812362790107727, 0.3218739628791809, -0.48864448070526123, 0.9736306071281433, 0.2775762975215912, 0.011076542548835278, -0.43567168712615967, -0.10129275172948837, -0.35477370023727417, -0.3500867187976837, -0.4259309470653534, -0.08552475273609161, 0.8679905533790588, 0.11119472235441208, 0.7965526580810547, 0.6835368275642395, 0.6695408821105957, 0.4924410581588745, -0.13704617321491241, -0.12378612905740738, -0.015201562084257603, 0.2858055830001831, -0.2598201334476471, -0.5866231322288513, -0.07562440633773804, -0.23910748958587646, 0.883389413356781, 0.7332518100738525, 0.2860787808895111, 0.04352759197354317, -0.12393106520175934, 0.8399053812026978, -0.4138132631778717, -0.13525111973285675, -0.47775477170944214, -0.015803134068846703, -0.5246214270591736, -0.14612145721912384, -0.272205114364624, -0.4844651520252228, 0.1131533831357956, -0.5168107151985168, 0.7521177530288696, 0.003838819684460759, 0.9676939249038696, 0.30543047189712524, -0.39583802223205566, -0.41213148832321167, -0.5448945164680481, 0.9408796429634094, -0.5355185866355896, 0.1537563055753708, 0.32743704319000244, 0.2813520133495331, -0.46094053983688354, -0.5155487060546875, -0.536144495010376, -0.3563297390937805, -0.28005316853523254, -0.17632344365119934, -0.044066958129405975, -0.1806817203760147, 0.09323351085186005, 0.30944937467575073, -0.6370763182640076, -0.018057065084576607, -0.3060877323150635, -0.6046936511993408, 0.6521922945976257, 0.08488462120294571, 0.63690185546875, -0.4738764464855194, -0.47333961725234985, -0.3389824628829956, -0.4965234398841858, -0.01855066791176796, 0.5780037045478821, 0.34222906827926636, -0.0286770798265934, 0.5424293875694275, -0.3862464129924774, 0.9436076879501343, -0.3460935354232788, -0.4616797864437103, 0.31308162212371826, -0.5795589089393616, 0.09108804166316986, -0.03708718344569206, 1.0388022661209106, 0.43500664830207825, 0.3439885675907135, -0.4789614677429199, -0.10299676656723022, 0.25575146079063416, 0.2744612395763397, -0.3115673065185547, -0.23103122413158417, 0.07459043711423874, -0.5313694477081299, -0.3858829140663147, 0.320252388715744, -0.6580711603164673, -0.7695577144622803, -0.01483945269137621, 0.32540982961654663, -0.4476870894432068, -0.12363515049219131, -0.038042280822992325, -0.5656487345695496, 0.48919960856437683, 0.41127628087997437, -0.5512384176254272, 0.3631136417388916, 0.7196351885795593, 1.1175941228866577, -0.16885708272457123, -0.4497983753681183, -0.29248324036598206, 0.09418602287769318, -0.3162769079208374, 1.2385183572769165, -0.46590787172317505, -0.2311941385269165, 0.026765767484903336, -0.02406829036772251, 0.10357026755809784, -0.4487764537334442, 0.6898683309555054, -0.3323538303375244, 0.25536492466926575, -0.3706261217594147, -0.6272749304771423, -0.4511226713657379, 0.2996196746826172, -0.5910120606422424, 1.112166166305542, 0.22902004420757294, -0.901811957359314, 0.6322605609893799, -0.5089355111122131, -0.6169591546058655, 0.11411488801240921, -0.3798372745513916, -0.15589827299118042, -0.03092029131948948, -0.0644858330488205, 0.37665438652038574, -0.13835278153419495, 0.2453499585390091, -0.1385931819677353, -0.16951969265937805, 0.3226189613342285, -0.20411820709705353, 0.6863821148872375, 0.10881417989730835, -0.3603868782520294, 0.29871588945388794, -1.0260519981384277, -0.10359780490398407, 0.2044440656900406, -0.34538140892982483, -0.511254072189331, 0.6282640099525452, 0.32338178157806396, 0.06614097952842712, 0.32668688893318176, -0.8331001996994019, 0.25610509514808655, -0.27057206630706787, 0.4772210717201233, 0.8374629020690918, -0.03901153430342674, 0.6356424689292908, -0.5090375542640686, 0.36622899770736694, 0.049942534416913986, -0.05779707804322243, -0.32069915533065796, -0.7310858964920044, -0.6137852668762207, -0.15578578412532806, 0.37855398654937744, 0.5080716609954834, -0.4622935354709625, 0.5396885275840759, -0.29288649559020996, -0.6091377139091492, -0.46584758162498474, -0.123483806848526, 0.3591829836368561, 0.2976001799106598, 0.1554698497056961, -0.32622230052948, -0.16093319654464722, -0.6978897452354431, -0.47524863481521606, -0.269527792930603, -0.24906320869922638, 0.32611361145973206, 0.3923252522945404, -0.09302159398794174, 1.1361631155014038, -0.6747337579727173, -0.28906065225601196, -0.16193023324012756, 0.09086735546588898, -0.14707694947719574, 0.4948042929172516, 0.6503700613975525, -0.6914005279541016, -0.7057145237922668, 0.08299225568771362, -0.46195992827415466, -0.1894368976354599, -0.07353827357292175, -0.3271619975566864, 0.27227944135665894, 0.7391441464424133, -0.4150419533252716, 0.58095782995224, 0.22587069869041443, -0.6551938056945801, 0.34808114171028137, -0.2930498421192169, 0.07746335119009018, -0.9354390501976013, -0.020526068285107613, -0.16128863394260406, -0.3890751600265503, -0.6312510371208191, -0.12106829136610031, -0.32123681902885437, 0.256771445274353, -0.22395439445972443, 0.6554194688796997, -0.24309135973453522, -0.2579512298107147, -0.3291431665420532, 0.43100738525390625, -0.17468982934951782, 0.4058474004268646, 0.1530488133430481, 0.44394704699516296, 0.5126310586929321, -0.4620799720287323, 0.01964493654668331, 0.059650421142578125, -0.45624855160713196, 0.5114521384239197, -0.7359700798988342, 0.22062434256076813, -0.058222439140081406, 0.35782140493392944, -1.3156167268753052, -0.3757297992706299, 0.25145676732063293, -0.5669487118721008, -0.17039550840854645, -0.014822914265096188, -0.95419842004776, -0.010399490594863892, -0.3687703609466553, 0.37926843762397766, 0.2862551212310791, 0.1415451318025589, 0.48837509751319885, 0.5448532104492188, -0.11465674638748169, -0.22415058314800262, -0.3690313994884491, 0.23241950571537018, -0.14604730904102325, -0.9658693075180054, 0.1783721148967743, -0.004073341842740774, -0.5155771374702454, 0.07229968160390854, 0.15495258569717407, -0.2629021406173706, 0.2599295973777771, 0.3479122817516327, -0.027354832738637924, -0.28443264961242676, 0.13925957679748535, -0.09663902968168259, -0.13631011545658112, -0.13233312964439392, -0.05584542453289032, 0.7858448624610901, 0.05893455445766449, -0.05867445096373558, -0.4438035786151886, 0.45705747604370117, 0.4239582121372223, 0.10275346040725708, 0.7492923140525818, 0.7585228085517883, -0.07237478345632553, 0.06047697737812996, -0.47546830773353577, -0.05247019976377487, -0.4788241982460022, 0.07490500807762146, -0.15490016341209412, -0.8943784832954407, 0.5353513360023499, 0.16054390370845795, -0.007990716956555843, 0.8145507574081421, 0.61606764793396, -0.04739126190543175, 0.8041856288909912, 0.854971706867218, -0.17411814630031586, 0.5177233815193176, 0.1635846197605133, 0.13728010654449463, -0.48049890995025635, -0.07156594097614288, -0.9214852452278137, -0.49474966526031494, -1.0157583951950073, -0.3319232165813446, 0.18048079311847687, -0.19382783770561218, -0.11823824793100357, 0.43319597840309143, -0.6518205404281616, 0.5378003716468811, 0.9365774989128113, -0.09353160113096237, 0.2750575840473175, -0.12169118970632553, -0.10912910103797913, 0.16583169996738434, -0.6836519837379456, -0.8325294852256775, 0.8962395191192627, -0.08416832983493805, 0.29758527874946594, -0.006731902249157429, 0.5469487905502319, 0.6277515888214111, -0.1067388579249382, -0.7539438605308533, 0.6435105800628662, -0.1070316880941391, -0.894655704498291, -0.4298083186149597, -0.23197203874588013, -1.2460806369781494, 0.20148786902427673, -0.03884660452604294, -0.86226487159729, 0.05986256152391434, -0.21926183998584747, -0.07669764757156372, 0.27831122279167175, -0.891455352306366, 0.9806330800056458, 0.1269153207540512, 0.07192534953355789, -0.11364718526601791, -1.0801382064819336, -0.12304967641830444, 0.10911673307418823, 0.3344699740409851, -0.3745556175708771, -0.13281983137130737, 0.9951284527778625, -0.6532694697380066, 0.9092521667480469, -0.06415681540966034, -0.1442674845457077, 0.7178930044174194, 0.19494576752185822, 0.22873739898204803, -0.24069857597351074, 0.11194249987602234, 0.2948693037033081, -0.010620271787047386, -0.5773991346359253, -0.3040699064731598, 0.41334059834480286, -0.7818591594696045, -0.36228448152542114, -0.4426136910915375, -0.6715101599693298, 0.11808458715677261, 0.36801642179489136, 0.4504912495613098, 0.4247967600822449, -0.2036442756652832, -0.002087367232888937, 0.12446001917123795, -0.3433501124382019, 0.6875757575035095, 0.3732246160507202, -0.003062029369175434, -0.13432401418685913, 0.7979384660720825, 0.10527335107326508, 0.21713224053382874, 0.5905531048774719, 0.40599745512008667, -0.03337054327130318, -0.34795165061950684, -0.39514344930648804, 0.25918447971343994, -0.5365098118782043, 0.08281370997428894, -0.6730710864067078, -0.1507347971200943, -0.4125785231590271, -0.7042266130447388, -0.17774616181850433, -0.371017724275589, -0.04503769055008888, 0.22874176502227783, 0.570208728313446, 1.0642502307891846, 0.07059220969676971, 0.5508375763893127, -0.8067982196807861, 0.10102769732475281, -0.02519802562892437, 0.18305200338363647, 0.14215940237045288, -0.19321468472480774, -0.15112461149692535, -0.11919195204973221, -0.3272112309932709, -0.8377522230148315, 0.1031501367688179, -0.018540039658546448, 0.21003000438213348, 0.4668475389480591, -0.08916077017784119, 0.5091651082038879, -0.8156821727752686, 0.9929459691047668, 0.052509333938360214, -0.7774084210395813, 0.5634936094284058, -0.6789292693138123, 0.37136152386665344, 0.5367259383201599, 0.1389136016368866, -0.8074310421943665, -0.7757189869880676, -0.6959067583084106, -0.9125933647155762, 0.7902553677558899, 0.374162495136261, -0.014236112125217915, -0.08341584354639053, 0.01808168925344944, 0.4480985403060913, 0.08410435914993286, -0.817690908908844, -0.22949153184890747, 0.16022412478923798, -0.15518954396247864, -0.1866084635257721, -0.12022892385721207, -0.03636191785335541, -0.07122097164392471, 0.08591233938932419, 0.17438606917858124, 0.24585676193237305, 0.2833947241306305, -0.2730819582939148, 0.17705775797367096, -0.0180545412003994, 0.5229744911193848, 0.5542685985565186, -0.07752393186092377, 0.23595331609249115, -0.3336561620235443, -0.7475077509880066, 0.07050487399101257, -0.5154154300689697, -0.5244693160057068, 0.3963921070098877, 0.6821095943450928, 0.6421020030975342, 0.11918534338474274, -0.7080701589584351, 0.45295968651771545, 0.09865442663431168, -0.2258760780096054, -0.2289896160364151, 0.2799454927444458, -0.017445925623178482, 0.23015910387039185, 0.0863524079322815, 0.16905196011066437, 0.19866862893104553, -0.6405357718467712, 0.11819318681955338, 0.23635722696781158, -0.42243099212646484, -0.5509764552116394, 0.390903502702713, 0.10914720594882965, -0.7460409998893738, 0.3849206864833832, -0.43552517890930176, -0.4879796504974365, 0.6163961291313171, 0.34400656819343567, 1.1010202169418335, 0.1956465244293213, 0.536830484867096, 0.24912691116333008, 0.18784885108470917, 0.06870056688785553, 0.1445295810699463, -0.37487220764160156, -0.6408216953277588, -0.3337588608264923, -0.7115198373794556, -0.20791012048721313, -0.4340287148952484, -0.27627846598625183, 0.23858846724033356, -0.24142681062221527, -0.2167266458272934, 0.27200645208358765, -0.0664941817522049, -0.4121800363063812, -0.06457334011793137, -0.06740071624517441, 0.5159798860549927, -0.8379262089729309, 0.45168712735176086, 0.8785905241966248, -0.2141941487789154, -0.39520329236984253, 0.3125367760658264, 0.02828926220536232, -0.5785269737243652, 0.5647403001785278, 0.06213783472776413, -0.10907286405563354, -0.03908480331301689, -0.6749347448348999, -1.06820809841156, 0.895478367805481, -0.1282627433538437, -0.08698432147502899, 0.20073485374450684, 0.38764315843582153, 0.7690995931625366, -0.0378958098590374, 0.09617868065834045, 0.357023149728775, 0.5205174684524536, -0.02593393623828888, -0.7183482646942139, -0.14236973226070404, -0.02345982939004898, -0.129095196723938, 0.5503584742546082, -0.740340530872345, 0.9522598385810852, 0.1514558494091034, -0.372014582157135, 0.2389199286699295, 0.4438280463218689, 0.041551023721694946, 0.3778820037841797, 0.6182860732078552, 0.43228644132614136, 0.7043081521987915, -0.23960483074188232, 1.1239537000656128, -0.1550409346818924, 0.1474887579679489, 0.8348047733306885, -0.1444678157567978, 0.7053192853927612, 0.24576912820339203, -0.5207017660140991, 0.9456274509429932, 0.5126329064369202, -0.010884702205657959, 0.43948593735694885, 0.29019495844841003, -0.1838926374912262, -0.0005398918874561787, -0.17367415130138397, -0.04414921626448631, 0.5639143586158752, 0.08121820539236069, 0.03275108337402344, -0.45467841625213623, -0.21551799774169922, 0.3445744514465332, 0.11519106477499008, -0.22274461388587952, 1.0340088605880737, -0.18784701824188232, -0.6349705457687378, 0.079447440803051, 0.16755850613117218, 0.5824469327926636, -0.3792341947555542, 0.32399845123291016, -0.1266927570104599, 0.11405111849308014, -0.2301110476255417, -0.830891489982605, 0.2859915494918823, 0.30410251021385193, -0.42501482367515564, 0.017603863030672073, 0.8333130478858948, -0.041875261813402176, -0.6458076238632202, 0.15038791298866272, 0.5195222496986389, 0.417664498090744, -0.24042558670043945, -0.4122135043144226, -0.23344957828521729, -0.23789314925670624, -0.14405666291713715, 0.3037232756614685, 0.7340800762176514, -0.3911711275577545, 0.5565339922904968, 0.7222208380699158, -0.07567968964576721, 0.477838397026062, 0.0623101070523262, 0.5780477523803711, -1.0129684209823608, -0.6128817796707153, -1.0827633142471313, 0.44836026430130005, -0.1762368530035019, -0.4921987056732178, 1.0789769887924194, 0.5981041789054871, 0.7162384390830994, -0.01735120825469494, 0.6163849830627441, -0.49121931195259094, 0.6628355979919434, -0.23853975534439087, 0.7837198972702026, -0.5858209133148193, -0.27349942922592163, -0.6427661180496216, -0.944389283657074, -0.42144450545310974, 0.525596022605896, -0.07853488624095917, -0.1607903689146042, 0.8451150059700012, 0.698106050491333, 0.33439239859580994, -0.402545690536499, 0.11875250190496445, 0.08257963508367538, 0.14996206760406494, 0.19309411942958832, 0.8818214535713196, -0.32221853733062744, 0.42696574330329895, 0.005277725402265787, -0.07580254226922989, -0.20808763802051544, -0.6777052283287048, -0.8222010135650635, -0.7910336256027222, -0.31431517004966736, -0.17011849582195282, -0.3147309124469757, 0.1947101503610611, 0.337708979845047, -0.6591947674751282, -0.3934554159641266, -0.4361899495124817, 0.6252670288085938, 0.03851450979709625, -0.27094969153404236, 0.5484355688095093, -0.6195768117904663, -0.7349125742912292, 0.06524477899074554, 0.5332412123680115, -0.07500100135803223, -0.3365567624568939, 0.14235085248947144, -0.3183601498603821, 0.2529405653476715, 0.4943532645702362, -0.02553481049835682, -0.748159646987915, -0.5406211018562317, 0.27500903606414795, -0.33687329292297363, 0.3774581253528595, 0.8984207510948181, -0.7786598801612854, 0.37581315636634827, 0.9668492078781128, 0.2329840064048767, -0.009817622601985931, 0.025926480069756508, 0.4531037509441376, -0.6547595858573914, 0.30430492758750916, 0.012846281751990318, 0.1837558001279831, 0.31250542402267456, -0.06474725902080536, 0.6339859366416931, 0.5174720883369446, -0.8102055191993713, -0.7020664811134338, 0.13272279500961304, -1.1982022523880005, -0.4936995804309845, 1.300771713256836, 0.005088501609861851, -0.45990902185440063, -0.30306556820869446, -0.4109865427017212, 0.34358689188957214, -0.21759013831615448, 0.8285093307495117, 0.9624081254005432, 0.10199298709630966, 0.6727052330970764, -0.4611310362815857, 0.5745518207550049, 0.1641448438167572, -0.574805736541748, -0.29719942808151245, 0.5638957023620605, 0.16932789981365204, 0.3936527669429779, 0.8441609144210815, -0.06924556940793991, 0.11858797073364258, 0.26440513134002686, 0.10048861056566238, 0.5839571952819824, -0.3101218342781067, 0.039545271545648575, 0.2498551458120346, -0.24807041883468628, -0.3126625120639801 ]
http://arxiv.org/abs/2402.17389v1
http://arxiv.org/pdf/2402.17389v1
FairBelief -- Assessing Harmful Beliefs in Language Models
2024-02-27T10:31:00
2024-02-27T10:31:00
Mattia Setzu, Marta Marchiori Manerba, Pasquale Minervini, Debora Nozza
cs.CL
cs.CL, cs.AI
Language Models (LMs) have been shown to inherit undesired biases that might hurt minorities and underrepresented groups if such systems were integrated into real-world applications without careful fairness auditing. This paper proposes FairBelief, an analytical approach to capture and assess beliefs, i.e., propositions that an LM may embed with different degrees of confidence and that covertly influence its predictions. With FairBelief, we leverage prompting to study the behavior of several state-of-the-art LMs across different previously neglected axes, such as model scale and likelihood, assessing predictions on a fairness dataset specifically designed to quantify LMs' outputs' hurtfulness. Finally, we conclude with an in-depth qualitative assessment of the beliefs emitted by the models. We apply FairBelief to English LMs, revealing that, although these architectures enable high performances on diverse natural language processing tasks, they show hurtful beliefs about specific genders. Interestingly, training procedure and dataset, model scale, and architecture induce beliefs of different degrees of hurtfulness.
[ -0.4258245527744293, -0.801925003528595, 0.49762314558029175, 0.3244282901287079, 0.27507495880126953, -0.2645006775856018, 0.06520654261112213, -0.5454157590866089, -0.30952784419059753, 0.31548163294792175, -0.318972647190094, -0.3234361410140991, -0.915276825428009, 0.06212620064616203, -0.3882847726345062, 0.8432742953300476, 0.04254737123847008, 0.3146508038043976, -0.11610279977321625, -0.42554956674575806, -0.6969701647758484, -0.35932299494743347, -0.3205520808696747, -0.3824671804904938, 0.37775567173957825, 0.10782866925001144, 1.0537418127059937, 0.153048574924469, 0.3642840087413788, 0.14914420247077942, -0.086954765021801, -0.32138949632644653, -0.47044187784194946, 0.21895869076251984, -0.4867383539676666, -0.8253501057624817, -0.2695670425891876, 0.38304880261421204, 0.5346168875694275, 0.9059702157974243, -0.30596286058425903, 0.4343174993991852, 0.10824365168809891, 0.40096181631088257, -0.8678959012031555, -0.01586681604385376, -0.7327697277069092, 0.25581514835357666, -0.06590485572814941, 0.27758675813674927, -0.5654255747795105, -0.834783673286438, 0.06516023725271225, 0.0722724199295044, -0.03817969933152199, 0.17197656631469727, 0.6910112500190735, 0.33562037348747253, -0.6394102573394775, -0.48033538460731506, -0.40346720814704895, 1.1090842485427856, -0.9559244513511658, 0.4982956349849701, 0.42541688680648804, 0.3910011649131775, -0.28681138157844543, -0.33677273988723755, -0.640572726726532, -0.15890462696552277, -0.20792007446289062, -0.10413956642150879, -0.5004635453224182, -0.02561589889228344, 0.42296302318573, 0.24132156372070312, -0.6311308145523071, 0.17912568151950836, -0.14497502148151398, -0.139296755194664, 0.558532178401947, 0.14296674728393555, 0.4435390532016754, -0.34812435507774353, -0.1920185536146164, 0.11833349615335464, -0.8892489671707153, 0.18541833758354187, 0.5581520795822144, 0.4988629221916199, 0.00026625103782862425, 0.2585553824901581, 0.12896133959293365, 0.3758615255355835, -0.028422001749277115, -0.1390438973903656, 0.30466413497924805, 0.3275468647480011, -0.4901200234889984, 0.19100293517112732, 0.6276964545249939, 0.5654194951057434, 0.4041992425918579, -0.12768259644508362, -0.41629311442375183, 0.5200170874595642, 0.14924579858779907, -1.006098985671997, 0.20312805473804474, 0.3700406849384308, -0.6228731274604797, -0.5266641974449158, -0.18258900940418243, -0.7301331758499146, -0.6455995440483093, 0.08729233592748642, 0.37501561641693115, -0.3002738356590271, -0.3691348135471344, 0.2972656190395355, -0.11820770055055618, 0.09584026783704758, 0.10408966988325119, -0.8004780411720276, 0.38374537229537964, 0.7451450228691101, 0.3331758379936218, 0.013688975013792515, -0.028356576338410378, -0.6363555788993835, -0.08016403019428253, -0.3993224799633026, 0.5084506869316101, -0.6833199858665466, -0.3663024604320526, 0.2619312107563019, 0.11296401172876358, 0.24193648993968964, -0.5622117519378662, 0.9509599208831787, -0.3182159662246704, 0.40885815024375916, -0.40426287055015564, -0.6622408032417297, -0.40570104122161865, 0.3197263777256012, -0.5916996598243713, 0.7650137543678284, 0.003945283126085997, -1.0749127864837646, 0.595183789730072, -0.49434763193130493, -0.2772960066795349, -0.06681668013334274, -0.47201886773109436, -0.1393306404352188, 0.4291876256465912, -0.056829310953617096, 0.42869850993156433, -0.2613615095615387, 0.6751530170440674, -0.7358267307281494, -0.13443106412887573, 0.3840830624103546, -0.8306179046630859, 1.069907307624817, 0.31048619747161865, -0.534959614276886, -0.2512916624546051, -0.6546618938446045, -0.1495397835969925, 0.23108437657356262, -0.04519360885024071, -0.6285213828086853, 0.2297268807888031, -0.1823737472295761, 0.27720385789871216, -0.14092285931110382, -0.5702475905418396, -0.16023357212543488, -0.4536806344985962, -0.18813291192054749, 0.8232616186141968, -0.18463458120822906, 0.550557553768158, -0.3888879716396332, 0.5916703343391418, -0.14456743001937866, 0.31507545709609985, 0.31240805983543396, -0.43353286385536194, -0.512127697467804, 0.15874657034873962, 0.294732928276062, 0.3765111565589905, -0.2729240655899048, -0.07317731529474258, 0.06766457110643387, -0.2877179980278015, -0.7458968758583069, 0.02728993445634842, 0.3570016920566559, 0.4805799424648285, 0.07207184284925461, -0.21837425231933594, -0.2786209285259247, -1.1626206636428833, -0.7713707089424133, -0.3574182689189911, 0.1069696918129921, 0.3151151239871979, 0.5279629230499268, -0.21537406742572784, 0.8705174326896667, -0.37501123547554016, -0.03049827180802822, 0.10698208957910538, 0.41722044348716736, 0.19660267233848572, 0.3913850486278534, 0.9438790082931519, -0.7864074110984802, -0.24283167719841003, -0.33062198758125305, -0.7701852917671204, -0.38885167241096497, 0.14165988564491272, 0.06846241652965546, 0.18928176164627075, 0.024508412927389145, -0.43879446387290955, 0.5993332266807556, 0.7067528367042542, -0.7261857390403748, 0.5732558369636536, 0.30840185284614563, 0.33837684988975525, -0.6013328433036804, -0.2882196307182312, -0.04038425162434578, -0.34356701374053955, -0.4771716296672821, 0.15529422461986542, 0.029115624725818634, 0.34763118624687195, -0.6143540143966675, 0.6851842999458313, -0.23405250906944275, 0.12442098557949066, -0.20131631195545197, 0.07402700930833817, -0.02341172844171524, 0.09663653373718262, -0.17083607614040375, 0.3540413975715637, 0.36244097352027893, -0.37230587005615234, -0.10017015039920807, -0.006895861122757196, -0.22643086314201355, 0.5116108655929565, -0.25886547565460205, 0.012267245911061764, -0.45409995317459106, -0.1786588877439499, -0.7452515363693237, -0.07083939015865326, 0.21401329338550568, -0.4910639822483063, 0.10403890907764435, -0.2370305061340332, -0.3204883933067322, -0.08358735591173172, -0.20332655310630798, 0.40787965059280396, 0.6312878727912903, -0.515468955039978, 0.6483227014541626, 0.5796486139297485, -0.2154143899679184, -0.7303235530853271, -0.8825727701187134, -0.04116787016391754, -0.564889132976532, -0.45163971185684204, 0.036984045058488846, -0.06410320848226547, -1.0136151313781738, -0.13309423625469208, -0.022017406299710274, 0.012275060638785362, 0.36953654885292053, 0.5428404211997986, 0.11203864216804504, -0.049844350665807724, 0.345811665058136, 0.44265446066856384, 0.18229742348194122, 0.4065210521221161, 0.0570107027888298, 0.1626768559217453, -0.3479541540145874, -0.4251600503921509, 0.10999201983213425, 0.5019016265869141, 0.3190494179725647, 0.08062881976366043, 0.824660062789917, 0.3636728525161743, -0.8173357248306274, -0.48651695251464844, -0.6457641124725342, -0.12160839140415192, -0.4451582133769989, 0.3958554267883301, -0.22745709121227264, -1.061738133430481, 0.4764153063297272, -0.1147036999464035, 0.15607476234436035, 0.4010647237300873, 0.5470109581947327, -0.18048135936260223, 1.2961124181747437, 0.727739691734314, -0.07155299931764603, 0.04139896109700203, 0.2652229964733124, 0.22384007275104523, -0.13612525165081024, -0.09594301134347916, -0.874210000038147, -0.07496438920497894, -0.8135696053504944, -0.44340962171554565, -0.09405253827571869, 0.4121140241622925, -0.5261977910995483, -0.1164586991071701, -0.14456644654273987, 0.4742369055747986, -0.07823405414819717, -0.42258164286613464, 0.2766331136226654, -0.23728419840335846, -0.09550575166940689, -0.35866543650627136, -0.6570046544075012, -1.123131275177002, 0.8689646124839783, 0.8220502138137817, 0.8348300457000732, 0.39629265666007996, 0.5809953808784485, 0.6162601709365845, 0.9291724562644958, -0.8435810804367065, 0.30831658840179443, -0.11510071903467178, -1.17251455783844, -0.03631703183054924, -0.46488863229751587, -0.5959615111351013, 0.23853334784507751, -0.028644148260354996, -0.9699669480323792, 0.48341262340545654, 0.40462005138397217, -0.10718467831611633, 0.38849076628685, -0.6500377655029297, 0.86441969871521, -0.35287272930145264, -0.26407867670059204, -0.25007376074790955, -0.3201965093612671, 0.6597537398338318, -0.1479833722114563, 0.7174444198608398, -0.321363627910614, 0.17609478533267975, 0.9241941571235657, -0.06865617632865906, 0.9218670725822449, -0.5499466061592102, -0.6039503812789917, 0.28199946880340576, 0.8139078617095947, 0.3367064595222473, -0.0008877547807060182, -0.5538866519927979, 0.3060131371021271, 0.1503010094165802, -0.3106456995010376, -0.6014014482498169, 0.5825223922729492, -0.4291256368160248, -0.5927547812461853, -0.4180832803249359, -0.4200591444969177, -0.44331663846969604, 0.11129835247993469, -0.05652396008372307, 0.3173781633377075, -0.6536934971809387, -0.012130459770560265, 0.5279822945594788, -0.45496997237205505, 0.345647931098938, 0.47848373651504517, -0.6110309362411499, 0.12887071073055267, 0.7151315808296204, -0.04241059720516205, 0.4213264584541321, -0.02638566493988037, 0.17674566805362701, -0.27574092149734497, -0.6209102869033813, -0.05041026696562767, -0.14635202288627625, -0.9718155264854431, -0.3125213086605072, -0.30823639035224915, 0.3470020592212677, -0.4328254163265228, 0.08928199857473373, -0.464878648519516, -0.19962099194526672, -0.05289050564169884, -0.2209782600402832, 0.0268723014742136, 0.8397302627563477, -0.016535503789782524, 0.27408015727996826, -0.8227456212043762, 0.10155346989631653, 0.20913273096084595, 0.4825739562511444, -0.08108796924352646, -0.5399873852729797, 0.0702504888176918, 0.24896971881389618, -0.174748957157135, -1.0373660326004028, 0.4249187111854553, -0.05998245254158974, 0.7438535690307617, 0.5516709685325623, 0.23590196669101715, 0.1758347600698471, -0.5397564172744751, 0.6878916621208191, 0.5039376020431519, -1.0220228433609009, 0.3361928164958954, -0.08949699252843857, -0.06302423030138016, 0.5907046794891357, 0.7015422582626343, -0.7158831357955933, -0.6802578568458557, -0.46120211482048035, -0.13103795051574707, 0.6124628782272339, -0.060324717313051224, 0.28188592195510864, -0.18453601002693176, 0.19678357243537903, 0.6105546951293945, 0.10093214362859726, -0.9852731823921204, -0.25794053077697754, -0.387794554233551, -0.5838024020195007, 0.21916058659553528, -0.2382490336894989, -0.07914173603057861, -0.0786159411072731, 0.5480921268463135, -0.2734077274799347, 0.104364775121212, -0.15172798931598663, -0.5006819367408752, -0.1230761706829071, 0.6372735500335693, 0.07821883261203766, 0.6143962144851685, -0.378574013710022, 0.3674958348274231, 0.3527708649635315, -0.3152325749397278, 0.26090580224990845, 0.03868566453456879, -0.25016090273857117, 0.006431812886148691, 0.3145265281200409, 0.6611896753311157, -0.09423864632844925, -0.8007547855377197, 0.8121067881584167, -0.32451292872428894, -0.001890208339318633, 0.06909533590078354, 0.07175402343273163, 0.24094577133655548, 0.4620702862739563, 0.1887352168560028, 0.04158792272210121, 0.40486234426498413, -0.6421011090278625, 0.06108715385198593, 0.44075775146484375, -0.8075024485588074, -0.42739132046699524, 0.33430367708206177, 0.1493617743253708, -0.3172002136707306, 0.11965235322713852, -0.47242528200149536, -0.6588011980056763, 0.3245372474193573, 0.4339885711669922, 0.8545359969139099, -0.38709360361099243, 0.15627959370613098, 0.2264733910560608, 0.6106509566307068, 0.09614908695220947, 0.23014327883720398, 0.30010634660720825, -1.0160173177719116, -0.3095208704471588, -0.7757992148399353, -0.11024201661348343, 0.1327977329492569, -0.6923492550849915, 0.06106046959757805, -0.3280864953994751, -0.37281855940818787, -0.14299677312374115, -0.17059186100959778, -0.8487806916236877, 0.3833981156349182, 0.5111092329025269, 0.9585473537445068, -1.02051842212677, 0.35719388723373413, 0.2901950478553772, -0.41541215777397156, -0.7153704762458801, 0.28172919154167175, 0.24126729369163513, -0.817222535610199, 0.8251470923423767, 0.041268620640039444, -0.2263893187046051, -0.5728563070297241, -0.7948368787765503, -0.33977699279785156, 0.5292568802833557, 0.7418935298919678, -0.8134677410125732, -0.009918448515236378, 0.3200644552707672, 0.21037355065345764, -0.3885383605957031, 0.39529433846473694, 0.7363020181655884, 0.41148844361305237, -0.4631217420101166, -0.871367871761322, 0.29159417748451233, -0.040246859192848206, -0.22737188637256622, 0.03962954506278038, -0.3211347460746765, 0.8059200644493103, -0.17447523772716522, -0.31993529200553894, -0.21417124569416046, 0.6293140053749084, 0.13863784074783325, 0.24287137389183044, 0.787459135055542, 0.3013496398925781, 0.9295613765716553, -0.037962496280670166, 0.9286081194877625, 0.08459917455911636, 0.4599139094352722, 1.1175917387008667, -0.3344820737838745, 0.7284877300262451, 0.4824223518371582, -0.2783965468406677, 0.39698219299316406, 0.3856487572193146, 0.22715114057064056, 0.5502455234527588, 0.4378485083580017, -0.17008288204669952, -0.22759321331977844, -0.3541901707649231, -0.24042485654354095, 0.5040097832679749, 0.39529532194137573, -0.24595385789871216, -0.4007076621055603, 0.18800334632396698, 0.17866726219654083, 0.25967806577682495, -0.21566075086593628, 0.49345120787620544, 0.5032573938369751, -0.5320469737052917, 0.47559353709220886, 0.26771819591522217, 0.9603434801101685, -0.21538743376731873, -0.18434485793113708, -0.30169442296028137, -0.00422254903241992, -0.19741718471050262, -0.893234372138977, 0.2897079288959503, 0.3086485266685486, -0.15003594756126404, -0.15804418921470642, 1.0158116817474365, -0.24919989705085754, -0.3749447166919708, 0.7359015941619873, 0.7087161540985107, 0.10193674266338348, 0.020192062482237816, -0.731728196144104, 0.1567326933145523, 0.1298709660768509, -0.277437686920166, 0.3672432601451874, 0.43983200192451477, -0.14465583860874176, 0.5634857416152954, 0.14984630048274994, 0.178864985704422, -0.061726365238428116, 0.48360559344291687, 0.39883020520210266, -0.7386472821235657, -0.3042854964733124, -0.8844321370124817, 0.4178648591041565, 0.24346093833446503, -0.09521231055259705, 0.5644676685333252, 0.17290908098220825, 0.7994416356086731, 0.4016572833061218, 0.8474045395851135, 0.04583129659295082, 0.5268325805664062, -0.28343427181243896, 0.9522581696510315, -0.6310325860977173, 0.19016647338867188, -0.5720779299736023, -0.75669264793396, -0.19375476241111755, 0.6940183639526367, -0.48221829533576965, 0.2242959588766098, 0.4345693290233612, 0.7247173190116882, -0.033878669142723083, 0.622397243976593, 0.382385790348053, 0.5049100518226624, 0.5403929948806763, 0.35987338423728943, 1.3250348567962646, -0.3142246603965759, 0.4304378926753998, -0.04155430570244789, -0.33617740869522095, -0.05001465976238251, -1.140178918838501, -0.8525313138961792, -0.22890199720859528, -0.3431471884250641, -0.4193974435329437, -0.10282240062952042, 0.8867748975753784, 0.3735978901386261, -0.9206182956695557, -0.15713685750961304, 0.19159895181655884, 0.23495765030384064, 0.2595672607421875, -0.2928708493709564, 0.22107161581516266, -0.2259216606616974, -0.682692289352417, 0.0718216747045517, 0.001835207105614245, 0.0378565713763237, -0.3423137664794922, -0.44989803433418274, 0.05226179584860802, 0.29569366574287415, 0.6009293794631958, -0.1051769033074379, -0.7186319828033447, -0.620728611946106, -0.35788631439208984, -0.18615370988845825, -0.21108508110046387, 0.47621652483940125, -0.6711780428886414, 0.24468305706977844, 0.32359200716018677, 0.5128130912780762, -0.037097685039043427, -0.40231752395629883, 0.5779207944869995, -0.5820366144180298, 0.029970280826091766, 0.6373488306999207, 0.6268828511238098, 0.34068456292152405, -0.18435153365135193, 0.03492782637476921, 0.013464134186506271, -0.17996804416179657, -1.3120671510696411, 0.12939830124378204, -0.4035307765007019, -0.5714033246040344, 0.9433745741844177, -0.17783650755882263, -0.23596127331256866, -0.018081987276673317, -0.08890721946954727, 0.18176592886447906, -0.4504002034664154, 0.6648674011230469, 0.8536117076873779, 0.1936747431755066, 0.22627048194408417, -0.8363999724388123, 0.6379715204238892, 0.7680904269218445, -0.733791172504425, 0.29192987084388733, 0.5802726745605469, 0.4721032977104187, 0.13221172988414764, 0.3976133465766907, -0.3557243347167969, 0.23043401539325714, 0.10183753818273544, 0.14292195439338684, 0.2887883484363556, -0.08845549076795578, -0.5041992664337158, 0.40639784932136536, 0.3017168641090393, 0.20354634523391724 ]
http://arxiv.org/abs/2403.00826v1
http://arxiv.org/pdf/2403.00826v1
LLMGuard: Guarding Against Unsafe LLM Behavior
2024-02-27T10:22:45
2024-02-27T10:22:45
Shubh Goyal, Medha Hira, Shubham Mishra, Sukriti Goyal, Arnav Goel, Niharika Dadu, Kirushikesh DB, Sameep Mehta, Nishtha Madaan
cs.CL
cs.CL, cs.CR, cs.LG
Although the rise of Large Language Models (LLMs) in enterprise settings brings new opportunities and capabilities, it also brings challenges, such as the risk of generating inappropriate, biased, or misleading content that violates regulations and can have legal concerns. To alleviate this, we present "LLMGuard", a tool that monitors user interactions with an LLM application and flags content against specific behaviours or conversation topics. To do this robustly, LLMGuard employs an ensemble of detectors.
[ -0.44969332218170166, -1.0894159078598022, 0.35506486892700195, 0.08279576152563095, -0.16351860761642456, 0.21065612137317657, 0.2300521433353424, -0.49952733516693115, 0.26162081956863403, 0.9442443251609802, -0.5668594241142273, -0.6621254682540894, -0.6891292929649353, -0.17175620794296265, -0.6662823557853699, 1.1237990856170654, -0.014841693453490734, -0.33274418115615845, -0.2703515887260437, 0.10063230246305466, -0.49608314037323, -0.864403486251831, -1.0291324853897095, -0.6849212646484375, 0.6075617671012878, 0.6072678565979004, 0.7522206902503967, 0.2515161335468292, 0.7133825421333313, 0.37244418263435364, 0.03692801669239998, -0.023970460519194603, -0.714317798614502, 0.5512334704399109, -0.15269538760185242, -0.4120485782623291, -0.9141015410423279, -0.2716825008392334, 0.2702537178993225, 0.0744682252407074, -0.44401443004608154, 0.10721486806869507, 0.11691363155841827, 0.2988458573818207, -0.4749262034893036, -0.02295694500207901, -0.5514712929725647, -0.02393767237663269, -0.6240432262420654, -0.3955379128456116, -0.43489471077919006, -0.2981897294521332, -0.2129640281200409, -0.15080489218235016, -0.35773590207099915, 0.3690566420555115, 0.7850571870803833, 0.13375134766101837, -0.6403756737709045, -0.150821715593338, -0.3768197000026703, 0.6008197069168091, -0.6057915687561035, 0.2945250868797302, 0.847126841545105, 0.3408389389514923, -0.5917555689811707, -0.7005946040153503, -0.5269252061843872, -0.29539498686790466, 0.05823938921093941, -0.10488623380661011, -0.6874322295188904, 0.34210389852523804, 0.22385312616825104, 0.246143639087677, -0.536531388759613, 0.6097413301467896, -0.2336682379245758, -0.582400381565094, 0.7537349462509155, 0.39073631167411804, 0.7419449090957642, -0.01007142011076212, -0.3418756425380707, -0.06716632097959518, -1.1056774854660034, -0.22766636312007904, 0.49214276671409607, -0.1934003382921219, -0.03899455815553665, 0.8284540176391602, -0.11705398559570312, 0.6611568927764893, -0.04558676853775978, -0.41874563694000244, 0.16393370926380157, 0.3632330894470215, -0.36013761162757874, 0.2864046096801758, 0.8786057233810425, 0.6427823901176453, 0.30773070454597473, 0.04124409332871437, -0.46620431542396545, 0.05429650470614433, 0.19890055060386658, -0.7034639120101929, -0.2563139796257019, 0.46508410573005676, -0.15011775493621826, -0.6055364012718201, -0.0741945207118988, -0.6205599904060364, -0.7340453863143921, -0.01382437627762556, 0.24536094069480896, -0.32412269711494446, -0.3613109886646271, 0.01012869831174612, 0.22630564868450165, 0.11413384228944778, 0.22496183216571808, -0.8895118236541748, 0.289293497800827, 0.876862645149231, 0.6927453875541687, -0.5928782820701599, -0.362785279750824, -0.842933177947998, 0.4705147445201874, -0.25601083040237427, 1.035287618637085, -0.3921014964580536, -0.801023006439209, 0.1394098699092865, 0.13820217549800873, 0.3372690677642822, -0.47382283210754395, 0.5118069648742676, -0.7858399748802185, -0.12750573456287384, -0.12638095021247864, -0.4957273602485657, -0.236183762550354, 0.6258975863456726, -0.7650158405303955, 1.1350374221801758, 0.15187305212020874, -0.8869268298149109, 0.36983537673950195, -0.5911100506782532, -0.5305720567703247, 0.17455126345157623, -0.2551942467689514, -0.5029529333114624, -0.2114323377609253, 0.024211052805185318, 0.45424073934555054, 0.009127002209424973, 0.2621089220046997, -0.35755547881126404, -0.13996388018131256, 0.606166422367096, -0.50441974401474, 0.7701811790466309, 0.32922664284706116, -0.1256713718175888, 0.5305485725402832, -0.46315330266952515, -0.3470630347728729, 0.024384213611483574, -0.7232799530029297, -0.3447830080986023, 0.09339138120412827, 0.03337548300623894, 0.04734765365719795, 0.41964462399482727, -0.34777602553367615, -0.011670226231217384, -0.0019034129800274968, 0.15883611142635345, 1.0412427186965942, 0.15745121240615845, 0.15646061301231384, -0.5632739067077637, 0.8619990348815918, 0.0633963793516159, 0.14691077172756195, 0.04774731770157814, -0.7063781023025513, -0.6261667013168335, -0.24693793058395386, -0.024637697264552116, 0.8268579840660095, -0.8101257085800171, 0.5658189058303833, -0.06678072363138199, -0.3991628587245941, -0.2553536891937256, 0.5802979469299316, 0.36607086658477783, 0.4221744239330292, -0.13245338201522827, -0.2683808207511902, -0.4991820752620697, -0.7237610220909119, 0.03267330676317215, -0.5020861625671387, -0.24973426759243011, 0.1968502253293991, 0.18709927797317505, -0.5809457302093506, 0.6964602470397949, -0.42632317543029785, -0.255293607711792, -0.44423770904541016, 0.16451624035835266, -0.007306125480681658, 0.31245148181915283, 0.6900677680969238, -0.5191549062728882, -0.23291043937206268, 0.017231572419404984, -0.7650028467178345, -0.6637741327285767, -0.024124961346387863, -0.4768681824207306, 0.26211100816726685, 1.0143846273422241, -0.5721750855445862, 0.25206759572029114, 0.8560919761657715, -0.5601105093955994, 0.46459028124809265, -0.012814371846616268, 0.012616469524800777, -1.078978180885315, -0.16489532589912415, 0.01054405327886343, -0.6192428469657898, -0.7017797231674194, 0.09360562264919281, -0.16569069027900696, 0.0547817125916481, -0.6781557202339172, 0.4682506024837494, -0.2793664038181305, -0.09401563555002213, -0.35601887106895447, 0.29893600940704346, -0.02525368332862854, -0.18689104914665222, -0.08164408057928085, 1.0820804834365845, 0.6108216047286987, -0.7256967425346375, 0.5857945084571838, 0.3678815960884094, -0.5550495386123657, 0.8696854114532471, -0.4690324366092682, 0.13883592188358307, -0.04595709964632988, 0.030727382749319077, -0.8690970540046692, -0.43878811597824097, 0.046798527240753174, -0.3069969713687897, 0.3072873651981354, -0.18919439613819122, -0.5168110132217407, -0.4092371463775635, -0.3257460594177246, -0.07892712205648422, 0.3899604380130768, -0.4878069758415222, 0.7316402196884155, 0.9416742324829102, -0.38984256982803345, -0.4885910153388977, -0.9949813485145569, 0.437417596578598, -0.618250846862793, -0.7924789786338806, -0.1169242337346077, -0.03995354846119881, -0.7288364171981812, -0.24107789993286133, 0.0781169906258583, -0.12341733276844025, 0.5456807613372803, 0.4294963479042053, 0.5343396663665771, -0.1732105314731598, -0.05963033065199852, -0.05158139020204544, 0.04164097458124161, 0.39483878016471863, 0.2435876727104187, 0.8271636962890625, -0.05416387319564819, -0.6561431884765625, -0.030490245670080185, 0.3301757574081421, 0.5335831642150879, 0.010044186376035213, 0.6029822826385498, 0.6438524127006531, -0.22349973022937775, -0.197832852602005, -0.6566402912139893, -0.20646469295024872, -0.7119953036308289, 0.3685249388217926, -0.11862864345312119, -1.1409028768539429, 0.4495048224925995, -0.007408691570162773, 0.040080443024635315, 0.08890330046415329, 0.7329039573669434, -0.061191100627183914, 0.8661227822303772, 0.7782435417175293, -0.4236678183078766, 0.6394394040107727, 0.35231050848960876, 0.207628071308136, -0.7677410840988159, -0.43801093101501465, -0.22085276246070862, -0.2298942655324936, -0.524685800075531, -0.20078399777412415, 0.40054959058761597, -0.09997206181287766, -0.25215038657188416, 0.2704666554927826, -0.21175169944763184, 0.6423126459121704, 0.653217077255249, 0.06300186365842819, 0.5092136859893799, 0.05330875143408775, -0.12614025175571442, 0.12568692862987518, -0.43259453773498535, -0.8217504620552063, 1.0040942430496216, 0.4135005474090576, 1.520020604133606, 0.6064947843551636, 0.6953729391098022, 0.6549026370048523, 0.7879035472869873, -0.8882666826248169, 0.8751921653747559, 0.11141777783632278, -0.8118350505828857, -0.14921674132347107, -0.2932354211807251, -1.1349011659622192, 0.002140355296432972, -0.43353554606437683, -1.3268154859542847, -0.05476244539022446, 0.37781569361686707, -0.2839456796646118, 0.5054418444633484, -0.6097507476806641, 0.644119918346405, -0.5798484086990356, -0.39669376611709595, -0.03348682075738907, -0.02275479957461357, 0.666851282119751, -0.2606814503669739, 0.1306651532649994, -0.45652589201927185, 0.015204528346657753, 0.5392815470695496, -0.2235451489686966, 1.0806151628494263, 0.21049955487251282, -0.45186033844947815, 0.5834494233131409, 0.7833016514778137, 0.6696165204048157, -0.020866187289357185, -0.015390935353934765, 0.21123844385147095, -0.27962377667427063, 0.12389791011810303, 0.07823003828525543, 0.9020593762397766, -0.46915867924690247, -1.0103437900543213, -0.5317328572273254, -0.6033456325531006, -0.08957914263010025, 0.31329861283302307, 0.14903445541858673, 0.012912697158753872, -0.4328429698944092, 0.20555320382118225, 0.8442233800888062, -0.3761913478374481, 0.39103543758392334, 0.6932472586631775, -0.7003316283226013, -0.047280412167310715, 0.6346487402915955, -0.24209484457969666, 0.3001730442047119, 0.21394944190979004, 0.08452262729406357, -0.31825903058052063, -0.6138677597045898, -0.2189664989709854, -0.11320493370294571, -0.8364237546920776, -0.4396224021911621, -0.5708547234535217, -0.28245458006858826, -0.1716686338186264, -0.21393059194087982, 0.24385373294353485, -0.3210914134979248, -0.30845707654953003, -0.5378108620643616, 0.7611112594604492, 0.7316813468933105, -0.04069921746850014, 0.6426252126693726, -0.742397129535675, 0.16261345148086548, 0.5506373643875122, 0.32509541511535645, -0.3871243894100189, -0.36933064460754395, 0.1110650897026062, -0.48606613278388977, -0.43409964442253113, -0.724394679069519, 0.4618854820728302, -0.028618652373552322, 0.8113052845001221, 0.7795947194099426, 0.02922014519572258, 0.19767023622989655, -0.5172162055969238, 0.7652077078819275, 0.23947612941265106, -0.7571014165878296, 0.6884720921516418, -0.5874415636062622, 0.09509684145450592, 0.3259345591068268, 0.28316137194633484, -0.5959089994430542, -0.6499294638633728, -0.41294601559638977, -0.8777026534080505, 0.36844587326049805, -0.03601910546422005, 0.2270561158657074, -0.37247559428215027, -0.16125817596912384, -0.3519493341445923, 0.24027374386787415, -0.7756208777427673, 0.0769665464758873, 0.02536437287926674, -0.13258133828639984, 0.15364661812782288, -0.5373561382293701, -0.527249276638031, 0.26976826786994934, 0.6187743544578552, -0.041631124913692474, 0.07239807397127151, -0.16104134917259216, -0.3240806758403778, -0.20804087817668915, 0.43972545862197876, 0.42831265926361084, 0.5253258347511292, -0.15085899829864502, 0.4555005133152008, 0.4340100884437561, -0.8744388818740845, 0.11798394471406937, -0.1414753645658493, -0.23097917437553406, -0.2539807856082916, 0.1685134768486023, 0.4196554124355316, 0.05735817179083824, -0.8490764498710632, 0.5826626420021057, 0.10926614701747894, -0.06903207302093506, -0.5031631588935852, 0.42768019437789917, 0.16888651251792908, 0.14490748941898346, -0.023050080984830856, -0.36459630727767944, 0.23575840890407562, -0.5461894869804382, 0.5298105478286743, 0.44303563237190247, -0.2980385422706604, 0.08780408650636673, 0.847568690776825, 0.3379349708557129, -0.37566012144088745, 0.4852864742279053, -0.057394400238990784, -0.4247778356075287, 0.50533127784729, 0.6941859722137451, 0.9650497436523438, -0.6738536953926086, -0.017918821424245834, -0.0953906998038292, 0.6234151124954224, -0.13705794513225555, 0.607333779335022, 0.4556417763233185, -0.968430757522583, -0.36732161045074463, -0.49603062868118286, -0.7189462184906006, 0.34318679571151733, -0.5495879054069519, 0.3221178650856018, -0.724101722240448, -0.7025273442268372, -0.14476536214351654, -0.5690292119979858, -0.22068572044372559, -0.08063843101263046, 0.519880473613739, 1.0180658102035522, -0.7285537719726562, 0.9881846308708191, 0.5400269031524658, -0.143138587474823, -0.3820805549621582, -0.20049312710762024, 0.7467383146286011, -1.1359566450119019, 0.5242552161216736, 0.006452187430113554, -0.5468928217887878, -0.3628634214401245, -0.40671634674072266, -0.7142196893692017, 1.1025692224502563, 0.357035756111145, -0.750967264175415, 0.4921874701976776, 0.28242501616477966, 0.23376718163490295, -0.19992439448833466, -0.19218498468399048, 0.835610032081604, 0.5825507044792175, -0.060435086488723755, -0.736183762550354, 0.08980008959770203, -0.25845399498939514, -0.21327754855155945, 0.39728742837905884, -0.5769290924072266, 0.7623165845870972, -0.0015647208783775568, -0.19638819992542267, -0.1997065544128418, 0.5011804103851318, 0.42875945568084717, 0.20340389013290405, 0.4865480661392212, 0.500601053237915, 0.9040746092796326, -0.32626181840896606, 1.1852704286575317, -0.31251874566078186, -0.091582290828228, 1.2112480401992798, -0.5520498156547546, 0.8942579030990601, 0.418766587972641, 0.004694236908107996, 0.6093285083770752, 0.48510998487472534, -0.22059182822704315, 0.2262612283229828, 0.2773303687572479, -0.7275827527046204, -0.3741789162158966, -0.23146116733551025, -0.0590062253177166, 0.4028388559818268, 0.9540129899978638, -0.1413046419620514, -0.14714987576007843, -0.18839190900325775, 0.5649152398109436, 0.08681406080722809, -0.5409730672836304, 0.8008407354354858, 0.2622423470020294, -0.5292035341262817, 0.2203204184770584, 0.048909224569797516, 0.8103264570236206, -0.7418746948242188, 0.13215215504169464, -0.2268727868795395, 0.25282740592956543, -0.4468129873275757, -1.3143576383590698, 0.3492793142795563, 0.31699138879776, 0.447994589805603, -0.09755558520555496, 1.1029874086380005, -0.19630810618400574, -0.42848971486091614, 0.4650304913520813, 0.47944241762161255, 0.09917376190423965, 0.16120731830596924, -0.6221075057983398, 0.29932349920272827, -0.14942488074302673, -0.3992794454097748, 0.4079325497150421, 0.3967874050140381, -0.4321727156639099, 1.117189645767212, 0.6637634038925171, 0.04501346871256828, 0.12929560244083405, 0.2942230701446533, 0.9618831872940063, -0.41899076104164124, -0.6287535429000854, -1.005973219871521, 0.2619924247264862, -0.33340322971343994, -0.18713310360908508, 1.0170289278030396, 0.5409541130065918, 0.6190246939659119, 0.31417423486709595, 0.8008614778518677, 0.02606309950351715, 0.20218558609485626, -0.708827793598175, 0.9688203930854797, -0.17342162132263184, 0.6796245574951172, -0.14107510447502136, -0.7522553205490112, -0.3758453130722046, 0.5842987298965454, -0.2638094425201416, -0.14344383776187897, 0.4047907590866089, 1.0811450481414795, -0.2136000394821167, -0.28387191891670227, 0.5547102689743042, 0.2699352204799652, 0.43265607953071594, 0.3339153528213501, 1.0738757848739624, 0.21791231632232666, 0.7591200470924377, 0.14034950733184814, -0.1628258228302002, -0.3575995862483978, -1.1912142038345337, -1.3146156072616577, 0.09400811046361923, -0.3008805811405182, -0.6427566409111023, -0.05749119445681572, 0.693531334400177, 0.5901942253112793, -0.9163569808006287, -0.6009993553161621, 0.1366463005542755, 0.1034582331776619, 0.24987860023975372, -0.17364485561847687, -0.11802209168672562, -0.10167772322893143, -0.44384846091270447, 0.49278560280799866, 0.3503454625606537, 0.4729410707950592, -0.4986128807067871, -0.08245918154716492, -0.07068992406129837, 0.2982088625431061, 0.7215877771377563, 0.41359394788742065, -0.38200342655181885, -0.27828744053840637, -0.3896072208881378, -0.24708816409111023, 0.06880249083042145, 0.5207251906394958, -0.24495165050029755, 0.09662768989801407, 0.5148993134498596, 0.4443064332008362, 0.5579359531402588, -0.06271994113922119, 0.7392909526824951, -0.8566586375236511, 0.29416850209236145, 0.005591989494860172, 0.8132328987121582, 0.5701825022697449, -0.6000655293464661, 0.504955530166626, -0.33128535747528076, -0.640591025352478, -0.7281401753425598, 0.5064996480941772, -1.008810043334961, -0.14563331007957458, 1.3019793033599854, -0.08522103726863861, -0.40193769335746765, -0.3704928159713745, -0.3217141032218933, -0.35018664598464966, -0.6751199960708618, 0.9200544953346252, 0.6953008770942688, -0.019976312294602394, -0.20330388844013214, -1.0333127975463867, 0.5725194811820984, -0.08488662540912628, -1.2302860021591187, 0.014761850237846375, 0.6447067260742188, 0.6255797743797302, 0.045470718294382095, 0.6901093125343323, -0.24362511932849884, 0.21774867177009583, -0.10293831676244736, 0.009456937201321125, -0.06756240874528885, -0.128789484500885, -0.1303444355726242, -0.19626034796237946, 0.4675235152244568, 0.0584314726293087 ]
http://arxiv.org/abs/2402.17377v2
http://arxiv.org/pdf/2402.17377v2
KoDialogBench: Evaluating Conversational Understanding of Language Models with Korean Dialogue Benchmark
2024-02-27T10:14:57
2024-06-17T05:12:56
Seongbo Jang, Seonghyeon Lee, Hwanjo Yu
cs.CL
cs.CL
As language models are often deployed as chatbot assistants, it becomes a virtue for models to engage in conversations in a user's first language. While these models are trained on a wide range of languages, a comprehensive evaluation of their proficiency in low-resource languages such as Korean has been lacking. In this work, we introduce KoDialogBench, a benchmark designed to assess language models' conversational capabilities in Korean. To this end, we collect native Korean dialogues on daily topics from public sources, or translate dialogues from other languages. We then structure these conversations into diverse test datasets, spanning from dialogue comprehension to response selection tasks. Leveraging the proposed benchmark, we conduct extensive evaluations and analyses of various language models to measure a foundational understanding of Korean dialogues. Experimental results indicate that there exists significant room for improvement in models' conversation skills. Furthermore, our in-depth comparisons across different language models highlight the effectiveness of recent training techniques in enhancing conversational proficiency. We anticipate that KoDialogBench will promote the progress towards conversation-aware Korean language models.
[ -0.36422473192214966, -0.6963323950767517, 0.5710576772689819, 0.14718908071517944, -0.27985647320747375, 0.3318745195865631, -0.3214517831802368, -0.3495463728904724, -0.17851898074150085, 0.7675783634185791, -0.45315197110176086, -0.5964369773864746, -0.2933262288570404, 0.06622139364480972, -0.03557892516255379, 0.5955562591552734, 0.053613413125276566, 0.3960345387458801, -0.5940101742744446, -0.4045058786869049, -0.6649401187896729, -0.3355427384376526, -0.4985347092151642, -0.6546988487243652, 0.07217854261398315, 0.38826504349708557, 0.8004107475280762, 0.30572181940078735, 0.1843516081571579, 0.36113524436950684, -0.19567042589187622, -0.1431281715631485, -0.6540966629981995, 0.29179754853248596, -0.07131518423557281, -0.6415162682533264, -0.30885234475135803, 0.003983319271355867, 0.5306055545806885, 1.2394176721572876, 0.010788403451442719, 0.3203149437904358, -0.09280943125486374, 0.6914424896240234, -0.43374231457710266, 0.5951895713806152, -0.5398374795913696, 0.03365779668092728, 0.2405911386013031, 0.24279218912124634, -0.42902010679244995, -0.48610126972198486, 0.35597681999206543, -0.43350324034690857, 0.07348854839801788, -0.11232659965753555, 0.6062526106834412, 0.057239897549152374, -0.595536470413208, -0.3207162618637085, -0.5530455112457275, 0.5854402780532837, -0.8081033229827881, 0.828217625617981, 0.5289987921714783, 0.6190274953842163, -0.02103775553405285, -0.48187607526779175, -0.4133909344673157, -0.8891014456748962, -0.01929481141269207, 0.3522433638572693, -0.1715434342622757, 0.23657023906707764, 0.2569918632507324, 0.3907438814640045, -0.6348137259483337, -0.1772129386663437, -0.23748423159122467, -0.3023303747177124, 0.4867875277996063, 0.2840069830417633, 0.2900378406047821, -0.5498881340026855, -0.04300505295395851, -0.20166145265102386, -0.20696301758289337, 0.14786840975284576, 0.5682277679443359, 0.3943946063518524, -0.07476909458637238, 0.520774781703949, -0.690788209438324, 0.7208027839660645, -0.11171617358922958, -0.2632503807544708, 0.19781185686588287, -0.6872246861457825, -0.10772455483675003, 0.10149560123682022, 0.44875261187553406, 0.7143542766571045, 0.35271474719047546, -0.3204571306705475, 0.22825220227241516, 0.30961236357688904, 0.1541738659143448, -0.8986709117889404, -0.6069598197937012, 0.13884809613227844, -0.6846279501914978, -0.36433666944503784, -0.29162752628326416, -0.8112793564796448, -0.528200626373291, -0.264302521944046, 0.0073321484960615635, 0.007123375311493874, -0.5786240696907043, 0.19065365195274353, 0.03190270811319351, 0.02384665235877037, 0.33514195680618286, -0.3853212296962738, 0.4630153179168701, 0.5720920562744141, 0.6925170421600342, 0.02126227132976055, 0.000843735528178513, -0.45095720887184143, -0.4513881206512451, -0.5360534191131592, 0.6857455372810364, -0.6069650053977966, -0.7808458805084229, 0.08086824417114258, 0.05839773267507553, -0.3797135651111603, -0.933614194393158, 0.516205906867981, -0.41132915019989014, -0.01699015684425831, 0.0036541882436722517, -0.6443307995796204, -0.23108966648578644, 0.3044552505016327, -0.5534741878509521, 0.8847630023956299, 0.35366201400756836, -0.327101469039917, -0.0571504570543766, -0.5552217364311218, -0.18505741655826569, 0.1954459547996521, -0.09093130379915237, -0.03924471139907837, 0.15700632333755493, 0.007695615757256746, 0.27780550718307495, -0.20555618405342102, 0.2941259443759918, -0.5239095687866211, 0.06282589584589005, 0.5056595802307129, -0.3056548833847046, 0.6481434106826782, 0.34252336621284485, 0.19603990018367767, 0.006379154045134783, -0.8318987488746643, 0.5931214690208435, 0.15283410251140594, -0.154450923204422, -0.26904013752937317, -0.3822890818119049, 0.09783417731523514, 0.2922830581665039, 0.2573380768299103, -0.5498620271682739, -0.016852641478180885, -0.49470415711402893, 0.17459966242313385, 0.4194088280200958, -0.013336366042494774, 0.6710786819458008, -0.12118938565254211, 0.7066364884376526, -0.23582762479782104, -0.08572737872600555, -0.6031985878944397, -0.35909223556518555, -0.6976385116577148, 0.03022639825940132, 0.5932165384292603, 0.6642404794692993, -0.6788510680198669, 0.22841575741767883, -0.3681303858757019, -0.708869457244873, -0.6323745250701904, 0.32100892066955566, 0.7283779978752136, 0.644648015499115, -0.02977316826581955, -0.43369922041893005, -0.37139421701431274, -0.9172576069831848, -0.4848472774028778, -0.509605884552002, -0.2907838523387909, 0.8933234214782715, 0.299537718296051, 0.014506421983242035, 0.8203137516975403, -0.43020743131637573, 0.3461196720600128, -0.6631144881248474, 0.19510413706302643, 0.08470304310321808, 0.22148403525352478, 0.36110615730285645, -0.5909411907196045, -0.8252010345458984, 0.3198474943637848, -0.558363139629364, -0.41210776567459106, 0.18665729463100433, -0.09120114892721176, 0.11728622764348984, 0.6793196797370911, -0.5849916338920593, 0.4011533558368683, 0.7006826400756836, -0.2490955889225006, 0.6590482592582703, 0.14108704030513763, 0.2555655539035797, -1.0471253395080566, 0.16671498119831085, -0.3618427515029907, -0.4805143177509308, -1.0080318450927734, -0.13279186189174652, -0.042718153446912766, -0.5668986439704895, -0.2828299105167389, 0.9259722828865051, -0.05622300133109093, -0.279001384973526, -0.44266465306282043, 0.41205543279647827, -0.16237583756446838, 0.5073939561843872, 0.09530336409807205, 0.6876650452613831, 0.16720722615718842, -0.5221405625343323, 0.2713141441345215, 0.4287130832672119, -0.7153745293617249, 0.7267317175865173, -0.7868872880935669, 0.4253902733325958, 0.16056077182292938, 0.3018800616264343, -1.2532488107681274, -0.4936157464981079, 0.2713268995285034, -0.4961712658405304, -0.13189475238323212, -0.6650301814079285, -0.3198899030685425, -0.24112844467163086, 0.222426638007164, 0.0584479458630085, 0.3445180058479309, -0.37004804611206055, 0.6536755561828613, 0.44100144505500793, -0.646073043346405, -0.015135325491428375, 0.008380483835935593, -0.06090845540165901, -0.01120696309953928, -0.7342478036880493, -0.04179922118782997, -0.2898467481136322, -0.4375649392604828, -0.16232432425022125, -0.4810577929019928, -0.2641445994377136, 0.12292405962944031, 0.21073243021965027, 0.30610373616218567, -0.34156888723373413, 0.11266075819730759, -0.17968414723873138, -0.3137940466403961, 0.1268477588891983, -0.008555768057703972, 0.9734537601470947, -0.32814547419548035, -0.5413585901260376, -0.4830954968929291, 0.04207734391093254, 0.580021321773529, 0.011960617266595364, 0.3217618465423584, 0.274288535118103, -0.06363014131784439, 0.3296044170856476, -0.6604137420654297, -0.19424554705619812, -0.4336153268814087, 0.7097015380859375, -0.461270272731781, -0.7532654404640198, 0.7114183306694031, -0.6195557117462158, -0.1759442389011383, 0.02026122435927391, 0.4304404854774475, 0.0714569017291069, 1.3825514316558838, 0.42151087522506714, -0.2474125772714615, 0.5304521918296814, 0.17301659286022186, 0.3960734009742737, -0.6443747878074646, -0.04447734355926514, -0.6540243029594421, 0.16187331080436707, -0.5466134548187256, -0.48409005999565125, 0.1201346144080162, 0.24445010721683502, -0.004060404375195503, 0.48707786202430725, 0.23461921513080597, 0.6561481952667236, 0.2739861309528351, -0.02497169002890587, 0.37555351853370667, -0.2943345308303833, 0.02934347093105316, -0.09150277823209763, -0.659821629524231, -0.7275110483169556, 0.9808239936828613, 0.32189562916755676, 0.5477879047393799, -0.2705127000808716, 0.3532482981681824, 0.027135850861668587, 0.010067477822303772, -0.7613738179206848, 0.7677075862884521, 0.27428749203681946, -0.35388970375061035, -0.1868034154176712, -0.6325883269309998, -0.8319641947746277, 0.441596120595932, 0.23754893243312836, -0.9636180400848389, -0.15152031183242798, 0.11586171388626099, -0.20022545754909515, -0.21180115640163422, -0.8794434070587158, 1.3862719535827637, -0.1506480872631073, -0.020484089851379395, -0.31146499514579773, -0.461530864238739, 0.20225879549980164, 0.27307596802711487, -0.08915673196315765, -0.47806355357170105, 0.311222106218338, 0.4701390266418457, -0.1629246473312378, 0.7285319566726685, -0.27717265486717224, 0.029015131294727325, 0.20108027756214142, 0.29136842489242554, 0.4818171560764313, 0.3319805860519409, 0.08452139794826508, 0.1708044409751892, 0.13183742761611938, -0.4798176884651184, -0.7376837730407715, 0.4355231821537018, -0.5085539221763611, -0.3080832362174988, 0.06860674917697906, -0.6620948314666748, -0.6271170377731323, 0.16854843497276306, -0.08233147114515305, 0.28349751234054565, -0.5537187457084656, 0.3008873462677002, 0.49604174494743347, -0.19437375664710999, -0.05049319192767143, 0.7592484951019287, -0.6060414910316467, -0.40413591265678406, 0.7915682196617126, -0.13991767168045044, 0.7991998791694641, -0.26452791690826416, 0.07672037929296494, -0.3470677137374878, -0.26342833042144775, -0.4906165599822998, -0.09518630802631378, -0.8852699398994446, 0.038049694150686264, -0.755304217338562, -0.31251490116119385, -0.2592994272708893, -0.003101261332631111, -0.7131223678588867, -0.42065924406051636, 0.3405272364616394, 0.02005535550415516, 0.06684458255767822, 0.5436854958534241, 0.30252698063850403, 0.3576743006706238, -0.8119388818740845, 0.2793450653553009, 0.39534518122673035, 0.45016831159591675, -0.00214835861697793, -0.4990873336791992, -0.11672355979681015, 0.178330659866333, -0.17695219814777374, -0.6713418960571289, 0.3147752285003662, -0.10519074648618698, 0.7677938938140869, 0.24131987988948822, -0.022078560665249825, 0.708986759185791, -0.37923017144203186, 0.6421708464622498, -0.01907367818057537, -0.9156034588813782, 0.5466843247413635, -0.3612266778945923, 0.706555187702179, 0.8995500206947327, 0.0278828926384449, -1.0833345651626587, -0.48067161440849304, -0.7815116047859192, -0.5681189298629761, 0.6982718706130981, 0.44484809041023254, 0.3651793301105499, 0.2129703164100647, -0.06588730216026306, 0.10843264311552048, 0.4353034794330597, -0.42784494161605835, 0.004250322002917528, -0.15993502736091614, -0.08901596814393997, -0.1684800237417221, -0.04803549125790596, -0.05432037264108658, -0.1216575875878334, 0.4217926263809204, -0.23420441150665283, 0.17224347591400146, -0.17326147854328156, -0.4294794797897339, 0.057584963738918304, 0.3214584290981293, 0.3816659152507782, 0.6847542524337769, -0.13535870611667633, -0.1665601283311844, 0.4094357490539551, -0.4212104380130768, -0.1322154849767685, 0.24657246470451355, 0.11543665081262589, 0.18953916430473328, 0.1942804753780365, 0.8225505948066711, 0.6200563907623291, -1.0451631546020508, 0.17015327513217926, -0.15143433213233948, -0.030733618885278702, -0.02352338656783104, 0.10038545727729797, 0.3142983913421631, 0.3419518768787384, -0.13235953450202942, 0.04107935354113579, 0.17404288053512573, -0.4808841943740845, -0.045630112290382385, 0.2974514663219452, -0.450427770614624, -0.32326963543891907, 0.2379705160856247, 0.3662552833557129, -0.5133087038993835, 0.7076507806777954, -0.28942614793777466, -0.7899340391159058, 0.7226606011390686, 0.45498237013816833, 0.8760128021240234, -0.23488378524780273, 0.41931724548339844, 0.564447283744812, -0.025858938694000244, -0.06487030535936356, 0.15526503324508667, -0.3323403000831604, -0.8225305080413818, -0.17922227084636688, -0.34492558240890503, -0.8903990983963013, 0.2553076148033142, -0.7519674897193909, -0.0015601894119754434, -0.04332723096013069, -0.0680016353726387, 0.07254411280155182, 0.16073349118232727, -0.6770359873771667, -0.3905552327632904, 0.04204258322715759, 0.7254043221473694, -0.8793783783912659, 0.5542512536048889, 0.604087769985199, -0.18344005942344666, -0.29922667145729065, 0.0270548053085804, -0.07397592067718506, -0.6732752919197083, 0.629453182220459, 0.4063114821910858, -0.0833410695195198, -0.07360262423753738, -0.44078510999679565, -0.6612356305122375, 0.7008289694786072, 0.4144558608531952, -0.33475810289382935, 0.4278445839881897, 0.34390923380851746, 0.6382623910903931, -0.49300554394721985, 0.1775871068239212, 0.7961063385009766, 0.24767686426639557, -0.0928175076842308, -1.2945107221603394, -0.3746505379676819, -0.5778405070304871, 0.1620643436908722, 0.006885697599500418, -0.4969896376132965, 0.4911334812641144, 0.24395571649074554, -0.18787357211112976, 0.4864160716533661, 0.47906777262687683, 0.2570759057998657, 0.6669251322746277, 0.7010707259178162, 0.3073762059211731, 0.8215131163597107, 0.009780648164451122, 0.9301889538764954, -0.5514105558395386, 0.22120480239391327, 1.4473198652267456, -0.525154173374176, 0.7586665749549866, 0.09504944831132889, -0.32017782330513, 0.3385010063648224, 0.4037898778915405, 0.2398761510848999, 0.4986116886138916, 0.15674099326133728, -0.4259547293186188, -0.5433952808380127, -0.4673542380332947, -0.1958797574043274, 0.6122214198112488, 0.2163069248199463, -0.10074722021818161, -0.3279680013656616, 0.19141237437725067, 0.14957024157047272, 0.2842596471309662, -0.2500621974468231, 0.8718603253364563, -0.0972447320818901, -0.8096039295196533, 0.3694431483745575, -0.36860817670822144, -0.05402179807424545, -0.5122750997543335, -0.05006024241447449, -0.3557417690753937, 0.3239491283893585, 0.3100995123386383, -0.5289806723594666, -0.00683490140363574, 0.05203607678413391, -0.07669008523225784, -0.0656198188662529, 0.981178343296051, -0.5779448747634888, -0.36963582038879395, 0.1652965247631073, 0.7030830383300781, 0.3429100811481476, -0.1853073239326477, -0.7399682402610779, 0.16970518231391907, -0.10887572914361954, -0.03458282724022865, 0.42606157064437866, 0.10184670984745026, 0.014624050818383694, 0.673855721950531, 0.6503198146820068, -0.25520971417427063, 0.01261377427726984, 0.4056718647480011, 0.7863350510597229, -0.3022909164428711, -0.531639575958252, -0.38664594292640686, 0.3140157163143158, -0.567612886428833, -0.36523711681365967, 0.9156340956687927, 0.6609311103820801, 1.1379683017730713, -0.23343536257743835, 0.8652864098548889, 0.14091408252716064, 0.6344610452651978, -0.4514560401439667, 0.6771352887153625, -0.10295936465263367, -0.10587496310472488, -0.3724891245365143, -0.8114573359489441, 0.20667900145053864, 0.994219958782196, -0.48840925097465515, 0.06700321286916733, 0.42583826184272766, 0.9096401929855347, -0.15493357181549072, 0.387492835521698, 0.4621617794036865, 0.12459398806095123, 0.13129916787147522, 0.15284645557403564, 1.1006501913070679, -0.32335594296455383, 0.7299935221672058, -0.521049976348877, 0.02425565756857395, -0.388994425535202, -0.7398379445075989, -1.28730046749115, -0.5016958713531494, -0.24701657891273499, -0.3841093182563782, 0.11628200113773346, 1.0389935970306396, 0.7241302728652954, -0.8243992328643799, -0.5628097057342529, -0.19224373996257782, 0.077384814620018, -0.11305877566337585, -0.2128130942583084, 0.010452665388584137, -0.6221129298210144, -0.8481676578521729, 0.6819761991500854, 0.19769109785556793, 0.04932770878076553, -0.1331992745399475, -0.2521880269050598, 0.27507108449935913, 0.12626150250434875, 0.5900471210479736, 0.44813913106918335, -0.7174378633499146, -0.01963246986269951, 0.3580061197280884, -0.11348988115787506, -0.06598744541406631, 0.9049107432365417, -0.7533956170082092, 1.0044752359390259, 0.5232897996902466, 0.7312765121459961, 0.4612140953540802, 0.04854020103812218, 0.7446555495262146, -0.44231653213500977, 0.2784258723258972, 0.1880394071340561, 0.04737958684563637, 0.3116442561149597, 0.05089245364069939, 0.6934282779693604, 0.09076565504074097, -0.5906815528869629, -1.1915736198425293, 0.2988393008708954, -0.823431134223938, -0.02334291860461235, 0.858385443687439, -0.25012990832328796, -0.06111603230237961, -0.4334748685359955, -0.5192651748657227, 0.092298224568367, -0.34167519211769104, 0.7607221007347107, 1.0722682476043701, -0.0866783857345581, -0.01363795530050993, -1.2823225259780884, 0.3664224147796631, 0.46796733140945435, -0.8798855543136597, 0.6007380485534668, 0.37208661437034607, 0.1435876041650772, 0.23373208940029144, 0.7181487679481506, 0.024377943947911263, 0.6274033188819885, 0.24736909568309784, -0.18495085835456848, 0.20121024549007416, -0.18805645406246185, -0.26077884435653687, -0.2264316976070404, -0.0676196813583374, -0.10822359472513199 ]
http://arxiv.org/abs/2402.17371v1
http://arxiv.org/pdf/2402.17371v1
A Dataset for Metaphor Detection in Early Medieval Hebrew Poetry
2024-02-27T10:09:40
2024-02-27T10:09:40
Michael Toker, Oren Mishali, Ophir Münz-Manor, Benny Kimelfeld, Yonatan Belinkov
cs.CL
cs.CL, I.2.7
There is a large volume of late antique and medieval Hebrew texts. They represent a crucial linguistic and cultural bridge between Biblical and modern Hebrew. Poetry is prominent in these texts and one of its main haracteristics is the frequent use of metaphor. Distinguishing figurative and literal language use is a major task for scholars of the Humanities, especially in the fields of literature, linguistics, and hermeneutics. This paper presents a new, challenging dataset of late antique and medieval Hebrew poetry with expert annotations of metaphor, as well as some baseline results, which we hope will facilitate further research in this area.
[ -0.38156336545944214, -0.4401593804359436, 0.2616231441497803, 0.03396383672952652, -0.5352410078048706, -0.3552796244621277, -0.03058094158768654, -0.5618211627006531, 0.35054388642311096, 0.4982846677303314, -0.2823448181152344, -0.36228856444358826, -0.6694531440734863, 0.14862060546875, -0.4143369793891907, 0.7062543630599976, -0.07981652021408081, -0.06905528903007507, 0.17801696062088013, -0.39730411767959595, -0.7383411526679993, -0.3285661041736603, -0.5001311302185059, -0.31771987676620483, 0.5602863430976868, 0.06096770614385605, 1.154954433441162, 0.6327114701271057, 0.5204976797103882, 0.4389960765838623, -0.011594122275710106, 0.1309298276901245, -0.22067171335220337, 0.6151019334793091, -0.0777004286646843, -0.6902508735656738, -0.04393588751554489, 0.4477463364601135, 0.8309439420700073, 0.47276878356933594, -0.14860594272613525, 0.21457640826702118, -0.4087594449520111, 0.4517616033554077, -0.8148060441017151, 0.3375556170940399, -1.197459101676941, 0.5297250151634216, -1.1095834970474243, -0.8219889998435974, -0.43516749143600464, -0.1817876547574997, -0.06252287328243256, -0.8085587024688721, -0.04426514729857445, 0.7566615343093872, 0.7856196761131287, 0.3197624087333679, -0.1674690842628479, -0.27938103675842285, -0.30636394023895264, 1.0407761335372925, -0.3415413200855255, 0.2539452910423279, 0.6854114532470703, 0.8819231390953064, -0.47856107354164124, -1.0088822841644287, -0.46092885732650757, -0.3949322998523712, -0.32254618406295776, 0.05602026730775833, -0.8168840408325195, -0.6490617394447327, 0.4116250276565552, 0.25317710638046265, -0.5768726468086243, 0.07705146074295044, -0.3587356507778168, -0.4655916690826416, 0.09183746576309204, 0.3801248073577881, 0.6224477887153625, -0.3204238712787628, -0.38287705183029175, -0.16918055713176727, -0.6384441256523132, -0.10152585804462433, 0.4136587679386139, 0.06880410015583038, -0.10587979108095169, 0.5642783641815186, 0.21653321385383606, 0.8697628378868103, -0.5702499747276306, -0.14248712360858917, 0.4697735011577606, 0.038115572184324265, -0.11488453298807144, 0.2308422327041626, 0.535157322883606, 0.36511096358299255, 0.7415865063667297, -0.123869389295578, 0.0023134322836995125, 0.4413278102874756, 0.467084676027298, -0.402756005525589, -0.4444437325000763, -0.6140146851539612, -0.7109803557395935, -0.2767255902290344, -0.08148963749408722, -0.4043770432472229, -0.5557844638824463, -0.1516968011856079, -0.27003875374794006, -0.4252995252609253, 0.1191699206829071, 0.17298907041549683, -0.7229252457618713, 0.05270088091492653, 0.342389851808548, -0.5926290154457092, 0.1993127167224884, 0.5880381464958191, 0.6661808490753174, 0.02856130711734295, -0.4680958390235901, -0.7241691946983337, 0.3143409490585327, -0.4648556113243103, 0.9687113761901855, -0.9544637203216553, 0.19461281597614288, -0.11023721843957901, 0.07543957233428955, 0.3253796100616455, -0.7198570966720581, 1.099608302116394, -0.7605641484260559, 0.258430540561676, 0.013509774580597878, -0.6146833896636963, -0.3263819217681885, 0.18398505449295044, -1.1011818647384644, 0.9860642552375793, 0.26562952995300293, -1.275648832321167, 0.03491337224841118, 0.056071192026138306, -0.017980195581912994, 0.43491819500923157, -0.8653722405433655, -0.07740537822246552, 0.44197097420692444, -0.03353986144065857, 0.3253995180130005, -0.9035657644271851, -0.09137894213199615, -0.06488964706659317, -0.8111720681190491, 0.603934645652771, -0.5585134625434875, 0.9687135219573975, 0.4349873960018158, -0.19332686066627502, -0.419399231672287, -0.7174328565597534, 0.050382100045681, 0.31653454899787903, 0.22099485993385315, -0.9079312682151794, -0.04456831514835358, 0.4478057622909546, 0.05675743520259857, -0.09176328778266907, -0.4182523787021637, -0.05553508549928665, -0.416049987077713, 0.19068218767642975, 0.4872303009033203, -0.36859819293022156, -0.15489867329597473, -0.6576573252677917, 0.705956757068634, -0.07704988867044449, -0.35421741008758545, -0.22679130733013153, -0.5721361637115479, -0.1453535109758377, -0.3844289183616638, 0.4546091556549072, 0.39074328541755676, -0.9314103126525879, 0.4876112639904022, -0.34347793459892273, -0.526939332485199, -0.592008650302887, -0.11456335335969925, 0.044432852417230606, 0.5724139213562012, 0.42881983518600464, -0.39911165833473206, -0.2540434002876282, -1.1285940408706665, -0.6153725385665894, -0.2525654435157776, -0.22998598217964172, 0.24215440452098846, 0.3381200134754181, 0.09764952957630157, 0.9022298455238342, -0.4840538799762726, -0.40313059091567993, 0.1951293647289276, 0.28597643971443176, 0.013238544575870037, 0.25578880310058594, 1.1099814176559448, -0.9819644689559937, -0.3812345862388611, -0.026859857141971588, -0.6643357276916504, -0.3502337336540222, -0.003303246572613716, -0.25325122475624084, -0.45477715134620667, 0.5383350253105164, -0.1895897388458252, 0.5584321022033691, 0.38754668831825256, -0.5240373015403748, 0.44284966588020325, 0.043756451457738876, 0.1842896193265915, -0.7905964851379395, 0.14071273803710938, -0.18855708837509155, -0.023719262331724167, -0.5429509282112122, -0.16564077138900757, 0.02090018428862095, 0.19725535809993744, -0.5322471261024475, 0.8043420910835266, -0.21543394029140472, 0.283265620470047, -0.45792490243911743, 0.08812730014324188, -0.1742599457502365, -0.11861617118120193, 0.09994985163211823, 0.6392216682434082, 0.5490137934684753, 0.17203029990196228, 0.7585505843162537, 0.45049595832824707, -0.3289218544960022, 0.8593946099281311, -0.47800999879837036, 0.039114806801080704, -0.3361310660839081, 0.4351223111152649, -0.884381115436554, -0.19294796884059906, 0.44878894090652466, -0.3809467554092407, -0.0023734725546091795, -0.058484774082899094, -0.8409526944160461, -0.11854403465986252, -0.35768985748291016, 1.1744416952133179, 0.5820939540863037, -0.2626059949398041, 0.3619428873062134, 0.17562973499298096, -0.03475174307823181, -0.6617006063461304, -0.7966715097427368, 0.25614964962005615, -0.5113571286201477, -0.59725022315979, 0.5300886034965515, 0.27387043833732605, -0.4299652874469757, 0.14632761478424072, -0.012606559321284294, -0.31930723786354065, 0.05588801950216293, 0.07737720012664795, 0.25426560640335083, -0.15956160426139832, 0.01419476605951786, -0.06386614590883255, -0.45014968514442444, -0.04222937673330307, -0.033606499433517456, 0.5551775693893433, -0.09030470997095108, -0.44152626395225525, -0.6951992511749268, 0.439762681722641, 0.6930894255638123, -0.15422925353050232, 0.5691890716552734, 0.7243117094039917, -0.6378821730613708, 0.13437649607658386, -0.6426162719726562, -0.019215213134884834, -0.43753114342689514, -0.018525613471865654, -0.2430633306503296, -0.5828791260719299, 0.49083957076072693, -0.07983158528804779, -0.3330530822277069, 0.533602774143219, 0.5109394192695618, -0.14664563536643982, 0.1879051923751831, -0.07738685607910156, -0.33745619654655457, 0.20770792663097382, 0.2587072551250458, -0.048924271017313004, -0.5777894258499146, 0.07683414965867996, -0.8992390036582947, -0.6389926075935364, -0.8901270031929016, -0.5216796398162842, 0.356896311044693, -0.20500734448432922, -0.16460393369197845, 0.10197942703962326, -0.24238291382789612, 0.34804654121398926, 0.5467992424964905, -0.4035722315311432, 0.26127731800079346, 0.5928322672843933, -0.16481567919254303, -0.5480308532714844, -0.33226874470710754, -0.6020409464836121, 0.7856038808822632, 0.40442636609077454, 0.44001248478889465, -0.023685676977038383, 0.4812379777431488, 0.5592381358146667, 0.005733314901590347, -0.6498103141784668, 0.4232078492641449, -0.31294703483581543, -0.5872122049331665, 0.1432042419910431, -0.42762741446495056, -1.3217523097991943, 0.30338916182518005, -0.1255725622177124, -0.7932021021842957, -0.07700662314891815, 0.04357874393463135, -0.19342617690563202, 0.13988202810287476, 0.028748691082000732, 0.7830655574798584, 0.21785323321819305, 0.16555596888065338, -0.14530742168426514, -0.8229156732559204, -0.04114168509840965, 0.005267845466732979, 0.3009805679321289, -0.22337590157985687, -0.22342181205749512, 0.7706429362297058, -0.07145411521196365, 0.5894318222999573, 0.1405295729637146, 0.15896449983119965, 0.4114488363265991, 0.4456840455532074, 0.6891202330589294, -0.5334364771842957, -0.03138984739780426, 0.044450096786022186, 0.29397037625312805, -0.5853490233421326, -0.5238781571388245, 0.49773508310317993, -0.2769697606563568, 0.0624069944024086, -0.8958577513694763, -0.7768880128860474, 0.070407435297966, 0.041973136365413666, 0.27883780002593994, 0.29608944058418274, 0.07535234093666077, 0.530318021774292, 0.06048929691314697, -0.18148508667945862, 0.16877293586730957, 0.21249783039093018, 0.02783517725765705, -0.2994104325771332, 0.5609809160232544, 0.20080341398715973, -0.35599246621131897, 0.017444824799895287, 0.31819993257522583, -0.03916368633508682, -0.41514620184898376, -0.34775349497795105, 0.12769412994384766, -0.6777307987213135, -0.22662849724292755, -0.03000161610543728, -0.21033506095409393, 0.14713194966316223, -0.2244410365819931, -0.23243366181850433, -0.22571517527103424, -0.22125780582427979, 0.32906806468963623, 0.4984992444515228, 0.29531797766685486, 0.4187823235988617, 0.44976550340652466, -0.8799415826797485, 0.30573511123657227, 0.10740189254283905, 0.004512048792093992, 0.05436214804649353, -0.29898136854171753, 0.25301727652549744, -0.3352389633655548, -0.03983774408698082, -1.213678002357483, 0.13187646865844727, 0.03097277507185936, 0.47393760085105896, 0.39554673433303833, 0.06992898881435394, 0.3441806733608246, -1.0375744104385376, 0.6941283345222473, 0.45656466484069824, -0.46559664607048035, 0.2300199568271637, -0.48159095644950867, 0.04532807320356369, 0.48068687319755554, 0.5004830956459045, -0.9796867370605469, -0.4457300901412964, -0.62469881772995, -0.6136012077331543, 0.46981969475746155, 0.8066743016242981, 0.36039066314697266, -0.2611868977546692, 0.45802319049835205, 0.40868234634399414, 0.34721335768699646, -0.5616855621337891, -0.6012469530105591, 0.10643664002418518, -0.40234798192977905, 0.18800948560237885, -0.1009795218706131, -0.29296475648880005, -0.5519739985466003, 0.08697140961885452, 0.12384296953678131, 0.14019976556301117, -0.4690958261489868, -0.1492091417312622, 0.053893908858299255, 0.2459195852279663, 0.13221336901187897, 0.7308433055877686, 0.27200376987457275, 0.74049973487854, 0.1347937285900116, -0.6341002583503723, 0.024764947593212128, 0.08525625616312027, -0.368251770734787, 0.10958122462034225, 0.7506438493728638, 0.7964462637901306, 0.13445399701595306, -0.5968683362007141, 0.39138278365135193, 0.25468939542770386, 0.2755706310272217, -0.8296433091163635, -0.029600631445646286, -0.13245801627635956, 0.4759230315685272, 0.4951492249965668, 0.11074262857437134, 0.3260314464569092, -0.4644966125488281, 0.13352583348751068, 0.3788703680038452, -0.23929736018180847, -0.24671106040477753, 0.37477755546569824, -0.5566134452819824, -0.20729754865169525, 0.677553653717041, -0.32957175374031067, -0.466289222240448, 0.39280104637145996, 0.679113507270813, 0.6016373038291931, -0.11063195019960403, 0.2135925441980362, -0.1718641072511673, 0.14259357750415802, 0.20060262084007263, 0.2962968051433563, 0.2747872471809387, -0.7473843097686768, -0.06955067813396454, -0.7322311997413635, 0.13213932514190674, 0.3006225824356079, -0.6244133114814758, 0.2551642656326294, 0.08530610799789429, -0.2497144341468811, 0.37463879585266113, -0.3970361053943634, -0.9639228582382202, 0.04670635983347893, 0.2592960596084595, 0.836757481098175, -1.1236311197280884, 0.6873296499252319, 0.8404567241668701, -0.1302339881658554, -0.4332653880119324, 0.05789695680141449, 0.21745693683624268, -0.7782201766967773, 1.1373828649520874, -0.0029402892105281353, -0.4131482243537903, 0.060552287846803665, -0.39706987142562866, -0.339670330286026, 0.9377908110618591, 0.5563854575157166, -0.19144763052463531, -0.08807430416345596, -0.10225876420736313, 0.6925257444381714, -0.394803524017334, 0.3816685378551483, 0.7771378755569458, 0.7155331969261169, 0.12308098375797272, -0.7901967763900757, 0.040548175573349, -0.3558015823364258, 0.21460409462451935, 0.2865491807460785, -0.35515040159225464, 0.9478073120117188, 0.7575005292892456, -0.15327967703342438, 0.2771708369255066, 0.8161373138427734, 0.4935455322265625, 0.5123022794723511, 0.6491245031356812, 0.7314623594284058, 0.678422749042511, 0.007394242100417614, 0.8531911969184875, -0.13566480576992035, 0.02808487042784691, 0.9683577418327332, -0.1456346958875656, 0.7320136427879333, 0.5909231305122375, -0.23106351494789124, 0.5135889649391174, 0.60323166847229, -0.379686564207077, 0.4591025710105896, 0.7098933458328247, -0.47015801072120667, -0.26516032218933105, -0.6170595288276672, -0.7506240010261536, 0.7992200255393982, 0.2178090661764145, -0.5072417259216309, -0.48890894651412964, -0.012252427637577057, 0.3270432949066162, 0.19484910368919373, -0.12829989194869995, 0.2694861590862274, 0.11760473251342773, -0.26989737153053284, 0.4504806697368622, 0.09513849020004272, 0.34657853841781616, -0.3471625745296478, -0.23998285830020905, 0.31690654158592224, -0.150875523686409, 0.07761391252279282, -0.39819273352622986, 0.19536522030830383, -0.0045209345407783985, 0.10936557501554489, 0.2524770200252533, 0.8777246475219727, -0.2497144341468811, -0.5619836449623108, 0.35780927538871765, 0.7964322566986084, 0.5940601825714111, 0.023681625723838806, -0.36645087599754333, 0.09322735667228699, -0.42742374539375305, -0.177466481924057, -0.04224178567528725, 0.7882192730903625, -0.39595600962638855, 0.3752950429916382, 0.22376930713653564, 0.44182583689689636, 0.1570516973733902, 0.09815613180398941, 0.8823859691619873, -0.6485118269920349, -0.4669642150402069, -0.8166787624359131, 0.08660652488470078, -0.12675368785858154, -0.361604779958725, 0.6410439610481262, 0.352390319108963, 0.7039523720741272, -0.1273309886455536, 0.5854308605194092, -0.0101717384532094, 0.13252857327461243, -0.4849163591861725, 0.8957298994064331, -0.7552353739738464, -0.1087455153465271, -0.3079317808151245, -0.8256528377532959, -0.38558417558670044, 1.0365699529647827, -0.27774322032928467, 0.09787861257791519, 0.8799443244934082, 0.30556750297546387, -0.4648148715496063, 0.39610421657562256, 0.11583193391561508, -0.04192883148789406, -0.08792146295309067, 0.2247379720211029, 1.2069138288497925, -0.3940843641757965, 0.04633025452494621, -0.0045247445814311504, -0.05676239728927612, -0.154580757021904, -1.0834776163101196, -0.8709220886230469, -0.7106834053993225, -0.25381216406822205, -0.21034333109855652, -0.11119930446147919, 1.2607084512710571, 0.18079829216003418, -0.8024017810821533, -0.011467326432466507, 0.20646785199642181, -0.44679081439971924, -0.21714232861995697, -0.0699213370680809, 0.6429604291915894, -0.3548530340194702, -0.6693184971809387, 0.41893261671066284, 0.05428207665681839, 0.16268499195575714, 0.02648511901497841, 0.04012047499418259, 0.022138532251119614, -0.06592367589473724, 0.24150550365447998, -0.07349516451358795, -0.9951022863388062, -0.4856775999069214, -0.258156418800354, -0.04382023215293884, 0.09668070077896118, 1.0325844287872314, -0.5413240194320679, 0.502230167388916, 0.6986284255981445, 0.7460232377052307, 0.1330024152994156, -0.0697469562292099, 0.1493033468723297, -0.9528209567070007, 0.6997999548912048, 0.5547659993171692, 0.5985588431358337, 0.07220714539289474, -0.011543788015842438, 0.43394598364830017, 0.6276283264160156, -0.12898296117782593, -0.8013574481010437, 0.3721144199371338, -0.9394521713256836, -0.16951550543308258, 0.6366989016532898, -0.3544916808605194, 0.07870372384786606, -0.2647169232368469, -0.3328702449798584, 0.2850612699985504, -0.07640942186117172, 0.7593555450439453, 1.2924295663833618, 0.2096220999956131, 0.006431322544813156, -1.151038646697998, 0.4699067175388336, 0.6498246192932129, -0.469463586807251, -0.2121015191078186, 0.7895019054412842, -0.06161319464445114, 0.31767499446868896, 0.4283263683319092, -0.19530697166919708, 0.34689605236053467, -0.024924809113144875, -0.19773441553115845, -0.06516331434249878, -0.6573447585105896, 0.048855822533369064, 0.5119849443435669, 0.05128328874707222, -0.25721174478530884 ]
http://arxiv.org/abs/2402.17358v1
http://arxiv.org/pdf/2402.17358v1
SoFA: Shielded On-the-fly Alignment via Priority Rule Following
2024-02-27T09:52:27
2024-02-27T09:52:27
Xinyu Lu, Bowen Yu, Yaojie Lu, Hongyu Lin, Haiyang Yu, Le Sun, Xianpei Han, Yongbin Li
cs.CL
cs.CL
The alignment problem in Large Language Models (LLMs) involves adapting them to the broad spectrum of human values. This requirement challenges existing alignment methods due to diversity of preferences and regulatory standards. This paper introduces a novel alignment paradigm, priority rule following, which defines rules as the primary control mechanism in each dialog, prioritizing them over user instructions. Our preliminary analysis reveals that even the advanced LLMs, such as GPT-4, exhibit shortcomings in understanding and prioritizing the rules. Therefore, we present PriorityDistill, a semi-automated approach for distilling priority following signals from LLM simulations to ensure robust rule integration and adherence. Our experiments show that this method not only effectively minimizes misalignments utilizing only one general rule but also adapts smoothly to various unseen rules, ensuring they are shielded from hijacking and that the model responds appropriately.
[ -0.21429678797721863, -0.7813095450401306, 0.5851759910583496, 0.24955591559410095, -0.034385863691568375, 0.21616211533546448, 0.019812146201729774, 0.021176401525735855, -0.030136864632368088, 0.8056382536888123, -0.6724420785903931, -0.3848429024219513, -0.47345811128616333, -0.08179488778114319, -0.34451034665107727, 0.8789646029472351, -0.0670977234840393, -0.3159162402153015, -0.15421269834041595, 0.02995750866830349, -0.4785683751106262, -0.5173093676567078, -0.30754727125167847, -0.09678056091070175, 0.48231974244117737, 0.6046450734138489, 0.9852436780929565, 0.9256608486175537, 0.625423789024353, 0.3082720637321472, -0.17315644025802612, 0.043188273906707764, -0.4149361550807953, 0.12550188601016998, -0.15797832608222961, -0.49700605869293213, -0.8320778012275696, -0.061968713998794556, 0.5930209755897522, 0.37154561281204224, -0.34273406863212585, -0.09586039185523987, 0.30747708678245544, 0.6087941527366638, -0.47341006994247437, -0.2874770164489746, -0.49193882942199707, 0.05634298175573349, -0.46300649642944336, -0.26534613966941833, -0.40245920419692993, -0.4323575496673584, -0.02952827885746956, -0.5430048704147339, -0.18267551064491272, 0.11011148989200592, 1.1259403228759766, 0.704707145690918, -0.5221887826919556, 0.020661702379584312, -0.5274770855903625, 0.7317859530448914, -0.6636180281639099, 0.24135009944438934, 0.35217350721359253, 0.2182314395904541, -0.4542405903339386, -0.36399710178375244, -0.5896766781806946, 0.06414102017879486, -0.14102789759635925, 0.037991661578416824, 0.013476123102009296, 0.22865743935108185, 0.34606340527534485, 0.08735383301973343, -0.7116822004318237, 0.3418729603290558, 0.08005822449922562, -0.25251132249832153, 0.4248274564743042, 0.15945486724376678, 0.34661927819252014, 0.02931792661547661, -0.4257642924785614, 0.029746798798441887, -0.8317162394523621, 0.18633486330509186, 0.2615901529788971, 0.1849910169839859, -0.13689781725406647, 0.6430761814117432, -0.21931837499141693, 0.8647589683532715, 0.7392234206199646, -0.21369105577468872, 0.16230612993240356, -0.44560280442237854, -0.33217132091522217, 0.2045835703611374, 0.5788670778274536, 0.5994827151298523, 0.10123144090175629, -0.1156097874045372, -0.12525340914726257, -0.1943056881427765, 0.4336394965648651, -0.44039109349250793, 0.060073189437389374, 0.29223617911338806, -0.17427553236484528, -0.5708169341087341, -0.2492634654045105, -0.9019457101821899, -0.5549290180206299, -0.48038458824157715, 0.2683248817920685, 0.12185297161340714, -0.11499176919460297, 0.10803844034671783, 0.3676920533180237, 0.5418089032173157, 0.18943236768245697, -1.0937328338623047, 0.3522753417491913, 0.7991200685501099, 0.8360641598701477, -0.2893325686454773, -0.042607635259628296, -0.7571701407432556, 0.6404492259025574, -0.3469173014163971, 0.7617313265800476, -0.4154002070426941, -0.1341906487941742, -0.07633043825626373, 0.20052768290042877, -0.014046508818864822, -0.0657682791352272, 0.8261259198188782, -0.6739767789840698, 0.08065980672836304, -0.18496298789978027, -0.6120463609695435, 0.0846872329711914, 0.11777932941913605, -0.6739850640296936, 0.7249741554260254, -0.12756869196891785, -0.6651833653450012, 0.36661848425865173, -0.5006561279296875, -0.5869411826133728, 0.013404487632215023, -0.2257520705461502, -0.5521944761276245, -0.06723552942276001, 0.2090136557817459, 0.3464198410511017, 0.004119849763810635, 0.3298490345478058, -0.3622550666332245, -0.14741989970207214, 0.14232689142227173, -0.29188627004623413, 0.8205071687698364, 0.16426126658916473, -0.5530579686164856, 0.4255569577217102, -0.39450010657310486, 0.034596748650074005, -0.11284071952104568, -0.217474102973938, -0.20922033488750458, 0.1881718933582306, -0.17187920212745667, 0.4621019661426544, 0.2677740454673767, -0.1011795923113823, 0.47635573148727417, -0.19140014052391052, 0.41304656863212585, 1.1939876079559326, -0.13819511234760284, 0.9703644514083862, -0.5454229712486267, 0.6065049171447754, -0.3671222925186157, 0.2564851641654968, 0.3015769422054291, -0.2746123671531677, -0.7409810423851013, -0.4050905704498291, 0.4185144007205963, 0.7647640705108643, -0.3139629065990448, 0.9462116956710815, -0.169593945145607, -0.24450455605983734, -0.7618361711502075, 0.29105305671691895, 0.28716233372688293, 0.3234190344810486, 0.1573762148618698, -0.03570041060447693, -0.4074493944644928, -0.9302064776420593, 0.05467363819479942, 0.03399468958377838, 0.053100552409887314, 0.04952288046479225, -0.21196720004081726, -0.13533636927604675, 0.9665056467056274, -0.456108957529068, -0.2992769181728363, -0.281613826751709, -0.023221494629979134, 0.19648377597332, 0.6064854264259338, 0.5354391932487488, -0.9011422991752625, -0.5676805377006531, -0.0601632259786129, -0.5320925712585449, -0.696637749671936, -0.3046281039714813, -0.7116397023200989, 0.4509109556674957, 0.9356235861778259, -0.5485450625419617, 0.4407421350479126, 0.6793395280838013, -0.353933721780777, 0.18940025568008423, 0.05409568175673485, 0.22029007971286774, -1.1479926109313965, 0.034257058054208755, -0.09303365647792816, -0.43286198377609253, -0.6884422898292542, -0.1425325721502304, 0.22273628413677216, 0.24824915826320648, -0.2833996117115021, 0.41750645637512207, -0.48397335410118103, 0.0893360897898674, -0.3241114914417267, -0.07193168997764587, 0.09985917061567307, 0.25327354669570923, 0.22698964178562164, 0.6945411562919617, 0.4731055200099945, -0.6196665167808533, 0.12028467655181885, 0.3762056827545166, -0.21035213768482208, 0.6454839110374451, -0.4561627209186554, 0.07224416732788086, 0.02242586575448513, 0.18742981553077698, -1.0807092189788818, -0.1998024582862854, 0.23685592412948608, -0.00324878073297441, 0.5908381938934326, -0.42475324869155884, -0.3641122281551361, -0.21915726363658905, -0.030266113579273224, 0.259916216135025, 0.6236146688461304, -0.12357906252145767, 0.6057139039039612, 0.7891085147857666, -0.46567192673683167, -0.6975898146629333, -0.4015055000782013, 0.06200776994228363, -0.5963112711906433, -0.33656197786331177, 0.549782395362854, -0.3729930818080902, -0.3518291413784027, -0.2668987512588501, -0.20400650799274445, 0.09481685608625412, 0.3312497138977051, 0.35386887192726135, 0.35874122381210327, 0.12228044867515564, -0.19216270744800568, 0.10095060616731644, -0.11364976316690445, -0.28273001313209534, -0.38367903232574463, 0.47473108768463135, 0.17243877053260803, -0.3323938548564911, -0.7576684355735779, 0.3597339391708374, 0.8581815958023071, -0.13093054294586182, 0.27501726150512695, 0.10697314888238907, -0.1671595573425293, -0.13027805089950562, -0.6536389589309692, -0.16445468366146088, -0.5266819000244141, 0.13294997811317444, -0.36851441860198975, -0.7308897972106934, 0.3378361165523529, 0.15598493814468384, 0.28105780482292175, 0.08728127926588058, 0.6665074229240417, -0.36809802055358887, 0.9998823404312134, 1.093858003616333, -0.37852922081947327, 0.6755788922309875, 0.5652830600738525, 0.2966521680355072, -0.5205424427986145, 0.11281141638755798, -0.5477293133735657, -0.5568119883537292, -0.5730867385864258, -0.5531034469604492, 0.15034951269626617, 0.19127494096755981, -0.14754553139209747, 0.6322845220565796, -0.4997842609882355, 0.730374276638031, 0.3911498486995697, -0.18420341610908508, 0.2646510899066925, -0.10010252147912979, -0.2673006057739258, 0.07609117031097412, -0.6255607604980469, -0.6322532892227173, 0.9303832650184631, 0.28949591517448425, 0.9412170648574829, 0.2752396762371063, 0.6612117290496826, 0.3811454772949219, 0.28360515832901, -0.5387341380119324, 0.6038456559181213, 0.05277886241674423, -0.6157596707344055, -0.42962533235549927, -0.30028918385505676, -0.6576741933822632, 0.07675028592348099, -0.024959895759820938, -0.810601532459259, 0.06207874044775963, 0.2491762489080429, -0.7971019148826599, 0.0047202343121171, -0.47716575860977173, 0.9379010796546936, -0.5059759616851807, -0.6330092549324036, 0.08716949820518494, -0.8834503889083862, 0.23243388533592224, -0.15873436629772186, 0.14185300469398499, -0.29395008087158203, -0.035701874643564224, 0.5505372881889343, -0.2438361793756485, 0.8240154385566711, 0.005594563204795122, -0.2537778615951538, 0.031838905066251755, 0.2023700475692749, 0.44514352083206177, -0.2197236269712448, -0.03535056114196777, -0.05990508198738098, -0.07868644595146179, -0.45133599638938904, -0.26068177819252014, 0.7709866762161255, -0.511457085609436, -0.8497781157493591, -0.462802529335022, -0.5705130100250244, -0.23508420586585999, 0.35836178064346313, 0.263430655002594, -0.05372460186481476, -0.11008276045322418, -0.005673176143318415, 0.7011179327964783, 0.04294493794441223, 0.5402150750160217, 0.6787126064300537, -0.07926473766565323, -0.26839980483055115, 0.5430735349655151, 0.1867581605911255, 0.4487990140914917, 0.49043941497802734, -0.0028141553048044443, -0.4868622124195099, -0.5386540293693542, -0.4475472569465637, -0.035182129591703415, -0.46306437253952026, -0.2614865303039551, -0.6387149095535278, -0.10293795168399811, -0.5351567268371582, -0.6968661546707153, -0.1774839609861374, -0.42200571298599243, -0.11886686831712723, -0.2568948566913605, 0.15299932658672333, 0.5377057194709778, 0.07783108949661255, 0.3026236295700073, -0.6970497369766235, 0.24876125156879425, 0.20796671509742737, 0.31135156750679016, -0.47337043285369873, -0.5876925587654114, 0.15158553421497345, -0.2813447117805481, -0.46179547905921936, -0.7274163365364075, 0.1854572892189026, -0.24225744605064392, 0.8199670314788818, 0.5631875991821289, 0.20970438420772552, 0.8122413158416748, -0.7111781239509583, 0.3588193953037262, -0.035610049962997437, -1.0226341485977173, 0.33539053797721863, -0.37726929783821106, 0.2493065446615219, 0.7663677930831909, 0.2632925510406494, -0.44623863697052, -0.6474799513816833, -0.39379358291625977, -0.8588458299636841, 0.6533316969871521, 0.13052435219287872, -0.13614578545093536, 0.26027926802635193, 0.2464773803949356, -0.11182790249586105, 0.20028015971183777, -0.6347542405128479, 0.32565316557884216, 0.19980256259441376, -0.5819060206413269, -0.08545448631048203, -0.10754360258579254, -0.3386475443840027, -0.0770120918750763, 0.5927823185920715, -0.16538861393928528, -0.05242658406496048, -0.0634235367178917, -0.26392823457717896, -0.22661127150058746, 0.21334674954414368, 0.8395702838897705, 0.41143685579299927, -0.13785895705223083, -0.05126379430294037, -0.1407322883605957, -0.23255488276481628, 0.3634451627731323, 0.09465157985687256, -0.32059192657470703, -0.49646806716918945, 0.10495579242706299, 0.398330956697464, 0.23958146572113037, -0.4130169153213501, 0.5239908695220947, -0.0626683458685875, -0.09177133440971375, -0.08796098828315735, 0.05640726909041405, 0.08364123106002808, 0.19677452743053436, 0.007746834307909012, -0.03923405706882477, -0.04139973968267441, -0.18892264366149902, 0.5951439738273621, 0.4289776086807251, -0.3432564437389374, -0.1337326467037201, 0.6702319383621216, 0.4250361919403076, -0.05173679068684578, 0.4209635257720947, 0.009893951937556267, -0.44463929533958435, 0.7203860878944397, 0.2642682194709778, 0.874007523059845, -0.3746843934059143, -0.021854691207408905, 0.012550384737551212, 0.3991955518722534, -0.25560227036476135, 0.12533968687057495, 0.025682203471660614, -0.7962208986282349, -0.4389532804489136, -0.7021377682685852, -0.29766425490379333, -0.012897780165076256, -0.5737457871437073, 0.47778773307800293, -0.4409124255180359, -0.21853293478488922, 0.019272025674581528, -0.3854134678840637, -0.26126495003700256, -0.3315788805484772, 0.3132875859737396, 0.8586905598640442, -0.926232635974884, 0.9621362686157227, 0.46228647232055664, -0.17045184969902039, -0.7113228440284729, 0.637513279914856, 0.5903937220573425, -0.5305719375610352, 0.27532070875167847, 0.18921102583408356, -0.031393181532621384, 0.22582077980041504, -0.4084945023059845, -0.955317497253418, 0.9975539445877075, 0.168848916888237, -0.8276934027671814, -0.13344672322273254, -0.10714682191610336, 0.24570411443710327, -0.2407994568347931, 0.06111203879117966, 0.7236696481704712, 0.6477982401847839, 0.09900302439928055, -1.145943284034729, 0.16824081540107727, -0.11620479077100754, -0.2724962830543518, 0.39828169345855713, -0.7534971833229065, 0.3694310188293457, -0.11002510786056519, -0.1922650933265686, 0.22823813557624817, 0.28885769844055176, 0.035545505583286285, 0.002246036659926176, 0.6215283274650574, 0.6599389910697937, 0.691558301448822, -0.17312924563884735, 0.7353692054748535, -0.31775185465812683, 0.07015211880207062, 1.2372037172317505, -0.9169129133224487, 0.6340847611427307, 0.6061505079269409, 0.05955785885453224, 0.18881556391716003, 0.7046538591384888, 0.16719670593738556, 0.8236989378929138, 0.2144014984369278, -0.07668301463127136, -0.4140304625034332, -0.0349966362118721, -0.08747334778308868, 0.43294575810432434, 0.19657506048679352, -0.04020122066140175, -0.05864957347512245, -0.1656934767961502, 0.014055099338293076, 0.1082366555929184, -0.3391300141811371, 1.2261345386505127, -0.22613856196403503, -1.0474586486816406, 0.6983360052108765, -0.30311787128448486, 0.4018605947494507, -0.5621095299720764, 0.04945068806409836, -0.18698908388614655, 0.3096557855606079, -0.2320682257413864, -0.8817914724349976, 0.08782994747161865, -0.06131260097026825, -0.24276304244995117, -0.536822497844696, 0.3028624951839447, -0.5985360145568848, -0.2727472186088562, 0.22838301956653595, 0.13379345834255219, -0.25190263986587524, 0.3242684602737427, -0.6963498592376709, 0.23128797113895416, 0.1466371864080429, -0.34642618894577026, 0.39601072669029236, 0.3318839371204376, -0.5617587566375732, 0.5820950269699097, 0.510669469833374, -0.12147712707519531, 0.05888223648071289, -0.04735461622476578, 0.8766926527023315, -0.5386351346969604, -0.743039071559906, -0.9787400364875793, 0.7470831274986267, -0.3006557822227478, 0.08918527513742447, 0.5825119614601135, 0.3498319387435913, 0.6273036003112793, 0.19265814125537872, 0.7888396978378296, -0.07760275155305862, 0.2300128936767578, -0.7210177183151245, 0.860287606716156, -0.4717968702316284, 0.2963615655899048, -0.39367368817329407, -0.8158525824546814, -0.5507382154464722, 0.5843219757080078, -0.2884814739227295, -0.3437464237213135, 0.5695957541465759, 1.1098202466964722, -0.06916756927967072, -0.3005872070789337, 0.36216452717781067, 0.23823478817939758, 0.29781007766723633, 0.46350088715553284, 0.6249512434005737, 0.22833621501922607, 0.4078660011291504, -0.018045315518975258, -0.6269757151603699, -0.5485793352127075, -1.179452896118164, -0.7255494594573975, -0.4597899913787842, -0.32745733857154846, -0.37977489829063416, 0.19400252401828766, 0.9774891138076782, 0.906972348690033, -0.8297727108001709, -0.30098092555999756, -0.2508929967880249, 0.247144877910614, -0.39925265312194824, -0.20120272040367126, 0.1892794966697693, -0.35544633865356445, -0.7271274924278259, 0.4614945650100708, 0.44539743661880493, 0.3668215572834015, 0.1736655831336975, -0.0934784784913063, -0.37615299224853516, 0.2356427162885666, 0.02502318285405636, 0.32735297083854675, -0.752892792224884, -0.26194456219673157, -0.0031334254890680313, -0.6283544301986694, 0.04329876974225044, 0.8958439230918884, -0.281379759311676, 0.2755832374095917, 0.580635130405426, 0.6413159966468811, -0.03282838687300682, 0.428519606590271, 0.8689572811126709, -0.5095211863517761, 0.24517612159252167, 0.27629634737968445, 0.3736436665058136, 0.06386500597000122, -0.585482656955719, 0.3304256498813629, 0.045574601739645004, -0.7560776472091675, -0.8005109429359436, 0.46982672810554504, -1.2287777662277222, -0.12612995505332947, 1.176579236984253, -0.017600877210497856, -0.23447075486183167, -0.247343972325325, -0.36358749866485596, 0.16240951418876648, -0.4667264521121979, 0.8873640298843384, 0.9043952822685242, 0.030517742037773132, -0.1721755415201187, -0.6733428239822388, 0.9334306120872498, 0.6745055913925171, -0.7698898315429688, 0.43088775873184204, 0.5635397434234619, 0.3146343529224396, -0.011915156617760658, 0.5814206004142761, -0.20047220587730408, 0.19431950151920319, -0.6062381267547607, 0.09214367717504501, 0.3251912295818329, -0.4271056056022644, -0.5547557473182678, 0.12969206273555756, 0.1935366988182068, -0.09532935172319412 ]
http://arxiv.org/abs/2402.17355v1
http://arxiv.org/pdf/2402.17355v1
RECOST: External Knowledge Guided Data-efficient Instruction Tuning
2024-02-27T09:47:36
2024-02-27T09:47:36
Qi Zhang, Yiming Zhang, Haobo Wang, Junbo Zhao
cs.CL
cs.CL
In the current landscape of large language models (LLMs), the process of instruction tuning serves as an essential step. Considering the high computing power overhead, data-efficient instruction tuning was proposed to reduce the training data size in this process, aiming at selecting high-quality instructional data. Nevertheless, we argue that most current data-efficient instruction-tuning methods are highly dependent on the quality of the original instruction-tuning dataset. When it comes to datasets synthesized by LLMs, a common scenario in this field, dirty samples will even be selected with a higher probability than other samples. To address these challenges, we utilized external knowledge (relevant examples or paragraphs) to evaluate those samples synthesized by LLMs with an in-context-based relative predictive entropy. Based on the new metric, we proposed a framework, dubbed as \textbf{RECOST}, which integrates external-knowledge-base re-ranking and diversity-consistent sampling into a single pipeline. Through extensive experiments on several synthetic datasets (Alpaca and Alpaca-gpt4), we demonstrate the effectiveness of our method and achieve even better results with only \textbf{1\%} of the full dataset.
[ -0.29188233613967896, -0.4770764112472534, 0.37641632556915283, -0.048610132187604904, -0.10499940067529678, -0.016566244885325432, -0.40642714500427246, -0.30893635749816895, 0.06488698720932007, 0.4925559163093567, -0.6796129941940308, -0.6516560316085815, -0.5124669075012207, 0.005754828918725252, -0.4019019901752472, 0.8211666941642761, -0.043380726128816605, 0.11183492094278336, -0.35000354051589966, 0.0248948372900486, -0.4638274610042572, -0.1127847358584404, -0.6873918771743774, -0.2623465955257416, 0.36889737844467163, 0.6259089708328247, 0.29522812366485596, 0.9610090851783752, 0.4121546149253845, 0.3651890456676483, 0.14038607478141785, 0.5385704040527344, -0.6592057943344116, 0.18996921181678772, -0.24712631106376648, -0.6164408922195435, -0.14315956830978394, -0.02833371050655842, 0.8291207551956177, 0.5538203120231628, -0.3936587870121002, 0.37415987253189087, 0.14521069824695587, 0.8835327625274658, -0.7216026186943054, 0.11292175948619843, -1.12662672996521, -0.04097827896475792, -0.06481214612722397, -0.45627111196517944, -0.3608132600784302, -0.7115110158920288, -0.12774232029914856, -0.6117126941680908, 0.5767387747764587, 0.13660302758216858, 0.4398329555988312, 0.5186871886253357, -0.1364157646894455, -0.08080422878265381, -0.4991787075996399, 0.8941847085952759, -0.41860470175743103, 0.73818439245224, 0.4388728737831116, 0.07209134846925735, -0.3803669512271881, -0.5490133166313171, -0.375033974647522, 0.20613819360733032, 0.17306600511074066, -0.09117762744426727, -0.1227603331208229, -0.11871796101331711, 0.07007846981287003, 0.4976193904876709, -0.34233158826828003, 0.11863002926111221, -0.4066326320171356, -0.09405124187469482, 0.37668415904045105, 0.24447791278362274, -0.023160792887210846, 0.4094035029411316, -0.2128405123949051, -0.18853433430194855, -1.0773849487304688, -0.05811800807714462, 0.37945881485939026, 0.3824160397052765, 0.08005102723836899, 0.26658952236175537, -0.3050343692302704, 0.9004687070846558, 0.2779920697212219, -0.16191595792770386, 0.33634063601493835, -0.49682512879371643, -0.3295305371284485, 0.007920113392174244, 0.4513436257839203, 0.5008096694946289, 0.11857246607542038, -0.2561497092247009, -0.16718511283397675, -0.35456952452659607, 0.39348089694976807, -0.828391432762146, -0.3863353133201599, -0.1282365471124649, -0.1833813339471817, -0.26932525634765625, 0.17827530205249786, -0.9240728616714478, -0.28333044052124023, -0.6440747380256653, 0.13861367106437683, -0.43027713894844055, 0.08715946972370148, -0.04617299884557724, -0.019543448463082314, 0.22458715736865997, 0.3856446444988251, -1.0686126947402954, 0.05060267075896263, 0.7365981340408325, 0.6695239543914795, -0.18947044014930725, -0.2194247543811798, -0.6046046614646912, 0.10443262755870819, -0.44034287333488464, 0.8098969459533691, -0.7474929690361023, -0.22285516560077667, -0.07226122915744781, 0.153503879904747, 0.07718595117330551, -0.6763410568237305, 0.24030649662017822, -0.7217156291007996, 0.21266649663448334, -0.529991865158081, -0.6629459857940674, -0.18179260194301605, 0.12774325907230377, -0.5630357265472412, 0.8546203374862671, 0.2339286208152771, -0.5837629437446594, 0.6809666752815247, -0.12530486285686493, -0.45221248269081116, -0.3213323652744293, -0.1258702129125595, -0.4015563130378723, 0.1337236911058426, 0.3359528183937073, 0.13371488451957703, -0.4729580879211426, 0.06339450180530548, -0.23010540008544922, -0.5847179889678955, -0.06422105431556702, -0.5263382196426392, 0.5154008269309998, 0.2175436168909073, -0.23339343070983887, -0.12544138729572296, -0.8995799422264099, 0.39518988132476807, -0.15127839148044586, -0.7611479163169861, -0.4131569564342499, -0.1170620247721672, -0.7093222737312317, -0.15015964210033417, 0.2687072157859802, -0.6058438420295715, 0.27195900678634644, -0.4383716583251953, 0.0619409941136837, 1.107825517654419, 0.025949127972126007, 0.44836464524269104, -0.47909483313560486, 0.5184979438781738, -0.26761361956596375, -0.07979333400726318, -0.1540425717830658, -0.36517617106437683, -0.607908308506012, -0.40706565976142883, 0.209482803940773, 0.6619094610214233, -0.7311641573905945, 0.5423640012741089, -0.32115328311920166, -0.4705371856689453, -0.8480618596076965, 0.6259481906890869, 0.4354951083660126, 0.5171938538551331, 0.4011727273464203, -0.13018587231636047, -0.6314278244972229, -0.6998230814933777, -0.2280530333518982, 0.047598253935575485, -0.12885870039463043, 0.27464058995246887, 0.1170337051153183, -0.17153751850128174, 0.6372807621955872, -0.5881795287132263, -0.011896058917045593, 0.026210974901914597, -0.0855964869260788, 0.335941880941391, 0.5131845474243164, 0.2257714718580246, -0.2977353632450104, -0.3135116994380951, -0.06569606810808182, -0.6427308917045593, -0.19487527012825012, 0.1954430341720581, -0.4790842533111572, 0.21987327933311462, 0.6074537038803101, -0.35728150606155396, 0.023840732872486115, 0.5781325697898865, 0.00832844153046608, 0.383644163608551, -0.2593247592449188, 0.43959134817123413, -0.9815533757209778, -0.1184471845626831, -0.1334933191537857, -0.04100559279322624, -0.19616658985614777, 0.12983860075473785, 0.1269952356815338, 0.10657482594251633, -0.18419401347637177, 0.2953436076641083, -0.3927135467529297, 0.08614291995763779, -0.35226449370384216, -0.2701666057109833, 0.0460977740585804, 0.44841867685317993, 0.0028650129679590464, 0.8757946491241455, 0.4157145321369171, -0.6747761964797974, 0.5390480756759644, 0.06365519762039185, -0.8511505722999573, 0.39381882548332214, -0.43796104192733765, 0.22946713864803314, -0.1626472771167755, 0.20736750960350037, -0.8350905776023865, -0.10342465341091156, 0.20794160664081573, -0.18950968980789185, 0.6097085475921631, -0.25443899631500244, -0.582015335559845, -0.05485067889094353, -0.4480419158935547, 0.41814371943473816, 0.5144616365432739, -0.9344999194145203, 0.09381412714719772, 0.36407116055488586, -0.13057556748390198, -0.7926828265190125, -0.6428210139274597, -0.3554173707962036, -0.25652626156806946, -0.5299097299575806, 0.457638680934906, -0.0016087694093585014, -0.15750563144683838, -0.060363832861185074, -0.21624630689620972, 0.153828427195549, -0.18214717507362366, -0.033887192606925964, 0.07382628321647644, -0.3158498704433441, 0.3212398886680603, 0.30013343691825867, -0.0007930643623694777, 0.021369753405451775, -0.4631897807121277, 0.27760037779808044, 0.11732286959886551, -0.43022993206977844, -0.41875433921813965, 0.07647275924682617, 0.3001686632633209, 0.16425985097885132, 0.7986029386520386, 0.5097787380218506, -0.2061595767736435, -0.44499653577804565, -0.48936909437179565, -0.3597440719604492, -0.5423567891120911, 0.32955610752105713, -0.0333465076982975, -0.5558087229728699, 0.17124022543430328, 0.028681030496954918, 0.5280749201774597, -0.0018408093601465225, 0.4173392057418823, -0.20049890875816345, 0.6584255695343018, 0.5442923307418823, -0.22767002880573273, 0.8156193494796753, -0.20635256171226501, -0.030554916709661484, -0.7783905267715454, -0.17377835512161255, -0.3898313045501709, -0.3990320861339569, -0.831722617149353, -0.5220819115638733, 0.2358435094356537, -0.23342202603816986, -0.4277243912220001, 0.28162553906440735, -0.5553646087646484, 0.5896419882774353, 0.948794960975647, 0.258745402097702, 0.3553493916988373, 0.4919685125350952, 0.1334107518196106, -0.02656431309878826, -0.8696161508560181, -0.14350014925003052, 1.3156349658966064, 0.023922665044665337, 1.0993232727050781, -0.02312813512980938, 0.7857786417007446, 0.13207291066646576, 0.3826812505722046, -0.39812007546424866, 0.45174574851989746, -0.30835604667663574, -0.4266769587993622, -0.2955687940120697, -0.8150351643562317, -1.0710840225219727, 0.17919759452342987, -0.06684864312410355, -0.44641563296318054, 0.12117210775613785, 0.3200705349445343, -0.19422563910484314, 0.5753681659698486, -0.9037109613418579, 0.471158504486084, -0.06949200481176376, -0.5198782086372375, -0.267007440328598, -0.35913026332855225, 0.4319090247154236, -0.10377829521894455, 0.19972772896289825, 0.09056491404771805, -0.011993375606834888, 0.6598191261291504, -0.4350522458553314, 0.8764296770095825, -0.1863040030002594, -0.49521178007125854, 0.4354167580604553, 0.03669682890176773, 0.6136759519577026, -0.012053243815898895, -0.3258630335330963, 0.15659712255001068, -0.10571972280740738, -0.18053719401359558, -0.7273714542388916, 0.9600882530212402, -0.7681000828742981, -0.6951456665992737, -0.05083237215876579, -0.47499972581863403, -0.3427344560623169, -0.045971326529979706, 0.4499887228012085, 0.4965417981147766, 0.0948706641793251, 0.3838680684566498, 0.8027151226997375, -0.39154109358787537, -0.08310463279485703, 0.5585448741912842, 0.13032758235931396, -0.5046792030334473, 1.3069754838943481, 0.14434979856014252, 0.31711602210998535, 0.7241963744163513, 0.09740688651800156, -0.20092563331127167, -0.5056647062301636, -0.41948992013931274, 0.07806263118982315, -0.7391210794448853, -0.5862976312637329, -0.14634014666080475, -0.11182851344347, -0.3915146291255951, -0.20988309383392334, -0.48033085465431213, -0.17530862987041473, -0.31303489208221436, -0.20572443306446075, 0.48152098059654236, 0.4451058804988861, -0.19970020651817322, 0.14684368669986725, -0.7577975392341614, 0.2111087590456009, 0.2784726023674011, 0.6537319421768188, -0.13183091580867767, -0.771888792514801, -0.3220391869544983, 0.2991395592689514, -0.4071274399757385, -0.3810823857784271, 0.1325778067111969, 0.37988999485969543, 0.6652515530586243, 0.3304324746131897, -0.020644836127758026, 0.6793035864830017, -0.5005823969841003, 0.48914673924446106, -0.09474172443151474, -0.47005224227905273, 0.5258610248565674, -0.08640164136886597, 0.3427461087703705, 0.7727334499359131, 0.21749688684940338, -0.13768114149570465, -0.5522873401641846, -0.4841654598712921, -0.973471999168396, 0.6221629977226257, -0.07219581305980682, 0.20612001419067383, 0.00839987862855196, 0.4009878635406494, 0.5889946818351746, 0.3607694208621979, -0.40919065475463867, -0.39322584867477417, -0.05305732414126396, -0.4194517433643341, 0.0744226798415184, 0.024671543389558792, -0.05976582318544388, -0.382912278175354, 0.8624791502952576, 0.04038427025079727, 0.3942031264305115, -0.1833837330341339, 0.09859861433506012, -0.21463285386562347, 0.09403424710035324, 0.40121132135391235, 0.6054235100746155, -0.285606324672699, 0.1442987024784088, 0.3076525330543518, -0.48931458592414856, 0.14351613819599152, -0.1765453815460205, -0.27587488293647766, -0.11715126037597656, 0.4658434987068176, 0.5401101112365723, 0.3207094073295593, -0.5222549438476562, 0.0415550135076046, 0.01775905303657055, -0.06757625937461853, -0.1690545231103897, 0.573056697845459, -0.1768992841243744, 0.22980889678001404, 0.14094658195972443, 0.04311133921146393, -0.08918114751577377, -0.49370020627975464, 0.3735826909542084, 0.4761005938053131, -0.022477293387055397, -0.21481990814208984, 0.2618963122367859, 0.2744692265987396, -0.06633597612380981, 0.9098412394523621, -0.19021694362163544, 0.007546938490122557, 0.5476856827735901, 0.5304811596870422, 0.5073055624961853, -0.2612530291080475, -0.08020221441984177, 0.7005543112754822, 0.3734491169452667, -0.13828794658184052, 0.22224679589271545, -0.15343788266181946, -0.8992125988006592, -0.3080656826496124, -0.667598307132721, -0.28121471405029297, 0.37208765745162964, -0.642128050327301, 0.3026198446750641, -0.44941407442092896, 0.06696312129497528, -0.4475911855697632, -0.14605791866779327, -0.6933258175849915, 0.24740515649318695, -0.11510807275772095, 0.9048746228218079, -0.6037832498550415, 0.8560051321983337, 0.36830687522888184, 0.09252694994211197, -0.3867487609386444, 0.0920078381896019, 0.0027247376274317503, -1.1069982051849365, 0.43091848492622375, -0.01285022497177124, -0.4511690139770508, 0.023471442982554436, -0.5218060612678528, -1.0846173763275146, 1.0961740016937256, 0.6819239258766174, -0.6651111841201782, 0.0895007997751236, -0.226736381649971, 0.3921680450439453, -0.2644599676132202, -0.11945659667253494, 0.7098949551582336, 0.38446226716041565, 0.24691152572631836, -0.4049123227596283, 0.0500272698700428, -0.20418855547904968, -0.28815072774887085, 0.2774525582790375, -0.5526812672615051, 0.4349643588066101, -0.41223210096359253, -0.24280700087547302, -0.01368685532361269, 0.7963921427726746, 0.4290773868560791, 0.24917413294315338, 0.4051347076892853, 0.5998165011405945, 1.0151265859603882, 0.017033422365784645, 0.9527863264083862, -0.4812238812446594, -0.0070549556985497475, 1.4042837619781494, -0.03203509747982025, 0.7469457983970642, 0.40005797147750854, -0.2814556062221527, 0.5881176590919495, 0.6475526690483093, -0.1652040183544159, 0.8530676960945129, 0.33317631483078003, -0.19280362129211426, -0.1393265277147293, 0.11895657330751419, -0.5861752033233643, 0.44181734323501587, 0.3108951449394226, -0.5685036182403564, -0.14469313621520996, -0.4020209312438965, -0.14448627829551697, -0.014862176962196827, -0.37699955701828003, 0.8606568574905396, 0.00024543123436160386, -0.848381519317627, 0.7786933183670044, 0.08284272253513336, 0.7850542068481445, -0.6127836108207703, -0.11011287569999695, -0.3305075764656067, 0.18479187786579132, -0.11431871354579926, -0.9489936232566833, 0.3471052944660187, 0.036567192524671555, -0.28109246492385864, -0.2731649875640869, 0.4071587920188904, -0.6226012110710144, -0.6459996700286865, -0.07737933844327927, 0.2764435112476349, 0.11206965148448944, 0.11431139707565308, -0.3564686179161072, -0.1403598040342331, 0.13198040425777435, -0.27716153860092163, 0.4966734051704407, 0.6129910945892334, 0.2901425361633301, 0.7826986312866211, 0.7285071015357971, 0.2608718276023865, -0.0170174278318882, -0.0907125174999237, 0.6665259003639221, -0.5502474904060364, -0.3138620853424072, -0.7912256121635437, 0.046035826206207275, 0.06923486292362213, -0.2889542281627655, 0.6436276435852051, 0.5206074118614197, 1.0939381122589111, 0.05008314177393913, 0.8429067730903625, 0.18195313215255737, 0.39641618728637695, -0.8654284477233887, 0.47963473200798035, -0.5555891394615173, 0.41106095910072327, -0.13856090605258942, -0.7411283254623413, 0.08372384309768677, 0.609791100025177, -0.21520759165287018, 0.2869917154312134, 0.4464556872844696, 1.0559206008911133, -0.1525850147008896, 0.11770995706319809, 0.11399512737989426, -0.055617887526750565, -0.024260487407445908, 0.6615649461746216, 0.5177092552185059, -0.24950769543647766, 0.5170783400535583, -0.25442320108413696, -0.16555467247962952, -0.15516994893550873, -0.8745551705360413, -0.558778703212738, -0.582546055316925, -0.276653915643692, -0.07209959626197815, 0.005049124360084534, 1.0169849395751953, 0.6474691033363342, -0.8150774836540222, 0.006022618152201176, -0.17009776830673218, 0.4845269024372101, -0.41839295625686646, -0.20662985742092133, 0.2854364216327667, -0.3969251811504364, -0.7032884955406189, 0.5769145488739014, -0.09268917143344879, -0.07450345158576965, -0.009863760322332382, 0.1203313022851944, 0.19512790441513062, -0.008704609237611294, 0.5475940704345703, 0.22774982452392578, -0.33328020572662354, -0.33564677834510803, -0.0700165256857872, -0.06289220601320267, 0.019190175458788872, 0.8510726094245911, -0.6270191073417664, 0.39525097608566284, 0.6024335026741028, 0.8310915231704712, 0.24201641976833344, 0.1670621633529663, 0.8804735541343689, -0.9945168495178223, -0.11451688408851624, -0.19035278260707855, 0.31954389810562134, 0.405811607837677, -0.5228939652442932, 0.40314602851867676, 0.31252944469451904, -0.4574858546257019, -0.697898268699646, 0.10647454112768173, -0.42258867621421814, -0.31161263585090637, 1.2804774045944214, -0.1816871464252472, -0.13227063417434692, 0.11467956006526947, 0.020469704642891884, 0.2564038932323456, -0.5466209650039673, 1.2657289505004883, 0.5929315686225891, -0.13346925377845764, -0.08918756246566772, -0.4302423596382141, 0.4942440092563629, 0.25379860401153564, -0.8401721715927124, 0.3440697491168976, 0.41819432377815247, 0.5449718832969666, -0.23275905847549438, 0.37130966782569885, 0.03303065523505211, 0.24128040671348572, 0.03313145413994789, 0.04503408446907997, -0.2656821012496948, -0.3936680853366852, -0.05862286314368248, 0.1272325962781906, -0.04216505214571953, -0.42120200395584106 ]
http://arxiv.org/abs/2402.17333v1
http://arxiv.org/pdf/2402.17333v1
Unsupervised multiple choices question answering via universal corpus
2024-02-27T09:10:28
2024-02-27T09:10:28
Qin Zhang, Hao Ge, Xiaojun Chen, Meng Fang
cs.CL
cs.CL
Unsupervised question answering is a promising yet challenging task, which alleviates the burden of building large-scale annotated data in a new domain. It motivates us to study the unsupervised multiple-choice question answering (MCQA) problem. In this paper, we propose a novel framework designed to generate synthetic MCQA data barely based on contexts from the universal domain without relying on any form of manual annotation. Possible answers are extracted and used to produce related questions, then we leverage both named entities (NE) and knowledge graphs to discover plausible distractors to form complete synthetic samples. Experiments on multiple MCQA datasets demonstrate the effectiveness of our method.
[ -0.9396135210990906, -0.8416285514831543, 0.8143720626831055, -0.1956108659505844, -0.058632031083106995, 0.26973432302474976, 0.04921182245016098, -0.3438408076763153, 0.40533125400543213, 0.8716581463813782, -0.9417233467102051, -0.2458161562681198, -0.11818121373653412, 0.24995896220207214, -0.18137982487678528, 0.8529435396194458, 0.026182251051068306, 0.1548275500535965, -0.4709677994251251, -0.27567556500434875, -0.240248903632164, -0.7296621203422546, -0.5190954804420471, 0.04361822083592415, 0.5735507011413574, 0.5332980155944824, 0.426390677690506, 0.10795821994543076, 0.00435822457075119, 0.2155991792678833, 0.11125022917985916, 0.5770138502120972, 0.029608044773340225, 0.11168008297681808, -0.30409231781959534, -0.07390834391117096, -0.008403751999139786, -0.1056382805109024, 0.613041877746582, 1.1878061294555664, 0.15189915895462036, 0.5420939326286316, 0.05971246585249901, 0.3619186282157898, -0.6844500303268433, -0.32149213552474976, -0.8759770393371582, -0.08782763034105301, -0.13031233847141266, -0.23250053822994232, -0.2915506958961487, 0.04039567708969116, -0.002262076595798135, -0.8609344363212585, 0.3017106056213379, -0.05322425812482834, 0.4211566746234894, 0.33119839429855347, -0.8466311693191528, -0.18267495930194855, -0.672287106513977, 0.6273123025894165, 0.008578586392104626, 0.15443523228168488, 0.06941495835781097, 0.5009853839874268, -0.28311213850975037, -0.7579188346862793, -0.6315107941627502, 0.14808915555477142, 0.04803737625479698, 0.2740488648414612, -0.03657782822847366, -0.21364617347717285, 0.09917724132537842, -0.12233776599168777, -0.34467145800590515, -0.3439429700374603, -0.43831247091293335, -0.45581886172294617, 0.5462223887443542, 0.0862724706530571, 0.41262122988700867, -0.38314852118492126, -0.4235087037086487, 0.08929508924484253, -0.5776903629302979, 0.2805802822113037, 0.1173001304268837, 0.21014292538166046, 0.6184268593788147, 0.8368610739707947, -0.5594172477722168, 0.6858963966369629, -0.08068777620792389, 0.2078896015882492, -0.020360123366117477, -0.023045526817440987, -0.1998811811208725, -0.05390549823641777, 0.5221332311630249, 0.2903316617012024, 0.4917885363101959, -0.35222578048706055, 0.2686777710914612, 0.04642907530069351, 0.32922980189323425, -0.6417096853256226, -0.2088521271944046, 0.5038723349571228, 0.10336288809776306, -0.2492588758468628, 0.0564049631357193, -0.8998880386352539, -0.12551133334636688, -0.41920220851898193, 0.3456500470638275, -0.260724812746048, -0.12127304077148438, -0.18005309998989105, -0.1988372802734375, 0.03679276630282402, 0.21920543909072876, -0.5053255558013916, 0.19689011573791504, 0.03953252732753754, 0.3108159899711609, -0.30584636330604553, -0.21704840660095215, -0.6639615297317505, 0.3520524799823761, -0.2904713749885559, 1.013616919517517, -0.48837509751319885, -0.36153215169906616, -0.13418594002723694, 0.10689882189035416, -0.2758256494998932, -0.5744403004646301, 0.5161199569702148, -0.7890693545341492, 0.1886875480413437, -0.41406092047691345, -0.5654256939888, -0.3229511082172394, 0.16604067385196686, -0.6986861228942871, 1.0999207496643066, 0.2230791449546814, -0.8664961457252502, 0.15240247547626495, -1.094090223312378, -0.048579875379800797, -0.002583444816991687, -0.2602434754371643, 0.244301900267601, -0.14718113839626312, 0.7700878977775574, 0.4731503427028656, -0.12814459204673767, 0.6365229487419128, -0.3600073456764221, -0.14148575067520142, 0.7823300361633301, -0.45335105061531067, 1.0689579248428345, 0.15246453881263733, -0.20984821021556854, -0.040536068379879, -1.0011463165283203, 0.31679239869117737, -0.03962139040231705, -0.21745292842388153, -0.3734891712665558, -0.2599148750305176, 0.10423225909471512, 0.38391822576522827, -0.20170748233795166, -0.8891516327857971, -0.063695527613163, 0.11895910650491714, 0.2966211140155792, 0.5653502345085144, 0.4636751711368561, 0.3235150873661041, -0.42870384454727173, 0.63232421875, 0.2269035279750824, -0.1320069432258606, 0.2564815282821655, -0.6562739014625549, -0.6223564743995667, -0.4968286156654358, 0.5953871011734009, 0.4160385727882385, -1.1413497924804688, -0.04377054423093796, -0.10726194083690643, -0.16237829625606537, -0.5712814927101135, -0.08285130560398102, 0.1967386156320572, 0.7054992914199829, 0.7623329758644104, 0.028908977285027504, -0.8406076431274414, -0.955027163028717, -0.1794755458831787, 0.3646470606327057, -0.46718358993530273, 0.4073621332645416, 0.4994875490665436, -0.30926117300987244, 1.3581178188323975, -0.7454797029495239, -0.13808374106884003, 0.008862524293363094, -0.0706583559513092, -0.2072066068649292, 0.39393991231918335, 0.3464853763580322, -1.1069148778915405, -0.14635197818279266, -0.5382078289985657, -0.6233632564544678, -0.11247972398996353, -0.2294357270002365, -0.6278678178787231, -0.12340271472930908, 0.6720817685127258, -0.724540114402771, 0.21259520947933197, 0.124904103577137, -0.07197509706020355, 0.9136075973510742, 0.16366825997829437, 0.12049642950296402, -1.2283377647399902, 0.3734213411808014, -0.38500434160232544, -0.05291002243757248, -0.6086249351501465, 0.23951683938503265, -0.018743835389614105, -0.07173901051282883, -0.9044044613838196, 0.9611914157867432, -0.37588658928871155, -0.017174934968352318, 0.17119227349758148, 0.33232322335243225, 0.06580586731433868, 0.7041071653366089, 0.20675896108150482, 0.6902098059654236, 0.47943153977394104, -0.8825960159301758, 0.1623314917087555, 0.5179395079612732, -0.15084044635295868, 0.5053357481956482, -0.44588518142700195, 0.022543389350175858, -0.3984779417514801, 0.347424179315567, -1.1364094018936157, -0.7433261871337891, 0.17310398817062378, -0.5926781892776489, -0.18845459818840027, -0.23493526875972748, -0.28848502039909363, -0.46692153811454773, -0.1687978059053421, 0.4630853831768036, 0.16923710703849792, -0.8235176205635071, 0.5816739201545715, 0.5604448318481445, 0.014401612803339958, -0.724270761013031, -0.6863767504692078, -0.12685424089431763, -0.24993309378623962, -0.35466593503952026, 0.4044826328754425, -0.5797777771949768, -0.21402260661125183, -0.024910828098654747, -0.2520805299282074, -0.4098793864250183, 0.047802217304706573, 0.40271010994911194, 0.3483421504497528, -0.05716412514448166, 0.1798248589038849, 0.3466290235519409, 0.14176936447620392, 0.2351495325565338, -0.37624943256378174, 0.30248287320137024, 0.20237715542316437, -0.24568058550357819, 0.1179024875164032, 0.8586082458496094, 0.5720300674438477, -0.30216121673583984, 0.40414831042289734, 0.6687904000282288, -0.44482505321502686, -0.27501603960990906, -0.3847856819629669, 0.046976592391729355, -0.4590313136577606, 0.06272133439779282, -0.658412516117096, -1.209342360496521, 0.5561178922653198, -0.22974048554897308, 0.09050281345844269, 0.5545524954795837, 0.6398965716362, -0.1815820038318634, 0.9992302060127258, 0.1517682820558548, 0.46441930532455444, -0.14105556905269623, -0.06929188221693039, -0.21555624902248383, -1.112508773803711, -0.33221709728240967, -0.20035985112190247, -0.09028290212154388, -0.390840083360672, -0.4499262273311615, 0.48928430676460266, 0.28341758251190186, -0.4389861524105072, 0.015323628671467304, -0.768936276435852, 0.646771252155304, 0.8901461958885193, -0.015103593468666077, 0.31366443634033203, 0.028142599388957024, -0.8239220976829529, 0.3278675079345703, -0.5447724461555481, -0.5312216877937317, 1.5626004934310913, -0.3733205795288086, 0.12937311828136444, 0.23010383546352386, 0.6571546792984009, 0.04021238163113594, 0.533353328704834, -0.31403297185897827, 0.7039715051651001, 0.28463098406791687, -1.1048238277435303, -0.4671785831451416, -0.43703222274780273, -1.0963318347930908, 0.6611506342887878, -0.3610587418079376, -0.9708726406097412, 0.07752382010221481, -0.007178137078881264, -0.7542033791542053, 0.34771448373794556, -0.4897720515727997, 0.7768049836158752, 0.13650012016296387, 0.1218266636133194, 0.6423925757408142, -0.7085451483726501, 0.6112396121025085, -0.20561423897743225, 0.25501206517219543, -0.06090276688337326, 0.056486137211322784, 0.9443292617797852, -0.217637300491333, 0.5985047221183777, -0.03405582532286644, 0.23243683576583862, 0.8667495846748352, 0.07841558009386063, -0.22673487663269043, 0.7147966623306274, -0.006784419063478708, -0.0290804672986269, 0.4229277968406677, -0.5665226578712463, -0.5790806412696838, 0.7466967701911926, -0.6090053915977478, -0.47936350107192993, -0.23944449424743652, -0.8464369177818298, -0.749253511428833, 0.4190232753753662, 0.5125859379768372, 0.45598724484443665, -0.40860649943351746, -0.077196404337883, 0.5313214063644409, 0.0704442635178566, 0.6994951963424683, 0.3595470190048218, -0.26150789856910706, -0.6049678325653076, 0.48868614435195923, 0.09353086352348328, -0.07567597925662994, 0.3666316568851471, -0.08135640621185303, -0.7346867918968201, -0.08397786319255829, -0.9528804421424866, -0.022882524877786636, -0.7420996427536011, -0.20724010467529297, -1.026530385017395, -0.31244027614593506, -0.3287666141986847, -0.1318047195672989, -0.10688396543264389, -0.7639061212539673, -0.2738376259803772, -0.17935241758823395, 0.15408648550510406, 0.23676590621471405, -0.04411018639802933, -0.0568564236164093, -0.779830813407898, 0.6124359965324402, 0.9273091554641724, 0.0015583711210638285, -0.18284456431865692, -0.07701242715120316, 0.3058774769306183, 0.5469988584518433, -0.3382105529308319, -0.9564897418022156, 0.16256192326545715, 0.08184795826673508, 0.546325147151947, 0.05718409642577171, 0.6597399711608887, 0.6783809065818787, -0.5950917601585388, 0.681244969367981, -0.0019609208684414625, -0.7404477000236511, 0.3661749064922333, -0.3249586522579193, 0.31874704360961914, 0.7415099143981934, 0.7323402166366577, -0.2907892167568207, -0.32905516028404236, -0.9303077459335327, -0.7267751693725586, 0.3391581177711487, 0.4019864499568939, -0.01607087254524231, -0.2408936768770218, 0.39242976903915405, 0.024794641882181168, 0.2993893623352051, -0.5672226548194885, -0.37088537216186523, -0.13921183347702026, -0.0025375348050147295, -0.059620607644319534, -0.04459013789892197, -0.3329846262931824, -0.3451080322265625, 0.4923628866672516, -0.3540572226047516, 0.329099178314209, 0.5796183347702026, -0.27749767899513245, -0.022627748548984528, 0.49543482065200806, 0.3767249882221222, 0.6091567277908325, -0.2521894872188568, 0.371828556060791, 0.27102145552635193, -0.3447960615158081, 0.2601930499076843, 0.12972809374332428, -0.45122548937797546, 0.155142679810524, -0.14861755073070526, 0.057517681270837784, -0.02296537160873413, -1.0402977466583252, 0.21634791791439056, -0.03878926485776901, -0.4475087821483612, -0.6719033122062683, 0.03640332445502281, 0.43967336416244507, 0.027478132396936417, 0.48052504658699036, 0.26275283098220825, 0.3368552625179291, -0.541631281375885, 0.6618824601173401, 0.5151847004890442, -0.4717692732810974, -0.05281173810362816, 0.8099492192268372, -0.07253901660442352, 0.011454658582806587, 0.5169728398323059, -0.22299803793430328, -0.43681463599205017, 0.678462564945221, 0.5215401649475098, 0.32750120759010315, -0.21786479651927948, 0.5994588136672974, 0.29278311133384705, -0.0008031110628508031, 0.2563766837120056, 0.44388848543167114, -0.1533096581697464, -0.878528892993927, -0.4053230285644531, -0.7060757279396057, -0.49926233291625977, 0.3826310634613037, -0.8105774521827698, -0.32756656408309937, -0.27840980887413025, -0.07736704498529434, 0.5271657705307007, -0.11687485128641129, -0.780331552028656, 0.6461743116378784, 0.06934130936861038, 0.5716722011566162, -0.48544561862945557, 0.8610703945159912, 0.9830245971679688, -0.4522247314453125, -0.7186819911003113, -0.042523130774497986, 0.00036155260750092566, -0.5044687390327454, 0.4143133759498596, 0.2801070511341095, -0.015393712557852268, 0.24445518851280212, -0.5627669095993042, -1.065945029258728, 0.9815914630889893, 0.3342956006526947, 0.056023236364126205, 0.09681499749422073, 0.37742647528648376, 0.29303911328315735, -0.5561432838439941, 0.3321496546268463, 0.6335093379020691, 0.39471980929374695, 0.318072646856308, -0.33449849486351013, 0.13560530543327332, -0.40733054280281067, -0.19040295481681824, 0.09186885505914688, -0.31569603085517883, 0.7819769978523254, -0.41502076387405396, -0.19509266316890717, 0.08623997867107391, 0.5420311689376831, 0.4874769449234009, 0.3297175168991089, 0.5118094086647034, 0.3867652416229248, 0.9183674454689026, 0.1341811865568161, 0.6157346367835999, -0.04186691716313362, 0.21093913912773132, 1.2807190418243408, -0.10797792673110962, 0.7474251985549927, 0.5531307458877563, -0.042457569390535355, 0.4272097945213318, 0.8352212905883789, 0.19783885776996613, 0.2677067816257477, 0.5238386392593384, -0.3151717483997345, -0.644663393497467, -0.143789604306221, -0.07910893857479095, 0.5984042882919312, 0.17778272926807404, 0.10810878872871399, -0.33074045181274414, 0.16554512083530426, -0.07883148640394211, -0.062326811254024506, -0.35571160912513733, 0.403786301612854, -0.0479857511818409, -1.0019534826278687, 0.6467775106430054, -0.11696929484605789, 0.44363927841186523, -0.26929640769958496, 0.037651557475328445, -0.21100281178951263, -0.20034390687942505, 0.01861816830933094, -0.7639521360397339, 0.3808228075504303, -0.006633174605667591, -0.21627002954483032, 0.08596722036600113, 0.4791639745235443, -0.5755312442779541, -0.6742509603500366, 0.04413873702287674, 0.8958753943443298, 0.12367996573448181, -0.5012627243995667, -0.5473392605781555, -0.7568944096565247, 0.04234970360994339, -0.27774399518966675, 0.5036060810089111, 0.4377988576889038, -0.2864409387111664, 0.7456517219543457, 1.0436581373214722, -0.37820684909820557, 0.15327654778957367, -0.11579810827970505, 0.7975475192070007, -0.6100788116455078, -0.47973936796188354, -0.3609890937805176, 0.7000769376754761, -0.2226509004831314, -0.4580499231815338, 0.7040771245956421, 0.43156668543815613, 0.8992841839790344, -0.2596870958805084, 0.8221664428710938, -0.02626180276274681, 0.8070092797279358, -0.36166784167289734, 0.588794469833374, -0.7194969654083252, 0.015577557496726513, -0.2784481644630432, -0.9744270443916321, -0.46131622791290283, -0.007169204764068127, 0.13503070175647736, -0.1292751580476761, 0.7223445773124695, 0.7207103371620178, -0.25719186663627625, 0.07483126223087311, 0.4058055281639099, -0.23055443167686462, -0.0205991193652153, 0.6352760791778564, 0.803970992565155, -0.1903565526008606, 0.861778736114502, -0.361433207988739, 0.01578620821237564, 0.06305180490016937, -0.5726805329322815, -1.0520299673080444, -0.8647749423980713, -0.3481440842151642, -0.2256954163312912, -0.2319464534521103, 0.7481175065040588, 0.6607013940811157, -0.9975551962852478, 0.2925567030906677, 0.08256845921278, 0.13555781543254852, -0.12062431871891022, -0.2555919885635376, 0.7523440718650818, -0.12711286544799805, -0.5871348977088928, 0.4097929298877716, -0.053035516291856766, 0.055502213537693024, 0.007992176339030266, 0.3714047372341156, -0.34660565853118896, 0.44887399673461914, 0.6280667781829834, 0.3960862159729004, -0.714402973651886, -0.485933780670166, 0.16837875545024872, 0.26471996307373047, -0.04913974553346634, 0.7447448968887329, -0.9615643620491028, 0.2611216902732849, -0.14324437081813812, 0.8112022280693054, 0.37351706624031067, 0.2195444405078888, 0.08875341713428497, -1.026330828666687, -0.1505064070224762, 0.28199389576911926, 0.32224589586257935, 0.24570396542549133, -0.3674195408821106, 0.4669783115386963, 0.1858959048986435, -0.38055822253227234, -0.55948406457901, 0.5179640650749207, -1.178628921508789, -0.737914502620697, 1.2598416805267334, 0.11811775714159012, -0.1881769448518753, -0.5687810182571411, -0.34801244735717773, 0.24142108857631683, -0.12568850815296173, 0.46222609281539917, 0.40419885516166687, -0.4196297228336334, 0.08849278837442398, -0.6228395104408264, 0.6086560487747192, 0.46310022473335266, -0.8925485014915466, -0.11635156720876694, 0.6559145450592041, 0.6781102418899536, 0.3250110447406769, 0.8558160066604614, -0.0474005788564682, 0.29848894476890564, 0.02316979505121708, 0.09415837377309799, -0.21033091843128204, -0.4770745635032654, 0.1924329251050949, 0.6263832449913025, -0.5177636742591858, -0.38702571392059326 ]
http://arxiv.org/abs/2402.17311v1
http://arxiv.org/pdf/2402.17311v1
SKT5SciSumm -- A Hybrid Generative Approach for Multi-Document Scientific Summarization
2024-02-27T08:33:31
2024-02-27T08:33:31
Huy Quoc To, Hung-Nghiep Tran, Andr'e Greiner-Petter, Felix Beierle, Akiko Aizawa
cs.CL
cs.CL
Summarization for scientific text has shown significant benefits both for the research community and human society. Given the fact that the nature of scientific text is distinctive and the input of the multi-document summarization task is substantially long, the task requires sufficient embedding generation and text truncation without losing important information. To tackle these issues, in this paper, we propose SKT5SciSumm - a hybrid framework for multi-document scientific summarization (MDSS). We leverage the Sentence-Transformer version of Scientific Paper Embeddings using Citation-Informed Transformers (SPECTER) to encode and represent textual sentences, allowing for efficient extractive summarization using k-means clustering. We employ the T5 family of models to generate abstractive summaries using extracted sentences. SKT5SciSumm achieves state-of-the-art performance on the Multi-XScience dataset. Through extensive experiments and evaluation, we showcase the benefits of our model by using less complicated models to achieve remarkable results, thereby highlighting its potential in advancing the field of multi-document summarization for scientific text.
[ -0.15368035435676575, 0.07299961894750595, 0.6168159246444702, 0.1701827347278595, -0.6387776136398315, 0.6681618690490723, -0.11426835507154465, -0.20773199200630188, 0.6286237835884094, 0.11320957541465759, -0.32518479228019714, -0.629701554775238, -0.7656728625297546, 0.5268088579177856, -0.5032956004142761, 1.2972556352615356, 0.07125759869813919, 0.02303788997232914, -0.5645368695259094, -0.11502586305141449, 0.16640575230121613, -0.3522320091724396, 0.27726396918296814, -0.2522708475589752, 0.5788795351982117, 0.39940181374549866, 0.0833263024687767, 0.5055567026138306, 0.7705491185188293, 0.2634658217430115, -0.18375058472156525, 0.2631562352180481, -0.29039981961250305, 0.19856594502925873, -0.1591539829969406, -0.5015031099319458, -0.4730113446712494, -0.04181242734193802, 0.7567466497421265, 0.5878928303718567, -0.07927646487951279, 0.2218044102191925, -0.0706774964928627, 0.32608962059020996, -0.2961061894893646, 0.3340691328048706, -0.27671974897384644, -0.013916145078837872, -0.006389373913407326, -0.26465773582458496, -0.3855816125869751, -0.45808085799217224, 0.09975171834230423, -0.581332266330719, 0.692040205001831, -0.05841658636927605, 0.5780856013298035, 0.183480903506279, -0.5197441577911377, -0.15063172578811646, -0.7278131246566772, 0.696451723575592, -0.8182809948921204, 0.2672801613807678, -0.4078265130519867, 0.3275766670703888, 0.15089018642902374, -1.003003716468811, -0.5018712878227234, -0.1813543736934662, -0.21900124847888947, 0.7521403431892395, 0.2359110713005066, 0.12635928392410278, 0.03294971585273743, 0.6482015252113342, -0.6313338279724121, -0.38394057750701904, -1.03457772731781, 0.03875526785850525, 0.41483068466186523, 0.21873672306537628, -0.011069584637880325, -0.389952689409256, -0.3321264386177063, -0.24401114881038666, -0.3631928861141205, -0.5052645206451416, -0.030047696083784103, 0.13565506041049957, -0.2590862810611725, 0.9009720087051392, 0.04645445942878723, -0.023271534591913223, -0.030911942943930626, -0.39726075530052185, 0.2607225179672241, -0.7540087699890137, 0.1087815910577774, 0.1857704520225525, 0.7064835429191589, 0.4603578746318817, -0.3190242648124695, -0.3903801739215851, 0.22852592170238495, 0.665230393409729, 0.1969730406999588, -0.8168372511863708, -0.19519329071044922, 0.4432905316352844, -0.5630960464477539, -0.5377888679504395, 0.2664320766925812, -0.8322774171829224, -0.2091377079486847, 0.028728215023875237, -0.05171553045511246, -0.6439321637153625, -0.22399279475212097, -0.09740874916315079, -0.6985962986946106, -0.30675503611564636, 0.15060098469257355, -0.6033838987350464, 0.30345097184181213, 0.26316583156585693, 1.1501377820968628, -0.4232122302055359, -0.3011203408241272, 0.0485062412917614, 0.7717655897140503, 0.03378145769238472, 0.8085507154464722, -0.31792861223220825, -0.745452344417572, -0.6933739185333252, -0.20847788453102112, -0.15525783598423004, -0.16380921006202698, 0.4983902871608734, -0.16893382370471954, 0.24838823080062866, -0.09381216019392014, -0.5580520629882812, -0.2605203688144684, -0.017511190846562386, -0.5579067468643188, 1.0554672479629517, 0.062268055975437164, -0.8030190467834473, 0.4879112243652344, -1.181833028793335, -0.4788663387298584, 0.27299824357032776, -0.12014134228229523, -0.5505138635635376, 0.38191846013069153, 0.1125364825129509, 0.5432661175727844, 0.03376550227403641, 0.39339926838874817, -0.3095208406448364, 0.026455949991941452, 0.04751058667898178, 0.09268874675035477, 0.04422170668840408, 0.1947212815284729, -0.035890061408281326, 0.34049901366233826, -0.8076122999191284, -0.2564178705215454, 0.04569568112492561, -0.1985033005475998, -0.4446829557418823, 0.185367152094841, 0.16755694150924683, 0.4933456480503082, 0.07935722172260284, -0.9814561605453491, 0.2475297898054123, -0.22145113348960876, 0.7466676831245422, 0.39921316504478455, 0.12426140904426575, 0.39210405945777893, -0.45794886350631714, 0.49194517731666565, 0.259274959564209, -0.19459380209445953, -0.8541463613510132, -0.15359602868556976, -0.3410809338092804, -0.6933930516242981, 0.35585474967956543, 0.2107892483472824, -0.6718564033508301, 0.28587740659713745, -0.5990163087844849, -0.7553648948669434, -0.5978851914405823, -0.331327885389328, 0.20239734649658203, 0.32891517877578735, 0.6597798466682434, 0.012510188855230808, -0.6790018081665039, -0.833235502243042, -0.13824458420276642, 0.19158633053302765, 0.1094345971941948, -0.18576402962207794, 0.924865186214447, -0.06933730095624924, 1.0424597263336182, -0.7487762570381165, -0.21710428595542908, -0.6761101484298706, 0.3867487907409668, -0.013880087062716484, 0.3221328854560852, 0.44790396094322205, -0.8368709087371826, -0.37475502490997314, -0.06636026501655579, -0.8919627070426941, 0.12669944763183594, -0.13112379610538483, 0.36423519253730774, 0.013549682684242725, 0.27484777569770813, -0.8135849237442017, 0.1893351972103119, 0.38776934146881104, 0.0030608195811510086, 0.7890207171440125, -0.5313998460769653, 0.26612961292266846, -1.5752043724060059, 0.2991056442260742, 0.19372038543224335, -0.2657828629016876, -0.45627057552337646, 0.24053817987442017, 0.296874463558197, -0.15952129662036896, -0.2650969922542572, -0.0959138423204422, -0.6001110672950745, -0.0702526792883873, -0.2402677685022354, 0.09833361208438873, 0.02671651728451252, 0.13568133115768433, 0.23401154577732086, 0.6139041185379028, 0.030204173177480698, -0.414422869682312, 0.06319373100996017, 0.282804936170578, 0.06432870775461197, 0.5180748105049133, -0.7216078639030457, -0.24830962717533112, -0.3283076286315918, 0.8227131962776184, -0.8002782464027405, -0.409553200006485, -0.13963010907173157, -0.5004810690879822, 0.018979687243700027, 0.2701491713523865, -0.691613495349884, -0.5553969740867615, -0.6443257927894592, 0.2030627280473709, 0.2687869966030121, -0.40168309211730957, 0.853556752204895, 0.04521621763706207, -0.4751986861228943, -0.00910989474505186, -0.340035080909729, 0.25709256529808044, -0.31605103611946106, -0.6874237060546875, 0.7954444885253906, -0.18209326267242432, 0.11198577284812927, 0.09089675545692444, -0.21286191046237946, 0.5255270004272461, -0.2646889090538025, 0.24722498655319214, 0.4242437481880188, -0.02321874350309372, -0.18888124823570251, 0.5853015780448914, -0.3812727630138397, -0.07595489919185638, -0.3315131962299347, 0.3346988260746002, -0.02867782488465309, -0.15527060627937317, -0.2089468538761139, 0.809208333492279, 0.9969702959060669, -0.21972040832042694, 0.5403150320053101, 0.3333992660045624, -0.23322148621082306, 0.020480269566178322, -0.22303229570388794, -0.39940476417541504, -0.3711607754230499, 0.5289497971534729, -0.3013102114200592, -0.8292566537857056, 0.4658169150352478, -0.28122925758361816, 0.30831965804100037, 0.6252908110618591, 0.34400174021720886, -0.4111620783805847, 1.2037156820297241, 0.7383460998535156, 0.23025132715702057, -0.061411429196596146, -0.1978638619184494, 0.21856261789798737, -0.754607617855072, -0.5785152316093445, -0.5654537081718445, -0.017078302800655365, -0.26607176661491394, -0.2344452440738678, 0.8395784497261047, -0.2864995002746582, 0.37883996963500977, 0.3389827609062195, -0.5790485143661499, 0.2193266600370407, 0.2943323850631714, -0.14104075729846954, 0.587780237197876, -0.05764808505773544, -0.4199948310852051, -0.316639244556427, -0.9200688600540161, -0.6229777336120605, 0.7825942635536194, 0.1500534564256668, 0.6755996942520142, 0.019312649965286255, 0.823150634765625, 0.3215024769306183, 0.21309085190296173, -0.4033814072608948, 0.4615970551967621, -0.27524951100349426, -0.17006520926952362, 0.08809849619865417, -0.419284462928772, -0.5770401954650879, 0.6897454857826233, -0.14909499883651733, -0.2409333735704422, -0.14852797985076904, 0.004970017354935408, -0.3703007102012634, 0.24324455857276917, -0.7518123984336853, 0.319225937128067, -0.03921118378639221, 0.2037108838558197, -0.3497808873653412, -0.9469323754310608, 0.6389851570129395, -0.11036326736211777, 0.307819128036499, 0.128253772854805, -0.0006764487479813397, 0.7816261053085327, -0.34297987818717957, 0.7200953364372253, 0.07021551579236984, 0.33073538541793823, -0.3220786154270172, -0.22021378576755524, 0.30521026253700256, -0.010505939833819866, 0.38154423236846924, -0.04406307637691498, 0.464851438999176, -0.3333030343055725, -0.4389027953147888, 0.6706196665763855, -0.5099626183509827, -0.2107970267534256, -0.9038563966751099, -0.8170104622840881, 0.12585455179214478, 0.1623295545578003, 0.2701285779476166, 0.17238633334636688, -0.13252988457679749, 0.21787600219249725, 0.6050332188606262, -0.05574415624141693, 0.44793596863746643, 0.40221914649009705, -0.035421811044216156, -0.647925615310669, 0.9936404228210449, 0.1929207742214203, 0.44528862833976746, 0.16150563955307007, 0.09756143391132355, -0.19919806718826294, -0.4243249297142029, -0.40527021884918213, 0.6379185318946838, -0.41325318813323975, -0.2535043954849243, -1.0447677373886108, -0.23744480311870575, -0.7873306274414062, -0.39819812774658203, -0.24735209345817566, -0.721544086933136, -0.2841976284980774, -0.36070066690444946, 0.3532432019710541, 0.8269509673118591, -0.07335127890110016, 0.26885032653808594, -1.0161409378051758, 0.5522058010101318, -0.5293663740158081, 0.07044824957847595, -0.13697116076946259, -0.0982503741979599, -0.25314319133758545, -0.16940052807331085, -0.37471988797187805, -0.8072616457939148, 0.5279302000999451, 0.2170749008655548, 0.5666019916534424, 0.3236081600189209, 0.014808982610702515, 0.45559099316596985, -0.3193238079547882, 0.9050201773643494, 0.5681150555610657, -0.5927399396896362, 0.3739154636859894, -0.4391121566295624, 0.5632326006889343, 0.33016738295555115, 0.25860166549682617, -0.7096116542816162, -0.8353273868560791, -0.832564651966095, -0.9382295608520508, 0.6432316899299622, 0.24441438913345337, -0.29700055718421936, 0.060260869562625885, 0.04914223030209541, 0.5219059586524963, 0.3249865472316742, -0.5034434199333191, -0.18843507766723633, -0.655841052532196, -0.45912349224090576, -0.1596865952014923, -0.09275340288877487, -0.15691451728343964, -0.12609772384166718, 0.7372138500213623, -0.3408758044242859, 0.24366545677185059, 0.13291913270950317, -0.34680184721946716, 0.18288540840148926, 0.39423656463623047, 1.101233720779419, 0.43182358145713806, -0.2559071183204651, 0.35339489579200745, 0.04816266521811485, -0.7189723253250122, -0.03196075186133385, 0.34666502475738525, -0.25875306129455566, 0.18686600029468536, 0.25025102496147156, 0.3046247959136963, 0.2589532136917114, -0.3393639922142029, 0.17928756773471832, 0.030571160838007927, -0.562109649181366, -0.0367605984210968, -0.04641960933804512, 0.30873537063598633, 0.024626541882753372, 0.8117188811302185, 0.3247721791267395, 0.21864230930805206, -0.15815046429634094, 0.0924190804362297, 0.11537306755781174, 0.023704012855887413, -0.6020721793174744, 0.8328961133956909, 0.06407332420349121, 0.34043100476264954, -0.07917550206184387, 0.09567047655582428, -0.6942293047904968, 0.5297006368637085, 0.7831358313560486, 0.5416370034217834, -0.23556701838970184, 0.4497626721858978, 0.23721018433570862, 0.2620750069618225, -0.06034104898571968, 0.29018905758857727, 0.008685803040862083, -0.13266701996326447, -0.4131240248680115, -0.410761296749115, -0.39232683181762695, -0.15622596442699432, -0.6459189653396606, 0.13487519323825836, -0.09445665031671524, 0.0900116115808487, 0.45429709553718567, -0.11162405461072922, 0.0018716772319748998, 0.12462689727544785, -0.2540428340435028, 0.9263163805007935, -0.949761688709259, 0.5041608810424805, 0.5913786292076111, -0.6574479937553406, -0.2414344996213913, -0.4841190576553345, 0.01980671100318432, 0.03021392598748207, 0.12126745283603668, -0.03431408107280731, -0.31164202094078064, 0.11444912105798721, -0.648271381855011, -0.7767876386642456, 1.4330711364746094, 0.12071322649717331, -0.3055812120437622, -0.17559151351451874, 0.14565221965312958, 0.5298627614974976, -0.4366321861743927, 0.35099804401397705, 0.3752661645412445, 0.4612557590007782, 0.44383788108825684, -0.5896096229553223, 0.05169885978102684, -0.4342237114906311, -0.10924380272626877, 0.3849674463272095, -0.8418360948562622, 0.5501115322113037, -0.36225107312202454, -0.17903201282024384, 0.12315122038125992, 0.9796591997146606, 0.7021046280860901, 0.3521089553833008, 0.09841114282608032, 0.4393230974674225, 0.6422663927078247, -0.11848815530538559, 0.9752575755119324, -0.2657591700553894, 0.2577272653579712, 1.0641814470291138, -0.3984827995300293, 0.23183107376098633, 0.6893600225448608, -0.1296711415052414, 0.3931184411048889, 0.5385385155677795, -0.21892885863780975, 0.7166552543640137, -0.10278671979904175, -0.33520233631134033, 0.07567507773637772, 0.03761649876832962, -0.6103955507278442, 0.1449183076620102, 0.6017614603042603, -0.5876867175102234, -0.5498127937316895, 0.18484532833099365, 0.08589521795511246, -0.020802782848477364, -0.007315270137041807, 0.6645329594612122, 0.3355908989906311, -0.44147059321403503, -0.08762645721435547, 0.44631001353263855, 0.7658443450927734, -0.7457255125045776, -0.08403381705284119, -0.03272503986954689, 0.20025843381881714, -0.3521369397640228, -0.42061349749565125, 0.35602033138275146, -0.08305592089891434, -0.595203161239624, -0.24240967631340027, 0.6632148027420044, -0.5199762582778931, -0.6033259034156799, 0.03203285112977028, 0.29639628529548645, 0.19096219539642334, 0.4045296609401703, -0.26785042881965637, -0.29982224106788635, -0.31977787613868713, 0.1492743343114853, 0.2754531800746918, 0.021220864728093147, -0.34833160042762756, 0.45660609006881714, 0.9101197123527527, 0.1664113998413086, 0.10374720394611359, 0.06785553693771362, 1.024227499961853, -0.5929948091506958, -0.9928117394447327, -0.5866827368736267, 0.5366590023040771, -0.31549838185310364, -0.23594802618026733, 0.8663429021835327, 1.0591695308685303, 0.20861348509788513, -0.23114556074142456, 1.3848899602890015, -0.13112427294254303, 0.7121112942695618, -0.13282693922519684, 0.8335756063461304, -0.22774362564086914, -0.07122677564620972, -0.4274890720844269, -0.66633540391922, -0.482173353433609, 0.23258183896541595, -0.05865149199962616, 0.016280148178339005, 1.0099902153015137, 0.5011404752731323, -0.3286034166812897, 0.49645525217056274, 0.04315619915723801, 0.15684953331947327, 0.3831974267959595, 0.046080414205789566, 0.5602007508277893, -0.1449541300535202, 0.5528188943862915, -0.13779498636722565, -0.17681030929088593, -0.18662093579769135, -0.8506291508674622, -0.7679973840713501, -0.7774563431739807, -0.3016822040081024, -0.2778919041156769, 0.11058046668767929, 0.8795216083526611, 0.6022642254829407, -0.7141141295433044, 0.039897508919239044, 0.10809478163719177, -0.29524582624435425, -0.25868090987205505, -0.20553311705589294, 0.513238787651062, -0.14176760613918304, -0.40430545806884766, 0.49916931986808777, 0.581548273563385, 0.08398504555225372, -0.4021727740764618, -0.050186607986688614, -0.2903389036655426, 0.059162113815546036, 0.691491961479187, 0.09322913736104965, -0.49154263734817505, -0.009880769066512585, 0.2314673215150833, -0.1263473778963089, 0.18966147303581238, 0.9330673217773438, -0.6568239331245422, 0.2510606050491333, 0.30390670895576477, 0.21238656342029572, 1.0919692516326904, -0.024191703647375107, 0.6661227345466614, -0.6859005689620972, -0.27066656947135925, 0.17550501227378845, 0.20327632129192352, 0.35723215341567993, -0.41112637519836426, 0.34152883291244507, 0.500705897808075, -0.18656712770462036, -0.825082004070282, -0.19036298990249634, -1.2077372074127197, -0.18233011662960052, 0.9081457257270813, 0.02978709526360035, -0.1572459638118744, -0.2217484563589096, -0.19651536643505096, 0.4189002215862274, -0.6309455633163452, 0.9756202101707458, 0.6873641014099121, -0.10025293380022049, -0.3195870816707611, -0.11905133724212646, 0.1552124172449112, 0.252302348613739, -1.0847651958465576, -0.20476646721363068, 0.4214928150177002, 0.3562697172164917, 0.46496284008026123, 0.18974949419498444, -0.4238128960132599, 0.4011290371417999, -0.036215104162693024, 0.35198113322257996, -0.4330236613750458, -0.33212006092071533, -0.10924974828958511, 0.6146281361579895, -0.6019730567932129, 0.029901275411248207 ]
http://arxiv.org/abs/2402.17304v2
http://arxiv.org/pdf/2402.17304v2
Probing Multimodal Large Language Models for Global and Local Semantic Representations
2024-02-27T08:27:15
2024-03-27T02:59:57
Mingxu Tao, Quzhe Huang, Kun Xu, Liwei Chen, Yansong Feng, Dongyan Zhao
cs.CL
cs.CL, cs.AI
The advancement of Multimodal Large Language Models (MLLMs) has greatly accelerated the development of applications in understanding integrated texts and images. Recent works leverage image-caption datasets to train MLLMs, achieving state-of-the-art performance on image-to-text tasks. However, there are few studies exploring which layers of MLLMs make the most effort to the global image information, which plays vital roles in multimodal comprehension and generation. In this study, we find that the intermediate layers of models can encode more global semantic information, whose representation vectors perform better on visual-language entailment tasks, rather than the topmost layers. We further probe models regarding local semantic representations through object recognition tasks. We find that the topmost layers may excessively focus on local information, leading to a diminished ability to encode global information. Our code and data are released via https://github.com/kobayashikanna01/probing_MLLM_rep.
[ -0.5165462493896484, -0.6889333724975586, 0.6297281980514526, -0.11861837655305862, -0.03870193660259247, -0.27425530552864075, -0.39437657594680786, -0.6570591926574707, -0.27759644389152527, 0.6521903872489929, -0.4483465552330017, -0.4666881263256073, -0.6930386424064636, 0.07579099386930466, -0.29924318194389343, 0.6691362261772156, -0.13364021480083466, 0.15576030313968658, -0.7416455149650574, -0.1754513531923294, -0.24917326867580414, -0.7237728238105774, -0.5246413946151733, -0.3150460422039032, 0.5970322489738464, 0.1916757971048355, 0.6994625329971313, 0.3794839382171631, 0.6177929043769836, 0.35622870922088623, 0.015794891864061356, 0.2099735140800476, -0.3699094355106354, 0.1288977861404419, -0.1620524674654007, -0.49536803364753723, -0.06694777309894562, -0.14843738079071045, 0.9128525853157043, 0.5119840502738953, 0.24598465859889984, 0.1656949818134308, -0.13891810178756714, 0.453896701335907, -0.7149575352668762, 0.45921820402145386, -0.7316226959228516, 0.0997326523065567, -0.06725500524044037, -0.23536333441734314, -0.6072479486465454, 0.356937974691391, 0.2934724688529968, -0.5291162729263306, 0.31354960799217224, 0.13013136386871338, 0.8829056620597839, 0.1352248340845108, -0.8219045996665955, -0.2056976705789566, -0.628552258014679, 0.8762347102165222, -0.4673234522342682, 0.5162365436553955, 0.4891608953475952, 0.32825160026550293, -0.02035813219845295, -0.4698200523853302, -0.559341311454773, -0.605181872844696, -0.3613872230052948, 0.018298368901014328, -0.21588757634162903, 0.012052264995872974, 0.2633283734321594, 0.31193262338638306, -0.5374346375465393, -0.0070678903721272945, -0.35389769077301025, -0.40953800082206726, 0.34312868118286133, 0.07456623017787933, 0.43521732091903687, -0.2852828800678253, -0.6831955909729004, -0.2185317724943161, -0.7099527716636658, 0.18597163259983063, 0.09785421937704086, 0.12851683795452118, -0.2386617809534073, 0.8305245041847229, -0.1551593393087387, 0.8355650305747986, -0.4308095872402191, -0.06985165923833847, 0.15210308134555817, -0.6373558640480042, -0.2269059121608734, -0.07141833007335663, 0.5340421199798584, 0.5436258912086487, 0.3462817370891571, -0.24924291670322418, -0.199740931391716, 0.1825438141822815, 0.12953723967075348, -0.7341625690460205, 0.11491746455430984, 0.24912582337856293, -0.4442988336086273, -0.1613410860300064, 0.0749095156788826, -0.27824726700782776, -0.513978898525238, -0.6864187717437744, 0.4343617856502533, -0.31504321098327637, -0.21779073774814606, 0.2860107719898224, -0.14320117235183716, 0.5348325371742249, 0.2199084609746933, -0.6357741951942444, 0.12874655425548553, 0.3357711732387543, 0.6510301828384399, 0.020092429593205452, -0.5442498922348022, -0.5553327798843384, 0.45836341381073, -0.2630082964897156, 0.7927014827728271, -0.8191426396369934, 0.06935199350118637, 0.04251513257622719, 0.2735283672809601, -0.23397453129291534, -0.5416424870491028, 0.43055716156959534, -0.5109155178070068, 0.10603883117437363, -0.29541170597076416, -0.32901814579963684, -0.3026092052459717, 0.4765087068080902, -0.8187592625617981, 0.8933300971984863, -0.19274774193763733, -0.9825750589370728, 0.1909189671278, -0.49416476488113403, -0.17394906282424927, -0.34617069363594055, -0.27852848172187805, -0.23002678155899048, 0.2379818856716156, 0.6335940957069397, 0.9956725239753723, -0.34213578701019287, 0.06023823842406273, -0.20488999783992767, -0.29147547483444214, 0.4056716859340668, -0.44332391023635864, 0.4207940995693207, 0.010339584201574326, -0.07310088723897934, 0.23999887704849243, -0.5907391309738159, -0.31858888268470764, 0.4475167393684387, -0.17861634492874146, -0.4488241374492645, -0.028423817828297615, 0.08184894919395447, 0.3799484670162201, 0.3187316358089447, -0.7268185019493103, 0.08725208044052124, -0.034912850707769394, 0.37457868456840515, 0.6196328401565552, -0.08255167305469513, 0.6334500312805176, -0.15397939085960388, 0.16575516760349274, 0.5175386071205139, 0.1286345273256302, -0.5785834789276123, -0.5096153020858765, -0.7877389788627625, -0.07557810097932816, 0.021464310586452484, 0.3869541883468628, -0.8320861458778381, -0.19761785864830017, -0.32034066319465637, -0.2934456765651703, -0.44850534200668335, 0.1910744607448578, 0.3856172263622284, 0.32522907853126526, 0.2789032757282257, -0.18243321776390076, -0.24081608653068542, -1.2495185136795044, 0.06773879379034042, 0.1576799601316452, -0.037417829036712646, 0.3168129622936249, 0.6021053791046143, -0.39687758684158325, 0.8361278772354126, -0.2991750240325928, -0.47605371475219727, -0.1890150010585785, 0.07719705998897552, -0.08130352944135666, 0.3241159915924072, 0.6092973351478577, -1.0298235416412354, -0.38801437616348267, 0.22387506067752838, -0.6703617572784424, 0.3969668447971344, -0.21121563017368317, -0.3604968786239624, 0.21629548072814941, 0.5097681879997253, -0.9035314917564392, 0.2599636912345886, 0.5865687131881714, -0.38777896761894226, 0.31021904945373535, -0.47864004969596863, 0.1154354065656662, -0.6752846240997314, 0.11648470163345337, 0.11757552623748779, -0.18146464228630066, -0.6616228222846985, 0.30862748622894287, 0.35097429156303406, -0.1676897257566452, -0.31399035453796387, 0.5015193223953247, -0.9208270907402039, -0.279811829328537, -0.0009180409833788872, 0.32215026021003723, 0.19524075090885162, 0.635664165019989, 0.15914520621299744, 0.6390393972396851, 0.9637396335601807, -0.42608314752578735, 0.34919145703315735, -0.054255031049251556, -0.6512932181358337, 0.21208204329013824, -0.5477426648139954, 0.08692178130149841, -0.689468264579773, 0.2803298532962799, -1.053604245185852, -0.5242016911506653, -0.04241689667105675, -0.2983045279979706, 0.39868372678756714, -0.07897062599658966, -0.7601195573806763, -0.19337743520736694, -0.2685394883155823, 0.44888901710510254, 0.3163658380508423, -0.4020206928253174, 0.7424102425575256, 0.4345284104347229, 0.05803065001964569, -0.6030932664871216, -0.7791835069656372, -0.05112915486097336, 0.016149654984474182, -0.7155078649520874, 0.33322659134864807, 0.2570323050022125, -0.059911422431468964, -0.04028154909610748, 0.004078741651028395, 0.04471133276820183, -0.23627589643001556, 0.12382040172815323, 0.20307834446430206, -0.22565561532974243, 0.2141980081796646, -0.2670673727989197, -0.028028065338730812, 0.15471819043159485, -0.134108766913414, 0.6916021108627319, -0.2961117625236511, -0.5543345212936401, -0.292052298784256, 0.5412711501121521, 0.8336063623428345, -0.7405978441238403, 0.822496235370636, 0.9123508930206299, -0.439225971698761, 0.021301640197634697, -0.575124979019165, -0.14979040622711182, -0.4319128394126892, 0.6230630278587341, -0.37345653772354126, -0.6871297359466553, 0.7519047260284424, 0.21817834675312042, -0.18635620176792145, 0.3523949682712555, 0.4537501931190491, -0.07398727536201477, 1.1694279909133911, 0.461966872215271, -0.01711294800043106, 0.34778064489364624, -0.5252401232719421, -0.08794248849153519, -0.9160794615745544, -0.4087466299533844, -0.28308820724487305, -0.04005599394440651, -0.3285866677761078, -0.9636749625205994, 0.33968085050582886, 0.019989311695098877, -0.1591508686542511, 0.03019341081380844, -0.33952203392982483, 0.5950785279273987, 0.5042498707771301, 0.17817319929599762, 0.24492773413658142, 0.29052892327308655, -0.20841728150844574, -0.016681989654898643, -0.5963571667671204, -0.3653438091278076, 0.8105624914169312, 0.5479321479797363, 0.763346254825592, -0.06431622058153152, 0.276783287525177, -0.019000953063368797, -0.00807262398302555, -0.6025528907775879, 0.6427373290061951, -0.3363634943962097, -0.5565756559371948, -0.14006517827510834, -0.2747662365436554, -0.9468139410018921, 0.5067585110664368, -0.0944480299949646, -0.5109612941741943, 0.08571997284889221, 0.05078735202550888, 0.06732533872127533, 0.4236657917499542, -0.7150291800498962, 1.1217788457870483, -0.15710072219371796, -0.19596795737743378, -0.11548612266778946, -0.6396646499633789, 0.2239241749048233, 0.22148241102695465, 0.4107470214366913, -0.20379704236984253, -0.19773463904857635, 0.38836783170700073, 0.10074389725923538, 1.0067062377929688, -0.27732977271080017, -0.5360493659973145, 0.3054541051387787, 0.01851511001586914, 0.505020797252655, -0.21925748884677887, 0.2822807729244232, 0.22066816687583923, -0.23045645654201508, -0.4853818118572235, -0.6206565499305725, 0.7058017253875732, -0.6866722106933594, -0.4311017394065857, -0.12252070754766464, -0.6689640879631042, -0.2457481324672699, -0.004880993627011776, 0.11848638206720352, 0.9285848736763, 0.3041340112686157, 0.49702537059783936, 0.68430495262146, -0.33358463644981384, 0.31864580512046814, 0.04915209114551544, -0.4347553849220276, -0.05850277841091156, 1.0034420490264893, 0.06493299454450607, 0.47812530398368835, 0.7157952785491943, 0.04581858962774277, -0.3805217146873474, -0.37978655099868774, -0.5976933240890503, 0.2928325831890106, -1.143802285194397, -0.16258467733860016, -0.5253191590309143, -0.11551859229803085, -0.2376386672258377, -0.003960908390581608, -0.271732896566391, -0.24442671239376068, -0.08969051390886307, 0.09215761721134186, 0.25940003991127014, 0.788322925567627, 0.35283616185188293, 0.05710366368293762, -0.8395782113075256, 0.3674238324165344, 0.21595342457294464, 0.24247924983501434, 0.2519090175628662, -0.28423795104026794, -0.4020988643169403, 0.06019635498523712, 0.09760865569114685, -0.6915841698646545, 0.09031115472316742, 0.32127633690834045, 0.8182555437088013, 0.3221501111984253, -0.11420586705207825, 0.6850507259368896, -0.5433177947998047, 0.822988748550415, 0.06668418645858765, -0.691263735294342, 0.43169671297073364, -0.43652042746543884, 0.7151675224304199, 0.030429624021053314, 0.5077135562896729, -0.4007115066051483, -0.7504335045814514, -0.06594157218933105, -0.7488164305686951, 0.6393215656280518, 0.16515016555786133, 0.5815089344978333, 0.11287333816289902, 0.06473197042942047, 0.053966719657182693, -0.07322609424591064, -0.9577468037605286, 0.010240988805890083, -0.06659378111362457, -0.1413513422012329, 0.048341020941734314, -0.2620168626308441, -0.034796055406332016, -0.13495726883411407, 0.15090470016002655, -0.3046623468399048, 0.6474814414978027, 0.4107550382614136, -0.34469324350357056, 0.16456742584705353, 0.23457424342632294, 0.6165909767150879, 0.46881452202796936, -0.1151043102145195, 0.5380330681800842, 0.04991420730948448, -0.42773672938346863, -0.169939786195755, -0.007141083013266325, -0.0038586838636547327, 0.04625861719250679, 0.8494455218315125, 1.0544203519821167, 0.43612077832221985, -0.8065759539604187, 0.5692585110664368, -0.010766650550067425, 0.05022580549120903, -0.19158296287059784, -0.014845240861177444, 0.05121392384171486, 0.2484551966190338, 0.43651631474494934, 0.1806899905204773, 0.0744733139872551, -0.7249994277954102, 0.04258430376648903, 0.5865315794944763, -0.19820424914360046, -0.18018971383571625, 0.38263773918151855, -0.16168808937072754, 0.3846900761127472, 0.4384065568447113, 0.013544186018407345, -0.6108343601226807, 0.6060693264007568, 0.49746108055114746, 0.4411291182041168, 0.0611598864197731, 0.1922565996646881, 0.40826326608657837, 0.3085174858570099, 0.21240323781967163, 0.2777418792247772, -0.3072490394115448, -0.789678156375885, -0.6983269453048706, -0.5557519793510437, -0.18096517026424408, -0.12284396588802338, -0.5845457911491394, 0.06731387972831726, -0.09847745299339294, -0.09626244753599167, -0.1391574740409851, -0.4034702777862549, -0.8389139771461487, 0.09309130162000656, 0.5050597786903381, 0.6945419907569885, -0.5084981322288513, 0.9420899748802185, 0.9306110143661499, -0.4185880422592163, -0.3805820345878601, -0.018110103905200958, -0.3827066421508789, -0.7164812088012695, 1.0403411388397217, 0.5402815937995911, -0.22054335474967957, -0.16207528114318848, -0.6164541840553284, -1.055701732635498, 1.0583088397979736, 0.4466474652290344, -0.37174350023269653, -0.2682804763317108, 0.4302065372467041, 0.3737403452396393, -0.5081243515014648, 0.23698385059833527, 0.017904680222272873, 0.38515451550483704, 0.0864274874329567, -0.9671432971954346, 0.0663837343454361, -0.19662320613861084, 0.30295461416244507, 0.013655207119882107, -0.4707735478878021, 1.0406897068023682, -0.3637663424015045, -0.3513910174369812, -0.06771331280469894, 0.48673713207244873, 0.08339386433362961, 0.020615173503756523, 0.430672287940979, 0.34662795066833496, 0.45522692799568176, -0.16439741849899292, 1.414411187171936, -0.1502380222082138, 0.3296045958995819, 0.9547579884529114, -0.07937633991241455, 1.1535183191299438, 0.4848669469356537, 0.09633462131023407, 0.3903366029262543, 0.5383179187774658, 0.019107365980744362, 0.6046309471130371, 0.044777389615774155, -0.15814056992530823, -0.42041015625, -0.23732298612594604, -0.2511669993400574, 0.6079315543174744, 0.31099435687065125, -0.3445625603199005, -0.36302244663238525, 0.5518627166748047, -0.10900252312421799, -0.12515810132026672, -0.5161080956459045, 0.7156522870063782, -0.12171963602304459, -0.529850423336029, 0.7695614695549011, 0.023343287408351898, 0.5701963305473328, -0.6018788814544678, -0.09011776000261307, -0.10348699241876602, 0.2595878839492798, -0.026591671630740166, -0.9678955078125, 0.17906485497951508, -0.18723876774311066, -0.1434873640537262, -0.2428242564201355, 1.0353885889053345, -0.7040528655052185, -0.46921101212501526, 0.5855873227119446, 0.1992543488740921, 0.00008111193892545998, -0.22471389174461365, -0.5524689555168152, 0.42900538444519043, -0.2035471647977829, -0.3308763802051544, 0.27593472599983215, 0.5040536522865295, -0.12370163947343826, 0.652204155921936, 0.5950209498405457, -0.1777345985174179, 0.45279935002326965, 0.24296244978904724, 0.8548613786697388, -0.5285141468048096, -0.15337364375591278, -0.7813782095909119, 0.8395398855209351, -0.17867518961429596, -0.05894039571285248, 0.7567342519760132, 0.47391465306282043, 1.2061104774475098, -0.4113379418849945, 0.42486217617988586, 0.17119792103767395, -0.02319437637925148, -0.9702510237693787, 0.5906044244766235, -0.8143738508224487, -0.10058119148015976, -0.11365079879760742, -0.8841256499290466, -0.43142127990722656, 0.6137710213661194, -0.28098851442337036, -0.10303308814764023, 0.5468276143074036, 0.7789342403411865, -0.2896086275577545, -0.06460168957710266, 0.4888797700405121, 0.2928266227245331, 0.13269677758216858, 0.581512987613678, 1.1437222957611084, -0.4363803565502167, 0.531211793422699, -0.37336722016334534, 0.18628308176994324, 0.024106690660119057, -0.7202336192131042, -1.141953706741333, -0.8939879536628723, -0.07978064566850662, 0.08180215954780579, -0.36580270528793335, 0.683887243270874, 0.6611729860305786, -0.6969793438911438, -0.11345552653074265, 0.076358862221241, -0.1965438723564148, 0.17314571142196655, -0.16645729541778564, 0.4417899250984192, -0.42986905574798584, -0.7598064541816711, 0.15156736969947815, 0.2759626507759094, 0.11257749050855637, -0.644334614276886, -0.04922221973538399, -0.14120706915855408, -0.14095935225486755, 1.0390031337738037, -0.3309812545776367, -1.1014939546585083, -0.25981155037879944, 0.10778618603944778, -0.2385835200548172, 0.0955866128206253, 0.9297300577163696, -0.5595374703407288, 0.5194683074951172, 0.42954567074775696, 0.6331009268760681, 0.5722681283950806, -0.3487318158149719, 0.3832230269908905, -0.9141090512275696, 0.37899866700172424, -0.03752060979604721, 0.7311297655105591, 0.6195195317268372, -0.21508382260799408, 0.2559671103954315, -0.004868375603109598, -0.37244802713394165, -0.7513673305511475, 0.18431730568408966, -0.9231294393539429, -0.2900765836238861, 1.1850248575210571, -0.11068287491798401, -0.3745734691619873, 0.1179974153637886, -0.61623615026474, -0.04877830669283867, -0.09972461313009262, 0.04685157537460327, 0.8634005188941956, -0.07754755020141602, -0.5094755291938782, -0.9951390624046326, 0.15547172725200653, 0.18543487787246704, -0.5757615566253662, 0.24939550459384918, 0.6042037010192871, 0.02234015241265297, 0.4777901768684387, 0.4305680990219116, -0.20777064561843872, 0.17583245038986206, 0.03881083428859711, -0.154354527592659, -0.06704933196306229, -0.5109468102455139, -0.12706948816776276, 0.36622512340545654, -0.09600869566202164, -0.10057699680328369 ]
http://arxiv.org/abs/2402.17302v2
http://arxiv.org/pdf/2402.17302v2
Can LLM Generate Culturally Relevant Commonsense QA Data? Case Study in Indonesian and Sundanese
2024-02-27T08:24:32
2024-04-16T07:41:12
Rifki Afina Putri, Faiz Ghifari Haznitrama, Dea Adhista, Alice Oh
cs.CL
cs.CL
Large Language Models (LLMs) are increasingly being used to generate synthetic data for training and evaluating models. However, it is unclear whether they can generate a good quality of question answering (QA) dataset that incorporates knowledge and cultural nuance embedded in a language, especially for low-resource languages. In this study, we investigate the effectiveness of using LLMs in generating culturally relevant commonsense QA datasets for Indonesian and Sundanese languages. To do so, we create datasets for these languages using various methods involving both LLMs and human annotators, resulting in ~4.5K questions per language (~9K in total), making our dataset the largest of its kind. Our experiments show that automatic data adaptation from an existing English dataset is less effective for Sundanese. Interestingly, using the direct generation method on the target language, GPT-4 Turbo can generate questions with adequate general knowledge in both languages, albeit not as culturally 'deep' as humans. We also observe a higher occurrence of fluency errors in the Sundanese dataset, highlighting the discrepancy between medium- and lower-resource languages.
[ -0.40473583340644836, -0.587592363357544, 0.3683277666568756, -0.003336598165333271, -0.23444382846355438, -0.12285850942134857, -0.40743783116340637, -0.6333639025688171, 0.05554424226284027, 0.5328572392463684, -0.2783590257167816, -0.47408533096313477, -0.06651367992162704, 0.6031126976013184, -0.04084670543670654, 0.9178364276885986, -0.07122204452753067, 0.034196216613054276, -0.23257797956466675, -0.49481329321861267, -0.40066635608673096, -0.48543795943260193, -0.7675328254699707, -0.02923361212015152, 0.5703142285346985, 0.591806173324585, 0.5881248712539673, 0.4652373790740967, 0.2760224938392639, 0.24945472180843353, -0.16620449721813202, 0.3447183668613434, -0.5458982586860657, 0.19707129895687103, -0.3072222173213959, -0.7591623663902283, -0.047027260065078735, -0.14084739983081818, 0.5048947334289551, 0.5583859086036682, 0.0762476697564125, 0.5541614294052124, -0.07732044905424118, 0.5952157378196716, -0.5085488557815552, 0.060571618378162384, -0.711438000202179, -0.009236326441168785, -0.23214302957057953, -0.1772758811712265, 0.07894234359264374, -0.7307755947113037, 0.030105914920568466, -0.6436992287635803, 0.06621705740690231, -0.17668816447257996, 0.771324634552002, 0.4192548394203186, -0.6262649297714233, -0.3283803462982178, -0.7168864011764526, 0.7670945525169373, -0.8648544549942017, 0.09068886190652847, 0.4873426854610443, 0.3913668394088745, -0.05385618284344673, -0.3858119547367096, -0.8992277383804321, -0.049819156527519226, -0.03632155805826187, 0.1967800110578537, -0.010410931892693043, -0.21018081903457642, 0.46583202481269836, 0.35213524103164673, -0.5829237699508667, 0.42148667573928833, -0.5312283039093018, -0.0458197258412838, 0.830824077129364, 0.2954613268375397, 0.3976597189903259, -0.6131298542022705, -0.10196000337600708, -0.13199560344219208, -0.8763082027435303, 0.18418286740779877, 0.5474306344985962, 0.18853148818016052, 0.03274941071867943, 0.5260328054428101, -0.4163394570350647, 0.5973308086395264, -0.15874111652374268, -0.29228898882865906, 0.13596707582473755, -0.5619550943374634, -0.023971769958734512, -0.19945789873600006, 0.645253598690033, 0.41623765230178833, 0.653962254524231, 0.09337937831878662, -0.1908697485923767, -0.09330061823129654, -0.16567690670490265, -0.6235262751579285, -0.08401815593242645, 0.32858672738075256, -0.20547303557395935, -0.27371785044670105, -0.025140119716525078, -0.6411277055740356, -0.3208603858947754, -0.312799334526062, 0.12310075014829636, -0.16240014135837555, -0.7058948874473572, -0.12834666669368744, -0.0607723705470562, 0.7810640931129456, 0.18576093018054962, -0.7194743156433105, 0.027241777628660202, 0.36678051948547363, 0.47871288657188416, -0.11391294002532959, -0.05525904893875122, -0.11805667728185654, 0.11666931957006454, -0.5799362063407898, 0.5987470149993896, -0.40441644191741943, -0.29211774468421936, -0.004217410925775766, -0.09789444506168365, -0.00559721514582634, -0.8680498003959656, 0.3445262014865875, -0.6807344555854797, 0.33189037442207336, -0.6639957427978516, -0.295444130897522, -0.12167645990848541, 0.3778758943080902, -0.7309741377830505, 1.1781291961669922, 0.11351951956748962, -0.8039929270744324, 0.4386240839958191, -0.45919933915138245, -0.39656075835227966, 0.17692306637763977, -0.3651551306247711, -0.23501956462860107, 0.04309326410293579, 0.49926576018333435, 0.5895978808403015, -0.3749575912952423, 0.3247365653514862, -0.22394521534442902, -0.5303420424461365, 0.7852886319160461, -0.5835168957710266, 0.7810319066047668, 0.5166285634040833, -0.30307719111442566, -0.40864098072052, -0.6472059488296509, -0.04129853844642639, 0.29471996426582336, -0.3754124045372009, -0.5347458124160767, -0.3311813175678253, 0.009538582526147366, 0.34729522466659546, 0.21812370419502258, -0.4396268129348755, 0.038801439106464386, -0.2698112726211548, 0.18548151850700378, 0.7431819438934326, 0.27143022418022156, 0.03866271674633026, -0.44026950001716614, 0.8117262125015259, 0.0065045286901295185, -0.24560990929603577, 0.04158991947770119, -0.4503253698348999, -0.5824366807937622, -0.08074898272752762, 0.09718465805053711, 0.7169081568717957, -1.191859483718872, 0.10780727118253708, -0.3941348195075989, -0.4271349608898163, -0.49949559569358826, 0.35712629556655884, 0.31019070744514465, 0.5516434907913208, 0.035267964005470276, -0.13409002125263214, -0.38605526089668274, -0.7684975266456604, -0.2257072627544403, -0.3118261992931366, -0.16708484292030334, 0.7018566131591797, 0.35374224185943604, 0.09930248558521271, 0.9570870399475098, -0.33398765325546265, -0.02004653587937355, -0.38721752166748047, 0.012240658514201641, 0.4213768243789673, 0.2577667534351349, 0.680294930934906, -0.7997526526451111, -0.40424293279647827, -0.028729546815156937, -0.9250743389129639, -0.20794767141342163, -0.05084198713302612, -0.010820016264915466, 0.38727453351020813, 0.3103678226470947, -0.16269299387931824, 0.00585567532107234, 0.6630647778511047, -0.01960972137749195, 0.5358963012695312, -0.13643284142017365, 0.45110026001930237, -1.6252557039260864, 0.22345024347305298, 0.015214932151138783, 0.02175142429769039, -0.6396996974945068, -0.1591297686100006, -0.07185380160808563, -0.26827797293663025, -0.6168538928031921, 0.7257871031761169, -0.31495729088783264, -0.2386176735162735, -0.09125790745019913, 0.034682728350162506, -0.24956749379634857, 0.4977765381336212, 0.25575318932533264, 1.1746865510940552, 0.32680821418762207, -0.5272562503814697, 0.4078645408153534, 0.18245339393615723, -0.553957462310791, 0.7424906492233276, -0.6184592247009277, 0.2044064700603485, -0.18042588233947754, 0.1438075751066208, -0.994010865688324, -0.6176074147224426, 0.11904750764369965, -0.2997545599937439, -0.09706384688615799, -0.27051669359207153, -0.6144960522651672, -0.3471202552318573, -0.1429244726896286, 0.7857545614242554, 0.7327947020530701, -0.6195773482322693, 0.03421990945935249, 0.256251722574234, -0.5318816304206848, -0.5784996747970581, -0.8701651692390442, 0.056937821209430695, -0.5189202427864075, -0.6457705497741699, -0.3712485134601593, 0.18316765129566193, -0.27687984704971313, -0.044673897325992584, 0.08353640884160995, -0.21854503452777863, 0.20110787451267242, -0.1375415325164795, 0.1489703506231308, -0.46705904603004456, 0.27784883975982666, 0.07046739757061005, 0.18882210552692413, 0.18216992914676666, -0.23160144686698914, 0.32262659072875977, -0.06176208332180977, -0.3486019968986511, -0.49967828392982483, 0.11042286455631256, 0.41706833243370056, -0.3614113926887512, 0.5852206349372864, 0.7430746555328369, -0.28648751974105835, -0.11858124285936356, -0.7132984399795532, -0.20076850056648254, -0.46162793040275574, 0.34604981541633606, -0.4579126834869385, -0.9815678596496582, 0.6913581490516663, -0.03727736696600914, -0.013142616488039494, 0.45251160860061646, 0.5177254676818848, -0.3334658145904541, 0.692130982875824, 0.3452872037887573, -0.16011041402816772, 0.33004188537597656, -0.17976386845111847, -0.057405296713113785, -0.710631787776947, 0.11973223090171814, -0.5480971336364746, -0.32284921407699585, -1.0805540084838867, -0.4527275562286377, 0.7284583449363708, -0.11498061567544937, -0.0708957239985466, -0.07400476932525635, -0.1953217089176178, 0.7211487293243408, 0.434459924697876, -0.007255611941218376, 0.3950920104980469, 0.15289802849292755, 0.2145410031080246, 0.0627710372209549, -0.928999125957489, -0.6750741004943848, 1.4176082611083984, 0.08665326237678528, 0.6771700382232666, 0.19841112196445465, 0.7822962999343872, 0.0024838647805154324, 0.37545713782310486, -0.25122949481010437, 0.40610355138778687, -0.2575569152832031, -0.6825617551803589, -0.4791690409183502, -0.7606489658355713, -0.9926431775093079, 0.13614024221897125, -0.06822260469198227, -0.32177552580833435, 0.22869248688220978, 0.11771763116121292, -0.26347461342811584, 0.30785468220710754, -0.6248269081115723, 0.690093994140625, -0.2886504828929901, -0.2956300973892212, -0.045170072466135025, -0.4424467086791992, 0.6544786691665649, -0.1890040636062622, 0.17468120157718658, -0.2991531789302826, -0.02349766530096531, 0.9925775527954102, -0.01730215549468994, 0.9446872472763062, -0.2606407105922699, -0.39780834317207336, 0.46629393100738525, -0.14980041980743408, 0.3472742438316345, 0.39182230830192566, -0.28169700503349304, 0.12862642109394073, 0.23482801020145416, -0.6916404366493225, -0.5579448938369751, 0.5716902017593384, -1.0212998390197754, -0.6930040121078491, -0.3384961485862732, -0.6479116678237915, -0.3463941812515259, -0.014615481719374657, 0.0065963417291641235, 0.28751763701438904, -0.12761731445789337, -0.02605743333697319, 0.7466201186180115, -0.6494985818862915, 0.09285490214824677, 0.48664557933807373, 0.11735210567712784, -0.3955228328704834, 0.9706110954284668, 0.17626795172691345, 0.36588072776794434, 0.007131601218134165, 0.20568430423736572, -0.3769482374191284, -0.45588603615760803, -0.6286808848381042, 0.4872738718986511, -0.7504671812057495, -0.16782882809638977, -0.34483614563941956, -0.07005316019058228, -0.34453684091567993, -0.0971926674246788, -0.060742855072021484, -0.4642442464828491, -0.11396116018295288, -0.09901291877031326, 0.6343805193901062, 0.7508718967437744, -0.013505236245691776, -0.17824475467205048, -0.6929186582565308, 0.31971338391304016, 0.5765182375907898, 0.19813214242458344, -0.1739731729030609, -0.45110201835632324, -0.09604007005691528, 0.2340536117553711, 0.2687740623950958, -0.7859357595443726, 0.18562781810760498, 0.1167733445763588, 0.45373696088790894, 0.14705224335193634, 0.20338502526283264, 0.656969428062439, 0.12146466225385666, 0.9621922373771667, -0.2005859613418579, -0.43209221959114075, 0.5721369981765747, -0.49488988518714905, 0.5707893967628479, 0.6286957263946533, 0.46816983819007874, -0.8828364610671997, -0.6523582339286804, -0.4138222634792328, -0.6594935655593872, 0.6221212148666382, 0.032276079058647156, 0.4463348984718323, -0.05666354298591614, 0.6066750288009644, 0.34180817008018494, 0.09818645566701889, -0.6677671670913696, 0.0358874648809433, -0.09923145174980164, -0.3701302707195282, 0.038637854158878326, -0.2575662434101105, -0.10448615252971649, -0.022335167974233627, 0.5084740519523621, -0.3953101634979248, -0.05280599370598793, 0.16483727097511292, -0.22380229830741882, -0.10718077421188354, 0.5257188677787781, 0.3868366479873657, 0.6917696595191956, -0.0683896392583847, 0.0032432000152766705, 0.6747580170631409, -0.3692934215068817, 0.26926228404045105, 0.015122013166546822, -0.3328331708908081, -0.28687524795532227, 0.35535719990730286, 0.4558016359806061, -0.06378383934497833, -0.8428141474723816, 0.29828792810440063, -0.12137569487094879, -0.038641463965177536, -0.4377610981464386, 0.1678827553987503, 0.012740331701934338, 0.2127106636762619, 0.37745946645736694, -0.4938063323497772, -0.22315675020217896, -0.4294673204421997, 0.06295150518417358, 0.27370429039001465, 0.1542321741580963, -0.2560621500015259, 0.5812227725982666, 0.45977842807769775, 0.44498494267463684, 0.8636768460273743, -0.11057910323143005, -0.4048815071582794, 0.6874266862869263, 0.337873637676239, 0.61476069688797, -0.18214179575443268, 0.32600775361061096, 0.5147078037261963, 0.2706592082977295, 0.15095029771327972, 0.5762103199958801, -0.17494052648544312, -0.8499124646186829, -0.6097853183746338, -0.607215404510498, -0.5392512679100037, 0.15443463623523712, -0.7128457427024841, -0.006547735072672367, -0.30462658405303955, 0.0555548369884491, -0.578413188457489, 0.2942502498626709, -0.9478227496147156, 0.30992501974105835, 0.08596298098564148, 0.6330728530883789, -1.2179161310195923, 0.7777020931243896, 0.8690134882926941, -0.6063792705535889, -0.8803175687789917, 0.014653203077614307, -0.21583674848079681, -0.924608588218689, 0.805302619934082, -0.04179928079247475, 0.18253695964813232, -0.06610508263111115, -0.4368809759616852, -1.0311602354049683, 1.3459768295288086, 0.29420438408851624, -0.2620355784893036, 0.21669410169124603, 0.7369232773780823, 0.8260998725891113, -0.09101743251085281, 0.18364763259887695, 0.6175761222839355, 0.5261735916137695, 0.15127263963222504, -0.9146662354469299, 0.17568626999855042, -0.2186163365840912, 0.16729064285755157, -0.15512070059776306, -0.6453941464424133, 0.45696043968200684, -0.22513103485107422, -0.3324240446090698, 0.1459314525127411, 0.8474019169807434, 0.45333176851272583, 0.21476590633392334, 0.4587650001049042, 0.45779097080230713, 0.8785564303398132, -0.16303305327892303, 1.051602840423584, -0.10469495505094528, -0.17054736614227295, 0.8010059595108032, -0.38106295466423035, 0.7171056270599365, 0.43247419595718384, -0.09843627363443375, 0.20541469752788544, 0.717628002166748, 0.04448823630809784, 0.07646357268095016, 0.27966615557670593, -0.10712762922048569, -0.10504093021154404, -0.3236108422279358, -0.3650074005126953, 0.5552566647529602, 0.20297124981880188, -0.04686637967824936, -0.07079300284385681, 0.011670966632664204, 0.23190806806087494, -0.023171795532107353, -0.19515778124332428, 0.9660478234291077, -0.08870475739240646, -0.7653929591178894, 0.8825397491455078, -0.12938091158866882, 0.6461349725723267, -0.4251457154750824, 0.08707531541585922, -0.8990806341171265, -0.2270786166191101, -0.2427544891834259, -0.8990268111228943, 0.2233719825744629, 0.41693824529647827, 0.17303375899791718, -0.0759308859705925, 0.5127866268157959, -0.6829899549484253, -0.5207790732383728, -0.4050596058368683, 0.7576173543930054, 0.3640822470188141, 0.21742278337478638, -0.4687984585762024, -0.11286374181509018, -0.05228690057992935, -0.19627264142036438, 0.19263415038585663, 0.5946603417396545, -0.34883561730384827, 0.5996911525726318, 0.8583255410194397, 0.3779400587081909, 0.1353980004787445, 0.03788096830248833, 0.6524859070777893, -0.7414788007736206, -0.4007440209388733, -0.2914397418498993, 0.3173312246799469, -0.09726154804229736, -0.5000330805778503, 0.713817298412323, 0.2867503762245178, 1.1433604955673218, -0.04390116035938263, 1.0053023099899292, 0.06060000881552696, 0.3938455283641815, -0.6875209808349609, 0.6544855237007141, -0.6223205327987671, 0.278525173664093, -0.17042537033557892, -1.0536338090896606, -0.17413011193275452, 0.3227500915527344, -0.44845378398895264, 0.19554489850997925, 0.40394389629364014, 0.9765070080757141, 0.01131229568272829, 0.025764450430870056, 0.36524301767349243, 0.23130156099796295, 0.4068031907081604, 0.775215744972229, 0.935994029045105, -0.1821189820766449, 0.6359309554100037, -0.2262597382068634, -0.1684749573469162, 0.07366912811994553, -0.6515541672706604, -0.9696148633956909, -0.6146069169044495, -0.21227285265922546, -0.035626620054244995, 0.044353317469358444, 0.8753948211669922, 0.22899019718170166, -0.7815540432929993, -0.35758480429649353, 0.335815966129303, 0.06576569378376007, -0.18293412029743195, -0.24424098432064056, 0.5886560082435608, -0.32590243220329285, -0.8273183107376099, 0.17463137209415436, -0.061966802924871445, 0.1343817561864853, -0.42556190490722656, -0.045773398131132126, 0.00636346684768796, 0.04384703189134598, 0.37652644515037537, 0.5292453765869141, -0.6391836404800415, -0.32557207345962524, 0.08680343627929688, -0.10807639360427856, -0.1569056212902069, 0.7032754421234131, -0.8230885863304138, 0.3457658588886261, 0.5168256163597107, 0.9424269795417786, 0.3085786998271942, -0.03328848257660866, 0.6921511292457581, -0.7974727749824524, 0.10631927102804184, 0.24087874591350555, 0.1341245025396347, 0.5917800068855286, -0.2734231948852539, 0.6256406307220459, 0.1503322869539261, -0.39889904856681824, -0.6241534352302551, 0.24747733771800995, -0.604333221912384, -0.1113685593008995, 1.5619059801101685, -0.029856916517019272, -0.29139918088912964, -0.21473382413387299, -0.13622340559959412, 0.18272903561592102, -0.11588288843631744, 0.9771052598953247, 0.5905896425247192, -0.035689808428287506, -0.1473078727722168, -0.47882556915283203, 0.5894118547439575, 0.6143803000450134, -1.1152578592300415, 0.08885916322469711, 0.5472733974456787, 0.5342792272567749, -0.21450388431549072, 0.5794583559036255, -0.10371187329292297, 0.5564804077148438, -0.41379088163375854, -0.13335150480270386, -0.1568017303943634, 0.19031669199466705, -0.283427894115448, -0.011756657622754574, 0.25710099935531616, 0.08659538626670837 ]
http://arxiv.org/abs/2403.18926v2
http://arxiv.org/pdf/2403.18926v2
XMoE: Sparse Models with Fine-grained and Adaptive Expert Selection
2024-02-27T08:18:02
2024-05-24T10:14:55
Yuanhang Yang, Shiyi Qi, Wenchao Gu, Chaozheng Wang, Cuiyun Gao, Zenglin Xu
cs.LG
cs.LG, cs.CL
Sparse models, including sparse Mixture-of-Experts (MoE) models, have emerged as an effective approach for scaling Transformer models. However, they often suffer from computational inefficiency since a significant number of parameters are unnecessarily involved in computations via multiplying values by zero or low activation values. To address this issue, we present \tool, a novel MoE designed to enhance both the efficacy and efficiency of sparse MoE models. \tool leverages small experts and a threshold-based router to enable tokens to selectively engage only essential parameters. Our extensive experiments on language modeling and machine translation tasks demonstrate that \tool can enhance model performance while decreasing the computation load at MoE layers by over 50\% without sacrificing performance. Furthermore, we present the versatility of \tool by applying it to dense models, enabling sparse computation during inference. We provide a comprehensive analysis and make our code available at https://github.com/ysngki/XMoE.
[ -0.7040765285491943, -0.6682841181755066, 0.3839142918586731, 0.15247507393360138, -0.13110385835170746, -0.15550605952739716, -0.23504650592803955, -0.2157396525144577, 0.3582695722579956, 0.39907601475715637, -0.649498701095581, -0.022911831736564636, -0.7360799908638, -0.11246523261070251, -0.3884187340736389, 0.7218378782272339, 0.3227193057537079, 0.05262969806790352, -0.13749182224273682, -0.13754300773143768, -0.5864888429641724, 0.25743070244789124, -0.8276238441467285, -0.3090285360813141, 0.42948129773139954, 0.577542781829834, 1.0216504335403442, 0.6785556674003601, 0.40707525610923767, 0.45100805163383484, 0.08742726594209671, 0.15492212772369385, -0.7158031463623047, 0.3128322958946228, -0.2622119188308716, -0.6351584196090698, -0.7698357701301575, -0.12641166150569916, 0.5875113606452942, 0.7723641395568848, -0.10767759382724762, 0.09328821301460266, 0.13538303971290588, 0.24652457237243652, -0.651561975479126, 0.03204391524195671, -1.1532840728759766, -0.24124722182750702, -0.09798342734575272, -0.07333899289369583, -0.5421807169914246, 0.1603737622499466, 0.1658545732498169, -0.7488120198249817, 0.46405571699142456, 0.19286508858203888, 0.7729750871658325, 0.6612284183502197, -0.33675238490104675, 0.20747371017932892, -0.45397135615348816, 1.107487678527832, -0.5591183304786682, 0.4393584728240967, 0.363142728805542, 0.3379005193710327, -0.07383418083190918, -0.7361114025115967, -0.28872838616371155, -0.13114924728870392, -0.04251349717378616, 0.010473597794771194, -0.3238942325115204, 0.19573970139026642, 0.17947256565093994, 0.3534708023071289, -0.2006223052740097, 0.19771231710910797, -0.2352059930562973, -0.04007415845990181, 0.6500189900398254, 0.4757271409034729, -0.019685938954353333, -0.30831989645957947, -0.2520867884159088, -0.05215230956673622, -0.3782084882259369, -0.10073362290859222, 0.1476546972990036, 0.16483737528324127, 0.028840146958827972, 0.2697780132293701, -0.14779888093471527, 0.6391971707344055, 0.2997840940952301, -0.20144884288311005, 0.0893217921257019, 0.01901530846953392, -0.2523658275604248, -0.36180925369262695, 0.918960690498352, 0.2059318870306015, -0.15879829227924347, -0.34410393238067627, -0.392905592918396, -0.4087602496147156, 0.4081917107105255, -0.9872137904167175, -0.5124574303627014, 0.049247968941926956, -0.28989291191101074, -0.4858689308166504, -0.05540631711483002, -0.9892515540122986, -0.31837764382362366, -0.05133180692791939, 0.7096447348594666, -0.29112061858177185, -0.3016597330570221, 0.11012742668390274, -0.27464234828948975, -0.4257662296295166, 0.4440983533859253, -0.9866443276405334, 0.4735744893550873, 0.46210092306137085, 0.905951738357544, -0.07827585935592651, -0.07419745624065399, -0.641788125038147, -0.037368807941675186, -0.2795826494693756, 0.6598119139671326, -0.811180591583252, -0.7705590128898621, -0.5447782874107361, -0.1918805092573166, -0.279634952545166, -0.5248450636863708, 0.7199549078941345, -0.5443404316902161, -0.1465359628200531, -0.034945592284202576, -0.41779813170433044, -0.3283383250236511, -0.09122923761606216, -0.8951274156570435, 1.359678030014038, 0.5449947714805603, -0.47835373878479004, 0.5676626563072205, -0.7996670603752136, -0.22397448122501373, 0.013601097278296947, -0.1028798446059227, -0.411493718624115, 0.4193878471851349, 0.24866728484630585, 0.6524232029914856, -0.5088761448860168, 0.03889792039990425, -0.5466321110725403, -0.2412179857492447, 0.03632252663373947, -0.7555500268936157, 0.6866669058799744, 0.08661643415689468, -0.33078932762145996, 0.43800681829452515, -1.0502201318740845, 0.01039374340325594, -0.009251601062715054, -0.10693737119436264, -0.5018263459205627, 0.11430267244577408, 0.1393694132566452, 0.15023984014987946, 0.04329916089773178, -0.5912222862243652, 0.39534425735473633, -0.38406556844711304, 0.5811165571212769, 0.8551482558250427, -0.12142352014780045, 0.7590648531913757, -0.37321850657463074, 0.5236406922340393, -0.23488730192184448, 0.004342102445662022, -0.11689364165067673, -0.6624011993408203, -0.9365647435188293, -0.8368418216705322, 0.5960987210273743, 0.4203486442565918, -0.7358442544937134, 0.5117965340614319, -0.53462153673172, -0.8024380207061768, -0.9014827013015747, 0.4071034789085388, 0.08649716526269913, 0.4636223614215851, 0.39771121740341187, -0.03388429060578346, -0.3565736413002014, -0.7986089587211609, 0.09407895058393478, 0.15831005573272705, -0.5184539556503296, 0.4975036382675171, 0.3146577775478363, -0.213981494307518, 1.2560309171676636, -0.6546311378479004, -0.3658491373062134, -0.3180634379386902, 0.27417439222335815, 0.024747036397457123, 0.7334792613983154, 0.6899164319038391, -0.7653035521507263, -0.646609365940094, 0.2925368845462799, -0.3642425835132599, -0.4109397232532501, -0.2477182000875473, -0.15294893085956573, -0.36217963695526123, 0.3826039135456085, -0.5772657990455627, 0.1589699238538742, 0.6201843619346619, -0.12603813409805298, 0.16595125198364258, -0.14084896445274353, 0.03602033108472824, -1.008604884147644, -0.11231682449579239, 0.1222429946064949, -0.5643599033355713, -0.36464470624923706, 0.24564270675182343, 0.23045416176319122, -0.05422041937708855, -0.22846069931983948, 0.8681844472885132, -0.38395681977272034, 0.3812304437160492, -0.27553942799568176, -0.011003420688211918, 0.06366994231939316, 0.5558266639709473, -0.05713862553238869, 0.92020583152771, 0.7258114814758301, -0.20783869922161102, 0.02721342444419861, 0.09042779356241226, -0.31652823090553284, 0.4036940038204193, -0.7907537221908569, 0.03836686536669731, 0.26762688159942627, -0.2540191411972046, -0.8475229740142822, -0.2929884195327759, 0.17456625401973724, -0.30767714977264404, 0.46390482783317566, -0.35584011673927307, -0.5149835348129272, -0.08523796498775482, -0.4085192084312439, 0.40939024090766907, 0.6776605248451233, -0.18687748908996582, 1.1552146673202515, 0.4210434854030609, -0.33366408944129944, -0.1485299915075302, -0.478413850069046, 0.037156589329242706, -0.03179684281349182, -0.9416187405586243, 0.26705098152160645, -0.21327854692935944, -0.16058450937271118, 0.08801764249801636, -0.03920096531510353, -0.6360117197036743, 0.30445513129234314, 0.2774916887283325, 0.16877365112304688, -0.40437713265419006, -0.1998421549797058, 0.6845108270645142, -0.4292605221271515, 0.10719974339008331, -0.11667371541261673, 0.3437473475933075, 0.12401020526885986, -0.4435012638568878, -0.284699410200119, 0.4757407307624817, 0.7476204633712769, -0.07383731752634048, 0.5953521728515625, 0.5858505368232727, -0.19207708537578583, -0.41905584931373596, -0.6926049590110779, -0.27974453568458557, -0.5792089700698853, 0.644174337387085, -0.503210186958313, -0.7741143107414246, 0.35636916756629944, -0.04636308550834656, 0.2916661202907562, 0.46364858746528625, 0.683769941329956, 0.34270867705345154, 1.4277050495147705, 0.8190110325813293, -0.21272318065166473, 0.5466164350509644, -0.3336455225944519, 0.10149512439966202, -0.7060791254043579, 0.11918172240257263, -0.42867109179496765, -0.4598575830459595, -0.2143564671278, -0.7304272651672363, 0.701282262802124, -0.08441463112831116, 0.3037382960319519, 0.2876330018043518, -0.3785500228404999, 0.4625575840473175, 0.6007949709892273, 0.1401243358850479, 0.2005799412727356, -0.055146533995866776, 0.025630664080381393, -0.028694989159703255, -1.199842929840088, -0.3487508296966553, 0.9086032509803772, 0.2903760075569153, 1.0078080892562866, -0.27444738149642944, 0.2722024917602539, 0.2414536029100418, 0.27126559615135193, -0.875369668006897, 0.6064891815185547, -0.13618089258670807, -0.894990086555481, -0.5144861936569214, -0.43284621834754944, -0.7823847532272339, 0.6308652758598328, -0.3180089592933655, -0.6518571376800537, 0.5537026524543762, 0.20811393857002258, -0.7232449054718018, 0.5940341949462891, -0.9101965427398682, 0.7629226446151733, 0.269132524728775, -0.489622563123703, -0.45591455698013306, -0.46588659286499023, 0.2307971715927124, -0.5704233050346375, -0.07189210504293442, -0.1633845567703247, -0.3303132951259613, 0.5416659712791443, -0.6545579433441162, 0.8566150665283203, -0.14828112721443176, 0.10426215082406998, 0.2662871181964874, 0.3583065867424011, 0.5616778135299683, 0.3137877881526947, -0.6202691197395325, 0.29516229033470154, -0.15163807570934296, -0.5800800919532776, -0.740215539932251, 0.7435979247093201, -0.7283040285110474, -0.622072160243988, 0.24735620617866516, -1.1820210218429565, -0.1422184258699417, 0.44776079058647156, 0.30132773518562317, 0.47762224078178406, 0.11191964149475098, 0.6212761402130127, 0.7450318336486816, 0.3551194667816162, 0.1319134682416916, 0.3695952594280243, 0.21124178171157837, -0.3084796369075775, 1.053293228149414, 0.5339025259017944, 0.3120790123939514, 0.38284778594970703, 0.23423737287521362, 0.22540560364723206, -0.5829214453697205, -0.6300686001777649, -0.17293794453144073, -0.5967552661895752, -0.40724629163742065, -0.9162464141845703, -0.03936605900526047, -0.0242011696100235, -0.6592922210693359, -0.4334595501422882, -0.5824571847915649, -0.33678072690963745, 0.04711685702204704, 0.27002444863319397, 0.5205435156822205, 0.05662538856267929, 0.7368251085281372, -0.8967434167861938, 0.3419364094734192, 0.4099421501159668, 0.24451671540737152, 0.2408081591129303, -0.4966144263744354, -0.3862701654434204, 0.021037651225924492, -0.36423736810684204, -0.44358548521995544, 0.21409209072589874, 0.19467772543430328, 0.6304363012313843, 0.8365630507469177, 0.2133021056652069, 0.7746334075927734, -0.5038252472877502, 0.5492962002754211, -0.06887855380773544, -1.0731201171875, 0.09350094944238663, -0.32270514965057373, -0.015705090016126633, 0.4608568549156189, 0.3162234127521515, 0.04820674657821655, -0.6758095622062683, -0.627382755279541, -0.8859910368919373, 0.7122493982315063, 0.3304167091846466, 0.36041051149368286, 0.060033880174160004, 0.11355052888393402, 0.4991948902606964, 0.0797148197889328, -0.3389050364494324, -0.10244689136743546, -0.07340525090694427, -0.13957452774047852, 0.3567725419998169, -0.5129507184028625, 0.0192494485527277, -0.35726192593574524, 0.8326535224914551, -0.1679248958826065, 0.04220738634467125, 0.014283118769526482, -0.20463500916957855, -0.4607948064804077, 0.03041829727590084, 0.3191874921321869, 0.523747980594635, -0.1751183271408081, -0.12344563752412796, 0.7247925400733948, -0.5005849003791809, -0.01827351376414299, 0.15165071189403534, -0.33768460154533386, 0.19380693137645721, 0.38426437973976135, 0.8747004866600037, 0.7707085609436035, -0.49859926104545593, 0.5531957745552063, -0.02040356956422329, -0.34146353602409363, 0.1362614631652832, 0.5764548182487488, -0.22100301086902618, 0.179932102560997, 0.4109886884689331, 0.8189763426780701, 0.23486368358135223, 0.32754239439964294, 0.1585112065076828, 0.4514593482017517, -0.495019793510437, -0.46579498052597046, 0.9199702143669128, 0.6297179460525513, -0.15674708783626556, 0.3829208314418793, -0.3239133059978485, -0.032676368951797485, 0.3834531605243683, 0.1372555047273636, 0.8967818021774292, -0.14525845646858215, -0.22772538661956787, 0.00451496010646224, 0.4264656603336334, 0.1286548525094986, -0.12731687724590302, -0.18156374990940094, -0.5683247447013855, -0.5709166526794434, -0.31365519762039185, -0.2460583597421646, -0.1624349057674408, -0.6378549337387085, 0.6228342056274414, -0.3670872151851654, -0.24422955513000488, 0.028823064640164375, -0.0863516554236412, -0.5645920634269714, 0.07850539684295654, -0.30622366070747375, 1.3712248802185059, -0.8240237236022949, 0.9637042880058289, 0.5132359266281128, -0.15359921753406525, -0.6809747219085693, -0.24851873517036438, -0.06122434139251709, -0.7883336544036865, 0.3785887658596039, -0.1825181543827057, -0.2132214903831482, 0.3878117501735687, -0.29361599683761597, -0.7502722144126892, 1.0110093355178833, 0.5535692572593689, -0.47326162457466125, 0.015325111337006092, -0.17829565703868866, 0.14698325097560883, -0.07657702267169952, 0.6466168165206909, 0.2909599244594574, 0.5679805874824524, 0.10358116775751114, -0.9431416988372803, -0.13433337211608887, -0.39081940054893494, -0.032438162714242935, 0.47564369440078735, -0.6039615273475647, 0.981089174747467, -0.06920964270830154, 0.13635113835334778, 0.37191712856292725, 0.9326265454292297, -0.1730363965034485, 0.06829681992530823, 0.9562065601348877, 0.43750134110450745, 0.6924082636833191, 0.100383460521698, 0.9751825332641602, -0.5608636736869812, 0.5312239527702332, 0.8175775408744812, -0.17078539729118347, 0.6747085452079773, 0.3313165307044983, -0.11548677086830139, 0.39038315415382385, 0.3255799114704132, -0.233012855052948, 0.3446420431137085, -0.36118680238723755, -0.3033933937549591, -0.6139222383499146, 0.08705775439739227, -0.1214282363653183, 0.1437077522277832, 0.3433178961277008, -0.21525931358337402, -0.4254494607448578, 0.10027451813220978, 0.13824628293514252, -0.30691519379615784, -0.47120949625968933, 0.5716889500617981, -0.02796078659594059, -0.3143887221813202, 0.44624584913253784, 0.09075692296028137, 0.7308241128921509, -0.9400414228439331, 0.01176047045737505, 0.09326839447021484, 0.16454064846038818, -0.2927452623844147, -0.5969734787940979, 0.18257750570774078, -0.29333987832069397, -0.5994452834129333, -0.12690778076648712, 0.8989397287368774, -0.25937619805336, -0.8940094709396362, 0.10531563311815262, 0.44196850061416626, -0.1281203031539917, -0.35690611600875854, -0.6517025232315063, -0.1150049939751625, -0.12331973016262054, -0.5707996487617493, 0.30845317244529724, 0.8660697340965271, -0.23898103833198547, 1.0114668607711792, 0.6722605228424072, 0.10085609555244446, 0.36592957377433777, -0.1374383568763733, 1.1287758350372314, -0.14512194693088531, -0.48329660296440125, -0.6888399124145508, 0.9029297232627869, -0.1346898227930069, -0.26877790689468384, 0.919711172580719, 0.36977988481521606, 0.7838292121887207, -0.19567936658859253, 0.6990805268287659, -0.293572336435318, 0.3353784680366516, -0.3007436692714691, 0.7509357929229736, -0.70902419090271, 0.1537700593471527, -0.28102046251296997, -0.688582181930542, -0.3307529091835022, 0.4931005835533142, -0.36642858386039734, 0.17674914002418518, 0.43370917439460754, 1.0687543153762817, -0.5363726615905762, -0.2010556161403656, 0.7458291053771973, 0.3417302072048187, 0.20213593542575836, 0.08289998769760132, 0.4001867175102234, -0.33299848437309265, 0.7417349219322205, -0.5088003277778625, -0.38031452894210815, -0.49927565455436707, -0.7682576179504395, -1.0241529941558838, -0.397413432598114, -0.26334118843078613, 0.14474093914031982, -0.4688679277896881, 1.2922306060791016, 1.4083000421524048, -0.7334159016609192, -0.07722734659910202, 0.030177809298038483, 0.2935229539871216, -0.3859497904777527, -0.20732861757278442, -0.007569190580397844, -0.56305992603302, -1.046109914779663, 0.4558505117893219, 0.3485115170478821, -0.466081827878952, -0.3386726677417755, -0.046757686883211136, 0.3428201675415039, 0.2511844038963318, 0.6675865650177002, -0.25776320695877075, -0.6266530752182007, -0.15737026929855347, -0.08212728053331375, 0.07943249493837357, 0.12507887184619904, 0.8883411884307861, -0.7646302580833435, 0.5305637717247009, 0.7344815135002136, 0.7711012959480286, 0.037320006638765335, -0.21560846269130707, 0.5802505016326904, -0.7492029666900635, 0.3453010320663452, 0.13737374544143677, 0.7204293608665466, -0.09257836639881134, -0.48676276206970215, 0.41292622685432434, 0.33744484186172485, -0.6450932025909424, -0.9339393973350525, -0.11301873624324799, -1.1146066188812256, -0.24334999918937683, 0.9036460518836975, -0.012173520401120186, -0.2024749517440796, -0.26474571228027344, -0.7513214349746704, -0.2094038724899292, -0.7672858238220215, 0.7268297076225281, 0.5503215193748474, 0.21493443846702576, -0.14730417728424072, -0.780735433101654, 0.0013403644552454352, 0.625347912311554, -0.41240179538726807, -0.08744309097528458, 0.10037493705749512, 0.3164186179637909, 0.16457366943359375, 0.2676193416118622, 0.2410067766904831, 0.29469335079193115, 0.25948604941368103, -0.00873623602092266, -0.36036217212677, -0.21683542430400848, -0.09654015302658081, 0.3201034665107727, 0.2580243647098541, 0.005746600683778524 ]
http://arxiv.org/abs/2403.00825v1
http://arxiv.org/pdf/2403.00825v1
Comparing effectiveness of regularization methods on text classification: Simple and complex model in data shortage situation
2024-02-27T07:26:16
2024-02-27T07:26:16
Jongga Lee, Jaeseung Yim, Seohee Park, Changwon Lim
cs.CL
cs.CL
Text classification is the task of assigning a document to a predefined class. However, it is expensive to acquire enough labeled documents or to label them. In this paper, we study the regularization methods' effects on various classification models when only a few labeled data are available. We compare a simple word embedding-based model, which is simple but effective, with complex models (CNN and BiLSTM). In supervised learning, adversarial training can further regularize the model. When an unlabeled dataset is available, we can regularize the model using semi-supervised learning methods such as the Pi model and virtual adversarial training. We evaluate the regularization effects on four text classification datasets (AG news, DBpedia, Yahoo! Answers, Yelp Polarity), using only 0.1% to 0.5% of the original labeled training documents. The simple model performs relatively well in fully supervised learning, but with the help of adversarial training and semi-supervised learning, both simple and complex models can be regularized, showing better results for complex models. Although the simple model is robust to overfitting, a complex model with well-designed prior beliefs can be also robust to overfitting.
[ -0.20093747973442078, -1.0385310649871826, 0.388062059879303, 0.1215054839849472, -0.23398075997829437, -0.02016170509159565, -0.41002729535102844, -0.472389280796051, -0.21626324951648712, 0.20210963487625122, 0.10280633717775345, -0.41076958179473877, -0.7449108362197876, 0.18656687438488007, -0.5283282399177551, 1.2004073858261108, -0.055300913751125336, 0.3295828700065613, -0.2852177917957306, 0.08777669817209244, -0.326882004737854, -0.7060685753822327, -0.5065282583236694, -0.3820699453353882, 0.41398489475250244, 0.25236615538597107, 0.7097168564796448, 0.6091877222061157, 0.7297602295875549, 0.32665714621543884, -0.42217564582824707, 0.054247476160526276, -0.5236205458641052, -0.010225214995443821, 0.02322244644165039, -0.6114669442176819, -0.08252046257257462, 0.2924797832965851, 0.5649388432502747, 0.8639578223228455, 0.006326506845653057, -0.0857657864689827, 0.2699734568595886, 0.6011039018630981, -0.744439959526062, -0.05529073253273964, -0.3988949656486511, 0.09109239280223846, -0.164520725607872, 0.09397855401039124, -0.245258629322052, -0.33416852355003357, 0.42323705554008484, -0.489482045173645, 0.6182905435562134, 0.21860161423683167, 1.0560518503189087, 0.351048082113266, -0.5813201069831848, -0.5569641590118408, -1.23108971118927, 0.8031174540519714, -0.6119765639305115, 0.3534747064113617, 0.4143649935722351, 0.1289183497428894, -0.1584635227918625, -0.9041372537612915, -0.5023313760757446, -0.2547696530818939, -0.06376446038484573, 0.4189046323299408, -0.24268051981925964, 0.21629922091960907, 0.378286749124527, 0.4952510595321655, -0.45320072770118713, 0.13665440678596497, -0.6108407974243164, -0.14196044206619263, 0.4270940124988556, -0.18857760727405548, 0.21979793906211853, -0.04589354619383812, -0.5951767563819885, -0.16935575008392334, -0.33224231004714966, 0.1003781333565712, 0.4243793487548828, 0.30147144198417664, 0.1307147890329361, 0.7810947895050049, -0.10305093973875046, 0.931220531463623, -0.06508522480726242, -0.21874231100082397, -0.07995633780956268, -0.5456650257110596, -0.533416211605072, 0.13072365522384644, 0.6545109152793884, 0.21002979576587677, 0.3230378031730652, -0.1432855874300003, -0.19588801264762878, 0.29854264855384827, 0.21456027030944824, -0.7039059996604919, -0.42026737332344055, -0.02689974009990692, -0.49353140592575073, -0.3782529830932617, 0.3145732879638672, -0.6252735257148743, -0.48464012145996094, -0.32454395294189453, 0.553360641002655, -0.0627153068780899, 0.31968817114830017, 0.38402101397514343, -0.3589918613433838, -0.1138024851679802, 0.635502815246582, -0.6086591482162476, 0.2849496006965637, 0.3815092444419861, 0.8981632590293884, -0.13061290979385376, -0.024985725060105324, -0.3160744607448578, -0.004845024086534977, -0.32531049847602844, 0.8176631331443787, -0.3927004039287567, -0.26474568247795105, 0.060362137854099274, -0.09013718366622925, -0.11376354098320007, -0.4412241280078888, 0.9250999093055725, -0.4223106801509857, 0.4567808210849762, -0.005554082337766886, -0.7477585077285767, -0.29631906747817993, 0.4526918828487396, -0.7589104771614075, 0.8784804344177246, -0.22377504408359528, -1.097555160522461, 0.25900334119796753, -0.32408058643341064, -0.4279322922229767, -0.19366955757141113, -0.0011363638332113624, -0.7842965722084045, -0.010632888413965702, -0.009622165001928806, 0.741771399974823, -0.44282105565071106, 0.07739651948213577, -0.4541451334953308, -0.5058974623680115, 0.28483766317367554, -0.5758926868438721, 0.6558076739311218, 0.1285056620836258, -0.28864648938179016, -0.26489830017089844, -0.6978371143341064, -0.11851909756660461, 0.15690502524375916, -0.7802829742431641, -0.7132222056388855, -0.0423763208091259, 0.3062821626663208, 0.010198038071393967, 0.15951167047023773, -0.6961831450462341, 0.41259872913360596, -0.4801945686340332, 0.1983073502779007, 0.4475761353969574, 0.10431304574012756, 0.5536216497421265, -0.34496182203292847, 0.24720655381679535, 0.06698592007160187, 0.10285795480012894, 0.06749236583709717, -0.5594475269317627, -0.8893692493438721, -0.44764840602874756, 0.954138457775116, 0.6453613042831421, -0.4569806456565857, 0.22251959145069122, -0.09979166835546494, -0.588663637638092, -0.3697333037853241, 0.03571433946490288, 0.4272872507572174, 0.3193216919898987, 0.3337918519973755, 0.014205016195774078, -0.15812727808952332, -0.9197501540184021, -0.30747997760772705, 0.1077369749546051, -0.14257679879665375, -0.005412916652858257, 0.5043588876724243, -0.35587555170059204, 0.9339820146560669, -0.5847012400627136, -0.5446662306785583, -0.20033009350299835, 0.2490881234407425, -0.2989714741706848, 0.47430962324142456, 0.6017718315124512, -1.1019763946533203, -0.586227297782898, 0.06306049972772598, -0.5403645634651184, 0.12451447546482086, -0.27798858284950256, 0.2237115502357483, 0.24602548778057098, 0.23026318848133087, -0.4009131193161011, 0.8207127451896667, 0.3666198253631592, -0.13823634386062622, 0.12767256796360016, -0.44180452823638916, -0.028814543038606644, -0.8966699838638306, -0.018966661766171455, 0.2041795402765274, -0.3106379508972168, -0.9878859519958496, -0.3140883147716522, 0.15343077480793, -0.29198452830314636, -0.20314475893974304, 0.3327181041240692, -0.5383898019790649, 0.07376385480165482, -0.339486300945282, 0.20737634599208832, 0.21056276559829712, 0.3898954391479492, 0.05555441603064537, 0.3860054016113281, 0.44841718673706055, -0.6379410624504089, 0.32162949442863464, 0.12229141592979431, -0.15713055431842804, 0.02065822295844555, -0.8070483207702637, 0.01968148723244667, -0.3212388753890991, 0.22923049330711365, -0.999242901802063, -0.07916181534528732, 0.38303375244140625, -0.25724780559539795, 0.6502901911735535, -0.043296027928590775, -0.6773801445960999, -0.14529578387737274, -0.49119919538497925, 0.020888006314635277, 0.22207647562026978, -0.40589141845703125, 0.38647785782814026, 0.1831979751586914, -0.1857156604528427, -0.22232188284397125, -0.691964328289032, -0.0047598229721188545, -0.040328819304704666, -0.33013150095939636, 0.399152010679245, -0.22268682718276978, 0.02379695326089859, 0.1825859695672989, -0.2541351914405823, -0.3012092411518097, 0.33770760893821716, 0.0607677698135376, 0.289482444524765, 0.04309705272316933, 0.3024613559246063, 0.22636795043945312, -0.12724751234054565, -0.29334184527397156, -0.00419942382723093, 0.24037538468837738, -0.2903195321559906, -0.33465439081192017, -0.44042113423347473, 0.32265767455101013, 0.469501793384552, -0.2890629470348358, 0.8568318486213684, 0.5354034900665283, -0.7229829430580139, 0.0028553432784974575, -0.5141737461090088, -0.07461045682430267, -0.3736974895000458, 0.26556605100631714, -0.031047973781824112, -0.6614709496498108, 0.16021735966205597, -0.3532365560531616, -0.003900874638929963, 0.5506938099861145, 0.39944127202033997, -0.24281376600265503, 1.2414158582687378, 0.7843906879425049, 0.0071594445034861565, 0.49703845381736755, -0.44912612438201904, 0.31012964248657227, -0.3958240747451782, -0.4103109538555145, -0.8341187238693237, -0.29382237792015076, -0.6499415636062622, 0.06381557881832123, 0.17625606060028076, 0.4528926908969879, 0.10268279910087585, 0.06431463360786438, -0.6452884674072266, 0.2700921893119812, 0.7433004379272461, 0.20505787432193756, 0.35172805190086365, 0.24330836534500122, 0.2885570228099823, -0.10793105512857437, -1.0159919261932373, -0.6789830923080444, 0.9219033718109131, 0.4013356864452362, 0.8363751173019409, 0.020442506298422813, 0.5393583178520203, 0.32789963483810425, 0.28783753514289856, -0.9512879848480225, 0.0023816528264433146, -0.23125262558460236, -0.5156876444816589, -0.2805634140968323, -0.5501281023025513, -1.086678147315979, 0.12927944958209991, -0.8133144378662109, -0.2466430962085724, 0.5506099462509155, 0.03313262015581131, -0.38780784606933594, 0.2266189306974411, -0.8598363399505615, 0.850919246673584, -0.203364297747612, 0.08702277392148972, -0.0037319085095077753, -0.531309187412262, 0.10449913889169693, -0.5174598097801208, 0.2587457001209259, 0.33101847767829895, -0.1171051487326622, 1.085762619972229, -0.2934384346008301, 0.9120880365371704, 0.058733925223350525, 0.27792689204216003, 0.22893796861171722, -0.413943886756897, 0.6042622327804565, -0.2876276671886444, 0.16381505131721497, 0.05948518589138985, 0.11036517471075058, -0.5330288410186768, -0.6533834338188171, 0.39554908871650696, -0.8152862787246704, -0.37938955426216125, -0.6855801939964294, -0.12474364787340164, -0.036449745297431946, 0.45928171277046204, 0.7267646789550781, 0.5925487279891968, -0.0400330126285553, 0.5862871408462524, 0.9964451193809509, -0.08707519620656967, 0.3060924708843231, 0.3409518897533417, 0.1534978151321411, -0.2690608501434326, 0.8935500383377075, 0.5648292899131775, 0.13931536674499512, 0.17972703278064728, 0.5132161378860474, 0.003940733615309, -0.5966194272041321, -0.1229807436466217, 0.16309215128421783, -0.5562658309936523, -0.4504692554473877, -0.7259398102760315, -0.32125192880630493, -0.42118245363235474, -0.13781937956809998, -0.3937508463859558, -0.354509562253952, -0.5480523705482483, 0.016221629455685616, 0.053010426461696625, 0.8296937346458435, 0.2058153599500656, 0.39165952801704407, -0.8445239663124084, 0.2605029344558716, 0.31290555000305176, 0.14663921296596527, -0.1167641207575798, -0.4934026896953583, -0.4967489540576935, 0.17593473196029663, -0.31697770953178406, -1.0090950727462769, 0.04065833240747452, 0.17913763225078583, 0.42477548122406006, 0.5239766836166382, 0.45799726247787476, 0.4441205859184265, -0.35324227809906006, 0.44494906067848206, 0.24171869456768036, -0.6849919557571411, 0.4483354687690735, -0.04133305698633194, 0.06567414849996567, 0.3996731638908386, 0.5761228203773499, -0.3835587799549103, -0.4643564522266388, -0.692798912525177, -0.6334617137908936, 0.6759771704673767, 0.6120367646217346, -0.07220206409692764, 0.19661845266819, 0.3872314691543579, -0.05835164338350296, 0.30631503462791443, -0.6489698886871338, -0.4460916519165039, -0.18829567730426788, -0.26113054156303406, 0.04811858758330345, -0.4815492033958435, -0.017540903761982918, -0.11648846417665482, 0.6713332533836365, 0.41205307841300964, 0.21874012053012848, 0.40604615211486816, -0.03851316496729851, 0.15726567804813385, 0.31858620047569275, 0.5917130708694458, 0.08520381897687912, -0.1882125586271286, 0.19336076080799103, 0.0947876125574112, -0.6249685883522034, 0.009846946224570274, 0.209275022149086, -0.5353149771690369, 0.25489673018455505, 0.4925547242164612, 0.7201932072639465, 0.1404971033334732, -0.3918960392475128, 0.7460810542106628, -0.3013710677623749, -0.12464957684278488, -0.07954135537147522, 0.009097871370613575, -0.16918620467185974, 0.29086458683013916, 0.2371128499507904, 0.4726141393184662, 0.40459030866622925, -0.5008866190910339, -0.1750337928533554, 0.26076260209083557, -0.2618045210838318, -0.042306218296289444, 0.4365362524986267, 0.041156377643346786, -0.3330984115600586, 0.5143552422523499, -0.1461009532213211, -0.7543795704841614, 0.5988369584083557, 0.6359394192695618, 0.5204262137413025, -0.0803857296705246, 0.09013251960277557, 0.19207704067230225, 0.4586661159992218, -0.5748953223228455, -0.164326474070549, 0.07624908536672592, -0.5434879660606384, -0.03833746537566185, -0.3173139691352844, -0.4116361737251282, -0.03448142111301422, -0.6647812724113464, 0.24608400464057922, -0.4895375669002533, -0.2965885400772095, 0.10879725962877274, 0.426098108291626, -0.6248287558555603, 0.4202393591403961, -0.05389919504523277, 0.8078628778457642, -1.0593148469924927, 0.6724762916564941, 1.0426009893417358, -0.37924444675445557, -0.5718799233436584, 0.21548622846603394, -0.16254840791225433, 0.03166581690311432, 0.3751767873764038, 0.18129712343215942, -0.036397937685251236, 0.06763393431901932, -0.680217444896698, -0.7561720609664917, 0.8219066262245178, 0.1509471982717514, -0.6287351846694946, 0.09851129353046417, -0.058541156351566315, 0.8068966865539551, 0.03765854611992836, -0.2643968462944031, 0.1371379941701889, 0.4259033799171448, -0.07783978432416916, -0.5821657776832581, -0.25729233026504517, -0.2058630883693695, 0.11311810463666916, 0.10837732255458832, -0.5724610090255737, 0.6437657475471497, -0.13219206035137177, -0.5208246111869812, 0.026886530220508575, 0.48152798414230347, -0.11356008797883987, 0.7336853742599487, 0.46008333563804626, 0.3341583013534546, 0.919801652431488, -0.15511910617351532, 1.1107208728790283, 0.06368230283260345, 0.7796145677566528, 0.8128915429115295, 0.08003842830657959, 0.731619119644165, 0.09269110858440399, -0.07695557922124863, -0.056569043546915054, 0.8985283970832825, -0.252819687128067, 0.5482101440429688, 0.1053621917963028, -0.02738432213664055, -0.2673504054546356, -0.11903883516788483, -0.30786964297294617, 0.2209715098142624, 0.1958431899547577, -0.056026291102170944, -0.3035900890827179, 0.5074718594551086, 0.18354398012161255, 0.11961294710636139, -0.16697080433368683, 0.7200753688812256, 0.05652899667620659, -0.1608574241399765, 0.33653318881988525, 0.5169268846511841, 0.5351237058639526, -0.31665468215942383, 0.21460998058319092, -0.25380057096481323, 0.22898811101913452, -0.29075103998184204, -0.47944939136505127, 0.183604896068573, 0.18577955663204193, -0.5075933337211609, 0.04131597653031349, 1.0367274284362793, -0.7912072539329529, -0.6459353566169739, 0.11184568703174591, 0.23322701454162598, 0.1847904920578003, -0.1382557898759842, -0.6992852091789246, -0.15813231468200684, -0.0839870348572731, -0.38936999440193176, 0.23736390471458435, 0.3325009047985077, -0.08701103180646896, 0.6356602311134338, 0.6950250267982483, 0.10706210881471634, 0.1395362913608551, -0.1291777491569519, 0.8269036412239075, -0.35037603974342346, -0.2962733805179596, -0.7505555152893066, 0.17059950530529022, -0.2396867871284485, -0.09726687520742416, 0.8797139525413513, 0.6743422746658325, 0.8854385018348694, -0.09036965668201447, 0.6119862198829651, 0.19109997153282166, 0.5524291396141052, -0.4864034056663513, 0.6652250289916992, -0.7230141758918762, 0.27165135741233826, -0.25932714343070984, -0.9941707253456116, -0.6588448882102966, 0.6375851631164551, -0.2810669541358948, -0.046642154455184937, 0.6515675783157349, 0.3527064621448517, -0.23186439275741577, -0.000567461596801877, 0.21908290684223175, 0.1636728048324585, 0.08914478868246078, 0.019430775195360184, 0.7467408180236816, -0.551082193851471, 0.6299912333488464, -0.40470829606056213, -0.4466613829135895, -0.3333578109741211, -0.5565964579582214, -1.093679428100586, -0.45152708888053894, -0.5646775960922241, -0.19121180474758148, 0.059589628130197525, 0.5870951414108276, 0.35311591625213623, -0.5995665192604065, 0.3007369637489319, 0.010985065251588821, 0.2506297528743744, -0.03565823659300804, -0.2038443237543106, 0.6483347415924072, -0.23421575129032135, -0.8853910565376282, 0.05683470889925957, 0.03366468474268913, 0.6045554280281067, 0.00032968385494314134, 0.1825578361749649, -0.22689035534858704, 0.06240133196115494, 0.5295495390892029, 0.15591934323310852, -0.356582909822464, -0.16709791123867035, 0.04889006167650223, -0.5101163387298584, -0.13816578686237335, 0.6306326985359192, -0.41319042444229126, 0.6346201300621033, 0.6990010142326355, 0.8396268486976624, 0.49720391631126404, 0.2063160389661789, 0.2541126310825348, -0.5541657209396362, 0.005554109811782837, 0.10020184516906738, 0.3048945665359497, 0.3205649256706238, -0.49090296030044556, 0.4934844374656677, 0.41263216733932495, -0.5530596971511841, -0.916498601436615, 0.04661017283797264, -0.8411610126495361, -0.5328273773193359, 0.9812783598899841, -0.28323447704315186, 0.0812501534819603, -0.13948430120944977, -0.39021036028862, 0.5643879175186157, -0.12807485461235046, 0.9043731689453125, 0.7304768562316895, 0.1961868703365326, 0.21178211271762848, -0.580527126789093, 0.4345959722995758, 0.3015928864479065, -0.6375055313110352, -0.22996942698955536, 0.35634517669677734, 0.0988549143075943, 0.31751176714897156, 0.2039744257926941, 0.28088146448135376, 0.02099967934191227, -0.18547798693180084, -0.1086646169424057, -0.1384669840335846, -0.6029666662216187, -0.5316057801246643, 0.08165469020605087, -0.17229457199573517, -0.3115014433860779 ]
http://arxiv.org/abs/2402.17263v2
http://arxiv.org/pdf/2402.17263v2
MELoRA: Mini-Ensemble Low-Rank Adapters for Parameter-Efficient Fine-Tuning
2024-02-27T07:14:12
2024-06-24T12:45:27
Pengjie Ren, Chengshun Shi, Shiguang Wu, Mengqi Zhang, Zhaochun Ren, Maarten de Rijke, Zhumin Chen, Jiahuan Pei
cs.CL
cs.CL, 68T50, I.2.7
Parameter-efficient fine-tuning (PEFT) is a popular method for tailoring pre-trained large language models (LLMs), especially as the models' scale and the diversity of tasks increase. Low-rank adaptation (LoRA) is based on the idea that the adaptation process is intrinsically low-dimensional, i.e., significant model changes can be represented with relatively few parameters. However, decreasing the rank encounters challenges with generalization errors for specific tasks when compared to full-parameter fine-tuning. We present MELoRA, a mini-ensemble low-rank adapters that uses fewer trainable parameters while maintaining a higher rank, thereby offering improved performance potential. The core idea is to freeze original pretrained weights and train a group of mini LoRAs with only a small number of parameters. This can capture a significant degree of diversity among mini LoRAs, thus promoting better generalization ability. We conduct a theoretical analysis and empirical studies on various NLP tasks. Our experimental results show that, compared to LoRA, MELoRA achieves better performance with 8 times fewer trainable parameters on natural language understanding tasks and 36 times fewer trainable parameters on instruction following tasks, which demonstrates the effectiveness of MELoRA.
[ -0.5657891631126404, -0.7251715660095215, 0.32769525051116943, 0.1319969743490219, -0.3615417778491974, 0.03484392911195755, -0.47403937578201294, -0.38618823885917664, 0.17644092440605164, 0.36289241909980774, -0.32370272278785706, -0.6154725551605225, -0.695812463760376, 0.2049512267112732, -0.21096105873584747, 1.1431162357330322, 0.2520328164100647, -0.3782809376716614, 0.07568832486867905, -0.26288166642189026, -0.3957182765007019, -0.1761297732591629, -1.021079182624817, -0.06362496316432953, 0.897029459476471, 0.745999813079834, 0.5908020734786987, 0.46676379442214966, 0.45279359817504883, 0.2721122205257416, -0.17533272504806519, 0.16330841183662415, -0.6045093536376953, 0.09708922356367111, -0.11648567765951157, -0.878303050994873, -0.7692012786865234, -0.1138286367058754, 0.658301055431366, 0.615792989730835, -0.17983487248420715, 0.4730978012084961, 0.162650004029274, 0.8240345120429993, -0.855086088180542, -0.1441267430782318, -0.9224759340286255, 0.029314596205949783, -0.26773637533187866, -0.010813673958182335, -0.24657349288463593, -0.2767672836780548, 0.0635295882821083, -0.8154484629631042, 0.06756774336099625, 0.21854303777217865, 0.5079147815704346, 0.6087066531181335, -0.005272701848298311, -0.00281909410841763, -0.8478221893310547, 0.9193626046180725, -1.0090776681900024, -0.021201852709054947, 0.45496585965156555, 0.3994418680667877, 0.08549167215824127, -0.4298718273639679, -0.33881697058677673, 0.04097209498286247, -0.07340534776449203, 0.01770617440342903, -0.2914346754550934, 0.19122314453125, 0.20377618074417114, 0.406133770942688, -0.4816756844520569, 0.45656684041023254, -0.2169397622346878, 0.1539396047592163, 0.45539629459381104, 0.06941705197095871, 0.1415628045797348, 0.0868699923157692, 0.02472352609038353, -0.07560573518276215, -0.5760603547096252, 0.17189866304397583, 0.2660151422023773, 0.46299150586128235, -0.29380571842193604, 0.3161875605583191, -0.2259683758020401, 0.9173043370246887, 0.3171177804470062, -0.37197938561439514, -0.0940159484744072, -0.1557846963405609, -0.5608565211296082, -0.11954858154058456, 0.47540268301963806, -0.05219255015254021, 0.1335987001657486, -0.0978754386305809, -0.0939277932047844, 0.11736329644918442, -0.03325999900698662, -0.9337202906608582, -0.5947930812835693, -0.1145293265581131, -0.5720610618591309, -0.4597131609916687, -0.29425254464149475, -1.191956639289856, -0.18323853611946106, -0.2422085404396057, 0.766981840133667, -0.31696125864982605, 0.15148432552814484, -0.027145277708768845, -0.10352226346731186, 0.16826951503753662, 0.6177082061767578, -1.2896745204925537, 0.739902913570404, 0.280251145362854, 0.6886657476425171, -0.3427376449108124, -0.22833271324634552, -0.855839192867279, 0.0341719426214695, -0.12238394469022751, 0.8719460964202881, -0.6549790501594543, -0.23243407905101776, -0.5075275897979736, 0.022349655628204346, -0.6845938563346863, -0.8119208216667175, 0.4913322627544403, -0.5056800842285156, 0.15750573575496674, -0.05936647951602936, -0.198185995221138, -0.03573751077055931, 0.08339369297027588, -0.5058727264404297, 0.924932599067688, 0.15256758034229279, -0.4745124280452728, 0.4336492419242859, -1.0375069379806519, -0.38340693712234497, -0.20160697400569916, 0.02809603326022625, -0.3477734327316284, 0.32866382598876953, 0.3988136053085327, 0.18112681806087494, -0.2896132171154022, -0.4711420238018036, -0.3243686854839325, -0.6284375190734863, -0.14628556370735168, -0.4278407692909241, 0.3980724513530731, 0.05456893891096115, -0.3547917306423187, 0.04231363162398338, -0.9076836705207825, -0.15231414139270782, 0.004600750748068094, -0.668722927570343, -0.7171257138252258, -0.03742258623242378, -0.15232518315315247, -0.11383624374866486, 0.28686878085136414, -0.18294782936573029, 0.3347621262073517, -0.7073708772659302, 0.39069870114326477, 0.8425115942955017, -0.21090984344482422, 0.8523233532905579, -0.4099911153316498, 0.6138153672218323, -0.08910956978797913, 0.22082911431789398, 0.22401586174964905, -0.6164771318435669, -1.0435317754745483, -0.5359063744544983, 0.6976500153541565, 0.5713710784912109, -0.5437525510787964, 0.36351484060287476, -0.18539956212043762, -0.5507267117500305, -0.6706423759460449, 0.6395359039306641, 0.2169254571199417, 0.3810823857784271, 0.38888251781463623, 0.07376942038536072, -0.4212090075016022, -0.9264359474182129, -0.17755521833896637, -0.04501543939113617, -0.053426776081323624, 0.19664622843265533, 0.44915178418159485, -0.3684011399745941, 0.8966030478477478, -0.3271498382091522, -0.2606344223022461, -0.14545126259326935, 0.256896048784256, 0.5015543103218079, 0.4464997351169586, 0.981602132320404, -0.5796048045158386, -0.6861546635627747, 0.16726480424404144, -0.29834651947021484, -0.057265449315309525, 0.29559963941574097, -0.2845994532108307, 0.10046903043985367, 0.20836754143238068, -0.23751243948936462, 0.18895433843135834, 1.1339839696884155, -0.23196198046207428, 0.10033901035785675, -0.31710365414619446, 0.10708870738744736, -0.9798570275306702, 0.07126597315073013, -0.2272397130727768, -0.3275734484195709, -0.5614908337593079, -0.17118893563747406, -0.23091386258602142, -0.12556825578212738, -0.31108856201171875, 0.5768774747848511, -0.18276171386241913, -0.06836404651403427, -0.3286254107952118, 0.038131892681121826, 0.03507380187511444, 0.6238617300987244, -0.27552691102027893, 1.033746361732483, 0.3779173195362091, -0.845310628414154, 0.009116312488913536, 0.2880900502204895, -0.1458018273115158, 0.6197322010993958, -0.38002902269363403, 0.3137826919555664, -0.08871597796678543, -0.2268589586019516, -0.716987133026123, -0.1464494913816452, 0.1512218862771988, -0.025524236261844635, 0.06335213780403137, -0.4147849977016449, -0.31626832485198975, -0.06010393425822258, -0.49091556668281555, 0.5724759101867676, 0.7590412497520447, -0.6135825514793396, 0.7197338342666626, 0.2046404778957367, -0.37813279032707214, -0.3035171627998352, -0.6242518424987793, -0.22896601259708405, -0.6311305165290833, -0.44408929347991943, 0.6351602077484131, -0.45852288603782654, -0.3916454613208771, -0.09155300259590149, -0.08733530342578888, -0.01111042220145464, 0.3028434216976166, 0.13588616251945496, -0.09466537088155746, -0.5641283988952637, 0.031081274151802063, 0.583203911781311, -0.004873114172369242, -0.493122398853302, -0.06528860330581665, 0.45510134100914, -0.31058236956596375, -0.13303479552268982, -0.34624582529067993, 0.16621828079223633, 0.8235900402069092, 0.0846085324883461, 0.9397054314613342, 0.5947849750518799, -0.34868618845939636, -0.4515359103679657, -0.2999267578125, -0.176044762134552, -0.47863614559173584, 0.025701148435473442, -0.39910441637039185, -0.8937761783599854, 0.5306572318077087, -0.14675764739513397, 0.17206783592700958, 0.6388488411903381, 0.37094128131866455, -0.42402535676956177, 0.9112964272499084, 0.9599191546440125, -0.3162703812122345, 0.5619196891784668, -0.06925532966852188, 0.03622440621256828, -0.7020168900489807, 0.2502824664115906, -0.6851761937141418, -0.7848959565162659, -0.5896775126457214, -0.41106364130973816, 0.4880189597606659, 0.3991257846355438, -0.14371241629123688, 0.3918538987636566, -0.3846946954727173, 0.3214000165462494, 0.6346251964569092, 0.05704214423894882, 0.5702695846557617, 0.07379686087369919, 0.16486325860023499, -0.0011995781678706408, -0.9151097536087036, -0.5041247010231018, 1.0283195972442627, 0.1963421106338501, 0.8631759881973267, 0.3226737976074219, 0.7335150241851807, 0.5901092886924744, 0.3775103688240051, -0.8232812285423279, 0.4461093544960022, -0.7400002479553223, -0.32946789264678955, -0.5080000162124634, -0.2573796510696411, -0.9721987247467041, 0.2949378788471222, -0.4399678707122803, -0.6911391615867615, 0.4498547911643982, 0.5146886110305786, -0.8744694590568542, 0.21815906465053558, -0.7688594460487366, 0.839515209197998, -0.13218742609024048, 0.03389935940504074, -0.38381877541542053, -0.3783796727657318, 0.2699907124042511, -0.49164363741874695, 0.35571950674057007, -0.2636663615703583, -0.0861775130033493, 1.036258578300476, -0.1917884349822998, 0.8582636713981628, -0.2582562565803528, 0.07255004346370697, -0.06416217982769012, -0.06680651009082794, 0.6125559210777283, 0.19882439076900482, -0.4302653968334198, -0.20955078303813934, 0.4228505492210388, -0.5114555954933167, -0.6471890211105347, 0.7491759061813354, -1.0245554447174072, -0.5284255743026733, -0.033442649990320206, -0.5303317904472351, -0.4189935028553009, 0.026895007118582726, 0.1713400036096573, 0.11301425099372864, -0.24212180078029633, 0.2056916207075119, 0.8525630831718445, -0.12030543386936188, 0.4714747965335846, 0.3327178955078125, -0.29086869955062866, -0.3434629738330841, 0.8095690608024597, -0.07363446801900864, 0.23429444432258606, 0.6531857848167419, 0.22190305590629578, 0.3257603049278259, -0.7427831888198853, -0.4776419401168823, 0.16223298013210297, -0.4683709740638733, -0.15352082252502441, -0.34037432074546814, -0.10035020112991333, -0.1649763584136963, -0.17276495695114136, -0.34075620770454407, -0.4777224659919739, -0.5738973617553711, 0.32333314418792725, 0.5533879995346069, 0.48333409428596497, 0.021287132054567337, 0.8307511806488037, -0.6342055201530457, 0.48827242851257324, 0.8572425842285156, 0.061181582510471344, -0.3457619547843933, -0.924354612827301, -0.312991201877594, -0.11994744837284088, 0.056732889264822006, -0.6674356460571289, 0.20904508233070374, 0.6017918586730957, 0.5802651643753052, 0.44312208890914917, 0.03059201128780842, 0.768966019153595, -0.2747214734554291, 0.3371189534664154, -0.1706906408071518, -0.8216554522514343, 0.6843377351760864, -0.40648743510246277, 0.23115862905979156, 0.9819350838661194, -0.13966882228851318, -0.008598503656685352, -0.09803251177072525, -0.2567327320575714, -0.511262059211731, 0.5555687546730042, 0.21199242770671844, 0.13677866756916046, 0.4075648784637451, 0.3741098940372467, 0.3490632474422455, 0.29480111598968506, -0.6091017127037048, -0.12660707533359528, 0.16812124848365784, -0.40623533725738525, -0.26445019245147705, -0.2679169476032257, -0.3627795875072479, -0.5045177936553955, 0.6123238205909729, -0.4205305576324463, 0.36192479729652405, -0.13154582679271698, -0.37386417388916016, -0.2137976437807083, 0.43199825286865234, 0.6938894391059875, 0.42555224895477295, -0.5024161338806152, 0.22812670469284058, 0.8021999001502991, -0.34443315863609314, 0.029665030539035797, 0.2384663224220276, -0.204386904835701, -0.0625612735748291, 0.11379531025886536, 0.7479016780853271, 0.5457720756530762, -0.5030340552330017, 0.19967834651470184, 0.0013490092242136598, -0.11896144598722458, -0.09050183743238449, 0.45488694310188293, -0.022112831473350525, 0.3395979404449463, 0.21579700708389282, 0.5901444554328918, -0.03820137679576874, -0.5618695020675659, -0.1597824990749359, 0.3055696189403534, -0.14474529027938843, -0.4353111684322357, 0.49887415766716003, 0.2864035665988922, -0.36363062262535095, 0.10347315669059753, -0.035182517021894455, -0.0005140713765285909, 0.4826248586177826, 0.4258787930011749, 0.5061656832695007, -0.22705517709255219, 0.17915953695774078, -0.009192286990582943, 0.4647318124771118, -0.00451775873079896, 0.05876849219202995, -0.10447356849908829, -0.6274152994155884, -0.3986341655254364, -1.0767873525619507, -0.44297894835472107, 0.13599951565265656, -0.5978546142578125, 0.2878349721431732, -0.7287412285804749, -0.264130175113678, -0.08026988059282303, -0.1612689346075058, -0.676491379737854, 0.10294844210147858, 0.130893275141716, 1.0985140800476074, -0.973173201084137, 1.0206180810928345, 0.7641743421554565, -0.03385172039270401, -0.38535651564598083, 0.08353525400161743, -0.2541230320930481, -0.8232191205024719, 0.288982093334198, -0.2558068037033081, -0.2393578141927719, 0.27172020077705383, -0.1953073889017105, -0.9517106413841248, 1.280787706375122, 0.7139468789100647, -0.6836278438568115, -0.3662448823451996, -0.06361987441778183, 0.5300458669662476, -0.35235828161239624, -0.19736722111701965, 0.8158581852912903, 0.6179922819137573, -0.31936925649642944, -0.9674506187438965, -0.2853228449821472, -0.18213891983032227, 0.06201428920030594, 0.08871917426586151, -0.6124990582466125, 0.8541275262832642, 0.17573019862174988, 0.17873536050319672, 0.4549369812011719, 0.39662647247314453, 0.37363237142562866, 0.3761458396911621, 0.7662872076034546, 0.5675729513168335, 0.8658968806266785, 0.09542359411716461, 0.695299506187439, -0.16066868603229523, 0.15109772980213165, 0.9926809072494507, 0.07567073404788971, 1.0526561737060547, 0.6087421774864197, -0.3043716847896576, 0.7819586396217346, 0.5095959901809692, 0.14389581978321075, 0.8338333964347839, -0.12750302255153656, -0.28342822194099426, -0.3462173640727997, 0.20627491176128387, -0.22697989642620087, 0.4098362624645233, 0.45041897892951965, -0.46888190507888794, -0.025683732703328133, 0.23682202398777008, -0.1339307576417923, 0.09068284928798676, -0.697270929813385, 0.7568666934967041, 0.1880096048116684, -0.46014460921287537, 0.44138339161872864, 0.021915659308433533, 0.9652154445648193, -0.4227926731109619, 0.1403573751449585, -0.22065387666225433, 0.24862465262413025, -0.19229836761951447, -0.11603368073701859, 0.22803384065628052, -0.03626302629709244, -0.5216005444526672, 0.015317676588892937, 0.8399560451507568, -0.09831772744655609, -0.5863996148109436, 0.42383429408073425, 0.6027342081069946, -0.005406894255429506, -0.09078901261091232, -0.7039878964424133, -0.030867071822285652, -0.2929980158805847, -0.21145844459533691, 0.656859815120697, 0.07811766862869263, 0.10573996603488922, 0.3344959616661072, 0.5758683681488037, 0.15812547504901886, 0.1483304798603058, 0.05732600390911102, 0.7746058106422424, -0.44185006618499756, -0.27581825852394104, -0.7435888648033142, 0.3213076591491699, 0.09381720423698425, -0.2432183474302292, 0.44156795740127563, 0.3158252537250519, 0.5242172479629517, -0.17093680799007416, 0.7336481809616089, 0.06355797499418259, 0.5565547943115234, -0.7255619168281555, 0.6588427424430847, -0.6799853444099426, 0.28084126114845276, -0.1837526261806488, -1.1495791673660278, -0.30578649044036865, 0.5574353933334351, -0.5539001822471619, 0.025520170107483864, 0.5565842390060425, 0.6549394130706787, -0.3981219232082367, -0.19055461883544922, 0.6392457485198975, 0.20225423574447632, -0.0828649178147316, 0.557804524898529, 0.6075424551963806, -0.3920494019985199, 0.722051203250885, -0.2354065626859665, -0.2032911479473114, -0.47100475430488586, -0.6720998287200928, -1.0696017742156982, -0.17540085315704346, -0.16331535577774048, 0.10329297184944153, 0.2975689768791199, 0.8400204181671143, 0.9667483568191528, -1.0225125551223755, -0.02997485175728798, -0.09560826420783997, 0.17869921028614044, -0.2950884997844696, -0.15800465643405914, 0.2181030809879303, -0.1926833987236023, -0.940453052520752, 0.7443177103996277, 0.5390069484710693, 0.03203396871685982, 0.018193300813436508, -0.15959532558918, 0.05007178708910942, 0.2298077642917633, 0.6674292683601379, 0.4782121479511261, -0.6261879801750183, -0.30223342776298523, -0.05952160805463791, 0.01939358375966549, 0.1724698841571808, 0.4271129071712494, -0.6816988587379456, 0.043070483952760696, 0.3739834725856781, 0.5849234461784363, 0.7053858041763306, -0.0492546409368515, 0.44974860548973083, -0.5002499222755432, 0.17118079960346222, 0.17167457938194275, 0.36261898279190063, 0.055032625794410706, -0.07737903296947479, 0.342529833316803, 0.15843434631824493, -0.5098832249641418, -0.7575597167015076, 0.10652633756399155, -1.2559281587600708, -0.14037927985191345, 0.8754297494888306, 0.07377459853887558, -0.18420715630054474, 0.028330881148576736, -0.28522032499313354, 0.04369444400072098, -0.3069855272769928, 0.882061779499054, 0.21986812353134155, -0.2417873591184616, -0.4031820297241211, -0.5662168264389038, 0.667020320892334, 0.6819609999656677, -1.157921552658081, -0.38922151923179626, -0.09723345190286636, 0.43178442120552063, 0.11307603120803833, 0.6783421039581299, 0.2566799223423004, 0.21617576479911804, -0.33422890305519104, -0.3881288170814514, 0.3204917311668396, -0.36940082907676697, -0.39125514030456543, 0.34293004870414734, 0.6951436400413513, -0.1842546910047531 ]
http://arxiv.org/abs/2402.17262v1
http://arxiv.org/pdf/2402.17262v1
Speak Out of Turn: Safety Vulnerability of Large Language Models in Multi-turn Dialogue
2024-02-27T07:11:59
2024-02-27T07:11:59
Zhenhong Zhou, Jiuyang Xiang, Haopeng Chen, Quan Liu, Zherui Li, Sen Su
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have been demonstrated to generate illegal or unethical responses, particularly when subjected to "jailbreak." Research on jailbreak has highlighted the safety issues of LLMs. However, prior studies have predominantly focused on single-turn dialogue, ignoring the potential complexities and risks presented by multi-turn dialogue, a crucial mode through which humans derive information from LLMs. In this paper, we argue that humans could exploit multi-turn dialogue to induce LLMs into generating harmful information. LLMs may not intend to reject cautionary or borderline unsafe queries, even if each turn is closely served for one malicious purpose in a multi-turn dialogue. Therefore, by decomposing an unsafe query into several sub-queries for multi-turn dialogue, we induced LLMs to answer harmful sub-questions incrementally, culminating in an overall harmful response. Our experiments, conducted across a wide range of LLMs, indicate current inadequacies in the safety mechanisms of LLMs in multi-turn dialogue. Our findings expose vulnerabilities of LLMs in complex scenarios involving multi-turn dialogue, presenting new challenges for the safety of LLMs.
[ -0.2763802409172058, -0.8950541019439697, 0.7855858206748962, -0.0015468719648197293, -0.26424098014831543, 0.24176526069641113, -0.12755025923252106, -0.654796838760376, -0.04763004183769226, 1.1061782836914062, -0.6582735776901245, -0.21384410560131073, -0.5284601449966431, -0.24224872887134552, -0.5842033624649048, 0.9773886203765869, 0.45821115374565125, 0.023588741198182106, -0.14560961723327637, -0.14421287178993225, -0.3327249586582184, -0.9233814477920532, -0.5991032719612122, -0.17673344910144806, 0.45550858974456787, 0.6117581129074097, 0.7579835057258606, -0.18761426210403442, 0.4259724020957947, 0.3820939064025879, 0.12957027554512024, -0.04694269225001335, -0.707015872001648, 0.5467119812965393, -0.06076071411371231, -0.6887879967689514, -0.43575921654701233, 0.02791857160627842, 0.3285617530345917, 0.5757938623428345, -0.3094172775745392, -0.0394711047410965, -0.0022794597316533327, 0.797933042049408, -0.31486013531684875, -0.18201139569282532, -1.0422955751419067, -0.21464459598064423, -0.29727938771247864, -0.1663888692855835, -0.8326925039291382, -0.42210838198661804, 0.1092410683631897, -0.08334329724311829, 0.037156619131565094, 0.20865637063980103, 0.31460294127464294, 0.2363961935043335, -0.22584721446037292, -0.37156572937965393, -0.9109058380126953, 0.47012948989868164, -0.9256659746170044, 0.1923495978116989, 0.34356778860092163, 0.23079809546470642, -0.5183762311935425, -0.3621552586555481, -0.8522233366966248, -0.3782675862312317, 0.00012780202087014914, -0.1185588389635086, -0.24735377728939056, 0.03879287838935852, 0.23231486976146698, 0.056736160069704056, -0.46703001856803894, 0.26276445388793945, -0.3059672713279724, -0.05668458342552185, 0.7485896944999695, 0.4135032892227173, 0.5662431716918945, -0.07349599152803421, -0.37874963879585266, -0.31566882133483887, -1.2547399997711182, 0.030824359506368637, 0.7105622291564941, 0.5269331336021423, -0.0756952092051506, 0.570519208908081, 0.28815793991088867, 0.47570982575416565, -0.04713686928153038, -0.24196405708789825, 0.01608821377158165, -0.2727653980255127, -0.08973496407270432, 0.20607949793338776, 1.235419511795044, 0.6270484328269958, 0.2842194139957428, -0.2029380351305008, 0.15964962542057037, -0.32313865423202515, 0.4875890016555786, -0.6437424421310425, 0.08219694346189499, 0.45129725337028503, -0.26826009154319763, -0.4773128628730774, 0.11863020807504654, -1.0810015201568604, -0.8343594074249268, 0.4306729733943939, 0.38127774000167847, -0.3150918185710907, -0.37090378999710083, 0.16743406653404236, 0.18671150505542755, 0.3047066926956177, -0.04717140272259712, -0.7433880567550659, 0.3587704300880432, 0.41436463594436646, 0.6741909980773926, -0.08664458990097046, -0.24596460163593292, -0.5551332831382751, 0.06955813616514206, -0.25738242268562317, 0.4250200092792511, -0.23470619320869446, -0.954724907875061, 0.06885767728090286, 0.18525907397270203, 0.11590234935283661, -0.6223557591438293, 0.4670819044113159, -0.4860553443431854, -0.11887999624013901, -0.19226033985614777, 0.18086838722229004, -0.10115689784288406, 0.010928030125796795, -0.5684471726417542, 0.6285322904586792, -0.38651761412620544, -0.8863903880119324, 0.09339650720357895, -0.6071202158927917, -0.7526389360427856, -0.22601783275604248, -0.13769100606441498, -0.528774619102478, 0.11103388667106628, 0.08487493544816971, 0.20697467029094696, -0.262754887342453, 0.25609061121940613, -0.4941175878047943, 0.10681990534067154, 0.8420385718345642, -0.7072617411613464, 0.9120208621025085, 0.03006933443248272, -0.5383334755897522, 0.16545547544956207, -0.42323681712150574, -0.10267305374145508, 0.2862354516983032, -0.27197331190109253, -0.5543245077133179, 0.1285313367843628, -0.3240431547164917, 0.4316677153110504, -0.15812988579273224, -0.7941501140594482, 0.054439473897218704, -0.6305766701698303, 0.4583382308483124, 0.6079375147819519, 0.17276480793952942, 0.449685275554657, -0.3062283396720886, 0.3080942630767822, 0.30733776092529297, 0.44344356656074524, -0.3124494254589081, -0.6976138353347778, -0.7831538319587708, 0.08089739829301834, -0.37856268882751465, 0.6831762194633484, -0.6121642589569092, 0.11149819195270538, 0.04278745874762535, -0.5864629745483398, -0.40661582350730896, -0.11523855477571487, 0.5017961263656616, 0.30226272344589233, 0.34543851017951965, -0.011060886085033417, -0.39105790853500366, -0.7829526662826538, -0.48111289739608765, -0.46298640966415405, 0.23335516452789307, 0.3786040246486664, 0.2840624153614044, -0.27334415912628174, 0.8114679455757141, -0.46176621317863464, -0.007775685749948025, -0.5070619583129883, 0.24508629739284515, 0.015952996909618378, 0.4266512095928192, 0.3344978392124176, -0.6809345483779907, -0.2279467135667801, -0.25470733642578125, -0.6614494919776917, 0.05002284422516823, -0.35319623351097107, -0.13448213040828705, 0.32216882705688477, 0.7776014804840088, -0.8562582731246948, 0.5496180057525635, 0.5644283294677734, -0.1662847101688385, 0.4909060001373291, -0.1264141947031021, -0.05815843865275383, -1.0886608362197876, -0.4070085883140564, -0.3451002836227417, -0.035609934478998184, -0.8638391494750977, -0.07140236347913742, -0.10639483481645584, -0.23861832916736603, -0.5359061360359192, 0.07081470638513565, -0.4881879389286041, -0.01750526763498783, -0.20732878148555756, 0.2573279142379761, -0.07615688443183899, 0.12995658814907074, -0.07508978247642517, 0.6366034746170044, 0.5294357538223267, -0.607700526714325, 0.39813002943992615, 0.26190343499183655, -0.3793877959251404, 0.1811986118555069, -0.6124284863471985, 0.5031951665878296, -0.14236509799957275, 0.18656523525714874, -1.0420247316360474, -0.3375788629055023, 0.288600355386734, -0.3696943521499634, 0.4261089265346527, -0.17322826385498047, -0.41751039028167725, -0.2863858938217163, -0.38401010632514954, 0.2500528395175934, 0.35710608959198, -0.4872452914714813, 0.48168572783470154, 0.839229941368103, -0.6081050634384155, -0.3305239677429199, -0.8595446348190308, 0.35394078493118286, -0.4516672194004059, -0.793206512928009, -0.1238882914185524, -0.011436160653829575, -0.647571325302124, -0.41432830691337585, 0.08765244483947754, 0.18701383471488953, 0.07147017866373062, 0.6690902709960938, 0.2845907509326935, 0.23364247381687164, 0.07746942341327667, 0.08791428059339523, 0.010219432413578033, 0.5022358894348145, 0.06431830674409866, 0.6438344120979309, -0.17279280722141266, -0.84219890832901, -0.059870120137929916, 0.9606348872184753, 1.228255033493042, -0.16043855249881744, 0.8459048867225647, -0.09566919505596161, -0.05466345697641373, 0.017141999676823616, -0.5593984723091125, -0.45509767532348633, -0.5442607998847961, 0.4273512363433838, 0.03801338002085686, -0.841065526008606, 0.43908432126045227, -0.16847597062587738, 0.1576288491487503, -0.04840036481618881, 0.684363067150116, -0.14241795241832733, 1.1226789951324463, 0.6938574314117432, -0.08412342518568039, 0.20041720569133759, -0.012308928184211254, 0.5845286250114441, -0.673539936542511, -0.6132006049156189, -0.7387794852256775, 0.010582742281258106, -0.8678804039955139, -0.4834356904029846, 0.8029277324676514, -0.20041437447071075, -0.16621460020542145, 0.2463037073612213, -0.258902370929718, 0.26647621393203735, 0.46653008460998535, 0.15740253031253815, 0.46807757019996643, -0.27892357110977173, -0.1365206241607666, -0.055651918053627014, -0.5828139185905457, -0.48870548605918884, 1.0130475759506226, 0.36895668506622314, 1.397727131843567, 0.34150761365890503, 0.7671971321105957, -0.20537607371807098, 0.3492118716239929, -0.7507191896438599, 0.6033679246902466, 0.26683807373046875, -0.931594967842102, -0.6000717282295227, -0.15661592781543732, -0.8692405223846436, 0.3390100300312042, -0.2645376920700073, -0.9172106385231018, 0.1834995597600937, 0.0533253438770771, -0.40516746044158936, 0.44540271162986755, -0.8747871518135071, 0.5927507281303406, -0.6798282861709595, -0.2050284892320633, -0.1409372091293335, -1.0044662952423096, 0.6470150947570801, -0.15299151837825775, 0.7867894768714905, 0.003872801549732685, 0.49863383173942566, 0.5806964039802551, -0.5053160190582275, 1.357724905014038, -0.11419365555047989, -0.28759491443634033, 0.5159099102020264, 0.21071533858776093, 0.779309868812561, 0.3737390637397766, 0.022360337898135185, 0.04211360961198807, -0.18448100984096527, 0.03914748132228851, -0.3979983925819397, 0.7215330004692078, -0.7431462407112122, -0.9485177397727966, -0.4716053903102875, -0.4160032868385315, -0.5161756873130798, 0.026049574837088585, 0.5141333341598511, 0.27793997526168823, -0.19139312207698822, -0.04449322447180748, 0.7122464776039124, -0.5178208351135254, 0.7219404578208923, 0.5662973523139954, -0.37422826886177063, -0.19128923118114471, 0.713665783405304, -0.15203134715557098, 0.679582417011261, -0.10779969394207001, 0.27020156383514404, -0.4379061758518219, -0.6535823345184326, -0.38740676641464233, 0.15256111323833466, -0.5630137920379639, -0.2433645874261856, -0.7052973508834839, -0.10946056246757507, -0.31417518854141235, 0.19158819317817688, -0.4774722456932068, -0.079938605427742, -0.002358479890972376, -0.34358635544776917, 0.3462073504924774, 0.7821075916290283, -0.21774151921272278, 0.21627146005630493, -1.2856839895248413, 0.3093079626560211, 0.5202736258506775, 0.03435680270195007, -0.09514865279197693, -0.42967143654823303, 0.01339883916079998, 0.09357795864343643, -0.34734636545181274, -1.1156525611877441, 0.34212595224380493, -0.015538918785750866, 0.6371727585792542, 0.4427638351917267, 0.5739901065826416, 0.36717844009399414, -0.7492570281028748, 0.7026522755622864, 0.4467991888523102, -0.7637144327163696, 0.5058341026306152, -0.342846542596817, 0.15053367614746094, 0.5267713069915771, 0.5257665514945984, -0.6011826395988464, -0.8943045139312744, -0.4874677062034607, -1.213334560394287, 0.5553950071334839, -0.002518902299925685, 0.547883927822113, -0.1826752871274948, 0.030574379488825798, 0.2903047204017639, 0.18294993042945862, -0.8376143574714661, -0.28216254711151123, -0.250740110874176, 0.4346855878829956, 0.04866583272814751, -0.5965945720672607, -0.4801686406135559, -0.08279620856046677, 0.44119423627853394, 0.06325473636388779, 0.15638701617717743, 0.1809823215007782, -0.12786149978637695, -0.3142983913421631, 0.6641325950622559, 0.7142530083656311, 0.2974076271057129, -0.03515557199716568, 0.31564319133758545, 0.16603048145771027, -0.6157873272895813, 0.21587549149990082, -0.35691407322883606, -0.04295499995350838, -0.251127690076828, 0.42133888602256775, 0.7350138425827026, 0.20717228949069977, -0.7015935182571411, 0.2978226840496063, -0.16219712793827057, 0.07757654786109924, -0.26397016644477844, -0.02680906094610691, 0.19071762263774872, 0.2267930805683136, 0.36631834506988525, 0.131402388215065, -0.03264301270246506, -1.0725836753845215, 0.09724391996860504, 0.6544285416603088, -0.30243927240371704, -0.32067668437957764, 0.41854530572891235, 0.40073516964912415, -0.41449761390686035, 0.6384062170982361, 0.06957869231700897, -0.5808463096618652, 0.042973414063453674, 0.6340767741203308, 0.9823456406593323, -0.34090280532836914, 0.22709988057613373, 0.1835494190454483, 0.7005785703659058, 0.14941129088401794, 0.23913131654262543, 0.3994550108909607, -0.8936965465545654, -0.5404669642448425, -0.430149108171463, -0.6638831496238708, 0.34495094418525696, -0.6996568441390991, -0.20112234354019165, -0.34184056520462036, -0.43536481261253357, -0.30775466561317444, -0.7606185674667358, -0.054353345185518265, -0.12240952998399734, 0.22651179134845734, 0.5615146160125732, -0.7719955444335938, 0.7055829763412476, 0.39583030343055725, -0.15028880536556244, -0.5667327642440796, 0.2935641407966614, 0.12805134057998657, -0.5778067708015442, 0.5126579999923706, 0.0905921459197998, -0.6353978514671326, -0.36870357394218445, -0.8769689798355103, -0.5729765892028809, 0.5507490634918213, 0.47113192081451416, -0.7235432863235474, 0.08449868112802505, 0.6009445786476135, 0.23873360455036163, -0.254231333732605, -0.07321057468652725, 0.7785524129867554, 0.39460110664367676, 0.09198456257581711, -1.1243783235549927, 0.2280256748199463, 0.10596395283937454, -0.22777977585792542, 0.2692197263240814, -0.6533166170120239, 0.796961784362793, -0.8692024350166321, -0.14817968010902405, -0.08799292892217636, 0.18958155810832977, 0.15329670906066895, 0.2005264312028885, 0.5741755962371826, 0.37638625502586365, 0.5776050090789795, -0.13374340534210205, 1.0112577676773071, 0.02386457473039627, -0.03742152452468872, 1.2182024717330933, -0.4988000988960266, 0.7942216396331787, 0.6888209581375122, -0.1183348074555397, 0.34686461091041565, 0.056759659200906754, 0.6324887871742249, 0.6490447521209717, 0.3761913776397705, -0.5143879652023315, -0.4788617491722107, 0.3998439610004425, -0.25821906328201294, 0.6932811141014099, 0.6614392399787903, -0.02453877218067646, -0.16325469315052032, 0.22845138609409332, 0.358817458152771, 0.013958250172436237, 0.020175326615571976, 0.9608782529830933, 0.3352836072444916, -0.5749495029449463, 0.4086447060108185, -0.08015169203281403, 0.5147886276245117, -0.36367127299308777, 0.13194036483764648, -0.2487807422876358, 0.11465314030647278, -0.18071237206459045, -0.7526091933250427, 0.5344353318214417, -0.01143642794340849, 0.05087972432374954, 0.002017244463786483, 0.6067477464675903, -0.28935232758522034, -0.25329580903053284, 0.4758642017841339, 0.5036419034004211, 0.15531925857067108, -0.2780173420906067, -0.44924861192703247, 0.2554932236671448, -0.06559649854898453, -0.20701377093791962, 0.67060786485672, 0.38581839203834534, -0.19995896518230438, 0.9116028547286987, 0.8949546217918396, -0.08778093755245209, 0.45521754026412964, 0.11758582293987274, 1.2191271781921387, -0.7743571996688843, -0.18430264294147491, -1.124038577079773, 0.5979339480400085, -0.17861014604568481, -0.02781166508793831, 0.6782101392745972, 0.23483195900917053, 0.6049141883850098, 0.07500108331441879, 1.1170339584350586, 0.029476843774318695, 0.454104483127594, -0.5598171353340149, 1.1369781494140625, -0.12890540063381195, 0.40827295184135437, -0.4339279532432556, -0.5448334813117981, -0.00018620255286805332, 0.28804272413253784, -0.34072503447532654, -0.10858415067195892, 0.743074893951416, 0.8222492337226868, 0.5109233856201172, 0.06048275902867317, 0.5016185641288757, 0.5107486844062805, 0.5399524569511414, 0.3641948401927948, 1.108733892440796, -0.06746360659599304, 1.002892255783081, -0.11523272842168808, -0.24884472787380219, -0.3533693253993988, -0.8309848308563232, -1.1306606531143188, -0.5589190721511841, -0.08967921882867813, -0.5061986446380615, -0.09984322637319565, 0.5370970368385315, 0.5749948620796204, -0.8403075933456421, -0.30644792318344116, 0.054717857390642166, 0.2766014635562897, 0.20792877674102783, -0.20571786165237427, -0.09351571649312973, -0.1903514266014099, -0.583438515663147, 0.8954486846923828, 0.5888156890869141, 0.17454130947589874, -0.4709239602088928, 0.03250668942928314, -0.1531173288822174, 0.1699741929769516, 0.7140699028968811, 0.4584636986255646, -0.6520419716835022, -0.45083439350128174, -0.02092617377638817, -0.005556657910346985, -0.06356737017631531, 1.1225969791412354, -0.47533267736434937, 0.48356640338897705, 0.28991425037384033, 0.26384255290031433, 0.5303786993026733, -0.13047634065151215, 0.7728005051612854, -0.5919135212898254, 0.3466867208480835, 0.3027832806110382, 0.2508578598499298, 0.43091756105422974, -0.44067373871803284, -0.00600901385769248, -0.025325557217001915, -0.5294068455696106, -0.9699966311454773, 0.7139980792999268, -0.8359031081199646, -0.10009444504976273, 1.2273937463760376, -0.14843489229679108, -0.1509585976600647, -0.5799601674079895, -0.4108153283596039, 0.09351920336484909, -0.4285932779312134, 0.7638890147209167, 0.506483793258667, -0.4237980544567108, -0.1268807351589203, -0.618208110332489, 0.5640830993652344, -0.003909938037395477, -0.9893051981925964, 0.5489118695259094, 0.19474156200885773, 0.27194303274154663, 0.38695666193962097, 0.6198083162307739, -0.6075899004936218, -0.032335832715034485, 0.008305191993713379, -0.06766343861818314, 0.04161269590258598, -0.3563723862171173, 0.07127131521701813, 0.22372974455356598, 0.40746405720710754, -0.16661472618579865 ]
http://arxiv.org/abs/2402.17256v2
http://arxiv.org/pdf/2402.17256v2
Beyond the Known: Investigating LLMs Performance on Out-of-Domain Intent Detection
2024-02-27T07:02:10
2024-03-04T06:04:32
Pei Wang, Keqing He, Yejie Wang, Xiaoshuai Song, Yutao Mou, Jingang Wang, Yunsen Xian, Xunliang Cai, Weiran Xu
cs.CL
cs.CL
Out-of-domain (OOD) intent detection aims to examine whether the user's query falls outside the predefined domain of the system, which is crucial for the proper functioning of task-oriented dialogue (TOD) systems. Previous methods address it by fine-tuning discriminative models. Recently, some studies have been exploring the application of large language models (LLMs) represented by ChatGPT to various downstream tasks, but it is still unclear for their ability on OOD detection task.This paper conducts a comprehensive evaluation of LLMs under various experimental settings, and then outline the strengths and weaknesses of LLMs. We find that LLMs exhibit strong zero-shot and few-shot capabilities, but is still at a disadvantage compared to models fine-tuned with full resource. More deeply, through a series of additional analysis experiments, we discuss and summarize the challenges faced by LLMs and provide guidance for future work including injecting domain knowledge, strengthening knowledge transfer from IND(In-domain) to OOD, and understanding long instructions.
[ -0.5087978839874268, -0.8650768995285034, 0.8899049162864685, -0.39511945843696594, -0.164447620511055, 0.035210657864809036, -0.27984532713890076, -0.5851311683654785, -0.41098880767822266, 0.8433145880699158, -0.6290115714073181, -0.43279504776000977, -0.7331359386444092, -0.12332555651664734, -0.36122822761535645, 0.7896031737327576, -0.1723366379737854, -0.18922428786754608, -0.22637921571731567, -0.049924496561288834, -0.7048499584197998, -0.5503518581390381, -0.7872435450553894, -0.24019858241081238, 0.040418535470962524, 0.5198924541473389, 0.32198309898376465, -0.07998839020729065, 0.658337414264679, 0.21079108119010925, -0.09617860615253448, 0.42868849635124207, -0.9690222144126892, 0.22563719749450684, -0.13474708795547485, -0.6333125233650208, -0.4889293611049652, -0.11795442551374435, 0.5886185765266418, 0.633838951587677, 0.04710395261645317, -0.06367045640945435, 0.05107223615050316, 0.5972559452056885, -0.5400219559669495, 0.2059578150510788, -0.8194921016693115, -0.15302549302577972, -0.33896613121032715, -0.37300366163253784, -0.7018824815750122, -0.1262504756450653, 0.4208018183708191, -0.3294196128845215, 0.09126926958560944, 0.3198242783546448, 0.5730518102645874, 0.15036766231060028, -0.577674388885498, -0.6688523292541504, -0.770792543888092, 0.935227632522583, -0.802668571472168, 0.38976457715034485, 0.4915899932384491, 0.3616267740726471, -0.8196286559104919, -0.38909968733787537, -0.5143077373504639, -0.3544169068336487, 0.030411355197429657, -0.06205185502767563, -0.2996409833431244, 0.19892963767051697, 0.16319414973258972, 0.3902226984500885, -0.528969943523407, 0.1881287693977356, -0.24795401096343994, 0.16187529265880585, 0.6141428351402283, 0.20037883520126343, 0.35243454575538635, 0.18896391987800598, -0.4005815088748932, 0.41498643159866333, -0.9387255907058716, 0.0963703840970993, 0.2009693831205368, 0.2555422782897949, 0.17679351568222046, 0.8276433944702148, -0.1512189656496048, 0.8324077725410461, 0.11188313364982605, -0.11335087567567825, -0.2937656044960022, -0.23235905170440674, -0.2387578785419464, -0.037599965929985046, 0.5937904715538025, 0.25602197647094727, 0.21941594779491425, -0.2373286932706833, -0.3841462731361389, -0.2721412479877472, 0.14017778635025024, -0.7831923961639404, 0.10275328904390335, 0.4158651530742645, -0.49986544251441956, 0.2626606523990631, -0.3269352912902832, -0.18415163457393646, -0.5721783638000488, -0.1493796706199646, 0.4742385447025299, -0.6424722671508789, -0.3486286997795105, 0.4155745208263397, -0.10492600500583649, 0.18900066614151, 0.3222864866256714, -0.6720319986343384, 0.3022082448005676, 0.8923956155776978, 0.8402119874954224, -0.5315483808517456, -0.0781472846865654, -0.48247194290161133, 0.015688909217715263, -0.30507898330688477, 0.790570080280304, -0.5643149614334106, -0.5877593755722046, -0.0009267984423786402, -0.09695553034543991, -0.42642396688461304, -0.7239844799041748, 0.5094103813171387, -0.8299612402915955, 0.06430920213460922, -0.17869338393211365, -0.9996415376663208, -0.3343316912651062, 0.2899518311023712, -0.3870435059070587, 0.8915133476257324, 0.1607133150100708, -0.4250272512435913, 0.45735543966293335, -1.0312210321426392, -0.2833136022090912, 0.10968733578920364, -0.09492381662130356, -0.08090818673372269, 0.4723168909549713, -0.15656574070453644, 0.48263978958129883, -0.3234761357307434, 0.12662898004055023, -0.2507554292678833, -0.49243777990341187, 0.36270445585250854, -0.42754387855529785, 0.5814956426620483, 0.10715226829051971, -0.33864206075668335, -0.00460452027618885, -0.5451577305793762, -0.09144861996173859, 0.1422685980796814, -0.24716244637966156, -0.4232962131500244, 0.09318046271800995, -0.5271044373512268, 0.15202857553958893, 0.07648947089910507, -0.774958074092865, 0.3251435160636902, -0.41869136691093445, 0.607505202293396, 0.49653464555740356, -0.04946295917034149, 0.38466235995292664, -0.2761830687522888, 0.60658198595047, -0.09940844029188156, 0.3335535228252411, -0.26463714241981506, -0.8395345211029053, -0.705942690372467, -0.363029807806015, -0.04800740256905556, 0.27097734808921814, -0.8194558024406433, 0.18620802462100983, -0.17466819286346436, -0.21556782722473145, -0.13729257881641388, 0.10398077964782715, 0.4311894476413727, 0.2560621201992035, 0.0735638216137886, -0.5072919726371765, -0.20628654956817627, -0.35988950729370117, -0.20532111823558807, -0.2759423553943634, 0.24407270550727844, 0.59763103723526, 0.5685836672782898, -0.25880759954452515, 1.1441618204116821, -0.5410458445549011, -0.6627320647239685, -0.4991987645626068, 0.06640501320362091, 0.19345584511756897, -0.05111062899231911, 0.3175502419471741, -0.6151471138000488, -0.5752969980239868, 0.21901720762252808, -0.601162314414978, -0.0343446359038353, 0.18166399002075195, 0.060867488384246826, 0.43171870708465576, 0.7135211229324341, -0.8935860395431519, 0.5567867755889893, 0.521440863609314, -0.17454908788204193, 0.5239066481590271, -0.19637231528759003, 0.05265236273407936, -0.4909031093120575, -0.15889841318130493, -0.12163233757019043, -0.1495363563299179, -0.8611437082290649, -0.06318061053752899, -0.032988015562295914, -0.17130206525325775, -0.7291263937950134, 0.6039179563522339, -0.6014949679374695, -0.21255835890769958, -0.5202038288116455, 0.3267439901828766, 0.06629879772663116, 0.444272518157959, 0.22396822273731232, 0.8667910099029541, 0.4397870898246765, -0.7297931909561157, 0.33446067571640015, 0.11540474742650986, -0.5793546438217163, 0.6220585703849792, -0.4357841908931732, 0.2214304804801941, -0.08153723925352097, 0.36633187532424927, -1.4761048555374146, -0.2166152000427246, 0.21320940554141998, -0.4291025996208191, 0.2804831564426422, -0.6224746108055115, -0.4884762465953827, -0.21040929853916168, -0.27420976758003235, 0.7162675857543945, 0.38939592242240906, -0.6276264190673828, 0.598362386226654, 0.4313535690307617, -0.09541779011487961, -0.2602657675743103, -0.48866260051727295, -0.0197516530752182, -0.3938550055027008, -0.7308014035224915, 0.21562814712524414, 0.11884377151727676, -0.31331783533096313, -0.26305684447288513, 0.02282574586570263, -0.19313710927963257, -0.0979556292295456, 0.33412572741508484, 0.0813576728105545, -0.40982428193092346, 0.20222987234592438, -0.14504563808441162, 0.17308442294597626, 0.1308479905128479, -0.2896527647972107, 0.7029653191566467, 0.07622930407524109, -0.7905023097991943, -0.4983944594860077, 0.23457351326942444, 0.5969718098640442, -0.11855337768793106, 0.5621206760406494, 0.27084216475486755, 0.02962857484817505, -0.37287604808807373, -0.5071665048599243, -0.15304164588451385, -0.48082420229911804, 0.3579268157482147, -0.2682429552078247, -0.7975326180458069, 0.39565640687942505, -0.2945694923400879, -0.008831440471112728, 0.0412287637591362, 0.45551615953445435, 0.03281766548752785, 1.000996470451355, 0.6735212802886963, 0.12285461276769638, 0.5734084248542786, -0.35309866070747375, 0.5310885310173035, -1.0703455209732056, -0.172930508852005, -0.2501562833786011, 0.06785202026367188, -0.40480172634124756, -0.5296845436096191, 0.45661449432373047, 0.04948354512453079, 0.14254634082317352, 0.27596092224121094, -0.12950728833675385, 0.39928895235061646, 0.3570413887500763, 0.022381380200386047, 0.5435757040977478, -0.2581319808959961, 0.2466529756784439, 0.34368667006492615, -0.6903934478759766, -0.5441846251487732, 1.3146824836730957, 0.4869421124458313, 0.8893657922744751, 0.2579587697982788, 0.38398921489715576, 0.2575232684612274, 0.07373005151748657, -1.164965033531189, 0.6379936337471008, -0.19977900385856628, -0.8801933526992798, -0.5009157657623291, -0.23641662299633026, -0.9883167743682861, 0.2909010946750641, 0.32890862226486206, -0.8775933384895325, 0.1864817887544632, 0.032373521476984024, -0.6639748215675354, 0.3924786150455475, -0.9818054437637329, 0.6596040725708008, -0.3485802412033081, -0.10619596391916275, -0.0017935174982994795, -0.26210513710975647, 0.5046902894973755, -0.06611248850822449, 0.0875295102596283, -0.4241619408130646, 0.1429920494556427, 0.46824023127555847, -0.17867276072502136, 1.0201568603515625, -0.12850965559482574, -0.5673706531524658, 0.5641932487487793, 0.00791463814675808, 0.631003737449646, -0.08504971116781235, 0.04337455704808235, 0.22170662879943848, -0.06175814941525459, -0.09460102766752243, -0.43502113223075867, 0.6394631266593933, -0.3188334107398987, -0.6496502757072449, -0.1741151213645935, -0.6604005694389343, -0.4589059054851532, 0.19003930687904358, 0.2795373499393463, 0.6593447327613831, -0.30197927355766296, 0.13194294273853302, 1.0734748840332031, -0.4227796494960785, 0.40562742948532104, 0.7479991316795349, -0.4557710886001587, 0.37490591406822205, 0.876263439655304, 0.050537701696157455, 0.6385157108306885, 0.36122629046440125, 0.06108812615275383, -0.550616443157196, -0.9921650290489197, -0.6295236349105835, 0.046583447605371475, -0.6775670051574707, -0.042943648993968964, -0.47068679332733154, -0.14340975880622864, -0.33063432574272156, 0.2526358664035797, -0.3936102092266083, -0.11823124438524246, -0.21403470635414124, 0.321370929479599, 0.31400781869888306, 0.8211151957511902, 0.4666433334350586, 0.6021075248718262, -0.6471803784370422, 0.39494356513023376, 0.10796558111906052, 0.41027235984802246, -0.05849366635084152, -0.9001271724700928, -0.08430881053209305, 0.07523947209119797, -0.37998566031455994, -0.32357797026634216, 0.3217330574989319, 0.3099690079689026, 0.6106744408607483, 0.6040070056915283, 0.25938767194747925, 0.44417309761047363, -0.3343517780303955, 0.7424163222312927, -0.09990216791629791, -0.7447961568832397, 0.48359447717666626, -0.34450143575668335, 0.1436121165752411, 0.21269917488098145, 0.5211160778999329, -0.28475916385650635, -0.38643476366996765, -0.12017137557268143, -0.6822274923324585, 1.026504635810852, 0.23000885546207428, 0.10715656727552414, -0.009378042072057724, 0.2803828716278076, 0.33566826581954956, 0.02565041556954384, -0.3259662389755249, -0.05947946757078171, 0.4614662230014801, 0.20594459772109985, -0.12033345550298691, -0.3032701313495636, -0.06926220655441284, 0.11304407566785812, 0.5097717046737671, -0.0654764324426651, 0.3316812217235565, 0.07781706750392914, -0.3383544683456421, -0.1369217336177826, 0.3394239842891693, 0.7370814085006714, 0.7814078330993652, -0.4644593298435211, -0.10849972814321518, 0.03774308040738106, -0.4275536835193634, -0.026855019852519035, -0.1678081750869751, 0.0636303648352623, -0.05695825070142746, 0.2840927541255951, 0.8231126666069031, -0.11431613564491272, -1.0396455526351929, 0.6875300407409668, -0.24161812663078308, 0.08929140120744705, -0.17053745687007904, 0.225796639919281, -0.3707461953163147, 0.2662797272205353, 0.32816746830940247, -0.12341643869876862, 0.34925925731658936, -0.9302927851676941, -0.10999276489019394, 0.8997132182121277, -0.6099060773849487, -0.3312130272388458, 0.13658981025218964, 0.29496678709983826, -0.1610356867313385, 0.3125860095024109, -0.3000633418560028, -0.47146034240722656, 0.5724610686302185, 0.5109059810638428, 0.632767915725708, -0.026413341984152794, -0.0008754466543905437, -0.4066283404827118, 0.1688907891511917, -0.11687242239713669, 0.23089967668056488, -0.11377168446779251, -0.7634117007255554, -0.5163697004318237, -0.15133844316005707, -0.5536162257194519, 0.3763568103313446, -0.4699268043041229, 0.24408192932605743, -0.11779196560382843, -0.3665222227573395, 0.04562252387404442, -0.053520869463682175, -0.5125552415847778, -0.03388344123959541, 0.10658685863018036, 0.663408637046814, -0.34139594435691833, 0.9165113568305969, 0.5973425507545471, 0.0021362171974033117, -0.2827436923980713, 0.03157031163573265, 0.09643367677927017, -1.0563488006591797, 0.9304540753364563, 0.05818118527531624, -0.48286667466163635, -0.12289220094680786, -0.26307329535484314, -0.6579703688621521, 0.8494421243667603, 0.2954401671886444, -0.5706003904342651, 0.04166349396109581, 0.445991575717926, 0.4233194887638092, -0.3160487115383148, 0.42511633038520813, 0.8833973407745361, 0.22207114100456238, 0.14400117099285126, -1.2207025289535522, -0.14010700583457947, 0.2846592962741852, -0.142521470785141, 0.42562106251716614, -0.4982718229293823, 0.841097891330719, -0.27504706382751465, -0.3478269577026367, 0.23385383188724518, 0.16600610315799713, 0.08564223349094391, 0.5885782837867737, 0.29104822874069214, 0.3149451017379761, 0.43650752305984497, -0.015829425305128098, 1.0296125411987305, -0.11651518195867538, 0.24661919474601746, 1.064163327217102, -0.5991097092628479, 0.8421229124069214, 0.4935634434223175, -0.08782386034727097, 0.07229223847389221, 0.37314921617507935, 0.4488702118396759, 0.5945116877555847, 0.2132752239704132, -0.46091967821121216, -0.06069458648562431, -0.27211567759513855, -0.36866652965545654, 0.6520678400993347, 0.6737788915634155, -0.25380122661590576, -0.21017473936080933, 0.17991548776626587, -0.1832742989063263, -0.24537254869937897, -0.4912462830543518, 0.9171656966209412, 0.21713972091674805, -0.796285092830658, 0.7502085566520691, -0.13252170383930206, 0.7623618841171265, -0.48780930042266846, -0.009356551803648472, -0.25521594285964966, 0.5196726322174072, -0.1154564842581749, -0.8902536034584045, 0.18785688281059265, -0.08808299899101257, 0.04341796785593033, -0.06353483349084854, 0.9320534467697144, -0.18505021929740906, 0.05265749990940094, 0.47805359959602356, 0.47222164273262024, 0.33527514338493347, -0.5703359246253967, -0.36530327796936035, 0.2933359742164612, -0.1030135378241539, -0.14939777553081512, 0.4327295124530792, 0.9109945297241211, -0.1764795035123825, 0.8578357100486755, 0.5804933309555054, -0.04558124765753746, 0.1520218402147293, 0.05550083890557289, 0.8214637041091919, -0.5037669539451599, -0.06806521862745285, -0.9648285508155823, 0.06414008140563965, 0.06474939733743668, -0.3987905979156494, 0.9256938099861145, 0.4481140077114105, 1.022199273109436, 0.0021834038197994232, 0.7706131339073181, 0.14639905095100403, 0.4154564142227173, -0.6587068438529968, 0.49546128511428833, -0.4444986581802368, 0.51084965467453, 0.03859144449234009, -0.6303857564926147, -0.03518671542406082, 0.161003977060318, -0.6747645735740662, 0.07818279415369034, 0.5021964311599731, 0.7767125964164734, -0.1494593322277069, -0.00920844916254282, 0.754335343837738, 0.1054627001285553, 0.4926193952560425, 0.7242844104766846, 1.571373462677002, -0.29428941011428833, 0.646754801273346, 0.02696394734084606, -0.26578018069267273, -0.7238950729370117, -0.7870831489562988, -1.3216348886489868, -0.4140770137310028, -0.12801183760166168, 0.10507819056510925, 0.14139573276042938, 0.6198421120643616, 0.9603525400161743, -0.825832724571228, -0.37914085388183594, -0.19486235082149506, 0.11418776959180832, 0.07221712172031403, -0.1636076122522354, 0.14202259480953217, -0.5240330696105957, -0.5944363474845886, 0.5692399144172668, 0.5444021224975586, -0.06605713069438934, -0.18714462220668793, -0.05978379771113396, -0.016451014205813408, 0.37087199091911316, 1.1140862703323364, 0.3026537299156189, -0.7424773573875427, -0.1298799067735672, 0.013992855325341225, 0.023557834327220917, 0.02489871345460415, 1.120959997177124, -0.41833198070526123, 0.3878493010997772, 0.3626886308193207, 0.412985622882843, 0.31776946783065796, 0.03715422376990318, 0.5443199872970581, -0.637730062007904, -0.13232755661010742, 0.27991360425949097, 0.3199983537197113, 0.13861171901226044, -0.4086604714393616, 0.3198208510875702, -0.1765521615743637, -0.8250276446342468, -0.9344961047172546, 0.36830446124076843, -0.914975106716156, -0.376022070646286, 1.4802333116531372, -0.3780446946620941, -0.06969818472862244, -0.7844043374061584, -0.6124104857444763, -0.08087456226348877, -0.6216355562210083, 0.6984766125679016, 0.5536105036735535, -0.6566231846809387, 0.059845734387636185, -0.8622315526008606, 0.7144115567207336, 0.2354758232831955, -0.7463403344154358, 0.3451559245586395, 0.3431552052497864, 0.13262487947940826, 0.03346269205212593, 0.7980642914772034, -0.14197205007076263, 0.10634366422891617, -0.38043564558029175, -0.23700277507305145, -0.00437599653378129, -0.20904327929019928, -0.24117206037044525, -0.003727853996679187, 0.4845396876335144, -0.41492506861686707 ]
http://arxiv.org/abs/2402.17237v1
http://arxiv.org/pdf/2402.17237v1
Image-Text Matching with Multi-View Attention
2024-02-27T06:11:54
2024-02-27T06:11:54
Rui Cheng, Wanqing Cui
cs.CV
cs.CV, cs.CL
Existing two-stream models for image-text matching show good performance while ensuring retrieval speed and have received extensive attention from industry and academia. These methods use a single representation to encode image and text separately and get a matching score with cosine similarity or the inner product of vectors. However, the performance of the two-stream model is often sub-optimal. On the one hand, a single representation is challenging to cover complex content comprehensively. On the other hand, in this framework of lack of interaction, it is challenging to match multiple meanings which leads to information being ignored. To address the problems mentioned above and facilitate the performance of the two-stream model, we propose a multi-view attention approach for two-stream image-text matching MVAM (\textbf{M}ulti-\textbf{V}iew \textbf{A}ttention \textbf{M}odel). It first learns multiple image and text representations by diverse attention heads with different view codes. And then concatenate these representations into one for matching. A diversity objective is also used to promote diversity between attention heads. With this method, models are able to encode images and text from different views and attend to more key points. So we can get representations that contain more information. When doing retrieval tasks, the matching scores between images and texts can be calculated from different aspects, leading to better matching performance. Experiment results on MSCOCO and Flickr30K show that our proposed model brings improvements over existing models. Further case studies show that different attention heads can focus on different contents and finally obtain a more comprehensive representation.
[ -0.37393325567245483, -0.2382393479347229, 0.7242158651351929, 0.3105456531047821, -0.7276164889335632, -0.2193613052368164, 0.25360751152038574, -0.6870230436325073, 0.31762829422950745, 0.6769813895225525, -0.4317956268787384, -0.012410130351781845, -0.7663226127624512, -0.0182692501693964, -0.3481452763080597, 0.6067502498626709, -0.28826606273651123, -0.07720789313316345, -0.4348609745502472, -0.5743964910507202, -0.7462591528892517, -0.13244976103305817, -0.4164639711380005, 0.03645547106862068, 0.6636098027229309, 0.2222413271665573, 0.3345475494861603, 0.8477939963340759, 1.1177067756652832, 0.2926153540611267, 0.05098504200577736, 0.5312346816062927, -0.6066710948944092, 0.2846700847148895, -0.2581867575645447, -0.1116371676325798, -0.24005641043186188, 0.19925066828727722, 0.6675382852554321, 0.11490678042173386, 0.1984192132949829, 0.3207024335861206, 0.17114579677581787, 0.8577113747596741, -0.9354887008666992, 0.09271695464849472, -0.6930878162384033, 0.06107453629374504, -0.009092355147004128, -0.5777879953384399, -0.4823402464389801, -0.15172508358955383, 0.2659186124801636, -0.4587599039077759, 0.049397725611925125, 0.28255966305732727, 1.002756118774414, 0.3254990875720978, -0.5716681480407715, -0.10307922214269638, -0.4379670023918152, 0.8149005770683289, -0.1735832244157791, 0.30220940709114075, 0.15433785319328308, 0.22404533624649048, 0.3983663320541382, -0.2541743218898773, -0.37930622696876526, 0.41368040442466736, -0.13336797058582306, 0.5573252439498901, -0.026595493778586388, -0.22195523977279663, -0.11957822740077972, 0.4170738160610199, -0.4478827714920044, -0.23358610272407532, -0.22200888395309448, 0.026067441329360008, 0.31859320402145386, 0.04040408506989479, 0.14652428030967712, -0.0007675715605728328, -0.8270921111106873, -0.2378728836774826, -0.20403054356575012, -0.20013558864593506, 0.29738691449165344, 0.07477585971355438, -0.050204087048769, 0.6118724346160889, -0.10346915572881699, 0.5964900255203247, -0.007707467768341303, -0.1865539699792862, 0.26435548067092896, -0.4213820993900299, -0.17047445476055145, -0.20546962320804596, 0.5289890170097351, 0.8612228035926819, 0.3287622332572937, 0.01408335380256176, 0.017961734905838966, 0.15065649151802063, 0.37903282046318054, -0.9122006893157959, -0.016749264672398567, 0.036195531487464905, -0.9193952679634094, -0.12926824390888214, -0.030994132161140442, -1.0182493925094604, -0.4094286262989044, -0.35942554473876953, 0.7921745777130127, -0.2685844600200653, -0.2747226059436798, -0.009876740165054798, -0.2585814893245697, 0.3909023702144623, 0.4681851267814636, -0.7718920707702637, 0.03675081208348274, 0.36460164189338684, 0.9700174927711487, -0.2395452857017517, -0.24738940596580505, -0.6993640661239624, 0.2281624972820282, -0.10512574017047882, 1.1326631307601929, -0.7377363443374634, 0.09875304996967316, -0.0056058368645608425, -0.40087026357650757, -0.2050144225358963, -0.3496955335140228, 0.3315771222114563, -0.713180661201477, 0.2358476221561432, -0.20110931992530823, -0.5134961009025574, -0.3939959406852722, 0.4474891126155853, -0.8676891326904297, 0.8647782802581787, -0.00914682261645794, -1.0291495323181152, 0.04631172493100166, -0.550837516784668, -0.3413334786891937, -0.04106197506189346, -0.144941508769989, -0.5697281360626221, 0.06964309513568878, 0.3867725729942322, 0.4084879755973816, -0.27467167377471924, -0.36032888293266296, -0.5054638981819153, -0.3986481726169586, -0.021573079749941826, -0.30100956559181213, 0.19418199360370636, -0.08535666763782501, 0.09102273732423782, -0.026679616421461105, -0.47206297516822815, 0.061571020632982254, 0.12105128914117813, -0.3784545958042145, -0.5867900252342224, 0.15134386718273163, 0.606140673160553, 0.4149843454360962, 0.30668625235557556, -0.2330162525177002, -0.025928637012839317, -0.2635107934474945, 0.10911337286233902, 0.5736322999000549, 0.043807901442050934, 0.5521188974380493, -0.24264967441558838, 0.3547731935977936, 0.3898833692073822, 0.06970793008804321, -0.8447475433349609, -0.5257598757743835, -0.6052927374839783, -0.25415781140327454, 0.19183656573295593, 0.5659208297729492, -0.6629981398582458, -0.0023944121785461903, -0.09367898106575012, -0.19696226716041565, -0.9685421586036682, 0.006366332992911339, 0.6230419874191284, 0.38818359375, 0.6156085729598999, -0.7135687470436096, -0.36472833156585693, -1.0557706356048584, -0.5415701866149902, 0.34025970101356506, 0.11151642352342606, 0.7311874032020569, 0.3494259715080261, 0.009909387677907944, 0.6217571496963501, -0.67188960313797, -0.8407145142555237, -0.10703018307685852, -0.12305960059165955, -0.08101631700992584, 0.2919277846813202, 0.7981370687484741, -1.2257602214813232, -0.6923945546150208, 0.1387903392314911, -0.5976715683937073, 0.2904769778251648, 0.004354517441242933, -0.46406710147857666, 0.05758966878056526, 0.024450108408927917, -0.1139010563492775, 0.4703318476676941, 0.7447770237922668, -0.21247465908527374, 0.125403493642807, -0.16557802259922028, 0.6615124344825745, -1.3702938556671143, -0.177669495344162, 0.38206157088279724, -0.270525723695755, -0.44354069232940674, 0.32075509428977966, 0.3737468123435974, 0.0968749076128006, -0.5900421738624573, 0.5027931928634644, -0.6218898892402649, -0.12336326390504837, -0.5971574187278748, 0.4003432095050812, 0.3652200996875763, 0.7488137483596802, 0.21213564276695251, 0.5007110834121704, 0.7196815609931946, -0.4282276928424835, 0.18000727891921997, 0.19149397313594818, -0.07978940010070801, 0.9183616638183594, -0.5981205105781555, 0.3957047462463379, -0.49765023589134216, 0.048564571887254715, -1.3108844757080078, -0.2752783000469208, 0.24418681859970093, -0.4248877763748169, 0.3095361590385437, -0.24754446744918823, -0.4178466796875, -0.18080158531665802, -0.5619705319404602, 0.727921187877655, 0.16199250519275665, -0.5566283464431763, 0.7966785430908203, 0.3654523491859436, -0.011634734459221363, -0.6304391622543335, -0.5295159220695496, 0.10848233848810196, 0.032606977969408035, -0.6302518844604492, 0.45467686653137207, -0.07289291173219681, 0.3292096257209778, 0.12938722968101501, -0.1531670093536377, -0.28253546357154846, -0.20976285636425018, 0.015117642469704151, 0.4070312976837158, -0.0982980951666832, -0.07730250805616379, 0.18506008386611938, -0.12975385785102844, -0.40534451603889465, -0.3837748169898987, 0.3398266136646271, 0.12431786209344864, -0.32827845215797424, -0.45158565044403076, 1.0425102710723877, 0.5717746615409851, -0.604185938835144, 0.7685936689376831, 0.5882211327552795, -0.473783940076828, 0.4070989191532135, -0.6999439001083374, 0.031982988119125366, -0.4204727113246918, 0.5307168364524841, -0.38981854915618896, -0.7455214858055115, 0.3121793270111084, 0.20905959606170654, 0.1351580172777176, 0.26993754506111145, 0.553622841835022, -0.32702621817588806, 1.1253941059112549, 0.9080591797828674, -0.006233287509530783, 0.5019070506095886, 0.0009149824036285281, 0.11191452294588089, -1.0624172687530518, -0.3438502252101898, -0.45167407393455505, -0.6448347568511963, -0.32541704177856445, -0.5250680446624756, 0.2118687778711319, -0.22600118815898895, 0.2933257818222046, 0.581646203994751, -0.7537372708320618, 0.7421003580093384, 0.5928510427474976, 0.233188197016716, 0.3469173014163971, 0.17678368091583252, 0.05548621714115143, -0.3372708857059479, -0.3119463324546814, -0.4407707750797272, 0.876788854598999, 0.15590627491474152, 0.7759596109390259, 0.190399631857872, 0.4790264964103699, -0.08388713002204895, 0.21304288506507874, -0.7247277498245239, 0.314910352230072, -0.4649331569671631, -0.3702675402164459, 0.26776450872421265, -0.42331963777542114, -0.7773730158805847, 0.914108395576477, -0.2466561198234558, -0.6675752997398376, 0.20664480328559875, 0.3024289011955261, 0.012521876953542233, 0.11258139461278915, -0.8876575231552124, 0.847262442111969, 0.04905731976032257, -0.3589213788509369, -0.3192409574985504, -0.6977648735046387, 0.4459034502506256, -0.06787725538015366, 0.24591070413589478, -0.14892791211605072, -0.08517417311668396, 0.5380827188491821, 0.3175572454929352, 0.4341420531272888, 0.11233963072299957, 0.00471891276538372, -0.054872963577508926, -0.18144351243972778, 0.25263288617134094, 0.034848980605602264, 0.2117040604352951, -0.18799924850463867, 0.0556262843310833, -0.44284528493881226, -0.2936980724334717, 0.5081961750984192, -0.5571005940437317, -0.27302706241607666, -0.45087745785713196, -0.5879133343696594, 0.10141000896692276, 0.33038854598999023, 0.38665878772735596, 0.4775632321834564, 0.07617148756980896, 0.16013216972351074, 0.9059990048408508, 0.062076106667518616, 0.4809992015361786, 0.3597637116909027, -0.1641528308391571, -0.3650034964084625, 0.61284339427948, -0.2987362742424011, 0.2293495237827301, 0.8869422674179077, -0.1653706133365631, -0.35636261105537415, -0.27374815940856934, -0.3561680316925049, 0.14827735722064972, -0.7614970207214355, -0.38082796335220337, -0.8527470827102661, -0.06355710327625275, -0.2953186333179474, 0.09861001372337341, -0.3520558476448059, 0.19446758925914764, -0.5050926804542542, 0.5655449628829956, 0.20374871790409088, 0.2921126186847687, 0.3956962525844574, 0.17054758965969086, -0.9131332635879517, 0.8230849504470825, 0.4569491147994995, 0.5746797919273376, 0.18271112442016602, -0.6357530355453491, -0.327280730009079, -0.21045748889446259, -0.5959389805793762, -1.107397437095642, 0.22613246738910675, 0.309162437915802, 0.3957761526107788, 0.33685851097106934, -0.10927532613277435, 0.6361904144287109, -0.7006999850273132, 0.13408122956752777, 0.42573800683021545, -0.7106850147247314, 0.6684677004814148, -0.06365212053060532, 0.524619460105896, 0.5203619003295898, 0.16521140933036804, -0.7114905714988708, -0.48771706223487854, -0.2067616879940033, -0.843258798122406, 0.8382443189620972, 0.4086102545261383, 0.2840268313884735, 0.2911572754383087, 0.3054601848125458, -0.011272653006017208, 0.035760506987571716, -0.719957172870636, -0.217776820063591, -0.1280064433813095, -0.48744916915893555, 0.27033257484436035, -0.24983446300029755, 0.12047174572944641, 0.04957081750035286, 0.4239645302295685, -0.305473268032074, 0.5106224417686462, 0.13290509581565857, -0.2505177855491638, -0.14680658280849457, -0.00309099187143147, 0.403812050819397, 0.3560890257358551, -0.053670454770326614, 0.18469753861427307, -0.2975009083747864, -0.8038992285728455, 0.08585838973522186, 0.1980111002922058, -0.05753987655043602, -0.09393824636936188, 0.2685868442058563, 0.86567622423172, 0.09098692238330841, -0.5800400376319885, 0.531372606754303, -0.2985549867153168, -0.1619434356689453, 0.20982876420021057, 0.03822491317987442, 0.36553311347961426, 0.38951805233955383, 0.617656946182251, 0.648269772529602, 0.38518887758255005, -0.45687171816825867, 0.09785468131303787, 0.4304082691669464, -0.447174996137619, 0.04513714462518692, 0.844514787197113, 0.25467053055763245, -0.33980461955070496, 0.3543755114078522, -0.11904661357402802, -0.5535621643066406, 0.7565782070159912, 0.18265891075134277, 0.7779591083526611, 0.0027462372090667486, -0.12002642452716827, 0.24946224689483643, 0.17541033029556274, -0.21923276782035828, 0.35963794589042664, 0.025100644677877426, -0.6828040480613708, -0.5336710214614868, -0.4165097773075104, -0.39174017310142517, -0.11369745433330536, -0.7848951816558838, 0.1929023414850235, 0.06224583834409714, 0.09794113785028458, 0.18871665000915527, -0.1291709691286087, -0.6809374690055847, 0.23563097417354584, 0.3422127664089203, 0.6206080317497253, -0.6748813390731812, 0.7088876366615295, 0.8739433884620667, -0.32902589440345764, -0.570523202419281, 0.26964494585990906, -0.04643374681472778, -0.5472031235694885, -0.02166227251291275, 0.673048198223114, -0.218556746840477, 0.08773092925548553, -0.2852042317390442, -0.9045212864875793, 0.9605438113212585, 0.24271917343139648, -0.7632812857627869, 0.21075977385044098, -0.42593854665756226, 0.2664965093135834, -0.6060110926628113, 0.3623729646205902, 0.17031122744083405, 0.26341545581817627, 0.329632431268692, -0.6386561989784241, -0.17216546833515167, -0.23854412138462067, 0.2624618709087372, 0.35299405455589294, -0.9247303009033203, 0.7389127612113953, -0.3526553809642792, -0.28707778453826904, 0.08839714527130127, 0.7621057629585266, 0.3370235562324524, 0.3473828434944153, 0.36856523156166077, 0.44195419549942017, 0.2694048285484314, 0.0685056746006012, 0.8493002653121948, -0.005233542062342167, 0.759242832660675, 0.9926164150238037, -0.4106457829475403, 1.0487521886825562, 0.6141706705093384, -0.07737334072589874, 0.09456036239862442, 0.6346806883811951, -0.06694106757640839, 1.0178312063217163, -0.36406710743904114, 0.10685025900602341, -0.31336137652397156, 0.01007729023694992, -0.2730239927768707, 0.33396413922309875, 0.0021354136988520622, -0.5896026492118835, -0.39802315831184387, 0.05713581293821335, -0.41539156436920166, 0.4812832176685333, -0.33369889855384827, 0.7383649945259094, -0.025105983018875122, -0.6941751837730408, 0.1089787632226944, 0.19947846233844757, 0.781784176826477, -0.18749742209911346, -0.08818531781435013, -0.1703435778617859, 0.40384551882743835, 0.1758490651845932, -0.921787440776825, 0.21098409593105316, -0.1276487410068512, -0.6380235552787781, -0.19770245254039764, 0.8645357489585876, -0.7840744256973267, -0.5331742167472839, 0.40533891320228577, 0.07611547410488129, 0.05138656497001648, -0.37889331579208374, -0.6582582592964172, 0.07578012347221375, 0.0070658777840435505, -0.14592096209526062, 0.38864371180534363, 0.21493743360042572, 0.07967435568571091, 0.3368771970272064, 0.11261918395757675, -0.4600135087966919, 0.1029055267572403, 0.12312687188386917, 0.624052107334137, -0.2905159592628479, -0.6253020167350769, -0.8633480072021484, 0.29515185952186584, -0.18083640933036804, -0.44007015228271484, 0.31095895171165466, 0.6867449879646301, 0.45168209075927734, -0.1820303052663803, 0.6949948668479919, 0.17587655782699585, 0.37438154220581055, -0.4774931073188782, 0.5788845419883728, -0.9974851012229919, -0.34364935755729675, -0.5575592517852783, -1.2706118822097778, -0.2630905210971832, 0.6523452401161194, 0.3240341246128082, 0.08266466110944748, 0.8543140888214111, 0.5033495426177979, -0.3652099668979645, -0.18439213931560516, 0.1886289268732071, -0.294225811958313, 0.06772099435329437, 1.0600671768188477, 0.577812910079956, -0.9206317067146301, 0.9018896222114563, 0.12740127742290497, -0.25300267338752747, -0.4860789179801941, -0.8247597217559814, -0.8827441930770874, -0.7229445576667786, -0.4874439239501953, -0.13118882477283478, -0.07322821021080017, 0.40328818559646606, 0.7559120655059814, -0.4347924292087555, 0.28779879212379456, 0.45077449083328247, 0.0600501149892807, -0.5175381302833557, -0.1435774266719818, 0.437004417181015, 0.045197535306215286, -0.9821438193321228, -0.16296392679214478, 0.9600555896759033, 0.08641745150089264, -0.18859852850437164, 0.06581676006317139, -0.5413504838943481, 0.3606373965740204, 0.698668897151947, -0.16126398742198944, -0.638397753238678, -0.1951228529214859, 0.19237567484378815, -0.3711874485015869, 0.3292945623397827, 0.618934154510498, -0.5392002463340759, 0.4902915954589844, 0.5352608561515808, 0.7774137854576111, 0.8482709527015686, 0.012564385309815407, 0.03778615966439247, -0.9406185746192932, 0.1506337821483612, 0.12961965799331665, 0.3642745912075043, 0.47354769706726074, -0.40786951780319214, 0.22633139789104462, 0.16771705448627472, -0.32630643248558044, -0.43281978368759155, 0.39022305607795715, -1.3844634294509888, -0.14068715274333954, 0.942020058631897, -0.05446280539035797, -0.13480599224567413, 0.1313621550798416, -0.5030549764633179, 0.1926414966583252, -0.343201220035553, 0.7973935604095459, 0.8240481019020081, 0.13870300352573395, -0.7026116251945496, -0.4272427558898926, -0.17854228615760803, 0.38907942175865173, -0.7730942368507385, -0.3189537525177002, 0.21203826367855072, 0.13549742102622986, 0.22423025965690613, 0.5925746560096741, -0.03638667240738869, 0.5017786622047424, -0.27063947916030884, -0.041450221091508865, 0.1997743397951126, -0.33866891264915466, -0.08126670867204666, 0.30020642280578613, -0.3736259639263153, -0.7906515598297119 ]
http://arxiv.org/abs/2402.17231v3
http://arxiv.org/pdf/2402.17231v3
MATHSENSEI: A Tool-Augmented Large Language Model for Mathematical Reasoning
2024-02-27T05:50:35
2024-04-03T15:22:35
Debrup Das, Debopriyo Banerjee, Somak Aditya, Ashish Kulkarni
cs.CL
cs.CL
Tool-augmented Large Language Models (TALMs) are known to enhance the skillset of large language models (LLMs), thereby, leading to their improved reasoning abilities across many tasks. While, TALMs have been successfully employed in different question-answering benchmarks, their efficacy on complex mathematical reasoning benchmarks, and the potential complementary benefits offered by tools for knowledge retrieval and mathematical equation solving are open research questions. In this work, we present MathSensei, a tool-augmented large language model for mathematical reasoning. We study the complementary benefits of the tools - knowledge retriever (Bing Web Search), program generator + executor (Python), and symbolic equation solver (Wolfram-Alpha API) through evaluations on mathematical reasoning datasets. We perform exhaustive ablations on MATH, a popular dataset for evaluating mathematical reasoning on diverse mathematical disciplines. We also conduct experiments involving well-known tool planners to study the impact of tool sequencing on the model performance. MathSensei achieves 13.5% better accuracy over gpt-3.5-turbo with Chain-of-Thought on the MATH dataset. We further observe that TALMs are not as effective for simpler math word problems (in GSM-8K), and the benefit increases as the complexity and required knowledge increases (progressively over AQuA, MMLU-Math, and higher level complex questions in MATH). The code and data are available at https://github.com/Debrup-61/MathSensei.
[ -0.34488844871520996, -0.8281168341636658, 0.510783314704895, 0.23813746869564056, -0.2590845227241516, 0.10589620471000671, -0.30844801664352417, -0.26192280650138855, -0.09493019431829453, 0.36236557364463806, -0.37355226278305054, -0.51268070936203, -0.6227043271064758, 0.08704261481761932, -0.36524006724357605, 0.5935639142990112, -0.1583913415670395, 0.33928942680358887, -0.3433960974216461, -0.055226828902959824, -0.6112781763076782, -0.5202861428260803, -0.6505220532417297, -0.6043277382850647, 0.40359193086624146, 0.08798877894878387, 1.006069302558899, 0.2392219603061676, 0.6193370223045349, 0.3404184579849243, -0.10364442318677902, 0.029359273612499237, -0.22237439453601837, 0.21023108065128326, -0.21927666664123535, -0.9707335233688354, -0.27884989976882935, -0.14587101340293884, 0.39953288435935974, 0.9397604465484619, -0.15235461294651031, 0.09379225969314575, -0.20852988958358765, 0.47333067655563354, -0.7727370858192444, 0.23222748935222626, -0.5276147127151489, -0.014413329772651196, -0.18528570234775543, 0.1551322638988495, -0.2772364616394043, -0.6268479824066162, 0.10716529935598373, -0.7495366930961609, 0.02349063940346241, -0.13810011744499207, 0.37802961468696594, 0.49948370456695557, -0.23644043505191803, -0.3625810444355011, -0.5399160981178284, 0.9863874316215515, -0.7183747291564941, 0.5608375072479248, 0.5483282208442688, 0.524154543876648, -0.21721234917640686, -0.5203929543495178, -0.3437860608100891, 0.027281232178211212, 0.00725397327914834, 0.11500708758831024, -0.11889069527387619, -0.34986746311187744, 0.7002318501472473, 0.25037986040115356, -0.589514970779419, 0.030940670520067215, -0.20018403232097626, -0.20790164172649384, 0.4539966881275177, 0.37226319313049316, 0.3184134364128113, -0.10425347089767456, 0.18430860340595245, -0.2715721130371094, -0.8240574598312378, -0.04455893114209175, 0.14020952582359314, 0.041238557547330856, -0.07016988843679428, 0.8544502258300781, -0.026883602142333984, 0.6726658940315247, -0.5204264521598816, -0.06545286625623703, 0.25901880860328674, -0.07895873486995697, -0.16517409682273865, 0.25086453557014465, 0.520302951335907, -0.12122385203838348, 0.3672604262828827, -0.10024674236774445, -0.17462247610092163, 0.3235087990760803, 0.056309718638658524, -0.9869440197944641, -0.11955120414495468, 0.11515231430530548, -0.16679973900318146, -0.06666823476552963, -0.017563067376613617, -0.5037407279014587, -0.45292964577674866, -0.541886568069458, 0.43935921788215637, -0.6355841755867004, -0.2956044375896454, 0.5506947040557861, -0.3570234775543213, -0.09047646075487137, 0.7868400812149048, -0.1957942545413971, 0.10888566821813583, 0.9017289876937866, 0.829760730266571, 0.11351780593395233, -0.003705389564856887, -0.8011709451675415, -0.0656149685382843, -0.4813108444213867, 0.47259101271629333, -0.9157669544219971, -0.619767963886261, -0.11784353852272034, -0.2558368444442749, -0.004527456127107143, -0.5732322335243225, 0.5532388687133789, -0.6512265801429749, 0.39565032720565796, -0.3289852738380432, -0.5393051505088806, -0.2534448206424713, 0.13980570435523987, -0.8087929487228394, 0.9983999729156494, -0.09217310696840286, -0.6384786367416382, -0.0156340803951025, -0.8212075233459473, -0.37203505635261536, 0.11008547246456146, -0.13045215606689453, -0.2868843674659729, 0.2657283544540405, 0.31753411889076233, 0.10410218685865402, -0.8500921726226807, 0.4033033847808838, -0.4558490216732025, -0.36001700162887573, 0.47538095712661743, -0.4900864064693451, 0.893129825592041, 0.31124404072761536, -0.34934699535369873, -0.22792430222034454, -0.4649205207824707, -0.020759373903274536, 0.4441737234592438, 0.06745284050703049, -0.5283650755882263, -0.19935795664787292, -0.44911637902259827, 0.21036173403263092, 0.37639591097831726, -0.6823469400405884, 0.04929499328136444, -0.4901324510574341, -0.008521622978150845, 0.6588159799575806, -0.23065488040447235, 0.2460424304008484, -0.15600766241550446, 0.7494685053825378, -0.0002338091580895707, -0.10344668477773666, -0.26278847455978394, -0.5614194273948669, -0.571096658706665, -0.14837205410003662, 0.4920401871204376, 0.44352880120277405, -0.9670376777648926, 0.17217226326465607, -0.3282712399959564, -0.5153891444206238, -0.3186664581298828, 0.0229183416813612, 0.47291648387908936, 0.5062338709831238, 0.24768096208572388, 0.20413538813591003, -0.12346363812685013, -0.7498951554298401, -0.4829310476779938, 0.2779068946838379, -0.19801922142505646, 0.24603506922721863, 0.44719061255455017, 0.010085299611091614, 0.9058145880699158, -0.9495653510093689, -0.007972454652190208, -0.10348214954137802, 0.337001234292984, 0.5526569485664368, -0.012953972443938255, 0.4178865849971771, -0.8769794702529907, -0.474064439535141, 0.019823107868433, -0.8074018955230713, -0.4442669451236725, 0.21089641749858856, -0.20692667365074158, -0.05568086355924606, 0.18546488881111145, -0.7220568060874939, 0.5856426954269409, 0.2520683705806732, -0.23929230868816376, 0.7304157614707947, 0.10952012985944748, 0.10027716308832169, -1.0090842247009277, 0.3498167097568512, 0.2031567245721817, -0.05188242718577385, -0.4073062241077423, 0.09157805889844894, 0.055773116648197174, -0.36736029386520386, -0.2900645434856415, 0.8625773787498474, -0.10302916914224625, -0.07940326631069183, -0.32799845933914185, 0.34465840458869934, -0.05842944234609604, 0.3262779116630554, -0.027296029031276703, 1.242119312286377, 0.4748590588569641, -0.4444521963596344, 0.3780832588672638, 0.2815130650997162, -0.323982834815979, 0.5008665323257446, -0.8983398675918579, 0.01571565866470337, -0.11127710342407227, 0.006517026573419571, -0.7023019790649414, -0.04343738406896591, -0.029811235144734383, -0.44862860441207886, 0.039703045040369034, -0.12713630497455597, -1.04205322265625, -0.31611281633377075, -0.11808072030544281, 0.5146476626396179, 0.5501529574394226, -0.6212974190711975, 0.8615989089012146, 0.2760515511035919, -0.5977499485015869, -0.49638962745666504, -0.2303801327943802, -0.04784012958407402, -0.08264970034360886, -0.5012224316596985, -0.06540122628211975, -0.02588469162583351, -0.4978177547454834, 0.1486242413520813, -0.2555866539478302, 0.047359317541122437, 0.1459721028804779, 0.15337760746479034, 0.5319353342056274, -0.03498842194676399, 0.48266810178756714, 0.36879152059555054, -0.430458664894104, 0.21643796563148499, -0.0036017338279634714, 0.9083172678947449, -0.2701568007469177, -0.6811211109161377, 0.01155202928930521, 0.05653536319732666, 0.4949221611022949, -0.5525302886962891, 0.620033860206604, 0.4496820271015167, -0.5151562094688416, 0.15873947739601135, -0.5961898565292358, -0.2113880068063736, -0.428828626871109, 0.2265116572380066, -0.6872382164001465, -0.7911854982376099, 0.495797723531723, -0.47881871461868286, 0.3787444233894348, 0.5299726128578186, 0.506733238697052, 0.25820639729499817, 1.5977078676223755, -0.22405065596103668, -0.09804043918848038, 0.13612738251686096, -0.27741849422454834, 0.11449804902076721, -0.7430826425552368, -0.14787641167640686, -0.8098780512809753, -0.2640840411186218, 0.11228630691766739, -0.2566351592540741, 0.5814904570579529, 0.19691629707813263, -0.3275641202926636, 0.26841139793395996, -0.28836145997047424, 0.4567948281764984, 0.4871250092983246, 0.019215038046240807, 0.5146669149398804, 0.09956896305084229, -0.4831663966178894, -0.2125513255596161, -0.6454277038574219, -0.2921137809753418, 1.0092002153396606, 0.06761400401592255, 1.0175328254699707, 0.32183554768562317, 0.24102497100830078, 0.0028158577624708414, 0.3689292073249817, -0.7231582403182983, 0.6557472944259644, -0.18984781205654144, -0.4536961317062378, -0.18819203972816467, -0.8555333018302917, -1.0603631734848022, 0.41596299409866333, 0.011991257779300213, -0.6475278735160828, -0.32972195744514465, -0.19538435339927673, -0.04150071740150452, 0.2198813259601593, -0.7176855802536011, 0.5587601065635681, -0.4180709421634674, -0.4078713655471802, -0.5965380072593689, -0.3090266287326813, 0.35153311491012573, -0.4386323392391205, 0.2958548963069916, -0.13233649730682373, -0.012007791548967361, 0.6514089703559875, -0.5782198309898376, 0.6324895024299622, -0.19986923038959503, -0.4578112065792084, -0.018382713198661804, 0.40612348914146423, 0.5376319885253906, 0.04913778603076935, -0.27910318970680237, 0.26570290327072144, 0.05239317938685417, -0.08681105077266693, -1.116285800933838, 0.8608925342559814, -0.6899811029434204, -0.8292140960693359, -0.31930893659591675, -0.9099252223968506, -0.2682011127471924, 0.5033562183380127, -0.16720212996006012, 0.9159361720085144, 0.41472816467285156, 0.3655894100666046, 0.6602262258529663, -0.3616655170917511, 0.13940472900867462, 0.3095988631248474, -0.6066043972969055, -0.6199266910552979, 0.5443559288978577, 0.10384417325258255, 0.09184513986110687, 0.3135389983654022, 0.351082980632782, -0.6457922458648682, 0.061889540404081345, -0.46651726961135864, 0.5112059116363525, -0.7195956110954285, -0.37946847081184387, -0.6333852410316467, -0.25938451290130615, -0.04861164838075638, -0.08511218428611755, -0.26063618063926697, -0.7501062750816345, 0.05753566697239876, 0.318433552980423, 0.5505592823028564, 0.24860922992229462, 0.20817264914512634, 0.17510168254375458, -0.8305253386497498, 0.4392116069793701, 0.07539726048707962, 0.48828643560409546, 0.14810499548912048, -0.2838684022426605, -0.22870303690433502, 0.5243619680404663, -0.14529772102832794, -0.5356621146202087, 0.17401641607284546, -0.1924072504043579, 0.5270823836326599, 0.21914157271385193, 0.03404557332396507, 0.7164096832275391, -0.43380042910575867, 0.3206746280193329, 0.3589879274368286, -0.9099266529083252, 0.5504288077354431, -0.152963325381279, 0.8138225078582764, 0.17611749470233917, 0.3535098135471344, -0.44415485858917236, -0.33629631996154785, -0.5304759740829468, -0.19802550971508026, 0.6713882684707642, 0.53406822681427, -0.13038885593414307, 0.08160492777824402, 0.22823794186115265, 0.16083602607250214, 0.31163352727890015, -0.007818012498319149, -0.1392340064048767, -0.06272095441818237, -0.39907190203666687, -0.003970195539295673, 0.23474150896072388, -0.2524474263191223, -0.2629064917564392, 0.8048075437545776, -0.0916488766670227, 0.16207388043403625, -0.19016984105110168, -0.36920586228370667, -0.031783152371644974, 0.2743135690689087, 0.46491938829421997, 0.7385817170143127, 0.11163302510976791, 0.2565281391143799, 0.19740702211856842, -0.5883702039718628, -0.012711171992123127, 0.5819849371910095, 0.014602698385715485, 0.18796813488006592, 0.12404628098011017, 0.5976389646530151, 0.2771977186203003, -0.9600858688354492, 0.3630472719669342, -0.09826517850160599, -0.22097589075565338, -0.2279726266860962, 0.2650207281112671, 0.13132236897945404, 0.18146532773971558, 0.4496176838874817, -0.12707017362117767, 0.04135318100452423, -0.07493612915277481, -0.12639543414115906, 0.5904396772384644, 0.0325004979968071, -0.19649283587932587, 0.6639057397842407, -0.08821508288383484, -0.33789515495300293, 0.6185154914855957, 0.07317544519901276, -0.7149035930633545, 0.6396109461784363, 0.6633971929550171, 0.5136756896972656, -0.14308229088783264, 0.0843517929315567, 0.2823317348957062, 0.07008294016122818, -0.029870091006159782, 0.38477861881256104, 0.03762439265847206, -0.5906950235366821, -0.8201716542243958, -0.4668358862400055, -0.33852526545524597, -0.02351469360291958, -0.43990978598594666, 0.4034518301486969, -0.31305596232414246, -0.3016114830970764, -0.05541194602847099, 0.030841199681162834, -0.7845314741134644, -0.056841108947992325, -0.2840796411037445, 1.0988805294036865, -0.4344664514064789, 0.3903109133243561, 0.8187316060066223, -0.21812480688095093, -0.7079010009765625, -0.3749747574329376, -0.035174544900655746, -0.9026888608932495, 0.733782947063446, 0.26033467054367065, -0.2908170819282532, 0.2199493944644928, -0.37360790371894836, -0.9075721502304077, 0.9801304936408997, 0.5575600266456604, -0.547733724117279, 0.1752568483352661, 0.455161988735199, 0.39932501316070557, 0.1673058718442917, 0.3407658338546753, 0.19057482481002808, 0.4428086578845978, 0.5229193568229675, -1.0010689496994019, 0.08216792345046997, -0.49858537316322327, -0.10043280571699142, 1.0138353109359741, -0.179852694272995, 0.4586910307407379, -0.015593266114592552, -0.07385555654764175, 0.14288823306560516, 0.24180029332637787, 0.6109758615493774, 0.23667676746845245, 0.41621968150138855, 1.1455398797988892, 0.624443769454956, -0.19532226026058197, 1.0232343673706055, -0.2892424464225769, 0.2543680965900421, 1.005092740058899, -0.3481905162334442, 0.560943067073822, 0.15342673659324646, -0.28332918882369995, 0.4579371213912964, 0.1456972360610962, 0.07000040262937546, 0.2220257818698883, -0.013434190303087234, -0.3242250978946686, -0.6325050592422485, -0.3055700957775116, -0.6122128367424011, 0.23142394423484802, 0.5685297846794128, -0.06365714967250824, -0.705631673336029, 0.094442218542099, 0.22517897188663483, -0.07381661981344223, -0.3210628628730774, 0.5019405484199524, 0.31939488649368286, -0.5343259572982788, 0.41375046968460083, 0.0010071350261569023, 0.09178724884986877, -0.6147261261940002, -0.24490515887737274, 0.012236385606229305, 0.27605539560317993, 0.054291870445013046, -1.0117526054382324, 0.11339867115020752, 0.12528684735298157, 0.14866377413272858, 0.20313507318496704, 0.8420946598052979, -0.14852464199066162, -0.8207349181175232, -0.19380658864974976, 0.6955142617225647, 0.0053203050047159195, -0.20373886823654175, -0.7975550889968872, 0.026813874021172523, -0.4030587375164032, 0.11055372655391693, 0.21666964888572693, 0.4970972239971161, -0.16873067617416382, 0.901552140712738, 1.0682071447372437, -0.038554802536964417, -0.009831182658672333, 0.4870679974555969, 0.9950801730155945, -0.4173397123813629, -0.3751116096973419, -0.8095107674598694, 0.4033157229423523, -0.3246377110481262, -0.0502639077603817, 0.9530178904533386, 0.8079423308372498, 0.5063344240188599, 0.03675488382577896, 0.634186327457428, 0.22657985985279083, 0.6197031736373901, -0.5316852927207947, 0.25577405095100403, -0.6109213829040527, 0.31533902883529663, -0.3502843379974365, -1.1720550060272217, -0.5668498873710632, 0.6016560196876526, -0.8052411675453186, 0.10588134825229645, 0.624926745891571, 0.5256949067115784, -0.31271249055862427, 0.35360434651374817, 0.12749943137168884, -0.02861282415688038, 0.42855843901634216, 0.45817750692367554, 0.9029358625411987, -0.24818064272403717, 0.4809384346008301, -0.1544785499572754, -0.2302015870809555, 0.018446415662765503, -0.5621777176856995, -1.0593911409378052, -0.2515462338924408, -0.13395018875598907, -0.20398765802383423, -0.2633494436740875, 0.9324480295181274, 0.16492484509944916, -0.32201460003852844, -0.08289740234613419, -0.16024596989154816, 0.14472807943820953, 0.1057487279176712, -0.2482708841562271, 0.3448236584663391, -0.40742817521095276, -0.7096666097640991, 0.06307218968868256, 0.3256532549858093, -0.18610455095767975, -0.12797796726226807, -0.05031823739409447, 0.059335749596357346, -0.08050993084907532, 0.7251825332641602, 0.017936794087290764, -0.5026087164878845, 0.09065447747707367, 0.38700708746910095, 0.20550194382667542, -0.2381676584482193, 0.955517590045929, -0.7871719598770142, 0.5217234492301941, 0.44106122851371765, 1.001628041267395, 0.4937998056411743, -0.08216685801744461, 0.5900673270225525, -0.3278551399707794, 0.10212194174528122, 0.14459864795207977, 0.6822712421417236, 0.07599788159132004, -0.15065991878509521, 0.6945402026176453, 0.1343701034784317, -0.1957232803106308, -0.7387038469314575, 0.2874223589897156, -0.43554484844207764, -0.3983612060546875, 1.0722846984863281, 0.17486120760440826, -0.021267445757985115, -0.02360309660434723, -0.36505675315856934, 0.14503894746303558, -0.29848799109458923, 0.7419629693031311, 0.8396821022033691, 0.1348034292459488, -0.27763670682907104, -0.42322278022766113, -0.16319845616817474, 0.6276194453239441, -0.9416124820709229, -0.09268084913492203, 0.5874675512313843, -0.014993051066994667, 0.2997359037399292, -0.0340033657848835, -0.4729025959968567, 0.48791974782943726, -0.2884678840637207, -0.13983242213726044, -0.3352460563182831, -0.24103710055351257, -0.09069186449050903, 0.08175840973854065, -0.09439992904663086, 0.24440224468708038 ]
http://arxiv.org/abs/2402.17226v1
http://arxiv.org/pdf/2402.17226v1
Reasoning in Conversation: Solving Subjective Tasks through Dialogue Simulation for Large Language Models
2024-02-27T05:37:10
2024-02-27T05:37:10
Xiaolong Wang, Yile Wang, Yuanchi Zhang, Fuwen Luo, Peng Li, Maosong Sun, Yang Liu
cs.CL
cs.CL
Large Language Models (LLMs) have achieved remarkable performance in objective tasks such as open-domain question answering and mathematical reasoning, which can often be solved through recalling learned factual knowledge or chain-of-thought style reasoning. However, we find that the performance of LLMs in subjective tasks is still unsatisfactory, such as metaphor recognition, dark humor detection, etc. Compared to objective tasks, subjective tasks focus more on interpretation or emotional response rather than a universally accepted reasoning pathway. Based on the characteristics of the tasks and the strong dialogue-generation capabilities of LLMs, we propose RiC (Reasoning in Conversation), a method that focuses on solving subjective tasks through dialogue simulation. The motivation of RiC is to mine useful contextual information by simulating dialogues instead of supplying chain-of-thought style rationales, thereby offering potential useful knowledge behind dialogues for giving the final answers. We evaluate both API-based and open-source LLMs including GPT-4, ChatGPT, and OpenChat across twelve tasks. Experimental results show that RiC can yield significant improvement compared with various baselines.
[ -0.4668918550014496, -0.9531944394111633, 0.8564972877502441, 0.25338709354400635, -0.3079850971698761, 0.10558471083641052, -0.5311990976333618, -0.41031813621520996, -0.046313244849443436, 0.5443233847618103, -0.5450828671455383, -0.6513976454734802, -0.2050890177488327, 0.042770158499479294, 0.07747741788625717, 0.7318212389945984, 0.0389326736330986, 0.3165086507797241, -0.6843099594116211, 0.10439004749059677, -0.5174565315246582, -0.71406489610672, -0.7345057129859924, -0.409016489982605, 0.28686341643333435, 0.6474553346633911, 0.36311838030815125, -0.1094827800989151, 0.6379925012588501, 0.37185007333755493, 0.05128583684563637, 0.18567776679992676, -0.5329471826553345, 0.39595669507980347, -0.2807329595088959, -0.7274162769317627, -0.33103519678115845, -0.1312866061925888, 0.4699503779411316, 0.683196485042572, -0.19516268372535706, 0.0066032917238771915, 0.02818709798157215, 0.4297570288181305, -0.31760770082473755, 0.4819096028804779, -0.704170286655426, -0.005660569295287132, 0.07798536121845245, -0.4036094844341278, -0.40292245149612427, -0.187995046377182, 0.22127163410186768, -0.4395948350429535, -0.06443262845277786, 0.2691739797592163, 0.4329829216003418, 0.18166835606098175, -0.10169040411710739, -0.4874404966831207, -1.1141294240951538, 1.0295825004577637, -1.052493691444397, 0.2051246017217636, 0.3272574543952942, 0.24062658846378326, -0.3364979922771454, -0.2764889895915985, -0.6346077919006348, -0.5582859516143799, 0.205565944314003, 0.2303880751132965, -0.13797049224376678, 0.3091922998428345, 0.3708009123802185, 0.29541897773742676, -0.3399869501590729, -0.10142043977975845, -0.13904058933258057, 0.006806808523833752, 0.4149235785007477, 0.3498205840587616, 0.23499980568885803, -0.08676151931285858, -0.07498592883348465, 0.12139026075601578, -0.6121776103973389, 0.062190085649490356, 0.1158759593963623, 0.31343457102775574, -0.15147854387760162, 0.5887532830238342, -0.23504546284675598, 0.5542569160461426, -0.13518404960632324, -0.4911317229270935, 0.019161174073815346, -0.17644965648651123, -0.2559317350387573, -0.03897832706570625, 0.7204163074493408, 0.3251844346523285, 0.2526039779186249, -0.14726361632347107, -0.007075911853462458, 0.03880362585186958, 0.1427953690290451, -0.6302133798599243, 0.021559065207839012, 0.41495341062545776, -0.39337244629859924, -0.10246047377586365, -0.4862390458583832, -0.4509407579898834, 0.022316383197903633, -0.7404441237449646, 0.22055383026599884, -0.44882509112358093, -0.25369077920913696, 0.2521606981754303, 0.07166509330272675, 0.17107197642326355, 0.7418773770332336, -0.44043195247650146, 0.3236594498157501, 0.7834820747375488, 0.8016937375068665, 0.013760876841843128, 0.14551541209220886, -0.4112691581249237, 0.10542542487382889, -0.22469626367092133, 0.9057891368865967, -0.743014395236969, -0.6312311291694641, -0.1016547903418541, -0.38983187079429626, 0.28394120931625366, -0.6410926580429077, 0.7031868696212769, -0.26067590713500977, 0.21666277945041656, -0.46937406063079834, -0.6002724170684814, 0.02509177289903164, 0.718401312828064, -0.23840945959091187, 0.8766235709190369, -0.13680985569953918, -0.7391201257705688, -0.08221273869276047, -0.7356182932853699, -0.2083033174276352, 0.1317196786403656, -0.24521614611148834, 0.015967998653650284, 0.07342889904975891, -0.004167961422353983, 0.45846012234687805, -0.6970705986022949, 0.44598397612571716, -0.4770645201206207, -0.40695807337760925, 0.5322539806365967, -0.2689111530780792, 0.45659640431404114, 0.29339513182640076, -0.31645989418029785, -0.04153214767575264, -0.31419575214385986, 0.06015941500663757, -0.007898605428636074, -0.1374090015888214, -0.27028900384902954, 0.2564392387866974, -0.4283149540424347, 0.22340889275074005, -0.0023297963198274374, -0.7560372352600098, 0.16313593089580536, -0.45546841621398926, 0.3722150921821594, 0.5276745557785034, -0.06783176958560944, 0.43695202469825745, -0.3036470413208008, 0.4906458258628845, 0.304110586643219, 0.15793806314468384, 0.04687568172812462, -0.7396366000175476, -0.957901120185852, -0.14166517555713654, 0.17702752351760864, 0.6677744388580322, -1.021539330482483, 0.15342290699481964, -0.22573041915893555, -0.4258480668067932, -0.2915116846561432, 0.041364025324583054, 0.4862072765827179, 0.5938615202903748, 0.0841524749994278, -0.5132598280906677, -0.4299537241458893, -0.8083422780036926, -0.19511310756206512, -0.6103832721710205, -0.03339363634586334, 0.6529534459114075, 0.3669261038303375, -0.04614228382706642, 1.08999502658844, -0.510421097278595, -0.14204542338848114, -0.40797626972198486, 0.40414902567863464, 0.19953343272209167, 0.303484708070755, 0.281288206577301, -0.4598575234413147, -0.31570810079574585, -0.09516914933919907, -0.8822963833808899, -0.20919851958751678, -0.07568765431642532, -0.25328245759010315, 0.11527413129806519, 0.5723537802696228, -0.6986854076385498, 0.18505160510540009, 0.43540647625923157, 0.1836102306842804, 0.7244438529014587, -0.06045105308294296, 0.07646645605564117, -0.8963326811790466, 0.05272109806537628, 0.2589944005012512, -0.5274456739425659, -0.5796554684638977, -0.27950599789619446, -0.5063309669494629, -0.3744913339614868, -0.5701209902763367, 0.6588019728660583, -0.3761712610721588, -0.33199068903923035, -0.3644554316997528, 0.45583099126815796, -0.18562713265419006, 0.7109248638153076, 0.22298935055732727, 0.7986616492271423, 0.493038535118103, -0.5706851482391357, 0.5569385290145874, 0.1644389033317566, -0.5381473302841187, 0.6372334361076355, -0.6443744897842407, 0.3424926996231079, -0.29542699456214905, 0.4382246434688568, -0.8148924112319946, -0.029576469212770462, 0.5090140700340271, -0.4035208821296692, 0.14262117445468903, -0.1650206744670868, -0.4557375907897949, -0.3585180640220642, -0.0219503715634346, 0.3980262279510498, 0.5150701403617859, -0.26392608880996704, 0.6908729076385498, 0.3471836745738983, -0.4403305947780609, -0.5248685479164124, -0.4676568806171417, 0.22803731262683868, -0.16991457343101501, -0.47791892290115356, 0.12746219336986542, -0.29889976978302, -0.6667107939720154, -0.03758767992258072, 0.03726748004555702, 0.1063137799501419, -0.023116348311305046, 0.1329582929611206, 0.21790574491024017, -0.0675964280962944, 0.10102174431085587, -0.1488514095544815, -0.09320524334907532, 0.3067695200443268, -0.20885129272937775, 0.587379515171051, -0.30359959602355957, -0.5515552163124084, -0.5962111353874207, 0.4546429216861725, 0.4261060059070587, -0.01113321166485548, 0.4882907569408417, 0.14322467148303986, -0.16077333688735962, -0.3070642054080963, -0.6507366895675659, -0.16136565804481506, -0.4694885313510895, 0.16786180436611176, -0.5435521602630615, -1.012634515762329, 0.4627901315689087, -0.4002605378627777, 0.12132405489683151, -0.2165963053703308, 0.7260973453521729, -0.3618985414505005, 1.0714057683944702, 0.15736821293830872, -0.02753966487944126, 0.39446303248405457, -0.046771273016929626, 0.6785640716552734, -0.8251285552978516, -0.29843464493751526, -0.6146150231361389, -0.19268372654914856, -0.2835004925727844, -0.8525366187095642, 0.6404825448989868, 0.006055466365069151, -0.18042856454849243, -0.0478910356760025, -0.3244969844818115, 0.5838376879692078, 0.7464717030525208, 0.17517982423305511, 0.4668692648410797, -0.11914432048797607, -0.07611449062824249, 0.013384394347667694, -0.5153317451477051, -0.785087525844574, 0.8892194628715515, 0.2851165235042572, 0.862636923789978, 0.015863800421357155, 0.5674251317977905, -0.026300176978111267, 0.6276201605796814, -0.9415475726127625, 0.9722931385040283, 0.14002397656440735, -0.6317046284675598, -0.12991099059581757, -0.7067481875419617, -0.4009163975715637, 0.14558374881744385, -0.041327279061079025, -0.8034565448760986, -0.18901033699512482, 0.22010739147663116, -0.03909633681178093, 0.31236809492111206, -0.5725829005241394, 0.5553520321846008, -0.1837056577205658, -0.32901710271835327, -0.34909188747406006, -0.5611660480499268, 0.503000795841217, 0.3060910403728485, 0.2540605664253235, -0.42799872159957886, 0.3266316056251526, 0.3932381570339203, -0.3545002341270447, 1.045925259590149, -0.25078335404396057, -0.23302794992923737, 0.6340610980987549, 0.32920557260513306, 0.4599531292915344, 0.22117486596107483, -0.017427442595362663, 0.14341925084590912, -0.13894429802894592, -0.3343546390533447, -0.9810078144073486, 0.635799765586853, -0.6493122577667236, -0.9150221347808838, -0.27282753586769104, -0.49935969710350037, -0.573766827583313, -0.18813954293727875, -0.07251085340976715, 0.5270138382911682, -0.4709705412387848, 0.06708227843046188, 0.5668613910675049, -0.38761600852012634, 0.18623964488506317, 0.5129479169845581, -0.20658919215202332, -0.2593121826648712, 0.7420851588249207, -0.36879631876945496, 0.4074021279811859, 0.48893052339553833, 0.06646626442670822, -0.24630750715732574, -0.4270387589931488, -0.33245131373405457, 0.4068010449409485, -0.7409401535987854, -0.3106175363063812, -0.7027517557144165, -0.021907733753323555, -0.13316938281059265, -0.04768577590584755, -0.3053855299949646, -0.32672908902168274, -0.1612319052219391, 0.13893894851207733, 0.024380747228860855, 0.49447348713874817, -0.07518594712018967, 0.04227093234658241, -0.6372934579849243, 0.14200614392757416, 0.42797356843948364, 0.19607409834861755, 0.09038043022155762, -0.16910336911678314, -0.17323744297027588, 0.48749402165412903, -0.5447406768798828, -0.5752795338630676, 0.2956527769565582, -0.12789878249168396, 0.27333158254623413, 0.46123310923576355, 0.05647826939821243, 0.6413472294807434, -0.5058349967002869, 0.8372024297714233, 0.33044418692588806, -1.1808017492294312, 0.5066710710525513, -0.4738709628582001, 0.23532234132289886, 0.4817103445529938, 0.3550545573234558, -0.6047446131706238, -0.7217902541160583, -0.42951977252960205, -0.31098055839538574, 0.6816922426223755, 0.3962133526802063, 0.24545268714427948, -0.1439157873392105, 0.3902209401130676, -0.10202766954898834, 0.3177773058414459, -0.5123447179794312, -0.08807457238435745, -0.05349496752023697, -0.12417594343423843, -0.21390707790851593, -0.247824564576149, -0.10624153167009354, -0.44513434171676636, 0.6667665243148804, -0.271907776594162, 0.7569853663444519, 0.37889137864112854, 0.17817921936511993, -0.028045671060681343, 0.3837096095085144, 0.6250377893447876, 0.47328847646713257, -0.2927008867263794, 0.11775564402341843, 0.23235243558883667, 0.015727734193205833, 0.03549663722515106, -0.38295623660087585, 0.2440280020236969, 0.10387353599071503, 0.07937629520893097, 0.8633332848548889, 0.48260167241096497, -1.026273488998413, 0.4804215431213379, -0.2379845827817917, -0.30164793133735657, -0.4570264518260956, 0.12841251492500305, 0.33218368887901306, 0.36854633688926697, 0.05740244686603546, -0.16711057722568512, 0.25720253586769104, -1.0603675842285156, -0.28376591205596924, 0.7043642997741699, -0.189299076795578, -0.288788765668869, 0.4604376256465912, 0.5127305388450623, -0.36679384112358093, 0.6771341562271118, -0.11162640899419785, -0.6700159907341003, 0.5584000945091248, 0.6218296885490417, 0.6958677172660828, -0.07791203260421753, 0.3686204254627228, 0.2332618236541748, -0.04319778457283974, -0.1517019420862198, 0.34504109621047974, -0.29255983233451843, -1.0606716871261597, -0.6919496655464172, -0.44204095005989075, -1.1716012954711914, 0.05149347335100174, -0.3693266212940216, 0.22525744140148163, -0.3058963716030121, -0.2181806117296219, -0.1457093209028244, -0.10720623284578323, -0.5681836009025574, 0.14436691999435425, 0.30350181460380554, 0.6392353177070618, -0.4309457540512085, 0.610259473323822, 0.6111020445823669, -0.15754853188991547, -0.6543891429901123, -0.102011539041996, -0.12554967403411865, -0.5841076374053955, 0.80556720495224, -0.03389545902609825, -0.3955312669277191, -0.11543528735637665, -0.8584311604499817, -0.6614795923233032, 0.721545398235321, 0.5635070204734802, -0.6205800175666809, -0.18366247415542603, 0.3784612715244293, 0.5911234021186829, -0.3971386253833771, 0.6685839295387268, 0.325096070766449, 0.34682759642601013, 0.3918741047382355, -1.02682363986969, -0.278396874666214, -0.29969435930252075, -0.017713047564029694, 0.041067928075790405, -0.7481086254119873, 0.5198264122009277, -0.03800255060195923, -0.10506810992956161, 0.08584894984960556, 0.6214288473129272, 0.3943668603897095, 0.3928656578063965, 0.45103201270103455, 0.572576105594635, 0.5997694730758667, -0.1608511060476303, 0.9946151971817017, -0.33793556690216064, 0.30464377999305725, 1.09583580493927, -0.7405843138694763, 0.7354377508163452, 0.24345465004444122, 0.017506012693047523, 0.7013223767280579, 0.38246476650238037, 0.4474988579750061, 0.3614928424358368, 0.2871191203594208, -0.6734044551849365, -0.5818766355514526, -0.20078450441360474, -0.19007067382335663, 0.6163851022720337, 0.43353691697120667, 0.07144830375909805, -0.12156832963228226, 0.18557293713092804, 0.13024422526359558, -0.11004830151796341, -0.2338545173406601, 0.8540241122245789, 0.4083838164806366, -0.8520540595054626, 0.4587517976760864, 0.0902182012796402, 0.5102018713951111, -0.2950739860534668, -0.10381779074668884, -0.19698448479175568, 0.16110582649707794, 0.09671927988529205, -0.637671947479248, 0.22933383285999298, 0.18823587894439697, 0.028639182448387146, -0.4527937173843384, 0.725237250328064, -0.33382749557495117, -0.3203010559082031, 0.16337041556835175, 0.6568503379821777, 0.43821439146995544, -0.1152544766664505, -0.7124311327934265, 0.13479241728782654, -0.07490839809179306, -0.11975464224815369, 0.25495341420173645, 0.690319836139679, 0.18404729664325714, 0.9378968477249146, 0.61758953332901, 0.010910164564847946, -0.39243823289871216, 0.18807967007160187, 1.1967809200286865, -0.7505820989608765, -0.43381693959236145, -0.6374188661575317, 0.28908276557922363, -0.2202063649892807, -0.06315705180168152, 0.6636129021644592, 0.5565482974052429, 0.8066713213920593, -0.07659836113452911, 0.8354455232620239, 0.14011092483997345, 0.6454434990882874, -0.6216206550598145, 0.13188554346561432, -0.41515105962753296, 0.2617345154285431, -0.5273526906967163, -1.057820200920105, -0.22132264077663422, 0.6995686292648315, -0.6445370316505432, 0.03109027072787285, 0.8128825426101685, 0.8077157735824585, -0.03920777142047882, 0.4639986753463745, 0.4229954183101654, 0.2736196517944336, 0.44332727789878845, 0.7080734372138977, 1.2439172267913818, 0.07352257519960403, 0.3155921697616577, -0.10886521637439728, -0.2220303863286972, -0.14711344242095947, -0.782839834690094, -1.1667379140853882, -0.4589139521121979, -0.2778022885322571, -0.23217511177062988, 0.043738123029470444, 1.0021342039108276, 0.6260362267494202, -0.492446631193161, -0.48610609769821167, -0.25354456901550293, -0.02614077553153038, 0.16883385181427002, -0.25985080003738403, -0.2956838309764862, -0.6772774457931519, -0.9940404891967773, 0.5001202821731567, 0.3873634934425354, -0.2155291885137558, -0.28131425380706787, -0.1130712628364563, 0.17558692395687103, 0.3327380120754242, 0.6774752736091614, 0.25647181272506714, -0.7340613603591919, -0.2748776376247406, -0.1453968584537506, 0.05889106169342995, 0.25502458214759827, 1.2878408432006836, -0.8188629150390625, 0.35672807693481445, 0.403614342212677, 0.3078238368034363, 0.5797204971313477, 0.2565651535987854, 0.6952213048934937, -0.48238399624824524, 0.25853243470191956, 0.6031445860862732, 0.3335460424423218, 0.35493114590644836, -0.1153784692287445, 0.27762800455093384, 0.13198082149028778, -0.6551386713981628, -0.8608542084693909, 0.30795231461524963, -1.1147596836090088, -0.3600790798664093, 1.258073329925537, -0.1408897489309311, -0.2902109622955322, -0.38371556997299194, -0.4339393377304077, 0.1063212901353836, -0.544937789440155, 0.6258212327957153, 0.7844507694244385, -0.30395108461380005, -0.22090382874011993, -0.5246814489364624, 0.48329612612724304, 0.5792103409767151, -0.9883895516395569, 0.0745706632733345, 0.4856165647506714, 0.12819691002368927, 0.12307927012443542, 0.9915637969970703, -0.14277389645576477, -0.09944646060466766, -0.3292812407016754, 0.17131353914737701, 0.21918825805187225, -0.2079453468322754, 0.0941474512219429, -0.005737625062465668, 0.3046592175960541, 0.20441538095474243 ]
http://arxiv.org/abs/2402.17205v3
http://arxiv.org/pdf/2402.17205v3
Measuring Vision-Language STEM Skills of Neural Models
2024-02-27T04:55:03
2024-05-22T05:11:56
Jianhao Shen, Ye Yuan, Srbuhi Mirzoyan, Ming Zhang, Chenguang Wang
cs.CL
cs.CL, cs.AI, cs.LG
We introduce a new challenge to test the STEM skills of neural models. The problems in the real world often require solutions, combining knowledge from STEM (science, technology, engineering, and math). Unlike existing datasets, our dataset requires the understanding of multimodal vision-language information of STEM. Our dataset features one of the largest and most comprehensive datasets for the challenge. It includes 448 skills and 1,073,146 questions spanning all STEM subjects. Compared to existing datasets that often focus on examining expert-level ability, our dataset includes fundamental skills and questions designed based on the K-12 curriculum. We also add state-of-the-art foundation models such as CLIP and GPT-3.5-Turbo to our benchmark. Results show that the recent model advances only help master a very limited number of lower grade-level skills (2.5% in the third grade) in our dataset. In fact, these models are still well below (averaging 54.7%) the performance of elementary students, not to mention near expert-level performance. To understand and increase the performance on our dataset, we teach the models on a training split of our dataset. Even though we observe improved performance, the model performance remains relatively low compared to average elementary students. To solve STEM problems, we will need novel algorithmic innovations from the community.
[ -0.3095608651638031, -0.6805118322372437, 0.3117840588092804, 0.1564626544713974, -0.022867312654852867, 0.4470635652542114, -0.11240363866090775, -0.4101063311100006, 0.113983154296875, 0.18574197590351105, -0.7316446304321289, -0.476580947637558, -0.6750644445419312, -0.1943165510892868, -0.49819231033325195, 0.4891762137413025, 0.13362739980220795, 0.49197396636009216, -0.4420895576477051, 0.1575743854045868, -0.7070691585540771, -0.25861021876335144, -0.5651068687438965, -0.21408449113368988, 0.4172461926937103, 0.685590386390686, 0.24518688023090363, 0.6107032895088196, 0.9281687140464783, 0.19545291364192963, -0.30763792991638184, 0.051151253283023834, -0.1846485286951065, -0.14875762164592743, -0.10735028982162476, -0.5193110108375549, -0.4082350432872772, 0.09793797135353088, 0.4213019907474518, 1.2923142910003662, 0.1867586076259613, 0.14865490794181824, -0.10897480696439743, 0.6932446956634521, -0.3024759888648987, 0.28881436586380005, -0.8124545216560364, 0.12081149965524673, -0.06576729565858841, 0.03299979120492935, -0.279518723487854, -0.4714885652065277, 0.36901214718818665, -0.5163417458534241, 0.48518458008766174, -0.1473570615053177, 0.8588898181915283, 0.29581326246261597, -0.35249969363212585, 0.06524807959794998, -0.47053223848342896, 0.7536624670028687, -0.2974378764629364, 0.3896295130252838, 0.20682097971439362, 0.4550303816795349, 0.13755284249782562, -0.4338048994541168, -0.3477378785610199, -0.3269158601760864, 0.5304012298583984, 0.2932673990726471, -0.1359976828098297, -0.09419765323400497, 0.15688996016979218, 0.26893138885498047, -0.5970227718353271, 0.16362276673316956, -0.8812355399131775, -0.1908549666404724, 0.5285985469818115, 0.3018527626991272, 0.09442092478275299, -0.11005332320928574, -0.28540661931037903, -0.5136929154396057, -0.6715757846832275, 0.24782957136631012, 0.40787217020988464, 0.30306005477905273, 0.20422612130641937, 0.7282567024230957, -0.2778262197971344, 0.6783878803253174, -0.15682095289230347, -0.022947847843170166, 0.2992568910121918, -0.6478304266929626, 0.10744352638721466, -0.35249263048171997, 0.3588542938232422, 0.5915170907974243, 0.6550557017326355, -0.0014207307249307632, -0.031101662665605545, 0.24342992901802063, -0.0034567546099424362, -0.5975641012191772, -0.4945377707481384, -0.2752459943294525, -0.33792662620544434, -0.27301281690597534, -0.20371556282043457, -0.6508958339691162, -0.4261232912540436, -0.4762647747993469, 0.2849588990211487, -0.6415783762931824, -0.46212995052337646, 0.20592688024044037, -0.28346842527389526, 0.07680202275514603, 0.38289785385131836, -0.960551381111145, 0.36537373065948486, 0.6888601779937744, 0.835777223110199, -0.49700063467025757, -0.6250251531600952, 0.005472126416862011, -0.5694530010223389, -0.44816115498542786, 0.72502201795578, -0.5053846836090088, -0.16222083568572998, -0.25922858715057373, -0.22387272119522095, -0.3411332070827484, -0.6695165038108826, 0.195010706782341, -0.2475154846906662, -0.23105528950691223, -0.4200291335582733, -0.5585756897926331, -0.13977424800395966, 0.20023663341999054, -0.4809809625148773, 1.0072168111801147, 0.24154126644134521, -0.36929771304130554, 0.5371966361999512, -0.7923176884651184, -0.36586302518844604, 0.13970056176185608, -0.1510283201932907, -0.12154049426317215, 0.3226422667503357, 0.2833668887615204, 0.41101762652397156, -0.15002785623073578, 0.4432888329029083, -0.2806268036365509, -0.12543551623821259, 0.11790856719017029, -0.5251200795173645, 0.8376809358596802, -0.105808325111866, -0.06844569742679596, 0.19739146530628204, -0.8433244824409485, 0.16512100398540497, 0.04477187618613243, 0.014192374423146248, -0.18748563528060913, 0.021367160603404045, 0.29780855774879456, 0.27580034732818604, 0.2087439000606537, -0.7515032887458801, 0.13532480597496033, -0.4419180154800415, 0.6059646606445312, 0.8881077766418457, -0.17710456252098083, 0.3190038800239563, -0.11318689584732056, 0.5935964584350586, 0.12649141252040863, 0.30901339650154114, -0.23584109544754028, -0.8720610737800598, -0.7927840352058411, -0.09742865711450577, 0.2856820225715637, 0.49488988518714905, -0.5962936282157898, 0.25511372089385986, -0.27105817198753357, -0.8030218482017517, -0.6291566491127014, -0.061281729489564896, 0.3631610572338104, 0.9111425876617432, 0.5660909414291382, -0.43859046697616577, -0.38056209683418274, -1.0542525053024292, 0.027588821947574615, -0.08373453468084335, 0.11085556447505951, 0.3373994529247284, 0.906164824962616, 0.36943310499191284, 1.1294220685958862, -0.6975983381271362, -0.11855567991733551, -0.11034354567527771, 0.22983908653259277, 0.18720543384552002, 0.6298612356185913, 0.5562689900398254, -0.8909002542495728, -0.3034777343273163, -0.04147966206073761, -0.7680975198745728, 0.1575220823287964, 0.32231441140174866, 0.1491074413061142, -0.18537501990795135, 0.3125108778476715, -0.3991259038448334, 0.504782497882843, 0.41659343242645264, -0.5118401646614075, 0.6334335803985596, 0.0033998850267380476, 0.07238012552261353, -0.8328593969345093, -0.011270815506577492, 0.024441545829176903, 0.2774752080440521, -0.5862694978713989, 0.0343647338449955, 0.22784462571144104, -0.4123331606388092, -0.6608371734619141, 0.4032178223133087, -0.30199843645095825, -0.34638509154319763, -0.16594967246055603, -0.10919123888015747, -0.17516644299030304, 0.4413430094718933, 0.11229894310235977, 0.8624622821807861, 0.9008591771125793, -0.4222908318042755, 0.5939100980758667, 0.09980481117963791, -0.6300597786903381, 0.6470950841903687, -0.9313175678253174, -0.018813112750649452, -0.03162556141614914, -0.20189787447452545, -0.9728868007659912, -0.2820695638656616, -0.2799849510192871, -0.6237725019454956, -0.10679885745048523, -0.12749654054641724, -0.39246436953544617, -0.5932028293609619, 0.046036235988140106, 0.22030001878738403, 0.4415556490421295, -0.3581446707248688, 0.5917773246765137, 0.27209436893463135, -0.22910621762275696, -0.6865034699440002, -0.7050802707672119, 0.06889385730028152, 0.12791460752487183, -0.9893814325332642, 0.3383841812610626, -0.2604998052120209, 0.0018440561834722757, 0.27459773421287537, -0.13086974620819092, -0.5716016292572021, 0.4058206081390381, 0.11410976201295853, 0.5234113335609436, -0.4487929940223694, 0.1465752124786377, -0.0018674146849662066, -0.23144285380840302, 0.14946016669273376, -0.3135996460914612, 0.4899318814277649, -0.3643015921115875, -0.6760329604148865, -0.36992400884628296, 0.20348376035690308, 0.7980495095252991, -0.5396901965141296, 0.40098947286605835, 0.23338137567043304, -0.5120393633842468, -0.012542901560664177, -0.46527326107025146, -0.5065132975578308, -0.41386741399765015, 0.8848047852516174, -0.4957261383533478, -0.8331702351570129, 0.4828294813632965, 0.14805491268634796, -0.02909982018172741, 0.23686985671520233, 0.31419920921325684, -0.15293645858764648, 1.061618685722351, 0.7537669539451599, 0.005237521603703499, 0.24186979234218597, -0.48953765630722046, 0.19521941244602203, -0.6143718957901001, -0.5882558226585388, -0.27850672602653503, -0.44384148716926575, 0.007285434287041426, -0.35488593578338623, 0.2773028016090393, 0.035380326211452484, 0.08613123744726181, 0.3745948076248169, -0.6002180576324463, 0.6717311143875122, 0.7911294102668762, 0.17857477068901062, 0.24275264143943787, 0.056302618235349655, -0.13396324217319489, -0.3399061858654022, -0.6668347120285034, -0.08030768483877182, 1.2275022268295288, 0.3836323320865631, 0.5598281621932983, -0.3448880612850189, 0.28566551208496094, -0.20938807725906372, 0.08702489733695984, -1.0326865911483765, 0.6781301498413086, -0.2811262309551239, -0.7803714871406555, -0.22781454026699066, -0.3492227792739868, -0.5505114197731018, 0.16379877924919128, -0.13600260019302368, -0.26961567997932434, 0.2840801179409027, 0.23860004544258118, -0.339529812335968, 0.39613980054855347, -0.9425965547561646, 0.9855713248252869, -0.2748299241065979, -0.1783994883298874, -0.17312337458133698, -0.5272952914237976, 0.1865566223859787, -0.056787386536598206, -0.05253865197300911, -0.3470165729522705, 0.05888965725898743, 0.8308531045913696, -0.13587114214897156, 0.932127058506012, -0.2902207672595978, 0.3323466181755066, 0.2883438169956207, -0.23066303133964539, -0.12108608335256577, -0.24788019061088562, 0.11496175825595856, 0.10736411809921265, -0.18476814031600952, -0.44955578446388245, -0.47766122221946716, 0.6029717326164246, -0.7674089670181274, -0.43104127049446106, -0.4477219879627228, -0.8429225087165833, -0.3356415331363678, 0.21118465065956116, 0.21070361137390137, 0.384368896484375, -0.008582272566854954, 0.6034291386604309, 0.8532335758209229, 0.19192954897880554, 0.39450305700302124, 0.48697659373283386, -0.21509724855422974, -0.3189869225025177, 1.2185555696487427, 0.48280343413352966, 0.3313697874546051, 0.04220465570688248, 0.2974749207496643, -0.11718416213989258, -0.8762739300727844, -0.3298752009868622, 0.014283510856330395, -0.7787042856216431, -0.15228433907032013, -0.5053287148475647, -0.37681466341018677, -0.3937465250492096, -0.04931233450770378, -0.5581062436103821, -0.5217799544334412, -0.2778626084327698, -0.32208865880966187, 0.4108377695083618, 0.7284060716629028, -0.0002538026019465178, 0.1847781240940094, -0.49898761510849, 0.10597463697195053, 0.45911678671836853, 0.322053998708725, 0.0400463305413723, -0.39346638321876526, -0.13190238177776337, -0.034135852009058, -0.2684977948665619, -0.8031076788902283, 0.2685486376285553, 0.25173312425613403, 0.45065075159072876, 0.11676590889692307, -0.4635198414325714, 0.6914700865745544, -0.5943652391433716, 0.7711086273193359, 0.3189372718334198, -0.8429054617881775, 0.6823181509971619, -0.25269177556037903, 0.07726596295833588, 0.6995207071304321, 0.40799498558044434, -0.35237327218055725, -0.21605253219604492, -0.5497896075248718, -0.6727616786956787, 0.6250740885734558, 0.046591516584157944, 0.1448361873626709, 0.12672889232635498, 0.26720377802848816, -0.07502686232328415, 0.237723708152771, -0.4549739956855774, -0.2765943109989166, -0.4687938690185547, -0.36382433772087097, 0.16697388887405396, 0.14514368772506714, 0.10173502564430237, -0.6891682147979736, 0.31881722807884216, -0.25923582911491394, -0.06376606971025467, -0.0788152813911438, 0.1738836169242859, 0.12096630781888962, -0.05703222379088402, 0.6318201422691345, 0.9700754284858704, -0.11345979571342468, 0.014283159747719765, 0.14379936456680298, -0.8926774859428406, -0.014469468034803867, -0.00688422005623579, -0.26502928137779236, -0.1838364452123642, 0.4237639307975769, 0.650652289390564, 0.21540488302707672, -0.7872726917266846, 0.6911565661430359, 0.0367291197180748, -0.5614071488380432, -0.3531785011291504, 0.15515199303627014, 0.2681756913661957, -0.050148479640483856, 0.734126627445221, 0.7562255859375, -0.06388683617115021, -0.23622071743011475, 0.37106451392173767, 0.2242027372121811, -0.5507039427757263, -0.39326298236846924, 0.4053599238395691, 0.2786850929260254, -0.1890093833208084, 0.7173640131950378, 0.04774713143706322, -0.5517784953117371, 1.2345101833343506, 0.4201008677482605, 0.4956166744232178, -0.20034177601337433, 0.23418724536895752, 0.5223654508590698, 0.5645755529403687, -0.19365620613098145, 0.5639523267745972, 0.3275415301322937, -0.8481447696685791, -0.6353380084037781, -0.2563038468360901, -0.5063839554786682, 0.16005584597587585, -0.6798639893531799, 0.11384310573339462, -0.44187265634536743, -0.08310628682374954, 0.06234430521726608, -0.20223566889762878, -0.6534730792045593, 0.4796271026134491, -0.22356463968753815, 1.2019414901733398, -1.1829732656478882, 0.8204723596572876, 0.6945362091064453, -0.5236980319023132, -0.6487048268318176, -0.5242903828620911, -0.03650180995464325, -1.00343656539917, 1.171111822128296, 0.17258411645889282, -0.011863990686833858, 0.21045061945915222, -0.6552748680114746, -0.9125729203224182, 1.0094413757324219, 0.4084985554218292, -0.48512494564056396, -0.3133241832256317, 0.013513048179447651, 0.5609560608863831, -0.5884285569190979, 0.21427308022975922, 0.35900720953941345, 0.29334598779678345, 0.26351216435432434, -0.854775071144104, -0.6149245500564575, -0.3998600244522095, -0.027796657755970955, -0.13025987148284912, -0.33994320034980774, 1.0243831872940063, -0.2755555510520935, 0.08540521562099457, -0.032974716275930405, 0.8552932143211365, 0.314319908618927, 0.4239484965801239, 0.5116382241249084, 0.6417626738548279, 0.7746319770812988, -0.4781807065010071, 0.703981876373291, -0.2575835883617401, 0.2998769283294678, 0.9869200587272644, -0.06839019060134888, 1.0281312465667725, 0.6402248740196228, -0.036941759288311005, 0.06965099275112152, 0.67597496509552, -0.40505510568618774, 0.4491635859012604, 0.3504812717437744, 0.010751839727163315, -0.5286593437194824, -0.3527989685535431, -0.4413914084434509, 0.4811009466648102, 0.2878322899341583, -0.0946761816740036, -0.02002888172864914, 0.4376230537891388, -0.23867787420749664, 0.3763812482357025, -0.4314662516117096, 0.15344054996967316, -0.11380831897258759, -0.6307891011238098, 0.36475610733032227, -0.259239137172699, 0.7970911860466003, -0.5135781168937683, -0.23060834407806396, -0.17176590859889984, 0.25135260820388794, -0.029652612283825874, -1.0875669717788696, 0.3130147159099579, -0.006846877280622721, -0.38856905698776245, -0.2218635082244873, 0.5799505114555359, -0.31256067752838135, -0.8370344638824463, 0.3182188868522644, 0.49306902289390564, 0.12703494727611542, -0.08328745514154434, -0.5894900560379028, -0.07997379451990128, -0.0932328850030899, 0.1811106652021408, 0.03159987926483154, 0.09527035802602768, 0.09067699313163757, 0.8711711168289185, 0.6429449319839478, 0.2508232295513153, 0.5588797330856323, 0.019296783953905106, 0.8698318600654602, -0.389384925365448, -0.14089855551719666, -0.533703088760376, 0.561055064201355, -0.292580783367157, -0.9115636348724365, 0.5979946851730347, 0.6310998201370239, 1.0523223876953125, -0.22222261130809784, 0.6908602714538574, 0.030865570530295372, 0.5905309319496155, -0.4026981592178345, 0.6540780663490295, -0.5429612994194031, -0.14633871614933014, -0.10605055093765259, -0.7277024388313293, -0.2737988829612732, 0.6444279551506042, -0.3493977189064026, 0.10568509250879288, 0.8993669748306274, 0.7242342829704285, -0.11839395761489868, 0.13396301865577698, 0.47109174728393555, -0.06840359419584274, 0.1569899022579193, 0.8988567590713501, 0.9565503597259521, -0.4238146245479584, 0.5644508004188538, -0.5995083451271057, -0.47286391258239746, -0.022206803783774376, -0.6888372302055359, -1.150542974472046, -0.6198791861534119, -0.4012622535228729, 0.0691705048084259, 0.1105223223567009, 0.6127909421920776, 1.0285303592681885, -0.788523256778717, -0.2539653182029724, -0.4220966100692749, -0.018888743594288826, -0.5490514039993286, -0.19478000700473785, 0.4065042734146118, -0.22201846539974213, -0.7118975520133972, 0.9154679775238037, 0.012050509452819824, 0.09354591369628906, -0.4691990911960602, 0.2788248658180237, -0.13611437380313873, -0.3662083148956299, 0.4661306142807007, 0.15899160504341125, -0.7041600346565247, -0.28208422660827637, 0.7921828031539917, 0.033598948270082474, 0.08664455264806747, 0.6937218904495239, -0.6222959160804749, 0.4483289122581482, 0.6385239958763123, 0.8404374718666077, 0.2853390872478485, -0.30961525440216064, 0.2909907400608063, -0.6187121272087097, -0.07957135140895844, 0.5459352135658264, 0.43303075432777405, 0.3633642792701721, -0.02575184777379036, 0.5824646949768066, 0.6703411340713501, -0.2242107391357422, -0.7487430572509766, 0.3700498342514038, -0.8431994915008545, -0.16504152119159698, 0.583993136882782, -0.26451224088668823, -0.1770302653312683, -0.15745238959789276, -0.05186073109507561, -0.14116601645946503, -0.22137610614299774, 0.499251127243042, 0.9811900854110718, -0.1264803409576416, -0.24903948605060577, -0.6557780504226685, 0.1726466864347458, 0.6867761015892029, -0.7187631726264954, -0.08700057119131088, 0.3411584198474884, 0.25073015689849854, 0.46695756912231445, 0.32863304018974304, -0.10479316115379333, 0.5872548818588257, 0.0975724458694458, 0.2130161076784134, -0.48058342933654785, -1.0018463134765625, -0.30911552906036377, 0.4716150462627411, -0.07880807667970657, -0.3057768642902374 ]
http://arxiv.org/abs/2402.17193v1
http://arxiv.org/pdf/2402.17193v1
When Scaling Meets LLM Finetuning: The Effect of Data, Model and Finetuning Method
2024-02-27T04:18:49
2024-02-27T04:18:49
Biao Zhang, Zhongtao Liu, Colin Cherry, Orhan Firat
cs.CL
cs.CL, cs.LG
While large language models (LLMs) often adopt finetuning to unlock their capabilities for downstream applications, our understanding on the inductive biases (especially the scaling properties) of different finetuning methods is still limited. To fill this gap, we conduct systematic experiments studying whether and how different scaling factors, including LLM model size, pretraining data size, new finetuning parameter size and finetuning data size, affect the finetuning performance. We consider two types of finetuning -- full-model tuning (FMT) and parameter efficient tuning (PET, including prompt tuning and LoRA), and explore their scaling behaviors in the data-limited regime where the LLM model size substantially outweighs the finetuning data size. Based on two sets of pretrained bilingual LLMs from 1B to 16B and experiments on bilingual machine translation and multilingual summarization benchmarks, we find that 1) LLM finetuning follows a powerbased multiplicative joint scaling law between finetuning data size and each other scaling factor; 2) LLM finetuning benefits more from LLM model scaling than pretraining data scaling, and PET parameter scaling is generally ineffective; and 3) the optimal finetuning method is highly task- and finetuning data-dependent. We hope our findings could shed light on understanding, selecting and developing LLM finetuning methods.
[ -0.7606684565544128, -0.8323110342025757, 0.3468859791755676, 0.39380210638046265, -0.36459624767303467, -0.4005849063396454, -0.7278554439544678, -0.35904762148857117, -0.07933076471090317, 0.5292536020278931, -0.5023915767669678, 0.06161350756883621, -0.570098876953125, 0.3416381776332855, -0.13395501673221588, 1.2023197412490845, 0.01646924391388893, 0.5282472968101501, -0.08655793964862823, -0.2372264266014099, -0.2576747238636017, -0.39385005831718445, -0.6526820063591003, -0.666103184223175, 0.5914334654808044, 0.7366824150085449, 0.8847174048423767, 1.058829426765442, 0.7736937999725342, 0.25220999121665955, -0.21589919924736023, 0.022201301530003548, -0.7018675804138184, -0.1515398621559143, -0.021638372913002968, -0.9040510058403015, -0.5257805585861206, 0.13709236681461334, 0.7025657892227173, 0.8643600344657898, -0.011452079750597477, 0.26222512125968933, 0.3928748369216919, 0.7206377387046814, -0.42140689492225647, 0.12613561749458313, -0.5782400965690613, -0.21959683299064636, -0.3144136965274811, -0.16092482209205627, -0.19748644530773163, -0.27080467343330383, -0.10595963150262833, -0.40284979343414307, 0.3737567067146301, -0.04337243363261223, 0.809967577457428, 0.4859313368797302, -0.5671862363815308, -0.17134276032447815, -0.7180373072624207, 0.8619981408119202, -0.9723954200744629, 0.37217336893081665, 0.32133784890174866, 0.13262304663658142, 0.06778548657894135, -0.4720458388328552, -0.38482993841171265, -0.25911960005760193, -0.19547510147094727, -0.2761649191379547, 0.15233470499515533, 0.26208195090293884, 0.6276923418045044, 0.9083511233329773, -0.24181343615055084, 0.6611596345901489, -0.3343399465084076, -0.04260392114520073, 0.5387245416641235, 0.23048590123653412, 0.07443320006132126, 0.0030458110850304365, -0.2169453352689743, -0.06678721308708191, -0.920242190361023, -0.06245514750480652, 0.27152150869369507, 0.797049880027771, -0.2785071134567261, 0.6219744086265564, -0.2669357657432556, 0.6183364987373352, 0.3328686058521271, -0.1750984489917755, 0.008866407908499241, -0.7123213410377502, -0.3619389235973358, -0.08604047447443008, 0.7947588562965393, 0.7215884327888489, 0.4620082974433899, -0.14671164751052856, -0.24323666095733643, -0.30237820744514465, -0.1606726348400116, -1.1484227180480957, 0.13058383762836456, -0.10539642721414566, -0.4210490882396698, -0.2096359133720398, -0.162295863032341, -0.43831950426101685, -0.48022499680519104, -0.8059381246566772, 0.6656351089477539, -0.2200232297182083, -0.30482280254364014, -0.0369153767824173, 0.2106095850467682, 0.5003429055213928, 0.18529078364372253, -1.3137338161468506, 0.3488614857196808, 0.6881083846092224, 0.8789260983467102, -0.2158845067024231, -0.29149043560028076, -0.5844309329986572, -0.37336239218711853, -0.3071959316730499, 0.4566965699195862, -0.008521677926182747, -0.100939080119133, -0.17763791978359222, 0.1817854642868042, -0.09094809740781784, -0.7691006660461426, 0.5318506956100464, -0.3523041903972626, -0.29819101095199585, -0.4336220324039459, -0.47230350971221924, 0.011460711248219013, 0.08562508225440979, -0.9207130074501038, 0.4995831549167633, -0.10354762524366379, -0.7299709320068359, 0.6577521562576294, -0.27178382873535156, -0.5464279055595398, -0.34391868114471436, 0.0058578262105584145, -0.36527058482170105, 0.31481456756591797, 0.16757120192050934, 0.7497698664665222, -0.6579674482345581, 0.03837618976831436, -0.31034812331199646, -0.2599563002586365, 0.17577287554740906, -0.6325892806053162, 0.6646987199783325, 0.15272119641304016, -0.10459376126527786, 0.06180901825428009, -0.8393479585647583, 0.016025565564632416, 0.10790867358446121, -0.6214606761932373, -0.2777901291847229, -0.100591279566288, 0.2469664216041565, 0.09540971368551254, 0.30386924743652344, -0.612829327583313, 0.18691344559192657, -0.48096880316734314, 0.610100507736206, 0.5446191430091858, -0.05215948075056076, 0.6585128903388977, -0.4991762638092041, 0.3913724720478058, -0.25679585337638855, -0.02838614024221897, -0.0665942057967186, 0.03542976453900337, -0.8790736198425293, -0.12315153330564499, 0.5375901460647583, 0.34400373697280884, -0.26882413029670715, -0.03264669328927994, -0.21229776740074158, -0.44191765785217285, -0.4861624240875244, 0.22274309396743774, 0.28229543566703796, 0.17516182363033295, 0.31272363662719727, -0.13467642664909363, -0.3766947090625763, -1.0727665424346924, -0.2671516537666321, 0.3810558319091797, -0.28623494505882263, 0.12977518141269684, 0.14872421324253082, -0.0032234282698482275, 0.6665445566177368, -0.14460480213165283, -0.2852616310119629, -0.4207644760608673, 0.11568927019834518, 0.259418249130249, 0.5110377073287964, 0.6026606559753418, -0.49981680512428284, -0.6134823560714722, 0.1512841284275055, -0.2698378264904022, -0.23539060354232788, -0.1652435064315796, 0.2845441997051239, 0.22823581099510193, 0.6971890330314636, -0.4363277852535248, 0.0037537910975515842, 0.6362913250923157, -0.06553567200899124, 0.48287755250930786, -0.3013688623905182, 0.06370929628610611, -0.7724927067756653, -0.3342609703540802, 0.08672026544809341, -0.2398170679807663, -0.714747428894043, 0.2227344810962677, 0.24203287065029144, 0.27615872025489807, -0.380075067281723, 0.15988260507583618, -0.45028817653656006, -0.10952219367027283, -0.22638390958309174, -0.04756569862365723, -0.12426915764808655, 0.322409451007843, -0.22694207727909088, 0.9048373699188232, 0.3613404333591461, -0.6277081370353699, -0.013611647300422192, -0.1796898990869522, -0.4167114496231079, 0.41607317328453064, -0.6020738482475281, -0.15811511874198914, 0.011592065915465355, -0.09492452442646027, -0.8671221733093262, -0.10355481505393982, -0.4003657102584839, -0.11595887690782547, 0.546747088432312, -0.1426878273487091, -0.8334738612174988, 0.02090321108698845, -0.3494291603565216, 0.38103991746902466, 0.11881440877914429, -0.6357057094573975, 0.4220845401287079, -0.060804884880781174, -0.2000763714313507, -0.07395443320274353, -0.8657454252243042, -0.2984519600868225, -0.5820817351341248, -0.6139696836471558, 0.22669169306755066, -0.19619156420230865, -0.40969839692115784, -0.6017864942550659, -0.17450545728206635, -0.08497373759746552, 0.11886636912822723, 0.13536560535430908, 0.13301004469394684, -0.48795589804649353, -0.022739607840776443, 0.023953141644597054, -0.006681779399514198, 0.12577754259109497, 0.1314345747232437, 0.6689081788063049, -0.348958820104599, 0.07443434000015259, -0.38675761222839355, 0.08154061436653137, 0.8696065545082092, -0.36960139870643616, 0.7359526753425598, 0.6401662230491638, 0.00739225372672081, 0.0031858948059380054, -0.6164836287498474, -0.34866324067115784, -0.486152321100235, 0.3336441218852997, -0.3716925382614136, -0.7952649593353271, 0.7112874984741211, -0.21412253379821777, 0.30927735567092896, 0.6525702476501465, 0.8002033829689026, -0.004599747247993946, 1.0279728174209595, 0.8818690776824951, 0.04273037239909172, 0.5838572978973389, -0.25066930055618286, -0.06706324219703674, -0.9166989922523499, 0.322474867105484, -0.510820746421814, -0.5852099657058716, -1.1010202169418335, -0.30888012051582336, 0.17172512412071228, 0.3308318555355072, -0.35060712695121765, 0.10970848053693771, -0.1081530824303627, 0.6813334822654724, 0.39455336332321167, -0.028613200411200523, 0.5894166827201843, 0.020229894667863846, -0.09214092791080475, -0.12414242327213287, -0.6299494504928589, -0.262320339679718, 1.4679759740829468, 0.3520154058933258, 0.9879063963890076, 0.05165506899356842, 0.38380229473114014, -0.18942412734031677, 0.2799243628978729, -1.030079960823059, 0.2658848464488983, -0.36332833766937256, -0.5354570746421814, -0.5758258104324341, -0.32328471541404724, -0.8426046371459961, 0.41594594717025757, -0.2951186001300812, -0.3829393684864044, 0.08886497467756271, 0.013556853868067265, -0.43566110730171204, 0.2587149441242218, -0.8367748856544495, 0.572974443435669, -0.2875306308269501, -0.43468597531318665, -0.3055800795555115, -0.6123465895652771, 0.1597314029932022, -0.26717644929885864, 0.3371787965297699, -0.11476553231477737, 0.026215581223368645, 0.6873193979263306, -0.4440440237522125, 0.7338346242904663, 0.02252199873328209, -0.38498204946517944, -0.004705166444182396, 0.10059349983930588, 0.49063441157341003, 0.01850922964513302, -0.07395657896995544, 0.17982318997383118, 0.07197083532810211, -0.19910404086112976, -0.36166349053382874, 0.8807986378669739, -0.8704385161399841, -0.544514536857605, 0.14950038492679596, -0.7830667495727539, -0.4165748953819275, 0.3195820152759552, 0.47776153683662415, 0.30083200335502625, -0.02299877442419529, 0.6073476076126099, 0.661413311958313, 0.14793923497200012, 0.5105437636375427, 0.7400854825973511, -0.23944108188152313, -0.10327202081680298, 0.8199836015701294, 0.5751426815986633, 0.8833661675453186, 0.35258838534355164, 0.31636422872543335, 0.08336726576089859, -0.6487638354301453, -0.3653056025505066, 0.4331852197647095, -0.36839503049850464, -0.1303166002035141, -0.1689479649066925, -0.19593264162540436, -0.06823104619979858, -0.05109157785773277, -0.6778602004051208, -0.5602930784225464, -0.2568936347961426, -0.18058523535728455, 0.44061076641082764, 0.45948174595832825, -0.13385486602783203, 0.47330576181411743, -0.3982897400856018, 0.2864626348018646, 0.31712624430656433, 0.4963248074054718, -0.01990588568150997, -0.48729434609413147, -0.5114957690238953, 0.13444434106349945, -0.22698377072811127, -0.3359740376472473, -0.05013661086559296, 0.33712655305862427, 0.25491705536842346, 0.5753043293952942, -0.13108541071414948, 0.5256950259208679, -0.6292396187782288, 0.5095238089561462, -0.03942513093352318, -0.5239142179489136, 0.23907077312469482, -0.5691589713096619, 0.4816752076148987, 0.5104345679283142, 0.3314853012561798, -0.2810223698616028, -0.38985347747802734, -0.27245160937309265, -0.8526358604431152, 0.5451686382293701, 0.030223743990063667, 0.17671310901641846, 0.27151674032211304, 0.5167325139045715, 0.42055055499076843, -0.05842301622033119, -0.781378984451294, -0.39518600702285767, 0.10500878840684891, 0.20637215673923492, -0.5121976137161255, -0.25265347957611084, -0.011563987471163273, -0.37480443716049194, 0.3185160756111145, -0.13025973737239838, 0.09812178462743759, -0.02696169726550579, -0.084529347717762, -0.2787145972251892, 0.4685381352901459, 0.5635342597961426, 0.5330567955970764, -0.27207034826278687, -0.03778519108891487, 0.30051669478416443, -0.37909266352653503, -0.04494884982705116, 0.1354203224182129, -0.17713536322116852, -0.23286350071430206, 0.441946417093277, 0.8089671730995178, 0.17448337376117706, -0.43661168217658997, 0.16547736525535583, -0.11327394843101501, -0.4150640368461609, 0.15529119968414307, 0.22402305901050568, 0.1756444275379181, 0.314225435256958, 0.09498479217290878, -0.15821626782417297, -0.03882110118865967, -0.41837358474731445, -0.03697872534394264, 0.45324254035949707, -0.22671355307102203, -0.15435859560966492, 0.6448107361793518, 0.005153147503733635, 0.007355656009167433, 0.4705144166946411, 0.21683181822299957, -0.009849071502685547, 0.7111207246780396, 0.5765554904937744, 0.3203033208847046, -0.2501886188983917, -0.23646683990955353, 0.4218272268772125, 0.4596959948539734, -0.14161138236522675, -0.07055823504924774, -0.11465229094028473, -0.612828254699707, -0.6085090041160583, -0.6617109179496765, -0.26165783405303955, 0.40812066197395325, -0.9510895609855652, 0.3323478102684021, -0.47713226079940796, -0.27376261353492737, 0.23705503344535828, 0.2238059788942337, -0.7692594528198242, 0.22538691759109497, 0.0625310018658638, 0.7562070488929749, -0.8127105832099915, 0.7076939940452576, 0.5007243156433105, -0.3562612235546112, -0.8761758208274841, 0.08770879358053207, 0.16196945309638977, -0.6740713715553284, 0.4204280376434326, 0.13007178902626038, -0.01607343927025795, 0.1714443862438202, -0.38894885778427124, -1.1161985397338867, 1.0956743955612183, 0.4928095042705536, -0.7835813760757446, -0.012793774716556072, 0.48963773250579834, 0.5051368474960327, -0.17216448485851288, 0.011700186878442764, 0.986467719078064, 0.30801922082901, -0.08998885750770569, -1.471572995185852, 0.01182211097329855, 0.05464601889252663, -0.15795373916625977, 0.2631794810295105, -0.9816768169403076, 1.0873723030090332, -0.19793790578842163, 0.016986390575766563, 0.05366893485188484, 0.4486956298351288, -0.09670577943325043, -0.042871974408626556, 0.4469740092754364, 0.46698129177093506, 0.58000648021698, -0.05652661621570587, 0.8773810267448425, -0.22055916488170624, 0.530266523361206, 1.1560437679290771, 0.0533960796892643, 0.7543959617614746, 0.6775684952735901, -0.3685494065284729, 0.006028370466083288, 0.6805155873298645, -0.01470185536891222, 0.39062178134918213, 0.3421422243118286, 0.09437274187803268, -0.09455498307943344, -0.1954132318496704, -0.48563152551651, 0.3486565351486206, 0.35744813084602356, -0.39413076639175415, -0.3204687833786011, 0.47688618302345276, 0.24802830815315247, -0.10719921439886093, -0.7347509264945984, 0.6999197602272034, 0.15806922316551208, -0.4660506546497345, 0.9509067535400391, 0.20837193727493286, 0.830947995185852, -0.3974197804927826, 0.46629416942596436, -0.5959794521331787, 0.28762951493263245, -0.2291872799396515, -0.6114896535873413, 0.21521292626857758, 0.07504305243492126, -0.40623390674591064, -0.3279169499874115, 0.31244197487831116, -0.3644353151321411, -0.3745957016944885, 0.12150030583143234, 0.32528963685035706, -0.0048724450170993805, -0.10523205995559692, -0.20234233140945435, 0.04740762338042259, 0.014810607768595219, -0.3845941126346588, 0.6182394623756409, 0.5652576684951782, -0.05907536298036575, 0.6491855382919312, 0.3642156422138214, 0.2949354350566864, 0.13404066860675812, 0.31505513191223145, 0.6862661838531494, -0.37674468755722046, -0.2059372514486313, -0.9722228050231934, 0.24067345261573792, 0.33091703057289124, -0.05708537623286247, 0.9088672399520874, 0.6509483456611633, 0.9397421479225159, 0.015431375242769718, 0.3283003270626068, 0.06854446232318878, 0.32596316933631897, -0.6592838764190674, 0.6707141995429993, -0.5703648924827576, 0.1110079437494278, -0.03364713490009308, -1.0218687057495117, -0.3340073823928833, 0.3282374441623688, -0.4290456175804138, 0.02877233922481537, 0.5930508375167847, 0.7231566905975342, -0.16792288422584534, 0.007328533101826906, 0.29115280508995056, 0.5060994625091553, 0.10954535007476807, 0.3412454128265381, 0.34053099155426025, -0.24839593470096588, 0.4473591148853302, -0.37496697902679443, -0.21511340141296387, -0.2159782201051712, -0.6121350526809692, -0.9861302375793457, -0.4525330662727356, -0.16967003047466278, -0.0445450022816658, -0.39659327268600464, 0.8054388165473938, 0.5810312628746033, -0.582476019859314, -0.3735049366950989, -0.21564702689647675, 0.0060841720551252365, -0.17468658089637756, -0.24397015571594238, 0.21089483797550201, -0.41143175959587097, -0.7046884894371033, 0.06649049371480942, -0.024580970406532288, 0.2263820618391037, -0.2847789227962494, 0.03862466290593147, 0.042287275195121765, 0.15392865240573883, 0.6137639284133911, 0.13402314484119415, -0.6638597249984741, 0.00387016823515296, -0.2667345106601715, -0.2115071564912796, 0.19365055859088898, 0.8331776857376099, -0.38665536046028137, 0.31004559993743896, 0.2956909239292145, 0.4721616506576538, 0.6831929087638855, -0.1312417984008789, 0.5993283987045288, -0.5825559496879578, 0.162874236702919, -0.2437681406736374, 0.11090219020843506, 0.2089705765247345, -0.3135387897491455, 0.4290454089641571, -0.26769906282424927, -0.7675848007202148, -0.6962331533432007, 0.0658305212855339, -0.7425625920295715, -0.03376944363117218, 1.2029656171798706, 0.21136540174484253, 0.12924081087112427, 0.4312160909175873, -0.26439782977104187, 0.2442854642868042, 0.00342172640375793, 0.3863123655319214, 0.9042799472808838, -0.29957616329193115, -0.16144585609436035, -1.0890731811523438, 0.6499245762825012, 0.504020094871521, -0.42774978280067444, 0.5425889492034912, 0.37678852677345276, 0.3818982243537903, -0.087035171687603, 0.30852946639060974, 0.04872134327888489, 0.09093811362981796, -0.23669885098934174, -0.33267122507095337, 0.02525940351188183, -0.11129909008741379, -0.5394192934036255, -0.024667805060744286, 0.407091349363327, 0.19106866419315338 ]
http://arxiv.org/abs/2403.14657v1
http://arxiv.org/pdf/2403.14657v1
A Synergistic Approach to Wildfire Prevention and Management Using AI, ML, and 5G Technology in the United States
2024-02-27T04:09:30
2024-02-27T04:09:30
Stanley Chinedu Okoro, Alexander Lopez, Austine Unuriode
cs.CY
cs.CY, cs.CL
Over the past few years, wildfires have become a worldwide environmental emergency, resulting in substantial harm to natural habitats and playing a part in the acceleration of climate change. Wildfire management methods involve prevention, response, and recovery efforts. Despite improvements in detection techniques, the rising occurrence of wildfires demands creative solutions for prompt identification and effective control. This research investigates proactive methods for detecting and handling wildfires in the United States, utilizing Artificial Intelligence (AI), Machine Learning (ML), and 5G technology. The specific objective of this research covers proactive detection and prevention of wildfires using advanced technology; Active monitoring and mapping with remote sensing and signaling leveraging on 5G technology; and Advanced response mechanisms to wildfire using drones and IOT devices. This study was based on secondary data collected from government databases and analyzed using descriptive statistics. In addition, past publications were reviewed through content analysis, and narrative synthesis was used to present the observations from various studies. The results showed that developing new technology presents an opportunity to detect and manage wildfires proactively. Utilizing advanced technology could save lives and prevent significant economic losses caused by wildfires. Various methods, such as AI-enabled remote sensing and 5G-based active monitoring, can enhance proactive wildfire detection and management. In addition, super intelligent drones and IOT devices can be used for safer responses to wildfires. This forms the core of the recommendation to the fire Management Agencies and the government.
[ -0.17959895730018616, -0.9206530451774597, -0.034604042768478394, 0.21669749915599823, -0.2569428086280823, 0.2205771803855896, 0.12045172601938248, -0.43175336718559265, 0.01681867428123951, 0.5262869596481323, -0.7363355159759521, -0.2559109330177307, -0.07036897540092468, -0.14552859961986542, -0.4815315902233124, 0.6784785985946655, -0.0008653168333694339, -0.3449546992778778, 0.1789228767156601, -0.09236357361078262, -0.75411057472229, -0.37489184737205505, -0.38850921392440796, -0.25256893038749695, 0.7268390655517578, 0.4264342486858368, 0.9157342314720154, 0.04615970700979233, 1.2311596870422363, 0.3576890826225281, 0.24637539684772491, -0.14628468453884125, 0.023600881919264793, -0.007411469705402851, 0.3720897138118744, -0.44871288537979126, -0.2128896713256836, 0.4140092134475708, 0.11834439635276794, 0.025718389078974724, -0.385891318321228, -0.09579913318157196, -0.5022678375244141, 0.6213309168815613, -0.6423277854919434, -0.12282967567443848, -0.7543496489524841, 0.20807918906211853, -0.11080914735794067, -0.6484934687614441, 0.16531799733638763, -0.45689424872398376, 0.215432807803154, -0.682071328163147, 0.34242281317710876, 0.024987421929836273, 0.3290693461894989, 0.5022853016853333, -0.6008981466293335, -0.4285837709903717, -1.345661997795105, 0.48652511835098267, -0.5253390073776245, -0.14121104776859283, 0.2409149557352066, 0.7549536228179932, -0.4937160015106201, -0.7471281886100769, -0.9378408193588257, -0.016848204657435417, 0.17678731679916382, 0.5066709518432617, -0.18048647046089172, -0.11341562867164612, 0.04252400994300842, 0.3001367151737213, -0.8363249897956848, 0.10460904240608215, -0.4067528247833252, -0.3813912570476532, 1.1774786710739136, 0.0315871424973011, 0.09957733750343323, 0.10438214242458344, -0.5659404993057251, -0.05255195125937462, -0.9247254133224487, 0.33204716444015503, 0.7953411936759949, -0.17463964223861694, 0.1409509927034378, 0.26682254672050476, -0.08401226997375488, 0.6452988386154175, -0.37228506803512573, -0.26880645751953125, -0.04479182884097099, -0.7827221751213074, -0.6868104338645935, 0.04412653297185898, 0.35508137941360474, 0.5019226670265198, -0.045992638915777206, -0.19227349758148193, -0.143670454621315, 0.4204564094543457, 0.47973015904426575, -0.4522353708744049, -0.3998454809188843, 0.38696959614753723, -0.6735601425170898, -0.6341073513031006, 0.08244328200817108, -0.4487117528915405, -0.3881509006023407, -0.2366039901971817, 0.6889829039573669, 0.18124568462371826, -0.7014884948730469, -0.09759960323572159, -0.18899430334568024, -0.22158920764923096, 0.15877191722393036, -0.8635525107383728, -0.04261983558535576, 0.316174179315567, 0.6007644534111023, 0.3678123950958252, -0.04922208562493324, -0.04460573196411133, 0.02312389202415943, -0.035311903804540634, 0.5122178196907043, -0.47237417101860046, -0.5350190997123718, -0.0865088403224945, 0.020269468426704407, 0.08550801873207092, -0.6807491779327393, 0.694641649723053, -0.7566991448402405, 0.06097706779837608, -0.18984735012054443, -0.07096544653177261, -0.7559701800346375, 0.2870095372200012, -0.7305496335029602, 0.9581224918365479, -0.3577355742454529, -0.48396095633506775, 0.5358452796936035, -0.4863350987434387, -0.42096808552742004, -0.041285544633865356, 0.2280714362859726, -0.9162713885307312, 0.17237284779548645, 0.03220720961689949, 0.4027431905269623, -0.03571124002337456, 0.23342099785804749, 0.0409490168094635, -0.29019996523857117, -0.005269188433885574, -0.5139989852905273, 0.7077670693397522, 0.6408077478408813, -0.443998247385025, 0.46595075726509094, -0.49099254608154297, 0.11076952517032623, 0.06514166295528412, -0.053551480174064636, -0.26599496603012085, 0.2748110890388489, 0.05964697524905205, 0.2037903070449829, -0.22661617398262024, -0.5547373294830322, -0.06052636355161667, 0.21508777141571045, 0.33978793025016785, 0.4245285093784332, 0.0739055797457695, 0.15406690537929535, -0.6941766738891602, 0.11902769654989243, 0.03445835039019585, 0.4038168787956238, -0.4802314043045044, -0.29521679878234863, -0.2982979714870453, -0.10399118810892105, -0.2612888813018799, 1.1889890432357788, -0.44824352860450745, 0.7334323525428772, 0.3753768503665924, -0.8203426599502563, 0.1348571926355362, 0.0322221964597702, -0.23644207417964935, 0.26847022771835327, 0.39888542890548706, -0.08902963995933533, -0.449895977973938, -0.1555255502462387, -0.36749032139778137, 0.20957894623279572, 0.42827433347702026, -0.07871104776859283, 0.3386317789554596, 0.1090749204158783, 1.0482419729232788, -0.1551414132118225, -0.43156111240386963, -0.07742194086313248, 0.09333017468452454, 0.10956314206123352, 0.47437864542007446, 0.7459824681282043, -1.5890343189239502, -0.2700289487838745, 0.08580715954303741, -1.0338298082351685, 0.14640790224075317, -0.4327085614204407, 0.40535813570022583, -0.6185165047645569, 0.4263051450252533, -0.43361660838127136, 0.6839057803153992, 0.3307759463787079, -0.42462772130966187, 0.3416939675807953, -0.3422691524028778, 0.08208122104406357, -0.4943871796131134, -0.03739830106496811, -0.06592715531587601, 0.3728272020816803, -0.9622986316680908, 0.021104557439684868, -0.21098275482654572, -0.13099941611289978, -0.4356727600097656, 0.3212658166885376, -0.2142592817544937, -0.09719885140657425, -0.4823247194290161, -0.48275500535964966, -0.24282801151275635, 0.009092438034713268, 0.06613629311323166, 0.6807065010070801, 0.5287702083587646, -0.346891850233078, 0.9857484102249146, 0.041842713952064514, -0.007709354627877474, 0.2274104356765747, -0.5131634473800659, -0.2380208969116211, -0.10786230862140656, 0.6514749526977539, -0.6468204259872437, -0.24815025925636292, -0.014299927279353142, -0.25895237922668457, -0.1430632323026657, 0.3379473090171814, -0.3490533232688904, -0.7439921498298645, -0.09877505898475647, -0.36393076181411743, 0.4493221044540405, -0.21969343721866608, 0.770814836025238, -0.03424452617764473, -0.1837373524904251, -0.34030723571777344, -0.6373922228813171, 0.27014270424842834, -0.679720401763916, -0.5048936009407043, 0.3219752311706543, -0.038560766726732254, -0.33015507459640503, -0.04608263820409775, -0.4861167371273041, 0.021857641637325287, 0.6412059664726257, 0.3279303312301636, -0.24155573546886444, 0.2830532491207123, 0.08614832907915115, -0.5980888605117798, -0.4549609124660492, 0.22197923064231873, -0.33062925934791565, -0.19919219613075256, 0.5184258818626404, -0.20736122131347656, -0.8343437314033508, 0.651314914226532, 0.7034851312637329, -0.4501267671585083, 0.5151581764221191, 1.0696998834609985, -0.4545334577560425, 0.21568553149700165, -0.6391023993492126, -0.4782874584197998, -0.501115620136261, -0.314375638961792, -0.05916605517268181, -0.5003510117530823, 0.4690729081630707, -0.8523586988449097, 0.44668444991111755, 0.11816763877868652, 0.4670204222202301, -0.2496575564146042, 0.7488113641738892, 0.7660725712776184, -0.014745866879820824, 0.9004833102226257, -0.3241705596446991, 0.6975370645523071, -0.2407989501953125, -0.6790167093276978, -0.45582908391952515, -0.599830687046051, -0.49298304319381714, 0.027775319293141365, 0.540278434753418, 0.3294612467288971, -0.2536895275115967, 0.33098509907722473, -0.7117205858230591, 0.272582471370697, 0.6041387915611267, 0.2607230246067047, 0.4322689473628998, 0.16596418619155884, 0.1942622810602188, 0.16228710114955902, -0.5037057995796204, -0.3940998911857605, 0.9971444010734558, 0.050256308168172836, 0.7033939361572266, 0.4197652041912079, 0.6828739643096924, 0.48742029070854187, 0.4127497673034668, -0.43246936798095703, 0.2397472858428955, 0.09706868976354599, -0.8180639147758484, -0.33148154616355896, -0.2760734558105469, -0.8812735080718994, 0.13962143659591675, -0.5496273636817932, -0.1812209039926529, 0.04113328456878662, 0.11564871668815613, -0.46218234300613403, 0.05394824594259262, -1.0486403703689575, 0.7091436386108398, -0.7549709677696228, -0.2299010157585144, -0.6165482401847839, -0.7271131277084351, 0.08140348643064499, -0.16241438686847687, 0.3048676550388336, -0.360430508852005, 0.247329980134964, 0.3604113757610321, -0.38083481788635254, 0.6296506524085999, -0.4593689739704132, 0.1981869488954544, 0.8787461519241333, -0.2908214032649994, 0.9874686002731323, -0.11328604072332382, -0.17428407073020935, -0.17442846298217773, -0.3368784487247467, -0.5761146545410156, -0.2967364490032196, 0.5648676753044128, -0.6678231358528137, -0.15261666476726532, -0.433788537979126, -0.5105970501899719, 0.042705778032541275, 0.3086225986480713, 0.22263072431087494, 0.35205531120300293, -0.2684050500392914, 0.0943748950958252, 0.4509933292865753, -0.05765252932906151, 0.8873369097709656, 0.14788082242012024, 0.24860918521881104, -0.2193685919046402, 0.8048419952392578, 0.2854069173336029, -0.028923867270350456, 0.022255850955843925, 0.44173330068588257, -0.19755226373672485, -0.8054638504981995, -0.08348583430051804, -0.5882151126861572, -0.22507749497890472, -0.3825891315937042, -0.6349303722381592, -0.17429019510746002, -0.10828999429941177, -0.3180873692035675, 0.4774671792984009, 0.1038753017783165, 0.12822751700878143, -0.19551566243171692, 0.6176580190658569, 0.5258532762527466, -0.08196569234132767, 0.9530234932899475, -0.725723147392273, 0.4929499626159668, 0.6581521034240723, -0.1571740210056305, -0.10909143090248108, 0.48248252272605896, -0.034271202981472015, -0.06365062296390533, -0.6828663945198059, -0.35197994112968445, 0.6744023561477661, 0.36681196093559265, 0.6529347896575928, 0.32976529002189636, 0.30463284254074097, 0.283137708902359, -0.03872817009687424, 0.6626061201095581, 0.3898501396179199, -0.3242543339729309, 0.4880155324935913, -0.5290233492851257, 0.29114633798599243, 0.12461411207914352, 0.26703527569770813, -0.06633343547582626, 0.08354073762893677, -0.6235658526420593, -0.41945770382881165, 0.29675477743148804, 0.316481351852417, 0.20622724294662476, 0.36371660232543945, -0.24355389177799225, -0.10970745980739594, 0.47213730216026306, -0.47834113240242004, 0.3533053398132324, -0.5493332147598267, -0.13465885818004608, 0.09537038207054138, 0.3858368694782257, -0.4830430746078491, -0.12141556292772293, 0.1546124368906021, -0.12695401906967163, 0.2588258683681488, -0.09562802314758301, 0.07984776049852371, -0.043171387165784836, 0.32895106077194214, 0.7399646639823914, 0.282344788312912, -0.30917391180992126, 0.24894574284553528, 0.09378258883953094, -0.7050838470458984, 0.15546464920043945, 0.0555480420589447, -0.2347671389579773, -0.24287734925746918, 0.38345059752464294, 0.35566893219947815, -0.4560561180114746, -0.3034672439098358, 0.31560689210891724, 0.05943818762898445, -0.3069107234477997, -0.27046024799346924, 0.07446210086345673, 0.006997393444180489, 0.5382258296012878, 1.0288749933242798, 0.5599778890609741, 0.373169481754303, -0.7265950441360474, -0.10080242156982422, 0.5515786409378052, 0.20614667236804962, -0.26310232281684875, 0.8241462111473083, 0.822759211063385, -0.2458799183368683, 0.051885783672332764, 0.03485001251101494, -0.5161561369895935, 1.177207112312317, 0.653131902217865, 0.6607517004013062, -0.2996266186237335, -0.1335049867630005, 0.13571563363075256, 0.52736496925354, 0.03324474021792412, 0.7752828598022461, -0.3549576699733734, -0.6334856152534485, 0.022806083783507347, -0.17742109298706055, -0.02713095024228096, 0.06386346369981766, -0.10595591366291046, 0.028161976486444473, -0.6945769190788269, -0.32403793931007385, 0.05058547109365463, 0.294808954000473, -0.7562478184700012, 0.5173255205154419, 0.016216516494750977, 0.9223867654800415, -1.0690869092941284, 0.355926513671875, 0.4777636229991913, 0.11292799562215805, -0.7204037308692932, 0.2361367791891098, 0.41140443086624146, -0.4571126699447632, 0.3359191119670868, 0.41108256578445435, 0.1361985206604004, 0.4488717019557953, -0.3835064768791199, -0.5580734014511108, 1.422696828842163, -0.2477828860282898, -0.4816059470176697, 0.40259701013565063, -0.3035302460193634, 0.4561116695404053, 0.17709682881832123, 0.4080771505832672, 0.4145689010620117, 0.8197290301322937, 0.44528311491012573, -0.6881505250930786, -0.3048992156982422, 0.025323912501335144, -0.18968383967876434, 0.4178142249584198, -0.7855187654495239, 0.12129634618759155, -0.47074300050735474, -0.13965927064418793, -0.08438614010810852, 0.5760860443115234, -0.34036365151405334, 1.1235485076904297, 0.32573530077934265, 0.6283864974975586, 0.4956848621368408, -0.2472897320985794, 0.2216433733701706, 0.01937974989414215, 0.2446608990430832, 0.2768484950065613, -0.39326635003089905, 0.42622312903404236, 0.2618566155433655, -0.07484839856624603, 0.16046547889709473, 0.6599753499031067, 0.032745085656642914, 1.0809459686279297, -0.11387336254119873, -1.0771008729934692, -0.1546795815229416, -0.40136241912841797, -0.35172876715660095, 0.5489791631698608, 0.6697152853012085, -0.028215058147907257, -0.452851802110672, 0.5127252340316772, -0.08161637932062149, 0.003721881890669465, -0.21687021851539612, 0.8977135419845581, -0.1727713942527771, -0.6235700845718384, 0.16527359187602997, 0.17268866300582886, 0.739741325378418, -0.4312618672847748, -0.08303409069776535, -0.15975576639175415, 0.39382579922676086, -0.7890618443489075, -0.7967857122421265, 0.9887842535972595, 0.022583846002817154, -0.015864524990320206, -0.27774500846862793, 0.752619743347168, -0.08577252179384232, -0.30073118209838867, 0.062486037611961365, 0.12846310436725616, -0.10253524780273438, 0.13842947781085968, -0.3810954689979553, 0.10376925021409988, -0.3409532308578491, -0.07347427308559418, 0.010751624591648579, 0.13805057108402252, -0.5453706979751587, 0.5587545037269592, 1.1900088787078857, -0.031923774629831314, 0.18885250389575958, -0.4042259454727173, 0.8804661631584167, -0.6001231074333191, -0.44676944613456726, -0.4976782500743866, 0.2903120219707489, -0.27008864283561707, -0.30567246675491333, 0.7815865278244019, -0.022111037746071815, 0.5377823114395142, 0.19566400349140167, 1.0979650020599365, -0.54798823595047, 0.14529192447662354, -0.26026806235313416, 0.09975814819335938, -0.06356550008058548, 0.17485420405864716, 0.23634058237075806, -1.0419517755508423, -0.6381131410598755, 0.5026394128799438, -0.1476535052061081, 0.031946029514074326, 0.002938009100034833, 0.7811020016670227, 0.031322840601205826, 0.167840376496315, 0.3390899896621704, -0.25445958971977234, 0.6196480989456177, 0.231361985206604, 0.5110698938369751, -0.4583809971809387, 0.45093628764152527, -0.038136329501867294, -0.6114726066589355, -0.6730213165283203, -0.9064958691596985, -0.5647599697113037, 0.04105418175458908, 0.050338175147771835, 0.15563781559467316, 0.09456545114517212, 0.5967894196510315, 0.9183629155158997, -0.7974956631660461, 0.29044243693351746, -0.40142014622688293, 0.23321138322353363, -0.7301859855651855, -0.16892357170581818, 0.07434794306755066, 0.07617995887994766, -0.10331714153289795, 0.6589553356170654, 0.5803676843643188, -0.018952015787363052, -0.4260673224925995, -0.07215873897075653, -0.2934272885322571, 0.08506138622760773, 0.45607370138168335, 0.6287558078765869, -0.668229341506958, -0.17271822690963745, 0.2067403793334961, -0.1327037364244461, -0.674365758895874, 0.6724511384963989, -0.9549031257629395, 0.531397819519043, 0.778010368347168, 0.5955964922904968, 0.10635663568973541, 0.09745880961418152, 0.2507972717285156, -0.488090455532074, 0.447192519903183, 0.34020012617111206, -0.2320115566253662, 0.26517054438591003, -0.7081539630889893, 0.7139984965324402, 0.6127920746803284, -0.9048632383346558, -0.4277704060077667, 0.2545834481716156, -0.7104597091674805, -0.029192479327321053, 0.4150353670120239, -0.26033419370651245, 0.49313288927078247, -0.4276230037212372, -0.36269664764404297, 0.03949631005525589, 0.07665815949440002, 0.7106655240058899, 0.28765884041786194, -0.24659401178359985, -0.42885449528694153, -0.5225682854652405, 0.2208871990442276, 0.26558932662010193, -0.8695028424263, -0.19839322566986084, 0.3217563033103943, -0.08175501227378845, 0.3303886353969574, 0.2867657542228699, 0.34841781854629517, 0.4542941153049469, 0.21776533126831055, -0.12913069128990173, -0.2537892162799835, -0.8076440095901489, -0.22212861478328705, -0.08897951245307922, -0.33392930030822754, -0.33573684096336365 ]
http://arxiv.org/abs/2402.17189v1
http://arxiv.org/pdf/2402.17189v1
An Effective Mixture-Of-Experts Approach For Code-Switching Speech Recognition Leveraging Encoder Disentanglement
2024-02-27T04:08:59
2024-02-27T04:08:59
Tzu-Ting Yang, Hsin-Wei Wang, Yi-Cheng Wang, Chi-Han Lin, Berlin Chen
cs.CL
cs.CL, cs.AI, cs.SD, eess.AS
With the massive developments of end-to-end (E2E) neural networks, recent years have witnessed unprecedented breakthroughs in automatic speech recognition (ASR). However, the codeswitching phenomenon remains a major obstacle that hinders ASR from perfection, as the lack of labeled data and the variations between languages often lead to degradation of ASR performance. In this paper, we focus exclusively on improving the acoustic encoder of E2E ASR to tackle the challenge caused by the codeswitching phenomenon. Our main contributions are threefold: First, we introduce a novel disentanglement loss to enable the lower-layer of the encoder to capture inter-lingual acoustic information while mitigating linguistic confusion at the higher-layer of the encoder. Second, through comprehensive experiments, we verify that our proposed method outperforms the prior-art methods using pretrained dual-encoders, meanwhile having access only to the codeswitching corpus and consuming half of the parameterization. Third, the apparent differentiation of the encoders' output features also corroborates the complementarity between the disentanglement loss and the mixture-of-experts (MoE) architecture.
[ -0.4491368532180786, -0.2503558099269867, -0.021859802305698395, 0.012354538775980473, -0.24090076982975006, 0.6910764575004578, -0.08237210661172867, -0.4085499346256256, 0.1500789076089859, 0.10298646241426468, -0.21348261833190918, 0.007439045235514641, -1.1238172054290771, 0.1761324554681778, -0.6535615921020508, 0.5629696846008301, -0.008153479546308517, -0.004326817579567432, 0.01395352091640234, -0.0665869265794754, -0.32131227850914, -0.3041534721851349, -0.7870272994041443, -0.5352942943572998, 0.13857197761535645, 0.10940755903720856, 0.5119422674179077, 0.4031880795955658, 0.034722134470939636, 0.31932970881462097, -0.4144113063812256, 0.3508853018283844, -0.352213054895401, -0.23251739144325256, -0.014348885975778103, -0.5544664263725281, -0.180491641163826, -0.2963223159313202, 0.37683093547821045, 0.39256221055984497, -0.5031322836875916, -0.16592277586460114, 0.25165703892707825, 0.632434070110321, -0.5654586553573608, 0.03298690542578697, -0.8966014981269836, 0.2898190915584564, -0.431400865316391, -0.4887273907661438, -0.325531929731369, 0.07676471024751663, 0.016348890960216522, -0.35526058077812195, 0.07920126616954803, -0.14857152104377747, 0.5294681191444397, 0.8443097472190857, -0.4143579304218292, -0.3087385594844818, -0.7806190848350525, 0.4703878164291382, -0.7806587219238281, 0.7511286735534668, 0.39978596568107605, 0.24123960733413696, 0.06422580033540726, -0.3752742409706116, -0.5970824360847473, 0.13281220197677612, 0.1149970218539238, 0.3994741439819336, -0.34240731596946716, -0.11554080247879028, 0.013614637777209282, 0.3425067067146301, -0.5150799751281738, 0.2739337980747223, -0.394140362739563, -0.4792829751968384, 0.6941543221473694, -0.2736150026321411, 0.23439158499240875, 0.4553382396697998, -0.20313198864459991, 0.026525745168328285, -0.4809598922729492, 0.09864335507154465, 0.4879208207130432, -0.08737631142139435, -0.0048065632581710815, 0.0694965198636055, 0.048425011336803436, 0.7245420217514038, 0.6950847506523132, -0.07000035047531128, 0.5238810777664185, -0.035345256328582764, 0.09359585493803024, 0.6090587973594666, 0.6196418404579163, 0.24981367588043213, -0.018529554829001427, -0.45328888297080994, -0.297263503074646, 0.005472916644066572, -0.07583741098642349, -0.49236196279525757, -0.48645278811454773, 0.2932188808917999, -0.19295309484004974, -0.13354697823524475, 0.10569551587104797, -0.5479865074157715, -0.25303196907043457, -0.2743740379810333, 0.47405603528022766, -0.25311121344566345, -0.7783792018890381, 0.36638233065605164, -0.29082852602005005, 0.1464628428220749, 0.02256467379629612, -0.9980220794677734, 0.4044465720653534, 0.48435071110725403, 0.6998863816261292, -0.0401616096496582, -0.23382750153541565, -0.5195996761322021, 0.24139173328876495, -0.2782844305038452, 0.4695329964160919, -0.4597031772136688, -0.44872918725013733, -0.32658320665359497, -0.47332698106765747, -0.23775413632392883, -0.8406710028648376, 0.07068618386983871, -0.6492725014686584, -0.06569365411996841, 0.033805761486291885, -0.5666030645370483, 0.007265967782586813, -0.12405749410390854, -0.6016976237297058, 0.8481732606887817, -0.4293055236339569, -0.6406722068786621, 0.3335285782814026, -0.34747713804244995, -0.4715885818004608, 0.024942614138126373, -0.592086911201477, -0.5647924542427063, 0.05660897493362427, 0.3085140585899353, 0.11614163964986801, -0.04310384765267372, 0.1466865986585617, 0.2195725291967392, -0.48642292618751526, 0.48138192296028137, -0.5158585906028748, 0.918022632598877, 0.2659932076931, -0.6314419507980347, -0.4095800518989563, -0.7042325735092163, 0.03319583833217621, -0.02501056343317032, -0.49658000469207764, -0.3134019374847412, 0.16697059571743011, 0.04295423999428749, 0.3451724052429199, 0.33191919326782227, -0.4605732858181, -0.2646537125110626, -0.27699100971221924, 0.624239981174469, 0.47353994846343994, -0.15079346299171448, 0.5034441351890564, -0.2265145480632782, 0.24458098411560059, 0.49926894903182983, -0.04621089622378349, 0.1381625384092331, -0.5883240103721619, -0.6837518215179443, -0.1499779373407364, 0.48361608386039734, 0.7706183791160583, -0.8893741965293884, 0.9803692698478699, 0.013853056356310844, -0.3263002336025238, -0.9698593020439148, 0.11575541645288467, 0.7838373780250549, 0.40856561064720154, 0.425363689661026, -0.5140078663825989, -0.5699393153190613, -0.6543123126029968, -0.5255539417266846, -0.021033452823758125, -0.21413828432559967, 0.1159660816192627, 0.1702863574028015, -0.3029977083206177, 1.154443621635437, -0.2979441285133362, -0.20416449010372162, -0.046986233443021774, 0.1511649638414383, 0.10086663067340851, 0.6332141160964966, 0.2945050299167633, -1.0341275930404663, -0.5105890035629272, 0.12722453474998474, -0.4094146490097046, -0.026325112208724022, -0.28634217381477356, 0.1204361617565155, 0.12231794744729996, 0.6523792743682861, -0.23231610655784607, 0.3615553677082062, 0.4698854982852936, -0.024673234671354294, 0.26465433835983276, -0.2246840000152588, 0.2082427740097046, -0.9930151104927063, -0.25930240750312805, -0.0804874375462532, -0.0635112076997757, -0.7980790138244629, -0.22019962966442108, 0.11874253302812576, 0.10737458616495132, -0.2223251461982727, 0.005843692924827337, -0.6311913728713989, -0.005096734035760164, -0.018732542172074318, -0.10594752430915833, 0.012419084087014198, 0.4863322973251343, -0.068956658244133, 0.7575814127922058, 0.7826181650161743, -0.4821769595146179, 0.3115731179714203, 0.38756927847862244, -0.0478496290743351, 0.3278336524963379, -0.5111863613128662, 0.6857361197471619, -0.16287334263324738, 0.243413046002388, -0.874046802520752, 0.09476736932992935, -0.01134240161627531, -0.8694663643836975, 0.7615195512771606, -0.42341282963752747, -0.42491066455841064, -0.24646392464637756, -0.057051680982112885, 0.5034306645393372, 0.8232809901237488, -0.6816278100013733, 0.635835587978363, 0.6843135952949524, -0.17963652312755585, -0.42798128724098206, -1.0011861324310303, 0.39397895336151123, -0.15346553921699524, -0.49775707721710205, 0.6017470359802246, -0.12024891376495361, -0.03806586563587189, -0.2301311045885086, -0.6069843173027039, -0.46548956632614136, -0.14786061644554138, -0.2774147391319275, -0.04965127259492874, -0.10331041365861893, -0.11120868474245071, 0.5255782008171082, -0.5033115148544312, 0.05675264820456505, -0.3308105170726776, 0.38592657446861267, 0.01651826500892639, -0.5550180077552795, -0.3884842097759247, 0.40968313813209534, 0.354196161031723, -0.7239922881126404, 0.18962030112743378, 0.6229406595230103, -0.49111199378967285, -0.2907947301864624, -0.6318552494049072, -0.1865207850933075, -0.528873860836029, 0.7354466319084167, -0.38197076320648193, -0.6975252032279968, 0.5206360816955566, -0.21534618735313416, 0.005921795032918453, -0.022117067128419876, 0.4384825527667999, -0.07571209967136383, 0.8534965515136719, 0.315812349319458, -0.40627461671829224, 0.22937385737895966, -0.21868784725666046, 0.5269299149513245, -0.7081729769706726, -0.3668142259120941, -0.3158662021160126, -0.2473108172416687, -0.3073742091655731, -0.5021546483039856, 0.5940963625907898, 0.15064388513565063, 0.07566358149051666, 0.2846907079219818, -0.7436797618865967, 0.6609375476837158, 0.3121235966682434, 0.4776599109172821, 0.2602241337299347, 0.0573737770318985, 0.19212861359119415, 0.0014559155097231269, -0.7683344483375549, -0.07059186697006226, 0.8427823185920715, 0.3455667793750763, 0.8746307492256165, 0.2170267105102539, 1.097208023071289, 0.21539855003356934, -0.7064871191978455, -0.4592036008834839, 0.3967903256416321, -0.3121201694011688, -0.2629714608192444, -0.3892940878868103, -0.4612311124801636, -0.6303625702857971, 0.26064005494117737, 0.09238570928573608, -0.22379560768604279, 0.5169957280158997, 0.5105802416801453, -0.477628618478775, 0.3874920904636383, -0.5867750644683838, 0.26629602909088135, -0.3818241357803345, -0.10706585645675659, -0.22443726658821106, -0.817008912563324, -0.09065496921539307, -0.2435172200202942, 0.15062615275382996, 0.34601274132728577, -0.03731558844447136, 0.8414632678031921, -0.3762933015823364, 0.8152607679367065, -0.42715415358543396, -0.2321261763572693, 0.2034541517496109, -0.13055792450904846, 0.3386126756668091, -0.12784545123577118, 0.13023224472999573, 0.4539661407470703, -0.5123691558837891, -0.20718809962272644, -0.476813405752182, 0.4037918150424957, -0.8954809308052063, -0.1479235142469406, -0.12746800482273102, -0.26403647661209106, -0.4752528965473175, -0.0619472973048687, 0.6098319888114929, 0.8737553358078003, 0.16083896160125732, -0.046126753091812134, 1.1848366260528564, -0.12596702575683594, 0.3840082883834839, 0.6209108233451843, 0.23530347645282745, -0.3796118497848511, 1.2165032625198364, 0.35867610573768616, 0.3258548974990845, 0.49090951681137085, 0.07129009068012238, -0.2973504066467285, -0.7627476453781128, -0.6437709927558899, -0.25161120295524597, -0.4290120303630829, -0.2000923901796341, -0.5287798643112183, -0.5429335236549377, -0.36576026678085327, -0.31211134791374207, -0.6745903491973877, -0.13732415437698364, -0.3448328375816345, -0.15462562441825867, 0.3501179814338684, 0.4040936827659607, -0.16175059974193573, -0.10617304593324661, -0.7304306626319885, 0.34469521045684814, 0.5768712162971497, 0.2823233902454376, -0.006470599211752415, -0.8744125962257385, -0.4264451861381531, 0.24173571169376373, 0.09205922484397888, -0.903868556022644, 0.09599774330854416, 0.5002328753471375, 0.735560953617096, 0.4930732250213623, 0.15445034205913544, 0.7420254945755005, -0.5886306762695312, 0.429021954536438, 0.4550343453884125, -1.139798641204834, 0.2622032165527344, -0.16726776957511902, 0.3681083023548126, 0.5540940165519714, 0.054064907133579254, -0.3520280718803406, -0.5284618735313416, -0.33935338258743286, -1.1066983938217163, 0.6075998544692993, 0.2941029667854309, -0.049919214099645615, 0.25641435384750366, -0.011299466714262962, 0.2142917960882187, 0.25355398654937744, -0.31205880641937256, -0.4034340977668762, -0.5735436677932739, -0.33614349365234375, -0.004895303398370743, -0.10652659833431244, -0.0696454644203186, -0.47614291310310364, 0.42906519770622253, 0.17162692546844482, 0.3028576970100403, 0.05156539008021355, -0.4447762072086334, 0.053515464067459106, 0.39831677079200745, 0.5072169303894043, 0.4499582350254059, -0.0998031497001648, 0.17827409505844116, 0.42691749334335327, -0.520707905292511, 0.2561633288860321, 0.3197953402996063, -0.034498315304517746, 0.241291806101799, 0.11169428378343582, 0.8432060480117798, 0.4698009788990021, -0.3929584324359894, 0.5626435279846191, 0.24151383340358734, -0.29805225133895874, -0.4762420654296875, 0.034825317561626434, 0.28379136323928833, 0.16693150997161865, 0.737117350101471, 0.6309694647789001, 0.45817944407463074, -0.18392567336559296, 0.4203324317932129, -0.1377152055501938, -0.22456270456314087, -0.2271868884563446, 0.6263264417648315, 0.6449312567710876, -0.49363356828689575, 0.5795037746429443, -0.3269537091255188, -0.5498471260070801, 0.9249809384346008, 0.6339069604873657, 0.9757062196731567, -0.8612987995147705, -0.1096295416355133, 0.12485487759113312, 0.3416012227535248, -0.07821962982416153, 0.15503564476966858, -0.28787094354629517, -0.8612117171287537, -0.10198992490768433, -0.10858110338449478, -0.39264392852783203, -0.2620508372783661, -1.1260422468185425, 0.22047093510627747, -0.031070522964000702, 0.16302204132080078, -0.3150670826435089, -0.6118900775909424, -0.43848586082458496, 0.13315540552139282, 0.3876349925994873, 0.6525895595550537, -0.6372677683830261, 0.8200049996376038, 0.5718992948532104, -0.1939777433872223, -0.5243211388587952, 0.2083011418581009, 0.22421929240226746, -0.7612471580505371, 0.1260705143213272, 0.09685507416725159, -0.42808935046195984, 0.20652568340301514, -0.21752412617206573, -0.6723671555519104, 1.2203208208084106, 0.3050880432128906, -1.2251663208007812, 0.01026075892150402, 0.21017296612262726, 0.34923362731933594, -0.03617164492607117, 0.3152645528316498, 0.8037009239196777, 0.25413718819618225, -0.03721887990832329, -1.319208025932312, -0.3202143907546997, -0.625223696231842, -0.01855619251728058, 0.23080721497535706, -0.618846595287323, 0.7140185832977295, -0.21727123856544495, -0.052574221044778824, -0.49051135778427124, 0.43957096338272095, 0.30538690090179443, 0.4150337874889374, 0.9297564625740051, 0.37365028262138367, 0.6674636006355286, 0.0740208849310875, 0.2863718271255493, -0.41505250334739685, 0.2255728393793106, 1.0140259265899658, -0.2966553270816803, 1.0399116277694702, 0.4028119742870331, -0.44403254985809326, 0.030065227299928665, 0.369086354970932, 0.07557804137468338, 0.9591799378395081, 0.09321847558021545, -0.39045917987823486, -0.21334373950958252, 0.5978633761405945, -0.7614288330078125, 0.5450848340988159, 0.334318071603775, -0.017484379932284355, -0.0904286652803421, 0.21657976508140564, 0.06735411286354065, 0.02809366211295128, -0.2197447419166565, 1.133471965789795, 0.16373293101787567, -0.0862673670053482, 0.7080295085906982, -0.2878081798553467, 1.197648286819458, -0.6123068928718567, -0.011938931420445442, 0.03880865499377251, 0.047713711857795715, -0.5735093355178833, -0.528457522392273, 0.37800687551498413, -0.07249046862125397, -0.24585109949111938, -0.30766069889068604, 0.6188677549362183, -0.9651641249656677, -0.3056057393550873, 0.5703756213188171, 0.21617311239242554, 0.2260252684354782, -0.09569677710533142, -0.6240048408508301, 0.19931572675704956, 0.10002773255109787, 0.16762985289096832, 0.5199920535087585, 0.31723496317863464, 0.5242459177970886, 0.1821349710226059, 0.49066537618637085, -0.04233474284410477, 0.3961096704006195, 0.23346827924251556, 1.0592068433761597, -0.25240060687065125, -0.8935081958770752, -0.6755580902099609, 0.6860913634300232, -0.13928672671318054, -0.19632060825824738, 0.4855404496192932, 0.7152154445648193, 0.9161511659622192, -0.21008487045764923, 1.0207141637802124, -0.010320564731955528, 0.5249237418174744, -0.5509920716285706, 1.1994140148162842, -0.34467384219169617, 0.3485160171985626, -0.2718193233013153, -0.3348125219345093, -0.003095194697380066, 0.715668797492981, 0.04464608058333397, 0.13488124310970306, 0.3304240107536316, 1.008926510810852, -0.1335839480161667, -0.05801314488053322, 0.46296587586402893, 0.35639718174934387, 0.3357270658016205, 0.6424316763877869, 0.7053199410438538, -0.6133321523666382, 0.6149886846542358, -0.05301673710346222, -0.6078509092330933, -0.17689555883407593, -0.46859824657440186, -0.671173095703125, -0.8258481025695801, -0.6238660216331482, 0.021570445969700813, 0.35700592398643494, 0.7348838448524475, 0.6678766012191772, -0.8819477558135986, -0.24715271592140198, -0.16785895824432373, -0.2568702697753906, -0.4119148254394531, -0.1629677265882492, 0.018289875239133835, 0.00011337535397615284, -0.5147063732147217, 0.742777407169342, 0.3721108138561249, -0.18735258281230927, -0.06752773374319077, -0.5756242871284485, 0.17852234840393066, 0.09247943013906479, 0.41957220435142517, 0.28998517990112305, -0.668647050857544, -0.0070047578774392605, -0.31497639417648315, 0.19192001223564148, 0.060049545019865036, 0.6863886713981628, -0.49096590280532837, 0.7567959427833557, 0.38908883929252625, 0.9073598384857178, 0.3402041494846344, -0.2696567475795746, 0.4600471258163452, -0.718621015548706, 0.10275617986917496, 0.35796844959259033, 0.4652363955974579, 0.2374720424413681, -0.3395172655582428, 0.06353189051151276, 0.11221206188201904, -0.5454397797584534, -0.7659350037574768, 0.17319625616073608, -0.9372366666793823, -0.05912959203124046, 0.88809734582901, -0.0877913311123848, 0.18396462500095367, -0.6124017238616943, -0.2588183879852295, 0.2107221782207489, -0.5429295897483826, 0.9475152492523193, 0.31957441568374634, -0.2333928495645523, -0.2963801622390747, -0.1317635178565979, 0.3259691596031189, 0.43446478247642517, -0.6715152859687805, -0.19113224744796753, 0.16054204106330872, 0.3956185281276703, 0.18105852603912354, 0.8722603917121887, -0.14692877233028412, 0.45245039463043213, 0.20796732604503632, 0.2113090306520462, -0.4971892833709717, -0.2923574149608612, -0.5670391917228699, -0.30752938985824585, 0.0356828011572361, -0.6417977213859558 ]
http://arxiv.org/abs/2402.17184v1
http://arxiv.org/pdf/2402.17184v1
Extreme Encoder Output Frame Rate Reduction: Improving Computational Latencies of Large End-to-End Models
2024-02-27T03:40:44
2024-02-27T03:40:44
Rohit Prabhavalkar, Zhong Meng, Weiran Wang, Adam Stooke, Xingyu Cai, Yanzhang He, Arun Narayanan, Dongseong Hwang, Tara N. Sainath, Pedro J. Moreno
cs.CL
cs.CL, cs.SD, eess.AS
The accuracy of end-to-end (E2E) automatic speech recognition (ASR) models continues to improve as they are scaled to larger sizes, with some now reaching billions of parameters. Widespread deployment and adoption of these models, however, requires computationally efficient strategies for decoding. In the present work, we study one such strategy: applying multiple frame reduction layers in the encoder to compress encoder outputs into a small number of output frames. While similar techniques have been investigated in previous work, we achieve dramatically more reduction than has previously been demonstrated through the use of multiple funnel reduction layers. Through ablations, we study the impact of various architectural choices in the encoder to identify the most effective strategies. We demonstrate that we can generate one encoder output frame for every 2.56 sec of input speech, without significantly affecting word error rate on a large-scale voice search task, while improving encoder and decoder latencies by 48% and 92% respectively, relative to a strong but computationally expensive baseline.
[ -0.7697004675865173, -0.7445405721664429, 0.043410319834947586, -0.04367577284574509, -0.2987244725227356, -0.028801683336496353, -0.16422432661056519, -0.4379132390022278, -0.004270086996257305, 0.44335103034973145, -0.40721559524536133, -0.0699717327952385, -0.5622009634971619, 0.15757517516613007, -0.7531662583351135, 0.4522061347961426, 0.11516362428665161, 0.06421203911304474, 0.11309245228767395, 0.16142462193965912, -0.07370337098836899, -0.7556954026222229, -1.0305516719818115, -0.4683164358139038, 0.01577574573457241, 0.2563447952270508, 0.462807834148407, 0.8893991112709045, 0.5101400017738342, 0.23490944504737854, -0.3666836619377136, -0.009615243412554264, -0.3836528956890106, 0.2374669909477234, 0.2883484661579132, -0.22791241109371185, -0.2748509347438812, -0.44010359048843384, 0.8309476375579834, 0.5207110047340393, -0.3235265910625458, 0.25022709369659424, -0.0033323776442557573, 0.6992610096931458, -0.6932510733604431, 0.0010189501335844398, -0.33480527997016907, 0.21327491104602814, -0.25854113698005676, -0.3718223571777344, -0.5663978457450867, 0.151872918009758, -0.2583080530166626, -0.22338034212589264, 0.28600063920021057, 0.042795732617378235, 0.5375902056694031, 0.507422924041748, -0.14923125505447388, -0.11800413578748703, -1.022727131843567, 0.16403643786907196, -0.6845625042915344, 0.7597947716712952, 0.2299283891916275, 0.27386265993118286, 0.07145258039236069, -0.4983052909374237, -0.6411414742469788, 0.32322943210601807, 0.3117925822734833, 0.06966947019100189, -0.6442806720733643, 0.20995603501796722, 0.4641813039779663, 0.2698402404785156, -0.7047902941703796, 0.24822762608528137, -0.34331417083740234, -0.3249836564064026, 0.41289615631103516, 0.002042914740741253, 0.01419295184314251, 0.1443955898284912, 0.16091714799404144, -0.33457350730895996, -0.7237737774848938, 0.3129652738571167, 0.3973414897918701, 0.05898416042327881, 0.058236222714185715, 0.5993428230285645, -0.188661590218544, 0.5855464935302734, 0.1525665670633316, 0.09396623075008392, 0.1822947859764099, -0.1299830973148346, -0.23828229308128357, 0.33885350823402405, 0.4024833142757416, 0.4206259846687317, -0.14655889570713043, 0.007481032982468605, -0.38742226362228394, 0.4692091941833496, 0.253531277179718, -1.0953329801559448, -0.049479831010103226, 0.35080304741859436, -0.5641592144966125, 0.016141850501298904, -0.24699842929840088, -0.6492462158203125, -0.08803530782461166, -0.0568869523704052, 0.311081200838089, -0.18178580701351166, -0.07313316315412521, 0.1599622219800949, -0.37647807598114014, 0.5413129329681396, 0.2278931587934494, -0.6693307161331177, 0.7207819223403931, 0.38181549310684204, 0.9045318961143494, 0.03684525564312935, 0.28809916973114014, -1.001104712486267, 0.19206972420215607, -0.5515543222427368, 0.742851197719574, -0.6098995208740234, -0.5029240250587463, -0.16105253994464874, -0.33542054891586304, 0.15511710941791534, -0.7113928198814392, 0.6456956267356873, -0.7119652032852173, -0.20273874700069427, 0.05577132850885391, -0.6000385880470276, -0.35990336537361145, -0.24465912580490112, -0.7003293037414551, 0.6355505585670471, -0.18814268708229065, -0.14267703890800476, -0.09644395112991333, -0.9107786417007446, -0.6189988851547241, -0.21941062808036804, 0.05673430114984512, -0.6031436920166016, 0.5517498850822449, 0.4982123374938965, 0.40366631746292114, -0.47119784355163574, -0.2827339172363281, 0.1135421171784401, -0.42016273736953735, 0.18654532730579376, -0.5746451616287231, 0.4204574525356293, 0.4425663948059082, -0.5842549204826355, -0.11831478774547577, -0.9445115327835083, 0.0854402482509613, 0.07194770872592926, -0.4405588209629059, -0.002965167397633195, -0.12442535161972046, 0.18942435085773468, 0.1925281435251236, -0.32597121596336365, -0.6745736002922058, -0.33954328298568726, -0.5008174777030945, 0.7336975932121277, 0.4842849671840668, -0.1501118540763855, 0.4508717656135559, -0.1982540488243103, 0.3741089999675751, -0.09931742399930954, -0.05486902594566345, -0.4595130681991577, -0.3553297519683838, -0.9839380979537964, -0.1985749900341034, 0.13424193859100342, 0.3716793358325958, -0.5501510500907898, 0.4948974847793579, -0.21186739206314087, -0.41783377528190613, -0.6362795829772949, -0.15829257667064667, 0.7487586736679077, 0.3146064579486847, 0.3798759877681732, -0.6402544379234314, -0.5876978635787964, -0.8185873031616211, -0.16546931862831116, -0.12728610634803772, -0.2968093752861023, 0.27705278992652893, 0.3159879446029663, -0.06643928587436676, 0.6849402785301208, -0.3819025158882141, -0.1930481195449829, -0.0832970142364502, -0.07584352791309357, 0.08919776231050491, 0.536780595779419, 0.18366773426532745, -0.6679455637931824, -0.3177960515022278, -0.011807458475232124, -0.31719106435775757, -0.10067825019359589, -0.052842725068330765, 0.18085870146751404, 0.422776460647583, 0.3775700032711029, -0.474985808134079, 0.515602171421051, 0.5325929522514343, -0.13176043331623077, 0.264195054769516, -0.24815256893634796, 0.160207137465477, -0.5195841789245605, -0.11505144089460373, -0.09669400006532669, -0.14724189043045044, -1.1398926973342896, 0.027500640600919724, 0.0033309890422970057, -0.33360162377357483, -0.34762969613075256, 0.10968059301376343, -0.68350750207901, -0.3426814377307892, -0.24799597263336182, -0.25199586153030396, 0.05617428943514824, 0.5394916534423828, 0.11601234972476959, 0.9290841221809387, 0.47290804982185364, -0.5821409225463867, 0.3364686667919159, 0.4533141553401947, 0.1332746148109436, 0.22805577516555786, -0.8799073100090027, 0.6933271884918213, -0.3753252327442169, 0.5323163866996765, -1.0607774257659912, -0.12456697225570679, -0.04142337292432785, -0.8280701637268066, 0.4428887367248535, -0.1675853431224823, -0.3541124761104584, -0.2684481143951416, -0.3486312925815582, 0.24664707481861115, 0.940895676612854, -0.6604634523391724, 0.6210909485816956, 0.6029350757598877, -0.1786428540945053, -0.24859847128391266, -1.1041958332061768, 0.1388152688741684, -0.042692434042692184, -0.6464285254478455, 0.5873255133628845, -0.09482686221599579, 0.03481472283601761, -0.05115104466676712, -0.25633108615875244, -0.07902927696704865, -0.2535015940666199, 0.19311752915382385, -0.12752826511859894, -0.22884653508663177, -0.32199913263320923, 0.1876893788576126, -0.29555612802505493, 0.03712696209549904, -0.4295444190502167, 0.673466145992279, 0.18951351940631866, -0.43001165986061096, -0.5463494658470154, 0.8471617102622986, 0.6450644135475159, -0.3636834919452667, 0.658932089805603, 0.705944836139679, -0.779832124710083, -0.2862653136253357, -0.7581408619880676, -0.1260773092508316, -0.4525405764579773, 0.5098189115524292, -0.5439293384552002, -0.787907063961029, 0.7197089195251465, 0.0364256277680397, 0.13836196064949036, 0.1805233508348465, 0.49713096022605896, 0.3188307583332062, 1.0846500396728516, 0.4043067693710327, 0.13957710564136505, 0.43027547001838684, -0.4729013442993164, 0.375580370426178, -1.1902539730072021, -0.3236953020095825, -0.6434022188186646, -0.17737486958503723, -0.008687111549079418, -0.7704727053642273, 0.5888180136680603, -0.015660153701901436, -0.2341884821653366, 0.3013983964920044, -0.6696446537971497, 0.4773108959197998, 0.5373761057853699, 0.20465542376041412, 0.07029444724321365, 0.3808394968509674, 0.21700254082679749, 0.10219535231590271, -0.8801718950271606, -0.43702730536460876, 1.03866708278656, 0.3403433561325073, 0.5804921388626099, 0.35181689262390137, 0.5318648219108582, 0.2973479926586151, -0.3430943787097931, -0.6108545064926147, 0.48085448145866394, -0.5134741067886353, -0.2077450305223465, -0.5131906867027283, -0.3825301229953766, -0.5013412833213806, 0.23142720758914948, -0.16594311594963074, -0.25566497445106506, 0.14377564191818237, 0.3335902690887451, -0.6126479506492615, 0.3332681357860565, -0.5497570037841797, 0.3807224631309509, 0.06029805541038513, -0.5112068057060242, -0.31463879346847534, -0.7180022597312927, -0.2202281355857849, -0.09935671091079712, 0.24338895082473755, 0.21440806984901428, -0.20083291828632355, 0.8024913668632507, -0.32295161485671997, 0.4672885239124298, -0.4320071339607239, 0.07793620228767395, 0.21877717971801758, -0.1206013634800911, 0.7731282711029053, -0.32861000299453735, -0.21564054489135742, 0.15619347989559174, -0.4631311893463135, -0.06467196345329285, -0.5917454957962036, 0.25973543524742126, -0.8651842474937439, -0.2626427710056305, 0.1275792419910431, -0.19977891445159912, -0.043247420340776443, -0.1661120504140854, 0.47257447242736816, 1.2537606954574585, -0.0811171904206276, 0.2901540696620941, 0.7890434861183167, -0.33261364698410034, 0.4870789349079132, 0.26093387603759766, 0.2066764533519745, -0.4852634370326996, 0.7217011451721191, 0.380887895822525, 0.32675090432167053, 0.4621891975402832, -0.04110444337129593, -0.6079437732696533, -0.8716225624084473, -0.513151228427887, -0.11447075754404068, -0.7180191278457642, -0.24250712990760803, -0.7691268920898438, -0.41457054018974304, -0.6850834488868713, -0.37400928139686584, -0.7211217284202576, -0.5154553055763245, -0.29710835218429565, 0.15020163357257843, 0.19070608913898468, 0.4119398295879364, -0.16340991854667664, 0.6410504579544067, -0.8026314973831177, 0.3899056911468506, 0.07428613305091858, 0.1586662232875824, 0.07593805342912674, -0.8312872052192688, -0.1897668093442917, -0.03629002720117569, 0.012750481255352497, -0.7095662951469421, 0.7365767359733582, 0.7212228775024414, 0.6266587972640991, 0.3324698805809021, 0.32518815994262695, 0.9436829090118408, -0.7576839327812195, 0.7059367895126343, 0.504779040813446, -1.0933276414871216, 0.3957238495349884, 0.18579423427581787, 0.3988039493560791, -0.012187166139483452, -0.031803619116544724, -0.48174282908439636, -0.07370076328516006, -0.3612159192562103, -1.1415733098983765, 0.6408071517944336, 0.4511469602584839, 0.04461342841386795, 0.21572478115558624, 0.20270299911499023, -0.019269408658146858, -0.02592637948691845, 0.0004632563213817775, -0.3693130910396576, -0.1190730482339859, -0.024280469864606857, -0.07625948637723923, -0.3569244146347046, -0.09785778075456619, -0.18808892369270325, 0.6836274266242981, -0.10899035632610321, 0.6579909324645996, 0.45932093262672424, -0.2597880959510803, -0.15489307045936584, 0.4883737862110138, 0.486336350440979, 0.06362484395503998, 0.06897212564945221, 0.3226892352104187, 0.3456666171550751, -0.3350565731525421, 0.25895658135414124, 0.12611724436283112, -0.1417744904756546, 0.18709968030452728, 0.029005974531173706, 1.1541401147842407, 0.03973282873630524, -0.5646184086799622, 0.42405375838279724, -0.0400671511888504, -0.09782848507165909, -0.5090655088424683, -0.03912756219506264, -0.09819304943084717, 0.3286725878715515, 0.5454221367835999, 0.42987358570098877, 0.5875844359397888, -0.24965770542621613, 0.25914695858955383, 0.32865381240844727, -0.06398622691631317, -0.3635602295398712, 1.013792872428894, 0.5663208365440369, -0.6150358319282532, 0.7639316320419312, -0.00041069992585107684, -0.6095895171165466, 0.5782265663146973, 0.7529556751251221, 1.036589503288269, -0.37349575757980347, -0.2728646993637085, 0.3737662732601166, 0.2847331762313843, -0.19076429307460785, -0.013507559895515442, -0.19930386543273926, -0.6494085192680359, -0.5176578760147095, -0.6559139490127563, -0.502058744430542, -0.17692497372627258, -0.7639688849449158, 0.22542783617973328, -0.1466027945280075, -0.2252267301082611, 0.054273318499326706, -0.3048403561115265, -0.49325600266456604, 0.0009385208250023425, 0.5393832325935364, 0.7166019678115845, -0.4936731457710266, 0.5623337030410767, 0.5266187787055969, -0.04265836253762245, -0.7135476469993591, -0.34771159291267395, 0.290971577167511, -0.523712158203125, 0.24224455654621124, 0.3257339894771576, -0.45035845041275024, 0.2548944354057312, -0.2161424160003662, -0.6994508504867554, 0.8601028919219971, 0.42148253321647644, -0.9251484870910645, -0.10624906420707703, 0.1771371066570282, 0.34486889839172363, -0.5369582176208496, 0.516876757144928, 0.7550445199012756, 0.2684261202812195, 0.29131999611854553, -1.1339138746261597, -0.09314259141683578, -0.6439768075942993, 0.3393644690513611, 0.12954695522785187, -0.47233882546424866, 0.5792027711868286, -0.35133492946624756, -0.3363950252532959, -0.29003143310546875, 0.43979987502098083, 0.11692585796117783, 0.2939612865447998, 0.5638214945793152, 0.4293472468852997, 0.3778652250766754, 0.02882571890950203, 0.7255244255065918, -0.5265989899635315, 0.10127199441194534, 0.5530419945716858, -0.2340153008699417, 1.080331802368164, 0.4464389383792877, -0.11983706802129745, -0.1468978226184845, 0.38993754982948303, 0.12108243256807327, 0.583893358707428, 0.2432074099779129, -0.20901328325271606, -0.1719510406255722, -0.0858784019947052, -0.33622750639915466, 0.4933755099773407, 0.3810359537601471, -0.3045852482318878, 0.14818733930587769, 0.3799072802066803, 0.17164060473442078, 0.02058873325586319, -0.41753339767456055, 0.8260505199432373, -0.133677139878273, -0.3224409818649292, 0.7780038714408875, -0.09644661098718643, 0.90663743019104, -0.5889322757720947, -0.20082981884479523, -0.015401755459606647, 0.4288059175014496, -0.45196399092674255, -0.4376528561115265, 0.5660392045974731, 0.39763495326042175, -0.20846343040466309, -0.3621094524860382, 0.6534569263458252, -0.4503040015697479, -0.289886474609375, 0.33783379197120667, 0.4356677234172821, 0.42937636375427246, -0.25034990906715393, -0.18827316164970398, 0.6067066788673401, 0.061940163373947144, -0.5008723139762878, 0.17834053933620453, -0.0059343306347727776, 0.38412365317344666, 0.4241182804107666, 0.9495919942855835, 0.2934695780277252, 0.3976442217826843, 0.04154719412326813, 1.072860836982727, -0.4340918958187103, -0.6312035322189331, -0.6056762933731079, 0.4751485586166382, -0.03425782918930054, -0.0462755523622036, 0.4054231643676758, 0.8750191330909729, 0.8187770247459412, 0.07529044151306152, 0.8491962552070618, -0.1329048126935959, 0.3909491300582886, -0.5033156275749207, 0.5358532667160034, -0.45739373564720154, 0.5039553046226501, -0.14850002527236938, -0.6938046813011169, -0.42061159014701843, 0.7959147691726685, 0.40411505103111267, -0.19169174134731293, 0.473652720451355, 1.0012661218643188, 0.3411167562007904, 0.1589542031288147, 0.5329240560531616, 0.19615381956100464, 0.616436243057251, 0.5853605270385742, 0.5014687776565552, -0.6471843719482422, 0.8245077133178711, -0.4050044119358063, -0.4377557039260864, -0.017854642122983932, -0.4380975663661957, -0.5504003763198853, -0.5485010743141174, -0.43105271458625793, -0.19305336475372314, 0.4257189631462097, 0.9412851333618164, 0.762837827205658, -0.664841890335083, -0.35343897342681885, 0.07621684670448303, -0.5979412198066711, -0.46393507719039917, -0.09618932753801346, 0.29556044936180115, 0.04604464769363403, -0.785133421421051, 0.5237931609153748, 0.4755692780017853, -0.24320903420448303, -0.01623934507369995, -0.28969496488571167, 0.36997994780540466, 0.15453492105007172, 0.7374876141548157, 0.12632565200328827, -0.6894367933273315, -0.42830124497413635, 0.2971848249435425, 0.27462321519851685, 0.12269627302885056, 0.83335942029953, -0.6739583015441895, 0.5974593758583069, 0.6450157761573792, 0.751609206199646, 0.7275919914245605, 0.036049649119377136, 0.5660224556922913, -0.36686766147613525, -0.02445249632000923, 0.3158789873123169, 0.24099473655223846, 0.2960885763168335, -0.3092055022716522, 0.5733221769332886, 0.05203060805797577, -0.6260010004043579, -0.8946727514266968, 0.02914213389158249, -0.7983388304710388, -0.07149465382099152, 1.1582714319229126, -0.14314112067222595, -0.3083323538303375, -0.3170666992664337, -0.13948723673820496, 0.49053725600242615, -0.6675921082496643, 0.21247003972530365, 0.3382199704647064, -0.7868565320968628, -0.46752312779426575, -0.48431888222694397, 0.04243449866771698, 0.17203488945960999, -0.5435537695884705, 0.33529987931251526, 0.7735933661460876, 0.09298370033502579, 0.16609205305576324, 0.7188645601272583, -0.2047511786222458, 0.4120606780052185, 0.547615647315979, 0.15969516336917877, -0.4740387499332428, -0.2595353424549103, -0.8040807843208313, 0.40489158034324646, -0.2554992735385895, -0.3224627375602722 ]
http://arxiv.org/abs/2402.17168v1
http://arxiv.org/pdf/2402.17168v1
Benchmarking Data Science Agents
2024-02-27T03:03:06
2024-02-27T03:03:06
Yuge Zhang, Qiyang Jiang, Xingyu Han, Nan Chen, Yuqing Yang, Kan Ren
cs.AI
cs.AI, cs.CL
In the era of data-driven decision-making, the complexity of data analysis necessitates advanced expertise and tools of data science, presenting significant challenges even for specialists. Large Language Models (LLMs) have emerged as promising aids as data science agents, assisting humans in data analysis and processing. Yet their practical efficacy remains constrained by the varied demands of real-world applications and complicated analytical process. In this paper, we introduce DSEval -- a novel evaluation paradigm, as well as a series of innovative benchmarks tailored for assessing the performance of these agents throughout the entire data science lifecycle. Incorporating a novel bootstrapped annotation method, we streamline dataset preparation, improve the evaluation coverage, and expand benchmarking comprehensiveness. Our findings uncover prevalent obstacles and provide critical insights to inform future advancements in the field.
[ -0.2031412124633789, -0.562290370464325, 0.6252875924110413, 0.17247143387794495, -0.04235300049185753, 0.6950230002403259, -0.312219500541687, -0.4787885248661041, 0.028068330138921738, 0.2756068706512451, -0.6541274189949036, -0.6935962438583374, -0.5330362915992737, 0.2806697189807892, -0.5036835670471191, 0.968524694442749, 0.052056729793548584, 0.07412571460008621, -0.5989688634872437, -0.14286193251609802, -0.09099438041448593, -0.38942983746528625, -0.38482654094696045, -0.27463096380233765, 0.42651525139808655, 0.27065184712409973, 0.8948960304260254, 0.9390058517456055, 0.6156355142593384, 0.3806411027908325, 0.12108996510505676, 0.13614793121814728, -0.3976249098777771, 0.6344307065010071, -0.17502716183662415, -0.43052464723587036, -0.6436569690704346, 0.19300580024719238, 0.7800531387329102, 1.1402026414871216, -0.16913993656635284, 0.36370575428009033, -0.17202481627464294, 0.9088477492332458, -0.7739388942718506, 0.5636249780654907, -0.7384772300720215, -0.07799704372882843, -0.2551945745944977, 0.044866614043712616, -0.25879523158073425, -0.5271859765052795, 0.09571632742881775, -0.5495052933692932, -0.07499437779188156, -0.08726750314235687, 0.3661223351955414, 0.5916637182235718, -0.24883131682872772, -0.17391939461231232, -0.6324019432067871, 0.94073885679245, -0.4845944344997406, 0.26895642280578613, 0.2635529935359955, 0.8525014519691467, -0.33892571926116943, -0.7217651009559631, -0.32179099321365356, -0.5040470957756042, 0.1737108677625656, -0.35591766238212585, -0.09306257963180542, -0.2088451236486435, 0.24437129497528076, 0.10905726253986359, -0.20649684965610504, 0.2725660502910614, -0.3790786862373352, -0.12775570154190063, 1.138092041015625, 0.5862460732460022, -0.07229284197092056, 0.2104460895061493, -0.25381526350975037, -0.1475621610879898, -0.572664201259613, -0.33577170968055725, 0.1294640749692917, 0.7695804238319397, 0.1673789769411087, 0.31587716937065125, -0.5511520504951477, 0.5314127802848816, -0.34271761775016785, 0.03831551969051361, 0.6110478639602661, -0.21688033640384674, -0.17555664479732513, -0.15944413840770721, 0.6196520328521729, 0.3462618589401245, 0.1495465487241745, -0.4325714409351349, -0.37488311529159546, 0.1939670592546463, 0.1903214305639267, -0.8866984844207764, -0.0837860032916069, 0.53090900182724, -0.036136284470558167, -0.6835801005363464, -0.3096921145915985, -1.0507497787475586, -1.154969573020935, -0.38511183857917786, 0.3249536454677582, -0.10972489416599274, -0.2985078990459442, -0.1352654993534088, 0.10482282191514969, 0.07665414363145828, 0.32537201046943665, -0.5379592776298523, 0.6821176409721375, 0.832636296749115, 0.7160448431968689, -0.38763466477394104, -0.46214988827705383, -0.5668980479240417, -0.175983265042305, -0.7106711268424988, 0.9076770544052124, -0.8941004276275635, -0.24451321363449097, -0.060921233147382736, -0.06668314337730408, -0.043669212609529495, -0.4766042232513428, 0.5406979322433472, -0.5587959289550781, -0.5260158777236938, -0.5281670689582825, -0.5876025557518005, 0.04361014440655708, 0.1828957200050354, -0.6928456425666809, 1.2811777591705322, 0.21299876272678375, -0.4851957857608795, 0.815466582775116, -0.5747770667076111, -0.2607881426811218, 0.5447173714637756, -0.4639117419719696, -0.4350755512714386, -0.09327462315559387, 0.08648530393838882, 0.6840536594390869, -0.8417269587516785, 0.38645321130752563, -0.4090658128261566, -0.29703375697135925, 0.44089505076408386, -0.17398788034915924, 0.431866854429245, 0.3286561071872711, -0.301534503698349, 0.24518702924251556, -1.161787986755371, 0.19717317819595337, 0.19999468326568604, -0.062299035489559174, -0.2110181599855423, 0.31990116834640503, 0.15463516116142273, 0.1895110011100769, -0.011493632569909096, -0.4539271593093872, 0.3052106499671936, 0.16679291427135468, 0.5087293386459351, 0.8524956703186035, -0.2503710985183716, 0.017801934853196144, -0.20687179267406464, 0.6833786368370056, -0.12730854749679565, 0.014322820119559765, -0.016166340559720993, 0.04719921573996544, -0.4763830602169037, -0.6446025967597961, 0.46290716528892517, 0.2242947518825531, -0.7691402435302734, 0.37090885639190674, -0.5584070086479187, -1.0503487586975098, -0.853241503238678, 0.018010929226875305, 0.199171781539917, 0.5082066059112549, 0.3771359324455261, -0.03978411853313446, -0.39716804027557373, -0.9858571290969849, -0.20593290030956268, -0.0494849793612957, 0.0902540311217308, 0.10923495143651962, 0.7079929113388062, -0.36171427369117737, 0.9124321341514587, -0.4323470890522003, 0.10200349241495132, -0.3829617202281952, 0.007048376370221376, 0.07431211322546005, 0.195221409201622, 0.35465919971466064, -0.6037439107894897, -0.4131758213043213, -0.05787346512079239, -0.8731546401977539, -0.45328283309936523, 0.005744533613324165, 0.2337353229522705, 0.22945702075958252, 0.5590291619300842, -0.3369846045970917, 0.29052281379699707, 0.2358243763446808, -0.24247264862060547, 0.5996201634407043, -0.16427965462207794, 0.263437420129776, -0.5165307521820068, 0.29963865876197815, 0.010344014503061771, -0.1878587156534195, -0.7632305026054382, -0.18316087126731873, 0.2468670904636383, -0.011582811363041401, -0.19246149063110352, 0.43407684564590454, -0.5202999114990234, -0.44351065158843994, -0.14522606134414673, 0.2517850399017334, -0.16606701910495758, 0.0105202067643404, 0.004512075800448656, 0.9419595003128052, 0.8491310477256775, -0.5480540990829468, 0.6166095733642578, 0.12923522293567657, -0.4311210513114929, 0.6860013008117676, -0.7547082304954529, 0.09906315803527832, -0.19777464866638184, 0.3455626368522644, -0.9948397874832153, -0.06729953736066818, -0.14135690033435822, -0.02929641678929329, 0.2704973518848419, -0.07739318907260895, -0.7441532611846924, -0.408176988363266, -0.6482362747192383, 0.26543691754341125, 0.2648116648197174, -0.5188394784927368, 0.3269684314727783, 0.4983263611793518, -0.23487597703933716, -0.5625032782554626, -0.4416874349117279, 0.3644215762615204, -0.38116294145584106, -0.5148388743400574, 0.15699955821037292, -0.07110413163900375, -0.5235471725463867, -0.14927604794502258, -0.1522188037633896, 0.026115331798791885, 0.23941639065742493, 0.19436658918857574, 0.42809075117111206, -0.02970658428966999, 0.32980552315711975, -0.13877716660499573, -0.4080033600330353, 0.03347108140587807, 0.10641622543334961, 0.23484602570533752, -0.28620418906211853, -0.3784520626068115, -0.1995038539171219, 0.04525220766663551, 0.9150267243385315, -0.37110260128974915, 0.7053948044776917, 0.1967240422964096, -0.2803053855895996, -0.3993910551071167, -0.7460480332374573, -0.04874802753329277, -0.47227996587753296, 0.7602058053016663, -0.40724873542785645, -0.1265125274658203, 0.42506054043769836, -0.33245059847831726, -0.0449240542948246, 0.4024914503097534, 0.42812180519104004, 0.33139461278915405, 0.8240354657173157, 0.35332199931144714, -0.24607324600219727, 0.00917186588048935, -0.18522867560386658, -0.12525959312915802, -0.7473741173744202, -0.15808790922164917, -0.6558412313461304, -0.022501332685351372, -0.6367906332015991, -0.4353565573692322, 0.35928788781166077, -0.29719898104667664, -0.3243103325366974, 0.2950776517391205, -0.45193222165107727, 0.4787059724330902, 0.028699049726128578, -0.24519763886928558, 0.4261268675327301, -0.19114269316196442, 0.2725422978401184, -0.03736310452222824, -0.38536232709884644, -0.8408032655715942, 1.5526888370513916, 0.5338934063911438, 0.8504931926727295, -0.31710368394851685, 0.5251628756523132, 0.7064638733863831, 0.29041847586631775, -0.6221848130226135, 0.8017324209213257, 0.11260268837213516, -0.46516290307044983, -0.3627030849456787, -0.34159785509109497, -0.9447900652885437, 0.4886273741722107, -0.25513461232185364, -0.8920470476150513, 0.03788942098617554, -0.31908300518989563, -0.06516759842634201, 0.036119915544986725, -0.4405035078525543, 0.664152204990387, -0.3204640746116638, -0.7597880363464355, -0.21067017316818237, -0.6581306457519531, -0.1740444153547287, -0.23849882185459137, 0.40300503373146057, -0.5123733878135681, -0.3926471769809723, 0.759240448474884, -0.5438557863235474, 0.576838493347168, -0.3675341010093689, -0.05325556546449661, 0.08332591503858566, -0.10421723127365112, 0.6026535034179688, -0.1489631086587906, -0.6416077017784119, 0.11563052982091904, 0.25465476512908936, -0.46759697794914246, -0.41927602887153625, 0.7082474231719971, -0.4796355366706848, -0.34190359711647034, -0.6835586428642273, -0.6635659337043762, -0.6267362833023071, 0.033114586025476456, -0.3521493971347809, 0.22895541787147522, -0.30860838294029236, 0.15731105208396912, 0.2950117290019989, 0.05026615783572197, 0.34229981899261475, 0.8304704427719116, -0.074421726167202, -0.23568637669086456, 0.8004695773124695, 0.31037217378616333, 0.28861764073371887, -0.0834706649184227, -0.015406041406095028, -0.38047510385513306, -0.8657446503639221, -0.48245328664779663, 0.15580260753631592, -0.8148175477981567, -0.22128178179264069, -0.49244424700737, 0.02090654894709587, -0.08358971029520035, -0.06494587659835815, -0.749807596206665, -0.4391869008541107, 0.22979246079921722, -0.11568479984998703, 0.44978800415992737, 1.0102596282958984, 0.011327975429594517, -0.22796377539634705, -0.38514161109924316, 0.1082543432712555, 0.08012202382087708, 0.5262461304664612, 0.12142357230186462, 0.06981732696294785, -0.32104265689849854, -0.12417562305927277, 0.01291279774159193, -0.6242291927337646, 0.14725160598754883, 0.030044028535485268, 0.8556730151176453, -0.004277732223272324, 0.07670453935861588, 0.4797479212284088, -0.4589642584323883, 0.5261380672454834, -0.37353524565696716, -0.7606048583984375, 0.40512725710868835, -0.2783181965351105, -0.12097245454788208, 0.930731475353241, 0.40273749828338623, -0.3885369896888733, -0.04282373562455177, -0.24957914650440216, -1.0781344175338745, 0.7383018136024475, 0.2591548562049866, -0.31934794783592224, 0.10993187874555588, 0.17174114286899567, 0.4278879761695862, 0.5347701907157898, -0.22967208921909332, -0.28725486993789673, 0.19701820611953735, -0.10206107795238495, -0.14948338270187378, 0.06710845977067947, -0.14345002174377441, -0.17385342717170715, 0.7619456648826599, -0.24968257546424866, -0.2426833063364029, -0.03262954205274582, -0.286588579416275, -0.024085532873868942, 0.43610191345214844, 0.1940992772579193, 0.94755619764328, -0.18063752353191376, -0.09860335290431976, 0.18292705714702606, -0.5222213268280029, 0.13228130340576172, 0.6740970015525818, 0.02548426389694214, -0.3668782413005829, 0.49137333035469055, 0.3404218852519989, -0.051158249378204346, -0.8944486379623413, 0.4404022693634033, -0.021748531609773636, 0.14051854610443115, -0.06516263633966446, 0.03734345734119415, 0.0001505599939264357, 0.41538482904434204, 0.8018780946731567, -0.3209657371044159, 0.18494538962841034, -0.39813897013664246, 0.10606299340724945, 0.48174166679382324, -0.2650562524795532, -0.25642696022987366, 0.491364449262619, 0.22743164002895355, -0.03138972818851471, 0.4453500807285309, -0.2448696792125702, -0.36677658557891846, 0.814314067363739, 0.2049991935491562, 0.9003902077674866, -0.22324085235595703, 0.2516738176345825, 0.052933186292648315, 0.28916749358177185, -0.021179720759391785, 0.21471816301345825, -0.161297008395195, -0.3273043632507324, -0.12836933135986328, -0.6020746827125549, -0.6499242782592773, 0.05518082156777382, -0.7375923991203308, 0.3237009644508362, -0.24589648842811584, 0.04272514581680298, 0.4646429419517517, 0.4712761342525482, -0.9588767886161804, 0.26443156599998474, 0.0965578705072403, 0.9201157093048096, -1.058423399925232, 0.6799595952033997, 0.6036768555641174, -0.4083150625228882, -0.1329110711812973, -0.14321018755435944, 0.19389581680297852, -0.811115026473999, 0.6521333456039429, 0.18723079562187195, -0.14574480056762695, -0.4203335642814636, -0.47383615374565125, -0.7522577047348022, 1.3604010343551636, 0.2908327281475067, -0.5322784185409546, 0.3999080955982208, 0.3576519191265106, 0.9717258214950562, -0.7106629014015198, 0.5548200607299805, 1.1537965536117554, 0.615856409072876, -0.005674986634403467, -0.8129674196243286, 0.3770985007286072, -0.3619862198829651, 0.11583422869443893, 0.12121192365884781, -0.6490863561630249, 0.711580753326416, -0.12027178704738617, -0.10876472294330597, 0.03161921724677086, 0.3985210061073303, 0.3724465072154999, 0.5758734941482544, 0.41193240880966187, 0.020572645589709282, 0.9414223432540894, 0.07983028888702393, 0.9834297895431519, -0.24093292653560638, 0.2173825204372406, 1.0695979595184326, -0.8819248676300049, 0.7464845776557922, 0.3601853847503662, -0.764102041721344, 0.45693403482437134, 0.5901524424552917, -0.2749190628528595, 0.38875749707221985, 0.5500063896179199, -0.13397379219532013, -0.20810458064079285, -0.3383564054965973, -0.40320250391960144, 0.40203383564949036, 0.6595707535743713, -0.18286339938640594, -0.25651437044143677, -0.20667664706707, -0.09335574507713318, 0.37890002131462097, -0.30928894877433777, 0.5609628558158875, -0.35828885436058044, -0.2800379991531372, 0.5786251425743103, -0.40940770506858826, 0.3325277268886566, -0.5779893398284912, -0.03870430961251259, -0.12382499873638153, 0.08665355294942856, -0.3099566400051117, -0.6545424461364746, 0.06865271180868149, 0.03895871341228485, 0.22872933745384216, 0.16476240754127502, 0.4722772538661957, -0.1922498345375061, -0.6255781650543213, 0.3906283974647522, 0.5377938747406006, 0.281121164560318, 0.025408713147044182, -0.7104525566101074, 0.4140622019767761, -0.43306684494018555, -0.41731321811676025, 0.247691348195076, 0.34854745864868164, -0.27481186389923096, 1.0275795459747314, 0.2852358818054199, 0.3319379687309265, -0.3808336853981018, 0.24413572251796722, 1.2255525588989258, -0.7569075226783752, -0.2708550691604614, -0.8803992867469788, 0.5699095129966736, -0.34357520937919617, 0.08961311727762222, 0.6438170671463013, 0.6610196232795715, 0.26930302381515503, 0.18999755382537842, 1.020646572113037, -0.036668356508016586, 0.7853623032569885, -0.12987136840820312, 0.7703799605369568, -0.3508692979812622, 0.7236210703849792, -0.6303261518478394, -0.9272081851959229, -0.1658022105693817, 0.11973844468593597, -0.6349471211433411, 0.28461670875549316, 0.599608838558197, 0.7597531676292419, 0.1870613992214203, 0.08733022212982178, 0.2734176218509674, 0.2536521852016449, 0.4443439841270447, 0.27109766006469727, 0.8871394991874695, -0.35914474725723267, 0.3588945269584656, -0.13424807786941528, -0.41076192259788513, -0.0838378369808197, -1.0731335878372192, -1.1068212985992432, -0.719529390335083, -0.5047614574432373, -0.16130612790584564, 0.33741894364356995, 1.1204447746276855, 0.652917206287384, -0.6671591997146606, -0.18415617942810059, 0.012145147658884525, 0.0004105323168914765, -0.27911576628685, -0.14550074934959412, 0.6410242915153503, -0.39821574091911316, -0.6543711423873901, 0.6004144549369812, 0.3316623568534851, -0.11489301174879074, -0.5642926096916199, 0.15893396735191345, -0.030524658039212227, 0.12677861750125885, 0.3742448687553406, 0.1403416097164154, -0.35408973693847656, -0.014789042063057423, -0.3171449303627014, -0.12750038504600525, -0.05032895877957344, 0.5936216711997986, -0.9923663139343262, 0.5275134444236755, 0.16334761679172516, 0.9345436096191406, 0.5166455507278442, -0.010610801167786121, 0.4517837166786194, -0.5162870287895203, -0.012885806150734425, 0.30645883083343506, 0.047154076397418976, 0.7311325669288635, -0.20228126645088196, 0.9141610264778137, -0.12564882636070251, -0.6480422019958496, -1.1926723718643188, -0.06370994448661804, -0.5920273661613464, -0.20364132523536682, 1.1269711256027222, -0.05524875596165657, -0.12618668377399445, -0.16832296550273895, 0.050353024154901505, -0.12700790166854858, -0.5178799629211426, 0.9807949662208557, 0.6584295630455017, -0.17816586792469025, 0.27480342984199524, -0.6557376980781555, 0.6273255348205566, 0.2965192496776581, -1.1534653902053833, 0.6072713732719421, 0.4677349925041199, 0.1867736279964447, -0.09267979860305786, 0.4887007772922516, -0.13360686600208282, 0.11813473701477051, 0.29052218794822693, -0.1544388234615326, -0.27449652552604675, -0.34023383259773254, -0.4878605604171753, -0.022107021883130074, 0.3434556722640991, -0.10772762447595596 ]
http://arxiv.org/abs/2402.17151v2
http://arxiv.org/pdf/2402.17151v2
Clustering Document Parts: Detecting and Characterizing Influence Campaigns from Documents
2024-02-27T02:36:43
2024-04-26T20:01:28
Zhengxiang Wang, Owen Rambow
cs.CL
cs.CL
We propose a novel clustering pipeline to detect and characterize influence campaigns from documents. This approach clusters parts of document, detects clusters that likely reflect an influence campaign, and then identifies documents linked to an influence campaign via their association with the high-influence clusters. Our approach outperforms both the direct document-level classification and the direct document-level clustering approach in predicting if a document is part of an influence campaign. We propose various novel techniques to enhance our pipeline, including using an existing event factuality prediction system to obtain document parts, and aggregating multiple clustering experiments to improve the performance of both cluster and document classification. Classifying documents after clustering not only accurately extracts the parts of the documents that are relevant to influence campaigns, but also captures influence campaigns as a coordinated and holistic phenomenon. Our approach makes possible more fine-grained and interpretable characterizations of influence campaigns from documents.
[ -0.2912408709526062, -0.7563675045967102, 0.8372088670730591, 0.08100461214780807, -0.20773692429065704, 0.12936481833457947, -0.08891131728887558, -0.26272666454315186, 0.7401708364486694, 0.5843222141265869, -0.6396622657775879, -0.9058025479316711, -1.1254667043685913, -0.33967044949531555, -0.9082571268081665, 1.1148797273635864, 0.2800944745540619, 0.038111746311187744, -0.3977544903755188, -0.09277034550905228, -0.1553184688091278, -0.25023627281188965, -0.6290633082389832, -0.18684978783130646, 0.8701481819152832, 0.44129908084869385, 0.04215569421648979, 0.6660833954811096, 0.3843538761138916, 0.2626597583293915, -0.15916454792022705, -0.1567244678735733, -0.7855498790740967, 0.11828387528657913, -0.4341066777706146, -0.6549690365791321, -0.05758020281791687, 0.31455543637275696, 0.7875889539718628, 0.14976990222930908, -0.15758177638053894, 0.10050695389509201, -0.14634765684604645, 0.36791476607322693, -0.6133057475090027, 0.4076768755912781, -0.9721549153327942, -0.284128338098526, -0.6317647695541382, -0.06789441406726837, -0.5995081067085266, -0.27107271552085876, -0.23318174481391907, -0.5423913598060608, 0.9073115587234497, 0.2438962757587433, 0.4971306622028351, 0.013960153795778751, -0.6199599504470825, -0.6910268664360046, -0.7960995435714722, 0.7582999467849731, -0.550643801689148, 0.1776222288608551, 0.20211513340473175, -0.012437310069799423, -0.13025224208831787, -1.0680123567581177, -0.616172730922699, 0.293449729681015, -0.23078477382659912, 0.17175912857055664, -0.21290920674800873, -0.12166599184274673, 0.02459731139242649, 0.2737945318222046, -0.22923974692821503, 0.11326765269041061, -0.33908241987228394, -0.26201435923576355, 0.5205291509628296, -0.13511794805526733, 0.2378939986228943, -0.37218552827835083, -0.31030941009521484, -0.3239595890045166, -0.7349415421485901, -0.04655701294541359, 0.5006778836250305, 0.23554326593875885, 0.03204554691910744, 0.34100082516670227, -0.32454463839530945, 0.27817487716674805, 0.5879727602005005, -0.005150703713297844, -0.17220421135425568, -0.6025628447532654, -0.03888994827866554, 0.48741844296455383, 0.6748561263084412, 0.14278794825077057, -0.5936626195907593, 0.008404459804296494, 0.21404580771923065, 0.18272188305854797, 0.24934548139572144, -1.1483659744262695, -0.15952572226524353, 0.018275581300258636, -0.708289623260498, -0.573746383190155, 0.7242910861968994, -0.8528739213943481, -1.0230627059936523, -0.22532713413238525, 0.25093093514442444, -0.11511307954788208, -0.30747780203819275, -0.3154335618019104, -0.7201145887374878, 0.1281503438949585, 0.4575021266937256, -0.7775788307189941, -0.006213271524757147, 1.3430095911026, 0.8270456790924072, -0.3479122221469879, -0.1067943125963211, -0.6408706903457642, 0.1240931898355484, -0.44337013363838196, 1.1867214441299438, -0.8704615831375122, -0.607621431350708, 0.24682706594467163, 0.4928968548774719, -0.07019944489002228, -0.41031622886657715, 0.8138308525085449, -0.5831584334373474, 0.29769599437713623, -0.5256078839302063, -0.8446632623672485, -0.14108645915985107, 0.12746651470661163, -0.9011996388435364, 0.8293492794036865, 0.17771217226982117, -0.8772943019866943, 0.7782534956932068, -0.5124089121818542, -0.48572686314582825, -0.07377293705940247, -0.2347496598958969, -0.35778796672821045, 0.1607639342546463, -0.04354461655020714, 0.577802836894989, -0.19732524454593658, 0.22197286784648895, -0.31682610511779785, -0.11514152586460114, -0.13387495279312134, -0.058564428240060806, 0.6099245548248291, -0.22110170125961304, -0.37863394618034363, 0.4458186626434326, -0.763767421245575, -0.6235852837562561, -0.23332956433296204, -0.13802514970302582, -0.7275083065032959, 0.2909694015979767, -0.127382293343544, 0.015166939236223698, 0.2997259795665741, -0.7593138813972473, 0.3104792833328247, -0.0243978351354599, 0.03036859817802906, 0.7456763386726379, 0.7002264261245728, 0.9195384383201599, -0.09218364953994751, 0.3824896216392517, 0.07324009388685226, 0.15010185539722443, -0.23393182456493378, -0.6099146604537964, -0.9627693295478821, -0.046873513609170914, 0.2054544985294342, 0.14807675778865814, -0.4469674825668335, 0.5575875639915466, -0.10558993369340897, -0.867413341999054, -0.11500658094882965, -0.03417216241359711, 0.02346811257302761, 0.45144450664520264, 0.1688838005065918, -0.2945527732372284, -0.3409067392349243, -0.6543802618980408, -0.3294655978679657, -0.34506839513778687, -0.051894307136535645, -0.0643366351723671, 0.5361840724945068, -0.1102961078286171, 0.799825131893158, -0.5933104753494263, -0.6144559979438782, 0.2739921808242798, 0.5860274434089661, 0.22761374711990356, 0.23391376435756683, 0.6517382264137268, -0.8717822432518005, -0.5630989670753479, 0.29065510630607605, -0.22879859805107117, -0.09952816367149353, -0.18746218085289001, -0.26026812195777893, -0.18357285857200623, 0.9989759922027588, -0.25058209896087646, 0.4109058678150177, 0.2692570388317108, -0.7872017025947571, 0.4021357297897339, 0.010226803831756115, 0.4412815570831299, -1.0206128358840942, -0.3300964832305908, 0.21696899831295013, 0.19804152846336365, -0.6138073205947876, -0.25948840379714966, 0.034383129328489304, 0.034285686910152435, -0.216221421957016, 0.3961780071258545, -0.19440051913261414, 0.24239592254161835, -0.421730637550354, -0.025670848786830902, 0.329240620136261, 0.10145565867424011, -0.010647735558450222, 0.20917324721813202, 0.5693762302398682, -0.17848294973373413, 0.48648780584335327, 0.09401489049196243, -0.5997284054756165, 0.9743385910987854, -0.4974803626537323, 0.08407957851886749, -0.2826688289642334, 0.7064311504364014, -1.071196436882019, -0.20567426085472107, 0.21514476835727692, -0.1375739574432373, 0.4443442225456238, -0.6504946351051331, -0.4871464669704437, 0.014679188840091228, -0.22629253566265106, -0.25335437059402466, 0.20458915829658508, -0.4150961935520172, 0.8470864295959473, 0.5061349272727966, -0.1021689623594284, -0.2208147644996643, -0.1764262169599533, -0.1345612108707428, -0.4783094823360443, -0.48556262254714966, 0.5430905222892761, 0.22515657544136047, -0.1016339659690857, 0.27427244186401367, -0.08705301582813263, -0.30699869990348816, -0.3254065215587616, 0.7542116045951843, -0.08684875816106796, -0.13656874001026154, 0.19856703281402588, 0.3292774260044098, 0.00007269501656992361, 0.203028604388237, -0.6585710048675537, 0.23386825621128082, 0.2381756752729416, -0.46988609433174133, -0.13548998534679413, 0.5564271211624146, 0.7945613861083984, -0.23656560480594635, 0.8378653526306152, 1.2714245319366455, -0.18692167103290558, -0.38093093037605286, -0.7480496764183044, -0.4445972144603729, -0.40892326831817627, 0.2172262966632843, 0.1307343691587448, -0.7471991181373596, 0.5619483590126038, -0.3745741546154022, 0.0007434964063577354, 0.8616901636123657, 0.6184409856796265, -0.042977262288331985, 0.849252462387085, 0.796674907207489, -0.47626209259033203, 0.9338929653167725, -0.5887441039085388, 0.11660582572221756, -0.5672461986541748, -0.4468923807144165, -0.8924933671951294, -0.2637734115123749, -0.5593925714492798, -0.8822209239006042, 0.39036428928375244, -0.011698197573423386, 0.39200860261917114, 0.2268156111240387, -0.43061232566833496, 0.38565993309020996, 0.7591875195503235, -0.04165693372488022, 0.24892424046993256, 0.0840638279914856, 0.21405181288719177, 0.28041204810142517, -0.7284403443336487, -0.20362907648086548, 0.8694406151771545, -0.06958212703466415, 0.663104236125946, -0.0509941391646862, 0.7180260419845581, 0.7929219007492065, 0.5509035587310791, -0.8727802038192749, 0.2708175778388977, -0.18222714960575104, -0.7444131374359131, -0.2714370787143707, -0.04412582889199257, -1.1719688177108765, 0.10811671614646912, -0.42890647053718567, -0.6157466769218445, 0.7269645929336548, -0.28724318742752075, 0.18281669914722443, 0.3776800036430359, -0.6731594204902649, 0.8598477244377136, 0.2226182520389557, -0.23002615571022034, -0.7654072046279907, -0.27911368012428284, 0.00884825550019741, -0.19787032902240753, 0.29238301515579224, -0.10356426239013672, 0.05969306454062462, 1.0922454595565796, -0.16666629910469055, 0.997938334941864, -0.26256218552589417, -0.08318440616130829, 0.49316704273223877, -0.062039103358983994, 0.6627486944198608, -0.1037314385175705, -0.350627601146698, 0.09159331023693085, 0.15791547298431396, -0.38971221446990967, -0.8445283770561218, 0.9022560715675354, -0.35848328471183777, -0.5362765789031982, -0.1985529661178589, -0.36400920152664185, 0.1480870395898819, 0.6365155577659607, 0.35630321502685547, 0.6739019155502319, -0.7177712917327881, 0.4929887354373932, 0.48730483651161194, 0.5627050995826721, 0.39604100584983826, 0.5283145904541016, 0.11176133155822754, -0.18883547186851501, 1.208530068397522, 0.13126514852046967, -0.09200510382652283, 0.4664446711540222, 0.554882824420929, -0.4792673587799072, -0.7490005493164062, -0.22555308043956757, 0.32938238978385925, -0.7711582183837891, 0.03557504341006279, -0.48630961775779724, 0.2979431450366974, -0.7766496539115906, -0.12740059196949005, -0.2325391173362732, -0.2345837652683258, -0.38984906673431396, -0.09793141484260559, 0.14113707840442657, 1.3490324020385742, -0.06398721784353256, 0.6543157696723938, -0.765224277973175, -0.16452427208423615, 0.33803316950798035, 0.14731287956237793, -0.17481161653995514, -0.29932665824890137, -0.7322227358818054, -0.43423470854759216, -0.37557080388069153, -1.1134995222091675, -0.023878498002886772, 0.11348959803581238, 0.521414577960968, 1.1091599464416504, 0.34320327639579773, -0.1295333057641983, -0.3365991711616516, 0.8301942348480225, 0.16566261649131775, -0.7728450298309326, 0.5726234316825867, -0.644062340259552, 0.0725632831454277, 0.688809871673584, 0.6436365246772766, -0.2955886423587799, -0.34788763523101807, -1.2205978631973267, -0.5003718137741089, 0.5824118852615356, 0.22060422599315643, -0.17848087847232819, 0.05206935107707977, 0.14179456233978271, -0.13478970527648926, 0.3540087938308716, -0.24641618132591248, 0.09268572926521301, 0.057301200926303864, 0.03494292125105858, 0.0853666216135025, -0.2599899470806122, -0.403676301240921, 0.06427289545536041, 0.8966337442398071, -0.18984276056289673, -0.3428014814853668, 0.2281782180070877, 0.38720113039016724, -0.209645077586174, -0.023596210405230522, 0.14820918440818787, 0.8188138604164124, -0.2685791254043579, 0.03522432595491409, -0.22768506407737732, -0.4579138159751892, -0.04497455433011055, 0.03539509326219559, -0.3221989870071411, 0.4023574888706207, 0.6552678942680359, 0.7133187651634216, 0.04734984040260315, 0.09221874177455902, 0.6000819206237793, -0.06779902428388596, -0.23364804685115814, -0.05336305499076843, 0.05780617892742157, 0.19817472994327545, 0.2763117849826813, 0.27746427059173584, 0.06818211823701859, 0.39676380157470703, -0.8932527899742126, 0.32327818870544434, 0.4777148365974426, -1.0484057664871216, -0.43671032786369324, 0.27511125802993774, 0.5437467694282532, -0.14179940521717072, 0.04040829837322235, -0.19939012825489044, -0.6242164373397827, 1.0017123222351074, 0.22325237095355988, 0.6725454926490784, -0.32405906915664673, 0.4046052098274231, 0.3777013421058655, 0.23519954085350037, -0.028123440220952034, -0.7061083316802979, -0.21501797437667847, -0.7034814357757568, -0.25123730301856995, -0.4061395227909088, -0.49316179752349854, -0.05987013876438141, -0.6520764231681824, 0.44616183638572693, -0.3277333080768585, -0.1466781497001648, 0.3733394742012024, 0.2019241899251938, -0.248885378241539, 0.07445155829191208, -0.13029806315898895, 0.7757465839385986, -1.1592928171157837, 0.9102969169616699, 0.5328380465507507, 0.04864346981048584, -0.6179495453834534, 0.23930387198925018, 0.27952298521995544, -0.3804049789905548, 0.22776105999946594, 0.0036871028132736683, -0.16740138828754425, 0.08066114783287048, -0.43343478441238403, -0.6435715556144714, 1.1085660457611084, -0.21840080618858337, -0.3124265670776367, 0.01460263878107071, -0.2986847758293152, 0.1669291853904724, -0.5369665026664734, -0.05970200523734093, 0.7066663503646851, 0.6917700171470642, 0.22424474358558655, -0.10005597770214081, 0.06953418999910355, 0.03642173111438751, -0.4571876525878906, 0.5698010921478271, -0.6238871216773987, 0.5714357495307922, 0.28791889548301697, -0.41285884380340576, -0.20800888538360596, 0.7454326152801514, -0.13646744191646576, 0.8675768375396729, 0.9324005842208862, 0.4389556050300598, 1.0134556293487549, -0.08035360276699066, 1.1814347505569458, -0.3119821846485138, 0.4185236990451813, 0.9305490851402283, -0.026364367455244064, 0.570325493812561, 0.38517624139785767, -0.03183779865503311, 0.9228532910346985, 0.39958685636520386, 0.023344736546278, 0.3875572681427002, 0.08407314121723175, -0.5913358926773071, -0.10612961649894714, -0.5203031301498413, -0.27581170201301575, 0.4589000940322876, 0.6724250316619873, -0.4249488413333893, -0.15495948493480682, -0.14060162007808685, 0.18786145746707916, 0.11732712388038635, -0.1293967366218567, 0.8164193630218506, -0.0927799791097641, -0.8206392526626587, -0.3469901382923126, 0.008543609641492367, 0.5198690891265869, -0.8205875158309937, -0.1396661251783371, 0.044591549783945084, 0.11863452196121216, -0.3003333806991577, -0.6688084602355957, 0.25681525468826294, -0.2606712579727173, -0.6581921577453613, -0.1037139967083931, 1.2618392705917358, -0.5495637655258179, -0.6656831502914429, 0.2740129232406616, 0.3772979974746704, -0.06996379047632217, -0.39393720030784607, -0.4106524586677551, 0.01356064435094595, 0.0061613935977220535, -0.03698517382144928, 0.3626701235771179, 0.7452406883239746, 0.017024317756295204, -0.007383987307548523, 1.089586615562439, 0.29690343141555786, -0.08646835386753082, 0.21082530915737152, 0.7763609290122986, -0.3094103932380676, -0.5972816348075867, -0.5704944729804993, 0.1583966165781021, -0.6995915770530701, -0.15077048540115356, 0.9679797887802124, 0.5745025873184204, 0.5752798318862915, 0.012497439049184322, 0.677834689617157, -0.2863686978816986, 0.45538902282714844, -0.28983864188194275, 0.92380690574646, -0.34406185150146484, -0.050705742090940475, -0.2617378532886505, -0.7831606864929199, 0.02532459795475006, 0.041720401495695114, -0.2878398001194, -0.5570662021636963, 0.822378933429718, 1.0201826095581055, -0.23894178867340088, 0.10623114556074142, 0.06226484850049019, 0.23966634273529053, 0.6519815325737, -0.22338677942752838, 0.7176966071128845, -0.08917522430419922, 0.6049479842185974, -0.2491118609905243, -0.39376118779182434, -0.16207939386367798, -1.1304014921188354, -0.7645351886749268, -1.0052509307861328, -0.4692673981189728, -0.511792004108429, -0.35094571113586426, 0.15508030354976654, 1.2796151638031006, -0.8143266439437866, -0.15871573984622955, -0.26305246353149414, 0.7876704335212708, -0.0021180720068514347, -0.32530727982521057, 0.5680558085441589, -0.10539622604846954, -1.0281106233596802, 0.5995634198188782, 0.2687487304210663, -0.30550989508628845, -0.4639337956905365, 0.3006192743778229, -0.33312180638313293, 0.25747960805892944, 0.6648738384246826, 0.08388844132423401, -0.366379976272583, -0.14666272699832916, -0.17746780812740326, 0.21477024257183075, -0.18820223212242126, 1.476128101348877, -0.4747353792190552, 0.4963415563106537, 0.9132640361785889, 0.41993945837020874, 0.9641126394271851, 0.2917313277721405, 0.2636483311653137, -0.8348554372787476, 0.2658866047859192, 0.052203621715307236, 0.19689783453941345, 0.2416851967573166, -0.5353481769561768, 0.5166720151901245, 0.6740768551826477, -0.5973594188690186, -0.3300146162509918, 0.12970101833343506, -1.2101950645446777, -0.2894602417945862, 1.2208867073059082, -0.11839255690574646, -0.3662964701652527, -0.20611143112182617, -0.2907405495643616, 0.15410690009593964, -0.7459784150123596, 0.5915848016738892, 0.6747756004333496, -0.20342513918876648, 0.24381183087825775, -0.08460933715105057, 0.2762530744075775, 0.08259347081184387, -0.9480230212211609, -0.2694178521633148, 0.7520219683647156, 0.14941377937793732, 0.7458411455154419, 0.6968637704849243, 0.004057569429278374, -0.2559095621109009, 0.13142624497413635, -0.37405118346214294, 0.3882216215133667, -0.45701709389686584, 0.17124882340431213, 0.41977447271347046, -0.21763040125370026, -0.12254359573125839 ]
http://arxiv.org/abs/2403.07910v2
http://arxiv.org/pdf/2403.07910v2
MAGPIE: Multi-Task Media-Bias Analysis Generalization for Pre-Trained Identification of Expressions
2024-02-27T02:00:28
2024-03-15T09:30:29
Tomáš Horych, Martin Wessel, Jan Philip Wahle, Terry Ruas, Jerome Waßmuth, André Greiner-Petter, Akiko Aizawa, Bela Gipp, Timo Spinde
cs.CY
cs.CY, cs.CL
Media bias detection poses a complex, multifaceted problem traditionally tackled using single-task models and small in-domain datasets, consequently lacking generalizability. To address this, we introduce MAGPIE, the first large-scale multi-task pre-training approach explicitly tailored for media bias detection. To enable pre-training at scale, we present Large Bias Mixture (LBM), a compilation of 59 bias-related tasks. MAGPIE outperforms previous approaches in media bias detection on the Bias Annotation By Experts (BABE) dataset, with a relative improvement of 3.3% F1-score. MAGPIE also performs better than previous models on 5 out of 8 tasks in the Media Bias Identification Benchmark (MBIB). Using a RoBERTa encoder, MAGPIE needs only 15% of finetuning steps compared to single-task approaches. Our evaluation shows, for instance, that tasks like sentiment and emotionality boost all learning, all tasks enhance fake news detection, and scaling tasks leads to the best results. MAGPIE confirms that MTL is a promising approach for addressing media bias detection, enhancing the accuracy and efficiency of existing models. Furthermore, LBM is the first available resource collection focused on media bias MTL.
[ -0.8065952062606812, -0.6804702877998352, 0.08270630985498428, 0.5617398619651794, -0.0802474394440651, -0.04358617216348648, -0.3763602674007416, -0.1181713342666626, 0.29035496711730957, 0.2458209991455078, -0.8166630864143372, -0.08179671317338943, -1.0868556499481201, -0.033060554414987564, -0.3904151916503906, 1.1010806560516357, 0.3097167909145355, 0.3889220952987671, -0.04019828885793686, -0.1733391433954239, -0.3295753598213196, -0.3334690034389496, -0.2052675485610962, -0.21351651847362518, 0.37071046233177185, 0.30225250124931335, 0.5033225417137146, -0.0706867054104805, 0.3560870289802551, 0.21903695166110992, 0.03660743311047554, 0.727393627166748, -0.5260283946990967, -0.404509961605072, -0.21431788802146912, -0.24058419466018677, -0.4001695215702057, 0.7867515683174133, 0.5240508317947388, 0.2474125474691391, 0.20655089616775513, 0.7363731861114502, -0.05443096533417702, 0.9234755635261536, -1.0900112390518188, -0.29929402470588684, -0.5672053694725037, 0.5249441862106323, -0.39063161611557007, -0.44079843163490295, -0.6852734088897705, -0.08779316395521164, -0.28569895029067993, -0.6347616314888, 0.37121373414993286, 0.0487072691321373, 0.9348496198654175, 0.2725246846675873, -0.6866170167922974, -0.4368610084056854, -0.8206742405891418, 0.8562254905700684, -0.3242602050304413, 0.41962292790412903, 0.27597108483314514, 0.2225084900856018, -0.14170655608177185, -0.49394604563713074, -0.7501874566078186, 0.13489983975887299, -0.06915930658578873, 0.2455306202173233, -0.2555675208568573, -0.3526315689086914, 0.34917014837265015, 0.40155529975891113, -0.48293963074684143, -0.12650421261787415, -0.4612303674221039, -0.37164703011512756, 0.44141885638237, -0.19726097583770752, 0.17706288397312164, -0.18311554193496704, -0.2590690851211548, 0.1669638752937317, -0.594396710395813, -0.133407324552536, 0.4171927571296692, 0.15801730751991272, 0.08450101315975189, 0.3403289318084717, -0.22143568098545074, 0.7547780275344849, 0.5257900357246399, -0.2782421410083771, 0.5923120379447937, -0.216598778963089, -0.4519886076450348, -0.09932650625705719, 1.1589637994766235, 0.3593067526817322, 0.11422231048345566, 0.22023671865463257, -0.0005431600147858262, -0.0034482297487556934, 0.49771860241889954, -1.0090519189834595, -0.09830188751220703, 0.03333926945924759, -0.7262892723083496, -0.43765658140182495, 0.20022885501384735, -1.0721476078033447, -0.829483151435852, -0.11351904273033142, 0.6374704241752625, -0.06272391229867935, -0.5358998775482178, -0.04237782210111618, 0.047424085438251495, 0.09027321636676788, 0.12352742999792099, -0.4790233373641968, 0.11653914302587509, 0.3306286334991455, 0.7207746505737305, -0.06935566663742065, -0.11907949298620224, -1.0963373184204102, -0.09758966416120529, -0.3989696800708771, 0.7748359441757202, -0.6638690829277039, 0.03364576771855354, 0.021566541865468025, 0.03832148388028145, -0.0399768091738224, -0.6799324154853821, 0.7825777530670166, -0.7059940695762634, 0.6230207681655884, -0.43844351172447205, -0.2886849641799927, 0.007947476580739021, 0.47672757506370544, -0.8648895621299744, 0.9363471865653992, 0.3064334988594055, -1.1048641204833984, 0.8014799952507019, -0.9887266755104065, -0.36718639731407166, -0.43096300959587097, 0.08362050354480743, -0.5080748200416565, 0.05477939173579216, 0.6915347576141357, 0.4598512053489685, -0.39105916023254395, 0.06691503524780273, -0.35238417983055115, -0.4524478316307068, 0.09037642180919647, -0.41099825501441956, 0.8881469964981079, 0.4917709529399872, -0.40922728180885315, 0.1598866730928421, -0.49612942337989807, -0.14410819113254547, 0.037006739526987076, -0.1530466079711914, -0.1139441654086113, -0.1266002357006073, 0.19919076561927795, 0.5855947136878967, 0.04379771277308464, -0.5017725825309753, 0.18682792782783508, 0.3740050494670868, 0.24317501485347748, 0.6463824510574341, -0.3301164209842682, 0.47754722833633423, -0.008983747102320194, 0.44693341851234436, 0.5156054496765137, 0.44813117384910583, -0.22634679079055786, -0.10054579377174377, -0.4719246029853821, -0.5627055168151855, 0.47712424397468567, 0.4720694124698639, -0.6398183703422546, 0.3162221312522888, -0.21914991736412048, -0.5119965672492981, -0.549818754196167, 0.4987168312072754, 0.35159406065940857, 0.36801064014434814, 0.45825231075286865, -0.3295563757419586, -0.5083739161491394, -0.9654955863952637, -0.5889976620674133, 0.40120697021484375, -0.11894670128822327, 0.04307705909013748, 0.20657497644424438, -0.3669169545173645, 0.8910375833511353, -0.30059775710105896, -1.0136418342590332, -0.0856684073805809, 0.3496730327606201, 0.301474392414093, 0.2861694395542145, 0.6397231221199036, -1.1996017694473267, -0.4275783896446228, -0.28463980555534363, -0.6941275596618652, -0.4012772738933563, -0.1993556171655655, -0.014192339964210987, -0.05059129744768143, 0.478044718503952, -0.7541510462760925, 0.05110400170087814, 0.6877028346061707, -0.34040695428848267, 0.48602795600891113, 0.1367303729057312, 0.3622940182685852, -0.8976596593856812, -0.18061085045337677, 0.4089500904083252, -0.3170238435268402, -0.6680918335914612, -0.16983485221862793, 0.23147833347320557, 0.09903255850076675, -0.6131694912910461, 0.17135712504386902, -0.523573100566864, -0.2666878402233124, -0.5122302770614624, 0.014649514108896255, 0.1737423986196518, 0.27754881978034973, -0.14211203157901764, 1.0816411972045898, 0.4622623920440674, -0.38083508610725403, 0.20033228397369385, 0.02492346055805683, -0.21919219195842743, 0.7148138880729675, -0.25839924812316895, 0.234455406665802, -0.40745556354522705, 0.4247104525566101, -0.7990403175354004, -0.14532184600830078, 0.4295549690723419, -0.6263855695724487, 0.2781500816345215, -0.15710382163524628, -0.6679081916809082, -0.5375167727470398, -0.3134418725967407, 0.27079322934150696, 0.2653849124908447, -0.5645143985748291, 0.9925520420074463, 0.5462120771408081, 0.307317852973938, -0.9273395538330078, -0.20657820999622345, -0.142143115401268, -0.36481979489326477, -0.23409631848335266, 0.109856978058815, -0.09092636406421661, 0.0680982917547226, -0.27209946513175964, -0.2490738481283188, -0.222523495554924, -0.20750324428081512, 0.27619412541389465, 0.07290011644363403, -0.03632098436355591, 0.21175497770309448, 0.044344689697027206, 0.17834250628948212, 0.08498436957597733, -0.13957878947257996, 0.6811352372169495, -0.28335052728652954, -0.13517612218856812, -0.28148940205574036, 0.2415749579668045, 0.7200689911842346, -0.5576834082603455, 0.47967684268951416, 1.5390489101409912, -0.1897931843996048, -0.06508930027484894, -0.9188333749771118, -0.008191436529159546, -0.4525468349456787, 0.3835262656211853, -0.1660294532775879, -0.5516021251678467, 0.14295163750648499, -0.22814084589481354, -0.009857317432761192, 0.311393678188324, 0.7447883486747742, 0.18234409391880035, 0.9875844717025757, 0.7115437984466553, -0.5473887920379639, 0.6380010843276978, -0.10227935016155243, -0.023090414702892303, -0.730247974395752, 0.02177591063082218, -0.016816480085253716, -0.4215383231639862, -0.09478423744440079, -0.507331371307373, 0.20903842151165009, -0.012330589815974236, -0.22781828045845032, -0.0277614314109087, -0.7021160125732422, 0.6670182347297668, 0.6703439950942993, 0.26380455493927, 0.1735379844903946, -0.20224173367023468, 0.3569755256175995, 0.02685162052512169, -0.4065052568912506, -0.3811803162097931, 1.3790991306304932, 0.19332362711429596, 0.4501020312309265, -0.17002595961093903, 0.40448370575904846, 0.8407355546951294, 1.0455166101455688, -0.5817385315895081, 0.3644165098667145, -0.034688111394643784, -1.061172366142273, -0.034813664853572845, -0.3327273726463318, -0.5360701084136963, 0.6870951652526855, -0.6316875219345093, -0.2600245773792267, -0.07536353915929794, 0.3218652606010437, -0.27742913365364075, 0.2465028464794159, -0.9313147068023682, 0.9520015120506287, -0.1547558605670929, -0.5234840512275696, -0.14442966878414154, -0.48635736107826233, 0.7146939039230347, -0.4578595459461212, 0.6952308416366577, -0.2058309018611908, 0.15669743716716766, 0.7838301658630371, 0.02737000398337841, 0.6755344271659851, -0.5138404369354248, 0.33353474736213684, 0.14882898330688477, -0.1038254126906395, 0.2177819311618805, -0.07963301241397858, 0.07124307751655579, 0.05319429934024811, -0.07252834737300873, -0.5058407783508301, -0.4072914123535156, 0.47023963928222656, -0.8393012285232544, -0.4514451324939728, -0.3642060160636902, -0.8252832293510437, -0.28410521149635315, 0.5498536825180054, 0.31468409299850464, 0.16282273828983307, 0.0002821207162924111, 0.088632732629776, 0.6932674050331116, -0.22045721113681793, 0.2739502489566803, 0.6112590432167053, -0.391597718000412, -0.345903217792511, 0.7169154286384583, -0.03810729458928108, -0.09218008071184158, -0.016195710748434067, 0.18229518830776215, 0.25891146063804626, -0.20590902864933014, -0.5009999871253967, 0.04579632356762886, -0.5523071885108948, -0.3239181935787201, -0.6254034638404846, 0.10828337073326111, -0.22354455292224884, 0.15364935994148254, -0.6620168089866638, 0.21189171075820923, -0.23630373179912567, 0.13871286809444427, -0.2123309224843979, 0.5209214091300964, -0.199762761592865, 0.6367061138153076, -0.8585763573646545, 0.7241808176040649, 0.26673269271850586, 0.07246584445238113, -0.28185519576072693, -0.49612370133399963, -0.3569572865962982, 0.08925079554319382, -0.842304527759552, -1.0940805673599243, 0.6128512620925903, 0.2756992280483246, 0.3036002814769745, 0.8426828384399414, 0.15713292360305786, 0.5963982939720154, -0.6330839991569519, 0.593062162399292, 0.3161258101463318, -0.9736889600753784, 0.4795219302177429, -0.22547492384910583, 0.024596191942691803, 0.4676302969455719, 0.8229835629463196, -0.06194644421339035, -0.2548622488975525, -0.3885941207408905, -0.3614448010921478, 0.5145419239997864, -0.13950678706169128, 0.2140619456768036, -0.06905102729797363, -0.04378841817378998, 0.180697962641716, 0.47899529337882996, -1.0687570571899414, -0.2145509421825409, -0.4197450280189514, -0.07161998748779297, -0.028619419783353806, -0.21847259998321533, -0.5034518837928772, -0.48098576068878174, 0.5455743670463562, -0.17688700556755066, 0.4484402537345886, 0.1672622114419937, -0.6847257614135742, -0.3168124854564667, 0.20300382375717163, 0.7968258261680603, 0.7646334171295166, -0.16220776736736298, 0.08236555755138397, -0.06511729210615158, -0.6543946266174316, 0.09457138180732727, 0.12010719627141953, 0.09978868067264557, 0.2185479700565338, 0.14247682690620422, 0.3693191707134247, -0.1751285046339035, -0.6900829076766968, 1.16028892993927, 0.16046473383903503, -0.24166196584701538, -0.6264532208442688, -0.2026858627796173, 0.00801560003310442, 0.5601928234100342, 0.8015726208686829, 0.14737215638160706, 0.4017893970012665, -0.5566301941871643, 0.22097377479076385, 0.6847236752510071, -0.6227462291717529, -0.3083203434944153, 0.7612099051475525, 0.1247473731637001, 0.13316524028778076, 0.45242127776145935, -0.4350544810295105, -0.6622564792633057, 0.4003627896308899, 0.4943728446960449, 0.5042060017585754, -0.1639677733182907, 0.38284608721733093, 0.08811874687671661, 0.5410269498825073, -0.06849779933691025, -0.05605272576212883, 0.07626093924045563, -1.0573476552963257, -0.5998249053955078, -0.47323429584503174, -0.14728154242038727, 0.3508897125720978, -0.8436737656593323, 0.24626369774341583, -0.44134292006492615, -0.5068992972373962, 0.2873148024082184, 0.04584485664963722, -0.763685941696167, 0.34673818945884705, 0.4169550836086273, 0.8282482028007507, -1.4433413743972778, 0.8807270526885986, 0.683008074760437, -0.345163494348526, -0.5851505994796753, -0.019591644406318665, 0.3204297721385956, -0.5639659762382507, 1.139499306678772, 0.6396428346633911, 0.12351429462432861, -0.28487977385520935, -0.5301927328109741, -0.4162432849407196, 0.8711002469062805, 0.34026432037353516, -0.3371465802192688, 0.015991002321243286, -0.18853703141212463, 0.1600409746170044, -0.6997901797294617, 0.5552433133125305, 0.5164483785629272, 0.48219433426856995, -0.07149918377399445, -0.8528395295143127, -0.05017009377479553, -0.3854841887950897, -0.44002148509025574, 0.3111201524734497, -0.7723026871681213, 1.0066803693771362, -0.02543593756854534, 0.15820620954036713, -0.6077054142951965, 0.735450029373169, -0.018397845327854156, 0.5735070109367371, 0.7805295586585999, 0.4179602563381195, 0.8037834763526917, -0.037460729479789734, 0.7534053325653076, -0.32915788888931274, 0.4400966167449951, 0.9431847929954529, -0.2121628224849701, 0.47467485070228577, 0.5141377449035645, -0.10922545939683914, 0.39357995986938477, 0.6332718133926392, -0.2543613314628601, 0.5880940556526184, 0.03365498036146164, -0.27883854508399963, -0.2828308343887329, 0.060628607869148254, -0.27243608236312866, 0.2644146978855133, 0.47923266887664795, -0.6273615956306458, -0.046950165182352066, 0.5963893532752991, 0.2838937044143677, -0.10332036018371582, -0.7571433186531067, 0.3384714722633362, -0.28043121099472046, -0.33224722743034363, 0.42290279269218445, -0.3672724664211273, 1.1957612037658691, -0.4877878725528717, 0.24113419651985168, -0.021094825118780136, 0.22549505531787872, -0.5211079120635986, -0.29746168851852417, 0.18773511052131653, -0.2364719808101654, -0.5115694999694824, -0.084093376994133, 0.9339908957481384, -0.4117223024368286, -0.5047364234924316, 0.07953225076198578, 0.48787370324134827, -0.05523122102022171, -0.5677365064620972, -0.5924962759017944, 0.29703018069267273, -0.12010563164949417, -0.6085934638977051, 0.4733259677886963, 0.2768501341342926, 0.1264667809009552, 0.6305106282234192, 0.6385461688041687, 0.14717330038547516, 0.3002853989601135, -0.1453927755355835, 1.0910780429840088, -0.26688483357429504, -0.12078482657670975, -0.6931486129760742, 0.18578703701496124, -0.5004725456237793, -0.21091726422309875, 0.7869589328765869, 0.4959282875061035, 0.8206775784492493, -0.47180718183517456, 0.6750837564468384, -0.221729576587677, 0.5767296552658081, -0.30549946427345276, 0.7555283308029175, -0.6136425733566284, -0.20547983050346375, -0.5400650501251221, -1.0602208375930786, -0.27940914034843445, 0.6970646381378174, -0.5064737200737, 0.06366047263145447, 0.6512598395347595, 0.8251999616622925, -0.3584790527820587, -0.04483946040272713, 0.18593616783618927, -0.03785628825426102, 0.2515230178833008, 0.4476889669895172, 0.6967211365699768, -0.38674792647361755, 0.6135724782943726, -0.13373549282550812, -0.4293343424797058, -0.26955172419548035, -0.8827544450759888, -1.1171706914901733, -0.2843729853630066, -0.11133842915296555, -0.3637511730194092, -0.13686804473400116, 1.1968803405761719, 1.1121906042099, -0.6192392706871033, 0.06303095072507858, 0.5392619371414185, 0.02912854216992855, -0.4759185314178467, -0.27211862802505493, 0.2434055358171463, -0.4455322325229645, -0.9090725779533386, 0.24866311252117157, 0.011846823617815971, -0.6342989802360535, -0.16624519228935242, 0.009695437736809254, -0.17385351657867432, 0.0717305839061737, 0.871618926525116, 0.292731374502182, -0.36773163080215454, -0.2545381784439087, -0.13485001027584076, 0.10056757181882858, 0.15444277226924896, 1.0539640188217163, -0.7186253070831299, 0.4388381242752075, 0.06257785111665726, 0.7030742764472961, 0.5518456101417542, 0.11829628795385361, 0.29234620928764343, -0.7838160991668701, 0.46313613653182983, 0.02685551904141903, 0.35787099599838257, 0.2785058617591858, -0.2552139163017273, 0.3772151470184326, 0.20479713380336761, -0.6392456889152527, -0.9849371910095215, 0.3138407766819, -1.0469673871994019, -0.2180517613887787, 1.037541389465332, -0.04970720410346985, -0.03583603724837303, 0.18032734096050262, -0.33904147148132324, 0.16396382451057434, -0.20830939710140228, 0.8103047609329224, 0.7234591841697693, 0.110068179666996, -0.5000540614128113, -0.7938048243522644, 0.2839941084384918, 0.27421486377716064, -0.720642626285553, -0.18200160562992096, 0.6400007605552673, 0.477041631937027, 0.4618178606033325, 0.8353572487831116, -0.31776201725006104, 0.3115614056587219, -0.28656867146492004, 0.22632470726966858, -0.5939119458198547, -0.3835013508796692, 0.0970999151468277, 0.40885084867477417, -0.21255718171596527, -0.2828587293624878 ]
http://arxiv.org/abs/2402.17128v4
http://arxiv.org/pdf/2402.17128v4
OSCaR: Object State Captioning and State Change Representation
2024-02-27T01:48:19
2024-04-02T23:14:42
Nguyen Nguyen, Jing Bi, Ali Vosoughi, Yapeng Tian, Pooyan Fazli, Chenliang Xu
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
The capability of intelligent models to extrapolate and comprehend changes in object states is a crucial yet demanding aspect of AI research, particularly through the lens of human interaction in real-world settings. This task involves describing complex visual environments, identifying active objects, and interpreting their changes as conveyed through language. Traditional methods, which isolate object captioning and state change detection, offer a limited view of dynamic environments. Moreover, relying on a small set of symbolic words to represent changes has restricted the expressiveness of the language. To address these challenges, in this paper, we introduce the Object State Captioning and State Change Representation (OSCaR) dataset and benchmark. OSCaR consists of 14,084 annotated video segments with nearly 1,000 unique objects from various egocentric video collections. It sets a new testbed for evaluating multimodal large language models (MLLMs). Our experiments demonstrate that while MLLMs show some skill, they lack a full understanding of object state changes. The benchmark includes a fine-tuned model that, despite initial capabilities, requires significant improvements in accuracy and generalization ability for effective understanding of these changes. Our code and dataset are available at https://github.com/nguyennm1024/OSCaR.
[ -0.39911046624183655, -0.45402291417121887, 0.3213704228401184, -0.16022169589996338, -0.24028053879737854, 0.059809137135744095, -0.09205450117588043, -0.5919519066810608, -0.01182881835848093, 0.09116781502962112, -0.3441256582736969, -0.22557257115840912, -0.713817834854126, 0.19536569714546204, -0.6103003621101379, 0.6185763478279114, -0.3448411226272583, 0.22732682526111603, -0.16925977170467377, -0.32312360405921936, -0.3764532506465912, -0.23822997510433197, -0.2115500420331955, -0.07615500688552856, 0.18128785490989685, 0.26327261328697205, 0.6594163179397583, 0.8051581382751465, 0.6220366954803467, 0.3286460340023041, 0.13347303867340088, 0.17560450732707977, -0.23864863812923431, 0.0036592502146959305, -0.25818580389022827, -0.5255396962165833, -0.16353841125965118, 0.08501669764518738, 0.8882960081100464, 0.2723890542984009, -0.08405876159667969, 0.5021136403083801, -0.3087227940559387, 0.6565544009208679, -0.7933661937713623, 0.9704777002334595, -1.0293959379196167, 0.28470543026924133, -0.08190661668777466, 0.16996194422245026, -0.05974474921822548, 0.3730214536190033, 0.04617270827293396, -0.7088612914085388, 0.24566780030727386, 0.37331852316856384, 1.192244529724121, 0.5194504857063293, -0.09035380184650421, 0.13166476786136627, -0.8390216827392578, 0.8004924058914185, -0.5577543377876282, 0.7162352204322815, 0.13750126957893372, 0.6723058819770813, 0.05722757801413536, -0.575579822063446, -0.8755792379379272, -0.6137343645095825, 0.09851574897766113, -0.16467778384685516, -0.26006484031677246, -0.1354416310787201, 0.2781915068626404, 0.22523564100265503, 0.01921292208135128, 0.05909310281276703, -0.540553629398346, -0.2127465009689331, 0.648542046546936, 0.2585189640522003, 0.0998016893863678, -0.21078529953956604, -0.35229596495628357, -0.6743401288986206, -0.5171019434928894, 0.22061502933502197, 0.033856503665447235, 0.16951511800289154, 0.05189509317278862, 0.7181628942489624, -0.2701256275177002, 0.6780004501342773, -0.18096911907196045, 0.014525542967021465, 0.3171197474002838, -0.1570127308368683, -0.450273722410202, -0.100909024477005, 0.5650778412818909, 0.530299961566925, 0.1808830052614212, 0.09377928078174591, -0.32701510190963745, 0.2593846023082733, 0.294402539730072, -0.602157711982727, -0.07713838666677475, 0.30790701508522034, -0.41002824902534485, 0.05866895243525505, 0.33654192090034485, -0.5477360486984253, -0.7740930914878845, -0.650981068611145, 0.4291447699069977, -0.21923059225082397, -0.10504455119371414, 0.19826211035251617, -0.007711747195571661, 0.4879395663738251, 0.6129297614097595, -0.5772778391838074, 0.2089337855577469, 0.7506265044212341, 0.7635107636451721, -0.1766316294670105, -0.5244714021682739, -0.5572001338005066, 0.161228746175766, -0.6870137453079224, 0.8220645189285278, -0.6400821208953857, 0.23268219828605652, 0.0029374395962804556, 0.048426125198602676, 0.08515545725822449, -0.7391158938407898, 0.05853688344359398, -0.3645632565021515, -0.33835798501968384, 0.06223786622285843, -0.4905802309513092, -0.28982874751091003, 0.41538453102111816, -0.8686634302139282, 0.6538276076316833, -0.14145083725452423, -0.1996961236000061, 0.5574344992637634, -0.8680287599563599, -0.07413076609373093, -0.2118614912033081, -0.26121121644973755, -0.5710111856460571, 0.24665212631225586, 0.3804622292518616, 0.8228631019592285, -0.1508907675743103, 0.3680970370769501, -0.2600180208683014, -0.2763482332229614, 0.35994261503219604, -0.1272404044866562, -0.14561983942985535, 0.28879615664482117, -0.21448342502117157, 0.3841889202594757, -0.6737579703330994, -0.3731895983219147, 0.005678544752299786, -0.143983393907547, 0.11013633012771606, 0.3758884072303772, 0.09338372945785522, 0.13154025375843048, 0.25749391317367554, -0.6010607481002808, 0.07910997420549393, 0.1254252940416336, 0.4877162277698517, 0.7450374364852905, -0.4069293439388275, 0.22956769168376923, -0.18483611941337585, 0.47196274995803833, 0.4118305742740631, 0.2083471566438675, -0.438256174325943, -0.3822551965713501, -0.6673543453216553, -0.16131635010242462, 0.06176494061946869, 0.3798799514770508, -0.5858478546142578, -0.16144683957099915, -0.21220678091049194, -0.2642638087272644, -0.9163753986358643, 0.10819816589355469, 0.16775958240032196, 0.3242148160934448, 0.5530003905296326, -0.21037696301937103, -0.5455120801925659, -1.1781898736953735, -0.22429125010967255, -0.19747936725616455, 0.06092149391770363, 0.20587192475795746, 0.7027514576911926, -0.06924206018447876, 0.7658196687698364, -0.42676252126693726, -0.6226897239685059, 0.006952777039259672, 0.16178113222122192, -0.03743448853492737, 0.4554854929447174, 0.2453252077102661, -0.9561458826065063, -0.14943566918373108, 0.04767589643597603, -0.6524929404258728, 0.3295820355415344, -0.388385534286499, 0.13625743985176086, 0.1003064513206482, 0.9113134741783142, -0.31528908014297485, 0.41180285811424255, 0.5041912794113159, -0.17808014154434204, 0.679378092288971, -0.151881143450737, 0.3672151267528534, -0.5818397402763367, 0.20721325278282166, -0.009069710969924927, -0.2686467170715332, -0.4003685414791107, 0.3157733678817749, 0.07715639472007751, -0.4215489625930786, -0.8516144752502441, 0.598632276058197, -0.6326718926429749, -0.4640065133571625, -0.15158236026763916, 0.05408477410674095, -0.2229565680027008, 0.6444221138954163, 0.18216054141521454, 0.681748628616333, 0.8383733630180359, -0.4259450435638428, 0.6417413353919983, 0.19910570979118347, -0.6641339659690857, 0.46433088183403015, -0.5785921812057495, -0.0792330875992775, -0.5640735626220703, 0.2525859773159027, -0.7742027044296265, -0.17039765417575836, 0.3373990058898926, -0.21804574131965637, 0.055839113891124725, -0.11479197442531586, -0.6279413104057312, -0.04420333355665207, -0.3302059769630432, 0.15728890895843506, 0.21681487560272217, -0.2536041736602783, 0.6656373143196106, 0.443149209022522, 0.14816085994243622, -0.564916729927063, -0.4802033603191376, 0.31769949197769165, -0.049405597150325775, -0.12004418671131134, 0.1345740705728531, -0.025121135637164116, -0.268505334854126, 0.21926099061965942, -0.08128334581851959, -0.14127451181411743, 0.020969167351722717, 0.22914496064186096, 0.23671996593475342, -0.13806070387363434, 0.3465065062046051, -0.12103427201509476, 0.020553477108478546, -0.014992795884609222, 0.09088025242090225, 0.4735940396785736, -0.5210259556770325, -0.3697369694709778, -0.7768120765686035, 0.22712112963199615, 0.857514500617981, -0.7159426808357239, 0.725591778755188, 0.6800268888473511, -0.47251200675964355, 0.07501806318759918, -0.3582472503185272, -0.08838757127523422, -0.41296273469924927, 0.8717319965362549, -0.4617026746273041, -0.7132622599601746, 0.5630569458007812, -0.05983802303671837, 0.2862791121006012, 0.2937845289707184, 0.5104790329933167, -0.14661048352718353, 1.1414391994476318, 0.31455618143081665, -0.1819854974746704, 0.7746188044548035, -0.4147401452064514, -0.19586783647537231, -1.185502052307129, -0.3298005163669586, -0.3088178336620331, -0.6525416374206543, -0.3779701888561249, -0.8289641737937927, 0.31521931290626526, 0.04096320644021034, -0.3447767496109009, 0.23690277338027954, -0.23665489256381989, 0.45312947034835815, 0.2553721070289612, 0.11712009459733963, 0.2138826996088028, 0.05951534956693649, 0.24556103348731995, 0.03150871768593788, -0.3960086703300476, -0.4152893126010895, 1.129784107208252, 0.4233297109603882, 0.893058717250824, 0.15217483043670654, 0.2285308688879013, 0.6731844544410706, 0.3462538719177246, -0.8959840536117554, 0.7879296541213989, -0.19193261861801147, -0.41673916578292847, -0.43408235907554626, -0.17135664820671082, -1.0711772441864014, 0.5299042463302612, -0.3889262080192566, -0.6525558829307556, 0.08033280074596405, 0.45726242661476135, -0.02558731846511364, 0.46931642293930054, -0.39959216117858887, 0.843400239944458, -0.11759469658136368, -0.17972427606582642, -0.4890506863594055, -0.4145386815071106, -0.0033784883562475443, 0.1064794734120369, 0.07356825470924377, -0.4368407130241394, -0.2959778904914856, 0.5940984487533569, -0.16678686439990997, 0.6691511869430542, -0.16981260478496552, -0.009444368071854115, 0.25404515862464905, 0.3263927698135376, 0.6834769248962402, -0.032767683267593384, -0.056020960211753845, 0.16616109013557434, -0.06586269289255142, -0.3654720187187195, -0.6082854270935059, 0.416201114654541, -0.643490195274353, -0.6460550427436829, -0.38621580600738525, -0.6468279361724854, -0.16932350397109985, 0.003968873992562294, -0.4106025695800781, 0.45656609535217285, -0.08009126782417297, 0.230826735496521, 0.3553880751132965, -0.21169711649417877, 0.19678734242916107, 0.6593042612075806, -0.45403438806533813, 0.1154547855257988, 0.924045741558075, -0.11863023042678833, 0.10836148262023926, 0.46555766463279724, 0.2073076367378235, -0.4484879672527313, -0.42089635133743286, -0.8487707376480103, 0.1621437519788742, -0.7556910514831543, -0.05475452542304993, -0.1780301332473755, 0.20538657903671265, -0.3668152093887329, 0.07109396904706955, -0.594092071056366, -0.21798263490200043, -0.3201814889907837, -0.05028379335999489, 0.31434011459350586, 0.7589461803436279, -0.005334165878593922, -0.24161970615386963, -0.6950353384017944, 0.45317357778549194, 0.3912418782711029, 0.40990832448005676, 0.08363399654626846, -0.3862636983394623, -0.32654866576194763, -0.03455584868788719, 0.0318436324596405, -0.6960575580596924, 0.17666490375995636, 0.6644167900085449, 0.6859386563301086, 0.45668911933898926, -0.049473732709884644, 0.853159487247467, -0.6151489615440369, 0.8206642270088196, 0.05891122668981552, -1.016571044921875, 0.6051586866378784, -0.07319173961877823, 0.5250148773193359, 0.26938486099243164, 0.17350424826145172, -0.7617324590682983, -0.48731809854507446, -0.3410255014896393, -0.515957772731781, 0.7380640506744385, -0.07366914302110672, 0.20399527251720428, 0.35080838203430176, -0.02372194454073906, -0.06223146989941597, 0.544543445110321, -0.4704163372516632, -0.09167446941137314, -0.3352632224559784, -0.08836808800697327, -0.16346663236618042, 0.25439342856407166, -0.14877697825431824, -0.32796740531921387, 0.4222447872161865, -0.19590744376182556, 0.39153555035591125, 0.16389721632003784, -0.3755481243133545, -0.03994378820061684, 0.22568808495998383, 0.8177475929260254, 0.7337226867675781, -0.17582112550735474, 0.15461166203022003, 0.060214512050151825, -0.27818527817726135, 0.13086161017417908, 0.250480592250824, 0.05077413469552994, -0.027655135840177536, 0.4037694036960602, 1.1044352054595947, 0.19462846219539642, -1.1989145278930664, 0.3179456889629364, 0.16122519969940186, 0.14439783990383148, -0.3057377338409424, 0.12168518453836441, -0.26508986949920654, 0.25942420959472656, 0.3678297698497772, 0.30429205298423767, 0.19170373678207397, -0.8845423460006714, 0.15421800315380096, 0.26945286989212036, -0.5816462635993958, -0.38670605421066284, 0.8254976868629456, 0.08514957875013351, -0.0691339373588562, 0.4722737669944763, -0.2801538109779358, -0.5008590817451477, 0.7535902857780457, 0.21592341363430023, 0.5924533009529114, 0.00005212776886764914, 0.4498671591281891, 0.3340075612068176, 0.2361012101173401, -0.23495660722255707, 0.021944312378764153, -0.19465240836143494, -1.0586880445480347, -0.18441979587078094, -0.4725278317928314, -0.5024672150611877, 0.2213142067193985, -0.6962881684303284, 0.09500320255756378, -0.4704521894454956, 0.0895705297589302, -0.0750298798084259, -0.360755980014801, -0.8429800271987915, 0.10220681875944138, 0.4049158990383148, 0.6092315316200256, -0.8304324150085449, 0.6309523582458496, 1.2858113050460815, -0.19791007041931152, -0.5956090688705444, -0.2843534052371979, 0.10297022759914398, -0.8621562123298645, 0.7014675736427307, 0.19209600985050201, -0.15186786651611328, -0.25876474380493164, -0.7568154335021973, -0.8381571769714355, 0.9822090268135071, 0.3936763107776642, -0.6293971538543701, 0.4218544661998749, 0.27178287506103516, 0.6332921385765076, -0.4237249195575714, -0.06349270790815353, 0.5057430863380432, 0.4831334352493286, -0.1251944750547409, -0.9054750204086304, -0.16686755418777466, -0.19028232991695404, 0.15074077248573303, 0.19989369809627533, -0.6890231370925903, 1.0976687669754028, -0.26182523369789124, -0.24582278728485107, -0.06721622496843338, 0.8621669411659241, 0.36212944984436035, 0.17432904243469238, 0.774203896522522, 0.5332793593406677, 0.478228896856308, -0.004808141849935055, 0.9406788945198059, -0.10340579599142075, 0.4002971649169922, 1.04460608959198, -0.3669726848602295, 1.133392572402954, 0.4741305112838745, -0.1775008887052536, 0.43050694465637207, 0.2813083529472351, -0.36317938566207886, 0.28993314504623413, 0.41958484053611755, -0.021237250417470932, -0.34060150384902954, -0.19804231822490692, -0.13577337563037872, 0.789751410484314, 0.15795528888702393, -0.2524416148662567, -0.16863524913787842, 0.4614267945289612, 0.09737945348024368, -0.038302160799503326, -0.5718401074409485, 0.5276184678077698, -0.3231225907802582, -0.6848637461662292, 0.40304020047187805, -0.10596797615289688, 0.43792465329170227, -0.6042994260787964, -0.5664477944374084, -0.12280616909265518, 0.3084607422351837, 0.10471617430448532, -0.8351254463195801, -0.00008100095874397084, 0.11190755665302277, -0.04260878264904022, -0.15674689412117004, 0.2817416787147522, -0.4578869342803955, -0.6962385177612305, 0.05633579567074776, 0.09338699281215668, 0.45686793327331543, -0.13925905525684357, -0.9708638787269592, 0.5735156536102295, -0.11793400347232819, -0.11483430862426758, 0.1685931533575058, 0.05429581180214882, -0.3379981517791748, 1.0169904232025146, 0.477455198764801, 0.34155580401420593, 0.09067067503929138, -0.016890278086066246, 0.5832015872001648, -0.42602086067199707, -0.3621145784854889, -0.49889424443244934, 0.43482184410095215, -0.010425126180052757, -0.40828508138656616, 0.3678396940231323, 0.4682721197605133, 1.0783252716064453, -0.5186712145805359, 0.44088008999824524, -0.34134113788604736, 0.21599087119102478, -0.6966750025749207, 0.5849658846855164, -0.8381081819534302, 0.21697771549224854, -0.2693410813808441, -0.8120561838150024, -0.22198373079299927, 0.599362850189209, -0.01155130285769701, -0.2884270250797272, 0.45972633361816406, 0.9069752097129822, -0.037880510091781616, -0.402360200881958, 0.5064515471458435, 0.3981703221797943, 0.5244220495223999, 0.2567833960056305, 0.8447219133377075, -0.5065624117851257, 0.5189629793167114, -0.13384905457496643, 0.05856885761022568, -0.212513729929924, -0.8900120854377747, -0.4589327871799469, -1.061997413635254, -0.5426148772239685, 0.14656005799770355, 0.08372341096401215, 0.973520040512085, 0.8923210501670837, -0.9837362766265869, -0.3779047131538391, 0.2632255256175995, -0.09290138632059097, -0.7241154313087463, -0.1983831524848938, 0.48036497831344604, -0.03327976539731026, -1.0667905807495117, 0.4242459833621979, 0.13620147109031677, -0.18350578844547272, -0.6766560673713684, -0.11643638461828232, -0.22829647362232208, 0.010135173797607422, 0.6657337546348572, 0.4390484094619751, -0.9022060036659241, -0.579484224319458, -0.32999932765960693, 0.2875699996948242, 0.1481504589319229, 0.8275315165519714, -1.013731837272644, 0.8670177459716797, 0.32151079177856445, 0.5310942530632019, 0.45520615577697754, 0.06259273737668991, 0.3761240541934967, -0.6107015609741211, 0.29774969816207886, 0.0045346966944634914, 0.5130404233932495, 0.4708333909511566, 0.029436247423291206, 0.34921756386756897, 0.11205524951219559, -0.25022703409194946, -0.7876764535903931, 0.2664867639541626, -0.9595792293548584, -0.3487817049026489, 0.7650687098503113, -0.23097114264965057, -0.31827014684677124, 0.09101936966180801, -0.34427276253700256, 0.0846988633275032, -0.6680939793586731, 0.9742665886878967, 0.6385306119918823, -0.3301539123058319, -0.6310995817184448, -0.5260313749313354, 0.36977115273475647, 0.301475465297699, -0.9556962251663208, -0.01662828028202057, 0.5993861556053162, 0.06445849686861038, 0.2474886178970337, 0.16338880360126495, -0.1493682712316513, 0.28109508752822876, -0.06635468453168869, 0.10895685851573944, -0.5220840573310852, -0.5293549299240112, -0.28185784816741943, 0.001768385642208159, -0.08510863035917282, -0.613227903842926 ]
http://arxiv.org/abs/2402.17124v1
http://arxiv.org/pdf/2402.17124v1
Fact-and-Reflection (FaR) Improves Confidence Calibration of Large Language Models
2024-02-27T01:37:23
2024-02-27T01:37:23
Xinran Zhao, Hongming Zhang, Xiaoman Pan, Wenlin Yao, Dong Yu, Tongshuang Wu, Jianshu Chen
cs.CL
cs.CL
For a LLM to be trustworthy, its confidence level should be well-calibrated with its actual performance. While it is now common sense that LLM performances are greatly impacted by prompts, the confidence calibration in prompting LLMs has yet to be thoroughly explored. In this paper, we explore how different prompting strategies influence LLM confidence calibration and how it could be improved. We conduct extensive experiments on six prompting methods in the question-answering context and we observe that, while these methods help improve the expected LLM calibration, they also trigger LLMs to be over-confident when responding to some instances. Inspired by human cognition, we propose Fact-and-Reflection (FaR) prompting, which improves the LLM calibration in two steps. First, FaR elicits the known "facts" that are relevant to the input prompt from the LLM. And then it asks the model to "reflect" over them to generate the final answer. Experiments show that FaR prompting achieves significantly better calibration; it lowers the Expected Calibration Error by 23.5% on our multi-purpose QA tasks. Notably, FaR prompting even elicits the capability of verbally expressing concerns in less confident scenarios, which helps trigger retrieval augmentation for solving these harder instances.
[ -0.3597571551799774, -0.7936737537384033, 1.1866525411605835, 0.29177552461624146, -0.224631205201149, -0.05167458951473236, -0.1930404156446457, -0.13905008137226105, -0.0330490916967392, 0.3513478934764862, -0.49194836616516113, -0.2981359362602234, -0.3133462071418762, 0.21247637271881104, -0.06709259003400803, 0.9171954989433289, 0.22886840999126434, 0.4853903651237488, -0.48121920228004456, 0.15843912959098816, -0.6287722587585449, -0.37786832451820374, -0.5247795581817627, -0.4041796028614044, 0.8607964515686035, 0.5447661876678467, 0.5576216578483582, 0.06451444327831268, -0.012160221114754677, 0.21097655594348907, 0.07260030508041382, 0.5786126852035522, -0.6308259963989258, 0.19282226264476776, -0.01294214092195034, -0.8883818984031677, -0.09823441505432129, 0.37126466631889343, 0.6019757986068726, 0.4289844334125519, -0.3943239748477936, 0.26070186495780945, 0.38798776268959045, 0.7288323640823364, -0.8085688948631287, 0.25970497727394104, -0.3488069474697113, -0.38419362902641296, 0.2348783016204834, -0.6898004412651062, -0.7177139520645142, -0.7083487510681152, 0.11579012125730515, -0.48420634865760803, 0.1267699897289276, 0.22883467376232147, 0.5318001508712769, 0.35470327734947205, -0.4251382648944855, -0.33977076411247253, -0.6162722110748291, 0.8570873737335205, -0.537487804889679, 0.47584250569343567, 0.19067305326461792, 0.22233854234218597, -0.32419779896736145, -0.1906912475824356, -0.464343398809433, -0.28972315788269043, -0.007363517303019762, 0.33616870641708374, 0.23293769359588623, 0.04889962822198868, 0.3891678750514984, 0.11373011022806168, -0.1746576726436615, -0.18324187397956848, -0.22612179815769196, -0.34449559450149536, 0.45355847477912903, -0.008362974040210247, -0.057357389479875565, 0.023778703063726425, -0.3971133828163147, -0.41346389055252075, -1.2261439561843872, 0.3931232690811157, 0.27007296681404114, 0.5069553256034851, 0.18995513021945953, 0.20217113196849823, -0.17748872935771942, 0.8331059813499451, 0.21115852892398834, -0.29128190875053406, -0.03239639475941658, -0.21489715576171875, 0.07119619101285934, 0.21213176846504211, 0.29183894395828247, 0.6834172606468201, 0.21998143196105957, 0.12593689560890198, -0.15697349607944489, -0.17161285877227783, 0.09608849138021469, -0.9324439764022827, 0.0015453058294951916, 0.24418985843658447, 0.01270134188234806, -0.14445346593856812, 0.3197628855705261, -0.8362404108047485, -0.7715259790420532, -0.4771694540977478, 0.8897663354873657, -0.14544640481472015, 0.03204306215047836, 0.3086400628089905, 0.015329087153077126, 0.6058168411254883, 0.8803116679191589, -0.5062968134880066, 0.06517775356769562, 0.8281991481781006, 0.6274264454841614, 0.08709750324487686, -0.13240833580493927, -1.0321944952011108, -0.15655075013637543, -0.5655105113983154, 0.7526428699493408, -0.19180548191070557, -0.3225162923336029, 0.12557916343212128, -0.167743980884552, -0.054046619683504105, -0.42631036043167114, 0.5438335537910461, -0.6036162972450256, 0.5621153116226196, -1.0645318031311035, -0.3100864291191101, -0.40943658351898193, 0.5019833445549011, -0.7206708788871765, 1.0063245296478271, -0.20417606830596924, -0.41922295093536377, 0.35142406821250916, -0.3719451427459717, -0.22980092465877533, -0.17136317491531372, -0.2955284118652344, -0.03796849027276039, 0.14392687380313873, 0.5577905178070068, 0.7238176465034485, -0.49280673265457153, 0.20779892802238464, -0.007371954619884491, -0.7619103789329529, 0.39366135001182556, -0.6678622364997864, 0.47666749358177185, -0.03433176875114441, -0.17296102643013, -0.33767053484916687, -0.49303221702575684, 0.20612499117851257, -0.22549095749855042, -0.3983609080314636, -0.29103052616119385, 0.001237103366293013, -0.6266095638275146, 0.26925307512283325, 0.05311470851302147, -0.8615136742591858, -0.08216751366853714, -0.5604801774024963, 0.10638919472694397, 0.8031817078590393, 0.28486743569374084, 0.15103881061077118, -0.8290835022926331, 0.5579524636268616, 0.0010712927905842662, 0.03064427711069584, -0.26823893189430237, -0.7617670893669128, -0.6983010172843933, -0.20231564342975616, 0.1732761263847351, 0.6220957636833191, -0.8262276649475098, -0.052841346710920334, -0.21324533224105835, -0.3724314868450165, -0.7742130160331726, 0.18287506699562073, 0.6039104461669922, 0.8890588879585266, 0.3284263610839844, -0.06725320219993591, -0.3095647692680359, -0.45992234349250793, -0.28030461072921753, -0.319951593875885, 0.03478167951107025, 0.422817587852478, 0.12599211931228638, 0.628193736076355, 1.052485466003418, -0.6691552996635437, -0.13328668475151062, 0.11683914065361023, 0.1576278954744339, 0.3120006322860718, 0.04711892828345299, 0.29178547859191895, -0.8016395568847656, -0.47834527492523193, -0.5929499864578247, -0.32211071252822876, -0.11961232125759125, -0.09836986660957336, 0.006156108807772398, 0.13982315361499786, 0.40203234553337097, -0.41093945503234863, 0.3095548152923584, 0.48934537172317505, -0.04315802454948425, 0.6863454580307007, -0.08532334864139557, 0.6695988178253174, -0.8789001703262329, -0.18379586935043335, -0.03380903601646423, -0.313079297542572, -0.49187174439430237, 0.04904293641448021, 0.08350010961294174, 0.35626542568206787, -0.7310822606086731, 0.5735750198364258, -0.4801696836948395, 0.2116447389125824, -0.0736832320690155, 0.29231175780296326, 0.6426353454589844, 0.20651322603225708, 0.02041412517428398, 1.292771339416504, 0.4879542887210846, -0.9383276104927063, 0.28173863887786865, 0.20053021609783173, -0.4504404067993164, 0.6323514580726624, -0.46551066637039185, 0.2299456149339676, -0.2903235852718353, 0.4063069820404053, -1.5240864753723145, -0.003976763691753149, 0.11783043295145035, -0.3796823024749756, 0.31681355834007263, -0.008878836408257484, -0.45292967557907104, -0.3816084563732147, -0.8622004389762878, 0.2108916938304901, 0.6151129007339478, -0.867499589920044, 0.6871660351753235, -0.44245800375938416, -0.02145242504775524, -0.7319172024726868, -0.733906626701355, -0.012256118468940258, -0.021008726209402084, -0.5337051153182983, 0.042524997144937515, -0.3949868679046631, -0.2947430908679962, -0.6683959364891052, -0.13326188921928406, 0.29389408230781555, -0.003766438690945506, 0.3970527648925781, 0.4791976511478424, -0.2379453480243683, 0.19360190629959106, -0.10200929641723633, 0.05349120870232582, 0.4057236611843109, 0.05014617741107941, 0.39704158902168274, -0.2259325087070465, -0.5684782862663269, -0.47496020793914795, 0.0138730239123106, 0.2002200484275818, -0.0708230584859848, 0.7709553837776184, 0.2933640480041504, 0.21548333764076233, -0.17589889466762543, -1.1781257390975952, -0.8819615840911865, -0.5361703634262085, -0.00314198131673038, -0.29210951924324036, -0.9041972160339355, 0.34872299432754517, -0.16817209124565125, 0.1685093194246292, -0.03964463993906975, 0.5012174844741821, -0.2278466373682022, 1.1632726192474365, 0.3446734547615051, 0.05652399733662605, 0.23335117101669312, 0.062064725905656815, 0.2743851840496063, -0.8708710074424744, -0.23880010843276978, -0.5981968641281128, -0.011153975501656532, -0.28803250193595886, -0.6985329985618591, 0.4079413414001465, -0.23432576656341553, 0.1937447190284729, -0.245756596326828, -0.5212951898574829, 0.5966678857803345, 0.42241841554641724, 0.49684903025627136, 0.41100984811782837, -0.042005110532045364, -0.1800679713487625, -0.146279975771904, -0.5627589225769043, -0.5652130842208862, 0.8696471452713013, 0.2140454351902008, 0.9352414011955261, -0.015790076926350594, 0.8367717266082764, -0.06688930839300156, 0.4690845310688019, -0.942059338092804, 0.6846197843551636, 0.29860377311706543, -0.8296871185302734, -0.16466745734214783, -0.38602229952812195, -0.5204750895500183, 0.12158935517072678, -0.009551407769322395, -0.4374924600124359, 0.3694514334201813, 0.28303438425064087, -0.959321141242981, 0.014597301371395588, -0.7461534738540649, 0.088548943400383, -0.07299607247114182, -0.39887210726737976, -0.09300060570240021, -0.6662117838859558, 0.28385889530181885, 0.042346447706222534, 0.33637791872024536, 0.022110991179943085, -0.12508581578731537, 0.5473868250846863, -0.043757129460573196, 1.1554192304611206, -0.4024026095867157, -0.5214378833770752, 0.5658847689628601, 0.21055763959884644, 0.6805548071861267, 0.07162559032440186, -0.3981911242008209, -0.4115431308746338, 0.040000129491090775, -0.12014055252075195, -0.9690312743186951, 0.4612720310688019, -0.28025299310684204, -1.1228638887405396, -0.31222212314605713, -0.5068897604942322, -0.5602762699127197, -0.18156123161315918, 0.19422180950641632, 0.5118080973625183, -0.12009304016828537, 0.07435184717178345, 1.2447084188461304, -0.11050460487604141, 0.2117968201637268, 0.8823214769363403, -0.3274020552635193, -0.21284137666225433, 0.9528083205223083, 0.16863195598125458, 0.5928400158882141, 0.3697037100791931, 0.40609216690063477, -0.5568069815635681, -0.15919840335845947, -0.3146367371082306, 0.33233025670051575, -0.882961630821228, -0.28838086128234863, -0.23117022216320038, -0.003568351035937667, -0.3475921154022217, -0.015407977625727654, -0.11482886224985123, -0.4166898727416992, -0.34222617745399475, -0.32131630182266235, 0.5846273899078369, 0.6615760922431946, 0.02718285843729973, 0.08428982645273209, -0.7149173021316528, 0.05476336553692818, 0.730143129825592, 0.11102857440710068, 0.05662024766206741, -0.63167804479599, 0.05829928070306778, 0.3772575259208679, -0.14405030012130737, -0.7995204925537109, -0.1967291682958603, 0.25695961713790894, 0.29573848843574524, 0.41417014598846436, 0.3496690094470978, 0.7846212387084961, -0.4291131794452667, 1.0306707620620728, -0.06033547967672348, -0.6116801500320435, 0.32014593482017517, -0.04741252586245537, 0.16111615300178528, 0.8504850268363953, 0.24317802488803864, -0.4762185513973236, -0.4749414026737213, -0.1680268943309784, -0.34818771481513977, 0.606866180896759, -0.346622109413147, 0.5015298128128052, -0.030401933938264847, 0.5899729132652283, 0.10630597174167633, 0.32208603620529175, -0.48892509937286377, -0.2926671504974365, -0.1665307730436325, 0.012462247163057327, -0.1436764895915985, -0.509177565574646, -0.39798983931541443, -0.1750648319721222, 0.8538853526115417, -0.417328804731369, 0.23906965553760529, 0.5972691178321838, 0.07633553445339203, -0.25369489192962646, 0.5383303761482239, 0.7581632733345032, 0.5747985243797302, -0.19629064202308655, 0.2306108921766281, 0.2844887375831604, -0.4377063810825348, 0.23048095405101776, -0.0987992137670517, -0.4299769699573517, -0.10231012850999832, 0.12006713449954987, 0.4422609508037567, 0.10865884274244308, -0.41181913018226624, 0.7654246687889099, -0.07870612293481827, -0.3283489942550659, 0.22382362186908722, 0.39742282032966614, 0.18104948103427887, 0.18135033547878265, 0.6122790575027466, -0.30022215843200684, 0.0895836353302002, -0.5216668844223022, 0.06893887370824814, 0.5319117903709412, -0.3384816646575928, -0.1539773792028427, 0.38565051555633545, 0.1267617791891098, -0.10215133428573608, 0.4743829369544983, -0.10743814706802368, -0.877393901348114, 0.32408663630485535, 0.5525979399681091, 0.331836462020874, -0.43436917662620544, 0.49411091208457947, 0.4081840515136719, 0.0898708626627922, -0.4215971529483795, 0.8630425333976746, -0.0668279305100441, -0.6788144111633301, -0.861656665802002, -0.41396230459213257, -0.6808990836143494, -0.19993051886558533, -0.6372270584106445, 0.10891501605510712, -0.5000883936882019, -0.11110076308250427, -0.3349536657333374, 0.33234506845474243, -0.46211183071136475, 0.4192872941493988, 0.06880488246679306, 1.0876115560531616, -0.8663622736930847, 0.5138096809387207, 0.5585873126983643, -0.3090238869190216, -1.4442062377929688, -0.023417167365550995, 0.24371640384197235, -1.0612729787826538, 0.4061167240142822, 0.4293607473373413, -0.6880605816841125, 0.2479727864265442, -0.9708120226860046, -0.6453981995582581, 1.1033861637115479, 0.6235533952713013, -0.5058143138885498, 0.04294499754905701, 0.10319267958402634, 0.45932766795158386, -0.24235935509204865, 0.3545025885105133, 0.35361698269844055, 0.7559383511543274, 0.42069920897483826, -0.6668902039527893, 0.4781692922115326, 0.1445218026638031, -0.2859556972980499, -0.01901099644601345, -0.839268684387207, 0.649980366230011, -0.4539342522621155, -0.11039203405380249, 0.2573479413986206, 0.5562273263931274, 0.6199537515640259, 0.3724125325679779, 0.6334070563316345, 0.16575480997562408, 0.8309285044670105, -0.2920253574848175, 0.8693873286247253, -0.20520518720149994, -0.060307763516902924, 1.1034748554229736, -0.4936446249485016, 0.9220727682113647, 0.8464018106460571, -0.10541416704654694, 0.8072845339775085, 0.4032827913761139, 0.04743926227092743, 0.3184566795825958, 0.006359672639518976, -0.35259950160980225, -0.4400094747543335, -0.3881620168685913, -0.3027149736881256, 0.15692290663719177, 0.31530824303627014, -0.11707764118909836, -0.2970711588859558, 0.031038766726851463, 0.14599692821502686, 0.15601933002471924, -0.23807057738304138, 0.527360737323761, 0.3632272183895111, -1.242936611175537, 0.55882728099823, -0.37312954664230347, 0.5748687386512756, -0.4136500954627991, -0.28100746870040894, -0.09751729667186737, -0.16275544464588165, -0.3871317207813263, -0.8582125902175903, -0.2994430959224701, -0.3928253948688507, -0.1592334359884262, -0.4846121370792389, 0.5623617768287659, -0.559950590133667, -0.04001666232943535, 0.08113763481378555, 0.6213168501853943, 0.20672360062599182, -0.4358835220336914, -0.5774081945419312, -0.26244300603866577, -0.015682512894272804, -0.4522782564163208, 0.12879711389541626, 0.3837461769580841, 0.07917850464582443, 0.6259217262268066, 0.7759750485420227, 0.021996518597006798, -0.03293877840042114, 0.3861657381057739, 0.852489173412323, -0.3845158517360687, -0.2609209716320038, -0.8858672380447388, 0.4354062080383301, 0.14187699556350708, 0.20016847550868988, 1.0859293937683105, 0.40733110904693604, 0.29385435581207275, 0.10600418597459793, 0.23224708437919617, 0.2462795376777649, 0.76139897108078, -0.6371041536331177, 0.5715557932853699, -0.5392701029777527, 0.42868489027023315, -0.12884902954101562, -0.8269280791282654, -0.18725024163722992, 0.4392848610877991, -0.5106000304222107, 0.2075626701116562, 0.6346703767776489, 1.3188005685806274, 0.3884724974632263, 0.22357845306396484, 0.4331611394882202, 0.17872239649295807, 0.26206648349761963, 0.4181763529777527, 1.121127724647522, -0.26941120624542236, 0.49148234724998474, -0.1952800750732422, -0.22142019867897034, -0.2735176384449005, -1.2097729444503784, -0.8182100653648376, -0.4301557242870331, -0.27238768339157104, -0.5589267611503601, 0.08863253891468048, 0.8905923962593079, 0.7373688220977783, -0.8196449279785156, 0.03253873810172081, 0.15470202267169952, 0.16463282704353333, -0.22128014266490936, -0.2019565850496292, 0.16594545543193817, -0.20029468834400177, -0.43566054105758667, 0.48052123188972473, 0.05739462748169899, 0.061042286455631256, -0.428534597158432, -0.2368190437555313, -0.26643237471580505, 0.42249739170074463, 0.3723215162754059, 0.15626145899295807, -0.6713816523551941, -0.5483757257461548, 0.22746232151985168, -0.2342398464679718, 0.3658139705657959, 0.575059711933136, -1.113944172859192, 0.49941813945770264, 0.44413113594055176, 0.3794582784175873, 0.17069852352142334, 0.47349414229393005, 0.7168059945106506, -0.9943402409553528, -0.23320868611335754, 0.258567750453949, -0.03197433426976204, 0.49236422777175903, -0.7434930205345154, 0.38011589646339417, -0.1391216665506363, -0.6228874921798706, -0.8197271823883057, 0.11901383846998215, -0.5724213123321533, -0.0683041363954544, 1.1067663431167603, -0.13670526444911957, -0.3456348180770874, -0.165155291557312, -0.5551627278327942, 0.026710350066423416, -0.6857740879058838, 0.8762814402580261, 1.1504544019699097, -0.08506642282009125, -0.18820245563983917, -0.5485076308250427, 0.6749290823936462, 0.8544437289237976, -0.4520931541919708, 0.29649046063423157, 0.5067048072814941, 0.35855114459991455, 0.41322609782218933, 0.6177092790603638, 0.023746125400066376, 0.7343795895576477, -0.49685731530189514, -0.31083402037620544, -0.13856159150600433, -0.5118263959884644, -0.5098726749420166, -0.01014405395835638, 0.43314746022224426, 0.24304836988449097 ]
http://arxiv.org/abs/2402.17119v1
http://arxiv.org/pdf/2402.17119v1
Creating Suspenseful Stories: Iterative Planning with Large Language Models
2024-02-27T01:25:52
2024-02-27T01:25:52
Kaige Xie, Mark Riedl
cs.CL
cs.CL
Automated story generation has been one of the long-standing challenges in NLP. Among all dimensions of stories, suspense is very common in human-written stories but relatively under-explored in AI-generated stories. While recent advances in large language models (LLMs) have greatly promoted language generation in general, state-of-the-art LLMs are still unreliable when it comes to suspenseful story generation. We propose a novel iterative-prompting-based planning method that is grounded in two theoretical foundations of story suspense from cognitive psychology and narratology. This theory-grounded method works in a fully zero-shot manner and does not rely on any supervised story corpora. To the best of our knowledge, this paper is the first attempt at suspenseful story generation with LLMs. Extensive human evaluations of the generated suspenseful stories demonstrate the effectiveness of our method.
[ -0.3175837993621826, -0.8915202021598816, 0.8892577290534973, 0.660104513168335, -0.16434311866760254, 0.09980577230453491, -0.47592994570732117, -0.30681735277175903, 0.44321975111961365, 0.2501656711101532, -0.8189924359321594, -0.73665851354599, -0.1342446506023407, 0.13394320011138916, -0.5157911777496338, 0.7983902096748352, -0.0838923305273056, -0.36669856309890747, -0.003644660348072648, 0.303547739982605, -0.42738789319992065, -0.621565580368042, -0.3932187557220459, -0.1801328957080841, 0.5515416860580444, 0.3654138147830963, 0.7116920948028564, 0.736388623714447, -0.04842620715498924, 0.13247384130954742, 0.06507556140422821, 0.2816805839538574, -0.2658746540546417, 0.5181174278259277, 0.10229591280221939, -0.07319460809230804, 0.04092961922287941, -0.31475141644477844, 0.4845116436481476, 0.620019793510437, -0.4763782322406769, -0.14853602647781372, -0.34312692284584045, 0.6105273365974426, -0.6352280974388123, -0.19109119474887848, -0.5759313702583313, 0.37448424100875854, -0.09075311571359634, -0.6575210690498352, -0.5195996761322021, -0.27305370569229126, 0.22139166295528412, -0.42414724826812744, 0.2916843295097351, 0.140728160738945, 0.4988531768321991, 0.14455395936965942, -0.16826055943965912, -0.6547962427139282, -0.9763378500938416, 0.5965025424957275, -0.5881125926971436, -0.10062485933303833, 0.493089497089386, 0.06336770206689835, -0.21401439607143402, -0.3883857727050781, -0.5727633833885193, -0.748858630657196, 0.34564903378486633, -0.04237722232937813, -0.07452262938022614, -0.375881165266037, 0.4024662971496582, 0.1311010867357254, -0.7273455262184143, 0.35189735889434814, -0.2840019464492798, 0.12192903459072113, 0.8555203676223755, 0.5469582676887512, -0.06274367868900299, -0.1714259535074234, -0.29910048842430115, -0.1082027330994606, -0.6321946382522583, 0.05047650635242462, 0.4381343722343445, 0.23648127913475037, -0.10122331231832504, 0.6284540891647339, -0.31356120109558105, 0.5019851922988892, 0.0755428597331047, -0.37015849351882935, -0.00044039174099452794, -0.018253182992339134, 0.11758965253829956, 0.4250844419002533, 0.899301290512085, 0.6469419598579407, 0.4162485599517822, -0.13183477520942688, -0.12962478399276733, 0.4547545909881592, 0.5068432092666626, -0.47760725021362305, -0.006791385356336832, 0.6177355051040649, 0.07419774681329727, -0.8777364492416382, -0.4748181700706482, -0.641192615032196, -0.35578227043151855, 0.19189569354057312, -0.011004282161593437, -0.8367244005203247, -0.25183382630348206, 0.3019460439682007, 0.0017025796696543694, 0.39330577850341797, 0.07957017421722412, -1.1081465482711792, 0.19724537432193756, 0.458732008934021, 0.7334057688713074, -0.37345850467681885, -0.46611031889915466, -0.3065742552280426, 0.33361756801605225, -0.9243496656417847, 0.7506223320960999, -0.13187222182750702, -0.45167437195777893, 0.4355495274066925, -0.63116055727005, 0.361859530210495, -0.1695294827222824, 0.6186431646347046, -0.39664238691329956, 0.16656820476055145, 0.08808119595050812, -0.43942344188690186, 0.20353737473487854, 0.6086513996124268, -0.19739380478858948, 0.9479250311851501, -0.1190352588891983, -0.49751245975494385, 0.37873393297195435, -0.5218057036399841, -0.7360716462135315, 0.05460837483406067, -0.23351818323135376, -0.335488498210907, 0.22342197597026825, 0.5277261137962341, 0.31020867824554443, -0.22794783115386963, 0.9787482023239136, 0.2673322558403015, -0.0744388997554779, 0.2819838523864746, -0.3638167977333069, 0.5416260361671448, 0.2426813691854477, -0.26784753799438477, 0.10577840358018875, -0.8189267516136169, 0.26573848724365234, 0.5925626158714294, -0.15952104330062866, 0.13860885798931122, 0.0443558506667614, -0.04739391803741455, 0.0752539411187172, 0.03383095934987068, -0.3269401490688324, 0.48532408475875854, -0.4745747745037079, 0.20710772275924683, 0.6101940274238586, 0.274246484041214, 0.5367242693901062, -0.5021034479141235, 0.8078936338424683, -0.21085384488105774, -0.09935355186462402, -0.890460193157196, -0.3483509123325348, -0.6132488250732422, -0.03546318784356117, 0.024997489526867867, 0.4717139005661011, -0.9407246708869934, 0.319805383682251, 0.13787692785263062, -0.5339152812957764, 0.07562507688999176, -0.19348855316638947, 0.28378668427467346, 0.41968318819999695, 0.22478091716766357, -0.06061220169067383, -0.6018343567848206, -0.4781726896762848, -0.04459001496434212, -0.21982280910015106, -0.12162968516349792, -0.11713947355747223, 0.13272520899772644, 0.17300380766391754, 0.9236111044883728, -0.601005494594574, -0.20320765674114227, -0.44102180004119873, 0.4136914312839508, 0.19374683499336243, 0.4859292209148407, 0.5557239651679993, -0.4342980682849884, -0.38318923115730286, -0.5495204925537109, -0.9065059423446655, -0.10539078712463379, -0.48941296339035034, 0.14780166745185852, 0.5343002676963806, 0.3915420472621918, -0.8650436401367188, 0.5990139842033386, 0.26191726326942444, -0.10841462016105652, 0.8841302394866943, -0.11662295460700989, -0.29557734727859497, -1.0509997606277466, -0.18635520339012146, -0.02194543369114399, -0.01216647494584322, -0.7274367213249207, 0.26170164346694946, -0.18164564669132233, -0.31798821687698364, -0.18626482784748077, 0.5611659288406372, -0.6590242385864258, 0.06659266352653503, -0.17104391753673553, 0.1024402529001236, -0.25221186876296997, 0.6365728974342346, 0.4530126750469208, 0.26604437828063965, 0.724892795085907, -0.8690829873085022, 0.08695092797279358, 0.4219057857990265, -0.39428019523620605, 0.3102176785469055, -0.35617294907569885, 0.21727173030376434, -0.011568747460842133, 0.1908808797597885, -0.5951212644577026, -0.561286985874176, 0.050529807806015015, -0.5050219297409058, 0.3539300262928009, 0.022288240492343903, -0.6523874998092651, -0.5664460062980652, -0.3143198788166046, 0.040342558175325394, 0.6626269221305847, -0.33249250054359436, 0.4667413830757141, -0.08392906188964844, -0.5163485407829285, -0.32828232645988464, -0.393264502286911, 0.5968451499938965, -0.25214746594429016, -0.6192641854286194, 0.23534923791885376, -0.2844746708869934, -0.44530755281448364, -0.2883812487125397, -0.0077108885161578655, -0.05404035747051239, -0.005279638804495335, 0.23810403048992157, 0.1684434562921524, -0.23291797935962677, -0.07463889569044113, 0.1383609175682068, -0.32012781500816345, 0.16020062565803528, -0.39912959933280945, 0.7515127062797546, 0.13144473731517792, -0.27403080463409424, -0.29392558336257935, 0.7655304670333862, 0.20166358351707458, -0.019214626401662827, 0.4525962471961975, 0.37896832823753357, -0.1994536966085434, -0.3898733854293823, -0.5440584421157837, -0.2705836296081543, -0.43185263872146606, 0.0276806503534317, -0.23390331864356995, -0.8465086817741394, 0.16771984100341797, -0.14475470781326294, 0.2652227282524109, 0.1345956027507782, 0.7083789110183716, -0.011827916838228703, 1.024340033531189, 0.9356950521469116, 0.2106565237045288, 0.2434840202331543, 0.13189096748828888, 0.2157527357339859, -0.2023322433233261, 0.021654389798641205, -0.31035903096199036, -0.03120564855635166, -0.12774410843849182, -0.13044078648090363, 0.467733770608902, 0.16553907096385956, -0.03657887503504753, 0.08011025190353394, -0.44054192304611206, 0.528697669506073, 0.6337049007415771, -0.41707831621170044, 0.4423055648803711, 0.25219208002090454, -0.3981340527534485, -0.14879384636878967, -0.8492172956466675, -0.640221357345581, 1.0129978656768799, 0.0994706079363823, 0.5535376667976379, 0.07116314768791199, 0.8211275339126587, 0.06983402371406555, 0.02342342585325241, -0.7458744049072266, 0.5848726034164429, 0.3776070773601532, -0.47266730666160583, -0.458299458026886, -0.02358543686568737, -0.852030873298645, -0.1223498210310936, -0.3660444915294647, -1.2710620164871216, 0.06380823254585266, 0.10644640028476715, -0.7188544273376465, 0.022049246355891228, -0.36233624815940857, 0.17427489161491394, -0.5259173512458801, -0.4371865391731262, -0.06923490017652512, -0.727053165435791, 0.5135974287986755, -0.10596757382154465, -0.06716741621494293, -0.04367518052458763, 0.24017956852912903, 0.3767348825931549, -0.502269983291626, 0.6074914336204529, -0.06184014305472374, -0.3105960786342621, 0.5041329264640808, 0.7215659022331238, 0.5423533916473389, 0.17779575288295746, -0.2566528022289276, -0.13997933268547058, -0.4843278229236603, -0.3254736363887787, -0.35964661836624146, 0.5364493727684021, -0.23585104942321777, -0.7794249057769775, -0.5434839725494385, -1.0474053621292114, -0.4528121054172516, 0.16696691513061523, 0.5197427272796631, 0.33333155512809753, -0.42107877135276794, -0.18860799074172974, 0.5521904826164246, -0.27453669905662537, 0.9842092990875244, 0.5400884747505188, -0.5367068648338318, -0.25110411643981934, 0.5259563326835632, -0.019599666818976402, 0.0901782214641571, 0.16810961067676544, 0.28925877809524536, -0.07941000908613205, -0.872812032699585, -0.46168723702430725, -0.1468014121055603, -0.2677626311779022, -0.07633363455533981, -1.0315675735473633, -0.2839791178703308, -0.24974402785301208, -0.9470605254173279, -0.3080737888813019, -0.44465523958206177, 0.04001162573695183, -0.5206820964813232, 0.6055971384048462, 0.7554723620414734, -0.3664233684539795, 0.36839088797569275, -0.552685558795929, 0.38667207956314087, -0.09254458546638489, -0.16529963910579681, 0.10313648730516434, -0.20632870495319366, -0.11854945868253708, -0.39434805512428284, -0.4168959856033325, -0.6566084027290344, 0.9968273043632507, -0.27756327390670776, 0.23271606862545013, 0.45700350403785706, 0.5153366327285767, 0.48532673716545105, -0.6268311142921448, 0.9769131541252136, 0.29170525074005127, -0.5629591941833496, 0.6641335487365723, -0.772221028804779, 0.40698134899139404, 0.38134071230888367, 0.41155001521110535, -0.20557823777198792, -0.43581312894821167, -0.7729989886283875, -1.2830597162246704, 0.5462727546691895, 0.3411442041397095, 0.3388793468475342, -0.24828442931175232, 0.2508017420768738, 0.25096622109413147, 0.45893624424934387, -0.7444615960121155, -0.1211128756403923, -0.05460232123732567, 0.1865207850933075, -0.17580105364322662, -0.6016009449958801, -0.45056629180908203, 0.07375600934028625, 0.5182832479476929, -0.3099801540374756, 0.17962884902954102, 0.2617488205432892, 0.023535532876849174, -0.3992800712585449, 0.3142910301685333, 0.9250795245170593, 0.7711262106895447, -0.29078006744384766, -0.15453238785266876, 0.02993376925587654, -0.07325038313865662, 0.21340689063072205, -0.03687236085534096, -0.552384078502655, 0.11925062537193298, 0.4092600643634796, 0.833981454372406, 0.08500055223703384, -0.7153916954994202, 0.39021772146224976, -0.06296756863594055, -0.5241364240646362, -0.8754369020462036, -0.08727551251649857, 0.1454123556613922, 0.26817816495895386, 0.6949902772903442, -0.15432514250278473, -0.28066587448120117, -0.5431417226791382, 0.10931577533483505, 0.16929449141025543, -0.09500852972269058, -0.06913390010595322, 0.5245776772499084, -0.06874198466539383, -0.5993328094482422, 0.6190488338470459, -0.49076810479164124, -0.3307710886001587, 0.5547364950180054, 1.004797339439392, 1.0458053350448608, -0.040989357978105545, 0.6052491068840027, 0.4637368321418762, 0.5229361653327942, -0.1524234116077423, 0.39302122592926025, -0.06486442685127258, -0.7487198114395142, -0.4575921297073364, -0.5505818724632263, -0.5898342728614807, 0.16085755825042725, -0.6378403306007385, 0.20584751665592194, -0.6588578224182129, 0.09824463725090027, -0.2800626754760742, -0.13453546166419983, -0.1342216432094574, -0.027453163638710976, 0.28127697110176086, 0.9934610724449158, -0.41181400418281555, 0.3759360909461975, 0.38280045986175537, -0.2137024700641632, -0.9341549277305603, 0.458901584148407, 0.13583436608314514, -0.6738324761390686, 0.182768777012825, 0.1461023986339569, 0.044209063053131104, 0.03875046968460083, -0.9421379566192627, -0.663472592830658, 0.9675896167755127, 0.14076025784015656, -0.5997498631477356, -0.3819655478000641, -0.0645788386464119, 0.5732390284538269, -0.637177050113678, -0.33651846647262573, 0.25026610493659973, 0.45949989557266235, 0.4789634346961975, -0.529156506061554, 0.023962339386343956, -0.09701168537139893, 0.006060208659619093, -0.05500791594386101, -0.3539644777774811, 0.6659092903137207, -0.83978670835495, -0.2122880220413208, 0.6086716055870056, 0.5483787059783936, 0.7006837725639343, 0.6058560609817505, 0.3197603225708008, 0.520442545413971, 0.6880035400390625, 0.09290822595357895, 1.2859165668487549, -0.2772010266780853, -0.21423190832138062, 1.4047129154205322, -0.8554056882858276, 0.6529322862625122, 0.3714497685432434, 0.25260379910469055, 0.5173283815383911, 0.5504032969474792, 0.12284328788518906, 0.46369630098342896, 0.3898502588272095, -0.20844943821430206, -0.24894531071186066, -0.16497927904129028, -0.17300137877464294, 0.48327726125717163, 0.3634258508682251, -0.17261885106563568, -0.34820854663848877, 0.050876326858997345, 0.23130328953266144, 0.29843664169311523, -0.22146503627300262, 0.8562726378440857, 0.22406788170337677, -0.930870532989502, 0.5672547817230225, 0.03876939043402672, 0.40689945220947266, -0.7337426543235779, 0.18641917407512665, -0.1956399381160736, -0.30175402760505676, 0.14613041281700134, -0.6039886474609375, 0.10790117084980011, 0.42785516381263733, -0.2399638593196869, -0.44611361622810364, 0.591629147529602, -0.35788798332214355, -0.3219837546348572, 0.09220167249441147, 0.695057213306427, -0.05101139843463898, -0.18665891885757446, -0.25940850377082825, -0.03880871832370758, -0.08706162124872208, -0.40369585156440735, 0.3011515736579895, 0.624751627445221, -0.45013177394866943, 0.7022984027862549, 0.9369500279426575, -0.08899735659360886, -0.14070120453834534, 0.03538425266742706, 0.8840112686157227, -1.0444906949996948, -0.9347788095474243, -0.9160072803497314, 0.6202306151390076, 0.032528094947338104, -0.37671589851379395, 0.5225993990898132, 0.3544466495513916, 0.23761160671710968, -0.062295928597450256, 0.7293530106544495, -0.024900032207369804, 0.2618848383426666, -0.7841551303863525, 0.3765574097633362, -0.01088928896933794, 0.298962265253067, -0.43050116300582886, -0.994480550289154, -0.3805396258831024, 0.39958685636520386, -0.09742537885904312, -0.2970636188983917, 1.004057765007019, 0.6857524514198303, 0.617344081401825, -0.05778516083955765, 0.6606289744377136, 0.3250991106033325, 0.03154314309358597, 0.4718542695045471, 1.2110334634780884, 0.12432542443275452, 0.40380141139030457, -0.28354182839393616, -0.13183222711086273, -0.1951766312122345, -1.2968443632125854, -0.9977643489837646, -0.5387375950813293, -0.15051813423633575, -0.38003355264663696, 0.03883765637874603, 0.8731174468994141, 0.4922722578048706, -0.41891905665397644, -0.23821069300174713, -0.29762300848960876, -0.09335468709468842, -0.21913844347000122, -0.24769480526447296, 0.01826765574514866, -0.23387612402439117, -0.3824699819087982, 0.9723479151725769, 0.41651028394699097, 0.13367420434951782, -0.5390641093254089, -0.053412195295095444, -0.3349979519844055, 0.35182279348373413, 0.49001505970954895, 0.6078267693519592, -0.5595099329948425, 0.07668925821781158, -0.08812832087278366, -0.035526301711797714, 0.012786954641342163, 1.0211800336837769, -0.8819769620895386, 0.24344517290592194, -0.10913137346506119, 0.3711310923099518, 0.7692455649375916, -0.13283579051494598, 1.052282691001892, -1.1763163805007935, 0.37802955508232117, 0.5325676202774048, 0.15943112969398499, 0.286722868680954, -0.6267208456993103, 0.7731354832649231, -0.21214275062084198, -0.33240067958831787, -1.0137466192245483, 0.453138530254364, -1.0044958591461182, -0.1343671977519989, 1.227875828742981, 0.23457008600234985, -0.09054576605558395, 0.008406917564570904, -0.35282599925994873, -0.1657390594482422, -0.5941510796546936, 0.9302895069122314, 0.7287156581878662, -0.19796331226825714, -0.3304336965084076, -0.40810105204582214, 0.5560614466667175, 0.45086511969566345, -0.5966691970825195, 0.1692572385072708, 0.49213752150535583, -0.24508188664913177, 0.6804283261299133, 0.9846946597099304, 0.1083260253071785, 0.2896873354911804, 0.25515732169151306, 0.193238765001297, -0.3048621416091919, -0.568853497505188, -0.20251159369945526, 0.4679560959339142, 0.05056840926408768, 0.4746244251728058 ]
http://arxiv.org/abs/2402.17110v1
http://arxiv.org/pdf/2402.17110v1
Sinkhorn Distance Minimization for Knowledge Distillation
2024-02-27T01:13:58
2024-02-27T01:13:58
Xiao Cui, Yulei Qin, Yuting Gao, Enwei Zhang, Zihan Xu, Tong Wu, Ke Li, Xing Sun, Wengang Zhou, Houqiang Li
cs.LG
cs.LG, cs.CL
Knowledge distillation (KD) has been widely adopted to compress large language models (LLMs). Existing KD methods investigate various divergence measures including the Kullback-Leibler (KL), reverse Kullback-Leibler (RKL), and Jensen-Shannon (JS) divergences. However, due to limitations inherent in their assumptions and definitions, these measures fail to deliver effective supervision when few distribution overlap exists between the teacher and the student. In this paper, we show that the aforementioned KL, RKL, and JS divergences respectively suffer from issues of mode-averaging, mode-collapsing, and mode-underestimation, which deteriorates logits-based KD for diverse NLP tasks. We propose the Sinkhorn Knowledge Distillation (SinKD) that exploits the Sinkhorn distance to ensure a nuanced and precise assessment of the disparity between teacher and student distributions. Besides, profit by properties of the Sinkhorn metric, we can get rid of sample-wise KD that restricts the perception of divergence in each teacher-student sample pair. Instead, we propose a batch-wise reformulation to capture geometric intricacies of distributions across samples in the high-dimensional space. Comprehensive evaluation on GLUE and SuperGLUE, in terms of comparability, validity, and generalizability, highlights our superiority over state-of-the-art methods on all kinds of LLMs with encoder-only, encoder-decoder, and decoder-only architectures.
[ -0.4839301109313965, -0.6895698308944702, 0.4524564743041992, 0.0839802697300911, -0.32804152369499207, 0.3228171765804291, -0.5203956365585327, -0.08817686140537262, 0.2780284285545349, -0.03047073259949684, -0.22422254085540771, -0.6505450010299683, -1.11699378490448, -0.09417127817869186, -0.3536504805088043, 0.9709370136260986, 0.10437256097793579, -0.08573682606220245, -0.442376971244812, -0.08562249690294266, -0.32643449306488037, -0.08999787271022797, -0.49475282430648804, -0.3499261438846588, 0.25238037109375, 0.12803271412849426, 0.5397151112556458, 0.5080441832542419, 0.4611230790615082, 0.2708451747894287, -0.640200674533844, 0.2444196343421936, -0.5256953239440918, 0.2952461242675781, -0.045344337821006775, -0.5811677575111389, -0.11237209290266037, -0.09031867980957031, 0.2887212336063385, 1.0339385271072388, -0.46931368112564087, 0.06325671076774597, 0.30697309970855713, 0.8242971897125244, -0.8888285756111145, 0.2855042815208435, -0.5093896985054016, 0.20292030274868011, -0.13617749512195587, 0.21246866881847382, -0.264883428812027, -0.6805453300476074, 0.4891504645347595, -0.4681645631790161, 0.29133304953575134, -0.3439311385154724, 0.5325494408607483, 0.5499444603919983, -0.36537766456604004, -0.5879197716712952, -0.7629969120025635, 1.0483146905899048, -0.841656506061554, 0.5970194935798645, 0.3631717264652252, 0.4334121644496918, -0.11975622922182083, -0.5308758020401001, -0.2669951915740967, 0.10531950742006302, -0.11574459075927734, 0.17686428129673004, -0.05613718554377556, -0.053727418184280396, 0.1429154872894287, 0.3369259238243103, -0.19309040904045105, 0.10092329233884811, -0.5324970483779907, -0.08911740034818649, 0.40696486830711365, 0.011524312198162079, -0.07039947807788849, 0.013863462954759598, -0.5476506948471069, -0.3762587308883667, -0.5067524909973145, 0.09438773989677429, 0.2534031271934509, 0.05392985790967941, -0.07549859583377838, 0.20475412905216217, -0.17371493577957153, 0.3516480028629303, -0.1262313574552536, -0.6284899711608887, 0.00045510739437304437, 0.04707080498337746, -0.24926696717739105, 0.2557045519351959, 0.7256197929382324, 0.37671971321105957, 0.2643732726573944, -0.09991440176963806, -0.04084767773747444, 0.03210745006799698, -0.1925511360168457, -0.8438496589660645, -0.5076640248298645, 0.16470453143119812, -0.33665236830711365, -0.36522606015205383, -0.14343562722206116, -1.0269231796264648, -0.5419301986694336, -0.3130161464214325, 0.2688319683074951, -0.29517441987991333, -0.501960277557373, 0.2628927230834961, -0.3210207223892212, -0.1771182268857956, 0.1968783587217331, -0.8900726437568665, 0.39465636014938354, 0.6387692093849182, 0.8161916136741638, -0.29531893134117126, -0.27860990166664124, -0.1289556324481964, 0.1392098069190979, -0.36042287945747375, 0.47080186009407043, -0.4016447961330414, -0.4681856036186218, -0.16303953528404236, -0.4197026789188385, 0.09908246248960495, -0.8929350972175598, 0.3752240836620331, -0.600773811340332, 0.08513721823692322, -0.15923796594142914, -0.9055458307266235, -0.3235248029232025, 0.08649954199790955, -0.5452897548675537, 0.8355849385261536, 0.14408141374588013, -0.8626856207847595, 0.653090238571167, -0.22721293568611145, -0.3479093313217163, -0.07115763425827026, -0.32349225878715515, -0.4835074841976166, 0.28819817304611206, 0.44435766339302063, 0.5495410561561584, -0.278055340051651, 0.44600990414619446, -0.37725433707237244, -0.2902543544769287, -0.011944670230150223, -0.6507351398468018, 0.9123355746269226, 0.05399610847234726, -0.2761676013469696, -0.3750261664390564, -0.5090252161026001, -0.15944822132587433, -0.2074570208787918, -0.6110146045684814, -0.7983696460723877, -0.018414486199617386, -0.2896382808685303, -0.3073052763938904, 0.08844093978404999, -0.319381982088089, 0.40231555700302124, -0.3962312638759613, 0.27667713165283203, 0.7957702875137329, -0.10686676949262619, 0.5027831792831421, -0.05583556741476059, 0.47097742557525635, 0.43392935395240784, 0.08333756029605865, 0.002468040445819497, -0.2617298364639282, -0.5185427069664001, -0.5540396571159363, 0.5096702575683594, 0.39519110321998596, -0.7718266248703003, 0.25967979431152344, -0.44898897409439087, -0.6577281951904297, -0.500330924987793, 0.30915164947509766, 0.29793351888656616, 0.5371417999267578, 0.5542458295822144, -0.01726791076362133, -0.28814998269081116, -0.5704817771911621, -0.2976122796535492, 0.03120511770248413, -0.18630874156951904, -0.06261643767356873, 0.23348887264728546, -0.16992326080799103, 1.1935851573944092, -1.0375571250915527, -0.558295726776123, -0.031371042132377625, -0.09093125909566879, 0.43745484948158264, 0.2473352700471878, 0.5411468744277954, -0.5172598958015442, -0.7489439845085144, -0.07456362247467041, -0.7798485159873962, -0.05439896881580353, 0.18247045576572418, 0.1954815536737442, 0.28689342737197876, 0.6882955431938171, -0.8945225477218628, 0.44181129336357117, 0.44893017411231995, -0.18830521404743195, 0.6227021813392639, -0.0972084254026413, 0.0014101981651037931, -1.0768994092941284, -0.39170679450035095, 0.00832296721637249, -0.20118442177772522, -0.5151224732398987, -0.06361556798219681, -0.0720931813120842, 0.37784266471862793, -0.36216849088668823, 0.33531785011291504, -0.3801797330379486, 0.21055154502391815, -0.06813658773899078, 0.354699045419693, -0.03797416388988495, 0.1489664912223816, 0.032653920352458954, 0.3856699466705322, 0.8066914081573486, -0.5798017382621765, 0.5359649658203125, 0.10896995663642883, -0.4453725516796112, 0.6255929470062256, -0.6162228584289551, -0.13614219427108765, -0.18215548992156982, 0.22350531816482544, -0.9075835943222046, 0.11422590166330338, -0.10350273549556732, -0.2278604805469513, 0.5068396925926208, -0.281928688287735, -0.10690417885780334, -0.1520579755306244, -0.6347789764404297, 0.48493853211402893, 0.9457645416259766, -0.7948837280273438, 0.5011721253395081, 0.10163439810276031, -0.14353451132774353, -0.9121538996696472, -0.7861884832382202, -0.13357941806316376, -0.6668689250946045, -0.5180172920227051, 0.06571243703365326, 0.032944537699222565, -0.4778643846511841, 0.006901314482092857, -0.5246415734291077, -0.15236049890518188, -0.24229519069194794, -0.0192304365336895, 0.1198020726442337, -0.18776413798332214, 0.22709135711193085, 0.5876702666282654, 0.06371292471885681, 0.10526499152183533, -0.37073275446891785, 0.3427039086818695, 0.1468324363231659, -0.3814292848110199, -0.10023844242095947, 0.045592594891786575, 0.5385324954986572, 0.28335097432136536, 0.7109007835388184, 0.6953603625297546, -0.10755758732557297, -0.7219186425209045, -0.6565027236938477, -0.4843400716781616, -0.5204343199729919, 0.24658051133155823, -0.25023576617240906, -0.8149529099464417, 0.41894054412841797, -0.39998796582221985, -0.011143316514790058, -0.010602707043290138, 0.37500524520874023, -0.0945730060338974, 0.3336617350578308, 0.38214173913002014, -0.23599790036678314, -0.1175515428185463, -0.4817945659160614, 0.35356998443603516, -0.6844663023948669, -0.152423694729805, -0.257491797208786, -0.44368502497673035, -0.3882042467594147, -0.3793703317642212, 0.5006776452064514, 0.6168155670166016, 0.2499825656414032, 0.2003975212574005, -0.45159798860549927, 0.8036089539527893, 0.4842485189437866, -0.1423443704843521, 0.40801477432250977, 0.1826978325843811, -0.2902853488922119, -0.39862310886383057, -0.7473719716072083, -0.2068844586610794, 1.0885738134384155, 0.33304622769355774, 1.207431435585022, 0.1958843469619751, 1.1558152437210083, 0.26526761054992676, -0.05350763723254204, -0.8689702749252319, 0.4696146845817566, -0.25248983502388, -0.14832165837287903, -0.5646025538444519, -0.5422311425209045, -0.8737453818321228, 0.5097790956497192, 0.2826310694217682, -0.5548773407936096, 0.15952521562576294, -0.017366038635373116, -0.1896210014820099, 0.4670414626598358, -0.7724311351776123, 0.38786378502845764, 0.38967621326446533, 0.04340974614024162, 0.012282983399927616, -0.4706997573375702, 0.523242175579071, -0.22844207286834717, 0.4128662645816803, -0.06367423385381699, 0.029855893924832344, 0.6099570989608765, -0.5640363097190857, 0.7990655303001404, -0.4117599427700043, -0.4873741567134857, 0.3518773317337036, 0.5002118945121765, 0.314689040184021, 0.2868291437625885, 0.2897029519081116, 0.3487909138202667, 0.2740565240383148, -0.10994049161672592, -0.7204787135124207, 0.8325870037078857, -0.6595981121063232, -0.6391757726669312, -0.05541263893246651, -0.5809077620506287, -0.11336807161569595, 0.04406443610787392, 0.18905042111873627, 0.46061331033706665, 0.2905076742172241, 0.31114131212234497, 0.8639957308769226, 0.04829026386141777, 0.9037954211235046, 0.3211183249950409, -0.2567652463912964, -0.31565532088279724, 0.9183180928230286, 0.27340167760849, 0.34725475311279297, 0.1900215595960617, 0.500540554523468, -0.6199851036071777, -0.43419045209884644, -0.26727181673049927, 0.025921283289790154, -0.9859692454338074, -0.29268452525138855, -0.3933927118778229, -0.016501564532518387, -0.6154415607452393, -0.30081209540367126, -0.6277089715003967, -0.46598201990127563, -0.3202533423900604, 0.06231429800391197, 0.3736818730831146, 0.6491763591766357, -0.1491302102804184, 0.043552055954933167, -0.667851448059082, 0.19996917247772217, 0.5061596035957336, 0.3105098605155945, 0.225155308842659, -0.5547589063644409, -0.018836602568626404, -0.009952785447239876, -0.15761451423168182, -0.6709034442901611, 0.25649601221084595, 0.39772284030914307, 0.3409438133239746, 0.6989647150039673, 0.4071611166000366, 0.6563027501106262, -0.3729245960712433, 0.6886783242225647, 0.3082541227340698, -0.8071081042289734, 0.4375634491443634, -0.09992523491382599, 0.3468741774559021, 0.46606841683387756, 0.6926062107086182, -0.36566027998924255, -0.668045163154602, -0.22870156168937683, -0.9382327795028687, 0.36284777522087097, 0.08453191071748734, 0.033800072968006134, 0.0044819810427725315, 0.1484736055135727, 0.2716574966907501, 0.11515038460493088, -0.5752722024917603, -0.382656991481781, 0.12067896127700806, -0.348135381937027, 0.051830604672431946, -0.08947921544313431, -0.23854383826255798, -0.32635733485221863, 0.5419363975524902, 0.0003213636518921703, -0.434588760137558, 0.17771317064762115, -0.10958966612815857, 0.3355053961277008, 0.3055334985256195, 0.4104040265083313, 0.6128902435302734, -0.06148010864853859, 0.5681024789810181, 0.533489465713501, -0.9627581238746643, 0.378183513879776, -0.0856185108423233, -0.13611333072185516, 0.2097744643688202, 0.5806716084480286, 0.3088844120502472, -0.016997192054986954, -0.3617520332336426, 0.5840051174163818, -0.04514428973197937, -0.3178060054779053, -0.09644197672605515, 0.04629310593008995, 0.48418906331062317, 0.5008057355880737, 0.2874666750431061, 0.01617260091006756, 0.11448916047811508, 0.04414680227637291, 0.07448894530534744, 0.23129570484161377, -0.3773152828216553, -0.055887773633003235, 0.4332738518714905, 0.022205481305718422, -0.04578131437301636, 0.5388697981834412, -0.3608703017234802, -0.2327207624912262, 0.4781537652015686, 0.34097838401794434, 0.7947116494178772, -0.3795486390590668, 0.15992853045463562, 0.21118693053722382, 0.2528972923755646, -0.2226274609565735, -0.006008479278534651, -0.22426393628120422, -0.5549800992012024, -0.4203149676322937, -0.8775439858436584, -0.004627457819879055, -0.01926386170089245, -0.7086178064346313, 0.39277052879333496, -0.30981558561325073, -0.008956370875239372, -0.10061836242675781, -0.22675670683383942, -0.2528870403766632, 0.002568017691373825, -0.17979887127876282, 0.7678749561309814, -0.8499255180358887, 0.6677209138870239, 0.481547087430954, -0.01625920832157135, -0.8137437701225281, 0.043376851826906204, 0.06204714626073837, -0.34096044301986694, 0.8437145352363586, -0.04694164916872978, -0.22584640979766846, -0.09043129533529282, -0.15357069671154022, -0.6214797496795654, 1.3418890237808228, 0.4202616214752197, -0.8282875418663025, 0.06399348378181458, 0.3691042363643646, 0.44912177324295044, -0.01994909904897213, 0.19533950090408325, 0.8103845119476318, 0.1672002226114273, 0.16252799332141876, -0.9223009943962097, -0.010502208955585957, 0.33135172724723816, 0.19723430275917053, 0.34154367446899414, -0.44410645961761475, 0.800384521484375, -0.15338565409183502, -0.19743625819683075, -0.5741829872131348, 0.38094362616539, 0.239858016371727, 0.1868577003479004, 0.6076738238334656, 1.0167899131774902, 0.5581681132316589, -0.23381002247333527, 0.4683949947357178, -0.10584137588739395, 0.8554163575172424, 1.1266822814941406, 0.05237516015768051, 0.6434605121612549, 0.7666192650794983, -0.702370285987854, 0.2579112648963928, 0.234561949968338, 0.08868014067411423, 0.6285656094551086, 0.34664586186408997, -0.46324121952056885, 0.03195716813206673, 0.047701116651296616, -0.52045738697052, 0.42692017555236816, 0.22453007102012634, -0.012773402035236359, -0.5257617831230164, 0.05802622437477112, 0.280748575925827, 0.19078342616558075, -0.14787234365940094, 0.788189172744751, 0.3194614052772522, -0.3626843988895416, 0.8934118151664734, -0.3419328033924103, 0.9724756479263306, -0.37640106678009033, 0.10722999274730682, -0.5468742847442627, 0.31468042731285095, -0.28021109104156494, -0.723362386226654, 0.40110719203948975, -0.36788564920425415, -0.05009693652391434, 0.050025805830955505, 0.8428131341934204, -0.7616195678710938, -0.29868319630622864, 0.4030623435974121, 0.41524383425712585, 0.18092043697834015, 0.18146803975105286, -0.29573437571525574, 0.2180463671684265, -0.13847380876541138, -0.37402984499931335, 0.16877306997776031, 0.39623287320137024, 0.30825310945510864, 0.7355020642280579, 0.2795266807079315, 0.30772244930267334, 0.3096116781234741, 0.2769795060157776, 0.8552025556564331, -0.20432206988334656, -0.3347852826118469, -1.330101728439331, 0.29734358191490173, -0.0631738007068634, -0.09377537667751312, 0.8562605977058411, 0.5181975960731506, 0.9451102018356323, -0.35389113426208496, 0.6286473870277405, 0.04066071659326553, 0.4959728419780731, -0.5268533825874329, 0.877093493938446, -0.4478099048137665, 0.42598679661750793, -0.4605492949485779, -1.1761574745178223, -0.1469256430864334, 0.4241192638874054, -0.07856209576129913, -0.009235850535333157, 0.7394870519638062, 0.5923876762390137, -0.3121729791164398, -0.1476336270570755, 0.40873974561691284, 0.07820617407560349, 0.4262961447238922, 0.5940022468566895, 0.9482125639915466, -0.34290510416030884, 0.6820294260978699, -0.3054092824459076, -0.18464937806129456, -0.019591836258769035, -0.8890939354896545, -1.130002498626709, -0.4535291790962219, -0.6205605268478394, -0.034325048327445984, -0.21100065112113953, 0.5888438820838928, 0.8086308240890503, -0.6305216550827026, -0.2094196081161499, -0.1910749077796936, 0.3311323821544647, -0.1442146748304367, -0.30324921011924744, 0.5191035270690918, -0.5338148474693298, -0.7985477447509766, 0.20892299711704254, 0.2547646164894104, 0.1490677148103714, -0.6086666584014893, 0.01590721495449543, 0.10847675055265427, -0.021459558978676796, 0.667385995388031, -0.2966775894165039, -0.7648380994796753, -0.1441570222377777, -0.24015720188617706, 0.10717008262872696, -0.23356296122074127, 0.3481452167034149, -0.6351901888847351, 0.5153374671936035, 0.4991312325000763, 0.6611546874046326, 0.44107913970947266, -0.2159898579120636, 0.10324516147375107, -1.0436317920684814, 0.21224656701087952, 0.1169310212135315, 0.014361252076923847, 0.15793494880199432, -0.22392792999744415, 0.5498278737068176, 0.29693707823753357, -0.5878089666366577, -0.8556292653083801, 0.26229235529899597, -0.604502260684967, -0.46197518706321716, 1.145918846130371, -0.4642128348350525, 0.03171244636178017, -0.06296408176422119, -0.11456635594367981, 0.08523492515087128, -0.30195313692092896, 1.084924578666687, 0.8332000970840454, 0.024949798360466957, 0.022378118708729744, -0.48055028915405273, 0.8594227433204651, 0.3425559997558594, -0.6310214996337891, 0.12964600324630737, 0.2568945288658142, 0.6006156206130981, 0.25404462218284607, 0.3123725354671478, -0.0006213749293237925, -0.15411044657230377, 0.24845531582832336, -0.12639768421649933, 0.0070433057844638824, -0.352612167596817, -0.3150303363800049, 0.20981141924858093, -0.07909858971834183, -0.1055719256401062 ]
http://arxiv.org/abs/2403.00824v2
http://arxiv.org/pdf/2403.00824v2
Information Flow Routes: Automatically Interpreting Language Models at Scale
2024-02-27T00:24:42
2024-04-16T23:32:38
Javier Ferrando, Elena Voita
cs.CL
cs.CL, cs.AI
Information flows by routes inside the network via mechanisms implemented in the model. These routes can be represented as graphs where nodes correspond to token representations and edges to operations inside the network. We automatically build these graphs in a top-down manner, for each prediction leaving only the most important nodes and edges. In contrast to the existing workflows relying on activation patching, we do this through attribution: this allows us to efficiently uncover existing circuits with just a single forward pass. Additionally, the applicability of our method is far beyond patching: we do not need a human to carefully design prediction templates, and we can extract information flow routes for any prediction (not just the ones among the allowed templates). As a result, we can talk about model behavior in general, for specific types of predictions, or different domains. We experiment with Llama 2 and show that the role of some attention heads is overall important, e.g. previous token heads and subword merging heads. Next, we find similarities in Llama 2 behavior when handling tokens of the same part of speech. Finally, we show that some model components can be specialized on domains such as coding or multilingual texts.
[ -0.1594230830669403, -0.6818094849586487, 0.4817854166030884, 0.27086395025253296, -0.21282029151916504, -0.03793789818882942, -0.004985550884157419, -0.5269823670387268, 0.36174193024635315, 0.7170777916908264, -0.570127546787262, -0.2554709017276764, -0.701465368270874, -0.15969739854335785, -0.7482797503471375, 0.8179301023483276, -0.06694035977125168, -0.04076531156897545, -0.10287394374608994, 0.0016124197281897068, -0.16921469569206238, -0.4831213355064392, -1.132651925086975, -0.6369081735610962, 0.8527488112449646, 0.3347194492816925, 0.5853326320648193, 1.206581950187683, 0.6394132971763611, 0.2945674657821655, -0.20388168096542358, -0.11728085577487946, -0.3156365156173706, 0.09458482265472412, -0.4002234935760498, -0.5853447318077087, -0.4511297643184662, -0.17971426248550415, 0.6913321018218994, 0.8351384997367859, -0.29124534130096436, 0.18115133047103882, -0.009716514497995377, 0.7317701578140259, -0.30549460649490356, 0.26088640093803406, -0.6237733364105225, -0.1309700757265091, -0.5059813857078552, -0.2325495034456253, -0.44081515073776245, -0.2004532665014267, -0.09971814602613449, -0.4680279493331909, -0.23395715653896332, 0.23642197251319885, 0.6497918963432312, 0.37423184514045715, -0.5801492929458618, -0.5099654793739319, -0.6012200713157654, 0.5958754420280457, -0.676784336566925, 0.22231075167655945, 0.3942220211029053, 0.4461261034011841, -0.2898658514022827, -1.061856746673584, -0.4626046121120453, 0.17840860784053802, -0.15797275304794312, -0.33038732409477234, -0.6356493830680847, 0.1512991338968277, 0.24111521244049072, 0.25704941153526306, -0.35022538900375366, 0.28635331988334656, -0.6264186501502991, -0.16564889252185822, 0.3967896103858948, 0.08201716095209122, 0.32111042737960815, -0.00352258188650012, -0.1560833901166916, 0.05361296236515045, -0.9064536690711975, 0.07142390310764313, 0.47280699014663696, 0.4290313124656677, -0.12939760088920593, 0.6149811744689941, -0.24275170266628265, 1.04523503780365, -0.003703897586092353, -0.13594359159469604, 0.2403034269809723, -0.22469614446163177, -0.20255330204963684, -0.06870292127132416, 0.7387562990188599, 0.010551942512392998, 0.5261544585227966, -0.26913365721702576, -0.05166372284293175, -0.4004402160644531, 0.32197093963623047, -0.62272047996521, -0.24645689129829407, 0.12353096157312393, -0.5756757259368896, -0.47240206599235535, -0.28358256816864014, -0.5873799324035645, -0.6368464827537537, -0.4821218252182007, 0.192467600107193, -0.1560537964105606, -0.6728197932243347, -0.13230077922344208, -0.039131857454776764, 0.1715700924396515, 0.32810986042022705, -0.9106446504592896, 0.4257355034351349, 0.7641397714614868, 1.0569101572036743, -0.4066888689994812, -0.3429908752441406, -0.5389606356620789, 0.10613255947828293, -0.26930364966392517, 1.0164191722869873, -0.7160354256629944, 0.07451725006103516, -0.1444007009267807, -0.04750099405646324, -0.19017718732357025, -0.48266711831092834, 0.20917199552059174, -0.693225622177124, -0.20598995685577393, -0.16248561441898346, -0.5309519171714783, -0.2939537465572357, 0.08744774013757706, -0.9145335555076599, 0.753986120223999, 0.0925758108496666, -0.9510232210159302, -0.02260110341012478, -1.0109574794769287, -0.5624105930328369, -0.28348371386528015, 0.03828054293990135, 0.12026461213827133, 0.012165609747171402, -0.04179004207253456, 0.2471681833267212, -0.4880889356136322, 0.10047803819179535, -0.17216183245182037, -0.07717634737491608, 0.10548679530620575, -0.30074119567871094, 1.0482631921768188, 0.28811851143836975, -0.30945536494255066, 0.1963665783405304, -0.7870767712593079, -0.05293326452374458, 0.04782292619347572, -0.33652809262275696, -0.24932041764259338, 0.28418824076652527, -0.06515015661716461, 0.2390677034854889, 0.03334008529782295, -0.3500029444694519, 0.35831931233406067, -0.41456300020217896, 0.8170983195304871, 0.9116823673248291, 0.05704566463828087, 0.5716843008995056, -0.010023502632975578, 0.6230872869491577, 0.2657786011695862, 0.23160851001739502, -0.3068021833896637, -0.8438814282417297, -0.7689653635025024, -0.044125545769929886, 0.3310650587081909, 0.5146302580833435, -0.6032848954200745, -0.019068198278546333, -0.3352417051792145, -0.6963619589805603, -0.5105603933334351, 0.18978668749332428, 0.24059322476387024, 0.5099644660949707, -0.011396732181310654, -0.19720523059368134, -0.5234549641609192, -0.871151328086853, -0.3069104254245758, -0.6109390258789062, 0.09632629156112671, 0.14298582077026367, 0.2035166174173355, -0.11020343750715256, 0.8634629249572754, -0.4209049940109253, 0.028402328491210938, -0.472928524017334, 0.26922181248664856, 0.2795204222202301, 0.4418838322162628, 0.39045533537864685, -0.8756709098815918, -0.3822750151157379, 0.03645657002925873, -0.5455586314201355, -0.21469277143478394, 0.12218067795038223, -0.2242383062839508, -0.2698126435279846, 0.7616352438926697, -0.43017318844795227, 0.3826921880245209, 0.6988403797149658, -0.47600284218788147, 0.14212678372859955, 0.010058799758553505, -0.1142980307340622, -0.9575231075286865, 0.0019189071608707309, -0.077566958963871, -0.33400189876556396, -0.969085156917572, 0.08686822652816772, -0.08715958148241043, 0.011573715135455132, -0.40446096658706665, 0.8166728019714355, -0.28707155585289, -0.33346500992774963, -0.36427047848701477, 0.02699555642902851, 0.056411951780319214, 0.5452194809913635, -0.0379212461411953, 0.7694433927536011, 0.7500112056732178, -0.6135059595108032, 0.46562883257865906, -0.209611177444458, -0.28441014885902405, 0.3630155026912689, -0.6561762094497681, 0.24890771508216858, -0.1982787847518921, 0.19702962040901184, -1.187132716178894, -0.31998857855796814, 0.24462047219276428, -0.4201190769672394, 0.2943389117717743, -0.27260133624076843, -0.8333473801612854, -0.16887657344341278, 0.06853001564741135, 0.5023636817932129, 0.42331475019454956, -0.4884258508682251, 0.6324600577354431, 0.8898752331733704, -0.17197395861148834, -0.33483603596687317, -0.8704838156700134, 0.15482984483242035, -0.3325105309486389, -0.631942868232727, 0.09070935100317001, -0.024146169424057007, -0.40772292017936707, -0.06181091442704201, 0.32899168133735657, -0.5798631310462952, 0.3087417483329773, 0.4046485424041748, -0.14004503190517426, -0.3161661624908447, 0.20626668632030487, 0.03749717026948929, -0.03561908379197121, 0.07957688719034195, -0.5658437609672546, 0.5252096056938171, -0.08123958855867386, -0.4982406795024872, -0.4983389973640442, 0.4362547695636749, 0.9171212315559387, -0.1581888347864151, 0.6886276602745056, 0.5042847990989685, -0.5696570873260498, 0.17252494394779205, -0.3802748918533325, -0.10608455538749695, -0.4719656705856323, 0.13911454379558563, -0.3159147799015045, -0.6653114557266235, 0.6417809128761292, -0.2915074825286865, 0.09314869344234467, 0.5057314038276672, 0.5985384583473206, -0.010622657835483551, 1.0154986381530762, 1.0514585971832275, -0.21978600323200226, 0.5308911800384521, -0.0970153734087944, 0.44563475251197815, -0.9043559432029724, -0.20565858483314514, -0.49214738607406616, -0.3328772783279419, -0.5679647326469421, -0.4805004298686981, 0.2387748658657074, 0.33104926347732544, -0.1098489761352539, 0.5164312124252319, -0.24165494740009308, 0.4896519184112549, 0.643048882484436, -0.31035536527633667, 0.3717459738254547, 0.22908683121204376, -0.19237753748893738, 0.18487593531608582, -0.8765552639961243, -0.5173212289810181, 1.0526132583618164, 0.5729088187217712, 0.764442503452301, 0.05203130468726158, 0.38850998878479004, 0.3736771047115326, 0.5626738667488098, -0.8349024653434753, 0.3489334285259247, -0.005854001734405756, -0.5896486043930054, -0.47420111298561096, -0.2839927673339844, -0.8820342421531677, 0.0230194553732872, 0.2595376670360565, -1.1013323068618774, 0.14678123593330383, 0.35464099049568176, -0.07589561492204666, 0.6294479370117188, -0.7076630592346191, 0.7327654957771301, 0.108991838991642, -0.0633358284831047, -0.22628548741340637, -0.611011803150177, 0.16813622415065765, -0.1130276545882225, 0.48681968450546265, 0.059294674545526505, -0.03500153124332428, 0.8858811259269714, -0.2934683859348297, 0.9524738192558289, 0.007367387413978577, -0.14385868608951569, 0.5252323150634766, 0.1475011259317398, 0.6440002918243408, -0.4320489168167114, -0.393229216337204, 0.4083884060382843, -0.3094538152217865, -0.20234838128089905, -0.5967991948127747, 0.5592243671417236, -0.6370713710784912, -0.3840397000312805, -0.023082518950104713, -0.4422447085380554, -0.04984111338853836, 0.324781596660614, 0.27317166328430176, 0.6433560848236084, 0.25754478573799133, -0.04354728385806084, 0.449321448802948, 0.11830542236566544, 0.38116079568862915, 0.30209875106811523, -0.26012882590293884, -0.09158837050199509, 0.8396477103233337, 0.06477683037519455, 0.447307288646698, 0.4390052556991577, 0.31401386857032776, -0.34603315591812134, -0.6077298521995544, -0.6262276768684387, 0.35675138235092163, -1.0674123764038086, -0.09558064490556717, -0.6866356730461121, -0.28844836354255676, -0.3720018267631531, 0.1246209517121315, -0.4466899335384369, -0.7781203985214233, -0.22587302327156067, -0.22907030582427979, 0.382302463054657, 1.1544790267944336, -0.2069397121667862, 0.593144953250885, -0.46907106041908264, -0.06618200242519379, 0.19994735717773438, 0.3231019079685211, 0.265996515750885, -0.5898827314376831, -0.3598642647266388, -0.24485205113887787, -0.2633688151836395, -0.975482165813446, 0.1362985223531723, 0.1604047268629074, 0.5167388916015625, 0.5012797117233276, -0.24336585402488708, 0.6827589273452759, -0.7627795338630676, 0.8553586602210999, 0.24220937490463257, -0.9431078433990479, 0.6580553650856018, -0.16092868149280548, 0.09510014206171036, 0.21343958377838135, 0.27526023983955383, -0.6402568221092224, -0.6048950552940369, -0.5251284241676331, -0.7922797799110413, 0.6393680572509766, 0.237714946269989, 0.012881224974989891, -0.009897109121084213, 0.4789597988128662, -0.0693344697356224, 0.31819483637809753, -0.6813860535621643, -0.3867845833301544, -0.09805995970964432, -0.24099157750606537, 0.21520423889160156, -0.15728631615638733, -0.09832566231489182, -0.07432837039232254, 0.31094464659690857, -0.13462775945663452, 0.5038648843765259, -0.11023328453302383, 0.03604718670248985, -0.2679087221622467, -0.027179153636097908, 0.6230835914611816, 1.0718516111373901, 0.21047188341617584, 0.3326163589954376, -0.173984095454216, -0.345246821641922, 0.07702165096998215, -0.3611372113227844, -0.05924149975180626, 0.09085206687450409, 0.7403293251991272, 1.0551115274429321, -0.00597509928047657, -0.5574057102203369, 0.4761973023414612, 0.06411156803369522, 0.1474676877260208, -0.15538254380226135, 0.13657553493976593, 0.19566766917705536, 0.4569319486618042, 0.1739214062690735, 0.06047411262989044, 0.417298823595047, -0.6480190753936768, 0.13564996421337128, 0.06802550703287125, -0.6233841180801392, -0.5331993699073792, 0.5879610180854797, -0.019666871055960655, -0.6056956648826599, 0.5276941061019897, -0.09536087512969971, -0.5272042155265808, 0.7187498211860657, 0.5562781095504761, 0.8775903582572937, -0.2436995953321457, 0.12539365887641907, 0.4091612696647644, 0.40349081158638, 0.020059162750840187, 0.0678439736366272, -0.05733024328947067, -0.4624108672142029, -0.5063457489013672, -0.5616294741630554, -0.4001525938510895, 0.05487050116062164, -0.6686164736747742, 0.11136685311794281, -0.38403648138046265, -0.21333225071430206, 0.10310518741607666, -0.48984503746032715, -0.7284218072891235, 0.13631252944469452, 0.23400552570819855, 1.303486704826355, -0.9454835057258606, 1.0220887660980225, 0.9550484418869019, -0.25210896134376526, -0.852480947971344, 0.026652783155441284, 0.07948669046163559, -0.9418640732765198, 1.03605055809021, -0.013867185451090336, -0.23416361212730408, 0.1836925745010376, -0.28758326172828674, -1.3409926891326904, 1.0933866500854492, 0.3038652837276459, -0.32236167788505554, -0.34713509678840637, 0.09915152192115784, 0.3560199439525604, -0.6177652478218079, 0.3808329999446869, 0.4224473834037781, 0.406838059425354, 0.31832680106163025, -1.0959066152572632, 0.0526457279920578, -0.2261519879102707, -0.05052685737609863, 0.10494507849216461, -0.48640570044517517, 1.1033763885498047, -0.20051421225070953, -0.19019490480422974, -0.21451663970947266, 0.48791393637657166, -0.07476376742124557, 0.044704217463731766, 0.7849186062812805, 0.30351918935775757, 0.9606879949569702, 0.08909297734498978, 1.162373423576355, -0.36116981506347656, 0.10111967474222183, 0.9947262406349182, 0.09838025271892548, 0.8677740693092346, 0.6766639947891235, -0.10669323801994324, 0.7413037419319153, 0.7211838960647583, 0.6191269755363464, 0.8195704221725464, 0.4335332214832306, 0.1651887595653534, -0.09956511110067368, -0.20891627669334412, -0.06461974233388901, 0.47368067502975464, 0.4949778914451599, -0.3061332702636719, -0.37165307998657227, 0.025592047721147537, 0.142469123005867, -0.362481027841568, -0.5327187180519104, 0.7486799359321594, 0.16661545634269714, -0.7202072143554688, 0.31545957922935486, 0.2205844521522522, 0.14880366623401642, -0.6149322986602783, -0.14021554589271545, -0.19567091763019562, -0.020734203979372978, -0.14529083669185638, -0.8751218914985657, 0.5667980313301086, 0.16412271559238434, -0.21553416550159454, -0.273017942905426, 0.7023336291313171, -0.19359329342842102, -0.31230026483535767, 0.4184037148952484, 0.2880162298679352, 0.4938870370388031, -0.11053258925676346, -0.7153851389884949, 0.2639004588127136, 0.0036583878099918365, -0.5223943591117859, 0.24431651830673218, 0.7655961513519287, -0.20070262253284454, 0.9797770977020264, 0.494818776845932, 0.45646101236343384, 0.3456524610519409, 0.2227124273777008, 0.9846624135971069, -0.5354322195053101, -0.5984620451927185, -0.9170454144477844, 0.5596188902854919, -0.23655205965042114, -0.16287653148174286, 0.40735360980033875, 0.25277385115623474, 0.5401835441589355, 0.29592493176460266, 0.7481881380081177, 0.09584859013557434, 0.49814116954803467, -0.6791087985038757, 0.4477328956127167, -0.6331910490989685, 0.36497756838798523, -0.002668461063876748, -0.6675251126289368, -0.1426009088754654, 0.598304033279419, -0.0847681313753128, -0.29108601808547974, 0.6879404187202454, 0.6635057926177979, -0.24920743703842163, -0.15127252042293549, 0.05380028486251831, 0.14958986639976501, 0.4089927673339844, 0.43681082129478455, 0.5754476189613342, -0.3131393492221832, 0.49849632382392883, -0.09550835937261581, -0.4174947440624237, -0.264879435300827, -1.1281825304031372, -0.8352186679840088, -0.6974869966506958, -0.4140948951244354, -0.2675116956233978, -0.20927564799785614, 0.6400841474533081, 0.931950569152832, -0.6975356340408325, -0.47569382190704346, -0.3613174259662628, 0.4607656002044678, -0.20299819111824036, -0.17427729070186615, 0.3061171770095825, -0.37855902314186096, -0.49351704120635986, 0.2703571021556854, 0.5473101735115051, -0.07427088171243668, -0.5721497535705566, 0.11295229941606522, -0.017700476571917534, 0.272245854139328, 0.5245763063430786, 0.32175496220588684, -0.6834650039672852, -0.15984264016151428, -0.08605904877185822, -0.10180730372667313, 0.10334592312574387, 1.1207438707351685, -0.5462652444839478, 0.4208495616912842, 0.5995612740516663, 0.6676350235939026, 0.40341100096702576, -0.09381242841482162, 0.7836570143699646, -0.5324767827987671, 0.15390177071094513, 0.0010353493271395564, 0.33454596996307373, 0.4159066081047058, -0.29470503330230713, 0.5692235231399536, 0.15538489818572998, -0.3227117359638214, -0.912094235420227, 0.5655848383903503, -0.6964722275733948, -0.11522205919027328, 1.3686771392822266, -0.3972737491130829, -0.4965091645717621, -0.1416342705488205, 0.07651662081480026, 0.17131803929805756, -0.04394175484776497, 0.5066397786140442, 0.8243119716644287, -0.2456919401884079, -0.1977916955947876, -0.8346641063690186, 0.5325779914855957, -0.15351808071136475, -0.7174965739250183, 0.1951286941766739, 0.0223004799336195, 0.31633350253105164, 0.38080111145973206, 1.0000871419906616, -0.04847446829080582, -0.15952982008457184, -0.0910797268152237, -0.22710704803466797, -0.027721421793103218, -0.5811013579368591, -0.1225569024682045, -0.022745124995708466, 0.23542137444019318, -0.1605294644832611 ]
http://arxiv.org/abs/2402.17097v2
http://arxiv.org/pdf/2402.17097v2
Re-Ex: Revising after Explanation Reduces the Factual Errors in LLM Responses
2024-02-27T00:22:18
2024-04-12T11:37:44
Juyeon Kim, Jeongeun Lee, Yoonho Chang, Chanyeol Choi, Junseong Kim, Jy-yong Sohn
cs.CL
cs.CL, cs.AI
Mitigating hallucination issues is a key challenge that must be overcome to reliably deploy large language models (LLMs) in real-world scenarios. Recently, various methods have been proposed to detect and revise factual errors in LLM-generated texts, in order to reduce hallucination. In this paper, we propose Re-Ex, a method for post-editing LLM-generated responses. Re-Ex introduces a novel reasoning step dubbed as the factual error explanation step. Re-Ex revises the initial response of LLMs using 3-steps : first, external tools are used to retrieve the evidences of the factual errors in the initial LLM response; next, LLM is instructed to explain the problematic parts of the response based on the gathered evidence; finally, LLM revises the initial response using the explanations provided in the previous step. In addition to the explanation step, Re-Ex also incorporates new prompting techniques to reduce the token count and inference time required for the response revision process. Compared with existing methods including FacTool, CoVE, and RARR, Re-Ex provides better detection and revision performance with less inference time and fewer tokens in multiple benchmarks.
[ -0.27890804409980774, -1.007067322731018, 0.700363039970398, -0.07822727411985397, -0.39733192324638367, 0.03398332744836807, -0.19395413994789124, -0.29331615567207336, 0.30961060523986816, 0.7212222814559937, -0.9199962615966797, -0.4019574224948883, -0.3394297957420349, 0.41227906942367554, -0.4184776246547699, 0.9876096248626709, -0.3431030809879303, -0.1934785097837448, -0.24485987424850464, 0.05319162458181381, -0.5626752376556396, -0.37938299775123596, -0.888444721698761, -0.15663295984268188, 0.6880951523780823, 0.5001706480979919, 0.5074763298034668, 0.41392308473587036, 0.3258970081806183, 0.3322322964668274, -0.07807037979364395, 0.34219062328338623, -0.5643141865730286, 0.2721029818058014, -0.2512218654155731, -0.6774151921272278, -0.593535304069519, -0.14146563410758972, 0.6553699374198914, 0.6424707174301147, -0.10107804089784622, 0.11570260673761368, -0.12939900159835815, 0.6722480058670044, -0.518071711063385, -0.11392723768949509, -0.7096762657165527, 0.06836290657520294, 0.3594709634780884, -0.6204820275306702, -0.799380362033844, -0.5260025858879089, -0.12894469499588013, -0.6431685090065002, 0.7223178744316101, 0.05243391916155815, 0.6855942606925964, 0.4987673759460449, -0.07774880528450012, -0.12717357277870178, -0.8657238483428955, 0.5662856101989746, -0.8728640675544739, 0.6014696359634399, -0.07318398356437683, 0.12220797687768936, -0.4577540457248688, -0.8674103021621704, -0.9383745789527893, -0.10870625078678131, -0.202771857380867, -0.060262568295001984, 0.05124613270163536, -0.1618730127811432, 0.40319931507110596, 0.318184494972229, -0.4823266863822937, -0.15534701943397522, -0.2369450181722641, -0.49789586663246155, 0.5195288062095642, 0.18105773627758026, 0.07736773788928986, 0.043417032808065414, -0.23487520217895508, -0.09617146849632263, -0.9834515452384949, -0.14268720149993896, 0.11457086354494095, 0.09231729805469513, 0.35144171118736267, 0.6206462979316711, -0.18324118852615356, 0.36604997515678406, 0.18762844800949097, -0.14165788888931274, 0.3398975133895874, -0.5610891580581665, -0.4774271845817566, 0.17275357246398926, 0.30643248558044434, 0.4084814488887787, -0.049611326307058334, -0.03199426457285881, -0.45014771819114685, 0.030051127076148987, 0.32147058844566345, -0.666516900062561, -0.008915050886571407, 0.4136222302913666, -0.5330671072006226, -0.22158032655715942, -0.2717512249946594, -0.8714601397514343, -0.5104169845581055, -0.5676683187484741, 0.33294668793678284, -0.27588608860969543, -0.27398568391799927, 0.4286527931690216, 0.08801047503948212, 0.21798722445964813, 0.9620476961135864, -0.5098770260810852, 0.19752028584480286, 0.8296281099319458, 0.549353837966919, 0.13669832050800323, -0.2947837710380554, -0.7370026707649231, 0.027646508067846298, -0.42575952410697937, 1.0966334342956543, -0.39281031489372253, -0.384554922580719, 0.03727149963378906, 0.22490964829921722, 0.07676480710506439, -0.5087021589279175, 0.8404589891433716, -0.6930192708969116, 0.42528730630874634, -0.5005014538764954, -0.40963253378868103, -0.46958768367767334, 0.3956283628940582, -0.5521389842033386, 0.9061954617500305, -0.0838627964258194, -0.8292540311813354, 0.510952889919281, -0.33986327052116394, -0.43881532549858093, -0.4218147099018097, 0.059689633548259735, -0.43179967999458313, 0.44718289375305176, 0.4130878448486328, 0.11431318521499634, -0.08366771042346954, 0.08909095078706741, -0.004785690922290087, -0.6347694993019104, 0.26173415780067444, -0.4145349860191345, 0.6175904870033264, 0.021382786333560944, -0.40903767943382263, 0.43062400817871094, -0.7853095531463623, -0.09777335822582245, 0.10658624768257141, -0.426852822303772, -0.01104717142879963, 0.07310360670089722, -0.4342290163040161, 0.14607693254947662, 0.18315377831459045, -0.6526364088058472, 0.15278147161006927, -0.48012563586235046, 0.035784054547548294, 0.8361288905143738, 0.14315421879291534, 0.0634232684969902, -0.34807026386260986, 0.46558648347854614, -0.11765331029891968, 0.1307835578918457, -0.4764508008956909, -0.43822142481803894, -0.9247884750366211, -0.04439738020300865, 0.04226454347372055, 0.566594123840332, -0.881681501865387, 0.253376841545105, -0.42803385853767395, -0.2354406863451004, -0.7226817607879639, -0.01292636152356863, 0.4215605556964874, 0.6356788277626038, 0.5032670497894287, 0.13627409934997559, -0.9204261302947998, -0.6979522705078125, -0.534684956073761, -0.5109385848045349, 0.0860089510679245, 0.02664187364280224, 0.5589244961738586, -0.4215734302997589, 0.8371706604957581, -0.4629305899143219, 0.14466388523578644, -0.27898961305618286, 0.38049760460853577, -0.05748908221721649, 0.23036973178386688, 0.06932761520147324, -0.6344435811042786, -0.12411488592624664, -0.10684280842542648, -0.6893146634101868, -0.5010905861854553, -0.6350449919700623, 0.05818327143788338, 0.6923462152481079, 0.7480077147483826, -0.6780155897140503, 0.671288251876831, 0.12007784843444824, -0.23840047419071198, 0.9459837675094604, -0.3257850706577301, 0.5475894212722778, -0.716237485408783, -0.1284496784210205, -0.42002180218696594, -0.25105082988739014, -0.41114792227745056, 0.18706901371479034, -0.15999990701675415, 0.050517261028289795, -0.2977074384689331, 0.28317877650260925, -0.5461392998695374, -0.04038101062178612, -0.441879004240036, 0.43393391370773315, 0.14300169050693512, 0.4417453706264496, 0.039628006517887115, 0.554865837097168, 0.13876791298389435, -0.44323647022247314, 0.45201826095581055, 0.3402929902076721, -0.03425302356481552, 0.3207066059112549, -0.5818471312522888, 0.32130998373031616, -0.46650221943855286, 0.455291748046875, -1.4956623315811157, -0.09378105401992798, 0.6113495826721191, -0.6425782442092896, 0.2573162019252777, -0.041373588144779205, -0.4788821041584015, -0.301249235868454, -0.5783885717391968, 0.21893683075904846, 0.22939081490039825, -0.7438184022903442, 0.795732855796814, -0.20590975880622864, -0.17474620044231415, -0.5967453122138977, -0.6120349168777466, 0.34785059094429016, -0.07781804352998734, -0.7167630791664124, 0.37400534749031067, -0.09612300992012024, -0.39299070835113525, 0.0840236023068428, -0.26801198720932007, 0.25566333532333374, 0.05287209525704384, -0.09420710802078247, 0.20038382709026337, -0.2841813266277313, 0.028383074328303337, 0.1554412543773651, -0.3461587429046631, 0.4650264084339142, 0.2674376666545868, 0.4484688341617584, 0.21816270053386688, -0.38919585943222046, -0.7321186661720276, 0.3567386865615845, 0.7649374008178711, -0.04491632431745529, 0.8186057806015015, 0.4395402669906616, -0.4684354364871979, -0.064215749502182, -0.8292719721794128, -0.5226553082466125, -0.42672237753868103, 0.342633992433548, -0.47558721899986267, -0.5931553840637207, 0.3857317268848419, -0.11095747351646423, 0.4586351215839386, 0.16780443489551544, 0.48843538761138916, 0.056061696261167526, 0.7821899652481079, 0.35821548104286194, 0.3715786039829254, 0.22368404269218445, 0.2488471120595932, 0.71433424949646, -0.9010811448097229, -0.368369460105896, -0.4122880697250366, -0.17180803418159485, -0.2788209617137909, -0.5370277166366577, -0.03965134918689728, -0.1919693946838379, 0.11466702073812485, 0.18156838417053223, -0.24685856699943542, 0.2756967544555664, 0.1488887518644333, 0.1804398149251938, 0.4177187979221344, 0.11633507162332535, 0.20486655831336975, -0.1539437621831894, -0.3835025131702423, -0.5717725157737732, 0.8335072994232178, 0.3165414035320282, 0.8361548185348511, 0.25500643253326416, 0.7992926836013794, 0.12212403118610382, 0.6665078401565552, -0.7604974508285522, 0.8429862856864929, 0.36245012283325195, -0.36652904748916626, -0.28210529685020447, -0.45421236753463745, -0.6458799242973328, 0.49828118085861206, -0.43137070536613464, -0.4985853135585785, 0.10359063744544983, 0.19181036949157715, -0.5063791871070862, 0.4239071309566498, -0.7394205331802368, 0.5425175428390503, 0.02410997450351715, -0.45175907015800476, -0.41597288846969604, -0.4823977053165436, 0.5966346859931946, -0.27018019556999207, 0.2875019907951355, 0.41034790873527527, -0.1079370528459549, 0.7158033847808838, -0.5348213911056519, 0.8619266748428345, -0.32471659779548645, -0.3697340488433838, 0.31917163729667664, 0.4089391827583313, 0.8973151445388794, 0.08219881355762482, -0.017323819920420647, -0.3651800751686096, -0.1702735424041748, 0.12434850633144379, -1.0197436809539795, 0.6223266124725342, -0.26115912199020386, -1.181943655014038, -0.2378767877817154, -0.37444955110549927, 0.014798067510128021, -0.12996426224708557, 0.17080499231815338, 0.42287907004356384, -0.04490125924348831, 0.17631244659423828, 0.7835680246353149, -0.6554877161979675, 0.19601193070411682, 0.6795757412910461, -0.621909499168396, -0.3243210017681122, 0.4908760190010071, 0.06579216569662094, 0.19899161159992218, 0.33494219183921814, 0.08158405125141144, -0.49237293004989624, -0.7380638718605042, -0.1383754312992096, 0.4775030314922333, -0.861392080783844, -0.04115458205342293, -0.9406151175498962, 0.12434663623571396, -0.7125914692878723, -0.19454042613506317, -0.29702726006507874, -0.3502032458782196, -0.11921843886375427, -0.3612244129180908, 0.28969213366508484, 0.5493510365486145, -0.3259817361831665, 0.2785656452178955, -0.6683562397956848, 0.6482699513435364, -0.013069555163383484, 0.12066133320331573, 0.10059230029582977, -1.0598633289337158, -0.13241705298423767, 0.1717802882194519, 0.05217580497264862, -0.9637542366981506, 0.3061363101005554, -0.07920701801776886, 0.4710853695869446, 0.23877327144145966, -0.05644518509507179, 0.905023455619812, -0.6104803085327148, 0.7813653349876404, -0.07604356110095978, -0.9550760984420776, 0.6162532567977905, 0.11977451294660568, -0.15849615633487701, 0.33236008882522583, 0.13490068912506104, -0.7351502776145935, -0.26828059554100037, -0.5287016034126282, -0.8596345782279968, 0.4944678544998169, 0.09022650122642517, 0.05326570197939873, -0.13753563165664673, 0.8010811805725098, 0.24562197923660278, 0.08585377037525177, -0.6288281083106995, -0.23150265216827393, -0.047292400151491165, 0.25640004873275757, 0.10227158665657043, -0.7767796516418457, -0.12524716556072235, -0.33954504132270813, 0.9726219177246094, 0.0626385435461998, 0.3560735583305359, 0.6799229979515076, -0.36891359090805054, -0.23247942328453064, 0.31956300139427185, 0.9093607068061829, 0.6841158270835876, -0.26655521988868713, 0.3442266285419464, 0.3478285074234009, -0.3035896420478821, 0.1788526028394699, -0.2764909267425537, -0.014742132276296616, 0.29328224062919617, 0.5809728503227234, 0.4786628782749176, 0.2362280935049057, -0.6090341806411743, 0.25485411286354065, -0.1711960881948471, -0.0846976712346077, -0.21782562136650085, -0.09990227967500687, -0.01504892110824585, 0.055151328444480896, 0.22825950384140015, 0.07822782546281815, 0.036496181041002274, -0.6657772064208984, 0.4638993442058563, 0.05948635935783386, 0.03435991331934929, -0.4212070405483246, 0.6299390196800232, 0.030255572870373726, -0.4219506084918976, 0.5547828674316406, -0.27195820212364197, -0.608562707901001, 0.3822564482688904, 0.7511148452758789, 0.9467211961746216, -0.4050730764865875, 0.34311607480049133, 0.5971556305885315, 0.5343614816665649, 0.09727205336093903, 0.39316824078559875, 0.26746484637260437, -0.9472822546958923, -0.8154968023300171, -0.1032339408993721, -0.3215489983558655, 0.1252436637878418, -0.6190519332885742, 0.14812472462654114, -0.6964868307113647, 0.1324363648891449, -0.2554853856563568, -0.32975804805755615, -0.2612922787666321, 0.36774393916130066, 0.03671833127737045, 0.9591646790504456, -0.8017789125442505, 0.370730996131897, 0.5072215795516968, -0.3490096926689148, -0.5282290577888489, 0.17899787425994873, 0.27597299218177795, -0.7750035524368286, 0.6356098651885986, 0.10646012425422668, -0.4492744505405426, -0.22496739029884338, -0.5295817852020264, -0.6385639905929565, 0.8093385696411133, 0.30988672375679016, -0.5920799374580383, 0.3188169002532959, -0.0252725537866354, 0.6047173142433167, -0.13926038146018982, 0.1889122724533081, 0.8077170848846436, 0.5408205389976501, 0.19543373584747314, -0.4500635266304016, 0.5374624133110046, -0.07046691328287125, -0.2747999131679535, 0.025950482115149498, -0.19922669231891632, 0.7594070434570312, -0.6211317777633667, -0.3546290099620819, 0.11937054246664047, 0.906410276889801, 0.398225337266922, 0.2627025842666626, 0.7327470183372498, 0.691716194152832, 1.033890724182129, -0.11612534523010254, 0.9498136639595032, -0.03316676244139671, 0.24247576296329498, 1.3784288167953491, -0.5021985769271851, 0.7709414958953857, 0.7868912220001221, -0.06574095040559769, 0.7665987014770508, 0.7674427032470703, 0.23021496832370758, 0.3322336673736572, 0.2754811644554138, -0.47780776023864746, -0.2728254795074463, -0.005718943662941456, -0.44834133982658386, 0.13951346278190613, 0.2681244909763336, -0.13663144409656525, -0.2784576714038849, -0.03700153902173042, 0.3548634946346283, 0.03195394575595856, -0.22231845557689667, 0.5205796360969543, -0.20822294056415558, -0.7250020503997803, 0.6947712302207947, -0.012431065551936626, 0.40654346346855164, -0.15783372521400452, -0.31455013155937195, -0.6173690557479858, 0.2054820954799652, -0.41566333174705505, -0.7762654423713684, 0.6723766326904297, 0.15397556126117706, -0.2869092524051666, -0.25901907682418823, 0.5919564962387085, -0.34752213954925537, -0.32659608125686646, 0.26960480213165283, 0.30703604221343994, 0.3554420471191406, -0.3181559145450592, -0.6247036457061768, 0.3295234143733978, 0.3901165723800659, -0.41960978507995605, -0.2595131993293762, 0.8361251354217529, 0.03158141300082207, 0.7755134701728821, 0.7857055068016052, -0.10886308550834656, 0.05190685763955116, 0.18114377558231354, 0.9046998620033264, -0.7513067126274109, -0.16719794273376465, -0.8610190749168396, 0.6453501582145691, -0.005697472486644983, 0.06297136098146439, 0.5589336156845093, 0.4907929301261902, 0.6561543345451355, -0.18364942073822021, 0.7217226028442383, 0.13223198056221008, 0.659648597240448, -0.7538521885871887, 0.3241880238056183, -0.5904861092567444, 0.6317126750946045, -0.20973514020442963, -0.8541643023490906, -0.4791334569454193, 0.5810997486114502, -0.3295637369155884, -0.06179878115653992, 1.1520111560821533, 1.2133986949920654, 0.321696013212204, 0.1177457794547081, 0.23575402796268463, 0.6694682836532593, 0.5065976977348328, 0.306322306394577, 0.884032666683197, -0.6074230074882507, 0.5233070254325867, -0.039068061858415604, -0.17690473794937134, -0.25325828790664673, -0.8756353855133057, -0.6768373250961304, -0.2725171446800232, -0.6987033486366272, -0.5867049694061279, 0.0007598274969495833, 0.915952205657959, -0.01402051467448473, -0.805851399898529, 0.271812379360199, -0.008225205354392529, 0.43537330627441406, -0.2801721394062042, -0.2434925138950348, 0.39002132415771484, -0.37949636578559875, -0.4974696636199951, 0.5227294564247131, 0.26192477345466614, -0.14158415794372559, -0.11476437747478485, 0.04006916284561157, -0.23895272612571716, 0.19898776710033417, 0.7149296402931213, 0.14376209676265717, -0.9396612048149109, -0.8211067914962769, 0.04829811304807663, 0.2150311917066574, 0.17839573323726654, 1.007481575012207, -0.9447470307350159, 0.48284220695495605, 0.6698810458183289, 0.6779460906982422, 0.18797165155410767, -0.0857585072517395, 0.5380747318267822, -0.513205885887146, -0.03465498611330986, -0.10370754450559616, 0.6337714791297913, 0.5054295659065247, -0.5296163558959961, 0.5638266205787659, 0.6284814476966858, -0.34041628241539, -1.0826092958450317, 0.15078727900981903, -0.8404857516288757, -0.3097226321697235, 1.0702320337295532, -0.21638484299182892, -0.31333446502685547, -0.298637330532074, -0.6926114559173584, 0.44674941897392273, -0.04549999162554741, 1.050481915473938, 0.7033658623695374, -0.022507131099700928, -0.5399144291877747, -0.26427891850471497, 0.3937925696372986, 0.5039453506469727, -0.927608847618103, 0.5785322189331055, 0.5489209890365601, 0.31347745656967163, 0.10015662014484406, 0.520748496055603, -0.27195295691490173, 0.38830217719078064, 0.11869096755981445, 0.18024614453315735, -0.04048505425453186, -0.4581368565559387, -0.23873411118984222, -0.23404258489608765, -0.20162975788116455, -0.21244993805885315 ]
http://arxiv.org/abs/2403.00823v1
http://arxiv.org/pdf/2403.00823v1
Adapting to Teammates in a Cooperative Language Game
2024-02-26T23:15:07
2024-02-26T23:15:07
Christopher Archibald, Spencer Brosnahan
cs.AI
cs.AI, cs.CL
The game of Codenames has recently emerged as a domain of interest for intelligent agent design. The game is unique due to the way that language and coordination between teammates play important roles. Previous approaches to designing agents for this game have utilized a single internal language model to determine action choices. This often leads to good performance with some teammates and inferior performance with other teammates, as the agent cannot adapt to any specific teammate. In this paper we present the first adaptive agent for playing Codenames. We adopt an ensemble approach with the goal of determining, during the course of interacting with a specific teammate, which of our internal expert agents, each potentially with its own language model, is the best match. One difficulty faced in this approach is the lack of a single numerical metric that accurately captures the performance of a Codenames team. Prior Codenames research has utilized a handful of different metrics to evaluate agent teams. We propose a novel single metric to evaluate the performance of a Codenames team, whether playing a single team (solitaire) game, or a competitive game against another team. We then present and analyze an ensemble agent which selects an internal expert on each turn in order to maximize this proposed metric. Experimental analysis shows that this ensemble approach adapts to individual teammates and often performs nearly as well as the best internal expert with a teammate. Crucially, this success does not depend on any previous knowledge about the teammates, the ensemble agents, or their compatibility. This research represents an important step to making language-based agents for cooperative language settings like Codenames more adaptable to individual teammates.
[ -0.3495412766933441, -0.2316799908876419, 0.2316192239522934, 0.5723329782485962, 0.0333397313952446, 0.9318283200263977, -0.4928096532821655, -0.48712456226348877, 0.45091500878334045, 0.27149248123168945, -0.2660713791847229, -0.40629857778549194, -0.44235777854919434, 0.25980037450790405, 0.09618061780929565, 1.1499613523483276, -0.034973833709955215, -0.13723908364772797, -0.164505735039711, -0.6221727728843689, -0.7531265616416931, -0.24608324468135834, -1.0152329206466675, -0.2225651741027832, 0.2404814511537552, 0.6528692841529846, 0.7169356346130371, 0.33502358198165894, 0.585821270942688, 0.555717945098877, 0.3997277021408081, 0.05465016886591911, -0.5191653370857239, 0.3621726632118225, -0.2908179461956024, -0.6769760251045227, -0.5196234583854675, -0.2762635350227356, 0.6732625365257263, 0.17950376868247986, 0.015113425441086292, 0.23017391562461853, -0.07273609936237335, 0.6645023226737976, -0.3141638934612274, 0.3775142431259155, -0.7328166365623474, 0.11409314721822739, 0.09401855617761612, -0.419893741607666, -0.3876284956932068, -0.3681811988353729, 0.1166752353310585, -0.9880384206771851, 0.02814438007771969, -0.039548493921756744, 0.268527626991272, 0.3247920274734497, 0.1949503868818283, -0.4225463271141052, -0.5025222301483154, 0.5251789093017578, -0.4906356930732727, -0.13648974895477295, 0.025680769234895706, 0.6115388870239258, -0.2135995328426361, -0.2945164740085602, -0.0750747099518776, -0.1654704213142395, 0.0012326326686888933, 0.38340243697166443, -0.3557572364807129, -0.04903491586446762, -0.2101047933101654, -0.029629966244101524, -0.7018561959266663, 0.20712123811244965, -0.21317058801651, -0.34317612648010254, 1.0770756006240845, 0.28521984815597534, 0.45719462633132935, 0.7047907114028931, -0.7042964696884155, 0.06269451230764389, 0.21606433391571045, 0.35282766819000244, 0.38051867485046387, 0.40329015254974365, -0.25616398453712463, -0.19281038641929626, -0.06373963505029678, 0.4672427475452423, 0.39189597964286804, -0.16974766552448273, 0.1373577117919922, 0.015332572162151337, -0.0767769068479538, 0.4802475571632385, 0.7297812104225159, 0.391526460647583, 0.4529229998588562, -0.794337809085846, -0.292198121547699, 0.34045538306236267, 0.20240165293216705, -0.490019291639328, -0.6873568296432495, 0.10744361579418182, -0.2826767861843109, -0.58456951379776, -0.04864562675356865, -0.6996521353721619, -0.3947034180164337, 0.13811182975769043, 0.6291599273681641, -0.2993088662624359, -0.35125887393951416, -0.11463400721549988, -0.48558950424194336, 0.16979902982711792, 0.29097098112106323, -0.8184130787849426, 0.7555057406425476, 0.46323931217193604, 0.7030990719795227, -0.43739986419677734, -0.7414907217025757, -0.5924442410469055, -0.10844868421554565, -0.6928685307502747, 1.1821616888046265, -0.49451538920402527, -0.46549537777900696, -0.35606613755226135, -0.1175471842288971, -0.2475171834230423, -0.4299941956996918, -0.0038753272965550423, -0.5861173272132874, -0.0802539736032486, -0.018089009448885918, -0.5754454135894775, 0.11027969419956207, 0.1265944242477417, -0.4155938923358917, 0.5911322832107544, 0.2846647799015045, -0.4774307310581207, 0.40342044830322266, -0.8582497239112854, -0.32035523653030396, 0.7034852504730225, -0.16590917110443115, -0.06546913832426071, 0.03840912505984306, -0.0485762283205986, 0.0992971882224083, -0.02187257446348667, -0.20828823745250702, -0.263318806886673, -0.5609292387962341, 0.42350491881370544, 0.15564016997814178, 0.5219400525093079, 0.10812535136938095, 0.02280702441930771, 0.37112683057785034, -0.41582995653152466, 0.5964308381080627, -0.04091920331120491, -0.19376800954341888, -0.35738375782966614, 0.2682275176048279, -0.16559246182441711, -0.04727962240576744, 0.016924863681197166, -0.15400362014770508, 0.2959950566291809, -0.21807552874088287, 0.13656197488307953, 1.1268155574798584, -0.06374159455299377, 0.9974127411842346, -0.7983731031417847, 0.8615687489509583, -0.3450554311275482, 0.07756694406270981, 0.024358151480555534, -0.40860670804977417, -0.35839220881462097, -0.5144425630569458, 0.39554691314697266, 0.5179955363273621, -1.0516575574874878, 0.3568204939365387, -0.27650147676467896, -0.821739673614502, -0.4226103723049164, 0.009339644573628902, 0.46688112616539, -0.15270812809467316, 0.025080062448978424, -0.8089614510536194, -0.45533767342567444, -0.6288856863975525, -0.6425511240959167, -0.6502715945243835, 0.13803812861442566, 0.40444454550743103, 0.2841689884662628, 0.06451133638620377, 0.9121766686439514, -0.29286208748817444, -0.3444427251815796, -0.17726559937000275, -0.07622436434030533, 0.046759381890296936, 0.412066251039505, 1.0276224613189697, -0.5338644981384277, -0.9600655436515808, 0.18966186046600342, -0.6494997143745422, -0.14242863655090332, -0.16290996968746185, -0.32541269063949585, 0.14583107829093933, 0.07844411581754684, -0.0067330109886825085, 0.11138191819190979, 1.0530951023101807, -0.801361083984375, 0.5500593781471252, -0.34660014510154724, 0.2526854872703552, -0.9836912751197815, -0.03232813999056816, -0.14084868133068085, -0.2562025487422943, -0.6222596764564514, 0.45699843764305115, -0.3411385416984558, 0.3304762542247772, -0.04172509163618088, 0.7299190759658813, -0.5818155407905579, -0.26131168007850647, -0.3093508183956146, 0.3629271388053894, -0.40207284688949585, 0.4782775938510895, 0.00035776899312622845, 0.8675662875175476, 0.9451106190681458, -0.7223435640335083, 0.5354502201080322, 0.17617034912109375, -0.3767980933189392, 0.8440419435501099, -0.5476685166358948, 0.4650612473487854, 0.12220476567745209, 0.24000655114650726, -0.9522067904472351, -0.08021719753742218, 0.1647467315196991, -0.8752768635749817, 0.0006009325734339654, -0.1215994581580162, -0.2571093440055847, -0.1262623816728592, -0.048207905143499374, 0.7133798003196716, 0.4743143916130066, -0.4490477740764618, 0.5984357595443726, 0.5969115495681763, -0.08528389781713486, -0.1690717488527298, -0.40266114473342896, 0.3654636740684509, -0.3377026617527008, -0.669566810131073, 0.4949239194393158, -0.7698658108711243, -0.5946967601776123, -0.07579012960195541, -0.1433642953634262, -0.6331751346588135, 0.3569990396499634, 0.07779873162508011, 0.03775115683674812, -0.4735916256904602, 0.41322171688079834, -0.3587457537651062, -0.318147212266922, -0.1344662606716156, -0.15728510916233063, 0.27132681012153625, -0.3643057346343994, 0.517583429813385, -0.1698431521654129, 0.3315773904323578, 0.6120065450668335, -0.3767443299293518, 0.7022495865821838, 0.26716163754463196, -0.07257319986820221, -0.7092026472091675, -0.2599320113658905, 0.060122691094875336, -0.4701351523399353, 0.4794546067714691, -0.5342763066291809, -0.5698447227478027, 0.9430894255638123, 0.052662286907434464, -0.099707692861557, 0.14429792761802673, 0.4972744286060333, 0.12182464450597763, 0.7592076063156128, 0.7758862376213074, -0.4334873855113983, 0.25936293601989746, 0.2463025003671646, -0.10362318158149719, -0.5026914477348328, 0.03593367338180542, -0.6765793561935425, -0.5252132415771484, -0.6993308067321777, -0.4186764359474182, 0.34404534101486206, -0.17606493830680847, -0.24113944172859192, 0.6080693602561951, -0.6803939938545227, 0.784546434879303, 0.12628021836280823, 0.22121714055538177, 0.23000161349773407, -0.30693018436431885, 0.22945447266101837, 0.20408926904201508, -0.7185347080230713, -0.2891274094581604, 0.5877991318702698, 0.13311733305454254, 0.7061833739280701, 0.5697073936462402, 0.8836389780044556, 0.6072521209716797, 0.25807955861091614, -0.6194234490394592, 0.43136459589004517, 0.0367543026804924, -0.42400625348091125, -0.42185404896736145, -0.4511631429195404, -0.8177810907363892, 0.15807242691516876, -0.23915418982505798, -0.7726606726646423, -0.09423620253801346, -0.1102181077003479, -0.6650717854499817, 0.12313637882471085, -0.7295247912406921, 0.7446827292442322, -0.2874900996685028, -0.3422335088253021, -0.09822472929954529, -0.47053471207618713, 0.11831565946340561, -0.20928557217121124, 0.4492412805557251, -0.050766490399837494, -0.3083008825778961, 0.5820335745811462, -0.005314501468092203, 0.46920961141586304, -0.12862680852413177, 0.09844335168600082, 0.36380648612976074, 0.6182496547698975, 0.4105739891529083, 0.0915110781788826, -0.34623464941978455, -0.006239345297217369, 0.18961112201213837, -0.6865696907043457, -0.6144517660140991, 0.7663842439651489, -0.795825719833374, -0.28287872672080994, -0.3086813688278198, -0.6886749267578125, -0.17243468761444092, 0.14193056523799896, 0.08337891101837158, 0.23647360503673553, -0.5418984293937683, -0.051219090819358826, 0.25341832637786865, -0.2616034746170044, 0.7082647085189819, 0.9388914108276367, -0.17103925347328186, -0.25589805841445923, 0.8687123656272888, -0.13119783997535706, 0.37216007709503174, 0.2667378783226013, 0.3158082067966461, 0.1989404559135437, -0.456220418214798, -0.4884984493255615, -0.3971952795982361, -0.4675557613372803, -0.3596718907356262, -0.18521703779697418, 0.06242823228240013, -0.21754372119903564, -0.43767353892326355, -0.232806995511055, -0.0262988843023777, -0.025346161797642708, 0.2816396951675415, 0.3590555191040039, 0.7355732917785645, -0.04536278918385506, 0.20904584228992462, -0.8080019950866699, -0.00792677141726017, 0.30189085006713867, 0.739646315574646, -0.3136798143386841, -0.4997759759426117, -0.15424229204654694, -0.21219146251678467, 0.26164835691452026, -1.021996259689331, 0.15306980907917023, 0.34893766045570374, 0.9182852506637573, -0.0352187342941761, 0.31779277324676514, 0.542641818523407, -0.28246983885765076, 0.6571070551872253, 0.07649736851453781, -0.9184544682502747, 0.11612200736999512, -0.4491860270500183, 0.3825395107269287, 0.7323393225669861, -0.18972215056419373, -0.49298250675201416, -0.48516106605529785, -0.5104978084564209, -0.27036136388778687, 0.8960111737251282, 0.3740384578704834, 0.16034002602100372, 0.056922733783721924, 0.20120882987976074, 0.16862404346466064, -0.10017700493335724, -0.4440065324306488, -0.1416608691215515, 0.32148173451423645, -0.2940898537635803, -0.31398677825927734, 0.4794139564037323, -0.043892234563827515, -0.0779862031340599, 0.5661556720733643, -0.5436354279518127, 0.5769747495651245, 0.17983002960681915, -0.11977693438529968, -0.4854351282119751, -0.0778505727648735, 0.5691757798194885, 0.545633852481842, 0.2192033976316452, -0.1888224184513092, 0.5444642305374146, -0.09733619540929794, 0.04053432494401932, -0.151882603764534, 0.3508208394050598, 0.02990291267633438, 0.5937886834144592, 0.42284590005874634, 0.46164196729660034, -0.5641834139823914, 0.5694184899330139, -0.3253958523273468, -0.28657788038253784, -0.2568740248680115, 0.33535391092300415, -0.11329585313796997, 0.6387076377868652, 0.2697577178478241, 0.8071085214614868, -0.17217127978801727, -0.8378826975822449, 0.42821577191352844, 0.293556272983551, -0.6488369703292847, -0.34538164734840393, 0.24922768771648407, 0.4237132668495178, -1.0907630920410156, -0.039623331278562546, -0.4466455280780792, -0.8266513347625732, 1.2735350131988525, 0.4897904098033905, 1.0593900680541992, -0.6329479217529297, 0.438603013753891, 0.301990807056427, 0.24652408063411713, -0.01758684776723385, -0.13738763332366943, -0.03219584375619888, -0.8340978026390076, 0.03242344409227371, -0.33629530668258667, -0.11049168556928635, -0.8431704640388489, -0.39382246136665344, 0.10691235959529877, -0.4694675803184509, -0.022858956828713417, -0.03551514819264412, 0.00788888055831194, -0.8058912754058838, -0.04206604138016701, 0.06718816608190536, 0.9683470129966736, -0.7357466220855713, 0.7851372957229614, 0.7742029428482056, -0.2799827456474304, -0.7860637903213501, 0.06575286388397217, -0.15147541463375092, -0.9776855111122131, 0.17387598752975464, -0.26989442110061646, -0.08828079700469971, 0.2586384415626526, -0.5441234707832336, -0.6844341158866882, 1.1167426109313965, 0.0382847785949707, -0.4601280391216278, -0.015185683965682983, -0.3722769021987915, 0.9320658445358276, -0.6564880609512329, 0.5576452016830444, 0.4031297266483307, 0.5317668914794922, -0.11905095726251602, -1.0369657278060913, 0.014379225671291351, -0.2957407832145691, -0.2500264644622803, 0.24322396516799927, -1.2251152992248535, 0.6651628017425537, -0.38038304448127747, -0.20420630276203156, 0.6295421719551086, 0.42142513394355774, -0.05859413370490074, 0.41661012172698975, 0.7251672744750977, 0.09463883936405182, 0.7115916609764099, 0.10070892423391342, 0.7632973194122314, -0.45853713154792786, 0.46020984649658203, 1.1020963191986084, -0.26796597242355347, 0.5340956449508667, 0.10844147950410843, -0.2697593867778778, 0.610567569732666, 0.1861114203929901, -0.026213418692350388, 0.6202490925788879, 0.4971342384815216, -0.29309216141700745, -0.4412238895893097, 0.23804236948490143, -0.2009652853012085, 0.8400232791900635, 0.11975402384996414, -0.2820109724998474, -0.11870210617780685, -0.29008328914642334, -0.2572185695171356, 0.5421249866485596, -0.35983291268348694, 1.1803820133209229, -0.3570324182510376, -1.0020278692245483, 0.001170982839539647, -0.20738686621189117, 0.5859832763671875, -0.5779291391372681, -0.10103335231542587, -0.3302249312400818, 0.3904525637626648, -0.30823394656181335, -0.6367016434669495, -0.043655481189489365, -0.1781424582004547, -0.07204247266054153, 0.15654687583446503, 0.5920947194099426, -0.4382510483264923, -0.4769192337989807, 0.5816071033477783, 0.3786378800868988, 0.21213586628437042, 0.02664690650999546, -0.642913281917572, 0.12595349550247192, -0.1247914656996727, 0.41181913018226624, 0.4384337365627289, 0.3307895064353943, 0.19633008539676666, 0.5105872750282288, 0.191254660487175, -0.11148274689912796, -0.04041804000735283, -0.38747671246528625, 0.6588170528411865, -0.3081146478652954, -0.573774516582489, -0.5980923771858215, 0.4549623131752014, 0.012053107842803001, -0.44167134165763855, 0.6893453598022461, 0.4097580909729004, 0.5813382863998413, 0.011278563179075718, 0.8623429536819458, -0.05561908334493637, 0.06759501248598099, -0.10746616870164871, 0.853365957736969, -0.28097787499427795, 0.11259163916110992, -0.691066324710846, -0.9050693511962891, -0.2556498646736145, 0.5618089437484741, 0.2687656283378601, 0.05963851138949394, 0.5878307223320007, 0.7387067675590515, 0.3530600368976593, 0.15501441061496735, 0.5468883514404297, 0.2484525591135025, 0.23901817202568054, 1.0320899486541748, 0.6979215145111084, -0.514306902885437, 0.5372056365013123, 0.046650778502225876, -0.6762087941169739, -0.053335558623075485, -0.7116143703460693, -0.9750301241874695, -0.35766974091529846, -0.41986167430877686, -0.08662079274654388, 0.5781887173652649, 1.0202865600585938, 0.6061864495277405, -0.6531736254692078, -0.3411014676094055, 0.041714586317539215, 0.13113124668598175, -0.7025192379951477, -0.24499309062957764, -0.006225167773663998, -0.4374450445175171, -0.49621719121932983, 0.6323416233062744, 0.0781431645154953, -0.458388090133667, 0.02490547113120556, -0.6913344860076904, 0.16963915526866913, 0.23124970495700836, 0.2960814833641052, 0.4101400375366211, -0.3867473304271698, -0.6665564179420471, 0.06816761195659637, -0.15312400460243225, 0.014003532938659191, 0.7294567227363586, -0.8315783739089966, 0.8855211138725281, 0.2460174560546875, 0.5509966015815735, -0.181731715798378, -0.0018454226665198803, 0.7200039625167847, -0.5326617360115051, -0.02969493716955185, 0.36499524116516113, -0.0320335328578949, -0.1386137306690216, -0.33235153555870056, 0.4856846332550049, 0.11346793174743652, -0.9287519454956055, -0.4911085069179535, -0.049484580755233765, -0.9430006742477417, -0.24330589175224304, 0.9803768992424011, -0.2287699282169342, 0.030002467334270477, -0.1388186514377594, -0.3738144040107727, 0.06374046206474304, -0.648139476776123, 0.8833404779434204, 0.689020574092865, -0.022953450679779053, 0.1519039273262024, -0.11704450845718384, 0.3971690833568573, 0.15548941493034363, -0.6641921997070312, -0.1583746075630188, 0.1181795746088028, 0.3031047284603119, 0.07234599441289902, 0.871979296207428, 0.23121631145477295, 0.6760600209236145, 0.4127661883831024, 0.07548563182353973, 0.24914948642253876, -0.28596800565719604, -0.312409907579422, -0.01938135176897049, 0.2817380130290985, -0.3369337320327759 ]
http://arxiv.org/abs/2402.17019v4
http://arxiv.org/pdf/2402.17019v4
Leveraging Large Language Models for Learning Complex Legal Concepts through Storytelling
2024-02-26T20:56:06
2024-07-02T17:50:42
Hang Jiang, Xiajie Zhang, Robert Mahari, Daniel Kessler, Eric Ma, Tal August, Irene Li, Alex 'Sandy' Pentland, Yoon Kim, Deb Roy, Jad Kabbara
cs.CL
cs.CL, cs.HC
Making legal knowledge accessible to non-experts is crucial for enhancing general legal literacy and encouraging civic participation in democracy. However, legal documents are often challenging to understand for people without legal backgrounds. In this paper, we present a novel application of large language models (LLMs) in legal education to help non-experts learn intricate legal concepts through storytelling, an effective pedagogical tool in conveying complex and abstract concepts. We also introduce a new dataset LegalStories, which consists of 294 complex legal doctrines, each accompanied by a story and a set of multiple-choice questions generated by LLMs. To construct the dataset, we experiment with various LLMs to generate legal stories explaining these concepts. Furthermore, we use an expert-in-the-loop approach to iteratively design multiple-choice questions. Then, we evaluate the effectiveness of storytelling with LLMs through randomized controlled trials (RCTs) with legal novices on 10 samples from the dataset. We find that LLM-generated stories enhance comprehension of legal concepts and interest in law among non-native speakers compared to only definitions. Moreover, stories consistently help participants relate legal concepts to their lives. Finally, we find that learning with stories shows a higher retention rate for non-native speakers in the follow-up assessment. Our work has strong implications for using LLMs in promoting teaching and learning in the legal field and beyond.
[ -0.04462425783276558, -0.6993172764778137, 0.8077762126922607, -0.22374963760375977, -0.6285472512245178, 0.2720484733581543, -0.4562224745750427, -0.30756378173828125, 0.30074620246887207, 0.6734820604324341, 0.016623113304376602, -0.627697229385376, -0.41538479924201965, -0.283964604139328, -0.33893463015556335, 0.9273337125778198, -0.1105373278260231, 0.18684549629688263, 0.0019274496007710695, -0.16832293570041656, -0.6279187202453613, -0.2560868263244629, -0.36310288310050964, -0.25451144576072693, 0.4780304729938507, 0.44494229555130005, 0.5659220814704895, 0.6267553567886353, -0.03972731530666351, 0.1755160242319107, -0.040510330349206924, 0.06791625171899796, -0.6600003242492676, 0.1250292956829071, -0.3221759796142578, -0.9765104055404663, 0.13446393609046936, -0.1554490625858307, 0.4371776580810547, 0.6857720017433167, -0.5094886422157288, 0.015320396050810814, -0.43921834230422974, 0.5739952921867371, -0.4363066852092743, 0.27071982622146606, -0.573894739151001, 0.43324577808380127, -0.11342200636863708, -0.2197088897228241, -0.29863205552101135, -0.416696161031723, 0.22976727783679962, -0.6704274415969849, 0.10835394263267517, 0.24910803139209747, 0.44262057542800903, 0.012500181794166565, -0.6469553709030151, -0.750355064868927, -0.5786872506141663, 0.2664923667907715, -0.7721999287605286, 0.34845811128616333, 0.23091281950473785, 0.4012475907802582, -0.08006531000137329, -0.4266129434108734, -0.8316690921783447, -0.6081395745277405, 0.1312968134880066, 0.09973840415477753, -0.010888448916375637, -0.03709648922085762, 0.32393139600753784, 0.17625293135643005, -0.5981904864311218, 0.6428537964820862, -0.37389039993286133, -0.08781737089157104, 0.64305180311203, 0.39701834321022034, 0.30862078070640564, -0.22448083758354187, 0.028235310688614845, 0.1403423547744751, -0.9000484347343445, 0.35284847021102905, 0.5694368481636047, 0.39639389514923096, -0.39121854305267334, 0.7640572786331177, 0.24876658618450165, 0.5355693697929382, 0.025558287277817726, -0.7016426920890808, 0.2034437656402588, 0.14267602562904358, 0.014203225262463093, 0.3375212848186493, 0.69502192735672, 0.22451813519001007, 0.5453511476516724, -0.17196612060070038, -0.21251407265663147, -0.5544844269752502, -0.06557340174913406, -0.6857588291168213, 0.052097298204898834, 0.08999184519052505, -0.4601048529148102, -0.37519145011901855, 0.014072668738663197, -0.7874268293380737, -0.8556590676307678, -0.5206816792488098, 0.2693448066711426, -0.3368639051914215, -0.18006354570388794, 0.4362834692001343, -0.03284130617976189, 0.21299682557582855, 0.3700576722621918, -1.0306682586669922, 0.06532303243875504, 0.6580466032028198, 0.6612063050270081, 0.2770020067691803, 0.1041899248957634, -0.7562622427940369, 0.4221610724925995, -0.632900059223175, 0.4398120939731598, -0.6292893886566162, -0.33567580580711365, 0.35947054624557495, -0.22707295417785645, 0.2256198525428772, -0.4875621199607849, 0.4777466654777527, -0.45357054471969604, -0.1175866425037384, 0.04941178113222122, -0.6996690034866333, -0.27442917227745056, 0.37517550587654114, -0.5855147242546082, 0.2613476514816284, -0.22024531662464142, -0.41250211000442505, 0.4905613362789154, -0.5577218532562256, -0.7870176434516907, 0.3394933044910431, -0.6402615904808044, -0.32098323106765747, 0.42333948612213135, 0.26512137055397034, 0.4959941804409027, -0.31763502955436707, 0.7951464056968689, 0.14848646521568298, -0.1508890986442566, 0.20968656241893768, -0.3476260006427765, 0.6104854941368103, 0.16394302248954773, -0.29415401816368103, 0.0041793412528932095, -0.4507256746292114, -0.27739250659942627, 0.3508065938949585, -0.4655141234397888, -0.2688238024711609, -0.05049002170562744, -0.16394074261188507, 0.18842671811580658, -0.08309585601091385, -0.4721390902996063, 0.43304443359375, -0.42542216181755066, 0.452670693397522, 0.4731224477291107, 0.14361163973808289, 0.3085364103317261, -0.3889859914779663, 0.7492957711219788, -0.042648423463106155, -0.2363651692867279, -0.557989239692688, -0.33418500423431396, -0.5464808940887451, -0.04424965754151344, 0.24926231801509857, 0.4277225732803345, -0.7887154817581177, -0.0553869903087616, -0.25134602189064026, -0.49959689378738403, -0.4224627912044525, 0.325143426656723, 0.19464915990829468, 0.35769498348236084, 0.11609186977148056, 0.15074953436851501, -0.305038183927536, -0.7341660261154175, -0.45860376954078674, -0.4377652704715729, -0.03044051118195057, 0.46213436126708984, 0.7464300394058228, 0.18303759396076202, 0.7743990421295166, -0.3122713565826416, -0.27449941635131836, -0.6599695682525635, 0.3342529833316803, 0.22594614326953888, -0.0015177197055891156, 0.4733934998512268, -0.8111142516136169, -0.4667675495147705, 0.27254718542099, -0.7932900786399841, 0.10712744295597076, -0.6063361167907715, 0.46168750524520874, 0.06155897676944733, 0.2366061806678772, -0.7558926343917847, 0.19549492001533508, -0.1317991018295288, -0.42913785576820374, 0.8622512817382812, -0.5349038243293762, 0.05487266555428505, -1.0120488405227661, -0.22479397058486938, 0.05229322612285614, -0.2288707196712494, -0.36640653014183044, 0.25525516271591187, 0.031147776171565056, -0.24847987294197083, -0.7599526643753052, 0.5363997220993042, -0.5466647744178772, -0.14989197254180908, -0.06474706530570984, 0.2652839720249176, -0.1382807493209839, 0.2428494095802307, 0.12255550175905228, 0.5452026724815369, 0.43858301639556885, -0.3161703944206238, 0.4818263649940491, 0.27911660075187683, -0.7577400207519531, 0.6292359828948975, -0.16334111988544464, -0.10986257344484329, -0.37029311060905457, 0.30297961831092834, -0.21091780066490173, -0.37082791328430176, 0.012274294160306454, -0.1416005790233612, 0.3278747498989105, -0.46035757660865784, -0.9713973999023438, -0.3565620481967926, 0.05174559727311134, -0.2419118881225586, 0.42900243401527405, -0.3524114787578583, 0.7703148722648621, 0.5758401155471802, -0.21397219598293304, -0.513983964920044, -0.5627061128616333, 0.5504934787750244, -0.5882933139801025, -0.3932478725910187, -0.21090549230575562, 0.0824790820479393, -0.44500043988227844, -0.029192352667450905, 0.16733203828334808, -0.16708114743232727, -0.026029152795672417, 0.27149632573127747, 0.01000174693763256, -0.2944893538951874, 0.6343963146209717, 0.34528908133506775, 0.17613989114761353, 0.3387397229671478, -0.37024348974227905, 0.3490838408470154, -0.03899773955345154, -0.45923811197280884, -0.2839486300945282, 0.27942028641700745, 0.6440848708152771, -0.28087201714515686, 0.6503034234046936, 0.20405955612659454, -0.191599041223526, -0.30025312304496765, -0.7275164723396301, -0.1197868138551712, -0.3816613554954529, 0.6202145218849182, -0.3695283532142639, -1.191659688949585, 0.370646595954895, -0.1478688269853592, 0.34731927514076233, 0.12570232152938843, 0.7763631939888, -0.24162019789218903, 0.25751635432243347, 0.45623770356178284, -0.006817077752202749, 0.06563325226306915, -0.08179459720849991, 0.5130180716514587, -0.2614906430244446, -0.4370720386505127, -0.21399196982383728, -0.1274566948413849, -0.14251860976219177, -0.5903478264808655, 0.23694546520709991, 0.13857479393482208, -0.1959746927022934, 0.062135521322488785, 0.20804812014102936, 0.830671489238739, 0.23737764358520508, -0.04741942882537842, 0.6801956295967102, 0.09606590867042542, -0.3682941794395447, -0.08703262358903885, -0.6125260591506958, -0.7741075158119202, 1.2152568101882935, 0.5287183523178101, 0.8743664026260376, 0.15378715097904205, 0.7782717347145081, 0.2587108314037323, 0.06882784515619278, -0.9984052777290344, 0.44147926568984985, -0.12289119511842728, -0.4759741425514221, -0.4039119482040405, -0.38379865884780884, -0.769812822341919, 0.2988196611404419, -0.5333156585693359, -0.4616280496120453, 0.054160524159669876, -0.1330278515815735, -0.6365206837654114, 0.7383967638015747, -0.33301591873168945, 0.49369463324546814, -0.6834288239479065, -0.3012544810771942, -0.2837987244129181, -0.6625974178314209, 0.28002867102622986, -0.4529455304145813, 0.48846107721328735, 0.10434097796678543, 0.056864865124225616, 0.720720112323761, -0.3009048104286194, 0.9476270079612732, -0.05903318524360657, -0.20611754059791565, 0.6572210192680359, 0.20358818769454956, 0.5082476139068604, 0.2359207421541214, 0.06682205200195312, -0.2098732739686966, -0.2239876240491867, -0.019663529470562935, -0.6518664360046387, 0.4822656512260437, -0.5734977722167969, -0.846384584903717, -0.16163553297519684, -0.9584038257598877, -0.12327896803617477, 0.16625341773033142, -0.28291574120521545, 0.16840679943561554, 0.022012824192643166, 0.41090479493141174, 0.7618589997291565, -0.4238559603691101, 0.30037379264831543, 1.1383633613586426, -0.12106729298830032, -0.04311160370707512, 0.8368133902549744, 0.43103858828544617, 0.09620608389377594, 0.40358489751815796, 0.5278070569038391, -0.5473670959472656, -0.8795364499092102, -0.3787974417209625, 0.3750581741333008, -0.917142927646637, -0.08344769477844238, -0.9285770654678345, -0.01897430419921875, -0.04181623458862305, -0.24444320797920227, -0.017399318516254425, -0.29310640692710876, 0.003012656467035413, -0.6082838773727417, 0.3180208206176758, 0.7679990530014038, -0.15268082916736603, 0.16435028612613678, -0.6813977956771851, 0.270126074552536, 0.4011766314506531, 0.014060772024095058, 0.052109986543655396, -0.7021760940551758, -0.08399607241153717, -0.05721859633922577, -0.11744674295186996, -0.6720588207244873, 0.30544736981391907, -0.012193866074085236, 0.7519897222518921, 0.519934892654419, 0.00635824678465724, 0.6080979704856873, -0.7193613052368164, 0.5058515667915344, 0.27698758244514465, -0.6742812991142273, 0.41422444581985474, -0.6847910284996033, -0.09693549573421478, 0.45956242084503174, 0.31456682085990906, -0.6222729086875916, -0.54856276512146, -0.28933921456336975, -0.8643805980682373, 0.38942649960517883, 0.018626146018505096, 0.7077073454856873, 0.21729065477848053, 0.5708397030830383, 0.41211363673210144, 0.40550509095191956, -0.8697113990783691, 0.07684081792831421, 0.005037696100771427, -0.22351592779159546, -0.1164771169424057, -0.21916306018829346, -0.12371831387281418, -0.21303479373455048, 0.36288943886756897, -0.06015334650874138, -0.2463918924331665, -0.21521809697151184, -0.4666615426540375, -0.1315441131591797, 0.6214628219604492, 0.7310494780540466, 0.7997092008590698, 0.09598833322525024, 0.12261606752872467, 0.2692797780036926, -0.35853880643844604, 0.16688519716262817, -0.29094159603118896, 0.05828532949090004, -0.04909525811672211, 0.6038771867752075, 1.0029575824737549, 0.25511616468429565, -1.1280105113983154, 0.6007457971572876, 0.03150445595383644, -0.45659783482551575, -0.3554813861846924, -0.08448192477226257, 0.7141515612602234, 0.5640776753425598, 0.4558370113372803, -0.33529597520828247, -0.16199469566345215, -0.7800284624099731, 0.24358829855918884, 0.11873140931129456, -0.16586939990520477, 0.1215335950255394, 0.5512592792510986, 0.15140652656555176, -0.3104688227176666, 0.4017930328845978, -0.04770732671022415, -0.30279141664505005, 0.7976226806640625, 0.6614168286323547, 0.3926328718662262, 0.19986554980278015, 0.43851858377456665, 0.32241761684417725, 0.3679283559322357, -0.3895499110221863, -0.15009331703186035, 0.002071460010483861, -0.41676846146583557, -0.5100974440574646, -0.5145468711853027, -0.43323656916618347, 0.2808339595794678, -0.3968513011932373, 0.30982789397239685, -0.4455694258213043, 0.3935992419719696, -0.21752376854419708, -0.13054828345775604, -0.5050135254859924, -0.01682407595217228, 0.27114853262901306, 0.8816342353820801, -1.0720946788787842, 0.6992218494415283, 0.39855024218559265, -0.5838821530342102, -0.9663182497024536, 0.1013161689043045, 0.03814250975847244, -0.6179496049880981, 0.7416563034057617, -0.045023396611213684, 0.3483421206474304, -0.06756597012281418, -0.4695926308631897, -0.20635701715946198, 1.0669609308242798, 0.5544062256813049, -1.1481703519821167, -0.17302340269088745, 0.46067702770233154, 0.7106025815010071, -0.6750605702400208, 0.19433028995990753, 0.3160884380340576, 0.4308681786060333, 0.46226024627685547, -0.7307823300361633, -0.11581747233867645, 0.11857829988002777, -0.3501751720905304, -0.09162995219230652, -0.12726473808288574, 0.6995887160301208, -0.7352619767189026, 0.13238394260406494, -0.15571022033691406, 0.579483151435852, 0.48616331815719604, 0.293338805437088, 0.291793555021286, 0.49123260378837585, 1.0176491737365723, 0.13719303905963898, 0.923009991645813, -0.012574664317071438, 0.3267553150653839, 1.3988407850265503, -0.20708827674388885, 0.6728693246841431, 0.390108197927475, 0.10881972312927246, 0.4456530809402466, 0.49467816948890686, -0.27453115582466125, 0.1549876630306244, 0.5611961483955383, -0.19674380123615265, -0.46034061908721924, -0.21825534105300903, -0.1473219394683838, 0.37413984537124634, 0.3689028024673462, -0.3644668757915497, -0.4973967969417572, 0.43432679772377014, 0.15660154819488525, 0.47895315289497375, -0.6043389439582825, 0.6755426526069641, 0.26684829592704773, -0.3030168414115906, 0.1519203782081604, -0.04030710086226463, 0.39485281705856323, -0.34113746881484985, -0.10620307177305222, -0.11476371437311172, -0.2584760785102844, -0.15961317718029022, -1.2249380350112915, -0.13645122945308685, 0.36341845989227295, -0.037464361637830734, -0.034293632954359055, 0.21554942429065704, -0.6108437180519104, -0.5314427614212036, 0.1672333925962448, 0.48846861720085144, 0.3814738392829895, 0.16808238625526428, -0.6370019316673279, -0.17759396135807037, -0.23579108715057373, 0.040599316358566284, 0.2884178161621094, 0.6246317625045776, -0.43486732244491577, 0.8110126256942749, 0.5675954222679138, 0.10016800463199615, 0.15592220425605774, 0.3430301249027252, 0.8134871125221252, -0.5822314023971558, -0.8043162822723389, -0.7425687909126282, 0.7353427410125732, 0.09688878059387207, 0.02202525921165943, 0.5326135158538818, 0.7262988090515137, 0.6669334173202515, -0.23090927302837372, 0.8088830709457397, 0.0709037035703659, 0.267238587141037, -0.7268298864364624, 0.8319894671440125, -0.2703078091144562, 0.2816818058490753, 0.0016194614581763744, -0.784260094165802, -0.216056689620018, 0.47247862815856934, -0.4608301818370819, -0.17399150133132935, 0.5975724458694458, 0.4017258584499359, -0.050711069256067276, -0.17366860806941986, 0.7742035984992981, 0.31141096353530884, 0.5924189686775208, 0.507198691368103, 0.8358712792396545, 0.07881302386522293, 0.5809797048568726, 0.1917586624622345, 0.11285006999969482, -0.19505764544010162, -0.6238093972206116, -1.4539015293121338, -0.2888292372226715, -0.09522592276334763, -0.031181855127215385, 0.16973325610160828, 0.9689450263977051, 0.37096303701400757, -0.5094248056411743, -0.3510601222515106, -0.039735350757837296, 0.016221052035689354, 0.39141368865966797, -0.15588369965553284, 0.23121096193790436, -0.37677764892578125, -0.5066312551498413, 0.36256179213523865, 0.23111887276172638, 0.010536639019846916, -0.22663503885269165, -0.30563047528266907, -0.29772061109542847, 0.1766197681427002, 0.5615939497947693, 0.29230746626853943, -0.9260858297348022, -0.1335364133119583, -0.40955623984336853, 0.0911872610449791, 0.031100988388061523, 1.117242455482483, -0.540162205696106, 0.6937552094459534, 0.23974794149398804, 0.7413378357887268, 0.660964846611023, -0.23145993053913116, 0.43166986107826233, -0.4649365246295929, 0.22635550796985626, 0.4285827875137329, 0.4769098460674286, 0.10579035431146622, -0.34141120314598083, 0.2591995596885681, -0.08535683900117874, -0.009298743680119514, -0.6818737983703613, 0.14793261885643005, -0.5652400851249695, -0.5247308015823364, 1.088520884513855, -0.3793182075023651, -0.029948873445391655, -0.42131319642066956, -0.3297598361968994, 0.03358824923634529, -0.43255749344825745, 0.8260645866394043, 0.8236323595046997, 0.32879194617271423, -0.471845418214798, -1.000562310218811, 0.11641445010900497, 0.04600610211491585, -0.8694307804107666, 0.015848465263843536, 0.3874528110027313, 0.6382359862327576, -0.09899941831827164, 0.30082109570503235, -0.3108360171318054, 0.2154991775751114, -0.23269976675510406, 0.0049405787140131, -0.6216800808906555, -0.2683902978897095, -0.33098554611206055, 0.3113848567008972, 0.014461060985922813, 0.4039037823677063 ]
http://arxiv.org/abs/2402.17016v1
http://arxiv.org/pdf/2402.17016v1
Multi-Task Contrastive Learning for 8192-Token Bilingual Text Embeddings
2024-02-26T20:53:12
2024-02-26T20:53:12
Isabelle Mohr, Markus Krimmel, Saba Sturua, Mohammad Kalim Akram, Andreas Koukounas, Michael Günther, Georgios Mastrapas, Vinit Ravishankar, Joan Fontanals Martínez, Feng Wang, Qi Liu, Ziniu Yu, Jie Fu, Saahil Ognawala, Susana Guzman, Bo Wang, Maximilian Werk, Nan Wang, Han Xiao
cs.CL
cs.CL, cs.AI, cs.IR, 68T50, I.2.7
We introduce a novel suite of state-of-the-art bilingual text embedding models that are designed to support English and another target language. These models are capable of processing lengthy text inputs with up to 8192 tokens, making them highly versatile for a range of natural language processing tasks such as text retrieval, clustering, and semantic textual similarity (STS) calculations. By focusing on bilingual models and introducing a unique multi-task learning objective, we have significantly improved the model performance on STS tasks, which outperforms the capabilities of existing multilingual models in both target language understanding and cross-lingual evaluation tasks. Moreover, our bilingual models are more efficient, requiring fewer parameters and less memory due to their smaller vocabulary needs. Furthermore, we have expanded the Massive Text Embedding Benchmark (MTEB) to include benchmarks for German and Spanish embedding models. This integration aims to stimulate further research and advancement in text embedding technologies for these languages.
[ -0.19681794941425323, -0.5911809802055359, 0.46132901310920715, 0.522453248500824, -0.3323001563549042, 0.12834908068180084, -0.10470418632030487, -0.5203744173049927, 0.19339604675769806, 0.48723822832107544, -0.30134227871894836, -0.5626804828643799, -0.8050323724746704, 0.32508382201194763, -0.026104440912604332, 0.8774480223655701, -0.19525770843029022, 0.4747602045536041, -0.1944279819726944, -0.39243629574775696, -0.5592814683914185, -0.4988725781440735, -0.6804520487785339, -0.17879202961921692, 0.5855544209480286, 0.4721713662147522, 0.3026905059814453, 0.5240195989608765, 0.38206911087036133, 0.35998815298080444, -0.022860929369926453, 0.2431166023015976, -0.38541075587272644, 0.10162034630775452, -0.31645312905311584, -0.49172690510749817, -0.4875027537345886, -0.22555816173553467, 0.7530380487442017, 0.7434980273246765, 0.12208440899848938, -0.020316410809755325, 0.3142237663269043, 0.4155815839767456, -0.6090589761734009, 0.35872381925582886, -0.5553210377693176, 0.13115011155605316, -0.22636252641677856, 0.047882553189992905, -0.7355154752731323, 0.22441336512565613, 0.07302480936050415, -0.4700940251350403, 0.12408783286809921, 0.19633084535598755, 0.37647026777267456, -0.10498248040676117, -0.9169618487358093, -0.19969439506530762, -0.10667867958545685, 1.182031273841858, -0.47887974977493286, 0.7020484209060669, 0.4368380606174469, -0.09894741326570511, 0.356766015291214, -0.5875201225280762, -0.4229491949081421, -0.07649606466293335, -0.046524010598659515, 0.1705130636692047, -0.1302933394908905, -0.16402126848697662, -0.019984640181064606, 0.27716273069381714, -0.717729926109314, 0.27596646547317505, -0.3696470856666565, -0.19246147572994232, 0.12332617491483688, 0.3076229691505432, 0.08275429159402847, -0.2769775688648224, -0.5918622612953186, -0.07666107267141342, -0.4898776412010193, -0.13051383197307587, 0.39250093698501587, 0.4958319664001465, -0.4295428395271301, 0.2603437304496765, 0.05857997015118599, 0.35846075415611267, -0.050637584179639816, -0.013415073975920677, 0.7229218482971191, -0.4833943843841553, -0.17109090089797974, -0.3250407576560974, 0.7868071794509888, 0.34916582703590393, -0.23730935156345367, -0.35935860872268677, -0.21135039627552032, -0.2207021862268448, 0.20364058017730713, -0.8146071434020996, 0.16606539487838745, 0.05841268226504326, -0.5481483936309814, -0.20336797833442688, 0.04010028392076492, -0.7916170358657837, -0.3449254035949707, -0.25456181168556213, 0.41513335704803467, -0.3663042485713959, -0.2414667308330536, 0.20134545862674713, -0.2863737940788269, -0.0031403368338942528, 0.21489772200584412, -0.7572232484817505, 0.39115625619888306, 0.691344678401947, 0.8746264576911926, -0.6279389262199402, -0.6188758611679077, -0.5757033228874207, 0.21807748079299927, -0.21934127807617188, 0.5253282189369202, -0.5692392587661743, -0.5709868669509888, 0.16629920899868011, 0.2739364504814148, -0.2892032563686371, -0.5964481830596924, 0.7714096903800964, -0.5015795826911926, 0.31760361790657043, -0.25260862708091736, -0.245290607213974, -0.410510390996933, 0.4232460856437683, -1.1031471490859985, 1.431134819984436, -0.09948328882455826, -0.9312739372253418, 0.02253798209130764, -0.6592200398445129, -0.582570493221283, -0.07328129559755325, 0.1004054993391037, -0.3430260121822357, 0.06547844409942627, 0.13629527390003204, 0.5952861309051514, -0.5076862573623657, 0.24604712426662445, -0.1331421434879303, -0.2422019988298416, -0.23658587038516998, -0.37773051857948303, 0.8622715473175049, 0.06448632478713989, -0.44118890166282654, 0.2696181833744049, -0.5244647860527039, -0.3056272566318512, 0.08150582760572433, -0.3444473147392273, -0.5466144680976868, -0.14734545350074768, 0.6155837774276733, 0.38980400562286377, 0.4840032160282135, -0.7083351016044617, -0.2989480495452881, -0.3078632056713104, 0.30559441447257996, 0.7196367979049683, -0.40455085039138794, 0.42084431648254395, -0.31116023659706116, 0.445616215467453, 0.4010452330112457, -0.10467226058244705, -0.5986172556877136, -0.5680412650108337, -0.6872029304504395, -0.4309478998184204, 0.4009988605976105, 0.7716688513755798, -0.7507100105285645, 0.5673154592514038, -0.2019214928150177, -0.4146325886249542, -0.5130130648612976, 0.2469414919614792, 0.6861343383789062, 0.5381902456283569, 0.6327272653579712, -0.3462199866771698, -0.5680365562438965, -1.0378071069717407, -0.20972874760627747, 0.26427024602890015, 0.16686183214187622, 0.22839578986167908, 0.8043212890625, -0.26541703939437866, 0.26329782605171204, -0.229050412774086, -0.409339040517807, -0.44284123182296753, 0.2791109085083008, 0.035248950123786926, 0.7219114303588867, 0.6204411387443542, -1.0497515201568604, -0.8757205009460449, 0.31244784593582153, -0.61932373046875, 0.32064759731292725, 0.2528607249259949, -0.07818105071783066, 0.16365234553813934, 0.6550076603889465, -0.3119904398918152, 0.24102701246738434, 0.8060623407363892, -0.3801310658454895, 0.30355727672576904, -0.43145641684532166, 0.42601636052131653, -1.5111650228500366, 0.07996432483196259, 0.10187096148729324, -0.46265384554862976, -0.6226670145988464, 0.26719826459884644, 0.5491650104522705, 0.010696840472519398, -0.5931711792945862, 0.7491306066513062, -0.3878095746040344, 0.2908051013946533, -0.29096096754074097, 0.12289424985647202, 0.17771601676940918, 0.4838699996471405, 0.047084882855415344, 0.6378602981567383, 0.6444770097732544, -0.30167147517204285, 0.14285309612751007, 0.0957205593585968, -0.18472766876220703, 0.7660824060440063, -0.6902633905410767, 0.018704762682318687, -0.20690879225730896, 0.3376087546348572, -1.1116995811462402, 0.14595134556293488, 0.027434367686510086, -0.14242418110370636, 0.22821646928787231, 0.09635630249977112, -0.7019678354263306, -0.1721802055835724, -0.6735809445381165, 0.7671275734901428, 0.24701322615146637, -0.5724735856056213, 0.8581129312515259, 0.4942905306816101, -0.5266559720039368, -0.660275936126709, -0.8849171996116638, 0.05280500277876854, -0.1790652871131897, -0.2727520763874054, 0.8950852751731873, -0.050244759768247604, 0.1451789140701294, 0.0680360272526741, 0.11906943470239639, -0.2367211878299713, -0.08576109260320663, 0.23570746183395386, 0.3638768196105957, -0.15380354225635529, 0.2467440515756607, 0.3190557360649109, -0.18650269508361816, -0.2514689862728119, -0.2381836324930191, 0.5011152625083923, -0.012024779804050922, -0.40217965841293335, -0.33138155937194824, 0.935514509677887, 0.5110047459602356, -0.5988419055938721, 0.9682281017303467, 0.7946905493736267, -0.6944109201431274, -0.06411407142877579, -0.6129945516586304, 0.050494223833084106, -0.4292948544025421, 0.7820959687232971, -0.6343607902526855, -1.0423390865325928, 0.6416719555854797, 0.08143960684537888, 0.19196300208568573, 0.6027631163597107, 0.6792729496955872, 0.16429172456264496, 1.1067973375320435, 0.758660078048706, -0.09448784589767456, 0.4434714615345001, -0.05557650700211525, -0.03827851638197899, -0.7036258578300476, -0.3969264328479767, -0.7002772688865662, -0.21236136555671692, -0.6232553720474243, -0.9025824666023254, 0.07849740236997604, -0.2805387079715729, -0.2122431993484497, 0.4184556305408478, -0.12979458272457123, 0.5459578633308411, 0.6313617825508118, 0.20469193160533905, 0.16077202558517456, -0.06386222690343857, -0.7005913257598877, -0.23238131403923035, -0.5280144214630127, -0.3905917704105377, 1.2343344688415527, 0.2960200011730194, 0.3633292317390442, 0.09861019998788834, 0.7160098552703857, 0.3140220642089844, 0.26324462890625, -0.5486061573028564, 0.37184780836105347, -0.543070375919342, -0.560652494430542, 0.006329407915472984, -0.327910453081131, -0.9182819128036499, 0.6965896487236023, -0.2080799788236618, -0.6436831951141357, -0.012719910591840744, -0.017999030649662018, 0.1283828318119049, 0.42609164118766785, -0.8693583607673645, 1.2075493335723877, -0.06784190982580185, -0.46239739656448364, -0.6388943195343018, -0.4157053828239441, 0.017205307260155678, -0.19050011038780212, 0.4161751866340637, 0.07193832099437714, -0.4950025677680969, 0.9523841738700867, 0.21824485063552856, 1.0685911178588867, -0.06425827741622925, -0.052015285938978195, -0.11233066767454147, -0.0227676909416914, 0.5003883242607117, -0.18010015785694122, -0.35113805532455444, 0.16778774559497833, -0.08749133348464966, -0.6529783606529236, -0.08794897049665451, 1.1096431016921997, -0.5106140375137329, -0.34116196632385254, -0.36139151453971863, -0.672416627407074, -0.2628605365753174, 0.4083532392978668, -0.06702812016010284, 0.4579596519470215, -0.34292811155319214, 0.3249650001525879, 0.5078418850898743, -0.20597746968269348, 0.5919144153594971, 0.4317901134490967, 0.002879043109714985, -0.6688138842582703, 1.0213403701782227, -0.1704583764076233, 0.07484747469425201, 0.785245954990387, -0.035231687128543854, -0.5432530045509338, -0.39858725666999817, -0.19619101285934448, 0.48769867420196533, -0.8215177655220032, -0.11304021626710892, -0.8130460381507874, 0.32800018787384033, -0.4273180663585663, -0.21353453397750854, -0.3748633563518524, -0.22295869886875153, -0.27485769987106323, -0.2566698491573334, -0.12796977162361145, 0.8928312659263611, 0.1252046376466751, 0.07677500694990158, -0.9206368327140808, 0.439116507768631, 0.07287703454494476, 0.4175512492656708, 0.1801956743001938, -0.5005757212638855, -0.564252495765686, -0.21332189440727234, -0.557500958442688, -0.974193274974823, 0.3472898304462433, 0.00709184305742383, 0.7591971755027771, 0.24521304666996002, -0.12102571129798889, 0.4985455274581909, -0.8911082744598389, 0.6721513271331787, 0.37099090218544006, -1.1736410856246948, 0.0746818259358406, -0.1465388834476471, 0.33179688453674316, 0.4311234652996063, 0.7326400876045227, -0.4226130545139313, -0.335875540971756, -0.5440337657928467, -0.7765252590179443, 0.6262797117233276, -0.09106680005788803, 0.35132986307144165, -0.100011445581913, -0.23496408760547638, 0.5015168190002441, 0.22921812534332275, -0.981147289276123, -0.3458917737007141, -0.0592179037630558, -0.49112749099731445, -0.27019405364990234, -0.2825313210487366, -0.012558084912598133, -0.22681844234466553, 0.5548590421676636, -0.2609817385673523, 0.23056462407112122, -0.21816888451576233, -0.3269096314907074, 0.21095579862594604, 0.3421039581298828, 0.5396929979324341, 0.4496331214904785, 0.1098446175456047, 0.3474075198173523, 0.5209525227546692, -0.33038273453712463, -0.10080747306346893, 0.4896533489227295, 0.12352899461984634, 0.14720749855041504, 0.3171052038669586, 0.7902604341506958, 0.6976456642150879, -0.8458568453788757, 0.5840886235237122, 0.11251111328601837, -0.29971233010292053, 0.12801297008991241, -0.5693334341049194, 0.35564830899238586, 0.35162878036499023, 0.47298258543014526, 0.006881032604724169, 0.18962374329566956, -0.45730409026145935, 0.19496501982212067, 0.5339298248291016, -0.480668842792511, -0.4690989553928375, 0.6836552023887634, 0.4981570243835449, -0.2961071729660034, 0.15748269855976105, -0.23879483342170715, -0.7322287559509277, 0.554255485534668, 0.7441516518592834, 0.7851129174232483, -0.2663901448249817, 0.17504200339317322, 0.4388324022293091, 0.16480720043182373, -0.07358063757419586, 0.3817216455936432, -0.16800659894943237, -0.5901158452033997, -0.4167817234992981, -0.3306032121181488, -0.4806334674358368, -0.2042195051908493, -0.7115783095359802, 0.2753005027770996, -0.048161160200834274, -0.13024650514125824, 0.026341276243329048, -0.12309639900922775, -0.8861753344535828, 0.07486458122730255, 0.03214668855071068, 0.7874691486358643, -0.9128889441490173, 0.8315144777297974, 0.8723152279853821, -0.11410004645586014, -0.2363353967666626, -0.16687680780887604, -0.06377796083688736, -0.7113732695579529, 0.6610153913497925, 0.5476580858230591, -0.0072935461066663265, -0.012274978682398796, 0.12070894241333008, -0.38311222195625305, 0.9815071821212769, 0.4505837559700012, -0.2952449321746826, -0.23497876524925232, 0.1869160383939743, 0.3744812607765198, -0.489179790019989, 0.42197945713996887, 0.1549876183271408, 0.32051777839660645, -0.3984583914279938, -1.1904881000518799, 0.03839126229286194, -0.34071701765060425, -0.20402748882770538, 0.24804924428462982, -0.5847892761230469, 0.9541995525360107, -0.06048113480210304, 0.005477428436279297, 0.008553492836654186, 0.5210265517234802, 0.14879897236824036, 0.21036724746227264, 0.528339147567749, 0.7000807523727417, 0.5547435283660889, -0.05738475173711777, 0.86902916431427, -0.4514843821525574, 0.3263261020183563, 0.9739655256271362, -0.3097359538078308, 1.2099055051803589, 0.672722339630127, -0.06808487325906754, 0.5359231233596802, 0.31847208738327026, 0.2079625278711319, 0.5103722810745239, -0.2530054748058319, -0.3135538697242737, -0.3462236523628235, -0.3055003881454468, -0.25011739134788513, 0.19152039289474487, 0.23853114247322083, -0.46986037492752075, -0.34493786096572876, 0.33387091755867004, 0.0007972240564413369, 0.19817546010017395, -0.19105947017669678, 0.5959853529930115, -0.003781335661187768, -0.611652672290802, 0.2018105536699295, 0.4903157353401184, 1.0244394540786743, -0.5557247996330261, -0.04521245136857033, -0.09893213957548141, 0.2376101016998291, 0.10302116721868515, -0.6366778016090393, 0.1271316260099411, -0.027542036026716232, -0.23384541273117065, -0.6277852058410645, 0.3065010905265808, -0.6744405031204224, -0.5094406604766846, 0.6909644603729248, 0.6868218183517456, -0.3307304084300995, 0.005202684551477432, -0.8510521054267883, 0.059558600187301636, -0.02945508249104023, -0.03401723504066467, 0.5202414393424988, 0.4584844708442688, 0.03929373621940613, 0.41282206773757935, 0.37550631165504456, -0.13551954925060272, 0.18666322529315948, 0.03695761412382126, 0.7053402066230774, -0.784689724445343, -0.8516520857810974, -0.7431353330612183, 0.7882117033004761, -0.08518839627504349, -0.3389209806919098, 0.760104238986969, 0.9694219827651978, 0.9151785969734192, -0.3491531014442444, 0.7603341341018677, 0.18827183544635773, 0.6805287599563599, -0.3266260027885437, 0.24248671531677246, -0.7992761135101318, -0.08899825811386108, -0.153005912899971, -0.6808943748474121, -0.29566121101379395, 0.2884626090526581, -0.05075002461671829, -0.02228011190891266, 1.0074000358581543, 0.7024220824241638, -0.22620593011379242, -0.08320903778076172, 0.3518722951412201, -0.26851704716682434, 0.13866332173347473, 0.8110139966011047, 0.47282636165618896, -0.6532017588615417, 0.6606771349906921, -0.30521661043167114, -0.1381693184375763, -0.026424966752529144, -0.8700342178344727, -1.081774115562439, -0.8965635299682617, -0.23706308007240295, 0.027001630514860153, -0.010278979316353798, 0.8622439503669739, 0.7038961052894592, -0.9751981496810913, -0.3731950521469116, 0.06169126555323601, 0.19712139666080475, -0.18029479682445526, -0.17990554869174957, 0.4528118073940277, -0.3943626284599304, -1.289967656135559, 0.3916500508785248, 0.3700000047683716, -0.047777123749256134, -0.1240735650062561, -0.21482990682125092, -0.35090163350105286, 0.03469567000865936, 0.6978038549423218, 0.044696517288684845, -0.6838515996932983, 0.06125988811254501, 0.12683077156543732, -0.4333938658237457, 0.050715941935777664, 0.7754032611846924, -0.5527034997940063, 0.46548905968666077, 0.5938398838043213, 0.980320930480957, 0.45872873067855835, -0.3316724896430969, 0.38933342695236206, -0.7747679948806763, 0.5465056300163269, 0.1264946013689041, 0.6634626984596252, 0.36951059103012085, 0.06660022586584091, 0.12052521854639053, 0.22497671842575073, -0.19186829030513763, -0.8352458477020264, 0.007828205823898315, -0.9944642782211304, -0.17554984986782074, 0.7856919765472412, -0.32150784134864807, 0.19944347441196442, -0.22232778370380402, -0.34447181224823, 0.041937049478292465, -0.32108739018440247, 0.3802638053894043, 0.7359589338302612, 0.1810704469680786, -0.26342588663101196, -0.41786685585975647, 0.11437972635030746, 0.6605802178382874, -0.8533985018730164, -0.22782093286514282, 0.1549815833568573, 0.05214420333504677, 0.21978305280208588, 0.3825097978115082, -0.19130505621433258, 0.46404460072517395, 0.1170659065246582, -0.06192151829600334, -0.03808422014117241, -0.26693713665008545, -0.2871774435043335, 0.5604628920555115, 0.00021247321274131536, -0.2827482521533966 ]
http://arxiv.org/abs/2402.17014v2
http://arxiv.org/pdf/2402.17014v2
Z-AGI Labs at ClimateActivism 2024: Stance and Hate Event Detection on Social Media
2024-02-26T20:43:48
2024-04-14T13:43:39
Nikhil Narayan, Mrutyunjay Biswal
cs.CL
cs.CL
In the digital realm, rich data serves as a crucial source of insights into the complexities of social, political, and economic landscapes. Addressing the growing need for high-quality information on events and the imperative to combat hate speech, this research led to the establishment of the Shared Task on Climate Activism Stance and Hate Event Detection at CASE 2024. Focused on climate activists contending with hate speech on social media, our study contributes to hate speech identification from tweets. Analyzing three sub-tasks - Hate Speech Detection (Sub-task A), Targets of Hate Speech Identification (Sub-task B), and Stance Detection (Sub-task C) - Team Z-AGI Labs evaluated various models, including LSTM, Xgboost, and LGBM based on Tf-Idf. Results unveiled intriguing variations, with Catboost excelling in Subtask-B (F1: 0.5604) and Subtask-C (F1: 0.7081), while LGBM emerged as the top-performing model for Subtask-A (F1: 0.8684). This research provides valuable insights into the suitability of classical machine learning models for climate hate speech and stance detection, aiding informed model selection for robust mechanisms.
[ -0.40473833680152893, -0.8493574261665344, 0.4388715326786041, -0.12277784198522568, -0.35812655091285706, 0.45000597834587097, -0.04524380341172218, -0.6198881268501282, 0.2705254554748535, 0.14651112258434296, -0.8686701655387878, -0.6218294501304626, -0.8543654084205627, -0.39111849665641785, -0.5436846017837524, 1.0826045274734497, 0.25856319069862366, 0.059321217238903046, 0.07825440168380737, -0.1672971099615097, -0.09284307807683945, -0.425695538520813, -0.7250180840492249, -0.41570836305618286, 0.7379263043403625, 0.2697509825229645, 0.7868339419364929, 0.5031740069389343, 0.17344078421592712, 0.2504967153072357, -0.11919459700584412, -0.3904077708721161, -0.44875189661979675, -0.0013924131635576487, -0.18213674426078796, -0.030185813084244728, -0.3449510633945465, 0.2579546272754669, 0.4898073971271515, 0.04840447008609772, -0.08949562162160873, 0.20681823790073395, -0.28344085812568665, 0.17393049597740173, -0.4982677400112152, -0.0675925612449646, -0.9996146559715271, 0.0770302340388298, -0.28803277015686035, 0.15039682388305664, -0.1978996843099594, -0.07087386399507523, -0.2040736824274063, -0.3356076180934906, 0.7113820314407349, 0.11341391503810883, 0.8963102698326111, 0.22718080878257751, -0.22138462960720062, -0.29627108573913574, -0.4854195713996887, 0.9997982978820801, -0.6658470630645752, 0.5331160426139832, 0.12253035604953766, 0.09550505876541138, -0.04604637622833252, -0.35886648297309875, -0.9523726105690002, 0.02287578582763672, 0.2602567672729492, 0.14962594211101532, -0.45251110196113586, -0.09775042533874512, -0.05616651847958565, 0.1909370869398117, -0.5321708917617798, 0.5057317614555359, -0.2823847234249115, -0.27348944544792175, 0.8116115927696228, 0.22633887827396393, 0.306068480014801, -0.4426017105579376, -0.42450466752052307, -0.025564005598425865, -0.2471424639225006, -0.02868424914777279, 0.6830893158912659, 0.6119290590286255, -0.10401033610105515, 0.333723783493042, -0.15316417813301086, 0.39166009426116943, 0.09420359879732132, 0.06964361667633057, 0.04459494352340698, -0.36327069997787476, -0.24401530623435974, 0.1696116179227829, 0.8803974986076355, 0.32497110962867737, 0.0412338487803936, -0.1759730726480484, -0.06628904491662979, 0.20931755006313324, 0.3964713215827942, -0.7967411875724792, -0.27521419525146484, 0.29364100098609924, -0.3914279043674469, -0.5675243139266968, -0.11810258775949478, -0.9381447434425354, -0.9912462830543518, -0.37687045335769653, 0.2406926155090332, -0.07673369348049164, -0.39853590726852417, -0.2527267634868622, -0.42984697222709656, 0.3687106966972351, 0.41671180725097656, -0.5077438950538635, 0.06298211961984634, 0.8822705149650574, 0.8827822208404541, -0.609910786151886, 0.0243392251431942, -0.509316623210907, -0.0893242210149765, -0.1323375403881073, 0.6019916534423828, -0.802352786064148, -0.30467984080314636, -0.1802435666322708, -0.055615365505218506, -0.030388329178094864, -0.2689433693885803, 0.6426863074302673, -0.63652104139328, -0.13666391372680664, -0.1944476068019867, -0.49701622128486633, -0.24722319841384888, 0.20762969553470612, -0.5175740122795105, 0.8714267015457153, -0.030403567478060722, -0.7672930955886841, 0.6656783819198608, -0.752177894115448, -0.1704235076904297, 0.26493212580680847, -0.10099557787179947, -0.8999403715133667, -0.008223598822951317, -0.22403068840503693, 0.6336765289306641, -0.05239638313651085, 0.39762401580810547, -0.6899967193603516, 0.11696203052997589, -0.058820709586143494, -0.1410341113805771, 0.9514973759651184, 0.20116785168647766, -0.6531524658203125, 0.6633330583572388, -0.6531553864479065, -0.2695440351963043, 0.3710545003414154, -0.03234320506453514, -0.17462913691997528, 0.22363901138305664, 0.26549196243286133, 0.26703622937202454, 0.10356586426496506, -0.9221082925796509, -0.13825994729995728, 0.26578494906425476, 0.588907778263092, 1.0404013395309448, -0.10038863122463226, 0.16544540226459503, -0.06885094940662384, 0.7033453583717346, 0.045218877494335175, 0.20982006192207336, 0.6358640789985657, -0.6084800362586975, -0.5054095387458801, -0.15842849016189575, -0.23642781376838684, 0.6711452603340149, -0.40317484736442566, -0.07137253135442734, -0.09888383001089096, -0.9021690487861633, -0.0732201412320137, 0.16874144971370697, 0.2540161609649658, 0.43434450030326843, 0.3674755096435547, 0.09330455213785172, -0.729533314704895, -0.7907764315605164, -0.503281831741333, -0.3483935594558716, 0.4336230754852295, 0.1817629039287567, 0.7197743654251099, -0.2885652184486389, 0.8647720217704773, -0.20726798474788666, 0.1003289520740509, -0.488799124956131, 0.3959823250770569, -0.1262541115283966, 0.15352490544319153, 0.9380127787590027, -1.3633854389190674, -0.5761873722076416, -0.08617932349443436, -0.07362806051969528, -0.10998471826314926, 0.25917163491249084, -0.10802695155143738, 0.2760079801082611, 0.4010230600833893, -0.28956693410873413, 0.5220468640327454, 0.5811458826065063, -0.6216822862625122, 0.411507785320282, 0.6773733496665955, 0.3281692862510681, -1.0571796894073486, -0.19666719436645508, 0.35606130957603455, -0.3374684154987335, -1.1564688682556152, -0.10252469033002853, -0.322034627199173, -0.05494741350412369, -0.7274354696273804, 0.45257768034935, 0.002752911066636443, 0.0416930690407753, -0.4031859040260315, -0.026611562818288803, -0.4963591694831848, 0.25707128643989563, 0.31452953815460205, 0.5746893286705017, 0.3480687141418457, -0.5064271092414856, 0.3526662588119507, 0.19126027822494507, -0.3046605587005615, 0.23548470437526703, -0.3193773031234741, 0.34658682346343994, -0.12368334084749222, 0.16088064014911652, -1.113460898399353, -0.2100623995065689, 0.5687516331672668, -0.5682412385940552, -0.12105374783277512, -0.13958744704723358, -0.5413036942481995, -0.39555972814559937, -0.2604738175868988, 0.3141077160835266, 0.26848071813583374, -0.4117305874824524, 0.8209042549133301, 0.8549383878707886, -0.1667713224887848, -0.41202667355537415, -0.4614441990852356, 0.06721523404121399, -0.6390007138252258, -0.34114378690719604, 0.33756232261657715, -0.11886770278215408, -0.4970628023147583, -0.12645745277404785, -0.09700746834278107, -0.22790095210075378, 0.2581927180290222, 0.5955655574798584, -0.023903094232082367, 0.05807431414723396, -0.22305606305599213, -0.2228843867778778, 0.27719956636428833, 0.11674351990222931, 0.015603028237819672, 0.6218932271003723, -0.18430034816265106, 0.07316437363624573, -0.47782570123672485, 0.4359026849269867, 0.7523806095123291, 0.1395009607076645, 0.8502563238143921, 1.025329351425171, -0.5900892019271851, 0.0045435428619384766, -0.38162946701049805, 0.1724313646554947, -0.4341358542442322, 0.14889006316661835, 0.23788990080356598, -1.1143574714660645, 0.6572555899620056, 0.31355395913124084, 0.23759815096855164, 0.4836898446083069, 0.6767559051513672, 0.10997570306062698, 1.055878758430481, 0.6395716071128845, -0.40841206908226013, 0.7973446846008301, -0.04681200906634331, 0.37088844180107117, -0.32794713973999023, -0.1837419867515564, -0.7208476662635803, -0.15725722908973694, -0.4289451241493225, -0.45093363523483276, 0.14757630228996277, -0.3100552260875702, -0.19941698014736176, 0.49891895055770874, -0.37291133403778076, 0.15129920840263367, 0.33765941858291626, -0.041698846966028214, -0.02253316529095173, -0.03731685131788254, 0.4514126181602478, -0.013535641133785248, -0.44557058811187744, -0.38148918747901917, 0.5463228225708008, 0.2993606925010681, 0.029340004548430443, 0.12896978855133057, 0.48585742712020874, 0.8437381386756897, 0.5221824049949646, -0.9302496314048767, 0.8517088890075684, -0.19460828602313995, -0.7347545623779297, -0.39887523651123047, -0.16562385857105255, -0.6656639575958252, 0.24977079033851624, -0.1317882388830185, -0.7307470440864563, 0.19139306247234344, 0.24692538380622864, -0.21210171282291412, 0.5689321756362915, -0.3756674826145172, 0.9534502625465393, 0.008280192501842976, -0.32749056816101074, -0.4554472863674164, -0.3884420692920685, 0.08474709838628769, -0.12863661348819733, 0.6119892001152039, -0.4178496301174164, 0.0021609182003885508, 0.898158073425293, -0.12117892503738403, 1.1275840997695923, -0.5115349888801575, -0.16723765432834625, 0.3942062258720398, -0.254028856754303, 0.49336209893226624, -0.2580546438694, -0.4603073298931122, 0.3646608293056488, -0.3092498779296875, -0.3355487585067749, -0.09490413218736649, 0.5568086504936218, -0.5962941646575928, -0.6529946327209473, -0.33054038882255554, -0.3997112512588501, -0.047691136598587036, 0.19052506983280182, 0.18318799138069153, 0.08760876208543777, -0.563477635383606, 0.17496438324451447, 0.43998128175735474, -0.057434819638729095, 0.505869448184967, 0.518284022808075, -0.0040748026221990585, -0.3363087475299835, 1.049778938293457, 0.1594100445508957, 0.19005048274993896, 0.1312045305967331, 0.4998036324977875, -0.06514417380094528, -0.8615840673446655, -0.27247709035873413, -0.16822415590286255, -0.6555297374725342, -0.161534383893013, -0.8767430186271667, -0.07338100671768188, -0.6498078107833862, -0.1744687408208847, -0.22759196162223816, -0.3049148917198181, -0.4104279577732086, -0.3945460617542267, 0.500546932220459, 0.587543249130249, -0.25638526678085327, 0.45812365412712097, -0.4194867014884949, 0.4630488455295563, 0.11979365348815918, -0.1452001929283142, -0.17882218956947327, -0.42970818281173706, -0.1581319272518158, 0.13302363455295563, -0.42883673310279846, -0.9543851613998413, 0.5402172803878784, 0.18313562870025635, 0.47231367230415344, 0.46230003237724304, 0.20331044495105743, 0.5906903147697449, -0.42824870347976685, 1.0902841091156006, 0.13656727969646454, -1.0750192403793335, 0.6773061752319336, -0.7195560932159424, -0.23792245984077454, 0.32806137204170227, 0.6307496428489685, -0.23774805665016174, -0.7643380761146545, -0.8811722993850708, -0.7714155912399292, 0.7487143874168396, 0.24684199690818787, 0.17378579080104828, -0.07803245633840561, 0.24069982767105103, 0.18597468733787537, 0.45397093892097473, -0.8609888553619385, -0.2048049122095108, -0.5174479484558105, -0.022021709010004997, -0.22259566187858582, -0.1284787505865097, -0.09184639900922775, -0.3898623287677765, 0.8061160445213318, -0.09914155304431915, 0.060726918280124664, -0.14599330723285675, 0.27902916073799133, -0.263250470161438, 0.4076555669307709, 0.7328168749809265, 0.4463163912296295, -0.07148100435733795, -0.039981625974178314, 0.09004859626293182, -0.49013519287109375, -0.03296272084116936, -0.0028329298365861177, -0.20280280709266663, 0.12851475179195404, 0.21348461508750916, 0.9725175499916077, -0.2020864337682724, -0.4583178162574768, 0.4098958969116211, 0.08487194031476974, -0.3358747363090515, -0.6294977068901062, 0.2518407702445984, -0.06241222843527794, 0.3517940938472748, 0.35296905040740967, -0.08580151200294495, 0.3962373435497284, -0.7264241576194763, -0.007288054563105106, 0.737166166305542, -0.630664050579071, -0.5749424695968628, 0.7072543501853943, -0.04039933159947395, -0.3073504865169525, 0.22837768495082855, -0.18443085253238678, -1.0518039464950562, 0.869073212146759, 0.1989067792892456, 0.8247008323669434, -0.34017959237098694, 0.5197922587394714, 0.3806804418563843, 0.13826526701450348, 0.32018423080444336, 0.27275964617729187, -0.18606151640415192, -1.0681278705596924, 0.04663389176130295, -0.6336610317230225, -0.524951696395874, 0.4749862253665924, -0.6911612749099731, 0.16678334772586823, -0.6078634858131409, -0.3132617473602295, 0.331103652715683, 0.04602935537695885, -0.47125256061553955, 0.27564242482185364, 0.29200729727745056, 0.5265636444091797, -1.1636383533477783, 0.5421658754348755, 0.7204174399375916, 0.04883703216910362, -0.514785885810852, 0.08030728995800018, 0.48444098234176636, -0.6232117414474487, 0.48611778020858765, 0.15791162848472595, -0.44901272654533386, 0.04785812646150589, -1.0340924263000488, -0.43217551708221436, 0.9490404725074768, 0.18290488421916962, -0.41728436946868896, 0.32114341855049133, 0.13987860083580017, 0.6184238195419312, -0.37209653854370117, -0.3877497911453247, 0.48470795154571533, 0.6334623694419861, 0.14773811399936676, -0.6636349558830261, 0.04052023962140083, -0.21664616465568542, -0.2982011139392853, 0.3281499445438385, -0.9918127059936523, 0.6698543429374695, 0.01899445615708828, -0.42145177721977234, -0.2305976152420044, 0.8073951005935669, 0.2547040581703186, 0.8174623847007751, 0.9115319848060608, 0.4504551291465759, 0.6115844249725342, -0.006991478614509106, 0.8305100798606873, 0.00889600906521082, 0.18657593429088593, 0.7932127118110657, -0.15741972625255585, 0.7181954383850098, 0.3839946389198303, 0.1310356855392456, 0.44131413102149963, 0.7742063999176025, -0.14919418096542358, 0.4798372685909271, 0.2687980830669403, -0.4482867419719696, -0.7270717024803162, -0.571910560131073, 0.0890851840376854, 0.3614470660686493, 0.6351231932640076, -0.06445566564798355, -0.1736914962530136, 0.20491641759872437, 0.1900174617767334, 0.1112641915678978, -0.6633658409118652, 0.6216197609901428, -0.08518510311841965, -0.4740505516529083, 0.060807764530181885, 0.04133189097046852, 0.6167055368423462, -0.2630142867565155, 0.09632658213376999, 0.3945332467556, 0.045071326196193695, -0.3066384196281433, -0.7586597800254822, 0.6174271106719971, 0.1938462257385254, -0.3772517740726471, -0.49695447087287903, 0.6590387225151062, -0.19807521998882294, -0.2446667104959488, 0.6075353622436523, 0.019156448543071747, 0.09777464717626572, -0.07650882750749588, -0.9240825772285461, 0.4071122705936432, 0.03300090879201889, -0.31480079889297485, 0.3840460479259491, 0.11207570135593414, -0.21080127358436584, 0.5343870520591736, 0.6114369630813599, -0.1984407752752304, 0.21453219652175903, 0.21355967223644257, 0.767658531665802, -0.46260780096054077, -0.43349307775497437, -0.8600307106971741, 0.20968370139598846, -0.14498306810855865, -0.17743200063705444, 0.8236840963363647, 0.5583528280258179, 0.6914467215538025, 0.03567277267575264, 0.8871548175811768, -0.2829645276069641, 0.6968255639076233, -0.35936298966407776, 0.5275105834007263, -0.7501146197319031, -0.3333391845226288, -0.42084044218063354, -0.42847779393196106, -0.23856866359710693, 0.2974933981895447, -0.4293561279773712, -0.05081046000123024, 0.15071028470993042, 0.7048370838165283, 0.03148698806762695, 0.20339243113994598, 0.11344277113676071, 0.16762882471084595, 0.6345212459564209, 0.13429410755634308, 0.7044050097465515, -0.09304849803447723, 0.5272818803787231, -0.1889452040195465, 0.08814297616481781, -0.2157112956047058, -1.0356018543243408, -0.8591213226318359, -0.7173212170600891, -0.8175737857818604, -0.3609607219696045, 0.034344423562288284, 0.7376275658607483, 0.6297406554222107, -1.002938151359558, -0.0020149804186075926, -0.2908897399902344, 0.25156450271606445, -0.09338682144880295, -0.2774182856082916, 0.19857007265090942, 0.24006877839565277, -0.8692831993103027, 0.555718719959259, 0.0580395832657814, 0.03252639248967171, 0.07000238448381424, 0.016667885705828667, -0.3657815158367157, 0.31746941804885864, 0.4589986801147461, 0.4800671935081482, -0.8417326211929321, -0.5424321293830872, -0.21212135255336761, 0.11564286798238754, -0.04920278489589691, 0.86479651927948, -0.4151972532272339, -0.11565695703029633, 0.6324523091316223, 0.5137475728988647, 0.23323556780815125, 0.20605720579624176, 0.25391092896461487, -0.42749983072280884, 0.09007041156291962, 0.31769347190856934, 0.2409333437681198, 0.34313029050827026, -0.5395753383636475, 0.43230974674224854, 0.4370971918106079, -0.4220770597457886, -0.9827974438667297, 0.2700709402561188, -1.146525263786316, -0.21761369705200195, 1.2347991466522217, 0.09930086880922318, -0.1929982751607895, -0.33500930666923523, 0.08039814233779907, 0.31796982884407043, -0.5956462621688843, 0.6128233671188354, 0.9960918426513672, -0.2875116765499115, -0.36244988441467285, -0.5705400109291077, 0.4825936555862427, 0.27641910314559937, -0.5508805513381958, 0.11053770035505295, 0.5969632863998413, 0.20669831335544586, 0.42249026894569397, 0.559014081954956, 0.21180017292499542, 0.20405107736587524, -0.3595961630344391, 0.026502491906285286, -0.02548123523592949, -0.3791549801826477, -0.15456293523311615, 0.4046575129032135, -0.4086378216743469, -0.1047258973121643 ]
http://arxiv.org/abs/2402.17013v1
http://arxiv.org/pdf/2402.17013v1
Towards Explainability and Fairness in Swiss Judgement Prediction: Benchmarking on a Multilingual Dataset
2024-02-26T20:42:40
2024-02-26T20:42:40
Santosh T. Y. S. S, Nina Baumgartner, Matthias Stürmer, Matthias Grabmair, Joel Niklaus
cs.CL
cs.CL, cs.AI, cs.LG, 68T50, I.2
The assessment of explainability in Legal Judgement Prediction (LJP) systems is of paramount importance in building trustworthy and transparent systems, particularly considering the reliance of these systems on factors that may lack legal relevance or involve sensitive attributes. This study delves into the realm of explainability and fairness in LJP models, utilizing Swiss Judgement Prediction (SJP), the only available multilingual LJP dataset. We curate a comprehensive collection of rationales that `support' and `oppose' judgement from legal experts for 108 cases in German, French, and Italian. By employing an occlusion-based explainability approach, we evaluate the explainability performance of state-of-the-art monolingual and multilingual BERT-based LJP models, as well as models developed with techniques such as data augmentation and cross-lingual transfer, which demonstrated prediction performance improvement. Notably, our findings reveal that improved prediction performance does not necessarily correspond to enhanced explainability performance, underscoring the significance of evaluating models from an explainability perspective. Additionally, we introduce a novel evaluation framework, Lower Court Insertion (LCI), which allows us to quantify the influence of lower court information on model predictions, exposing current models' biases.
[ -0.544216513633728, -0.3317246437072754, 0.7760270237922668, 0.1233624741435051, -0.18891653418540955, -0.20314565300941467, -0.19552825391292572, -0.8505454659461975, -0.08796800673007965, 0.34212809801101685, -0.4038824439048767, -0.28286904096603394, -0.7509486079216003, -0.21663208305835724, -0.28940510749816895, 1.1006526947021484, -0.051409486681222916, 0.6792435050010681, -0.32663267850875854, -0.5591443777084351, -0.27875107526779175, -0.5380499958992004, -0.30563241243362427, -0.5084947347640991, 0.437850683927536, 0.16298647224903107, 0.8586673140525818, 0.49038881063461304, 0.1921018362045288, 0.23262958228588104, -0.22006075084209442, -0.4110673666000366, -0.22684696316719055, -0.12087782472372055, -0.4997980296611786, -0.6278916597366333, -0.3778785765171051, -0.3543386161327362, 0.5388083457946777, 1.0037901401519775, -0.5181095004081726, -0.027942176908254623, -0.18705931305885315, 1.081026554107666, -0.789250373840332, 0.17646749317646027, -0.5532585978507996, 0.5252730846405029, -0.07157589495182037, 0.21689756214618683, -0.4514962434768677, -0.37998372316360474, 0.07400745153427124, -0.5238788723945618, 0.30600306391716003, 0.22673337161540985, 0.6022903919219971, -0.06220781430602074, -0.19594593346118927, -0.2903648316860199, -0.3639508783817291, 0.49125468730926514, -0.8756968379020691, 0.5564417243003845, 0.08077138662338257, 0.905244767665863, 0.008666519075632095, -0.46694111824035645, -0.4929078221321106, -0.17711687088012695, -0.19541524350643158, 0.4502190947532654, -0.34564533829689026, -0.1461656093597412, 0.48647353053092957, -0.011520239524543285, -0.5999549031257629, 0.4026682674884796, -0.21577827632427216, -0.2315356731414795, 0.5994494557380676, -0.3036669194698334, 0.09765702486038208, -0.0710650235414505, -0.26261401176452637, 0.20778018236160278, -0.6076252460479736, 0.4641941487789154, 0.7648119330406189, 0.4920683801174164, -0.046930886805057526, 0.4464612305164337, -0.3334495723247528, 0.5643371343612671, 0.11457531899213791, -0.07240712642669678, 0.17909185588359833, -0.11740132421255112, -0.10499992966651917, 0.6290156841278076, 0.5087548494338989, 0.4854130446910858, 0.38023269176483154, -0.1685379147529602, -0.060097768902778625, -0.21016475558280945, -0.023740053176879883, -0.9006375074386597, 0.18093548715114594, 0.24029023945331573, -0.8039846420288086, -0.15571945905685425, 0.23487906157970428, -0.6188830733299255, -0.7469286322593689, -0.23350627720355988, -0.059240736067295074, -0.42962437868118286, -0.31800928711891174, 0.48508355021476746, -0.17910687625408173, 0.14627668261528015, 0.4320758879184723, -0.7389332056045532, 0.32994160056114197, 0.5380241274833679, 0.2714560031890869, 0.029714222997426987, -0.20978406071662903, -0.49511054158210754, 0.15909212827682495, -0.09208978712558746, 0.783085823059082, -0.30525603890419006, -0.2834815979003906, 0.33441558480262756, 0.1945652961730957, 0.09123203903436661, -0.5159398317337036, 0.8803591728210449, -0.5542942881584167, 0.18028318881988525, -0.33350101113319397, -0.37847593426704407, -0.4868062138557434, -0.023935582488775253, -0.7411198019981384, 0.42217347025871277, 0.031620245426893234, -0.9627752900123596, 0.9121735095977783, -0.7035676836967468, -0.684459388256073, 0.10727406293153763, -0.13397693634033203, -0.3972007930278778, 0.3157244324684143, 0.3649844527244568, 0.36880794167518616, -0.15111374855041504, 0.772709846496582, -0.8221843242645264, -0.4228443503379822, 0.262033611536026, -0.49511829018592834, 1.022530198097229, 0.2936457097530365, -0.3014426529407501, -0.1000988632440567, -0.7286562323570251, 0.04457293078303337, 0.09968806803226471, -0.003127551870420575, -0.0329320952296257, 0.24752426147460938, -0.016402097418904305, 0.38918057084083557, 0.04995798319578171, -0.49307751655578613, -0.2762289345264435, -0.545369029045105, 0.35211652517318726, 0.8936144113540649, -0.44455328583717346, 0.396475613117218, -0.20538052916526794, 0.7224622368812561, 0.09233777970075607, 0.2855137288570404, -0.1236748993396759, -0.4402882158756256, -0.4467363655567169, 0.08965137600898743, 0.652815580368042, 0.6288869380950928, -0.6039489507675171, 0.04852114990353584, -0.6455737352371216, -0.2693423926830292, -0.5607660412788391, -0.09617660939693451, 0.4244396686553955, 0.5277639031410217, 0.04060095548629761, -0.3202199935913086, -0.3781406581401825, -1.4682399034500122, -0.798924446105957, -0.33368751406669617, 0.13024082779884338, 0.38854172825813293, 0.6364501118659973, 0.2914736270904541, 0.7571945190429688, 0.09642618149518967, 0.19486168026924133, -0.47584593296051025, -0.020136771723628044, 0.6198564767837524, 0.2563985586166382, 0.8268323540687561, -1.0123475790023804, -0.3872738182544708, 0.25814148783683777, -0.8252241015434265, -0.06123674288392067, 0.06382688879966736, 0.05290541052818298, 0.23110175132751465, 0.17437556385993958, -0.0070198229514062405, 0.6062917113304138, 0.003323158249258995, -0.48830848932266235, 0.6528835892677307, -0.33255356550216675, 0.2867873013019562, -0.4484647810459137, -0.12840376794338226, 0.0033258055336773396, -0.3691693842411041, -0.46021172404289246, 0.208945170044899, 0.21149420738220215, 0.011480345390737057, -0.8284836411476135, 0.4337782859802246, -0.1698075830936432, -0.5076208710670471, 0.0015805517323315144, 0.2271709442138672, 0.11185044795274734, 0.3440714478492737, -0.05101313069462776, 0.33732783794403076, 0.5513019561767578, -0.36406591534614563, 0.036234669387340546, -0.07120373100042343, -0.7235199809074402, 1.0172258615493774, -0.4881574213504791, -0.46238794922828674, -0.3349197506904602, 0.19462499022483826, -0.5612421631813049, -0.20290736854076385, 0.10255894064903259, -0.4164562225341797, 0.3293095827102661, -0.49323001503944397, -0.6944875717163086, -0.2813904583454132, -0.10485293716192245, 0.33715206384658813, 0.29950982332229614, -0.6380031108856201, 0.8251830339431763, 0.32793527841567993, -0.3130072057247162, -0.8923665881156921, -0.8676394820213318, 0.09476342052221298, -0.5334138870239258, -0.7006190419197083, 0.3764176368713379, -0.2016557902097702, -0.4876689314842224, -0.022543445229530334, -0.004245081916451454, -0.2709645628929138, 0.3581978976726532, 0.37778303027153015, 0.03797781467437744, -0.18364377319812775, 0.10967492312192917, 0.3275997042655945, -0.07406175881624222, 0.3677344024181366, 0.025218989700078964, 0.05715423449873924, -0.3106542229652405, -0.7277034521102905, -0.5976918935775757, 0.46822085976600647, 0.1637495458126068, 0.10962840169668198, 0.47988826036453247, 0.3557135760784149, -0.394095778465271, -0.048581913113594055, -0.39577990770339966, 0.24663636088371277, -0.3363580107688904, 0.22554999589920044, -0.7478920817375183, -0.6999602913856506, 0.8500275611877441, 0.11493457853794098, -0.13435541093349457, 0.7309613823890686, 0.4158902168273926, 0.08556833118200302, 1.3059163093566895, 0.47823280096054077, -0.01544852927327156, 0.2306050956249237, 0.2587078809738159, 0.3964041769504547, -0.17260463535785675, -0.18891483545303345, -0.6443994641304016, 0.06557194888591766, -0.8993355631828308, 0.026495670899748802, 0.10671178996562958, 0.3983827233314514, -0.15609705448150635, 0.05189664661884308, -0.2711416184902191, 0.5895978212356567, 0.45670533180236816, 0.013546654023230076, 0.4568142890930176, 0.0572722852230072, -0.48212695121765137, -0.06580261141061783, -0.9312662482261658, -0.415170818567276, 0.9927324652671814, 0.44945526123046875, 0.4246334135532379, 0.20587258040905, 0.5917152166366577, 0.36099761724472046, 0.2808417081832886, -0.5579745769500732, 0.28124770522117615, -0.2998080551624298, -0.6517557501792908, -0.051902759820222855, -0.24096989631652832, -0.454033762216568, 0.45627328753471375, -0.4209249019622803, -0.8016005158424377, 0.41117075085639954, -0.06181495636701584, -0.5576750040054321, 0.21931815147399902, -0.7025260329246521, 0.7640978097915649, -0.44175729155540466, -0.6002368330955505, -0.3048316538333893, -0.6539779305458069, 0.46670737862586975, -0.17400816082954407, 1.0024038553237915, -0.24866610765457153, 0.2962108850479126, 0.5993665456771851, -0.3857367932796478, 0.47752243280410767, -0.41118866205215454, -0.25533416867256165, -0.03543367236852646, 0.12108127027750015, 0.2080075442790985, 0.21442048251628876, -0.5713496804237366, 0.30057716369628906, 0.3113909065723419, -0.3892311751842499, -0.8859853148460388, 0.8325444459915161, -0.3227151930332184, -0.5392805933952332, -0.49496862292289734, -0.38162580132484436, -0.08380461484193802, 0.17717674374580383, -0.002780004870146513, 0.16347253322601318, -0.27755847573280334, -0.04445555433630943, 0.46422991156578064, -0.4357307255268097, 0.34147214889526367, 0.9134975075721741, -0.35321497917175293, -0.2392609715461731, 0.8954261541366577, 0.33289194107055664, -0.041024383157491684, 0.10330830514431, 0.19896061718463898, -0.5048103332519531, -0.7895402312278748, -0.6168802976608276, 0.029519466683268547, -1.068947196006775, 0.15052731335163116, -0.3137415945529938, 0.004375859629362822, -0.3372647166252136, -0.31754446029663086, -0.12825536727905273, -0.915287435054779, 0.331082820892334, -0.2851913571357727, -0.05385139212012291, 0.6269358992576599, -0.3572060763835907, 0.1618482917547226, -0.3380182683467865, 0.22274157404899597, 0.032435342669487, 0.7402988076210022, -0.1815910041332245, -0.7695780992507935, -0.3070699870586395, -0.03080718219280243, 0.07161477953195572, -0.44173797965049744, 0.10506957024335861, -0.04595931991934776, 0.7451236248016357, 0.6485483646392822, 0.15968279540538788, 0.706782341003418, -0.7402787804603577, 0.6350964307785034, 0.4101906716823578, -0.9710376262664795, 0.6613060832023621, -0.21877045929431915, -0.03766332566738129, 0.6890762448310852, 0.16414332389831543, -0.12636269629001617, -0.38742756843566895, -0.7376794815063477, -0.7712802290916443, 1.0095463991165161, -0.059131525456905365, -0.10606638342142105, 0.4547027051448822, 0.4054536521434784, 0.7264306545257568, 0.2636917233467102, -1.018043875694275, -0.05741887912154198, -0.2391299605369568, 0.17858752608299255, -0.13131578266620636, -0.2356472760438919, -0.21549364924430847, -0.1663709580898285, 0.7127156257629395, -0.03772830218076706, 0.12934747338294983, -0.11109540611505508, -0.2608042061328888, 0.08222705125808716, 0.573632538318634, 0.4977194666862488, 1.1400651931762695, -0.38516876101493835, -0.11658138781785965, 0.19284923374652863, 0.15320713818073273, -0.1443294882774353, 0.5564702153205872, -0.13115684688091278, 0.13006669282913208, 0.5676339864730835, 0.7163271903991699, 0.02105128765106201, -0.7928489446640015, 0.6331872940063477, -0.24733726680278778, -0.5761309862136841, -0.5543882250785828, 0.048143524676561356, -0.1458209753036499, 0.4527587294578552, 0.15411576628684998, 0.08685082942247391, 0.5994325280189514, -0.5133056044578552, 0.0631418228149414, 0.27549105882644653, -0.7806971669197083, 0.0453590489923954, 0.8642688393592834, -0.17259371280670166, 0.05633104220032692, 0.044047627598047256, -0.07009667158126831, -0.3431466221809387, 0.6100428104400635, 0.07578420639038086, 0.48218265175819397, 0.028442488983273506, 0.24905940890312195, 0.2745876610279083, 0.12057989835739136, -0.15072588622570038, 0.25214630365371704, -0.0630294680595398, -0.7248880863189697, -0.4048057794570923, -0.3362457752227783, -0.28661590814590454, -0.20336143672466278, -1.1934804916381836, -0.0040076118893921375, -0.218793585896492, -0.060580063611269, 0.4067092835903168, -0.21072234213352203, -0.8018266558647156, 0.2176537811756134, 0.08342815190553665, 1.1180438995361328, -0.8066890239715576, 0.7168193459510803, 0.25564736127853394, -0.3718520402908325, -0.0953027680516243, -0.15460649132728577, -0.10550782084465027, -1.0693066120147705, 0.6454249024391174, 0.3741898834705353, -0.13290688395500183, -0.6877228617668152, -0.3226231038570404, -0.188851460814476, 0.7676582932472229, 0.8069040775299072, -0.6801454424858093, 0.11476222425699234, 0.18505597114562988, 0.5443575382232666, -0.31656891107559204, 0.3095569610595703, 0.6147368550300598, 0.8907228708267212, -0.051809269934892654, -0.7316921353340149, 0.04278963804244995, -0.2423952966928482, 0.010407873429358006, -0.1377403736114502, -0.22415706515312195, 0.2717297375202179, -0.5230532884597778, -0.1868705004453659, 0.007351098582148552, 0.4442788362503052, 0.17009136080741882, 0.6036439538002014, 0.6747561097145081, 0.6234085559844971, 0.6794765591621399, -0.38660019636154175, 1.4784352779388428, -0.39122474193573, 0.09274329990148544, 1.3182148933410645, -0.45433640480041504, 0.7131378650665283, 0.6350044012069702, -0.3259497284889221, 0.7299947142601013, 0.7427712678909302, -0.04296785965561867, 0.5865744352340698, 0.43411925435066223, 0.03745540231466293, -0.40973609685897827, -0.36066940426826477, -0.4069637656211853, 0.33006781339645386, 0.040909718722105026, -0.5410574674606323, -0.18923096358776093, 0.04262956976890564, -0.0284062922000885, 0.40463685989379883, -0.4463256895542145, 0.6244750618934631, -0.17153917253017426, -0.700189471244812, 0.22448882460594177, 0.1684093326330185, 0.1740778684616089, -0.44935235381126404, -0.019660435616970062, -0.09946102648973465, 0.20390625298023224, -0.22216419875621796, -0.9729628562927246, 0.12313155084848404, -0.23828157782554626, -0.5096923112869263, -0.4844774007797241, 0.4364146888256073, -0.010091475211083889, -0.6994598507881165, 0.7056471705436707, 0.6535343527793884, 0.2218032032251358, 0.1795724630355835, -1.1779308319091797, -0.23840051889419556, 0.012197459116578102, -0.056572578847408295, 0.636188805103302, 0.6934423446655273, -0.08723980188369751, 0.735050618648529, 0.35665544867515564, 0.08336079120635986, -0.2843201756477356, 0.550510048866272, 0.7856164574623108, -0.6078978180885315, -0.5384001135826111, -0.789867103099823, 0.6960783004760742, -0.10191022604703903, 0.14698518812656403, 0.49592775106430054, 0.5937248468399048, 0.774410605430603, 0.14258144795894623, 0.993053674697876, 0.05642452836036682, 0.7708132266998291, -0.7847829461097717, 0.6981623768806458, -0.6241199970245361, 0.37007632851600647, -0.07696603983640671, -0.4624573290348053, -0.2605629861354828, 0.5923358798027039, -0.35813888907432556, 0.2448093444108963, 0.4956822097301483, 0.4481446444988251, -0.11685976386070251, 0.24679821729660034, 0.41239792108535767, 0.19163767993450165, 0.03611081838607788, 0.5734620094299316, 0.7236735224723816, -0.14539845287799835, 0.5598320960998535, -0.24188239872455597, -0.13731029629707336, -0.27373597025871277, -1.1813210248947144, -0.7441859841346741, -0.07052268832921982, -0.04090847820043564, -0.39365944266319275, 0.24881866574287415, 0.07807295769453049, 0.6197601556777954, -1.165173888206482, -0.27644777297973633, -0.03460222855210304, 0.44966426491737366, -0.24875949323177338, -0.2222253978252411, 0.3564739525318146, -0.23763078451156616, -0.4805636703968048, 0.3726089298725128, 0.16744360327720642, -0.03834299370646477, -0.11119182407855988, -0.28997695446014404, 0.022173728793859482, -0.1376243382692337, 0.4793684184551239, 0.19128267467021942, -1.019980549812317, -0.14807401597499847, -0.694273054599762, 0.5088618993759155, 0.12949109077453613, 0.6825484037399292, -0.583724856376648, 0.9648398160934448, 0.1691242754459381, 0.23597730696201324, 0.4461157023906708, -0.2319013625383377, 0.9999154210090637, -0.23078766465187073, 0.2710433006286621, 0.009411304257810116, 0.9969320297241211, 0.13833539187908173, -0.1490563601255417, 0.6774580478668213, -0.05895412340760231, -0.1818840503692627, -0.866718053817749, 0.2873859405517578, -0.6664637327194214, -0.6288938522338867, 0.47953954339027405, -0.5786119103431702, -0.026570241898298264, -0.2737274169921875, 0.031934041529893875, -0.15582799911499023, -0.5071590542793274, 0.6037731170654297, 1.0562949180603027, -0.09173153340816498, -0.0455341599881649, -1.0965595245361328, 0.4014686346054077, 0.3456951677799225, -0.4860139489173889, 0.1262613981962204, 0.5726040601730347, 0.158781498670578, 0.07831526547670364, 0.27128762006759644, -0.2866092324256897, 0.4940461218357086, -0.29481205344200134, 0.026702865958213806, -0.021136699244379997, -0.07960296422243118, -0.6666136980056763, 0.42612069845199585, -0.005466175265610218, 0.47122639417648315 ]
http://arxiv.org/abs/2402.17011v1
http://arxiv.org/pdf/2402.17011v1
DiffuCOMET: Contextual Commonsense Knowledge Diffusion
2024-02-26T20:35:34
2024-02-26T20:35:34
Silin Gao, Mete Ismayilzada, Mengjie Zhao, Hiromi Wakaki, Yuki Mitsufuji, Antoine Bosselut
cs.CL
cs.CL
Inferring contextually-relevant and diverse commonsense to understand narratives remains challenging for knowledge models. In this work, we develop a series of knowledge models, DiffuCOMET, that leverage diffusion to learn to reconstruct the implicit semantic connections between narrative contexts and relevant commonsense knowledge. Across multiple diffusion steps, our method progressively refines a representation of commonsense facts that is anchored to a narrative, producing contextually-relevant and diverse commonsense inferences for an input context. To evaluate DiffuCOMET, we introduce new metrics for commonsense inference that more closely measure knowledge diversity and contextual relevance. Our results on two different benchmarks, ComFact and WebNLG+, show that knowledge generated by DiffuCOMET achieves a better trade-off between commonsense diversity, contextual relevance and alignment to known gold references, compared to baseline knowledge models.
[ -0.15641139447689056, -0.5556231141090393, 0.7259687781333923, -0.15111438930034637, -0.11616376787424088, 0.0013359744334593415, 0.23045510053634644, -0.2841583788394928, -0.2206113040447235, 0.03344563767313957, -0.6906169652938843, -0.3193216025829315, -0.8374922871589661, -0.11669664084911346, -0.5450606942176819, 1.1739403009414673, 0.12402419000864029, -0.10827847570180893, -0.43032294511795044, -0.364300400018692, -0.2916114628314972, 0.016179006546735764, -0.1668645143508911, -0.46295619010925293, 0.5971775054931641, 0.17019614577293396, 0.6656509041786194, 0.33500581979751587, 0.09614824503660202, 0.28949153423309326, -0.46167832612991333, 0.17032493650913239, -0.7880098223686218, 0.17276686429977417, -0.613982617855072, -0.12955260276794434, 0.09902649372816086, 0.07045750319957733, 0.31672340631484985, 1.1481298208236694, -0.3302910625934601, 0.2334972769021988, 0.19437070190906525, 0.7016646265983582, -0.6343268156051636, -0.2236078530550003, -0.47324588894844055, -0.1261294186115265, -0.01987493596971035, 0.2906518876552582, -0.13849210739135742, -0.5798501968383789, 0.6460816264152527, -1.0457918643951416, 0.4888773560523987, -0.09952416270971298, 0.4871166944503784, 0.450535386800766, -0.8346596956253052, -0.525581955909729, -0.5040804743766785, 0.6751380562782288, -0.5536375641822815, 0.294772744178772, 0.22329513728618622, 0.3039393723011017, 0.09576668590307236, -1.1298528909683228, -0.6933808922767639, -0.21750491857528687, -0.4228384792804718, 0.2305499166250229, -0.41070735454559326, -0.4463474154472351, 0.11286509782075882, 0.3336781859397888, -0.4916073679924011, -0.25147348642349243, -0.34972110390663147, -0.02244744636118412, 0.41980624198913574, 0.10523760318756104, 0.320375919342041, -0.08441752940416336, -0.7667522430419922, 0.0108356773853302, -0.4221305549144745, -0.3673233985900879, 0.39623868465423584, -0.2613449990749359, -0.12737122178077698, 0.16873575747013092, -0.32959651947021484, 0.6941223740577698, 0.1806279718875885, -0.39048901200294495, 0.4377308189868927, -0.36363619565963745, 0.03427378460764885, 0.1662573218345642, 0.3274911344051361, 0.5291344523429871, -0.1725287288427353, -0.14973478019237518, 0.05763047933578491, -0.16176865994930267, 0.13447508215904236, -0.5207051038742065, -0.24765731394290924, 0.007154372520744801, -0.3882368206977844, -0.11619456857442856, -0.006700574886053801, -0.7919756174087524, -0.5671190023422241, -0.33819347620010376, 0.47960084676742554, -0.5408653616905212, -0.6245816349983215, 0.23937854170799255, -0.9503923654556274, -0.03799420967698097, 0.7685800194740295, -0.7019121050834656, 0.1714218407869339, 0.535751223564148, 0.9763302206993103, -0.5238812565803528, -0.28771400451660156, -0.1804858297109604, 0.3079708516597748, -0.026882659643888474, 0.7789687514305115, -0.3296935260295868, -0.19236962497234344, 0.0003356355591677129, -0.15390656888484955, -0.15953905880451202, -0.5593916773796082, 0.39605221152305603, -0.6265291571617126, 0.20008935034275055, -0.6206900477409363, -0.9185747504234314, -0.47021204233169556, 0.2937183380126953, -0.8350819945335388, 0.6471154689788818, 0.3462485373020172, -0.8851457238197327, 0.6962799429893494, -0.8732918500900269, -0.49306735396385193, 0.12823103368282318, 0.4120933413505554, 0.07537607848644257, 0.059180859476327896, -0.01608896069228649, 0.37233537435531616, 0.15502211451530457, 0.34103596210479736, -0.32785865664482117, -0.1488599181175232, 0.1552012711763382, -0.6463533043861389, 0.8428180813789368, 0.38791540265083313, -0.1197507232427597, -0.4238996207714081, -0.4874139130115509, -0.927976131439209, 0.020559733733534813, -0.05018921196460724, -0.7126907706260681, -0.17233799397945404, -0.018360136076807976, -0.13713383674621582, 0.06353048980236053, -0.3579833507537842, 0.18488050997257233, 0.1377963274717331, 0.48705407977104187, 0.4208751618862152, 0.2079048603773117, 0.736498236656189, -0.5671325325965881, 0.198448047041893, 0.37153854966163635, 0.1024981141090393, 0.0537080392241478, -0.5882994532585144, -0.19668810069561005, -0.18779726326465607, 0.07606316357851028, 0.422507107257843, -0.7650269865989685, -0.22009190917015076, -0.1213972344994545, -0.43398088216781616, -0.14493627846240997, 0.11215268075466156, -0.016280878335237503, 1.0375288724899292, 0.5096972584724426, 0.0566675178706646, -0.061292290687561035, -0.6177528500556946, -0.30164721608161926, -0.06706792861223221, -0.003612204920500517, 0.12984929978847504, 0.6970978379249573, -0.26858898997306824, 1.0241146087646484, -0.8465890884399414, -0.0668347030878067, -0.20789775252342224, 0.46698683500289917, 0.15394972264766693, 0.306580513715744, 0.6777417063713074, -1.2541486024856567, -0.32693716883659363, -0.10382182896137238, -0.5799559354782104, -0.15445969998836517, -0.14633968472480774, -0.15642677247524261, -0.3719061017036438, 0.5125992894172668, -0.5295655131340027, 0.3537668287754059, 0.5107330083847046, -0.5964707136154175, 0.492280513048172, 0.010536663234233856, 0.5114921927452087, -1.022411584854126, 0.09067515283823013, -0.19213177263736725, -0.27364927530288696, -0.556642472743988, -0.1810968816280365, -0.023038921877741814, 0.39205923676490784, -0.8087013363838196, 0.9470230937004089, -0.30913954973220825, -0.050254933536052704, 0.2319335788488388, 0.6034095287322998, 0.2709333002567291, 0.13315241038799286, 0.1085735335946083, 0.5047386288642883, 0.27187907695770264, -0.6820921301841736, 0.3666256070137024, 0.41324007511138916, -0.510421872138977, 0.9552579522132874, -0.30969351530075073, -0.3459916412830353, -0.1159718930721283, 0.29818665981292725, -1.3796964883804321, -0.2032853364944458, -0.041978124529123306, -0.2853730320930481, -0.13558679819107056, -0.6008551716804504, -0.5112514495849609, -0.04648677632212639, -0.06956708431243896, 0.7183372974395752, 0.5959013104438782, -0.8154628872871399, 0.4478679299354553, 0.04743075370788574, -0.14285285770893097, -0.5692591667175293, -0.7677886486053467, -0.3370289206504822, -0.6008786559104919, -0.61042320728302, 0.39222589135169983, -0.14094889163970947, -0.5282583832740784, 0.21072396636009216, -0.16001218557357788, -0.3726104497909546, 0.1856372207403183, -0.02853553742170334, -0.10012416541576385, -0.14268110692501068, 0.5072004199028015, 0.6013579964637756, 0.044428516179323196, -0.20218123495578766, -0.4000808298587799, 0.09801884740591049, 0.2446313500404358, -0.5687083601951599, -0.08690398186445236, 0.23543819785118103, 0.4648257791996002, 0.10014989227056503, 0.7083415985107422, 0.902565598487854, -0.03961489722132683, -0.11914205551147461, -0.5501410961151123, -0.12326735258102417, -0.39107272028923035, 0.189473494887352, -0.07560044527053833, -0.9513291120529175, 0.618082582950592, -0.6593067049980164, 0.3248727321624756, 0.47613653540611267, 0.31979119777679443, -0.24535220861434937, 0.20855732262134552, 0.17358709871768951, 0.3518562614917755, 0.3051563501358032, -0.2767172157764435, -0.15779004991054535, -0.824201226234436, -0.08568213135004044, 0.009895472787320614, -0.3515571057796478, -0.23827584087848663, -0.5007176399230957, 0.16351169347763062, 0.3819721043109894, -0.27789440751075745, 0.09306823462247849, -0.25267109274864197, 0.5913237929344177, 0.44459134340286255, 0.20902085304260254, 0.905976414680481, -0.1749052256345749, -0.10556938499212265, 0.23729893565177917, -0.7705538868904114, -0.40965184569358826, 0.7887672185897827, 0.12951792776584625, 0.5690134763717651, 0.7918434143066406, 0.8245756030082703, 0.6037700772285461, 0.4629097878932953, -0.3404909074306488, 0.014429260976612568, -0.26613089442253113, -0.685742974281311, -0.27107590436935425, -0.4303889274597168, -0.9269101023674011, 0.34414616227149963, -0.07888838648796082, -0.6192586421966553, 0.18433646857738495, 0.1548205018043518, -0.5333849191665649, 0.3500641882419586, -0.9217711091041565, 0.857604444026947, 0.2428697645664215, -0.5500303506851196, -0.213099405169487, -0.6047927737236023, 0.7041678428649902, 0.07145070284605026, 0.4155657887458801, -0.1225438192486763, -0.10672102868556976, 0.6305425763130188, -0.2548723518848419, 0.9454973340034485, -0.10495925694704056, -0.0865514725446701, 0.35474613308906555, 0.4159312844276428, 0.10501663386821747, 0.5172327756881714, -0.013203737325966358, 0.26699113845825195, 0.11544384807348251, -0.4564023017883301, -0.6219419836997986, 0.5598708391189575, -0.5611016750335693, -0.45240387320518494, -0.36750614643096924, -0.5968431234359741, 0.01215073186904192, 0.11403306573629379, 0.32415083050727844, 0.35268816351890564, -0.4133314788341522, 0.001454077661037445, 0.8833455443382263, -0.19406941533088684, 0.48611316084861755, 0.5254039764404297, 0.13051126897335052, -0.1837121546268463, 0.43657973408699036, -0.038762450218200684, 0.6116501688957214, 0.38558584451675415, 0.4422200918197632, -0.6518051028251648, -0.3671337366104126, -0.4997116029262543, 0.07567387819290161, -0.9159390330314636, -0.320923388004303, -0.6818602681159973, 0.05928622558712959, -0.289175420999527, -0.42470407485961914, -0.23950104415416718, -0.5140430331230164, -0.278176873922348, -0.34870806336402893, 0.8071386814117432, 0.9873601198196411, -0.5644314885139465, 0.2346576303243637, -0.6652131080627441, 0.4171549081802368, 0.5953359603881836, 0.14475418627262115, 0.19012147188186646, -0.604852557182312, -0.08136814087629318, 0.033485740423202515, -0.2981387674808502, -1.0847018957138062, 0.10420943796634674, 0.07456137984991074, 0.8137612342834473, 0.4161148965358734, 0.3182547688484192, 0.5541937351226807, -0.3132518529891968, 0.9900795221328735, 0.28723347187042236, -0.8055221438407898, 0.4595506191253662, -0.46814078092575073, 0.5307148694992065, 0.6529659032821655, 0.6278496384620667, -0.5155738592147827, -0.23059594631195068, -0.7240510582923889, -0.8501814603805542, 0.2924407720565796, 0.31979888677597046, 0.248388409614563, -0.21008294820785522, 0.23159213364124298, 0.6663652658462524, 0.20709501206874847, -0.6128129363059998, -0.2546736001968384, -0.39868640899658203, -0.3234911262989044, 0.1740076243877411, -0.11858197301626205, -0.2829626798629761, -0.2590683102607727, 0.2597463130950928, 0.026680979877710342, -0.24806265532970428, 0.2949460446834564, -0.6155598759651184, 0.5521782040596008, 0.07632286101579666, 0.6276264190673828, 0.8610297441482544, -0.06769092381000519, 0.2978051006793976, 0.4377797245979309, -0.7394446134567261, 0.09342446178197861, 0.1569964736700058, -0.20708581805229187, 0.08843781054019928, 0.733834981918335, 0.4362342059612274, 0.4622916281223297, -0.48325681686401367, 0.6565068364143372, -0.12260992079973221, -0.43366146087646484, 0.034949373453855515, 0.14754365384578705, 0.5731862783432007, 0.6276596188545227, 0.4130859076976776, 0.14267437160015106, 0.6161449551582336, -0.26243627071380615, 0.6076828837394714, 0.02194708213210106, -0.19020378589630127, 0.19206076860427856, 0.35049617290496826, 0.42553043365478516, 0.2774502635002136, 0.5840198397636414, -0.44142916798591614, -0.35476163029670715, 0.46526584029197693, 0.15791629254817963, 0.5245058536529541, -0.13055583834648132, 0.5443633794784546, 0.5950543284416199, 0.009672091342508793, -0.37042883038520813, -0.43946966528892517, -0.4957687556743622, -0.7819961309432983, -0.12413351237773895, -0.5064714550971985, -0.18582656979560852, -0.22783520817756653, -0.6442109942436218, -0.18334561586380005, -0.02949482947587967, -0.022629326209425926, -0.12287748605012894, -0.21149833500385284, -0.697939932346344, -0.02548317424952984, -0.05600396916270256, 0.8251957893371582, -1.0422146320343018, 0.5489553213119507, 0.2660844624042511, -0.4680536985397339, -0.3559792637825012, 0.146827831864357, 0.3248811662197113, -0.5548784732818604, 0.9022930860519409, -0.09966051578521729, -0.029085859656333923, -0.025250444188714027, -0.15737700462341309, -0.8638010025024414, 1.5977375507354736, 0.29897698760032654, -0.6386690139770508, 0.2882861793041229, -0.10159934312105179, 0.22500582039356232, -0.2808856964111328, 0.42187851667404175, 0.5554580092430115, 0.47470664978027344, 0.6649293303489685, -0.6127566695213318, 0.019699180498719215, 0.160923570394516, -0.10137748718261719, -0.056483592838048935, -0.3283011019229889, 0.6281945705413818, -0.36674076318740845, -0.33519408106803894, -0.06321647763252258, 0.5006549954414368, 0.35829174518585205, 0.6782689690589905, 0.5694300532341003, 0.7810089588165283, 0.908241868019104, -0.025989847257733345, 0.6358288526535034, 0.1775301694869995, 0.3856201171875, 1.4243110418319702, -0.1607368439435959, 0.602243959903717, 0.4887012243270874, -0.07983831316232681, 0.8619098663330078, 0.5885080695152283, -0.019024405628442764, 0.7614588141441345, 0.03403105586767197, -0.44422006607055664, -0.058313727378845215, 0.047670282423496246, -0.3582826554775238, 0.18347419798374176, 0.11463414877653122, -0.21840448677539825, -0.6496551632881165, -0.025554051622748375, 0.006889600306749344, 0.144990935921669, -0.1096789762377739, 0.9715367555618286, -0.024042930454015732, -0.6461657285690308, 0.1940324455499649, -0.617430567741394, 0.662645697593689, -0.5498113632202148, -0.40748482942581177, -0.7663483619689941, -0.04273170605301857, -0.1642150729894638, -1.0595226287841797, 0.39225444197654724, -0.3292180597782135, -0.2503289580345154, -0.23055392503738403, 0.4944217801094055, -0.5984914302825928, -0.23444122076034546, 0.285100519657135, 0.6597788333892822, -0.008495701476931572, 0.05438195541501045, -0.6763041615486145, -0.2856433689594269, -0.03655534237623215, -0.18868805468082428, 0.285221129655838, 0.8886746764183044, 0.2750284671783447, 0.49860239028930664, 0.6523318290710449, -0.3154919147491455, 0.07669397443532944, 0.14904214441776276, 0.6620016098022461, -0.3264603316783905, -0.5103469491004944, -0.9237150549888611, 0.908216655254364, -0.4125773310661316, -0.49259281158447266, 0.6199274063110352, 0.3064022660255432, 0.7458751201629639, -0.17844946682453156, 0.6476874351501465, -0.06233614310622215, 0.4554683566093445, -0.5672638416290283, 1.0019605159759521, -0.7456905841827393, 0.3492564857006073, -0.43931931257247925, -0.6178452372550964, 0.06109872832894325, 0.5473480820655823, -0.15689358115196228, 0.07337608933448792, 0.578228235244751, 0.5448863506317139, -0.43959441781044006, -0.0083809494972229, 0.4098658263683319, 0.10982271283864975, 0.01873674988746643, 0.48357313871383667, 1.095847249031067, -0.3294472396373749, 0.2726231515407562, -0.001599509152583778, -0.41160061955451965, -0.12766024470329285, -1.1023622751235962, -0.589191198348999, -0.8782997131347656, -0.5270153284072876, -0.03487025573849678, 0.11780936270952225, 0.22361288964748383, 0.741274356842041, -0.28681957721710205, 0.04266577214002609, -0.14730171859264374, 0.5856369137763977, -0.3455888628959656, -0.30014756321907043, 0.27074649930000305, -0.20596280694007874, -0.33985862135887146, -0.02686084434390068, 0.0622936449944973, 0.16467583179473877, -0.12418430298566818, -0.18193764984607697, -0.43779081106185913, 0.17196352779865265, 0.7750076055526733, -0.17895402014255524, -0.6949558854103088, 0.002033750992268324, -0.2433713674545288, 0.17101798951625824, -0.22838282585144043, 0.7245498299598694, -0.8598959445953369, 0.22460994124412537, 0.580036461353302, 0.38934123516082764, 0.7322679758071899, -0.011285030283033848, 0.46446171402931213, -0.6817505955696106, 0.0804910883307457, 0.13534997403621674, 0.3690069019794464, 0.4164878726005554, -0.4192616045475006, 0.5732390880584717, 0.480840265750885, -0.28447747230529785, -0.46376967430114746, 0.5125466585159302, -0.9757387042045593, -0.7973517179489136, 1.3320817947387695, -0.25322091579437256, 0.005200166255235672, -0.5537070631980896, -0.012475877068936825, 0.15473125874996185, -0.5343204736709595, 0.6198212504386902, 0.5809709429740906, -0.08454038947820663, -0.35724714398384094, -0.4841402769088745, 0.7788025736808777, -0.06828437000513077, -0.737942636013031, 0.3014177680015564, 0.6367955207824707, 0.7431970834732056, 0.2369789332151413, 0.4658729135990143, -0.06177712604403496, 0.33609509468078613, 0.38366663455963135, -0.44458502531051636, -0.06661336869001389, 0.06051097437739372, 0.09980695694684982, 0.13481810688972473, -0.16566695272922516, 0.2031918317079544 ]
http://arxiv.org/abs/2402.17010v1
http://arxiv.org/pdf/2402.17010v1
Can Large Language Models Recall Reference Location Like Humans?
2024-02-26T20:35:32
2024-02-26T20:35:32
Ye Wang, Xinrun Xu, Rui Xie, Wenxin Hu, Wei Ye
cs.CL
cs.CL, cs.AI
When completing knowledge-intensive tasks, humans sometimes need not just an answer but also a corresponding reference passage for auxiliary reading. Previous methods required obtaining pre-segmented article chunks through additional retrieval models. This paper explores leveraging the parameterized knowledge stored during the pre-training phase of large language models (LLMs) to independently recall reference passage from any starting position. We propose a two-stage framework that simulates the scenario of humans recalling easily forgotten references. Initially, the LLM is prompted to recall document title identifiers to obtain a coarse-grained document set. Then, based on the acquired coarse-grained document set, it recalls fine-grained passage. In the two-stage recall process, we use constrained decoding to ensure that content outside of the stored documents is not generated. To increase speed, we only recall a short prefix in the second stage, then locate its position to retrieve a complete passage. Experiments on KILT knowledge-sensitive tasks have verified that LLMs can independently recall reference passage location in various task forms, and the obtained reference significantly assist downstream tasks.
[ -0.06554747372865677, -0.42948517203330994, 0.8397943377494812, -0.08777879178524017, -0.30667251348495483, -0.3069073259830475, -0.23930850625038147, -0.5055688619613647, 0.008759635500609875, 0.715425431728363, -0.4519604742527008, -0.26858341693878174, -0.4894944131374359, 0.0757475197315216, -0.473226934671402, 0.7074657082557678, -0.031092412769794464, -0.2175375521183014, -0.2850759029388428, 0.16023777425289154, -0.16245947778224945, -0.6762205362319946, -0.810820460319519, -0.4989977180957794, 0.8467530012130737, 0.3891231119632721, 0.35497117042541504, 0.8074250221252441, 0.23580673336982727, 0.2483801692724228, 0.03230184316635132, 0.14853155612945557, -0.3776434659957886, 0.2254115641117096, -0.47520384192466736, -0.6568392515182495, -0.09828248620033264, -0.03605261817574501, 0.8761037588119507, 0.5936744809150696, -0.209796741604805, -0.11460983753204346, 0.10058228671550751, 0.5256639719009399, -0.5836894512176514, 0.15338945388793945, -0.9269912838935852, -0.16781966388225555, -0.11136975884437561, -0.3557824492454529, -0.5610107779502869, -0.11361232399940491, 0.17558524012565613, -0.5174698829650879, 0.48972415924072266, 0.14299583435058594, 0.8710951805114746, 0.16765573620796204, -0.5074818134307861, -0.35765358805656433, -0.7419716715812683, 0.5705460906028748, -0.5176026225090027, 0.6027055978775024, 0.9527269601821899, -0.05843351408839226, -0.03843092545866966, -0.6793432235717773, -0.5314396619796753, -0.23889778554439545, -0.3417772352695465, -0.31533515453338623, 0.4330746531486511, -0.16804470121860504, 0.2003515511751175, -0.28637000918388367, -0.1737930029630661, -0.06487898528575897, -0.5160679817199707, -0.25058096647262573, 0.39025381207466125, -0.06630481779575348, -0.016847919672727585, -0.24088630080223083, -0.2699555456638336, -0.3259226083755493, -0.8601787090301514, 0.05107204243540764, 0.16120654344558716, 0.36938005685806274, 0.1016845628619194, 0.16972658038139343, -0.1747523546218872, 0.5473856329917908, 0.28226932883262634, -0.2774326503276825, 0.18269918859004974, -0.31245338916778564, 0.11274390667676926, -0.07316466420888901, 0.621260941028595, -0.2374507635831833, 0.3167165517807007, -0.439008891582489, -0.2906261384487152, -0.7779368758201599, 0.6102756857872009, -0.5981303453445435, -0.25894343852996826, -0.23313623666763306, -0.19972363114356995, 0.2768653929233551, 0.010723354294896126, -0.29792138934135437, -0.4772967994213104, -0.4307706654071808, 0.3028578460216522, -0.546407163143158, 0.02423960156738758, -0.015996398404240608, 0.06989508122205734, 0.24379248917102814, 0.33406001329421997, -1.1297245025634766, 0.10595233738422394, 0.6187850832939148, 0.5301733613014221, -0.06639833003282547, -0.6458903551101685, -0.5540752410888672, 0.6923257112503052, -0.24492791295051575, 0.7082185745239258, -0.7253638505935669, -0.35589584708213806, -0.04775024577975273, 0.04241399094462395, -0.19396349787712097, -0.5264090299606323, 0.5022627115249634, -1.0162885189056396, -0.1695479303598404, -0.5625759959220886, -0.4146840572357178, -0.24457846581935883, 0.42567014694213867, -0.6159711480140686, 0.9353089928627014, -0.09670590609312057, -0.7856791615486145, 0.16007785499095917, 0.08490272611379623, -0.4713520407676697, -0.36682990193367004, -0.3518482744693756, -0.17509129643440247, 0.048466961830854416, 0.1518055945634842, 0.427638441324234, -0.2750268578529358, 0.17584961652755737, -0.0951780304312706, -0.30805715918540955, 0.08310233056545258, -0.28786367177963257, 0.3236856162548065, -0.13690511882305145, -0.029212454333901405, -0.19986900687217712, -0.7227556109428406, -0.036927975714206696, -0.02422495372593403, -0.70211261510849, -0.9194931387901306, 0.21045096218585968, -0.46772176027297974, 0.4020101726055145, 0.35359862446784973, -0.3990676701068878, 0.10587642341852188, 0.0588371604681015, 0.1293584555387497, 0.5265206694602966, 0.25331392884254456, 0.5917339324951172, -0.21257396042346954, 0.21393346786499023, 0.1607232242822647, -0.2732016444206238, -0.3357885777950287, 0.12865129113197327, -1.0851589441299438, 0.1114526093006134, 0.15246015787124634, 0.4865652918815613, -0.8754284977912903, 0.26151514053344727, -0.3480890989303589, -0.22014471888542175, -0.10480067133903503, 0.42823630571365356, 0.5270324945449829, 0.5567837357521057, 0.23257514834403992, -0.025900131091475487, -0.4440673291683197, -0.8202433586120605, 0.16556695103645325, -0.4307597577571869, -0.2738516330718994, 0.27869656682014465, 0.4446828365325928, 0.14509403705596924, 0.7818940281867981, -0.5329001545906067, -0.23450419306755066, -0.07657252997159958, 0.2347533404827118, 0.07549535483121872, 0.5609275102615356, 0.15090462565422058, -0.8251197338104248, -0.11283355951309204, -0.25714781880378723, -0.6972675919532776, -0.04781639203429222, -0.310935378074646, -0.34815704822540283, -0.06904473900794983, 1.04053795337677, -0.7065098285675049, -0.03304462879896164, 0.15748438239097595, -0.35949182510375977, 0.532974123954773, -0.6439695954322815, -0.04931919276714325, -1.0177372694015503, 0.36252477765083313, -0.27649006247520447, -0.2434401512145996, -0.41453880071640015, 0.023485001176595688, 0.51073157787323, 0.22565223276615143, -0.14424514770507812, 0.5885040163993835, -0.7946128249168396, -0.022996367886662483, -0.36559218168258667, 0.21110452711582184, 0.16831830143928528, 0.5415564179420471, 0.5499304533004761, 0.7260541319847107, 0.10757704824209213, -0.810714066028595, -0.27608248591423035, 0.26662781834602356, -0.3368241488933563, 0.4729901850223541, -0.3810679018497467, 0.5120445489883423, -0.45486482977867126, 0.4655786156654358, -0.7020697593688965, -0.10814682394266129, -0.12674450874328613, -0.1458313763141632, 0.5393370985984802, -0.09603866189718246, -0.6341564059257507, -0.2728310227394104, 0.10740884393453598, 0.49952977895736694, 0.3258322775363922, -0.13151367008686066, 0.49941378831863403, 0.33037787675857544, -0.5850085616111755, -0.5779867172241211, -0.2492608278989792, -0.16565057635307312, -0.024203287437558174, -0.15757666528224945, 0.05447753518819809, 0.17973877489566803, 0.1264726221561432, -0.1838824450969696, -0.11368674039840698, -0.37898674607276917, -0.048012908548116684, 0.21557430922985077, 0.20197023451328278, 0.16307705640792847, 0.41364210844039917, -0.2517743408679962, -0.08544106781482697, 0.0637122243642807, -0.53774094581604, 0.5184399485588074, 0.3183932900428772, -0.45644450187683105, -0.07891334593296051, 0.45990240573883057, 0.523482620716095, -0.34597882628440857, 0.6006087064743042, 0.5677977800369263, -0.4576728641986847, 0.006760753225535154, -0.912189781665802, -0.4281400442123413, -0.432940274477005, 0.6540166735649109, -0.4190579056739807, -0.731193482875824, 0.4283025562763214, 0.21232442557811737, -0.017249707132577896, 0.08229793608188629, 0.25955620408058167, -0.20342238247394562, 0.49385887384414673, 0.6830499172210693, -0.2923271059989929, 0.466016948223114, -0.03154588118195534, 0.01655089110136032, -0.9734709858894348, -0.5187955498695374, -0.7603441476821899, -0.3744829297065735, 0.22765788435935974, -0.7424001693725586, 0.4583854675292969, 0.6219393610954285, -0.27859625220298767, 0.36846601963043213, 0.14561596512794495, 0.6601906418800354, 0.913423478603363, 0.317143976688385, 0.41977834701538086, -0.011047560721635818, -0.5871852040290833, 0.06495723873376846, -0.630731999874115, -0.32848286628723145, 0.8629459738731384, 0.14559367299079895, 0.7172839641571045, -0.31990379095077515, 0.8451973795890808, -0.17779476940631866, 0.24052220582962036, -0.4462703764438629, 0.612507700920105, -0.02662772685289383, -0.7640074491500854, -0.5077180862426758, -0.23702800273895264, -0.8553434610366821, 0.2357829362154007, 0.014977732673287392, -0.9310429096221924, 0.1530350297689438, 0.14100761711597443, -0.5460465550422668, 0.33896756172180176, -0.4345821440219879, 0.4011012613773346, -0.04085302725434303, -0.5643627047538757, -0.2729651629924774, -0.8279514908790588, 0.21662959456443787, -0.3459527790546417, 0.25109079480171204, -0.017608894035220146, -0.016713285818696022, 0.6722379922866821, -0.17445363104343414, 0.9877201914787292, -0.28776249289512634, -0.12626107037067413, 0.40926438570022583, 0.15808673202991486, 0.8027804493904114, -0.06929484009742737, -0.31547120213508606, -0.21543902158737183, -0.07115976512432098, -0.3014362156391144, -0.49516060948371887, 0.6273922324180603, -0.6731669306755066, -0.6755204200744629, -0.09486885368824005, -0.6897714734077454, -0.451040118932724, 0.38179904222488403, 0.0969778448343277, 0.3338487446308136, 0.007528792135417461, 0.21370108425617218, 0.79860520362854, 0.0685400515794754, 0.596697211265564, 0.9510005116462708, 0.1221436932682991, -0.08861493319272995, 0.6755272746086121, 0.04195927828550339, 0.21370893716812134, 0.7800812125205994, -0.030504988506436348, -0.5068482756614685, -0.6726746559143066, -0.25514811277389526, 0.41952332854270935, -0.6996675729751587, -0.1475915163755417, -0.7530449032783508, -0.2170085906982422, -0.22290779650211334, -0.18752729892730713, -0.45514580607414246, -0.05173905938863754, -0.19647067785263062, -0.1137603148818016, 0.0019543415401130915, 0.6348475217819214, -0.08778916299343109, 0.16534997522830963, -1.1179174184799194, 0.20980922877788544, 0.4110039472579956, 0.23035520315170288, 0.36161744594573975, -0.4675821363925934, -0.36194494366645813, 0.020239224657416344, -0.20529840886592865, -0.37393540143966675, 0.30842602252960205, 0.17110569775104523, 0.545078694820404, 0.452435165643692, 0.04663269221782684, 0.6008728742599487, -0.7659006118774414, 0.47626328468322754, 0.09527680277824402, -0.43424636125564575, 0.2547316551208496, -0.4162260890007019, 0.6564206480979919, 0.873619556427002, 0.513287365436554, -0.6245105862617493, -0.19654713571071625, -0.22025156021118164, -0.8546189069747925, 0.7940850257873535, -0.00033637703745625913, 0.0025547193363308907, -0.2566906809806824, 0.7545985579490662, 0.1213703453540802, 0.02905847318470478, -0.6800633668899536, 0.2026096135377884, 0.352672815322876, -0.01715702749788761, -0.2631135582923889, -0.4251621663570404, -0.06846953183412552, -0.1757555902004242, 0.6473954916000366, 0.007655284367501736, 0.11173079907894135, 0.4524989724159241, -0.28737008571624756, 0.06959328055381775, 0.30676746368408203, 0.3034094572067261, 0.666473388671875, -0.21047019958496094, 0.53461754322052, 0.17926788330078125, -0.591742753982544, 0.37133240699768066, 0.13525672256946564, -0.4782446324825287, -0.07934396713972092, 0.45550188422203064, 0.6681297421455383, 0.6754244565963745, -0.6065323948860168, 0.36641931533813477, 0.27696681022644043, 0.06512714922428131, -0.4937385022640228, -0.01692146435379982, 0.48955079913139343, 0.5135042071342468, 0.5901589393615723, -0.21320486068725586, -0.1638154536485672, -0.5164796113967896, 0.41052258014678955, 0.2369953989982605, -0.44425708055496216, -0.3728310167789459, 0.7609503269195557, 0.13874180614948273, -0.22252465784549713, 0.8659222722053528, -0.24491100013256073, -0.3593028783798218, 0.4072142243385315, 0.7065069675445557, 0.5884939432144165, -0.25651785731315613, 0.0608380064368248, 0.5031683444976807, 0.023521259427070618, -0.43207988142967224, 0.16163113713264465, -0.2149195820093155, -0.7455636858940125, -0.2689645290374756, -0.9080983996391296, 0.08185242116451263, -0.06463710218667984, -0.57222580909729, 0.13969141244888306, -0.29069435596466064, 0.02036713808774948, -0.35244879126548767, -0.20333656668663025, -0.8501969575881958, 0.22448991239070892, 0.4275604784488678, 0.9461220502853394, -0.5396715998649597, 1.38028883934021, 0.5323565602302551, -0.21740862727165222, -1.1030372381210327, 0.21564510464668274, -0.13678859174251556, -0.9089652299880981, 0.6881688237190247, -0.009062874130904675, -0.3631979823112488, 0.07655324786901474, -0.2790021598339081, -1.1205224990844727, 1.2814580202102661, 0.1666811853647232, -0.6481241583824158, -0.7993271946907043, 0.04209999367594719, 0.4217161238193512, -0.17692628502845764, 0.2715710997581482, 0.6706450581550598, 0.22309163212776184, 0.45704686641693115, -0.9907622337341309, 0.19770506024360657, -0.06588313728570938, 0.05766110494732857, 0.23004785180091858, -0.611655056476593, 0.9182498455047607, -0.36572304368019104, -0.005030081141740084, 0.14550158381462097, 0.46632206439971924, 0.3307371735572815, -0.008174339309334755, 0.6121754050254822, 0.45142853260040283, 0.7755006551742554, 0.3737112581729889, 1.1334155797958374, -0.18957342207431793, 0.14575421810150146, 1.5407830476760864, -0.1573900729417801, 1.2618483304977417, 0.6087948679924011, -0.0025339743588119745, 0.47552385926246643, 0.2598324120044708, 0.5468112826347351, 0.9047051072120667, -0.029250111430883408, -0.35930973291397095, -0.5474998950958252, -0.02405872568488121, -0.16718338429927826, 0.4854501783847809, 0.37816089391708374, -0.6395393013954163, -0.3856166899204254, 0.011251211166381836, 0.20144245028495789, -0.08525165915489197, -0.370684951543808, 0.8076791167259216, 0.3253285884857178, -1.025377631187439, 0.6435257792472839, -0.06339196115732193, 0.34704264998435974, -1.0759612321853638, 0.10963277518749237, -0.19176815450191498, 0.2617557644844055, 0.2787924110889435, -0.48052942752838135, 0.14735570549964905, -0.36665382981300354, -0.537776529788971, -0.3239157199859619, 0.6047154068946838, -0.9235596656799316, -0.4656773805618286, 0.1810520738363266, 0.388192743062973, 0.14245331287384033, -0.2595924735069275, -0.18965715169906616, -0.20180878043174744, 0.06557117402553558, -0.3639592230319977, 0.5125024914741516, 0.4867416024208069, -0.3064746558666229, 0.7289260029792786, 0.3639884889125824, -0.06479161977767944, 0.14016464352607727, 0.028056321665644646, 0.7597095370292664, -0.7646437287330627, -0.6688605546951294, -0.596681535243988, 0.0810587927699089, -0.033104535192251205, -0.08148759603500366, 0.4270188808441162, 0.40253645181655884, 0.8713173866271973, -0.2543288469314575, 0.6598003506660461, -0.024922635406255722, 0.5777968764305115, -0.7740129232406616, 0.7294741272926331, -0.36351850628852844, 0.18550729751586914, -0.09514334797859192, -0.8586203455924988, -0.035397469997406006, 0.5222952961921692, -0.4202177822589874, -0.14382904767990112, 0.9349315166473389, 0.8020119071006775, -0.2224346548318863, -0.24207253754138947, 0.23260600864887238, 0.23637163639068604, 0.09132673591375351, 0.9647096991539001, 0.6805292367935181, -0.09092225134372711, 0.831171989440918, -0.13892778754234314, 0.13951468467712402, -0.13088268041610718, -0.7519055008888245, -0.8038828372955322, -0.8298898935317993, 0.04824652150273323, -0.1728888601064682, 0.12714552879333496, 0.8728722929954529, 0.9133135676383972, -0.6455321311950684, -0.1270935833454132, 0.10412091761827469, -0.07208510488271713, -0.015118317678570747, -0.123164102435112, 0.34911099076271057, -0.4118616282939911, -0.7492595314979553, 0.4513375461101532, 0.19738255441188812, 0.10652796924114227, -0.12017263472080231, -0.11454091966152191, -0.464703768491745, -0.0986902043223381, 0.2927926182746887, 0.41124197840690613, -0.632879376411438, -0.7499492764472961, -0.07464917749166489, -0.4370678961277008, -0.03311517462134361, 1.1815321445465088, -0.9038143157958984, 0.2568800151348114, 0.4442589282989502, 0.612714409828186, 0.7740870714187622, 0.16881948709487915, 0.7081523537635803, -1.039657473564148, 0.4758360683917999, 0.12419016659259796, 0.40313205122947693, 0.2600450813770294, -0.28793999552726746, 0.2820127010345459, 0.007853680290281773, -0.3779618442058563, -0.1468408852815628, 0.19502131640911102, -0.771591067314148, -0.3499997556209564, 1.3301783800125122, -0.5085053443908691, -0.04694129899144173, -0.18258021771907806, -0.25387248396873474, 0.23366107046604156, -0.24520215392112732, 0.9618896245956421, 0.8611926436424255, 0.213402658700943, -0.24215978384017944, -0.4718034565448761, 0.40242254734039307, 0.31727805733680725, -0.6153110861778259, 0.08462122827768326, 0.6492387652397156, 0.6676307320594788, 0.17953883111476898, 0.9634678363800049, -0.13430678844451904, -0.04419371858239174, 0.05876593664288521, -0.13533449172973633, -0.18975046277046204, -0.5889554023742676, 0.1209661141037941, 0.3930445909500122, 0.23703522980213165, -0.051072049885988235 ]
http://arxiv.org/abs/2402.17008v1
http://arxiv.org/pdf/2402.17008v1
Benchmarking LLMs on the Semantic Overlap Summarization Task
2024-02-26T20:33:50
2024-02-26T20:33:50
John Salvador, Naman Bansal, Mousumi Akter, Souvika Sarkar, Anupam Das, Shubhra Kanti Karmaker
cs.CL
cs.CL
Semantic Overlap Summarization (SOS) is a constrained multi-document summarization task, where the constraint is to capture the common/overlapping information between two alternative narratives. While recent advancements in Large Language Models (LLMs) have achieved superior performance in numerous summarization tasks, a benchmarking study of the SOS task using LLMs is yet to be performed. As LLMs' responses are sensitive to slight variations in prompt design, a major challenge in conducting such a benchmarking study is to systematically explore a variety of prompts before drawing a reliable conclusion. Fortunately, very recently, the TELeR taxonomy has been proposed which can be used to design and explore various prompts for LLMs. Using this TELeR taxonomy and 15 popular LLMs, this paper comprehensively evaluates LLMs on the SOS Task, assessing their ability to summarize overlapping information from multiple alternative narratives. For evaluation, we report well-established metrics like ROUGE, BERTscore, and SEM-F1$ on two different datasets of alternative narratives. We conclude the paper by analyzing the strengths and limitations of various LLMs in terms of their capabilities in capturing overlapping information The code and datasets used to conduct this study are available at https://anonymous.4open.science/r/llm_eval-E16D.
[ -0.4934341311454773, -0.4098759889602661, 0.5390571355819702, 0.1889754831790924, -0.15924863517284393, 0.15108732879161835, 0.01947649009525776, -0.5510965585708618, 0.27220746874809265, 0.29436641931533813, -0.8444379568099976, -0.5665872693061829, -0.8499858379364014, 0.5879438519477844, -0.28704702854156494, 0.9567698240280151, -0.42418262362480164, 0.033299244940280914, -0.48204898834228516, -0.36941537261009216, -0.3121097981929779, -0.21159930527210236, -0.07114201039075851, -0.02284674346446991, 0.45395463705062866, 0.3534376323223114, 0.5197039246559143, 0.5345237255096436, 0.7257574796676636, 0.2609919607639313, -0.25257155299186707, 0.42805612087249756, -0.6502881646156311, 0.2320421189069748, -0.149909108877182, -0.34619203209877014, -0.41455578804016113, -0.13146056234836578, 0.8848980069160461, 0.725421667098999, 0.28872257471084595, 0.41385313868522644, 0.1691957712173462, 0.4134868383407593, -0.79305100440979, -0.08646782487630844, -0.2536938786506653, 0.12409081310033798, -0.2469235062599182, -0.0904979407787323, 0.06006866320967674, -0.6706194281578064, 0.40359795093536377, -0.5505311489105225, 0.16744965314865112, 0.004720899276435375, 0.8746153712272644, 0.29978713393211365, -0.43390706181526184, -0.21005935966968536, -0.5182836651802063, 0.795701801776886, -0.8660534620285034, 0.25643810629844666, 0.003174729645252228, 0.28597745299339294, -0.08869245648384094, -0.6430619955062866, -0.4884289801120758, -0.095230333507061, -0.12033234536647797, 0.46110841631889343, -0.4491341710090637, -0.08850332349538803, 0.2751286029815674, 0.35685309767723083, -0.6186016201972961, 0.5243791341781616, -0.3544236421585083, -0.19888722896575928, 0.4696577787399292, 0.9627504348754883, 0.0992705449461937, -0.3678831160068512, -0.7801467180252075, 0.005806077271699905, -0.7340665459632874, 0.19503621757030487, 0.4068147838115692, 0.023920811712741852, -0.09447745233774185, 0.691122829914093, -0.4994076192378998, 0.7318452596664429, -0.549872875213623, -0.12497935444116592, 0.37822815775871277, -0.5798411965370178, -0.1012028157711029, -0.022569719702005386, 0.9330968260765076, 0.931721568107605, 0.02744465135037899, -0.03174597769975662, -0.09893598407506943, 0.06778658926486969, -0.014403297565877438, -0.4854757785797119, 0.5923336148262024, 0.12194623798131943, -0.48038122057914734, 0.16818633675575256, 0.04151040315628052, -0.8047392964363098, -0.4571259319782257, -0.26548096537590027, 0.21999327838420868, -0.4356900751590729, 0.025076253339648247, 0.1825707107782364, -0.6076886057853699, 0.24681338667869568, 0.2547888159751892, -0.5345011949539185, 0.6870172619819641, 0.7011324763298035, 0.9393776059150696, -0.5983781814575195, -0.6405147314071655, -0.5459616184234619, 0.1512010544538498, -0.288723886013031, 0.9515390396118164, -0.4816303849220276, -0.42728257179260254, 0.012112188152968884, -0.1893465518951416, -0.29532331228256226, -0.5108287334442139, 0.5513485074043274, -0.46573230624198914, 0.17954763770103455, -0.41215237975120544, -1.0024436712265015, -0.11650761216878891, 0.3165876269340515, -0.6459392309188843, 1.2496490478515625, 0.10919366031885147, -0.7451054453849792, 0.19413164258003235, -0.22840431332588196, -0.1385270655155182, -0.04874136298894882, -0.4267544448375702, -0.16422998905181885, 0.19497613608837128, -0.11365798115730286, 0.3891220986843109, -0.6396762728691101, 0.20548707246780396, -0.04449615254998207, -0.49335983395576477, 0.15633614361286163, -0.03479205444455147, 0.2289324551820755, 0.13894090056419373, -0.11492510885000229, 0.347502201795578, -0.7629144787788391, -0.07871076464653015, -0.006008965894579887, -0.052946388721466064, -0.368613064289093, -0.30644217133522034, -0.03381132334470749, 0.04878736287355423, 0.2898973524570465, -0.4408429265022278, 0.022262291982769966, -0.25575339794158936, 0.07321254163980484, 0.551240861415863, -0.04021120071411133, 0.11456208676099777, -0.7927166223526001, 0.7392168045043945, -0.29234635829925537, -0.12642355263233185, -0.44952622056007385, -0.28640249371528625, -0.45794677734375, -0.36928465962409973, 0.3654499053955078, 0.5452314019203186, -0.3811001181602478, 0.45360562205314636, -0.5859555602073669, -0.7191736698150635, -0.34783872961997986, -0.12006841599941254, 0.4356563985347748, 0.3044212758541107, 0.26146504282951355, -0.4181836247444153, -0.612228512763977, -0.8574977517127991, -0.6419029831886292, 0.2720789909362793, -0.38675060868263245, 0.258046954870224, 0.4774700701236725, 0.17475341260433197, 1.315028190612793, -0.529204785823822, -0.49311745166778564, -0.3725302815437317, 0.1946210414171219, 0.2984101176261902, 0.03784502297639847, 0.22526326775550842, -0.45902374386787415, -0.3781203329563141, -0.49428629875183105, -0.9922997951507568, -0.41194993257522583, -0.02406863309442997, 0.4580133259296417, 0.02315043844282627, 0.7973324656486511, -0.6526982188224792, 0.4624532163143158, 0.43171289563179016, -0.17830587923526764, 0.8172386884689331, -0.218588188290596, 0.1932012140750885, -0.857387363910675, -0.05737646296620369, -0.12394139170646667, 0.019779225811362267, -0.6856222152709961, -0.12458839267492294, 0.071061871945858, 0.1967857927083969, -0.5394051671028137, 0.6096664667129517, -0.6233834028244019, -0.4379120469093323, -0.10150172561407089, 0.6149421334266663, -0.10638564825057983, 0.21335148811340332, 0.05231403559446335, 0.5298281908035278, 0.4302389919757843, -0.4761672914028168, 0.4455356001853943, 0.3513723611831665, -0.5122009515762329, 0.5412453413009644, -0.7589429616928101, -0.15645401179790497, -0.25123846530914307, 0.5387173295021057, -1.1574164628982544, 0.04268437251448631, 0.05409097298979759, -0.128579780459404, -0.18939925730228424, 0.17788593471050262, -0.5728408694267273, -0.11128182709217072, -0.7542729377746582, 0.42197540402412415, 0.22320061922073364, -0.37787818908691406, 0.9038150310516357, 0.08227677643299103, -0.39705321192741394, -0.5140960216522217, -0.36158180236816406, 0.2721637487411499, -0.48738670349121094, -0.7471529841423035, 0.6941665410995483, 0.1534818708896637, -0.35733118653297424, 0.1116470992565155, -0.39256617426872253, 0.4067140221595764, -0.31505635380744934, 0.20891337096691132, 0.4317435622215271, -0.350853830575943, 0.054566655308008194, -0.2095494121313095, -0.40684235095977783, -0.04216857627034187, 0.11220632493495941, 0.594448983669281, -0.17663359642028809, -0.4395735263824463, -0.31991350650787354, 0.22793185710906982, 0.354792058467865, -0.09418042004108429, 0.4829508662223816, 0.25390487909317017, -0.18359877169132233, 0.2897203266620636, -0.7639974355697632, 0.08127628266811371, -0.3694998025894165, 0.2681669294834137, -0.5371938943862915, -1.0681242942810059, 0.8311371803283691, -0.2813553512096405, 0.1816069483757019, 0.6594833731651306, 0.3336814343929291, 0.1524214744567871, 0.33656343817710876, 0.3125547766685486, -0.035682953894138336, 0.31912654638290405, -0.18665684759616852, -0.2123391032218933, -0.8588489890098572, -0.2231311798095703, -0.4239538609981537, -0.4145471751689911, -0.444013774394989, -0.4143781363964081, 0.5413233637809753, -0.007770644035190344, 0.09040504693984985, 0.40740635991096497, 0.08672179281711578, 0.6653407216072083, 0.5511646270751953, -0.13095615804195404, 0.6530824899673462, -0.4391305446624756, -0.08693208545446396, -0.04139229655265808, -0.832780659198761, -0.6349378228187561, 1.0093960762023926, 0.26882678270339966, 0.7717320322990417, 0.18463455140590668, 0.7459896206855774, 0.2518121600151062, -0.2480018585920334, -0.40028461813926697, 0.7394017577171326, -0.10976321250200272, -0.294788658618927, -0.5377776026725769, -0.2965051531791687, -1.159053921699524, 0.4673979580402374, -0.27814608812332153, -1.0507878065109253, 0.09697125852108002, -0.45235133171081543, -0.6151956915855408, 0.1175878718495369, -0.5185756683349609, 0.7699747681617737, 0.0072007374837994576, -0.32159721851348877, -0.1779766082763672, -1.0958621501922607, 0.1439482569694519, 0.015569521114230156, 0.13636493682861328, -0.3977326452732086, -0.44354772567749023, 0.8078123331069946, -0.3480464816093445, 0.9926420450210571, 0.4327593743801117, 0.044248249381780624, 0.17304804921150208, -0.07703179121017456, 0.4879493713378906, -0.3042649030685425, 0.11546268314123154, 0.39882001280784607, 0.1298018842935562, -0.18804197013378143, -0.38760319352149963, 0.5478290915489197, -0.5098785161972046, -0.5397979617118835, -0.5933704972267151, -0.6876596808433533, -0.36233556270599365, 0.29640713334083557, 0.4420638978481293, 0.6854162216186523, -0.5152667164802551, -0.06534517556428909, 0.47084322571754456, -0.09226631373167038, 0.5742334127426147, 0.798443078994751, 0.03887125849723816, -0.2708517909049988, 0.6082793474197388, 0.24856838583946228, 0.32059839367866516, 0.4426657557487488, 0.22634705901145935, -0.40750452876091003, -0.5868562459945679, -0.5606023669242859, 0.0856931284070015, -0.7434038519859314, -0.27558302879333496, -0.892346978187561, -0.4109005033969879, -0.3157339096069336, -0.12062887847423553, -0.19124870002269745, -0.5524566769599915, -0.08011665940284729, -0.08639336377382278, 0.4435472786426544, 0.9579840898513794, 0.0259085800498724, 0.35465458035469055, -1.095345377922058, 0.3752838671207428, -0.09229487925767899, 0.44442734122276306, 0.013953677378594875, -0.42743945121765137, 0.06832484900951385, -0.5483595728874207, -0.131712406873703, -0.8836874961853027, -0.006302244495600462, -0.13996250927448273, 0.9150668978691101, 0.30248862504959106, 0.3457857668399811, 0.5461564660072327, -0.41736093163490295, 0.816558837890625, 0.4165075123310089, -0.8683117628097534, 0.22804825007915497, -0.37339094281196594, 0.6135826110839844, 0.540248692035675, 0.5811924934387207, -0.6636075973510742, -0.730869710445404, -0.6260573267936707, -0.9903702735900879, 0.7994884848594666, 0.3850238621234894, -0.057005345821380615, 0.10985153913497925, -0.1294517070055008, 0.40960556268692017, -0.0050089252181351185, -0.25563904643058777, -0.27764075994491577, 0.3187822103500366, -0.3541675806045532, -0.1557816118001938, -0.4755679666996002, -0.1945391148328781, 0.3030054569244385, 0.28596609830856323, 0.10119017958641052, -0.3143450617790222, 0.20403477549552917, -0.07876292616128922, 0.11152445524930954, 0.3520967662334442, 0.5977581739425659, 0.6848328113555908, -0.18173468112945557, 0.3762432634830475, 0.6991324424743652, -0.2400529384613037, -0.11018453538417816, 0.4009580910205841, 0.017352089285850525, 0.21471509337425232, 0.762541651725769, 0.6847549080848694, 0.2980160713195801, -1.0340555906295776, 0.53351891040802, -0.17560742795467377, -0.24891899526119232, -0.01804877258837223, 0.15232479572296143, 0.0824018120765686, 0.4700600802898407, 0.32334083318710327, -0.047633133828639984, 0.23911257088184357, -0.37336209416389465, 0.07242314517498016, 0.27596986293792725, -0.1962183117866516, 0.09910290688276291, 0.3708709478378296, 0.10347791761159897, -0.3278997242450714, 0.14633966982364655, -0.04638524726033211, -0.4393273591995239, 0.6722376942634583, 0.31647989153862, 0.5860906839370728, -0.06108975410461426, -0.2484137862920761, 0.17044934630393982, 0.21472017467021942, -0.04220619797706604, 0.07326625287532806, 0.05009213835000992, -0.587836742401123, -0.3665100336074829, -0.15225714445114136, -0.6352038383483887, -0.0053040566854178905, -0.7271861433982849, 0.5474062561988831, -0.008693416602909565, -0.14052309095859528, 0.14441610872745514, -0.22661077976226807, -0.521266520023346, -0.0084991455078125, -0.11651113629341125, 1.2555395364761353, -0.8146547079086304, 0.018950365483760834, 0.622698187828064, -0.1986718624830246, -0.3248269259929657, 0.09921462833881378, 0.4522343575954437, -0.8829840421676636, 0.40254122018814087, 0.20372168719768524, -0.4244610369205475, -0.13468308746814728, 0.24110008776187897, -0.916825532913208, 1.1363344192504883, 0.09834305942058563, -0.5206239223480225, 0.00417748186737299, 0.367320716381073, 0.5769942998886108, -0.46350982785224915, 0.5732625722885132, 0.7837917804718018, 0.2618216276168823, 0.30005282163619995, -1.0180920362472534, 0.25390756130218506, -0.1473194658756256, 0.0030766045674681664, 0.16658522188663483, -0.7612506151199341, 0.3687736690044403, -0.28817692399024963, -0.2586173117160797, 0.43586310744285583, 0.49280962347984314, 0.46285444498062134, 0.7403618693351746, 0.6497196555137634, 0.429235577583313, 0.5542932152748108, -0.09811236709356308, 0.8483740091323853, -0.11988437175750732, 0.162197083234787, 1.4183955192565918, -0.35853493213653564, 0.6271077394485474, 0.30882954597473145, -0.3243122398853302, 0.22882933914661407, 0.7678020000457764, -0.1538270264863968, 0.2565075755119324, 0.44079267978668213, -0.07135455310344696, -0.011166409589350224, -0.4193965494632721, -0.6886814832687378, 0.5354815125465393, 0.15189717710018158, -0.2111193835735321, -0.6259042024612427, -0.2787867784500122, -0.11295029520988464, 0.07393193244934082, -0.12150323390960693, 0.9650794267654419, 0.012484008446335793, -0.7385272979736328, 0.2815341651439667, -0.13740913569927216, 0.550969123840332, -0.8951274156570435, 0.2092571258544922, -0.26638686656951904, -0.06692788749933243, -0.1800558865070343, -0.884746789932251, 0.27667585015296936, 0.09703999012708664, -0.0848073735833168, -0.22082063555717468, 0.7398275136947632, -0.2205054610967636, -0.26457875967025757, 0.33645063638687134, 0.7280358076095581, 0.31068527698516846, 0.28909051418304443, -0.16716168820858002, 0.32738053798675537, -0.3639485836029053, -0.17613056302070618, 0.3155963122844696, 0.4393399655818939, -0.06430880725383759, 0.5551673769950867, 0.3417178988456726, 0.02398555539548397, 0.049733225256204605, 0.38669344782829285, 1.007538914680481, -0.8365099430084229, -0.7849189639091492, -1.0331593751907349, 0.154962956905365, -0.23333263397216797, -0.5802976489067078, 1.131224513053894, 1.040661096572876, 0.6865625381469727, 0.11933986097574234, 0.6005792617797852, 0.1646626591682434, 0.6694192290306091, -0.6705403923988342, 0.07476325333118439, -0.5037811398506165, 0.48289754986763, -0.4651855230331421, -0.8753693103790283, -0.1743653416633606, 0.10845651477575302, -0.44884711503982544, -0.06805027276277542, 0.8070760369300842, 0.695990264415741, 0.15864495933055878, 0.6183609366416931, 0.10677628219127655, -0.03721728175878525, -0.14349277317523956, 0.5033771395683289, 1.5604115724563599, -0.136580690741539, 0.6502652168273926, 0.27990326285362244, -0.39850571751594543, -0.2930836081504822, -1.0632450580596924, -0.7828654646873474, -0.38770198822021484, -0.09039060026407242, -0.22280608117580414, 0.0857405960559845, 0.6930258274078369, 0.4358678162097931, -0.5566781163215637, -0.3458508551120758, 0.11715509742498398, 0.22789300978183746, -0.38563576340675354, -0.16916599869728088, 0.4137362241744995, -0.27116596698760986, -0.6289010047912598, 0.17089307308197021, 0.4175059199333191, 0.10116768628358841, 0.09101803600788116, -0.02047661878168583, 0.09160437434911728, 0.020244425162672997, 0.3018893003463745, 0.00782698579132557, -0.7648655772209167, 0.04690270125865936, 0.26556387543678284, -0.06838309019804001, -0.08603743463754654, 1.0870329141616821, -0.6297802925109863, 0.3659243881702423, 0.543073296546936, 0.7212735414505005, 0.5943411588668823, 0.01892525888979435, 0.5083141326904297, -0.7372114658355713, -0.36157551407814026, 0.03756092116236687, 0.3528701364994049, 0.026092080399394035, -0.1277158111333847, 0.7204295992851257, 0.1877339482307434, -0.25141531229019165, -0.6582154631614685, 0.09972470253705978, -1.066049575805664, -0.35725387930870056, 1.3143198490142822, -0.07744719088077545, 0.18625596165657043, -0.20147520303726196, -0.11045373976230621, 0.08631402999162674, -0.28561168909072876, 0.7217651605606079, 0.714250385761261, -0.512824535369873, 0.1369752138853073, -0.38972020149230957, 0.19673669338226318, 0.5560818314552307, -0.7610759139060974, 0.16172800958156586, 0.4612487554550171, 0.18883004784584045, 0.20898014307022095, 0.796079158782959, -0.002612711163237691, 0.1841796487569809, 0.1552504301071167, -0.27837419509887695, -0.12475578486919403, -0.11979664862155914, -0.34602877497673035, 0.10239391028881073, -0.4555516242980957, -0.20055319368839264 ]
http://arxiv.org/abs/2402.16998v1
http://arxiv.org/pdf/2402.16998v1
What Do Language Models Hear? Probing for Auditory Representations in Language Models
2024-02-26T20:13:58
2024-02-26T20:13:58
Jerry Ngo, Yoon Kim
cs.CL
cs.CL, cs.AI, cs.LG, cs.SD, eess.AS
This work explores whether language models encode meaningfully grounded representations of sounds of objects. We learn a linear probe that retrieves the correct text representation of an object given a snippet of audio related to that object, where the sound representation is given by a pretrained audio model. This probe is trained via a contrastive loss that pushes the language representations and sound representations of an object to be close to one another. After training, the probe is tested on its ability to generalize to objects that were not seen during training. Across different language models and audio models, we find that the probe generalization is above chance in many cases, indicating that despite being trained only on raw text, language models encode grounded knowledge of sounds for some objects.
[ -0.36701199412345886, -0.5151256918907166, 0.8078941106796265, -0.16757901012897491, -0.082112155854702, -0.11228442937135696, -0.24055704474449158, -0.7007326483726501, 0.047092702239751816, 0.4423065185546875, -0.5207025408744812, -0.4423472285270691, -0.478300541639328, -0.2845471203327179, -0.7195306420326233, 0.6892322897911072, 0.4106367528438568, 0.3833027780056, -0.17397159337997437, -0.18359129130840302, -0.48284897208213806, -0.630964457988739, -0.44691696763038635, -0.551436722278595, 0.20884795486927032, 0.17210684716701508, 0.5217738151550293, 0.6845532059669495, 0.30459389090538025, 0.2937069535255432, -0.5519945025444031, -0.4665917456150055, -0.4305519163608551, 0.04920697212219238, -0.20420828461647034, -0.8907616138458252, 0.016828935593366623, 0.458362877368927, 0.44066399335861206, 1.157370924949646, -0.15338009595870972, 0.12717768549919128, -0.05999645218253136, 0.29216280579566956, -0.42721179127693176, 0.1806029975414276, -0.5989003777503967, 0.23491474986076355, 0.14158815145492554, -0.29113659262657166, -0.6721060276031494, 0.04065312072634697, 0.3509562313556671, -0.40654507279396057, 0.37275171279907227, 0.16671594977378845, 1.0303092002868652, 0.10821621119976044, -0.6367799639701843, -0.5394964218139648, -0.8275576829910278, 0.9394612312316895, -0.6921384930610657, 0.9795566201210022, 0.6827282309532166, 0.4232243001461029, 0.26734939217567444, -0.6466795206069946, -0.4001239240169525, -0.4967450797557831, -0.17523548007011414, 0.2210664302110672, 0.13329260051250458, 0.1365712285041809, 0.2405746579170227, 0.7627630829811096, -0.3096185028553009, -0.16377931833267212, -0.28103676438331604, -0.055193062871694565, 0.3396088182926178, -0.18244141340255737, 0.40855100750923157, 0.02357637695968151, -0.10480842739343643, -0.33288195729255676, -0.553987443447113, 0.019213398918509483, 0.5262240767478943, 0.1790003925561905, -0.2142585963010788, 0.5261132717132568, 0.09835946559906006, 0.6583325266838074, 0.009149343706667423, -0.048856113106012344, 0.17099353671073914, -0.25404635071754456, -0.017102617770433426, 0.1905849128961563, 0.4119570255279541, 0.32869675755500793, 0.43671366572380066, -0.3238264322280884, -0.5618309378623962, 0.16703295707702637, 0.12756887078285217, -0.505827784538269, -0.20396484434604645, -0.06085601821541786, -0.7846412062644958, -0.3522604703903198, 0.0716850534081459, -0.10930468887090683, -0.27300962805747986, -0.5876482725143433, 0.46000832319259644, -0.41418227553367615, -0.5537622570991516, 0.7188463807106018, -0.3097786009311676, 0.2977805435657501, 0.10173521190881729, -1.2870664596557617, 0.6692615151405334, 0.6662515997886658, 0.48263952136039734, 0.443861186504364, -0.12821175158023834, -0.6544710993766785, -0.019199708476662636, -0.5712292194366455, 0.882485032081604, -0.623811662197113, -0.6163614392280579, 0.03726540133357048, 0.02924503944814205, 0.02843659743666649, -0.6905990242958069, 0.43150269985198975, -0.3438718318939209, 0.27752000093460083, -0.5063801407814026, -0.662929892539978, -0.3958440124988556, 0.13332904875278473, -0.657417356967926, 0.9069545269012451, 0.09028436243534088, -0.7803824543952942, 0.5351510643959045, -0.2455168217420578, -0.010952035896480083, -0.31480872631073, -0.655441164970398, -0.10167939960956573, 0.5366965532302856, 0.23423989117145538, 0.3113274872303009, -0.3300931453704834, 0.06407663226127625, -0.20126770436763763, -0.690113365650177, 0.4130339026451111, -0.04665951058268547, 0.4116380512714386, 0.043108828365802765, -0.3145676255226135, 0.025566373020410538, -0.7093698978424072, -0.2555837631225586, 0.2767390012741089, -0.4178486466407776, -0.5568594932556152, 0.30990028381347656, 0.3087703585624695, -0.12491239607334137, -0.116825632750988, -0.8581365942955017, -0.050501417368650436, -0.7430652379989624, 0.32033559679985046, 0.4555392563343048, -0.11503738909959793, 0.5926039218902588, -0.3443475067615509, 0.17977610230445862, 0.17284490168094635, -0.20100738108158112, -0.6733114123344421, -0.2790047228336334, -0.8410997986793518, 0.1979328840970993, 0.25183942914009094, 0.18258331716060638, -0.015860112383961678, 0.08016008138656616, 0.08403124660253525, -0.3193356990814209, -0.7599125504493713, -0.07612311094999313, 0.2941892147064209, 0.6629166007041931, 0.10559935122728348, -0.1508614867925644, -0.6942404508590698, -0.891435980796814, -0.36417120695114136, -0.5210055112838745, -0.2884290814399719, 0.4600198268890381, 0.32982680201530457, -0.4327148497104645, 0.8453852534294128, -0.4652452766895294, -0.23801305890083313, -0.12338417768478394, 0.38509565591812134, 0.46447762846946716, 0.5186625719070435, 0.8887600302696228, -0.8830330967903137, 0.040280573070049286, 0.3215777575969696, -0.843459963798523, -0.05404459685087204, 0.06068050488829613, 0.3538858890533447, -0.4455103576183319, 0.989165723323822, -0.332956999540329, 0.31157103180885315, 0.5998163819313049, -0.4682605266571045, 0.39161109924316406, 0.024627411738038063, 0.07663340866565704, -0.8629266619682312, -0.05881734564900398, -0.3640730082988739, -0.2910798192024231, -0.549289882183075, -0.18519484996795654, 0.11751393228769302, -0.3447313904762268, -0.3955073952674866, 0.510515570640564, -0.6711243391036987, -0.45495134592056274, -0.41808009147644043, 0.08380420506000519, 0.1469409465789795, 0.062246158719062805, 0.30638420581817627, 0.8497600555419922, 0.8673050999641418, -0.7140544652938843, 0.24248872697353363, 0.08129291981458664, -0.41043227910995483, 0.42270463705062866, -0.8961910009384155, 0.42001786828041077, -0.36198729276657104, -0.19098509848117828, -0.9546141624450684, -0.009153349325060844, -0.18300119042396545, -0.61879962682724, 0.08365510404109955, -0.27045726776123047, -0.3713153302669525, -0.016969308257102966, 0.11481617391109467, 0.8020666241645813, 0.5392356514930725, -0.6531395316123962, 0.7087711095809937, 0.640302300453186, 0.06732004880905151, -0.19103798270225525, -0.9355364441871643, -0.39297303557395935, -0.015407808125019073, -0.4006970226764679, -0.05741378664970398, -0.036437321454286575, -0.5309526920318604, 0.014687805436551571, -0.31564852595329285, -0.1384386271238327, 0.22278954088687897, 0.40776047110557556, -0.25337865948677063, -0.873101532459259, 0.3703640401363373, -0.3127051591873169, 0.00914884451776743, 0.5205812454223633, -0.23760513961315155, 0.7029613852500916, -0.398935467004776, -0.9441900253295898, -0.17348821461200714, 0.2805679738521576, 0.3479025959968567, -0.2299404889345169, 0.3530154526233673, 0.4887157082557678, -0.547464907169342, -0.07371843606233597, -0.6938046216964722, -0.6077827215194702, -0.5834121704101562, 0.4042571187019348, -0.6131619811058044, -0.6999029517173767, 0.836034893989563, -0.218607559800148, -0.24598878622055054, 0.23959359526634216, 0.14819644391536713, -0.3443891108036041, 1.1589103937149048, 0.6865509152412415, -0.14293122291564941, 0.326672226190567, -0.3025291860103607, 0.041616883128881454, -0.7123302817344666, -0.5458566546440125, -0.8770108819007874, -0.018242454156279564, -0.3243367373943329, -0.2612200081348419, -0.1660560816526413, 0.2597840428352356, 0.0008616240229457617, 0.19311587512493134, -0.23297007381916046, 0.7632763385772705, 0.7180393934249878, 0.13010457158088684, 0.2341957986354828, -0.2807333171367645, -0.26688215136528015, -0.3026009202003479, -0.3619441092014313, -0.4805348515510559, 0.9543185830116272, 0.69577556848526, 0.807489812374115, -0.08024138957262039, 0.6372185349464417, 0.04368750751018524, 0.017542507499456406, -1.1058883666992188, 0.29039838910102844, 0.21494683623313904, -0.6162433624267578, -0.12496495991945267, -0.08746064454317093, -0.92779940366745, 0.2707687318325043, -0.034068744629621506, -0.6104915738105774, 0.43999290466308594, 0.012028354220092297, 0.15976692736148834, 0.32614511251449585, -0.4188534915447235, 0.526393473148346, -0.28288304805755615, 0.17520704865455627, -0.1761939823627472, -0.16806922852993011, 0.11631354689598083, 0.15251758694648743, 0.36367782950401306, -0.07083727419376373, 0.22483128309249878, 0.9179190397262573, 0.06618593633174896, 0.6610090136528015, -0.10144282877445221, -0.3047334551811218, 0.20976905524730682, 0.3889240026473999, 0.19735944271087646, 0.14995259046554565, -0.07236543297767639, -0.07224580645561218, -0.1653144657611847, -0.5026645660400391, -0.5483114123344421, 0.34289559721946716, -0.6002525091171265, -0.567010223865509, -0.2917012572288513, -0.5362793803215027, -0.38683146238327026, 0.31338199973106384, 0.285626083612442, 0.3827224373817444, -0.45003220438957214, 0.37859514355659485, 0.8303075432777405, -0.32447490096092224, 0.23039190471172333, 0.7015374302864075, -0.542270302772522, 0.19222712516784668, 0.6163281798362732, -0.31679585576057434, 0.12415198236703873, 0.4190777540206909, 0.23429132997989655, -0.34400081634521484, -0.5728468894958496, -0.1572090983390808, 0.33934178948402405, -1.0470229387283325, 0.35590532422065735, -0.49229952692985535, -0.3120485246181488, -0.34614628553390503, 0.049718838185071945, -0.6089659333229065, 0.10378957539796829, -0.4893277883529663, -0.6355916261672974, 0.2196348011493683, 1.2201255559921265, -0.0951363667845726, 0.40780556201934814, -0.773739755153656, 0.36792340874671936, 0.5785192847251892, 0.42320120334625244, -0.16611424088478088, -0.6539173126220703, -0.3564445376396179, 0.20271386206150055, 0.19048751890659332, -1.0790594816207886, 0.36558371782302856, 0.17166775465011597, 0.6434499621391296, 0.5929505825042725, -0.20408561825752258, 0.38801077008247375, -0.644829511642456, 0.6554704904556274, 0.033328551799058914, -1.2314966917037964, 0.7576572895050049, -0.7790746688842773, 0.387283056974411, 0.4454333484172821, 0.1287887990474701, -0.8085463047027588, -0.43155637383461, -0.4671424329280853, -0.49825775623321533, 0.6662672758102417, -0.016712868586182594, 0.4523736238479614, -0.03012043796479702, 0.14267438650131226, 0.06563734263181686, 0.2591974139213562, -0.839296817779541, -0.10284987092018127, -0.36344441771507263, 0.08524686098098755, -0.18149006366729736, -0.5457981824874878, -0.22090110182762146, -0.10733933001756668, -0.13181889057159424, 0.11769549548625946, 0.5363423228263855, 0.13588251173496246, -0.2079944759607315, -0.1637295037508011, 0.044931452721357346, 0.5417665243148804, 0.32503899931907654, -0.5751773715019226, 0.5524799823760986, 0.18819282948970795, -0.547416090965271, 0.26258575916290283, -0.36406707763671875, 0.19071345031261444, 0.4547545313835144, 0.7906129360198975, 1.0822674036026, 0.6582810878753662, -0.796349048614502, 0.5242109298706055, -0.08526799082756042, -0.4088466763496399, -0.3452083468437195, 0.002941280836239457, 0.37255918979644775, 0.15260832011699677, 0.4855838716030121, 0.06352601945400238, 0.5453543663024902, -0.811790943145752, 0.2855514585971832, 0.03356466069817543, -0.768742561340332, -0.6050272583961487, 0.8012679815292358, -0.05354626104235649, -0.14823311567306519, 0.6936612129211426, 0.29550376534461975, -0.5422496795654297, 0.731809139251709, 0.6699419617652893, 0.8245991468429565, -0.35746830701828003, -0.02642795443534851, 0.2478533238172531, 0.3580947816371918, -0.11936763674020767, 0.4816407561302185, -0.10000697523355484, -0.8537713885307312, -0.2679422199726105, -0.5113757252693176, -0.6172006130218506, 0.31703194975852966, -1.0304170846939087, 0.06416374444961548, -0.3392636775970459, 0.04484112560749054, -0.1761074811220169, -0.47250691056251526, -0.7437109351158142, 0.5467575192451477, 0.24078913033008575, 0.8310666680335999, -1.1831419467926025, 0.6949502229690552, 0.7533518075942993, -0.4085364043712616, -0.893648087978363, -0.005342012271285057, -0.20476973056793213, -0.6496264338493347, 1.174757480621338, 0.3279111385345459, -0.27591896057128906, -0.19277143478393555, -0.5476180911064148, -1.0721851587295532, 0.6440272927284241, 0.6718365550041199, -0.5897771120071411, 0.11042234301567078, 0.22784745693206787, 0.5729959607124329, -0.37469449639320374, 0.520744800567627, 0.3218349516391754, 0.39567360281944275, -0.3133111894130707, -1.098069190979004, -0.14710144698619843, -0.45240601897239685, -0.11987567692995071, -0.28766515851020813, -0.26528602838516235, 1.2819714546203613, 0.05425070598721504, -0.3007396161556244, -0.20628014206886292, 0.7579168081283569, 0.3812611401081085, 0.4269217848777771, 0.5688258409500122, 0.40349963307380676, 0.6584358215332031, -0.3293987810611725, 1.1929166316986084, -0.13386520743370056, 0.2700565457344055, 1.007973074913025, -0.16352958977222443, 0.7815963625907898, 0.5050292611122131, -0.011382518336176872, 0.22344468533992767, 0.6509618163108826, 0.23478013277053833, 0.6597920656204224, 0.45309412479400635, -0.16090527176856995, -0.23663069307804108, -0.28040000796318054, -0.6353473663330078, 0.6034696102142334, 0.2538484036922455, -0.4542856812477112, 0.02376796305179596, 0.3664871156215668, -0.37535032629966736, 0.482559472322464, -0.16132698953151703, 0.910868227481842, 0.2392348051071167, -0.22199459373950958, 0.6193991303443909, -0.25274601578712463, 0.43447646498680115, -0.3625354468822479, -0.16191068291664124, -0.29988691210746765, 0.16584929823875427, 0.03171219676733017, -0.6233828067779541, 0.2766978144645691, -0.5016883611679077, -0.3797109127044678, -0.2802058160305023, 0.6217470169067383, -0.45061013102531433, -0.2202892154455185, 0.8575620651245117, 0.33464381098747253, 0.3281044065952301, -0.2619745433330536, -0.20604752004146576, 0.429296612739563, -0.0659777969121933, -0.3566879332065582, 0.11546379327774048, 0.5184859037399292, 0.23672005534172058, 0.8117749094963074, 0.5310834050178528, 0.42019063234329224, 0.2532493770122528, 0.5330052375793457, 0.8447738289833069, -0.8858453631401062, -0.4816972315311432, -0.42313143610954285, 0.36191827058792114, 0.05558949336409569, -0.013561748899519444, 0.5117178559303284, 0.6641479730606079, 1.0591918230056763, -0.5514839291572571, 0.5227146148681641, 0.5953030586242676, 0.7605763673782349, -0.7983003854751587, 0.8300946354866028, -0.522662341594696, 0.26062968373298645, -0.240878626704216, -0.9430672526359558, 0.01255082618445158, 1.058917760848999, -0.22617630660533905, -0.0427728109061718, 0.7728976011276245, 0.6628929376602173, -0.5963011384010315, 0.1543499082326889, 0.6763378977775574, 0.22425854206085205, 0.14851640164852142, 0.09443512558937073, 1.1913559436798096, -0.6483145356178284, 0.313790500164032, -0.09822118282318115, 0.40107306838035583, -0.16830989718437195, -0.4260457158088684, -1.080896258354187, -0.7444965839385986, -0.07848767936229706, -0.02544393576681614, 0.1110924556851387, 0.37129685282707214, 1.140194058418274, -1.0438331365585327, -0.776334822177887, -0.3315032720565796, -0.3098060190677643, -0.045254215598106384, -0.20981396734714508, 0.24226024746894836, -0.33432865142822266, -0.9420310258865356, 0.9976471066474915, -0.003569194581359625, 0.3386225998401642, -0.09832532703876495, -0.22636733949184418, -0.07219970226287842, 0.07784287631511688, 0.20719802379608154, 0.20918911695480347, -0.697913646697998, -0.4113817512989044, 0.18447108566761017, -0.16974064707756042, -0.04776401445269585, 0.8756152987480164, -0.8437710404396057, 0.5533847212791443, 0.6407063007354736, 0.6999437808990479, 0.7482082843780518, -0.31972455978393555, 0.9851179122924805, -0.8545963764190674, 0.9086944460868835, 0.5447635054588318, 0.6976601481437683, 0.3521568179130554, -0.16755692660808563, 0.4141506850719452, 0.042598046362400055, -0.24136587977409363, -1.0963454246520996, 0.4209473133087158, -0.904445230960846, -0.3318976163864136, 1.0885494947433472, -0.08889433741569519, -0.16822773218154907, -0.08567123115062714, -0.6158860921859741, 0.27379336953163147, -0.14657272398471832, 0.5079146027565002, 0.773051917552948, 0.301260769367218, -0.6319550275802612, -0.5537973046302795, 0.5273398756980896, 0.8376301527023315, -0.2369658350944519, -0.28703925013542175, 0.20545917749404907, 0.24130423367023468, 0.27861738204956055, 0.4930829703807831, -0.03766785189509392, 0.4175935387611389, 0.32476773858070374, 0.14041417837142944, 0.11859186738729477, -0.18883267045021057, -0.24592328071594238, -0.008799505420029163, 0.4256928861141205, -0.384832501411438 ]
http://arxiv.org/abs/2402.16986v1
http://arxiv.org/pdf/2402.16986v1
Long Dialog Summarization: An Analysis
2024-02-26T19:35:45
2024-02-26T19:35:45
Ankan Mullick, Ayan Kumar Bhowmick, Raghav R, Ravi Kokku, Prasenjit Dey, Pawan Goyal, Niloy Ganguly
cs.CL
cs.CL, cs.IR
Dialog summarization has become increasingly important in managing and comprehending large-scale conversations across various domains. This task presents unique challenges in capturing the key points, context, and nuances of multi-turn long conversations for summarization. It is worth noting that the summarization techniques may vary based on specific requirements such as in a shopping-chatbot scenario, the dialog summary helps to learn user preferences, whereas in the case of a customer call center, the summary may involve the problem attributes that a user specified, and the final resolution provided. This work emphasizes the significance of creating coherent and contextually rich summaries for effective communication in various applications. We explore current state-of-the-art approaches for long dialog summarization in different domains and benchmark metrics based evaluations show that one single model does not perform well across various areas for distinct summarization tasks.
[ -0.5922530293464661, -1.0161254405975342, 0.36126095056533813, 0.33836624026298523, -0.2713436782360077, 0.21691849827766418, -0.24830478429794312, -0.8495880961418152, 0.3021351993083954, 0.5905088186264038, -0.3566920757293701, -0.3011307120323181, -0.3036838471889496, 0.10843774676322937, -0.2475973665714264, 1.2410633563995361, 0.10614166408777237, -0.19388046860694885, -0.3027659058570862, -0.26296266913414, -0.6895706653594971, -0.861476719379425, -0.6503310203552246, -0.2433650642633438, 0.20766419172286987, 0.46449267864227295, 0.6364558935165405, -0.15144340693950653, 0.3826943337917328, 0.3664938509464264, -0.26997411251068115, 0.3314844071865082, -0.7866193652153015, 0.3583427965641022, 0.21856747567653656, -0.30325567722320557, -0.9221544861793518, -0.19768981635570526, 0.592301070690155, 1.0291125774383545, 0.08480796962976456, 0.19896434247493744, 0.22462782263755798, 0.8058456778526306, -0.23064780235290527, 0.2635290026664734, -0.3096895217895508, 0.10103224962949753, 0.022063981741666794, -0.40283381938934326, -0.15595494210720062, -0.267813116312027, 0.6303918957710266, -0.40412113070487976, 0.12029478698968887, -0.01522234920412302, 0.5526321530342102, -0.14430451393127441, -0.7773272395133972, -0.6696935296058655, -1.059457778930664, 0.9112337827682495, -0.7870950698852539, -0.13560986518859863, 0.2073374092578888, 0.6076946258544922, 0.038959335535764694, -0.43861088156700134, -0.11280035972595215, 0.10975352674722672, -0.11013906449079514, 0.46746474504470825, -0.27021580934524536, 0.03014185279607773, 0.1717679798603058, 0.44574713706970215, -0.23396651446819305, 0.044573865830898285, -0.6248164772987366, -0.1784900724887848, 0.6288105249404907, 0.6826387643814087, -0.15799833834171295, -0.17893318831920624, -0.289124071598053, 0.358267217874527, -0.3133685290813446, 0.1416555494070053, 0.22512909770011902, 0.18901732563972473, -0.2279924601316452, 0.36248037219047546, -0.600384533405304, 0.536298930644989, -0.09631112217903137, -0.5531018972396851, 0.09614599496126175, -0.6601278185844421, -0.07367467880249023, -0.04485601931810379, 0.660064160823822, 1.1226751804351807, 0.38924986124038696, -0.023689674213528633, -0.032060544937849045, -0.5579839944839478, 0.07462738454341888, -0.8942465782165527, 0.3903152346611023, 0.600702166557312, -0.7086622714996338, 0.0004890551790595055, -0.05112627521157265, -1.0928727388381958, -0.09196857362985611, -0.6599941849708557, -0.16059528291225433, -0.0773029699921608, -0.11638582497835159, 0.0915464460849762, -0.19721148908138275, 0.3098793923854828, 0.8176389336585999, -0.5466164350509644, 0.3590903580188751, 0.7990630269050598, 0.8401234745979309, -0.23287227749824524, -0.1568557769060135, -0.05023081973195076, 0.05885661765933037, -0.17423097789287567, 0.6737566590309143, -0.279192179441452, -0.7122614979743958, 0.3114534318447113, 0.022558268159627914, -0.08341041207313538, -0.6455509662628174, 0.1472598761320114, -0.37968072295188904, 0.45813897252082825, -0.13531051576137543, -0.542717456817627, -0.2581495940685272, 0.41243696212768555, -0.33322417736053467, 0.5211763381958008, 0.09142117947340012, -0.5721759796142578, 0.039413899183273315, -0.7293608784675598, -0.6720741987228394, -0.0774071216583252, 0.1343190222978592, -0.4706324636936188, 0.34459465742111206, 0.0847231075167656, 0.6660453081130981, -0.013679198920726776, 0.06783859431743622, 0.05103204771876335, -0.32857027649879456, 0.6152200698852539, -0.33570778369903564, 0.5727440118789673, 0.2550334930419922, -0.13813607394695282, 0.13856783509254456, -0.34077179431915283, -0.03756758198142052, 0.05257703363895416, -0.043434444814920425, 0.0029326549265533686, -0.14015400409698486, 0.04136022925376892, 0.07739494740962982, 0.34395623207092285, -0.17073789238929749, 0.25414177775382996, 0.09291227906942368, 0.48512446880340576, 0.2837136685848236, 0.24934156239032745, 0.27382931113243103, -0.4128555655479431, 0.6833188533782959, -0.0017078432720154524, 0.23141756653785706, -0.6929126977920532, -0.43445298075675964, -0.5648678541183472, -0.3110806345939636, 0.15393836796283722, 0.6151127219200134, -0.3407011330127716, 0.36762291193008423, -0.3905058205127716, -0.251149445772171, -0.06724003702402115, 0.028464850038290024, 0.39255449175834656, 0.35987618565559387, 0.14202067255973816, -0.50204998254776, -0.19549205899238586, -0.8542370200157166, -0.0380513034760952, -0.055138710886240005, 0.08296246826648712, 0.48133936524391174, 0.49137789011001587, -0.08185124397277832, 1.0602649450302124, -0.8627413511276245, -0.48250603675842285, -0.7944103479385376, 0.08685757219791412, 0.06406521052122116, 0.07965826988220215, 0.6770458221435547, -0.6868563890457153, -0.5488809943199158, -0.11480435729026794, -0.7239517569541931, 0.18064968287944794, -0.4769907593727112, -0.0743887722492218, 0.13932260870933533, 0.4746580719947815, -0.9289341568946838, 0.6872511506080627, 0.22374993562698364, -0.04366463050246239, 0.841142475605011, -0.2856168746948242, 0.37346547842025757, -1.105217695236206, 0.054554786533117294, -0.08269811421632767, -0.47890135645866394, -0.9495441317558289, -0.2558586597442627, -0.2871794104576111, -0.4047960042953491, -0.2482099086046219, 0.26521167159080505, -0.2989480197429657, -0.17205584049224854, -0.4982015788555145, 0.2920748293399811, 0.13197071850299835, 0.6430564522743225, 0.05503761023283005, 0.6903931498527527, 0.2831322252750397, -0.633007287979126, 0.4668111205101013, 0.46562933921813965, -0.174921452999115, 0.6177676320075989, -0.9350188970565796, -0.16275519132614136, -0.136699840426445, 0.7983555197715759, -0.9005253911018372, -0.3840043544769287, 0.14940544962882996, -0.5262712836265564, 0.1505519598722458, -0.03439858928322792, -0.2340376079082489, -0.2596905529499054, -0.34097036719322205, 0.48548436164855957, 0.5329304933547974, -0.19196689128875732, 0.5216132998466492, 0.4079189896583557, -0.6052401661872864, -0.24496003985404968, -0.4817788898944855, 0.3843047618865967, -0.5813289284706116, -0.5350242853164673, 0.04493996500968933, -0.12040096521377563, -0.35973024368286133, -0.661647379398346, -0.11170616000890732, -0.1002059355378151, 0.12162498384714127, 0.2616971731185913, 0.02478550374507904, -0.03665057569742203, 0.09940717369318008, -0.1803419291973114, -0.3384386897087097, 0.25990885496139526, 0.17250002920627594, 0.5045319199562073, -0.18041780591011047, -0.3921298682689667, -0.6678785085678101, 1.2207727432250977, 0.9033135771751404, -0.10725709795951843, 0.47495704889297485, 0.27008336782455444, -0.13802532851696014, -0.02478707954287529, -0.5678213834762573, -0.06980308145284653, -0.36857590079307556, 0.47933486104011536, -0.19968053698539734, -0.7848933339118958, 0.7652802467346191, -0.4225272834300995, 0.2359265834093094, 0.16221323609352112, 0.44168752431869507, -0.35910046100616455, 0.9398548007011414, 0.6804549694061279, -0.21302658319473267, 0.40212228894233704, -0.1632576882839203, 0.6927593350410461, -0.7634719610214233, -0.17753295600414276, -0.5327045321464539, 0.05175447836518288, -0.30412501096725464, -0.08844446390867233, 0.4337075352668762, 0.003470274619758129, 0.43303078413009644, 0.2210170030593872, -0.10126855969429016, 0.3518950343132019, 0.339009165763855, -0.20361492037773132, 0.41043052077293396, -0.2108319252729416, 0.6399288177490234, 0.14217957854270935, -0.45471131801605225, -0.7501330971717834, 0.6470809578895569, 0.42519164085388184, 0.4847283363342285, 0.27540096640586853, 0.6488640904426575, 0.18883384764194489, -0.1515992134809494, -1.0694241523742676, 0.5570772290229797, 0.2637590765953064, -0.41780179738998413, -0.46753770112991333, -0.38132137060165405, -1.1424660682678223, 0.37139201164245605, 0.07425536215305328, -0.6799651980400085, -0.32548466324806213, 0.31215113401412964, -0.41999492049217224, -0.12345700711011887, -0.7948777675628662, 0.8142324686050415, -0.23104777932167053, 0.10176104307174683, -0.33166804909706116, -0.8398324251174927, 0.1918339729309082, 0.03174668923020363, 0.12183182686567307, -0.18534615635871887, 0.3548910617828369, 0.5772144198417664, -0.33923161029815674, 1.0234123468399048, 0.0178716741502285, -0.2219453901052475, 0.49574539065361023, -0.2654740512371063, 0.2117304801940918, 0.14060744643211365, 0.3915635347366333, 0.044273875653743744, 0.028235426172614098, -0.6650037169456482, -0.5970267057418823, 0.2936926484107971, -0.4598129689693451, -0.6069511771202087, -0.21301981806755066, -0.455567866563797, -0.29777291417121887, 0.011932533234357834, 0.11554959416389465, 0.9171122312545776, -0.4417169392108917, 0.12968863546848297, 0.5899350643157959, -0.23262818157672882, 0.5332120060920715, 0.22316041588783264, -0.27977511286735535, -0.2415722757577896, 0.6868326663970947, 0.08411688357591629, 0.5472570061683655, 0.13767559826374054, -0.03669402748346329, -0.03599553555250168, -0.5680280923843384, -0.2108021229505539, 0.19079497456550598, -0.8522048592567444, -0.25451943278312683, -0.6837685704231262, -0.14931705594062805, -0.37225645780563354, -0.35358867049217224, -0.184770405292511, -0.5508763790130615, -0.12929458916187286, 0.12783168256282806, 0.08630267530679703, 0.7931441068649292, 0.49282386898994446, 0.4776275157928467, -0.9215180277824402, 0.4842737317085266, 0.4652428925037384, 0.05209031701087952, 0.32304084300994873, -0.14115150272846222, -0.4308820962905884, 0.14306527376174927, -0.3815373480319977, -0.5105581879615784, 0.3330560624599457, 0.14768342673778534, 0.422949880361557, 0.42916595935821533, -0.014897744171321392, 0.8844144344329834, -0.2741580605506897, 1.1495697498321533, 0.4043094217777252, -0.8827851414680481, 0.43857496976852417, -0.36256763339042664, 0.840191662311554, 0.5837221741676331, 0.30927711725234985, -0.857542872428894, -0.37918519973754883, -0.4689232409000397, -1.0899841785430908, 0.3445351719856262, 0.18859051167964935, 0.4077354371547699, 0.09056638926267624, 0.07545895129442215, 0.32735148072242737, 0.2623538076877594, -0.10905721783638, -0.15073618292808533, -0.18047866225242615, -0.0009224824607372284, -0.20313094556331635, -0.33419010043144226, -0.39209723472595215, 0.007687206845730543, 0.3664642870426178, -0.11673323065042496, 0.30815860629081726, 0.04187151417136192, -0.24767647683620453, 0.430057555437088, 0.5937099456787109, 0.966643214225769, 1.2342913150787354, -0.12167032063007355, -0.3034737706184387, 0.22468078136444092, -0.26574692130088806, -0.5328670144081116, -0.21309134364128113, 0.1825435310602188, 0.16634038090705872, 0.5603953003883362, 0.6553247570991516, 0.08807510137557983, -0.6123046278953552, 0.6619285345077515, -0.3135680854320526, -0.1642492562532425, -0.44238021969795227, -0.2774827778339386, -0.0281868614256382, 0.18972152471542358, 0.5045546293258667, -0.11024683713912964, 0.3821505010128021, -0.7857083678245544, -0.21517673134803772, 0.4343827962875366, -0.23927249014377594, -0.4091912806034088, 0.014495291747152805, 0.6838012933731079, -0.12262474745512009, 0.5485228300094604, 0.10489998012781143, -0.6537789106369019, 0.537411630153656, 0.5059691071510315, 0.8558353781700134, 0.1815672069787979, 0.07841115444898605, 0.0636003315448761, -0.36719951033592224, 0.24418458342552185, -0.18245792388916016, -0.5616590976715088, -0.27443453669548035, -0.4670746922492981, 0.026222316548228264, -0.8795868158340454, -0.17047807574272156, -0.7581973075866699, -0.2569355368614197, 0.020373431965708733, -0.4930160939693451, 0.09889518469572067, -0.07109730690717697, -0.5225154161453247, -0.06800150126218796, -0.15949147939682007, 0.6336556673049927, -0.49466830492019653, -0.014863706193864346, 0.2409157156944275, 0.036290157586336136, -0.14958927035331726, -0.09239160269498825, -0.01022348366677761, -0.3784313499927521, 0.2865756154060364, 0.3161811828613281, -0.35575008392333984, -0.6617943644523621, -0.3830043375492096, -0.3451286852359772, 1.0975371599197388, -0.3358985185623169, -0.40405356884002686, -0.17715683579444885, 0.3679347038269043, 0.7273377776145935, -0.5948003530502319, 0.4130665957927704, 0.593273401260376, 0.17583823204040527, 0.06376409530639648, -1.369796872138977, -0.25313034653663635, -0.12165369093418121, -0.09075986593961716, 0.3083045184612274, -1.0848925113677979, 0.36774834990501404, -0.13868556916713715, -0.20022684335708618, 0.17368128895759583, 0.6485307812690735, -0.09387081116437912, 0.6046886444091797, 0.33158639073371887, -0.021049078553915024, 0.4354366660118103, -0.10025925934314728, 0.7411692142486572, -0.2762809097766876, 0.30247172713279724, 1.2592673301696777, -0.2497258186340332, 0.5306653380393982, 0.4286022484302521, 0.040868934243917465, -0.07803046703338623, 0.31741347908973694, 0.30804646015167236, 0.08437884598970413, 0.25496751070022583, -0.20707237720489502, -0.10623256117105484, -0.12556390464305878, -0.4963865876197815, 0.587536096572876, 0.5612956285476685, -0.05941929295659065, -0.36184176802635193, 0.0069801295176148415, 0.23368385434150696, -0.24850507080554962, -0.13671086728572845, 1.116123914718628, 0.17941880226135254, -0.9020313620567322, 0.349948525428772, -0.41463831067085266, 0.5048272609710693, -0.49098944664001465, -0.0684012845158577, -0.22391308844089508, 0.13992939889431, -0.2108742892742157, -0.567547082901001, 0.22926729917526245, 0.1099100261926651, -0.11452478170394897, -0.4093745946884155, 0.39110448956489563, -0.33110350370407104, 0.03853567689657211, 0.04858062416315079, 0.7066967487335205, 0.4839346408843994, -0.03899146243929863, -0.440265953540802, 0.24310366809368134, 0.030924396589398384, -0.2785816192626953, 0.23271486163139343, 0.4755817651748657, -0.15789933502674103, 0.7120303511619568, 0.35580694675445557, -0.1995462030172348, -0.07828034460544586, 0.35012996196746826, 0.7021511793136597, -0.8690782785415649, -0.4867325723171234, -0.4257899224758148, 0.8375340104103088, -0.4548996090888977, -0.6836240291595459, 0.9541791081428528, 0.6339223384857178, 0.42248350381851196, -0.036200620234012604, 0.8700408339500427, 0.19390292465686798, 0.6515569686889648, -0.44191262125968933, 0.4110091030597687, -0.04127586632966995, 0.18459470570087433, -0.0694403201341629, -1.0609651803970337, -0.16514979302883148, 0.28833988308906555, -0.08015259355306625, 0.05083606392145157, 0.598986804485321, 0.24550171196460724, 0.11408843100070953, 0.17149335145950317, 0.24703161418437958, -0.01875448040664196, 0.582897961139679, 0.4701944887638092, 1.0502245426177979, -0.2947119176387787, 0.5151199102401733, -0.04740051552653313, -0.3330237865447998, -0.6796879172325134, -0.8030281066894531, -1.1302117109298706, -0.5647467374801636, -0.528796911239624, -0.16114848852157593, -0.06290779262781143, 0.6593418717384338, 0.7735771536827087, -0.7167470455169678, -0.4574466943740845, 0.6566990613937378, 0.028353191912174225, -0.1987166553735733, -0.2602683901786804, 0.16591495275497437, -0.459722638130188, -0.7985992431640625, 0.022899135947227478, 0.44973400235176086, 0.5771143436431885, -0.1219431534409523, 0.2019595354795456, 0.41245728731155396, 0.1837969273328781, 1.000664234161377, 0.37499311566352844, -0.6042917370796204, -0.1963653713464737, -0.08310791105031967, -0.034917619079351425, 0.17216698825359344, 1.0802565813064575, -0.45005524158477783, 0.40673545002937317, 0.2786219120025635, 0.3434831202030182, 0.7246541380882263, 0.2977474629878998, 0.7463040947914124, -0.6108400225639343, -0.06854574382305145, 0.15291282534599304, 0.24842147529125214, 0.23247039318084717, -0.25449731945991516, 0.17036104202270508, -0.3855063319206238, -0.7309731245040894, -0.6471909880638123, 0.36819231510162354, -1.4628826379776, -0.32102495431900024, 0.9957438707351685, -0.1913997232913971, 0.006785911973565817, -0.40854811668395996, -0.5877376794815063, 0.035729240626096725, -0.5452808737754822, 0.7974653840065002, 0.683810830116272, -0.43913733959198, 0.19717775285243988, -0.5350489020347595, 0.4716850221157074, 0.2158619612455368, -1.1004587411880493, 0.4712330996990204, 0.7758233547210693, 0.05644175037741661, 0.3850306570529938, 0.5814130902290344, -0.091871477663517, 0.11962952464818954, -0.28685611486434937, -0.5212427973747253, 0.10981331765651703, -0.4100833237171173, -0.28047123551368713, 0.4891272783279419, -0.1777428835630417, -0.026912890374660492 ]
http://arxiv.org/abs/2402.16977v2
http://arxiv.org/pdf/2402.16977v2
Dealing with Data for RE: Mitigating Challenges while using NLP and Generative AI
2024-02-26T19:19:47
2024-02-28T11:12:07
Smita Ghaisas, Anmol Singhal
cs.SE
cs.SE, cs.CL
Across the dynamic business landscape today, enterprises face an ever-increasing range of challenges. These include the constantly evolving regulatory environment, the growing demand for personalization within software applications, and the heightened emphasis on governance. In response to these multifaceted demands, large enterprises have been adopting automation that spans from the optimization of core business processes to the enhancement of customer experiences. Indeed, Artificial Intelligence (AI) has emerged as a pivotal element of modern software systems. In this context, data plays an indispensable role. AI-centric software systems based on supervised learning and operating at an industrial scale require large volumes of training data to perform effectively. Moreover, the incorporation of generative AI has led to a growing demand for adequate evaluation benchmarks. Our experience in this field has revealed that the requirement for large datasets for training and evaluation introduces a host of intricate challenges. This book chapter explores the evolving landscape of Software Engineering (SE) in general, and Requirements Engineering (RE) in particular, in this era marked by AI integration. We discuss challenges that arise while integrating Natural Language Processing (NLP) and generative AI into enterprise-critical software systems. The chapter provides practical insights, solutions, and examples to equip readers with the knowledge and tools necessary for effectively building solutions with NLP at their cores. We also reflect on how these text data-centric tasks sit together with the traditional RE process. We also highlight new RE tasks that may be necessary for handling the increasingly important text data-centricity involved in developing software systems.
[ -0.46606969833374023, -0.6596324443817139, 0.3209858536720276, 0.44258445501327515, 0.4315495193004608, 0.2257685363292694, 0.050914615392684937, -0.60845547914505, -0.10632310807704926, 0.8090362548828125, -0.8828608393669128, -0.19486336410045624, -0.38806581497192383, 0.25061118602752686, -0.6375712156295776, 1.0995895862579346, -0.31778472661972046, -0.414700984954834, -0.5941717624664307, -0.17561495304107666, -0.7880505919456482, -0.8018723726272583, -0.6867174506187439, -0.5267466306686401, 0.15421909093856812, 0.4986976981163025, 0.7181902527809143, 0.41408035159111023, 0.7563416957855225, 0.30757173895835876, 0.1989923119544983, 0.0691797062754631, -0.18276864290237427, 0.5532379150390625, -0.0191942285746336, -0.6281191110610962, -0.342292845249176, -0.11027967929840088, 0.4456614851951599, 0.7510389089584351, -0.1932229995727539, 0.2598710060119629, 0.14724010229110718, 1.065151572227478, -0.5005143284797668, 0.39876237511634827, -0.5624464750289917, 0.47380751371383667, -0.04595624655485153, -0.295026957988739, -0.32868269085884094, -0.05158395320177078, 0.3012305796146393, -0.8039748072624207, 0.19293171167373657, 0.32444825768470764, 1.0316299200057983, 0.7454099655151367, -0.2725379467010498, -0.487794429063797, -1.0769251585006714, 1.075403094291687, -0.22960713505744934, 0.3664538562297821, 0.30781659483909607, 0.13103117048740387, -0.2893452048301697, -0.7835944890975952, -0.28485122323036194, -0.06424525380134583, 0.15137943625450134, 0.03448516130447388, -0.2010534554719925, -0.011039495468139648, 0.45073169469833374, 0.5136792063713074, -0.6170878410339355, 0.1549658477306366, -0.36169737577438354, 0.10665132850408554, 0.9117565751075745, 0.40719491243362427, 0.4579724669456482, 0.18790695071220398, -0.15124806761741638, -0.0753665491938591, -0.5256788730621338, -0.3445781171321869, 0.3334793448448181, 0.207840695977211, 0.23778735101222992, 0.640529215335846, -0.03311775624752045, 0.6478198766708374, -0.17938821017742157, 0.45556384325027466, 0.49325698614120483, -0.3906634747982025, -0.43346866965293884, -0.15729476511478424, 0.33731505274772644, 0.0018673257436603308, 0.34583228826522827, -0.2916930019855499, -0.4474242925643921, 0.07360663264989853, 0.9798304438591003, -0.13113535940647125, -0.09829001873731613, 0.62370365858078, -0.3365382254123688, -0.19066032767295837, -0.25502753257751465, -0.8327362537384033, -0.5267012119293213, -0.723646879196167, 0.11434122174978256, -0.33166614174842834, -0.04323841258883476, 0.0883440151810646, -0.4106179475784302, 0.7571215629577637, 0.16537612676620483, -1.048372507095337, 0.21102751791477203, 0.9588852524757385, 0.6189941763877869, 0.0757475271821022, -0.2579573690891266, -0.2740003764629364, 0.3269246816635132, -0.480754554271698, 0.4985646605491638, -0.2948480248451233, -0.360481321811676, 0.03998633474111557, -0.137522354722023, 0.08395148068666458, -0.8446175456047058, 0.7216954827308655, -0.4618428349494934, -0.008984511718153954, 0.18138466775417328, -0.5844442248344421, -0.1788904070854187, 0.37248119711875916, -0.8806414604187012, 0.9554148316383362, 0.28899237513542175, -0.5070924758911133, 0.46351632475852966, -0.8679786920547485, -0.5074306130409241, 0.15194196999073029, -0.29273730516433716, -0.510399341583252, 0.14650939404964447, 0.12213096767663956, 0.37750372290611267, -0.4168664216995239, -0.11935677379369736, -0.1768718808889389, 0.07872452586889267, -0.31036028265953064, -0.20351597666740417, 0.7412804365158081, 0.2891201674938202, -0.35831019282341003, -0.013232930563390255, -0.6743999123573303, 0.3687765300273895, 0.07266892492771149, -0.24542026221752167, -0.3595156967639923, 0.28069719672203064, 0.19895164668560028, -0.30826833844184875, 0.22825756669044495, -0.08924180269241333, -0.04725254327058792, -0.3487148582935333, 0.42081767320632935, 0.5577449202537537, -0.046057168394327164, 0.41386377811431885, -0.3865657448768616, 0.5415354371070862, -0.10816019028425217, 0.34524255990982056, 0.06065238267183304, -0.2929989993572235, -0.6997221112251282, 0.08198228478431702, 0.19118647277355194, 1.0215717554092407, -0.779741108417511, 0.6807777285575867, -0.11638448387384415, -0.5976174473762512, -0.8291113376617432, 0.3559756577014923, -0.18424545228481293, 0.15238916873931885, 0.4157220423221588, -0.2836921513080597, -0.8626144528388977, -0.934730589389801, -0.11949601024389267, -0.14606738090515137, -0.3185875117778778, 0.36110422015190125, 0.3236798644065857, -0.551362156867981, 1.0430221557617188, -0.497384637594223, -0.5758249163627625, -0.607426106929779, 0.41228288412094116, 0.20910939574241638, 0.6468307375907898, 0.28053513169288635, -1.2678778171539307, -0.17253275215625763, 0.14519520103931427, -1.0195642709732056, -0.1087995320558548, -0.7156714797019958, -0.05903257802128792, 0.2312488853931427, 0.46082401275634766, -0.4205041825771332, 0.3862830102443695, 0.25301581621170044, -0.004797430243343115, 0.3139946758747101, -0.16532856225967407, 0.026776596903800964, -0.8597672581672668, 0.2928072214126587, 0.2590528428554535, -0.05576783046126366, -0.5915130972862244, 0.1878553181886673, -0.3179827034473419, -0.36873361468315125, 0.07759681344032288, 0.17386673390865326, -0.4576432406902313, -0.11112675815820694, -0.1698000580072403, 0.0028980164788663387, -0.010489385575056076, 0.12984073162078857, -0.08238380402326584, 0.7271139025688171, 0.41434159874916077, -0.7686285376548767, 0.8658093810081482, 0.5933313369750977, -0.4148598313331604, 0.6760125756263733, -0.675998330116272, -0.001143404166214168, -0.22096586227416992, -0.07657260447740555, -0.2168755829334259, -0.03828006237745285, 0.046517252922058105, -0.3738459050655365, 0.34889426827430725, 0.08148819953203201, -0.4881395697593689, -0.4303116500377655, -0.18118107318878174, 0.11119256913661957, 0.40483367443084717, -0.3191273510456085, 0.8460676670074463, 0.46364626288414, -0.28923308849334717, -0.7022376656532288, -0.8710343837738037, 0.44846534729003906, -0.32286518812179565, -0.598442018032074, 0.5506211519241333, 0.19808228313922882, -0.27837082743644714, 0.17300228774547577, -0.190288707613945, -0.3859090209007263, 0.441195547580719, 0.21136070787906647, 0.17281760275363922, -0.0192689448595047, 0.0335000678896904, -0.13495247066020966, -0.497493714094162, 0.28565385937690735, -0.1339866667985916, 0.08513128757476807, 0.023427506908774376, -0.35474684834480286, -0.49743127822875977, 0.6838247776031494, 0.6077283024787903, -0.0800957977771759, 0.6153610348701477, 0.5076809525489807, -0.5212780833244324, -0.4282835125923157, -0.25489792227745056, -0.13064323365688324, -0.4159468114376068, 0.6044189929962158, -0.4083455204963684, -0.380413681268692, 0.2896791696548462, -0.2802029550075531, 0.6228981018066406, 0.35745111107826233, 0.34820908308029175, -0.3796311914920807, 0.6864688396453857, 1.0915579795837402, -0.5378749370574951, 0.5282316207885742, -0.30540114641189575, 0.6463833451271057, -0.7556519508361816, -0.13250012695789337, -0.7623090147972107, -0.38569992780685425, -0.42819708585739136, 0.05846768617630005, 0.20389099419116974, -0.15167218446731567, -0.2528446316719055, 0.37962469458580017, -0.44609472155570984, 0.33847177028656006, 0.5352189540863037, -0.20975151658058167, 0.18228985369205475, -0.06685102730989456, 0.5866657495498657, -0.11231355369091034, -0.669007420539856, -0.4790233075618744, 0.9172667264938354, 0.469890832901001, 1.0338971614837646, -0.07698633521795273, 0.522853672504425, 0.8448501825332642, 0.04414697736501694, -0.6515294313430786, 0.3139333426952362, -0.2409554421901703, -0.7476539611816406, -0.4109932482242584, -0.42829442024230957, -0.9411280155181885, -0.15331031382083893, -0.28783753514289856, -0.2946866750717163, 0.08650559931993484, 0.09704583138227463, -0.29111233353614807, 0.12281113862991333, -0.8620864152908325, 0.8955443501472473, -0.3642979860305786, 0.01966007798910141, -0.31045952439308167, -0.637913167476654, -0.032805390655994415, -0.10741773247718811, -0.015795215964317322, 0.06384562700986862, -0.09467765688896179, 0.5917457342147827, -0.09378629177808762, 0.7112296223640442, 0.018621336668729782, 0.08930087834596634, 0.19213177263736725, -0.33914828300476074, 0.41430577635765076, -0.2774261236190796, -0.15752655267715454, 0.013780076988041401, 0.2934865355491638, -0.511039674282074, -0.797531247138977, 0.3498348891735077, -0.6024602055549622, -0.5647438168525696, -0.4418255090713501, -0.46766480803489685, -0.38044440746307373, -0.08849850296974182, 0.09361404925584793, 0.13227373361587524, -0.18430697917938232, 0.45781517028808594, 0.8539978861808777, -0.42793652415275574, 0.06176029145717621, -0.029922930523753166, 0.07678119093179703, -0.1428573578596115, 0.8878612518310547, 0.12069208920001984, 0.1236807107925415, 0.3166341781616211, -0.39103782176971436, -0.1697816699743271, -0.34743165969848633, -0.4125828444957733, -0.20657019317150116, -0.5336765646934509, -0.1553298383951187, -0.3290154039859772, -0.4883722960948944, -0.16748040914535522, -0.5004445314407349, -0.3252173960208893, -0.12241822481155396, -0.4823838770389557, -0.09337367862462997, 0.24674344062805176, 0.6968316435813904, 0.24291954934597015, -0.18647721409797668, -0.770943284034729, 0.3769281208515167, 0.020377235487103462, 0.313612699508667, 0.054383762180805206, -0.09271351993083954, -0.3366634249687195, -0.131247416138649, -0.3229830265045166, -0.5500352382659912, 0.31627777218818665, 0.05403640866279602, 0.767835259437561, -0.15751533210277557, 0.20218178629875183, 0.44110170006752014, -0.3555680811405182, 0.6279363632202148, -0.28397801518440247, -0.883683979511261, 0.6920732259750366, 0.07699219137430191, -0.3254079818725586, 0.7596513032913208, 0.5279784798622131, -0.828984797000885, -0.23621270060539246, -0.5435547828674316, -1.53888738155365, 0.4511643052101135, 0.22643515467643738, 0.3119308352470398, 0.4331313371658325, 0.6216757893562317, -0.05127764120697975, 0.3576698899269104, -0.6388184428215027, -0.28763389587402344, 0.08380661904811859, -0.5624715089797974, 0.1761370301246643, 0.006023361347615719, -0.06593494117259979, -0.0013105554971843958, 0.841267466545105, 0.08216193318367004, 0.13818857073783875, -0.04558766633272171, -0.15426354110240936, 0.45075175166130066, 0.2668437361717224, 0.21784892678260803, 0.40867879986763, 0.06314584612846375, -0.35624513030052185, 0.062482498586177826, -0.45846110582351685, 0.10309555381536484, -0.11380088329315186, -0.28650277853012085, -0.11410387605428696, 0.3216327428817749, 0.5773739814758301, -0.15113377571105957, -0.686163067817688, 0.020798588171601295, 0.17594866454601288, -0.1859361082315445, -0.5787188410758972, 0.24784362316131592, -0.2298838049173355, 0.17081624269485474, 0.45591965317726135, -0.16570942103862762, 0.15688572824001312, -0.5051804184913635, 0.34378358721733093, 0.30967187881469727, -0.19001977145671844, 0.2541118264198303, 0.4963184893131256, 0.40086957812309265, -0.17365749180316925, 1.1559336185455322, 0.08329857885837555, -0.24614766240119934, 1.0032627582550049, 0.37247434258461, 1.1246329545974731, -0.12647745013237, -0.033065322786569595, -0.08037891238927841, 0.6490745544433594, 0.2118353694677353, 0.3268556594848633, 0.20110534131526947, -0.6682945489883423, -0.14576879143714905, -0.3296710252761841, -0.7409902811050415, 0.18935322761535645, -0.6927942037582397, 0.14010418951511383, -0.5044550895690918, -0.09494402259588242, 0.062016624957323074, 0.2155981957912445, -0.6079838275909424, 0.3315567672252655, -0.08492588996887207, 0.8603594303131104, -0.956268310546875, 0.286030113697052, 0.7424907088279724, -0.5905256271362305, -0.4083643853664398, -0.08839265257120132, -0.008833982981741428, -0.6324020624160767, 0.47099199891090393, -0.05259424075484276, 0.20230191946029663, -0.011338729411363602, -0.3618229925632477, -0.41906610131263733, 0.8337433338165283, 0.1369520127773285, -0.2834603488445282, 0.04349755123257637, 0.31034472584724426, 0.5279861092567444, -0.29945534467697144, -0.19308508932590485, 0.8085100650787354, 0.5884894132614136, -0.2769143581390381, -0.3469589948654175, -0.36045143008232117, -0.29039740562438965, 0.1383700966835022, 0.2783639132976532, -0.3441116213798523, 0.31086286902427673, 0.07571745663881302, -0.2636953592300415, -0.06960746645927429, 0.6978656649589539, 0.11103306710720062, 0.6157804131507874, 0.446492463350296, 0.5688202381134033, 0.7104816436767578, -0.1928403079509735, 0.928180992603302, -0.32310450077056885, 0.1252933144569397, 1.00644052028656, -0.5779062509536743, 0.8190852403640747, 0.5888893008232117, -0.47669777274131775, 0.4222222864627838, 0.8334906101226807, -0.47611379623413086, 0.053773943334817886, 0.44633105397224426, -0.29098355770111084, 0.12430757284164429, -0.02953946776688099, -0.274898499250412, 0.2386016845703125, 0.47069111466407776, -0.08701980859041214, -0.034692976623773575, 0.20168480277061462, -0.38490965962409973, 0.06925656646490097, -0.17496947944164276, 0.8607290387153625, 0.13327689468860626, -0.41170281171798706, -0.06073392555117607, 0.05999058112502098, 0.387026309967041, -0.6152624487876892, -0.08041908591985703, -0.19596421718597412, 0.21507713198661804, -0.5047928094863892, -1.0590219497680664, 1.0400464534759521, 0.2451433688402176, -0.6480453610420227, -0.5565659403800964, 0.3415360450744629, -0.015399456024169922, -0.25941288471221924, 0.21355365216732025, 0.22244518995285034, 0.0573236383497715, -0.08430738747119904, -0.9001534581184387, 0.007465445436537266, 0.12062332034111023, -0.3207881450653076, 0.15177592635154724, 0.5580694675445557, 0.005180633161216974, 1.115775465965271, 0.21023936569690704, -0.03358747065067291, -0.03224024921655655, 0.08147920668125153, 0.4980020225048065, -0.8417538404464722, -0.24147260189056396, -0.6190969944000244, 0.34626832604408264, -0.12673665583133698, -0.06836386770009995, 0.43150100111961365, 0.6644448637962341, 0.624997079372406, 0.03404182940721512, 1.0178102254867554, -0.4508228302001953, 0.4498741924762726, -0.5913991928100586, 0.7013677954673767, -0.6420210599899292, 0.3895494341850281, -0.13520167768001556, -0.93258136510849, -0.23715025186538696, 0.5136252641677856, -0.18957604467868805, 0.23230816423892975, 0.49687761068344116, 0.56888347864151, 0.2851419448852539, 0.1817639321088791, 0.08087125420570374, -0.07559225708246231, 0.41969069838523865, 0.6413635611534119, 0.5730218887329102, -0.6119728088378906, 0.44035691022872925, 0.05540988966822624, -0.1560174822807312, 0.0073682996444404125, -0.6519995331764221, -0.13133502006530762, -0.9611122012138367, -0.5662989020347595, -0.23306237161159515, -0.1364651620388031, 0.7258638739585876, 0.5732194185256958, -0.8579202890396118, -0.22486045956611633, -0.3148592710494995, 0.4297107458114624, -0.45092636346817017, -0.2900489270687103, -0.012604247778654099, -0.8404477834701538, -0.7372214198112488, 0.23225592076778412, 0.39529505372047424, 0.1776970624923706, -0.2844219207763672, 0.16118507087230682, -0.019102798774838448, -0.07725141197443008, 0.425487220287323, 0.6361552476882935, -0.182627335190773, -0.17881272733211517, -0.2875581979751587, -0.03704086318612099, -0.04322252422571182, 0.8504578471183777, -0.7002243399620056, 0.15592657029628754, 0.4006704092025757, 1.4817320108413696, 0.3314642608165741, -0.04890277981758118, 0.9750173687934875, -0.8347581624984741, -0.13199076056480408, 0.44574859738349915, 0.054444570094347, 0.32953715324401855, -0.6836091876029968, 0.8817044496536255, 0.28874725103378296, -0.7871731519699097, -0.8510575890541077, 0.33855265378952026, -0.8279518485069275, -0.16590191423892975, 0.5433074831962585, 0.051328785717487335, -0.029930485412478447, -0.610283613204956, 0.05402715876698494, -0.043869953602552414, 0.1642555147409439, 0.8788740634918213, 0.9649674892425537, -0.3552769422531128, -0.09765667468309402, -0.9577895402908325, 0.5865978598594666, 0.7220168709754944, -1.3367788791656494, 0.4279521107673645, 0.35125601291656494, -0.14250659942626953, 0.15218086540699005, 0.3194982707500458, 0.032855913043022156, -0.012671810574829578, 0.25631964206695557, 0.18125468492507935, 0.2918000817298889, -0.5849510431289673, -0.36762410402297974, 0.1609562188386917, 0.023400628939270973, -0.4070650339126587 ]
http://arxiv.org/abs/2402.16973v1
http://arxiv.org/pdf/2402.16973v1
Successfully Guiding Humans with Imperfect Instructions by Highlighting Potential Errors and Suggesting Corrections
2024-02-26T19:16:04
2024-02-26T19:16:04
Lingjun Zhao, Khanh Nguyen, Hal Daumé III
cs.AI
cs.AI, cs.CL, cs.HC
This paper addresses the challenge of leveraging imperfect language models to guide human decision-making in the context of a grounded navigation task. We show that an imperfect instruction generation model can be complemented with an effective communication mechanism to become more successful at guiding humans. The communication mechanism we build comprises models that can detect potential hallucinations in instructions and suggest practical alternatives, and an intuitive interface to present that information to users. We show that this approach reduces the human navigation error by up to 29% with no additional cognitive burden. This result underscores the potential of integrating diverse communication channels into AI systems to compensate for their imperfections and enhance their utility for humans.
[ -0.1829250156879425, -0.7323779463768005, 1.1399352550506592, 0.16935762763023376, -0.2705683410167694, -0.08900751918554306, -0.2488606721162796, -0.1051512211561203, 0.0766710638999939, 0.45447808504104614, -0.8603371977806091, -0.5086519122123718, -0.31984442472457886, -0.1434035748243332, -0.15878020226955414, 0.4493376314640045, 0.06127505004405975, 0.15549473464488983, -0.20462822914123535, -0.01896246150135994, -1.10978364944458, -0.36112746596336365, -0.6238672733306885, -0.6089729070663452, 0.24568381905555725, 0.8449689745903015, 1.0734620094299316, 0.515190064907074, 0.16231055557727814, 0.297859251499176, -0.0179416723549366, 0.5492731332778931, -0.49613523483276367, 0.10771588981151581, -0.5115910172462463, -0.8173211812973022, -0.409079372882843, 0.04403790459036827, 0.31686291098594666, 1.1467558145523071, -0.4531792402267456, -0.3825753629207611, 0.08626512438058853, 0.7527204751968384, -0.34173277020454407, 0.13127563893795013, -0.31437066197395325, 0.017321785911917686, 0.09140746295452118, -0.5210679173469543, -0.6601694226264954, -0.30608266592025757, 0.20003990828990936, -0.8422986268997192, 0.14800846576690674, 0.384815514087677, 0.7581533193588257, 0.6581833362579346, -0.19579483568668365, -0.5679289102554321, -0.9613637328147888, 0.5772527456283569, -0.5970759391784668, 0.4884185791015625, 0.8584797978401184, 0.29622524976730347, -0.660148561000824, -0.6160449981689453, -0.41189223527908325, -0.42572107911109924, 0.04445270076394081, 0.0963820293545723, -0.03993663564324379, 0.5367009043693542, 0.13781538605690002, -0.18988238275051117, -0.18826919794082642, 0.12155485153198242, -0.5432586669921875, -0.08490791916847229, 0.4533030092716217, 0.18500959873199463, 0.5371896028518677, -0.05085340142250061, 0.14172102510929108, -0.2843973636627197, -0.6380707621574402, -0.17884477972984314, 0.49379223585128784, 0.45154911279678345, -0.24938330054283142, 0.4074391722679138, -0.2381010800600052, 1.0896937847137451, 0.38000115752220154, 0.1574375480413437, -0.02119169943034649, -0.12287551164627075, -0.13240662217140198, 0.3233194649219513, 0.1486959457397461, 0.6806727051734924, 0.11055054515600204, -0.42502519488334656, -0.22122937440872192, 0.19051328301429749, 1.1489554643630981, -0.27875396609306335, -0.49209877848625183, 0.13036102056503296, -0.45783889293670654, -0.2006908655166626, 0.18131157755851746, -0.7309118509292603, -0.5456002950668335, -0.4891659617424011, 0.3280960023403168, -0.47841086983680725, -0.06504475325345993, 0.30869045853614807, -0.1545402854681015, 0.43350112438201904, 0.7010910511016846, -0.8002464771270752, 0.25926581025123596, 0.5928211808204651, 0.8207259178161621, 0.33011460304260254, -0.31920772790908813, -0.38660427927970886, -0.07102490961551666, -0.6457692980766296, 0.7379573583602905, -0.4521290957927704, -0.7586438059806824, -0.23529353737831116, -0.11085166037082672, -0.06132104620337486, -0.3696778416633606, 1.1159179210662842, -0.05677396059036255, 0.3103716969490051, -0.5103756189346313, -0.3116227090358734, -0.7663075923919678, 0.036339227110147476, -0.4231495261192322, 0.3498668074607849, 0.18203313648700714, -0.19697122275829315, 0.06583772599697113, -0.7217793464660645, -0.6213439702987671, 0.10120289772748947, -0.2534855604171753, -0.2530849277973175, 0.2836001515388489, 0.18405143916606903, 0.2713835835456848, -0.12509554624557495, 0.3462808430194855, 0.01581384427845478, -0.7407044172286987, -0.009981514886021614, -0.6673112511634827, 0.7265070676803589, 0.04092102870345116, -1.074573278427124, 0.07236330211162567, -0.6495017409324646, 0.008299537934362888, 0.03413790464401245, -0.43466824293136597, -0.39813563227653503, 0.5662224292755127, -0.23979154229164124, 0.03915246203541756, -0.15431158244609833, 0.054128728806972504, 0.3204786777496338, -0.5235045552253723, 0.3191729485988617, 0.88164883852005, 0.01207362674176693, 0.7112062573432922, -0.4126422703266144, 0.3648349344730377, 0.028140146285295486, 0.39034661650657654, -0.31692543625831604, -0.8221418857574463, -1.34610116481781, 0.38554874062538147, -0.03384222090244293, 0.6986024975776672, -0.8550286889076233, 0.5304883122444153, -0.16497448086738586, -0.4487491846084595, -0.9036803245544434, -0.14218910038471222, 0.5262513756752014, 0.6053167581558228, 0.48437148332595825, -0.042300980538129807, -0.5604170560836792, -0.5760645866394043, -0.18184128403663635, -0.5354463458061218, 0.045176539570093155, 0.5632942318916321, 0.08108840882778168, -0.5694030523300171, 0.6044217944145203, -0.20513583719730377, -0.14368706941604614, 0.04786352813243866, 0.1917790025472641, -0.08771295845508575, 0.6849221587181091, 0.2483408898115158, -1.0147171020507812, 0.03391822427511215, 0.15506170690059662, -1.0748176574707031, -0.018908856436610222, -0.7014420628547668, -0.28750523924827576, 0.0648290291428566, 0.5046740174293518, -0.4800891876220703, 0.6705761551856995, 0.12468816339969635, -0.6472018957138062, 0.14482146501541138, -0.5510307550430298, 0.49799853563308716, -0.6817108988761902, -0.329452246427536, -0.0582120344042778, -0.2230425626039505, -0.7728105783462524, 0.10461118817329407, -0.0776803269982338, 0.043525323271751404, -0.22547747194766998, 0.32643598318099976, -0.6959554553031921, 0.23660388588905334, -0.21350595355033875, 0.3558286428451538, -0.13605262339115143, 0.5430659055709839, -0.11318300664424896, 0.5585626363754272, 0.5962039828300476, -0.5815790295600891, 0.3108256459236145, 0.39267498254776, 0.09610989689826965, 0.9652295708656311, -0.49332624673843384, 0.32072973251342773, -0.44600415229797363, 0.04423590749502182, -0.8909969925880432, -0.579687237739563, 0.7566641569137573, -0.5572957992553711, 0.35741233825683594, -0.17030252516269684, 0.014361035078763962, -0.28702157735824585, -0.004408784676343203, 0.02876671589910984, 0.6668885946273804, -0.5782649517059326, 0.9794406294822693, 0.0532233789563179, 0.3018445074558258, -0.08590694516897202, -0.7139933705329895, 0.44380244612693787, -0.15762180089950562, -0.7128823399543762, 0.29406440258026123, -0.17381912469863892, -0.33301591873168945, -0.05184539034962654, -0.21534623205661774, 0.03297601267695427, 0.3619087338447571, 0.8677595853805542, 0.21004298329353333, -0.21549580991268158, -0.22342181205749512, 0.13304227590560913, 0.03787165880203247, 0.1757260262966156, -0.5891603231430054, 0.32195138931274414, -0.40155747532844543, -0.7826476693153381, -0.8640907406806946, 0.2768869996070862, 0.8907245993614197, 0.3238753378391266, 0.7628689408302307, 0.11430858820676804, -0.43840092420578003, -0.07442536950111389, -0.6591689586639404, -0.42814362049102783, -0.5358020663261414, 0.039554305374622345, -0.18586039543151855, -0.2774387001991272, 0.27093377709388733, -0.3154013752937317, -0.023225944489240646, -0.024818353354930878, 0.10082989931106567, -0.2145661562681198, 1.250748872756958, 0.9000436663627625, 0.30385252833366394, 0.2283039540052414, 0.01257346011698246, 0.5029746294021606, -0.4815596640110016, -0.6617102026939392, -0.4240913987159729, -0.24117179214954376, -0.4319835305213928, -0.5764440894126892, 0.4166663885116577, 0.3934043049812317, -0.01825290359556675, 0.09294679760932922, -0.8089936375617981, 0.30958062410354614, 0.9926695823669434, 0.4358198940753937, 0.0013061420759186149, 0.024609144777059555, -0.35390371084213257, -0.07320248335599899, -1.1685479879379272, -0.9581650495529175, 0.6317468881607056, 0.24967694282531738, 0.8989847302436829, -0.1474786251783371, 0.7400832176208496, 0.44499510526657104, 0.23764938116073608, -0.543628454208374, 0.43205633759498596, 0.494198203086853, -0.16901709139347076, -0.2525639533996582, -0.34440740942955017, -0.7048150897026062, 0.09546232968568802, -0.3651956617832184, -0.6355941891670227, 0.32299965620040894, 0.3451884388923645, -0.562431812286377, 0.19411367177963257, -1.197655200958252, 0.8475965857505798, -0.4883858561515808, -0.31220072507858276, -0.08086144179105759, -0.8159786462783813, 0.31183919310569763, 0.08245313912630081, 0.23635952174663544, 0.3562798500061035, 0.10709764063358307, 0.6239153146743774, -0.33242470026016235, 1.0533303022384644, -0.31850481033325195, 0.1544170081615448, 0.2793486416339874, 0.08938784152269363, 0.5436294078826904, -0.24459227919578552, -0.04016605392098427, 0.09055197238922119, -0.6825674176216125, -0.3969925045967102, -0.673566460609436, 0.4263823330402374, -0.7199419736862183, -0.8053098320960999, -0.22115616500377655, -0.19952180981636047, -0.009896269999444485, 0.12290263921022415, 0.43481001257896423, 0.26159054040908813, -0.15037278831005096, -0.1974354237318039, 0.5844713449478149, -0.3427133858203888, 0.2401936799287796, 0.4797264337539673, 0.26153868436813354, -0.0885067731142044, 0.9006386995315552, -0.1563870906829834, 0.13508076965808868, -0.16130703687667847, -0.10676772892475128, -0.21875956654548645, -0.618070125579834, -0.6895002722740173, 0.21620182693004608, -0.9385055303573608, -0.03803351894021034, -0.45149344205856323, -0.050310976803302765, 0.08927617967128754, -0.7221696376800537, -0.48703518509864807, -0.09395983070135117, -0.8106619715690613, -0.27406132221221924, -0.07863028347492218, 1.0161445140838623, -0.20889344811439514, 0.5898581743240356, -0.6193426847457886, 0.1556341052055359, 0.13558712601661682, 0.08444831520318985, 0.28508439660072327, -0.3482759892940521, -0.028730979189276695, 0.7815275192260742, -0.46378347277641296, -1.04973566532135, 0.09109019488096237, -0.061999354511499405, 0.8604227900505066, 0.5688459277153015, 0.1837768852710724, 0.922153890132904, -0.7234209775924683, 0.8957580327987671, 0.2190708965063095, -1.0874637365341187, 0.9679489135742188, -0.2817242443561554, 0.24629893898963928, 0.4552730917930603, 0.30167001485824585, -0.706771194934845, -0.5450998544692993, -0.6854432225227356, -0.8339784741401672, 0.8005355000495911, 0.48995089530944824, 0.058392059057950974, -0.01764926128089428, 0.5762792825698853, -0.3382607400417328, -0.1390821933746338, -0.5643017888069153, -0.40425318479537964, -0.30443552136421204, -0.05698230490088463, 0.18312236666679382, -0.07382089644670486, -0.18610209226608276, -0.14880211651325226, 0.7025378346443176, -0.010587788186967373, 0.3891375660896301, 0.4526105225086212, 0.0768781527876854, -0.31041496992111206, 0.03969242796301842, 1.1796387434005737, 0.8289168477058411, -0.022347360849380493, 0.14949718117713928, 0.07433440536260605, -0.4342334270477295, 0.35471010208129883, -0.13011567294597626, -0.33278748393058777, 0.009877614676952362, 0.3441688120365143, 1.0020564794540405, 0.2999304533004761, -0.6742219924926758, 0.2725490629673004, -0.3498058021068573, -0.07210913300514221, 0.014442609623074532, 0.47678157687187195, 0.09609776735305786, 0.33705559372901917, 0.45727530121803284, 0.688969075679779, 0.00669312896206975, -0.46967801451683044, 0.3004453182220459, 0.17166519165039062, -0.7033683061599731, -0.3617556095123291, 0.8968451023101807, 0.6228210926055908, -1.024039626121521, 0.8878117203712463, -0.5094158053398132, -0.764502763748169, 0.3931201100349426, 0.21290478110313416, 0.7919976115226746, -0.4845806360244751, 0.4544751048088074, 0.10835195332765579, 0.8877368569374084, -0.6562080979347229, 0.02635270170867443, -0.22881358861923218, -0.49635717272758484, -0.12565656006336212, -0.1744239330291748, -0.4742871820926666, -0.34379610419273376, -0.4999302625656128, 0.19983291625976562, -0.3707936406135559, -0.033741794526576996, -0.32777923345565796, -0.6274453997612, -0.473770409822464, 0.20754894614219666, 0.36404651403427124, 0.49693745374679565, -0.6802008152008057, 0.37834882736206055, 0.8292851448059082, -0.4868035316467285, -0.9381275773048401, 0.2877896726131439, 0.06030604615807533, -0.4364900290966034, 0.4026760458946228, 0.12976202368736267, -0.4763023853302002, -0.04817424714565277, -0.6356787085533142, -0.4620642364025116, 0.7331180572509766, 0.3212472200393677, -0.463462769985199, -0.3684803545475006, -0.04276525229215622, 0.3873893916606903, -0.22780673205852509, 0.14405670762062073, 0.5334506034851074, 0.7542709112167358, 0.06519320607185364, -0.8025667667388916, 0.12439530342817307, -0.1607622653245926, -0.07018450647592545, -0.080959253013134, -0.35848796367645264, 0.525697648525238, -0.5798664689064026, -0.5564945936203003, 0.06818313151597977, 0.5802455544471741, 0.10226428508758545, 0.4071209132671356, 0.3932964503765106, 0.2722337543964386, 1.1865906715393066, -0.209178626537323, 0.9953165650367737, -0.045019347220659256, -0.07266487181186676, 0.9117444753646851, -0.020439185202121735, 0.4608319401741028, 0.5418342351913452, 0.3308636546134949, 0.6059018969535828, 0.5708572268486023, 0.3083430528640747, 0.685104489326477, 0.07092443853616714, -0.13779032230377197, -0.3522162139415741, 0.11616915464401245, -0.24496328830718994, 0.46263566613197327, 0.570846438407898, -0.11360088735818863, -0.254065603017807, 0.2751030921936035, -0.017825143411755562, 0.40612146258354187, -0.24893662333488464, 0.581332802772522, 0.018723055720329285, -1.2712138891220093, 1.0876595973968506, 0.32573580741882324, 0.5823454856872559, -0.1542264223098755, -0.5391829609870911, -0.3435792922973633, 0.13581794500350952, -0.2401427924633026, -0.4277147948741913, 0.22073067724704742, -0.23311375081539154, -0.10566174238920212, -0.23701128363609314, 0.6069554686546326, -0.30494779348373413, -0.2820451557636261, 0.1785360723733902, 0.41349735856056213, 0.16754432022571564, -0.10641666501760483, -0.6507928967475891, 0.2596207559108734, 0.4346890449523926, 0.1743399202823639, -0.2723712921142578, 0.35452768206596375, -0.10651658475399017, 1.0167920589447021, 0.5270056128501892, 0.026005426421761513, 0.27566155791282654, -0.16188016533851624, 0.7639439702033997, -0.7920354604721069, -0.6920480132102966, -0.8153546452522278, 0.7398816347122192, -0.23967403173446655, -0.1598031222820282, 0.7528926730155945, 0.15508195757865906, 0.7686475515365601, -0.0571487732231617, 0.6802381277084351, 0.2120121866464615, -0.014077471569180489, -0.6117035150527954, 0.7125691771507263, -0.40526920557022095, 0.6030737161636353, -0.14022178947925568, -0.8489825129508972, -0.22567906975746155, 1.2205393314361572, -0.08257897198200226, 0.14796335995197296, 0.6285109519958496, 0.9193232655525208, -0.2376977801322937, 0.2528724670410156, 0.3869405686855316, 0.18718962371349335, 0.21893610060214996, 0.5887469053268433, 1.1109592914581299, -0.47304660081863403, 0.14602769911289215, -0.10849421471357346, -0.3647085428237915, -0.5615770220756531, -0.6065948009490967, -1.1462873220443726, -0.5940518379211426, -0.2845475971698761, -0.454705148935318, 0.6489595174789429, 0.8513306379318237, 1.1630586385726929, -0.33806687593460083, -0.11689306050539017, -0.6463005542755127, 0.5380578637123108, -0.2560366094112396, -0.16238480806350708, -0.07598225027322769, -0.43286755681037903, -0.598194420337677, 0.7713154554367065, 0.435806006193161, 0.32976487278938293, -0.43205615878105164, -0.6118144392967224, -0.06064900755882263, 0.16712741553783417, 0.29079917073249817, 0.28970959782600403, -1.0837290287017822, -0.38706356287002563, -0.06323092430830002, -0.09713561832904816, 0.030479634180665016, 0.844033420085907, -0.6289842128753662, 0.5898590683937073, -0.12054302543401718, 0.5766586661338806, 0.17750641703605652, 0.1339251548051834, 0.9153860211372375, -0.5966123342514038, 0.3440442681312561, 0.39164450764656067, 0.0978618860244751, 0.7554318308830261, -0.7781702280044556, 0.5133256316184998, 0.17883192002773285, -0.46614986658096313, -0.7615678906440735, -0.15579800307750702, -0.892490565776825, -0.4832793176174164, 1.1037979125976562, 0.002141370205208659, -0.42833584547042847, -0.42329493165016174, -0.614924967288971, 0.1343400925397873, -0.3524603545665741, 0.9679819941520691, 0.7709107995033264, -0.027120551094412804, 0.028947193175554276, -0.7339502573013306, 0.6264551877975464, 0.4655197858810425, -0.8122307062149048, -0.11783382296562195, 0.7834402322769165, -0.14444522559642792, 0.3363793194293976, 0.5114775896072388, 0.4374721646308899, 0.5795276165008545, 0.3129829168319702, -0.2140466570854187, 0.0004992158501408994, -0.6417608261108398, -0.2805349826812744, -0.12369120121002197, 0.2006291151046753, -0.33984628319740295 ]
http://arxiv.org/abs/2402.16846v2
http://arxiv.org/pdf/2402.16846v2
GROUNDHOG: Grounding Large Language Models to Holistic Segmentation
2024-02-26T18:59:33
2024-04-16T17:59:53
Yichi Zhang, Ziqiao Ma, Xiaofeng Gao, Suhaila Shakiah, Qiaozi Gao, Joyce Chai
cs.CV
cs.CV, cs.AI, cs.CL
Most multimodal large language models (MLLMs) learn language-to-object grounding through causal language modeling where grounded objects are captured by bounding boxes as sequences of location tokens. This paradigm lacks pixel-level representations that are important for fine-grained visual understanding and diagnosis. In this work, we introduce GROUNDHOG, an MLLM developed by grounding Large Language Models to holistic segmentation. GROUNDHOG incorporates a masked feature extractor and converts extracted features into visual entity tokens for the MLLM backbone, which then connects groundable phrases to unified grounding masks by retrieving and merging the entity masks. To train GROUNDHOG, we carefully curated M3G2, a grounded visual instruction tuning dataset with Multi-Modal Multi-Grained Grounding, by harvesting a collection of segmentation-grounded datasets with rich annotations. Our experimental results show that GROUNDHOG achieves superior performance on various language grounding tasks without task-specific fine-tuning, and significantly reduces object hallucination. GROUNDHOG also demonstrates better grounding towards complex forms of visual input and provides easy-to-understand diagnosis in failure cases.
[ -0.37678173184394836, -1.1992813348770142, 0.31425780057907104, 0.1864519715309143, -0.5686361193656921, -0.04905938729643822, -0.268362820148468, -0.3340011239051819, -0.2430623471736908, 0.6769317984580994, -0.2915944755077362, -0.9263428449630737, -0.5822111964225769, -0.4123157560825348, -0.05792127177119255, 0.7767097353935242, 0.26785507798194885, 0.03774602338671684, -0.2737893760204315, -0.3012447655200958, -0.8817629814147949, -0.43437957763671875, -0.5502044558525085, -0.362623006105423, 0.44668132066726685, 0.45079106092453003, 0.7271263003349304, 0.9568794369697571, 0.275962233543396, 0.25840720534324646, -0.002456974470987916, 0.3138136863708496, -0.35769107937812805, -0.028280124068260193, -0.2011858969926834, -0.21519967913627625, -0.21659614145755768, -0.051060110330581665, 0.5225410461425781, 0.7376871705055237, -0.11815398931503296, 0.14154541492462158, -0.19095422327518463, 0.6440006494522095, -0.7335934638977051, 0.29046007990837097, -0.6817512512207031, 0.10070421546697617, -0.18199755251407623, -0.2202015370130539, -0.5336143374443054, 0.23217277228832245, -0.17286226153373718, -0.7612043023109436, 0.11382891237735748, 0.1824432760477066, 0.972413957118988, 0.3727094233036041, -0.26008638739585876, 0.08867780864238739, -0.3092716932296753, 0.7274891138076782, -0.4521210491657257, 0.49116459488868713, 0.4087899923324585, 0.4776284396648407, -0.03446058928966522, -0.43669241666793823, -0.04883778467774391, -0.2778617739677429, 0.07238352298736572, 0.024913158267736435, -0.0015015265671536326, 0.16958832740783691, 0.4520339369773865, 0.2223920077085495, -0.43439507484436035, 0.08712294697761536, -0.069887675344944, -0.35587579011917114, 0.11194826662540436, 0.11753761023283005, 0.38396647572517395, -0.032124120742082596, -0.14473658800125122, -0.008207251317799091, -0.6048904061317444, 0.15896162390708923, 0.04999067634344101, 0.23382598161697388, 0.1446830779314041, 0.547408401966095, -0.2720155119895935, 1.2906994819641113, 0.18783576786518097, -0.49719613790512085, 0.009240376763045788, 0.28832194209098816, -0.4684382975101471, 0.18318819999694824, 0.3136247992515564, 0.724154531955719, 0.18382328748703003, -0.1818837672472, -0.08554841578006744, 0.20733126997947693, 0.08717939257621765, -0.78825843334198, -0.348604291677475, -0.02733774110674858, -0.4831223785877228, -0.18511320650577545, 0.14071232080459595, -0.683872401714325, -0.49389147758483887, -0.5740814208984375, 0.1527174413204193, -0.5356500744819641, -0.2993748188018799, 0.42411184310913086, -0.2484549582004547, 0.4660484790802002, 0.5406777858734131, -0.8437893390655518, 0.09416709095239639, 0.8461511731147766, 0.8498279452323914, 0.1378994733095169, -0.48130932450294495, -1.052204966545105, 0.5380770564079285, -0.5103759765625, 0.940370500087738, -0.770313024520874, -0.04416029900312424, -0.17618106305599213, 0.2992963194847107, 0.04856923595070839, -0.6354657411575317, 0.16295716166496277, -0.38283926248550415, -0.049137454479932785, -0.36853915452957153, -0.09499840438365936, -0.5455262064933777, 0.5729061365127563, -0.4074970483779907, 1.0076526403427124, 0.12601162493228912, -0.9567992091178894, 0.539059579372406, -0.24032174050807953, -0.5066576600074768, 0.06135614216327667, -0.14241965115070343, -0.3694693446159363, 0.19874607026576996, 0.27841436862945557, 0.6796378493309021, -0.2256903499364853, 0.7336105108261108, -0.4365861415863037, -0.3952334523200989, -0.4295874536037445, -0.3023734986782074, 0.5102992653846741, -0.14635834097862244, -0.5508372783660889, 0.37545326352119446, -0.906334400177002, -0.11257071048021317, 0.17041723430156708, -0.24219653010368347, -0.5251733064651489, 0.1487935334444046, 0.3275529742240906, 0.4456615447998047, -0.009611235931515694, -0.14711816608905792, -0.008773202076554298, -0.3331871032714844, 0.36799177527427673, 0.4102347493171692, -0.17138618230819702, 0.20199479162693024, -0.22722749412059784, 0.08783137053251266, 0.265884667634964, -0.05510633438825607, -0.6544002890586853, -0.6125466823577881, -0.8839548230171204, -0.4414062798023224, -0.1303185522556305, 0.5474205017089844, -0.4292506277561188, 0.7819529175758362, -0.07823774963617325, -0.37548407912254333, -0.2169547975063324, -0.061216775327920914, 0.39121443033218384, 0.7597798705101013, 0.47770604491233826, -0.05684373527765274, -0.5201648473739624, -0.9845010638237, 0.04865338280797005, -0.08910372853279114, 0.07002664357423782, 0.28998616337776184, 0.21431486308574677, -0.5501833558082581, 0.9485377669334412, -0.35599806904792786, -0.3130476772785187, -0.0037883652839809656, 0.09488952159881592, -0.1603585034608841, 0.5715659260749817, 0.2565324008464813, -0.5336784720420837, -0.20979972183704376, 0.4641781747341156, -0.9940789937973022, -0.04987676441669464, -0.04900675639510155, -0.20312990248203278, -0.06664480268955231, 0.581727921962738, -0.7512108683586121, 0.37519189715385437, 0.48550304770469666, -0.42693769931793213, 0.43031033873558044, -0.16834238171577454, 0.00030513416277244687, -0.767052173614502, 0.22994309663772583, -0.11013001948595047, -0.5458078384399414, -0.31513530015945435, 0.10074722766876221, -0.04977624490857124, -0.4123910367488861, -0.29835203289985657, 0.47166386246681213, -0.6378448009490967, -0.4225156903266907, -0.3505837023258209, -0.01695965975522995, 0.35078373551368713, 0.39966079592704773, 0.17855793237686157, 0.719052791595459, 0.9856582880020142, -0.5118899941444397, 0.29035577178001404, 0.14513814449310303, -0.07596263289451599, 0.5386178493499756, -0.5901572108268738, 0.08325380086898804, -0.2852307856082916, 0.10828767716884613, -0.7202094197273254, -0.3988395929336548, 0.3799493610858917, -0.03556627780199051, 0.4049481153488159, -0.33603090047836304, -0.42110300064086914, -0.13811637461185455, -0.061271365731954575, 0.2420530766248703, 0.4228641390800476, -0.5143656730651855, 0.6176485419273376, 0.5392550230026245, 0.3565739691257477, -0.3586326837539673, -0.4152497351169586, 0.24833910167217255, -0.5068645477294922, -0.7423868775367737, -0.05399918183684349, 0.20864641666412354, -0.2836742699146271, -0.3231199085712433, -0.06234782561659813, 0.055346909910440445, 0.42198535799980164, 0.47488924860954285, -0.19516663253307343, -0.5497201085090637, 0.2494608759880066, -0.07656553387641907, -0.5260292887687683, 0.051049504429101944, -0.5530345439910889, 0.6723065972328186, -0.32724982500076294, -0.5815555453300476, -0.13243505358695984, 0.454659640789032, 0.7759674191474915, -0.5542970299720764, 0.33586668968200684, 0.892612099647522, -0.5235783457756042, 0.09675523638725281, -0.6504698991775513, -0.03787713870406151, -0.41246485710144043, 0.40887451171875, -0.48290660977363586, -0.7481010556221008, 0.3103220760822296, -0.359144389629364, -0.012630002573132515, 0.4497982859611511, 0.5442575812339783, 0.2127961963415146, 1.2481539249420166, 0.6204336881637573, -0.03682602941989899, 0.4481332004070282, -0.09502994269132614, -0.17707815766334534, -0.8582397699356079, -0.409301221370697, -0.1719694882631302, 0.16989079117774963, -0.014979843981564045, -0.789238691329956, 0.018904341384768486, 0.6684838533401489, -0.16250993311405182, -0.18770384788513184, -0.6224400997161865, 0.6225923895835876, 0.37647709250450134, 0.2632642090320587, 0.08232437074184418, 0.2517952620983124, -0.1640503704547882, -0.06297856569290161, -0.5225003361701965, -0.7134703397750854, 0.546356201171875, 0.5192567110061646, 0.653145432472229, -0.47597000002861023, 0.1894901990890503, 0.007400105707347393, 0.3275163173675537, -1.0476824045181274, 0.36432555317878723, -0.05992046743631363, -0.3472718596458435, -0.32818493247032166, 0.06931136548519135, -0.6715868711471558, 0.5587958693504333, 0.03635216876864433, -0.7488978505134583, -0.10708890855312347, 0.26187393069267273, -0.11002753674983978, 0.26050350069999695, -0.5587648153305054, 1.1872460842132568, -0.29512086510658264, -0.490481972694397, -0.08155299723148346, -0.8198480606079102, 0.4761463403701782, 0.1441022902727127, 0.24973204731941223, -0.500853955745697, 0.20934611558914185, 0.7821415662765503, -0.06927675008773804, 0.9106875061988831, -0.42146894335746765, -0.2211304008960724, 0.18293200433254242, 0.05132966488599777, 0.39566677808761597, 0.4347018599510193, 0.25048789381980896, 0.45965102314949036, -0.361601322889328, -0.47945407032966614, -0.4113835096359253, 0.43509477376937866, -0.6367213129997253, -0.706184983253479, -0.20360121130943298, -0.2869582176208496, -0.27969861030578613, 0.46407777070999146, 0.21441121399402618, 0.6670026779174805, -0.19613589346408844, 0.381509393453598, 0.763260006904602, -0.2627134919166565, 0.2548840343952179, 0.3674905002117157, -0.4368734061717987, -0.5183623433113098, 1.0021225214004517, -0.15862983465194702, -0.07168077677488327, 0.39907771348953247, 0.3612116277217865, 0.055226538330316544, -0.529877245426178, -0.8217127323150635, 0.1873069852590561, -0.8788207173347473, -0.22288034856319427, -1.0420573949813843, 0.015544427558779716, -0.016114378347992897, -0.34964147210121155, -0.4645618200302124, 0.2627454400062561, -0.5988039970397949, -0.08651621639728546, 0.2629240155220032, 0.4854861795902252, 0.041444770991802216, 0.501154363155365, -0.7652233839035034, 0.5789870023727417, 0.4866436719894409, 0.23884177207946777, -0.16370144486427307, -0.3606629967689514, -0.44087401032447815, 0.1119658350944519, -0.15705443918704987, -0.7836329936981201, 0.2387983202934265, 0.21477676928043365, 0.5459522008895874, 0.6582354307174683, -0.3845370411872864, 1.2924282550811768, -0.7731107473373413, 0.5505111813545227, 0.4492284059524536, -1.0339794158935547, 0.6934683918952942, -0.6749637722969055, 0.3638729751110077, 0.45692768692970276, -0.2365693747997284, -0.6247608065605164, -0.3382182717323303, -0.24141526222229004, -0.7138709425926208, 0.6494192481040955, -0.2540723383426666, -0.07667530328035355, -0.07365027815103531, 0.0451691709458828, 0.25335437059402466, 0.21607576310634613, -0.5357246398925781, -0.08661609888076782, -0.607054591178894, -0.00294396560639143, -0.3619596064090729, -0.39732521772384644, -0.3418307602405548, -0.5252932906150818, 0.22086796164512634, -0.4864998161792755, 0.05725868418812752, -0.017707867547869682, -0.4477245807647705, -0.3223453164100647, -0.13693782687187195, 0.6975908875465393, 0.7874137163162231, -0.25348496437072754, 0.4285847544670105, -0.05007787048816681, -0.34452465176582336, 0.1568043977022171, -0.10193230211734772, 0.04997546225786209, 0.20468099415302277, 0.5453136563301086, 1.0694750547409058, 0.43200328946113586, -0.7118184566497803, 0.4843769073486328, 0.21171094477176666, 0.042458027601242065, 0.02625332772731781, -0.09276524186134338, 0.037577103823423386, 0.1560104936361313, 0.2039230316877365, 0.11867131292819977, 0.22973428666591644, -0.25972723960876465, 0.4992884695529938, 0.5747854113578796, -0.45932430028915405, -0.45989134907722473, 0.44613707065582275, 0.03987891972064972, -0.23606136441230774, 0.34597834944725037, 0.10561318695545197, -0.5629816055297852, 0.5963749885559082, 0.8596499562263489, 0.8409501314163208, -0.07883996516466141, 0.32233670353889465, 0.19576098024845123, 0.4834618866443634, -0.22707757353782654, -0.1230347603559494, -0.09837351739406586, -0.4089270234107971, -0.3733646869659424, -0.5729933381080627, -0.12829886376857758, 0.21641705930233002, -0.6320970058441162, 0.5261362195014954, -0.6369206309318542, 0.13632884621620178, -0.17497840523719788, -0.2514973282814026, -0.4670231342315674, 0.43515080213546753, 0.3111421465873718, 0.6653671264648438, -0.9985597729682922, 0.7318641543388367, 0.9835099577903748, -0.019406983628869057, -0.683120846748352, 0.031697068363428116, -0.31581488251686096, -0.9077100157737732, 0.6633607149124146, 1.069254755973816, -0.1404600739479065, 0.2945703864097595, -0.4958641827106476, -0.7915195822715759, 0.8746099472045898, 0.4932287335395813, -0.4201929271221161, 0.06241344287991524, -0.22292403876781464, 0.24235855042934418, -0.4762083888053894, 0.2101999670267105, 0.4057903289794922, 0.6699100732803345, 0.19769532978534698, -0.5448886752128601, -0.03863922134041786, 0.03855085372924805, -0.04904678091406822, 0.23593822121620178, -0.7036877870559692, 1.015753149986267, 0.04069497436285019, -0.2854782044887543, -0.5008882284164429, 0.3969865143299103, 0.4591003954410553, 0.6289404630661011, 0.4893490672111511, 0.8822569847106934, 0.6696025133132935, 0.04566599056124687, 0.5806972980499268, -0.28205254673957825, 0.3465053141117096, 0.8096214532852173, -0.25540757179260254, 0.5194569826126099, 0.42476338148117065, 0.30381736159324646, 0.38646945357322693, 0.8285207152366638, 0.07749199122190475, 0.5801416635513306, 0.1024954617023468, 0.14368905127048492, -0.7983012199401855, -0.1593397557735443, -0.6007659435272217, 0.6921475529670715, 0.423311322927475, -0.09222234785556793, -0.7269308567047119, 0.34092822670936584, -0.12783372402191162, -0.15880873799324036, -0.3101131319999695, 0.9628782272338867, -0.030921682715415955, -0.403792142868042, 0.8480228185653687, 0.20767906308174133, 0.30083727836608887, -0.3500140309333801, -0.4223407506942749, -0.16821834444999695, -0.0370214469730854, -0.1445353627204895, -0.3480936288833618, 0.3810541331768036, -0.2809884548187256, -0.29397937655448914, -0.06573575735092163, 0.889910876750946, -0.35529157519340515, -0.4187207818031311, 0.37828657031059265, 0.32780447602272034, 0.1589956134557724, -0.4959389567375183, -0.6871417760848999, 0.2989993989467621, -0.20380452275276184, -0.23564928770065308, 0.2326415330171585, 0.8365868926048279, -0.3798116445541382, 0.6910139322280884, 0.798012375831604, -0.24092765152454376, 0.14649292826652527, -0.05382615327835083, 1.1516450643539429, -0.880086362361908, -0.5539355874061584, -1.0896092653274536, 0.7526403665542603, -0.03621329739689827, -0.20833060145378113, 0.7851902842521667, 0.6505376100540161, 0.44679972529411316, -0.24898678064346313, 0.5684425830841064, 0.28893253207206726, 0.003266992513090372, -0.844277024269104, 0.4076254367828369, -0.5512321591377258, -0.12748000025749207, -0.05328639596700668, -0.9167858362197876, -0.4948749244213104, 0.9050790667533875, -0.12609227001667023, -0.32027915120124817, 0.6360837817192078, 0.5524961352348328, -0.30121999979019165, -0.5787475109100342, 0.8688727617263794, -0.08466371893882751, 0.33183708786964417, 0.41562798619270325, 1.097232699394226, -0.1638008952140808, 0.011726309545338154, -0.021392520517110825, -0.26749253273010254, -0.5740303993225098, -0.7226296663284302, -1.3318157196044922, -0.1815762221813202, -0.25786668062210083, -0.1643282026052475, 0.08783596754074097, 0.724967896938324, 1.1854380369186401, -0.7148727178573608, -0.04533949866890907, -0.4218646287918091, 0.23918239772319794, -0.0049257646314799786, -0.1991100311279297, 0.18381145596504211, -0.35219693183898926, -0.3076852560043335, 0.37691426277160645, 0.863067090511322, -0.11120280623435974, -0.3434089720249176, -0.02039516530930996, 0.037619687616825104, -0.36826133728027344, 0.7599663138389587, 0.08838259428739548, -1.2035883665084839, -0.29818055033683777, -0.16374966502189636, -0.1539185643196106, 0.3122539520263672, 0.9587417244911194, -0.8195050954818726, 0.4734293818473816, -0.13419918715953827, 0.6950499415397644, 0.16120488941669464, 0.2970409095287323, 0.32510432600975037, -0.662075400352478, 0.799691915512085, 0.15544278919696808, 0.3071523606777191, 0.598585307598114, -0.4596957564353943, 0.0788770467042923, 0.515600323677063, -0.2524457573890686, -0.7534676194190979, 0.2627991735935211, -0.9494227170944214, -0.2540799379348755, 1.4972525835037231, -0.12923815846443176, -0.3443772494792938, -0.3896714746952057, -0.8074048161506653, 0.33926814794540405, -0.2304704636335373, 0.43649494647979736, 0.582155168056488, 0.5040470957756042, -0.4015985131263733, -0.5367071628570557, 0.24963335692882538, 0.14945244789123535, -0.9803072810173035, 0.2798091173171997, 0.8595371842384338, 0.24030636250972748, 0.16529743373394012, 0.3983597755432129, 0.2451023906469345, 0.1968865692615509, 0.10258045792579651, 0.06855916231870651, -0.42879265546798706, -0.6714244484901428, -0.40748730301856995, 0.33108675479888916, 0.30407604575157166, -0.2983550429344177 ]